@ckeditor/ckeditor5-revision-history 46.1.0-alpha.0 → 46.1.0-alpha.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.js +7 -7
- 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/be.js +1 -1
- package/dist/translations/be.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/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.js +1 -1
- package/src/revision.js +2 -2
- package/src/revisiondiff.js +1 -1
- package/src/revisionhistory.js +1 -1
- package/src/revisionhistoryutils.js +1 -1
- package/src/revisionsrepository.js +1 -1
- package/src/revisiontracker.js +1 -1
- 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 +2 -2
- 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
|
-
(
|
|
23
|
+
(_0x359720=>{const {vi:{dictionary:_0x10a82f,getPluralForm:_0x16d961}}={'vi':{'dictionary':{'Restored':'Được\x20khôi\x20phục','Empty\x20document':'Tài\x20liệu\x20trống','Initial\x20revision':'Bản\x20sửa\x20đổi\x20ban\x20đầu','Compare\x20against\x20selected':'So\x20sánh\x20với\x20bản\x20sửa\x20đổi\x20được\x20chọn','Name\x20this\x20revision':'Đặt\x20tên\x20cho\x20bản\x20sửa\x20đổi\x20này','Revision\x20creator':'Người\x20lưu\x20bản\x20sửa\x20đổi','Revision\x20author':'Tác\x20giả\x20bản\x20sửa\x20đổi','Revision\x20name':'Tên\x20bản\x20sửa\x20đổi','Name\x20of\x20the\x20revision':'Tên\x20của\x20bản\x20sửa\x20đổi','optional':'không\x20bắt\x20buộc','Save\x20current\x20revision':'Lưu\x20bản\x20sửa\x20đổi\x20hiện\x20tại','Open\x20revision\x20history':'Mở\x20lịch\x20sử\x20sửa\x20đổi','Revision\x20history':'Lịch\x20sử\x20sửa\x20đổi','Suggested\x20by':'Người\x20đề\x20xuất:','Added\x20by':'Người\x20thêm:','Removed\x20by':'Người\x20xóa:','Loading...':'Đang\x20tải...','No\x20changes':'Không\x20có\x20nội\x20dung\x20thay\x20đổi','NUMBER_OF_CHANGES':'%0\x20nội\x20dung\x20thay\x20đổi','X_OF_Y_CHANGES':'%0\x20đến\x20%1','Show\x20previous\x20change':'Hiện\x20nội\x20dung\x20thay\x20đổi\x20trước\x20đó','Show\x20next\x20change':'Hiện\x20nội\x20dung\x20thay\x20đổi\x20tiếp\x20theo','Total':'Tổng','EDIT_X_OF_Y_REVISIONS':'Chỉnh\x20sửa','Back\x20to\x20editing':'Quay\x20lại\x20chỉnh\x20sửa','Restore\x20this\x20revision':'Khôi\x20phục\x20bản\x20sửa\x20đổi','PENDING_ACTION_REVISION_HISTORY':'Nội\x20dung\x20thay\x20đổi\x20chưa\x20lưu\x20trong\x20lịch\x20sử\x20sửa\x20đổi','Enter\x20the\x20revision\x20name':'Nhập\x20tên\x20bản\x20sửa\x20đổi','The\x20revision\x20name\x20cannot\x20be\x20empty.':'Không\x20được\x20để\x20trống\x20tên\x20bản\x20sửa\x20đổi.'},'getPluralForm':_0x563e85=>0x0}};_0x359720['vi']||={'dictionary':{},'getPluralForm':null},_0x359720['vi']['dictionary']=Object['assign'](_0x359720['vi']['dictionary'],_0x10a82f),_0x359720['vi']['getPluralForm']=_0x16d961;})(window['CKEDITOR_TRANSLATIONS']||={});
|
|
@@ -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':_0x1ac934=>0x0}};
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
(
|
|
23
|
+
(_0x5b3bd6=>{const {'zh-cn':{dictionary:_0x3c46bc,getPluralForm:_0x39b5a4}}={'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':_0x2e59b9=>0x0}};_0x5b3bd6['zh-cn']||={'dictionary':{},'getPluralForm':null},_0x5b3bd6['zh-cn']['dictionary']=Object['assign'](_0x5b3bd6['zh-cn']['dictionary'],_0x3c46bc),_0x5b3bd6['zh-cn']['getPluralForm']=_0x39b5a4;})(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':_0x5b31ac=>0x0}};
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
(
|
|
23
|
+
(_0x560888=>{const {zh:{dictionary:_0x15d94f,getPluralForm:_0xadd653}}={'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':_0x54fb50=>0x0}};_0x560888['zh']||={'dictionary':{},'getPluralForm':null},_0x560888['zh']['dictionary']=Object['assign'](_0x560888['zh']['dictionary'],_0x15d94f),_0x560888['zh']['getPluralForm']=_0xadd653;})(window['CKEDITOR_TRANSLATIONS']||={});
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@ckeditor/ckeditor5-revision-history",
|
|
3
|
-
"version": "46.1.0-alpha.
|
|
3
|
+
"version": "46.1.0-alpha.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": "46.1.0-alpha.
|
|
43
|
-
"@ckeditor/ckeditor5-comments": "46.1.0-alpha.
|
|
44
|
-
"@ckeditor/ckeditor5-core": "46.1.0-alpha.
|
|
45
|
-
"@ckeditor/ckeditor5-editor-classic": "46.1.0-alpha.
|
|
46
|
-
"@ckeditor/ckeditor5-engine": "46.1.0-alpha.
|
|
47
|
-
"@ckeditor/ckeditor5-icons": "46.1.0-alpha.
|
|
48
|
-
"@ckeditor/ckeditor5-ui": "46.1.0-alpha.
|
|
49
|
-
"@ckeditor/ckeditor5-utils": "46.1.0-alpha.
|
|
42
|
+
"@ckeditor/ckeditor5-autosave": "46.1.0-alpha.1",
|
|
43
|
+
"@ckeditor/ckeditor5-comments": "46.1.0-alpha.1",
|
|
44
|
+
"@ckeditor/ckeditor5-core": "46.1.0-alpha.1",
|
|
45
|
+
"@ckeditor/ckeditor5-editor-classic": "46.1.0-alpha.1",
|
|
46
|
+
"@ckeditor/ckeditor5-engine": "46.1.0-alpha.1",
|
|
47
|
+
"@ckeditor/ckeditor5-icons": "46.1.0-alpha.1",
|
|
48
|
+
"@ckeditor/ckeditor5-ui": "46.1.0-alpha.1",
|
|
49
|
+
"@ckeditor/ckeditor5-utils": "46.1.0-alpha.1",
|
|
50
50
|
"@types/luxon": "3.6.2",
|
|
51
|
-
"ckeditor5": "46.1.0-alpha.
|
|
52
|
-
"ckeditor5-collaboration": "46.1.0-alpha.
|
|
51
|
+
"ckeditor5": "46.1.0-alpha.1",
|
|
52
|
+
"ckeditor5-collaboration": "46.1.0-alpha.1",
|
|
53
53
|
"es-toolkit": "1.39.5",
|
|
54
54
|
"luxon": "3.6.1"
|
|
55
55
|
},
|
package/src/changeitem.js
CHANGED
|
@@ -20,5 +20,5 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
var
|
|
24
|
-
|
|
23
|
+
var _0x40b733=_0x5016;function _0x5016(_0x36d462,_0x48b732){var _0x12c8ef=_0x12c8();return _0x5016=function(_0x5016ec,_0xe990c4){_0x5016ec=_0x5016ec-0x109;var _0x305045=_0x12c8ef[_0x5016ec];return _0x305045;},_0x5016(_0x36d462,_0x48b732);}function _0x12c8(){var _0x3acf70=['7385TuJAMW','10JxWoix','toJSON','rootName','2645709BtsJMD','author','type','8DchWno','8OcYBeL','set','26736CgPTMb','3241091tprBLL','405PooqtW','1229307ZWBkiP','5150007uUEoXP','data','272222WISjbn','createdAt'];_0x12c8=function(){return _0x3acf70;};return _0x12c8();}(function(_0x4242c7,_0x41ede0){var _0x2c3d2d=_0x5016,_0x880e99=_0x4242c7();while(!![]){try{var _0x2c7867=-parseInt(_0x2c3d2d(0x117))/0x1+parseInt(_0x2c3d2d(0x115))/0x2+parseInt(_0x2c3d2d(0x112))/0x3*(parseInt(_0x2c3d2d(0x10d))/0x4)+parseInt(_0x2c3d2d(0x111))/0x5*(-parseInt(_0x2c3d2d(0x10f))/0x6)+-parseInt(_0x2c3d2d(0x110))/0x7*(parseInt(_0x2c3d2d(0x10c))/0x8)+parseInt(_0x2c3d2d(0x113))/0x9+parseInt(_0x2c3d2d(0x118))/0xa*(-parseInt(_0x2c3d2d(0x109))/0xb);if(_0x2c7867===_0x41ede0)break;else _0x880e99['push'](_0x880e99['shift']());}catch(_0x30f7ef){_0x880e99['push'](_0x880e99['shift']());}}}(_0x12c8,0x6f553));import{ObservableMixin as _0x228f2a,uid as _0x2c5032}from'ckeditor5/src/utils.js';export class ChangeItem extends/* #__PURE__ -- @preserve */
|
|
24
|
+
_0x228f2a(){['id'];[_0x40b733(0x10a)];[_0x40b733(0x10b)];[_0x40b733(0x114)];[_0x40b733(0x11a)];constructor(_0x25c012){var _0x73d086=_0x40b733;super(),this['id']=_0x25c012['id']||_0x2c5032(),this[_0x73d086(0x10a)]=_0x25c012[_0x73d086(0x10a)],this[_0x73d086(0x10b)]=_0x25c012[_0x73d086(0x10b)],this[_0x73d086(0x114)]=_0x25c012[_0x73d086(0x114)]||{},this[_0x73d086(0x11a)]=_0x25c012[_0x73d086(0x11a)],this[_0x73d086(0x10e)](_0x73d086(0x116),_0x25c012[_0x73d086(0x116)]);}[_0x40b733(0x119)](){var _0x22b982=_0x40b733;return{'id':this['id'],'authorId':this[_0x22b982(0x10a)]['id'],'type':this[_0x22b982(0x10b)],'data':this[_0x22b982(0x114)],'createdAt':this[_0x22b982(0x116)]};}}
|
|
@@ -20,5 +20,5 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
|
|
24
|
-
|
|
23
|
+
const _0x51adc0=_0x2416;(function(_0x23f1a4,_0x3f0379){const _0x5a3b75=_0x2416,_0x3b33d2=_0x23f1a4();while(!![]){try{const _0x28967a=parseInt(_0x5a3b75(0x1b6))/0x1+-parseInt(_0x5a3b75(0x1bc))/0x2+-parseInt(_0x5a3b75(0x1bd))/0x3+parseInt(_0x5a3b75(0x1cf))/0x4+-parseInt(_0x5a3b75(0x1ca))/0x5*(-parseInt(_0x5a3b75(0x1b8))/0x6)+parseInt(_0x5a3b75(0x1ba))/0x7*(-parseInt(_0x5a3b75(0x1c6))/0x8)+parseInt(_0x5a3b75(0x1c7))/0x9;if(_0x28967a===_0x3f0379)break;else _0x3b33d2['push'](_0x3b33d2['shift']());}catch(_0x249b70){_0x3b33d2['push'](_0x3b33d2['shift']());}}}(_0x14e4,0x6c64c));import{Editor as _0x292f72,ElementApiMixin as _0x91575d}from'ckeditor5/src/core.js';import{RevisionViewerEditorUI as _0x301c6a}from'./revisionviewereditorui.js';import{RevisionViewerEditorUIView as _0x37e36f}from'./revisionviewereditoruiview.js';export class RevisionViewerEditor extends/* #__PURE__ -- @preserve */
|
|
24
|
+
_0x91575d(_0x292f72){[_0x51adc0(0x1c3)];get['ui'](){const _0x1b748a=_0x51adc0;return this[_0x1b748a(0x1c3)];}constructor(_0x433214,_0x574fba){const _0x410970=_0x51adc0;super(_0x574fba),this[_0x410970(0x1ce)]=_0x433214,this[_0x410970(0x1bf)][_0x410970(0x1c4)][_0x410970(0x1cb)]();const _0x44a021=new _0x37e36f(this[_0x410970(0x1cd)],this[_0x410970(0x1b5)][_0x410970(0x1c2)],{'shouldToolbarGroupWhenFull':!0x0});this[_0x410970(0x1c3)]=new _0x301c6a(this,_0x44a021);}[_0x51adc0(0x1c0)](){const _0x5693e5=_0x51adc0;return this[_0x5693e5(0x1b9)](),this['ui'][_0x5693e5(0x1c0)](),super[_0x5693e5(0x1c0)]();}static async[_0x51adc0(0x1bb)](_0x48bab1,_0xd50fa8){const _0x592bba=_0x51adc0,_0x15498a=new this(_0x48bab1,_0xd50fa8);return await _0x15498a[_0x592bba(0x1b4)](),await _0x15498a['ui'][_0x592bba(0x1cc)](_0x48bab1),await _0x15498a[_0x592bba(0x1b7)][_0x592bba(0x1cc)](_0x15498a[_0x592bba(0x1c9)][_0x592bba(0x1c1)](_0x592bba(0x1be))||''),_0x15498a[_0x592bba(0x1c8)](_0x592bba(0x1c5)),_0x15498a;}}function _0x2416(_0x340dad,_0x4371ab){const _0x14e4b2=_0x14e4();return _0x2416=function(_0x2416ff,_0x4c823b){_0x2416ff=_0x2416ff-0x1b4;let _0x3b6144=_0x14e4b2[_0x2416ff];return _0x3b6144;},_0x2416(_0x340dad,_0x4371ab);}function _0x14e4(){const _0x26752e=['2174128Hciyxf','initPlugins','editing','245421szrnYf','data','5190nxAKuz','updateSourceElement','6503OkqLMk','create','927078gQbBGj','1036209qEwNVD','initialData','model','destroy','get','view','_ui','document','ready','5944RsLhBm','10006479uAHmVW','fire','config','245BhzGKq','createRoot','init','locale','sourceElement'];_0x14e4=function(){return _0x26752e;};return _0x14e4();}
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
function
|
|
23
|
+
const _0x1d4eee=_0x4fce;function _0x1903(){const _0x10091d=['ready','detachDomRoot','6IQMcyL','fillFromConfig','bind','isFocused','destroy','3154QUfHwD','setEditableElement','get','stickyPanel','editing','_elementReplacer','limiterElement','2049951oswXGJ','24FpaDPX','focusTracker','rootName','337NuAijH','31202868CNrwZi','_view','init','element','isActive','editor','viewportTopOffset','addToolbar','componentFactory','document','fire','toolbar','config','4ZskTjp','154tpgaxr','replace','view','viewportOffset','1283359qAEEiE','251730mtrsjM','2113587EXTiNv','name','editable','3055295IBnQeZ','attachDomRoot','restore','render','_initToolbar','getRoot','_toolbarConfig'];_0x1903=function(){return _0x10091d;};return _0x1903();}function _0x4fce(_0x298d0c,_0x1e6426){const _0x19035b=_0x1903();return _0x4fce=function(_0x4fceb0,_0x47cdf9){_0x4fceb0=_0x4fceb0-0x1f0;let _0x5eaf3e=_0x19035b[_0x4fceb0];return _0x5eaf3e;},_0x4fce(_0x298d0c,_0x1e6426);}(function(_0x18cfef,_0x4231ce){const _0x5ea3fb=_0x4fce,_0xa3c87e=_0x18cfef();while(!![]){try{const _0x2b7e9e=parseInt(_0x5ea3fb(0x1fc))/0x1*(-parseInt(_0x5ea3fb(0x1f1))/0x2)+parseInt(_0x5ea3fb(0x1f8))/0x3*(-parseInt(_0x5ea3fb(0x20a))/0x4)+parseInt(_0x5ea3fb(0x214))/0x5*(-parseInt(_0x5ea3fb(0x21d))/0x6)+parseInt(_0x5ea3fb(0x20f))/0x7*(-parseInt(_0x5ea3fb(0x1f9))/0x8)+-parseInt(_0x5ea3fb(0x211))/0x9+-parseInt(_0x5ea3fb(0x210))/0xa*(-parseInt(_0x5ea3fb(0x20b))/0xb)+parseInt(_0x5ea3fb(0x1fd))/0xc;if(_0x2b7e9e===_0x4231ce)break;else _0xa3c87e['push'](_0xa3c87e['shift']());}catch(_0x26656e){_0xa3c87e['push'](_0xa3c87e['shift']());}}}(_0x1903,0x537de));import{EditorUI as _0x5c6932,normalizeToolbarConfig as _0x38e4cf}from'ckeditor5/src/ui.js';import{ElementReplacer as _0x143f35}from'ckeditor5/src/utils.js';export class RevisionViewerEditorUI extends _0x5c6932{[_0x1d4eee(0x1fe)];[_0x1d4eee(0x21a)];[_0x1d4eee(0x1f6)];get[_0x1d4eee(0x20d)](){const _0x4b9f70=_0x1d4eee;return this[_0x4b9f70(0x1fe)];}constructor(_0x5243f7,_0x4f43eb){const _0x14a956=_0x1d4eee;super(_0x5243f7),this[_0x14a956(0x1fe)]=_0x4f43eb,this[_0x14a956(0x21a)]=_0x38e4cf(_0x5243f7[_0x14a956(0x209)][_0x14a956(0x1f3)](_0x14a956(0x208))),this[_0x14a956(0x1f6)]=new _0x143f35();}get[_0x1d4eee(0x200)](){const _0x3dc105=_0x1d4eee;return this[_0x3dc105(0x20d)][_0x3dc105(0x200)];}[_0x1d4eee(0x1ff)](_0x1235ce){const _0x901e42=_0x1d4eee,_0x17c9a5=this[_0x901e42(0x202)],_0x435483=this[_0x901e42(0x20d)],_0x4c0af5=_0x17c9a5[_0x901e42(0x1f5)][_0x901e42(0x20d)],_0x36a9a8=_0x435483[_0x901e42(0x213)],_0x5bf454=_0x4c0af5[_0x901e42(0x206)][_0x901e42(0x219)]();_0x36a9a8[_0x901e42(0x212)]=_0x5bf454[_0x901e42(0x1fb)],_0x435483[_0x901e42(0x217)]();const _0x5df177=_0x36a9a8[_0x901e42(0x200)];this[_0x901e42(0x1f2)](_0x36a9a8[_0x901e42(0x212)],_0x5df177),_0x435483[_0x901e42(0x213)][_0x901e42(0x21f)](_0x901e42(0x220))['to'](this[_0x901e42(0x1fa)]),_0x4c0af5[_0x901e42(0x215)](_0x5df177),this[_0x901e42(0x1f6)][_0x901e42(0x20c)](_0x1235ce,this[_0x901e42(0x200)]),this[_0x901e42(0x218)](),this[_0x901e42(0x207)](_0x901e42(0x21b));}[_0x1d4eee(0x1f0)](){const _0x54bb4c=_0x1d4eee;super[_0x54bb4c(0x1f0)]();const _0xc8c0c9=this[_0x54bb4c(0x20d)],_0x4e31d7=this[_0x54bb4c(0x202)][_0x54bb4c(0x1f5)][_0x54bb4c(0x20d)];this[_0x54bb4c(0x1f6)][_0x54bb4c(0x216)](),_0x4e31d7[_0x54bb4c(0x21c)](_0xc8c0c9[_0x54bb4c(0x213)][_0x54bb4c(0x212)]),_0xc8c0c9[_0x54bb4c(0x1f0)]();}[_0x1d4eee(0x218)](){const _0xb809c=_0x1d4eee,_0x35b734=this[_0xb809c(0x20d)];_0x35b734[_0xb809c(0x1f4)][_0xb809c(0x21f)](_0xb809c(0x201))['to'](this[_0xb809c(0x1fa)],_0xb809c(0x220)),_0x35b734[_0xb809c(0x1f4)][_0xb809c(0x1f7)]=_0x35b734[_0xb809c(0x200)],_0x35b734[_0xb809c(0x1f4)][_0xb809c(0x21f)](_0xb809c(0x203))['to'](this,_0xb809c(0x20e),({top:_0x1f45a9})=>_0x1f45a9),_0x35b734[_0xb809c(0x208)][_0xb809c(0x21e)](this[_0xb809c(0x21a)],this[_0xb809c(0x205)]),this[_0xb809c(0x204)](_0x35b734[_0xb809c(0x208)]);}}
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
|
|
23
|
+
var _0x44bf7f=_0x4a57;(function(_0x5eae23,_0x4813e0){var _0x3a77cd=_0x4a57,_0x3d74f1=_0x5eae23();while(!![]){try{var _0x56f448=parseInt(_0x3a77cd(0x8e))/0x1*(parseInt(_0x3a77cd(0x91))/0x2)+-parseInt(_0x3a77cd(0xa2))/0x3*(-parseInt(_0x3a77cd(0xa3))/0x4)+parseInt(_0x3a77cd(0x99))/0x5*(-parseInt(_0x3a77cd(0xa1))/0x6)+parseInt(_0x3a77cd(0x9f))/0x7*(-parseInt(_0x3a77cd(0xa0))/0x8)+-parseInt(_0x3a77cd(0x92))/0x9*(parseInt(_0x3a77cd(0x90))/0xa)+-parseInt(_0x3a77cd(0x97))/0xb*(-parseInt(_0x3a77cd(0x9c))/0xc)+-parseInt(_0x3a77cd(0x9e))/0xd;if(_0x56f448===_0x4813e0)break;else _0x3d74f1['push'](_0x3d74f1['shift']());}catch(_0x444ab1){_0x3d74f1['push'](_0x3d74f1['shift']());}}}(_0x2e3c,0xa7db9));import{BoxedEditorUIView as _0x4f067f,InlineEditableUIView as _0x55c116,StickyPanelView as _0x5419ff,ToolbarView as _0xc867a3}from'ckeditor5/src/ui.js';function _0x4a57(_0x28c586,_0x160ea1){var _0x2e3c31=_0x2e3c();return _0x4a57=function(_0x4a5769,_0x12df09){_0x4a5769=_0x4a5769-0x8e;var _0x3661c8=_0x2e3c31[_0x4a5769];return _0x3661c8;},_0x4a57(_0x28c586,_0x160ea1);}function _0x2e3c(){var _0x488855=['add','5rdOfXS','editable','shouldToolbarGroupWhenFull','12qGvMCS','content','7066150nqirRp','133DmexLf','100168GyJula','3059226QUIoHj','2665407aeTuUE','4DNsYcJ','top','22abvkGW','main','191060viyWav','72908aYsxNj','99ncgbtA','stickyPanel','_editable','render','toolbar','5484314ZwLQFX'];_0x2e3c=function(){return _0x488855;};return _0x2e3c();}import'@ckeditor/ckeditor5-editor-classic/theme/classiceditor.css';export class RevisionViewerEditorUIView extends _0x4f067f{[_0x44bf7f(0x94)];[_0x44bf7f(0x93)];[_0x44bf7f(0x96)];get[_0x44bf7f(0x9a)](){var _0xc47c1=_0x44bf7f;return this[_0xc47c1(0x94)];}constructor(_0xae91e,_0x41ecea,_0x63eb27={}){var _0x4638b6=_0x44bf7f;super(_0xae91e),this[_0x4638b6(0x93)]=new _0x5419ff(_0xae91e),this[_0x4638b6(0x96)]=new _0xc867a3(_0xae91e,{'shouldGroupWhenFull':_0x63eb27[_0x4638b6(0x9b)]}),this[_0x4638b6(0x94)]=new _0x55c116(_0xae91e,_0x41ecea);}[_0x44bf7f(0x95)](){var _0x1993b0=_0x44bf7f;super[_0x1993b0(0x95)](),this[_0x1993b0(0x93)][_0x1993b0(0x9d)][_0x1993b0(0x98)](this[_0x1993b0(0x96)]),this[_0x1993b0(0xa4)][_0x1993b0(0x98)](this[_0x1993b0(0x93)]),this[_0x1993b0(0x8f)][_0x1993b0(0x98)](this[_0x1993b0(0x9a)]);}}
|
package/src/index.js
CHANGED
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
(function(
|
|
23
|
+
function _0x3421(_0x18f5f6,_0x4f5ff0){var _0x232385=_0x2323();return _0x3421=function(_0x3421b4,_0x58c1ff){_0x3421b4=_0x3421b4-0x144;var _0x39b571=_0x232385[_0x3421b4];return _0x39b571;},_0x3421(_0x18f5f6,_0x4f5ff0);}(function(_0x3492dd,_0x2e445d){var _0x567510=_0x3421,_0x4dc470=_0x3492dd();while(!![]){try{var _0x25559f=parseInt(_0x567510(0x14d))/0x1*(-parseInt(_0x567510(0x147))/0x2)+parseInt(_0x567510(0x146))/0x3+-parseInt(_0x567510(0x148))/0x4*(parseInt(_0x567510(0x14e))/0x5)+parseInt(_0x567510(0x14b))/0x6*(parseInt(_0x567510(0x145))/0x7)+-parseInt(_0x567510(0x149))/0x8+parseInt(_0x567510(0x144))/0x9*(-parseInt(_0x567510(0x14c))/0xa)+parseInt(_0x567510(0x14a))/0xb;if(_0x25559f===_0x2e445d)break;else _0x4dc470['push'](_0x4dc470['shift']());}catch(_0x573427){_0x4dc470['push'](_0x4dc470['shift']());}}}(_0x2323,0xb89e2));export{Revision}from'./revision.js';export{RevisionHistory,RevisionViewerIntegration}from'./revisionhistory.js';export{RevisionsRepository}from'./revisionsrepository.js';export{RevisionHistoryUtils}from'./revisionhistoryutils.js';export{RevisionViewerLoadingOverlay}from'./ui/revisionviewer/revisionviewerloadingoverlay.js';export{RevisionHistoryUI}from'./ui/revisionhistory/revisionhistoryui.js';export{RevisionTracker}from'./revisiontracker.js';function _0x2323(){var _0x4ec3f6=['39660TjjmZM','877448HJFbzN','4907254ZLxLTp','8957898AgISsV','4418410AADRxD','35582HDYPlM','245REBTgC','9xEdunW','7mdYUUn','3512964lSNMEL','74YSdCRv'];_0x2323=function(){return _0x4ec3f6;};return _0x2323();}export{RevisionViewer,RestoreRevisionCommand,ShowChangeCommand}from'./revisionviewer.js';export{RevisionsSidebar}from'./ui/revisionssidebar/revisionssidebar.js';export{RevisionViewerUI}from'./ui/revisionviewer/revisionviewerui.js';export{RevisionViewerEditor}from'./editor/revisionviewereditor.js';import'./augmentation.js';
|
package/src/revision.js
CHANGED
|
@@ -20,5 +20,5 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
|
|
24
|
-
|
|
23
|
+
function _0x4fdf(){const _0x349b18=['2710OAYLkc','set','27LQIUrQ','creator','253rrcpeH','246uCJzyM','90096XcQZWA','model','diffData','3983256uSoSsp','5ZfbcuD','118951YvZhjX','creatorId','attributes','fromVersion','26fSmnED','setName','name','setAttribute','toVersion','authors','15287796wzScWS','54UDJLMc','authorsIds','fire','removeAttribute','_update','createdAt','16041uRgVfz','253132hpxtZj','map','toJSON'];_0x4fdf=function(){return _0x349b18;};return _0x4fdf();}const _0x14921e=_0x2af9;function _0x2af9(_0x424d6b,_0x1a6b7b){const _0x4fdf9b=_0x4fdf();return _0x2af9=function(_0x2af966,_0x47bbdc){_0x2af966=_0x2af966-0x6a;let _0x246452=_0x4fdf9b[_0x2af966];return _0x246452;},_0x2af9(_0x424d6b,_0x1a6b7b);}(function(_0x561d25,_0x1abe05){const _0x15fa72=_0x2af9,_0x214285=_0x561d25();while(!![]){try{const _0x14fb23=-parseInt(_0x15fa72(0x6e))/0x1+-parseInt(_0x15fa72(0x76))/0x2*(parseInt(_0x15fa72(0x6d))/0x3)+parseInt(_0x15fa72(0x7a))/0x4*(-parseInt(_0x15fa72(0x7b))/0x5)+parseInt(_0x15fa72(0x87))/0x6*(-parseInt(_0x15fa72(0x7c))/0x7)+-parseInt(_0x15fa72(0x77))/0x8*(-parseInt(_0x15fa72(0x73))/0x9)+parseInt(_0x15fa72(0x71))/0xa*(-parseInt(_0x15fa72(0x75))/0xb)+-parseInt(_0x15fa72(0x86))/0xc*(-parseInt(_0x15fa72(0x80))/0xd);if(_0x14fb23===_0x1abe05)break;else _0x214285['push'](_0x214285['shift']());}catch(_0x1bf072){_0x214285['push'](_0x214285['shift']());}}}(_0x4fdf,0x7df73));import{ObservableMixin as _0xe9d559,uid as _0x464cf3}from'ckeditor5/src/utils.js';import{cloneDeep as _0x4bb9da,set as _0x5335a3,unset as _0x34d849}from'es-toolkit/compat';export class Revision extends/* #__PURE__ -- @preserve */
|
|
24
|
+
_0xe9d559(){['id'];[_0x14921e(0x74)];[_0x14921e(0x85)];[_0x14921e(0x79)];[_0x14921e(0x84)];[_0x14921e(0x7f)];[_0x14921e(0x78)];constructor(_0x2679c7){const _0x2f8767=_0x14921e;super(),this['id']=_0x2679c7['id']||_0x464cf3(),this[_0x2f8767(0x74)]=_0x2679c7[_0x2f8767(0x74)]||null,this[_0x2f8767(0x85)]=_0x2679c7[_0x2f8767(0x85)]||[],this[_0x2f8767(0x79)]=_0x2679c7[_0x2f8767(0x79)]||null,this[_0x2f8767(0x84)]=_0x2679c7[_0x2f8767(0x84)]||0x0,this[_0x2f8767(0x7f)]=_0x2679c7[_0x2f8767(0x7f)]||0x0,this[_0x2f8767(0x72)](_0x2f8767(0x82),_0x2679c7[_0x2f8767(0x82)]||''),this[_0x2f8767(0x72)](_0x2f8767(0x6c),_0x2679c7[_0x2f8767(0x6c)]||new Date()),this[_0x2f8767(0x72)](_0x2f8767(0x7e),_0x2679c7[_0x2f8767(0x7e)]||{});}[_0x14921e(0x81)](_0x118cde){const _0x4ad3ce=_0x14921e;this[_0x4ad3ce(0x6b)]({'name':_0x118cde});}[_0x14921e(0x83)](_0x55e69c,_0x200393){const _0x5351c7=_0x14921e,_0x11d472=_0x4bb9da(this[_0x5351c7(0x7e)]);_0x5335a3(_0x11d472,_0x55e69c,_0x200393),this[_0x5351c7(0x6b)]({'attributes':_0x11d472});}[_0x14921e(0x6a)](_0x4fbe84){const _0x228dd0=_0x14921e,_0x4f2c4c=_0x4bb9da(this[_0x228dd0(0x7e)]);_0x34d849(_0x4f2c4c,_0x4fbe84),this[_0x228dd0(0x6b)]({'attributes':_0x4f2c4c});}[_0x14921e(0x6b)](_0x1d08d8,_0x9dff19=!0x1){const _0x2cedc5=_0x14921e;let _0x4bd586=!0x1;const _0x536a93={'id':this['id']},_0x53d76e=[_0x2cedc5(0x82),_0x2cedc5(0x6c),_0x2cedc5(0x79),_0x2cedc5(0x85),_0x2cedc5(0x7e),_0x2cedc5(0x84),_0x2cedc5(0x7f),_0x2cedc5(0x7d)];for(const _0x3d05f8 of _0x53d76e){const _0x3500ac=_0x1d08d8[_0x3d05f8];void 0x0!==_0x3500ac&&_0x3500ac!==this[_0x3d05f8]&&(this[_0x3d05f8]=_0x3500ac,_0x536a93[_0x3d05f8]=_0x3500ac,_0x4bd586=!0x0);}_0x4bd586&&(_0x536a93[_0x2cedc5(0x85)]&&(_0x536a93[_0x2cedc5(0x88)]=_0x536a93[_0x2cedc5(0x85)][_0x2cedc5(0x6f)](_0x107c0a=>_0x107c0a['id']),delete _0x536a93[_0x2cedc5(0x85)]),this[_0x2cedc5(0x89)](_0x2cedc5(0x6b),_0x536a93,_0x9dff19));}[_0x14921e(0x70)](){const _0x105778=_0x14921e;return{'id':this['id'],'name':this[_0x105778(0x82)],'creatorId':this[_0x105778(0x74)]?this[_0x105778(0x74)]['id']:null,'authorsIds':this[_0x105778(0x85)][_0x105778(0x6f)](_0x262a26=>_0x262a26['id']),'diffData':this[_0x105778(0x79)],'createdAt':this[_0x105778(0x6c)],'attributes':this[_0x105778(0x7e)],'fromVersion':this[_0x105778(0x7f)],'toVersion':this[_0x105778(0x84)]};}}
|
package/src/revisiondiff.js
CHANGED
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
function
|
|
23
|
+
function _0x53bc(){const _0x22f5a3=['_setChanges','3ZARQaj','5458640ruvaqX','2937045rRVchY','134981NkYoIn','3064BykYbE','4847496EOFLCt','oldRevisionId','33lXKNAi','newRevisionId','9fRZRwT','371WOzUjJ','changes','add','2972756EXpRXa','234zBSEVG','2392120ULRuNF'];_0x53bc=function(){return _0x22f5a3;};return _0x53bc();}const _0x1e7500=_0x27fb;(function(_0x4992b8,_0x559fca){const _0x1cc713=_0x27fb,_0x1c8ed1=_0x4992b8();while(!![]){try{const _0x4b7614=-parseInt(_0x1cc713(0x158))/0x1*(parseInt(_0x1cc713(0x152))/0x2)+-parseInt(_0x1cc713(0x15f))/0x3*(parseInt(_0x1cc713(0x15b))/0x4)+parseInt(_0x1cc713(0x161))/0x5+-parseInt(_0x1cc713(0x15c))/0x6*(-parseInt(_0x1cc713(0x162))/0x7)+-parseInt(_0x1cc713(0x15d))/0x8*(parseInt(_0x1cc713(0x157))/0x9)+-parseInt(_0x1cc713(0x160))/0xa+-parseInt(_0x1cc713(0x155))/0xb*(-parseInt(_0x1cc713(0x153))/0xc);if(_0x4b7614===_0x559fca)break;else _0x1c8ed1['push'](_0x1c8ed1['shift']());}catch(_0x520eea){_0x1c8ed1['push'](_0x1c8ed1['shift']());}}}(_0x53bc,0x60680));import{Collection as _0x5cd06c}from'ckeditor5/src/utils.js';function _0x27fb(_0x1cc0bf,_0x4b5c36){const _0x53bc14=_0x53bc();return _0x27fb=function(_0x27fb28,_0x1403d5){_0x27fb28=_0x27fb28-0x152;let _0xe16a11=_0x53bc14[_0x27fb28];return _0xe16a11;},_0x27fb(_0x1cc0bf,_0x4b5c36);}export class RevisionDiff{[_0x1e7500(0x156)];[_0x1e7500(0x154)];[_0x1e7500(0x159)];constructor(_0x3973d3,_0x2be4a2){const _0x1006f3=_0x1e7500;this[_0x1006f3(0x156)]=_0x3973d3,this[_0x1006f3(0x154)]=_0x2be4a2,this[_0x1006f3(0x159)]=new _0x5cd06c();}[_0x1e7500(0x15e)](_0xad40f8){const _0x5aa9eb=_0x1e7500;for(const _0x41af79 of _0xad40f8)this[_0x5aa9eb(0x159)][_0x5aa9eb(0x15a)](_0x41af79);}}
|
package/src/revisionhistory.js
CHANGED
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
const _0x30e53b=_0xb95f;(function(_0x2a4a52,_0x42b2ce){const _0x10699d=_0xb95f,_0x1744f0=_0x2a4a52();while(!![]){try{const _0x377892=parseInt(_0x10699d(0xc6))/0x1+parseInt(_0x10699d(0xe0))/0x2*(-parseInt(_0x10699d(0xde))/0x3)+parseInt(_0x10699d(0xf7))/0x4*(parseInt(_0x10699d(0x6c))/0x5)+parseInt(_0x10699d(0xc9))/0x6*(parseInt(_0x10699d(0xe4))/0x7)+parseInt(_0x10699d(0x89))/0x8+-parseInt(_0x10699d(0x100))/0x9+-parseInt(_0x10699d(0xc3))/0xa*(parseInt(_0x10699d(0xe2))/0xb);if(_0x377892===_0x42b2ce)break;else _0x1744f0['push'](_0x1744f0['shift']());}catch(_0x56e0f1){_0x1744f0['push'](_0x1744f0['shift']());}}}(_0xfa09,0xcea02));import{Plugin as _0x166c89}from'ckeditor5/src/core.js';import{CKEditorError as _0x386137,uid as _0x13b88b}from'ckeditor5/src/utils.js';import{RevisionTracker as _0x3ee83a}from'./revisiontracker.js';import{RevisionHistoryUI as _0x55ba63}from'./ui/revisionhistory/revisionhistoryui.js';function _0xb95f(_0x57dbb6,_0x40164b){const _0xfa09a3=_0xfa09();return _0xb95f=function(_0xb95f78,_0x2dff5e){_0xb95f78=_0xb95f78-0x6a;let _0x581fe0=_0xfa09a3[_0xb95f78];return _0x581fe0;},_0xb95f(_0x57dbb6,_0x40164b);}import{RevisionViewer as _0x5ecf0a}from'./revisionviewer.js';import{RevisionViewerUI as _0x5ad272}from'./ui/revisionviewer/revisionviewerui.js';import{RevisionsSidebar as _0xc0f3c6}from'./ui/revisionssidebar/revisionssidebar.js';import{RevisionViewerEditor as _0x338490}from'./editor/revisionviewereditor.js';import{getTranslation as _0x3d296e}from'./utils/common-translations.js';import{sanitizeEditorConfig as _0x5c9343}from'ckeditor5-collaboration/src/collaboration-core.js';function _0xfa09(){const _0xa27a=['parse','requires','create','markers','removeAttribute','uiLanguage','revisionHistory.restoreRevisionCallback','RestrictedEditingMode','setAttribute','revisionHistory.viewerContainer','block','define','refreshPositioning','save','has','isAttached','4ijnCnt','saveRevision','refreshVisibility','users','Users','createRangeIn','_showRevisionViewer','RevisionHistoryUtils','result','6889824IULCYt','Dialog','hide','fromCharCode','error','5099475pgkwfq','remove','revisionHistory.requireRevisionName','long','init','revisionHistory.showRevisionViewerCallback','Restored','push','isPremiumPlugin','changesNavigation','repository','toVersion','view','revisionHistory.editorContainer','toolbar','getMarkersGroup','isOfficialPlugin','getAttributeKeys','change','showRevisionViewerCallback','style','revisionHistory.viewerEditorElement','getRoot','from','getRevisionDocumentData','keys','revision-history-missing-configuration','enableReadOnlyMode','end','11155160UbKQZE','revision-history-viewer-opened','then','disableReadOnlyMode','removeMarker','isEnabled','display','addRevisionData','getRevisions','DocumentOutline','_enhanceCloseRevisionViewerCallback','element','getUser','name','map','_recalculatePageBreaks','config','get','_update','indexOf','addUser','isRevisionViewerOpen','fromVersion','catch','RevisionHistory','lazyRoots','numeric','restoreRevision','adapter','_viewerEditor','destroy','creator','selection','Annotations','toJSON','_enhanceShowRevisionViewerCallback','enqueueChange','join','plugins','closeRevisionViewerCallback','_restoreRevision','set','includes','bind','roots','exitToEditing','toLocaleDateString','rootName','toLocaleTimeString','RevisionViewerIntegration','isReady','_closeRevisionViewer','createdAt','commands','locale','revisionHistory.closeRevisionViewerCallback','editor','getRevisionRootsAttributes','60neejoN','RevisionTracker','setSelection','683566ilamjH','Autosave','restrictedEditingException','102fUCepl','isReadOnly','document','pluginName','RevisionHistoryUI','addRoot','translations','RevisionsRepository','detachRoot','insert','revisionHistory','isOpen','$graveyard','loadRevisionData','RevisionViewer','isAnonymous','DocumentOutlineUI','removeSelectionAttribute','none','data','_getRevisionViewerEditorConfig','5778LzJWEI','update','206ILlSXV','model','2486957QrmNIU','_cleanUp','28378iqNxNe','PaginationLookup','getRevision'];_0xfa09=function(){return _0xa27a;};return _0xfa09();}const d=[_0x30e53b(0xcd),_0x30e53b(0xee)];export class RevisionViewerIntegration extends _0x166c89{[_0x30e53b(0xff)];static get[_0x30e53b(0xcc)](){const _0x3bf0f0=_0x30e53b;return _0x3bf0f0(0xba);}static get[_0x30e53b(0x7c)](){return!0x0;}static get[_0x30e53b(0x74)](){return!0x0;}constructor(_0x2a7352){const _0x32dfc3=_0x30e53b;function _0x182df8(_0x4b45ee){const _0x104990=_0xb95f;return _0x4b45ee[_0x104990(0x97)](_0x125985=>String[_0x104990(0x6a)](_0x125985))[_0x104990(0xae)]('');}super(_0x2a7352),this[_0x32dfc3(0xff)]=_0x32dfc3(0x88),_0x2a7352[_0x182df8([0x65,0x64,0x69,0x74,0x69,0x6e,0x67])][_0x182df8([0x76,0x69,0x65,0x77])][_0x182df8([0x5f,0x6f,0x76,0x65,0x72,0x6c,0x61,0x79,0x4d,0x6f,0x64,0x65,0x48,0x69,0x6e,0x74])]=_0x182df8([0x61,0x75,0x74,0x6f]),_0x2a7352[_0x182df8([0x5f,0x73,0x65,0x6e,0x64,0x55,0x73,0x61,0x67,0x65,0x52,0x65,0x71,0x75,0x65,0x73,0x74])]=()=>window[_0x182df8([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65])][_0x182df8([0x72,0x65,0x73,0x6f,0x6c,0x76,0x65])]({[_0x182df8([0x73,0x74,0x61,0x74,0x75,0x73])]:_0x182df8([0x6f,0x6b])});}}export class RevisionHistory extends _0x166c89{[_0x30e53b(0xa6)];static get[_0x30e53b(0xcc)](){const _0x1079dc=_0x30e53b;return _0x1079dc(0xa1);}static get[_0x30e53b(0x7c)](){return!0x0;}static get[_0x30e53b(0x74)](){return!0x0;}static get[_0x30e53b(0xe8)](){return[_0x3ee83a,_0x55ba63];}constructor(_0x22d619){const _0x5b085f=_0x30e53b;if(super(_0x22d619),!this[_0x5b085f(0xc1)][_0x5b085f(0x99)][_0x5b085f(0x9a)](_0x5b085f(0xd3)))throw new _0x386137(_0x5b085f(0x86),this);this[_0x5b085f(0xa6)]=null,this[_0x5b085f(0xb2)](_0x5b085f(0x9e),!0x1),this[_0x5b085f(0xc1)][_0x5b085f(0x99)][_0x5b085f(0xf2)](_0x5b085f(0x71),_0x264650=>this[_0x5b085f(0xfd)]({..._0x264650,'translations':this[_0x5b085f(0xc1)][_0x5b085f(0xbf)][_0x5b085f(0xcf)]})),this[_0x5b085f(0xc1)][_0x5b085f(0x99)][_0x5b085f(0xf2)](_0x5b085f(0xc0),_0x4722d2=>this[_0x5b085f(0xbc)](_0x4722d2)),this[_0x5b085f(0xc1)][_0x5b085f(0x99)][_0x5b085f(0xf2)](_0x5b085f(0xed),_0x402d99=>this[_0x5b085f(0xb1)](_0x402d99)),this[_0x5b085f(0xc1)][_0x5b085f(0x99)][_0x5b085f(0xf2)](_0x5b085f(0x6e),!0x1),this[_0x5b085f(0xac)](),this[_0x5b085f(0x93)]();}set[_0x30e53b(0xa5)](_0x1351d8){const _0x179984=_0x30e53b;this[_0x179984(0xc1)][_0x179984(0xaf)][_0x179984(0x9a)](_0x179984(0xc4))[_0x179984(0xa5)]=_0x1351d8;}get[_0x30e53b(0xa5)](){const _0x49b9a4=_0x30e53b;return this[_0x49b9a4(0xc1)][_0x49b9a4(0xaf)][_0x49b9a4(0x9a)](_0x49b9a4(0xc4))[_0x49b9a4(0xa5)];}[_0x30e53b(0x90)](_0x273bf8){const _0x2f6df1=_0x30e53b;return this[_0x2f6df1(0xc1)][_0x2f6df1(0xaf)][_0x2f6df1(0x9a)](_0x2f6df1(0xc4))[_0x2f6df1(0x90)](_0x273bf8);}[_0x30e53b(0xe6)](_0x30f1d5){const _0x17c664=_0x30e53b;return this[_0x17c664(0xc1)][_0x17c664(0xaf)][_0x17c664(0x9a)](_0x17c664(0xd0))[_0x17c664(0xe6)](_0x30f1d5);}[_0x30e53b(0x91)](_0x191365){const _0x89dddd=_0x30e53b;return this[_0x89dddd(0xc1)][_0x89dddd(0xaf)][_0x89dddd(0x9a)](_0x89dddd(0xd0))[_0x89dddd(0x91)](_0x191365||{'toJSON':!0x1});}[_0x30e53b(0xdd)](){const _0x5c5934=_0x30e53b,_0x4bc8dc=this[_0x5c5934(0xc1)],_0x21d5f5=_0x5c9343(_0x4bc8dc,d),_0x345799=_0x4bc8dc[_0x5c5934(0xaf)][_0x5c5934(0x9a)](_0x5c5934(0xc4)),_0xfcf186=_0x4bc8dc[_0x5c5934(0xaf)][_0x5c5934(0x9a)](_0x5c5934(0xfb))[_0x5c5934(0xfa)];return _0x21d5f5[_0x5c5934(0x7a)]=[_0x5c5934(0xb6),_0x5c5934(0xa4),_0x5c5934(0x75)],delete _0x21d5f5[_0x5c5934(0xa2)],(_0x21d5f5[_0x5c5934(0xaf)][_0x5c5934(0x73)](RevisionViewerIntegration,_0x5ecf0a,_0x5ad272,class extends _0x166c89{static get[_0x5c5934(0xe8)](){const _0x26b173=_0x5c5934;return[_0x5ecf0a,_0x26b173(0xfb)];}[_0x5c5934(0x70)](){const _0x5148f2=_0x5c5934,_0x46979e=this[_0x5148f2(0xc1)][_0x5148f2(0xaf)][_0x5148f2(0x9a)](_0x5148f2(0xfb));for(const _0x2bf14d of _0xfcf186)_0x2bf14d[_0x5148f2(0xd8)]||_0x46979e[_0x5148f2(0x95)](_0x2bf14d['id'])||_0x46979e[_0x5148f2(0x9d)](_0x2bf14d);const _0x344727=_0x345799[_0x5148f2(0x76)][_0x5148f2(0x91)]();let _0x31e12c=null;const _0x1085db=this[_0x5148f2(0xc1)][_0x5148f2(0xaf)][_0x5148f2(0x9a)](_0x5148f2(0xd7));_0x1085db[_0x5148f2(0xa5)]=_0x345799[_0x5148f2(0xa5)],_0x1085db[_0x5148f2(0xb4)](_0x5148f2(0x8e))['to'](_0x345799),this[_0x5148f2(0xc1)][_0x5148f2(0xbe)][_0x5148f2(0x9a)](_0x5148f2(0xa4))[_0x5148f2(0xb4)](_0x5148f2(0x8e))['to'](_0x4bc8dc,_0x5148f2(0xca),_0x153311=>!_0x153311);for(const _0x353e87 of _0x344727){const _0x8bf52a=null===_0x353e87[_0x5148f2(0xa8)];if(_0x8bf52a&&_0x353e87[_0x5148f2(0x77)]===_0x353e87[_0x5148f2(0x9f)])continue;const _0x33981c=_0x353e87[_0x5148f2(0xab)]();_0x1085db[_0x5148f2(0x90)](_0x33981c,(_0x3d7749,_0x2e6a81,_0x5b3507)=>{const _0x21cf02=_0x5148f2;if(_0x8bf52a){if(_0x31e12c)_0x31e12c[_0x21cf02(0x9b)](_0x3d7749,_0x2e6a81);else{if(!_0x2e6a81){const _0x198b43=_0x5b3507[_0x21cf02(0xab)]();_0x198b43['id']=_0x13b88b(),_0x345799[_0x21cf02(0xf8)](_0x198b43,_0x5b3507[_0x21cf02(0x77)])[_0x21cf02(0x8b)](_0x16d56a=>{_0x31e12c=_0x16d56a;});}}}else _0x353e87[_0x21cf02(0x9b)](_0x3d7749,_0x2e6a81);});}}},_0xc0f3c6),_0x21d5f5);}[_0x30e53b(0xac)](){const _0x406d40=_0x30e53b,_0x47d8d4=this[_0x406d40(0xc1)][_0x406d40(0x99)][_0x406d40(0x9a)](_0x406d40(0xd3))[_0x406d40(0x7f)];this[_0x406d40(0xc1)][_0x406d40(0x99)][_0x406d40(0xb2)](_0x406d40(0x71),async()=>{const _0x2079af=_0x406d40;this[_0x2079af(0xc1)][_0x2079af(0x87)](_0x2079af(0x8a));const _0x543416=this[_0x2079af(0xc1)][_0x2079af(0xaf)][_0x2079af(0x9a)](_0x2079af(0xc4));if(this[_0x2079af(0xc1)][_0x2079af(0xaf)][_0x2079af(0xf5)](_0x2079af(0xc7))){const _0x2ced27=this[_0x2079af(0xc1)][_0x2079af(0xaf)][_0x2079af(0x9a)](_0x2079af(0xc7));await _0x2ced27[_0x2079af(0xf4)]();}else await _0x543416[_0x2079af(0xdf)]();if(this[_0x2079af(0xc1)][_0x2079af(0xaf)][_0x2079af(0xf5)](_0x2079af(0xe5))&&this[_0x2079af(0xc1)][_0x2079af(0xaf)][_0x2079af(0x9a)](_0x2079af(0xe5))[_0x2079af(0x98)](),this[_0x2079af(0xc1)][_0x2079af(0xaf)][_0x2079af(0xf5)](_0x2079af(0x101))){const _0x57c650=this[_0x2079af(0xc1)][_0x2079af(0xaf)][_0x2079af(0x9a)](_0x2079af(0x101));_0x57c650[_0x2079af(0xd4)]&&_0x57c650[_0x2079af(0x102)]();}const _0x15103e=this[_0x2079af(0xdd)]();return _0x47d8d4(_0x15103e)[_0x2079af(0x8b)](_0x5b5ad6=>{const _0x5a8e7f=_0x2079af;return(this[_0x5a8e7f(0xa6)]=_0x5b5ad6,this[_0x5a8e7f(0xc1)][_0x5a8e7f(0xaf)][_0x5a8e7f(0xf5)](_0x5a8e7f(0xaa)))&&this[_0x5a8e7f(0xc1)][_0x5a8e7f(0xaf)][_0x5a8e7f(0x9a)](_0x5a8e7f(0xaa))[_0x5a8e7f(0xf9)](),(this[_0x5a8e7f(0xc1)][_0x5a8e7f(0xaf)][_0x5a8e7f(0xf5)](_0x5a8e7f(0x92))&&(this[_0x5a8e7f(0xc1)][_0x5a8e7f(0xaf)][_0x5a8e7f(0x9a)](_0x5a8e7f(0xd9))[_0x5a8e7f(0x78)][_0x5a8e7f(0x94)][_0x5a8e7f(0x80)][_0x5a8e7f(0x8f)]=_0x5a8e7f(0xdb)),_0x5b5ad6);})[_0x2079af(0xa0)](_0x274a13=>(console[_0x2079af(0x6b)](_0x274a13),this[_0x2079af(0xc1)][_0x2079af(0x8c)](_0x2079af(0x8a)),null));});}[_0x30e53b(0x93)](){const _0x47a36d=_0x30e53b,_0x418bae=this[_0x47a36d(0xc1)][_0x47a36d(0x99)][_0x47a36d(0x9a)](_0x47a36d(0xd3))[_0x47a36d(0xb0)];this[_0x47a36d(0xc1)][_0x47a36d(0x99)][_0x47a36d(0xb2)](_0x47a36d(0xc0),()=>(this[_0x47a36d(0xc1)][_0x47a36d(0xaf)][_0x47a36d(0xf5)](_0x47a36d(0xe5))&&this[_0x47a36d(0xc1)][_0x47a36d(0xaf)][_0x47a36d(0x9a)](_0x47a36d(0xe5))[_0x47a36d(0x98)](),this[_0x47a36d(0xc1)][_0x47a36d(0xaf)][_0x47a36d(0xf5)](_0x47a36d(0x92))&&(this[_0x47a36d(0xc1)][_0x47a36d(0xaf)][_0x47a36d(0x9a)](_0x47a36d(0xd9))[_0x47a36d(0x78)][_0x47a36d(0x94)][_0x47a36d(0x80)][_0x47a36d(0x8f)]=''),this[_0x47a36d(0xa6)][_0x47a36d(0xaf)][_0x47a36d(0x9a)](_0x47a36d(0xd7))[_0x47a36d(0xe3)](),_0x418bae(this[_0x47a36d(0xa6)])[_0x47a36d(0x8b)](()=>{const _0x1b858e=_0x47a36d;if(this[_0x1b858e(0xc1)][_0x1b858e(0x8c)](_0x1b858e(0x8a)),this[_0x1b858e(0xa6)]=null,this[_0x1b858e(0xc1)][_0x1b858e(0xaf)][_0x1b858e(0xf5)](_0x1b858e(0xaa))){const _0x3444af=this[_0x1b858e(0xc1)][_0x1b858e(0xaf)][_0x1b858e(0x9a)](_0x1b858e(0xaa));_0x3444af[_0x1b858e(0xf9)](),_0x3444af[_0x1b858e(0xf3)]();}})));}[_0x30e53b(0xfd)](_0x4aca15){const _0xf82bc8=_0x30e53b,_0x55350d=this[_0xf82bc8(0xc1)][_0xf82bc8(0x99)][_0xf82bc8(0x9a)](_0xf82bc8(0x79)),_0x8df83a=this[_0xf82bc8(0xc1)][_0xf82bc8(0x99)][_0xf82bc8(0x9a)](_0xf82bc8(0xf0)),_0x255722=this[_0xf82bc8(0xc1)][_0xf82bc8(0x99)][_0xf82bc8(0x9a)](_0xf82bc8(0x81));return _0x338490[_0xf82bc8(0xe9)](_0x255722,_0x4aca15)[_0xf82bc8(0x8b)](_0x450bd6=>(_0x8df83a[_0xf82bc8(0x80)][_0xf82bc8(0x8f)]=_0xf82bc8(0xf1),_0x55350d[_0xf82bc8(0x80)][_0xf82bc8(0x8f)]=_0xf82bc8(0xdb),this[_0xf82bc8(0x9e)]=!0x0,_0x450bd6));}[_0x30e53b(0xbc)](_0x39023c){const _0x1d63c3=_0x30e53b,_0x5bc8ca=this[_0x1d63c3(0xc1)][_0x1d63c3(0x99)][_0x1d63c3(0x9a)](_0x1d63c3(0x79));return this[_0x1d63c3(0xc1)][_0x1d63c3(0x99)][_0x1d63c3(0x9a)](_0x1d63c3(0xf0))[_0x1d63c3(0x80)][_0x1d63c3(0x8f)]=_0x1d63c3(0xdb),_0x5bc8ca[_0x1d63c3(0x80)][_0x1d63c3(0x8f)]='',this[_0x1d63c3(0x9e)]=!0x1,_0x39023c[_0x1d63c3(0xa7)]();}async[_0x30e53b(0xb1)](_0x52c0c4){const _0xc957cd=_0x30e53b,_0x4828d2=this[_0xc957cd(0xc1)],_0x97e0a6=this[_0xc957cd(0xa6)][_0xc957cd(0xaf)][_0xc957cd(0x9a)](_0xc957cd(0xd7)),_0x201f58=_0x4828d2[_0xc957cd(0xaf)][_0xc957cd(0x9a)](_0xc957cd(0xc4)),_0x43a449=_0x4828d2[_0xc957cd(0xaf)][_0xc957cd(0x9a)](_0xc957cd(0xfe)),_0x5648d3=_0x97e0a6[_0xc957cd(0x76)][_0xc957cd(0xe6)](_0x52c0c4);let _0x459d40,_0x128254,_0x44105b;try{await _0x43a449[_0xc957cd(0xd6)](_0x5648d3,this[_0xc957cd(0xa5)]),_0x459d40=_0x43a449[_0xc957cd(0x84)](_0x5648d3),_0x128254=_0x43a449[_0xc957cd(0xc2)](_0x5648d3);}catch(_0x1da49){return void console[_0xc957cd(0x6b)](_0x1da49);}_0x4828d2[_0xc957cd(0xe1)][_0xc957cd(0x7e)](_0x249c57=>{const _0x10215=_0xc957cd;for(const _0x281a51 of Array[_0x10215(0x83)](_0x4828d2[_0x10215(0xe1)][_0x10215(0xea)][_0x10215(0x7b)](_0x10215(0xc8))))_0x249c57[_0x10215(0x8d)](_0x281a51);}),_0x97e0a6[_0xc957cd(0xbb)]=!0x1,_0x4828d2[_0xc957cd(0xe1)][_0xc957cd(0xad)](_0x4e70b1=>{const _0x2b6ce1=_0xc957cd;_0x4e70b1[_0x2b6ce1(0xc5)](null),_0x4e70b1[_0x2b6ce1(0xda)](_0x4828d2[_0x2b6ce1(0xe1)][_0x2b6ce1(0xcb)][_0x2b6ce1(0xa9)][_0x2b6ce1(0x7d)]());const _0x5b968e=Object[_0x2b6ce1(0x85)](_0x459d40);for(const _0x5f55ce of _0x4828d2[_0x2b6ce1(0xe1)][_0x2b6ce1(0xcb)][_0x2b6ce1(0xb5)])_0x2b6ce1(0xd5)!=_0x5f55ce[_0x2b6ce1(0xb8)]&&_0x5f55ce[_0x2b6ce1(0xf6)]()&&!_0x5b968e[_0x2b6ce1(0xb3)](_0x5f55ce[_0x2b6ce1(0xb8)])&&_0x4e70b1[_0x2b6ce1(0xd1)](_0x5f55ce);for(const _0x5e83b5 of _0x5b968e){let _0x47795f=_0x4828d2[_0x2b6ce1(0xe1)][_0x2b6ce1(0xcb)][_0x2b6ce1(0x82)](_0x5e83b5);_0x47795f&&_0x47795f[_0x2b6ce1(0xf6)]()||(_0x47795f=_0x4e70b1[_0x2b6ce1(0xce)](_0x5e83b5));const _0x172342=_0x128254[_0x5e83b5],_0xc5f5a4=Object[_0x2b6ce1(0x85)](_0x172342),_0x48f93f=_0x459d40[_0x5e83b5];for(const _0x2db34a of _0x47795f[_0x2b6ce1(0x7d)]())_0xc5f5a4[_0x2b6ce1(0xb3)](_0x2db34a)||_0x4e70b1[_0x2b6ce1(0xeb)](_0x2db34a,_0x47795f);for(const _0x3e2788 of _0xc5f5a4)_0x4e70b1[_0x2b6ce1(0xef)](_0x3e2788,_0x128254[_0x5e83b5][_0x3e2788],_0x47795f);_0x4e70b1[_0x2b6ce1(0x6d)](_0x4e70b1[_0x2b6ce1(0xfc)](_0x47795f)),_0x4e70b1[_0x2b6ce1(0xd2)](_0x4828d2[_0x2b6ce1(0xdc)][_0x2b6ce1(0xe7)](_0x48f93f,_0x47795f),_0x47795f,0x0);}});const _0x4e76a9=_0x3d296e(_0x4828d2[_0xc957cd(0xbf)],_0xc957cd(0x72));if(_0x5648d3[_0xc957cd(0x96)])_0x44105b=-0x1==_0x5648d3[_0xc957cd(0x96)][_0xc957cd(0x9c)](_0x4e76a9)?_0x4e76a9+':\x20'+_0x5648d3[_0xc957cd(0x96)]:_0x5648d3[_0xc957cd(0x96)];else _0x44105b=_0x4e76a9+':\x20'+(_0x5648d3[_0xc957cd(0xbd)][_0xc957cd(0xb7)](_0x4828d2[_0xc957cd(0xbf)][_0xc957cd(0xec)],{'month':_0xc957cd(0x6f),'day':_0xc957cd(0xa3)})+',\x20'+_0x5648d3[_0xc957cd(0xbd)][_0xc957cd(0xb9)](_0x4828d2[_0xc957cd(0xbf)][_0xc957cd(0xec)],{'hour':_0xc957cd(0xa3),'minute':_0xc957cd(0xa3)}));return await _0x201f58[_0xc957cd(0xf8)]({'name':_0x44105b}),_0x97e0a6[_0xc957cd(0xbb)]=!0x0,_0x4828d2[_0xc957cd(0x99)][_0xc957cd(0x9a)](_0xc957cd(0xd3))[_0xc957cd(0xb0)]();}}
|
|
23
|
+
const _0x111bc3=_0x1175;(function(_0x1a3ed5,_0x5af74a){const _0x468a9c=_0x1175,_0x2eb9a1=_0x1a3ed5();while(!![]){try{const _0x1767dd=-parseInt(_0x468a9c(0xa3))/0x1+-parseInt(_0x468a9c(0xe7))/0x2+-parseInt(_0x468a9c(0x111))/0x3+-parseInt(_0x468a9c(0xef))/0x4*(-parseInt(_0x468a9c(0xcb))/0x5)+-parseInt(_0x468a9c(0xde))/0x6*(parseInt(_0x468a9c(0x119))/0x7)+-parseInt(_0x468a9c(0xbd))/0x8*(-parseInt(_0x468a9c(0x104))/0x9)+-parseInt(_0x468a9c(0x114))/0xa*(-parseInt(_0x468a9c(0xa2))/0xb);if(_0x1767dd===_0x5af74a)break;else _0x2eb9a1['push'](_0x2eb9a1['shift']());}catch(_0x379731){_0x2eb9a1['push'](_0x2eb9a1['shift']());}}}(_0x11e5,0xbec36));import{Plugin as _0x371367}from'ckeditor5/src/core.js';import{CKEditorError as _0x20973f,uid as _0x1124a1}from'ckeditor5/src/utils.js';function _0x11e5(){const _0x5f1801=['disableReadOnlyMode','addRevisionData','setAttribute','includes','setSelection','getRevisions','changesNavigation','save','error','name','create','$graveyard','removeMarker','define','getRevision','_recalculatePageBreaks','Autosave','revisionHistory','Annotations','selection','revision-history-missing-configuration','rootName','insert','RevisionViewerIntegration','9131048xTzYMp','getRevisionDocumentData','revisionHistory.requireRevisionName','isRevisionViewerOpen','RevisionHistory','roots','createRangeIn','toJSON','catch','RevisionsRepository','end','revisionHistory.editorContainer','revisionHistory.restoreRevisionCallback','markers','5erxRje','isOpen','RevisionHistoryUtils','exitToEditing','editor','_getRevisionViewerEditorConfig','map','config','from','uiLanguage','_closeRevisionViewer','numeric','keys','toVersion','remove','_update','createdAt','restrictedEditingException','destroy','71988TEbcJL','_viewerEditor','lazyRoots','document','_enhanceShowRevisionViewerCallback','loadRevisionData','RestrictedEditingMode','getRevisionRootsAttributes','addRoot','1051368RaRXUc','revisionHistory.viewerContainer','requires','revision-history-viewer-opened','display','revisionHistory.closeRevisionViewerCallback','indexOf','revisionHistory.showRevisionViewerCallback','2388616ZZlEYA','hide','getUser','DocumentOutline','Users','model','then','update','DocumentOutlineUI','repository','result','adapter','view','toLocaleTimeString','toLocaleDateString','data','get','style','isPremiumPlugin','removeSelectionAttribute','set','9OoylSY','detachRoot','RevisionViewer','isOfficialPlugin','isReadOnly','RevisionHistoryUI','refreshVisibility','commands','locale','PaginationLookup','saveRevision','RevisionTracker','bind','3133368zoPzCG','getAttributeKeys','plugins','240310VyvGyx','Restored','enqueueChange','_restoreRevision','users','455XKEcKj','isEnabled','addUser','getMarkersGroup','restoreRevision','isAttached','creator','parse','init','element','revisionHistory.viewerEditorElement','translations','_showRevisionViewer','_enhanceCloseRevisionViewerCallback','pluginName','has','isReady','showRevisionViewerCallback','toolbar','push','getRoot','closeRevisionViewerCallback','fromCharCode','_cleanUp','refreshPositioning','removeAttribute','none','change','enableReadOnlyMode','isAnonymous','fromVersion','join','long','Dialog','1012ygywke','818011EPALGS','block'];_0x11e5=function(){return _0x5f1801;};return _0x11e5();}import{RevisionTracker as _0x3b79de}from'./revisiontracker.js';import{RevisionHistoryUI as _0x4d2011}from'./ui/revisionhistory/revisionhistoryui.js';import{RevisionViewer as _0x181e1e}from'./revisionviewer.js';import{RevisionViewerUI as _0x502f5b}from'./ui/revisionviewer/revisionviewerui.js';import{RevisionsSidebar as _0x6fd191}from'./ui/revisionssidebar/revisionssidebar.js';function _0x1175(_0x598020,_0x3e75ef){const _0x11e562=_0x11e5();return _0x1175=function(_0x117508,_0x122d3c){_0x117508=_0x117508-0x98;let _0x320226=_0x11e562[_0x117508];return _0x320226;},_0x1175(_0x598020,_0x3e75ef);}import{RevisionViewerEditor as _0x7e4e70}from'./editor/revisionviewereditor.js';import{getTranslation as _0x525af6}from'./utils/common-translations.js';import{sanitizeEditorConfig as _0x3dd71e}from'ckeditor5-collaboration/src/collaboration-core.js';const d=[_0x111bc3(0x109),_0x111bc3(0xe4)];export class RevisionViewerIntegration extends _0x371367{[_0x111bc3(0xf9)];static get[_0x111bc3(0x127)](){const _0xe521be=_0x111bc3;return _0xe521be(0xbc);}static get[_0x111bc3(0x107)](){return!0x0;}static get[_0x111bc3(0x101)](){return!0x0;}constructor(_0x3e820d){const _0x2d21fa=_0x111bc3;function _0x2a5fa0(_0x15f34f){const _0x1b5a7f=_0x1175;return _0x15f34f[_0x1b5a7f(0xd1)](_0x3a3fcc=>String[_0x1b5a7f(0x12f)](_0x3a3fcc))[_0x1b5a7f(0x9f)]('');}super(_0x3e820d),this[_0x2d21fa(0xf9)]=_0x2d21fa(0xc7),_0x3e820d[_0x2a5fa0([0x65,0x64,0x69,0x74,0x69,0x6e,0x67])][_0x2a5fa0([0x76,0x69,0x65,0x77])][_0x2a5fa0([0x5f,0x6f,0x76,0x65,0x72,0x6c,0x61,0x79,0x4d,0x6f,0x64,0x65,0x48,0x69,0x6e,0x74])]=_0x2a5fa0([0x61,0x75,0x74,0x6f]),_0x3e820d[_0x2a5fa0([0x5f,0x73,0x65,0x6e,0x64,0x55,0x73,0x61,0x67,0x65,0x52,0x65,0x71,0x75,0x65,0x73,0x74])]=()=>window[_0x2a5fa0([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65])][_0x2a5fa0([0x72,0x65,0x73,0x6f,0x6c,0x76,0x65])]({[_0x2a5fa0([0x73,0x74,0x61,0x74,0x75,0x73])]:_0x2a5fa0([0x6f,0x6b])});}}export class RevisionHistory extends _0x371367{[_0x111bc3(0xdf)];static get[_0x111bc3(0x127)](){const _0x13da82=_0x111bc3;return _0x13da82(0xc1);}static get[_0x111bc3(0x107)](){return!0x0;}static get[_0x111bc3(0x101)](){return!0x0;}static get[_0x111bc3(0xe9)](){return[_0x3b79de,_0x4d2011];}constructor(_0x16556e){const _0x3acf7a=_0x111bc3;if(super(_0x16556e),!this[_0x3acf7a(0xcf)][_0x3acf7a(0xd2)][_0x3acf7a(0xff)](_0x3acf7a(0xb6)))throw new _0x20973f(_0x3acf7a(0xb9),this);this[_0x3acf7a(0xdf)]=null,this[_0x3acf7a(0x103)](_0x3acf7a(0xc0),!0x1),this[_0x3acf7a(0xcf)][_0x3acf7a(0xd2)][_0x3acf7a(0xb2)](_0x3acf7a(0xee),_0x225433=>this[_0x3acf7a(0x125)]({..._0x225433,'translations':this[_0x3acf7a(0xcf)][_0x3acf7a(0x10c)][_0x3acf7a(0x124)]})),this[_0x3acf7a(0xcf)][_0x3acf7a(0xd2)][_0x3acf7a(0xb2)](_0x3acf7a(0xec),_0x5ac864=>this[_0x3acf7a(0xd5)](_0x5ac864)),this[_0x3acf7a(0xcf)][_0x3acf7a(0xd2)][_0x3acf7a(0xb2)](_0x3acf7a(0xc9),_0x2d7e7b=>this[_0x3acf7a(0x117)](_0x2d7e7b)),this[_0x3acf7a(0xcf)][_0x3acf7a(0xd2)][_0x3acf7a(0xb2)](_0x3acf7a(0xbf),!0x1),this[_0x3acf7a(0xe2)](),this[_0x3acf7a(0x126)]();}set[_0x111bc3(0xfa)](_0x2fbddb){const _0x548d1d=_0x111bc3;this[_0x548d1d(0xcf)][_0x548d1d(0x113)][_0x548d1d(0xff)](_0x548d1d(0x10f))[_0x548d1d(0xfa)]=_0x2fbddb;}get[_0x111bc3(0xfa)](){const _0x2e5070=_0x111bc3;return this[_0x2e5070(0xcf)][_0x2e5070(0x113)][_0x2e5070(0xff)](_0x2e5070(0x10f))[_0x2e5070(0xfa)];}[_0x111bc3(0xa6)](_0x19e891){const _0x1207a0=_0x111bc3;return this[_0x1207a0(0xcf)][_0x1207a0(0x113)][_0x1207a0(0xff)](_0x1207a0(0x10f))[_0x1207a0(0xa6)](_0x19e891);}[_0x111bc3(0xb3)](_0x85809c){const _0x4e9878=_0x111bc3;return this[_0x4e9878(0xcf)][_0x4e9878(0x113)][_0x4e9878(0xff)](_0x4e9878(0xc6))[_0x4e9878(0xb3)](_0x85809c);}[_0x111bc3(0xaa)](_0x15ade4){const _0x284158=_0x111bc3;return this[_0x284158(0xcf)][_0x284158(0x113)][_0x284158(0xff)](_0x284158(0xc6))[_0x284158(0xaa)](_0x15ade4||{'toJSON':!0x1});}[_0x111bc3(0xd0)](){const _0x11eabd=_0x111bc3,_0x33ff11=this[_0x11eabd(0xcf)],_0x20f3ba=_0x3dd71e(_0x33ff11,d),_0xee5e13=_0x33ff11[_0x11eabd(0x113)][_0x11eabd(0xff)](_0x11eabd(0x10f)),_0xdb8fef=_0x33ff11[_0x11eabd(0x113)][_0x11eabd(0xff)](_0x11eabd(0xf3))[_0x11eabd(0x118)];return _0x20f3ba[_0x11eabd(0x12b)]=[_0x11eabd(0xce),_0x11eabd(0x11d),_0x11eabd(0xab)],delete _0x20f3ba[_0x11eabd(0xe0)],(_0x20f3ba[_0x11eabd(0x113)][_0x11eabd(0x12c)](RevisionViewerIntegration,_0x181e1e,_0x502f5b,class extends _0x371367{static get[_0x11eabd(0xe9)](){const _0x2ac594=_0x11eabd;return[_0x181e1e,_0x2ac594(0xf3)];}[_0x11eabd(0x121)](){const _0xbbea44=_0x11eabd,_0x42566b=this[_0xbbea44(0xcf)][_0xbbea44(0x113)][_0xbbea44(0xff)](_0xbbea44(0xf3));for(const _0x409ae3 of _0xdb8fef)_0x409ae3[_0xbbea44(0x9d)]||_0x42566b[_0xbbea44(0xf1)](_0x409ae3['id'])||_0x42566b[_0xbbea44(0x11b)](_0x409ae3);const _0xa76c96=_0xee5e13[_0xbbea44(0xf8)][_0xbbea44(0xaa)]();let _0x1b14a9=null;const _0x4befb6=this[_0xbbea44(0xcf)][_0xbbea44(0x113)][_0xbbea44(0xff)](_0xbbea44(0x106));_0x4befb6[_0xbbea44(0xfa)]=_0xee5e13[_0xbbea44(0xfa)],_0x4befb6[_0xbbea44(0x110)](_0xbbea44(0x11a))['to'](_0xee5e13),this[_0xbbea44(0xcf)][_0xbbea44(0x10b)][_0xbbea44(0xff)](_0xbbea44(0x11d))[_0xbbea44(0x110)](_0xbbea44(0x11a))['to'](_0x33ff11,_0xbbea44(0x108),_0x4645f1=>!_0x4645f1);for(const _0x38c8bb of _0xa76c96){const _0xf06420=null===_0x38c8bb[_0xbbea44(0x11f)];if(_0xf06420&&_0x38c8bb[_0xbbea44(0xd8)]===_0x38c8bb[_0xbbea44(0x9e)])continue;const _0x1ea50f=_0x38c8bb[_0xbbea44(0xc4)]();_0x4befb6[_0xbbea44(0xa6)](_0x1ea50f,(_0x59f955,_0x56965b,_0x562418)=>{const _0x56a56e=_0xbbea44;if(_0xf06420){if(_0x1b14a9)_0x1b14a9[_0x56a56e(0xda)](_0x59f955,_0x56965b);else{if(!_0x56965b){const _0x5c7279=_0x562418[_0x56a56e(0xc4)]();_0x5c7279['id']=_0x1124a1(),_0xee5e13[_0x56a56e(0x10e)](_0x5c7279,_0x562418[_0x56a56e(0xd8)])[_0x56a56e(0xf5)](_0x2d4f11=>{_0x1b14a9=_0x2d4f11;});}}}else _0x38c8bb[_0x56a56e(0xda)](_0x59f955,_0x56965b);});}}},_0x6fd191),_0x20f3ba);}[_0x111bc3(0xe2)](){const _0x29a5a2=_0x111bc3,_0x487516=this[_0x29a5a2(0xcf)][_0x29a5a2(0xd2)][_0x29a5a2(0xff)](_0x29a5a2(0xb6))[_0x29a5a2(0x12a)];this[_0x29a5a2(0xcf)][_0x29a5a2(0xd2)][_0x29a5a2(0x103)](_0x29a5a2(0xee),async()=>{const _0x573a18=_0x29a5a2;this[_0x573a18(0xcf)][_0x573a18(0x9c)](_0x573a18(0xea));const _0x11be05=this[_0x573a18(0xcf)][_0x573a18(0x113)][_0x573a18(0xff)](_0x573a18(0x10f));if(this[_0x573a18(0xcf)][_0x573a18(0x113)][_0x573a18(0x128)](_0x573a18(0xb5))){const _0x29f26f=this[_0x573a18(0xcf)][_0x573a18(0x113)][_0x573a18(0xff)](_0x573a18(0xb5));await _0x29f26f[_0x573a18(0xac)]();}else await _0x11be05[_0x573a18(0xf6)]();if(this[_0x573a18(0xcf)][_0x573a18(0x113)][_0x573a18(0x128)](_0x573a18(0x10d))&&this[_0x573a18(0xcf)][_0x573a18(0x113)][_0x573a18(0xff)](_0x573a18(0x10d))[_0x573a18(0xb4)](),this[_0x573a18(0xcf)][_0x573a18(0x113)][_0x573a18(0x128)](_0x573a18(0xa1))){const _0x8648d=this[_0x573a18(0xcf)][_0x573a18(0x113)][_0x573a18(0xff)](_0x573a18(0xa1));_0x8648d[_0x573a18(0xcc)]&&_0x8648d[_0x573a18(0xf0)]();}const _0x2eba8b=this[_0x573a18(0xd0)]();return _0x487516(_0x2eba8b)[_0x573a18(0xf5)](_0x1ace88=>{const _0x102729=_0x573a18;return(this[_0x102729(0xdf)]=_0x1ace88,this[_0x102729(0xcf)][_0x102729(0x113)][_0x102729(0x128)](_0x102729(0xb7)))&&this[_0x102729(0xcf)][_0x102729(0x113)][_0x102729(0xff)](_0x102729(0xb7))[_0x102729(0x10a)](),(this[_0x102729(0xcf)][_0x102729(0x113)][_0x102729(0x128)](_0x102729(0xf2))&&(this[_0x102729(0xcf)][_0x102729(0x113)][_0x102729(0xff)](_0x102729(0xf7))[_0x102729(0xfb)][_0x102729(0x122)][_0x102729(0x100)][_0x102729(0xeb)]=_0x102729(0x9a)),_0x1ace88);})[_0x573a18(0xc5)](_0x2378ae=>(console[_0x573a18(0xad)](_0x2378ae),this[_0x573a18(0xcf)][_0x573a18(0xa5)](_0x573a18(0xea)),null));});}[_0x111bc3(0x126)](){const _0x17a699=_0x111bc3,_0x1771a6=this[_0x17a699(0xcf)][_0x17a699(0xd2)][_0x17a699(0xff)](_0x17a699(0xb6))[_0x17a699(0x12e)];this[_0x17a699(0xcf)][_0x17a699(0xd2)][_0x17a699(0x103)](_0x17a699(0xec),()=>(this[_0x17a699(0xcf)][_0x17a699(0x113)][_0x17a699(0x128)](_0x17a699(0x10d))&&this[_0x17a699(0xcf)][_0x17a699(0x113)][_0x17a699(0xff)](_0x17a699(0x10d))[_0x17a699(0xb4)](),this[_0x17a699(0xcf)][_0x17a699(0x113)][_0x17a699(0x128)](_0x17a699(0xf2))&&(this[_0x17a699(0xcf)][_0x17a699(0x113)][_0x17a699(0xff)](_0x17a699(0xf7))[_0x17a699(0xfb)][_0x17a699(0x122)][_0x17a699(0x100)][_0x17a699(0xeb)]=''),this[_0x17a699(0xdf)][_0x17a699(0x113)][_0x17a699(0xff)](_0x17a699(0x106))[_0x17a699(0x130)](),_0x1771a6(this[_0x17a699(0xdf)])[_0x17a699(0xf5)](()=>{const _0x428463=_0x17a699;if(this[_0x428463(0xcf)][_0x428463(0xa5)](_0x428463(0xea)),this[_0x428463(0xdf)]=null,this[_0x428463(0xcf)][_0x428463(0x113)][_0x428463(0x128)](_0x428463(0xb7))){const _0x4efac1=this[_0x428463(0xcf)][_0x428463(0x113)][_0x428463(0xff)](_0x428463(0xb7));_0x4efac1[_0x428463(0x10a)](),_0x4efac1[_0x428463(0x98)]();}})));}[_0x111bc3(0x125)](_0x4fd673){const _0x42e2fc=_0x111bc3,_0x3a5d72=this[_0x42e2fc(0xcf)][_0x42e2fc(0xd2)][_0x42e2fc(0xff)](_0x42e2fc(0xc8)),_0x5dafb6=this[_0x42e2fc(0xcf)][_0x42e2fc(0xd2)][_0x42e2fc(0xff)](_0x42e2fc(0xe8)),_0x5c671a=this[_0x42e2fc(0xcf)][_0x42e2fc(0xd2)][_0x42e2fc(0xff)](_0x42e2fc(0x123));return _0x7e4e70[_0x42e2fc(0xaf)](_0x5c671a,_0x4fd673)[_0x42e2fc(0xf5)](_0x36dfa6=>(_0x5dafb6[_0x42e2fc(0x100)][_0x42e2fc(0xeb)]=_0x42e2fc(0xa4),_0x3a5d72[_0x42e2fc(0x100)][_0x42e2fc(0xeb)]=_0x42e2fc(0x9a),this[_0x42e2fc(0xc0)]=!0x0,_0x36dfa6));}[_0x111bc3(0xd5)](_0x252a9d){const _0x4b1509=_0x111bc3,_0xc6c366=this[_0x4b1509(0xcf)][_0x4b1509(0xd2)][_0x4b1509(0xff)](_0x4b1509(0xc8));return this[_0x4b1509(0xcf)][_0x4b1509(0xd2)][_0x4b1509(0xff)](_0x4b1509(0xe8))[_0x4b1509(0x100)][_0x4b1509(0xeb)]=_0x4b1509(0x9a),_0xc6c366[_0x4b1509(0x100)][_0x4b1509(0xeb)]='',this[_0x4b1509(0xc0)]=!0x1,_0x252a9d[_0x4b1509(0xdd)]();}async[_0x111bc3(0x117)](_0x2e89ee){const _0x3d1d60=_0x111bc3,_0xcd5f33=this[_0x3d1d60(0xcf)],_0x12079d=this[_0x3d1d60(0xdf)][_0x3d1d60(0x113)][_0x3d1d60(0xff)](_0x3d1d60(0x106)),_0x110d08=_0xcd5f33[_0x3d1d60(0x113)][_0x3d1d60(0xff)](_0x3d1d60(0x10f)),_0x51b669=_0xcd5f33[_0x3d1d60(0x113)][_0x3d1d60(0xff)](_0x3d1d60(0xcd)),_0x40175b=_0x12079d[_0x3d1d60(0xf8)][_0x3d1d60(0xb3)](_0x2e89ee);let _0x415d3e,_0x17c3e3,_0x51205a;try{await _0x51b669[_0x3d1d60(0xe3)](_0x40175b,this[_0x3d1d60(0xfa)]),_0x415d3e=_0x51b669[_0x3d1d60(0xbe)](_0x40175b),_0x17c3e3=_0x51b669[_0x3d1d60(0xe5)](_0x40175b);}catch(_0x34b72c){return void console[_0x3d1d60(0xad)](_0x34b72c);}_0xcd5f33[_0x3d1d60(0xf4)][_0x3d1d60(0x9b)](_0x1964d3=>{const _0x497fa5=_0x3d1d60;for(const _0x4746d9 of Array[_0x497fa5(0xd3)](_0xcd5f33[_0x497fa5(0xf4)][_0x497fa5(0xca)][_0x497fa5(0x11c)](_0x497fa5(0xdc))))_0x1964d3[_0x497fa5(0xb1)](_0x4746d9);}),_0x12079d[_0x3d1d60(0x129)]=!0x1,_0xcd5f33[_0x3d1d60(0xf4)][_0x3d1d60(0x116)](_0x53d0cb=>{const _0x54bea7=_0x3d1d60;_0x53d0cb[_0x54bea7(0xa9)](null),_0x53d0cb[_0x54bea7(0x102)](_0xcd5f33[_0x54bea7(0xf4)][_0x54bea7(0xe1)][_0x54bea7(0xb8)][_0x54bea7(0x112)]());const _0xf150d=Object[_0x54bea7(0xd7)](_0x415d3e);for(const _0x40435a of _0xcd5f33[_0x54bea7(0xf4)][_0x54bea7(0xe1)][_0x54bea7(0xc2)])_0x54bea7(0xb0)!=_0x40435a[_0x54bea7(0xba)]&&_0x40435a[_0x54bea7(0x11e)]()&&!_0xf150d[_0x54bea7(0xa8)](_0x40435a[_0x54bea7(0xba)])&&_0x53d0cb[_0x54bea7(0x105)](_0x40435a);for(const _0x49ab40 of _0xf150d){let _0xa83442=_0xcd5f33[_0x54bea7(0xf4)][_0x54bea7(0xe1)][_0x54bea7(0x12d)](_0x49ab40);_0xa83442&&_0xa83442[_0x54bea7(0x11e)]()||(_0xa83442=_0x53d0cb[_0x54bea7(0xe6)](_0x49ab40));const _0x2e29f4=_0x17c3e3[_0x49ab40],_0x59c747=Object[_0x54bea7(0xd7)](_0x2e29f4),_0x43e0ee=_0x415d3e[_0x49ab40];for(const _0x17a7a8 of _0xa83442[_0x54bea7(0x112)]())_0x59c747[_0x54bea7(0xa8)](_0x17a7a8)||_0x53d0cb[_0x54bea7(0x99)](_0x17a7a8,_0xa83442);for(const _0x1d04b of _0x59c747)_0x53d0cb[_0x54bea7(0xa7)](_0x1d04b,_0x17c3e3[_0x49ab40][_0x1d04b],_0xa83442);_0x53d0cb[_0x54bea7(0xd9)](_0x53d0cb[_0x54bea7(0xc3)](_0xa83442)),_0x53d0cb[_0x54bea7(0xbb)](_0xcd5f33[_0x54bea7(0xfe)][_0x54bea7(0x120)](_0x43e0ee,_0xa83442),_0xa83442,0x0);}});const _0x2e438f=_0x525af6(_0xcd5f33[_0x3d1d60(0x10c)],_0x3d1d60(0x115));if(_0x40175b[_0x3d1d60(0xae)])_0x51205a=-0x1==_0x40175b[_0x3d1d60(0xae)][_0x3d1d60(0xed)](_0x2e438f)?_0x2e438f+':\x20'+_0x40175b[_0x3d1d60(0xae)]:_0x40175b[_0x3d1d60(0xae)];else _0x51205a=_0x2e438f+':\x20'+(_0x40175b[_0x3d1d60(0xdb)][_0x3d1d60(0xfd)](_0xcd5f33[_0x3d1d60(0x10c)][_0x3d1d60(0xd4)],{'month':_0x3d1d60(0xa0),'day':_0x3d1d60(0xd6)})+',\x20'+_0x40175b[_0x3d1d60(0xdb)][_0x3d1d60(0xfc)](_0xcd5f33[_0x3d1d60(0x10c)][_0x3d1d60(0xd4)],{'hour':_0x3d1d60(0xd6),'minute':_0x3d1d60(0xd6)}));return await _0x110d08[_0x3d1d60(0x10e)]({'name':_0x51205a}),_0x12079d[_0x3d1d60(0x129)]=!0x0,_0xcd5f33[_0x3d1d60(0xd2)][_0x3d1d60(0xff)](_0x3d1d60(0xb6))[_0x3d1d60(0x12e)]();}}
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
const
|
|
23
|
+
const _0x808624=_0x5f53;(function(_0x4bbe45,_0x4fa503){const _0x6645e5=_0x5f53,_0x128488=_0x4bbe45();while(!![]){try{const _0x1507e1=-parseInt(_0x6645e5(0x1c8))/0x1+-parseInt(_0x6645e5(0x1c7))/0x2*(-parseInt(_0x6645e5(0x18c))/0x3)+parseInt(_0x6645e5(0x1c6))/0x4*(-parseInt(_0x6645e5(0x19d))/0x5)+-parseInt(_0x6645e5(0x198))/0x6+parseInt(_0x6645e5(0x1b3))/0x7*(parseInt(_0x6645e5(0x1c4))/0x8)+-parseInt(_0x6645e5(0x186))/0x9*(-parseInt(_0x6645e5(0x1a4))/0xa)+parseInt(_0x6645e5(0x195))/0xb;if(_0x1507e1===_0x4fa503)break;else _0x128488['push'](_0x128488['shift']());}catch(_0x3ec156){_0x128488['push'](_0x128488['shift']());}}}(_0x4098,0xee533));function _0x5f53(_0x5d9937,_0x15f527){const _0x409830=_0x4098();return _0x5f53=function(_0x5f53f2,_0x3297e5){_0x5f53f2=_0x5f53f2-0x180;let _0x3e0564=_0x409830[_0x5f53f2];return _0x3e0564;},_0x5f53(_0x5d9937,_0x15f527);}import{Plugin as _0x5d35ed}from'ckeditor5/src/core.js';import{ViewDocumentFragment as _0xc8b410,ViewText as _0x35fca9,ViewElement as _0x1e503f,ViewContainerElement as _0x36d323,ViewAttributeElement as _0x56a164,ViewEmptyElement as _0x4d25ec,ViewRawElement as _0x301fe9,ViewUIElement as _0x3d1f9f}from'ckeditor5/src/engine.js';function _0x4098(){const _0x278a4a=['domChildrenToView','default','_typeCharToViewClass','getRevisionRootsAttributes','startsWith','RevisionHistoryUtils','isPremiumPlugin','_viewClassToTypeChar','length','7952cOqmep','customProperties','273876qsFnLO','58zOvOvt','1231624lIDqgM','viewChildrenToDom','append','_getViewFromDiffObj','from','data-revision-','revision-end','isAttached','innerHTML','string','49338igVQux','getRevision','type','_removeRevisionMarkers','document','childNodes','15966sJJbII','pluginName','getFillerOffset','editing','loadRevisionData','editor','insertions','_appendChild','config','31575016PaTwjg','constructor','getRevisionDocumentData','9746508eItQJL','createElement','fillerOffset','_getTypeCharForViewElement','useFillerType','115VyusFw','toData','marked','htmlProcessor','attributesAfter','revision-start','processor','2050mImisD','diffData','filter','isOfficialPlugin','_makeModelFromViewString','attributes','domConverter','parse','toModel','render','view','get','collaboration.channelId','name','children','8862POJygi','div','forEach','map','data','attachChange','_setCustomProperty','domDocument'];_0x4098=function(){return _0x278a4a;};return _0x4098();}export class RevisionHistoryUtils extends _0x5d35ed{static get[_0x808624(0x18d)](){const _0x4e1a2c=_0x808624;return _0x4e1a2c(0x1c0);}static get[_0x808624(0x1a7)](){return!0x0;}static get[_0x808624(0x1c1)](){return!0x0;}[_0x808624(0x1c2)]=new Map([[_0x36d323,'c'],[_0x56a164,'a'],[_0x4d25ec,'e'],[_0x301fe9,'r'],[_0x3d1f9f,'u']]);[_0x808624(0x1bd)]=new Map([['c',_0x36d323],['a',_0x56a164],['e',_0x4d25ec],['r',_0x301fe9],['u',_0x3d1f9f]]);async[_0x808624(0x190)](_0x3998fe,_0x1f7928){const _0x593d1b=_0x808624;if(_0x3998fe[_0x593d1b(0x1a5)]||!_0x1f7928)return;const _0x6cb5e4=this[_0x593d1b(0x191)][_0x593d1b(0x194)][_0x593d1b(0x1af)](_0x593d1b(0x1b0)),_0x480138=await _0x1f7928[_0x593d1b(0x187)]({'channelId':_0x6cb5e4,'revisionId':_0x3998fe['id']});_0x3998fe[_0x593d1b(0x1a5)]=_0x480138[_0x593d1b(0x1a5)];}[_0x808624(0x197)](_0x6723fe){const _0x37b349=_0x808624,_0x27a178={};for(const _0x20d913 in _0x6723fe[_0x37b349(0x1a5)]){if(_0x6723fe[_0x37b349(0x1a5)][_0x20d913][_0x37b349(0x1b8)]&&!_0x6723fe[_0x37b349(0x1a5)][_0x20d913][_0x37b349(0x1b8)][_0x37b349(0x183)])continue;const _0x3fe8d9=this[_0x37b349(0x189)](JSON[_0x37b349(0x1ab)](_0x6723fe[_0x37b349(0x1a5)][_0x20d913][_0x37b349(0x192)])),_0x3a7770=this[_0x37b349(0x191)][_0x37b349(0x18f)][_0x37b349(0x1ae)][_0x37b349(0x18a)],_0x585d52=new _0xc8b410(_0x3a7770,_0x3fe8d9[_0x37b349(0x1b6)](_0x5dc579=>this[_0x37b349(0x1cb)](_0x5dc579,!0x1)));this[_0x37b349(0x191)][_0x37b349(0x1b7)][_0x37b349(0x1a3)][_0x37b349(0x19c)](_0x37b349(0x19f)),_0x27a178[_0x20d913]=this[_0x37b349(0x191)][_0x37b349(0x1b7)][_0x37b349(0x1a3)][_0x37b349(0x19e)](_0x585d52),this[_0x37b349(0x191)][_0x37b349(0x1b7)][_0x37b349(0x1a3)][_0x37b349(0x19c)](_0x37b349(0x1bc));}return _0x27a178;}[_0x808624(0x1be)](_0x1eab4d){const _0x1e9dff=_0x808624,_0xa3157b={};for(const _0xcf531e in _0x1eab4d[_0x1e9dff(0x1a5)])_0x1eab4d[_0x1e9dff(0x1a5)][_0xcf531e][_0x1e9dff(0x1b8)]&&!_0x1eab4d[_0x1e9dff(0x1a5)][_0xcf531e][_0x1e9dff(0x1b8)][_0x1e9dff(0x183)]||(_0xa3157b[_0xcf531e]=_0x1eab4d[_0x1e9dff(0x1a5)][_0xcf531e][_0x1e9dff(0x1a1)]||{});return _0xa3157b;}[_0x808624(0x19b)](_0x1712eb){const _0x582375=_0x808624;return this[_0x582375(0x1c2)][_0x582375(0x1af)](_0x1712eb[_0x582375(0x196)]);}[_0x808624(0x1cb)](_0x359385,_0x2192c0){const _0x5325cd=_0x808624,_0x52aca4=this[_0x5325cd(0x191)][_0x5325cd(0x18f)][_0x5325cd(0x1ae)][_0x5325cd(0x18a)];if(_0x5325cd(0x185)==typeof _0x359385)return new _0x35fca9(_0x52aca4,_0x359385);{let _0x3fb372,_0x435a61;_0x435a61='u'==_0x359385[_0x5325cd(0x188)]||'r'==_0x359385[_0x5325cd(0x188)]?[]:_0x359385[_0x5325cd(0x1b2)][_0x5325cd(0x1b6)](_0x10a336=>this[_0x5325cd(0x1cb)](_0x10a336,_0x2192c0));const _0x275546=this[_0x5325cd(0x1bd)][_0x5325cd(0x1af)](_0x359385[_0x5325cd(0x188)])||_0x1e503f,_0x3dcb8a=this[_0x5325cd(0x191)][_0x5325cd(0x1b7)][_0x5325cd(0x1a0)][_0x5325cd(0x1aa)];if(_0x3fb372=new _0x275546(_0x52aca4,_0x359385[_0x5325cd(0x1b1)],_0x359385[_0x5325cd(0x1a9)],_0x435a61),'u'==_0x359385[_0x5325cd(0x188)]&&_0x359385[_0x5325cd(0x1b2)][0x0]){const _0x456590=_0x359385[_0x5325cd(0x1b2)][0x0];if(_0x3fb372[_0x5325cd(0x1ad)]=function(_0x3da5a0){const _0x2048d6=_0x5325cd,_0x29f167=_0x3da5a0[_0x2048d6(0x199)](_0x2048d6(0x1b4));return _0x29f167[_0x2048d6(0x184)]=_0x456590,_0x29f167[_0x2048d6(0x18b)][0x0];},_0x2192c0){const _0x55c408=new _0xc8b410(_0x52aca4);_0x55c408[_0x5325cd(0x193)](_0x3fb372);const _0x2926a0=Array[_0x5325cd(0x180)](_0x3dcb8a[_0x5325cd(0x1c9)](_0x55c408,{'bind':!0x1})),_0x2fbcc3=_0x3dcb8a[_0x5325cd(0x1ba)][_0x5325cd(0x199)](_0x5325cd(0x1b4));_0x2fbcc3[_0x5325cd(0x1ca)](..._0x2926a0),_0x3fb372=Array[_0x5325cd(0x180)](_0x3dcb8a[_0x5325cd(0x1bb)](_0x2fbcc3))[0x0];}}else{if('r'==_0x359385[_0x5325cd(0x188)]&&_0x359385[_0x5325cd(0x1b2)][0x0]){const _0x57314c=_0x359385[_0x5325cd(0x1b2)][0x0];if(_0x3fb372[_0x5325cd(0x1ad)]=function(_0xc91694){const _0x20f23d=_0x5325cd;_0xc91694[_0x20f23d(0x184)]=_0x57314c;},_0x2192c0){const _0x36bf46=new _0xc8b410(_0x52aca4);_0x36bf46[_0x5325cd(0x193)](_0x3fb372);const _0x26df68=Array[_0x5325cd(0x180)](_0x3dcb8a[_0x5325cd(0x1c9)](_0x36bf46,{'bind':!0x1})),_0x4f0991=_0x3dcb8a[_0x5325cd(0x1ba)][_0x5325cd(0x199)](_0x5325cd(0x1b4));_0x4f0991[_0x5325cd(0x1ca)](..._0x26df68);const _0x46720f=Array[_0x5325cd(0x180)](_0x3dcb8a[_0x5325cd(0x1bb)](_0x4f0991));_0x46720f[_0x5325cd(0x1c3)]>0x1?_0x3fb372[_0x5325cd(0x193)](_0x46720f):_0x3fb372=_0x46720f[0x0];}}}if(_0x359385[_0x5325cd(0x1c5)]){for(const [_0x293237,_0x37cbe0]of _0x359385[_0x5325cd(0x1c5)])_0x3fb372[_0x5325cd(0x1b9)](_0x293237,_0x37cbe0);}const _0x22c205=void 0x0===_0x359385[_0x5325cd(0x19a)]?null:_0x359385[_0x5325cd(0x19a)];return null!==_0x22c205&&(_0x3fb372[_0x5325cd(0x18e)]=()=>_0x22c205),_0x3fb372;}}[_0x808624(0x1a8)](_0x20c89c){const _0x5e3127=_0x808624,_0x2072cd=JSON[_0x5e3127(0x1ab)](_0x20c89c),_0x457163=this[_0x5e3127(0x191)][_0x5e3127(0x18f)][_0x5e3127(0x1ae)][_0x5e3127(0x18a)],_0x3645de=new _0xc8b410(_0x457163,_0x2072cd[_0x5e3127(0x1b6)](_0x41dc0c=>this[_0x5e3127(0x1cb)](_0x41dc0c,!0x0)));return this[_0x5e3127(0x191)][_0x5e3127(0x1b7)][_0x5e3127(0x1ac)](_0x3645de);}[_0x808624(0x189)](_0x5dd959){const _0x3edc7e=_0x808624;return(_0x5dd959=_0x5dd959[_0x3edc7e(0x1a6)](_0x52219a=>!_0x52219a[_0x3edc7e(0x1b1)]||_0x3edc7e(0x1a2)!==_0x52219a[_0x3edc7e(0x1b1)]&&_0x3edc7e(0x182)!==_0x52219a[_0x3edc7e(0x1b1)]))[_0x3edc7e(0x1b5)](_0x438a43=>{const _0x221890=_0x3edc7e;_0x221890(0x185)!=typeof _0x438a43&&(_0x438a43[_0x221890(0x1b2)]=this[_0x221890(0x189)](_0x438a43[_0x221890(0x1b2)]),_0x438a43[_0x221890(0x1a9)]=_0x438a43[_0x221890(0x1a9)][_0x221890(0x1a6)](_0x3c8579=>!_0x3c8579[0x0][_0x221890(0x1bf)](_0x221890(0x181))));}),_0x5dd959;}}
|