@ckeditor/ckeditor5-real-time-collaboration 43.1.0-alpha.6 → 43.1.0-alpha.7
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
|
+
(_0x5248a5=>{const {'zh-cn':{dictionary:_0x5affc2,getPluralForm:_0x2ea5f0}}={'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':_0x74e161=>0x0}};_0x5248a5['zh-cn']||={'dictionary':{},'getPluralForm':null},_0x5248a5['zh-cn']['dictionary']=Object['assign'](_0x5248a5['zh-cn']['dictionary'],_0x5affc2),_0x5248a5['zh-cn']['getPluralForm']=_0x2ea5f0;})(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':_0x53abf1=>0x0}};
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
(
|
|
23
|
+
(_0xfe3243=>{const {zh:{dictionary:_0x5c6e7a,getPluralForm:_0x588599}}={'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':_0x25e002=>0x0}};_0xfe3243['zh']||={'dictionary':{},'getPluralForm':null},_0xfe3243['zh']['dictionary']=Object['assign'](_0xfe3243['zh']['dictionary'],_0x5c6e7a),_0xfe3243['zh']['getPluralForm']=_0x588599;})(window['CKEDITOR_TRANSLATIONS']||={});
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@ckeditor/ckeditor5-real-time-collaboration",
|
|
3
|
-
"version": "43.1.0-alpha.
|
|
3
|
+
"version": "43.1.0-alpha.7",
|
|
4
4
|
"description": "A set of CKEditor 5 features enabling real-time collaboration within the editor using CKEditor Cloud Services.",
|
|
5
5
|
"license": "SEE LICENSE IN LICENSE.md",
|
|
6
6
|
"author": "CKSource (http://cksource.com/)",
|
|
@@ -42,14 +42,14 @@
|
|
|
42
42
|
],
|
|
43
43
|
"dependencies": {
|
|
44
44
|
"@ckeditor/ckeditor-cloud-services-collaboration": "52.6.10",
|
|
45
|
-
"@ckeditor/ckeditor5-core": "43.1.0-alpha.
|
|
46
|
-
"@ckeditor/ckeditor5-engine": "43.1.0-alpha.
|
|
47
|
-
"@ckeditor/ckeditor5-operations-compressor": "43.1.0-alpha.
|
|
48
|
-
"@ckeditor/ckeditor5-theme-lark": "43.1.0-alpha.
|
|
49
|
-
"@ckeditor/ckeditor5-ui": "43.1.0-alpha.
|
|
50
|
-
"@ckeditor/ckeditor5-utils": "43.1.0-alpha.
|
|
51
|
-
"ckeditor5": "43.1.0-alpha.
|
|
52
|
-
"ckeditor5-collaboration": "43.1.0-alpha.
|
|
45
|
+
"@ckeditor/ckeditor5-core": "43.1.0-alpha.7",
|
|
46
|
+
"@ckeditor/ckeditor5-engine": "43.1.0-alpha.7",
|
|
47
|
+
"@ckeditor/ckeditor5-operations-compressor": "43.1.0-alpha.7",
|
|
48
|
+
"@ckeditor/ckeditor5-theme-lark": "43.1.0-alpha.7",
|
|
49
|
+
"@ckeditor/ckeditor5-ui": "43.1.0-alpha.7",
|
|
50
|
+
"@ckeditor/ckeditor5-utils": "43.1.0-alpha.7",
|
|
51
|
+
"ckeditor5": "43.1.0-alpha.7",
|
|
52
|
+
"ckeditor5-collaboration": "43.1.0-alpha.7",
|
|
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(_0x316aff,_0x3e59d0,_0xd1bdde){const t=_0x316aff['t'];switch(_0x3e59d0){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'},_0xd1bdde);default:return'';}}
|
package/src/index.js
CHANGED
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
(function(
|
|
23
|
+
(function(_0x3474b4,_0x4d99ed){var _0x1d48e4=_0x43a5,_0x119d2f=_0x3474b4();while(!![]){try{var _0x5372d0=parseInt(_0x1d48e4(0x1e7))/0x1*(-parseInt(_0x1d48e4(0x1e0))/0x2)+parseInt(_0x1d48e4(0x1e8))/0x3*(parseInt(_0x1d48e4(0x1e4))/0x4)+parseInt(_0x1d48e4(0x1dd))/0x5*(-parseInt(_0x1d48e4(0x1de))/0x6)+-parseInt(_0x1d48e4(0x1e3))/0x7*(-parseInt(_0x1d48e4(0x1e2))/0x8)+-parseInt(_0x1d48e4(0x1e6))/0x9*(-parseInt(_0x1d48e4(0x1df))/0xa)+parseInt(_0x1d48e4(0x1e1))/0xb+-parseInt(_0x1d48e4(0x1e5))/0xc;if(_0x5372d0===_0x4d99ed)break;else _0x119d2f['push'](_0x119d2f['shift']());}catch(_0x38c15c){_0x119d2f['push'](_0x119d2f['shift']());}}}(_0x4786,0x87ce6));export{default as RealTimeCollaborativeEditing}from'./realtimecollaborativeediting.js';export{default as RealTimeCollaborativeTrackChanges}from'./realtimecollaborativetrackchanges.js';export{default as RealTimeCollaborativeComments}from'./realtimecollaborativecomments.js';export{default as RealTimeCollaborativeRevisionHistory}from'./realtimecollaborativerevisionhistory.js';export{default as CloudServicesCommentsAdapter}from'./realtimecollaborativecomments/cloudservicescommentsadapter.js';export{default as CloudServicesTrackChangesAdapter}from'./realtimecollaborativetrackchanges/cloudservicestrackchangesadapter.js';export{default as CloudServicesRevisionHistoryAdapter}from'./realtimecollaborativerevisionhistory/cloudservicesrevisionhistoryadapter.js';function _0x43a5(_0x40638c,_0x350ee5){var _0x47861=_0x4786();return _0x43a5=function(_0x43a5cd,_0x30406e){_0x43a5cd=_0x43a5cd-0x1dd;var _0x149d8b=_0x47861[_0x43a5cd];return _0x149d8b;},_0x43a5(_0x40638c,_0x350ee5);}export{default as RealTimeCollaborationClient}from'./realtimecollaborativeediting/realtimecollaborationclient.js';export{default as PresenceList}from'./presencelist.js';function _0x4786(){var _0x1ff012=['15mYjWmX','1637598RHhOGY','1730AZhYur','675574SUvJfP','5728129rciuol','8sFYmCl','1414077QvYaWK','4rvkGJN','3621756kPLMUf','27585aoLekO','2cJpCgG','3298359ENWnyr'];_0x4786=function(){return _0x1ff012;};return _0x4786();}import'./augmentation.js';
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
const _0x2de90b=_0x38ca;(function(_0x6bcc8c,_0x59b590){const _0x41543b=_0x38ca,_0x263e1f=_0x6bcc8c();while(!![]){try{const _0x4d2689=parseInt(_0x41543b(0x182))/0x1+-parseInt(_0x41543b(0x1a2))/0x2+parseInt(_0x41543b(0x197))/0x3+parseInt(_0x41543b(0x1b3))/0x4+parseInt(_0x41543b(0x18a))/0x5*(parseInt(_0x41543b(0x179))/0x6)+-parseInt(_0x41543b(0x18d))/0x7+-parseInt(_0x41543b(0x184))/0x8*(parseInt(_0x41543b(0x18c))/0x9);if(_0x4d2689===_0x59b590)break;else _0x263e1f['push'](_0x263e1f['shift']());}catch(_0x481291){_0x263e1f['push'](_0x263e1f['shift']());}}}(_0x540c,0x87ee4));import{ContextPlugin as _0x5984f0}from'ckeditor5/src/core.js';import{CKEditorError as _0x50ca4c,Collection as _0x33c7c7}from'ckeditor5/src/utils.js';import{clickOutsideHandler as _0x14f6d5,BalloonPanelView as _0x43de5f,BodyCollection as _0x220395}from'ckeditor5/src/ui.js';function _0x38ca(_0x2d69b8,_0x1a9084){const _0x540c19=_0x540c();return _0x38ca=function(_0x38ca8a,_0x219efa){_0x38ca8a=_0x38ca8a-0x168;let _0x35c61f=_0x540c19[_0x38ca8a];return _0x35c61f;},_0x38ca(_0x2d69b8,_0x1a9084);}function _0x540c(){const _0x366270=['usersCount','from','querySelectorAll','bindTo','Shift+Tab','map','_allConnectedUsers','_createView','isCollapsed','isVisible','remove','get','unpin','presenceList','min','config','define','showDropdown','destroy','presenceList.container','_handleUserAdd','ck\x20ck-presence-list__balloon','context','_bodyCollection','offsetHeight','displayMe','onClick','focusTracker','set','class','pin','24jWzKOq','add','init','presenceDropdownView','items','keystrokes','Enter','offsetWidth','body','353872GIPtGH','presenceList.collapseAt','3140112QGyAYz','activeElement','inlineListView','textarea','using','presencelist-collapseat-invalid-format','1083110jkMseU','isRendered','9emRllR','4565029SkZfwE','counterView','reverse','render','detachFromDom','attachToDom','bind','execute','currentDisplayedUsers','allConnectedUsers','529830IJjsZt','Esc','filter','locale','button','balloonPanelView','requires','plugins','number','length','_handleUserRemove','687622rLhbOR','focus','isMe','select','join','appendChild','presenceList.displayMe','Tab','hasTooltip','change:isFocused','isFocusable','indexOf',':not([disabled]):not([tabindex=\x22-1\x22])','hideDropdown','sort','input','tabIndex','2193096KbohCt','isExpanded','content','checkIfScrollable','listenTo','view','presencelist-missing-container','element','isHidden','[tabindex]','[contenteditable]'];_0x540c=function(){return _0x366270;};return _0x540c();}import{isElement as _0x57ccc0}from'lodash-es';import _0x207e17 from'../realtimecollaborativeediting/sessions.js';import _0x484d1f from'./view/presencelistview.js';import _0x1ee066 from'./view/presencedropdownlistview.js';import _0x5c8e64 from'./view/presencedropdownlistitemview.js';import _0x5ed105 from'./view/presenceinlinelistitemview.js';const A={'collapseAt':0x6,'displayMe':!0x0};export default class s extends _0x5984f0{constructor(_0x5451a7){const _0x1a3a76=_0x38ca;super(_0x5451a7),this[_0x1a3a76(0x171)]=null,this[_0x1a3a76(0x170)][_0x1a3a76(0x169)][_0x1a3a76(0x16a)](_0x1a3a76(0x1cb),A);const _0x21b2fc=_0x5451a7[_0x1a3a76(0x169)][_0x1a3a76(0x1c9)](_0x1a3a76(0x183));if(_0x1a3a76(0x19f)!=typeof _0x21b2fc)throw new _0x50ca4c(_0x1a3a76(0x189),this);if(_0x21b2fc<0x1)throw new _0x50ca4c(_0x1a3a76(0x189),this);this[_0x1a3a76(0x1c4)]=this[_0x1a3a76(0x170)][_0x1a3a76(0x19e)][_0x1a3a76(0x1c9)](_0x207e17)[_0x1a3a76(0x196)],this[_0x1a3a76(0x176)](_0x1a3a76(0x1be),0x0),this[_0x1a3a76(0x195)]=new _0x33c7c7(),this[_0x1a3a76(0x19c)]=new _0x43de5f(),this[_0x1a3a76(0x19c)][_0x1a3a76(0x177)]=_0x1a3a76(0x16f),this[_0x1a3a76(0x1b8)]=this[_0x1a3a76(0x1c5)](),this[_0x1a3a76(0x17c)]=void 0x0;}static get[_0x2de90b(0x19d)](){return[_0x207e17];}[_0x2de90b(0x17b)](){const _0x5e2e8d=_0x2de90b;for(const _0x57a649 of this[_0x5e2e8d(0x1c4)])this[_0x5e2e8d(0x16e)](_0x57a649);this[_0x5e2e8d(0x1b7)](this[_0x5e2e8d(0x1c4)],_0x5e2e8d(0x17a),(_0x40a7b0,_0x236c48)=>{const _0x4184b9=_0x5e2e8d;this[_0x4184b9(0x16e)](_0x236c48);}),this[_0x5e2e8d(0x1b7)](this[_0x5e2e8d(0x1c4)],_0x5e2e8d(0x1c8),(_0x43c8aa,_0x428b24)=>{const _0x37b744=_0x5e2e8d;this[_0x37b744(0x1a1)](_0x428b24);});}[_0x2de90b(0x1c5)](){const _0x504a2b=_0x2de90b,_0x9a1453=this[_0x504a2b(0x170)],_0x14b08a=new _0x484d1f(this[_0x504a2b(0x170)][_0x504a2b(0x19a)]),_0x136ffb=this[_0x504a2b(0x19c)];if(!_0x57ccc0(_0x9a1453[_0x504a2b(0x169)][_0x504a2b(0x1c9)](_0x504a2b(0x16d))))throw new _0x50ca4c(_0x504a2b(0x1b9),this);return _0x14b08a[_0x504a2b(0x18e)][_0x504a2b(0x193)](_0x504a2b(0x1be))['to'](this),_0x14b08a[_0x504a2b(0x193)](_0x504a2b(0x1c6))['to'](this,_0x504a2b(0x1be),_0x157143=>{const _0x1d48ca=_0x504a2b,{collapseAt:_0x8b598d,displayMe:_0x208218}=_0x9a1453[_0x1d48ca(0x169)][_0x1d48ca(0x1c9)](_0x1d48ca(0x1cb)),_0x5f486e=_0x157143>=_0x8b598d;return _0x14b08a[_0x1d48ca(0x18e)][_0x1d48ca(0x1bb)]=!(0x1==_0x157143&&_0x208218||_0x5f486e),_0x5f486e||this[_0x1d48ca(0x1af)](),_0x5f486e;}),_0x14b08a[_0x504a2b(0x186)][_0x504a2b(0x17d)][_0x504a2b(0x1c1)](this[_0x504a2b(0x195)])[_0x504a2b(0x188)](_0x1714af=>{const _0x359503=_0x504a2b,_0xca0c88=_0x9a1453[_0x359503(0x169)][_0x359503(0x1c9)](_0x359503(0x1cb)),_0x4cd3f6=new _0x5ed105(_0x9a1453[_0x359503(0x19a)],_0x1714af,!!_0xca0c88[_0x359503(0x174)]);return _0x4cd3f6[_0x359503(0x193)](_0x359503(0x1aa))['to'](_0x14b08a,_0x359503(0x1c6),_0x4d561e=>!_0x4d561e),_0x4cd3f6[_0x359503(0x193)](_0x359503(0x1ac))['to'](_0x14b08a,_0x359503(0x1c6),_0x2530fa=>!_0x2530fa),_0xca0c88[_0x359503(0x174)]&&this[_0x359503(0x1b7)](_0x4cd3f6,_0x359503(0x194),()=>{const _0x4e1e05=_0x359503;this[_0x4e1e05(0x1b8)][_0x4e1e05(0x1c6)]||_0xca0c88[_0x4e1e05(0x174)](_0x1714af,_0x4cd3f6[_0x4e1e05(0x1ba)]);}),_0x4cd3f6;}),this[_0x504a2b(0x1b7)](_0x14b08a[_0x504a2b(0x186)],_0x504a2b(0x194),()=>{const _0x3936fa=_0x504a2b;this[_0x3936fa(0x17c)]?this[_0x3936fa(0x1af)]():this[_0x3936fa(0x1b8)][_0x3936fa(0x1c6)]&&this[_0x3936fa(0x16b)]();}),_0x14b08a[_0x504a2b(0x186)][_0x504a2b(0x17e)][_0x504a2b(0x176)](_0x504a2b(0x17f),(_0x15fa62,_0x4a468d)=>{const _0x59378f=_0x504a2b;this[_0x59378f(0x1b8)][_0x59378f(0x1c6)]&&(this[_0x59378f(0x16b)](),_0x4a468d());}),_0x14b08a[_0x504a2b(0x190)](),_0x136ffb[_0x504a2b(0x190)](),_0x14f6d5({'emitter':_0x14b08a,'activator':()=>_0x136ffb[_0x504a2b(0x1c7)],'contextElements':[_0x136ffb[_0x504a2b(0x1ba)],_0x14b08a[_0x504a2b(0x186)][_0x504a2b(0x1ba)]],'callback':()=>this[_0x504a2b(0x1af)]()}),_0x9a1453[_0x504a2b(0x169)][_0x504a2b(0x1c9)](_0x504a2b(0x16d))[_0x504a2b(0x1a7)](_0x14b08a[_0x504a2b(0x1ba)]),this[_0x504a2b(0x171)]=new _0x220395(this[_0x504a2b(0x170)][_0x504a2b(0x19a)]),this[_0x504a2b(0x171)][_0x504a2b(0x192)](),this[_0x504a2b(0x171)][_0x504a2b(0x17a)](this[_0x504a2b(0x19c)]),_0x14b08a;}[_0x2de90b(0x16e)](_0x210996){const _0x279dd4=_0x2de90b;if(!this[_0x279dd4(0x170)][_0x279dd4(0x169)][_0x279dd4(0x1c9)](_0x279dd4(0x1a8))&&_0x210996[_0x279dd4(0x1a4)])return;const _0x1bdc39=this[_0x279dd4(0x170)][_0x279dd4(0x169)][_0x279dd4(0x1c9)](_0x279dd4(0x183))-0x1;this[_0x279dd4(0x1be)]++,this[_0x279dd4(0x195)][_0x279dd4(0x1a0)]==_0x1bdc39&&this[_0x279dd4(0x195)][_0x279dd4(0x1a0)]>0x1&&this[_0x279dd4(0x195)][_0x279dd4(0x1c8)](0x1);const _0x1f7437=_0x210996[_0x279dd4(0x1a4)]?0x0:this[_0x279dd4(0x195)][_0x279dd4(0x1a0)];this[_0x279dd4(0x195)][_0x279dd4(0x17a)](_0x210996,_0x1f7437);}[_0x2de90b(0x1a1)](_0x3de1c0){const _0x2a1129=_0x2de90b;if(this[_0x2a1129(0x1be)]--,this[_0x2a1129(0x195)][_0x2a1129(0x1c9)](_0x3de1c0['id'])&&(this[_0x2a1129(0x195)][_0x2a1129(0x1c8)](_0x3de1c0['id']),this[_0x2a1129(0x195)][_0x2a1129(0x1a0)]<this[_0x2a1129(0x1be)])){for(const _0x25a1de of Array[_0x2a1129(0x1bf)](this[_0x2a1129(0x1c4)])[_0x2a1129(0x18f)]())if(!this[_0x2a1129(0x195)][_0x2a1129(0x1c9)](_0x25a1de['id']))return void this[_0x2a1129(0x195)][_0x2a1129(0x17a)](_0x25a1de,Math[_0x2a1129(0x168)](this[_0x2a1129(0x195)][_0x2a1129(0x1a0)],0x1));}}[_0x2de90b(0x16b)](){const _0x5c2342=_0x2de90b;if(this[_0x5c2342(0x17c)])return;const _0x4a1f17=this[_0x5c2342(0x170)][_0x5c2342(0x169)][_0x5c2342(0x1c9)](_0x5c2342(0x1cb));this[_0x5c2342(0x17c)]=new _0x1ee066(this[_0x5c2342(0x170)][_0x5c2342(0x19a)],!!_0x4a1f17[_0x5c2342(0x174)]),this[_0x5c2342(0x1b8)][_0x5c2342(0x186)][_0x5c2342(0x1b4)]=!0x0;const {listWrapperView:_0x12f433}=this[_0x5c2342(0x17c)];_0x12f433[_0x5c2342(0x17d)][_0x5c2342(0x1c1)](this[_0x5c2342(0x1c4)])[_0x5c2342(0x188)](_0x551286=>{const _0x3df00f=_0x5c2342;if(!_0x4a1f17[_0x3df00f(0x173)]&&_0x551286[_0x3df00f(0x1a4)])return null;const _0x4829ca=new _0x5c8e64(this[_0x3df00f(0x170)][_0x3df00f(0x19a)],_0x551286,!!_0x4a1f17[_0x3df00f(0x174)]);return _0x4a1f17[_0x3df00f(0x174)]&&this[_0x3df00f(0x1b7)](_0x4829ca,_0x3df00f(0x194),()=>{const _0x5aee22=_0x3df00f;_0x4a1f17[_0x5aee22(0x174)](_0x551286,_0x4829ca[_0x5aee22(0x1ba)]);}),_0x4829ca;}),this[_0x5c2342(0x19c)][_0x5c2342(0x1b5)][_0x5c2342(0x17a)](this[_0x5c2342(0x17c)]),this[_0x5c2342(0x19c)][_0x5c2342(0x178)]({'target':this[_0x5c2342(0x1b8)][_0x5c2342(0x186)][_0x5c2342(0x1ba)]}),_0x12f433[_0x5c2342(0x1a3)](),_0x12f433[_0x5c2342(0x1b6)]();const _0x3790bb=(_0x42502a,_0x43b6d7)=>{const _0x3cb5b8=_0x5c2342;this[_0x3cb5b8(0x1af)](),this[_0x3cb5b8(0x1b8)][_0x3cb5b8(0x186)][_0x3cb5b8(0x1a3)](),_0x43b6d7();};_0x12f433[_0x5c2342(0x17e)][_0x5c2342(0x176)](_0x5c2342(0x198),_0x3790bb),_0x12f433[_0x5c2342(0x17e)][_0x5c2342(0x176)](_0x5c2342(0x1c2),_0x3790bb),_0x12f433[_0x5c2342(0x17e)][_0x5c2342(0x176)](_0x5c2342(0x1a9),(_0x5bb51c,_0x22a70b)=>{const _0x11ad57=_0x5c2342;!function(_0x3c0775){const _0x44e450=_0x38ca,_0x1e7f2f=['a',_0x44e450(0x19b),_0x44e450(0x1b1),_0x44e450(0x1a5),_0x44e450(0x187),_0x44e450(0x1bc),_0x44e450(0x1bd)][_0x44e450(0x1c3)](_0x122151=>_0x122151+_0x44e450(0x1ae))[_0x44e450(0x1a6)](','),_0x14ca2f=[...document[_0x44e450(0x181)][_0x44e450(0x1c0)](_0x1e7f2f)][_0x44e450(0x199)](_0x4e7de5=>_0x4e7de5===document[_0x44e450(0x185)]||_0x4e7de5[_0x44e450(0x180)]+_0x4e7de5[_0x44e450(0x172)]>0x0)[_0x44e450(0x1b0)]((_0x22e5dc,_0x3441c4)=>(_0x22e5dc[_0x44e450(0x1b2)]||0x0)-(_0x3441c4[_0x44e450(0x1b2)]||0x0)),_0x5b2da7=_0x14ca2f[_0x44e450(0x1ad)](_0x3c0775),_0x3d700c=_0x14ca2f[(_0x5b2da7+0x1)%_0x14ca2f[_0x44e450(0x1a0)]];_0x3d700c&&_0x3d700c[_0x44e450(0x1a3)]();}(this[_0x11ad57(0x1b8)][_0x11ad57(0x1ba)]),this[_0x11ad57(0x1af)](),_0x22a70b();}),_0x12f433[_0x5c2342(0x175)][_0x5c2342(0x17a)](this[_0x5c2342(0x1b8)][_0x5c2342(0x1ba)]),_0x12f433[_0x5c2342(0x175)]['on'](_0x5c2342(0x1ab),(_0x4a8bbe,_0x50540d,_0x516e2b)=>{const _0x566eca=_0x5c2342;_0x516e2b||this[_0x566eca(0x1af)]();});}[_0x2de90b(0x1af)](){const _0x2d393d=_0x2de90b;this[_0x2d393d(0x17c)]&&(this[_0x2d393d(0x1b8)][_0x2d393d(0x186)][_0x2d393d(0x1b4)]=!0x1,this[_0x2d393d(0x19c)][_0x2d393d(0x1ca)](),this[_0x2d393d(0x19c)][_0x2d393d(0x1b5)][_0x2d393d(0x1c8)](this[_0x2d393d(0x17c)]),this[_0x2d393d(0x17c)][_0x2d393d(0x16c)](),this[_0x2d393d(0x17c)]=void 0x0);}[_0x2de90b(0x16c)](){const _0x2d387=_0x2de90b;super[_0x2d387(0x16c)](),this[_0x2d387(0x1b8)]&&this[_0x2d387(0x1b8)][_0x2d387(0x18b)]&&this[_0x2d387(0x1b8)][_0x2d387(0x16c)](),this[_0x2d387(0x171)]&&(this[_0x2d387(0x171)][_0x2d387(0x191)](),this[_0x2d387(0x171)][_0x2d387(0x16c)](),this[_0x2d387(0x171)]=null);}}
|
|
23
|
+
const _0x4f2fd7=_0x510a;(function(_0x3b528d,_0x1bb113){const _0x1099b4=_0x510a,_0xdf788f=_0x3b528d();while(!![]){try{const _0x18c7a0=-parseInt(_0x1099b4(0x15b))/0x1+-parseInt(_0x1099b4(0x116))/0x2*(parseInt(_0x1099b4(0x159))/0x3)+-parseInt(_0x1099b4(0x160))/0x4*(-parseInt(_0x1099b4(0x120))/0x5)+-parseInt(_0x1099b4(0x145))/0x6*(-parseInt(_0x1099b4(0x102))/0x7)+parseInt(_0x1099b4(0x14e))/0x8+parseInt(_0x1099b4(0x12e))/0x9*(-parseInt(_0x1099b4(0x144))/0xa)+parseInt(_0x1099b4(0x113))/0xb;if(_0x18c7a0===_0x1bb113)break;else _0xdf788f['push'](_0xdf788f['shift']());}catch(_0x2a4b43){_0xdf788f['push'](_0xdf788f['shift']());}}}(_0x5595,0x3f732));import{ContextPlugin as _0x431367}from'ckeditor5/src/core.js';import{CKEditorError as _0x304f99,Collection as _0x22c200}from'ckeditor5/src/utils.js';import{clickOutsideHandler as _0x18d218,BalloonPanelView as _0x365abd,BodyCollection as _0x4c0102}from'ckeditor5/src/ui.js';import{isElement as _0x5840eb}from'lodash-es';import _0x269a66 from'../realtimecollaborativeediting/sessions.js';function _0x510a(_0x128ae5,_0x550bb9){const _0x5595e5=_0x5595();return _0x510a=function(_0x510adc,_0x2752f6){_0x510adc=_0x510adc-0xfc;let _0x42bc56=_0x5595e5[_0x510adc];return _0x42bc56;},_0x510a(_0x128ae5,_0x550bb9);}import _0xd537a from'./view/presencelistview.js';import _0x5d320c from'./view/presencedropdownlistview.js';import _0x4103eb from'./view/presencedropdownlistitemview.js';import _0x1c919e from'./view/presenceinlinelistitemview.js';const A={'collapseAt':0x6,'displayMe':!0x0};export default class s extends _0x431367{constructor(_0x20c524){const _0x209a3a=_0x510a;super(_0x20c524),this[_0x209a3a(0x13a)]=null,this[_0x209a3a(0x155)][_0x209a3a(0x118)][_0x209a3a(0x146)](_0x209a3a(0x136),A);const _0x5f5c25=_0x20c524[_0x209a3a(0x118)][_0x209a3a(0x12c)](_0x209a3a(0x14f));if(_0x209a3a(0x127)!=typeof _0x5f5c25)throw new _0x304f99(_0x209a3a(0x12a),this);if(_0x5f5c25<0x1)throw new _0x304f99(_0x209a3a(0x12a),this);this[_0x209a3a(0x15f)]=this[_0x209a3a(0x155)][_0x209a3a(0x11c)][_0x209a3a(0x12c)](_0x269a66)[_0x209a3a(0x143)],this[_0x209a3a(0x132)](_0x209a3a(0x15e),0x0),this[_0x209a3a(0x106)]=new _0x22c200(),this[_0x209a3a(0x115)]=new _0x365abd(),this[_0x209a3a(0x115)][_0x209a3a(0x161)]=_0x209a3a(0x111),this[_0x209a3a(0x10f)]=this[_0x209a3a(0x123)](),this[_0x209a3a(0x12b)]=void 0x0;}static get[_0x4f2fd7(0x10e)](){return[_0x269a66];}[_0x4f2fd7(0x138)](){const _0x34841f=_0x4f2fd7;for(const _0x4663bc of this[_0x34841f(0x15f)])this[_0x34841f(0x152)](_0x4663bc);this[_0x34841f(0x107)](this[_0x34841f(0x15f)],_0x34841f(0x10a),(_0x652f32,_0x33032a)=>{const _0x530abd=_0x34841f;this[_0x530abd(0x152)](_0x33032a);}),this[_0x34841f(0x107)](this[_0x34841f(0x15f)],_0x34841f(0x109),(_0x569f65,_0x5515dd)=>{const _0x185afc=_0x34841f;this[_0x185afc(0x105)](_0x5515dd);});}[_0x4f2fd7(0x123)](){const _0x26bfc7=_0x4f2fd7,_0xa3e3a9=this[_0x26bfc7(0x155)],_0x3313f2=new _0xd537a(this[_0x26bfc7(0x155)][_0x26bfc7(0x10b)]),_0x581a10=this[_0x26bfc7(0x115)];if(!_0x5840eb(_0xa3e3a9[_0x26bfc7(0x118)][_0x26bfc7(0x12c)](_0x26bfc7(0x112))))throw new _0x304f99(_0x26bfc7(0x12f),this);return _0x3313f2[_0x26bfc7(0x125)][_0x26bfc7(0x135)](_0x26bfc7(0x15e))['to'](this),_0x3313f2[_0x26bfc7(0x135)](_0x26bfc7(0x110))['to'](this,_0x26bfc7(0x15e),_0x3e44c9=>{const _0x122c5c=_0x26bfc7,{collapseAt:_0x20e08b,displayMe:_0x483488}=_0xa3e3a9[_0x122c5c(0x118)][_0x122c5c(0x12c)](_0x122c5c(0x136)),_0x1012de=_0x3e44c9>=_0x20e08b;return _0x3313f2[_0x122c5c(0x125)][_0x122c5c(0xfe)]=!(0x1==_0x3e44c9&&_0x483488||_0x1012de),_0x1012de||this[_0x122c5c(0xfd)](),_0x1012de;}),_0x3313f2[_0x26bfc7(0x122)][_0x26bfc7(0x156)][_0x26bfc7(0x10c)](this[_0x26bfc7(0x106)])[_0x26bfc7(0x11a)](_0x307ca0=>{const _0x5a7277=_0x26bfc7,_0x53964d=_0xa3e3a9[_0x5a7277(0x118)][_0x5a7277(0x12c)](_0x5a7277(0x136)),_0x241f07=new _0x1c919e(_0xa3e3a9[_0x5a7277(0x10b)],_0x307ca0,!!_0x53964d[_0x5a7277(0x126)]);return _0x241f07[_0x5a7277(0x135)](_0x5a7277(0x121))['to'](_0x3313f2,_0x5a7277(0x110),_0x50002b=>!_0x50002b),_0x241f07[_0x5a7277(0x135)](_0x5a7277(0x153))['to'](_0x3313f2,_0x5a7277(0x110),_0xddf380=>!_0xddf380),_0x53964d[_0x5a7277(0x126)]&&this[_0x5a7277(0x107)](_0x241f07,_0x5a7277(0x117),()=>{const _0x509301=_0x5a7277;this[_0x509301(0x10f)][_0x509301(0x110)]||_0x53964d[_0x509301(0x126)](_0x307ca0,_0x241f07[_0x509301(0x140)]);}),_0x241f07;}),this[_0x26bfc7(0x107)](_0x3313f2[_0x26bfc7(0x122)],_0x26bfc7(0x117),()=>{const _0x1dbd49=_0x26bfc7;this[_0x1dbd49(0x12b)]?this[_0x1dbd49(0xfd)]():this[_0x1dbd49(0x10f)][_0x1dbd49(0x110)]&&this[_0x1dbd49(0x14b)]();}),_0x3313f2[_0x26bfc7(0x122)][_0x26bfc7(0x147)][_0x26bfc7(0x132)](_0x26bfc7(0xff),(_0x20411d,_0x4f61bf)=>{const _0x25529b=_0x26bfc7;this[_0x25529b(0x10f)][_0x25529b(0x110)]&&(this[_0x25529b(0x14b)](),_0x4f61bf());}),_0x3313f2[_0x26bfc7(0x134)](),_0x581a10[_0x26bfc7(0x134)](),_0x18d218({'emitter':_0x3313f2,'activator':()=>_0x581a10[_0x26bfc7(0x11f)],'contextElements':[_0x581a10[_0x26bfc7(0x140)],_0x3313f2[_0x26bfc7(0x122)][_0x26bfc7(0x140)]],'callback':()=>this[_0x26bfc7(0xfd)]()}),_0xa3e3a9[_0x26bfc7(0x118)][_0x26bfc7(0x12c)](_0x26bfc7(0x112))[_0x26bfc7(0x130)](_0x3313f2[_0x26bfc7(0x140)]),this[_0x26bfc7(0x13a)]=new _0x4c0102(this[_0x26bfc7(0x155)][_0x26bfc7(0x10b)]),this[_0x26bfc7(0x13a)][_0x26bfc7(0x114)](),this[_0x26bfc7(0x13a)][_0x26bfc7(0x10a)](this[_0x26bfc7(0x115)]),_0x3313f2;}[_0x4f2fd7(0x152)](_0x3f5071){const _0x17edd2=_0x4f2fd7;if(!this[_0x17edd2(0x155)][_0x17edd2(0x118)][_0x17edd2(0x12c)](_0x17edd2(0x154))&&_0x3f5071[_0x17edd2(0x13f)])return;const _0x19eb57=this[_0x17edd2(0x155)][_0x17edd2(0x118)][_0x17edd2(0x12c)](_0x17edd2(0x14f))-0x1;this[_0x17edd2(0x15e)]++,this[_0x17edd2(0x106)][_0x17edd2(0x148)]==_0x19eb57&&this[_0x17edd2(0x106)][_0x17edd2(0x148)]>0x1&&this[_0x17edd2(0x106)][_0x17edd2(0x109)](0x1);const _0x173d4d=_0x3f5071[_0x17edd2(0x13f)]?0x0:this[_0x17edd2(0x106)][_0x17edd2(0x148)];this[_0x17edd2(0x106)][_0x17edd2(0x10a)](_0x3f5071,_0x173d4d);}[_0x4f2fd7(0x105)](_0x149c98){const _0x7fb8e7=_0x4f2fd7;if(this[_0x7fb8e7(0x15e)]--,this[_0x7fb8e7(0x106)][_0x7fb8e7(0x12c)](_0x149c98['id'])&&(this[_0x7fb8e7(0x106)][_0x7fb8e7(0x109)](_0x149c98['id']),this[_0x7fb8e7(0x106)][_0x7fb8e7(0x148)]<this[_0x7fb8e7(0x15e)])){for(const _0x16317a of Array[_0x7fb8e7(0x13e)](this[_0x7fb8e7(0x15f)])[_0x7fb8e7(0x14a)]())if(!this[_0x7fb8e7(0x106)][_0x7fb8e7(0x12c)](_0x16317a['id']))return void this[_0x7fb8e7(0x106)][_0x7fb8e7(0x10a)](_0x16317a,Math[_0x7fb8e7(0x11e)](this[_0x7fb8e7(0x106)][_0x7fb8e7(0x148)],0x1));}}[_0x4f2fd7(0x14b)](){const _0x43b06e=_0x4f2fd7;if(this[_0x43b06e(0x12b)])return;const _0x4c862f=this[_0x43b06e(0x155)][_0x43b06e(0x118)][_0x43b06e(0x12c)](_0x43b06e(0x136));this[_0x43b06e(0x12b)]=new _0x5d320c(this[_0x43b06e(0x155)][_0x43b06e(0x10b)],!!_0x4c862f[_0x43b06e(0x126)]),this[_0x43b06e(0x10f)][_0x43b06e(0x122)][_0x43b06e(0x13b)]=!0x0;const {listWrapperView:_0x18e970}=this[_0x43b06e(0x12b)];_0x18e970[_0x43b06e(0x156)][_0x43b06e(0x10c)](this[_0x43b06e(0x15f)])[_0x43b06e(0x11a)](_0xd5cd4b=>{const _0xed99d3=_0x43b06e;if(!_0x4c862f[_0xed99d3(0x11d)]&&_0xd5cd4b[_0xed99d3(0x13f)])return null;const _0x3ea4b4=new _0x4103eb(this[_0xed99d3(0x155)][_0xed99d3(0x10b)],_0xd5cd4b,!!_0x4c862f[_0xed99d3(0x126)]);return _0x4c862f[_0xed99d3(0x126)]&&this[_0xed99d3(0x107)](_0x3ea4b4,_0xed99d3(0x117),()=>{const _0x294e44=_0xed99d3;_0x4c862f[_0x294e44(0x126)](_0xd5cd4b,_0x3ea4b4[_0x294e44(0x140)]);}),_0x3ea4b4;}),this[_0x43b06e(0x115)][_0x43b06e(0x103)][_0x43b06e(0x10a)](this[_0x43b06e(0x12b)]),this[_0x43b06e(0x115)][_0x43b06e(0x11b)]({'target':this[_0x43b06e(0x10f)][_0x43b06e(0x122)][_0x43b06e(0x140)]}),_0x18e970[_0x43b06e(0xfc)](),_0x18e970[_0x43b06e(0x128)]();const _0x500955=(_0x3f0d2d,_0x2bd80b)=>{const _0x1857fb=_0x43b06e;this[_0x1857fb(0xfd)](),this[_0x1857fb(0x10f)][_0x1857fb(0x122)][_0x1857fb(0xfc)](),_0x2bd80b();};_0x18e970[_0x43b06e(0x147)][_0x43b06e(0x132)](_0x43b06e(0x149),_0x500955),_0x18e970[_0x43b06e(0x147)][_0x43b06e(0x132)](_0x43b06e(0x157),_0x500955),_0x18e970[_0x43b06e(0x147)][_0x43b06e(0x132)](_0x43b06e(0x142),(_0x1696a8,_0x8a551d)=>{const _0x3c508a=_0x43b06e;!function(_0x3c0bf3){const _0x15b917=_0x510a,_0x38b5cb=['a',_0x15b917(0x129),_0x15b917(0x108),_0x15b917(0x119),_0x15b917(0x14c),_0x15b917(0x12d),_0x15b917(0x124)][_0x15b917(0x137)](_0x546edd=>_0x546edd+_0x15b917(0x13c))[_0x15b917(0x139)](','),_0x53bf63=[...document[_0x15b917(0x13d)][_0x15b917(0x133)](_0x38b5cb)][_0x15b917(0x101)](_0x589f73=>_0x589f73===document[_0x15b917(0x15a)]||_0x589f73[_0x15b917(0x104)]+_0x589f73[_0x15b917(0x10d)]>0x0)[_0x15b917(0x14d)]((_0x3abbe7,_0x3c69fe)=>(_0x3abbe7[_0x15b917(0x100)]||0x0)-(_0x3c69fe[_0x15b917(0x100)]||0x0)),_0x55b85a=_0x53bf63[_0x15b917(0x15c)](_0x3c0bf3),_0x2052f0=_0x53bf63[(_0x55b85a+0x1)%_0x53bf63[_0x15b917(0x148)]];_0x2052f0&&_0x2052f0[_0x15b917(0xfc)]();}(this[_0x3c508a(0x10f)][_0x3c508a(0x140)]),this[_0x3c508a(0xfd)](),_0x8a551d();}),_0x18e970[_0x43b06e(0x150)][_0x43b06e(0x10a)](this[_0x43b06e(0x10f)][_0x43b06e(0x140)]),_0x18e970[_0x43b06e(0x150)]['on'](_0x43b06e(0x131),(_0x19b5a0,_0x440f3f,_0x33210b)=>{const _0x31b304=_0x43b06e;_0x33210b||this[_0x31b304(0xfd)]();});}[_0x4f2fd7(0xfd)](){const _0x238d7f=_0x4f2fd7;this[_0x238d7f(0x12b)]&&(this[_0x238d7f(0x10f)][_0x238d7f(0x122)][_0x238d7f(0x13b)]=!0x1,this[_0x238d7f(0x115)][_0x238d7f(0x141)](),this[_0x238d7f(0x115)][_0x238d7f(0x103)][_0x238d7f(0x109)](this[_0x238d7f(0x12b)]),this[_0x238d7f(0x12b)][_0x238d7f(0x15d)](),this[_0x238d7f(0x12b)]=void 0x0);}[_0x4f2fd7(0x15d)](){const _0x3fe2f6=_0x4f2fd7;super[_0x3fe2f6(0x15d)](),this[_0x3fe2f6(0x10f)]&&this[_0x3fe2f6(0x10f)][_0x3fe2f6(0x158)]&&this[_0x3fe2f6(0x10f)][_0x3fe2f6(0x15d)](),this[_0x3fe2f6(0x13a)]&&(this[_0x3fe2f6(0x13a)][_0x3fe2f6(0x151)](),this[_0x3fe2f6(0x13a)][_0x3fe2f6(0x15d)](),this[_0x3fe2f6(0x13a)]=null);}}function _0x5595(){const _0x2faa9e=['map','init','join','_bodyCollection','isExpanded',':not([disabled]):not([tabindex=\x22-1\x22])','body','from','isMe','element','unpin','Tab','allConnectedUsers','1113430pepwBP','2075142MwdcmP','define','keystrokes','length','Esc','reverse','showDropdown','textarea','sort','1981384fFFyJp','presenceList.collapseAt','focusTracker','detachFromDom','_handleUserAdd','isFocusable','presenceList.displayMe','context','items','Shift+Tab','isRendered','39quihle','activeElement','371018atOsFM','indexOf','destroy','usersCount','_allConnectedUsers','23496sQCxuE','class','focus','hideDropdown','isHidden','Enter','tabIndex','filter','7KiZVDb','content','offsetWidth','_handleUserRemove','currentDisplayedUsers','listenTo','input','remove','add','locale','bindTo','offsetHeight','requires','view','isCollapsed','ck\x20ck-presence-list__balloon','presenceList.container','1000604WodVVi','attachToDom','balloonPanelView','27262IdWWzI','execute','config','select','using','pin','plugins','displayMe','min','isVisible','200gEnnfk','hasTooltip','inlineListView','_createView','[contenteditable]','counterView','onClick','number','checkIfScrollable','button','presencelist-collapseat-invalid-format','presenceDropdownView','get','[tabindex]','9wZrxAt','presencelist-missing-container','appendChild','change:isFocused','set','querySelectorAll','render','bind','presenceList'];_0x5595=function(){return _0x2faa9e;};return _0x5595();}
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
(function(
|
|
23
|
+
function _0x3905(){const _0x5a2ade=['1027552zVRVqk','ck-presence-list__counter--hidden','div','3829905wzvTQY','setTemplate','5FrFSJE','734247bVELtl','466513LErqDE','2573298WqznEm','CONNECTED_USERS','2YZrDMO','set','bindTemplate','isHidden','ck-presence-list__counter','739680UjZfrT','usersCount','655024UEPkcW'];_0x3905=function(){return _0x5a2ade;};return _0x3905();}(function(_0x5bb1f2,_0x41efa8){const _0x2b421c=_0x177b,_0x144ea5=_0x5bb1f2();while(!![]){try{const _0x5d54ba=-parseInt(_0x2b421c(0x76))/0x1*(-parseInt(_0x2b421c(0x79))/0x2)+parseInt(_0x2b421c(0x75))/0x3+-parseInt(_0x2b421c(0x80))/0x4*(parseInt(_0x2b421c(0x74))/0x5)+-parseInt(_0x2b421c(0x7e))/0x6+parseInt(_0x2b421c(0x77))/0x7+-parseInt(_0x2b421c(0x6f))/0x8+-parseInt(_0x2b421c(0x72))/0x9;if(_0x5d54ba===_0x41efa8)break;else _0x144ea5['push'](_0x144ea5['shift']());}catch(_0x4ae733){_0x144ea5['push'](_0x144ea5['shift']());}}}(_0x3905,0x3a11b));import{View as _0x57f4bf}from'ckeditor5/src/ui.js';import{getTranslation as _0x5673d2}from'../../common-translations.js';function _0x177b(_0x5b2aa3,_0x40ec18){const _0x3905e4=_0x3905();return _0x177b=function(_0x177b7a,_0x3fa6dc){_0x177b7a=_0x177b7a-0x6f;let _0x5e9c1f=_0x3905e4[_0x177b7a];return _0x5e9c1f;},_0x177b(_0x5b2aa3,_0x40ec18);}export default class ts extends _0x57f4bf{constructor(_0x1adfcf){const _0x1cb670=_0x177b;super(_0x1adfcf);const _0x5c9ebe=this[_0x1cb670(0x7b)];this[_0x1cb670(0x7a)](_0x1cb670(0x7f),0x0),this[_0x1cb670(0x7a)](_0x1cb670(0x7c),!0x0),this[_0x1cb670(0x73)]({'tag':_0x1cb670(0x71),'attributes':{'class':['ck',_0x1cb670(0x7d),_0x5c9ebe['if'](_0x1cb670(0x7c),_0x1cb670(0x70))]},'children':[{'text':_0x5c9ebe['to'](_0x1cb670(0x7f),_0x5cdc5e=>_0x5673d2(_0x1adfcf,_0x1cb670(0x78),_0x5cdc5e))}]});}}
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
function
|
|
23
|
+
const _0x2bfdb2=_0x4391;function _0x4391(_0x46331d,_0x19a1bf){const _0x45d4ad=_0x45d4();return _0x4391=function(_0x4391f4,_0x1317ea){_0x4391f4=_0x4391f4-0x111;let _0x5c862c=_0x45d4ad[_0x4391f4];return _0x5c862c;},_0x4391(_0x46331d,_0x19a1bf);}(function(_0x3aaa04,_0x1a8983){const _0x3df902=_0x4391,_0x42963a=_0x3aaa04();while(!![]){try{const _0x54cddf=-parseInt(_0x3df902(0x122))/0x1*(-parseInt(_0x3df902(0x115))/0x2)+parseInt(_0x3df902(0x118))/0x3+parseInt(_0x3df902(0x11e))/0x4+parseInt(_0x3df902(0x12c))/0x5*(parseInt(_0x3df902(0x113))/0x6)+-parseInt(_0x3df902(0x124))/0x7*(parseInt(_0x3df902(0x11f))/0x8)+parseInt(_0x3df902(0x11d))/0x9+-parseInt(_0x3df902(0x11a))/0xa;if(_0x54cddf===_0x1a8983)break;else _0x42963a['push'](_0x42963a['shift']());}catch(_0x4c2ee9){_0x42963a['push'](_0x42963a['shift']());}}}(_0x45d4,0xd56d0));import{ListItemView as _0x100eab}from'ckeditor5/src/ui.js';import{UserView as _0x495c02}from'ckeditor5-collaboration/src/collaboration-core.js';export default class k extends _0x100eab{constructor(_0x520296,_0x4bf420,_0xb8c8ea){const _0x12877a=_0x4391;super(_0x520296);const _0x18754a=this[_0x12877a(0x125)];this[_0x12877a(0x12b)]=new _0x495c02(_0x520296,_0x4bf420);const _0x144921={'tag':'li','attributes':{'class':['ck',_0x12877a(0x111)],'tabindex':-0x1,'role':_0x12877a(0x11b),'aria-label':_0x4bf420[_0x12877a(0x119)]},'children':[this[_0x12877a(0x12b)],{'tag':_0x12877a(0x12a),'attributes':{'class':['ck',_0x12877a(0x117)]},'children':[{'text':_0x4bf420[_0x12877a(0x119)]}]},{'tag':_0x12877a(0x12a),'attributes':{'class':['ck',_0x12877a(0x114),_0x4bf420[_0x12877a(0x120)][_0x12877a(0x116)]()],'aria-hidden':_0x12877a(0x128)}}]};_0xb8c8ea&&(_0x144921[_0x12877a(0x112)]=_0x12877a(0x127),_0x144921['on']={'click':_0x18754a['to'](()=>this[_0x12877a(0x129)](_0x12877a(0x126)))}),this[_0x12877a(0x123)](_0x144921);}[_0x2bfdb2(0x121)](){const _0x5a293b=_0x2bfdb2;this[_0x5a293b(0x11c)][_0x5a293b(0x121)]();}}function _0x45d4(){const _0x486f5c=['1365217VcnOJc','bindTemplate','execute','button','true','fire','span','userView','651745NyvDWv','ck-presence-list__dropdown-list-item','tag','54HwIwrf','ck-presence-list__marker','39094zjJLoV','getBackgroundColorClass','ck-user__full-name','4680324sJFviT','name','35000870HPhKRx','presentation','element','8563176TPeKyX','4860560BmqMti','40IcbPNP','color','focus','23XEdrzc','setTemplate'];_0x45d4=function(){return _0x486f5c;};return _0x45d4();}
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
const
|
|
23
|
+
const _0x5d5e73=_0x3ee5;(function(_0x183d23,_0xe983b6){const _0xf2c7e1=_0x3ee5,_0x1ac12d=_0x183d23();while(!![]){try{const _0x3d8d88=parseInt(_0xf2c7e1(0xa4))/0x1+-parseInt(_0xf2c7e1(0xa1))/0x2+-parseInt(_0xf2c7e1(0xa2))/0x3*(parseInt(_0xf2c7e1(0xbf))/0x4)+-parseInt(_0xf2c7e1(0xc3))/0x5+-parseInt(_0xf2c7e1(0xb5))/0x6*(parseInt(_0xf2c7e1(0xbd))/0x7)+parseInt(_0xf2c7e1(0xc1))/0x8*(parseInt(_0xf2c7e1(0xb8))/0x9)+parseInt(_0xf2c7e1(0xb9))/0xa;if(_0x3d8d88===_0xe983b6)break;else _0x1ac12d['push'](_0x1ac12d['shift']());}catch(_0x4d7f30){_0x1ac12d['push'](_0x1ac12d['shift']());}}}(_0x1dc1,0xcfe64));import{ListView as _0x3d0386,View as _0x1af66c}from'ckeditor5/src/ui.js';import{global as _0x285375}from'ckeditor5/src/utils.js';import{getTranslation as _0x3492b5}from'../../common-translations.js';function _0x3ee5(_0x542a43,_0x506633){const _0x1dc1b8=_0x1dc1();return _0x3ee5=function(_0x3ee5c5,_0x436726){_0x3ee5c5=_0x3ee5c5-0x9e;let _0x5d2daa=_0x1dc1b8[_0x3ee5c5];return _0x5d2daa;},_0x3ee5(_0x542a43,_0x506633);}export default class j extends _0x1af66c{constructor(_0x49bba1,_0x14e510){const _0x159a61=_0x3ee5;super(_0x49bba1),this[_0x159a61(0xbb)]=new PresenceDropdownListWrapperView(_0x49bba1,_0x14e510),this[_0x159a61(0xa0)]({'tag':_0x159a61(0xa7),'attributes':{'tabindex':-0x1,'role':_0x159a61(0xba),'class':['ck',_0x159a61(0xb7)],'aria-label':_0x3492b5(_0x49bba1,_0x159a61(0xb3))},'children':[this[_0x159a61(0xbb)]]});}}function _0x1dc1(){const _0x3daf27=['set','div','change','ck-reset','resize','listenTo','ariaLabel','clientHeight','scrollHeight','max','ck-presence-list__dropdown-list-wrapper_scrollable','innerHeight','role','Connected\x20users\x20list\x20dropdown\x20menu','_isScrollable','2634EzfTGx','render','ck-presence-list__dropdown-list','369zELgSO','38549560uzubKH','application','listWrapperView','ck-list','14CHjAnI','ariaLabelledBy','1324084lYVfdk','ck-presence-list__dropdown-list-wrapper','35608asNXKO','window','3280235lazfdo','element','bindTemplate','setTemplate','3237578kFlaIs','9ZWNbwm','checkIfScrollable','82886BuKxUy','items'];_0x1dc1=function(){return _0x3daf27;};return _0x1dc1();}export class PresenceDropdownListWrapperView extends _0x3d0386{constructor(_0x5916d8,_0x538076){const _0x1a43e4=_0x3ee5;super(_0x5916d8);const _0xdb6c0c=this[_0x1a43e4(0x9f)];this[_0x1a43e4(0xa6)](_0x1a43e4(0xb4),!0x1),this[_0x1a43e4(0xa0)]({'tag':_0x538076?_0x1a43e4(0xa7):'ul','attributes':{'class':['ck',_0x1a43e4(0xa9),_0x1a43e4(0xbc),_0x1a43e4(0xc0),_0xdb6c0c['if'](_0x1a43e4(0xb4),_0x1a43e4(0xb0))],'role':_0xdb6c0c['to'](_0x1a43e4(0xb2)),'aria-label':_0xdb6c0c['to'](_0x1a43e4(0xac)),'aria-labelledby':_0xdb6c0c['to'](_0x1a43e4(0xbe))},'children':this[_0x1a43e4(0xa5)]}),this[_0x1a43e4(0xab)](_0x285375[_0x1a43e4(0xc2)],_0x1a43e4(0xaa),()=>this[_0x1a43e4(0xa3)]()),this[_0x1a43e4(0xa5)]['on'](_0x1a43e4(0xa8),()=>this[_0x1a43e4(0xa3)]());}[_0x5d5e73(0xb6)](){const _0x31093e=_0x5d5e73;super[_0x31093e(0xb6)](),this[_0x31093e(0xa3)]();}[_0x5d5e73(0xa3)](){const _0x423518=_0x5d5e73,_0x2f8715=this[_0x423518(0x9e)];_0x2f8715&&(this[_0x423518(0xb4)]=Math[_0x423518(0xaf)](_0x2f8715[_0x423518(0xae)],_0x2f8715[_0x423518(0xad)])>0.8*window[_0x423518(0xb1)]);}}
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
function
|
|
23
|
+
function _0xc268(_0x465bb8,_0x4440d4){const _0xd2faf=_0xd2fa();return _0xc268=function(_0xc268cd,_0x545414){_0xc268cd=_0xc268cd-0x109;let _0x450f56=_0xd2faf[_0xc268cd];return _0x450f56;},_0xc268(_0x465bb8,_0x4440d4);}(function(_0x12f673,_0x218459){const _0x215d3b=_0xc268,_0x5f4575=_0x12f673();while(!![]){try{const _0x313c70=parseInt(_0x215d3b(0x10a))/0x1+parseInt(_0x215d3b(0x119))/0x2+parseInt(_0x215d3b(0x116))/0x3*(-parseInt(_0x215d3b(0x109))/0x4)+-parseInt(_0x215d3b(0x123))/0x5*(parseInt(_0x215d3b(0x114))/0x6)+parseInt(_0x215d3b(0x126))/0x7*(parseInt(_0x215d3b(0x113))/0x8)+-parseInt(_0x215d3b(0x11c))/0x9*(parseInt(_0x215d3b(0x11a))/0xa)+parseInt(_0x215d3b(0x11b))/0xb*(-parseInt(_0x215d3b(0x10e))/0xc);if(_0x313c70===_0x218459)break;else _0x5f4575['push'](_0x5f4575['shift']());}catch(_0x41a909){_0x5f4575['push'](_0x5f4575['shift']());}}}(_0xd2fa,0x6e162));import{LabelView as _0x81788a,View as _0x2da211}from'ckeditor5/src/ui.js';function _0xd2fa(){const _0x38c8f4=['280NiCjyF','145866DTijCD','listitem','809085pDNGdr','true','color','1299076trOYjq','835340UMozPE','11HRyGqT','9sKQOJr','bindTemplate','setTemplate','fire','template','userView','isFocusable','95SnjzOX','execute','button','21770JNKDse','hasTooltip','ck-presence-list__marker','ck-presence-list__list-item__tooltip','span','text','markerView','4oLPkRY','895653SPksAx','name','tag','set','4655868VJEHUC','getBackgroundColorClass','div','tooltipPosition','ck-presence-list__list-item'];_0xd2fa=function(){return _0x38c8f4;};return _0xd2fa();}import{UserView as _0x17e972}from'ckeditor5-collaboration/src/collaboration-core.js';export default class y extends _0x2da211{constructor(_0x29a7f0,_0x46e72a,_0x19e5c6){const _0x283b5a=_0xc268;super(_0x29a7f0);const _0x2a9e9e=this[_0x283b5a(0x11d)];this[_0x283b5a(0x10d)](_0x283b5a(0x122),!0x1),this[_0x283b5a(0x10d)](_0x283b5a(0x127),!0x0),this[_0x283b5a(0x10d)](_0x283b5a(0x111),''),this[_0x283b5a(0x121)]=new _0x17e972(_0x29a7f0,_0x46e72a),this[_0x283b5a(0x12c)]=new at(_0x29a7f0,_0x46e72a);const _0x4b3ed8=new _0x81788a(_0x29a7f0);_0x4b3ed8[_0x283b5a(0x120)][_0x283b5a(0x10c)]=_0x283b5a(0x12a),_0x4b3ed8[_0x283b5a(0x12b)]=_0x46e72a[_0x283b5a(0x10b)];const _0x2ef6c9={'tag':_0x283b5a(0x110),'attributes':{'class':['ck',_0x283b5a(0x112)],'role':_0x283b5a(0x115),'tabindex':_0x2a9e9e['to'](_0x283b5a(0x122),_0x31aac6=>!!_0x31aac6&&0x0),'aria-labelledby':_0x4b3ed8['id'],'data-cke-tooltip-text':this[_0x283b5a(0x121)][_0x283b5a(0x10b)],'data-cke-tooltip-position':_0x2a9e9e['to'](_0x283b5a(0x111)),'data-cke-tooltip-disabled':_0x2a9e9e['to'](_0x283b5a(0x127),_0x19c2d3=>!_0x19c2d3),'data-cke-tooltip-class':_0x283b5a(0x129)},'children':[this[_0x283b5a(0x121)],this[_0x283b5a(0x12c)],_0x4b3ed8]};_0x19e5c6&&(_0x2ef6c9[_0x283b5a(0x10c)]=_0x283b5a(0x125),_0x2ef6c9['on']={'click':_0x2a9e9e['to'](()=>this[_0x283b5a(0x11f)](_0x283b5a(0x124)))}),this[_0x283b5a(0x11e)](_0x2ef6c9);}}class at extends _0x2da211{constructor(_0x310697,_0x3542a1){const _0x533b2e=_0xc268;super(_0x310697),this[_0x533b2e(0x11e)]({'tag':_0x533b2e(0x12a),'attributes':{'class':['ck',_0x533b2e(0x128),_0x3542a1[_0x533b2e(0x118)][_0x533b2e(0x10f)]()],'aria-hidden':_0x533b2e(0x117)}});}}
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
const
|
|
23
|
+
const _0x33d275=_0x4e85;function _0x4e85(_0x4b5aef,_0x25d146){const _0x308b24=_0x308b();return _0x4e85=function(_0x4e85e5,_0x33c450){_0x4e85e5=_0x4e85e5-0xde;let _0x29229b=_0x308b24[_0x4e85e5];return _0x29229b;},_0x4e85(_0x4b5aef,_0x25d146);}(function(_0x2b140f,_0x306b85){const _0x352ab3=_0x4e85,_0x23e323=_0x2b140f();while(!![]){try{const _0x5988a2=parseInt(_0x352ab3(0xf4))/0x1+parseInt(_0x352ab3(0xe8))/0x2*(parseInt(_0x352ab3(0xf6))/0x3)+parseInt(_0x352ab3(0xf8))/0x4+parseInt(_0x352ab3(0xf0))/0x5*(parseInt(_0x352ab3(0xef))/0x6)+parseInt(_0x352ab3(0xe5))/0x7*(parseInt(_0x352ab3(0xeb))/0x8)+-parseInt(_0x352ab3(0xde))/0x9*(parseInt(_0x352ab3(0xf2))/0xa)+parseInt(_0x352ab3(0xec))/0xb*(-parseInt(_0x352ab3(0xe1))/0xc);if(_0x5988a2===_0x306b85)break;else _0x23e323['push'](_0x23e323['shift']());}catch(_0x36422a){_0x23e323['push'](_0x23e323['shift']());}}}(_0x308b,0xcce5a));import{View as _0x45e871}from'ckeditor5/src/ui.js';import{KeystrokeHandler as _0x280fbd}from'ckeditor5/src/utils.js';import{getTranslation as _0x1006f1}from'../../common-translations.js';export default class es extends _0x45e871{constructor(_0x5b533c){const _0x2a7846=_0x4e85;super(_0x5b533c);const _0x26a487=this[_0x2a7846(0xff)];this[_0x2a7846(0xe2)]=this[_0x2a7846(0xfb)](),this[_0x2a7846(0xe7)]=new _0x280fbd(),this[_0x2a7846(0xea)]({'hasPopup':!0x1,'isExpanded':!0x1}),this[_0x2a7846(0xfc)]({'tag':_0x2a7846(0xf7),'attributes':{'aria-haspopup':_0x26a487['if'](_0x2a7846(0xed)),'aria-expanded':_0x26a487['to'](_0x2a7846(0xe4),_0x36b994=>this[_0x2a7846(0xed)]&&String(_0x36b994)),'aria-label':_0x26a487['to'](_0x2a7846(0xed),_0x35572d=>_0x1006f1(_0x5b533c,_0x35572d?_0x2a7846(0x100):_0x2a7846(0xfa))),'role':_0x2a7846(0xe6),'tabindex':_0x26a487['to'](_0x2a7846(0xed),_0x365c4d=>!!_0x365c4d&&0x0),'class':['ck',_0x2a7846(0xe9)]},'children':this[_0x2a7846(0xe2)],'on':{'click':_0x26a487['to'](()=>this[_0x2a7846(0xf9)](_0x2a7846(0xdf)))}}),this['on'](_0x2a7846(0xe0),(_0x1e04d2,_0x2cf94e,_0x22fc72)=>{const _0x737fbd=_0x2a7846;this[_0x737fbd(0xe3)]&&(_0x22fc72?this[_0x737fbd(0xe3)][_0x737fbd(0xfe)](_0x737fbd(0xf5),String(this[_0x737fbd(0xe4)])):this[_0x737fbd(0xe3)][_0x737fbd(0xf1)](_0x737fbd(0xf5)));});}[_0x33d275(0xf3)](){const _0x3077bd=_0x33d275;this[_0x3077bd(0xe3)][_0x3077bd(0xf3)]();}[_0x33d275(0xfd)](){const _0x16f48b=_0x33d275;super[_0x16f48b(0xfd)](),this[_0x16f48b(0xe7)][_0x16f48b(0xee)](this[_0x16f48b(0xe3)]);}}function _0x308b(){const _0x1bf07b=['listenTo','6PlNgEK','7644955QcmYpM','removeAttribute','20nYdrQD','focus','509412HAkDNb','aria-expanded','454791kLyoOy','div','5573368Esxpsv','fire','Connected\x20users\x20list','createCollection','setTemplate','render','setAttribute','bindTemplate','Collapsed\x20connected\x20users\x20list\x20(press\x20ENTER\x20to\x20open\x20it)','3337137lusuac','execute','change:hasPopup','29750736KGjRtm','items','element','isExpanded','222474eYUeXr','list','keystrokes','2ypbcDf','ck-presence-list__list','set','120JfJPXc','11WyAwXV','hasPopup'];_0x308b=function(){return _0x1bf07b;};return _0x308b();}
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
(function(
|
|
23
|
+
(function(_0x568ec2,_0x193e68){const _0x156c51=_0xbd31,_0x5590ac=_0x568ec2();while(!![]){try{const _0x5da354=-parseInt(_0x156c51(0x193))/0x1*(-parseInt(_0x156c51(0x19b))/0x2)+-parseInt(_0x156c51(0x19c))/0x3+-parseInt(_0x156c51(0x198))/0x4+parseInt(_0x156c51(0x196))/0x5*(-parseInt(_0x156c51(0x1a6))/0x6)+parseInt(_0x156c51(0x18e))/0x7*(parseInt(_0x156c51(0x197))/0x8)+parseInt(_0x156c51(0x1a7))/0x9*(parseInt(_0x156c51(0x199))/0xa)+parseInt(_0x156c51(0x1a9))/0xb*(parseInt(_0x156c51(0x18f))/0xc);if(_0x5da354===_0x193e68)break;else _0x5590ac['push'](_0x5590ac['shift']());}catch(_0x3dd3a1){_0x5590ac['push'](_0x5590ac['shift']());}}}(_0x1620,0xa0b5e));import{View as _0x14d271}from'ckeditor5/src/ui.js';import _0x514347 from'./presencecounterview.js';function _0xbd31(_0x4a2c36,_0x2b3efa){const _0x162010=_0x1620();return _0xbd31=function(_0xbd31f0,_0xdee397){_0xbd31f0=_0xbd31f0-0x18c;let _0x152414=_0x162010[_0xbd31f0];return _0x152414;},_0xbd31(_0x4a2c36,_0x2b3efa);}import _0x5a8d68 from'./presenceinlinelistview.js';import'../../../theme/presencelist.css';export default class L extends _0x14d271{constructor(_0x12ecbc){const _0x5054be=_0xbd31;super(_0x12ecbc);const _0x5bdbba=this[_0x5054be(0x1a8)];this[_0x5054be(0x190)](_0x5054be(0x1a3),!0x0),this[_0x5054be(0x1aa)]=new _0x514347(this[_0x5054be(0x195)]),this[_0x5054be(0x18c)]=new _0x5a8d68(_0x12ecbc),this[_0x5054be(0x18c)][_0x5054be(0x1a5)](_0x5054be(0x19d))['to'](this,_0x5054be(0x1a3)),this[_0x5054be(0x192)](this[_0x5054be(0x18c)][_0x5054be(0x19a)],_0x5054be(0x19f),()=>{const _0x638f27=_0x5054be;for(const _0x1f7f2e of this[_0x638f27(0x18c)][_0x638f27(0x19a)])_0x1f7f2e[_0x638f27(0x19e)]='s';this[_0x638f27(0x18c)][_0x638f27(0x19a)][_0x638f27(0x194)]&&(this[_0x638f27(0x18c)][_0x638f27(0x19a)][_0x638f27(0x194)][_0x638f27(0x19e)]='se');}),this[_0x5054be(0x1a4)]({'tag':_0x5054be(0x1a0),'attributes':{'class':['ck',_0x5054be(0x1a2),_0x5054be(0x18d),_0x5054be(0x1a1),_0x5bdbba['if'](_0x5054be(0x1a3),_0x5054be(0x191))]},'children':[this[_0x5054be(0x1aa)],this[_0x5054be(0x18c)]]});}}function _0x1620(){const _0x494c75=['ck-presence-list--collapsed','listenTo','1471JejjYq','first','locale','9670oNYpEF','32bKZIBt','4688988VahalT','18030mUQjSX','items','1684CQzrQs','2959248AvcbFK','hasPopup','tooltipPosition','change','div','ck-rounded-corners','ck-presence-list','isCollapsed','setTemplate','bind','1452PtWkXI','5571SwjoSz','bindTemplate','442794iaWKUP','counterView','inlineListView','ck-reset','994063WqBPCl','108HynSfW','set'];_0x1620=function(){return _0x494c75;};return _0x1620();}
|
package/src/presencelist.js
CHANGED
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
var
|
|
23
|
+
var _0x3146dd=_0x49b0;(function(_0x3022cb,_0x58c226){var _0x52b533=_0x49b0,_0x542797=_0x3022cb();while(!![]){try{var _0x2e5c0f=-parseInt(_0x52b533(0x129))/0x1+-parseInt(_0x52b533(0x12a))/0x2+parseInt(_0x52b533(0x131))/0x3+-parseInt(_0x52b533(0x12b))/0x4*(parseInt(_0x52b533(0x133))/0x5)+-parseInt(_0x52b533(0x132))/0x6*(-parseInt(_0x52b533(0x135))/0x7)+parseInt(_0x52b533(0x12f))/0x8+-parseInt(_0x52b533(0x12d))/0x9*(-parseInt(_0x52b533(0x12c))/0xa);if(_0x2e5c0f===_0x58c226)break;else _0x542797['push'](_0x542797['shift']());}catch(_0xc27b7c){_0x542797['push'](_0x542797['shift']());}}}(_0x2010,0x8625d));function _0x2010(){var _0xb9bd20=['pluginName','658pZbeFy','923854zZmnjd','993972WBgrwd','4PYkvkK','1094880XNJNMk','72wUNIPx','PresenceList','7488176RzBDlO','requires','1690566SmIUXg','1536qKFcpL','2146015aZxBjU'];_0x2010=function(){return _0xb9bd20;};return _0x2010();}import{ContextPlugin as _0xb84428}from'ckeditor5/src/core.js';import _0x2b8e53 from'./realtimecollaborativeediting/sessions.js';import _0x77c530 from'./presencelist/presencelistui.js';function _0x49b0(_0x2845a7,_0x581c35){var _0x201020=_0x2010();return _0x49b0=function(_0x49b046,_0x5d12b4){_0x49b046=_0x49b046-0x129;var _0x238461=_0x201020[_0x49b046];return _0x238461;},_0x49b0(_0x2845a7,_0x581c35);}export default class i extends _0xb84428{static get[_0x3146dd(0x130)](){return[_0x2b8e53,_0x77c530];}static get[_0x3146dd(0x134)](){var _0x16c737=_0x3146dd;return _0x16c737(0x12e);}}
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
const _0x121bd3=_0x5442;(function(_0x3c1f94,_0x4e5a07){const _0x3d3763=_0x5442,_0x33e707=_0x3c1f94();while(!![]){try{const _0x1b0cfa=-parseInt(_0x3d3763(0x127))/0x1*(parseInt(_0x3d3763(0x169))/0x2)+-parseInt(_0x3d3763(0x16f))/0x3*(-parseInt(_0x3d3763(0x11f))/0x4)+-parseInt(_0x3d3763(0x119))/0x5+parseInt(_0x3d3763(0x134))/0x6*(-parseInt(_0x3d3763(0x166))/0x7)+parseInt(_0x3d3763(0x123))/0x8*(-parseInt(_0x3d3763(0x113))/0x9)+parseInt(_0x3d3763(0x11e))/0xa+parseInt(_0x3d3763(0x140))/0xb;if(_0x1b0cfa===_0x4e5a07)break;else _0x33e707['push'](_0x33e707['shift']());}catch(_0x2e7e83){_0x33e707['push'](_0x33e707['shift']());}}}(_0x2511,0xd12e0));import{Context as _0x4e8a22,ContextPlugin as _0x28cc4b}from'ckeditor5/src/core.js';import{CKEditorError as _0x52e57d}from'ckeditor5/src/utils.js';import{Users as _0x2b6525}from'ckeditor5-collaboration/src/collaboration-core.js';import{CommentsService as _0x417bbd,User as _0x215f0d}from'@ckeditor/ckeditor-cloud-services-collaboration/src/services.js';import _0x3b4b17 from'../realtimecollaborativeediting/websocketgateway.js';import _0x5884e2 from'../realtimecollaborativeediting/sessions.js';class a extends _0x28cc4b{static get[_0x121bd3(0x112)](){const _0x1da275=_0x121bd3;return[_0x3b4b17,_0x1da275(0x157),_0x5884e2,_0x2b6525];}static get[_0x121bd3(0x173)](){const _0x28498b=_0x121bd3;return _0x28498b(0x135);}constructor(_0x491e02){const _0x192d7a=_0x121bd3;super(_0x491e02),this[_0x192d7a(0x12e)]=new Map();}async[_0x121bd3(0x164)](){const _0xa7cf3f=_0x121bd3,_0x3cfcb8=this[_0xa7cf3f(0x12f)],_0x2ce223=_0x3cfcb8[_0xa7cf3f(0x145)][_0xa7cf3f(0x16b)](_0xa7cf3f(0x157));if(_0x3cfcb8[_0xa7cf3f(0x145)][_0xa7cf3f(0x16b)](_0x3b4b17)[_0xa7cf3f(0x138)](this),_0x2ce223[_0xa7cf3f(0x14c)]={'addCommentThread':async({channelId:_0x502844,threadId:_0x1f5b68,comments:_0x5bd765,resolvedAt:_0x2003ae,resolvedBy:_0x2d839a,context:_0x21975a,attributes:_0x11af9e})=>{const _0x272918=_0xa7cf3f,_0x459377=await this[_0x272918(0x15f)](_0x502844)[_0x272918(0x158)]({'commentThreadId':_0x1f5b68,'comments':_0x5bd765[_0x272918(0x153)](_0x5987e5=>function(_0x4f3e6d,_0x2b53af,_0x2ea192){const _0x5e426a=_0x272918;return{'commentThreadId':_0x2ea192,'commentId':_0x4f3e6d[_0x5e426a(0x162)],'userId':_0x4f3e6d[_0x5e426a(0x13d)],'content':_0x4f3e6d[_0x5e426a(0x156)],'documentId':_0x2b53af,'createdAt':_0x4f3e6d[_0x5e426a(0x148)],'attributes':_0x4f3e6d[_0x5e426a(0x16a)]||{}};}(_0x5987e5,_0x502844,_0x1f5b68)),'resolvedAt':_0x2003ae,'resolvedBy':_0x2d839a,'context':_0x21975a,'attributes':_0x11af9e})[_0x272918(0x14b)](R);return{'threadId':_0x459377[_0x272918(0x160)],'comments':_0x459377[_0x272918(0x175)]};},'getCommentThread':async({channelId:_0x347b08,threadId:_0x899cc4})=>{const _0x350025=_0xa7cf3f,_0x1e981b=await this[_0x350025(0x15f)](_0x347b08)[_0x350025(0x129)](_0x899cc4)[_0x350025(0x14b)](R);return _0x1e981b[_0x350025(0x14f)]?null:(await this[_0x350025(0x155)]([_0x1e981b]),{'threadId':_0x1e981b[_0x350025(0x160)],'comments':_0x1e981b[_0x350025(0x175)][_0x350025(0x153)](S),'context':_0x1e981b[_0x350025(0x12f)],'resolvedAt':_0x1e981b[_0x350025(0x14d)],'resolvedBy':_0x1e981b[_0x350025(0x144)],'attributes':_0x1e981b[_0x350025(0x16a)]||{}});},'updateCommentThread':async({channelId:_0x28664b,threadId:_0x1d1284,context:_0x5f3436,unlinkedAt:_0x26d028,attributes:_0x28e447})=>this[_0xa7cf3f(0x15f)](_0x28664b)[_0xa7cf3f(0x111)]({'commentThreadId':_0x1d1284,'context':_0x5f3436,'attributes':_0x28e447,'unlinkedAt':_0x26d028})[_0xa7cf3f(0x14b)](B)[_0xa7cf3f(0x14b)](R),'resolveCommentThread':async({channelId:_0x622032,threadId:_0x3614e0})=>{const _0x51b878=_0xa7cf3f,_0x5b2de3=await this[_0x51b878(0x15f)](_0x622032)[_0x51b878(0x149)](_0x3614e0)[_0x51b878(0x14b)](B)[_0x51b878(0x14b)](R);return{'threadId':_0x5b2de3[_0x51b878(0x160)],'resolvedAt':_0x5b2de3[_0x51b878(0x14d)],'resolvedBy':_0x5b2de3[_0x51b878(0x144)]};},'reopenCommentThread':async({channelId:_0x28351c,threadId:_0x297c3a})=>this[_0xa7cf3f(0x15f)](_0x28351c)[_0xa7cf3f(0x117)](_0x297c3a)[_0xa7cf3f(0x14b)](B)[_0xa7cf3f(0x14b)](R),'removeCommentThread':({channelId:_0x417ead,threadId:_0x5bb19c})=>this[_0xa7cf3f(0x15f)](_0x417ead)[_0xa7cf3f(0x118)](_0x5bb19c)[_0xa7cf3f(0x14b)](B)[_0xa7cf3f(0x14b)](R),'addComment':({channelId:_0x150a92,threadId:_0x23e8aa,commentId:_0x3dfdfd,content:_0x2b29cd,attributes:_0x32346a})=>this[_0xa7cf3f(0x15f)](_0x150a92)[_0xa7cf3f(0x146)](_0x23e8aa,_0x3dfdfd,_0x2b29cd,_0x32346a)[_0xa7cf3f(0x14b)](R),'updateComment':({channelId:_0x358da1,threadId:_0x3de575,commentId:_0x404c90,content:_0x2c5484,attributes:_0x13ad57})=>this[_0xa7cf3f(0x15f)](_0x358da1)[_0xa7cf3f(0x11b)](_0x3de575,_0x404c90,_0x2c5484,_0x13ad57)[_0xa7cf3f(0x14b)](B)[_0xa7cf3f(0x14b)](R),'removeComment':({channelId:_0x1dc549,threadId:_0x470808,commentId:_0xc3de4b})=>this[_0xa7cf3f(0x15f)](_0x1dc549)[_0xa7cf3f(0x15c)](_0x470808,_0xc3de4b)[_0xa7cf3f(0x14b)](B)[_0xa7cf3f(0x14b)](R)},_0x3cfcb8 instanceof _0x4e8a22){const _0x103dd3=_0x3cfcb8[_0xa7cf3f(0x11d)][_0xa7cf3f(0x16b)](_0xa7cf3f(0x16c)),_0x26ebe9=_0x3cfcb8[_0xa7cf3f(0x145)][_0xa7cf3f(0x16b)](_0x5884e2);await this[_0xa7cf3f(0x159)](_0x103dd3);const _0x532f91=await this[_0xa7cf3f(0x12e)][_0xa7cf3f(0x16b)](_0x103dd3)[_0xa7cf3f(0x131)]();this[_0xa7cf3f(0x122)](_0x26ebe9,_0xa7cf3f(0x12b)+_0x103dd3,(_0x16b03c,{session:_0x123b1d})=>{const _0x440884=_0xa7cf3f;_0x123b1d['id']===_0x26ebe9[_0x440884(0x15a)]&&(_0x16b03c[_0x440884(0x151)](),this[_0x440884(0x12f)][_0x440884(0x145)][_0x440884(0x16b)](_0x440884(0x14e))[_0x440884(0x15e)](_0x123b1d[_0x440884(0x170)],_0x103dd3));}),_0x26ebe9[_0xa7cf3f(0x174)](_0x103dd3,_0x532f91);}}async[_0x121bd3(0x159)](_0x413c8c){const _0x585cdb=_0x121bd3;if(this[_0x585cdb(0x12e)][_0x585cdb(0x167)](_0x413c8c))throw new _0x52e57d(_0x585cdb(0x125),null,{'channelId':_0x413c8c});const _0x3548ea=this[_0x585cdb(0x12f)][_0x585cdb(0x145)][_0x585cdb(0x16b)](_0x585cdb(0x157)),_0x17819b=new a[(_0x585cdb(0x124))](_0x413c8c);this[_0x585cdb(0x12e)][_0x585cdb(0x154)](_0x413c8c,_0x17819b),this[_0x585cdb(0x122)](_0x17819b,_0x585cdb(0x137),(_0x192002,_0x59fff4)=>{const _0x2a56b5=_0x585cdb,{commentThreadId:_0x3b27e2,documentId:_0x286347,context:_0xf1ee16,attributes:_0x22b617,resolvedAt:_0x236e90,resolvedBy:_0x2fc3c0,comments:_0x553079}=_0x59fff4;_0x3548ea[_0x2a56b5(0x129)](_0x3b27e2)||_0x3548ea[_0x2a56b5(0x158)]({'threadId':_0x3b27e2,'channelId':_0x286347,'comments':_0x553079?_0x553079[_0x2a56b5(0x153)](S):[],'context':_0xf1ee16,'attributes':_0x22b617,'resolvedAt':_0x236e90,'resolvedBy':_0x2fc3c0,'isFromAdapter':!0x0});}),this[_0x585cdb(0x122)](_0x17819b,_0x585cdb(0x150),(_0x5ce579,{commentThreadId:_0x17cf37,documentId:_0x374b89,context:_0x370ac3,unlinkedAt:_0x43a8af,attributes:_0x2adc3c})=>{const _0x301c3d=_0x585cdb;_0x3548ea[_0x301c3d(0x129)](_0x17cf37)&&_0x3548ea[_0x301c3d(0x111)]({'threadId':_0x17cf37,'channelId':_0x374b89,'context':_0x370ac3,'unlinkedAt':_0x43a8af,'attributes':_0x2adc3c,'isFromAdapter':!0x0});}),this[_0x585cdb(0x122)](_0x17819b,_0x585cdb(0x163),(_0x243534,{commentThreadId:_0xe018a,resolvedBy:_0x4b34dd,resolvedAt:_0x5c8248})=>{const _0x53ab0c=_0x585cdb,_0x531ca2=_0x3548ea[_0x53ab0c(0x129)](_0xe018a);_0x531ca2&&_0x531ca2[_0x53ab0c(0x13a)]({'resolvedBy':_0x4b34dd,'resolvedAt':_0x5c8248,'isFromAdapter':!0x0});}),this[_0x585cdb(0x122)](_0x17819b,_0x585cdb(0x161),(_0x3500fa,{commentThreadId:_0x22fb0d})=>{const _0x15e218=_0x585cdb,_0x184aae=_0x3548ea[_0x15e218(0x129)](_0x22fb0d);_0x184aae&&_0x184aae[_0x15e218(0x128)]({'isFromAdapter':!0x0});}),this[_0x585cdb(0x122)](_0x17819b,_0x585cdb(0x126),(_0x4fa896,{commentThreadId:_0x1142c7})=>{const _0x4c8a6e=_0x585cdb,_0x10fbda=_0x3548ea[_0x4c8a6e(0x129)](_0x1142c7);_0x10fbda&&_0x10fbda[_0x4c8a6e(0x152)]({'isFromAdapter':!0x0});}),this[_0x585cdb(0x122)](_0x17819b,_0x585cdb(0x12c),(_0x2f421d,_0x28e28a)=>{const _0x48eb53=_0x585cdb,_0x5ea91f=_0x28e28a[_0x48eb53(0x160)],_0x45de66=_0x3548ea[_0x48eb53(0x129)](_0x5ea91f);_0x45de66&&_0x45de66[_0x48eb53(0x146)]({...S(_0x28e28a),'isFromAdapter':!0x0});}),this[_0x585cdb(0x122)](_0x17819b,_0x585cdb(0x13f),(_0x526e69,{commentThreadId:_0x5ddb56,commentId:_0x285d8a,content:_0xb7011e,attributes:_0xa93574})=>{const _0x31908e=_0x585cdb,_0x27b159=_0x3548ea[_0x31908e(0x129)](_0x5ddb56);if(_0x27b159){const _0x15c75b=_0x27b159[_0x31908e(0x172)](_0x285d8a);_0x15c75b&&_0x15c75b[_0x31908e(0x13c)]({'content':_0xb7011e,'attributes':_0xa93574,'isFromAdapter':!0x0});}}),this[_0x585cdb(0x122)](_0x17819b,_0x585cdb(0x15b),(_0x11d230,{commentThreadId:_0x55ba49,commentId:_0x43b6d3})=>{const _0x55d696=_0x585cdb,_0x1ded86=_0x3548ea[_0x55d696(0x129)](_0x55ba49);if(_0x1ded86){const _0x5680f5=_0x1ded86[_0x55d696(0x172)](_0x43b6d3);_0x5680f5&&_0x5680f5[_0x55d696(0x152)]({'isFromAdapter':!0x0});}}),await this[_0x585cdb(0x11c)](_0x413c8c);}[_0x121bd3(0x121)](){const _0x33c07d=_0x121bd3;if(this[_0x33c07d(0x12f)]instanceof _0x4e8a22){const _0x42fbf5=this[_0x33c07d(0x12f)][_0x33c07d(0x11d)][_0x33c07d(0x16b)](_0x33c07d(0x16c));this[_0x33c07d(0x115)](_0x42fbf5);}}[_0x121bd3(0x115)](_0x1a891c){const _0x23141d=_0x121bd3;if(!this[_0x23141d(0x12e)][_0x23141d(0x167)](_0x1a891c))throw new _0x52e57d(_0x23141d(0x139),null,{'channelId':_0x1a891c});this[_0x23141d(0x15f)](_0x1a891c)[_0x23141d(0x114)](),this[_0x23141d(0x12e)][_0x23141d(0x13e)](_0x1a891c);}async[_0x121bd3(0x142)](){const _0x2e5b9e=_0x121bd3;for(const _0xbd5abb of this[_0x2e5b9e(0x12e)][_0x2e5b9e(0x14a)]())await this[_0x2e5b9e(0x11c)](_0xbd5abb);if(this[_0x2e5b9e(0x12f)]instanceof _0x4e8a22){const _0x31f0a9=this[_0x2e5b9e(0x12f)][_0x2e5b9e(0x11d)][_0x2e5b9e(0x16b)](_0x2e5b9e(0x16c)),_0x363eac=this[_0x2e5b9e(0x12f)][_0x2e5b9e(0x145)][_0x2e5b9e(0x16b)](_0x5884e2);_0x363eac[_0x2e5b9e(0x12d)](_0x31f0a9);const _0x1dbf62=await this[_0x2e5b9e(0x12e)][_0x2e5b9e(0x16b)](_0x31f0a9)[_0x2e5b9e(0x131)]();_0x363eac[_0x2e5b9e(0x174)](_0x31f0a9,_0x1dbf62);}}async[_0x121bd3(0x11c)](_0x52f0cf){const _0x329da8=_0x121bd3,{connection:_0x277c25}=this[_0x329da8(0x12f)][_0x329da8(0x145)][_0x329da8(0x16b)](_0x3b4b17),_0x1b25f7=this[_0x329da8(0x12f)][_0x329da8(0x145)][_0x329da8(0x16b)](_0x329da8(0x157)),_0x42994a=this[_0x329da8(0x12e)][_0x329da8(0x16b)](_0x52f0cf),_0x334636=await _0x42994a[_0x329da8(0x16e)](_0x277c25);await this[_0x329da8(0x155)](_0x334636);const _0x1cb880=new Set(Array[_0x329da8(0x130)](_0x1b25f7[_0x329da8(0x12a)]({'channelId':_0x52f0cf}),_0x5ab707=>_0x5ab707['id']));for(const _0x15ee46 of _0x334636)_0x15ee46[_0x329da8(0x14f)]||_0x1cb880[_0x329da8(0x13e)](_0x15ee46[_0x329da8(0x160)]);for(const _0x2ad2cd of _0x1cb880)_0x1b25f7[_0x329da8(0x129)](_0x2ad2cd)[_0x329da8(0x152)]({'isFromAdapter':!0x0});for(const _0x968a51 of _0x334636){let _0x1f4976=_0x1b25f7[_0x329da8(0x129)](_0x968a51[_0x329da8(0x160)]);const {commentThreadId:_0x385d94,context:_0x1c846e,attributes:_0x46b95c,resolvedBy:_0xfe9c40,resolvedAt:_0x500fe4,unlinkedAt:_0x3fdb27,deletedAt:_0x339730}=_0x968a51;if(_0x339730)continue;_0x1f4976||(_0x1f4976=_0x1b25f7[_0x329da8(0x158)]({'channelId':_0x52f0cf,'threadId':_0x385d94,'context':_0x1c846e,'attributes':_0x46b95c||{},'resolvedBy':_0xfe9c40,'resolvedAt':_0x500fe4,'unlinkedAt':_0x3fdb27,'isFromAdapter':!0x0}));const _0x20f970=new Set(Array[_0x329da8(0x130)](_0x1f4976[_0x329da8(0x175)],_0x15014f=>_0x15014f['id']));for(const _0x3b6e54 of _0x968a51[_0x329da8(0x175)])_0x20f970[_0x329da8(0x13e)](_0x3b6e54[_0x329da8(0x162)]);for(const _0x5965da of _0x20f970)_0x1f4976[_0x329da8(0x172)](_0x5965da)[_0x329da8(0x152)]({'isFromAdapter':!0x0});for(const _0x384bb9 of _0x968a51[_0x329da8(0x175)]){const _0x22a823=_0x1f4976[_0x329da8(0x172)](_0x384bb9[_0x329da8(0x162)]);_0x22a823?_0x22a823[_0x329da8(0x156)]!==_0x384bb9[_0x329da8(0x156)]&&_0x22a823[_0x329da8(0x13c)]({'content':_0x384bb9[_0x329da8(0x156)],'isFromAdapter':!0x0}):_0x1f4976[_0x329da8(0x146)](Object[_0x329da8(0x143)](S(_0x384bb9),{'isFromAdapter':!0x0}));}}}[_0x121bd3(0x15f)](_0x568c30){const _0x28eca3=_0x121bd3;if(!this[_0x28eca3(0x12e)][_0x28eca3(0x167)](_0x568c30))throw new _0x52e57d(_0x28eca3(0x168),null,{'channelId':_0x568c30});return this[_0x28eca3(0x12e)][_0x28eca3(0x16b)](_0x568c30);}async[_0x121bd3(0x155)](_0x4f8233){const _0x16c665=_0x121bd3,_0x46caba=this[_0x16c665(0x12f)][_0x16c665(0x145)][_0x16c665(0x16b)](_0x2b6525),{connection:_0x43e7c8}=this[_0x16c665(0x12f)][_0x16c665(0x145)][_0x16c665(0x16b)](_0x3b4b17),_0x57ab89=new Set();for(const {resolvedBy:_0x27c172,comments:_0x2a436b}of _0x4f8233){_0x27c172&&!_0x46caba[_0x16c665(0x116)](_0x27c172)&&_0x57ab89[_0x16c665(0x15d)](_0x27c172);for(const {userId:_0x243357}of _0x2a436b)_0x46caba[_0x16c665(0x116)](_0x243357)||_0x57ab89[_0x16c665(0x15d)](_0x243357);}if(0x0===_0x57ab89[_0x16c665(0x132)])return;const _0x58b0a8=await _0x215f0d[_0x16c665(0x147)](_0x43e7c8,Array[_0x16c665(0x130)](_0x57ab89));for(const _0x6bb464 of _0x58b0a8)_0x46caba[_0x16c665(0x116)](_0x6bb464['id'])||_0x46caba[_0x16c665(0x136)](_0x6bb464);}}a[_0x121bd3(0x124)]=_0x417bbd;export default a;function _0x5442(_0x2d4746,_0x33ef51){const _0x25110e=_0x2511();return _0x5442=function(_0x544282,_0x55c705){_0x544282=_0x544282-0x111;let _0x356ee0=_0x25110e[_0x544282];return _0x356ee0;},_0x5442(_0x2d4746,_0x33ef51);}async function B(_0x60a243){const _0xcda311=_0x121bd3;if(_0xcda311(0x171)!==_0x60a243[_0xcda311(0x16d)])throw _0x60a243;}function R(_0x2e8d76){const _0x4c44db=_0x121bd3;if((_0x1f3ebf=_0x2e8d76)[_0x4c44db(0x165)][_0x4c44db(0x141)](_0x4c44db(0x133))||_0x1f3ebf[_0x4c44db(0x165)][_0x4c44db(0x141)](_0x4c44db(0x120))||_0x1f3ebf[_0x4c44db(0x165)][_0x4c44db(0x141)](_0x4c44db(0x11a)))return new Promise(()=>{});var _0x1f3ebf;throw _0x2e8d76;}function S(_0x5c7df6){const _0x71ae7b=_0x121bd3;return{'threadId':_0x5c7df6[_0x71ae7b(0x160)],'commentId':_0x5c7df6[_0x71ae7b(0x162)],'content':_0x5c7df6[_0x71ae7b(0x156)],'createdAt':_0x5c7df6[_0x71ae7b(0x148)],'authorId':_0x5c7df6[_0x71ae7b(0x13b)],'attributes':_0x5c7df6[_0x71ae7b(0x16a)]||{}};}function _0x2511(){const _0x5ab5f8=['getCommentThreads','sessionAdd:','commentAdded','unregister','_services','context','from','getConnectedSessions','size','cloud-services-internal-error:\x20Comments\x20Service\x20is\x20not\x20connected.','45294hXMHjo','CloudServicesCommentsAdapter','addUser','commentThreadAdded','addToReconnectionStack','cloudservicescommentsadapter-disconnect-not-exist','resolve','userId','update','authorId','delete','commentUpdated','19226702rNTcbq','startsWith','reconnect','assign','resolvedBy','plugins','addComment','getMany','createdAt','resolveCommentThread','keys','catch','adapter','resolvedAt','Permissions','deletedAt','commentThreadUpdated','off','remove','map','set','_fetchMissingUsersForThreads','content','CommentsRepository','addCommentThread','_setUpService','mySessionId','commentRemoved','removeComment','add','setPermissions','_getService','commentThreadId','commentThreadReopened','commentId','commentThreadResolved','init','message','1582qrYkQC','has','cloudservicescommentsadapter-service-not-exist','589118ivCyba','attributes','get','collaboration.channelId','code','connect','3lCmzVU','permissions','404','getComment','pluginName','register','comments','updateCommentThread','requires','27AZkMiw','disconnect','_terminateService','getUser','reopenCommentThread','removeCommentThread','2463810Apccrw','cloud-services-internal-error:\x20Request\x20timeout.','updateComment','_connectService','config','14442820dBKpXn','4676812YZcflf','cloud-services-internal-error:\x20Not\x20connected.','destroy','listenTo','1910968ImQIFF','CommentsService','cloudservicescommentsadapter-connect-already-connected','commentThreadRemoved','2vjdeAz','reopen','getCommentThread'];_0x2511=function(){return _0x5ab5f8;};return _0x2511();}
|
|
23
|
+
const _0x3ec431=_0x22dc;(function(_0x1d16c9,_0x1139fc){const _0x15156b=_0x22dc,_0x34ad7a=_0x1d16c9();while(!![]){try{const _0x1fbba2=parseInt(_0x15156b(0x17f))/0x1+parseInt(_0x15156b(0x151))/0x2*(parseInt(_0x15156b(0x197))/0x3)+-parseInt(_0x15156b(0x13f))/0x4*(parseInt(_0x15156b(0x16a))/0x5)+-parseInt(_0x15156b(0x15f))/0x6+parseInt(_0x15156b(0x15e))/0x7+-parseInt(_0x15156b(0x178))/0x8+parseInt(_0x15156b(0x13c))/0x9;if(_0x1fbba2===_0x1139fc)break;else _0x34ad7a['push'](_0x34ad7a['shift']());}catch(_0x49b4dd){_0x34ad7a['push'](_0x34ad7a['shift']());}}}(_0x8329,0xa6ee7));import{Context as _0x3a8feb,ContextPlugin as _0x538204}from'ckeditor5/src/core.js';import{CKEditorError as _0x1cf057}from'ckeditor5/src/utils.js';import{Users as _0x57e16f}from'ckeditor5-collaboration/src/collaboration-core.js';import{CommentsService as _0x57ba24,User as _0x1def9c}from'@ckeditor/ckeditor-cloud-services-collaboration/src/services.js';import _0x15e16a from'../realtimecollaborativeediting/websocketgateway.js';import _0x186b79 from'../realtimecollaborativeediting/sessions.js';class a extends _0x538204{static get[_0x3ec431(0x160)](){const _0x1cf826=_0x3ec431;return[_0x15e16a,_0x1cf826(0x17d),_0x186b79,_0x57e16f];}static get[_0x3ec431(0x194)](){const _0x4c6284=_0x3ec431;return _0x4c6284(0x177);}constructor(_0x3d8f75){const _0x13f592=_0x3ec431;super(_0x3d8f75),this[_0x13f592(0x154)]=new Map();}async[_0x3ec431(0x17c)](){const _0x517be9=_0x3ec431,_0x3d3720=this[_0x517be9(0x18d)],_0x1578c0=_0x3d3720[_0x517be9(0x180)][_0x517be9(0x171)](_0x517be9(0x17d));if(_0x3d3720[_0x517be9(0x180)][_0x517be9(0x171)](_0x15e16a)[_0x517be9(0x14e)](this),_0x1578c0[_0x517be9(0x14f)]={'addCommentThread':async({channelId:_0x77792d,threadId:_0x48efe2,comments:_0x488576,resolvedAt:_0xe2fd38,resolvedBy:_0x3724d1,context:_0xbf1284,attributes:_0x161d51})=>{const _0x426b2b=_0x517be9,_0x191b6e=await this[_0x426b2b(0x16b)](_0x77792d)[_0x426b2b(0x15a)]({'commentThreadId':_0x48efe2,'comments':_0x488576[_0x426b2b(0x172)](_0x3f9644=>function(_0x4a9a3f,_0x433d3c,_0x5de3e9){const _0x59a404=_0x426b2b;return{'commentThreadId':_0x5de3e9,'commentId':_0x4a9a3f[_0x59a404(0x135)],'userId':_0x4a9a3f[_0x59a404(0x17b)],'content':_0x4a9a3f[_0x59a404(0x18c)],'documentId':_0x433d3c,'createdAt':_0x4a9a3f[_0x59a404(0x150)],'attributes':_0x4a9a3f[_0x59a404(0x139)]||{}};}(_0x3f9644,_0x77792d,_0x48efe2)),'resolvedAt':_0xe2fd38,'resolvedBy':_0x3724d1,'context':_0xbf1284,'attributes':_0x161d51})[_0x426b2b(0x16d)](R);return{'threadId':_0x191b6e[_0x426b2b(0x153)],'comments':_0x191b6e[_0x426b2b(0x143)]};},'getCommentThread':async({channelId:_0x41b937,threadId:_0x4243e8})=>{const _0x3fd799=_0x517be9,_0xa4ceb8=await this[_0x3fd799(0x16b)](_0x41b937)[_0x3fd799(0x158)](_0x4243e8)[_0x3fd799(0x16d)](R);return _0xa4ceb8[_0x3fd799(0x157)]?null:(await this[_0x3fd799(0x186)]([_0xa4ceb8]),{'threadId':_0xa4ceb8[_0x3fd799(0x153)],'comments':_0xa4ceb8[_0x3fd799(0x143)][_0x3fd799(0x172)](S),'context':_0xa4ceb8[_0x3fd799(0x18d)],'resolvedAt':_0xa4ceb8[_0x3fd799(0x176)],'resolvedBy':_0xa4ceb8[_0x3fd799(0x147)],'attributes':_0xa4ceb8[_0x3fd799(0x139)]||{}});},'updateCommentThread':async({channelId:_0x899595,threadId:_0x43c0f8,context:_0x5486e6,unlinkedAt:_0x109e8b,attributes:_0xbd5ef5})=>this[_0x517be9(0x16b)](_0x899595)[_0x517be9(0x13b)]({'commentThreadId':_0x43c0f8,'context':_0x5486e6,'attributes':_0xbd5ef5,'unlinkedAt':_0x109e8b})[_0x517be9(0x16d)](B)[_0x517be9(0x16d)](R),'resolveCommentThread':async({channelId:_0x2c240d,threadId:_0x3bfd6d})=>{const _0x483ea7=_0x517be9,_0xc23ada=await this[_0x483ea7(0x16b)](_0x2c240d)[_0x483ea7(0x170)](_0x3bfd6d)[_0x483ea7(0x16d)](B)[_0x483ea7(0x16d)](R);return{'threadId':_0xc23ada[_0x483ea7(0x153)],'resolvedAt':_0xc23ada[_0x483ea7(0x176)],'resolvedBy':_0xc23ada[_0x483ea7(0x147)]};},'reopenCommentThread':async({channelId:_0x4a0c80,threadId:_0xf7dcc1})=>this[_0x517be9(0x16b)](_0x4a0c80)[_0x517be9(0x152)](_0xf7dcc1)[_0x517be9(0x16d)](B)[_0x517be9(0x16d)](R),'removeCommentThread':({channelId:_0x51d457,threadId:_0x17ad69})=>this[_0x517be9(0x16b)](_0x51d457)[_0x517be9(0x189)](_0x17ad69)[_0x517be9(0x16d)](B)[_0x517be9(0x16d)](R),'addComment':({channelId:_0x33518e,threadId:_0x587ed4,commentId:_0x36d762,content:_0x30cc40,attributes:_0x98fcce})=>this[_0x517be9(0x16b)](_0x33518e)[_0x517be9(0x195)](_0x587ed4,_0x36d762,_0x30cc40,_0x98fcce)[_0x517be9(0x16d)](R),'updateComment':({channelId:_0x17f3d2,threadId:_0x372414,commentId:_0x4f3c07,content:_0x4d781d,attributes:_0x3854ab})=>this[_0x517be9(0x16b)](_0x17f3d2)[_0x517be9(0x142)](_0x372414,_0x4f3c07,_0x4d781d,_0x3854ab)[_0x517be9(0x16d)](B)[_0x517be9(0x16d)](R),'removeComment':({channelId:_0x4383b5,threadId:_0x5d69da,commentId:_0x487531})=>this[_0x517be9(0x16b)](_0x4383b5)[_0x517be9(0x15b)](_0x5d69da,_0x487531)[_0x517be9(0x16d)](B)[_0x517be9(0x16d)](R)},_0x3d3720 instanceof _0x3a8feb){const _0x512d34=_0x3d3720[_0x517be9(0x17e)][_0x517be9(0x171)](_0x517be9(0x13e)),_0xa28f96=_0x3d3720[_0x517be9(0x180)][_0x517be9(0x171)](_0x186b79);await this[_0x517be9(0x187)](_0x512d34);const _0xbf7e2e=await this[_0x517be9(0x154)][_0x517be9(0x171)](_0x512d34)[_0x517be9(0x18e)]();this[_0x517be9(0x136)](_0xa28f96,_0x517be9(0x166)+_0x512d34,(_0x2789ea,{session:_0x44047f})=>{const _0x347eb2=_0x517be9;_0x44047f['id']===_0xa28f96[_0x347eb2(0x159)]&&(_0x2789ea[_0x347eb2(0x190)](),this[_0x347eb2(0x18d)][_0x347eb2(0x180)][_0x347eb2(0x171)](_0x347eb2(0x140))[_0x347eb2(0x149)](_0x44047f[_0x347eb2(0x141)],_0x512d34));}),_0xa28f96[_0x517be9(0x184)](_0x512d34,_0xbf7e2e);}}async[_0x3ec431(0x187)](_0x3dbcb9){const _0x4fa58e=_0x3ec431;if(this[_0x4fa58e(0x154)][_0x4fa58e(0x161)](_0x3dbcb9))throw new _0x1cf057(_0x4fa58e(0x14a),null,{'channelId':_0x3dbcb9});const _0x31b0e6=this[_0x4fa58e(0x18d)][_0x4fa58e(0x180)][_0x4fa58e(0x171)](_0x4fa58e(0x17d)),_0x20d57d=new a[(_0x4fa58e(0x188))](_0x3dbcb9);this[_0x4fa58e(0x154)][_0x4fa58e(0x164)](_0x3dbcb9,_0x20d57d),this[_0x4fa58e(0x136)](_0x20d57d,_0x4fa58e(0x148),(_0x4f1ff1,_0x41dd0f)=>{const _0x35a3cb=_0x4fa58e,{commentThreadId:_0x2aafba,documentId:_0x38e89d,context:_0x90e103,attributes:_0x4ef956,resolvedAt:_0x503872,resolvedBy:_0x51bd6b,comments:_0x5ea816}=_0x41dd0f;_0x31b0e6[_0x35a3cb(0x158)](_0x2aafba)||_0x31b0e6[_0x35a3cb(0x15a)]({'threadId':_0x2aafba,'channelId':_0x38e89d,'comments':_0x5ea816?_0x5ea816[_0x35a3cb(0x172)](S):[],'context':_0x90e103,'attributes':_0x4ef956,'resolvedAt':_0x503872,'resolvedBy':_0x51bd6b,'isFromAdapter':!0x0});}),this[_0x4fa58e(0x136)](_0x20d57d,_0x4fa58e(0x193),(_0x182005,{commentThreadId:_0x233221,documentId:_0x2ab4fc,context:_0x262a5c,unlinkedAt:_0x1a49de,attributes:_0x55fedd})=>{const _0x53ee45=_0x4fa58e;_0x31b0e6[_0x53ee45(0x158)](_0x233221)&&_0x31b0e6[_0x53ee45(0x13b)]({'threadId':_0x233221,'channelId':_0x2ab4fc,'context':_0x262a5c,'unlinkedAt':_0x1a49de,'attributes':_0x55fedd,'isFromAdapter':!0x0});}),this[_0x4fa58e(0x136)](_0x20d57d,_0x4fa58e(0x145),(_0x5caef9,{commentThreadId:_0x1b2ed3,resolvedBy:_0x32377b,resolvedAt:_0xc18054})=>{const _0xfa55e=_0x4fa58e,_0x973996=_0x31b0e6[_0xfa55e(0x158)](_0x1b2ed3);_0x973996&&_0x973996[_0xfa55e(0x196)]({'resolvedBy':_0x32377b,'resolvedAt':_0xc18054,'isFromAdapter':!0x0});}),this[_0x4fa58e(0x136)](_0x20d57d,_0x4fa58e(0x17a),(_0x1e11df,{commentThreadId:_0x33d9fe})=>{const _0x3cbe23=_0x4fa58e,_0x3ef882=_0x31b0e6[_0x3cbe23(0x158)](_0x33d9fe);_0x3ef882&&_0x3ef882[_0x3cbe23(0x146)]({'isFromAdapter':!0x0});}),this[_0x4fa58e(0x136)](_0x20d57d,_0x4fa58e(0x15d),(_0xc7d190,{commentThreadId:_0x36d07f})=>{const _0x238481=_0x4fa58e,_0x415a80=_0x31b0e6[_0x238481(0x158)](_0x36d07f);_0x415a80&&_0x415a80[_0x238481(0x168)]({'isFromAdapter':!0x0});}),this[_0x4fa58e(0x136)](_0x20d57d,_0x4fa58e(0x181),(_0x1ca02c,_0x4ca5f2)=>{const _0x51212c=_0x4fa58e,_0x5f0064=_0x4ca5f2[_0x51212c(0x153)],_0x23237d=_0x31b0e6[_0x51212c(0x158)](_0x5f0064);_0x23237d&&_0x23237d[_0x51212c(0x195)]({...S(_0x4ca5f2),'isFromAdapter':!0x0});}),this[_0x4fa58e(0x136)](_0x20d57d,_0x4fa58e(0x173),(_0x41d70a,{commentThreadId:_0x21ec26,commentId:_0xd0dd7c,content:_0x5e6e6e,attributes:_0x129953})=>{const _0x187823=_0x4fa58e,_0x2049ca=_0x31b0e6[_0x187823(0x158)](_0x21ec26);if(_0x2049ca){const _0xa54a79=_0x2049ca[_0x187823(0x14d)](_0xd0dd7c);_0xa54a79&&_0xa54a79[_0x187823(0x16f)]({'content':_0x5e6e6e,'attributes':_0x129953,'isFromAdapter':!0x0});}}),this[_0x4fa58e(0x136)](_0x20d57d,_0x4fa58e(0x179),(_0x22a95a,{commentThreadId:_0x2ba9a1,commentId:_0x1611e4})=>{const _0x4138d4=_0x4fa58e,_0x9603eb=_0x31b0e6[_0x4138d4(0x158)](_0x2ba9a1);if(_0x9603eb){const _0x114ea2=_0x9603eb[_0x4138d4(0x14d)](_0x1611e4);_0x114ea2&&_0x114ea2[_0x4138d4(0x168)]({'isFromAdapter':!0x0});}}),await this[_0x4fa58e(0x156)](_0x3dbcb9);}[_0x3ec431(0x165)](){const _0x5f20cd=_0x3ec431;if(this[_0x5f20cd(0x18d)]instanceof _0x3a8feb){const _0x2654ee=this[_0x5f20cd(0x18d)][_0x5f20cd(0x17e)][_0x5f20cd(0x171)](_0x5f20cd(0x13e));this[_0x5f20cd(0x163)](_0x2654ee);}}[_0x3ec431(0x163)](_0x14918d){const _0x59bd16=_0x3ec431;if(!this[_0x59bd16(0x154)][_0x59bd16(0x161)](_0x14918d))throw new _0x1cf057(_0x59bd16(0x16e),null,{'channelId':_0x14918d});this[_0x59bd16(0x16b)](_0x14918d)[_0x59bd16(0x183)](),this[_0x59bd16(0x154)][_0x59bd16(0x155)](_0x14918d);}async[_0x3ec431(0x18f)](){const _0x51a7a1=_0x3ec431;for(const _0x5f2332 of this[_0x51a7a1(0x154)][_0x51a7a1(0x167)]())await this[_0x51a7a1(0x156)](_0x5f2332);if(this[_0x51a7a1(0x18d)]instanceof _0x3a8feb){const _0x484689=this[_0x51a7a1(0x18d)][_0x51a7a1(0x17e)][_0x51a7a1(0x171)](_0x51a7a1(0x13e)),_0x54bc24=this[_0x51a7a1(0x18d)][_0x51a7a1(0x180)][_0x51a7a1(0x171)](_0x186b79);_0x54bc24[_0x51a7a1(0x138)](_0x484689);const _0x4c69d0=await this[_0x51a7a1(0x154)][_0x51a7a1(0x171)](_0x484689)[_0x51a7a1(0x18e)]();_0x54bc24[_0x51a7a1(0x184)](_0x484689,_0x4c69d0);}}async[_0x3ec431(0x156)](_0x10a06e){const _0x2af07e=_0x3ec431,{connection:_0x355d2f}=this[_0x2af07e(0x18d)][_0x2af07e(0x180)][_0x2af07e(0x171)](_0x15e16a),_0x438335=this[_0x2af07e(0x18d)][_0x2af07e(0x180)][_0x2af07e(0x171)](_0x2af07e(0x17d)),_0x147b56=this[_0x2af07e(0x154)][_0x2af07e(0x171)](_0x10a06e),_0x372751=await _0x147b56[_0x2af07e(0x15c)](_0x355d2f);await this[_0x2af07e(0x186)](_0x372751);const _0x9bb140=new Set(Array[_0x2af07e(0x182)](_0x438335[_0x2af07e(0x175)]({'channelId':_0x10a06e}),_0x296556=>_0x296556['id']));for(const _0x58228b of _0x372751)_0x58228b[_0x2af07e(0x157)]||_0x9bb140[_0x2af07e(0x155)](_0x58228b[_0x2af07e(0x153)]);for(const _0x3e634c of _0x9bb140)_0x438335[_0x2af07e(0x158)](_0x3e634c)[_0x2af07e(0x168)]({'isFromAdapter':!0x0});for(const _0x592c0d of _0x372751){let _0x4339e6=_0x438335[_0x2af07e(0x158)](_0x592c0d[_0x2af07e(0x153)]);const {commentThreadId:_0x63c164,context:_0x2410b3,attributes:_0x2cd600,resolvedBy:_0x426d15,resolvedAt:_0x42a1ee,unlinkedAt:_0x274276,deletedAt:_0x23dc4b}=_0x592c0d;if(_0x23dc4b)continue;_0x4339e6||(_0x4339e6=_0x438335[_0x2af07e(0x15a)]({'channelId':_0x10a06e,'threadId':_0x63c164,'context':_0x2410b3,'attributes':_0x2cd600||{},'resolvedBy':_0x426d15,'resolvedAt':_0x42a1ee,'unlinkedAt':_0x274276,'isFromAdapter':!0x0}));const _0x241014=new Set(Array[_0x2af07e(0x182)](_0x4339e6[_0x2af07e(0x143)],_0x4536a5=>_0x4536a5['id']));for(const _0x31acda of _0x592c0d[_0x2af07e(0x143)])_0x241014[_0x2af07e(0x155)](_0x31acda[_0x2af07e(0x135)]);for(const _0x3c0c0e of _0x241014)_0x4339e6[_0x2af07e(0x14d)](_0x3c0c0e)[_0x2af07e(0x168)]({'isFromAdapter':!0x0});for(const _0x4a1ce8 of _0x592c0d[_0x2af07e(0x143)]){const _0x1a00b7=_0x4339e6[_0x2af07e(0x14d)](_0x4a1ce8[_0x2af07e(0x135)]);_0x1a00b7?_0x1a00b7[_0x2af07e(0x18c)]!==_0x4a1ce8[_0x2af07e(0x18c)]&&_0x1a00b7[_0x2af07e(0x16f)]({'content':_0x4a1ce8[_0x2af07e(0x18c)],'isFromAdapter':!0x0}):_0x4339e6[_0x2af07e(0x195)](Object[_0x2af07e(0x18b)](S(_0x4a1ce8),{'isFromAdapter':!0x0}));}}}[_0x3ec431(0x16b)](_0x4e6fcf){const _0x57b576=_0x3ec431;if(!this[_0x57b576(0x154)][_0x57b576(0x161)](_0x4e6fcf))throw new _0x1cf057(_0x57b576(0x174),null,{'channelId':_0x4e6fcf});return this[_0x57b576(0x154)][_0x57b576(0x171)](_0x4e6fcf);}async[_0x3ec431(0x186)](_0x2aa078){const _0x3f0ca5=_0x3ec431,_0x31fb31=this[_0x3f0ca5(0x18d)][_0x3f0ca5(0x180)][_0x3f0ca5(0x171)](_0x57e16f),{connection:_0x11720b}=this[_0x3f0ca5(0x18d)][_0x3f0ca5(0x180)][_0x3f0ca5(0x171)](_0x15e16a),_0x39d5a0=new Set();for(const {resolvedBy:_0x478cb7,comments:_0x16817d}of _0x2aa078){_0x478cb7&&!_0x31fb31[_0x3f0ca5(0x185)](_0x478cb7)&&_0x39d5a0[_0x3f0ca5(0x144)](_0x478cb7);for(const {userId:_0x4c9591}of _0x16817d)_0x31fb31[_0x3f0ca5(0x185)](_0x4c9591)||_0x39d5a0[_0x3f0ca5(0x144)](_0x4c9591);}if(0x0===_0x39d5a0[_0x3f0ca5(0x13d)])return;const _0x37b755=await _0x1def9c[_0x3f0ca5(0x162)](_0x11720b,Array[_0x3f0ca5(0x182)](_0x39d5a0));for(const _0x5d58a1 of _0x37b755)_0x31fb31[_0x3f0ca5(0x185)](_0x5d58a1['id'])||_0x31fb31[_0x3f0ca5(0x14b)](_0x5d58a1);}}a[_0x3ec431(0x188)]=_0x57ba24;export default a;function _0x8329(){const _0x208b40=['commentThreadId','_services','delete','_connectService','deletedAt','getCommentThread','mySessionId','addCommentThread','removeComment','connect','commentThreadRemoved','578508lwugmD','1325676wcBPMT','requires','has','getMany','_terminateService','set','destroy','sessionAdd:','keys','remove','message','365UCGoem','_getService','code','catch','cloudservicescommentsadapter-disconnect-not-exist','update','resolveCommentThread','get','map','commentUpdated','cloudservicescommentsadapter-service-not-exist','getCommentThreads','resolvedAt','CloudServicesCommentsAdapter','9739184OnvrGd','commentRemoved','commentThreadReopened','authorId','init','CommentsRepository','config','1044626bgjnbA','plugins','commentAdded','from','disconnect','register','getUser','_fetchMissingUsersForThreads','_setUpService','CommentsService','removeCommentThread','userId','assign','content','context','getConnectedSessions','reconnect','off','cloud-services-internal-error:\x20Request\x20timeout.','cloud-services-internal-error:\x20Comments\x20Service\x20is\x20not\x20connected.','commentThreadUpdated','pluginName','addComment','resolve','1011963JPeUJO','commentId','listenTo','404','unregister','attributes','startsWith','updateCommentThread','10425870rBxOjJ','size','collaboration.channelId','27448YHsLSS','Permissions','permissions','updateComment','comments','add','commentThreadResolved','reopen','resolvedBy','commentThreadAdded','setPermissions','cloudservicescommentsadapter-connect-already-connected','addUser','cloud-services-internal-error:\x20Not\x20connected.','getComment','addToReconnectionStack','adapter','createdAt','2pLUFAc','reopenCommentThread'];_0x8329=function(){return _0x208b40;};return _0x8329();}function _0x22dc(_0x235efd,_0xe8b76a){const _0x83299c=_0x8329();return _0x22dc=function(_0x22dc34,_0x334fe6){_0x22dc34=_0x22dc34-0x135;let _0x5daf06=_0x83299c[_0x22dc34];return _0x5daf06;},_0x22dc(_0x235efd,_0xe8b76a);}async function B(_0x1c8379){const _0x511842=_0x3ec431;if(_0x511842(0x137)!==_0x1c8379[_0x511842(0x16c)])throw _0x1c8379;}function R(_0x7827e5){const _0x38a770=_0x3ec431;if((_0x55e78e=_0x7827e5)[_0x38a770(0x169)][_0x38a770(0x13a)](_0x38a770(0x192))||_0x55e78e[_0x38a770(0x169)][_0x38a770(0x13a)](_0x38a770(0x14c))||_0x55e78e[_0x38a770(0x169)][_0x38a770(0x13a)](_0x38a770(0x191)))return new Promise(()=>{});var _0x55e78e;throw _0x7827e5;}function S(_0x28696e){const _0x3388d1=_0x3ec431;return{'threadId':_0x28696e[_0x3388d1(0x153)],'commentId':_0x28696e[_0x3388d1(0x135)],'content':_0x28696e[_0x3388d1(0x18c)],'createdAt':_0x28696e[_0x3388d1(0x150)],'authorId':_0x28696e[_0x3388d1(0x18a)],'attributes':_0x28696e[_0x3388d1(0x139)]||{}};}
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
const
|
|
23
|
+
function _0x28e7(){const _0x5a3100=['_terminateService','pluginName','collaboration.channelId','1654497fxGtaR','28wYPwyy','1028416ywciEO','get','13647460fjjEet','isThreadsLoadingPaused','listenTo','373848hCkaVo','once','requires','connected','CommentsRepository','CommentsEditing','destroy','89982Jedcvt','switchReadOnly','change:state','_setUpService','editor','Comments','init','data','config','9KEaZNw','ready','195312NxZNOT','1825fwuYjr','4936nAriZJ','plugins','RealTimeCollaborativeComments'];_0x28e7=function(){return _0x5a3100;};return _0x28e7();}const _0x9d8608=_0x4fe4;(function(_0xbb66bc,_0x5ccada){const _0x479345=_0x4fe4,_0x31718f=_0xbb66bc();while(!![]){try{const _0x1d95dc=parseInt(_0x479345(0x1de))/0x1+-parseInt(_0x479345(0x1d4))/0x2+parseInt(_0x479345(0x1dc))/0x3+-parseInt(_0x479345(0x1d6))/0x4*(-parseInt(_0x479345(0x1d5))/0x5)+-parseInt(_0x479345(0x1c9))/0x6*(-parseInt(_0x479345(0x1dd))/0x7)+parseInt(_0x479345(0x1c2))/0x8+parseInt(_0x479345(0x1d2))/0x9*(-parseInt(_0x479345(0x1bf))/0xa);if(_0x1d95dc===_0x5ccada)break;else _0x31718f['push'](_0x31718f['shift']());}catch(_0x5c1357){_0x31718f['push'](_0x31718f['shift']());}}}(_0x28e7,0xa4b52));import{Plugin as _0xb457fb}from'ckeditor5/src/core.js';import _0x18ddc2 from'./realtimecollaborativecomments/cloudservicescommentsadapter.js';import _0x523760 from'./realtimecollaborativeediting.js';import _0x26699a from'./realtimecollaborativeediting/websocketgateway.js';function _0x4fe4(_0x576d8c,_0x538974){const _0x28e754=_0x28e7();return _0x4fe4=function(_0x4fe41f,_0x380c9c){_0x4fe41f=_0x4fe41f-0x1bf;let _0x576094=_0x28e754[_0x4fe41f];return _0x576094;},_0x4fe4(_0x576d8c,_0x538974);}export default class m extends _0xb457fb{static get[_0x9d8608(0x1c4)](){const _0x4f8b5c=_0x9d8608;return[_0x4f8b5c(0x1ce),_0x18ddc2,_0x523760,_0x26699a];}static get[_0x9d8608(0x1da)](){const _0x377e7a=_0x9d8608;return _0x377e7a(0x1d8);}[_0x9d8608(0x1cf)](){const _0x3f82f0=_0x9d8608,_0x2bcd69=this[_0x3f82f0(0x1cd)][_0x3f82f0(0x1d7)][_0x3f82f0(0x1df)](_0x26699a),_0x2a6e7b=this[_0x3f82f0(0x1cd)][_0x3f82f0(0x1d7)][_0x3f82f0(0x1df)](_0x3f82f0(0x1c7)),_0xcf9550=this[_0x3f82f0(0x1cd)][_0x3f82f0(0x1d7)][_0x3f82f0(0x1df)](_0x18ddc2);return this[_0x3f82f0(0x1cd)][_0x3f82f0(0x1d0)][_0x3f82f0(0x1c3)](_0x3f82f0(0x1d3),()=>{const _0x4a654f=_0x3f82f0;this[_0x4a654f(0x1c1)](_0x2bcd69,_0x4a654f(0x1cb),(_0x184a6c,_0x1004bb,_0x15c09a)=>{const _0x2be89a=_0x4a654f;_0x2a6e7b[_0x2be89a(0x1c0)]=_0x2be89a(0x1c5)!==_0x15c09a;});}),this[_0x3f82f0(0x1c1)](_0x2bcd69,_0x3f82f0(0x1cb),(_0x15c88d,_0x1b0e81,_0x3f1df9)=>{const _0x582ede=_0x3f82f0;this[_0x582ede(0x1cd)][_0x582ede(0x1d7)][_0x582ede(0x1df)](_0x582ede(0x1c6))[_0x582ede(0x1ca)](_0x582ede(0x1c5)!==_0x3f1df9);}),_0xcf9550[_0x3f82f0(0x1cc)](this[_0x3f82f0(0x1cd)][_0x3f82f0(0x1d1)][_0x3f82f0(0x1df)](_0x3f82f0(0x1db)));}[_0x9d8608(0x1c8)](){const _0x3f1698=_0x9d8608;this[_0x3f1698(0x1cd)][_0x3f1698(0x1d7)][_0x3f1698(0x1df)](_0x18ddc2)[_0x3f1698(0x1d9)](this[_0x3f1698(0x1cd)][_0x3f1698(0x1d1)][_0x3f1698(0x1df)](_0x3f1698(0x1db))),super[_0x3f1698(0x1c8)]();}}
|