@ckeditor/ckeditor5-real-time-collaboration 41.3.1 → 41.4.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/build/real-time-collaboration.js +1 -1
- package/dist/index-content.css +4 -0
- package/dist/index-editor.css +196 -0
- package/dist/index.css +345 -0
- package/dist/index.js +23 -0
- package/dist/translations/ar.d.ts +8 -0
- package/dist/translations/ar.js +23 -0
- package/dist/translations/ar.umd.js +23 -0
- package/dist/translations/bg.d.ts +8 -0
- package/dist/translations/bg.js +23 -0
- package/dist/translations/bg.umd.js +23 -0
- package/dist/translations/bn.d.ts +8 -0
- package/dist/translations/bn.js +23 -0
- package/dist/translations/bn.umd.js +23 -0
- package/dist/translations/ca.d.ts +8 -0
- package/dist/translations/ca.js +23 -0
- package/dist/translations/ca.umd.js +23 -0
- package/dist/translations/cs.d.ts +8 -0
- package/dist/translations/cs.js +23 -0
- package/dist/translations/cs.umd.js +23 -0
- package/dist/translations/da.d.ts +8 -0
- package/dist/translations/da.js +23 -0
- package/dist/translations/da.umd.js +23 -0
- package/dist/translations/de-ch.d.ts +8 -0
- package/dist/translations/de-ch.js +23 -0
- package/dist/translations/de-ch.umd.js +23 -0
- package/dist/translations/de.d.ts +8 -0
- package/dist/translations/de.js +23 -0
- package/dist/translations/de.umd.js +23 -0
- package/dist/translations/el.d.ts +8 -0
- package/dist/translations/el.js +23 -0
- package/dist/translations/el.umd.js +23 -0
- package/dist/translations/en-au.d.ts +8 -0
- package/dist/translations/en-au.js +23 -0
- package/dist/translations/en-au.umd.js +23 -0
- package/dist/translations/en.d.ts +8 -0
- package/dist/translations/en.js +23 -0
- package/dist/translations/en.umd.js +23 -0
- package/dist/translations/es.d.ts +8 -0
- package/dist/translations/es.js +23 -0
- package/dist/translations/es.umd.js +23 -0
- package/dist/translations/et.d.ts +8 -0
- package/dist/translations/et.js +23 -0
- package/dist/translations/et.umd.js +23 -0
- package/dist/translations/fa.d.ts +8 -0
- package/dist/translations/fa.js +23 -0
- package/dist/translations/fa.umd.js +23 -0
- package/dist/translations/fi.d.ts +8 -0
- package/dist/translations/fi.js +23 -0
- package/dist/translations/fi.umd.js +23 -0
- package/dist/translations/fr.d.ts +8 -0
- package/dist/translations/fr.js +23 -0
- package/dist/translations/fr.umd.js +23 -0
- package/dist/translations/gl.d.ts +8 -0
- package/dist/translations/gl.js +23 -0
- package/dist/translations/gl.umd.js +23 -0
- package/dist/translations/he.d.ts +8 -0
- package/dist/translations/he.js +23 -0
- package/dist/translations/he.umd.js +23 -0
- package/dist/translations/hi.d.ts +8 -0
- package/dist/translations/hi.js +23 -0
- package/dist/translations/hi.umd.js +23 -0
- package/dist/translations/hr.d.ts +8 -0
- package/dist/translations/hr.js +23 -0
- package/dist/translations/hr.umd.js +23 -0
- package/dist/translations/hu.d.ts +8 -0
- package/dist/translations/hu.js +23 -0
- package/dist/translations/hu.umd.js +23 -0
- package/dist/translations/id.d.ts +8 -0
- package/dist/translations/id.js +23 -0
- package/dist/translations/id.umd.js +23 -0
- package/dist/translations/it.d.ts +8 -0
- package/dist/translations/it.js +23 -0
- package/dist/translations/it.umd.js +23 -0
- package/dist/translations/ja.d.ts +8 -0
- package/dist/translations/ja.js +23 -0
- package/dist/translations/ja.umd.js +23 -0
- package/dist/translations/ko.d.ts +8 -0
- package/dist/translations/ko.js +23 -0
- package/dist/translations/ko.umd.js +23 -0
- package/dist/translations/lt.d.ts +8 -0
- package/dist/translations/lt.js +23 -0
- package/dist/translations/lt.umd.js +23 -0
- package/dist/translations/lv.d.ts +8 -0
- package/dist/translations/lv.js +23 -0
- package/dist/translations/lv.umd.js +23 -0
- package/dist/translations/ms.d.ts +8 -0
- package/dist/translations/ms.js +23 -0
- package/dist/translations/ms.umd.js +23 -0
- package/dist/translations/nl.d.ts +8 -0
- package/dist/translations/nl.js +23 -0
- package/dist/translations/nl.umd.js +23 -0
- package/dist/translations/no.d.ts +8 -0
- package/dist/translations/no.js +23 -0
- package/dist/translations/no.umd.js +23 -0
- package/dist/translations/pl.d.ts +8 -0
- package/dist/translations/pl.js +23 -0
- package/dist/translations/pl.umd.js +23 -0
- package/dist/translations/pt-br.d.ts +8 -0
- package/dist/translations/pt-br.js +23 -0
- package/dist/translations/pt-br.umd.js +23 -0
- package/dist/translations/pt.d.ts +8 -0
- package/dist/translations/pt.js +23 -0
- package/dist/translations/pt.umd.js +23 -0
- package/dist/translations/ro.d.ts +8 -0
- package/dist/translations/ro.js +23 -0
- package/dist/translations/ro.umd.js +23 -0
- package/dist/translations/ru.d.ts +8 -0
- package/dist/translations/ru.js +23 -0
- package/dist/translations/ru.umd.js +23 -0
- package/dist/translations/sk.d.ts +8 -0
- package/dist/translations/sk.js +23 -0
- package/dist/translations/sk.umd.js +23 -0
- package/dist/translations/sr-latn.d.ts +8 -0
- package/dist/translations/sr-latn.js +23 -0
- package/dist/translations/sr-latn.umd.js +23 -0
- package/dist/translations/sr.d.ts +8 -0
- package/dist/translations/sr.js +23 -0
- package/dist/translations/sr.umd.js +23 -0
- package/dist/translations/sv.d.ts +8 -0
- package/dist/translations/sv.js +23 -0
- package/dist/translations/sv.umd.js +23 -0
- package/dist/translations/th.d.ts +8 -0
- package/dist/translations/th.js +23 -0
- package/dist/translations/th.umd.js +23 -0
- package/dist/translations/tk.d.ts +8 -0
- package/dist/translations/tk.js +23 -0
- package/dist/translations/tk.umd.js +23 -0
- package/dist/translations/tr.d.ts +8 -0
- package/dist/translations/tr.js +23 -0
- package/dist/translations/tr.umd.js +23 -0
- package/dist/translations/uk.d.ts +8 -0
- package/dist/translations/uk.js +23 -0
- package/dist/translations/uk.umd.js +23 -0
- package/dist/translations/vi.d.ts +8 -0
- package/dist/translations/vi.js +23 -0
- package/dist/translations/vi.umd.js +23 -0
- package/dist/translations/zh-cn.d.ts +8 -0
- package/dist/translations/zh-cn.js +23 -0
- package/dist/translations/zh-cn.umd.js +23 -0
- package/dist/translations/zh.d.ts +8 -0
- package/dist/translations/zh.js +23 -0
- package/dist/translations/zh.umd.js +23 -0
- package/dist/types/augmentation.d.ts +68 -0
- package/dist/types/common-translations.d.ts +13 -0
- package/dist/types/config.d.ts +52 -0
- package/dist/types/index.d.ts +18 -0
- package/dist/types/presencelist/presencelistui.d.ts +51 -0
- package/dist/types/presencelist/view/presencecounterview.d.ts +15 -0
- package/dist/types/presencelist/view/presencedropdownlistitemview.d.ts +15 -0
- package/dist/types/presencelist/view/presencedropdownlistview.d.ts +26 -0
- package/dist/types/presencelist/view/presenceinlinelistitemview.d.ts +22 -0
- package/dist/types/presencelist/view/presenceinlinelistview.d.ts +15 -0
- package/dist/types/presencelist/view/presencelistview.d.ts +24 -0
- package/dist/types/presencelist.d.ts +32 -0
- package/dist/types/realtimecollaborativecomments/cloudservicescommentsadapter.d.ts +56 -0
- package/dist/types/realtimecollaborativecomments.d.ts +40 -0
- package/dist/types/realtimecollaborativeediting/realtimecollaborationclient.d.ts +141 -0
- package/dist/types/realtimecollaborativeediting/sessions.d.ts +123 -0
- package/dist/types/realtimecollaborativeediting/usermarkers.d.ts +44 -0
- package/dist/types/realtimecollaborativeediting/websocketgateway.d.ts +59 -0
- package/dist/types/realtimecollaborativeediting.d.ts +30 -0
- package/dist/types/realtimecollaborativerevisionhistory/cloudservicesrevisionhistoryadapter.d.ts +49 -0
- package/dist/types/realtimecollaborativerevisionhistory.d.ts +33 -0
- package/dist/types/realtimecollaborativetrackchanges/cloudservicestrackchangesadapter.d.ts +43 -0
- package/dist/types/realtimecollaborativetrackchanges.d.ts +31 -0
- package/package.json +6 -6
- package/src/augmentation.d.ts +0 -1
- package/src/augmentation.js +1 -1
- 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 +1 -1
- package/src/realtimecollaborativecomments.js +1 -1
- package/src/realtimecollaborativeediting/realtimecollaborationclient.js +1 -1
- package/src/realtimecollaborativeediting/sessions.js +1 -1
- package/src/realtimecollaborativeediting/usermarkers.js +1 -1
- package/src/realtimecollaborativeediting/websocketgateway.js +1 -1
- package/src/realtimecollaborativeediting.js +1 -1
- package/src/realtimecollaborativerevisionhistory/cloudservicesrevisionhistoryadapter.js +1 -1
- package/src/realtimecollaborativerevisionhistory.js +1 -1
- package/src/realtimecollaborativetrackchanges/cloudservicestrackchangesadapter.js +1 -1
- package/src/realtimecollaborativetrackchanges.js +1 -1
- package/theme/presencelist.css +4 -0
- package/theme/usermarkers.css +12 -0
|
@@ -0,0 +1,33 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* @license Copyright (c) 2003-2024, CKSource Holding sp. z o.o. All rights reserved.
|
|
3
|
+
* For licensing, see LICENSE.md or https://ckeditor.com/legal/ckeditor-oss-license
|
|
4
|
+
*/
|
|
5
|
+
/**
|
|
6
|
+
* @license Copyright (c) 2003-2024, CKSource Holding sp. z o.o. All rights reserved.
|
|
7
|
+
* For licensing, see LICENSE.md or https://ckeditor.com/legal/ckeditor-oss-license
|
|
8
|
+
*/
|
|
9
|
+
/**
|
|
10
|
+
* @module real-time-collaboration/realtimecollaborativerevisionhistory
|
|
11
|
+
* @publicApi
|
|
12
|
+
*/
|
|
13
|
+
import { Plugin } from 'ckeditor5/src/core.js';
|
|
14
|
+
import CloudServicesRevisionHistoryAdapter from './realtimecollaborativerevisionhistory/cloudservicesrevisionhistoryadapter.js';
|
|
15
|
+
import RealTimeCollaborativeEditing from './realtimecollaborativeediting.js';
|
|
16
|
+
/**
|
|
17
|
+
* Enables the real-time collaborative revision history feature.
|
|
18
|
+
*
|
|
19
|
+
* Requires adding `RevisionHistory` to the list of editor plugins.
|
|
20
|
+
*
|
|
21
|
+
* Check the {@glink features/collaboration/real-time-collaboration/real-time-collaboration-integration Real-time collaboration guide}
|
|
22
|
+
* to see how to launch the editor in the real-time collaboration mode.
|
|
23
|
+
*/
|
|
24
|
+
export default class RealTimeCollaborativeRevisionHistory extends Plugin {
|
|
25
|
+
/**
|
|
26
|
+
* @inheritDoc
|
|
27
|
+
*/
|
|
28
|
+
static get requires(): readonly ["RevisionHistory", typeof CloudServicesRevisionHistoryAdapter, typeof RealTimeCollaborativeEditing];
|
|
29
|
+
/**
|
|
30
|
+
* @inheritDoc
|
|
31
|
+
*/
|
|
32
|
+
static get pluginName(): "RealTimeCollaborativeRevisionHistory";
|
|
33
|
+
}
|
|
@@ -0,0 +1,43 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* @license Copyright (c) 2003-2024, CKSource Holding sp. z o.o. All rights reserved.
|
|
3
|
+
* For licensing, see LICENSE.md or https://ckeditor.com/legal/ckeditor-oss-license
|
|
4
|
+
*/
|
|
5
|
+
/**
|
|
6
|
+
* @license Copyright (c) 2003-2024, CKSource Holding sp. z o.o. All rights reserved.
|
|
7
|
+
* For licensing, see LICENSE.md or https://ckeditor.com/legal/ckeditor-oss-license
|
|
8
|
+
*/
|
|
9
|
+
/**
|
|
10
|
+
* @module real-time-collaboration/realtimecollaborativetrackchanges/cloudservicestrackchangesadapter
|
|
11
|
+
* @publicApi
|
|
12
|
+
*/
|
|
13
|
+
import { Plugin, type Editor } from 'ckeditor5/src/core.js';
|
|
14
|
+
import { TrackChangesService } from '@ckeditor/ckeditor-cloud-services-collaboration/src/services.js';
|
|
15
|
+
import WebSocketGateway, { type ReconnectPlugin } from '../realtimecollaborativeediting/websocketgateway.js';
|
|
16
|
+
import CloudServicesCommentsAdapter from '../realtimecollaborativecomments/cloudservicescommentsadapter.js';
|
|
17
|
+
/**
|
|
18
|
+
* The Cloud Services Track Changes Adapter plugin.
|
|
19
|
+
*/
|
|
20
|
+
export default class CloudServicesTrackChangesAdapter extends Plugin implements ReconnectPlugin {
|
|
21
|
+
static TrackChangesService: typeof TrackChangesService;
|
|
22
|
+
/**
|
|
23
|
+
* @inheritDoc
|
|
24
|
+
*/
|
|
25
|
+
static get requires(): readonly [typeof CloudServicesCommentsAdapter, "TrackChangesEditing", typeof WebSocketGateway];
|
|
26
|
+
/**
|
|
27
|
+
* @inheritDoc
|
|
28
|
+
*/
|
|
29
|
+
constructor(editor: Editor);
|
|
30
|
+
/**
|
|
31
|
+
* @inheritDoc
|
|
32
|
+
*/
|
|
33
|
+
init(): Promise<void>;
|
|
34
|
+
/**
|
|
35
|
+
* A method that will be executed when the `WebSocketGateway` will reconnect.
|
|
36
|
+
*/
|
|
37
|
+
reconnect(): Promise<void>;
|
|
38
|
+
/**
|
|
39
|
+
* Waits for the service to be ready before calling the service API.
|
|
40
|
+
*/
|
|
41
|
+
private _waitForServiceReady;
|
|
42
|
+
private _fetchMissingUsersForThreads;
|
|
43
|
+
}
|
|
@@ -0,0 +1,31 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* @license Copyright (c) 2003-2024, CKSource Holding sp. z o.o. All rights reserved.
|
|
3
|
+
* For licensing, see LICENSE.md or https://ckeditor.com/legal/ckeditor-oss-license
|
|
4
|
+
*/
|
|
5
|
+
/**
|
|
6
|
+
* @license Copyright (c) 2003-2024, CKSource Holding sp. z o.o. All rights reserved.
|
|
7
|
+
* For licensing, see LICENSE.md or https://ckeditor.com/legal/ckeditor-oss-license
|
|
8
|
+
*/
|
|
9
|
+
/**
|
|
10
|
+
* @module real-time-collaboration/realtimecollaborativetrackchanges
|
|
11
|
+
* @publicApi
|
|
12
|
+
*/
|
|
13
|
+
import { Plugin } from 'ckeditor5/src/core.js';
|
|
14
|
+
import CloudServicesTrackChangesAdapter from './realtimecollaborativetrackchanges/cloudservicestrackchangesadapter.js';
|
|
15
|
+
import RealTimeCollaborativeComments from './realtimecollaborativecomments.js';
|
|
16
|
+
/**
|
|
17
|
+
* Enables the real-time collaborative track changes feature.
|
|
18
|
+
*
|
|
19
|
+
* Check the {@glink features/collaboration/real-time-collaboration/real-time-collaboration-integration Real-time collaboration}
|
|
20
|
+
* guide to see how to launch the editor in the real-time collaboration mode.
|
|
21
|
+
*/
|
|
22
|
+
export default class RealTimeCollaborativeTrackChanges extends Plugin {
|
|
23
|
+
/**
|
|
24
|
+
* @inheritDoc
|
|
25
|
+
*/
|
|
26
|
+
static get requires(): readonly [typeof RealTimeCollaborativeComments, typeof CloudServicesTrackChangesAdapter, "TrackChanges"];
|
|
27
|
+
/**
|
|
28
|
+
* @inheritDoc
|
|
29
|
+
*/
|
|
30
|
+
static get pluginName(): "RealTimeCollaborativeTrackChanges";
|
|
31
|
+
}
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@ckeditor/ckeditor5-real-time-collaboration",
|
|
3
|
-
"version": "41.
|
|
3
|
+
"version": "41.4.0",
|
|
4
4
|
"description": "A set of CKEditor 5 features enabling real-time collaboration within the editor using CKEditor Cloud Services.",
|
|
5
5
|
"license": "SEE LICENSE IN LICENSE.md",
|
|
6
6
|
"author": "CKSource (http://cksource.com/)",
|
|
@@ -32,6 +32,7 @@
|
|
|
32
32
|
"main": "src/index.js",
|
|
33
33
|
"files": [
|
|
34
34
|
"build",
|
|
35
|
+
"dist",
|
|
35
36
|
"lang",
|
|
36
37
|
"src/**/*.js",
|
|
37
38
|
"src/**/*.d.ts",
|
|
@@ -40,11 +41,10 @@
|
|
|
40
41
|
"CHANGELOG.md"
|
|
41
42
|
],
|
|
42
43
|
"dependencies": {
|
|
43
|
-
"@ckeditor/
|
|
44
|
-
"@ckeditor/
|
|
45
|
-
"
|
|
46
|
-
"ckeditor5": "41.
|
|
47
|
-
"ckeditor5-collaboration": "41.3.1",
|
|
44
|
+
"@ckeditor/ckeditor-cloud-services-collaboration": "52.3.1",
|
|
45
|
+
"@ckeditor/ckeditor5-operations-compressor": "41.4.0",
|
|
46
|
+
"ckeditor5": "41.4.0",
|
|
47
|
+
"ckeditor5-collaboration": "41.4.0",
|
|
48
48
|
"lodash-es": "4.17.21"
|
|
49
49
|
},
|
|
50
50
|
"types": "src/index.d.ts",
|
package/src/augmentation.d.ts
CHANGED
|
@@ -2,7 +2,6 @@
|
|
|
2
2
|
* @license Copyright (c) 2003-2024, CKSource Holding sp. z o.o. All rights reserved.
|
|
3
3
|
* For licensing, see LICENSE.md or https://ckeditor.com/legal/ckeditor-oss-license
|
|
4
4
|
*/
|
|
5
|
-
import '@ckeditor/ckeditor5-cloud-services';
|
|
6
5
|
import type { PresenceListConfig } from './config.js';
|
|
7
6
|
import type { RealTimeCollaborationClient } from './index.js';
|
|
8
7
|
declare module '@ckeditor/ckeditor5-core' {
|
package/src/augmentation.js
CHANGED
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
|
|
23
|
+
export{};
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
export function getTranslation(
|
|
23
|
+
export function getTranslation(_0x169cf8,_0x1b4cfa,_0x4bcd0f){const t=_0x169cf8['t'];switch(_0x1b4cfa){case'PENDING_ACTION_SENDING_DATA':return t({'string':'Sending\x20data\x20to\x20the\x20server.','id':'PENDING_ACTION_SENDING_DATA'});case'The\x20local\x20document\x20and\x20server\x20document\x20differ\x20and\x20merging\x20them\x20can\x20cause\x20unexpected\x20behavior.\x20To\x20not\x20lose\x20your\x20content\x20save\x20it\x20locally\x20and\x20refresh\x20the\x20editor.':return t('The\x20local\x20document\x20and\x20server\x20document\x20differ\x20and\x20merging\x20them\x20can\x20cause\x20unexpected\x20behavior.\x20To\x20not\x20lose\x20your\x20content\x20save\x20it\x20locally\x20and\x20refresh\x20the\x20editor.');case'The\x20document\x20cannot\x20be\x20connected\x20back\x20to\x20the\x20server.\x20To\x20not\x20lose\x20your\x20content\x20save\x20it\x20locally\x20and\x20refresh\x20the\x20editor.':return t('The\x20document\x20cannot\x20be\x20connected\x20back\x20to\x20the\x20server.\x20To\x20not\x20lose\x20your\x20content\x20save\x20it\x20locally\x20and\x20refresh\x20the\x20editor.');case'The\x20document\x20details\x20could\x20not\x20be\x20taken\x20during\x20the\x20reconnection.\x20To\x20not\x20lose\x20your\x20content\x20save\x20it\x20locally\x20and\x20refresh\x20the\x20editor.':return t('The\x20document\x20details\x20could\x20not\x20be\x20taken\x20during\x20the\x20reconnection.\x20To\x20not\x20lose\x20your\x20content\x20save\x20it\x20locally\x20and\x20refresh\x20the\x20editor.');case'The\x20last\x20saved\x20version\x20of\x20the\x20document\x20does\x20not\x20match\x20the\x20local\x20version.\x20To\x20not\x20lose\x20your\x20content\x20save\x20it\x20locally\x20and\x20refresh\x20the\x20editor.':return t('The\x20last\x20saved\x20version\x20of\x20the\x20document\x20does\x20not\x20match\x20the\x20local\x20version.\x20To\x20not\x20lose\x20your\x20content\x20save\x20it\x20locally\x20and\x20refresh\x20the\x20editor.');case'Synchronization\x20issue':return t('Synchronization\x20issue');case'PENDING_ACTION_REVISION_HISTORY':return t({'string':'Unsaved\x20change\x20in\x20revision\x20history.','id':'PENDING_ACTION_REVISION_HISTORY'});case'CONNECTED_USERS':return t({'string':'1\x20connected\x20user\x20(me)','plural':'%0\x20connected\x20users','id':'CONNECTED_USERS'},_0x4bcd0f);default:return'';}}
|
package/src/index.js
CHANGED
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
(function(
|
|
23
|
+
(function(_0x5b8555,_0x4dc759){var _0x2de1cc=_0x5ae3,_0xc30941=_0x5b8555();while(!![]){try{var _0xeb27de=-parseInt(_0x2de1cc(0x117))/0x1*(-parseInt(_0x2de1cc(0x119))/0x2)+-parseInt(_0x2de1cc(0x114))/0x3+-parseInt(_0x2de1cc(0x111))/0x4+parseInt(_0x2de1cc(0x115))/0x5*(-parseInt(_0x2de1cc(0x118))/0x6)+-parseInt(_0x2de1cc(0x113))/0x7*(-parseInt(_0x2de1cc(0x10f))/0x8)+-parseInt(_0x2de1cc(0x110))/0x9+parseInt(_0x2de1cc(0x116))/0xa*(parseInt(_0x2de1cc(0x112))/0xb);if(_0xeb27de===_0x4dc759)break;else _0xc30941['push'](_0xc30941['shift']());}catch(_0x389356){_0xc30941['push'](_0xc30941['shift']());}}}(_0x3a99,0x2ff28));function _0x3a99(){var _0x53820a=['20mlaEPi','8TLFZFO','195714TdMEal','1089608gvaNYv','2015882YqHuyZ','1617707OEVvKV','100890zhLHqp','49205HYrEmw','10AJoymF','13933qSPZVv','18DliOvx'];_0x3a99=function(){return _0x53820a;};return _0x3a99();}export{default as RealTimeCollaborativeEditing}from'./realtimecollaborativeediting.js';export{default as RealTimeCollaborativeTrackChanges}from'./realtimecollaborativetrackchanges.js';export{default as RealTimeCollaborativeComments}from'./realtimecollaborativecomments.js';export{default as RealTimeCollaborativeRevisionHistory}from'./realtimecollaborativerevisionhistory.js';export{default as CloudServicesCommentsAdapter}from'./realtimecollaborativecomments/cloudservicescommentsadapter.js';function _0x5ae3(_0x48ce15,_0x1706e9){var _0x3a99ad=_0x3a99();return _0x5ae3=function(_0x5ae338,_0x57353b){_0x5ae338=_0x5ae338-0x10f;var _0x37f14e=_0x3a99ad[_0x5ae338];return _0x37f14e;},_0x5ae3(_0x48ce15,_0x1706e9);}export{default as CloudServicesTrackChangesAdapter}from'./realtimecollaborativetrackchanges/cloudservicestrackchangesadapter.js';export{default as CloudServicesRevisionHistoryAdapter}from'./realtimecollaborativerevisionhistory/cloudservicesrevisionhistoryadapter.js';export{default as RealTimeCollaborationClient}from'./realtimecollaborativeediting/realtimecollaborationclient.js';export{default as PresenceList}from'./presencelist.js';import'./augmentation.js';
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
const
|
|
23
|
+
const _0x3fc1fc=_0x540c;(function(_0x5b87ab,_0x263a2c){const _0x4afa22=_0x540c,_0x4d11ae=_0x5b87ab();while(!![]){try{const _0x30d078=parseInt(_0x4afa22(0x20f))/0x1+parseInt(_0x4afa22(0x226))/0x2*(parseInt(_0x4afa22(0x210))/0x3)+-parseInt(_0x4afa22(0x1ef))/0x4+-parseInt(_0x4afa22(0x1ed))/0x5+parseInt(_0x4afa22(0x22a))/0x6+parseInt(_0x4afa22(0x211))/0x7*(-parseInt(_0x4afa22(0x200))/0x8)+parseInt(_0x4afa22(0x1fc))/0x9;if(_0x30d078===_0x263a2c)break;else _0x4d11ae['push'](_0x4d11ae['shift']());}catch(_0x4c3f96){_0x4d11ae['push'](_0x4d11ae['shift']());}}}(_0x1a94,0x53fa7));import{ContextPlugin as _0x49d7c0}from'ckeditor5/src/core.js';import{CKEditorError as _0x19f0db,Collection as _0x5b23db}from'ckeditor5/src/utils.js';function _0x1a94(){const _0x2ae457=['isVisible','init','appendChild','locale','_bodyCollection','_allConnectedUsers','2YnuSlo','_calculateNewUserPosition','hasTooltip','class','2811576jsCtQH','pin','presenceDropdownView','usersCount','onClick','render','inlineListView','allConnectedUsers','ck\x20ck-presence-list__balloon','showDropdown','using','1776565YZOtXz','execute','2693080FsbgFj','_handleUserAdd','presencelist-missing-container','isRendered','isHidden','requires','element','destroy','plugins','presencelist-collapseat-invalid-format','last','remove','config','1673127vsEYIg','listenTo','counterView','presenceList.collapseAt','882824LgeRVk','displayMe','presenceList.displayMe','content','isCollapsed','unpin','bindTo','length','hideDropdown','_createView','add','get','define','reverse','view','326819aIcMLu','1504779QnqoDY','7jKdJzQ','bind','presenceList.container','items','number','set','detachFromDom','isMe','context','presenceList','attachToDom','_handleUserRemove','from','balloonPanelView','currentDisplayedUsers'];_0x1a94=function(){return _0x2ae457;};return _0x1a94();}import{clickOutsideHandler as _0x4b753c,BodyCollection as _0x5d3703,BalloonPanelView as _0x2cc23a}from'ckeditor5/src/ui.js';import{isElement as _0xb488e1}from'lodash-es';function _0x540c(_0x517ac0,_0x4500bf){const _0x1a94ad=_0x1a94();return _0x540c=function(_0x540caa,_0x29a8f5){_0x540caa=_0x540caa-0x1ec;let _0x348b18=_0x1a94ad[_0x540caa];return _0x348b18;},_0x540c(_0x517ac0,_0x4500bf);}import _0x31b488 from'../realtimecollaborativeediting/sessions.js';import _0x46fb8f from'./view/presencelistview.js';import _0x5ef46f from'./view/presencedropdownlistview.js';import _0x5391e4 from'./view/presencedropdownlistitemview.js';import _0xebc889 from'./view/presenceinlinelistitemview.js';const _={'collapseAt':0x6,'displayMe':!0x0};export default class s extends _0x49d7c0{constructor(_0x5b7859){const _0x509f56=_0x540c;super(_0x5b7859),this[_0x509f56(0x219)][_0x509f56(0x1fb)][_0x509f56(0x20c)](_0x509f56(0x21a),_);const _0x23f867=_0x5b7859[_0x509f56(0x1fb)][_0x509f56(0x20b)](_0x509f56(0x1ff));if(_0x509f56(0x215)!=typeof _0x23f867)throw new _0x19f0db(_0x509f56(0x1f8),this);if(_0x23f867<0x1)throw new _0x19f0db(_0x509f56(0x1f8),this);this[_0x509f56(0x225)]=this[_0x509f56(0x219)][_0x509f56(0x1f7)][_0x509f56(0x20b)](_0x31b488)[_0x509f56(0x231)],this[_0x509f56(0x216)](_0x509f56(0x22d),0x0),this[_0x509f56(0x21f)]=new _0x5b23db(),this[_0x509f56(0x21e)]=new _0x2cc23a(),this[_0x509f56(0x21e)][_0x509f56(0x229)]=_0x509f56(0x232),this[_0x509f56(0x20e)]=this[_0x509f56(0x209)](),this[_0x509f56(0x22c)]=void 0x0;}static get[_0x3fc1fc(0x1f4)](){return[_0x31b488];}[_0x3fc1fc(0x221)](){const _0x9818a5=_0x3fc1fc;for(const _0x1ca516 of this[_0x9818a5(0x225)])this[_0x9818a5(0x1f0)](_0x1ca516);this[_0x9818a5(0x1fd)](this[_0x9818a5(0x225)],_0x9818a5(0x20a),(_0xc9366d,_0x4fc759)=>{const _0x5f8098=_0x9818a5;this[_0x5f8098(0x1f0)](_0x4fc759);}),this[_0x9818a5(0x1fd)](this[_0x9818a5(0x225)],_0x9818a5(0x1fa),(_0x333efe,_0x4fd2c8)=>{const _0x303543=_0x9818a5;this[_0x303543(0x21c)](_0x4fd2c8);});}[_0x3fc1fc(0x209)](){const _0x12edfa=_0x3fc1fc,_0x4a5a99=this[_0x12edfa(0x219)],_0x2e8b05=new _0x46fb8f(this[_0x12edfa(0x219)][_0x12edfa(0x223)]),_0xb5bdbe=this[_0x12edfa(0x21e)];if(!_0xb488e1(_0x4a5a99[_0x12edfa(0x1fb)][_0x12edfa(0x20b)](_0x12edfa(0x213))))throw new _0x19f0db(_0x12edfa(0x1f1),this);return _0x2e8b05[_0x12edfa(0x1fe)][_0x12edfa(0x212)](_0x12edfa(0x22d))['to'](this),_0x2e8b05[_0x12edfa(0x212)](_0x12edfa(0x204))['to'](this,_0x12edfa(0x22d),_0x2266a0=>{const _0x46d539=_0x12edfa,{collapseAt:_0x50a3b4,displayMe:_0x412790}=_0x4a5a99[_0x46d539(0x1fb)][_0x46d539(0x20b)](_0x46d539(0x21a)),_0x320db7=_0x2266a0>=_0x50a3b4;return _0x2e8b05[_0x46d539(0x1fe)][_0x46d539(0x1f3)]=!(0x1==_0x2266a0&&_0x412790||_0x320db7),_0x320db7||this[_0x46d539(0x208)](),_0x320db7;}),_0x2e8b05[_0x12edfa(0x230)][_0x12edfa(0x214)][_0x12edfa(0x206)](this[_0x12edfa(0x21f)])[_0x12edfa(0x1ec)](_0x5743a6=>{const _0x2bfc40=_0x12edfa,_0x29dac7=_0x4a5a99[_0x2bfc40(0x1fb)][_0x2bfc40(0x20b)](_0x2bfc40(0x21a)),_0x2d5e7e=new _0xebc889(_0x4a5a99[_0x2bfc40(0x223)],_0x5743a6,!!_0x29dac7[_0x2bfc40(0x22e)]);return _0x2d5e7e[_0x2bfc40(0x212)](_0x2bfc40(0x228))['to'](_0x2e8b05,_0x2bfc40(0x204),_0x59269c=>!_0x59269c),_0x29dac7[_0x2bfc40(0x22e)]&&this[_0x2bfc40(0x1fd)](_0x2d5e7e,_0x2bfc40(0x1ee),()=>{const _0x43e30c=_0x2bfc40;this[_0x43e30c(0x20e)][_0x43e30c(0x204)]||_0x29dac7[_0x43e30c(0x22e)](_0x5743a6,_0x2d5e7e[_0x43e30c(0x1f5)]);}),_0x2d5e7e;}),this[_0x12edfa(0x1fd)](_0x2e8b05[_0x12edfa(0x230)],_0x12edfa(0x1ee),()=>{const _0xfea522=_0x12edfa;this[_0xfea522(0x22c)]?this[_0xfea522(0x208)]():this[_0xfea522(0x20e)][_0xfea522(0x204)]&&this[_0xfea522(0x233)]();}),_0x2e8b05[_0x12edfa(0x22f)](),_0xb5bdbe[_0x12edfa(0x22f)](),_0x4b753c({'emitter':_0x2e8b05,'activator':()=>_0xb5bdbe[_0x12edfa(0x220)],'contextElements':[_0xb5bdbe[_0x12edfa(0x1f5)],_0x2e8b05[_0x12edfa(0x230)][_0x12edfa(0x1f5)]],'callback':()=>this[_0x12edfa(0x208)]()}),_0x4a5a99[_0x12edfa(0x1fb)][_0x12edfa(0x20b)](_0x12edfa(0x213))[_0x12edfa(0x222)](_0x2e8b05[_0x12edfa(0x1f5)]),this[_0x12edfa(0x224)]=new _0x5d3703(this[_0x12edfa(0x219)][_0x12edfa(0x223)]),this[_0x12edfa(0x224)][_0x12edfa(0x21b)](),this[_0x12edfa(0x224)][_0x12edfa(0x20a)](_0xb5bdbe),_0x2e8b05;}[_0x3fc1fc(0x1f0)](_0x420616){const _0x32119e=_0x3fc1fc;if(!this[_0x32119e(0x219)][_0x32119e(0x1fb)][_0x32119e(0x20b)](_0x32119e(0x202))&&_0x420616[_0x32119e(0x218)])return;const _0xbeda5b=this[_0x32119e(0x219)][_0x32119e(0x1fb)][_0x32119e(0x20b)](_0x32119e(0x1ff))-0x1;this[_0x32119e(0x22d)]++,this[_0x32119e(0x21f)][_0x32119e(0x207)]==_0xbeda5b&&this[_0x32119e(0x21f)][_0x32119e(0x1fa)](0x0);const _0x399efa=this[_0x32119e(0x227)](_0x420616);this[_0x32119e(0x21f)][_0x32119e(0x20a)](_0x420616,_0x399efa);}[_0x3fc1fc(0x21c)](_0x122503){const _0x3bce74=_0x3fc1fc;if(this[_0x3bce74(0x22d)]--,this[_0x3bce74(0x21f)][_0x3bce74(0x20b)](_0x122503['id'])&&(this[_0x3bce74(0x21f)][_0x3bce74(0x1fa)](_0x122503['id']),this[_0x3bce74(0x21f)][_0x3bce74(0x207)]<this[_0x3bce74(0x22d)])){for(const _0x3f65e2 of Array[_0x3bce74(0x21d)](this[_0x3bce74(0x225)])[_0x3bce74(0x20d)]())if(!this[_0x3bce74(0x21f)][_0x3bce74(0x20b)](_0x3f65e2['id']))return void this[_0x3bce74(0x21f)][_0x3bce74(0x20a)](_0x3f65e2,0x0);}}[_0x3fc1fc(0x227)](_0x382a46){const _0x2c339c=_0x3fc1fc;return Boolean(this[_0x2c339c(0x21f)][_0x2c339c(0x1f9)]&&this[_0x2c339c(0x21f)][_0x2c339c(0x1f9)][_0x2c339c(0x218)])&&!_0x382a46[_0x2c339c(0x218)]?this[_0x2c339c(0x21f)][_0x2c339c(0x207)]-0x1:this[_0x2c339c(0x21f)][_0x2c339c(0x207)];}[_0x3fc1fc(0x233)](){const _0x21467f=_0x3fc1fc;if(this[_0x21467f(0x22c)])return;this[_0x21467f(0x22c)]=new _0x5ef46f(this[_0x21467f(0x219)][_0x21467f(0x223)]);const _0x507418=this[_0x21467f(0x219)][_0x21467f(0x1fb)][_0x21467f(0x20b)](_0x21467f(0x21a));this[_0x21467f(0x22c)][_0x21467f(0x214)][_0x21467f(0x206)](this[_0x21467f(0x225)])[_0x21467f(0x1ec)](_0xcd1f17=>{const _0x146e0c=_0x21467f;if(!_0x507418[_0x146e0c(0x201)]&&_0xcd1f17[_0x146e0c(0x218)])return null;const _0x2667a4=new _0x5391e4(this[_0x146e0c(0x219)][_0x146e0c(0x223)],_0xcd1f17,!!_0x507418[_0x146e0c(0x22e)]);return _0x507418[_0x146e0c(0x22e)]&&this[_0x146e0c(0x1fd)](_0x2667a4,_0x146e0c(0x1ee),()=>{const _0x1a166f=_0x146e0c;_0x507418[_0x1a166f(0x22e)](_0xcd1f17,_0x2667a4[_0x1a166f(0x1f5)]);}),_0x2667a4;}),this[_0x21467f(0x21e)][_0x21467f(0x203)][_0x21467f(0x20a)](this[_0x21467f(0x22c)]),this[_0x21467f(0x21e)][_0x21467f(0x22b)]({'target':this[_0x21467f(0x20e)][_0x21467f(0x230)][_0x21467f(0x1f5)]});}[_0x3fc1fc(0x208)](){const _0x133f74=_0x3fc1fc;this[_0x133f74(0x22c)]&&(this[_0x133f74(0x21e)][_0x133f74(0x205)](),this[_0x133f74(0x21e)][_0x133f74(0x203)][_0x133f74(0x1fa)](this[_0x133f74(0x22c)]),this[_0x133f74(0x22c)][_0x133f74(0x1f6)](),this[_0x133f74(0x22c)]=void 0x0);}[_0x3fc1fc(0x1f6)](){const _0x56ae2a=_0x3fc1fc;super[_0x56ae2a(0x1f6)](),this[_0x56ae2a(0x20e)]&&this[_0x56ae2a(0x20e)][_0x56ae2a(0x1f2)]&&this[_0x56ae2a(0x20e)][_0x56ae2a(0x1f6)](),this[_0x56ae2a(0x224)]&&this[_0x56ae2a(0x224)][_0x56ae2a(0x217)]();}}
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
(function(
|
|
23
|
+
(function(_0x242903,_0x5351a4){const _0x54b77e=_0x4085,_0x2271d6=_0x242903();while(!![]){try{const _0x29f3ff=-parseInt(_0x54b77e(0x10d))/0x1+-parseInt(_0x54b77e(0x11c))/0x2*(parseInt(_0x54b77e(0x10e))/0x3)+-parseInt(_0x54b77e(0x114))/0x4+-parseInt(_0x54b77e(0x111))/0x5+parseInt(_0x54b77e(0x11b))/0x6*(-parseInt(_0x54b77e(0x113))/0x7)+-parseInt(_0x54b77e(0x118))/0x8+parseInt(_0x54b77e(0x11d))/0x9;if(_0x29f3ff===_0x5351a4)break;else _0x2271d6['push'](_0x2271d6['shift']());}catch(_0x36033f){_0x2271d6['push'](_0x2271d6['shift']());}}}(_0x27c2,0x40ca5));function _0x4085(_0x9b10a,_0xd54fb9){const _0x27c2e6=_0x27c2();return _0x4085=function(_0x4085e0,_0x3a0112){_0x4085e0=_0x4085e0-0x10d;let _0x52974e=_0x27c2e6[_0x4085e0];return _0x52974e;},_0x4085(_0x9b10a,_0xd54fb9);}import{View as _0x42281f}from'ckeditor5/src/ui.js';import{getTranslation as _0x44cc94}from'../../common-translations.js';function _0x27c2(){const _0x991ff3=['bindTemplate','usersCount','90786GZsYRC','12UHgIAZ','13492629oCGZQp','ck-presence-list__counter','206922huSsjm','11157VehLTj','CONNECTED_USERS','div','2563680ahaZvv','set','7oIXqAK','827420pMepVY','setTemplate','ck-presence-list__counter--hidden','isHidden','2158736hFjZEh'];_0x27c2=function(){return _0x991ff3;};return _0x27c2();}export default class ts extends _0x42281f{constructor(_0x9d2c5f){const _0x2eb6dc=_0x4085;super(_0x9d2c5f);const _0x5327bd=this[_0x2eb6dc(0x119)];this[_0x2eb6dc(0x112)](_0x2eb6dc(0x11a),0x0),this[_0x2eb6dc(0x112)](_0x2eb6dc(0x117),!0x0),this[_0x2eb6dc(0x115)]({'tag':_0x2eb6dc(0x110),'attributes':{'class':['ck',_0x2eb6dc(0x11e),_0x5327bd['if'](_0x2eb6dc(0x117),_0x2eb6dc(0x116))]},'children':[{'text':_0x5327bd['to'](_0x2eb6dc(0x11a),_0x451ec5=>_0x44cc94(_0x9d2c5f,_0x2eb6dc(0x10f),_0x451ec5))}]});}}
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
(function(
|
|
23
|
+
(function(_0x2cde95,_0x4ec62f){const _0x111e6a=_0x3d23,_0x20ed48=_0x2cde95();while(!![]){try{const _0x5bc9a8=-parseInt(_0x111e6a(0x19c))/0x1+parseInt(_0x111e6a(0x1b0))/0x2+-parseInt(_0x111e6a(0x19d))/0x3+parseInt(_0x111e6a(0x1ae))/0x4+-parseInt(_0x111e6a(0x1a5))/0x5+parseInt(_0x111e6a(0x1ad))/0x6+parseInt(_0x111e6a(0x1a9))/0x7*(-parseInt(_0x111e6a(0x1b1))/0x8);if(_0x5bc9a8===_0x4ec62f)break;else _0x20ed48['push'](_0x20ed48['shift']());}catch(_0x58d9b8){_0x20ed48['push'](_0x20ed48['shift']());}}}(_0x158b,0x293f3));function _0x3d23(_0x486189,_0x544e0e){const _0x158b7c=_0x158b();return _0x3d23=function(_0x3d2372,_0x27b06a){_0x3d2372=_0x3d2372-0x19b;let _0x1393e2=_0x158b7c[_0x3d2372];return _0x1393e2;},_0x3d23(_0x486189,_0x544e0e);}import{View as _0x85e1c0}from'ckeditor5/src/ui.js';import{UserView as _0x58461a}from'ckeditor5-collaboration/src/collaboration-core.js';export default class y extends _0x85e1c0{constructor(_0x17b33c,_0x380238,_0x2ca1bd){const _0x29d8b2=_0x3d23;super(_0x17b33c);const _0x833d98=this[_0x29d8b2(0x19e)];this[_0x29d8b2(0x1a4)]=new _0x58461a(_0x17b33c,_0x380238);const _0x1d8283={'tag':_0x29d8b2(0x1a0),'attributes':{'class':['ck',_0x29d8b2(0x19b)]},'children':[this[_0x29d8b2(0x1a4)],{'tag':_0x29d8b2(0x1ab),'attributes':{'class':['ck',_0x29d8b2(0x1a8)]},'children':[{'text':_0x380238[_0x29d8b2(0x1a3)]}]},{'tag':_0x29d8b2(0x1ab),'attributes':{'class':['ck',_0x29d8b2(0x1a7),_0x380238[_0x29d8b2(0x1b2)][_0x29d8b2(0x1a1)]()],'aria-hidden':_0x29d8b2(0x19f)}}]};_0x2ca1bd&&(_0x1d8283[_0x29d8b2(0x1aa)]=_0x29d8b2(0x1a2),_0x1d8283['on']={'click':_0x833d98['to'](()=>this[_0x29d8b2(0x1af)](_0x29d8b2(0x1ac)))}),this[_0x29d8b2(0x1a6)](_0x1d8283);}}function _0x158b(){const _0x30e396=['userView','354165ObUafG','setTemplate','ck-presence-list__marker','ck-user__full-name','364KyNWuq','tag','span','execute','1998294RlbLUU','948620vpEGQO','fire','672214BqMLJg','44120LANTFk','color','ck-presence-list__dropdown-list-item','210507lkrzJY','507732qICNWP','bindTemplate','true','div','getBackgroundColorClass','button','name'];_0x158b=function(){return _0x30e396;};return _0x158b();}
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
|
|
23
|
+
(function(_0x78367e,_0x605d08){var _0x2da2fa=_0x3cfd,_0x23ce18=_0x78367e();while(!![]){try{var _0x5ebf96=parseInt(_0x2da2fa(0x15d))/0x1+-parseInt(_0x2da2fa(0x16b))/0x2+-parseInt(_0x2da2fa(0x160))/0x3*(-parseInt(_0x2da2fa(0x164))/0x4)+-parseInt(_0x2da2fa(0x167))/0x5*(parseInt(_0x2da2fa(0x161))/0x6)+-parseInt(_0x2da2fa(0x15c))/0x7*(-parseInt(_0x2da2fa(0x163))/0x8)+parseInt(_0x2da2fa(0x162))/0x9*(parseInt(_0x2da2fa(0x15e))/0xa)+-parseInt(_0x2da2fa(0x16a))/0xb*(parseInt(_0x2da2fa(0x168))/0xc);if(_0x5ebf96===_0x605d08)break;else _0x23ce18['push'](_0x23ce18['shift']());}catch(_0x405177){_0x23ce18['push'](_0x23ce18['shift']());}}}(_0xfaa8,0x2b857));function _0x3cfd(_0x23ec0f,_0x3665e9){var _0xfaa854=_0xfaa8();return _0x3cfd=function(_0x3cfd89,_0x445c37){_0x3cfd89=_0x3cfd89-0x15c;var _0x5e8eb1=_0xfaa854[_0x3cfd89];return _0x5e8eb1;},_0x3cfd(_0x23ec0f,_0x3665e9);}import{View as _0x253a85}from'ckeditor5/src/ui.js';export default class x extends _0x253a85{constructor(_0x1d0487){var _0x3e5c5a=_0x3cfd;super(_0x1d0487),this[_0x3e5c5a(0x16c)]=this[_0x3e5c5a(0x15f)](),this[_0x3e5c5a(0x165)]({'tag':_0x3e5c5a(0x16d),'attributes':{'class':['ck',_0x3e5c5a(0x169)]},'children':[{'tag':_0x3e5c5a(0x16d),'attributes':{'class':['ck',_0x3e5c5a(0x166)]},'children':this[_0x3e5c5a(0x16c)]}]});}}function _0xfaa8(){var _0x2a4506=['ck-presence-list__dropdown-list','1145386uHetbk','631950dqXNOU','items','div','21OxVtMr','147893Eeumwy','838910VnhRNE','createCollection','3hRSxdT','354KwPdDw','9DjGvQd','622112epRcPB','1055620EvpbmW','setTemplate','ck-presence-list__dropdown-list-wrapper','2245IYxTTj','24ceGass'];_0xfaa8=function(){return _0x2a4506;};return _0xfaa8();}
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
|
|
23
|
+
(function(_0x1bbdfb,_0x5ea6a5){const _0x3f2801=_0x3a1b,_0x256777=_0x1bbdfb();while(!![]){try{const _0x454702=parseInt(_0x3f2801(0x1ac))/0x1*(parseInt(_0x3f2801(0x193))/0x2)+parseInt(_0x3f2801(0x1a8))/0x3+-parseInt(_0x3f2801(0x19d))/0x4*(-parseInt(_0x3f2801(0x1a2))/0x5)+parseInt(_0x3f2801(0x19e))/0x6+-parseInt(_0x3f2801(0x1aa))/0x7*(parseInt(_0x3f2801(0x1a6))/0x8)+parseInt(_0x3f2801(0x1ad))/0x9*(parseInt(_0x3f2801(0x199))/0xa)+-parseInt(_0x3f2801(0x1a9))/0xb;if(_0x454702===_0x5ea6a5)break;else _0x256777['push'](_0x256777['shift']());}catch(_0x4a4a66){_0x256777['push'](_0x256777['shift']());}}}(_0x4f7d,0xb3a2b));function _0x3a1b(_0x234993,_0x26f4c5){const _0x4f7d3f=_0x4f7d();return _0x3a1b=function(_0x3a1bc1,_0x326386){_0x3a1bc1=_0x3a1bc1-0x190;let _0x5dd4af=_0x4f7d3f[_0x3a1bc1];return _0x5dd4af;},_0x3a1b(_0x234993,_0x26f4c5);}function _0x4f7d(){const _0x51073c=['1012392zsGlDr','34270588KqINaI','169085tJhZJk','tooltipPosition','1108955bkhBJC','3014226GzeZet','set','span','ck-presence-list__marker','hasTooltip','2MSYlHp','color','name','bindTemplate','ck-presence-list__list-item','true','20LcNAsu','tag','ck-presence-list__list-item__tooltip','execute','412JPtbEO','4483512GObjUW','getBackgroundColorClass','userView','div','67885FmqExv','setTemplate','fire','markerView','136tRBmkM','button'];_0x4f7d=function(){return _0x51073c;};return _0x4f7d();}import{View as _0x4ab9df}from'ckeditor5/src/ui.js';import{UserView as _0x2f3485}from'ckeditor5-collaboration/src/collaboration-core.js';export default class A extends _0x4ab9df{constructor(_0x8510d9,_0x4b55b2,_0x46cff1){const _0x14f397=_0x3a1b;super(_0x8510d9);const _0x664ad5=this[_0x14f397(0x196)];this[_0x14f397(0x1ae)](_0x14f397(0x192),!0x0),this[_0x14f397(0x1ae)](_0x14f397(0x1ab),''),this[_0x14f397(0x1a0)]=new _0x2f3485(_0x8510d9,_0x4b55b2),this[_0x14f397(0x1a5)]=new ot(_0x8510d9,_0x4b55b2);const _0x17b05e={'tag':_0x14f397(0x1a1),'attributes':{'class':['ck',_0x14f397(0x197)],'data-cke-tooltip-text':this[_0x14f397(0x1a0)][_0x14f397(0x195)],'data-cke-tooltip-position':_0x664ad5['to'](_0x14f397(0x1ab)),'data-cke-tooltip-disabled':_0x664ad5['to'](_0x14f397(0x192),_0xdca683=>!_0xdca683),'data-cke-tooltip-class':_0x14f397(0x19b)},'children':[this[_0x14f397(0x1a0)],this[_0x14f397(0x1a5)]]};_0x46cff1&&(_0x17b05e[_0x14f397(0x19a)]=_0x14f397(0x1a7),_0x17b05e['on']={'click':_0x664ad5['to'](()=>this[_0x14f397(0x1a4)](_0x14f397(0x19c)))}),this[_0x14f397(0x1a3)](_0x17b05e);}}class ot extends _0x4ab9df{constructor(_0x4f1424,_0x1b077d){const _0x35e4f7=_0x3a1b;super(_0x4f1424),this[_0x35e4f7(0x1a3)]({'tag':_0x35e4f7(0x190),'attributes':{'class':['ck',_0x35e4f7(0x191),_0x1b077d[_0x35e4f7(0x194)][_0x35e4f7(0x19f)]()],'aria-hidden':_0x35e4f7(0x198)}});}}
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
function
|
|
23
|
+
function _0x21c5(_0x21c939,_0x34d9bf){const _0x259a17=_0x259a();return _0x21c5=function(_0x21c5bf,_0x19a254){_0x21c5bf=_0x21c5bf-0x6b;let _0x5ac10b=_0x259a17[_0x21c5bf];return _0x5ac10b;},_0x21c5(_0x21c939,_0x34d9bf);}(function(_0x91fd38,_0x234cf9){const _0xee39e9=_0x21c5,_0x4e9cc8=_0x91fd38();while(!![]){try{const _0x401093=parseInt(_0xee39e9(0x6c))/0x1+parseInt(_0xee39e9(0x73))/0x2*(-parseInt(_0xee39e9(0x74))/0x3)+parseInt(_0xee39e9(0x75))/0x4+parseInt(_0xee39e9(0x70))/0x5*(-parseInt(_0xee39e9(0x7c))/0x6)+-parseInt(_0xee39e9(0x79))/0x7*(parseInt(_0xee39e9(0x7e))/0x8)+parseInt(_0xee39e9(0x7d))/0x9*(-parseInt(_0xee39e9(0x6f))/0xa)+parseInt(_0xee39e9(0x71))/0xb*(parseInt(_0xee39e9(0x72))/0xc);if(_0x401093===_0x234cf9)break;else _0x4e9cc8['push'](_0x4e9cc8['shift']());}catch(_0x53b3d9){_0x4e9cc8['push'](_0x4e9cc8['shift']());}}}(_0x259a,0x30ce6));import{View as _0x14731f}from'ckeditor5/src/ui.js';function _0x259a(){const _0x47c25b=['items','791fqDbQI','createCollection','ck-presence-list__list','7518ojxAnO','9ZPWIWb','5912dyYJGH','bindTemplate','62552IMRGMC','setTemplate','fire','465110ykbbLR','185hNotIP','11YkIzbq','6612708BoZGLK','1732psAfod','1101eVADDf','322000GcMDpd','div','execute'];_0x259a=function(){return _0x47c25b;};return _0x259a();}export default class rt extends _0x14731f{constructor(_0x327dd7){const _0x45eb8f=_0x21c5;super(_0x327dd7),this[_0x45eb8f(0x78)]=this[_0x45eb8f(0x7a)]();const _0x291cf3=this[_0x45eb8f(0x6b)];this[_0x45eb8f(0x6d)]({'tag':_0x45eb8f(0x76),'attributes':{'class':['ck',_0x45eb8f(0x7b)]},'children':this[_0x45eb8f(0x78)],'on':{'click':_0x291cf3['to'](()=>this[_0x45eb8f(0x6e)](_0x45eb8f(0x77)))}});}}
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
(function(
|
|
23
|
+
function _0x4ac3(){const _0x396ab0=['275926AgmaRs','1384296ktYMiz','25730erPFdJ','12CJUXNe','setTemplate','tooltipPosition','inlineListView','ck-reset','37398948izfLoy','3rJYcaN','bindTemplate','4277200lUnmMD','ck-presence-list','locale','first','ck-presence-list--collapsed','items','isCollapsed','set','36dgTBYG','counterView','change','ck-rounded-corners','5zgHzIQ','listenTo','275821brlFfq','div','2478048AIOZBR','1089AOqjho'];_0x4ac3=function(){return _0x396ab0;};return _0x4ac3();}(function(_0x4937a3,_0x429629){const _0x12b0a3=_0x131b,_0x3b84fa=_0x4937a3();while(!![]){try{const _0x4e89cb=parseInt(_0x12b0a3(0x1b3))/0x1*(-parseInt(_0x12b0a3(0x1b9))/0x2)+-parseInt(_0x12b0a3(0x1a5))/0x3*(parseInt(_0x12b0a3(0x1b7))/0x4)+-parseInt(_0x12b0a3(0x1a7))/0x5+parseInt(_0x12b0a3(0x19f))/0x6*(-parseInt(_0x12b0a3(0x1b5))/0x7)+parseInt(_0x12b0a3(0x1ba))/0x8*(-parseInt(_0x12b0a3(0x1af))/0x9)+parseInt(_0x12b0a3(0x19e))/0xa*(parseInt(_0x12b0a3(0x1b8))/0xb)+parseInt(_0x12b0a3(0x1a4))/0xc;if(_0x4e89cb===_0x429629)break;else _0x3b84fa['push'](_0x3b84fa['shift']());}catch(_0x353261){_0x3b84fa['push'](_0x3b84fa['shift']());}}}(_0x4ac3,0x6a581));import{View as _0x22d3ff}from'ckeditor5/src/ui.js';function _0x131b(_0x4becc2,_0x44f325){const _0x4ac32a=_0x4ac3();return _0x131b=function(_0x131b6a,_0x586cc1){_0x131b6a=_0x131b6a-0x19e;let _0x1aff09=_0x4ac32a[_0x131b6a];return _0x1aff09;},_0x131b(_0x4becc2,_0x44f325);}import _0x150080 from'./presencecounterview.js';import _0x18e87f from'./presenceinlinelistview.js';import'../../../theme/presencelist.css';export default class k extends _0x22d3ff{constructor(_0x53cbac){const _0x3ff7ee=_0x131b;super(_0x53cbac);const _0x290784=this[_0x3ff7ee(0x1a6)];this[_0x3ff7ee(0x1ae)](_0x3ff7ee(0x1ad),!0x0),this[_0x3ff7ee(0x1b0)]=new _0x150080(this[_0x3ff7ee(0x1a9)]),this[_0x3ff7ee(0x1a2)]=new _0x18e87f(_0x53cbac),this[_0x3ff7ee(0x1b4)](this[_0x3ff7ee(0x1a2)][_0x3ff7ee(0x1ac)],_0x3ff7ee(0x1b1),()=>{const _0x4ed54f=_0x3ff7ee;for(const _0x597009 of this[_0x4ed54f(0x1a2)][_0x4ed54f(0x1ac)])_0x597009[_0x4ed54f(0x1a1)]='s';this[_0x4ed54f(0x1a2)][_0x4ed54f(0x1ac)][_0x4ed54f(0x1aa)]&&(this[_0x4ed54f(0x1a2)][_0x4ed54f(0x1ac)][_0x4ed54f(0x1aa)][_0x4ed54f(0x1a1)]='se');}),this[_0x3ff7ee(0x1a0)]({'tag':_0x3ff7ee(0x1b6),'attributes':{'class':['ck',_0x3ff7ee(0x1a8),_0x3ff7ee(0x1a3),_0x3ff7ee(0x1b2),_0x290784['if'](_0x3ff7ee(0x1ad),_0x3ff7ee(0x1ab))]},'children':[this[_0x3ff7ee(0x1b0)],this[_0x3ff7ee(0x1a2)]]});}}
|
package/src/presencelist.js
CHANGED
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
var
|
|
23
|
+
var _0x328b75=_0x5293;(function(_0x2e6f62,_0xf7d5c3){var _0x508682=_0x5293,_0xa818f3=_0x2e6f62();while(!![]){try{var _0x25f3cc=parseInt(_0x508682(0x159))/0x1+-parseInt(_0x508682(0x152))/0x2*(-parseInt(_0x508682(0x158))/0x3)+-parseInt(_0x508682(0x15c))/0x4*(-parseInt(_0x508682(0x156))/0x5)+-parseInt(_0x508682(0x155))/0x6*(parseInt(_0x508682(0x15f))/0x7)+-parseInt(_0x508682(0x15d))/0x8*(parseInt(_0x508682(0x153))/0x9)+parseInt(_0x508682(0x15a))/0xa+-parseInt(_0x508682(0x15e))/0xb;if(_0x25f3cc===_0xf7d5c3)break;else _0xa818f3['push'](_0xa818f3['shift']());}catch(_0x4df6b7){_0xa818f3['push'](_0xa818f3['shift']());}}}(_0x50fd,0xa9672));import{ContextPlugin as _0x1b5ea8}from'ckeditor5/src/core.js';function _0x5293(_0x570edf,_0x5409fe){var _0x50fdb1=_0x50fd();return _0x5293=function(_0x5293ef,_0x1f0755){_0x5293ef=_0x5293ef-0x152;var _0x4d9bcf=_0x50fdb1[_0x5293ef];return _0x4d9bcf;},_0x5293(_0x570edf,_0x5409fe);}function _0x50fd(){var _0x3a009d=['47720HjzUsE','PresenceList','11952HHKNXX','774514VLJskF','7243770hYOWtm','pluginName','504Totkwu','8NJNyAq','16100535msbegH','6631723ZAejbM','548BVnwnN','6192927TZZgrP','requires','6nqBtId'];_0x50fd=function(){return _0x3a009d;};return _0x50fd();}import _0x5c9f70 from'./realtimecollaborativeediting/sessions.js';import _0x4f4346 from'./presencelist/presencelistui.js';export default class i extends _0x1b5ea8{static get[_0x328b75(0x154)](){return[_0x5c9f70,_0x4f4346];}static get[_0x328b75(0x15b)](){var _0x55b3f5=_0x328b75;return _0x55b3f5(0x157);}}
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
const _0x1c175d=_0x24ed;(function(_0x195e27,_0x54a420){const _0x363b15=_0x24ed,_0x13ea04=_0x195e27();while(!![]){try{const _0x181b85=parseInt(_0x363b15(0x1c8))/0x1*(-parseInt(_0x363b15(0x1a5))/0x2)+parseInt(_0x363b15(0x1c9))/0x3+-parseInt(_0x363b15(0x19a))/0x4+parseInt(_0x363b15(0x193))/0x5*(-parseInt(_0x363b15(0x186))/0x6)+parseInt(_0x363b15(0x1a1))/0x7*(-parseInt(_0x363b15(0x187))/0x8)+-parseInt(_0x363b15(0x1bb))/0x9+parseInt(_0x363b15(0x18f))/0xa;if(_0x181b85===_0x54a420)break;else _0x13ea04['push'](_0x13ea04['shift']());}catch(_0xe24d6f){_0x13ea04['push'](_0x13ea04['shift']());}}}(_0x39aa,0x9f7d1));import{Context as _0x80fadf,ContextPlugin as _0x4951b5}from'ckeditor5/src/core.js';import{CKEditorError as _0x478b48}from'ckeditor5/src/utils.js';import{Users as _0xfb3702}from'ckeditor5-collaboration/src/collaboration-core.js';import{User as _0x5b0001}from'@ckeditor/ckeditor-cloud-services-collaboration';function _0x39aa(){const _0x1a4058=['8sCLKQr','_fetchMissingUsersForThreads','from','cloud-services-internal-error:\x20Comments\x20Service\x20is\x20not\x20connected.','commentThreadUpdated','_terminateService','commentThreadResolved','reconnect','20515330egDZDg','unregister','userId','message','115uVRqlU','updateComment','delete','commentRemoved','resolve','authorId','getConnectedSessions','2330960KSoIpW','resolvedBy','commentId','permissions','commentThreadAdded','_getService','mySessionId','6955669yWokMB','requires','listenTo','has','314hkcPqr','destroy','commentUpdated','CommentsRepository','getComment','createdAt','add','register','getUser','Permissions','commentThreadId','commentAdded','removeComment','code','_connectService','size','_setUpService','reopen','context','resolveCommentThread','catch','cloudservicescommentsadapter-connect-already-connected','577305kolcSC','attributes','updateCommentThread','removeCommentThread','CommentsService','_services','setPermissions','assign','set','cloudservicescommentsadapter-service-not-exist','map','cloud-services-internal-error:\x20Request\x20timeout.','comments','5497lZFzlM','3616986eoCadZ','init','deletedAt','addCommentThread','404','remove','sessionAdd:','pluginName','getCommentThreads','plugins','addToReconnectionStack','disconnect','getMany','cloud-services-internal-error:\x20Not\x20connected.','startsWith','update','adapter','addComment','getCommentThread','resolvedAt','reopenCommentThread','commentThreadRemoved','get','commentThreadReopened','keys','config','addUser','cloudservicescommentsadapter-disconnect-not-exist','collaboration.channelId','CloudServicesCommentsAdapter','connect','content','off','26178dNQxmF'];_0x39aa=function(){return _0x1a4058;};return _0x39aa();}import{CommentsService as _0x260b6f}from'@ckeditor/ckeditor-cloud-services-collaboration/src/services.js';import _0x30fb6c from'../realtimecollaborativeediting/websocketgateway.js';import _0x36febf from'../realtimecollaborativeediting/sessions.js';class a extends _0x4951b5{static get[_0x1c175d(0x1a2)](){const _0x475117=_0x1c175d;return[_0x30fb6c,_0x475117(0x1a8),_0x36febf,_0xfb3702];}static get[_0x1c175d(0x1d0)](){const _0x413839=_0x1c175d;return _0x413839(0x182);}constructor(_0x5ded10){const _0x4b7ce4=_0x1c175d;super(_0x5ded10),this[_0x4b7ce4(0x1c0)]=new Map();}async[_0x1c175d(0x1ca)](){const _0x4c1449=_0x1c175d,_0x477594=this[_0x4c1449(0x1b7)],_0x454bf9=_0x477594[_0x4c1449(0x16e)][_0x4c1449(0x17b)](_0x4c1449(0x1a8));if(_0x477594[_0x4c1449(0x16e)][_0x4c1449(0x17b)](_0x30fb6c)[_0x4c1449(0x16f)](this),_0x454bf9[_0x4c1449(0x175)]={'addCommentThread':async({channelId:_0x1bcad1,threadId:_0x26bd70,comments:_0x55f808,resolvedAt:_0x1ccf6e,resolvedBy:_0x28b918,context:_0x2caa1f,attributes:_0x11860d})=>{const _0x2f0a21=_0x4c1449,_0x2844af=await this[_0x2f0a21(0x19f)](_0x1bcad1)[_0x2f0a21(0x1cc)]({'commentThreadId':_0x26bd70,'comments':_0x55f808[_0x2f0a21(0x1c5)](_0x27f482=>function(_0x5b256d,_0x53df29,_0xc90e74){const _0x36a03d=_0x2f0a21;return{'commentThreadId':_0xc90e74,'commentId':_0x5b256d[_0x36a03d(0x19c)],'userId':_0x5b256d[_0x36a03d(0x198)],'content':_0x5b256d[_0x36a03d(0x184)],'documentId':_0x53df29,'createdAt':_0x5b256d[_0x36a03d(0x1aa)],'attributes':_0x5b256d[_0x36a03d(0x1bc)]||{}};}(_0x27f482,_0x1bcad1,_0x26bd70)),'resolvedAt':_0x1ccf6e,'resolvedBy':_0x28b918,'context':_0x2caa1f,'attributes':_0x11860d})[_0x2f0a21(0x1b9)](B);return{'threadId':_0x2844af[_0x2f0a21(0x1af)],'comments':_0x2844af[_0x2f0a21(0x1c7)]};},'getCommentThread':async({channelId:_0x1bb3ff,threadId:_0xdd334d})=>{const _0x1ca0b7=_0x4c1449,_0x15eaea=await this[_0x1ca0b7(0x19f)](_0x1bb3ff)[_0x1ca0b7(0x177)](_0xdd334d)[_0x1ca0b7(0x1b9)](B);return await this[_0x1ca0b7(0x188)]([_0x15eaea]),{'threadId':_0x15eaea[_0x1ca0b7(0x1af)],'comments':_0x15eaea[_0x1ca0b7(0x1c7)][_0x1ca0b7(0x1c5)](R),'context':_0x15eaea[_0x1ca0b7(0x1b7)],'resolvedAt':_0x15eaea[_0x1ca0b7(0x178)],'resolvedBy':_0x15eaea[_0x1ca0b7(0x19b)],'attributes':_0x15eaea[_0x1ca0b7(0x1bc)]||{}};},'updateCommentThread':async({channelId:_0x51fcb7,threadId:_0x185822,context:_0x15f83a,unlinkedAt:_0x3bd655,attributes:_0x2879f6})=>this[_0x4c1449(0x19f)](_0x51fcb7)[_0x4c1449(0x1bd)]({'commentThreadId':_0x185822,'context':_0x15f83a,'attributes':_0x2879f6,'unlinkedAt':_0x3bd655})[_0x4c1449(0x1b9)](F)[_0x4c1449(0x1b9)](B),'resolveCommentThread':async({channelId:_0x5049b1,threadId:_0x2be391})=>{const _0x558ccf=_0x4c1449,_0xd61b87=await this[_0x558ccf(0x19f)](_0x5049b1)[_0x558ccf(0x1b8)](_0x2be391)[_0x558ccf(0x1b9)](F)[_0x558ccf(0x1b9)](B);return{'threadId':_0xd61b87[_0x558ccf(0x1af)],'resolvedAt':_0xd61b87[_0x558ccf(0x178)],'resolvedBy':_0xd61b87[_0x558ccf(0x19b)]};},'reopenCommentThread':async({channelId:_0x38c3ff,threadId:_0x4acdda})=>this[_0x4c1449(0x19f)](_0x38c3ff)[_0x4c1449(0x179)](_0x4acdda)[_0x4c1449(0x1b9)](F)[_0x4c1449(0x1b9)](B),'removeCommentThread':({channelId:_0x24dc7c,threadId:_0x1ec253})=>this[_0x4c1449(0x19f)](_0x24dc7c)[_0x4c1449(0x1be)](_0x1ec253)[_0x4c1449(0x1b9)](F)[_0x4c1449(0x1b9)](B),'addComment':({channelId:_0x50195c,threadId:_0x2f0ebd,commentId:_0x1f553c,content:_0x23e7c4,attributes:_0x313c69})=>this[_0x4c1449(0x19f)](_0x50195c)[_0x4c1449(0x176)](_0x2f0ebd,_0x1f553c,_0x23e7c4,_0x313c69)[_0x4c1449(0x1b9)](B),'updateComment':({channelId:_0x59e2d3,threadId:_0x1f184c,commentId:_0x3e584e,content:_0x1fc15d,attributes:_0x4eaf96})=>this[_0x4c1449(0x19f)](_0x59e2d3)[_0x4c1449(0x194)](_0x1f184c,_0x3e584e,_0x1fc15d,_0x4eaf96)[_0x4c1449(0x1b9)](F)[_0x4c1449(0x1b9)](B),'removeComment':({channelId:_0xe1966c,threadId:_0x8f2e4d,commentId:_0x6725b3})=>this[_0x4c1449(0x19f)](_0xe1966c)[_0x4c1449(0x1b1)](_0x8f2e4d,_0x6725b3)[_0x4c1449(0x1b9)](F)[_0x4c1449(0x1b9)](B)},_0x477594 instanceof _0x80fadf){const _0x50caa4=_0x477594[_0x4c1449(0x17e)][_0x4c1449(0x17b)](_0x4c1449(0x181)),_0x4b4f18=_0x477594[_0x4c1449(0x16e)][_0x4c1449(0x17b)](_0x36febf);await this[_0x4c1449(0x1b5)](_0x50caa4);const _0x51528e=await this[_0x4c1449(0x1c0)][_0x4c1449(0x17b)](_0x50caa4)[_0x4c1449(0x199)]();this[_0x4c1449(0x1a3)](_0x4b4f18,_0x4c1449(0x1cf)+_0x50caa4,(_0x34d666,{session:_0x4c8ce3})=>{const _0x4988ac=_0x4c1449;_0x4c8ce3['id']===_0x4b4f18[_0x4988ac(0x1a0)]&&(_0x34d666[_0x4988ac(0x185)](),this[_0x4988ac(0x1b7)][_0x4988ac(0x16e)][_0x4988ac(0x17b)](_0x4988ac(0x1ae))[_0x4988ac(0x1c1)](_0x4c8ce3[_0x4988ac(0x19d)],_0x50caa4));}),_0x4b4f18[_0x4c1449(0x1ac)](_0x50caa4,_0x51528e);}}async[_0x1c175d(0x1b5)](_0x42101f){const _0x5846a1=_0x1c175d;if(this[_0x5846a1(0x1c0)][_0x5846a1(0x1a4)](_0x42101f))throw new _0x478b48(_0x5846a1(0x1ba),null,{'channelId':_0x42101f});const _0x305e57=this[_0x5846a1(0x1b7)][_0x5846a1(0x16e)][_0x5846a1(0x17b)](_0x5846a1(0x1a8)),_0x31df3f=new a[(_0x5846a1(0x1bf))](_0x42101f);this[_0x5846a1(0x1c0)][_0x5846a1(0x1c3)](_0x42101f,_0x31df3f),this[_0x5846a1(0x1a3)](_0x31df3f,_0x5846a1(0x19e),(_0x1927a9,_0x5ec3bd)=>{const _0x3cb307=_0x5846a1,{commentThreadId:_0x24478b,documentId:_0x4936ca,context:_0x56a164,attributes:_0x203d55,resolvedAt:_0x5cf5a7,resolvedBy:_0x4c3189,comments:_0x133ce2}=_0x5ec3bd;_0x305e57[_0x3cb307(0x177)](_0x24478b)||_0x305e57[_0x3cb307(0x1cc)]({'threadId':_0x24478b,'channelId':_0x4936ca,'comments':_0x133ce2?_0x133ce2[_0x3cb307(0x1c5)](R):[],'context':_0x56a164,'attributes':_0x203d55,'resolvedAt':_0x5cf5a7,'resolvedBy':_0x4c3189,'isFromAdapter':!0x0});}),this[_0x5846a1(0x1a3)](_0x31df3f,_0x5846a1(0x18b),(_0x337312,{commentThreadId:_0x4f8bab,documentId:_0x2342db,context:_0x58e8ac,unlinkedAt:_0x5a22bf,attributes:_0x1c383a})=>{const _0x47af11=_0x5846a1;_0x305e57[_0x47af11(0x177)](_0x4f8bab)&&_0x305e57[_0x47af11(0x1bd)]({'threadId':_0x4f8bab,'channelId':_0x2342db,'context':_0x58e8ac,'unlinkedAt':_0x5a22bf,'attributes':_0x1c383a,'isFromAdapter':!0x0});}),this[_0x5846a1(0x1a3)](_0x31df3f,_0x5846a1(0x18d),(_0x488af7,{commentThreadId:_0x3ba48b,resolvedBy:_0x4ceb1b,resolvedAt:_0x5ab518})=>{const _0x24d6d0=_0x5846a1,_0x4c9f99=_0x305e57[_0x24d6d0(0x177)](_0x3ba48b);_0x4c9f99&&_0x4c9f99[_0x24d6d0(0x197)]({'resolvedBy':_0x4ceb1b,'resolvedAt':_0x5ab518,'isFromAdapter':!0x0});}),this[_0x5846a1(0x1a3)](_0x31df3f,_0x5846a1(0x17c),(_0x4e835d,{commentThreadId:_0x4eaf9d})=>{const _0x371ab6=_0x5846a1,_0x512e48=_0x305e57[_0x371ab6(0x177)](_0x4eaf9d);_0x512e48&&_0x512e48[_0x371ab6(0x1b6)]({'isFromAdapter':!0x0});}),this[_0x5846a1(0x1a3)](_0x31df3f,_0x5846a1(0x17a),(_0x52f197,{commentThreadId:_0x301760})=>{const _0x3acd1a=_0x5846a1,_0x523620=_0x305e57[_0x3acd1a(0x177)](_0x301760);_0x523620&&_0x523620[_0x3acd1a(0x1ce)]({'isFromAdapter':!0x0});}),this[_0x5846a1(0x1a3)](_0x31df3f,_0x5846a1(0x1b0),(_0x452bc3,_0xa12d1f)=>{const _0x3fa7c7=_0x5846a1,_0x1d9fca=_0xa12d1f[_0x3fa7c7(0x1af)],_0x18a8ef=_0x305e57[_0x3fa7c7(0x177)](_0x1d9fca);_0x18a8ef&&_0x18a8ef[_0x3fa7c7(0x176)]({...R(_0xa12d1f),'isFromAdapter':!0x0});}),this[_0x5846a1(0x1a3)](_0x31df3f,_0x5846a1(0x1a7),(_0x2e120c,{commentThreadId:_0x4b5d6a,commentId:_0x53171f,content:_0x53f5f3,attributes:_0x39307c})=>{const _0x19e56e=_0x5846a1,_0x158a97=_0x305e57[_0x19e56e(0x177)](_0x4b5d6a);if(_0x158a97){const _0x5ab3a7=_0x158a97[_0x19e56e(0x1a9)](_0x53171f);_0x5ab3a7&&_0x5ab3a7[_0x19e56e(0x174)]({'content':_0x53f5f3,'attributes':_0x39307c,'isFromAdapter':!0x0});}}),this[_0x5846a1(0x1a3)](_0x31df3f,_0x5846a1(0x196),(_0x2d06c1,{commentThreadId:_0x344f75,commentId:_0x1f958f})=>{const _0x326a3a=_0x5846a1,_0x595fb3=_0x305e57[_0x326a3a(0x177)](_0x344f75);if(_0x595fb3){const _0x339f96=_0x595fb3[_0x326a3a(0x1a9)](_0x1f958f);_0x339f96&&_0x339f96[_0x326a3a(0x1ce)]({'isFromAdapter':!0x0});}}),await this[_0x5846a1(0x1b3)](_0x42101f);}[_0x1c175d(0x1a6)](){const _0x4491d2=_0x1c175d;if(this[_0x4491d2(0x1b7)]instanceof _0x80fadf){const _0x4369ab=this[_0x4491d2(0x1b7)][_0x4491d2(0x17e)][_0x4491d2(0x17b)](_0x4491d2(0x181));this[_0x4491d2(0x18c)](_0x4369ab);}}[_0x1c175d(0x18c)](_0x1c382c){const _0x302fef=_0x1c175d;if(!this[_0x302fef(0x1c0)][_0x302fef(0x1a4)](_0x1c382c))throw new _0x478b48(_0x302fef(0x180),null,{'channelId':_0x1c382c});this[_0x302fef(0x19f)](_0x1c382c)[_0x302fef(0x170)](),this[_0x302fef(0x1c0)][_0x302fef(0x195)](_0x1c382c);}async[_0x1c175d(0x18e)](){const _0x58a685=_0x1c175d;for(const _0x2a30e1 of this[_0x58a685(0x1c0)][_0x58a685(0x17d)]())await this[_0x58a685(0x1b3)](_0x2a30e1);if(this[_0x58a685(0x1b7)]instanceof _0x80fadf){const _0x589a53=this[_0x58a685(0x1b7)][_0x58a685(0x17e)][_0x58a685(0x17b)](_0x58a685(0x181)),_0x306bc4=this[_0x58a685(0x1b7)][_0x58a685(0x16e)][_0x58a685(0x17b)](_0x36febf);_0x306bc4[_0x58a685(0x190)](_0x589a53);const _0x131a7d=await this[_0x58a685(0x1c0)][_0x58a685(0x17b)](_0x589a53)[_0x58a685(0x199)]();_0x306bc4[_0x58a685(0x1ac)](_0x589a53,_0x131a7d);}}async[_0x1c175d(0x1b3)](_0x11562e){const _0x3b9e96=_0x1c175d,{connection:_0x37d428}=this[_0x3b9e96(0x1b7)][_0x3b9e96(0x16e)][_0x3b9e96(0x17b)](_0x30fb6c),_0x283671=this[_0x3b9e96(0x1b7)][_0x3b9e96(0x16e)][_0x3b9e96(0x17b)](_0x3b9e96(0x1a8)),_0x2b9355=this[_0x3b9e96(0x1c0)][_0x3b9e96(0x17b)](_0x11562e),_0x8fe1ac=await _0x2b9355[_0x3b9e96(0x183)](_0x37d428);await this[_0x3b9e96(0x188)](_0x8fe1ac);const _0x1911d5=new Set(Array[_0x3b9e96(0x189)](_0x283671[_0x3b9e96(0x16d)]({'channelId':_0x11562e}),_0xeed64=>_0xeed64['id']));for(const _0x5211d7 of _0x8fe1ac)_0x5211d7[_0x3b9e96(0x1cb)]||_0x1911d5[_0x3b9e96(0x195)](_0x5211d7[_0x3b9e96(0x1af)]);for(const _0x518b9a of _0x1911d5)_0x283671[_0x3b9e96(0x177)](_0x518b9a)[_0x3b9e96(0x1ce)]({'isFromAdapter':!0x0});for(const _0x1372ea of _0x8fe1ac){let _0x2b259b=_0x283671[_0x3b9e96(0x177)](_0x1372ea[_0x3b9e96(0x1af)]);const {commentThreadId:_0x26f59a,context:_0x29bc8b,attributes:_0x57f0c3,resolvedBy:_0x574577,resolvedAt:_0x37139e,unlinkedAt:_0x1f0411,deletedAt:_0x44aa16}=_0x1372ea;if(_0x44aa16)continue;_0x2b259b||(_0x2b259b=_0x283671[_0x3b9e96(0x1cc)]({'channelId':_0x11562e,'threadId':_0x26f59a,'context':_0x29bc8b,'attributes':_0x57f0c3||{},'resolvedBy':_0x574577,'resolvedAt':_0x37139e,'unlinkedAt':_0x1f0411,'isFromAdapter':!0x0}));const _0x2a6656=new Set(Array[_0x3b9e96(0x189)](_0x2b259b[_0x3b9e96(0x1c7)],_0x4eaac3=>_0x4eaac3['id']));for(const _0x2f165f of _0x1372ea[_0x3b9e96(0x1c7)])_0x2a6656[_0x3b9e96(0x195)](_0x2f165f[_0x3b9e96(0x19c)]);for(const _0x1bb641 of _0x2a6656)_0x2b259b[_0x3b9e96(0x1a9)](_0x1bb641)[_0x3b9e96(0x1ce)]({'isFromAdapter':!0x0});for(const _0x15aa98 of _0x1372ea[_0x3b9e96(0x1c7)]){const _0x437e04=_0x2b259b[_0x3b9e96(0x1a9)](_0x15aa98[_0x3b9e96(0x19c)]);_0x437e04?_0x437e04[_0x3b9e96(0x184)]!==_0x15aa98[_0x3b9e96(0x184)]&&_0x437e04[_0x3b9e96(0x174)]({'content':_0x15aa98[_0x3b9e96(0x184)],'isFromAdapter':!0x0}):_0x2b259b[_0x3b9e96(0x176)](Object[_0x3b9e96(0x1c2)](R(_0x15aa98),{'isFromAdapter':!0x0}));}}}[_0x1c175d(0x19f)](_0x73ca17){const _0x1d4d2e=_0x1c175d;if(!this[_0x1d4d2e(0x1c0)][_0x1d4d2e(0x1a4)](_0x73ca17))throw new _0x478b48(_0x1d4d2e(0x1c4),null,{'channelId':_0x73ca17});return this[_0x1d4d2e(0x1c0)][_0x1d4d2e(0x17b)](_0x73ca17);}async[_0x1c175d(0x188)](_0x1d0902){const _0x211d7d=_0x1c175d,_0x19e7f7=this[_0x211d7d(0x1b7)][_0x211d7d(0x16e)][_0x211d7d(0x17b)](_0xfb3702),{connection:_0x36bb06}=this[_0x211d7d(0x1b7)][_0x211d7d(0x16e)][_0x211d7d(0x17b)](_0x30fb6c),_0x45ea8d=new Set();for(const {resolvedBy:_0x5262d7,comments:_0x3baeca}of _0x1d0902){_0x5262d7&&!_0x19e7f7[_0x211d7d(0x1ad)](_0x5262d7)&&_0x45ea8d[_0x211d7d(0x1ab)](_0x5262d7);for(const {userId:_0x2c2dd1}of _0x3baeca)_0x19e7f7[_0x211d7d(0x1ad)](_0x2c2dd1)||_0x45ea8d[_0x211d7d(0x1ab)](_0x2c2dd1);}if(0x0===_0x45ea8d[_0x211d7d(0x1b4)])return;const _0x4592bb=await _0x5b0001[_0x211d7d(0x171)](_0x36bb06,Array[_0x211d7d(0x189)](_0x45ea8d));for(const _0x31f54b of _0x4592bb)_0x19e7f7[_0x211d7d(0x1ad)](_0x31f54b['id'])||_0x19e7f7[_0x211d7d(0x17f)](_0x31f54b);}}a[_0x1c175d(0x1bf)]=_0x260b6f;export default a;function _0x24ed(_0x2f679e,_0x4342d3){const _0x39aae0=_0x39aa();return _0x24ed=function(_0x24ed3b,_0x424e9c){_0x24ed3b=_0x24ed3b-0x16d;let _0x2b152e=_0x39aae0[_0x24ed3b];return _0x2b152e;},_0x24ed(_0x2f679e,_0x4342d3);}async function F(_0x3b0e95){const _0x4a8061=_0x1c175d;if(_0x4a8061(0x1cd)!==_0x3b0e95[_0x4a8061(0x1b2)])throw _0x3b0e95;}function B(_0x53c9d0){const _0x24b905=_0x1c175d;if((_0x5645a6=_0x53c9d0)[_0x24b905(0x192)][_0x24b905(0x173)](_0x24b905(0x18a))||_0x5645a6[_0x24b905(0x192)][_0x24b905(0x173)](_0x24b905(0x172))||_0x5645a6[_0x24b905(0x192)][_0x24b905(0x173)](_0x24b905(0x1c6)))return new Promise(()=>{});var _0x5645a6;throw _0x53c9d0;}function R(_0x8384a6){const _0xdfcb6f=_0x1c175d;return{'threadId':_0x8384a6[_0xdfcb6f(0x1af)],'commentId':_0x8384a6[_0xdfcb6f(0x19c)],'content':_0x8384a6[_0xdfcb6f(0x184)],'createdAt':_0x8384a6[_0xdfcb6f(0x1aa)],'authorId':_0x8384a6[_0xdfcb6f(0x191)],'attributes':_0x8384a6[_0xdfcb6f(0x1bc)]||{}};}
|
|
23
|
+
function _0x13d3(_0x31bbab,_0x2d3bb2){const _0x424892=_0x4248();return _0x13d3=function(_0x13d31e,_0x1b94e0){_0x13d31e=_0x13d31e-0xac;let _0x366ad3=_0x424892[_0x13d31e];return _0x366ad3;},_0x13d3(_0x31bbab,_0x2d3bb2);}const _0x23b5b1=_0x13d3;(function(_0x3832bd,_0x168e81){const _0x5a5214=_0x13d3,_0x46e786=_0x3832bd();while(!![]){try{const _0x2fcd72=-parseInt(_0x5a5214(0xfe))/0x1*(-parseInt(_0x5a5214(0xb3))/0x2)+parseInt(_0x5a5214(0xb7))/0x3*(parseInt(_0x5a5214(0xea))/0x4)+parseInt(_0x5a5214(0xf1))/0x5*(parseInt(_0x5a5214(0xee))/0x6)+parseInt(_0x5a5214(0xca))/0x7*(parseInt(_0x5a5214(0xb8))/0x8)+-parseInt(_0x5a5214(0xd5))/0x9+-parseInt(_0x5a5214(0xed))/0xa+-parseInt(_0x5a5214(0xb6))/0xb;if(_0x2fcd72===_0x168e81)break;else _0x46e786['push'](_0x46e786['shift']());}catch(_0x34249f){_0x46e786['push'](_0x46e786['shift']());}}}(_0x4248,0xea955));import{Context as _0x30500e,ContextPlugin as _0x365a03}from'ckeditor5/src/core.js';import{CKEditorError as _0x1114b5}from'ckeditor5/src/utils.js';import{Users as _0x16f453}from'ckeditor5-collaboration/src/collaboration-core.js';import{User as _0x18ad36}from'@ckeditor/ckeditor-cloud-services-collaboration';import{CommentsService as _0x4ba9e4}from'@ckeditor/ckeditor-cloud-services-collaboration/src/services.js';import _0x4b920e from'../realtimecollaborativeediting/websocketgateway.js';function _0x4248(){const _0x585fc8=['commentThreadId','getCommentThread','13106150PfbPwX','29724BXDpRv','_terminateService','reopenCommentThread','1085ZlHGdy','catch','_getService','add','updateComment','resolve','CloudServicesCommentsAdapter','CommentsRepository','connect','cloudservicescommentsadapter-disconnect-not-exist','content','code','commentAdded','116967lwekeP','addUser','removeComment','deletedAt','remove','disconnect','resolveCommentThread','update','authorId','mySessionId','commentThreadRemoved','cloud-services-internal-error:\x20Request\x20timeout.','_services','collaboration.channelId','map','getMany','removeCommentThread','cloud-services-internal-error:\x20Not\x20connected.','message','attributes','assign','updateCommentThread','pluginName','reopen','cloudservicescommentsadapter-service-not-exist','getComment','22JEaVnG','addCommentThread','commentThreadResolved','16598131YbzpHr','624477Vtrpfw','99896BHuEuq','from','register','comments','config','_fetchMissingUsersForThreads','has','getUser','resolvedBy','resolvedAt','commentThreadUpdated','reconnect','addToReconnectionStack','delete','404','context','listenTo','Permissions','637omGsTu','_connectService','userId','unregister','keys','startsWith','plugins','commentThreadReopened','permissions','commentThreadAdded','requires','6825402oIGKAU','CommentsService','getCommentThreads','commentRemoved','commentUpdated','sessionAdd:','cloudservicescommentsadapter-connect-already-connected','cloud-services-internal-error:\x20Comments\x20Service\x20is\x20not\x20connected.','createdAt','adapter','get','init','destroy','addComment','commentId','off','getConnectedSessions','set','size','setPermissions','_setUpService','20nJpocC'];_0x4248=function(){return _0x585fc8;};return _0x4248();}import _0x54d1da from'../realtimecollaborativeediting/sessions.js';class a extends _0x365a03{static get[_0x23b5b1(0xd4)](){const _0x329c8e=_0x23b5b1;return[_0x4b920e,_0x329c8e(0xf8),_0x54d1da,_0x16f453];}static get[_0x23b5b1(0xaf)](){const _0x2dd0bb=_0x23b5b1;return _0x2dd0bb(0xf7);}constructor(_0x5b0324){const _0xe056ae=_0x23b5b1;super(_0x5b0324),this[_0xe056ae(0x10a)]=new Map();}async[_0x23b5b1(0xe0)](){const _0x1ab149=_0x23b5b1,_0x54c4af=this[_0x1ab149(0xc7)],_0x28ca5a=_0x54c4af[_0x1ab149(0xd0)][_0x1ab149(0xdf)](_0x1ab149(0xf8));if(_0x54c4af[_0x1ab149(0xd0)][_0x1ab149(0xdf)](_0x4b920e)[_0x1ab149(0xc4)](this),_0x28ca5a[_0x1ab149(0xde)]={'addCommentThread':async({channelId:_0x31ce8e,threadId:_0x54f9f2,comments:_0x2b70ce,resolvedAt:_0x5de7f2,resolvedBy:_0x10f47f,context:_0x492e87,attributes:_0x14675a})=>{const _0x55e0e1=_0x1ab149,_0x3af872=await this[_0x55e0e1(0xf3)](_0x31ce8e)[_0x55e0e1(0xb4)]({'commentThreadId':_0x54f9f2,'comments':_0x2b70ce[_0x55e0e1(0x10c)](_0x3bad0b=>function(_0x32f9b1,_0x336bd9,_0x1a19f8){const _0x72cc1a=_0x55e0e1;return{'commentThreadId':_0x1a19f8,'commentId':_0x32f9b1[_0x72cc1a(0xe3)],'userId':_0x32f9b1[_0x72cc1a(0x106)],'content':_0x32f9b1[_0x72cc1a(0xfb)],'documentId':_0x336bd9,'createdAt':_0x32f9b1[_0x72cc1a(0xdd)],'attributes':_0x32f9b1[_0x72cc1a(0xac)]||{}};}(_0x3bad0b,_0x31ce8e,_0x54f9f2)),'resolvedAt':_0x5de7f2,'resolvedBy':_0x10f47f,'context':_0x492e87,'attributes':_0x14675a})[_0x55e0e1(0xf2)](B);return{'threadId':_0x3af872[_0x55e0e1(0xeb)],'comments':_0x3af872[_0x55e0e1(0xbb)]};},'getCommentThread':async({channelId:_0x43ac26,threadId:_0x427a13})=>{const _0x589ef1=_0x1ab149,_0x3fc478=await this[_0x589ef1(0xf3)](_0x43ac26)[_0x589ef1(0xec)](_0x427a13)[_0x589ef1(0xf2)](B);return await this[_0x589ef1(0xbd)]([_0x3fc478]),{'threadId':_0x3fc478[_0x589ef1(0xeb)],'comments':_0x3fc478[_0x589ef1(0xbb)][_0x589ef1(0x10c)](R),'context':_0x3fc478[_0x589ef1(0xc7)],'resolvedAt':_0x3fc478[_0x589ef1(0xc1)],'resolvedBy':_0x3fc478[_0x589ef1(0xc0)],'attributes':_0x3fc478[_0x589ef1(0xac)]||{}};},'updateCommentThread':async({channelId:_0x3ffc97,threadId:_0x355085,context:_0x1852b1,unlinkedAt:_0x2fceb7,attributes:_0x1fd0bf})=>this[_0x1ab149(0xf3)](_0x3ffc97)[_0x1ab149(0xae)]({'commentThreadId':_0x355085,'context':_0x1852b1,'attributes':_0x1fd0bf,'unlinkedAt':_0x2fceb7})[_0x1ab149(0xf2)](F)[_0x1ab149(0xf2)](B),'resolveCommentThread':async({channelId:_0x470f63,threadId:_0x345df0})=>{const _0x116008=_0x1ab149,_0x574ffc=await this[_0x116008(0xf3)](_0x470f63)[_0x116008(0x104)](_0x345df0)[_0x116008(0xf2)](F)[_0x116008(0xf2)](B);return{'threadId':_0x574ffc[_0x116008(0xeb)],'resolvedAt':_0x574ffc[_0x116008(0xc1)],'resolvedBy':_0x574ffc[_0x116008(0xc0)]};},'reopenCommentThread':async({channelId:_0xe4e4,threadId:_0x5b9a73})=>this[_0x1ab149(0xf3)](_0xe4e4)[_0x1ab149(0xf0)](_0x5b9a73)[_0x1ab149(0xf2)](F)[_0x1ab149(0xf2)](B),'removeCommentThread':({channelId:_0x2ee03f,threadId:_0x41f99e})=>this[_0x1ab149(0xf3)](_0x2ee03f)[_0x1ab149(0x10e)](_0x41f99e)[_0x1ab149(0xf2)](F)[_0x1ab149(0xf2)](B),'addComment':({channelId:_0x2516a4,threadId:_0x1231f0,commentId:_0xc1ea6a,content:_0x10c91a,attributes:_0x12be60})=>this[_0x1ab149(0xf3)](_0x2516a4)[_0x1ab149(0xe2)](_0x1231f0,_0xc1ea6a,_0x10c91a,_0x12be60)[_0x1ab149(0xf2)](B),'updateComment':({channelId:_0x5b47ae,threadId:_0x33df7a,commentId:_0x5825a3,content:_0x26c9b2,attributes:_0x5c59a5})=>this[_0x1ab149(0xf3)](_0x5b47ae)[_0x1ab149(0xf5)](_0x33df7a,_0x5825a3,_0x26c9b2,_0x5c59a5)[_0x1ab149(0xf2)](F)[_0x1ab149(0xf2)](B),'removeComment':({channelId:_0x3d98cc,threadId:_0x5a8c12,commentId:_0x5a40f9})=>this[_0x1ab149(0xf3)](_0x3d98cc)[_0x1ab149(0x100)](_0x5a8c12,_0x5a40f9)[_0x1ab149(0xf2)](F)[_0x1ab149(0xf2)](B)},_0x54c4af instanceof _0x30500e){const _0x4d5a97=_0x54c4af[_0x1ab149(0xbc)][_0x1ab149(0xdf)](_0x1ab149(0x10b)),_0x3b5384=_0x54c4af[_0x1ab149(0xd0)][_0x1ab149(0xdf)](_0x54d1da);await this[_0x1ab149(0xe9)](_0x4d5a97);const _0x1d9f69=await this[_0x1ab149(0x10a)][_0x1ab149(0xdf)](_0x4d5a97)[_0x1ab149(0xe5)]();this[_0x1ab149(0xc8)](_0x3b5384,_0x1ab149(0xda)+_0x4d5a97,(_0x4af029,{session:_0x1ae576})=>{const _0x222129=_0x1ab149;_0x1ae576['id']===_0x3b5384[_0x222129(0x107)]&&(_0x4af029[_0x222129(0xe4)](),this[_0x222129(0xc7)][_0x222129(0xd0)][_0x222129(0xdf)](_0x222129(0xc9))[_0x222129(0xe8)](_0x1ae576[_0x222129(0xd2)],_0x4d5a97));}),_0x3b5384[_0x1ab149(0xba)](_0x4d5a97,_0x1d9f69);}}async[_0x23b5b1(0xe9)](_0x35c612){const _0x3c9371=_0x23b5b1;if(this[_0x3c9371(0x10a)][_0x3c9371(0xbe)](_0x35c612))throw new _0x1114b5(_0x3c9371(0xdb),null,{'channelId':_0x35c612});const _0x4e1588=this[_0x3c9371(0xc7)][_0x3c9371(0xd0)][_0x3c9371(0xdf)](_0x3c9371(0xf8)),_0x309cfd=new a[(_0x3c9371(0xd6))](_0x35c612);this[_0x3c9371(0x10a)][_0x3c9371(0xe6)](_0x35c612,_0x309cfd),this[_0x3c9371(0xc8)](_0x309cfd,_0x3c9371(0xd3),(_0x4e454d,_0x90c537)=>{const _0x10aee6=_0x3c9371,{commentThreadId:_0x4d5397,documentId:_0x543c58,context:_0x310e8d,attributes:_0x2dd178,resolvedAt:_0x1fc619,resolvedBy:_0x409aec,comments:_0x43f319}=_0x90c537;_0x4e1588[_0x10aee6(0xec)](_0x4d5397)||_0x4e1588[_0x10aee6(0xb4)]({'threadId':_0x4d5397,'channelId':_0x543c58,'comments':_0x43f319?_0x43f319[_0x10aee6(0x10c)](R):[],'context':_0x310e8d,'attributes':_0x2dd178,'resolvedAt':_0x1fc619,'resolvedBy':_0x409aec,'isFromAdapter':!0x0});}),this[_0x3c9371(0xc8)](_0x309cfd,_0x3c9371(0xc2),(_0x339d2c,{commentThreadId:_0x6df6a,documentId:_0x543b6,context:_0x1d9443,unlinkedAt:_0x461c5e,attributes:_0x2dfe3c})=>{const _0x38101d=_0x3c9371;_0x4e1588[_0x38101d(0xec)](_0x6df6a)&&_0x4e1588[_0x38101d(0xae)]({'threadId':_0x6df6a,'channelId':_0x543b6,'context':_0x1d9443,'unlinkedAt':_0x461c5e,'attributes':_0x2dfe3c,'isFromAdapter':!0x0});}),this[_0x3c9371(0xc8)](_0x309cfd,_0x3c9371(0xb5),(_0x13716e,{commentThreadId:_0x3f2ba2,resolvedBy:_0x349e0a,resolvedAt:_0x4c2058})=>{const _0x26a7c2=_0x3c9371,_0x328eee=_0x4e1588[_0x26a7c2(0xec)](_0x3f2ba2);_0x328eee&&_0x328eee[_0x26a7c2(0xf6)]({'resolvedBy':_0x349e0a,'resolvedAt':_0x4c2058,'isFromAdapter':!0x0});}),this[_0x3c9371(0xc8)](_0x309cfd,_0x3c9371(0xd1),(_0x878409,{commentThreadId:_0x236692})=>{const _0x32f5bd=_0x3c9371,_0x3d0f69=_0x4e1588[_0x32f5bd(0xec)](_0x236692);_0x3d0f69&&_0x3d0f69[_0x32f5bd(0xb0)]({'isFromAdapter':!0x0});}),this[_0x3c9371(0xc8)](_0x309cfd,_0x3c9371(0x108),(_0x4db258,{commentThreadId:_0x555929})=>{const _0x41b160=_0x3c9371,_0x5f214c=_0x4e1588[_0x41b160(0xec)](_0x555929);_0x5f214c&&_0x5f214c[_0x41b160(0x102)]({'isFromAdapter':!0x0});}),this[_0x3c9371(0xc8)](_0x309cfd,_0x3c9371(0xfd),(_0x5c0a6c,_0x597ae0)=>{const _0x4bbbca=_0x3c9371,_0x38365c=_0x597ae0[_0x4bbbca(0xeb)],_0x5e0ac4=_0x4e1588[_0x4bbbca(0xec)](_0x38365c);_0x5e0ac4&&_0x5e0ac4[_0x4bbbca(0xe2)]({...R(_0x597ae0),'isFromAdapter':!0x0});}),this[_0x3c9371(0xc8)](_0x309cfd,_0x3c9371(0xd9),(_0x386df2,{commentThreadId:_0x31842f,commentId:_0x1ff889,content:_0x19b6ae,attributes:_0xe460b1})=>{const _0x597a2d=_0x3c9371,_0x4b7c71=_0x4e1588[_0x597a2d(0xec)](_0x31842f);if(_0x4b7c71){const _0x1fec55=_0x4b7c71[_0x597a2d(0xb2)](_0x1ff889);_0x1fec55&&_0x1fec55[_0x597a2d(0x105)]({'content':_0x19b6ae,'attributes':_0xe460b1,'isFromAdapter':!0x0});}}),this[_0x3c9371(0xc8)](_0x309cfd,_0x3c9371(0xd8),(_0x53930f,{commentThreadId:_0x4dfee8,commentId:_0x3d60b0})=>{const _0x9d99f=_0x3c9371,_0x49f3d2=_0x4e1588[_0x9d99f(0xec)](_0x4dfee8);if(_0x49f3d2){const _0x581b61=_0x49f3d2[_0x9d99f(0xb2)](_0x3d60b0);_0x581b61&&_0x581b61[_0x9d99f(0x102)]({'isFromAdapter':!0x0});}}),await this[_0x3c9371(0xcb)](_0x35c612);}[_0x23b5b1(0xe1)](){const _0x498d95=_0x23b5b1;if(this[_0x498d95(0xc7)]instanceof _0x30500e){const _0x9458e2=this[_0x498d95(0xc7)][_0x498d95(0xbc)][_0x498d95(0xdf)](_0x498d95(0x10b));this[_0x498d95(0xef)](_0x9458e2);}}[_0x23b5b1(0xef)](_0x37ab6c){const _0x289151=_0x23b5b1;if(!this[_0x289151(0x10a)][_0x289151(0xbe)](_0x37ab6c))throw new _0x1114b5(_0x289151(0xfa),null,{'channelId':_0x37ab6c});this[_0x289151(0xf3)](_0x37ab6c)[_0x289151(0x103)](),this[_0x289151(0x10a)][_0x289151(0xc5)](_0x37ab6c);}async[_0x23b5b1(0xc3)](){const _0x1ad4b8=_0x23b5b1;for(const _0x4c7b4a of this[_0x1ad4b8(0x10a)][_0x1ad4b8(0xce)]())await this[_0x1ad4b8(0xcb)](_0x4c7b4a);if(this[_0x1ad4b8(0xc7)]instanceof _0x30500e){const _0x586723=this[_0x1ad4b8(0xc7)][_0x1ad4b8(0xbc)][_0x1ad4b8(0xdf)](_0x1ad4b8(0x10b)),_0x1b8f7c=this[_0x1ad4b8(0xc7)][_0x1ad4b8(0xd0)][_0x1ad4b8(0xdf)](_0x54d1da);_0x1b8f7c[_0x1ad4b8(0xcd)](_0x586723);const _0x3ac25d=await this[_0x1ad4b8(0x10a)][_0x1ad4b8(0xdf)](_0x586723)[_0x1ad4b8(0xe5)]();_0x1b8f7c[_0x1ad4b8(0xba)](_0x586723,_0x3ac25d);}}async[_0x23b5b1(0xcb)](_0x2b81f3){const _0x2e80f0=_0x23b5b1,{connection:_0x3fe573}=this[_0x2e80f0(0xc7)][_0x2e80f0(0xd0)][_0x2e80f0(0xdf)](_0x4b920e),_0x2996ee=this[_0x2e80f0(0xc7)][_0x2e80f0(0xd0)][_0x2e80f0(0xdf)](_0x2e80f0(0xf8)),_0x520a38=this[_0x2e80f0(0x10a)][_0x2e80f0(0xdf)](_0x2b81f3),_0x271ff8=await _0x520a38[_0x2e80f0(0xf9)](_0x3fe573);await this[_0x2e80f0(0xbd)](_0x271ff8);const _0x222580=new Set(Array[_0x2e80f0(0xb9)](_0x2996ee[_0x2e80f0(0xd7)]({'channelId':_0x2b81f3}),_0x31f9e9=>_0x31f9e9['id']));for(const _0x3aaf62 of _0x271ff8)_0x3aaf62[_0x2e80f0(0x101)]||_0x222580[_0x2e80f0(0xc5)](_0x3aaf62[_0x2e80f0(0xeb)]);for(const _0x561748 of _0x222580)_0x2996ee[_0x2e80f0(0xec)](_0x561748)[_0x2e80f0(0x102)]({'isFromAdapter':!0x0});for(const _0x48d1af of _0x271ff8){let _0x4e9460=_0x2996ee[_0x2e80f0(0xec)](_0x48d1af[_0x2e80f0(0xeb)]);const {commentThreadId:_0x10ca23,context:_0x445db8,attributes:_0x3c6d69,resolvedBy:_0x4e1f08,resolvedAt:_0x4b7f49,unlinkedAt:_0x472e5a,deletedAt:_0x1763c3}=_0x48d1af;if(_0x1763c3)continue;_0x4e9460||(_0x4e9460=_0x2996ee[_0x2e80f0(0xb4)]({'channelId':_0x2b81f3,'threadId':_0x10ca23,'context':_0x445db8,'attributes':_0x3c6d69||{},'resolvedBy':_0x4e1f08,'resolvedAt':_0x4b7f49,'unlinkedAt':_0x472e5a,'isFromAdapter':!0x0}));const _0x591f1f=new Set(Array[_0x2e80f0(0xb9)](_0x4e9460[_0x2e80f0(0xbb)],_0x1b3f60=>_0x1b3f60['id']));for(const _0xed3a36 of _0x48d1af[_0x2e80f0(0xbb)])_0x591f1f[_0x2e80f0(0xc5)](_0xed3a36[_0x2e80f0(0xe3)]);for(const _0x2aa010 of _0x591f1f)_0x4e9460[_0x2e80f0(0xb2)](_0x2aa010)[_0x2e80f0(0x102)]({'isFromAdapter':!0x0});for(const _0x565c4f of _0x48d1af[_0x2e80f0(0xbb)]){const _0x401edb=_0x4e9460[_0x2e80f0(0xb2)](_0x565c4f[_0x2e80f0(0xe3)]);_0x401edb?_0x401edb[_0x2e80f0(0xfb)]!==_0x565c4f[_0x2e80f0(0xfb)]&&_0x401edb[_0x2e80f0(0x105)]({'content':_0x565c4f[_0x2e80f0(0xfb)],'isFromAdapter':!0x0}):_0x4e9460[_0x2e80f0(0xe2)](Object[_0x2e80f0(0xad)](R(_0x565c4f),{'isFromAdapter':!0x0}));}}}[_0x23b5b1(0xf3)](_0x16465d){const _0x5d6b95=_0x23b5b1;if(!this[_0x5d6b95(0x10a)][_0x5d6b95(0xbe)](_0x16465d))throw new _0x1114b5(_0x5d6b95(0xb1),null,{'channelId':_0x16465d});return this[_0x5d6b95(0x10a)][_0x5d6b95(0xdf)](_0x16465d);}async[_0x23b5b1(0xbd)](_0x44145c){const _0x13335a=_0x23b5b1,_0x1cf7fc=this[_0x13335a(0xc7)][_0x13335a(0xd0)][_0x13335a(0xdf)](_0x16f453),{connection:_0x43ab66}=this[_0x13335a(0xc7)][_0x13335a(0xd0)][_0x13335a(0xdf)](_0x4b920e),_0x1d799f=new Set();for(const {resolvedBy:_0x3083f1,comments:_0x3b4c18}of _0x44145c){_0x3083f1&&!_0x1cf7fc[_0x13335a(0xbf)](_0x3083f1)&&_0x1d799f[_0x13335a(0xf4)](_0x3083f1);for(const {userId:_0x57b962}of _0x3b4c18)_0x1cf7fc[_0x13335a(0xbf)](_0x57b962)||_0x1d799f[_0x13335a(0xf4)](_0x57b962);}if(0x0===_0x1d799f[_0x13335a(0xe7)])return;const _0x59434c=await _0x18ad36[_0x13335a(0x10d)](_0x43ab66,Array[_0x13335a(0xb9)](_0x1d799f));for(const _0x10c99d of _0x59434c)_0x1cf7fc[_0x13335a(0xbf)](_0x10c99d['id'])||_0x1cf7fc[_0x13335a(0xff)](_0x10c99d);}}a[_0x23b5b1(0xd6)]=_0x4ba9e4;export default a;async function F(_0x576a51){const _0x4640f7=_0x23b5b1;if(_0x4640f7(0xc6)!==_0x576a51[_0x4640f7(0xfc)])throw _0x576a51;}function B(_0x1b3ea5){const _0x42a1df=_0x23b5b1;if((_0x5608b4=_0x1b3ea5)[_0x42a1df(0x110)][_0x42a1df(0xcf)](_0x42a1df(0xdc))||_0x5608b4[_0x42a1df(0x110)][_0x42a1df(0xcf)](_0x42a1df(0x10f))||_0x5608b4[_0x42a1df(0x110)][_0x42a1df(0xcf)](_0x42a1df(0x109)))return new Promise(()=>{});var _0x5608b4;throw _0x1b3ea5;}function R(_0x5c6e79){const _0xf6f6f4=_0x23b5b1;return{'threadId':_0x5c6e79[_0xf6f6f4(0xeb)],'commentId':_0x5c6e79[_0xf6f6f4(0xe3)],'content':_0x5c6e79[_0xf6f6f4(0xfb)],'createdAt':_0x5c6e79[_0xf6f6f4(0xdd)],'authorId':_0x5c6e79[_0xf6f6f4(0xcc)],'attributes':_0x5c6e79[_0xf6f6f4(0xac)]||{}};}
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
|
|
23
|
+
const _0x3af438=_0x3409;(function(_0x249d6a,_0x432d08){const _0x3e13e3=_0x3409,_0x55d940=_0x249d6a();while(!![]){try{const _0x273c86=parseInt(_0x3e13e3(0xc7))/0x1*(-parseInt(_0x3e13e3(0xe3))/0x2)+-parseInt(_0x3e13e3(0xd0))/0x3+-parseInt(_0x3e13e3(0xd4))/0x4*(parseInt(_0x3e13e3(0xe2))/0x5)+parseInt(_0x3e13e3(0xd9))/0x6+-parseInt(_0x3e13e3(0xda))/0x7*(parseInt(_0x3e13e3(0xe0))/0x8)+-parseInt(_0x3e13e3(0xca))/0x9*(-parseInt(_0x3e13e3(0xd3))/0xa)+-parseInt(_0x3e13e3(0xdd))/0xb*(-parseInt(_0x3e13e3(0xe9))/0xc);if(_0x273c86===_0x432d08)break;else _0x55d940['push'](_0x55d940['shift']());}catch(_0x5674c3){_0x55d940['push'](_0x55d940['shift']());}}}(_0x3652,0x98419));import{Plugin as _0x5506c7}from'ckeditor5/src/core.js';import _0x3c08e1 from'./realtimecollaborativecomments/cloudservicescommentsadapter.js';import _0x5955a8 from'./realtimecollaborativeediting.js';function _0x3409(_0x4b32b0,_0x2c2d29){const _0x36522b=_0x3652();return _0x3409=function(_0x3409f2,_0x1b2901){_0x3409f2=_0x3409f2-0xc7;let _0x38d282=_0x36522b[_0x3409f2];return _0x38d282;},_0x3409(_0x4b32b0,_0x2c2d29);}import _0x16ebde from'./realtimecollaborativeediting/websocketgateway.js';export default class m extends _0x5506c7{static get[_0x3af438(0xd1)](){const _0x2b3c20=_0x3af438;return[_0x2b3c20(0xdc),_0x3c08e1,_0x5955a8,_0x16ebde];}static get[_0x3af438(0xe6)](){const _0x3fd8aa=_0x3af438;return _0x3fd8aa(0xce);}[_0x3af438(0xcf)](){const _0x3afa2b=_0x3af438,_0x4ac870=this[_0x3afa2b(0xd2)][_0x3afa2b(0xde)][_0x3afa2b(0xd5)](_0x16ebde),_0x4c9c59=this[_0x3afa2b(0xd2)][_0x3afa2b(0xde)][_0x3afa2b(0xd5)](_0x3afa2b(0xcb)),_0x12da53=this[_0x3afa2b(0xd2)][_0x3afa2b(0xde)][_0x3afa2b(0xd5)](_0x3c08e1);return this[_0x3afa2b(0xd2)][_0x3afa2b(0xe4)][_0x3afa2b(0xc9)](_0x3afa2b(0xcd),()=>{const _0x4aa07d=_0x3afa2b;this[_0x4aa07d(0xc8)](_0x4ac870,_0x4aa07d(0xd8),(_0x5a297e,_0xdaab2c,_0x1c5821)=>{const _0x598fad=_0x4aa07d;_0x4c9c59[_0x598fad(0xd7)]=_0x598fad(0xe5)!==_0x1c5821;});}),this[_0x3afa2b(0xc8)](_0x4ac870,_0x3afa2b(0xd8),(_0x4afe68,_0x4071d7,_0x3e13f4)=>{const _0x557b24=_0x3afa2b;this[_0x557b24(0xd2)][_0x557b24(0xde)][_0x557b24(0xd5)](_0x557b24(0xe7))[_0x557b24(0xd6)](_0x557b24(0xe5)!==_0x3e13f4);}),_0x12da53[_0x3afa2b(0xe8)](this[_0x3afa2b(0xd2)][_0x3afa2b(0xdb)][_0x3afa2b(0xd5)](_0x3afa2b(0xcc)));}[_0x3af438(0xdf)](){const _0x82f5f7=_0x3af438;this[_0x82f5f7(0xd2)][_0x82f5f7(0xde)][_0x82f5f7(0xd5)](_0x3c08e1)[_0x82f5f7(0xe1)](this[_0x82f5f7(0xd2)][_0x82f5f7(0xdb)][_0x82f5f7(0xd5)](_0x82f5f7(0xcc))),super[_0x82f5f7(0xdf)]();}}function _0x3652(){const _0x2c9d5a=['change:state','2864226lShqPS','7OhOqWY','config','Comments','11yAZHdo','plugins','destroy','1863496ANeSxp','_terminateService','6780vhmAyV','310AbQuLF','data','connected','pluginName','CommentsRepository','_setUpService','13084572drffxa','2270HCRbXp','listenTo','once','9UbVzXy','CommentsEditing','collaboration.channelId','ready','RealTimeCollaborativeComments','init','3084990jgUuAL','requires','editor','9347820SiWzHv','784girHVB','get','switchReadOnly','isThreadsLoadingPaused'];_0x3652=function(){return _0x2c9d5a;};return _0x3652();}
|