@ckeditor/ckeditor5-real-time-collaboration 43.1.0 → 43.1.1
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
|
+
(_0x4ef16a=>{const {'zh-cn':{dictionary:_0x74fb81,getPluralForm:_0x558c3a}}={'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':_0x5e37b7=>0x0}};_0x4ef16a['zh-cn']||={'dictionary':{},'getPluralForm':null},_0x4ef16a['zh-cn']['dictionary']=Object['assign'](_0x4ef16a['zh-cn']['dictionary'],_0x74fb81),_0x4ef16a['zh-cn']['getPluralForm']=_0x558c3a;})(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':_0x4f4f16=>0x0}};
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
(
|
|
23
|
+
(_0x4d55df=>{const {zh:{dictionary:_0x5e05ba,getPluralForm:_0x4c80c3}}={'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':_0xc06d84=>0x0}};_0x4d55df['zh']||={'dictionary':{},'getPluralForm':null},_0x4d55df['zh']['dictionary']=Object['assign'](_0x4d55df['zh']['dictionary'],_0x5e05ba),_0x4d55df['zh']['getPluralForm']=_0x4c80c3;})(window['CKEDITOR_TRANSLATIONS']||={});
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@ckeditor/ckeditor5-real-time-collaboration",
|
|
3
|
-
"version": "43.1.
|
|
3
|
+
"version": "43.1.1",
|
|
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.1.
|
|
46
|
-
"@ckeditor/ckeditor5-engine": "43.1.
|
|
47
|
-
"@ckeditor/ckeditor5-operations-compressor": "43.1.
|
|
48
|
-
"@ckeditor/ckeditor5-theme-lark": "43.1.
|
|
49
|
-
"@ckeditor/ckeditor5-ui": "43.1.
|
|
50
|
-
"@ckeditor/ckeditor5-utils": "43.1.
|
|
51
|
-
"ckeditor5": "43.1.
|
|
52
|
-
"ckeditor5-collaboration": "43.1.
|
|
45
|
+
"@ckeditor/ckeditor5-core": "43.1.1",
|
|
46
|
+
"@ckeditor/ckeditor5-engine": "43.1.1",
|
|
47
|
+
"@ckeditor/ckeditor5-operations-compressor": "43.1.1",
|
|
48
|
+
"@ckeditor/ckeditor5-theme-lark": "43.1.1",
|
|
49
|
+
"@ckeditor/ckeditor5-ui": "43.1.1",
|
|
50
|
+
"@ckeditor/ckeditor5-utils": "43.1.1",
|
|
51
|
+
"ckeditor5": "43.1.1",
|
|
52
|
+
"ckeditor5-collaboration": "43.1.1",
|
|
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(_0x439d99,_0x411508,_0x2d52ce){const t=_0x439d99['t'];switch(_0x411508){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'},_0x2d52ce);default:return'';}}
|
package/src/index.js
CHANGED
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
(function(
|
|
23
|
+
(function(_0x588916,_0x5c30c1){var _0x55f989=_0x1691,_0x5f4ce3=_0x588916();while(!![]){try{var _0x1046da=parseInt(_0x55f989(0x17d))/0x1+parseInt(_0x55f989(0x17b))/0x2+-parseInt(_0x55f989(0x183))/0x3*(-parseInt(_0x55f989(0x182))/0x4)+-parseInt(_0x55f989(0x17f))/0x5+parseInt(_0x55f989(0x17e))/0x6+-parseInt(_0x55f989(0x17c))/0x7*(parseInt(_0x55f989(0x184))/0x8)+parseInt(_0x55f989(0x181))/0x9*(-parseInt(_0x55f989(0x180))/0xa);if(_0x1046da===_0x5c30c1)break;else _0x5f4ce3['push'](_0x5f4ce3['shift']());}catch(_0x171a86){_0x5f4ce3['push'](_0x5f4ce3['shift']());}}}(_0x256c,0xf07a9));export{default as RealTimeCollaborativeEditing}from'./realtimecollaborativeediting.js';export{default as RealTimeCollaborativeTrackChanges}from'./realtimecollaborativetrackchanges.js';export{default as RealTimeCollaborativeComments}from'./realtimecollaborativecomments.js';export{default as RealTimeCollaborativeRevisionHistory}from'./realtimecollaborativerevisionhistory.js';export{default as CloudServicesCommentsAdapter}from'./realtimecollaborativecomments/cloudservicescommentsadapter.js';function _0x256c(){var _0x48f388=['7588602XLYuOO','9661480UjJfzH','11314600bdIZsA','18FZvmZb','602056NORxaQ','39ljQrpR','112hZUCyr','3862662IVVRCd','727069cflKBT','1481575JQyBbE'];_0x256c=function(){return _0x48f388;};return _0x256c();}export{default as CloudServicesTrackChangesAdapter}from'./realtimecollaborativetrackchanges/cloudservicestrackchangesadapter.js';export{default as CloudServicesRevisionHistoryAdapter}from'./realtimecollaborativerevisionhistory/cloudservicesrevisionhistoryadapter.js';export{default as RealTimeCollaborationClient}from'./realtimecollaborativeediting/realtimecollaborationclient.js';export{default as PresenceList}from'./presencelist.js';function _0x1691(_0x26681b,_0x543e73){var _0x256ca8=_0x256c();return _0x1691=function(_0x16911c,_0x2860ed){_0x16911c=_0x16911c-0x17b;var _0x37ae3e=_0x256ca8[_0x16911c];return _0x37ae3e;},_0x1691(_0x26681b,_0x543e73);}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 _0x29ffc0=_0x54fc;(function(_0x34bfdc,_0x4c85dc){const _0x214b1a=_0x54fc,_0x348956=_0x34bfdc();while(!![]){try{const _0x16c1f7=parseInt(_0x214b1a(0x8a))/0x1*(-parseInt(_0x214b1a(0xd7))/0x2)+-parseInt(_0x214b1a(0xe3))/0x3*(parseInt(_0x214b1a(0xdf))/0x4)+-parseInt(_0x214b1a(0x8c))/0x5*(parseInt(_0x214b1a(0xc4))/0x6)+-parseInt(_0x214b1a(0xcd))/0x7+parseInt(_0x214b1a(0xd5))/0x8*(-parseInt(_0x214b1a(0xa2))/0x9)+parseInt(_0x214b1a(0xba))/0xa+-parseInt(_0x214b1a(0x89))/0xb*(-parseInt(_0x214b1a(0xda))/0xc);if(_0x16c1f7===_0x4c85dc)break;else _0x348956['push'](_0x348956['shift']());}catch(_0x4bbcd3){_0x348956['push'](_0x348956['shift']());}}}(_0x236e,0xef609));import{ContextPlugin as _0x3cfd16}from'ckeditor5/src/core.js';import{CKEditorError as _0x4cbc4d,Collection as _0x394e69}from'ckeditor5/src/utils.js';import{clickOutsideHandler as _0xef560a,BalloonPanelView as _0x1db285,BodyCollection as _0x2622bf}from'ckeditor5/src/ui.js';import{isElement as _0x24898b}from'lodash-es';import _0x4a39cd from'../realtimecollaborativeediting/sessions.js';import _0x3cd75f from'./view/presencelistview.js';import _0x271dc5 from'./view/presencedropdownlistview.js';import _0xadf494 from'./view/presencedropdownlistitemview.js';import _0x497ae8 from'./view/presenceinlinelistitemview.js';function _0x54fc(_0x167fc7,_0x4ad8bc){const _0x236e21=_0x236e();return _0x54fc=function(_0x54fc86,_0x503abb){_0x54fc86=_0x54fc86-0x87;let _0x3242ce=_0x236e21[_0x54fc86];return _0x3242ce;},_0x54fc(_0x167fc7,_0x4ad8bc);}const A={'collapseAt':0x6,'displayMe':!0x0};export default class s extends _0x3cfd16{constructor(_0x21fe14){const _0xf2af0=_0x54fc;super(_0x21fe14),this[_0xf2af0(0xd1)]=null,this[_0xf2af0(0xad)][_0xf2af0(0xc8)][_0xf2af0(0xe4)](_0xf2af0(0xa9),A);const _0x226197=_0x21fe14[_0xf2af0(0xc8)][_0xf2af0(0xac)](_0xf2af0(0xb8));if(_0xf2af0(0xe0)!=typeof _0x226197)throw new _0x4cbc4d(_0xf2af0(0x9f),this);if(_0x226197<0x1)throw new _0x4cbc4d(_0xf2af0(0x9f),this);this[_0xf2af0(0xb1)]=this[_0xf2af0(0xad)][_0xf2af0(0xcb)][_0xf2af0(0xac)](_0x4a39cd)[_0xf2af0(0xe2)],this[_0xf2af0(0xa7)](_0xf2af0(0x9e),0x0),this[_0xf2af0(0x8b)]=new _0x394e69(),this[_0xf2af0(0xa6)]=new _0x1db285(),this[_0xf2af0(0xa6)][_0xf2af0(0xbd)]=_0xf2af0(0xc2),this[_0xf2af0(0x95)]=this[_0xf2af0(0x9c)](),this[_0xf2af0(0xa4)]=void 0x0;}static get[_0x29ffc0(0xe8)](){return[_0x4a39cd];}[_0x29ffc0(0xd0)](){const _0x3b3bb6=_0x29ffc0;for(const _0x1fc339 of this[_0x3b3bb6(0xb1)])this[_0x3b3bb6(0x99)](_0x1fc339);this[_0x3b3bb6(0xbb)](this[_0x3b3bb6(0xb1)],_0x3b3bb6(0xca),(_0x24732b,_0x271cd9)=>{const _0x4709b0=_0x3b3bb6;this[_0x4709b0(0x99)](_0x271cd9);}),this[_0x3b3bb6(0xbb)](this[_0x3b3bb6(0xb1)],_0x3b3bb6(0xa0),(_0x2ffdf7,_0x31f641)=>{const _0x584b97=_0x3b3bb6;this[_0x584b97(0x9a)](_0x31f641);});}[_0x29ffc0(0x9c)](){const _0x1ce3c3=_0x29ffc0,_0x80a051=this[_0x1ce3c3(0xad)],_0x1b4234=new _0x3cd75f(this[_0x1ce3c3(0xad)][_0x1ce3c3(0xcc)]),_0x5094d5=this[_0x1ce3c3(0xa6)];if(!_0x24898b(_0x80a051[_0x1ce3c3(0xc8)][_0x1ce3c3(0xac)](_0x1ce3c3(0xc1))))throw new _0x4cbc4d(_0x1ce3c3(0xc0),this);return _0x1b4234[_0x1ce3c3(0x93)][_0x1ce3c3(0xb4)](_0x1ce3c3(0x9e))['to'](this),_0x1b4234[_0x1ce3c3(0xb4)](_0x1ce3c3(0x88))['to'](this,_0x1ce3c3(0x9e),_0x389dbb=>{const _0xff9686=_0x1ce3c3,{collapseAt:_0x231559,displayMe:_0x99ae1e}=_0x80a051[_0xff9686(0xc8)][_0xff9686(0xac)](_0xff9686(0xa9)),_0x32b69a=_0x389dbb>=_0x231559;return _0x1b4234[_0xff9686(0x93)][_0xff9686(0xce)]=!(0x1==_0x389dbb&&_0x99ae1e||_0x32b69a),_0x32b69a||this[_0xff9686(0xbc)](),_0x32b69a;}),_0x1b4234[_0x1ce3c3(0x91)][_0x1ce3c3(0xc5)][_0x1ce3c3(0xbe)](this[_0x1ce3c3(0x8b)])[_0x1ce3c3(0x97)](_0x186186=>{const _0x187b41=_0x1ce3c3,_0x5401b8=_0x80a051[_0x187b41(0xc8)][_0x187b41(0xac)](_0x187b41(0xa9)),_0x202d02=new _0x497ae8(_0x80a051[_0x187b41(0xcc)],_0x186186,!!_0x5401b8[_0x187b41(0xcf)]);return _0x202d02[_0x187b41(0xb4)](_0x187b41(0x9d))['to'](_0x1b4234,_0x187b41(0x88),_0x46d73e=>!_0x46d73e),_0x202d02[_0x187b41(0xb4)](_0x187b41(0x90))['to'](_0x1b4234,_0x187b41(0x88),_0xaa65c6=>!_0xaa65c6),_0x5401b8[_0x187b41(0xcf)]&&this[_0x187b41(0xbb)](_0x202d02,_0x187b41(0xd3),()=>{const _0x219bef=_0x187b41;this[_0x219bef(0x95)][_0x219bef(0x88)]||_0x5401b8[_0x219bef(0xcf)](_0x186186,_0x202d02[_0x219bef(0xb2)]);}),_0x202d02;}),this[_0x1ce3c3(0xbb)](_0x1b4234[_0x1ce3c3(0x91)],_0x1ce3c3(0xd3),()=>{const _0x4b5cce=_0x1ce3c3;this[_0x4b5cce(0xa4)]?this[_0x4b5cce(0xbc)]():this[_0x4b5cce(0x95)][_0x4b5cce(0x88)]&&this[_0x4b5cce(0xdc)]();}),_0x1b4234[_0x1ce3c3(0x91)][_0x1ce3c3(0xe9)][_0x1ce3c3(0xa7)](_0x1ce3c3(0x96),(_0x1e3cfe,_0x2e3f39)=>{const _0x558db6=_0x1ce3c3;this[_0x558db6(0x95)][_0x558db6(0x88)]&&(this[_0x558db6(0xdc)](),_0x2e3f39());}),_0x1b4234[_0x1ce3c3(0xc3)](),_0x5094d5[_0x1ce3c3(0xc3)](),_0xef560a({'emitter':_0x1b4234,'activator':()=>_0x5094d5[_0x1ce3c3(0xc9)],'contextElements':[_0x5094d5[_0x1ce3c3(0xb2)],_0x1b4234[_0x1ce3c3(0x91)][_0x1ce3c3(0xb2)]],'callback':()=>this[_0x1ce3c3(0xbc)]()}),_0x80a051[_0x1ce3c3(0xc8)][_0x1ce3c3(0xac)](_0x1ce3c3(0xc1))[_0x1ce3c3(0x94)](_0x1b4234[_0x1ce3c3(0xb2)]),this[_0x1ce3c3(0xd1)]=new _0x2622bf(this[_0x1ce3c3(0xad)][_0x1ce3c3(0xcc)]),this[_0x1ce3c3(0xd1)][_0x1ce3c3(0xc7)](),this[_0x1ce3c3(0xd1)][_0x1ce3c3(0xca)](this[_0x1ce3c3(0xa6)]),_0x1b4234;}[_0x29ffc0(0x99)](_0x266e0a){const _0x31b5ad=_0x29ffc0;if(!this[_0x31b5ad(0xad)][_0x31b5ad(0xc8)][_0x31b5ad(0xac)](_0x31b5ad(0xe1))&&_0x266e0a[_0x31b5ad(0xe7)])return;const _0x42c142=this[_0x31b5ad(0xad)][_0x31b5ad(0xc8)][_0x31b5ad(0xac)](_0x31b5ad(0xb8))-0x1;this[_0x31b5ad(0x9e)]++,this[_0x31b5ad(0x8b)][_0x31b5ad(0xd8)]==_0x42c142&&this[_0x31b5ad(0x8b)][_0x31b5ad(0xd8)]>0x1&&this[_0x31b5ad(0x8b)][_0x31b5ad(0xa0)](0x1);const _0x3faa49=_0x266e0a[_0x31b5ad(0xe7)]?0x0:this[_0x31b5ad(0x8b)][_0x31b5ad(0xd8)];this[_0x31b5ad(0x8b)][_0x31b5ad(0xca)](_0x266e0a,_0x3faa49);}[_0x29ffc0(0x9a)](_0x2d3fb0){const _0x22c007=_0x29ffc0;if(this[_0x22c007(0x9e)]--,this[_0x22c007(0x8b)][_0x22c007(0xac)](_0x2d3fb0['id'])&&(this[_0x22c007(0x8b)][_0x22c007(0xa0)](_0x2d3fb0['id']),this[_0x22c007(0x8b)][_0x22c007(0xd8)]<this[_0x22c007(0x9e)])){for(const _0x2e96fa of Array[_0x22c007(0xde)](this[_0x22c007(0xb1)])[_0x22c007(0xb6)]())if(!this[_0x22c007(0x8b)][_0x22c007(0xac)](_0x2e96fa['id']))return void this[_0x22c007(0x8b)][_0x22c007(0xca)](_0x2e96fa,Math[_0x22c007(0x8d)](this[_0x22c007(0x8b)][_0x22c007(0xd8)],0x1));}}[_0x29ffc0(0xdc)](){const _0x35da68=_0x29ffc0;if(this[_0x35da68(0xa4)])return;const _0x4f2ecd=this[_0x35da68(0xad)][_0x35da68(0xc8)][_0x35da68(0xac)](_0x35da68(0xa9));this[_0x35da68(0xa4)]=new _0x271dc5(this[_0x35da68(0xad)][_0x35da68(0xcc)],!!_0x4f2ecd[_0x35da68(0xcf)]),this[_0x35da68(0x95)][_0x35da68(0x91)][_0x35da68(0xd9)]=!0x0;const {listWrapperView:_0x2f7dc3}=this[_0x35da68(0xa4)];_0x2f7dc3[_0x35da68(0xc5)][_0x35da68(0xbe)](this[_0x35da68(0xb1)])[_0x35da68(0x97)](_0x3d0ffa=>{const _0x437c30=_0x35da68;if(!_0x4f2ecd[_0x437c30(0xab)]&&_0x3d0ffa[_0x437c30(0xe7)])return null;const _0x275fb4=new _0xadf494(this[_0x437c30(0xad)][_0x437c30(0xcc)],_0x3d0ffa,!!_0x4f2ecd[_0x437c30(0xcf)]);return _0x4f2ecd[_0x437c30(0xcf)]&&this[_0x437c30(0xbb)](_0x275fb4,_0x437c30(0xd3),()=>{const _0x12e3c3=_0x437c30;_0x4f2ecd[_0x12e3c3(0xcf)](_0x3d0ffa,_0x275fb4[_0x12e3c3(0xb2)]);}),_0x275fb4;}),this[_0x35da68(0xa6)][_0x35da68(0x87)][_0x35da68(0xca)](this[_0x35da68(0xa4)]),this[_0x35da68(0xa6)][_0x35da68(0xa3)]({'target':this[_0x35da68(0x95)][_0x35da68(0x91)][_0x35da68(0xb2)]}),_0x2f7dc3[_0x35da68(0xea)](),_0x2f7dc3[_0x35da68(0xc6)]();const _0x3f1e22=(_0x131c0e,_0x1f8995)=>{const _0x2599cb=_0x35da68;this[_0x2599cb(0xbc)](),this[_0x2599cb(0x95)][_0x2599cb(0x91)][_0x2599cb(0xea)](),_0x1f8995();};_0x2f7dc3[_0x35da68(0xe9)][_0x35da68(0xa7)](_0x35da68(0xe6),_0x3f1e22),_0x2f7dc3[_0x35da68(0xe9)][_0x35da68(0xa7)](_0x35da68(0x92),_0x3f1e22),_0x2f7dc3[_0x35da68(0xe9)][_0x35da68(0xa7)](_0x35da68(0xdb),(_0x18d672,_0x575a02)=>{const _0x335a5f=_0x35da68;!function(_0x44ff47){const _0x4acd97=_0x54fc,_0x5b0f55=['a',_0x4acd97(0xb9),_0x4acd97(0xaa),_0x4acd97(0xed),_0x4acd97(0xd6),_0x4acd97(0xaf),_0x4acd97(0x8f)][_0x4acd97(0xa8)](_0x464bfb=>_0x464bfb+_0x4acd97(0xb3))[_0x4acd97(0xb7)](','),_0x36bf62=[...document[_0x4acd97(0xb0)][_0x4acd97(0xd2)](_0x5b0f55)][_0x4acd97(0x98)](_0x461390=>_0x461390===document[_0x4acd97(0xae)]||_0x461390[_0x4acd97(0xeb)]+_0x461390[_0x4acd97(0xa5)]>0x0)[_0x4acd97(0xbf)]((_0xd40a6d,_0x1af376)=>(_0xd40a6d[_0x4acd97(0xec)]||0x0)-(_0x1af376[_0x4acd97(0xec)]||0x0)),_0x23f350=_0x36bf62[_0x4acd97(0xdd)](_0x44ff47),_0x7d0c32=_0x36bf62[(_0x23f350+0x1)%_0x36bf62[_0x4acd97(0xd8)]];_0x7d0c32&&_0x7d0c32[_0x4acd97(0xea)]();}(this[_0x335a5f(0x95)][_0x335a5f(0xb2)]),this[_0x335a5f(0xbc)](),_0x575a02();}),_0x2f7dc3[_0x35da68(0xe5)][_0x35da68(0xca)](this[_0x35da68(0x95)][_0x35da68(0xb2)]),_0x2f7dc3[_0x35da68(0xe5)]['on'](_0x35da68(0xd4),(_0x322a12,_0x3996a9,_0x53b3e2)=>{const _0x54157c=_0x35da68;_0x53b3e2||this[_0x54157c(0xbc)]();});}[_0x29ffc0(0xbc)](){const _0x70892b=_0x29ffc0;this[_0x70892b(0xa4)]&&(this[_0x70892b(0x95)][_0x70892b(0x91)][_0x70892b(0xd9)]=!0x1,this[_0x70892b(0xa6)][_0x70892b(0xb5)](),this[_0x70892b(0xa6)][_0x70892b(0x87)][_0x70892b(0xa0)](this[_0x70892b(0xa4)]),this[_0x70892b(0xa4)][_0x70892b(0x9b)](),this[_0x70892b(0xa4)]=void 0x0);}[_0x29ffc0(0x9b)](){const _0x20ce94=_0x29ffc0;super[_0x20ce94(0x9b)](),this[_0x20ce94(0x95)]&&this[_0x20ce94(0x95)][_0x20ce94(0x8e)]&&this[_0x20ce94(0x95)][_0x20ce94(0x9b)](),this[_0x20ce94(0xd1)]&&(this[_0x20ce94(0xd1)][_0x20ce94(0xa1)](),this[_0x20ce94(0xd1)][_0x20ce94(0x9b)](),this[_0x20ce94(0xd1)]=null);}}function _0x236e(){const _0x29e837=['showDropdown','indexOf','from','84JGgpgK','number','presenceList.displayMe','allConnectedUsers','274143JiOugZ','define','focusTracker','Esc','isMe','requires','keystrokes','focus','offsetWidth','tabIndex','select','content','isCollapsed','6073573NmNHDU','19RvmRCa','currentDisplayedUsers','1902020OUeGIV','min','isRendered','[contenteditable]','isFocusable','inlineListView','Shift+Tab','counterView','appendChild','view','Enter','using','filter','_handleUserAdd','_handleUserRemove','destroy','_createView','hasTooltip','usersCount','presencelist-collapseat-invalid-format','remove','detachFromDom','2446866BtbWhu','pin','presenceDropdownView','offsetHeight','balloonPanelView','set','map','presenceList','input','displayMe','get','context','activeElement','[tabindex]','body','_allConnectedUsers','element',':not([disabled]):not([tabindex=\x22-1\x22])','bind','unpin','reverse','join','presenceList.collapseAt','button','4658070yAyhXd','listenTo','hideDropdown','class','bindTo','sort','presencelist-missing-container','presenceList.container','ck\x20ck-presence-list__balloon','render','6ajElww','items','checkIfScrollable','attachToDom','config','isVisible','add','plugins','locale','4798787VbFhhf','isHidden','onClick','init','_bodyCollection','querySelectorAll','execute','change:isFocused','40bICbSa','textarea','127850ddxDaJ','length','isExpanded','132hrQmPZ','Tab'];_0x236e=function(){return _0x29e837;};return _0x236e();}
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
(function(
|
|
23
|
+
function _0x59c3(_0x4a9c6d,_0x4060e3){const _0x45469e=_0x4546();return _0x59c3=function(_0x59c3fd,_0x1883a1){_0x59c3fd=_0x59c3fd-0x19c;let _0x2d37d6=_0x45469e[_0x59c3fd];return _0x2d37d6;},_0x59c3(_0x4a9c6d,_0x4060e3);}(function(_0x15945c,_0x11f2c9){const _0x155540=_0x59c3,_0x3f2747=_0x15945c();while(!![]){try{const _0x3cd97d=-parseInt(_0x155540(0x1a8))/0x1*(-parseInt(_0x155540(0x1a5))/0x2)+-parseInt(_0x155540(0x1a7))/0x3+parseInt(_0x155540(0x1ad))/0x4*(-parseInt(_0x155540(0x19d))/0x5)+parseInt(_0x155540(0x1a1))/0x6+-parseInt(_0x155540(0x1ab))/0x7+-parseInt(_0x155540(0x19f))/0x8+parseInt(_0x155540(0x1a3))/0x9;if(_0x3cd97d===_0x11f2c9)break;else _0x3f2747['push'](_0x3f2747['shift']());}catch(_0x140365){_0x3f2747['push'](_0x3f2747['shift']());}}}(_0x4546,0x40974));function _0x4546(){const _0x317dd8=['401146iIvAmn','CONNECTED_USERS','290211KKLIis','2fpRzdS','bindTemplate','setTemplate','3216024aAjlcA','isHidden','24GmrrNm','ck-presence-list__counter--hidden','202415LPoCNC','div','3672024RtKGri','ck-presence-list__counter','2513328rmoqTO','set','6323400RdxfRf','usersCount'];_0x4546=function(){return _0x317dd8;};return _0x4546();}import{View as _0x2567a4}from'ckeditor5/src/ui.js';import{getTranslation as _0x40c87b}from'../../common-translations.js';export default class ts extends _0x2567a4{constructor(_0xe2f3c2){const _0x26121a=_0x59c3;super(_0xe2f3c2);const _0x1a5ea9=this[_0x26121a(0x1a9)];this[_0x26121a(0x1a2)](_0x26121a(0x1a4),0x0),this[_0x26121a(0x1a2)](_0x26121a(0x1ac),!0x0),this[_0x26121a(0x1aa)]({'tag':_0x26121a(0x19e),'attributes':{'class':['ck',_0x26121a(0x1a0),_0x1a5ea9['if'](_0x26121a(0x1ac),_0x26121a(0x19c))]},'children':[{'text':_0x1a5ea9['to'](_0x26121a(0x1a4),_0x328871=>_0x40c87b(_0xe2f3c2,_0x26121a(0x1a6),_0x328871))}]});}}
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
const
|
|
23
|
+
function _0x19c1(_0x5a2c11,_0x31ae7f){const _0x6a177=_0x6a17();return _0x19c1=function(_0x19c1fe,_0x234927){_0x19c1fe=_0x19c1fe-0x1d4;let _0x19a922=_0x6a177[_0x19c1fe];return _0x19a922;},_0x19c1(_0x5a2c11,_0x31ae7f);}function _0x6a17(){const _0x473cc8=['execute','9tCwQos','6023888gFmFzx','1246092drBKwy','color','span','focus','1156780UAKcyT','ck-user__full-name','5DLMQdn','button','true','60bkIvLJ','element','name','285TKySeg','setTemplate','13092UHwcNb','getBackgroundColorClass','tag','ck-presence-list__marker','1179206QUDJoD','userView','bindTemplate','presentation','14703rhvSxQ','fire','ck-presence-list__dropdown-list-item','2365352lGDPNi'];_0x6a17=function(){return _0x473cc8;};return _0x6a17();}const _0xe9925f=_0x19c1;(function(_0x460503,_0x5deae4){const _0x5e6150=_0x19c1,_0x37e0f3=_0x460503();while(!![]){try{const _0x4c95c4=parseInt(_0x5e6150(0x1dd))/0x1+-parseInt(_0x5e6150(0x1d5))/0x2*(-parseInt(_0x5e6150(0x1f0))/0x3)+parseInt(_0x5e6150(0x1e8))/0x4+-parseInt(_0x5e6150(0x1ea))/0x5*(-parseInt(_0x5e6150(0x1e4))/0x6)+parseInt(_0x5e6150(0x1d9))/0x7+parseInt(_0x5e6150(0x1e3))/0x8*(parseInt(_0x5e6150(0x1e2))/0x9)+-parseInt(_0x5e6150(0x1ed))/0xa*(parseInt(_0x5e6150(0x1e0))/0xb);if(_0x4c95c4===_0x5deae4)break;else _0x37e0f3['push'](_0x37e0f3['shift']());}catch(_0x3017d2){_0x37e0f3['push'](_0x37e0f3['shift']());}}}(_0x6a17,0xbab1e));import{ListItemView as _0x5ef790}from'ckeditor5/src/ui.js';import{UserView as _0x5dcf86}from'ckeditor5-collaboration/src/collaboration-core.js';export default class k extends _0x5ef790{constructor(_0x48f3d3,_0x3e5ccd,_0x4d6c71){const _0x528d90=_0x19c1;super(_0x48f3d3);const _0x4bdd28=this[_0x528d90(0x1db)];this[_0x528d90(0x1da)]=new _0x5dcf86(_0x48f3d3,_0x3e5ccd);const _0x3f0c1b={'tag':'li','attributes':{'class':['ck',_0x528d90(0x1df)],'tabindex':-0x1,'role':_0x528d90(0x1dc),'aria-label':_0x3e5ccd[_0x528d90(0x1ef)]},'children':[this[_0x528d90(0x1da)],{'tag':_0x528d90(0x1e6),'attributes':{'class':['ck',_0x528d90(0x1e9)]},'children':[{'text':_0x3e5ccd[_0x528d90(0x1ef)]}]},{'tag':_0x528d90(0x1e6),'attributes':{'class':['ck',_0x528d90(0x1d8),_0x3e5ccd[_0x528d90(0x1e5)][_0x528d90(0x1d6)]()],'aria-hidden':_0x528d90(0x1ec)}}]};_0x4d6c71&&(_0x3f0c1b[_0x528d90(0x1d7)]=_0x528d90(0x1eb),_0x3f0c1b['on']={'click':_0x4bdd28['to'](()=>this[_0x528d90(0x1de)](_0x528d90(0x1e1)))}),this[_0x528d90(0x1d4)](_0x3f0c1b);}[_0xe9925f(0x1e7)](){const _0x69de7a=_0xe9925f;this[_0x69de7a(0x1ee)][_0x69de7a(0x1e7)]();}}
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
const
|
|
23
|
+
const _0xb03fb1=_0x40ea;function _0x40ea(_0x25be0b,_0x140ba3){const _0x2074df=_0x2074();return _0x40ea=function(_0x40eaeb,_0x402a9d){_0x40eaeb=_0x40eaeb-0x1d8;let _0x398b73=_0x2074df[_0x40eaeb];return _0x398b73;},_0x40ea(_0x25be0b,_0x140ba3);}function _0x2074(){const _0x49e41a=['245pePlmF','ck-list','element','window','resize','scrollHeight','10839006PbqaIc','60908hAYIOp','application','8DNKxih','12225220ZbTOVM','358216HNwjrR','ck-presence-list__dropdown-list-wrapper_scrollable','306qDkgaA','ck-presence-list__dropdown-list','items','ck-presence-list__dropdown-list-wrapper','ck-reset','setTemplate','109153jKzXeh','innerHeight','set','listenTo','render','listWrapperView','clientHeight','66771620CwlVFd','max','change','162462uTGHgI','role','checkIfScrollable','bindTemplate','div','_isScrollable','Connected\x20users\x20list\x20dropdown\x20menu','ariaLabelledBy','ariaLabel'];_0x2074=function(){return _0x49e41a;};return _0x2074();}(function(_0x406d13,_0x121f43){const _0x384f56=_0x40ea,_0x535367=_0x406d13();while(!![]){try{const _0xf00947=-parseInt(_0x384f56(0x1e5))/0x1+-parseInt(_0x384f56(0x1db))/0x2*(-parseInt(_0x384f56(0x1ef))/0x3)+-parseInt(_0x384f56(0x1d9))/0x4*(parseInt(_0x384f56(0x1f8))/0x5)+-parseInt(_0x384f56(0x1d8))/0x6+-parseInt(_0x384f56(0x1dc))/0x7+parseInt(_0x384f56(0x1dd))/0x8*(-parseInt(_0x384f56(0x1df))/0x9)+parseInt(_0x384f56(0x1ec))/0xa;if(_0xf00947===_0x121f43)break;else _0x535367['push'](_0x535367['shift']());}catch(_0x4c5a9b){_0x535367['push'](_0x535367['shift']());}}}(_0x2074,0xeb233));import{ListView as _0x1653d2,View as _0x180334}from'ckeditor5/src/ui.js';import{global as _0x2a1e23}from'ckeditor5/src/utils.js';import{getTranslation as _0x3c7c5a}from'../../common-translations.js';export default class j extends _0x180334{constructor(_0x2122f6,_0x44b150){const _0x32b5c2=_0x40ea;super(_0x2122f6),this[_0x32b5c2(0x1ea)]=new PresenceDropdownListWrapperView(_0x2122f6,_0x44b150),this[_0x32b5c2(0x1e4)]({'tag':_0x32b5c2(0x1f3),'attributes':{'tabindex':-0x1,'role':_0x32b5c2(0x1da),'class':['ck',_0x32b5c2(0x1e0)],'aria-label':_0x3c7c5a(_0x2122f6,_0x32b5c2(0x1f5))},'children':[this[_0x32b5c2(0x1ea)]]});}}export class PresenceDropdownListWrapperView extends _0x1653d2{constructor(_0x4b9583,_0x7cb2e8){const _0x371fe4=_0x40ea;super(_0x4b9583);const _0x4b2b6c=this[_0x371fe4(0x1f2)];this[_0x371fe4(0x1e7)](_0x371fe4(0x1f4),!0x1),this[_0x371fe4(0x1e4)]({'tag':_0x7cb2e8?_0x371fe4(0x1f3):'ul','attributes':{'class':['ck',_0x371fe4(0x1e3),_0x371fe4(0x1f9),_0x371fe4(0x1e2),_0x4b2b6c['if'](_0x371fe4(0x1f4),_0x371fe4(0x1de))],'role':_0x4b2b6c['to'](_0x371fe4(0x1f0)),'aria-label':_0x4b2b6c['to'](_0x371fe4(0x1f7)),'aria-labelledby':_0x4b2b6c['to'](_0x371fe4(0x1f6))},'children':this[_0x371fe4(0x1e1)]}),this[_0x371fe4(0x1e8)](_0x2a1e23[_0x371fe4(0x1fb)],_0x371fe4(0x1fc),()=>this[_0x371fe4(0x1f1)]()),this[_0x371fe4(0x1e1)]['on'](_0x371fe4(0x1ee),()=>this[_0x371fe4(0x1f1)]());}[_0xb03fb1(0x1e9)](){const _0x3df998=_0xb03fb1;super[_0x3df998(0x1e9)](),this[_0x3df998(0x1f1)]();}[_0xb03fb1(0x1f1)](){const _0x51c999=_0xb03fb1,_0x5da836=this[_0x51c999(0x1fa)];_0x5da836&&(this[_0x51c999(0x1f4)]=Math[_0x51c999(0x1ed)](_0x5da836[_0x51c999(0x1fd)],_0x5da836[_0x51c999(0x1eb)])>0.8*window[_0x51c999(0x1e6)]);}}
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
(function(
|
|
23
|
+
(function(_0x491b80,_0x1b20c0){const _0x5f467f=_0x4790,_0x2e944c=_0x491b80();while(!![]){try{const _0x3e41f6=parseInt(_0x5f467f(0x88))/0x1*(parseInt(_0x5f467f(0x8b))/0x2)+-parseInt(_0x5f467f(0x79))/0x3*(-parseInt(_0x5f467f(0x84))/0x4)+parseInt(_0x5f467f(0x9b))/0x5*(-parseInt(_0x5f467f(0x93))/0x6)+parseInt(_0x5f467f(0x86))/0x7*(-parseInt(_0x5f467f(0x8f))/0x8)+parseInt(_0x5f467f(0x87))/0x9+-parseInt(_0x5f467f(0x9a))/0xa*(-parseInt(_0x5f467f(0x83))/0xb)+parseInt(_0x5f467f(0x91))/0xc*(-parseInt(_0x5f467f(0x9c))/0xd);if(_0x3e41f6===_0x1b20c0)break;else _0x2e944c['push'](_0x2e944c['shift']());}catch(_0x53dccf){_0x2e944c['push'](_0x2e944c['shift']());}}}(_0x4f9f,0x87632));import{LabelView as _0x4ad7e6,View as _0x2a4dec}from'ckeditor5/src/ui.js';function _0x4f9f(){const _0x363177=['text','color','3959090QGfXUu','8190TMJgau','9274057ZOqreA','template','816caboYx','setTemplate','tooltipPosition','ck-presence-list__marker','button','tag','span','div','bindTemplate','name','11gXPsBI','7856dGyZaw','ck-presence-list__list-item__tooltip','51646CbEVHn','6857811YkRCwi','53821bnzZQY','true','set','38VSPNrQ','execute','isFocusable','markerView','464eiHDIT','userView','12JCONFC','ck-presence-list__list-item','3732urHKCf','getBackgroundColorClass','hasTooltip','listitem','fire'];_0x4f9f=function(){return _0x363177;};return _0x4f9f();}import{UserView as _0xf2a1a7}from'ckeditor5-collaboration/src/collaboration-core.js';export default class y extends _0x2a4dec{constructor(_0x3e4c61,_0xa79602,_0x2d9a9b){const _0x193f21=_0x4790;super(_0x3e4c61);const _0x1c57a8=this[_0x193f21(0x81)];this[_0x193f21(0x8a)](_0x193f21(0x8d),!0x1),this[_0x193f21(0x8a)](_0x193f21(0x95),!0x0),this[_0x193f21(0x8a)](_0x193f21(0x7b),''),this[_0x193f21(0x90)]=new _0xf2a1a7(_0x3e4c61,_0xa79602),this[_0x193f21(0x8e)]=new dt(_0x3e4c61,_0xa79602);const _0x5f5c6f=new _0x4ad7e6(_0x3e4c61);_0x5f5c6f[_0x193f21(0x9d)][_0x193f21(0x7e)]=_0x193f21(0x7f),_0x5f5c6f[_0x193f21(0x98)]=_0xa79602[_0x193f21(0x82)];const _0x40861c={'tag':_0x193f21(0x80),'attributes':{'class':['ck',_0x193f21(0x92)],'role':_0x193f21(0x96),'tabindex':_0x1c57a8['to'](_0x193f21(0x8d),_0x436c05=>!!_0x436c05&&0x0),'aria-labelledby':_0x5f5c6f['id'],'data-cke-tooltip-text':this[_0x193f21(0x90)][_0x193f21(0x82)],'data-cke-tooltip-position':_0x1c57a8['to'](_0x193f21(0x7b)),'data-cke-tooltip-disabled':_0x1c57a8['to'](_0x193f21(0x95),_0xd94f7=>!_0xd94f7),'data-cke-tooltip-class':_0x193f21(0x85)},'children':[this[_0x193f21(0x90)],this[_0x193f21(0x8e)],_0x5f5c6f]};_0x2d9a9b&&(_0x40861c[_0x193f21(0x7e)]=_0x193f21(0x7d),_0x40861c['on']={'click':_0x1c57a8['to'](()=>this[_0x193f21(0x97)](_0x193f21(0x8c)))}),this[_0x193f21(0x7a)](_0x40861c);}}function _0x4790(_0x1751de,_0x26d0d1){const _0x4f9f51=_0x4f9f();return _0x4790=function(_0x4790e7,_0x20e56d){_0x4790e7=_0x4790e7-0x79;let _0x1c5dee=_0x4f9f51[_0x4790e7];return _0x1c5dee;},_0x4790(_0x1751de,_0x26d0d1);}class dt extends _0x2a4dec{constructor(_0x2f1d45,_0x2c47d3){const _0x15b635=_0x4790;super(_0x2f1d45),this[_0x15b635(0x7a)]({'tag':_0x15b635(0x7f),'attributes':{'class':['ck',_0x15b635(0x7c),_0x2c47d3[_0x15b635(0x99)][_0x15b635(0x94)]()],'aria-hidden':_0x15b635(0x89)}});}}
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
const
|
|
23
|
+
const _0x16acfd=_0x4828;function _0x4828(_0x3de4c3,_0x36edb2){const _0xdaa407=_0xdaa4();return _0x4828=function(_0x4828c2,_0x4c4465){_0x4828c2=_0x4828c2-0xfc;let _0x379903=_0xdaa407[_0x4828c2];return _0x379903;},_0x4828(_0x3de4c3,_0x36edb2);}(function(_0x87b42e,_0x1ab0c7){const _0x4c9450=_0x4828,_0x1b7f64=_0x87b42e();while(!![]){try{const _0x263f98=-parseInt(_0x4c9450(0x116))/0x1*(parseInt(_0x4c9450(0x10d))/0x2)+-parseInt(_0x4c9450(0x11d))/0x3+parseInt(_0x4c9450(0x10a))/0x4*(parseInt(_0x4c9450(0x11b))/0x5)+parseInt(_0x4c9450(0x111))/0x6*(parseInt(_0x4c9450(0x113))/0x7)+-parseInt(_0x4c9450(0x102))/0x8+-parseInt(_0x4c9450(0x101))/0x9+parseInt(_0x4c9450(0x10c))/0xa*(parseInt(_0x4c9450(0x112))/0xb);if(_0x263f98===_0x1ab0c7)break;else _0x1b7f64['push'](_0x1b7f64['shift']());}catch(_0x36f9f9){_0x1b7f64['push'](_0x1b7f64['shift']());}}}(_0xdaa4,0xea9f1));function _0xdaa4(){const _0x5d744b=['listenTo','30qjpbJG','385kaGKhp','2344881xLREGF','ck-presence-list__list','set','1cVNWQV','Collapsed\x20connected\x20users\x20list\x20(press\x20ENTER\x20to\x20open\x20it)','removeAttribute','change:hasPopup','isExpanded','5434515dcrSWo','Connected\x20users\x20list','3048789zJbHaR','element','createCollection','render','items','execute','12989862gPqmQr','12283240fewccI','keystrokes','setTemplate','fire','div','setAttribute','bindTemplate','aria-expanded','4UCtcfv','list','1116940agezJj','3430226RAvKmu','hasPopup','focus'];_0xdaa4=function(){return _0x5d744b;};return _0xdaa4();}import{View as _0x3c5a9c}from'ckeditor5/src/ui.js';import{KeystrokeHandler as _0x215ca4}from'ckeditor5/src/utils.js';import{getTranslation as _0x4726be}from'../../common-translations.js';export default class es extends _0x3c5a9c{constructor(_0x10a8f0){const _0x4c108c=_0x4828;super(_0x10a8f0);const _0xed90cb=this[_0x4c108c(0x108)];this[_0x4c108c(0xff)]=this[_0x4c108c(0xfd)](),this[_0x4c108c(0x103)]=new _0x215ca4(),this[_0x4c108c(0x115)]({'hasPopup':!0x1,'isExpanded':!0x1}),this[_0x4c108c(0x104)]({'tag':_0x4c108c(0x106),'attributes':{'aria-haspopup':_0xed90cb['if'](_0x4c108c(0x10e)),'aria-expanded':_0xed90cb['to'](_0x4c108c(0x11a),_0x321d21=>this[_0x4c108c(0x10e)]&&String(_0x321d21)),'aria-label':_0xed90cb['to'](_0x4c108c(0x10e),_0x10ac7f=>_0x4726be(_0x10a8f0,_0x10ac7f?_0x4c108c(0x117):_0x4c108c(0x11c))),'role':_0x4c108c(0x10b),'tabindex':_0xed90cb['to'](_0x4c108c(0x10e),_0x51fd39=>!!_0x51fd39&&0x0),'class':['ck',_0x4c108c(0x114)]},'children':this[_0x4c108c(0xff)],'on':{'click':_0xed90cb['to'](()=>this[_0x4c108c(0x105)](_0x4c108c(0x100)))}}),this['on'](_0x4c108c(0x119),(_0x1aa574,_0x4ee998,_0xe4c196)=>{const _0x138f80=_0x4c108c;this[_0x138f80(0xfc)]&&(_0xe4c196?this[_0x138f80(0xfc)][_0x138f80(0x107)](_0x138f80(0x109),String(this[_0x138f80(0x11a)])):this[_0x138f80(0xfc)][_0x138f80(0x118)](_0x138f80(0x109)));});}[_0x16acfd(0x10f)](){const _0x49b60f=_0x16acfd;this[_0x49b60f(0xfc)][_0x49b60f(0x10f)]();}[_0x16acfd(0xfe)](){const _0x4106c4=_0x16acfd;super[_0x4106c4(0xfe)](),this[_0x4106c4(0x103)][_0x4106c4(0x110)](this[_0x4106c4(0xfc)]);}}
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
|
|
23
|
+
(function(_0x32470a,_0x218a91){const _0x35f6ec=_0x1ef5,_0x5ad44d=_0x32470a();while(!![]){try{const _0x1a1c15=-parseInt(_0x35f6ec(0x1d3))/0x1*(-parseInt(_0x35f6ec(0x1d1))/0x2)+parseInt(_0x35f6ec(0x1cb))/0x3+parseInt(_0x35f6ec(0x1cc))/0x4*(parseInt(_0x35f6ec(0x1c9))/0x5)+parseInt(_0x35f6ec(0x1da))/0x6*(-parseInt(_0x35f6ec(0x1dd))/0x7)+parseInt(_0x35f6ec(0x1d4))/0x8*(-parseInt(_0x35f6ec(0x1d0))/0x9)+parseInt(_0x35f6ec(0x1cf))/0xa*(-parseInt(_0x35f6ec(0x1de))/0xb)+parseInt(_0x35f6ec(0x1cd))/0xc;if(_0x1a1c15===_0x218a91)break;else _0x5ad44d['push'](_0x5ad44d['shift']());}catch(_0x197936){_0x5ad44d['push'](_0x5ad44d['shift']());}}}(_0x15e9,0xbe53f));import{View as _0x5dc760}from'ckeditor5/src/ui.js';function _0x1ef5(_0x3d6b68,_0x4ce365){const _0x15e95c=_0x15e9();return _0x1ef5=function(_0x1ef532,_0x3a7778){_0x1ef532=_0x1ef532-0x1c5;let _0x1050e7=_0x15e95c[_0x1ef532];return _0x1050e7;},_0x1ef5(_0x3d6b68,_0x4ce365);}function _0x15e9(){const _0x2cdabd=['bindTemplate','268329oGoCvd','4scoTXG','16979196UJBgEg','first','5401380uwGBeh','4581oVjlgf','346234KSriUO','ck-rounded-corners','1fBamHX','12784hbunCw','ck-presence-list--collapsed','inlineListView','set','locale','change','1967478VDnvPT','bind','tooltipPosition','7eyMzxu','22Niswfc','listenTo','ck-presence-list','items','isCollapsed','ck-reset','div','setTemplate','counterView','hasPopup','6618305iXAaWj'];_0x15e9=function(){return _0x2cdabd;};return _0x15e9();}import _0x9b3b91 from'./presencecounterview.js';import _0x317226 from'./presenceinlinelistview.js';import'../../../theme/presencelist.css';export default class L extends _0x5dc760{constructor(_0x183e0c){const _0x515189=_0x1ef5;super(_0x183e0c);const _0x5f1e90=this[_0x515189(0x1ca)];this[_0x515189(0x1d7)](_0x515189(0x1e2),!0x0),this[_0x515189(0x1c7)]=new _0x9b3b91(this[_0x515189(0x1d8)]),this[_0x515189(0x1d6)]=new _0x317226(_0x183e0c),this[_0x515189(0x1d6)][_0x515189(0x1db)](_0x515189(0x1c8))['to'](this,_0x515189(0x1e2)),this[_0x515189(0x1df)](this[_0x515189(0x1d6)][_0x515189(0x1e1)],_0x515189(0x1d9),()=>{const _0x1a2843=_0x515189;for(const _0xa1f815 of this[_0x1a2843(0x1d6)][_0x1a2843(0x1e1)])_0xa1f815[_0x1a2843(0x1dc)]='s';this[_0x1a2843(0x1d6)][_0x1a2843(0x1e1)][_0x1a2843(0x1ce)]&&(this[_0x1a2843(0x1d6)][_0x1a2843(0x1e1)][_0x1a2843(0x1ce)][_0x1a2843(0x1dc)]='se');}),this[_0x515189(0x1c6)]({'tag':_0x515189(0x1c5),'attributes':{'class':['ck',_0x515189(0x1e0),_0x515189(0x1e3),_0x515189(0x1d2),_0x5f1e90['if'](_0x515189(0x1e2),_0x515189(0x1d5))]},'children':[this[_0x515189(0x1c7)],this[_0x515189(0x1d6)]]});}}
|
package/src/presencelist.js
CHANGED
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
var
|
|
23
|
+
var _0x22fb6d=_0x5886;(function(_0x2a1808,_0x3aeeab){var _0x5d5944=_0x5886,_0x913551=_0x2a1808();while(!![]){try{var _0x17bcdd=parseInt(_0x5d5944(0xfc))/0x1+-parseInt(_0x5d5944(0x103))/0x2*(-parseInt(_0x5d5944(0xfb))/0x3)+-parseInt(_0x5d5944(0x100))/0x4*(-parseInt(_0x5d5944(0xfa))/0x5)+parseInt(_0x5d5944(0x104))/0x6*(parseInt(_0x5d5944(0xff))/0x7)+-parseInt(_0x5d5944(0x101))/0x8*(-parseInt(_0x5d5944(0xfd))/0x9)+parseInt(_0x5d5944(0x102))/0xa+-parseInt(_0x5d5944(0xf9))/0xb;if(_0x17bcdd===_0x3aeeab)break;else _0x913551['push'](_0x913551['shift']());}catch(_0xe6d664){_0x913551['push'](_0x913551['shift']());}}}(_0x304d,0x4da53));function _0x5886(_0x166656,_0x36e0b1){var _0x304d65=_0x304d();return _0x5886=function(_0x5886ea,_0x59d57d){_0x5886ea=_0x5886ea-0xf8;var _0x129ac1=_0x304d65[_0x5886ea];return _0x129ac1;},_0x5886(_0x166656,_0x36e0b1);}import{ContextPlugin as _0x8e86e2}from'ckeditor5/src/core.js';function _0x304d(){var _0x5d02b4=['17835983SJfpLw','953030bqhhRu','311988MsiiBC','438296zPdihj','36uCXfVK','requires','26355GbdApq','8GgiSTA','89008YzfaBw','3756930ZFNhEf','6mtRRmW','618vbFTeV','pluginName','PresenceList'];_0x304d=function(){return _0x5d02b4;};return _0x304d();}import _0x4ba1e4 from'./realtimecollaborativeediting/sessions.js';import _0x5032fa from'./presencelist/presencelistui.js';export default class i extends _0x8e86e2{static get[_0x22fb6d(0xfe)](){return[_0x4ba1e4,_0x5032fa];}static get[_0x22fb6d(0x105)](){var _0x1c909a=_0x22fb6d;return _0x1c909a(0xf8);}}
|
|
@@ -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
|
+
function _0x1d76(){const _0x177097=['userId','CloudServicesCommentsAdapter','authorId','listenTo','cloud-services-internal-error:\x20Comments\x20Service\x20is\x20not\x20connected.','connect','update','updateCommentThread','size','delete','resolvedBy','requires','404','reopen','pluginName','145596rkPNNG','18RukFSZ','_getService','attributes','_connectService','assign','getUser','message','resolvedAt','commentRemoved','2FBooOP','content','commentId','disconnect','remove','getCommentThread','35043qzarmG','commentThreadId','removeCommentThread','811757hkYmlg','get','cloudservicescommentsadapter-connect-already-connected','resolveCommentThread','commentThreadRemoved','commentThreadUpdated','cloudservicescommentsadapter-service-not-exist','add','init','off','removeComment','destroy','startsWith','map','has','plugins','addUser','getMany','19115pXxWfQ','cloudservicescommentsadapter-disconnect-not-exist','createdAt','cloud-services-internal-error:\x20Request\x20timeout.','cloud-services-internal-error:\x20Not\x20connected.','CommentsRepository','catch','_services','1098Ldzpzg','1426170GIMpFq','config','32dGysWQ','reconnect','commentThreadResolved','649DQYiXq','_terminateService','commentThreadReopened','context','commentAdded','286eJYjVh','176celdMo','addComment','_setUpService','addCommentThread','permissions','149933FMYjlN','adapter','addToReconnectionStack','getComment','keys','getCommentThreads','setPermissions','resolve','CommentsService','commentThreadAdded','commentUpdated','_fetchMissingUsersForThreads','collaboration.channelId','unregister','mySessionId','688254gRxsci','reopenCommentThread','sessionAdd:','from','Permissions','set','deletedAt','code','register','getConnectedSessions','comments','updateComment'];_0x1d76=function(){return _0x177097;};return _0x1d76();}const _0x102774=_0x38f7;(function(_0x64ab6b,_0x5e2363){const _0x46a0d5=_0x38f7,_0x3393bc=_0x64ab6b();while(!![]){try{const _0x55c165=-parseInt(_0x46a0d5(0x167))/0x1*(-parseInt(_0x46a0d5(0x15e))/0x2)+-parseInt(_0x46a0d5(0x164))/0x3*(parseInt(_0x46a0d5(0x18d))/0x4)+-parseInt(_0x46a0d5(0x179))/0x5*(-parseInt(_0x46a0d5(0x181))/0x6)+-parseInt(_0x46a0d5(0x192))/0x7*(-parseInt(_0x46a0d5(0x184))/0x8)+parseInt(_0x46a0d5(0x155))/0x9*(-parseInt(_0x46a0d5(0x182))/0xa)+-parseInt(_0x46a0d5(0x187))/0xb*(-parseInt(_0x46a0d5(0x154))/0xc)+-parseInt(_0x46a0d5(0x18c))/0xd*(parseInt(_0x46a0d5(0x1a1))/0xe);if(_0x55c165===_0x5e2363)break;else _0x3393bc['push'](_0x3393bc['shift']());}catch(_0x2eb24d){_0x3393bc['push'](_0x3393bc['shift']());}}}(_0x1d76,0x69815));import{Context as _0x39d969,ContextPlugin as _0x172797}from'ckeditor5/src/core.js';import{CKEditorError as _0x22e5da}from'ckeditor5/src/utils.js';import{Users as _0x43964b}from'ckeditor5-collaboration/src/collaboration-core.js';function _0x38f7(_0xbda93b,_0x2690a3){const _0x1d7681=_0x1d76();return _0x38f7=function(_0x38f7d8,_0x39a9f2){_0x38f7d8=_0x38f7d8-0x152;let _0x183fe1=_0x1d7681[_0x38f7d8];return _0x183fe1;},_0x38f7(_0xbda93b,_0x2690a3);}import{CommentsService as _0x1ea0e2,User as _0x56e7a5}from'@ckeditor/ckeditor-cloud-services-collaboration/src/services.js';import _0x10be8c from'../realtimecollaborativeediting/websocketgateway.js';import _0x58b0ef from'../realtimecollaborativeediting/sessions.js';class a extends _0x172797{static get[_0x102774(0x1b8)](){const _0x51fafe=_0x102774;return[_0x10be8c,_0x51fafe(0x17e),_0x58b0ef,_0x43964b];}static get[_0x102774(0x153)](){const _0x214ced=_0x102774;return _0x214ced(0x1ae);}constructor(_0x16029a){const _0x459d6b=_0x102774;super(_0x16029a),this[_0x459d6b(0x180)]=new Map();}async[_0x102774(0x16f)](){const _0x4ef992=_0x102774,_0x37f414=this[_0x4ef992(0x18a)],_0xf0167a=_0x37f414[_0x4ef992(0x176)][_0x4ef992(0x168)](_0x4ef992(0x17e));if(_0x37f414[_0x4ef992(0x176)][_0x4ef992(0x168)](_0x10be8c)[_0x4ef992(0x194)](this),_0xf0167a[_0x4ef992(0x193)]={'addCommentThread':async({channelId:_0x9fbf74,threadId:_0x3b0ab7,comments:_0x2969a9,resolvedAt:_0x30ad66,resolvedBy:_0x3acdd3,context:_0x207616,attributes:_0x2edf5e})=>{const _0x29f18e=_0x4ef992,_0x24fad4=await this[_0x29f18e(0x156)](_0x9fbf74)[_0x29f18e(0x190)]({'commentThreadId':_0x3b0ab7,'comments':_0x2969a9[_0x29f18e(0x174)](_0x3aaf87=>function(_0x3b0e1a,_0x24c82c,_0x42c804){const _0x3cd543=_0x29f18e;return{'commentThreadId':_0x42c804,'commentId':_0x3b0e1a[_0x3cd543(0x160)],'userId':_0x3b0e1a[_0x3cd543(0x1af)],'content':_0x3b0e1a[_0x3cd543(0x15f)],'documentId':_0x24c82c,'createdAt':_0x3b0e1a[_0x3cd543(0x17b)],'attributes':_0x3b0e1a[_0x3cd543(0x157)]||{}};}(_0x3aaf87,_0x9fbf74,_0x3b0ab7)),'resolvedAt':_0x30ad66,'resolvedBy':_0x3acdd3,'context':_0x207616,'attributes':_0x2edf5e})[_0x29f18e(0x17f)](ot);return{'threadId':_0x24fad4[_0x29f18e(0x165)],'comments':_0x24fad4[_0x29f18e(0x1ab)]};},'getCommentThread':async({channelId:_0x2f42c2,threadId:_0x4956c9})=>{const _0x3e050b=_0x4ef992,_0x18e8ff=await this[_0x3e050b(0x156)](_0x2f42c2)[_0x3e050b(0x163)](_0x4956c9)[_0x3e050b(0x17f)](ot);return _0x18e8ff[_0x3e050b(0x1a7)]?null:(await this[_0x3e050b(0x19d)]([_0x18e8ff]),{'threadId':_0x18e8ff[_0x3e050b(0x165)],'comments':_0x18e8ff[_0x3e050b(0x1ab)][_0x3e050b(0x174)](nt),'context':_0x18e8ff[_0x3e050b(0x18a)],'resolvedAt':_0x18e8ff[_0x3e050b(0x15c)],'resolvedBy':_0x18e8ff[_0x3e050b(0x1b7)],'attributes':_0x18e8ff[_0x3e050b(0x157)]||{}});},'updateCommentThread':async({channelId:_0x26b1b5,threadId:_0x5dbd65,context:_0x3ff440,unlinkedAt:_0x144629,attributes:_0x167d7d})=>this[_0x4ef992(0x156)](_0x26b1b5)[_0x4ef992(0x1b4)]({'commentThreadId':_0x5dbd65,'context':_0x3ff440,'attributes':_0x167d7d,'unlinkedAt':_0x144629})[_0x4ef992(0x17f)](et)[_0x4ef992(0x17f)](ot),'resolveCommentThread':async({channelId:_0x50948a,threadId:_0x242b14})=>{const _0x1b2d16=_0x4ef992,_0x58b938=await this[_0x1b2d16(0x156)](_0x50948a)[_0x1b2d16(0x16a)](_0x242b14)[_0x1b2d16(0x17f)](et)[_0x1b2d16(0x17f)](ot);return{'threadId':_0x58b938[_0x1b2d16(0x165)],'resolvedAt':_0x58b938[_0x1b2d16(0x15c)],'resolvedBy':_0x58b938[_0x1b2d16(0x1b7)]};},'reopenCommentThread':async({channelId:_0x38ea61,threadId:_0x10ac5f})=>this[_0x4ef992(0x156)](_0x38ea61)[_0x4ef992(0x1a2)](_0x10ac5f)[_0x4ef992(0x17f)](et)[_0x4ef992(0x17f)](ot),'removeCommentThread':({channelId:_0x395212,threadId:_0x5e518a})=>this[_0x4ef992(0x156)](_0x395212)[_0x4ef992(0x166)](_0x5e518a)[_0x4ef992(0x17f)](et)[_0x4ef992(0x17f)](ot),'addComment':({channelId:_0x2743ab,threadId:_0x1f466a,commentId:_0x1b2220,content:_0x2bf5a7,attributes:_0x140a1b})=>this[_0x4ef992(0x156)](_0x2743ab)[_0x4ef992(0x18e)](_0x1f466a,_0x1b2220,_0x2bf5a7,_0x140a1b)[_0x4ef992(0x17f)](ot),'updateComment':({channelId:_0x673fd0,threadId:_0xa1584e,commentId:_0x5cc859,content:_0x4b47f2,attributes:_0xe53ef2})=>this[_0x4ef992(0x156)](_0x673fd0)[_0x4ef992(0x1ac)](_0xa1584e,_0x5cc859,_0x4b47f2,_0xe53ef2)[_0x4ef992(0x17f)](et)[_0x4ef992(0x17f)](ot),'removeComment':({channelId:_0x4ec8de,threadId:_0x22bc19,commentId:_0x1d10f9})=>this[_0x4ef992(0x156)](_0x4ec8de)[_0x4ef992(0x171)](_0x22bc19,_0x1d10f9)[_0x4ef992(0x17f)](et)[_0x4ef992(0x17f)](ot)},_0x37f414 instanceof _0x39d969){const _0x1a79d0=_0x37f414[_0x4ef992(0x183)][_0x4ef992(0x168)](_0x4ef992(0x19e)),_0x551a31=_0x37f414[_0x4ef992(0x176)][_0x4ef992(0x168)](_0x58b0ef);await this[_0x4ef992(0x18f)](_0x1a79d0);const _0x685f5b=await this[_0x4ef992(0x180)][_0x4ef992(0x168)](_0x1a79d0)[_0x4ef992(0x1aa)]();this[_0x4ef992(0x1b0)](_0x551a31,_0x4ef992(0x1a3)+_0x1a79d0,(_0x92b9cc,{session:_0xe0cce3})=>{const _0x2e0cc4=_0x4ef992;_0xe0cce3['id']===_0x551a31[_0x2e0cc4(0x1a0)]&&(_0x92b9cc[_0x2e0cc4(0x170)](),this[_0x2e0cc4(0x18a)][_0x2e0cc4(0x176)][_0x2e0cc4(0x168)](_0x2e0cc4(0x1a5))[_0x2e0cc4(0x198)](_0xe0cce3[_0x2e0cc4(0x191)],_0x1a79d0));}),_0x551a31[_0x4ef992(0x1a9)](_0x1a79d0,_0x685f5b);}}async[_0x102774(0x18f)](_0x4e224f){const _0x218076=_0x102774;if(this[_0x218076(0x180)][_0x218076(0x175)](_0x4e224f))throw new _0x22e5da(_0x218076(0x169),null,{'channelId':_0x4e224f});const _0x8912f6=this[_0x218076(0x18a)][_0x218076(0x176)][_0x218076(0x168)](_0x218076(0x17e)),_0x324173=new a[(_0x218076(0x19a))](_0x4e224f);this[_0x218076(0x180)][_0x218076(0x1a6)](_0x4e224f,_0x324173),this[_0x218076(0x1b0)](_0x324173,_0x218076(0x19b),(_0x1caf9a,_0x125a1b)=>{const _0x2cc208=_0x218076,{commentThreadId:_0x5b141a,documentId:_0x3b4a50,context:_0x339c0f,attributes:_0x260a7b,resolvedAt:_0x31a6da,resolvedBy:_0x191306,comments:_0x5735e9}=_0x125a1b;_0x8912f6[_0x2cc208(0x163)](_0x5b141a)||_0x8912f6[_0x2cc208(0x190)]({'threadId':_0x5b141a,'channelId':_0x3b4a50,'comments':_0x5735e9?_0x5735e9[_0x2cc208(0x174)](nt):[],'context':_0x339c0f,'attributes':_0x260a7b,'resolvedAt':_0x31a6da,'resolvedBy':_0x191306,'isFromAdapter':!0x0});}),this[_0x218076(0x1b0)](_0x324173,_0x218076(0x16c),(_0x467056,{commentThreadId:_0x889256,documentId:_0x2448e8,context:_0x574cf9,unlinkedAt:_0x48dd12,attributes:_0x5a1f42})=>{const _0x22f3d9=_0x218076;_0x8912f6[_0x22f3d9(0x163)](_0x889256)&&_0x8912f6[_0x22f3d9(0x1b4)]({'threadId':_0x889256,'channelId':_0x2448e8,'context':_0x574cf9,'unlinkedAt':_0x48dd12,'attributes':_0x5a1f42,'isFromAdapter':!0x0});}),this[_0x218076(0x1b0)](_0x324173,_0x218076(0x186),(_0x5451d7,{commentThreadId:_0x6b2985,resolvedBy:_0x12d297,resolvedAt:_0x29a8cc})=>{const _0x5a2764=_0x218076,_0x5e69e1=_0x8912f6[_0x5a2764(0x163)](_0x6b2985);_0x5e69e1&&_0x5e69e1[_0x5a2764(0x199)]({'resolvedBy':_0x12d297,'resolvedAt':_0x29a8cc,'isFromAdapter':!0x0});}),this[_0x218076(0x1b0)](_0x324173,_0x218076(0x189),(_0x31fc28,{commentThreadId:_0x28a961})=>{const _0x5ca850=_0x218076,_0xd74a58=_0x8912f6[_0x5ca850(0x163)](_0x28a961);_0xd74a58&&_0xd74a58[_0x5ca850(0x152)]({'isFromAdapter':!0x0});}),this[_0x218076(0x1b0)](_0x324173,_0x218076(0x16b),(_0x3fcee4,{commentThreadId:_0xfb3fb6})=>{const _0x459241=_0x218076,_0x1b19a8=_0x8912f6[_0x459241(0x163)](_0xfb3fb6);_0x1b19a8&&_0x1b19a8[_0x459241(0x162)]({'isFromAdapter':!0x0});}),this[_0x218076(0x1b0)](_0x324173,_0x218076(0x18b),(_0x433356,_0x3b1575)=>{const _0x51a524=_0x218076,_0x420b96=_0x3b1575[_0x51a524(0x165)],_0x560699=_0x8912f6[_0x51a524(0x163)](_0x420b96);_0x560699&&_0x560699[_0x51a524(0x18e)]({...nt(_0x3b1575),'isFromAdapter':!0x0});}),this[_0x218076(0x1b0)](_0x324173,_0x218076(0x19c),(_0x5a26e9,{commentThreadId:_0x555f29,commentId:_0x1cdfe4,content:_0x277c5b,attributes:_0x197156})=>{const _0x6a8bde=_0x218076,_0x476b0b=_0x8912f6[_0x6a8bde(0x163)](_0x555f29);if(_0x476b0b){const _0x3591be=_0x476b0b[_0x6a8bde(0x195)](_0x1cdfe4);_0x3591be&&_0x3591be[_0x6a8bde(0x1b3)]({'content':_0x277c5b,'attributes':_0x197156,'isFromAdapter':!0x0});}}),this[_0x218076(0x1b0)](_0x324173,_0x218076(0x15d),(_0x3b26e5,{commentThreadId:_0x5b88a3,commentId:_0x5c8ff3})=>{const _0x39c459=_0x218076,_0x429620=_0x8912f6[_0x39c459(0x163)](_0x5b88a3);if(_0x429620){const _0x469ab2=_0x429620[_0x39c459(0x195)](_0x5c8ff3);_0x469ab2&&_0x469ab2[_0x39c459(0x162)]({'isFromAdapter':!0x0});}}),await this[_0x218076(0x158)](_0x4e224f);}[_0x102774(0x172)](){const _0x26c1a2=_0x102774;if(this[_0x26c1a2(0x18a)]instanceof _0x39d969){const _0x394c0=this[_0x26c1a2(0x18a)][_0x26c1a2(0x183)][_0x26c1a2(0x168)](_0x26c1a2(0x19e));this[_0x26c1a2(0x188)](_0x394c0);}}[_0x102774(0x188)](_0x5b9ced){const _0x373920=_0x102774;if(!this[_0x373920(0x180)][_0x373920(0x175)](_0x5b9ced))throw new _0x22e5da(_0x373920(0x17a),null,{'channelId':_0x5b9ced});this[_0x373920(0x156)](_0x5b9ced)[_0x373920(0x161)](),this[_0x373920(0x180)][_0x373920(0x1b6)](_0x5b9ced);}async[_0x102774(0x185)](){const _0x26509e=_0x102774;for(const _0x1ff8d6 of this[_0x26509e(0x180)][_0x26509e(0x196)]())await this[_0x26509e(0x158)](_0x1ff8d6);if(this[_0x26509e(0x18a)]instanceof _0x39d969){const _0x7b25da=this[_0x26509e(0x18a)][_0x26509e(0x183)][_0x26509e(0x168)](_0x26509e(0x19e)),_0x387413=this[_0x26509e(0x18a)][_0x26509e(0x176)][_0x26509e(0x168)](_0x58b0ef);_0x387413[_0x26509e(0x19f)](_0x7b25da);const _0x214a24=await this[_0x26509e(0x180)][_0x26509e(0x168)](_0x7b25da)[_0x26509e(0x1aa)]();_0x387413[_0x26509e(0x1a9)](_0x7b25da,_0x214a24);}}async[_0x102774(0x158)](_0x1a1f19){const _0x577386=_0x102774,{connection:_0x5ef512}=this[_0x577386(0x18a)][_0x577386(0x176)][_0x577386(0x168)](_0x10be8c),_0x5e0d63=this[_0x577386(0x18a)][_0x577386(0x176)][_0x577386(0x168)](_0x577386(0x17e)),_0x48cbc1=this[_0x577386(0x180)][_0x577386(0x168)](_0x1a1f19),_0x111e69=await _0x48cbc1[_0x577386(0x1b2)](_0x5ef512);await this[_0x577386(0x19d)](_0x111e69);const _0x420146=new Set(Array[_0x577386(0x1a4)](_0x5e0d63[_0x577386(0x197)]({'channelId':_0x1a1f19}),_0x51a43f=>_0x51a43f['id']));for(const _0xb1dd14 of _0x111e69)_0xb1dd14[_0x577386(0x1a7)]||_0x420146[_0x577386(0x1b6)](_0xb1dd14[_0x577386(0x165)]);for(const _0xc1c1a5 of _0x420146)_0x5e0d63[_0x577386(0x163)](_0xc1c1a5)[_0x577386(0x162)]({'isFromAdapter':!0x0});for(const _0x35939d of _0x111e69){let _0xcb2e42=_0x5e0d63[_0x577386(0x163)](_0x35939d[_0x577386(0x165)]);const {commentThreadId:_0x36acdb,context:_0x561e76,attributes:_0x40d89d,resolvedBy:_0x420f67,resolvedAt:_0xaedc4c,unlinkedAt:_0x126652,deletedAt:_0x27e59f}=_0x35939d;if(_0x27e59f)continue;_0xcb2e42||(_0xcb2e42=_0x5e0d63[_0x577386(0x190)]({'channelId':_0x1a1f19,'threadId':_0x36acdb,'context':_0x561e76,'attributes':_0x40d89d||{},'resolvedBy':_0x420f67,'resolvedAt':_0xaedc4c,'unlinkedAt':_0x126652,'isFromAdapter':!0x0}));const _0x4dda40=new Set(Array[_0x577386(0x1a4)](_0xcb2e42[_0x577386(0x1ab)],_0x244a23=>_0x244a23['id']));for(const _0x208586 of _0x35939d[_0x577386(0x1ab)])_0x4dda40[_0x577386(0x1b6)](_0x208586[_0x577386(0x160)]);for(const _0x1e36a3 of _0x4dda40)_0xcb2e42[_0x577386(0x195)](_0x1e36a3)[_0x577386(0x162)]({'isFromAdapter':!0x0});for(const _0x2a6ced of _0x35939d[_0x577386(0x1ab)]){const _0x2ebf94=_0xcb2e42[_0x577386(0x195)](_0x2a6ced[_0x577386(0x160)]);_0x2ebf94?_0x2ebf94[_0x577386(0x15f)]!==_0x2a6ced[_0x577386(0x15f)]&&_0x2ebf94[_0x577386(0x1b3)]({'content':_0x2a6ced[_0x577386(0x15f)],'isFromAdapter':!0x0}):_0xcb2e42[_0x577386(0x18e)](Object[_0x577386(0x159)](nt(_0x2a6ced),{'isFromAdapter':!0x0}));}}}[_0x102774(0x156)](_0x27f016){const _0x57020b=_0x102774;if(!this[_0x57020b(0x180)][_0x57020b(0x175)](_0x27f016))throw new _0x22e5da(_0x57020b(0x16d),null,{'channelId':_0x27f016});return this[_0x57020b(0x180)][_0x57020b(0x168)](_0x27f016);}async[_0x102774(0x19d)](_0x8f028e){const _0x58fca6=_0x102774,_0xfa0390=this[_0x58fca6(0x18a)][_0x58fca6(0x176)][_0x58fca6(0x168)](_0x43964b),{connection:_0x27fc2c}=this[_0x58fca6(0x18a)][_0x58fca6(0x176)][_0x58fca6(0x168)](_0x10be8c),_0x5e6897=new Set();for(const {resolvedBy:_0x6291b6,comments:_0x549510}of _0x8f028e){_0x6291b6&&!_0xfa0390[_0x58fca6(0x15a)](_0x6291b6)&&_0x5e6897[_0x58fca6(0x16e)](_0x6291b6);for(const {userId:_0x3c0a76}of _0x549510)_0xfa0390[_0x58fca6(0x15a)](_0x3c0a76)||_0x5e6897[_0x58fca6(0x16e)](_0x3c0a76);}if(0x0===_0x5e6897[_0x58fca6(0x1b5)])return;const _0x5f2d3d=await _0x56e7a5[_0x58fca6(0x178)](_0x27fc2c,Array[_0x58fca6(0x1a4)](_0x5e6897));for(const _0x359b9f of _0x5f2d3d)_0xfa0390[_0x58fca6(0x15a)](_0x359b9f['id'])||_0xfa0390[_0x58fca6(0x177)](_0x359b9f);}}a[_0x102774(0x19a)]=_0x1ea0e2;export default a;async function et(_0x56cf93){const _0x29de8e=_0x102774;if(_0x29de8e(0x1b9)!==_0x56cf93[_0x29de8e(0x1a8)])throw _0x56cf93;}function ot(_0xbcd54c){const _0x44dff7=_0x102774;if((_0x45e449=_0xbcd54c)[_0x44dff7(0x15b)][_0x44dff7(0x173)](_0x44dff7(0x1b1))||_0x45e449[_0x44dff7(0x15b)][_0x44dff7(0x173)](_0x44dff7(0x17d))||_0x45e449[_0x44dff7(0x15b)][_0x44dff7(0x173)](_0x44dff7(0x17c)))return new Promise(()=>{});var _0x45e449;throw _0xbcd54c;}function nt(_0x29e0b2){const _0xefdec1=_0x102774;return{'threadId':_0x29e0b2[_0xefdec1(0x165)],'commentId':_0x29e0b2[_0xefdec1(0x160)],'content':_0x29e0b2[_0xefdec1(0x15f)],'createdAt':_0x29e0b2[_0xefdec1(0x17b)],'authorId':_0x29e0b2[_0xefdec1(0x1ad)],'attributes':_0x29e0b2[_0xefdec1(0x157)]||{}};}
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
const
|
|
23
|
+
function _0x3992(_0x4a349c,_0x5205db){const _0x47ac66=_0x47ac();return _0x3992=function(_0x3992dd,_0x2e0c07){_0x3992dd=_0x3992dd-0x6f;let _0x1b376e=_0x47ac66[_0x3992dd];return _0x1b376e;},_0x3992(_0x4a349c,_0x5205db);}const _0x4f0477=_0x3992;(function(_0x1633dc,_0x21af60){const _0x2cd761=_0x3992,_0x19e0c4=_0x1633dc();while(!![]){try{const _0x1e0c83=-parseInt(_0x2cd761(0x77))/0x1*(parseInt(_0x2cd761(0x86))/0x2)+parseInt(_0x2cd761(0x7a))/0x3+parseInt(_0x2cd761(0x76))/0x4+parseInt(_0x2cd761(0x88))/0x5+parseInt(_0x2cd761(0x7c))/0x6+parseInt(_0x2cd761(0x7d))/0x7*(parseInt(_0x2cd761(0x70))/0x8)+-parseInt(_0x2cd761(0x78))/0x9;if(_0x1e0c83===_0x21af60)break;else _0x19e0c4['push'](_0x19e0c4['shift']());}catch(_0x1a305c){_0x19e0c4['push'](_0x19e0c4['shift']());}}}(_0x47ac,0xd65f4));import{Plugin as _0x181df3}from'ckeditor5/src/core.js';import _0x995465 from'./realtimecollaborativecomments/cloudservicescommentsadapter.js';import _0x2cf1fa from'./realtimecollaborativeediting.js';import _0x2ec63c from'./realtimecollaborativeediting/websocketgateway.js';export default class m extends _0x181df3{static get[_0x4f0477(0x8d)](){const _0x21bfc4=_0x4f0477;return[_0x21bfc4(0x74),_0x995465,_0x2cf1fa,_0x2ec63c];}static get[_0x4f0477(0x73)](){const _0x270307=_0x4f0477;return _0x270307(0x85);}[_0x4f0477(0x8c)](){const _0x41e537=_0x4f0477,_0x59ca5f=this[_0x41e537(0x87)][_0x41e537(0x81)][_0x41e537(0x89)](_0x2ec63c),_0x35654a=this[_0x41e537(0x87)][_0x41e537(0x81)][_0x41e537(0x89)](_0x41e537(0x75)),_0x25b573=this[_0x41e537(0x87)][_0x41e537(0x81)][_0x41e537(0x89)](_0x995465);return this[_0x41e537(0x87)][_0x41e537(0x8e)][_0x41e537(0x72)](_0x41e537(0x7b),()=>{const _0xcd62a7=_0x41e537;this[_0xcd62a7(0x83)](_0x59ca5f,_0xcd62a7(0x80),(_0x314c8a,_0x386b60,_0x16977c)=>{const _0x14ffb7=_0xcd62a7;_0x35654a[_0x14ffb7(0x7f)]=_0x14ffb7(0x8b)!==_0x16977c;});}),this[_0x41e537(0x83)](_0x59ca5f,_0x41e537(0x80),(_0x4f21a3,_0x46a6fa,_0x123a06)=>{const _0xd7412f=_0x41e537;this[_0xd7412f(0x87)][_0xd7412f(0x81)][_0xd7412f(0x89)](_0xd7412f(0x79))[_0xd7412f(0x8a)](_0xd7412f(0x8b)!==_0x123a06);}),_0x25b573[_0x41e537(0x84)](this[_0x41e537(0x87)][_0x41e537(0x7e)][_0x41e537(0x89)](_0x41e537(0x71)));}[_0x4f0477(0x6f)](){const _0x4a8a73=_0x4f0477;this[_0x4a8a73(0x87)][_0x4a8a73(0x81)][_0x4a8a73(0x89)](_0x995465)[_0x4a8a73(0x82)](this[_0x4a8a73(0x87)][_0x4a8a73(0x7e)][_0x4a8a73(0x89)](_0x4a8a73(0x71))),super[_0x4a8a73(0x6f)]();}}function _0x47ac(){const _0x29ca0f=['RealTimeCollaborativeComments','10nBUyib','editor','573295HYLYoW','get','switchReadOnly','connected','init','requires','data','destroy','104gWMuMn','collaboration.channelId','once','pluginName','Comments','CommentsEditing','5835068pPTVbH','205771wFmfOk','19573641rjvleB','CommentsRepository','878760yYIKKA','ready','7237572MeavZl','543396gGWzpF','config','isThreadsLoadingPaused','change:state','plugins','_terminateService','listenTo','_setUpService'];_0x47ac=function(){return _0x29ca0f;};return _0x47ac();}
|