@ckeditor/ckeditor5-real-time-collaboration 46.0.1-alpha.0 → 46.0.1-alpha.2
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/build/real-time-collaboration.js +1 -1
- package/dist/index.js +6 -6
- package/dist/translations/af.js +1 -1
- package/dist/translations/af.umd.js +1 -1
- package/dist/translations/ar.js +1 -1
- package/dist/translations/ar.umd.js +1 -1
- package/dist/translations/ast.js +1 -1
- package/dist/translations/ast.umd.js +1 -1
- package/dist/translations/az.js +1 -1
- package/dist/translations/az.umd.js +1 -1
- package/dist/translations/be.js +1 -1
- package/dist/translations/be.umd.js +1 -1
- package/dist/translations/bg.js +1 -1
- package/dist/translations/bg.umd.js +1 -1
- package/dist/translations/bn.js +1 -1
- package/dist/translations/bn.umd.js +1 -1
- package/dist/translations/bs.js +1 -1
- package/dist/translations/bs.umd.js +1 -1
- package/dist/translations/ca.js +1 -1
- package/dist/translations/ca.umd.js +1 -1
- package/dist/translations/cs.js +1 -1
- package/dist/translations/cs.umd.js +1 -1
- package/dist/translations/da.js +1 -1
- package/dist/translations/da.umd.js +1 -1
- package/dist/translations/de-ch.js +1 -1
- package/dist/translations/de-ch.umd.js +1 -1
- package/dist/translations/de.js +1 -1
- package/dist/translations/de.umd.js +1 -1
- package/dist/translations/el.js +1 -1
- package/dist/translations/el.umd.js +1 -1
- package/dist/translations/en-au.js +1 -1
- package/dist/translations/en-au.umd.js +1 -1
- package/dist/translations/en-gb.js +1 -1
- package/dist/translations/en-gb.umd.js +1 -1
- package/dist/translations/en.js +1 -1
- package/dist/translations/en.umd.js +1 -1
- package/dist/translations/eo.js +1 -1
- package/dist/translations/eo.umd.js +1 -1
- package/dist/translations/es-co.js +1 -1
- package/dist/translations/es-co.umd.js +1 -1
- package/dist/translations/es.js +1 -1
- package/dist/translations/es.umd.js +1 -1
- package/dist/translations/et.js +1 -1
- package/dist/translations/et.umd.js +1 -1
- package/dist/translations/eu.js +1 -1
- package/dist/translations/eu.umd.js +1 -1
- package/dist/translations/fa.js +1 -1
- package/dist/translations/fa.umd.js +1 -1
- package/dist/translations/fi.js +1 -1
- package/dist/translations/fi.umd.js +1 -1
- package/dist/translations/fr.js +1 -1
- package/dist/translations/fr.umd.js +1 -1
- package/dist/translations/gl.js +1 -1
- package/dist/translations/gl.umd.js +1 -1
- package/dist/translations/gu.js +1 -1
- package/dist/translations/gu.umd.js +1 -1
- package/dist/translations/he.js +1 -1
- package/dist/translations/he.umd.js +1 -1
- package/dist/translations/hi.js +1 -1
- package/dist/translations/hi.umd.js +1 -1
- package/dist/translations/hr.js +1 -1
- package/dist/translations/hr.umd.js +1 -1
- package/dist/translations/hu.js +1 -1
- package/dist/translations/hu.umd.js +1 -1
- package/dist/translations/hy.js +1 -1
- package/dist/translations/hy.umd.js +1 -1
- package/dist/translations/id.js +1 -1
- package/dist/translations/id.umd.js +1 -1
- package/dist/translations/it.js +1 -1
- package/dist/translations/it.umd.js +1 -1
- package/dist/translations/ja.js +1 -1
- package/dist/translations/ja.umd.js +1 -1
- package/dist/translations/jv.js +1 -1
- package/dist/translations/jv.umd.js +1 -1
- package/dist/translations/kk.js +1 -1
- package/dist/translations/kk.umd.js +1 -1
- package/dist/translations/km.js +1 -1
- package/dist/translations/km.umd.js +1 -1
- package/dist/translations/kn.js +1 -1
- package/dist/translations/kn.umd.js +1 -1
- package/dist/translations/ko.js +1 -1
- package/dist/translations/ko.umd.js +1 -1
- package/dist/translations/ku.js +1 -1
- package/dist/translations/ku.umd.js +1 -1
- package/dist/translations/lt.js +1 -1
- package/dist/translations/lt.umd.js +1 -1
- package/dist/translations/lv.js +1 -1
- package/dist/translations/lv.umd.js +1 -1
- package/dist/translations/ms.js +1 -1
- package/dist/translations/ms.umd.js +1 -1
- package/dist/translations/nb.js +1 -1
- package/dist/translations/nb.umd.js +1 -1
- package/dist/translations/ne.js +1 -1
- package/dist/translations/ne.umd.js +1 -1
- package/dist/translations/nl.js +1 -1
- package/dist/translations/nl.umd.js +1 -1
- package/dist/translations/no.js +1 -1
- package/dist/translations/no.umd.js +1 -1
- package/dist/translations/oc.js +1 -1
- package/dist/translations/oc.umd.js +1 -1
- package/dist/translations/pl.js +1 -1
- package/dist/translations/pl.umd.js +1 -1
- package/dist/translations/pt-br.js +1 -1
- package/dist/translations/pt-br.umd.js +1 -1
- package/dist/translations/pt.js +1 -1
- package/dist/translations/pt.umd.js +1 -1
- package/dist/translations/ro.js +1 -1
- package/dist/translations/ro.umd.js +1 -1
- package/dist/translations/ru.js +1 -1
- package/dist/translations/ru.umd.js +1 -1
- package/dist/translations/si.js +1 -1
- package/dist/translations/si.umd.js +1 -1
- package/dist/translations/sk.js +1 -1
- package/dist/translations/sk.umd.js +1 -1
- package/dist/translations/sl.js +1 -1
- package/dist/translations/sl.umd.js +1 -1
- package/dist/translations/sq.js +1 -1
- package/dist/translations/sq.umd.js +1 -1
- package/dist/translations/sr-latn.js +1 -1
- package/dist/translations/sr-latn.umd.js +1 -1
- package/dist/translations/sr.js +1 -1
- package/dist/translations/sr.umd.js +1 -1
- package/dist/translations/sv.js +1 -1
- package/dist/translations/sv.umd.js +1 -1
- package/dist/translations/th.js +1 -1
- package/dist/translations/th.umd.js +1 -1
- package/dist/translations/ti.js +1 -1
- package/dist/translations/ti.umd.js +1 -1
- package/dist/translations/tk.js +1 -1
- package/dist/translations/tk.umd.js +1 -1
- package/dist/translations/tr.js +1 -1
- package/dist/translations/tr.umd.js +1 -1
- package/dist/translations/tt.js +1 -1
- package/dist/translations/tt.umd.js +1 -1
- package/dist/translations/ug.js +1 -1
- package/dist/translations/ug.umd.js +1 -1
- package/dist/translations/uk.js +1 -1
- package/dist/translations/uk.umd.js +1 -1
- package/dist/translations/ur.js +1 -1
- package/dist/translations/ur.umd.js +1 -1
- package/dist/translations/uz.js +1 -1
- package/dist/translations/uz.umd.js +1 -1
- package/dist/translations/vi.js +1 -1
- package/dist/translations/vi.umd.js +1 -1
- package/dist/translations/zh-cn.js +1 -1
- package/dist/translations/zh-cn.umd.js +1 -1
- package/dist/translations/zh.js +1 -1
- package/dist/translations/zh.umd.js +1 -1
- package/package.json +14 -14
- package/src/common-translations.js +1 -1
- package/src/index.js +1 -1
- package/src/presencelist/presencelistui.js +1 -1
- package/src/presencelist/view/presencecounterview.js +1 -1
- package/src/presencelist/view/presencedropdownlistitemview.js +1 -1
- package/src/presencelist/view/presencedropdownlistview.js +1 -1
- package/src/presencelist/view/presenceinlinelistitemview.js +1 -1
- package/src/presencelist/view/presenceinlinelistview.js +1 -1
- package/src/presencelist/view/presencelistview.js +1 -1
- package/src/presencelist.js +1 -1
- package/src/realtimecollaborativecomments/cloudservicescommentsadapter.js +2 -2
- package/src/realtimecollaborativecomments.js +1 -1
- package/src/realtimecollaborativeediting/realtimecollaborationclient.js +2 -2
- package/src/realtimecollaborativeediting/sessions.js +1 -1
- package/src/realtimecollaborativeediting/usermarkers.js +1 -1
- package/src/realtimecollaborativeediting/websocketgateway.js +2 -2
- package/src/realtimecollaborativeediting.js +1 -1
- package/src/realtimecollaborativerevisionhistory/cloudservicesrevisionhistoryadapter.js +2 -2
- package/src/realtimecollaborativerevisionhistory.js +1 -1
- package/src/realtimecollaborativetrackchanges/cloudservicestrackchangesadapter.js +2 -2
- package/src/realtimecollaborativetrackchanges.js +1 -1
|
@@ -20,5 +20,5 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
const
|
|
24
|
-
((()=>
|
|
23
|
+
const _0x1f64a3=_0x36e6;(function(_0x3e92bf,_0x328cfd){const _0x5d2604=_0x36e6,_0x34e9f8=_0x3e92bf();while(!![]){try{const _0x2c9761=-parseInt(_0x5d2604(0x202))/0x1*(parseInt(_0x5d2604(0x1e4))/0x2)+-parseInt(_0x5d2604(0x20d))/0x3+parseInt(_0x5d2604(0x215))/0x4+parseInt(_0x5d2604(0x1e0))/0x5+parseInt(_0x5d2604(0x1f6))/0x6+-parseInt(_0x5d2604(0x1d0))/0x7*(-parseInt(_0x5d2604(0x1fe))/0x8)+-parseInt(_0x5d2604(0x206))/0x9;if(_0x2c9761===_0x328cfd)break;else _0x34e9f8['push'](_0x34e9f8['shift']());}catch(_0x1a6e16){_0x34e9f8['push'](_0x34e9f8['shift']());}}}(_0x2683,0x3359d));import{ContextPlugin as _0x50d83b}from'ckeditor5/src/core.js';function _0x2683(){const _0x3909e5=['722600lygVtW','disconnect','initialReconnectionInterval','config','14bnbpwT','set','_isBrowserOffline','plugins','context','WebSocketGateway','CloudServices','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.','cloudservices-init','real-time-collaboration','_shouldPluginsReconnect','get','function','state','requires','constructor','websocketgateway-invalid-plugin-interface','listenTo','2141652PRdXeT','connection','isPremiumPlugin','online','delete','_reconnectionStack','connect','_domEmitter','8rUTZUo','init','websocketgateway-missing-token','bind','22357EdTygt','websocketgateway-missing-websocket-url','websocketgateway-plugin-already-registered','_reconnect','3305079FXXPyd','cloudServices.connectionTimeout','isInReconnectionStack','offline','token','has','error','83694wvTnSc','from','destroy','Connected\x20users\x20limit\x20exceeded','CONNECTING','stopListening','reconnect','isOfficialPlugin','76168ixznss','pluginName','then','showWarning','1690199LTRutE','add','change:me','connected','limitExceeded','CONNECTED','cloudservices-reconnection-error','define','addToReconnectionStack','code','catch','all','cloudServices.requestTimeout','webSocketUrl','removeFromReconnectionStack','DISCONNECTED'];_0x2683=function(){return _0x3909e5;};return _0x2683();}import{DomEmitterMixin as _0x2c1856,CKEditorError as _0x3171ff}from'ckeditor5/src/utils.js';function _0x36e6(_0x3e1a30,_0xadc36f){const _0x268362=_0x2683();return _0x36e6=function(_0x36e629,_0x5e1fb7){_0x36e629=_0x36e629-0x1cf;let _0xa50b3e=_0x268362[_0x36e629];return _0xa50b3e;},_0x36e6(_0x3e1a30,_0xadc36f);}import{WebSocketGateway as _0x4fba4e,WEB_SOCKET_GATEWAY_STATES as _0x3b91cc}from'@ckeditor/ckeditor-cloud-services-collaboration/src/services.js';import{Notification as _0x5d6ef6}from'ckeditor5/src/ui.js';class n extends _0x50d83b{static [_0x1f64a3(0x1e9)]=/* #__PURE__ -- @preserve */
|
|
24
|
+
((()=>_0x4fba4e)());static [_0x1f64a3(0x1e2)]=0x3e8;[_0x1f64a3(0x1f7)];[_0x1f64a3(0x1fb)];[_0x1f64a3(0x1ee)];[_0x1f64a3(0x1fd)];static get[_0x1f64a3(0x1f2)](){const _0x3ffc0a=_0x1f64a3;return[_0x3ffc0a(0x1ea),_0x5d6ef6];}static get[_0x1f64a3(0x216)](){const _0x2f4aaa=_0x1f64a3;return _0x2f4aaa(0x1e9);}static get[_0x1f64a3(0x214)](){return!0x0;}static get[_0x1f64a3(0x1f8)](){return!0x0;}constructor(_0x3fafd0){const _0x35e6d5=_0x1f64a3;super(_0x3fafd0),this[_0x35e6d5(0x1e5)](_0x35e6d5(0x1f1),_0x3b91cc[_0x35e6d5(0x1d5)]),this[_0x35e6d5(0x1e5)](_0x35e6d5(0x1e6),!0x1),this[_0x35e6d5(0x1fb)]=new Set(),this[_0x35e6d5(0x1ee)]=!0x1,this[_0x35e6d5(0x1fd)]=new(_0x2c1856())();}[_0x1f64a3(0x1ff)](){const _0xb07b58=_0x1f64a3,_0x192b60=this[_0xb07b58(0x1e8)],_0x1f84fa=_0x192b60[_0xb07b58(0x1e7)][_0xb07b58(0x1ef)](_0xb07b58(0x1ea)),_0xeb3071=_0x192b60[_0xb07b58(0x1e7)][_0xb07b58(0x1ef)](_0x5d6ef6);if(!_0x1f84fa[_0xb07b58(0x20a)])throw new _0x3171ff(_0xb07b58(0x200),this);if(!_0x1f84fa[_0xb07b58(0x1dd)])throw new _0x3171ff(_0xb07b58(0x203),this);return this[_0xb07b58(0x1fd)][_0xb07b58(0x1f5)](window,_0xb07b58(0x209),()=>this[_0xb07b58(0x1e6)]=!0x0),this[_0xb07b58(0x1fd)][_0xb07b58(0x1f5)](window,_0xb07b58(0x1f9),()=>this[_0xb07b58(0x1e6)]=!0x1),this[_0xb07b58(0x1e8)][_0xb07b58(0x1e3)][_0xb07b58(0x1d7)](_0xb07b58(0x207),0xa),this[_0xb07b58(0x1e8)][_0xb07b58(0x1e3)][_0xb07b58(0x1d7)](_0xb07b58(0x1dc),0x14),n[_0xb07b58(0x1e9)][_0xb07b58(0x1fc)](_0x1f84fa[_0xb07b58(0x20a)],_0x1f84fa[_0xb07b58(0x1dd)],{'timeout':0x3e8*this[_0xb07b58(0x1e8)][_0xb07b58(0x1e3)][_0xb07b58(0x1ef)](_0xb07b58(0x207)),'requestTimeout':0x3e8*this[_0xb07b58(0x1e8)][_0xb07b58(0x1e3)][_0xb07b58(0x1ef)](_0xb07b58(0x1dc))})[_0xb07b58(0x217)](_0x3a93ff=>{const _0x1f9a65=_0xb07b58;if(this[_0x1f9a65(0x1f7)]=_0x3a93ff,this[_0x1f9a65(0x201)](_0x1f9a65(0x1f1))['to'](_0x3a93ff,_0x1f9a65(0x1f1),this,_0x1f9a65(0x1e6),(_0x501c6d,_0x4f3651)=>(_0x1f9a65(0x1d3)!==_0x501c6d&&(this[_0x1f9a65(0x1ee)]=!0x0),_0x4f3651||_0x501c6d!==_0x3b91cc[_0x1f9a65(0x1d5)]?_0x3b91cc[_0x1f9a65(0x1df)]:this[_0x1f9a65(0x1f1)]==_0x3b91cc[_0x1f9a65(0x1df)]&&this[_0x1f9a65(0x1ee)]?(this[_0x1f9a65(0x1ee)]=!0x1,this[_0x1f9a65(0x205)](),_0x3b91cc[_0x1f9a65(0x211)]):_0x3b91cc[_0x1f9a65(0x1d5)])),this[_0x1f9a65(0x1f7)]['on'](_0x1f9a65(0x20c),(_0x5926ec,_0x58150d)=>{const _0x18f59e=_0x1f9a65;if(_0x18f59e(0x1d4)!==_0x58150d[_0x18f59e(0x1d9)])throw console[_0x18f59e(0x20c)](_0x58150d),new _0x3171ff(_0x18f59e(0x1ec),null,{'originalError':_0x58150d});_0xeb3071[_0x18f59e(0x1cf)](_0x18f59e(0x1eb),{'title':_0x18f59e(0x210),'namespace':_0x18f59e(0x1ed)});}),!_0x3a93ff['me'])return new Promise(_0x51cf2d=>_0x3a93ff['on'](_0x1f9a65(0x1d2),_0x51cf2d));})[_0xb07b58(0x1da)](_0x566b4f=>{const _0x3c6951=_0xb07b58;throw console[_0x3c6951(0x20c)](_0x566b4f),new _0x3171ff(_0x3c6951(0x1ec),null,{'originalError':_0x566b4f});});}[_0x1f64a3(0x1d8)](_0x286f40){const _0x25b096=_0x1f64a3;if(_0x25b096(0x1f0)!=typeof _0x286f40[_0x25b096(0x213)])throw new _0x3171ff(_0x25b096(0x1f4),this);if(this[_0x25b096(0x208)](_0x286f40))throw new _0x3171ff(_0x25b096(0x204),this,{'name':_0x286f40[_0x25b096(0x1f3)][_0x25b096(0x216)]});this[_0x25b096(0x1fb)][_0x25b096(0x1d1)](_0x286f40);}[_0x1f64a3(0x1de)](_0x3c5a08){const _0x3b2eef=_0x1f64a3;this[_0x3b2eef(0x1fb)][_0x3b2eef(0x1fa)](_0x3c5a08);}[_0x1f64a3(0x208)](_0x31f1ee){const _0x3a85a9=_0x1f64a3;return this[_0x3a85a9(0x1fb)][_0x3a85a9(0x20b)](_0x31f1ee);}[_0x1f64a3(0x205)](){const _0x3f7066=_0x1f64a3;return this[_0x3f7066(0x1f7)][_0x3f7066(0x213)]()[_0x3f7066(0x217)](()=>Promise[_0x3f7066(0x1db)](Array[_0x3f7066(0x20e)](this[_0x3f7066(0x1fb)],_0x41e020=>_0x41e020[_0x3f7066(0x213)]())))[_0x3f7066(0x217)](()=>this[_0x3f7066(0x1f1)]=_0x3b91cc[_0x3f7066(0x1d5)])[_0x3f7066(0x1da)](_0x42dac8=>{const _0x410028=_0x3f7066;throw console[_0x410028(0x20c)](_0x42dac8),new _0x3171ff(_0x410028(0x1d6),this[_0x410028(0x1e8)]);});}[_0x1f64a3(0x1e1)](){const _0x266afb=_0x1f64a3;this[_0x266afb(0x1f7)]&&this[_0x266afb(0x1f7)][_0x266afb(0x1e1)](),this[_0x266afb(0x1f1)]=_0x3b91cc[_0x266afb(0x1df)],this[_0x266afb(0x1fd)][_0x266afb(0x212)]();}[_0x1f64a3(0x20f)](){const _0x522398=_0x1f64a3;this[_0x522398(0x1e1)](),super[_0x522398(0x20f)]();}}export{n as WebSocketGateway};
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
|
|
23
|
+
var _0x4f284d=_0x1ec5;(function(_0x3119cf,_0x416bd9){var _0x38730d=_0x1ec5,_0x29299a=_0x3119cf();while(!![]){try{var _0x4b5571=parseInt(_0x38730d(0x80))/0x1+parseInt(_0x38730d(0x77))/0x2*(parseInt(_0x38730d(0x7d))/0x3)+-parseInt(_0x38730d(0x78))/0x4*(parseInt(_0x38730d(0x7b))/0x5)+-parseInt(_0x38730d(0x7c))/0x6+parseInt(_0x38730d(0x75))/0x7+-parseInt(_0x38730d(0x76))/0x8+parseInt(_0x38730d(0x7e))/0x9*(parseInt(_0x38730d(0x81))/0xa);if(_0x4b5571===_0x416bd9)break;else _0x29299a['push'](_0x29299a['shift']());}catch(_0x2c9bd3){_0x29299a['push'](_0x29299a['shift']());}}}(_0x4446,0x90b01));import{Plugin as _0x336f42}from'ckeditor5/src/core.js';function _0x4446(){var _0x37084c=['8406656gdDQEP','9406VMHtiC','1435268OuQmKQ','isOfficialPlugin','pluginName','10QUOdxj','6899214QtpAQV','672DvJjVV','9CWohnN','RealTimeCollaborativeEditing','404440uBwMQd','10388030yFrjCV','requires','isPremiumPlugin','7099827BokVEg'];_0x4446=function(){return _0x37084c;};return _0x4446();}import{RealTimeCollaborationClient as _0x29c35f}from'./realtimecollaborativeediting/realtimecollaborationclient.js';function _0x1ec5(_0x54ae60,_0x230115){var _0x444670=_0x4446();return _0x1ec5=function(_0x1ec50c,_0xda9b0c){_0x1ec50c=_0x1ec50c-0x73;var _0xe9b51b=_0x444670[_0x1ec50c];return _0xe9b51b;},_0x1ec5(_0x54ae60,_0x230115);}export class RealTimeCollaborativeEditing extends _0x336f42{static get[_0x4f284d(0x73)](){return[_0x29c35f];}static get[_0x4f284d(0x7a)](){var _0xb427b8=_0x4f284d;return _0xb427b8(0x7f);}static get[_0x4f284d(0x79)](){return!0x0;}static get[_0x4f284d(0x74)](){return!0x0;}}
|
|
@@ -20,5 +20,5 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
|
|
24
|
-
((()=>_0x30fd3c)());[_0x23c666(0x132)];[_0x23c666(0x179)];[_0x23c666(0x187)];[_0x23c666(0x191)];static get[_0x23c666(0x11e)](){const _0x51cc8d=_0x23c666;return[_0x3e244c,_0x383190,_0x51cc8d(0x181),_0x128960,_0x552183];}static get[_0x23c666(0x16c)](){const _0x5e63b6=_0x23c666;return _0x5e63b6(0x15b);}static get[_0x23c666(0x17f)](){return!0x0;}static get[_0x23c666(0x152)](){return!0x0;}constructor(_0x24dd97){const _0x146231=_0x23c666;super(_0x24dd97);const _0x49180f=this[_0x146231(0x182)][_0x146231(0x160)][_0x146231(0x13b)](_0x146231(0x151));this[_0x146231(0x132)]=null,this[_0x146231(0x179)]=this[_0x146231(0x182)][_0x146231(0x148)][_0x146231(0x13b)](_0x146231(0x18c)),this[_0x146231(0x187)]=new c[(_0x146231(0x140))](_0x49180f);}async[_0x23c666(0x14a)](){const _0x3d4155=_0x23c666,_0x13fd19=this[_0x3d4155(0x182)][_0x3d4155(0x148)][_0x3d4155(0x13b)](_0x383190),_0x47b948=_0x13fd19[_0x3d4155(0x159)],_0x24cf1b=this[_0x3d4155(0x182)][_0x3d4155(0x148)][_0x3d4155(0x13b)](_0x3e244c);this[_0x3d4155(0x179)][_0x3d4155(0x175)]({'history':_0x47b948,'getLatestVersion':()=>this[_0x3d4155(0x17d)](),'getCurrentRevisionId':()=>_0x13fd19[_0x3d4155(0x190)]});const _0x255ae7=this[_0x3d4155(0x182)][_0x3d4155(0x160)][_0x3d4155(0x13b)](_0x3d4155(0x183))||_0x4f0072,_0x15cd4f=await _0x3abcff[_0x3d4155(0x186)](_0x24cf1b[_0x3d4155(0x155)],_0x255ae7);this[_0x3d4155(0x182)][_0x3d4155(0x148)][_0x3d4155(0x13b)](_0x3d4155(0x181))[_0x3d4155(0x120)]={'getRevision':async({revisionId:_0x4799d7})=>(await this[_0x3d4155(0x170)](),await this[_0x3d4155(0x187)][_0x3d4155(0x18e)](_0x4799d7)),'updateRevisions':async _0x327caf=>{const _0x3f86e3=_0x3d4155;await this[_0x3f86e3(0x170)]();const _0x58c461=this[_0x3f86e3(0x179)][_0x3f86e3(0x18b)];if(_0x15cd4f&&0x1===_0x327caf[_0x3f86e3(0x16e)]&&_0x327caf[0x0]['id']===_0x58c461['id'])return _0x327caf;for(const _0x2b0597 of _0x327caf)_0x2b0597['id']===_0x58c461['id']&&(_0x2b0597[_0x3f86e3(0x17a)]=_0x2b0597[_0x3f86e3(0x161)]===_0x2b0597[_0x3f86e3(0x13a)]);return this[_0x3f86e3(0x187)][_0x3f86e3(0x128)](_0x327caf,this[_0x3f86e3(0x132)])[_0x3f86e3(0x12f)](_0x9d4579=>(this[_0x3f86e3(0x132)]=_0x9d4579,_0x327caf))[_0x3f86e3(0x134)](_0x219727=>{const _0x419093=_0x3f86e3;if(st(_0x219727)||_0x419093(0x167)===_0x219727[_0x419093(0x171)]&&void 0x0!==_0x219727[_0x419093(0x177)][_0x419093(0x144)]){for(const _0x3e60d7 of _0x327caf){!this[_0x419093(0x179)][_0x419093(0x153)][_0x419093(0x18e)](_0x3e60d7['id'])||this[_0x419093(0x179)][_0x419093(0x185)](_0x3e60d7['id'],_0x3e60d7,!0x1);}if(st(_0x219727))throw _0x219727;return _0x327caf;}throw _0x219727;});}},this[_0x3d4155(0x121)](this[_0x3d4155(0x187)],_0x3d4155(0x14d),(_0x524652,{revisionsData:_0x1c61d1,requestId:_0x399e3a})=>{const _0x52b1d4=_0x3d4155;Math[_0x52b1d4(0x12c)](..._0x1c61d1[_0x52b1d4(0x15f)](_0x3e08c2=>_0x3e08c2[_0x52b1d4(0x13a)]))>this[_0x52b1d4(0x13d)]()-0x1?this[_0x52b1d4(0x17d)]()[_0x52b1d4(0x12f)](()=>{const _0x1ba6f4=_0x52b1d4;this[_0x1ba6f4(0x12d)](_0x1c61d1,_0x399e3a);}):this[_0x52b1d4(0x12d)](_0x1c61d1,_0x399e3a);});const {revisions:_0x5bf914,requestId:_0x3ecd27}=await this[_0x3d4155(0x187)][_0x3d4155(0x13e)](_0x24cf1b[_0x3d4155(0x155)]);_0x24cf1b[_0x3d4155(0x163)](this),this[_0x3d4155(0x132)]=_0x3ecd27,await this[_0x3d4155(0x139)](_0x5bf914);for(const _0x2bfaf6 of _0x5bf914)this[_0x3d4155(0x179)][_0x3d4155(0x178)](_0x2bfaf6);this[_0x3d4155(0x121)](_0x13fd19,_0x3d4155(0x141),(_0x269069,_0x20a9e5,_0x4cb19e)=>{const _0x1f42f2=_0x3d4155;_0x4cb19e&&(this[_0x1f42f2(0x191)]=_0x13fd19[_0x1f42f2(0x18f)],_0x269069[_0x1f42f2(0x127)]());}),this[_0x3d4155(0x179)][_0x3d4155(0x12b)](_0x3d4155(0x169))['to'](_0x24cf1b,_0x3d4155(0x133),_0x73b00c=>_0x73b00c===_0x47d10a[_0x3d4155(0x18a)]);}async[_0x23c666(0x11c)](){const _0x3fed32=_0x23c666,_0x29ef8e=this[_0x3fed32(0x182)][_0x3fed32(0x148)][_0x3fed32(0x13b)](_0x3e244c),_0x2c57a9=this[_0x3fed32(0x182)][_0x3fed32(0x148)][_0x3fed32(0x13b)](_0x383190),_0x311403=async()=>{const _0x11f6c4=_0x3fed32,_0x4e79d7=this[_0x11f6c4(0x179)][_0x11f6c4(0x18b)],_0x15f009=_0x4e79d7['id'],_0x13bb30=_0x15f009!==_0x2c57a9[_0x11f6c4(0x190)];if(_0x13bb30){const _0x2604fa=_0x2c57a9[_0x11f6c4(0x18f)]-this[_0x11f6c4(0x191)],_0x138a9c=this[_0x11f6c4(0x13d)]();this[_0x11f6c4(0x179)][_0x11f6c4(0x122)][_0x11f6c4(0x126)]();if(_0x4e79d7[_0x11f6c4(0x13a)]+_0x2604fa!==_0x138a9c){const _0x47adda=_0x4e79d7[_0x11f6c4(0x161)]+_0x2604fa,_0xb8fc08=this[_0x11f6c4(0x182)][_0x11f6c4(0x148)][_0x11f6c4(0x13b)](_0x552183),_0x1d9a5c=this[_0x11f6c4(0x179)][_0x11f6c4(0x12a)]({'revision':_0x4e79d7,'from':_0x47adda,'to':_0x138a9c});_0x1d9a5c['id']=_0x4e79d7['id'];const _0x2114a1=_0x1d9a5c[_0x11f6c4(0x135)][_0x11f6c4(0x15f)](_0x365d6d=>_0xb8fc08[_0x11f6c4(0x174)](_0x365d6d));_0x4e79d7[_0x11f6c4(0x15e)]({..._0x1d9a5c,'authors':_0x2114a1},!0x0),this[_0x11f6c4(0x179)][_0x11f6c4(0x185)](_0x4e79d7['id'],_0x1d9a5c,!0x0);}this[_0x11f6c4(0x179)][_0x11f6c4(0x143)]=_0x138a9c,(_0x4e79d7[_0x11f6c4(0x13a)]===_0x4e79d7[_0x11f6c4(0x161)]&&!this[_0x11f6c4(0x179)][_0x11f6c4(0x173)][_0x11f6c4(0x14c)](_0x15f009)&&this[_0x11f6c4(0x179)][_0x11f6c4(0x153)][_0x11f6c4(0x189)][_0x11f6c4(0x13f)](_0x15f009),this[_0x11f6c4(0x179)][_0x11f6c4(0x162)](_0x138a9c));}const {revisions:_0x2d7e83,requestId:_0x438931}=await this[_0x11f6c4(0x187)][_0x11f6c4(0x11c)](_0x29ef8e[_0x11f6c4(0x155)],this[_0x11f6c4(0x132)]);_0x13bb30&&_0x2d7e83[_0x11f6c4(0x16e)]>0x0?_0x2c57a9[_0x11f6c4(0x129)]():(await this[_0x11f6c4(0x139)](_0x2d7e83),this[_0x11f6c4(0x12d)](_0x2d7e83,_0x438931),this[_0x11f6c4(0x179)][_0x11f6c4(0x13c)]());};return _0x2c57a9[_0x3fed32(0x131)]?_0x311403():new Promise((_0x54ddaa,_0x5eb65c)=>{const _0x1e2734=_0x3fed32;_0x2c57a9[_0x1e2734(0x15a)](_0x1e2734(0x141),()=>{const _0x23a0ff=_0x1e2734;_0x311403()[_0x23a0ff(0x12f)](_0x54ddaa)[_0x23a0ff(0x134)](_0x5eb65c);});});}[_0x23c666(0x165)](){const _0x2f16cf=_0x23c666;super[_0x2f16cf(0x165)]();}async[_0x23c666(0x170)](){const _0xbf7d8a=_0x23c666;this[_0xbf7d8a(0x187)][_0xbf7d8a(0x14e)]||await new Promise(_0x39e491=>{const _0x474f97=_0xbf7d8a;this[_0x474f97(0x121)](this[_0x474f97(0x187)],_0x474f97(0x124),_0xbebe45=>{const _0x3e68d6=_0x474f97;_0xbebe45[_0x3e68d6(0x127)](),_0x39e491();});});}[_0x23c666(0x13d)](){const _0x137b99=_0x23c666,_0x1d69ba=this[_0x137b99(0x182)][_0x137b99(0x148)][_0x137b99(0x13b)](_0x383190)[_0x137b99(0x159)][_0x137b99(0x150)]()[_0x137b99(0x16a)]();for(const _0x48f8e8 of _0x1d69ba)if(_0x137b99(0x168)!==_0x48f8e8[_0x137b99(0x11f)]||_0x48f8e8[_0x137b99(0x16b)])return _0x48f8e8[_0x137b99(0x158)]+0x1;}[_0x23c666(0x17d)](){const _0x2f5603=_0x23c666,_0x271899=this[_0x2f5603(0x182)][_0x2f5603(0x148)][_0x2f5603(0x13b)](_0x383190);return new Promise(_0x389dcb=>{const _0x521a81=_0x2f5603;_0x271899[_0x521a81(0x164)]?_0x271899[_0x521a81(0x15a)](_0x521a81(0x137),()=>{const _0x20f1e6=_0x521a81;_0x389dcb(this[_0x20f1e6(0x13d)]());}):_0x389dcb(this[_0x521a81(0x13d)]());});}[_0x23c666(0x12d)](_0x4f33e1,_0x435cd9){const _0x2e1007=_0x23c666,_0x5db98d=this[_0x2e1007(0x179)][_0x2e1007(0x153)];this[_0x2e1007(0x132)]=_0x435cd9;for(const _0x382edc of _0x4f33e1){const _0x26713e=_0x5db98d[_0x2e1007(0x18e)](_0x382edc['id']);if(_0x26713e){if((_0x382edc[_0x2e1007(0x161)]||_0x382edc[_0x2e1007(0x13a)])&&(_0x382edc[_0x2e1007(0x123)]=null),_0x26713e===this[_0x2e1007(0x179)][_0x2e1007(0x18b)]){const _0x5c5027=Math[_0x2e1007(0x12c)](_0x26713e[_0x2e1007(0x13a)],_0x382edc[_0x2e1007(0x13a)]),_0x177ae6=Math[_0x2e1007(0x12c)](_0x26713e[_0x2e1007(0x161)],_0x382edc[_0x2e1007(0x161)]);let _0xef2f3;_0x26713e[_0x2e1007(0x13a)]===_0x382edc[_0x2e1007(0x13a)]&&_0x26713e[_0x2e1007(0x161)]===_0x382edc[_0x2e1007(0x161)]?(_0xef2f3=!0x0,this[_0x2e1007(0x142)](_0x382edc)):_0x382edc[_0x2e1007(0x13a)]===_0x5c5027&&_0x382edc[_0x2e1007(0x161)]===_0x177ae6?_0xef2f3=!0x1:(_0x26713e[_0x2e1007(0x13a)]===_0x5c5027&&_0x26713e[_0x2e1007(0x161)]===_0x177ae6||this[_0x2e1007(0x125)]({'revision':_0x26713e,'from':_0x177ae6,'to':_0x5c5027}),_0xef2f3=!0x0),_0xef2f3&&(delete _0x382edc[_0x2e1007(0x161)],delete _0x382edc[_0x2e1007(0x13a)],delete _0x382edc[_0x2e1007(0x123)],delete _0x382edc[_0x2e1007(0x136)],delete _0x382edc[_0x2e1007(0x135)]);}this[_0x2e1007(0x179)][_0x2e1007(0x172)](_0x382edc),this[_0x2e1007(0x142)](_0x382edc);}else this[_0x2e1007(0x179)][_0x2e1007(0x178)](_0x382edc);}const _0x198596=_0x5db98d[_0x2e1007(0x138)]();_0x198596[_0x2e1007(0x16a)]();for(let _0x2911ad=0x0;_0x2911ad<_0x198596[_0x2e1007(0x16e)]-0x1;_0x2911ad++){const _0xbc4fcf=_0x198596[_0x2911ad],_0x1318bd=_0x198596[_0x2911ad+0x1];if(_0xbc4fcf[_0x2e1007(0x161)]<_0x1318bd[_0x2e1007(0x13a)]){const _0x1efc5e=_0x1318bd[_0x2e1007(0x13a)],_0x18b797=Math[_0x2e1007(0x12c)](_0x1efc5e,_0xbc4fcf[_0x2e1007(0x13a)]);this[_0x2e1007(0x125)]({'revision':_0xbc4fcf,'from':_0x1efc5e,'to':_0x18b797});}}}[_0x23c666(0x125)]({revision:_0x176c7d,from:_0xff7997,to:_0x353a69}={}){const _0x281d91=_0x23c666,_0x3d30ae=this[_0x281d91(0x182)][_0x281d91(0x148)][_0x281d91(0x13b)](_0x552183),_0x40a2fe=this[_0x281d91(0x179)][_0x281d91(0x12a)]({'revision':_0x176c7d,'from':_0xff7997,'to':_0x353a69});_0x40a2fe[_0x281d91(0x184)]=_0x40a2fe[_0x281d91(0x135)][_0x281d91(0x15f)](_0x589818=>_0x3d30ae[_0x281d91(0x174)](_0x589818)),_0x176c7d[_0x281d91(0x15e)](_0x40a2fe);}[_0x23c666(0x142)](_0x1f63fb){const _0x47a5e7=_0x23c666,_0x5b33dd={};_0x5b33dd['id']=_0x1f63fb['id'];for(const _0x4562be of Object[_0x47a5e7(0x147)](_0x1f63fb))'id'!==_0x4562be&&(_0x5b33dd[_0x4562be]=void 0x0);this[_0x47a5e7(0x179)][_0x47a5e7(0x185)](_0x5b33dd['id'],_0x5b33dd,!0x0);}async[_0x23c666(0x139)](_0x3929eb){const _0x196b7d=_0x23c666,_0x152308=this[_0x196b7d(0x182)][_0x196b7d(0x148)][_0x196b7d(0x13b)](_0x552183),{connection:_0x3fb140}=this[_0x196b7d(0x182)][_0x196b7d(0x148)][_0x196b7d(0x13b)](_0x3e244c),_0x254f48=new Set();for(const _0x3ade40 of _0x3929eb){for(const _0x2d4607 of _0x3ade40[_0x196b7d(0x135)])_0x34acb4(_0x2d4607);_0x3ade40[_0x196b7d(0x14b)]&&_0x34acb4(_0x3ade40[_0x196b7d(0x14b)]);}if(0x0===_0x254f48[_0x196b7d(0x16d)])return;const _0x39c8b3=await _0x42ae13[_0x196b7d(0x17b)](_0x3fb140,Array[_0x196b7d(0x14f)](_0x254f48));for(const _0x57326f of _0x39c8b3)_0x152308[_0x196b7d(0x174)](_0x57326f['id'])||_0x152308[_0x196b7d(0x145)](_0x57326f);function _0x34acb4(_0x56934f){const _0xf8442=_0x196b7d;_0x152308[_0xf8442(0x174)](_0x56934f)||_0x254f48[_0xf8442(0x157)](_0x56934f);}}}export{c as CloudServicesRevisionHistoryAdapter};function st(_0x190fe3){const _0x309695=_0x23c666;return _0x190fe3[_0x309695(0x18d)][_0x309695(0x15c)](_0x309695(0x156))||_0x190fe3[_0x309695(0x18d)][_0x309695(0x15c)](_0x309695(0x154))||_0x190fe3[_0x309695(0x18d)][_0x309695(0x15c)](_0x309695(0x17e));}function _0xc2f9(){const _0x11716b=['then','1406040ZWCDEz','_isConnected','_lastRequestId','state','catch','authorsIds','createdAt','change:_isPendingUpdate','getRevisions','_fetchMissingUsers','toVersion','get','sendBufferedUpdates','_getLatestVersionFromServerOperations','connect','remove','RevisionHistoryService','change:_isConnected','_preventResendingRevisionData','_startingVersion','wrongRequestId','addUser','1532096TeLsLk','keys','plugins','33fNpXQr','init','creatorId','has','revisionsUpdated','isConnected','from','getOperations','collaboration.channelId','isPremiumPlugin','repository','cloud-services-internal-error:\x20Not\x20connected.','connection','cloud-services-internal-error:\x20Revision\x20History\x20Service\x20is\x20not\x20connected.','add','baseVersion','serverHistory','once','CloudServicesRevisionHistoryAdapter','startsWith','695416NBRxWT','_update','map','config','fromVersion','_createCurrentRevision','addToReconnectionStack','_isPendingUpdate','destroy','7HZdzhx','400','marker','isEnabled','reverse','affectsData','pluginName','size','length','9QuQJwD','_waitForServiceReady','code','setRevisionData','_bufferedUpdates','getUser','setSource','2061078hFPfda','data','addRevisionData','_revisionTracker','isEmptyCurrent','getMany','3750ibphYB','_getLatestVersion','cloud-services-internal-error:\x20Request\x20timeout.','isOfficialPlugin','7646160dpwnhA','RevisionHistory','editor','cloudServices.bundleVersion','authors','_bufferUpdate','isBundleUploaded','_revisionHistoryService','10rbXrki','_revisions','CONNECTED','currentRevision','RevisionTracker','message','getRevision','_offset','sessionId','_oldOffset','reconnect','66icSRkm','requires','type','adapter','listenTo','_revisionDataBuilder','diffData','connected','_fixRevision','reInit','off','updateRevisions','_handleReconnectionError','buildRevisionData','bind','max','_handleRevisionsUpdate','1072788gAZkQx'];_0xc2f9=function(){return _0x11716b;};return _0xc2f9();}
|
|
23
|
+
const _0x22a1bf=_0x5f1d;(function(_0x2b9a3,_0xf9df16){const _0x285549=_0x5f1d,_0x2b442f=_0x2b9a3();while(!![]){try{const _0x4424b7=parseInt(_0x285549(0xe8))/0x1+parseInt(_0x285549(0xff))/0x2+parseInt(_0x285549(0x11c))/0x3+parseInt(_0x285549(0x110))/0x4*(-parseInt(_0x285549(0xef))/0x5)+-parseInt(_0x285549(0x111))/0x6*(-parseInt(_0x285549(0xfa))/0x7)+-parseInt(_0x285549(0xe7))/0x8*(parseInt(_0x285549(0x10c))/0x9)+parseInt(_0x285549(0x109))/0xa*(parseInt(_0x285549(0x11f))/0xb);if(_0x4424b7===_0xf9df16)break;else _0x2b442f['push'](_0x2b442f['shift']());}catch(_0x4a5fe9){_0x2b442f['push'](_0x2b442f['shift']());}}}(_0x145f,0x5e604));import{Plugin as _0x318a7e}from'ckeditor5/src/core.js';import{version as _0x3a254c}from'ckeditor5/src/utils.js';import{Users as _0x540d3d}from'ckeditor5-collaboration/src/collaboration-core.js';import{RealTimeCollaborationClient as _0x8e5a2d}from'../realtimecollaborativeediting/realtimecollaborationclient.js';import{WebSocketGateway as _0x563aac}from'../realtimecollaborativeediting/websocketgateway.js';import{Sessions as _0x148a42}from'../realtimecollaborativeediting/sessions.js';function _0x145f(){const _0x4a21bf=['collaboration.channelId','addToReconnectionStack','14HEvEjc','affectsData','message','cloudServices.bundleVersion','getRevision','324060nabkbs','_isConnected','_bufferedUpdates','isEnabled','once','_startingVersion','createdAt','editor','length','getRevisions','8770WozkIv','isBundleUploaded','_waitForServiceReady','228753ZQxAna','_offset','reconnect','updateRevisions','106128xQaFfr','1743822QIFgIV','remove','from','addRevisionData','change:_isConnected','_bufferUpdate','catch','_update','CONNECTED','_getLatestVersion','off','910941BRWqgi','repository','get','1793xPGIgS','change:_isPendingUpdate','400','isConnected','startsWith','_handleReconnectionError','isOfficialPlugin','_preventResendingRevisionData','RevisionTracker','isEmptyCurrent','adapter','RevisionHistoryService','_createCurrentRevision','getMany','buildRevisionData','_revisionDataBuilder','_oldOffset','cloud-services-internal-error:\x20Revision\x20History\x20Service\x20is\x20not\x20connected.','has','state','connect','cloud-services-internal-error:\x20Request\x20timeout.','setSource','reverse','reInit','getOperations','add','RevisionHistory','wrongRequestId','connected','bind','max','requires','destroy','type','creatorId','fromVersion','map','connection','authorsIds','pluginName','_revisionHistoryService','marker','config','sessionId','_getLatestVersionFromServerOperations','sendBufferedUpdates','_isPendingUpdate','getUser','_fetchMissingUsers','init','_revisionTracker','diffData','size','isPremiumPlugin','cloud-services-internal-error:\x20Not\x20connected.','_handleRevisionsUpdate','revisionsUpdated','baseVersion','_revisions','data','232WUXmJM','199075SNkJoS','plugins','keys','then','currentRevision','setRevisionData','serverHistory','50PMZZKk','toVersion','authors','code','_fixRevision','listenTo','CloudServicesRevisionHistoryAdapter','_lastRequestId','addUser'];_0x145f=function(){return _0x4a21bf;};return _0x145f();}import{EditorService as _0x58fe11,RevisionHistoryService as _0x4f3e2e,User as _0x4ab5ae,WEB_SOCKET_GATEWAY_STATES as _0x1de02b}from'@ckeditor/ckeditor-cloud-services-collaboration/src/services.js';function _0x5f1d(_0x5282e0,_0x457992){const _0x145f9d=_0x145f();return _0x5f1d=function(_0x5f1deb,_0x5685d4){_0x5f1deb=_0x5f1deb-0xc7;let _0x4c009d=_0x145f9d[_0x5f1deb];return _0x4c009d;},_0x5f1d(_0x5282e0,_0x457992);}class c extends _0x318a7e{static [_0x22a1bf(0x12a)]=/* #__PURE__ -- @preserve */
|
|
24
|
+
((()=>_0x4f3e2e)());[_0x22a1bf(0xf6)];[_0x22a1bf(0xdd)];[_0x22a1bf(0xd3)];[_0x22a1bf(0x12f)];static get[_0x22a1bf(0xca)](){const _0x412cac=_0x22a1bf;return[_0x563aac,_0x8e5a2d,_0x412cac(0x13a),_0x148a42,_0x540d3d];}static get[_0x22a1bf(0xd2)](){const _0xe921f2=_0x22a1bf;return _0xe921f2(0xf5);}static get[_0x22a1bf(0x125)](){return!0x0;}static get[_0x22a1bf(0xe0)](){return!0x0;}constructor(_0x3d5111){const _0x15c828=_0x22a1bf;super(_0x3d5111);const _0x49cbdd=this[_0x15c828(0x106)][_0x15c828(0xd5)][_0x15c828(0x11e)](_0x15c828(0xf8));this[_0x15c828(0xf6)]=null,this[_0x15c828(0xdd)]=this[_0x15c828(0x106)][_0x15c828(0xe9)][_0x15c828(0x11e)](_0x15c828(0x127)),this[_0x15c828(0xd3)]=new c[(_0x15c828(0x12a))](_0x49cbdd);}async[_0x22a1bf(0xdc)](){const _0x168578=_0x22a1bf,_0x33e6ba=this[_0x168578(0x106)][_0x168578(0xe9)][_0x168578(0x11e)](_0x8e5a2d),_0x42b6d0=_0x33e6ba[_0x168578(0xee)],_0x32d790=this[_0x168578(0x106)][_0x168578(0xe9)][_0x168578(0x11e)](_0x563aac);this[_0x168578(0xdd)][_0x168578(0x135)]({'history':_0x42b6d0,'getLatestVersion':()=>this[_0x168578(0x11a)](),'getCurrentRevisionId':()=>_0x33e6ba[_0x168578(0xd6)]});const _0x5593c7=this[_0x168578(0x106)][_0x168578(0xd5)][_0x168578(0x11e)](_0x168578(0xfd))||_0x3a254c,_0x12713a=await _0x58fe11[_0x168578(0x10a)](_0x32d790[_0x168578(0xd0)],_0x5593c7);this[_0x168578(0x106)][_0x168578(0xe9)][_0x168578(0x11e)](_0x168578(0x13a))[_0x168578(0x129)]={'getRevision':async({revisionId:_0xbe817f})=>(await this[_0x168578(0x10b)](),await this[_0x168578(0xd3)][_0x168578(0xfe)](_0xbe817f)),'updateRevisions':async _0x56fd0f=>{const _0x589a75=_0x168578;await this[_0x589a75(0x10b)]();const _0x2eb2e6=this[_0x589a75(0xdd)][_0x589a75(0xec)];if(_0x12713a&&0x1===_0x56fd0f[_0x589a75(0x107)]&&_0x56fd0f[0x0]['id']===_0x2eb2e6['id'])return _0x56fd0f;for(const _0x50ead4 of _0x56fd0f)_0x50ead4['id']===_0x2eb2e6['id']&&(_0x50ead4[_0x589a75(0x128)]=_0x50ead4[_0x589a75(0xce)]===_0x50ead4[_0x589a75(0xf0)]);return this[_0x589a75(0xd3)][_0x589a75(0x10f)](_0x56fd0f,this[_0x589a75(0xf6)])[_0x589a75(0xeb)](_0x22264e=>(this[_0x589a75(0xf6)]=_0x22264e,_0x56fd0f))[_0x589a75(0x117)](_0x20ba06=>{const _0x306017=_0x589a75;if(P(_0x20ba06)||_0x306017(0x121)===_0x20ba06[_0x306017(0xf2)]&&void 0x0!==_0x20ba06[_0x306017(0xe6)][_0x306017(0x13b)]){for(const _0x281fb6 of _0x56fd0f){!this[_0x306017(0xdd)][_0x306017(0x11d)][_0x306017(0xfe)](_0x281fb6['id'])||this[_0x306017(0xdd)][_0x306017(0x116)](_0x281fb6['id'],_0x281fb6,!0x1);}if(P(_0x20ba06))throw _0x20ba06;return _0x56fd0f;}throw _0x20ba06;});}},this[_0x168578(0xf4)](this[_0x168578(0xd3)],_0x168578(0xe3),(_0x24de01,{revisionsData:_0x590efc,requestId:_0x47dd11})=>{const _0x1c3cd7=_0x168578;Math[_0x1c3cd7(0xc9)](..._0x590efc[_0x1c3cd7(0xcf)](_0x236436=>_0x236436[_0x1c3cd7(0xf0)]))>this[_0x1c3cd7(0xd7)]()-0x1?this[_0x1c3cd7(0x11a)]()[_0x1c3cd7(0xeb)](()=>{const _0xc6af41=_0x1c3cd7;this[_0xc6af41(0xe2)](_0x590efc,_0x47dd11);}):this[_0x1c3cd7(0xe2)](_0x590efc,_0x47dd11);});const {revisions:_0x5b2525,requestId:_0x53a133}=await this[_0x168578(0xd3)][_0x168578(0x133)](_0x32d790[_0x168578(0xd0)]);_0x32d790[_0x168578(0xf9)](this),this[_0x168578(0xf6)]=_0x53a133,await this[_0x168578(0xdb)](_0x5b2525);for(const _0x13d30c of _0x5b2525)this[_0x168578(0xdd)][_0x168578(0x114)](_0x13d30c);this[_0x168578(0xf4)](_0x33e6ba,_0x168578(0x115),(_0x13c570,_0x43144,_0x1c7f84)=>{const _0x3075f7=_0x168578;_0x1c7f84&&(this[_0x3075f7(0x12f)]=_0x33e6ba[_0x3075f7(0x10d)],_0x13c570[_0x3075f7(0x11b)]());}),this[_0x168578(0xdd)][_0x168578(0xc8)](_0x168578(0x102))['to'](_0x32d790,_0x168578(0x132),_0x1d135d=>_0x1d135d===_0x1de02b[_0x168578(0x119)]);}async[_0x22a1bf(0x10e)](){const _0x38359a=_0x22a1bf,_0x30a3c8=this[_0x38359a(0x106)][_0x38359a(0xe9)][_0x38359a(0x11e)](_0x563aac),_0x116177=this[_0x38359a(0x106)][_0x38359a(0xe9)][_0x38359a(0x11e)](_0x8e5a2d),_0x231011=async()=>{const _0x389a05=_0x38359a,_0x5d887c=this[_0x389a05(0xdd)][_0x389a05(0xec)],_0x17b4c7=_0x5d887c['id'],_0x383bfb=_0x17b4c7!==_0x116177[_0x389a05(0xd6)];if(_0x383bfb){const _0x2c09e3=_0x116177[_0x389a05(0x10d)]-this[_0x389a05(0x12f)],_0x406ea7=this[_0x389a05(0xd7)]();this[_0x389a05(0xdd)][_0x389a05(0x12e)][_0x389a05(0x137)]();if(_0x5d887c[_0x389a05(0xf0)]+_0x2c09e3!==_0x406ea7){const _0x5aa0f8=_0x5d887c[_0x389a05(0xce)]+_0x2c09e3,_0x4f0103=this[_0x389a05(0x106)][_0x389a05(0xe9)][_0x389a05(0x11e)](_0x540d3d),_0x4b5ae9=this[_0x389a05(0xdd)][_0x389a05(0x12d)]({'revision':_0x5d887c,'from':_0x5aa0f8,'to':_0x406ea7});_0x4b5ae9['id']=_0x5d887c['id'];const _0x42574d=_0x4b5ae9[_0x389a05(0xd1)][_0x389a05(0xcf)](_0xa1e9e2=>_0x4f0103[_0x389a05(0xda)](_0xa1e9e2));_0x5d887c[_0x389a05(0x118)]({..._0x4b5ae9,'authors':_0x42574d},!0x0),this[_0x389a05(0xdd)][_0x389a05(0x116)](_0x5d887c['id'],_0x4b5ae9,!0x0);}this[_0x389a05(0xdd)][_0x389a05(0x104)]=_0x406ea7,(_0x5d887c[_0x389a05(0xf0)]===_0x5d887c[_0x389a05(0xce)]&&!this[_0x389a05(0xdd)][_0x389a05(0x101)][_0x389a05(0x131)](_0x17b4c7)&&this[_0x389a05(0xdd)][_0x389a05(0x11d)][_0x389a05(0xe5)][_0x389a05(0x112)](_0x17b4c7),this[_0x389a05(0xdd)][_0x389a05(0x12b)](_0x406ea7));}const {revisions:_0x3783c9,requestId:_0x6ea774}=await this[_0x389a05(0xd3)][_0x389a05(0x10e)](_0x30a3c8[_0x389a05(0xd0)],this[_0x389a05(0xf6)]);_0x383bfb&&_0x3783c9[_0x389a05(0x107)]>0x0?_0x116177[_0x389a05(0x124)]():(await this[_0x389a05(0xdb)](_0x3783c9),this[_0x389a05(0xe2)](_0x3783c9,_0x6ea774),this[_0x389a05(0xdd)][_0x389a05(0xd8)]());};return _0x116177[_0x38359a(0x100)]?_0x231011():new Promise((_0x3f5d12,_0x19c66f)=>{const _0x32a76c=_0x38359a;_0x116177[_0x32a76c(0x103)](_0x32a76c(0x115),()=>{const _0x5ef1f7=_0x32a76c;_0x231011()[_0x5ef1f7(0xeb)](_0x3f5d12)[_0x5ef1f7(0x117)](_0x19c66f);});});}[_0x22a1bf(0xcb)](){const _0x520abf=_0x22a1bf;super[_0x520abf(0xcb)]();}async[_0x22a1bf(0x10b)](){const _0x4d767b=_0x22a1bf;this[_0x4d767b(0xd3)][_0x4d767b(0x122)]||await new Promise(_0x444a90=>{const _0x1f77f7=_0x4d767b;this[_0x1f77f7(0xf4)](this[_0x1f77f7(0xd3)],_0x1f77f7(0xc7),_0x79add8=>{const _0x5c239f=_0x1f77f7;_0x79add8[_0x5c239f(0x11b)](),_0x444a90();});});}[_0x22a1bf(0xd7)](){const _0x13bd62=_0x22a1bf,_0x694ae7=this[_0x13bd62(0x106)][_0x13bd62(0xe9)][_0x13bd62(0x11e)](_0x8e5a2d)[_0x13bd62(0xee)][_0x13bd62(0x138)]()[_0x13bd62(0x136)]();for(const _0x257abe of _0x694ae7)if(_0x13bd62(0xd4)!==_0x257abe[_0x13bd62(0xcc)]||_0x257abe[_0x13bd62(0xfb)])return _0x257abe[_0x13bd62(0xe4)]+0x1;}[_0x22a1bf(0x11a)](){const _0x4208a6=_0x22a1bf,_0x3f2df6=this[_0x4208a6(0x106)][_0x4208a6(0xe9)][_0x4208a6(0x11e)](_0x8e5a2d);return new Promise(_0x7e1b56=>{const _0x5e08e2=_0x4208a6;_0x3f2df6[_0x5e08e2(0xd9)]?_0x3f2df6[_0x5e08e2(0x103)](_0x5e08e2(0x120),()=>{const _0x11f922=_0x5e08e2;_0x7e1b56(this[_0x11f922(0xd7)]());}):_0x7e1b56(this[_0x5e08e2(0xd7)]());});}[_0x22a1bf(0xe2)](_0x481d57,_0x13081c){const _0x3e9361=_0x22a1bf,_0x5d28cf=this[_0x3e9361(0xdd)][_0x3e9361(0x11d)];this[_0x3e9361(0xf6)]=_0x13081c;for(const _0x2711f4 of _0x481d57){const _0x1f7893=_0x5d28cf[_0x3e9361(0xfe)](_0x2711f4['id']);if(_0x1f7893){if((_0x2711f4[_0x3e9361(0xce)]||_0x2711f4[_0x3e9361(0xf0)])&&(_0x2711f4[_0x3e9361(0xde)]=null),_0x1f7893===this[_0x3e9361(0xdd)][_0x3e9361(0xec)]){const _0x2d0614=Math[_0x3e9361(0xc9)](_0x1f7893[_0x3e9361(0xf0)],_0x2711f4[_0x3e9361(0xf0)]),_0x24dd98=Math[_0x3e9361(0xc9)](_0x1f7893[_0x3e9361(0xce)],_0x2711f4[_0x3e9361(0xce)]);let _0xfd4344;_0x1f7893[_0x3e9361(0xf0)]===_0x2711f4[_0x3e9361(0xf0)]&&_0x1f7893[_0x3e9361(0xce)]===_0x2711f4[_0x3e9361(0xce)]?(_0xfd4344=!0x0,this[_0x3e9361(0x126)](_0x2711f4)):_0x2711f4[_0x3e9361(0xf0)]===_0x2d0614&&_0x2711f4[_0x3e9361(0xce)]===_0x24dd98?_0xfd4344=!0x1:(_0x1f7893[_0x3e9361(0xf0)]===_0x2d0614&&_0x1f7893[_0x3e9361(0xce)]===_0x24dd98||this[_0x3e9361(0xf3)]({'revision':_0x1f7893,'from':_0x24dd98,'to':_0x2d0614}),_0xfd4344=!0x0),_0xfd4344&&(delete _0x2711f4[_0x3e9361(0xce)],delete _0x2711f4[_0x3e9361(0xf0)],delete _0x2711f4[_0x3e9361(0xde)],delete _0x2711f4[_0x3e9361(0x105)],delete _0x2711f4[_0x3e9361(0xd1)]);}this[_0x3e9361(0xdd)][_0x3e9361(0xed)](_0x2711f4),this[_0x3e9361(0x126)](_0x2711f4);}else this[_0x3e9361(0xdd)][_0x3e9361(0x114)](_0x2711f4);}const _0x2120e5=_0x5d28cf[_0x3e9361(0x108)]();_0x2120e5[_0x3e9361(0x136)]();for(let _0x32b38f=0x0;_0x32b38f<_0x2120e5[_0x3e9361(0x107)]-0x1;_0x32b38f++){const _0x1bbf0a=_0x2120e5[_0x32b38f],_0x1964fd=_0x2120e5[_0x32b38f+0x1];if(_0x1bbf0a[_0x3e9361(0xce)]<_0x1964fd[_0x3e9361(0xf0)]){const _0x4e8dc1=_0x1964fd[_0x3e9361(0xf0)],_0x4c530a=Math[_0x3e9361(0xc9)](_0x4e8dc1,_0x1bbf0a[_0x3e9361(0xf0)]);this[_0x3e9361(0xf3)]({'revision':_0x1bbf0a,'from':_0x4e8dc1,'to':_0x4c530a});}}}[_0x22a1bf(0xf3)]({revision:_0x43ea9c,from:_0x19d00e,to:_0x150e97}={}){const _0x370754=_0x22a1bf,_0xf2a109=this[_0x370754(0x106)][_0x370754(0xe9)][_0x370754(0x11e)](_0x540d3d),_0xec3d3e=this[_0x370754(0xdd)][_0x370754(0x12d)]({'revision':_0x43ea9c,'from':_0x19d00e,'to':_0x150e97});_0xec3d3e[_0x370754(0xf1)]=_0xec3d3e[_0x370754(0xd1)][_0x370754(0xcf)](_0x56de35=>_0xf2a109[_0x370754(0xda)](_0x56de35)),_0x43ea9c[_0x370754(0x118)](_0xec3d3e);}[_0x22a1bf(0x126)](_0x3b2132){const _0x192d67=_0x22a1bf,_0x1b6a92={};_0x1b6a92['id']=_0x3b2132['id'];for(const _0xc7cccc of Object[_0x192d67(0xea)](_0x3b2132))'id'!==_0xc7cccc&&(_0x1b6a92[_0xc7cccc]=void 0x0);this[_0x192d67(0xdd)][_0x192d67(0x116)](_0x1b6a92['id'],_0x1b6a92,!0x0);}async[_0x22a1bf(0xdb)](_0x5ec659){const _0x499caf=_0x22a1bf,_0x290415=this[_0x499caf(0x106)][_0x499caf(0xe9)][_0x499caf(0x11e)](_0x540d3d),{connection:_0xc1c496}=this[_0x499caf(0x106)][_0x499caf(0xe9)][_0x499caf(0x11e)](_0x563aac),_0x27153f=new Set();for(const _0x4cfe8e of _0x5ec659){for(const _0x992911 of _0x4cfe8e[_0x499caf(0xd1)])_0x12db88(_0x992911);_0x4cfe8e[_0x499caf(0xcd)]&&_0x12db88(_0x4cfe8e[_0x499caf(0xcd)]);}if(0x0===_0x27153f[_0x499caf(0xdf)])return;const _0x56a91f=await _0x4ab5ae[_0x499caf(0x12c)](_0xc1c496,Array[_0x499caf(0x113)](_0x27153f));for(const _0x59536c of _0x56a91f)_0x290415[_0x499caf(0xda)](_0x59536c['id'])||_0x290415[_0x499caf(0xf7)](_0x59536c);function _0x12db88(_0x68eb88){const _0x207c6d=_0x499caf;_0x290415[_0x207c6d(0xda)](_0x68eb88)||_0x27153f[_0x207c6d(0x139)](_0x68eb88);}}}export{c as CloudServicesRevisionHistoryAdapter};function P(_0x5d7b9c){const _0x5c3260=_0x22a1bf;return _0x5d7b9c[_0x5c3260(0xfc)][_0x5c3260(0x123)](_0x5c3260(0x130))||_0x5d7b9c[_0x5c3260(0xfc)][_0x5c3260(0x123)](_0x5c3260(0xe1))||_0x5d7b9c[_0x5c3260(0xfc)][_0x5c3260(0x123)](_0x5c3260(0x134));}
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
var
|
|
23
|
+
var _0x46354e=_0x2105;(function(_0x496993,_0xb5667f){var _0x737176=_0x2105,_0x5582f9=_0x496993();while(!![]){try{var _0x1ef3b4=parseInt(_0x737176(0x1b1))/0x1+-parseInt(_0x737176(0x1b0))/0x2+-parseInt(_0x737176(0x1ae))/0x3+-parseInt(_0x737176(0x1b3))/0x4*(parseInt(_0x737176(0x1b5))/0x5)+parseInt(_0x737176(0x1ba))/0x6+parseInt(_0x737176(0x1b8))/0x7+parseInt(_0x737176(0x1b7))/0x8;if(_0x1ef3b4===_0xb5667f)break;else _0x5582f9['push'](_0x5582f9['shift']());}catch(_0x171e06){_0x5582f9['push'](_0x5582f9['shift']());}}}(_0x8614,0x32a33));function _0x8614(){var _0x1a274d=['RealTimeCollaborativeRevisionHistory','700502FQRrkJ','206048MDdCQQ','isOfficialPlugin','5516vGVHQp','requires','85WWpBaJ','isPremiumPlugin','870496WUamSn','806890gYsuIv','pluginName','947892oCLCQa','RevisionHistory','21021MdYwOe'];_0x8614=function(){return _0x1a274d;};return _0x8614();}import{Plugin as _0x43d832}from'ckeditor5/src/core.js';function _0x2105(_0xd0b113,_0x2b45dd){var _0x86142=_0x8614();return _0x2105=function(_0x210516,_0x3a0d95){_0x210516=_0x210516-0x1ae;var _0x4943ff=_0x86142[_0x210516];return _0x4943ff;},_0x2105(_0xd0b113,_0x2b45dd);}import{CloudServicesRevisionHistoryAdapter as _0x2a1def}from'./realtimecollaborativerevisionhistory/cloudservicesrevisionhistoryadapter.js';import{RealTimeCollaborativeEditing as _0xad7b3a}from'./realtimecollaborativeediting.js';export class RealTimeCollaborativeRevisionHistory extends _0x43d832{static get[_0x46354e(0x1b4)](){var _0x59548a=_0x46354e;return[_0x59548a(0x1bb),_0x2a1def,_0xad7b3a];}static get[_0x46354e(0x1b9)](){var _0x44409c=_0x46354e;return _0x44409c(0x1af);}static get[_0x46354e(0x1b2)](){return!0x0;}static get[_0x46354e(0x1b6)](){return!0x0;}}
|
|
@@ -20,5 +20,5 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
const
|
|
24
|
-
((()=>
|
|
23
|
+
const _0x5195db=_0x3067;function _0x1da4(){const _0x3b91ca=['config','suggestionUpdated','getUser','connected','connect','init','2956430BTfPuh','data','CloudServicesTrackChangesAdapter','504320uwEnzg','editor','isPremiumPlugin','plugins','3112cxBlRx','_waitForServiceReady','set','listenTo','363070ErNyYJ','getMany','startsWith','type','359611ZItkhI','then','reconnect','_saved','size','add','update','get','cloud-services-internal-error:\x20Request\x20timeout.','message','find','originalSuggestionId','TrackChangesService','_bufferedRequests','addToReconnectionStack','delete','24DWWfWa','from','isConnected','catch','3156NwHYBe','addSuggestionData','values','9807UVInlR','connection','addUser','state','_fetchMissingUsersForThreads','TrackChangesEditing','adapter','306063iIZtfg','_trackChangesService','off','pluginName','requires','hasSuggestion','collaboration.channelId','attributes','getSuggestion','1648lSgCrY','isOfficialPlugin','open','cloud-services-internal-error:\x20Not\x20connected.'];_0x1da4=function(){return _0x3b91ca;};return _0x1da4();}function _0x3067(_0x245851,_0x520938){const _0x1da4dd=_0x1da4();return _0x3067=function(_0x30673c,_0x33babb){_0x30673c=_0x30673c-0x11c;let _0x4df3e2=_0x1da4dd[_0x30673c];return _0x4df3e2;},_0x3067(_0x245851,_0x520938);}(function(_0x4da522,_0x46be8e){const _0x5bd94a=_0x3067,_0x5e81b6=_0x4da522();while(!![]){try{const _0x2bafa5=-parseInt(_0x5bd94a(0x128))/0x1+-parseInt(_0x5bd94a(0x11c))/0x2+-parseInt(_0x5bd94a(0x13c))/0x3*(-parseInt(_0x5bd94a(0x14f))/0x4)+parseInt(_0x5bd94a(0x124))/0x5*(parseInt(_0x5bd94a(0x138))/0x6)+-parseInt(_0x5bd94a(0x13f))/0x7*(-parseInt(_0x5bd94a(0x120))/0x8)+-parseInt(_0x5bd94a(0x146))/0x9+-parseInt(_0x5bd94a(0x159))/0xa;if(_0x2bafa5===_0x46be8e)break;else _0x5e81b6['push'](_0x5e81b6['shift']());}catch(_0xc1abef){_0x5e81b6['push'](_0x5e81b6['shift']());}}}(_0x1da4,0x4ff18));import{Plugin as _0x3d5769}from'ckeditor5/src/core.js';import{User as _0x23efd1,TrackChangesService as _0x166011}from'@ckeditor/ckeditor-cloud-services-collaboration/src/services.js';import{WebSocketGateway as _0x4c3027}from'../realtimecollaborativeediting/websocketgateway.js';import{CloudServicesCommentsAdapter as _0x2abcdd}from'../realtimecollaborativecomments/cloudservicescommentsadapter.js';import{Users as _0x4b6697}from'ckeditor5-collaboration/src/collaboration-core.js';class m extends _0x3d5769{static [_0x5195db(0x134)]=/* #__PURE__ -- @preserve */
|
|
24
|
+
((()=>_0x166011)());[_0x5195db(0x135)];[_0x5195db(0x147)];static get[_0x5195db(0x14a)](){const _0x56e821=_0x5195db;return[_0x2abcdd,_0x56e821(0x144),_0x4c3027];}static get[_0x5195db(0x149)](){const _0x4b53f6=_0x5195db;return _0x4b53f6(0x15b);}static get[_0x5195db(0x150)](){return!0x0;}static get[_0x5195db(0x11e)](){return!0x0;}constructor(_0x51819b){const _0x116963=_0x5195db;super(_0x51819b);const _0xc47f56=this[_0x116963(0x11d)][_0x116963(0x153)][_0x116963(0x12f)](_0x116963(0x14c));this[_0x116963(0x135)]=new Map(),this[_0x116963(0x147)]=new m[(_0x116963(0x134))](_0xc47f56);}[_0x5195db(0x158)](){const _0x3e5a95=_0x5195db,_0x35efb9=this[_0x3e5a95(0x11d)][_0x3e5a95(0x11f)][_0x3e5a95(0x12f)](_0x4c3027),_0x1c519d=this[_0x3e5a95(0x11d)][_0x3e5a95(0x11f)][_0x3e5a95(0x12f)](_0x3e5a95(0x144));return _0x1c519d[_0x3e5a95(0x145)]={'getSuggestion':async _0x4a500d=>{const _0x12d8d9=_0x3e5a95;await this[_0x12d8d9(0x121)]();const _0x348c8c=await this[_0x12d8d9(0x147)][_0x12d8d9(0x12f)](_0x4a500d)[_0x12d8d9(0x13b)](C);return await this[_0x12d8d9(0x143)]([_0x348c8c]),_0x348c8c;},'addSuggestion':async({id:_0x496370,type:_0x58e560,data:_0x4686e0,originalSuggestionId:_0xaa6ed2,attributes:_0xca889b})=>{const _0x2d382a=_0x3e5a95;await this[_0x2d382a(0x121)]();const _0x2e387e={'id':_0x496370,'type':_0x58e560,'data':_0x4686e0,'originalSuggestionId':_0xaa6ed2,'attributes':_0xca889b},_0x25d614=await this[_0x2d382a(0x147)][_0x2d382a(0x12d)](_0x496370,_0x58e560,_0x4686e0,_0xaa6ed2,_0xca889b)[_0x2d382a(0x13b)](_0x590746=>{if(P(_0x590746))return new Promise(_0x1eb388=>{const _0x57340e=_0x3067;this[_0x57340e(0x135)][_0x57340e(0x122)](_0x496370,{'resolve':_0x1eb388,'suggestionData':_0x2e387e});});throw _0x590746;});return this[_0x2d382a(0x135)][_0x2d382a(0x137)](_0x496370),_0x25d614;},'updateSuggestion':async(_0x45d45e,_0x365f56)=>{const _0x2fa10e=_0x3e5a95;if(await this[_0x2fa10e(0x121)](),_0x2fa10e(0x151)!==_0x365f56[_0x2fa10e(0x142)])return this[_0x2fa10e(0x147)][_0x2fa10e(0x12e)](_0x45d45e,_0x365f56)[_0x2fa10e(0x13b)](C);}},this[_0x3e5a95(0x123)](this[_0x3e5a95(0x147)],_0x3e5a95(0x154),(_0x599c41,_0x506507)=>{const _0xc4b1ea=_0x3e5a95;_0x1c519d[_0xc4b1ea(0x14b)](_0x506507['id'])&&(_0x1c519d[_0xc4b1ea(0x14e)](_0x506507['id'])[_0xc4b1ea(0x14d)]=_0x506507[_0xc4b1ea(0x14d)]);}),this[_0x3e5a95(0x147)][_0x3e5a95(0x157)](_0x35efb9[_0x3e5a95(0x140)])[_0x3e5a95(0x129)](_0xfc124d=>(_0x35efb9[_0x3e5a95(0x136)](this),this[_0x3e5a95(0x143)](_0xfc124d)[_0x3e5a95(0x129)](()=>{const _0x5279df=_0x3e5a95;for(const _0x1be9e2 of _0xfc124d){_0x1c519d[_0x5279df(0x13d)](_0x1be9e2)[_0x5279df(0x12b)]=!0x0;}})));}async[_0x5195db(0x12a)](){const _0x180b46=_0x5195db,_0x144781=this[_0x180b46(0x11d)][_0x180b46(0x11f)][_0x180b46(0x12f)](_0x180b46(0x144)),{connection:_0x39e597}=this[_0x180b46(0x11d)][_0x180b46(0x11f)][_0x180b46(0x12f)](_0x4c3027),_0x523420=await this[_0x180b46(0x147)][_0x180b46(0x157)](_0x39e597);await this[_0x180b46(0x143)](_0x523420);for(const {suggestionData:_0x4b31a7,resolve:_0x349d97}of this[_0x180b46(0x135)][_0x180b46(0x13e)]()){let _0x30ef03=_0x523420[_0x180b46(0x132)](_0x19b185=>_0x19b185['id']===_0x4b31a7['id']);_0x30ef03||(_0x30ef03=await this[_0x180b46(0x147)][_0x180b46(0x12d)](_0x4b31a7['id'],_0x4b31a7[_0x180b46(0x127)],_0x4b31a7[_0x180b46(0x15a)],_0x4b31a7[_0x180b46(0x133)])),_0x349d97(_0x30ef03);}for(const _0x20b0c5 of _0x523420)_0x144781[_0x180b46(0x14b)](_0x20b0c5['id'])||_0x144781[_0x180b46(0x13d)](_0x20b0c5);}async[_0x5195db(0x121)](){const _0x6363ef=_0x5195db;this[_0x6363ef(0x147)][_0x6363ef(0x13a)]||await new Promise(_0x385fea=>{const _0xd922d3=_0x6363ef;this[_0xd922d3(0x123)](this[_0xd922d3(0x147)],_0xd922d3(0x156),_0x1b7422=>{const _0x23f671=_0xd922d3;_0x1b7422[_0x23f671(0x148)](),_0x385fea();});});}async[_0x5195db(0x143)](_0x53de64){const _0x4a15ff=_0x5195db,_0x2506de=this[_0x4a15ff(0x11d)][_0x4a15ff(0x11f)][_0x4a15ff(0x12f)](_0x4b6697),{connection:_0x106833}=this[_0x4a15ff(0x11d)][_0x4a15ff(0x11f)][_0x4a15ff(0x12f)](_0x4c3027),_0x1c991f=new Set();for(const {authorId:_0x5ef71c}of _0x53de64)_0x2506de[_0x4a15ff(0x155)](_0x5ef71c)||_0x1c991f[_0x4a15ff(0x12d)](_0x5ef71c);if(0x0===_0x1c991f[_0x4a15ff(0x12c)])return;const _0x45949b=await _0x23efd1[_0x4a15ff(0x125)](_0x106833,Array[_0x4a15ff(0x139)](_0x1c991f));for(const _0x461e70 of _0x45949b)_0x2506de[_0x4a15ff(0x155)](_0x461e70['id'])||_0x2506de[_0x4a15ff(0x141)](_0x461e70);}}export{m as CloudServicesTrackChangesAdapter};function C(_0x56fe4e){if(P(_0x56fe4e))return new Promise(()=>{});throw _0x56fe4e;}function P(_0xf9efb4){const _0x5be83a=_0x5195db;return _0xf9efb4[_0x5be83a(0x131)][_0x5be83a(0x126)](_0x5be83a(0x152))||_0xf9efb4[_0x5be83a(0x131)][_0x5be83a(0x126)](_0x5be83a(0x130));}
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
var
|
|
23
|
+
var _0x2b0679=_0x94ad;function _0x94ad(_0x37f50b,_0x30a4ae){var _0x42cf8d=_0x42cf();return _0x94ad=function(_0x94ad9d,_0xfd43f8){_0x94ad9d=_0x94ad9d-0x19a;var _0xec91e9=_0x42cf8d[_0x94ad9d];return _0xec91e9;},_0x94ad(_0x37f50b,_0x30a4ae);}(function(_0x38af0f,_0x1d0a80){var _0x1c3a5a=_0x94ad,_0x40b650=_0x38af0f();while(!![]){try{var _0x366680=-parseInt(_0x1c3a5a(0x1a7))/0x1+parseInt(_0x1c3a5a(0x1a5))/0x2*(parseInt(_0x1c3a5a(0x19a))/0x3)+parseInt(_0x1c3a5a(0x1a0))/0x4*(-parseInt(_0x1c3a5a(0x1a6))/0x5)+-parseInt(_0x1c3a5a(0x19f))/0x6+-parseInt(_0x1c3a5a(0x19b))/0x7*(-parseInt(_0x1c3a5a(0x19d))/0x8)+parseInt(_0x1c3a5a(0x19c))/0x9+-parseInt(_0x1c3a5a(0x1aa))/0xa*(-parseInt(_0x1c3a5a(0x1a9))/0xb);if(_0x366680===_0x1d0a80)break;else _0x40b650['push'](_0x40b650['shift']());}catch(_0xe18769){_0x40b650['push'](_0x40b650['shift']());}}}(_0x42cf,0x36a96));import{Plugin as _0x2a9f49}from'ckeditor5/src/core.js';import{CloudServicesTrackChangesAdapter as _0x174642}from'./realtimecollaborativetrackchanges/cloudservicestrackchangesadapter.js';import{RealTimeCollaborativeComments as _0x4648c8}from'./realtimecollaborativecomments.js';export class RealTimeCollaborativeTrackChanges extends _0x2a9f49{static get[_0x2b0679(0x1a1)](){var _0x49933e=_0x2b0679;return[_0x4648c8,_0x174642,_0x49933e(0x19e)];}static get[_0x2b0679(0x1a2)](){var _0x18c498=_0x2b0679;return _0x18c498(0x1a8);}static get[_0x2b0679(0x1a4)](){return!0x0;}static get[_0x2b0679(0x1a3)](){return!0x0;}}function _0x42cf(){var _0x227db4=['315165iVHbcV','158809QhDGla','1745307DTVjHp','24dBtAyu','TrackChanges','890718gKvjmQ','40CHIXZn','requires','pluginName','isPremiumPlugin','isOfficialPlugin','4ZzaGXw','24760YUVOgb','207088ljHCyK','RealTimeCollaborativeTrackChanges','1725471JWmPQe','10tgGgYD'];_0x42cf=function(){return _0x227db4;};return _0x42cf();}
|