@ckeditor/ckeditor5-real-time-collaboration 43.0.0-alpha.0 → 43.0.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/build/translations/ar.js +1 -1
- package/build/translations/bg.js +1 -1
- package/build/translations/bn.js +1 -1
- package/build/translations/ca.js +1 -1
- package/build/translations/cs.js +1 -1
- package/build/translations/da.js +1 -1
- package/build/translations/de.js +1 -1
- package/build/translations/el.js +1 -1
- package/build/translations/es.js +1 -1
- package/build/translations/et.js +1 -1
- package/build/translations/fi.js +1 -1
- package/build/translations/fr.js +1 -1
- package/build/translations/gl.js +1 -1
- package/build/translations/he.js +1 -1
- package/build/translations/hi.js +1 -1
- package/build/translations/hu.js +1 -1
- package/build/translations/id.js +1 -1
- package/build/translations/it.js +1 -1
- package/build/translations/ja.js +1 -1
- package/build/translations/ko.js +1 -1
- package/build/translations/lt.js +1 -1
- package/build/translations/lv.js +1 -1
- package/build/translations/ms.js +1 -1
- package/build/translations/nl.js +1 -1
- package/build/translations/no.js +1 -1
- package/build/translations/pl.js +1 -1
- package/build/translations/pt-br.js +1 -1
- package/build/translations/pt.js +1 -1
- package/build/translations/ro.js +1 -1
- package/build/translations/ru.js +1 -1
- package/build/translations/sk.js +1 -1
- package/build/translations/sr.js +1 -1
- package/build/translations/sv.js +1 -1
- package/build/translations/th.js +1 -1
- package/build/translations/tr.js +1 -1
- package/build/translations/uk.js +1 -1
- package/build/translations/vi.js +1 -1
- package/build/translations/zh-cn.js +1 -1
- package/build/translations/zh.js +1 -1
- package/dist/index.js +6 -6
- package/dist/translations/ar.js +1 -1
- package/dist/translations/ar.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/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.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/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/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/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/ko.js +1 -1
- package/dist/translations/ko.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/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/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/sk.js +1 -1
- package/dist/translations/sk.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/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/uk.js +1 -1
- package/dist/translations/uk.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/lang/translations/ar.po +3 -3
- package/lang/translations/bg.po +3 -3
- package/lang/translations/bn.po +3 -3
- package/lang/translations/ca.po +3 -3
- package/lang/translations/cs.po +3 -3
- package/lang/translations/da.po +3 -3
- package/lang/translations/de.po +3 -3
- package/lang/translations/el.po +3 -3
- package/lang/translations/es.po +3 -3
- package/lang/translations/et.po +3 -3
- package/lang/translations/fi.po +3 -3
- package/lang/translations/fr.po +3 -3
- package/lang/translations/gl.po +3 -3
- package/lang/translations/he.po +3 -3
- package/lang/translations/hi.po +3 -3
- package/lang/translations/hu.po +3 -3
- package/lang/translations/id.po +3 -3
- package/lang/translations/it.po +3 -3
- package/lang/translations/ja.po +3 -3
- package/lang/translations/ko.po +3 -3
- package/lang/translations/lt.po +3 -3
- package/lang/translations/lv.po +3 -3
- package/lang/translations/ms.po +3 -3
- package/lang/translations/nl.po +3 -3
- package/lang/translations/no.po +3 -3
- package/lang/translations/pl.po +3 -3
- package/lang/translations/pt-br.po +3 -3
- package/lang/translations/pt.po +3 -3
- package/lang/translations/ro.po +3 -3
- package/lang/translations/ru.po +3 -3
- package/lang/translations/sk.po +3 -3
- package/lang/translations/sr.po +3 -3
- package/lang/translations/sv.po +3 -3
- package/lang/translations/th.po +3 -3
- package/lang/translations/tr.po +3 -3
- package/lang/translations/uk.po +3 -3
- package/lang/translations/vi.po +3 -3
- package/lang/translations/zh-cn.po +3 -3
- package/lang/translations/zh.po +3 -3
- package/package.json +9 -9
- 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/lang/translations/sk.po
CHANGED
|
@@ -35,15 +35,15 @@ msgstr "Problém so synchronizáciou"
|
|
|
35
35
|
|
|
36
36
|
msgctxt "The aria label for the connected users list dropdown menu"
|
|
37
37
|
msgid "Connected users list dropdown menu"
|
|
38
|
-
msgstr ""
|
|
38
|
+
msgstr "Rozbaľovacia ponuka zoznamu pripojených používateľov"
|
|
39
39
|
|
|
40
40
|
msgctxt "The aria label for the connected users list"
|
|
41
41
|
msgid "Connected users list"
|
|
42
|
-
msgstr ""
|
|
42
|
+
msgstr "Zoznam priipojených používateľov"
|
|
43
43
|
|
|
44
44
|
msgctxt "The aria label for the collapsed connected users list"
|
|
45
45
|
msgid "Collapsed connected users list (press ENTER to open it)"
|
|
46
|
-
msgstr ""
|
|
46
|
+
msgstr "Zbalený zoznam pripojených používateľov (stlačením tlačidla ENTER ho otvoríte)"
|
|
47
47
|
|
|
48
48
|
msgctxt "The message shown when the client cannot rejoin the collaboration session"
|
|
49
49
|
msgid "The document cannot be connected back to the server. To not lose your content save it locally and refresh the editor."
|
package/lang/translations/sr.po
CHANGED
|
@@ -34,15 +34,15 @@ msgstr "Проблем са синхронизацијом"
|
|
|
34
34
|
|
|
35
35
|
msgctxt "The aria label for the connected users list dropdown menu"
|
|
36
36
|
msgid "Connected users list dropdown menu"
|
|
37
|
-
msgstr ""
|
|
37
|
+
msgstr "Padajući meni liste povezanih korisnika"
|
|
38
38
|
|
|
39
39
|
msgctxt "The aria label for the connected users list"
|
|
40
40
|
msgid "Connected users list"
|
|
41
|
-
msgstr ""
|
|
41
|
+
msgstr "Lista povezanih korisnika"
|
|
42
42
|
|
|
43
43
|
msgctxt "The aria label for the collapsed connected users list"
|
|
44
44
|
msgid "Collapsed connected users list (press ENTER to open it)"
|
|
45
|
-
msgstr ""
|
|
45
|
+
msgstr "Lista povezanih korisnika se urušila (pritisnite ENTER da biste je otvorili)"
|
|
46
46
|
|
|
47
47
|
msgctxt "The message shown when the client cannot rejoin the collaboration session"
|
|
48
48
|
msgid "The document cannot be connected back to the server. To not lose your content save it locally and refresh the editor."
|
package/lang/translations/sv.po
CHANGED
|
@@ -33,15 +33,15 @@ msgstr "Synkroniseringsproblem"
|
|
|
33
33
|
|
|
34
34
|
msgctxt "The aria label for the connected users list dropdown menu"
|
|
35
35
|
msgid "Connected users list dropdown menu"
|
|
36
|
-
msgstr ""
|
|
36
|
+
msgstr "Rullgardinsmeny för lista över anslutna användare"
|
|
37
37
|
|
|
38
38
|
msgctxt "The aria label for the connected users list"
|
|
39
39
|
msgid "Connected users list"
|
|
40
|
-
msgstr ""
|
|
40
|
+
msgstr "Lista över anslutna användare"
|
|
41
41
|
|
|
42
42
|
msgctxt "The aria label for the collapsed connected users list"
|
|
43
43
|
msgid "Collapsed connected users list (press ENTER to open it)"
|
|
44
|
-
msgstr ""
|
|
44
|
+
msgstr "Ihopfälld lista över anslutna användare (tryck på RETUR för att öppna den)"
|
|
45
45
|
|
|
46
46
|
msgctxt "The message shown when the client cannot rejoin the collaboration session"
|
|
47
47
|
msgid "The document cannot be connected back to the server. To not lose your content save it locally and refresh the editor."
|
package/lang/translations/th.po
CHANGED
|
@@ -32,15 +32,15 @@ msgstr "ปัญหาการซิงโครไนซ์"
|
|
|
32
32
|
|
|
33
33
|
msgctxt "The aria label for the connected users list dropdown menu"
|
|
34
34
|
msgid "Connected users list dropdown menu"
|
|
35
|
-
msgstr ""
|
|
35
|
+
msgstr "เมนูดรอปดาวน์รายชื่อผู้ใช้ที่เชื่อมต่อ"
|
|
36
36
|
|
|
37
37
|
msgctxt "The aria label for the connected users list"
|
|
38
38
|
msgid "Connected users list"
|
|
39
|
-
msgstr ""
|
|
39
|
+
msgstr "รายชื่อผู้ใช้ที่เชื่อมต่อ"
|
|
40
40
|
|
|
41
41
|
msgctxt "The aria label for the collapsed connected users list"
|
|
42
42
|
msgid "Collapsed connected users list (press ENTER to open it)"
|
|
43
|
-
msgstr ""
|
|
43
|
+
msgstr "รายชื่อผู้ใช้ที่เชื่อมต่อแบบย่อ (กด ENTER เพื่อเปิด)"
|
|
44
44
|
|
|
45
45
|
msgctxt "The message shown when the client cannot rejoin the collaboration session"
|
|
46
46
|
msgid "The document cannot be connected back to the server. To not lose your content save it locally and refresh the editor."
|
package/lang/translations/tr.po
CHANGED
|
@@ -33,15 +33,15 @@ msgstr "Senkronizasyon sorunu"
|
|
|
33
33
|
|
|
34
34
|
msgctxt "The aria label for the connected users list dropdown menu"
|
|
35
35
|
msgid "Connected users list dropdown menu"
|
|
36
|
-
msgstr ""
|
|
36
|
+
msgstr "Bağlı kullanıcılar listesi açılır menüsü"
|
|
37
37
|
|
|
38
38
|
msgctxt "The aria label for the connected users list"
|
|
39
39
|
msgid "Connected users list"
|
|
40
|
-
msgstr ""
|
|
40
|
+
msgstr "Bağlı kullanıcılar listesi"
|
|
41
41
|
|
|
42
42
|
msgctxt "The aria label for the collapsed connected users list"
|
|
43
43
|
msgid "Collapsed connected users list (press ENTER to open it)"
|
|
44
|
-
msgstr ""
|
|
44
|
+
msgstr "Daraltılmış bağlı kullanıcılar listesi (açmak için ENTER'a basın)"
|
|
45
45
|
|
|
46
46
|
msgctxt "The message shown when the client cannot rejoin the collaboration session"
|
|
47
47
|
msgid "The document cannot be connected back to the server. To not lose your content save it locally and refresh the editor."
|
package/lang/translations/uk.po
CHANGED
|
@@ -35,15 +35,15 @@ msgstr "Проблема синхронізації"
|
|
|
35
35
|
|
|
36
36
|
msgctxt "The aria label for the connected users list dropdown menu"
|
|
37
37
|
msgid "Connected users list dropdown menu"
|
|
38
|
-
msgstr ""
|
|
38
|
+
msgstr "Розкривне меню списку під'єднаних користувачів"
|
|
39
39
|
|
|
40
40
|
msgctxt "The aria label for the connected users list"
|
|
41
41
|
msgid "Connected users list"
|
|
42
|
-
msgstr ""
|
|
42
|
+
msgstr "Список під'єднаних користувачів"
|
|
43
43
|
|
|
44
44
|
msgctxt "The aria label for the collapsed connected users list"
|
|
45
45
|
msgid "Collapsed connected users list (press ENTER to open it)"
|
|
46
|
-
msgstr ""
|
|
46
|
+
msgstr "Згорнутий список під'єднаних користувачів (натисніть \"ENTER\", щоб розгорнути його)"
|
|
47
47
|
|
|
48
48
|
msgctxt "The message shown when the client cannot rejoin the collaboration session"
|
|
49
49
|
msgid "The document cannot be connected back to the server. To not lose your content save it locally and refresh the editor."
|
package/lang/translations/vi.po
CHANGED
|
@@ -32,15 +32,15 @@ msgstr "Vấn đề đồng bộ hóa"
|
|
|
32
32
|
|
|
33
33
|
msgctxt "The aria label for the connected users list dropdown menu"
|
|
34
34
|
msgid "Connected users list dropdown menu"
|
|
35
|
-
msgstr ""
|
|
35
|
+
msgstr "Menu thả xuống danh sách người dùng đã kết nối"
|
|
36
36
|
|
|
37
37
|
msgctxt "The aria label for the connected users list"
|
|
38
38
|
msgid "Connected users list"
|
|
39
|
-
msgstr ""
|
|
39
|
+
msgstr "Danh sách người dùng đã kết nối"
|
|
40
40
|
|
|
41
41
|
msgctxt "The aria label for the collapsed connected users list"
|
|
42
42
|
msgid "Collapsed connected users list (press ENTER to open it)"
|
|
43
|
-
msgstr ""
|
|
43
|
+
msgstr "Danh sách người dùng đã kết nối thu gọn (nhấn ENTER để mở)"
|
|
44
44
|
|
|
45
45
|
msgctxt "The message shown when the client cannot rejoin the collaboration session"
|
|
46
46
|
msgid "The document cannot be connected back to the server. To not lose your content save it locally and refresh the editor."
|
|
@@ -32,15 +32,15 @@ msgstr "同步Issue"
|
|
|
32
32
|
|
|
33
33
|
msgctxt "The aria label for the connected users list dropdown menu"
|
|
34
34
|
msgid "Connected users list dropdown menu"
|
|
35
|
-
msgstr ""
|
|
35
|
+
msgstr "连接用户列表下拉菜单"
|
|
36
36
|
|
|
37
37
|
msgctxt "The aria label for the connected users list"
|
|
38
38
|
msgid "Connected users list"
|
|
39
|
-
msgstr ""
|
|
39
|
+
msgstr "连接用户列表"
|
|
40
40
|
|
|
41
41
|
msgctxt "The aria label for the collapsed connected users list"
|
|
42
42
|
msgid "Collapsed connected users list (press ENTER to open it)"
|
|
43
|
-
msgstr ""
|
|
43
|
+
msgstr "折叠的连接用户列表(按 ENTER 键打开)"
|
|
44
44
|
|
|
45
45
|
msgctxt "The message shown when the client cannot rejoin the collaboration session"
|
|
46
46
|
msgid "The document cannot be connected back to the server. To not lose your content save it locally and refresh the editor."
|
package/lang/translations/zh.po
CHANGED
|
@@ -32,15 +32,15 @@ msgstr "同步處理問題"
|
|
|
32
32
|
|
|
33
33
|
msgctxt "The aria label for the connected users list dropdown menu"
|
|
34
34
|
msgid "Connected users list dropdown menu"
|
|
35
|
-
msgstr ""
|
|
35
|
+
msgstr "已連結使用者清單下拉式功能表"
|
|
36
36
|
|
|
37
37
|
msgctxt "The aria label for the connected users list"
|
|
38
38
|
msgid "Connected users list"
|
|
39
|
-
msgstr ""
|
|
39
|
+
msgstr "已連結使用者清單"
|
|
40
40
|
|
|
41
41
|
msgctxt "The aria label for the collapsed connected users list"
|
|
42
42
|
msgid "Collapsed connected users list (press ENTER to open it)"
|
|
43
|
-
msgstr ""
|
|
43
|
+
msgstr "摺疊的已連結使用者清單(按 Enter 即可將其開啟)"
|
|
44
44
|
|
|
45
45
|
msgctxt "The message shown when the client cannot rejoin the collaboration session"
|
|
46
46
|
msgid "The document cannot be connected back to the server. To not lose your content save it locally and refresh the editor."
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@ckeditor/ckeditor5-real-time-collaboration",
|
|
3
|
-
"version": "43.0.0-alpha.
|
|
3
|
+
"version": "43.0.0-alpha.2",
|
|
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/)",
|
|
@@ -42,14 +42,14 @@
|
|
|
42
42
|
],
|
|
43
43
|
"dependencies": {
|
|
44
44
|
"@ckeditor/ckeditor-cloud-services-collaboration": "52.6.10",
|
|
45
|
-
"@ckeditor/ckeditor5-core": "43.0.0-alpha.
|
|
46
|
-
"@ckeditor/ckeditor5-engine": "43.0.0-alpha.
|
|
47
|
-
"@ckeditor/ckeditor5-operations-compressor": "43.0.0-alpha.
|
|
48
|
-
"@ckeditor/ckeditor5-theme-lark": "43.0.0-alpha.
|
|
49
|
-
"@ckeditor/ckeditor5-ui": "43.0.0-alpha.
|
|
50
|
-
"@ckeditor/ckeditor5-utils": "43.0.0-alpha.
|
|
51
|
-
"ckeditor5": "43.0.0-alpha.
|
|
52
|
-
"ckeditor5-collaboration": "43.0.0-alpha.
|
|
45
|
+
"@ckeditor/ckeditor5-core": "43.0.0-alpha.2",
|
|
46
|
+
"@ckeditor/ckeditor5-engine": "43.0.0-alpha.2",
|
|
47
|
+
"@ckeditor/ckeditor5-operations-compressor": "43.0.0-alpha.2",
|
|
48
|
+
"@ckeditor/ckeditor5-theme-lark": "43.0.0-alpha.2",
|
|
49
|
+
"@ckeditor/ckeditor5-ui": "43.0.0-alpha.2",
|
|
50
|
+
"@ckeditor/ckeditor5-utils": "43.0.0-alpha.2",
|
|
51
|
+
"ckeditor5": "43.0.0-alpha.2",
|
|
52
|
+
"ckeditor5-collaboration": "43.0.0-alpha.2",
|
|
53
53
|
"lodash-es": "4.17.21"
|
|
54
54
|
},
|
|
55
55
|
"types": "src/index.d.ts",
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
export function getTranslation(
|
|
23
|
+
export function getTranslation(_0xd3d762,_0x543403,_0x130a71){const t=_0xd3d762['t'];switch(_0x543403){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'Connected\x20users\x20list\x20dropdown\x20menu':return t('Connected\x20users\x20list\x20dropdown\x20menu');case'Collapsed\x20connected\x20users\x20list\x20(press\x20ENTER\x20to\x20open\x20it)':return t('Collapsed\x20connected\x20users\x20list\x20(press\x20ENTER\x20to\x20open\x20it)');case'Connected\x20users\x20list':return t('Connected\x20users\x20list');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'},_0x130a71);default:return'';}}
|
package/src/index.js
CHANGED
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
(function(
|
|
23
|
+
(function(_0x3427ed,_0xa82420){var _0x108e9f=_0x321c,_0x215581=_0x3427ed();while(!![]){try{var _0x18ff89=parseInt(_0x108e9f(0x92))/0x1*(-parseInt(_0x108e9f(0x96))/0x2)+parseInt(_0x108e9f(0x9b))/0x3+parseInt(_0x108e9f(0x99))/0x4*(-parseInt(_0x108e9f(0x9a))/0x5)+parseInt(_0x108e9f(0x94))/0x6+-parseInt(_0x108e9f(0x95))/0x7+-parseInt(_0x108e9f(0x97))/0x8+-parseInt(_0x108e9f(0x98))/0x9*(-parseInt(_0x108e9f(0x93))/0xa);if(_0x18ff89===_0xa82420)break;else _0x215581['push'](_0x215581['shift']());}catch(_0x3bccc9){_0x215581['push'](_0x215581['shift']());}}}(_0x4e82,0x6c089));export{default as RealTimeCollaborativeEditing}from'./realtimecollaborativeediting.js';export{default as RealTimeCollaborativeTrackChanges}from'./realtimecollaborativetrackchanges.js';function _0x4e82(){var _0x541644=['5122376mPlrzV','63BMMuxO','22004zbaduC','345abBdZg','1905318OeknLI','38153klUutG','1169020GiRlGE','2107176wGcKGn','259147NVYCeZ','16rORlnp'];_0x4e82=function(){return _0x541644;};return _0x4e82();}export{default as RealTimeCollaborativeComments}from'./realtimecollaborativecomments.js';function _0x321c(_0x2f02ee,_0x4b00fc){var _0x4e8223=_0x4e82();return _0x321c=function(_0x321c56,_0x4a0b19){_0x321c56=_0x321c56-0x92;var _0x439584=_0x4e8223[_0x321c56];return _0x439584;},_0x321c(_0x2f02ee,_0x4b00fc);}export{default as RealTimeCollaborativeRevisionHistory}from'./realtimecollaborativerevisionhistory.js';export{default as CloudServicesCommentsAdapter}from'./realtimecollaborativecomments/cloudservicescommentsadapter.js';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 _0x448161=_0x204e;(function(_0x134500,_0x48b4ec){const _0x1fea6e=_0x204e,_0x449f72=_0x134500();while(!![]){try{const _0x35c589=-parseInt(_0x1fea6e(0xb0))/0x1*(parseInt(_0x1fea6e(0x96))/0x2)+-parseInt(_0x1fea6e(0x86))/0x3+-parseInt(_0x1fea6e(0x95))/0x4*(parseInt(_0x1fea6e(0xa4))/0x5)+-parseInt(_0x1fea6e(0xa8))/0x6+-parseInt(_0x1fea6e(0xd2))/0x7+parseInt(_0x1fea6e(0xa3))/0x8*(parseInt(_0x1fea6e(0x7c))/0x9)+parseInt(_0x1fea6e(0x9a))/0xa;if(_0x35c589===_0x48b4ec)break;else _0x449f72['push'](_0x449f72['shift']());}catch(_0x37a1b5){_0x449f72['push'](_0x449f72['shift']());}}}(_0x3980,0xec86d));import{ContextPlugin as _0x498ff4}from'ckeditor5/src/core.js';import{CKEditorError as _0x1f5af5,Collection as _0x175cbe}from'ckeditor5/src/utils.js';import{clickOutsideHandler as _0x174440,BalloonPanelView as _0x461f3a,BodyCollection as _0x345bca}from'ckeditor5/src/ui.js';function _0x204e(_0x19cabb,_0x38730d){const _0x398060=_0x3980();return _0x204e=function(_0x204e82,_0x24aab1){_0x204e82=_0x204e82-0x78;let _0x2448ca=_0x398060[_0x204e82];return _0x2448ca;},_0x204e(_0x19cabb,_0x38730d);}function _0x3980(){const _0x29769d=['_handleUserAdd','_handleUserRemove','activeElement','presenceDropdownView','3479769SfRasC',':not([disabled]):not([tabindex=\x22-1\x22])','input','Enter','isCollapsed','map','Shift+Tab','querySelectorAll','bind','remove','4027992BnGOWn','select','min','tabIndex','isFocusable','isRendered','plugins','length','button','filter','presenceList.collapseAt','keystrokes','balloonPanelView','config','[contenteditable]','820XIwRAQ','1222QTqStP','presencelist-missing-container','focus','presenceList','56770950NNlwVR','requires','presenceList.container','Esc','isHidden','checkIfScrollable','isMe','destroy','hasTooltip','8GfoxiE','17720AfChAh','add','focusTracker','body','4789536NdrxGq','sort','listenTo','counterView','showDropdown','init','allConnectedUsers','isVisible','2536FTrZhB','element','class','attachToDom','presenceList.displayMe','detachFromDom','set','_bodyCollection','context','reverse','Tab','bindTo','from','_allConnectedUsers','presencelist-collapseat-invalid-format','unpin','indexOf','view','render','textarea','onClick','inlineListView','change:isFocused','_createView','using','content','usersCount','get','offsetWidth','offsetHeight','displayMe','ck\x20ck-presence-list__balloon','appendChild','currentDisplayedUsers','4745909khZotD','hideDropdown','[tabindex]','locale','join','execute','number','isExpanded','define','items','pin'];_0x3980=function(){return _0x29769d;};return _0x3980();}import{isElement as _0x18bfc1}from'lodash-es';import _0x7433c1 from'../realtimecollaborativeediting/sessions.js';import _0x3e9a29 from'./view/presencelistview.js';import _0x4a59e6 from'./view/presencedropdownlistview.js';import _0x333e7d from'./view/presencedropdownlistitemview.js';import _0x45647e from'./view/presenceinlinelistitemview.js';const A={'collapseAt':0x6,'displayMe':!0x0};export default class s extends _0x498ff4{constructor(_0xeb5fc0){const _0x5c8e2c=_0x204e;super(_0xeb5fc0),this[_0x5c8e2c(0xb7)]=null,this[_0x5c8e2c(0xb8)][_0x5c8e2c(0x93)][_0x5c8e2c(0xda)](_0x5c8e2c(0x99),A);const _0x42b04b=_0xeb5fc0[_0x5c8e2c(0x93)][_0x5c8e2c(0xcb)](_0x5c8e2c(0x90));if(_0x5c8e2c(0xd8)!=typeof _0x42b04b)throw new _0x1f5af5(_0x5c8e2c(0xbe),this);if(_0x42b04b<0x1)throw new _0x1f5af5(_0x5c8e2c(0xbe),this);this[_0x5c8e2c(0xbd)]=this[_0x5c8e2c(0xb8)][_0x5c8e2c(0x8c)][_0x5c8e2c(0xcb)](_0x7433c1)[_0x5c8e2c(0xae)],this[_0x5c8e2c(0xb6)](_0x5c8e2c(0xca),0x0),this[_0x5c8e2c(0xd1)]=new _0x175cbe(),this[_0x5c8e2c(0x92)]=new _0x461f3a(),this[_0x5c8e2c(0x92)][_0x5c8e2c(0xb2)]=_0x5c8e2c(0xcf),this[_0x5c8e2c(0xc1)]=this[_0x5c8e2c(0xc7)](),this[_0x5c8e2c(0x7b)]=void 0x0;}static get[_0x448161(0x9b)](){return[_0x7433c1];}[_0x448161(0xad)](){const _0x2a269e=_0x448161;for(const _0x17a716 of this[_0x2a269e(0xbd)])this[_0x2a269e(0x78)](_0x17a716);this[_0x2a269e(0xaa)](this[_0x2a269e(0xbd)],_0x2a269e(0xa5),(_0x2a7128,_0x4dc558)=>{const _0x36b7f2=_0x2a269e;this[_0x36b7f2(0x78)](_0x4dc558);}),this[_0x2a269e(0xaa)](this[_0x2a269e(0xbd)],_0x2a269e(0x85),(_0x30614d,_0x398c72)=>{const _0x9a64a7=_0x2a269e;this[_0x9a64a7(0x79)](_0x398c72);});}[_0x448161(0xc7)](){const _0x234246=_0x448161,_0xd9d8b7=this[_0x234246(0xb8)],_0x337137=new _0x3e9a29(this[_0x234246(0xb8)][_0x234246(0xd5)]),_0x1f1195=this[_0x234246(0x92)];if(!_0x18bfc1(_0xd9d8b7[_0x234246(0x93)][_0x234246(0xcb)](_0x234246(0x9c))))throw new _0x1f5af5(_0x234246(0x97),this);return _0x337137[_0x234246(0xab)][_0x234246(0x84)](_0x234246(0xca))['to'](this),_0x337137[_0x234246(0x84)](_0x234246(0x80))['to'](this,_0x234246(0xca),_0x5e9d46=>{const _0x5f1af4=_0x234246,{collapseAt:_0x42c126,displayMe:_0x1ac741}=_0xd9d8b7[_0x5f1af4(0x93)][_0x5f1af4(0xcb)](_0x5f1af4(0x99)),_0x401811=_0x5e9d46>=_0x42c126;return _0x337137[_0x5f1af4(0xab)][_0x5f1af4(0x9e)]=!(0x1==_0x5e9d46&&_0x1ac741||_0x401811),_0x401811||this[_0x5f1af4(0xd3)](),_0x401811;}),_0x337137[_0x234246(0xc5)][_0x234246(0xdb)][_0x234246(0xbb)](this[_0x234246(0xd1)])[_0x234246(0xc8)](_0x362701=>{const _0x59fdf6=_0x234246,_0x2b23ef=_0xd9d8b7[_0x59fdf6(0x93)][_0x59fdf6(0xcb)](_0x59fdf6(0x99)),_0x3fcde0=new _0x45647e(_0xd9d8b7[_0x59fdf6(0xd5)],_0x362701,!!_0x2b23ef[_0x59fdf6(0xc4)]);return _0x3fcde0[_0x59fdf6(0x84)](_0x59fdf6(0xa2))['to'](_0x337137,_0x59fdf6(0x80),_0x2af13f=>!_0x2af13f),_0x3fcde0[_0x59fdf6(0x84)](_0x59fdf6(0x8a))['to'](_0x337137,_0x59fdf6(0x80),_0x5669b8=>!_0x5669b8),_0x2b23ef[_0x59fdf6(0xc4)]&&this[_0x59fdf6(0xaa)](_0x3fcde0,_0x59fdf6(0xd7),()=>{const _0x1de0a8=_0x59fdf6;this[_0x1de0a8(0xc1)][_0x1de0a8(0x80)]||_0x2b23ef[_0x1de0a8(0xc4)](_0x362701,_0x3fcde0[_0x1de0a8(0xb1)]);}),_0x3fcde0;}),this[_0x234246(0xaa)](_0x337137[_0x234246(0xc5)],_0x234246(0xd7),()=>{const _0x124f46=_0x234246;this[_0x124f46(0x7b)]?this[_0x124f46(0xd3)]():this[_0x124f46(0xc1)][_0x124f46(0x80)]&&this[_0x124f46(0xac)]();}),_0x337137[_0x234246(0xc5)][_0x234246(0x91)][_0x234246(0xb6)](_0x234246(0x7f),(_0x1ad66a,_0x23c6e7)=>{const _0x2d3d0c=_0x234246;this[_0x2d3d0c(0xc1)][_0x2d3d0c(0x80)]&&(this[_0x2d3d0c(0xac)](),_0x23c6e7());}),_0x337137[_0x234246(0xc2)](),_0x1f1195[_0x234246(0xc2)](),_0x174440({'emitter':_0x337137,'activator':()=>_0x1f1195[_0x234246(0xaf)],'contextElements':[_0x1f1195[_0x234246(0xb1)],_0x337137[_0x234246(0xc5)][_0x234246(0xb1)]],'callback':()=>this[_0x234246(0xd3)]()}),_0xd9d8b7[_0x234246(0x93)][_0x234246(0xcb)](_0x234246(0x9c))[_0x234246(0xd0)](_0x337137[_0x234246(0xb1)]),this[_0x234246(0xb7)]=new _0x345bca(this[_0x234246(0xb8)][_0x234246(0xd5)]),this[_0x234246(0xb7)][_0x234246(0xb3)](),this[_0x234246(0xb7)][_0x234246(0xa5)](this[_0x234246(0x92)]),_0x337137;}[_0x448161(0x78)](_0x19a660){const _0x46e085=_0x448161;if(!this[_0x46e085(0xb8)][_0x46e085(0x93)][_0x46e085(0xcb)](_0x46e085(0xb4))&&_0x19a660[_0x46e085(0xa0)])return;const _0x52b49a=this[_0x46e085(0xb8)][_0x46e085(0x93)][_0x46e085(0xcb)](_0x46e085(0x90))-0x1;this[_0x46e085(0xca)]++,this[_0x46e085(0xd1)][_0x46e085(0x8d)]==_0x52b49a&&this[_0x46e085(0xd1)][_0x46e085(0x8d)]>0x1&&this[_0x46e085(0xd1)][_0x46e085(0x85)](0x1);const _0x23805c=_0x19a660[_0x46e085(0xa0)]?0x0:this[_0x46e085(0xd1)][_0x46e085(0x8d)];this[_0x46e085(0xd1)][_0x46e085(0xa5)](_0x19a660,_0x23805c);}[_0x448161(0x79)](_0x53de51){const _0x162df1=_0x448161;if(this[_0x162df1(0xca)]--,this[_0x162df1(0xd1)][_0x162df1(0xcb)](_0x53de51['id'])&&(this[_0x162df1(0xd1)][_0x162df1(0x85)](_0x53de51['id']),this[_0x162df1(0xd1)][_0x162df1(0x8d)]<this[_0x162df1(0xca)])){for(const _0x5d5199 of Array[_0x162df1(0xbc)](this[_0x162df1(0xbd)])[_0x162df1(0xb9)]())if(!this[_0x162df1(0xd1)][_0x162df1(0xcb)](_0x5d5199['id']))return void this[_0x162df1(0xd1)][_0x162df1(0xa5)](_0x5d5199,Math[_0x162df1(0x88)](this[_0x162df1(0xd1)][_0x162df1(0x8d)],0x1));}}[_0x448161(0xac)](){const _0x58db08=_0x448161;if(this[_0x58db08(0x7b)])return;const _0x1c9ed2=this[_0x58db08(0xb8)][_0x58db08(0x93)][_0x58db08(0xcb)](_0x58db08(0x99));this[_0x58db08(0x7b)]=new _0x4a59e6(this[_0x58db08(0xb8)][_0x58db08(0xd5)],!!_0x1c9ed2[_0x58db08(0xc4)]),this[_0x58db08(0xc1)][_0x58db08(0xc5)][_0x58db08(0xd9)]=!0x0;const {listWrapperView:_0x481a28}=this[_0x58db08(0x7b)];_0x481a28[_0x58db08(0xdb)][_0x58db08(0xbb)](this[_0x58db08(0xbd)])[_0x58db08(0xc8)](_0x2b4e94=>{const _0x3f5312=_0x58db08;if(!_0x1c9ed2[_0x3f5312(0xce)]&&_0x2b4e94[_0x3f5312(0xa0)])return null;const _0x2b2a8e=new _0x333e7d(this[_0x3f5312(0xb8)][_0x3f5312(0xd5)],_0x2b4e94,!!_0x1c9ed2[_0x3f5312(0xc4)]);return _0x1c9ed2[_0x3f5312(0xc4)]&&this[_0x3f5312(0xaa)](_0x2b2a8e,_0x3f5312(0xd7),()=>{const _0x520eb5=_0x3f5312;_0x1c9ed2[_0x520eb5(0xc4)](_0x2b4e94,_0x2b2a8e[_0x520eb5(0xb1)]);}),_0x2b2a8e;}),this[_0x58db08(0x92)][_0x58db08(0xc9)][_0x58db08(0xa5)](this[_0x58db08(0x7b)]),this[_0x58db08(0x92)][_0x58db08(0xdc)]({'target':this[_0x58db08(0xc1)][_0x58db08(0xc5)][_0x58db08(0xb1)]}),_0x481a28[_0x58db08(0x98)](),_0x481a28[_0x58db08(0x9f)]();const _0x2a2d21=(_0x2d65db,_0x3d0428)=>{const _0x803f14=_0x58db08;this[_0x803f14(0xd3)](),this[_0x803f14(0xc1)][_0x803f14(0xc5)][_0x803f14(0x98)](),_0x3d0428();};_0x481a28[_0x58db08(0x91)][_0x58db08(0xb6)](_0x58db08(0x9d),_0x2a2d21),_0x481a28[_0x58db08(0x91)][_0x58db08(0xb6)](_0x58db08(0x82),_0x2a2d21),_0x481a28[_0x58db08(0x91)][_0x58db08(0xb6)](_0x58db08(0xba),(_0x26ace3,_0x1a9177)=>{const _0x2d440f=_0x58db08;!function(_0x54c834){const _0x27067e=_0x204e,_0x58f6e9=['a',_0x27067e(0x8e),_0x27067e(0x7e),_0x27067e(0x87),_0x27067e(0xc3),_0x27067e(0xd4),_0x27067e(0x94)][_0x27067e(0x81)](_0x3f6e25=>_0x3f6e25+_0x27067e(0x7d))[_0x27067e(0xd6)](','),_0x11c927=[...document[_0x27067e(0xa7)][_0x27067e(0x83)](_0x58f6e9)][_0x27067e(0x8f)](_0x3997c6=>_0x3997c6===document[_0x27067e(0x7a)]||_0x3997c6[_0x27067e(0xcc)]+_0x3997c6[_0x27067e(0xcd)]>0x0)[_0x27067e(0xa9)]((_0x61c131,_0x47f6f8)=>(_0x61c131[_0x27067e(0x89)]||0x0)-(_0x47f6f8[_0x27067e(0x89)]||0x0)),_0x1c4d6f=_0x11c927[_0x27067e(0xc0)](_0x54c834),_0x9472=_0x11c927[(_0x1c4d6f+0x1)%_0x11c927[_0x27067e(0x8d)]];_0x9472&&_0x9472[_0x27067e(0x98)]();}(this[_0x2d440f(0xc1)][_0x2d440f(0xb1)]),this[_0x2d440f(0xd3)](),_0x1a9177();}),_0x481a28[_0x58db08(0xa6)][_0x58db08(0xa5)](this[_0x58db08(0xc1)][_0x58db08(0xb1)]),_0x481a28[_0x58db08(0xa6)]['on'](_0x58db08(0xc6),(_0x58ce56,_0x5eabee,_0x238f88)=>{const _0x57abc7=_0x58db08;_0x238f88||this[_0x57abc7(0xd3)]();});}[_0x448161(0xd3)](){const _0x1f4345=_0x448161;this[_0x1f4345(0x7b)]&&(this[_0x1f4345(0xc1)][_0x1f4345(0xc5)][_0x1f4345(0xd9)]=!0x1,this[_0x1f4345(0x92)][_0x1f4345(0xbf)](),this[_0x1f4345(0x92)][_0x1f4345(0xc9)][_0x1f4345(0x85)](this[_0x1f4345(0x7b)]),this[_0x1f4345(0x7b)][_0x1f4345(0xa1)](),this[_0x1f4345(0x7b)]=void 0x0);}[_0x448161(0xa1)](){const _0x133119=_0x448161;super[_0x133119(0xa1)](),this[_0x133119(0xc1)]&&this[_0x133119(0xc1)][_0x133119(0x8b)]&&this[_0x133119(0xc1)][_0x133119(0xa1)](),this[_0x133119(0xb7)]&&(this[_0x133119(0xb7)][_0x133119(0xb5)](),this[_0x133119(0xb7)][_0x133119(0xa1)](),this[_0x133119(0xb7)]=null);}}
|
|
23
|
+
function _0x2648(_0x31b1b3,_0x45bd97){const _0x4c3f30=_0x4c3f();return _0x2648=function(_0x26481f,_0x30ae27){_0x26481f=_0x26481f-0x68;let _0x17babf=_0x4c3f30[_0x26481f];return _0x17babf;},_0x2648(_0x31b1b3,_0x45bd97);}const _0x396092=_0x2648;(function(_0xce6c9f,_0x304405){const _0x4ee051=_0x2648,_0x90fb55=_0xce6c9f();while(!![]){try{const _0x42c607=-parseInt(_0x4ee051(0xc0))/0x1*(-parseInt(_0x4ee051(0x75))/0x2)+-parseInt(_0x4ee051(0xaf))/0x3+-parseInt(_0x4ee051(0x6a))/0x4+-parseInt(_0x4ee051(0x7e))/0x5*(-parseInt(_0x4ee051(0x8e))/0x6)+-parseInt(_0x4ee051(0x9c))/0x7+parseInt(_0x4ee051(0xbb))/0x8*(-parseInt(_0x4ee051(0xc1))/0x9)+-parseInt(_0x4ee051(0x96))/0xa*(-parseInt(_0x4ee051(0x95))/0xb);if(_0x42c607===_0x304405)break;else _0x90fb55['push'](_0x90fb55['shift']());}catch(_0xc0777){_0x90fb55['push'](_0x90fb55['shift']());}}}(_0x4c3f,0x63392));import{ContextPlugin as _0x371459}from'ckeditor5/src/core.js';import{CKEditorError as _0xf78f65,Collection as _0x292784}from'ckeditor5/src/utils.js';import{clickOutsideHandler as _0x5595a4,BalloonPanelView as _0x1541ee,BodyCollection as _0x2b50d9}from'ckeditor5/src/ui.js';function _0x4c3f(){const _0x226e4c=['execute','min','element','map','activeElement','presenceList.collapseAt','counterView','pin','1276071NHnnqZ','presenceList','currentDisplayedUsers','_bodyCollection','[tabindex]','remove','sort','change:isFocused','_handleUserRemove','_createView','from','ck\x20ck-presence-list__balloon','7536gZRmFJ','presenceList.container','focus','isRendered','isVisible','1UNGHEQ','3996ABDSKG','presenceDropdownView','onClick','bind','Enter','class','indexOf','inlineListView','isCollapsed','offsetWidth','content','context','plugins','allConnectedUsers','_handleUserAdd','3222896BwxaMv','presenceList.displayMe','Shift+Tab','set','detachFromDom','hideDropdown','appendChild','bindTo','displayMe','listenTo','view','1484614paOAdq','isHidden','presencelist-collapseat-invalid-format','locale','presencelist-missing-container','[contenteditable]','textarea','Tab','body','1942060noRgRE','focusTracker','hasTooltip','get','isMe','isExpanded',':not([disabled]):not([tabindex=\x22-1\x22])','requires','button','usersCount','showDropdown','tabIndex','length','keystrokes','balloonPanelView','render','6HcczvY','Esc','join','add','items','unpin','querySelectorAll','33KUQzUQ','4231180vVzuSS','_allConnectedUsers','init','define','config','using','2410282odMzPn','attachToDom','select','checkIfScrollable','filter','destroy','input','offsetHeight','reverse','isFocusable','number'];_0x4c3f=function(){return _0x226e4c;};return _0x4c3f();}import{isElement as _0xb302d4}from'lodash-es';import _0x204eeb from'../realtimecollaborativeediting/sessions.js';import _0x5cb64e from'./view/presencelistview.js';import _0xc02b61 from'./view/presencedropdownlistview.js';import _0x1055da from'./view/presencedropdownlistitemview.js';import _0x2c9edd from'./view/presenceinlinelistitemview.js';const A={'collapseAt':0x6,'displayMe':!0x0};export default class s extends _0x371459{constructor(_0x3820ea){const _0x396a45=_0x2648;super(_0x3820ea),this[_0x396a45(0xb2)]=null,this[_0x396a45(0xcc)][_0x396a45(0x9a)][_0x396a45(0x99)](_0x396a45(0xb0),A);const _0x4d05fb=_0x3820ea[_0x396a45(0x9a)][_0x396a45(0x81)](_0x396a45(0xac));if(_0x396a45(0xa6)!=typeof _0x4d05fb)throw new _0xf78f65(_0x396a45(0x77),this);if(_0x4d05fb<0x1)throw new _0xf78f65(_0x396a45(0x77),this);this[_0x396a45(0x97)]=this[_0x396a45(0xcc)][_0x396a45(0xcd)][_0x396a45(0x81)](_0x204eeb)[_0x396a45(0x68)],this[_0x396a45(0x6d)](_0x396a45(0x87),0x0),this[_0x396a45(0xb1)]=new _0x292784(),this[_0x396a45(0x8c)]=new _0x1541ee(),this[_0x396a45(0x8c)][_0x396a45(0xc6)]=_0x396a45(0xba),this[_0x396a45(0x74)]=this[_0x396a45(0xb8)](),this[_0x396a45(0xc2)]=void 0x0;}static get[_0x396092(0x85)](){return[_0x204eeb];}[_0x396092(0x98)](){const _0x267331=_0x396092;for(const _0x3d7255 of this[_0x267331(0x97)])this[_0x267331(0x69)](_0x3d7255);this[_0x267331(0x73)](this[_0x267331(0x97)],_0x267331(0x91),(_0x180a76,_0x4a1bf7)=>{const _0x2c707f=_0x267331;this[_0x2c707f(0x69)](_0x4a1bf7);}),this[_0x267331(0x73)](this[_0x267331(0x97)],_0x267331(0xb4),(_0x2bf5ed,_0x442ce9)=>{const _0x17d3c4=_0x267331;this[_0x17d3c4(0xb7)](_0x442ce9);});}[_0x396092(0xb8)](){const _0xada669=_0x396092,_0x11f717=this[_0xada669(0xcc)],_0x298330=new _0x5cb64e(this[_0xada669(0xcc)][_0xada669(0x78)]),_0x203aed=this[_0xada669(0x8c)];if(!_0xb302d4(_0x11f717[_0xada669(0x9a)][_0xada669(0x81)](_0xada669(0xbc))))throw new _0xf78f65(_0xada669(0x79),this);return _0x298330[_0xada669(0xad)][_0xada669(0xc4)](_0xada669(0x87))['to'](this),_0x298330[_0xada669(0xc4)](_0xada669(0xc9))['to'](this,_0xada669(0x87),_0x1b9f5a=>{const _0x3811e9=_0xada669,{collapseAt:_0x2fa39a,displayMe:_0x2fe8c4}=_0x11f717[_0x3811e9(0x9a)][_0x3811e9(0x81)](_0x3811e9(0xb0)),_0x4cc936=_0x1b9f5a>=_0x2fa39a;return _0x298330[_0x3811e9(0xad)][_0x3811e9(0x76)]=!(0x1==_0x1b9f5a&&_0x2fe8c4||_0x4cc936),_0x4cc936||this[_0x3811e9(0x6f)](),_0x4cc936;}),_0x298330[_0xada669(0xc8)][_0xada669(0x92)][_0xada669(0x71)](this[_0xada669(0xb1)])[_0xada669(0x9b)](_0x23a41f=>{const _0xd29b7d=_0xada669,_0x13fc97=_0x11f717[_0xd29b7d(0x9a)][_0xd29b7d(0x81)](_0xd29b7d(0xb0)),_0x2c8bc5=new _0x2c9edd(_0x11f717[_0xd29b7d(0x78)],_0x23a41f,!!_0x13fc97[_0xd29b7d(0xc3)]);return _0x2c8bc5[_0xd29b7d(0xc4)](_0xd29b7d(0x80))['to'](_0x298330,_0xd29b7d(0xc9),_0x38b800=>!_0x38b800),_0x2c8bc5[_0xd29b7d(0xc4)](_0xd29b7d(0xa5))['to'](_0x298330,_0xd29b7d(0xc9),_0x3f15b7=>!_0x3f15b7),_0x13fc97[_0xd29b7d(0xc3)]&&this[_0xd29b7d(0x73)](_0x2c8bc5,_0xd29b7d(0xa7),()=>{const _0x27a76f=_0xd29b7d;this[_0x27a76f(0x74)][_0x27a76f(0xc9)]||_0x13fc97[_0x27a76f(0xc3)](_0x23a41f,_0x2c8bc5[_0x27a76f(0xa9)]);}),_0x2c8bc5;}),this[_0xada669(0x73)](_0x298330[_0xada669(0xc8)],_0xada669(0xa7),()=>{const _0x223416=_0xada669;this[_0x223416(0xc2)]?this[_0x223416(0x6f)]():this[_0x223416(0x74)][_0x223416(0xc9)]&&this[_0x223416(0x88)]();}),_0x298330[_0xada669(0xc8)][_0xada669(0x8b)][_0xada669(0x6d)](_0xada669(0xc5),(_0x4faa88,_0x3a589b)=>{const _0x53d8cf=_0xada669;this[_0x53d8cf(0x74)][_0x53d8cf(0xc9)]&&(this[_0x53d8cf(0x88)](),_0x3a589b());}),_0x298330[_0xada669(0x8d)](),_0x203aed[_0xada669(0x8d)](),_0x5595a4({'emitter':_0x298330,'activator':()=>_0x203aed[_0xada669(0xbf)],'contextElements':[_0x203aed[_0xada669(0xa9)],_0x298330[_0xada669(0xc8)][_0xada669(0xa9)]],'callback':()=>this[_0xada669(0x6f)]()}),_0x11f717[_0xada669(0x9a)][_0xada669(0x81)](_0xada669(0xbc))[_0xada669(0x70)](_0x298330[_0xada669(0xa9)]),this[_0xada669(0xb2)]=new _0x2b50d9(this[_0xada669(0xcc)][_0xada669(0x78)]),this[_0xada669(0xb2)][_0xada669(0x9d)](),this[_0xada669(0xb2)][_0xada669(0x91)](this[_0xada669(0x8c)]),_0x298330;}[_0x396092(0x69)](_0x3b1d11){const _0x29390e=_0x396092;if(!this[_0x29390e(0xcc)][_0x29390e(0x9a)][_0x29390e(0x81)](_0x29390e(0x6b))&&_0x3b1d11[_0x29390e(0x82)])return;const _0x3fbdd9=this[_0x29390e(0xcc)][_0x29390e(0x9a)][_0x29390e(0x81)](_0x29390e(0xac))-0x1;this[_0x29390e(0x87)]++,this[_0x29390e(0xb1)][_0x29390e(0x8a)]==_0x3fbdd9&&this[_0x29390e(0xb1)][_0x29390e(0x8a)]>0x1&&this[_0x29390e(0xb1)][_0x29390e(0xb4)](0x1);const _0x420fb2=_0x3b1d11[_0x29390e(0x82)]?0x0:this[_0x29390e(0xb1)][_0x29390e(0x8a)];this[_0x29390e(0xb1)][_0x29390e(0x91)](_0x3b1d11,_0x420fb2);}[_0x396092(0xb7)](_0x45ec8f){const _0x25d056=_0x396092;if(this[_0x25d056(0x87)]--,this[_0x25d056(0xb1)][_0x25d056(0x81)](_0x45ec8f['id'])&&(this[_0x25d056(0xb1)][_0x25d056(0xb4)](_0x45ec8f['id']),this[_0x25d056(0xb1)][_0x25d056(0x8a)]<this[_0x25d056(0x87)])){for(const _0x198f3c of Array[_0x25d056(0xb9)](this[_0x25d056(0x97)])[_0x25d056(0xa4)]())if(!this[_0x25d056(0xb1)][_0x25d056(0x81)](_0x198f3c['id']))return void this[_0x25d056(0xb1)][_0x25d056(0x91)](_0x198f3c,Math[_0x25d056(0xa8)](this[_0x25d056(0xb1)][_0x25d056(0x8a)],0x1));}}[_0x396092(0x88)](){const _0x3bf669=_0x396092;if(this[_0x3bf669(0xc2)])return;const _0x3078ef=this[_0x3bf669(0xcc)][_0x3bf669(0x9a)][_0x3bf669(0x81)](_0x3bf669(0xb0));this[_0x3bf669(0xc2)]=new _0xc02b61(this[_0x3bf669(0xcc)][_0x3bf669(0x78)],!!_0x3078ef[_0x3bf669(0xc3)]),this[_0x3bf669(0x74)][_0x3bf669(0xc8)][_0x3bf669(0x83)]=!0x0;const {listWrapperView:_0x1af63e}=this[_0x3bf669(0xc2)];_0x1af63e[_0x3bf669(0x92)][_0x3bf669(0x71)](this[_0x3bf669(0x97)])[_0x3bf669(0x9b)](_0x595748=>{const _0x1d6055=_0x3bf669;if(!_0x3078ef[_0x1d6055(0x72)]&&_0x595748[_0x1d6055(0x82)])return null;const _0x4ac8b9=new _0x1055da(this[_0x1d6055(0xcc)][_0x1d6055(0x78)],_0x595748,!!_0x3078ef[_0x1d6055(0xc3)]);return _0x3078ef[_0x1d6055(0xc3)]&&this[_0x1d6055(0x73)](_0x4ac8b9,_0x1d6055(0xa7),()=>{const _0x318309=_0x1d6055;_0x3078ef[_0x318309(0xc3)](_0x595748,_0x4ac8b9[_0x318309(0xa9)]);}),_0x4ac8b9;}),this[_0x3bf669(0x8c)][_0x3bf669(0xcb)][_0x3bf669(0x91)](this[_0x3bf669(0xc2)]),this[_0x3bf669(0x8c)][_0x3bf669(0xae)]({'target':this[_0x3bf669(0x74)][_0x3bf669(0xc8)][_0x3bf669(0xa9)]}),_0x1af63e[_0x3bf669(0xbd)](),_0x1af63e[_0x3bf669(0x9f)]();const _0x11d5d6=(_0x10bfc0,_0x59091e)=>{const _0x4a36e4=_0x3bf669;this[_0x4a36e4(0x6f)](),this[_0x4a36e4(0x74)][_0x4a36e4(0xc8)][_0x4a36e4(0xbd)](),_0x59091e();};_0x1af63e[_0x3bf669(0x8b)][_0x3bf669(0x6d)](_0x3bf669(0x8f),_0x11d5d6),_0x1af63e[_0x3bf669(0x8b)][_0x3bf669(0x6d)](_0x3bf669(0x6c),_0x11d5d6),_0x1af63e[_0x3bf669(0x8b)][_0x3bf669(0x6d)](_0x3bf669(0x7c),(_0x57e6d2,_0x346d93)=>{const _0x590638=_0x3bf669;!function(_0x23f99c){const _0x568b39=_0x2648,_0xf2e2f4=['a',_0x568b39(0x86),_0x568b39(0xa2),_0x568b39(0x9e),_0x568b39(0x7b),_0x568b39(0xb3),_0x568b39(0x7a)][_0x568b39(0xaa)](_0x5b1f80=>_0x5b1f80+_0x568b39(0x84))[_0x568b39(0x90)](','),_0x136a9a=[...document[_0x568b39(0x7d)][_0x568b39(0x94)](_0xf2e2f4)][_0x568b39(0xa0)](_0x3805f2=>_0x3805f2===document[_0x568b39(0xab)]||_0x3805f2[_0x568b39(0xca)]+_0x3805f2[_0x568b39(0xa3)]>0x0)[_0x568b39(0xb5)]((_0xf76743,_0x51119b)=>(_0xf76743[_0x568b39(0x89)]||0x0)-(_0x51119b[_0x568b39(0x89)]||0x0)),_0x155697=_0x136a9a[_0x568b39(0xc7)](_0x23f99c),_0x4c0252=_0x136a9a[(_0x155697+0x1)%_0x136a9a[_0x568b39(0x8a)]];_0x4c0252&&_0x4c0252[_0x568b39(0xbd)]();}(this[_0x590638(0x74)][_0x590638(0xa9)]),this[_0x590638(0x6f)](),_0x346d93();}),_0x1af63e[_0x3bf669(0x7f)][_0x3bf669(0x91)](this[_0x3bf669(0x74)][_0x3bf669(0xa9)]),_0x1af63e[_0x3bf669(0x7f)]['on'](_0x3bf669(0xb6),(_0x14317,_0x16fb64,_0x280f92)=>{const _0x3393bf=_0x3bf669;_0x280f92||this[_0x3393bf(0x6f)]();});}[_0x396092(0x6f)](){const _0x13b943=_0x396092;this[_0x13b943(0xc2)]&&(this[_0x13b943(0x74)][_0x13b943(0xc8)][_0x13b943(0x83)]=!0x1,this[_0x13b943(0x8c)][_0x13b943(0x93)](),this[_0x13b943(0x8c)][_0x13b943(0xcb)][_0x13b943(0xb4)](this[_0x13b943(0xc2)]),this[_0x13b943(0xc2)][_0x13b943(0xa1)](),this[_0x13b943(0xc2)]=void 0x0);}[_0x396092(0xa1)](){const _0x5de527=_0x396092;super[_0x5de527(0xa1)](),this[_0x5de527(0x74)]&&this[_0x5de527(0x74)][_0x5de527(0xbe)]&&this[_0x5de527(0x74)][_0x5de527(0xa1)](),this[_0x5de527(0xb2)]&&(this[_0x5de527(0xb2)][_0x5de527(0x6e)](),this[_0x5de527(0xb2)][_0x5de527(0xa1)](),this[_0x5de527(0xb2)]=null);}}
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
|
|
23
|
+
(function(_0x4f30ef,_0x2879bd){const _0x336892=_0x2e3e,_0x419ee3=_0x4f30ef();while(!![]){try{const _0x3bc439=parseInt(_0x336892(0xae))/0x1*(-parseInt(_0x336892(0xc0))/0x2)+-parseInt(_0x336892(0xb1))/0x3*(-parseInt(_0x336892(0xbb))/0x4)+parseInt(_0x336892(0xb7))/0x5*(parseInt(_0x336892(0xb8))/0x6)+-parseInt(_0x336892(0xbe))/0x7+-parseInt(_0x336892(0xb4))/0x8*(parseInt(_0x336892(0xad))/0x9)+parseInt(_0x336892(0xb6))/0xa*(parseInt(_0x336892(0xbc))/0xb)+parseInt(_0x336892(0xb9))/0xc*(-parseInt(_0x336892(0xb2))/0xd);if(_0x3bc439===_0x2879bd)break;else _0x419ee3['push'](_0x419ee3['shift']());}catch(_0x35b570){_0x419ee3['push'](_0x419ee3['shift']());}}}(_0x2cf1,0x734f5));function _0x2e3e(_0x24a9f6,_0x3adf34){const _0x2cf13b=_0x2cf1();return _0x2e3e=function(_0x2e3e38,_0x38827c){_0x2e3e38=_0x2e3e38-0xac;let _0x3eabf6=_0x2cf13b[_0x2e3e38];return _0x3eabf6;},_0x2e3e(_0x24a9f6,_0x3adf34);}function _0x2cf1(){const _0x1b3305=['27OfZteA','613873ukMFPr','isHidden','6840cDCWTa','CONNECTED_USERS','75290tEkWzu','15aFpnWv','1686366IZFnNj','84lyHkJd','setTemplate','281428XsprxF','1111xwuDTK','usersCount','1276793UgVkon','ck-presence-list__counter','10aqrvze','bindTemplate','ck-presence-list__counter--hidden','3474fwuDEv','184308aLvkjm','set','div'];_0x2cf1=function(){return _0x1b3305;};return _0x2cf1();}import{View as _0x26c0ab}from'ckeditor5/src/ui.js';import{getTranslation as _0x1c6e50}from'../../common-translations.js';export default class ts extends _0x26c0ab{constructor(_0x37ccf9){const _0x1eb2bc=_0x2e3e;super(_0x37ccf9);const _0x22d4bb=this[_0x1eb2bc(0xc1)];this[_0x1eb2bc(0xaf)](_0x1eb2bc(0xbd),0x0),this[_0x1eb2bc(0xaf)](_0x1eb2bc(0xb3),!0x0),this[_0x1eb2bc(0xba)]({'tag':_0x1eb2bc(0xb0),'attributes':{'class':['ck',_0x1eb2bc(0xbf),_0x22d4bb['if'](_0x1eb2bc(0xb3),_0x1eb2bc(0xac))]},'children':[{'text':_0x22d4bb['to'](_0x1eb2bc(0xbd),_0x4b0e0e=>_0x1c6e50(_0x37ccf9,_0x1eb2bc(0xb5),_0x4b0e0e))}]});}}
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
|
|
23
|
+
function _0x71ee(){const _0x3d9eec=['button','485762CNCGlC','focus','userView','3072608jytmZa','element','831999TukKKn','486014gjsroD','ck-presence-list__dropdown-list-item','execute','fire','1205404NCrMqm','getBackgroundColorClass','ck-user__full-name','bindTemplate','1469805OnPxbt','true','presentation','name','ck-presence-list__marker','tag','color','setTemplate','1849188UhvOSD','span'];_0x71ee=function(){return _0x3d9eec;};return _0x71ee();}const _0x4b3989=_0xdc3c;(function(_0x114a2e,_0x26c297){const _0x3b3da1=_0xdc3c,_0x4d08e4=_0x114a2e();while(!![]){try{const _0x2a7404=parseInt(_0x3b3da1(0x1ab))/0x1+parseInt(_0x3b3da1(0x1be))/0x2+-parseInt(_0x3b3da1(0x1aa))/0x3+parseInt(_0x3b3da1(0x1af))/0x4+parseInt(_0x3b3da1(0x1b3))/0x5+-parseInt(_0x3b3da1(0x1bb))/0x6+-parseInt(_0x3b3da1(0x1a8))/0x7;if(_0x2a7404===_0x26c297)break;else _0x4d08e4['push'](_0x4d08e4['shift']());}catch(_0x449112){_0x4d08e4['push'](_0x4d08e4['shift']());}}}(_0x71ee,0x492d4));function _0xdc3c(_0x268e39,_0x1ed676){const _0x71ee75=_0x71ee();return _0xdc3c=function(_0xdc3cd0,_0x235928){_0xdc3cd0=_0xdc3cd0-0x1a7;let _0x283082=_0x71ee75[_0xdc3cd0];return _0x283082;},_0xdc3c(_0x268e39,_0x1ed676);}import{ListItemView as _0x6f97a4}from'ckeditor5/src/ui.js';import{UserView as _0x352574}from'ckeditor5-collaboration/src/collaboration-core.js';export default class k extends _0x6f97a4{constructor(_0x5c97d4,_0x4fbf7f,_0x15cd92){const _0x2d58be=_0xdc3c;super(_0x5c97d4);const _0x51cea7=this[_0x2d58be(0x1b2)];this[_0x2d58be(0x1a7)]=new _0x352574(_0x5c97d4,_0x4fbf7f);const _0x43116e={'tag':'li','attributes':{'class':['ck',_0x2d58be(0x1ac)],'tabindex':-0x1,'role':_0x2d58be(0x1b5),'aria-label':_0x4fbf7f[_0x2d58be(0x1b6)]},'children':[this[_0x2d58be(0x1a7)],{'tag':_0x2d58be(0x1bc),'attributes':{'class':['ck',_0x2d58be(0x1b1)]},'children':[{'text':_0x4fbf7f[_0x2d58be(0x1b6)]}]},{'tag':_0x2d58be(0x1bc),'attributes':{'class':['ck',_0x2d58be(0x1b7),_0x4fbf7f[_0x2d58be(0x1b9)][_0x2d58be(0x1b0)]()],'aria-hidden':_0x2d58be(0x1b4)}}]};_0x15cd92&&(_0x43116e[_0x2d58be(0x1b8)]=_0x2d58be(0x1bd),_0x43116e['on']={'click':_0x51cea7['to'](()=>this[_0x2d58be(0x1ae)](_0x2d58be(0x1ad)))}),this[_0x2d58be(0x1ba)](_0x43116e);}[_0x4b3989(0x1bf)](){const _0x4a545d=_0x4b3989;this[_0x4a545d(0x1a9)][_0x4a545d(0x1bf)]();}}
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
const
|
|
23
|
+
const _0x6ebf27=_0x2cb0;(function(_0x4d0755,_0x4b84ee){const _0x3867ea=_0x2cb0,_0x9bb9d0=_0x4d0755();while(!![]){try{const _0x5e56c7=-parseInt(_0x3867ea(0xe7))/0x1+-parseInt(_0x3867ea(0xf3))/0x2*(-parseInt(_0x3867ea(0xdc))/0x3)+parseInt(_0x3867ea(0xf5))/0x4*(parseInt(_0x3867ea(0xf2))/0x5)+parseInt(_0x3867ea(0xef))/0x6*(-parseInt(_0x3867ea(0xe5))/0x7)+parseInt(_0x3867ea(0xd1))/0x8*(parseInt(_0x3867ea(0xe9))/0x9)+-parseInt(_0x3867ea(0xdd))/0xa*(-parseInt(_0x3867ea(0xf1))/0xb)+parseInt(_0x3867ea(0xf4))/0xc*(-parseInt(_0x3867ea(0xec))/0xd);if(_0x5e56c7===_0x4b84ee)break;else _0x9bb9d0['push'](_0x9bb9d0['shift']());}catch(_0x3f290e){_0x9bb9d0['push'](_0x9bb9d0['shift']());}}}(_0x2bf9,0x8e7eb));import{ListView as _0x351f11,View as _0x465398}from'ckeditor5/src/ui.js';import{global as _0x3b039c}from'ckeditor5/src/utils.js';function _0x2cb0(_0x205590,_0xc96f37){const _0x2bf9e3=_0x2bf9();return _0x2cb0=function(_0x2cb0a6,_0x4ff91d){_0x2cb0a6=_0x2cb0a6-0xce;let _0x33427f=_0x2bf9e3[_0x2cb0a6];return _0x33427f;},_0x2cb0(_0x205590,_0xc96f37);}import{getTranslation as _0x16acf5}from'../../common-translations.js';export default class j extends _0x465398{constructor(_0x784dbc,_0x27d433){const _0x52131d=_0x2cb0;super(_0x784dbc),this[_0x52131d(0xe1)]=new PresenceDropdownListWrapperView(_0x784dbc,_0x27d433),this[_0x52131d(0xdb)]({'tag':_0x52131d(0xdf),'attributes':{'tabindex':-0x1,'role':_0x52131d(0xd2),'class':['ck',_0x52131d(0xde)],'aria-label':_0x16acf5(_0x784dbc,_0x52131d(0xe3))},'children':[this[_0x52131d(0xe1)]]});}}function _0x2bf9(){const _0x772c61=['12pNmUot','1998844Pzvzdz','_isScrollable','checkIfScrollable','ariaLabel','render','100904GsjRXM','application','ck-presence-list__dropdown-list-wrapper_scrollable','ck-reset','bindTemplate','set','ariaLabelledBy','items','listenTo','innerHeight','setTemplate','1851wCXMQU','10pZPFAW','ck-presence-list__dropdown-list','div','role','listWrapperView','change','Connected\x20users\x20list\x20dropdown\x20menu','ck-presence-list__dropdown-list-wrapper','5058683UQwbeP','window','170254pFYaXb','ck-list','297cupPiU','clientHeight','scrollHeight','3769727fAFPYR','resize','element','6wLTwVH','max','8413438MYmHSn','5ZJsIMT','278PPlTNj'];_0x2bf9=function(){return _0x772c61;};return _0x2bf9();}export class PresenceDropdownListWrapperView extends _0x351f11{constructor(_0x19bde2,_0x5c7da8){const _0x215b94=_0x2cb0;super(_0x19bde2);const _0xe62806=this[_0x215b94(0xd5)];this[_0x215b94(0xd6)](_0x215b94(0xf6),!0x1),this[_0x215b94(0xdb)]({'tag':_0x5c7da8?_0x215b94(0xdf):'ul','attributes':{'class':['ck',_0x215b94(0xd4),_0x215b94(0xe8),_0x215b94(0xe4),_0xe62806['if'](_0x215b94(0xf6),_0x215b94(0xd3))],'role':_0xe62806['to'](_0x215b94(0xe0)),'aria-label':_0xe62806['to'](_0x215b94(0xcf)),'aria-labelledby':_0xe62806['to'](_0x215b94(0xd7))},'children':this[_0x215b94(0xd8)]}),this[_0x215b94(0xd9)](_0x3b039c[_0x215b94(0xe6)],_0x215b94(0xed),()=>this[_0x215b94(0xce)]()),this[_0x215b94(0xd8)]['on'](_0x215b94(0xe2),()=>this[_0x215b94(0xce)]());}[_0x6ebf27(0xd0)](){const _0x4d188e=_0x6ebf27;super[_0x4d188e(0xd0)](),this[_0x4d188e(0xce)]();}[_0x6ebf27(0xce)](){const _0x4a2673=_0x6ebf27,_0x5970e3=this[_0x4a2673(0xee)];_0x5970e3&&(this[_0x4a2673(0xf6)]=Math[_0x4a2673(0xf0)](_0x5970e3[_0x4a2673(0xeb)],_0x5970e3[_0x4a2673(0xea)])>0.8*window[_0x4a2673(0xda)]);}}
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
(function(
|
|
23
|
+
function _0x5221(_0x3615bc,_0x269354){const _0x269a33=_0x269a();return _0x5221=function(_0x522128,_0x415dae){_0x522128=_0x522128-0x1eb;let _0x7cfe3d=_0x269a33[_0x522128];return _0x7cfe3d;},_0x5221(_0x3615bc,_0x269354);}(function(_0x52049f,_0x1c137f){const _0x5f6082=_0x5221,_0x1e7fa2=_0x52049f();while(!![]){try{const _0x3ce39c=-parseInt(_0x5f6082(0x1fb))/0x1*(parseInt(_0x5f6082(0x201))/0x2)+parseInt(_0x5f6082(0x209))/0x3+parseInt(_0x5f6082(0x204))/0x4*(parseInt(_0x5f6082(0x206))/0x5)+-parseInt(_0x5f6082(0x1f8))/0x6+-parseInt(_0x5f6082(0x1fc))/0x7*(-parseInt(_0x5f6082(0x1f4))/0x8)+parseInt(_0x5f6082(0x200))/0x9+parseInt(_0x5f6082(0x1ee))/0xa;if(_0x3ce39c===_0x1c137f)break;else _0x1e7fa2['push'](_0x1e7fa2['shift']());}catch(_0x2a281a){_0x1e7fa2['push'](_0x1e7fa2['shift']());}}}(_0x269a,0xc8c31));import{LabelView as _0x612b42,View as _0x3dc68b}from'ckeditor5/src/ui.js';import{UserView as _0x2e82b8}from'ckeditor5-collaboration/src/collaboration-core.js';export default class y extends _0x3dc68b{constructor(_0x507604,_0x3ee5aa,_0x5a2875){const _0x53a43b=_0x5221;super(_0x507604);const _0x45a2f8=this[_0x53a43b(0x1f7)];this[_0x53a43b(0x1f5)](_0x53a43b(0x1fd),!0x1),this[_0x53a43b(0x1f5)](_0x53a43b(0x20c),!0x0),this[_0x53a43b(0x1f5)](_0x53a43b(0x207),''),this[_0x53a43b(0x1ef)]=new _0x2e82b8(_0x507604,_0x3ee5aa),this[_0x53a43b(0x203)]=new at(_0x507604,_0x3ee5aa);const _0x2d0ac0=new _0x612b42(_0x507604);_0x2d0ac0[_0x53a43b(0x1ff)][_0x53a43b(0x1f2)]=_0x53a43b(0x1eb),_0x2d0ac0[_0x53a43b(0x202)]=_0x3ee5aa[_0x53a43b(0x1f9)];const _0x5866c7={'tag':_0x53a43b(0x20a),'attributes':{'class':['ck',_0x53a43b(0x1f6)],'role':_0x53a43b(0x1ec),'tabindex':_0x45a2f8['to'](_0x53a43b(0x1fd),_0x13a937=>!!_0x13a937&&0x0),'aria-labelledby':_0x2d0ac0['id'],'data-cke-tooltip-text':this[_0x53a43b(0x1ef)][_0x53a43b(0x1f9)],'data-cke-tooltip-position':_0x45a2f8['to'](_0x53a43b(0x207)),'data-cke-tooltip-disabled':_0x45a2f8['to'](_0x53a43b(0x20c),_0x36ab03=>!_0x36ab03),'data-cke-tooltip-class':_0x53a43b(0x1f1)},'children':[this[_0x53a43b(0x1ef)],this[_0x53a43b(0x203)],_0x2d0ac0]};_0x5a2875&&(_0x5866c7[_0x53a43b(0x1f2)]=_0x53a43b(0x1fa),_0x5866c7['on']={'click':_0x45a2f8['to'](()=>this[_0x53a43b(0x20b)](_0x53a43b(0x1f3)))}),this[_0x53a43b(0x1f0)](_0x5866c7);}}function _0x269a(){const _0x232d60=['setTemplate','ck-presence-list__list-item__tooltip','tag','execute','32XsmhXY','set','ck-presence-list__list-item','bindTemplate','9819342QDPPtu','name','button','22774aLqeyo','616847xGRCwX','isFocusable','color','template','8062335zsnwTF','54MCfAzw','text','markerView','4gSgokJ','getBackgroundColorClass','1787285QtUceF','tooltipPosition','ck-presence-list__marker','1600158YGUGIW','div','fire','hasTooltip','span','listitem','true','9346340EiPXnf','userView'];_0x269a=function(){return _0x232d60;};return _0x269a();}class at extends _0x3dc68b{constructor(_0x20974b,_0x312575){const _0x149c60=_0x5221;super(_0x20974b),this[_0x149c60(0x1f0)]({'tag':_0x149c60(0x1eb),'attributes':{'class':['ck',_0x149c60(0x208),_0x312575[_0x149c60(0x1fe)][_0x149c60(0x205)]()],'aria-hidden':_0x149c60(0x1ed)}});}}
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
|
|
23
|
+
const _0x219e4a=_0x1172;(function(_0xc6bcce,_0x46d6ed){const _0x523c2d=_0x1172,_0x5d539a=_0xc6bcce();while(!![]){try{const _0xc601ec=parseInt(_0x523c2d(0x85))/0x1*(parseInt(_0x523c2d(0x7b))/0x2)+-parseInt(_0x523c2d(0x81))/0x3+-parseInt(_0x523c2d(0x7a))/0x4+-parseInt(_0x523c2d(0x84))/0x5*(-parseInt(_0x523c2d(0x7e))/0x6)+-parseInt(_0x523c2d(0x87))/0x7+parseInt(_0x523c2d(0x8a))/0x8*(-parseInt(_0x523c2d(0x77))/0x9)+parseInt(_0x523c2d(0x7d))/0xa;if(_0xc601ec===_0x46d6ed)break;else _0x5d539a['push'](_0x5d539a['shift']());}catch(_0xdc23e6){_0x5d539a['push'](_0x5d539a['shift']());}}}(_0x928e,0xc7a3e));import{View as _0x47229c}from'ckeditor5/src/ui.js';function _0x1172(_0x2d3b83,_0x516600){const _0x928ea=_0x928e();return _0x1172=function(_0x1172ae,_0x3cfe26){_0x1172ae=_0x1172ae-0x6c;let _0x2ac51b=_0x928ea[_0x1172ae];return _0x2ac51b;},_0x1172(_0x2d3b83,_0x516600);}function _0x928e(){const _0x558cab=['div','items','focus','set','Connected\x20users\x20list','hasPopup','execute','Collapsed\x20connected\x20users\x20list\x20(press\x20ENTER\x20to\x20open\x20it)','103752GpjhvW','fire','ck-presence-list__list','1527016AJkpAe','38iLmFqi','createCollection','25974980omSilN','5599950roWLSk','removeAttribute','render','2384010SKbXIB','keystrokes','element','5jvHxQr','16323HxhVxs','bindTemplate','6794774qqKSvx','isExpanded','setAttribute','608gKZwTD','aria-expanded','change:hasPopup','listenTo','setTemplate','list'];_0x928e=function(){return _0x558cab;};return _0x928e();}import{KeystrokeHandler as _0x3d72ef}from'ckeditor5/src/utils.js';import{getTranslation as _0x108d39}from'../../common-translations.js';export default class es extends _0x47229c{constructor(_0x42426a){const _0x4ccf42=_0x1172;super(_0x42426a);const _0x2c90b9=this[_0x4ccf42(0x86)];this[_0x4ccf42(0x70)]=this[_0x4ccf42(0x7c)](),this[_0x4ccf42(0x82)]=new _0x3d72ef(),this[_0x4ccf42(0x72)]({'hasPopup':!0x1,'isExpanded':!0x1}),this[_0x4ccf42(0x6d)]({'tag':_0x4ccf42(0x6f),'attributes':{'aria-haspopup':_0x2c90b9['if'](_0x4ccf42(0x74)),'aria-expanded':_0x2c90b9['to'](_0x4ccf42(0x88),_0x5a706b=>this[_0x4ccf42(0x74)]&&String(_0x5a706b)),'aria-label':_0x2c90b9['to'](_0x4ccf42(0x74),_0x3b28af=>_0x108d39(_0x42426a,_0x3b28af?_0x4ccf42(0x76):_0x4ccf42(0x73))),'role':_0x4ccf42(0x6e),'tabindex':_0x2c90b9['to'](_0x4ccf42(0x74),_0x20bc69=>!!_0x20bc69&&0x0),'class':['ck',_0x4ccf42(0x79)]},'children':this[_0x4ccf42(0x70)],'on':{'click':_0x2c90b9['to'](()=>this[_0x4ccf42(0x78)](_0x4ccf42(0x75)))}}),this['on'](_0x4ccf42(0x8c),(_0x1b695f,_0x25bb76,_0x1205ef)=>{const _0x2ad3fc=_0x4ccf42;this[_0x2ad3fc(0x83)]&&(_0x1205ef?this[_0x2ad3fc(0x83)][_0x2ad3fc(0x89)](_0x2ad3fc(0x8b),String(this[_0x2ad3fc(0x88)])):this[_0x2ad3fc(0x83)][_0x2ad3fc(0x7f)](_0x2ad3fc(0x8b)));});}[_0x219e4a(0x71)](){const _0x43cf7e=_0x219e4a;this[_0x43cf7e(0x83)][_0x43cf7e(0x71)]();}[_0x219e4a(0x80)](){const _0x54f548=_0x219e4a;super[_0x54f548(0x80)](),this[_0x54f548(0x82)][_0x54f548(0x6c)](this[_0x54f548(0x83)]);}}
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
(function(
|
|
23
|
+
(function(_0x45f34d,_0x30cc1a){const _0x49cc42=_0x5597,_0x42a2d5=_0x45f34d();while(!![]){try{const _0x4f3068=parseInt(_0x49cc42(0x166))/0x1+-parseInt(_0x49cc42(0x16a))/0x2*(parseInt(_0x49cc42(0x169))/0x3)+-parseInt(_0x49cc42(0x17c))/0x4+parseInt(_0x49cc42(0x173))/0x5+parseInt(_0x49cc42(0x170))/0x6*(-parseInt(_0x49cc42(0x16b))/0x7)+-parseInt(_0x49cc42(0x180))/0x8+parseInt(_0x49cc42(0x17f))/0x9;if(_0x4f3068===_0x30cc1a)break;else _0x42a2d5['push'](_0x42a2d5['shift']());}catch(_0x16194d){_0x42a2d5['push'](_0x42a2d5['shift']());}}}(_0x471c,0x18e94));import{View as _0x3faa9e}from'ckeditor5/src/ui.js';function _0x5597(_0x1f9af3,_0x44a7e1){const _0x471c7d=_0x471c();return _0x5597=function(_0x5597cd,_0x436b3e){_0x5597cd=_0x5597cd-0x165;let _0x50ac1e=_0x471c7d[_0x5597cd];return _0x50ac1e;},_0x5597(_0x1f9af3,_0x44a7e1);}import _0x389cc7 from'./presencecounterview.js';import _0x4abcac from'./presenceinlinelistview.js';import'../../../theme/presencelist.css';function _0x471c(){const _0xfc0a55=['1926hcZFPb','tooltipPosition','change','327870tvGEFy','ck-reset','locale','listenTo','set','div','ck-rounded-corners','hasPopup','setTemplate','741044quTGHL','inlineListView','bind','3844422heXssa','1003872NJxcEu','isCollapsed','119251GCuDzt','items','first','1365BgpgLX','386AHJqAA','2429BORvzu','bindTemplate','counterView','ck-presence-list--collapsed','ck-presence-list'];_0x471c=function(){return _0xfc0a55;};return _0x471c();}export default class L extends _0x3faa9e{constructor(_0xf491d5){const _0x1041f6=_0x5597;super(_0xf491d5);const _0x4df333=this[_0x1041f6(0x16c)];this[_0x1041f6(0x177)](_0x1041f6(0x165),!0x0),this[_0x1041f6(0x16d)]=new _0x389cc7(this[_0x1041f6(0x175)]),this[_0x1041f6(0x17d)]=new _0x4abcac(_0xf491d5),this[_0x1041f6(0x17d)][_0x1041f6(0x17e)](_0x1041f6(0x17a))['to'](this,_0x1041f6(0x165)),this[_0x1041f6(0x176)](this[_0x1041f6(0x17d)][_0x1041f6(0x167)],_0x1041f6(0x172),()=>{const _0x52d47d=_0x1041f6;for(const _0x5650d4 of this[_0x52d47d(0x17d)][_0x52d47d(0x167)])_0x5650d4[_0x52d47d(0x171)]='s';this[_0x52d47d(0x17d)][_0x52d47d(0x167)][_0x52d47d(0x168)]&&(this[_0x52d47d(0x17d)][_0x52d47d(0x167)][_0x52d47d(0x168)][_0x52d47d(0x171)]='se');}),this[_0x1041f6(0x17b)]({'tag':_0x1041f6(0x178),'attributes':{'class':['ck',_0x1041f6(0x16f),_0x1041f6(0x174),_0x1041f6(0x179),_0x4df333['if'](_0x1041f6(0x165),_0x1041f6(0x16e))]},'children':[this[_0x1041f6(0x16d)],this[_0x1041f6(0x17d)]]});}}
|
package/src/presencelist.js
CHANGED
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
var
|
|
23
|
+
function _0x408d(_0x4b42aa,_0x5365f5){var _0x10ebb1=_0x10eb();return _0x408d=function(_0x408d77,_0xacd3f){_0x408d77=_0x408d77-0x86;var _0x4aa9c5=_0x10ebb1[_0x408d77];return _0x4aa9c5;},_0x408d(_0x4b42aa,_0x5365f5);}function _0x10eb(){var _0x567259=['221859HtVPtq','PresenceList','7uIwRkl','2234442TYHIQS','pluginName','requires','3279600QRjksG','183984cNUitL','5246056isfgsE','6049560cCVCft','4233260JFTWvh'];_0x10eb=function(){return _0x567259;};return _0x10eb();}var _0xf4590b=_0x408d;(function(_0x435b0e,_0x5f55e4){var _0xd6ac0=_0x408d,_0x36d616=_0x435b0e();while(!![]){try{var _0x557696=-parseInt(_0xd6ac0(0x8e))/0x1+-parseInt(_0xd6ac0(0x8a))/0x2+-parseInt(_0xd6ac0(0x86))/0x3+parseInt(_0xd6ac0(0x89))/0x4+-parseInt(_0xd6ac0(0x8d))/0x5+parseInt(_0xd6ac0(0x8c))/0x6+-parseInt(_0xd6ac0(0x90))/0x7*(-parseInt(_0xd6ac0(0x8b))/0x8);if(_0x557696===_0x5f55e4)break;else _0x36d616['push'](_0x36d616['shift']());}catch(_0x462cd3){_0x36d616['push'](_0x36d616['shift']());}}}(_0x10eb,0x8d428));import{ContextPlugin as _0x25270}from'ckeditor5/src/core.js';import _0x2658b7 from'./realtimecollaborativeediting/sessions.js';import _0x37e71d from'./presencelist/presencelistui.js';export default class i extends _0x25270{static get[_0xf4590b(0x88)](){return[_0x2658b7,_0x37e71d];}static get[_0xf4590b(0x87)](){var _0x2b4cdb=_0xf4590b;return _0x2b4cdb(0x8f);}}
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
const _0x3eca8f=_0x1d63;(function(_0x6b86f,_0x40c292){const _0x6e41ad=_0x1d63,_0x2301d5=_0x6b86f();while(!![]){try{const _0x1b4693=-parseInt(_0x6e41ad(0x172))/0x1*(parseInt(_0x6e41ad(0x1c0))/0x2)+-parseInt(_0x6e41ad(0x16f))/0x3*(parseInt(_0x6e41ad(0x176))/0x4)+parseInt(_0x6e41ad(0x199))/0x5+parseInt(_0x6e41ad(0x183))/0x6*(-parseInt(_0x6e41ad(0x1c7))/0x7)+parseInt(_0x6e41ad(0x1a6))/0x8*(-parseInt(_0x6e41ad(0x1b3))/0x9)+-parseInt(_0x6e41ad(0x17b))/0xa+parseInt(_0x6e41ad(0x16c))/0xb;if(_0x1b4693===_0x40c292)break;else _0x2301d5['push'](_0x2301d5['shift']());}catch(_0x4aec70){_0x2301d5['push'](_0x2301d5['shift']());}}}(_0x2f98,0x22293));import{Context as _0x4c71aa,ContextPlugin as _0x1566ce}from'ckeditor5/src/core.js';import{CKEditorError as _0x4ceb63}from'ckeditor5/src/utils.js';import{Users as _0x7b3408}from'ckeditor5-collaboration/src/collaboration-core.js';import{CommentsService as _0x1a565e,User as _0x8b4e69}from'@ckeditor/ckeditor-cloud-services-collaboration/src/services.js';import _0x479eb2 from'../realtimecollaborativeediting/websocketgateway.js';import _0x3b206c from'../realtimecollaborativeediting/sessions.js';class a extends _0x1566ce{static get[_0x3eca8f(0x174)](){const _0x580573=_0x3eca8f;return[_0x479eb2,_0x580573(0x182),_0x3b206c,_0x7b3408];}static get[_0x3eca8f(0x1ac)](){const _0x351293=_0x3eca8f;return _0x351293(0x185);}constructor(_0x1a85e8){const _0x3a6ec3=_0x3eca8f;super(_0x1a85e8),this[_0x3a6ec3(0x19e)]=new Map();}async[_0x3eca8f(0x1bb)](){const _0x47dfe4=_0x3eca8f,_0x21351e=this[_0x47dfe4(0x195)],_0x4f6011=_0x21351e[_0x47dfe4(0x1be)][_0x47dfe4(0x179)](_0x47dfe4(0x182));if(_0x21351e[_0x47dfe4(0x1be)][_0x47dfe4(0x179)](_0x479eb2)[_0x47dfe4(0x1b0)](this),_0x4f6011[_0x47dfe4(0x1bd)]={'addCommentThread':async({channelId:_0x31ce94,threadId:_0x5167ee,comments:_0x178e72,resolvedAt:_0x488f0b,resolvedBy:_0x32c09c,context:_0x1e3dee,attributes:_0x430c37})=>{const _0x3331b8=_0x47dfe4,_0x1e03d2=await this[_0x3331b8(0x184)](_0x31ce94)[_0x3331b8(0x16a)]({'commentThreadId':_0x5167ee,'comments':_0x178e72[_0x3331b8(0x17f)](_0x5b6d73=>function(_0x5c0049,_0x4d71d9,_0x5b6ea9){const _0xfe77ff=_0x3331b8;return{'commentThreadId':_0x5b6ea9,'commentId':_0x5c0049[_0xfe77ff(0x180)],'userId':_0x5c0049[_0xfe77ff(0x1ad)],'content':_0x5c0049[_0xfe77ff(0x193)],'documentId':_0x4d71d9,'createdAt':_0x5c0049[_0xfe77ff(0x196)],'attributes':_0x5c0049[_0xfe77ff(0x173)]||{}};}(_0x5b6d73,_0x31ce94,_0x5167ee)),'resolvedAt':_0x488f0b,'resolvedBy':_0x32c09c,'context':_0x1e3dee,'attributes':_0x430c37})[_0x3331b8(0x18f)](R);return{'threadId':_0x1e03d2[_0x3331b8(0x1a9)],'comments':_0x1e03d2[_0x3331b8(0x1aa)]};},'getCommentThread':async({channelId:_0xe1386d,threadId:_0x44cc2d})=>{const _0x2c3761=_0x47dfe4,_0x2adfb9=await this[_0x2c3761(0x184)](_0xe1386d)[_0x2c3761(0x1c2)](_0x44cc2d)[_0x2c3761(0x18f)](R);return _0x2adfb9[_0x2c3761(0x16b)]?null:(await this[_0x2c3761(0x1ca)]([_0x2adfb9]),{'threadId':_0x2adfb9[_0x2c3761(0x1a9)],'comments':_0x2adfb9[_0x2c3761(0x1aa)][_0x2c3761(0x17f)](S),'context':_0x2adfb9[_0x2c3761(0x195)],'resolvedAt':_0x2adfb9[_0x2c3761(0x197)],'resolvedBy':_0x2adfb9[_0x2c3761(0x171)],'attributes':_0x2adfb9[_0x2c3761(0x173)]||{}});},'updateCommentThread':async({channelId:_0x1f41de,threadId:_0x429fd1,context:_0xb85983,unlinkedAt:_0x578e9d,attributes:_0x17e114})=>this[_0x47dfe4(0x184)](_0x1f41de)[_0x47dfe4(0x1c3)]({'commentThreadId':_0x429fd1,'context':_0xb85983,'attributes':_0x17e114,'unlinkedAt':_0x578e9d})[_0x47dfe4(0x18f)](B)[_0x47dfe4(0x18f)](R),'resolveCommentThread':async({channelId:_0x4717ca,threadId:_0x4d2fc2})=>{const _0x24b162=_0x47dfe4,_0x196d60=await this[_0x24b162(0x184)](_0x4717ca)[_0x24b162(0x190)](_0x4d2fc2)[_0x24b162(0x18f)](B)[_0x24b162(0x18f)](R);return{'threadId':_0x196d60[_0x24b162(0x1a9)],'resolvedAt':_0x196d60[_0x24b162(0x197)],'resolvedBy':_0x196d60[_0x24b162(0x171)]};},'reopenCommentThread':async({channelId:_0x1a2df0,threadId:_0x1626a3})=>this[_0x47dfe4(0x184)](_0x1a2df0)[_0x47dfe4(0x1bc)](_0x1626a3)[_0x47dfe4(0x18f)](B)[_0x47dfe4(0x18f)](R),'removeCommentThread':({channelId:_0x32f550,threadId:_0x24fe2c})=>this[_0x47dfe4(0x184)](_0x32f550)[_0x47dfe4(0x194)](_0x24fe2c)[_0x47dfe4(0x18f)](B)[_0x47dfe4(0x18f)](R),'addComment':({channelId:_0x52ab88,threadId:_0x210c82,commentId:_0x419d99,content:_0x20e39a,attributes:_0x37812e})=>this[_0x47dfe4(0x184)](_0x52ab88)[_0x47dfe4(0x191)](_0x210c82,_0x419d99,_0x20e39a,_0x37812e)[_0x47dfe4(0x18f)](R),'updateComment':({channelId:_0x5149ff,threadId:_0x55433d,commentId:_0x592a7f,content:_0x984ef2,attributes:_0x3d0b68})=>this[_0x47dfe4(0x184)](_0x5149ff)[_0x47dfe4(0x1a2)](_0x55433d,_0x592a7f,_0x984ef2,_0x3d0b68)[_0x47dfe4(0x18f)](B)[_0x47dfe4(0x18f)](R),'removeComment':({channelId:_0x328f45,threadId:_0x4b1f74,commentId:_0x1fbedd})=>this[_0x47dfe4(0x184)](_0x328f45)[_0x47dfe4(0x1b7)](_0x4b1f74,_0x1fbedd)[_0x47dfe4(0x18f)](B)[_0x47dfe4(0x18f)](R)},_0x21351e instanceof _0x4c71aa){const _0x284f5f=_0x21351e[_0x47dfe4(0x17e)][_0x47dfe4(0x179)](_0x47dfe4(0x1ae)),_0x251e56=_0x21351e[_0x47dfe4(0x1be)][_0x47dfe4(0x179)](_0x3b206c);await this[_0x47dfe4(0x19f)](_0x284f5f);const _0x3a8ca6=await this[_0x47dfe4(0x19e)][_0x47dfe4(0x179)](_0x284f5f)[_0x47dfe4(0x18b)]();this[_0x47dfe4(0x1c5)](_0x251e56,_0x47dfe4(0x1c8)+_0x284f5f,(_0x8a90b8,{session:_0xab4e25})=>{const _0x56c316=_0x47dfe4;_0xab4e25['id']===_0x251e56[_0x56c316(0x1a1)]&&(_0x8a90b8[_0x56c316(0x177)](),this[_0x56c316(0x195)][_0x56c316(0x1be)][_0x56c316(0x179)](_0x56c316(0x1cd))[_0x56c316(0x1b2)](_0xab4e25[_0x56c316(0x17c)],_0x284f5f));}),_0x251e56[_0x47dfe4(0x1c4)](_0x284f5f,_0x3a8ca6);}}async[_0x3eca8f(0x19f)](_0x203e3b){const _0x38b970=_0x3eca8f;if(this[_0x38b970(0x19e)][_0x38b970(0x1c6)](_0x203e3b))throw new _0x4ceb63(_0x38b970(0x1a0),null,{'channelId':_0x203e3b});const _0x65ba08=this[_0x38b970(0x195)][_0x38b970(0x1be)][_0x38b970(0x179)](_0x38b970(0x182)),_0x37c83f=new a[(_0x38b970(0x1c9))](_0x203e3b);this[_0x38b970(0x19e)][_0x38b970(0x1b5)](_0x203e3b,_0x37c83f),this[_0x38b970(0x1c5)](_0x37c83f,_0x38b970(0x1ba),(_0x214b51,_0x2f08fe)=>{const _0x961a16=_0x38b970,{commentThreadId:_0x1b3cc8,documentId:_0x5629c4,context:_0x16c743,attributes:_0x1d6346,resolvedAt:_0x3833ab,resolvedBy:_0x1d365c,comments:_0x3c252d}=_0x2f08fe;_0x65ba08[_0x961a16(0x1c2)](_0x1b3cc8)||_0x65ba08[_0x961a16(0x16a)]({'threadId':_0x1b3cc8,'channelId':_0x5629c4,'comments':_0x3c252d?_0x3c252d[_0x961a16(0x17f)](S):[],'context':_0x16c743,'attributes':_0x1d6346,'resolvedAt':_0x3833ab,'resolvedBy':_0x1d365c,'isFromAdapter':!0x0});}),this[_0x38b970(0x1c5)](_0x37c83f,_0x38b970(0x1a8),(_0x372af2,{commentThreadId:_0x546792,documentId:_0x5ceb45,context:_0x2c62d4,unlinkedAt:_0x7957cd,attributes:_0x30b5ce})=>{const _0x107006=_0x38b970;_0x65ba08[_0x107006(0x1c2)](_0x546792)&&_0x65ba08[_0x107006(0x1c3)]({'threadId':_0x546792,'channelId':_0x5ceb45,'context':_0x2c62d4,'unlinkedAt':_0x7957cd,'attributes':_0x30b5ce,'isFromAdapter':!0x0});}),this[_0x38b970(0x1c5)](_0x37c83f,_0x38b970(0x1b6),(_0x249d52,{commentThreadId:_0x5e2552,resolvedBy:_0x1216bb,resolvedAt:_0x19ba3d})=>{const _0x24c344=_0x38b970,_0x50fe9b=_0x65ba08[_0x24c344(0x1c2)](_0x5e2552);_0x50fe9b&&_0x50fe9b[_0x24c344(0x170)]({'resolvedBy':_0x1216bb,'resolvedAt':_0x19ba3d,'isFromAdapter':!0x0});}),this[_0x38b970(0x1c5)](_0x37c83f,_0x38b970(0x18a),(_0x4792e8,{commentThreadId:_0x803cf0})=>{const _0x44fa8c=_0x38b970,_0x432d49=_0x65ba08[_0x44fa8c(0x1c2)](_0x803cf0);_0x432d49&&_0x432d49[_0x44fa8c(0x1b8)]({'isFromAdapter':!0x0});}),this[_0x38b970(0x1c5)](_0x37c83f,_0x38b970(0x16e),(_0x47cddc,{commentThreadId:_0x55720a})=>{const _0x378f39=_0x38b970,_0x500faa=_0x65ba08[_0x378f39(0x1c2)](_0x55720a);_0x500faa&&_0x500faa[_0x378f39(0x1a3)]({'isFromAdapter':!0x0});}),this[_0x38b970(0x1c5)](_0x37c83f,_0x38b970(0x187),(_0x47652a,_0x21b1cd)=>{const _0x2b9e61=_0x38b970,_0x335ee0=_0x21b1cd[_0x2b9e61(0x1a9)],_0x2f1866=_0x65ba08[_0x2b9e61(0x1c2)](_0x335ee0);_0x2f1866&&_0x2f1866[_0x2b9e61(0x191)]({...S(_0x21b1cd),'isFromAdapter':!0x0});}),this[_0x38b970(0x1c5)](_0x37c83f,_0x38b970(0x1cc),(_0x5e2213,{commentThreadId:_0x404f2a,commentId:_0x4e8301,content:_0x3fd75f,attributes:_0xcd2bc5})=>{const _0x42d9c4=_0x38b970,_0x5154fb=_0x65ba08[_0x42d9c4(0x1c2)](_0x404f2a);if(_0x5154fb){const _0x3fb3cc=_0x5154fb[_0x42d9c4(0x1a5)](_0x4e8301);_0x3fb3cc&&_0x3fb3cc[_0x42d9c4(0x181)]({'content':_0x3fd75f,'attributes':_0xcd2bc5,'isFromAdapter':!0x0});}}),this[_0x38b970(0x1c5)](_0x37c83f,_0x38b970(0x1ab),(_0x3788f3,{commentThreadId:_0x66683a,commentId:_0x26029e})=>{const _0x1d9e14=_0x38b970,_0x51cbe2=_0x65ba08[_0x1d9e14(0x1c2)](_0x66683a);if(_0x51cbe2){const _0x38ce66=_0x51cbe2[_0x1d9e14(0x1a5)](_0x26029e);_0x38ce66&&_0x38ce66[_0x1d9e14(0x1a3)]({'isFromAdapter':!0x0});}}),await this[_0x38b970(0x19b)](_0x203e3b);}[_0x3eca8f(0x1bf)](){const _0x114882=_0x3eca8f;if(this[_0x114882(0x195)]instanceof _0x4c71aa){const _0x1f8daa=this[_0x114882(0x195)][_0x114882(0x17e)][_0x114882(0x179)](_0x114882(0x1ae));this[_0x114882(0x189)](_0x1f8daa);}}[_0x3eca8f(0x189)](_0x5ecc3e){const _0x13d748=_0x3eca8f;if(!this[_0x13d748(0x19e)][_0x13d748(0x1c6)](_0x5ecc3e))throw new _0x4ceb63(_0x13d748(0x18d),null,{'channelId':_0x5ecc3e});this[_0x13d748(0x184)](_0x5ecc3e)[_0x13d748(0x1af)](),this[_0x13d748(0x19e)][_0x13d748(0x186)](_0x5ecc3e);}async[_0x3eca8f(0x1b1)](){const _0xafd701=_0x3eca8f;for(const _0x2ba9dc of this[_0xafd701(0x19e)][_0xafd701(0x192)]())await this[_0xafd701(0x19b)](_0x2ba9dc);if(this[_0xafd701(0x195)]instanceof _0x4c71aa){const _0x42c2cd=this[_0xafd701(0x195)][_0xafd701(0x17e)][_0xafd701(0x179)](_0xafd701(0x1ae)),_0x32c206=this[_0xafd701(0x195)][_0xafd701(0x1be)][_0xafd701(0x179)](_0x3b206c);_0x32c206[_0xafd701(0x188)](_0x42c2cd);const _0x3db52c=await this[_0xafd701(0x19e)][_0xafd701(0x179)](_0x42c2cd)[_0xafd701(0x18b)]();_0x32c206[_0xafd701(0x1c4)](_0x42c2cd,_0x3db52c);}}async[_0x3eca8f(0x19b)](_0x23c219){const _0x67c843=_0x3eca8f,{connection:_0xd5de64}=this[_0x67c843(0x195)][_0x67c843(0x1be)][_0x67c843(0x179)](_0x479eb2),_0x4e499f=this[_0x67c843(0x195)][_0x67c843(0x1be)][_0x67c843(0x179)](_0x67c843(0x182)),_0x4518b8=this[_0x67c843(0x19e)][_0x67c843(0x179)](_0x23c219),_0x2f79fb=await _0x4518b8[_0x67c843(0x1b9)](_0xd5de64);await this[_0x67c843(0x1ca)](_0x2f79fb);const _0x45bf2f=new Set(Array[_0x67c843(0x1a7)](_0x4e499f[_0x67c843(0x19a)]({'channelId':_0x23c219}),_0x1975a3=>_0x1975a3['id']));for(const _0x5e7355 of _0x2f79fb)_0x5e7355[_0x67c843(0x16b)]||_0x45bf2f[_0x67c843(0x186)](_0x5e7355[_0x67c843(0x1a9)]);for(const _0x1667db of _0x45bf2f)_0x4e499f[_0x67c843(0x1c2)](_0x1667db)[_0x67c843(0x1a3)]({'isFromAdapter':!0x0});for(const _0x23c4de of _0x2f79fb){let _0x53e98d=_0x4e499f[_0x67c843(0x1c2)](_0x23c4de[_0x67c843(0x1a9)]);const {commentThreadId:_0x386bd7,context:_0x44283b,attributes:_0x10fe1c,resolvedBy:_0x3e1714,resolvedAt:_0x56f412,unlinkedAt:_0x512818,deletedAt:_0x1a0fbc}=_0x23c4de;if(_0x1a0fbc)continue;_0x53e98d||(_0x53e98d=_0x4e499f[_0x67c843(0x16a)]({'channelId':_0x23c219,'threadId':_0x386bd7,'context':_0x44283b,'attributes':_0x10fe1c||{},'resolvedBy':_0x3e1714,'resolvedAt':_0x56f412,'unlinkedAt':_0x512818,'isFromAdapter':!0x0}));const _0x4a4d8f=new Set(Array[_0x67c843(0x1a7)](_0x53e98d[_0x67c843(0x1aa)],_0x2fe942=>_0x2fe942['id']));for(const _0x435ed7 of _0x23c4de[_0x67c843(0x1aa)])_0x4a4d8f[_0x67c843(0x186)](_0x435ed7[_0x67c843(0x180)]);for(const _0x5143e6 of _0x4a4d8f)_0x53e98d[_0x67c843(0x1a5)](_0x5143e6)[_0x67c843(0x1a3)]({'isFromAdapter':!0x0});for(const _0x32ff67 of _0x23c4de[_0x67c843(0x1aa)]){const _0x3cb503=_0x53e98d[_0x67c843(0x1a5)](_0x32ff67[_0x67c843(0x180)]);_0x3cb503?_0x3cb503[_0x67c843(0x193)]!==_0x32ff67[_0x67c843(0x193)]&&_0x3cb503[_0x67c843(0x181)]({'content':_0x32ff67[_0x67c843(0x193)],'isFromAdapter':!0x0}):_0x53e98d[_0x67c843(0x191)](Object[_0x67c843(0x19d)](S(_0x32ff67),{'isFromAdapter':!0x0}));}}}[_0x3eca8f(0x184)](_0x5eada3){const _0x24418a=_0x3eca8f;if(!this[_0x24418a(0x19e)][_0x24418a(0x1c6)](_0x5eada3))throw new _0x4ceb63(_0x24418a(0x1ce),null,{'channelId':_0x5eada3});return this[_0x24418a(0x19e)][_0x24418a(0x179)](_0x5eada3);}async[_0x3eca8f(0x1ca)](_0x10c6f2){const _0x1b895e=_0x3eca8f,_0x568a42=this[_0x1b895e(0x195)][_0x1b895e(0x1be)][_0x1b895e(0x179)](_0x7b3408),{connection:_0x4cd389}=this[_0x1b895e(0x195)][_0x1b895e(0x1be)][_0x1b895e(0x179)](_0x479eb2),_0x349ae3=new Set();for(const {resolvedBy:_0x4fce8d,comments:_0xe26032}of _0x10c6f2){_0x4fce8d&&!_0x568a42[_0x1b895e(0x1c1)](_0x4fce8d)&&_0x349ae3[_0x1b895e(0x178)](_0x4fce8d);for(const {userId:_0x4bca87}of _0xe26032)_0x568a42[_0x1b895e(0x1c1)](_0x4bca87)||_0x349ae3[_0x1b895e(0x178)](_0x4bca87);}if(0x0===_0x349ae3[_0x1b895e(0x1cb)])return;const _0x46fc18=await _0x8b4e69[_0x1b895e(0x19c)](_0x4cd389,Array[_0x1b895e(0x1a7)](_0x349ae3));for(const _0x17ceb6 of _0x46fc18)_0x568a42[_0x1b895e(0x1c1)](_0x17ceb6['id'])||_0x568a42[_0x1b895e(0x17a)](_0x17ceb6);}}a[_0x3eca8f(0x1c9)]=_0x1a565e;function _0x1d63(_0x19264c,_0x25a092){const _0x2f98a3=_0x2f98();return _0x1d63=function(_0x1d634b,_0xcdbe92){_0x1d634b=_0x1d634b-0x16a;let _0x5edad0=_0x2f98a3[_0x1d634b];return _0x5edad0;},_0x1d63(_0x19264c,_0x25a092);}export default a;function _0x2f98(){const _0x2e58da=['reopenCommentThread','adapter','plugins','destroy','6cPZKOq','getUser','getCommentThread','updateCommentThread','register','listenTo','has','259kHmByf','sessionAdd:','CommentsService','_fetchMissingUsersForThreads','size','commentUpdated','Permissions','cloudservicescommentsadapter-service-not-exist','addCommentThread','deletedAt','8236250TicSIa','cloud-services-internal-error:\x20Not\x20connected.','commentThreadRemoved','240YxGcho','resolve','resolvedBy','77836StMbiT','attributes','requires','cloud-services-internal-error:\x20Comments\x20Service\x20is\x20not\x20connected.','6596bTAXsD','off','add','get','addUser','943460rbTVNU','permissions','code','config','map','commentId','update','CommentsRepository','33246VJmEMr','_getService','CloudServicesCommentsAdapter','delete','commentAdded','unregister','_terminateService','commentThreadReopened','getConnectedSessions','message','cloudservicescommentsadapter-disconnect-not-exist','startsWith','catch','resolveCommentThread','addComment','keys','content','removeCommentThread','context','createdAt','resolvedAt','cloud-services-internal-error:\x20Request\x20timeout.','1218980tZYAJo','getCommentThreads','_connectService','getMany','assign','_services','_setUpService','cloudservicescommentsadapter-connect-already-connected','mySessionId','updateComment','remove','userId','getComment','7088fvkVJq','from','commentThreadUpdated','commentThreadId','comments','commentRemoved','pluginName','authorId','collaboration.channelId','disconnect','addToReconnectionStack','reconnect','setPermissions','1908QqyBpf','404','set','commentThreadResolved','removeComment','reopen','connect','commentThreadAdded','init'];_0x2f98=function(){return _0x2e58da;};return _0x2f98();}async function B(_0x33d16b){const _0x1f245a=_0x3eca8f;if(_0x1f245a(0x1b4)!==_0x33d16b[_0x1f245a(0x17d)])throw _0x33d16b;}function R(_0x4ea5a5){const _0x3e6ae6=_0x3eca8f;if((_0x2433b5=_0x4ea5a5)[_0x3e6ae6(0x18c)][_0x3e6ae6(0x18e)](_0x3e6ae6(0x175))||_0x2433b5[_0x3e6ae6(0x18c)][_0x3e6ae6(0x18e)](_0x3e6ae6(0x16d))||_0x2433b5[_0x3e6ae6(0x18c)][_0x3e6ae6(0x18e)](_0x3e6ae6(0x198)))return new Promise(()=>{});var _0x2433b5;throw _0x4ea5a5;}function S(_0x5bf081){const _0x4dcebf=_0x3eca8f;return{'threadId':_0x5bf081[_0x4dcebf(0x1a9)],'commentId':_0x5bf081[_0x4dcebf(0x180)],'content':_0x5bf081[_0x4dcebf(0x193)],'createdAt':_0x5bf081[_0x4dcebf(0x196)],'authorId':_0x5bf081[_0x4dcebf(0x1a4)],'attributes':_0x5bf081[_0x4dcebf(0x173)]||{}};}
|
|
23
|
+
const _0x30e63c=_0x2a66;(function(_0x38999e,_0x17f4e7){const _0x1330bf=_0x2a66,_0x3c5590=_0x38999e();while(!![]){try{const _0x3183ff=-parseInt(_0x1330bf(0x1e6))/0x1*(parseInt(_0x1330bf(0x1e9))/0x2)+-parseInt(_0x1330bf(0x201))/0x3+-parseInt(_0x1330bf(0x1dd))/0x4+-parseInt(_0x1330bf(0x20b))/0x5*(-parseInt(_0x1330bf(0x1f3))/0x6)+-parseInt(_0x1330bf(0x213))/0x7+-parseInt(_0x1330bf(0x1da))/0x8*(parseInt(_0x1330bf(0x1d6))/0x9)+parseInt(_0x1330bf(0x1b3))/0xa;if(_0x3183ff===_0x17f4e7)break;else _0x3c5590['push'](_0x3c5590['shift']());}catch(_0x4cc123){_0x3c5590['push'](_0x3c5590['shift']());}}}(_0x235c,0x8979e));import{Context as _0x58c7ba,ContextPlugin as _0x4d68f1}from'ckeditor5/src/core.js';import{CKEditorError as _0x293d00}from'ckeditor5/src/utils.js';function _0x235c(){const _0x31ac52=['updateCommentThread','catch','cloudservicescommentsadapter-connect-already-connected','1264BLZOxh','resolveCommentThread','requires','2195768WjddOw','getCommentThread','setPermissions','commentId','commentRemoved','commentThreadId','createdAt','getCommentThreads','permissions','61gVdHeL','cloudservicescommentsadapter-service-not-exist','connect','30604wunpxv','_setUpService','removeComment','adapter','authorId','has','reopenCommentThread','commentThreadUpdated','set','map','12ybAlzf','context','resolve','addToReconnectionStack','cloud-services-internal-error:\x20Comments\x20Service\x20is\x20not\x20connected.','listenTo','deletedAt','resolvedAt','pluginName','sessionAdd:','CommentsService','resolvedBy','commentUpdated','addCommentThread','2294574XAcMzT','cloudservicescommentsadapter-disconnect-not-exist','commentThreadAdded','comments','Permissions','off','commentThreadRemoved','getMany','keys','_getService','431925xbKBlc','commentThreadReopened','CommentsRepository','get','_services','reopen','remove','mySessionId','2657144asaysg','message','removeCommentThread','getComment','36241820psDHKc','unregister','assign','cloud-services-internal-error:\x20Request\x20timeout.','updateComment','404','userId','code','getConnectedSessions','startsWith','add','size','cloud-services-internal-error:\x20Not\x20connected.','collaboration.channelId','update','attributes','_fetchMissingUsersForThreads','destroy','addComment','plugins','content','config','reconnect','CloudServicesCommentsAdapter','disconnect','addUser','_connectService','commentThreadResolved','register','from','_terminateService','delete','getUser','commentAdded','init','34578XKocre'];_0x235c=function(){return _0x31ac52;};return _0x235c();}import{Users as _0x28897b}from'ckeditor5-collaboration/src/collaboration-core.js';import{CommentsService as _0x2055c2,User as _0xb1371e}from'@ckeditor/ckeditor-cloud-services-collaboration/src/services.js';import _0x30baf7 from'../realtimecollaborativeediting/websocketgateway.js';import _0x564ed6 from'../realtimecollaborativeediting/sessions.js';function _0x2a66(_0x4cdfe6,_0x4b27cf){const _0x235c14=_0x235c();return _0x2a66=function(_0x2a66ba,_0x40f7af){_0x2a66ba=_0x2a66ba-0x1b0;let _0x50a796=_0x235c14[_0x2a66ba];return _0x50a796;},_0x2a66(_0x4cdfe6,_0x4b27cf);}class a extends _0x4d68f1{static get[_0x30e63c(0x1dc)](){const _0x44fe84=_0x30e63c;return[_0x30baf7,_0x44fe84(0x20d),_0x564ed6,_0x28897b];}static get[_0x30e63c(0x1fb)](){const _0x3a2975=_0x30e63c;return _0x3a2975(0x1ca);}constructor(_0x367b56){const _0x26a880=_0x30e63c;super(_0x367b56),this[_0x26a880(0x20f)]=new Map();}async[_0x30e63c(0x1d5)](){const _0x554107=_0x30e63c,_0x2121b4=this[_0x554107(0x1f4)],_0xe294ba=_0x2121b4[_0x554107(0x1c6)][_0x554107(0x20e)](_0x554107(0x20d));if(_0x2121b4[_0x554107(0x1c6)][_0x554107(0x20e)](_0x30baf7)[_0x554107(0x1f6)](this),_0xe294ba[_0x554107(0x1ec)]={'addCommentThread':async({channelId:_0x44dc28,threadId:_0x53299d,comments:_0x2ce064,resolvedAt:_0x58e549,resolvedBy:_0x3a5cfa,context:_0x1c07d2,attributes:_0x149c86})=>{const _0x365a90=_0x554107,_0x10bf43=await this[_0x365a90(0x20a)](_0x44dc28)[_0x365a90(0x200)]({'commentThreadId':_0x53299d,'comments':_0x2ce064[_0x365a90(0x1f2)](_0xa6c08e=>function(_0x2a91d8,_0x2e7579,_0x4c7ef){const _0x1cec52=_0x365a90;return{'commentThreadId':_0x4c7ef,'commentId':_0x2a91d8[_0x1cec52(0x1e0)],'userId':_0x2a91d8[_0x1cec52(0x1ed)],'content':_0x2a91d8[_0x1cec52(0x1c7)],'documentId':_0x2e7579,'createdAt':_0x2a91d8[_0x1cec52(0x1e3)],'attributes':_0x2a91d8[_0x1cec52(0x1c2)]||{}};}(_0xa6c08e,_0x44dc28,_0x53299d)),'resolvedAt':_0x58e549,'resolvedBy':_0x3a5cfa,'context':_0x1c07d2,'attributes':_0x149c86})[_0x365a90(0x1d8)](R);return{'threadId':_0x10bf43[_0x365a90(0x1e2)],'comments':_0x10bf43[_0x365a90(0x204)]};},'getCommentThread':async({channelId:_0x3a4b4c,threadId:_0xa86755})=>{const _0x552aa6=_0x554107,_0x10a373=await this[_0x552aa6(0x20a)](_0x3a4b4c)[_0x552aa6(0x1de)](_0xa86755)[_0x552aa6(0x1d8)](R);return _0x10a373[_0x552aa6(0x1f9)]?null:(await this[_0x552aa6(0x1c3)]([_0x10a373]),{'threadId':_0x10a373[_0x552aa6(0x1e2)],'comments':_0x10a373[_0x552aa6(0x204)][_0x552aa6(0x1f2)](S),'context':_0x10a373[_0x552aa6(0x1f4)],'resolvedAt':_0x10a373[_0x552aa6(0x1fa)],'resolvedBy':_0x10a373[_0x552aa6(0x1fe)],'attributes':_0x10a373[_0x552aa6(0x1c2)]||{}});},'updateCommentThread':async({channelId:_0x50c2e9,threadId:_0x517970,context:_0x334180,unlinkedAt:_0x12c306,attributes:_0x306e29})=>this[_0x554107(0x20a)](_0x50c2e9)[_0x554107(0x1d7)]({'commentThreadId':_0x517970,'context':_0x334180,'attributes':_0x306e29,'unlinkedAt':_0x12c306})[_0x554107(0x1d8)](B)[_0x554107(0x1d8)](R),'resolveCommentThread':async({channelId:_0x299a7a,threadId:_0xf93f28})=>{const _0x2c9647=_0x554107,_0x51e8a2=await this[_0x2c9647(0x20a)](_0x299a7a)[_0x2c9647(0x1db)](_0xf93f28)[_0x2c9647(0x1d8)](B)[_0x2c9647(0x1d8)](R);return{'threadId':_0x51e8a2[_0x2c9647(0x1e2)],'resolvedAt':_0x51e8a2[_0x2c9647(0x1fa)],'resolvedBy':_0x51e8a2[_0x2c9647(0x1fe)]};},'reopenCommentThread':async({channelId:_0x392481,threadId:_0x1c905d})=>this[_0x554107(0x20a)](_0x392481)[_0x554107(0x1ef)](_0x1c905d)[_0x554107(0x1d8)](B)[_0x554107(0x1d8)](R),'removeCommentThread':({channelId:_0x56787f,threadId:_0x306f9f})=>this[_0x554107(0x20a)](_0x56787f)[_0x554107(0x1b1)](_0x306f9f)[_0x554107(0x1d8)](B)[_0x554107(0x1d8)](R),'addComment':({channelId:_0x33a41d,threadId:_0x2aff22,commentId:_0x421013,content:_0x5466ad,attributes:_0x4f9206})=>this[_0x554107(0x20a)](_0x33a41d)[_0x554107(0x1c5)](_0x2aff22,_0x421013,_0x5466ad,_0x4f9206)[_0x554107(0x1d8)](R),'updateComment':({channelId:_0x41bce5,threadId:_0x233e5e,commentId:_0x41bc23,content:_0x4aef61,attributes:_0x222bf2})=>this[_0x554107(0x20a)](_0x41bce5)[_0x554107(0x1b7)](_0x233e5e,_0x41bc23,_0x4aef61,_0x222bf2)[_0x554107(0x1d8)](B)[_0x554107(0x1d8)](R),'removeComment':({channelId:_0x3bae14,threadId:_0x297092,commentId:_0x3d1411})=>this[_0x554107(0x20a)](_0x3bae14)[_0x554107(0x1eb)](_0x297092,_0x3d1411)[_0x554107(0x1d8)](B)[_0x554107(0x1d8)](R)},_0x2121b4 instanceof _0x58c7ba){const _0x56a1a0=_0x2121b4[_0x554107(0x1c8)][_0x554107(0x20e)](_0x554107(0x1c0)),_0x56e995=_0x2121b4[_0x554107(0x1c6)][_0x554107(0x20e)](_0x564ed6);await this[_0x554107(0x1ea)](_0x56a1a0);const _0x2cc70b=await this[_0x554107(0x20f)][_0x554107(0x20e)](_0x56a1a0)[_0x554107(0x1bb)]();this[_0x554107(0x1f8)](_0x56e995,_0x554107(0x1fc)+_0x56a1a0,(_0x3008d2,{session:_0x5b7e1b})=>{const _0x4cb5ab=_0x554107;_0x5b7e1b['id']===_0x56e995[_0x4cb5ab(0x212)]&&(_0x3008d2[_0x4cb5ab(0x206)](),this[_0x4cb5ab(0x1f4)][_0x4cb5ab(0x1c6)][_0x4cb5ab(0x20e)](_0x4cb5ab(0x205))[_0x4cb5ab(0x1df)](_0x5b7e1b[_0x4cb5ab(0x1e5)],_0x56a1a0));}),_0x56e995[_0x554107(0x1cf)](_0x56a1a0,_0x2cc70b);}}async[_0x30e63c(0x1ea)](_0x2ae21d){const _0x4930d6=_0x30e63c;if(this[_0x4930d6(0x20f)][_0x4930d6(0x1ee)](_0x2ae21d))throw new _0x293d00(_0x4930d6(0x1d9),null,{'channelId':_0x2ae21d});const _0x5ede4a=this[_0x4930d6(0x1f4)][_0x4930d6(0x1c6)][_0x4930d6(0x20e)](_0x4930d6(0x20d)),_0x3e6b80=new a[(_0x4930d6(0x1fd))](_0x2ae21d);this[_0x4930d6(0x20f)][_0x4930d6(0x1f1)](_0x2ae21d,_0x3e6b80),this[_0x4930d6(0x1f8)](_0x3e6b80,_0x4930d6(0x203),(_0xe197b8,_0x25de43)=>{const _0xee0ff6=_0x4930d6,{commentThreadId:_0x4e65f5,documentId:_0x5e5e73,context:_0xe60443,attributes:_0xbd4f37,resolvedAt:_0x50b99b,resolvedBy:_0x14890a,comments:_0x67250e}=_0x25de43;_0x5ede4a[_0xee0ff6(0x1de)](_0x4e65f5)||_0x5ede4a[_0xee0ff6(0x200)]({'threadId':_0x4e65f5,'channelId':_0x5e5e73,'comments':_0x67250e?_0x67250e[_0xee0ff6(0x1f2)](S):[],'context':_0xe60443,'attributes':_0xbd4f37,'resolvedAt':_0x50b99b,'resolvedBy':_0x14890a,'isFromAdapter':!0x0});}),this[_0x4930d6(0x1f8)](_0x3e6b80,_0x4930d6(0x1f0),(_0x54da87,{commentThreadId:_0xc0ed9a,documentId:_0x290292,context:_0x2775d3,unlinkedAt:_0x3fa32b,attributes:_0x62188b})=>{const _0x480650=_0x4930d6;_0x5ede4a[_0x480650(0x1de)](_0xc0ed9a)&&_0x5ede4a[_0x480650(0x1d7)]({'threadId':_0xc0ed9a,'channelId':_0x290292,'context':_0x2775d3,'unlinkedAt':_0x3fa32b,'attributes':_0x62188b,'isFromAdapter':!0x0});}),this[_0x4930d6(0x1f8)](_0x3e6b80,_0x4930d6(0x1ce),(_0x26b0f5,{commentThreadId:_0x56773e,resolvedBy:_0x3c2029,resolvedAt:_0x4706f2})=>{const _0x505d64=_0x4930d6,_0x8273cf=_0x5ede4a[_0x505d64(0x1de)](_0x56773e);_0x8273cf&&_0x8273cf[_0x505d64(0x1f5)]({'resolvedBy':_0x3c2029,'resolvedAt':_0x4706f2,'isFromAdapter':!0x0});}),this[_0x4930d6(0x1f8)](_0x3e6b80,_0x4930d6(0x20c),(_0x5e5427,{commentThreadId:_0x45f77c})=>{const _0x164ab4=_0x4930d6,_0x221890=_0x5ede4a[_0x164ab4(0x1de)](_0x45f77c);_0x221890&&_0x221890[_0x164ab4(0x210)]({'isFromAdapter':!0x0});}),this[_0x4930d6(0x1f8)](_0x3e6b80,_0x4930d6(0x207),(_0xfed7df,{commentThreadId:_0x48cba3})=>{const _0x4b8a9d=_0x4930d6,_0x2b259f=_0x5ede4a[_0x4b8a9d(0x1de)](_0x48cba3);_0x2b259f&&_0x2b259f[_0x4b8a9d(0x211)]({'isFromAdapter':!0x0});}),this[_0x4930d6(0x1f8)](_0x3e6b80,_0x4930d6(0x1d4),(_0x4f410b,_0x4d2628)=>{const _0x504040=_0x4930d6,_0x3a8cd4=_0x4d2628[_0x504040(0x1e2)],_0xf59d5=_0x5ede4a[_0x504040(0x1de)](_0x3a8cd4);_0xf59d5&&_0xf59d5[_0x504040(0x1c5)]({...S(_0x4d2628),'isFromAdapter':!0x0});}),this[_0x4930d6(0x1f8)](_0x3e6b80,_0x4930d6(0x1ff),(_0x4c136d,{commentThreadId:_0x5a356a,commentId:_0x2ba8f5,content:_0xc56a57,attributes:_0x31a2a4})=>{const _0x1a7060=_0x4930d6,_0x4cec58=_0x5ede4a[_0x1a7060(0x1de)](_0x5a356a);if(_0x4cec58){const _0x1532dd=_0x4cec58[_0x1a7060(0x1b2)](_0x2ba8f5);_0x1532dd&&_0x1532dd[_0x1a7060(0x1c1)]({'content':_0xc56a57,'attributes':_0x31a2a4,'isFromAdapter':!0x0});}}),this[_0x4930d6(0x1f8)](_0x3e6b80,_0x4930d6(0x1e1),(_0x4eeff9,{commentThreadId:_0x53579e,commentId:_0xb61f32})=>{const _0x363352=_0x4930d6,_0xc37848=_0x5ede4a[_0x363352(0x1de)](_0x53579e);if(_0xc37848){const _0x18c698=_0xc37848[_0x363352(0x1b2)](_0xb61f32);_0x18c698&&_0x18c698[_0x363352(0x211)]({'isFromAdapter':!0x0});}}),await this[_0x4930d6(0x1cd)](_0x2ae21d);}[_0x30e63c(0x1c4)](){const _0xa407b7=_0x30e63c;if(this[_0xa407b7(0x1f4)]instanceof _0x58c7ba){const _0x12deaa=this[_0xa407b7(0x1f4)][_0xa407b7(0x1c8)][_0xa407b7(0x20e)](_0xa407b7(0x1c0));this[_0xa407b7(0x1d1)](_0x12deaa);}}[_0x30e63c(0x1d1)](_0x9a771d){const _0x419102=_0x30e63c;if(!this[_0x419102(0x20f)][_0x419102(0x1ee)](_0x9a771d))throw new _0x293d00(_0x419102(0x202),null,{'channelId':_0x9a771d});this[_0x419102(0x20a)](_0x9a771d)[_0x419102(0x1cb)](),this[_0x419102(0x20f)][_0x419102(0x1d2)](_0x9a771d);}async[_0x30e63c(0x1c9)](){const _0x11972e=_0x30e63c;for(const _0x56adb5 of this[_0x11972e(0x20f)][_0x11972e(0x209)]())await this[_0x11972e(0x1cd)](_0x56adb5);if(this[_0x11972e(0x1f4)]instanceof _0x58c7ba){const _0x477894=this[_0x11972e(0x1f4)][_0x11972e(0x1c8)][_0x11972e(0x20e)](_0x11972e(0x1c0)),_0x34dabf=this[_0x11972e(0x1f4)][_0x11972e(0x1c6)][_0x11972e(0x20e)](_0x564ed6);_0x34dabf[_0x11972e(0x1b4)](_0x477894);const _0x15332b=await this[_0x11972e(0x20f)][_0x11972e(0x20e)](_0x477894)[_0x11972e(0x1bb)]();_0x34dabf[_0x11972e(0x1cf)](_0x477894,_0x15332b);}}async[_0x30e63c(0x1cd)](_0x269126){const _0x11176f=_0x30e63c,{connection:_0x2095e8}=this[_0x11176f(0x1f4)][_0x11176f(0x1c6)][_0x11176f(0x20e)](_0x30baf7),_0x56339c=this[_0x11176f(0x1f4)][_0x11176f(0x1c6)][_0x11176f(0x20e)](_0x11176f(0x20d)),_0x11c320=this[_0x11176f(0x20f)][_0x11176f(0x20e)](_0x269126),_0x28a146=await _0x11c320[_0x11176f(0x1e8)](_0x2095e8);await this[_0x11176f(0x1c3)](_0x28a146);const _0x2db8d5=new Set(Array[_0x11176f(0x1d0)](_0x56339c[_0x11176f(0x1e4)]({'channelId':_0x269126}),_0x23784f=>_0x23784f['id']));for(const _0x372424 of _0x28a146)_0x372424[_0x11176f(0x1f9)]||_0x2db8d5[_0x11176f(0x1d2)](_0x372424[_0x11176f(0x1e2)]);for(const _0x3d1cdc of _0x2db8d5)_0x56339c[_0x11176f(0x1de)](_0x3d1cdc)[_0x11176f(0x211)]({'isFromAdapter':!0x0});for(const _0x6259db of _0x28a146){let _0x3445e6=_0x56339c[_0x11176f(0x1de)](_0x6259db[_0x11176f(0x1e2)]);const {commentThreadId:_0xfff521,context:_0x3aedee,attributes:_0x4b8f44,resolvedBy:_0x12f87b,resolvedAt:_0x327b79,unlinkedAt:_0x3b115a,deletedAt:_0x9e98e1}=_0x6259db;if(_0x9e98e1)continue;_0x3445e6||(_0x3445e6=_0x56339c[_0x11176f(0x200)]({'channelId':_0x269126,'threadId':_0xfff521,'context':_0x3aedee,'attributes':_0x4b8f44||{},'resolvedBy':_0x12f87b,'resolvedAt':_0x327b79,'unlinkedAt':_0x3b115a,'isFromAdapter':!0x0}));const _0x24503f=new Set(Array[_0x11176f(0x1d0)](_0x3445e6[_0x11176f(0x204)],_0xfe8035=>_0xfe8035['id']));for(const _0x5d14af of _0x6259db[_0x11176f(0x204)])_0x24503f[_0x11176f(0x1d2)](_0x5d14af[_0x11176f(0x1e0)]);for(const _0x491a9a of _0x24503f)_0x3445e6[_0x11176f(0x1b2)](_0x491a9a)[_0x11176f(0x211)]({'isFromAdapter':!0x0});for(const _0x52faf5 of _0x6259db[_0x11176f(0x204)]){const _0x245842=_0x3445e6[_0x11176f(0x1b2)](_0x52faf5[_0x11176f(0x1e0)]);_0x245842?_0x245842[_0x11176f(0x1c7)]!==_0x52faf5[_0x11176f(0x1c7)]&&_0x245842[_0x11176f(0x1c1)]({'content':_0x52faf5[_0x11176f(0x1c7)],'isFromAdapter':!0x0}):_0x3445e6[_0x11176f(0x1c5)](Object[_0x11176f(0x1b5)](S(_0x52faf5),{'isFromAdapter':!0x0}));}}}[_0x30e63c(0x20a)](_0x503d0f){const _0x29013a=_0x30e63c;if(!this[_0x29013a(0x20f)][_0x29013a(0x1ee)](_0x503d0f))throw new _0x293d00(_0x29013a(0x1e7),null,{'channelId':_0x503d0f});return this[_0x29013a(0x20f)][_0x29013a(0x20e)](_0x503d0f);}async[_0x30e63c(0x1c3)](_0x20dead){const _0x126689=_0x30e63c,_0x4cdac0=this[_0x126689(0x1f4)][_0x126689(0x1c6)][_0x126689(0x20e)](_0x28897b),{connection:_0x5c57f5}=this[_0x126689(0x1f4)][_0x126689(0x1c6)][_0x126689(0x20e)](_0x30baf7),_0x30fb93=new Set();for(const {resolvedBy:_0x552360,comments:_0x364b30}of _0x20dead){_0x552360&&!_0x4cdac0[_0x126689(0x1d3)](_0x552360)&&_0x30fb93[_0x126689(0x1bd)](_0x552360);for(const {userId:_0x1cbcb9}of _0x364b30)_0x4cdac0[_0x126689(0x1d3)](_0x1cbcb9)||_0x30fb93[_0x126689(0x1bd)](_0x1cbcb9);}if(0x0===_0x30fb93[_0x126689(0x1be)])return;const _0x211ae4=await _0xb1371e[_0x126689(0x208)](_0x5c57f5,Array[_0x126689(0x1d0)](_0x30fb93));for(const _0x525336 of _0x211ae4)_0x4cdac0[_0x126689(0x1d3)](_0x525336['id'])||_0x4cdac0[_0x126689(0x1cc)](_0x525336);}}a[_0x30e63c(0x1fd)]=_0x2055c2;export default a;async function B(_0x5ab9ea){const _0x38ba41=_0x30e63c;if(_0x38ba41(0x1b8)!==_0x5ab9ea[_0x38ba41(0x1ba)])throw _0x5ab9ea;}function R(_0xc661c){const _0x59a8f2=_0x30e63c;if((_0x11a157=_0xc661c)[_0x59a8f2(0x1b0)][_0x59a8f2(0x1bc)](_0x59a8f2(0x1f7))||_0x11a157[_0x59a8f2(0x1b0)][_0x59a8f2(0x1bc)](_0x59a8f2(0x1bf))||_0x11a157[_0x59a8f2(0x1b0)][_0x59a8f2(0x1bc)](_0x59a8f2(0x1b6)))return new Promise(()=>{});var _0x11a157;throw _0xc661c;}function S(_0x146be8){const _0x5673d4=_0x30e63c;return{'threadId':_0x146be8[_0x5673d4(0x1e2)],'commentId':_0x146be8[_0x5673d4(0x1e0)],'content':_0x146be8[_0x5673d4(0x1c7)],'createdAt':_0x146be8[_0x5673d4(0x1e3)],'authorId':_0x146be8[_0x5673d4(0x1b9)],'attributes':_0x146be8[_0x5673d4(0x1c2)]||{}};}
|