@ckeditor/ckeditor5-real-time-collaboration 43.1.1 → 43.2.0-alpha.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/build/real-time-collaboration.js +1 -1
- package/dist/index.js +6 -6
- package/dist/translations/ar.js +1 -1
- package/dist/translations/ar.umd.js +1 -1
- package/dist/translations/bg.js +1 -1
- package/dist/translations/bg.umd.js +1 -1
- package/dist/translations/bn.js +1 -1
- package/dist/translations/bn.umd.js +1 -1
- package/dist/translations/ca.js +1 -1
- package/dist/translations/ca.umd.js +1 -1
- package/dist/translations/cs.js +1 -1
- package/dist/translations/cs.umd.js +1 -1
- package/dist/translations/da.js +1 -1
- package/dist/translations/da.umd.js +1 -1
- package/dist/translations/de-ch.js +1 -1
- package/dist/translations/de-ch.umd.js +1 -1
- package/dist/translations/de.js +1 -1
- package/dist/translations/de.umd.js +1 -1
- package/dist/translations/el.js +1 -1
- package/dist/translations/el.umd.js +1 -1
- package/dist/translations/en-au.js +1 -1
- package/dist/translations/en-au.umd.js +1 -1
- package/dist/translations/en.umd.js +1 -1
- package/dist/translations/es.js +1 -1
- package/dist/translations/es.umd.js +1 -1
- package/dist/translations/et.js +1 -1
- package/dist/translations/et.umd.js +1 -1
- package/dist/translations/fa.js +1 -1
- package/dist/translations/fa.umd.js +1 -1
- package/dist/translations/fi.js +1 -1
- package/dist/translations/fi.umd.js +1 -1
- package/dist/translations/fr.js +1 -1
- package/dist/translations/fr.umd.js +1 -1
- package/dist/translations/gl.js +1 -1
- package/dist/translations/gl.umd.js +1 -1
- package/dist/translations/he.js +1 -1
- package/dist/translations/he.umd.js +1 -1
- package/dist/translations/hi.js +1 -1
- package/dist/translations/hi.umd.js +1 -1
- package/dist/translations/hr.js +1 -1
- package/dist/translations/hr.umd.js +1 -1
- package/dist/translations/hu.js +1 -1
- package/dist/translations/hu.umd.js +1 -1
- package/dist/translations/id.js +1 -1
- package/dist/translations/id.umd.js +1 -1
- package/dist/translations/it.js +1 -1
- package/dist/translations/it.umd.js +1 -1
- package/dist/translations/ja.js +1 -1
- package/dist/translations/ja.umd.js +1 -1
- package/dist/translations/ko.js +1 -1
- package/dist/translations/ko.umd.js +1 -1
- package/dist/translations/lt.js +1 -1
- package/dist/translations/lt.umd.js +1 -1
- package/dist/translations/lv.js +1 -1
- package/dist/translations/lv.umd.js +1 -1
- package/dist/translations/ms.js +1 -1
- package/dist/translations/ms.umd.js +1 -1
- package/dist/translations/nl.js +1 -1
- package/dist/translations/nl.umd.js +1 -1
- package/dist/translations/no.js +1 -1
- package/dist/translations/no.umd.js +1 -1
- package/dist/translations/pl.js +1 -1
- package/dist/translations/pl.umd.js +1 -1
- package/dist/translations/pt-br.js +1 -1
- package/dist/translations/pt-br.umd.js +1 -1
- package/dist/translations/pt.js +1 -1
- package/dist/translations/pt.umd.js +1 -1
- package/dist/translations/ro.js +1 -1
- package/dist/translations/ro.umd.js +1 -1
- package/dist/translations/ru.js +1 -1
- package/dist/translations/ru.umd.js +1 -1
- package/dist/translations/sk.js +1 -1
- package/dist/translations/sk.umd.js +1 -1
- package/dist/translations/sr-latn.js +1 -1
- package/dist/translations/sr-latn.umd.js +1 -1
- package/dist/translations/sr.js +1 -1
- package/dist/translations/sr.umd.js +1 -1
- package/dist/translations/sv.js +1 -1
- package/dist/translations/sv.umd.js +1 -1
- package/dist/translations/th.js +1 -1
- package/dist/translations/th.umd.js +1 -1
- package/dist/translations/tk.js +1 -1
- package/dist/translations/tk.umd.js +1 -1
- package/dist/translations/tr.js +1 -1
- package/dist/translations/tr.umd.js +1 -1
- package/dist/translations/uk.js +1 -1
- package/dist/translations/uk.umd.js +1 -1
- package/dist/translations/vi.js +1 -1
- package/dist/translations/vi.umd.js +1 -1
- package/dist/translations/zh-cn.js +1 -1
- package/dist/translations/zh-cn.umd.js +1 -1
- package/dist/translations/zh.js +1 -1
- package/dist/translations/zh.umd.js +1 -1
- package/package.json +9 -9
- package/src/common-translations.js +1 -1
- package/src/index.js +1 -1
- package/src/presencelist/presencelistui.js +1 -1
- package/src/presencelist/view/presencecounterview.js +1 -1
- package/src/presencelist/view/presencedropdownlistitemview.js +1 -1
- package/src/presencelist/view/presencedropdownlistview.js +1 -1
- package/src/presencelist/view/presenceinlinelistitemview.js +1 -1
- package/src/presencelist/view/presenceinlinelistview.js +1 -1
- package/src/presencelist/view/presencelistview.js +1 -1
- package/src/presencelist.js +1 -1
- package/src/realtimecollaborativecomments/cloudservicescommentsadapter.js +1 -1
- package/src/realtimecollaborativecomments.js +1 -1
- package/src/realtimecollaborativeediting/realtimecollaborationclient.js +1 -1
- package/src/realtimecollaborativeediting/sessions.js +1 -1
- package/src/realtimecollaborativeediting/usermarkers.js +1 -1
- package/src/realtimecollaborativeediting/websocketgateway.js +1 -1
- package/src/realtimecollaborativeediting.js +1 -1
- package/src/realtimecollaborativerevisionhistory/cloudservicesrevisionhistoryadapter.js +1 -1
- package/src/realtimecollaborativerevisionhistory.js +1 -1
- package/src/realtimecollaborativetrackchanges/cloudservicestrackchangesadapter.js +1 -1
- package/src/realtimecollaborativetrackchanges.js +1 -1
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
(
|
|
23
|
+
(_0x2787db=>{const {'zh-cn':{dictionary:_0x3c0275,getPluralForm:_0x1c2324}}={'zh-cn':{'dictionary':{'CONNECTED_USERS':'已连接用户:%0','PENDING_ACTION_SENDING_DATA':'正在往服务器发送数据。','Synchronization\x20issue':'同步Issue','Connected\x20users\x20list\x20dropdown\x20menu':'连接用户列表下拉菜单','Connected\x20users\x20list':'连接用户列表','Collapsed\x20connected\x20users\x20list\x20(press\x20ENTER\x20to\x20open\x20it)':'折叠的连接用户列表(按\x20ENTER\x20键打开)','The\x20document\x20cannot\x20be\x20connected\x20back\x20to\x20the\x20server.\x20To\x20not\x20lose\x20your\x20content\x20save\x20it\x20locally\x20and\x20refresh\x20the\x20editor.':'当前文档不能连回服务器。为避免丢失数据,请先将内容保存在本地并刷新编辑器。','The\x20document\x20details\x20could\x20not\x20be\x20taken\x20during\x20the\x20reconnection.\x20To\x20not\x20lose\x20your\x20content\x20save\x20it\x20locally\x20and\x20refresh\x20the\x20editor.':'重新连接后不能获取文档详情。为避免丢失数据,请先将内容保存在本地并刷新编辑器。','The\x20last\x20saved\x20version\x20of\x20the\x20document\x20does\x20not\x20match\x20the\x20local\x20version.\x20To\x20not\x20lose\x20your\x20content\x20save\x20it\x20locally\x20and\x20refresh\x20the\x20editor.':'最新保存的文档版本和本地版本不匹配。为避免丢失数据,请先将内容保存在本地并刷新编辑器。','The\x20local\x20document\x20and\x20server\x20document\x20differ\x20and\x20merging\x20them\x20can\x20cause\x20unexpected\x20behavior.\x20To\x20not\x20lose\x20your\x20content\x20save\x20it\x20locally\x20and\x20refresh\x20the\x20editor.':'本地文档和服务器文档存在区别,合并它们将导致意料之外的行为。为避免丢失数据,请先将内容保存在本地并刷新编辑器。'},'getPluralForm':_0x2d9895=>0x0}};_0x2787db['zh-cn']||={'dictionary':{},'getPluralForm':null},_0x2787db['zh-cn']['dictionary']=Object['assign'](_0x2787db['zh-cn']['dictionary'],_0x3c0275),_0x2787db['zh-cn']['getPluralForm']=_0x1c2324;})(window['CKEDITOR_TRANSLATIONS']||={});
|
package/dist/translations/zh.js
CHANGED
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
export default{'zh':{'dictionary':{'CONNECTED_USERS':'%0\x20位已連線使用者。','PENDING_ACTION_SENDING_DATA':'傳送資料到伺服器。','Synchronization\x20issue':'同步處理問題','Connected\x20users\x20list\x20dropdown\x20menu':'已連結使用者清單下拉式功能表','Connected\x20users\x20list':'已連結使用者清單','Collapsed\x20connected\x20users\x20list\x20(press\x20ENTER\x20to\x20open\x20it)':'摺疊的已連結使用者清單(按\x20Enter\x20即可將其開啟)','The\x20document\x20cannot\x20be\x20connected\x20back\x20to\x20the\x20server.\x20To\x20not\x20lose\x20your\x20content\x20save\x20it\x20locally\x20and\x20refresh\x20the\x20editor.':'無法將文件連結回伺服器。為了不丟失內容,請將其儲存於本機並重新整理編輯器。','The\x20document\x20details\x20could\x20not\x20be\x20taken\x20during\x20the\x20reconnection.\x20To\x20not\x20lose\x20your\x20content\x20save\x20it\x20locally\x20and\x20refresh\x20the\x20editor.':'重新連結期間,無法獲取文件詳細資料。為了不丟失內容,請將其儲存於本機並重新整理編輯器。','The\x20last\x20saved\x20version\x20of\x20the\x20document\x20does\x20not\x20match\x20the\x20local\x20version.\x20To\x20not\x20lose\x20your\x20content\x20save\x20it\x20locally\x20and\x20refresh\x20the\x20editor.':'文件的最後儲存版本與本機版本不符。為了不丟失內容,請將其儲存於本機並重新整理編輯器。','The\x20local\x20document\x20and\x20server\x20document\x20differ\x20and\x20merging\x20them\x20can\x20cause\x20unexpected\x20behavior.\x20To\x20not\x20lose\x20your\x20content\x20save\x20it\x20locally\x20and\x20refresh\x20the\x20editor.':'本機文件與伺服器文件不同,合併它們可能會導致意外情況。為了不丟失內容,請將其儲存於本機並重新整理編輯器。'},'getPluralForm':
|
|
23
|
+
export default{'zh':{'dictionary':{'CONNECTED_USERS':'%0\x20位已連線使用者。','PENDING_ACTION_SENDING_DATA':'傳送資料到伺服器。','Synchronization\x20issue':'同步處理問題','Connected\x20users\x20list\x20dropdown\x20menu':'已連結使用者清單下拉式功能表','Connected\x20users\x20list':'已連結使用者清單','Collapsed\x20connected\x20users\x20list\x20(press\x20ENTER\x20to\x20open\x20it)':'摺疊的已連結使用者清單(按\x20Enter\x20即可將其開啟)','The\x20document\x20cannot\x20be\x20connected\x20back\x20to\x20the\x20server.\x20To\x20not\x20lose\x20your\x20content\x20save\x20it\x20locally\x20and\x20refresh\x20the\x20editor.':'無法將文件連結回伺服器。為了不丟失內容,請將其儲存於本機並重新整理編輯器。','The\x20document\x20details\x20could\x20not\x20be\x20taken\x20during\x20the\x20reconnection.\x20To\x20not\x20lose\x20your\x20content\x20save\x20it\x20locally\x20and\x20refresh\x20the\x20editor.':'重新連結期間,無法獲取文件詳細資料。為了不丟失內容,請將其儲存於本機並重新整理編輯器。','The\x20last\x20saved\x20version\x20of\x20the\x20document\x20does\x20not\x20match\x20the\x20local\x20version.\x20To\x20not\x20lose\x20your\x20content\x20save\x20it\x20locally\x20and\x20refresh\x20the\x20editor.':'文件的最後儲存版本與本機版本不符。為了不丟失內容,請將其儲存於本機並重新整理編輯器。','The\x20local\x20document\x20and\x20server\x20document\x20differ\x20and\x20merging\x20them\x20can\x20cause\x20unexpected\x20behavior.\x20To\x20not\x20lose\x20your\x20content\x20save\x20it\x20locally\x20and\x20refresh\x20the\x20editor.':'本機文件與伺服器文件不同,合併它們可能會導致意外情況。為了不丟失內容,請將其儲存於本機並重新整理編輯器。'},'getPluralForm':_0x355513=>0x0}};
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
(
|
|
23
|
+
(_0x4e2a26=>{const {zh:{dictionary:_0xdfae7b,getPluralForm:_0x2dfc9d}}={'zh':{'dictionary':{'CONNECTED_USERS':'%0\x20位已連線使用者。','PENDING_ACTION_SENDING_DATA':'傳送資料到伺服器。','Synchronization\x20issue':'同步處理問題','Connected\x20users\x20list\x20dropdown\x20menu':'已連結使用者清單下拉式功能表','Connected\x20users\x20list':'已連結使用者清單','Collapsed\x20connected\x20users\x20list\x20(press\x20ENTER\x20to\x20open\x20it)':'摺疊的已連結使用者清單(按\x20Enter\x20即可將其開啟)','The\x20document\x20cannot\x20be\x20connected\x20back\x20to\x20the\x20server.\x20To\x20not\x20lose\x20your\x20content\x20save\x20it\x20locally\x20and\x20refresh\x20the\x20editor.':'無法將文件連結回伺服器。為了不丟失內容,請將其儲存於本機並重新整理編輯器。','The\x20document\x20details\x20could\x20not\x20be\x20taken\x20during\x20the\x20reconnection.\x20To\x20not\x20lose\x20your\x20content\x20save\x20it\x20locally\x20and\x20refresh\x20the\x20editor.':'重新連結期間,無法獲取文件詳細資料。為了不丟失內容,請將其儲存於本機並重新整理編輯器。','The\x20last\x20saved\x20version\x20of\x20the\x20document\x20does\x20not\x20match\x20the\x20local\x20version.\x20To\x20not\x20lose\x20your\x20content\x20save\x20it\x20locally\x20and\x20refresh\x20the\x20editor.':'文件的最後儲存版本與本機版本不符。為了不丟失內容,請將其儲存於本機並重新整理編輯器。','The\x20local\x20document\x20and\x20server\x20document\x20differ\x20and\x20merging\x20them\x20can\x20cause\x20unexpected\x20behavior.\x20To\x20not\x20lose\x20your\x20content\x20save\x20it\x20locally\x20and\x20refresh\x20the\x20editor.':'本機文件與伺服器文件不同,合併它們可能會導致意外情況。為了不丟失內容,請將其儲存於本機並重新整理編輯器。'},'getPluralForm':_0x203b3a=>0x0}};_0x4e2a26['zh']||={'dictionary':{},'getPluralForm':null},_0x4e2a26['zh']['dictionary']=Object['assign'](_0x4e2a26['zh']['dictionary'],_0xdfae7b),_0x4e2a26['zh']['getPluralForm']=_0x2dfc9d;})(window['CKEDITOR_TRANSLATIONS']||={});
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@ckeditor/ckeditor5-real-time-collaboration",
|
|
3
|
-
"version": "43.
|
|
3
|
+
"version": "43.2.0-alpha.0",
|
|
4
4
|
"description": "A set of CKEditor 5 features enabling real-time collaboration within the editor using CKEditor Cloud Services.",
|
|
5
5
|
"license": "SEE LICENSE IN LICENSE.md",
|
|
6
6
|
"author": "CKSource (http://cksource.com/)",
|
|
@@ -42,14 +42,14 @@
|
|
|
42
42
|
],
|
|
43
43
|
"dependencies": {
|
|
44
44
|
"@ckeditor/ckeditor-cloud-services-collaboration": "52.6.10",
|
|
45
|
-
"@ckeditor/ckeditor5-core": "43.
|
|
46
|
-
"@ckeditor/ckeditor5-engine": "43.
|
|
47
|
-
"@ckeditor/ckeditor5-operations-compressor": "43.
|
|
48
|
-
"@ckeditor/ckeditor5-theme-lark": "43.
|
|
49
|
-
"@ckeditor/ckeditor5-ui": "43.
|
|
50
|
-
"@ckeditor/ckeditor5-utils": "43.
|
|
51
|
-
"ckeditor5": "43.
|
|
52
|
-
"ckeditor5-collaboration": "43.
|
|
45
|
+
"@ckeditor/ckeditor5-core": "43.2.0-alpha.0",
|
|
46
|
+
"@ckeditor/ckeditor5-engine": "43.2.0-alpha.0",
|
|
47
|
+
"@ckeditor/ckeditor5-operations-compressor": "43.2.0-alpha.0",
|
|
48
|
+
"@ckeditor/ckeditor5-theme-lark": "43.2.0-alpha.0",
|
|
49
|
+
"@ckeditor/ckeditor5-ui": "43.2.0-alpha.0",
|
|
50
|
+
"@ckeditor/ckeditor5-utils": "43.2.0-alpha.0",
|
|
51
|
+
"ckeditor5": "43.2.0-alpha.0",
|
|
52
|
+
"ckeditor5-collaboration": "43.2.0-alpha.0",
|
|
53
53
|
"lodash-es": "4.17.21"
|
|
54
54
|
},
|
|
55
55
|
"types": "src/index.d.ts",
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
export function getTranslation(
|
|
23
|
+
export function getTranslation(_0x1b1835,_0x39408b,_0x36ada3){const t=_0x1b1835['t'];switch(_0x39408b){case'PENDING_ACTION_SENDING_DATA':return t({'string':'Sending\x20data\x20to\x20the\x20server.','id':'PENDING_ACTION_SENDING_DATA'});case'The\x20local\x20document\x20and\x20server\x20document\x20differ\x20and\x20merging\x20them\x20can\x20cause\x20unexpected\x20behavior.\x20To\x20not\x20lose\x20your\x20content\x20save\x20it\x20locally\x20and\x20refresh\x20the\x20editor.':return t('The\x20local\x20document\x20and\x20server\x20document\x20differ\x20and\x20merging\x20them\x20can\x20cause\x20unexpected\x20behavior.\x20To\x20not\x20lose\x20your\x20content\x20save\x20it\x20locally\x20and\x20refresh\x20the\x20editor.');case'The\x20document\x20cannot\x20be\x20connected\x20back\x20to\x20the\x20server.\x20To\x20not\x20lose\x20your\x20content\x20save\x20it\x20locally\x20and\x20refresh\x20the\x20editor.':return t('The\x20document\x20cannot\x20be\x20connected\x20back\x20to\x20the\x20server.\x20To\x20not\x20lose\x20your\x20content\x20save\x20it\x20locally\x20and\x20refresh\x20the\x20editor.');case'The\x20document\x20details\x20could\x20not\x20be\x20taken\x20during\x20the\x20reconnection.\x20To\x20not\x20lose\x20your\x20content\x20save\x20it\x20locally\x20and\x20refresh\x20the\x20editor.':return t('The\x20document\x20details\x20could\x20not\x20be\x20taken\x20during\x20the\x20reconnection.\x20To\x20not\x20lose\x20your\x20content\x20save\x20it\x20locally\x20and\x20refresh\x20the\x20editor.');case'The\x20last\x20saved\x20version\x20of\x20the\x20document\x20does\x20not\x20match\x20the\x20local\x20version.\x20To\x20not\x20lose\x20your\x20content\x20save\x20it\x20locally\x20and\x20refresh\x20the\x20editor.':return t('The\x20last\x20saved\x20version\x20of\x20the\x20document\x20does\x20not\x20match\x20the\x20local\x20version.\x20To\x20not\x20lose\x20your\x20content\x20save\x20it\x20locally\x20and\x20refresh\x20the\x20editor.');case'Synchronization\x20issue':return t('Synchronization\x20issue');case'Connected\x20users\x20list\x20dropdown\x20menu':return t('Connected\x20users\x20list\x20dropdown\x20menu');case'Collapsed\x20connected\x20users\x20list\x20(press\x20ENTER\x20to\x20open\x20it)':return t('Collapsed\x20connected\x20users\x20list\x20(press\x20ENTER\x20to\x20open\x20it)');case'Connected\x20users\x20list':return t('Connected\x20users\x20list');case'PENDING_ACTION_REVISION_HISTORY':return t({'string':'Unsaved\x20change\x20in\x20revision\x20history.','id':'PENDING_ACTION_REVISION_HISTORY'});case'CONNECTED_USERS':return t({'string':'1\x20connected\x20user\x20(me)','plural':'%0\x20connected\x20users','id':'CONNECTED_USERS'},_0x36ada3);default:return'';}}
|
package/src/index.js
CHANGED
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
(function(
|
|
23
|
+
(function(_0x2addb9,_0x34b07a){var _0x3457bc=_0x26f5,_0x4ca604=_0x2addb9();while(!![]){try{var _0x2cc802=-parseInt(_0x3457bc(0x84))/0x1*(-parseInt(_0x3457bc(0x7c))/0x2)+parseInt(_0x3457bc(0x81))/0x3+-parseInt(_0x3457bc(0x7b))/0x4*(parseInt(_0x3457bc(0x82))/0x5)+-parseInt(_0x3457bc(0x83))/0x6*(-parseInt(_0x3457bc(0x7e))/0x7)+-parseInt(_0x3457bc(0x7f))/0x8+-parseInt(_0x3457bc(0x7d))/0x9+parseInt(_0x3457bc(0x7a))/0xa*(-parseInt(_0x3457bc(0x80))/0xb);if(_0x2cc802===_0x34b07a)break;else _0x4ca604['push'](_0x4ca604['shift']());}catch(_0x5e8176){_0x4ca604['push'](_0x4ca604['shift']());}}}(_0x2aa8,0xd716c));export{default as RealTimeCollaborativeEditing}from'./realtimecollaborativeediting.js';function _0x2aa8(){var _0x29bbe5=['4038765CWBrxN','6ccyxhW','2QQRHMD','10ZDvVTk','4lFLQXE','1405858RvZCmP','403965YGHRph','804909EwRSUe','128496jwlyrO','4591114XgrTZr','1938699ucTwVs'];_0x2aa8=function(){return _0x29bbe5;};return _0x2aa8();}export{default as RealTimeCollaborativeTrackChanges}from'./realtimecollaborativetrackchanges.js';export{default as RealTimeCollaborativeComments}from'./realtimecollaborativecomments.js';export{default as RealTimeCollaborativeRevisionHistory}from'./realtimecollaborativerevisionhistory.js';export{default as CloudServicesCommentsAdapter}from'./realtimecollaborativecomments/cloudservicescommentsadapter.js';export{default as CloudServicesTrackChangesAdapter}from'./realtimecollaborativetrackchanges/cloudservicestrackchangesadapter.js';export{default as CloudServicesRevisionHistoryAdapter}from'./realtimecollaborativerevisionhistory/cloudservicesrevisionhistoryadapter.js';function _0x26f5(_0x4b84f8,_0x136b14){var _0x2aa82f=_0x2aa8();return _0x26f5=function(_0x26f54a,_0x3086e9){_0x26f54a=_0x26f54a-0x7a;var _0x563fab=_0x2aa82f[_0x26f54a];return _0x563fab;},_0x26f5(_0x4b84f8,_0x136b14);}export{default as RealTimeCollaborationClient}from'./realtimecollaborativeediting/realtimecollaborationclient.js';export{default as PresenceList}from'./presencelist.js';import'./augmentation.js';
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
const _0x29ffc0=_0x54fc;(function(_0x34bfdc,_0x4c85dc){const _0x214b1a=_0x54fc,_0x348956=_0x34bfdc();while(!![]){try{const _0x16c1f7=parseInt(_0x214b1a(0x8a))/0x1*(-parseInt(_0x214b1a(0xd7))/0x2)+-parseInt(_0x214b1a(0xe3))/0x3*(parseInt(_0x214b1a(0xdf))/0x4)+-parseInt(_0x214b1a(0x8c))/0x5*(parseInt(_0x214b1a(0xc4))/0x6)+-parseInt(_0x214b1a(0xcd))/0x7+parseInt(_0x214b1a(0xd5))/0x8*(-parseInt(_0x214b1a(0xa2))/0x9)+parseInt(_0x214b1a(0xba))/0xa+-parseInt(_0x214b1a(0x89))/0xb*(-parseInt(_0x214b1a(0xda))/0xc);if(_0x16c1f7===_0x4c85dc)break;else _0x348956['push'](_0x348956['shift']());}catch(_0x4bbcd3){_0x348956['push'](_0x348956['shift']());}}}(_0x236e,0xef609));import{ContextPlugin as _0x3cfd16}from'ckeditor5/src/core.js';import{CKEditorError as _0x4cbc4d,Collection as _0x394e69}from'ckeditor5/src/utils.js';import{clickOutsideHandler as _0xef560a,BalloonPanelView as _0x1db285,BodyCollection as _0x2622bf}from'ckeditor5/src/ui.js';import{isElement as _0x24898b}from'lodash-es';import _0x4a39cd from'../realtimecollaborativeediting/sessions.js';import _0x3cd75f from'./view/presencelistview.js';import _0x271dc5 from'./view/presencedropdownlistview.js';import _0xadf494 from'./view/presencedropdownlistitemview.js';import _0x497ae8 from'./view/presenceinlinelistitemview.js';function _0x54fc(_0x167fc7,_0x4ad8bc){const _0x236e21=_0x236e();return _0x54fc=function(_0x54fc86,_0x503abb){_0x54fc86=_0x54fc86-0x87;let _0x3242ce=_0x236e21[_0x54fc86];return _0x3242ce;},_0x54fc(_0x167fc7,_0x4ad8bc);}const A={'collapseAt':0x6,'displayMe':!0x0};export default class s extends _0x3cfd16{constructor(_0x21fe14){const _0xf2af0=_0x54fc;super(_0x21fe14),this[_0xf2af0(0xd1)]=null,this[_0xf2af0(0xad)][_0xf2af0(0xc8)][_0xf2af0(0xe4)](_0xf2af0(0xa9),A);const _0x226197=_0x21fe14[_0xf2af0(0xc8)][_0xf2af0(0xac)](_0xf2af0(0xb8));if(_0xf2af0(0xe0)!=typeof _0x226197)throw new _0x4cbc4d(_0xf2af0(0x9f),this);if(_0x226197<0x1)throw new _0x4cbc4d(_0xf2af0(0x9f),this);this[_0xf2af0(0xb1)]=this[_0xf2af0(0xad)][_0xf2af0(0xcb)][_0xf2af0(0xac)](_0x4a39cd)[_0xf2af0(0xe2)],this[_0xf2af0(0xa7)](_0xf2af0(0x9e),0x0),this[_0xf2af0(0x8b)]=new _0x394e69(),this[_0xf2af0(0xa6)]=new _0x1db285(),this[_0xf2af0(0xa6)][_0xf2af0(0xbd)]=_0xf2af0(0xc2),this[_0xf2af0(0x95)]=this[_0xf2af0(0x9c)](),this[_0xf2af0(0xa4)]=void 0x0;}static get[_0x29ffc0(0xe8)](){return[_0x4a39cd];}[_0x29ffc0(0xd0)](){const _0x3b3bb6=_0x29ffc0;for(const _0x1fc339 of this[_0x3b3bb6(0xb1)])this[_0x3b3bb6(0x99)](_0x1fc339);this[_0x3b3bb6(0xbb)](this[_0x3b3bb6(0xb1)],_0x3b3bb6(0xca),(_0x24732b,_0x271cd9)=>{const _0x4709b0=_0x3b3bb6;this[_0x4709b0(0x99)](_0x271cd9);}),this[_0x3b3bb6(0xbb)](this[_0x3b3bb6(0xb1)],_0x3b3bb6(0xa0),(_0x2ffdf7,_0x31f641)=>{const _0x584b97=_0x3b3bb6;this[_0x584b97(0x9a)](_0x31f641);});}[_0x29ffc0(0x9c)](){const _0x1ce3c3=_0x29ffc0,_0x80a051=this[_0x1ce3c3(0xad)],_0x1b4234=new _0x3cd75f(this[_0x1ce3c3(0xad)][_0x1ce3c3(0xcc)]),_0x5094d5=this[_0x1ce3c3(0xa6)];if(!_0x24898b(_0x80a051[_0x1ce3c3(0xc8)][_0x1ce3c3(0xac)](_0x1ce3c3(0xc1))))throw new _0x4cbc4d(_0x1ce3c3(0xc0),this);return _0x1b4234[_0x1ce3c3(0x93)][_0x1ce3c3(0xb4)](_0x1ce3c3(0x9e))['to'](this),_0x1b4234[_0x1ce3c3(0xb4)](_0x1ce3c3(0x88))['to'](this,_0x1ce3c3(0x9e),_0x389dbb=>{const _0xff9686=_0x1ce3c3,{collapseAt:_0x231559,displayMe:_0x99ae1e}=_0x80a051[_0xff9686(0xc8)][_0xff9686(0xac)](_0xff9686(0xa9)),_0x32b69a=_0x389dbb>=_0x231559;return _0x1b4234[_0xff9686(0x93)][_0xff9686(0xce)]=!(0x1==_0x389dbb&&_0x99ae1e||_0x32b69a),_0x32b69a||this[_0xff9686(0xbc)](),_0x32b69a;}),_0x1b4234[_0x1ce3c3(0x91)][_0x1ce3c3(0xc5)][_0x1ce3c3(0xbe)](this[_0x1ce3c3(0x8b)])[_0x1ce3c3(0x97)](_0x186186=>{const _0x187b41=_0x1ce3c3,_0x5401b8=_0x80a051[_0x187b41(0xc8)][_0x187b41(0xac)](_0x187b41(0xa9)),_0x202d02=new _0x497ae8(_0x80a051[_0x187b41(0xcc)],_0x186186,!!_0x5401b8[_0x187b41(0xcf)]);return _0x202d02[_0x187b41(0xb4)](_0x187b41(0x9d))['to'](_0x1b4234,_0x187b41(0x88),_0x46d73e=>!_0x46d73e),_0x202d02[_0x187b41(0xb4)](_0x187b41(0x90))['to'](_0x1b4234,_0x187b41(0x88),_0xaa65c6=>!_0xaa65c6),_0x5401b8[_0x187b41(0xcf)]&&this[_0x187b41(0xbb)](_0x202d02,_0x187b41(0xd3),()=>{const _0x219bef=_0x187b41;this[_0x219bef(0x95)][_0x219bef(0x88)]||_0x5401b8[_0x219bef(0xcf)](_0x186186,_0x202d02[_0x219bef(0xb2)]);}),_0x202d02;}),this[_0x1ce3c3(0xbb)](_0x1b4234[_0x1ce3c3(0x91)],_0x1ce3c3(0xd3),()=>{const _0x4b5cce=_0x1ce3c3;this[_0x4b5cce(0xa4)]?this[_0x4b5cce(0xbc)]():this[_0x4b5cce(0x95)][_0x4b5cce(0x88)]&&this[_0x4b5cce(0xdc)]();}),_0x1b4234[_0x1ce3c3(0x91)][_0x1ce3c3(0xe9)][_0x1ce3c3(0xa7)](_0x1ce3c3(0x96),(_0x1e3cfe,_0x2e3f39)=>{const _0x558db6=_0x1ce3c3;this[_0x558db6(0x95)][_0x558db6(0x88)]&&(this[_0x558db6(0xdc)](),_0x2e3f39());}),_0x1b4234[_0x1ce3c3(0xc3)](),_0x5094d5[_0x1ce3c3(0xc3)](),_0xef560a({'emitter':_0x1b4234,'activator':()=>_0x5094d5[_0x1ce3c3(0xc9)],'contextElements':[_0x5094d5[_0x1ce3c3(0xb2)],_0x1b4234[_0x1ce3c3(0x91)][_0x1ce3c3(0xb2)]],'callback':()=>this[_0x1ce3c3(0xbc)]()}),_0x80a051[_0x1ce3c3(0xc8)][_0x1ce3c3(0xac)](_0x1ce3c3(0xc1))[_0x1ce3c3(0x94)](_0x1b4234[_0x1ce3c3(0xb2)]),this[_0x1ce3c3(0xd1)]=new _0x2622bf(this[_0x1ce3c3(0xad)][_0x1ce3c3(0xcc)]),this[_0x1ce3c3(0xd1)][_0x1ce3c3(0xc7)](),this[_0x1ce3c3(0xd1)][_0x1ce3c3(0xca)](this[_0x1ce3c3(0xa6)]),_0x1b4234;}[_0x29ffc0(0x99)](_0x266e0a){const _0x31b5ad=_0x29ffc0;if(!this[_0x31b5ad(0xad)][_0x31b5ad(0xc8)][_0x31b5ad(0xac)](_0x31b5ad(0xe1))&&_0x266e0a[_0x31b5ad(0xe7)])return;const _0x42c142=this[_0x31b5ad(0xad)][_0x31b5ad(0xc8)][_0x31b5ad(0xac)](_0x31b5ad(0xb8))-0x1;this[_0x31b5ad(0x9e)]++,this[_0x31b5ad(0x8b)][_0x31b5ad(0xd8)]==_0x42c142&&this[_0x31b5ad(0x8b)][_0x31b5ad(0xd8)]>0x1&&this[_0x31b5ad(0x8b)][_0x31b5ad(0xa0)](0x1);const _0x3faa49=_0x266e0a[_0x31b5ad(0xe7)]?0x0:this[_0x31b5ad(0x8b)][_0x31b5ad(0xd8)];this[_0x31b5ad(0x8b)][_0x31b5ad(0xca)](_0x266e0a,_0x3faa49);}[_0x29ffc0(0x9a)](_0x2d3fb0){const _0x22c007=_0x29ffc0;if(this[_0x22c007(0x9e)]--,this[_0x22c007(0x8b)][_0x22c007(0xac)](_0x2d3fb0['id'])&&(this[_0x22c007(0x8b)][_0x22c007(0xa0)](_0x2d3fb0['id']),this[_0x22c007(0x8b)][_0x22c007(0xd8)]<this[_0x22c007(0x9e)])){for(const _0x2e96fa of Array[_0x22c007(0xde)](this[_0x22c007(0xb1)])[_0x22c007(0xb6)]())if(!this[_0x22c007(0x8b)][_0x22c007(0xac)](_0x2e96fa['id']))return void this[_0x22c007(0x8b)][_0x22c007(0xca)](_0x2e96fa,Math[_0x22c007(0x8d)](this[_0x22c007(0x8b)][_0x22c007(0xd8)],0x1));}}[_0x29ffc0(0xdc)](){const _0x35da68=_0x29ffc0;if(this[_0x35da68(0xa4)])return;const _0x4f2ecd=this[_0x35da68(0xad)][_0x35da68(0xc8)][_0x35da68(0xac)](_0x35da68(0xa9));this[_0x35da68(0xa4)]=new _0x271dc5(this[_0x35da68(0xad)][_0x35da68(0xcc)],!!_0x4f2ecd[_0x35da68(0xcf)]),this[_0x35da68(0x95)][_0x35da68(0x91)][_0x35da68(0xd9)]=!0x0;const {listWrapperView:_0x2f7dc3}=this[_0x35da68(0xa4)];_0x2f7dc3[_0x35da68(0xc5)][_0x35da68(0xbe)](this[_0x35da68(0xb1)])[_0x35da68(0x97)](_0x3d0ffa=>{const _0x437c30=_0x35da68;if(!_0x4f2ecd[_0x437c30(0xab)]&&_0x3d0ffa[_0x437c30(0xe7)])return null;const _0x275fb4=new _0xadf494(this[_0x437c30(0xad)][_0x437c30(0xcc)],_0x3d0ffa,!!_0x4f2ecd[_0x437c30(0xcf)]);return _0x4f2ecd[_0x437c30(0xcf)]&&this[_0x437c30(0xbb)](_0x275fb4,_0x437c30(0xd3),()=>{const _0x12e3c3=_0x437c30;_0x4f2ecd[_0x12e3c3(0xcf)](_0x3d0ffa,_0x275fb4[_0x12e3c3(0xb2)]);}),_0x275fb4;}),this[_0x35da68(0xa6)][_0x35da68(0x87)][_0x35da68(0xca)](this[_0x35da68(0xa4)]),this[_0x35da68(0xa6)][_0x35da68(0xa3)]({'target':this[_0x35da68(0x95)][_0x35da68(0x91)][_0x35da68(0xb2)]}),_0x2f7dc3[_0x35da68(0xea)](),_0x2f7dc3[_0x35da68(0xc6)]();const _0x3f1e22=(_0x131c0e,_0x1f8995)=>{const _0x2599cb=_0x35da68;this[_0x2599cb(0xbc)](),this[_0x2599cb(0x95)][_0x2599cb(0x91)][_0x2599cb(0xea)](),_0x1f8995();};_0x2f7dc3[_0x35da68(0xe9)][_0x35da68(0xa7)](_0x35da68(0xe6),_0x3f1e22),_0x2f7dc3[_0x35da68(0xe9)][_0x35da68(0xa7)](_0x35da68(0x92),_0x3f1e22),_0x2f7dc3[_0x35da68(0xe9)][_0x35da68(0xa7)](_0x35da68(0xdb),(_0x18d672,_0x575a02)=>{const _0x335a5f=_0x35da68;!function(_0x44ff47){const _0x4acd97=_0x54fc,_0x5b0f55=['a',_0x4acd97(0xb9),_0x4acd97(0xaa),_0x4acd97(0xed),_0x4acd97(0xd6),_0x4acd97(0xaf),_0x4acd97(0x8f)][_0x4acd97(0xa8)](_0x464bfb=>_0x464bfb+_0x4acd97(0xb3))[_0x4acd97(0xb7)](','),_0x36bf62=[...document[_0x4acd97(0xb0)][_0x4acd97(0xd2)](_0x5b0f55)][_0x4acd97(0x98)](_0x461390=>_0x461390===document[_0x4acd97(0xae)]||_0x461390[_0x4acd97(0xeb)]+_0x461390[_0x4acd97(0xa5)]>0x0)[_0x4acd97(0xbf)]((_0xd40a6d,_0x1af376)=>(_0xd40a6d[_0x4acd97(0xec)]||0x0)-(_0x1af376[_0x4acd97(0xec)]||0x0)),_0x23f350=_0x36bf62[_0x4acd97(0xdd)](_0x44ff47),_0x7d0c32=_0x36bf62[(_0x23f350+0x1)%_0x36bf62[_0x4acd97(0xd8)]];_0x7d0c32&&_0x7d0c32[_0x4acd97(0xea)]();}(this[_0x335a5f(0x95)][_0x335a5f(0xb2)]),this[_0x335a5f(0xbc)](),_0x575a02();}),_0x2f7dc3[_0x35da68(0xe5)][_0x35da68(0xca)](this[_0x35da68(0x95)][_0x35da68(0xb2)]),_0x2f7dc3[_0x35da68(0xe5)]['on'](_0x35da68(0xd4),(_0x322a12,_0x3996a9,_0x53b3e2)=>{const _0x54157c=_0x35da68;_0x53b3e2||this[_0x54157c(0xbc)]();});}[_0x29ffc0(0xbc)](){const _0x70892b=_0x29ffc0;this[_0x70892b(0xa4)]&&(this[_0x70892b(0x95)][_0x70892b(0x91)][_0x70892b(0xd9)]=!0x1,this[_0x70892b(0xa6)][_0x70892b(0xb5)](),this[_0x70892b(0xa6)][_0x70892b(0x87)][_0x70892b(0xa0)](this[_0x70892b(0xa4)]),this[_0x70892b(0xa4)][_0x70892b(0x9b)](),this[_0x70892b(0xa4)]=void 0x0);}[_0x29ffc0(0x9b)](){const _0x20ce94=_0x29ffc0;super[_0x20ce94(0x9b)](),this[_0x20ce94(0x95)]&&this[_0x20ce94(0x95)][_0x20ce94(0x8e)]&&this[_0x20ce94(0x95)][_0x20ce94(0x9b)](),this[_0x20ce94(0xd1)]&&(this[_0x20ce94(0xd1)][_0x20ce94(0xa1)](),this[_0x20ce94(0xd1)][_0x20ce94(0x9b)](),this[_0x20ce94(0xd1)]=null);}}function _0x236e(){const _0x29e837=['showDropdown','indexOf','from','84JGgpgK','number','presenceList.displayMe','allConnectedUsers','274143JiOugZ','define','focusTracker','Esc','isMe','requires','keystrokes','focus','offsetWidth','tabIndex','select','content','isCollapsed','6073573NmNHDU','19RvmRCa','currentDisplayedUsers','1902020OUeGIV','min','isRendered','[contenteditable]','isFocusable','inlineListView','Shift+Tab','counterView','appendChild','view','Enter','using','filter','_handleUserAdd','_handleUserRemove','destroy','_createView','hasTooltip','usersCount','presencelist-collapseat-invalid-format','remove','detachFromDom','2446866BtbWhu','pin','presenceDropdownView','offsetHeight','balloonPanelView','set','map','presenceList','input','displayMe','get','context','activeElement','[tabindex]','body','_allConnectedUsers','element',':not([disabled]):not([tabindex=\x22-1\x22])','bind','unpin','reverse','join','presenceList.collapseAt','button','4658070yAyhXd','listenTo','hideDropdown','class','bindTo','sort','presencelist-missing-container','presenceList.container','ck\x20ck-presence-list__balloon','render','6ajElww','items','checkIfScrollable','attachToDom','config','isVisible','add','plugins','locale','4798787VbFhhf','isHidden','onClick','init','_bodyCollection','querySelectorAll','execute','change:isFocused','40bICbSa','textarea','127850ddxDaJ','length','isExpanded','132hrQmPZ','Tab'];_0x236e=function(){return _0x29e837;};return _0x236e();}
|
|
23
|
+
const _0x6bab1e=_0x52b5;(function(_0x493aec,_0x369157){const _0x160048=_0x52b5,_0x68e02c=_0x493aec();while(!![]){try{const _0x3a771f=parseInt(_0x160048(0xe1))/0x1*(parseInt(_0x160048(0x85))/0x2)+parseInt(_0x160048(0xb2))/0x3+-parseInt(_0x160048(0x92))/0x4*(-parseInt(_0x160048(0xa0))/0x5)+parseInt(_0x160048(0x9c))/0x6+-parseInt(_0x160048(0xb1))/0x7*(parseInt(_0x160048(0xca))/0x8)+parseInt(_0x160048(0xdc))/0x9*(parseInt(_0x160048(0x84))/0xa)+-parseInt(_0x160048(0xe6))/0xb;if(_0x3a771f===_0x369157)break;else _0x68e02c['push'](_0x68e02c['shift']());}catch(_0x5410f2){_0x68e02c['push'](_0x68e02c['shift']());}}}(_0x4e95,0x6183e));import{ContextPlugin as _0x7e918d}from'ckeditor5/src/core.js';import{CKEditorError as _0xc2c377,Collection as _0x19a778}from'ckeditor5/src/utils.js';import{clickOutsideHandler as _0x4d4608,BalloonPanelView as _0x4a7502,BodyCollection as _0x429e40}from'ckeditor5/src/ui.js';import{isElement as _0x119151}from'lodash-es';import _0x3f25f6 from'../realtimecollaborativeediting/sessions.js';function _0x4e95(){const _0x28fee3=['presenceList.collapseAt','_bodyCollection','isRendered','plugins','[contenteditable]','attachToDom','displayMe','unpin','isVisible','isFocusable','view','56yzXawF','2182998mXloyr','focus','locale','querySelectorAll','get','focusTracker','add',':not([disabled]):not([tabindex=\x22-1\x22])','presenceDropdownView','listenTo','detachFromDom','requires','ck\x20ck-presence-list__balloon','body','reverse','bind','onClick','remove','appendChild','hideDropdown','presencelist-collapseat-invalid-format','isCollapsed','using','button','314896qCrRwi','presenceList.container','render','min','content','tabIndex','Tab','isHidden','offsetWidth','bindTo','checkIfScrollable','keystrokes','config','balloonPanelView','number','Esc','_handleUserRemove','change:isFocused','423jxKGxE','indexOf','showDropdown','[tabindex]','counterView','3929BtZezt','items','pin','presenceList.displayMe','from','9869651xkHTrL','Enter','textarea','destroy','41830DWVcLA','172uhGnfy','map','input','hasTooltip','isExpanded','activeElement','sort','_handleUserAdd','presenceList','select','allConnectedUsers','length','presencelist-missing-container','289828YSiYcD','class','isMe','Shift+Tab','element','currentDisplayedUsers','set','define','_createView','init','1661646rIUUeO','inlineListView','usersCount','context','5lndipP','offsetHeight','filter','join','execute','_allConnectedUsers'];_0x4e95=function(){return _0x28fee3;};return _0x4e95();}function _0x52b5(_0x23c85f,_0x278a95){const _0x4e9575=_0x4e95();return _0x52b5=function(_0x52b5a7,_0x3e3828){_0x52b5a7=_0x52b5a7-0x83;let _0x396b56=_0x4e9575[_0x52b5a7];return _0x396b56;},_0x52b5(_0x23c85f,_0x278a95);}import _0x5d300c from'./view/presencelistview.js';import _0x1da053 from'./view/presencedropdownlistview.js';import _0x4114a1 from'./view/presencedropdownlistitemview.js';import _0x3f49d6 from'./view/presenceinlinelistitemview.js';const A={'collapseAt':0x6,'displayMe':!0x0};export default class s extends _0x7e918d{constructor(_0x31f5f7){const _0x17198f=_0x52b5;super(_0x31f5f7),this[_0x17198f(0xa7)]=null,this[_0x17198f(0x9f)][_0x17198f(0xd6)][_0x17198f(0x99)](_0x17198f(0x8d),A);const _0x1e9786=_0x31f5f7[_0x17198f(0xd6)][_0x17198f(0xb6)](_0x17198f(0xa6));if(_0x17198f(0xd8)!=typeof _0x1e9786)throw new _0xc2c377(_0x17198f(0xc6),this);if(_0x1e9786<0x1)throw new _0xc2c377(_0x17198f(0xc6),this);this[_0x17198f(0xa5)]=this[_0x17198f(0x9f)][_0x17198f(0xa9)][_0x17198f(0xb6)](_0x3f25f6)[_0x17198f(0x8f)],this[_0x17198f(0x98)](_0x17198f(0x9e),0x0),this[_0x17198f(0x97)]=new _0x19a778(),this[_0x17198f(0xd7)]=new _0x4a7502(),this[_0x17198f(0xd7)][_0x17198f(0x93)]=_0x17198f(0xbe),this[_0x17198f(0xb0)]=this[_0x17198f(0x9a)](),this[_0x17198f(0xba)]=void 0x0;}static get[_0x6bab1e(0xbd)](){return[_0x3f25f6];}[_0x6bab1e(0x9b)](){const _0x21c4f9=_0x6bab1e;for(const _0x450264 of this[_0x21c4f9(0xa5)])this[_0x21c4f9(0x8c)](_0x450264);this[_0x21c4f9(0xbb)](this[_0x21c4f9(0xa5)],_0x21c4f9(0xb8),(_0x42b57a,_0x413e47)=>{const _0x2cf6cb=_0x21c4f9;this[_0x2cf6cb(0x8c)](_0x413e47);}),this[_0x21c4f9(0xbb)](this[_0x21c4f9(0xa5)],_0x21c4f9(0xc3),(_0x532afb,_0xaeae8)=>{const _0x3d7645=_0x21c4f9;this[_0x3d7645(0xda)](_0xaeae8);});}[_0x6bab1e(0x9a)](){const _0x13f2e1=_0x6bab1e,_0x44e7c5=this[_0x13f2e1(0x9f)],_0x2e6c23=new _0x5d300c(this[_0x13f2e1(0x9f)][_0x13f2e1(0xb4)]),_0x59d018=this[_0x13f2e1(0xd7)];if(!_0x119151(_0x44e7c5[_0x13f2e1(0xd6)][_0x13f2e1(0xb6)](_0x13f2e1(0xcb))))throw new _0xc2c377(_0x13f2e1(0x91),this);return _0x2e6c23[_0x13f2e1(0xe0)][_0x13f2e1(0xc1)](_0x13f2e1(0x9e))['to'](this),_0x2e6c23[_0x13f2e1(0xc1)](_0x13f2e1(0xc7))['to'](this,_0x13f2e1(0x9e),_0x1ca595=>{const _0x50cfae=_0x13f2e1,{collapseAt:_0x16d78e,displayMe:_0x6ce411}=_0x44e7c5[_0x50cfae(0xd6)][_0x50cfae(0xb6)](_0x50cfae(0x8d)),_0x208938=_0x1ca595>=_0x16d78e;return _0x2e6c23[_0x50cfae(0xe0)][_0x50cfae(0xd1)]=!(0x1==_0x1ca595&&_0x6ce411||_0x208938),_0x208938||this[_0x50cfae(0xc5)](),_0x208938;}),_0x2e6c23[_0x13f2e1(0x9d)][_0x13f2e1(0xe2)][_0x13f2e1(0xd3)](this[_0x13f2e1(0x97)])[_0x13f2e1(0xc8)](_0x5342e8=>{const _0x4a4b5a=_0x13f2e1,_0x1bb745=_0x44e7c5[_0x4a4b5a(0xd6)][_0x4a4b5a(0xb6)](_0x4a4b5a(0x8d)),_0x2749ee=new _0x3f49d6(_0x44e7c5[_0x4a4b5a(0xb4)],_0x5342e8,!!_0x1bb745[_0x4a4b5a(0xc2)]);return _0x2749ee[_0x4a4b5a(0xc1)](_0x4a4b5a(0x88))['to'](_0x2e6c23,_0x4a4b5a(0xc7),_0x1d94d4=>!_0x1d94d4),_0x2749ee[_0x4a4b5a(0xc1)](_0x4a4b5a(0xaf))['to'](_0x2e6c23,_0x4a4b5a(0xc7),_0x3997c9=>!_0x3997c9),_0x1bb745[_0x4a4b5a(0xc2)]&&this[_0x4a4b5a(0xbb)](_0x2749ee,_0x4a4b5a(0xa4),()=>{const _0x4dd51b=_0x4a4b5a;this[_0x4dd51b(0xb0)][_0x4dd51b(0xc7)]||_0x1bb745[_0x4dd51b(0xc2)](_0x5342e8,_0x2749ee[_0x4dd51b(0x96)]);}),_0x2749ee;}),this[_0x13f2e1(0xbb)](_0x2e6c23[_0x13f2e1(0x9d)],_0x13f2e1(0xa4),()=>{const _0x29dd00=_0x13f2e1;this[_0x29dd00(0xba)]?this[_0x29dd00(0xc5)]():this[_0x29dd00(0xb0)][_0x29dd00(0xc7)]&&this[_0x29dd00(0xde)]();}),_0x2e6c23[_0x13f2e1(0x9d)][_0x13f2e1(0xd5)][_0x13f2e1(0x98)](_0x13f2e1(0xe7),(_0x4e8c04,_0x8dcba1)=>{const _0x2ac002=_0x13f2e1;this[_0x2ac002(0xb0)][_0x2ac002(0xc7)]&&(this[_0x2ac002(0xde)](),_0x8dcba1());}),_0x2e6c23[_0x13f2e1(0xcc)](),_0x59d018[_0x13f2e1(0xcc)](),_0x4d4608({'emitter':_0x2e6c23,'activator':()=>_0x59d018[_0x13f2e1(0xae)],'contextElements':[_0x59d018[_0x13f2e1(0x96)],_0x2e6c23[_0x13f2e1(0x9d)][_0x13f2e1(0x96)]],'callback':()=>this[_0x13f2e1(0xc5)]()}),_0x44e7c5[_0x13f2e1(0xd6)][_0x13f2e1(0xb6)](_0x13f2e1(0xcb))[_0x13f2e1(0xc4)](_0x2e6c23[_0x13f2e1(0x96)]),this[_0x13f2e1(0xa7)]=new _0x429e40(this[_0x13f2e1(0x9f)][_0x13f2e1(0xb4)]),this[_0x13f2e1(0xa7)][_0x13f2e1(0xab)](),this[_0x13f2e1(0xa7)][_0x13f2e1(0xb8)](this[_0x13f2e1(0xd7)]),_0x2e6c23;}[_0x6bab1e(0x8c)](_0x4209f8){const _0x2efb3f=_0x6bab1e;if(!this[_0x2efb3f(0x9f)][_0x2efb3f(0xd6)][_0x2efb3f(0xb6)](_0x2efb3f(0xe4))&&_0x4209f8[_0x2efb3f(0x94)])return;const _0x4ca597=this[_0x2efb3f(0x9f)][_0x2efb3f(0xd6)][_0x2efb3f(0xb6)](_0x2efb3f(0xa6))-0x1;this[_0x2efb3f(0x9e)]++,this[_0x2efb3f(0x97)][_0x2efb3f(0x90)]==_0x4ca597&&this[_0x2efb3f(0x97)][_0x2efb3f(0x90)]>0x1&&this[_0x2efb3f(0x97)][_0x2efb3f(0xc3)](0x1);const _0x29aaed=_0x4209f8[_0x2efb3f(0x94)]?0x0:this[_0x2efb3f(0x97)][_0x2efb3f(0x90)];this[_0x2efb3f(0x97)][_0x2efb3f(0xb8)](_0x4209f8,_0x29aaed);}[_0x6bab1e(0xda)](_0x36792e){const _0x52bc0c=_0x6bab1e;if(this[_0x52bc0c(0x9e)]--,this[_0x52bc0c(0x97)][_0x52bc0c(0xb6)](_0x36792e['id'])&&(this[_0x52bc0c(0x97)][_0x52bc0c(0xc3)](_0x36792e['id']),this[_0x52bc0c(0x97)][_0x52bc0c(0x90)]<this[_0x52bc0c(0x9e)])){for(const _0x171559 of Array[_0x52bc0c(0xe5)](this[_0x52bc0c(0xa5)])[_0x52bc0c(0xc0)]())if(!this[_0x52bc0c(0x97)][_0x52bc0c(0xb6)](_0x171559['id']))return void this[_0x52bc0c(0x97)][_0x52bc0c(0xb8)](_0x171559,Math[_0x52bc0c(0xcd)](this[_0x52bc0c(0x97)][_0x52bc0c(0x90)],0x1));}}[_0x6bab1e(0xde)](){const _0x457aa1=_0x6bab1e;if(this[_0x457aa1(0xba)])return;const _0x3a2ed2=this[_0x457aa1(0x9f)][_0x457aa1(0xd6)][_0x457aa1(0xb6)](_0x457aa1(0x8d));this[_0x457aa1(0xba)]=new _0x1da053(this[_0x457aa1(0x9f)][_0x457aa1(0xb4)],!!_0x3a2ed2[_0x457aa1(0xc2)]),this[_0x457aa1(0xb0)][_0x457aa1(0x9d)][_0x457aa1(0x89)]=!0x0;const {listWrapperView:_0x2291bc}=this[_0x457aa1(0xba)];_0x2291bc[_0x457aa1(0xe2)][_0x457aa1(0xd3)](this[_0x457aa1(0xa5)])[_0x457aa1(0xc8)](_0x20c9b0=>{const _0x307a80=_0x457aa1;if(!_0x3a2ed2[_0x307a80(0xac)]&&_0x20c9b0[_0x307a80(0x94)])return null;const _0x4dec4b=new _0x4114a1(this[_0x307a80(0x9f)][_0x307a80(0xb4)],_0x20c9b0,!!_0x3a2ed2[_0x307a80(0xc2)]);return _0x3a2ed2[_0x307a80(0xc2)]&&this[_0x307a80(0xbb)](_0x4dec4b,_0x307a80(0xa4),()=>{const _0x13b6a1=_0x307a80;_0x3a2ed2[_0x13b6a1(0xc2)](_0x20c9b0,_0x4dec4b[_0x13b6a1(0x96)]);}),_0x4dec4b;}),this[_0x457aa1(0xd7)][_0x457aa1(0xce)][_0x457aa1(0xb8)](this[_0x457aa1(0xba)]),this[_0x457aa1(0xd7)][_0x457aa1(0xe3)]({'target':this[_0x457aa1(0xb0)][_0x457aa1(0x9d)][_0x457aa1(0x96)]}),_0x2291bc[_0x457aa1(0xb3)](),_0x2291bc[_0x457aa1(0xd4)]();const _0x58edd7=(_0xa030f,_0x57fd6d)=>{const _0x49e6e5=_0x457aa1;this[_0x49e6e5(0xc5)](),this[_0x49e6e5(0xb0)][_0x49e6e5(0x9d)][_0x49e6e5(0xb3)](),_0x57fd6d();};_0x2291bc[_0x457aa1(0xd5)][_0x457aa1(0x98)](_0x457aa1(0xd9),_0x58edd7),_0x2291bc[_0x457aa1(0xd5)][_0x457aa1(0x98)](_0x457aa1(0x95),_0x58edd7),_0x2291bc[_0x457aa1(0xd5)][_0x457aa1(0x98)](_0x457aa1(0xd0),(_0x29f1c7,_0x2c5777)=>{const _0x17b326=_0x457aa1;!function(_0x5be792){const _0x1f6304=_0x52b5,_0x36d709=['a',_0x1f6304(0xc9),_0x1f6304(0x87),_0x1f6304(0x8e),_0x1f6304(0xe8),_0x1f6304(0xdf),_0x1f6304(0xaa)][_0x1f6304(0x86)](_0x590ed5=>_0x590ed5+_0x1f6304(0xb9))[_0x1f6304(0xa3)](','),_0x491820=[...document[_0x1f6304(0xbf)][_0x1f6304(0xb5)](_0x36d709)][_0x1f6304(0xa2)](_0x227555=>_0x227555===document[_0x1f6304(0x8a)]||_0x227555[_0x1f6304(0xd2)]+_0x227555[_0x1f6304(0xa1)]>0x0)[_0x1f6304(0x8b)]((_0x2af7c4,_0x596ad5)=>(_0x2af7c4[_0x1f6304(0xcf)]||0x0)-(_0x596ad5[_0x1f6304(0xcf)]||0x0)),_0x411648=_0x491820[_0x1f6304(0xdd)](_0x5be792),_0x1485d3=_0x491820[(_0x411648+0x1)%_0x491820[_0x1f6304(0x90)]];_0x1485d3&&_0x1485d3[_0x1f6304(0xb3)]();}(this[_0x17b326(0xb0)][_0x17b326(0x96)]),this[_0x17b326(0xc5)](),_0x2c5777();}),_0x2291bc[_0x457aa1(0xb7)][_0x457aa1(0xb8)](this[_0x457aa1(0xb0)][_0x457aa1(0x96)]),_0x2291bc[_0x457aa1(0xb7)]['on'](_0x457aa1(0xdb),(_0x2d7535,_0x5bc998,_0x434cbc)=>{const _0x1b8728=_0x457aa1;_0x434cbc||this[_0x1b8728(0xc5)]();});}[_0x6bab1e(0xc5)](){const _0x2e5245=_0x6bab1e;this[_0x2e5245(0xba)]&&(this[_0x2e5245(0xb0)][_0x2e5245(0x9d)][_0x2e5245(0x89)]=!0x1,this[_0x2e5245(0xd7)][_0x2e5245(0xad)](),this[_0x2e5245(0xd7)][_0x2e5245(0xce)][_0x2e5245(0xc3)](this[_0x2e5245(0xba)]),this[_0x2e5245(0xba)][_0x2e5245(0x83)](),this[_0x2e5245(0xba)]=void 0x0);}[_0x6bab1e(0x83)](){const _0x3e9ec6=_0x6bab1e;super[_0x3e9ec6(0x83)](),this[_0x3e9ec6(0xb0)]&&this[_0x3e9ec6(0xb0)][_0x3e9ec6(0xa8)]&&this[_0x3e9ec6(0xb0)][_0x3e9ec6(0x83)](),this[_0x3e9ec6(0xa7)]&&(this[_0x3e9ec6(0xa7)][_0x3e9ec6(0xbc)](),this[_0x3e9ec6(0xa7)][_0x3e9ec6(0x83)](),this[_0x3e9ec6(0xa7)]=null);}}
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
function
|
|
23
|
+
function _0x1a09(_0x1a449d,_0x1e7199){const _0x228b21=_0x228b();return _0x1a09=function(_0x1a0931,_0x22d4aa){_0x1a0931=_0x1a0931-0xf8;let _0x3cf734=_0x228b21[_0x1a0931];return _0x3cf734;},_0x1a09(_0x1a449d,_0x1e7199);}function _0x228b(){const _0xc6f8fd=['setTemplate','set','4048266BesbMq','56664GElvjq','1040598lGvOZy','bindTemplate','div','ck-presence-list__counter','445ADOqrR','CONNECTED_USERS','455OefWmG','1340xSemgA','ck-presence-list__counter--hidden','29196FDdrYz','isHidden','519978jgqXFP','usersCount','810mbRUeF','579452KrcBMO'];_0x228b=function(){return _0xc6f8fd;};return _0x228b();}(function(_0x151450,_0x12d058){const _0x5d6ac8=_0x1a09,_0xd54c65=_0x151450();while(!![]){try{const _0x3530c4=parseInt(_0x5d6ac8(0xf8))/0x1+parseInt(_0x5d6ac8(0xfd))/0x2+parseInt(_0x5d6ac8(0x108))/0x3+-parseInt(_0x5d6ac8(0x104))/0x4*(-parseInt(_0x5d6ac8(0x101))/0x5)+-parseInt(_0x5d6ac8(0xfb))/0x6+parseInt(_0x5d6ac8(0x103))/0x7*(-parseInt(_0x5d6ac8(0xfc))/0x8)+parseInt(_0x5d6ac8(0x106))/0x9*(parseInt(_0x5d6ac8(0x10a))/0xa);if(_0x3530c4===_0x12d058)break;else _0xd54c65['push'](_0xd54c65['shift']());}catch(_0x5d4d9b){_0xd54c65['push'](_0xd54c65['shift']());}}}(_0x228b,0x691d6));import{View as _0x4466a6}from'ckeditor5/src/ui.js';import{getTranslation as _0x3390fa}from'../../common-translations.js';export default class ts extends _0x4466a6{constructor(_0x467967){const _0x4121eb=_0x1a09;super(_0x467967);const _0x3233be=this[_0x4121eb(0xfe)];this[_0x4121eb(0xfa)](_0x4121eb(0x109),0x0),this[_0x4121eb(0xfa)](_0x4121eb(0x107),!0x0),this[_0x4121eb(0xf9)]({'tag':_0x4121eb(0xff),'attributes':{'class':['ck',_0x4121eb(0x100),_0x3233be['if'](_0x4121eb(0x107),_0x4121eb(0x105))]},'children':[{'text':_0x3233be['to'](_0x4121eb(0x109),_0x399015=>_0x3390fa(_0x467967,_0x4121eb(0x102),_0x399015))}]});}}
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
|
|
23
|
+
const _0x190d80=_0x5975;function _0x3e5e(){const _0x32346c=['name','559804jTDoCH','ck-presence-list__marker','720708bNdHBo','bindTemplate','execute','ck-presence-list__dropdown-list-item','tag','463721MNiJHT','focus','ck-user__full-name','color','3173130vnFYLd','setTemplate','15302eCQTuD','fire','presentation','2608sMNCfx','userView','button','430851qJmagn','2165655IsmVRB','span','getBackgroundColorClass','true','element'];_0x3e5e=function(){return _0x32346c;};return _0x3e5e();}function _0x5975(_0x4cda12,_0x3ef073){const _0x3e5e7e=_0x3e5e();return _0x5975=function(_0x59756b,_0x2877e6){_0x59756b=_0x59756b-0xb6;let _0x52c33a=_0x3e5e7e[_0x59756b];return _0x52c33a;},_0x5975(_0x4cda12,_0x3ef073);}(function(_0x25e082,_0x159b1c){const _0x3140f3=_0x5975,_0x5e585e=_0x25e082();while(!![]){try{const _0x47fe97=parseInt(_0x3140f3(0xca))/0x1+parseInt(_0x3140f3(0xc5))/0x2+parseInt(_0x3140f3(0xbc))/0x3+parseInt(_0x3140f3(0xc3))/0x4+parseInt(_0x3140f3(0xbd))/0x5+-parseInt(_0x3140f3(0xce))/0x6+parseInt(_0x3140f3(0xb6))/0x7*(-parseInt(_0x3140f3(0xb9))/0x8);if(_0x47fe97===_0x159b1c)break;else _0x5e585e['push'](_0x5e585e['shift']());}catch(_0x327dee){_0x5e585e['push'](_0x5e585e['shift']());}}}(_0x3e5e,0x49113));import{ListItemView as _0x261bfa}from'ckeditor5/src/ui.js';import{UserView as _0xf2be71}from'ckeditor5-collaboration/src/collaboration-core.js';export default class k extends _0x261bfa{constructor(_0x4caaf1,_0x48c3af,_0x417c3b){const _0xb00212=_0x5975;super(_0x4caaf1);const _0x2997dd=this[_0xb00212(0xc6)];this[_0xb00212(0xba)]=new _0xf2be71(_0x4caaf1,_0x48c3af);const _0x440112={'tag':'li','attributes':{'class':['ck',_0xb00212(0xc8)],'tabindex':-0x1,'role':_0xb00212(0xb8),'aria-label':_0x48c3af[_0xb00212(0xc2)]},'children':[this[_0xb00212(0xba)],{'tag':_0xb00212(0xbe),'attributes':{'class':['ck',_0xb00212(0xcc)]},'children':[{'text':_0x48c3af[_0xb00212(0xc2)]}]},{'tag':_0xb00212(0xbe),'attributes':{'class':['ck',_0xb00212(0xc4),_0x48c3af[_0xb00212(0xcd)][_0xb00212(0xbf)]()],'aria-hidden':_0xb00212(0xc0)}}]};_0x417c3b&&(_0x440112[_0xb00212(0xc9)]=_0xb00212(0xbb),_0x440112['on']={'click':_0x2997dd['to'](()=>this[_0xb00212(0xb7)](_0xb00212(0xc7)))}),this[_0xb00212(0xcf)](_0x440112);}[_0x190d80(0xcb)](){const _0x292476=_0x190d80;this[_0x292476(0xc1)][_0x292476(0xcb)]();}}
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
const
|
|
23
|
+
const _0x52fd13=_0x3cc8;function _0x1b20(){const _0x1524e4=['2YyfABC','4dhLDRb','ck-presence-list__dropdown-list-wrapper','innerHeight','checkIfScrollable','bindTemplate','ck-presence-list__dropdown-list-wrapper_scrollable','ck-reset','7798TeWDkG','render','items','scrollHeight','ariaLabelledBy','setTemplate','4110896etdLca','max','clientHeight','Connected\x20users\x20list\x20dropdown\x20menu','window','7341363LCjrfC','change','2375664sGiXLi','application','resize','ck-list','role','_isScrollable','ck-presence-list__dropdown-list','listWrapperView','ariaLabel','element','1043485bpjYfC','listenTo','set','div','145458laTovB','82264JaUGrh'];_0x1b20=function(){return _0x1524e4;};return _0x1b20();}(function(_0xbe7e9a,_0x2789d4){const _0x5459d6=_0x3cc8,_0x2f3c10=_0xbe7e9a();while(!![]){try{const _0x114027=parseInt(_0x5459d6(0x186))/0x1+-parseInt(_0x5459d6(0x17e))/0x2*(parseInt(_0x5459d6(0x1a1))/0x3)+parseInt(_0x5459d6(0x17f))/0x4*(parseInt(_0x5459d6(0x19d))/0x5)+parseInt(_0x5459d6(0x193))/0x6+parseInt(_0x5459d6(0x1a2))/0x7+parseInt(_0x5459d6(0x18c))/0x8+-parseInt(_0x5459d6(0x191))/0x9;if(_0x114027===_0x2789d4)break;else _0x2f3c10['push'](_0x2f3c10['shift']());}catch(_0x208601){_0x2f3c10['push'](_0x2f3c10['shift']());}}}(_0x1b20,0x42dc4));import{ListView as _0x518467,View as _0x5819fc}from'ckeditor5/src/ui.js';function _0x3cc8(_0x12c2f2,_0x392a20){const _0x1b2059=_0x1b20();return _0x3cc8=function(_0x3cc8d6,_0x3ca1ab){_0x3cc8d6=_0x3cc8d6-0x17e;let _0x198ab2=_0x1b2059[_0x3cc8d6];return _0x198ab2;},_0x3cc8(_0x12c2f2,_0x392a20);}import{global as _0x4feae9}from'ckeditor5/src/utils.js';import{getTranslation as _0x4be110}from'../../common-translations.js';export default class j extends _0x5819fc{constructor(_0x4b0981,_0x29df5b){const _0x3e3c70=_0x3cc8;super(_0x4b0981),this[_0x3e3c70(0x19a)]=new PresenceDropdownListWrapperView(_0x4b0981,_0x29df5b),this[_0x3e3c70(0x18b)]({'tag':_0x3e3c70(0x1a0),'attributes':{'tabindex':-0x1,'role':_0x3e3c70(0x194),'class':['ck',_0x3e3c70(0x199)],'aria-label':_0x4be110(_0x4b0981,_0x3e3c70(0x18f))},'children':[this[_0x3e3c70(0x19a)]]});}}export class PresenceDropdownListWrapperView extends _0x518467{constructor(_0x41e030,_0xecc580){const _0x291542=_0x3cc8;super(_0x41e030);const _0x11b7eb=this[_0x291542(0x183)];this[_0x291542(0x19f)](_0x291542(0x198),!0x1),this[_0x291542(0x18b)]({'tag':_0xecc580?_0x291542(0x1a0):'ul','attributes':{'class':['ck',_0x291542(0x185),_0x291542(0x196),_0x291542(0x180),_0x11b7eb['if'](_0x291542(0x198),_0x291542(0x184))],'role':_0x11b7eb['to'](_0x291542(0x197)),'aria-label':_0x11b7eb['to'](_0x291542(0x19b)),'aria-labelledby':_0x11b7eb['to'](_0x291542(0x18a))},'children':this[_0x291542(0x188)]}),this[_0x291542(0x19e)](_0x4feae9[_0x291542(0x190)],_0x291542(0x195),()=>this[_0x291542(0x182)]()),this[_0x291542(0x188)]['on'](_0x291542(0x192),()=>this[_0x291542(0x182)]());}[_0x52fd13(0x187)](){const _0x2aeb18=_0x52fd13;super[_0x2aeb18(0x187)](),this[_0x2aeb18(0x182)]();}[_0x52fd13(0x182)](){const _0x3e3f6d=_0x52fd13,_0x132bd1=this[_0x3e3f6d(0x19c)];_0x132bd1&&(this[_0x3e3f6d(0x198)]=Math[_0x3e3f6d(0x18d)](_0x132bd1[_0x3e3f6d(0x189)],_0x132bd1[_0x3e3f6d(0x18e)])>0.8*window[_0x3e3f6d(0x181)]);}}
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
(function(
|
|
23
|
+
function _0x3ab5(){const _0x68c28e=['span','execute','template','989342oGlmGn','449258LpzjPh','text','282294ierZkq','setTemplate','name','bindTemplate','492DwFpmu','button','12956286ybwCGT','tag','set','3OpAzRS','hasTooltip','markerView','isFocusable','color','ck-presence-list__list-item','1580832gvLpLT','fire','userView','4420084mRysaX','true','listitem','div','tooltipPosition','940XiDImO','9025USaAGt','ck-presence-list__marker','ck-presence-list__list-item__tooltip','getBackgroundColorClass'];_0x3ab5=function(){return _0x68c28e;};return _0x3ab5();}function _0x5024(_0x309525,_0x30ed02){const _0x3ab534=_0x3ab5();return _0x5024=function(_0x5024d3,_0x157811){_0x5024d3=_0x5024d3-0xa8;let _0x3c6781=_0x3ab534[_0x5024d3];return _0x3c6781;},_0x5024(_0x309525,_0x30ed02);}(function(_0x16a5a0,_0xaa4a9d){const _0x522859=_0x5024,_0x339576=_0x16a5a0();while(!![]){try{const _0x29daee=parseInt(_0x522859(0xb8))/0x1+parseInt(_0x522859(0xb7))/0x2+-parseInt(_0x522859(0xc3))/0x3*(parseInt(_0x522859(0xaa))/0x4)+-parseInt(_0x522859(0xb0))/0x5*(parseInt(_0x522859(0xbe))/0x6)+-parseInt(_0x522859(0xc0))/0x7+parseInt(_0x522859(0xc9))/0x8+parseInt(_0x522859(0xba))/0x9*(parseInt(_0x522859(0xaf))/0xa);if(_0x29daee===_0xaa4a9d)break;else _0x339576['push'](_0x339576['shift']());}catch(_0x214a0c){_0x339576['push'](_0x339576['shift']());}}}(_0x3ab5,0xf0b98));import{LabelView as _0x429147,View as _0x44dd06}from'ckeditor5/src/ui.js';import{UserView as _0x133761}from'ckeditor5-collaboration/src/collaboration-core.js';export default class y extends _0x44dd06{constructor(_0x5341aa,_0x41937d,_0x3ed5db){const _0x4a0084=_0x5024;super(_0x5341aa);const _0x40f2b9=this[_0x4a0084(0xbd)];this[_0x4a0084(0xc2)](_0x4a0084(0xc6),!0x1),this[_0x4a0084(0xc2)](_0x4a0084(0xc4),!0x0),this[_0x4a0084(0xc2)](_0x4a0084(0xae),''),this[_0x4a0084(0xa9)]=new _0x133761(_0x5341aa,_0x41937d),this[_0x4a0084(0xc5)]=new at(_0x5341aa,_0x41937d);const _0x1b5c54=new _0x429147(_0x5341aa);_0x1b5c54[_0x4a0084(0xb6)][_0x4a0084(0xc1)]=_0x4a0084(0xb4),_0x1b5c54[_0x4a0084(0xb9)]=_0x41937d[_0x4a0084(0xbc)];const _0x331a6e={'tag':_0x4a0084(0xad),'attributes':{'class':['ck',_0x4a0084(0xc8)],'role':_0x4a0084(0xac),'tabindex':_0x40f2b9['to'](_0x4a0084(0xc6),_0x248780=>!!_0x248780&&0x0),'aria-labelledby':_0x1b5c54['id'],'data-cke-tooltip-text':this[_0x4a0084(0xa9)][_0x4a0084(0xbc)],'data-cke-tooltip-position':_0x40f2b9['to'](_0x4a0084(0xae)),'data-cke-tooltip-disabled':_0x40f2b9['to'](_0x4a0084(0xc4),_0x28ecae=>!_0x28ecae),'data-cke-tooltip-class':_0x4a0084(0xb2)},'children':[this[_0x4a0084(0xa9)],this[_0x4a0084(0xc5)],_0x1b5c54]};_0x3ed5db&&(_0x331a6e[_0x4a0084(0xc1)]=_0x4a0084(0xbf),_0x331a6e['on']={'click':_0x40f2b9['to'](()=>this[_0x4a0084(0xa8)](_0x4a0084(0xb5)))}),this[_0x4a0084(0xbb)](_0x331a6e);}}class at extends _0x44dd06{constructor(_0x18557c,_0x7efaa5){const _0x274a0b=_0x5024;super(_0x18557c),this[_0x274a0b(0xbb)]({'tag':_0x274a0b(0xb4),'attributes':{'class':['ck',_0x274a0b(0xb1),_0x7efaa5[_0x274a0b(0xc7)][_0x274a0b(0xb3)]()],'aria-hidden':_0x274a0b(0xab)}});}}
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
const
|
|
23
|
+
const _0x4207bd=_0x293c;(function(_0x29aa65,_0x2c0b27){const _0x899aa8=_0x293c,_0x24415b=_0x29aa65();while(!![]){try{const _0x3b91d7=parseInt(_0x899aa8(0xb6))/0x1*(parseInt(_0x899aa8(0xbf))/0x2)+-parseInt(_0x899aa8(0xab))/0x3*(parseInt(_0x899aa8(0xc4))/0x4)+-parseInt(_0x899aa8(0xb5))/0x5*(parseInt(_0x899aa8(0xb0))/0x6)+parseInt(_0x899aa8(0xc6))/0x7*(parseInt(_0x899aa8(0xc5))/0x8)+-parseInt(_0x899aa8(0xbb))/0x9*(-parseInt(_0x899aa8(0xb9))/0xa)+parseInt(_0x899aa8(0xb8))/0xb*(parseInt(_0x899aa8(0xc1))/0xc)+parseInt(_0x899aa8(0xc3))/0xd*(-parseInt(_0x899aa8(0xaa))/0xe);if(_0x3b91d7===_0x2c0b27)break;else _0x24415b['push'](_0x24415b['shift']());}catch(_0x22ab71){_0x24415b['push'](_0x24415b['shift']());}}}(_0x4bcb,0x5d3eb));import{View as _0x2e6236}from'ckeditor5/src/ui.js';function _0x293c(_0x1c5b5b,_0x406f3f){const _0x4bcb31=_0x4bcb();return _0x293c=function(_0x293cc5,_0x31af88){_0x293cc5=_0x293cc5-0xa8;let _0x4d8e24=_0x4bcb31[_0x293cc5];return _0x4d8e24;},_0x293c(_0x1c5b5b,_0x406f3f);}import{KeystrokeHandler as _0x12423f}from'ckeditor5/src/utils.js';import{getTranslation as _0x1dba59}from'../../common-translations.js';export default class es extends _0x2e6236{constructor(_0xadd398){const _0x18cc66=_0x293c;super(_0xadd398);const _0x363a9b=this[_0x18cc66(0xae)];this[_0x18cc66(0xcb)]=this[_0x18cc66(0xa9)](),this[_0x18cc66(0xb1)]=new _0x12423f(),this[_0x18cc66(0xc0)]({'hasPopup':!0x1,'isExpanded':!0x1}),this[_0x18cc66(0xca)]({'tag':_0x18cc66(0xbc),'attributes':{'aria-haspopup':_0x363a9b['if'](_0x18cc66(0xb3)),'aria-expanded':_0x363a9b['to'](_0x18cc66(0xb4),_0x2b0802=>this[_0x18cc66(0xb3)]&&String(_0x2b0802)),'aria-label':_0x363a9b['to'](_0x18cc66(0xb3),_0x5e7cc7=>_0x1dba59(_0xadd398,_0x5e7cc7?_0x18cc66(0xac):_0x18cc66(0xc8))),'role':_0x18cc66(0xcc),'tabindex':_0x363a9b['to'](_0x18cc66(0xb3),_0x4588c6=>!!_0x4588c6&&0x0),'class':['ck',_0x18cc66(0xb7)]},'children':this[_0x18cc66(0xcb)],'on':{'click':_0x363a9b['to'](()=>this[_0x18cc66(0xc2)](_0x18cc66(0xbe)))}}),this['on'](_0x18cc66(0xc9),(_0x43560b,_0x1f8e78,_0x17f17a)=>{const _0x16a5b3=_0x18cc66;this[_0x16a5b3(0xa8)]&&(_0x17f17a?this[_0x16a5b3(0xa8)][_0x16a5b3(0xbd)](_0x16a5b3(0xaf),String(this[_0x16a5b3(0xb4)])):this[_0x16a5b3(0xa8)][_0x16a5b3(0xba)](_0x16a5b3(0xaf)));});}[_0x4207bd(0xb2)](){const _0x121677=_0x4207bd;this[_0x121677(0xa8)][_0x121677(0xb2)]();}[_0x4207bd(0xad)](){const _0x1d130c=_0x4207bd;super[_0x1d130c(0xad)](),this[_0x1d130c(0xb1)][_0x1d130c(0xc7)](this[_0x1d130c(0xa8)]);}}function _0x4bcb(){const _0x52ef63=['ck-presence-list__list','11AJMGYB','380cMPiAS','removeAttribute','37620GLaPOS','div','setAttribute','execute','173378dZWRlt','set','3782472xXZAWF','fire','174941sPlAAW','20DrNeVv','1015096HTBpro','7QzaOOY','listenTo','Connected\x20users\x20list','change:hasPopup','setTemplate','items','list','element','createCollection','70jrYZED','398481wKfFfi','Collapsed\x20connected\x20users\x20list\x20(press\x20ENTER\x20to\x20open\x20it)','render','bindTemplate','aria-expanded','30POetuk','keystrokes','focus','hasPopup','isExpanded','94405jSjgtl','7dswJhu'];_0x4bcb=function(){return _0x52ef63;};return _0x4bcb();}
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
(function(
|
|
23
|
+
(function(_0x6fbb28,_0x10993b){const _0x1f586e=_0x48ca,_0x5eb88f=_0x6fbb28();while(!![]){try{const _0x1f48f3=parseInt(_0x1f586e(0x133))/0x1*(parseInt(_0x1f586e(0x13e))/0x2)+-parseInt(_0x1f586e(0x127))/0x3+parseInt(_0x1f586e(0x134))/0x4*(-parseInt(_0x1f586e(0x13c))/0x5)+parseInt(_0x1f586e(0x13a))/0x6+-parseInt(_0x1f586e(0x12f))/0x7+parseInt(_0x1f586e(0x13b))/0x8+parseInt(_0x1f586e(0x13f))/0x9;if(_0x1f48f3===_0x10993b)break;else _0x5eb88f['push'](_0x5eb88f['shift']());}catch(_0x298ba9){_0x5eb88f['push'](_0x5eb88f['shift']());}}}(_0x10b8,0xe88eb));import{View as _0x59811b}from'ckeditor5/src/ui.js';import _0x500e69 from'./presencecounterview.js';function _0x48ca(_0x2f6a83,_0x3f4ed2){const _0x10b8d1=_0x10b8();return _0x48ca=function(_0x48ca1d,_0x451002){_0x48ca1d=_0x48ca1d-0x127;let _0xc15b3b=_0x10b8d1[_0x48ca1d];return _0xc15b3b;},_0x48ca(_0x2f6a83,_0x3f4ed2);}import _0x336931 from'./presenceinlinelistview.js';function _0x10b8(){const _0x54f005=['ck-presence-list','2zoISpu','4868325vnJXQh','bindTemplate','ck-reset','setTemplate','2930976OraSHQ','hasPopup','locale','tooltipPosition','items','div','ck-rounded-corners','inlineListView','11686745RVIYYc','ck-presence-list--collapsed','listenTo','set','1481584YZDycY','4buMPlY','isCollapsed','first','bind','change','counterView','5914194icFSHw','10107312JIwuoD','3362700CEPNSn'];_0x10b8=function(){return _0x54f005;};return _0x10b8();}import'../../../theme/presencelist.css';export default class L extends _0x59811b{constructor(_0x1c92ca){const _0x63481e=_0x48ca;super(_0x1c92ca);const _0x54a15f=this[_0x63481e(0x140)];this[_0x63481e(0x132)](_0x63481e(0x135),!0x0),this[_0x63481e(0x139)]=new _0x500e69(this[_0x63481e(0x129)]),this[_0x63481e(0x12e)]=new _0x336931(_0x1c92ca),this[_0x63481e(0x12e)][_0x63481e(0x137)](_0x63481e(0x128))['to'](this,_0x63481e(0x135)),this[_0x63481e(0x131)](this[_0x63481e(0x12e)][_0x63481e(0x12b)],_0x63481e(0x138),()=>{const _0xa0620f=_0x63481e;for(const _0x2596fc of this[_0xa0620f(0x12e)][_0xa0620f(0x12b)])_0x2596fc[_0xa0620f(0x12a)]='s';this[_0xa0620f(0x12e)][_0xa0620f(0x12b)][_0xa0620f(0x136)]&&(this[_0xa0620f(0x12e)][_0xa0620f(0x12b)][_0xa0620f(0x136)][_0xa0620f(0x12a)]='se');}),this[_0x63481e(0x142)]({'tag':_0x63481e(0x12c),'attributes':{'class':['ck',_0x63481e(0x13d),_0x63481e(0x141),_0x63481e(0x12d),_0x54a15f['if'](_0x63481e(0x135),_0x63481e(0x130))]},'children':[this[_0x63481e(0x139)],this[_0x63481e(0x12e)]]});}}
|
package/src/presencelist.js
CHANGED
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
var
|
|
23
|
+
var _0x302d1d=_0x3425;(function(_0x11c430,_0x18c5c3){var _0x414f69=_0x3425,_0x596831=_0x11c430();while(!![]){try{var _0x146e87=-parseInt(_0x414f69(0x18e))/0x1*(parseInt(_0x414f69(0x18f))/0x2)+-parseInt(_0x414f69(0x193))/0x3+-parseInt(_0x414f69(0x18b))/0x4+-parseInt(_0x414f69(0x189))/0x5+parseInt(_0x414f69(0x194))/0x6*(parseInt(_0x414f69(0x18d))/0x7)+parseInt(_0x414f69(0x192))/0x8+-parseInt(_0x414f69(0x18c))/0x9*(-parseInt(_0x414f69(0x188))/0xa);if(_0x146e87===_0x18c5c3)break;else _0x596831['push'](_0x596831['shift']());}catch(_0x424927){_0x596831['push'](_0x596831['shift']());}}}(_0x1b1b,0xe85a5));function _0x1b1b(){var _0x243a48=['2454295cPElhW','PresenceList','6114784giHtmP','39930849KrStnq','11963CVVplY','577JQxZUj','6178OwMAno','requires','pluginName','13023984aJqGNN','5507391XjpRHx','1842wVevhu','10DSgeVf'];_0x1b1b=function(){return _0x243a48;};return _0x1b1b();}import{ContextPlugin as _0x3c65f4}from'ckeditor5/src/core.js';import _0x9c9757 from'./realtimecollaborativeediting/sessions.js';import _0x4adf14 from'./presencelist/presencelistui.js';function _0x3425(_0x53490b,_0x2c24e9){var _0x1b1b23=_0x1b1b();return _0x3425=function(_0x3425ad,_0x57d17b){_0x3425ad=_0x3425ad-0x188;var _0x99f303=_0x1b1b23[_0x3425ad];return _0x99f303;},_0x3425(_0x53490b,_0x2c24e9);}export default class i extends _0x3c65f4{static get[_0x302d1d(0x190)](){return[_0x9c9757,_0x4adf14];}static get[_0x302d1d(0x191)](){var _0x411849=_0x302d1d;return _0x411849(0x18a);}}
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
function _0x1d76(){const _0x177097=['userId','CloudServicesCommentsAdapter','authorId','listenTo','cloud-services-internal-error:\x20Comments\x20Service\x20is\x20not\x20connected.','connect','update','updateCommentThread','size','delete','resolvedBy','requires','404','reopen','pluginName','145596rkPNNG','18RukFSZ','_getService','attributes','_connectService','assign','getUser','message','resolvedAt','commentRemoved','2FBooOP','content','commentId','disconnect','remove','getCommentThread','35043qzarmG','commentThreadId','removeCommentThread','811757hkYmlg','get','cloudservicescommentsadapter-connect-already-connected','resolveCommentThread','commentThreadRemoved','commentThreadUpdated','cloudservicescommentsadapter-service-not-exist','add','init','off','removeComment','destroy','startsWith','map','has','plugins','addUser','getMany','19115pXxWfQ','cloudservicescommentsadapter-disconnect-not-exist','createdAt','cloud-services-internal-error:\x20Request\x20timeout.','cloud-services-internal-error:\x20Not\x20connected.','CommentsRepository','catch','_services','1098Ldzpzg','1426170GIMpFq','config','32dGysWQ','reconnect','commentThreadResolved','649DQYiXq','_terminateService','commentThreadReopened','context','commentAdded','286eJYjVh','176celdMo','addComment','_setUpService','addCommentThread','permissions','149933FMYjlN','adapter','addToReconnectionStack','getComment','keys','getCommentThreads','setPermissions','resolve','CommentsService','commentThreadAdded','commentUpdated','_fetchMissingUsersForThreads','collaboration.channelId','unregister','mySessionId','688254gRxsci','reopenCommentThread','sessionAdd:','from','Permissions','set','deletedAt','code','register','getConnectedSessions','comments','updateComment'];_0x1d76=function(){return _0x177097;};return _0x1d76();}const _0x102774=_0x38f7;(function(_0x64ab6b,_0x5e2363){const _0x46a0d5=_0x38f7,_0x3393bc=_0x64ab6b();while(!![]){try{const _0x55c165=-parseInt(_0x46a0d5(0x167))/0x1*(-parseInt(_0x46a0d5(0x15e))/0x2)+-parseInt(_0x46a0d5(0x164))/0x3*(parseInt(_0x46a0d5(0x18d))/0x4)+-parseInt(_0x46a0d5(0x179))/0x5*(-parseInt(_0x46a0d5(0x181))/0x6)+-parseInt(_0x46a0d5(0x192))/0x7*(-parseInt(_0x46a0d5(0x184))/0x8)+parseInt(_0x46a0d5(0x155))/0x9*(-parseInt(_0x46a0d5(0x182))/0xa)+-parseInt(_0x46a0d5(0x187))/0xb*(-parseInt(_0x46a0d5(0x154))/0xc)+-parseInt(_0x46a0d5(0x18c))/0xd*(parseInt(_0x46a0d5(0x1a1))/0xe);if(_0x55c165===_0x5e2363)break;else _0x3393bc['push'](_0x3393bc['shift']());}catch(_0x2eb24d){_0x3393bc['push'](_0x3393bc['shift']());}}}(_0x1d76,0x69815));import{Context as _0x39d969,ContextPlugin as _0x172797}from'ckeditor5/src/core.js';import{CKEditorError as _0x22e5da}from'ckeditor5/src/utils.js';import{Users as _0x43964b}from'ckeditor5-collaboration/src/collaboration-core.js';function _0x38f7(_0xbda93b,_0x2690a3){const _0x1d7681=_0x1d76();return _0x38f7=function(_0x38f7d8,_0x39a9f2){_0x38f7d8=_0x38f7d8-0x152;let _0x183fe1=_0x1d7681[_0x38f7d8];return _0x183fe1;},_0x38f7(_0xbda93b,_0x2690a3);}import{CommentsService as _0x1ea0e2,User as _0x56e7a5}from'@ckeditor/ckeditor-cloud-services-collaboration/src/services.js';import _0x10be8c from'../realtimecollaborativeediting/websocketgateway.js';import _0x58b0ef from'../realtimecollaborativeediting/sessions.js';class a extends _0x172797{static get[_0x102774(0x1b8)](){const _0x51fafe=_0x102774;return[_0x10be8c,_0x51fafe(0x17e),_0x58b0ef,_0x43964b];}static get[_0x102774(0x153)](){const _0x214ced=_0x102774;return _0x214ced(0x1ae);}constructor(_0x16029a){const _0x459d6b=_0x102774;super(_0x16029a),this[_0x459d6b(0x180)]=new Map();}async[_0x102774(0x16f)](){const _0x4ef992=_0x102774,_0x37f414=this[_0x4ef992(0x18a)],_0xf0167a=_0x37f414[_0x4ef992(0x176)][_0x4ef992(0x168)](_0x4ef992(0x17e));if(_0x37f414[_0x4ef992(0x176)][_0x4ef992(0x168)](_0x10be8c)[_0x4ef992(0x194)](this),_0xf0167a[_0x4ef992(0x193)]={'addCommentThread':async({channelId:_0x9fbf74,threadId:_0x3b0ab7,comments:_0x2969a9,resolvedAt:_0x30ad66,resolvedBy:_0x3acdd3,context:_0x207616,attributes:_0x2edf5e})=>{const _0x29f18e=_0x4ef992,_0x24fad4=await this[_0x29f18e(0x156)](_0x9fbf74)[_0x29f18e(0x190)]({'commentThreadId':_0x3b0ab7,'comments':_0x2969a9[_0x29f18e(0x174)](_0x3aaf87=>function(_0x3b0e1a,_0x24c82c,_0x42c804){const _0x3cd543=_0x29f18e;return{'commentThreadId':_0x42c804,'commentId':_0x3b0e1a[_0x3cd543(0x160)],'userId':_0x3b0e1a[_0x3cd543(0x1af)],'content':_0x3b0e1a[_0x3cd543(0x15f)],'documentId':_0x24c82c,'createdAt':_0x3b0e1a[_0x3cd543(0x17b)],'attributes':_0x3b0e1a[_0x3cd543(0x157)]||{}};}(_0x3aaf87,_0x9fbf74,_0x3b0ab7)),'resolvedAt':_0x30ad66,'resolvedBy':_0x3acdd3,'context':_0x207616,'attributes':_0x2edf5e})[_0x29f18e(0x17f)](ot);return{'threadId':_0x24fad4[_0x29f18e(0x165)],'comments':_0x24fad4[_0x29f18e(0x1ab)]};},'getCommentThread':async({channelId:_0x2f42c2,threadId:_0x4956c9})=>{const _0x3e050b=_0x4ef992,_0x18e8ff=await this[_0x3e050b(0x156)](_0x2f42c2)[_0x3e050b(0x163)](_0x4956c9)[_0x3e050b(0x17f)](ot);return _0x18e8ff[_0x3e050b(0x1a7)]?null:(await this[_0x3e050b(0x19d)]([_0x18e8ff]),{'threadId':_0x18e8ff[_0x3e050b(0x165)],'comments':_0x18e8ff[_0x3e050b(0x1ab)][_0x3e050b(0x174)](nt),'context':_0x18e8ff[_0x3e050b(0x18a)],'resolvedAt':_0x18e8ff[_0x3e050b(0x15c)],'resolvedBy':_0x18e8ff[_0x3e050b(0x1b7)],'attributes':_0x18e8ff[_0x3e050b(0x157)]||{}});},'updateCommentThread':async({channelId:_0x26b1b5,threadId:_0x5dbd65,context:_0x3ff440,unlinkedAt:_0x144629,attributes:_0x167d7d})=>this[_0x4ef992(0x156)](_0x26b1b5)[_0x4ef992(0x1b4)]({'commentThreadId':_0x5dbd65,'context':_0x3ff440,'attributes':_0x167d7d,'unlinkedAt':_0x144629})[_0x4ef992(0x17f)](et)[_0x4ef992(0x17f)](ot),'resolveCommentThread':async({channelId:_0x50948a,threadId:_0x242b14})=>{const _0x1b2d16=_0x4ef992,_0x58b938=await this[_0x1b2d16(0x156)](_0x50948a)[_0x1b2d16(0x16a)](_0x242b14)[_0x1b2d16(0x17f)](et)[_0x1b2d16(0x17f)](ot);return{'threadId':_0x58b938[_0x1b2d16(0x165)],'resolvedAt':_0x58b938[_0x1b2d16(0x15c)],'resolvedBy':_0x58b938[_0x1b2d16(0x1b7)]};},'reopenCommentThread':async({channelId:_0x38ea61,threadId:_0x10ac5f})=>this[_0x4ef992(0x156)](_0x38ea61)[_0x4ef992(0x1a2)](_0x10ac5f)[_0x4ef992(0x17f)](et)[_0x4ef992(0x17f)](ot),'removeCommentThread':({channelId:_0x395212,threadId:_0x5e518a})=>this[_0x4ef992(0x156)](_0x395212)[_0x4ef992(0x166)](_0x5e518a)[_0x4ef992(0x17f)](et)[_0x4ef992(0x17f)](ot),'addComment':({channelId:_0x2743ab,threadId:_0x1f466a,commentId:_0x1b2220,content:_0x2bf5a7,attributes:_0x140a1b})=>this[_0x4ef992(0x156)](_0x2743ab)[_0x4ef992(0x18e)](_0x1f466a,_0x1b2220,_0x2bf5a7,_0x140a1b)[_0x4ef992(0x17f)](ot),'updateComment':({channelId:_0x673fd0,threadId:_0xa1584e,commentId:_0x5cc859,content:_0x4b47f2,attributes:_0xe53ef2})=>this[_0x4ef992(0x156)](_0x673fd0)[_0x4ef992(0x1ac)](_0xa1584e,_0x5cc859,_0x4b47f2,_0xe53ef2)[_0x4ef992(0x17f)](et)[_0x4ef992(0x17f)](ot),'removeComment':({channelId:_0x4ec8de,threadId:_0x22bc19,commentId:_0x1d10f9})=>this[_0x4ef992(0x156)](_0x4ec8de)[_0x4ef992(0x171)](_0x22bc19,_0x1d10f9)[_0x4ef992(0x17f)](et)[_0x4ef992(0x17f)](ot)},_0x37f414 instanceof _0x39d969){const _0x1a79d0=_0x37f414[_0x4ef992(0x183)][_0x4ef992(0x168)](_0x4ef992(0x19e)),_0x551a31=_0x37f414[_0x4ef992(0x176)][_0x4ef992(0x168)](_0x58b0ef);await this[_0x4ef992(0x18f)](_0x1a79d0);const _0x685f5b=await this[_0x4ef992(0x180)][_0x4ef992(0x168)](_0x1a79d0)[_0x4ef992(0x1aa)]();this[_0x4ef992(0x1b0)](_0x551a31,_0x4ef992(0x1a3)+_0x1a79d0,(_0x92b9cc,{session:_0xe0cce3})=>{const _0x2e0cc4=_0x4ef992;_0xe0cce3['id']===_0x551a31[_0x2e0cc4(0x1a0)]&&(_0x92b9cc[_0x2e0cc4(0x170)](),this[_0x2e0cc4(0x18a)][_0x2e0cc4(0x176)][_0x2e0cc4(0x168)](_0x2e0cc4(0x1a5))[_0x2e0cc4(0x198)](_0xe0cce3[_0x2e0cc4(0x191)],_0x1a79d0));}),_0x551a31[_0x4ef992(0x1a9)](_0x1a79d0,_0x685f5b);}}async[_0x102774(0x18f)](_0x4e224f){const _0x218076=_0x102774;if(this[_0x218076(0x180)][_0x218076(0x175)](_0x4e224f))throw new _0x22e5da(_0x218076(0x169),null,{'channelId':_0x4e224f});const _0x8912f6=this[_0x218076(0x18a)][_0x218076(0x176)][_0x218076(0x168)](_0x218076(0x17e)),_0x324173=new a[(_0x218076(0x19a))](_0x4e224f);this[_0x218076(0x180)][_0x218076(0x1a6)](_0x4e224f,_0x324173),this[_0x218076(0x1b0)](_0x324173,_0x218076(0x19b),(_0x1caf9a,_0x125a1b)=>{const _0x2cc208=_0x218076,{commentThreadId:_0x5b141a,documentId:_0x3b4a50,context:_0x339c0f,attributes:_0x260a7b,resolvedAt:_0x31a6da,resolvedBy:_0x191306,comments:_0x5735e9}=_0x125a1b;_0x8912f6[_0x2cc208(0x163)](_0x5b141a)||_0x8912f6[_0x2cc208(0x190)]({'threadId':_0x5b141a,'channelId':_0x3b4a50,'comments':_0x5735e9?_0x5735e9[_0x2cc208(0x174)](nt):[],'context':_0x339c0f,'attributes':_0x260a7b,'resolvedAt':_0x31a6da,'resolvedBy':_0x191306,'isFromAdapter':!0x0});}),this[_0x218076(0x1b0)](_0x324173,_0x218076(0x16c),(_0x467056,{commentThreadId:_0x889256,documentId:_0x2448e8,context:_0x574cf9,unlinkedAt:_0x48dd12,attributes:_0x5a1f42})=>{const _0x22f3d9=_0x218076;_0x8912f6[_0x22f3d9(0x163)](_0x889256)&&_0x8912f6[_0x22f3d9(0x1b4)]({'threadId':_0x889256,'channelId':_0x2448e8,'context':_0x574cf9,'unlinkedAt':_0x48dd12,'attributes':_0x5a1f42,'isFromAdapter':!0x0});}),this[_0x218076(0x1b0)](_0x324173,_0x218076(0x186),(_0x5451d7,{commentThreadId:_0x6b2985,resolvedBy:_0x12d297,resolvedAt:_0x29a8cc})=>{const _0x5a2764=_0x218076,_0x5e69e1=_0x8912f6[_0x5a2764(0x163)](_0x6b2985);_0x5e69e1&&_0x5e69e1[_0x5a2764(0x199)]({'resolvedBy':_0x12d297,'resolvedAt':_0x29a8cc,'isFromAdapter':!0x0});}),this[_0x218076(0x1b0)](_0x324173,_0x218076(0x189),(_0x31fc28,{commentThreadId:_0x28a961})=>{const _0x5ca850=_0x218076,_0xd74a58=_0x8912f6[_0x5ca850(0x163)](_0x28a961);_0xd74a58&&_0xd74a58[_0x5ca850(0x152)]({'isFromAdapter':!0x0});}),this[_0x218076(0x1b0)](_0x324173,_0x218076(0x16b),(_0x3fcee4,{commentThreadId:_0xfb3fb6})=>{const _0x459241=_0x218076,_0x1b19a8=_0x8912f6[_0x459241(0x163)](_0xfb3fb6);_0x1b19a8&&_0x1b19a8[_0x459241(0x162)]({'isFromAdapter':!0x0});}),this[_0x218076(0x1b0)](_0x324173,_0x218076(0x18b),(_0x433356,_0x3b1575)=>{const _0x51a524=_0x218076,_0x420b96=_0x3b1575[_0x51a524(0x165)],_0x560699=_0x8912f6[_0x51a524(0x163)](_0x420b96);_0x560699&&_0x560699[_0x51a524(0x18e)]({...nt(_0x3b1575),'isFromAdapter':!0x0});}),this[_0x218076(0x1b0)](_0x324173,_0x218076(0x19c),(_0x5a26e9,{commentThreadId:_0x555f29,commentId:_0x1cdfe4,content:_0x277c5b,attributes:_0x197156})=>{const _0x6a8bde=_0x218076,_0x476b0b=_0x8912f6[_0x6a8bde(0x163)](_0x555f29);if(_0x476b0b){const _0x3591be=_0x476b0b[_0x6a8bde(0x195)](_0x1cdfe4);_0x3591be&&_0x3591be[_0x6a8bde(0x1b3)]({'content':_0x277c5b,'attributes':_0x197156,'isFromAdapter':!0x0});}}),this[_0x218076(0x1b0)](_0x324173,_0x218076(0x15d),(_0x3b26e5,{commentThreadId:_0x5b88a3,commentId:_0x5c8ff3})=>{const _0x39c459=_0x218076,_0x429620=_0x8912f6[_0x39c459(0x163)](_0x5b88a3);if(_0x429620){const _0x469ab2=_0x429620[_0x39c459(0x195)](_0x5c8ff3);_0x469ab2&&_0x469ab2[_0x39c459(0x162)]({'isFromAdapter':!0x0});}}),await this[_0x218076(0x158)](_0x4e224f);}[_0x102774(0x172)](){const _0x26c1a2=_0x102774;if(this[_0x26c1a2(0x18a)]instanceof _0x39d969){const _0x394c0=this[_0x26c1a2(0x18a)][_0x26c1a2(0x183)][_0x26c1a2(0x168)](_0x26c1a2(0x19e));this[_0x26c1a2(0x188)](_0x394c0);}}[_0x102774(0x188)](_0x5b9ced){const _0x373920=_0x102774;if(!this[_0x373920(0x180)][_0x373920(0x175)](_0x5b9ced))throw new _0x22e5da(_0x373920(0x17a),null,{'channelId':_0x5b9ced});this[_0x373920(0x156)](_0x5b9ced)[_0x373920(0x161)](),this[_0x373920(0x180)][_0x373920(0x1b6)](_0x5b9ced);}async[_0x102774(0x185)](){const _0x26509e=_0x102774;for(const _0x1ff8d6 of this[_0x26509e(0x180)][_0x26509e(0x196)]())await this[_0x26509e(0x158)](_0x1ff8d6);if(this[_0x26509e(0x18a)]instanceof _0x39d969){const _0x7b25da=this[_0x26509e(0x18a)][_0x26509e(0x183)][_0x26509e(0x168)](_0x26509e(0x19e)),_0x387413=this[_0x26509e(0x18a)][_0x26509e(0x176)][_0x26509e(0x168)](_0x58b0ef);_0x387413[_0x26509e(0x19f)](_0x7b25da);const _0x214a24=await this[_0x26509e(0x180)][_0x26509e(0x168)](_0x7b25da)[_0x26509e(0x1aa)]();_0x387413[_0x26509e(0x1a9)](_0x7b25da,_0x214a24);}}async[_0x102774(0x158)](_0x1a1f19){const _0x577386=_0x102774,{connection:_0x5ef512}=this[_0x577386(0x18a)][_0x577386(0x176)][_0x577386(0x168)](_0x10be8c),_0x5e0d63=this[_0x577386(0x18a)][_0x577386(0x176)][_0x577386(0x168)](_0x577386(0x17e)),_0x48cbc1=this[_0x577386(0x180)][_0x577386(0x168)](_0x1a1f19),_0x111e69=await _0x48cbc1[_0x577386(0x1b2)](_0x5ef512);await this[_0x577386(0x19d)](_0x111e69);const _0x420146=new Set(Array[_0x577386(0x1a4)](_0x5e0d63[_0x577386(0x197)]({'channelId':_0x1a1f19}),_0x51a43f=>_0x51a43f['id']));for(const _0xb1dd14 of _0x111e69)_0xb1dd14[_0x577386(0x1a7)]||_0x420146[_0x577386(0x1b6)](_0xb1dd14[_0x577386(0x165)]);for(const _0xc1c1a5 of _0x420146)_0x5e0d63[_0x577386(0x163)](_0xc1c1a5)[_0x577386(0x162)]({'isFromAdapter':!0x0});for(const _0x35939d of _0x111e69){let _0xcb2e42=_0x5e0d63[_0x577386(0x163)](_0x35939d[_0x577386(0x165)]);const {commentThreadId:_0x36acdb,context:_0x561e76,attributes:_0x40d89d,resolvedBy:_0x420f67,resolvedAt:_0xaedc4c,unlinkedAt:_0x126652,deletedAt:_0x27e59f}=_0x35939d;if(_0x27e59f)continue;_0xcb2e42||(_0xcb2e42=_0x5e0d63[_0x577386(0x190)]({'channelId':_0x1a1f19,'threadId':_0x36acdb,'context':_0x561e76,'attributes':_0x40d89d||{},'resolvedBy':_0x420f67,'resolvedAt':_0xaedc4c,'unlinkedAt':_0x126652,'isFromAdapter':!0x0}));const _0x4dda40=new Set(Array[_0x577386(0x1a4)](_0xcb2e42[_0x577386(0x1ab)],_0x244a23=>_0x244a23['id']));for(const _0x208586 of _0x35939d[_0x577386(0x1ab)])_0x4dda40[_0x577386(0x1b6)](_0x208586[_0x577386(0x160)]);for(const _0x1e36a3 of _0x4dda40)_0xcb2e42[_0x577386(0x195)](_0x1e36a3)[_0x577386(0x162)]({'isFromAdapter':!0x0});for(const _0x2a6ced of _0x35939d[_0x577386(0x1ab)]){const _0x2ebf94=_0xcb2e42[_0x577386(0x195)](_0x2a6ced[_0x577386(0x160)]);_0x2ebf94?_0x2ebf94[_0x577386(0x15f)]!==_0x2a6ced[_0x577386(0x15f)]&&_0x2ebf94[_0x577386(0x1b3)]({'content':_0x2a6ced[_0x577386(0x15f)],'isFromAdapter':!0x0}):_0xcb2e42[_0x577386(0x18e)](Object[_0x577386(0x159)](nt(_0x2a6ced),{'isFromAdapter':!0x0}));}}}[_0x102774(0x156)](_0x27f016){const _0x57020b=_0x102774;if(!this[_0x57020b(0x180)][_0x57020b(0x175)](_0x27f016))throw new _0x22e5da(_0x57020b(0x16d),null,{'channelId':_0x27f016});return this[_0x57020b(0x180)][_0x57020b(0x168)](_0x27f016);}async[_0x102774(0x19d)](_0x8f028e){const _0x58fca6=_0x102774,_0xfa0390=this[_0x58fca6(0x18a)][_0x58fca6(0x176)][_0x58fca6(0x168)](_0x43964b),{connection:_0x27fc2c}=this[_0x58fca6(0x18a)][_0x58fca6(0x176)][_0x58fca6(0x168)](_0x10be8c),_0x5e6897=new Set();for(const {resolvedBy:_0x6291b6,comments:_0x549510}of _0x8f028e){_0x6291b6&&!_0xfa0390[_0x58fca6(0x15a)](_0x6291b6)&&_0x5e6897[_0x58fca6(0x16e)](_0x6291b6);for(const {userId:_0x3c0a76}of _0x549510)_0xfa0390[_0x58fca6(0x15a)](_0x3c0a76)||_0x5e6897[_0x58fca6(0x16e)](_0x3c0a76);}if(0x0===_0x5e6897[_0x58fca6(0x1b5)])return;const _0x5f2d3d=await _0x56e7a5[_0x58fca6(0x178)](_0x27fc2c,Array[_0x58fca6(0x1a4)](_0x5e6897));for(const _0x359b9f of _0x5f2d3d)_0xfa0390[_0x58fca6(0x15a)](_0x359b9f['id'])||_0xfa0390[_0x58fca6(0x177)](_0x359b9f);}}a[_0x102774(0x19a)]=_0x1ea0e2;export default a;async function et(_0x56cf93){const _0x29de8e=_0x102774;if(_0x29de8e(0x1b9)!==_0x56cf93[_0x29de8e(0x1a8)])throw _0x56cf93;}function ot(_0xbcd54c){const _0x44dff7=_0x102774;if((_0x45e449=_0xbcd54c)[_0x44dff7(0x15b)][_0x44dff7(0x173)](_0x44dff7(0x1b1))||_0x45e449[_0x44dff7(0x15b)][_0x44dff7(0x173)](_0x44dff7(0x17d))||_0x45e449[_0x44dff7(0x15b)][_0x44dff7(0x173)](_0x44dff7(0x17c)))return new Promise(()=>{});var _0x45e449;throw _0xbcd54c;}function nt(_0x29e0b2){const _0xefdec1=_0x102774;return{'threadId':_0x29e0b2[_0xefdec1(0x165)],'commentId':_0x29e0b2[_0xefdec1(0x160)],'content':_0x29e0b2[_0xefdec1(0x15f)],'createdAt':_0x29e0b2[_0xefdec1(0x17b)],'authorId':_0x29e0b2[_0xefdec1(0x1ad)],'attributes':_0x29e0b2[_0xefdec1(0x157)]||{}};}
|
|
23
|
+
const _0x595b23=_0x36eb;(function(_0x704b34,_0x4f0a2f){const _0x39ff0e=_0x36eb,_0x54176c=_0x704b34();while(!![]){try{const _0x489a6d=parseInt(_0x39ff0e(0x1ed))/0x1+parseInt(_0x39ff0e(0x206))/0x2*(-parseInt(_0x39ff0e(0x24a))/0x3)+parseInt(_0x39ff0e(0x201))/0x4*(-parseInt(_0x39ff0e(0x247))/0x5)+parseInt(_0x39ff0e(0x23b))/0x6*(parseInt(_0x39ff0e(0x1ef))/0x7)+parseInt(_0x39ff0e(0x232))/0x8*(-parseInt(_0x39ff0e(0x243))/0x9)+parseInt(_0x39ff0e(0x22a))/0xa+parseInt(_0x39ff0e(0x1ff))/0xb;if(_0x489a6d===_0x4f0a2f)break;else _0x54176c['push'](_0x54176c['shift']());}catch(_0xc3d753){_0x54176c['push'](_0x54176c['shift']());}}}(_0x30fa,0x492b5));import{Context as _0x4a0823,ContextPlugin as _0x5bad6b}from'ckeditor5/src/core.js';import{CKEditorError as _0x3773a}from'ckeditor5/src/utils.js';import{Users as _0x521ebd}from'ckeditor5-collaboration/src/collaboration-core.js';import{CommentsService as _0x2acedf,User as _0x114ba0}from'@ckeditor/ckeditor-cloud-services-collaboration/src/services.js';import _0x4800be from'../realtimecollaborativeediting/websocketgateway.js';import _0x1c354c from'../realtimecollaborativeediting/sessions.js';class a extends _0x5bad6b{static get[_0x595b23(0x224)](){const _0x4edef4=_0x595b23;return[_0x4800be,_0x4edef4(0x1f1),_0x1c354c,_0x521ebd];}static get[_0x595b23(0x22c)](){const _0x5e83c8=_0x595b23;return _0x5e83c8(0x246);}constructor(_0x332df3){const _0x5ecb5d=_0x595b23;super(_0x332df3),this[_0x5ecb5d(0x209)]=new Map();}async[_0x595b23(0x227)](){const _0x2dbaca=_0x595b23,_0x3ae859=this[_0x2dbaca(0x235)],_0x1eb106=_0x3ae859[_0x2dbaca(0x23e)][_0x2dbaca(0x20f)](_0x2dbaca(0x1f1));if(_0x3ae859[_0x2dbaca(0x23e)][_0x2dbaca(0x20f)](_0x4800be)[_0x2dbaca(0x1e9)](this),_0x1eb106[_0x2dbaca(0x242)]={'addCommentThread':async({channelId:_0xff322b,threadId:_0x2031e2,comments:_0x414318,resolvedAt:_0xea9a4a,resolvedBy:_0xafeaf8,context:_0x335445,attributes:_0x2d9d72})=>{const _0x5a31b4=_0x2dbaca,_0x4e83d7=await this[_0x5a31b4(0x239)](_0xff322b)[_0x5a31b4(0x238)]({'commentThreadId':_0x2031e2,'comments':_0x414318[_0x5a31b4(0x233)](_0x284918=>function(_0x273719,_0x48aa3a,_0x374a06){const _0x43f0db=_0x5a31b4;return{'commentThreadId':_0x374a06,'commentId':_0x273719[_0x43f0db(0x207)],'userId':_0x273719[_0x43f0db(0x21c)],'content':_0x273719[_0x43f0db(0x1f9)],'documentId':_0x48aa3a,'createdAt':_0x273719[_0x43f0db(0x23c)],'attributes':_0x273719[_0x43f0db(0x234)]||{}};}(_0x284918,_0xff322b,_0x2031e2)),'resolvedAt':_0xea9a4a,'resolvedBy':_0xafeaf8,'context':_0x335445,'attributes':_0x2d9d72})[_0x5a31b4(0x1e6)](R);return{'threadId':_0x4e83d7[_0x5a31b4(0x23f)],'comments':_0x4e83d7[_0x5a31b4(0x216)]};},'getCommentThread':async({channelId:_0x392d1c,threadId:_0x50fa4f})=>{const _0x28018e=_0x2dbaca,_0x7825b2=await this[_0x28018e(0x239)](_0x392d1c)[_0x28018e(0x228)](_0x50fa4f)[_0x28018e(0x1e6)](R);return _0x7825b2[_0x28018e(0x23d)]?null:(await this[_0x28018e(0x223)]([_0x7825b2]),{'threadId':_0x7825b2[_0x28018e(0x23f)],'comments':_0x7825b2[_0x28018e(0x216)][_0x28018e(0x233)](S),'context':_0x7825b2[_0x28018e(0x235)],'resolvedAt':_0x7825b2[_0x28018e(0x23a)],'resolvedBy':_0x7825b2[_0x28018e(0x20c)],'attributes':_0x7825b2[_0x28018e(0x234)]||{}});},'updateCommentThread':async({channelId:_0x496cfb,threadId:_0x4fe69e,context:_0x4d787a,unlinkedAt:_0x5e03e6,attributes:_0x974f77})=>this[_0x2dbaca(0x239)](_0x496cfb)[_0x2dbaca(0x1ec)]({'commentThreadId':_0x4fe69e,'context':_0x4d787a,'attributes':_0x974f77,'unlinkedAt':_0x5e03e6})[_0x2dbaca(0x1e6)](B)[_0x2dbaca(0x1e6)](R),'resolveCommentThread':async({channelId:_0x198f07,threadId:_0x12d6ec})=>{const _0x3b8622=_0x2dbaca,_0x6d509f=await this[_0x3b8622(0x239)](_0x198f07)[_0x3b8622(0x21f)](_0x12d6ec)[_0x3b8622(0x1e6)](B)[_0x3b8622(0x1e6)](R);return{'threadId':_0x6d509f[_0x3b8622(0x23f)],'resolvedAt':_0x6d509f[_0x3b8622(0x23a)],'resolvedBy':_0x6d509f[_0x3b8622(0x20c)]};},'reopenCommentThread':async({channelId:_0x52bc28,threadId:_0x532a85})=>this[_0x2dbaca(0x239)](_0x52bc28)[_0x2dbaca(0x226)](_0x532a85)[_0x2dbaca(0x1e6)](B)[_0x2dbaca(0x1e6)](R),'removeCommentThread':({channelId:_0x35efef,threadId:_0x2281b4})=>this[_0x2dbaca(0x239)](_0x35efef)[_0x2dbaca(0x210)](_0x2281b4)[_0x2dbaca(0x1e6)](B)[_0x2dbaca(0x1e6)](R),'addComment':({channelId:_0x43911a,threadId:_0x212173,commentId:_0x5c8134,content:_0x36f93d,attributes:_0x477c31})=>this[_0x2dbaca(0x239)](_0x43911a)[_0x2dbaca(0x237)](_0x212173,_0x5c8134,_0x36f93d,_0x477c31)[_0x2dbaca(0x1e6)](R),'updateComment':({channelId:_0x34ea08,threadId:_0x1b76e1,commentId:_0x5e40dc,content:_0x58ad9f,attributes:_0x197d38})=>this[_0x2dbaca(0x239)](_0x34ea08)[_0x2dbaca(0x1fb)](_0x1b76e1,_0x5e40dc,_0x58ad9f,_0x197d38)[_0x2dbaca(0x1e6)](B)[_0x2dbaca(0x1e6)](R),'removeComment':({channelId:_0x35f115,threadId:_0xcac688,commentId:_0x1b499d})=>this[_0x2dbaca(0x239)](_0x35f115)[_0x2dbaca(0x214)](_0xcac688,_0x1b499d)[_0x2dbaca(0x1e6)](B)[_0x2dbaca(0x1e6)](R)},_0x3ae859 instanceof _0x4a0823){const _0x3e9365=_0x3ae859[_0x2dbaca(0x20a)][_0x2dbaca(0x20f)](_0x2dbaca(0x205)),_0x3e49c0=_0x3ae859[_0x2dbaca(0x23e)][_0x2dbaca(0x20f)](_0x1c354c);await this[_0x2dbaca(0x241)](_0x3e9365);const _0x1e71dc=await this[_0x2dbaca(0x209)][_0x2dbaca(0x20f)](_0x3e9365)[_0x2dbaca(0x22f)]();this[_0x2dbaca(0x248)](_0x3e49c0,_0x2dbaca(0x1f6)+_0x3e9365,(_0x1ae37a,{session:_0x20cae4})=>{const _0x4f32e9=_0x2dbaca;_0x20cae4['id']===_0x3e49c0[_0x4f32e9(0x230)]&&(_0x1ae37a[_0x4f32e9(0x218)](),this[_0x4f32e9(0x235)][_0x4f32e9(0x23e)][_0x4f32e9(0x20f)](_0x4f32e9(0x1fc))[_0x4f32e9(0x200)](_0x20cae4[_0x4f32e9(0x1f7)],_0x3e9365));}),_0x3e49c0[_0x2dbaca(0x1f2)](_0x3e9365,_0x1e71dc);}}async[_0x595b23(0x241)](_0x2c44c4){const _0xcbd58d=_0x595b23;if(this[_0xcbd58d(0x209)][_0xcbd58d(0x1fe)](_0x2c44c4))throw new _0x3773a(_0xcbd58d(0x245),null,{'channelId':_0x2c44c4});const _0x5b4b9d=this[_0xcbd58d(0x235)][_0xcbd58d(0x23e)][_0xcbd58d(0x20f)](_0xcbd58d(0x1f1)),_0x416d06=new a[(_0xcbd58d(0x20d))](_0x2c44c4);this[_0xcbd58d(0x209)][_0xcbd58d(0x220)](_0x2c44c4,_0x416d06),this[_0xcbd58d(0x248)](_0x416d06,_0xcbd58d(0x1f4),(_0x24db0a,_0x35cee6)=>{const _0x22b811=_0xcbd58d,{commentThreadId:_0x1ce137,documentId:_0xb3e8cc,context:_0x57a65a,attributes:_0x48385e,resolvedAt:_0x1f3bea,resolvedBy:_0x635ceb,comments:_0x5983ee}=_0x35cee6;_0x5b4b9d[_0x22b811(0x228)](_0x1ce137)||_0x5b4b9d[_0x22b811(0x238)]({'threadId':_0x1ce137,'channelId':_0xb3e8cc,'comments':_0x5983ee?_0x5983ee[_0x22b811(0x233)](S):[],'context':_0x57a65a,'attributes':_0x48385e,'resolvedAt':_0x1f3bea,'resolvedBy':_0x635ceb,'isFromAdapter':!0x0});}),this[_0xcbd58d(0x248)](_0x416d06,_0xcbd58d(0x22b),(_0x3c83f5,{commentThreadId:_0x5ac7da,documentId:_0x50d669,context:_0x2597f0,unlinkedAt:_0x5859fc,attributes:_0xd32aee})=>{const _0x5ad9c1=_0xcbd58d;_0x5b4b9d[_0x5ad9c1(0x228)](_0x5ac7da)&&_0x5b4b9d[_0x5ad9c1(0x1ec)]({'threadId':_0x5ac7da,'channelId':_0x50d669,'context':_0x2597f0,'unlinkedAt':_0x5859fc,'attributes':_0xd32aee,'isFromAdapter':!0x0});}),this[_0xcbd58d(0x248)](_0x416d06,_0xcbd58d(0x20e),(_0x4ac5b7,{commentThreadId:_0x4e90cb,resolvedBy:_0x2fa734,resolvedAt:_0x506b03})=>{const _0x235296=_0xcbd58d,_0x3e52dd=_0x5b4b9d[_0x235296(0x228)](_0x4e90cb);_0x3e52dd&&_0x3e52dd[_0x235296(0x1e8)]({'resolvedBy':_0x2fa734,'resolvedAt':_0x506b03,'isFromAdapter':!0x0});}),this[_0xcbd58d(0x248)](_0x416d06,_0xcbd58d(0x215),(_0x45269a,{commentThreadId:_0x3c6596})=>{const _0x1eb0f6=_0xcbd58d,_0x44569f=_0x5b4b9d[_0x1eb0f6(0x228)](_0x3c6596);_0x44569f&&_0x44569f[_0x1eb0f6(0x1ea)]({'isFromAdapter':!0x0});}),this[_0xcbd58d(0x248)](_0x416d06,_0xcbd58d(0x221),(_0x5ba189,{commentThreadId:_0x20f930})=>{const _0xd8df24=_0xcbd58d,_0x37bc9b=_0x5b4b9d[_0xd8df24(0x228)](_0x20f930);_0x37bc9b&&_0x37bc9b[_0xd8df24(0x1e7)]({'isFromAdapter':!0x0});}),this[_0xcbd58d(0x248)](_0x416d06,_0xcbd58d(0x213),(_0x2c0703,_0xbcac13)=>{const _0x312d30=_0xcbd58d,_0x4f2fa8=_0xbcac13[_0x312d30(0x23f)],_0x4604d8=_0x5b4b9d[_0x312d30(0x228)](_0x4f2fa8);_0x4604d8&&_0x4604d8[_0x312d30(0x237)]({...S(_0xbcac13),'isFromAdapter':!0x0});}),this[_0xcbd58d(0x248)](_0x416d06,_0xcbd58d(0x244),(_0x34f870,{commentThreadId:_0x4f7c63,commentId:_0x3ab37b,content:_0x6433f3,attributes:_0x62e29})=>{const _0x167ce7=_0xcbd58d,_0x59529e=_0x5b4b9d[_0x167ce7(0x228)](_0x4f7c63);if(_0x59529e){const _0x3c1070=_0x59529e[_0x167ce7(0x217)](_0x3ab37b);_0x3c1070&&_0x3c1070[_0x167ce7(0x212)]({'content':_0x6433f3,'attributes':_0x62e29,'isFromAdapter':!0x0});}}),this[_0xcbd58d(0x248)](_0x416d06,_0xcbd58d(0x222),(_0xe26482,{commentThreadId:_0x2adc48,commentId:_0x29d0f6})=>{const _0x47802f=_0xcbd58d,_0x31ff49=_0x5b4b9d[_0x47802f(0x228)](_0x2adc48);if(_0x31ff49){const _0x48adad=_0x31ff49[_0x47802f(0x217)](_0x29d0f6);_0x48adad&&_0x48adad[_0x47802f(0x1e7)]({'isFromAdapter':!0x0});}}),await this[_0xcbd58d(0x20b)](_0x2c44c4);}[_0x595b23(0x225)](){const _0x12b319=_0x595b23;if(this[_0x12b319(0x235)]instanceof _0x4a0823){const _0x3d653b=this[_0x12b319(0x235)][_0x12b319(0x20a)][_0x12b319(0x20f)](_0x12b319(0x205));this[_0x12b319(0x249)](_0x3d653b);}}[_0x595b23(0x249)](_0x250599){const _0x5390d7=_0x595b23;if(!this[_0x5390d7(0x209)][_0x5390d7(0x1fe)](_0x250599))throw new _0x3773a(_0x5390d7(0x1f0),null,{'channelId':_0x250599});this[_0x5390d7(0x239)](_0x250599)[_0x5390d7(0x211)](),this[_0x5390d7(0x209)][_0x5390d7(0x208)](_0x250599);}async[_0x595b23(0x204)](){const _0x2c9ee5=_0x595b23;for(const _0x2746fc of this[_0x2c9ee5(0x209)][_0x2c9ee5(0x236)]())await this[_0x2c9ee5(0x20b)](_0x2746fc);if(this[_0x2c9ee5(0x235)]instanceof _0x4a0823){const _0x44819a=this[_0x2c9ee5(0x235)][_0x2c9ee5(0x20a)][_0x2c9ee5(0x20f)](_0x2c9ee5(0x205)),_0x3023b0=this[_0x2c9ee5(0x235)][_0x2c9ee5(0x23e)][_0x2c9ee5(0x20f)](_0x1c354c);_0x3023b0[_0x2c9ee5(0x1f5)](_0x44819a);const _0xe991bb=await this[_0x2c9ee5(0x209)][_0x2c9ee5(0x20f)](_0x44819a)[_0x2c9ee5(0x22f)]();_0x3023b0[_0x2c9ee5(0x1f2)](_0x44819a,_0xe991bb);}}async[_0x595b23(0x20b)](_0x35d15b){const _0x1efd4f=_0x595b23,{connection:_0x4c923b}=this[_0x1efd4f(0x235)][_0x1efd4f(0x23e)][_0x1efd4f(0x20f)](_0x4800be),_0x12b40e=this[_0x1efd4f(0x235)][_0x1efd4f(0x23e)][_0x1efd4f(0x20f)](_0x1efd4f(0x1f1)),_0x31d4ad=this[_0x1efd4f(0x209)][_0x1efd4f(0x20f)](_0x35d15b),_0x19dca7=await _0x31d4ad[_0x1efd4f(0x21a)](_0x4c923b);await this[_0x1efd4f(0x223)](_0x19dca7);const _0xefc217=new Set(Array[_0x1efd4f(0x21b)](_0x12b40e[_0x1efd4f(0x229)]({'channelId':_0x35d15b}),_0x5d9e87=>_0x5d9e87['id']));for(const _0x4e094d of _0x19dca7)_0x4e094d[_0x1efd4f(0x23d)]||_0xefc217[_0x1efd4f(0x208)](_0x4e094d[_0x1efd4f(0x23f)]);for(const _0x4f805d of _0xefc217)_0x12b40e[_0x1efd4f(0x228)](_0x4f805d)[_0x1efd4f(0x1e7)]({'isFromAdapter':!0x0});for(const _0x376963 of _0x19dca7){let _0x39046c=_0x12b40e[_0x1efd4f(0x228)](_0x376963[_0x1efd4f(0x23f)]);const {commentThreadId:_0x4e03f3,context:_0x304c37,attributes:_0x297731,resolvedBy:_0x5a619b,resolvedAt:_0x44d706,unlinkedAt:_0x6adde3,deletedAt:_0x5605fc}=_0x376963;if(_0x5605fc)continue;_0x39046c||(_0x39046c=_0x12b40e[_0x1efd4f(0x238)]({'channelId':_0x35d15b,'threadId':_0x4e03f3,'context':_0x304c37,'attributes':_0x297731||{},'resolvedBy':_0x5a619b,'resolvedAt':_0x44d706,'unlinkedAt':_0x6adde3,'isFromAdapter':!0x0}));const _0x4bdcde=new Set(Array[_0x1efd4f(0x21b)](_0x39046c[_0x1efd4f(0x216)],_0x151e47=>_0x151e47['id']));for(const _0x32493e of _0x376963[_0x1efd4f(0x216)])_0x4bdcde[_0x1efd4f(0x208)](_0x32493e[_0x1efd4f(0x207)]);for(const _0x41ef1c of _0x4bdcde)_0x39046c[_0x1efd4f(0x217)](_0x41ef1c)[_0x1efd4f(0x1e7)]({'isFromAdapter':!0x0});for(const _0x71c9ae of _0x376963[_0x1efd4f(0x216)]){const _0x3fe189=_0x39046c[_0x1efd4f(0x217)](_0x71c9ae[_0x1efd4f(0x207)]);_0x3fe189?_0x3fe189[_0x1efd4f(0x1f9)]!==_0x71c9ae[_0x1efd4f(0x1f9)]&&_0x3fe189[_0x1efd4f(0x212)]({'content':_0x71c9ae[_0x1efd4f(0x1f9)],'isFromAdapter':!0x0}):_0x39046c[_0x1efd4f(0x237)](Object[_0x1efd4f(0x1fa)](S(_0x71c9ae),{'isFromAdapter':!0x0}));}}}[_0x595b23(0x239)](_0x1a2630){const _0x72554d=_0x595b23;if(!this[_0x72554d(0x209)][_0x72554d(0x1fe)](_0x1a2630))throw new _0x3773a(_0x72554d(0x22d),null,{'channelId':_0x1a2630});return this[_0x72554d(0x209)][_0x72554d(0x20f)](_0x1a2630);}async[_0x595b23(0x223)](_0x1acd03){const _0x3d674a=_0x595b23,_0x2cf67e=this[_0x3d674a(0x235)][_0x3d674a(0x23e)][_0x3d674a(0x20f)](_0x521ebd),{connection:_0xa11cfb}=this[_0x3d674a(0x235)][_0x3d674a(0x23e)][_0x3d674a(0x20f)](_0x4800be),_0x51b03e=new Set();for(const {resolvedBy:_0x3bfd16,comments:_0x3c2d89}of _0x1acd03){_0x3bfd16&&!_0x2cf67e[_0x3d674a(0x1f3)](_0x3bfd16)&&_0x51b03e[_0x3d674a(0x1f8)](_0x3bfd16);for(const {userId:_0x3de597}of _0x3c2d89)_0x2cf67e[_0x3d674a(0x1f3)](_0x3de597)||_0x51b03e[_0x3d674a(0x1f8)](_0x3de597);}if(0x0===_0x51b03e[_0x3d674a(0x240)])return;const _0x5dc66b=await _0x114ba0[_0x3d674a(0x1fd)](_0xa11cfb,Array[_0x3d674a(0x21b)](_0x51b03e));for(const _0x10b77b of _0x5dc66b)_0x2cf67e[_0x3d674a(0x1f3)](_0x10b77b['id'])||_0x2cf67e[_0x3d674a(0x21d)](_0x10b77b);}}a[_0x595b23(0x20d)]=_0x2acedf;export default a;function _0x36eb(_0x23d9c4,_0x1c38b6){const _0x30fad6=_0x30fa();return _0x36eb=function(_0x36ebd2,_0x2c1d83){_0x36ebd2=_0x36ebd2-0x1e6;let _0x5e4b52=_0x30fad6[_0x36ebd2];return _0x5e4b52;},_0x36eb(_0x23d9c4,_0x1c38b6);}async function B(_0x597450){const _0x575f31=_0x595b23;if(_0x575f31(0x1eb)!==_0x597450[_0x575f31(0x22e)])throw _0x597450;}function _0x30fa(){const _0x3657f2=['assign','updateComment','Permissions','getMany','has','1646986BWKhuY','setPermissions','547640DRPUke','startsWith','userId','reconnect','collaboration.channelId','14ljPVtb','commentId','delete','_services','config','_connectService','resolvedBy','CommentsService','commentThreadResolved','get','removeCommentThread','disconnect','update','commentAdded','removeComment','commentThreadReopened','comments','getComment','off','cloud-services-internal-error:\x20Request\x20timeout.','connect','from','authorId','addUser','message','resolveCommentThread','set','commentThreadRemoved','commentRemoved','_fetchMissingUsersForThreads','requires','destroy','reopenCommentThread','init','getCommentThread','getCommentThreads','5311590VGsjAz','commentThreadUpdated','pluginName','cloudservicescommentsadapter-service-not-exist','code','getConnectedSessions','mySessionId','cloud-services-internal-error:\x20Not\x20connected.','8ADKcTV','map','attributes','context','keys','addComment','addCommentThread','_getService','resolvedAt','4722gIFVbD','createdAt','deletedAt','plugins','commentThreadId','size','_setUpService','adapter','1976382rOSrko','commentUpdated','cloudservicescommentsadapter-connect-already-connected','CloudServicesCommentsAdapter','5FozOaw','listenTo','_terminateService','195525ynroWR','catch','remove','resolve','addToReconnectionStack','reopen','404','updateCommentThread','307203zCYyDj','cloud-services-internal-error:\x20Comments\x20Service\x20is\x20not\x20connected.','1106WLoSaY','cloudservicescommentsadapter-disconnect-not-exist','CommentsRepository','register','getUser','commentThreadAdded','unregister','sessionAdd:','permissions','add','content'];_0x30fa=function(){return _0x3657f2;};return _0x30fa();}function R(_0x36ae0b){const _0xb8bcea=_0x595b23;if((_0x5624e8=_0x36ae0b)[_0xb8bcea(0x21e)][_0xb8bcea(0x202)](_0xb8bcea(0x1ee))||_0x5624e8[_0xb8bcea(0x21e)][_0xb8bcea(0x202)](_0xb8bcea(0x231))||_0x5624e8[_0xb8bcea(0x21e)][_0xb8bcea(0x202)](_0xb8bcea(0x219)))return new Promise(()=>{});var _0x5624e8;throw _0x36ae0b;}function S(_0x362b4f){const _0x5088cc=_0x595b23;return{'threadId':_0x362b4f[_0x5088cc(0x23f)],'commentId':_0x362b4f[_0x5088cc(0x207)],'content':_0x362b4f[_0x5088cc(0x1f9)],'createdAt':_0x362b4f[_0x5088cc(0x23c)],'authorId':_0x362b4f[_0x5088cc(0x203)],'attributes':_0x362b4f[_0x5088cc(0x234)]||{}};}
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
|
|
23
|
+
const _0x1db1e4=_0x4780;(function(_0x558049,_0x590c2c){const _0xbd1ed6=_0x4780,_0x26d017=_0x558049();while(!![]){try{const _0x18ad38=-parseInt(_0xbd1ed6(0x1ef))/0x1+parseInt(_0xbd1ed6(0x1f1))/0x2*(-parseInt(_0xbd1ed6(0x200))/0x3)+-parseInt(_0xbd1ed6(0x203))/0x4+-parseInt(_0xbd1ed6(0x201))/0x5*(parseInt(_0xbd1ed6(0x204))/0x6)+-parseInt(_0xbd1ed6(0x1fb))/0x7+parseInt(_0xbd1ed6(0x1fa))/0x8+parseInt(_0xbd1ed6(0x1e8))/0x9;if(_0x18ad38===_0x590c2c)break;else _0x26d017['push'](_0x26d017['shift']());}catch(_0x34fc1d){_0x26d017['push'](_0x26d017['shift']());}}}(_0x43a1,0xd30a3));import{Plugin as _0x3dcedf}from'ckeditor5/src/core.js';function _0x4780(_0x135fe4,_0x94f04){const _0x43a166=_0x43a1();return _0x4780=function(_0x4780ab,_0xb922eb){_0x4780ab=_0x4780ab-0x1e8;let _0x3b0f17=_0x43a166[_0x4780ab];return _0x3b0f17;},_0x4780(_0x135fe4,_0x94f04);}import _0x36f705 from'./realtimecollaborativecomments/cloudservicescommentsadapter.js';import _0x5133a6 from'./realtimecollaborativeediting.js';import _0x4258b0 from'./realtimecollaborativeediting/websocketgateway.js';export default class m extends _0x3dcedf{static get[_0x1db1e4(0x1fd)](){const _0x55baaf=_0x1db1e4;return[_0x55baaf(0x1fc),_0x36f705,_0x5133a6,_0x4258b0];}static get[_0x1db1e4(0x205)](){const _0x243d5b=_0x1db1e4;return _0x243d5b(0x202);}[_0x1db1e4(0x1f7)](){const _0x19a393=_0x1db1e4,_0x47f514=this[_0x19a393(0x1ed)][_0x19a393(0x1f0)][_0x19a393(0x1f4)](_0x4258b0),_0xd443e6=this[_0x19a393(0x1ed)][_0x19a393(0x1f0)][_0x19a393(0x1f4)](_0x19a393(0x1ff)),_0x16f4dc=this[_0x19a393(0x1ed)][_0x19a393(0x1f0)][_0x19a393(0x1f4)](_0x36f705);return this[_0x19a393(0x1ed)][_0x19a393(0x1e9)][_0x19a393(0x1ec)](_0x19a393(0x1ee),()=>{const _0x17659d=_0x19a393;this[_0x17659d(0x1fe)](_0x47f514,_0x17659d(0x1eb),(_0x4195be,_0x3e82d9,_0x101a96)=>{const _0x95987=_0x17659d;_0xd443e6[_0x95987(0x207)]=_0x95987(0x1f9)!==_0x101a96;});}),this[_0x19a393(0x1fe)](_0x47f514,_0x19a393(0x1eb),(_0x385f0f,_0x3b9281,_0x4a3ba7)=>{const _0x265d86=_0x19a393;this[_0x265d86(0x1ed)][_0x265d86(0x1f0)][_0x265d86(0x1f4)](_0x265d86(0x1f2))[_0x265d86(0x1f3)](_0x265d86(0x1f9)!==_0x4a3ba7);}),_0x16f4dc[_0x19a393(0x1f6)](this[_0x19a393(0x1ed)][_0x19a393(0x206)][_0x19a393(0x1f4)](_0x19a393(0x1f8)));}[_0x1db1e4(0x1f5)](){const _0x605b8d=_0x1db1e4;this[_0x605b8d(0x1ed)][_0x605b8d(0x1f0)][_0x605b8d(0x1f4)](_0x36f705)[_0x605b8d(0x1ea)](this[_0x605b8d(0x1ed)][_0x605b8d(0x206)][_0x605b8d(0x1f4)](_0x605b8d(0x1f8))),super[_0x605b8d(0x1f5)]();}}function _0x43a1(){const _0x1a0986=['6221355kpaRPa','Comments','requires','listenTo','CommentsEditing','3casAWa','2740uHIZyY','RealTimeCollaborativeComments','3057092NBHikI','8598rSJQad','pluginName','config','isThreadsLoadingPaused','49345524sZHhBg','data','_terminateService','change:state','once','editor','ready','963473pyPONf','plugins','3062822WEoJLE','CommentsRepository','switchReadOnly','get','destroy','_setUpService','init','collaboration.channelId','connected','2518312jCOHYS'];_0x43a1=function(){return _0x1a0986;};return _0x43a1();}
|