@ckeditor/ckeditor5-real-time-collaboration 43.1.0-alpha.8 → 43.1.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/build/real-time-collaboration.js +1 -1
- package/dist/index.js +6 -6
- package/dist/translations/ar.js +1 -1
- package/dist/translations/ar.umd.js +1 -1
- package/dist/translations/bg.js +1 -1
- package/dist/translations/bg.umd.js +1 -1
- package/dist/translations/bn.js +1 -1
- package/dist/translations/bn.umd.js +1 -1
- package/dist/translations/ca.js +1 -1
- package/dist/translations/ca.umd.js +1 -1
- package/dist/translations/cs.js +1 -1
- package/dist/translations/cs.umd.js +1 -1
- package/dist/translations/da.js +1 -1
- package/dist/translations/da.umd.js +1 -1
- package/dist/translations/de-ch.js +1 -1
- package/dist/translations/de-ch.umd.js +1 -1
- package/dist/translations/de.js +1 -1
- package/dist/translations/de.umd.js +1 -1
- package/dist/translations/el.js +1 -1
- package/dist/translations/el.umd.js +1 -1
- package/dist/translations/en-au.js +1 -1
- package/dist/translations/en-au.umd.js +1 -1
- package/dist/translations/en.umd.js +1 -1
- package/dist/translations/es.js +1 -1
- package/dist/translations/es.umd.js +1 -1
- package/dist/translations/et.js +1 -1
- package/dist/translations/et.umd.js +1 -1
- package/dist/translations/fa.js +1 -1
- package/dist/translations/fa.umd.js +1 -1
- package/dist/translations/fi.js +1 -1
- package/dist/translations/fi.umd.js +1 -1
- package/dist/translations/fr.js +1 -1
- package/dist/translations/fr.umd.js +1 -1
- package/dist/translations/gl.js +1 -1
- package/dist/translations/gl.umd.js +1 -1
- package/dist/translations/he.js +1 -1
- package/dist/translations/he.umd.js +1 -1
- package/dist/translations/hi.js +1 -1
- package/dist/translations/hi.umd.js +1 -1
- package/dist/translations/hr.js +1 -1
- package/dist/translations/hr.umd.js +1 -1
- package/dist/translations/hu.js +1 -1
- package/dist/translations/hu.umd.js +1 -1
- package/dist/translations/id.js +1 -1
- package/dist/translations/id.umd.js +1 -1
- package/dist/translations/it.js +1 -1
- package/dist/translations/it.umd.js +1 -1
- package/dist/translations/ja.js +1 -1
- package/dist/translations/ja.umd.js +1 -1
- package/dist/translations/ko.js +1 -1
- package/dist/translations/ko.umd.js +1 -1
- package/dist/translations/lt.js +1 -1
- package/dist/translations/lt.umd.js +1 -1
- package/dist/translations/lv.js +1 -1
- package/dist/translations/lv.umd.js +1 -1
- package/dist/translations/ms.js +1 -1
- package/dist/translations/ms.umd.js +1 -1
- package/dist/translations/nl.js +1 -1
- package/dist/translations/nl.umd.js +1 -1
- package/dist/translations/no.js +1 -1
- package/dist/translations/no.umd.js +1 -1
- package/dist/translations/pl.js +1 -1
- package/dist/translations/pl.umd.js +1 -1
- package/dist/translations/pt-br.js +1 -1
- package/dist/translations/pt-br.umd.js +1 -1
- package/dist/translations/pt.js +1 -1
- package/dist/translations/pt.umd.js +1 -1
- package/dist/translations/ro.js +1 -1
- package/dist/translations/ro.umd.js +1 -1
- package/dist/translations/ru.js +1 -1
- package/dist/translations/ru.umd.js +1 -1
- package/dist/translations/sk.js +1 -1
- package/dist/translations/sk.umd.js +1 -1
- package/dist/translations/sr-latn.js +1 -1
- package/dist/translations/sr-latn.umd.js +1 -1
- package/dist/translations/sr.js +1 -1
- package/dist/translations/sr.umd.js +1 -1
- package/dist/translations/sv.js +1 -1
- package/dist/translations/sv.umd.js +1 -1
- package/dist/translations/th.js +1 -1
- package/dist/translations/th.umd.js +1 -1
- package/dist/translations/tk.js +1 -1
- package/dist/translations/tk.umd.js +1 -1
- package/dist/translations/tr.js +1 -1
- package/dist/translations/tr.umd.js +1 -1
- package/dist/translations/uk.js +1 -1
- package/dist/translations/uk.umd.js +1 -1
- package/dist/translations/vi.js +1 -1
- package/dist/translations/vi.umd.js +1 -1
- package/dist/translations/zh-cn.js +1 -1
- package/dist/translations/zh-cn.umd.js +1 -1
- package/dist/translations/zh.js +1 -1
- package/dist/translations/zh.umd.js +1 -1
- package/package.json +9 -9
- package/src/common-translations.js +1 -1
- package/src/index.js +1 -1
- package/src/presencelist/presencelistui.js +1 -1
- package/src/presencelist/view/presencecounterview.js +1 -1
- package/src/presencelist/view/presencedropdownlistitemview.js +1 -1
- package/src/presencelist/view/presencedropdownlistview.js +1 -1
- package/src/presencelist/view/presenceinlinelistitemview.js +1 -1
- package/src/presencelist/view/presenceinlinelistview.js +1 -1
- package/src/presencelist/view/presencelistview.js +1 -1
- package/src/presencelist.js +1 -1
- package/src/realtimecollaborativecomments/cloudservicescommentsadapter.js +1 -1
- package/src/realtimecollaborativecomments.js +1 -1
- package/src/realtimecollaborativeediting/realtimecollaborationclient.js +1 -1
- package/src/realtimecollaborativeediting/sessions.js +1 -1
- package/src/realtimecollaborativeediting/usermarkers.js +1 -1
- package/src/realtimecollaborativeediting/websocketgateway.js +1 -1
- package/src/realtimecollaborativeediting.js +1 -1
- package/src/realtimecollaborativerevisionhistory/cloudservicesrevisionhistoryadapter.js +1 -1
- package/src/realtimecollaborativerevisionhistory.js +1 -1
- package/src/realtimecollaborativetrackchanges/cloudservicestrackchangesadapter.js +1 -1
- package/src/realtimecollaborativetrackchanges.js +1 -1
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
(
|
|
23
|
+
(_0x28d7d1=>{const {'zh-cn':{dictionary:_0x4d96b8,getPluralForm:_0x53f0cf}}={'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':_0x44bdf3=>0x0}};_0x28d7d1['zh-cn']||={'dictionary':{},'getPluralForm':null},_0x28d7d1['zh-cn']['dictionary']=Object['assign'](_0x28d7d1['zh-cn']['dictionary'],_0x4d96b8),_0x28d7d1['zh-cn']['getPluralForm']=_0x53f0cf;})(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':_0x94b8f7=>0x0}};
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
(
|
|
23
|
+
(_0x4e7447=>{const {zh:{dictionary:_0x160bd9,getPluralForm:_0xe70648}}={'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':_0xb3b10e=>0x0}};_0x4e7447['zh']||={'dictionary':{},'getPluralForm':null},_0x4e7447['zh']['dictionary']=Object['assign'](_0x4e7447['zh']['dictionary'],_0x160bd9),_0x4e7447['zh']['getPluralForm']=_0xe70648;})(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.0
|
|
3
|
+
"version": "43.1.0",
|
|
4
4
|
"description": "A set of CKEditor 5 features enabling real-time collaboration within the editor using CKEditor Cloud Services.",
|
|
5
5
|
"license": "SEE LICENSE IN LICENSE.md",
|
|
6
6
|
"author": "CKSource (http://cksource.com/)",
|
|
@@ -42,14 +42,14 @@
|
|
|
42
42
|
],
|
|
43
43
|
"dependencies": {
|
|
44
44
|
"@ckeditor/ckeditor-cloud-services-collaboration": "52.6.10",
|
|
45
|
-
"@ckeditor/ckeditor5-core": "43.1.0
|
|
46
|
-
"@ckeditor/ckeditor5-engine": "43.1.0
|
|
47
|
-
"@ckeditor/ckeditor5-operations-compressor": "43.1.0
|
|
48
|
-
"@ckeditor/ckeditor5-theme-lark": "43.1.0
|
|
49
|
-
"@ckeditor/ckeditor5-ui": "43.1.0
|
|
50
|
-
"@ckeditor/ckeditor5-utils": "43.1.0
|
|
51
|
-
"ckeditor5": "43.1.0
|
|
52
|
-
"ckeditor5-collaboration": "43.1.0
|
|
45
|
+
"@ckeditor/ckeditor5-core": "43.1.0",
|
|
46
|
+
"@ckeditor/ckeditor5-engine": "43.1.0",
|
|
47
|
+
"@ckeditor/ckeditor5-operations-compressor": "43.1.0",
|
|
48
|
+
"@ckeditor/ckeditor5-theme-lark": "43.1.0",
|
|
49
|
+
"@ckeditor/ckeditor5-ui": "43.1.0",
|
|
50
|
+
"@ckeditor/ckeditor5-utils": "43.1.0",
|
|
51
|
+
"ckeditor5": "43.1.0",
|
|
52
|
+
"ckeditor5-collaboration": "43.1.0",
|
|
53
53
|
"lodash-es": "4.17.21"
|
|
54
54
|
},
|
|
55
55
|
"types": "src/index.d.ts",
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
export function getTranslation(
|
|
23
|
+
export function getTranslation(_0x18e446,_0x4504b6,_0x355456){const t=_0x18e446['t'];switch(_0x4504b6){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'},_0x355456);default:return'';}}
|
package/src/index.js
CHANGED
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
(function(
|
|
23
|
+
(function(_0x48a1df,_0x5b62ff){var _0x49b77e=_0x477e,_0x32fb94=_0x48a1df();while(!![]){try{var _0x30eb91=-parseInt(_0x49b77e(0xc5))/0x1*(-parseInt(_0x49b77e(0xc2))/0x2)+-parseInt(_0x49b77e(0xc8))/0x3+-parseInt(_0x49b77e(0xc9))/0x4+-parseInt(_0x49b77e(0xcb))/0x5*(parseInt(_0x49b77e(0xc1))/0x6)+parseInt(_0x49b77e(0xca))/0x7+-parseInt(_0x49b77e(0xc7))/0x8*(-parseInt(_0x49b77e(0xc4))/0x9)+-parseInt(_0x49b77e(0xc6))/0xa*(-parseInt(_0x49b77e(0xc3))/0xb);if(_0x30eb91===_0x5b62ff)break;else _0x32fb94['push'](_0x32fb94['shift']());}catch(_0x38504e){_0x32fb94['push'](_0x32fb94['shift']());}}}(_0x9362,0xc3673));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 _0x9362(){var _0xcd0aa4=['2834046ZqjKho','33mZMGVp','6262119pCbDdY','1nNQylc','2565170JJhgKd','8jHsqxE','3583800EIYFuf','854396oRZOWz','1813707mJKizS','5KBDgQh','5597376OZjAvI'];_0x9362=function(){return _0xcd0aa4;};return _0x9362();}export{default as CloudServicesTrackChangesAdapter}from'./realtimecollaborativetrackchanges/cloudservicestrackchangesadapter.js';export{default as CloudServicesRevisionHistoryAdapter}from'./realtimecollaborativerevisionhistory/cloudservicesrevisionhistoryadapter.js';function _0x477e(_0x1b9bad,_0x16f9cf){var _0x936224=_0x9362();return _0x477e=function(_0x477e3b,_0x4a1c46){_0x477e3b=_0x477e3b-0xc1;var _0x9afc27=_0x936224[_0x477e3b];return _0x9afc27;},_0x477e(_0x1b9bad,_0x16f9cf);}export{default as RealTimeCollaborationClient}from'./realtimecollaborativeediting/realtimecollaborationclient.js';export{default as PresenceList}from'./presencelist.js';import'./augmentation.js';
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
const _0x540dd8=_0x2b16;(function(_0x28178b,_0x487578){const _0x409ebe=_0x2b16,_0x1ea26b=_0x28178b();while(!![]){try{const _0x17f636=parseInt(_0x409ebe(0x1ed))/0x1+parseInt(_0x409ebe(0x1dd))/0x2+-parseInt(_0x409ebe(0x1dc))/0x3+parseInt(_0x409ebe(0x1cb))/0x4*(-parseInt(_0x409ebe(0x1f4))/0x5)+parseInt(_0x409ebe(0x1e9))/0x6+parseInt(_0x409ebe(0x1ea))/0x7*(-parseInt(_0x409ebe(0x214))/0x8)+parseInt(_0x409ebe(0x1db))/0x9*(parseInt(_0x409ebe(0x1ee))/0xa);if(_0x17f636===_0x487578)break;else _0x1ea26b['push'](_0x1ea26b['shift']());}catch(_0x643011){_0x1ea26b['push'](_0x1ea26b['shift']());}}}(_0x93d9,0xa9253));function _0x2b16(_0x59db27,_0x3fc5c5){const _0x93d95f=_0x93d9();return _0x2b16=function(_0x2b1697,_0x25be8a){_0x2b1697=_0x2b1697-0x1be;let _0xacd799=_0x93d95f[_0x2b1697];return _0xacd799;},_0x2b16(_0x59db27,_0x3fc5c5);}import{ContextPlugin as _0xeee504}from'ckeditor5/src/core.js';import{CKEditorError as _0x1024d9,Collection as _0x471f30}from'ckeditor5/src/utils.js';import{clickOutsideHandler as _0x1cefd0,BalloonPanelView as _0x497f1f,BodyCollection as _0x49b106}from'ckeditor5/src/ui.js';import{isElement as _0x1e9cdf}from'lodash-es';import _0x577027 from'../realtimecollaborativeediting/sessions.js';import _0x592505 from'./view/presencelistview.js';import _0x4c9cc1 from'./view/presencedropdownlistview.js';import _0xd66167 from'./view/presencedropdownlistitemview.js';import _0x280491 from'./view/presenceinlinelistitemview.js';const A={'collapseAt':0x6,'displayMe':!0x0};export default class s extends _0xeee504{constructor(_0xd2871a){const _0x1370b8=_0x2b16;super(_0xd2871a),this[_0x1370b8(0x1fc)]=null,this[_0x1370b8(0x1d1)][_0x1370b8(0x218)][_0x1370b8(0x20e)](_0x1370b8(0x20d),A);const _0x3398f1=_0xd2871a[_0x1370b8(0x218)][_0x1370b8(0x1cc)](_0x1370b8(0x205));if(_0x1370b8(0x1bf)!=typeof _0x3398f1)throw new _0x1024d9(_0x1370b8(0x203),this);if(_0x3398f1<0x1)throw new _0x1024d9(_0x1370b8(0x203),this);this[_0x1370b8(0x207)]=this[_0x1370b8(0x1d1)][_0x1370b8(0x1e0)][_0x1370b8(0x1cc)](_0x577027)[_0x1370b8(0x21a)],this[_0x1370b8(0x201)](_0x1370b8(0x20b),0x0),this[_0x1370b8(0x206)]=new _0x471f30(),this[_0x1370b8(0x1fa)]=new _0x497f1f(),this[_0x1370b8(0x1fa)][_0x1370b8(0x209)]=_0x1370b8(0x1f1),this[_0x1370b8(0x212)]=this[_0x1370b8(0x1ff)](),this[_0x1370b8(0x1c6)]=void 0x0;}static get[_0x540dd8(0x1e3)](){return[_0x577027];}[_0x540dd8(0x1fe)](){const _0x11d1da=_0x540dd8;for(const _0x5da12a of this[_0x11d1da(0x207)])this[_0x11d1da(0x1ce)](_0x5da12a);this[_0x11d1da(0x1c4)](this[_0x11d1da(0x207)],_0x11d1da(0x1c3),(_0x2142f0,_0x4801b9)=>{const _0x57f2ca=_0x11d1da;this[_0x57f2ca(0x1ce)](_0x4801b9);}),this[_0x11d1da(0x1c4)](this[_0x11d1da(0x207)],_0x11d1da(0x208),(_0x2dd77e,_0x2a5828)=>{const _0x2e7173=_0x11d1da;this[_0x2e7173(0x1cf)](_0x2a5828);});}[_0x540dd8(0x1ff)](){const _0xa977dc=_0x540dd8,_0x18fa23=this[_0xa977dc(0x1d1)],_0x571a67=new _0x592505(this[_0xa977dc(0x1d1)][_0xa977dc(0x20a)]),_0x4d5f05=this[_0xa977dc(0x1fa)];if(!_0x1e9cdf(_0x18fa23[_0xa977dc(0x218)][_0xa977dc(0x1cc)](_0xa977dc(0x1e1))))throw new _0x1024d9(_0xa977dc(0x1f0),this);return _0x571a67[_0xa977dc(0x21c)][_0xa977dc(0x1fb)](_0xa977dc(0x20b))['to'](this),_0x571a67[_0xa977dc(0x1fb)](_0xa977dc(0x21b))['to'](this,_0xa977dc(0x20b),_0x413bc2=>{const _0x1e1c70=_0xa977dc,{collapseAt:_0x3fb4d1,displayMe:_0x4cbe32}=_0x18fa23[_0x1e1c70(0x218)][_0x1e1c70(0x1cc)](_0x1e1c70(0x20d)),_0x56b383=_0x413bc2>=_0x3fb4d1;return _0x571a67[_0x1e1c70(0x21c)][_0x1e1c70(0x204)]=!(0x1==_0x413bc2&&_0x4cbe32||_0x56b383),_0x56b383||this[_0x1e1c70(0x1da)](),_0x56b383;}),_0x571a67[_0xa977dc(0x215)][_0xa977dc(0x1e2)][_0xa977dc(0x202)](this[_0xa977dc(0x206)])[_0xa977dc(0x1c7)](_0x5a5353=>{const _0x49868b=_0xa977dc,_0x42058f=_0x18fa23[_0x49868b(0x218)][_0x49868b(0x1cc)](_0x49868b(0x20d)),_0x3c1afd=new _0x280491(_0x18fa23[_0x49868b(0x20a)],_0x5a5353,!!_0x42058f[_0x49868b(0x1c9)]);return _0x3c1afd[_0x49868b(0x1fb)](_0x49868b(0x1de))['to'](_0x571a67,_0x49868b(0x21b),_0x157134=>!_0x157134),_0x3c1afd[_0x49868b(0x1fb)](_0x49868b(0x1f2))['to'](_0x571a67,_0x49868b(0x21b),_0x58e2a5=>!_0x58e2a5),_0x42058f[_0x49868b(0x1c9)]&&this[_0x49868b(0x1c4)](_0x3c1afd,_0x49868b(0x1d0),()=>{const _0x5bf762=_0x49868b;this[_0x5bf762(0x212)][_0x5bf762(0x21b)]||_0x42058f[_0x5bf762(0x1c9)](_0x5a5353,_0x3c1afd[_0x5bf762(0x1d3)]);}),_0x3c1afd;}),this[_0xa977dc(0x1c4)](_0x571a67[_0xa977dc(0x215)],_0xa977dc(0x1d0),()=>{const _0x55e51f=_0xa977dc;this[_0x55e51f(0x1c6)]?this[_0x55e51f(0x1da)]():this[_0x55e51f(0x212)][_0x55e51f(0x21b)]&&this[_0x55e51f(0x1e6)]();}),_0x571a67[_0xa977dc(0x215)][_0xa977dc(0x20f)][_0xa977dc(0x201)](_0xa977dc(0x1f9),(_0xb6efca,_0x74197c)=>{const _0x2e9ef4=_0xa977dc;this[_0x2e9ef4(0x212)][_0x2e9ef4(0x21b)]&&(this[_0x2e9ef4(0x1e6)](),_0x74197c());}),_0x571a67[_0xa977dc(0x1cd)](),_0x4d5f05[_0xa977dc(0x1cd)](),_0x1cefd0({'emitter':_0x571a67,'activator':()=>_0x4d5f05[_0xa977dc(0x1eb)],'contextElements':[_0x4d5f05[_0xa977dc(0x1d3)],_0x571a67[_0xa977dc(0x215)][_0xa977dc(0x1d3)]],'callback':()=>this[_0xa977dc(0x1da)]()}),_0x18fa23[_0xa977dc(0x218)][_0xa977dc(0x1cc)](_0xa977dc(0x1e1))[_0xa977dc(0x1d9)](_0x571a67[_0xa977dc(0x1d3)]),this[_0xa977dc(0x1fc)]=new _0x49b106(this[_0xa977dc(0x1d1)][_0xa977dc(0x20a)]),this[_0xa977dc(0x1fc)][_0xa977dc(0x1c2)](),this[_0xa977dc(0x1fc)][_0xa977dc(0x1c3)](this[_0xa977dc(0x1fa)]),_0x571a67;}[_0x540dd8(0x1ce)](_0x59649c){const _0x5c68d5=_0x540dd8;if(!this[_0x5c68d5(0x1d1)][_0x5c68d5(0x218)][_0x5c68d5(0x1cc)](_0x5c68d5(0x222))&&_0x59649c[_0x5c68d5(0x1e4)])return;const _0x80f626=this[_0x5c68d5(0x1d1)][_0x5c68d5(0x218)][_0x5c68d5(0x1cc)](_0x5c68d5(0x205))-0x1;this[_0x5c68d5(0x20b)]++,this[_0x5c68d5(0x206)][_0x5c68d5(0x211)]==_0x80f626&&this[_0x5c68d5(0x206)][_0x5c68d5(0x211)]>0x1&&this[_0x5c68d5(0x206)][_0x5c68d5(0x208)](0x1);const _0x40b7c8=_0x59649c[_0x5c68d5(0x1e4)]?0x0:this[_0x5c68d5(0x206)][_0x5c68d5(0x211)];this[_0x5c68d5(0x206)][_0x5c68d5(0x1c3)](_0x59649c,_0x40b7c8);}[_0x540dd8(0x1cf)](_0x1d044d){const _0x154531=_0x540dd8;if(this[_0x154531(0x20b)]--,this[_0x154531(0x206)][_0x154531(0x1cc)](_0x1d044d['id'])&&(this[_0x154531(0x206)][_0x154531(0x208)](_0x1d044d['id']),this[_0x154531(0x206)][_0x154531(0x211)]<this[_0x154531(0x20b)])){for(const _0x3efb68 of Array[_0x154531(0x1e5)](this[_0x154531(0x207)])[_0x154531(0x220)]())if(!this[_0x154531(0x206)][_0x154531(0x1cc)](_0x3efb68['id']))return void this[_0x154531(0x206)][_0x154531(0x1c3)](_0x3efb68,Math[_0x154531(0x1d7)](this[_0x154531(0x206)][_0x154531(0x211)],0x1));}}[_0x540dd8(0x1e6)](){const _0x4251f1=_0x540dd8;if(this[_0x4251f1(0x1c6)])return;const _0x1460f3=this[_0x4251f1(0x1d1)][_0x4251f1(0x218)][_0x4251f1(0x1cc)](_0x4251f1(0x20d));this[_0x4251f1(0x1c6)]=new _0x4c9cc1(this[_0x4251f1(0x1d1)][_0x4251f1(0x20a)],!!_0x1460f3[_0x4251f1(0x1c9)]),this[_0x4251f1(0x212)][_0x4251f1(0x215)][_0x4251f1(0x21e)]=!0x0;const {listWrapperView:_0x27ec72}=this[_0x4251f1(0x1c6)];_0x27ec72[_0x4251f1(0x1e2)][_0x4251f1(0x202)](this[_0x4251f1(0x207)])[_0x4251f1(0x1c7)](_0x45f08a=>{const _0x508f34=_0x4251f1;if(!_0x1460f3[_0x508f34(0x1df)]&&_0x45f08a[_0x508f34(0x1e4)])return null;const _0x524fbb=new _0xd66167(this[_0x508f34(0x1d1)][_0x508f34(0x20a)],_0x45f08a,!!_0x1460f3[_0x508f34(0x1c9)]);return _0x1460f3[_0x508f34(0x1c9)]&&this[_0x508f34(0x1c4)](_0x524fbb,_0x508f34(0x1d0),()=>{const _0x26a415=_0x508f34;_0x1460f3[_0x26a415(0x1c9)](_0x45f08a,_0x524fbb[_0x26a415(0x1d3)]);}),_0x524fbb;}),this[_0x4251f1(0x1fa)][_0x4251f1(0x221)][_0x4251f1(0x1c3)](this[_0x4251f1(0x1c6)]),this[_0x4251f1(0x1fa)][_0x4251f1(0x217)]({'target':this[_0x4251f1(0x212)][_0x4251f1(0x215)][_0x4251f1(0x1d3)]}),_0x27ec72[_0x4251f1(0x213)](),_0x27ec72[_0x4251f1(0x219)]();const _0x492476=(_0x366e50,_0x2dd316)=>{const _0x2d648a=_0x4251f1;this[_0x2d648a(0x1da)](),this[_0x2d648a(0x212)][_0x2d648a(0x215)][_0x2d648a(0x213)](),_0x2dd316();};_0x27ec72[_0x4251f1(0x20f)][_0x4251f1(0x201)](_0x4251f1(0x1f3),_0x492476),_0x27ec72[_0x4251f1(0x20f)][_0x4251f1(0x201)](_0x4251f1(0x1ec),_0x492476),_0x27ec72[_0x4251f1(0x20f)][_0x4251f1(0x201)](_0x4251f1(0x1ca),(_0x2ab116,_0x2ffa56)=>{const _0x3f3a1e=_0x4251f1;!function(_0x5ccb4a){const _0x1805bf=_0x2b16,_0x8c8336=['a',_0x1805bf(0x1d5),_0x1805bf(0x20c),_0x1805bf(0x216),_0x1805bf(0x1d4),_0x1805bf(0x1c8),_0x1805bf(0x1e8)][_0x1805bf(0x1fd)](_0x4b7eb7=>_0x4b7eb7+_0x1805bf(0x1e7))[_0x1805bf(0x1d2)](','),_0xae01b0=[...document[_0x1805bf(0x21f)][_0x1805bf(0x1f5)](_0x8c8336)][_0x1805bf(0x200)](_0x181591=>_0x181591===document[_0x1805bf(0x1c0)]||_0x181591[_0x1805bf(0x1f8)]+_0x181591[_0x1805bf(0x1c1)]>0x0)[_0x1805bf(0x210)]((_0x50150e,_0x401c8d)=>(_0x50150e[_0x1805bf(0x1c5)]||0x0)-(_0x401c8d[_0x1805bf(0x1c5)]||0x0)),_0xfe99bb=_0xae01b0[_0x1805bf(0x1f6)](_0x5ccb4a),_0x32c2eb=_0xae01b0[(_0xfe99bb+0x1)%_0xae01b0[_0x1805bf(0x211)]];_0x32c2eb&&_0x32c2eb[_0x1805bf(0x213)]();}(this[_0x3f3a1e(0x212)][_0x3f3a1e(0x1d3)]),this[_0x3f3a1e(0x1da)](),_0x2ffa56();}),_0x27ec72[_0x4251f1(0x1ef)][_0x4251f1(0x1c3)](this[_0x4251f1(0x212)][_0x4251f1(0x1d3)]),_0x27ec72[_0x4251f1(0x1ef)]['on'](_0x4251f1(0x1be),(_0x2ae5a3,_0x16da8c,_0x48c2ac)=>{const _0x44c7ac=_0x4251f1;_0x48c2ac||this[_0x44c7ac(0x1da)]();});}[_0x540dd8(0x1da)](){const _0x17db28=_0x540dd8;this[_0x17db28(0x1c6)]&&(this[_0x17db28(0x212)][_0x17db28(0x215)][_0x17db28(0x21e)]=!0x1,this[_0x17db28(0x1fa)][_0x17db28(0x1f7)](),this[_0x17db28(0x1fa)][_0x17db28(0x221)][_0x17db28(0x208)](this[_0x17db28(0x1c6)]),this[_0x17db28(0x1c6)][_0x17db28(0x1d8)](),this[_0x17db28(0x1c6)]=void 0x0);}[_0x540dd8(0x1d8)](){const _0xf6fa83=_0x540dd8;super[_0xf6fa83(0x1d8)](),this[_0xf6fa83(0x212)]&&this[_0xf6fa83(0x212)][_0xf6fa83(0x21d)]&&this[_0xf6fa83(0x212)][_0xf6fa83(0x1d8)](),this[_0xf6fa83(0x1fc)]&&(this[_0xf6fa83(0x1fc)][_0xf6fa83(0x1d6)](),this[_0xf6fa83(0x1fc)][_0xf6fa83(0x1d8)](),this[_0xf6fa83(0x1fc)]=null);}}function _0x93d9(){const _0x46aa4c=['Shift+Tab','296899hpImnu','60ujxQkK','focusTracker','presencelist-missing-container','ck\x20ck-presence-list__balloon','isFocusable','Esc','290eQtuow','querySelectorAll','indexOf','unpin','offsetWidth','Enter','balloonPanelView','bind','_bodyCollection','map','init','_createView','filter','set','bindTo','presencelist-collapseat-invalid-format','isHidden','presenceList.collapseAt','currentDisplayedUsers','_allConnectedUsers','remove','class','locale','usersCount','input','presenceList','define','keystrokes','sort','length','view','focus','240dTqIoI','inlineListView','select','pin','config','checkIfScrollable','allConnectedUsers','isCollapsed','counterView','isRendered','isExpanded','body','reverse','content','presenceList.displayMe','change:isFocused','number','activeElement','offsetHeight','attachToDom','add','listenTo','tabIndex','presenceDropdownView','using','[tabindex]','onClick','Tab','88184bcmpsd','get','render','_handleUserAdd','_handleUserRemove','execute','context','join','element','textarea','button','detachFromDom','min','destroy','appendChild','hideDropdown','2986659lQxXBa','378576MeeTxO','1496098wRaiun','hasTooltip','displayMe','plugins','presenceList.container','items','requires','isMe','from','showDropdown',':not([disabled]):not([tabindex=\x22-1\x22])','[contenteditable]','372570mvVuXx','233443AXIvdM','isVisible'];_0x93d9=function(){return _0x46aa4c;};return _0x93d9();}
|
|
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);}}
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
(function(
|
|
23
|
+
(function(_0x4bb523,_0x35a94d){const _0x1b805f=_0x527a,_0x1ac628=_0x4bb523();while(!![]){try{const _0x2d4caa=parseInt(_0x1b805f(0xda))/0x1+-parseInt(_0x1b805f(0xdf))/0x2*(-parseInt(_0x1b805f(0xdd))/0x3)+-parseInt(_0x1b805f(0xd7))/0x4+parseInt(_0x1b805f(0xdc))/0x5*(parseInt(_0x1b805f(0xe7))/0x6)+-parseInt(_0x1b805f(0xde))/0x7*(-parseInt(_0x1b805f(0xe6))/0x8)+parseInt(_0x1b805f(0xe2))/0x9+-parseInt(_0x1b805f(0xd8))/0xa;if(_0x2d4caa===_0x35a94d)break;else _0x1ac628['push'](_0x1ac628['shift']());}catch(_0x4bd842){_0x1ac628['push'](_0x1ac628['shift']());}}}(_0x25e2,0x8b742));import{View as _0x368af9}from'ckeditor5/src/ui.js';function _0x527a(_0x159add,_0x25e70d){const _0x25e29c=_0x25e2();return _0x527a=function(_0x527ad0,_0x2d2e7f){_0x527ad0=_0x527ad0-0xd7;let _0xf20f51=_0x25e29c[_0x527ad0];return _0xf20f51;},_0x527a(_0x159add,_0x25e70d);}function _0x25e2(){const _0x295df7=['ck-presence-list__counter--hidden','CONNECTED_USERS','75352sfghwq','6WcnMHa','bindTemplate','setTemplate','213180WwsaPf','13759180KUIUWK','div','99924zkNBNo','set','4184990RKBNdp','3jhtQFt','133ClKlCY','183128HwrYyb','usersCount','isHidden','7136712mjZtqu','ck-presence-list__counter'];_0x25e2=function(){return _0x295df7;};return _0x25e2();}import{getTranslation as _0x4f49a4}from'../../common-translations.js';export default class ts extends _0x368af9{constructor(_0x3c0884){const _0x4b6a9e=_0x527a;super(_0x3c0884);const _0x1fb7db=this[_0x4b6a9e(0xe8)];this[_0x4b6a9e(0xdb)](_0x4b6a9e(0xe0),0x0),this[_0x4b6a9e(0xdb)](_0x4b6a9e(0xe1),!0x0),this[_0x4b6a9e(0xe9)]({'tag':_0x4b6a9e(0xd9),'attributes':{'class':['ck',_0x4b6a9e(0xe3),_0x1fb7db['if'](_0x4b6a9e(0xe1),_0x4b6a9e(0xe4))]},'children':[{'text':_0x1fb7db['to'](_0x4b6a9e(0xe0),_0x4f3479=>_0x4f49a4(_0x3c0884,_0x4b6a9e(0xe5),_0x4f3479))}]});}}
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
const
|
|
23
|
+
const _0x4b52ac=_0x39a6;(function(_0x304950,_0x3a14f7){const _0x19aa53=_0x39a6,_0x1774c5=_0x304950();while(!![]){try{const _0x3a32df=parseInt(_0x19aa53(0x196))/0x1*(-parseInt(_0x19aa53(0x182))/0x2)+-parseInt(_0x19aa53(0x18f))/0x3*(parseInt(_0x19aa53(0x17f))/0x4)+-parseInt(_0x19aa53(0x193))/0x5*(-parseInt(_0x19aa53(0x187))/0x6)+parseInt(_0x19aa53(0x17d))/0x7+parseInt(_0x19aa53(0x184))/0x8*(parseInt(_0x19aa53(0x18b))/0x9)+parseInt(_0x19aa53(0x18a))/0xa+-parseInt(_0x19aa53(0x188))/0xb*(parseInt(_0x19aa53(0x183))/0xc);if(_0x3a32df===_0x3a14f7)break;else _0x1774c5['push'](_0x1774c5['shift']());}catch(_0x637172){_0x1774c5['push'](_0x1774c5['shift']());}}}(_0x575b,0x52d5a));import{ListItemView as _0xacceb5}from'ckeditor5/src/ui.js';import{UserView as _0x57c6e8}from'ckeditor5-collaboration/src/collaboration-core.js';export default class E extends _0xacceb5{constructor(_0x1d4ca7,_0x39d3ef,_0x2c28e3){const _0x366131=_0x39a6;super(_0x1d4ca7);const _0x22e503=this[_0x366131(0x18d)];this[_0x366131(0x189)]=new _0x57c6e8(_0x1d4ca7,_0x39d3ef);const _0x1de762={'tag':'li','attributes':{'class':['ck',_0x366131(0x181)],'tabindex':-0x1,'role':_0x366131(0x198),'aria-label':_0x39d3ef[_0x366131(0x194)]},'children':[this[_0x366131(0x189)],{'tag':_0x366131(0x17e),'attributes':{'class':['ck',_0x366131(0x195)]},'children':[{'text':_0x39d3ef[_0x366131(0x194)]}]},{'tag':_0x366131(0x17e),'attributes':{'class':['ck',_0x366131(0x185),_0x39d3ef[_0x366131(0x197)][_0x366131(0x180)]()],'aria-hidden':_0x366131(0x190)}}]};_0x2c28e3&&(_0x1de762[_0x366131(0x186)]=_0x366131(0x17b),_0x1de762['on']={'click':_0x22e503['to'](()=>this[_0x366131(0x17c)](_0x366131(0x192)))}),this[_0x366131(0x191)](_0x1de762);}[_0x4b52ac(0x18e)](){const _0x1ab87c=_0x4b52ac;this[_0x1ab87c(0x18c)][_0x1ab87c(0x18e)]();}}function _0x39a6(_0x28afc2,_0x4fb176){const _0x575b93=_0x575b();return _0x39a6=function(_0x39a665,_0x194d11){_0x39a665=_0x39a665-0x17b;let _0x4a8550=_0x575b93[_0x39a665];return _0x4a8550;},_0x39a6(_0x28afc2,_0x4fb176);}function _0x575b(){const _0x4e51a0=['getBackgroundColorClass','ck-presence-list__dropdown-list-item','329262gfISsw','2496svOmIt','3320qjgbfC','ck-presence-list__marker','tag','19146kMcumK','3630tkHyKf','userView','1094940KIpicS','8541UEiOXq','element','bindTemplate','focus','3bUDXVm','true','setTemplate','execute','245ISeWSs','name','ck-user__full-name','2BPOARU','color','presentation','button','fire','4076842SBWWRX','span','2019608SxbNmd'];_0x575b=function(){return _0x4e51a0;};return _0x575b();}
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
const
|
|
23
|
+
const _0x47baa4=_0x537d;function _0x487e(){const _0xf47206=['ariaLabel','scrollHeight','ariaLabelledBy','ck-reset','40035ZmVOfj','clientHeight','checkIfScrollable','application','2229740ZGUunV','div','resize','ck-presence-list__dropdown-list','setTemplate','change','4BJIjgU','Connected\x20users\x20list\x20dropdown\x20menu','13313439oHduCR','ck-list','2061750lFZuBV','element','1012230uGDlYp','ck-presence-list__dropdown-list-wrapper','set','ck-presence-list__dropdown-list-wrapper_scrollable','12243gsibhO','1084480zoNdXg','render','listWrapperView','bindTemplate','1968XeWJAr','innerHeight','_isScrollable','max','window','listenTo','role','items'];_0x487e=function(){return _0xf47206;};return _0x487e();}(function(_0x38a2d8,_0x49aad6){const _0x4155ad=_0x537d,_0x11b46e=_0x38a2d8();while(!![]){try{const _0x16cd0e=parseInt(_0x4155ad(0x150))/0x1+-parseInt(_0x4155ad(0x165))/0x2+-parseInt(_0x4155ad(0x160))/0x3+-parseInt(_0x4155ad(0x15a))/0x4*(-parseInt(_0x4155ad(0x154))/0x5)+-parseInt(_0x4155ad(0x15e))/0x6+-parseInt(_0x4155ad(0x164))/0x7*(parseInt(_0x4155ad(0x169))/0x8)+parseInt(_0x4155ad(0x15c))/0x9;if(_0x16cd0e===_0x49aad6)break;else _0x11b46e['push'](_0x11b46e['shift']());}catch(_0xf1b231){_0x11b46e['push'](_0x11b46e['shift']());}}}(_0x487e,0x4c1ad));function _0x537d(_0x587ab3,_0x27e5b0){const _0x487e48=_0x487e();return _0x537d=function(_0x537d40,_0x10dbfb){_0x537d40=_0x537d40-0x146;let _0x243b9f=_0x487e48[_0x537d40];return _0x243b9f;},_0x537d(_0x587ab3,_0x27e5b0);}import{ListView as _0x28a8c7,View as _0x4379d2}from'ckeditor5/src/ui.js';import{global as _0x7645ba}from'ckeditor5/src/utils.js';import{getTranslation as _0x20886c}from'../../common-translations.js';export default class M extends _0x4379d2{constructor(_0x1c0946,_0x2a3ffd){const _0x22c978=_0x537d;super(_0x1c0946),this[_0x22c978(0x167)]=new PresenceDropdownListWrapperView(_0x1c0946,_0x2a3ffd),this[_0x22c978(0x158)]({'tag':_0x22c978(0x155),'attributes':{'tabindex':-0x1,'role':_0x22c978(0x153),'class':['ck',_0x22c978(0x157)],'aria-label':_0x20886c(_0x1c0946,_0x22c978(0x15b))},'children':[this[_0x22c978(0x167)]]});}}export class PresenceDropdownListWrapperView extends _0x28a8c7{constructor(_0xa0d9ad,_0x3c61e0){const _0x43a3b1=_0x537d;super(_0xa0d9ad);const _0xd5de35=this[_0x43a3b1(0x168)];this[_0x43a3b1(0x162)](_0x43a3b1(0x146),!0x1),this[_0x43a3b1(0x158)]({'tag':_0x3c61e0?_0x43a3b1(0x155):'ul','attributes':{'class':['ck',_0x43a3b1(0x14f),_0x43a3b1(0x15d),_0x43a3b1(0x161),_0xd5de35['if'](_0x43a3b1(0x146),_0x43a3b1(0x163))],'role':_0xd5de35['to'](_0x43a3b1(0x14a)),'aria-label':_0xd5de35['to'](_0x43a3b1(0x14c)),'aria-labelledby':_0xd5de35['to'](_0x43a3b1(0x14e))},'children':this[_0x43a3b1(0x14b)]}),this[_0x43a3b1(0x149)](_0x7645ba[_0x43a3b1(0x148)],_0x43a3b1(0x156),()=>this[_0x43a3b1(0x152)]()),this[_0x43a3b1(0x14b)]['on'](_0x43a3b1(0x159),()=>this[_0x43a3b1(0x152)]());}[_0x47baa4(0x166)](){const _0x32eeee=_0x47baa4;super[_0x32eeee(0x166)](),this[_0x32eeee(0x152)]();}[_0x47baa4(0x152)](){const _0x5e4ed8=_0x47baa4,_0x2d4868=this[_0x5e4ed8(0x15f)];_0x2d4868&&(this[_0x5e4ed8(0x146)]=Math[_0x5e4ed8(0x147)](_0x2d4868[_0x5e4ed8(0x14d)],_0x2d4868[_0x5e4ed8(0x151)])>0.8*window[_0x5e4ed8(0x16a)]);}}
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
(function(
|
|
23
|
+
(function(_0x248829,_0x280a61){const _0x4acf0d=_0x5c3c,_0x1c2276=_0x248829();while(!![]){try{const _0x50bc86=-parseInt(_0x4acf0d(0x1a8))/0x1+parseInt(_0x4acf0d(0x1b3))/0x2+parseInt(_0x4acf0d(0x1a9))/0x3*(-parseInt(_0x4acf0d(0x19e))/0x4)+parseInt(_0x4acf0d(0x1bc))/0x5+-parseInt(_0x4acf0d(0x1aa))/0x6*(parseInt(_0x4acf0d(0x1ae))/0x7)+parseInt(_0x4acf0d(0x1ad))/0x8+parseInt(_0x4acf0d(0x1a5))/0x9;if(_0x50bc86===_0x280a61)break;else _0x1c2276['push'](_0x1c2276['shift']());}catch(_0x4f0e72){_0x1c2276['push'](_0x1c2276['shift']());}}}(_0x3aa8,0x8f39e));function _0x5c3c(_0x28b79f,_0x249e8a){const _0x3aa83c=_0x3aa8();return _0x5c3c=function(_0x5c3cb4,_0x5a1387){_0x5c3cb4=_0x5c3cb4-0x19e;let _0x267ec7=_0x3aa83c[_0x5c3cb4];return _0x267ec7;},_0x5c3c(_0x28b79f,_0x249e8a);}import{LabelView as _0x297a0a,View as _0x4cdce0}from'ckeditor5/src/ui.js';import{UserView as _0x292feb}from'ckeditor5-collaboration/src/collaboration-core.js';export default class T extends _0x4cdce0{constructor(_0x5bc3fc,_0x1c1c79,_0x408a2a){const _0xda81aa=_0x5c3c;super(_0x5bc3fc);const _0x34b50e=this[_0xda81aa(0x1af)];this[_0xda81aa(0x1bd)](_0xda81aa(0x1a3),!0x1),this[_0xda81aa(0x1bd)](_0xda81aa(0x1a4),!0x0),this[_0xda81aa(0x1bd)](_0xda81aa(0x19f),''),this[_0xda81aa(0x1be)]=new _0x292feb(_0x5bc3fc,_0x1c1c79),this[_0xda81aa(0x1b5)]=new at(_0x5bc3fc,_0x1c1c79);const _0x1e520f=new _0x297a0a(_0x5bc3fc);_0x1e520f[_0xda81aa(0x1b4)][_0xda81aa(0x1b8)]=_0xda81aa(0x1b2),_0x1e520f[_0xda81aa(0x1a6)]=_0x1c1c79[_0xda81aa(0x1b6)];const _0xeea16d={'tag':_0xda81aa(0x1a2),'attributes':{'class':['ck',_0xda81aa(0x1ba)],'role':_0xda81aa(0x1a7),'tabindex':_0x34b50e['to'](_0xda81aa(0x1a3),_0x2cdb6f=>!!_0x2cdb6f&&0x0),'aria-labelledby':_0x1e520f['id'],'data-cke-tooltip-text':this[_0xda81aa(0x1be)][_0xda81aa(0x1b6)],'data-cke-tooltip-position':_0x34b50e['to'](_0xda81aa(0x19f)),'data-cke-tooltip-disabled':_0x34b50e['to'](_0xda81aa(0x1a4),_0x326716=>!_0x326716),'data-cke-tooltip-class':_0xda81aa(0x1b0)},'children':[this[_0xda81aa(0x1be)],this[_0xda81aa(0x1b5)],_0x1e520f]};_0x408a2a&&(_0xeea16d[_0xda81aa(0x1b8)]=_0xda81aa(0x1bb),_0xeea16d['on']={'click':_0x34b50e['to'](()=>this[_0xda81aa(0x1ab)](_0xda81aa(0x1b1)))}),this[_0xda81aa(0x1b9)](_0xeea16d);}}function _0x3aa8(){const _0x5ca385=['button','2587835GksQSV','set','userView','36472jxRkSz','tooltipPosition','color','getBackgroundColorClass','div','isFocusable','hasTooltip','5736096jwcpJx','text','listitem','1042204ktqqxZ','213bCbRAD','6LtKNLJ','fire','true','5819320oFEzVe','964642SbCWDI','bindTemplate','ck-presence-list__list-item__tooltip','execute','span','1063432MIMSwT','template','markerView','name','ck-presence-list__marker','tag','setTemplate','ck-presence-list__list-item'];_0x3aa8=function(){return _0x5ca385;};return _0x3aa8();}class at extends _0x4cdce0{constructor(_0x1ebf92,_0x20f4d9){const _0x50c6b2=_0x5c3c;super(_0x1ebf92),this[_0x50c6b2(0x1b9)]({'tag':_0x50c6b2(0x1b2),'attributes':{'class':['ck',_0x50c6b2(0x1b7),_0x20f4d9[_0x50c6b2(0x1a0)][_0x50c6b2(0x1a1)]()],'aria-hidden':_0x50c6b2(0x1ac)}});}}
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
const
|
|
23
|
+
const _0x4cd8ab=_0x28b6;(function(_0x479a29,_0x390cf4){const _0xbfd2ad=_0x28b6,_0x3d1ce4=_0x479a29();while(!![]){try{const _0x140442=parseInt(_0xbfd2ad(0x129))/0x1*(parseInt(_0xbfd2ad(0x139))/0x2)+parseInt(_0xbfd2ad(0x13f))/0x3*(parseInt(_0xbfd2ad(0x124))/0x4)+-parseInt(_0xbfd2ad(0x125))/0x5+parseInt(_0xbfd2ad(0x12b))/0x6+parseInt(_0xbfd2ad(0x141))/0x7+parseInt(_0xbfd2ad(0x13b))/0x8*(-parseInt(_0xbfd2ad(0x13e))/0x9)+parseInt(_0xbfd2ad(0x12c))/0xa*(-parseInt(_0xbfd2ad(0x140))/0xb);if(_0x140442===_0x390cf4)break;else _0x3d1ce4['push'](_0x3d1ce4['shift']());}catch(_0x5f2751){_0x3d1ce4['push'](_0x3d1ce4['shift']());}}}(_0x4508,0xac6b9));import{View as _0x408e58}from'ckeditor5/src/ui.js';import{KeystrokeHandler as _0xe663b9}from'ckeditor5/src/utils.js';function _0x28b6(_0x2dbcbe,_0x1f7e71){const _0x4508fa=_0x4508();return _0x28b6=function(_0x28b60e,_0x1a5cec){_0x28b60e=_0x28b60e-0x121;let _0x2bb502=_0x4508fa[_0x28b60e];return _0x2bb502;},_0x28b6(_0x2dbcbe,_0x1f7e71);}import{getTranslation as _0x5e5d58}from'../../common-translations.js';export default class es extends _0x408e58{constructor(_0x54169e){const _0x202d3f=_0x28b6;super(_0x54169e);const _0x2a6186=this[_0x202d3f(0x136)];this[_0x202d3f(0x142)]=this[_0x202d3f(0x137)](),this[_0x202d3f(0x12e)]=new _0xe663b9(),this[_0x202d3f(0x12d)]({'hasPopup':!0x1,'isExpanded':!0x1}),this[_0x202d3f(0x128)]({'tag':_0x202d3f(0x122),'attributes':{'aria-haspopup':_0x2a6186['if'](_0x202d3f(0x127)),'aria-expanded':_0x2a6186['to'](_0x202d3f(0x130),_0x2b11a7=>this[_0x202d3f(0x127)]&&String(_0x2b11a7)),'aria-label':_0x2a6186['to'](_0x202d3f(0x127),_0x382a56=>_0x5e5d58(_0x54169e,_0x382a56?_0x202d3f(0x135):_0x202d3f(0x132))),'role':_0x202d3f(0x12f),'tabindex':_0x2a6186['to'](_0x202d3f(0x127),_0x30e2ac=>!!_0x30e2ac&&0x0),'class':['ck',_0x202d3f(0x13c)]},'children':this[_0x202d3f(0x142)],'on':{'click':_0x2a6186['to'](()=>this[_0x202d3f(0x13d)](_0x202d3f(0x12a)))}}),this['on'](_0x202d3f(0x121),(_0x4e015e,_0x30802d,_0x2f1b46)=>{const _0x4a48fe=_0x202d3f;this[_0x4a48fe(0x126)]&&(_0x2f1b46?this[_0x4a48fe(0x126)][_0x4a48fe(0x133)](_0x4a48fe(0x131),String(this[_0x4a48fe(0x130)])):this[_0x4a48fe(0x126)][_0x4a48fe(0x134)](_0x4a48fe(0x131)));});}[_0x4cd8ab(0x123)](){const _0x184e94=_0x4cd8ab;this[_0x184e94(0x126)][_0x184e94(0x123)]();}[_0x4cd8ab(0x13a)](){const _0x4eb732=_0x4cd8ab;super[_0x4eb732(0x13a)](),this[_0x4eb732(0x12e)][_0x4eb732(0x138)](this[_0x4eb732(0x126)]);}}function _0x4508(){const _0x50d859=['698790FbhmRB','render','280YXrSGu','ck-presence-list__list','fire','149661ULXfxh','3367329LVWpxq','9600943GhCGxT','1999536VphBQo','items','change:hasPopup','div','focus','4wjyPyw','590120vsuCWw','element','hasPopup','setTemplate','1WRnImW','execute','3129594ihXDyr','10sqNZai','set','keystrokes','list','isExpanded','aria-expanded','Connected\x20users\x20list','setAttribute','removeAttribute','Collapsed\x20connected\x20users\x20list\x20(press\x20ENTER\x20to\x20open\x20it)','bindTemplate','createCollection','listenTo'];_0x4508=function(){return _0x50d859;};return _0x4508();}
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
(function(
|
|
23
|
+
function _0x5124(_0x1e8bf4,_0x760857){const _0x1ceaca=_0x1cea();return _0x5124=function(_0x512477,_0x47b05c){_0x512477=_0x512477-0x93;let _0x313946=_0x1ceaca[_0x512477];return _0x313946;},_0x5124(_0x1e8bf4,_0x760857);}(function(_0x5c804b,_0x22dc4a){const _0x8adff5=_0x5124,_0x4f5901=_0x5c804b();while(!![]){try{const _0x4d2687=parseInt(_0x8adff5(0x97))/0x1+-parseInt(_0x8adff5(0xad))/0x2*(-parseInt(_0x8adff5(0xa4))/0x3)+parseInt(_0x8adff5(0x9c))/0x4+parseInt(_0x8adff5(0x9a))/0x5*(-parseInt(_0x8adff5(0xa5))/0x6)+-parseInt(_0x8adff5(0xae))/0x7+parseInt(_0x8adff5(0x95))/0x8*(parseInt(_0x8adff5(0xaa))/0x9)+-parseInt(_0x8adff5(0xaf))/0xa;if(_0x4d2687===_0x22dc4a)break;else _0x4f5901['push'](_0x4f5901['shift']());}catch(_0x7a5b4c){_0x4f5901['push'](_0x4f5901['shift']());}}}(_0x1cea,0x520fe));function _0x1cea(){const _0x4d8e68=['367615eCaBQL','bind','577204mLriGU','div','tooltipPosition','counterView','inlineListView','ck-reset','ck-rounded-corners','bindTemplate','785724ULNbTt','12qNGalt','items','locale','hasPopup','setTemplate','207tDcLMd','set','ck-presence-list','4DjjNfs','397663wOjbgO','7148460rZPrDp','ck-presence-list--collapsed','first','200584jXuFMY','change','10031bxXsKh','listenTo','isCollapsed'];_0x1cea=function(){return _0x4d8e68;};return _0x1cea();}import{View as _0x474fb2}from'ckeditor5/src/ui.js';import _0x40ef40 from'./presencecounterview.js';import _0x2800ad from'./presenceinlinelistview.js';import'../../../theme/presencelist.css';export default class _ extends _0x474fb2{constructor(_0xbb15b6){const _0x23f839=_0x5124;super(_0xbb15b6);const _0x25dbaa=this[_0x23f839(0xa3)];this[_0x23f839(0xab)](_0x23f839(0x99),!0x0),this[_0x23f839(0x9f)]=new _0x40ef40(this[_0x23f839(0xa7)]),this[_0x23f839(0xa0)]=new _0x2800ad(_0xbb15b6),this[_0x23f839(0xa0)][_0x23f839(0x9b)](_0x23f839(0xa8))['to'](this,_0x23f839(0x99)),this[_0x23f839(0x98)](this[_0x23f839(0xa0)][_0x23f839(0xa6)],_0x23f839(0x96),()=>{const _0x4b01af=_0x23f839;for(const _0x1296ec of this[_0x4b01af(0xa0)][_0x4b01af(0xa6)])_0x1296ec[_0x4b01af(0x9e)]='s';this[_0x4b01af(0xa0)][_0x4b01af(0xa6)][_0x4b01af(0x94)]&&(this[_0x4b01af(0xa0)][_0x4b01af(0xa6)][_0x4b01af(0x94)][_0x4b01af(0x9e)]='se');}),this[_0x23f839(0xa9)]({'tag':_0x23f839(0x9d),'attributes':{'class':['ck',_0x23f839(0xac),_0x23f839(0xa1),_0x23f839(0xa2),_0x25dbaa['if'](_0x23f839(0x99),_0x23f839(0x93))]},'children':[this[_0x23f839(0x9f)],this[_0x23f839(0xa0)]]});}}
|
package/src/presencelist.js
CHANGED
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
var
|
|
23
|
+
var _0x15748c=_0x3b96;(function(_0x38cfcb,_0x41dc6c){var _0x5bc161=_0x3b96,_0x541b85=_0x38cfcb();while(!![]){try{var _0x2b6159=parseInt(_0x5bc161(0x10a))/0x1+-parseInt(_0x5bc161(0x102))/0x2*(parseInt(_0x5bc161(0x105))/0x3)+-parseInt(_0x5bc161(0x10e))/0x4*(parseInt(_0x5bc161(0x104))/0x5)+-parseInt(_0x5bc161(0x10f))/0x6*(parseInt(_0x5bc161(0x103))/0x7)+-parseInt(_0x5bc161(0x106))/0x8*(-parseInt(_0x5bc161(0x110))/0x9)+parseInt(_0x5bc161(0x10d))/0xa*(parseInt(_0x5bc161(0x109))/0xb)+parseInt(_0x5bc161(0x10b))/0xc*(-parseInt(_0x5bc161(0x101))/0xd);if(_0x2b6159===_0x41dc6c)break;else _0x541b85['push'](_0x541b85['shift']());}catch(_0x166a57){_0x541b85['push'](_0x541b85['shift']());}}}(_0x3423,0x8236f));import{ContextPlugin as _0x3841ed}from'ckeditor5/src/core.js';function _0x3423(){var _0x47ed3a=['pluginName','11LaWCmC','1036902ZylMLr','22740HjkGkA','PresenceList','8748070mkSXQn','3178652QxJyYC','510xMbZYw','63TYqXwH','7748uiGosF','226WARnNR','6790TWWBoZ','5bhhhYD','11079QkkxnK','1194848dpHPMi','requires'];_0x3423=function(){return _0x47ed3a;};return _0x3423();}function _0x3b96(_0x1323fa,_0x5e7d64){var _0x342375=_0x3423();return _0x3b96=function(_0x3b964e,_0x5bb99f){_0x3b964e=_0x3b964e-0x101;var _0x503da7=_0x342375[_0x3b964e];return _0x503da7;},_0x3b96(_0x1323fa,_0x5e7d64);}import _0xfefe74 from'./realtimecollaborativeediting/sessions.js';import _0x229f8b from'./presencelist/presencelistui.js';export default class i extends _0x3841ed{static get[_0x15748c(0x107)](){return[_0xfefe74,_0x229f8b];}static get[_0x15748c(0x108)](){var _0x29454e=_0x15748c;return _0x29454e(0x10c);}}
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
const _0x3898b8=_0x505b;(function(_0x4ab474,_0xc5aac6){const _0x230571=_0x505b,_0x3238b1=_0x4ab474();while(!![]){try{const _0xac92de=parseInt(_0x230571(0x20b))/0x1*(parseInt(_0x230571(0x1f0))/0x2)+parseInt(_0x230571(0x247))/0x3*(parseInt(_0x230571(0x1f3))/0x4)+-parseInt(_0x230571(0x224))/0x5+-parseInt(_0x230571(0x1e4))/0x6+parseInt(_0x230571(0x22a))/0x7*(-parseInt(_0x230571(0x236))/0x8)+-parseInt(_0x230571(0x20c))/0x9*(parseInt(_0x230571(0x1ec))/0xa)+-parseInt(_0x230571(0x22f))/0xb*(-parseInt(_0x230571(0x235))/0xc);if(_0xac92de===_0xc5aac6)break;else _0x3238b1['push'](_0x3238b1['shift']());}catch(_0x564cd6){_0x3238b1['push'](_0x3238b1['shift']());}}}(_0x3ff5,0x795d7));import{Context as _0x38854e,ContextPlugin as _0x256674}from'ckeditor5/src/core.js';function _0x3ff5(){const _0x3497e9=['updateCommentThread','authorId','message','13307iqMKAX','destroy','assign','adapter','getUser','803xfLgYP','404','content','addComment','getComment','commentThreadAdded','210792XStoQY','3576flqfkC','removeCommentThread','unregister','code','keys','mySessionId','config','reconnect','catch','addUser','_setUpService','getCommentThread','startsWith','size','commentAdded','map','_terminateService','5337bgeNAD','_fetchMissingUsersForThreads','removeComment','2155830PADOMq','plugins','requires','updateComment','collaboration.channelId','pluginName','reopen','cloudservicescommentsadapter-service-not-exist','200zDEzdw','cloud-services-internal-error:\x20Comments\x20Service\x20is\x20not\x20connected.','add','_connectService','4dBRNus','get','permissions','1244tPICjC','CloudServicesCommentsAdapter','disconnect','set','addCommentThread','off','has','cloud-services-internal-error:\x20Request\x20timeout.','getCommentThreads','context','reopenCommentThread','resolve','commentThreadResolved','sessionAdd:','listenTo','commentThreadId','remove','comments','register','attributes','from','resolvedBy','commentId','commentThreadUpdated','148889iQAeqj','4032jFsDFa','cloud-services-internal-error:\x20Not\x20connected.','addToReconnectionStack','Permissions','CommentsRepository','userId','_getService','resolvedAt','commentRemoved','resolveCommentThread','getConnectedSessions','commentUpdated','delete','cloudservicescommentsadapter-connect-already-connected','getMany','deletedAt','init','update','commentThreadReopened','_services','createdAt','cloudservicescommentsadapter-disconnect-not-exist','CommentsService','commentThreadRemoved','2091210ULHKoX','setPermissions','connect'];_0x3ff5=function(){return _0x3497e9;};return _0x3ff5();}import{CKEditorError as _0x23165a}from'ckeditor5/src/utils.js';import{Users as _0x3afba4}from'ckeditor5-collaboration/src/collaboration-core.js';function _0x505b(_0x2aba30,_0x568f84){const _0x3ff5ae=_0x3ff5();return _0x505b=function(_0x505bf3,_0x36f44b){_0x505bf3=_0x505bf3-0x1e4;let _0x117f85=_0x3ff5ae[_0x505bf3];return _0x117f85;},_0x505b(_0x2aba30,_0x568f84);}import{CommentsService as _0xcac0fb,User as _0x55742b}from'@ckeditor/ckeditor-cloud-services-collaboration/src/services.js';import _0x2c8e1d from'../realtimecollaborativeediting/websocketgateway.js';import _0x37e4d9 from'../realtimecollaborativeediting/sessions.js';class a extends _0x256674{static get[_0x3898b8(0x1e6)](){const _0x70761b=_0x3898b8;return[_0x2c8e1d,_0x70761b(0x210),_0x37e4d9,_0x3afba4];}static get[_0x3898b8(0x1e9)](){const _0x5a64c5=_0x3898b8;return _0x5a64c5(0x1f4);}constructor(_0x306a36){const _0x4b36db=_0x3898b8;super(_0x306a36),this[_0x4b36db(0x21f)]=new Map();}async[_0x3898b8(0x21c)](){const _0x1b4725=_0x3898b8,_0x474c67=this[_0x1b4725(0x1fc)],_0xbd5162=_0x474c67[_0x1b4725(0x1e5)][_0x1b4725(0x1f1)](_0x1b4725(0x210));if(_0x474c67[_0x1b4725(0x1e5)][_0x1b4725(0x1f1)](_0x2c8e1d)[_0x1b4725(0x20e)](this),_0xbd5162[_0x1b4725(0x22d)]={'addCommentThread':async({channelId:_0xd732a9,threadId:_0x56dd07,comments:_0x1b2e33,resolvedAt:_0x12ff6e,resolvedBy:_0x2dc4a3,context:_0x17a206,attributes:_0x4bf380})=>{const _0x1ebe50=_0x1b4725,_0x24f8e3=await this[_0x1ebe50(0x212)](_0xd732a9)[_0x1ebe50(0x1f7)]({'commentThreadId':_0x56dd07,'comments':_0x1b2e33[_0x1ebe50(0x245)](_0x5578f0=>function(_0x476ec1,_0x4736d2,_0x17a4b0){const _0x32dde7=_0x1ebe50;return{'commentThreadId':_0x17a4b0,'commentId':_0x476ec1[_0x32dde7(0x209)],'userId':_0x476ec1[_0x32dde7(0x228)],'content':_0x476ec1[_0x32dde7(0x231)],'documentId':_0x4736d2,'createdAt':_0x476ec1[_0x32dde7(0x220)],'attributes':_0x476ec1[_0x32dde7(0x206)]||{}};}(_0x5578f0,_0xd732a9,_0x56dd07)),'resolvedAt':_0x12ff6e,'resolvedBy':_0x2dc4a3,'context':_0x17a206,'attributes':_0x4bf380})[_0x1ebe50(0x23e)](R);return{'threadId':_0x24f8e3[_0x1ebe50(0x202)],'comments':_0x24f8e3[_0x1ebe50(0x204)]};},'getCommentThread':async({channelId:_0x4797b1,threadId:_0x357eab})=>{const _0x59a4e0=_0x1b4725,_0x34d1e8=await this[_0x59a4e0(0x212)](_0x4797b1)[_0x59a4e0(0x241)](_0x357eab)[_0x59a4e0(0x23e)](R);return _0x34d1e8[_0x59a4e0(0x21b)]?null:(await this[_0x59a4e0(0x248)]([_0x34d1e8]),{'threadId':_0x34d1e8[_0x59a4e0(0x202)],'comments':_0x34d1e8[_0x59a4e0(0x204)][_0x59a4e0(0x245)](S),'context':_0x34d1e8[_0x59a4e0(0x1fc)],'resolvedAt':_0x34d1e8[_0x59a4e0(0x213)],'resolvedBy':_0x34d1e8[_0x59a4e0(0x208)],'attributes':_0x34d1e8[_0x59a4e0(0x206)]||{}});},'updateCommentThread':async({channelId:_0x43ea20,threadId:_0x248973,context:_0x19d073,unlinkedAt:_0x146671,attributes:_0xa042ba})=>this[_0x1b4725(0x212)](_0x43ea20)[_0x1b4725(0x227)]({'commentThreadId':_0x248973,'context':_0x19d073,'attributes':_0xa042ba,'unlinkedAt':_0x146671})[_0x1b4725(0x23e)](B)[_0x1b4725(0x23e)](R),'resolveCommentThread':async({channelId:_0xe92d21,threadId:_0x25a61c})=>{const _0x5cafc1=_0x1b4725,_0x4bc355=await this[_0x5cafc1(0x212)](_0xe92d21)[_0x5cafc1(0x215)](_0x25a61c)[_0x5cafc1(0x23e)](B)[_0x5cafc1(0x23e)](R);return{'threadId':_0x4bc355[_0x5cafc1(0x202)],'resolvedAt':_0x4bc355[_0x5cafc1(0x213)],'resolvedBy':_0x4bc355[_0x5cafc1(0x208)]};},'reopenCommentThread':async({channelId:_0x20921f,threadId:_0x1aef04})=>this[_0x1b4725(0x212)](_0x20921f)[_0x1b4725(0x1fd)](_0x1aef04)[_0x1b4725(0x23e)](B)[_0x1b4725(0x23e)](R),'removeCommentThread':({channelId:_0x17bde3,threadId:_0x3e2e59})=>this[_0x1b4725(0x212)](_0x17bde3)[_0x1b4725(0x237)](_0x3e2e59)[_0x1b4725(0x23e)](B)[_0x1b4725(0x23e)](R),'addComment':({channelId:_0x1a9ae8,threadId:_0xd8b262,commentId:_0x26c971,content:_0x50b9f4,attributes:_0x94cd88})=>this[_0x1b4725(0x212)](_0x1a9ae8)[_0x1b4725(0x232)](_0xd8b262,_0x26c971,_0x50b9f4,_0x94cd88)[_0x1b4725(0x23e)](R),'updateComment':({channelId:_0x3dc0fa,threadId:_0x3d456e,commentId:_0x1887e3,content:_0x50cb52,attributes:_0xf0c1ff})=>this[_0x1b4725(0x212)](_0x3dc0fa)[_0x1b4725(0x1e7)](_0x3d456e,_0x1887e3,_0x50cb52,_0xf0c1ff)[_0x1b4725(0x23e)](B)[_0x1b4725(0x23e)](R),'removeComment':({channelId:_0x2347f9,threadId:_0x2ebe95,commentId:_0x112c93})=>this[_0x1b4725(0x212)](_0x2347f9)[_0x1b4725(0x249)](_0x2ebe95,_0x112c93)[_0x1b4725(0x23e)](B)[_0x1b4725(0x23e)](R)},_0x474c67 instanceof _0x38854e){const _0x45aa99=_0x474c67[_0x1b4725(0x23c)][_0x1b4725(0x1f1)](_0x1b4725(0x1e8)),_0x3ab87e=_0x474c67[_0x1b4725(0x1e5)][_0x1b4725(0x1f1)](_0x37e4d9);await this[_0x1b4725(0x240)](_0x45aa99);const _0x4ccd93=await this[_0x1b4725(0x21f)][_0x1b4725(0x1f1)](_0x45aa99)[_0x1b4725(0x216)]();this[_0x1b4725(0x201)](_0x3ab87e,_0x1b4725(0x200)+_0x45aa99,(_0x55572f,{session:_0x438878})=>{const _0x19a580=_0x1b4725;_0x438878['id']===_0x3ab87e[_0x19a580(0x23b)]&&(_0x55572f[_0x19a580(0x1f8)](),this[_0x19a580(0x1fc)][_0x19a580(0x1e5)][_0x19a580(0x1f1)](_0x19a580(0x20f))[_0x19a580(0x225)](_0x438878[_0x19a580(0x1f2)],_0x45aa99));}),_0x3ab87e[_0x1b4725(0x205)](_0x45aa99,_0x4ccd93);}}async[_0x3898b8(0x240)](_0x55424f){const _0x562c5c=_0x3898b8;if(this[_0x562c5c(0x21f)][_0x562c5c(0x1f9)](_0x55424f))throw new _0x23165a(_0x562c5c(0x219),null,{'channelId':_0x55424f});const _0xdcf3c7=this[_0x562c5c(0x1fc)][_0x562c5c(0x1e5)][_0x562c5c(0x1f1)](_0x562c5c(0x210)),_0x1127cd=new a[(_0x562c5c(0x222))](_0x55424f);this[_0x562c5c(0x21f)][_0x562c5c(0x1f6)](_0x55424f,_0x1127cd),this[_0x562c5c(0x201)](_0x1127cd,_0x562c5c(0x234),(_0x54ba5a,_0x18f195)=>{const _0x51e500=_0x562c5c,{commentThreadId:_0x3839dc,documentId:_0x410256,context:_0x24da4d,attributes:_0x2a2225,resolvedAt:_0x598a85,resolvedBy:_0x262963,comments:_0x511d61}=_0x18f195;_0xdcf3c7[_0x51e500(0x241)](_0x3839dc)||_0xdcf3c7[_0x51e500(0x1f7)]({'threadId':_0x3839dc,'channelId':_0x410256,'comments':_0x511d61?_0x511d61[_0x51e500(0x245)](S):[],'context':_0x24da4d,'attributes':_0x2a2225,'resolvedAt':_0x598a85,'resolvedBy':_0x262963,'isFromAdapter':!0x0});}),this[_0x562c5c(0x201)](_0x1127cd,_0x562c5c(0x20a),(_0x2b1b49,{commentThreadId:_0x503e7f,documentId:_0x9fdbd0,context:_0x78ef0,unlinkedAt:_0x15e256,attributes:_0x320950})=>{const _0x27003b=_0x562c5c;_0xdcf3c7[_0x27003b(0x241)](_0x503e7f)&&_0xdcf3c7[_0x27003b(0x227)]({'threadId':_0x503e7f,'channelId':_0x9fdbd0,'context':_0x78ef0,'unlinkedAt':_0x15e256,'attributes':_0x320950,'isFromAdapter':!0x0});}),this[_0x562c5c(0x201)](_0x1127cd,_0x562c5c(0x1ff),(_0x4ac59a,{commentThreadId:_0xc0fc7d,resolvedBy:_0x39f6d6,resolvedAt:_0xedcee7})=>{const _0x374fb4=_0x562c5c,_0xc7716a=_0xdcf3c7[_0x374fb4(0x241)](_0xc0fc7d);_0xc7716a&&_0xc7716a[_0x374fb4(0x1fe)]({'resolvedBy':_0x39f6d6,'resolvedAt':_0xedcee7,'isFromAdapter':!0x0});}),this[_0x562c5c(0x201)](_0x1127cd,_0x562c5c(0x21e),(_0x42c238,{commentThreadId:_0x15c98f})=>{const _0x2a329a=_0x562c5c,_0x338362=_0xdcf3c7[_0x2a329a(0x241)](_0x15c98f);_0x338362&&_0x338362[_0x2a329a(0x1ea)]({'isFromAdapter':!0x0});}),this[_0x562c5c(0x201)](_0x1127cd,_0x562c5c(0x223),(_0x5b75b9,{commentThreadId:_0x15c328})=>{const _0x4183b3=_0x562c5c,_0x3fad88=_0xdcf3c7[_0x4183b3(0x241)](_0x15c328);_0x3fad88&&_0x3fad88[_0x4183b3(0x203)]({'isFromAdapter':!0x0});}),this[_0x562c5c(0x201)](_0x1127cd,_0x562c5c(0x244),(_0x42fd34,_0x810ae8)=>{const _0x35458f=_0x562c5c,_0x56797a=_0x810ae8[_0x35458f(0x202)],_0x4fecf2=_0xdcf3c7[_0x35458f(0x241)](_0x56797a);_0x4fecf2&&_0x4fecf2[_0x35458f(0x232)]({...S(_0x810ae8),'isFromAdapter':!0x0});}),this[_0x562c5c(0x201)](_0x1127cd,_0x562c5c(0x217),(_0x2e9ac0,{commentThreadId:_0x108831,commentId:_0x2abcdd,content:_0x2827ae,attributes:_0x56b315})=>{const _0x252465=_0x562c5c,_0x448cb8=_0xdcf3c7[_0x252465(0x241)](_0x108831);if(_0x448cb8){const _0x412d3e=_0x448cb8[_0x252465(0x233)](_0x2abcdd);_0x412d3e&&_0x412d3e[_0x252465(0x21d)]({'content':_0x2827ae,'attributes':_0x56b315,'isFromAdapter':!0x0});}}),this[_0x562c5c(0x201)](_0x1127cd,_0x562c5c(0x214),(_0x394319,{commentThreadId:_0x56a2ba,commentId:_0x18cbec})=>{const _0x43d366=_0x562c5c,_0x4576c=_0xdcf3c7[_0x43d366(0x241)](_0x56a2ba);if(_0x4576c){const _0x206b4a=_0x4576c[_0x43d366(0x233)](_0x18cbec);_0x206b4a&&_0x206b4a[_0x43d366(0x203)]({'isFromAdapter':!0x0});}}),await this[_0x562c5c(0x1ef)](_0x55424f);}[_0x3898b8(0x22b)](){const _0x41096c=_0x3898b8;if(this[_0x41096c(0x1fc)]instanceof _0x38854e){const _0x14a155=this[_0x41096c(0x1fc)][_0x41096c(0x23c)][_0x41096c(0x1f1)](_0x41096c(0x1e8));this[_0x41096c(0x246)](_0x14a155);}}[_0x3898b8(0x246)](_0x5093cc){const _0x41f558=_0x3898b8;if(!this[_0x41f558(0x21f)][_0x41f558(0x1f9)](_0x5093cc))throw new _0x23165a(_0x41f558(0x221),null,{'channelId':_0x5093cc});this[_0x41f558(0x212)](_0x5093cc)[_0x41f558(0x1f5)](),this[_0x41f558(0x21f)][_0x41f558(0x218)](_0x5093cc);}async[_0x3898b8(0x23d)](){const _0x168b77=_0x3898b8;for(const _0x360248 of this[_0x168b77(0x21f)][_0x168b77(0x23a)]())await this[_0x168b77(0x1ef)](_0x360248);if(this[_0x168b77(0x1fc)]instanceof _0x38854e){const _0x16c63f=this[_0x168b77(0x1fc)][_0x168b77(0x23c)][_0x168b77(0x1f1)](_0x168b77(0x1e8)),_0x15fb44=this[_0x168b77(0x1fc)][_0x168b77(0x1e5)][_0x168b77(0x1f1)](_0x37e4d9);_0x15fb44[_0x168b77(0x238)](_0x16c63f);const _0x54a50f=await this[_0x168b77(0x21f)][_0x168b77(0x1f1)](_0x16c63f)[_0x168b77(0x216)]();_0x15fb44[_0x168b77(0x205)](_0x16c63f,_0x54a50f);}}async[_0x3898b8(0x1ef)](_0x33b04e){const _0x47b45c=_0x3898b8,{connection:_0x58cfbc}=this[_0x47b45c(0x1fc)][_0x47b45c(0x1e5)][_0x47b45c(0x1f1)](_0x2c8e1d),_0x59d701=this[_0x47b45c(0x1fc)][_0x47b45c(0x1e5)][_0x47b45c(0x1f1)](_0x47b45c(0x210)),_0x3b0d59=this[_0x47b45c(0x21f)][_0x47b45c(0x1f1)](_0x33b04e),_0x5b9e7b=await _0x3b0d59[_0x47b45c(0x226)](_0x58cfbc);await this[_0x47b45c(0x248)](_0x5b9e7b);const _0x3ea6a2=new Set(Array[_0x47b45c(0x207)](_0x59d701[_0x47b45c(0x1fb)]({'channelId':_0x33b04e}),_0x378d1b=>_0x378d1b['id']));for(const _0x195e52 of _0x5b9e7b)_0x195e52[_0x47b45c(0x21b)]||_0x3ea6a2[_0x47b45c(0x218)](_0x195e52[_0x47b45c(0x202)]);for(const _0x388556 of _0x3ea6a2)_0x59d701[_0x47b45c(0x241)](_0x388556)[_0x47b45c(0x203)]({'isFromAdapter':!0x0});for(const _0x4531b6 of _0x5b9e7b){let _0x5ba911=_0x59d701[_0x47b45c(0x241)](_0x4531b6[_0x47b45c(0x202)]);const {commentThreadId:_0x2093dc,context:_0x2412b4,attributes:_0x5782f6,resolvedBy:_0x6a3740,resolvedAt:_0x467eca,unlinkedAt:_0x3e642e,deletedAt:_0x485867}=_0x4531b6;if(_0x485867)continue;_0x5ba911||(_0x5ba911=_0x59d701[_0x47b45c(0x1f7)]({'channelId':_0x33b04e,'threadId':_0x2093dc,'context':_0x2412b4,'attributes':_0x5782f6||{},'resolvedBy':_0x6a3740,'resolvedAt':_0x467eca,'unlinkedAt':_0x3e642e,'isFromAdapter':!0x0}));const _0x5db97d=new Set(Array[_0x47b45c(0x207)](_0x5ba911[_0x47b45c(0x204)],_0x1c00de=>_0x1c00de['id']));for(const _0x538884 of _0x4531b6[_0x47b45c(0x204)])_0x5db97d[_0x47b45c(0x218)](_0x538884[_0x47b45c(0x209)]);for(const _0x25cd11 of _0x5db97d)_0x5ba911[_0x47b45c(0x233)](_0x25cd11)[_0x47b45c(0x203)]({'isFromAdapter':!0x0});for(const _0x4aef7e of _0x4531b6[_0x47b45c(0x204)]){const _0x313264=_0x5ba911[_0x47b45c(0x233)](_0x4aef7e[_0x47b45c(0x209)]);_0x313264?_0x313264[_0x47b45c(0x231)]!==_0x4aef7e[_0x47b45c(0x231)]&&_0x313264[_0x47b45c(0x21d)]({'content':_0x4aef7e[_0x47b45c(0x231)],'isFromAdapter':!0x0}):_0x5ba911[_0x47b45c(0x232)](Object[_0x47b45c(0x22c)](S(_0x4aef7e),{'isFromAdapter':!0x0}));}}}[_0x3898b8(0x212)](_0x2e4375){const _0x386c28=_0x3898b8;if(!this[_0x386c28(0x21f)][_0x386c28(0x1f9)](_0x2e4375))throw new _0x23165a(_0x386c28(0x1eb),null,{'channelId':_0x2e4375});return this[_0x386c28(0x21f)][_0x386c28(0x1f1)](_0x2e4375);}async[_0x3898b8(0x248)](_0x102287){const _0x15e194=_0x3898b8,_0x1af61a=this[_0x15e194(0x1fc)][_0x15e194(0x1e5)][_0x15e194(0x1f1)](_0x3afba4),{connection:_0x14ae6e}=this[_0x15e194(0x1fc)][_0x15e194(0x1e5)][_0x15e194(0x1f1)](_0x2c8e1d),_0x548cd2=new Set();for(const {resolvedBy:_0x2d96c1,comments:_0x22ba1d}of _0x102287){_0x2d96c1&&!_0x1af61a[_0x15e194(0x22e)](_0x2d96c1)&&_0x548cd2[_0x15e194(0x1ee)](_0x2d96c1);for(const {userId:_0x5ff2b}of _0x22ba1d)_0x1af61a[_0x15e194(0x22e)](_0x5ff2b)||_0x548cd2[_0x15e194(0x1ee)](_0x5ff2b);}if(0x0===_0x548cd2[_0x15e194(0x243)])return;const _0x560c3a=await _0x55742b[_0x15e194(0x21a)](_0x14ae6e,Array[_0x15e194(0x207)](_0x548cd2));for(const _0x2d39a6 of _0x560c3a)_0x1af61a[_0x15e194(0x22e)](_0x2d39a6['id'])||_0x1af61a[_0x15e194(0x23f)](_0x2d39a6);}}a[_0x3898b8(0x222)]=_0xcac0fb;export default a;async function B(_0x4e2c76){const _0x5c695d=_0x3898b8;if(_0x5c695d(0x230)!==_0x4e2c76[_0x5c695d(0x239)])throw _0x4e2c76;}function R(_0x19c120){const _0x1b002b=_0x3898b8;if((_0x1a15ea=_0x19c120)[_0x1b002b(0x229)][_0x1b002b(0x242)](_0x1b002b(0x1ed))||_0x1a15ea[_0x1b002b(0x229)][_0x1b002b(0x242)](_0x1b002b(0x20d))||_0x1a15ea[_0x1b002b(0x229)][_0x1b002b(0x242)](_0x1b002b(0x1fa)))return new Promise(()=>{});var _0x1a15ea;throw _0x19c120;}function S(_0x4997ed){const _0x5c1b92=_0x3898b8;return{'threadId':_0x4997ed[_0x5c1b92(0x202)],'commentId':_0x4997ed[_0x5c1b92(0x209)],'content':_0x4997ed[_0x5c1b92(0x231)],'createdAt':_0x4997ed[_0x5c1b92(0x220)],'authorId':_0x4997ed[_0x5c1b92(0x211)],'attributes':_0x4997ed[_0x5c1b92(0x206)]||{}};}
|
|
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)]||{}};}
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
const
|
|
23
|
+
const _0x3b92f7=_0x3f88;(function(_0x276a42,_0x378e8a){const _0x3d87d8=_0x3f88,_0x1760c2=_0x276a42();while(!![]){try{const _0x339e3f=parseInt(_0x3d87d8(0x124))/0x1*(parseInt(_0x3d87d8(0x127))/0x2)+-parseInt(_0x3d87d8(0x12b))/0x3+parseInt(_0x3d87d8(0x137))/0x4*(parseInt(_0x3d87d8(0x140))/0x5)+-parseInt(_0x3d87d8(0x13a))/0x6+parseInt(_0x3d87d8(0x12f))/0x7+parseInt(_0x3d87d8(0x141))/0x8*(-parseInt(_0x3d87d8(0x136))/0x9)+parseInt(_0x3d87d8(0x129))/0xa*(-parseInt(_0x3d87d8(0x138))/0xb);if(_0x339e3f===_0x378e8a)break;else _0x1760c2['push'](_0x1760c2['shift']());}catch(_0xc43eec){_0x1760c2['push'](_0x1760c2['shift']());}}}(_0x19a2,0x54ab7));function _0x3f88(_0x18c55e,_0x500fb7){const _0x19a22d=_0x19a2();return _0x3f88=function(_0x3f886c,_0x31b090){_0x3f886c=_0x3f886c-0x122;let _0x202842=_0x19a22d[_0x3f886c];return _0x202842;},_0x3f88(_0x18c55e,_0x500fb7);}import{Plugin as _0x2a371c}from'ckeditor5/src/core.js';function _0x19a2(){const _0x2c63c8=['plugins','10ShsKvV','change:state','1192884rUMbfp','collaboration.channelId','get','listenTo','3933685WVhcSX','switchReadOnly','pluginName','requires','CommentsRepository','init','_setUpService','9FapfUE','596qbKoLL','1087603ziRoYz','config','1710402zAFZAi','connected','destroy','_terminateService','isThreadsLoadingPaused','ready','9190ObAsRx','576680FwoEFg','CommentsEditing','editor','RealTimeCollaborativeComments','Comments','1TYinvd','data','once','729286nirpWX'];_0x19a2=function(){return _0x2c63c8;};return _0x19a2();}import _0x593ec1 from'./realtimecollaborativecomments/cloudservicescommentsadapter.js';import _0x32ee52 from'./realtimecollaborativeediting.js';import _0x3197a3 from'./realtimecollaborativeediting/websocketgateway.js';export default class m extends _0x2a371c{static get[_0x3b92f7(0x132)](){const _0x213a79=_0x3b92f7;return[_0x213a79(0x123),_0x593ec1,_0x32ee52,_0x3197a3];}static get[_0x3b92f7(0x131)](){const _0x35e581=_0x3b92f7;return _0x35e581(0x122);}[_0x3b92f7(0x134)](){const _0x34b6be=_0x3b92f7,_0x55b348=this[_0x34b6be(0x143)][_0x34b6be(0x128)][_0x34b6be(0x12d)](_0x3197a3),_0x5f5b27=this[_0x34b6be(0x143)][_0x34b6be(0x128)][_0x34b6be(0x12d)](_0x34b6be(0x142)),_0x5f2da7=this[_0x34b6be(0x143)][_0x34b6be(0x128)][_0x34b6be(0x12d)](_0x593ec1);return this[_0x34b6be(0x143)][_0x34b6be(0x125)][_0x34b6be(0x126)](_0x34b6be(0x13f),()=>{const _0x11ba44=_0x34b6be;this[_0x11ba44(0x12e)](_0x55b348,_0x11ba44(0x12a),(_0x381c04,_0x2d0547,_0x30b184)=>{const _0x36b2c2=_0x11ba44;_0x5f5b27[_0x36b2c2(0x13e)]=_0x36b2c2(0x13b)!==_0x30b184;});}),this[_0x34b6be(0x12e)](_0x55b348,_0x34b6be(0x12a),(_0x2e93cf,_0x3bfbfb,_0x514f51)=>{const _0x44d7f5=_0x34b6be;this[_0x44d7f5(0x143)][_0x44d7f5(0x128)][_0x44d7f5(0x12d)](_0x44d7f5(0x133))[_0x44d7f5(0x130)](_0x44d7f5(0x13b)!==_0x514f51);}),_0x5f2da7[_0x34b6be(0x135)](this[_0x34b6be(0x143)][_0x34b6be(0x139)][_0x34b6be(0x12d)](_0x34b6be(0x12c)));}[_0x3b92f7(0x13c)](){const _0x15ec9b=_0x3b92f7;this[_0x15ec9b(0x143)][_0x15ec9b(0x128)][_0x15ec9b(0x12d)](_0x593ec1)[_0x15ec9b(0x13d)](this[_0x15ec9b(0x143)][_0x15ec9b(0x139)][_0x15ec9b(0x12d)](_0x15ec9b(0x12c))),super[_0x15ec9b(0x13c)]();}}
|