@ckeditor/ckeditor5-real-time-collaboration 47.2.0-alpha.6 → 47.2.0-alpha.7
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
|
-
function
|
|
24
|
-
((()=>
|
|
23
|
+
const _0x14177f=_0xf776;(function(_0x517b56,_0x1092c1){const _0x6f7e=_0xf776,_0x126104=_0x517b56();while(!![]){try{const _0x5cd41c=parseInt(_0x6f7e(0xc7))/0x1*(-parseInt(_0x6f7e(0xc8))/0x2)+-parseInt(_0x6f7e(0xa8))/0x3+-parseInt(_0x6f7e(0xb3))/0x4*(parseInt(_0x6f7e(0x98))/0x5)+-parseInt(_0x6f7e(0xe0))/0x6*(-parseInt(_0x6f7e(0xcf))/0x7)+-parseInt(_0x6f7e(0xd6))/0x8*(parseInt(_0x6f7e(0xa6))/0x9)+-parseInt(_0x6f7e(0xd7))/0xa+-parseInt(_0x6f7e(0xa9))/0xb*(-parseInt(_0x6f7e(0xd5))/0xc);if(_0x5cd41c===_0x1092c1)break;else _0x126104['push'](_0x126104['shift']());}catch(_0x1412a4){_0x126104['push'](_0x126104['shift']());}}}(_0x555f,0xd6649));import{ContextPlugin as _0x1730b7}from'ckeditor5/src/core.js';import{DomEmitterMixin as _0x15f472,CKEditorError as _0x1d03a1}from'ckeditor5/src/utils.js';function _0x555f(){const _0x2155be=['3261357Ncsgpu','state','function','limitExceeded','token','_isBrowserOffline','reconnect','requires','set','has','2429632zRIqnu','_domEmitter','change:me','removeFromReconnectionStack','delete','cloudservices-reconnection-error','isOfficialPlugin','add','_shouldPluginsReconnect','_reconnect','CloudServices','from','cloudServices.requestTimeout','define','listenTo','connect','websocketgateway-missing-websocket-url','init','error','then','112iLxyht','12392ZMMZzz','offline','websocketgateway-plugin-already-registered','context','cloudServices.connectionTimeout','bind','_reconnectionStack','21SfsVhN','initialReconnectionInterval','DISCONNECTED','config','connection','connected','108xaitkN','816GklGeS','2183680cvkYhz','real-time-collaboration','WebSocketGateway','isPremiumPlugin','catch','cloudservices-init','CONNECTED','all','online','1454274iyrvQX','addToReconnectionStack','isInReconnectionStack','CONNECTING','10pYBAvL','destroy','websocketgateway-missing-token','plugins','get','constructor','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.','webSocketUrl','pluginName','Connected\x20users\x20limit\x20exceeded','code','disconnect','websocketgateway-invalid-plugin-interface','showWarning','28728aUTTil','stopListening','193941TeyZXB'];_0x555f=function(){return _0x2155be;};return _0x555f();}function _0xf776(_0x1b2a87,_0x50de37){const _0x555fc5=_0x555f();return _0xf776=function(_0xf77670,_0x1d2d03){_0xf77670=_0xf77670-0x95;let _0x3782a4=_0x555fc5[_0xf77670];return _0x3782a4;},_0xf776(_0x1b2a87,_0x50de37);}import{WebSocketGateway as _0x50bf30,WEB_SOCKET_GATEWAY_STATES as _0x282f7b}from'@ckeditor/ckeditor-cloud-services-collaboration/src/services.js';import{Notification as _0x1b4abc}from'ckeditor5/src/ui.js';export class WebSocketGateway extends _0x1730b7{static [_0x14177f(0xd9)]=/* #__PURE__ -- @preserve */
|
|
24
|
+
((()=>_0x50bf30)());static [_0x14177f(0xd0)]=0x3e8;[_0x14177f(0xd3)];[_0x14177f(0xce)];[_0x14177f(0xbb)];[_0x14177f(0xb4)];static get[_0x14177f(0xb0)](){const _0x3f69de=_0x14177f;return[_0x3f69de(0xbd),_0x1b4abc];}static get[_0x14177f(0xa0)](){const _0x98f043=_0x14177f;return _0x98f043(0xd9);}static get[_0x14177f(0xb9)](){return!0x0;}static get[_0x14177f(0xda)](){return!0x0;}constructor(_0x1b8fd0){const _0x38948f=_0x14177f;super(_0x1b8fd0),this[_0x38948f(0xb1)](_0x38948f(0xaa),_0x282f7b[_0x38948f(0xdd)]),this[_0x38948f(0xb1)](_0x38948f(0xae),!0x1),this[_0x38948f(0xce)]=new Set(),this[_0x38948f(0xbb)]=!0x1,this[_0x38948f(0xb4)]=new(_0x15f472())();}[_0x14177f(0xc4)](){const _0x3d333f=_0x14177f,_0x38b7d1=this[_0x3d333f(0xcb)],_0x3eca0a=_0x38b7d1[_0x3d333f(0x9b)][_0x3d333f(0x9c)](_0x3d333f(0xbd)),_0x33b83d=_0x38b7d1[_0x3d333f(0x9b)][_0x3d333f(0x9c)](_0x1b4abc);if(!_0x3eca0a[_0x3d333f(0xad)])throw new _0x1d03a1(_0x3d333f(0x9a),this);if(!_0x3eca0a[_0x3d333f(0x9f)])throw new _0x1d03a1(_0x3d333f(0xc3),this);return this[_0x3d333f(0xb4)][_0x3d333f(0xc1)](window,_0x3d333f(0xc9),()=>this[_0x3d333f(0xae)]=!0x0),this[_0x3d333f(0xb4)][_0x3d333f(0xc1)](window,_0x3d333f(0xdf),()=>this[_0x3d333f(0xae)]=!0x1),this[_0x3d333f(0xcb)][_0x3d333f(0xd2)][_0x3d333f(0xc0)](_0x3d333f(0xcc),0xa),this[_0x3d333f(0xcb)][_0x3d333f(0xd2)][_0x3d333f(0xc0)](_0x3d333f(0xbf),0x14),WebSocketGateway[_0x3d333f(0xd9)][_0x3d333f(0xc2)](_0x3eca0a[_0x3d333f(0xad)],_0x3eca0a[_0x3d333f(0x9f)],{'timeout':0x3e8*this[_0x3d333f(0xcb)][_0x3d333f(0xd2)][_0x3d333f(0x9c)](_0x3d333f(0xcc)),'requestTimeout':0x3e8*this[_0x3d333f(0xcb)][_0x3d333f(0xd2)][_0x3d333f(0x9c)](_0x3d333f(0xbf))})[_0x3d333f(0xc6)](_0x20eb76=>{const _0x4b4bb3=_0x3d333f;if(this[_0x4b4bb3(0xd3)]=_0x20eb76,this[_0x4b4bb3(0xcd)](_0x4b4bb3(0xaa))['to'](_0x20eb76,_0x4b4bb3(0xaa),this,_0x4b4bb3(0xae),(_0x29f082,_0x2eb42b)=>(_0x4b4bb3(0xd4)!==_0x29f082&&(this[_0x4b4bb3(0xbb)]=!0x0),_0x2eb42b||_0x29f082!==_0x282f7b[_0x4b4bb3(0xdd)]?_0x282f7b[_0x4b4bb3(0xd1)]:this[_0x4b4bb3(0xaa)]==_0x282f7b[_0x4b4bb3(0xd1)]&&this[_0x4b4bb3(0xbb)]?(this[_0x4b4bb3(0xbb)]=!0x1,this[_0x4b4bb3(0xbc)](),_0x282f7b[_0x4b4bb3(0x97)]):_0x282f7b[_0x4b4bb3(0xdd)])),this[_0x4b4bb3(0xd3)]['on'](_0x4b4bb3(0xc5),(_0x635d4d,_0x47e698)=>{const _0x3bc500=_0x4b4bb3;if(_0x3bc500(0xac)!==_0x47e698[_0x3bc500(0xa2)])throw console[_0x3bc500(0xc5)](_0x47e698),new _0x1d03a1(_0x3bc500(0xdc),null,{'originalError':_0x47e698});_0x33b83d[_0x3bc500(0xa5)](_0x3bc500(0x9e),{'title':_0x3bc500(0xa1),'namespace':_0x3bc500(0xd8)});}),!_0x20eb76['me'])return new Promise(_0x1ee0c8=>_0x20eb76['on'](_0x4b4bb3(0xb5),_0x1ee0c8));})[_0x3d333f(0xdb)](_0x1e6394=>{const _0x552e56=_0x3d333f;throw console[_0x552e56(0xc5)](_0x1e6394),new _0x1d03a1(_0x552e56(0xdc),null,{'originalError':_0x1e6394});});}[_0x14177f(0x95)](_0x3e7d86){const _0x22e9e2=_0x14177f;if(_0x22e9e2(0xab)!=typeof _0x3e7d86[_0x22e9e2(0xaf)])throw new _0x1d03a1(_0x22e9e2(0xa4),this);if(this[_0x22e9e2(0x96)](_0x3e7d86))throw new _0x1d03a1(_0x22e9e2(0xca),this,{'name':_0x3e7d86[_0x22e9e2(0x9d)][_0x22e9e2(0xa0)]});this[_0x22e9e2(0xce)][_0x22e9e2(0xba)](_0x3e7d86);}[_0x14177f(0xb6)](_0x33724b){const _0x432a8b=_0x14177f;this[_0x432a8b(0xce)][_0x432a8b(0xb7)](_0x33724b);}[_0x14177f(0x96)](_0x3a7d9a){const _0x312be4=_0x14177f;return this[_0x312be4(0xce)][_0x312be4(0xb2)](_0x3a7d9a);}[_0x14177f(0xbc)](){const _0x1e356e=_0x14177f;return this[_0x1e356e(0xd3)][_0x1e356e(0xaf)]()[_0x1e356e(0xc6)](()=>Promise[_0x1e356e(0xde)](Array[_0x1e356e(0xbe)](this[_0x1e356e(0xce)],_0x1440ad=>_0x1440ad[_0x1e356e(0xaf)]())))[_0x1e356e(0xc6)](()=>this[_0x1e356e(0xaa)]=_0x282f7b[_0x1e356e(0xdd)])[_0x1e356e(0xdb)](_0x5dbdc1=>{const _0x30f00f=_0x1e356e;throw console[_0x30f00f(0xc5)](_0x5dbdc1),new _0x1d03a1(_0x30f00f(0xb8),this[_0x30f00f(0xcb)]);});}[_0x14177f(0xa3)](){const _0x1568e8=_0x14177f;this[_0x1568e8(0xd3)]&&this[_0x1568e8(0xd3)][_0x1568e8(0xa3)](),this[_0x1568e8(0xaa)]=_0x282f7b[_0x1568e8(0xd1)],this[_0x1568e8(0xb4)][_0x1568e8(0xa7)]();}[_0x14177f(0x99)](){const _0x3bc341=_0x14177f;this[_0x3bc341(0xa3)](),super[_0x3bc341(0x99)]();}}
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
function
|
|
23
|
+
var _0x2e1826=_0x1754;function _0x3ff1(){var _0x46201d=['RealTimeCollaborativeEditing','2680381VmldWS','10PZkOGz','188BnVRsk','7211652SxDRqc','4231TRiSrU','3851442KbOBOJ','42nMcIeg','requires','isOfficialPlugin','9099009FaBHzA','30432RIIfbh','26JLcbpI','315paNOVM','209012jXKMgm','8ICCgfK','isPremiumPlugin','pluginName'];_0x3ff1=function(){return _0x46201d;};return _0x3ff1();}(function(_0x5cdff2,_0x21d68b){var _0x142f83=_0x1754,_0x2f7c02=_0x5cdff2();while(!![]){try{var _0x183df8=-parseInt(_0x142f83(0xc1))/0x1*(-parseInt(_0x142f83(0xbf))/0x2)+-parseInt(_0x142f83(0xc3))/0x3*(parseInt(_0x142f83(0xb8))/0x4)+-parseInt(_0x142f83(0xb7))/0x5*(-parseInt(_0x142f83(0xb5))/0x6)+parseInt(_0x142f83(0xc2))/0x7+-parseInt(_0x142f83(0xb9))/0x8*(-parseInt(_0x142f83(0xb4))/0x9)+-parseInt(_0x142f83(0xbe))/0xa*(-parseInt(_0x142f83(0xbd))/0xb)+-parseInt(_0x142f83(0xc0))/0xc*(parseInt(_0x142f83(0xb6))/0xd);if(_0x183df8===_0x21d68b)break;else _0x2f7c02['push'](_0x2f7c02['shift']());}catch(_0xae8c37){_0x2f7c02['push'](_0x2f7c02['shift']());}}}(_0x3ff1,0x8fb64));function _0x1754(_0x2f1cd7,_0x5f3f40){var _0x3ff184=_0x3ff1();return _0x1754=function(_0x1754df,_0x56c60b){_0x1754df=_0x1754df-0xb3;var _0xf4f121=_0x3ff184[_0x1754df];return _0xf4f121;},_0x1754(_0x2f1cd7,_0x5f3f40);}import{Plugin as _0x187c3e}from'ckeditor5/src/core.js';import{RealTimeCollaborationClient as _0x4bafdb}from'./realtimecollaborativeediting/realtimecollaborationclient.js';export class RealTimeCollaborativeEditing extends _0x187c3e{static get[_0x2e1826(0xc4)](){return[_0x4bafdb];}static get[_0x2e1826(0xbb)](){var _0x4d4614=_0x2e1826;return _0x4d4614(0xbc);}static get[_0x2e1826(0xb3)](){return!0x0;}static get[_0x2e1826(0xba)](){return!0x0;}}
|
|
@@ -20,5 +20,5 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
const
|
|
24
|
-
((()=>_0x4dcf60)());[_0x357d42(0xeb)];[_0x357d42(0xab)];[_0x357d42(0xbc)];[_0x357d42(0xd4)];static get[_0x357d42(0xf7)](){const _0x89fb6e=_0x357d42;return[_0x9ef977,_0x16ea2d,_0x89fb6e(0x106),_0x570c12,_0x37cab2];}static get[_0x357d42(0xb6)](){const _0x5ef2ab=_0x357d42;return _0x5ef2ab(0xc4);}static get[_0x357d42(0xe0)](){return!0x0;}static get[_0x357d42(0x100)](){return!0x0;}constructor(_0x5475b6){const _0x58058f=_0x357d42;super(_0x5475b6);const _0x245b1e=this[_0x58058f(0xe1)][_0x58058f(0xda)][_0x58058f(0xcf)](_0x58058f(0xe3));this[_0x58058f(0xeb)]=null,this[_0x58058f(0xab)]=this[_0x58058f(0xe1)][_0x58058f(0xf2)][_0x58058f(0xcf)](_0x58058f(0xb4)),this[_0x58058f(0xbc)]=new CloudServicesRevisionHistoryAdapter[(_0x58058f(0xe7))](_0x245b1e);}async[_0x357d42(0xdc)](){const _0x17feb2=_0x357d42,_0x3cf4cb=this[_0x17feb2(0xe1)][_0x17feb2(0xf2)][_0x17feb2(0xcf)](_0x16ea2d),_0x3e0f4e=_0x3cf4cb[_0x17feb2(0xd3)],_0x24bf53=this[_0x17feb2(0xe1)][_0x17feb2(0xf2)][_0x17feb2(0xcf)](_0x9ef977);this[_0x17feb2(0xab)][_0x17feb2(0xb8)]({'history':_0x3e0f4e,'getLatestVersion':()=>this[_0x17feb2(0xa7)](),'getCurrentRevisionId':()=>_0x3cf4cb[_0x17feb2(0x110)]});const _0x1a38ea=this[_0x17feb2(0xe1)][_0x17feb2(0xda)][_0x17feb2(0xcf)](_0x17feb2(0x101))||_0x55ff7e,_0x3b6988=await _0x1abcaa[_0x17feb2(0xfa)](_0x24bf53[_0x17feb2(0xc5)],_0x1a38ea);this[_0x17feb2(0xe1)][_0x17feb2(0xf2)][_0x17feb2(0xcf)](_0x17feb2(0x106))[_0x17feb2(0xb2)]={'getRevision':async({revisionId:_0x13b2bb})=>(await this[_0x17feb2(0xff)](),await this[_0x17feb2(0xbc)][_0x17feb2(0x114)](_0x13b2bb)),'updateRevisions':async _0x188161=>{const _0x2bd9a1=_0x17feb2;await this[_0x2bd9a1(0xff)]();const _0x56ff5c=this[_0x2bd9a1(0xab)][_0x2bd9a1(0xdd)];if(_0x3b6988&&0x1===_0x188161[_0x2bd9a1(0xcc)]&&_0x188161[0x0]['id']===_0x56ff5c['id'])return _0x188161;for(const _0x3e4998 of _0x188161)_0x3e4998['id']===_0x56ff5c['id']&&(_0x3e4998[_0x2bd9a1(0xa6)]=_0x3e4998[_0x2bd9a1(0xed)]===_0x3e4998[_0x2bd9a1(0xc8)]);return this[_0x2bd9a1(0xbc)][_0x2bd9a1(0xf5)](_0x188161,this[_0x2bd9a1(0xeb)])[_0x2bd9a1(0xc7)](_0x348fdf=>(this[_0x2bd9a1(0xeb)]=_0x348fdf,_0x188161))[_0x2bd9a1(0x102)](_0x3b213b=>{const _0x25c306=_0x2bd9a1;if(q(_0x3b213b)||_0x25c306(0xc6)===_0x3b213b[_0x25c306(0xb1)]&&void 0x0!==_0x3b213b[_0x25c306(0xbf)][_0x25c306(0xb0)]){for(const _0x5be46f of _0x188161){!this[_0x25c306(0xab)][_0x25c306(0xe5)][_0x25c306(0x114)](_0x5be46f['id'])||this[_0x25c306(0xab)][_0x25c306(0xce)](_0x5be46f['id'],_0x5be46f,!0x1);}if(q(_0x3b213b))throw _0x3b213b;return _0x188161;}throw _0x3b213b;});}},this[_0x17feb2(0xa9)](this[_0x17feb2(0xbc)],_0x17feb2(0xe6),(_0x51bf8d,{revisionsData:_0x57f3e4,requestId:_0x471517})=>{const _0x6e5e42=_0x17feb2;Math[_0x6e5e42(0xbd)](..._0x57f3e4[_0x6e5e42(0xf3)](_0x39d5a3=>_0x39d5a3[_0x6e5e42(0xc8)]))>this[_0x6e5e42(0xbb)]()-0x1?this[_0x6e5e42(0xa7)]()[_0x6e5e42(0xc7)](()=>{const _0x2f1c3b=_0x6e5e42;this[_0x2f1c3b(0x107)](_0x57f3e4,_0x471517);}):this[_0x6e5e42(0x107)](_0x57f3e4,_0x471517);});const {revisions:_0x3fda5d,requestId:_0x3eea6f}=await this[_0x17feb2(0xbc)][_0x17feb2(0xf6)](_0x24bf53[_0x17feb2(0xc5)]);_0x24bf53[_0x17feb2(0x10e)](this),this[_0x17feb2(0xeb)]=_0x3eea6f,await this[_0x17feb2(0xb3)](_0x3fda5d);for(const _0x192d3e of _0x3fda5d)this[_0x17feb2(0xab)][_0x17feb2(0xe4)](_0x192d3e);this[_0x17feb2(0xa9)](_0x3cf4cb,_0x17feb2(0xd5),(_0x1cf40d,_0x59daca,_0x59e1a4)=>{const _0x16bab5=_0x17feb2;_0x59e1a4&&(this[_0x16bab5(0xd4)]=_0x3cf4cb[_0x16bab5(0xa4)],_0x1cf40d[_0x16bab5(0x104)]());}),this[_0x17feb2(0xab)][_0x17feb2(0xa8)](_0x17feb2(0xbe))['to'](_0x24bf53,_0x17feb2(0xe9),_0x25aa7a=>_0x25aa7a===_0x197597[_0x17feb2(0x10a)]);}async[_0x357d42(0xee)](){const _0x2033eb=_0x357d42,_0x596797=this[_0x2033eb(0xe1)][_0x2033eb(0xf2)][_0x2033eb(0xcf)](_0x9ef977),_0x3d0274=this[_0x2033eb(0xe1)][_0x2033eb(0xf2)][_0x2033eb(0xcf)](_0x16ea2d),_0x2aa899=async()=>{const _0x3cc139=_0x2033eb,_0x3aad62=this[_0x3cc139(0xab)][_0x3cc139(0xdd)],_0x5287c7=_0x3aad62['id'],_0x2bbe07=_0x5287c7!==_0x3d0274[_0x3cc139(0x110)];if(_0x2bbe07){const _0x3c4f55=_0x3d0274[_0x3cc139(0xa4)]-this[_0x3cc139(0xd4)],_0x45b9aa=this[_0x3cc139(0xbb)]();this[_0x3cc139(0xab)][_0x3cc139(0xd2)][_0x3cc139(0xf0)]();if(_0x3aad62[_0x3cc139(0xc8)]+_0x3c4f55!==_0x45b9aa){const _0x2d7f70=_0x3aad62[_0x3cc139(0xed)]+_0x3c4f55,_0x36dd93=this[_0x3cc139(0xe1)][_0x3cc139(0xf2)][_0x3cc139(0xcf)](_0x37cab2),_0x1e5c72=this[_0x3cc139(0xab)][_0x3cc139(0x10b)]({'revision':_0x3aad62,'from':_0x2d7f70,'to':_0x45b9aa});_0x1e5c72['id']=_0x3aad62['id'];const _0x3a47a5=_0x1e5c72[_0x3cc139(0xec)][_0x3cc139(0xf3)](_0x14ae63=>_0x36dd93[_0x3cc139(0x108)](_0x14ae63));_0x3aad62[_0x3cc139(0xaf)]({..._0x1e5c72,'authors':_0x3a47a5},!0x0),this[_0x3cc139(0xab)][_0x3cc139(0xce)](_0x3aad62['id'],_0x1e5c72,!0x0);}this[_0x3cc139(0xab)][_0x3cc139(0x115)]=_0x45b9aa,(_0x3aad62[_0x3cc139(0xc8)]===_0x3aad62[_0x3cc139(0xed)]&&!this[_0x3cc139(0xab)][_0x3cc139(0xa3)][_0x3cc139(0xe2)](_0x5287c7)&&this[_0x3cc139(0xab)][_0x3cc139(0xe5)][_0x3cc139(0x113)][_0x3cc139(0xd1)](_0x5287c7),this[_0x3cc139(0xab)][_0x3cc139(0xfe)](_0x45b9aa));}const {revisions:_0x31f1b7,requestId:_0x460394}=await this[_0x3cc139(0xbc)][_0x3cc139(0xee)](_0x596797[_0x3cc139(0xc5)],this[_0x3cc139(0xeb)]);_0x2bbe07&&_0x31f1b7[_0x3cc139(0xcc)]>0x0?_0x3d0274[_0x3cc139(0xa5)]():(await this[_0x3cc139(0xb3)](_0x31f1b7),this[_0x3cc139(0x107)](_0x31f1b7,_0x460394),this[_0x3cc139(0xab)][_0x3cc139(0xc9)]());};return _0x3d0274[_0x2033eb(0xc0)]?_0x2aa899():new Promise((_0x2c6dd9,_0x2c566c)=>{const _0x3fc0db=_0x2033eb;_0x3d0274[_0x3fc0db(0xef)](_0x3fc0db(0xd5),()=>{const _0xb8f66b=_0x3fc0db;_0x2aa899()[_0xb8f66b(0xc7)](_0x2c6dd9)[_0xb8f66b(0x102)](_0x2c566c);});});}[_0x357d42(0xf8)](){const _0xc6867d=_0x357d42;super[_0xc6867d(0xf8)]();}async[_0x357d42(0xff)](){const _0x40fe89=_0x357d42;this[_0x40fe89(0xbc)][_0x40fe89(0xac)]||await new Promise(_0x43ca05=>{const _0x82749e=_0x40fe89;this[_0x82749e(0xa9)](this[_0x82749e(0xbc)],_0x82749e(0xad),_0x36ff79=>{const _0x4f7fd2=_0x82749e;_0x36ff79[_0x4f7fd2(0x104)](),_0x43ca05();});});}[_0x357d42(0xbb)](){const _0x5b35af=_0x357d42,_0x4295f0=this[_0x5b35af(0xe1)][_0x5b35af(0xf2)][_0x5b35af(0xcf)](_0x16ea2d)[_0x5b35af(0xd3)][_0x5b35af(0xea)]()[_0x5b35af(0xb9)]();for(const _0x37bd07 of _0x4295f0)if(_0x5b35af(0xd8)!==_0x37bd07[_0x5b35af(0xd7)]||_0x37bd07[_0x5b35af(0x10f)])return _0x37bd07[_0x5b35af(0xfc)]+0x1;}[_0x357d42(0xa7)](){const _0x1957cc=_0x357d42,_0x1e8919=this[_0x1957cc(0xe1)][_0x1957cc(0xf2)][_0x1957cc(0xcf)](_0x16ea2d);return new Promise(_0x45790e=>{const _0x3f67f1=_0x1957cc;_0x1e8919[_0x3f67f1(0x10c)]?_0x1e8919[_0x3f67f1(0xef)](_0x3f67f1(0xd9),()=>{const _0x2d6424=_0x3f67f1;_0x45790e(this[_0x2d6424(0xbb)]());}):_0x45790e(this[_0x3f67f1(0xbb)]());});}[_0x357d42(0x107)](_0x1cdc2b,_0x576557){const _0x51b60c=_0x357d42,_0x17e43d=this[_0x51b60c(0xab)][_0x51b60c(0xe5)];this[_0x51b60c(0xeb)]=_0x576557;for(const _0x325089 of _0x1cdc2b){const _0x344591=_0x17e43d[_0x51b60c(0x114)](_0x325089['id']);if(_0x344591){if((_0x325089[_0x51b60c(0xed)]||_0x325089[_0x51b60c(0xc8)])&&(_0x325089[_0x51b60c(0xf9)]=null),_0x344591===this[_0x51b60c(0xab)][_0x51b60c(0xdd)]){const _0x17b209=Math[_0x51b60c(0xbd)](_0x344591[_0x51b60c(0xc8)],_0x325089[_0x51b60c(0xc8)]),_0x483213=Math[_0x51b60c(0xbd)](_0x344591[_0x51b60c(0xed)],_0x325089[_0x51b60c(0xed)]);let _0x4064e2;_0x344591[_0x51b60c(0xc8)]===_0x325089[_0x51b60c(0xc8)]&&_0x344591[_0x51b60c(0xed)]===_0x325089[_0x51b60c(0xed)]?(_0x4064e2=!0x0,this[_0x51b60c(0xde)](_0x325089)):_0x325089[_0x51b60c(0xc8)]===_0x17b209&&_0x325089[_0x51b60c(0xed)]===_0x483213?_0x4064e2=!0x1:(_0x344591[_0x51b60c(0xc8)]===_0x17b209&&_0x344591[_0x51b60c(0xed)]===_0x483213||this[_0x51b60c(0xfb)]({'revision':_0x344591,'from':_0x483213,'to':_0x17b209}),_0x4064e2=!0x0),_0x4064e2&&(delete _0x325089[_0x51b60c(0xed)],delete _0x325089[_0x51b60c(0xc8)],delete _0x325089[_0x51b60c(0xf9)],delete _0x325089[_0x51b60c(0xd6)],delete _0x325089[_0x51b60c(0xec)]);}this[_0x51b60c(0xab)][_0x51b60c(0xba)](_0x325089),this[_0x51b60c(0xde)](_0x325089);}else this[_0x51b60c(0xab)][_0x51b60c(0xe4)](_0x325089);}const _0x584d65=_0x17e43d[_0x51b60c(0x105)]();_0x584d65[_0x51b60c(0xb9)]();for(let _0x10c721=0x0;_0x10c721<_0x584d65[_0x51b60c(0xcc)]-0x1;_0x10c721++){const _0x41dc7f=_0x584d65[_0x10c721],_0x8c7395=_0x584d65[_0x10c721+0x1];if(_0x41dc7f[_0x51b60c(0xed)]<_0x8c7395[_0x51b60c(0xc8)]){const _0x1619bd=_0x8c7395[_0x51b60c(0xc8)],_0x595d30=Math[_0x51b60c(0xbd)](_0x1619bd,_0x41dc7f[_0x51b60c(0xc8)]);this[_0x51b60c(0xfb)]({'revision':_0x41dc7f,'from':_0x1619bd,'to':_0x595d30});}}}[_0x357d42(0xfb)]({revision:_0x273a0c,from:_0x2866d3,to:_0x346022}={}){const _0x16fd97=_0x357d42,_0x3da2d1=this[_0x16fd97(0xe1)][_0x16fd97(0xf2)][_0x16fd97(0xcf)](_0x37cab2),_0x507904=this[_0x16fd97(0xab)][_0x16fd97(0x10b)]({'revision':_0x273a0c,'from':_0x2866d3,'to':_0x346022});_0x507904[_0x16fd97(0xca)]=_0x507904[_0x16fd97(0xec)][_0x16fd97(0xf3)](_0x56c07e=>_0x3da2d1[_0x16fd97(0x108)](_0x56c07e)),_0x273a0c[_0x16fd97(0xaf)](_0x507904);}[_0x357d42(0xde)](_0x3f5de1){const _0x1e0819=_0x357d42,_0x54a575={};_0x54a575['id']=_0x3f5de1['id'];for(const _0x28e2ee of Object[_0x1e0819(0xc1)](_0x3f5de1))'id'!==_0x28e2ee&&(_0x54a575[_0x28e2ee]=void 0x0);this[_0x1e0819(0xab)][_0x1e0819(0xce)](_0x54a575['id'],_0x54a575,!0x0);}async[_0x357d42(0xb3)](_0x598f3a){const _0x304b9f=_0x357d42,_0x3e229e=this[_0x304b9f(0xe1)][_0x304b9f(0xf2)][_0x304b9f(0xcf)](_0x37cab2),{connection:_0x35a5e2}=this[_0x304b9f(0xe1)][_0x304b9f(0xf2)][_0x304b9f(0xcf)](_0x9ef977),_0x16e7c1=new Set();for(const _0x41b728 of _0x598f3a){for(const _0x5f4a48 of _0x41b728[_0x304b9f(0xec)])_0x562f86(_0x5f4a48);_0x41b728[_0x304b9f(0x109)]&&_0x562f86(_0x41b728[_0x304b9f(0x109)]);}if(0x0===_0x16e7c1[_0x304b9f(0xc2)])return;const _0x4792bd=await _0x30dc41[_0x304b9f(0xdf)](_0x35a5e2,Array[_0x304b9f(0xc3)](_0x16e7c1));for(const _0x31aaa7 of _0x4792bd)_0x3e229e[_0x304b9f(0x108)](_0x31aaa7['id'])||_0x3e229e[_0x304b9f(0xcd)](_0x31aaa7);function _0x562f86(_0x4a3465){const _0x27f2d7=_0x304b9f;_0x3e229e[_0x27f2d7(0x108)](_0x4a3465)||_0x16e7c1[_0x27f2d7(0xcb)](_0x4a3465);}}}function _0xaca0(_0x4d3fed,_0x5f2c02){const _0x8f761c=_0x8f76();return _0xaca0=function(_0xaca07b,_0x1d70b7){_0xaca07b=_0xaca07b-0xa3;let _0x535a22=_0x8f761c[_0xaca07b];return _0x535a22;},_0xaca0(_0x4d3fed,_0x5f2c02);}function q(_0x32a3c0){const _0x44c649=_0x357d42;return _0x32a3c0[_0x44c649(0xb7)][_0x44c649(0xaa)](_0x44c649(0xb5))||_0x32a3c0[_0x44c649(0xb7)][_0x44c649(0xaa)](_0x44c649(0xfd))||_0x32a3c0[_0x44c649(0xb7)][_0x44c649(0xaa)](_0x44c649(0xdb));}
|
|
23
|
+
const _0x45743e=_0x21cf;(function(_0x3b3c28,_0xbe9521){const _0x44f725=_0x21cf,_0x4ab8d7=_0x3b3c28();while(!![]){try{const _0x3b9c88=parseInt(_0x44f725(0x172))/0x1+-parseInt(_0x44f725(0x130))/0x2+parseInt(_0x44f725(0x14d))/0x3+parseInt(_0x44f725(0x163))/0x4*(-parseInt(_0x44f725(0x14f))/0x5)+parseInt(_0x44f725(0x133))/0x6*(parseInt(_0x44f725(0x16b))/0x7)+parseInt(_0x44f725(0x15a))/0x8+-parseInt(_0x44f725(0x152))/0x9;if(_0x3b9c88===_0xbe9521)break;else _0x4ab8d7['push'](_0x4ab8d7['shift']());}catch(_0x484d1d){_0x4ab8d7['push'](_0x4ab8d7['shift']());}}}(_0x57c3,0xf14fa));function _0x21cf(_0x46eeb8,_0x305d58){const _0x57c30d=_0x57c3();return _0x21cf=function(_0x21cfd9,_0x26add8){_0x21cfd9=_0x21cfd9-0x116;let _0x3f0c5a=_0x57c30d[_0x21cfd9];return _0x3f0c5a;},_0x21cf(_0x46eeb8,_0x305d58);}import{Plugin as _0x1eefcd}from'ckeditor5/src/core.js';function _0x57c3(){const _0x198742=['624opaAXj','max','RevisionTracker','_waitForServiceReady','addUser','isOfficialPlugin','connection','once','CloudServicesRevisionHistoryAdapter','listenTo','marker','_getLatestVersionFromServerOperations','off','pluginName','type','repository','sessionId','cloudServices.bundleVersion','CONNECTED','buildRevisionData','_createCurrentRevision','_fetchMissingUsers','message','_handleReconnectionError','config','isConnected','1009017aUauMX','currentRevision','245vDtlbZ','adapter','isPremiumPlugin','7244451XFPRzf','setSource','has','plugins','_startingVersion','length','fromVersion','destroy','10190136KxAIbt','size','reInit','getRevisions','revisionsUpdated','_update','connected','map','_revisionHistoryService','140936GzAICu','getRevision','_preventResendingRevisionData','_oldOffset','add','isEnabled','authorsIds','_isConnected','117677yXGEBE','remove','_offset','_revisionDataBuilder','bind','RevisionHistoryService','_fixRevision','521780yarOlZ','isBundleUploaded','keys','requires','creatorId','RevisionHistory','cloud-services-internal-error:\x20Not\x20connected.','getUser','addToReconnectionStack','get','createdAt','addRevisionData','toVersion','catch','editor','_bufferedUpdates','from','reconnect','data','baseVersion','_revisions','cloud-services-internal-error:\x20Revision\x20History\x20Service\x20is\x20not\x20connected.','_isPendingUpdate','serverHistory','_revisionTracker','getOperations','_getLatestVersion','_handleRevisionsUpdate','code','change:_isPendingUpdate','affectsData','reverse','then','updateRevisions','wrongRequestId','init','change:_isConnected','startsWith','setRevisionData','collaboration.channelId','sendBufferedUpdates','diffData','authors','_bufferUpdate','state','getMany','cloud-services-internal-error:\x20Request\x20timeout.','400','connect','720830NfVIaD','_lastRequestId','isEmptyCurrent'];_0x57c3=function(){return _0x198742;};return _0x57c3();}import{version as _0x81cf1b}from'ckeditor5/src/utils.js';import{Users as _0x4ad3e8}from'ckeditor5-collaboration/src/collaboration-core.js';import{RealTimeCollaborationClient as _0x149cc8}from'../realtimecollaborativeediting/realtimecollaborationclient.js';import{WebSocketGateway as _0x1f6cad}from'../realtimecollaborativeediting/websocketgateway.js';import{Sessions as _0xbb25e2}from'../realtimecollaborativeediting/sessions.js';import{EditorService as _0x1e35b9,RevisionHistoryService as _0x400b43,User as _0x353e48,WEB_SOCKET_GATEWAY_STATES as _0x29c495}from'@ckeditor/ckeditor-cloud-services-collaboration/src/services.js';export class CloudServicesRevisionHistoryAdapter extends _0x1eefcd{static [_0x45743e(0x170)]=/* #__PURE__ -- @preserve */
|
|
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));}
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
var
|
|
23
|
+
var _0xeb437f=_0x399a;function _0x399a(_0x34c894,_0x18b6e){var _0x2f7d27=_0x2f7d();return _0x399a=function(_0x399a9f,_0x3e3e9b){_0x399a9f=_0x399a9f-0x76;var _0x2acfc=_0x2f7d27[_0x399a9f];return _0x2acfc;},_0x399a(_0x34c894,_0x18b6e);}(function(_0x22da0e,_0x3a159e){var _0xdcf946=_0x399a,_0x508812=_0x22da0e();while(!![]){try{var _0x18ee5e=parseInt(_0xdcf946(0x81))/0x1+parseInt(_0xdcf946(0x83))/0x2+parseInt(_0xdcf946(0x7b))/0x3*(-parseInt(_0xdcf946(0x7c))/0x4)+parseInt(_0xdcf946(0x80))/0x5*(-parseInt(_0xdcf946(0x82))/0x6)+parseInt(_0xdcf946(0x7a))/0x7+-parseInt(_0xdcf946(0x76))/0x8+parseInt(_0xdcf946(0x79))/0x9;if(_0x18ee5e===_0x3a159e)break;else _0x508812['push'](_0x508812['shift']());}catch(_0x264bb2){_0x508812['push'](_0x508812['shift']());}}}(_0x2f7d,0x5a769));function _0x2f7d(){var _0x1bb518=['5347512WTkDKf','RevisionHistory','isPremiumPlugin','11014020EynqUB','6090GqTGFz','11247WkXBmq','536sNQtyi','isOfficialPlugin','RealTimeCollaborativeRevisionHistory','pluginName','464160nbNyok','147840OljvUi','6ypVETK','523368zBMSwL','requires'];_0x2f7d=function(){return _0x1bb518;};return _0x2f7d();}import{Plugin as _0x56ce90}from'ckeditor5/src/core.js';import{CloudServicesRevisionHistoryAdapter as _0x65d3c4}from'./realtimecollaborativerevisionhistory/cloudservicesrevisionhistoryadapter.js';import{RealTimeCollaborativeEditing as _0x34ef9f}from'./realtimecollaborativeediting.js';export class RealTimeCollaborativeRevisionHistory extends _0x56ce90{static get[_0xeb437f(0x84)](){var _0x8ca849=_0xeb437f;return[_0x8ca849(0x77),_0x65d3c4,_0x34ef9f];}static get[_0xeb437f(0x7f)](){var _0x473605=_0xeb437f;return _0x473605(0x7e);}static get[_0xeb437f(0x7d)](){return!0x0;}static get[_0xeb437f(0x78)](){return!0x0;}}
|
|
@@ -20,5 +20,5 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
const
|
|
24
|
-
((()=>
|
|
23
|
+
const _0x48f38c=_0xe237;(function(_0x6f693b,_0x2a0f50){const _0x1a0a3d=_0xe237,_0x3a1c18=_0x6f693b();while(!![]){try{const _0x20f0e1=parseInt(_0x1a0a3d(0xbc))/0x1+-parseInt(_0x1a0a3d(0xb3))/0x2*(parseInt(_0x1a0a3d(0xe2))/0x3)+parseInt(_0x1a0a3d(0xc3))/0x4*(parseInt(_0x1a0a3d(0xbd))/0x5)+-parseInt(_0x1a0a3d(0xc1))/0x6+-parseInt(_0x1a0a3d(0xb6))/0x7*(parseInt(_0x1a0a3d(0xe9))/0x8)+-parseInt(_0x1a0a3d(0xdb))/0x9*(-parseInt(_0x1a0a3d(0xbe))/0xa)+-parseInt(_0x1a0a3d(0xb9))/0xb*(-parseInt(_0x1a0a3d(0xd5))/0xc);if(_0x20f0e1===_0x2a0f50)break;else _0x3a1c18['push'](_0x3a1c18['shift']());}catch(_0x137cda){_0x3a1c18['push'](_0x3a1c18['shift']());}}}(_0x5ddc,0xeb471));import{Plugin as _0x5f0048}from'ckeditor5/src/core.js';import{User as _0x42cd4e,TrackChangesService as _0x1744d7}from'@ckeditor/ckeditor-cloud-services-collaboration/src/services.js';import{WebSocketGateway as _0x141cbc}from'../realtimecollaborativeediting/websocketgateway.js';function _0x5ddc(){const _0x435863=['catch','suggestionUpdated','config','469646vWtcJa','listenTo','originalSuggestionId','168yclQeU','getMany','addToReconnectionStack','3751132lvCdQc','plugins','TrackChangesEditing','859613mfLCDl','7764745nAEXrP','10wYpzio','update','from','5872080HXbcni','connection','4swDSil','isConnected','addUser','size','CloudServicesTrackChangesAdapter','data','adapter','startsWith','get','then','attributes','set','delete','message','getUser','cloud-services-internal-error:\x20Request\x20timeout.','addSuggestionData','pluginName','24KXoWzL','off','values','connect','requires','state','1849644NLMfVL','editor','_fetchMissingUsersForThreads','hasSuggestion','type','_bufferedRequests','getSuggestion','9ObmTsr','cloud-services-internal-error:\x20Not\x20connected.','add','collaboration.channelId','connected','_saved','_trackChangesService','217752MrRHfp','find','open','_waitForServiceReady','init','TrackChangesService','isPremiumPlugin','isOfficialPlugin','reconnect'];_0x5ddc=function(){return _0x435863;};return _0x5ddc();}function _0xe237(_0x20cd0f,_0x10326e){const _0x5ddcf9=_0x5ddc();return _0xe237=function(_0xe237bb,_0x39ae41){_0xe237bb=_0xe237bb-0xa8;let _0x1a4c9f=_0x5ddcf9[_0xe237bb];return _0x1a4c9f;},_0xe237(_0x20cd0f,_0x10326e);}import{CloudServicesCommentsAdapter as _0x228794}from'../realtimecollaborativecomments/cloudservicescommentsadapter.js';import{Users as _0x5a492b}from'ckeditor5-collaboration/src/collaboration-core.js';export class CloudServicesTrackChangesAdapter extends _0x5f0048{static [_0x48f38c(0xac)]=/* #__PURE__ -- @preserve */
|
|
24
|
+
((()=>_0x1744d7)());[_0x48f38c(0xe0)];[_0x48f38c(0xe8)];static get[_0x48f38c(0xd9)](){const _0x2aff53=_0x48f38c;return[_0x228794,_0x2aff53(0xbb),_0x141cbc];}static get[_0x48f38c(0xd4)](){const _0x8c4e3e=_0x48f38c;return _0x8c4e3e(0xc7);}static get[_0x48f38c(0xae)](){return!0x0;}static get[_0x48f38c(0xad)](){return!0x0;}constructor(_0x16f023){const _0x16991b=_0x48f38c;super(_0x16f023);const _0xda8f07=this[_0x16991b(0xdc)][_0x16991b(0xb2)][_0x16991b(0xcb)](_0x16991b(0xe5));this[_0x16991b(0xe0)]=new Map(),this[_0x16991b(0xe8)]=new CloudServicesTrackChangesAdapter[(_0x16991b(0xac))](_0xda8f07);}[_0x48f38c(0xab)](){const _0x34a9ed=_0x48f38c,_0x486540=this[_0x34a9ed(0xdc)][_0x34a9ed(0xba)][_0x34a9ed(0xcb)](_0x141cbc),_0x2a10cc=this[_0x34a9ed(0xdc)][_0x34a9ed(0xba)][_0x34a9ed(0xcb)](_0x34a9ed(0xbb));return _0x2a10cc[_0x34a9ed(0xc9)]={'getSuggestion':async _0x7e2f78=>{const _0x30d291=_0x34a9ed;await this[_0x30d291(0xaa)]();const _0x5ec773=await this[_0x30d291(0xe8)][_0x30d291(0xcb)](_0x7e2f78)[_0x30d291(0xb0)](nt);return await this[_0x30d291(0xdd)]([_0x5ec773]),_0x5ec773;},'addSuggestion':async({id:_0x2e083e,type:_0x784eaa,data:_0x299632,originalSuggestionId:_0x1fb8ec,attributes:_0x380caf})=>{const _0x4b05f5=_0x34a9ed;await this[_0x4b05f5(0xaa)]();const _0xdc1b52={'id':_0x2e083e,'type':_0x784eaa,'data':_0x299632,'originalSuggestionId':_0x1fb8ec,'attributes':_0x380caf},_0x471e7b=await this[_0x4b05f5(0xe8)][_0x4b05f5(0xe4)](_0x2e083e,_0x784eaa,_0x299632,_0x1fb8ec,_0x380caf)[_0x4b05f5(0xb0)](_0x451165=>{if(I(_0x451165))return new Promise(_0x15b9ee=>{const _0x2d5711=_0xe237;this[_0x2d5711(0xe0)][_0x2d5711(0xce)](_0x2e083e,{'resolve':_0x15b9ee,'suggestionData':_0xdc1b52});});throw _0x451165;});return this[_0x4b05f5(0xe0)][_0x4b05f5(0xcf)](_0x2e083e),_0x471e7b;},'updateSuggestion':async(_0x1f1cef,_0x4338b0)=>{const _0x21d1c7=_0x34a9ed;if(await this[_0x21d1c7(0xaa)](),_0x21d1c7(0xa9)!==_0x4338b0[_0x21d1c7(0xda)])return this[_0x21d1c7(0xe8)][_0x21d1c7(0xbf)](_0x1f1cef,_0x4338b0)[_0x21d1c7(0xb0)](nt);}},this[_0x34a9ed(0xb4)](this[_0x34a9ed(0xe8)],_0x34a9ed(0xb1),(_0x370ca9,_0x1ce189)=>{const _0x525f7d=_0x34a9ed;_0x2a10cc[_0x525f7d(0xde)](_0x1ce189['id'])&&(_0x2a10cc[_0x525f7d(0xe1)](_0x1ce189['id'])[_0x525f7d(0xcd)]=_0x1ce189[_0x525f7d(0xcd)]);}),this[_0x34a9ed(0xe8)][_0x34a9ed(0xd8)](_0x486540[_0x34a9ed(0xc2)])[_0x34a9ed(0xcc)](_0x204df1=>(_0x486540[_0x34a9ed(0xb8)](this),this[_0x34a9ed(0xdd)](_0x204df1)[_0x34a9ed(0xcc)](()=>{const _0x20f9f9=_0x34a9ed;for(const _0x177439 of _0x204df1){_0x2a10cc[_0x20f9f9(0xd3)](_0x177439)[_0x20f9f9(0xe7)]=!0x0;}})));}async[_0x48f38c(0xaf)](){const _0x5213b9=_0x48f38c,_0x4ed88c=this[_0x5213b9(0xdc)][_0x5213b9(0xba)][_0x5213b9(0xcb)](_0x5213b9(0xbb)),{connection:_0x116ac0}=this[_0x5213b9(0xdc)][_0x5213b9(0xba)][_0x5213b9(0xcb)](_0x141cbc),_0x238aeb=await this[_0x5213b9(0xe8)][_0x5213b9(0xd8)](_0x116ac0);await this[_0x5213b9(0xdd)](_0x238aeb);for(const {suggestionData:_0x12460d,resolve:_0x43977d}of this[_0x5213b9(0xe0)][_0x5213b9(0xd7)]()){let _0x234cae=_0x238aeb[_0x5213b9(0xa8)](_0x1282fa=>_0x1282fa['id']===_0x12460d['id']);_0x234cae||(_0x234cae=await this[_0x5213b9(0xe8)][_0x5213b9(0xe4)](_0x12460d['id'],_0x12460d[_0x5213b9(0xdf)],_0x12460d[_0x5213b9(0xc8)],_0x12460d[_0x5213b9(0xb5)])),_0x43977d(_0x234cae);}for(const _0x46377d of _0x238aeb)_0x4ed88c[_0x5213b9(0xde)](_0x46377d['id'])||_0x4ed88c[_0x5213b9(0xd3)](_0x46377d);}async[_0x48f38c(0xaa)](){const _0x233177=_0x48f38c;this[_0x233177(0xe8)][_0x233177(0xc4)]||await new Promise(_0x5712b7=>{const _0x125812=_0x233177;this[_0x125812(0xb4)](this[_0x125812(0xe8)],_0x125812(0xe6),_0x6238c5=>{const _0x1deb20=_0x125812;_0x6238c5[_0x1deb20(0xd6)](),_0x5712b7();});});}async[_0x48f38c(0xdd)](_0x4fbab5){const _0x30b6a6=_0x48f38c,_0x1ffbd1=this[_0x30b6a6(0xdc)][_0x30b6a6(0xba)][_0x30b6a6(0xcb)](_0x5a492b),{connection:_0x1d0d17}=this[_0x30b6a6(0xdc)][_0x30b6a6(0xba)][_0x30b6a6(0xcb)](_0x141cbc),_0x3f43d7=new Set();for(const {authorId:_0x1d13c4}of _0x4fbab5)_0x1ffbd1[_0x30b6a6(0xd1)](_0x1d13c4)||_0x3f43d7[_0x30b6a6(0xe4)](_0x1d13c4);if(0x0===_0x3f43d7[_0x30b6a6(0xc6)])return;const _0xbece99=await _0x42cd4e[_0x30b6a6(0xb7)](_0x1d0d17,Array[_0x30b6a6(0xc0)](_0x3f43d7));for(const _0x4213ea of _0xbece99)_0x1ffbd1[_0x30b6a6(0xd1)](_0x4213ea['id'])||_0x1ffbd1[_0x30b6a6(0xc5)](_0x4213ea);}}function nt(_0x5911b9){if(I(_0x5911b9))return new Promise(()=>{});throw _0x5911b9;}function I(_0x518023){const _0x562fb6=_0x48f38c;return _0x518023[_0x562fb6(0xd0)][_0x562fb6(0xca)](_0x562fb6(0xe3))||_0x518023[_0x562fb6(0xd0)][_0x562fb6(0xca)](_0x562fb6(0xd2));}
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
var
|
|
23
|
+
var _0x283180=_0x2ee9;(function(_0x27759e,_0x4fc161){var _0x254302=_0x2ee9,_0x24a1ac=_0x27759e();while(!![]){try{var _0x469cfc=parseInt(_0x254302(0x1a3))/0x1*(parseInt(_0x254302(0x19a))/0x2)+parseInt(_0x254302(0x193))/0x3*(-parseInt(_0x254302(0x196))/0x4)+parseInt(_0x254302(0x197))/0x5*(-parseInt(_0x254302(0x19c))/0x6)+-parseInt(_0x254302(0x198))/0x7*(parseInt(_0x254302(0x1a2))/0x8)+parseInt(_0x254302(0x19d))/0x9+-parseInt(_0x254302(0x1a0))/0xa+parseInt(_0x254302(0x194))/0xb*(parseInt(_0x254302(0x199))/0xc);if(_0x469cfc===_0x4fc161)break;else _0x24a1ac['push'](_0x24a1ac['shift']());}catch(_0x124a11){_0x24a1ac['push'](_0x24a1ac['shift']());}}}(_0x3992,0x820e9));function _0x3992(){var _0x2a2d02=['2597016ujVIRO','8273700TACnFP','requires','TrackChanges','4991580wwUsvz','isPremiumPlugin','1744ZNKLsd','25649YgtSCw','isOfficialPlugin','3kdeQfD','6687329ibHPoE','pluginName','3748604upyRyq','5lREKfv','19439daLKlb','24jsRsDw','68DSfQXu','RealTimeCollaborativeTrackChanges'];_0x3992=function(){return _0x2a2d02;};return _0x3992();}import{Plugin as _0x2f8f96}from'ckeditor5/src/core.js';function _0x2ee9(_0x4f844e,_0x38ea58){var _0x3992e8=_0x3992();return _0x2ee9=function(_0x2ee950,_0x49c91b){_0x2ee950=_0x2ee950-0x192;var _0x5e56d4=_0x3992e8[_0x2ee950];return _0x5e56d4;},_0x2ee9(_0x4f844e,_0x38ea58);}import{CloudServicesTrackChangesAdapter as _0x4fb02c}from'./realtimecollaborativetrackchanges/cloudservicestrackchangesadapter.js';import{RealTimeCollaborativeComments as _0x5387c4}from'./realtimecollaborativecomments.js';export class RealTimeCollaborativeTrackChanges extends _0x2f8f96{static get[_0x283180(0x19e)](){var _0x55906b=_0x283180;return[_0x5387c4,_0x4fb02c,_0x55906b(0x19f)];}static get[_0x283180(0x195)](){var _0x411e42=_0x283180;return _0x411e42(0x19b);}static get[_0x283180(0x192)](){return!0x0;}static get[_0x283180(0x1a1)](){return!0x0;}}
|