@ckeditor/ckeditor5-real-time-collaboration 47.4.0-alpha.1 → 47.4.0-alpha.2
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/build/real-time-collaboration.js +1 -1
- package/dist/index.js +6 -6
- package/dist/translations/af.js +1 -1
- package/dist/translations/af.umd.js +1 -1
- package/dist/translations/ar.js +1 -1
- package/dist/translations/ar.umd.js +1 -1
- package/dist/translations/ast.js +1 -1
- package/dist/translations/ast.umd.js +1 -1
- package/dist/translations/az.js +1 -1
- package/dist/translations/az.umd.js +1 -1
- package/dist/translations/be.js +1 -1
- package/dist/translations/be.umd.js +1 -1
- package/dist/translations/bg.js +1 -1
- package/dist/translations/bg.umd.js +1 -1
- package/dist/translations/bn.js +1 -1
- package/dist/translations/bn.umd.js +1 -1
- package/dist/translations/bs.js +1 -1
- package/dist/translations/bs.umd.js +1 -1
- package/dist/translations/ca.js +1 -1
- package/dist/translations/ca.umd.js +1 -1
- package/dist/translations/cs.js +1 -1
- package/dist/translations/cs.umd.js +1 -1
- package/dist/translations/da.js +1 -1
- package/dist/translations/da.umd.js +1 -1
- package/dist/translations/de-ch.js +1 -1
- package/dist/translations/de-ch.umd.js +1 -1
- package/dist/translations/de.js +1 -1
- package/dist/translations/de.umd.js +1 -1
- package/dist/translations/el.js +1 -1
- package/dist/translations/el.umd.js +1 -1
- package/dist/translations/en-au.js +1 -1
- package/dist/translations/en-au.umd.js +1 -1
- package/dist/translations/en-gb.js +1 -1
- package/dist/translations/en-gb.umd.js +1 -1
- package/dist/translations/en.js +1 -1
- package/dist/translations/en.umd.js +1 -1
- package/dist/translations/eo.js +1 -1
- package/dist/translations/eo.umd.js +1 -1
- package/dist/translations/es-co.js +1 -1
- package/dist/translations/es-co.umd.js +1 -1
- package/dist/translations/es.js +1 -1
- package/dist/translations/es.umd.js +1 -1
- package/dist/translations/et.js +1 -1
- package/dist/translations/et.umd.js +1 -1
- package/dist/translations/eu.js +1 -1
- package/dist/translations/eu.umd.js +1 -1
- package/dist/translations/fa.js +1 -1
- package/dist/translations/fa.umd.js +1 -1
- package/dist/translations/fi.js +1 -1
- package/dist/translations/fi.umd.js +1 -1
- package/dist/translations/fr.js +1 -1
- package/dist/translations/fr.umd.js +1 -1
- package/dist/translations/gl.js +1 -1
- package/dist/translations/gl.umd.js +1 -1
- package/dist/translations/gu.js +1 -1
- package/dist/translations/gu.umd.js +1 -1
- package/dist/translations/he.js +1 -1
- package/dist/translations/he.umd.js +1 -1
- package/dist/translations/hi.js +1 -1
- package/dist/translations/hi.umd.js +1 -1
- package/dist/translations/hr.js +1 -1
- package/dist/translations/hr.umd.js +1 -1
- package/dist/translations/hu.js +1 -1
- package/dist/translations/hu.umd.js +1 -1
- package/dist/translations/hy.js +1 -1
- package/dist/translations/hy.umd.js +1 -1
- package/dist/translations/id.js +1 -1
- package/dist/translations/id.umd.js +1 -1
- package/dist/translations/it.js +1 -1
- package/dist/translations/it.umd.js +1 -1
- package/dist/translations/ja.js +1 -1
- package/dist/translations/ja.umd.js +1 -1
- package/dist/translations/jv.js +1 -1
- package/dist/translations/jv.umd.js +1 -1
- package/dist/translations/kk.js +1 -1
- package/dist/translations/kk.umd.js +1 -1
- package/dist/translations/km.js +1 -1
- package/dist/translations/km.umd.js +1 -1
- package/dist/translations/kn.js +1 -1
- package/dist/translations/kn.umd.js +1 -1
- package/dist/translations/ko.js +1 -1
- package/dist/translations/ko.umd.js +1 -1
- package/dist/translations/ku.js +1 -1
- package/dist/translations/ku.umd.js +1 -1
- package/dist/translations/lt.js +1 -1
- package/dist/translations/lt.umd.js +1 -1
- package/dist/translations/lv.js +1 -1
- package/dist/translations/lv.umd.js +1 -1
- package/dist/translations/ms.js +1 -1
- package/dist/translations/ms.umd.js +1 -1
- package/dist/translations/nb.js +1 -1
- package/dist/translations/nb.umd.js +1 -1
- package/dist/translations/ne.js +1 -1
- package/dist/translations/ne.umd.js +1 -1
- package/dist/translations/nl.js +1 -1
- package/dist/translations/nl.umd.js +1 -1
- package/dist/translations/no.js +1 -1
- package/dist/translations/no.umd.js +1 -1
- package/dist/translations/oc.js +1 -1
- package/dist/translations/oc.umd.js +1 -1
- package/dist/translations/pl.js +1 -1
- package/dist/translations/pl.umd.js +1 -1
- package/dist/translations/pt-br.js +1 -1
- package/dist/translations/pt-br.umd.js +1 -1
- package/dist/translations/pt.js +1 -1
- package/dist/translations/pt.umd.js +1 -1
- package/dist/translations/ro.js +1 -1
- package/dist/translations/ro.umd.js +1 -1
- package/dist/translations/ru.js +1 -1
- package/dist/translations/ru.umd.js +1 -1
- package/dist/translations/si.js +1 -1
- package/dist/translations/si.umd.js +1 -1
- package/dist/translations/sk.js +1 -1
- package/dist/translations/sk.umd.js +1 -1
- package/dist/translations/sl.js +1 -1
- package/dist/translations/sl.umd.js +1 -1
- package/dist/translations/sq.js +1 -1
- package/dist/translations/sq.umd.js +1 -1
- package/dist/translations/sr-latn.js +1 -1
- package/dist/translations/sr-latn.umd.js +1 -1
- package/dist/translations/sr.js +1 -1
- package/dist/translations/sr.umd.js +1 -1
- package/dist/translations/sv.js +1 -1
- package/dist/translations/sv.umd.js +1 -1
- package/dist/translations/th.js +1 -1
- package/dist/translations/th.umd.js +1 -1
- package/dist/translations/ti.js +1 -1
- package/dist/translations/ti.umd.js +1 -1
- package/dist/translations/tk.js +1 -1
- package/dist/translations/tk.umd.js +1 -1
- package/dist/translations/tr.js +1 -1
- package/dist/translations/tr.umd.js +1 -1
- package/dist/translations/tt.js +1 -1
- package/dist/translations/tt.umd.js +1 -1
- package/dist/translations/ug.js +1 -1
- package/dist/translations/ug.umd.js +1 -1
- package/dist/translations/uk.js +1 -1
- package/dist/translations/uk.umd.js +1 -1
- package/dist/translations/ur.js +1 -1
- package/dist/translations/ur.umd.js +1 -1
- package/dist/translations/uz.js +1 -1
- package/dist/translations/uz.umd.js +1 -1
- package/dist/translations/vi.js +1 -1
- package/dist/translations/vi.umd.js +1 -1
- package/dist/translations/zh-cn.js +1 -1
- package/dist/translations/zh-cn.umd.js +1 -1
- package/dist/translations/zh.js +1 -1
- package/dist/translations/zh.umd.js +1 -1
- package/package.json +14 -14
- package/src/common-translations.js +1 -1
- package/src/index.js +1 -1
- package/src/presencelist/presencelistui.js +1 -1
- package/src/presencelist/view/presencecounterview.js +1 -1
- package/src/presencelist/view/presencedropdownlistitemview.js +1 -1
- package/src/presencelist/view/presencedropdownlistview.js +1 -1
- package/src/presencelist/view/presenceinlinelistitemview.js +1 -1
- package/src/presencelist/view/presenceinlinelistview.js +1 -1
- package/src/presencelist/view/presencelistview.js +1 -1
- package/src/presencelist.js +1 -1
- package/src/realtimecollaborativecomments/cloudservicescommentsadapter.js +2 -2
- package/src/realtimecollaborativecomments.js +1 -1
- package/src/realtimecollaborativeediting/realtimecollaborationclient.js +2 -2
- package/src/realtimecollaborativeediting/sessions.js +1 -1
- package/src/realtimecollaborativeediting/usermarkers.js +1 -1
- package/src/realtimecollaborativeediting/websocketgateway.js +2 -2
- package/src/realtimecollaborativeediting.js +1 -1
- package/src/realtimecollaborativerevisionhistory/cloudservicesrevisionhistoryadapter.js +2 -2
- package/src/realtimecollaborativerevisionhistory.js +1 -1
- package/src/realtimecollaborativetrackchanges/cloudservicestrackchangesadapter.js +2 -2
- package/src/realtimecollaborativetrackchanges.js +1 -1
|
@@ -20,5 +20,5 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
const
|
|
24
|
-
((()=>
|
|
23
|
+
const _0x360d87=_0x22a7;(function(_0x5f58ee,_0x340578){const _0x54f085=_0x22a7,_0x323bcd=_0x5f58ee();while(!![]){try{const _0x22e0be=-parseInt(_0x54f085(0x16d))/0x1+-parseInt(_0x54f085(0x169))/0x2*(-parseInt(_0x54f085(0x1aa))/0x3)+-parseInt(_0x54f085(0x182))/0x4*(-parseInt(_0x54f085(0x18b))/0x5)+parseInt(_0x54f085(0x18d))/0x6*(parseInt(_0x54f085(0x19a))/0x7)+parseInt(_0x54f085(0x1a9))/0x8+-parseInt(_0x54f085(0x1a3))/0x9+parseInt(_0x54f085(0x18c))/0xa*(-parseInt(_0x54f085(0x173))/0xb);if(_0x22e0be===_0x340578)break;else _0x323bcd['push'](_0x323bcd['shift']());}catch(_0x183a88){_0x323bcd['push'](_0x323bcd['shift']());}}}(_0x55b9,0x8518d));import{ContextPlugin as _0x281355}from'ckeditor5/src/core.js';import{DomEmitterMixin as _0x210b1d,CKEditorError as _0x1401dc}from'ckeditor5/src/utils.js';import{WebSocketGateway as _0x38b0b6,WEB_SOCKET_GATEWAY_STATES as _0x4d7d1a}from'@ckeditor/ckeditor-cloud-services-collaboration/src/services.js';function _0x22a7(_0x2a6518,_0x55bda5){const _0x55b9a7=_0x55b9();return _0x22a7=function(_0x22a792,_0x4bf747){_0x22a792=_0x22a792-0x165;let _0x25d15a=_0x55b9a7[_0x22a792];return _0x25d15a;},_0x22a7(_0x2a6518,_0x55bda5);}function _0x55b9(){const _0x5c01b2=['connected','DISCONNECTED','all','833IBZNUS','plugins','add','_shouldPluginsReconnect','webSocketUrl','websocketgateway-plugin-already-registered','function','context','_domEmitter','5753322WBvrEp','set','init','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.','stopListening','offline','8251256oGVxVR','93GJDJKr','reconnect','destroy','CONNECTED','delete','_reconnectionStack','showWarning','code','error','WebSocketGateway','22970WNQfof','state','cloudServices.connectionTimeout','CloudServices','931886XtcRur','initialReconnectionInterval','Connected\x20users\x20limit\x20exceeded','pluginName','online','websocketgateway-invalid-plugin-interface','939774DIydJH','removeFromReconnectionStack','requires','cloudservices-reconnection-error','config','limitExceeded','isInReconnectionStack','connect','websocketgateway-missing-token','bind','addToReconnectionStack','then','isOfficialPlugin','get','change:me','391684jUeams','websocketgateway-missing-websocket-url','listenTo','from','constructor','connection','has','isPremiumPlugin','disconnect','5OWHnfL','10pyesDI','36120gsqhBY','_isBrowserOffline','_reconnect','cloudServices.requestTimeout','cloudservices-init','catch','real-time-collaboration','define','token','CONNECTING'];_0x55b9=function(){return _0x5c01b2;};return _0x55b9();}import{Notification as _0x552a43}from'ckeditor5/src/ui.js';export class WebSocketGateway extends _0x281355{static [_0x360d87(0x168)]=/* #__PURE__ -- @preserve */
|
|
24
|
+
((()=>_0x38b0b6)());static [_0x360d87(0x16e)]=0x3e8;[_0x360d87(0x187)];[_0x360d87(0x1af)];[_0x360d87(0x19d)];[_0x360d87(0x1a2)];static get[_0x360d87(0x175)](){const _0x268101=_0x360d87;return[_0x268101(0x16c),_0x552a43];}static get[_0x360d87(0x170)](){const _0x5dc906=_0x360d87;return _0x5dc906(0x168);}static get[_0x360d87(0x17f)](){return!0x0;}static get[_0x360d87(0x189)](){return!0x0;}constructor(_0x3b9220){const _0x1813a3=_0x360d87;super(_0x3b9220),this[_0x1813a3(0x1a4)](_0x1813a3(0x16a),_0x4d7d1a[_0x1813a3(0x1ad)]),this[_0x1813a3(0x1a4)](_0x1813a3(0x18e),!0x1),this[_0x1813a3(0x1af)]=new Set(),this[_0x1813a3(0x19d)]=!0x1,this[_0x1813a3(0x1a2)]=new(_0x210b1d())();}[_0x360d87(0x1a5)](){const _0x45596f=_0x360d87,_0x5c65cc=this[_0x45596f(0x1a1)],_0x43d94e=_0x5c65cc[_0x45596f(0x19b)][_0x45596f(0x180)](_0x45596f(0x16c)),_0x467c2c=_0x5c65cc[_0x45596f(0x19b)][_0x45596f(0x180)](_0x552a43);if(!_0x43d94e[_0x45596f(0x195)])throw new _0x1401dc(_0x45596f(0x17b),this);if(!_0x43d94e[_0x45596f(0x19e)])throw new _0x1401dc(_0x45596f(0x183),this);return this[_0x45596f(0x1a2)][_0x45596f(0x184)](window,_0x45596f(0x1a8),()=>this[_0x45596f(0x18e)]=!0x0),this[_0x45596f(0x1a2)][_0x45596f(0x184)](window,_0x45596f(0x171),()=>this[_0x45596f(0x18e)]=!0x1),this[_0x45596f(0x1a1)][_0x45596f(0x177)][_0x45596f(0x194)](_0x45596f(0x16b),0xa),this[_0x45596f(0x1a1)][_0x45596f(0x177)][_0x45596f(0x194)](_0x45596f(0x190),0x14),WebSocketGateway[_0x45596f(0x168)][_0x45596f(0x17a)](_0x43d94e[_0x45596f(0x195)],_0x43d94e[_0x45596f(0x19e)],{'timeout':0x3e8*this[_0x45596f(0x1a1)][_0x45596f(0x177)][_0x45596f(0x180)](_0x45596f(0x16b)),'requestTimeout':0x3e8*this[_0x45596f(0x1a1)][_0x45596f(0x177)][_0x45596f(0x180)](_0x45596f(0x190))})[_0x45596f(0x17e)](_0xd48e2b=>{const _0x197d3e=_0x45596f;if(this[_0x197d3e(0x187)]=_0xd48e2b,this[_0x197d3e(0x17c)](_0x197d3e(0x16a))['to'](_0xd48e2b,_0x197d3e(0x16a),this,_0x197d3e(0x18e),(_0x53f9e3,_0x5836ec)=>(_0x197d3e(0x197)!==_0x53f9e3&&(this[_0x197d3e(0x19d)]=!0x0),_0x5836ec||_0x53f9e3!==_0x4d7d1a[_0x197d3e(0x1ad)]?_0x4d7d1a[_0x197d3e(0x198)]:this[_0x197d3e(0x16a)]==_0x4d7d1a[_0x197d3e(0x198)]&&this[_0x197d3e(0x19d)]?(this[_0x197d3e(0x19d)]=!0x1,this[_0x197d3e(0x18f)](),_0x4d7d1a[_0x197d3e(0x196)]):_0x4d7d1a[_0x197d3e(0x1ad)])),this[_0x197d3e(0x187)]['on'](_0x197d3e(0x167),(_0x4746c8,_0x278e4e)=>{const _0x56ebad=_0x197d3e;if(_0x56ebad(0x178)!==_0x278e4e[_0x56ebad(0x166)])throw console[_0x56ebad(0x167)](_0x278e4e),new _0x1401dc(_0x56ebad(0x191),null,{'originalError':_0x278e4e});_0x467c2c[_0x56ebad(0x165)](_0x56ebad(0x1a6),{'title':_0x56ebad(0x16f),'namespace':_0x56ebad(0x193)});}),!_0xd48e2b['me'])return new Promise(_0x14d3f7=>_0xd48e2b['on'](_0x197d3e(0x181),_0x14d3f7));})[_0x45596f(0x192)](_0x38320d=>{const _0x39396a=_0x45596f;throw console[_0x39396a(0x167)](_0x38320d),new _0x1401dc(_0x39396a(0x191),null,{'originalError':_0x38320d});});}[_0x360d87(0x17d)](_0x16dd46){const _0x336484=_0x360d87;if(_0x336484(0x1a0)!=typeof _0x16dd46[_0x336484(0x1ab)])throw new _0x1401dc(_0x336484(0x172),this);if(this[_0x336484(0x179)](_0x16dd46))throw new _0x1401dc(_0x336484(0x19f),this,{'name':_0x16dd46[_0x336484(0x186)][_0x336484(0x170)]});this[_0x336484(0x1af)][_0x336484(0x19c)](_0x16dd46);}[_0x360d87(0x174)](_0x40034e){const _0x468c42=_0x360d87;this[_0x468c42(0x1af)][_0x468c42(0x1ae)](_0x40034e);}[_0x360d87(0x179)](_0x1743d4){const _0xc780b8=_0x360d87;return this[_0xc780b8(0x1af)][_0xc780b8(0x188)](_0x1743d4);}[_0x360d87(0x18f)](){const _0x4ff5cd=_0x360d87;return this[_0x4ff5cd(0x187)][_0x4ff5cd(0x1ab)]()[_0x4ff5cd(0x17e)](()=>Promise[_0x4ff5cd(0x199)](Array[_0x4ff5cd(0x185)](this[_0x4ff5cd(0x1af)],_0x5d9bf1=>_0x5d9bf1[_0x4ff5cd(0x1ab)]())))[_0x4ff5cd(0x17e)](()=>this[_0x4ff5cd(0x16a)]=_0x4d7d1a[_0x4ff5cd(0x1ad)])[_0x4ff5cd(0x192)](_0x2232f3=>{const _0x540197=_0x4ff5cd;throw console[_0x540197(0x167)](_0x2232f3),new _0x1401dc(_0x540197(0x176),this[_0x540197(0x1a1)]);});}[_0x360d87(0x18a)](){const _0x42b739=_0x360d87;this[_0x42b739(0x187)]&&this[_0x42b739(0x187)][_0x42b739(0x18a)](),this[_0x42b739(0x16a)]=_0x4d7d1a[_0x42b739(0x198)],this[_0x42b739(0x1a2)][_0x42b739(0x1a7)]();}[_0x360d87(0x1ac)](){const _0x554eba=_0x360d87;this[_0x554eba(0x18a)](),super[_0x554eba(0x1ac)]();}}
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
var
|
|
23
|
+
var _0x8a9fc4=_0xfb67;(function(_0x11c7d2,_0x5c78ee){var _0x12acb6=_0xfb67,_0x5062bb=_0x11c7d2();while(!![]){try{var _0x273ae4=-parseInt(_0x12acb6(0xea))/0x1*(parseInt(_0x12acb6(0xe6))/0x2)+parseInt(_0x12acb6(0xe4))/0x3+-parseInt(_0x12acb6(0xdf))/0x4+-parseInt(_0x12acb6(0xe1))/0x5+-parseInt(_0x12acb6(0xe8))/0x6*(parseInt(_0x12acb6(0xe9))/0x7)+-parseInt(_0x12acb6(0xe7))/0x8*(-parseInt(_0x12acb6(0xde))/0x9)+parseInt(_0x12acb6(0xe3))/0xa*(parseInt(_0x12acb6(0xe0))/0xb);if(_0x273ae4===_0x5c78ee)break;else _0x5062bb['push'](_0x5062bb['shift']());}catch(_0x40a67c){_0x5062bb['push'](_0x5062bb['shift']());}}}(_0x20b6,0xc3e81));import{Plugin as _0x3fdb6e}from'ckeditor5/src/core.js';import{RealTimeCollaborationClient as _0x2c1019}from'./realtimecollaborativeediting/realtimecollaborationclient.js';function _0xfb67(_0x477367,_0xd6af93){var _0x20b66a=_0x20b6();return _0xfb67=function(_0xfb675b,_0x936150){_0xfb675b=_0xfb675b-0xdb;var _0xe76c=_0x20b66a[_0xfb675b];return _0xe76c;},_0xfb67(_0x477367,_0xd6af93);}function _0x20b6(){var _0x5cdf7f=['4129FXvmsU','isOfficialPlugin','isPremiumPlugin','pluginName','18HOKAWM','4402068AQVBdZ','22dEwTMw','684640SplDXc','RealTimeCollaborativeEditing','8531980qujbQv','1814898jPTVZS','requires','274EYNPmO','1825592SMEeIR','6XDCYOg','1135463tuItsM'];_0x20b6=function(){return _0x5cdf7f;};return _0x20b6();}export class RealTimeCollaborativeEditing extends _0x3fdb6e{static get[_0x8a9fc4(0xe5)](){return[_0x2c1019];}static get[_0x8a9fc4(0xdd)](){var _0x16746e=_0x8a9fc4;return _0x16746e(0xe2);}static get[_0x8a9fc4(0xdb)](){return!0x0;}static get[_0x8a9fc4(0xdc)](){return!0x0;}}
|
|
@@ -20,5 +20,5 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
const
|
|
24
|
-
((()=>_0x24215e)());[_0x4a405a(0xa1)];[_0x4a405a(0x9a)];[_0x4a405a(0xb7)];[_0x4a405a(0xc6)];static get[_0x4a405a(0x7a)](){const _0x3dfff8=_0x4a405a;return[_0x350604,_0x14e225,_0x3dfff8(0x9c),_0x3b835d,_0xaf573e];}static get[_0x4a405a(0x73)](){const _0x49b199=_0x4a405a;return _0x49b199(0x75);}static get[_0x4a405a(0x9f)](){return!0x0;}static get[_0x4a405a(0x7d)](){return!0x0;}constructor(_0x2e56c4){const _0xf4be30=_0x4a405a;super(_0x2e56c4);const _0x30c423=this[_0xf4be30(0x82)][_0xf4be30(0x8a)][_0xf4be30(0x76)](_0xf4be30(0xa3));this[_0xf4be30(0xa1)]=null,this[_0xf4be30(0x9a)]=this[_0xf4be30(0x82)][_0xf4be30(0xa4)][_0xf4be30(0x76)](_0xf4be30(0x96)),this[_0xf4be30(0xb7)]=new CloudServicesRevisionHistoryAdapter[(_0xf4be30(0xa6))](_0x30c423);}async[_0x4a405a(0xb8)](){const _0x1c3e0f=_0x4a405a,_0x1e3b30=this[_0x1c3e0f(0x82)][_0x1c3e0f(0xa4)][_0x1c3e0f(0x76)](_0x14e225),_0x590a9f=_0x1e3b30[_0x1c3e0f(0xa0)],_0x56c8e4=this[_0x1c3e0f(0x82)][_0x1c3e0f(0xa4)][_0x1c3e0f(0x76)](_0x350604);this[_0x1c3e0f(0x9a)][_0x1c3e0f(0xdd)]({'history':_0x590a9f,'getLatestVersion':()=>this[_0x1c3e0f(0xca)](),'getCurrentRevisionId':()=>_0x1e3b30[_0x1c3e0f(0x86)]});const _0x3e4a5b=this[_0x1c3e0f(0x82)][_0x1c3e0f(0x8a)][_0x1c3e0f(0x76)](_0x1c3e0f(0xcf))||_0x2c0ff5,_0x579bab=await _0x47b216[_0x1c3e0f(0xd8)](_0x56c8e4[_0x1c3e0f(0x90)],_0x3e4a5b);this[_0x1c3e0f(0x82)][_0x1c3e0f(0xa4)][_0x1c3e0f(0x76)](_0x1c3e0f(0x9c))[_0x1c3e0f(0x72)]={'getRevision':async({revisionId:_0x5e35ff})=>(await this[_0x1c3e0f(0x92)](),await this[_0x1c3e0f(0xb7)][_0x1c3e0f(0xd1)](_0x5e35ff)),'updateRevisions':async _0x5416c8=>{const _0x5f0079=_0x1c3e0f;await this[_0x5f0079(0x92)]();const _0x24bb02=this[_0x5f0079(0x9a)][_0x5f0079(0xc3)];if(_0x579bab&&0x1===_0x5416c8[_0x5f0079(0xd0)]&&_0x5416c8[0x0]['id']===_0x24bb02['id'])return _0x5416c8;for(const _0x7e27f of _0x5416c8)_0x7e27f['id']===_0x24bb02['id']&&(_0x7e27f[_0x5f0079(0xae)]=_0x7e27f[_0x5f0079(0xde)]===_0x7e27f[_0x5f0079(0xb2)]);return this[_0x5f0079(0xb7)][_0x5f0079(0xd4)](_0x5416c8,this[_0x5f0079(0xa1)])[_0x5f0079(0x91)](_0x54ee2d=>(this[_0x5f0079(0xa1)]=_0x54ee2d,_0x5416c8))[_0x5f0079(0x85)](_0x2e4375=>{const _0x206255=_0x5f0079;if(ot(_0x2e4375)||_0x206255(0xbf)===_0x2e4375[_0x206255(0xc9)]&&void 0x0!==_0x2e4375[_0x206255(0xe0)][_0x206255(0x7f)]){for(const _0x183c14 of _0x5416c8){!this[_0x206255(0x9a)][_0x206255(0xd6)][_0x206255(0xd1)](_0x183c14['id'])||this[_0x206255(0x9a)][_0x206255(0xd9)](_0x183c14['id'],_0x183c14,!0x1);}if(ot(_0x2e4375))throw _0x2e4375;return _0x5416c8;}throw _0x2e4375;});}},this[_0x1c3e0f(0xce)](this[_0x1c3e0f(0xb7)],_0x1c3e0f(0xba),(_0x870d18,{revisionsData:_0x22c5f3,requestId:_0x2226a6})=>{const _0x461d99=_0x1c3e0f;Math[_0x461d99(0xc2)](..._0x22c5f3[_0x461d99(0xdf)](_0x3bad7e=>_0x3bad7e[_0x461d99(0xb2)]))>this[_0x461d99(0x6f)]()-0x1?this[_0x461d99(0xca)]()[_0x461d99(0x91)](()=>{const _0x41b754=_0x461d99;this[_0x41b754(0x79)](_0x22c5f3,_0x2226a6);}):this[_0x461d99(0x79)](_0x22c5f3,_0x2226a6);});const {revisions:_0x36606f,requestId:_0x7641ba}=await this[_0x1c3e0f(0xb7)][_0x1c3e0f(0x9d)](_0x56c8e4[_0x1c3e0f(0x90)]);_0x56c8e4[_0x1c3e0f(0xa8)](this),this[_0x1c3e0f(0xa1)]=_0x7641ba,await this[_0x1c3e0f(0x74)](_0x36606f);for(const _0x213b9c of _0x36606f)this[_0x1c3e0f(0x9a)][_0x1c3e0f(0xa7)](_0x213b9c);this[_0x1c3e0f(0xce)](_0x1e3b30,_0x1c3e0f(0xa9),(_0x4f417d,_0x2a690b,_0x2f4229)=>{const _0x2e745a=_0x1c3e0f;_0x2f4229&&(this[_0x2e745a(0xc6)]=_0x1e3b30[_0x2e745a(0xd5)],_0x4f417d[_0x2e745a(0x81)]());}),this[_0x1c3e0f(0x9a)][_0x1c3e0f(0x93)](_0x1c3e0f(0x89))['to'](_0x56c8e4,_0x1c3e0f(0x8e),_0x3800a3=>_0x3800a3===_0x248ae8[_0x1c3e0f(0xc4)]);}async[_0x4a405a(0x83)](){const _0x3b90aa=_0x4a405a,_0x4fd137=this[_0x3b90aa(0x82)][_0x3b90aa(0xa4)][_0x3b90aa(0x76)](_0x350604),_0x1d6b79=this[_0x3b90aa(0x82)][_0x3b90aa(0xa4)][_0x3b90aa(0x76)](_0x14e225),_0x31be5d=async()=>{const _0x51b6a1=_0x3b90aa,_0x6da9c=this[_0x51b6a1(0x9a)][_0x51b6a1(0xc3)],_0x31f93e=_0x6da9c['id'],_0x1aa63e=_0x31f93e!==_0x1d6b79[_0x51b6a1(0x86)];if(_0x1aa63e){const _0x28c67f=_0x1d6b79[_0x51b6a1(0xd5)]-this[_0x51b6a1(0xc6)],_0x1f8b04=this[_0x51b6a1(0x6f)]();this[_0x51b6a1(0x9a)][_0x51b6a1(0xb0)][_0x51b6a1(0xb4)]();if(_0x6da9c[_0x51b6a1(0xb2)]+_0x28c67f!==_0x1f8b04){const _0x35b8c1=_0x6da9c[_0x51b6a1(0xde)]+_0x28c67f,_0x277448=this[_0x51b6a1(0x82)][_0x51b6a1(0xa4)][_0x51b6a1(0x76)](_0xaf573e),_0x59740e=this[_0x51b6a1(0x9a)][_0x51b6a1(0xaf)]({'revision':_0x6da9c,'from':_0x35b8c1,'to':_0x1f8b04});_0x59740e['id']=_0x6da9c['id'];const _0xfd04d2=_0x59740e[_0x51b6a1(0xc5)][_0x51b6a1(0xdf)](_0x1c2b72=>_0x277448[_0x51b6a1(0xb5)](_0x1c2b72));_0x6da9c[_0x51b6a1(0xbb)]({..._0x59740e,'authors':_0xfd04d2},!0x0),this[_0x51b6a1(0x9a)][_0x51b6a1(0xd9)](_0x6da9c['id'],_0x59740e,!0x0);}this[_0x51b6a1(0x9a)][_0x51b6a1(0x98)]=_0x1f8b04,(_0x6da9c[_0x51b6a1(0xb2)]===_0x6da9c[_0x51b6a1(0xde)]&&!this[_0x51b6a1(0x9a)][_0x51b6a1(0x9b)][_0x51b6a1(0xac)](_0x31f93e)&&this[_0x51b6a1(0x9a)][_0x51b6a1(0xd6)][_0x51b6a1(0xaa)][_0x51b6a1(0xd3)](_0x31f93e),this[_0x51b6a1(0x9a)][_0x51b6a1(0xdb)](_0x1f8b04));}const {revisions:_0x65d2cb,requestId:_0x4ccf63}=await this[_0x51b6a1(0xb7)][_0x51b6a1(0x83)](_0x4fd137[_0x51b6a1(0x90)],this[_0x51b6a1(0xa1)]);_0x1aa63e&&_0x65d2cb[_0x51b6a1(0xd0)]>0x0?_0x1d6b79[_0x51b6a1(0xcb)]():(await this[_0x51b6a1(0x74)](_0x65d2cb),this[_0x51b6a1(0x79)](_0x65d2cb,_0x4ccf63),this[_0x51b6a1(0x9a)][_0x51b6a1(0x7e)]());};return _0x1d6b79[_0x3b90aa(0x94)]?_0x31be5d():new Promise((_0x205470,_0x528dc2)=>{const _0x4b148d=_0x3b90aa;_0x1d6b79[_0x4b148d(0xc7)](_0x4b148d(0xa9),()=>{const _0x489576=_0x4b148d;_0x31be5d()[_0x489576(0x91)](_0x205470)[_0x489576(0x85)](_0x528dc2);});});}[_0x4a405a(0xdc)](){const _0x5c822f=_0x4a405a;super[_0x5c822f(0xdc)]();}async[_0x4a405a(0x92)](){const _0x1edc1c=_0x4a405a;this[_0x1edc1c(0xb7)][_0x1edc1c(0xc8)]||await new Promise(_0x56ba4a=>{const _0x154bef=_0x1edc1c;this[_0x154bef(0xce)](this[_0x154bef(0xb7)],_0x154bef(0x9e),_0x3add40=>{const _0x1a8f71=_0x154bef;_0x3add40[_0x1a8f71(0x81)](),_0x56ba4a();});});}[_0x4a405a(0x6f)](){const _0x3291d8=_0x4a405a,_0x12be60=this[_0x3291d8(0x82)][_0x3291d8(0xa4)][_0x3291d8(0x76)](_0x14e225)[_0x3291d8(0xa0)][_0x3291d8(0xab)]()[_0x3291d8(0xcc)]();for(const _0x20d19d of _0x12be60)if(_0x3291d8(0x87)!==_0x20d19d[_0x3291d8(0xbd)]||_0x20d19d[_0x3291d8(0x8c)])return _0x20d19d[_0x3291d8(0x7b)]+0x1;}[_0x4a405a(0xca)](){const _0x1361b6=_0x4a405a,_0x3d8e08=this[_0x1361b6(0x82)][_0x1361b6(0xa4)][_0x1361b6(0x76)](_0x14e225);return new Promise(_0x18baf4=>{const _0x2be162=_0x1361b6;_0x3d8e08[_0x2be162(0xad)]?_0x3d8e08[_0x2be162(0xc7)](_0x2be162(0xbc),()=>{const _0x50948b=_0x2be162;_0x18baf4(this[_0x50948b(0x6f)]());}):_0x18baf4(this[_0x2be162(0x6f)]());});}[_0x4a405a(0x79)](_0x121c1c,_0x3db5b4){const _0x44da56=_0x4a405a,_0xeaa9ec=this[_0x44da56(0x9a)][_0x44da56(0xd6)];this[_0x44da56(0xa1)]=_0x3db5b4;for(const _0x390605 of _0x121c1c){const _0x19f4ad=_0xeaa9ec[_0x44da56(0xd1)](_0x390605['id']);if(_0x19f4ad){if((_0x390605[_0x44da56(0xde)]||_0x390605[_0x44da56(0xb2)])&&(_0x390605[_0x44da56(0x70)]=null),_0x19f4ad===this[_0x44da56(0x9a)][_0x44da56(0xc3)]){const _0x52fb6c=Math[_0x44da56(0xc2)](_0x19f4ad[_0x44da56(0xb2)],_0x390605[_0x44da56(0xb2)]),_0xda9de4=Math[_0x44da56(0xc2)](_0x19f4ad[_0x44da56(0xde)],_0x390605[_0x44da56(0xde)]);let _0x50377d;_0x19f4ad[_0x44da56(0xb2)]===_0x390605[_0x44da56(0xb2)]&&_0x19f4ad[_0x44da56(0xde)]===_0x390605[_0x44da56(0xde)]?(_0x50377d=!0x0,this[_0x44da56(0x8f)](_0x390605)):_0x390605[_0x44da56(0xb2)]===_0x52fb6c&&_0x390605[_0x44da56(0xde)]===_0xda9de4?_0x50377d=!0x1:(_0x19f4ad[_0x44da56(0xb2)]===_0x52fb6c&&_0x19f4ad[_0x44da56(0xde)]===_0xda9de4||this[_0x44da56(0xbe)]({'revision':_0x19f4ad,'from':_0xda9de4,'to':_0x52fb6c}),_0x50377d=!0x0),_0x50377d&&(delete _0x390605[_0x44da56(0xde)],delete _0x390605[_0x44da56(0xb2)],delete _0x390605[_0x44da56(0x70)],delete _0x390605[_0x44da56(0x97)],delete _0x390605[_0x44da56(0xc5)]);}this[_0x44da56(0x9a)][_0x44da56(0xb1)](_0x390605),this[_0x44da56(0x8f)](_0x390605);}else this[_0x44da56(0x9a)][_0x44da56(0xa7)](_0x390605);}const _0x1818e7=_0xeaa9ec[_0x44da56(0xda)]();_0x1818e7[_0x44da56(0xcc)]();for(let _0x5331b1=0x0;_0x5331b1<_0x1818e7[_0x44da56(0xd0)]-0x1;_0x5331b1++){const _0x117237=_0x1818e7[_0x5331b1],_0x1a7e16=_0x1818e7[_0x5331b1+0x1];if(_0x117237[_0x44da56(0xde)]<_0x1a7e16[_0x44da56(0xb2)]){const _0x532649=_0x1a7e16[_0x44da56(0xb2)],_0xb3f807=Math[_0x44da56(0xc2)](_0x532649,_0x117237[_0x44da56(0xb2)]);this[_0x44da56(0xbe)]({'revision':_0x117237,'from':_0x532649,'to':_0xb3f807});}}}[_0x4a405a(0xbe)]({revision:_0x1dc763,from:_0x3881d6,to:_0x2ee335}={}){const _0x489336=_0x4a405a,_0x1a3b43=this[_0x489336(0x82)][_0x489336(0xa4)][_0x489336(0x76)](_0xaf573e),_0x3f7dd7=this[_0x489336(0x9a)][_0x489336(0xaf)]({'revision':_0x1dc763,'from':_0x3881d6,'to':_0x2ee335});_0x3f7dd7[_0x489336(0xd2)]=_0x3f7dd7[_0x489336(0xc5)][_0x489336(0xdf)](_0xe7768=>_0x1a3b43[_0x489336(0xb5)](_0xe7768)),_0x1dc763[_0x489336(0xbb)](_0x3f7dd7);}[_0x4a405a(0x8f)](_0x316c96){const _0x57ece5=_0x4a405a,_0x3c05c0={};_0x3c05c0['id']=_0x316c96['id'];for(const _0xba6f65 of Object[_0x57ece5(0x8b)](_0x316c96))'id'!==_0xba6f65&&(_0x3c05c0[_0xba6f65]=void 0x0);this[_0x57ece5(0x9a)][_0x57ece5(0xd9)](_0x3c05c0['id'],_0x3c05c0,!0x0);}async[_0x4a405a(0x74)](_0x103e53){const _0x52873c=_0x4a405a,_0x41c002=this[_0x52873c(0x82)][_0x52873c(0xa4)][_0x52873c(0x76)](_0xaf573e),{connection:_0x30a9d8}=this[_0x52873c(0x82)][_0x52873c(0xa4)][_0x52873c(0x76)](_0x350604),_0x5572fe=new Set();for(const _0x4b15ae of _0x103e53){for(const _0x432fd5 of _0x4b15ae[_0x52873c(0xc5)])_0x92dbdb(_0x432fd5);_0x4b15ae[_0x52873c(0x8d)]&&_0x92dbdb(_0x4b15ae[_0x52873c(0x8d)]);}if(0x0===_0x5572fe[_0x52873c(0x88)])return;const _0x4832ed=await _0x59b3e6[_0x52873c(0xa2)](_0x30a9d8,Array[_0x52873c(0xa5)](_0x5572fe));for(const _0x43b2d8 of _0x4832ed)_0x41c002[_0x52873c(0xb5)](_0x43b2d8['id'])||_0x41c002[_0x52873c(0xc1)](_0x43b2d8);function _0x92dbdb(_0x599715){const _0x5c80c1=_0x52873c;_0x41c002[_0x5c80c1(0xb5)](_0x599715)||_0x5572fe[_0x5c80c1(0x99)](_0x599715);}}}function ot(_0x57472b){const _0x1b5312=_0x4a405a;return _0x57472b[_0x1b5312(0xc0)][_0x1b5312(0x77)](_0x1b5312(0x71))||_0x57472b[_0x1b5312(0xc0)][_0x1b5312(0x77)](_0x1b5312(0xe1))||_0x57472b[_0x1b5312(0xc0)][_0x1b5312(0x77)](_0x1b5312(0x95));}
|
|
23
|
+
const _0x25fd91=_0x418b;(function(_0x1031dc,_0x3eb0f3){const _0x3886b1=_0x418b,_0x5e7c2a=_0x1031dc();while(!![]){try{const _0xbd8362=parseInt(_0x3886b1(0x1ce))/0x1*(parseInt(_0x3886b1(0x1fe))/0x2)+parseInt(_0x3886b1(0x1ac))/0x3*(parseInt(_0x3886b1(0x1e8))/0x4)+parseInt(_0x3886b1(0x207))/0x5*(parseInt(_0x3886b1(0x1a7))/0x6)+parseInt(_0x3886b1(0x1ef))/0x7*(parseInt(_0x3886b1(0x1e0))/0x8)+-parseInt(_0x3886b1(0x1dc))/0x9+-parseInt(_0x3886b1(0x1bc))/0xa*(parseInt(_0x3886b1(0x1cd))/0xb)+parseInt(_0x3886b1(0x1c4))/0xc*(-parseInt(_0x3886b1(0x210))/0xd);if(_0xbd8362===_0x3eb0f3)break;else _0x5e7c2a['push'](_0x5e7c2a['shift']());}catch(_0x55fb8c){_0x5e7c2a['push'](_0x5e7c2a['shift']());}}}(_0x2202,0x329fc));import{Plugin as _0x42d993}from'ckeditor5/src/core.js';import{version as _0x579c23}from'ckeditor5/src/utils.js';import{Users as _0x233a39}from'ckeditor5-collaboration/src/collaboration-core.js';import{RealTimeCollaborationClient as _0x39c768}from'../realtimecollaborativeediting/realtimecollaborationclient.js';function _0x418b(_0x396fb4,_0x1c855b){const _0x22021f=_0x2202();return _0x418b=function(_0x418b73,_0x5ce785){_0x418b73=_0x418b73-0x19f;let _0x1b2346=_0x22021f[_0x418b73];return _0x1b2346;},_0x418b(_0x396fb4,_0x1c855b);}import{WebSocketGateway as _0x254a0f}from'../realtimecollaborativeediting/websocketgateway.js';import{Sessions as _0x1651d7}from'../realtimecollaborativeediting/sessions.js';function _0x2202(){const _0x117634=['updateRevisions','_revisions','13vNkecm','requires','fromVersion','keys','getOperations','serverHistory','_isConnected','_handleRevisionsUpdate','revisionsUpdated','get','addUser','RevisionHistory','_waitForServiceReady','bind','5310eJswGG','wrongRequestId','code','marker','then','75SxRaIh','config','repository','_oldOffset','connect','length','_offset','message','from','_revisionDataBuilder','RevisionTracker','sendBufferedUpdates','_revisionTracker','change:_isConnected','_update','_startingVersion','1266830JfppkK','RevisionHistoryService','_getLatestVersion','getMany','once','plugins','cloud-services-internal-error:\x20Request\x20timeout.','isOfficialPlugin','2993964ujCJjf','_createCurrentRevision','getUser','init','adapter','creatorId','isEnabled','_getLatestVersionFromServerOperations','add','22FjNxfx','1NsOxWl','buildRevisionData','size','authors','has','catch','isBundleUploaded','map','CONNECTED','addToReconnectionStack','destroy','connection','diffData','_lastRequestId','2219499eZqNzy','isPremiumPlugin','_fixRevision','currentRevision','9848pNUWpH','getRevision','type','authorsIds','baseVersion','change:_isPendingUpdate','CloudServicesRevisionHistoryAdapter','_fetchMissingUsers','63524HldGib','editor','cloudServices.bundleVersion','reconnect','createdAt','_handleReconnectionError','_revisionHistoryService','707NqwzTF','startsWith','sessionId','_preventResendingRevisionData','cloud-services-internal-error:\x20Revision\x20History\x20Service\x20is\x20not\x20connected.','400','setRevisionData','isEmptyCurrent','reverse','collaboration.channelId','listenTo','remove','off','cloud-services-internal-error:\x20Not\x20connected.','toVersion','778908QQwgMe','addRevisionData','state','connected','isConnected','setSource','_bufferUpdate','pluginName','_isPendingUpdate','260OkVWaU','reInit','getRevisions','data','max','affectsData','_bufferedUpdates'];_0x2202=function(){return _0x117634;};return _0x2202();}import{EditorService as _0x4a84f9,RevisionHistoryService as _0x4039f6,User as _0x11c6bf,WEB_SOCKET_GATEWAY_STATES as _0x5517c0}from'@ckeditor/ckeditor-cloud-services-collaboration/src/services.js';export class CloudServicesRevisionHistoryAdapter extends _0x42d993{static [_0x25fd91(0x1bd)]=/* #__PURE__ -- @preserve */
|
|
24
|
+
((()=>_0x4039f6)());[_0x25fd91(0x1db)];[_0x25fd91(0x1b8)];[_0x25fd91(0x1ee)];[_0x25fd91(0x1af)];static get[_0x25fd91(0x211)](){const _0x1e4a88=_0x25fd91;return[_0x254a0f,_0x39c768,_0x1e4a88(0x1a4),_0x1651d7,_0x233a39];}static get[_0x25fd91(0x205)](){const _0x519c04=_0x25fd91;return _0x519c04(0x1e6);}static get[_0x25fd91(0x1c3)](){return!0x0;}static get[_0x25fd91(0x1dd)](){return!0x0;}constructor(_0x416523){const _0x3e5ce7=_0x25fd91;super(_0x416523);const _0x4766f8=this[_0x3e5ce7(0x1e9)][_0x3e5ce7(0x1ad)][_0x3e5ce7(0x1a2)](_0x3e5ce7(0x1f8));this[_0x3e5ce7(0x1db)]=null,this[_0x3e5ce7(0x1b8)]=this[_0x3e5ce7(0x1e9)][_0x3e5ce7(0x1c1)][_0x3e5ce7(0x1a2)](_0x3e5ce7(0x1b6)),this[_0x3e5ce7(0x1ee)]=new CloudServicesRevisionHistoryAdapter[(_0x3e5ce7(0x1bd))](_0x4766f8);}async[_0x25fd91(0x1c7)](){const _0x354578=_0x25fd91,_0x35e90a=this[_0x354578(0x1e9)][_0x354578(0x1c1)][_0x354578(0x1a2)](_0x39c768),_0x399330=_0x35e90a[_0x354578(0x215)],_0x5daa40=this[_0x354578(0x1e9)][_0x354578(0x1c1)][_0x354578(0x1a2)](_0x254a0f);this[_0x354578(0x1b8)][_0x354578(0x203)]({'history':_0x399330,'getLatestVersion':()=>this[_0x354578(0x1be)](),'getCurrentRevisionId':()=>_0x35e90a[_0x354578(0x1f1)]});const _0x5c54ca=this[_0x354578(0x1e9)][_0x354578(0x1ad)][_0x354578(0x1a2)](_0x354578(0x1ea))||_0x579c23,_0x540830=await _0x4a84f9[_0x354578(0x1d4)](_0x5daa40[_0x354578(0x1d9)],_0x5c54ca);this[_0x354578(0x1e9)][_0x354578(0x1c1)][_0x354578(0x1a2)](_0x354578(0x1a4))[_0x354578(0x1c8)]={'getRevision':async({revisionId:_0x480ce4})=>(await this[_0x354578(0x1a5)](),await this[_0x354578(0x1ee)][_0x354578(0x1e1)](_0x480ce4)),'updateRevisions':async _0x10eb6d=>{const _0x40788e=_0x354578;await this[_0x40788e(0x1a5)]();const _0x274e1f=this[_0x40788e(0x1b8)][_0x40788e(0x1df)];if(_0x540830&&0x1===_0x10eb6d[_0x40788e(0x1b1)]&&_0x10eb6d[0x0]['id']===_0x274e1f['id'])return _0x10eb6d;for(const _0x1dc9bb of _0x10eb6d)_0x1dc9bb['id']===_0x274e1f['id']&&(_0x1dc9bb[_0x40788e(0x1f6)]=_0x1dc9bb[_0x40788e(0x212)]===_0x1dc9bb[_0x40788e(0x1fd)]);return this[_0x40788e(0x1ee)][_0x40788e(0x20e)](_0x10eb6d,this[_0x40788e(0x1db)])[_0x40788e(0x1ab)](_0x5965b6=>(this[_0x40788e(0x1db)]=_0x5965b6,_0x10eb6d))[_0x40788e(0x1d3)](_0x21bc24=>{const _0x5ed57a=_0x40788e;if(et(_0x21bc24)||_0x5ed57a(0x1f4)===_0x21bc24[_0x5ed57a(0x1a9)]&&void 0x0!==_0x21bc24[_0x5ed57a(0x20a)][_0x5ed57a(0x1a8)]){for(const _0x476a70 of _0x10eb6d){!this[_0x5ed57a(0x1b8)][_0x5ed57a(0x1ae)][_0x5ed57a(0x1e1)](_0x476a70['id'])||this[_0x5ed57a(0x1b8)][_0x5ed57a(0x204)](_0x476a70['id'],_0x476a70,!0x1);}if(et(_0x21bc24))throw _0x21bc24;return _0x10eb6d;}throw _0x21bc24;});}},this[_0x354578(0x1f9)](this[_0x354578(0x1ee)],_0x354578(0x1a1),(_0x240dd0,{revisionsData:_0x101323,requestId:_0x1d8e47})=>{const _0x15572c=_0x354578;Math[_0x15572c(0x20b)](..._0x101323[_0x15572c(0x1d5)](_0x316dcc=>_0x316dcc[_0x15572c(0x1fd)]))>this[_0x15572c(0x1cb)]()-0x1?this[_0x15572c(0x1be)]()[_0x15572c(0x1ab)](()=>{const _0x54428a=_0x15572c;this[_0x54428a(0x1a0)](_0x101323,_0x1d8e47);}):this[_0x15572c(0x1a0)](_0x101323,_0x1d8e47);});const {revisions:_0x2aa81b,requestId:_0xd065c5}=await this[_0x354578(0x1ee)][_0x354578(0x1b0)](_0x5daa40[_0x354578(0x1d9)]);_0x5daa40[_0x354578(0x1d7)](this),this[_0x354578(0x1db)]=_0xd065c5,await this[_0x354578(0x1e7)](_0x2aa81b);for(const _0x518849 of _0x2aa81b)this[_0x354578(0x1b8)][_0x354578(0x1ff)](_0x518849);this[_0x354578(0x1f9)](_0x35e90a,_0x354578(0x1b9),(_0x38679e,_0x30e2e1,_0x84e706)=>{const _0x376a66=_0x354578;_0x84e706&&(this[_0x376a66(0x1af)]=_0x35e90a[_0x376a66(0x1b2)],_0x38679e[_0x376a66(0x1fb)]());}),this[_0x354578(0x1b8)][_0x354578(0x1a6)](_0x354578(0x1ca))['to'](_0x5daa40,_0x354578(0x200),_0x5c674d=>_0x5c674d===_0x5517c0[_0x354578(0x1d6)]);}async[_0x25fd91(0x1eb)](){const _0x3c34f3=_0x25fd91,_0x283a9b=this[_0x3c34f3(0x1e9)][_0x3c34f3(0x1c1)][_0x3c34f3(0x1a2)](_0x254a0f),_0x1ff374=this[_0x3c34f3(0x1e9)][_0x3c34f3(0x1c1)][_0x3c34f3(0x1a2)](_0x39c768),_0x3f14be=async()=>{const _0x1c14fb=_0x3c34f3,_0x51ed31=this[_0x1c14fb(0x1b8)][_0x1c14fb(0x1df)],_0x5682b0=_0x51ed31['id'],_0x22ee6c=_0x5682b0!==_0x1ff374[_0x1c14fb(0x1f1)];if(_0x22ee6c){const _0x36e5f3=_0x1ff374[_0x1c14fb(0x1b2)]-this[_0x1c14fb(0x1af)],_0xf7e484=this[_0x1c14fb(0x1cb)]();this[_0x1c14fb(0x1b8)][_0x1c14fb(0x1b5)][_0x1c14fb(0x208)]();if(_0x51ed31[_0x1c14fb(0x1fd)]+_0x36e5f3!==_0xf7e484){const _0x352eeb=_0x51ed31[_0x1c14fb(0x212)]+_0x36e5f3,_0x42347f=this[_0x1c14fb(0x1e9)][_0x1c14fb(0x1c1)][_0x1c14fb(0x1a2)](_0x233a39),_0x38a6b2=this[_0x1c14fb(0x1b8)][_0x1c14fb(0x1cf)]({'revision':_0x51ed31,'from':_0x352eeb,'to':_0xf7e484});_0x38a6b2['id']=_0x51ed31['id'];const _0x1c13b8=_0x38a6b2[_0x1c14fb(0x1e3)][_0x1c14fb(0x1d5)](_0x57fe2e=>_0x42347f[_0x1c14fb(0x1c6)](_0x57fe2e));_0x51ed31[_0x1c14fb(0x1ba)]({..._0x38a6b2,'authors':_0x1c13b8},!0x0),this[_0x1c14fb(0x1b8)][_0x1c14fb(0x204)](_0x51ed31['id'],_0x38a6b2,!0x0);}this[_0x1c14fb(0x1b8)][_0x1c14fb(0x1bb)]=_0xf7e484,(_0x51ed31[_0x1c14fb(0x1fd)]===_0x51ed31[_0x1c14fb(0x212)]&&!this[_0x1c14fb(0x1b8)][_0x1c14fb(0x20d)][_0x1c14fb(0x1d2)](_0x5682b0)&&this[_0x1c14fb(0x1b8)][_0x1c14fb(0x1ae)][_0x1c14fb(0x20f)][_0x1c14fb(0x1fa)](_0x5682b0),this[_0x1c14fb(0x1b8)][_0x1c14fb(0x1c5)](_0xf7e484));}const {revisions:_0x5734e2,requestId:_0xc6f6fe}=await this[_0x1c14fb(0x1ee)][_0x1c14fb(0x1eb)](_0x283a9b[_0x1c14fb(0x1d9)],this[_0x1c14fb(0x1db)]);_0x22ee6c&&_0x5734e2[_0x1c14fb(0x1b1)]>0x0?_0x1ff374[_0x1c14fb(0x1ed)]():(await this[_0x1c14fb(0x1e7)](_0x5734e2),this[_0x1c14fb(0x1a0)](_0x5734e2,_0xc6f6fe),this[_0x1c14fb(0x1b8)][_0x1c14fb(0x1b7)]());};return _0x1ff374[_0x3c34f3(0x19f)]?_0x3f14be():new Promise((_0x53aa13,_0x56daf8)=>{const _0x15f484=_0x3c34f3;_0x1ff374[_0x15f484(0x1c0)](_0x15f484(0x1b9),()=>{const _0x8b8624=_0x15f484;_0x3f14be()[_0x8b8624(0x1ab)](_0x53aa13)[_0x8b8624(0x1d3)](_0x56daf8);});});}[_0x25fd91(0x1d8)](){const _0x317464=_0x25fd91;super[_0x317464(0x1d8)]();}async[_0x25fd91(0x1a5)](){const _0x12f12b=_0x25fd91;this[_0x12f12b(0x1ee)][_0x12f12b(0x202)]||await new Promise(_0x2b90c0=>{const _0x217b32=_0x12f12b;this[_0x217b32(0x1f9)](this[_0x217b32(0x1ee)],_0x217b32(0x201),_0x20b6a9=>{const _0x25b20c=_0x217b32;_0x20b6a9[_0x25b20c(0x1fb)](),_0x2b90c0();});});}[_0x25fd91(0x1cb)](){const _0x4544a4=_0x25fd91,_0x4a69f1=this[_0x4544a4(0x1e9)][_0x4544a4(0x1c1)][_0x4544a4(0x1a2)](_0x39c768)[_0x4544a4(0x215)][_0x4544a4(0x214)]()[_0x4544a4(0x1f7)]();for(const _0x585ffe of _0x4a69f1)if(_0x4544a4(0x1aa)!==_0x585ffe[_0x4544a4(0x1e2)]||_0x585ffe[_0x4544a4(0x20c)])return _0x585ffe[_0x4544a4(0x1e4)]+0x1;}[_0x25fd91(0x1be)](){const _0x3f8960=_0x25fd91,_0x56d07c=this[_0x3f8960(0x1e9)][_0x3f8960(0x1c1)][_0x3f8960(0x1a2)](_0x39c768);return new Promise(_0xcfb93b=>{const _0x405acc=_0x3f8960;_0x56d07c[_0x405acc(0x206)]?_0x56d07c[_0x405acc(0x1c0)](_0x405acc(0x1e5),()=>{const _0x4d476c=_0x405acc;_0xcfb93b(this[_0x4d476c(0x1cb)]());}):_0xcfb93b(this[_0x405acc(0x1cb)]());});}[_0x25fd91(0x1a0)](_0x3e8758,_0x550a02){const _0x7a776f=_0x25fd91,_0xf74b9e=this[_0x7a776f(0x1b8)][_0x7a776f(0x1ae)];this[_0x7a776f(0x1db)]=_0x550a02;for(const _0x49aad8 of _0x3e8758){const _0x1cdd10=_0xf74b9e[_0x7a776f(0x1e1)](_0x49aad8['id']);if(_0x1cdd10){if((_0x49aad8[_0x7a776f(0x212)]||_0x49aad8[_0x7a776f(0x1fd)])&&(_0x49aad8[_0x7a776f(0x1da)]=null),_0x1cdd10===this[_0x7a776f(0x1b8)][_0x7a776f(0x1df)]){const _0xa57172=Math[_0x7a776f(0x20b)](_0x1cdd10[_0x7a776f(0x1fd)],_0x49aad8[_0x7a776f(0x1fd)]),_0x332a5b=Math[_0x7a776f(0x20b)](_0x1cdd10[_0x7a776f(0x212)],_0x49aad8[_0x7a776f(0x212)]);let _0x48db16;_0x1cdd10[_0x7a776f(0x1fd)]===_0x49aad8[_0x7a776f(0x1fd)]&&_0x1cdd10[_0x7a776f(0x212)]===_0x49aad8[_0x7a776f(0x212)]?(_0x48db16=!0x0,this[_0x7a776f(0x1f2)](_0x49aad8)):_0x49aad8[_0x7a776f(0x1fd)]===_0xa57172&&_0x49aad8[_0x7a776f(0x212)]===_0x332a5b?_0x48db16=!0x1:(_0x1cdd10[_0x7a776f(0x1fd)]===_0xa57172&&_0x1cdd10[_0x7a776f(0x212)]===_0x332a5b||this[_0x7a776f(0x1de)]({'revision':_0x1cdd10,'from':_0x332a5b,'to':_0xa57172}),_0x48db16=!0x0),_0x48db16&&(delete _0x49aad8[_0x7a776f(0x212)],delete _0x49aad8[_0x7a776f(0x1fd)],delete _0x49aad8[_0x7a776f(0x1da)],delete _0x49aad8[_0x7a776f(0x1ec)],delete _0x49aad8[_0x7a776f(0x1e3)]);}this[_0x7a776f(0x1b8)][_0x7a776f(0x1f5)](_0x49aad8),this[_0x7a776f(0x1f2)](_0x49aad8);}else this[_0x7a776f(0x1b8)][_0x7a776f(0x1ff)](_0x49aad8);}const _0x40b9ca=_0xf74b9e[_0x7a776f(0x209)]();_0x40b9ca[_0x7a776f(0x1f7)]();for(let _0x5085cd=0x0;_0x5085cd<_0x40b9ca[_0x7a776f(0x1b1)]-0x1;_0x5085cd++){const _0x276a50=_0x40b9ca[_0x5085cd],_0x4a6d8e=_0x40b9ca[_0x5085cd+0x1];if(_0x276a50[_0x7a776f(0x212)]<_0x4a6d8e[_0x7a776f(0x1fd)]){const _0x9f63c9=_0x4a6d8e[_0x7a776f(0x1fd)],_0x39ea2a=Math[_0x7a776f(0x20b)](_0x9f63c9,_0x276a50[_0x7a776f(0x1fd)]);this[_0x7a776f(0x1de)]({'revision':_0x276a50,'from':_0x9f63c9,'to':_0x39ea2a});}}}[_0x25fd91(0x1de)]({revision:_0x2f8287,from:_0x375c03,to:_0x528c08}={}){const _0x29b426=_0x25fd91,_0x18a822=this[_0x29b426(0x1e9)][_0x29b426(0x1c1)][_0x29b426(0x1a2)](_0x233a39),_0x46b4c8=this[_0x29b426(0x1b8)][_0x29b426(0x1cf)]({'revision':_0x2f8287,'from':_0x375c03,'to':_0x528c08});_0x46b4c8[_0x29b426(0x1d1)]=_0x46b4c8[_0x29b426(0x1e3)][_0x29b426(0x1d5)](_0x428e0a=>_0x18a822[_0x29b426(0x1c6)](_0x428e0a)),_0x2f8287[_0x29b426(0x1ba)](_0x46b4c8);}[_0x25fd91(0x1f2)](_0x4bf326){const _0x3f45f=_0x25fd91,_0x1b5670={};_0x1b5670['id']=_0x4bf326['id'];for(const _0x1b8ae4 of Object[_0x3f45f(0x213)](_0x4bf326))'id'!==_0x1b8ae4&&(_0x1b5670[_0x1b8ae4]=void 0x0);this[_0x3f45f(0x1b8)][_0x3f45f(0x204)](_0x1b5670['id'],_0x1b5670,!0x0);}async[_0x25fd91(0x1e7)](_0x4eed41){const _0x1b4fb1=_0x25fd91,_0x47d82f=this[_0x1b4fb1(0x1e9)][_0x1b4fb1(0x1c1)][_0x1b4fb1(0x1a2)](_0x233a39),{connection:_0x422caa}=this[_0x1b4fb1(0x1e9)][_0x1b4fb1(0x1c1)][_0x1b4fb1(0x1a2)](_0x254a0f),_0x44b560=new Set();for(const _0x1b819d of _0x4eed41){for(const _0x489156 of _0x1b819d[_0x1b4fb1(0x1e3)])_0x420653(_0x489156);_0x1b819d[_0x1b4fb1(0x1c9)]&&_0x420653(_0x1b819d[_0x1b4fb1(0x1c9)]);}if(0x0===_0x44b560[_0x1b4fb1(0x1d0)])return;const _0x3bb27f=await _0x11c6bf[_0x1b4fb1(0x1bf)](_0x422caa,Array[_0x1b4fb1(0x1b4)](_0x44b560));for(const _0x419929 of _0x3bb27f)_0x47d82f[_0x1b4fb1(0x1c6)](_0x419929['id'])||_0x47d82f[_0x1b4fb1(0x1a3)](_0x419929);function _0x420653(_0x3a51bf){const _0x4631e7=_0x1b4fb1;_0x47d82f[_0x4631e7(0x1c6)](_0x3a51bf)||_0x44b560[_0x4631e7(0x1cc)](_0x3a51bf);}}}function et(_0x2480c1){const _0x41ec5c=_0x25fd91;return _0x2480c1[_0x41ec5c(0x1b3)][_0x41ec5c(0x1f0)](_0x41ec5c(0x1f3))||_0x2480c1[_0x41ec5c(0x1b3)][_0x41ec5c(0x1f0)](_0x41ec5c(0x1fc))||_0x2480c1[_0x41ec5c(0x1b3)][_0x41ec5c(0x1f0)](_0x41ec5c(0x1c2));}
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
var
|
|
23
|
+
var _0xea365=_0x41c8;function _0x41c8(_0x5eeb0c,_0x5de23b){var _0x519d75=_0x519d();return _0x41c8=function(_0x41c869,_0x2665e2){_0x41c869=_0x41c869-0xb7;var _0x519b87=_0x519d75[_0x41c869];return _0x519b87;},_0x41c8(_0x5eeb0c,_0x5de23b);}(function(_0x206eb1,_0x540ae0){var _0x5617fa=_0x41c8,_0x4183cb=_0x206eb1();while(!![]){try{var _0x45ae75=-parseInt(_0x5617fa(0xbd))/0x1+parseInt(_0x5617fa(0xc1))/0x2*(-parseInt(_0x5617fa(0xc6))/0x3)+parseInt(_0x5617fa(0xbe))/0x4+-parseInt(_0x5617fa(0xbb))/0x5*(-parseInt(_0x5617fa(0xbf))/0x6)+parseInt(_0x5617fa(0xb8))/0x7*(parseInt(_0x5617fa(0xc7))/0x8)+-parseInt(_0x5617fa(0xb7))/0x9*(-parseInt(_0x5617fa(0xc2))/0xa)+-parseInt(_0x5617fa(0xb9))/0xb;if(_0x45ae75===_0x540ae0)break;else _0x4183cb['push'](_0x4183cb['shift']());}catch(_0x40c8df){_0x4183cb['push'](_0x4183cb['shift']());}}}(_0x519d,0x61511));import{Plugin as _0x1c937f}from'ckeditor5/src/core.js';function _0x519d(){var _0x56eeef=['RevisionHistory','38AtwFKy','70mlwnnJ','RealTimeCollaborativeRevisionHistory','requires','isOfficialPlugin','29745aupued','40XOvCnJ','112833dCVDMa','669802pPCqxS','553960fjIdAV','isPremiumPlugin','1632385OGtdQx','pluginName','725999ZdsSOS','576840zvMQtd','12QZoKHj'];_0x519d=function(){return _0x56eeef;};return _0x519d();}import{CloudServicesRevisionHistoryAdapter as _0x114257}from'./realtimecollaborativerevisionhistory/cloudservicesrevisionhistoryadapter.js';import{RealTimeCollaborativeEditing as _0x6bf9c3}from'./realtimecollaborativeediting.js';export class RealTimeCollaborativeRevisionHistory extends _0x1c937f{static get[_0xea365(0xc4)](){var _0xa415a4=_0xea365;return[_0xa415a4(0xc0),_0x114257,_0x6bf9c3];}static get[_0xea365(0xbc)](){var _0x4c9276=_0xea365;return _0x4c9276(0xc3);}static get[_0xea365(0xc5)](){return!0x0;}static get[_0xea365(0xba)](){return!0x0;}}
|
|
@@ -20,5 +20,5 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
const
|
|
24
|
-
((()=>
|
|
23
|
+
const _0x4c3dc4=_0x2030;(function(_0x20fd40,_0x57d09c){const _0x2f3b17=_0x2030,_0x44b976=_0x20fd40();while(!![]){try{const _0x3e04d4=parseInt(_0x2f3b17(0xbb))/0x1*(parseInt(_0x2f3b17(0xb8))/0x2)+parseInt(_0x2f3b17(0xb5))/0x3*(-parseInt(_0x2f3b17(0xd4))/0x4)+parseInt(_0x2f3b17(0xd6))/0x5*(-parseInt(_0x2f3b17(0xe0))/0x6)+parseInt(_0x2f3b17(0xce))/0x7*(parseInt(_0x2f3b17(0xbc))/0x8)+parseInt(_0x2f3b17(0xc5))/0x9*(parseInt(_0x2f3b17(0xee))/0xa)+-parseInt(_0x2f3b17(0xe4))/0xb*(-parseInt(_0x2f3b17(0xdb))/0xc)+parseInt(_0x2f3b17(0xe2))/0xd;if(_0x3e04d4===_0x57d09c)break;else _0x44b976['push'](_0x44b976['shift']());}catch(_0x2db8a7){_0x44b976['push'](_0x44b976['shift']());}}}(_0x355c,0x508a6));import{Plugin as _0x3eb527}from'ckeditor5/src/core.js';import{User as _0xd0f1b,TrackChangesService as _0x9de638}from'@ckeditor/ckeditor-cloud-services-collaboration/src/services.js';import{WebSocketGateway as _0x1ef2f5}from'../realtimecollaborativeediting/websocketgateway.js';import{CloudServicesCommentsAdapter as _0x3f3f1e}from'../realtimecollaborativecomments/cloudservicescommentsadapter.js';function _0x355c(){const _0x1936fe=['getSuggestion','5vLFIIx','isConnected','attributes','add','values','95028HkRsvy','size','catch','state','TrackChangesEditing','3357594SrrrBa','find','2857608HWmkrZ','editor','11josRza','open','connect','isPremiumPlugin','delete','pluginName','suggestionUpdated','TrackChangesService','isOfficialPlugin','_waitForServiceReady','424280uyAKBE','init','get','originalSuggestionId','addUser','connection','message','data','collaboration.channelId','cloud-services-internal-error:\x20Not\x20connected.','1570047swxGoC','addToReconnectionStack','update','658726WKSOAG','from','_saved','2QsfWkj','472RafOSo','plugins','reconnect','then','getUser','startsWith','getMany','CloudServicesTrackChangesAdapter','connected','54VoErpp','off','requires','adapter','set','cloud-services-internal-error:\x20Request\x20timeout.','type','addSuggestionData','listenTo','32249JCbcWW','_trackChangesService','config','hasSuggestion','_bufferedRequests','_fetchMissingUsersForThreads','4zgYPrr'];_0x355c=function(){return _0x1936fe;};return _0x355c();}import{Users as _0x541988}from'ckeditor5-collaboration/src/collaboration-core.js';export class CloudServicesTrackChangesAdapter extends _0x3eb527{static [_0x4c3dc4(0xeb)]=/* #__PURE__ -- @preserve */
|
|
24
|
+
((()=>_0x9de638)());[_0x4c3dc4(0xd2)];[_0x4c3dc4(0xcf)];static get[_0x4c3dc4(0xc7)](){const _0x360d8e=_0x4c3dc4;return[_0x3f3f1e,_0x360d8e(0xdf),_0x1ef2f5];}static get[_0x4c3dc4(0xe9)](){const _0x488f90=_0x4c3dc4;return _0x488f90(0xc3);}static get[_0x4c3dc4(0xec)](){return!0x0;}static get[_0x4c3dc4(0xe7)](){return!0x0;}constructor(_0x2de4e8){const _0x4d6367=_0x4c3dc4;super(_0x2de4e8);const _0x353374=this[_0x4d6367(0xe3)][_0x4d6367(0xd0)][_0x4d6367(0xf0)](_0x4d6367(0xb3));this[_0x4d6367(0xd2)]=new Map(),this[_0x4d6367(0xcf)]=new CloudServicesTrackChangesAdapter[(_0x4d6367(0xeb))](_0x353374);}[_0x4c3dc4(0xef)](){const _0x156108=_0x4c3dc4,_0x35432c=this[_0x156108(0xe3)][_0x156108(0xbd)][_0x156108(0xf0)](_0x1ef2f5),_0x25f8e6=this[_0x156108(0xe3)][_0x156108(0xbd)][_0x156108(0xf0)](_0x156108(0xdf));return _0x25f8e6[_0x156108(0xc8)]={'getSuggestion':async _0x348c31=>{const _0x4f11fc=_0x156108;await this[_0x4f11fc(0xed)]();const _0x22a02e=await this[_0x4f11fc(0xcf)][_0x4f11fc(0xf0)](_0x348c31)[_0x4f11fc(0xdd)](k);return await this[_0x4f11fc(0xd3)]([_0x22a02e]),_0x22a02e;},'addSuggestion':async({id:_0x2042e2,type:_0x9c7370,data:_0x196582,originalSuggestionId:_0x3172e5,attributes:_0x55e9c9})=>{const _0x3bbbb5=_0x156108;await this[_0x3bbbb5(0xed)]();const _0x4c1aa1={'id':_0x2042e2,'type':_0x9c7370,'data':_0x196582,'originalSuggestionId':_0x3172e5,'attributes':_0x55e9c9},_0x31fb12=await this[_0x3bbbb5(0xcf)][_0x3bbbb5(0xd9)](_0x2042e2,_0x9c7370,_0x196582,_0x3172e5,_0x55e9c9)[_0x3bbbb5(0xdd)](_0x2109c6=>{if(et(_0x2109c6))return new Promise(_0x4f685d=>{const _0x3eb198=_0x2030;this[_0x3eb198(0xd2)][_0x3eb198(0xc9)](_0x2042e2,{'resolve':_0x4f685d,'suggestionData':_0x4c1aa1});});throw _0x2109c6;});return this[_0x3bbbb5(0xd2)][_0x3bbbb5(0xe8)](_0x2042e2),_0x31fb12;},'updateSuggestion':async(_0x2a1eb1,_0x101c0d)=>{const _0x3c86aa=_0x156108;if(await this[_0x3c86aa(0xed)](),_0x3c86aa(0xe5)!==_0x101c0d[_0x3c86aa(0xde)])return this[_0x3c86aa(0xcf)][_0x3c86aa(0xb7)](_0x2a1eb1,_0x101c0d)[_0x3c86aa(0xdd)](k);}},this[_0x156108(0xcd)](this[_0x156108(0xcf)],_0x156108(0xea),(_0x445b5f,_0x523680)=>{const _0x58da08=_0x156108;_0x25f8e6[_0x58da08(0xd1)](_0x523680['id'])&&(_0x25f8e6[_0x58da08(0xd5)](_0x523680['id'])[_0x58da08(0xd8)]=_0x523680[_0x58da08(0xd8)]);}),this[_0x156108(0xcf)][_0x156108(0xe6)](_0x35432c[_0x156108(0xf3)])[_0x156108(0xbf)](_0x145765=>(_0x35432c[_0x156108(0xb6)](this),this[_0x156108(0xd3)](_0x145765)[_0x156108(0xbf)](()=>{const _0x3ba339=_0x156108;for(const _0x2695c1 of _0x145765){_0x25f8e6[_0x3ba339(0xcc)](_0x2695c1)[_0x3ba339(0xba)]=!0x0;}})));}async[_0x4c3dc4(0xbe)](){const _0x28e5ef=_0x4c3dc4,_0x2dcb27=this[_0x28e5ef(0xe3)][_0x28e5ef(0xbd)][_0x28e5ef(0xf0)](_0x28e5ef(0xdf)),{connection:_0x184c54}=this[_0x28e5ef(0xe3)][_0x28e5ef(0xbd)][_0x28e5ef(0xf0)](_0x1ef2f5),_0x923d35=await this[_0x28e5ef(0xcf)][_0x28e5ef(0xe6)](_0x184c54);await this[_0x28e5ef(0xd3)](_0x923d35);for(const {suggestionData:_0x24d742,resolve:_0x5a7202}of this[_0x28e5ef(0xd2)][_0x28e5ef(0xda)]()){let _0xa11468=_0x923d35[_0x28e5ef(0xe1)](_0x25f5e0=>_0x25f5e0['id']===_0x24d742['id']);_0xa11468||(_0xa11468=await this[_0x28e5ef(0xcf)][_0x28e5ef(0xd9)](_0x24d742['id'],_0x24d742[_0x28e5ef(0xcb)],_0x24d742[_0x28e5ef(0xf5)],_0x24d742[_0x28e5ef(0xf1)])),_0x5a7202(_0xa11468);}for(const _0x4244a8 of _0x923d35)_0x2dcb27[_0x28e5ef(0xd1)](_0x4244a8['id'])||_0x2dcb27[_0x28e5ef(0xcc)](_0x4244a8);}async[_0x4c3dc4(0xed)](){const _0x524e3a=_0x4c3dc4;this[_0x524e3a(0xcf)][_0x524e3a(0xd7)]||await new Promise(_0xb7cd4e=>{const _0x4f3d67=_0x524e3a;this[_0x4f3d67(0xcd)](this[_0x4f3d67(0xcf)],_0x4f3d67(0xc4),_0x27f53a=>{const _0x8edb41=_0x4f3d67;_0x27f53a[_0x8edb41(0xc6)](),_0xb7cd4e();});});}async[_0x4c3dc4(0xd3)](_0x305feb){const _0x4e35b1=_0x4c3dc4,_0x1fc192=this[_0x4e35b1(0xe3)][_0x4e35b1(0xbd)][_0x4e35b1(0xf0)](_0x541988),{connection:_0x467158}=this[_0x4e35b1(0xe3)][_0x4e35b1(0xbd)][_0x4e35b1(0xf0)](_0x1ef2f5),_0x4fcce2=new Set();for(const {authorId:_0x544216}of _0x305feb)_0x1fc192[_0x4e35b1(0xc0)](_0x544216)||_0x4fcce2[_0x4e35b1(0xd9)](_0x544216);if(0x0===_0x4fcce2[_0x4e35b1(0xdc)])return;const _0x120e2c=await _0xd0f1b[_0x4e35b1(0xc2)](_0x467158,Array[_0x4e35b1(0xb9)](_0x4fcce2));for(const _0x513879 of _0x120e2c)_0x1fc192[_0x4e35b1(0xc0)](_0x513879['id'])||_0x1fc192[_0x4e35b1(0xf2)](_0x513879);}}function k(_0xb37226){if(et(_0xb37226))return new Promise(()=>{});throw _0xb37226;}function _0x2030(_0x53b2ed,_0x1e2d99){const _0x355c47=_0x355c();return _0x2030=function(_0x203058,_0x5e3f12){_0x203058=_0x203058-0xb3;let _0xfa7c4b=_0x355c47[_0x203058];return _0xfa7c4b;},_0x2030(_0x53b2ed,_0x1e2d99);}function et(_0x1fcf01){const _0x33903e=_0x4c3dc4;return _0x1fcf01[_0x33903e(0xf4)][_0x33903e(0xc1)](_0x33903e(0xb4))||_0x1fcf01[_0x33903e(0xf4)][_0x33903e(0xc1)](_0x33903e(0xca));}
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
var
|
|
23
|
+
var _0x55757b=_0x212f;function _0x212f(_0x15314e,_0x2a6670){var _0x47cabc=_0x47ca();return _0x212f=function(_0x212ff4,_0x3c5c82){_0x212ff4=_0x212ff4-0x131;var _0xc21b0a=_0x47cabc[_0x212ff4];return _0xc21b0a;},_0x212f(_0x15314e,_0x2a6670);}(function(_0x64df52,_0x38c091){var _0x1691b6=_0x212f,_0x3b3750=_0x64df52();while(!![]){try{var _0x219d68=-parseInt(_0x1691b6(0x13c))/0x1+-parseInt(_0x1691b6(0x132))/0x2+-parseInt(_0x1691b6(0x135))/0x3*(-parseInt(_0x1691b6(0x13d))/0x4)+-parseInt(_0x1691b6(0x139))/0x5*(-parseInt(_0x1691b6(0x137))/0x6)+-parseInt(_0x1691b6(0x13b))/0x7+parseInt(_0x1691b6(0x13e))/0x8+parseInt(_0x1691b6(0x13a))/0x9;if(_0x219d68===_0x38c091)break;else _0x3b3750['push'](_0x3b3750['shift']());}catch(_0x27dee8){_0x3b3750['push'](_0x3b3750['shift']());}}}(_0x47ca,0x867b9));import{Plugin as _0x28b5fe}from'ckeditor5/src/core.js';import{CloudServicesTrackChangesAdapter as _0x191992}from'./realtimecollaborativetrackchanges/cloudservicestrackchangesadapter.js';import{RealTimeCollaborativeComments as _0x3a65f6}from'./realtimecollaborativecomments.js';export class RealTimeCollaborativeTrackChanges extends _0x28b5fe{static get[_0x55757b(0x131)](){var _0x540397=_0x55757b;return[_0x3a65f6,_0x191992,_0x540397(0x136)];}static get[_0x55757b(0x138)](){var _0x78d352=_0x55757b;return _0x78d352(0x13f);}static get[_0x55757b(0x133)](){return!0x0;}static get[_0x55757b(0x134)](){return!0x0;}}function _0x47ca(){var _0x1d7b58=['RealTimeCollaborativeTrackChanges','requires','1329478WWjeCM','isOfficialPlugin','isPremiumPlugin','636ZqtfeZ','TrackChanges','241134KkkYsj','pluginName','65UUKGci','9706158SGhKPX','3124604wwSWmT','869542bHcnky','8060URCCDQ','4027160RxgLcw'];_0x47ca=function(){return _0x1d7b58;};return _0x47ca();}
|