@ckeditor/ckeditor5-real-time-collaboration 43.1.0-alpha.7 → 43.1.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/build/real-time-collaboration.js +1 -1
- package/dist/index.js +6 -6
- package/dist/translations/ar.js +1 -1
- package/dist/translations/ar.umd.js +1 -1
- package/dist/translations/bg.js +1 -1
- package/dist/translations/bg.umd.js +1 -1
- package/dist/translations/bn.js +1 -1
- package/dist/translations/bn.umd.js +1 -1
- package/dist/translations/ca.js +1 -1
- package/dist/translations/ca.umd.js +1 -1
- package/dist/translations/cs.js +1 -1
- package/dist/translations/cs.umd.js +1 -1
- package/dist/translations/da.js +1 -1
- package/dist/translations/da.umd.js +1 -1
- package/dist/translations/de-ch.js +1 -1
- package/dist/translations/de-ch.umd.js +1 -1
- package/dist/translations/de.js +1 -1
- package/dist/translations/de.umd.js +1 -1
- package/dist/translations/el.js +1 -1
- package/dist/translations/el.umd.js +1 -1
- package/dist/translations/en-au.js +1 -1
- package/dist/translations/en-au.umd.js +1 -1
- package/dist/translations/en.umd.js +1 -1
- package/dist/translations/es.js +1 -1
- package/dist/translations/es.umd.js +1 -1
- package/dist/translations/et.js +1 -1
- package/dist/translations/et.umd.js +1 -1
- package/dist/translations/fa.js +1 -1
- package/dist/translations/fa.umd.js +1 -1
- package/dist/translations/fi.js +1 -1
- package/dist/translations/fi.umd.js +1 -1
- package/dist/translations/fr.js +1 -1
- package/dist/translations/fr.umd.js +1 -1
- package/dist/translations/gl.js +1 -1
- package/dist/translations/gl.umd.js +1 -1
- package/dist/translations/he.js +1 -1
- package/dist/translations/he.umd.js +1 -1
- package/dist/translations/hi.js +1 -1
- package/dist/translations/hi.umd.js +1 -1
- package/dist/translations/hr.js +1 -1
- package/dist/translations/hr.umd.js +1 -1
- package/dist/translations/hu.js +1 -1
- package/dist/translations/hu.umd.js +1 -1
- package/dist/translations/id.js +1 -1
- package/dist/translations/id.umd.js +1 -1
- package/dist/translations/it.js +1 -1
- package/dist/translations/it.umd.js +1 -1
- package/dist/translations/ja.js +1 -1
- package/dist/translations/ja.umd.js +1 -1
- package/dist/translations/ko.js +1 -1
- package/dist/translations/ko.umd.js +1 -1
- package/dist/translations/lt.js +1 -1
- package/dist/translations/lt.umd.js +1 -1
- package/dist/translations/lv.js +1 -1
- package/dist/translations/lv.umd.js +1 -1
- package/dist/translations/ms.js +1 -1
- package/dist/translations/ms.umd.js +1 -1
- package/dist/translations/nl.js +1 -1
- package/dist/translations/nl.umd.js +1 -1
- package/dist/translations/no.js +1 -1
- package/dist/translations/no.umd.js +1 -1
- package/dist/translations/pl.js +1 -1
- package/dist/translations/pl.umd.js +1 -1
- package/dist/translations/pt-br.js +1 -1
- package/dist/translations/pt-br.umd.js +1 -1
- package/dist/translations/pt.js +1 -1
- package/dist/translations/pt.umd.js +1 -1
- package/dist/translations/ro.js +1 -1
- package/dist/translations/ro.umd.js +1 -1
- package/dist/translations/ru.js +1 -1
- package/dist/translations/ru.umd.js +1 -1
- package/dist/translations/sk.js +1 -1
- package/dist/translations/sk.umd.js +1 -1
- package/dist/translations/sr-latn.js +1 -1
- package/dist/translations/sr-latn.umd.js +1 -1
- package/dist/translations/sr.js +1 -1
- package/dist/translations/sr.umd.js +1 -1
- package/dist/translations/sv.js +1 -1
- package/dist/translations/sv.umd.js +1 -1
- package/dist/translations/th.js +1 -1
- package/dist/translations/th.umd.js +1 -1
- package/dist/translations/tk.js +1 -1
- package/dist/translations/tk.umd.js +1 -1
- package/dist/translations/tr.js +1 -1
- package/dist/translations/tr.umd.js +1 -1
- package/dist/translations/uk.js +1 -1
- package/dist/translations/uk.umd.js +1 -1
- package/dist/translations/vi.js +1 -1
- package/dist/translations/vi.umd.js +1 -1
- package/dist/translations/zh-cn.js +1 -1
- package/dist/translations/zh-cn.umd.js +1 -1
- package/dist/translations/zh.js +1 -1
- package/dist/translations/zh.umd.js +1 -1
- package/package.json +9 -9
- package/src/common-translations.js +1 -1
- package/src/index.js +1 -1
- package/src/presencelist/presencelistui.js +1 -1
- package/src/presencelist/view/presencecounterview.js +1 -1
- package/src/presencelist/view/presencedropdownlistitemview.js +1 -1
- package/src/presencelist/view/presencedropdownlistview.js +1 -1
- package/src/presencelist/view/presenceinlinelistitemview.js +1 -1
- package/src/presencelist/view/presenceinlinelistview.js +1 -1
- package/src/presencelist/view/presencelistview.js +1 -1
- package/src/presencelist.js +1 -1
- package/src/realtimecollaborativecomments/cloudservicescommentsadapter.js +1 -1
- package/src/realtimecollaborativecomments.js +1 -1
- package/src/realtimecollaborativeediting/realtimecollaborationclient.js +1 -1
- package/src/realtimecollaborativeediting/sessions.js +1 -1
- package/src/realtimecollaborativeediting/usermarkers.js +1 -1
- package/src/realtimecollaborativeediting/websocketgateway.js +1 -1
- package/src/realtimecollaborativeediting.js +1 -1
- package/src/realtimecollaborativerevisionhistory/cloudservicesrevisionhistoryadapter.js +1 -1
- package/src/realtimecollaborativerevisionhistory.js +1 -1
- package/src/realtimecollaborativetrackchanges/cloudservicestrackchangesadapter.js +1 -1
- package/src/realtimecollaborativetrackchanges.js +1 -1
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
(
|
|
23
|
+
(_0x28d7d1=>{const {'zh-cn':{dictionary:_0x4d96b8,getPluralForm:_0x53f0cf}}={'zh-cn':{'dictionary':{'CONNECTED_USERS':'已连接用户:%0','PENDING_ACTION_SENDING_DATA':'正在往服务器发送数据。','Synchronization\x20issue':'同步Issue','Connected\x20users\x20list\x20dropdown\x20menu':'连接用户列表下拉菜单','Connected\x20users\x20list':'连接用户列表','Collapsed\x20connected\x20users\x20list\x20(press\x20ENTER\x20to\x20open\x20it)':'折叠的连接用户列表(按\x20ENTER\x20键打开)','The\x20document\x20cannot\x20be\x20connected\x20back\x20to\x20the\x20server.\x20To\x20not\x20lose\x20your\x20content\x20save\x20it\x20locally\x20and\x20refresh\x20the\x20editor.':'当前文档不能连回服务器。为避免丢失数据,请先将内容保存在本地并刷新编辑器。','The\x20document\x20details\x20could\x20not\x20be\x20taken\x20during\x20the\x20reconnection.\x20To\x20not\x20lose\x20your\x20content\x20save\x20it\x20locally\x20and\x20refresh\x20the\x20editor.':'重新连接后不能获取文档详情。为避免丢失数据,请先将内容保存在本地并刷新编辑器。','The\x20last\x20saved\x20version\x20of\x20the\x20document\x20does\x20not\x20match\x20the\x20local\x20version.\x20To\x20not\x20lose\x20your\x20content\x20save\x20it\x20locally\x20and\x20refresh\x20the\x20editor.':'最新保存的文档版本和本地版本不匹配。为避免丢失数据,请先将内容保存在本地并刷新编辑器。','The\x20local\x20document\x20and\x20server\x20document\x20differ\x20and\x20merging\x20them\x20can\x20cause\x20unexpected\x20behavior.\x20To\x20not\x20lose\x20your\x20content\x20save\x20it\x20locally\x20and\x20refresh\x20the\x20editor.':'本地文档和服务器文档存在区别,合并它们将导致意料之外的行为。为避免丢失数据,请先将内容保存在本地并刷新编辑器。'},'getPluralForm':_0x44bdf3=>0x0}};_0x28d7d1['zh-cn']||={'dictionary':{},'getPluralForm':null},_0x28d7d1['zh-cn']['dictionary']=Object['assign'](_0x28d7d1['zh-cn']['dictionary'],_0x4d96b8),_0x28d7d1['zh-cn']['getPluralForm']=_0x53f0cf;})(window['CKEDITOR_TRANSLATIONS']||={});
|
package/dist/translations/zh.js
CHANGED
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
export default{'zh':{'dictionary':{'CONNECTED_USERS':'%0\x20位已連線使用者。','PENDING_ACTION_SENDING_DATA':'傳送資料到伺服器。','Synchronization\x20issue':'同步處理問題','Connected\x20users\x20list\x20dropdown\x20menu':'已連結使用者清單下拉式功能表','Connected\x20users\x20list':'已連結使用者清單','Collapsed\x20connected\x20users\x20list\x20(press\x20ENTER\x20to\x20open\x20it)':'摺疊的已連結使用者清單(按\x20Enter\x20即可將其開啟)','The\x20document\x20cannot\x20be\x20connected\x20back\x20to\x20the\x20server.\x20To\x20not\x20lose\x20your\x20content\x20save\x20it\x20locally\x20and\x20refresh\x20the\x20editor.':'無法將文件連結回伺服器。為了不丟失內容,請將其儲存於本機並重新整理編輯器。','The\x20document\x20details\x20could\x20not\x20be\x20taken\x20during\x20the\x20reconnection.\x20To\x20not\x20lose\x20your\x20content\x20save\x20it\x20locally\x20and\x20refresh\x20the\x20editor.':'重新連結期間,無法獲取文件詳細資料。為了不丟失內容,請將其儲存於本機並重新整理編輯器。','The\x20last\x20saved\x20version\x20of\x20the\x20document\x20does\x20not\x20match\x20the\x20local\x20version.\x20To\x20not\x20lose\x20your\x20content\x20save\x20it\x20locally\x20and\x20refresh\x20the\x20editor.':'文件的最後儲存版本與本機版本不符。為了不丟失內容,請將其儲存於本機並重新整理編輯器。','The\x20local\x20document\x20and\x20server\x20document\x20differ\x20and\x20merging\x20them\x20can\x20cause\x20unexpected\x20behavior.\x20To\x20not\x20lose\x20your\x20content\x20save\x20it\x20locally\x20and\x20refresh\x20the\x20editor.':'本機文件與伺服器文件不同,合併它們可能會導致意外情況。為了不丟失內容,請將其儲存於本機並重新整理編輯器。'},'getPluralForm':
|
|
23
|
+
export default{'zh':{'dictionary':{'CONNECTED_USERS':'%0\x20位已連線使用者。','PENDING_ACTION_SENDING_DATA':'傳送資料到伺服器。','Synchronization\x20issue':'同步處理問題','Connected\x20users\x20list\x20dropdown\x20menu':'已連結使用者清單下拉式功能表','Connected\x20users\x20list':'已連結使用者清單','Collapsed\x20connected\x20users\x20list\x20(press\x20ENTER\x20to\x20open\x20it)':'摺疊的已連結使用者清單(按\x20Enter\x20即可將其開啟)','The\x20document\x20cannot\x20be\x20connected\x20back\x20to\x20the\x20server.\x20To\x20not\x20lose\x20your\x20content\x20save\x20it\x20locally\x20and\x20refresh\x20the\x20editor.':'無法將文件連結回伺服器。為了不丟失內容,請將其儲存於本機並重新整理編輯器。','The\x20document\x20details\x20could\x20not\x20be\x20taken\x20during\x20the\x20reconnection.\x20To\x20not\x20lose\x20your\x20content\x20save\x20it\x20locally\x20and\x20refresh\x20the\x20editor.':'重新連結期間,無法獲取文件詳細資料。為了不丟失內容,請將其儲存於本機並重新整理編輯器。','The\x20last\x20saved\x20version\x20of\x20the\x20document\x20does\x20not\x20match\x20the\x20local\x20version.\x20To\x20not\x20lose\x20your\x20content\x20save\x20it\x20locally\x20and\x20refresh\x20the\x20editor.':'文件的最後儲存版本與本機版本不符。為了不丟失內容,請將其儲存於本機並重新整理編輯器。','The\x20local\x20document\x20and\x20server\x20document\x20differ\x20and\x20merging\x20them\x20can\x20cause\x20unexpected\x20behavior.\x20To\x20not\x20lose\x20your\x20content\x20save\x20it\x20locally\x20and\x20refresh\x20the\x20editor.':'本機文件與伺服器文件不同,合併它們可能會導致意外情況。為了不丟失內容,請將其儲存於本機並重新整理編輯器。'},'getPluralForm':_0x94b8f7=>0x0}};
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
(
|
|
23
|
+
(_0x4e7447=>{const {zh:{dictionary:_0x160bd9,getPluralForm:_0xe70648}}={'zh':{'dictionary':{'CONNECTED_USERS':'%0\x20位已連線使用者。','PENDING_ACTION_SENDING_DATA':'傳送資料到伺服器。','Synchronization\x20issue':'同步處理問題','Connected\x20users\x20list\x20dropdown\x20menu':'已連結使用者清單下拉式功能表','Connected\x20users\x20list':'已連結使用者清單','Collapsed\x20connected\x20users\x20list\x20(press\x20ENTER\x20to\x20open\x20it)':'摺疊的已連結使用者清單(按\x20Enter\x20即可將其開啟)','The\x20document\x20cannot\x20be\x20connected\x20back\x20to\x20the\x20server.\x20To\x20not\x20lose\x20your\x20content\x20save\x20it\x20locally\x20and\x20refresh\x20the\x20editor.':'無法將文件連結回伺服器。為了不丟失內容,請將其儲存於本機並重新整理編輯器。','The\x20document\x20details\x20could\x20not\x20be\x20taken\x20during\x20the\x20reconnection.\x20To\x20not\x20lose\x20your\x20content\x20save\x20it\x20locally\x20and\x20refresh\x20the\x20editor.':'重新連結期間,無法獲取文件詳細資料。為了不丟失內容,請將其儲存於本機並重新整理編輯器。','The\x20last\x20saved\x20version\x20of\x20the\x20document\x20does\x20not\x20match\x20the\x20local\x20version.\x20To\x20not\x20lose\x20your\x20content\x20save\x20it\x20locally\x20and\x20refresh\x20the\x20editor.':'文件的最後儲存版本與本機版本不符。為了不丟失內容,請將其儲存於本機並重新整理編輯器。','The\x20local\x20document\x20and\x20server\x20document\x20differ\x20and\x20merging\x20them\x20can\x20cause\x20unexpected\x20behavior.\x20To\x20not\x20lose\x20your\x20content\x20save\x20it\x20locally\x20and\x20refresh\x20the\x20editor.':'本機文件與伺服器文件不同,合併它們可能會導致意外情況。為了不丟失內容,請將其儲存於本機並重新整理編輯器。'},'getPluralForm':_0xb3b10e=>0x0}};_0x4e7447['zh']||={'dictionary':{},'getPluralForm':null},_0x4e7447['zh']['dictionary']=Object['assign'](_0x4e7447['zh']['dictionary'],_0x160bd9),_0x4e7447['zh']['getPluralForm']=_0xe70648;})(window['CKEDITOR_TRANSLATIONS']||={});
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@ckeditor/ckeditor5-real-time-collaboration",
|
|
3
|
-
"version": "43.1.0
|
|
3
|
+
"version": "43.1.0",
|
|
4
4
|
"description": "A set of CKEditor 5 features enabling real-time collaboration within the editor using CKEditor Cloud Services.",
|
|
5
5
|
"license": "SEE LICENSE IN LICENSE.md",
|
|
6
6
|
"author": "CKSource (http://cksource.com/)",
|
|
@@ -42,14 +42,14 @@
|
|
|
42
42
|
],
|
|
43
43
|
"dependencies": {
|
|
44
44
|
"@ckeditor/ckeditor-cloud-services-collaboration": "52.6.10",
|
|
45
|
-
"@ckeditor/ckeditor5-core": "43.1.0
|
|
46
|
-
"@ckeditor/ckeditor5-engine": "43.1.0
|
|
47
|
-
"@ckeditor/ckeditor5-operations-compressor": "43.1.0
|
|
48
|
-
"@ckeditor/ckeditor5-theme-lark": "43.1.0
|
|
49
|
-
"@ckeditor/ckeditor5-ui": "43.1.0
|
|
50
|
-
"@ckeditor/ckeditor5-utils": "43.1.0
|
|
51
|
-
"ckeditor5": "43.1.0
|
|
52
|
-
"ckeditor5-collaboration": "43.1.0
|
|
45
|
+
"@ckeditor/ckeditor5-core": "43.1.0",
|
|
46
|
+
"@ckeditor/ckeditor5-engine": "43.1.0",
|
|
47
|
+
"@ckeditor/ckeditor5-operations-compressor": "43.1.0",
|
|
48
|
+
"@ckeditor/ckeditor5-theme-lark": "43.1.0",
|
|
49
|
+
"@ckeditor/ckeditor5-ui": "43.1.0",
|
|
50
|
+
"@ckeditor/ckeditor5-utils": "43.1.0",
|
|
51
|
+
"ckeditor5": "43.1.0",
|
|
52
|
+
"ckeditor5-collaboration": "43.1.0",
|
|
53
53
|
"lodash-es": "4.17.21"
|
|
54
54
|
},
|
|
55
55
|
"types": "src/index.d.ts",
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
export function getTranslation(
|
|
23
|
+
export function getTranslation(_0x18e446,_0x4504b6,_0x355456){const t=_0x18e446['t'];switch(_0x4504b6){case'PENDING_ACTION_SENDING_DATA':return t({'string':'Sending\x20data\x20to\x20the\x20server.','id':'PENDING_ACTION_SENDING_DATA'});case'The\x20local\x20document\x20and\x20server\x20document\x20differ\x20and\x20merging\x20them\x20can\x20cause\x20unexpected\x20behavior.\x20To\x20not\x20lose\x20your\x20content\x20save\x20it\x20locally\x20and\x20refresh\x20the\x20editor.':return t('The\x20local\x20document\x20and\x20server\x20document\x20differ\x20and\x20merging\x20them\x20can\x20cause\x20unexpected\x20behavior.\x20To\x20not\x20lose\x20your\x20content\x20save\x20it\x20locally\x20and\x20refresh\x20the\x20editor.');case'The\x20document\x20cannot\x20be\x20connected\x20back\x20to\x20the\x20server.\x20To\x20not\x20lose\x20your\x20content\x20save\x20it\x20locally\x20and\x20refresh\x20the\x20editor.':return t('The\x20document\x20cannot\x20be\x20connected\x20back\x20to\x20the\x20server.\x20To\x20not\x20lose\x20your\x20content\x20save\x20it\x20locally\x20and\x20refresh\x20the\x20editor.');case'The\x20document\x20details\x20could\x20not\x20be\x20taken\x20during\x20the\x20reconnection.\x20To\x20not\x20lose\x20your\x20content\x20save\x20it\x20locally\x20and\x20refresh\x20the\x20editor.':return t('The\x20document\x20details\x20could\x20not\x20be\x20taken\x20during\x20the\x20reconnection.\x20To\x20not\x20lose\x20your\x20content\x20save\x20it\x20locally\x20and\x20refresh\x20the\x20editor.');case'The\x20last\x20saved\x20version\x20of\x20the\x20document\x20does\x20not\x20match\x20the\x20local\x20version.\x20To\x20not\x20lose\x20your\x20content\x20save\x20it\x20locally\x20and\x20refresh\x20the\x20editor.':return t('The\x20last\x20saved\x20version\x20of\x20the\x20document\x20does\x20not\x20match\x20the\x20local\x20version.\x20To\x20not\x20lose\x20your\x20content\x20save\x20it\x20locally\x20and\x20refresh\x20the\x20editor.');case'Synchronization\x20issue':return t('Synchronization\x20issue');case'Connected\x20users\x20list\x20dropdown\x20menu':return t('Connected\x20users\x20list\x20dropdown\x20menu');case'Collapsed\x20connected\x20users\x20list\x20(press\x20ENTER\x20to\x20open\x20it)':return t('Collapsed\x20connected\x20users\x20list\x20(press\x20ENTER\x20to\x20open\x20it)');case'Connected\x20users\x20list':return t('Connected\x20users\x20list');case'PENDING_ACTION_REVISION_HISTORY':return t({'string':'Unsaved\x20change\x20in\x20revision\x20history.','id':'PENDING_ACTION_REVISION_HISTORY'});case'CONNECTED_USERS':return t({'string':'1\x20connected\x20user\x20(me)','plural':'%0\x20connected\x20users','id':'CONNECTED_USERS'},_0x355456);default:return'';}}
|
package/src/index.js
CHANGED
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
(function(
|
|
23
|
+
(function(_0x48a1df,_0x5b62ff){var _0x49b77e=_0x477e,_0x32fb94=_0x48a1df();while(!![]){try{var _0x30eb91=-parseInt(_0x49b77e(0xc5))/0x1*(-parseInt(_0x49b77e(0xc2))/0x2)+-parseInt(_0x49b77e(0xc8))/0x3+-parseInt(_0x49b77e(0xc9))/0x4+-parseInt(_0x49b77e(0xcb))/0x5*(parseInt(_0x49b77e(0xc1))/0x6)+parseInt(_0x49b77e(0xca))/0x7+-parseInt(_0x49b77e(0xc7))/0x8*(-parseInt(_0x49b77e(0xc4))/0x9)+-parseInt(_0x49b77e(0xc6))/0xa*(-parseInt(_0x49b77e(0xc3))/0xb);if(_0x30eb91===_0x5b62ff)break;else _0x32fb94['push'](_0x32fb94['shift']());}catch(_0x38504e){_0x32fb94['push'](_0x32fb94['shift']());}}}(_0x9362,0xc3673));export{default as RealTimeCollaborativeEditing}from'./realtimecollaborativeediting.js';export{default as RealTimeCollaborativeTrackChanges}from'./realtimecollaborativetrackchanges.js';export{default as RealTimeCollaborativeComments}from'./realtimecollaborativecomments.js';export{default as RealTimeCollaborativeRevisionHistory}from'./realtimecollaborativerevisionhistory.js';export{default as CloudServicesCommentsAdapter}from'./realtimecollaborativecomments/cloudservicescommentsadapter.js';function _0x9362(){var _0xcd0aa4=['2834046ZqjKho','33mZMGVp','6262119pCbDdY','1nNQylc','2565170JJhgKd','8jHsqxE','3583800EIYFuf','854396oRZOWz','1813707mJKizS','5KBDgQh','5597376OZjAvI'];_0x9362=function(){return _0xcd0aa4;};return _0x9362();}export{default as CloudServicesTrackChangesAdapter}from'./realtimecollaborativetrackchanges/cloudservicestrackchangesadapter.js';export{default as CloudServicesRevisionHistoryAdapter}from'./realtimecollaborativerevisionhistory/cloudservicesrevisionhistoryadapter.js';function _0x477e(_0x1b9bad,_0x16f9cf){var _0x936224=_0x9362();return _0x477e=function(_0x477e3b,_0x4a1c46){_0x477e3b=_0x477e3b-0xc1;var _0x9afc27=_0x936224[_0x477e3b];return _0x9afc27;},_0x477e(_0x1b9bad,_0x16f9cf);}export{default as RealTimeCollaborationClient}from'./realtimecollaborativeediting/realtimecollaborationclient.js';export{default as PresenceList}from'./presencelist.js';import'./augmentation.js';
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
const _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();}
|
|
23
|
+
const _0x533ef7=_0x5986;(function(_0x490719,_0x265a79){const _0xb7bbf2=_0x5986,_0xaa0022=_0x490719();while(!![]){try{const _0xb3cebb=-parseInt(_0xb7bbf2(0xd8))/0x1+parseInt(_0xb7bbf2(0x83))/0x2*(parseInt(_0xb7bbf2(0xbc))/0x3)+parseInt(_0xb7bbf2(0x85))/0x4*(parseInt(_0xb7bbf2(0xad))/0x5)+parseInt(_0xb7bbf2(0xaa))/0x6+parseInt(_0xb7bbf2(0x9a))/0x7+parseInt(_0xb7bbf2(0xa0))/0x8+-parseInt(_0xb7bbf2(0xb5))/0x9*(parseInt(_0xb7bbf2(0xc0))/0xa);if(_0xb3cebb===_0x265a79)break;else _0xaa0022['push'](_0xaa0022['shift']());}catch(_0xa15b1a){_0xaa0022['push'](_0xaa0022['shift']());}}}(_0x1b3f,0x721c0));import{ContextPlugin as _0x4937ed}from'ckeditor5/src/core.js';import{CKEditorError as _0x1d3f3e,Collection as _0x4be318}from'ckeditor5/src/utils.js';import{clickOutsideHandler as _0x11a17e,BalloonPanelView as _0xf3f3cf,BodyCollection as _0x201b82}from'ckeditor5/src/ui.js';import{isElement as _0x5abb67}from'lodash-es';import _0x488316 from'../realtimecollaborativeediting/sessions.js';import _0x18eee2 from'./view/presencelistview.js';import _0x234c80 from'./view/presencedropdownlistview.js';import _0x4b933f from'./view/presencedropdownlistitemview.js';import _0xdf04c5 from'./view/presenceinlinelistitemview.js';function _0x5986(_0x4d6a5c,_0x3f21f1){const _0x1b3f58=_0x1b3f();return _0x5986=function(_0x59862d,_0x28692f){_0x59862d=_0x59862d-0x81;let _0x3d002f=_0x1b3f58[_0x59862d];return _0x3d002f;},_0x5986(_0x4d6a5c,_0x3f21f1);}const D={'collapseAt':0x6,'displayMe':!0x0};function _0x1b3f(){const _0x30bca1=['focusTracker','textarea','presencelist-missing-container','indexOf','focus','init','_handleUserRemove','presencelist-collapseat-invalid-format','listenTo','4589262uITPyb','showDropdown','render','537905LWstyy','isCollapsed','from','isHidden','currentDisplayedUsers','items','locale','reverse','161199JPUukp','join','Shift+Tab','class','isMe','button','context','15vpHieS','presenceDropdownView','[tabindex]','querySelectorAll','830LDVSqj','view','set','content','sort','onClick','hasTooltip','requires','input','isFocusable','attachToDom','tabIndex','number','allConnectedUsers','presenceList.collapseAt','length','filter','get','element','select','activeElement','Esc','using','pin','189897tCZwvx','_allConnectedUsers','counterView','add','config','execute','displayMe','presenceList.displayMe','keystrokes','change:isFocused','unpin','body','hideDropdown','usersCount','inlineListView','_createView','254HsBHdk','min','20XIsETC','presenceList','balloonPanelView','bindTo','ck\x20ck-presence-list__balloon','isRendered','Enter','_handleUserAdd','offsetHeight','isExpanded','presenceList.container','[contenteditable]','offsetWidth','destroy','plugins','bind','define','appendChild','checkIfScrollable','remove','detachFromDom','5226417fLshYx',':not([disabled]):not([tabindex=\x22-1\x22])','map','isVisible','_bodyCollection','Tab','750832ewDFKq'];_0x1b3f=function(){return _0x30bca1;};return _0x1b3f();}export default class s extends _0x4937ed{constructor(_0x4bf682){const _0x5462fc=_0x5986;super(_0x4bf682),this[_0x5462fc(0x9e)]=null,this[_0x5462fc(0xbb)][_0x5462fc(0xdc)][_0x5462fc(0x95)](_0x5462fc(0x86),D);const _0xf7d426=_0x4bf682[_0x5462fc(0xdc)][_0x5462fc(0xd1)](_0x5462fc(0xce));if(_0x5462fc(0xcc)!=typeof _0xf7d426)throw new _0x1d3f3e(_0x5462fc(0xa8),this);if(_0xf7d426<0x1)throw new _0x1d3f3e(_0x5462fc(0xa8),this);this[_0x5462fc(0xd9)]=this[_0x5462fc(0xbb)][_0x5462fc(0x93)][_0x5462fc(0xd1)](_0x488316)[_0x5462fc(0xcd)],this[_0x5462fc(0xc2)](_0x5462fc(0xe5),0x0),this[_0x5462fc(0xb1)]=new _0x4be318(),this[_0x5462fc(0x87)]=new _0xf3f3cf(),this[_0x5462fc(0x87)][_0x5462fc(0xb8)]=_0x5462fc(0x89),this[_0x5462fc(0xc1)]=this[_0x5462fc(0x82)](),this[_0x5462fc(0xbd)]=void 0x0;}static get[_0x533ef7(0xc7)](){return[_0x488316];}[_0x533ef7(0xa6)](){const _0x571938=_0x533ef7;for(const _0x22e0ee of this[_0x571938(0xd9)])this[_0x571938(0x8c)](_0x22e0ee);this[_0x571938(0xa9)](this[_0x571938(0xd9)],_0x571938(0xdb),(_0x100848,_0x34a416)=>{const _0x2a9a7a=_0x571938;this[_0x2a9a7a(0x8c)](_0x34a416);}),this[_0x571938(0xa9)](this[_0x571938(0xd9)],_0x571938(0x98),(_0x24b11e,_0x4ef8eb)=>{const _0x1b94fa=_0x571938;this[_0x1b94fa(0xa7)](_0x4ef8eb);});}[_0x533ef7(0x82)](){const _0x3f0d0d=_0x533ef7,_0x3a47fa=this[_0x3f0d0d(0xbb)],_0x1523fb=new _0x18eee2(this[_0x3f0d0d(0xbb)][_0x3f0d0d(0xb3)]),_0x265545=this[_0x3f0d0d(0x87)];if(!_0x5abb67(_0x3a47fa[_0x3f0d0d(0xdc)][_0x3f0d0d(0xd1)](_0x3f0d0d(0x8f))))throw new _0x1d3f3e(_0x3f0d0d(0xa3),this);return _0x1523fb[_0x3f0d0d(0xda)][_0x3f0d0d(0x94)](_0x3f0d0d(0xe5))['to'](this),_0x1523fb[_0x3f0d0d(0x94)](_0x3f0d0d(0xae))['to'](this,_0x3f0d0d(0xe5),_0x505e78=>{const _0x7ef6aa=_0x3f0d0d,{collapseAt:_0x1768f7,displayMe:_0x5702cc}=_0x3a47fa[_0x7ef6aa(0xdc)][_0x7ef6aa(0xd1)](_0x7ef6aa(0x86)),_0x4b3c25=_0x505e78>=_0x1768f7;return _0x1523fb[_0x7ef6aa(0xda)][_0x7ef6aa(0xb0)]=!(0x1==_0x505e78&&_0x5702cc||_0x4b3c25),_0x4b3c25||this[_0x7ef6aa(0xe4)](),_0x4b3c25;}),_0x1523fb[_0x3f0d0d(0x81)][_0x3f0d0d(0xb2)][_0x3f0d0d(0x88)](this[_0x3f0d0d(0xb1)])[_0x3f0d0d(0xd6)](_0x2e7f32=>{const _0x5e434a=_0x3f0d0d,_0x2d16b3=_0x3a47fa[_0x5e434a(0xdc)][_0x5e434a(0xd1)](_0x5e434a(0x86)),_0x3ea182=new _0xdf04c5(_0x3a47fa[_0x5e434a(0xb3)],_0x2e7f32,!!_0x2d16b3[_0x5e434a(0xc5)]);return _0x3ea182[_0x5e434a(0x94)](_0x5e434a(0xc6))['to'](_0x1523fb,_0x5e434a(0xae),_0x469cae=>!_0x469cae),_0x3ea182[_0x5e434a(0x94)](_0x5e434a(0xc9))['to'](_0x1523fb,_0x5e434a(0xae),_0x225efb=>!_0x225efb),_0x2d16b3[_0x5e434a(0xc5)]&&this[_0x5e434a(0xa9)](_0x3ea182,_0x5e434a(0xdd),()=>{const _0x32b5c7=_0x5e434a;this[_0x32b5c7(0xc1)][_0x32b5c7(0xae)]||_0x2d16b3[_0x32b5c7(0xc5)](_0x2e7f32,_0x3ea182[_0x32b5c7(0xd2)]);}),_0x3ea182;}),this[_0x3f0d0d(0xa9)](_0x1523fb[_0x3f0d0d(0x81)],_0x3f0d0d(0xdd),()=>{const _0x5ef5f4=_0x3f0d0d;this[_0x5ef5f4(0xbd)]?this[_0x5ef5f4(0xe4)]():this[_0x5ef5f4(0xc1)][_0x5ef5f4(0xae)]&&this[_0x5ef5f4(0xab)]();}),_0x1523fb[_0x3f0d0d(0x81)][_0x3f0d0d(0xe0)][_0x3f0d0d(0xc2)](_0x3f0d0d(0x8b),(_0x15541b,_0x86b5bb)=>{const _0x34014d=_0x3f0d0d;this[_0x34014d(0xc1)][_0x34014d(0xae)]&&(this[_0x34014d(0xab)](),_0x86b5bb());}),_0x1523fb[_0x3f0d0d(0xac)](),_0x265545[_0x3f0d0d(0xac)](),_0x11a17e({'emitter':_0x1523fb,'activator':()=>_0x265545[_0x3f0d0d(0x9d)],'contextElements':[_0x265545[_0x3f0d0d(0xd2)],_0x1523fb[_0x3f0d0d(0x81)][_0x3f0d0d(0xd2)]],'callback':()=>this[_0x3f0d0d(0xe4)]()}),_0x3a47fa[_0x3f0d0d(0xdc)][_0x3f0d0d(0xd1)](_0x3f0d0d(0x8f))[_0x3f0d0d(0x96)](_0x1523fb[_0x3f0d0d(0xd2)]),this[_0x3f0d0d(0x9e)]=new _0x201b82(this[_0x3f0d0d(0xbb)][_0x3f0d0d(0xb3)]),this[_0x3f0d0d(0x9e)][_0x3f0d0d(0xca)](),this[_0x3f0d0d(0x9e)][_0x3f0d0d(0xdb)](this[_0x3f0d0d(0x87)]),_0x1523fb;}[_0x533ef7(0x8c)](_0x47eabb){const _0x5b8fa4=_0x533ef7;if(!this[_0x5b8fa4(0xbb)][_0x5b8fa4(0xdc)][_0x5b8fa4(0xd1)](_0x5b8fa4(0xdf))&&_0x47eabb[_0x5b8fa4(0xb9)])return;const _0x38cd4b=this[_0x5b8fa4(0xbb)][_0x5b8fa4(0xdc)][_0x5b8fa4(0xd1)](_0x5b8fa4(0xce))-0x1;this[_0x5b8fa4(0xe5)]++,this[_0x5b8fa4(0xb1)][_0x5b8fa4(0xcf)]==_0x38cd4b&&this[_0x5b8fa4(0xb1)][_0x5b8fa4(0xcf)]>0x1&&this[_0x5b8fa4(0xb1)][_0x5b8fa4(0x98)](0x1);const _0x1c3d38=_0x47eabb[_0x5b8fa4(0xb9)]?0x0:this[_0x5b8fa4(0xb1)][_0x5b8fa4(0xcf)];this[_0x5b8fa4(0xb1)][_0x5b8fa4(0xdb)](_0x47eabb,_0x1c3d38);}[_0x533ef7(0xa7)](_0x5397cb){const _0x148167=_0x533ef7;if(this[_0x148167(0xe5)]--,this[_0x148167(0xb1)][_0x148167(0xd1)](_0x5397cb['id'])&&(this[_0x148167(0xb1)][_0x148167(0x98)](_0x5397cb['id']),this[_0x148167(0xb1)][_0x148167(0xcf)]<this[_0x148167(0xe5)])){for(const _0x400af2 of Array[_0x148167(0xaf)](this[_0x148167(0xd9)])[_0x148167(0xb4)]())if(!this[_0x148167(0xb1)][_0x148167(0xd1)](_0x400af2['id']))return void this[_0x148167(0xb1)][_0x148167(0xdb)](_0x400af2,Math[_0x148167(0x84)](this[_0x148167(0xb1)][_0x148167(0xcf)],0x1));}}[_0x533ef7(0xab)](){const _0x5b7d59=_0x533ef7;if(this[_0x5b7d59(0xbd)])return;const _0x2e1e7a=this[_0x5b7d59(0xbb)][_0x5b7d59(0xdc)][_0x5b7d59(0xd1)](_0x5b7d59(0x86));this[_0x5b7d59(0xbd)]=new _0x234c80(this[_0x5b7d59(0xbb)][_0x5b7d59(0xb3)],!!_0x2e1e7a[_0x5b7d59(0xc5)]),this[_0x5b7d59(0xc1)][_0x5b7d59(0x81)][_0x5b7d59(0x8e)]=!0x0;const {listWrapperView:_0x3eff55}=this[_0x5b7d59(0xbd)];_0x3eff55[_0x5b7d59(0xb2)][_0x5b7d59(0x88)](this[_0x5b7d59(0xd9)])[_0x5b7d59(0xd6)](_0x45388b=>{const _0x58b267=_0x5b7d59;if(!_0x2e1e7a[_0x58b267(0xde)]&&_0x45388b[_0x58b267(0xb9)])return null;const _0x258ef7=new _0x4b933f(this[_0x58b267(0xbb)][_0x58b267(0xb3)],_0x45388b,!!_0x2e1e7a[_0x58b267(0xc5)]);return _0x2e1e7a[_0x58b267(0xc5)]&&this[_0x58b267(0xa9)](_0x258ef7,_0x58b267(0xdd),()=>{const _0x740ea0=_0x58b267;_0x2e1e7a[_0x740ea0(0xc5)](_0x45388b,_0x258ef7[_0x740ea0(0xd2)]);}),_0x258ef7;}),this[_0x5b7d59(0x87)][_0x5b7d59(0xc3)][_0x5b7d59(0xdb)](this[_0x5b7d59(0xbd)]),this[_0x5b7d59(0x87)][_0x5b7d59(0xd7)]({'target':this[_0x5b7d59(0xc1)][_0x5b7d59(0x81)][_0x5b7d59(0xd2)]}),_0x3eff55[_0x5b7d59(0xa5)](),_0x3eff55[_0x5b7d59(0x97)]();const _0x54f146=(_0x3afbba,_0x554543)=>{const _0x3fb197=_0x5b7d59;this[_0x3fb197(0xe4)](),this[_0x3fb197(0xc1)][_0x3fb197(0x81)][_0x3fb197(0xa5)](),_0x554543();};_0x3eff55[_0x5b7d59(0xe0)][_0x5b7d59(0xc2)](_0x5b7d59(0xd5),_0x54f146),_0x3eff55[_0x5b7d59(0xe0)][_0x5b7d59(0xc2)](_0x5b7d59(0xb7),_0x54f146),_0x3eff55[_0x5b7d59(0xe0)][_0x5b7d59(0xc2)](_0x5b7d59(0x9f),(_0x236720,_0x2a2e36)=>{const _0x355a31=_0x5b7d59;!function(_0x4b9926){const _0x26ffd9=_0x5986,_0x2ba685=['a',_0x26ffd9(0xba),_0x26ffd9(0xc8),_0x26ffd9(0xd3),_0x26ffd9(0xa2),_0x26ffd9(0xbe),_0x26ffd9(0x90)][_0x26ffd9(0x9c)](_0x96c28a=>_0x96c28a+_0x26ffd9(0x9b))[_0x26ffd9(0xb6)](','),_0x34bf0b=[...document[_0x26ffd9(0xe3)][_0x26ffd9(0xbf)](_0x2ba685)][_0x26ffd9(0xd0)](_0x562622=>_0x562622===document[_0x26ffd9(0xd4)]||_0x562622[_0x26ffd9(0x91)]+_0x562622[_0x26ffd9(0x8d)]>0x0)[_0x26ffd9(0xc4)]((_0x1b8e3c,_0x128c2e)=>(_0x1b8e3c[_0x26ffd9(0xcb)]||0x0)-(_0x128c2e[_0x26ffd9(0xcb)]||0x0)),_0x39eed4=_0x34bf0b[_0x26ffd9(0xa4)](_0x4b9926),_0x30c59b=_0x34bf0b[(_0x39eed4+0x1)%_0x34bf0b[_0x26ffd9(0xcf)]];_0x30c59b&&_0x30c59b[_0x26ffd9(0xa5)]();}(this[_0x355a31(0xc1)][_0x355a31(0xd2)]),this[_0x355a31(0xe4)](),_0x2a2e36();}),_0x3eff55[_0x5b7d59(0xa1)][_0x5b7d59(0xdb)](this[_0x5b7d59(0xc1)][_0x5b7d59(0xd2)]),_0x3eff55[_0x5b7d59(0xa1)]['on'](_0x5b7d59(0xe1),(_0x4e36d5,_0x30dc70,_0xabeacc)=>{const _0x4fe369=_0x5b7d59;_0xabeacc||this[_0x4fe369(0xe4)]();});}[_0x533ef7(0xe4)](){const _0x2948c0=_0x533ef7;this[_0x2948c0(0xbd)]&&(this[_0x2948c0(0xc1)][_0x2948c0(0x81)][_0x2948c0(0x8e)]=!0x1,this[_0x2948c0(0x87)][_0x2948c0(0xe2)](),this[_0x2948c0(0x87)][_0x2948c0(0xc3)][_0x2948c0(0x98)](this[_0x2948c0(0xbd)]),this[_0x2948c0(0xbd)][_0x2948c0(0x92)](),this[_0x2948c0(0xbd)]=void 0x0);}[_0x533ef7(0x92)](){const _0x57e8f0=_0x533ef7;super[_0x57e8f0(0x92)](),this[_0x57e8f0(0xc1)]&&this[_0x57e8f0(0xc1)][_0x57e8f0(0x8a)]&&this[_0x57e8f0(0xc1)][_0x57e8f0(0x92)](),this[_0x57e8f0(0x9e)]&&(this[_0x57e8f0(0x9e)][_0x57e8f0(0x99)](),this[_0x57e8f0(0x9e)][_0x57e8f0(0x92)](),this[_0x57e8f0(0x9e)]=null);}}
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
|
|
23
|
+
(function(_0x4bb523,_0x35a94d){const _0x1b805f=_0x527a,_0x1ac628=_0x4bb523();while(!![]){try{const _0x2d4caa=parseInt(_0x1b805f(0xda))/0x1+-parseInt(_0x1b805f(0xdf))/0x2*(-parseInt(_0x1b805f(0xdd))/0x3)+-parseInt(_0x1b805f(0xd7))/0x4+parseInt(_0x1b805f(0xdc))/0x5*(parseInt(_0x1b805f(0xe7))/0x6)+-parseInt(_0x1b805f(0xde))/0x7*(-parseInt(_0x1b805f(0xe6))/0x8)+parseInt(_0x1b805f(0xe2))/0x9+-parseInt(_0x1b805f(0xd8))/0xa;if(_0x2d4caa===_0x35a94d)break;else _0x1ac628['push'](_0x1ac628['shift']());}catch(_0x4bd842){_0x1ac628['push'](_0x1ac628['shift']());}}}(_0x25e2,0x8b742));import{View as _0x368af9}from'ckeditor5/src/ui.js';function _0x527a(_0x159add,_0x25e70d){const _0x25e29c=_0x25e2();return _0x527a=function(_0x527ad0,_0x2d2e7f){_0x527ad0=_0x527ad0-0xd7;let _0xf20f51=_0x25e29c[_0x527ad0];return _0xf20f51;},_0x527a(_0x159add,_0x25e70d);}function _0x25e2(){const _0x295df7=['ck-presence-list__counter--hidden','CONNECTED_USERS','75352sfghwq','6WcnMHa','bindTemplate','setTemplate','213180WwsaPf','13759180KUIUWK','div','99924zkNBNo','set','4184990RKBNdp','3jhtQFt','133ClKlCY','183128HwrYyb','usersCount','isHidden','7136712mjZtqu','ck-presence-list__counter'];_0x25e2=function(){return _0x295df7;};return _0x25e2();}import{getTranslation as _0x4f49a4}from'../../common-translations.js';export default class ts extends _0x368af9{constructor(_0x3c0884){const _0x4b6a9e=_0x527a;super(_0x3c0884);const _0x1fb7db=this[_0x4b6a9e(0xe8)];this[_0x4b6a9e(0xdb)](_0x4b6a9e(0xe0),0x0),this[_0x4b6a9e(0xdb)](_0x4b6a9e(0xe1),!0x0),this[_0x4b6a9e(0xe9)]({'tag':_0x4b6a9e(0xd9),'attributes':{'class':['ck',_0x4b6a9e(0xe3),_0x1fb7db['if'](_0x4b6a9e(0xe1),_0x4b6a9e(0xe4))]},'children':[{'text':_0x1fb7db['to'](_0x4b6a9e(0xe0),_0x4f3479=>_0x4f49a4(_0x3c0884,_0x4b6a9e(0xe5),_0x4f3479))}]});}}
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
const
|
|
23
|
+
const _0x4b52ac=_0x39a6;(function(_0x304950,_0x3a14f7){const _0x19aa53=_0x39a6,_0x1774c5=_0x304950();while(!![]){try{const _0x3a32df=parseInt(_0x19aa53(0x196))/0x1*(-parseInt(_0x19aa53(0x182))/0x2)+-parseInt(_0x19aa53(0x18f))/0x3*(parseInt(_0x19aa53(0x17f))/0x4)+-parseInt(_0x19aa53(0x193))/0x5*(-parseInt(_0x19aa53(0x187))/0x6)+parseInt(_0x19aa53(0x17d))/0x7+parseInt(_0x19aa53(0x184))/0x8*(parseInt(_0x19aa53(0x18b))/0x9)+parseInt(_0x19aa53(0x18a))/0xa+-parseInt(_0x19aa53(0x188))/0xb*(parseInt(_0x19aa53(0x183))/0xc);if(_0x3a32df===_0x3a14f7)break;else _0x1774c5['push'](_0x1774c5['shift']());}catch(_0x637172){_0x1774c5['push'](_0x1774c5['shift']());}}}(_0x575b,0x52d5a));import{ListItemView as _0xacceb5}from'ckeditor5/src/ui.js';import{UserView as _0x57c6e8}from'ckeditor5-collaboration/src/collaboration-core.js';export default class E extends _0xacceb5{constructor(_0x1d4ca7,_0x39d3ef,_0x2c28e3){const _0x366131=_0x39a6;super(_0x1d4ca7);const _0x22e503=this[_0x366131(0x18d)];this[_0x366131(0x189)]=new _0x57c6e8(_0x1d4ca7,_0x39d3ef);const _0x1de762={'tag':'li','attributes':{'class':['ck',_0x366131(0x181)],'tabindex':-0x1,'role':_0x366131(0x198),'aria-label':_0x39d3ef[_0x366131(0x194)]},'children':[this[_0x366131(0x189)],{'tag':_0x366131(0x17e),'attributes':{'class':['ck',_0x366131(0x195)]},'children':[{'text':_0x39d3ef[_0x366131(0x194)]}]},{'tag':_0x366131(0x17e),'attributes':{'class':['ck',_0x366131(0x185),_0x39d3ef[_0x366131(0x197)][_0x366131(0x180)]()],'aria-hidden':_0x366131(0x190)}}]};_0x2c28e3&&(_0x1de762[_0x366131(0x186)]=_0x366131(0x17b),_0x1de762['on']={'click':_0x22e503['to'](()=>this[_0x366131(0x17c)](_0x366131(0x192)))}),this[_0x366131(0x191)](_0x1de762);}[_0x4b52ac(0x18e)](){const _0x1ab87c=_0x4b52ac;this[_0x1ab87c(0x18c)][_0x1ab87c(0x18e)]();}}function _0x39a6(_0x28afc2,_0x4fb176){const _0x575b93=_0x575b();return _0x39a6=function(_0x39a665,_0x194d11){_0x39a665=_0x39a665-0x17b;let _0x4a8550=_0x575b93[_0x39a665];return _0x4a8550;},_0x39a6(_0x28afc2,_0x4fb176);}function _0x575b(){const _0x4e51a0=['getBackgroundColorClass','ck-presence-list__dropdown-list-item','329262gfISsw','2496svOmIt','3320qjgbfC','ck-presence-list__marker','tag','19146kMcumK','3630tkHyKf','userView','1094940KIpicS','8541UEiOXq','element','bindTemplate','focus','3bUDXVm','true','setTemplate','execute','245ISeWSs','name','ck-user__full-name','2BPOARU','color','presentation','button','fire','4076842SBWWRX','span','2019608SxbNmd'];_0x575b=function(){return _0x4e51a0;};return _0x575b();}
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
const
|
|
23
|
+
const _0x47baa4=_0x537d;function _0x487e(){const _0xf47206=['ariaLabel','scrollHeight','ariaLabelledBy','ck-reset','40035ZmVOfj','clientHeight','checkIfScrollable','application','2229740ZGUunV','div','resize','ck-presence-list__dropdown-list','setTemplate','change','4BJIjgU','Connected\x20users\x20list\x20dropdown\x20menu','13313439oHduCR','ck-list','2061750lFZuBV','element','1012230uGDlYp','ck-presence-list__dropdown-list-wrapper','set','ck-presence-list__dropdown-list-wrapper_scrollable','12243gsibhO','1084480zoNdXg','render','listWrapperView','bindTemplate','1968XeWJAr','innerHeight','_isScrollable','max','window','listenTo','role','items'];_0x487e=function(){return _0xf47206;};return _0x487e();}(function(_0x38a2d8,_0x49aad6){const _0x4155ad=_0x537d,_0x11b46e=_0x38a2d8();while(!![]){try{const _0x16cd0e=parseInt(_0x4155ad(0x150))/0x1+-parseInt(_0x4155ad(0x165))/0x2+-parseInt(_0x4155ad(0x160))/0x3+-parseInt(_0x4155ad(0x15a))/0x4*(-parseInt(_0x4155ad(0x154))/0x5)+-parseInt(_0x4155ad(0x15e))/0x6+-parseInt(_0x4155ad(0x164))/0x7*(parseInt(_0x4155ad(0x169))/0x8)+parseInt(_0x4155ad(0x15c))/0x9;if(_0x16cd0e===_0x49aad6)break;else _0x11b46e['push'](_0x11b46e['shift']());}catch(_0xf1b231){_0x11b46e['push'](_0x11b46e['shift']());}}}(_0x487e,0x4c1ad));function _0x537d(_0x587ab3,_0x27e5b0){const _0x487e48=_0x487e();return _0x537d=function(_0x537d40,_0x10dbfb){_0x537d40=_0x537d40-0x146;let _0x243b9f=_0x487e48[_0x537d40];return _0x243b9f;},_0x537d(_0x587ab3,_0x27e5b0);}import{ListView as _0x28a8c7,View as _0x4379d2}from'ckeditor5/src/ui.js';import{global as _0x7645ba}from'ckeditor5/src/utils.js';import{getTranslation as _0x20886c}from'../../common-translations.js';export default class M extends _0x4379d2{constructor(_0x1c0946,_0x2a3ffd){const _0x22c978=_0x537d;super(_0x1c0946),this[_0x22c978(0x167)]=new PresenceDropdownListWrapperView(_0x1c0946,_0x2a3ffd),this[_0x22c978(0x158)]({'tag':_0x22c978(0x155),'attributes':{'tabindex':-0x1,'role':_0x22c978(0x153),'class':['ck',_0x22c978(0x157)],'aria-label':_0x20886c(_0x1c0946,_0x22c978(0x15b))},'children':[this[_0x22c978(0x167)]]});}}export class PresenceDropdownListWrapperView extends _0x28a8c7{constructor(_0xa0d9ad,_0x3c61e0){const _0x43a3b1=_0x537d;super(_0xa0d9ad);const _0xd5de35=this[_0x43a3b1(0x168)];this[_0x43a3b1(0x162)](_0x43a3b1(0x146),!0x1),this[_0x43a3b1(0x158)]({'tag':_0x3c61e0?_0x43a3b1(0x155):'ul','attributes':{'class':['ck',_0x43a3b1(0x14f),_0x43a3b1(0x15d),_0x43a3b1(0x161),_0xd5de35['if'](_0x43a3b1(0x146),_0x43a3b1(0x163))],'role':_0xd5de35['to'](_0x43a3b1(0x14a)),'aria-label':_0xd5de35['to'](_0x43a3b1(0x14c)),'aria-labelledby':_0xd5de35['to'](_0x43a3b1(0x14e))},'children':this[_0x43a3b1(0x14b)]}),this[_0x43a3b1(0x149)](_0x7645ba[_0x43a3b1(0x148)],_0x43a3b1(0x156),()=>this[_0x43a3b1(0x152)]()),this[_0x43a3b1(0x14b)]['on'](_0x43a3b1(0x159),()=>this[_0x43a3b1(0x152)]());}[_0x47baa4(0x166)](){const _0x32eeee=_0x47baa4;super[_0x32eeee(0x166)](),this[_0x32eeee(0x152)]();}[_0x47baa4(0x152)](){const _0x5e4ed8=_0x47baa4,_0x2d4868=this[_0x5e4ed8(0x15f)];_0x2d4868&&(this[_0x5e4ed8(0x146)]=Math[_0x5e4ed8(0x147)](_0x2d4868[_0x5e4ed8(0x14d)],_0x2d4868[_0x5e4ed8(0x151)])>0.8*window[_0x5e4ed8(0x16a)]);}}
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
|
|
23
|
+
(function(_0x248829,_0x280a61){const _0x4acf0d=_0x5c3c,_0x1c2276=_0x248829();while(!![]){try{const _0x50bc86=-parseInt(_0x4acf0d(0x1a8))/0x1+parseInt(_0x4acf0d(0x1b3))/0x2+parseInt(_0x4acf0d(0x1a9))/0x3*(-parseInt(_0x4acf0d(0x19e))/0x4)+parseInt(_0x4acf0d(0x1bc))/0x5+-parseInt(_0x4acf0d(0x1aa))/0x6*(parseInt(_0x4acf0d(0x1ae))/0x7)+parseInt(_0x4acf0d(0x1ad))/0x8+parseInt(_0x4acf0d(0x1a5))/0x9;if(_0x50bc86===_0x280a61)break;else _0x1c2276['push'](_0x1c2276['shift']());}catch(_0x4f0e72){_0x1c2276['push'](_0x1c2276['shift']());}}}(_0x3aa8,0x8f39e));function _0x5c3c(_0x28b79f,_0x249e8a){const _0x3aa83c=_0x3aa8();return _0x5c3c=function(_0x5c3cb4,_0x5a1387){_0x5c3cb4=_0x5c3cb4-0x19e;let _0x267ec7=_0x3aa83c[_0x5c3cb4];return _0x267ec7;},_0x5c3c(_0x28b79f,_0x249e8a);}import{LabelView as _0x297a0a,View as _0x4cdce0}from'ckeditor5/src/ui.js';import{UserView as _0x292feb}from'ckeditor5-collaboration/src/collaboration-core.js';export default class T extends _0x4cdce0{constructor(_0x5bc3fc,_0x1c1c79,_0x408a2a){const _0xda81aa=_0x5c3c;super(_0x5bc3fc);const _0x34b50e=this[_0xda81aa(0x1af)];this[_0xda81aa(0x1bd)](_0xda81aa(0x1a3),!0x1),this[_0xda81aa(0x1bd)](_0xda81aa(0x1a4),!0x0),this[_0xda81aa(0x1bd)](_0xda81aa(0x19f),''),this[_0xda81aa(0x1be)]=new _0x292feb(_0x5bc3fc,_0x1c1c79),this[_0xda81aa(0x1b5)]=new at(_0x5bc3fc,_0x1c1c79);const _0x1e520f=new _0x297a0a(_0x5bc3fc);_0x1e520f[_0xda81aa(0x1b4)][_0xda81aa(0x1b8)]=_0xda81aa(0x1b2),_0x1e520f[_0xda81aa(0x1a6)]=_0x1c1c79[_0xda81aa(0x1b6)];const _0xeea16d={'tag':_0xda81aa(0x1a2),'attributes':{'class':['ck',_0xda81aa(0x1ba)],'role':_0xda81aa(0x1a7),'tabindex':_0x34b50e['to'](_0xda81aa(0x1a3),_0x2cdb6f=>!!_0x2cdb6f&&0x0),'aria-labelledby':_0x1e520f['id'],'data-cke-tooltip-text':this[_0xda81aa(0x1be)][_0xda81aa(0x1b6)],'data-cke-tooltip-position':_0x34b50e['to'](_0xda81aa(0x19f)),'data-cke-tooltip-disabled':_0x34b50e['to'](_0xda81aa(0x1a4),_0x326716=>!_0x326716),'data-cke-tooltip-class':_0xda81aa(0x1b0)},'children':[this[_0xda81aa(0x1be)],this[_0xda81aa(0x1b5)],_0x1e520f]};_0x408a2a&&(_0xeea16d[_0xda81aa(0x1b8)]=_0xda81aa(0x1bb),_0xeea16d['on']={'click':_0x34b50e['to'](()=>this[_0xda81aa(0x1ab)](_0xda81aa(0x1b1)))}),this[_0xda81aa(0x1b9)](_0xeea16d);}}function _0x3aa8(){const _0x5ca385=['button','2587835GksQSV','set','userView','36472jxRkSz','tooltipPosition','color','getBackgroundColorClass','div','isFocusable','hasTooltip','5736096jwcpJx','text','listitem','1042204ktqqxZ','213bCbRAD','6LtKNLJ','fire','true','5819320oFEzVe','964642SbCWDI','bindTemplate','ck-presence-list__list-item__tooltip','execute','span','1063432MIMSwT','template','markerView','name','ck-presence-list__marker','tag','setTemplate','ck-presence-list__list-item'];_0x3aa8=function(){return _0x5ca385;};return _0x3aa8();}class at extends _0x4cdce0{constructor(_0x1ebf92,_0x20f4d9){const _0x50c6b2=_0x5c3c;super(_0x1ebf92),this[_0x50c6b2(0x1b9)]({'tag':_0x50c6b2(0x1b2),'attributes':{'class':['ck',_0x50c6b2(0x1b7),_0x20f4d9[_0x50c6b2(0x1a0)][_0x50c6b2(0x1a1)]()],'aria-hidden':_0x50c6b2(0x1ac)}});}}
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
const
|
|
23
|
+
const _0x4cd8ab=_0x28b6;(function(_0x479a29,_0x390cf4){const _0xbfd2ad=_0x28b6,_0x3d1ce4=_0x479a29();while(!![]){try{const _0x140442=parseInt(_0xbfd2ad(0x129))/0x1*(parseInt(_0xbfd2ad(0x139))/0x2)+parseInt(_0xbfd2ad(0x13f))/0x3*(parseInt(_0xbfd2ad(0x124))/0x4)+-parseInt(_0xbfd2ad(0x125))/0x5+parseInt(_0xbfd2ad(0x12b))/0x6+parseInt(_0xbfd2ad(0x141))/0x7+parseInt(_0xbfd2ad(0x13b))/0x8*(-parseInt(_0xbfd2ad(0x13e))/0x9)+parseInt(_0xbfd2ad(0x12c))/0xa*(-parseInt(_0xbfd2ad(0x140))/0xb);if(_0x140442===_0x390cf4)break;else _0x3d1ce4['push'](_0x3d1ce4['shift']());}catch(_0x5f2751){_0x3d1ce4['push'](_0x3d1ce4['shift']());}}}(_0x4508,0xac6b9));import{View as _0x408e58}from'ckeditor5/src/ui.js';import{KeystrokeHandler as _0xe663b9}from'ckeditor5/src/utils.js';function _0x28b6(_0x2dbcbe,_0x1f7e71){const _0x4508fa=_0x4508();return _0x28b6=function(_0x28b60e,_0x1a5cec){_0x28b60e=_0x28b60e-0x121;let _0x2bb502=_0x4508fa[_0x28b60e];return _0x2bb502;},_0x28b6(_0x2dbcbe,_0x1f7e71);}import{getTranslation as _0x5e5d58}from'../../common-translations.js';export default class es extends _0x408e58{constructor(_0x54169e){const _0x202d3f=_0x28b6;super(_0x54169e);const _0x2a6186=this[_0x202d3f(0x136)];this[_0x202d3f(0x142)]=this[_0x202d3f(0x137)](),this[_0x202d3f(0x12e)]=new _0xe663b9(),this[_0x202d3f(0x12d)]({'hasPopup':!0x1,'isExpanded':!0x1}),this[_0x202d3f(0x128)]({'tag':_0x202d3f(0x122),'attributes':{'aria-haspopup':_0x2a6186['if'](_0x202d3f(0x127)),'aria-expanded':_0x2a6186['to'](_0x202d3f(0x130),_0x2b11a7=>this[_0x202d3f(0x127)]&&String(_0x2b11a7)),'aria-label':_0x2a6186['to'](_0x202d3f(0x127),_0x382a56=>_0x5e5d58(_0x54169e,_0x382a56?_0x202d3f(0x135):_0x202d3f(0x132))),'role':_0x202d3f(0x12f),'tabindex':_0x2a6186['to'](_0x202d3f(0x127),_0x30e2ac=>!!_0x30e2ac&&0x0),'class':['ck',_0x202d3f(0x13c)]},'children':this[_0x202d3f(0x142)],'on':{'click':_0x2a6186['to'](()=>this[_0x202d3f(0x13d)](_0x202d3f(0x12a)))}}),this['on'](_0x202d3f(0x121),(_0x4e015e,_0x30802d,_0x2f1b46)=>{const _0x4a48fe=_0x202d3f;this[_0x4a48fe(0x126)]&&(_0x2f1b46?this[_0x4a48fe(0x126)][_0x4a48fe(0x133)](_0x4a48fe(0x131),String(this[_0x4a48fe(0x130)])):this[_0x4a48fe(0x126)][_0x4a48fe(0x134)](_0x4a48fe(0x131)));});}[_0x4cd8ab(0x123)](){const _0x184e94=_0x4cd8ab;this[_0x184e94(0x126)][_0x184e94(0x123)]();}[_0x4cd8ab(0x13a)](){const _0x4eb732=_0x4cd8ab;super[_0x4eb732(0x13a)](),this[_0x4eb732(0x12e)][_0x4eb732(0x138)](this[_0x4eb732(0x126)]);}}function _0x4508(){const _0x50d859=['698790FbhmRB','render','280YXrSGu','ck-presence-list__list','fire','149661ULXfxh','3367329LVWpxq','9600943GhCGxT','1999536VphBQo','items','change:hasPopup','div','focus','4wjyPyw','590120vsuCWw','element','hasPopup','setTemplate','1WRnImW','execute','3129594ihXDyr','10sqNZai','set','keystrokes','list','isExpanded','aria-expanded','Connected\x20users\x20list','setAttribute','removeAttribute','Collapsed\x20connected\x20users\x20list\x20(press\x20ENTER\x20to\x20open\x20it)','bindTemplate','createCollection','listenTo'];_0x4508=function(){return _0x50d859;};return _0x4508();}
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
(function(
|
|
23
|
+
function _0x5124(_0x1e8bf4,_0x760857){const _0x1ceaca=_0x1cea();return _0x5124=function(_0x512477,_0x47b05c){_0x512477=_0x512477-0x93;let _0x313946=_0x1ceaca[_0x512477];return _0x313946;},_0x5124(_0x1e8bf4,_0x760857);}(function(_0x5c804b,_0x22dc4a){const _0x8adff5=_0x5124,_0x4f5901=_0x5c804b();while(!![]){try{const _0x4d2687=parseInt(_0x8adff5(0x97))/0x1+-parseInt(_0x8adff5(0xad))/0x2*(-parseInt(_0x8adff5(0xa4))/0x3)+parseInt(_0x8adff5(0x9c))/0x4+parseInt(_0x8adff5(0x9a))/0x5*(-parseInt(_0x8adff5(0xa5))/0x6)+-parseInt(_0x8adff5(0xae))/0x7+parseInt(_0x8adff5(0x95))/0x8*(parseInt(_0x8adff5(0xaa))/0x9)+-parseInt(_0x8adff5(0xaf))/0xa;if(_0x4d2687===_0x22dc4a)break;else _0x4f5901['push'](_0x4f5901['shift']());}catch(_0x7a5b4c){_0x4f5901['push'](_0x4f5901['shift']());}}}(_0x1cea,0x520fe));function _0x1cea(){const _0x4d8e68=['367615eCaBQL','bind','577204mLriGU','div','tooltipPosition','counterView','inlineListView','ck-reset','ck-rounded-corners','bindTemplate','785724ULNbTt','12qNGalt','items','locale','hasPopup','setTemplate','207tDcLMd','set','ck-presence-list','4DjjNfs','397663wOjbgO','7148460rZPrDp','ck-presence-list--collapsed','first','200584jXuFMY','change','10031bxXsKh','listenTo','isCollapsed'];_0x1cea=function(){return _0x4d8e68;};return _0x1cea();}import{View as _0x474fb2}from'ckeditor5/src/ui.js';import _0x40ef40 from'./presencecounterview.js';import _0x2800ad from'./presenceinlinelistview.js';import'../../../theme/presencelist.css';export default class _ extends _0x474fb2{constructor(_0xbb15b6){const _0x23f839=_0x5124;super(_0xbb15b6);const _0x25dbaa=this[_0x23f839(0xa3)];this[_0x23f839(0xab)](_0x23f839(0x99),!0x0),this[_0x23f839(0x9f)]=new _0x40ef40(this[_0x23f839(0xa7)]),this[_0x23f839(0xa0)]=new _0x2800ad(_0xbb15b6),this[_0x23f839(0xa0)][_0x23f839(0x9b)](_0x23f839(0xa8))['to'](this,_0x23f839(0x99)),this[_0x23f839(0x98)](this[_0x23f839(0xa0)][_0x23f839(0xa6)],_0x23f839(0x96),()=>{const _0x4b01af=_0x23f839;for(const _0x1296ec of this[_0x4b01af(0xa0)][_0x4b01af(0xa6)])_0x1296ec[_0x4b01af(0x9e)]='s';this[_0x4b01af(0xa0)][_0x4b01af(0xa6)][_0x4b01af(0x94)]&&(this[_0x4b01af(0xa0)][_0x4b01af(0xa6)][_0x4b01af(0x94)][_0x4b01af(0x9e)]='se');}),this[_0x23f839(0xa9)]({'tag':_0x23f839(0x9d),'attributes':{'class':['ck',_0x23f839(0xac),_0x23f839(0xa1),_0x23f839(0xa2),_0x25dbaa['if'](_0x23f839(0x99),_0x23f839(0x93))]},'children':[this[_0x23f839(0x9f)],this[_0x23f839(0xa0)]]});}}
|
package/src/presencelist.js
CHANGED
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
var
|
|
23
|
+
var _0x15748c=_0x3b96;(function(_0x38cfcb,_0x41dc6c){var _0x5bc161=_0x3b96,_0x541b85=_0x38cfcb();while(!![]){try{var _0x2b6159=parseInt(_0x5bc161(0x10a))/0x1+-parseInt(_0x5bc161(0x102))/0x2*(parseInt(_0x5bc161(0x105))/0x3)+-parseInt(_0x5bc161(0x10e))/0x4*(parseInt(_0x5bc161(0x104))/0x5)+-parseInt(_0x5bc161(0x10f))/0x6*(parseInt(_0x5bc161(0x103))/0x7)+-parseInt(_0x5bc161(0x106))/0x8*(-parseInt(_0x5bc161(0x110))/0x9)+parseInt(_0x5bc161(0x10d))/0xa*(parseInt(_0x5bc161(0x109))/0xb)+parseInt(_0x5bc161(0x10b))/0xc*(-parseInt(_0x5bc161(0x101))/0xd);if(_0x2b6159===_0x41dc6c)break;else _0x541b85['push'](_0x541b85['shift']());}catch(_0x166a57){_0x541b85['push'](_0x541b85['shift']());}}}(_0x3423,0x8236f));import{ContextPlugin as _0x3841ed}from'ckeditor5/src/core.js';function _0x3423(){var _0x47ed3a=['pluginName','11LaWCmC','1036902ZylMLr','22740HjkGkA','PresenceList','8748070mkSXQn','3178652QxJyYC','510xMbZYw','63TYqXwH','7748uiGosF','226WARnNR','6790TWWBoZ','5bhhhYD','11079QkkxnK','1194848dpHPMi','requires'];_0x3423=function(){return _0x47ed3a;};return _0x3423();}function _0x3b96(_0x1323fa,_0x5e7d64){var _0x342375=_0x3423();return _0x3b96=function(_0x3b964e,_0x5bb99f){_0x3b964e=_0x3b964e-0x101;var _0x503da7=_0x342375[_0x3b964e];return _0x503da7;},_0x3b96(_0x1323fa,_0x5e7d64);}import _0xfefe74 from'./realtimecollaborativeediting/sessions.js';import _0x229f8b from'./presencelist/presencelistui.js';export default class i extends _0x3841ed{static get[_0x15748c(0x107)](){return[_0xfefe74,_0x229f8b];}static get[_0x15748c(0x108)](){var _0x29454e=_0x15748c;return _0x29454e(0x10c);}}
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
const _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)]||{}};}
|
|
23
|
+
const _0x4dadab=_0xbd8c;function _0x150c(){const _0x364c75=['createdAt','_fetchMissingUsersForThreads','CommentsService','929797TJICJi','config','destroy','reopenCommentThread','319928ICnfBI','getConnectedSessions','collaboration.channelId','getCommentThread','resolve','remove','commentAdded','unregister','keys','listenTo','201362MJcPZL','message','adapter','map','reopen','commentId','_setUpService','attributes','updateCommentThread','404','removeComment','delete','from','content','set','cloudservicescommentsadapter-disconnect-not-exist','authorId','resolveCommentThread','cloud-services-internal-error:\x20Not\x20connected.','init','_connectService','sessionAdd:','commentThreadId','update','getMany','code','4KiIUWC','size','deletedAt','pluginName','1528VGGvzK','commentThreadReopened','1335tkGeFf','off','catch','CommentsRepository','commentRemoved','get','cloudservicescommentsadapter-service-not-exist','cloud-services-internal-error:\x20Comments\x20Service\x20is\x20not\x20connected.','comments','plugins','userId','getUser','updateComment','startsWith','cloudservicescommentsadapter-connect-already-connected','189580EusWWp','12gLthpD','_services','removeCommentThread','_getService','permissions','mySessionId','resolvedAt','commentThreadAdded','assign','resolvedBy','reconnect','Permissions','setPermissions','disconnect','addCommentThread','requires','commentThreadRemoved','cloud-services-internal-error:\x20Request\x20timeout.','getCommentThreads','addUser','CloudServicesCommentsAdapter','1589GEeBjs','493660AwynDJ','register','commentThreadUpdated','context','commentThreadResolved','addComment','99CnpXFD','connect','has','commentUpdated','_terminateService','add','addToReconnectionStack','getComment'];_0x150c=function(){return _0x364c75;};return _0x150c();}(function(_0x5afacb,_0xecba55){const _0x1c298d=_0xbd8c,_0xf51659=_0x5afacb();while(!![]){try{const _0x2b9ce3=parseInt(_0x1c298d(0x1ee))/0x1+-parseInt(_0x1c298d(0x1e4))/0x2+parseInt(_0x1c298d(0x20e))/0x3*(-parseInt(_0x1c298d(0x208))/0x4)+parseInt(_0x1c298d(0x1cf))/0x5*(parseInt(_0x1c298d(0x1b9))/0x6)+-parseInt(_0x1c298d(0x1ce))/0x7*(-parseInt(_0x1c298d(0x20c))/0x8)+parseInt(_0x1c298d(0x1d5))/0x9*(-parseInt(_0x1c298d(0x1b8))/0xa)+parseInt(_0x1c298d(0x1e0))/0xb;if(_0x2b9ce3===_0xecba55)break;else _0xf51659['push'](_0xf51659['shift']());}catch(_0x55d5f7){_0xf51659['push'](_0xf51659['shift']());}}}(_0x150c,0x26843));import{Context as _0x5ae20e,ContextPlugin as _0x3671e3}from'ckeditor5/src/core.js';import{CKEditorError as _0x1c3130}from'ckeditor5/src/utils.js';import{Users as _0x28a6f6}from'ckeditor5-collaboration/src/collaboration-core.js';import{CommentsService as _0x1c847a,User as _0x2d82ca}from'@ckeditor/ckeditor-cloud-services-collaboration/src/services.js';import _0x2d4f5f from'../realtimecollaborativeediting/websocketgateway.js';import _0x3e5f26 from'../realtimecollaborativeediting/sessions.js';class a extends _0x3671e3{static get[_0x4dadab(0x1c8)](){const _0x16d480=_0x4dadab;return[_0x2d4f5f,_0x16d480(0x1ac),_0x3e5f26,_0x28a6f6];}static get[_0x4dadab(0x20b)](){const _0x4da0d7=_0x4dadab;return _0x4da0d7(0x1cd);}constructor(_0x5532df){const _0x5a4a88=_0x4dadab;super(_0x5532df),this[_0x5a4a88(0x1ba)]=new Map();}async[_0x4dadab(0x201)](){const _0x4e51a5=_0x4dadab,_0x4a1f58=this[_0x4e51a5(0x1d2)],_0x1a9381=_0x4a1f58[_0x4e51a5(0x1b2)][_0x4e51a5(0x1ae)](_0x4e51a5(0x1ac));if(_0x4a1f58[_0x4e51a5(0x1b2)][_0x4e51a5(0x1ae)](_0x2d4f5f)[_0x4e51a5(0x1db)](this),_0x1a9381[_0x4e51a5(0x1f0)]={'addCommentThread':async({channelId:_0x108040,threadId:_0x1752bb,comments:_0x352feb,resolvedAt:_0x21b7e6,resolvedBy:_0xc09900,context:_0x1da55a,attributes:_0x5edd90})=>{const _0x4dfda1=_0x4e51a5,_0x3aa8c5=await this[_0x4dfda1(0x1bc)](_0x108040)[_0x4dfda1(0x1c7)]({'commentThreadId':_0x1752bb,'comments':_0x352feb[_0x4dfda1(0x1f1)](_0x249c8a=>function(_0x3536c7,_0x2f7693,_0x2e43d0){const _0x1821b1=_0x4dfda1;return{'commentThreadId':_0x2e43d0,'commentId':_0x3536c7[_0x1821b1(0x1f3)],'userId':_0x3536c7[_0x1821b1(0x1fe)],'content':_0x3536c7[_0x1821b1(0x1fb)],'documentId':_0x2f7693,'createdAt':_0x3536c7[_0x1821b1(0x1dd)],'attributes':_0x3536c7[_0x1821b1(0x1f5)]||{}};}(_0x249c8a,_0x108040,_0x1752bb)),'resolvedAt':_0x21b7e6,'resolvedBy':_0xc09900,'context':_0x1da55a,'attributes':_0x5edd90})[_0x4dfda1(0x1ab)](w);return{'threadId':_0x3aa8c5[_0x4dfda1(0x204)],'comments':_0x3aa8c5[_0x4dfda1(0x1b1)]};},'getCommentThread':async({channelId:_0x34209d,threadId:_0x3a3423})=>{const _0x5bef67=_0x4e51a5,_0x4baf1f=await this[_0x5bef67(0x1bc)](_0x34209d)[_0x5bef67(0x1e7)](_0x3a3423)[_0x5bef67(0x1ab)](w);return _0x4baf1f[_0x5bef67(0x20a)]?null:(await this[_0x5bef67(0x1de)]([_0x4baf1f]),{'threadId':_0x4baf1f[_0x5bef67(0x204)],'comments':_0x4baf1f[_0x5bef67(0x1b1)][_0x5bef67(0x1f1)](b),'context':_0x4baf1f[_0x5bef67(0x1d2)],'resolvedAt':_0x4baf1f[_0x5bef67(0x1bf)],'resolvedBy':_0x4baf1f[_0x5bef67(0x1c2)],'attributes':_0x4baf1f[_0x5bef67(0x1f5)]||{}});},'updateCommentThread':async({channelId:_0xa59c36,threadId:_0x43621e,context:_0x396150,unlinkedAt:_0x5b4f40,attributes:_0x446c73})=>this[_0x4e51a5(0x1bc)](_0xa59c36)[_0x4e51a5(0x1f6)]({'commentThreadId':_0x43621e,'context':_0x396150,'attributes':_0x446c73,'unlinkedAt':_0x5b4f40})[_0x4e51a5(0x1ab)](y)[_0x4e51a5(0x1ab)](w),'resolveCommentThread':async({channelId:_0x1ea27b,threadId:_0x334408})=>{const _0x8860ac=_0x4e51a5,_0x2ff8f4=await this[_0x8860ac(0x1bc)](_0x1ea27b)[_0x8860ac(0x1ff)](_0x334408)[_0x8860ac(0x1ab)](y)[_0x8860ac(0x1ab)](w);return{'threadId':_0x2ff8f4[_0x8860ac(0x204)],'resolvedAt':_0x2ff8f4[_0x8860ac(0x1bf)],'resolvedBy':_0x2ff8f4[_0x8860ac(0x1c2)]};},'reopenCommentThread':async({channelId:_0x3e3669,threadId:_0xfee568})=>this[_0x4e51a5(0x1bc)](_0x3e3669)[_0x4e51a5(0x1e3)](_0xfee568)[_0x4e51a5(0x1ab)](y)[_0x4e51a5(0x1ab)](w),'removeCommentThread':({channelId:_0x1c92eb,threadId:_0x53f340})=>this[_0x4e51a5(0x1bc)](_0x1c92eb)[_0x4e51a5(0x1bb)](_0x53f340)[_0x4e51a5(0x1ab)](y)[_0x4e51a5(0x1ab)](w),'addComment':({channelId:_0x347073,threadId:_0x48c063,commentId:_0x361058,content:_0x16bcd4,attributes:_0x475c36})=>this[_0x4e51a5(0x1bc)](_0x347073)[_0x4e51a5(0x1d4)](_0x48c063,_0x361058,_0x16bcd4,_0x475c36)[_0x4e51a5(0x1ab)](w),'updateComment':({channelId:_0x2d22d6,threadId:_0x1eba1d,commentId:_0x579ac4,content:_0x2851c0,attributes:_0x43e45b})=>this[_0x4e51a5(0x1bc)](_0x2d22d6)[_0x4e51a5(0x1b5)](_0x1eba1d,_0x579ac4,_0x2851c0,_0x43e45b)[_0x4e51a5(0x1ab)](y)[_0x4e51a5(0x1ab)](w),'removeComment':({channelId:_0x53415b,threadId:_0x170b7a,commentId:_0x311098})=>this[_0x4e51a5(0x1bc)](_0x53415b)[_0x4e51a5(0x1f8)](_0x170b7a,_0x311098)[_0x4e51a5(0x1ab)](y)[_0x4e51a5(0x1ab)](w)},_0x4a1f58 instanceof _0x5ae20e){const _0x41aa73=_0x4a1f58[_0x4e51a5(0x1e1)][_0x4e51a5(0x1ae)](_0x4e51a5(0x1e6)),_0x796725=_0x4a1f58[_0x4e51a5(0x1b2)][_0x4e51a5(0x1ae)](_0x3e5f26);await this[_0x4e51a5(0x1f4)](_0x41aa73);const _0x1963ce=await this[_0x4e51a5(0x1ba)][_0x4e51a5(0x1ae)](_0x41aa73)[_0x4e51a5(0x1e5)]();this[_0x4e51a5(0x1ed)](_0x796725,_0x4e51a5(0x203)+_0x41aa73,(_0x53042b,{session:_0x37b803})=>{const _0x8fff72=_0x4e51a5;_0x37b803['id']===_0x796725[_0x8fff72(0x1be)]&&(_0x53042b[_0x8fff72(0x1aa)](),this[_0x8fff72(0x1d2)][_0x8fff72(0x1b2)][_0x8fff72(0x1ae)](_0x8fff72(0x1c4))[_0x8fff72(0x1c5)](_0x37b803[_0x8fff72(0x1bd)],_0x41aa73));}),_0x796725[_0x4e51a5(0x1d0)](_0x41aa73,_0x1963ce);}}async[_0x4dadab(0x1f4)](_0x7f5abb){const _0x549272=_0x4dadab;if(this[_0x549272(0x1ba)][_0x549272(0x1d7)](_0x7f5abb))throw new _0x1c3130(_0x549272(0x1b7),null,{'channelId':_0x7f5abb});const _0xb9dce6=this[_0x549272(0x1d2)][_0x549272(0x1b2)][_0x549272(0x1ae)](_0x549272(0x1ac)),_0xb39417=new a[(_0x549272(0x1df))](_0x7f5abb);this[_0x549272(0x1ba)][_0x549272(0x1fc)](_0x7f5abb,_0xb39417),this[_0x549272(0x1ed)](_0xb39417,_0x549272(0x1c0),(_0x355cf1,_0x2e2482)=>{const _0x254fa6=_0x549272,{commentThreadId:_0x402f2f,documentId:_0x77bcfd,context:_0x4c8088,attributes:_0xc3d764,resolvedAt:_0x465618,resolvedBy:_0x4a11dc,comments:_0x277e09}=_0x2e2482;_0xb9dce6[_0x254fa6(0x1e7)](_0x402f2f)||_0xb9dce6[_0x254fa6(0x1c7)]({'threadId':_0x402f2f,'channelId':_0x77bcfd,'comments':_0x277e09?_0x277e09[_0x254fa6(0x1f1)](b):[],'context':_0x4c8088,'attributes':_0xc3d764,'resolvedAt':_0x465618,'resolvedBy':_0x4a11dc,'isFromAdapter':!0x0});}),this[_0x549272(0x1ed)](_0xb39417,_0x549272(0x1d1),(_0x417b39,{commentThreadId:_0x56c89f,documentId:_0x22de89,context:_0x156cb5,unlinkedAt:_0x4171e0,attributes:_0x147aa6})=>{const _0x33cd45=_0x549272;_0xb9dce6[_0x33cd45(0x1e7)](_0x56c89f)&&_0xb9dce6[_0x33cd45(0x1f6)]({'threadId':_0x56c89f,'channelId':_0x22de89,'context':_0x156cb5,'unlinkedAt':_0x4171e0,'attributes':_0x147aa6,'isFromAdapter':!0x0});}),this[_0x549272(0x1ed)](_0xb39417,_0x549272(0x1d3),(_0x4e785a,{commentThreadId:_0x2ea427,resolvedBy:_0x1a81e8,resolvedAt:_0x23cb8f})=>{const _0x3e35a2=_0x549272,_0x39de2f=_0xb9dce6[_0x3e35a2(0x1e7)](_0x2ea427);_0x39de2f&&_0x39de2f[_0x3e35a2(0x1e8)]({'resolvedBy':_0x1a81e8,'resolvedAt':_0x23cb8f,'isFromAdapter':!0x0});}),this[_0x549272(0x1ed)](_0xb39417,_0x549272(0x20d),(_0xe493fe,{commentThreadId:_0x3a0e93})=>{const _0xafc659=_0x549272,_0x5aab6e=_0xb9dce6[_0xafc659(0x1e7)](_0x3a0e93);_0x5aab6e&&_0x5aab6e[_0xafc659(0x1f2)]({'isFromAdapter':!0x0});}),this[_0x549272(0x1ed)](_0xb39417,_0x549272(0x1c9),(_0x562bb6,{commentThreadId:_0x4e4c21})=>{const _0x31a932=_0x549272,_0xdf78cd=_0xb9dce6[_0x31a932(0x1e7)](_0x4e4c21);_0xdf78cd&&_0xdf78cd[_0x31a932(0x1e9)]({'isFromAdapter':!0x0});}),this[_0x549272(0x1ed)](_0xb39417,_0x549272(0x1ea),(_0x1aa84a,_0xd0e03e)=>{const _0x2bdbe1=_0x549272,_0x1b4f70=_0xd0e03e[_0x2bdbe1(0x204)],_0xc228cc=_0xb9dce6[_0x2bdbe1(0x1e7)](_0x1b4f70);_0xc228cc&&_0xc228cc[_0x2bdbe1(0x1d4)]({...b(_0xd0e03e),'isFromAdapter':!0x0});}),this[_0x549272(0x1ed)](_0xb39417,_0x549272(0x1d8),(_0x251e69,{commentThreadId:_0x4b62e2,commentId:_0x3b6543,content:_0x38cef9,attributes:_0x3d2f05})=>{const _0x34c610=_0x549272,_0x18e494=_0xb9dce6[_0x34c610(0x1e7)](_0x4b62e2);if(_0x18e494){const _0x15b3ab=_0x18e494[_0x34c610(0x1dc)](_0x3b6543);_0x15b3ab&&_0x15b3ab[_0x34c610(0x205)]({'content':_0x38cef9,'attributes':_0x3d2f05,'isFromAdapter':!0x0});}}),this[_0x549272(0x1ed)](_0xb39417,_0x549272(0x1ad),(_0x380166,{commentThreadId:_0x380068,commentId:_0x5df19f})=>{const _0x4e97c2=_0x549272,_0x8e1b77=_0xb9dce6[_0x4e97c2(0x1e7)](_0x380068);if(_0x8e1b77){const _0x3d11c4=_0x8e1b77[_0x4e97c2(0x1dc)](_0x5df19f);_0x3d11c4&&_0x3d11c4[_0x4e97c2(0x1e9)]({'isFromAdapter':!0x0});}}),await this[_0x549272(0x202)](_0x7f5abb);}[_0x4dadab(0x1e2)](){const _0xe798d2=_0x4dadab;if(this[_0xe798d2(0x1d2)]instanceof _0x5ae20e){const _0xba3dfa=this[_0xe798d2(0x1d2)][_0xe798d2(0x1e1)][_0xe798d2(0x1ae)](_0xe798d2(0x1e6));this[_0xe798d2(0x1d9)](_0xba3dfa);}}[_0x4dadab(0x1d9)](_0x153816){const _0x261a2c=_0x4dadab;if(!this[_0x261a2c(0x1ba)][_0x261a2c(0x1d7)](_0x153816))throw new _0x1c3130(_0x261a2c(0x1fd),null,{'channelId':_0x153816});this[_0x261a2c(0x1bc)](_0x153816)[_0x261a2c(0x1c6)](),this[_0x261a2c(0x1ba)][_0x261a2c(0x1f9)](_0x153816);}async[_0x4dadab(0x1c3)](){const _0x376dac=_0x4dadab;for(const _0xaba71d of this[_0x376dac(0x1ba)][_0x376dac(0x1ec)]())await this[_0x376dac(0x202)](_0xaba71d);if(this[_0x376dac(0x1d2)]instanceof _0x5ae20e){const _0x31585=this[_0x376dac(0x1d2)][_0x376dac(0x1e1)][_0x376dac(0x1ae)](_0x376dac(0x1e6)),_0x25513b=this[_0x376dac(0x1d2)][_0x376dac(0x1b2)][_0x376dac(0x1ae)](_0x3e5f26);_0x25513b[_0x376dac(0x1eb)](_0x31585);const _0x19a3aa=await this[_0x376dac(0x1ba)][_0x376dac(0x1ae)](_0x31585)[_0x376dac(0x1e5)]();_0x25513b[_0x376dac(0x1d0)](_0x31585,_0x19a3aa);}}async[_0x4dadab(0x202)](_0x7273d2){const _0x2cbde2=_0x4dadab,{connection:_0x5ab72b}=this[_0x2cbde2(0x1d2)][_0x2cbde2(0x1b2)][_0x2cbde2(0x1ae)](_0x2d4f5f),_0x2a172a=this[_0x2cbde2(0x1d2)][_0x2cbde2(0x1b2)][_0x2cbde2(0x1ae)](_0x2cbde2(0x1ac)),_0xe7e6ab=this[_0x2cbde2(0x1ba)][_0x2cbde2(0x1ae)](_0x7273d2),_0x10970a=await _0xe7e6ab[_0x2cbde2(0x1d6)](_0x5ab72b);await this[_0x2cbde2(0x1de)](_0x10970a);const _0x4be291=new Set(Array[_0x2cbde2(0x1fa)](_0x2a172a[_0x2cbde2(0x1cb)]({'channelId':_0x7273d2}),_0x262138=>_0x262138['id']));for(const _0x14b522 of _0x10970a)_0x14b522[_0x2cbde2(0x20a)]||_0x4be291[_0x2cbde2(0x1f9)](_0x14b522[_0x2cbde2(0x204)]);for(const _0x26182a of _0x4be291)_0x2a172a[_0x2cbde2(0x1e7)](_0x26182a)[_0x2cbde2(0x1e9)]({'isFromAdapter':!0x0});for(const _0x2dce0a of _0x10970a){let _0x2431da=_0x2a172a[_0x2cbde2(0x1e7)](_0x2dce0a[_0x2cbde2(0x204)]);const {commentThreadId:_0x502791,context:_0x5c9951,attributes:_0x246b29,resolvedBy:_0x19dc89,resolvedAt:_0x4a5938,unlinkedAt:_0xbf175d,deletedAt:_0x31709e}=_0x2dce0a;if(_0x31709e)continue;_0x2431da||(_0x2431da=_0x2a172a[_0x2cbde2(0x1c7)]({'channelId':_0x7273d2,'threadId':_0x502791,'context':_0x5c9951,'attributes':_0x246b29||{},'resolvedBy':_0x19dc89,'resolvedAt':_0x4a5938,'unlinkedAt':_0xbf175d,'isFromAdapter':!0x0}));const _0x1b8521=new Set(Array[_0x2cbde2(0x1fa)](_0x2431da[_0x2cbde2(0x1b1)],_0x5524da=>_0x5524da['id']));for(const _0x1b7b0d of _0x2dce0a[_0x2cbde2(0x1b1)])_0x1b8521[_0x2cbde2(0x1f9)](_0x1b7b0d[_0x2cbde2(0x1f3)]);for(const _0x5d1edb of _0x1b8521)_0x2431da[_0x2cbde2(0x1dc)](_0x5d1edb)[_0x2cbde2(0x1e9)]({'isFromAdapter':!0x0});for(const _0x5b87b7 of _0x2dce0a[_0x2cbde2(0x1b1)]){const _0x11cba3=_0x2431da[_0x2cbde2(0x1dc)](_0x5b87b7[_0x2cbde2(0x1f3)]);_0x11cba3?_0x11cba3[_0x2cbde2(0x1fb)]!==_0x5b87b7[_0x2cbde2(0x1fb)]&&_0x11cba3[_0x2cbde2(0x205)]({'content':_0x5b87b7[_0x2cbde2(0x1fb)],'isFromAdapter':!0x0}):_0x2431da[_0x2cbde2(0x1d4)](Object[_0x2cbde2(0x1c1)](b(_0x5b87b7),{'isFromAdapter':!0x0}));}}}[_0x4dadab(0x1bc)](_0x1a2bc7){const _0x2c2060=_0x4dadab;if(!this[_0x2c2060(0x1ba)][_0x2c2060(0x1d7)](_0x1a2bc7))throw new _0x1c3130(_0x2c2060(0x1af),null,{'channelId':_0x1a2bc7});return this[_0x2c2060(0x1ba)][_0x2c2060(0x1ae)](_0x1a2bc7);}async[_0x4dadab(0x1de)](_0x42578d){const _0x5dda14=_0x4dadab,_0x4a8f3e=this[_0x5dda14(0x1d2)][_0x5dda14(0x1b2)][_0x5dda14(0x1ae)](_0x28a6f6),{connection:_0xef592f}=this[_0x5dda14(0x1d2)][_0x5dda14(0x1b2)][_0x5dda14(0x1ae)](_0x2d4f5f),_0x3b6c28=new Set();for(const {resolvedBy:_0x44828c,comments:_0x514f63}of _0x42578d){_0x44828c&&!_0x4a8f3e[_0x5dda14(0x1b4)](_0x44828c)&&_0x3b6c28[_0x5dda14(0x1da)](_0x44828c);for(const {userId:_0x19aa42}of _0x514f63)_0x4a8f3e[_0x5dda14(0x1b4)](_0x19aa42)||_0x3b6c28[_0x5dda14(0x1da)](_0x19aa42);}if(0x0===_0x3b6c28[_0x5dda14(0x209)])return;const _0x5ec3e5=await _0x2d82ca[_0x5dda14(0x206)](_0xef592f,Array[_0x5dda14(0x1fa)](_0x3b6c28));for(const _0x4e9db0 of _0x5ec3e5)_0x4a8f3e[_0x5dda14(0x1b4)](_0x4e9db0['id'])||_0x4a8f3e[_0x5dda14(0x1cc)](_0x4e9db0);}}a[_0x4dadab(0x1df)]=_0x1c847a;export default a;async function y(_0x4b9437){const _0x38a58d=_0x4dadab;if(_0x38a58d(0x1f7)!==_0x4b9437[_0x38a58d(0x207)])throw _0x4b9437;}function _0xbd8c(_0x5b39de,_0x56f21c){const _0x150c79=_0x150c();return _0xbd8c=function(_0xbd8c19,_0x34505b){_0xbd8c19=_0xbd8c19-0x1aa;let _0x234adf=_0x150c79[_0xbd8c19];return _0x234adf;},_0xbd8c(_0x5b39de,_0x56f21c);}function w(_0x30ac1f){const _0x54f85d=_0x4dadab;if((_0x1defc9=_0x30ac1f)[_0x54f85d(0x1ef)][_0x54f85d(0x1b6)](_0x54f85d(0x1b0))||_0x1defc9[_0x54f85d(0x1ef)][_0x54f85d(0x1b6)](_0x54f85d(0x200))||_0x1defc9[_0x54f85d(0x1ef)][_0x54f85d(0x1b6)](_0x54f85d(0x1ca)))return new Promise(()=>{});var _0x1defc9;throw _0x30ac1f;}function b(_0x99e5f9){const _0x4381c5=_0x4dadab;return{'threadId':_0x99e5f9[_0x4381c5(0x204)],'commentId':_0x99e5f9[_0x4381c5(0x1f3)],'content':_0x99e5f9[_0x4381c5(0x1fb)],'createdAt':_0x99e5f9[_0x4381c5(0x1dd)],'authorId':_0x99e5f9[_0x4381c5(0x1b3)],'attributes':_0x99e5f9[_0x4381c5(0x1f5)]||{}};}
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
|
|
23
|
+
const _0x3b92f7=_0x3f88;(function(_0x276a42,_0x378e8a){const _0x3d87d8=_0x3f88,_0x1760c2=_0x276a42();while(!![]){try{const _0x339e3f=parseInt(_0x3d87d8(0x124))/0x1*(parseInt(_0x3d87d8(0x127))/0x2)+-parseInt(_0x3d87d8(0x12b))/0x3+parseInt(_0x3d87d8(0x137))/0x4*(parseInt(_0x3d87d8(0x140))/0x5)+-parseInt(_0x3d87d8(0x13a))/0x6+parseInt(_0x3d87d8(0x12f))/0x7+parseInt(_0x3d87d8(0x141))/0x8*(-parseInt(_0x3d87d8(0x136))/0x9)+parseInt(_0x3d87d8(0x129))/0xa*(-parseInt(_0x3d87d8(0x138))/0xb);if(_0x339e3f===_0x378e8a)break;else _0x1760c2['push'](_0x1760c2['shift']());}catch(_0xc43eec){_0x1760c2['push'](_0x1760c2['shift']());}}}(_0x19a2,0x54ab7));function _0x3f88(_0x18c55e,_0x500fb7){const _0x19a22d=_0x19a2();return _0x3f88=function(_0x3f886c,_0x31b090){_0x3f886c=_0x3f886c-0x122;let _0x202842=_0x19a22d[_0x3f886c];return _0x202842;},_0x3f88(_0x18c55e,_0x500fb7);}import{Plugin as _0x2a371c}from'ckeditor5/src/core.js';function _0x19a2(){const _0x2c63c8=['plugins','10ShsKvV','change:state','1192884rUMbfp','collaboration.channelId','get','listenTo','3933685WVhcSX','switchReadOnly','pluginName','requires','CommentsRepository','init','_setUpService','9FapfUE','596qbKoLL','1087603ziRoYz','config','1710402zAFZAi','connected','destroy','_terminateService','isThreadsLoadingPaused','ready','9190ObAsRx','576680FwoEFg','CommentsEditing','editor','RealTimeCollaborativeComments','Comments','1TYinvd','data','once','729286nirpWX'];_0x19a2=function(){return _0x2c63c8;};return _0x19a2();}import _0x593ec1 from'./realtimecollaborativecomments/cloudservicescommentsadapter.js';import _0x32ee52 from'./realtimecollaborativeediting.js';import _0x3197a3 from'./realtimecollaborativeediting/websocketgateway.js';export default class m extends _0x2a371c{static get[_0x3b92f7(0x132)](){const _0x213a79=_0x3b92f7;return[_0x213a79(0x123),_0x593ec1,_0x32ee52,_0x3197a3];}static get[_0x3b92f7(0x131)](){const _0x35e581=_0x3b92f7;return _0x35e581(0x122);}[_0x3b92f7(0x134)](){const _0x34b6be=_0x3b92f7,_0x55b348=this[_0x34b6be(0x143)][_0x34b6be(0x128)][_0x34b6be(0x12d)](_0x3197a3),_0x5f5b27=this[_0x34b6be(0x143)][_0x34b6be(0x128)][_0x34b6be(0x12d)](_0x34b6be(0x142)),_0x5f2da7=this[_0x34b6be(0x143)][_0x34b6be(0x128)][_0x34b6be(0x12d)](_0x593ec1);return this[_0x34b6be(0x143)][_0x34b6be(0x125)][_0x34b6be(0x126)](_0x34b6be(0x13f),()=>{const _0x11ba44=_0x34b6be;this[_0x11ba44(0x12e)](_0x55b348,_0x11ba44(0x12a),(_0x381c04,_0x2d0547,_0x30b184)=>{const _0x36b2c2=_0x11ba44;_0x5f5b27[_0x36b2c2(0x13e)]=_0x36b2c2(0x13b)!==_0x30b184;});}),this[_0x34b6be(0x12e)](_0x55b348,_0x34b6be(0x12a),(_0x2e93cf,_0x3bfbfb,_0x514f51)=>{const _0x44d7f5=_0x34b6be;this[_0x44d7f5(0x143)][_0x44d7f5(0x128)][_0x44d7f5(0x12d)](_0x44d7f5(0x133))[_0x44d7f5(0x130)](_0x44d7f5(0x13b)!==_0x514f51);}),_0x5f2da7[_0x34b6be(0x135)](this[_0x34b6be(0x143)][_0x34b6be(0x139)][_0x34b6be(0x12d)](_0x34b6be(0x12c)));}[_0x3b92f7(0x13c)](){const _0x15ec9b=_0x3b92f7;this[_0x15ec9b(0x143)][_0x15ec9b(0x128)][_0x15ec9b(0x12d)](_0x593ec1)[_0x15ec9b(0x13d)](this[_0x15ec9b(0x143)][_0x15ec9b(0x139)][_0x15ec9b(0x12d)](_0x15ec9b(0x12c))),super[_0x15ec9b(0x13c)]();}}
|