@ckeditor/ckeditor5-revision-history 46.0.1-alpha.9 → 46.0.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
|
+
(_0x39a9f5=>{const {vi:{dictionary:_0xc70353,getPluralForm:_0x18a566}}={'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':_0x2da8fd=>0x0}};_0x39a9f5['vi']||={'dictionary':{},'getPluralForm':null},_0x39a9f5['vi']['dictionary']=Object['assign'](_0x39a9f5['vi']['dictionary'],_0xc70353),_0x39a9f5['vi']['getPluralForm']=_0x18a566;})(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':_0x563d38=>0x0}};
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
(
|
|
23
|
+
(_0x4bb78d=>{const {'zh-cn':{dictionary:_0x41853a,getPluralForm:_0x5338ca}}={'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':_0x12fe26=>0x0}};_0x4bb78d['zh-cn']||={'dictionary':{},'getPluralForm':null},_0x4bb78d['zh-cn']['dictionary']=Object['assign'](_0x4bb78d['zh-cn']['dictionary'],_0x41853a),_0x4bb78d['zh-cn']['getPluralForm']=_0x5338ca;})(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':_0x1827b3=>0x0}};
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
(
|
|
23
|
+
(_0x4790a5=>{const {zh:{dictionary:_0x47bb03,getPluralForm:_0x562a23}}={'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':_0x238238=>0x0}};_0x4790a5['zh']||={'dictionary':{},'getPluralForm':null},_0x4790a5['zh']['dictionary']=Object['assign'](_0x4790a5['zh']['dictionary'],_0x47bb03),_0x4790a5['zh']['getPluralForm']=_0x562a23;})(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
|
|
3
|
+
"version": "46.0.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.0.1
|
|
43
|
-
"@ckeditor/ckeditor5-comments": "46.0.1
|
|
44
|
-
"@ckeditor/ckeditor5-core": "46.0.1
|
|
45
|
-
"@ckeditor/ckeditor5-editor-classic": "46.0.1
|
|
46
|
-
"@ckeditor/ckeditor5-engine": "46.0.1
|
|
47
|
-
"@ckeditor/ckeditor5-icons": "46.0.1
|
|
48
|
-
"@ckeditor/ckeditor5-ui": "46.0.1
|
|
49
|
-
"@ckeditor/ckeditor5-utils": "46.0.1
|
|
42
|
+
"@ckeditor/ckeditor5-autosave": "46.0.1",
|
|
43
|
+
"@ckeditor/ckeditor5-comments": "46.0.1",
|
|
44
|
+
"@ckeditor/ckeditor5-core": "46.0.1",
|
|
45
|
+
"@ckeditor/ckeditor5-editor-classic": "46.0.1",
|
|
46
|
+
"@ckeditor/ckeditor5-engine": "46.0.1",
|
|
47
|
+
"@ckeditor/ckeditor5-icons": "46.0.1",
|
|
48
|
+
"@ckeditor/ckeditor5-ui": "46.0.1",
|
|
49
|
+
"@ckeditor/ckeditor5-utils": "46.0.1",
|
|
50
50
|
"@types/luxon": "3.6.2",
|
|
51
|
-
"ckeditor5": "46.0.1
|
|
52
|
-
"ckeditor5-collaboration": "46.0.1
|
|
51
|
+
"ckeditor5": "46.0.1",
|
|
52
|
+
"ckeditor5-collaboration": "46.0.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 _0x3addf2=_0x2a0d;(function(_0x499c11,_0x520e81){var _0x2497c2=_0x2a0d,_0x463f89=_0x499c11();while(!![]){try{var _0x1989d5=parseInt(_0x2497c2(0x10e))/0x1*(-parseInt(_0x2497c2(0x10f))/0x2)+parseInt(_0x2497c2(0x113))/0x3*(-parseInt(_0x2497c2(0x114))/0x4)+-parseInt(_0x2497c2(0x118))/0x5+-parseInt(_0x2497c2(0x116))/0x6*(-parseInt(_0x2497c2(0x111))/0x7)+-parseInt(_0x2497c2(0x119))/0x8*(-parseInt(_0x2497c2(0x115))/0x9)+-parseInt(_0x2497c2(0x11d))/0xa+parseInt(_0x2497c2(0x117))/0xb;if(_0x1989d5===_0x520e81)break;else _0x463f89['push'](_0x463f89['shift']());}catch(_0x1d7d21){_0x463f89['push'](_0x463f89['shift']());}}}(_0x3e50,0xac26d));function _0x2a0d(_0x3618aa,_0x45e694){var _0x3e504d=_0x3e50();return _0x2a0d=function(_0x2a0d54,_0x335460){_0x2a0d54=_0x2a0d54-0x10d;var _0x556135=_0x3e504d[_0x2a0d54];return _0x556135;},_0x2a0d(_0x3618aa,_0x45e694);}import{ObservableMixin as _0x199608,uid as _0x41fd82}from'ckeditor5/src/utils.js';function _0x3e50(){var _0x3d73b1=['set','3173373BWubRY','type','6kzvXOx','797680IeBAEx','2076345TlXQbv','6eajckL','26875915WPESto','5594940KVIpSY','48wgmZeA','toJSON','author','data','6519080bbDZUb','createdAt','rootName','127815zFwaJh','22iEoQmr'];_0x3e50=function(){return _0x3d73b1;};return _0x3e50();}export class ChangeItem extends/* #__PURE__ -- @preserve */
|
|
24
|
+
_0x199608(){['id'];[_0x3addf2(0x11b)];[_0x3addf2(0x112)];[_0x3addf2(0x11c)];[_0x3addf2(0x10d)];constructor(_0xb46254){var _0x4c51fc=_0x3addf2;super(),this['id']=_0xb46254['id']||_0x41fd82(),this[_0x4c51fc(0x11b)]=_0xb46254[_0x4c51fc(0x11b)],this[_0x4c51fc(0x112)]=_0xb46254[_0x4c51fc(0x112)],this[_0x4c51fc(0x11c)]=_0xb46254[_0x4c51fc(0x11c)]||{},this[_0x4c51fc(0x10d)]=_0xb46254[_0x4c51fc(0x10d)],this[_0x4c51fc(0x110)](_0x4c51fc(0x11e),_0xb46254[_0x4c51fc(0x11e)]);}[_0x3addf2(0x11a)](){var _0xd3daab=_0x3addf2;return{'id':this['id'],'authorId':this[_0xd3daab(0x11b)]['id'],'type':this[_0xd3daab(0x112)],'data':this[_0xd3daab(0x11c)],'createdAt':this[_0xd3daab(0x11e)]};}}
|
|
@@ -20,5 +20,5 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
const
|
|
24
|
-
|
|
23
|
+
const _0x12c8f0=_0x228e;(function(_0x1bbfae,_0x5bd913){const _0x323e93=_0x228e,_0x463af0=_0x1bbfae();while(!![]){try{const _0x5d5aa9=-parseInt(_0x323e93(0x1f3))/0x1+-parseInt(_0x323e93(0x1dc))/0x2*(parseInt(_0x323e93(0x1ef))/0x3)+-parseInt(_0x323e93(0x1f5))/0x4*(parseInt(_0x323e93(0x1df))/0x5)+-parseInt(_0x323e93(0x1ed))/0x6*(-parseInt(_0x323e93(0x1f9))/0x7)+parseInt(_0x323e93(0x1e5))/0x8*(parseInt(_0x323e93(0x1e2))/0x9)+parseInt(_0x323e93(0x1f4))/0xa+parseInt(_0x323e93(0x1ea))/0xb;if(_0x5d5aa9===_0x5bd913)break;else _0x463af0['push'](_0x463af0['shift']());}catch(_0x37c113){_0x463af0['push'](_0x463af0['shift']());}}}(_0x16fe,0xac204));import{Editor as _0x190921,ElementApiMixin as _0x15ac3f}from'ckeditor5/src/core.js';function _0x16fe(){const _0x547196=['555234wegoeP','11394790epPLDA','4IGINhP','view','destroy','locale','147042RFIDJB','340pHrCIy','initPlugins','fire','4223905fnNovM','updateSourceElement','create','9jRDMfL','editing','get','3926968ehZGEc','data','init','sourceElement','createRoot','5375667GQZMWA','model','document','336sRMein','ready','21006pravVt','initialData','config','_ui'];_0x16fe=function(){return _0x547196;};return _0x16fe();}import{RevisionViewerEditorUI as _0x5800d1}from'./revisionviewereditorui.js';function _0x228e(_0x57d24c,_0xdf551){const _0x16fec8=_0x16fe();return _0x228e=function(_0x228ead,_0x26c5e4){_0x228ead=_0x228ead-0x1dc;let _0x170226=_0x16fec8[_0x228ead];return _0x170226;},_0x228e(_0x57d24c,_0xdf551);}import{RevisionViewerEditorUIView as _0x50c4d4}from'./revisionviewereditoruiview.js';export class RevisionViewerEditor extends/* #__PURE__ -- @preserve */
|
|
24
|
+
_0x15ac3f(_0x190921){[_0x12c8f0(0x1f2)];get['ui'](){const _0x4f9814=_0x12c8f0;return this[_0x4f9814(0x1f2)];}constructor(_0xd873c8,_0x34f195){const _0xcecb8f=_0x12c8f0;super(_0x34f195),this[_0xcecb8f(0x1e8)]=_0xd873c8,this[_0xcecb8f(0x1eb)][_0xcecb8f(0x1ec)][_0xcecb8f(0x1e9)]();const _0x1929de=new _0x50c4d4(this[_0xcecb8f(0x1f8)],this[_0xcecb8f(0x1e3)][_0xcecb8f(0x1f6)],{'shouldToolbarGroupWhenFull':!0x0});this[_0xcecb8f(0x1f2)]=new _0x5800d1(this,_0x1929de);}[_0x12c8f0(0x1f7)](){const _0x4d6097=_0x12c8f0;return this[_0x4d6097(0x1e0)](),this['ui'][_0x4d6097(0x1f7)](),super[_0x4d6097(0x1f7)]();}static async[_0x12c8f0(0x1e1)](_0x33bbd7,_0x415e6e){const _0x419ef0=_0x12c8f0,_0x46e523=new this(_0x33bbd7,_0x415e6e);return await _0x46e523[_0x419ef0(0x1dd)](),await _0x46e523['ui'][_0x419ef0(0x1e7)](_0x33bbd7),await _0x46e523[_0x419ef0(0x1e6)][_0x419ef0(0x1e7)](_0x46e523[_0x419ef0(0x1f1)][_0x419ef0(0x1e4)](_0x419ef0(0x1f0))||''),_0x46e523[_0x419ef0(0x1de)](_0x419ef0(0x1ee)),_0x46e523;}}
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
const
|
|
23
|
+
function _0x16be(_0xf2c24d,_0x2cc377){const _0xf4bddb=_0xf4bd();return _0x16be=function(_0x16be50,_0x5c726a){_0x16be50=_0x16be50-0x9d;let _0x5de769=_0xf4bddb[_0x16be50];return _0x5de769;},_0x16be(_0xf2c24d,_0x2cc377);}const _0x40bbc8=_0x16be;function _0xf4bd(){const _0x1cc143=['125946IVapyJ','186555tPwTZr','init','get','toolbar','1044BYfpMK','3004508yKicAL','viewportOffset','stickyPanel','componentFactory','editor','element','setEditableElement','view','6136636PVQPdY','render','addToolbar','name','rootName','815201mGPVfw','viewportTopOffset','fire','editing','_toolbarConfig','isFocused','_elementReplacer','getRoot','config','document','focusTracker','restore','attachDomRoot','limiterElement','14HdFOvp','destroy','isActive','fillFromConfig','45660udOwBw','3368024LizAFj','_view','bind','editable','detachDomRoot','ready','replace','18CtHKXX','_initToolbar','2DQeBmk'];_0xf4bd=function(){return _0x1cc143;};return _0xf4bd();}(function(_0x2b9ee6,_0x2fce22){const _0x460351=_0x16be,_0x3e3daf=_0x2b9ee6();while(!![]){try{const _0x2b0e85=-parseInt(_0x460351(0xab))/0x1*(-parseInt(_0x460351(0xc7))/0x2)+parseInt(_0x460351(0xc8))/0x3+-parseInt(_0x460351(0x9e))/0x4+-parseInt(_0x460351(0xc9))/0x5*(-parseInt(_0x460351(0xc5))/0x6)+-parseInt(_0x460351(0xb9))/0x7*(parseInt(_0x460351(0xbe))/0x8)+-parseInt(_0x460351(0x9d))/0x9*(-parseInt(_0x460351(0xbd))/0xa)+parseInt(_0x460351(0xa6))/0xb;if(_0x2b0e85===_0x2fce22)break;else _0x3e3daf['push'](_0x3e3daf['shift']());}catch(_0x1821c7){_0x3e3daf['push'](_0x3e3daf['shift']());}}}(_0xf4bd,0x7129b));import{EditorUI as _0x32d7e9,normalizeToolbarConfig as _0x59ce66}from'ckeditor5/src/ui.js';import{ElementReplacer as _0x253aca}from'ckeditor5/src/utils.js';export class RevisionViewerEditorUI extends _0x32d7e9{[_0x40bbc8(0xbf)];[_0x40bbc8(0xaf)];[_0x40bbc8(0xb1)];get[_0x40bbc8(0xa5)](){const _0x33141c=_0x40bbc8;return this[_0x33141c(0xbf)];}constructor(_0x3a5652,_0x38fdf1){const _0x450bc4=_0x40bbc8;super(_0x3a5652),this[_0x450bc4(0xbf)]=_0x38fdf1,this[_0x450bc4(0xaf)]=_0x59ce66(_0x3a5652[_0x450bc4(0xb3)][_0x450bc4(0xcb)](_0x450bc4(0xcc))),this[_0x450bc4(0xb1)]=new _0x253aca();}get[_0x40bbc8(0xa3)](){const _0x3737e8=_0x40bbc8;return this[_0x3737e8(0xa5)][_0x3737e8(0xa3)];}[_0x40bbc8(0xca)](_0x2268cf){const _0x1c1ffe=_0x40bbc8,_0x16fde7=this[_0x1c1ffe(0xa2)],_0x39ef79=this[_0x1c1ffe(0xa5)],_0x51796e=_0x16fde7[_0x1c1ffe(0xae)][_0x1c1ffe(0xa5)],_0x418d8f=_0x39ef79[_0x1c1ffe(0xc1)],_0x4dae90=_0x51796e[_0x1c1ffe(0xb4)][_0x1c1ffe(0xb2)]();_0x418d8f[_0x1c1ffe(0xa9)]=_0x4dae90[_0x1c1ffe(0xaa)],_0x39ef79[_0x1c1ffe(0xa7)]();const _0x137453=_0x418d8f[_0x1c1ffe(0xa3)];this[_0x1c1ffe(0xa4)](_0x418d8f[_0x1c1ffe(0xa9)],_0x137453),_0x39ef79[_0x1c1ffe(0xc1)][_0x1c1ffe(0xc0)](_0x1c1ffe(0xb0))['to'](this[_0x1c1ffe(0xb5)]),_0x51796e[_0x1c1ffe(0xb7)](_0x137453),this[_0x1c1ffe(0xb1)][_0x1c1ffe(0xc4)](_0x2268cf,this[_0x1c1ffe(0xa3)]),this[_0x1c1ffe(0xc6)](),this[_0x1c1ffe(0xad)](_0x1c1ffe(0xc3));}[_0x40bbc8(0xba)](){const _0x4b289a=_0x40bbc8;super[_0x4b289a(0xba)]();const _0x4a68af=this[_0x4b289a(0xa5)],_0x4d5ca0=this[_0x4b289a(0xa2)][_0x4b289a(0xae)][_0x4b289a(0xa5)];this[_0x4b289a(0xb1)][_0x4b289a(0xb6)](),_0x4d5ca0[_0x4b289a(0xc2)](_0x4a68af[_0x4b289a(0xc1)][_0x4b289a(0xa9)]),_0x4a68af[_0x4b289a(0xba)]();}[_0x40bbc8(0xc6)](){const _0x21330c=_0x40bbc8,_0x1d9d65=this[_0x21330c(0xa5)];_0x1d9d65[_0x21330c(0xa0)][_0x21330c(0xc0)](_0x21330c(0xbb))['to'](this[_0x21330c(0xb5)],_0x21330c(0xb0)),_0x1d9d65[_0x21330c(0xa0)][_0x21330c(0xb8)]=_0x1d9d65[_0x21330c(0xa3)],_0x1d9d65[_0x21330c(0xa0)][_0x21330c(0xc0)](_0x21330c(0xac))['to'](this,_0x21330c(0x9f),({top:_0x2f5f8a})=>_0x2f5f8a),_0x1d9d65[_0x21330c(0xcc)][_0x21330c(0xbc)](this[_0x21330c(0xaf)],this[_0x21330c(0xa1)]),this[_0x21330c(0xa8)](_0x1d9d65[_0x21330c(0xcc)]);}}
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
|
|
23
|
+
function _0x4630(){var _0x9e0cc8=['toolbar','11892952GmpnfF','9bFIHSJ','632580UJHhwo','content','4225956UrokCf','18YhiZKf','4gqTNaF','stickyPanel','1825450dNflay','3399543vAPCuG','31395130KAgYcY','8984185mkbzoN','add','shouldToolbarGroupWhenFull','main','editable','render','_editable','top'];_0x4630=function(){return _0x9e0cc8;};return _0x4630();}var _0x284b22=_0x483b;(function(_0x5f2039,_0x9a694d){var _0x5a9a79=_0x483b,_0x27540e=_0x5f2039();while(!![]){try{var _0x5725ba=-parseInt(_0x5a9a79(0x1d8))/0x1+-parseInt(_0x5a9a79(0x1d6))/0x2*(parseInt(_0x5a9a79(0x1d2))/0x3)+-parseInt(_0x5a9a79(0x1d4))/0x4+-parseInt(_0x5a9a79(0x1db))/0x5+-parseInt(_0x5a9a79(0x1d5))/0x6*(-parseInt(_0x5a9a79(0x1d9))/0x7)+-parseInt(_0x5a9a79(0x1d0))/0x8*(-parseInt(_0x5a9a79(0x1d1))/0x9)+parseInt(_0x5a9a79(0x1da))/0xa;if(_0x5725ba===_0x9a694d)break;else _0x27540e['push'](_0x27540e['shift']());}catch(_0x48bcbd){_0x27540e['push'](_0x27540e['shift']());}}}(_0x4630,0xefe37));import{BoxedEditorUIView as _0x5a5f2f,InlineEditableUIView as _0x5fdb09,StickyPanelView as _0x4a9b4e,ToolbarView as _0x48e161}from'ckeditor5/src/ui.js';import'@ckeditor/ckeditor5-editor-classic/theme/classiceditor.css';function _0x483b(_0x4b35ad,_0x4b4081){var _0x46308c=_0x4630();return _0x483b=function(_0x483b65,_0x44e9eb){_0x483b65=_0x483b65-0x1cf;var _0x286ea4=_0x46308c[_0x483b65];return _0x286ea4;},_0x483b(_0x4b35ad,_0x4b4081);}export class RevisionViewerEditorUIView extends _0x5a5f2f{[_0x284b22(0x1e1)];[_0x284b22(0x1d7)];[_0x284b22(0x1cf)];get[_0x284b22(0x1df)](){var _0x508d3e=_0x284b22;return this[_0x508d3e(0x1e1)];}constructor(_0x296a1a,_0x2af6f8,_0x32b776={}){var _0x5a9a15=_0x284b22;super(_0x296a1a),this[_0x5a9a15(0x1d7)]=new _0x4a9b4e(_0x296a1a),this[_0x5a9a15(0x1cf)]=new _0x48e161(_0x296a1a,{'shouldGroupWhenFull':_0x32b776[_0x5a9a15(0x1dd)]}),this[_0x5a9a15(0x1e1)]=new _0x5fdb09(_0x296a1a,_0x2af6f8);}[_0x284b22(0x1e0)](){var _0x2a463b=_0x284b22;super[_0x2a463b(0x1e0)](),this[_0x2a463b(0x1d7)][_0x2a463b(0x1d3)][_0x2a463b(0x1dc)](this[_0x2a463b(0x1cf)]),this[_0x2a463b(0x1e2)][_0x2a463b(0x1dc)](this[_0x2a463b(0x1d7)]),this[_0x2a463b(0x1de)][_0x2a463b(0x1dc)](this[_0x2a463b(0x1df)]);}}
|
package/src/index.js
CHANGED
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
(function(
|
|
23
|
+
(function(_0x2d0591,_0x596ba2){var _0x4a317c=_0xd8dd,_0x3dec01=_0x2d0591();while(!![]){try{var _0x1f4e40=-parseInt(_0x4a317c(0xe0))/0x1+parseInt(_0x4a317c(0xe3))/0x2*(parseInt(_0x4a317c(0xde))/0x3)+parseInt(_0x4a317c(0xdd))/0x4*(-parseInt(_0x4a317c(0xe1))/0x5)+-parseInt(_0x4a317c(0xdb))/0x6*(parseInt(_0x4a317c(0xe2))/0x7)+parseInt(_0x4a317c(0xd9))/0x8*(-parseInt(_0x4a317c(0xda))/0x9)+parseInt(_0x4a317c(0xdf))/0xa+parseInt(_0x4a317c(0xdc))/0xb;if(_0x1f4e40===_0x596ba2)break;else _0x3dec01['push'](_0x3dec01['shift']());}catch(_0x23116d){_0x3dec01['push'](_0x3dec01['shift']());}}}(_0x49bc,0xba150));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';export{RevisionViewer,RestoreRevisionCommand,ShowChangeCommand}from'./revisionviewer.js';export{RevisionsSidebar}from'./ui/revisionssidebar/revisionssidebar.js';export{RevisionViewerUI}from'./ui/revisionviewer/revisionviewerui.js';function _0x49bc(){var _0x28be5f=['1001570XhEkoo','1049054zkQDKS','2460815ZpNsbB','10367KDRuPS','2635676LUyauB','168OXWycQ','291321UKKJIU','708LRJlSU','19139131qpFcKl','4xokdCz','3tWaNcR'];_0x49bc=function(){return _0x28be5f;};return _0x49bc();}function _0xd8dd(_0x273017,_0x5c9f81){var _0x49bcdd=_0x49bc();return _0xd8dd=function(_0xd8dd9c,_0x10c74c){_0xd8dd9c=_0xd8dd9c-0xd9;var _0xb01671=_0x49bcdd[_0xd8dd9c];return _0xb01671;},_0xd8dd(_0x273017,_0x5c9f81);}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
|
-
const
|
|
24
|
-
|
|
23
|
+
function _0x9262(_0x36a8b8,_0x4ed247){const _0x41dbe4=_0x41db();return _0x9262=function(_0x926222,_0x40e3b6){_0x926222=_0x926222-0x157;let _0x2377d3=_0x41dbe4[_0x926222];return _0x2377d3;},_0x9262(_0x36a8b8,_0x4ed247);}const _0x1f80f0=_0x9262;(function(_0x1334c3,_0xf44731){const _0x33c1ea=_0x9262,_0x592943=_0x1334c3();while(!![]){try{const _0x1b2f59=parseInt(_0x33c1ea(0x157))/0x1+parseInt(_0x33c1ea(0x164))/0x2+parseInt(_0x33c1ea(0x159))/0x3*(parseInt(_0x33c1ea(0x169))/0x4)+parseInt(_0x33c1ea(0x168))/0x5+parseInt(_0x33c1ea(0x16d))/0x6+-parseInt(_0x33c1ea(0x16b))/0x7+-parseInt(_0x33c1ea(0x166))/0x8;if(_0x1b2f59===_0xf44731)break;else _0x592943['push'](_0x592943['shift']());}catch(_0x4f448b){_0x592943['push'](_0x592943['shift']());}}}(_0x41db,0x1c759));import{ObservableMixin as _0x422fb4,uid as _0x1b26ad}from'ckeditor5/src/utils.js';import{cloneDeep as _0x458502,set as _0x238b42,unset as _0x3a1942}from'es-toolkit/compat';function _0x41db(){const _0xf5ffd=['862965GnImjP','436BPOYDR','set','1168972tpJncD','createdAt','461508RZzvTi','attributes','toVersion','creatorId','setAttribute','80334yeUyxh','model','678mrFZkB','diffData','creator','authors','name','fire','_update','removeAttribute','fromVersion','setName','authorsIds','119800nUSqxp','toJSON','1046512dBOIjW','map'];_0x41db=function(){return _0xf5ffd;};return _0x41db();}export class Revision extends/* #__PURE__ -- @preserve */
|
|
24
|
+
_0x422fb4(){['id'];[_0x1f80f0(0x15b)];[_0x1f80f0(0x15c)];[_0x1f80f0(0x15a)];[_0x1f80f0(0x16f)];[_0x1f80f0(0x161)];[_0x1f80f0(0x158)];constructor(_0x18cdb3){const _0x590c58=_0x1f80f0;super(),this['id']=_0x18cdb3['id']||_0x1b26ad(),this[_0x590c58(0x15b)]=_0x18cdb3[_0x590c58(0x15b)]||null,this[_0x590c58(0x15c)]=_0x18cdb3[_0x590c58(0x15c)]||[],this[_0x590c58(0x15a)]=_0x18cdb3[_0x590c58(0x15a)]||null,this[_0x590c58(0x16f)]=_0x18cdb3[_0x590c58(0x16f)]||0x0,this[_0x590c58(0x161)]=_0x18cdb3[_0x590c58(0x161)]||0x0,this[_0x590c58(0x16a)](_0x590c58(0x15d),_0x18cdb3[_0x590c58(0x15d)]||''),this[_0x590c58(0x16a)](_0x590c58(0x16c),_0x18cdb3[_0x590c58(0x16c)]||new Date()),this[_0x590c58(0x16a)](_0x590c58(0x16e),_0x18cdb3[_0x590c58(0x16e)]||{});}[_0x1f80f0(0x162)](_0x106128){const _0x4ade91=_0x1f80f0;this[_0x4ade91(0x15f)]({'name':_0x106128});}[_0x1f80f0(0x171)](_0x5515bc,_0x5e317d){const _0x435861=_0x1f80f0,_0x319b43=_0x458502(this[_0x435861(0x16e)]);_0x238b42(_0x319b43,_0x5515bc,_0x5e317d),this[_0x435861(0x15f)]({'attributes':_0x319b43});}[_0x1f80f0(0x160)](_0x8c9049){const _0x39d411=_0x1f80f0,_0x38d524=_0x458502(this[_0x39d411(0x16e)]);_0x3a1942(_0x38d524,_0x8c9049),this[_0x39d411(0x15f)]({'attributes':_0x38d524});}[_0x1f80f0(0x15f)](_0x45b95a,_0x55b716=!0x1){const _0xc01005=_0x1f80f0;let _0x404f93=!0x1;const _0x3ccfe5={'id':this['id']},_0xa9d29b=[_0xc01005(0x15d),_0xc01005(0x16c),_0xc01005(0x15a),_0xc01005(0x15c),_0xc01005(0x16e),_0xc01005(0x16f),_0xc01005(0x161),_0xc01005(0x170)];for(const _0x5d5c54 of _0xa9d29b){const _0x10b473=_0x45b95a[_0x5d5c54];void 0x0!==_0x10b473&&_0x10b473!==this[_0x5d5c54]&&(this[_0x5d5c54]=_0x10b473,_0x3ccfe5[_0x5d5c54]=_0x10b473,_0x404f93=!0x0);}_0x404f93&&(_0x3ccfe5[_0xc01005(0x15c)]&&(_0x3ccfe5[_0xc01005(0x163)]=_0x3ccfe5[_0xc01005(0x15c)][_0xc01005(0x167)](_0x521b7b=>_0x521b7b['id']),delete _0x3ccfe5[_0xc01005(0x15c)]),this[_0xc01005(0x15e)](_0xc01005(0x15f),_0x3ccfe5,_0x55b716));}[_0x1f80f0(0x165)](){const _0x463b23=_0x1f80f0;return{'id':this['id'],'name':this[_0x463b23(0x15d)],'creatorId':this[_0x463b23(0x15b)]?this[_0x463b23(0x15b)]['id']:null,'authorsIds':this[_0x463b23(0x15c)][_0x463b23(0x167)](_0x49e7a6=>_0x49e7a6['id']),'diffData':this[_0x463b23(0x15a)],'createdAt':this[_0x463b23(0x16c)],'attributes':this[_0x463b23(0x16e)],'fromVersion':this[_0x463b23(0x161)],'toVersion':this[_0x463b23(0x16f)]};}}
|
package/src/revisiondiff.js
CHANGED
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
function
|
|
23
|
+
const _0x3c6756=_0x21fd;function _0x21fd(_0x398d04,_0x1078a5){const _0x4f3387=_0x4f33();return _0x21fd=function(_0x21fdee,_0x4cc590){_0x21fdee=_0x21fdee-0x9f;let _0x1ea5fd=_0x4f3387[_0x21fdee];return _0x1ea5fd;},_0x21fd(_0x398d04,_0x1078a5);}function _0x4f33(){const _0xa763c5=['6plmrtd','newRevisionId','_setChanges','12MbZygn','423276sCOQjQ','9gJrFCo','1592YnFJra','2298575CgTUzE','add','2342536DeKWJq','8519QnABxJ','2158116FAYsEf','9110860zCQfgb','oldRevisionId','changes','3762690ENiHif','3nKbQcj'];_0x4f33=function(){return _0xa763c5;};return _0x4f33();}(function(_0x5865bb,_0x78f57e){const _0x510b6c=_0x21fd,_0x5c4c82=_0x5865bb();while(!![]){try{const _0x27403a=parseInt(_0x510b6c(0x9f))/0x1+-parseInt(_0x510b6c(0xa6))/0x2+parseInt(_0x510b6c(0xab))/0x3*(parseInt(_0x510b6c(0xa4))/0x4)+-parseInt(_0x510b6c(0xa2))/0x5*(-parseInt(_0x510b6c(0xac))/0x6)+-parseInt(_0x510b6c(0xa5))/0x7*(parseInt(_0x510b6c(0xa1))/0x8)+parseInt(_0x510b6c(0xa0))/0x9*(-parseInt(_0x510b6c(0xaa))/0xa)+parseInt(_0x510b6c(0xa7))/0xb*(parseInt(_0x510b6c(0xaf))/0xc);if(_0x27403a===_0x78f57e)break;else _0x5c4c82['push'](_0x5c4c82['shift']());}catch(_0x4732b5){_0x5c4c82['push'](_0x5c4c82['shift']());}}}(_0x4f33,0x9254f));import{Collection as _0xdbde2f}from'ckeditor5/src/utils.js';export class RevisionDiff{[_0x3c6756(0xad)];[_0x3c6756(0xa8)];[_0x3c6756(0xa9)];constructor(_0x5756bc,_0x4517d9){const _0x15cb6f=_0x3c6756;this[_0x15cb6f(0xad)]=_0x5756bc,this[_0x15cb6f(0xa8)]=_0x4517d9,this[_0x15cb6f(0xa9)]=new _0xdbde2f();}[_0x3c6756(0xae)](_0x47b097){const _0x21a757=_0x3c6756;for(const _0x3e0043 of _0x47b097)this[_0x21a757(0xa9)][_0x21a757(0xa3)](_0x3e0043);}}
|
package/src/revisionhistory.js
CHANGED
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
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)]();}}
|
|
23
|
+
const _0x472cd7=_0x32dc;(function(_0x50fda0,_0x1ac199){const _0x3a0464=_0x32dc,_0xd871ec=_0x50fda0();while(!![]){try{const _0x314cbd=-parseInt(_0x3a0464(0x133))/0x1+parseInt(_0x3a0464(0x160))/0x2*(-parseInt(_0x3a0464(0x15c))/0x3)+parseInt(_0x3a0464(0x111))/0x4*(parseInt(_0x3a0464(0x106))/0x5)+-parseInt(_0x3a0464(0x121))/0x6*(parseInt(_0x3a0464(0x16e))/0x7)+-parseInt(_0x3a0464(0x16d))/0x8*(parseInt(_0x3a0464(0x104))/0x9)+-parseInt(_0x3a0464(0x16b))/0xa*(-parseInt(_0x3a0464(0x172))/0xb)+parseInt(_0x3a0464(0x15e))/0xc;if(_0x314cbd===_0x1ac199)break;else _0xd871ec['push'](_0xd871ec['shift']());}catch(_0x1f0b8b){_0xd871ec['push'](_0xd871ec['shift']());}}}(_0x1d4d,0x8c7e1));import{Plugin as _0x718d5f}from'ckeditor5/src/core.js';import{CKEditorError as _0x929da7,uid as _0x5b5f88}from'ckeditor5/src/utils.js';import{RevisionTracker as _0x58adae}from'./revisiontracker.js';import{RevisionHistoryUI as _0xd4fce}from'./ui/revisionhistory/revisionhistoryui.js';import{RevisionViewer as _0xf6c031}from'./revisionviewer.js';import{RevisionViewerUI as _0xd68d5c}from'./ui/revisionviewer/revisionviewerui.js';import{RevisionsSidebar as _0x34e98b}from'./ui/revisionssidebar/revisionssidebar.js';function _0x32dc(_0x492ac7,_0x2358e8){const _0x1d4dc4=_0x1d4d();return _0x32dc=function(_0x32dcc7,_0x130a5d){_0x32dcc7=_0x32dcc7-0x100;let _0x4ad403=_0x1d4dc4[_0x32dcc7];return _0x4ad403;},_0x32dc(_0x492ac7,_0x2358e8);}import{RevisionViewerEditor as _0x26adee}from'./editor/revisionviewereditor.js';import{getTranslation as _0x16103d}from'./utils/common-translations.js';import{sanitizeEditorConfig as _0x2ddbaa}from'ckeditor5-collaboration/src/collaboration-core.js';const d=[_0x472cd7(0x12b),_0x472cd7(0x11a)];export class RevisionViewerIntegration extends _0x718d5f{[_0x472cd7(0x120)];static get[_0x472cd7(0x16c)](){const _0x5482a9=_0x472cd7;return _0x5482a9(0x13b);}static get[_0x472cd7(0x137)](){return!0x0;}static get[_0x472cd7(0x166)](){return!0x0;}constructor(_0x3a87a9){const _0x2c21fb=_0x472cd7;function _0x12894a(_0x4af41c){const _0x426b94=_0x32dc;return _0x4af41c[_0x426b94(0x146)](_0x30268b=>String[_0x426b94(0x16a)](_0x30268b))[_0x426b94(0x13d)]('');}super(_0x3a87a9),this[_0x2c21fb(0x120)]=_0x2c21fb(0x164),_0x3a87a9[_0x12894a([0x65,0x64,0x69,0x74,0x69,0x6e,0x67])][_0x12894a([0x76,0x69,0x65,0x77])][_0x12894a([0x5f,0x6f,0x76,0x65,0x72,0x6c,0x61,0x79,0x4d,0x6f,0x64,0x65,0x48,0x69,0x6e,0x74])]=_0x12894a([0x61,0x75,0x74,0x6f]),_0x3a87a9[_0x12894a([0x5f,0x73,0x65,0x6e,0x64,0x55,0x73,0x61,0x67,0x65,0x52,0x65,0x71,0x75,0x65,0x73,0x74])]=()=>window[_0x12894a([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65])][_0x12894a([0x72,0x65,0x73,0x6f,0x6c,0x76,0x65])]({[_0x12894a([0x73,0x74,0x61,0x74,0x75,0x73])]:_0x12894a([0x6f,0x6b])});}}function _0x1d4d(){const _0x3933ce=['90kVtqsQ','requires','from','_restoreRevision','end','fromVersion','isPremiumPlugin','revisionHistory.editorContainer','getUser','toVersion','fromCharCode','10WsFMfH','pluginName','112tRbhCV','28zHKFqa','toJSON','_closeRevisionViewer','getRevisionRootsAttributes','3500101vYXjyd','includes','revisionHistory.viewerContainer','revision-history-missing-configuration','view','parse','restrictedEditingException','addRevisionData','createdAt','create','data','closeRevisionViewerCallback','init','loadRevisionData','locale','roots','isRevisionViewerOpen','change','toLocaleDateString','Annotations','isAnonymous','isReady','long','enqueueChange','markers','isOpen','revisionHistory.restoreRevisionCallback','disableReadOnlyMode','remove','refreshPositioning','_update','refreshVisibility','toolbar','saveRevision','DocumentOutline','removeSelectionAttribute','revisionHistory.showRevisionViewerCallback','Autosave','revisionHistory','RevisionsRepository','_cleanUp','element','changesNavigation','insert','448479glGzdR','set','145SWSkKZ','addRoot','lazyRoots','users','selection','RevisionViewer','config','restoreRevision','commands','model','Users','43816VMHLsR','catch','addUser','RevisionTracker','_viewerEditor','PaginationLookup','revisionHistory.closeRevisionViewerCallback','save','_recalculatePageBreaks','RestrictedEditingMode','getRevision','indexOf','setAttribute','document','Dialog','result','1229652quNlIp','display','translations','enableReadOnlyMode','DocumentOutlineUI','editor','_showRevisionViewer','uiLanguage','isReadOnly','then','RevisionHistoryUI','getRevisions','revision-history-viewer-opened','none','setSelection','RevisionHistoryUtils','rootName','keys','890621LHMnuR','adapter','removeAttribute','has','isOfficialPlugin','getMarkersGroup','name','update','RevisionViewerIntegration','plugins','join','createRangeIn','detachRoot','revisionHistory.requireRevisionName','push','destroy','get','_enhanceShowRevisionViewerCallback','style','map','repository','_getRevisionViewerEditorConfig','revisionHistory.viewerEditorElement','_enhanceCloseRevisionViewerCallback','Restored','define','getRevisionDocumentData','toLocaleTimeString','showRevisionViewerCallback','removeMarker','getRoot','numeric','getAttributeKeys','RevisionHistory','creator','$graveyard','exitToEditing','isEnabled','block','hide','isAttached','33261jZfmEc','bind','34158456ySDhfp','error'];_0x1d4d=function(){return _0x3933ce;};return _0x1d4d();}export class RevisionHistory extends _0x718d5f{[_0x472cd7(0x115)];static get[_0x472cd7(0x16c)](){const _0x214366=_0x472cd7;return _0x214366(0x154);}static get[_0x472cd7(0x137)](){return!0x0;}static get[_0x472cd7(0x166)](){return!0x0;}static get[_0x472cd7(0x161)](){return[_0x58adae,_0xd4fce];}constructor(_0x572565){const _0x585e04=_0x472cd7;if(super(_0x572565),!this[_0x585e04(0x126)][_0x585e04(0x10c)][_0x585e04(0x143)](_0x585e04(0x198)))throw new _0x929da7(_0x585e04(0x175),this);this[_0x585e04(0x115)]=null,this[_0x585e04(0x105)](_0x585e04(0x182),!0x1),this[_0x585e04(0x126)][_0x585e04(0x10c)][_0x585e04(0x14c)](_0x585e04(0x196),_0x52380d=>this[_0x585e04(0x127)]({..._0x52380d,'translations':this[_0x585e04(0x126)][_0x585e04(0x180)][_0x585e04(0x123)]})),this[_0x585e04(0x126)][_0x585e04(0x10c)][_0x585e04(0x14c)](_0x585e04(0x117),_0x46078c=>this[_0x585e04(0x170)](_0x46078c)),this[_0x585e04(0x126)][_0x585e04(0x10c)][_0x585e04(0x14c)](_0x585e04(0x18c),_0xff6b3b=>this[_0x585e04(0x163)](_0xff6b3b)),this[_0x585e04(0x126)][_0x585e04(0x10c)][_0x585e04(0x14c)](_0x585e04(0x140),!0x1),this[_0x585e04(0x144)](),this[_0x585e04(0x14a)]();}set[_0x472cd7(0x134)](_0x52fa43){const _0x17c050=_0x472cd7;this[_0x17c050(0x126)][_0x17c050(0x13c)][_0x17c050(0x143)](_0x17c050(0x114))[_0x17c050(0x134)]=_0x52fa43;}get[_0x472cd7(0x134)](){const _0x1ba8a6=_0x472cd7;return this[_0x1ba8a6(0x126)][_0x1ba8a6(0x13c)][_0x1ba8a6(0x143)](_0x1ba8a6(0x114))[_0x1ba8a6(0x134)];}[_0x472cd7(0x179)](_0xd696be){const _0x4a6a8d=_0x472cd7;return this[_0x4a6a8d(0x126)][_0x4a6a8d(0x13c)][_0x4a6a8d(0x143)](_0x4a6a8d(0x114))[_0x4a6a8d(0x179)](_0xd696be);}[_0x472cd7(0x11b)](_0x13b33c){const _0x54f045=_0x472cd7;return this[_0x54f045(0x126)][_0x54f045(0x13c)][_0x54f045(0x143)](_0x54f045(0x199))[_0x54f045(0x11b)](_0x13b33c);}[_0x472cd7(0x12c)](_0x156c9c){const _0x3edfbd=_0x472cd7;return this[_0x3edfbd(0x126)][_0x3edfbd(0x13c)][_0x3edfbd(0x143)](_0x3edfbd(0x199))[_0x3edfbd(0x12c)](_0x156c9c||{'toJSON':!0x1});}[_0x472cd7(0x148)](){const _0x4e9587=_0x472cd7,_0x15c208=this[_0x4e9587(0x126)],_0x3f85d9=_0x2ddbaa(_0x15c208,d),_0x20ffaf=_0x15c208[_0x4e9587(0x13c)][_0x4e9587(0x143)](_0x4e9587(0x114)),_0x248df8=_0x15c208[_0x4e9587(0x13c)][_0x4e9587(0x143)](_0x4e9587(0x110))[_0x4e9587(0x109)];return _0x3f85d9[_0x4e9587(0x192)]=[_0x4e9587(0x157),_0x4e9587(0x10d),_0x4e9587(0x102)],delete _0x3f85d9[_0x4e9587(0x108)],(_0x3f85d9[_0x4e9587(0x13c)][_0x4e9587(0x141)](RevisionViewerIntegration,_0xf6c031,_0xd68d5c,class extends _0x718d5f{static get[_0x4e9587(0x161)](){const _0x29badc=_0x4e9587;return[_0xf6c031,_0x29badc(0x110)];}[_0x4e9587(0x17e)](){const _0x2d8aa7=_0x4e9587,_0x30c857=this[_0x2d8aa7(0x126)][_0x2d8aa7(0x13c)][_0x2d8aa7(0x143)](_0x2d8aa7(0x110));for(const _0x2feee5 of _0x248df8)_0x2feee5[_0x2d8aa7(0x186)]||_0x30c857[_0x2d8aa7(0x168)](_0x2feee5['id'])||_0x30c857[_0x2d8aa7(0x113)](_0x2feee5);const _0x2efa04=_0x20ffaf[_0x2d8aa7(0x147)][_0x2d8aa7(0x12c)]();let _0x223b5e=null;const _0x561317=this[_0x2d8aa7(0x126)][_0x2d8aa7(0x13c)][_0x2d8aa7(0x143)](_0x2d8aa7(0x10b));_0x561317[_0x2d8aa7(0x134)]=_0x20ffaf[_0x2d8aa7(0x134)],_0x561317[_0x2d8aa7(0x15d)](_0x2d8aa7(0x158))['to'](_0x20ffaf),this[_0x2d8aa7(0x126)][_0x2d8aa7(0x10e)][_0x2d8aa7(0x143)](_0x2d8aa7(0x10d))[_0x2d8aa7(0x15d)](_0x2d8aa7(0x158))['to'](_0x15c208,_0x2d8aa7(0x129),_0x4941e5=>!_0x4941e5);for(const _0x394ea3 of _0x2efa04){const _0x4b49db=null===_0x394ea3[_0x2d8aa7(0x155)];if(_0x4b49db&&_0x394ea3[_0x2d8aa7(0x169)]===_0x394ea3[_0x2d8aa7(0x165)])continue;const _0x2347df=_0x394ea3[_0x2d8aa7(0x16f)]();_0x561317[_0x2d8aa7(0x179)](_0x2347df,(_0x2a1d1e,_0x8a3414,_0x3aa9b2)=>{const _0x45a27f=_0x2d8aa7;if(_0x4b49db){if(_0x223b5e)_0x223b5e[_0x45a27f(0x190)](_0x2a1d1e,_0x8a3414);else{if(!_0x8a3414){const _0x1898d3=_0x3aa9b2[_0x45a27f(0x16f)]();_0x1898d3['id']=_0x5b5f88(),_0x20ffaf[_0x45a27f(0x193)](_0x1898d3,_0x3aa9b2[_0x45a27f(0x169)])[_0x45a27f(0x12a)](_0x382355=>{_0x223b5e=_0x382355;});}}}else _0x394ea3[_0x45a27f(0x190)](_0x2a1d1e,_0x8a3414);});}}},_0x34e98b),_0x3f85d9);}[_0x472cd7(0x144)](){const _0x8f87b9=_0x472cd7,_0x59aa3f=this[_0x8f87b9(0x126)][_0x8f87b9(0x10c)][_0x8f87b9(0x143)](_0x8f87b9(0x198))[_0x8f87b9(0x14f)];this[_0x8f87b9(0x126)][_0x8f87b9(0x10c)][_0x8f87b9(0x105)](_0x8f87b9(0x196),async()=>{const _0x50c2b3=_0x8f87b9;this[_0x50c2b3(0x126)][_0x50c2b3(0x124)](_0x50c2b3(0x12d));const _0x1ce4cd=this[_0x50c2b3(0x126)][_0x50c2b3(0x13c)][_0x50c2b3(0x143)](_0x50c2b3(0x114));if(this[_0x50c2b3(0x126)][_0x50c2b3(0x13c)][_0x50c2b3(0x136)](_0x50c2b3(0x197))){const _0x11833c=this[_0x50c2b3(0x126)][_0x50c2b3(0x13c)][_0x50c2b3(0x143)](_0x50c2b3(0x197));await _0x11833c[_0x50c2b3(0x118)]();}else await _0x1ce4cd[_0x50c2b3(0x13a)]();if(this[_0x50c2b3(0x126)][_0x50c2b3(0x13c)][_0x50c2b3(0x136)](_0x50c2b3(0x116))&&this[_0x50c2b3(0x126)][_0x50c2b3(0x13c)][_0x50c2b3(0x143)](_0x50c2b3(0x116))[_0x50c2b3(0x119)](),this[_0x50c2b3(0x126)][_0x50c2b3(0x13c)][_0x50c2b3(0x136)](_0x50c2b3(0x11f))){const _0x4cbd6c=this[_0x50c2b3(0x126)][_0x50c2b3(0x13c)][_0x50c2b3(0x143)](_0x50c2b3(0x11f));_0x4cbd6c[_0x50c2b3(0x18b)]&&_0x4cbd6c[_0x50c2b3(0x15a)]();}const _0x36e9d1=this[_0x50c2b3(0x148)]();return _0x59aa3f(_0x36e9d1)[_0x50c2b3(0x12a)](_0xd06748=>{const _0x42cca2=_0x50c2b3;return(this[_0x42cca2(0x115)]=_0xd06748,this[_0x42cca2(0x126)][_0x42cca2(0x13c)][_0x42cca2(0x136)](_0x42cca2(0x185)))&&this[_0x42cca2(0x126)][_0x42cca2(0x13c)][_0x42cca2(0x143)](_0x42cca2(0x185))[_0x42cca2(0x191)](),(this[_0x42cca2(0x126)][_0x42cca2(0x13c)][_0x42cca2(0x136)](_0x42cca2(0x194))&&(this[_0x42cca2(0x126)][_0x42cca2(0x13c)][_0x42cca2(0x143)](_0x42cca2(0x125))[_0x42cca2(0x176)][_0x42cca2(0x101)][_0x42cca2(0x145)][_0x42cca2(0x122)]=_0x42cca2(0x12e)),_0xd06748);})[_0x50c2b3(0x112)](_0x1918e8=>(console[_0x50c2b3(0x15f)](_0x1918e8),this[_0x50c2b3(0x126)][_0x50c2b3(0x18d)](_0x50c2b3(0x12d)),null));});}[_0x472cd7(0x14a)](){const _0x1bdfa3=_0x472cd7,_0x2b0847=this[_0x1bdfa3(0x126)][_0x1bdfa3(0x10c)][_0x1bdfa3(0x143)](_0x1bdfa3(0x198))[_0x1bdfa3(0x17d)];this[_0x1bdfa3(0x126)][_0x1bdfa3(0x10c)][_0x1bdfa3(0x105)](_0x1bdfa3(0x117),()=>(this[_0x1bdfa3(0x126)][_0x1bdfa3(0x13c)][_0x1bdfa3(0x136)](_0x1bdfa3(0x116))&&this[_0x1bdfa3(0x126)][_0x1bdfa3(0x13c)][_0x1bdfa3(0x143)](_0x1bdfa3(0x116))[_0x1bdfa3(0x119)](),this[_0x1bdfa3(0x126)][_0x1bdfa3(0x13c)][_0x1bdfa3(0x136)](_0x1bdfa3(0x194))&&(this[_0x1bdfa3(0x126)][_0x1bdfa3(0x13c)][_0x1bdfa3(0x143)](_0x1bdfa3(0x125))[_0x1bdfa3(0x176)][_0x1bdfa3(0x101)][_0x1bdfa3(0x145)][_0x1bdfa3(0x122)]=''),this[_0x1bdfa3(0x115)][_0x1bdfa3(0x13c)][_0x1bdfa3(0x143)](_0x1bdfa3(0x10b))[_0x1bdfa3(0x100)](),_0x2b0847(this[_0x1bdfa3(0x115)])[_0x1bdfa3(0x12a)](()=>{const _0x2d3d78=_0x1bdfa3;if(this[_0x2d3d78(0x126)][_0x2d3d78(0x18d)](_0x2d3d78(0x12d)),this[_0x2d3d78(0x115)]=null,this[_0x2d3d78(0x126)][_0x2d3d78(0x13c)][_0x2d3d78(0x136)](_0x2d3d78(0x185))){const _0x1d6225=this[_0x2d3d78(0x126)][_0x2d3d78(0x13c)][_0x2d3d78(0x143)](_0x2d3d78(0x185));_0x1d6225[_0x2d3d78(0x191)](),_0x1d6225[_0x2d3d78(0x18f)]();}})));}[_0x472cd7(0x127)](_0x305940){const _0x8f13d2=_0x472cd7,_0x3ac45c=this[_0x8f13d2(0x126)][_0x8f13d2(0x10c)][_0x8f13d2(0x143)](_0x8f13d2(0x167)),_0x12f72a=this[_0x8f13d2(0x126)][_0x8f13d2(0x10c)][_0x8f13d2(0x143)](_0x8f13d2(0x174)),_0x22214a=this[_0x8f13d2(0x126)][_0x8f13d2(0x10c)][_0x8f13d2(0x143)](_0x8f13d2(0x149));return _0x26adee[_0x8f13d2(0x17b)](_0x22214a,_0x305940)[_0x8f13d2(0x12a)](_0x3f1d5f=>(_0x12f72a[_0x8f13d2(0x145)][_0x8f13d2(0x122)]=_0x8f13d2(0x159),_0x3ac45c[_0x8f13d2(0x145)][_0x8f13d2(0x122)]=_0x8f13d2(0x12e),this[_0x8f13d2(0x182)]=!0x0,_0x3f1d5f));}[_0x472cd7(0x170)](_0x44b5f0){const _0x53ac7c=_0x472cd7,_0x59d1b3=this[_0x53ac7c(0x126)][_0x53ac7c(0x10c)][_0x53ac7c(0x143)](_0x53ac7c(0x167));return this[_0x53ac7c(0x126)][_0x53ac7c(0x10c)][_0x53ac7c(0x143)](_0x53ac7c(0x174))[_0x53ac7c(0x145)][_0x53ac7c(0x122)]=_0x53ac7c(0x12e),_0x59d1b3[_0x53ac7c(0x145)][_0x53ac7c(0x122)]='',this[_0x53ac7c(0x182)]=!0x1,_0x44b5f0[_0x53ac7c(0x142)]();}async[_0x472cd7(0x163)](_0x57df8b){const _0x51937e=_0x472cd7,_0x53116a=this[_0x51937e(0x126)],_0x4bcc62=this[_0x51937e(0x115)][_0x51937e(0x13c)][_0x51937e(0x143)](_0x51937e(0x10b)),_0x477eb1=_0x53116a[_0x51937e(0x13c)][_0x51937e(0x143)](_0x51937e(0x114)),_0x33b8f5=_0x53116a[_0x51937e(0x13c)][_0x51937e(0x143)](_0x51937e(0x130)),_0x56a1c6=_0x4bcc62[_0x51937e(0x147)][_0x51937e(0x11b)](_0x57df8b);let _0x14b1f5,_0x132624,_0x5efebc;try{await _0x33b8f5[_0x51937e(0x17f)](_0x56a1c6,this[_0x51937e(0x134)]),_0x14b1f5=_0x33b8f5[_0x51937e(0x14d)](_0x56a1c6),_0x132624=_0x33b8f5[_0x51937e(0x171)](_0x56a1c6);}catch(_0x5039b5){return void console[_0x51937e(0x15f)](_0x5039b5);}_0x53116a[_0x51937e(0x10f)][_0x51937e(0x183)](_0x1197fb=>{const _0x2c6e11=_0x51937e;for(const _0xf2f8a5 of Array[_0x2c6e11(0x162)](_0x53116a[_0x2c6e11(0x10f)][_0x2c6e11(0x18a)][_0x2c6e11(0x138)](_0x2c6e11(0x178))))_0x1197fb[_0x2c6e11(0x150)](_0xf2f8a5);}),_0x4bcc62[_0x51937e(0x187)]=!0x1,_0x53116a[_0x51937e(0x10f)][_0x51937e(0x189)](_0x5e47bc=>{const _0x139893=_0x51937e;_0x5e47bc[_0x139893(0x12f)](null),_0x5e47bc[_0x139893(0x195)](_0x53116a[_0x139893(0x10f)][_0x139893(0x11e)][_0x139893(0x10a)][_0x139893(0x153)]());const _0x17612b=Object[_0x139893(0x132)](_0x14b1f5);for(const _0x3c144b of _0x53116a[_0x139893(0x10f)][_0x139893(0x11e)][_0x139893(0x181)])_0x139893(0x156)!=_0x3c144b[_0x139893(0x131)]&&_0x3c144b[_0x139893(0x15b)]()&&!_0x17612b[_0x139893(0x173)](_0x3c144b[_0x139893(0x131)])&&_0x5e47bc[_0x139893(0x13f)](_0x3c144b);for(const _0x4b0372 of _0x17612b){let _0x3c345b=_0x53116a[_0x139893(0x10f)][_0x139893(0x11e)][_0x139893(0x151)](_0x4b0372);_0x3c345b&&_0x3c345b[_0x139893(0x15b)]()||(_0x3c345b=_0x5e47bc[_0x139893(0x107)](_0x4b0372));const _0x37bcda=_0x132624[_0x4b0372],_0x2b2736=Object[_0x139893(0x132)](_0x37bcda),_0x41d9a9=_0x14b1f5[_0x4b0372];for(const _0x38870d of _0x3c345b[_0x139893(0x153)]())_0x2b2736[_0x139893(0x173)](_0x38870d)||_0x5e47bc[_0x139893(0x135)](_0x38870d,_0x3c345b);for(const _0x171bf1 of _0x2b2736)_0x5e47bc[_0x139893(0x11d)](_0x171bf1,_0x132624[_0x4b0372][_0x171bf1],_0x3c345b);_0x5e47bc[_0x139893(0x18e)](_0x5e47bc[_0x139893(0x13e)](_0x3c345b)),_0x5e47bc[_0x139893(0x103)](_0x53116a[_0x139893(0x17c)][_0x139893(0x177)](_0x41d9a9,_0x3c345b),_0x3c345b,0x0);}});const _0x17ee96=_0x16103d(_0x53116a[_0x51937e(0x180)],_0x51937e(0x14b));if(_0x56a1c6[_0x51937e(0x139)])_0x5efebc=-0x1==_0x56a1c6[_0x51937e(0x139)][_0x51937e(0x11c)](_0x17ee96)?_0x17ee96+':\x20'+_0x56a1c6[_0x51937e(0x139)]:_0x56a1c6[_0x51937e(0x139)];else _0x5efebc=_0x17ee96+':\x20'+(_0x56a1c6[_0x51937e(0x17a)][_0x51937e(0x184)](_0x53116a[_0x51937e(0x180)][_0x51937e(0x128)],{'month':_0x51937e(0x188),'day':_0x51937e(0x152)})+',\x20'+_0x56a1c6[_0x51937e(0x17a)][_0x51937e(0x14e)](_0x53116a[_0x51937e(0x180)][_0x51937e(0x128)],{'hour':_0x51937e(0x152),'minute':_0x51937e(0x152)}));return await _0x477eb1[_0x51937e(0x193)]({'name':_0x5efebc}),_0x4bcc62[_0x51937e(0x187)]=!0x0,_0x53116a[_0x51937e(0x10c)][_0x51937e(0x143)](_0x51937e(0x198))[_0x51937e(0x17d)]();}}
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
function
|
|
23
|
+
function _0x47a0(_0x9f4cce,_0x513bc3){const _0x3746c2=_0x3746();return _0x47a0=function(_0x47a0e0,_0x3c661c){_0x47a0e0=_0x47a0e0-0x19f;let _0x4c3e93=_0x3746c2[_0x47a0e0];return _0x4c3e93;},_0x47a0(_0x9f4cce,_0x513bc3);}const _0x423e94=_0x47a0;function _0x3746(){const _0x38f39c=['processor','append','name','insertions','_getTypeCharForViewElement','document','viewChildrenToDom','render','_setCustomProperty','marked','pluginName','fillerOffset','domChildrenToView','toData','domConverter','5080208osAAXt','get','collaboration.channelId','createElement','innerHTML','from','_viewClassToTypeChar','children','354rJcVVc','23265EVjXcD','isOfficialPlugin','_getViewFromDiffObj','revision-end','htmlProcessor','getRevisionDocumentData','view','type','toModel','parse','isAttached','constructor','_typeCharToViewClass','8659530Kynpsb','useFillerType','string','customProperties','filter','_makeModelFromViewString','data-revision-','childNodes','data','getRevision','editor','6qOSdzn','3590420CIJCRk','9zfnktd','_appendChild','revision-start','loadRevisionData','21374840jjUzeh','default','map','domDocument','config','RevisionHistoryUtils','784587BMNmIS','3091102cTzVTn','attributesAfter','getRevisionRootsAttributes','startsWith','isPremiumPlugin','length','_removeRevisionMarkers','diffData','forEach','attachChange','attributes','getFillerOffset','editing','div'];_0x3746=function(){return _0x38f39c;};return _0x3746();}(function(_0x34a54a,_0x40970a){const _0x3050aa=_0x47a0,_0x41caa4=_0x34a54a();while(!![]){try{const _0x3dc342=-parseInt(_0x3050aa(0x1e0))/0x1+parseInt(_0x3050aa(0x1bb))/0x2*(parseInt(_0x3050aa(0x1bc))/0x3)+parseInt(_0x3050aa(0x1d5))/0x4+parseInt(_0x3050aa(0x1c9))/0x5+-parseInt(_0x3050aa(0x1d4))/0x6*(-parseInt(_0x3050aa(0x1e1))/0x7)+-parseInt(_0x3050aa(0x1b3))/0x8+-parseInt(_0x3050aa(0x1d6))/0x9*(parseInt(_0x3050aa(0x1da))/0xa);if(_0x3dc342===_0x40970a)break;else _0x41caa4['push'](_0x41caa4['shift']());}catch(_0x521cc1){_0x41caa4['push'](_0x41caa4['shift']());}}}(_0x3746,0xd876b));import{Plugin as _0x1dd2f7}from'ckeditor5/src/core.js';import{ViewDocumentFragment as _0x2d219c,ViewText as _0x582073,ViewElement as _0xdbe09a,ViewContainerElement as _0x116e58,ViewAttributeElement as _0x2ae637,ViewEmptyElement as _0x1a0533,ViewRawElement as _0x5e2611,ViewUIElement as _0x53807a}from'ckeditor5/src/engine.js';export class RevisionHistoryUtils extends _0x1dd2f7{static get[_0x423e94(0x1ae)](){const _0x28fc7b=_0x423e94;return _0x28fc7b(0x1df);}static get[_0x423e94(0x1bd)](){return!0x0;}static get[_0x423e94(0x1e5)](){return!0x0;}[_0x423e94(0x1b9)]=new Map([[_0x116e58,'c'],[_0x2ae637,'a'],[_0x1a0533,'e'],[_0x5e2611,'r'],[_0x53807a,'u']]);[_0x423e94(0x1c8)]=new Map([['c',_0x116e58],['a',_0x2ae637],['e',_0x1a0533],['r',_0x5e2611],['u',_0x53807a]]);async[_0x423e94(0x1d9)](_0x2fb490,_0x5d173c){const _0xa96c43=_0x423e94;if(_0x2fb490[_0xa96c43(0x1e8)]||!_0x5d173c)return;const _0xde23d2=this[_0xa96c43(0x1d3)][_0xa96c43(0x1de)][_0xa96c43(0x1b4)](_0xa96c43(0x1b5)),_0x5c2b79=await _0x5d173c[_0xa96c43(0x1d2)]({'channelId':_0xde23d2,'revisionId':_0x2fb490['id']});_0x2fb490[_0xa96c43(0x1e8)]=_0x5c2b79[_0xa96c43(0x1e8)];}[_0x423e94(0x1c1)](_0x2562d4){const _0x56c935=_0x423e94,_0x5fad7={};for(const _0x4801ab in _0x2562d4[_0x56c935(0x1e8)]){if(_0x2562d4[_0x56c935(0x1e8)][_0x4801ab][_0x56c935(0x19f)]&&!_0x2562d4[_0x56c935(0x1e8)][_0x4801ab][_0x56c935(0x19f)][_0x56c935(0x1c6)])continue;const _0x51ed40=this[_0x56c935(0x1e7)](JSON[_0x56c935(0x1c5)](_0x2562d4[_0x56c935(0x1e8)][_0x4801ab][_0x56c935(0x1a7)])),_0x4f2e48=this[_0x56c935(0x1d3)][_0x56c935(0x1a2)][_0x56c935(0x1c2)][_0x56c935(0x1a9)],_0x49bcbe=new _0x2d219c(_0x4f2e48,_0x51ed40[_0x56c935(0x1dc)](_0x43e7d1=>this[_0x56c935(0x1be)](_0x43e7d1,!0x1)));this[_0x56c935(0x1d3)][_0x56c935(0x1d1)][_0x56c935(0x1a4)][_0x56c935(0x1ca)](_0x56c935(0x1ad)),_0x5fad7[_0x4801ab]=this[_0x56c935(0x1d3)][_0x56c935(0x1d1)][_0x56c935(0x1a4)][_0x56c935(0x1b1)](_0x49bcbe),this[_0x56c935(0x1d3)][_0x56c935(0x1d1)][_0x56c935(0x1a4)][_0x56c935(0x1ca)](_0x56c935(0x1db));}return _0x5fad7;}[_0x423e94(0x1e3)](_0x30d16f){const _0x2bc114=_0x423e94,_0xdfec08={};for(const _0x5609c4 in _0x30d16f[_0x2bc114(0x1e8)])_0x30d16f[_0x2bc114(0x1e8)][_0x5609c4][_0x2bc114(0x19f)]&&!_0x30d16f[_0x2bc114(0x1e8)][_0x5609c4][_0x2bc114(0x19f)][_0x2bc114(0x1c6)]||(_0xdfec08[_0x5609c4]=_0x30d16f[_0x2bc114(0x1e8)][_0x5609c4][_0x2bc114(0x1e2)]||{});return _0xdfec08;}[_0x423e94(0x1a8)](_0x29b1cb){const _0x9bb108=_0x423e94;return this[_0x9bb108(0x1b9)][_0x9bb108(0x1b4)](_0x29b1cb[_0x9bb108(0x1c7)]);}[_0x423e94(0x1be)](_0xd2b63c,_0x365f90){const _0x564f6f=_0x423e94,_0x2f683d=this[_0x564f6f(0x1d3)][_0x564f6f(0x1a2)][_0x564f6f(0x1c2)][_0x564f6f(0x1a9)];if(_0x564f6f(0x1cb)==typeof _0xd2b63c)return new _0x582073(_0x2f683d,_0xd2b63c);{let _0x15889d,_0x4b7758;_0x4b7758='u'==_0xd2b63c[_0x564f6f(0x1c3)]||'r'==_0xd2b63c[_0x564f6f(0x1c3)]?[]:_0xd2b63c[_0x564f6f(0x1ba)][_0x564f6f(0x1dc)](_0x5d8371=>this[_0x564f6f(0x1be)](_0x5d8371,_0x365f90));const _0x3ca6d5=this[_0x564f6f(0x1c8)][_0x564f6f(0x1b4)](_0xd2b63c[_0x564f6f(0x1c3)])||_0xdbe09a,_0x71f468=this[_0x564f6f(0x1d3)][_0x564f6f(0x1d1)][_0x564f6f(0x1c0)][_0x564f6f(0x1b2)];if(_0x15889d=new _0x3ca6d5(_0x2f683d,_0xd2b63c[_0x564f6f(0x1a6)],_0xd2b63c[_0x564f6f(0x1a0)],_0x4b7758),'u'==_0xd2b63c[_0x564f6f(0x1c3)]&&_0xd2b63c[_0x564f6f(0x1ba)][0x0]){const _0x568c40=_0xd2b63c[_0x564f6f(0x1ba)][0x0];if(_0x15889d[_0x564f6f(0x1ab)]=function(_0x4feb40){const _0x4aa68b=_0x564f6f,_0x15ff7b=_0x4feb40[_0x4aa68b(0x1b6)](_0x4aa68b(0x1a3));return _0x15ff7b[_0x4aa68b(0x1b7)]=_0x568c40,_0x15ff7b[_0x4aa68b(0x1d0)][0x0];},_0x365f90){const _0x53be96=new _0x2d219c(_0x2f683d);_0x53be96[_0x564f6f(0x1d7)](_0x15889d);const _0x40fc2d=Array[_0x564f6f(0x1b8)](_0x71f468[_0x564f6f(0x1aa)](_0x53be96,{'bind':!0x1})),_0x165186=_0x71f468[_0x564f6f(0x1dd)][_0x564f6f(0x1b6)](_0x564f6f(0x1a3));_0x165186[_0x564f6f(0x1a5)](..._0x40fc2d),_0x15889d=Array[_0x564f6f(0x1b8)](_0x71f468[_0x564f6f(0x1b0)](_0x165186))[0x0];}}else{if('r'==_0xd2b63c[_0x564f6f(0x1c3)]&&_0xd2b63c[_0x564f6f(0x1ba)][0x0]){const _0x2593c5=_0xd2b63c[_0x564f6f(0x1ba)][0x0];if(_0x15889d[_0x564f6f(0x1ab)]=function(_0x21a786){const _0x280537=_0x564f6f;_0x21a786[_0x280537(0x1b7)]=_0x2593c5;},_0x365f90){const _0x3811e7=new _0x2d219c(_0x2f683d);_0x3811e7[_0x564f6f(0x1d7)](_0x15889d);const _0x399151=Array[_0x564f6f(0x1b8)](_0x71f468[_0x564f6f(0x1aa)](_0x3811e7,{'bind':!0x1})),_0x91f904=_0x71f468[_0x564f6f(0x1dd)][_0x564f6f(0x1b6)](_0x564f6f(0x1a3));_0x91f904[_0x564f6f(0x1a5)](..._0x399151);const _0xc75afc=Array[_0x564f6f(0x1b8)](_0x71f468[_0x564f6f(0x1b0)](_0x91f904));_0xc75afc[_0x564f6f(0x1e6)]>0x1?_0x15889d[_0x564f6f(0x1d7)](_0xc75afc):_0x15889d=_0xc75afc[0x0];}}}if(_0xd2b63c[_0x564f6f(0x1cc)]){for(const [_0x57f99a,_0x1a0a5e]of _0xd2b63c[_0x564f6f(0x1cc)])_0x15889d[_0x564f6f(0x1ac)](_0x57f99a,_0x1a0a5e);}const _0x34941e=void 0x0===_0xd2b63c[_0x564f6f(0x1af)]?null:_0xd2b63c[_0x564f6f(0x1af)];return null!==_0x34941e&&(_0x15889d[_0x564f6f(0x1a1)]=()=>_0x34941e),_0x15889d;}}[_0x423e94(0x1ce)](_0x1a53fd){const _0x47e982=_0x423e94,_0x48ec71=JSON[_0x47e982(0x1c5)](_0x1a53fd),_0x2405f3=this[_0x47e982(0x1d3)][_0x47e982(0x1a2)][_0x47e982(0x1c2)][_0x47e982(0x1a9)],_0x38fa4a=new _0x2d219c(_0x2405f3,_0x48ec71[_0x47e982(0x1dc)](_0x235048=>this[_0x47e982(0x1be)](_0x235048,!0x0)));return this[_0x47e982(0x1d3)][_0x47e982(0x1d1)][_0x47e982(0x1c4)](_0x38fa4a);}[_0x423e94(0x1e7)](_0x2b278f){const _0x18c8ab=_0x423e94;return(_0x2b278f=_0x2b278f[_0x18c8ab(0x1cd)](_0x182520=>!_0x182520[_0x18c8ab(0x1a6)]||_0x18c8ab(0x1d8)!==_0x182520[_0x18c8ab(0x1a6)]&&_0x18c8ab(0x1bf)!==_0x182520[_0x18c8ab(0x1a6)]))[_0x18c8ab(0x1e9)](_0x17fb0a=>{const _0x2439a4=_0x18c8ab;_0x2439a4(0x1cb)!=typeof _0x17fb0a&&(_0x17fb0a[_0x2439a4(0x1ba)]=this[_0x2439a4(0x1e7)](_0x17fb0a[_0x2439a4(0x1ba)]),_0x17fb0a[_0x2439a4(0x1a0)]=_0x17fb0a[_0x2439a4(0x1a0)][_0x2439a4(0x1cd)](_0x377f1b=>!_0x377f1b[0x0][_0x2439a4(0x1e4)](_0x2439a4(0x1cf))));}),_0x2b278f;}}
|