@ckeditor/ckeditor5-revision-history 0.0.0-nightly-20250324.0 → 0.0.0-nightly-20250326.1
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/revision-history.js +1 -1
- package/dist/index-editor.css +8 -8
- package/dist/index.css +17 -17
- package/dist/index.js +6 -6
- package/dist/translations/af.js +1 -1
- package/dist/translations/af.umd.js +1 -1
- package/dist/translations/ar.js +1 -1
- package/dist/translations/ar.umd.js +1 -1
- package/dist/translations/ast.js +1 -1
- package/dist/translations/ast.umd.js +1 -1
- package/dist/translations/az.js +1 -1
- package/dist/translations/az.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/bs.js +1 -1
- package/dist/translations/bs.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-gb.js +1 -1
- package/dist/translations/en-gb.umd.js +1 -1
- package/dist/translations/en.js +1 -1
- package/dist/translations/en.umd.js +1 -1
- package/dist/translations/eo.js +1 -1
- package/dist/translations/eo.umd.js +1 -1
- package/dist/translations/es-co.js +1 -1
- package/dist/translations/es-co.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/eu.js +1 -1
- package/dist/translations/eu.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/gu.js +1 -1
- package/dist/translations/gu.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/hy.js +1 -1
- package/dist/translations/hy.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/jv.js +1 -1
- package/dist/translations/jv.umd.js +1 -1
- package/dist/translations/kk.js +1 -1
- package/dist/translations/kk.umd.js +1 -1
- package/dist/translations/km.js +1 -1
- package/dist/translations/km.umd.js +1 -1
- package/dist/translations/kn.js +1 -1
- package/dist/translations/kn.umd.js +1 -1
- package/dist/translations/ko.js +1 -1
- package/dist/translations/ko.umd.js +1 -1
- package/dist/translations/ku.js +1 -1
- package/dist/translations/ku.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/nb.js +1 -1
- package/dist/translations/nb.umd.js +1 -1
- package/dist/translations/ne.js +1 -1
- package/dist/translations/ne.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/oc.js +1 -1
- package/dist/translations/oc.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/si.js +1 -1
- package/dist/translations/si.umd.js +1 -1
- package/dist/translations/sk.js +1 -1
- package/dist/translations/sk.umd.js +1 -1
- package/dist/translations/sl.js +1 -1
- package/dist/translations/sl.umd.js +1 -1
- package/dist/translations/sq.js +1 -1
- package/dist/translations/sq.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/ti.js +1 -1
- package/dist/translations/ti.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/tt.js +1 -1
- package/dist/translations/tt.umd.js +1 -1
- package/dist/translations/ug.js +1 -1
- package/dist/translations/ug.umd.js +1 -1
- package/dist/translations/uk.js +1 -1
- package/dist/translations/uk.umd.js +1 -1
- package/dist/translations/ur.js +1 -1
- package/dist/translations/ur.umd.js +1 -1
- package/dist/translations/uz.js +1 -1
- package/dist/translations/uz.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 +11 -11
- package/src/augmentation.d.ts +2 -1
- package/src/changeitem.js +2 -2
- package/src/editor/revisionviewereditor.js +2 -2
- package/src/editor/revisionviewereditorui.js +1 -1
- package/src/editor/revisionviewereditoruiview.js +1 -1
- package/src/index.d.ts +2 -0
- package/src/index.js +1 -1
- package/src/revision.js +2 -2
- package/src/revisiondiff.js +1 -1
- package/src/revisionhistory.d.ts +6 -0
- package/src/revisionhistory.js +1 -1
- package/src/revisionhistoryconfig.d.ts +2 -2
- package/src/revisionhistoryutils.d.ts +64 -0
- package/src/revisionhistoryutils.js +23 -0
- package/src/revisionsrepository.js +1 -1
- package/src/revisiontracker.d.ts +13 -9
- package/src/revisiontracker.js +1 -1
- package/src/revisionviewer.d.ts +39 -5
- package/src/revisionviewer.js +1 -1
- package/src/ui/revision/createrevisionactionsdropdown.js +1 -1
- package/src/ui/revision/revisionauthorview.js +1 -1
- package/src/ui/revision/revisionnameview.js +1 -1
- package/src/ui/revision/revisionview.js +2 -2
- package/src/ui/revision/subrevisioncollapserview.js +1 -1
- package/src/ui/revision/subrevisionview.js +1 -1
- package/src/ui/revision/utils.js +1 -1
- package/src/ui/revisionhistory/revisionhistorysaverevisionformview.js +1 -1
- package/src/ui/revisionhistory/revisionhistoryui.js +1 -1
- package/src/ui/revisionssidebar/revisionssidebar.js +1 -1
- package/src/ui/revisionssidebar/revisionssidebarheaderview.js +1 -1
- package/src/ui/revisionssidebar/revisionssidebartimeperiodview.js +1 -1
- package/src/ui/revisionssidebar/revisionssidebarview.js +1 -1
- package/src/ui/revisionssidebar/utils.js +1 -1
- package/src/ui/revisionviewer/changedetailsview.js +1 -1
- package/src/ui/revisionviewer/changesnavigationview.js +1 -1
- package/src/ui/revisionviewer/revisionviewerloadingoverlay.js +1 -1
- package/src/ui/revisionviewer/revisionviewerui.js +1 -1
- package/src/utils/common-translations.js +1 -1
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
export default{'zh-cn':{'dictionary':{'Restored':'已恢复','Empty\x20document':'空文档','Initial\x20revision':'初始版本','Compare\x20against\x20selected':'对比选中的文字','Name\x20this\x20revision':'给此版本命名','Revision\x20creator':'版本创建者','Revision\x20author':'版本作者','Revision\x20name':'版本名称','Name\x20of\x20the\x20revision':'修订的名称','optional':'可选的','Save\x20current\x20revision':'保存当前版本','Open\x20revision\x20history':'打开版本历史','Revision\x20history':'版本历史','Suggested\x20by':'建议者','Added\x20by':'添加者','Removed\x20by':'移除者','Loading...':'加载中…','No\x20changes':'无变更','NUMBER_OF_CHANGES':'%0\x20处修改','X_OF_Y_CHANGES':'第\x20%0\x20步,共\x20%1\x20步','Show\x20previous\x20change':'显示上一个变更','Show\x20next\x20change':'显示下一个变更','Total':'总计','EDIT_X_OF_Y_REVISIONS':'编辑','Back\x20to\x20editing':'返回编辑','Restore\x20this\x20revision':'恢复至此版本','PENDING_ACTION_REVISION_HISTORY':'版本历史中有未保存的变更。','Enter\x20the\x20revision\x20name':'输入修订名称','The\x20revision\x20name\x20cannot\x20be\x20empty.':'修订版本名称不能为空。'},'getPluralForm':
|
|
23
|
+
export default{'zh-cn':{'dictionary':{'Restored':'已恢复','Empty\x20document':'空文档','Initial\x20revision':'初始版本','Compare\x20against\x20selected':'对比选中的文字','Name\x20this\x20revision':'给此版本命名','Revision\x20creator':'版本创建者','Revision\x20author':'版本作者','Revision\x20name':'版本名称','Name\x20of\x20the\x20revision':'修订的名称','optional':'可选的','Save\x20current\x20revision':'保存当前版本','Open\x20revision\x20history':'打开版本历史','Revision\x20history':'版本历史','Suggested\x20by':'建议者','Added\x20by':'添加者','Removed\x20by':'移除者','Loading...':'加载中…','No\x20changes':'无变更','NUMBER_OF_CHANGES':'%0\x20处修改','X_OF_Y_CHANGES':'第\x20%0\x20步,共\x20%1\x20步','Show\x20previous\x20change':'显示上一个变更','Show\x20next\x20change':'显示下一个变更','Total':'总计','EDIT_X_OF_Y_REVISIONS':'编辑','Back\x20to\x20editing':'返回编辑','Restore\x20this\x20revision':'恢复至此版本','PENDING_ACTION_REVISION_HISTORY':'版本历史中有未保存的变更。','Enter\x20the\x20revision\x20name':'输入修订名称','The\x20revision\x20name\x20cannot\x20be\x20empty.':'修订版本名称不能为空。'},'getPluralForm':_0x5b1de9=>0x0}};
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
(
|
|
23
|
+
(_0x82f1e4=>{const {'zh-cn':{dictionary:_0x108d3a,getPluralForm:_0x33efe3}}={'zh-cn':{'dictionary':{'Restored':'已恢复','Empty\x20document':'空文档','Initial\x20revision':'初始版本','Compare\x20against\x20selected':'对比选中的文字','Name\x20this\x20revision':'给此版本命名','Revision\x20creator':'版本创建者','Revision\x20author':'版本作者','Revision\x20name':'版本名称','Name\x20of\x20the\x20revision':'修订的名称','optional':'可选的','Save\x20current\x20revision':'保存当前版本','Open\x20revision\x20history':'打开版本历史','Revision\x20history':'版本历史','Suggested\x20by':'建议者','Added\x20by':'添加者','Removed\x20by':'移除者','Loading...':'加载中…','No\x20changes':'无变更','NUMBER_OF_CHANGES':'%0\x20处修改','X_OF_Y_CHANGES':'第\x20%0\x20步,共\x20%1\x20步','Show\x20previous\x20change':'显示上一个变更','Show\x20next\x20change':'显示下一个变更','Total':'总计','EDIT_X_OF_Y_REVISIONS':'编辑','Back\x20to\x20editing':'返回编辑','Restore\x20this\x20revision':'恢复至此版本','PENDING_ACTION_REVISION_HISTORY':'版本历史中有未保存的变更。','Enter\x20the\x20revision\x20name':'输入修订名称','The\x20revision\x20name\x20cannot\x20be\x20empty.':'修订版本名称不能为空。'},'getPluralForm':_0x2fb8ee=>0x0}};_0x82f1e4['zh-cn']||={'dictionary':{},'getPluralForm':null},_0x82f1e4['zh-cn']['dictionary']=Object['assign'](_0x82f1e4['zh-cn']['dictionary'],_0x108d3a),_0x82f1e4['zh-cn']['getPluralForm']=_0x33efe3;})(window['CKEDITOR_TRANSLATIONS']||={});
|
package/dist/translations/zh.js
CHANGED
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
export default{'zh':{'dictionary':{'Restored':'已復原','Empty\x20document':'空文件','Initial\x20revision':'初始修訂','Compare\x20against\x20selected':'與所選作比較','Name\x20this\x20revision':'命名此修訂','Revision\x20creator':'修訂建立者','Revision\x20author':'修訂作者','Revision\x20name':'修訂名稱','Name\x20of\x20the\x20revision':'修訂名稱','optional':'選擇性','Save\x20current\x20revision':'儲存目前的修訂','Open\x20revision\x20history':'開啟修訂記錄','Revision\x20history':'修訂記錄','Suggested\x20by':'建議者','Added\x20by':'新增者','Removed\x20by':'刪除者','Loading...':'載入中……','No\x20changes':'無變更','NUMBER_OF_CHANGES':'%0\x20變更','X_OF_Y_CHANGES':'%0/%1','Show\x20previous\x20change':'顯示上個變更','Show\x20next\x20change':'顯示下個變更','Total':'總計','EDIT_X_OF_Y_REVISIONS':'編輯','Back\x20to\x20editing':'返回至編輯','Restore\x20this\x20revision':'還原此修訂','PENDING_ACTION_REVISION_HISTORY':'修訂記錄中未儲存的變更','Enter\x20the\x20revision\x20name':'輸入修訂名稱','The\x20revision\x20name\x20cannot\x20be\x20empty.':'修訂名稱不可為空白。'},'getPluralForm':
|
|
23
|
+
export default{'zh':{'dictionary':{'Restored':'已復原','Empty\x20document':'空文件','Initial\x20revision':'初始修訂','Compare\x20against\x20selected':'與所選作比較','Name\x20this\x20revision':'命名此修訂','Revision\x20creator':'修訂建立者','Revision\x20author':'修訂作者','Revision\x20name':'修訂名稱','Name\x20of\x20the\x20revision':'修訂名稱','optional':'選擇性','Save\x20current\x20revision':'儲存目前的修訂','Open\x20revision\x20history':'開啟修訂記錄','Revision\x20history':'修訂記錄','Suggested\x20by':'建議者','Added\x20by':'新增者','Removed\x20by':'刪除者','Loading...':'載入中……','No\x20changes':'無變更','NUMBER_OF_CHANGES':'%0\x20變更','X_OF_Y_CHANGES':'%0/%1','Show\x20previous\x20change':'顯示上個變更','Show\x20next\x20change':'顯示下個變更','Total':'總計','EDIT_X_OF_Y_REVISIONS':'編輯','Back\x20to\x20editing':'返回至編輯','Restore\x20this\x20revision':'還原此修訂','PENDING_ACTION_REVISION_HISTORY':'修訂記錄中未儲存的變更','Enter\x20the\x20revision\x20name':'輸入修訂名稱','The\x20revision\x20name\x20cannot\x20be\x20empty.':'修訂名稱不可為空白。'},'getPluralForm':_0x24e3a5=>0x0}};
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
(
|
|
23
|
+
(_0x3a6e9d=>{const {zh:{dictionary:_0x567977,getPluralForm:_0x412224}}={'zh':{'dictionary':{'Restored':'已復原','Empty\x20document':'空文件','Initial\x20revision':'初始修訂','Compare\x20against\x20selected':'與所選作比較','Name\x20this\x20revision':'命名此修訂','Revision\x20creator':'修訂建立者','Revision\x20author':'修訂作者','Revision\x20name':'修訂名稱','Name\x20of\x20the\x20revision':'修訂名稱','optional':'選擇性','Save\x20current\x20revision':'儲存目前的修訂','Open\x20revision\x20history':'開啟修訂記錄','Revision\x20history':'修訂記錄','Suggested\x20by':'建議者','Added\x20by':'新增者','Removed\x20by':'刪除者','Loading...':'載入中……','No\x20changes':'無變更','NUMBER_OF_CHANGES':'%0\x20變更','X_OF_Y_CHANGES':'%0/%1','Show\x20previous\x20change':'顯示上個變更','Show\x20next\x20change':'顯示下個變更','Total':'總計','EDIT_X_OF_Y_REVISIONS':'編輯','Back\x20to\x20editing':'返回至編輯','Restore\x20this\x20revision':'還原此修訂','PENDING_ACTION_REVISION_HISTORY':'修訂記錄中未儲存的變更','Enter\x20the\x20revision\x20name':'輸入修訂名稱','The\x20revision\x20name\x20cannot\x20be\x20empty.':'修訂名稱不可為空白。'},'getPluralForm':_0x3bbd0d=>0x0}};_0x3a6e9d['zh']||={'dictionary':{},'getPluralForm':null},_0x3a6e9d['zh']['dictionary']=Object['assign'](_0x3a6e9d['zh']['dictionary'],_0x567977),_0x3a6e9d['zh']['getPluralForm']=_0x412224;})(window['CKEDITOR_TRANSLATIONS']||={});
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@ckeditor/ckeditor5-revision-history",
|
|
3
|
-
"version": "0.0.0-nightly-
|
|
3
|
+
"version": "0.0.0-nightly-20250326.1",
|
|
4
4
|
"description": "Document revision history feature for CKEditor 5.",
|
|
5
5
|
"license": "SEE LICENSE IN LICENSE.md",
|
|
6
6
|
"author": "CKSource (http://cksource.com/)",
|
|
@@ -39,17 +39,17 @@
|
|
|
39
39
|
"CHANGELOG.md"
|
|
40
40
|
],
|
|
41
41
|
"dependencies": {
|
|
42
|
-
"@ckeditor/ckeditor5-autosave": "0.0.0-nightly-
|
|
43
|
-
"@ckeditor/ckeditor5-comments": "0.0.0-nightly-
|
|
44
|
-
"@ckeditor/ckeditor5-core": "0.0.0-nightly-
|
|
45
|
-
"@ckeditor/ckeditor5-editor-classic": "0.0.0-nightly-
|
|
46
|
-
"@ckeditor/ckeditor5-engine": "0.0.0-nightly-
|
|
47
|
-
"@ckeditor/ckeditor5-icons": "0.0.0-nightly-
|
|
48
|
-
"@ckeditor/ckeditor5-ui": "0.0.0-nightly-
|
|
49
|
-
"@ckeditor/ckeditor5-utils": "0.0.0-nightly-
|
|
42
|
+
"@ckeditor/ckeditor5-autosave": "0.0.0-nightly-20250326.1",
|
|
43
|
+
"@ckeditor/ckeditor5-comments": "0.0.0-nightly-20250326.1",
|
|
44
|
+
"@ckeditor/ckeditor5-core": "0.0.0-nightly-20250326.1",
|
|
45
|
+
"@ckeditor/ckeditor5-editor-classic": "0.0.0-nightly-20250326.1",
|
|
46
|
+
"@ckeditor/ckeditor5-engine": "0.0.0-nightly-20250326.1",
|
|
47
|
+
"@ckeditor/ckeditor5-icons": "0.0.0-nightly-20250326.1",
|
|
48
|
+
"@ckeditor/ckeditor5-ui": "0.0.0-nightly-20250326.1",
|
|
49
|
+
"@ckeditor/ckeditor5-utils": "0.0.0-nightly-20250326.1",
|
|
50
50
|
"@types/luxon": "3.4.2",
|
|
51
|
-
"ckeditor5": "0.0.0-nightly-
|
|
52
|
-
"ckeditor5-collaboration": "0.0.0-nightly-
|
|
51
|
+
"ckeditor5": "0.0.0-nightly-20250326.1",
|
|
52
|
+
"ckeditor5-collaboration": "0.0.0-nightly-20250326.1",
|
|
53
53
|
"es-toolkit": "1.32.0",
|
|
54
54
|
"luxon": "3.5.0"
|
|
55
55
|
},
|
package/src/augmentation.d.ts
CHANGED
|
@@ -2,7 +2,7 @@
|
|
|
2
2
|
* @license Copyright (c) 2003-2025, CKSource Holding sp. z o.o. All rights reserved.
|
|
3
3
|
* For licensing, see LICENSE.md or https://ckeditor.com/legal/ckeditor-licensing-options
|
|
4
4
|
*/
|
|
5
|
-
import type { RevisionHistory, RevisionHistoryConfig, RevisionsRepository, RevisionViewerLoadingOverlay, RevisionHistoryUI, RevisionTracker, RevisionViewer, RestoreRevisionCommand, ShowChangeCommand, RevisionsSidebar, RevisionViewerUI } from './index.js';
|
|
5
|
+
import type { RevisionHistory, RevisionHistoryConfig, RevisionsRepository, RevisionHistoryUtils, RevisionViewerLoadingOverlay, RevisionHistoryUI, RevisionTracker, RevisionViewer, RestoreRevisionCommand, ShowChangeCommand, RevisionsSidebar, RevisionViewerUI } from './index.js';
|
|
6
6
|
declare module '@ckeditor/ckeditor5-core' {
|
|
7
7
|
interface EditorConfig {
|
|
8
8
|
/**
|
|
@@ -14,6 +14,7 @@ declare module '@ckeditor/ckeditor5-core' {
|
|
|
14
14
|
interface PluginsMap {
|
|
15
15
|
[RevisionHistory.pluginName]: RevisionHistory;
|
|
16
16
|
[RevisionsRepository.pluginName]: RevisionsRepository;
|
|
17
|
+
[RevisionHistoryUtils.pluginName]: RevisionHistoryUtils;
|
|
17
18
|
[RevisionViewerLoadingOverlay.pluginName]: RevisionViewerLoadingOverlay;
|
|
18
19
|
[RevisionHistoryUI.pluginName]: RevisionHistoryUI;
|
|
19
20
|
[RevisionTracker.pluginName]: RevisionTracker;
|
package/src/changeitem.js
CHANGED
|
@@ -20,5 +20,5 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
var
|
|
24
|
-
|
|
23
|
+
var _0xcd0783=_0x3504;(function(_0x182d94,_0x5bea26){var _0x8e8ff3=_0x3504,_0x34cb48=_0x182d94();while(!![]){try{var _0x38e96d=-parseInt(_0x8e8ff3(0x156))/0x1*(parseInt(_0x8e8ff3(0x150))/0x2)+parseInt(_0x8e8ff3(0x155))/0x3+parseInt(_0x8e8ff3(0x14b))/0x4+parseInt(_0x8e8ff3(0x149))/0x5*(parseInt(_0x8e8ff3(0x14f))/0x6)+parseInt(_0x8e8ff3(0x14c))/0x7*(parseInt(_0x8e8ff3(0x14e))/0x8)+parseInt(_0x8e8ff3(0x14a))/0x9+parseInt(_0x8e8ff3(0x14d))/0xa*(-parseInt(_0x8e8ff3(0x147))/0xb);if(_0x38e96d===_0x5bea26)break;else _0x34cb48['push'](_0x34cb48['shift']());}catch(_0x2b1ac6){_0x34cb48['push'](_0x34cb48['shift']());}}}(_0x3a38,0x6a85f));import{ObservableMixin as _0x399ffe,uid as _0x1238c2}from'ckeditor5/src/utils.js';function _0x3a38(){var _0x31ba52=['1381524SPtYXI','12705gWpmHE','5545270uDENek','1168SDnVdB','420870ielWmd','14RsmKrU','createdAt','set','toJSON','author','120210DSsWTU','52179Jxieql','type','rootName','11xlGDjt','data','10EDQBLx','5088312qsZOhH'];_0x3a38=function(){return _0x31ba52;};return _0x3a38();}function _0x3504(_0x3701e1,_0x69e5db){var _0x3a3893=_0x3a38();return _0x3504=function(_0x3504a3,_0x543138){_0x3504a3=_0x3504a3-0x145;var _0x2c6bdd=_0x3a3893[_0x3504a3];return _0x2c6bdd;},_0x3504(_0x3701e1,_0x69e5db);}export default class r extends/* #__PURE__ -- @preserve */
|
|
24
|
+
_0x399ffe(){['id'];[_0xcd0783(0x154)];[_0xcd0783(0x145)];[_0xcd0783(0x148)];[_0xcd0783(0x146)];constructor(_0x34a6bc){var _0x554f61=_0xcd0783;super(),this['id']=_0x34a6bc['id']||_0x1238c2(),this[_0x554f61(0x154)]=_0x34a6bc[_0x554f61(0x154)],this[_0x554f61(0x145)]=_0x34a6bc[_0x554f61(0x145)],this[_0x554f61(0x148)]=_0x34a6bc[_0x554f61(0x148)]||{},this[_0x554f61(0x146)]=_0x34a6bc[_0x554f61(0x146)],this[_0x554f61(0x152)](_0x554f61(0x151),_0x34a6bc[_0x554f61(0x151)]);}[_0xcd0783(0x153)](){var _0x1b5a24=_0xcd0783;return{'id':this['id'],'authorId':this[_0x1b5a24(0x154)]['id'],'type':this[_0x1b5a24(0x145)],'data':this[_0x1b5a24(0x148)],'createdAt':this[_0x1b5a24(0x151)]};}}
|
|
@@ -20,5 +20,5 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
|
|
24
|
-
|
|
23
|
+
function _0x50a6(_0x2d7f4e,_0x36bdba){const _0x51d8f3=_0x51d8();return _0x50a6=function(_0x50a60d,_0x47c4ab){_0x50a60d=_0x50a60d-0x156;let _0x21ecfc=_0x51d8f3[_0x50a60d];return _0x21ecfc;},_0x50a6(_0x2d7f4e,_0x36bdba);}const _0x461492=_0x50a6;(function(_0x1591b7,_0x27ec11){const _0x854590=_0x50a6,_0x144ba1=_0x1591b7();while(!![]){try{const _0x1c3442=parseInt(_0x854590(0x16f))/0x1*(parseInt(_0x854590(0x162))/0x2)+-parseInt(_0x854590(0x16d))/0x3*(parseInt(_0x854590(0x161))/0x4)+-parseInt(_0x854590(0x15f))/0x5*(parseInt(_0x854590(0x167))/0x6)+-parseInt(_0x854590(0x15c))/0x7+-parseInt(_0x854590(0x164))/0x8*(-parseInt(_0x854590(0x173))/0x9)+-parseInt(_0x854590(0x165))/0xa+parseInt(_0x854590(0x16a))/0xb*(parseInt(_0x854590(0x172))/0xc);if(_0x1c3442===_0x27ec11)break;else _0x144ba1['push'](_0x144ba1['shift']());}catch(_0x50a776){_0x144ba1['push'](_0x144ba1['shift']());}}}(_0x51d8,0x3a885));import{Editor as _0x3ffebd,ElementApiMixin as _0x189da1}from'ckeditor5/src/core.js';import _0x3a7818 from'./revisionviewereditorui.js';function _0x51d8(){const _0x58c60e=['24fpVrIK','529040zhtCzU','config','723702afwxRi','initialData','_ui','38885czAVfI','view','fire','202323fEtCUu','document','155056FMyQYn','createRoot','destroy','2076LJuwZs','509049EMlTRa','editing','data','updateSourceElement','locale','sourceElement','init','create','2244907EDQIVj','model','initPlugins','5OiqwOv','get','12YPswCv','2LdMHua','ready'];_0x51d8=function(){return _0x58c60e;};return _0x51d8();}import _0x18215b from'./revisionviewereditoruiview.js';export default class w extends/* #__PURE__ -- @preserve */
|
|
24
|
+
_0x189da1(_0x3ffebd){[_0x461492(0x169)];get['ui'](){const _0x1da45b=_0x461492;return this[_0x1da45b(0x169)];}constructor(_0x4690ae,_0x12cbdf){const _0x2ffdcb=_0x461492;super(_0x12cbdf),this[_0x2ffdcb(0x159)]=_0x4690ae,this[_0x2ffdcb(0x15d)][_0x2ffdcb(0x16e)][_0x2ffdcb(0x170)]();const _0xb917e5=new _0x18215b(this[_0x2ffdcb(0x158)],this[_0x2ffdcb(0x174)][_0x2ffdcb(0x16b)],{'shouldToolbarGroupWhenFull':!0x0});this[_0x2ffdcb(0x169)]=new _0x3a7818(this,_0xb917e5);}[_0x461492(0x171)](){const _0x315a21=_0x461492;return this[_0x315a21(0x157)](),this['ui'][_0x315a21(0x171)](),super[_0x315a21(0x171)]();}static async[_0x461492(0x15b)](_0x458d62,_0x3565c0){const _0x24ef30=_0x461492,_0x2c3822=new this(_0x458d62,_0x3565c0);return await _0x2c3822[_0x24ef30(0x15e)](),await _0x2c3822['ui'][_0x24ef30(0x15a)](_0x458d62),await _0x2c3822[_0x24ef30(0x156)][_0x24ef30(0x15a)](_0x2c3822[_0x24ef30(0x166)][_0x24ef30(0x160)](_0x24ef30(0x168))||''),_0x2c3822[_0x24ef30(0x16c)](_0x24ef30(0x163)),_0x2c3822;}}
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
const
|
|
23
|
+
const _0x3aa94b=_0x3785;(function(_0x2da5e6,_0x28e4ae){const _0x37eb80=_0x3785,_0x1b8767=_0x2da5e6();while(!![]){try{const _0x514666=-parseInt(_0x37eb80(0x119))/0x1+-parseInt(_0x37eb80(0x118))/0x2*(parseInt(_0x37eb80(0x133))/0x3)+-parseInt(_0x37eb80(0x131))/0x4+-parseInt(_0x37eb80(0x137))/0x5+-parseInt(_0x37eb80(0x11f))/0x6*(-parseInt(_0x37eb80(0x134))/0x7)+parseInt(_0x37eb80(0x12a))/0x8*(parseInt(_0x37eb80(0x136))/0x9)+-parseInt(_0x37eb80(0x125))/0xa*(-parseInt(_0x37eb80(0x117))/0xb);if(_0x514666===_0x28e4ae)break;else _0x1b8767['push'](_0x1b8767['shift']());}catch(_0x2628ec){_0x1b8767['push'](_0x1b8767['shift']());}}}(_0x3b47,0xa4050));function _0x3b47(){const _0x53502e=['1400267YaepaA','9778DliRmJ','1203858EYsfAv','viewportTopOffset','rootName','editable','replace','_toolbarConfig','7716KhtOZB','_elementReplacer','get','addToolbar','destroy','detachDomRoot','130psuCkn','viewportOffset','attachDomRoot','restore','isActive','2384unBADD','focusTracker','ready','getRoot','init','config','stickyPanel','1370360IFvjsP','bind','42OHTfdO','4501kQpujG','_initToolbar','7056rTWWrl','2143365CyIBFz','fire','fillFromConfig','document','view','toolbar','element','render','name','componentFactory','setEditableElement','limiterElement','isFocused','_view','editing','editor'];_0x3b47=function(){return _0x53502e;};return _0x3b47();}import{EditorUI as _0x3a5c1e,normalizeToolbarConfig as _0x403d59}from'ckeditor5/src/ui.js';import{ElementReplacer as _0x4ca1b0}from'ckeditor5/src/utils.js';function _0x3785(_0xa39693,_0x263ed8){const _0x3b47fe=_0x3b47();return _0x3785=function(_0x378541,_0x2bd183){_0x378541=_0x378541-0x10f;let _0x904deb=_0x3b47fe[_0x378541];return _0x904deb;},_0x3785(_0xa39693,_0x263ed8);}export default class tt extends _0x3a5c1e{[_0x3aa94b(0x114)];[_0x3aa94b(0x11e)];[_0x3aa94b(0x120)];get[_0x3aa94b(0x13b)](){const _0x17404e=_0x3aa94b;return this[_0x17404e(0x114)];}constructor(_0x1bcca3,_0x375373){const _0x459ec0=_0x3aa94b;super(_0x1bcca3),this[_0x459ec0(0x114)]=_0x375373,this[_0x459ec0(0x11e)]=_0x403d59(_0x1bcca3[_0x459ec0(0x12f)][_0x459ec0(0x121)](_0x459ec0(0x13c))),this[_0x459ec0(0x120)]=new _0x4ca1b0();}get[_0x3aa94b(0x13d)](){const _0x190242=_0x3aa94b;return this[_0x190242(0x13b)][_0x190242(0x13d)];}[_0x3aa94b(0x12e)](_0x1164df){const _0x10f1d1=_0x3aa94b,_0x20f9d4=this[_0x10f1d1(0x116)],_0x292a9c=this[_0x10f1d1(0x13b)],_0x100749=_0x20f9d4[_0x10f1d1(0x115)][_0x10f1d1(0x13b)],_0x4d9eda=_0x292a9c[_0x10f1d1(0x11c)],_0x2ccddc=_0x100749[_0x10f1d1(0x13a)][_0x10f1d1(0x12d)]();_0x4d9eda[_0x10f1d1(0x10f)]=_0x2ccddc[_0x10f1d1(0x11b)],_0x292a9c[_0x10f1d1(0x13e)]();const _0x230765=_0x4d9eda[_0x10f1d1(0x13d)];this[_0x10f1d1(0x111)](_0x4d9eda[_0x10f1d1(0x10f)],_0x230765),_0x292a9c[_0x10f1d1(0x11c)][_0x10f1d1(0x132)](_0x10f1d1(0x113))['to'](this[_0x10f1d1(0x12b)]),_0x100749[_0x10f1d1(0x127)](_0x230765),this[_0x10f1d1(0x120)][_0x10f1d1(0x11d)](_0x1164df,this[_0x10f1d1(0x13d)]),this[_0x10f1d1(0x135)](),this[_0x10f1d1(0x138)](_0x10f1d1(0x12c));}[_0x3aa94b(0x123)](){const _0x97fee7=_0x3aa94b;super[_0x97fee7(0x123)]();const _0x2f0890=this[_0x97fee7(0x13b)],_0x577f90=this[_0x97fee7(0x116)][_0x97fee7(0x115)][_0x97fee7(0x13b)];this[_0x97fee7(0x120)][_0x97fee7(0x128)](),_0x577f90[_0x97fee7(0x124)](_0x2f0890[_0x97fee7(0x11c)][_0x97fee7(0x10f)]),_0x2f0890[_0x97fee7(0x123)]();}[_0x3aa94b(0x135)](){const _0x13ce2a=_0x3aa94b,_0x5ec018=this[_0x13ce2a(0x13b)];_0x5ec018[_0x13ce2a(0x130)][_0x13ce2a(0x132)](_0x13ce2a(0x129))['to'](this[_0x13ce2a(0x12b)],_0x13ce2a(0x113)),_0x5ec018[_0x13ce2a(0x130)][_0x13ce2a(0x112)]=_0x5ec018[_0x13ce2a(0x13d)],_0x5ec018[_0x13ce2a(0x130)][_0x13ce2a(0x132)](_0x13ce2a(0x11a))['to'](this,_0x13ce2a(0x126),({top:_0x594047})=>_0x594047),_0x5ec018[_0x13ce2a(0x13c)][_0x13ce2a(0x139)](this[_0x13ce2a(0x11e)],this[_0x13ce2a(0x110)]),this[_0x13ce2a(0x122)](_0x5ec018[_0x13ce2a(0x13c)]);}}
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
function
|
|
23
|
+
function _0x334d(_0x1cda34,_0x225459){var _0x3144f1=_0x3144();return _0x334d=function(_0x334d1f,_0x4fca0f){_0x334d1f=_0x334d1f-0xfc;var _0x24a3cd=_0x3144f1[_0x334d1f];return _0x24a3cd;},_0x334d(_0x1cda34,_0x225459);}function _0x3144(){var _0x2cf849=['22FPVFcK','2hRFMtd','toolbar','6338076KPPzpR','render','editable','7503350yuFUfI','717407XqigKy','2479778mnUxNP','9HizRIS','shouldToolbarGroupWhenFull','3xcAMhX','top','main','1980584KtmFnM','384762uyPMHm','_editable','35nWRVSK','stickyPanel','add','content','2497240ImCpnI'];_0x3144=function(){return _0x2cf849;};return _0x3144();}var _0x148727=_0x334d;(function(_0x3c195d,_0x804f34){var _0x526d62=_0x334d,_0x579c6a=_0x3c195d();while(!![]){try{var _0x36fdcd=parseInt(_0x526d62(0xfc))/0x1*(-parseInt(_0x526d62(0x10c))/0x2)+parseInt(_0x526d62(0x100))/0x3*(-parseInt(_0x526d62(0x103))/0x4)+parseInt(_0x526d62(0x106))/0x5*(parseInt(_0x526d62(0x104))/0x6)+-parseInt(_0x526d62(0xfd))/0x7+-parseInt(_0x526d62(0x10a))/0x8+parseInt(_0x526d62(0xfe))/0x9*(parseInt(_0x526d62(0x111))/0xa)+-parseInt(_0x526d62(0x10b))/0xb*(-parseInt(_0x526d62(0x10e))/0xc);if(_0x36fdcd===_0x804f34)break;else _0x579c6a['push'](_0x579c6a['shift']());}catch(_0x2c29ff){_0x579c6a['push'](_0x579c6a['shift']());}}}(_0x3144,0x5bf20));import{BoxedEditorUIView as _0x226be9,InlineEditableUIView as _0x382b1d,StickyPanelView as _0x4a1ee5,ToolbarView as _0x380c25}from'ckeditor5/src/ui.js';import'@ckeditor/ckeditor5-editor-classic/theme/classiceditor.css';export default class it extends _0x226be9{[_0x148727(0x105)];[_0x148727(0x107)];[_0x148727(0x10d)];get[_0x148727(0x110)](){var _0x46d348=_0x148727;return this[_0x46d348(0x105)];}constructor(_0x7195ad,_0x3d8f2d,_0x184c68={}){var _0x325786=_0x148727;super(_0x7195ad),this[_0x325786(0x107)]=new _0x4a1ee5(_0x7195ad),this[_0x325786(0x10d)]=new _0x380c25(_0x7195ad,{'shouldGroupWhenFull':_0x184c68[_0x325786(0xff)]}),this[_0x325786(0x105)]=new _0x382b1d(_0x7195ad,_0x3d8f2d);}[_0x148727(0x10f)](){var _0x5d892d=_0x148727;super[_0x5d892d(0x10f)](),this[_0x5d892d(0x107)][_0x5d892d(0x109)][_0x5d892d(0x108)](this[_0x5d892d(0x10d)]),this[_0x5d892d(0x101)][_0x5d892d(0x108)](this[_0x5d892d(0x107)]),this[_0x5d892d(0x102)][_0x5d892d(0x108)](this[_0x5d892d(0x110)]);}}
|
package/src/index.d.ts
CHANGED
|
@@ -5,12 +5,14 @@
|
|
|
5
5
|
export { default as Revision } from './revision.js';
|
|
6
6
|
export { default as RevisionHistory } from './revisionhistory.js';
|
|
7
7
|
export { default as RevisionsRepository } from './revisionsrepository.js';
|
|
8
|
+
export { default as RevisionHistoryUtils } from './revisionhistoryutils.js';
|
|
8
9
|
export { default as RevisionViewerLoadingOverlay } from './ui/revisionviewer/revisionviewerloadingoverlay.js';
|
|
9
10
|
export { default as RevisionHistoryUI } from './ui/revisionhistory/revisionhistoryui.js';
|
|
10
11
|
export { default as RevisionTracker } from './revisiontracker.js';
|
|
11
12
|
export { default as RevisionViewer, type RestoreRevisionCommand, type ShowChangeCommand } from './revisionviewer.js';
|
|
12
13
|
export { default as RevisionsSidebar } from './ui/revisionssidebar/revisionssidebar.js';
|
|
13
14
|
export { default as RevisionViewerUI } from './ui/revisionviewer/revisionviewerui.js';
|
|
15
|
+
export { default as RevisionViewerEditor } from './editor/revisionviewereditor.js';
|
|
14
16
|
export type { RevisionData } from './revision.js';
|
|
15
17
|
export type { RevisionHistoryConfig } from './revisionhistoryconfig.js';
|
|
16
18
|
import './augmentation.js';
|
package/src/index.js
CHANGED
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
(function(
|
|
23
|
+
(function(_0xd9628e,_0x56f06c){var _0x3b00aa=_0xba64,_0x370c45=_0xd9628e();while(!![]){try{var _0x288df8=-parseInt(_0x3b00aa(0x1c3))/0x1+parseInt(_0x3b00aa(0x1c4))/0x2*(parseInt(_0x3b00aa(0x1c8))/0x3)+-parseInt(_0x3b00aa(0x1cb))/0x4*(-parseInt(_0x3b00aa(0x1c6))/0x5)+parseInt(_0x3b00aa(0x1c2))/0x6*(parseInt(_0x3b00aa(0x1c0))/0x7)+-parseInt(_0x3b00aa(0x1ca))/0x8*(parseInt(_0x3b00aa(0x1c1))/0x9)+-parseInt(_0x3b00aa(0x1c7))/0xa+parseInt(_0x3b00aa(0x1c9))/0xb*(parseInt(_0x3b00aa(0x1c5))/0xc);if(_0x288df8===_0x56f06c)break;else _0x370c45['push'](_0x370c45['shift']());}catch(_0x2a1d6e){_0x370c45['push'](_0x370c45['shift']());}}}(_0x52aa,0x280bc));export{default as Revision}from'./revision.js';function _0xba64(_0x1666d7,_0x126499){var _0x52aa55=_0x52aa();return _0xba64=function(_0xba6428,_0x2d98e6){_0xba6428=_0xba6428-0x1c0;var _0x154383=_0x52aa55[_0xba6428];return _0x154383;},_0xba64(_0x1666d7,_0x126499);}export{default as RevisionHistory}from'./revisionhistory.js';export{default as RevisionsRepository}from'./revisionsrepository.js';export{default as RevisionHistoryUtils}from'./revisionhistoryutils.js';export{default as RevisionViewerLoadingOverlay}from'./ui/revisionviewer/revisionviewerloadingoverlay.js';function _0x52aa(){var _0x2e4295=['9aMIwrD','6FUcmJd','27909NYuArW','184cFMove','1435356uLPwua','718165SgTvEV','629590GITNco','1491kNIQbW','11EoOtms','1036280HaisuS','4AzjjJR','528227ZESHcN'];_0x52aa=function(){return _0x2e4295;};return _0x52aa();}export{default as RevisionHistoryUI}from'./ui/revisionhistory/revisionhistoryui.js';export{default as RevisionTracker}from'./revisiontracker.js';export{default as RevisionViewer}from'./revisionviewer.js';export{default as RevisionsSidebar}from'./ui/revisionssidebar/revisionssidebar.js';export{default as RevisionViewerUI}from'./ui/revisionviewer/revisionviewerui.js';export{default as RevisionViewerEditor}from'./editor/revisionviewereditor.js';import'./augmentation.js';
|
package/src/revision.js
CHANGED
|
@@ -20,5 +20,5 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
function
|
|
24
|
-
|
|
23
|
+
function _0x160c(){const _0x1e8af7=['createdAt','attributes','8272229nSvrwc','10408866gCeBqU','11816688oPSneO','creator','fromVersion','authors','_update','822962pdioaF','8vTiqLZ','authorsIds','creatorId','2887407TUCoBA','set','name','1759390yLXlNs','setName','removeAttribute','diffData','toVersion','toJSON','fire','map','setAttribute','model','1225935eEIWsY'];_0x160c=function(){return _0x1e8af7;};return _0x160c();}function _0x2984(_0x1fa4bd,_0x291f3c){const _0x160ca6=_0x160c();return _0x2984=function(_0x2984af,_0x17b222){_0x2984af=_0x2984af-0x121;let _0x16082c=_0x160ca6[_0x2984af];return _0x16082c;},_0x2984(_0x1fa4bd,_0x291f3c);}const _0x16a50e=_0x2984;(function(_0x112849,_0x37e69d){const _0x30ae0d=_0x2984,_0x1fa0ff=_0x112849();while(!![]){try{const _0x2e5e5c=-parseInt(_0x30ae0d(0x12f))/0x1+-parseInt(_0x30ae0d(0x139))/0x2+parseInt(_0x30ae0d(0x122))/0x3+-parseInt(_0x30ae0d(0x13a))/0x4*(-parseInt(_0x30ae0d(0x125))/0x5)+-parseInt(_0x30ae0d(0x133))/0x6+parseInt(_0x30ae0d(0x132))/0x7+parseInt(_0x30ae0d(0x134))/0x8;if(_0x2e5e5c===_0x37e69d)break;else _0x1fa0ff['push'](_0x1fa0ff['shift']());}catch(_0x58fe65){_0x1fa0ff['push'](_0x1fa0ff['shift']());}}}(_0x160c,0xe89ff));import{ObservableMixin as _0x31d628,uid as _0x17db4c}from'ckeditor5/src/utils.js';import{cloneDeep as _0x4b8522,set as _0x5bed89,unset as _0x3a955a}from'es-toolkit/compat';export default class h extends/* #__PURE__ -- @preserve */
|
|
24
|
+
_0x31d628(){['id'];[_0x16a50e(0x135)];[_0x16a50e(0x137)];[_0x16a50e(0x128)];[_0x16a50e(0x129)];[_0x16a50e(0x136)];[_0x16a50e(0x12e)];constructor(_0x1d054a){const _0x15d40c=_0x16a50e;super(),this['id']=_0x1d054a['id']||_0x17db4c(),this[_0x15d40c(0x135)]=_0x1d054a[_0x15d40c(0x135)]||null,this[_0x15d40c(0x137)]=_0x1d054a[_0x15d40c(0x137)]||[],this[_0x15d40c(0x128)]=_0x1d054a[_0x15d40c(0x128)]||null,this[_0x15d40c(0x129)]=_0x1d054a[_0x15d40c(0x129)]||0x0,this[_0x15d40c(0x136)]=_0x1d054a[_0x15d40c(0x136)]||0x0,this[_0x15d40c(0x123)](_0x15d40c(0x124),_0x1d054a[_0x15d40c(0x124)]||''),this[_0x15d40c(0x123)](_0x15d40c(0x130),_0x1d054a[_0x15d40c(0x130)]||new Date()),this[_0x15d40c(0x123)](_0x15d40c(0x131),_0x1d054a[_0x15d40c(0x131)]||{});}[_0x16a50e(0x126)](_0x4a8d42){const _0x425b45=_0x16a50e;this[_0x425b45(0x138)]({'name':_0x4a8d42});}[_0x16a50e(0x12d)](_0x50eaab,_0x3f4857){const _0x3d856f=_0x16a50e,_0x2e8a06=_0x4b8522(this[_0x3d856f(0x131)]);_0x5bed89(_0x2e8a06,_0x50eaab,_0x3f4857),this[_0x3d856f(0x138)]({'attributes':_0x2e8a06});}[_0x16a50e(0x127)](_0x12ec12){const _0x37541a=_0x16a50e,_0x4537ae=_0x4b8522(this[_0x37541a(0x131)]);_0x3a955a(_0x4537ae,_0x12ec12),this[_0x37541a(0x138)]({'attributes':_0x4537ae});}[_0x16a50e(0x138)](_0x23231c,_0x307398=!0x1){const _0x3d1f69=_0x16a50e;let _0x5bcfd5=!0x1;const _0x16e120={'id':this['id']},_0x81d63e=[_0x3d1f69(0x124),_0x3d1f69(0x130),_0x3d1f69(0x128),_0x3d1f69(0x137),_0x3d1f69(0x131),_0x3d1f69(0x129),_0x3d1f69(0x136),_0x3d1f69(0x121)];for(const _0x9e24e of _0x81d63e){const _0x30ea18=_0x23231c[_0x9e24e];void 0x0!==_0x30ea18&&_0x30ea18!==this[_0x9e24e]&&(this[_0x9e24e]=_0x30ea18,_0x16e120[_0x9e24e]=_0x30ea18,_0x5bcfd5=!0x0);}_0x5bcfd5&&(_0x16e120[_0x3d1f69(0x137)]&&(_0x16e120[_0x3d1f69(0x13b)]=_0x16e120[_0x3d1f69(0x137)][_0x3d1f69(0x12c)](_0x4fa8f3=>_0x4fa8f3['id']),delete _0x16e120[_0x3d1f69(0x137)]),this[_0x3d1f69(0x12b)](_0x3d1f69(0x138),_0x16e120,_0x307398));}[_0x16a50e(0x12a)](){const _0x5464c9=_0x16a50e;return{'id':this['id'],'name':this[_0x5464c9(0x124)],'creatorId':this[_0x5464c9(0x135)]?this[_0x5464c9(0x135)]['id']:null,'authorsIds':this[_0x5464c9(0x137)][_0x5464c9(0x12c)](_0x506f11=>_0x506f11['id']),'diffData':this[_0x5464c9(0x128)],'createdAt':this[_0x5464c9(0x130)],'attributes':this[_0x5464c9(0x131)],'fromVersion':this[_0x5464c9(0x136)],'toVersion':this[_0x5464c9(0x129)]};}}
|
package/src/revisiondiff.js
CHANGED
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
|
|
23
|
+
function _0x38eb(){const _0xd7c19c=['26885UQqWUA','292036MkoHtI','5813664XaPDym','_setChanges','5979250yOQPBF','6021966sMvKOA','62zwBojV','57QxobuU','266625xZGoZl','oldRevisionId','changes','add','80Inhqnf','newRevisionId','2220701DhhNpq'];_0x38eb=function(){return _0xd7c19c;};return _0x38eb();}function _0x4aa0(_0x59e13c,_0x1e03b2){const _0x38eb8c=_0x38eb();return _0x4aa0=function(_0x4aa02a,_0x537ecf){_0x4aa02a=_0x4aa02a-0x191;let _0x3c4cca=_0x38eb8c[_0x4aa02a];return _0x3c4cca;},_0x4aa0(_0x59e13c,_0x1e03b2);}const _0x2faef2=_0x4aa0;(function(_0x52c116,_0x4a8bf0){const _0x30b69b=_0x4aa0,_0x2edf53=_0x52c116();while(!![]){try{const _0x546e71=parseInt(_0x30b69b(0x195))/0x1*(-parseInt(_0x30b69b(0x19b))/0x2)+-parseInt(_0x30b69b(0x19c))/0x3*(-parseInt(_0x30b69b(0x196))/0x4)+parseInt(_0x30b69b(0x199))/0x5+-parseInt(_0x30b69b(0x19a))/0x6+-parseInt(_0x30b69b(0x194))/0x7+parseInt(_0x30b69b(0x197))/0x8+parseInt(_0x30b69b(0x19d))/0x9*(-parseInt(_0x30b69b(0x192))/0xa);if(_0x546e71===_0x4a8bf0)break;else _0x2edf53['push'](_0x2edf53['shift']());}catch(_0x2162ac){_0x2edf53['push'](_0x2edf53['shift']());}}}(_0x38eb,0xe0376));import{Collection as _0x36d34b}from'ckeditor5/src/utils.js';export default class c{[_0x2faef2(0x193)];[_0x2faef2(0x19e)];[_0x2faef2(0x19f)];constructor(_0x50937f,_0x1cc716){const _0x4833c6=_0x2faef2;this[_0x4833c6(0x193)]=_0x50937f,this[_0x4833c6(0x19e)]=_0x1cc716,this[_0x4833c6(0x19f)]=new _0x36d34b();}[_0x2faef2(0x198)](_0x3ba9b2){const _0x2712c8=_0x2faef2;for(const _0x596041 of _0x3ba9b2)this[_0x2712c8(0x19f)][_0x2712c8(0x191)](_0x596041);}}
|
package/src/revisionhistory.d.ts
CHANGED
|
@@ -38,6 +38,12 @@ export declare class RevisionViewerIntegration extends Plugin {
|
|
|
38
38
|
* {@glink features/collaboration/revision-history/revision-history Revision history} guide.
|
|
39
39
|
*/
|
|
40
40
|
export default class RevisionHistory extends Plugin {
|
|
41
|
+
/**
|
|
42
|
+
* Indicates whether the revision history viewer is currently visible.
|
|
43
|
+
*
|
|
44
|
+
* @observable
|
|
45
|
+
*/
|
|
46
|
+
isRevisionViewerOpen: boolean;
|
|
41
47
|
static get pluginName(): "RevisionHistory";
|
|
42
48
|
/**
|
|
43
49
|
* @inheritDoc
|
package/src/revisionhistory.js
CHANGED
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
const _0x32e839=_0xc0c9;(function(_0x368547,_0x567cf0){const _0x28913e=_0xc0c9,_0x10b7bf=_0x368547();while(!![]){try{const _0x2803da=-parseInt(_0x28913e(0xf1))/0x1*(-parseInt(_0x28913e(0xc4))/0x2)+-parseInt(_0x28913e(0xf8))/0x3*(parseInt(_0x28913e(0x97))/0x4)+parseInt(_0x28913e(0xb2))/0x5*(parseInt(_0x28913e(0xc3))/0x6)+parseInt(_0x28913e(0xce))/0x7+parseInt(_0x28913e(0xbf))/0x8+-parseInt(_0x28913e(0x109))/0x9+-parseInt(_0x28913e(0xd7))/0xa;if(_0x2803da===_0x567cf0)break;else _0x10b7bf['push'](_0x10b7bf['shift']());}catch(_0x367861){_0x10b7bf['push'](_0x10b7bf['shift']());}}}(_0xd238,0xa8133));import{Plugin as _0x59387b}from'ckeditor5/src/core.js';import{CKEditorError as _0x43d8b8,uid as _0x5932d1}from'ckeditor5/src/utils.js';import _0x13b3a0 from'./revisiontracker.js';import _0x4f7bc1 from'./ui/revisionhistory/revisionhistoryui.js';import _0x191b55 from'./revisionviewer.js';import _0x151740 from'./ui/revisionviewer/revisionviewerui.js';import _0x188b5e from'./ui/revisionssidebar/revisionssidebar.js';import _0x5ddbff from'./editor/revisionviewereditor.js';import{getTranslation as _0x493d8e}from'./utils/common-translations.js';import{sanitizeEditorConfig as _0x2512ba}from'ckeditor5-collaboration/src/collaboration-core.js';const p=[_0x32e839(0x9b),_0x32e839(0xe5)];function _0xc0c9(_0x5a9e8c,_0x2b640c){const _0xd23864=_0xd238();return _0xc0c9=function(_0xc0c943,_0x3dce7f){_0xc0c943=_0xc0c943-0x7b;let _0x1698c8=_0xd23864[_0xc0c943];return _0x1698c8;},_0xc0c9(_0x5a9e8c,_0x2b640c);}export class RevisionViewerIntegration extends _0x59387b{[_0x32e839(0xa9)];static get[_0x32e839(0x8f)](){const _0x39c221=_0x32e839;return _0x39c221(0xad);}static get[_0x32e839(0x9e)](){return!0x0;}static get[_0x32e839(0xfb)](){return!0x0;}constructor(_0x3077d6){const _0x56e391=_0x32e839;function _0x4d7569(_0x12e695){const _0x1a70e5=_0xc0c9;return _0x12e695[_0x1a70e5(0xd3)](_0x926eea=>String[_0x1a70e5(0x89)](_0x926eea))[_0x1a70e5(0x82)]('');}super(_0x3077d6),this[_0x56e391(0xa9)]=_0x56e391(0xfe),_0x3077d6[_0x4d7569([0x65,0x64,0x69,0x74,0x69,0x6e,0x67])][_0x4d7569([0x76,0x69,0x65,0x77])][_0x4d7569([0x5f,0x6f,0x76,0x65,0x72,0x6c,0x61,0x79,0x4d,0x6f,0x64,0x65,0x48,0x69,0x6e,0x74])]=_0x4d7569([0x61,0x75,0x74,0x6f]),_0x3077d6[_0x4d7569([0x5f,0x73,0x65,0x6e,0x64,0x55,0x73,0x61,0x67,0x65,0x52,0x65,0x71,0x75,0x65,0x73,0x74])]=()=>window[_0x4d7569([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65])][_0x4d7569([0x72,0x65,0x73,0x6f,0x6c,0x76,0x65])]({[_0x4d7569([0x73,0x74,0x61,0x74,0x75,0x73])]:_0x4d7569([0x6f,0x6b])});}}function _0xd238(){const _0x905f5e=['save','change','_enhanceCloseRevisionViewerCallback','6ZRqZbO','28ZfGzgd','Users','getRevisionData','display','has','RevisionHistory','_closeRevisionViewer','revisionHistory.viewerContainer','RevisionsRepository','isAttached','320026FEgkMs','from','users','$graveyard','revisionHistory','map','closeRevisionViewerCallback','refreshPositioning','Restored','14376480nEgbIR','rootName','isReadOnly','numeric','getRevision','_cleanUp','revision-history-missing-configuration','exitToEditing','markers','_viewerEditor','adapter','style','parse','bind','RestrictedEditingMode','includes','toLocaleTimeString','repository','name','saveRevision','update','changesNavigation','roots','define','insert','revisionHistory.requireRevisionName','84742OlzvXZ','indexOf','detachRoot','set','keys','getRevisionRootsAttributes','revisionHistory.showRevisionViewerCallback','2946LPckYk','getUser','addRevisionData','isPremiumPlugin','Annotations','_recalculatePageBreaks','end','isOpen','push','catch','commands','config','creator','Autosave','_showRevisionViewer','refreshVisibility','PaginationLookup','2682297ydsJaJ','create','toLocaleDateString','get','addRoot','isReady','RevisionTracker','block','_getRevisionViewerEditorConfig','translations','join','revisionHistory.editorContainer','getRoot','editor','init','locale','removeMarker','fromCharCode','disableReadOnlyMode','toVersion','_enhanceShowRevisionViewerCallback','showRevisionViewerCallback','enableReadOnlyMode','pluginName','restrictedEditingException','revisionHistory.restoreRevisionCallback','_restoreRevision','selection','removeSelectionAttribute','createRangeIn','Dialog','2664LVmtib','RevisionViewer','getMarkersGroup','toJSON','RevisionHistoryUI','removeAttribute','document','isOfficialPlugin','long','revision-history-viewer-opened','getAttributeKeys','getRevisions','hide','model','addUser','fromVersion','revisionHistory.viewerEditorElement','toolbar','result','_update','error','setSelection','RevisionViewerIntegration','createdAt','then','requires','revisionHistory.closeRevisionViewerCallback','5653105DCFEKH','restoreRevision','remove','destroy','setAttribute','uiLanguage','enqueueChange','plugins','none','lazyRoots','data','isEnabled','isAnonymous','5723208DAkXJh'];_0xd238=function(){return _0x905f5e;};return _0xd238();}export default class k extends _0x59387b{[_0x32e839(0xe0)];static get[_0x32e839(0x8f)](){const _0x20c6a2=_0x32e839;return _0x20c6a2(0xc9);}static get[_0x32e839(0x9e)](){return!0x0;}static get[_0x32e839(0xfb)](){return!0x0;}static get[_0x32e839(0xb0)](){return[_0x13b3a0,_0x4f7bc1];}constructor(_0x3c3879){const _0x10b327=_0x32e839;if(super(_0x3c3879),!this[_0x10b327(0x85)][_0x10b327(0x103)][_0x10b327(0x7b)](_0x10b327(0xd2)))throw new _0x43d8b8(_0x10b327(0xdd),this);this[_0x10b327(0xe0)]=null,this[_0x10b327(0x85)][_0x10b327(0x103)][_0x10b327(0xee)](_0x10b327(0xf7),_0x458f96=>this[_0x10b327(0x106)]({..._0x458f96,'translations':this[_0x10b327(0x85)][_0x10b327(0x87)][_0x10b327(0x81)]})),this[_0x10b327(0x85)][_0x10b327(0x103)][_0x10b327(0xee)](_0x10b327(0xb1),_0x37f5a5=>this[_0x10b327(0xca)](_0x37f5a5)),this[_0x10b327(0x85)][_0x10b327(0x103)][_0x10b327(0xee)](_0x10b327(0x91),_0x432b01=>this[_0x10b327(0x92)](_0x432b01)),this[_0x10b327(0x85)][_0x10b327(0x103)][_0x10b327(0xee)](_0x10b327(0xf0),!0x1),this[_0x10b327(0x8c)](),this[_0x10b327(0xc2)]();}set[_0x32e839(0xe1)](_0x208c48){const _0x28a751=_0x32e839;this[_0x28a751(0x85)][_0x28a751(0xb9)][_0x28a751(0x7b)](_0x28a751(0x7e))[_0x28a751(0xe1)]=_0x208c48;}get[_0x32e839(0xe1)](){const _0x41a45a=_0x32e839;return this[_0x41a45a(0x85)][_0x41a45a(0xb9)][_0x41a45a(0x7b)](_0x41a45a(0x7e))[_0x41a45a(0xe1)];}[_0x32e839(0xfa)](_0x1eeb02){const _0x5dc6c1=_0x32e839;return this[_0x5dc6c1(0x85)][_0x5dc6c1(0xb9)][_0x5dc6c1(0x7b)](_0x5dc6c1(0x7e))[_0x5dc6c1(0xfa)](_0x1eeb02);}[_0x32e839(0xdb)](_0x3b9abc){const _0x19c148=_0x32e839;return this[_0x19c148(0x85)][_0x19c148(0xb9)][_0x19c148(0x7b)](_0x19c148(0xcc))[_0x19c148(0xdb)](_0x3b9abc);}[_0x32e839(0xa2)](_0x18628f){const _0x4bbce4=_0x32e839;return this[_0x4bbce4(0x85)][_0x4bbce4(0xb9)][_0x4bbce4(0x7b)](_0x4bbce4(0xcc))[_0x4bbce4(0xa2)](_0x18628f||{'toJSON':!0x1});}[_0x32e839(0x80)](){const _0xc168e2=_0x32e839,_0x47b451=this[_0xc168e2(0x85)],_0x1bc1da=_0x2512ba(_0x47b451,p),_0x1d157d=_0x47b451[_0xc168e2(0xb9)][_0xc168e2(0x7b)](_0xc168e2(0x7e)),_0x4b9131=_0x47b451[_0xc168e2(0xb9)][_0xc168e2(0x7b)](_0xc168e2(0xc5))[_0xc168e2(0xd0)];return _0x1bc1da[_0xc168e2(0xa8)]=[_0xc168e2(0xde),_0xc168e2(0xb3),_0xc168e2(0xec)],delete _0x1bc1da[_0xc168e2(0xbb)],(_0x1bc1da[_0xc168e2(0xb9)][_0xc168e2(0x100)](RevisionViewerIntegration,_0x191b55,_0x151740,class extends _0x59387b{static get[_0xc168e2(0xb0)](){const _0x10ff05=_0xc168e2;return[_0x191b55,_0x10ff05(0xc5)];}[_0xc168e2(0x86)](){const _0x4a9152=_0xc168e2,_0x47cff2=this[_0x4a9152(0x85)][_0x4a9152(0xb9)][_0x4a9152(0x7b)](_0x4a9152(0xc5));for(const _0x396831 of _0x4b9131)_0x396831[_0x4a9152(0xbe)]||_0x47cff2[_0x4a9152(0xf9)](_0x396831['id'])||_0x47cff2[_0x4a9152(0xa5)](_0x396831);const _0x2a1f38=_0x1d157d[_0x4a9152(0xe8)][_0x4a9152(0xa2)]();let _0x362ec2=null;const _0x27eed4=this[_0x4a9152(0x85)][_0x4a9152(0xb9)][_0x4a9152(0x7b)](_0x4a9152(0x98));_0x27eed4[_0x4a9152(0xe1)]=_0x1d157d[_0x4a9152(0xe1)],_0x27eed4[_0x4a9152(0xe4)](_0x4a9152(0xbd))['to'](_0x1d157d),this[_0x4a9152(0x85)][_0x4a9152(0x102)][_0x4a9152(0x7b)](_0x4a9152(0xb3))[_0x4a9152(0xe4)](_0x4a9152(0xbd))['to'](_0x47b451,_0x4a9152(0xd9),_0x535c04=>!_0x535c04);for(const _0xf352bf of _0x2a1f38){const _0x5516f4=null===_0xf352bf[_0x4a9152(0x104)];if(_0x5516f4&&_0xf352bf[_0x4a9152(0x8b)]===_0xf352bf[_0x4a9152(0xa6)])continue;const _0x9abd6f=_0xf352bf[_0x4a9152(0x9a)]();_0x27eed4[_0x4a9152(0xfa)](_0x9abd6f,(_0x5c8a96,_0xe0b041,_0x1da1a5)=>{const _0x526493=_0x4a9152;if(_0x5516f4){if(_0x362ec2)_0x362ec2[_0x526493(0xaa)](_0x5c8a96,_0xe0b041);else{if(!_0xe0b041){const _0x1524b7=_0x1da1a5[_0x526493(0x9a)]();_0x1524b7['id']=_0x5932d1(),_0x1d157d[_0x526493(0xea)](_0x1524b7,_0x1da1a5[_0x526493(0x8b)])[_0x526493(0xaf)](_0x51aae6=>{_0x362ec2=_0x51aae6;});}}}else _0xf352bf[_0x526493(0xaa)](_0x5c8a96,_0xe0b041);});}}},_0x188b5e),_0x1bc1da);}[_0x32e839(0x8c)](){const _0x2c6519=_0x32e839,_0xd2284b=this[_0x2c6519(0x85)][_0x2c6519(0x103)][_0x2c6519(0x7b)](_0x2c6519(0xd2))[_0x2c6519(0x8d)];this[_0x2c6519(0x85)][_0x2c6519(0x103)][_0x2c6519(0xf4)](_0x2c6519(0xf7),async()=>{const _0x189c3b=_0x2c6519;this[_0x189c3b(0x85)][_0x189c3b(0x8e)](_0x189c3b(0xa0));const _0x548572=this[_0x189c3b(0x85)][_0x189c3b(0xb9)][_0x189c3b(0x7b)](_0x189c3b(0x7e));if(this[_0x189c3b(0x85)][_0x189c3b(0xb9)][_0x189c3b(0xc8)](_0x189c3b(0x105))){const _0xa19a41=this[_0x189c3b(0x85)][_0x189c3b(0xb9)][_0x189c3b(0x7b)](_0x189c3b(0x105));await _0xa19a41[_0x189c3b(0xc0)]();}else await _0x548572[_0x189c3b(0xeb)]();if(this[_0x189c3b(0x85)][_0x189c3b(0xb9)][_0x189c3b(0xc8)](_0x189c3b(0x108))&&this[_0x189c3b(0x85)][_0x189c3b(0xb9)][_0x189c3b(0x7b)](_0x189c3b(0x108))[_0x189c3b(0xfd)](),this[_0x189c3b(0x85)][_0x189c3b(0xb9)][_0x189c3b(0xc8)](_0x189c3b(0x96))){const _0x307d51=this[_0x189c3b(0x85)][_0x189c3b(0xb9)][_0x189c3b(0x7b)](_0x189c3b(0x96));_0x307d51[_0x189c3b(0xff)]&&_0x307d51[_0x189c3b(0xa3)]();}const _0x537ebf=this[_0x189c3b(0x80)]();return _0xd2284b(_0x537ebf)[_0x189c3b(0xaf)](_0x13532d=>{const _0x45e03f=_0x189c3b;return(this[_0x45e03f(0xe0)]=_0x13532d,this[_0x45e03f(0x85)][_0x45e03f(0xb9)][_0x45e03f(0xc8)](_0x45e03f(0xfc)))&&this[_0x45e03f(0x85)][_0x45e03f(0xb9)][_0x45e03f(0x7b)](_0x45e03f(0xfc))[_0x45e03f(0x107)](),_0x13532d;})[_0x189c3b(0x101)](_0x3c99ce=>(console[_0x189c3b(0xab)](_0x3c99ce),this[_0x189c3b(0x85)][_0x189c3b(0x8a)](_0x189c3b(0xa0)),null));});}[_0x32e839(0xc2)](){const _0x22d97d=_0x32e839,_0x1114e5=this[_0x22d97d(0x85)][_0x22d97d(0x103)][_0x22d97d(0x7b)](_0x22d97d(0xd2))[_0x22d97d(0xd4)];this[_0x22d97d(0x85)][_0x22d97d(0x103)][_0x22d97d(0xf4)](_0x22d97d(0xb1),()=>(this[_0x22d97d(0x85)][_0x22d97d(0xb9)][_0x22d97d(0xc8)](_0x22d97d(0x108))&&this[_0x22d97d(0x85)][_0x22d97d(0xb9)][_0x22d97d(0x7b)](_0x22d97d(0x108))[_0x22d97d(0xfd)](),this[_0x22d97d(0xe0)][_0x22d97d(0xb9)][_0x22d97d(0x7b)](_0x22d97d(0x98))[_0x22d97d(0xdc)](),_0x1114e5(this[_0x22d97d(0xe0)])[_0x22d97d(0xaf)](()=>{const _0x1dcc8c=_0x22d97d;if(this[_0x1dcc8c(0x85)][_0x1dcc8c(0x8a)](_0x1dcc8c(0xa0)),this[_0x1dcc8c(0xe0)]=null,this[_0x1dcc8c(0x85)][_0x1dcc8c(0xb9)][_0x1dcc8c(0xc8)](_0x1dcc8c(0xfc))){const _0x166afd=this[_0x1dcc8c(0x85)][_0x1dcc8c(0xb9)][_0x1dcc8c(0x7b)](_0x1dcc8c(0xfc));_0x166afd[_0x1dcc8c(0x107)](),_0x166afd[_0x1dcc8c(0xd5)]();}})));}[_0x32e839(0x106)](_0x5cbf0c){const _0x41a95b=_0x32e839,_0x35def6=this[_0x41a95b(0x85)][_0x41a95b(0x103)][_0x41a95b(0x7b)](_0x41a95b(0x83)),_0x1a670b=this[_0x41a95b(0x85)][_0x41a95b(0x103)][_0x41a95b(0x7b)](_0x41a95b(0xcb)),_0x5b213e=this[_0x41a95b(0x85)][_0x41a95b(0x103)][_0x41a95b(0x7b)](_0x41a95b(0xa7));return _0x5ddbff[_0x41a95b(0x10a)](_0x5b213e,_0x5cbf0c)[_0x41a95b(0xaf)](_0x392d40=>(_0x1a670b[_0x41a95b(0xe2)][_0x41a95b(0xc7)]=_0x41a95b(0x7f),_0x35def6[_0x41a95b(0xe2)][_0x41a95b(0xc7)]=_0x41a95b(0xba),_0x392d40));}[_0x32e839(0xca)](_0x9ee1df){const _0x4edb89=_0x32e839,_0x2737c3=this[_0x4edb89(0x85)][_0x4edb89(0x103)][_0x4edb89(0x7b)](_0x4edb89(0x83));return this[_0x4edb89(0x85)][_0x4edb89(0x103)][_0x4edb89(0x7b)](_0x4edb89(0xcb))[_0x4edb89(0xe2)][_0x4edb89(0xc7)]=_0x4edb89(0xba),_0x2737c3[_0x4edb89(0xe2)][_0x4edb89(0xc7)]='',_0x9ee1df[_0x4edb89(0xb5)]();}async[_0x32e839(0x92)](_0x24b682){const _0x99f730=_0x32e839,_0x23d8a4=this[_0x99f730(0x85)],_0x4a93b8=this[_0x99f730(0xe0)][_0x99f730(0xb9)][_0x99f730(0x7b)](_0x99f730(0x98)),_0x2e0ae4=_0x23d8a4[_0x99f730(0xb9)][_0x99f730(0x7b)](_0x99f730(0x7e)),_0x465496=_0x4a93b8[_0x99f730(0xe8)][_0x99f730(0xdb)](_0x24b682);let _0x2276ab,_0x4184e4,_0x5c048f;try{_0x2276ab=await _0x4a93b8[_0x99f730(0xc6)](_0x465496),_0x4184e4=await _0x4a93b8[_0x99f730(0xf6)](_0x465496);}catch(_0x25ec8a){return void console[_0x99f730(0xab)](_0x25ec8a);}_0x23d8a4[_0x99f730(0xa4)][_0x99f730(0xc1)](_0x7447c1=>{const _0x4766dd=_0x99f730;for(const _0x4b1512 of Array[_0x4766dd(0xcf)](_0x23d8a4[_0x4766dd(0xa4)][_0x4766dd(0xdf)][_0x4766dd(0x99)](_0x4766dd(0x90))))_0x7447c1[_0x4766dd(0x88)](_0x4b1512);}),_0x4a93b8[_0x99f730(0x7d)]=!0x1,_0x23d8a4[_0x99f730(0xa4)][_0x99f730(0xb8)](_0x59d555=>{const _0x11f27a=_0x99f730;_0x59d555[_0x11f27a(0xac)](null),_0x59d555[_0x11f27a(0x94)](_0x23d8a4[_0x11f27a(0xa4)][_0x11f27a(0x9d)][_0x11f27a(0x93)][_0x11f27a(0xa1)]());const _0x17f7fb=Object[_0x11f27a(0xf5)](_0x2276ab);for(const _0x18c77f of _0x23d8a4[_0x11f27a(0xa4)][_0x11f27a(0x9d)][_0x11f27a(0xed)])_0x11f27a(0xd1)!=_0x18c77f[_0x11f27a(0xd8)]&&_0x18c77f[_0x11f27a(0xcd)]()&&!_0x17f7fb[_0x11f27a(0xe6)](_0x18c77f[_0x11f27a(0xd8)])&&_0x59d555[_0x11f27a(0xf3)](_0x18c77f);for(const _0x26eb12 of _0x17f7fb){let _0x14d7ef=_0x23d8a4[_0x11f27a(0xa4)][_0x11f27a(0x9d)][_0x11f27a(0x84)](_0x26eb12);_0x14d7ef&&_0x14d7ef[_0x11f27a(0xcd)]()||(_0x14d7ef=_0x59d555[_0x11f27a(0x7c)](_0x26eb12));const _0x4ffa64=_0x4184e4[_0x26eb12],_0x539068=Object[_0x11f27a(0xf5)](_0x4ffa64),_0x2a6733=_0x2276ab[_0x26eb12];for(const _0x3f23ec of _0x14d7ef[_0x11f27a(0xa1)]())_0x539068[_0x11f27a(0xe6)](_0x3f23ec)||_0x59d555[_0x11f27a(0x9c)](_0x3f23ec,_0x14d7ef);for(const _0x47b0c0 of _0x539068)_0x59d555[_0x11f27a(0xb6)](_0x47b0c0,_0x4184e4[_0x26eb12][_0x47b0c0],_0x14d7ef);_0x59d555[_0x11f27a(0xb4)](_0x59d555[_0x11f27a(0x95)](_0x14d7ef)),_0x59d555[_0x11f27a(0xef)](_0x23d8a4[_0x11f27a(0xbc)][_0x11f27a(0xe3)](_0x2a6733,_0x14d7ef),_0x14d7ef,0x0);}});const _0x3488fd=_0x493d8e(_0x23d8a4[_0x99f730(0x87)],_0x99f730(0xd6));if(_0x465496[_0x99f730(0xe9)])_0x5c048f=-0x1==_0x465496[_0x99f730(0xe9)][_0x99f730(0xf2)](_0x3488fd)?_0x3488fd+':\x20'+_0x465496[_0x99f730(0xe9)]:_0x465496[_0x99f730(0xe9)];else _0x5c048f=_0x3488fd+':\x20'+(_0x465496[_0x99f730(0xae)][_0x99f730(0x10b)](_0x23d8a4[_0x99f730(0x87)][_0x99f730(0xb7)],{'month':_0x99f730(0x9f),'day':_0x99f730(0xda)})+',\x20'+_0x465496[_0x99f730(0xae)][_0x99f730(0xe7)](_0x23d8a4[_0x99f730(0x87)][_0x99f730(0xb7)],{'hour':_0x99f730(0xda),'minute':_0x99f730(0xda)}));return await _0x2e0ae4[_0x99f730(0xea)]({'name':_0x5c048f}),_0x4a93b8[_0x99f730(0x7d)]=!0x0,_0x23d8a4[_0x99f730(0x103)][_0x99f730(0x7b)](_0x99f730(0xd2))[_0x99f730(0xd4)]();}}
|
|
23
|
+
const _0x103bec=_0x64ef;(function(_0x1dc548,_0x4c466d){const _0x5209eb=_0x64ef,_0x17e554=_0x1dc548();while(!![]){try{const _0xed91f=parseInt(_0x5209eb(0xf1))/0x1+parseInt(_0x5209eb(0x13a))/0x2+parseInt(_0x5209eb(0xe4))/0x3+parseInt(_0x5209eb(0xd4))/0x4*(parseInt(_0x5209eb(0x149))/0x5)+-parseInt(_0x5209eb(0x138))/0x6*(-parseInt(_0x5209eb(0x104))/0x7)+-parseInt(_0x5209eb(0x145))/0x8*(-parseInt(_0x5209eb(0x130))/0x9)+-parseInt(_0x5209eb(0x125))/0xa;if(_0xed91f===_0x4c466d)break;else _0x17e554['push'](_0x17e554['shift']());}catch(_0x3afe7e){_0x17e554['push'](_0x17e554['shift']());}}}(_0x2428,0x2b80c));import{Plugin as _0x5d3aea}from'ckeditor5/src/core.js';function _0x2428(){const _0x3db043=['config','name','RevisionsRepository','refreshVisibility','document','repository','destroy','indexOf','hide','from','_closeRevisionViewer','_restoreRevision','style','join','_viewerEditor','_getRevisionViewerEditorConfig','map','isReady','897869kQhqtG','addRevisionData','RevisionHistoryUtils','createdAt','DocumentOutlineUI','getAttributeKeys','commands','model','isRevisionViewerOpen','editor','long','define','toLocaleTimeString','getRevisionDocumentData','rootName','data','toVersion','get','revisionHistory.closeRevisionViewerCallback','getRevision','revisionHistory.restoreRevisionCallback','isEnabled','_cleanUp','lazyRoots','disableReadOnlyMode','loadRevisionData','changesNavigation','RevisionViewerIntegration','keys','numeric','parse','plugins','none','12755060umHBwH','view','addRoot','_enhanceShowRevisionViewerCallback','element','revisionHistory.viewerEditorElement','getRoot','fromCharCode','revisionHistory.showRevisionViewerCallback','create','isReadOnly','19890erGxVB','remove','catch','uiLanguage','setSelection','update','removeSelectionAttribute','_recalculatePageBreaks','12GnRIGk','isOfficialPlugin','692340MRnniH','restoreRevision','markers','revisionHistory.requireRevisionName','adapter','exitToEditing','enqueueChange','revisionHistory','revisionHistory.editorContainer','bind','PaginationLookup','1096KaWvMx','detachRoot','getMarkersGroup','getUser','220585FrDAJZ','fromVersion','Users','isAttached','locale','_showRevisionViewer','display','change','RevisionHistoryUI','isOpen','creator','_enhanceCloseRevisionViewerCallback','save','then','push','revision-history-missing-configuration','has','isAnonymous','init','toLocaleDateString','RevisionViewer','set','_update','error','removeMarker','refreshPositioning','result','toJSON','RevisionTracker','DocumentOutline','createRangeIn','addUser','block','closeRevisionViewerCallback','roots','20LpPzHi','setAttribute','pluginName','getRevisions','users','RestrictedEditingMode','RevisionHistory','requires','Dialog','removeAttribute','translations','selection','restrictedEditingException','Annotations','Autosave','isPremiumPlugin','634944MDlfri','end','saveRevision','$graveyard','revisionHistory.viewerContainer','includes','Restored','enableReadOnlyMode','showRevisionViewerCallback','revision-history-viewer-opened','getRevisionRootsAttributes','insert','toolbar','115987aDtFft'];_0x2428=function(){return _0x3db043;};return _0x2428();}import{CKEditorError as _0x1e7c53,uid as _0x39a0f3}from'ckeditor5/src/utils.js';import _0x4edd52 from'./revisiontracker.js';import _0x37bb65 from'./ui/revisionhistory/revisionhistoryui.js';import _0x2ba39f from'./revisionviewer.js';import _0x53a805 from'./ui/revisionviewer/revisionviewerui.js';import _0x3a32d2 from'./ui/revisionssidebar/revisionssidebar.js';import _0xa30ec9 from'./editor/revisionviewereditor.js';import{getTranslation as _0x3c3843}from'./utils/common-translations.js';import{sanitizeEditorConfig as _0x3a6712}from'ckeditor5-collaboration/src/collaboration-core.js';const p=[_0x103bec(0xb9),_0x103bec(0xd9)];export class RevisionViewerIntegration extends _0x5d3aea{[_0x103bec(0xcb)];static get[_0x103bec(0xd6)](){const _0xc3d00b=_0x103bec;return _0xc3d00b(0x11f);}static get[_0x103bec(0x139)](){return!0x0;}static get[_0x103bec(0xe3)](){return!0x0;}constructor(_0x4cdbc4){const _0x46bb26=_0x103bec;function _0x53aae1(_0x452873){const _0x2ff17a=_0x64ef;return _0x452873[_0x2ff17a(0x102)](_0x1babb4=>String[_0x2ff17a(0x12c)](_0x1babb4))[_0x2ff17a(0xff)]('');}super(_0x4cdbc4),this[_0x46bb26(0xcb)]=_0x46bb26(0xe5),_0x4cdbc4[_0x53aae1([0x65,0x64,0x69,0x74,0x69,0x6e,0x67])][_0x53aae1([0x76,0x69,0x65,0x77])][_0x53aae1([0x5f,0x6f,0x76,0x65,0x72,0x6c,0x61,0x79,0x4d,0x6f,0x64,0x65,0x48,0x69,0x6e,0x74])]=_0x53aae1([0x61,0x75,0x74,0x6f]),_0x4cdbc4[_0x53aae1([0x5f,0x73,0x65,0x6e,0x64,0x55,0x73,0x61,0x67,0x65,0x52,0x65,0x71,0x75,0x65,0x73,0x74])]=()=>window[_0x53aae1([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65])][_0x53aae1([0x72,0x65,0x73,0x6f,0x6c,0x76,0x65])]({[_0x53aae1([0x73,0x74,0x61,0x74,0x75,0x73])]:_0x53aae1([0x6f,0x6b])});}}function _0x64ef(_0x4c5d53,_0x27f5cb){const _0x242862=_0x2428();return _0x64ef=function(_0x64ef3d,_0x2c6d8d){_0x64ef3d=_0x64ef3d-0xb5;let _0x21397f=_0x242862[_0x64ef3d];return _0x21397f;},_0x64ef(_0x4c5d53,_0x27f5cb);}export default class k extends _0x5d3aea{[_0x103bec(0x100)];static get[_0x103bec(0xd6)](){const _0x5ec717=_0x103bec;return _0x5ec717(0xda);}static get[_0x103bec(0x139)](){return!0x0;}static get[_0x103bec(0xe3)](){return!0x0;}static get[_0x103bec(0xdb)](){return[_0x4edd52,_0x37bb65];}constructor(_0x539c3f){const _0x2bd0c9=_0x103bec;if(super(_0x539c3f),!this[_0x2bd0c9(0x10d)][_0x2bd0c9(0xf2)][_0x2bd0c9(0x115)](_0x2bd0c9(0x141)))throw new _0x1e7c53(_0x2bd0c9(0xc0),this);this[_0x2bd0c9(0x100)]=null,this[_0x2bd0c9(0xc6)](_0x2bd0c9(0x10c),!0x1),this[_0x2bd0c9(0x10d)][_0x2bd0c9(0xf2)][_0x2bd0c9(0x10f)](_0x2bd0c9(0x12d),_0x32c7ea=>this[_0x2bd0c9(0xb6)]({..._0x32c7ea,'translations':this[_0x2bd0c9(0x10d)][_0x2bd0c9(0xb5)][_0x2bd0c9(0xde)]})),this[_0x2bd0c9(0x10d)][_0x2bd0c9(0xf2)][_0x2bd0c9(0x10f)](_0x2bd0c9(0x116),_0x384da9=>this[_0x2bd0c9(0xfc)](_0x384da9)),this[_0x2bd0c9(0x10d)][_0x2bd0c9(0xf2)][_0x2bd0c9(0x10f)](_0x2bd0c9(0x118),_0x118a86=>this[_0x2bd0c9(0xfd)](_0x118a86)),this[_0x2bd0c9(0x10d)][_0x2bd0c9(0xf2)][_0x2bd0c9(0x10f)](_0x2bd0c9(0x13d),!0x1),this[_0x2bd0c9(0x128)](),this[_0x2bd0c9(0xbc)]();}set[_0x103bec(0x13e)](_0x49c5f3){const _0x4f1cd2=_0x103bec;this[_0x4f1cd2(0x10d)][_0x4f1cd2(0x123)][_0x4f1cd2(0x115)](_0x4f1cd2(0xcd))[_0x4f1cd2(0x13e)]=_0x49c5f3;}get[_0x103bec(0x13e)](){const _0x226d8e=_0x103bec;return this[_0x226d8e(0x10d)][_0x226d8e(0x123)][_0x226d8e(0x115)](_0x226d8e(0xcd))[_0x226d8e(0x13e)];}[_0x103bec(0x105)](_0x81bc77){const _0x2dbe89=_0x103bec;return this[_0x2dbe89(0x10d)][_0x2dbe89(0x123)][_0x2dbe89(0x115)](_0x2dbe89(0xcd))[_0x2dbe89(0x105)](_0x81bc77);}[_0x103bec(0x117)](_0x43a0ce){const _0x34ce57=_0x103bec;return this[_0x34ce57(0x10d)][_0x34ce57(0x123)][_0x34ce57(0x115)](_0x34ce57(0xf4))[_0x34ce57(0x117)](_0x43a0ce);}[_0x103bec(0xd7)](_0x25dccc){const _0x1c7266=_0x103bec;return this[_0x1c7266(0x10d)][_0x1c7266(0x123)][_0x1c7266(0x115)](_0x1c7266(0xf4))[_0x1c7266(0xd7)](_0x25dccc||{'toJSON':!0x1});}[_0x103bec(0x101)](){const _0x1b7cd8=_0x103bec,_0x32829a=this[_0x1b7cd8(0x10d)],_0x2d8f2a=_0x3a6712(_0x32829a,p),_0x4a1fa3=_0x32829a[_0x1b7cd8(0x123)][_0x1b7cd8(0x115)](_0x1b7cd8(0xcd)),_0x597e4d=_0x32829a[_0x1b7cd8(0x123)][_0x1b7cd8(0x115)](_0x1b7cd8(0x14b))[_0x1b7cd8(0xd8)];return _0x2d8f2a[_0x1b7cd8(0xf0)]=[_0x1b7cd8(0x13f),_0x1b7cd8(0x13b),_0x1b7cd8(0x11e)],delete _0x2d8f2a[_0x1b7cd8(0x11b)],(_0x2d8f2a[_0x1b7cd8(0x123)][_0x1b7cd8(0xbf)](RevisionViewerIntegration,_0x2ba39f,_0x53a805,class extends _0x5d3aea{static get[_0x1b7cd8(0xdb)](){const _0x29ebc9=_0x1b7cd8;return[_0x2ba39f,_0x29ebc9(0x14b)];}[_0x1b7cd8(0xc3)](){const _0x1b9020=_0x1b7cd8,_0x358269=this[_0x1b9020(0x10d)][_0x1b9020(0x123)][_0x1b9020(0x115)](_0x1b9020(0x14b));for(const _0x104822 of _0x597e4d)_0x104822[_0x1b9020(0xc2)]||_0x358269[_0x1b9020(0x148)](_0x104822['id'])||_0x358269[_0x1b9020(0xd0)](_0x104822);const _0x19f815=_0x4a1fa3[_0x1b9020(0xf7)][_0x1b9020(0xd7)]();let _0x4ba5b9=null;const _0x5eab2d=this[_0x1b9020(0x10d)][_0x1b9020(0x123)][_0x1b9020(0x115)](_0x1b9020(0xc5));_0x5eab2d[_0x1b9020(0x13e)]=_0x4a1fa3[_0x1b9020(0x13e)],_0x5eab2d[_0x1b9020(0x143)](_0x1b9020(0x119))['to'](_0x4a1fa3),this[_0x1b9020(0x10d)][_0x1b9020(0x10a)][_0x1b9020(0x115)](_0x1b9020(0x13b))[_0x1b9020(0x143)](_0x1b9020(0x119))['to'](_0x32829a,_0x1b9020(0x12f),_0x204f82=>!_0x204f82);for(const _0xe3c2e7 of _0x19f815){const _0x2e851e=null===_0xe3c2e7[_0x1b9020(0xbb)];if(_0x2e851e&&_0xe3c2e7[_0x1b9020(0x114)]===_0xe3c2e7[_0x1b9020(0x14a)])continue;const _0x15555c=_0xe3c2e7[_0x1b9020(0xcc)]();_0x5eab2d[_0x1b9020(0x105)](_0x15555c,(_0xcbd3a4,_0x3909f6,_0x5e3dd9)=>{const _0x3abe6c=_0x1b9020;if(_0x2e851e){if(_0x4ba5b9)_0x4ba5b9[_0x3abe6c(0xc7)](_0xcbd3a4,_0x3909f6);else{if(!_0x3909f6){const _0x1a1647=_0x5e3dd9[_0x3abe6c(0xcc)]();_0x1a1647['id']=_0x39a0f3(),_0x4a1fa3[_0x3abe6c(0xe6)](_0x1a1647,_0x5e3dd9[_0x3abe6c(0x114)])[_0x3abe6c(0xbe)](_0x4297f3=>{_0x4ba5b9=_0x4297f3;});}}}else _0xe3c2e7[_0x3abe6c(0xc7)](_0xcbd3a4,_0x3909f6);});}}},_0x3a32d2),_0x2d8f2a);}[_0x103bec(0x128)](){const _0x5eb6ff=_0x103bec,_0x5ef964=this[_0x5eb6ff(0x10d)][_0x5eb6ff(0xf2)][_0x5eb6ff(0x115)](_0x5eb6ff(0x141))[_0x5eb6ff(0xec)];this[_0x5eb6ff(0x10d)][_0x5eb6ff(0xf2)][_0x5eb6ff(0xc6)](_0x5eb6ff(0x12d),async()=>{const _0x3148bc=_0x5eb6ff;this[_0x3148bc(0x10d)][_0x3148bc(0xeb)](_0x3148bc(0xed));const _0x54db76=this[_0x3148bc(0x10d)][_0x3148bc(0x123)][_0x3148bc(0x115)](_0x3148bc(0xcd));if(this[_0x3148bc(0x10d)][_0x3148bc(0x123)][_0x3148bc(0xc1)](_0x3148bc(0xe2))){const _0x58fff0=this[_0x3148bc(0x10d)][_0x3148bc(0x123)][_0x3148bc(0x115)](_0x3148bc(0xe2));await _0x58fff0[_0x3148bc(0xbd)]();}else await _0x54db76[_0x3148bc(0x135)]();if(this[_0x3148bc(0x10d)][_0x3148bc(0x123)][_0x3148bc(0xc1)](_0x3148bc(0x144))&&this[_0x3148bc(0x10d)][_0x3148bc(0x123)][_0x3148bc(0x115)](_0x3148bc(0x144))[_0x3148bc(0x137)](),this[_0x3148bc(0x10d)][_0x3148bc(0x123)][_0x3148bc(0xc1)](_0x3148bc(0xdc))){const _0x17547d=this[_0x3148bc(0x10d)][_0x3148bc(0x123)][_0x3148bc(0x115)](_0x3148bc(0xdc));_0x17547d[_0x3148bc(0xba)]&&_0x17547d[_0x3148bc(0xfa)]();}const _0x5775e5=this[_0x3148bc(0x101)]();return _0x5ef964(_0x5775e5)[_0x3148bc(0xbe)](_0x544263=>{const _0x2b7498=_0x3148bc;return(this[_0x2b7498(0x100)]=_0x544263,this[_0x2b7498(0x10d)][_0x2b7498(0x123)][_0x2b7498(0xc1)](_0x2b7498(0xe1)))&&this[_0x2b7498(0x10d)][_0x2b7498(0x123)][_0x2b7498(0x115)](_0x2b7498(0xe1))[_0x2b7498(0xf5)](),(this[_0x2b7498(0x10d)][_0x2b7498(0x123)][_0x2b7498(0xc1)](_0x2b7498(0xce))&&(this[_0x2b7498(0x10d)][_0x2b7498(0x123)][_0x2b7498(0x115)](_0x2b7498(0x108))[_0x2b7498(0x126)][_0x2b7498(0x129)][_0x2b7498(0xfe)][_0x2b7498(0xb7)]=_0x2b7498(0x124)),_0x544263);})[_0x3148bc(0x132)](_0x4daac5=>(console[_0x3148bc(0xc8)](_0x4daac5),this[_0x3148bc(0x10d)][_0x3148bc(0x11c)](_0x3148bc(0xed)),null));});}[_0x103bec(0xbc)](){const _0x5b6306=_0x103bec,_0x127a61=this[_0x5b6306(0x10d)][_0x5b6306(0xf2)][_0x5b6306(0x115)](_0x5b6306(0x141))[_0x5b6306(0xd2)];this[_0x5b6306(0x10d)][_0x5b6306(0xf2)][_0x5b6306(0xc6)](_0x5b6306(0x116),()=>(this[_0x5b6306(0x10d)][_0x5b6306(0x123)][_0x5b6306(0xc1)](_0x5b6306(0x144))&&this[_0x5b6306(0x10d)][_0x5b6306(0x123)][_0x5b6306(0x115)](_0x5b6306(0x144))[_0x5b6306(0x137)](),this[_0x5b6306(0x10d)][_0x5b6306(0x123)][_0x5b6306(0xc1)](_0x5b6306(0xce))&&(this[_0x5b6306(0x10d)][_0x5b6306(0x123)][_0x5b6306(0x115)](_0x5b6306(0x108))[_0x5b6306(0x126)][_0x5b6306(0x129)][_0x5b6306(0xfe)][_0x5b6306(0xb7)]=''),this[_0x5b6306(0x100)][_0x5b6306(0x123)][_0x5b6306(0x115)](_0x5b6306(0xc5))[_0x5b6306(0x11a)](),_0x127a61(this[_0x5b6306(0x100)])[_0x5b6306(0xbe)](()=>{const _0x4e1239=_0x5b6306;if(this[_0x4e1239(0x10d)][_0x4e1239(0x11c)](_0x4e1239(0xed)),this[_0x4e1239(0x100)]=null,this[_0x4e1239(0x10d)][_0x4e1239(0x123)][_0x4e1239(0xc1)](_0x4e1239(0xe1))){const _0x5d4100=this[_0x4e1239(0x10d)][_0x4e1239(0x123)][_0x4e1239(0x115)](_0x4e1239(0xe1));_0x5d4100[_0x4e1239(0xf5)](),_0x5d4100[_0x4e1239(0xca)]();}})));}[_0x103bec(0xb6)](_0x1696c2){const _0x5362de=_0x103bec,_0x555658=this[_0x5362de(0x10d)][_0x5362de(0xf2)][_0x5362de(0x115)](_0x5362de(0x142)),_0x3eaae4=this[_0x5362de(0x10d)][_0x5362de(0xf2)][_0x5362de(0x115)](_0x5362de(0xe8)),_0x1f35c4=this[_0x5362de(0x10d)][_0x5362de(0xf2)][_0x5362de(0x115)](_0x5362de(0x12a));return _0xa30ec9[_0x5362de(0x12e)](_0x1f35c4,_0x1696c2)[_0x5362de(0xbe)](_0x3e8aaf=>(_0x3eaae4[_0x5362de(0xfe)][_0x5362de(0xb7)]=_0x5362de(0xd1),_0x555658[_0x5362de(0xfe)][_0x5362de(0xb7)]=_0x5362de(0x124),this[_0x5362de(0x10c)]=!0x0,_0x3e8aaf));}[_0x103bec(0xfc)](_0x141ee9){const _0x15a91d=_0x103bec,_0x426488=this[_0x15a91d(0x10d)][_0x15a91d(0xf2)][_0x15a91d(0x115)](_0x15a91d(0x142));return this[_0x15a91d(0x10d)][_0x15a91d(0xf2)][_0x15a91d(0x115)](_0x15a91d(0xe8))[_0x15a91d(0xfe)][_0x15a91d(0xb7)]=_0x15a91d(0x124),_0x426488[_0x15a91d(0xfe)][_0x15a91d(0xb7)]='',this[_0x15a91d(0x10c)]=!0x1,_0x141ee9[_0x15a91d(0xf8)]();}async[_0x103bec(0xfd)](_0x307736){const _0x3f1f39=_0x103bec,_0x199b4e=this[_0x3f1f39(0x10d)],_0x5adddb=this[_0x3f1f39(0x100)][_0x3f1f39(0x123)][_0x3f1f39(0x115)](_0x3f1f39(0xc5)),_0x52d5c7=_0x199b4e[_0x3f1f39(0x123)][_0x3f1f39(0x115)](_0x3f1f39(0xcd)),_0x408496=_0x199b4e[_0x3f1f39(0x123)][_0x3f1f39(0x115)](_0x3f1f39(0x106)),_0x16047a=_0x5adddb[_0x3f1f39(0xf7)][_0x3f1f39(0x117)](_0x307736);let _0x39de9b,_0x1a0a07,_0x2b045f;try{await _0x408496[_0x3f1f39(0x11d)](_0x16047a,this[_0x3f1f39(0x13e)]),_0x39de9b=_0x408496[_0x3f1f39(0x111)](_0x16047a),_0x1a0a07=_0x408496[_0x3f1f39(0xee)](_0x16047a);}catch(_0x1f40ab){return void console[_0x3f1f39(0xc8)](_0x1f40ab);}_0x199b4e[_0x3f1f39(0x10b)][_0x3f1f39(0xb8)](_0xf0a835=>{const _0x3ab65d=_0x3f1f39;for(const _0x411b58 of Array[_0x3ab65d(0xfb)](_0x199b4e[_0x3ab65d(0x10b)][_0x3ab65d(0x13c)][_0x3ab65d(0x147)](_0x3ab65d(0xe0))))_0xf0a835[_0x3ab65d(0xc9)](_0x411b58);}),_0x5adddb[_0x3f1f39(0x103)]=!0x1,_0x199b4e[_0x3f1f39(0x10b)][_0x3f1f39(0x140)](_0x4b331f=>{const _0x30c282=_0x3f1f39;_0x4b331f[_0x30c282(0x134)](null),_0x4b331f[_0x30c282(0x136)](_0x199b4e[_0x30c282(0x10b)][_0x30c282(0xf6)][_0x30c282(0xdf)][_0x30c282(0x109)]());const _0x3af211=Object[_0x30c282(0x120)](_0x39de9b);for(const _0x95cac2 of _0x199b4e[_0x30c282(0x10b)][_0x30c282(0xf6)][_0x30c282(0xd3)])_0x30c282(0xe7)!=_0x95cac2[_0x30c282(0x112)]&&_0x95cac2[_0x30c282(0x14c)]()&&!_0x3af211[_0x30c282(0xe9)](_0x95cac2[_0x30c282(0x112)])&&_0x4b331f[_0x30c282(0x146)](_0x95cac2);for(const _0x13a5e5 of _0x3af211){let _0x160c07=_0x199b4e[_0x30c282(0x10b)][_0x30c282(0xf6)][_0x30c282(0x12b)](_0x13a5e5);_0x160c07&&_0x160c07[_0x30c282(0x14c)]()||(_0x160c07=_0x4b331f[_0x30c282(0x127)](_0x13a5e5));const _0x2c4a37=_0x1a0a07[_0x13a5e5],_0x232460=Object[_0x30c282(0x120)](_0x2c4a37),_0x28c90e=_0x39de9b[_0x13a5e5];for(const _0x549fd3 of _0x160c07[_0x30c282(0x109)]())_0x232460[_0x30c282(0xe9)](_0x549fd3)||_0x4b331f[_0x30c282(0xdd)](_0x549fd3,_0x160c07);for(const _0x2ec0c5 of _0x232460)_0x4b331f[_0x30c282(0xd5)](_0x2ec0c5,_0x1a0a07[_0x13a5e5][_0x2ec0c5],_0x160c07);_0x4b331f[_0x30c282(0x131)](_0x4b331f[_0x30c282(0xcf)](_0x160c07)),_0x4b331f[_0x30c282(0xef)](_0x199b4e[_0x30c282(0x113)][_0x30c282(0x122)](_0x28c90e,_0x160c07),_0x160c07,0x0);}});const _0xcc9736=_0x3c3843(_0x199b4e[_0x3f1f39(0xb5)],_0x3f1f39(0xea));if(_0x16047a[_0x3f1f39(0xf3)])_0x2b045f=-0x1==_0x16047a[_0x3f1f39(0xf3)][_0x3f1f39(0xf9)](_0xcc9736)?_0xcc9736+':\x20'+_0x16047a[_0x3f1f39(0xf3)]:_0x16047a[_0x3f1f39(0xf3)];else _0x2b045f=_0xcc9736+':\x20'+(_0x16047a[_0x3f1f39(0x107)][_0x3f1f39(0xc4)](_0x199b4e[_0x3f1f39(0xb5)][_0x3f1f39(0x133)],{'month':_0x3f1f39(0x10e),'day':_0x3f1f39(0x121)})+',\x20'+_0x16047a[_0x3f1f39(0x107)][_0x3f1f39(0x110)](_0x199b4e[_0x3f1f39(0xb5)][_0x3f1f39(0x133)],{'hour':_0x3f1f39(0x121),'minute':_0x3f1f39(0x121)}));return await _0x52d5c7[_0x3f1f39(0xe6)]({'name':_0x2b045f}),_0x5adddb[_0x3f1f39(0x103)]=!0x0,_0x199b4e[_0x3f1f39(0xf2)][_0x3f1f39(0x115)](_0x3f1f39(0x141))[_0x3f1f39(0xd2)]();}}
|
|
@@ -52,8 +52,8 @@ export interface RevisionHistoryConfig {
|
|
|
52
52
|
*
|
|
53
53
|
* Note that for real-time collaboration, the unsaved revision will be always resumed if the real-time editing session is still active.
|
|
54
54
|
* In other words, even if this is set to `false`, the unsaved revision will be resumed, if the editing session did not end since the
|
|
55
|
-
* editor was re-initialized. Keep in mind that
|
|
56
|
-
*
|
|
55
|
+
* editor was re-initialized. Keep in mind that [the editing session is active a long time]
|
|
56
|
+
* (https://ckeditor.com/docs/cs/latest/guides/collaboration/data.html#temporary-and-permanent-data) after the last user
|
|
57
57
|
* leaves the document.
|
|
58
58
|
*/
|
|
59
59
|
resumeUnsavedRevision: boolean;
|
|
@@ -0,0 +1,64 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* @license Copyright (c) 2003-2025, CKSource Holding sp. z o.o. All rights reserved.
|
|
3
|
+
* For licensing, see LICENSE.md or https://ckeditor.com/legal/ckeditor-licensing-options
|
|
4
|
+
*/
|
|
5
|
+
/**
|
|
6
|
+
* @module revision-history/revisionhistoryutils
|
|
7
|
+
*/
|
|
8
|
+
import { Plugin } from 'ckeditor5/src/core.js';
|
|
9
|
+
import type { RevisionHistoryAdapter } from './revisionhistoryadapter.js';
|
|
10
|
+
import type { default as Revision } from './revision.js';
|
|
11
|
+
/**
|
|
12
|
+
* Common utilities used by plugins in the revision history package.
|
|
13
|
+
*/
|
|
14
|
+
export default class RevisionHistoryUtils extends Plugin {
|
|
15
|
+
static get pluginName(): "RevisionHistoryUtils";
|
|
16
|
+
/**
|
|
17
|
+
* @inheritDoc
|
|
18
|
+
*/
|
|
19
|
+
static get isOfficialPlugin(): true;
|
|
20
|
+
/**
|
|
21
|
+
* @inheritDoc
|
|
22
|
+
*/
|
|
23
|
+
static get isPremiumPlugin(): true;
|
|
24
|
+
/**
|
|
25
|
+
* Loads {@link module:revision-history/revision~Revision#diffData} of a specified `revision` if it has not been loaded yet.
|
|
26
|
+
*/
|
|
27
|
+
loadRevisionData(revision: Revision, adapter: RevisionHistoryAdapter | null): Promise<void>;
|
|
28
|
+
/**
|
|
29
|
+
* Returns document data for given revision.
|
|
30
|
+
*
|
|
31
|
+
* The document data is HTML or a different format, depending on the editor configuration.
|
|
32
|
+
*
|
|
33
|
+
* This method returns a promise which resolves with an object, where keys are root names and values are these roots' data. Most
|
|
34
|
+
* editor setups use just one root, which has the default name `main`. In this case, the promise will resolve with an object
|
|
35
|
+
* similar to this:
|
|
36
|
+
*
|
|
37
|
+
* ```ts
|
|
38
|
+
* { main: "<p>Sample document data.</p>" }
|
|
39
|
+
* ```
|
|
40
|
+
*
|
|
41
|
+
* Please note, that the data returned by this method uses
|
|
42
|
+
* {@link module:engine/dataprocessor/dataprocessor~DataProcessor#useFillerType marked fillers mode}. This means that some ` `
|
|
43
|
+
* characters in the returned data may be wrapped with `<span data-cke-filler="true"> </span>`. Take this difference into
|
|
44
|
+
* consideration if you plan to compare revision data with the data returned by `editor.getData()`.
|
|
45
|
+
*
|
|
46
|
+
* See also {@link module:revision-history/revisionhistoryutils~RevisionHistoryUtils#getRevisionRootsAttributes}.
|
|
47
|
+
*/
|
|
48
|
+
getRevisionDocumentData(revision: Revision): Record<string, string>;
|
|
49
|
+
/**
|
|
50
|
+
* Returns roots attributes for given revision.
|
|
51
|
+
*
|
|
52
|
+
* This method returns a promise which resolves with an object, where keys are root names and values are these roots' attributes.
|
|
53
|
+
*
|
|
54
|
+
* Most editor setups use just one root, which has the default name `main`. Also, most editor setup do not use any root attributes.
|
|
55
|
+
* In this case, the promise will resolve with following object:
|
|
56
|
+
*
|
|
57
|
+
* ```ts
|
|
58
|
+
* { main: {} }
|
|
59
|
+
* ```
|
|
60
|
+
*
|
|
61
|
+
* See also {@link module:revision-history/revisionhistoryutils~RevisionHistoryUtils#getRevisionDocumentData}.
|
|
62
|
+
*/
|
|
63
|
+
getRevisionRootsAttributes(revision: Revision): Record<string, Record<string, unknown>>;
|
|
64
|
+
}
|
|
@@ -0,0 +1,23 @@
|
|
|
1
|
+
/*
|
|
2
|
+
* Copyright (c) 2003-2025, CKSource Holding sp. z o.o. All rights reserved.
|
|
3
|
+
*
|
|
4
|
+
*
|
|
5
|
+
*
|
|
6
|
+
*
|
|
7
|
+
* +---------------------------------------------------------------------------------+
|
|
8
|
+
* | |
|
|
9
|
+
* | Hello stranger! |
|
|
10
|
+
* | |
|
|
11
|
+
* | |
|
|
12
|
+
* | What you're currently looking at is the source code of a legally protected, |
|
|
13
|
+
* | proprietary software. Any attempts to deobfuscate / disassemble this code |
|
|
14
|
+
* | are forbidden and will result in legal consequences. |
|
|
15
|
+
* | |
|
|
16
|
+
* | |
|
|
17
|
+
* +---------------------------------------------------------------------------------+
|
|
18
|
+
*
|
|
19
|
+
*
|
|
20
|
+
*
|
|
21
|
+
*
|
|
22
|
+
*/
|
|
23
|
+
const _0x4e8417=_0x252e;(function(_0x2433a6,_0x22821a){const _0x4af202=_0x252e,_0x1ceab0=_0x2433a6();while(!![]){try{const _0x43d95a=-parseInt(_0x4af202(0xd0))/0x1+-parseInt(_0x4af202(0xc2))/0x2+parseInt(_0x4af202(0xed))/0x3+-parseInt(_0x4af202(0xe3))/0x4*(parseInt(_0x4af202(0xe0))/0x5)+parseInt(_0x4af202(0xda))/0x6+parseInt(_0x4af202(0xee))/0x7*(parseInt(_0x4af202(0xdb))/0x8)+parseInt(_0x4af202(0xef))/0x9;if(_0x43d95a===_0x22821a)break;else _0x1ceab0['push'](_0x1ceab0['shift']());}catch(_0x44296a){_0x1ceab0['push'](_0x1ceab0['shift']());}}}(_0x5568,0xc8917));function _0x252e(_0xe063a0,_0x7d353f){const _0x5568ef=_0x5568();return _0x252e=function(_0x252e85,_0x266a93){_0x252e85=_0x252e85-0xbd;let _0x5e93a5=_0x5568ef[_0x252e85];return _0x5e93a5;},_0x252e(_0xe063a0,_0x7d353f);}import{Plugin as _0x5622c0}from'ckeditor5/src/core.js';import{ViewDocumentFragment as _0x1d748c,ViewText as _0x53b356,ViewElement as _0x33fe9d,ViewContainerElement as _0xda6e4b,ViewAttributeElement as _0x2a9679,ViewEmptyElement as _0x4474f4,ViewRawElement as _0x2971d0,ViewUIElement as _0x1478cd}from'ckeditor5/src/engine.js';function _0x5568(){const _0x14a816=['collaboration.channelId','editing','customProperties','forEach','toData','insertions','name','getRevision','render','view','get','2434298mxklFX','data','document','filter','createElement','useFillerType','getRevisionDocumentData','htmlProcessor','_setCustomProperty','processor','diffData','_getViewFromDiffObj','getFillerOffset','length','1448932KIcPuE','from','revision-end','isOfficialPlugin','viewChildrenToDom','data-revision-','attributesAfter','_viewClassToTypeChar','string','_appendChild','7747458lHwceQ','18440MWshuK','editor','fillerOffset','_makeModelFromViewString','domDocument','10PpFISd','attachChange','_getTypeCharForViewElement','2675748rLGHQA','isAttached','_removeRevisionMarkers','childNodes','children','div','attributes','_typeCharToViewClass','pluginName','toModel','4479426ktwPzU','4865wlqUEb','3952098AnuZZM','startsWith','revision-start','constructor','domConverter','map','domChildrenToView','config','default','isPremiumPlugin','append','marked','RevisionHistoryUtils','getRevisionRootsAttributes','parse','type','innerHTML','loadRevisionData'];_0x5568=function(){return _0x14a816;};return _0x5568();}export default class V extends _0x5622c0{static get[_0x4e8417(0xeb)](){const _0x1c8a67=_0x4e8417;return _0x1c8a67(0xfb);}static get[_0x4e8417(0xd3)](){return!0x0;}static get[_0x4e8417(0xf8)](){return!0x0;}[_0x4e8417(0xd7)]=new Map([[_0xda6e4b,'c'],[_0x2a9679,'a'],[_0x4474f4,'e'],[_0x2971d0,'r'],[_0x1478cd,'u']]);[_0x4e8417(0xea)]=new Map([['c',_0xda6e4b],['a',_0x2a9679],['e',_0x4474f4],['r',_0x2971d0],['u',_0x1478cd]]);async[_0x4e8417(0x100)](_0x559349,_0x464961){const _0x4f6c6c=_0x4e8417;if(_0x559349[_0x4f6c6c(0xcc)]||!_0x464961)return;const _0x14da15=this[_0x4f6c6c(0xdc)][_0x4f6c6c(0xf6)][_0x4f6c6c(0xc1)](_0x4f6c6c(0x101)),_0x21213c=await _0x464961[_0x4f6c6c(0xbe)]({'channelId':_0x14da15,'revisionId':_0x559349['id']});_0x559349[_0x4f6c6c(0xcc)]=_0x21213c[_0x4f6c6c(0xcc)];}[_0x4e8417(0xc8)](_0x26fa36){const _0x1dd6dd=_0x4e8417,_0x4c17c8={};for(const _0x53f289 in _0x26fa36[_0x1dd6dd(0xcc)]){if(_0x26fa36[_0x1dd6dd(0xcc)][_0x53f289][_0x1dd6dd(0xe1)]&&!_0x26fa36[_0x1dd6dd(0xcc)][_0x53f289][_0x1dd6dd(0xe1)][_0x1dd6dd(0xe4)])continue;const _0x575d64=this[_0x1dd6dd(0xe5)](JSON[_0x1dd6dd(0xfd)](_0x26fa36[_0x1dd6dd(0xcc)][_0x53f289][_0x1dd6dd(0x106)])),_0x36aeac=this[_0x1dd6dd(0xdc)][_0x1dd6dd(0x102)][_0x1dd6dd(0xc0)][_0x1dd6dd(0xc4)],_0x30ab1f=new _0x1d748c(_0x36aeac,_0x575d64[_0x1dd6dd(0xf4)](_0x1c5e40=>this[_0x1dd6dd(0xcd)](_0x1c5e40,!0x1)));this[_0x1dd6dd(0xdc)][_0x1dd6dd(0xc3)][_0x1dd6dd(0xcb)][_0x1dd6dd(0xc7)](_0x1dd6dd(0xfa)),_0x4c17c8[_0x53f289]=this[_0x1dd6dd(0xdc)][_0x1dd6dd(0xc3)][_0x1dd6dd(0xcb)][_0x1dd6dd(0x105)](_0x30ab1f),this[_0x1dd6dd(0xdc)][_0x1dd6dd(0xc3)][_0x1dd6dd(0xcb)][_0x1dd6dd(0xc7)](_0x1dd6dd(0xf7));}return _0x4c17c8;}[_0x4e8417(0xfc)](_0x56590a){const _0x456e31=_0x4e8417,_0x2e9bbc={};for(const _0x174499 in _0x56590a[_0x456e31(0xcc)])_0x56590a[_0x456e31(0xcc)][_0x174499][_0x456e31(0xe1)]&&!_0x56590a[_0x456e31(0xcc)][_0x174499][_0x456e31(0xe1)][_0x456e31(0xe4)]||(_0x2e9bbc[_0x174499]=_0x56590a[_0x456e31(0xcc)][_0x174499][_0x456e31(0xd6)]||{});return _0x2e9bbc;}[_0x4e8417(0xe2)](_0x3897ea){const _0x1b44b0=_0x4e8417;return this[_0x1b44b0(0xd7)][_0x1b44b0(0xc1)](_0x3897ea[_0x1b44b0(0xf2)]);}[_0x4e8417(0xcd)](_0x59a3c8,_0x2f4246){const _0x55e1dc=_0x4e8417,_0x12b897=this[_0x55e1dc(0xdc)][_0x55e1dc(0x102)][_0x55e1dc(0xc0)][_0x55e1dc(0xc4)];if(_0x55e1dc(0xd8)==typeof _0x59a3c8)return new _0x53b356(_0x12b897,_0x59a3c8);{let _0x1042b7,_0x22a0fe;_0x22a0fe='u'==_0x59a3c8[_0x55e1dc(0xfe)]||'r'==_0x59a3c8[_0x55e1dc(0xfe)]?[]:_0x59a3c8[_0x55e1dc(0xe7)][_0x55e1dc(0xf4)](_0x4ec090=>this[_0x55e1dc(0xcd)](_0x4ec090,_0x2f4246));const _0xad19ce=this[_0x55e1dc(0xea)][_0x55e1dc(0xc1)](_0x59a3c8[_0x55e1dc(0xfe)])||_0x33fe9d,_0x13e56d=this[_0x55e1dc(0xdc)][_0x55e1dc(0xc3)][_0x55e1dc(0xc9)][_0x55e1dc(0xf3)];if(_0x1042b7=new _0xad19ce(_0x12b897,_0x59a3c8[_0x55e1dc(0xbd)],_0x59a3c8[_0x55e1dc(0xe9)],_0x22a0fe),'u'==_0x59a3c8[_0x55e1dc(0xfe)]){const _0x57de9c=_0x59a3c8[_0x55e1dc(0xe7)][0x0];if(_0x1042b7[_0x55e1dc(0xbf)]=function(_0x36e27b){const _0x9f6951=_0x55e1dc,_0x4a8525=_0x36e27b[_0x9f6951(0xc6)](_0x9f6951(0xe8));return _0x4a8525[_0x9f6951(0xff)]=_0x57de9c,_0x4a8525[_0x9f6951(0xe6)][0x0];},_0x2f4246){const _0x31ab6e=new _0x1d748c(_0x12b897);_0x31ab6e[_0x55e1dc(0xd9)](_0x1042b7);const _0x53a2c6=Array[_0x55e1dc(0xd1)](_0x13e56d[_0x55e1dc(0xd4)](_0x31ab6e,{'bind':!0x1})),_0x173220=_0x13e56d[_0x55e1dc(0xdf)][_0x55e1dc(0xc6)](_0x55e1dc(0xe8));_0x173220[_0x55e1dc(0xf9)](..._0x53a2c6),_0x1042b7=Array[_0x55e1dc(0xd1)](_0x13e56d[_0x55e1dc(0xf5)](_0x173220))[0x0];}}else{if('r'==_0x59a3c8[_0x55e1dc(0xfe)]){const _0x48f26d=_0x59a3c8[_0x55e1dc(0xe7)][0x0];if(_0x1042b7[_0x55e1dc(0xbf)]=function(_0x269fd1){const _0x2ede60=_0x55e1dc;_0x269fd1[_0x2ede60(0xff)]=_0x48f26d;},_0x2f4246){const _0x38d876=new _0x1d748c(_0x12b897);_0x38d876[_0x55e1dc(0xd9)](_0x1042b7);const _0x48f638=Array[_0x55e1dc(0xd1)](_0x13e56d[_0x55e1dc(0xd4)](_0x38d876,{'bind':!0x1})),_0x521a18=_0x13e56d[_0x55e1dc(0xdf)][_0x55e1dc(0xc6)](_0x55e1dc(0xe8));_0x521a18[_0x55e1dc(0xf9)](..._0x48f638);const _0x4130d8=Array[_0x55e1dc(0xd1)](_0x13e56d[_0x55e1dc(0xf5)](_0x521a18));_0x4130d8[_0x55e1dc(0xcf)]>0x1?_0x1042b7[_0x55e1dc(0xd9)](_0x4130d8):_0x1042b7=_0x4130d8[0x0];}}}if(_0x59a3c8[_0x55e1dc(0x103)]){for(const [_0x23e204,_0x23fc5d]of _0x59a3c8[_0x55e1dc(0x103)])_0x1042b7[_0x55e1dc(0xca)](_0x23e204,_0x23fc5d);}const _0x2bfbfc=_0x59a3c8[_0x55e1dc(0xdd)]||null;return _0x1042b7[_0x55e1dc(0xce)]=()=>_0x2bfbfc,_0x1042b7;}}[_0x4e8417(0xde)](_0x2a37ca){const _0x202ac8=_0x4e8417,_0x27ed12=JSON[_0x202ac8(0xfd)](_0x2a37ca),_0x2acef1=this[_0x202ac8(0xdc)][_0x202ac8(0x102)][_0x202ac8(0xc0)][_0x202ac8(0xc4)],_0x1c3501=new _0x1d748c(_0x2acef1,_0x27ed12[_0x202ac8(0xf4)](_0xe8cdb7=>this[_0x202ac8(0xcd)](_0xe8cdb7,!0x0)));return this[_0x202ac8(0xdc)][_0x202ac8(0xc3)][_0x202ac8(0xec)](_0x1c3501);}[_0x4e8417(0xe5)](_0x2220d4){const _0x2cfba0=_0x4e8417;return(_0x2220d4=_0x2220d4[_0x2cfba0(0xc5)](_0x2fb125=>!_0x2fb125[_0x2cfba0(0xbd)]||_0x2cfba0(0xf1)!==_0x2fb125[_0x2cfba0(0xbd)]&&_0x2cfba0(0xd2)!==_0x2fb125[_0x2cfba0(0xbd)]))[_0x2cfba0(0x104)](_0x4378d7=>{const _0x4fc0d4=_0x2cfba0;_0x4fc0d4(0xd8)!=typeof _0x4378d7&&(_0x4378d7[_0x4fc0d4(0xe7)]=this[_0x4fc0d4(0xe5)](_0x4378d7[_0x4fc0d4(0xe7)]),_0x4378d7[_0x4fc0d4(0xe9)]=_0x4378d7[_0x4fc0d4(0xe9)][_0x4fc0d4(0xc5)](_0x4382f6=>!_0x4382f6[0x0][_0x4fc0d4(0xf0)](_0x4fc0d4(0xd5))));}),_0x2220d4;}}
|