@ckeditor/ckeditor5-revision-history 0.0.0-nightly-20250825.0 → 0.0.0-nightly-20250827.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/build/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
|
+
(_0x24197a=>{const {vi:{dictionary:_0x733316,getPluralForm:_0x18d73d}}={'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':_0x1fd675=>0x0}};_0x24197a['vi']||={'dictionary':{},'getPluralForm':null},_0x24197a['vi']['dictionary']=Object['assign'](_0x24197a['vi']['dictionary'],_0x733316),_0x24197a['vi']['getPluralForm']=_0x18d73d;})(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':_0x40c069=>0x0}};
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
(
|
|
23
|
+
(_0x1bb478=>{const {'zh-cn':{dictionary:_0x42a4e0,getPluralForm:_0x303d32}}={'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':_0x317392=>0x0}};_0x1bb478['zh-cn']||={'dictionary':{},'getPluralForm':null},_0x1bb478['zh-cn']['dictionary']=Object['assign'](_0x1bb478['zh-cn']['dictionary'],_0x42a4e0),_0x1bb478['zh-cn']['getPluralForm']=_0x303d32;})(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':_0x5e2efe=>0x0}};
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
(
|
|
23
|
+
(_0x196096=>{const {zh:{dictionary:_0x4695a5,getPluralForm:_0x37da61}}={'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':_0x2a6e58=>0x0}};_0x196096['zh']||={'dictionary':{},'getPluralForm':null},_0x196096['zh']['dictionary']=Object['assign'](_0x196096['zh']['dictionary'],_0x4695a5),_0x196096['zh']['getPluralForm']=_0x37da61;})(window['CKEDITOR_TRANSLATIONS']||={});
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@ckeditor/ckeditor5-revision-history",
|
|
3
|
-
"version": "0.0.0-nightly-
|
|
3
|
+
"version": "0.0.0-nightly-20250827.0",
|
|
4
4
|
"description": "Document revision history feature for CKEditor 5.",
|
|
5
5
|
"license": "SEE LICENSE IN LICENSE.md",
|
|
6
6
|
"author": "CKSource (http://cksource.com/)",
|
|
@@ -39,17 +39,17 @@
|
|
|
39
39
|
"CHANGELOG.md"
|
|
40
40
|
],
|
|
41
41
|
"dependencies": {
|
|
42
|
-
"@ckeditor/ckeditor5-autosave": "0.0.0-nightly-
|
|
43
|
-
"@ckeditor/ckeditor5-comments": "0.0.0-nightly-
|
|
44
|
-
"@ckeditor/ckeditor5-core": "0.0.0-nightly-
|
|
45
|
-
"@ckeditor/ckeditor5-editor-classic": "0.0.0-nightly-
|
|
46
|
-
"@ckeditor/ckeditor5-engine": "0.0.0-nightly-
|
|
47
|
-
"@ckeditor/ckeditor5-icons": "0.0.0-nightly-
|
|
48
|
-
"@ckeditor/ckeditor5-ui": "0.0.0-nightly-
|
|
49
|
-
"@ckeditor/ckeditor5-utils": "0.0.0-nightly-
|
|
42
|
+
"@ckeditor/ckeditor5-autosave": "0.0.0-nightly-20250827.0",
|
|
43
|
+
"@ckeditor/ckeditor5-comments": "0.0.0-nightly-20250827.0",
|
|
44
|
+
"@ckeditor/ckeditor5-core": "0.0.0-nightly-20250827.0",
|
|
45
|
+
"@ckeditor/ckeditor5-editor-classic": "0.0.0-nightly-20250827.0",
|
|
46
|
+
"@ckeditor/ckeditor5-engine": "0.0.0-nightly-20250827.0",
|
|
47
|
+
"@ckeditor/ckeditor5-icons": "0.0.0-nightly-20250827.0",
|
|
48
|
+
"@ckeditor/ckeditor5-ui": "0.0.0-nightly-20250827.0",
|
|
49
|
+
"@ckeditor/ckeditor5-utils": "0.0.0-nightly-20250827.0",
|
|
50
50
|
"@types/luxon": "3.6.2",
|
|
51
|
-
"ckeditor5": "0.0.0-nightly-
|
|
52
|
-
"ckeditor5-collaboration": "0.0.0-nightly-
|
|
51
|
+
"ckeditor5": "0.0.0-nightly-20250827.0",
|
|
52
|
+
"ckeditor5-collaboration": "0.0.0-nightly-20250827.0",
|
|
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
|
-
function
|
|
24
|
-
|
|
23
|
+
function _0x4e33(){var _0x3ac7f3=['data','1012640oPyXOn','53640sWrAlU','28110ZYBIoN','1067385ptYZuY','17qqklam','rootName','2170xkDHja','toJSON','author','148vWQnQZ','type','set','createdAt','45856BcvhtK','2475571UpenKg','512tyylIg','564ManNoN'];_0x4e33=function(){return _0x3ac7f3;};return _0x4e33();}var _0x4965c4=_0x4e12;function _0x4e12(_0x3ca2ea,_0x57ceea){var _0x4e3305=_0x4e33();return _0x4e12=function(_0x4e12bc,_0x568314){_0x4e12bc=_0x4e12bc-0x71;var _0xbeda08=_0x4e3305[_0x4e12bc];return _0xbeda08;},_0x4e12(_0x3ca2ea,_0x57ceea);}(function(_0x211061,_0x556e06){var _0x276717=_0x4e12,_0x2db945=_0x211061();while(!![]){try{var _0x2fd2ce=parseInt(_0x276717(0x7a))/0x1*(parseInt(_0x276717(0x71))/0x2)+-parseInt(_0x276717(0x78))/0x3*(parseInt(_0x276717(0x7f))/0x4)+parseInt(_0x276717(0x7c))/0x5*(parseInt(_0x276717(0x74))/0x6)+parseInt(_0x276717(0x72))/0x7+parseInt(_0x276717(0x73))/0x8*(-parseInt(_0x276717(0x77))/0x9)+parseInt(_0x276717(0x76))/0xa+parseInt(_0x276717(0x79))/0xb;if(_0x2fd2ce===_0x556e06)break;else _0x2db945['push'](_0x2db945['shift']());}catch(_0x124bab){_0x2db945['push'](_0x2db945['shift']());}}}(_0x4e33,0x3e1ba));import{ObservableMixin as _0x522586,uid as _0x54b9a5}from'ckeditor5/src/utils.js';export class ChangeItem extends/* #__PURE__ -- @preserve */
|
|
24
|
+
_0x522586(){['id'];[_0x4965c4(0x7e)];[_0x4965c4(0x80)];[_0x4965c4(0x75)];[_0x4965c4(0x7b)];constructor(_0x36a4b7){var _0xc15c1b=_0x4965c4;super(),this['id']=_0x36a4b7['id']||_0x54b9a5(),this[_0xc15c1b(0x7e)]=_0x36a4b7[_0xc15c1b(0x7e)],this[_0xc15c1b(0x80)]=_0x36a4b7[_0xc15c1b(0x80)],this[_0xc15c1b(0x75)]=_0x36a4b7[_0xc15c1b(0x75)]||{},this[_0xc15c1b(0x7b)]=_0x36a4b7[_0xc15c1b(0x7b)],this[_0xc15c1b(0x81)](_0xc15c1b(0x82),_0x36a4b7[_0xc15c1b(0x82)]);}[_0x4965c4(0x7d)](){var _0x31ef43=_0x4965c4;return{'id':this['id'],'authorId':this[_0x31ef43(0x7e)]['id'],'type':this[_0x31ef43(0x80)],'data':this[_0x31ef43(0x75)],'createdAt':this[_0x31ef43(0x82)]};}}
|
|
@@ -20,5 +20,5 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
const
|
|
24
|
-
|
|
23
|
+
const _0x4da575=_0xe6c0;(function(_0x50c127,_0x3d6f26){const _0x5ed6c6=_0xe6c0,_0x48477f=_0x50c127();while(!![]){try{const _0x5a57f7=-parseInt(_0x5ed6c6(0x1df))/0x1+-parseInt(_0x5ed6c6(0x1f6))/0x2*(parseInt(_0x5ed6c6(0x1f5))/0x3)+-parseInt(_0x5ed6c6(0x1e4))/0x4*(-parseInt(_0x5ed6c6(0x1f8))/0x5)+parseInt(_0x5ed6c6(0x1f2))/0x6*(parseInt(_0x5ed6c6(0x1e8))/0x7)+-parseInt(_0x5ed6c6(0x1ed))/0x8*(-parseInt(_0x5ed6c6(0x1e0))/0x9)+-parseInt(_0x5ed6c6(0x1ea))/0xa+-parseInt(_0x5ed6c6(0x1e3))/0xb;if(_0x5a57f7===_0x3d6f26)break;else _0x48477f['push'](_0x48477f['shift']());}catch(_0x3db794){_0x48477f['push'](_0x48477f['shift']());}}}(_0x2127,0xac418));function _0x2127(){const _0x2a6295=['sourceElement','8565500WzMcuP','destroy','updateSourceElement','56vfaZCL','createRoot','create','locale','initPlugins','20100jWyZqN','fire','init','6PJpgsH','233062ZOnuYt','config','4545735XTsCcb','document','editing','_ui','get','882778GEjGoq','1249848JqPlkF','ready','data','4244361GMkziw','4gmcBwO','view','model','initialData','2471Brmbkw'];_0x2127=function(){return _0x2a6295;};return _0x2127();}function _0xe6c0(_0x4735a4,_0x25589d){const _0x2127ad=_0x2127();return _0xe6c0=function(_0xe6c009,_0x19ab14){_0xe6c009=_0xe6c009-0x1df;let _0x3d8ed=_0x2127ad[_0xe6c009];return _0x3d8ed;},_0xe6c0(_0x4735a4,_0x25589d);}import{Editor as _0x4787d1,ElementApiMixin as _0x268925}from'ckeditor5/src/core.js';import{RevisionViewerEditorUI as _0x5ab896}from'./revisionviewereditorui.js';import{RevisionViewerEditorUIView as _0x344972}from'./revisionviewereditoruiview.js';export class RevisionViewerEditor extends/* #__PURE__ -- @preserve */
|
|
24
|
+
_0x268925(_0x4787d1){[_0x4da575(0x1fb)];get['ui'](){const _0x207595=_0x4da575;return this[_0x207595(0x1fb)];}constructor(_0x1559ba,_0xd52472){const _0x2cb286=_0x4da575;super(_0xd52472),this[_0x2cb286(0x1e9)]=_0x1559ba,this[_0x2cb286(0x1e6)][_0x2cb286(0x1f9)][_0x2cb286(0x1ee)]();const _0x33c694=new _0x344972(this[_0x2cb286(0x1f0)],this[_0x2cb286(0x1fa)][_0x2cb286(0x1e5)],{'shouldToolbarGroupWhenFull':!0x0});this[_0x2cb286(0x1fb)]=new _0x5ab896(this,_0x33c694);}[_0x4da575(0x1eb)](){const _0x38fc46=_0x4da575;return this[_0x38fc46(0x1ec)](),this['ui'][_0x38fc46(0x1eb)](),super[_0x38fc46(0x1eb)]();}static async[_0x4da575(0x1ef)](_0x23992d,_0x271cfb){const _0x5988ba=_0x4da575,_0x433480=new this(_0x23992d,_0x271cfb);return await _0x433480[_0x5988ba(0x1f1)](),await _0x433480['ui'][_0x5988ba(0x1f4)](_0x23992d),await _0x433480[_0x5988ba(0x1e2)][_0x5988ba(0x1f4)](_0x433480[_0x5988ba(0x1f7)][_0x5988ba(0x1fc)](_0x5988ba(0x1e7))||''),_0x433480[_0x5988ba(0x1f3)](_0x5988ba(0x1e1)),_0x433480;}}
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
const
|
|
23
|
+
function _0x59f0(){const _0x2de6ad=['limiterElement','772zSwCJX','editor','name','ready','1795eRRSBq','viewportTopOffset','3082518cuZPHL','get','getRoot','addToolbar','render','isActive','element','detachDomRoot','bind','_toolbarConfig','36274799ixutec','35iJgjuU','258885rVLRNJ','view','fillFromConfig','restore','document','152CbRkBH','592rcjecl','replace','setEditableElement','viewportOffset','toolbar','isFocused','stickyPanel','attachDomRoot','rootName','focusTracker','_view','destroy','editable','init','componentFactory','_initToolbar','12370880xNzhsG','editing','fire','_elementReplacer','14PwCdUu','config','1740579szdGQo'];_0x59f0=function(){return _0x2de6ad;};return _0x59f0();}const _0x46f5d6=_0x35e3;function _0x35e3(_0x4ea253,_0x9cc179){const _0x59f096=_0x59f0();return _0x35e3=function(_0x35e386,_0x5e1c40){_0x35e386=_0x35e386-0x12e;let _0x51d5c1=_0x59f096[_0x35e386];return _0x51d5c1;},_0x35e3(_0x4ea253,_0x9cc179);}(function(_0x46bb6b,_0xf1e618){const _0x4eb17d=_0x35e3,_0x3bf6df=_0x46bb6b();while(!![]){try{const _0xef73a2=parseInt(_0x4eb17d(0x140))/0x1*(parseInt(_0x4eb17d(0x154))/0x2)+parseInt(_0x4eb17d(0x13a))/0x3+-parseInt(_0x4eb17d(0x13c))/0x4*(-parseInt(_0x4eb17d(0x14d))/0x5)+parseInt(_0x4eb17d(0x142))/0x6*(parseInt(_0x4eb17d(0x138))/0x7)+-parseInt(_0x4eb17d(0x153))/0x8*(-parseInt(_0x4eb17d(0x14e))/0x9)+parseInt(_0x4eb17d(0x134))/0xa+-parseInt(_0x4eb17d(0x14c))/0xb;if(_0xef73a2===_0xf1e618)break;else _0x3bf6df['push'](_0x3bf6df['shift']());}catch(_0x4e29f0){_0x3bf6df['push'](_0x3bf6df['shift']());}}}(_0x59f0,0x98e6c));import{EditorUI as _0x3766a6,normalizeToolbarConfig as _0x7833b7}from'ckeditor5/src/ui.js';import{ElementReplacer as _0x8f573e}from'ckeditor5/src/utils.js';export class RevisionViewerEditorUI extends _0x3766a6{[_0x46f5d6(0x12e)];[_0x46f5d6(0x14b)];[_0x46f5d6(0x137)];get[_0x46f5d6(0x14f)](){const _0x253120=_0x46f5d6;return this[_0x253120(0x12e)];}constructor(_0x5f5d8c,_0x217d65){const _0x2743f3=_0x46f5d6;super(_0x5f5d8c),this[_0x2743f3(0x12e)]=_0x217d65,this[_0x2743f3(0x14b)]=_0x7833b7(_0x5f5d8c[_0x2743f3(0x139)][_0x2743f3(0x143)](_0x2743f3(0x158))),this[_0x2743f3(0x137)]=new _0x8f573e();}get[_0x46f5d6(0x148)](){const _0x1a1284=_0x46f5d6;return this[_0x1a1284(0x14f)][_0x1a1284(0x148)];}[_0x46f5d6(0x131)](_0x3ae7a6){const _0x3abc73=_0x46f5d6,_0x15668c=this[_0x3abc73(0x13d)],_0x3a232a=this[_0x3abc73(0x14f)],_0xaeeb11=_0x15668c[_0x3abc73(0x135)][_0x3abc73(0x14f)],_0x25f339=_0x3a232a[_0x3abc73(0x130)],_0x3ec50c=_0xaeeb11[_0x3abc73(0x152)][_0x3abc73(0x144)]();_0x25f339[_0x3abc73(0x13e)]=_0x3ec50c[_0x3abc73(0x15c)],_0x3a232a[_0x3abc73(0x146)]();const _0x13628d=_0x25f339[_0x3abc73(0x148)];this[_0x3abc73(0x156)](_0x25f339[_0x3abc73(0x13e)],_0x13628d),_0x3a232a[_0x3abc73(0x130)][_0x3abc73(0x14a)](_0x3abc73(0x159))['to'](this[_0x3abc73(0x15d)]),_0xaeeb11[_0x3abc73(0x15b)](_0x13628d),this[_0x3abc73(0x137)][_0x3abc73(0x155)](_0x3ae7a6,this[_0x3abc73(0x148)]),this[_0x3abc73(0x133)](),this[_0x3abc73(0x136)](_0x3abc73(0x13f));}[_0x46f5d6(0x12f)](){const _0xe8b414=_0x46f5d6;super[_0xe8b414(0x12f)]();const _0x5dd4cd=this[_0xe8b414(0x14f)],_0x359df7=this[_0xe8b414(0x13d)][_0xe8b414(0x135)][_0xe8b414(0x14f)];this[_0xe8b414(0x137)][_0xe8b414(0x151)](),_0x359df7[_0xe8b414(0x149)](_0x5dd4cd[_0xe8b414(0x130)][_0xe8b414(0x13e)]),_0x5dd4cd[_0xe8b414(0x12f)]();}[_0x46f5d6(0x133)](){const _0x5e3ddd=_0x46f5d6,_0x1bee90=this[_0x5e3ddd(0x14f)];_0x1bee90[_0x5e3ddd(0x15a)][_0x5e3ddd(0x14a)](_0x5e3ddd(0x147))['to'](this[_0x5e3ddd(0x15d)],_0x5e3ddd(0x159)),_0x1bee90[_0x5e3ddd(0x15a)][_0x5e3ddd(0x13b)]=_0x1bee90[_0x5e3ddd(0x148)],_0x1bee90[_0x5e3ddd(0x15a)][_0x5e3ddd(0x14a)](_0x5e3ddd(0x141))['to'](this,_0x5e3ddd(0x157),({top:_0x59d1b7})=>_0x59d1b7),_0x1bee90[_0x5e3ddd(0x158)][_0x5e3ddd(0x150)](this[_0x5e3ddd(0x14b)],this[_0x5e3ddd(0x132)]),this[_0x5e3ddd(0x145)](_0x1bee90[_0x5e3ddd(0x158)]);}}
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
var
|
|
23
|
+
var _0x3509ac=_0x7bb7;function _0x7bb7(_0x46593b,_0x3a32cc){var _0x1e8340=_0x1e83();return _0x7bb7=function(_0x7bb7b9,_0x44f7d3){_0x7bb7b9=_0x7bb7b9-0x1bb;var _0x531c81=_0x1e8340[_0x7bb7b9];return _0x531c81;},_0x7bb7(_0x46593b,_0x3a32cc);}(function(_0x84ff49,_0x4b03fe){var _0x532d78=_0x7bb7,_0x54c319=_0x84ff49();while(!![]){try{var _0x5ba2a3=parseInt(_0x532d78(0x1c5))/0x1*(parseInt(_0x532d78(0x1c4))/0x2)+-parseInt(_0x532d78(0x1cf))/0x3+-parseInt(_0x532d78(0x1bf))/0x4*(-parseInt(_0x532d78(0x1c0))/0x5)+-parseInt(_0x532d78(0x1cb))/0x6+-parseInt(_0x532d78(0x1cc))/0x7+-parseInt(_0x532d78(0x1bd))/0x8*(parseInt(_0x532d78(0x1bc))/0x9)+parseInt(_0x532d78(0x1c9))/0xa*(parseInt(_0x532d78(0x1c2))/0xb);if(_0x5ba2a3===_0x4b03fe)break;else _0x54c319['push'](_0x54c319['shift']());}catch(_0x3ca6ce){_0x54c319['push'](_0x54c319['shift']());}}}(_0x1e83,0xb8494));function _0x1e83(){var _0x2d1d5f=['content','render','toolbar','20aIQMgV','top','3738858CgPJIb','1953735OjBwyr','add','editable','1914309gRJbWT','main','2007jcpFem','13968nDqauH','stickyPanel','125072NiOifJ','5xcUQuC','shouldToolbarGroupWhenFull','8878419wjcgaW','_editable','778DGuwKn','2671HPztWb'];_0x1e83=function(){return _0x2d1d5f;};return _0x1e83();}import{BoxedEditorUIView as _0x2effac,InlineEditableUIView as _0x50a41e,StickyPanelView as _0x3b8c3d,ToolbarView as _0x57a5c1}from'ckeditor5/src/ui.js';import'@ckeditor/ckeditor5-editor-classic/theme/classiceditor.css';export class RevisionViewerEditorUIView extends _0x2effac{[_0x3509ac(0x1c3)];[_0x3509ac(0x1be)];[_0x3509ac(0x1c8)];get[_0x3509ac(0x1ce)](){var _0x4930b1=_0x3509ac;return this[_0x4930b1(0x1c3)];}constructor(_0x38a7b1,_0x40938b,_0x5d1504={}){var _0x445bab=_0x3509ac;super(_0x38a7b1),this[_0x445bab(0x1be)]=new _0x3b8c3d(_0x38a7b1),this[_0x445bab(0x1c8)]=new _0x57a5c1(_0x38a7b1,{'shouldGroupWhenFull':_0x5d1504[_0x445bab(0x1c1)]}),this[_0x445bab(0x1c3)]=new _0x50a41e(_0x38a7b1,_0x40938b);}[_0x3509ac(0x1c7)](){var _0x1ff5d7=_0x3509ac;super[_0x1ff5d7(0x1c7)](),this[_0x1ff5d7(0x1be)][_0x1ff5d7(0x1c6)][_0x1ff5d7(0x1cd)](this[_0x1ff5d7(0x1c8)]),this[_0x1ff5d7(0x1ca)][_0x1ff5d7(0x1cd)](this[_0x1ff5d7(0x1be)]),this[_0x1ff5d7(0x1bb)][_0x1ff5d7(0x1cd)](this[_0x1ff5d7(0x1ce)]);}}
|
package/src/index.js
CHANGED
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
(function(
|
|
23
|
+
(function(_0x494952,_0x21d6cc){var _0x27603a=_0x2368,_0x1e28db=_0x494952();while(!![]){try{var _0x1fd053=-parseInt(_0x27603a(0x1af))/0x1*(-parseInt(_0x27603a(0x1aa))/0x2)+-parseInt(_0x27603a(0x1a8))/0x3*(-parseInt(_0x27603a(0x1ae))/0x4)+parseInt(_0x27603a(0x1a5))/0x5+-parseInt(_0x27603a(0x1a9))/0x6*(-parseInt(_0x27603a(0x1ac))/0x7)+-parseInt(_0x27603a(0x1ad))/0x8*(parseInt(_0x27603a(0x1ab))/0x9)+parseInt(_0x27603a(0x1b0))/0xa*(parseInt(_0x27603a(0x1a7))/0xb)+parseInt(_0x27603a(0x1a6))/0xc*(-parseInt(_0x27603a(0x1b1))/0xd);if(_0x1fd053===_0x21d6cc)break;else _0x1e28db['push'](_0x1e28db['shift']());}catch(_0x2826d6){_0x1e28db['push'](_0x1e28db['shift']());}}}(_0x4d57,0xf40dc));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';function _0x4d57(){var _0x5404d9=['22bntOEh','287055bVuvCz','734419FlleYL','160eInsOD','348VQNOhg','59539OocQkg','140tFXSew','13pkIKkA','8555985YerDlK','55809876BdIEGc','1205578GaemCG','67869jkcZKf','24Ynpmve'];_0x4d57=function(){return _0x5404d9;};return _0x4d57();}export{RevisionsSidebar}from'./ui/revisionssidebar/revisionssidebar.js';export{RevisionViewerUI}from'./ui/revisionviewer/revisionviewerui.js';export{RevisionViewerEditor}from'./editor/revisionviewereditor.js';function _0x2368(_0x2b7051,_0x38393d){var _0x4d5739=_0x4d57();return _0x2368=function(_0x236825,_0x4be6af){_0x236825=_0x236825-0x1a5;var _0x42de5b=_0x4d5739[_0x236825];return _0x42de5b;},_0x2368(_0x2b7051,_0x38393d);}import'./augmentation.js';
|
package/src/revision.js
CHANGED
|
@@ -20,5 +20,5 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
function
|
|
24
|
-
|
|
23
|
+
function _0x4dd5(_0x2ecb2a,_0x47a87e){const _0x3f4ff4=_0x3f4f();return _0x4dd5=function(_0x4dd57e,_0x37c57d){_0x4dd57e=_0x4dd57e-0x9a;let _0x4ba919=_0x3f4ff4[_0x4dd57e];return _0x4ba919;},_0x4dd5(_0x2ecb2a,_0x47a87e);}const _0x5ebd69=_0x4dd5;(function(_0x29ff7,_0x4b6a53){const _0x48b554=_0x4dd5,_0x452553=_0x29ff7();while(!![]){try{const _0x451b20=-parseInt(_0x48b554(0xb3))/0x1*(-parseInt(_0x48b554(0xa2))/0x2)+parseInt(_0x48b554(0xb0))/0x3*(parseInt(_0x48b554(0xa6))/0x4)+parseInt(_0x48b554(0xb6))/0x5+parseInt(_0x48b554(0xae))/0x6+parseInt(_0x48b554(0xaf))/0x7+-parseInt(_0x48b554(0xa5))/0x8+parseInt(_0x48b554(0xad))/0x9*(-parseInt(_0x48b554(0xaa))/0xa);if(_0x451b20===_0x4b6a53)break;else _0x452553['push'](_0x452553['shift']());}catch(_0x11c10b){_0x452553['push'](_0x452553['shift']());}}}(_0x3f4f,0x3e035));import{ObservableMixin as _0x4049cc,uid as _0x3b2097}from'ckeditor5/src/utils.js';import{cloneDeep as _0x414fd2,set as _0x4b166c,unset as _0x40c338}from'es-toolkit/compat';function _0x3f4f(){const _0x1018d0=['creator','13320oqhdzq','fire','_update','removeAttribute','createdAt','toJSON','toVersion','authors','set','110692KPVRhK','creatorId','setAttribute','2600216KQOaJo','4OHWkNr','attributes','model','map','1214530tVrwOJ','setName','name','45JIrYQH','2079546zmiPso','1566474AcnLVs','677514XKecym','diffData','fromVersion','7wnFsCb','authorsIds'];_0x3f4f=function(){return _0x1018d0;};return _0x3f4f();}export class Revision extends/* #__PURE__ -- @preserve */
|
|
24
|
+
_0x4049cc(){['id'];[_0x5ebd69(0xb5)];[_0x5ebd69(0xa0)];[_0x5ebd69(0xb1)];[_0x5ebd69(0x9f)];[_0x5ebd69(0xb2)];[_0x5ebd69(0xa8)];constructor(_0x19b7a2){const _0x43eacc=_0x5ebd69;super(),this['id']=_0x19b7a2['id']||_0x3b2097(),this[_0x43eacc(0xb5)]=_0x19b7a2[_0x43eacc(0xb5)]||null,this[_0x43eacc(0xa0)]=_0x19b7a2[_0x43eacc(0xa0)]||[],this[_0x43eacc(0xb1)]=_0x19b7a2[_0x43eacc(0xb1)]||null,this[_0x43eacc(0x9f)]=_0x19b7a2[_0x43eacc(0x9f)]||0x0,this[_0x43eacc(0xb2)]=_0x19b7a2[_0x43eacc(0xb2)]||0x0,this[_0x43eacc(0xa1)](_0x43eacc(0xac),_0x19b7a2[_0x43eacc(0xac)]||''),this[_0x43eacc(0xa1)](_0x43eacc(0x9d),_0x19b7a2[_0x43eacc(0x9d)]||new Date()),this[_0x43eacc(0xa1)](_0x43eacc(0xa7),_0x19b7a2[_0x43eacc(0xa7)]||{});}[_0x5ebd69(0xab)](_0x5ac73c){const _0x44f63a=_0x5ebd69;this[_0x44f63a(0x9b)]({'name':_0x5ac73c});}[_0x5ebd69(0xa4)](_0xede776,_0xa783f1){const _0x4cbd14=_0x5ebd69,_0x2268e4=_0x414fd2(this[_0x4cbd14(0xa7)]);_0x4b166c(_0x2268e4,_0xede776,_0xa783f1),this[_0x4cbd14(0x9b)]({'attributes':_0x2268e4});}[_0x5ebd69(0x9c)](_0x398030){const _0x2e35c4=_0x5ebd69,_0x14243f=_0x414fd2(this[_0x2e35c4(0xa7)]);_0x40c338(_0x14243f,_0x398030),this[_0x2e35c4(0x9b)]({'attributes':_0x14243f});}[_0x5ebd69(0x9b)](_0x31b918,_0x2c0fb7=!0x1){const _0x1c6d21=_0x5ebd69;let _0x58dcb6=!0x1;const _0x549231={'id':this['id']},_0x4da5a2=[_0x1c6d21(0xac),_0x1c6d21(0x9d),_0x1c6d21(0xb1),_0x1c6d21(0xa0),_0x1c6d21(0xa7),_0x1c6d21(0x9f),_0x1c6d21(0xb2),_0x1c6d21(0xa3)];for(const _0x33338a of _0x4da5a2){const _0xb302ed=_0x31b918[_0x33338a];void 0x0!==_0xb302ed&&_0xb302ed!==this[_0x33338a]&&(this[_0x33338a]=_0xb302ed,_0x549231[_0x33338a]=_0xb302ed,_0x58dcb6=!0x0);}_0x58dcb6&&(_0x549231[_0x1c6d21(0xa0)]&&(_0x549231[_0x1c6d21(0xb4)]=_0x549231[_0x1c6d21(0xa0)][_0x1c6d21(0xa9)](_0x4a1654=>_0x4a1654['id']),delete _0x549231[_0x1c6d21(0xa0)]),this[_0x1c6d21(0x9a)](_0x1c6d21(0x9b),_0x549231,_0x2c0fb7));}[_0x5ebd69(0x9e)](){const _0x467813=_0x5ebd69;return{'id':this['id'],'name':this[_0x467813(0xac)],'creatorId':this[_0x467813(0xb5)]?this[_0x467813(0xb5)]['id']:null,'authorsIds':this[_0x467813(0xa0)][_0x467813(0xa9)](_0x171d18=>_0x171d18['id']),'diffData':this[_0x467813(0xb1)],'createdAt':this[_0x467813(0x9d)],'attributes':this[_0x467813(0xa7)],'fromVersion':this[_0x467813(0xb2)],'toVersion':this[_0x467813(0x9f)]};}}
|
package/src/revisiondiff.js
CHANGED
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
const
|
|
23
|
+
const _0x21ecfd=_0x43a9;function _0x43a9(_0x3c992b,_0x579328){const _0xbd442e=_0xbd44();return _0x43a9=function(_0x43a963,_0x4d1ce8){_0x43a963=_0x43a963-0xfb;let _0x26736e=_0xbd442e[_0x43a963];return _0x26736e;},_0x43a9(_0x3c992b,_0x579328);}(function(_0x314933,_0x58c6f0){const _0x549f11=_0x43a9,_0x584a9f=_0x314933();while(!![]){try{const _0x425cac=parseInt(_0x549f11(0x104))/0x1+-parseInt(_0x549f11(0xfe))/0x2*(parseInt(_0x549f11(0x107))/0x3)+-parseInt(_0x549f11(0x101))/0x4*(-parseInt(_0x549f11(0x103))/0x5)+parseInt(_0x549f11(0x109))/0x6+-parseInt(_0x549f11(0x106))/0x7+-parseInt(_0x549f11(0xff))/0x8*(parseInt(_0x549f11(0x108))/0x9)+-parseInt(_0x549f11(0xfb))/0xa*(-parseInt(_0x549f11(0xfc))/0xb);if(_0x425cac===_0x58c6f0)break;else _0x584a9f['push'](_0x584a9f['shift']());}catch(_0xda94cb){_0x584a9f['push'](_0x584a9f['shift']());}}}(_0xbd44,0x42c51));import{Collection as _0x11db9c}from'ckeditor5/src/utils.js';export class RevisionDiff{[_0x21ecfd(0x10a)];[_0x21ecfd(0x100)];[_0x21ecfd(0x102)];constructor(_0x3f9a92,_0x5b0d0c){const _0x511a09=_0x21ecfd;this[_0x511a09(0x10a)]=_0x3f9a92,this[_0x511a09(0x100)]=_0x5b0d0c,this[_0x511a09(0x102)]=new _0x11db9c();}[_0x21ecfd(0x105)](_0x2647bc){const _0x3bec63=_0x21ecfd;for(const _0x2e6669 of _0x2647bc)this[_0x3bec63(0x102)][_0x3bec63(0xfd)](_0x2e6669);}}function _0xbd44(){const _0x591157=['newRevisionId','166530SUaJZy','11VmhiMP','add','200RpMtqk','1496MmjZAt','oldRevisionId','15420AoRHhR','changes','670gKQvAK','211626uFJeBf','_setChanges','3318336bizoNv','4320swvfaK','14913tGNBnQ','2739282SREgyi'];_0xbd44=function(){return _0x591157;};return _0xbd44();}
|
package/src/revisionhistory.js
CHANGED
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
const _0x48c748=_0x62bd;(function(_0x40b55f,_0x3215da){const _0x2f1903=_0x62bd,_0x503079=_0x40b55f();while(!![]){try{const _0x30b612=-parseInt(_0x2f1903(0x1dc))/0x1*(-parseInt(_0x2f1903(0x1f9))/0x2)+parseInt(_0x2f1903(0x1b2))/0x3*(parseInt(_0x2f1903(0x17c))/0x4)+-parseInt(_0x2f1903(0x20f))/0x5+parseInt(_0x2f1903(0x1f6))/0x6*(parseInt(_0x2f1903(0x1c0))/0x7)+parseInt(_0x2f1903(0x18f))/0x8+parseInt(_0x2f1903(0x1b5))/0x9+-parseInt(_0x2f1903(0x1fb))/0xa;if(_0x30b612===_0x3215da)break;else _0x503079['push'](_0x503079['shift']());}catch(_0x6ed30c){_0x503079['push'](_0x503079['shift']());}}}(_0x8679,0xd7c9b));import{Plugin as _0x59f955}from'ckeditor5/src/core.js';import{CKEditorError as _0x552b94,uid as _0x599096}from'ckeditor5/src/utils.js';import{RevisionTracker as _0x4c2eb1}from'./revisiontracker.js';import{RevisionHistoryUI as _0x188537}from'./ui/revisionhistory/revisionhistoryui.js';import{RevisionViewer as _0x5b173d}from'./revisionviewer.js';import{RevisionViewerUI as _0x4e3473}from'./ui/revisionviewer/revisionviewerui.js';import{RevisionsSidebar as _0x1cbbed}from'./ui/revisionssidebar/revisionssidebar.js';function _0x8679(){const _0x557ca4=['indexOf','changesNavigation','from','setSelection','display','_recalculatePageBreaks','9209792XFdikq','markers','document','disableReadOnlyMode','isAnonymous','DocumentOutlineUI','isEnabled','save','pluginName','requires','revisionHistory.closeRevisionViewerCallback','define','block','hide','commands','Dialog','getRevisionRootsAttributes','adapter','enableReadOnlyMode','restoreRevision','_closeRevisionViewer','addRevisionData','plugins','config','error','refreshVisibility','create','isOpen','showRevisionViewerCallback','uiLanguage','catch','toJSON','_update','revisionHistory.requireRevisionName','RevisionsRepository','27948NyCIUt','revisionHistory','_restoreRevision','757440WWeTpL','fromVersion','destroy','get','_enhanceShowRevisionViewerCallback','revisionHistory.viewerEditorElement','isAttached','rootName','_enhanceCloseRevisionViewerCallback','repository','createdAt','8119769vkpzCA','selection','toVersion','$graveyard','PaginationLookup','isReadOnly','parse','locale','revisionHistory.viewerContainer','Restored','bind','includes','isOfficialPlugin','restrictedEditingException','then','Autosave','enqueueChange','result','createRangeIn','DocumentOutline','name','addRoot','fromCharCode','init','_showRevisionViewer','RevisionHistory','revisionHistory.showRevisionViewerCallback','set','10zTDmxV','Annotations','setAttribute','model','isRevisionViewerOpen','RevisionTracker','getMarkersGroup','_viewerEditor','getRevision','_getRevisionViewerEditorConfig','getAttributeKeys','toLocaleDateString','addUser','getRevisionDocumentData','roots','revisionHistory.restoreRevisionCallback','removeMarker','getUser','isPremiumPlugin','numeric','element','removeAttribute','detachRoot','removeSelectionAttribute','refreshPositioning','data','6ICgxbq','RevisionViewer','isReady','216702akDFjt','closeRevisionViewerCallback','36089230CWlVvW','remove','revision-history-viewer-opened','RestrictedEditingMode','loadRevisionData','push','style','toLocaleTimeString','saveRevision','end','getRoot','map','join','creator','long','RevisionViewerIntegration','translations','exitToEditing','Users','insert','2522895hQoaZM','view','change','RevisionHistoryUtils','lazyRoots','652OoTWlU','revisionHistory.editorContainer','RevisionHistoryUI','editor','users','revision-history-missing-configuration','_cleanUp','update','keys','toolbar','getRevisions','none','has'];_0x8679=function(){return _0x557ca4;};return _0x8679();}import{RevisionViewerEditor as _0x3b735d}from'./editor/revisionviewereditor.js';import{getTranslation as _0x5da0f6}from'./utils/common-translations.js';function _0x62bd(_0x67be7c,_0x129f08){const _0x8679bc=_0x8679();return _0x62bd=function(_0x62bd37,_0x1f6570){_0x62bd37=_0x62bd37-0x17c;let _0x32a852=_0x8679bc[_0x62bd37];return _0x32a852;},_0x62bd(_0x67be7c,_0x129f08);}import{sanitizeEditorConfig as _0x357a23}from'ckeditor5-collaboration/src/collaboration-core.js';const d=[_0x48c748(0x17e),_0x48c748(0x1fe)];export class RevisionViewerIntegration extends _0x59f955{[_0x48c748(0x1d1)];static get[_0x48c748(0x197)](){const _0x412fb1=_0x48c748;return _0x412fb1(0x20a);}static get[_0x48c748(0x1cc)](){return!0x0;}static get[_0x48c748(0x1ee)](){return!0x0;}constructor(_0x5bd868){const _0xb73fbb=_0x48c748;function _0x4e155f(_0x3f8787){const _0x22e96f=_0x62bd;return _0x3f8787[_0x22e96f(0x206)](_0x19fbc5=>String[_0x22e96f(0x1d6)](_0x19fbc5))[_0x22e96f(0x207)]('');}super(_0x5bd868),this[_0xb73fbb(0x1d1)]=_0xb73fbb(0x204),_0x5bd868[_0x4e155f([0x65,0x64,0x69,0x74,0x69,0x6e,0x67])][_0x4e155f([0x76,0x69,0x65,0x77])][_0x4e155f([0x5f,0x6f,0x76,0x65,0x72,0x6c,0x61,0x79,0x4d,0x6f,0x64,0x65,0x48,0x69,0x6e,0x74])]=_0x4e155f([0x61,0x75,0x74,0x6f]),_0x5bd868[_0x4e155f([0x5f,0x73,0x65,0x6e,0x64,0x55,0x73,0x61,0x67,0x65,0x52,0x65,0x71,0x75,0x65,0x73,0x74])]=()=>window[_0x4e155f([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65])][_0x4e155f([0x72,0x65,0x73,0x6f,0x6c,0x76,0x65])]({[_0x4e155f([0x73,0x74,0x61,0x74,0x75,0x73])]:_0x4e155f([0x6f,0x6b])});}}export class RevisionHistory extends _0x59f955{[_0x48c748(0x1e3)];static get[_0x48c748(0x197)](){const _0x55ba24=_0x48c748;return _0x55ba24(0x1d9);}static get[_0x48c748(0x1cc)](){return!0x0;}static get[_0x48c748(0x1ee)](){return!0x0;}static get[_0x48c748(0x198)](){return[_0x4c2eb1,_0x188537];}constructor(_0x1ff4ca){const _0xb0eaaf=_0x48c748;if(super(_0x1ff4ca),!this[_0xb0eaaf(0x17f)][_0xb0eaaf(0x1a6)][_0xb0eaaf(0x1b8)](_0xb0eaaf(0x1b3)))throw new _0x552b94(_0xb0eaaf(0x181),this);this[_0xb0eaaf(0x1e3)]=null,this[_0xb0eaaf(0x1db)](_0xb0eaaf(0x1e0),!0x1),this[_0xb0eaaf(0x17f)][_0xb0eaaf(0x1a6)][_0xb0eaaf(0x19a)](_0xb0eaaf(0x1da),_0x2900aa=>this[_0xb0eaaf(0x1d8)]({..._0x2900aa,'translations':this[_0xb0eaaf(0x17f)][_0xb0eaaf(0x1c7)][_0xb0eaaf(0x20b)]})),this[_0xb0eaaf(0x17f)][_0xb0eaaf(0x1a6)][_0xb0eaaf(0x19a)](_0xb0eaaf(0x199),_0x27fd8c=>this[_0xb0eaaf(0x1a3)](_0x27fd8c)),this[_0xb0eaaf(0x17f)][_0xb0eaaf(0x1a6)][_0xb0eaaf(0x19a)](_0xb0eaaf(0x1eb),_0x225dbb=>this[_0xb0eaaf(0x1b4)](_0x225dbb)),this[_0xb0eaaf(0x17f)][_0xb0eaaf(0x1a6)][_0xb0eaaf(0x19a)](_0xb0eaaf(0x1b0),!0x1),this[_0xb0eaaf(0x1b9)](),this[_0xb0eaaf(0x1bd)]();}set[_0x48c748(0x1a0)](_0x5ba434){const _0x573417=_0x48c748;this[_0x573417(0x17f)][_0x573417(0x1a5)][_0x573417(0x1b8)](_0x573417(0x1e1))[_0x573417(0x1a0)]=_0x5ba434;}get[_0x48c748(0x1a0)](){const _0x399583=_0x48c748;return this[_0x399583(0x17f)][_0x399583(0x1a5)][_0x399583(0x1b8)](_0x399583(0x1e1))[_0x399583(0x1a0)];}[_0x48c748(0x1a4)](_0x5286d1){const _0x4110f8=_0x48c748;return this[_0x4110f8(0x17f)][_0x4110f8(0x1a5)][_0x4110f8(0x1b8)](_0x4110f8(0x1e1))[_0x4110f8(0x1a4)](_0x5286d1);}[_0x48c748(0x1e4)](_0x3e5f56){const _0x58931a=_0x48c748;return this[_0x58931a(0x17f)][_0x58931a(0x1a5)][_0x58931a(0x1b8)](_0x58931a(0x1b1))[_0x58931a(0x1e4)](_0x3e5f56);}[_0x48c748(0x186)](_0x2c40c7){const _0x3fd4d2=_0x48c748;return this[_0x3fd4d2(0x17f)][_0x3fd4d2(0x1a5)][_0x3fd4d2(0x1b8)](_0x3fd4d2(0x1b1))[_0x3fd4d2(0x186)](_0x2c40c7||{'toJSON':!0x1});}[_0x48c748(0x1e5)](){const _0x1aa9f8=_0x48c748,_0x303f1e=this[_0x1aa9f8(0x17f)],_0x5c6f08=_0x357a23(_0x303f1e,d),_0xb729af=_0x303f1e[_0x1aa9f8(0x1a5)][_0x1aa9f8(0x1b8)](_0x1aa9f8(0x1e1)),_0x80ab56=_0x303f1e[_0x1aa9f8(0x1a5)][_0x1aa9f8(0x1b8)](_0x1aa9f8(0x20d))[_0x1aa9f8(0x180)];return _0x5c6f08[_0x1aa9f8(0x185)]=[_0x1aa9f8(0x20c),_0x1aa9f8(0x1a2),_0x1aa9f8(0x18a)],delete _0x5c6f08[_0x1aa9f8(0x213)],(_0x5c6f08[_0x1aa9f8(0x1a5)][_0x1aa9f8(0x200)](RevisionViewerIntegration,_0x5b173d,_0x4e3473,class extends _0x59f955{static get[_0x1aa9f8(0x198)](){const _0x1c1d4a=_0x1aa9f8;return[_0x5b173d,_0x1c1d4a(0x20d)];}[_0x1aa9f8(0x1d7)](){const _0x3629eb=_0x1aa9f8,_0x1d80bb=this[_0x3629eb(0x17f)][_0x3629eb(0x1a5)][_0x3629eb(0x1b8)](_0x3629eb(0x20d));for(const _0x590f84 of _0x80ab56)_0x590f84[_0x3629eb(0x193)]||_0x1d80bb[_0x3629eb(0x1ed)](_0x590f84['id'])||_0x1d80bb[_0x3629eb(0x1e8)](_0x590f84);const _0x573f48=_0xb729af[_0x3629eb(0x1be)][_0x3629eb(0x186)]();let _0xea919a=null;const _0x5d30e5=this[_0x3629eb(0x17f)][_0x3629eb(0x1a5)][_0x3629eb(0x1b8)](_0x3629eb(0x1f7));_0x5d30e5[_0x3629eb(0x1a0)]=_0xb729af[_0x3629eb(0x1a0)],_0x5d30e5[_0x3629eb(0x1ca)](_0x3629eb(0x195))['to'](_0xb729af),this[_0x3629eb(0x17f)][_0x3629eb(0x19d)][_0x3629eb(0x1b8)](_0x3629eb(0x1a2))[_0x3629eb(0x1ca)](_0x3629eb(0x195))['to'](_0x303f1e,_0x3629eb(0x1c5),_0x1b3871=>!_0x1b3871);for(const _0x5d64ae of _0x573f48){const _0x330b29=null===_0x5d64ae[_0x3629eb(0x208)];if(_0x330b29&&_0x5d64ae[_0x3629eb(0x1c2)]===_0x5d64ae[_0x3629eb(0x1b6)])continue;const _0x26ef51=_0x5d64ae[_0x3629eb(0x1ae)]();_0x5d30e5[_0x3629eb(0x1a4)](_0x26ef51,(_0x240cbf,_0x5d6a6b,_0x7d1b4f)=>{const _0x345e91=_0x3629eb;if(_0x330b29){if(_0xea919a)_0xea919a[_0x345e91(0x1af)](_0x240cbf,_0x5d6a6b);else{if(!_0x5d6a6b){const _0x124ac6=_0x7d1b4f[_0x345e91(0x1ae)]();_0x124ac6['id']=_0x599096(),_0xb729af[_0x345e91(0x203)](_0x124ac6,_0x7d1b4f[_0x345e91(0x1c2)])[_0x345e91(0x1ce)](_0x469942=>{_0xea919a=_0x469942;});}}}else _0x5d64ae[_0x345e91(0x1af)](_0x240cbf,_0x5d6a6b);});}}},_0x1cbbed),_0x5c6f08);}[_0x48c748(0x1b9)](){const _0x51b199=_0x48c748,_0x3d503d=this[_0x51b199(0x17f)][_0x51b199(0x1a6)][_0x51b199(0x1b8)](_0x51b199(0x1b3))[_0x51b199(0x1ab)];this[_0x51b199(0x17f)][_0x51b199(0x1a6)][_0x51b199(0x1db)](_0x51b199(0x1da),async()=>{const _0xefca21=_0x51b199;this[_0xefca21(0x17f)][_0xefca21(0x1a1)](_0xefca21(0x1fd));const _0x53f7f7=this[_0xefca21(0x17f)][_0xefca21(0x1a5)][_0xefca21(0x1b8)](_0xefca21(0x1e1));if(this[_0xefca21(0x17f)][_0xefca21(0x1a5)][_0xefca21(0x188)](_0xefca21(0x1cf))){const _0x3ea66b=this[_0xefca21(0x17f)][_0xefca21(0x1a5)][_0xefca21(0x1b8)](_0xefca21(0x1cf));await _0x3ea66b[_0xefca21(0x196)]();}else await _0x53f7f7[_0xefca21(0x183)]();if(this[_0xefca21(0x17f)][_0xefca21(0x1a5)][_0xefca21(0x188)](_0xefca21(0x1c4))&&this[_0xefca21(0x17f)][_0xefca21(0x1a5)][_0xefca21(0x1b8)](_0xefca21(0x1c4))[_0xefca21(0x18e)](),this[_0xefca21(0x17f)][_0xefca21(0x1a5)][_0xefca21(0x188)](_0xefca21(0x19e))){const _0x360892=this[_0xefca21(0x17f)][_0xefca21(0x1a5)][_0xefca21(0x1b8)](_0xefca21(0x19e));_0x360892[_0xefca21(0x1aa)]&&_0x360892[_0xefca21(0x19c)]();}const _0x1b44ab=this[_0xefca21(0x1e5)]();return _0x3d503d(_0x1b44ab)[_0xefca21(0x1ce)](_0x4f4a6f=>{const _0x250399=_0xefca21;return(this[_0x250399(0x1e3)]=_0x4f4a6f,this[_0x250399(0x17f)][_0x250399(0x1a5)][_0x250399(0x188)](_0x250399(0x1dd)))&&this[_0x250399(0x17f)][_0x250399(0x1a5)][_0x250399(0x1b8)](_0x250399(0x1dd))[_0x250399(0x1a8)](),(this[_0x250399(0x17f)][_0x250399(0x1a5)][_0x250399(0x188)](_0x250399(0x1d3))&&(this[_0x250399(0x17f)][_0x250399(0x1a5)][_0x250399(0x1b8)](_0x250399(0x194))[_0x250399(0x210)][_0x250399(0x1f0)][_0x250399(0x201)][_0x250399(0x18d)]=_0x250399(0x187)),_0x4f4a6f);})[_0xefca21(0x1ad)](_0x4c56bd=>(console[_0xefca21(0x1a7)](_0x4c56bd),this[_0xefca21(0x17f)][_0xefca21(0x192)](_0xefca21(0x1fd)),null));});}[_0x48c748(0x1bd)](){const _0x553e7c=_0x48c748,_0x4f9085=this[_0x553e7c(0x17f)][_0x553e7c(0x1a6)][_0x553e7c(0x1b8)](_0x553e7c(0x1b3))[_0x553e7c(0x1fa)];this[_0x553e7c(0x17f)][_0x553e7c(0x1a6)][_0x553e7c(0x1db)](_0x553e7c(0x199),()=>(this[_0x553e7c(0x17f)][_0x553e7c(0x1a5)][_0x553e7c(0x188)](_0x553e7c(0x1c4))&&this[_0x553e7c(0x17f)][_0x553e7c(0x1a5)][_0x553e7c(0x1b8)](_0x553e7c(0x1c4))[_0x553e7c(0x18e)](),this[_0x553e7c(0x17f)][_0x553e7c(0x1a5)][_0x553e7c(0x188)](_0x553e7c(0x1d3))&&(this[_0x553e7c(0x17f)][_0x553e7c(0x1a5)][_0x553e7c(0x1b8)](_0x553e7c(0x194))[_0x553e7c(0x210)][_0x553e7c(0x1f0)][_0x553e7c(0x201)][_0x553e7c(0x18d)]=''),this[_0x553e7c(0x1e3)][_0x553e7c(0x1a5)][_0x553e7c(0x1b8)](_0x553e7c(0x1f7))[_0x553e7c(0x182)](),_0x4f9085(this[_0x553e7c(0x1e3)])[_0x553e7c(0x1ce)](()=>{const _0x59da5e=_0x553e7c;if(this[_0x59da5e(0x17f)][_0x59da5e(0x192)](_0x59da5e(0x1fd)),this[_0x59da5e(0x1e3)]=null,this[_0x59da5e(0x17f)][_0x59da5e(0x1a5)][_0x59da5e(0x188)](_0x59da5e(0x1dd))){const _0x1cd0e2=this[_0x59da5e(0x17f)][_0x59da5e(0x1a5)][_0x59da5e(0x1b8)](_0x59da5e(0x1dd));_0x1cd0e2[_0x59da5e(0x1a8)](),_0x1cd0e2[_0x59da5e(0x1f4)]();}})));}[_0x48c748(0x1d8)](_0x5b0898){const _0x185150=_0x48c748,_0x18cc9a=this[_0x185150(0x17f)][_0x185150(0x1a6)][_0x185150(0x1b8)](_0x185150(0x17d)),_0x5e73e8=this[_0x185150(0x17f)][_0x185150(0x1a6)][_0x185150(0x1b8)](_0x185150(0x1c8)),_0x388659=this[_0x185150(0x17f)][_0x185150(0x1a6)][_0x185150(0x1b8)](_0x185150(0x1ba));return _0x3b735d[_0x185150(0x1a9)](_0x388659,_0x5b0898)[_0x185150(0x1ce)](_0x4097be=>(_0x5e73e8[_0x185150(0x201)][_0x185150(0x18d)]=_0x185150(0x19b),_0x18cc9a[_0x185150(0x201)][_0x185150(0x18d)]=_0x185150(0x187),this[_0x185150(0x1e0)]=!0x0,_0x4097be));}[_0x48c748(0x1a3)](_0x105ef4){const _0x35f8a5=_0x48c748,_0xfeb3c7=this[_0x35f8a5(0x17f)][_0x35f8a5(0x1a6)][_0x35f8a5(0x1b8)](_0x35f8a5(0x17d));return this[_0x35f8a5(0x17f)][_0x35f8a5(0x1a6)][_0x35f8a5(0x1b8)](_0x35f8a5(0x1c8))[_0x35f8a5(0x201)][_0x35f8a5(0x18d)]=_0x35f8a5(0x187),_0xfeb3c7[_0x35f8a5(0x201)][_0x35f8a5(0x18d)]='',this[_0x35f8a5(0x1e0)]=!0x1,_0x105ef4[_0x35f8a5(0x1b7)]();}async[_0x48c748(0x1b4)](_0x5e2c48){const _0x254398=_0x48c748,_0x5f2849=this[_0x254398(0x17f)],_0x1c5cdf=this[_0x254398(0x1e3)][_0x254398(0x1a5)][_0x254398(0x1b8)](_0x254398(0x1f7)),_0x1cc9a4=_0x5f2849[_0x254398(0x1a5)][_0x254398(0x1b8)](_0x254398(0x1e1)),_0x11fe39=_0x5f2849[_0x254398(0x1a5)][_0x254398(0x1b8)](_0x254398(0x212)),_0x1c42e8=_0x1c5cdf[_0x254398(0x1be)][_0x254398(0x1e4)](_0x5e2c48);let _0x27500d,_0x3da71e,_0x2a61a3;try{await _0x11fe39[_0x254398(0x1ff)](_0x1c42e8,this[_0x254398(0x1a0)]),_0x27500d=_0x11fe39[_0x254398(0x1e9)](_0x1c42e8),_0x3da71e=_0x11fe39[_0x254398(0x19f)](_0x1c42e8);}catch(_0x1b595b){return void console[_0x254398(0x1a7)](_0x1b595b);}_0x5f2849[_0x254398(0x1df)][_0x254398(0x211)](_0x2aa94e=>{const _0x2b7745=_0x254398;for(const _0x34e291 of Array[_0x2b7745(0x18b)](_0x5f2849[_0x2b7745(0x1df)][_0x2b7745(0x190)][_0x2b7745(0x1e2)](_0x2b7745(0x1cd))))_0x2aa94e[_0x2b7745(0x1ec)](_0x34e291);}),_0x1c5cdf[_0x254398(0x1f8)]=!0x1,_0x5f2849[_0x254398(0x1df)][_0x254398(0x1d0)](_0x48143b=>{const _0x427095=_0x254398;_0x48143b[_0x427095(0x18c)](null),_0x48143b[_0x427095(0x1f3)](_0x5f2849[_0x427095(0x1df)][_0x427095(0x191)][_0x427095(0x1c1)][_0x427095(0x1e6)]());const _0x53adb2=Object[_0x427095(0x184)](_0x27500d);for(const _0x54adf6 of _0x5f2849[_0x427095(0x1df)][_0x427095(0x191)][_0x427095(0x1ea)])_0x427095(0x1c3)!=_0x54adf6[_0x427095(0x1bc)]&&_0x54adf6[_0x427095(0x1bb)]()&&!_0x53adb2[_0x427095(0x1cb)](_0x54adf6[_0x427095(0x1bc)])&&_0x48143b[_0x427095(0x1f2)](_0x54adf6);for(const _0x34eecc of _0x53adb2){let _0x132aa9=_0x5f2849[_0x427095(0x1df)][_0x427095(0x191)][_0x427095(0x205)](_0x34eecc);_0x132aa9&&_0x132aa9[_0x427095(0x1bb)]()||(_0x132aa9=_0x48143b[_0x427095(0x1d5)](_0x34eecc));const _0x46465f=_0x3da71e[_0x34eecc],_0x16b521=Object[_0x427095(0x184)](_0x46465f),_0x1837c4=_0x27500d[_0x34eecc];for(const _0x3b0ec2 of _0x132aa9[_0x427095(0x1e6)]())_0x16b521[_0x427095(0x1cb)](_0x3b0ec2)||_0x48143b[_0x427095(0x1f1)](_0x3b0ec2,_0x132aa9);for(const _0x1c15f0 of _0x16b521)_0x48143b[_0x427095(0x1de)](_0x1c15f0,_0x3da71e[_0x34eecc][_0x1c15f0],_0x132aa9);_0x48143b[_0x427095(0x1fc)](_0x48143b[_0x427095(0x1d2)](_0x132aa9)),_0x48143b[_0x427095(0x20e)](_0x5f2849[_0x427095(0x1f5)][_0x427095(0x1c6)](_0x1837c4,_0x132aa9),_0x132aa9,0x0);}});const _0x421b7c=_0x5da0f6(_0x5f2849[_0x254398(0x1c7)],_0x254398(0x1c9));if(_0x1c42e8[_0x254398(0x1d4)])_0x2a61a3=-0x1==_0x1c42e8[_0x254398(0x1d4)][_0x254398(0x189)](_0x421b7c)?_0x421b7c+':\x20'+_0x1c42e8[_0x254398(0x1d4)]:_0x1c42e8[_0x254398(0x1d4)];else _0x2a61a3=_0x421b7c+':\x20'+(_0x1c42e8[_0x254398(0x1bf)][_0x254398(0x1e7)](_0x5f2849[_0x254398(0x1c7)][_0x254398(0x1ac)],{'month':_0x254398(0x209),'day':_0x254398(0x1ef)})+',\x20'+_0x1c42e8[_0x254398(0x1bf)][_0x254398(0x202)](_0x5f2849[_0x254398(0x1c7)][_0x254398(0x1ac)],{'hour':_0x254398(0x1ef),'minute':_0x254398(0x1ef)}));return await _0x1cc9a4[_0x254398(0x203)]({'name':_0x2a61a3}),_0x1c5cdf[_0x254398(0x1f8)]=!0x0,_0x5f2849[_0x254398(0x1a6)][_0x254398(0x1b8)](_0x254398(0x1b3))[_0x254398(0x1fa)]();}}
|
|
23
|
+
const _0x16865b=_0x49b2;function _0x349e(){const _0x161770=['then','repository','RevisionHistory','removeAttribute','isEnabled','detachRoot','numeric','2952nSBGTi','getMarkersGroup','addRoot','RevisionsRepository','get','_cleanUp','restoreRevision','rootName','getRevision','display','isOfficialPlugin','refreshVisibility','changesNavigation','169985YBZcai','insert','bind','update','getUser','refreshPositioning','create','42fmOjql','isRevisionViewerOpen','Users','showRevisionViewerCallback','end','createRangeIn','pluginName','fromCharCode','setAttribute','$graveyard','map','toVersion','view','getRevisionDocumentData','define','catch','createdAt','error','enqueueChange','_update','PaginationLookup','revisionHistory.closeRevisionViewerCallback','Restored','saveRevision','from','none','getRoot','toLocaleDateString','isPremiumPlugin','_recalculatePageBreaks','set','init','getRevisionRootsAttributes','isReady','adapter','DocumentOutline','fromVersion','RevisionViewerIntegration','1164308NNHLBs','RevisionHistoryUtils','includes','exitToEditing','revisionHistory.showRevisionViewerCallback','long','closeRevisionViewerCallback','_enhanceShowRevisionViewerCallback','enableReadOnlyMode','data','lazyRoots','toLocaleTimeString','revisionHistory','addRevisionData','revision-history-missing-configuration','isAnonymous','toolbar','save','isReadOnly','editor','model','607455UljwqC','237864iGDGyR','markers','RevisionViewer','has','document','RevisionTracker','_restoreRevision','isOpen','DocumentOutlineUI','hide','RevisionHistoryUI','join','style','revisionHistory.editorContainer','change','_viewerEditor','loadRevisionData','revisionHistory.requireRevisionName','isAttached','block','locale','commands','element','_getRevisionViewerEditorConfig','Dialog','setSelection','uiLanguage','requires','removeMarker','_closeRevisionViewer','Annotations','toJSON','restrictedEditingException','result','push','1413220AyoRCA','config','addUser','revisionHistory.viewerEditorElement','remove','plugins','selection','destroy','name','revision-history-viewer-opened','parse','revisionHistory.viewerContainer','indexOf','getAttributeKeys','removeSelectionAttribute','RestrictedEditingMode','459312haXuYW','_enhanceCloseRevisionViewerCallback','_showRevisionViewer','revisionHistory.restoreRevisionCallback','getRevisions','roots','keys','disableReadOnlyMode','4176ORffvq','users','creator','Autosave','translations'];_0x349e=function(){return _0x161770;};return _0x349e();}(function(_0x1693d7,_0x2dea9f){const _0x31d82b=_0x49b2,_0x47afc6=_0x1693d7();while(!![]){try{const _0x32ac57=parseInt(_0x31d82b(0xd5))/0x1+-parseInt(_0x31d82b(0x102))/0x2+parseInt(_0x31d82b(0x117))/0x3+-parseInt(_0x31d82b(0x14b))/0x4+parseInt(_0x31d82b(0x13b))/0x5+-parseInt(_0x31d82b(0x118))/0x6*(-parseInt(_0x31d82b(0xdc))/0x7)+-parseInt(_0x31d82b(0xc8))/0x8*(-parseInt(_0x31d82b(0x153))/0x9);if(_0x32ac57===_0x2dea9f)break;else _0x47afc6['push'](_0x47afc6['shift']());}catch(_0xa004bd){_0x47afc6['push'](_0x47afc6['shift']());}}}(_0x349e,0x59a6c));import{Plugin as _0x3b2d58}from'ckeditor5/src/core.js';import{CKEditorError as _0x10d421,uid as _0xbbf1fb}from'ckeditor5/src/utils.js';import{RevisionTracker as _0x9288c0}from'./revisiontracker.js';import{RevisionHistoryUI as _0x35d004}from'./ui/revisionhistory/revisionhistoryui.js';import{RevisionViewer as _0x338788}from'./revisionviewer.js';import{RevisionViewerUI as _0x1ca62f}from'./ui/revisionviewer/revisionviewerui.js';import{RevisionsSidebar as _0x43e723}from'./ui/revisionssidebar/revisionssidebar.js';function _0x49b2(_0x4eec59,_0x450a16){const _0x349ed1=_0x349e();return _0x49b2=function(_0x49b2cc,_0x11b321){_0x49b2cc=_0x49b2cc-0xc2;let _0x11cfa1=_0x349ed1[_0x49b2cc];return _0x11cfa1;},_0x49b2(_0x4eec59,_0x450a16);}import{RevisionViewerEditor as _0x942b29}from'./editor/revisionviewereditor.js';import{getTranslation as _0x1d9251}from'./utils/common-translations.js';import{sanitizeEditorConfig as _0x231465}from'ckeditor5-collaboration/src/collaboration-core.js';const d=[_0x16865b(0x122),_0x16865b(0x14a)];export class RevisionViewerIntegration extends _0x3b2d58{[_0x16865b(0x139)];static get[_0x16865b(0xe2)](){const _0x58a76a=_0x16865b;return _0x58a76a(0x101);}static get[_0x16865b(0xd2)](){return!0x0;}static get[_0x16865b(0xf8)](){return!0x0;}constructor(_0x387738){const _0x19ebf6=_0x16865b;function _0x2c1c98(_0x10c240){const _0x41867d=_0x49b2;return _0x10c240[_0x41867d(0xe6)](_0x3909af=>String[_0x41867d(0xe3)](_0x3909af))[_0x41867d(0x123)]('');}super(_0x387738),this[_0x19ebf6(0x139)]=_0x19ebf6(0xe0),_0x387738[_0x2c1c98([0x65,0x64,0x69,0x74,0x69,0x6e,0x67])][_0x2c1c98([0x76,0x69,0x65,0x77])][_0x2c1c98([0x5f,0x6f,0x76,0x65,0x72,0x6c,0x61,0x79,0x4d,0x6f,0x64,0x65,0x48,0x69,0x6e,0x74])]=_0x2c1c98([0x61,0x75,0x74,0x6f]),_0x387738[_0x2c1c98([0x5f,0x73,0x65,0x6e,0x64,0x55,0x73,0x61,0x67,0x65,0x52,0x65,0x71,0x75,0x65,0x73,0x74])]=()=>window[_0x2c1c98([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65])][_0x2c1c98([0x72,0x65,0x73,0x6f,0x6c,0x76,0x65])]({[_0x2c1c98([0x73,0x74,0x61,0x74,0x75,0x73])]:_0x2c1c98([0x6f,0x6b])});}}export class RevisionHistory extends _0x3b2d58{[_0x16865b(0x127)];static get[_0x16865b(0xe2)](){const _0x1c5ae2=_0x16865b;return _0x1c5ae2(0xc3);}static get[_0x16865b(0xd2)](){return!0x0;}static get[_0x16865b(0xf8)](){return!0x0;}static get[_0x16865b(0x133)](){return[_0x9288c0,_0x35d004];}constructor(_0x2c0e4a){const _0x4fc13a=_0x16865b;if(super(_0x2c0e4a),!this[_0x4fc13a(0x115)][_0x4fc13a(0x13c)][_0x4fc13a(0xcc)](_0x4fc13a(0x10e)))throw new _0x10d421(_0x4fc13a(0x110),this);this[_0x4fc13a(0x127)]=null,this[_0x4fc13a(0xfa)](_0x4fc13a(0xdd),!0x1),this[_0x4fc13a(0x115)][_0x4fc13a(0x13c)][_0x4fc13a(0xea)](_0x4fc13a(0x106),_0x121a57=>this[_0x4fc13a(0x14d)]({..._0x121a57,'translations':this[_0x4fc13a(0x115)][_0x4fc13a(0x12c)][_0x4fc13a(0x157)]})),this[_0x4fc13a(0x115)][_0x4fc13a(0x13c)][_0x4fc13a(0xea)](_0x4fc13a(0xf1),_0x107f0e=>this[_0x4fc13a(0x135)](_0x107f0e)),this[_0x4fc13a(0x115)][_0x4fc13a(0x13c)][_0x4fc13a(0xea)](_0x4fc13a(0x14e),_0x3934ed=>this[_0x4fc13a(0x11e)](_0x3934ed)),this[_0x4fc13a(0x115)][_0x4fc13a(0x13c)][_0x4fc13a(0xea)](_0x4fc13a(0x129),!0x1),this[_0x4fc13a(0x109)](),this[_0x4fc13a(0x14c)]();}set[_0x16865b(0xfe)](_0x75553b){const _0x10359d=_0x16865b;this[_0x10359d(0x115)][_0x10359d(0x140)][_0x10359d(0xcc)](_0x10359d(0x11d))[_0x10359d(0xfe)]=_0x75553b;}get[_0x16865b(0xfe)](){const _0x117f92=_0x16865b;return this[_0x117f92(0x115)][_0x117f92(0x140)][_0x117f92(0xcc)](_0x117f92(0x11d))[_0x117f92(0xfe)];}[_0x16865b(0x10f)](_0x12a18e){const _0x8ff34b=_0x16865b;return this[_0x8ff34b(0x115)][_0x8ff34b(0x140)][_0x8ff34b(0xcc)](_0x8ff34b(0x11d))[_0x8ff34b(0x10f)](_0x12a18e);}[_0x16865b(0xd0)](_0x449368){const _0x1c9cf2=_0x16865b;return this[_0x1c9cf2(0x115)][_0x1c9cf2(0x140)][_0x1c9cf2(0xcc)](_0x1c9cf2(0xcb))[_0x1c9cf2(0xd0)](_0x449368);}[_0x16865b(0x14f)](_0x25bb78){const _0x105e84=_0x16865b;return this[_0x105e84(0x115)][_0x105e84(0x140)][_0x105e84(0xcc)](_0x105e84(0xcb))[_0x105e84(0x14f)](_0x25bb78||{'toJSON':!0x1});}[_0x16865b(0x12f)](){const _0x519fff=_0x16865b,_0x264b81=this[_0x519fff(0x115)],_0x1e93be=_0x231465(_0x264b81,d),_0x313a24=_0x264b81[_0x519fff(0x140)][_0x519fff(0xcc)](_0x519fff(0x11d)),_0xd6b3bf=_0x264b81[_0x519fff(0x140)][_0x519fff(0xcc)](_0x519fff(0xde))[_0x519fff(0x154)];return _0x1e93be[_0x519fff(0x112)]=[_0x519fff(0x105),_0x519fff(0xce),_0x519fff(0xd4)],delete _0x1e93be[_0x519fff(0x10c)],(_0x1e93be[_0x519fff(0x140)][_0x519fff(0x13a)](RevisionViewerIntegration,_0x338788,_0x1ca62f,class extends _0x3b2d58{static get[_0x519fff(0x133)](){const _0x206aa5=_0x519fff;return[_0x338788,_0x206aa5(0xde)];}[_0x519fff(0xfb)](){const _0x286942=_0x519fff,_0x2955ce=this[_0x286942(0x115)][_0x286942(0x140)][_0x286942(0xcc)](_0x286942(0xde));for(const _0x52ff5d of _0xd6b3bf)_0x52ff5d[_0x286942(0x111)]||_0x2955ce[_0x286942(0xd9)](_0x52ff5d['id'])||_0x2955ce[_0x286942(0x13d)](_0x52ff5d);const _0x3c98b2=_0x313a24[_0x286942(0xc2)][_0x286942(0x14f)]();let _0x4c5913=null;const _0x113314=this[_0x286942(0x115)][_0x286942(0x140)][_0x286942(0xcc)](_0x286942(0x11a));_0x113314[_0x286942(0xfe)]=_0x313a24[_0x286942(0xfe)],_0x113314[_0x286942(0xd7)](_0x286942(0xc5))['to'](_0x313a24),this[_0x286942(0x115)][_0x286942(0x12d)][_0x286942(0xcc)](_0x286942(0xce))[_0x286942(0xd7)](_0x286942(0xc5))['to'](_0x264b81,_0x286942(0x114),_0x4986d5=>!_0x4986d5);for(const _0x256ba8 of _0x3c98b2){const _0x1be0a0=null===_0x256ba8[_0x286942(0x155)];if(_0x1be0a0&&_0x256ba8[_0x286942(0xe7)]===_0x256ba8[_0x286942(0x100)])continue;const _0x1fb573=_0x256ba8[_0x286942(0x137)]();_0x113314[_0x286942(0x10f)](_0x1fb573,(_0x53636a,_0x4a028b,_0x77aade)=>{const _0x3f1525=_0x286942;if(_0x1be0a0){if(_0x4c5913)_0x4c5913[_0x3f1525(0xef)](_0x53636a,_0x4a028b);else{if(!_0x4a028b){const _0x24f97f=_0x77aade[_0x3f1525(0x137)]();_0x24f97f['id']=_0xbbf1fb(),_0x313a24[_0x3f1525(0xf3)](_0x24f97f,_0x77aade[_0x3f1525(0xe7)])[_0x3f1525(0x158)](_0x23493c=>{_0x4c5913=_0x23493c;});}}}else _0x256ba8[_0x3f1525(0xef)](_0x53636a,_0x4a028b);});}}},_0x43e723),_0x1e93be);}[_0x16865b(0x109)](){const _0x206eb=_0x16865b,_0x20879d=this[_0x206eb(0x115)][_0x206eb(0x13c)][_0x206eb(0xcc)](_0x206eb(0x10e))[_0x206eb(0xdf)];this[_0x206eb(0x115)][_0x206eb(0x13c)][_0x206eb(0xfa)](_0x206eb(0x106),async()=>{const _0xa4fe07=_0x206eb;this[_0xa4fe07(0x115)][_0xa4fe07(0x10a)](_0xa4fe07(0x144));const _0x3b1674=this[_0xa4fe07(0x115)][_0xa4fe07(0x140)][_0xa4fe07(0xcc)](_0xa4fe07(0x11d));if(this[_0xa4fe07(0x115)][_0xa4fe07(0x140)][_0xa4fe07(0x11b)](_0xa4fe07(0x156))){const _0x31d272=this[_0xa4fe07(0x115)][_0xa4fe07(0x140)][_0xa4fe07(0xcc)](_0xa4fe07(0x156));await _0x31d272[_0xa4fe07(0x113)]();}else await _0x3b1674[_0xa4fe07(0xd8)]();if(this[_0xa4fe07(0x115)][_0xa4fe07(0x140)][_0xa4fe07(0x11b)](_0xa4fe07(0xf0))&&this[_0xa4fe07(0x115)][_0xa4fe07(0x140)][_0xa4fe07(0xcc)](_0xa4fe07(0xf0))[_0xa4fe07(0xf9)](),this[_0xa4fe07(0x115)][_0xa4fe07(0x140)][_0xa4fe07(0x11b)](_0xa4fe07(0x130))){const _0x5d8a2c=this[_0xa4fe07(0x115)][_0xa4fe07(0x140)][_0xa4fe07(0xcc)](_0xa4fe07(0x130));_0x5d8a2c[_0xa4fe07(0x11f)]&&_0x5d8a2c[_0xa4fe07(0x121)]();}const _0x9cfcd9=this[_0xa4fe07(0x12f)]();return _0x20879d(_0x9cfcd9)[_0xa4fe07(0x158)](_0x20e469=>{const _0x1a6044=_0xa4fe07;return(this[_0x1a6044(0x127)]=_0x20e469,this[_0x1a6044(0x115)][_0x1a6044(0x140)][_0x1a6044(0x11b)](_0x1a6044(0x136)))&&this[_0x1a6044(0x115)][_0x1a6044(0x140)][_0x1a6044(0xcc)](_0x1a6044(0x136))[_0x1a6044(0xd3)](),(this[_0x1a6044(0x115)][_0x1a6044(0x140)][_0x1a6044(0x11b)](_0x1a6044(0xff))&&(this[_0x1a6044(0x115)][_0x1a6044(0x140)][_0x1a6044(0xcc)](_0x1a6044(0x120))[_0x1a6044(0xe8)][_0x1a6044(0x12e)][_0x1a6044(0x124)][_0x1a6044(0xd1)]=_0x1a6044(0xf5)),_0x20e469);})[_0xa4fe07(0xeb)](_0x59e756=>(console[_0xa4fe07(0xed)](_0x59e756),this[_0xa4fe07(0x115)][_0xa4fe07(0x152)](_0xa4fe07(0x144)),null));});}[_0x16865b(0x14c)](){const _0x52d590=_0x16865b,_0x11b0e6=this[_0x52d590(0x115)][_0x52d590(0x13c)][_0x52d590(0xcc)](_0x52d590(0x10e))[_0x52d590(0x108)];this[_0x52d590(0x115)][_0x52d590(0x13c)][_0x52d590(0xfa)](_0x52d590(0xf1),()=>(this[_0x52d590(0x115)][_0x52d590(0x140)][_0x52d590(0x11b)](_0x52d590(0xf0))&&this[_0x52d590(0x115)][_0x52d590(0x140)][_0x52d590(0xcc)](_0x52d590(0xf0))[_0x52d590(0xf9)](),this[_0x52d590(0x115)][_0x52d590(0x140)][_0x52d590(0x11b)](_0x52d590(0xff))&&(this[_0x52d590(0x115)][_0x52d590(0x140)][_0x52d590(0xcc)](_0x52d590(0x120))[_0x52d590(0xe8)][_0x52d590(0x12e)][_0x52d590(0x124)][_0x52d590(0xd1)]=''),this[_0x52d590(0x127)][_0x52d590(0x140)][_0x52d590(0xcc)](_0x52d590(0x11a))[_0x52d590(0xcd)](),_0x11b0e6(this[_0x52d590(0x127)])[_0x52d590(0x158)](()=>{const _0x487e28=_0x52d590;if(this[_0x487e28(0x115)][_0x487e28(0x152)](_0x487e28(0x144)),this[_0x487e28(0x127)]=null,this[_0x487e28(0x115)][_0x487e28(0x140)][_0x487e28(0x11b)](_0x487e28(0x136))){const _0x253d93=this[_0x487e28(0x115)][_0x487e28(0x140)][_0x487e28(0xcc)](_0x487e28(0x136));_0x253d93[_0x487e28(0xd3)](),_0x253d93[_0x487e28(0xda)]();}})));}[_0x16865b(0x14d)](_0xb7cb0d){const _0x3683a8=_0x16865b,_0x440dac=this[_0x3683a8(0x115)][_0x3683a8(0x13c)][_0x3683a8(0xcc)](_0x3683a8(0x125)),_0x5d72c9=this[_0x3683a8(0x115)][_0x3683a8(0x13c)][_0x3683a8(0xcc)](_0x3683a8(0x146)),_0x327c21=this[_0x3683a8(0x115)][_0x3683a8(0x13c)][_0x3683a8(0xcc)](_0x3683a8(0x13e));return _0x942b29[_0x3683a8(0xdb)](_0x327c21,_0xb7cb0d)[_0x3683a8(0x158)](_0x8e2992=>(_0x5d72c9[_0x3683a8(0x124)][_0x3683a8(0xd1)]=_0x3683a8(0x12b),_0x440dac[_0x3683a8(0x124)][_0x3683a8(0xd1)]=_0x3683a8(0xf5),this[_0x3683a8(0xdd)]=!0x0,_0x8e2992));}[_0x16865b(0x135)](_0x179d03){const _0x2f3148=_0x16865b,_0x33f69b=this[_0x2f3148(0x115)][_0x2f3148(0x13c)][_0x2f3148(0xcc)](_0x2f3148(0x125));return this[_0x2f3148(0x115)][_0x2f3148(0x13c)][_0x2f3148(0xcc)](_0x2f3148(0x146))[_0x2f3148(0x124)][_0x2f3148(0xd1)]=_0x2f3148(0xf5),_0x33f69b[_0x2f3148(0x124)][_0x2f3148(0xd1)]='',this[_0x2f3148(0xdd)]=!0x1,_0x179d03[_0x2f3148(0x142)]();}async[_0x16865b(0x11e)](_0x1af85a){const _0x3ecb10=_0x16865b,_0x38ea6c=this[_0x3ecb10(0x115)],_0x111700=this[_0x3ecb10(0x127)][_0x3ecb10(0x140)][_0x3ecb10(0xcc)](_0x3ecb10(0x11a)),_0x2032ce=_0x38ea6c[_0x3ecb10(0x140)][_0x3ecb10(0xcc)](_0x3ecb10(0x11d)),_0x15b46a=_0x38ea6c[_0x3ecb10(0x140)][_0x3ecb10(0xcc)](_0x3ecb10(0x103)),_0x37850=_0x111700[_0x3ecb10(0xc2)][_0x3ecb10(0xd0)](_0x1af85a);let _0x294667,_0x2d54cc,_0x4cb468;try{await _0x15b46a[_0x3ecb10(0x128)](_0x37850,this[_0x3ecb10(0xfe)]),_0x294667=_0x15b46a[_0x3ecb10(0xe9)](_0x37850),_0x2d54cc=_0x15b46a[_0x3ecb10(0xfc)](_0x37850);}catch(_0x1a5920){return void console[_0x3ecb10(0xed)](_0x1a5920);}_0x38ea6c[_0x3ecb10(0x116)][_0x3ecb10(0x126)](_0x3c6b15=>{const _0x384df8=_0x3ecb10;for(const _0x312b12 of Array[_0x384df8(0xf4)](_0x38ea6c[_0x384df8(0x116)][_0x384df8(0x119)][_0x384df8(0xc9)](_0x384df8(0x138))))_0x3c6b15[_0x384df8(0x134)](_0x312b12);}),_0x111700[_0x3ecb10(0xfd)]=!0x1,_0x38ea6c[_0x3ecb10(0x116)][_0x3ecb10(0xee)](_0x8fdff5=>{const _0x4a1975=_0x3ecb10;_0x8fdff5[_0x4a1975(0x131)](null),_0x8fdff5[_0x4a1975(0x149)](_0x38ea6c[_0x4a1975(0x116)][_0x4a1975(0x11c)][_0x4a1975(0x141)][_0x4a1975(0x148)]());const _0x59f670=Object[_0x4a1975(0x151)](_0x294667);for(const _0xf0b88a of _0x38ea6c[_0x4a1975(0x116)][_0x4a1975(0x11c)][_0x4a1975(0x150)])_0x4a1975(0xe5)!=_0xf0b88a[_0x4a1975(0xcf)]&&_0xf0b88a[_0x4a1975(0x12a)]()&&!_0x59f670[_0x4a1975(0x104)](_0xf0b88a[_0x4a1975(0xcf)])&&_0x8fdff5[_0x4a1975(0xc6)](_0xf0b88a);for(const _0x4196af of _0x59f670){let _0x1a6e1c=_0x38ea6c[_0x4a1975(0x116)][_0x4a1975(0x11c)][_0x4a1975(0xf6)](_0x4196af);_0x1a6e1c&&_0x1a6e1c[_0x4a1975(0x12a)]()||(_0x1a6e1c=_0x8fdff5[_0x4a1975(0xca)](_0x4196af));const _0x4374fc=_0x2d54cc[_0x4196af],_0x28b614=Object[_0x4a1975(0x151)](_0x4374fc),_0x3e7307=_0x294667[_0x4196af];for(const _0x1619aa of _0x1a6e1c[_0x4a1975(0x148)]())_0x28b614[_0x4a1975(0x104)](_0x1619aa)||_0x8fdff5[_0x4a1975(0xc4)](_0x1619aa,_0x1a6e1c);for(const _0x5b1646 of _0x28b614)_0x8fdff5[_0x4a1975(0xe4)](_0x5b1646,_0x2d54cc[_0x4196af][_0x5b1646],_0x1a6e1c);_0x8fdff5[_0x4a1975(0x13f)](_0x8fdff5[_0x4a1975(0xe1)](_0x1a6e1c)),_0x8fdff5[_0x4a1975(0xd6)](_0x38ea6c[_0x4a1975(0x10b)][_0x4a1975(0x145)](_0x3e7307,_0x1a6e1c),_0x1a6e1c,0x0);}});const _0x4dc0f2=_0x1d9251(_0x38ea6c[_0x3ecb10(0x12c)],_0x3ecb10(0xf2));if(_0x37850[_0x3ecb10(0x143)])_0x4cb468=-0x1==_0x37850[_0x3ecb10(0x143)][_0x3ecb10(0x147)](_0x4dc0f2)?_0x4dc0f2+':\x20'+_0x37850[_0x3ecb10(0x143)]:_0x37850[_0x3ecb10(0x143)];else _0x4cb468=_0x4dc0f2+':\x20'+(_0x37850[_0x3ecb10(0xec)][_0x3ecb10(0xf7)](_0x38ea6c[_0x3ecb10(0x12c)][_0x3ecb10(0x132)],{'month':_0x3ecb10(0x107),'day':_0x3ecb10(0xc7)})+',\x20'+_0x37850[_0x3ecb10(0xec)][_0x3ecb10(0x10d)](_0x38ea6c[_0x3ecb10(0x12c)][_0x3ecb10(0x132)],{'hour':_0x3ecb10(0xc7),'minute':_0x3ecb10(0xc7)}));return await _0x2032ce[_0x3ecb10(0xf3)]({'name':_0x4cb468}),_0x111700[_0x3ecb10(0xfd)]=!0x0,_0x38ea6c[_0x3ecb10(0x13c)][_0x3ecb10(0xcc)](_0x3ecb10(0x10e))[_0x3ecb10(0x108)]();}}
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
const
|
|
23
|
+
const _0x5b2afe=_0x1221;function _0x1221(_0x99f949,_0x4c7d13){const _0xb7613f=_0xb761();return _0x1221=function(_0x122106,_0x10f7b9){_0x122106=_0x122106-0x180;let _0x828031=_0xb7613f[_0x122106];return _0x828031;},_0x1221(_0x99f949,_0x4c7d13);}(function(_0x112f2d,_0x581576){const _0x31d249=_0x1221,_0x4715cd=_0x112f2d();while(!![]){try{const _0x935ead=parseInt(_0x31d249(0x1a2))/0x1+parseInt(_0x31d249(0x1c4))/0x2*(-parseInt(_0x31d249(0x1c0))/0x3)+parseInt(_0x31d249(0x18f))/0x4+-parseInt(_0x31d249(0x1ac))/0x5+parseInt(_0x31d249(0x1b1))/0x6+parseInt(_0x31d249(0x19d))/0x7+parseInt(_0x31d249(0x1b6))/0x8*(-parseInt(_0x31d249(0x1b5))/0x9);if(_0x935ead===_0x581576)break;else _0x4715cd['push'](_0x4715cd['shift']());}catch(_0x3362e6){_0x4715cd['push'](_0x4715cd['shift']());}}}(_0xb761,0xa720b));import{Plugin as _0x22da34}from'ckeditor5/src/core.js';import{ViewDocumentFragment as _0x4f12d1,ViewText as _0x13a697,ViewElement as _0x31844d,ViewContainerElement as _0x188a38,ViewAttributeElement as _0x41982f,ViewEmptyElement as _0x5922f5,ViewRawElement as _0x32e4f8,ViewUIElement as _0x49eb97}from'ckeditor5/src/engine.js';function _0xb761(){const _0x32187a=['getRevision','from','view','config','forEach','toModel','get','90WRnNZX','viewChildrenToDom','loadRevisionData','getFillerOffset','34608AdayOF','name','startsWith','document','domConverter','marked','editing','string','insertions','collaboration.channelId','constructor','diffData','filter','div','map','childNodes','processor','default','isAttached','isOfficialPlugin','pluginName','378656LiiRDS','htmlProcessor','_typeCharToViewClass','_setCustomProperty','type','getRevisionRootsAttributes','parse','isPremiumPlugin','useFillerType','revision-end','data-revision-','_getTypeCharForViewElement','attachChange','toData','6612921zgcRFG','domChildrenToView','fillerOffset','RevisionHistoryUtils','_makeModelFromViewString','884645zcfetS','_getViewFromDiffObj','_appendChild','render','attributes','append','attributesAfter','revision-start','length','domDocument','3219480mjNJeP','children','getRevisionDocumentData','innerHTML','_viewClassToTypeChar','7767492cyhDNr','createElement','data','_removeRevisionMarkers','9unPKJt','10968184zIzvhc','editor','customProperties'];_0xb761=function(){return _0x32187a;};return _0xb761();}export class RevisionHistoryUtils extends _0x22da34{static get[_0x5b2afe(0x18e)](){const _0x209209=_0x5b2afe;return _0x209209(0x1a0);}static get[_0x5b2afe(0x18d)](){return!0x0;}static get[_0x5b2afe(0x196)](){return!0x0;}[_0x5b2afe(0x1b0)]=new Map([[_0x188a38,'c'],[_0x41982f,'a'],[_0x5922f5,'e'],[_0x32e4f8,'r'],[_0x49eb97,'u']]);[_0x5b2afe(0x191)]=new Map([['c',_0x188a38],['a',_0x41982f],['e',_0x5922f5],['r',_0x32e4f8],['u',_0x49eb97]]);async[_0x5b2afe(0x1c2)](_0x2008e2,_0x5a16bb){const _0x4bb780=_0x5b2afe;if(_0x2008e2[_0x4bb780(0x185)]||!_0x5a16bb)return;const _0x27d05c=this[_0x4bb780(0x1b7)][_0x4bb780(0x1bc)][_0x4bb780(0x1bf)](_0x4bb780(0x183)),_0x5f03b5=await _0x5a16bb[_0x4bb780(0x1b9)]({'channelId':_0x27d05c,'revisionId':_0x2008e2['id']});_0x2008e2[_0x4bb780(0x185)]=_0x5f03b5[_0x4bb780(0x185)];}[_0x5b2afe(0x1ae)](_0x4b017f){const _0x34c7b8=_0x5b2afe,_0x329c4d={};for(const _0x245dce in _0x4b017f[_0x34c7b8(0x185)]){if(_0x4b017f[_0x34c7b8(0x185)][_0x245dce][_0x34c7b8(0x19b)]&&!_0x4b017f[_0x34c7b8(0x185)][_0x245dce][_0x34c7b8(0x19b)][_0x34c7b8(0x18c)])continue;const _0x1a9476=this[_0x34c7b8(0x1b4)](JSON[_0x34c7b8(0x195)](_0x4b017f[_0x34c7b8(0x185)][_0x245dce][_0x34c7b8(0x182)])),_0x3efa41=this[_0x34c7b8(0x1b7)][_0x34c7b8(0x180)][_0x34c7b8(0x1bb)][_0x34c7b8(0x1c7)],_0x1e2278=new _0x4f12d1(_0x3efa41,_0x1a9476[_0x34c7b8(0x188)](_0x5c80f4=>this[_0x34c7b8(0x1a3)](_0x5c80f4,!0x1)));this[_0x34c7b8(0x1b7)][_0x34c7b8(0x1b3)][_0x34c7b8(0x18a)][_0x34c7b8(0x197)](_0x34c7b8(0x1c9)),_0x329c4d[_0x245dce]=this[_0x34c7b8(0x1b7)][_0x34c7b8(0x1b3)][_0x34c7b8(0x18a)][_0x34c7b8(0x19c)](_0x1e2278),this[_0x34c7b8(0x1b7)][_0x34c7b8(0x1b3)][_0x34c7b8(0x18a)][_0x34c7b8(0x197)](_0x34c7b8(0x18b));}return _0x329c4d;}[_0x5b2afe(0x194)](_0x1d9a7f){const _0x56de5d=_0x5b2afe,_0xbc0bb8={};for(const _0x179262 in _0x1d9a7f[_0x56de5d(0x185)])_0x1d9a7f[_0x56de5d(0x185)][_0x179262][_0x56de5d(0x19b)]&&!_0x1d9a7f[_0x56de5d(0x185)][_0x179262][_0x56de5d(0x19b)][_0x56de5d(0x18c)]||(_0xbc0bb8[_0x179262]=_0x1d9a7f[_0x56de5d(0x185)][_0x179262][_0x56de5d(0x1a8)]||{});return _0xbc0bb8;}[_0x5b2afe(0x19a)](_0x366410){const _0x4827d1=_0x5b2afe;return this[_0x4827d1(0x1b0)][_0x4827d1(0x1bf)](_0x366410[_0x4827d1(0x184)]);}[_0x5b2afe(0x1a3)](_0x273589,_0x8250ec){const _0x4a74ec=_0x5b2afe,_0x2619f9=this[_0x4a74ec(0x1b7)][_0x4a74ec(0x180)][_0x4a74ec(0x1bb)][_0x4a74ec(0x1c7)];if(_0x4a74ec(0x181)==typeof _0x273589)return new _0x13a697(_0x2619f9,_0x273589);{let _0x200a31,_0x2fc40d;_0x2fc40d='u'==_0x273589[_0x4a74ec(0x193)]||'r'==_0x273589[_0x4a74ec(0x193)]?[]:_0x273589[_0x4a74ec(0x1ad)][_0x4a74ec(0x188)](_0x4de8e0=>this[_0x4a74ec(0x1a3)](_0x4de8e0,_0x8250ec));const _0xfd0ba9=this[_0x4a74ec(0x191)][_0x4a74ec(0x1bf)](_0x273589[_0x4a74ec(0x193)])||_0x31844d,_0x50977f=this[_0x4a74ec(0x1b7)][_0x4a74ec(0x1b3)][_0x4a74ec(0x190)][_0x4a74ec(0x1c8)];if(_0x200a31=new _0xfd0ba9(_0x2619f9,_0x273589[_0x4a74ec(0x1c5)],_0x273589[_0x4a74ec(0x1a6)],_0x2fc40d),'u'==_0x273589[_0x4a74ec(0x193)]&&_0x273589[_0x4a74ec(0x1ad)][0x0]){const _0x42518d=_0x273589[_0x4a74ec(0x1ad)][0x0];if(_0x200a31[_0x4a74ec(0x1a5)]=function(_0x5ed26d){const _0x3c2342=_0x4a74ec,_0x44e3ae=_0x5ed26d[_0x3c2342(0x1b2)](_0x3c2342(0x187));return _0x44e3ae[_0x3c2342(0x1af)]=_0x42518d,_0x44e3ae[_0x3c2342(0x189)][0x0];},_0x8250ec){const _0x4c735b=new _0x4f12d1(_0x2619f9);_0x4c735b[_0x4a74ec(0x1a4)](_0x200a31);const _0x181ff7=Array[_0x4a74ec(0x1ba)](_0x50977f[_0x4a74ec(0x1c1)](_0x4c735b,{'bind':!0x1})),_0x1df397=_0x50977f[_0x4a74ec(0x1ab)][_0x4a74ec(0x1b2)](_0x4a74ec(0x187));_0x1df397[_0x4a74ec(0x1a7)](..._0x181ff7),_0x200a31=Array[_0x4a74ec(0x1ba)](_0x50977f[_0x4a74ec(0x19e)](_0x1df397))[0x0];}}else{if('r'==_0x273589[_0x4a74ec(0x193)]&&_0x273589[_0x4a74ec(0x1ad)][0x0]){const _0x23bb14=_0x273589[_0x4a74ec(0x1ad)][0x0];if(_0x200a31[_0x4a74ec(0x1a5)]=function(_0x5bc1a5){const _0x5c3178=_0x4a74ec;_0x5bc1a5[_0x5c3178(0x1af)]=_0x23bb14;},_0x8250ec){const _0x236b04=new _0x4f12d1(_0x2619f9);_0x236b04[_0x4a74ec(0x1a4)](_0x200a31);const _0x228dbc=Array[_0x4a74ec(0x1ba)](_0x50977f[_0x4a74ec(0x1c1)](_0x236b04,{'bind':!0x1})),_0x4c2265=_0x50977f[_0x4a74ec(0x1ab)][_0x4a74ec(0x1b2)](_0x4a74ec(0x187));_0x4c2265[_0x4a74ec(0x1a7)](..._0x228dbc);const _0x3f5ad5=Array[_0x4a74ec(0x1ba)](_0x50977f[_0x4a74ec(0x19e)](_0x4c2265));_0x3f5ad5[_0x4a74ec(0x1aa)]>0x1?_0x200a31[_0x4a74ec(0x1a4)](_0x3f5ad5):_0x200a31=_0x3f5ad5[0x0];}}}if(_0x273589[_0x4a74ec(0x1b8)]){for(const [_0x5cf26c,_0x37b350]of _0x273589[_0x4a74ec(0x1b8)])_0x200a31[_0x4a74ec(0x192)](_0x5cf26c,_0x37b350);}const _0x5af879=void 0x0===_0x273589[_0x4a74ec(0x19f)]?null:_0x273589[_0x4a74ec(0x19f)];return null!==_0x5af879&&(_0x200a31[_0x4a74ec(0x1c3)]=()=>_0x5af879),_0x200a31;}}[_0x5b2afe(0x1a1)](_0x97bd84){const _0x607580=_0x5b2afe,_0x5a87a2=JSON[_0x607580(0x195)](_0x97bd84),_0x27ad5c=this[_0x607580(0x1b7)][_0x607580(0x180)][_0x607580(0x1bb)][_0x607580(0x1c7)],_0x1b61ea=new _0x4f12d1(_0x27ad5c,_0x5a87a2[_0x607580(0x188)](_0x16998c=>this[_0x607580(0x1a3)](_0x16998c,!0x0)));return this[_0x607580(0x1b7)][_0x607580(0x1b3)][_0x607580(0x1be)](_0x1b61ea);}[_0x5b2afe(0x1b4)](_0x5e028f){const _0x55f9b1=_0x5b2afe;return(_0x5e028f=_0x5e028f[_0x55f9b1(0x186)](_0x42a6e2=>!_0x42a6e2[_0x55f9b1(0x1c5)]||_0x55f9b1(0x1a9)!==_0x42a6e2[_0x55f9b1(0x1c5)]&&_0x55f9b1(0x198)!==_0x42a6e2[_0x55f9b1(0x1c5)]))[_0x55f9b1(0x1bd)](_0x3484f9=>{const _0x3e40ea=_0x55f9b1;_0x3e40ea(0x181)!=typeof _0x3484f9&&(_0x3484f9[_0x3e40ea(0x1ad)]=this[_0x3e40ea(0x1b4)](_0x3484f9[_0x3e40ea(0x1ad)]),_0x3484f9[_0x3e40ea(0x1a6)]=_0x3484f9[_0x3e40ea(0x1a6)][_0x3e40ea(0x186)](_0x45b07f=>!_0x45b07f[0x0][_0x3e40ea(0x1c6)](_0x3e40ea(0x199))));}),_0x5e028f;}}
|