@ckeditor/ckeditor5-real-time-collaboration 43.1.0 → 43.2.0-alpha.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/build/real-time-collaboration.js +1 -1
- package/dist/index.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/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
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
(
|
|
23
|
+
(_0x2787db=>{const {'zh-cn':{dictionary:_0x3c0275,getPluralForm:_0x1c2324}}={'zh-cn':{'dictionary':{'CONNECTED_USERS':'已连接用户:%0','PENDING_ACTION_SENDING_DATA':'正在往服务器发送数据。','Synchronization\x20issue':'同步Issue','Connected\x20users\x20list\x20dropdown\x20menu':'连接用户列表下拉菜单','Connected\x20users\x20list':'连接用户列表','Collapsed\x20connected\x20users\x20list\x20(press\x20ENTER\x20to\x20open\x20it)':'折叠的连接用户列表(按\x20ENTER\x20键打开)','The\x20document\x20cannot\x20be\x20connected\x20back\x20to\x20the\x20server.\x20To\x20not\x20lose\x20your\x20content\x20save\x20it\x20locally\x20and\x20refresh\x20the\x20editor.':'当前文档不能连回服务器。为避免丢失数据,请先将内容保存在本地并刷新编辑器。','The\x20document\x20details\x20could\x20not\x20be\x20taken\x20during\x20the\x20reconnection.\x20To\x20not\x20lose\x20your\x20content\x20save\x20it\x20locally\x20and\x20refresh\x20the\x20editor.':'重新连接后不能获取文档详情。为避免丢失数据,请先将内容保存在本地并刷新编辑器。','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.':'最新保存的文档版本和本地版本不匹配。为避免丢失数据,请先将内容保存在本地并刷新编辑器。','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.':'本地文档和服务器文档存在区别,合并它们将导致意料之外的行为。为避免丢失数据,请先将内容保存在本地并刷新编辑器。'},'getPluralForm':_0x2d9895=>0x0}};_0x2787db['zh-cn']||={'dictionary':{},'getPluralForm':null},_0x2787db['zh-cn']['dictionary']=Object['assign'](_0x2787db['zh-cn']['dictionary'],_0x3c0275),_0x2787db['zh-cn']['getPluralForm']=_0x1c2324;})(window['CKEDITOR_TRANSLATIONS']||={});
|
package/dist/translations/zh.js
CHANGED
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
export default{'zh':{'dictionary':{'CONNECTED_USERS':'%0\x20位已連線使用者。','PENDING_ACTION_SENDING_DATA':'傳送資料到伺服器。','Synchronization\x20issue':'同步處理問題','Connected\x20users\x20list\x20dropdown\x20menu':'已連結使用者清單下拉式功能表','Connected\x20users\x20list':'已連結使用者清單','Collapsed\x20connected\x20users\x20list\x20(press\x20ENTER\x20to\x20open\x20it)':'摺疊的已連結使用者清單(按\x20Enter\x20即可將其開啟)','The\x20document\x20cannot\x20be\x20connected\x20back\x20to\x20the\x20server.\x20To\x20not\x20lose\x20your\x20content\x20save\x20it\x20locally\x20and\x20refresh\x20the\x20editor.':'無法將文件連結回伺服器。為了不丟失內容,請將其儲存於本機並重新整理編輯器。','The\x20document\x20details\x20could\x20not\x20be\x20taken\x20during\x20the\x20reconnection.\x20To\x20not\x20lose\x20your\x20content\x20save\x20it\x20locally\x20and\x20refresh\x20the\x20editor.':'重新連結期間,無法獲取文件詳細資料。為了不丟失內容,請將其儲存於本機並重新整理編輯器。','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.':'文件的最後儲存版本與本機版本不符。為了不丟失內容,請將其儲存於本機並重新整理編輯器。','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.':'本機文件與伺服器文件不同,合併它們可能會導致意外情況。為了不丟失內容,請將其儲存於本機並重新整理編輯器。'},'getPluralForm':
|
|
23
|
+
export default{'zh':{'dictionary':{'CONNECTED_USERS':'%0\x20位已連線使用者。','PENDING_ACTION_SENDING_DATA':'傳送資料到伺服器。','Synchronization\x20issue':'同步處理問題','Connected\x20users\x20list\x20dropdown\x20menu':'已連結使用者清單下拉式功能表','Connected\x20users\x20list':'已連結使用者清單','Collapsed\x20connected\x20users\x20list\x20(press\x20ENTER\x20to\x20open\x20it)':'摺疊的已連結使用者清單(按\x20Enter\x20即可將其開啟)','The\x20document\x20cannot\x20be\x20connected\x20back\x20to\x20the\x20server.\x20To\x20not\x20lose\x20your\x20content\x20save\x20it\x20locally\x20and\x20refresh\x20the\x20editor.':'無法將文件連結回伺服器。為了不丟失內容,請將其儲存於本機並重新整理編輯器。','The\x20document\x20details\x20could\x20not\x20be\x20taken\x20during\x20the\x20reconnection.\x20To\x20not\x20lose\x20your\x20content\x20save\x20it\x20locally\x20and\x20refresh\x20the\x20editor.':'重新連結期間,無法獲取文件詳細資料。為了不丟失內容,請將其儲存於本機並重新整理編輯器。','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.':'文件的最後儲存版本與本機版本不符。為了不丟失內容,請將其儲存於本機並重新整理編輯器。','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.':'本機文件與伺服器文件不同,合併它們可能會導致意外情況。為了不丟失內容,請將其儲存於本機並重新整理編輯器。'},'getPluralForm':_0x355513=>0x0}};
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
(
|
|
23
|
+
(_0x4e2a26=>{const {zh:{dictionary:_0xdfae7b,getPluralForm:_0x2dfc9d}}={'zh':{'dictionary':{'CONNECTED_USERS':'%0\x20位已連線使用者。','PENDING_ACTION_SENDING_DATA':'傳送資料到伺服器。','Synchronization\x20issue':'同步處理問題','Connected\x20users\x20list\x20dropdown\x20menu':'已連結使用者清單下拉式功能表','Connected\x20users\x20list':'已連結使用者清單','Collapsed\x20connected\x20users\x20list\x20(press\x20ENTER\x20to\x20open\x20it)':'摺疊的已連結使用者清單(按\x20Enter\x20即可將其開啟)','The\x20document\x20cannot\x20be\x20connected\x20back\x20to\x20the\x20server.\x20To\x20not\x20lose\x20your\x20content\x20save\x20it\x20locally\x20and\x20refresh\x20the\x20editor.':'無法將文件連結回伺服器。為了不丟失內容,請將其儲存於本機並重新整理編輯器。','The\x20document\x20details\x20could\x20not\x20be\x20taken\x20during\x20the\x20reconnection.\x20To\x20not\x20lose\x20your\x20content\x20save\x20it\x20locally\x20and\x20refresh\x20the\x20editor.':'重新連結期間,無法獲取文件詳細資料。為了不丟失內容,請將其儲存於本機並重新整理編輯器。','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.':'文件的最後儲存版本與本機版本不符。為了不丟失內容,請將其儲存於本機並重新整理編輯器。','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.':'本機文件與伺服器文件不同,合併它們可能會導致意外情況。為了不丟失內容,請將其儲存於本機並重新整理編輯器。'},'getPluralForm':_0x203b3a=>0x0}};_0x4e2a26['zh']||={'dictionary':{},'getPluralForm':null},_0x4e2a26['zh']['dictionary']=Object['assign'](_0x4e2a26['zh']['dictionary'],_0xdfae7b),_0x4e2a26['zh']['getPluralForm']=_0x2dfc9d;})(window['CKEDITOR_TRANSLATIONS']||={});
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@ckeditor/ckeditor5-real-time-collaboration",
|
|
3
|
-
"version": "43.
|
|
3
|
+
"version": "43.2.0-alpha.0",
|
|
4
4
|
"description": "A set of CKEditor 5 features enabling real-time collaboration within the editor using CKEditor Cloud Services.",
|
|
5
5
|
"license": "SEE LICENSE IN LICENSE.md",
|
|
6
6
|
"author": "CKSource (http://cksource.com/)",
|
|
@@ -42,14 +42,14 @@
|
|
|
42
42
|
],
|
|
43
43
|
"dependencies": {
|
|
44
44
|
"@ckeditor/ckeditor-cloud-services-collaboration": "52.6.10",
|
|
45
|
-
"@ckeditor/ckeditor5-core": "43.
|
|
46
|
-
"@ckeditor/ckeditor5-engine": "43.
|
|
47
|
-
"@ckeditor/ckeditor5-operations-compressor": "43.
|
|
48
|
-
"@ckeditor/ckeditor5-theme-lark": "43.
|
|
49
|
-
"@ckeditor/ckeditor5-ui": "43.
|
|
50
|
-
"@ckeditor/ckeditor5-utils": "43.
|
|
51
|
-
"ckeditor5": "43.
|
|
52
|
-
"ckeditor5-collaboration": "43.
|
|
45
|
+
"@ckeditor/ckeditor5-core": "43.2.0-alpha.0",
|
|
46
|
+
"@ckeditor/ckeditor5-engine": "43.2.0-alpha.0",
|
|
47
|
+
"@ckeditor/ckeditor5-operations-compressor": "43.2.0-alpha.0",
|
|
48
|
+
"@ckeditor/ckeditor5-theme-lark": "43.2.0-alpha.0",
|
|
49
|
+
"@ckeditor/ckeditor5-ui": "43.2.0-alpha.0",
|
|
50
|
+
"@ckeditor/ckeditor5-utils": "43.2.0-alpha.0",
|
|
51
|
+
"ckeditor5": "43.2.0-alpha.0",
|
|
52
|
+
"ckeditor5-collaboration": "43.2.0-alpha.0",
|
|
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(_0x1b1835,_0x39408b,_0x36ada3){const t=_0x1b1835['t'];switch(_0x39408b){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'},_0x36ada3);default:return'';}}
|
package/src/index.js
CHANGED
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
(function(
|
|
23
|
+
(function(_0x2addb9,_0x34b07a){var _0x3457bc=_0x26f5,_0x4ca604=_0x2addb9();while(!![]){try{var _0x2cc802=-parseInt(_0x3457bc(0x84))/0x1*(-parseInt(_0x3457bc(0x7c))/0x2)+parseInt(_0x3457bc(0x81))/0x3+-parseInt(_0x3457bc(0x7b))/0x4*(parseInt(_0x3457bc(0x82))/0x5)+-parseInt(_0x3457bc(0x83))/0x6*(-parseInt(_0x3457bc(0x7e))/0x7)+-parseInt(_0x3457bc(0x7f))/0x8+-parseInt(_0x3457bc(0x7d))/0x9+parseInt(_0x3457bc(0x7a))/0xa*(-parseInt(_0x3457bc(0x80))/0xb);if(_0x2cc802===_0x34b07a)break;else _0x4ca604['push'](_0x4ca604['shift']());}catch(_0x5e8176){_0x4ca604['push'](_0x4ca604['shift']());}}}(_0x2aa8,0xd716c));export{default as RealTimeCollaborativeEditing}from'./realtimecollaborativeediting.js';function _0x2aa8(){var _0x29bbe5=['4038765CWBrxN','6ccyxhW','2QQRHMD','10ZDvVTk','4lFLQXE','1405858RvZCmP','403965YGHRph','804909EwRSUe','128496jwlyrO','4591114XgrTZr','1938699ucTwVs'];_0x2aa8=function(){return _0x29bbe5;};return _0x2aa8();}export{default as RealTimeCollaborativeTrackChanges}from'./realtimecollaborativetrackchanges.js';export{default as RealTimeCollaborativeComments}from'./realtimecollaborativecomments.js';export{default as RealTimeCollaborativeRevisionHistory}from'./realtimecollaborativerevisionhistory.js';export{default as CloudServicesCommentsAdapter}from'./realtimecollaborativecomments/cloudservicescommentsadapter.js';export{default as CloudServicesTrackChangesAdapter}from'./realtimecollaborativetrackchanges/cloudservicestrackchangesadapter.js';export{default as CloudServicesRevisionHistoryAdapter}from'./realtimecollaborativerevisionhistory/cloudservicesrevisionhistoryadapter.js';function _0x26f5(_0x4b84f8,_0x136b14){var _0x2aa82f=_0x2aa8();return _0x26f5=function(_0x26f54a,_0x3086e9){_0x26f54a=_0x26f54a-0x7a;var _0x563fab=_0x2aa82f[_0x26f54a];return _0x563fab;},_0x26f5(_0x4b84f8,_0x136b14);}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 _0x533ef7=_0x5986;(function(_0x490719,_0x265a79){const _0xb7bbf2=_0x5986,_0xaa0022=_0x490719();while(!![]){try{const _0xb3cebb=-parseInt(_0xb7bbf2(0xd8))/0x1+parseInt(_0xb7bbf2(0x83))/0x2*(parseInt(_0xb7bbf2(0xbc))/0x3)+parseInt(_0xb7bbf2(0x85))/0x4*(parseInt(_0xb7bbf2(0xad))/0x5)+parseInt(_0xb7bbf2(0xaa))/0x6+parseInt(_0xb7bbf2(0x9a))/0x7+parseInt(_0xb7bbf2(0xa0))/0x8+-parseInt(_0xb7bbf2(0xb5))/0x9*(parseInt(_0xb7bbf2(0xc0))/0xa);if(_0xb3cebb===_0x265a79)break;else _0xaa0022['push'](_0xaa0022['shift']());}catch(_0xa15b1a){_0xaa0022['push'](_0xaa0022['shift']());}}}(_0x1b3f,0x721c0));import{ContextPlugin as _0x4937ed}from'ckeditor5/src/core.js';import{CKEditorError as _0x1d3f3e,Collection as _0x4be318}from'ckeditor5/src/utils.js';import{clickOutsideHandler as _0x11a17e,BalloonPanelView as _0xf3f3cf,BodyCollection as _0x201b82}from'ckeditor5/src/ui.js';import{isElement as _0x5abb67}from'lodash-es';import _0x488316 from'../realtimecollaborativeediting/sessions.js';import _0x18eee2 from'./view/presencelistview.js';import _0x234c80 from'./view/presencedropdownlistview.js';import _0x4b933f from'./view/presencedropdownlistitemview.js';import _0xdf04c5 from'./view/presenceinlinelistitemview.js';function _0x5986(_0x4d6a5c,_0x3f21f1){const _0x1b3f58=_0x1b3f();return _0x5986=function(_0x59862d,_0x28692f){_0x59862d=_0x59862d-0x81;let _0x3d002f=_0x1b3f58[_0x59862d];return _0x3d002f;},_0x5986(_0x4d6a5c,_0x3f21f1);}const D={'collapseAt':0x6,'displayMe':!0x0};function _0x1b3f(){const _0x30bca1=['focusTracker','textarea','presencelist-missing-container','indexOf','focus','init','_handleUserRemove','presencelist-collapseat-invalid-format','listenTo','4589262uITPyb','showDropdown','render','537905LWstyy','isCollapsed','from','isHidden','currentDisplayedUsers','items','locale','reverse','161199JPUukp','join','Shift+Tab','class','isMe','button','context','15vpHieS','presenceDropdownView','[tabindex]','querySelectorAll','830LDVSqj','view','set','content','sort','onClick','hasTooltip','requires','input','isFocusable','attachToDom','tabIndex','number','allConnectedUsers','presenceList.collapseAt','length','filter','get','element','select','activeElement','Esc','using','pin','189897tCZwvx','_allConnectedUsers','counterView','add','config','execute','displayMe','presenceList.displayMe','keystrokes','change:isFocused','unpin','body','hideDropdown','usersCount','inlineListView','_createView','254HsBHdk','min','20XIsETC','presenceList','balloonPanelView','bindTo','ck\x20ck-presence-list__balloon','isRendered','Enter','_handleUserAdd','offsetHeight','isExpanded','presenceList.container','[contenteditable]','offsetWidth','destroy','plugins','bind','define','appendChild','checkIfScrollable','remove','detachFromDom','5226417fLshYx',':not([disabled]):not([tabindex=\x22-1\x22])','map','isVisible','_bodyCollection','Tab','750832ewDFKq'];_0x1b3f=function(){return _0x30bca1;};return _0x1b3f();}export default class s extends _0x4937ed{constructor(_0x4bf682){const _0x5462fc=_0x5986;super(_0x4bf682),this[_0x5462fc(0x9e)]=null,this[_0x5462fc(0xbb)][_0x5462fc(0xdc)][_0x5462fc(0x95)](_0x5462fc(0x86),D);const _0xf7d426=_0x4bf682[_0x5462fc(0xdc)][_0x5462fc(0xd1)](_0x5462fc(0xce));if(_0x5462fc(0xcc)!=typeof _0xf7d426)throw new _0x1d3f3e(_0x5462fc(0xa8),this);if(_0xf7d426<0x1)throw new _0x1d3f3e(_0x5462fc(0xa8),this);this[_0x5462fc(0xd9)]=this[_0x5462fc(0xbb)][_0x5462fc(0x93)][_0x5462fc(0xd1)](_0x488316)[_0x5462fc(0xcd)],this[_0x5462fc(0xc2)](_0x5462fc(0xe5),0x0),this[_0x5462fc(0xb1)]=new _0x4be318(),this[_0x5462fc(0x87)]=new _0xf3f3cf(),this[_0x5462fc(0x87)][_0x5462fc(0xb8)]=_0x5462fc(0x89),this[_0x5462fc(0xc1)]=this[_0x5462fc(0x82)](),this[_0x5462fc(0xbd)]=void 0x0;}static get[_0x533ef7(0xc7)](){return[_0x488316];}[_0x533ef7(0xa6)](){const _0x571938=_0x533ef7;for(const _0x22e0ee of this[_0x571938(0xd9)])this[_0x571938(0x8c)](_0x22e0ee);this[_0x571938(0xa9)](this[_0x571938(0xd9)],_0x571938(0xdb),(_0x100848,_0x34a416)=>{const _0x2a9a7a=_0x571938;this[_0x2a9a7a(0x8c)](_0x34a416);}),this[_0x571938(0xa9)](this[_0x571938(0xd9)],_0x571938(0x98),(_0x24b11e,_0x4ef8eb)=>{const _0x1b94fa=_0x571938;this[_0x1b94fa(0xa7)](_0x4ef8eb);});}[_0x533ef7(0x82)](){const _0x3f0d0d=_0x533ef7,_0x3a47fa=this[_0x3f0d0d(0xbb)],_0x1523fb=new _0x18eee2(this[_0x3f0d0d(0xbb)][_0x3f0d0d(0xb3)]),_0x265545=this[_0x3f0d0d(0x87)];if(!_0x5abb67(_0x3a47fa[_0x3f0d0d(0xdc)][_0x3f0d0d(0xd1)](_0x3f0d0d(0x8f))))throw new _0x1d3f3e(_0x3f0d0d(0xa3),this);return _0x1523fb[_0x3f0d0d(0xda)][_0x3f0d0d(0x94)](_0x3f0d0d(0xe5))['to'](this),_0x1523fb[_0x3f0d0d(0x94)](_0x3f0d0d(0xae))['to'](this,_0x3f0d0d(0xe5),_0x505e78=>{const _0x7ef6aa=_0x3f0d0d,{collapseAt:_0x1768f7,displayMe:_0x5702cc}=_0x3a47fa[_0x7ef6aa(0xdc)][_0x7ef6aa(0xd1)](_0x7ef6aa(0x86)),_0x4b3c25=_0x505e78>=_0x1768f7;return _0x1523fb[_0x7ef6aa(0xda)][_0x7ef6aa(0xb0)]=!(0x1==_0x505e78&&_0x5702cc||_0x4b3c25),_0x4b3c25||this[_0x7ef6aa(0xe4)](),_0x4b3c25;}),_0x1523fb[_0x3f0d0d(0x81)][_0x3f0d0d(0xb2)][_0x3f0d0d(0x88)](this[_0x3f0d0d(0xb1)])[_0x3f0d0d(0xd6)](_0x2e7f32=>{const _0x5e434a=_0x3f0d0d,_0x2d16b3=_0x3a47fa[_0x5e434a(0xdc)][_0x5e434a(0xd1)](_0x5e434a(0x86)),_0x3ea182=new _0xdf04c5(_0x3a47fa[_0x5e434a(0xb3)],_0x2e7f32,!!_0x2d16b3[_0x5e434a(0xc5)]);return _0x3ea182[_0x5e434a(0x94)](_0x5e434a(0xc6))['to'](_0x1523fb,_0x5e434a(0xae),_0x469cae=>!_0x469cae),_0x3ea182[_0x5e434a(0x94)](_0x5e434a(0xc9))['to'](_0x1523fb,_0x5e434a(0xae),_0x225efb=>!_0x225efb),_0x2d16b3[_0x5e434a(0xc5)]&&this[_0x5e434a(0xa9)](_0x3ea182,_0x5e434a(0xdd),()=>{const _0x32b5c7=_0x5e434a;this[_0x32b5c7(0xc1)][_0x32b5c7(0xae)]||_0x2d16b3[_0x32b5c7(0xc5)](_0x2e7f32,_0x3ea182[_0x32b5c7(0xd2)]);}),_0x3ea182;}),this[_0x3f0d0d(0xa9)](_0x1523fb[_0x3f0d0d(0x81)],_0x3f0d0d(0xdd),()=>{const _0x5ef5f4=_0x3f0d0d;this[_0x5ef5f4(0xbd)]?this[_0x5ef5f4(0xe4)]():this[_0x5ef5f4(0xc1)][_0x5ef5f4(0xae)]&&this[_0x5ef5f4(0xab)]();}),_0x1523fb[_0x3f0d0d(0x81)][_0x3f0d0d(0xe0)][_0x3f0d0d(0xc2)](_0x3f0d0d(0x8b),(_0x15541b,_0x86b5bb)=>{const _0x34014d=_0x3f0d0d;this[_0x34014d(0xc1)][_0x34014d(0xae)]&&(this[_0x34014d(0xab)](),_0x86b5bb());}),_0x1523fb[_0x3f0d0d(0xac)](),_0x265545[_0x3f0d0d(0xac)](),_0x11a17e({'emitter':_0x1523fb,'activator':()=>_0x265545[_0x3f0d0d(0x9d)],'contextElements':[_0x265545[_0x3f0d0d(0xd2)],_0x1523fb[_0x3f0d0d(0x81)][_0x3f0d0d(0xd2)]],'callback':()=>this[_0x3f0d0d(0xe4)]()}),_0x3a47fa[_0x3f0d0d(0xdc)][_0x3f0d0d(0xd1)](_0x3f0d0d(0x8f))[_0x3f0d0d(0x96)](_0x1523fb[_0x3f0d0d(0xd2)]),this[_0x3f0d0d(0x9e)]=new _0x201b82(this[_0x3f0d0d(0xbb)][_0x3f0d0d(0xb3)]),this[_0x3f0d0d(0x9e)][_0x3f0d0d(0xca)](),this[_0x3f0d0d(0x9e)][_0x3f0d0d(0xdb)](this[_0x3f0d0d(0x87)]),_0x1523fb;}[_0x533ef7(0x8c)](_0x47eabb){const _0x5b8fa4=_0x533ef7;if(!this[_0x5b8fa4(0xbb)][_0x5b8fa4(0xdc)][_0x5b8fa4(0xd1)](_0x5b8fa4(0xdf))&&_0x47eabb[_0x5b8fa4(0xb9)])return;const _0x38cd4b=this[_0x5b8fa4(0xbb)][_0x5b8fa4(0xdc)][_0x5b8fa4(0xd1)](_0x5b8fa4(0xce))-0x1;this[_0x5b8fa4(0xe5)]++,this[_0x5b8fa4(0xb1)][_0x5b8fa4(0xcf)]==_0x38cd4b&&this[_0x5b8fa4(0xb1)][_0x5b8fa4(0xcf)]>0x1&&this[_0x5b8fa4(0xb1)][_0x5b8fa4(0x98)](0x1);const _0x1c3d38=_0x47eabb[_0x5b8fa4(0xb9)]?0x0:this[_0x5b8fa4(0xb1)][_0x5b8fa4(0xcf)];this[_0x5b8fa4(0xb1)][_0x5b8fa4(0xdb)](_0x47eabb,_0x1c3d38);}[_0x533ef7(0xa7)](_0x5397cb){const _0x148167=_0x533ef7;if(this[_0x148167(0xe5)]--,this[_0x148167(0xb1)][_0x148167(0xd1)](_0x5397cb['id'])&&(this[_0x148167(0xb1)][_0x148167(0x98)](_0x5397cb['id']),this[_0x148167(0xb1)][_0x148167(0xcf)]<this[_0x148167(0xe5)])){for(const _0x400af2 of Array[_0x148167(0xaf)](this[_0x148167(0xd9)])[_0x148167(0xb4)]())if(!this[_0x148167(0xb1)][_0x148167(0xd1)](_0x400af2['id']))return void this[_0x148167(0xb1)][_0x148167(0xdb)](_0x400af2,Math[_0x148167(0x84)](this[_0x148167(0xb1)][_0x148167(0xcf)],0x1));}}[_0x533ef7(0xab)](){const _0x5b7d59=_0x533ef7;if(this[_0x5b7d59(0xbd)])return;const _0x2e1e7a=this[_0x5b7d59(0xbb)][_0x5b7d59(0xdc)][_0x5b7d59(0xd1)](_0x5b7d59(0x86));this[_0x5b7d59(0xbd)]=new _0x234c80(this[_0x5b7d59(0xbb)][_0x5b7d59(0xb3)],!!_0x2e1e7a[_0x5b7d59(0xc5)]),this[_0x5b7d59(0xc1)][_0x5b7d59(0x81)][_0x5b7d59(0x8e)]=!0x0;const {listWrapperView:_0x3eff55}=this[_0x5b7d59(0xbd)];_0x3eff55[_0x5b7d59(0xb2)][_0x5b7d59(0x88)](this[_0x5b7d59(0xd9)])[_0x5b7d59(0xd6)](_0x45388b=>{const _0x58b267=_0x5b7d59;if(!_0x2e1e7a[_0x58b267(0xde)]&&_0x45388b[_0x58b267(0xb9)])return null;const _0x258ef7=new _0x4b933f(this[_0x58b267(0xbb)][_0x58b267(0xb3)],_0x45388b,!!_0x2e1e7a[_0x58b267(0xc5)]);return _0x2e1e7a[_0x58b267(0xc5)]&&this[_0x58b267(0xa9)](_0x258ef7,_0x58b267(0xdd),()=>{const _0x740ea0=_0x58b267;_0x2e1e7a[_0x740ea0(0xc5)](_0x45388b,_0x258ef7[_0x740ea0(0xd2)]);}),_0x258ef7;}),this[_0x5b7d59(0x87)][_0x5b7d59(0xc3)][_0x5b7d59(0xdb)](this[_0x5b7d59(0xbd)]),this[_0x5b7d59(0x87)][_0x5b7d59(0xd7)]({'target':this[_0x5b7d59(0xc1)][_0x5b7d59(0x81)][_0x5b7d59(0xd2)]}),_0x3eff55[_0x5b7d59(0xa5)](),_0x3eff55[_0x5b7d59(0x97)]();const _0x54f146=(_0x3afbba,_0x554543)=>{const _0x3fb197=_0x5b7d59;this[_0x3fb197(0xe4)](),this[_0x3fb197(0xc1)][_0x3fb197(0x81)][_0x3fb197(0xa5)](),_0x554543();};_0x3eff55[_0x5b7d59(0xe0)][_0x5b7d59(0xc2)](_0x5b7d59(0xd5),_0x54f146),_0x3eff55[_0x5b7d59(0xe0)][_0x5b7d59(0xc2)](_0x5b7d59(0xb7),_0x54f146),_0x3eff55[_0x5b7d59(0xe0)][_0x5b7d59(0xc2)](_0x5b7d59(0x9f),(_0x236720,_0x2a2e36)=>{const _0x355a31=_0x5b7d59;!function(_0x4b9926){const _0x26ffd9=_0x5986,_0x2ba685=['a',_0x26ffd9(0xba),_0x26ffd9(0xc8),_0x26ffd9(0xd3),_0x26ffd9(0xa2),_0x26ffd9(0xbe),_0x26ffd9(0x90)][_0x26ffd9(0x9c)](_0x96c28a=>_0x96c28a+_0x26ffd9(0x9b))[_0x26ffd9(0xb6)](','),_0x34bf0b=[...document[_0x26ffd9(0xe3)][_0x26ffd9(0xbf)](_0x2ba685)][_0x26ffd9(0xd0)](_0x562622=>_0x562622===document[_0x26ffd9(0xd4)]||_0x562622[_0x26ffd9(0x91)]+_0x562622[_0x26ffd9(0x8d)]>0x0)[_0x26ffd9(0xc4)]((_0x1b8e3c,_0x128c2e)=>(_0x1b8e3c[_0x26ffd9(0xcb)]||0x0)-(_0x128c2e[_0x26ffd9(0xcb)]||0x0)),_0x39eed4=_0x34bf0b[_0x26ffd9(0xa4)](_0x4b9926),_0x30c59b=_0x34bf0b[(_0x39eed4+0x1)%_0x34bf0b[_0x26ffd9(0xcf)]];_0x30c59b&&_0x30c59b[_0x26ffd9(0xa5)]();}(this[_0x355a31(0xc1)][_0x355a31(0xd2)]),this[_0x355a31(0xe4)](),_0x2a2e36();}),_0x3eff55[_0x5b7d59(0xa1)][_0x5b7d59(0xdb)](this[_0x5b7d59(0xc1)][_0x5b7d59(0xd2)]),_0x3eff55[_0x5b7d59(0xa1)]['on'](_0x5b7d59(0xe1),(_0x4e36d5,_0x30dc70,_0xabeacc)=>{const _0x4fe369=_0x5b7d59;_0xabeacc||this[_0x4fe369(0xe4)]();});}[_0x533ef7(0xe4)](){const _0x2948c0=_0x533ef7;this[_0x2948c0(0xbd)]&&(this[_0x2948c0(0xc1)][_0x2948c0(0x81)][_0x2948c0(0x8e)]=!0x1,this[_0x2948c0(0x87)][_0x2948c0(0xe2)](),this[_0x2948c0(0x87)][_0x2948c0(0xc3)][_0x2948c0(0x98)](this[_0x2948c0(0xbd)]),this[_0x2948c0(0xbd)][_0x2948c0(0x92)](),this[_0x2948c0(0xbd)]=void 0x0);}[_0x533ef7(0x92)](){const _0x57e8f0=_0x533ef7;super[_0x57e8f0(0x92)](),this[_0x57e8f0(0xc1)]&&this[_0x57e8f0(0xc1)][_0x57e8f0(0x8a)]&&this[_0x57e8f0(0xc1)][_0x57e8f0(0x92)](),this[_0x57e8f0(0x9e)]&&(this[_0x57e8f0(0x9e)][_0x57e8f0(0x99)](),this[_0x57e8f0(0x9e)][_0x57e8f0(0x92)](),this[_0x57e8f0(0x9e)]=null);}}
|
|
23
|
+
const _0x6bab1e=_0x52b5;(function(_0x493aec,_0x369157){const _0x160048=_0x52b5,_0x68e02c=_0x493aec();while(!![]){try{const _0x3a771f=parseInt(_0x160048(0xe1))/0x1*(parseInt(_0x160048(0x85))/0x2)+parseInt(_0x160048(0xb2))/0x3+-parseInt(_0x160048(0x92))/0x4*(-parseInt(_0x160048(0xa0))/0x5)+parseInt(_0x160048(0x9c))/0x6+-parseInt(_0x160048(0xb1))/0x7*(parseInt(_0x160048(0xca))/0x8)+parseInt(_0x160048(0xdc))/0x9*(parseInt(_0x160048(0x84))/0xa)+-parseInt(_0x160048(0xe6))/0xb;if(_0x3a771f===_0x369157)break;else _0x68e02c['push'](_0x68e02c['shift']());}catch(_0x5410f2){_0x68e02c['push'](_0x68e02c['shift']());}}}(_0x4e95,0x6183e));import{ContextPlugin as _0x7e918d}from'ckeditor5/src/core.js';import{CKEditorError as _0xc2c377,Collection as _0x19a778}from'ckeditor5/src/utils.js';import{clickOutsideHandler as _0x4d4608,BalloonPanelView as _0x4a7502,BodyCollection as _0x429e40}from'ckeditor5/src/ui.js';import{isElement as _0x119151}from'lodash-es';import _0x3f25f6 from'../realtimecollaborativeediting/sessions.js';function _0x4e95(){const _0x28fee3=['presenceList.collapseAt','_bodyCollection','isRendered','plugins','[contenteditable]','attachToDom','displayMe','unpin','isVisible','isFocusable','view','56yzXawF','2182998mXloyr','focus','locale','querySelectorAll','get','focusTracker','add',':not([disabled]):not([tabindex=\x22-1\x22])','presenceDropdownView','listenTo','detachFromDom','requires','ck\x20ck-presence-list__balloon','body','reverse','bind','onClick','remove','appendChild','hideDropdown','presencelist-collapseat-invalid-format','isCollapsed','using','button','314896qCrRwi','presenceList.container','render','min','content','tabIndex','Tab','isHidden','offsetWidth','bindTo','checkIfScrollable','keystrokes','config','balloonPanelView','number','Esc','_handleUserRemove','change:isFocused','423jxKGxE','indexOf','showDropdown','[tabindex]','counterView','3929BtZezt','items','pin','presenceList.displayMe','from','9869651xkHTrL','Enter','textarea','destroy','41830DWVcLA','172uhGnfy','map','input','hasTooltip','isExpanded','activeElement','sort','_handleUserAdd','presenceList','select','allConnectedUsers','length','presencelist-missing-container','289828YSiYcD','class','isMe','Shift+Tab','element','currentDisplayedUsers','set','define','_createView','init','1661646rIUUeO','inlineListView','usersCount','context','5lndipP','offsetHeight','filter','join','execute','_allConnectedUsers'];_0x4e95=function(){return _0x28fee3;};return _0x4e95();}function _0x52b5(_0x23c85f,_0x278a95){const _0x4e9575=_0x4e95();return _0x52b5=function(_0x52b5a7,_0x3e3828){_0x52b5a7=_0x52b5a7-0x83;let _0x396b56=_0x4e9575[_0x52b5a7];return _0x396b56;},_0x52b5(_0x23c85f,_0x278a95);}import _0x5d300c from'./view/presencelistview.js';import _0x1da053 from'./view/presencedropdownlistview.js';import _0x4114a1 from'./view/presencedropdownlistitemview.js';import _0x3f49d6 from'./view/presenceinlinelistitemview.js';const A={'collapseAt':0x6,'displayMe':!0x0};export default class s extends _0x7e918d{constructor(_0x31f5f7){const _0x17198f=_0x52b5;super(_0x31f5f7),this[_0x17198f(0xa7)]=null,this[_0x17198f(0x9f)][_0x17198f(0xd6)][_0x17198f(0x99)](_0x17198f(0x8d),A);const _0x1e9786=_0x31f5f7[_0x17198f(0xd6)][_0x17198f(0xb6)](_0x17198f(0xa6));if(_0x17198f(0xd8)!=typeof _0x1e9786)throw new _0xc2c377(_0x17198f(0xc6),this);if(_0x1e9786<0x1)throw new _0xc2c377(_0x17198f(0xc6),this);this[_0x17198f(0xa5)]=this[_0x17198f(0x9f)][_0x17198f(0xa9)][_0x17198f(0xb6)](_0x3f25f6)[_0x17198f(0x8f)],this[_0x17198f(0x98)](_0x17198f(0x9e),0x0),this[_0x17198f(0x97)]=new _0x19a778(),this[_0x17198f(0xd7)]=new _0x4a7502(),this[_0x17198f(0xd7)][_0x17198f(0x93)]=_0x17198f(0xbe),this[_0x17198f(0xb0)]=this[_0x17198f(0x9a)](),this[_0x17198f(0xba)]=void 0x0;}static get[_0x6bab1e(0xbd)](){return[_0x3f25f6];}[_0x6bab1e(0x9b)](){const _0x21c4f9=_0x6bab1e;for(const _0x450264 of this[_0x21c4f9(0xa5)])this[_0x21c4f9(0x8c)](_0x450264);this[_0x21c4f9(0xbb)](this[_0x21c4f9(0xa5)],_0x21c4f9(0xb8),(_0x42b57a,_0x413e47)=>{const _0x2cf6cb=_0x21c4f9;this[_0x2cf6cb(0x8c)](_0x413e47);}),this[_0x21c4f9(0xbb)](this[_0x21c4f9(0xa5)],_0x21c4f9(0xc3),(_0x532afb,_0xaeae8)=>{const _0x3d7645=_0x21c4f9;this[_0x3d7645(0xda)](_0xaeae8);});}[_0x6bab1e(0x9a)](){const _0x13f2e1=_0x6bab1e,_0x44e7c5=this[_0x13f2e1(0x9f)],_0x2e6c23=new _0x5d300c(this[_0x13f2e1(0x9f)][_0x13f2e1(0xb4)]),_0x59d018=this[_0x13f2e1(0xd7)];if(!_0x119151(_0x44e7c5[_0x13f2e1(0xd6)][_0x13f2e1(0xb6)](_0x13f2e1(0xcb))))throw new _0xc2c377(_0x13f2e1(0x91),this);return _0x2e6c23[_0x13f2e1(0xe0)][_0x13f2e1(0xc1)](_0x13f2e1(0x9e))['to'](this),_0x2e6c23[_0x13f2e1(0xc1)](_0x13f2e1(0xc7))['to'](this,_0x13f2e1(0x9e),_0x1ca595=>{const _0x50cfae=_0x13f2e1,{collapseAt:_0x16d78e,displayMe:_0x6ce411}=_0x44e7c5[_0x50cfae(0xd6)][_0x50cfae(0xb6)](_0x50cfae(0x8d)),_0x208938=_0x1ca595>=_0x16d78e;return _0x2e6c23[_0x50cfae(0xe0)][_0x50cfae(0xd1)]=!(0x1==_0x1ca595&&_0x6ce411||_0x208938),_0x208938||this[_0x50cfae(0xc5)](),_0x208938;}),_0x2e6c23[_0x13f2e1(0x9d)][_0x13f2e1(0xe2)][_0x13f2e1(0xd3)](this[_0x13f2e1(0x97)])[_0x13f2e1(0xc8)](_0x5342e8=>{const _0x4a4b5a=_0x13f2e1,_0x1bb745=_0x44e7c5[_0x4a4b5a(0xd6)][_0x4a4b5a(0xb6)](_0x4a4b5a(0x8d)),_0x2749ee=new _0x3f49d6(_0x44e7c5[_0x4a4b5a(0xb4)],_0x5342e8,!!_0x1bb745[_0x4a4b5a(0xc2)]);return _0x2749ee[_0x4a4b5a(0xc1)](_0x4a4b5a(0x88))['to'](_0x2e6c23,_0x4a4b5a(0xc7),_0x1d94d4=>!_0x1d94d4),_0x2749ee[_0x4a4b5a(0xc1)](_0x4a4b5a(0xaf))['to'](_0x2e6c23,_0x4a4b5a(0xc7),_0x3997c9=>!_0x3997c9),_0x1bb745[_0x4a4b5a(0xc2)]&&this[_0x4a4b5a(0xbb)](_0x2749ee,_0x4a4b5a(0xa4),()=>{const _0x4dd51b=_0x4a4b5a;this[_0x4dd51b(0xb0)][_0x4dd51b(0xc7)]||_0x1bb745[_0x4dd51b(0xc2)](_0x5342e8,_0x2749ee[_0x4dd51b(0x96)]);}),_0x2749ee;}),this[_0x13f2e1(0xbb)](_0x2e6c23[_0x13f2e1(0x9d)],_0x13f2e1(0xa4),()=>{const _0x29dd00=_0x13f2e1;this[_0x29dd00(0xba)]?this[_0x29dd00(0xc5)]():this[_0x29dd00(0xb0)][_0x29dd00(0xc7)]&&this[_0x29dd00(0xde)]();}),_0x2e6c23[_0x13f2e1(0x9d)][_0x13f2e1(0xd5)][_0x13f2e1(0x98)](_0x13f2e1(0xe7),(_0x4e8c04,_0x8dcba1)=>{const _0x2ac002=_0x13f2e1;this[_0x2ac002(0xb0)][_0x2ac002(0xc7)]&&(this[_0x2ac002(0xde)](),_0x8dcba1());}),_0x2e6c23[_0x13f2e1(0xcc)](),_0x59d018[_0x13f2e1(0xcc)](),_0x4d4608({'emitter':_0x2e6c23,'activator':()=>_0x59d018[_0x13f2e1(0xae)],'contextElements':[_0x59d018[_0x13f2e1(0x96)],_0x2e6c23[_0x13f2e1(0x9d)][_0x13f2e1(0x96)]],'callback':()=>this[_0x13f2e1(0xc5)]()}),_0x44e7c5[_0x13f2e1(0xd6)][_0x13f2e1(0xb6)](_0x13f2e1(0xcb))[_0x13f2e1(0xc4)](_0x2e6c23[_0x13f2e1(0x96)]),this[_0x13f2e1(0xa7)]=new _0x429e40(this[_0x13f2e1(0x9f)][_0x13f2e1(0xb4)]),this[_0x13f2e1(0xa7)][_0x13f2e1(0xab)](),this[_0x13f2e1(0xa7)][_0x13f2e1(0xb8)](this[_0x13f2e1(0xd7)]),_0x2e6c23;}[_0x6bab1e(0x8c)](_0x4209f8){const _0x2efb3f=_0x6bab1e;if(!this[_0x2efb3f(0x9f)][_0x2efb3f(0xd6)][_0x2efb3f(0xb6)](_0x2efb3f(0xe4))&&_0x4209f8[_0x2efb3f(0x94)])return;const _0x4ca597=this[_0x2efb3f(0x9f)][_0x2efb3f(0xd6)][_0x2efb3f(0xb6)](_0x2efb3f(0xa6))-0x1;this[_0x2efb3f(0x9e)]++,this[_0x2efb3f(0x97)][_0x2efb3f(0x90)]==_0x4ca597&&this[_0x2efb3f(0x97)][_0x2efb3f(0x90)]>0x1&&this[_0x2efb3f(0x97)][_0x2efb3f(0xc3)](0x1);const _0x29aaed=_0x4209f8[_0x2efb3f(0x94)]?0x0:this[_0x2efb3f(0x97)][_0x2efb3f(0x90)];this[_0x2efb3f(0x97)][_0x2efb3f(0xb8)](_0x4209f8,_0x29aaed);}[_0x6bab1e(0xda)](_0x36792e){const _0x52bc0c=_0x6bab1e;if(this[_0x52bc0c(0x9e)]--,this[_0x52bc0c(0x97)][_0x52bc0c(0xb6)](_0x36792e['id'])&&(this[_0x52bc0c(0x97)][_0x52bc0c(0xc3)](_0x36792e['id']),this[_0x52bc0c(0x97)][_0x52bc0c(0x90)]<this[_0x52bc0c(0x9e)])){for(const _0x171559 of Array[_0x52bc0c(0xe5)](this[_0x52bc0c(0xa5)])[_0x52bc0c(0xc0)]())if(!this[_0x52bc0c(0x97)][_0x52bc0c(0xb6)](_0x171559['id']))return void this[_0x52bc0c(0x97)][_0x52bc0c(0xb8)](_0x171559,Math[_0x52bc0c(0xcd)](this[_0x52bc0c(0x97)][_0x52bc0c(0x90)],0x1));}}[_0x6bab1e(0xde)](){const _0x457aa1=_0x6bab1e;if(this[_0x457aa1(0xba)])return;const _0x3a2ed2=this[_0x457aa1(0x9f)][_0x457aa1(0xd6)][_0x457aa1(0xb6)](_0x457aa1(0x8d));this[_0x457aa1(0xba)]=new _0x1da053(this[_0x457aa1(0x9f)][_0x457aa1(0xb4)],!!_0x3a2ed2[_0x457aa1(0xc2)]),this[_0x457aa1(0xb0)][_0x457aa1(0x9d)][_0x457aa1(0x89)]=!0x0;const {listWrapperView:_0x2291bc}=this[_0x457aa1(0xba)];_0x2291bc[_0x457aa1(0xe2)][_0x457aa1(0xd3)](this[_0x457aa1(0xa5)])[_0x457aa1(0xc8)](_0x20c9b0=>{const _0x307a80=_0x457aa1;if(!_0x3a2ed2[_0x307a80(0xac)]&&_0x20c9b0[_0x307a80(0x94)])return null;const _0x4dec4b=new _0x4114a1(this[_0x307a80(0x9f)][_0x307a80(0xb4)],_0x20c9b0,!!_0x3a2ed2[_0x307a80(0xc2)]);return _0x3a2ed2[_0x307a80(0xc2)]&&this[_0x307a80(0xbb)](_0x4dec4b,_0x307a80(0xa4),()=>{const _0x13b6a1=_0x307a80;_0x3a2ed2[_0x13b6a1(0xc2)](_0x20c9b0,_0x4dec4b[_0x13b6a1(0x96)]);}),_0x4dec4b;}),this[_0x457aa1(0xd7)][_0x457aa1(0xce)][_0x457aa1(0xb8)](this[_0x457aa1(0xba)]),this[_0x457aa1(0xd7)][_0x457aa1(0xe3)]({'target':this[_0x457aa1(0xb0)][_0x457aa1(0x9d)][_0x457aa1(0x96)]}),_0x2291bc[_0x457aa1(0xb3)](),_0x2291bc[_0x457aa1(0xd4)]();const _0x58edd7=(_0xa030f,_0x57fd6d)=>{const _0x49e6e5=_0x457aa1;this[_0x49e6e5(0xc5)](),this[_0x49e6e5(0xb0)][_0x49e6e5(0x9d)][_0x49e6e5(0xb3)](),_0x57fd6d();};_0x2291bc[_0x457aa1(0xd5)][_0x457aa1(0x98)](_0x457aa1(0xd9),_0x58edd7),_0x2291bc[_0x457aa1(0xd5)][_0x457aa1(0x98)](_0x457aa1(0x95),_0x58edd7),_0x2291bc[_0x457aa1(0xd5)][_0x457aa1(0x98)](_0x457aa1(0xd0),(_0x29f1c7,_0x2c5777)=>{const _0x17b326=_0x457aa1;!function(_0x5be792){const _0x1f6304=_0x52b5,_0x36d709=['a',_0x1f6304(0xc9),_0x1f6304(0x87),_0x1f6304(0x8e),_0x1f6304(0xe8),_0x1f6304(0xdf),_0x1f6304(0xaa)][_0x1f6304(0x86)](_0x590ed5=>_0x590ed5+_0x1f6304(0xb9))[_0x1f6304(0xa3)](','),_0x491820=[...document[_0x1f6304(0xbf)][_0x1f6304(0xb5)](_0x36d709)][_0x1f6304(0xa2)](_0x227555=>_0x227555===document[_0x1f6304(0x8a)]||_0x227555[_0x1f6304(0xd2)]+_0x227555[_0x1f6304(0xa1)]>0x0)[_0x1f6304(0x8b)]((_0x2af7c4,_0x596ad5)=>(_0x2af7c4[_0x1f6304(0xcf)]||0x0)-(_0x596ad5[_0x1f6304(0xcf)]||0x0)),_0x411648=_0x491820[_0x1f6304(0xdd)](_0x5be792),_0x1485d3=_0x491820[(_0x411648+0x1)%_0x491820[_0x1f6304(0x90)]];_0x1485d3&&_0x1485d3[_0x1f6304(0xb3)]();}(this[_0x17b326(0xb0)][_0x17b326(0x96)]),this[_0x17b326(0xc5)](),_0x2c5777();}),_0x2291bc[_0x457aa1(0xb7)][_0x457aa1(0xb8)](this[_0x457aa1(0xb0)][_0x457aa1(0x96)]),_0x2291bc[_0x457aa1(0xb7)]['on'](_0x457aa1(0xdb),(_0x2d7535,_0x5bc998,_0x434cbc)=>{const _0x1b8728=_0x457aa1;_0x434cbc||this[_0x1b8728(0xc5)]();});}[_0x6bab1e(0xc5)](){const _0x2e5245=_0x6bab1e;this[_0x2e5245(0xba)]&&(this[_0x2e5245(0xb0)][_0x2e5245(0x9d)][_0x2e5245(0x89)]=!0x1,this[_0x2e5245(0xd7)][_0x2e5245(0xad)](),this[_0x2e5245(0xd7)][_0x2e5245(0xce)][_0x2e5245(0xc3)](this[_0x2e5245(0xba)]),this[_0x2e5245(0xba)][_0x2e5245(0x83)](),this[_0x2e5245(0xba)]=void 0x0);}[_0x6bab1e(0x83)](){const _0x3e9ec6=_0x6bab1e;super[_0x3e9ec6(0x83)](),this[_0x3e9ec6(0xb0)]&&this[_0x3e9ec6(0xb0)][_0x3e9ec6(0xa8)]&&this[_0x3e9ec6(0xb0)][_0x3e9ec6(0x83)](),this[_0x3e9ec6(0xa7)]&&(this[_0x3e9ec6(0xa7)][_0x3e9ec6(0xbc)](),this[_0x3e9ec6(0xa7)][_0x3e9ec6(0x83)](),this[_0x3e9ec6(0xa7)]=null);}}
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
(function(
|
|
23
|
+
function _0x1a09(_0x1a449d,_0x1e7199){const _0x228b21=_0x228b();return _0x1a09=function(_0x1a0931,_0x22d4aa){_0x1a0931=_0x1a0931-0xf8;let _0x3cf734=_0x228b21[_0x1a0931];return _0x3cf734;},_0x1a09(_0x1a449d,_0x1e7199);}function _0x228b(){const _0xc6f8fd=['setTemplate','set','4048266BesbMq','56664GElvjq','1040598lGvOZy','bindTemplate','div','ck-presence-list__counter','445ADOqrR','CONNECTED_USERS','455OefWmG','1340xSemgA','ck-presence-list__counter--hidden','29196FDdrYz','isHidden','519978jgqXFP','usersCount','810mbRUeF','579452KrcBMO'];_0x228b=function(){return _0xc6f8fd;};return _0x228b();}(function(_0x151450,_0x12d058){const _0x5d6ac8=_0x1a09,_0xd54c65=_0x151450();while(!![]){try{const _0x3530c4=parseInt(_0x5d6ac8(0xf8))/0x1+parseInt(_0x5d6ac8(0xfd))/0x2+parseInt(_0x5d6ac8(0x108))/0x3+-parseInt(_0x5d6ac8(0x104))/0x4*(-parseInt(_0x5d6ac8(0x101))/0x5)+-parseInt(_0x5d6ac8(0xfb))/0x6+parseInt(_0x5d6ac8(0x103))/0x7*(-parseInt(_0x5d6ac8(0xfc))/0x8)+parseInt(_0x5d6ac8(0x106))/0x9*(parseInt(_0x5d6ac8(0x10a))/0xa);if(_0x3530c4===_0x12d058)break;else _0xd54c65['push'](_0xd54c65['shift']());}catch(_0x5d4d9b){_0xd54c65['push'](_0xd54c65['shift']());}}}(_0x228b,0x691d6));import{View as _0x4466a6}from'ckeditor5/src/ui.js';import{getTranslation as _0x3390fa}from'../../common-translations.js';export default class ts extends _0x4466a6{constructor(_0x467967){const _0x4121eb=_0x1a09;super(_0x467967);const _0x3233be=this[_0x4121eb(0xfe)];this[_0x4121eb(0xfa)](_0x4121eb(0x109),0x0),this[_0x4121eb(0xfa)](_0x4121eb(0x107),!0x0),this[_0x4121eb(0xf9)]({'tag':_0x4121eb(0xff),'attributes':{'class':['ck',_0x4121eb(0x100),_0x3233be['if'](_0x4121eb(0x107),_0x4121eb(0x105))]},'children':[{'text':_0x3233be['to'](_0x4121eb(0x109),_0x399015=>_0x3390fa(_0x467967,_0x4121eb(0x102),_0x399015))}]});}}
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
const
|
|
23
|
+
const _0x190d80=_0x5975;function _0x3e5e(){const _0x32346c=['name','559804jTDoCH','ck-presence-list__marker','720708bNdHBo','bindTemplate','execute','ck-presence-list__dropdown-list-item','tag','463721MNiJHT','focus','ck-user__full-name','color','3173130vnFYLd','setTemplate','15302eCQTuD','fire','presentation','2608sMNCfx','userView','button','430851qJmagn','2165655IsmVRB','span','getBackgroundColorClass','true','element'];_0x3e5e=function(){return _0x32346c;};return _0x3e5e();}function _0x5975(_0x4cda12,_0x3ef073){const _0x3e5e7e=_0x3e5e();return _0x5975=function(_0x59756b,_0x2877e6){_0x59756b=_0x59756b-0xb6;let _0x52c33a=_0x3e5e7e[_0x59756b];return _0x52c33a;},_0x5975(_0x4cda12,_0x3ef073);}(function(_0x25e082,_0x159b1c){const _0x3140f3=_0x5975,_0x5e585e=_0x25e082();while(!![]){try{const _0x47fe97=parseInt(_0x3140f3(0xca))/0x1+parseInt(_0x3140f3(0xc5))/0x2+parseInt(_0x3140f3(0xbc))/0x3+parseInt(_0x3140f3(0xc3))/0x4+parseInt(_0x3140f3(0xbd))/0x5+-parseInt(_0x3140f3(0xce))/0x6+parseInt(_0x3140f3(0xb6))/0x7*(-parseInt(_0x3140f3(0xb9))/0x8);if(_0x47fe97===_0x159b1c)break;else _0x5e585e['push'](_0x5e585e['shift']());}catch(_0x327dee){_0x5e585e['push'](_0x5e585e['shift']());}}}(_0x3e5e,0x49113));import{ListItemView as _0x261bfa}from'ckeditor5/src/ui.js';import{UserView as _0xf2be71}from'ckeditor5-collaboration/src/collaboration-core.js';export default class k extends _0x261bfa{constructor(_0x4caaf1,_0x48c3af,_0x417c3b){const _0xb00212=_0x5975;super(_0x4caaf1);const _0x2997dd=this[_0xb00212(0xc6)];this[_0xb00212(0xba)]=new _0xf2be71(_0x4caaf1,_0x48c3af);const _0x440112={'tag':'li','attributes':{'class':['ck',_0xb00212(0xc8)],'tabindex':-0x1,'role':_0xb00212(0xb8),'aria-label':_0x48c3af[_0xb00212(0xc2)]},'children':[this[_0xb00212(0xba)],{'tag':_0xb00212(0xbe),'attributes':{'class':['ck',_0xb00212(0xcc)]},'children':[{'text':_0x48c3af[_0xb00212(0xc2)]}]},{'tag':_0xb00212(0xbe),'attributes':{'class':['ck',_0xb00212(0xc4),_0x48c3af[_0xb00212(0xcd)][_0xb00212(0xbf)]()],'aria-hidden':_0xb00212(0xc0)}}]};_0x417c3b&&(_0x440112[_0xb00212(0xc9)]=_0xb00212(0xbb),_0x440112['on']={'click':_0x2997dd['to'](()=>this[_0xb00212(0xb7)](_0xb00212(0xc7)))}),this[_0xb00212(0xcf)](_0x440112);}[_0x190d80(0xcb)](){const _0x292476=_0x190d80;this[_0x292476(0xc1)][_0x292476(0xcb)]();}}
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
const
|
|
23
|
+
const _0x52fd13=_0x3cc8;function _0x1b20(){const _0x1524e4=['2YyfABC','4dhLDRb','ck-presence-list__dropdown-list-wrapper','innerHeight','checkIfScrollable','bindTemplate','ck-presence-list__dropdown-list-wrapper_scrollable','ck-reset','7798TeWDkG','render','items','scrollHeight','ariaLabelledBy','setTemplate','4110896etdLca','max','clientHeight','Connected\x20users\x20list\x20dropdown\x20menu','window','7341363LCjrfC','change','2375664sGiXLi','application','resize','ck-list','role','_isScrollable','ck-presence-list__dropdown-list','listWrapperView','ariaLabel','element','1043485bpjYfC','listenTo','set','div','145458laTovB','82264JaUGrh'];_0x1b20=function(){return _0x1524e4;};return _0x1b20();}(function(_0xbe7e9a,_0x2789d4){const _0x5459d6=_0x3cc8,_0x2f3c10=_0xbe7e9a();while(!![]){try{const _0x114027=parseInt(_0x5459d6(0x186))/0x1+-parseInt(_0x5459d6(0x17e))/0x2*(parseInt(_0x5459d6(0x1a1))/0x3)+parseInt(_0x5459d6(0x17f))/0x4*(parseInt(_0x5459d6(0x19d))/0x5)+parseInt(_0x5459d6(0x193))/0x6+parseInt(_0x5459d6(0x1a2))/0x7+parseInt(_0x5459d6(0x18c))/0x8+-parseInt(_0x5459d6(0x191))/0x9;if(_0x114027===_0x2789d4)break;else _0x2f3c10['push'](_0x2f3c10['shift']());}catch(_0x208601){_0x2f3c10['push'](_0x2f3c10['shift']());}}}(_0x1b20,0x42dc4));import{ListView as _0x518467,View as _0x5819fc}from'ckeditor5/src/ui.js';function _0x3cc8(_0x12c2f2,_0x392a20){const _0x1b2059=_0x1b20();return _0x3cc8=function(_0x3cc8d6,_0x3ca1ab){_0x3cc8d6=_0x3cc8d6-0x17e;let _0x198ab2=_0x1b2059[_0x3cc8d6];return _0x198ab2;},_0x3cc8(_0x12c2f2,_0x392a20);}import{global as _0x4feae9}from'ckeditor5/src/utils.js';import{getTranslation as _0x4be110}from'../../common-translations.js';export default class j extends _0x5819fc{constructor(_0x4b0981,_0x29df5b){const _0x3e3c70=_0x3cc8;super(_0x4b0981),this[_0x3e3c70(0x19a)]=new PresenceDropdownListWrapperView(_0x4b0981,_0x29df5b),this[_0x3e3c70(0x18b)]({'tag':_0x3e3c70(0x1a0),'attributes':{'tabindex':-0x1,'role':_0x3e3c70(0x194),'class':['ck',_0x3e3c70(0x199)],'aria-label':_0x4be110(_0x4b0981,_0x3e3c70(0x18f))},'children':[this[_0x3e3c70(0x19a)]]});}}export class PresenceDropdownListWrapperView extends _0x518467{constructor(_0x41e030,_0xecc580){const _0x291542=_0x3cc8;super(_0x41e030);const _0x11b7eb=this[_0x291542(0x183)];this[_0x291542(0x19f)](_0x291542(0x198),!0x1),this[_0x291542(0x18b)]({'tag':_0xecc580?_0x291542(0x1a0):'ul','attributes':{'class':['ck',_0x291542(0x185),_0x291542(0x196),_0x291542(0x180),_0x11b7eb['if'](_0x291542(0x198),_0x291542(0x184))],'role':_0x11b7eb['to'](_0x291542(0x197)),'aria-label':_0x11b7eb['to'](_0x291542(0x19b)),'aria-labelledby':_0x11b7eb['to'](_0x291542(0x18a))},'children':this[_0x291542(0x188)]}),this[_0x291542(0x19e)](_0x4feae9[_0x291542(0x190)],_0x291542(0x195),()=>this[_0x291542(0x182)]()),this[_0x291542(0x188)]['on'](_0x291542(0x192),()=>this[_0x291542(0x182)]());}[_0x52fd13(0x187)](){const _0x2aeb18=_0x52fd13;super[_0x2aeb18(0x187)](),this[_0x2aeb18(0x182)]();}[_0x52fd13(0x182)](){const _0x3e3f6d=_0x52fd13,_0x132bd1=this[_0x3e3f6d(0x19c)];_0x132bd1&&(this[_0x3e3f6d(0x198)]=Math[_0x3e3f6d(0x18d)](_0x132bd1[_0x3e3f6d(0x189)],_0x132bd1[_0x3e3f6d(0x18e)])>0.8*window[_0x3e3f6d(0x181)]);}}
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
(function(
|
|
23
|
+
function _0x3ab5(){const _0x68c28e=['span','execute','template','989342oGlmGn','449258LpzjPh','text','282294ierZkq','setTemplate','name','bindTemplate','492DwFpmu','button','12956286ybwCGT','tag','set','3OpAzRS','hasTooltip','markerView','isFocusable','color','ck-presence-list__list-item','1580832gvLpLT','fire','userView','4420084mRysaX','true','listitem','div','tooltipPosition','940XiDImO','9025USaAGt','ck-presence-list__marker','ck-presence-list__list-item__tooltip','getBackgroundColorClass'];_0x3ab5=function(){return _0x68c28e;};return _0x3ab5();}function _0x5024(_0x309525,_0x30ed02){const _0x3ab534=_0x3ab5();return _0x5024=function(_0x5024d3,_0x157811){_0x5024d3=_0x5024d3-0xa8;let _0x3c6781=_0x3ab534[_0x5024d3];return _0x3c6781;},_0x5024(_0x309525,_0x30ed02);}(function(_0x16a5a0,_0xaa4a9d){const _0x522859=_0x5024,_0x339576=_0x16a5a0();while(!![]){try{const _0x29daee=parseInt(_0x522859(0xb8))/0x1+parseInt(_0x522859(0xb7))/0x2+-parseInt(_0x522859(0xc3))/0x3*(parseInt(_0x522859(0xaa))/0x4)+-parseInt(_0x522859(0xb0))/0x5*(parseInt(_0x522859(0xbe))/0x6)+-parseInt(_0x522859(0xc0))/0x7+parseInt(_0x522859(0xc9))/0x8+parseInt(_0x522859(0xba))/0x9*(parseInt(_0x522859(0xaf))/0xa);if(_0x29daee===_0xaa4a9d)break;else _0x339576['push'](_0x339576['shift']());}catch(_0x214a0c){_0x339576['push'](_0x339576['shift']());}}}(_0x3ab5,0xf0b98));import{LabelView as _0x429147,View as _0x44dd06}from'ckeditor5/src/ui.js';import{UserView as _0x133761}from'ckeditor5-collaboration/src/collaboration-core.js';export default class y extends _0x44dd06{constructor(_0x5341aa,_0x41937d,_0x3ed5db){const _0x4a0084=_0x5024;super(_0x5341aa);const _0x40f2b9=this[_0x4a0084(0xbd)];this[_0x4a0084(0xc2)](_0x4a0084(0xc6),!0x1),this[_0x4a0084(0xc2)](_0x4a0084(0xc4),!0x0),this[_0x4a0084(0xc2)](_0x4a0084(0xae),''),this[_0x4a0084(0xa9)]=new _0x133761(_0x5341aa,_0x41937d),this[_0x4a0084(0xc5)]=new at(_0x5341aa,_0x41937d);const _0x1b5c54=new _0x429147(_0x5341aa);_0x1b5c54[_0x4a0084(0xb6)][_0x4a0084(0xc1)]=_0x4a0084(0xb4),_0x1b5c54[_0x4a0084(0xb9)]=_0x41937d[_0x4a0084(0xbc)];const _0x331a6e={'tag':_0x4a0084(0xad),'attributes':{'class':['ck',_0x4a0084(0xc8)],'role':_0x4a0084(0xac),'tabindex':_0x40f2b9['to'](_0x4a0084(0xc6),_0x248780=>!!_0x248780&&0x0),'aria-labelledby':_0x1b5c54['id'],'data-cke-tooltip-text':this[_0x4a0084(0xa9)][_0x4a0084(0xbc)],'data-cke-tooltip-position':_0x40f2b9['to'](_0x4a0084(0xae)),'data-cke-tooltip-disabled':_0x40f2b9['to'](_0x4a0084(0xc4),_0x28ecae=>!_0x28ecae),'data-cke-tooltip-class':_0x4a0084(0xb2)},'children':[this[_0x4a0084(0xa9)],this[_0x4a0084(0xc5)],_0x1b5c54]};_0x3ed5db&&(_0x331a6e[_0x4a0084(0xc1)]=_0x4a0084(0xbf),_0x331a6e['on']={'click':_0x40f2b9['to'](()=>this[_0x4a0084(0xa8)](_0x4a0084(0xb5)))}),this[_0x4a0084(0xbb)](_0x331a6e);}}class at extends _0x44dd06{constructor(_0x18557c,_0x7efaa5){const _0x274a0b=_0x5024;super(_0x18557c),this[_0x274a0b(0xbb)]({'tag':_0x274a0b(0xb4),'attributes':{'class':['ck',_0x274a0b(0xb1),_0x7efaa5[_0x274a0b(0xc7)][_0x274a0b(0xb3)]()],'aria-hidden':_0x274a0b(0xab)}});}}
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
const
|
|
23
|
+
const _0x4207bd=_0x293c;(function(_0x29aa65,_0x2c0b27){const _0x899aa8=_0x293c,_0x24415b=_0x29aa65();while(!![]){try{const _0x3b91d7=parseInt(_0x899aa8(0xb6))/0x1*(parseInt(_0x899aa8(0xbf))/0x2)+-parseInt(_0x899aa8(0xab))/0x3*(parseInt(_0x899aa8(0xc4))/0x4)+-parseInt(_0x899aa8(0xb5))/0x5*(parseInt(_0x899aa8(0xb0))/0x6)+parseInt(_0x899aa8(0xc6))/0x7*(parseInt(_0x899aa8(0xc5))/0x8)+-parseInt(_0x899aa8(0xbb))/0x9*(-parseInt(_0x899aa8(0xb9))/0xa)+parseInt(_0x899aa8(0xb8))/0xb*(parseInt(_0x899aa8(0xc1))/0xc)+parseInt(_0x899aa8(0xc3))/0xd*(-parseInt(_0x899aa8(0xaa))/0xe);if(_0x3b91d7===_0x2c0b27)break;else _0x24415b['push'](_0x24415b['shift']());}catch(_0x22ab71){_0x24415b['push'](_0x24415b['shift']());}}}(_0x4bcb,0x5d3eb));import{View as _0x2e6236}from'ckeditor5/src/ui.js';function _0x293c(_0x1c5b5b,_0x406f3f){const _0x4bcb31=_0x4bcb();return _0x293c=function(_0x293cc5,_0x31af88){_0x293cc5=_0x293cc5-0xa8;let _0x4d8e24=_0x4bcb31[_0x293cc5];return _0x4d8e24;},_0x293c(_0x1c5b5b,_0x406f3f);}import{KeystrokeHandler as _0x12423f}from'ckeditor5/src/utils.js';import{getTranslation as _0x1dba59}from'../../common-translations.js';export default class es extends _0x2e6236{constructor(_0xadd398){const _0x18cc66=_0x293c;super(_0xadd398);const _0x363a9b=this[_0x18cc66(0xae)];this[_0x18cc66(0xcb)]=this[_0x18cc66(0xa9)](),this[_0x18cc66(0xb1)]=new _0x12423f(),this[_0x18cc66(0xc0)]({'hasPopup':!0x1,'isExpanded':!0x1}),this[_0x18cc66(0xca)]({'tag':_0x18cc66(0xbc),'attributes':{'aria-haspopup':_0x363a9b['if'](_0x18cc66(0xb3)),'aria-expanded':_0x363a9b['to'](_0x18cc66(0xb4),_0x2b0802=>this[_0x18cc66(0xb3)]&&String(_0x2b0802)),'aria-label':_0x363a9b['to'](_0x18cc66(0xb3),_0x5e7cc7=>_0x1dba59(_0xadd398,_0x5e7cc7?_0x18cc66(0xac):_0x18cc66(0xc8))),'role':_0x18cc66(0xcc),'tabindex':_0x363a9b['to'](_0x18cc66(0xb3),_0x4588c6=>!!_0x4588c6&&0x0),'class':['ck',_0x18cc66(0xb7)]},'children':this[_0x18cc66(0xcb)],'on':{'click':_0x363a9b['to'](()=>this[_0x18cc66(0xc2)](_0x18cc66(0xbe)))}}),this['on'](_0x18cc66(0xc9),(_0x43560b,_0x1f8e78,_0x17f17a)=>{const _0x16a5b3=_0x18cc66;this[_0x16a5b3(0xa8)]&&(_0x17f17a?this[_0x16a5b3(0xa8)][_0x16a5b3(0xbd)](_0x16a5b3(0xaf),String(this[_0x16a5b3(0xb4)])):this[_0x16a5b3(0xa8)][_0x16a5b3(0xba)](_0x16a5b3(0xaf)));});}[_0x4207bd(0xb2)](){const _0x121677=_0x4207bd;this[_0x121677(0xa8)][_0x121677(0xb2)]();}[_0x4207bd(0xad)](){const _0x1d130c=_0x4207bd;super[_0x1d130c(0xad)](),this[_0x1d130c(0xb1)][_0x1d130c(0xc7)](this[_0x1d130c(0xa8)]);}}function _0x4bcb(){const _0x52ef63=['ck-presence-list__list','11AJMGYB','380cMPiAS','removeAttribute','37620GLaPOS','div','setAttribute','execute','173378dZWRlt','set','3782472xXZAWF','fire','174941sPlAAW','20DrNeVv','1015096HTBpro','7QzaOOY','listenTo','Connected\x20users\x20list','change:hasPopup','setTemplate','items','list','element','createCollection','70jrYZED','398481wKfFfi','Collapsed\x20connected\x20users\x20list\x20(press\x20ENTER\x20to\x20open\x20it)','render','bindTemplate','aria-expanded','30POetuk','keystrokes','focus','hasPopup','isExpanded','94405jSjgtl','7dswJhu'];_0x4bcb=function(){return _0x52ef63;};return _0x4bcb();}
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
|
|
23
|
+
(function(_0x6fbb28,_0x10993b){const _0x1f586e=_0x48ca,_0x5eb88f=_0x6fbb28();while(!![]){try{const _0x1f48f3=parseInt(_0x1f586e(0x133))/0x1*(parseInt(_0x1f586e(0x13e))/0x2)+-parseInt(_0x1f586e(0x127))/0x3+parseInt(_0x1f586e(0x134))/0x4*(-parseInt(_0x1f586e(0x13c))/0x5)+parseInt(_0x1f586e(0x13a))/0x6+-parseInt(_0x1f586e(0x12f))/0x7+parseInt(_0x1f586e(0x13b))/0x8+parseInt(_0x1f586e(0x13f))/0x9;if(_0x1f48f3===_0x10993b)break;else _0x5eb88f['push'](_0x5eb88f['shift']());}catch(_0x298ba9){_0x5eb88f['push'](_0x5eb88f['shift']());}}}(_0x10b8,0xe88eb));import{View as _0x59811b}from'ckeditor5/src/ui.js';import _0x500e69 from'./presencecounterview.js';function _0x48ca(_0x2f6a83,_0x3f4ed2){const _0x10b8d1=_0x10b8();return _0x48ca=function(_0x48ca1d,_0x451002){_0x48ca1d=_0x48ca1d-0x127;let _0xc15b3b=_0x10b8d1[_0x48ca1d];return _0xc15b3b;},_0x48ca(_0x2f6a83,_0x3f4ed2);}import _0x336931 from'./presenceinlinelistview.js';function _0x10b8(){const _0x54f005=['ck-presence-list','2zoISpu','4868325vnJXQh','bindTemplate','ck-reset','setTemplate','2930976OraSHQ','hasPopup','locale','tooltipPosition','items','div','ck-rounded-corners','inlineListView','11686745RVIYYc','ck-presence-list--collapsed','listenTo','set','1481584YZDycY','4buMPlY','isCollapsed','first','bind','change','counterView','5914194icFSHw','10107312JIwuoD','3362700CEPNSn'];_0x10b8=function(){return _0x54f005;};return _0x10b8();}import'../../../theme/presencelist.css';export default class L extends _0x59811b{constructor(_0x1c92ca){const _0x63481e=_0x48ca;super(_0x1c92ca);const _0x54a15f=this[_0x63481e(0x140)];this[_0x63481e(0x132)](_0x63481e(0x135),!0x0),this[_0x63481e(0x139)]=new _0x500e69(this[_0x63481e(0x129)]),this[_0x63481e(0x12e)]=new _0x336931(_0x1c92ca),this[_0x63481e(0x12e)][_0x63481e(0x137)](_0x63481e(0x128))['to'](this,_0x63481e(0x135)),this[_0x63481e(0x131)](this[_0x63481e(0x12e)][_0x63481e(0x12b)],_0x63481e(0x138),()=>{const _0xa0620f=_0x63481e;for(const _0x2596fc of this[_0xa0620f(0x12e)][_0xa0620f(0x12b)])_0x2596fc[_0xa0620f(0x12a)]='s';this[_0xa0620f(0x12e)][_0xa0620f(0x12b)][_0xa0620f(0x136)]&&(this[_0xa0620f(0x12e)][_0xa0620f(0x12b)][_0xa0620f(0x136)][_0xa0620f(0x12a)]='se');}),this[_0x63481e(0x142)]({'tag':_0x63481e(0x12c),'attributes':{'class':['ck',_0x63481e(0x13d),_0x63481e(0x141),_0x63481e(0x12d),_0x54a15f['if'](_0x63481e(0x135),_0x63481e(0x130))]},'children':[this[_0x63481e(0x139)],this[_0x63481e(0x12e)]]});}}
|
package/src/presencelist.js
CHANGED
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
var
|
|
23
|
+
var _0x302d1d=_0x3425;(function(_0x11c430,_0x18c5c3){var _0x414f69=_0x3425,_0x596831=_0x11c430();while(!![]){try{var _0x146e87=-parseInt(_0x414f69(0x18e))/0x1*(parseInt(_0x414f69(0x18f))/0x2)+-parseInt(_0x414f69(0x193))/0x3+-parseInt(_0x414f69(0x18b))/0x4+-parseInt(_0x414f69(0x189))/0x5+parseInt(_0x414f69(0x194))/0x6*(parseInt(_0x414f69(0x18d))/0x7)+parseInt(_0x414f69(0x192))/0x8+-parseInt(_0x414f69(0x18c))/0x9*(-parseInt(_0x414f69(0x188))/0xa);if(_0x146e87===_0x18c5c3)break;else _0x596831['push'](_0x596831['shift']());}catch(_0x424927){_0x596831['push'](_0x596831['shift']());}}}(_0x1b1b,0xe85a5));function _0x1b1b(){var _0x243a48=['2454295cPElhW','PresenceList','6114784giHtmP','39930849KrStnq','11963CVVplY','577JQxZUj','6178OwMAno','requires','pluginName','13023984aJqGNN','5507391XjpRHx','1842wVevhu','10DSgeVf'];_0x1b1b=function(){return _0x243a48;};return _0x1b1b();}import{ContextPlugin as _0x3c65f4}from'ckeditor5/src/core.js';import _0x9c9757 from'./realtimecollaborativeediting/sessions.js';import _0x4adf14 from'./presencelist/presencelistui.js';function _0x3425(_0x53490b,_0x2c24e9){var _0x1b1b23=_0x1b1b();return _0x3425=function(_0x3425ad,_0x57d17b){_0x3425ad=_0x3425ad-0x188;var _0x99f303=_0x1b1b23[_0x3425ad];return _0x99f303;},_0x3425(_0x53490b,_0x2c24e9);}export default class i extends _0x3c65f4{static get[_0x302d1d(0x190)](){return[_0x9c9757,_0x4adf14];}static get[_0x302d1d(0x191)](){var _0x411849=_0x302d1d;return _0x411849(0x18a);}}
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
const _0x4dadab=_0xbd8c;function _0x150c(){const _0x364c75=['createdAt','_fetchMissingUsersForThreads','CommentsService','929797TJICJi','config','destroy','reopenCommentThread','319928ICnfBI','getConnectedSessions','collaboration.channelId','getCommentThread','resolve','remove','commentAdded','unregister','keys','listenTo','201362MJcPZL','message','adapter','map','reopen','commentId','_setUpService','attributes','updateCommentThread','404','removeComment','delete','from','content','set','cloudservicescommentsadapter-disconnect-not-exist','authorId','resolveCommentThread','cloud-services-internal-error:\x20Not\x20connected.','init','_connectService','sessionAdd:','commentThreadId','update','getMany','code','4KiIUWC','size','deletedAt','pluginName','1528VGGvzK','commentThreadReopened','1335tkGeFf','off','catch','CommentsRepository','commentRemoved','get','cloudservicescommentsadapter-service-not-exist','cloud-services-internal-error:\x20Comments\x20Service\x20is\x20not\x20connected.','comments','plugins','userId','getUser','updateComment','startsWith','cloudservicescommentsadapter-connect-already-connected','189580EusWWp','12gLthpD','_services','removeCommentThread','_getService','permissions','mySessionId','resolvedAt','commentThreadAdded','assign','resolvedBy','reconnect','Permissions','setPermissions','disconnect','addCommentThread','requires','commentThreadRemoved','cloud-services-internal-error:\x20Request\x20timeout.','getCommentThreads','addUser','CloudServicesCommentsAdapter','1589GEeBjs','493660AwynDJ','register','commentThreadUpdated','context','commentThreadResolved','addComment','99CnpXFD','connect','has','commentUpdated','_terminateService','add','addToReconnectionStack','getComment'];_0x150c=function(){return _0x364c75;};return _0x150c();}(function(_0x5afacb,_0xecba55){const _0x1c298d=_0xbd8c,_0xf51659=_0x5afacb();while(!![]){try{const _0x2b9ce3=parseInt(_0x1c298d(0x1ee))/0x1+-parseInt(_0x1c298d(0x1e4))/0x2+parseInt(_0x1c298d(0x20e))/0x3*(-parseInt(_0x1c298d(0x208))/0x4)+parseInt(_0x1c298d(0x1cf))/0x5*(parseInt(_0x1c298d(0x1b9))/0x6)+-parseInt(_0x1c298d(0x1ce))/0x7*(-parseInt(_0x1c298d(0x20c))/0x8)+parseInt(_0x1c298d(0x1d5))/0x9*(-parseInt(_0x1c298d(0x1b8))/0xa)+parseInt(_0x1c298d(0x1e0))/0xb;if(_0x2b9ce3===_0xecba55)break;else _0xf51659['push'](_0xf51659['shift']());}catch(_0x55d5f7){_0xf51659['push'](_0xf51659['shift']());}}}(_0x150c,0x26843));import{Context as _0x5ae20e,ContextPlugin as _0x3671e3}from'ckeditor5/src/core.js';import{CKEditorError as _0x1c3130}from'ckeditor5/src/utils.js';import{Users as _0x28a6f6}from'ckeditor5-collaboration/src/collaboration-core.js';import{CommentsService as _0x1c847a,User as _0x2d82ca}from'@ckeditor/ckeditor-cloud-services-collaboration/src/services.js';import _0x2d4f5f from'../realtimecollaborativeediting/websocketgateway.js';import _0x3e5f26 from'../realtimecollaborativeediting/sessions.js';class a extends _0x3671e3{static get[_0x4dadab(0x1c8)](){const _0x16d480=_0x4dadab;return[_0x2d4f5f,_0x16d480(0x1ac),_0x3e5f26,_0x28a6f6];}static get[_0x4dadab(0x20b)](){const _0x4da0d7=_0x4dadab;return _0x4da0d7(0x1cd);}constructor(_0x5532df){const _0x5a4a88=_0x4dadab;super(_0x5532df),this[_0x5a4a88(0x1ba)]=new Map();}async[_0x4dadab(0x201)](){const _0x4e51a5=_0x4dadab,_0x4a1f58=this[_0x4e51a5(0x1d2)],_0x1a9381=_0x4a1f58[_0x4e51a5(0x1b2)][_0x4e51a5(0x1ae)](_0x4e51a5(0x1ac));if(_0x4a1f58[_0x4e51a5(0x1b2)][_0x4e51a5(0x1ae)](_0x2d4f5f)[_0x4e51a5(0x1db)](this),_0x1a9381[_0x4e51a5(0x1f0)]={'addCommentThread':async({channelId:_0x108040,threadId:_0x1752bb,comments:_0x352feb,resolvedAt:_0x21b7e6,resolvedBy:_0xc09900,context:_0x1da55a,attributes:_0x5edd90})=>{const _0x4dfda1=_0x4e51a5,_0x3aa8c5=await this[_0x4dfda1(0x1bc)](_0x108040)[_0x4dfda1(0x1c7)]({'commentThreadId':_0x1752bb,'comments':_0x352feb[_0x4dfda1(0x1f1)](_0x249c8a=>function(_0x3536c7,_0x2f7693,_0x2e43d0){const _0x1821b1=_0x4dfda1;return{'commentThreadId':_0x2e43d0,'commentId':_0x3536c7[_0x1821b1(0x1f3)],'userId':_0x3536c7[_0x1821b1(0x1fe)],'content':_0x3536c7[_0x1821b1(0x1fb)],'documentId':_0x2f7693,'createdAt':_0x3536c7[_0x1821b1(0x1dd)],'attributes':_0x3536c7[_0x1821b1(0x1f5)]||{}};}(_0x249c8a,_0x108040,_0x1752bb)),'resolvedAt':_0x21b7e6,'resolvedBy':_0xc09900,'context':_0x1da55a,'attributes':_0x5edd90})[_0x4dfda1(0x1ab)](w);return{'threadId':_0x3aa8c5[_0x4dfda1(0x204)],'comments':_0x3aa8c5[_0x4dfda1(0x1b1)]};},'getCommentThread':async({channelId:_0x34209d,threadId:_0x3a3423})=>{const _0x5bef67=_0x4e51a5,_0x4baf1f=await this[_0x5bef67(0x1bc)](_0x34209d)[_0x5bef67(0x1e7)](_0x3a3423)[_0x5bef67(0x1ab)](w);return _0x4baf1f[_0x5bef67(0x20a)]?null:(await this[_0x5bef67(0x1de)]([_0x4baf1f]),{'threadId':_0x4baf1f[_0x5bef67(0x204)],'comments':_0x4baf1f[_0x5bef67(0x1b1)][_0x5bef67(0x1f1)](b),'context':_0x4baf1f[_0x5bef67(0x1d2)],'resolvedAt':_0x4baf1f[_0x5bef67(0x1bf)],'resolvedBy':_0x4baf1f[_0x5bef67(0x1c2)],'attributes':_0x4baf1f[_0x5bef67(0x1f5)]||{}});},'updateCommentThread':async({channelId:_0xa59c36,threadId:_0x43621e,context:_0x396150,unlinkedAt:_0x5b4f40,attributes:_0x446c73})=>this[_0x4e51a5(0x1bc)](_0xa59c36)[_0x4e51a5(0x1f6)]({'commentThreadId':_0x43621e,'context':_0x396150,'attributes':_0x446c73,'unlinkedAt':_0x5b4f40})[_0x4e51a5(0x1ab)](y)[_0x4e51a5(0x1ab)](w),'resolveCommentThread':async({channelId:_0x1ea27b,threadId:_0x334408})=>{const _0x8860ac=_0x4e51a5,_0x2ff8f4=await this[_0x8860ac(0x1bc)](_0x1ea27b)[_0x8860ac(0x1ff)](_0x334408)[_0x8860ac(0x1ab)](y)[_0x8860ac(0x1ab)](w);return{'threadId':_0x2ff8f4[_0x8860ac(0x204)],'resolvedAt':_0x2ff8f4[_0x8860ac(0x1bf)],'resolvedBy':_0x2ff8f4[_0x8860ac(0x1c2)]};},'reopenCommentThread':async({channelId:_0x3e3669,threadId:_0xfee568})=>this[_0x4e51a5(0x1bc)](_0x3e3669)[_0x4e51a5(0x1e3)](_0xfee568)[_0x4e51a5(0x1ab)](y)[_0x4e51a5(0x1ab)](w),'removeCommentThread':({channelId:_0x1c92eb,threadId:_0x53f340})=>this[_0x4e51a5(0x1bc)](_0x1c92eb)[_0x4e51a5(0x1bb)](_0x53f340)[_0x4e51a5(0x1ab)](y)[_0x4e51a5(0x1ab)](w),'addComment':({channelId:_0x347073,threadId:_0x48c063,commentId:_0x361058,content:_0x16bcd4,attributes:_0x475c36})=>this[_0x4e51a5(0x1bc)](_0x347073)[_0x4e51a5(0x1d4)](_0x48c063,_0x361058,_0x16bcd4,_0x475c36)[_0x4e51a5(0x1ab)](w),'updateComment':({channelId:_0x2d22d6,threadId:_0x1eba1d,commentId:_0x579ac4,content:_0x2851c0,attributes:_0x43e45b})=>this[_0x4e51a5(0x1bc)](_0x2d22d6)[_0x4e51a5(0x1b5)](_0x1eba1d,_0x579ac4,_0x2851c0,_0x43e45b)[_0x4e51a5(0x1ab)](y)[_0x4e51a5(0x1ab)](w),'removeComment':({channelId:_0x53415b,threadId:_0x170b7a,commentId:_0x311098})=>this[_0x4e51a5(0x1bc)](_0x53415b)[_0x4e51a5(0x1f8)](_0x170b7a,_0x311098)[_0x4e51a5(0x1ab)](y)[_0x4e51a5(0x1ab)](w)},_0x4a1f58 instanceof _0x5ae20e){const _0x41aa73=_0x4a1f58[_0x4e51a5(0x1e1)][_0x4e51a5(0x1ae)](_0x4e51a5(0x1e6)),_0x796725=_0x4a1f58[_0x4e51a5(0x1b2)][_0x4e51a5(0x1ae)](_0x3e5f26);await this[_0x4e51a5(0x1f4)](_0x41aa73);const _0x1963ce=await this[_0x4e51a5(0x1ba)][_0x4e51a5(0x1ae)](_0x41aa73)[_0x4e51a5(0x1e5)]();this[_0x4e51a5(0x1ed)](_0x796725,_0x4e51a5(0x203)+_0x41aa73,(_0x53042b,{session:_0x37b803})=>{const _0x8fff72=_0x4e51a5;_0x37b803['id']===_0x796725[_0x8fff72(0x1be)]&&(_0x53042b[_0x8fff72(0x1aa)](),this[_0x8fff72(0x1d2)][_0x8fff72(0x1b2)][_0x8fff72(0x1ae)](_0x8fff72(0x1c4))[_0x8fff72(0x1c5)](_0x37b803[_0x8fff72(0x1bd)],_0x41aa73));}),_0x796725[_0x4e51a5(0x1d0)](_0x41aa73,_0x1963ce);}}async[_0x4dadab(0x1f4)](_0x7f5abb){const _0x549272=_0x4dadab;if(this[_0x549272(0x1ba)][_0x549272(0x1d7)](_0x7f5abb))throw new _0x1c3130(_0x549272(0x1b7),null,{'channelId':_0x7f5abb});const _0xb9dce6=this[_0x549272(0x1d2)][_0x549272(0x1b2)][_0x549272(0x1ae)](_0x549272(0x1ac)),_0xb39417=new a[(_0x549272(0x1df))](_0x7f5abb);this[_0x549272(0x1ba)][_0x549272(0x1fc)](_0x7f5abb,_0xb39417),this[_0x549272(0x1ed)](_0xb39417,_0x549272(0x1c0),(_0x355cf1,_0x2e2482)=>{const _0x254fa6=_0x549272,{commentThreadId:_0x402f2f,documentId:_0x77bcfd,context:_0x4c8088,attributes:_0xc3d764,resolvedAt:_0x465618,resolvedBy:_0x4a11dc,comments:_0x277e09}=_0x2e2482;_0xb9dce6[_0x254fa6(0x1e7)](_0x402f2f)||_0xb9dce6[_0x254fa6(0x1c7)]({'threadId':_0x402f2f,'channelId':_0x77bcfd,'comments':_0x277e09?_0x277e09[_0x254fa6(0x1f1)](b):[],'context':_0x4c8088,'attributes':_0xc3d764,'resolvedAt':_0x465618,'resolvedBy':_0x4a11dc,'isFromAdapter':!0x0});}),this[_0x549272(0x1ed)](_0xb39417,_0x549272(0x1d1),(_0x417b39,{commentThreadId:_0x56c89f,documentId:_0x22de89,context:_0x156cb5,unlinkedAt:_0x4171e0,attributes:_0x147aa6})=>{const _0x33cd45=_0x549272;_0xb9dce6[_0x33cd45(0x1e7)](_0x56c89f)&&_0xb9dce6[_0x33cd45(0x1f6)]({'threadId':_0x56c89f,'channelId':_0x22de89,'context':_0x156cb5,'unlinkedAt':_0x4171e0,'attributes':_0x147aa6,'isFromAdapter':!0x0});}),this[_0x549272(0x1ed)](_0xb39417,_0x549272(0x1d3),(_0x4e785a,{commentThreadId:_0x2ea427,resolvedBy:_0x1a81e8,resolvedAt:_0x23cb8f})=>{const _0x3e35a2=_0x549272,_0x39de2f=_0xb9dce6[_0x3e35a2(0x1e7)](_0x2ea427);_0x39de2f&&_0x39de2f[_0x3e35a2(0x1e8)]({'resolvedBy':_0x1a81e8,'resolvedAt':_0x23cb8f,'isFromAdapter':!0x0});}),this[_0x549272(0x1ed)](_0xb39417,_0x549272(0x20d),(_0xe493fe,{commentThreadId:_0x3a0e93})=>{const _0xafc659=_0x549272,_0x5aab6e=_0xb9dce6[_0xafc659(0x1e7)](_0x3a0e93);_0x5aab6e&&_0x5aab6e[_0xafc659(0x1f2)]({'isFromAdapter':!0x0});}),this[_0x549272(0x1ed)](_0xb39417,_0x549272(0x1c9),(_0x562bb6,{commentThreadId:_0x4e4c21})=>{const _0x31a932=_0x549272,_0xdf78cd=_0xb9dce6[_0x31a932(0x1e7)](_0x4e4c21);_0xdf78cd&&_0xdf78cd[_0x31a932(0x1e9)]({'isFromAdapter':!0x0});}),this[_0x549272(0x1ed)](_0xb39417,_0x549272(0x1ea),(_0x1aa84a,_0xd0e03e)=>{const _0x2bdbe1=_0x549272,_0x1b4f70=_0xd0e03e[_0x2bdbe1(0x204)],_0xc228cc=_0xb9dce6[_0x2bdbe1(0x1e7)](_0x1b4f70);_0xc228cc&&_0xc228cc[_0x2bdbe1(0x1d4)]({...b(_0xd0e03e),'isFromAdapter':!0x0});}),this[_0x549272(0x1ed)](_0xb39417,_0x549272(0x1d8),(_0x251e69,{commentThreadId:_0x4b62e2,commentId:_0x3b6543,content:_0x38cef9,attributes:_0x3d2f05})=>{const _0x34c610=_0x549272,_0x18e494=_0xb9dce6[_0x34c610(0x1e7)](_0x4b62e2);if(_0x18e494){const _0x15b3ab=_0x18e494[_0x34c610(0x1dc)](_0x3b6543);_0x15b3ab&&_0x15b3ab[_0x34c610(0x205)]({'content':_0x38cef9,'attributes':_0x3d2f05,'isFromAdapter':!0x0});}}),this[_0x549272(0x1ed)](_0xb39417,_0x549272(0x1ad),(_0x380166,{commentThreadId:_0x380068,commentId:_0x5df19f})=>{const _0x4e97c2=_0x549272,_0x8e1b77=_0xb9dce6[_0x4e97c2(0x1e7)](_0x380068);if(_0x8e1b77){const _0x3d11c4=_0x8e1b77[_0x4e97c2(0x1dc)](_0x5df19f);_0x3d11c4&&_0x3d11c4[_0x4e97c2(0x1e9)]({'isFromAdapter':!0x0});}}),await this[_0x549272(0x202)](_0x7f5abb);}[_0x4dadab(0x1e2)](){const _0xe798d2=_0x4dadab;if(this[_0xe798d2(0x1d2)]instanceof _0x5ae20e){const _0xba3dfa=this[_0xe798d2(0x1d2)][_0xe798d2(0x1e1)][_0xe798d2(0x1ae)](_0xe798d2(0x1e6));this[_0xe798d2(0x1d9)](_0xba3dfa);}}[_0x4dadab(0x1d9)](_0x153816){const _0x261a2c=_0x4dadab;if(!this[_0x261a2c(0x1ba)][_0x261a2c(0x1d7)](_0x153816))throw new _0x1c3130(_0x261a2c(0x1fd),null,{'channelId':_0x153816});this[_0x261a2c(0x1bc)](_0x153816)[_0x261a2c(0x1c6)](),this[_0x261a2c(0x1ba)][_0x261a2c(0x1f9)](_0x153816);}async[_0x4dadab(0x1c3)](){const _0x376dac=_0x4dadab;for(const _0xaba71d of this[_0x376dac(0x1ba)][_0x376dac(0x1ec)]())await this[_0x376dac(0x202)](_0xaba71d);if(this[_0x376dac(0x1d2)]instanceof _0x5ae20e){const _0x31585=this[_0x376dac(0x1d2)][_0x376dac(0x1e1)][_0x376dac(0x1ae)](_0x376dac(0x1e6)),_0x25513b=this[_0x376dac(0x1d2)][_0x376dac(0x1b2)][_0x376dac(0x1ae)](_0x3e5f26);_0x25513b[_0x376dac(0x1eb)](_0x31585);const _0x19a3aa=await this[_0x376dac(0x1ba)][_0x376dac(0x1ae)](_0x31585)[_0x376dac(0x1e5)]();_0x25513b[_0x376dac(0x1d0)](_0x31585,_0x19a3aa);}}async[_0x4dadab(0x202)](_0x7273d2){const _0x2cbde2=_0x4dadab,{connection:_0x5ab72b}=this[_0x2cbde2(0x1d2)][_0x2cbde2(0x1b2)][_0x2cbde2(0x1ae)](_0x2d4f5f),_0x2a172a=this[_0x2cbde2(0x1d2)][_0x2cbde2(0x1b2)][_0x2cbde2(0x1ae)](_0x2cbde2(0x1ac)),_0xe7e6ab=this[_0x2cbde2(0x1ba)][_0x2cbde2(0x1ae)](_0x7273d2),_0x10970a=await _0xe7e6ab[_0x2cbde2(0x1d6)](_0x5ab72b);await this[_0x2cbde2(0x1de)](_0x10970a);const _0x4be291=new Set(Array[_0x2cbde2(0x1fa)](_0x2a172a[_0x2cbde2(0x1cb)]({'channelId':_0x7273d2}),_0x262138=>_0x262138['id']));for(const _0x14b522 of _0x10970a)_0x14b522[_0x2cbde2(0x20a)]||_0x4be291[_0x2cbde2(0x1f9)](_0x14b522[_0x2cbde2(0x204)]);for(const _0x26182a of _0x4be291)_0x2a172a[_0x2cbde2(0x1e7)](_0x26182a)[_0x2cbde2(0x1e9)]({'isFromAdapter':!0x0});for(const _0x2dce0a of _0x10970a){let _0x2431da=_0x2a172a[_0x2cbde2(0x1e7)](_0x2dce0a[_0x2cbde2(0x204)]);const {commentThreadId:_0x502791,context:_0x5c9951,attributes:_0x246b29,resolvedBy:_0x19dc89,resolvedAt:_0x4a5938,unlinkedAt:_0xbf175d,deletedAt:_0x31709e}=_0x2dce0a;if(_0x31709e)continue;_0x2431da||(_0x2431da=_0x2a172a[_0x2cbde2(0x1c7)]({'channelId':_0x7273d2,'threadId':_0x502791,'context':_0x5c9951,'attributes':_0x246b29||{},'resolvedBy':_0x19dc89,'resolvedAt':_0x4a5938,'unlinkedAt':_0xbf175d,'isFromAdapter':!0x0}));const _0x1b8521=new Set(Array[_0x2cbde2(0x1fa)](_0x2431da[_0x2cbde2(0x1b1)],_0x5524da=>_0x5524da['id']));for(const _0x1b7b0d of _0x2dce0a[_0x2cbde2(0x1b1)])_0x1b8521[_0x2cbde2(0x1f9)](_0x1b7b0d[_0x2cbde2(0x1f3)]);for(const _0x5d1edb of _0x1b8521)_0x2431da[_0x2cbde2(0x1dc)](_0x5d1edb)[_0x2cbde2(0x1e9)]({'isFromAdapter':!0x0});for(const _0x5b87b7 of _0x2dce0a[_0x2cbde2(0x1b1)]){const _0x11cba3=_0x2431da[_0x2cbde2(0x1dc)](_0x5b87b7[_0x2cbde2(0x1f3)]);_0x11cba3?_0x11cba3[_0x2cbde2(0x1fb)]!==_0x5b87b7[_0x2cbde2(0x1fb)]&&_0x11cba3[_0x2cbde2(0x205)]({'content':_0x5b87b7[_0x2cbde2(0x1fb)],'isFromAdapter':!0x0}):_0x2431da[_0x2cbde2(0x1d4)](Object[_0x2cbde2(0x1c1)](b(_0x5b87b7),{'isFromAdapter':!0x0}));}}}[_0x4dadab(0x1bc)](_0x1a2bc7){const _0x2c2060=_0x4dadab;if(!this[_0x2c2060(0x1ba)][_0x2c2060(0x1d7)](_0x1a2bc7))throw new _0x1c3130(_0x2c2060(0x1af),null,{'channelId':_0x1a2bc7});return this[_0x2c2060(0x1ba)][_0x2c2060(0x1ae)](_0x1a2bc7);}async[_0x4dadab(0x1de)](_0x42578d){const _0x5dda14=_0x4dadab,_0x4a8f3e=this[_0x5dda14(0x1d2)][_0x5dda14(0x1b2)][_0x5dda14(0x1ae)](_0x28a6f6),{connection:_0xef592f}=this[_0x5dda14(0x1d2)][_0x5dda14(0x1b2)][_0x5dda14(0x1ae)](_0x2d4f5f),_0x3b6c28=new Set();for(const {resolvedBy:_0x44828c,comments:_0x514f63}of _0x42578d){_0x44828c&&!_0x4a8f3e[_0x5dda14(0x1b4)](_0x44828c)&&_0x3b6c28[_0x5dda14(0x1da)](_0x44828c);for(const {userId:_0x19aa42}of _0x514f63)_0x4a8f3e[_0x5dda14(0x1b4)](_0x19aa42)||_0x3b6c28[_0x5dda14(0x1da)](_0x19aa42);}if(0x0===_0x3b6c28[_0x5dda14(0x209)])return;const _0x5ec3e5=await _0x2d82ca[_0x5dda14(0x206)](_0xef592f,Array[_0x5dda14(0x1fa)](_0x3b6c28));for(const _0x4e9db0 of _0x5ec3e5)_0x4a8f3e[_0x5dda14(0x1b4)](_0x4e9db0['id'])||_0x4a8f3e[_0x5dda14(0x1cc)](_0x4e9db0);}}a[_0x4dadab(0x1df)]=_0x1c847a;export default a;async function y(_0x4b9437){const _0x38a58d=_0x4dadab;if(_0x38a58d(0x1f7)!==_0x4b9437[_0x38a58d(0x207)])throw _0x4b9437;}function _0xbd8c(_0x5b39de,_0x56f21c){const _0x150c79=_0x150c();return _0xbd8c=function(_0xbd8c19,_0x34505b){_0xbd8c19=_0xbd8c19-0x1aa;let _0x234adf=_0x150c79[_0xbd8c19];return _0x234adf;},_0xbd8c(_0x5b39de,_0x56f21c);}function w(_0x30ac1f){const _0x54f85d=_0x4dadab;if((_0x1defc9=_0x30ac1f)[_0x54f85d(0x1ef)][_0x54f85d(0x1b6)](_0x54f85d(0x1b0))||_0x1defc9[_0x54f85d(0x1ef)][_0x54f85d(0x1b6)](_0x54f85d(0x200))||_0x1defc9[_0x54f85d(0x1ef)][_0x54f85d(0x1b6)](_0x54f85d(0x1ca)))return new Promise(()=>{});var _0x1defc9;throw _0x30ac1f;}function b(_0x99e5f9){const _0x4381c5=_0x4dadab;return{'threadId':_0x99e5f9[_0x4381c5(0x204)],'commentId':_0x99e5f9[_0x4381c5(0x1f3)],'content':_0x99e5f9[_0x4381c5(0x1fb)],'createdAt':_0x99e5f9[_0x4381c5(0x1dd)],'authorId':_0x99e5f9[_0x4381c5(0x1b3)],'attributes':_0x99e5f9[_0x4381c5(0x1f5)]||{}};}
|
|
23
|
+
const _0x595b23=_0x36eb;(function(_0x704b34,_0x4f0a2f){const _0x39ff0e=_0x36eb,_0x54176c=_0x704b34();while(!![]){try{const _0x489a6d=parseInt(_0x39ff0e(0x1ed))/0x1+parseInt(_0x39ff0e(0x206))/0x2*(-parseInt(_0x39ff0e(0x24a))/0x3)+parseInt(_0x39ff0e(0x201))/0x4*(-parseInt(_0x39ff0e(0x247))/0x5)+parseInt(_0x39ff0e(0x23b))/0x6*(parseInt(_0x39ff0e(0x1ef))/0x7)+parseInt(_0x39ff0e(0x232))/0x8*(-parseInt(_0x39ff0e(0x243))/0x9)+parseInt(_0x39ff0e(0x22a))/0xa+parseInt(_0x39ff0e(0x1ff))/0xb;if(_0x489a6d===_0x4f0a2f)break;else _0x54176c['push'](_0x54176c['shift']());}catch(_0xc3d753){_0x54176c['push'](_0x54176c['shift']());}}}(_0x30fa,0x492b5));import{Context as _0x4a0823,ContextPlugin as _0x5bad6b}from'ckeditor5/src/core.js';import{CKEditorError as _0x3773a}from'ckeditor5/src/utils.js';import{Users as _0x521ebd}from'ckeditor5-collaboration/src/collaboration-core.js';import{CommentsService as _0x2acedf,User as _0x114ba0}from'@ckeditor/ckeditor-cloud-services-collaboration/src/services.js';import _0x4800be from'../realtimecollaborativeediting/websocketgateway.js';import _0x1c354c from'../realtimecollaborativeediting/sessions.js';class a extends _0x5bad6b{static get[_0x595b23(0x224)](){const _0x4edef4=_0x595b23;return[_0x4800be,_0x4edef4(0x1f1),_0x1c354c,_0x521ebd];}static get[_0x595b23(0x22c)](){const _0x5e83c8=_0x595b23;return _0x5e83c8(0x246);}constructor(_0x332df3){const _0x5ecb5d=_0x595b23;super(_0x332df3),this[_0x5ecb5d(0x209)]=new Map();}async[_0x595b23(0x227)](){const _0x2dbaca=_0x595b23,_0x3ae859=this[_0x2dbaca(0x235)],_0x1eb106=_0x3ae859[_0x2dbaca(0x23e)][_0x2dbaca(0x20f)](_0x2dbaca(0x1f1));if(_0x3ae859[_0x2dbaca(0x23e)][_0x2dbaca(0x20f)](_0x4800be)[_0x2dbaca(0x1e9)](this),_0x1eb106[_0x2dbaca(0x242)]={'addCommentThread':async({channelId:_0xff322b,threadId:_0x2031e2,comments:_0x414318,resolvedAt:_0xea9a4a,resolvedBy:_0xafeaf8,context:_0x335445,attributes:_0x2d9d72})=>{const _0x5a31b4=_0x2dbaca,_0x4e83d7=await this[_0x5a31b4(0x239)](_0xff322b)[_0x5a31b4(0x238)]({'commentThreadId':_0x2031e2,'comments':_0x414318[_0x5a31b4(0x233)](_0x284918=>function(_0x273719,_0x48aa3a,_0x374a06){const _0x43f0db=_0x5a31b4;return{'commentThreadId':_0x374a06,'commentId':_0x273719[_0x43f0db(0x207)],'userId':_0x273719[_0x43f0db(0x21c)],'content':_0x273719[_0x43f0db(0x1f9)],'documentId':_0x48aa3a,'createdAt':_0x273719[_0x43f0db(0x23c)],'attributes':_0x273719[_0x43f0db(0x234)]||{}};}(_0x284918,_0xff322b,_0x2031e2)),'resolvedAt':_0xea9a4a,'resolvedBy':_0xafeaf8,'context':_0x335445,'attributes':_0x2d9d72})[_0x5a31b4(0x1e6)](R);return{'threadId':_0x4e83d7[_0x5a31b4(0x23f)],'comments':_0x4e83d7[_0x5a31b4(0x216)]};},'getCommentThread':async({channelId:_0x392d1c,threadId:_0x50fa4f})=>{const _0x28018e=_0x2dbaca,_0x7825b2=await this[_0x28018e(0x239)](_0x392d1c)[_0x28018e(0x228)](_0x50fa4f)[_0x28018e(0x1e6)](R);return _0x7825b2[_0x28018e(0x23d)]?null:(await this[_0x28018e(0x223)]([_0x7825b2]),{'threadId':_0x7825b2[_0x28018e(0x23f)],'comments':_0x7825b2[_0x28018e(0x216)][_0x28018e(0x233)](S),'context':_0x7825b2[_0x28018e(0x235)],'resolvedAt':_0x7825b2[_0x28018e(0x23a)],'resolvedBy':_0x7825b2[_0x28018e(0x20c)],'attributes':_0x7825b2[_0x28018e(0x234)]||{}});},'updateCommentThread':async({channelId:_0x496cfb,threadId:_0x4fe69e,context:_0x4d787a,unlinkedAt:_0x5e03e6,attributes:_0x974f77})=>this[_0x2dbaca(0x239)](_0x496cfb)[_0x2dbaca(0x1ec)]({'commentThreadId':_0x4fe69e,'context':_0x4d787a,'attributes':_0x974f77,'unlinkedAt':_0x5e03e6})[_0x2dbaca(0x1e6)](B)[_0x2dbaca(0x1e6)](R),'resolveCommentThread':async({channelId:_0x198f07,threadId:_0x12d6ec})=>{const _0x3b8622=_0x2dbaca,_0x6d509f=await this[_0x3b8622(0x239)](_0x198f07)[_0x3b8622(0x21f)](_0x12d6ec)[_0x3b8622(0x1e6)](B)[_0x3b8622(0x1e6)](R);return{'threadId':_0x6d509f[_0x3b8622(0x23f)],'resolvedAt':_0x6d509f[_0x3b8622(0x23a)],'resolvedBy':_0x6d509f[_0x3b8622(0x20c)]};},'reopenCommentThread':async({channelId:_0x52bc28,threadId:_0x532a85})=>this[_0x2dbaca(0x239)](_0x52bc28)[_0x2dbaca(0x226)](_0x532a85)[_0x2dbaca(0x1e6)](B)[_0x2dbaca(0x1e6)](R),'removeCommentThread':({channelId:_0x35efef,threadId:_0x2281b4})=>this[_0x2dbaca(0x239)](_0x35efef)[_0x2dbaca(0x210)](_0x2281b4)[_0x2dbaca(0x1e6)](B)[_0x2dbaca(0x1e6)](R),'addComment':({channelId:_0x43911a,threadId:_0x212173,commentId:_0x5c8134,content:_0x36f93d,attributes:_0x477c31})=>this[_0x2dbaca(0x239)](_0x43911a)[_0x2dbaca(0x237)](_0x212173,_0x5c8134,_0x36f93d,_0x477c31)[_0x2dbaca(0x1e6)](R),'updateComment':({channelId:_0x34ea08,threadId:_0x1b76e1,commentId:_0x5e40dc,content:_0x58ad9f,attributes:_0x197d38})=>this[_0x2dbaca(0x239)](_0x34ea08)[_0x2dbaca(0x1fb)](_0x1b76e1,_0x5e40dc,_0x58ad9f,_0x197d38)[_0x2dbaca(0x1e6)](B)[_0x2dbaca(0x1e6)](R),'removeComment':({channelId:_0x35f115,threadId:_0xcac688,commentId:_0x1b499d})=>this[_0x2dbaca(0x239)](_0x35f115)[_0x2dbaca(0x214)](_0xcac688,_0x1b499d)[_0x2dbaca(0x1e6)](B)[_0x2dbaca(0x1e6)](R)},_0x3ae859 instanceof _0x4a0823){const _0x3e9365=_0x3ae859[_0x2dbaca(0x20a)][_0x2dbaca(0x20f)](_0x2dbaca(0x205)),_0x3e49c0=_0x3ae859[_0x2dbaca(0x23e)][_0x2dbaca(0x20f)](_0x1c354c);await this[_0x2dbaca(0x241)](_0x3e9365);const _0x1e71dc=await this[_0x2dbaca(0x209)][_0x2dbaca(0x20f)](_0x3e9365)[_0x2dbaca(0x22f)]();this[_0x2dbaca(0x248)](_0x3e49c0,_0x2dbaca(0x1f6)+_0x3e9365,(_0x1ae37a,{session:_0x20cae4})=>{const _0x4f32e9=_0x2dbaca;_0x20cae4['id']===_0x3e49c0[_0x4f32e9(0x230)]&&(_0x1ae37a[_0x4f32e9(0x218)](),this[_0x4f32e9(0x235)][_0x4f32e9(0x23e)][_0x4f32e9(0x20f)](_0x4f32e9(0x1fc))[_0x4f32e9(0x200)](_0x20cae4[_0x4f32e9(0x1f7)],_0x3e9365));}),_0x3e49c0[_0x2dbaca(0x1f2)](_0x3e9365,_0x1e71dc);}}async[_0x595b23(0x241)](_0x2c44c4){const _0xcbd58d=_0x595b23;if(this[_0xcbd58d(0x209)][_0xcbd58d(0x1fe)](_0x2c44c4))throw new _0x3773a(_0xcbd58d(0x245),null,{'channelId':_0x2c44c4});const _0x5b4b9d=this[_0xcbd58d(0x235)][_0xcbd58d(0x23e)][_0xcbd58d(0x20f)](_0xcbd58d(0x1f1)),_0x416d06=new a[(_0xcbd58d(0x20d))](_0x2c44c4);this[_0xcbd58d(0x209)][_0xcbd58d(0x220)](_0x2c44c4,_0x416d06),this[_0xcbd58d(0x248)](_0x416d06,_0xcbd58d(0x1f4),(_0x24db0a,_0x35cee6)=>{const _0x22b811=_0xcbd58d,{commentThreadId:_0x1ce137,documentId:_0xb3e8cc,context:_0x57a65a,attributes:_0x48385e,resolvedAt:_0x1f3bea,resolvedBy:_0x635ceb,comments:_0x5983ee}=_0x35cee6;_0x5b4b9d[_0x22b811(0x228)](_0x1ce137)||_0x5b4b9d[_0x22b811(0x238)]({'threadId':_0x1ce137,'channelId':_0xb3e8cc,'comments':_0x5983ee?_0x5983ee[_0x22b811(0x233)](S):[],'context':_0x57a65a,'attributes':_0x48385e,'resolvedAt':_0x1f3bea,'resolvedBy':_0x635ceb,'isFromAdapter':!0x0});}),this[_0xcbd58d(0x248)](_0x416d06,_0xcbd58d(0x22b),(_0x3c83f5,{commentThreadId:_0x5ac7da,documentId:_0x50d669,context:_0x2597f0,unlinkedAt:_0x5859fc,attributes:_0xd32aee})=>{const _0x5ad9c1=_0xcbd58d;_0x5b4b9d[_0x5ad9c1(0x228)](_0x5ac7da)&&_0x5b4b9d[_0x5ad9c1(0x1ec)]({'threadId':_0x5ac7da,'channelId':_0x50d669,'context':_0x2597f0,'unlinkedAt':_0x5859fc,'attributes':_0xd32aee,'isFromAdapter':!0x0});}),this[_0xcbd58d(0x248)](_0x416d06,_0xcbd58d(0x20e),(_0x4ac5b7,{commentThreadId:_0x4e90cb,resolvedBy:_0x2fa734,resolvedAt:_0x506b03})=>{const _0x235296=_0xcbd58d,_0x3e52dd=_0x5b4b9d[_0x235296(0x228)](_0x4e90cb);_0x3e52dd&&_0x3e52dd[_0x235296(0x1e8)]({'resolvedBy':_0x2fa734,'resolvedAt':_0x506b03,'isFromAdapter':!0x0});}),this[_0xcbd58d(0x248)](_0x416d06,_0xcbd58d(0x215),(_0x45269a,{commentThreadId:_0x3c6596})=>{const _0x1eb0f6=_0xcbd58d,_0x44569f=_0x5b4b9d[_0x1eb0f6(0x228)](_0x3c6596);_0x44569f&&_0x44569f[_0x1eb0f6(0x1ea)]({'isFromAdapter':!0x0});}),this[_0xcbd58d(0x248)](_0x416d06,_0xcbd58d(0x221),(_0x5ba189,{commentThreadId:_0x20f930})=>{const _0xd8df24=_0xcbd58d,_0x37bc9b=_0x5b4b9d[_0xd8df24(0x228)](_0x20f930);_0x37bc9b&&_0x37bc9b[_0xd8df24(0x1e7)]({'isFromAdapter':!0x0});}),this[_0xcbd58d(0x248)](_0x416d06,_0xcbd58d(0x213),(_0x2c0703,_0xbcac13)=>{const _0x312d30=_0xcbd58d,_0x4f2fa8=_0xbcac13[_0x312d30(0x23f)],_0x4604d8=_0x5b4b9d[_0x312d30(0x228)](_0x4f2fa8);_0x4604d8&&_0x4604d8[_0x312d30(0x237)]({...S(_0xbcac13),'isFromAdapter':!0x0});}),this[_0xcbd58d(0x248)](_0x416d06,_0xcbd58d(0x244),(_0x34f870,{commentThreadId:_0x4f7c63,commentId:_0x3ab37b,content:_0x6433f3,attributes:_0x62e29})=>{const _0x167ce7=_0xcbd58d,_0x59529e=_0x5b4b9d[_0x167ce7(0x228)](_0x4f7c63);if(_0x59529e){const _0x3c1070=_0x59529e[_0x167ce7(0x217)](_0x3ab37b);_0x3c1070&&_0x3c1070[_0x167ce7(0x212)]({'content':_0x6433f3,'attributes':_0x62e29,'isFromAdapter':!0x0});}}),this[_0xcbd58d(0x248)](_0x416d06,_0xcbd58d(0x222),(_0xe26482,{commentThreadId:_0x2adc48,commentId:_0x29d0f6})=>{const _0x47802f=_0xcbd58d,_0x31ff49=_0x5b4b9d[_0x47802f(0x228)](_0x2adc48);if(_0x31ff49){const _0x48adad=_0x31ff49[_0x47802f(0x217)](_0x29d0f6);_0x48adad&&_0x48adad[_0x47802f(0x1e7)]({'isFromAdapter':!0x0});}}),await this[_0xcbd58d(0x20b)](_0x2c44c4);}[_0x595b23(0x225)](){const _0x12b319=_0x595b23;if(this[_0x12b319(0x235)]instanceof _0x4a0823){const _0x3d653b=this[_0x12b319(0x235)][_0x12b319(0x20a)][_0x12b319(0x20f)](_0x12b319(0x205));this[_0x12b319(0x249)](_0x3d653b);}}[_0x595b23(0x249)](_0x250599){const _0x5390d7=_0x595b23;if(!this[_0x5390d7(0x209)][_0x5390d7(0x1fe)](_0x250599))throw new _0x3773a(_0x5390d7(0x1f0),null,{'channelId':_0x250599});this[_0x5390d7(0x239)](_0x250599)[_0x5390d7(0x211)](),this[_0x5390d7(0x209)][_0x5390d7(0x208)](_0x250599);}async[_0x595b23(0x204)](){const _0x2c9ee5=_0x595b23;for(const _0x2746fc of this[_0x2c9ee5(0x209)][_0x2c9ee5(0x236)]())await this[_0x2c9ee5(0x20b)](_0x2746fc);if(this[_0x2c9ee5(0x235)]instanceof _0x4a0823){const _0x44819a=this[_0x2c9ee5(0x235)][_0x2c9ee5(0x20a)][_0x2c9ee5(0x20f)](_0x2c9ee5(0x205)),_0x3023b0=this[_0x2c9ee5(0x235)][_0x2c9ee5(0x23e)][_0x2c9ee5(0x20f)](_0x1c354c);_0x3023b0[_0x2c9ee5(0x1f5)](_0x44819a);const _0xe991bb=await this[_0x2c9ee5(0x209)][_0x2c9ee5(0x20f)](_0x44819a)[_0x2c9ee5(0x22f)]();_0x3023b0[_0x2c9ee5(0x1f2)](_0x44819a,_0xe991bb);}}async[_0x595b23(0x20b)](_0x35d15b){const _0x1efd4f=_0x595b23,{connection:_0x4c923b}=this[_0x1efd4f(0x235)][_0x1efd4f(0x23e)][_0x1efd4f(0x20f)](_0x4800be),_0x12b40e=this[_0x1efd4f(0x235)][_0x1efd4f(0x23e)][_0x1efd4f(0x20f)](_0x1efd4f(0x1f1)),_0x31d4ad=this[_0x1efd4f(0x209)][_0x1efd4f(0x20f)](_0x35d15b),_0x19dca7=await _0x31d4ad[_0x1efd4f(0x21a)](_0x4c923b);await this[_0x1efd4f(0x223)](_0x19dca7);const _0xefc217=new Set(Array[_0x1efd4f(0x21b)](_0x12b40e[_0x1efd4f(0x229)]({'channelId':_0x35d15b}),_0x5d9e87=>_0x5d9e87['id']));for(const _0x4e094d of _0x19dca7)_0x4e094d[_0x1efd4f(0x23d)]||_0xefc217[_0x1efd4f(0x208)](_0x4e094d[_0x1efd4f(0x23f)]);for(const _0x4f805d of _0xefc217)_0x12b40e[_0x1efd4f(0x228)](_0x4f805d)[_0x1efd4f(0x1e7)]({'isFromAdapter':!0x0});for(const _0x376963 of _0x19dca7){let _0x39046c=_0x12b40e[_0x1efd4f(0x228)](_0x376963[_0x1efd4f(0x23f)]);const {commentThreadId:_0x4e03f3,context:_0x304c37,attributes:_0x297731,resolvedBy:_0x5a619b,resolvedAt:_0x44d706,unlinkedAt:_0x6adde3,deletedAt:_0x5605fc}=_0x376963;if(_0x5605fc)continue;_0x39046c||(_0x39046c=_0x12b40e[_0x1efd4f(0x238)]({'channelId':_0x35d15b,'threadId':_0x4e03f3,'context':_0x304c37,'attributes':_0x297731||{},'resolvedBy':_0x5a619b,'resolvedAt':_0x44d706,'unlinkedAt':_0x6adde3,'isFromAdapter':!0x0}));const _0x4bdcde=new Set(Array[_0x1efd4f(0x21b)](_0x39046c[_0x1efd4f(0x216)],_0x151e47=>_0x151e47['id']));for(const _0x32493e of _0x376963[_0x1efd4f(0x216)])_0x4bdcde[_0x1efd4f(0x208)](_0x32493e[_0x1efd4f(0x207)]);for(const _0x41ef1c of _0x4bdcde)_0x39046c[_0x1efd4f(0x217)](_0x41ef1c)[_0x1efd4f(0x1e7)]({'isFromAdapter':!0x0});for(const _0x71c9ae of _0x376963[_0x1efd4f(0x216)]){const _0x3fe189=_0x39046c[_0x1efd4f(0x217)](_0x71c9ae[_0x1efd4f(0x207)]);_0x3fe189?_0x3fe189[_0x1efd4f(0x1f9)]!==_0x71c9ae[_0x1efd4f(0x1f9)]&&_0x3fe189[_0x1efd4f(0x212)]({'content':_0x71c9ae[_0x1efd4f(0x1f9)],'isFromAdapter':!0x0}):_0x39046c[_0x1efd4f(0x237)](Object[_0x1efd4f(0x1fa)](S(_0x71c9ae),{'isFromAdapter':!0x0}));}}}[_0x595b23(0x239)](_0x1a2630){const _0x72554d=_0x595b23;if(!this[_0x72554d(0x209)][_0x72554d(0x1fe)](_0x1a2630))throw new _0x3773a(_0x72554d(0x22d),null,{'channelId':_0x1a2630});return this[_0x72554d(0x209)][_0x72554d(0x20f)](_0x1a2630);}async[_0x595b23(0x223)](_0x1acd03){const _0x3d674a=_0x595b23,_0x2cf67e=this[_0x3d674a(0x235)][_0x3d674a(0x23e)][_0x3d674a(0x20f)](_0x521ebd),{connection:_0xa11cfb}=this[_0x3d674a(0x235)][_0x3d674a(0x23e)][_0x3d674a(0x20f)](_0x4800be),_0x51b03e=new Set();for(const {resolvedBy:_0x3bfd16,comments:_0x3c2d89}of _0x1acd03){_0x3bfd16&&!_0x2cf67e[_0x3d674a(0x1f3)](_0x3bfd16)&&_0x51b03e[_0x3d674a(0x1f8)](_0x3bfd16);for(const {userId:_0x3de597}of _0x3c2d89)_0x2cf67e[_0x3d674a(0x1f3)](_0x3de597)||_0x51b03e[_0x3d674a(0x1f8)](_0x3de597);}if(0x0===_0x51b03e[_0x3d674a(0x240)])return;const _0x5dc66b=await _0x114ba0[_0x3d674a(0x1fd)](_0xa11cfb,Array[_0x3d674a(0x21b)](_0x51b03e));for(const _0x10b77b of _0x5dc66b)_0x2cf67e[_0x3d674a(0x1f3)](_0x10b77b['id'])||_0x2cf67e[_0x3d674a(0x21d)](_0x10b77b);}}a[_0x595b23(0x20d)]=_0x2acedf;export default a;function _0x36eb(_0x23d9c4,_0x1c38b6){const _0x30fad6=_0x30fa();return _0x36eb=function(_0x36ebd2,_0x2c1d83){_0x36ebd2=_0x36ebd2-0x1e6;let _0x5e4b52=_0x30fad6[_0x36ebd2];return _0x5e4b52;},_0x36eb(_0x23d9c4,_0x1c38b6);}async function B(_0x597450){const _0x575f31=_0x595b23;if(_0x575f31(0x1eb)!==_0x597450[_0x575f31(0x22e)])throw _0x597450;}function _0x30fa(){const _0x3657f2=['assign','updateComment','Permissions','getMany','has','1646986BWKhuY','setPermissions','547640DRPUke','startsWith','userId','reconnect','collaboration.channelId','14ljPVtb','commentId','delete','_services','config','_connectService','resolvedBy','CommentsService','commentThreadResolved','get','removeCommentThread','disconnect','update','commentAdded','removeComment','commentThreadReopened','comments','getComment','off','cloud-services-internal-error:\x20Request\x20timeout.','connect','from','authorId','addUser','message','resolveCommentThread','set','commentThreadRemoved','commentRemoved','_fetchMissingUsersForThreads','requires','destroy','reopenCommentThread','init','getCommentThread','getCommentThreads','5311590VGsjAz','commentThreadUpdated','pluginName','cloudservicescommentsadapter-service-not-exist','code','getConnectedSessions','mySessionId','cloud-services-internal-error:\x20Not\x20connected.','8ADKcTV','map','attributes','context','keys','addComment','addCommentThread','_getService','resolvedAt','4722gIFVbD','createdAt','deletedAt','plugins','commentThreadId','size','_setUpService','adapter','1976382rOSrko','commentUpdated','cloudservicescommentsadapter-connect-already-connected','CloudServicesCommentsAdapter','5FozOaw','listenTo','_terminateService','195525ynroWR','catch','remove','resolve','addToReconnectionStack','reopen','404','updateCommentThread','307203zCYyDj','cloud-services-internal-error:\x20Comments\x20Service\x20is\x20not\x20connected.','1106WLoSaY','cloudservicescommentsadapter-disconnect-not-exist','CommentsRepository','register','getUser','commentThreadAdded','unregister','sessionAdd:','permissions','add','content'];_0x30fa=function(){return _0x3657f2;};return _0x30fa();}function R(_0x36ae0b){const _0xb8bcea=_0x595b23;if((_0x5624e8=_0x36ae0b)[_0xb8bcea(0x21e)][_0xb8bcea(0x202)](_0xb8bcea(0x1ee))||_0x5624e8[_0xb8bcea(0x21e)][_0xb8bcea(0x202)](_0xb8bcea(0x231))||_0x5624e8[_0xb8bcea(0x21e)][_0xb8bcea(0x202)](_0xb8bcea(0x219)))return new Promise(()=>{});var _0x5624e8;throw _0x36ae0b;}function S(_0x362b4f){const _0x5088cc=_0x595b23;return{'threadId':_0x362b4f[_0x5088cc(0x23f)],'commentId':_0x362b4f[_0x5088cc(0x207)],'content':_0x362b4f[_0x5088cc(0x1f9)],'createdAt':_0x362b4f[_0x5088cc(0x23c)],'authorId':_0x362b4f[_0x5088cc(0x203)],'attributes':_0x362b4f[_0x5088cc(0x234)]||{}};}
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
const
|
|
23
|
+
const _0x1db1e4=_0x4780;(function(_0x558049,_0x590c2c){const _0xbd1ed6=_0x4780,_0x26d017=_0x558049();while(!![]){try{const _0x18ad38=-parseInt(_0xbd1ed6(0x1ef))/0x1+parseInt(_0xbd1ed6(0x1f1))/0x2*(-parseInt(_0xbd1ed6(0x200))/0x3)+-parseInt(_0xbd1ed6(0x203))/0x4+-parseInt(_0xbd1ed6(0x201))/0x5*(parseInt(_0xbd1ed6(0x204))/0x6)+-parseInt(_0xbd1ed6(0x1fb))/0x7+parseInt(_0xbd1ed6(0x1fa))/0x8+parseInt(_0xbd1ed6(0x1e8))/0x9;if(_0x18ad38===_0x590c2c)break;else _0x26d017['push'](_0x26d017['shift']());}catch(_0x34fc1d){_0x26d017['push'](_0x26d017['shift']());}}}(_0x43a1,0xd30a3));import{Plugin as _0x3dcedf}from'ckeditor5/src/core.js';function _0x4780(_0x135fe4,_0x94f04){const _0x43a166=_0x43a1();return _0x4780=function(_0x4780ab,_0xb922eb){_0x4780ab=_0x4780ab-0x1e8;let _0x3b0f17=_0x43a166[_0x4780ab];return _0x3b0f17;},_0x4780(_0x135fe4,_0x94f04);}import _0x36f705 from'./realtimecollaborativecomments/cloudservicescommentsadapter.js';import _0x5133a6 from'./realtimecollaborativeediting.js';import _0x4258b0 from'./realtimecollaborativeediting/websocketgateway.js';export default class m extends _0x3dcedf{static get[_0x1db1e4(0x1fd)](){const _0x55baaf=_0x1db1e4;return[_0x55baaf(0x1fc),_0x36f705,_0x5133a6,_0x4258b0];}static get[_0x1db1e4(0x205)](){const _0x243d5b=_0x1db1e4;return _0x243d5b(0x202);}[_0x1db1e4(0x1f7)](){const _0x19a393=_0x1db1e4,_0x47f514=this[_0x19a393(0x1ed)][_0x19a393(0x1f0)][_0x19a393(0x1f4)](_0x4258b0),_0xd443e6=this[_0x19a393(0x1ed)][_0x19a393(0x1f0)][_0x19a393(0x1f4)](_0x19a393(0x1ff)),_0x16f4dc=this[_0x19a393(0x1ed)][_0x19a393(0x1f0)][_0x19a393(0x1f4)](_0x36f705);return this[_0x19a393(0x1ed)][_0x19a393(0x1e9)][_0x19a393(0x1ec)](_0x19a393(0x1ee),()=>{const _0x17659d=_0x19a393;this[_0x17659d(0x1fe)](_0x47f514,_0x17659d(0x1eb),(_0x4195be,_0x3e82d9,_0x101a96)=>{const _0x95987=_0x17659d;_0xd443e6[_0x95987(0x207)]=_0x95987(0x1f9)!==_0x101a96;});}),this[_0x19a393(0x1fe)](_0x47f514,_0x19a393(0x1eb),(_0x385f0f,_0x3b9281,_0x4a3ba7)=>{const _0x265d86=_0x19a393;this[_0x265d86(0x1ed)][_0x265d86(0x1f0)][_0x265d86(0x1f4)](_0x265d86(0x1f2))[_0x265d86(0x1f3)](_0x265d86(0x1f9)!==_0x4a3ba7);}),_0x16f4dc[_0x19a393(0x1f6)](this[_0x19a393(0x1ed)][_0x19a393(0x206)][_0x19a393(0x1f4)](_0x19a393(0x1f8)));}[_0x1db1e4(0x1f5)](){const _0x605b8d=_0x1db1e4;this[_0x605b8d(0x1ed)][_0x605b8d(0x1f0)][_0x605b8d(0x1f4)](_0x36f705)[_0x605b8d(0x1ea)](this[_0x605b8d(0x1ed)][_0x605b8d(0x206)][_0x605b8d(0x1f4)](_0x605b8d(0x1f8))),super[_0x605b8d(0x1f5)]();}}function _0x43a1(){const _0x1a0986=['6221355kpaRPa','Comments','requires','listenTo','CommentsEditing','3casAWa','2740uHIZyY','RealTimeCollaborativeComments','3057092NBHikI','8598rSJQad','pluginName','config','isThreadsLoadingPaused','49345524sZHhBg','data','_terminateService','change:state','once','editor','ready','963473pyPONf','plugins','3062822WEoJLE','CommentsRepository','switchReadOnly','get','destroy','_setUpService','init','collaboration.channelId','connected','2518312jCOHYS'];_0x43a1=function(){return _0x1a0986;};return _0x43a1();}
|