@ckeditor/ckeditor5-real-time-collaboration 47.3.0-alpha.0 → 47.3.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
|
-
function
|
|
24
|
-
((()=>
|
|
23
|
+
const _0xe13b4=_0x5a7d;function _0x5a7d(_0x1b6f0e,_0x165c8b){const _0x1e57be=_0x1e57();return _0x5a7d=function(_0x5a7d42,_0x3565de){_0x5a7d42=_0x5a7d42-0x162;let _0x9a868d=_0x1e57be[_0x5a7d42];return _0x9a868d;},_0x5a7d(_0x1b6f0e,_0x165c8b);}(function(_0x246b09,_0x421d70){const _0x263702=_0x5a7d,_0x353c7f=_0x246b09();while(!![]){try{const _0x5361ab=parseInt(_0x263702(0x18c))/0x1*(parseInt(_0x263702(0x165))/0x2)+parseInt(_0x263702(0x172))/0x3+-parseInt(_0x263702(0x171))/0x4+parseInt(_0x263702(0x189))/0x5+parseInt(_0x263702(0x177))/0x6*(-parseInt(_0x263702(0x168))/0x7)+-parseInt(_0x263702(0x17d))/0x8+-parseInt(_0x263702(0x17c))/0x9*(-parseInt(_0x263702(0x1a0))/0xa);if(_0x5361ab===_0x421d70)break;else _0x353c7f['push'](_0x353c7f['shift']());}catch(_0x440f53){_0x353c7f['push'](_0x353c7f['shift']());}}}(_0x1e57,0x21389));import{ContextPlugin as _0x1f69fb}from'ckeditor5/src/core.js';function _0x1e57(){const _0xa4a990=['websocketgateway-plugin-already-registered','all','4515777gxLdCt','1690352ipUXxS','CONNECTED','CONNECTING','plugins','define','from','reconnect','_reconnect','error','Connected\x20users\x20limit\x20exceeded','websocketgateway-missing-token','connected','469585LTKkec','listenTo','CloudServices','1ztmusR','then','_reconnectionStack','websocketgateway-invalid-plugin-interface','DISCONNECTED','stopListening','cloudServices.requestTimeout','state','cloudservices-init','isInReconnectionStack','requires','add','_shouldPluginsReconnect','_domEmitter','initialReconnectionInterval','connection','WebSocketGateway','addToReconnectionStack','cloudServices.connectionTimeout','init','10GXpNNZ','cloudservices-reconnection-error','context','token','set','get','limitExceeded','isPremiumPlugin','change:me','websocketgateway-missing-websocket-url','has','_isBrowserOffline','webSocketUrl','offline','showWarning','61666QGGXUA','pluginName','connect','1211NihnqE','removeFromReconnectionStack','code','disconnect','isOfficialPlugin','delete','catch','real-time-collaboration','constructor','665976UOSEwn','56514TjHowO','bind','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.','destroy','online','4560HXRauZ','config','function'];_0x1e57=function(){return _0xa4a990;};return _0x1e57();}import{DomEmitterMixin as _0x52a54b,CKEditorError as _0xec9296}from'ckeditor5/src/utils.js';import{WebSocketGateway as _0x1baeef,WEB_SOCKET_GATEWAY_STATES as _0x421172}from'@ckeditor/ckeditor-cloud-services-collaboration/src/services.js';import{Notification as _0x28ed02}from'ckeditor5/src/ui.js';export class WebSocketGateway extends _0x1f69fb{static [_0xe13b4(0x19c)]=/* #__PURE__ -- @preserve */
|
|
24
|
+
((()=>_0x1baeef)());static [_0xe13b4(0x19a)]=0x3e8;[_0xe13b4(0x19b)];[_0xe13b4(0x18e)];[_0xe13b4(0x198)];[_0xe13b4(0x199)];static get[_0xe13b4(0x196)](){const _0x3dc0b1=_0xe13b4;return[_0x3dc0b1(0x18b),_0x28ed02];}static get[_0xe13b4(0x166)](){const _0x2e94dd=_0xe13b4;return _0x2e94dd(0x19c);}static get[_0xe13b4(0x16c)](){return!0x0;}static get[_0xe13b4(0x1a7)](){return!0x0;}constructor(_0x5310c0){const _0xa6f76c=_0xe13b4;super(_0x5310c0),this[_0xa6f76c(0x1a4)](_0xa6f76c(0x193),_0x421172[_0xa6f76c(0x17e)]),this[_0xa6f76c(0x1a4)](_0xa6f76c(0x1ab),!0x1),this[_0xa6f76c(0x18e)]=new Set(),this[_0xa6f76c(0x198)]=!0x1,this[_0xa6f76c(0x199)]=new(_0x52a54b())();}[_0xe13b4(0x19f)](){const _0x7d80b7=_0xe13b4,_0x2ac1fa=this[_0x7d80b7(0x1a2)],_0x15fc4a=_0x2ac1fa[_0x7d80b7(0x180)][_0x7d80b7(0x1a5)](_0x7d80b7(0x18b)),_0x53d8fc=_0x2ac1fa[_0x7d80b7(0x180)][_0x7d80b7(0x1a5)](_0x28ed02);if(!_0x15fc4a[_0x7d80b7(0x1a3)])throw new _0xec9296(_0x7d80b7(0x187),this);if(!_0x15fc4a[_0x7d80b7(0x162)])throw new _0xec9296(_0x7d80b7(0x1a9),this);return this[_0x7d80b7(0x199)][_0x7d80b7(0x18a)](window,_0x7d80b7(0x163),()=>this[_0x7d80b7(0x1ab)]=!0x0),this[_0x7d80b7(0x199)][_0x7d80b7(0x18a)](window,_0x7d80b7(0x176),()=>this[_0x7d80b7(0x1ab)]=!0x1),this[_0x7d80b7(0x1a2)][_0x7d80b7(0x178)][_0x7d80b7(0x181)](_0x7d80b7(0x19e),0xa),this[_0x7d80b7(0x1a2)][_0x7d80b7(0x178)][_0x7d80b7(0x181)](_0x7d80b7(0x192),0x14),WebSocketGateway[_0x7d80b7(0x19c)][_0x7d80b7(0x167)](_0x15fc4a[_0x7d80b7(0x1a3)],_0x15fc4a[_0x7d80b7(0x162)],{'timeout':0x3e8*this[_0x7d80b7(0x1a2)][_0x7d80b7(0x178)][_0x7d80b7(0x1a5)](_0x7d80b7(0x19e)),'requestTimeout':0x3e8*this[_0x7d80b7(0x1a2)][_0x7d80b7(0x178)][_0x7d80b7(0x1a5)](_0x7d80b7(0x192))})[_0x7d80b7(0x18d)](_0x9afe89=>{const _0x17ef42=_0x7d80b7;if(this[_0x17ef42(0x19b)]=_0x9afe89,this[_0x17ef42(0x173)](_0x17ef42(0x193))['to'](_0x9afe89,_0x17ef42(0x193),this,_0x17ef42(0x1ab),(_0x1424ad,_0x423a0d)=>(_0x17ef42(0x188)!==_0x1424ad&&(this[_0x17ef42(0x198)]=!0x0),_0x423a0d||_0x1424ad!==_0x421172[_0x17ef42(0x17e)]?_0x421172[_0x17ef42(0x190)]:this[_0x17ef42(0x193)]==_0x421172[_0x17ef42(0x190)]&&this[_0x17ef42(0x198)]?(this[_0x17ef42(0x198)]=!0x1,this[_0x17ef42(0x184)](),_0x421172[_0x17ef42(0x17f)]):_0x421172[_0x17ef42(0x17e)])),this[_0x17ef42(0x19b)]['on'](_0x17ef42(0x185),(_0x2ea5f2,_0xf9ebca)=>{const _0x4984f7=_0x17ef42;if(_0x4984f7(0x1a6)!==_0xf9ebca[_0x4984f7(0x16a)])throw console[_0x4984f7(0x185)](_0xf9ebca),new _0xec9296(_0x4984f7(0x194),null,{'originalError':_0xf9ebca});_0x53d8fc[_0x4984f7(0x164)](_0x4984f7(0x174),{'title':_0x4984f7(0x186),'namespace':_0x4984f7(0x16f)});}),!_0x9afe89['me'])return new Promise(_0x5b0378=>_0x9afe89['on'](_0x17ef42(0x1a8),_0x5b0378));})[_0x7d80b7(0x16e)](_0x5515df=>{const _0x1b3fa3=_0x7d80b7;throw console[_0x1b3fa3(0x185)](_0x5515df),new _0xec9296(_0x1b3fa3(0x194),null,{'originalError':_0x5515df});});}[_0xe13b4(0x19d)](_0x493f72){const _0xecaa69=_0xe13b4;if(_0xecaa69(0x179)!=typeof _0x493f72[_0xecaa69(0x183)])throw new _0xec9296(_0xecaa69(0x18f),this);if(this[_0xecaa69(0x195)](_0x493f72))throw new _0xec9296(_0xecaa69(0x17a),this,{'name':_0x493f72[_0xecaa69(0x170)][_0xecaa69(0x166)]});this[_0xecaa69(0x18e)][_0xecaa69(0x197)](_0x493f72);}[_0xe13b4(0x169)](_0x5d113e){const _0x2c079c=_0xe13b4;this[_0x2c079c(0x18e)][_0x2c079c(0x16d)](_0x5d113e);}[_0xe13b4(0x195)](_0x1ad00b){const _0xf99b09=_0xe13b4;return this[_0xf99b09(0x18e)][_0xf99b09(0x1aa)](_0x1ad00b);}[_0xe13b4(0x184)](){const _0x463cf7=_0xe13b4;return this[_0x463cf7(0x19b)][_0x463cf7(0x183)]()[_0x463cf7(0x18d)](()=>Promise[_0x463cf7(0x17b)](Array[_0x463cf7(0x182)](this[_0x463cf7(0x18e)],_0x583e69=>_0x583e69[_0x463cf7(0x183)]())))[_0x463cf7(0x18d)](()=>this[_0x463cf7(0x193)]=_0x421172[_0x463cf7(0x17e)])[_0x463cf7(0x16e)](_0x4ae3a9=>{const _0x5f026f=_0x463cf7;throw console[_0x5f026f(0x185)](_0x4ae3a9),new _0xec9296(_0x5f026f(0x1a1),this[_0x5f026f(0x1a2)]);});}[_0xe13b4(0x16b)](){const _0x2b5c9c=_0xe13b4;this[_0x2b5c9c(0x19b)]&&this[_0x2b5c9c(0x19b)][_0x2b5c9c(0x16b)](),this[_0x2b5c9c(0x193)]=_0x421172[_0x2b5c9c(0x190)],this[_0x2b5c9c(0x199)][_0x2b5c9c(0x191)]();}[_0xe13b4(0x175)](){const _0x58d1b9=_0xe13b4;this[_0x58d1b9(0x16b)](),super[_0x58d1b9(0x175)]();}}
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
var
|
|
23
|
+
var _0x244915=_0x1ac8;(function(_0x36eff4,_0x8aaa92){var _0x4103f3=_0x1ac8,_0x568550=_0x36eff4();while(!![]){try{var _0x1136fe=-parseInt(_0x4103f3(0xad))/0x1*(-parseInt(_0x4103f3(0xac))/0x2)+parseInt(_0x4103f3(0xb3))/0x3*(-parseInt(_0x4103f3(0xb0))/0x4)+parseInt(_0x4103f3(0xa8))/0x5+parseInt(_0x4103f3(0xa7))/0x6+parseInt(_0x4103f3(0xaa))/0x7+-parseInt(_0x4103f3(0xaf))/0x8+-parseInt(_0x4103f3(0xb2))/0x9;if(_0x1136fe===_0x8aaa92)break;else _0x568550['push'](_0x568550['shift']());}catch(_0x39d562){_0x568550['push'](_0x568550['shift']());}}}(_0x588b,0x73973));function _0x1ac8(_0x307379,_0x9ad8eb){var _0x588b7c=_0x588b();return _0x1ac8=function(_0x1ac836,_0xe5ae85){_0x1ac836=_0x1ac836-0xa7;var _0x2413f2=_0x588b7c[_0x1ac836];return _0x2413f2;},_0x1ac8(_0x307379,_0x9ad8eb);}import{Plugin as _0x42ddd8}from'ckeditor5/src/core.js';function _0x588b(){var _0x1351d7=['pluginName','2969952KeYFAe','243668mXzKTa','RealTimeCollaborativeEditing','9746721ggpfhG','27AoiegW','isPremiumPlugin','4799718pfLTXH','3547620gwoSnl','requires','271474JhWOil','isOfficialPlugin','1855332YliNUy','1PznLJy'];_0x588b=function(){return _0x1351d7;};return _0x588b();}import{RealTimeCollaborationClient as _0x3e5b55}from'./realtimecollaborativeediting/realtimecollaborationclient.js';export class RealTimeCollaborativeEditing extends _0x42ddd8{static get[_0x244915(0xa9)](){return[_0x3e5b55];}static get[_0x244915(0xae)](){var _0x16dcd5=_0x244915;return _0x16dcd5(0xb1);}static get[_0x244915(0xab)](){return!0x0;}static get[_0x244915(0xb4)](){return!0x0;}}
|
|
@@ -20,5 +20,5 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
function
|
|
24
|
-
((()=>_0x1a9840)());[_0x4058f0(0x216)];[_0x4058f0(0x1e0)];[_0x4058f0(0x1e2)];[_0x4058f0(0x1fd)];static get[_0x4058f0(0x1ed)](){const _0x19536c=_0x4058f0;return[_0x3ef23c,_0x4cede7,_0x19536c(0x1f6),_0x149e97,_0x346552];}static get[_0x4058f0(0x1d6)](){const _0x9ad328=_0x4058f0;return _0x9ad328(0x1df);}static get[_0x4058f0(0x1d0)](){return!0x0;}static get[_0x4058f0(0x1eb)](){return!0x0;}constructor(_0x1a0ea1){const _0x5a2573=_0x4058f0;super(_0x1a0ea1);const _0x51fc37=this[_0x5a2573(0x201)][_0x5a2573(0x204)][_0x5a2573(0x22e)](_0x5a2573(0x214));this[_0x5a2573(0x216)]=null,this[_0x5a2573(0x1e0)]=this[_0x5a2573(0x201)][_0x5a2573(0x225)][_0x5a2573(0x22e)](_0x5a2573(0x1f7)),this[_0x5a2573(0x1e2)]=new CloudServicesRevisionHistoryAdapter[(_0x5a2573(0x213))](_0x51fc37);}async[_0x4058f0(0x1ea)](){const _0x197209=_0x4058f0,_0xdaa2e4=this[_0x197209(0x201)][_0x197209(0x225)][_0x197209(0x22e)](_0x4cede7),_0x48557c=_0xdaa2e4[_0x197209(0x1ce)],_0xcf3a86=this[_0x197209(0x201)][_0x197209(0x225)][_0x197209(0x22e)](_0x3ef23c);this[_0x197209(0x1e0)][_0x197209(0x1fb)]({'history':_0x48557c,'getLatestVersion':()=>this[_0x197209(0x1fe)](),'getCurrentRevisionId':()=>_0xdaa2e4[_0x197209(0x20f)]});const _0x27f273=this[_0x197209(0x201)][_0x197209(0x204)][_0x197209(0x22e)](_0x197209(0x1cc))||_0x241fe8,_0x4f3b6a=await _0x44e07c[_0x197209(0x1d7)](_0xcf3a86[_0x197209(0x1dc)],_0x27f273);this[_0x197209(0x201)][_0x197209(0x225)][_0x197209(0x22e)](_0x197209(0x1f6))[_0x197209(0x205)]={'getRevision':async({revisionId:_0x5f127d})=>(await this[_0x197209(0x1f0)](),await this[_0x197209(0x1e2)][_0x197209(0x1ca)](_0x5f127d)),'updateRevisions':async _0x1009c8=>{const _0x2105fe=_0x197209;await this[_0x2105fe(0x1f0)]();const _0x129f46=this[_0x2105fe(0x1e0)][_0x2105fe(0x21d)];if(_0x4f3b6a&&0x1===_0x1009c8[_0x2105fe(0x226)]&&_0x1009c8[0x0]['id']===_0x129f46['id'])return _0x1009c8;for(const _0x3ebdfb of _0x1009c8)_0x3ebdfb['id']===_0x129f46['id']&&(_0x3ebdfb[_0x2105fe(0x1c8)]=_0x3ebdfb[_0x2105fe(0x209)]===_0x3ebdfb[_0x2105fe(0x1fa)]);return this[_0x2105fe(0x1e2)][_0x2105fe(0x200)](_0x1009c8,this[_0x2105fe(0x216)])[_0x2105fe(0x1cf)](_0x447593=>(this[_0x2105fe(0x216)]=_0x447593,_0x1009c8))[_0x2105fe(0x215)](_0x2b70de=>{const _0x3fbf1a=_0x2105fe;if(T(_0x2b70de)||_0x3fbf1a(0x1d9)===_0x2b70de[_0x3fbf1a(0x21f)]&&void 0x0!==_0x2b70de[_0x3fbf1a(0x228)][_0x3fbf1a(0x1e4)]){for(const _0x5bfc5b of _0x1009c8){!this[_0x3fbf1a(0x1e0)][_0x3fbf1a(0x233)][_0x3fbf1a(0x1ca)](_0x5bfc5b['id'])||this[_0x3fbf1a(0x1e0)][_0x3fbf1a(0x224)](_0x5bfc5b['id'],_0x5bfc5b,!0x1);}if(T(_0x2b70de))throw _0x2b70de;return _0x1009c8;}throw _0x2b70de;});}},this[_0x197209(0x1ff)](this[_0x197209(0x1e2)],_0x197209(0x1ec),(_0x47712,{revisionsData:_0x2ccc74,requestId:_0x1a315d})=>{const _0x41d49c=_0x197209;Math[_0x41d49c(0x1d5)](..._0x2ccc74[_0x41d49c(0x235)](_0x5e2850=>_0x5e2850[_0x41d49c(0x1fa)]))>this[_0x41d49c(0x20b)]()-0x1?this[_0x41d49c(0x1fe)]()[_0x41d49c(0x1cf)](()=>{const _0x23959d=_0x41d49c;this[_0x23959d(0x1f3)](_0x2ccc74,_0x1a315d);}):this[_0x41d49c(0x1f3)](_0x2ccc74,_0x1a315d);});const {revisions:_0x12fe8b,requestId:_0x2ab248}=await this[_0x197209(0x1e2)][_0x197209(0x1d4)](_0xcf3a86[_0x197209(0x1dc)]);_0xcf3a86[_0x197209(0x1f4)](this),this[_0x197209(0x216)]=_0x2ab248,await this[_0x197209(0x1e6)](_0x12fe8b);for(const _0xabc252 of _0x12fe8b)this[_0x197209(0x1e0)][_0x197209(0x20d)](_0xabc252);this[_0x197209(0x1ff)](_0xdaa2e4,_0x197209(0x218),(_0x503514,_0x2f7a4d,_0x2bfdc2)=>{const _0x386c24=_0x197209;_0x2bfdc2&&(this[_0x386c24(0x1fd)]=_0xdaa2e4[_0x386c24(0x1c9)],_0x503514[_0x386c24(0x1e7)]());}),this[_0x197209(0x1e0)][_0x197209(0x219)](_0x197209(0x1f2))['to'](_0xcf3a86,_0x197209(0x20a),_0x17d66b=>_0x17d66b===_0x248d21[_0x197209(0x203)]);}async[_0x4058f0(0x211)](){const _0xcb4ee1=_0x4058f0,_0x39e153=this[_0xcb4ee1(0x201)][_0xcb4ee1(0x225)][_0xcb4ee1(0x22e)](_0x3ef23c),_0x5c2cf7=this[_0xcb4ee1(0x201)][_0xcb4ee1(0x225)][_0xcb4ee1(0x22e)](_0x4cede7),_0x45a7c3=async()=>{const _0x22eec6=_0xcb4ee1,_0x551dce=this[_0x22eec6(0x1e0)][_0x22eec6(0x21d)],_0x3b1949=_0x551dce['id'],_0x193038=_0x3b1949!==_0x5c2cf7[_0x22eec6(0x20f)];if(_0x193038){const _0x301d22=_0x5c2cf7[_0x22eec6(0x1c9)]-this[_0x22eec6(0x1fd)],_0x7d4727=this[_0x22eec6(0x20b)]();this[_0x22eec6(0x1e0)][_0x22eec6(0x230)][_0x22eec6(0x1cb)]();if(_0x551dce[_0x22eec6(0x1fa)]+_0x301d22!==_0x7d4727){const _0x3f5dfd=_0x551dce[_0x22eec6(0x209)]+_0x301d22,_0x252990=this[_0x22eec6(0x201)][_0x22eec6(0x225)][_0x22eec6(0x22e)](_0x346552),_0x5e9f1f=this[_0x22eec6(0x1e0)][_0x22eec6(0x220)]({'revision':_0x551dce,'from':_0x3f5dfd,'to':_0x7d4727});_0x5e9f1f['id']=_0x551dce['id'];const _0x226d4d=_0x5e9f1f[_0x22eec6(0x21b)][_0x22eec6(0x235)](_0x387dda=>_0x252990[_0x22eec6(0x212)](_0x387dda));_0x551dce[_0x22eec6(0x1e3)]({..._0x5e9f1f,'authors':_0x226d4d},!0x0),this[_0x22eec6(0x1e0)][_0x22eec6(0x224)](_0x551dce['id'],_0x5e9f1f,!0x0);}this[_0x22eec6(0x1e0)][_0x22eec6(0x238)]=_0x7d4727,(_0x551dce[_0x22eec6(0x1fa)]===_0x551dce[_0x22eec6(0x209)]&&!this[_0x22eec6(0x1e0)][_0x22eec6(0x1d2)][_0x22eec6(0x227)](_0x3b1949)&&this[_0x22eec6(0x1e0)][_0x22eec6(0x233)][_0x22eec6(0x1ef)][_0x22eec6(0x1db)](_0x3b1949),this[_0x22eec6(0x1e0)][_0x22eec6(0x223)](_0x7d4727));}const {revisions:_0x36207c,requestId:_0x322288}=await this[_0x22eec6(0x1e2)][_0x22eec6(0x211)](_0x39e153[_0x22eec6(0x1dc)],this[_0x22eec6(0x216)]);_0x193038&&_0x36207c[_0x22eec6(0x226)]>0x0?_0x5c2cf7[_0x22eec6(0x207)]():(await this[_0x22eec6(0x1e6)](_0x36207c),this[_0x22eec6(0x1f3)](_0x36207c,_0x322288),this[_0x22eec6(0x1e0)][_0x22eec6(0x22d)]());};return _0x5c2cf7[_0xcb4ee1(0x21a)]?_0x45a7c3():new Promise((_0x46ffb6,_0x2c5620)=>{const _0x49e66f=_0xcb4ee1;_0x5c2cf7[_0x49e66f(0x236)](_0x49e66f(0x218),()=>{const _0x45bd29=_0x49e66f;_0x45a7c3()[_0x45bd29(0x1cf)](_0x46ffb6)[_0x45bd29(0x215)](_0x2c5620);});});}[_0x4058f0(0x229)](){const _0x55af62=_0x4058f0;super[_0x55af62(0x229)]();}async[_0x4058f0(0x1f0)](){const _0x3a6855=_0x4058f0;this[_0x3a6855(0x1e2)][_0x3a6855(0x1e5)]||await new Promise(_0x5ab2c3=>{const _0x328dbe=_0x3a6855;this[_0x328dbe(0x1ff)](this[_0x328dbe(0x1e2)],_0x328dbe(0x208),_0x339491=>{const _0x305650=_0x328dbe;_0x339491[_0x305650(0x1e7)](),_0x5ab2c3();});});}[_0x4058f0(0x20b)](){const _0xfcd67=_0x4058f0,_0x45cc23=this[_0xfcd67(0x201)][_0xfcd67(0x225)][_0xfcd67(0x22e)](_0x4cede7)[_0xfcd67(0x1ce)][_0xfcd67(0x22c)]()[_0xfcd67(0x22f)]();for(const _0x237f13 of _0x45cc23)if(_0xfcd67(0x1f5)!==_0x237f13[_0xfcd67(0x217)]||_0x237f13[_0xfcd67(0x1e9)])return _0x237f13[_0xfcd67(0x1f1)]+0x1;}[_0x4058f0(0x1fe)](){const _0x3542c3=_0x4058f0,_0x4c3201=this[_0x3542c3(0x201)][_0x3542c3(0x225)][_0x3542c3(0x22e)](_0x4cede7);return new Promise(_0x36618d=>{const _0x2ff9ef=_0x3542c3;_0x4c3201[_0x2ff9ef(0x1f9)]?_0x4c3201[_0x2ff9ef(0x236)](_0x2ff9ef(0x237),()=>{const _0x570366=_0x2ff9ef;_0x36618d(this[_0x570366(0x20b)]());}):_0x36618d(this[_0x2ff9ef(0x20b)]());});}[_0x4058f0(0x1f3)](_0x5bd92b,_0x5cac48){const _0x5e0c2e=_0x4058f0,_0x39a993=this[_0x5e0c2e(0x1e0)][_0x5e0c2e(0x233)];this[_0x5e0c2e(0x216)]=_0x5cac48;for(const _0x534305 of _0x5bd92b){const _0x6e459a=_0x39a993[_0x5e0c2e(0x1ca)](_0x534305['id']);if(_0x6e459a){if((_0x534305[_0x5e0c2e(0x209)]||_0x534305[_0x5e0c2e(0x1fa)])&&(_0x534305[_0x5e0c2e(0x1e8)]=null),_0x6e459a===this[_0x5e0c2e(0x1e0)][_0x5e0c2e(0x21d)]){const _0x2da43d=Math[_0x5e0c2e(0x1d5)](_0x6e459a[_0x5e0c2e(0x1fa)],_0x534305[_0x5e0c2e(0x1fa)]),_0x5cdd2c=Math[_0x5e0c2e(0x1d5)](_0x6e459a[_0x5e0c2e(0x209)],_0x534305[_0x5e0c2e(0x209)]);let _0x918520;_0x6e459a[_0x5e0c2e(0x1fa)]===_0x534305[_0x5e0c2e(0x1fa)]&&_0x6e459a[_0x5e0c2e(0x209)]===_0x534305[_0x5e0c2e(0x209)]?(_0x918520=!0x0,this[_0x5e0c2e(0x202)](_0x534305)):_0x534305[_0x5e0c2e(0x1fa)]===_0x2da43d&&_0x534305[_0x5e0c2e(0x209)]===_0x5cdd2c?_0x918520=!0x1:(_0x6e459a[_0x5e0c2e(0x1fa)]===_0x2da43d&&_0x6e459a[_0x5e0c2e(0x209)]===_0x5cdd2c||this[_0x5e0c2e(0x1f8)]({'revision':_0x6e459a,'from':_0x5cdd2c,'to':_0x2da43d}),_0x918520=!0x0),_0x918520&&(delete _0x534305[_0x5e0c2e(0x209)],delete _0x534305[_0x5e0c2e(0x1fa)],delete _0x534305[_0x5e0c2e(0x1e8)],delete _0x534305[_0x5e0c2e(0x206)],delete _0x534305[_0x5e0c2e(0x21b)]);}this[_0x5e0c2e(0x1e0)][_0x5e0c2e(0x222)](_0x534305),this[_0x5e0c2e(0x202)](_0x534305);}else this[_0x5e0c2e(0x1e0)][_0x5e0c2e(0x20d)](_0x534305);}const _0x19d3a2=_0x39a993[_0x5e0c2e(0x20e)]();_0x19d3a2[_0x5e0c2e(0x22f)]();for(let _0x1225cc=0x0;_0x1225cc<_0x19d3a2[_0x5e0c2e(0x226)]-0x1;_0x1225cc++){const _0x1e1a05=_0x19d3a2[_0x1225cc],_0x42380a=_0x19d3a2[_0x1225cc+0x1];if(_0x1e1a05[_0x5e0c2e(0x209)]<_0x42380a[_0x5e0c2e(0x1fa)]){const _0x12e343=_0x42380a[_0x5e0c2e(0x1fa)],_0x63993b=Math[_0x5e0c2e(0x1d5)](_0x12e343,_0x1e1a05[_0x5e0c2e(0x1fa)]);this[_0x5e0c2e(0x1f8)]({'revision':_0x1e1a05,'from':_0x12e343,'to':_0x63993b});}}}[_0x4058f0(0x1f8)]({revision:_0x42e8ae,from:_0x16d408,to:_0x1e371b}={}){const _0x12a6c9=_0x4058f0,_0x190302=this[_0x12a6c9(0x201)][_0x12a6c9(0x225)][_0x12a6c9(0x22e)](_0x346552),_0x1b48e0=this[_0x12a6c9(0x1e0)][_0x12a6c9(0x220)]({'revision':_0x42e8ae,'from':_0x16d408,'to':_0x1e371b});_0x1b48e0[_0x12a6c9(0x21c)]=_0x1b48e0[_0x12a6c9(0x21b)][_0x12a6c9(0x235)](_0x11f3bf=>_0x190302[_0x12a6c9(0x212)](_0x11f3bf)),_0x42e8ae[_0x12a6c9(0x1e3)](_0x1b48e0);}[_0x4058f0(0x202)](_0x1ff05f){const _0x4047d2=_0x4058f0,_0x19b663={};_0x19b663['id']=_0x1ff05f['id'];for(const _0x24ff2f of Object[_0x4047d2(0x1ee)](_0x1ff05f))'id'!==_0x24ff2f&&(_0x19b663[_0x24ff2f]=void 0x0);this[_0x4047d2(0x1e0)][_0x4047d2(0x224)](_0x19b663['id'],_0x19b663,!0x0);}async[_0x4058f0(0x1e6)](_0x41dc4b){const _0x28b3fd=_0x4058f0,_0x5d6367=this[_0x28b3fd(0x201)][_0x28b3fd(0x225)][_0x28b3fd(0x22e)](_0x346552),{connection:_0x1b1c3b}=this[_0x28b3fd(0x201)][_0x28b3fd(0x225)][_0x28b3fd(0x22e)](_0x3ef23c),_0x4799e9=new Set();for(const _0x9d319e of _0x41dc4b){for(const _0xde5c7b of _0x9d319e[_0x28b3fd(0x21b)])_0x7676c3(_0xde5c7b);_0x9d319e[_0x28b3fd(0x221)]&&_0x7676c3(_0x9d319e[_0x28b3fd(0x221)]);}if(0x0===_0x4799e9[_0x28b3fd(0x1d1)])return;const _0x23222c=await _0x324642[_0x28b3fd(0x1fc)](_0x1b1c3b,Array[_0x28b3fd(0x23a)](_0x4799e9));for(const _0x11c1b1 of _0x23222c)_0x5d6367[_0x28b3fd(0x212)](_0x11c1b1['id'])||_0x5d6367[_0x28b3fd(0x1da)](_0x11c1b1);function _0x7676c3(_0x52953e){const _0x541644=_0x28b3fd;_0x5d6367[_0x541644(0x212)](_0x52953e)||_0x4799e9[_0x541644(0x234)](_0x52953e);}}}function T(_0x1c3bda){const _0x2098cd=_0x4058f0;return _0x1c3bda[_0x2098cd(0x1e1)][_0x2098cd(0x1d8)](_0x2098cd(0x239))||_0x1c3bda[_0x2098cd(0x1e1)][_0x2098cd(0x1d8)](_0x2098cd(0x1d3))||_0x1c3bda[_0x2098cd(0x1e1)][_0x2098cd(0x1d8)](_0x2098cd(0x23c));}
|
|
23
|
+
const _0x45eb06=_0x2581;(function(_0x143f78,_0x48b9a0){const _0x5b8515=_0x2581,_0x29c928=_0x143f78();while(!![]){try{const _0x2dad86=parseInt(_0x5b8515(0x145))/0x1*(parseInt(_0x5b8515(0x155))/0x2)+parseInt(_0x5b8515(0x13b))/0x3*(parseInt(_0x5b8515(0x109))/0x4)+parseInt(_0x5b8515(0x147))/0x5+-parseInt(_0x5b8515(0x14e))/0x6*(-parseInt(_0x5b8515(0x168))/0x7)+parseInt(_0x5b8515(0x13d))/0x8*(-parseInt(_0x5b8515(0x148))/0x9)+parseInt(_0x5b8515(0x110))/0xa+-parseInt(_0x5b8515(0x104))/0xb;if(_0x2dad86===_0x48b9a0)break;else _0x29c928['push'](_0x29c928['shift']());}catch(_0x2a300a){_0x29c928['push'](_0x29c928['shift']());}}}(_0x3da7,0x8efec));import{Plugin as _0x5ba0c4}from'ckeditor5/src/core.js';import{version as _0x5ee55e}from'ckeditor5/src/utils.js';import{Users as _0x3b460c}from'ckeditor5-collaboration/src/collaboration-core.js';function _0x3da7(){const _0x51569d=['addRevisionData','_isPendingUpdate','currentRevision','has','createdAt','length','message','baseVersion','_getLatestVersionFromServerOperations','RevisionTracker','getRevision','_lastRequestId','isEmptyCurrent','wrongRequestId','change:_isConnected','addUser','reconnect','_fixRevision','_getLatestVersion','add','_bufferUpdate','setSource','3AvgYcn','authors','24rPwClY','_startingVersion','destroy','getRevisions','isOfficialPlugin','connection','cloud-services-internal-error:\x20Not\x20connected.','buildRevisionData','9FmVHiq','addToReconnectionStack','4352460YxaatS','1473417WqCNFG','_handleReconnectionError','affectsData','map','_update','diffData','30zQqMPr','plugins','_isConnected','init','_revisionDataBuilder','getOperations','_handleRevisionsUpdate','17918vBWRdf','then','setRevisionData','adapter','authorsIds','_fetchMissingUsers','from','fromVersion','collaboration.channelId','toVersion','_revisionHistoryService','bind','getMany','once','_oldOffset','reverse','_offset','sendBufferedUpdates','isConnected','862351hInlEr','off','_preventResendingRevisionData','isEnabled','isBundleUploaded','_waitForServiceReady','listenTo','code','remove','RevisionHistoryService','data','CloudServicesRevisionHistoryAdapter','updateRevisions','type','cloudServices.bundleVersion','marker','connected','24590357wKqHJp','catch','cloud-services-internal-error:\x20Request\x20timeout.','reInit','400','2703716mvQIqS','editor','startsWith','getUser','get','connect','revisionsUpdated','10693170cZlbkf','_bufferedUpdates','requires','change:_isPendingUpdate','keys','_revisions','_createCurrentRevision','pluginName','serverHistory','CONNECTED','max','repository','creatorId','_revisionTracker','state','size','sessionId','cloud-services-internal-error:\x20Revision\x20History\x20Service\x20is\x20not\x20connected.','RevisionHistory','config','isPremiumPlugin'];_0x3da7=function(){return _0x51569d;};return _0x3da7();}import{RealTimeCollaborationClient as _0xbe2860}from'../realtimecollaborativeediting/realtimecollaborationclient.js';function _0x2581(_0x5f41d1,_0x445b88){const _0x3da711=_0x3da7();return _0x2581=function(_0x258112,_0x443cc9){_0x258112=_0x258112-0x103;let _0x10f6b5=_0x3da711[_0x258112];return _0x10f6b5;},_0x2581(_0x5f41d1,_0x445b88);}import{WebSocketGateway as _0x5143cb}from'../realtimecollaborativeediting/websocketgateway.js';import{Sessions as _0x5948d6}from'../realtimecollaborativeediting/sessions.js';import{EditorService as _0x26d5ae,RevisionHistoryService as _0x15ac3a,User as _0x5e4de2,WEB_SOCKET_GATEWAY_STATES as _0x304944}from'@ckeditor/ckeditor-cloud-services-collaboration/src/services.js';export class CloudServicesRevisionHistoryAdapter extends _0x5ba0c4{static [_0x45eb06(0x171)]=/* #__PURE__ -- @preserve */
|
|
24
|
+
((()=>_0x15ac3a)());[_0x45eb06(0x130)];[_0x45eb06(0x11d)];[_0x45eb06(0x15f)];[_0x45eb06(0x163)];static get[_0x45eb06(0x112)](){const _0x5e0a98=_0x45eb06;return[_0x5143cb,_0xbe2860,_0x5e0a98(0x122),_0x5948d6,_0x3b460c];}static get[_0x45eb06(0x117)](){const _0xae669e=_0x45eb06;return _0xae669e(0x173);}static get[_0x45eb06(0x141)](){return!0x0;}static get[_0x45eb06(0x124)](){return!0x0;}constructor(_0x43d7e7){const _0x14f6da=_0x45eb06;super(_0x43d7e7);const _0x20e4d1=this[_0x14f6da(0x10a)][_0x14f6da(0x123)][_0x14f6da(0x10d)](_0x14f6da(0x15d));this[_0x14f6da(0x130)]=null,this[_0x14f6da(0x11d)]=this[_0x14f6da(0x10a)][_0x14f6da(0x14f)][_0x14f6da(0x10d)](_0x14f6da(0x12e)),this[_0x14f6da(0x15f)]=new CloudServicesRevisionHistoryAdapter[(_0x14f6da(0x171))](_0x20e4d1);}async[_0x45eb06(0x151)](){const _0x4321a8=_0x45eb06,_0x529871=this[_0x4321a8(0x10a)][_0x4321a8(0x14f)][_0x4321a8(0x10d)](_0xbe2860),_0x4088e7=_0x529871[_0x4321a8(0x118)],_0x33072a=this[_0x4321a8(0x10a)][_0x4321a8(0x14f)][_0x4321a8(0x10d)](_0x5143cb);this[_0x4321a8(0x11d)][_0x4321a8(0x13a)]({'history':_0x4088e7,'getLatestVersion':()=>this[_0x4321a8(0x137)](),'getCurrentRevisionId':()=>_0x529871[_0x4321a8(0x120)]});const _0x245170=this[_0x4321a8(0x10a)][_0x4321a8(0x123)][_0x4321a8(0x10d)](_0x4321a8(0x176))||_0x5ee55e,_0x50216f=await _0x26d5ae[_0x4321a8(0x16c)](_0x33072a[_0x4321a8(0x142)],_0x245170);this[_0x4321a8(0x10a)][_0x4321a8(0x14f)][_0x4321a8(0x10d)](_0x4321a8(0x122))[_0x4321a8(0x158)]={'getRevision':async({revisionId:_0x173c87})=>(await this[_0x4321a8(0x16d)](),await this[_0x4321a8(0x15f)][_0x4321a8(0x12f)](_0x173c87)),'updateRevisions':async _0x79248e=>{const _0x58ceb8=_0x4321a8;await this[_0x58ceb8(0x16d)]();const _0x37ad44=this[_0x58ceb8(0x11d)][_0x58ceb8(0x127)];if(_0x50216f&&0x1===_0x79248e[_0x58ceb8(0x12a)]&&_0x79248e[0x0]['id']===_0x37ad44['id'])return _0x79248e;for(const _0x3d549d of _0x79248e)_0x3d549d['id']===_0x37ad44['id']&&(_0x3d549d[_0x58ceb8(0x131)]=_0x3d549d[_0x58ceb8(0x15c)]===_0x3d549d[_0x58ceb8(0x15e)]);return this[_0x58ceb8(0x15f)][_0x58ceb8(0x174)](_0x79248e,this[_0x58ceb8(0x130)])[_0x58ceb8(0x156)](_0x23f76b=>(this[_0x58ceb8(0x130)]=_0x23f76b,_0x79248e))[_0x58ceb8(0x105)](_0x5abe69=>{const _0x4749f5=_0x58ceb8;if(et(_0x5abe69)||_0x4749f5(0x108)===_0x5abe69[_0x4749f5(0x16f)]&&void 0x0!==_0x5abe69[_0x4749f5(0x172)][_0x4749f5(0x132)]){for(const _0x3d15d6 of _0x79248e){!this[_0x4749f5(0x11d)][_0x4749f5(0x11b)][_0x4749f5(0x12f)](_0x3d15d6['id'])||this[_0x4749f5(0x11d)][_0x4749f5(0x139)](_0x3d15d6['id'],_0x3d15d6,!0x1);}if(et(_0x5abe69))throw _0x5abe69;return _0x79248e;}throw _0x5abe69;});}},this[_0x4321a8(0x16e)](this[_0x4321a8(0x15f)],_0x4321a8(0x10f),(_0x584942,{revisionsData:_0x2f97b8,requestId:_0x23e2b4})=>{const _0x28899f=_0x4321a8;Math[_0x28899f(0x11a)](..._0x2f97b8[_0x28899f(0x14b)](_0x4e8c43=>_0x4e8c43[_0x28899f(0x15e)]))>this[_0x28899f(0x12d)]()-0x1?this[_0x28899f(0x137)]()[_0x28899f(0x156)](()=>{const _0x305d19=_0x28899f;this[_0x305d19(0x154)](_0x2f97b8,_0x23e2b4);}):this[_0x28899f(0x154)](_0x2f97b8,_0x23e2b4);});const {revisions:_0x4cebd7,requestId:_0x40a65b}=await this[_0x4321a8(0x15f)][_0x4321a8(0x10e)](_0x33072a[_0x4321a8(0x142)]);_0x33072a[_0x4321a8(0x146)](this),this[_0x4321a8(0x130)]=_0x40a65b,await this[_0x4321a8(0x15a)](_0x4cebd7);for(const _0x195a8c of _0x4cebd7)this[_0x4321a8(0x11d)][_0x4321a8(0x125)](_0x195a8c);this[_0x4321a8(0x16e)](_0x529871,_0x4321a8(0x133),(_0x16f865,_0x24497c,_0x1095d9)=>{const _0x357851=_0x4321a8;_0x1095d9&&(this[_0x357851(0x163)]=_0x529871[_0x357851(0x165)],_0x16f865[_0x357851(0x169)]());}),this[_0x4321a8(0x11d)][_0x4321a8(0x160)](_0x4321a8(0x16b))['to'](_0x33072a,_0x4321a8(0x11e),_0x24a868=>_0x24a868===_0x304944[_0x4321a8(0x119)]);}async[_0x45eb06(0x135)](){const _0x2b6364=_0x45eb06,_0x6367d3=this[_0x2b6364(0x10a)][_0x2b6364(0x14f)][_0x2b6364(0x10d)](_0x5143cb),_0x1d4a1d=this[_0x2b6364(0x10a)][_0x2b6364(0x14f)][_0x2b6364(0x10d)](_0xbe2860),_0x31fa92=async()=>{const _0x522a01=_0x2b6364,_0x19ca82=this[_0x522a01(0x11d)][_0x522a01(0x127)],_0x172833=_0x19ca82['id'],_0xcf15c9=_0x172833!==_0x1d4a1d[_0x522a01(0x120)];if(_0xcf15c9){const _0xff0556=_0x1d4a1d[_0x522a01(0x165)]-this[_0x522a01(0x163)],_0xd07500=this[_0x522a01(0x12d)]();this[_0x522a01(0x11d)][_0x522a01(0x152)][_0x522a01(0x107)]();if(_0x19ca82[_0x522a01(0x15e)]+_0xff0556!==_0xd07500){const _0x15c499=_0x19ca82[_0x522a01(0x15c)]+_0xff0556,_0x2ae42d=this[_0x522a01(0x10a)][_0x522a01(0x14f)][_0x522a01(0x10d)](_0x3b460c),_0x3ed967=this[_0x522a01(0x11d)][_0x522a01(0x144)]({'revision':_0x19ca82,'from':_0x15c499,'to':_0xd07500});_0x3ed967['id']=_0x19ca82['id'];const _0x11794a=_0x3ed967[_0x522a01(0x159)][_0x522a01(0x14b)](_0x19646a=>_0x2ae42d[_0x522a01(0x10c)](_0x19646a));_0x19ca82[_0x522a01(0x14c)]({..._0x3ed967,'authors':_0x11794a},!0x0),this[_0x522a01(0x11d)][_0x522a01(0x139)](_0x19ca82['id'],_0x3ed967,!0x0);}this[_0x522a01(0x11d)][_0x522a01(0x13e)]=_0xd07500,(_0x19ca82[_0x522a01(0x15e)]===_0x19ca82[_0x522a01(0x15c)]&&!this[_0x522a01(0x11d)][_0x522a01(0x111)][_0x522a01(0x128)](_0x172833)&&this[_0x522a01(0x11d)][_0x522a01(0x11b)][_0x522a01(0x115)][_0x522a01(0x170)](_0x172833),this[_0x522a01(0x11d)][_0x522a01(0x116)](_0xd07500));}const {revisions:_0x20b6da,requestId:_0x10e906}=await this[_0x522a01(0x15f)][_0x522a01(0x135)](_0x6367d3[_0x522a01(0x142)],this[_0x522a01(0x130)]);_0xcf15c9&&_0x20b6da[_0x522a01(0x12a)]>0x0?_0x1d4a1d[_0x522a01(0x149)]():(await this[_0x522a01(0x15a)](_0x20b6da),this[_0x522a01(0x154)](_0x20b6da,_0x10e906),this[_0x522a01(0x11d)][_0x522a01(0x166)]());};return _0x1d4a1d[_0x2b6364(0x150)]?_0x31fa92():new Promise((_0x145e29,_0x170a3f)=>{const _0x58cc74=_0x2b6364;_0x1d4a1d[_0x58cc74(0x162)](_0x58cc74(0x133),()=>{const _0xa18d86=_0x58cc74;_0x31fa92()[_0xa18d86(0x156)](_0x145e29)[_0xa18d86(0x105)](_0x170a3f);});});}[_0x45eb06(0x13f)](){const _0x4e1ca7=_0x45eb06;super[_0x4e1ca7(0x13f)]();}async[_0x45eb06(0x16d)](){const _0x51e79f=_0x45eb06;this[_0x51e79f(0x15f)][_0x51e79f(0x167)]||await new Promise(_0x143594=>{const _0x1a2337=_0x51e79f;this[_0x1a2337(0x16e)](this[_0x1a2337(0x15f)],_0x1a2337(0x103),_0xa8e9ad=>{const _0x418195=_0x1a2337;_0xa8e9ad[_0x418195(0x169)](),_0x143594();});});}[_0x45eb06(0x12d)](){const _0x334f6a=_0x45eb06,_0x3009b1=this[_0x334f6a(0x10a)][_0x334f6a(0x14f)][_0x334f6a(0x10d)](_0xbe2860)[_0x334f6a(0x118)][_0x334f6a(0x153)]()[_0x334f6a(0x164)]();for(const _0x490406 of _0x3009b1)if(_0x334f6a(0x177)!==_0x490406[_0x334f6a(0x175)]||_0x490406[_0x334f6a(0x14a)])return _0x490406[_0x334f6a(0x12c)]+0x1;}[_0x45eb06(0x137)](){const _0x31a749=_0x45eb06,_0x56938e=this[_0x31a749(0x10a)][_0x31a749(0x14f)][_0x31a749(0x10d)](_0xbe2860);return new Promise(_0x5c2ed1=>{const _0x21ecb4=_0x31a749;_0x56938e[_0x21ecb4(0x126)]?_0x56938e[_0x21ecb4(0x162)](_0x21ecb4(0x113),()=>{const _0x10979f=_0x21ecb4;_0x5c2ed1(this[_0x10979f(0x12d)]());}):_0x5c2ed1(this[_0x21ecb4(0x12d)]());});}[_0x45eb06(0x154)](_0x305740,_0x1a217c){const _0x2bfb61=_0x45eb06,_0xcbe763=this[_0x2bfb61(0x11d)][_0x2bfb61(0x11b)];this[_0x2bfb61(0x130)]=_0x1a217c;for(const _0x3714bb of _0x305740){const _0x53f7d5=_0xcbe763[_0x2bfb61(0x12f)](_0x3714bb['id']);if(_0x53f7d5){if((_0x3714bb[_0x2bfb61(0x15c)]||_0x3714bb[_0x2bfb61(0x15e)])&&(_0x3714bb[_0x2bfb61(0x14d)]=null),_0x53f7d5===this[_0x2bfb61(0x11d)][_0x2bfb61(0x127)]){const _0x132654=Math[_0x2bfb61(0x11a)](_0x53f7d5[_0x2bfb61(0x15e)],_0x3714bb[_0x2bfb61(0x15e)]),_0x4fad0b=Math[_0x2bfb61(0x11a)](_0x53f7d5[_0x2bfb61(0x15c)],_0x3714bb[_0x2bfb61(0x15c)]);let _0x22b98e;_0x53f7d5[_0x2bfb61(0x15e)]===_0x3714bb[_0x2bfb61(0x15e)]&&_0x53f7d5[_0x2bfb61(0x15c)]===_0x3714bb[_0x2bfb61(0x15c)]?(_0x22b98e=!0x0,this[_0x2bfb61(0x16a)](_0x3714bb)):_0x3714bb[_0x2bfb61(0x15e)]===_0x132654&&_0x3714bb[_0x2bfb61(0x15c)]===_0x4fad0b?_0x22b98e=!0x1:(_0x53f7d5[_0x2bfb61(0x15e)]===_0x132654&&_0x53f7d5[_0x2bfb61(0x15c)]===_0x4fad0b||this[_0x2bfb61(0x136)]({'revision':_0x53f7d5,'from':_0x4fad0b,'to':_0x132654}),_0x22b98e=!0x0),_0x22b98e&&(delete _0x3714bb[_0x2bfb61(0x15c)],delete _0x3714bb[_0x2bfb61(0x15e)],delete _0x3714bb[_0x2bfb61(0x14d)],delete _0x3714bb[_0x2bfb61(0x129)],delete _0x3714bb[_0x2bfb61(0x159)]);}this[_0x2bfb61(0x11d)][_0x2bfb61(0x157)](_0x3714bb),this[_0x2bfb61(0x16a)](_0x3714bb);}else this[_0x2bfb61(0x11d)][_0x2bfb61(0x125)](_0x3714bb);}const _0x52fea9=_0xcbe763[_0x2bfb61(0x140)]();_0x52fea9[_0x2bfb61(0x164)]();for(let _0x594391=0x0;_0x594391<_0x52fea9[_0x2bfb61(0x12a)]-0x1;_0x594391++){const _0x533dc9=_0x52fea9[_0x594391],_0xeec38b=_0x52fea9[_0x594391+0x1];if(_0x533dc9[_0x2bfb61(0x15c)]<_0xeec38b[_0x2bfb61(0x15e)]){const _0x2fdedd=_0xeec38b[_0x2bfb61(0x15e)],_0x464f02=Math[_0x2bfb61(0x11a)](_0x2fdedd,_0x533dc9[_0x2bfb61(0x15e)]);this[_0x2bfb61(0x136)]({'revision':_0x533dc9,'from':_0x2fdedd,'to':_0x464f02});}}}[_0x45eb06(0x136)]({revision:_0xc9f6d9,from:_0x166430,to:_0x22aa58}={}){const _0x29f0bf=_0x45eb06,_0x3fb287=this[_0x29f0bf(0x10a)][_0x29f0bf(0x14f)][_0x29f0bf(0x10d)](_0x3b460c),_0xa716cf=this[_0x29f0bf(0x11d)][_0x29f0bf(0x144)]({'revision':_0xc9f6d9,'from':_0x166430,'to':_0x22aa58});_0xa716cf[_0x29f0bf(0x13c)]=_0xa716cf[_0x29f0bf(0x159)][_0x29f0bf(0x14b)](_0x3be127=>_0x3fb287[_0x29f0bf(0x10c)](_0x3be127)),_0xc9f6d9[_0x29f0bf(0x14c)](_0xa716cf);}[_0x45eb06(0x16a)](_0x2a3709){const _0x32f098=_0x45eb06,_0x94567b={};_0x94567b['id']=_0x2a3709['id'];for(const _0x4bbc1c of Object[_0x32f098(0x114)](_0x2a3709))'id'!==_0x4bbc1c&&(_0x94567b[_0x4bbc1c]=void 0x0);this[_0x32f098(0x11d)][_0x32f098(0x139)](_0x94567b['id'],_0x94567b,!0x0);}async[_0x45eb06(0x15a)](_0x33a2b9){const _0x24ed0f=_0x45eb06,_0x1b8404=this[_0x24ed0f(0x10a)][_0x24ed0f(0x14f)][_0x24ed0f(0x10d)](_0x3b460c),{connection:_0x3ba9b6}=this[_0x24ed0f(0x10a)][_0x24ed0f(0x14f)][_0x24ed0f(0x10d)](_0x5143cb),_0x2de684=new Set();for(const _0x5eaa48 of _0x33a2b9){for(const _0x190c4c of _0x5eaa48[_0x24ed0f(0x159)])_0x1ffb3f(_0x190c4c);_0x5eaa48[_0x24ed0f(0x11c)]&&_0x1ffb3f(_0x5eaa48[_0x24ed0f(0x11c)]);}if(0x0===_0x2de684[_0x24ed0f(0x11f)])return;const _0x4a08a6=await _0x5e4de2[_0x24ed0f(0x161)](_0x3ba9b6,Array[_0x24ed0f(0x15b)](_0x2de684));for(const _0xeecf2b of _0x4a08a6)_0x1b8404[_0x24ed0f(0x10c)](_0xeecf2b['id'])||_0x1b8404[_0x24ed0f(0x134)](_0xeecf2b);function _0x1ffb3f(_0x2e4208){const _0x10d30c=_0x24ed0f;_0x1b8404[_0x10d30c(0x10c)](_0x2e4208)||_0x2de684[_0x10d30c(0x138)](_0x2e4208);}}}function et(_0x328e74){const _0x78080b=_0x45eb06;return _0x328e74[_0x78080b(0x12b)][_0x78080b(0x10b)](_0x78080b(0x121))||_0x328e74[_0x78080b(0x12b)][_0x78080b(0x10b)](_0x78080b(0x143))||_0x328e74[_0x78080b(0x12b)][_0x78080b(0x10b)](_0x78080b(0x106));}
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
var
|
|
23
|
+
function _0x5d30(_0x2f7fc4,_0x42106a){var _0x48a6d0=_0x48a6();return _0x5d30=function(_0x5d3087,_0x57e168){_0x5d3087=_0x5d3087-0x69;var _0x1b6bcd=_0x48a6d0[_0x5d3087];return _0x1b6bcd;},_0x5d30(_0x2f7fc4,_0x42106a);}var _0x3146c0=_0x5d30;(function(_0x4ad906,_0x108889){var _0x5ac40f=_0x5d30,_0x4ed911=_0x4ad906();while(!![]){try{var _0xa0f8ff=-parseInt(_0x5ac40f(0x6d))/0x1*(parseInt(_0x5ac40f(0x6f))/0x2)+parseInt(_0x5ac40f(0x76))/0x3+-parseInt(_0x5ac40f(0x6b))/0x4+parseInt(_0x5ac40f(0x71))/0x5+parseInt(_0x5ac40f(0x6e))/0x6+parseInt(_0x5ac40f(0x70))/0x7+-parseInt(_0x5ac40f(0x6c))/0x8;if(_0xa0f8ff===_0x108889)break;else _0x4ed911['push'](_0x4ed911['shift']());}catch(_0x354a19){_0x4ed911['push'](_0x4ed911['shift']());}}}(_0x48a6,0xc713a));import{Plugin as _0x306090}from'ckeditor5/src/core.js';import{CloudServicesRevisionHistoryAdapter as _0x2dee19}from'./realtimecollaborativerevisionhistory/cloudservicesrevisionhistoryadapter.js';function _0x48a6(){var _0x1c05a7=['10474387Vevvqr','1748560etxhEf','requires','RevisionHistory','pluginName','RealTimeCollaborativeRevisionHistory','1975716bJsMMz','isPremiumPlugin','isOfficialPlugin','2548376InlJBd','5275120LhwkYq','253240lkknyx','682542unoFsZ','4TvdUpc'];_0x48a6=function(){return _0x1c05a7;};return _0x48a6();}import{RealTimeCollaborativeEditing as _0x423811}from'./realtimecollaborativeediting.js';export class RealTimeCollaborativeRevisionHistory extends _0x306090{static get[_0x3146c0(0x72)](){var _0x1b5727=_0x3146c0;return[_0x1b5727(0x73),_0x2dee19,_0x423811];}static get[_0x3146c0(0x74)](){var _0x6aa86a=_0x3146c0;return _0x6aa86a(0x75);}static get[_0x3146c0(0x6a)](){return!0x0;}static get[_0x3146c0(0x69)](){return!0x0;}}
|
|
@@ -20,5 +20,5 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
const
|
|
24
|
-
((()=>
|
|
23
|
+
function _0x9d30(){const _0x4385b8=['36tKZeZc','values','573460wbdBkI','_bufferedRequests','516WBumAz','8975939pHBICQ','connected','open','TrackChangesEditing','message','init','then','listenTo','off','originalSuggestionId','delete','addUser','collaboration.channelId','update','find','getUser','60kTUAWK','attributes','plugins','add','get','cloud-services-internal-error:\x20Not\x20connected.','_fetchMissingUsersForThreads','hasSuggestion','editor','_waitForServiceReady','2446736psUOcg','getMany','isConnected','_trackChangesService','6449641dmGIgP','pluginName','config','connect','adapter','size','isOfficialPlugin','reconnect','TrackChangesService','set','startsWith','getSuggestion','723015rJFpQR','8dHWSFw','2ECQolJ','requires','isPremiumPlugin','suggestionUpdated','data','_saved','from','cloud-services-internal-error:\x20Request\x20timeout.','connection','64765zABMUe','1849740PoXqyQ','CloudServicesTrackChangesAdapter','addSuggestionData','state','catch','type','addToReconnectionStack'];_0x9d30=function(){return _0x4385b8;};return _0x9d30();}const _0x5f04fc=_0x424f;(function(_0x42d8e0,_0x2b9ee7){const _0x1454ff=_0x424f,_0x47554a=_0x42d8e0();while(!![]){try{const _0x227259=parseInt(_0x1454ff(0x1e3))/0x1+-parseInt(_0x1454ff(0x1d0))/0x2*(-parseInt(_0x1454ff(0x1da))/0x3)+parseInt(_0x1454ff(0x1be))/0x4+parseInt(_0x1454ff(0x1d9))/0x5*(-parseInt(_0x1454ff(0x1e5))/0x6)+parseInt(_0x1454ff(0x1e6))/0x7*(parseInt(_0x1454ff(0x1cf))/0x8)+-parseInt(_0x1454ff(0x1ce))/0x9*(-parseInt(_0x1454ff(0x1b4))/0xa)+parseInt(_0x1454ff(0x1c2))/0xb*(-parseInt(_0x1454ff(0x1e1))/0xc);if(_0x227259===_0x2b9ee7)break;else _0x47554a['push'](_0x47554a['shift']());}catch(_0x1584a5){_0x47554a['push'](_0x47554a['shift']());}}}(_0x9d30,0xa9344));import{Plugin as _0x45dbb4}from'ckeditor5/src/core.js';import{User as _0xf724e7,TrackChangesService as _0x3c7d26}from'@ckeditor/ckeditor-cloud-services-collaboration/src/services.js';import{WebSocketGateway as _0x5b17b5}from'../realtimecollaborativeediting/websocketgateway.js';import{CloudServicesCommentsAdapter as _0x5a4ef9}from'../realtimecollaborativecomments/cloudservicescommentsadapter.js';import{Users as _0x4cde2c}from'ckeditor5-collaboration/src/collaboration-core.js';export class CloudServicesTrackChangesAdapter extends _0x45dbb4{static [_0x5f04fc(0x1ca)]=/* #__PURE__ -- @preserve */
|
|
24
|
+
((()=>_0x3c7d26)());[_0x5f04fc(0x1e4)];[_0x5f04fc(0x1c1)];static get[_0x5f04fc(0x1d1)](){const _0x48a32f=_0x5f04fc;return[_0x5a4ef9,_0x48a32f(0x1e9),_0x5b17b5];}static get[_0x5f04fc(0x1c3)](){const _0x27daec=_0x5f04fc;return _0x27daec(0x1db);}static get[_0x5f04fc(0x1c8)](){return!0x0;}static get[_0x5f04fc(0x1d2)](){return!0x0;}constructor(_0x5f433e){const _0x41aff2=_0x5f04fc;super(_0x5f433e);const _0x32a69e=this[_0x41aff2(0x1bc)][_0x41aff2(0x1c4)][_0x41aff2(0x1b8)](_0x41aff2(0x1b0));this[_0x41aff2(0x1e4)]=new Map(),this[_0x41aff2(0x1c1)]=new CloudServicesTrackChangesAdapter[(_0x41aff2(0x1ca))](_0x32a69e);}[_0x5f04fc(0x1eb)](){const _0x2a89a1=_0x5f04fc,_0x12fb09=this[_0x2a89a1(0x1bc)][_0x2a89a1(0x1b6)][_0x2a89a1(0x1b8)](_0x5b17b5),_0x14e878=this[_0x2a89a1(0x1bc)][_0x2a89a1(0x1b6)][_0x2a89a1(0x1b8)](_0x2a89a1(0x1e9));return _0x14e878[_0x2a89a1(0x1c6)]={'getSuggestion':async _0x51d787=>{const _0x50048f=_0x2a89a1;await this[_0x50048f(0x1bd)]();const _0x2a74c7=await this[_0x50048f(0x1c1)][_0x50048f(0x1b8)](_0x51d787)[_0x50048f(0x1de)](k);return await this[_0x50048f(0x1ba)]([_0x2a74c7]),_0x2a74c7;},'addSuggestion':async({id:_0x56a389,type:_0x83b65c,data:_0x47510c,originalSuggestionId:_0x3c01fb,attributes:_0x3c5380})=>{const _0x3f2009=_0x2a89a1;await this[_0x3f2009(0x1bd)]();const _0x2b4c03={'id':_0x56a389,'type':_0x83b65c,'data':_0x47510c,'originalSuggestionId':_0x3c01fb,'attributes':_0x3c5380},_0x4bdcf0=await this[_0x3f2009(0x1c1)][_0x3f2009(0x1b7)](_0x56a389,_0x83b65c,_0x47510c,_0x3c01fb,_0x3c5380)[_0x3f2009(0x1de)](_0x1a14d0=>{if(et(_0x1a14d0))return new Promise(_0x2030ac=>{const _0xce5ed6=_0x424f;this[_0xce5ed6(0x1e4)][_0xce5ed6(0x1cb)](_0x56a389,{'resolve':_0x2030ac,'suggestionData':_0x2b4c03});});throw _0x1a14d0;});return this[_0x3f2009(0x1e4)][_0x3f2009(0x1f0)](_0x56a389),_0x4bdcf0;},'updateSuggestion':async(_0xa64fde,_0x150107)=>{const _0x33290c=_0x2a89a1;if(await this[_0x33290c(0x1bd)](),_0x33290c(0x1e8)!==_0x150107[_0x33290c(0x1dd)])return this[_0x33290c(0x1c1)][_0x33290c(0x1b1)](_0xa64fde,_0x150107)[_0x33290c(0x1de)](k);}},this[_0x2a89a1(0x1ed)](this[_0x2a89a1(0x1c1)],_0x2a89a1(0x1d3),(_0x348f85,_0x413fae)=>{const _0x584dde=_0x2a89a1;_0x14e878[_0x584dde(0x1bb)](_0x413fae['id'])&&(_0x14e878[_0x584dde(0x1cd)](_0x413fae['id'])[_0x584dde(0x1b5)]=_0x413fae[_0x584dde(0x1b5)]);}),this[_0x2a89a1(0x1c1)][_0x2a89a1(0x1c5)](_0x12fb09[_0x2a89a1(0x1d8)])[_0x2a89a1(0x1ec)](_0x14b0e1=>(_0x12fb09[_0x2a89a1(0x1e0)](this),this[_0x2a89a1(0x1ba)](_0x14b0e1)[_0x2a89a1(0x1ec)](()=>{const _0x14e261=_0x2a89a1;for(const _0x37d9a8 of _0x14b0e1){_0x14e878[_0x14e261(0x1dc)](_0x37d9a8)[_0x14e261(0x1d5)]=!0x0;}})));}async[_0x5f04fc(0x1c9)](){const _0x1476e4=_0x5f04fc,_0x5695e4=this[_0x1476e4(0x1bc)][_0x1476e4(0x1b6)][_0x1476e4(0x1b8)](_0x1476e4(0x1e9)),{connection:_0x5f4956}=this[_0x1476e4(0x1bc)][_0x1476e4(0x1b6)][_0x1476e4(0x1b8)](_0x5b17b5),_0x357d0c=await this[_0x1476e4(0x1c1)][_0x1476e4(0x1c5)](_0x5f4956);await this[_0x1476e4(0x1ba)](_0x357d0c);for(const {suggestionData:_0x1f087e,resolve:_0x5c3875}of this[_0x1476e4(0x1e4)][_0x1476e4(0x1e2)]()){let _0x3d098e=_0x357d0c[_0x1476e4(0x1b2)](_0x3ae3d3=>_0x3ae3d3['id']===_0x1f087e['id']);_0x3d098e||(_0x3d098e=await this[_0x1476e4(0x1c1)][_0x1476e4(0x1b7)](_0x1f087e['id'],_0x1f087e[_0x1476e4(0x1df)],_0x1f087e[_0x1476e4(0x1d4)],_0x1f087e[_0x1476e4(0x1ef)])),_0x5c3875(_0x3d098e);}for(const _0xca3d64 of _0x357d0c)_0x5695e4[_0x1476e4(0x1bb)](_0xca3d64['id'])||_0x5695e4[_0x1476e4(0x1dc)](_0xca3d64);}async[_0x5f04fc(0x1bd)](){const _0xc5a171=_0x5f04fc;this[_0xc5a171(0x1c1)][_0xc5a171(0x1c0)]||await new Promise(_0x421ef9=>{const _0x764d76=_0xc5a171;this[_0x764d76(0x1ed)](this[_0x764d76(0x1c1)],_0x764d76(0x1e7),_0x3d53b0=>{const _0x429cfd=_0x764d76;_0x3d53b0[_0x429cfd(0x1ee)](),_0x421ef9();});});}async[_0x5f04fc(0x1ba)](_0x207485){const _0x527e64=_0x5f04fc,_0x19c6a5=this[_0x527e64(0x1bc)][_0x527e64(0x1b6)][_0x527e64(0x1b8)](_0x4cde2c),{connection:_0x383c05}=this[_0x527e64(0x1bc)][_0x527e64(0x1b6)][_0x527e64(0x1b8)](_0x5b17b5),_0x515c70=new Set();for(const {authorId:_0x46f14b}of _0x207485)_0x19c6a5[_0x527e64(0x1b3)](_0x46f14b)||_0x515c70[_0x527e64(0x1b7)](_0x46f14b);if(0x0===_0x515c70[_0x527e64(0x1c7)])return;const _0x3eb9ee=await _0xf724e7[_0x527e64(0x1bf)](_0x383c05,Array[_0x527e64(0x1d6)](_0x515c70));for(const _0x401f43 of _0x3eb9ee)_0x19c6a5[_0x527e64(0x1b3)](_0x401f43['id'])||_0x19c6a5[_0x527e64(0x1af)](_0x401f43);}}function _0x424f(_0x18d1c4,_0x395df9){const _0x9d306c=_0x9d30();return _0x424f=function(_0x424f1b,_0x5454ae){_0x424f1b=_0x424f1b-0x1af;let _0x35c5dc=_0x9d306c[_0x424f1b];return _0x35c5dc;},_0x424f(_0x18d1c4,_0x395df9);}function k(_0x40cc16){if(et(_0x40cc16))return new Promise(()=>{});throw _0x40cc16;}function et(_0x375c41){const _0x55cb9e=_0x5f04fc;return _0x375c41[_0x55cb9e(0x1ea)][_0x55cb9e(0x1cc)](_0x55cb9e(0x1b9))||_0x375c41[_0x55cb9e(0x1ea)][_0x55cb9e(0x1cc)](_0x55cb9e(0x1d7));}
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
var
|
|
23
|
+
var _0x3afff4=_0x35dd;(function(_0x3afd16,_0xe05db1){var _0x1bbe5b=_0x35dd,_0x3c7246=_0x3afd16();while(!![]){try{var _0x18b595=parseInt(_0x1bbe5b(0xf0))/0x1+parseInt(_0x1bbe5b(0xef))/0x2*(-parseInt(_0x1bbe5b(0xec))/0x3)+parseInt(_0x1bbe5b(0xe6))/0x4*(parseInt(_0x1bbe5b(0xee))/0x5)+parseInt(_0x1bbe5b(0xeb))/0x6+-parseInt(_0x1bbe5b(0xf5))/0x7*(-parseInt(_0x1bbe5b(0xf3))/0x8)+-parseInt(_0x1bbe5b(0xf1))/0x9+-parseInt(_0x1bbe5b(0xe7))/0xa*(parseInt(_0x1bbe5b(0xe8))/0xb);if(_0x18b595===_0xe05db1)break;else _0x3c7246['push'](_0x3c7246['shift']());}catch(_0x1b4471){_0x3c7246['push'](_0x3c7246['shift']());}}}(_0x3193,0x870f0));import{Plugin as _0x1c13c5}from'ckeditor5/src/core.js';function _0x35dd(_0x1e19de,_0x182f16){var _0x31938e=_0x3193();return _0x35dd=function(_0x35dd5d,_0x275da9){_0x35dd5d=_0x35dd5d-0xe5;var _0x12d0b2=_0x31938e[_0x35dd5d];return _0x12d0b2;},_0x35dd(_0x1e19de,_0x182f16);}function _0x3193(){var _0x2afb52=['7681437mEpgwH','requires','24bdIhIj','RealTimeCollaborativeTrackChanges','2123387phtgUN','isOfficialPlugin','2012204HIMQCR','3635210iigcMQ','22VNzfKu','isPremiumPlugin','TrackChanges','5517090kYQDjd','9PiNVRy','pluginName','5thzGYc','628646FweSxt','744115PmszNn'];_0x3193=function(){return _0x2afb52;};return _0x3193();}import{CloudServicesTrackChangesAdapter as _0x195ae9}from'./realtimecollaborativetrackchanges/cloudservicestrackchangesadapter.js';import{RealTimeCollaborativeComments as _0xf773d4}from'./realtimecollaborativecomments.js';export class RealTimeCollaborativeTrackChanges extends _0x1c13c5{static get[_0x3afff4(0xf2)](){var _0x1b1c17=_0x3afff4;return[_0xf773d4,_0x195ae9,_0x1b1c17(0xea)];}static get[_0x3afff4(0xed)](){var _0x3f6c72=_0x3afff4;return _0x3f6c72(0xf4);}static get[_0x3afff4(0xe5)](){return!0x0;}static get[_0x3afff4(0xe9)](){return!0x0;}}
|