@ckeditor/ckeditor5-real-time-collaboration 43.2.0-alpha.7 → 43.2.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
|
+
(_0x451714=>{const {'zh-cn':{dictionary:_0x1fd914,getPluralForm:_0x872f37}}={'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':_0x52f619=>0x0}};_0x451714['zh-cn']||={'dictionary':{},'getPluralForm':null},_0x451714['zh-cn']['dictionary']=Object['assign'](_0x451714['zh-cn']['dictionary'],_0x1fd914),_0x451714['zh-cn']['getPluralForm']=_0x872f37;})(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':_0x29da17=>0x0}};
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
(
|
|
23
|
+
(_0x319015=>{const {zh:{dictionary:_0x30096c,getPluralForm:_0x17d15e}}={'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':_0x41011f=>0x0}};_0x319015['zh']||={'dictionary':{},'getPluralForm':null},_0x319015['zh']['dictionary']=Object['assign'](_0x319015['zh']['dictionary'],_0x30096c),_0x319015['zh']['getPluralForm']=_0x17d15e;})(window['CKEDITOR_TRANSLATIONS']||={});
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@ckeditor/ckeditor5-real-time-collaboration",
|
|
3
|
-
"version": "43.2.0
|
|
3
|
+
"version": "43.2.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.2.0
|
|
46
|
-
"@ckeditor/ckeditor5-engine": "43.2.0
|
|
47
|
-
"@ckeditor/ckeditor5-operations-compressor": "43.2.0
|
|
48
|
-
"@ckeditor/ckeditor5-theme-lark": "43.2.0
|
|
49
|
-
"@ckeditor/ckeditor5-ui": "43.2.0
|
|
50
|
-
"@ckeditor/ckeditor5-utils": "43.2.0
|
|
51
|
-
"ckeditor5": "43.2.0
|
|
52
|
-
"ckeditor5-collaboration": "43.2.0
|
|
45
|
+
"@ckeditor/ckeditor5-core": "43.2.0",
|
|
46
|
+
"@ckeditor/ckeditor5-engine": "43.2.0",
|
|
47
|
+
"@ckeditor/ckeditor5-operations-compressor": "43.2.0",
|
|
48
|
+
"@ckeditor/ckeditor5-theme-lark": "43.2.0",
|
|
49
|
+
"@ckeditor/ckeditor5-ui": "43.2.0",
|
|
50
|
+
"@ckeditor/ckeditor5-utils": "43.2.0",
|
|
51
|
+
"ckeditor5": "43.2.0",
|
|
52
|
+
"ckeditor5-collaboration": "43.2.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(_0x1fdc53,_0x4d0a64,_0x37aec8){const t=_0x1fdc53['t'];switch(_0x4d0a64){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'},_0x37aec8);default:return'';}}
|
package/src/index.js
CHANGED
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
(function(
|
|
23
|
+
(function(_0x5c129e,_0x2d1565){var _0x19287b=_0x61a3,_0x53be37=_0x5c129e();while(!![]){try{var _0x182acb=-parseInt(_0x19287b(0x6d))/0x1+parseInt(_0x19287b(0x6e))/0x2*(-parseInt(_0x19287b(0x72))/0x3)+parseInt(_0x19287b(0x73))/0x4+-parseInt(_0x19287b(0x6f))/0x5+-parseInt(_0x19287b(0x6b))/0x6+-parseInt(_0x19287b(0x71))/0x7*(-parseInt(_0x19287b(0x70))/0x8)+-parseInt(_0x19287b(0x74))/0x9*(-parseInt(_0x19287b(0x6c))/0xa);if(_0x182acb===_0x2d1565)break;else _0x53be37['push'](_0x53be37['shift']());}catch(_0x46b216){_0x53be37['push'](_0x53be37['shift']());}}}(_0x2732,0x36487));function _0x2732(){var _0x21b100=['246725cDxoiI','8542NeDqRw','563535LDbbQM','518040umHyWW','42LAGhmT','201aWOGGS','387316peBJHR','5247387IciFby','1202820BZVqeB','10IUHasB'];_0x2732=function(){return _0x21b100;};return _0x2732();}export{default as RealTimeCollaborativeEditing}from'./realtimecollaborativeediting.js';function _0x61a3(_0x34cd90,_0xe086cc){var _0x273213=_0x2732();return _0x61a3=function(_0x61a389,_0x3a2143){_0x61a389=_0x61a389-0x6b;var _0x3e618e=_0x273213[_0x61a389];return _0x3e618e;},_0x61a3(_0x34cd90,_0xe086cc);}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';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 _0x5dfeaf=_0x236b;(function(_0x346a1f,_0xc1d3ba){const _0x423607=_0x236b,_0x21b9f5=_0x346a1f();while(!![]){try{const _0x4ee55e=-parseInt(_0x423607(0xfe))/0x1+-parseInt(_0x423607(0x125))/0x2*(parseInt(_0x423607(0x10c))/0x3)+-parseInt(_0x423607(0x113))/0x4+parseInt(_0x423607(0x109))/0x5+-parseInt(_0x423607(0xcf))/0x6+parseInt(_0x423607(0xf6))/0x7*(-parseInt(_0x423607(0x112))/0x8)+parseInt(_0x423607(0x114))/0x9;if(_0x4ee55e===_0xc1d3ba)break;else _0x21b9f5['push'](_0x21b9f5['shift']());}catch(_0x59aa99){_0x21b9f5['push'](_0x21b9f5['shift']());}}}(_0xaf21,0x48b31));import{ContextPlugin as _0xcb5a37}from'ckeditor5/src/core.js';import{CKEditorError as _0x165a3a,Collection as _0x53a72c}from'ckeditor5/src/utils.js';import{clickOutsideHandler as _0x23b8eb,BalloonPanelView as _0x54ddfc,BodyCollection as _0x4b18d0}from'ckeditor5/src/ui.js';import{isElement as _0x16a85d}from'lodash-es';import _0x3d0f68 from'../realtimecollaborativeediting/sessions.js';import _0x403c1d from'./view/presencelistview.js';import _0x3639bf from'./view/presencedropdownlistview.js';import _0x55c6bf from'./view/presencedropdownlistitemview.js';import _0x436272 from'./view/presenceinlinelistitemview.js';function _0xaf21(){const _0x1a4625=['init','button','counterView','appendChild','Shift+Tab','presencelist-collapseat-invalid-format','detachFromDom','Enter','386428psEOdD','get','displayMe','textarea','focusTracker','isCollapsed','filter','set','95133kCxrkH','isHidden','isMe','tabIndex','presenceList','using','unpin','offsetHeight','sort','items','remove','362665QiQjgm','plugins','requires','94188OierZv','define','min','keystrokes','onClick','context','8TERTrN','698076Pcsysx','8090208cCQuEV','presencelist-missing-container','add','querySelectorAll','from','input','number','Tab','length','join','view','isRendered','inlineListView','_handleUserRemove',':not([disabled]):not([tabindex=\x22-1\x22])','destroy','render','2BvfhoR','isExpanded','_bodyCollection','presenceList.displayMe','bindTo','offsetWidth','content','_createView','attachToDom','balloonPanelView','map','checkIfScrollable','presenceDropdownView','class','1904496OsuJyt','showDropdown','allConnectedUsers','[contenteditable]','hideDropdown','presenceList.container','config','element','reverse','bind','_handleUserAdd','listenTo','currentDisplayedUsers','activeElement','change:isFocused','[tabindex]','hasTooltip','_allConnectedUsers','presenceList.collapseAt','Esc','indexOf','isFocusable','body','pin','locale','execute','isVisible','focus','ck\x20ck-presence-list__balloon','select','usersCount'];_0xaf21=function(){return _0x1a4625;};return _0xaf21();}const A={'collapseAt':0x6,'displayMe':!0x0};function _0x236b(_0x5eae97,_0x396c1d){const _0xaf21ad=_0xaf21();return _0x236b=function(_0x236b74,_0x493cca){_0x236b74=_0x236b74-0xc3;let _0x4fab54=_0xaf21ad[_0x236b74];return _0x4fab54;},_0x236b(_0x5eae97,_0x396c1d);}export default class s extends _0xcb5a37{constructor(_0x1deeb0){const _0x27cbb8=_0x236b;super(_0x1deeb0),this[_0x27cbb8(0xc3)]=null,this[_0x27cbb8(0x111)][_0x27cbb8(0xd5)][_0x27cbb8(0x10d)](_0x27cbb8(0x102),A);const _0x486fad=_0x1deeb0[_0x27cbb8(0xd5)][_0x27cbb8(0xf7)](_0x27cbb8(0xe1));if(_0x27cbb8(0x11a)!=typeof _0x486fad)throw new _0x165a3a(_0x27cbb8(0xf3),this);if(_0x486fad<0x1)throw new _0x165a3a(_0x27cbb8(0xf3),this);this[_0x27cbb8(0xe0)]=this[_0x27cbb8(0x111)][_0x27cbb8(0x10a)][_0x27cbb8(0xf7)](_0x3d0f68)[_0x27cbb8(0xd1)],this[_0x27cbb8(0xfd)](_0x27cbb8(0xed),0x0),this[_0x27cbb8(0xdb)]=new _0x53a72c(),this[_0x27cbb8(0xca)]=new _0x54ddfc(),this[_0x27cbb8(0xca)][_0x27cbb8(0xce)]=_0x27cbb8(0xeb),this[_0x27cbb8(0x11e)]=this[_0x27cbb8(0xc8)](),this[_0x27cbb8(0xcd)]=void 0x0;}static get[_0x5dfeaf(0x10b)](){return[_0x3d0f68];}[_0x5dfeaf(0xee)](){const _0x21b2f4=_0x5dfeaf;for(const _0x4b895a of this[_0x21b2f4(0xe0)])this[_0x21b2f4(0xd9)](_0x4b895a);this[_0x21b2f4(0xda)](this[_0x21b2f4(0xe0)],_0x21b2f4(0x116),(_0x350da5,_0x414c73)=>{const _0x21c4f9=_0x21b2f4;this[_0x21c4f9(0xd9)](_0x414c73);}),this[_0x21b2f4(0xda)](this[_0x21b2f4(0xe0)],_0x21b2f4(0x108),(_0x13d84f,_0x485416)=>{const _0x300acd=_0x21b2f4;this[_0x300acd(0x121)](_0x485416);});}[_0x5dfeaf(0xc8)](){const _0xf20810=_0x5dfeaf,_0x41dc3=this[_0xf20810(0x111)],_0x53bafe=new _0x403c1d(this[_0xf20810(0x111)][_0xf20810(0xe7)]),_0x540d74=this[_0xf20810(0xca)];if(!_0x16a85d(_0x41dc3[_0xf20810(0xd5)][_0xf20810(0xf7)](_0xf20810(0xd4))))throw new _0x165a3a(_0xf20810(0x115),this);return _0x53bafe[_0xf20810(0xf0)][_0xf20810(0xd8)](_0xf20810(0xed))['to'](this),_0x53bafe[_0xf20810(0xd8)](_0xf20810(0xfb))['to'](this,_0xf20810(0xed),_0x3c1427=>{const _0xe5b967=_0xf20810,{collapseAt:_0x45047b,displayMe:_0x386cad}=_0x41dc3[_0xe5b967(0xd5)][_0xe5b967(0xf7)](_0xe5b967(0x102)),_0x37833f=_0x3c1427>=_0x45047b;return _0x53bafe[_0xe5b967(0xf0)][_0xe5b967(0xff)]=!(0x1==_0x3c1427&&_0x386cad||_0x37833f),_0x37833f||this[_0xe5b967(0xd3)](),_0x37833f;}),_0x53bafe[_0xf20810(0x120)][_0xf20810(0x107)][_0xf20810(0xc5)](this[_0xf20810(0xdb)])[_0xf20810(0x103)](_0x1d14c7=>{const _0x3449a1=_0xf20810,_0x2f40bb=_0x41dc3[_0x3449a1(0xd5)][_0x3449a1(0xf7)](_0x3449a1(0x102)),_0x32ff7e=new _0x436272(_0x41dc3[_0x3449a1(0xe7)],_0x1d14c7,!!_0x2f40bb[_0x3449a1(0x110)]);return _0x32ff7e[_0x3449a1(0xd8)](_0x3449a1(0xdf))['to'](_0x53bafe,_0x3449a1(0xfb),_0x4ca61e=>!_0x4ca61e),_0x32ff7e[_0x3449a1(0xd8)](_0x3449a1(0xe4))['to'](_0x53bafe,_0x3449a1(0xfb),_0x4e3c13=>!_0x4e3c13),_0x2f40bb[_0x3449a1(0x110)]&&this[_0x3449a1(0xda)](_0x32ff7e,_0x3449a1(0xe8),()=>{const _0x2fdf39=_0x3449a1;this[_0x2fdf39(0x11e)][_0x2fdf39(0xfb)]||_0x2f40bb[_0x2fdf39(0x110)](_0x1d14c7,_0x32ff7e[_0x2fdf39(0xd6)]);}),_0x32ff7e;}),this[_0xf20810(0xda)](_0x53bafe[_0xf20810(0x120)],_0xf20810(0xe8),()=>{const _0x2411ed=_0xf20810;this[_0x2411ed(0xcd)]?this[_0x2411ed(0xd3)]():this[_0x2411ed(0x11e)][_0x2411ed(0xfb)]&&this[_0x2411ed(0xd0)]();}),_0x53bafe[_0xf20810(0x120)][_0xf20810(0x10f)][_0xf20810(0xfd)](_0xf20810(0xf5),(_0x2136f8,_0x2bea7a)=>{const _0x325866=_0xf20810;this[_0x325866(0x11e)][_0x325866(0xfb)]&&(this[_0x325866(0xd0)](),_0x2bea7a());}),_0x53bafe[_0xf20810(0x124)](),_0x540d74[_0xf20810(0x124)](),_0x23b8eb({'emitter':_0x53bafe,'activator':()=>_0x540d74[_0xf20810(0xe9)],'contextElements':[_0x540d74[_0xf20810(0xd6)],_0x53bafe[_0xf20810(0x120)][_0xf20810(0xd6)]],'callback':()=>this[_0xf20810(0xd3)]()}),_0x41dc3[_0xf20810(0xd5)][_0xf20810(0xf7)](_0xf20810(0xd4))[_0xf20810(0xf1)](_0x53bafe[_0xf20810(0xd6)]),this[_0xf20810(0xc3)]=new _0x4b18d0(this[_0xf20810(0x111)][_0xf20810(0xe7)]),this[_0xf20810(0xc3)][_0xf20810(0xc9)](),this[_0xf20810(0xc3)][_0xf20810(0x116)](this[_0xf20810(0xca)]),_0x53bafe;}[_0x5dfeaf(0xd9)](_0x392a58){const _0x3df5bf=_0x5dfeaf;if(!this[_0x3df5bf(0x111)][_0x3df5bf(0xd5)][_0x3df5bf(0xf7)](_0x3df5bf(0xc4))&&_0x392a58[_0x3df5bf(0x100)])return;const _0x1baf25=this[_0x3df5bf(0x111)][_0x3df5bf(0xd5)][_0x3df5bf(0xf7)](_0x3df5bf(0xe1))-0x1;this[_0x3df5bf(0xed)]++,this[_0x3df5bf(0xdb)][_0x3df5bf(0x11c)]==_0x1baf25&&this[_0x3df5bf(0xdb)][_0x3df5bf(0x11c)]>0x1&&this[_0x3df5bf(0xdb)][_0x3df5bf(0x108)](0x1);const _0x2ddde5=_0x392a58[_0x3df5bf(0x100)]?0x0:this[_0x3df5bf(0xdb)][_0x3df5bf(0x11c)];this[_0x3df5bf(0xdb)][_0x3df5bf(0x116)](_0x392a58,_0x2ddde5);}[_0x5dfeaf(0x121)](_0x4ae7e8){const _0x5ce6=_0x5dfeaf;if(this[_0x5ce6(0xed)]--,this[_0x5ce6(0xdb)][_0x5ce6(0xf7)](_0x4ae7e8['id'])&&(this[_0x5ce6(0xdb)][_0x5ce6(0x108)](_0x4ae7e8['id']),this[_0x5ce6(0xdb)][_0x5ce6(0x11c)]<this[_0x5ce6(0xed)])){for(const _0x343a79 of Array[_0x5ce6(0x118)](this[_0x5ce6(0xe0)])[_0x5ce6(0xd7)]())if(!this[_0x5ce6(0xdb)][_0x5ce6(0xf7)](_0x343a79['id']))return void this[_0x5ce6(0xdb)][_0x5ce6(0x116)](_0x343a79,Math[_0x5ce6(0x10e)](this[_0x5ce6(0xdb)][_0x5ce6(0x11c)],0x1));}}[_0x5dfeaf(0xd0)](){const _0x3d84ae=_0x5dfeaf;if(this[_0x3d84ae(0xcd)])return;const _0x2a703e=this[_0x3d84ae(0x111)][_0x3d84ae(0xd5)][_0x3d84ae(0xf7)](_0x3d84ae(0x102));this[_0x3d84ae(0xcd)]=new _0x3639bf(this[_0x3d84ae(0x111)][_0x3d84ae(0xe7)],!!_0x2a703e[_0x3d84ae(0x110)]),this[_0x3d84ae(0x11e)][_0x3d84ae(0x120)][_0x3d84ae(0x126)]=!0x0;const {listWrapperView:_0x2a8ece}=this[_0x3d84ae(0xcd)];_0x2a8ece[_0x3d84ae(0x107)][_0x3d84ae(0xc5)](this[_0x3d84ae(0xe0)])[_0x3d84ae(0x103)](_0x909eb8=>{const _0x57d23a=_0x3d84ae;if(!_0x2a703e[_0x57d23a(0xf8)]&&_0x909eb8[_0x57d23a(0x100)])return null;const _0xd87274=new _0x55c6bf(this[_0x57d23a(0x111)][_0x57d23a(0xe7)],_0x909eb8,!!_0x2a703e[_0x57d23a(0x110)]);return _0x2a703e[_0x57d23a(0x110)]&&this[_0x57d23a(0xda)](_0xd87274,_0x57d23a(0xe8),()=>{const _0x57b4dc=_0x57d23a;_0x2a703e[_0x57b4dc(0x110)](_0x909eb8,_0xd87274[_0x57b4dc(0xd6)]);}),_0xd87274;}),this[_0x3d84ae(0xca)][_0x3d84ae(0xc7)][_0x3d84ae(0x116)](this[_0x3d84ae(0xcd)]),this[_0x3d84ae(0xca)][_0x3d84ae(0xe6)]({'target':this[_0x3d84ae(0x11e)][_0x3d84ae(0x120)][_0x3d84ae(0xd6)]}),_0x2a8ece[_0x3d84ae(0xea)](),_0x2a8ece[_0x3d84ae(0xcc)]();const _0x1ad365=(_0x48db25,_0x568609)=>{const _0x403e77=_0x3d84ae;this[_0x403e77(0xd3)](),this[_0x403e77(0x11e)][_0x403e77(0x120)][_0x403e77(0xea)](),_0x568609();};_0x2a8ece[_0x3d84ae(0x10f)][_0x3d84ae(0xfd)](_0x3d84ae(0xe2),_0x1ad365),_0x2a8ece[_0x3d84ae(0x10f)][_0x3d84ae(0xfd)](_0x3d84ae(0xf2),_0x1ad365),_0x2a8ece[_0x3d84ae(0x10f)][_0x3d84ae(0xfd)](_0x3d84ae(0x11b),(_0x4b7763,_0x5c4ac4)=>{const _0x16b41a=_0x3d84ae;!function(_0x698867){const _0x2b510c=_0x236b,_0x1cbf1a=['a',_0x2b510c(0xef),_0x2b510c(0x119),_0x2b510c(0xec),_0x2b510c(0xf9),_0x2b510c(0xde),_0x2b510c(0xd2)][_0x2b510c(0xcb)](_0x44d584=>_0x44d584+_0x2b510c(0x122))[_0x2b510c(0x11d)](','),_0x4a2a20=[...document[_0x2b510c(0xe5)][_0x2b510c(0x117)](_0x1cbf1a)][_0x2b510c(0xfc)](_0x2841d6=>_0x2841d6===document[_0x2b510c(0xdc)]||_0x2841d6[_0x2b510c(0xc6)]+_0x2841d6[_0x2b510c(0x105)]>0x0)[_0x2b510c(0x106)]((_0x19f6f8,_0x30e9b8)=>(_0x19f6f8[_0x2b510c(0x101)]||0x0)-(_0x30e9b8[_0x2b510c(0x101)]||0x0)),_0x23d6b6=_0x4a2a20[_0x2b510c(0xe3)](_0x698867),_0x23d0b6=_0x4a2a20[(_0x23d6b6+0x1)%_0x4a2a20[_0x2b510c(0x11c)]];_0x23d0b6&&_0x23d0b6[_0x2b510c(0xea)]();}(this[_0x16b41a(0x11e)][_0x16b41a(0xd6)]),this[_0x16b41a(0xd3)](),_0x5c4ac4();}),_0x2a8ece[_0x3d84ae(0xfa)][_0x3d84ae(0x116)](this[_0x3d84ae(0x11e)][_0x3d84ae(0xd6)]),_0x2a8ece[_0x3d84ae(0xfa)]['on'](_0x3d84ae(0xdd),(_0x42e4e9,_0x492d2c,_0x333d33)=>{const _0x3a041f=_0x3d84ae;_0x333d33||this[_0x3a041f(0xd3)]();});}[_0x5dfeaf(0xd3)](){const _0x499307=_0x5dfeaf;this[_0x499307(0xcd)]&&(this[_0x499307(0x11e)][_0x499307(0x120)][_0x499307(0x126)]=!0x1,this[_0x499307(0xca)][_0x499307(0x104)](),this[_0x499307(0xca)][_0x499307(0xc7)][_0x499307(0x108)](this[_0x499307(0xcd)]),this[_0x499307(0xcd)][_0x499307(0x123)](),this[_0x499307(0xcd)]=void 0x0);}[_0x5dfeaf(0x123)](){const _0x31cd24=_0x5dfeaf;super[_0x31cd24(0x123)](),this[_0x31cd24(0x11e)]&&this[_0x31cd24(0x11e)][_0x31cd24(0x11f)]&&this[_0x31cd24(0x11e)][_0x31cd24(0x123)](),this[_0x31cd24(0xc3)]&&(this[_0x31cd24(0xc3)][_0x31cd24(0xf4)](),this[_0x31cd24(0xc3)][_0x31cd24(0x123)](),this[_0x31cd24(0xc3)]=null);}}
|
|
23
|
+
function _0x1e4f(){const _0x216708=['presenceList.displayMe','11597630UTLwNP','length','_createView','min','isMe','ck\x20ck-presence-list__balloon','keystrokes','showDropdown','balloonPanelView','set','24TIscED','element','currentDisplayedUsers','attachToDom','view','3840630vedrRD','class','isExpanded','5152mpjvIq','presenceList.collapseAt','allConnectedUsers','change:isFocused','render','join','requires','filter','context','isVisible','hideDropdown','locale','items','bind','presenceList','define','input','execute','focus','Esc','add','remove','isCollapsed','appendChild','1078845AXVUOr','Enter','presencelist-missing-container','unpin','30nmvPcw','activeElement','14864bEkQiP','counterView','_bodyCollection','presencelist-collapseat-invalid-format','onClick','textarea','Shift+Tab','querySelectorAll','_handleUserRemove','isHidden','sort','destroy','inlineListView','number','from','687395SUHjBN','get','_handleUserAdd','focusTracker','hasTooltip','using','isRendered','reverse','52706cFcfld','map','_allConnectedUsers','bindTo','button','20Abxmqa','offsetHeight','plugins',':not([disabled]):not([tabindex=\x22-1\x22])','offsetWidth','select','config','usersCount','content','pin','listenTo','[contenteditable]','detachFromDom','isFocusable','presenceDropdownView','Tab','checkIfScrollable','presenceList.container','init','[tabindex]','indexOf','3082383qkUcYE','displayMe','tabIndex','body'];_0x1e4f=function(){return _0x216708;};return _0x1e4f();}const _0x73b9d9=_0x2bb7;(function(_0x1f175d,_0x165e8d){const _0x42e0c3=_0x2bb7,_0x3ebc6a=_0x1f175d();while(!![]){try{const _0x428b2e=-parseInt(_0x42e0c3(0x167))/0x1*(parseInt(_0x42e0c3(0x180))/0x2)+-parseInt(_0x42e0c3(0x163))/0x3+parseInt(_0x42e0c3(0x1a9))/0x4*(parseInt(_0x42e0c3(0x178))/0x5)+parseInt(_0x42e0c3(0x148))/0x6+-parseInt(_0x42e0c3(0x14b))/0x7*(parseInt(_0x42e0c3(0x169))/0x8)+parseInt(_0x42e0c3(0x19a))/0x9*(parseInt(_0x42e0c3(0x185))/0xa)+parseInt(_0x42e0c3(0x19f))/0xb;if(_0x428b2e===_0x165e8d)break;else _0x3ebc6a['push'](_0x3ebc6a['shift']());}catch(_0x4c2105){_0x3ebc6a['push'](_0x3ebc6a['shift']());}}}(_0x1e4f,0xa79fe));import{ContextPlugin as _0x3d7d85}from'ckeditor5/src/core.js';function _0x2bb7(_0x1abb1a,_0x4d2ef7){const _0x1e4f94=_0x1e4f();return _0x2bb7=function(_0x2bb7fb,_0x37b211){_0x2bb7fb=_0x2bb7fb-0x145;let _0x512f12=_0x1e4f94[_0x2bb7fb];return _0x512f12;},_0x2bb7(_0x1abb1a,_0x4d2ef7);}import{CKEditorError as _0x2f78c1,Collection as _0x572556}from'ckeditor5/src/utils.js';import{clickOutsideHandler as _0x283362,BalloonPanelView as _0x4a6afc,BodyCollection as _0x4fdf4e}from'ckeditor5/src/ui.js';import{isElement as _0x3141fc}from'lodash-es';import _0x165b1b from'../realtimecollaborativeediting/sessions.js';import _0x7c4ca from'./view/presencelistview.js';import _0x52d3ae from'./view/presencedropdownlistview.js';import _0x94cf01 from'./view/presencedropdownlistitemview.js';import _0x560214 from'./view/presenceinlinelistitemview.js';const D={'collapseAt':0x6,'displayMe':!0x0};export default class s extends _0x3d7d85{constructor(_0x3a33eb){const _0x5ef869=_0x2bb7;super(_0x3a33eb),this[_0x5ef869(0x16b)]=null,this[_0x5ef869(0x153)][_0x5ef869(0x18b)][_0x5ef869(0x15a)](_0x5ef869(0x159),D);const _0x1ce820=_0x3a33eb[_0x5ef869(0x18b)][_0x5ef869(0x179)](_0x5ef869(0x14c));if(_0x5ef869(0x176)!=typeof _0x1ce820)throw new _0x2f78c1(_0x5ef869(0x16c),this);if(_0x1ce820<0x1)throw new _0x2f78c1(_0x5ef869(0x16c),this);this[_0x5ef869(0x182)]=this[_0x5ef869(0x153)][_0x5ef869(0x187)][_0x5ef869(0x179)](_0x165b1b)[_0x5ef869(0x14d)],this[_0x5ef869(0x1a8)](_0x5ef869(0x18c),0x0),this[_0x5ef869(0x145)]=new _0x572556(),this[_0x5ef869(0x1a7)]=new _0x4a6afc(),this[_0x5ef869(0x1a7)][_0x5ef869(0x149)]=_0x5ef869(0x1a4),this[_0x5ef869(0x147)]=this[_0x5ef869(0x1a1)](),this[_0x5ef869(0x193)]=void 0x0;}static get[_0x73b9d9(0x151)](){return[_0x165b1b];}[_0x73b9d9(0x197)](){const _0x371408=_0x73b9d9;for(const _0xddeceb of this[_0x371408(0x182)])this[_0x371408(0x17a)](_0xddeceb);this[_0x371408(0x18f)](this[_0x371408(0x182)],_0x371408(0x15f),(_0x508c93,_0x425a03)=>{const _0x1c2982=_0x371408;this[_0x1c2982(0x17a)](_0x425a03);}),this[_0x371408(0x18f)](this[_0x371408(0x182)],_0x371408(0x160),(_0xd5dc64,_0x313d51)=>{const _0xd66dff=_0x371408;this[_0xd66dff(0x171)](_0x313d51);});}[_0x73b9d9(0x1a1)](){const _0x79a5f1=_0x73b9d9,_0x2107a2=this[_0x79a5f1(0x153)],_0x2a39a0=new _0x7c4ca(this[_0x79a5f1(0x153)][_0x79a5f1(0x156)]),_0x468e38=this[_0x79a5f1(0x1a7)];if(!_0x3141fc(_0x2107a2[_0x79a5f1(0x18b)][_0x79a5f1(0x179)](_0x79a5f1(0x196))))throw new _0x2f78c1(_0x79a5f1(0x165),this);return _0x2a39a0[_0x79a5f1(0x16a)][_0x79a5f1(0x158)](_0x79a5f1(0x18c))['to'](this),_0x2a39a0[_0x79a5f1(0x158)](_0x79a5f1(0x161))['to'](this,_0x79a5f1(0x18c),_0x3bc792=>{const _0x151bbc=_0x79a5f1,{collapseAt:_0xc93499,displayMe:_0x3846b2}=_0x2107a2[_0x151bbc(0x18b)][_0x151bbc(0x179)](_0x151bbc(0x159)),_0x302c41=_0x3bc792>=_0xc93499;return _0x2a39a0[_0x151bbc(0x16a)][_0x151bbc(0x172)]=!(0x1==_0x3bc792&&_0x3846b2||_0x302c41),_0x302c41||this[_0x151bbc(0x155)](),_0x302c41;}),_0x2a39a0[_0x79a5f1(0x175)][_0x79a5f1(0x157)][_0x79a5f1(0x183)](this[_0x79a5f1(0x145)])[_0x79a5f1(0x17d)](_0x27f4f5=>{const _0x5deee9=_0x79a5f1,_0x31b068=_0x2107a2[_0x5deee9(0x18b)][_0x5deee9(0x179)](_0x5deee9(0x159)),_0x5238a1=new _0x560214(_0x2107a2[_0x5deee9(0x156)],_0x27f4f5,!!_0x31b068[_0x5deee9(0x16d)]);return _0x5238a1[_0x5deee9(0x158)](_0x5deee9(0x17c))['to'](_0x2a39a0,_0x5deee9(0x161),_0x482b9d=>!_0x482b9d),_0x5238a1[_0x5deee9(0x158)](_0x5deee9(0x192))['to'](_0x2a39a0,_0x5deee9(0x161),_0x351c67=>!_0x351c67),_0x31b068[_0x5deee9(0x16d)]&&this[_0x5deee9(0x18f)](_0x5238a1,_0x5deee9(0x15c),()=>{const _0x55a225=_0x5deee9;this[_0x55a225(0x147)][_0x55a225(0x161)]||_0x31b068[_0x55a225(0x16d)](_0x27f4f5,_0x5238a1[_0x55a225(0x1aa)]);}),_0x5238a1;}),this[_0x79a5f1(0x18f)](_0x2a39a0[_0x79a5f1(0x175)],_0x79a5f1(0x15c),()=>{const _0x42b3e2=_0x79a5f1;this[_0x42b3e2(0x193)]?this[_0x42b3e2(0x155)]():this[_0x42b3e2(0x147)][_0x42b3e2(0x161)]&&this[_0x42b3e2(0x1a6)]();}),_0x2a39a0[_0x79a5f1(0x175)][_0x79a5f1(0x1a5)][_0x79a5f1(0x1a8)](_0x79a5f1(0x164),(_0x13d873,_0x3399ea)=>{const _0x1be3d2=_0x79a5f1;this[_0x1be3d2(0x147)][_0x1be3d2(0x161)]&&(this[_0x1be3d2(0x1a6)](),_0x3399ea());}),_0x2a39a0[_0x79a5f1(0x14f)](),_0x468e38[_0x79a5f1(0x14f)](),_0x283362({'emitter':_0x2a39a0,'activator':()=>_0x468e38[_0x79a5f1(0x154)],'contextElements':[_0x468e38[_0x79a5f1(0x1aa)],_0x2a39a0[_0x79a5f1(0x175)][_0x79a5f1(0x1aa)]],'callback':()=>this[_0x79a5f1(0x155)]()}),_0x2107a2[_0x79a5f1(0x18b)][_0x79a5f1(0x179)](_0x79a5f1(0x196))[_0x79a5f1(0x162)](_0x2a39a0[_0x79a5f1(0x1aa)]),this[_0x79a5f1(0x16b)]=new _0x4fdf4e(this[_0x79a5f1(0x153)][_0x79a5f1(0x156)]),this[_0x79a5f1(0x16b)][_0x79a5f1(0x146)](),this[_0x79a5f1(0x16b)][_0x79a5f1(0x15f)](this[_0x79a5f1(0x1a7)]),_0x2a39a0;}[_0x73b9d9(0x17a)](_0x4ddaee){const _0x3ad8d6=_0x73b9d9;if(!this[_0x3ad8d6(0x153)][_0x3ad8d6(0x18b)][_0x3ad8d6(0x179)](_0x3ad8d6(0x19e))&&_0x4ddaee[_0x3ad8d6(0x1a3)])return;const _0x3a962d=this[_0x3ad8d6(0x153)][_0x3ad8d6(0x18b)][_0x3ad8d6(0x179)](_0x3ad8d6(0x14c))-0x1;this[_0x3ad8d6(0x18c)]++,this[_0x3ad8d6(0x145)][_0x3ad8d6(0x1a0)]==_0x3a962d&&this[_0x3ad8d6(0x145)][_0x3ad8d6(0x1a0)]>0x1&&this[_0x3ad8d6(0x145)][_0x3ad8d6(0x160)](0x1);const _0x96406d=_0x4ddaee[_0x3ad8d6(0x1a3)]?0x0:this[_0x3ad8d6(0x145)][_0x3ad8d6(0x1a0)];this[_0x3ad8d6(0x145)][_0x3ad8d6(0x15f)](_0x4ddaee,_0x96406d);}[_0x73b9d9(0x171)](_0x80813a){const _0x33aab5=_0x73b9d9;if(this[_0x33aab5(0x18c)]--,this[_0x33aab5(0x145)][_0x33aab5(0x179)](_0x80813a['id'])&&(this[_0x33aab5(0x145)][_0x33aab5(0x160)](_0x80813a['id']),this[_0x33aab5(0x145)][_0x33aab5(0x1a0)]<this[_0x33aab5(0x18c)])){for(const _0x569733 of Array[_0x33aab5(0x177)](this[_0x33aab5(0x182)])[_0x33aab5(0x17f)]())if(!this[_0x33aab5(0x145)][_0x33aab5(0x179)](_0x569733['id']))return void this[_0x33aab5(0x145)][_0x33aab5(0x15f)](_0x569733,Math[_0x33aab5(0x1a2)](this[_0x33aab5(0x145)][_0x33aab5(0x1a0)],0x1));}}[_0x73b9d9(0x1a6)](){const _0x32f741=_0x73b9d9;if(this[_0x32f741(0x193)])return;const _0x3d6c43=this[_0x32f741(0x153)][_0x32f741(0x18b)][_0x32f741(0x179)](_0x32f741(0x159));this[_0x32f741(0x193)]=new _0x52d3ae(this[_0x32f741(0x153)][_0x32f741(0x156)],!!_0x3d6c43[_0x32f741(0x16d)]),this[_0x32f741(0x147)][_0x32f741(0x175)][_0x32f741(0x14a)]=!0x0;const {listWrapperView:_0x16e2c6}=this[_0x32f741(0x193)];_0x16e2c6[_0x32f741(0x157)][_0x32f741(0x183)](this[_0x32f741(0x182)])[_0x32f741(0x17d)](_0x3e5ad4=>{const _0x512d6c=_0x32f741;if(!_0x3d6c43[_0x512d6c(0x19b)]&&_0x3e5ad4[_0x512d6c(0x1a3)])return null;const _0x3014f4=new _0x94cf01(this[_0x512d6c(0x153)][_0x512d6c(0x156)],_0x3e5ad4,!!_0x3d6c43[_0x512d6c(0x16d)]);return _0x3d6c43[_0x512d6c(0x16d)]&&this[_0x512d6c(0x18f)](_0x3014f4,_0x512d6c(0x15c),()=>{const _0xcd765b=_0x512d6c;_0x3d6c43[_0xcd765b(0x16d)](_0x3e5ad4,_0x3014f4[_0xcd765b(0x1aa)]);}),_0x3014f4;}),this[_0x32f741(0x1a7)][_0x32f741(0x18d)][_0x32f741(0x15f)](this[_0x32f741(0x193)]),this[_0x32f741(0x1a7)][_0x32f741(0x18e)]({'target':this[_0x32f741(0x147)][_0x32f741(0x175)][_0x32f741(0x1aa)]}),_0x16e2c6[_0x32f741(0x15d)](),_0x16e2c6[_0x32f741(0x195)]();const _0x2afb8d=(_0x1abd16,_0x38cf41)=>{const _0x1fc677=_0x32f741;this[_0x1fc677(0x155)](),this[_0x1fc677(0x147)][_0x1fc677(0x175)][_0x1fc677(0x15d)](),_0x38cf41();};_0x16e2c6[_0x32f741(0x1a5)][_0x32f741(0x1a8)](_0x32f741(0x15e),_0x2afb8d),_0x16e2c6[_0x32f741(0x1a5)][_0x32f741(0x1a8)](_0x32f741(0x16f),_0x2afb8d),_0x16e2c6[_0x32f741(0x1a5)][_0x32f741(0x1a8)](_0x32f741(0x194),(_0x5c4c22,_0x1fb707)=>{const _0x35fe98=_0x32f741;!function(_0x331f91){const _0x286d64=_0x2bb7,_0x480cef=['a',_0x286d64(0x184),_0x286d64(0x15b),_0x286d64(0x18a),_0x286d64(0x16e),_0x286d64(0x198),_0x286d64(0x190)][_0x286d64(0x181)](_0x9330ef=>_0x9330ef+_0x286d64(0x188))[_0x286d64(0x150)](','),_0x5253b9=[...document[_0x286d64(0x19d)][_0x286d64(0x170)](_0x480cef)][_0x286d64(0x152)](_0x2cb664=>_0x2cb664===document[_0x286d64(0x168)]||_0x2cb664[_0x286d64(0x189)]+_0x2cb664[_0x286d64(0x186)]>0x0)[_0x286d64(0x173)]((_0x383768,_0x59949a)=>(_0x383768[_0x286d64(0x19c)]||0x0)-(_0x59949a[_0x286d64(0x19c)]||0x0)),_0x20190d=_0x5253b9[_0x286d64(0x199)](_0x331f91),_0x4f1532=_0x5253b9[(_0x20190d+0x1)%_0x5253b9[_0x286d64(0x1a0)]];_0x4f1532&&_0x4f1532[_0x286d64(0x15d)]();}(this[_0x35fe98(0x147)][_0x35fe98(0x1aa)]),this[_0x35fe98(0x155)](),_0x1fb707();}),_0x16e2c6[_0x32f741(0x17b)][_0x32f741(0x15f)](this[_0x32f741(0x147)][_0x32f741(0x1aa)]),_0x16e2c6[_0x32f741(0x17b)]['on'](_0x32f741(0x14e),(_0x34ff31,_0x169c87,_0x2e134d)=>{const _0x386fd6=_0x32f741;_0x2e134d||this[_0x386fd6(0x155)]();});}[_0x73b9d9(0x155)](){const _0x120fc8=_0x73b9d9;this[_0x120fc8(0x193)]&&(this[_0x120fc8(0x147)][_0x120fc8(0x175)][_0x120fc8(0x14a)]=!0x1,this[_0x120fc8(0x1a7)][_0x120fc8(0x166)](),this[_0x120fc8(0x1a7)][_0x120fc8(0x18d)][_0x120fc8(0x160)](this[_0x120fc8(0x193)]),this[_0x120fc8(0x193)][_0x120fc8(0x174)](),this[_0x120fc8(0x193)]=void 0x0);}[_0x73b9d9(0x174)](){const _0x49b8e0=_0x73b9d9;super[_0x49b8e0(0x174)](),this[_0x49b8e0(0x147)]&&this[_0x49b8e0(0x147)][_0x49b8e0(0x17e)]&&this[_0x49b8e0(0x147)][_0x49b8e0(0x174)](),this[_0x49b8e0(0x16b)]&&(this[_0x49b8e0(0x16b)][_0x49b8e0(0x191)](),this[_0x49b8e0(0x16b)][_0x49b8e0(0x174)](),this[_0x49b8e0(0x16b)]=null);}}
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
|
|
23
|
+
(function(_0x1a2ee5,_0x1cbb2e){const _0x4bdd54=_0x5140,_0x1b0e9d=_0x1a2ee5();while(!![]){try{const _0x456594=parseInt(_0x4bdd54(0x125))/0x1+parseInt(_0x4bdd54(0x12f))/0x2*(-parseInt(_0x4bdd54(0x12b))/0x3)+parseInt(_0x4bdd54(0x127))/0x4*(-parseInt(_0x4bdd54(0x126))/0x5)+-parseInt(_0x4bdd54(0x12e))/0x6+parseInt(_0x4bdd54(0x12d))/0x7*(parseInt(_0x4bdd54(0x123))/0x8)+parseInt(_0x4bdd54(0x129))/0x9+-parseInt(_0x4bdd54(0x12c))/0xa;if(_0x456594===_0x1cbb2e)break;else _0x1b0e9d['push'](_0x1b0e9d['shift']());}catch(_0x15ced6){_0x1b0e9d['push'](_0x1b0e9d['shift']());}}}(_0x2fc6,0xe0d3a));import{View as _0x14f7e7}from'ckeditor5/src/ui.js';function _0x5140(_0x1a7190,_0x123cef){const _0x2fc65a=_0x2fc6();return _0x5140=function(_0x514099,_0x4a37a9){_0x514099=_0x514099-0x11e;let _0x5573f0=_0x2fc65a[_0x514099];return _0x5573f0;},_0x5140(_0x1a7190,_0x123cef);}import{getTranslation as _0x29ef75}from'../../common-translations.js';export default class ts extends _0x14f7e7{constructor(_0x254c4e){const _0x572c17=_0x5140;super(_0x254c4e);const _0x36fa8d=this[_0x572c17(0x11f)];this[_0x572c17(0x11e)](_0x572c17(0x120),0x0),this[_0x572c17(0x11e)](_0x572c17(0x12a),!0x0),this[_0x572c17(0x124)]({'tag':_0x572c17(0x130),'attributes':{'class':['ck',_0x572c17(0x121),_0x36fa8d['if'](_0x572c17(0x12a),_0x572c17(0x128))]},'children':[{'text':_0x36fa8d['to'](_0x572c17(0x120),_0x1d03e8=>_0x29ef75(_0x254c4e,_0x572c17(0x122),_0x1d03e8))}]});}}function _0x2fc6(){const _0x9437c0=['usersCount','ck-presence-list__counter','CONNECTED_USERS','8stWGjg','setTemplate','1392980YJTGel','7995595hfRuSX','4xZFEaC','ck-presence-list__counter--hidden','10253997mJHnck','isHidden','24Gwfslw','1156380JZXfLI','6395683ercphQ','972810XJYSxy','162050ZSlxFW','div','set','bindTemplate'];_0x2fc6=function(){return _0x9437c0;};return _0x2fc6();}
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
const
|
|
23
|
+
function _0x310b(){const _0x2e4706=['ck-presence-list__marker','name','ck-presence-list__dropdown-list-item','210zruWPc','execute','ck-user__full-name','440525hnpjRB','span','fire','focus','56628UFEeon','4640752PCwRqm','color','getBackgroundColorClass','33104646GYlojJ','true','userView','presentation','button','tag','3740835kYyGEI','163597otrQrW','148oJTYwu','setTemplate','1666936SnWYQj','element','bindTemplate'];_0x310b=function(){return _0x2e4706;};return _0x310b();}const _0x41baf0=_0x2f24;function _0x2f24(_0x233b51,_0x2e7124){const _0x310b9c=_0x310b();return _0x2f24=function(_0x2f2410,_0x53677f){_0x2f2410=_0x2f2410-0x9a;let _0x55e65e=_0x310b9c[_0x2f2410];return _0x55e65e;},_0x2f24(_0x233b51,_0x2e7124);}(function(_0x47ed07,_0x362247){const _0x891841=_0x2f24,_0x3ba1c5=_0x47ed07();while(!![]){try{const _0x4c4a60=parseInt(_0x891841(0xa7))/0x1+parseInt(_0x891841(0x9c))/0x2*(parseInt(_0x891841(0xab))/0x3)+parseInt(_0x891841(0x9e))/0x4+parseInt(_0x891841(0x9a))/0x5+parseInt(_0x891841(0xa4))/0x6*(parseInt(_0x891841(0x9b))/0x7)+parseInt(_0x891841(0xac))/0x8+-parseInt(_0x891841(0xaf))/0x9;if(_0x4c4a60===_0x362247)break;else _0x3ba1c5['push'](_0x3ba1c5['shift']());}catch(_0x3c0385){_0x3ba1c5['push'](_0x3ba1c5['shift']());}}}(_0x310b,0xb0473));import{ListItemView as _0x2cb6fe}from'ckeditor5/src/ui.js';import{UserView as _0x6df877}from'ckeditor5-collaboration/src/collaboration-core.js';export default class E extends _0x2cb6fe{constructor(_0xe2fea5,_0x5c6874,_0x29c95d){const _0x35f295=_0x2f24;super(_0xe2fea5);const _0x4394db=this[_0x35f295(0xa0)];this[_0x35f295(0xb1)]=new _0x6df877(_0xe2fea5,_0x5c6874);const _0x164950={'tag':'li','attributes':{'class':['ck',_0x35f295(0xa3)],'tabindex':-0x1,'role':_0x35f295(0xb2),'aria-label':_0x5c6874[_0x35f295(0xa2)]},'children':[this[_0x35f295(0xb1)],{'tag':_0x35f295(0xa8),'attributes':{'class':['ck',_0x35f295(0xa6)]},'children':[{'text':_0x5c6874[_0x35f295(0xa2)]}]},{'tag':_0x35f295(0xa8),'attributes':{'class':['ck',_0x35f295(0xa1),_0x5c6874[_0x35f295(0xad)][_0x35f295(0xae)]()],'aria-hidden':_0x35f295(0xb0)}}]};_0x29c95d&&(_0x164950[_0x35f295(0xb4)]=_0x35f295(0xb3),_0x164950['on']={'click':_0x4394db['to'](()=>this[_0x35f295(0xa9)](_0x35f295(0xa5)))}),this[_0x35f295(0x9d)](_0x164950);}[_0x41baf0(0xaa)](){const _0x53b9f7=_0x41baf0;this[_0x53b9f7(0x9f)][_0x53b9f7(0xaa)]();}}
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
|
|
23
|
+
const _0x5943f4=_0x2dc5;(function(_0x1a5d55,_0x5e6e17){const _0x549d4c=_0x2dc5,_0x4cdb47=_0x1a5d55();while(!![]){try{const _0x3b5579=-parseInt(_0x549d4c(0x1a4))/0x1*(parseInt(_0x549d4c(0x188))/0x2)+parseInt(_0x549d4c(0x18b))/0x3+-parseInt(_0x549d4c(0x18c))/0x4*(parseInt(_0x549d4c(0x199))/0x5)+-parseInt(_0x549d4c(0x19d))/0x6+parseInt(_0x549d4c(0x1a1))/0x7*(parseInt(_0x549d4c(0x196))/0x8)+-parseInt(_0x549d4c(0x186))/0x9*(-parseInt(_0x549d4c(0x18a))/0xa)+parseInt(_0x549d4c(0x1a6))/0xb;if(_0x3b5579===_0x5e6e17)break;else _0x4cdb47['push'](_0x4cdb47['shift']());}catch(_0x29f504){_0x4cdb47['push'](_0x4cdb47['shift']());}}}(_0xcd1f,0xa44e4));import{ListView as _0x51b425,View as _0x323004}from'ckeditor5/src/ui.js';import{global as _0x5c6336}from'ckeditor5/src/utils.js';import{getTranslation as _0x317051}from'../../common-translations.js';export default class M extends _0x323004{constructor(_0x38ab2b,_0x544ea5){const _0x149bca=_0x2dc5;super(_0x38ab2b),this[_0x149bca(0x1a3)]=new PresenceDropdownListWrapperView(_0x38ab2b,_0x544ea5),this[_0x149bca(0x189)]({'tag':_0x149bca(0x194),'attributes':{'tabindex':-0x1,'role':_0x149bca(0x1a0),'class':['ck',_0x149bca(0x185)],'aria-label':_0x317051(_0x38ab2b,_0x149bca(0x1a7))},'children':[this[_0x149bca(0x1a3)]]});}}function _0xcd1f(){const _0x3e43af=['1934190gdUMyr','136408hNkDYJ','resize','innerHeight','element','max','ck-presence-list__dropdown-list-wrapper_scrollable','bindTemplate','_isScrollable','div','ariaLabelledBy','32maAHUf','set','ck-presence-list__dropdown-list-wrapper','115rLvyar','render','clientHeight','ck-list','2550348ccQQVk','ariaLabel','checkIfScrollable','application','1699229lzcqaT','role','listWrapperView','995525bMPOUV','scrollHeight','10845868McLYbf','Connected\x20users\x20list\x20dropdown\x20menu','window','ck-reset','change','listenTo','ck-presence-list__dropdown-list','27aTJEsc','items','2xRkJYo','setTemplate','920730wntHQS'];_0xcd1f=function(){return _0x3e43af;};return _0xcd1f();}function _0x2dc5(_0x18f9a1,_0x453b2c){const _0xcd1f4b=_0xcd1f();return _0x2dc5=function(_0x2dc517,_0x2d155f){_0x2dc517=_0x2dc517-0x184;let _0x29bb64=_0xcd1f4b[_0x2dc517];return _0x29bb64;},_0x2dc5(_0x18f9a1,_0x453b2c);}export class PresenceDropdownListWrapperView extends _0x51b425{constructor(_0x53c21d,_0x88b1ed){const _0x2e5046=_0x2dc5;super(_0x53c21d);const _0x34174b=this[_0x2e5046(0x192)];this[_0x2e5046(0x197)](_0x2e5046(0x193),!0x1),this[_0x2e5046(0x189)]({'tag':_0x88b1ed?_0x2e5046(0x194):'ul','attributes':{'class':['ck',_0x2e5046(0x1a9),_0x2e5046(0x19c),_0x2e5046(0x198),_0x34174b['if'](_0x2e5046(0x193),_0x2e5046(0x191))],'role':_0x34174b['to'](_0x2e5046(0x1a2)),'aria-label':_0x34174b['to'](_0x2e5046(0x19e)),'aria-labelledby':_0x34174b['to'](_0x2e5046(0x195))},'children':this[_0x2e5046(0x187)]}),this[_0x2e5046(0x184)](_0x5c6336[_0x2e5046(0x1a8)],_0x2e5046(0x18d),()=>this[_0x2e5046(0x19f)]()),this[_0x2e5046(0x187)]['on'](_0x2e5046(0x1aa),()=>this[_0x2e5046(0x19f)]());}[_0x5943f4(0x19a)](){const _0x1dd256=_0x5943f4;super[_0x1dd256(0x19a)](),this[_0x1dd256(0x19f)]();}[_0x5943f4(0x19f)](){const _0x4f5359=_0x5943f4,_0x37ff1d=this[_0x4f5359(0x18f)];_0x37ff1d&&(this[_0x4f5359(0x193)]=Math[_0x4f5359(0x190)](_0x37ff1d[_0x4f5359(0x1a5)],_0x37ff1d[_0x4f5359(0x19b)])>0.8*window[_0x4f5359(0x18e)]);}}
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
(function(
|
|
23
|
+
(function(_0x2cdcab,_0x1c0a59){const _0x52d0f0=_0x3261,_0x5a78bc=_0x2cdcab();while(!![]){try{const _0x51b813=parseInt(_0x52d0f0(0x1ae))/0x1+-parseInt(_0x52d0f0(0x1cb))/0x2*(-parseInt(_0x52d0f0(0x1c1))/0x3)+parseInt(_0x52d0f0(0x1b8))/0x4+parseInt(_0x52d0f0(0x1aa))/0x5*(parseInt(_0x52d0f0(0x1ba))/0x6)+parseInt(_0x52d0f0(0x1af))/0x7*(parseInt(_0x52d0f0(0x1ca))/0x8)+-parseInt(_0x52d0f0(0x1be))/0x9*(parseInt(_0x52d0f0(0x1c5))/0xa)+-parseInt(_0x52d0f0(0x1ac))/0xb;if(_0x51b813===_0x1c0a59)break;else _0x5a78bc['push'](_0x5a78bc['shift']());}catch(_0x58c1b7){_0x5a78bc['push'](_0x5a78bc['shift']());}}}(_0x3b52,0x41f7e));import{LabelView as _0x58751d,View as _0x5e0999}from'ckeditor5/src/ui.js';function _0x3261(_0x117e34,_0xb21174){const _0x3b52b0=_0x3b52();return _0x3261=function(_0x32619c,_0x55725c){_0x32619c=_0x32619c-0x1a9;let _0x5bec92=_0x3b52b0[_0x32619c];return _0x5bec92;},_0x3261(_0x117e34,_0xb21174);}import{UserView as _0x205eb1}from'ckeditor5-collaboration/src/collaboration-core.js';export default class T extends _0x5e0999{constructor(_0x183128,_0x535bd4,_0x2593bd){const _0x733e5f=_0x3261;super(_0x183128);const _0x40b3a7=this[_0x733e5f(0x1b7)];this[_0x733e5f(0x1c7)](_0x733e5f(0x1bc),!0x1),this[_0x733e5f(0x1c7)](_0x733e5f(0x1ab),!0x0),this[_0x733e5f(0x1c7)](_0x733e5f(0x1b9),''),this[_0x733e5f(0x1b0)]=new _0x205eb1(_0x183128,_0x535bd4),this[_0x733e5f(0x1bb)]=new at(_0x183128,_0x535bd4);const _0x19e229=new _0x58751d(_0x183128);_0x19e229[_0x733e5f(0x1c2)][_0x733e5f(0x1bf)]=_0x733e5f(0x1b1),_0x19e229[_0x733e5f(0x1c8)]=_0x535bd4[_0x733e5f(0x1ad)];const _0xff6dbe={'tag':_0x733e5f(0x1c4),'attributes':{'class':['ck',_0x733e5f(0x1a9)],'role':_0x733e5f(0x1c0),'tabindex':_0x40b3a7['to'](_0x733e5f(0x1bc),_0x402eb0=>!!_0x402eb0&&0x0),'aria-labelledby':_0x19e229['id'],'data-cke-tooltip-text':this[_0x733e5f(0x1b0)][_0x733e5f(0x1ad)],'data-cke-tooltip-position':_0x40b3a7['to'](_0x733e5f(0x1b9)),'data-cke-tooltip-disabled':_0x40b3a7['to'](_0x733e5f(0x1ab),_0xe8d1eb=>!_0xe8d1eb),'data-cke-tooltip-class':_0x733e5f(0x1bd)},'children':[this[_0x733e5f(0x1b0)],this[_0x733e5f(0x1bb)],_0x19e229]};_0x2593bd&&(_0xff6dbe[_0x733e5f(0x1bf)]=_0x733e5f(0x1b2),_0xff6dbe['on']={'click':_0x40b3a7['to'](()=>this[_0x733e5f(0x1b5)](_0x733e5f(0x1b6)))}),this[_0x733e5f(0x1c6)](_0xff6dbe);}}class at extends _0x5e0999{constructor(_0x1c503a,_0x44e70d){const _0x2ba3b7=_0x3261;super(_0x1c503a),this[_0x2ba3b7(0x1c6)]({'tag':_0x2ba3b7(0x1b1),'attributes':{'class':['ck',_0x2ba3b7(0x1b3),_0x44e70d[_0x2ba3b7(0x1c9)][_0x2ba3b7(0x1b4)]()],'aria-hidden':_0x2ba3b7(0x1c3)}});}}function _0x3b52(){const _0x4d0c87=['ck-presence-list__list-item','24775HAdyfu','hasTooltip','5829857fLVMsP','name','189337kThMuD','7AtYQqN','userView','span','button','ck-presence-list__marker','getBackgroundColorClass','fire','execute','bindTemplate','1029804RmzYDP','tooltipPosition','336BnvSFl','markerView','isFocusable','ck-presence-list__list-item__tooltip','9imCTQw','tag','listitem','112089yZJDDo','template','true','div','2114110ZURmHV','setTemplate','set','text','color','1999784LbaMIG','2UQQWff'];_0x3b52=function(){return _0x4d0c87;};return _0x3b52();}
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
const
|
|
23
|
+
const _0x5c6a66=_0x38c0;(function(_0x31d07f,_0x374366){const _0x55f16=_0x38c0,_0x397619=_0x31d07f();while(!![]){try{const _0x3637af=parseInt(_0x55f16(0x105))/0x1+-parseInt(_0x55f16(0x104))/0x2*(parseInt(_0x55f16(0x107))/0x3)+-parseInt(_0x55f16(0x109))/0x4+parseInt(_0x55f16(0x10d))/0x5+parseInt(_0x55f16(0x11e))/0x6+-parseInt(_0x55f16(0x11d))/0x7*(parseInt(_0x55f16(0x11c))/0x8)+parseInt(_0x55f16(0x11f))/0x9;if(_0x3637af===_0x374366)break;else _0x397619['push'](_0x397619['shift']());}catch(_0x221d3b){_0x397619['push'](_0x397619['shift']());}}}(_0x46f9,0xd98be));import{View as _0x2442d0}from'ckeditor5/src/ui.js';function _0x38c0(_0x405ed1,_0x1b5b56){const _0x46f934=_0x46f9();return _0x38c0=function(_0x38c0fa,_0x4d9f37){_0x38c0fa=_0x38c0fa-0x102;let _0x3b7929=_0x46f934[_0x38c0fa];return _0x3b7929;},_0x38c0(_0x405ed1,_0x1b5b56);}function _0x46f9(){const _0x36c239=['removeAttribute','fire','change:hasPopup','bindTemplate','hasPopup','setTemplate','element','execute','listenTo','Collapsed\x20connected\x20users\x20list\x20(press\x20ENTER\x20to\x20open\x20it)','aria-expanded','isExpanded','keystrokes','56StnLbL','850031ejcSwB','2239884wIYKdC','17697420YgaUlv','ck-presence-list__list','render','Connected\x20users\x20list','createCollection','3019314KGqooW','153305TwnfwR','list','3UuPwYK','div','2792620PsUvCo','focus','set','items','7279570CNHAxc','setAttribute'];_0x46f9=function(){return _0x36c239;};return _0x46f9();}import{KeystrokeHandler as _0x30d16e}from'ckeditor5/src/utils.js';import{getTranslation as _0x17c637}from'../../common-translations.js';export default class es extends _0x2442d0{constructor(_0x214944){const _0x4ad023=_0x38c0;super(_0x214944);const _0x1b4ead=this[_0x4ad023(0x112)];this[_0x4ad023(0x10c)]=this[_0x4ad023(0x103)](),this[_0x4ad023(0x11b)]=new _0x30d16e(),this[_0x4ad023(0x10b)]({'hasPopup':!0x1,'isExpanded':!0x1}),this[_0x4ad023(0x114)]({'tag':_0x4ad023(0x108),'attributes':{'aria-haspopup':_0x1b4ead['if'](_0x4ad023(0x113)),'aria-expanded':_0x1b4ead['to'](_0x4ad023(0x11a),_0x2f5894=>this[_0x4ad023(0x113)]&&String(_0x2f5894)),'aria-label':_0x1b4ead['to'](_0x4ad023(0x113),_0x17befe=>_0x17c637(_0x214944,_0x17befe?_0x4ad023(0x118):_0x4ad023(0x102))),'role':_0x4ad023(0x106),'tabindex':_0x1b4ead['to'](_0x4ad023(0x113),_0x32a6e6=>!!_0x32a6e6&&0x0),'class':['ck',_0x4ad023(0x120)]},'children':this[_0x4ad023(0x10c)],'on':{'click':_0x1b4ead['to'](()=>this[_0x4ad023(0x110)](_0x4ad023(0x116)))}}),this['on'](_0x4ad023(0x111),(_0x3e638b,_0x2a0a48,_0x48b5bf)=>{const _0x592f41=_0x4ad023;this[_0x592f41(0x115)]&&(_0x48b5bf?this[_0x592f41(0x115)][_0x592f41(0x10e)](_0x592f41(0x119),String(this[_0x592f41(0x11a)])):this[_0x592f41(0x115)][_0x592f41(0x10f)](_0x592f41(0x119)));});}[_0x5c6a66(0x10a)](){const _0xa8e4bc=_0x5c6a66;this[_0xa8e4bc(0x115)][_0xa8e4bc(0x10a)]();}[_0x5c6a66(0x121)](){const _0x891132=_0x5c6a66;super[_0x891132(0x121)](),this[_0x891132(0x11b)][_0x891132(0x117)](this[_0x891132(0x115)]);}}
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
(function(
|
|
23
|
+
function _0xae4f(){const _0x18b680=['set','setTemplate','isCollapsed','5230ofVxyZ','440478tJaCHr','change','77148YnJmQm','counterView','4206527nQoxZY','items','listenTo','ck-presence-list--collapsed','12TiyYfJ','15smaeBg','tooltipPosition','first','591045TIIgTk','bindTemplate','756ARHRzq','28738yxceKi','ck-rounded-corners','locale','ck-presence-list','33XuhMwo','inlineListView','13576rRMSNF','hasPopup','176NUceOa','2tbNGSy','bind','ck-reset','div'];_0xae4f=function(){return _0x18b680;};return _0xae4f();}(function(_0x390225,_0x242736){const _0x44f681=_0x1b73,_0x318b3b=_0x390225();while(!![]){try{const _0x2846db=-parseInt(_0x44f681(0x92))/0x1*(-parseInt(_0x44f681(0x7b))/0x2)+-parseInt(_0x44f681(0x76))/0x3*(parseInt(_0x44f681(0x85))/0x4)+-parseInt(_0x44f681(0x8c))/0x5*(-parseInt(_0x44f681(0x83))/0x6)+-parseInt(_0x44f681(0x8f))/0x7+parseInt(_0x44f681(0x78))/0x8*(-parseInt(_0x44f681(0x91))/0x9)+-parseInt(_0x44f681(0x82))/0xa*(parseInt(_0x44f681(0x7a))/0xb)+-parseInt(_0x44f681(0x8b))/0xc*(-parseInt(_0x44f681(0x87))/0xd);if(_0x2846db===_0x242736)break;else _0x318b3b['push'](_0x318b3b['shift']());}catch(_0x40cdb1){_0x318b3b['push'](_0x318b3b['shift']());}}}(_0xae4f,0x1e878));function _0x1b73(_0x20b36a,_0xe1ee2c){const _0xae4f1d=_0xae4f();return _0x1b73=function(_0x1b735a,_0x36e6b3){_0x1b735a=_0x1b735a-0x76;let _0x118d1a=_0xae4f1d[_0x1b735a];return _0x118d1a;},_0x1b73(_0x20b36a,_0xe1ee2c);}import{View as _0x35bb42}from'ckeditor5/src/ui.js';import _0x1a3df9 from'./presencecounterview.js';import _0x1c4188 from'./presenceinlinelistview.js';import'../../../theme/presencelist.css';export default class _ extends _0x35bb42{constructor(_0x4cfad5){const _0xb27b4f=_0x1b73;super(_0x4cfad5);const _0x53467e=this[_0xb27b4f(0x90)];this[_0xb27b4f(0x7f)](_0xb27b4f(0x81),!0x0),this[_0xb27b4f(0x86)]=new _0x1a3df9(this[_0xb27b4f(0x94)]),this[_0xb27b4f(0x77)]=new _0x1c4188(_0x4cfad5),this[_0xb27b4f(0x77)][_0xb27b4f(0x7c)](_0xb27b4f(0x79))['to'](this,_0xb27b4f(0x81)),this[_0xb27b4f(0x89)](this[_0xb27b4f(0x77)][_0xb27b4f(0x88)],_0xb27b4f(0x84),()=>{const _0x30f4ec=_0xb27b4f;for(const _0x36427e of this[_0x30f4ec(0x77)][_0x30f4ec(0x88)])_0x36427e[_0x30f4ec(0x8d)]='s';this[_0x30f4ec(0x77)][_0x30f4ec(0x88)][_0x30f4ec(0x8e)]&&(this[_0x30f4ec(0x77)][_0x30f4ec(0x88)][_0x30f4ec(0x8e)][_0x30f4ec(0x8d)]='se');}),this[_0xb27b4f(0x80)]({'tag':_0xb27b4f(0x7e),'attributes':{'class':['ck',_0xb27b4f(0x95),_0xb27b4f(0x7d),_0xb27b4f(0x93),_0x53467e['if'](_0xb27b4f(0x81),_0xb27b4f(0x8a))]},'children':[this[_0xb27b4f(0x86)],this[_0xb27b4f(0x77)]]});}}
|
package/src/presencelist.js
CHANGED
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
var
|
|
23
|
+
var _0xf23601=_0x40a1;function _0x4b97(){var _0x225974=['3760872curLSI','PresenceList','25xngkjb','4892gaTQUj','21699dghAww','6666143hEsycs','897928ERxRtV','4007528SRerSN','324NfcYUK','2710czCywi','893148ArsxJL','pluginName','requires','21ydRATp'];_0x4b97=function(){return _0x225974;};return _0x4b97();}(function(_0x87d874,_0x378458){var _0x181b7c=_0x40a1,_0x2e9733=_0x87d874();while(!![]){try{var _0x2f8f46=-parseInt(_0x181b7c(0xba))/0x1*(-parseInt(_0x181b7c(0xb1))/0x2)+-parseInt(_0x181b7c(0xb7))/0x3+-parseInt(_0x181b7c(0xaf))/0x4*(-parseInt(_0x181b7c(0xb9))/0x5)+-parseInt(_0x181b7c(0xb3))/0x6+-parseInt(_0x181b7c(0xb6))/0x7*(-parseInt(_0x181b7c(0xb0))/0x8)+parseInt(_0x181b7c(0xbb))/0x9*(-parseInt(_0x181b7c(0xb2))/0xa)+-parseInt(_0x181b7c(0xbc))/0xb;if(_0x2f8f46===_0x378458)break;else _0x2e9733['push'](_0x2e9733['shift']());}catch(_0x396ef7){_0x2e9733['push'](_0x2e9733['shift']());}}}(_0x4b97,0xb8895));import{ContextPlugin as _0x15049e}from'ckeditor5/src/core.js';import _0x527628 from'./realtimecollaborativeediting/sessions.js';import _0x14379a from'./presencelist/presencelistui.js';function _0x40a1(_0xe0e068,_0x111f7d){var _0x4b9739=_0x4b97();return _0x40a1=function(_0x40a1d3,_0x43e8c1){_0x40a1d3=_0x40a1d3-0xaf;var _0xd5800a=_0x4b9739[_0x40a1d3];return _0xd5800a;},_0x40a1(_0xe0e068,_0x111f7d);}export default class i extends _0x15049e{static get[_0xf23601(0xb5)](){return[_0x527628,_0x14379a];}static get[_0xf23601(0xb4)](){var _0x1e6666=_0xf23601;return _0x1e6666(0xb8);}}
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
const _0x54a8e8=_0x33ed;(function(_0x495d4d,_0x429320){const _0x29ab2e=_0x33ed,_0x35d79c=_0x495d4d();while(!![]){try{const _0x361a49=-parseInt(_0x29ab2e(0x11e))/0x1*(-parseInt(_0x29ab2e(0x158))/0x2)+parseInt(_0x29ab2e(0x152))/0x3+-parseInt(_0x29ab2e(0x13c))/0x4*(-parseInt(_0x29ab2e(0x114))/0x5)+-parseInt(_0x29ab2e(0x167))/0x6+parseInt(_0x29ab2e(0x12c))/0x7*(parseInt(_0x29ab2e(0x10b))/0x8)+parseInt(_0x29ab2e(0x138))/0x9*(parseInt(_0x29ab2e(0x119))/0xa)+parseInt(_0x29ab2e(0x15c))/0xb*(-parseInt(_0x29ab2e(0x11a))/0xc);if(_0x361a49===_0x429320)break;else _0x35d79c['push'](_0x35d79c['shift']());}catch(_0x2587e4){_0x35d79c['push'](_0x35d79c['shift']());}}}(_0xcd97,0x4545a));import{Context as _0x4dafd8,ContextPlugin as _0x415923}from'ckeditor5/src/core.js';import{CKEditorError as _0x42fbb5}from'ckeditor5/src/utils.js';import{Users as _0x187a56}from'ckeditor5-collaboration/src/collaboration-core.js';import{CommentsService as _0x5f00ed,User as _0x59bb9f}from'@ckeditor/ckeditor-cloud-services-collaboration/src/services.js';function _0xcd97(){const _0x5045b3=['set','updateCommentThread','reopenCommentThread','catch','connect','resolve','getComment','sessionAdd:','_getService','2039862wsGsuo','permissions','addUser','getCommentThreads','cloud-services-internal-error:\x20Request\x20timeout.','setPermissions','collaboration.channelId','commentThreadRemoved','removeCommentThread','register','8AXNkls','_connectService','delete','message','assign','commentThreadAdded','requires','resolvedAt','addComment','1353900buNbZv','commentThreadResolved','disconnect','commentRemoved','deletedAt','1630PAIRtT','10362276XDKMht','from','size','CommentsService','209639DlQjcO','cloudservicescommentsadapter-disconnect-not-exist','commentId','mySessionId','updateComment','addToReconnectionStack','_fetchMissingUsersForThreads','context','authorId','reconnect','createdAt','_terminateService','_services','get','3601514zgkVYM','404','keys','has','getCommentThread','resolvedBy','code','init','plugins','CloudServicesCommentsAdapter','add','reopen','3906qbhZow','getMany','commentUpdated','CommentsRepository','4yijncA','getConnectedSessions','cloudservicescommentsadapter-service-not-exist','getUser','off','config','resolveCommentThread','startsWith','removeComment','addCommentThread','comments','cloudservicescommentsadapter-connect-already-connected','commentThreadReopened','cloud-services-internal-error:\x20Not\x20connected.','adapter','_setUpService','commentAdded','listenTo','attributes','remove','commentThreadId','pluginName','1264725iSicHy','map','unregister','update','Permissions','commentThreadUpdated','2phoUcp','userId','cloud-services-internal-error:\x20Comments\x20Service\x20is\x20not\x20connected.','destroy','11Xiytzc','content'];_0xcd97=function(){return _0x5045b3;};return _0xcd97();}import _0x553ab9 from'../realtimecollaborativeediting/websocketgateway.js';import _0x10d488 from'../realtimecollaborativeediting/sessions.js';function _0x33ed(_0xaa32af,_0xfc734){const _0xcd97f8=_0xcd97();return _0x33ed=function(_0x33ed45,_0x21239d){_0x33ed45=_0x33ed45-0x105;let _0x25a51a=_0xcd97f8[_0x33ed45];return _0x25a51a;},_0x33ed(_0xaa32af,_0xfc734);}class a extends _0x415923{static get[_0x54a8e8(0x111)](){const _0x586fd5=_0x54a8e8;return[_0x553ab9,_0x586fd5(0x13b),_0x10d488,_0x187a56];}static get[_0x54a8e8(0x151)](){const _0x5c6384=_0x54a8e8;return _0x5c6384(0x135);}constructor(_0x4c37df){const _0x5d049f=_0x54a8e8;super(_0x4c37df),this[_0x5d049f(0x12a)]=new Map();}async[_0x54a8e8(0x133)](){const _0x20e6c7=_0x54a8e8,_0x315ef4=this[_0x20e6c7(0x125)],_0x395fa8=_0x315ef4[_0x20e6c7(0x134)][_0x20e6c7(0x12b)](_0x20e6c7(0x13b));if(_0x315ef4[_0x20e6c7(0x134)][_0x20e6c7(0x12b)](_0x553ab9)[_0x20e6c7(0x123)](this),_0x395fa8[_0x20e6c7(0x14a)]={'addCommentThread':async({channelId:_0x169c24,threadId:_0x4942be,comments:_0x1b7df9,resolvedAt:_0x37a7f5,resolvedBy:_0x55d464,context:_0x1f42d0,attributes:_0x5cdbba})=>{const _0x5dbbd0=_0x20e6c7,_0x233c08=await this[_0x5dbbd0(0x166)](_0x169c24)[_0x5dbbd0(0x145)]({'commentThreadId':_0x4942be,'comments':_0x1b7df9[_0x5dbbd0(0x153)](_0x15e8de=>function(_0x41546b,_0x2f3926,_0x490c36){const _0x18d378=_0x5dbbd0;return{'commentThreadId':_0x490c36,'commentId':_0x41546b[_0x18d378(0x120)],'userId':_0x41546b[_0x18d378(0x126)],'content':_0x41546b[_0x18d378(0x15d)],'documentId':_0x2f3926,'createdAt':_0x41546b[_0x18d378(0x128)],'attributes':_0x41546b[_0x18d378(0x14e)]||{}};}(_0x15e8de,_0x169c24,_0x4942be)),'resolvedAt':_0x37a7f5,'resolvedBy':_0x55d464,'context':_0x1f42d0,'attributes':_0x5cdbba})[_0x5dbbd0(0x161)](R);return{'threadId':_0x233c08[_0x5dbbd0(0x150)],'comments':_0x233c08[_0x5dbbd0(0x146)]};},'getCommentThread':async({channelId:_0x3c72c1,threadId:_0x2f68b2})=>{const _0x40186c=_0x20e6c7,_0x1e1937=await this[_0x40186c(0x166)](_0x3c72c1)[_0x40186c(0x130)](_0x2f68b2)[_0x40186c(0x161)](R);return _0x1e1937[_0x40186c(0x118)]?null:(await this[_0x40186c(0x124)]([_0x1e1937]),{'threadId':_0x1e1937[_0x40186c(0x150)],'comments':_0x1e1937[_0x40186c(0x146)][_0x40186c(0x153)](S),'context':_0x1e1937[_0x40186c(0x125)],'resolvedAt':_0x1e1937[_0x40186c(0x112)],'resolvedBy':_0x1e1937[_0x40186c(0x131)],'attributes':_0x1e1937[_0x40186c(0x14e)]||{}});},'updateCommentThread':async({channelId:_0x222fc8,threadId:_0x9e03b8,context:_0x349275,unlinkedAt:_0x28b6b4,attributes:_0x8d3402})=>this[_0x20e6c7(0x166)](_0x222fc8)[_0x20e6c7(0x15f)]({'commentThreadId':_0x9e03b8,'context':_0x349275,'attributes':_0x8d3402,'unlinkedAt':_0x28b6b4})[_0x20e6c7(0x161)](B)[_0x20e6c7(0x161)](R),'resolveCommentThread':async({channelId:_0x2b2495,threadId:_0x1b7577})=>{const _0xd5d9c6=_0x20e6c7,_0x2193e0=await this[_0xd5d9c6(0x166)](_0x2b2495)[_0xd5d9c6(0x142)](_0x1b7577)[_0xd5d9c6(0x161)](B)[_0xd5d9c6(0x161)](R);return{'threadId':_0x2193e0[_0xd5d9c6(0x150)],'resolvedAt':_0x2193e0[_0xd5d9c6(0x112)],'resolvedBy':_0x2193e0[_0xd5d9c6(0x131)]};},'reopenCommentThread':async({channelId:_0x335776,threadId:_0x49cc26})=>this[_0x20e6c7(0x166)](_0x335776)[_0x20e6c7(0x160)](_0x49cc26)[_0x20e6c7(0x161)](B)[_0x20e6c7(0x161)](R),'removeCommentThread':({channelId:_0x4708ab,threadId:_0x4a856e})=>this[_0x20e6c7(0x166)](_0x4708ab)[_0x20e6c7(0x109)](_0x4a856e)[_0x20e6c7(0x161)](B)[_0x20e6c7(0x161)](R),'addComment':({channelId:_0x210a8c,threadId:_0x316150,commentId:_0x3b5c8d,content:_0xd44101,attributes:_0x1c0ca1})=>this[_0x20e6c7(0x166)](_0x210a8c)[_0x20e6c7(0x113)](_0x316150,_0x3b5c8d,_0xd44101,_0x1c0ca1)[_0x20e6c7(0x161)](R),'updateComment':({channelId:_0x255f46,threadId:_0x4d4817,commentId:_0x3e140b,content:_0x1725e7,attributes:_0x37a84f})=>this[_0x20e6c7(0x166)](_0x255f46)[_0x20e6c7(0x122)](_0x4d4817,_0x3e140b,_0x1725e7,_0x37a84f)[_0x20e6c7(0x161)](B)[_0x20e6c7(0x161)](R),'removeComment':({channelId:_0x5bdc64,threadId:_0x37ab49,commentId:_0x3716aa})=>this[_0x20e6c7(0x166)](_0x5bdc64)[_0x20e6c7(0x144)](_0x37ab49,_0x3716aa)[_0x20e6c7(0x161)](B)[_0x20e6c7(0x161)](R)},_0x315ef4 instanceof _0x4dafd8){const _0x47db00=_0x315ef4[_0x20e6c7(0x141)][_0x20e6c7(0x12b)](_0x20e6c7(0x107)),_0x97f54e=_0x315ef4[_0x20e6c7(0x134)][_0x20e6c7(0x12b)](_0x10d488);await this[_0x20e6c7(0x14b)](_0x47db00);const _0x4e4892=await this[_0x20e6c7(0x12a)][_0x20e6c7(0x12b)](_0x47db00)[_0x20e6c7(0x13d)]();this[_0x20e6c7(0x14d)](_0x97f54e,_0x20e6c7(0x165)+_0x47db00,(_0x22bf37,{session:_0x4218bb})=>{const _0x27b0f2=_0x20e6c7;_0x4218bb['id']===_0x97f54e[_0x27b0f2(0x121)]&&(_0x22bf37[_0x27b0f2(0x140)](),this[_0x27b0f2(0x125)][_0x27b0f2(0x134)][_0x27b0f2(0x12b)](_0x27b0f2(0x156))[_0x27b0f2(0x106)](_0x4218bb[_0x27b0f2(0x168)],_0x47db00));}),_0x97f54e[_0x20e6c7(0x10a)](_0x47db00,_0x4e4892);}}async[_0x54a8e8(0x14b)](_0x12624c){const _0x17063a=_0x54a8e8;if(this[_0x17063a(0x12a)][_0x17063a(0x12f)](_0x12624c))throw new _0x42fbb5(_0x17063a(0x147),null,{'channelId':_0x12624c});const _0x503aee=this[_0x17063a(0x125)][_0x17063a(0x134)][_0x17063a(0x12b)](_0x17063a(0x13b)),_0x332fa6=new a[(_0x17063a(0x11d))](_0x12624c);this[_0x17063a(0x12a)][_0x17063a(0x15e)](_0x12624c,_0x332fa6),this[_0x17063a(0x14d)](_0x332fa6,_0x17063a(0x110),(_0xea7bb8,_0x569131)=>{const _0x190cb9=_0x17063a,{commentThreadId:_0x3f5789,documentId:_0x3e5830,context:_0x167104,attributes:_0x2e65f0,resolvedAt:_0x46000a,resolvedBy:_0x4ebd90,comments:_0x154608}=_0x569131;_0x503aee[_0x190cb9(0x130)](_0x3f5789)||_0x503aee[_0x190cb9(0x145)]({'threadId':_0x3f5789,'channelId':_0x3e5830,'comments':_0x154608?_0x154608[_0x190cb9(0x153)](S):[],'context':_0x167104,'attributes':_0x2e65f0,'resolvedAt':_0x46000a,'resolvedBy':_0x4ebd90,'isFromAdapter':!0x0});}),this[_0x17063a(0x14d)](_0x332fa6,_0x17063a(0x157),(_0x24cd7d,{commentThreadId:_0x2ba91d,documentId:_0x4c7a01,context:_0x579596,unlinkedAt:_0x37ddf5,attributes:_0x361bcd})=>{const _0x1c5b35=_0x17063a;_0x503aee[_0x1c5b35(0x130)](_0x2ba91d)&&_0x503aee[_0x1c5b35(0x15f)]({'threadId':_0x2ba91d,'channelId':_0x4c7a01,'context':_0x579596,'unlinkedAt':_0x37ddf5,'attributes':_0x361bcd,'isFromAdapter':!0x0});}),this[_0x17063a(0x14d)](_0x332fa6,_0x17063a(0x115),(_0x159a22,{commentThreadId:_0x58687c,resolvedBy:_0x1d1ead,resolvedAt:_0x254100})=>{const _0x207c3f=_0x17063a,_0x39b687=_0x503aee[_0x207c3f(0x130)](_0x58687c);_0x39b687&&_0x39b687[_0x207c3f(0x163)]({'resolvedBy':_0x1d1ead,'resolvedAt':_0x254100,'isFromAdapter':!0x0});}),this[_0x17063a(0x14d)](_0x332fa6,_0x17063a(0x148),(_0x15e276,{commentThreadId:_0x3f240d})=>{const _0x2a5d6c=_0x17063a,_0x29b7d0=_0x503aee[_0x2a5d6c(0x130)](_0x3f240d);_0x29b7d0&&_0x29b7d0[_0x2a5d6c(0x137)]({'isFromAdapter':!0x0});}),this[_0x17063a(0x14d)](_0x332fa6,_0x17063a(0x108),(_0x15b1ce,{commentThreadId:_0x225844})=>{const _0x3f9c94=_0x17063a,_0x4e95d8=_0x503aee[_0x3f9c94(0x130)](_0x225844);_0x4e95d8&&_0x4e95d8[_0x3f9c94(0x14f)]({'isFromAdapter':!0x0});}),this[_0x17063a(0x14d)](_0x332fa6,_0x17063a(0x14c),(_0x3994dd,_0x589300)=>{const _0x218a52=_0x17063a,_0x361639=_0x589300[_0x218a52(0x150)],_0x433fb5=_0x503aee[_0x218a52(0x130)](_0x361639);_0x433fb5&&_0x433fb5[_0x218a52(0x113)]({...S(_0x589300),'isFromAdapter':!0x0});}),this[_0x17063a(0x14d)](_0x332fa6,_0x17063a(0x13a),(_0x520e2b,{commentThreadId:_0x1e701a,commentId:_0x3099b1,content:_0x3bb86e,attributes:_0x25325b})=>{const _0x37a815=_0x17063a,_0x1aaa67=_0x503aee[_0x37a815(0x130)](_0x1e701a);if(_0x1aaa67){const _0x283dbd=_0x1aaa67[_0x37a815(0x164)](_0x3099b1);_0x283dbd&&_0x283dbd[_0x37a815(0x155)]({'content':_0x3bb86e,'attributes':_0x25325b,'isFromAdapter':!0x0});}}),this[_0x17063a(0x14d)](_0x332fa6,_0x17063a(0x117),(_0x3fd09d,{commentThreadId:_0x4c5e79,commentId:_0x12cf3b})=>{const _0x2edf97=_0x17063a,_0x3e74a2=_0x503aee[_0x2edf97(0x130)](_0x4c5e79);if(_0x3e74a2){const _0x494554=_0x3e74a2[_0x2edf97(0x164)](_0x12cf3b);_0x494554&&_0x494554[_0x2edf97(0x14f)]({'isFromAdapter':!0x0});}}),await this[_0x17063a(0x10c)](_0x12624c);}[_0x54a8e8(0x15b)](){const _0x453140=_0x54a8e8;if(this[_0x453140(0x125)]instanceof _0x4dafd8){const _0x896642=this[_0x453140(0x125)][_0x453140(0x141)][_0x453140(0x12b)](_0x453140(0x107));this[_0x453140(0x129)](_0x896642);}}[_0x54a8e8(0x129)](_0x495753){const _0x396653=_0x54a8e8;if(!this[_0x396653(0x12a)][_0x396653(0x12f)](_0x495753))throw new _0x42fbb5(_0x396653(0x11f),null,{'channelId':_0x495753});this[_0x396653(0x166)](_0x495753)[_0x396653(0x116)](),this[_0x396653(0x12a)][_0x396653(0x10d)](_0x495753);}async[_0x54a8e8(0x127)](){const _0xcef71d=_0x54a8e8;for(const _0x16baf7 of this[_0xcef71d(0x12a)][_0xcef71d(0x12e)]())await this[_0xcef71d(0x10c)](_0x16baf7);if(this[_0xcef71d(0x125)]instanceof _0x4dafd8){const _0x43af1c=this[_0xcef71d(0x125)][_0xcef71d(0x141)][_0xcef71d(0x12b)](_0xcef71d(0x107)),_0x2dd783=this[_0xcef71d(0x125)][_0xcef71d(0x134)][_0xcef71d(0x12b)](_0x10d488);_0x2dd783[_0xcef71d(0x154)](_0x43af1c);const _0xe1f2b3=await this[_0xcef71d(0x12a)][_0xcef71d(0x12b)](_0x43af1c)[_0xcef71d(0x13d)]();_0x2dd783[_0xcef71d(0x10a)](_0x43af1c,_0xe1f2b3);}}async[_0x54a8e8(0x10c)](_0x4c5987){const _0x58890c=_0x54a8e8,{connection:_0x3e9ad8}=this[_0x58890c(0x125)][_0x58890c(0x134)][_0x58890c(0x12b)](_0x553ab9),_0x1a3891=this[_0x58890c(0x125)][_0x58890c(0x134)][_0x58890c(0x12b)](_0x58890c(0x13b)),_0x374a86=this[_0x58890c(0x12a)][_0x58890c(0x12b)](_0x4c5987),_0x561122=await _0x374a86[_0x58890c(0x162)](_0x3e9ad8);await this[_0x58890c(0x124)](_0x561122);const _0x174ad9=new Set(Array[_0x58890c(0x11b)](_0x1a3891[_0x58890c(0x16a)]({'channelId':_0x4c5987}),_0x2082fd=>_0x2082fd['id']));for(const _0x2f3c55 of _0x561122)_0x2f3c55[_0x58890c(0x118)]||_0x174ad9[_0x58890c(0x10d)](_0x2f3c55[_0x58890c(0x150)]);for(const _0x4b7bf2 of _0x174ad9)_0x1a3891[_0x58890c(0x130)](_0x4b7bf2)[_0x58890c(0x14f)]({'isFromAdapter':!0x0});for(const _0x568f4d of _0x561122){let _0x1d7d95=_0x1a3891[_0x58890c(0x130)](_0x568f4d[_0x58890c(0x150)]);const {commentThreadId:_0xab00b6,context:_0x50c557,attributes:_0x51bac4,resolvedBy:_0xaeb722,resolvedAt:_0x1404bb,unlinkedAt:_0x1eec1e,deletedAt:_0x1014a7}=_0x568f4d;if(_0x1014a7)continue;_0x1d7d95||(_0x1d7d95=_0x1a3891[_0x58890c(0x145)]({'channelId':_0x4c5987,'threadId':_0xab00b6,'context':_0x50c557,'attributes':_0x51bac4||{},'resolvedBy':_0xaeb722,'resolvedAt':_0x1404bb,'unlinkedAt':_0x1eec1e,'isFromAdapter':!0x0}));const _0x41d0a3=new Set(Array[_0x58890c(0x11b)](_0x1d7d95[_0x58890c(0x146)],_0x1a3d78=>_0x1a3d78['id']));for(const _0x42a386 of _0x568f4d[_0x58890c(0x146)])_0x41d0a3[_0x58890c(0x10d)](_0x42a386[_0x58890c(0x120)]);for(const _0x58f47a of _0x41d0a3)_0x1d7d95[_0x58890c(0x164)](_0x58f47a)[_0x58890c(0x14f)]({'isFromAdapter':!0x0});for(const _0x34fa48 of _0x568f4d[_0x58890c(0x146)]){const _0x17bacb=_0x1d7d95[_0x58890c(0x164)](_0x34fa48[_0x58890c(0x120)]);_0x17bacb?_0x17bacb[_0x58890c(0x15d)]!==_0x34fa48[_0x58890c(0x15d)]&&_0x17bacb[_0x58890c(0x155)]({'content':_0x34fa48[_0x58890c(0x15d)],'isFromAdapter':!0x0}):_0x1d7d95[_0x58890c(0x113)](Object[_0x58890c(0x10f)](S(_0x34fa48),{'isFromAdapter':!0x0}));}}}[_0x54a8e8(0x166)](_0x421184){const _0x4c5cc4=_0x54a8e8;if(!this[_0x4c5cc4(0x12a)][_0x4c5cc4(0x12f)](_0x421184))throw new _0x42fbb5(_0x4c5cc4(0x13e),null,{'channelId':_0x421184});return this[_0x4c5cc4(0x12a)][_0x4c5cc4(0x12b)](_0x421184);}async[_0x54a8e8(0x124)](_0x4f3bb7){const _0x1729ad=_0x54a8e8,_0x17a842=this[_0x1729ad(0x125)][_0x1729ad(0x134)][_0x1729ad(0x12b)](_0x187a56),{connection:_0x1cba39}=this[_0x1729ad(0x125)][_0x1729ad(0x134)][_0x1729ad(0x12b)](_0x553ab9),_0x18ef4a=new Set();for(const {resolvedBy:_0x2d935f,comments:_0x4f7aeb}of _0x4f3bb7){_0x2d935f&&!_0x17a842[_0x1729ad(0x13f)](_0x2d935f)&&_0x18ef4a[_0x1729ad(0x136)](_0x2d935f);for(const {userId:_0x41610b}of _0x4f7aeb)_0x17a842[_0x1729ad(0x13f)](_0x41610b)||_0x18ef4a[_0x1729ad(0x136)](_0x41610b);}if(0x0===_0x18ef4a[_0x1729ad(0x11c)])return;const _0x3ade80=await _0x59bb9f[_0x1729ad(0x139)](_0x1cba39,Array[_0x1729ad(0x11b)](_0x18ef4a));for(const _0x1e0907 of _0x3ade80)_0x17a842[_0x1729ad(0x13f)](_0x1e0907['id'])||_0x17a842[_0x1729ad(0x169)](_0x1e0907);}}a[_0x54a8e8(0x11d)]=_0x5f00ed;export default a;async function B(_0x3974e5){const _0x2c49f6=_0x54a8e8;if(_0x2c49f6(0x12d)!==_0x3974e5[_0x2c49f6(0x132)])throw _0x3974e5;}function R(_0x2d3449){const _0x5555d8=_0x54a8e8;if((_0x395696=_0x2d3449)[_0x5555d8(0x10e)][_0x5555d8(0x143)](_0x5555d8(0x15a))||_0x395696[_0x5555d8(0x10e)][_0x5555d8(0x143)](_0x5555d8(0x149))||_0x395696[_0x5555d8(0x10e)][_0x5555d8(0x143)](_0x5555d8(0x105)))return new Promise(()=>{});var _0x395696;throw _0x2d3449;}function S(_0x1e9e30){const _0x3152c0=_0x54a8e8;return{'threadId':_0x1e9e30[_0x3152c0(0x150)],'commentId':_0x1e9e30[_0x3152c0(0x120)],'content':_0x1e9e30[_0x3152c0(0x15d)],'createdAt':_0x1e9e30[_0x3152c0(0x128)],'authorId':_0x1e9e30[_0x3152c0(0x159)],'attributes':_0x1e9e30[_0x3152c0(0x14e)]||{}};}
|
|
23
|
+
const _0x3a9fd5=_0x22f2;(function(_0x3fb333,_0x23058d){const _0x11d097=_0x22f2,_0x39f2c8=_0x3fb333();while(!![]){try{const _0x4cee9d=-parseInt(_0x11d097(0x230))/0x1+parseInt(_0x11d097(0x204))/0x2*(-parseInt(_0x11d097(0x1df))/0x3)+-parseInt(_0x11d097(0x22f))/0x4+parseInt(_0x11d097(0x1ef))/0x5+-parseInt(_0x11d097(0x217))/0x6*(parseInt(_0x11d097(0x1ff))/0x7)+parseInt(_0x11d097(0x1f1))/0x8*(-parseInt(_0x11d097(0x218))/0x9)+parseInt(_0x11d097(0x226))/0xa*(parseInt(_0x11d097(0x1e5))/0xb);if(_0x4cee9d===_0x23058d)break;else _0x39f2c8['push'](_0x39f2c8['shift']());}catch(_0x4c6d37){_0x39f2c8['push'](_0x39f2c8['shift']());}}}(_0x36b6,0x30cd7));function _0x36b6(){const _0x328bba=['resolveCommentThread','has','_connectService','mySessionId','resolvedBy','126biSoMq','_fetchMissingUsersForThreads','disconnect','cloud-services-internal-error:\x20Request\x20timeout.','removeComment','config','11WvhWPZ','removeCommentThread','getCommentThread','commentThreadAdded','message','addCommentThread','code','keys','CommentsRepository','404','1374585vxdGAA','reconnect','184288qFVyRy','cloud-services-internal-error:\x20Comments\x20Service\x20is\x20not\x20connected.','collaboration.channelId','context','addUser','adapter','authorId','startsWith','_getService','updateComment','add','commentId','userId','deletedAt','14SKpaOO','assign','commentThreadUpdated','reopen','_services','5516Liucpa','init','resolvedAt','updateCommentThread','CommentsService','attributes','requires','register','get','setPermissions','map','plugins','connect','remove','set','reopenCommentThread','update','cloudservicescommentsadapter-connect-already-connected','commentUpdated','950412kZAWXm','36BRMehR','cloud-services-internal-error:\x20Not\x20connected.','cloudservicescommentsadapter-service-not-exist','destroy','getConnectedSessions','CloudServicesCommentsAdapter','commentRemoved','content','getComment','listenTo','commentThreadId','addComment','getUser','unregister','8663080AiiSKL','addToReconnectionStack','commentThreadRemoved','commentThreadResolved','commentAdded','off','getCommentThreads','getMany','createdAt','727132IoditA','234763usJldr','resolve','permissions','Permissions','delete','cloudservicescommentsadapter-disconnect-not-exist','catch','size','comments','sessionAdd:','commentThreadReopened','pluginName','_terminateService','_setUpService','from'];_0x36b6=function(){return _0x328bba;};return _0x36b6();}import{Context as _0x593b2d,ContextPlugin as _0x7d9f7}from'ckeditor5/src/core.js';import{CKEditorError as _0x5d0f58}from'ckeditor5/src/utils.js';import{Users as _0x2267e8}from'ckeditor5-collaboration/src/collaboration-core.js';import{CommentsService as _0x382426,User as _0x32e60c}from'@ckeditor/ckeditor-cloud-services-collaboration/src/services.js';import _0x24bd61 from'../realtimecollaborativeediting/websocketgateway.js';import _0x2c812f from'../realtimecollaborativeediting/sessions.js';class a extends _0x7d9f7{static get[_0x3a9fd5(0x20a)](){const _0x4abe67=_0x3a9fd5;return[_0x24bd61,_0x4abe67(0x1ed),_0x2c812f,_0x2267e8];}static get[_0x3a9fd5(0x1d6)](){const _0x24e4f0=_0x3a9fd5;return _0x24e4f0(0x21d);}constructor(_0x27bb67){const _0x432c78=_0x3a9fd5;super(_0x27bb67),this[_0x432c78(0x203)]=new Map();}async[_0x3a9fd5(0x205)](){const _0x560bf2=_0x3a9fd5,_0x20896b=this[_0x560bf2(0x1f4)],_0x5371ba=_0x20896b[_0x560bf2(0x20f)][_0x560bf2(0x20c)](_0x560bf2(0x1ed));if(_0x20896b[_0x560bf2(0x20f)][_0x560bf2(0x20c)](_0x24bd61)[_0x560bf2(0x227)](this),_0x5371ba[_0x560bf2(0x1f6)]={'addCommentThread':async({channelId:_0x14fde4,threadId:_0x5283fd,comments:_0x39041f,resolvedAt:_0x1162a1,resolvedBy:_0x16c3a2,context:_0x3697fe,attributes:_0x4a9678})=>{const _0x3d50a8=_0x560bf2,_0x257e29=await this[_0x3d50a8(0x1f9)](_0x14fde4)[_0x3d50a8(0x1ea)]({'commentThreadId':_0x5283fd,'comments':_0x39041f[_0x3d50a8(0x20e)](_0x175e93=>function(_0x106829,_0x4e2882,_0x7671cb){const _0x3cbc1e=_0x3d50a8;return{'commentThreadId':_0x7671cb,'commentId':_0x106829[_0x3cbc1e(0x1fc)],'userId':_0x106829[_0x3cbc1e(0x1f7)],'content':_0x106829[_0x3cbc1e(0x21f)],'documentId':_0x4e2882,'createdAt':_0x106829[_0x3cbc1e(0x22e)],'attributes':_0x106829[_0x3cbc1e(0x209)]||{}};}(_0x175e93,_0x14fde4,_0x5283fd)),'resolvedAt':_0x1162a1,'resolvedBy':_0x16c3a2,'context':_0x3697fe,'attributes':_0x4a9678})[_0x3d50a8(0x1d1)](w);return{'threadId':_0x257e29[_0x3d50a8(0x222)],'comments':_0x257e29[_0x3d50a8(0x1d3)]};},'getCommentThread':async({channelId:_0x13c8d6,threadId:_0x107830})=>{const _0x59e8=_0x560bf2,_0x1802fe=await this[_0x59e8(0x1f9)](_0x13c8d6)[_0x59e8(0x1e7)](_0x107830)[_0x59e8(0x1d1)](w);return _0x1802fe[_0x59e8(0x1fe)]?null:(await this[_0x59e8(0x1e0)]([_0x1802fe]),{'threadId':_0x1802fe[_0x59e8(0x222)],'comments':_0x1802fe[_0x59e8(0x1d3)][_0x59e8(0x20e)](b),'context':_0x1802fe[_0x59e8(0x1f4)],'resolvedAt':_0x1802fe[_0x59e8(0x206)],'resolvedBy':_0x1802fe[_0x59e8(0x1de)],'attributes':_0x1802fe[_0x59e8(0x209)]||{}});},'updateCommentThread':async({channelId:_0x1d4df1,threadId:_0x57f0bf,context:_0x523b93,unlinkedAt:_0x579a7b,attributes:_0x335dfd})=>this[_0x560bf2(0x1f9)](_0x1d4df1)[_0x560bf2(0x207)]({'commentThreadId':_0x57f0bf,'context':_0x523b93,'attributes':_0x335dfd,'unlinkedAt':_0x579a7b})[_0x560bf2(0x1d1)](y)[_0x560bf2(0x1d1)](w),'resolveCommentThread':async({channelId:_0x5dc78c,threadId:_0x498478})=>{const _0x44b0ca=_0x560bf2,_0x41919f=await this[_0x44b0ca(0x1f9)](_0x5dc78c)[_0x44b0ca(0x1da)](_0x498478)[_0x44b0ca(0x1d1)](y)[_0x44b0ca(0x1d1)](w);return{'threadId':_0x41919f[_0x44b0ca(0x222)],'resolvedAt':_0x41919f[_0x44b0ca(0x206)],'resolvedBy':_0x41919f[_0x44b0ca(0x1de)]};},'reopenCommentThread':async({channelId:_0x46c1d4,threadId:_0x4455c6})=>this[_0x560bf2(0x1f9)](_0x46c1d4)[_0x560bf2(0x213)](_0x4455c6)[_0x560bf2(0x1d1)](y)[_0x560bf2(0x1d1)](w),'removeCommentThread':({channelId:_0xebb7c7,threadId:_0x1a3ad4})=>this[_0x560bf2(0x1f9)](_0xebb7c7)[_0x560bf2(0x1e6)](_0x1a3ad4)[_0x560bf2(0x1d1)](y)[_0x560bf2(0x1d1)](w),'addComment':({channelId:_0x525c20,threadId:_0x1a5a06,commentId:_0x3bd811,content:_0x4dc82d,attributes:_0x547ff9})=>this[_0x560bf2(0x1f9)](_0x525c20)[_0x560bf2(0x223)](_0x1a5a06,_0x3bd811,_0x4dc82d,_0x547ff9)[_0x560bf2(0x1d1)](w),'updateComment':({channelId:_0x9d68a3,threadId:_0x31f882,commentId:_0x2b3bf7,content:_0x8a7889,attributes:_0x12da2b})=>this[_0x560bf2(0x1f9)](_0x9d68a3)[_0x560bf2(0x1fa)](_0x31f882,_0x2b3bf7,_0x8a7889,_0x12da2b)[_0x560bf2(0x1d1)](y)[_0x560bf2(0x1d1)](w),'removeComment':({channelId:_0x27bb13,threadId:_0x5a78c2,commentId:_0x30b052})=>this[_0x560bf2(0x1f9)](_0x27bb13)[_0x560bf2(0x1e3)](_0x5a78c2,_0x30b052)[_0x560bf2(0x1d1)](y)[_0x560bf2(0x1d1)](w)},_0x20896b instanceof _0x593b2d){const _0x292518=_0x20896b[_0x560bf2(0x1e4)][_0x560bf2(0x20c)](_0x560bf2(0x1f3)),_0x31d293=_0x20896b[_0x560bf2(0x20f)][_0x560bf2(0x20c)](_0x2c812f);await this[_0x560bf2(0x1d8)](_0x292518);const _0x8c12e4=await this[_0x560bf2(0x203)][_0x560bf2(0x20c)](_0x292518)[_0x560bf2(0x21c)]();this[_0x560bf2(0x221)](_0x31d293,_0x560bf2(0x1d4)+_0x292518,(_0x1da231,{session:_0x523544})=>{const _0x16c232=_0x560bf2;_0x523544['id']===_0x31d293[_0x16c232(0x1dd)]&&(_0x1da231[_0x16c232(0x22b)](),this[_0x16c232(0x1f4)][_0x16c232(0x20f)][_0x16c232(0x20c)](_0x16c232(0x1ce))[_0x16c232(0x20d)](_0x523544[_0x16c232(0x232)],_0x292518));}),_0x31d293[_0x560bf2(0x20b)](_0x292518,_0x8c12e4);}}async[_0x3a9fd5(0x1d8)](_0x36da51){const _0x12f577=_0x3a9fd5;if(this[_0x12f577(0x203)][_0x12f577(0x1db)](_0x36da51))throw new _0x5d0f58(_0x12f577(0x215),null,{'channelId':_0x36da51});const _0x1801b9=this[_0x12f577(0x1f4)][_0x12f577(0x20f)][_0x12f577(0x20c)](_0x12f577(0x1ed)),_0x11aa27=new a[(_0x12f577(0x208))](_0x36da51);this[_0x12f577(0x203)][_0x12f577(0x212)](_0x36da51,_0x11aa27),this[_0x12f577(0x221)](_0x11aa27,_0x12f577(0x1e8),(_0x101840,_0x2506a6)=>{const _0x25abe6=_0x12f577,{commentThreadId:_0x32d754,documentId:_0x176ea7,context:_0x191e81,attributes:_0x224e8b,resolvedAt:_0x518502,resolvedBy:_0x3cc73c,comments:_0x4e0760}=_0x2506a6;_0x1801b9[_0x25abe6(0x1e7)](_0x32d754)||_0x1801b9[_0x25abe6(0x1ea)]({'threadId':_0x32d754,'channelId':_0x176ea7,'comments':_0x4e0760?_0x4e0760[_0x25abe6(0x20e)](b):[],'context':_0x191e81,'attributes':_0x224e8b,'resolvedAt':_0x518502,'resolvedBy':_0x3cc73c,'isFromAdapter':!0x0});}),this[_0x12f577(0x221)](_0x11aa27,_0x12f577(0x201),(_0xf13558,{commentThreadId:_0x2bf522,documentId:_0x23beb4,context:_0x29bc05,unlinkedAt:_0x5673b2,attributes:_0x3ac271})=>{const _0x22a6bb=_0x12f577;_0x1801b9[_0x22a6bb(0x1e7)](_0x2bf522)&&_0x1801b9[_0x22a6bb(0x207)]({'threadId':_0x2bf522,'channelId':_0x23beb4,'context':_0x29bc05,'unlinkedAt':_0x5673b2,'attributes':_0x3ac271,'isFromAdapter':!0x0});}),this[_0x12f577(0x221)](_0x11aa27,_0x12f577(0x229),(_0x406f5f,{commentThreadId:_0x53328c,resolvedBy:_0x208ac6,resolvedAt:_0x1c9427})=>{const _0x57af3e=_0x12f577,_0x4e7426=_0x1801b9[_0x57af3e(0x1e7)](_0x53328c);_0x4e7426&&_0x4e7426[_0x57af3e(0x231)]({'resolvedBy':_0x208ac6,'resolvedAt':_0x1c9427,'isFromAdapter':!0x0});}),this[_0x12f577(0x221)](_0x11aa27,_0x12f577(0x1d5),(_0x38f0af,{commentThreadId:_0x4aa76d})=>{const _0x5cecd5=_0x12f577,_0x2435c2=_0x1801b9[_0x5cecd5(0x1e7)](_0x4aa76d);_0x2435c2&&_0x2435c2[_0x5cecd5(0x202)]({'isFromAdapter':!0x0});}),this[_0x12f577(0x221)](_0x11aa27,_0x12f577(0x228),(_0x70a958,{commentThreadId:_0xb9aa26})=>{const _0x2d5a25=_0x12f577,_0x26a9f9=_0x1801b9[_0x2d5a25(0x1e7)](_0xb9aa26);_0x26a9f9&&_0x26a9f9[_0x2d5a25(0x211)]({'isFromAdapter':!0x0});}),this[_0x12f577(0x221)](_0x11aa27,_0x12f577(0x22a),(_0x48e56e,_0x574933)=>{const _0x5205b6=_0x12f577,_0x49c12d=_0x574933[_0x5205b6(0x222)],_0x4b2086=_0x1801b9[_0x5205b6(0x1e7)](_0x49c12d);_0x4b2086&&_0x4b2086[_0x5205b6(0x223)]({...b(_0x574933),'isFromAdapter':!0x0});}),this[_0x12f577(0x221)](_0x11aa27,_0x12f577(0x216),(_0x55cb55,{commentThreadId:_0x4d3391,commentId:_0x1b94ed,content:_0x241361,attributes:_0x56f385})=>{const _0x3d828f=_0x12f577,_0x2d5c56=_0x1801b9[_0x3d828f(0x1e7)](_0x4d3391);if(_0x2d5c56){const _0x3dc1bc=_0x2d5c56[_0x3d828f(0x220)](_0x1b94ed);_0x3dc1bc&&_0x3dc1bc[_0x3d828f(0x214)]({'content':_0x241361,'attributes':_0x56f385,'isFromAdapter':!0x0});}}),this[_0x12f577(0x221)](_0x11aa27,_0x12f577(0x21e),(_0x375fa,{commentThreadId:_0x1dc019,commentId:_0x171fae})=>{const _0x3c407a=_0x12f577,_0x5fda04=_0x1801b9[_0x3c407a(0x1e7)](_0x1dc019);if(_0x5fda04){const _0x3fd306=_0x5fda04[_0x3c407a(0x220)](_0x171fae);_0x3fd306&&_0x3fd306[_0x3c407a(0x211)]({'isFromAdapter':!0x0});}}),await this[_0x12f577(0x1dc)](_0x36da51);}[_0x3a9fd5(0x21b)](){const _0x4bebb6=_0x3a9fd5;if(this[_0x4bebb6(0x1f4)]instanceof _0x593b2d){const _0x3cb9ec=this[_0x4bebb6(0x1f4)][_0x4bebb6(0x1e4)][_0x4bebb6(0x20c)](_0x4bebb6(0x1f3));this[_0x4bebb6(0x1d7)](_0x3cb9ec);}}[_0x3a9fd5(0x1d7)](_0x1c77db){const _0x5499e8=_0x3a9fd5;if(!this[_0x5499e8(0x203)][_0x5499e8(0x1db)](_0x1c77db))throw new _0x5d0f58(_0x5499e8(0x1d0),null,{'channelId':_0x1c77db});this[_0x5499e8(0x1f9)](_0x1c77db)[_0x5499e8(0x1e1)](),this[_0x5499e8(0x203)][_0x5499e8(0x1cf)](_0x1c77db);}async[_0x3a9fd5(0x1f0)](){const _0xff0c3=_0x3a9fd5;for(const _0x30284e of this[_0xff0c3(0x203)][_0xff0c3(0x1ec)]())await this[_0xff0c3(0x1dc)](_0x30284e);if(this[_0xff0c3(0x1f4)]instanceof _0x593b2d){const _0x53fbad=this[_0xff0c3(0x1f4)][_0xff0c3(0x1e4)][_0xff0c3(0x20c)](_0xff0c3(0x1f3)),_0x498425=this[_0xff0c3(0x1f4)][_0xff0c3(0x20f)][_0xff0c3(0x20c)](_0x2c812f);_0x498425[_0xff0c3(0x225)](_0x53fbad);const _0x2af7de=await this[_0xff0c3(0x203)][_0xff0c3(0x20c)](_0x53fbad)[_0xff0c3(0x21c)]();_0x498425[_0xff0c3(0x20b)](_0x53fbad,_0x2af7de);}}async[_0x3a9fd5(0x1dc)](_0x47e13e){const _0x2a0eb2=_0x3a9fd5,{connection:_0x5af085}=this[_0x2a0eb2(0x1f4)][_0x2a0eb2(0x20f)][_0x2a0eb2(0x20c)](_0x24bd61),_0x344d87=this[_0x2a0eb2(0x1f4)][_0x2a0eb2(0x20f)][_0x2a0eb2(0x20c)](_0x2a0eb2(0x1ed)),_0x1744e3=this[_0x2a0eb2(0x203)][_0x2a0eb2(0x20c)](_0x47e13e),_0x170af2=await _0x1744e3[_0x2a0eb2(0x210)](_0x5af085);await this[_0x2a0eb2(0x1e0)](_0x170af2);const _0x2809fc=new Set(Array[_0x2a0eb2(0x1d9)](_0x344d87[_0x2a0eb2(0x22c)]({'channelId':_0x47e13e}),_0x4d81b5=>_0x4d81b5['id']));for(const _0x3ed9a1 of _0x170af2)_0x3ed9a1[_0x2a0eb2(0x1fe)]||_0x2809fc[_0x2a0eb2(0x1cf)](_0x3ed9a1[_0x2a0eb2(0x222)]);for(const _0x55ccdb of _0x2809fc)_0x344d87[_0x2a0eb2(0x1e7)](_0x55ccdb)[_0x2a0eb2(0x211)]({'isFromAdapter':!0x0});for(const _0x18f3a8 of _0x170af2){let _0x21ba5b=_0x344d87[_0x2a0eb2(0x1e7)](_0x18f3a8[_0x2a0eb2(0x222)]);const {commentThreadId:_0x510509,context:_0x1c831c,attributes:_0x5cad02,resolvedBy:_0x22c0ce,resolvedAt:_0xb31a44,unlinkedAt:_0x1290f7,deletedAt:_0x4feba0}=_0x18f3a8;if(_0x4feba0)continue;_0x21ba5b||(_0x21ba5b=_0x344d87[_0x2a0eb2(0x1ea)]({'channelId':_0x47e13e,'threadId':_0x510509,'context':_0x1c831c,'attributes':_0x5cad02||{},'resolvedBy':_0x22c0ce,'resolvedAt':_0xb31a44,'unlinkedAt':_0x1290f7,'isFromAdapter':!0x0}));const _0x488abd=new Set(Array[_0x2a0eb2(0x1d9)](_0x21ba5b[_0x2a0eb2(0x1d3)],_0xd67976=>_0xd67976['id']));for(const _0x2928f9 of _0x18f3a8[_0x2a0eb2(0x1d3)])_0x488abd[_0x2a0eb2(0x1cf)](_0x2928f9[_0x2a0eb2(0x1fc)]);for(const _0x14bb4a of _0x488abd)_0x21ba5b[_0x2a0eb2(0x220)](_0x14bb4a)[_0x2a0eb2(0x211)]({'isFromAdapter':!0x0});for(const _0x387051 of _0x18f3a8[_0x2a0eb2(0x1d3)]){const _0x53c9b4=_0x21ba5b[_0x2a0eb2(0x220)](_0x387051[_0x2a0eb2(0x1fc)]);_0x53c9b4?_0x53c9b4[_0x2a0eb2(0x21f)]!==_0x387051[_0x2a0eb2(0x21f)]&&_0x53c9b4[_0x2a0eb2(0x214)]({'content':_0x387051[_0x2a0eb2(0x21f)],'isFromAdapter':!0x0}):_0x21ba5b[_0x2a0eb2(0x223)](Object[_0x2a0eb2(0x200)](b(_0x387051),{'isFromAdapter':!0x0}));}}}[_0x3a9fd5(0x1f9)](_0x418758){const _0x1613ef=_0x3a9fd5;if(!this[_0x1613ef(0x203)][_0x1613ef(0x1db)](_0x418758))throw new _0x5d0f58(_0x1613ef(0x21a),null,{'channelId':_0x418758});return this[_0x1613ef(0x203)][_0x1613ef(0x20c)](_0x418758);}async[_0x3a9fd5(0x1e0)](_0x40f713){const _0xbb854d=_0x3a9fd5,_0x1add4a=this[_0xbb854d(0x1f4)][_0xbb854d(0x20f)][_0xbb854d(0x20c)](_0x2267e8),{connection:_0x405369}=this[_0xbb854d(0x1f4)][_0xbb854d(0x20f)][_0xbb854d(0x20c)](_0x24bd61),_0x18163e=new Set();for(const {resolvedBy:_0x17ca50,comments:_0x5b03f2}of _0x40f713){_0x17ca50&&!_0x1add4a[_0xbb854d(0x224)](_0x17ca50)&&_0x18163e[_0xbb854d(0x1fb)](_0x17ca50);for(const {userId:_0x161d23}of _0x5b03f2)_0x1add4a[_0xbb854d(0x224)](_0x161d23)||_0x18163e[_0xbb854d(0x1fb)](_0x161d23);}if(0x0===_0x18163e[_0xbb854d(0x1d2)])return;const _0x99687d=await _0x32e60c[_0xbb854d(0x22d)](_0x405369,Array[_0xbb854d(0x1d9)](_0x18163e));for(const _0x54d282 of _0x99687d)_0x1add4a[_0xbb854d(0x224)](_0x54d282['id'])||_0x1add4a[_0xbb854d(0x1f5)](_0x54d282);}}function _0x22f2(_0x5d1326,_0x2a3a5d){const _0x36b6bf=_0x36b6();return _0x22f2=function(_0x22f263,_0x5cf53d){_0x22f263=_0x22f263-0x1ce;let _0x55b27a=_0x36b6bf[_0x22f263];return _0x55b27a;},_0x22f2(_0x5d1326,_0x2a3a5d);}a[_0x3a9fd5(0x208)]=_0x382426;export default a;async function y(_0x202063){const _0x2121a4=_0x3a9fd5;if(_0x2121a4(0x1ee)!==_0x202063[_0x2121a4(0x1eb)])throw _0x202063;}function w(_0x485452){const _0x41b015=_0x3a9fd5;if((_0x3e0ca1=_0x485452)[_0x41b015(0x1e9)][_0x41b015(0x1f8)](_0x41b015(0x1f2))||_0x3e0ca1[_0x41b015(0x1e9)][_0x41b015(0x1f8)](_0x41b015(0x219))||_0x3e0ca1[_0x41b015(0x1e9)][_0x41b015(0x1f8)](_0x41b015(0x1e2)))return new Promise(()=>{});var _0x3e0ca1;throw _0x485452;}function b(_0xbf611){const _0x47c159=_0x3a9fd5;return{'threadId':_0xbf611[_0x47c159(0x222)],'commentId':_0xbf611[_0x47c159(0x1fc)],'content':_0xbf611[_0x47c159(0x21f)],'createdAt':_0xbf611[_0x47c159(0x22e)],'authorId':_0xbf611[_0x47c159(0x1fd)],'attributes':_0xbf611[_0x47c159(0x209)]||{}};}
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
const
|
|
23
|
+
const _0x51ff23=_0xf81d;(function(_0x60d6f6,_0x18d288){const _0x167333=_0xf81d,_0x142240=_0x60d6f6();while(!![]){try{const _0x27e7ce=-parseInt(_0x167333(0x155))/0x1*(-parseInt(_0x167333(0x16e))/0x2)+parseInt(_0x167333(0x165))/0x3*(parseInt(_0x167333(0x163))/0x4)+parseInt(_0x167333(0x160))/0x5*(parseInt(_0x167333(0x16a))/0x6)+-parseInt(_0x167333(0x159))/0x7*(-parseInt(_0x167333(0x158))/0x8)+parseInt(_0x167333(0x176))/0x9*(parseInt(_0x167333(0x156))/0xa)+-parseInt(_0x167333(0x15e))/0xb+-parseInt(_0x167333(0x157))/0xc*(parseInt(_0x167333(0x175))/0xd);if(_0x27e7ce===_0x18d288)break;else _0x142240['push'](_0x142240['shift']());}catch(_0x3051b1){_0x142240['push'](_0x142240['shift']());}}}(_0x189b,0x2b4a4));import{Plugin as _0x3cd22c}from'ckeditor5/src/core.js';import _0x2c8464 from'./realtimecollaborativecomments/cloudservicescommentsadapter.js';function _0xf81d(_0x5eb6c0,_0x3dd50c){const _0x189b6d=_0x189b();return _0xf81d=function(_0xf81de7,_0x2aaf72){_0xf81de7=_0xf81de7-0x154;let _0xefde9a=_0x189b6d[_0xf81de7];return _0xefde9a;},_0xf81d(_0x5eb6c0,_0x3dd50c);}function _0x189b(){const _0xf6e4a8=['163665XPNKqz','_setUpService','editor','129SdpyOD','10NtxJlu','84cGzqfT','68344HjKIpw','280rDaLSj','collaboration.channelId','get','once','plugins','117799ITKmDP','init','12755cHrcXX','connected','destroy','23620ZxRPBQ','isThreadsLoadingPaused','69LJigmp','requires','CommentsEditing','data','change:state','606deFzwm','pluginName','Comments','ready','958cpXJWE','listenTo','_terminateService','config','RealTimeCollaborativeComments','switchReadOnly','CommentsRepository','1164683GOxRjh'];_0x189b=function(){return _0xf6e4a8;};return _0x189b();}import _0x32efbe from'./realtimecollaborativeediting.js';import _0x2c3bd3 from'./realtimecollaborativeediting/websocketgateway.js';export default class m extends _0x3cd22c{static get[_0x51ff23(0x166)](){const _0x3ad6fe=_0x51ff23;return[_0x3ad6fe(0x16c),_0x2c8464,_0x32efbe,_0x2c3bd3];}static get[_0x51ff23(0x16b)](){const _0x4ea155=_0x51ff23;return _0x4ea155(0x172);}[_0x51ff23(0x15f)](){const _0x337c5d=_0x51ff23,_0x416adb=this[_0x337c5d(0x154)][_0x337c5d(0x15d)][_0x337c5d(0x15b)](_0x2c3bd3),_0x2ab982=this[_0x337c5d(0x154)][_0x337c5d(0x15d)][_0x337c5d(0x15b)](_0x337c5d(0x167)),_0x389ff0=this[_0x337c5d(0x154)][_0x337c5d(0x15d)][_0x337c5d(0x15b)](_0x2c8464);return this[_0x337c5d(0x154)][_0x337c5d(0x168)][_0x337c5d(0x15c)](_0x337c5d(0x16d),()=>{const _0x38ccd4=_0x337c5d;this[_0x38ccd4(0x16f)](_0x416adb,_0x38ccd4(0x169),(_0x2b6c84,_0x37a31b,_0xa613bf)=>{const _0x3321d6=_0x38ccd4;_0x2ab982[_0x3321d6(0x164)]=_0x3321d6(0x161)!==_0xa613bf;});}),this[_0x337c5d(0x16f)](_0x416adb,_0x337c5d(0x169),(_0x4aef74,_0x2031ef,_0x3cce99)=>{const _0x1321e3=_0x337c5d;this[_0x1321e3(0x154)][_0x1321e3(0x15d)][_0x1321e3(0x15b)](_0x1321e3(0x174))[_0x1321e3(0x173)](_0x1321e3(0x161)!==_0x3cce99);}),_0x389ff0[_0x337c5d(0x177)](this[_0x337c5d(0x154)][_0x337c5d(0x171)][_0x337c5d(0x15b)](_0x337c5d(0x15a)));}[_0x51ff23(0x162)](){const _0x31afbc=_0x51ff23;this[_0x31afbc(0x154)][_0x31afbc(0x15d)][_0x31afbc(0x15b)](_0x2c8464)[_0x31afbc(0x170)](this[_0x31afbc(0x154)][_0x31afbc(0x171)][_0x31afbc(0x15b)](_0x31afbc(0x15a))),super[_0x31afbc(0x162)]();}}
|