@ckeditor/ckeditor5-revision-history 46.0.1-alpha.7 → 46.0.1-alpha.9
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
|
+
(_0x1d0187=>{const {vi:{dictionary:_0x28d9cc,getPluralForm:_0x53cb34}}={'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':_0x569935=>0x0}};_0x1d0187['vi']||={'dictionary':{},'getPluralForm':null},_0x1d0187['vi']['dictionary']=Object['assign'](_0x1d0187['vi']['dictionary'],_0x28d9cc),_0x1d0187['vi']['getPluralForm']=_0x53cb34;})(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':_0x2883d1=>0x0}};
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
(
|
|
23
|
+
(_0x1b118e=>{const {'zh-cn':{dictionary:_0x3964bb,getPluralForm:_0x28f617}}={'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':_0x2d5de4=>0x0}};_0x1b118e['zh-cn']||={'dictionary':{},'getPluralForm':null},_0x1b118e['zh-cn']['dictionary']=Object['assign'](_0x1b118e['zh-cn']['dictionary'],_0x3964bb),_0x1b118e['zh-cn']['getPluralForm']=_0x28f617;})(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':_0x387a39=>0x0}};
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
(
|
|
23
|
+
(_0xd4464e=>{const {zh:{dictionary:_0x4b2324,getPluralForm:_0xbb33a5}}={'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':_0xccace0=>0x0}};_0xd4464e['zh']||={'dictionary':{},'getPluralForm':null},_0xd4464e['zh']['dictionary']=Object['assign'](_0xd4464e['zh']['dictionary'],_0x4b2324),_0xd4464e['zh']['getPluralForm']=_0xbb33a5;})(window['CKEDITOR_TRANSLATIONS']||={});
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@ckeditor/ckeditor5-revision-history",
|
|
3
|
-
"version": "46.0.1-alpha.
|
|
3
|
+
"version": "46.0.1-alpha.9",
|
|
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.0.1-alpha.
|
|
43
|
-
"@ckeditor/ckeditor5-comments": "46.0.1-alpha.
|
|
44
|
-
"@ckeditor/ckeditor5-core": "46.0.1-alpha.
|
|
45
|
-
"@ckeditor/ckeditor5-editor-classic": "46.0.1-alpha.
|
|
46
|
-
"@ckeditor/ckeditor5-engine": "46.0.1-alpha.
|
|
47
|
-
"@ckeditor/ckeditor5-icons": "46.0.1-alpha.
|
|
48
|
-
"@ckeditor/ckeditor5-ui": "46.0.1-alpha.
|
|
49
|
-
"@ckeditor/ckeditor5-utils": "46.0.1-alpha.
|
|
42
|
+
"@ckeditor/ckeditor5-autosave": "46.0.1-alpha.9",
|
|
43
|
+
"@ckeditor/ckeditor5-comments": "46.0.1-alpha.9",
|
|
44
|
+
"@ckeditor/ckeditor5-core": "46.0.1-alpha.9",
|
|
45
|
+
"@ckeditor/ckeditor5-editor-classic": "46.0.1-alpha.9",
|
|
46
|
+
"@ckeditor/ckeditor5-engine": "46.0.1-alpha.9",
|
|
47
|
+
"@ckeditor/ckeditor5-icons": "46.0.1-alpha.9",
|
|
48
|
+
"@ckeditor/ckeditor5-ui": "46.0.1-alpha.9",
|
|
49
|
+
"@ckeditor/ckeditor5-utils": "46.0.1-alpha.9",
|
|
50
50
|
"@types/luxon": "3.6.2",
|
|
51
|
-
"ckeditor5": "46.0.1-alpha.
|
|
52
|
-
"ckeditor5-collaboration": "46.0.1-alpha.
|
|
51
|
+
"ckeditor5": "46.0.1-alpha.9",
|
|
52
|
+
"ckeditor5-collaboration": "46.0.1-alpha.9",
|
|
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
|
-
|
|
24
|
-
|
|
23
|
+
var _0x1188db=_0x5855;(function(_0x3378f1,_0x4be6c4){var _0x5eaf95=_0x5855,_0x246b30=_0x3378f1();while(!![]){try{var _0x3669d0=-parseInt(_0x5eaf95(0x7b))/0x1+parseInt(_0x5eaf95(0x79))/0x2*(parseInt(_0x5eaf95(0x82))/0x3)+-parseInt(_0x5eaf95(0x87))/0x4*(-parseInt(_0x5eaf95(0x7a))/0x5)+parseInt(_0x5eaf95(0x83))/0x6+-parseInt(_0x5eaf95(0x86))/0x7*(-parseInt(_0x5eaf95(0x89))/0x8)+parseInt(_0x5eaf95(0x7c))/0x9+-parseInt(_0x5eaf95(0x84))/0xa;if(_0x3669d0===_0x4be6c4)break;else _0x246b30['push'](_0x246b30['shift']());}catch(_0x147d7d){_0x246b30['push'](_0x246b30['shift']());}}}(_0x2b29,0xdc073));function _0x5855(_0x5c926f,_0x522bb5){var _0x2b2917=_0x2b29();return _0x5855=function(_0x585570,_0x4ba61e){_0x585570=_0x585570-0x79;var _0x322401=_0x2b2917[_0x585570];return _0x322401;},_0x5855(_0x5c926f,_0x522bb5);}function _0x2b29(){var _0x2a80a2=['15XBHyer','916308zclNBK','8328456NjyGWT','author','rootName','createdAt','type','set','21nAHLXJ','4539552yJZVhD','5211460UgOAgo','data','10521mYqUvS','341636CzWLuZ','toJSON','104PvqVWJ','108842YaNLNd'];_0x2b29=function(){return _0x2a80a2;};return _0x2b29();}import{ObservableMixin as _0x58791b,uid as _0x34ee1f}from'ckeditor5/src/utils.js';export class ChangeItem extends/* #__PURE__ -- @preserve */
|
|
24
|
+
_0x58791b(){['id'];[_0x1188db(0x7d)];[_0x1188db(0x80)];[_0x1188db(0x85)];[_0x1188db(0x7e)];constructor(_0x36c858){var _0x59b55e=_0x1188db;super(),this['id']=_0x36c858['id']||_0x34ee1f(),this[_0x59b55e(0x7d)]=_0x36c858[_0x59b55e(0x7d)],this[_0x59b55e(0x80)]=_0x36c858[_0x59b55e(0x80)],this[_0x59b55e(0x85)]=_0x36c858[_0x59b55e(0x85)]||{},this[_0x59b55e(0x7e)]=_0x36c858[_0x59b55e(0x7e)],this[_0x59b55e(0x81)](_0x59b55e(0x7f),_0x36c858[_0x59b55e(0x7f)]);}[_0x1188db(0x88)](){var _0xe6fe06=_0x1188db;return{'id':this['id'],'authorId':this[_0xe6fe06(0x7d)]['id'],'type':this[_0xe6fe06(0x80)],'data':this[_0xe6fe06(0x85)],'createdAt':this[_0xe6fe06(0x7f)]};}}
|
|
@@ -20,5 +20,5 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
|
|
24
|
-
|
|
23
|
+
const _0x49c7be=_0x2f92;(function(_0x2c833e,_0x26e829){const _0x58e97b=_0x2f92,_0x2e115c=_0x2c833e();while(!![]){try{const _0x4e692c=-parseInt(_0x58e97b(0x1f5))/0x1+parseInt(_0x58e97b(0x1f3))/0x2+parseInt(_0x58e97b(0x1ef))/0x3+parseInt(_0x58e97b(0x1f9))/0x4+parseInt(_0x58e97b(0x1ed))/0x5*(-parseInt(_0x58e97b(0x1e8))/0x6)+parseInt(_0x58e97b(0x1ea))/0x7*(parseInt(_0x58e97b(0x1f4))/0x8)+parseInt(_0x58e97b(0x1fe))/0x9*(-parseInt(_0x58e97b(0x1f0))/0xa);if(_0x4e692c===_0x26e829)break;else _0x2e115c['push'](_0x2e115c['shift']());}catch(_0x14bcdf){_0x2e115c['push'](_0x2e115c['shift']());}}}(_0x2f9e,0x26b39));import{Editor as _0x201c0e,ElementApiMixin as _0x444ac9}from'ckeditor5/src/core.js';import{RevisionViewerEditorUI as _0x40ac80}from'./revisionviewereditorui.js';function _0x2f9e(){const _0x57ce47=['31482ckCQRo','editing','document','fire','812980qNULVb','ready','sourceElement','view','locale','3608244pfhdjQ','createRoot','initialData','model','get','destroy','init','507090lHGyUl','config','1985809azMDHa','create','updateSourceElement','10LHaqAV','data','330021KqZDOI','10bJnevv','_ui','initPlugins','326020IpwtVu','8pDMwKU'];_0x2f9e=function(){return _0x57ce47;};return _0x2f9e();}function _0x2f92(_0xfb80a,_0x53c636){const _0x2f9ee2=_0x2f9e();return _0x2f92=function(_0x2f92dd,_0x2b8547){_0x2f92dd=_0x2f92dd-0x1e8;let _0x2d52ac=_0x2f9ee2[_0x2f92dd];return _0x2d52ac;},_0x2f92(_0xfb80a,_0x53c636);}import{RevisionViewerEditorUIView as _0x4e6a0e}from'./revisionviewereditoruiview.js';export class RevisionViewerEditor extends/* #__PURE__ -- @preserve */
|
|
24
|
+
_0x444ac9(_0x201c0e){[_0x49c7be(0x1f1)];get['ui'](){const _0x474e95=_0x49c7be;return this[_0x474e95(0x1f1)];}constructor(_0x27c33,_0x20fd2c){const _0xc7830e=_0x49c7be;super(_0x20fd2c),this[_0xc7830e(0x1fb)]=_0x27c33,this[_0xc7830e(0x201)][_0xc7830e(0x1f7)][_0xc7830e(0x1ff)]();const _0x4d9939=new _0x4e6a0e(this[_0xc7830e(0x1fd)],this[_0xc7830e(0x1f6)][_0xc7830e(0x1fc)],{'shouldToolbarGroupWhenFull':!0x0});this[_0xc7830e(0x1f1)]=new _0x40ac80(this,_0x4d9939);}[_0x49c7be(0x203)](){const _0x5bc401=_0x49c7be;return this[_0x5bc401(0x1ec)](),this['ui'][_0x5bc401(0x203)](),super[_0x5bc401(0x203)]();}static async[_0x49c7be(0x1eb)](_0x452939,_0x4eee2e){const _0x1b22df=_0x49c7be,_0x181f7a=new this(_0x452939,_0x4eee2e);return await _0x181f7a[_0x1b22df(0x1f2)](),await _0x181f7a['ui'][_0x1b22df(0x204)](_0x452939),await _0x181f7a[_0x1b22df(0x1ee)][_0x1b22df(0x204)](_0x181f7a[_0x1b22df(0x1e9)][_0x1b22df(0x202)](_0x1b22df(0x200))||''),_0x181f7a[_0x1b22df(0x1f8)](_0x1b22df(0x1fa)),_0x181f7a;}}
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
const
|
|
23
|
+
const _0xa7047a=_0x24b7;(function(_0x5ea03a,_0x5c0651){const _0x2b0a63=_0x24b7,_0x3bb16e=_0x5ea03a();while(!![]){try{const _0xe1da95=-parseInt(_0x2b0a63(0x90))/0x1+-parseInt(_0x2b0a63(0x81))/0x2*(-parseInt(_0x2b0a63(0x93))/0x3)+-parseInt(_0x2b0a63(0x87))/0x4+-parseInt(_0x2b0a63(0x9b))/0x5+-parseInt(_0x2b0a63(0x9c))/0x6+parseInt(_0x2b0a63(0x95))/0x7*(parseInt(_0x2b0a63(0x76))/0x8)+parseInt(_0x2b0a63(0x9a))/0x9;if(_0xe1da95===_0x5c0651)break;else _0x3bb16e['push'](_0x3bb16e['shift']());}catch(_0x57e020){_0x3bb16e['push'](_0x3bb16e['shift']());}}}(_0x3197,0x71b1e));import{EditorUI as _0x2a596a,normalizeToolbarConfig as _0x284f16}from'ckeditor5/src/ui.js';import{ElementReplacer as _0x1971a2}from'ckeditor5/src/utils.js';function _0x24b7(_0x3d9187,_0x50f8a2){const _0x3197d9=_0x3197();return _0x24b7=function(_0x24b7c3,_0x30ef10){_0x24b7c3=_0x24b7c3-0x73;let _0x29c956=_0x3197d9[_0x24b7c3];return _0x29c956;},_0x24b7(_0x3d9187,_0x50f8a2);}export class RevisionViewerEditorUI extends _0x2a596a{[_0xa7047a(0x9d)];[_0xa7047a(0x86)];[_0xa7047a(0x85)];get[_0xa7047a(0x78)](){const _0x47233f=_0xa7047a;return this[_0x47233f(0x9d)];}constructor(_0x5a36d0,_0x2cf770){const _0x4b4c2e=_0xa7047a;super(_0x5a36d0),this[_0x4b4c2e(0x9d)]=_0x2cf770,this[_0x4b4c2e(0x86)]=_0x284f16(_0x5a36d0[_0x4b4c2e(0x77)][_0x4b4c2e(0x8a)](_0x4b4c2e(0x73))),this[_0x4b4c2e(0x85)]=new _0x1971a2();}get[_0xa7047a(0x7d)](){const _0x3c0f9c=_0xa7047a;return this[_0x3c0f9c(0x78)][_0x3c0f9c(0x7d)];}[_0xa7047a(0x84)](_0x78e3f1){const _0x905d6d=_0xa7047a,_0x1c6dc3=this[_0x905d6d(0x8c)],_0x5d70c6=this[_0x905d6d(0x78)],_0x6263dc=_0x1c6dc3[_0x905d6d(0x9e)][_0x905d6d(0x78)],_0x3e9767=_0x5d70c6[_0x905d6d(0x80)],_0xe2be95=_0x6263dc[_0x905d6d(0x98)][_0x905d6d(0x74)]();_0x3e9767[_0x905d6d(0x75)]=_0xe2be95[_0x905d6d(0x99)],_0x5d70c6[_0x905d6d(0x94)]();const _0x3ad5cb=_0x3e9767[_0x905d6d(0x7d)];this[_0x905d6d(0x91)](_0x3e9767[_0x905d6d(0x75)],_0x3ad5cb),_0x5d70c6[_0x905d6d(0x80)][_0x905d6d(0x7c)](_0x905d6d(0x7f))['to'](this[_0x905d6d(0x8f)]),_0x6263dc[_0x905d6d(0x83)](_0x3ad5cb),this[_0x905d6d(0x85)][_0x905d6d(0x7a)](_0x78e3f1,this[_0x905d6d(0x7d)]),this[_0x905d6d(0x89)](),this[_0x905d6d(0x88)](_0x905d6d(0x8b));}[_0xa7047a(0x97)](){const _0x4ff8f7=_0xa7047a;super[_0x4ff8f7(0x97)]();const _0x573d4b=this[_0x4ff8f7(0x78)],_0x1c5dfe=this[_0x4ff8f7(0x8c)][_0x4ff8f7(0x9e)][_0x4ff8f7(0x78)];this[_0x4ff8f7(0x85)][_0x4ff8f7(0x9f)](),_0x1c5dfe[_0x4ff8f7(0x8d)](_0x573d4b[_0x4ff8f7(0x80)][_0x4ff8f7(0x75)]),_0x573d4b[_0x4ff8f7(0x97)]();}[_0xa7047a(0x89)](){const _0x254f4a=_0xa7047a,_0x595085=this[_0x254f4a(0x78)];_0x595085[_0x254f4a(0xa0)][_0x254f4a(0x7c)](_0x254f4a(0x96))['to'](this[_0x254f4a(0x8f)],_0x254f4a(0x7f)),_0x595085[_0x254f4a(0xa0)][_0x254f4a(0x82)]=_0x595085[_0x254f4a(0x7d)],_0x595085[_0x254f4a(0xa0)][_0x254f4a(0x7c)](_0x254f4a(0x92))['to'](this,_0x254f4a(0x7b),({top:_0x4eb47d})=>_0x4eb47d),_0x595085[_0x254f4a(0x73)][_0x254f4a(0x8e)](this[_0x254f4a(0x86)],this[_0x254f4a(0x79)]),this[_0x254f4a(0x7e)](_0x595085[_0x254f4a(0x73)]);}}function _0x3197(){const _0x108b07=['3qwTycL','render','1773604hwLDjA','isActive','destroy','document','rootName','16247709tmybzH','2974635SeoxyF','4208550RtBquX','_view','editing','restore','stickyPanel','toolbar','getRoot','name','16CGCqci','config','view','componentFactory','replace','viewportOffset','bind','element','addToolbar','isFocused','editable','1649992GaMfBw','limiterElement','attachDomRoot','init','_elementReplacer','_toolbarConfig','1829548IoHgsc','fire','_initToolbar','get','ready','editor','detachDomRoot','fillFromConfig','focusTracker','917608BFkstH','setEditableElement','viewportTopOffset'];_0x3197=function(){return _0x108b07;};return _0x3197();}
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
function
|
|
23
|
+
var _0x65ee97=_0x77c2;function _0x77c2(_0x554cf8,_0x1f8e63){var _0x314d3a=_0x314d();return _0x77c2=function(_0x77c24d,_0xf9b908){_0x77c24d=_0x77c24d-0x146;var _0x419266=_0x314d3a[_0x77c24d];return _0x419266;},_0x77c2(_0x554cf8,_0x1f8e63);}function _0x314d(){var _0x18ffdd=['352684FsfhPz','1259235ePGriz','7AluvCa','817170nALIpU','render','_editable','content','10453250lIERrN','stickyPanel','12959EyZALS','shouldToolbarGroupWhenFull','2935560iXssIh','2271136wGaaKv','top','28xwQvoK','editable','toolbar','add','9TEVQEW','main'];_0x314d=function(){return _0x18ffdd;};return _0x314d();}(function(_0x2162de,_0xd854cf){var _0x12c6e9=_0x77c2,_0x4309bd=_0x2162de();while(!![]){try{var _0x368f64=-parseInt(_0x12c6e9(0x158))/0x1*(parseInt(_0x12c6e9(0x149))/0x2)+parseInt(_0x12c6e9(0x150))/0x3+parseInt(_0x12c6e9(0x14f))/0x4+-parseInt(_0x12c6e9(0x146))/0x5+-parseInt(_0x12c6e9(0x152))/0x6*(parseInt(_0x12c6e9(0x151))/0x7)+-parseInt(_0x12c6e9(0x147))/0x8+-parseInt(_0x12c6e9(0x14d))/0x9*(-parseInt(_0x12c6e9(0x156))/0xa);if(_0x368f64===_0xd854cf)break;else _0x4309bd['push'](_0x4309bd['shift']());}catch(_0x163bec){_0x4309bd['push'](_0x4309bd['shift']());}}}(_0x314d,0x59048));import{BoxedEditorUIView as _0x369d9c,InlineEditableUIView as _0x54585c,StickyPanelView as _0x5e7190,ToolbarView as _0x2f82cb}from'ckeditor5/src/ui.js';import'@ckeditor/ckeditor5-editor-classic/theme/classiceditor.css';export class RevisionViewerEditorUIView extends _0x369d9c{[_0x65ee97(0x154)];[_0x65ee97(0x157)];[_0x65ee97(0x14b)];get[_0x65ee97(0x14a)](){var _0xe543d3=_0x65ee97;return this[_0xe543d3(0x154)];}constructor(_0x179242,_0xeb456c,_0x35e150={}){var _0x40d4aa=_0x65ee97;super(_0x179242),this[_0x40d4aa(0x157)]=new _0x5e7190(_0x179242),this[_0x40d4aa(0x14b)]=new _0x2f82cb(_0x179242,{'shouldGroupWhenFull':_0x35e150[_0x40d4aa(0x159)]}),this[_0x40d4aa(0x154)]=new _0x54585c(_0x179242,_0xeb456c);}[_0x65ee97(0x153)](){var _0x230649=_0x65ee97;super[_0x230649(0x153)](),this[_0x230649(0x157)][_0x230649(0x155)][_0x230649(0x14c)](this[_0x230649(0x14b)]),this[_0x230649(0x148)][_0x230649(0x14c)](this[_0x230649(0x157)]),this[_0x230649(0x14e)][_0x230649(0x14c)](this[_0x230649(0x14a)]);}}
|
package/src/index.js
CHANGED
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
(function(
|
|
23
|
+
(function(_0x5960d2,_0x4ed90b){var _0x50649a=_0x31a2,_0x19a8a7=_0x5960d2();while(!![]){try{var _0x3cc8ef=parseInt(_0x50649a(0x18e))/0x1+-parseInt(_0x50649a(0x18d))/0x2+-parseInt(_0x50649a(0x190))/0x3+-parseInt(_0x50649a(0x18f))/0x4+-parseInt(_0x50649a(0x18c))/0x5+-parseInt(_0x50649a(0x18b))/0x6+parseInt(_0x50649a(0x18a))/0x7*(parseInt(_0x50649a(0x189))/0x8);if(_0x3cc8ef===_0x4ed90b)break;else _0x19a8a7['push'](_0x19a8a7['shift']());}catch(_0x4fd80f){_0x19a8a7['push'](_0x19a8a7['shift']());}}}(_0x4fd3,0x67d4d));function _0x31a2(_0x31e2c6,_0x4eb651){var _0x4fd3de=_0x4fd3();return _0x31a2=function(_0x31a25c,_0x4bd28b){_0x31a25c=_0x31a25c-0x189;var _0x85df1=_0x4fd3de[_0x31a25c];return _0x85df1;},_0x31a2(_0x31e2c6,_0x4eb651);}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';function _0x4fd3(){var _0x536dd7=['1407lzfVqU','2198046TDRIJZ','528670NxJhHa','212028OQCxhz','772500TMXdLV','2531460tBXzhK','372504qazpsl','39320qgOsbF'];_0x4fd3=function(){return _0x536dd7;};return _0x4fd3();}export{RevisionTracker}from'./revisiontracker.js';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
|
+
const _0x2a8de2=_0x4e5d;(function(_0x22af53,_0x1131a5){const _0x1dc781=_0x4e5d,_0x2488bf=_0x22af53();while(!![]){try{const _0x588249=-parseInt(_0x1dc781(0x157))/0x1*(-parseInt(_0x1dc781(0x160))/0x2)+parseInt(_0x1dc781(0x15e))/0x3+-parseInt(_0x1dc781(0x15f))/0x4+parseInt(_0x1dc781(0x166))/0x5+parseInt(_0x1dc781(0x165))/0x6+-parseInt(_0x1dc781(0x14f))/0x7*(parseInt(_0x1dc781(0x15d))/0x8)+-parseInt(_0x1dc781(0x153))/0x9*(parseInt(_0x1dc781(0x159))/0xa);if(_0x588249===_0x1131a5)break;else _0x2488bf['push'](_0x2488bf['shift']());}catch(_0x475dab){_0x2488bf['push'](_0x2488bf['shift']());}}}(_0xcf22,0x6901a));function _0xcf22(){const _0x59e42c=['9InltQH','model','toVersion','authors','346881ZkipvX','authorsIds','368140ftgBxn','creator','map','attributes','104awrlQL','1120452zDRhlf','1015588VVXChe','2OEsKGm','fromVersion','_update','set','createdAt','2342142glHjgX','1701070jmanvC','creatorId','fire','name','setAttribute','removeAttribute','393141yfknqr','toJSON','setName','diffData'];_0xcf22=function(){return _0x59e42c;};return _0xcf22();}import{ObservableMixin as _0x52a8a2,uid as _0x54b616}from'ckeditor5/src/utils.js';import{cloneDeep as _0x1a8d02,set as _0x188245,unset as _0x352a93}from'es-toolkit/compat';function _0x4e5d(_0x43b980,_0x857faa){const _0xcf225c=_0xcf22();return _0x4e5d=function(_0x4e5d59,_0x4bec10){_0x4e5d59=_0x4e5d59-0x14c;let _0xce7fc5=_0xcf225c[_0x4e5d59];return _0xce7fc5;},_0x4e5d(_0x43b980,_0x857faa);}export class Revision extends/* #__PURE__ -- @preserve */
|
|
24
|
+
_0x52a8a2(){['id'];[_0x2a8de2(0x15a)];[_0x2a8de2(0x156)];[_0x2a8de2(0x152)];[_0x2a8de2(0x155)];[_0x2a8de2(0x161)];[_0x2a8de2(0x154)];constructor(_0x3c6a27){const _0x1da2b2=_0x2a8de2;super(),this['id']=_0x3c6a27['id']||_0x54b616(),this[_0x1da2b2(0x15a)]=_0x3c6a27[_0x1da2b2(0x15a)]||null,this[_0x1da2b2(0x156)]=_0x3c6a27[_0x1da2b2(0x156)]||[],this[_0x1da2b2(0x152)]=_0x3c6a27[_0x1da2b2(0x152)]||null,this[_0x1da2b2(0x155)]=_0x3c6a27[_0x1da2b2(0x155)]||0x0,this[_0x1da2b2(0x161)]=_0x3c6a27[_0x1da2b2(0x161)]||0x0,this[_0x1da2b2(0x163)](_0x1da2b2(0x14c),_0x3c6a27[_0x1da2b2(0x14c)]||''),this[_0x1da2b2(0x163)](_0x1da2b2(0x164),_0x3c6a27[_0x1da2b2(0x164)]||new Date()),this[_0x1da2b2(0x163)](_0x1da2b2(0x15c),_0x3c6a27[_0x1da2b2(0x15c)]||{});}[_0x2a8de2(0x151)](_0x15bd5d){const _0x184c06=_0x2a8de2;this[_0x184c06(0x162)]({'name':_0x15bd5d});}[_0x2a8de2(0x14d)](_0x20a9fd,_0x56a8bd){const _0x2b4844=_0x2a8de2,_0x3102e5=_0x1a8d02(this[_0x2b4844(0x15c)]);_0x188245(_0x3102e5,_0x20a9fd,_0x56a8bd),this[_0x2b4844(0x162)]({'attributes':_0x3102e5});}[_0x2a8de2(0x14e)](_0xe6651d){const _0x3e8a3d=_0x2a8de2,_0x56e158=_0x1a8d02(this[_0x3e8a3d(0x15c)]);_0x352a93(_0x56e158,_0xe6651d),this[_0x3e8a3d(0x162)]({'attributes':_0x56e158});}[_0x2a8de2(0x162)](_0x500cde,_0x51e7e2=!0x1){const _0x5818b3=_0x2a8de2;let _0x59e365=!0x1;const _0x47b5fd={'id':this['id']},_0x4b1888=[_0x5818b3(0x14c),_0x5818b3(0x164),_0x5818b3(0x152),_0x5818b3(0x156),_0x5818b3(0x15c),_0x5818b3(0x155),_0x5818b3(0x161),_0x5818b3(0x167)];for(const _0x41d355 of _0x4b1888){const _0x488126=_0x500cde[_0x41d355];void 0x0!==_0x488126&&_0x488126!==this[_0x41d355]&&(this[_0x41d355]=_0x488126,_0x47b5fd[_0x41d355]=_0x488126,_0x59e365=!0x0);}_0x59e365&&(_0x47b5fd[_0x5818b3(0x156)]&&(_0x47b5fd[_0x5818b3(0x158)]=_0x47b5fd[_0x5818b3(0x156)][_0x5818b3(0x15b)](_0x4450d4=>_0x4450d4['id']),delete _0x47b5fd[_0x5818b3(0x156)]),this[_0x5818b3(0x168)](_0x5818b3(0x162),_0x47b5fd,_0x51e7e2));}[_0x2a8de2(0x150)](){const _0x29f1d3=_0x2a8de2;return{'id':this['id'],'name':this[_0x29f1d3(0x14c)],'creatorId':this[_0x29f1d3(0x15a)]?this[_0x29f1d3(0x15a)]['id']:null,'authorsIds':this[_0x29f1d3(0x156)][_0x29f1d3(0x15b)](_0x117912=>_0x117912['id']),'diffData':this[_0x29f1d3(0x152)],'createdAt':this[_0x29f1d3(0x164)],'attributes':this[_0x29f1d3(0x15c)],'fromVersion':this[_0x29f1d3(0x161)],'toVersion':this[_0x29f1d3(0x155)]};}}
|
package/src/revisiondiff.js
CHANGED
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
function
|
|
23
|
+
function _0x4000(){const _0x4b6727=['30KjRAWp','2232QWHowe','_setChanges','3429800fzHKal','9794QCdDBp','3382764snvCWv','8835WaSazq','add','1969011ahCQiP','5852334xfNEFp','9dkgydO','changes','7945069CQlfPb','2BUgfWI','oldRevisionId','newRevisionId'];_0x4000=function(){return _0x4b6727;};return _0x4000();}const _0x3c9d19=_0x557e;(function(_0x493317,_0x14abde){const _0x2a4cda=_0x557e,_0x1feebd=_0x493317();while(!![]){try{const _0x46b75c=parseInt(_0x2a4cda(0x18e))/0x1*(-parseInt(_0x2a4cda(0x187))/0x2)+parseInt(_0x2a4cda(0x192))/0x3+parseInt(_0x2a4cda(0x18b))/0x4*(parseInt(_0x2a4cda(0x190))/0x5)+parseInt(_0x2a4cda(0x193))/0x6+parseInt(_0x2a4cda(0x18f))/0x7+-parseInt(_0x2a4cda(0x18d))/0x8*(parseInt(_0x2a4cda(0x194))/0x9)+parseInt(_0x2a4cda(0x18a))/0xa*(-parseInt(_0x2a4cda(0x186))/0xb);if(_0x46b75c===_0x14abde)break;else _0x1feebd['push'](_0x1feebd['shift']());}catch(_0x43ec92){_0x1feebd['push'](_0x1feebd['shift']());}}}(_0x4000,0x78ff8));function _0x557e(_0x26cde1,_0x1287ba){const _0x4000e2=_0x4000();return _0x557e=function(_0x557e1a,_0x45e499){_0x557e1a=_0x557e1a-0x186;let _0x3a0bcd=_0x4000e2[_0x557e1a];return _0x3a0bcd;},_0x557e(_0x26cde1,_0x1287ba);}import{Collection as _0x411015}from'ckeditor5/src/utils.js';export class RevisionDiff{[_0x3c9d19(0x189)];[_0x3c9d19(0x188)];[_0x3c9d19(0x195)];constructor(_0x2743f1,_0x3c5003){const _0x45017a=_0x3c9d19;this[_0x45017a(0x189)]=_0x2743f1,this[_0x45017a(0x188)]=_0x3c5003,this[_0x45017a(0x195)]=new _0x411015();}[_0x3c9d19(0x18c)](_0x2f20ec){const _0x2055ad=_0x3c9d19;for(const _0x273b36 of _0x2f20ec)this[_0x2055ad(0x195)][_0x2055ad(0x191)](_0x273b36);}}
|
package/src/revisionhistory.js
CHANGED
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
const _0x1858b5=_0x4631;(function(_0x5c7936,_0x320273){const _0x32a6b7=_0x4631,_0xa85a8a=_0x5c7936();while(!![]){try{const _0x2729c1=-parseInt(_0x32a6b7(0x10c))/0x1+parseInt(_0x32a6b7(0x18e))/0x2+-parseInt(_0x32a6b7(0x154))/0x3+parseInt(_0x32a6b7(0x12b))/0x4+parseInt(_0x32a6b7(0x139))/0x5+parseInt(_0x32a6b7(0x130))/0x6+-parseInt(_0x32a6b7(0x186))/0x7;if(_0x2729c1===_0x320273)break;else _0xa85a8a['push'](_0xa85a8a['shift']());}catch(_0x1c49f2){_0xa85a8a['push'](_0xa85a8a['shift']());}}}(_0x11bc,0x5301e));import{Plugin as _0x17efbc}from'ckeditor5/src/core.js';import{CKEditorError as _0x1ad2ab,uid as _0x1fe41}from'ckeditor5/src/utils.js';function _0x11bc(){const _0x3aef16=['revisionHistory.requireRevisionName','selection','RevisionViewerIntegration','1819785XlDzxE','join','define','adapter','isOpen','isPremiumPlugin','style','_recalculatePageBreaks','RestrictedEditingMode','revisionHistory.viewerEditorElement','revisionHistory.closeRevisionViewerCallback','error','bind','save','_getRevisionViewerEditorConfig','map','RevisionTracker','translations','closeRevisionViewerCallback','config','revision-history-missing-configuration','isEnabled','model','long','$graveyard','RevisionHistoryUI','isAnonymous','766041ThfrrC','getAttributeKeys','name','getRevisionDocumentData','exitToEditing','push','RevisionsRepository','none','detachRoot','_update','repository','getRevision','removeSelectionAttribute','isReadOnly','saveRevision','rootName','revisionHistory.editorContainer','toolbar','then','_cleanUp','removeAttribute','creator','result','create','hide','revisionHistory.restoreRevisionCallback','getUser','view','isReady','get','addRevisionData','data','remove','toJSON','disableReadOnlyMode','addRoot','insert','refreshVisibility','locale','createRangeIn','fromVersion','setSelection','revision-history-viewer-opened','element','refreshPositioning','Annotations','revisionHistory.showRevisionViewerCallback','uiLanguage','Autosave','catch','78134xTwMXv','_enhanceShowRevisionViewerCallback','enableReadOnlyMode','has','PaginationLookup','isAttached','from','restoreRevision','267846OAsxTR','setAttribute','isRevisionViewerOpen','keys','_restoreRevision','addUser','_enhanceCloseRevisionViewerCallback','block','destroy','createdAt','Users','roots','getRevisionRootsAttributes','set','toVersion','requires','RevisionHistoryUtils','revisionHistory.viewerContainer','getRoot','295293crAvEe','includes','document','Dialog','toLocaleTimeString','display','plugins','commands','getMarkersGroup','init','numeric','_showRevisionViewer','end','Restored','lazyRoots','enqueueChange','change','fromCharCode','users','RevisionViewer','toLocaleDateString','markers','indexOf','editor','restrictedEditingException','DocumentOutline','showRevisionViewerCallback','parse','update','_viewerEditor','RevisionHistory','1439636HSVUon','changesNavigation','DocumentOutlineUI','_closeRevisionViewer','pluginName','264066xieMRv','getRevisions','removeMarker','isOfficialPlugin','revisionHistory','loadRevisionData'];_0x11bc=function(){return _0x3aef16;};return _0x11bc();}function _0x4631(_0x50b64e,_0x48b1c8){const _0x11bcc0=_0x11bc();return _0x4631=function(_0x46319d,_0xe0c75c){_0x46319d=_0x46319d-0x105;let _0x11ef9c=_0x11bcc0[_0x46319d];return _0x11ef9c;},_0x4631(_0x50b64e,_0x48b1c8);}import{RevisionTracker as _0x5d48e0}from'./revisiontracker.js';import{RevisionHistoryUI as _0x359012}from'./ui/revisionhistory/revisionhistoryui.js';import{RevisionViewer as _0x463305}from'./revisionviewer.js';import{RevisionViewerUI as _0x3ece02}from'./ui/revisionviewer/revisionviewerui.js';import{RevisionsSidebar as _0x3a9a85}from'./ui/revisionssidebar/revisionssidebar.js';import{RevisionViewerEditor as _0x120206}from'./editor/revisionviewereditor.js';import{getTranslation as _0x29794d}from'./utils/common-translations.js';import{sanitizeEditorConfig as _0x52e82f}from'ckeditor5-collaboration/src/collaboration-core.js';const d=[_0x1858b5(0x152),_0x1858b5(0x141)];export class RevisionViewerIntegration extends _0x17efbc{[_0x1858b5(0x16a)];static get[_0x1858b5(0x12f)](){const _0x45ee0c=_0x1858b5;return _0x45ee0c(0x138);}static get[_0x1858b5(0x133)](){return!0x0;}static get[_0x1858b5(0x13e)](){return!0x0;}constructor(_0x589f08){const _0x2ed823=_0x1858b5;function _0x2471b3(_0xbf964e){const _0x70727f=_0x4631;return _0xbf964e[_0x70727f(0x148)](_0x5bb37d=>String[_0x70727f(0x11d)](_0x5bb37d))[_0x70727f(0x13a)]('');}super(_0x589f08),this[_0x2ed823(0x16a)]=_0x2ed823(0x118),_0x589f08[_0x2471b3([0x65,0x64,0x69,0x74,0x69,0x6e,0x67])][_0x2471b3([0x76,0x69,0x65,0x77])][_0x2471b3([0x5f,0x6f,0x76,0x65,0x72,0x6c,0x61,0x79,0x4d,0x6f,0x64,0x65,0x48,0x69,0x6e,0x74])]=_0x2471b3([0x61,0x75,0x74,0x6f]),_0x589f08[_0x2471b3([0x5f,0x73,0x65,0x6e,0x64,0x55,0x73,0x61,0x67,0x65,0x52,0x65,0x71,0x75,0x65,0x73,0x74])]=()=>window[_0x2471b3([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65])][_0x2471b3([0x72,0x65,0x73,0x6f,0x6c,0x76,0x65])]({[_0x2471b3([0x73,0x74,0x61,0x74,0x75,0x73])]:_0x2471b3([0x6f,0x6b])});}}export class RevisionHistory extends _0x17efbc{[_0x1858b5(0x129)];static get[_0x1858b5(0x12f)](){const _0x4b77e6=_0x1858b5;return _0x4b77e6(0x12a);}static get[_0x1858b5(0x133)](){return!0x0;}static get[_0x1858b5(0x13e)](){return!0x0;}static get[_0x1858b5(0x108)](){return[_0x5d48e0,_0x359012];}constructor(_0x5f2e3b){const _0xbc73af=_0x1858b5;if(super(_0x5f2e3b),!this[_0xbc73af(0x123)][_0xbc73af(0x14c)][_0xbc73af(0x171)](_0xbc73af(0x134)))throw new _0x1ad2ab(_0xbc73af(0x14d),this);this[_0xbc73af(0x129)]=null,this[_0xbc73af(0x106)](_0xbc73af(0x190),!0x1),this[_0xbc73af(0x123)][_0xbc73af(0x14c)][_0xbc73af(0x13b)](_0xbc73af(0x182),_0x4d6890=>this[_0xbc73af(0x117)]({..._0x4d6890,'translations':this[_0xbc73af(0x123)][_0xbc73af(0x17a)][_0xbc73af(0x14a)]})),this[_0xbc73af(0x123)][_0xbc73af(0x14c)][_0xbc73af(0x13b)](_0xbc73af(0x143),_0x1f421b=>this[_0xbc73af(0x12e)](_0x1f421b)),this[_0xbc73af(0x123)][_0xbc73af(0x14c)][_0xbc73af(0x13b)](_0xbc73af(0x16d),_0x15b3b3=>this[_0xbc73af(0x192)](_0x15b3b3)),this[_0xbc73af(0x123)][_0xbc73af(0x14c)][_0xbc73af(0x13b)](_0xbc73af(0x136),!0x1),this[_0xbc73af(0x187)](),this[_0xbc73af(0x194)]();}set[_0x1858b5(0x13c)](_0x55619b){const _0xca5c91=_0x1858b5;this[_0xca5c91(0x123)][_0xca5c91(0x112)][_0xca5c91(0x171)](_0xca5c91(0x149))[_0xca5c91(0x13c)]=_0x55619b;}get[_0x1858b5(0x13c)](){const _0x4f1dea=_0x1858b5;return this[_0x4f1dea(0x123)][_0x4f1dea(0x112)][_0x4f1dea(0x171)](_0x4f1dea(0x149))[_0x4f1dea(0x13c)];}[_0x1858b5(0x172)](_0x12b37d){const _0x3de39d=_0x1858b5;return this[_0x3de39d(0x123)][_0x3de39d(0x112)][_0x3de39d(0x171)](_0x3de39d(0x149))[_0x3de39d(0x172)](_0x12b37d);}[_0x1858b5(0x15f)](_0x116db0){const _0x1c0c3a=_0x1858b5;return this[_0x1c0c3a(0x123)][_0x1c0c3a(0x112)][_0x1c0c3a(0x171)](_0x1c0c3a(0x15a))[_0x1c0c3a(0x15f)](_0x116db0);}[_0x1858b5(0x131)](_0x337be9){const _0x5a941d=_0x1858b5;return this[_0x5a941d(0x123)][_0x5a941d(0x112)][_0x5a941d(0x171)](_0x5a941d(0x15a))[_0x5a941d(0x131)](_0x337be9||{'toJSON':!0x1});}[_0x1858b5(0x147)](){const _0x148324=_0x1858b5,_0x1125e4=this[_0x148324(0x123)],_0x3a70c2=_0x52e82f(_0x1125e4,d),_0x44a672=_0x1125e4[_0x148324(0x112)][_0x148324(0x171)](_0x148324(0x149)),_0x276081=_0x1125e4[_0x148324(0x112)][_0x148324(0x171)](_0x148324(0x198))[_0x148324(0x11e)];return _0x3a70c2[_0x148324(0x165)]=[_0x148324(0x158),_0x148324(0x18d),_0x148324(0x12c)],delete _0x3a70c2[_0x148324(0x11a)],(_0x3a70c2[_0x148324(0x112)][_0x148324(0x159)](RevisionViewerIntegration,_0x463305,_0x3ece02,class extends _0x17efbc{static get[_0x148324(0x108)](){const _0x494e86=_0x148324;return[_0x463305,_0x494e86(0x198)];}[_0x148324(0x115)](){const _0x323cee=_0x148324,_0x25cdf8=this[_0x323cee(0x123)][_0x323cee(0x112)][_0x323cee(0x171)](_0x323cee(0x198));for(const _0x9a59f3 of _0x276081)_0x9a59f3[_0x323cee(0x153)]||_0x25cdf8[_0x323cee(0x16e)](_0x9a59f3['id'])||_0x25cdf8[_0x323cee(0x193)](_0x9a59f3);const _0x4a1fbf=_0x44a672[_0x323cee(0x15e)][_0x323cee(0x131)]();let _0x331712=null;const _0x47afb2=this[_0x323cee(0x123)][_0x323cee(0x112)][_0x323cee(0x171)](_0x323cee(0x11f));_0x47afb2[_0x323cee(0x13c)]=_0x44a672[_0x323cee(0x13c)],_0x47afb2[_0x323cee(0x145)](_0x323cee(0x14e))['to'](_0x44a672),this[_0x323cee(0x123)][_0x323cee(0x113)][_0x323cee(0x171)](_0x323cee(0x18d))[_0x323cee(0x145)](_0x323cee(0x14e))['to'](_0x1125e4,_0x323cee(0x161),_0xac7662=>!_0xac7662);for(const _0x453964 of _0x4a1fbf){const _0x528e14=null===_0x453964[_0x323cee(0x169)];if(_0x528e14&&_0x453964[_0x323cee(0x107)]===_0x453964[_0x323cee(0x17c)])continue;const _0x3766ec=_0x453964[_0x323cee(0x175)]();_0x47afb2[_0x323cee(0x172)](_0x3766ec,(_0x52f4b8,_0x386f35,_0x501317)=>{const _0x42f55c=_0x323cee;if(_0x528e14){if(_0x331712)_0x331712[_0x42f55c(0x15d)](_0x52f4b8,_0x386f35);else{if(!_0x386f35){const _0x2889a9=_0x501317[_0x42f55c(0x175)]();_0x2889a9['id']=_0x1fe41(),_0x44a672[_0x42f55c(0x162)](_0x2889a9,_0x501317[_0x42f55c(0x107)])[_0x42f55c(0x166)](_0x34d175=>{_0x331712=_0x34d175;});}}}else _0x453964[_0x42f55c(0x15d)](_0x52f4b8,_0x386f35);});}}},_0x3a9a85),_0x3a70c2);}[_0x1858b5(0x187)](){const _0x56eba0=_0x1858b5,_0x58c314=this[_0x56eba0(0x123)][_0x56eba0(0x14c)][_0x56eba0(0x171)](_0x56eba0(0x134))[_0x56eba0(0x126)];this[_0x56eba0(0x123)][_0x56eba0(0x14c)][_0x56eba0(0x106)](_0x56eba0(0x182),async()=>{const _0x38ecbd=_0x56eba0;this[_0x38ecbd(0x123)][_0x38ecbd(0x188)](_0x38ecbd(0x17e));const _0x286c4d=this[_0x38ecbd(0x123)][_0x38ecbd(0x112)][_0x38ecbd(0x171)](_0x38ecbd(0x149));if(this[_0x38ecbd(0x123)][_0x38ecbd(0x112)][_0x38ecbd(0x189)](_0x38ecbd(0x184))){const _0x2f34e2=this[_0x38ecbd(0x123)][_0x38ecbd(0x112)][_0x38ecbd(0x171)](_0x38ecbd(0x184));await _0x2f34e2[_0x38ecbd(0x146)]();}else await _0x286c4d[_0x38ecbd(0x128)]();if(this[_0x38ecbd(0x123)][_0x38ecbd(0x112)][_0x38ecbd(0x189)](_0x38ecbd(0x18a))&&this[_0x38ecbd(0x123)][_0x38ecbd(0x112)][_0x38ecbd(0x171)](_0x38ecbd(0x18a))[_0x38ecbd(0x140)](),this[_0x38ecbd(0x123)][_0x38ecbd(0x112)][_0x38ecbd(0x189)](_0x38ecbd(0x10f))){const _0x32c92b=this[_0x38ecbd(0x123)][_0x38ecbd(0x112)][_0x38ecbd(0x171)](_0x38ecbd(0x10f));_0x32c92b[_0x38ecbd(0x13d)]&&_0x32c92b[_0x38ecbd(0x16c)]();}const _0x3b5898=this[_0x38ecbd(0x147)]();return _0x58c314(_0x3b5898)[_0x38ecbd(0x166)](_0x2c13c5=>{const _0x48de2b=_0x38ecbd;return(this[_0x48de2b(0x129)]=_0x2c13c5,this[_0x48de2b(0x123)][_0x48de2b(0x112)][_0x48de2b(0x189)](_0x48de2b(0x181)))&&this[_0x48de2b(0x123)][_0x48de2b(0x112)][_0x48de2b(0x171)](_0x48de2b(0x181))[_0x48de2b(0x179)](),(this[_0x48de2b(0x123)][_0x48de2b(0x112)][_0x48de2b(0x189)](_0x48de2b(0x125))&&(this[_0x48de2b(0x123)][_0x48de2b(0x112)][_0x48de2b(0x171)](_0x48de2b(0x12d))[_0x48de2b(0x16f)][_0x48de2b(0x17f)][_0x48de2b(0x13f)][_0x48de2b(0x111)]=_0x48de2b(0x15b)),_0x2c13c5);})[_0x38ecbd(0x185)](_0x595227=>(console[_0x38ecbd(0x144)](_0x595227),this[_0x38ecbd(0x123)][_0x38ecbd(0x176)](_0x38ecbd(0x17e)),null));});}[_0x1858b5(0x194)](){const _0x21c6af=_0x1858b5,_0x2dc56f=this[_0x21c6af(0x123)][_0x21c6af(0x14c)][_0x21c6af(0x171)](_0x21c6af(0x134))[_0x21c6af(0x14b)];this[_0x21c6af(0x123)][_0x21c6af(0x14c)][_0x21c6af(0x106)](_0x21c6af(0x143),()=>(this[_0x21c6af(0x123)][_0x21c6af(0x112)][_0x21c6af(0x189)](_0x21c6af(0x18a))&&this[_0x21c6af(0x123)][_0x21c6af(0x112)][_0x21c6af(0x171)](_0x21c6af(0x18a))[_0x21c6af(0x140)](),this[_0x21c6af(0x123)][_0x21c6af(0x112)][_0x21c6af(0x189)](_0x21c6af(0x125))&&(this[_0x21c6af(0x123)][_0x21c6af(0x112)][_0x21c6af(0x171)](_0x21c6af(0x12d))[_0x21c6af(0x16f)][_0x21c6af(0x17f)][_0x21c6af(0x13f)][_0x21c6af(0x111)]=''),this[_0x21c6af(0x129)][_0x21c6af(0x112)][_0x21c6af(0x171)](_0x21c6af(0x11f))[_0x21c6af(0x167)](),_0x2dc56f(this[_0x21c6af(0x129)])[_0x21c6af(0x166)](()=>{const _0x37da44=_0x21c6af;if(this[_0x37da44(0x123)][_0x37da44(0x176)](_0x37da44(0x17e)),this[_0x37da44(0x129)]=null,this[_0x37da44(0x123)][_0x37da44(0x112)][_0x37da44(0x189)](_0x37da44(0x181))){const _0x4445f4=this[_0x37da44(0x123)][_0x37da44(0x112)][_0x37da44(0x171)](_0x37da44(0x181));_0x4445f4[_0x37da44(0x179)](),_0x4445f4[_0x37da44(0x180)]();}})));}[_0x1858b5(0x117)](_0x3df95e){const _0x111936=_0x1858b5,_0x7d2197=this[_0x111936(0x123)][_0x111936(0x14c)][_0x111936(0x171)](_0x111936(0x164)),_0x13633c=this[_0x111936(0x123)][_0x111936(0x14c)][_0x111936(0x171)](_0x111936(0x10a)),_0xf41f10=this[_0x111936(0x123)][_0x111936(0x14c)][_0x111936(0x171)](_0x111936(0x142));return _0x120206[_0x111936(0x16b)](_0xf41f10,_0x3df95e)[_0x111936(0x166)](_0x29c13c=>(_0x13633c[_0x111936(0x13f)][_0x111936(0x111)]=_0x111936(0x195),_0x7d2197[_0x111936(0x13f)][_0x111936(0x111)]=_0x111936(0x15b),this[_0x111936(0x190)]=!0x0,_0x29c13c));}[_0x1858b5(0x12e)](_0x47e5c1){const _0x383c94=_0x1858b5,_0x4cf86c=this[_0x383c94(0x123)][_0x383c94(0x14c)][_0x383c94(0x171)](_0x383c94(0x164));return this[_0x383c94(0x123)][_0x383c94(0x14c)][_0x383c94(0x171)](_0x383c94(0x10a))[_0x383c94(0x13f)][_0x383c94(0x111)]=_0x383c94(0x15b),_0x4cf86c[_0x383c94(0x13f)][_0x383c94(0x111)]='',this[_0x383c94(0x190)]=!0x1,_0x47e5c1[_0x383c94(0x196)]();}async[_0x1858b5(0x192)](_0x435c5c){const _0xcc8eae=_0x1858b5,_0x15908f=this[_0xcc8eae(0x123)],_0x24b242=this[_0xcc8eae(0x129)][_0xcc8eae(0x112)][_0xcc8eae(0x171)](_0xcc8eae(0x11f)),_0xd3052=_0x15908f[_0xcc8eae(0x112)][_0xcc8eae(0x171)](_0xcc8eae(0x149)),_0x8dc48a=_0x15908f[_0xcc8eae(0x112)][_0xcc8eae(0x171)](_0xcc8eae(0x109)),_0x289dd0=_0x24b242[_0xcc8eae(0x15e)][_0xcc8eae(0x15f)](_0x435c5c);let _0x40e8d1,_0x15ffab,_0xb45686;try{await _0x8dc48a[_0xcc8eae(0x135)](_0x289dd0,this[_0xcc8eae(0x13c)]),_0x40e8d1=_0x8dc48a[_0xcc8eae(0x157)](_0x289dd0),_0x15ffab=_0x8dc48a[_0xcc8eae(0x105)](_0x289dd0);}catch(_0x19c356){return void console[_0xcc8eae(0x144)](_0x19c356);}_0x15908f[_0xcc8eae(0x14f)][_0xcc8eae(0x11c)](_0x5136fa=>{const _0x3c8e40=_0xcc8eae;for(const _0x577ace of Array[_0x3c8e40(0x18c)](_0x15908f[_0x3c8e40(0x14f)][_0x3c8e40(0x121)][_0x3c8e40(0x114)](_0x3c8e40(0x124))))_0x5136fa[_0x3c8e40(0x132)](_0x577ace);}),_0x24b242[_0xcc8eae(0x170)]=!0x1,_0x15908f[_0xcc8eae(0x14f)][_0xcc8eae(0x11b)](_0x341bca=>{const _0x2aca76=_0xcc8eae;_0x341bca[_0x2aca76(0x17d)](null),_0x341bca[_0x2aca76(0x160)](_0x15908f[_0x2aca76(0x14f)][_0x2aca76(0x10e)][_0x2aca76(0x137)][_0x2aca76(0x155)]());const _0x589232=Object[_0x2aca76(0x191)](_0x40e8d1);for(const _0x359ec0 of _0x15908f[_0x2aca76(0x14f)][_0x2aca76(0x10e)][_0x2aca76(0x199)])_0x2aca76(0x151)!=_0x359ec0[_0x2aca76(0x163)]&&_0x359ec0[_0x2aca76(0x18b)]()&&!_0x589232[_0x2aca76(0x10d)](_0x359ec0[_0x2aca76(0x163)])&&_0x341bca[_0x2aca76(0x15c)](_0x359ec0);for(const _0x26c01c of _0x589232){let _0xc3f32c=_0x15908f[_0x2aca76(0x14f)][_0x2aca76(0x10e)][_0x2aca76(0x10b)](_0x26c01c);_0xc3f32c&&_0xc3f32c[_0x2aca76(0x18b)]()||(_0xc3f32c=_0x341bca[_0x2aca76(0x177)](_0x26c01c));const _0x4c2993=_0x15ffab[_0x26c01c],_0x97f1b6=Object[_0x2aca76(0x191)](_0x4c2993),_0x149a9c=_0x40e8d1[_0x26c01c];for(const _0x29f1bb of _0xc3f32c[_0x2aca76(0x155)]())_0x97f1b6[_0x2aca76(0x10d)](_0x29f1bb)||_0x341bca[_0x2aca76(0x168)](_0x29f1bb,_0xc3f32c);for(const _0x4ed265 of _0x97f1b6)_0x341bca[_0x2aca76(0x18f)](_0x4ed265,_0x15ffab[_0x26c01c][_0x4ed265],_0xc3f32c);_0x341bca[_0x2aca76(0x174)](_0x341bca[_0x2aca76(0x17b)](_0xc3f32c)),_0x341bca[_0x2aca76(0x178)](_0x15908f[_0x2aca76(0x173)][_0x2aca76(0x127)](_0x149a9c,_0xc3f32c),_0xc3f32c,0x0);}});const _0x3a5ecb=_0x29794d(_0x15908f[_0xcc8eae(0x17a)],_0xcc8eae(0x119));if(_0x289dd0[_0xcc8eae(0x156)])_0xb45686=-0x1==_0x289dd0[_0xcc8eae(0x156)][_0xcc8eae(0x122)](_0x3a5ecb)?_0x3a5ecb+':\x20'+_0x289dd0[_0xcc8eae(0x156)]:_0x289dd0[_0xcc8eae(0x156)];else _0xb45686=_0x3a5ecb+':\x20'+(_0x289dd0[_0xcc8eae(0x197)][_0xcc8eae(0x120)](_0x15908f[_0xcc8eae(0x17a)][_0xcc8eae(0x183)],{'month':_0xcc8eae(0x150),'day':_0xcc8eae(0x116)})+',\x20'+_0x289dd0[_0xcc8eae(0x197)][_0xcc8eae(0x110)](_0x15908f[_0xcc8eae(0x17a)][_0xcc8eae(0x183)],{'hour':_0xcc8eae(0x116),'minute':_0xcc8eae(0x116)}));return await _0xd3052[_0xcc8eae(0x162)]({'name':_0xb45686}),_0x24b242[_0xcc8eae(0x170)]=!0x0,_0x15908f[_0xcc8eae(0x14c)][_0xcc8eae(0x171)](_0xcc8eae(0x134))[_0xcc8eae(0x14b)]();}}
|
|
23
|
+
const _0x101e83=_0x4201;(function(_0x1626f2,_0x328280){const _0x4743da=_0x4201,_0x48e364=_0x1626f2();while(!![]){try{const _0x1fb1fa=parseInt(_0x4743da(0x160))/0x1*(-parseInt(_0x4743da(0x191))/0x2)+-parseInt(_0x4743da(0x13e))/0x3+-parseInt(_0x4743da(0x178))/0x4*(-parseInt(_0x4743da(0x119))/0x5)+-parseInt(_0x4743da(0x141))/0x6*(parseInt(_0x4743da(0x130))/0x7)+-parseInt(_0x4743da(0x144))/0x8*(parseInt(_0x4743da(0x10a))/0x9)+parseInt(_0x4743da(0x15d))/0xa+-parseInt(_0x4743da(0x116))/0xb*(-parseInt(_0x4743da(0x124))/0xc);if(_0x1fb1fa===_0x328280)break;else _0x48e364['push'](_0x48e364['shift']());}catch(_0x5798c8){_0x48e364['push'](_0x48e364['shift']());}}}(_0x2ca3,0x9180b));import{Plugin as _0xba0e05}from'ckeditor5/src/core.js';import{CKEditorError as _0xb4b339,uid as _0x4d1dde}from'ckeditor5/src/utils.js';function _0x4201(_0x4429d9,_0xd7d214){const _0x2ca315=_0x2ca3();return _0x4201=function(_0x4201d7,_0x3fa260){_0x4201d7=_0x4201d7-0x102;let _0x4e55c5=_0x2ca315[_0x4201d7];return _0x4e55c5;},_0x4201(_0x4429d9,_0xd7d214);}import{RevisionTracker as _0x45d307}from'./revisiontracker.js';import{RevisionHistoryUI as _0x24de7c}from'./ui/revisionhistory/revisionhistoryui.js';import{RevisionViewer as _0x467b95}from'./revisionviewer.js';import{RevisionViewerUI as _0xef41f4}from'./ui/revisionviewer/revisionviewerui.js';import{RevisionsSidebar as _0x54a7c0}from'./ui/revisionssidebar/revisionssidebar.js';import{RevisionViewerEditor as _0x3f6747}from'./editor/revisionviewereditor.js';import{getTranslation as _0x4e8a64}from'./utils/common-translations.js';import{sanitizeEditorConfig as _0x41f4f4}from'ckeditor5-collaboration/src/collaboration-core.js';const d=[_0x101e83(0x15a),_0x101e83(0x14d)];export class RevisionViewerIntegration extends _0xba0e05{[_0x101e83(0x106)];static get[_0x101e83(0x16c)](){const _0x374ea1=_0x101e83;return _0x374ea1(0x199);}static get[_0x101e83(0x140)](){return!0x0;}static get[_0x101e83(0x186)](){return!0x0;}constructor(_0x5c7ba6){const _0x5698de=_0x101e83;function _0x142fd0(_0x18fc7e){const _0xf1fb2a=_0x4201;return _0x18fc7e[_0xf1fb2a(0x11b)](_0x302dbf=>String[_0xf1fb2a(0x19b)](_0x302dbf))[_0xf1fb2a(0x14f)]('');}super(_0x5c7ba6),this[_0x5698de(0x106)]=_0x5698de(0x117),_0x5c7ba6[_0x142fd0([0x65,0x64,0x69,0x74,0x69,0x6e,0x67])][_0x142fd0([0x76,0x69,0x65,0x77])][_0x142fd0([0x5f,0x6f,0x76,0x65,0x72,0x6c,0x61,0x79,0x4d,0x6f,0x64,0x65,0x48,0x69,0x6e,0x74])]=_0x142fd0([0x61,0x75,0x74,0x6f]),_0x5c7ba6[_0x142fd0([0x5f,0x73,0x65,0x6e,0x64,0x55,0x73,0x61,0x67,0x65,0x52,0x65,0x71,0x75,0x65,0x73,0x74])]=()=>window[_0x142fd0([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65])][_0x142fd0([0x72,0x65,0x73,0x6f,0x6c,0x76,0x65])]({[_0x142fd0([0x73,0x74,0x61,0x74,0x75,0x73])]:_0x142fd0([0x6f,0x6b])});}}function _0x2ca3(){const _0x49f5c5=['fromVersion','addRevisionData','define','isEnabled','set','refreshPositioning','isOpen','1272294gLNxqu','restoreRevision','isOfficialPlugin','5940kWKuET','restrictedEditingException','setSelection','56PNhXkA','showRevisionViewerCallback','getRevision','markers','RevisionHistoryUtils','revisionHistory','from','toolbar','block','RestrictedEditingMode','setAttribute','join','revisionHistory.restoreRevisionCallback','isRevisionViewerOpen','error','keys','RevisionViewer','lazyRoots','getMarkersGroup','closeRevisionViewerCallback','getAttributeKeys','update','RevisionHistoryUI','hide','getRevisions','6575990tOfTpx','uiLanguage','toJSON','2qWABuf','isReadOnly','has','adapter','view','createRangeIn','repository','revision-history-viewer-opened','_update','Users','refreshVisibility','_enhanceCloseRevisionViewerCallback','pluginName','removeSelectionAttribute','_viewerEditor','push','getRoot','Restored','config','getUser','style','locale','catch','_getRevisionViewerEditorConfig','108fppyMg','enableReadOnlyMode','toLocaleTimeString','disableReadOnlyMode','indexOf','_enhanceShowRevisionViewerCallback','name','DocumentOutline','requires','destroy','revision-history-missing-configuration','RevisionTracker','long','addUser','isPremiumPlugin','Dialog','removeMarker','document','roots','revisionHistory.requireRevisionName','Annotations','selection','Autosave','plugins','init','961118DoMWxs','model','toLocaleDateString','change','isAnonymous','saveRevision','DocumentOutlineUI','editor','RevisionViewerIntegration','_recalculatePageBreaks','fromCharCode','revisionHistory.closeRevisionViewerCallback','none','enqueueChange','commands','result','_cleanUp','RevisionHistory','parse','57051PDjYod','$graveyard','revisionHistory.editorContainer','exitToEditing','display','PaginationLookup','detachRoot','includes','addRoot','changesNavigation','RevisionsRepository','revisionHistory.showRevisionViewerCallback','10857682LRDaHZ','end','revisionHistory.viewerContainer','86855zCnnDy','rootName','map','_showRevisionViewer','isAttached','creator','bind','getRevisionDocumentData','isReady','remove','removeAttribute','12rccvPt','users','then','_closeRevisionViewer','insert','getRevisionRootsAttributes','get','toVersion','create','_restoreRevision','revisionHistory.viewerEditorElement','loadRevisionData','623zKPTzF','numeric','save','element','createdAt','data','translations'];_0x2ca3=function(){return _0x49f5c5;};return _0x2ca3();}export class RevisionHistory extends _0xba0e05{[_0x101e83(0x16e)];static get[_0x101e83(0x16c)](){const _0x4ab233=_0x101e83;return _0x4ab233(0x108);}static get[_0x101e83(0x140)](){return!0x0;}static get[_0x101e83(0x186)](){return!0x0;}static get[_0x101e83(0x180)](){return[_0x45d307,_0x24de7c];}constructor(_0x409ead){const _0x4f4713=_0x101e83;if(super(_0x409ead),!this[_0x4f4713(0x198)][_0x4f4713(0x172)][_0x4f4713(0x12a)](_0x4f4713(0x149)))throw new _0xb4b339(_0x4f4713(0x182),this);this[_0x4f4713(0x16e)]=null,this[_0x4f4713(0x13b)](_0x4f4713(0x151),!0x1),this[_0x4f4713(0x198)][_0x4f4713(0x172)][_0x4f4713(0x139)](_0x4f4713(0x115),_0x38cd88=>this[_0x4f4713(0x11c)]({..._0x38cd88,'translations':this[_0x4f4713(0x198)][_0x4f4713(0x175)][_0x4f4713(0x136)]})),this[_0x4f4713(0x198)][_0x4f4713(0x172)][_0x4f4713(0x139)](_0x4f4713(0x102),_0x3ee588=>this[_0x4f4713(0x127)](_0x3ee588)),this[_0x4f4713(0x198)][_0x4f4713(0x172)][_0x4f4713(0x139)](_0x4f4713(0x150),_0x220e8d=>this[_0x4f4713(0x12d)](_0x220e8d)),this[_0x4f4713(0x198)][_0x4f4713(0x172)][_0x4f4713(0x139)](_0x4f4713(0x18b),!0x1),this[_0x4f4713(0x17d)](),this[_0x4f4713(0x16b)]();}set[_0x101e83(0x163)](_0x4279e3){const _0x2d85ce=_0x101e83;this[_0x2d85ce(0x198)][_0x2d85ce(0x18f)][_0x2d85ce(0x12a)](_0x2d85ce(0x183))[_0x2d85ce(0x163)]=_0x4279e3;}get[_0x101e83(0x163)](){const _0x5eec28=_0x101e83;return this[_0x5eec28(0x198)][_0x5eec28(0x18f)][_0x5eec28(0x12a)](_0x5eec28(0x183))[_0x5eec28(0x163)];}[_0x101e83(0x138)](_0x181e98){const _0x3c1f09=_0x101e83;return this[_0x3c1f09(0x198)][_0x3c1f09(0x18f)][_0x3c1f09(0x12a)](_0x3c1f09(0x183))[_0x3c1f09(0x138)](_0x181e98);}[_0x101e83(0x146)](_0x44003a){const _0x3bd217=_0x101e83;return this[_0x3bd217(0x198)][_0x3bd217(0x18f)][_0x3bd217(0x12a)](_0x3bd217(0x114))[_0x3bd217(0x146)](_0x44003a);}[_0x101e83(0x15c)](_0x183f17){const _0x14a431=_0x101e83;return this[_0x14a431(0x198)][_0x14a431(0x18f)][_0x14a431(0x12a)](_0x14a431(0x114))[_0x14a431(0x15c)](_0x183f17||{'toJSON':!0x1});}[_0x101e83(0x177)](){const _0x329043=_0x101e83,_0x1f039f=this[_0x329043(0x198)],_0x415874=_0x41f4f4(_0x1f039f,d),_0x59b7a9=_0x1f039f[_0x329043(0x18f)][_0x329043(0x12a)](_0x329043(0x183)),_0x159561=_0x1f039f[_0x329043(0x18f)][_0x329043(0x12a)](_0x329043(0x169))[_0x329043(0x125)];return _0x415874[_0x329043(0x14b)]=[_0x329043(0x10d),_0x329043(0x13f),_0x329043(0x113)],delete _0x415874[_0x329043(0x155)],(_0x415874[_0x329043(0x18f)][_0x329043(0x16f)](RevisionViewerIntegration,_0x467b95,_0xef41f4,class extends _0xba0e05{static get[_0x329043(0x180)](){const _0x780eb3=_0x329043;return[_0x467b95,_0x780eb3(0x169)];}[_0x329043(0x190)](){const _0x17aacd=_0x329043,_0xf0fb20=this[_0x17aacd(0x198)][_0x17aacd(0x18f)][_0x17aacd(0x12a)](_0x17aacd(0x169));for(const _0x5bb66a of _0x159561)_0x5bb66a[_0x17aacd(0x195)]||_0xf0fb20[_0x17aacd(0x173)](_0x5bb66a['id'])||_0xf0fb20[_0x17aacd(0x185)](_0x5bb66a);const _0x170f9a=_0x59b7a9[_0x17aacd(0x166)][_0x17aacd(0x15c)]();let _0x28274f=null;const _0x4d7dff=this[_0x17aacd(0x198)][_0x17aacd(0x18f)][_0x17aacd(0x12a)](_0x17aacd(0x154));_0x4d7dff[_0x17aacd(0x163)]=_0x59b7a9[_0x17aacd(0x163)],_0x4d7dff[_0x17aacd(0x11f)](_0x17aacd(0x13a))['to'](_0x59b7a9),this[_0x17aacd(0x198)][_0x17aacd(0x105)][_0x17aacd(0x12a)](_0x17aacd(0x13f))[_0x17aacd(0x11f)](_0x17aacd(0x13a))['to'](_0x1f039f,_0x17aacd(0x161),_0xfeb160=>!_0xfeb160);for(const _0x3b3dc9 of _0x170f9a){const _0xae6b0c=null===_0x3b3dc9[_0x17aacd(0x11e)];if(_0xae6b0c&&_0x3b3dc9[_0x17aacd(0x12b)]===_0x3b3dc9[_0x17aacd(0x137)])continue;const _0x19f3a5=_0x3b3dc9[_0x17aacd(0x15f)]();_0x4d7dff[_0x17aacd(0x138)](_0x19f3a5,(_0x26fe13,_0x59a401,_0x2af734)=>{const _0x5034e2=_0x17aacd;if(_0xae6b0c){if(_0x28274f)_0x28274f[_0x5034e2(0x168)](_0x26fe13,_0x59a401);else{if(!_0x59a401){const _0x164f36=_0x2af734[_0x5034e2(0x15f)]();_0x164f36['id']=_0x4d1dde(),_0x59b7a9[_0x5034e2(0x196)](_0x164f36,_0x2af734[_0x5034e2(0x12b)])[_0x5034e2(0x126)](_0x49ad53=>{_0x28274f=_0x49ad53;});}}}else _0x3b3dc9[_0x5034e2(0x168)](_0x26fe13,_0x59a401);});}}},_0x54a7c0),_0x415874);}[_0x101e83(0x17d)](){const _0x1b0ad9=_0x101e83,_0x242802=this[_0x1b0ad9(0x198)][_0x1b0ad9(0x172)][_0x1b0ad9(0x12a)](_0x1b0ad9(0x149))[_0x1b0ad9(0x145)];this[_0x1b0ad9(0x198)][_0x1b0ad9(0x172)][_0x1b0ad9(0x13b)](_0x1b0ad9(0x115),async()=>{const _0x37ec10=_0x1b0ad9;this[_0x37ec10(0x198)][_0x37ec10(0x179)](_0x37ec10(0x167));const _0x38f637=this[_0x37ec10(0x198)][_0x37ec10(0x18f)][_0x37ec10(0x12a)](_0x37ec10(0x183));if(this[_0x37ec10(0x198)][_0x37ec10(0x18f)][_0x37ec10(0x162)](_0x37ec10(0x18e))){const _0x26a649=this[_0x37ec10(0x198)][_0x37ec10(0x18f)][_0x37ec10(0x12a)](_0x37ec10(0x18e));await _0x26a649[_0x37ec10(0x132)]();}else await _0x38f637[_0x37ec10(0x159)]();if(this[_0x37ec10(0x198)][_0x37ec10(0x18f)][_0x37ec10(0x162)](_0x37ec10(0x10f))&&this[_0x37ec10(0x198)][_0x37ec10(0x18f)][_0x37ec10(0x12a)](_0x37ec10(0x10f))[_0x37ec10(0x19a)](),this[_0x37ec10(0x198)][_0x37ec10(0x18f)][_0x37ec10(0x162)](_0x37ec10(0x187))){const _0xe833ca=this[_0x37ec10(0x198)][_0x37ec10(0x18f)][_0x37ec10(0x12a)](_0x37ec10(0x187));_0xe833ca[_0x37ec10(0x13d)]&&_0xe833ca[_0x37ec10(0x15b)]();}const _0x59995b=this[_0x37ec10(0x177)]();return _0x242802(_0x59995b)[_0x37ec10(0x126)](_0x515d0d=>{const _0x4cfbd4=_0x37ec10;return(this[_0x4cfbd4(0x16e)]=_0x515d0d,this[_0x4cfbd4(0x198)][_0x4cfbd4(0x18f)][_0x4cfbd4(0x162)](_0x4cfbd4(0x18c)))&&this[_0x4cfbd4(0x198)][_0x4cfbd4(0x18f)][_0x4cfbd4(0x12a)](_0x4cfbd4(0x18c))[_0x4cfbd4(0x16a)](),(this[_0x4cfbd4(0x198)][_0x4cfbd4(0x18f)][_0x4cfbd4(0x162)](_0x4cfbd4(0x17f))&&(this[_0x4cfbd4(0x198)][_0x4cfbd4(0x18f)][_0x4cfbd4(0x12a)](_0x4cfbd4(0x197))[_0x4cfbd4(0x164)][_0x4cfbd4(0x133)][_0x4cfbd4(0x174)][_0x4cfbd4(0x10e)]=_0x4cfbd4(0x103)),_0x515d0d);})[_0x37ec10(0x176)](_0x20100f=>(console[_0x37ec10(0x152)](_0x20100f),this[_0x37ec10(0x198)][_0x37ec10(0x17b)](_0x37ec10(0x167)),null));});}[_0x101e83(0x16b)](){const _0x1f627f=_0x101e83,_0x30224c=this[_0x1f627f(0x198)][_0x1f627f(0x172)][_0x1f627f(0x12a)](_0x1f627f(0x149))[_0x1f627f(0x157)];this[_0x1f627f(0x198)][_0x1f627f(0x172)][_0x1f627f(0x13b)](_0x1f627f(0x102),()=>(this[_0x1f627f(0x198)][_0x1f627f(0x18f)][_0x1f627f(0x162)](_0x1f627f(0x10f))&&this[_0x1f627f(0x198)][_0x1f627f(0x18f)][_0x1f627f(0x12a)](_0x1f627f(0x10f))[_0x1f627f(0x19a)](),this[_0x1f627f(0x198)][_0x1f627f(0x18f)][_0x1f627f(0x162)](_0x1f627f(0x17f))&&(this[_0x1f627f(0x198)][_0x1f627f(0x18f)][_0x1f627f(0x12a)](_0x1f627f(0x197))[_0x1f627f(0x164)][_0x1f627f(0x133)][_0x1f627f(0x174)][_0x1f627f(0x10e)]=''),this[_0x1f627f(0x16e)][_0x1f627f(0x18f)][_0x1f627f(0x12a)](_0x1f627f(0x154))[_0x1f627f(0x107)](),_0x30224c(this[_0x1f627f(0x16e)])[_0x1f627f(0x126)](()=>{const _0x9ba5f7=_0x1f627f;if(this[_0x9ba5f7(0x198)][_0x9ba5f7(0x17b)](_0x9ba5f7(0x167)),this[_0x9ba5f7(0x16e)]=null,this[_0x9ba5f7(0x198)][_0x9ba5f7(0x18f)][_0x9ba5f7(0x162)](_0x9ba5f7(0x18c))){const _0x36e553=this[_0x9ba5f7(0x198)][_0x9ba5f7(0x18f)][_0x9ba5f7(0x12a)](_0x9ba5f7(0x18c));_0x36e553[_0x9ba5f7(0x16a)](),_0x36e553[_0x9ba5f7(0x13c)]();}})));}[_0x101e83(0x11c)](_0x235d89){const _0x103c8c=_0x101e83,_0x5edd23=this[_0x103c8c(0x198)][_0x103c8c(0x172)][_0x103c8c(0x12a)](_0x103c8c(0x10c)),_0x4ec43d=this[_0x103c8c(0x198)][_0x103c8c(0x172)][_0x103c8c(0x12a)](_0x103c8c(0x118)),_0x4dfd6c=this[_0x103c8c(0x198)][_0x103c8c(0x172)][_0x103c8c(0x12a)](_0x103c8c(0x12e));return _0x3f6747[_0x103c8c(0x12c)](_0x4dfd6c,_0x235d89)[_0x103c8c(0x126)](_0x5616de=>(_0x4ec43d[_0x103c8c(0x174)][_0x103c8c(0x10e)]=_0x103c8c(0x14c),_0x5edd23[_0x103c8c(0x174)][_0x103c8c(0x10e)]=_0x103c8c(0x103),this[_0x103c8c(0x151)]=!0x0,_0x5616de));}[_0x101e83(0x127)](_0x59f412){const _0x2b0d7f=_0x101e83,_0x586f6c=this[_0x2b0d7f(0x198)][_0x2b0d7f(0x172)][_0x2b0d7f(0x12a)](_0x2b0d7f(0x10c));return this[_0x2b0d7f(0x198)][_0x2b0d7f(0x172)][_0x2b0d7f(0x12a)](_0x2b0d7f(0x118))[_0x2b0d7f(0x174)][_0x2b0d7f(0x10e)]=_0x2b0d7f(0x103),_0x586f6c[_0x2b0d7f(0x174)][_0x2b0d7f(0x10e)]='',this[_0x2b0d7f(0x151)]=!0x1,_0x59f412[_0x2b0d7f(0x181)]();}async[_0x101e83(0x12d)](_0xd02c92){const _0x4e8128=_0x101e83,_0x3116ad=this[_0x4e8128(0x198)],_0x5d0cd0=this[_0x4e8128(0x16e)][_0x4e8128(0x18f)][_0x4e8128(0x12a)](_0x4e8128(0x154)),_0x8fd9f6=_0x3116ad[_0x4e8128(0x18f)][_0x4e8128(0x12a)](_0x4e8128(0x183)),_0x4f3c45=_0x3116ad[_0x4e8128(0x18f)][_0x4e8128(0x12a)](_0x4e8128(0x148)),_0x5a57d9=_0x5d0cd0[_0x4e8128(0x166)][_0x4e8128(0x146)](_0xd02c92);let _0x4f3b41,_0xe8b57c,_0x42b2ad;try{await _0x4f3c45[_0x4e8128(0x12f)](_0x5a57d9,this[_0x4e8128(0x163)]),_0x4f3b41=_0x4f3c45[_0x4e8128(0x120)](_0x5a57d9),_0xe8b57c=_0x4f3c45[_0x4e8128(0x129)](_0x5a57d9);}catch(_0x17f38b){return void console[_0x4e8128(0x152)](_0x17f38b);}_0x3116ad[_0x4e8128(0x192)][_0x4e8128(0x194)](_0x1091b3=>{const _0x244ef4=_0x4e8128;for(const _0x55349e of Array[_0x244ef4(0x14a)](_0x3116ad[_0x244ef4(0x192)][_0x244ef4(0x147)][_0x244ef4(0x156)](_0x244ef4(0x142))))_0x1091b3[_0x244ef4(0x188)](_0x55349e);}),_0x5d0cd0[_0x4e8128(0x121)]=!0x1,_0x3116ad[_0x4e8128(0x192)][_0x4e8128(0x104)](_0x60fca6=>{const _0xac64bd=_0x4e8128;_0x60fca6[_0xac64bd(0x143)](null),_0x60fca6[_0xac64bd(0x16d)](_0x3116ad[_0xac64bd(0x192)][_0xac64bd(0x189)][_0xac64bd(0x18d)][_0xac64bd(0x158)]());const _0x5b84d7=Object[_0xac64bd(0x153)](_0x4f3b41);for(const _0x4a659d of _0x3116ad[_0xac64bd(0x192)][_0xac64bd(0x189)][_0xac64bd(0x18a)])_0xac64bd(0x10b)!=_0x4a659d[_0xac64bd(0x11a)]&&_0x4a659d[_0xac64bd(0x11d)]()&&!_0x5b84d7[_0xac64bd(0x111)](_0x4a659d[_0xac64bd(0x11a)])&&_0x60fca6[_0xac64bd(0x110)](_0x4a659d);for(const _0x2b54e0 of _0x5b84d7){let _0x1f0162=_0x3116ad[_0xac64bd(0x192)][_0xac64bd(0x189)][_0xac64bd(0x170)](_0x2b54e0);_0x1f0162&&_0x1f0162[_0xac64bd(0x11d)]()||(_0x1f0162=_0x60fca6[_0xac64bd(0x112)](_0x2b54e0));const _0x4847c7=_0xe8b57c[_0x2b54e0],_0x417357=Object[_0xac64bd(0x153)](_0x4847c7),_0x13a700=_0x4f3b41[_0x2b54e0];for(const _0x10c1d1 of _0x1f0162[_0xac64bd(0x158)]())_0x417357[_0xac64bd(0x111)](_0x10c1d1)||_0x60fca6[_0xac64bd(0x123)](_0x10c1d1,_0x1f0162);for(const _0x232fea of _0x417357)_0x60fca6[_0xac64bd(0x14e)](_0x232fea,_0xe8b57c[_0x2b54e0][_0x232fea],_0x1f0162);_0x60fca6[_0xac64bd(0x122)](_0x60fca6[_0xac64bd(0x165)](_0x1f0162)),_0x60fca6[_0xac64bd(0x128)](_0x3116ad[_0xac64bd(0x135)][_0xac64bd(0x109)](_0x13a700,_0x1f0162),_0x1f0162,0x0);}});const _0xfe175b=_0x4e8a64(_0x3116ad[_0x4e8128(0x175)],_0x4e8128(0x171));if(_0x5a57d9[_0x4e8128(0x17e)])_0x42b2ad=-0x1==_0x5a57d9[_0x4e8128(0x17e)][_0x4e8128(0x17c)](_0xfe175b)?_0xfe175b+':\x20'+_0x5a57d9[_0x4e8128(0x17e)]:_0x5a57d9[_0x4e8128(0x17e)];else _0x42b2ad=_0xfe175b+':\x20'+(_0x5a57d9[_0x4e8128(0x134)][_0x4e8128(0x193)](_0x3116ad[_0x4e8128(0x175)][_0x4e8128(0x15e)],{'month':_0x4e8128(0x184),'day':_0x4e8128(0x131)})+',\x20'+_0x5a57d9[_0x4e8128(0x134)][_0x4e8128(0x17a)](_0x3116ad[_0x4e8128(0x175)][_0x4e8128(0x15e)],{'hour':_0x4e8128(0x131),'minute':_0x4e8128(0x131)}));return await _0x8fd9f6[_0x4e8128(0x196)]({'name':_0x42b2ad}),_0x5d0cd0[_0x4e8128(0x121)]=!0x0,_0x3116ad[_0x4e8128(0x172)][_0x4e8128(0x12a)](_0x4e8128(0x149))[_0x4e8128(0x157)]();}}
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
function
|
|
23
|
+
function _0x8296(_0x51884b,_0x4d4723){const _0x2c7e98=_0x2c7e();return _0x8296=function(_0x829644,_0x47951c){_0x829644=_0x829644-0x1ef;let _0x2bf55b=_0x2c7e98[_0x829644];return _0x2bf55b;},_0x8296(_0x51884b,_0x4d4723);}const _0x45ad27=_0x8296;function _0x2c7e(){const _0x120871=['length','config','childNodes','isOfficialPlugin','_makeModelFromViewString','domChildrenToView','useFillerType','render','document','div','loadRevisionData','pluginName','getFillerOffset','getRevisionDocumentData','viewChildrenToDom','_getViewFromDiffObj','1268423tYzxiM','diffData','1473043whMRzX','_getTypeCharForViewElement','htmlProcessor','toModel','attributesAfter','24tCnrEn','append','string','customProperties','9RYqXvm','collaboration.channelId','editor','from','89474CxjUwq','forEach','321IHHlEP','marked','type','parse','getRevisionRootsAttributes','map','domConverter','attachChange','_typeCharToViewClass','revision-end','_appendChild','processor','constructor','attributes','68555npmJeS','domDocument','name','_removeRevisionMarkers','toData','editing','14532tjGJAO','874270ALAdSU','createElement','251806piVCGO','6oZIIxp','_setCustomProperty','filter','view','RevisionHistoryUtils','fillerOffset','getRevision','revision-start','560cAuPHj','innerHTML','children','insertions','default','isPremiumPlugin','data','isAttached','12ceNutV','startsWith','_viewClassToTypeChar','get','data-revision-'];_0x2c7e=function(){return _0x120871;};return _0x2c7e();}(function(_0x2d3b1a,_0x405039){const _0x2e9f2b=_0x8296,_0x2ce62f=_0x2d3b1a();while(!![]){try{const _0x12257e=parseInt(_0x2e9f2b(0x237))/0x1*(parseInt(_0x2e9f2b(0x226))/0x2)+-parseInt(_0x2e9f2b(0x20f))/0x3*(-parseInt(_0x2e9f2b(0x223))/0x4)+-parseInt(_0x2e9f2b(0x21d))/0x5*(-parseInt(_0x2e9f2b(0x227))/0x6)+parseInt(_0x2e9f2b(0x20d))/0x7*(-parseInt(_0x2e9f2b(0x22f))/0x8)+parseInt(_0x2e9f2b(0x209))/0x9*(parseInt(_0x2e9f2b(0x224))/0xa)+-parseInt(_0x2e9f2b(0x200))/0xb+-parseInt(_0x2e9f2b(0x205))/0xc*(parseInt(_0x2e9f2b(0x1fe))/0xd);if(_0x12257e===_0x405039)break;else _0x2ce62f['push'](_0x2ce62f['shift']());}catch(_0x1e6585){_0x2ce62f['push'](_0x2ce62f['shift']());}}}(_0x2c7e,0xbdace));import{Plugin as _0x267b8e}from'ckeditor5/src/core.js';import{ViewDocumentFragment as _0x108465,ViewText as _0x36dfc7,ViewElement as _0x9c3381,ViewContainerElement as _0x4b057e,ViewAttributeElement as _0x37d47f,ViewEmptyElement as _0x1970b5,ViewRawElement as _0x27c148,ViewUIElement as _0x34356c}from'ckeditor5/src/engine.js';export class RevisionHistoryUtils extends _0x267b8e{static get[_0x45ad27(0x1f9)](){const _0x247d3b=_0x45ad27;return _0x247d3b(0x22b);}static get[_0x45ad27(0x1f1)](){return!0x0;}static get[_0x45ad27(0x234)](){return!0x0;}[_0x45ad27(0x239)]=new Map([[_0x4b057e,'c'],[_0x37d47f,'a'],[_0x1970b5,'e'],[_0x27c148,'r'],[_0x34356c,'u']]);[_0x45ad27(0x217)]=new Map([['c',_0x4b057e],['a',_0x37d47f],['e',_0x1970b5],['r',_0x27c148],['u',_0x34356c]]);async[_0x45ad27(0x1f8)](_0x1cd03d,_0x47e5ba){const _0x5516a2=_0x45ad27;if(_0x1cd03d[_0x5516a2(0x1ff)]||!_0x47e5ba)return;const _0x15fd16=this[_0x5516a2(0x20b)][_0x5516a2(0x1ef)][_0x5516a2(0x23a)](_0x5516a2(0x20a)),_0x134442=await _0x47e5ba[_0x5516a2(0x22d)]({'channelId':_0x15fd16,'revisionId':_0x1cd03d['id']});_0x1cd03d[_0x5516a2(0x1ff)]=_0x134442[_0x5516a2(0x1ff)];}[_0x45ad27(0x1fb)](_0x35d31a){const _0x30a639=_0x45ad27,_0x53011b={};for(const _0x301247 in _0x35d31a[_0x30a639(0x1ff)]){if(_0x35d31a[_0x30a639(0x1ff)][_0x301247][_0x30a639(0x216)]&&!_0x35d31a[_0x30a639(0x1ff)][_0x301247][_0x30a639(0x216)][_0x30a639(0x236)])continue;const _0x11b506=this[_0x30a639(0x220)](JSON[_0x30a639(0x212)](_0x35d31a[_0x30a639(0x1ff)][_0x301247][_0x30a639(0x232)])),_0x2933b0=this[_0x30a639(0x20b)][_0x30a639(0x222)][_0x30a639(0x22a)][_0x30a639(0x1f6)],_0x3f1f99=new _0x108465(_0x2933b0,_0x11b506[_0x30a639(0x214)](_0xbeb802=>this[_0x30a639(0x1fd)](_0xbeb802,!0x1)));this[_0x30a639(0x20b)][_0x30a639(0x235)][_0x30a639(0x21a)][_0x30a639(0x1f4)](_0x30a639(0x210)),_0x53011b[_0x301247]=this[_0x30a639(0x20b)][_0x30a639(0x235)][_0x30a639(0x21a)][_0x30a639(0x221)](_0x3f1f99),this[_0x30a639(0x20b)][_0x30a639(0x235)][_0x30a639(0x21a)][_0x30a639(0x1f4)](_0x30a639(0x233));}return _0x53011b;}[_0x45ad27(0x213)](_0x5492cf){const _0x4057ee=_0x45ad27,_0x40bd59={};for(const _0x126f4f in _0x5492cf[_0x4057ee(0x1ff)])_0x5492cf[_0x4057ee(0x1ff)][_0x126f4f][_0x4057ee(0x216)]&&!_0x5492cf[_0x4057ee(0x1ff)][_0x126f4f][_0x4057ee(0x216)][_0x4057ee(0x236)]||(_0x40bd59[_0x126f4f]=_0x5492cf[_0x4057ee(0x1ff)][_0x126f4f][_0x4057ee(0x204)]||{});return _0x40bd59;}[_0x45ad27(0x201)](_0x3eb8e2){const _0x37a372=_0x45ad27;return this[_0x37a372(0x239)][_0x37a372(0x23a)](_0x3eb8e2[_0x37a372(0x21b)]);}[_0x45ad27(0x1fd)](_0x5c5b48,_0x27a540){const _0x1aacb6=_0x45ad27,_0x2e7a40=this[_0x1aacb6(0x20b)][_0x1aacb6(0x222)][_0x1aacb6(0x22a)][_0x1aacb6(0x1f6)];if(_0x1aacb6(0x207)==typeof _0x5c5b48)return new _0x36dfc7(_0x2e7a40,_0x5c5b48);{let _0x9ceb7d,_0x3e9315;_0x3e9315='u'==_0x5c5b48[_0x1aacb6(0x211)]||'r'==_0x5c5b48[_0x1aacb6(0x211)]?[]:_0x5c5b48[_0x1aacb6(0x231)][_0x1aacb6(0x214)](_0x4978ff=>this[_0x1aacb6(0x1fd)](_0x4978ff,_0x27a540));const _0x13e534=this[_0x1aacb6(0x217)][_0x1aacb6(0x23a)](_0x5c5b48[_0x1aacb6(0x211)])||_0x9c3381,_0x488b76=this[_0x1aacb6(0x20b)][_0x1aacb6(0x235)][_0x1aacb6(0x202)][_0x1aacb6(0x215)];if(_0x9ceb7d=new _0x13e534(_0x2e7a40,_0x5c5b48[_0x1aacb6(0x21f)],_0x5c5b48[_0x1aacb6(0x21c)],_0x3e9315),'u'==_0x5c5b48[_0x1aacb6(0x211)]&&_0x5c5b48[_0x1aacb6(0x231)][0x0]){const _0x3f6da8=_0x5c5b48[_0x1aacb6(0x231)][0x0];if(_0x9ceb7d[_0x1aacb6(0x1f5)]=function(_0x5c9d8f){const _0x17c2a8=_0x1aacb6,_0x5903f3=_0x5c9d8f[_0x17c2a8(0x225)](_0x17c2a8(0x1f7));return _0x5903f3[_0x17c2a8(0x230)]=_0x3f6da8,_0x5903f3[_0x17c2a8(0x1f0)][0x0];},_0x27a540){const _0x1b43cb=new _0x108465(_0x2e7a40);_0x1b43cb[_0x1aacb6(0x219)](_0x9ceb7d);const _0x1dda0f=Array[_0x1aacb6(0x20c)](_0x488b76[_0x1aacb6(0x1fc)](_0x1b43cb,{'bind':!0x1})),_0x4b469b=_0x488b76[_0x1aacb6(0x21e)][_0x1aacb6(0x225)](_0x1aacb6(0x1f7));_0x4b469b[_0x1aacb6(0x206)](..._0x1dda0f),_0x9ceb7d=Array[_0x1aacb6(0x20c)](_0x488b76[_0x1aacb6(0x1f3)](_0x4b469b))[0x0];}}else{if('r'==_0x5c5b48[_0x1aacb6(0x211)]&&_0x5c5b48[_0x1aacb6(0x231)][0x0]){const _0x1e85bf=_0x5c5b48[_0x1aacb6(0x231)][0x0];if(_0x9ceb7d[_0x1aacb6(0x1f5)]=function(_0x45d631){const _0x4703bd=_0x1aacb6;_0x45d631[_0x4703bd(0x230)]=_0x1e85bf;},_0x27a540){const _0x1c6752=new _0x108465(_0x2e7a40);_0x1c6752[_0x1aacb6(0x219)](_0x9ceb7d);const _0x1b4b16=Array[_0x1aacb6(0x20c)](_0x488b76[_0x1aacb6(0x1fc)](_0x1c6752,{'bind':!0x1})),_0x29fbaa=_0x488b76[_0x1aacb6(0x21e)][_0x1aacb6(0x225)](_0x1aacb6(0x1f7));_0x29fbaa[_0x1aacb6(0x206)](..._0x1b4b16);const _0x465e30=Array[_0x1aacb6(0x20c)](_0x488b76[_0x1aacb6(0x1f3)](_0x29fbaa));_0x465e30[_0x1aacb6(0x23c)]>0x1?_0x9ceb7d[_0x1aacb6(0x219)](_0x465e30):_0x9ceb7d=_0x465e30[0x0];}}}if(_0x5c5b48[_0x1aacb6(0x208)]){for(const [_0x156af2,_0x4ccff8]of _0x5c5b48[_0x1aacb6(0x208)])_0x9ceb7d[_0x1aacb6(0x228)](_0x156af2,_0x4ccff8);}const _0x544454=void 0x0===_0x5c5b48[_0x1aacb6(0x22c)]?null:_0x5c5b48[_0x1aacb6(0x22c)];return null!==_0x544454&&(_0x9ceb7d[_0x1aacb6(0x1fa)]=()=>_0x544454),_0x9ceb7d;}}[_0x45ad27(0x1f2)](_0x92657e){const _0x28f27d=_0x45ad27,_0x281c7e=JSON[_0x28f27d(0x212)](_0x92657e),_0x41ea82=this[_0x28f27d(0x20b)][_0x28f27d(0x222)][_0x28f27d(0x22a)][_0x28f27d(0x1f6)],_0x5d62b0=new _0x108465(_0x41ea82,_0x281c7e[_0x28f27d(0x214)](_0x295ee6=>this[_0x28f27d(0x1fd)](_0x295ee6,!0x0)));return this[_0x28f27d(0x20b)][_0x28f27d(0x235)][_0x28f27d(0x203)](_0x5d62b0);}[_0x45ad27(0x220)](_0x40d526){const _0x3edfff=_0x45ad27;return(_0x40d526=_0x40d526[_0x3edfff(0x229)](_0x4999be=>!_0x4999be[_0x3edfff(0x21f)]||_0x3edfff(0x22e)!==_0x4999be[_0x3edfff(0x21f)]&&_0x3edfff(0x218)!==_0x4999be[_0x3edfff(0x21f)]))[_0x3edfff(0x20e)](_0x535696=>{const _0x4efed5=_0x3edfff;_0x4efed5(0x207)!=typeof _0x535696&&(_0x535696[_0x4efed5(0x231)]=this[_0x4efed5(0x220)](_0x535696[_0x4efed5(0x231)]),_0x535696[_0x4efed5(0x21c)]=_0x535696[_0x4efed5(0x21c)][_0x4efed5(0x229)](_0x5a50a3=>!_0x5a50a3[0x0][_0x4efed5(0x238)](_0x4efed5(0x23b))));}),_0x40d526;}}
|