@ckeditor/ckeditor5-real-time-collaboration 47.2.0-alpha.7 → 47.3.0-alpha.0
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/LICENSE.md +4 -4
- package/build/real-time-collaboration.js +1 -1
- package/dist/index.js +6 -6
- package/dist/translations/af.js +1 -1
- package/dist/translations/af.umd.js +1 -1
- package/dist/translations/ar.js +1 -1
- package/dist/translations/ar.umd.js +1 -1
- package/dist/translations/ast.js +1 -1
- package/dist/translations/ast.umd.js +1 -1
- package/dist/translations/az.js +1 -1
- package/dist/translations/az.umd.js +1 -1
- package/dist/translations/be.js +1 -1
- package/dist/translations/be.umd.js +1 -1
- package/dist/translations/bg.js +1 -1
- package/dist/translations/bg.umd.js +1 -1
- package/dist/translations/bn.js +1 -1
- package/dist/translations/bn.umd.js +1 -1
- package/dist/translations/bs.js +1 -1
- package/dist/translations/bs.umd.js +1 -1
- package/dist/translations/ca.js +1 -1
- package/dist/translations/ca.umd.js +1 -1
- package/dist/translations/cs.js +1 -1
- package/dist/translations/cs.umd.js +1 -1
- package/dist/translations/da.js +1 -1
- package/dist/translations/da.umd.js +1 -1
- package/dist/translations/de-ch.js +1 -1
- package/dist/translations/de-ch.umd.js +1 -1
- package/dist/translations/de.js +1 -1
- package/dist/translations/de.umd.js +1 -1
- package/dist/translations/el.js +1 -1
- package/dist/translations/el.umd.js +1 -1
- package/dist/translations/en-au.js +1 -1
- package/dist/translations/en-au.umd.js +1 -1
- package/dist/translations/en-gb.js +1 -1
- package/dist/translations/en-gb.umd.js +1 -1
- package/dist/translations/en.js +1 -1
- package/dist/translations/en.umd.js +1 -1
- package/dist/translations/eo.js +1 -1
- package/dist/translations/eo.umd.js +1 -1
- package/dist/translations/es-co.js +1 -1
- package/dist/translations/es-co.umd.js +1 -1
- package/dist/translations/es.js +1 -1
- package/dist/translations/es.umd.js +1 -1
- package/dist/translations/et.js +1 -1
- package/dist/translations/et.umd.js +1 -1
- package/dist/translations/eu.js +1 -1
- package/dist/translations/eu.umd.js +1 -1
- package/dist/translations/fa.js +1 -1
- package/dist/translations/fa.umd.js +1 -1
- package/dist/translations/fi.js +1 -1
- package/dist/translations/fi.umd.js +1 -1
- package/dist/translations/fr.js +1 -1
- package/dist/translations/fr.umd.js +1 -1
- package/dist/translations/gl.js +1 -1
- package/dist/translations/gl.umd.js +1 -1
- package/dist/translations/gu.js +1 -1
- package/dist/translations/gu.umd.js +1 -1
- package/dist/translations/he.js +1 -1
- package/dist/translations/he.umd.js +1 -1
- package/dist/translations/hi.js +1 -1
- package/dist/translations/hi.umd.js +1 -1
- package/dist/translations/hr.js +1 -1
- package/dist/translations/hr.umd.js +1 -1
- package/dist/translations/hu.js +1 -1
- package/dist/translations/hu.umd.js +1 -1
- package/dist/translations/hy.js +1 -1
- package/dist/translations/hy.umd.js +1 -1
- package/dist/translations/id.js +1 -1
- package/dist/translations/id.umd.js +1 -1
- package/dist/translations/it.js +1 -1
- package/dist/translations/it.umd.js +1 -1
- package/dist/translations/ja.js +1 -1
- package/dist/translations/ja.umd.js +1 -1
- package/dist/translations/jv.js +1 -1
- package/dist/translations/jv.umd.js +1 -1
- package/dist/translations/kk.js +1 -1
- package/dist/translations/kk.umd.js +1 -1
- package/dist/translations/km.js +1 -1
- package/dist/translations/km.umd.js +1 -1
- package/dist/translations/kn.js +1 -1
- package/dist/translations/kn.umd.js +1 -1
- package/dist/translations/ko.js +1 -1
- package/dist/translations/ko.umd.js +1 -1
- package/dist/translations/ku.js +1 -1
- package/dist/translations/ku.umd.js +1 -1
- package/dist/translations/lt.js +1 -1
- package/dist/translations/lt.umd.js +1 -1
- package/dist/translations/lv.js +1 -1
- package/dist/translations/lv.umd.js +1 -1
- package/dist/translations/ms.js +1 -1
- package/dist/translations/ms.umd.js +1 -1
- package/dist/translations/nb.js +1 -1
- package/dist/translations/nb.umd.js +1 -1
- package/dist/translations/ne.js +1 -1
- package/dist/translations/ne.umd.js +1 -1
- package/dist/translations/nl.js +1 -1
- package/dist/translations/nl.umd.js +1 -1
- package/dist/translations/no.js +1 -1
- package/dist/translations/no.umd.js +1 -1
- package/dist/translations/oc.js +1 -1
- package/dist/translations/oc.umd.js +1 -1
- package/dist/translations/pl.js +1 -1
- package/dist/translations/pl.umd.js +1 -1
- package/dist/translations/pt-br.js +1 -1
- package/dist/translations/pt-br.umd.js +1 -1
- package/dist/translations/pt.js +1 -1
- package/dist/translations/pt.umd.js +1 -1
- package/dist/translations/ro.js +1 -1
- package/dist/translations/ro.umd.js +1 -1
- package/dist/translations/ru.js +1 -1
- package/dist/translations/ru.umd.js +1 -1
- package/dist/translations/si.js +1 -1
- package/dist/translations/si.umd.js +1 -1
- package/dist/translations/sk.js +1 -1
- package/dist/translations/sk.umd.js +1 -1
- package/dist/translations/sl.js +1 -1
- package/dist/translations/sl.umd.js +1 -1
- package/dist/translations/sq.js +1 -1
- package/dist/translations/sq.umd.js +1 -1
- package/dist/translations/sr-latn.js +1 -1
- package/dist/translations/sr-latn.umd.js +1 -1
- package/dist/translations/sr.js +1 -1
- package/dist/translations/sr.umd.js +1 -1
- package/dist/translations/sv.js +1 -1
- package/dist/translations/sv.umd.js +1 -1
- package/dist/translations/th.js +1 -1
- package/dist/translations/th.umd.js +1 -1
- package/dist/translations/ti.js +1 -1
- package/dist/translations/ti.umd.js +1 -1
- package/dist/translations/tk.js +1 -1
- package/dist/translations/tk.umd.js +1 -1
- package/dist/translations/tr.js +1 -1
- package/dist/translations/tr.umd.js +1 -1
- package/dist/translations/tt.js +1 -1
- package/dist/translations/tt.umd.js +1 -1
- package/dist/translations/ug.js +1 -1
- package/dist/translations/ug.umd.js +1 -1
- package/dist/translations/uk.js +1 -1
- package/dist/translations/uk.umd.js +1 -1
- package/dist/translations/ur.js +1 -1
- package/dist/translations/ur.umd.js +1 -1
- package/dist/translations/uz.js +1 -1
- package/dist/translations/uz.umd.js +1 -1
- package/dist/translations/vi.js +1 -1
- package/dist/translations/vi.umd.js +1 -1
- package/dist/translations/zh-cn.js +1 -1
- package/dist/translations/zh-cn.umd.js +1 -1
- package/dist/translations/zh.js +1 -1
- package/dist/translations/zh.umd.js +1 -1
- package/package.json +14 -14
- package/src/common-translations.js +1 -1
- package/src/index.js +1 -1
- package/src/presencelist/presencelistui.js +1 -1
- package/src/presencelist/view/presencecounterview.js +1 -1
- package/src/presencelist/view/presencedropdownlistitemview.js +1 -1
- package/src/presencelist/view/presencedropdownlistview.js +1 -1
- package/src/presencelist/view/presenceinlinelistitemview.js +1 -1
- package/src/presencelist/view/presenceinlinelistview.js +1 -1
- package/src/presencelist/view/presencelistview.js +1 -1
- package/src/presencelist.js +1 -1
- package/src/realtimecollaborativecomments/cloudservicescommentsadapter.js +2 -2
- package/src/realtimecollaborativecomments.js +1 -1
- package/src/realtimecollaborativeediting/realtimecollaborationclient.js +2 -2
- package/src/realtimecollaborativeediting/sessions.js +1 -1
- package/src/realtimecollaborativeediting/usermarkers.js +1 -1
- package/src/realtimecollaborativeediting/websocketgateway.js +2 -2
- package/src/realtimecollaborativeediting.js +1 -1
- package/src/realtimecollaborativerevisionhistory/cloudservicesrevisionhistoryadapter.js +2 -2
- package/src/realtimecollaborativerevisionhistory.js +1 -1
- package/src/realtimecollaborativetrackchanges/cloudservicestrackchangesadapter.js +2 -2
- package/src/realtimecollaborativetrackchanges.js +1 -1
|
@@ -20,5 +20,5 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
|
|
24
|
-
((()=>
|
|
23
|
+
function _0xb331(){const _0x3ec140=['get','all','function','WebSocketGateway','Connected\x20users\x20limit\x20exceeded','offline','connection','CloudServices','change:me','context','webSocketUrl','229057QNUfcK','requires','CONNECTING','then','websocketgateway-missing-token','_domEmitter','isOfficialPlugin','DISCONNECTED','76680gwZFZJ','state','925530zYMQfr','cloudservices-init','disconnect','init','online','delete','add','connect','has','real-time-collaboration','config','token','isPremiumPlugin','5874dpznsg','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.','from','limitExceeded','reconnect','initialReconnectionInterval','define','websocketgateway-plugin-already-registered','plugins','cloudServices.requestTimeout','pluginName','_isBrowserOffline','_reconnectionStack','error','showWarning','listenTo','websocketgateway-missing-websocket-url','CONNECTED','websocketgateway-invalid-plugin-interface','18024KfJfIp','1671102HzvPAw','_shouldPluginsReconnect','3jYvRzO','code','10xlBwWS','addToReconnectionStack','connected','cloudServices.connectionTimeout','_reconnect','destroy','isInReconnectionStack','removeFromReconnectionStack','bind','cloudservices-reconnection-error','constructor','stopListening','catch','set','371AKluaW','419402jDyVOG'];_0xb331=function(){return _0x3ec140;};return _0xb331();}const _0x55bc26=_0x5715;(function(_0x40424e,_0x433b35){const _0x278e97=_0x5715,_0x224bf8=_0x40424e();while(!![]){try{const _0x34397b=parseInt(_0x278e97(0x162))/0x1+-parseInt(_0x278e97(0x1a0))/0x2*(parseInt(_0x278e97(0x18f))/0x3)+-parseInt(_0x278e97(0x16a))/0x4+-parseInt(_0x278e97(0x16c))/0x5+-parseInt(_0x278e97(0x179))/0x6+-parseInt(_0x278e97(0x19f))/0x7*(-parseInt(_0x278e97(0x18c))/0x8)+-parseInt(_0x278e97(0x18d))/0x9*(-parseInt(_0x278e97(0x191))/0xa);if(_0x34397b===_0x433b35)break;else _0x224bf8['push'](_0x224bf8['shift']());}catch(_0x1499aa){_0x224bf8['push'](_0x224bf8['shift']());}}}(_0xb331,0x1d194));import{ContextPlugin as _0x1d646d}from'ckeditor5/src/core.js';import{DomEmitterMixin as _0x416319,CKEditorError as _0xe5e535}from'ckeditor5/src/utils.js';import{WebSocketGateway as _0x3ebca3,WEB_SOCKET_GATEWAY_STATES as _0x37598f}from'@ckeditor/ckeditor-cloud-services-collaboration/src/services.js';function _0x5715(_0x390321,_0x11321c){const _0xb331c=_0xb331();return _0x5715=function(_0x5715e7,_0x47c7bb){_0x5715e7=_0x5715e7-0x162;let _0x292e74=_0xb331c[_0x5715e7];return _0x292e74;},_0x5715(_0x390321,_0x11321c);}import{Notification as _0x393fb9}from'ckeditor5/src/ui.js';export class WebSocketGateway extends _0x1d646d{static [_0x55bc26(0x1a4)]=/* #__PURE__ -- @preserve */
|
|
24
|
+
((()=>_0x3ebca3)());static [_0x55bc26(0x17e)]=0x3e8;[_0x55bc26(0x1a7)];[_0x55bc26(0x185)];[_0x55bc26(0x18e)];[_0x55bc26(0x167)];static get[_0x55bc26(0x163)](){const _0x34d709=_0x55bc26;return[_0x34d709(0x1a8),_0x393fb9];}static get[_0x55bc26(0x183)](){const _0x11068d=_0x55bc26;return _0x11068d(0x1a4);}static get[_0x55bc26(0x168)](){return!0x0;}static get[_0x55bc26(0x178)](){return!0x0;}constructor(_0x6e0eb8){const _0x492db0=_0x55bc26;super(_0x6e0eb8),this[_0x492db0(0x19e)](_0x492db0(0x16b),_0x37598f[_0x492db0(0x18a)]),this[_0x492db0(0x19e)](_0x492db0(0x184),!0x1),this[_0x492db0(0x185)]=new Set(),this[_0x492db0(0x18e)]=!0x1,this[_0x492db0(0x167)]=new(_0x416319())();}[_0x55bc26(0x16f)](){const _0x4af316=_0x55bc26,_0x3e0eba=this[_0x4af316(0x1aa)],_0x3b2590=_0x3e0eba[_0x4af316(0x181)][_0x4af316(0x1a1)](_0x4af316(0x1a8)),_0x33d205=_0x3e0eba[_0x4af316(0x181)][_0x4af316(0x1a1)](_0x393fb9);if(!_0x3b2590[_0x4af316(0x177)])throw new _0xe5e535(_0x4af316(0x166),this);if(!_0x3b2590[_0x4af316(0x1ab)])throw new _0xe5e535(_0x4af316(0x189),this);return this[_0x4af316(0x167)][_0x4af316(0x188)](window,_0x4af316(0x1a6),()=>this[_0x4af316(0x184)]=!0x0),this[_0x4af316(0x167)][_0x4af316(0x188)](window,_0x4af316(0x170),()=>this[_0x4af316(0x184)]=!0x1),this[_0x4af316(0x1aa)][_0x4af316(0x176)][_0x4af316(0x17f)](_0x4af316(0x194),0xa),this[_0x4af316(0x1aa)][_0x4af316(0x176)][_0x4af316(0x17f)](_0x4af316(0x182),0x14),WebSocketGateway[_0x4af316(0x1a4)][_0x4af316(0x173)](_0x3b2590[_0x4af316(0x177)],_0x3b2590[_0x4af316(0x1ab)],{'timeout':0x3e8*this[_0x4af316(0x1aa)][_0x4af316(0x176)][_0x4af316(0x1a1)](_0x4af316(0x194)),'requestTimeout':0x3e8*this[_0x4af316(0x1aa)][_0x4af316(0x176)][_0x4af316(0x1a1)](_0x4af316(0x182))})[_0x4af316(0x165)](_0x47a318=>{const _0x45f7bc=_0x4af316;if(this[_0x45f7bc(0x1a7)]=_0x47a318,this[_0x45f7bc(0x199)](_0x45f7bc(0x16b))['to'](_0x47a318,_0x45f7bc(0x16b),this,_0x45f7bc(0x184),(_0x652b54,_0x4b795e)=>(_0x45f7bc(0x193)!==_0x652b54&&(this[_0x45f7bc(0x18e)]=!0x0),_0x4b795e||_0x652b54!==_0x37598f[_0x45f7bc(0x18a)]?_0x37598f[_0x45f7bc(0x169)]:this[_0x45f7bc(0x16b)]==_0x37598f[_0x45f7bc(0x169)]&&this[_0x45f7bc(0x18e)]?(this[_0x45f7bc(0x18e)]=!0x1,this[_0x45f7bc(0x195)](),_0x37598f[_0x45f7bc(0x164)]):_0x37598f[_0x45f7bc(0x18a)])),this[_0x45f7bc(0x1a7)]['on'](_0x45f7bc(0x186),(_0x53b8db,_0x4a1c56)=>{const _0x9ff869=_0x45f7bc;if(_0x9ff869(0x17c)!==_0x4a1c56[_0x9ff869(0x190)])throw console[_0x9ff869(0x186)](_0x4a1c56),new _0xe5e535(_0x9ff869(0x16d),null,{'originalError':_0x4a1c56});_0x33d205[_0x9ff869(0x187)](_0x9ff869(0x17a),{'title':_0x9ff869(0x1a5),'namespace':_0x9ff869(0x175)});}),!_0x47a318['me'])return new Promise(_0x23f8b5=>_0x47a318['on'](_0x45f7bc(0x1a9),_0x23f8b5));})[_0x4af316(0x19d)](_0x3d6b6d=>{const _0x3dbff7=_0x4af316;throw console[_0x3dbff7(0x186)](_0x3d6b6d),new _0xe5e535(_0x3dbff7(0x16d),null,{'originalError':_0x3d6b6d});});}[_0x55bc26(0x192)](_0x5bde1a){const _0x44a954=_0x55bc26;if(_0x44a954(0x1a3)!=typeof _0x5bde1a[_0x44a954(0x17d)])throw new _0xe5e535(_0x44a954(0x18b),this);if(this[_0x44a954(0x197)](_0x5bde1a))throw new _0xe5e535(_0x44a954(0x180),this,{'name':_0x5bde1a[_0x44a954(0x19b)][_0x44a954(0x183)]});this[_0x44a954(0x185)][_0x44a954(0x172)](_0x5bde1a);}[_0x55bc26(0x198)](_0x1d6003){const _0x3c3abe=_0x55bc26;this[_0x3c3abe(0x185)][_0x3c3abe(0x171)](_0x1d6003);}[_0x55bc26(0x197)](_0x3a9a80){const _0x52e4bf=_0x55bc26;return this[_0x52e4bf(0x185)][_0x52e4bf(0x174)](_0x3a9a80);}[_0x55bc26(0x195)](){const _0x293d99=_0x55bc26;return this[_0x293d99(0x1a7)][_0x293d99(0x17d)]()[_0x293d99(0x165)](()=>Promise[_0x293d99(0x1a2)](Array[_0x293d99(0x17b)](this[_0x293d99(0x185)],_0x464896=>_0x464896[_0x293d99(0x17d)]())))[_0x293d99(0x165)](()=>this[_0x293d99(0x16b)]=_0x37598f[_0x293d99(0x18a)])[_0x293d99(0x19d)](_0x41b940=>{const _0x5023e1=_0x293d99;throw console[_0x5023e1(0x186)](_0x41b940),new _0xe5e535(_0x5023e1(0x19a),this[_0x5023e1(0x1aa)]);});}[_0x55bc26(0x16e)](){const _0x5dd868=_0x55bc26;this[_0x5dd868(0x1a7)]&&this[_0x5dd868(0x1a7)][_0x5dd868(0x16e)](),this[_0x5dd868(0x16b)]=_0x37598f[_0x5dd868(0x169)],this[_0x5dd868(0x167)][_0x5dd868(0x19c)]();}[_0x55bc26(0x196)](){const _0x22ff9f=_0x55bc26;this[_0x22ff9f(0x16e)](),super[_0x22ff9f(0x196)]();}}
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
var
|
|
23
|
+
var _0x2aa45b=_0x5b39;(function(_0x455545,_0x3302bf){var _0x1ac5fc=_0x5b39,_0x5160a4=_0x455545();while(!![]){try{var _0x552f19=parseInt(_0x1ac5fc(0x80))/0x1+parseInt(_0x1ac5fc(0x8d))/0x2*(-parseInt(_0x1ac5fc(0x89))/0x3)+parseInt(_0x1ac5fc(0x84))/0x4+-parseInt(_0x1ac5fc(0x85))/0x5+-parseInt(_0x1ac5fc(0x8f))/0x6*(parseInt(_0x1ac5fc(0x87))/0x7)+-parseInt(_0x1ac5fc(0x8c))/0x8*(parseInt(_0x1ac5fc(0x8e))/0x9)+parseInt(_0x1ac5fc(0x88))/0xa*(parseInt(_0x1ac5fc(0x86))/0xb);if(_0x552f19===_0x3302bf)break;else _0x5160a4['push'](_0x5160a4['shift']());}catch(_0x58ba8c){_0x5160a4['push'](_0x5160a4['shift']());}}}(_0x14d9,0x35fad));import{Plugin as _0x589f24}from'ckeditor5/src/core.js';import{RealTimeCollaborationClient as _0x4cefef}from'./realtimecollaborativeediting/realtimecollaborationclient.js';function _0x5b39(_0xb4406c,_0xe6cff7){var _0x14d930=_0x14d9();return _0x5b39=function(_0x5b3918,_0xe312f8){_0x5b3918=_0x5b3918-0x80;var _0x5a8582=_0x14d930[_0x5b3918];return _0x5a8582;},_0x5b39(_0xb4406c,_0xe6cff7);}export class RealTimeCollaborativeEditing extends _0x589f24{static get[_0x2aa45b(0x81)](){return[_0x4cefef];}static get[_0x2aa45b(0x8b)](){var _0x53a8e1=_0x2aa45b;return _0x53a8e1(0x82);}static get[_0x2aa45b(0x83)](){return!0x0;}static get[_0x2aa45b(0x8a)](){return!0x0;}}function _0x14d9(){var _0x22168f=['396XUvOyX','1097131iiGeVA','156810MbYpwv','6gCVMby','isPremiumPlugin','pluginName','466744eRzdGH','47642occLjN','36zHMhsg','6dNpusH','52904mTEqHL','requires','RealTimeCollaborativeEditing','isOfficialPlugin','264308nJDuUP','123245QSgKmp'];_0x14d9=function(){return _0x22168f;};return _0x14d9();}
|
|
@@ -20,5 +20,5 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
|
|
24
|
-
((()=>_0x400b43)());[_0x45743e(0x131)];[_0x45743e(0x117)];[_0x45743e(0x162)];[_0x45743e(0x166)];static get[_0x45743e(0x175)](){const _0x4cfcfe=_0x45743e;return[_0x1f6cad,_0x149cc8,_0x4cfcfe(0x177),_0xbb25e2,_0x4ad3e8];}static get[_0x45743e(0x140)](){const _0x47e6c3=_0x45743e;return _0x47e6c3(0x13b);}static get[_0x45743e(0x138)](){return!0x0;}static get[_0x45743e(0x151)](){return!0x0;}constructor(_0x4d368a){const _0x3e8453=_0x45743e;super(_0x4d368a);const _0x4c9b58=this[_0x3e8453(0x180)][_0x3e8453(0x14b)][_0x3e8453(0x17b)](_0x3e8453(0x126));this[_0x3e8453(0x131)]=null,this[_0x3e8453(0x117)]=this[_0x3e8453(0x180)][_0x3e8453(0x155)][_0x3e8453(0x17b)](_0x3e8453(0x135)),this[_0x3e8453(0x162)]=new CloudServicesRevisionHistoryAdapter[(_0x3e8453(0x170))](_0x4c9b58);}async[_0x45743e(0x122)](){const _0x7baa61=_0x45743e,_0x419a53=this[_0x7baa61(0x180)][_0x7baa61(0x155)][_0x7baa61(0x17b)](_0x149cc8),_0x161d1f=_0x419a53[_0x7baa61(0x116)],_0x12e09a=this[_0x7baa61(0x180)][_0x7baa61(0x155)][_0x7baa61(0x17b)](_0x1f6cad);this[_0x7baa61(0x117)][_0x7baa61(0x153)]({'history':_0x161d1f,'getLatestVersion':()=>this[_0x7baa61(0x119)](),'getCurrentRevisionId':()=>_0x419a53[_0x7baa61(0x143)]});const _0x368abd=this[_0x7baa61(0x180)][_0x7baa61(0x14b)][_0x7baa61(0x17b)](_0x7baa61(0x144))||_0x81cf1b,_0x4d8ded=await _0x1e35b9[_0x7baa61(0x173)](_0x12e09a[_0x7baa61(0x139)],_0x368abd);this[_0x7baa61(0x180)][_0x7baa61(0x155)][_0x7baa61(0x17b)](_0x7baa61(0x177))[_0x7baa61(0x150)]={'getRevision':async({revisionId:_0x2917e2})=>(await this[_0x7baa61(0x136)](),await this[_0x7baa61(0x162)][_0x7baa61(0x164)](_0x2917e2)),'updateRevisions':async _0x2b1f0e=>{const _0x3e30e0=_0x7baa61;await this[_0x3e30e0(0x136)]();const _0x5d1153=this[_0x3e30e0(0x117)][_0x3e30e0(0x14e)];if(_0x4d8ded&&0x1===_0x2b1f0e[_0x3e30e0(0x157)]&&_0x2b1f0e[0x0]['id']===_0x5d1153['id'])return _0x2b1f0e;for(const _0x371a1b of _0x2b1f0e)_0x371a1b['id']===_0x5d1153['id']&&(_0x371a1b[_0x3e30e0(0x132)]=_0x371a1b[_0x3e30e0(0x158)]===_0x371a1b[_0x3e30e0(0x17e)]);return this[_0x3e30e0(0x162)][_0x3e30e0(0x120)](_0x2b1f0e,this[_0x3e30e0(0x131)])[_0x3e30e0(0x11f)](_0x260b03=>(this[_0x3e30e0(0x131)]=_0x260b03,_0x2b1f0e))[_0x3e30e0(0x17f)](_0x2470af=>{const _0x2e7fde=_0x3e30e0;if(I(_0x2470af)||_0x2e7fde(0x12e)===_0x2470af[_0x2e7fde(0x11b)]&&void 0x0!==_0x2470af[_0x2e7fde(0x184)][_0x2e7fde(0x121)]){for(const _0x67bffb of _0x2b1f0e){!this[_0x2e7fde(0x117)][_0x2e7fde(0x142)][_0x2e7fde(0x164)](_0x67bffb['id'])||this[_0x2e7fde(0x117)][_0x2e7fde(0x12a)](_0x67bffb['id'],_0x67bffb,!0x1);}if(I(_0x2470af))throw _0x2470af;return _0x2b1f0e;}throw _0x2470af;});}},this[_0x7baa61(0x13c)](this[_0x7baa61(0x162)],_0x7baa61(0x15e),(_0x1a9cd3,{revisionsData:_0x105e74,requestId:_0x32ab9d})=>{const _0x5badcc=_0x7baa61;Math[_0x5badcc(0x134)](..._0x105e74[_0x5badcc(0x161)](_0x4e9d4b=>_0x4e9d4b[_0x5badcc(0x17e)]))>this[_0x5badcc(0x13e)]()-0x1?this[_0x5badcc(0x119)]()[_0x5badcc(0x11f)](()=>{const _0x4466d8=_0x5badcc;this[_0x4466d8(0x11a)](_0x105e74,_0x32ab9d);}):this[_0x5badcc(0x11a)](_0x105e74,_0x32ab9d);});const {revisions:_0x24ce51,requestId:_0x516373}=await this[_0x7baa61(0x162)][_0x7baa61(0x12f)](_0x12e09a[_0x7baa61(0x139)]);_0x12e09a[_0x7baa61(0x17a)](this),this[_0x7baa61(0x131)]=_0x516373,await this[_0x7baa61(0x148)](_0x24ce51);for(const _0x882b4b of _0x24ce51)this[_0x7baa61(0x117)][_0x7baa61(0x17d)](_0x882b4b);this[_0x7baa61(0x13c)](_0x419a53,_0x7baa61(0x123),(_0x522f36,_0x1f23dc,_0x19643c)=>{const _0x3befbf=_0x7baa61;_0x19643c&&(this[_0x3befbf(0x166)]=_0x419a53[_0x3befbf(0x16d)],_0x522f36[_0x3befbf(0x13f)]());}),this[_0x7baa61(0x117)][_0x7baa61(0x16f)](_0x7baa61(0x168))['to'](_0x12e09a,_0x7baa61(0x12b),_0x1a5f2c=>_0x1a5f2c===_0x29c495[_0x7baa61(0x145)]);}async[_0x45743e(0x183)](){const _0x2e0efc=_0x45743e,_0x30f9f1=this[_0x2e0efc(0x180)][_0x2e0efc(0x155)][_0x2e0efc(0x17b)](_0x1f6cad),_0x3f4960=this[_0x2e0efc(0x180)][_0x2e0efc(0x155)][_0x2e0efc(0x17b)](_0x149cc8),_0xfb522a=async()=>{const _0x3ee51c=_0x2e0efc,_0x5d6255=this[_0x3ee51c(0x117)][_0x3ee51c(0x14e)],_0x49dfee=_0x5d6255['id'],_0x4c2a13=_0x49dfee!==_0x3f4960[_0x3ee51c(0x143)];if(_0x4c2a13){const _0x272c4f=_0x3f4960[_0x3ee51c(0x16d)]-this[_0x3ee51c(0x166)],_0x503d2f=this[_0x3ee51c(0x13e)]();this[_0x3ee51c(0x117)][_0x3ee51c(0x16e)][_0x3ee51c(0x15c)]();if(_0x5d6255[_0x3ee51c(0x17e)]+_0x272c4f!==_0x503d2f){const _0x329ecb=_0x5d6255[_0x3ee51c(0x158)]+_0x272c4f,_0x516956=this[_0x3ee51c(0x180)][_0x3ee51c(0x155)][_0x3ee51c(0x17b)](_0x4ad3e8),_0x9eaaa=this[_0x3ee51c(0x117)][_0x3ee51c(0x146)]({'revision':_0x5d6255,'from':_0x329ecb,'to':_0x503d2f});_0x9eaaa['id']=_0x5d6255['id'];const _0x275c7b=_0x9eaaa[_0x3ee51c(0x169)][_0x3ee51c(0x161)](_0x1586af=>_0x516956[_0x3ee51c(0x179)](_0x1586af));_0x5d6255[_0x3ee51c(0x15f)]({..._0x9eaaa,'authors':_0x275c7b},!0x0),this[_0x3ee51c(0x117)][_0x3ee51c(0x12a)](_0x5d6255['id'],_0x9eaaa,!0x0);}this[_0x3ee51c(0x117)][_0x3ee51c(0x156)]=_0x503d2f,(_0x5d6255[_0x3ee51c(0x17e)]===_0x5d6255[_0x3ee51c(0x158)]&&!this[_0x3ee51c(0x117)][_0x3ee51c(0x181)][_0x3ee51c(0x154)](_0x49dfee)&&this[_0x3ee51c(0x117)][_0x3ee51c(0x142)][_0x3ee51c(0x186)][_0x3ee51c(0x16c)](_0x49dfee),this[_0x3ee51c(0x117)][_0x3ee51c(0x147)](_0x503d2f));}const {revisions:_0x371a5c,requestId:_0x13fa6e}=await this[_0x3ee51c(0x162)][_0x3ee51c(0x183)](_0x30f9f1[_0x3ee51c(0x139)],this[_0x3ee51c(0x131)]);_0x4c2a13&&_0x371a5c[_0x3ee51c(0x157)]>0x0?_0x3f4960[_0x3ee51c(0x14a)]():(await this[_0x3ee51c(0x148)](_0x371a5c),this[_0x3ee51c(0x11a)](_0x371a5c,_0x13fa6e),this[_0x3ee51c(0x117)][_0x3ee51c(0x127)]());};return _0x3f4960[_0x2e0efc(0x16a)]?_0xfb522a():new Promise((_0x266fd6,_0x8163cb)=>{const _0x53f26e=_0x2e0efc;_0x3f4960[_0x53f26e(0x13a)](_0x53f26e(0x123),()=>{const _0x20e915=_0x53f26e;_0xfb522a()[_0x20e915(0x11f)](_0x266fd6)[_0x20e915(0x17f)](_0x8163cb);});});}[_0x45743e(0x159)](){const _0xf118b1=_0x45743e;super[_0xf118b1(0x159)]();}async[_0x45743e(0x136)](){const _0x43e998=_0x45743e;this[_0x43e998(0x162)][_0x43e998(0x14c)]||await new Promise(_0x87e8ad=>{const _0x14b9c1=_0x43e998;this[_0x14b9c1(0x13c)](this[_0x14b9c1(0x162)],_0x14b9c1(0x160),_0x1f67c4=>{const _0x1d7a87=_0x14b9c1;_0x1f67c4[_0x1d7a87(0x13f)](),_0x87e8ad();});});}[_0x45743e(0x13e)](){const _0x57446d=_0x45743e,_0x595070=this[_0x57446d(0x180)][_0x57446d(0x155)][_0x57446d(0x17b)](_0x149cc8)[_0x57446d(0x116)][_0x57446d(0x118)]()[_0x57446d(0x11e)]();for(const _0x4b85fb of _0x595070)if(_0x57446d(0x13d)!==_0x4b85fb[_0x57446d(0x141)]||_0x4b85fb[_0x57446d(0x11d)])return _0x4b85fb[_0x57446d(0x185)]+0x1;}[_0x45743e(0x119)](){const _0x121f8e=_0x45743e,_0x1c4933=this[_0x121f8e(0x180)][_0x121f8e(0x155)][_0x121f8e(0x17b)](_0x149cc8);return new Promise(_0x1e1a2d=>{const _0xbcb284=_0x121f8e;_0x1c4933[_0xbcb284(0x188)]?_0x1c4933[_0xbcb284(0x13a)](_0xbcb284(0x11c),()=>{const _0x133c86=_0xbcb284;_0x1e1a2d(this[_0x133c86(0x13e)]());}):_0x1e1a2d(this[_0xbcb284(0x13e)]());});}[_0x45743e(0x11a)](_0x15c720,_0x1b1b98){const _0x1045e5=_0x45743e,_0x1fa2ee=this[_0x1045e5(0x117)][_0x1045e5(0x142)];this[_0x1045e5(0x131)]=_0x1b1b98;for(const _0x1b9a94 of _0x15c720){const _0x49e8d3=_0x1fa2ee[_0x1045e5(0x164)](_0x1b9a94['id']);if(_0x49e8d3){if((_0x1b9a94[_0x1045e5(0x158)]||_0x1b9a94[_0x1045e5(0x17e)])&&(_0x1b9a94[_0x1045e5(0x128)]=null),_0x49e8d3===this[_0x1045e5(0x117)][_0x1045e5(0x14e)]){const _0x368b64=Math[_0x1045e5(0x134)](_0x49e8d3[_0x1045e5(0x17e)],_0x1b9a94[_0x1045e5(0x17e)]),_0x2e43a7=Math[_0x1045e5(0x134)](_0x49e8d3[_0x1045e5(0x158)],_0x1b9a94[_0x1045e5(0x158)]);let _0x567643;_0x49e8d3[_0x1045e5(0x17e)]===_0x1b9a94[_0x1045e5(0x17e)]&&_0x49e8d3[_0x1045e5(0x158)]===_0x1b9a94[_0x1045e5(0x158)]?(_0x567643=!0x0,this[_0x1045e5(0x165)](_0x1b9a94)):_0x1b9a94[_0x1045e5(0x17e)]===_0x368b64&&_0x1b9a94[_0x1045e5(0x158)]===_0x2e43a7?_0x567643=!0x1:(_0x49e8d3[_0x1045e5(0x17e)]===_0x368b64&&_0x49e8d3[_0x1045e5(0x158)]===_0x2e43a7||this[_0x1045e5(0x171)]({'revision':_0x49e8d3,'from':_0x2e43a7,'to':_0x368b64}),_0x567643=!0x0),_0x567643&&(delete _0x1b9a94[_0x1045e5(0x158)],delete _0x1b9a94[_0x1045e5(0x17e)],delete _0x1b9a94[_0x1045e5(0x128)],delete _0x1b9a94[_0x1045e5(0x17c)],delete _0x1b9a94[_0x1045e5(0x169)]);}this[_0x1045e5(0x117)][_0x1045e5(0x125)](_0x1b9a94),this[_0x1045e5(0x165)](_0x1b9a94);}else this[_0x1045e5(0x117)][_0x1045e5(0x17d)](_0x1b9a94);}const _0x2277c4=_0x1fa2ee[_0x1045e5(0x15d)]();_0x2277c4[_0x1045e5(0x11e)]();for(let _0x4fc3f8=0x0;_0x4fc3f8<_0x2277c4[_0x1045e5(0x157)]-0x1;_0x4fc3f8++){const _0x189840=_0x2277c4[_0x4fc3f8],_0x370e1e=_0x2277c4[_0x4fc3f8+0x1];if(_0x189840[_0x1045e5(0x158)]<_0x370e1e[_0x1045e5(0x17e)]){const _0x22bcff=_0x370e1e[_0x1045e5(0x17e)],_0x3b1c12=Math[_0x1045e5(0x134)](_0x22bcff,_0x189840[_0x1045e5(0x17e)]);this[_0x1045e5(0x171)]({'revision':_0x189840,'from':_0x22bcff,'to':_0x3b1c12});}}}[_0x45743e(0x171)]({revision:_0x12aadf,from:_0x5a6b3e,to:_0x4acc7a}={}){const _0x243726=_0x45743e,_0x40c053=this[_0x243726(0x180)][_0x243726(0x155)][_0x243726(0x17b)](_0x4ad3e8),_0x324a35=this[_0x243726(0x117)][_0x243726(0x146)]({'revision':_0x12aadf,'from':_0x5a6b3e,'to':_0x4acc7a});_0x324a35[_0x243726(0x129)]=_0x324a35[_0x243726(0x169)][_0x243726(0x161)](_0x169d1a=>_0x40c053[_0x243726(0x179)](_0x169d1a)),_0x12aadf[_0x243726(0x15f)](_0x324a35);}[_0x45743e(0x165)](_0xb3b5e9){const _0x321405=_0x45743e,_0x1d17d8={};_0x1d17d8['id']=_0xb3b5e9['id'];for(const _0x306c35 of Object[_0x321405(0x174)](_0xb3b5e9))'id'!==_0x306c35&&(_0x1d17d8[_0x306c35]=void 0x0);this[_0x321405(0x117)][_0x321405(0x12a)](_0x1d17d8['id'],_0x1d17d8,!0x0);}async[_0x45743e(0x148)](_0x2d15fc){const _0x595c83=_0x45743e,_0x4356ed=this[_0x595c83(0x180)][_0x595c83(0x155)][_0x595c83(0x17b)](_0x4ad3e8),{connection:_0x4055b9}=this[_0x595c83(0x180)][_0x595c83(0x155)][_0x595c83(0x17b)](_0x1f6cad),_0x43aa7b=new Set();for(const _0x15f976 of _0x2d15fc){for(const _0x47fcdb of _0x15f976[_0x595c83(0x169)])_0x4b0c65(_0x47fcdb);_0x15f976[_0x595c83(0x176)]&&_0x4b0c65(_0x15f976[_0x595c83(0x176)]);}if(0x0===_0x43aa7b[_0x595c83(0x15b)])return;const _0x4b4059=await _0x353e48[_0x595c83(0x12c)](_0x4055b9,Array[_0x595c83(0x182)](_0x43aa7b));for(const _0x13de86 of _0x4b4059)_0x4356ed[_0x595c83(0x179)](_0x13de86['id'])||_0x4356ed[_0x595c83(0x137)](_0x13de86);function _0x4b0c65(_0x216e3f){const _0x1a7468=_0x595c83;_0x4356ed[_0x1a7468(0x179)](_0x216e3f)||_0x43aa7b[_0x1a7468(0x167)](_0x216e3f);}}}function I(_0x5666d7){const _0x2faeb4=_0x45743e;return _0x5666d7[_0x2faeb4(0x149)][_0x2faeb4(0x124)](_0x2faeb4(0x187))||_0x5666d7[_0x2faeb4(0x149)][_0x2faeb4(0x124)](_0x2faeb4(0x178))||_0x5666d7[_0x2faeb4(0x149)][_0x2faeb4(0x124)](_0x2faeb4(0x12d));}
|
|
23
|
+
function _0x29a2(){const _0x3ec52e=['fromVersion','state','_getLatestVersionFromServerOperations','3195wVrdkr','addRevisionData','getRevisions','sessionId','7161064HRbqnf','reconnect','getUser','RevisionHistoryService','collaboration.channelId','catch','_lastRequestId','type','change:_isConnected','bind','_isConnected','authorsIds','authors','currentRevision','617736bpDAjT','code','buildRevisionData','creatorId','setRevisionData','_createCurrentRevision','_bufferUpdate','plugins','length','has','data','destroy','4RSrWCo','3243185XYgMvb','getOperations','sendBufferedUpdates','get','reverse','_revisionDataBuilder','450VyAaWp','4653725wDDcjB','repository','add','map','once','change:_isPendingUpdate','_startingVersion','cloud-services-internal-error:\x20Revision\x20History\x20Service\x20is\x20not\x20connected.','from','46ZsCPOj','cloud-services-internal-error:\x20Request\x20timeout.','isEmptyCurrent','_offset','getRevision','reInit','cloudServices.bundleVersion','7815798NNkclX','serverHistory','then','isOfficialPlugin','size','_bufferedUpdates','cloud-services-internal-error:\x20Not\x20connected.','connect','max','pluginName','isBundleUploaded','startsWith','400','addUser','remove','connection','2905Evxkdm','10ICzWQm','CloudServicesRevisionHistoryAdapter','_revisionTracker','message','_revisionHistoryService','_update','wrongRequestId','isConnected','_fetchMissingUsers','off','diffData','affectsData','init','isPremiumPlugin','revisionsUpdated','requires','keys','_revisions','_waitForServiceReady','baseVersion','isEnabled','_handleRevisionsUpdate','addToReconnectionStack','marker','RevisionHistory','RevisionTracker','_fixRevision','_isPendingUpdate','toVersion','setSource','getMany','_oldOffset','_getLatestVersion','listenTo','updateRevisions','editor','_preventResendingRevisionData','CONNECTED','config','adapter','createdAt','_handleReconnectionError','connected'];_0x29a2=function(){return _0x3ec52e;};return _0x29a2();}const _0x4058f0=_0x3805;function _0x3805(_0x2f49cf,_0x106b1c){const _0x29a2be=_0x29a2();return _0x3805=function(_0x380528,_0x596b0c){_0x380528=_0x380528-0x1c8;let _0x57e78d=_0x29a2be[_0x380528];return _0x57e78d;},_0x3805(_0x2f49cf,_0x106b1c);}(function(_0x571df0,_0xeaf38f){const _0xfcdcc2=_0x3805,_0x344d37=_0x571df0();while(!![]){try{const _0xa3fdc7=-parseInt(_0xfcdcc2(0x21e))/0x1+parseInt(_0xfcdcc2(0x23b))/0x2*(-parseInt(_0xfcdcc2(0x20c))/0x3)+-parseInt(_0xfcdcc2(0x22a))/0x4*(parseInt(_0xfcdcc2(0x232))/0x5)+-parseInt(_0xfcdcc2(0x231))/0x6*(-parseInt(_0xfcdcc2(0x1dd))/0x7)+parseInt(_0xfcdcc2(0x210))/0x8+parseInt(_0xfcdcc2(0x1cd))/0x9+parseInt(_0xfcdcc2(0x1de))/0xa*(parseInt(_0xfcdcc2(0x22b))/0xb);if(_0xa3fdc7===_0xeaf38f)break;else _0x344d37['push'](_0x344d37['shift']());}catch(_0x210a96){_0x344d37['push'](_0x344d37['shift']());}}}(_0x29a2,0x7e1bb));import{Plugin as _0x3de946}from'ckeditor5/src/core.js';import{version as _0x241fe8}from'ckeditor5/src/utils.js';import{Users as _0x346552}from'ckeditor5-collaboration/src/collaboration-core.js';import{RealTimeCollaborationClient as _0x4cede7}from'../realtimecollaborativeediting/realtimecollaborationclient.js';import{WebSocketGateway as _0x3ef23c}from'../realtimecollaborativeediting/websocketgateway.js';import{Sessions as _0x149e97}from'../realtimecollaborativeediting/sessions.js';import{EditorService as _0x44e07c,RevisionHistoryService as _0x1a9840,User as _0x324642,WEB_SOCKET_GATEWAY_STATES as _0x248d21}from'@ckeditor/ckeditor-cloud-services-collaboration/src/services.js';export class CloudServicesRevisionHistoryAdapter extends _0x3de946{static [_0x4058f0(0x213)]=/* #__PURE__ -- @preserve */
|
|
24
|
+
((()=>_0x1a9840)());[_0x4058f0(0x216)];[_0x4058f0(0x1e0)];[_0x4058f0(0x1e2)];[_0x4058f0(0x1fd)];static get[_0x4058f0(0x1ed)](){const _0x19536c=_0x4058f0;return[_0x3ef23c,_0x4cede7,_0x19536c(0x1f6),_0x149e97,_0x346552];}static get[_0x4058f0(0x1d6)](){const _0x9ad328=_0x4058f0;return _0x9ad328(0x1df);}static get[_0x4058f0(0x1d0)](){return!0x0;}static get[_0x4058f0(0x1eb)](){return!0x0;}constructor(_0x1a0ea1){const _0x5a2573=_0x4058f0;super(_0x1a0ea1);const _0x51fc37=this[_0x5a2573(0x201)][_0x5a2573(0x204)][_0x5a2573(0x22e)](_0x5a2573(0x214));this[_0x5a2573(0x216)]=null,this[_0x5a2573(0x1e0)]=this[_0x5a2573(0x201)][_0x5a2573(0x225)][_0x5a2573(0x22e)](_0x5a2573(0x1f7)),this[_0x5a2573(0x1e2)]=new CloudServicesRevisionHistoryAdapter[(_0x5a2573(0x213))](_0x51fc37);}async[_0x4058f0(0x1ea)](){const _0x197209=_0x4058f0,_0xdaa2e4=this[_0x197209(0x201)][_0x197209(0x225)][_0x197209(0x22e)](_0x4cede7),_0x48557c=_0xdaa2e4[_0x197209(0x1ce)],_0xcf3a86=this[_0x197209(0x201)][_0x197209(0x225)][_0x197209(0x22e)](_0x3ef23c);this[_0x197209(0x1e0)][_0x197209(0x1fb)]({'history':_0x48557c,'getLatestVersion':()=>this[_0x197209(0x1fe)](),'getCurrentRevisionId':()=>_0xdaa2e4[_0x197209(0x20f)]});const _0x27f273=this[_0x197209(0x201)][_0x197209(0x204)][_0x197209(0x22e)](_0x197209(0x1cc))||_0x241fe8,_0x4f3b6a=await _0x44e07c[_0x197209(0x1d7)](_0xcf3a86[_0x197209(0x1dc)],_0x27f273);this[_0x197209(0x201)][_0x197209(0x225)][_0x197209(0x22e)](_0x197209(0x1f6))[_0x197209(0x205)]={'getRevision':async({revisionId:_0x5f127d})=>(await this[_0x197209(0x1f0)](),await this[_0x197209(0x1e2)][_0x197209(0x1ca)](_0x5f127d)),'updateRevisions':async _0x1009c8=>{const _0x2105fe=_0x197209;await this[_0x2105fe(0x1f0)]();const _0x129f46=this[_0x2105fe(0x1e0)][_0x2105fe(0x21d)];if(_0x4f3b6a&&0x1===_0x1009c8[_0x2105fe(0x226)]&&_0x1009c8[0x0]['id']===_0x129f46['id'])return _0x1009c8;for(const _0x3ebdfb of _0x1009c8)_0x3ebdfb['id']===_0x129f46['id']&&(_0x3ebdfb[_0x2105fe(0x1c8)]=_0x3ebdfb[_0x2105fe(0x209)]===_0x3ebdfb[_0x2105fe(0x1fa)]);return this[_0x2105fe(0x1e2)][_0x2105fe(0x200)](_0x1009c8,this[_0x2105fe(0x216)])[_0x2105fe(0x1cf)](_0x447593=>(this[_0x2105fe(0x216)]=_0x447593,_0x1009c8))[_0x2105fe(0x215)](_0x2b70de=>{const _0x3fbf1a=_0x2105fe;if(T(_0x2b70de)||_0x3fbf1a(0x1d9)===_0x2b70de[_0x3fbf1a(0x21f)]&&void 0x0!==_0x2b70de[_0x3fbf1a(0x228)][_0x3fbf1a(0x1e4)]){for(const _0x5bfc5b of _0x1009c8){!this[_0x3fbf1a(0x1e0)][_0x3fbf1a(0x233)][_0x3fbf1a(0x1ca)](_0x5bfc5b['id'])||this[_0x3fbf1a(0x1e0)][_0x3fbf1a(0x224)](_0x5bfc5b['id'],_0x5bfc5b,!0x1);}if(T(_0x2b70de))throw _0x2b70de;return _0x1009c8;}throw _0x2b70de;});}},this[_0x197209(0x1ff)](this[_0x197209(0x1e2)],_0x197209(0x1ec),(_0x47712,{revisionsData:_0x2ccc74,requestId:_0x1a315d})=>{const _0x41d49c=_0x197209;Math[_0x41d49c(0x1d5)](..._0x2ccc74[_0x41d49c(0x235)](_0x5e2850=>_0x5e2850[_0x41d49c(0x1fa)]))>this[_0x41d49c(0x20b)]()-0x1?this[_0x41d49c(0x1fe)]()[_0x41d49c(0x1cf)](()=>{const _0x23959d=_0x41d49c;this[_0x23959d(0x1f3)](_0x2ccc74,_0x1a315d);}):this[_0x41d49c(0x1f3)](_0x2ccc74,_0x1a315d);});const {revisions:_0x12fe8b,requestId:_0x2ab248}=await this[_0x197209(0x1e2)][_0x197209(0x1d4)](_0xcf3a86[_0x197209(0x1dc)]);_0xcf3a86[_0x197209(0x1f4)](this),this[_0x197209(0x216)]=_0x2ab248,await this[_0x197209(0x1e6)](_0x12fe8b);for(const _0xabc252 of _0x12fe8b)this[_0x197209(0x1e0)][_0x197209(0x20d)](_0xabc252);this[_0x197209(0x1ff)](_0xdaa2e4,_0x197209(0x218),(_0x503514,_0x2f7a4d,_0x2bfdc2)=>{const _0x386c24=_0x197209;_0x2bfdc2&&(this[_0x386c24(0x1fd)]=_0xdaa2e4[_0x386c24(0x1c9)],_0x503514[_0x386c24(0x1e7)]());}),this[_0x197209(0x1e0)][_0x197209(0x219)](_0x197209(0x1f2))['to'](_0xcf3a86,_0x197209(0x20a),_0x17d66b=>_0x17d66b===_0x248d21[_0x197209(0x203)]);}async[_0x4058f0(0x211)](){const _0xcb4ee1=_0x4058f0,_0x39e153=this[_0xcb4ee1(0x201)][_0xcb4ee1(0x225)][_0xcb4ee1(0x22e)](_0x3ef23c),_0x5c2cf7=this[_0xcb4ee1(0x201)][_0xcb4ee1(0x225)][_0xcb4ee1(0x22e)](_0x4cede7),_0x45a7c3=async()=>{const _0x22eec6=_0xcb4ee1,_0x551dce=this[_0x22eec6(0x1e0)][_0x22eec6(0x21d)],_0x3b1949=_0x551dce['id'],_0x193038=_0x3b1949!==_0x5c2cf7[_0x22eec6(0x20f)];if(_0x193038){const _0x301d22=_0x5c2cf7[_0x22eec6(0x1c9)]-this[_0x22eec6(0x1fd)],_0x7d4727=this[_0x22eec6(0x20b)]();this[_0x22eec6(0x1e0)][_0x22eec6(0x230)][_0x22eec6(0x1cb)]();if(_0x551dce[_0x22eec6(0x1fa)]+_0x301d22!==_0x7d4727){const _0x3f5dfd=_0x551dce[_0x22eec6(0x209)]+_0x301d22,_0x252990=this[_0x22eec6(0x201)][_0x22eec6(0x225)][_0x22eec6(0x22e)](_0x346552),_0x5e9f1f=this[_0x22eec6(0x1e0)][_0x22eec6(0x220)]({'revision':_0x551dce,'from':_0x3f5dfd,'to':_0x7d4727});_0x5e9f1f['id']=_0x551dce['id'];const _0x226d4d=_0x5e9f1f[_0x22eec6(0x21b)][_0x22eec6(0x235)](_0x387dda=>_0x252990[_0x22eec6(0x212)](_0x387dda));_0x551dce[_0x22eec6(0x1e3)]({..._0x5e9f1f,'authors':_0x226d4d},!0x0),this[_0x22eec6(0x1e0)][_0x22eec6(0x224)](_0x551dce['id'],_0x5e9f1f,!0x0);}this[_0x22eec6(0x1e0)][_0x22eec6(0x238)]=_0x7d4727,(_0x551dce[_0x22eec6(0x1fa)]===_0x551dce[_0x22eec6(0x209)]&&!this[_0x22eec6(0x1e0)][_0x22eec6(0x1d2)][_0x22eec6(0x227)](_0x3b1949)&&this[_0x22eec6(0x1e0)][_0x22eec6(0x233)][_0x22eec6(0x1ef)][_0x22eec6(0x1db)](_0x3b1949),this[_0x22eec6(0x1e0)][_0x22eec6(0x223)](_0x7d4727));}const {revisions:_0x36207c,requestId:_0x322288}=await this[_0x22eec6(0x1e2)][_0x22eec6(0x211)](_0x39e153[_0x22eec6(0x1dc)],this[_0x22eec6(0x216)]);_0x193038&&_0x36207c[_0x22eec6(0x226)]>0x0?_0x5c2cf7[_0x22eec6(0x207)]():(await this[_0x22eec6(0x1e6)](_0x36207c),this[_0x22eec6(0x1f3)](_0x36207c,_0x322288),this[_0x22eec6(0x1e0)][_0x22eec6(0x22d)]());};return _0x5c2cf7[_0xcb4ee1(0x21a)]?_0x45a7c3():new Promise((_0x46ffb6,_0x2c5620)=>{const _0x49e66f=_0xcb4ee1;_0x5c2cf7[_0x49e66f(0x236)](_0x49e66f(0x218),()=>{const _0x45bd29=_0x49e66f;_0x45a7c3()[_0x45bd29(0x1cf)](_0x46ffb6)[_0x45bd29(0x215)](_0x2c5620);});});}[_0x4058f0(0x229)](){const _0x55af62=_0x4058f0;super[_0x55af62(0x229)]();}async[_0x4058f0(0x1f0)](){const _0x3a6855=_0x4058f0;this[_0x3a6855(0x1e2)][_0x3a6855(0x1e5)]||await new Promise(_0x5ab2c3=>{const _0x328dbe=_0x3a6855;this[_0x328dbe(0x1ff)](this[_0x328dbe(0x1e2)],_0x328dbe(0x208),_0x339491=>{const _0x305650=_0x328dbe;_0x339491[_0x305650(0x1e7)](),_0x5ab2c3();});});}[_0x4058f0(0x20b)](){const _0xfcd67=_0x4058f0,_0x45cc23=this[_0xfcd67(0x201)][_0xfcd67(0x225)][_0xfcd67(0x22e)](_0x4cede7)[_0xfcd67(0x1ce)][_0xfcd67(0x22c)]()[_0xfcd67(0x22f)]();for(const _0x237f13 of _0x45cc23)if(_0xfcd67(0x1f5)!==_0x237f13[_0xfcd67(0x217)]||_0x237f13[_0xfcd67(0x1e9)])return _0x237f13[_0xfcd67(0x1f1)]+0x1;}[_0x4058f0(0x1fe)](){const _0x3542c3=_0x4058f0,_0x4c3201=this[_0x3542c3(0x201)][_0x3542c3(0x225)][_0x3542c3(0x22e)](_0x4cede7);return new Promise(_0x36618d=>{const _0x2ff9ef=_0x3542c3;_0x4c3201[_0x2ff9ef(0x1f9)]?_0x4c3201[_0x2ff9ef(0x236)](_0x2ff9ef(0x237),()=>{const _0x570366=_0x2ff9ef;_0x36618d(this[_0x570366(0x20b)]());}):_0x36618d(this[_0x2ff9ef(0x20b)]());});}[_0x4058f0(0x1f3)](_0x5bd92b,_0x5cac48){const _0x5e0c2e=_0x4058f0,_0x39a993=this[_0x5e0c2e(0x1e0)][_0x5e0c2e(0x233)];this[_0x5e0c2e(0x216)]=_0x5cac48;for(const _0x534305 of _0x5bd92b){const _0x6e459a=_0x39a993[_0x5e0c2e(0x1ca)](_0x534305['id']);if(_0x6e459a){if((_0x534305[_0x5e0c2e(0x209)]||_0x534305[_0x5e0c2e(0x1fa)])&&(_0x534305[_0x5e0c2e(0x1e8)]=null),_0x6e459a===this[_0x5e0c2e(0x1e0)][_0x5e0c2e(0x21d)]){const _0x2da43d=Math[_0x5e0c2e(0x1d5)](_0x6e459a[_0x5e0c2e(0x1fa)],_0x534305[_0x5e0c2e(0x1fa)]),_0x5cdd2c=Math[_0x5e0c2e(0x1d5)](_0x6e459a[_0x5e0c2e(0x209)],_0x534305[_0x5e0c2e(0x209)]);let _0x918520;_0x6e459a[_0x5e0c2e(0x1fa)]===_0x534305[_0x5e0c2e(0x1fa)]&&_0x6e459a[_0x5e0c2e(0x209)]===_0x534305[_0x5e0c2e(0x209)]?(_0x918520=!0x0,this[_0x5e0c2e(0x202)](_0x534305)):_0x534305[_0x5e0c2e(0x1fa)]===_0x2da43d&&_0x534305[_0x5e0c2e(0x209)]===_0x5cdd2c?_0x918520=!0x1:(_0x6e459a[_0x5e0c2e(0x1fa)]===_0x2da43d&&_0x6e459a[_0x5e0c2e(0x209)]===_0x5cdd2c||this[_0x5e0c2e(0x1f8)]({'revision':_0x6e459a,'from':_0x5cdd2c,'to':_0x2da43d}),_0x918520=!0x0),_0x918520&&(delete _0x534305[_0x5e0c2e(0x209)],delete _0x534305[_0x5e0c2e(0x1fa)],delete _0x534305[_0x5e0c2e(0x1e8)],delete _0x534305[_0x5e0c2e(0x206)],delete _0x534305[_0x5e0c2e(0x21b)]);}this[_0x5e0c2e(0x1e0)][_0x5e0c2e(0x222)](_0x534305),this[_0x5e0c2e(0x202)](_0x534305);}else this[_0x5e0c2e(0x1e0)][_0x5e0c2e(0x20d)](_0x534305);}const _0x19d3a2=_0x39a993[_0x5e0c2e(0x20e)]();_0x19d3a2[_0x5e0c2e(0x22f)]();for(let _0x1225cc=0x0;_0x1225cc<_0x19d3a2[_0x5e0c2e(0x226)]-0x1;_0x1225cc++){const _0x1e1a05=_0x19d3a2[_0x1225cc],_0x42380a=_0x19d3a2[_0x1225cc+0x1];if(_0x1e1a05[_0x5e0c2e(0x209)]<_0x42380a[_0x5e0c2e(0x1fa)]){const _0x12e343=_0x42380a[_0x5e0c2e(0x1fa)],_0x63993b=Math[_0x5e0c2e(0x1d5)](_0x12e343,_0x1e1a05[_0x5e0c2e(0x1fa)]);this[_0x5e0c2e(0x1f8)]({'revision':_0x1e1a05,'from':_0x12e343,'to':_0x63993b});}}}[_0x4058f0(0x1f8)]({revision:_0x42e8ae,from:_0x16d408,to:_0x1e371b}={}){const _0x12a6c9=_0x4058f0,_0x190302=this[_0x12a6c9(0x201)][_0x12a6c9(0x225)][_0x12a6c9(0x22e)](_0x346552),_0x1b48e0=this[_0x12a6c9(0x1e0)][_0x12a6c9(0x220)]({'revision':_0x42e8ae,'from':_0x16d408,'to':_0x1e371b});_0x1b48e0[_0x12a6c9(0x21c)]=_0x1b48e0[_0x12a6c9(0x21b)][_0x12a6c9(0x235)](_0x11f3bf=>_0x190302[_0x12a6c9(0x212)](_0x11f3bf)),_0x42e8ae[_0x12a6c9(0x1e3)](_0x1b48e0);}[_0x4058f0(0x202)](_0x1ff05f){const _0x4047d2=_0x4058f0,_0x19b663={};_0x19b663['id']=_0x1ff05f['id'];for(const _0x24ff2f of Object[_0x4047d2(0x1ee)](_0x1ff05f))'id'!==_0x24ff2f&&(_0x19b663[_0x24ff2f]=void 0x0);this[_0x4047d2(0x1e0)][_0x4047d2(0x224)](_0x19b663['id'],_0x19b663,!0x0);}async[_0x4058f0(0x1e6)](_0x41dc4b){const _0x28b3fd=_0x4058f0,_0x5d6367=this[_0x28b3fd(0x201)][_0x28b3fd(0x225)][_0x28b3fd(0x22e)](_0x346552),{connection:_0x1b1c3b}=this[_0x28b3fd(0x201)][_0x28b3fd(0x225)][_0x28b3fd(0x22e)](_0x3ef23c),_0x4799e9=new Set();for(const _0x9d319e of _0x41dc4b){for(const _0xde5c7b of _0x9d319e[_0x28b3fd(0x21b)])_0x7676c3(_0xde5c7b);_0x9d319e[_0x28b3fd(0x221)]&&_0x7676c3(_0x9d319e[_0x28b3fd(0x221)]);}if(0x0===_0x4799e9[_0x28b3fd(0x1d1)])return;const _0x23222c=await _0x324642[_0x28b3fd(0x1fc)](_0x1b1c3b,Array[_0x28b3fd(0x23a)](_0x4799e9));for(const _0x11c1b1 of _0x23222c)_0x5d6367[_0x28b3fd(0x212)](_0x11c1b1['id'])||_0x5d6367[_0x28b3fd(0x1da)](_0x11c1b1);function _0x7676c3(_0x52953e){const _0x541644=_0x28b3fd;_0x5d6367[_0x541644(0x212)](_0x52953e)||_0x4799e9[_0x541644(0x234)](_0x52953e);}}}function T(_0x1c3bda){const _0x2098cd=_0x4058f0;return _0x1c3bda[_0x2098cd(0x1e1)][_0x2098cd(0x1d8)](_0x2098cd(0x239))||_0x1c3bda[_0x2098cd(0x1e1)][_0x2098cd(0x1d8)](_0x2098cd(0x1d3))||_0x1c3bda[_0x2098cd(0x1e1)][_0x2098cd(0x1d8)](_0x2098cd(0x23c));}
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
var
|
|
23
|
+
var _0x184c50=_0x3115;(function(_0x5af471,_0xec9bde){var _0x2d8ab9=_0x3115,_0xff56f6=_0x5af471();while(!![]){try{var _0x3c9d77=parseInt(_0x2d8ab9(0x1ed))/0x1*(-parseInt(_0x2d8ab9(0x1ef))/0x2)+parseInt(_0x2d8ab9(0x1f7))/0x3*(parseInt(_0x2d8ab9(0x1fd))/0x4)+-parseInt(_0x2d8ab9(0x1f4))/0x5*(-parseInt(_0x2d8ab9(0x1f9))/0x6)+parseInt(_0x2d8ab9(0x1f1))/0x7*(-parseInt(_0x2d8ab9(0x1f8))/0x8)+-parseInt(_0x2d8ab9(0x1ee))/0x9*(parseInt(_0x2d8ab9(0x1f5))/0xa)+parseInt(_0x2d8ab9(0x1fb))/0xb*(-parseInt(_0x2d8ab9(0x1f3))/0xc)+parseInt(_0x2d8ab9(0x1fc))/0xd;if(_0x3c9d77===_0xec9bde)break;else _0xff56f6['push'](_0xff56f6['shift']());}catch(_0x1a68a7){_0xff56f6['push'](_0xff56f6['shift']());}}}(_0x3b9b,0xe80c2));import{Plugin as _0x5bfb3d}from'ckeditor5/src/core.js';function _0x3115(_0x1b87f7,_0x548e43){var _0x3b9be0=_0x3b9b();return _0x3115=function(_0x311539,_0x2a8023){_0x311539=_0x311539-0x1eb;var _0x290b29=_0x3b9be0[_0x311539];return _0x290b29;},_0x3115(_0x1b87f7,_0x548e43);}import{CloudServicesRevisionHistoryAdapter as _0xc63445}from'./realtimecollaborativerevisionhistory/cloudservicesrevisionhistoryadapter.js';import{RealTimeCollaborativeEditing as _0xd5842}from'./realtimecollaborativeediting.js';function _0x3b9b(){var _0x1e66e5=['7624htedZg','5874798BcAaeg','RevisionHistory','11WIllYZ','68951701XCNKVC','161752MYZbMK','RealTimeCollaborativeRevisionHistory','isPremiumPlugin','29439tNkknc','4807854SGztDQ','94mfFvNZ','requires','8435aPFDvd','isOfficialPlugin','22727832KIkNiG','5aqElWO','20pFNFnR','pluginName','12KWheKS'];_0x3b9b=function(){return _0x1e66e5;};return _0x3b9b();}export class RealTimeCollaborativeRevisionHistory extends _0x5bfb3d{static get[_0x184c50(0x1f0)](){var _0xf6bc84=_0x184c50;return[_0xf6bc84(0x1fa),_0xc63445,_0xd5842];}static get[_0x184c50(0x1f6)](){var _0x4bb358=_0x184c50;return _0x4bb358(0x1eb);}static get[_0x184c50(0x1f2)](){return!0x0;}static get[_0x184c50(0x1ec)](){return!0x0;}}
|
|
@@ -20,5 +20,5 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
const
|
|
24
|
-
((()=>
|
|
23
|
+
const _0x5c8420=_0x41ff;(function(_0x529d31,_0xb12712){const _0x3a6f02=_0x41ff,_0xfe9386=_0x529d31();while(!![]){try{const _0x170aa4=-parseInt(_0x3a6f02(0x16a))/0x1*(parseInt(_0x3a6f02(0x16c))/0x2)+-parseInt(_0x3a6f02(0x170))/0x3*(parseInt(_0x3a6f02(0x14e))/0x4)+parseInt(_0x3a6f02(0x155))/0x5*(parseInt(_0x3a6f02(0x167))/0x6)+-parseInt(_0x3a6f02(0x149))/0x7+-parseInt(_0x3a6f02(0x15c))/0x8+-parseInt(_0x3a6f02(0x13e))/0x9*(parseInt(_0x3a6f02(0x166))/0xa)+parseInt(_0x3a6f02(0x159))/0xb;if(_0x170aa4===_0xb12712)break;else _0xfe9386['push'](_0xfe9386['shift']());}catch(_0x3700a6){_0xfe9386['push'](_0xfe9386['shift']());}}}(_0xdc71,0xb9663));import{Plugin as _0x269d46}from'ckeditor5/src/core.js';function _0x41ff(_0x560638,_0x178328){const _0xdc71c0=_0xdc71();return _0x41ff=function(_0x41ff6d,_0xdf6319){_0x41ff6d=_0x41ff6d-0x136;let _0x153107=_0xdc71c0[_0x41ff6d];return _0x153107;},_0x41ff(_0x560638,_0x178328);}import{User as _0x2ed3b6,TrackChangesService as _0x162276}from'@ckeditor/ckeditor-cloud-services-collaboration/src/services.js';import{WebSocketGateway as _0x25e92f}from'../realtimecollaborativeediting/websocketgateway.js';import{CloudServicesCommentsAdapter as _0x2b19b1}from'../realtimecollaborativecomments/cloudservicescommentsadapter.js';import{Users as _0x4bb88e}from'ckeditor5-collaboration/src/collaboration-core.js';export class CloudServicesTrackChangesAdapter extends _0x269d46{static [_0x5c8420(0x168)]=/* #__PURE__ -- @preserve */
|
|
24
|
+
((()=>_0x162276)());[_0x5c8420(0x153)];[_0x5c8420(0x150)];static get[_0x5c8420(0x152)](){const _0x17c3dd=_0x5c8420;return[_0x2b19b1,_0x17c3dd(0x163),_0x25e92f];}static get[_0x5c8420(0x164)](){const _0x25c3e1=_0x5c8420;return _0x25c3e1(0x15e);}static get[_0x5c8420(0x158)](){return!0x0;}static get[_0x5c8420(0x142)](){return!0x0;}constructor(_0x53cb2){const _0x28b738=_0x5c8420;super(_0x53cb2);const _0x48aeea=this[_0x28b738(0x139)][_0x28b738(0x156)][_0x28b738(0x160)](_0x28b738(0x161));this[_0x28b738(0x153)]=new Map(),this[_0x28b738(0x150)]=new CloudServicesTrackChangesAdapter[(_0x28b738(0x168))](_0x48aeea);}[_0x5c8420(0x143)](){const _0x45285f=_0x5c8420,_0x5982dd=this[_0x45285f(0x139)][_0x45285f(0x148)][_0x45285f(0x160)](_0x25e92f),_0xe6379b=this[_0x45285f(0x139)][_0x45285f(0x148)][_0x45285f(0x160)](_0x45285f(0x163));return _0xe6379b[_0x45285f(0x151)]={'getSuggestion':async _0x213960=>{const _0x2ad74b=_0x45285f;await this[_0x2ad74b(0x13d)]();const _0xf223e8=await this[_0x2ad74b(0x150)][_0x2ad74b(0x160)](_0x213960)[_0x2ad74b(0x157)](C);return await this[_0x2ad74b(0x173)]([_0xf223e8]),_0xf223e8;},'addSuggestion':async({id:_0x49e032,type:_0x273f95,data:_0x2901c3,originalSuggestionId:_0x3355af,attributes:_0xd1c473})=>{const _0x1b98ac=_0x45285f;await this[_0x1b98ac(0x13d)]();const _0x513a67={'id':_0x49e032,'type':_0x273f95,'data':_0x2901c3,'originalSuggestionId':_0x3355af,'attributes':_0xd1c473},_0x497365=await this[_0x1b98ac(0x150)][_0x1b98ac(0x172)](_0x49e032,_0x273f95,_0x2901c3,_0x3355af,_0xd1c473)[_0x1b98ac(0x157)](_0x4c1ce8=>{if(T(_0x4c1ce8))return new Promise(_0x35f516=>{const _0xc04ba0=_0x41ff;this[_0xc04ba0(0x153)][_0xc04ba0(0x154)](_0x49e032,{'resolve':_0x35f516,'suggestionData':_0x513a67});});throw _0x4c1ce8;});return this[_0x1b98ac(0x153)][_0x1b98ac(0x15b)](_0x49e032),_0x497365;},'updateSuggestion':async(_0x343f02,_0x25824d)=>{const _0x49911f=_0x45285f;if(await this[_0x49911f(0x13d)](),_0x49911f(0x171)!==_0x25824d[_0x49911f(0x13b)])return this[_0x49911f(0x150)][_0x49911f(0x15f)](_0x343f02,_0x25824d)[_0x49911f(0x157)](C);}},this[_0x45285f(0x162)](this[_0x45285f(0x150)],_0x45285f(0x16b),(_0x20982a,_0x4d51c5)=>{const _0x2a6def=_0x45285f;_0xe6379b[_0x2a6def(0x16d)](_0x4d51c5['id'])&&(_0xe6379b[_0x2a6def(0x147)](_0x4d51c5['id'])[_0x2a6def(0x169)]=_0x4d51c5[_0x2a6def(0x169)]);}),this[_0x45285f(0x150)][_0x45285f(0x14a)](_0x5982dd[_0x45285f(0x16e)])[_0x45285f(0x136)](_0x5293b5=>(_0x5982dd[_0x45285f(0x15a)](this),this[_0x45285f(0x173)](_0x5293b5)[_0x45285f(0x136)](()=>{const _0x1bacdf=_0x45285f;for(const _0x2737f1 of _0x5293b5){_0xe6379b[_0x1bacdf(0x14c)](_0x2737f1)[_0x1bacdf(0x14b)]=!0x0;}})));}async[_0x5c8420(0x13a)](){const _0x20c892=_0x5c8420,_0x472757=this[_0x20c892(0x139)][_0x20c892(0x148)][_0x20c892(0x160)](_0x20c892(0x163)),{connection:_0x13e848}=this[_0x20c892(0x139)][_0x20c892(0x148)][_0x20c892(0x160)](_0x25e92f),_0x3419f0=await this[_0x20c892(0x150)][_0x20c892(0x14a)](_0x13e848);await this[_0x20c892(0x173)](_0x3419f0);for(const {suggestionData:_0x65fbb7,resolve:_0x54df58}of this[_0x20c892(0x153)][_0x20c892(0x13c)]()){let _0x3d3c4a=_0x3419f0[_0x20c892(0x137)](_0x59b0c6=>_0x59b0c6['id']===_0x65fbb7['id']);_0x3d3c4a||(_0x3d3c4a=await this[_0x20c892(0x150)][_0x20c892(0x172)](_0x65fbb7['id'],_0x65fbb7[_0x20c892(0x145)],_0x65fbb7[_0x20c892(0x14f)],_0x65fbb7[_0x20c892(0x146)])),_0x54df58(_0x3d3c4a);}for(const _0x381218 of _0x3419f0)_0x472757[_0x20c892(0x16d)](_0x381218['id'])||_0x472757[_0x20c892(0x14c)](_0x381218);}async[_0x5c8420(0x13d)](){const _0x19c6c1=_0x5c8420;this[_0x19c6c1(0x150)][_0x19c6c1(0x16f)]||await new Promise(_0x3d7940=>{const _0x3cb29a=_0x19c6c1;this[_0x3cb29a(0x162)](this[_0x3cb29a(0x150)],_0x3cb29a(0x13f),_0x5bed49=>{const _0x758148=_0x3cb29a;_0x5bed49[_0x758148(0x176)](),_0x3d7940();});});}async[_0x5c8420(0x173)](_0xcd4e1b){const _0x5db0ff=_0x5c8420,_0x22f43c=this[_0x5db0ff(0x139)][_0x5db0ff(0x148)][_0x5db0ff(0x160)](_0x4bb88e),{connection:_0x216e8a}=this[_0x5db0ff(0x139)][_0x5db0ff(0x148)][_0x5db0ff(0x160)](_0x25e92f),_0x33946f=new Set();for(const {authorId:_0x27f260}of _0xcd4e1b)_0x22f43c[_0x5db0ff(0x165)](_0x27f260)||_0x33946f[_0x5db0ff(0x172)](_0x27f260);if(0x0===_0x33946f[_0x5db0ff(0x141)])return;const _0x5ccdc9=await _0x2ed3b6[_0x5db0ff(0x175)](_0x216e8a,Array[_0x5db0ff(0x144)](_0x33946f));for(const _0x730a2d of _0x5ccdc9)_0x22f43c[_0x5db0ff(0x165)](_0x730a2d['id'])||_0x22f43c[_0x5db0ff(0x138)](_0x730a2d);}}function C(_0x2e6677){if(T(_0x2e6677))return new Promise(()=>{});throw _0x2e6677;}function _0xdc71(){const _0x5e36d8=['off','then','find','addUser','editor','reconnect','state','values','_waitForServiceReady','198FOIyzC','connected','cloud-services-internal-error:\x20Not\x20connected.','size','isPremiumPlugin','init','from','type','originalSuggestionId','getSuggestion','plugins','8634493NETYTu','connect','_saved','addSuggestionData','cloud-services-internal-error:\x20Request\x20timeout.','908rVKRwn','data','_trackChangesService','adapter','requires','_bufferedRequests','set','229270EHAYMD','config','catch','isOfficialPlugin','42784269uHrDXR','addToReconnectionStack','delete','790888SVLuar','startsWith','CloudServicesTrackChangesAdapter','update','get','collaboration.channelId','listenTo','TrackChangesEditing','pluginName','getUser','646890POTnST','54XjHQUg','TrackChangesService','attributes','2rivRSO','suggestionUpdated','781804thWhqI','hasSuggestion','connection','isConnected','72banwrv','open','add','_fetchMissingUsersForThreads','message','getMany'];_0xdc71=function(){return _0x5e36d8;};return _0xdc71();}function T(_0x3612c1){const _0x1d2efe=_0x5c8420;return _0x3612c1[_0x1d2efe(0x174)][_0x1d2efe(0x15d)](_0x1d2efe(0x140))||_0x3612c1[_0x1d2efe(0x174)][_0x1d2efe(0x15d)](_0x1d2efe(0x14d));}
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
var
|
|
23
|
+
var _0x319c5c=_0x31d7;function _0x5bfc(){var _0x46f47e=['pluginName','isPremiumPlugin','159178npOPDR','3244UEOrbH','5fdaWUT','379190rKGaLF','RealTimeCollaborativeTrackChanges','2804616WFlWQd','TrackChanges','783wtuyZi','89274flDvCJ','608896NbDTZH','isOfficialPlugin','requires','1398180SfLjsn'];_0x5bfc=function(){return _0x46f47e;};return _0x5bfc();}function _0x31d7(_0x13f954,_0x49f9d0){var _0x5bfc73=_0x5bfc();return _0x31d7=function(_0x31d701,_0x3598b2){_0x31d701=_0x31d701-0x1bd;var _0x250277=_0x5bfc73[_0x31d701];return _0x250277;},_0x31d7(_0x13f954,_0x49f9d0);}(function(_0x14daba,_0x1a423b){var _0x448b96=_0x31d7,_0x2e1e0d=_0x14daba();while(!![]){try{var _0x422fd7=parseInt(_0x448b96(0x1cb))/0x1+parseInt(_0x448b96(0x1bf))/0x2+parseInt(_0x448b96(0x1c3))/0x3*(parseInt(_0x448b96(0x1bd))/0x4)+parseInt(_0x448b96(0x1be))/0x5*(-parseInt(_0x448b96(0x1c4))/0x6)+-parseInt(_0x448b96(0x1c8))/0x7+parseInt(_0x448b96(0x1c5))/0x8+-parseInt(_0x448b96(0x1c1))/0x9;if(_0x422fd7===_0x1a423b)break;else _0x2e1e0d['push'](_0x2e1e0d['shift']());}catch(_0x2883f4){_0x2e1e0d['push'](_0x2e1e0d['shift']());}}}(_0x5bfc,0x1aee9));import{Plugin as _0x308e45}from'ckeditor5/src/core.js';import{CloudServicesTrackChangesAdapter as _0x49e97a}from'./realtimecollaborativetrackchanges/cloudservicestrackchangesadapter.js';import{RealTimeCollaborativeComments as _0x358889}from'./realtimecollaborativecomments.js';export class RealTimeCollaborativeTrackChanges extends _0x308e45{static get[_0x319c5c(0x1c7)](){var _0x5afcc9=_0x319c5c;return[_0x358889,_0x49e97a,_0x5afcc9(0x1c2)];}static get[_0x319c5c(0x1c9)](){var _0x34e7c4=_0x319c5c;return _0x34e7c4(0x1c0);}static get[_0x319c5c(0x1c6)](){return!0x0;}static get[_0x319c5c(0x1ca)](){return!0x0;}}
|