@ckeditor/ckeditor5-revision-history 46.1.1 → 47.0.0-alpha.1
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/build/revision-history.js +1 -1
- package/dist/index-editor.css +7 -7
- package/dist/index.css +7 -7
- 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 +12 -12
- 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
- package/theme/revision/revision.css +5 -5
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
(
|
|
23
|
+
(_0x2aa1c2=>{const {vi:{dictionary:_0x53b67a,getPluralForm:_0xbd34d2}}={'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':_0x7cbdd0=>0x0}};_0x2aa1c2['vi']||={'dictionary':{},'getPluralForm':null},_0x2aa1c2['vi']['dictionary']=Object['assign'](_0x2aa1c2['vi']['dictionary'],_0x53b67a),_0x2aa1c2['vi']['getPluralForm']=_0xbd34d2;})(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':_0xec606a=>0x0}};
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
(
|
|
23
|
+
(_0x27b347=>{const {'zh-cn':{dictionary:_0x2ecc3b,getPluralForm:_0x45317f}}={'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':_0x4e850e=>0x0}};_0x27b347['zh-cn']||={'dictionary':{},'getPluralForm':null},_0x27b347['zh-cn']['dictionary']=Object['assign'](_0x27b347['zh-cn']['dictionary'],_0x2ecc3b),_0x27b347['zh-cn']['getPluralForm']=_0x45317f;})(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':_0x4083c4=>0x0}};
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
(
|
|
23
|
+
(_0x2dd6bb=>{const {zh:{dictionary:_0x20ed4b,getPluralForm:_0x14e40c}}={'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':_0x2d4102=>0x0}};_0x2dd6bb['zh']||={'dictionary':{},'getPluralForm':null},_0x2dd6bb['zh']['dictionary']=Object['assign'](_0x2dd6bb['zh']['dictionary'],_0x20ed4b),_0x2dd6bb['zh']['getPluralForm']=_0x14e40c;})(window['CKEDITOR_TRANSLATIONS']||={});
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@ckeditor/ckeditor5-revision-history",
|
|
3
|
-
"version": "
|
|
3
|
+
"version": "47.0.0-alpha.1",
|
|
4
4
|
"description": "Document revision history feature for CKEditor 5.",
|
|
5
5
|
"license": "SEE LICENSE IN LICENSE.md",
|
|
6
6
|
"author": "CKSource (http://cksource.com/)",
|
|
@@ -39,18 +39,18 @@
|
|
|
39
39
|
"CHANGELOG.md"
|
|
40
40
|
],
|
|
41
41
|
"dependencies": {
|
|
42
|
-
"@ckeditor/ckeditor5-autosave": "
|
|
43
|
-
"@ckeditor/ckeditor5-collaboration-core": "
|
|
44
|
-
"@ckeditor/ckeditor5-comments": "
|
|
45
|
-
"@ckeditor/ckeditor5-core": "
|
|
46
|
-
"@ckeditor/ckeditor5-editor-classic": "
|
|
47
|
-
"@ckeditor/ckeditor5-engine": "
|
|
48
|
-
"@ckeditor/ckeditor5-icons": "
|
|
49
|
-
"@ckeditor/ckeditor5-ui": "
|
|
50
|
-
"@ckeditor/ckeditor5-utils": "
|
|
42
|
+
"@ckeditor/ckeditor5-autosave": "47.0.0-alpha.1",
|
|
43
|
+
"@ckeditor/ckeditor5-collaboration-core": "47.0.0-alpha.1",
|
|
44
|
+
"@ckeditor/ckeditor5-comments": "47.0.0-alpha.1",
|
|
45
|
+
"@ckeditor/ckeditor5-core": "47.0.0-alpha.1",
|
|
46
|
+
"@ckeditor/ckeditor5-editor-classic": "47.0.0-alpha.1",
|
|
47
|
+
"@ckeditor/ckeditor5-engine": "47.0.0-alpha.1",
|
|
48
|
+
"@ckeditor/ckeditor5-icons": "47.0.0-alpha.1",
|
|
49
|
+
"@ckeditor/ckeditor5-ui": "47.0.0-alpha.1",
|
|
50
|
+
"@ckeditor/ckeditor5-utils": "47.0.0-alpha.1",
|
|
51
51
|
"@types/luxon": "3.6.2",
|
|
52
|
-
"ckeditor5": "
|
|
53
|
-
"ckeditor5-collaboration": "
|
|
52
|
+
"ckeditor5": "47.0.0-alpha.1",
|
|
53
|
+
"ckeditor5-collaboration": "47.0.0-alpha.1",
|
|
54
54
|
"es-toolkit": "1.39.5",
|
|
55
55
|
"luxon": "3.6.1"
|
|
56
56
|
},
|
package/src/changeitem.js
CHANGED
|
@@ -20,5 +20,5 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
function
|
|
24
|
-
|
|
23
|
+
function _0x17eb(_0x370776,_0xc6e0fa){var _0x11e652=_0x11e6();return _0x17eb=function(_0x17ebc7,_0xb0a7d){_0x17ebc7=_0x17ebc7-0x1ab;var _0x28a310=_0x11e652[_0x17ebc7];return _0x28a310;},_0x17eb(_0x370776,_0xc6e0fa);}var _0x590c3c=_0x17eb;function _0x11e6(){var _0x7e4b5d=['34905249gxXIlg','3855010LAKINq','set','createdAt','16566QgAHLJ','author','48yjxMKQ','rootName','461064gakiwv','11147920cPsdra','3932664tlVOXt','type','toJSON','396LzrmIn','data','1134KJZjHC'];_0x11e6=function(){return _0x7e4b5d;};return _0x11e6();}(function(_0x2a77b9,_0xf6cf05){var _0x262b09=_0x17eb,_0x389bbd=_0x2a77b9();while(!![]){try{var _0x43bf4a=-parseInt(_0x262b09(0x1af))/0x1+parseInt(_0x262b09(0x1b4))/0x2*(-parseInt(_0x262b09(0x1ad))/0x3)+-parseInt(_0x262b09(0x1b1))/0x4+-parseInt(_0x262b09(0x1b8))/0x5+parseInt(_0x262b09(0x1ab))/0x6*(parseInt(_0x262b09(0x1b6))/0x7)+-parseInt(_0x262b09(0x1b0))/0x8+parseInt(_0x262b09(0x1b7))/0x9;if(_0x43bf4a===_0xf6cf05)break;else _0x389bbd['push'](_0x389bbd['shift']());}catch(_0x3b6edd){_0x389bbd['push'](_0x389bbd['shift']());}}}(_0x11e6,0xae419));import{ObservableMixin as _0x1cf81c,uid as _0x500dbf}from'ckeditor5/src/utils.js';export class ChangeItem extends/* #__PURE__ -- @preserve */
|
|
24
|
+
_0x1cf81c(){['id'];[_0x590c3c(0x1ac)];[_0x590c3c(0x1b2)];[_0x590c3c(0x1b5)];[_0x590c3c(0x1ae)];constructor(_0x342cb1){var _0x25ae05=_0x590c3c;super(),this['id']=_0x342cb1['id']||_0x500dbf(),this[_0x25ae05(0x1ac)]=_0x342cb1[_0x25ae05(0x1ac)],this[_0x25ae05(0x1b2)]=_0x342cb1[_0x25ae05(0x1b2)],this[_0x25ae05(0x1b5)]=_0x342cb1[_0x25ae05(0x1b5)]||{},this[_0x25ae05(0x1ae)]=_0x342cb1[_0x25ae05(0x1ae)],this[_0x25ae05(0x1b9)](_0x25ae05(0x1ba),_0x342cb1[_0x25ae05(0x1ba)]);}[_0x590c3c(0x1b3)](){var _0xb8ff5b=_0x590c3c;return{'id':this['id'],'authorId':this[_0xb8ff5b(0x1ac)]['id'],'type':this[_0xb8ff5b(0x1b2)],'data':this[_0xb8ff5b(0x1b5)],'createdAt':this[_0xb8ff5b(0x1ba)]};}}
|
|
@@ -20,5 +20,5 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
const
|
|
24
|
-
|
|
23
|
+
const _0x32d2e3=_0x4507;(function(_0x596d9c,_0x5a5c4f){const _0x207daa=_0x4507,_0x41cf26=_0x596d9c();while(!![]){try{const _0x273e2c=-parseInt(_0x207daa(0xcb))/0x1*(parseInt(_0x207daa(0xc1))/0x2)+parseInt(_0x207daa(0xbe))/0x3+parseInt(_0x207daa(0xbc))/0x4*(-parseInt(_0x207daa(0xc9))/0x5)+-parseInt(_0x207daa(0xb9))/0x6*(-parseInt(_0x207daa(0xb8))/0x7)+-parseInt(_0x207daa(0xc4))/0x8+-parseInt(_0x207daa(0xb7))/0x9+parseInt(_0x207daa(0xc8))/0xa*(parseInt(_0x207daa(0xbf))/0xb);if(_0x273e2c===_0x5a5c4f)break;else _0x41cf26['push'](_0x41cf26['shift']());}catch(_0x5dec0e){_0x41cf26['push'](_0x41cf26['shift']());}}}(_0x14f7,0x96580));function _0x14f7(){const _0x4cf129=['2186391tQevrJ','22bqRlxX','view','88kIpGDd','_ui','config','1791512HdQgen','initialData','locale','fire','6073300WZmTtg','38455oNeIrD','create','14494xGXtgZ','init','sourceElement','document','initPlugins','updateSourceElement','createRoot','get','editing','destroy','3464505ivqiZg','387065dyOWTN','78qXAdHV','model','data','416nxMlRx','ready'];_0x14f7=function(){return _0x4cf129;};return _0x14f7();}import{Editor as _0x45822a,ElementApiMixin as _0x54fee2}from'ckeditor5/src/core.js';import{RevisionViewerEditorUI as _0x4353dc}from'./revisionviewereditorui.js';import{RevisionViewerEditorUIView as _0x162198}from'./revisionviewereditoruiview.js';function _0x4507(_0xef8414,_0x4eb88e){const _0x14f7df=_0x14f7();return _0x4507=function(_0x450741,_0xb8fbcb){_0x450741=_0x450741-0xb1;let _0x18ebc2=_0x14f7df[_0x450741];return _0x18ebc2;},_0x4507(_0xef8414,_0x4eb88e);}export class RevisionViewerEditor extends/* #__PURE__ -- @preserve */
|
|
24
|
+
_0x54fee2(_0x45822a){[_0x32d2e3(0xc2)];get['ui'](){const _0x44e9b7=_0x32d2e3;return this[_0x44e9b7(0xc2)];}constructor(_0x35b61e,_0x4bb7c6){const _0x42c5fc=_0x32d2e3;super(_0x4bb7c6),this[_0x42c5fc(0xcd)]=_0x35b61e,this[_0x42c5fc(0xba)][_0x42c5fc(0xce)][_0x42c5fc(0xb3)]();const _0x6454d=new _0x162198(this[_0x42c5fc(0xc6)],this[_0x42c5fc(0xb5)][_0x42c5fc(0xc0)],{'shouldToolbarGroupWhenFull':!0x0});this[_0x42c5fc(0xc2)]=new _0x4353dc(this,_0x6454d);}[_0x32d2e3(0xb6)](){const _0x2ee027=_0x32d2e3;return this[_0x2ee027(0xb2)](),this['ui'][_0x2ee027(0xb6)](),super[_0x2ee027(0xb6)]();}static async[_0x32d2e3(0xca)](_0x4fe2c8,_0x4c99d6){const _0x3a42df=_0x32d2e3,_0x1493e1=new this(_0x4fe2c8,_0x4c99d6);return await _0x1493e1[_0x3a42df(0xb1)](),await _0x1493e1['ui'][_0x3a42df(0xcc)](_0x4fe2c8),await _0x1493e1[_0x3a42df(0xbb)][_0x3a42df(0xcc)](_0x1493e1[_0x3a42df(0xc3)][_0x3a42df(0xb4)](_0x3a42df(0xc5))||''),_0x1493e1[_0x3a42df(0xc7)](_0x3a42df(0xbd)),_0x1493e1;}}
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
const
|
|
23
|
+
const _0x3b4976=_0x8806;function _0x8806(_0x1fc932,_0x1f898b){const _0x259d86=_0x259d();return _0x8806=function(_0x8806be,_0x5dec3f){_0x8806be=_0x8806be-0xde;let _0x253cce=_0x259d86[_0x8806be];return _0x253cce;},_0x8806(_0x1fc932,_0x1f898b);}(function(_0x521f03,_0x219e7a){const _0x4103a7=_0x8806,_0x4f7d40=_0x521f03();while(!![]){try{const _0x2e82e7=-parseInt(_0x4103a7(0xe9))/0x1+parseInt(_0x4103a7(0xe7))/0x2*(-parseInt(_0x4103a7(0xfe))/0x3)+parseInt(_0x4103a7(0x106))/0x4*(parseInt(_0x4103a7(0xf0))/0x5)+parseInt(_0x4103a7(0x109))/0x6+-parseInt(_0x4103a7(0xe5))/0x7+-parseInt(_0x4103a7(0x102))/0x8*(-parseInt(_0x4103a7(0xec))/0x9)+parseInt(_0x4103a7(0xe2))/0xa*(parseInt(_0x4103a7(0xee))/0xb);if(_0x2e82e7===_0x219e7a)break;else _0x4f7d40['push'](_0x4f7d40['shift']());}catch(_0x21fa62){_0x4f7d40['push'](_0x4f7d40['shift']());}}}(_0x259d,0x7dd73));import{EditorUI as _0x2c9dd2,normalizeToolbarConfig as _0xe07097}from'ckeditor5/src/ui.js';import{ElementReplacer as _0x1db6c6}from'ckeditor5/src/utils.js';export class RevisionViewerEditorUI extends _0x2c9dd2{[_0x3b4976(0xf5)];[_0x3b4976(0x104)];[_0x3b4976(0xf1)];get[_0x3b4976(0xe3)](){const _0x2c7b95=_0x3b4976;return this[_0x2c7b95(0xf5)];}constructor(_0x464fb9,_0x5dff4c){const _0x468310=_0x3b4976;super(_0x464fb9),this[_0x468310(0xf5)]=_0x5dff4c,this[_0x468310(0x104)]=_0xe07097(_0x464fb9[_0x468310(0x10b)][_0x468310(0xef)](_0x468310(0xeb))),this[_0x468310(0xf1)]=new _0x1db6c6();}get[_0x3b4976(0xf3)](){const _0x5a9033=_0x3b4976;return this[_0x5a9033(0xe3)][_0x5a9033(0xf3)];}[_0x3b4976(0xf8)](_0x48938a){const _0x731552=_0x3b4976,_0x2009d2=this[_0x731552(0xe1)],_0xc728a8=this[_0x731552(0xe3)],_0x284a6a=_0x2009d2[_0x731552(0xff)][_0x731552(0xe3)],_0x56e268=_0xc728a8[_0x731552(0x105)],_0x460139=_0x284a6a[_0x731552(0x108)][_0x731552(0xdf)]();_0x56e268[_0x731552(0xed)]=_0x460139[_0x731552(0xfd)],_0xc728a8[_0x731552(0xf9)]();const _0xbfe43b=_0x56e268[_0x731552(0xf3)];this[_0x731552(0xfc)](_0x56e268[_0x731552(0xed)],_0xbfe43b),_0xc728a8[_0x731552(0x105)][_0x731552(0xea)](_0x731552(0xde))['to'](this[_0x731552(0x10a)]),_0x284a6a[_0x731552(0xe8)](_0xbfe43b),this[_0x731552(0xf1)][_0x731552(0x103)](_0x48938a,this[_0x731552(0xf3)]),this[_0x731552(0xf4)](),this[_0x731552(0xf2)](_0x731552(0xe6));}[_0x3b4976(0xe0)](){const _0x247b14=_0x3b4976;super[_0x247b14(0xe0)]();const _0x360def=this[_0x247b14(0xe3)],_0x75d046=this[_0x247b14(0xe1)][_0x247b14(0xff)][_0x247b14(0xe3)];this[_0x247b14(0xf1)][_0x247b14(0xf6)](),_0x75d046[_0x247b14(0xe4)](_0x360def[_0x247b14(0x105)][_0x247b14(0xed)]),_0x360def[_0x247b14(0xe0)]();}[_0x3b4976(0xf4)](){const _0x3543f4=_0x3b4976,_0x2187a8=this[_0x3543f4(0xe3)];_0x2187a8[_0x3543f4(0x10d)][_0x3543f4(0xea)](_0x3543f4(0x10c))['to'](this[_0x3543f4(0x10a)],_0x3543f4(0xde)),_0x2187a8[_0x3543f4(0x10d)][_0x3543f4(0x100)]=_0x2187a8[_0x3543f4(0xf3)],_0x2187a8[_0x3543f4(0x10d)][_0x3543f4(0xea)](_0x3543f4(0x107))['to'](this,_0x3543f4(0xf7),({top:_0x55442e})=>_0x55442e),_0x2187a8[_0x3543f4(0xeb)][_0x3543f4(0x101)](this[_0x3543f4(0x104)],this[_0x3543f4(0xfb)]),this[_0x3543f4(0xfa)](_0x2187a8[_0x3543f4(0xeb)]);}}function _0x259d(){const _0x56922d=['viewportTopOffset','document','3499386JUHBvj','focusTracker','config','isActive','stickyPanel','isFocused','getRoot','destroy','editor','20QIlnKl','view','detachDomRoot','2954259CrUUMs','ready','2UlaUMa','attachDomRoot','457070doROmB','bind','toolbar','4312161jwXeyt','name','102223hSoNDR','get','1498855yZcpNf','_elementReplacer','fire','element','_initToolbar','_view','restore','viewportOffset','init','render','addToolbar','componentFactory','setEditableElement','rootName','1757127OZDHrT','editing','limiterElement','fillFromConfig','8SPvcrN','replace','_toolbarConfig','editable','12qnZKBX'];_0x259d=function(){return _0x56922d;};return _0x259d();}
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
|
|
23
|
+
var _0x27888f=_0xbb26;(function(_0x32a331,_0x3ce275){var _0x415bfc=_0xbb26,_0x1baaa4=_0x32a331();while(!![]){try{var _0x552a78=parseInt(_0x415bfc(0x134))/0x1+-parseInt(_0x415bfc(0x146))/0x2*(parseInt(_0x415bfc(0x147))/0x3)+-parseInt(_0x415bfc(0x13e))/0x4*(parseInt(_0x415bfc(0x142))/0x5)+parseInt(_0x415bfc(0x133))/0x6+-parseInt(_0x415bfc(0x13b))/0x7*(-parseInt(_0x415bfc(0x139))/0x8)+-parseInt(_0x415bfc(0x136))/0x9*(-parseInt(_0x415bfc(0x145))/0xa)+parseInt(_0x415bfc(0x135))/0xb*(-parseInt(_0x415bfc(0x132))/0xc);if(_0x552a78===_0x3ce275)break;else _0x1baaa4['push'](_0x1baaa4['shift']());}catch(_0x21f98a){_0x1baaa4['push'](_0x1baaa4['shift']());}}}(_0x395c,0x771b8));function _0x395c(){var _0x537bed=['336lrVdGh','296376QDXmJm','602931MRwxAC','61633SNPbxH','9cIVJxp','toolbar','shouldToolbarGroupWhenFull','136QUvooW','editable','188538Fonief','stickyPanel','content','3666340QWbVVi','render','top','main','5PohLiv','add','_editable','6389910yIMgJe','26fzejHv','43353XgiZeT'];_0x395c=function(){return _0x537bed;};return _0x395c();}import{BoxedEditorUIView as _0x5d971c,InlineEditableUIView as _0x4d68b4,StickyPanelView as _0x37e963,ToolbarView as _0x4202ba}from'ckeditor5/src/ui.js';function _0xbb26(_0x1d2aa0,_0x40aa66){var _0x395c38=_0x395c();return _0xbb26=function(_0xbb2689,_0x173016){_0xbb2689=_0xbb2689-0x132;var _0x4d9222=_0x395c38[_0xbb2689];return _0x4d9222;},_0xbb26(_0x1d2aa0,_0x40aa66);}import'@ckeditor/ckeditor5-editor-classic/theme/classiceditor.css';export class RevisionViewerEditorUIView extends _0x5d971c{[_0x27888f(0x144)];[_0x27888f(0x13c)];[_0x27888f(0x137)];get[_0x27888f(0x13a)](){var _0x31ebed=_0x27888f;return this[_0x31ebed(0x144)];}constructor(_0x2b8491,_0x5905dc,_0x19dc51={}){var _0x41e8b5=_0x27888f;super(_0x2b8491),this[_0x41e8b5(0x13c)]=new _0x37e963(_0x2b8491),this[_0x41e8b5(0x137)]=new _0x4202ba(_0x2b8491,{'shouldGroupWhenFull':_0x19dc51[_0x41e8b5(0x138)]}),this[_0x41e8b5(0x144)]=new _0x4d68b4(_0x2b8491,_0x5905dc);}[_0x27888f(0x13f)](){var _0xb7e102=_0x27888f;super[_0xb7e102(0x13f)](),this[_0xb7e102(0x13c)][_0xb7e102(0x13d)][_0xb7e102(0x143)](this[_0xb7e102(0x137)]),this[_0xb7e102(0x140)][_0xb7e102(0x143)](this[_0xb7e102(0x13c)]),this[_0xb7e102(0x141)][_0xb7e102(0x143)](this[_0xb7e102(0x13a)]);}}
|
package/src/index.js
CHANGED
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
(function(
|
|
23
|
+
(function(_0x3f52e3,_0x583f67){var _0x1b4da7=_0x8a43,_0x30b308=_0x3f52e3();while(!![]){try{var _0x4d62b8=-parseInt(_0x1b4da7(0xf5))/0x1+-parseInt(_0x1b4da7(0xf2))/0x2+parseInt(_0x1b4da7(0xef))/0x3*(parseInt(_0x1b4da7(0xf6))/0x4)+parseInt(_0x1b4da7(0xee))/0x5*(parseInt(_0x1b4da7(0xf7))/0x6)+parseInt(_0x1b4da7(0xf4))/0x7*(-parseInt(_0x1b4da7(0xf1))/0x8)+-parseInt(_0x1b4da7(0xf0))/0x9+parseInt(_0x1b4da7(0xf3))/0xa;if(_0x4d62b8===_0x583f67)break;else _0x30b308['push'](_0x30b308['shift']());}catch(_0x477f8f){_0x30b308['push'](_0x30b308['shift']());}}}(_0x10c5,0xc78cb));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';function _0x8a43(_0x75fa38,_0x296e87){var _0x10c5d5=_0x10c5();return _0x8a43=function(_0x8a43d3,_0x1c0c8d){_0x8a43d3=_0x8a43d3-0xee;var _0x394b28=_0x10c5d5[_0x8a43d3];return _0x394b28;},_0x8a43(_0x75fa38,_0x296e87);}export{RevisionHistoryUI}from'./ui/revisionhistory/revisionhistoryui.js';export{RevisionTracker}from'./revisiontracker.js';function _0x10c5(){var _0x22c295=['32JqvaVj','1846362PxMGAt','29015130eCDxCn','1331036YsUUwq','1122515sGXYNB','8oYGwCS','6WCcwNo','84205BZXCyH','1879719eWrMoU','4930713itCcwt'];_0x10c5=function(){return _0x22c295;};return _0x10c5();}export{RevisionViewer,RestoreRevisionCommand,ShowChangeCommand}from'./revisionviewer.js';export{RevisionsSidebar}from'./ui/revisionssidebar/revisionssidebar.js';export{RevisionViewerUI}from'./ui/revisionviewer/revisionviewerui.js';export{RevisionViewerEditor}from'./editor/revisionviewereditor.js';import'./augmentation.js';
|
package/src/revision.js
CHANGED
|
@@ -20,5 +20,5 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
const
|
|
24
|
-
|
|
23
|
+
const _0x51748c=_0x53c4;(function(_0x418b8,_0x1a45d0){const _0x146a22=_0x53c4,_0x55ba3f=_0x418b8();while(!![]){try{const _0x395927=parseInt(_0x146a22(0x102))/0x1+parseInt(_0x146a22(0xf7))/0x2*(parseInt(_0x146a22(0xfa))/0x3)+-parseInt(_0x146a22(0x108))/0x4*(-parseInt(_0x146a22(0x116))/0x5)+-parseInt(_0x146a22(0x106))/0x6*(parseInt(_0x146a22(0xfb))/0x7)+parseInt(_0x146a22(0x10e))/0x8*(parseInt(_0x146a22(0x10f))/0x9)+parseInt(_0x146a22(0xfe))/0xa*(parseInt(_0x146a22(0xf9))/0xb)+-parseInt(_0x146a22(0xff))/0xc*(parseInt(_0x146a22(0x105))/0xd);if(_0x395927===_0x1a45d0)break;else _0x55ba3f['push'](_0x55ba3f['shift']());}catch(_0x498ab7){_0x55ba3f['push'](_0x55ba3f['shift']());}}}(_0xb6a5,0xe8926));function _0x53c4(_0x367627,_0x1fa7a2){const _0xb6a569=_0xb6a5();return _0x53c4=function(_0x53c4fd,_0x2b0eb8){_0x53c4fd=_0x53c4fd-0xf7;let _0x274b07=_0xb6a569[_0x53c4fd];return _0x274b07;},_0x53c4(_0x367627,_0x1fa7a2);}function _0xb6a5(){const _0x12e5eb=['model','319txczOb','111VXhNVt','469CyjHSb','map','creator','206750JPFxRy','12EIALsn','authorsIds','toVersion','529091jdOexN','setAttribute','creatorId','23324561cyOLpm','108726QgCFwk','diffData','77504QMyvhV','fromVersion','_update','removeAttribute','toJSON','set','424sHmMzD','228339WWQtWL','attributes','fire','authors','setName','createdAt','name','245oFxafV','29090ViKwQK'];_0xb6a5=function(){return _0x12e5eb;};return _0xb6a5();}import{ObservableMixin as _0x35dca2,uid as _0x5b2a21}from'ckeditor5/src/utils.js';import{cloneDeep as _0x44097a,set as _0x3ad97f,unset as _0x143095}from'es-toolkit/compat';export class Revision extends/* #__PURE__ -- @preserve */
|
|
24
|
+
_0x35dca2(){['id'];[_0x51748c(0xfd)];[_0x51748c(0x112)];[_0x51748c(0x107)];[_0x51748c(0x101)];[_0x51748c(0x109)];[_0x51748c(0xf8)];constructor(_0x53a943){const _0x77dfc2=_0x51748c;super(),this['id']=_0x53a943['id']||_0x5b2a21(),this[_0x77dfc2(0xfd)]=_0x53a943[_0x77dfc2(0xfd)]||null,this[_0x77dfc2(0x112)]=_0x53a943[_0x77dfc2(0x112)]||[],this[_0x77dfc2(0x107)]=_0x53a943[_0x77dfc2(0x107)]||null,this[_0x77dfc2(0x101)]=_0x53a943[_0x77dfc2(0x101)]||0x0,this[_0x77dfc2(0x109)]=_0x53a943[_0x77dfc2(0x109)]||0x0,this[_0x77dfc2(0x10d)](_0x77dfc2(0x115),_0x53a943[_0x77dfc2(0x115)]||''),this[_0x77dfc2(0x10d)](_0x77dfc2(0x114),_0x53a943[_0x77dfc2(0x114)]||new Date()),this[_0x77dfc2(0x10d)](_0x77dfc2(0x110),_0x53a943[_0x77dfc2(0x110)]||{});}[_0x51748c(0x113)](_0x23a2c9){const _0x4dde0d=_0x51748c;this[_0x4dde0d(0x10a)]({'name':_0x23a2c9});}[_0x51748c(0x103)](_0x3d76c1,_0x19c1af){const _0x2a3f4e=_0x51748c,_0x529c89=_0x44097a(this[_0x2a3f4e(0x110)]);_0x3ad97f(_0x529c89,_0x3d76c1,_0x19c1af),this[_0x2a3f4e(0x10a)]({'attributes':_0x529c89});}[_0x51748c(0x10b)](_0x4328f3){const _0x3db406=_0x51748c,_0x3c543a=_0x44097a(this[_0x3db406(0x110)]);_0x143095(_0x3c543a,_0x4328f3),this[_0x3db406(0x10a)]({'attributes':_0x3c543a});}[_0x51748c(0x10a)](_0x172863,_0x5dec36=!0x1){const _0x966f3c=_0x51748c;let _0x32148c=!0x1;const _0x52662a={'id':this['id']},_0x310133=[_0x966f3c(0x115),_0x966f3c(0x114),_0x966f3c(0x107),_0x966f3c(0x112),_0x966f3c(0x110),_0x966f3c(0x101),_0x966f3c(0x109),_0x966f3c(0x104)];for(const _0x8c41f of _0x310133){const _0x50b630=_0x172863[_0x8c41f];void 0x0!==_0x50b630&&_0x50b630!==this[_0x8c41f]&&(this[_0x8c41f]=_0x50b630,_0x52662a[_0x8c41f]=_0x50b630,_0x32148c=!0x0);}_0x32148c&&(_0x52662a[_0x966f3c(0x112)]&&(_0x52662a[_0x966f3c(0x100)]=_0x52662a[_0x966f3c(0x112)][_0x966f3c(0xfc)](_0x4e1893=>_0x4e1893['id']),delete _0x52662a[_0x966f3c(0x112)]),this[_0x966f3c(0x111)](_0x966f3c(0x10a),_0x52662a,_0x5dec36));}[_0x51748c(0x10c)](){const _0x23c5c7=_0x51748c;return{'id':this['id'],'name':this[_0x23c5c7(0x115)],'creatorId':this[_0x23c5c7(0xfd)]?this[_0x23c5c7(0xfd)]['id']:null,'authorsIds':this[_0x23c5c7(0x112)][_0x23c5c7(0xfc)](_0x400a94=>_0x400a94['id']),'diffData':this[_0x23c5c7(0x107)],'createdAt':this[_0x23c5c7(0x114)],'attributes':this[_0x23c5c7(0x110)],'fromVersion':this[_0x23c5c7(0x109)],'toVersion':this[_0x23c5c7(0x101)]};}}
|
package/src/revisiondiff.js
CHANGED
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
function
|
|
23
|
+
function _0x47ee(){const _0x5b0b80=['2588670xkKmvR','393305aglYZR','5519828jUUspI','709127tSpzIA','changes','2165048iUKsow','add','newRevisionId','2300386JGtVdk','oldRevisionId','7gamxHN','3bllQuL','26755480HhsQll','_setChanges','126aXzDKV'];_0x47ee=function(){return _0x5b0b80;};return _0x47ee();}const _0x4ac5ed=_0x290f;(function(_0x14ec33,_0x4310b2){const _0x550b42=_0x290f,_0x2b5fdc=_0x14ec33();while(!![]){try{const _0x50ac70=parseInt(_0x550b42(0x102))/0x1+parseInt(_0x550b42(0x107))/0x2+parseInt(_0x550b42(0xfb))/0x3*(-parseInt(_0x550b42(0x101))/0x4)+-parseInt(_0x550b42(0x100))/0x5*(parseInt(_0x550b42(0xfe))/0x6)+-parseInt(_0x550b42(0xfa))/0x7*(parseInt(_0x550b42(0x104))/0x8)+-parseInt(_0x550b42(0xff))/0x9+parseInt(_0x550b42(0xfc))/0xa;if(_0x50ac70===_0x4310b2)break;else _0x2b5fdc['push'](_0x2b5fdc['shift']());}catch(_0x13fab8){_0x2b5fdc['push'](_0x2b5fdc['shift']());}}}(_0x47ee,0xe6a81));import{Collection as _0x2fa12a}from'ckeditor5/src/utils.js';function _0x290f(_0x879d1b,_0x55a68b){const _0x47ee4b=_0x47ee();return _0x290f=function(_0x290f47,_0x908f4){_0x290f47=_0x290f47-0xf9;let _0x5db39c=_0x47ee4b[_0x290f47];return _0x5db39c;},_0x290f(_0x879d1b,_0x55a68b);}export class RevisionDiff{[_0x4ac5ed(0x106)];[_0x4ac5ed(0xf9)];[_0x4ac5ed(0x103)];constructor(_0x14edbe,_0x54e4b5){const _0x54a95f=_0x4ac5ed;this[_0x54a95f(0x106)]=_0x14edbe,this[_0x54a95f(0xf9)]=_0x54e4b5,this[_0x54a95f(0x103)]=new _0x2fa12a();}[_0x4ac5ed(0xfd)](_0x4305b0){const _0x5024dc=_0x4ac5ed;for(const _0x33e4fa of _0x4305b0)this[_0x5024dc(0x103)][_0x5024dc(0x105)](_0x33e4fa);}}
|
package/src/revisionhistory.js
CHANGED
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
const _0x22cc25=_0x2160;function _0x2160(_0x44e307,_0x19a565){const _0x5a4152=_0x5a41();return _0x2160=function(_0x216032,_0x193fec){_0x216032=_0x216032-0x144;let _0x1e3ecc=_0x5a4152[_0x216032];return _0x1e3ecc;},_0x2160(_0x44e307,_0x19a565);}(function(_0x29fefe,_0x5cae51){const _0x446e49=_0x2160,_0x2f6ae0=_0x29fefe();while(!![]){try{const _0x1fb3ff=-parseInt(_0x446e49(0x1a4))/0x1*(-parseInt(_0x446e49(0x196))/0x2)+parseInt(_0x446e49(0x1da))/0x3+-parseInt(_0x446e49(0x19d))/0x4*(-parseInt(_0x446e49(0x18a))/0x5)+-parseInt(_0x446e49(0x1a8))/0x6*(-parseInt(_0x446e49(0x161))/0x7)+-parseInt(_0x446e49(0x155))/0x8*(-parseInt(_0x446e49(0x1d9))/0x9)+-parseInt(_0x446e49(0x14d))/0xa*(parseInt(_0x446e49(0x176))/0xb)+-parseInt(_0x446e49(0x186))/0xc*(parseInt(_0x446e49(0x149))/0xd);if(_0x1fb3ff===_0x5cae51)break;else _0x2f6ae0['push'](_0x2f6ae0['shift']());}catch(_0x3933c3){_0x2f6ae0['push'](_0x2f6ae0['shift']());}}}(_0x5a41,0x7ce74));import{Plugin as _0x211925}from'ckeditor5/src/core.js';import{CKEditorError as _0x3afbde,uid as _0x20f267}from'ckeditor5/src/utils.js';import{RevisionTracker as _0x4c3092}from'./revisiontracker.js';import{RevisionHistoryUI as _0x5834ff}from'./ui/revisionhistory/revisionhistoryui.js';import{RevisionViewer as _0x5077e0}from'./revisionviewer.js';function _0x5a41(){const _0x30678d=['setAttribute','get','_restoreRevision','toLocaleTimeString','RevisionViewer','160494QWYmLs','_viewerEditor','_closeRevisionViewer','lazyRoots','_recalculatePageBreaks','has','removeAttribute','16084DWYvxw','creator','saveRevision','pluginName','createRangeIn','error','removeSelectionAttribute','5emLsoP','view','insert','RevisionHistoryUI','1044WAakQP','revisionHistory.showRevisionViewerCallback','getRevisions','repository','Autosave','parse','includes','style','getRevisionRootsAttributes','push','_showRevisionViewer','toVersion','join','init','editor','$graveyard','isEnabled','isReadOnly','DocumentOutlineUI','createdAt','restoreRevision','addRoot','users','enableReadOnlyMode','DocumentOutline','revisionHistory.restoreRevisionCallback','long','disableReadOnlyMode','remove','numeric','getUser','removeMarker','create','RestrictedEditingMode','translations','refreshVisibility','RevisionHistory','commands','set','changesNavigation','rootName','locale','toJSON','selection','isAnonymous','revisionHistory.requireRevisionName','save','_enhanceShowRevisionViewerCallback','data','261JoIvTN','1677135tNrgmB','_cleanUp','indexOf','revisionHistory.viewerEditorElement','from','detachRoot','map','revision-history-missing-configuration','Users','markers','13QfZCqm','block','then','revision-history-viewer-opened','750qexDAB','revisionHistory.editorContainer','PaginationLookup','isRevisionViewerOpen','toLocaleDateString','revisionHistory','toolbar','revisionHistory.closeRevisionViewerCallback','776pvAwVA','RevisionHistoryUtils','addUser','requires','showRevisionViewerCallback','uiLanguage','setSelection','config','none','change','end','addRevisionData','24129kyHbRq','isReady','getAttributeKeys','update','isPremiumPlugin','getRevisionDocumentData','Annotations','plugins','adapter','keys','fromCharCode','define','Restored','destroy','loadRevisionData','getRoot','RevisionTracker','display','enqueueChange','_getRevisionViewerEditorConfig','roots','95469gcessE','isAttached','_enhanceCloseRevisionViewerCallback','element','getMarkersGroup','result','exitToEditing','closeRevisionViewerCallback','restrictedEditingException','document','isOpen','catch','_update','Dialog','model','fromVersion','14888772lZIveU','revisionHistory.viewerContainer','isOfficialPlugin','getRevision','1045oFaFKb','RevisionViewerIntegration','refreshPositioning','bind','hide','RevisionsRepository','name'];_0x5a41=function(){return _0x30678d;};return _0x5a41();}import{RevisionViewerUI as _0x3fa2d5}from'./ui/revisionviewer/revisionviewerui.js';import{RevisionsSidebar as _0x421926}from'./ui/revisionssidebar/revisionssidebar.js';import{RevisionViewerEditor as _0x435d3f}from'./editor/revisionviewereditor.js';import{getTranslation as _0x59bb38}from'./utils/common-translations.js';import{sanitizeEditorConfig as _0x7f1835}from'ckeditor5-collaboration/src/collaboration-core.js';const d=[_0x22cc25(0x1a7),_0x22cc25(0x1c9)];export class RevisionViewerIntegration extends _0x211925{[_0x22cc25(0x17b)];static get[_0x22cc25(0x1a0)](){const _0xf89d4b=_0x22cc25;return _0xf89d4b(0x18b);}static get[_0x22cc25(0x188)](){return!0x0;}static get[_0x22cc25(0x165)](){return!0x0;}constructor(_0x485255){const _0x2a3173=_0x22cc25;function _0x6ed71(_0x546382){const _0x15dcb9=_0x2160;return _0x546382[_0x15dcb9(0x145)](_0xbfcce3=>String[_0x15dcb9(0x16b)](_0xbfcce3))[_0x15dcb9(0x1b4)]('');}super(_0x485255),this[_0x2a3173(0x17b)]=_0x2a3173(0x15f),_0x485255[_0x6ed71([0x65,0x64,0x69,0x74,0x69,0x6e,0x67])][_0x6ed71([0x76,0x69,0x65,0x77])][_0x6ed71([0x5f,0x6f,0x76,0x65,0x72,0x6c,0x61,0x79,0x4d,0x6f,0x64,0x65,0x48,0x69,0x6e,0x74])]=_0x6ed71([0x61,0x75,0x74,0x6f]),_0x485255[_0x6ed71([0x5f,0x73,0x65,0x6e,0x64,0x55,0x73,0x61,0x67,0x65,0x52,0x65,0x71,0x75,0x65,0x73,0x74])]=()=>window[_0x6ed71([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65])][_0x6ed71([0x72,0x65,0x73,0x6f,0x6c,0x76,0x65])]({[_0x6ed71([0x73,0x74,0x61,0x74,0x75,0x73])]:_0x6ed71([0x6f,0x6b])});}}export class RevisionHistory extends _0x211925{[_0x22cc25(0x197)];static get[_0x22cc25(0x1a0)](){const _0x143dff=_0x22cc25;return _0x143dff(0x1cc);}static get[_0x22cc25(0x188)](){return!0x0;}static get[_0x22cc25(0x165)](){return!0x0;}static get[_0x22cc25(0x158)](){return[_0x4c3092,_0x5834ff];}constructor(_0xb034e7){const _0x23d46d=_0x22cc25;if(super(_0xb034e7),!this[_0x23d46d(0x1b6)][_0x23d46d(0x15c)][_0x23d46d(0x192)](_0x23d46d(0x152)))throw new _0x3afbde(_0x23d46d(0x146),this);this[_0x23d46d(0x197)]=null,this[_0x23d46d(0x1ce)](_0x23d46d(0x150),!0x1),this[_0x23d46d(0x1b6)][_0x23d46d(0x15c)][_0x23d46d(0x16c)](_0x23d46d(0x1a9),_0x1733b9=>this[_0x23d46d(0x1b2)]({..._0x1733b9,'translations':this[_0x23d46d(0x1b6)][_0x23d46d(0x1d1)][_0x23d46d(0x1ca)]})),this[_0x23d46d(0x1b6)][_0x23d46d(0x15c)][_0x23d46d(0x16c)](_0x23d46d(0x154),_0x3b0176=>this[_0x23d46d(0x198)](_0x3b0176)),this[_0x23d46d(0x1b6)][_0x23d46d(0x15c)][_0x23d46d(0x16c)](_0x23d46d(0x1c1),_0x1dd97a=>this[_0x23d46d(0x193)](_0x1dd97a)),this[_0x23d46d(0x1b6)][_0x23d46d(0x15c)][_0x23d46d(0x16c)](_0x23d46d(0x1d5),!0x1),this[_0x23d46d(0x1d7)](),this[_0x23d46d(0x178)]();}set[_0x22cc25(0x169)](_0x558233){const _0x340c60=_0x22cc25;this[_0x340c60(0x1b6)][_0x340c60(0x168)][_0x340c60(0x192)](_0x340c60(0x171))[_0x340c60(0x169)]=_0x558233;}get[_0x22cc25(0x169)](){const _0xd9ba82=_0x22cc25;return this[_0xd9ba82(0x1b6)][_0xd9ba82(0x168)][_0xd9ba82(0x192)](_0xd9ba82(0x171))[_0xd9ba82(0x169)];}[_0x22cc25(0x160)](_0x3b764f){const _0xec2dd4=_0x22cc25;return this[_0xec2dd4(0x1b6)][_0xec2dd4(0x168)][_0xec2dd4(0x192)](_0xec2dd4(0x171))[_0xec2dd4(0x160)](_0x3b764f);}[_0x22cc25(0x189)](_0x3b6d77){const _0x29942c=_0x22cc25;return this[_0x29942c(0x1b6)][_0x29942c(0x168)][_0x29942c(0x192)](_0x29942c(0x18f))[_0x29942c(0x189)](_0x3b6d77);}[_0x22cc25(0x1aa)](_0x270f9d){const _0x2515ac=_0x22cc25;return this[_0x2515ac(0x1b6)][_0x2515ac(0x168)][_0x2515ac(0x192)](_0x2515ac(0x18f))[_0x2515ac(0x1aa)](_0x270f9d||{'toJSON':!0x1});}[_0x22cc25(0x174)](){const _0x14f9d9=_0x22cc25,_0x59d1cb=this[_0x14f9d9(0x1b6)],_0x3fbf99=_0x7f1835(_0x59d1cb,d),_0x3e9290=_0x59d1cb[_0x14f9d9(0x168)][_0x14f9d9(0x192)](_0x14f9d9(0x171)),_0x81dc06=_0x59d1cb[_0x14f9d9(0x168)][_0x14f9d9(0x192)](_0x14f9d9(0x147))[_0x14f9d9(0x1be)];return _0x3fbf99[_0x14f9d9(0x153)]=[_0x14f9d9(0x17c),_0x14f9d9(0x1bc),_0x14f9d9(0x1cf)],delete _0x3fbf99[_0x14f9d9(0x199)],(_0x3fbf99[_0x14f9d9(0x168)][_0x14f9d9(0x1b1)](RevisionViewerIntegration,_0x5077e0,_0x3fa2d5,class extends _0x211925{static get[_0x14f9d9(0x158)](){const _0x576d53=_0x14f9d9;return[_0x5077e0,_0x576d53(0x147)];}[_0x14f9d9(0x1b5)](){const _0x534a0f=_0x14f9d9,_0x4a75bd=this[_0x534a0f(0x1b6)][_0x534a0f(0x168)][_0x534a0f(0x192)](_0x534a0f(0x147));for(const _0x30430d of _0x81dc06)_0x30430d[_0x534a0f(0x1d4)]||_0x4a75bd[_0x534a0f(0x1c6)](_0x30430d['id'])||_0x4a75bd[_0x534a0f(0x157)](_0x30430d);const _0x1cbad9=_0x3e9290[_0x534a0f(0x1ab)][_0x534a0f(0x1aa)]();let _0x562390=null;const _0x4cf7ae=this[_0x534a0f(0x1b6)][_0x534a0f(0x168)][_0x534a0f(0x192)](_0x534a0f(0x195));_0x4cf7ae[_0x534a0f(0x169)]=_0x3e9290[_0x534a0f(0x169)],_0x4cf7ae[_0x534a0f(0x18d)](_0x534a0f(0x1b8))['to'](_0x3e9290),this[_0x534a0f(0x1b6)][_0x534a0f(0x1cd)][_0x534a0f(0x192)](_0x534a0f(0x1bc))[_0x534a0f(0x18d)](_0x534a0f(0x1b8))['to'](_0x59d1cb,_0x534a0f(0x1b9),_0x4c9d28=>!_0x4c9d28);for(const _0x360687 of _0x1cbad9){const _0x13b593=null===_0x360687[_0x534a0f(0x19e)];if(_0x13b593&&_0x360687[_0x534a0f(0x1b3)]===_0x360687[_0x534a0f(0x185)])continue;const _0x13a504=_0x360687[_0x534a0f(0x1d2)]();_0x4cf7ae[_0x534a0f(0x160)](_0x13a504,(_0x260638,_0x28b2f7,_0x5f3b04)=>{const _0x515f0f=_0x534a0f;if(_0x13b593){if(_0x562390)_0x562390[_0x515f0f(0x182)](_0x260638,_0x28b2f7);else{if(!_0x28b2f7){const _0x5bbb01=_0x5f3b04[_0x515f0f(0x1d2)]();_0x5bbb01['id']=_0x20f267(),_0x3e9290[_0x515f0f(0x19f)](_0x5bbb01,_0x5f3b04[_0x515f0f(0x1b3)])[_0x515f0f(0x14b)](_0x5686c5=>{_0x562390=_0x5686c5;});}}}else _0x360687[_0x515f0f(0x182)](_0x260638,_0x28b2f7);});}}},_0x421926),_0x3fbf99);}[_0x22cc25(0x1d7)](){const _0x474557=_0x22cc25,_0x311c20=this[_0x474557(0x1b6)][_0x474557(0x15c)][_0x474557(0x192)](_0x474557(0x152))[_0x474557(0x159)];this[_0x474557(0x1b6)][_0x474557(0x15c)][_0x474557(0x1ce)](_0x474557(0x1a9),async()=>{const _0x4c2951=_0x474557;this[_0x4c2951(0x1b6)][_0x4c2951(0x1bf)](_0x4c2951(0x14c));const _0x414b3c=this[_0x4c2951(0x1b6)][_0x4c2951(0x168)][_0x4c2951(0x192)](_0x4c2951(0x171));if(this[_0x4c2951(0x1b6)][_0x4c2951(0x168)][_0x4c2951(0x19b)](_0x4c2951(0x1ac))){const _0x22c46d=this[_0x4c2951(0x1b6)][_0x4c2951(0x168)][_0x4c2951(0x192)](_0x4c2951(0x1ac));await _0x22c46d[_0x4c2951(0x1d6)]();}else await _0x414b3c[_0x4c2951(0x164)]();if(this[_0x4c2951(0x1b6)][_0x4c2951(0x168)][_0x4c2951(0x19b)](_0x4c2951(0x14f))&&this[_0x4c2951(0x1b6)][_0x4c2951(0x168)][_0x4c2951(0x192)](_0x4c2951(0x14f))[_0x4c2951(0x19a)](),this[_0x4c2951(0x1b6)][_0x4c2951(0x168)][_0x4c2951(0x19b)](_0x4c2951(0x183))){const _0x3d089d=this[_0x4c2951(0x1b6)][_0x4c2951(0x168)][_0x4c2951(0x192)](_0x4c2951(0x183));_0x3d089d[_0x4c2951(0x180)]&&_0x3d089d[_0x4c2951(0x18e)]();}const _0x3cf931=this[_0x4c2951(0x174)]();return _0x311c20(_0x3cf931)[_0x4c2951(0x14b)](_0x9a3bd4=>{const _0x14ae5a=_0x4c2951;return(this[_0x14ae5a(0x197)]=_0x9a3bd4,this[_0x14ae5a(0x1b6)][_0x14ae5a(0x168)][_0x14ae5a(0x19b)](_0x14ae5a(0x167)))&&this[_0x14ae5a(0x1b6)][_0x14ae5a(0x168)][_0x14ae5a(0x192)](_0x14ae5a(0x167))[_0x14ae5a(0x1cb)](),(this[_0x14ae5a(0x1b6)][_0x14ae5a(0x168)][_0x14ae5a(0x19b)](_0x14ae5a(0x1c0))&&(this[_0x14ae5a(0x1b6)][_0x14ae5a(0x168)][_0x14ae5a(0x192)](_0x14ae5a(0x1ba))[_0x14ae5a(0x1a5)][_0x14ae5a(0x179)][_0x14ae5a(0x1af)][_0x14ae5a(0x172)]=_0x14ae5a(0x15d)),_0x9a3bd4);})[_0x4c2951(0x181)](_0x5ed721=>(console[_0x4c2951(0x1a2)](_0x5ed721),this[_0x4c2951(0x1b6)][_0x4c2951(0x1c3)](_0x4c2951(0x14c)),null));});}[_0x22cc25(0x178)](){const _0x28128c=_0x22cc25,_0x4a8187=this[_0x28128c(0x1b6)][_0x28128c(0x15c)][_0x28128c(0x192)](_0x28128c(0x152))[_0x28128c(0x17d)];this[_0x28128c(0x1b6)][_0x28128c(0x15c)][_0x28128c(0x1ce)](_0x28128c(0x154),()=>(this[_0x28128c(0x1b6)][_0x28128c(0x168)][_0x28128c(0x19b)](_0x28128c(0x14f))&&this[_0x28128c(0x1b6)][_0x28128c(0x168)][_0x28128c(0x192)](_0x28128c(0x14f))[_0x28128c(0x19a)](),this[_0x28128c(0x1b6)][_0x28128c(0x168)][_0x28128c(0x19b)](_0x28128c(0x1c0))&&(this[_0x28128c(0x1b6)][_0x28128c(0x168)][_0x28128c(0x192)](_0x28128c(0x1ba))[_0x28128c(0x1a5)][_0x28128c(0x179)][_0x28128c(0x1af)][_0x28128c(0x172)]=''),this[_0x28128c(0x197)][_0x28128c(0x168)][_0x28128c(0x192)](_0x28128c(0x195))[_0x28128c(0x1db)](),_0x4a8187(this[_0x28128c(0x197)])[_0x28128c(0x14b)](()=>{const _0x3c018a=_0x28128c;if(this[_0x3c018a(0x1b6)][_0x3c018a(0x1c3)](_0x3c018a(0x14c)),this[_0x3c018a(0x197)]=null,this[_0x3c018a(0x1b6)][_0x3c018a(0x168)][_0x3c018a(0x19b)](_0x3c018a(0x167))){const _0x500f9a=this[_0x3c018a(0x1b6)][_0x3c018a(0x168)][_0x3c018a(0x192)](_0x3c018a(0x167));_0x500f9a[_0x3c018a(0x1cb)](),_0x500f9a[_0x3c018a(0x18c)]();}})));}[_0x22cc25(0x1b2)](_0x3124f7){const _0x264716=_0x22cc25,_0x119cbe=this[_0x264716(0x1b6)][_0x264716(0x15c)][_0x264716(0x192)](_0x264716(0x14e)),_0x400aef=this[_0x264716(0x1b6)][_0x264716(0x15c)][_0x264716(0x192)](_0x264716(0x187)),_0x95f6b6=this[_0x264716(0x1b6)][_0x264716(0x15c)][_0x264716(0x192)](_0x264716(0x1dd));return _0x435d3f[_0x264716(0x1c8)](_0x95f6b6,_0x3124f7)[_0x264716(0x14b)](_0x674c7c=>(_0x400aef[_0x264716(0x1af)][_0x264716(0x172)]=_0x264716(0x14a),_0x119cbe[_0x264716(0x1af)][_0x264716(0x172)]=_0x264716(0x15d),this[_0x264716(0x150)]=!0x0,_0x674c7c));}[_0x22cc25(0x198)](_0x1743f8){const _0x5d78e3=_0x22cc25,_0x1eb645=this[_0x5d78e3(0x1b6)][_0x5d78e3(0x15c)][_0x5d78e3(0x192)](_0x5d78e3(0x14e));return this[_0x5d78e3(0x1b6)][_0x5d78e3(0x15c)][_0x5d78e3(0x192)](_0x5d78e3(0x187))[_0x5d78e3(0x1af)][_0x5d78e3(0x172)]=_0x5d78e3(0x15d),_0x1eb645[_0x5d78e3(0x1af)][_0x5d78e3(0x172)]='',this[_0x5d78e3(0x150)]=!0x1,_0x1743f8[_0x5d78e3(0x16e)]();}async[_0x22cc25(0x193)](_0x567287){const _0x3a7953=_0x22cc25,_0x3ed3a4=this[_0x3a7953(0x1b6)],_0x984b4b=this[_0x3a7953(0x197)][_0x3a7953(0x168)][_0x3a7953(0x192)](_0x3a7953(0x195)),_0x58225e=_0x3ed3a4[_0x3a7953(0x168)][_0x3a7953(0x192)](_0x3a7953(0x171)),_0x32e522=_0x3ed3a4[_0x3a7953(0x168)][_0x3a7953(0x192)](_0x3a7953(0x156)),_0x1e8a38=_0x984b4b[_0x3a7953(0x1ab)][_0x3a7953(0x189)](_0x567287);let _0x696e5d,_0x40cb95,_0x2e8bd2;try{await _0x32e522[_0x3a7953(0x16f)](_0x1e8a38,this[_0x3a7953(0x169)]),_0x696e5d=_0x32e522[_0x3a7953(0x166)](_0x1e8a38),_0x40cb95=_0x32e522[_0x3a7953(0x1b0)](_0x1e8a38);}catch(_0x38c9cb){return void console[_0x3a7953(0x1a2)](_0x38c9cb);}_0x3ed3a4[_0x3a7953(0x184)][_0x3a7953(0x15e)](_0x2e6b92=>{const _0x1fc585=_0x3a7953;for(const _0x234fcc of Array[_0x1fc585(0x1de)](_0x3ed3a4[_0x1fc585(0x184)][_0x1fc585(0x148)][_0x1fc585(0x17a)](_0x1fc585(0x17e))))_0x2e6b92[_0x1fc585(0x1c7)](_0x234fcc);}),_0x984b4b[_0x3a7953(0x162)]=!0x1,_0x3ed3a4[_0x3a7953(0x184)][_0x3a7953(0x173)](_0x28b460=>{const _0x25cb13=_0x3a7953;_0x28b460[_0x25cb13(0x15b)](null),_0x28b460[_0x25cb13(0x1a3)](_0x3ed3a4[_0x25cb13(0x184)][_0x25cb13(0x17f)][_0x25cb13(0x1d3)][_0x25cb13(0x163)]());const _0x27a958=Object[_0x25cb13(0x16a)](_0x696e5d);for(const _0x30798f of _0x3ed3a4[_0x25cb13(0x184)][_0x25cb13(0x17f)][_0x25cb13(0x175)])_0x25cb13(0x1b7)!=_0x30798f[_0x25cb13(0x1d0)]&&_0x30798f[_0x25cb13(0x177)]()&&!_0x27a958[_0x25cb13(0x1ae)](_0x30798f[_0x25cb13(0x1d0)])&&_0x28b460[_0x25cb13(0x144)](_0x30798f);for(const _0x3aa34b of _0x27a958){let _0xd459f0=_0x3ed3a4[_0x25cb13(0x184)][_0x25cb13(0x17f)][_0x25cb13(0x170)](_0x3aa34b);_0xd459f0&&_0xd459f0[_0x25cb13(0x177)]()||(_0xd459f0=_0x28b460[_0x25cb13(0x1bd)](_0x3aa34b));const _0x260de8=_0x40cb95[_0x3aa34b],_0x589961=Object[_0x25cb13(0x16a)](_0x260de8),_0x4ebbe3=_0x696e5d[_0x3aa34b];for(const _0x18c82b of _0xd459f0[_0x25cb13(0x163)]())_0x589961[_0x25cb13(0x1ae)](_0x18c82b)||_0x28b460[_0x25cb13(0x19c)](_0x18c82b,_0xd459f0);for(const _0x1a65a6 of _0x589961)_0x28b460[_0x25cb13(0x191)](_0x1a65a6,_0x40cb95[_0x3aa34b][_0x1a65a6],_0xd459f0);_0x28b460[_0x25cb13(0x1c4)](_0x28b460[_0x25cb13(0x1a1)](_0xd459f0)),_0x28b460[_0x25cb13(0x1a6)](_0x3ed3a4[_0x25cb13(0x1d8)][_0x25cb13(0x1ad)](_0x4ebbe3,_0xd459f0),_0xd459f0,0x0);}});const _0x1bc2fb=_0x59bb38(_0x3ed3a4[_0x3a7953(0x1d1)],_0x3a7953(0x16d));if(_0x1e8a38[_0x3a7953(0x190)])_0x2e8bd2=-0x1==_0x1e8a38[_0x3a7953(0x190)][_0x3a7953(0x1dc)](_0x1bc2fb)?_0x1bc2fb+':\x20'+_0x1e8a38[_0x3a7953(0x190)]:_0x1e8a38[_0x3a7953(0x190)];else _0x2e8bd2=_0x1bc2fb+':\x20'+(_0x1e8a38[_0x3a7953(0x1bb)][_0x3a7953(0x151)](_0x3ed3a4[_0x3a7953(0x1d1)][_0x3a7953(0x15a)],{'month':_0x3a7953(0x1c2),'day':_0x3a7953(0x1c5)})+',\x20'+_0x1e8a38[_0x3a7953(0x1bb)][_0x3a7953(0x194)](_0x3ed3a4[_0x3a7953(0x1d1)][_0x3a7953(0x15a)],{'hour':_0x3a7953(0x1c5),'minute':_0x3a7953(0x1c5)}));return await _0x58225e[_0x3a7953(0x19f)]({'name':_0x2e8bd2}),_0x984b4b[_0x3a7953(0x162)]=!0x0,_0x3ed3a4[_0x3a7953(0x15c)][_0x3a7953(0x192)](_0x3a7953(0x152))[_0x3a7953(0x17d)]();}}
|
|
23
|
+
const _0x30144e=_0x21a3;(function(_0x179471,_0x214e08){const _0x1040cb=_0x21a3,_0x140cb9=_0x179471();while(!![]){try{const _0xb5bcbd=parseInt(_0x1040cb(0x119))/0x1*(-parseInt(_0x1040cb(0xdd))/0x2)+-parseInt(_0x1040cb(0x105))/0x3*(-parseInt(_0x1040cb(0x108))/0x4)+parseInt(_0x1040cb(0xe4))/0x5+parseInt(_0x1040cb(0xe7))/0x6+parseInt(_0x1040cb(0x133))/0x7+parseInt(_0x1040cb(0x141))/0x8+parseInt(_0x1040cb(0xfa))/0x9*(-parseInt(_0x1040cb(0xd8))/0xa);if(_0xb5bcbd===_0x214e08)break;else _0x140cb9['push'](_0x140cb9['shift']());}catch(_0x4fdb17){_0x140cb9['push'](_0x140cb9['shift']());}}}(_0x14f9,0x42522));import{Plugin as _0x17849e}from'ckeditor5/src/core.js';import{CKEditorError as _0x4d4715,uid as _0x20cfe4}from'ckeditor5/src/utils.js';function _0x14f9(){const _0x5f526a=['destroy','revisionHistory.closeRevisionViewerCallback','restrictedEditingException','RevisionsRepository','removeMarker','1574343Abgqbt','_showRevisionViewer','bind','remove','lazyRoots','catch','editor','revisionHistory.viewerEditorElement','Autosave','markers','plugins','341778nBVNhQ','indexOf','RevisionTracker','4zCXEvb','rootName','toVersion','toolbar','_recalculatePageBreaks','long','getMarkersGroup','_viewerEditor','revisionHistory.editorContainer','revisionHistory.showRevisionViewerCallback','Annotations','getRevision','exitToEditing','roots','revisionHistory.restoreRevisionCallback','document','get','2GuPEgL','fromCharCode','name','detachRoot','isEnabled','RevisionViewer','join','revisionHistory','uiLanguage','refreshVisibility','restoreRevision','$graveyard','removeAttribute','getRevisionRootsAttributes','model','create','DocumentOutlineUI','block','translations','style','isPremiumPlugin','init','revisionHistory.requireRevisionName','data','_closeRevisionViewer','RestrictedEditingMode','2246860KQMVEO','removeSelectionAttribute','numeric','parse','define','createdAt','getRevisions','has','_cleanUp','isRevisionViewerOpen','revisionHistory.viewerContainer','keys','display','getUser','3384328rqVcDI','getRevisionDocumentData','Users','_restoreRevision','revision-history-missing-configuration','RevisionViewerIntegration','update','requires','repository','RevisionHistoryUI','includes','selection','addRoot','addRevisionData','_enhanceCloseRevisionViewerCallback','save','refreshPositioning','then','addUser','users','RevisionHistoryUtils','_getRevisionViewerEditorConfig','loadRevisionData','isOfficialPlugin','getRoot','end','isOpen','getAttributeKeys','none','revision-history-viewer-opened','hide','showRevisionViewerCallback','commands','PaginationLookup','_enhanceShowRevisionViewerCallback','isReady','locale','disableReadOnlyMode','change','fromVersion','enqueueChange','Restored','element','setAttribute','Dialog','creator','DocumentOutline','30EFwpow','config','saveRevision','view','isAnonymous','319556DfgpQe','closeRevisionViewerCallback','pluginName','toLocaleDateString','map','_update','toJSON','459945wHFRrk','from','result','996306SSVIhL','isAttached','set','createRangeIn','error','push','changesNavigation','setSelection','enableReadOnlyMode','toLocaleTimeString','RevisionHistory','insert','isReadOnly','adapter'];_0x14f9=function(){return _0x5f526a;};return _0x14f9();}import{RevisionTracker as _0x2b7906}from'./revisiontracker.js';import{RevisionHistoryUI as _0x2b522d}from'./ui/revisionhistory/revisionhistoryui.js';import{RevisionViewer as _0x5cedaa}from'./revisionviewer.js';import{RevisionViewerUI as _0x364616}from'./ui/revisionviewer/revisionviewerui.js';import{RevisionsSidebar as _0x45625f}from'./ui/revisionssidebar/revisionssidebar.js';import{RevisionViewerEditor as _0x53c6b7}from'./editor/revisionviewereditor.js';import{getTranslation as _0x423d1b}from'./utils/common-translations.js';import{sanitizeEditorConfig as _0xdf6e85}from'ckeditor5-collaboration/src/collaboration-core.js';function _0x21a3(_0xb37c40,_0x126c13){const _0x14f99b=_0x14f9();return _0x21a3=function(_0x21a392,_0x3c170c){_0x21a392=_0x21a392-0xac;let _0x5ac085=_0x14f99b[_0x21a392];return _0x5ac085;},_0x21a3(_0xb37c40,_0x126c13);}const d=[_0x30144e(0xb2),_0x30144e(0x132)];export class RevisionViewerIntegration extends _0x17849e{[_0x30144e(0xe6)];static get[_0x30144e(0xdf)](){const _0xb44b03=_0x30144e;return _0xb44b03(0xae);}static get[_0x30144e(0xc0)](){return!0x0;}static get[_0x30144e(0x12d)](){return!0x0;}constructor(_0x4ade04){const _0x3c9a4e=_0x30144e;function _0x50aaf2(_0x179800){const _0x272566=_0x21a3;return _0x179800[_0x272566(0xe1)](_0x3637b6=>String[_0x272566(0x11a)](_0x3637b6))[_0x272566(0x11f)]('');}super(_0x4ade04),this[_0x3c9a4e(0xe6)]=_0x3c9a4e(0xc2),_0x4ade04[_0x50aaf2([0x65,0x64,0x69,0x74,0x69,0x6e,0x67])][_0x50aaf2([0x76,0x69,0x65,0x77])][_0x50aaf2([0x5f,0x6f,0x76,0x65,0x72,0x6c,0x61,0x79,0x4d,0x6f,0x64,0x65,0x48,0x69,0x6e,0x74])]=_0x50aaf2([0x61,0x75,0x74,0x6f]),_0x4ade04[_0x50aaf2([0x5f,0x73,0x65,0x6e,0x64,0x55,0x73,0x61,0x67,0x65,0x52,0x65,0x71,0x75,0x65,0x73,0x74])]=()=>window[_0x50aaf2([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65])][_0x50aaf2([0x72,0x65,0x73,0x6f,0x6c,0x76,0x65])]({[_0x50aaf2([0x73,0x74,0x61,0x74,0x75,0x73])]:_0x50aaf2([0x6f,0x6b])});}}export class RevisionHistory extends _0x17849e{[_0x30144e(0x10f)];static get[_0x30144e(0xdf)](){const _0x319c7f=_0x30144e;return _0x319c7f(0xf1);}static get[_0x30144e(0xc0)](){return!0x0;}static get[_0x30144e(0x12d)](){return!0x0;}static get[_0x30144e(0xb0)](){return[_0x2b7906,_0x2b522d];}constructor(_0x4fc697){const _0x580402=_0x30144e;if(super(_0x4fc697),!this[_0x580402(0x100)][_0x580402(0xd9)][_0x580402(0x118)](_0x580402(0x120)))throw new _0x4d4715(_0x580402(0xad),this);this[_0x580402(0x10f)]=null,this[_0x580402(0xe9)](_0x580402(0x13c),!0x1),this[_0x580402(0x100)][_0x580402(0xd9)][_0x580402(0x137)](_0x580402(0x111),_0x225c43=>this[_0x580402(0xfb)]({..._0x225c43,'translations':this[_0x580402(0x100)][_0x580402(0xcd)][_0x580402(0x12b)]})),this[_0x580402(0x100)][_0x580402(0xd9)][_0x580402(0x137)](_0x580402(0xf6),_0x2759f9=>this[_0x580402(0x131)](_0x2759f9)),this[_0x580402(0x100)][_0x580402(0xd9)][_0x580402(0x137)](_0x580402(0x116),_0x3e868e=>this[_0x580402(0xac)](_0x3e868e)),this[_0x580402(0x100)][_0x580402(0xd9)][_0x580402(0x137)](_0x580402(0x12f),!0x1),this[_0x580402(0xcb)](),this[_0x580402(0xb7)]();}set[_0x30144e(0xf4)](_0x1dbff6){const _0x552e6d=_0x30144e;this[_0x552e6d(0x100)][_0x552e6d(0x104)][_0x552e6d(0x118)](_0x552e6d(0x107))[_0x552e6d(0xf4)]=_0x1dbff6;}get[_0x30144e(0xf4)](){const _0x2f251a=_0x30144e;return this[_0x2f251a(0x100)][_0x2f251a(0x104)][_0x2f251a(0x118)](_0x2f251a(0x107))[_0x2f251a(0xf4)];}[_0x30144e(0xb6)](_0x5367f8){const _0x3a8677=_0x30144e;return this[_0x3a8677(0x100)][_0x3a8677(0x104)][_0x3a8677(0x118)](_0x3a8677(0x107))[_0x3a8677(0xb6)](_0x5367f8);}[_0x30144e(0x113)](_0x45c9d5){const _0x4331c4=_0x30144e;return this[_0x4331c4(0x100)][_0x4331c4(0x104)][_0x4331c4(0x118)](_0x4331c4(0xf8))[_0x4331c4(0x113)](_0x45c9d5);}[_0x30144e(0x139)](_0x5d8cb3){const _0x19ced3=_0x30144e;return this[_0x19ced3(0x100)][_0x19ced3(0x104)][_0x19ced3(0x118)](_0x19ced3(0xf8))[_0x19ced3(0x139)](_0x5d8cb3||{'toJSON':!0x1});}[_0x30144e(0xbe)](){const _0x424081=_0x30144e,_0x594626=this[_0x424081(0x100)],_0x21091d=_0xdf6e85(_0x594626,d),_0xf4544e=_0x594626[_0x424081(0x104)][_0x424081(0x118)](_0x424081(0x107)),_0x56268a=_0x594626[_0x424081(0x104)][_0x424081(0x118)](_0x424081(0x143))[_0x424081(0xbc)];return _0x21091d[_0x424081(0x10b)]=[_0x424081(0x114),_0x424081(0x123),_0x424081(0xed)],delete _0x21091d[_0x424081(0xfe)],(_0x21091d[_0x424081(0x104)][_0x424081(0xec)](RevisionViewerIntegration,_0x5cedaa,_0x364616,class extends _0x17849e{static get[_0x424081(0xb0)](){const _0x3224c9=_0x424081;return[_0x5cedaa,_0x3224c9(0x143)];}[_0x424081(0x12e)](){const _0xd41f0c=_0x424081,_0x5a9935=this[_0xd41f0c(0x100)][_0xd41f0c(0x104)][_0xd41f0c(0x118)](_0xd41f0c(0x143));for(const _0x4b8eb9 of _0x56268a)_0x4b8eb9[_0xd41f0c(0xdc)]||_0x5a9935[_0xd41f0c(0x140)](_0x4b8eb9['id'])||_0x5a9935[_0xd41f0c(0xbb)](_0x4b8eb9);const _0x300e75=_0xf4544e[_0xd41f0c(0xb1)][_0xd41f0c(0x139)]();let _0x2169a6=null;const _0x497f28=this[_0xd41f0c(0x100)][_0xd41f0c(0x104)][_0xd41f0c(0x118)](_0xd41f0c(0x11e));_0x497f28[_0xd41f0c(0xf4)]=_0xf4544e[_0xd41f0c(0xf4)],_0x497f28[_0xd41f0c(0xfc)](_0xd41f0c(0x11d))['to'](_0xf4544e),this[_0xd41f0c(0x100)][_0xd41f0c(0xc9)][_0xd41f0c(0x118)](_0xd41f0c(0x123))[_0xd41f0c(0xfc)](_0xd41f0c(0x11d))['to'](_0x594626,_0xd41f0c(0xf3),_0x4af008=>!_0x4af008);for(const _0x3eb683 of _0x300e75){const _0x269b39=null===_0x3eb683[_0xd41f0c(0xd6)];if(_0x269b39&&_0x3eb683[_0xd41f0c(0x10a)]===_0x3eb683[_0xd41f0c(0xd0)])continue;const _0x3ffab1=_0x3eb683[_0xd41f0c(0xe3)]();_0x497f28[_0xd41f0c(0xb6)](_0x3ffab1,(_0x4c0df8,_0x466afb,_0x1b3235)=>{const _0x2e1363=_0xd41f0c;if(_0x269b39){if(_0x2169a6)_0x2169a6[_0x2e1363(0xe2)](_0x4c0df8,_0x466afb);else{if(!_0x466afb){const _0x1a1ea0=_0x1b3235[_0x2e1363(0xe3)]();_0x1a1ea0['id']=_0x20cfe4(),_0xf4544e[_0x2e1363(0xda)](_0x1a1ea0,_0x1b3235[_0x2e1363(0x10a)])[_0x2e1363(0xba)](_0x1bdb1e=>{_0x2169a6=_0x1bdb1e;});}}}else _0x3eb683[_0x2e1363(0xe2)](_0x4c0df8,_0x466afb);});}}},_0x45625f),_0x21091d);}[_0x30144e(0xcb)](){const _0x1d6758=_0x30144e,_0x4ce5d6=this[_0x1d6758(0x100)][_0x1d6758(0xd9)][_0x1d6758(0x118)](_0x1d6758(0x120))[_0x1d6758(0xc8)];this[_0x1d6758(0x100)][_0x1d6758(0xd9)][_0x1d6758(0xe9)](_0x1d6758(0x111),async()=>{const _0x1d00f8=_0x1d6758;this[_0x1d00f8(0x100)][_0x1d00f8(0xef)](_0x1d00f8(0xc6));const _0x64c891=this[_0x1d00f8(0x100)][_0x1d00f8(0x104)][_0x1d00f8(0x118)](_0x1d00f8(0x107));if(this[_0x1d00f8(0x100)][_0x1d00f8(0x104)][_0x1d00f8(0x13a)](_0x1d00f8(0x102))){const _0x3cd267=this[_0x1d00f8(0x100)][_0x1d00f8(0x104)][_0x1d00f8(0x118)](_0x1d00f8(0x102));await _0x3cd267[_0x1d00f8(0xb8)]();}else await _0x64c891[_0x1d00f8(0xaf)]();if(this[_0x1d00f8(0x100)][_0x1d00f8(0x104)][_0x1d00f8(0x13a)](_0x1d00f8(0xca))&&this[_0x1d00f8(0x100)][_0x1d00f8(0x104)][_0x1d00f8(0x118)](_0x1d00f8(0xca))[_0x1d00f8(0x10c)](),this[_0x1d00f8(0x100)][_0x1d00f8(0x104)][_0x1d00f8(0x13a)](_0x1d00f8(0xd5))){const _0x7f0e4b=this[_0x1d00f8(0x100)][_0x1d00f8(0x104)][_0x1d00f8(0x118)](_0x1d00f8(0xd5));_0x7f0e4b[_0x1d00f8(0xc3)]&&_0x7f0e4b[_0x1d00f8(0xc7)]();}const _0xed0b78=this[_0x1d00f8(0xbe)]();return _0x4ce5d6(_0xed0b78)[_0x1d00f8(0xba)](_0x4f5f0f=>{const _0x22343e=_0x1d00f8;return(this[_0x22343e(0x10f)]=_0x4f5f0f,this[_0x22343e(0x100)][_0x22343e(0x104)][_0x22343e(0x13a)](_0x22343e(0x112)))&&this[_0x22343e(0x100)][_0x22343e(0x104)][_0x22343e(0x118)](_0x22343e(0x112))[_0x22343e(0x122)](),(this[_0x22343e(0x100)][_0x22343e(0x104)][_0x22343e(0x13a)](_0x22343e(0xd7))&&(this[_0x22343e(0x100)][_0x22343e(0x104)][_0x22343e(0x118)](_0x22343e(0x129))[_0x22343e(0xdb)][_0x22343e(0xd3)][_0x22343e(0x12c)][_0x22343e(0x13f)]=_0x22343e(0xc5)),_0x4f5f0f);})[_0x1d00f8(0xff)](_0x47614f=>(console[_0x1d00f8(0xeb)](_0x47614f),this[_0x1d00f8(0x100)][_0x1d00f8(0xce)](_0x1d00f8(0xc6)),null));});}[_0x30144e(0xb7)](){const _0x3b1934=_0x30144e,_0xe85b3b=this[_0x3b1934(0x100)][_0x3b1934(0xd9)][_0x3b1934(0x118)](_0x3b1934(0x120))[_0x3b1934(0xde)];this[_0x3b1934(0x100)][_0x3b1934(0xd9)][_0x3b1934(0xe9)](_0x3b1934(0xf6),()=>(this[_0x3b1934(0x100)][_0x3b1934(0x104)][_0x3b1934(0x13a)](_0x3b1934(0xca))&&this[_0x3b1934(0x100)][_0x3b1934(0x104)][_0x3b1934(0x118)](_0x3b1934(0xca))[_0x3b1934(0x10c)](),this[_0x3b1934(0x100)][_0x3b1934(0x104)][_0x3b1934(0x13a)](_0x3b1934(0xd7))&&(this[_0x3b1934(0x100)][_0x3b1934(0x104)][_0x3b1934(0x118)](_0x3b1934(0x129))[_0x3b1934(0xdb)][_0x3b1934(0xd3)][_0x3b1934(0x12c)][_0x3b1934(0x13f)]=''),this[_0x3b1934(0x10f)][_0x3b1934(0x104)][_0x3b1934(0x118)](_0x3b1934(0x11e))[_0x3b1934(0x13b)](),_0xe85b3b(this[_0x3b1934(0x10f)])[_0x3b1934(0xba)](()=>{const _0x15e998=_0x3b1934;if(this[_0x15e998(0x100)][_0x15e998(0xce)](_0x15e998(0xc6)),this[_0x15e998(0x10f)]=null,this[_0x15e998(0x100)][_0x15e998(0x104)][_0x15e998(0x13a)](_0x15e998(0x112))){const _0xe84bb5=this[_0x15e998(0x100)][_0x15e998(0x104)][_0x15e998(0x118)](_0x15e998(0x112));_0xe84bb5[_0x15e998(0x122)](),_0xe84bb5[_0x15e998(0xb9)]();}})));}[_0x30144e(0xfb)](_0x17c9a4){const _0x4eba10=_0x30144e,_0x29bd61=this[_0x4eba10(0x100)][_0x4eba10(0xd9)][_0x4eba10(0x118)](_0x4eba10(0x110)),_0x10a4b0=this[_0x4eba10(0x100)][_0x4eba10(0xd9)][_0x4eba10(0x118)](_0x4eba10(0x13d)),_0x3377a8=this[_0x4eba10(0x100)][_0x4eba10(0xd9)][_0x4eba10(0x118)](_0x4eba10(0x101));return _0x53c6b7[_0x4eba10(0x128)](_0x3377a8,_0x17c9a4)[_0x4eba10(0xba)](_0x1f7aee=>(_0x10a4b0[_0x4eba10(0x12c)][_0x4eba10(0x13f)]=_0x4eba10(0x12a),_0x29bd61[_0x4eba10(0x12c)][_0x4eba10(0x13f)]=_0x4eba10(0xc5),this[_0x4eba10(0x13c)]=!0x0,_0x1f7aee));}[_0x30144e(0x131)](_0x445c44){const _0x22ce67=_0x30144e,_0x1c003d=this[_0x22ce67(0x100)][_0x22ce67(0xd9)][_0x22ce67(0x118)](_0x22ce67(0x110));return this[_0x22ce67(0x100)][_0x22ce67(0xd9)][_0x22ce67(0x118)](_0x22ce67(0x13d))[_0x22ce67(0x12c)][_0x22ce67(0x13f)]=_0x22ce67(0xc5),_0x1c003d[_0x22ce67(0x12c)][_0x22ce67(0x13f)]='',this[_0x22ce67(0x13c)]=!0x1,_0x445c44[_0x22ce67(0xf5)]();}async[_0x30144e(0xac)](_0x471a31){const _0x59ad5e=_0x30144e,_0x242cdb=this[_0x59ad5e(0x100)],_0x20cb62=this[_0x59ad5e(0x10f)][_0x59ad5e(0x104)][_0x59ad5e(0x118)](_0x59ad5e(0x11e)),_0xd86760=_0x242cdb[_0x59ad5e(0x104)][_0x59ad5e(0x118)](_0x59ad5e(0x107)),_0x29bceb=_0x242cdb[_0x59ad5e(0x104)][_0x59ad5e(0x118)](_0x59ad5e(0xbd)),_0x45a129=_0x20cb62[_0x59ad5e(0xb1)][_0x59ad5e(0x113)](_0x471a31);let _0x1bfdaf,_0x460d12,_0x336986;try{await _0x29bceb[_0x59ad5e(0xbf)](_0x45a129,this[_0x59ad5e(0xf4)]),_0x1bfdaf=_0x29bceb[_0x59ad5e(0x142)](_0x45a129),_0x460d12=_0x29bceb[_0x59ad5e(0x126)](_0x45a129);}catch(_0x12b96c){return void console[_0x59ad5e(0xeb)](_0x12b96c);}_0x242cdb[_0x59ad5e(0x127)][_0x59ad5e(0xcf)](_0x2ae267=>{const _0x4eddbd=_0x59ad5e;for(const _0x40b46a of Array[_0x4eddbd(0xe5)](_0x242cdb[_0x4eddbd(0x127)][_0x4eddbd(0x103)][_0x4eddbd(0x10e)](_0x4eddbd(0xf7))))_0x2ae267[_0x4eddbd(0xf9)](_0x40b46a);}),_0x20cb62[_0x59ad5e(0xcc)]=!0x1,_0x242cdb[_0x59ad5e(0x127)][_0x59ad5e(0xd1)](_0x35a190=>{const _0xcd6a4c=_0x59ad5e;_0x35a190[_0xcd6a4c(0xee)](null),_0x35a190[_0xcd6a4c(0x134)](_0x242cdb[_0xcd6a4c(0x127)][_0xcd6a4c(0x117)][_0xcd6a4c(0xb4)][_0xcd6a4c(0xc4)]());const _0x9dd746=Object[_0xcd6a4c(0x13e)](_0x1bfdaf);for(const _0x28fde0 of _0x242cdb[_0xcd6a4c(0x127)][_0xcd6a4c(0x117)][_0xcd6a4c(0x115)])_0xcd6a4c(0x124)!=_0x28fde0[_0xcd6a4c(0x109)]&&_0x28fde0[_0xcd6a4c(0xe8)]()&&!_0x9dd746[_0xcd6a4c(0xb3)](_0x28fde0[_0xcd6a4c(0x109)])&&_0x35a190[_0xcd6a4c(0x11c)](_0x28fde0);for(const _0x267d39 of _0x9dd746){let _0x248ab5=_0x242cdb[_0xcd6a4c(0x127)][_0xcd6a4c(0x117)][_0xcd6a4c(0xc1)](_0x267d39);_0x248ab5&&_0x248ab5[_0xcd6a4c(0xe8)]()||(_0x248ab5=_0x35a190[_0xcd6a4c(0xb5)](_0x267d39));const _0x284ae0=_0x460d12[_0x267d39],_0x204990=Object[_0xcd6a4c(0x13e)](_0x284ae0),_0x3d7f3d=_0x1bfdaf[_0x267d39];for(const _0x4e1366 of _0x248ab5[_0xcd6a4c(0xc4)]())_0x204990[_0xcd6a4c(0xb3)](_0x4e1366)||_0x35a190[_0xcd6a4c(0x125)](_0x4e1366,_0x248ab5);for(const _0x2e127a of _0x204990)_0x35a190[_0xcd6a4c(0xd4)](_0x2e127a,_0x460d12[_0x267d39][_0x2e127a],_0x248ab5);_0x35a190[_0xcd6a4c(0xfd)](_0x35a190[_0xcd6a4c(0xea)](_0x248ab5)),_0x35a190[_0xcd6a4c(0xf2)](_0x242cdb[_0xcd6a4c(0x130)][_0xcd6a4c(0x136)](_0x3d7f3d,_0x248ab5),_0x248ab5,0x0);}});const _0x56b69f=_0x423d1b(_0x242cdb[_0x59ad5e(0xcd)],_0x59ad5e(0xd2));if(_0x45a129[_0x59ad5e(0x11b)])_0x336986=-0x1==_0x45a129[_0x59ad5e(0x11b)][_0x59ad5e(0x106)](_0x56b69f)?_0x56b69f+':\x20'+_0x45a129[_0x59ad5e(0x11b)]:_0x45a129[_0x59ad5e(0x11b)];else _0x336986=_0x56b69f+':\x20'+(_0x45a129[_0x59ad5e(0x138)][_0x59ad5e(0xe0)](_0x242cdb[_0x59ad5e(0xcd)][_0x59ad5e(0x121)],{'month':_0x59ad5e(0x10d),'day':_0x59ad5e(0x135)})+',\x20'+_0x45a129[_0x59ad5e(0x138)][_0x59ad5e(0xf0)](_0x242cdb[_0x59ad5e(0xcd)][_0x59ad5e(0x121)],{'hour':_0x59ad5e(0x135),'minute':_0x59ad5e(0x135)}));return await _0xd86760[_0x59ad5e(0xda)]({'name':_0x336986}),_0x20cb62[_0x59ad5e(0xcc)]=!0x0,_0x242cdb[_0x59ad5e(0xd9)][_0x59ad5e(0x118)](_0x59ad5e(0x120))[_0x59ad5e(0xde)]();}}
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
function
|
|
23
|
+
function _0x36d2(_0x91bda4,_0x4f0e64){const _0x159790=_0x1597();return _0x36d2=function(_0x36d217,_0x5e7276){_0x36d217=_0x36d217-0xe5;let _0x4b814d=_0x159790[_0x36d217];return _0x4b814d;},_0x36d2(_0x91bda4,_0x4f0e64);}const _0x5837f2=_0x36d2;(function(_0x3e4c0f,_0x40e4fb){const _0x188044=_0x36d2,_0x5662fd=_0x3e4c0f();while(!![]){try{const _0x369877=parseInt(_0x188044(0x114))/0x1+parseInt(_0x188044(0x113))/0x2*(parseInt(_0x188044(0x10e))/0x3)+-parseInt(_0x188044(0x131))/0x4*(-parseInt(_0x188044(0xf1))/0x5)+-parseInt(_0x188044(0xfc))/0x6*(parseInt(_0x188044(0x12f))/0x7)+parseInt(_0x188044(0x120))/0x8*(parseInt(_0x188044(0x11a))/0x9)+-parseInt(_0x188044(0xf8))/0xa*(-parseInt(_0x188044(0xff))/0xb)+-parseInt(_0x188044(0x125))/0xc;if(_0x369877===_0x40e4fb)break;else _0x5662fd['push'](_0x5662fd['shift']());}catch(_0x210493){_0x5662fd['push'](_0x5662fd['shift']());}}}(_0x1597,0xbea26));import{Plugin as _0x5f69de}from'ckeditor5/src/core.js';import{ViewDocumentFragment as _0x49a0f5,ViewText as _0x13644d,ViewElement as _0x53bacc,ViewContainerElement as _0x570c27,ViewAttributeElement as _0x4eb44c,ViewEmptyElement as _0x32efc9,ViewRawElement as _0x2d7be0,ViewUIElement as _0x1c92cc}from'ckeditor5/src/engine.js';function _0x1597(){const _0x5b3e5b=['type','22703304THQztH','htmlProcessor','data','_getTypeCharForViewElement','attachChange','document','_appendChild','from','children','diffData','2198auqudf','parse','584372KIxwXi','pluginName','getRevisionDocumentData','domDocument','marked','revision-start','_viewClassToTypeChar','data-revision-','_typeCharToViewClass','forEach','constructor','toModel','getRevisionRootsAttributes','10JueKBR','name','loadRevisionData','viewChildrenToDom','getRevision','append','isPremiumPlugin','6222050iSPxXS','map','collaboration.channelId','domChildrenToView','16782TuDGDa','_setCustomProperty','attributes','22iYUEpI','getFillerOffset','startsWith','div','_getViewFromDiffObj','insertions','revision-end','filter','editor','useFillerType','config','default','render','length','innerHTML','1956vtgYhK','toData','string','isOfficialPlugin','_makeModelFromViewString','2156YPKjcD','476145oadCpY','customProperties','childNodes','isAttached','attributesAfter','_removeRevisionMarkers','7518969aVqqjj','editing','RevisionHistoryUtils','createElement','get','processor','8YnAgby','domConverter','view','fillerOffset'];_0x1597=function(){return _0x5b3e5b;};return _0x1597();}export class RevisionHistoryUtils extends _0x5f69de{static get[_0x5837f2(0xe5)](){const _0x942f2d=_0x5837f2;return _0x942f2d(0x11c);}static get[_0x5837f2(0x111)](){return!0x0;}static get[_0x5837f2(0xf7)](){return!0x0;}[_0x5837f2(0xea)]=new Map([[_0x570c27,'c'],[_0x4eb44c,'a'],[_0x32efc9,'e'],[_0x2d7be0,'r'],[_0x1c92cc,'u']]);[_0x5837f2(0xec)]=new Map([['c',_0x570c27],['a',_0x4eb44c],['e',_0x32efc9],['r',_0x2d7be0],['u',_0x1c92cc]]);async[_0x5837f2(0xf3)](_0x322ce0,_0x2e2453){const _0x672a3e=_0x5837f2;if(_0x322ce0[_0x672a3e(0x12e)]||!_0x2e2453)return;const _0x509f3f=this[_0x672a3e(0x107)][_0x672a3e(0x109)][_0x672a3e(0x11e)](_0x672a3e(0xfa)),_0x4f57ae=await _0x2e2453[_0x672a3e(0xf5)]({'channelId':_0x509f3f,'revisionId':_0x322ce0['id']});_0x322ce0[_0x672a3e(0x12e)]=_0x4f57ae[_0x672a3e(0x12e)];}[_0x5837f2(0xe6)](_0x5cd377){const _0x1f314f=_0x5837f2,_0x41b934={};for(const _0x22b14e in _0x5cd377[_0x1f314f(0x12e)]){if(_0x5cd377[_0x1f314f(0x12e)][_0x22b14e][_0x1f314f(0x129)]&&!_0x5cd377[_0x1f314f(0x12e)][_0x22b14e][_0x1f314f(0x129)][_0x1f314f(0x117)])continue;const _0x509393=this[_0x1f314f(0x119)](JSON[_0x1f314f(0x130)](_0x5cd377[_0x1f314f(0x12e)][_0x22b14e][_0x1f314f(0x104)])),_0xefcd1b=this[_0x1f314f(0x107)][_0x1f314f(0x11b)][_0x1f314f(0x122)][_0x1f314f(0x12a)],_0xb7b3c8=new _0x49a0f5(_0xefcd1b,_0x509393[_0x1f314f(0xf9)](_0x181b46=>this[_0x1f314f(0x103)](_0x181b46,!0x1)));this[_0x1f314f(0x107)][_0x1f314f(0x127)][_0x1f314f(0x11f)][_0x1f314f(0x108)](_0x1f314f(0xe8)),_0x41b934[_0x22b14e]=this[_0x1f314f(0x107)][_0x1f314f(0x127)][_0x1f314f(0x11f)][_0x1f314f(0x10f)](_0xb7b3c8),this[_0x1f314f(0x107)][_0x1f314f(0x127)][_0x1f314f(0x11f)][_0x1f314f(0x108)](_0x1f314f(0x10a));}return _0x41b934;}[_0x5837f2(0xf0)](_0x3611c9){const _0x54a01c=_0x5837f2,_0x275838={};for(const _0x446c13 in _0x3611c9[_0x54a01c(0x12e)])_0x3611c9[_0x54a01c(0x12e)][_0x446c13][_0x54a01c(0x129)]&&!_0x3611c9[_0x54a01c(0x12e)][_0x446c13][_0x54a01c(0x129)][_0x54a01c(0x117)]||(_0x275838[_0x446c13]=_0x3611c9[_0x54a01c(0x12e)][_0x446c13][_0x54a01c(0x118)]||{});return _0x275838;}[_0x5837f2(0x128)](_0x48208f){const _0x63d721=_0x5837f2;return this[_0x63d721(0xea)][_0x63d721(0x11e)](_0x48208f[_0x63d721(0xee)]);}[_0x5837f2(0x103)](_0x2674bb,_0x32591a){const _0x4afe3c=_0x5837f2,_0xa8f2e5=this[_0x4afe3c(0x107)][_0x4afe3c(0x11b)][_0x4afe3c(0x122)][_0x4afe3c(0x12a)];if(_0x4afe3c(0x110)==typeof _0x2674bb)return new _0x13644d(_0xa8f2e5,_0x2674bb);{let _0x23641b,_0x436560;_0x436560='u'==_0x2674bb[_0x4afe3c(0x124)]||'r'==_0x2674bb[_0x4afe3c(0x124)]?[]:_0x2674bb[_0x4afe3c(0x12d)][_0x4afe3c(0xf9)](_0x391a78=>this[_0x4afe3c(0x103)](_0x391a78,_0x32591a));const _0x3563d0=this[_0x4afe3c(0xec)][_0x4afe3c(0x11e)](_0x2674bb[_0x4afe3c(0x124)])||_0x53bacc,_0x518066=this[_0x4afe3c(0x107)][_0x4afe3c(0x127)][_0x4afe3c(0x126)][_0x4afe3c(0x121)];if(_0x23641b=new _0x3563d0(_0xa8f2e5,_0x2674bb[_0x4afe3c(0xf2)],_0x2674bb[_0x4afe3c(0xfe)],_0x436560),'u'==_0x2674bb[_0x4afe3c(0x124)]&&_0x2674bb[_0x4afe3c(0x12d)][0x0]){const _0x1eb37a=_0x2674bb[_0x4afe3c(0x12d)][0x0];if(_0x23641b[_0x4afe3c(0x10b)]=function(_0xf0b3b6){const _0xf40e70=_0x4afe3c,_0x501a18=_0xf0b3b6[_0xf40e70(0x11d)](_0xf40e70(0x102));return _0x501a18[_0xf40e70(0x10d)]=_0x1eb37a,_0x501a18[_0xf40e70(0x116)][0x0];},_0x32591a){const _0x725ce0=new _0x49a0f5(_0xa8f2e5);_0x725ce0[_0x4afe3c(0x12b)](_0x23641b);const _0x3445af=Array[_0x4afe3c(0x12c)](_0x518066[_0x4afe3c(0xf4)](_0x725ce0,{'bind':!0x1})),_0x5ecdfe=_0x518066[_0x4afe3c(0xe7)][_0x4afe3c(0x11d)](_0x4afe3c(0x102));_0x5ecdfe[_0x4afe3c(0xf6)](..._0x3445af),_0x23641b=Array[_0x4afe3c(0x12c)](_0x518066[_0x4afe3c(0xfb)](_0x5ecdfe))[0x0];}}else{if('r'==_0x2674bb[_0x4afe3c(0x124)]&&_0x2674bb[_0x4afe3c(0x12d)][0x0]){const _0x315148=_0x2674bb[_0x4afe3c(0x12d)][0x0];if(_0x23641b[_0x4afe3c(0x10b)]=function(_0x5c4441){const _0x1128eb=_0x4afe3c;_0x5c4441[_0x1128eb(0x10d)]=_0x315148;},_0x32591a){const _0xe730a=new _0x49a0f5(_0xa8f2e5);_0xe730a[_0x4afe3c(0x12b)](_0x23641b);const _0x4da871=Array[_0x4afe3c(0x12c)](_0x518066[_0x4afe3c(0xf4)](_0xe730a,{'bind':!0x1})),_0x4f0aad=_0x518066[_0x4afe3c(0xe7)][_0x4afe3c(0x11d)](_0x4afe3c(0x102));_0x4f0aad[_0x4afe3c(0xf6)](..._0x4da871);const _0x50dbae=Array[_0x4afe3c(0x12c)](_0x518066[_0x4afe3c(0xfb)](_0x4f0aad));_0x50dbae[_0x4afe3c(0x10c)]>0x1?_0x23641b[_0x4afe3c(0x12b)](_0x50dbae):_0x23641b=_0x50dbae[0x0];}}}if(_0x2674bb[_0x4afe3c(0x115)]){for(const [_0x428b24,_0x4754e3]of _0x2674bb[_0x4afe3c(0x115)])_0x23641b[_0x4afe3c(0xfd)](_0x428b24,_0x4754e3);}const _0x570376=void 0x0===_0x2674bb[_0x4afe3c(0x123)]?null:_0x2674bb[_0x4afe3c(0x123)];return null!==_0x570376&&(_0x23641b[_0x4afe3c(0x100)]=()=>_0x570376),_0x23641b;}}[_0x5837f2(0x112)](_0xa228d5){const _0x247370=_0x5837f2,_0x1e1b1f=JSON[_0x247370(0x130)](_0xa228d5),_0x568f2e=this[_0x247370(0x107)][_0x247370(0x11b)][_0x247370(0x122)][_0x247370(0x12a)],_0x16bb4d=new _0x49a0f5(_0x568f2e,_0x1e1b1f[_0x247370(0xf9)](_0x35091d=>this[_0x247370(0x103)](_0x35091d,!0x0)));return this[_0x247370(0x107)][_0x247370(0x127)][_0x247370(0xef)](_0x16bb4d);}[_0x5837f2(0x119)](_0xa9e010){const _0x5bcf05=_0x5837f2;return(_0xa9e010=_0xa9e010[_0x5bcf05(0x106)](_0x3644f2=>!_0x3644f2[_0x5bcf05(0xf2)]||_0x5bcf05(0xe9)!==_0x3644f2[_0x5bcf05(0xf2)]&&_0x5bcf05(0x105)!==_0x3644f2[_0x5bcf05(0xf2)]))[_0x5bcf05(0xed)](_0x326a4b=>{const _0x1b927d=_0x5bcf05;_0x1b927d(0x110)!=typeof _0x326a4b&&(_0x326a4b[_0x1b927d(0x12d)]=this[_0x1b927d(0x119)](_0x326a4b[_0x1b927d(0x12d)]),_0x326a4b[_0x1b927d(0xfe)]=_0x326a4b[_0x1b927d(0xfe)][_0x1b927d(0x106)](_0x208f55=>!_0x208f55[0x0][_0x1b927d(0x101)](_0x1b927d(0xeb))));}),_0xa9e010;}}
|