@ckeditor/ckeditor5-revision-history 0.0.0-nightly-20250709.0 → 0.0.0-nightly-20250711.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
|
+
(_0x221b81=>{const {vi:{dictionary:_0x193472,getPluralForm:_0x28776e}}={'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':_0x4e0a82=>0x0}};_0x221b81['vi']||={'dictionary':{},'getPluralForm':null},_0x221b81['vi']['dictionary']=Object['assign'](_0x221b81['vi']['dictionary'],_0x193472),_0x221b81['vi']['getPluralForm']=_0x28776e;})(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':_0x194eaf=>0x0}};
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
(
|
|
23
|
+
(_0x5adf77=>{const {'zh-cn':{dictionary:_0x294dd4,getPluralForm:_0x514846}}={'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':_0x5f5b57=>0x0}};_0x5adf77['zh-cn']||={'dictionary':{},'getPluralForm':null},_0x5adf77['zh-cn']['dictionary']=Object['assign'](_0x5adf77['zh-cn']['dictionary'],_0x294dd4),_0x5adf77['zh-cn']['getPluralForm']=_0x514846;})(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':_0x531615=>0x0}};
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
(
|
|
23
|
+
(_0x2ebb68=>{const {zh:{dictionary:_0x482150,getPluralForm:_0x3a5dfb}}={'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':_0x94dd61=>0x0}};_0x2ebb68['zh']||={'dictionary':{},'getPluralForm':null},_0x2ebb68['zh']['dictionary']=Object['assign'](_0x2ebb68['zh']['dictionary'],_0x482150),_0x2ebb68['zh']['getPluralForm']=_0x3a5dfb;})(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-20250711.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-20250711.0",
|
|
43
|
+
"@ckeditor/ckeditor5-comments": "0.0.0-nightly-20250711.0",
|
|
44
|
+
"@ckeditor/ckeditor5-core": "0.0.0-nightly-20250711.0",
|
|
45
|
+
"@ckeditor/ckeditor5-editor-classic": "0.0.0-nightly-20250711.0",
|
|
46
|
+
"@ckeditor/ckeditor5-engine": "0.0.0-nightly-20250711.0",
|
|
47
|
+
"@ckeditor/ckeditor5-icons": "0.0.0-nightly-20250711.0",
|
|
48
|
+
"@ckeditor/ckeditor5-ui": "0.0.0-nightly-20250711.0",
|
|
49
|
+
"@ckeditor/ckeditor5-utils": "0.0.0-nightly-20250711.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-20250711.0",
|
|
52
|
+
"ckeditor5-collaboration": "0.0.0-nightly-20250711.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 _0x186e(){var _0x59c46f=['51mNgpZP','data','11223eeSKpu','type','createdAt','set','toJSON','2805084uMMpow','1112lXYjXQ','rootName','19178350XzXacY','38416UjygCr','author','335702AkkZxf','427275VWgpLx','6MSxAsV','3975734UnDTlR'];_0x186e=function(){return _0x59c46f;};return _0x186e();}var _0x257464=_0x3dcb;(function(_0x282576,_0x252664){var _0x495715=_0x3dcb,_0x12aeea=_0x282576();while(!![]){try{var _0x1c601a=parseInt(_0x495715(0xce))/0x1+-parseInt(_0x495715(0xdd))/0x2*(parseInt(_0x495715(0xd2))/0x3)+-parseInt(_0x495715(0xd9))/0x4+-parseInt(_0x495715(0xcf))/0x5*(parseInt(_0x495715(0xd0))/0x6)+-parseInt(_0x495715(0xd1))/0x7+-parseInt(_0x495715(0xda))/0x8*(parseInt(_0x495715(0xd4))/0x9)+parseInt(_0x495715(0xdc))/0xa;if(_0x1c601a===_0x252664)break;else _0x12aeea['push'](_0x12aeea['shift']());}catch(_0x59db31){_0x12aeea['push'](_0x12aeea['shift']());}}}(_0x186e,0x61684));function _0x3dcb(_0x4d6b27,_0x43544a){var _0x186e42=_0x186e();return _0x3dcb=function(_0x3dcb2d,_0x10a8cf){_0x3dcb2d=_0x3dcb2d-0xce;var _0x4f25e3=_0x186e42[_0x3dcb2d];return _0x4f25e3;},_0x3dcb(_0x4d6b27,_0x43544a);}import{ObservableMixin as _0x617cd0,uid as _0xd243eb}from'ckeditor5/src/utils.js';export class ChangeItem extends/* #__PURE__ -- @preserve */
|
|
24
|
+
_0x617cd0(){['id'];[_0x257464(0xde)];[_0x257464(0xd5)];[_0x257464(0xd3)];[_0x257464(0xdb)];constructor(_0x1914df){var _0x5b7dc4=_0x257464;super(),this['id']=_0x1914df['id']||_0xd243eb(),this[_0x5b7dc4(0xde)]=_0x1914df[_0x5b7dc4(0xde)],this[_0x5b7dc4(0xd5)]=_0x1914df[_0x5b7dc4(0xd5)],this[_0x5b7dc4(0xd3)]=_0x1914df[_0x5b7dc4(0xd3)]||{},this[_0x5b7dc4(0xdb)]=_0x1914df[_0x5b7dc4(0xdb)],this[_0x5b7dc4(0xd7)](_0x5b7dc4(0xd6),_0x1914df[_0x5b7dc4(0xd6)]);}[_0x257464(0xd8)](){var _0x4df8af=_0x257464;return{'id':this['id'],'authorId':this[_0x4df8af(0xde)]['id'],'type':this[_0x4df8af(0xd5)],'data':this[_0x4df8af(0xd3)],'createdAt':this[_0x4df8af(0xd6)]};}}
|
|
@@ -20,5 +20,5 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
const
|
|
24
|
-
|
|
23
|
+
const _0x452d38=_0x3eba;(function(_0x45cca6,_0x139c5e){const _0x374de6=_0x3eba,_0x5dd4b2=_0x45cca6();while(!![]){try{const _0x12d29d=-parseInt(_0x374de6(0x151))/0x1*(-parseInt(_0x374de6(0x15c))/0x2)+-parseInt(_0x374de6(0x150))/0x3+parseInt(_0x374de6(0x165))/0x4+-parseInt(_0x374de6(0x15e))/0x5*(-parseInt(_0x374de6(0x157))/0x6)+parseInt(_0x374de6(0x163))/0x7+parseInt(_0x374de6(0x15a))/0x8+parseInt(_0x374de6(0x166))/0x9*(-parseInt(_0x374de6(0x156))/0xa);if(_0x12d29d===_0x139c5e)break;else _0x5dd4b2['push'](_0x5dd4b2['shift']());}catch(_0x1ba883){_0x5dd4b2['push'](_0x5dd4b2['shift']());}}}(_0x42a5,0x3ccac));import{Editor as _0x4eec82,ElementApiMixin as _0x50c039}from'ckeditor5/src/core.js';function _0x3eba(_0x39c103,_0x44d6fc){const _0x42a526=_0x42a5();return _0x3eba=function(_0x3eba5f,_0x510fd9){_0x3eba5f=_0x3eba5f-0x14e;let _0x49dbcb=_0x42a526[_0x3eba5f];return _0x49dbcb;},_0x3eba(_0x39c103,_0x44d6fc);}import{RevisionViewerEditorUI as _0x333bd2}from'./revisionviewereditorui.js';import{RevisionViewerEditorUIView as _0x166871}from'./revisionviewereditoruiview.js';export class RevisionViewerEditor extends/* #__PURE__ -- @preserve */
|
|
24
|
+
_0x50c039(_0x4eec82){[_0x452d38(0x14e)];get['ui'](){const _0xaeb527=_0x452d38;return this[_0xaeb527(0x14e)];}constructor(_0x54fa66,_0x56f22f){const _0x53192c=_0x452d38;super(_0x56f22f),this[_0x53192c(0x16a)]=_0x54fa66,this[_0x53192c(0x167)][_0x53192c(0x169)][_0x53192c(0x160)]();const _0x3ecc13=new _0x166871(this[_0x53192c(0x162)],this[_0x53192c(0x153)][_0x53192c(0x15f)],{'shouldToolbarGroupWhenFull':!0x0});this[_0x53192c(0x14e)]=new _0x333bd2(this,_0x3ecc13);}[_0x452d38(0x154)](){const _0x219c8b=_0x452d38;return this[_0x219c8b(0x15d)](),this['ui'][_0x219c8b(0x154)](),super[_0x219c8b(0x154)]();}static async[_0x452d38(0x168)](_0x25763f,_0x4ba40f){const _0x574cb1=_0x452d38,_0x19ad8a=new this(_0x25763f,_0x4ba40f);return await _0x19ad8a[_0x574cb1(0x161)](),await _0x19ad8a['ui'][_0x574cb1(0x155)](_0x25763f),await _0x19ad8a[_0x574cb1(0x152)][_0x574cb1(0x155)](_0x19ad8a[_0x574cb1(0x158)][_0x574cb1(0x15b)](_0x574cb1(0x164))||''),_0x19ad8a[_0x574cb1(0x14f)](_0x574cb1(0x159)),_0x19ad8a;}}function _0x42a5(){const _0x8d14e7=['118023NvXfka','4722FNUkXE','data','editing','destroy','init','130UftMJN','728844mHOtLL','config','ready','1944336lwaAqd','get','102rEkBml','updateSourceElement','10voaJEl','view','createRoot','initPlugins','locale','2538396LRYFYP','initialData','488088IMJecm','639081AyPXGU','model','create','document','sourceElement','_ui','fire'];_0x42a5=function(){return _0x8d14e7;};return _0x42a5();}
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
const
|
|
23
|
+
const _0x238352=_0x35ac;function _0x4a83(){const _0x44119d=['get','detachDomRoot','viewportOffset','ready','restore','render','_view','stickyPanel','addToolbar','editable','attachDomRoot','18aNJjZN','rootName','isFocused','element','name','setEditableElement','replace','_toolbarConfig','fire','7078484FUMZHX','limiterElement','init','viewportTopOffset','3762056STxHoR','1423655sQtMOj','config','focusTracker','211492MzODne','componentFactory','toolbar','editor','fillFromConfig','bind','isActive','23650872KWatbP','863736EwgZKu','document','view','260946IWdpFo','_elementReplacer','editing','destroy','getRoot','_initToolbar'];_0x4a83=function(){return _0x44119d;};return _0x4a83();}(function(_0x7fe29,_0x1760a0){const _0x4c9129=_0x35ac,_0x2de9b5=_0x7fe29();while(!![]){try{const _0x402445=parseInt(_0x4c9129(0xf8))/0x1+parseInt(_0x4c9129(0x100))/0x2+parseInt(_0x4c9129(0x103))/0x3+-parseInt(_0x4c9129(0xf4))/0x4+-parseInt(_0x4c9129(0xf5))/0x5*(parseInt(_0x4c9129(0xe7))/0x6)+-parseInt(_0x4c9129(0xf0))/0x7+parseInt(_0x4c9129(0xff))/0x8;if(_0x402445===_0x1760a0)break;else _0x2de9b5['push'](_0x2de9b5['shift']());}catch(_0x22604e){_0x2de9b5['push'](_0x2de9b5['shift']());}}}(_0x4a83,0xd708e));import{EditorUI as _0x2183e4,normalizeToolbarConfig as _0xb62b58}from'ckeditor5/src/ui.js';import{ElementReplacer as _0x15b3a8}from'ckeditor5/src/utils.js';function _0x35ac(_0x32a661,_0x3d3e5c){const _0x4a8380=_0x4a83();return _0x35ac=function(_0x35ac2e,_0x3fed67){_0x35ac2e=_0x35ac2e-0xe6;let _0x246cc4=_0x4a8380[_0x35ac2e];return _0x246cc4;},_0x35ac(_0x32a661,_0x3d3e5c);}export class RevisionViewerEditorUI extends _0x2183e4{[_0x238352(0x10f)];[_0x238352(0xee)];[_0x238352(0x104)];get[_0x238352(0x102)](){const _0x551e06=_0x238352;return this[_0x551e06(0x10f)];}constructor(_0x248577,_0x47d72c){const _0xdbd96=_0x238352;super(_0x248577),this[_0xdbd96(0x10f)]=_0x47d72c,this[_0xdbd96(0xee)]=_0xb62b58(_0x248577[_0xdbd96(0xf6)][_0xdbd96(0x109)](_0xdbd96(0xfa))),this[_0xdbd96(0x104)]=new _0x15b3a8();}get[_0x238352(0xea)](){const _0x2bd5b2=_0x238352;return this[_0x2bd5b2(0x102)][_0x2bd5b2(0xea)];}[_0x238352(0xf2)](_0x3703b9){const _0x54ca67=_0x238352,_0x70a601=this[_0x54ca67(0xfb)],_0x18ce98=this[_0x54ca67(0x102)],_0x86809d=_0x70a601[_0x54ca67(0x105)][_0x54ca67(0x102)],_0x202cbb=_0x18ce98[_0x54ca67(0x112)],_0x1419e6=_0x86809d[_0x54ca67(0x101)][_0x54ca67(0x107)]();_0x202cbb[_0x54ca67(0xeb)]=_0x1419e6[_0x54ca67(0xe8)],_0x18ce98[_0x54ca67(0x10e)]();const _0x5c4d89=_0x202cbb[_0x54ca67(0xea)];this[_0x54ca67(0xec)](_0x202cbb[_0x54ca67(0xeb)],_0x5c4d89),_0x18ce98[_0x54ca67(0x112)][_0x54ca67(0xfd)](_0x54ca67(0xe9))['to'](this[_0x54ca67(0xf7)]),_0x86809d[_0x54ca67(0xe6)](_0x5c4d89),this[_0x54ca67(0x104)][_0x54ca67(0xed)](_0x3703b9,this[_0x54ca67(0xea)]),this[_0x54ca67(0x108)](),this[_0x54ca67(0xef)](_0x54ca67(0x10c));}[_0x238352(0x106)](){const _0x32d5db=_0x238352;super[_0x32d5db(0x106)]();const _0x570aa9=this[_0x32d5db(0x102)],_0xf734dd=this[_0x32d5db(0xfb)][_0x32d5db(0x105)][_0x32d5db(0x102)];this[_0x32d5db(0x104)][_0x32d5db(0x10d)](),_0xf734dd[_0x32d5db(0x10a)](_0x570aa9[_0x32d5db(0x112)][_0x32d5db(0xeb)]),_0x570aa9[_0x32d5db(0x106)]();}[_0x238352(0x108)](){const _0x94e320=_0x238352,_0xf351ac=this[_0x94e320(0x102)];_0xf351ac[_0x94e320(0x110)][_0x94e320(0xfd)](_0x94e320(0xfe))['to'](this[_0x94e320(0xf7)],_0x94e320(0xe9)),_0xf351ac[_0x94e320(0x110)][_0x94e320(0xf1)]=_0xf351ac[_0x94e320(0xea)],_0xf351ac[_0x94e320(0x110)][_0x94e320(0xfd)](_0x94e320(0xf3))['to'](this,_0x94e320(0x10b),({top:_0x5d3750})=>_0x5d3750),_0xf351ac[_0x94e320(0xfa)][_0x94e320(0xfc)](this[_0x94e320(0xee)],this[_0x94e320(0xf9)]),this[_0x94e320(0x111)](_0xf351ac[_0x94e320(0xfa)]);}}
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
var
|
|
23
|
+
var _0x528a48=_0x449e;(function(_0x415922,_0x871ebf){var _0x139593=_0x449e,_0x44a98d=_0x415922();while(!![]){try{var _0x4ecc1d=parseInt(_0x139593(0x1af))/0x1*(parseInt(_0x139593(0x1a9))/0x2)+parseInt(_0x139593(0x1a3))/0x3*(-parseInt(_0x139593(0x1a7))/0x4)+-parseInt(_0x139593(0x1ad))/0x5*(-parseInt(_0x139593(0x1a4))/0x6)+parseInt(_0x139593(0x19d))/0x7*(parseInt(_0x139593(0x1a6))/0x8)+parseInt(_0x139593(0x1ab))/0x9+parseInt(_0x139593(0x19c))/0xa+-parseInt(_0x139593(0x1a2))/0xb;if(_0x4ecc1d===_0x871ebf)break;else _0x44a98d['push'](_0x44a98d['shift']());}catch(_0x58f644){_0x44a98d['push'](_0x44a98d['shift']());}}}(_0x2484,0x40c61));import{BoxedEditorUIView as _0x1cdc96,InlineEditableUIView as _0x162f91,StickyPanelView as _0x21a01c,ToolbarView as _0x301b4f}from'ckeditor5/src/ui.js';import'@ckeditor/ckeditor5-editor-classic/theme/classiceditor.css';function _0x2484(){var _0x3d72ca=['832930iLAQep','35637QLajhf','toolbar','_editable','editable','render','7614211ZAWvld','471CLrePC','1414692pXmucd','shouldToolbarGroupWhenFull','552arOYDP','4516AzSfSz','top','501918rOJDIb','add','1921086MGUFys','main','5bwfUta','stickyPanel','1phcbHI','content'];_0x2484=function(){return _0x3d72ca;};return _0x2484();}function _0x449e(_0x1c2145,_0x3a364e){var _0x24844d=_0x2484();return _0x449e=function(_0x449e84,_0x59f569){_0x449e84=_0x449e84-0x19c;var _0x4e5164=_0x24844d[_0x449e84];return _0x4e5164;},_0x449e(_0x1c2145,_0x3a364e);}export class RevisionViewerEditorUIView extends _0x1cdc96{[_0x528a48(0x19f)];[_0x528a48(0x1ae)];[_0x528a48(0x19e)];get[_0x528a48(0x1a0)](){var _0x184750=_0x528a48;return this[_0x184750(0x19f)];}constructor(_0x215262,_0x1bb526,_0x3b61b1={}){var _0x568dda=_0x528a48;super(_0x215262),this[_0x568dda(0x1ae)]=new _0x21a01c(_0x215262),this[_0x568dda(0x19e)]=new _0x301b4f(_0x215262,{'shouldGroupWhenFull':_0x3b61b1[_0x568dda(0x1a5)]}),this[_0x568dda(0x19f)]=new _0x162f91(_0x215262,_0x1bb526);}[_0x528a48(0x1a1)](){var _0x503da5=_0x528a48;super[_0x503da5(0x1a1)](),this[_0x503da5(0x1ae)][_0x503da5(0x1b0)][_0x503da5(0x1aa)](this[_0x503da5(0x19e)]),this[_0x503da5(0x1a8)][_0x503da5(0x1aa)](this[_0x503da5(0x1ae)]),this[_0x503da5(0x1ac)][_0x503da5(0x1aa)](this[_0x503da5(0x1a0)]);}}
|
package/src/index.js
CHANGED
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
(function(
|
|
23
|
+
(function(_0x1581b5,_0x12a873){var _0x1f7dcf=_0x561e,_0x100e37=_0x1581b5();while(!![]){try{var _0x429c57=-parseInt(_0x1f7dcf(0x188))/0x1+-parseInt(_0x1f7dcf(0x18e))/0x2*(parseInt(_0x1f7dcf(0x18a))/0x3)+-parseInt(_0x1f7dcf(0x191))/0x4+-parseInt(_0x1f7dcf(0x18f))/0x5*(-parseInt(_0x1f7dcf(0x18d))/0x6)+-parseInt(_0x1f7dcf(0x192))/0x7+parseInt(_0x1f7dcf(0x189))/0x8*(parseInt(_0x1f7dcf(0x18b))/0x9)+parseInt(_0x1f7dcf(0x18c))/0xa*(parseInt(_0x1f7dcf(0x190))/0xb);if(_0x429c57===_0x12a873)break;else _0x100e37['push'](_0x100e37['shift']());}catch(_0x2fd21a){_0x100e37['push'](_0x100e37['shift']());}}}(_0x1a2f,0x424f1));export{Revision}from'./revision.js';export{RevisionHistory}from'./revisionhistory.js';export{RevisionsRepository}from'./revisionsrepository.js';export{RevisionHistoryUtils}from'./revisionhistoryutils.js';export{RevisionViewerLoadingOverlay}from'./ui/revisionviewer/revisionviewerloadingoverlay.js';export{RevisionHistoryUI}from'./ui/revisionhistory/revisionhistoryui.js';export{RevisionTracker}from'./revisiontracker.js';export{RevisionViewer,RestoreRevisionCommand,ShowChangeCommand}from'./revisionviewer.js';export{RevisionsSidebar}from'./ui/revisionssidebar/revisionssidebar.js';export{RevisionViewerUI}from'./ui/revisionviewer/revisionviewerui.js';export{RevisionViewerEditor}from'./editor/revisionviewereditor.js';function _0x561e(_0xadcc8f,_0x107040){var _0x1a2fb8=_0x1a2f();return _0x561e=function(_0x561ec1,_0x4bd2f4){_0x561ec1=_0x561ec1-0x188;var _0x23a8f9=_0x1a2fb8[_0x561ec1];return _0x23a8f9;},_0x561e(_0xadcc8f,_0x107040);}import'./augmentation.js';function _0x1a2f(){var _0xf4eb3=['708141kiTKyt','261038oLWibQ','8FZpHkh','800853xodYZj','2124477KakpYp','1120iVUPSu','14832CEenEL','2UHRAcH','90jmBdXa','62722BqssRJ','73680MqHqkE'];_0x1a2f=function(){return _0xf4eb3;};return _0x1a2f();}
|
package/src/revision.js
CHANGED
|
@@ -20,5 +20,5 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
function
|
|
24
|
-
|
|
23
|
+
function _0xc08d(){const _0x4d0246=['4946628QyvNYd','map','model','fire','350HuoOrR','1585000hpvteO','5092104KqKBqS','attributes','creatorId','name','64996tLdtGp','toJSON','2940273uvLZes','removeAttribute','diffData','_update','toVersion','authorsIds','creator','authors','set','27542976YrKeig','createdAt','setName','setAttribute','3303394IiyCSl','fromVersion'];_0xc08d=function(){return _0x4d0246;};return _0xc08d();}const _0x712a54=_0x5dba;(function(_0x52d9f8,_0x1234d6){const _0x43a194=_0x5dba,_0x26b699=_0x52d9f8();while(!![]){try{const _0x25f54f=-parseInt(_0x43a194(0xf5))/0x1+-parseInt(_0x43a194(0xee))/0x2+-parseInt(_0x43a194(0xdb))/0x3+-parseInt(_0x43a194(0xdf))/0x4*(-parseInt(_0x43a194(0xf4))/0x5)+parseInt(_0x43a194(0xf0))/0x6+parseInt(_0x43a194(0xe1))/0x7+parseInt(_0x43a194(0xea))/0x8;if(_0x25f54f===_0x1234d6)break;else _0x26b699['push'](_0x26b699['shift']());}catch(_0x2d2bf3){_0x26b699['push'](_0x26b699['shift']());}}}(_0xc08d,0xd975a));import{ObservableMixin as _0x18b7a0,uid as _0x22cd70}from'ckeditor5/src/utils.js';import{cloneDeep as _0x11640e,set as _0x637a43,unset as _0x1de858}from'es-toolkit/compat';function _0x5dba(_0x280a40,_0xd5e9dd){const _0xc08d67=_0xc08d();return _0x5dba=function(_0x5dba04,_0x1c7f43){_0x5dba04=_0x5dba04-0xdb;let _0x2b6792=_0xc08d67[_0x5dba04];return _0x2b6792;},_0x5dba(_0x280a40,_0xd5e9dd);}export class Revision extends/* #__PURE__ -- @preserve */
|
|
24
|
+
_0x18b7a0(){['id'];[_0x712a54(0xe7)];[_0x712a54(0xe8)];[_0x712a54(0xe3)];[_0x712a54(0xe5)];[_0x712a54(0xef)];[_0x712a54(0xf2)];constructor(_0x44d848){const _0x517ee3=_0x712a54;super(),this['id']=_0x44d848['id']||_0x22cd70(),this[_0x517ee3(0xe7)]=_0x44d848[_0x517ee3(0xe7)]||null,this[_0x517ee3(0xe8)]=_0x44d848[_0x517ee3(0xe8)]||[],this[_0x517ee3(0xe3)]=_0x44d848[_0x517ee3(0xe3)]||null,this[_0x517ee3(0xe5)]=_0x44d848[_0x517ee3(0xe5)]||0x0,this[_0x517ee3(0xef)]=_0x44d848[_0x517ee3(0xef)]||0x0,this[_0x517ee3(0xe9)](_0x517ee3(0xde),_0x44d848[_0x517ee3(0xde)]||''),this[_0x517ee3(0xe9)](_0x517ee3(0xeb),_0x44d848[_0x517ee3(0xeb)]||new Date()),this[_0x517ee3(0xe9)](_0x517ee3(0xdc),_0x44d848[_0x517ee3(0xdc)]||{});}[_0x712a54(0xec)](_0x6017d7){const _0x26f0ab=_0x712a54;this[_0x26f0ab(0xe4)]({'name':_0x6017d7});}[_0x712a54(0xed)](_0x26ccb4,_0x5e5210){const _0xaf2d0c=_0x712a54,_0x3f5630=_0x11640e(this[_0xaf2d0c(0xdc)]);_0x637a43(_0x3f5630,_0x26ccb4,_0x5e5210),this[_0xaf2d0c(0xe4)]({'attributes':_0x3f5630});}[_0x712a54(0xe2)](_0xe3516a){const _0x5120b1=_0x712a54,_0x3c886f=_0x11640e(this[_0x5120b1(0xdc)]);_0x1de858(_0x3c886f,_0xe3516a),this[_0x5120b1(0xe4)]({'attributes':_0x3c886f});}[_0x712a54(0xe4)](_0x4bf1dc,_0x4be605=!0x1){const _0x12dc91=_0x712a54;let _0x39975d=!0x1;const _0x14dc2d={'id':this['id']},_0x49e093=[_0x12dc91(0xde),_0x12dc91(0xeb),_0x12dc91(0xe3),_0x12dc91(0xe8),_0x12dc91(0xdc),_0x12dc91(0xe5),_0x12dc91(0xef),_0x12dc91(0xdd)];for(const _0x2f6915 of _0x49e093){const _0x784296=_0x4bf1dc[_0x2f6915];void 0x0!==_0x784296&&_0x784296!==this[_0x2f6915]&&(this[_0x2f6915]=_0x784296,_0x14dc2d[_0x2f6915]=_0x784296,_0x39975d=!0x0);}_0x39975d&&(_0x14dc2d[_0x12dc91(0xe8)]&&(_0x14dc2d[_0x12dc91(0xe6)]=_0x14dc2d[_0x12dc91(0xe8)][_0x12dc91(0xf1)](_0xc2c53f=>_0xc2c53f['id']),delete _0x14dc2d[_0x12dc91(0xe8)]),this[_0x12dc91(0xf3)](_0x12dc91(0xe4),_0x14dc2d,_0x4be605));}[_0x712a54(0xe0)](){const _0x357e1d=_0x712a54;return{'id':this['id'],'name':this[_0x357e1d(0xde)],'creatorId':this[_0x357e1d(0xe7)]?this[_0x357e1d(0xe7)]['id']:null,'authorsIds':this[_0x357e1d(0xe8)][_0x357e1d(0xf1)](_0x35845a=>_0x35845a['id']),'diffData':this[_0x357e1d(0xe3)],'createdAt':this[_0x357e1d(0xeb)],'attributes':this[_0x357e1d(0xdc)],'fromVersion':this[_0x357e1d(0xef)],'toVersion':this[_0x357e1d(0xe5)]};}}
|
package/src/revisiondiff.js
CHANGED
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
function
|
|
23
|
+
function _0x52d1(_0x4a7c6d,_0x1d08b4){const _0x5a124c=_0x5a12();return _0x52d1=function(_0x52d1d7,_0x2be133){_0x52d1d7=_0x52d1d7-0x8f;let _0x281052=_0x5a124c[_0x52d1d7];return _0x281052;},_0x52d1(_0x4a7c6d,_0x1d08b4);}function _0x5a12(){const _0x4b38fd=['9RptFVB','1490XWRXBk','newRevisionId','532uAmMrW','455316DkdZhf','2128632BfJHdj','11hvFNik','2674winlnY','_setChanges','oldRevisionId','4568ROedlu','50355QKOizB','changes','67642jAXwZl','105oSpDSv','2544335fcTbgI','add'];_0x5a12=function(){return _0x4b38fd;};return _0x5a12();}const _0x542073=_0x52d1;(function(_0x2b8840,_0x47fd4f){const _0xbdf6bc=_0x52d1,_0x3d7899=_0x2b8840();while(!![]){try{const _0x259c8d=-parseInt(_0xbdf6bc(0x8f))/0x1*(-parseInt(_0xbdf6bc(0x9c))/0x2)+-parseInt(_0xbdf6bc(0x9d))/0x3*(-parseInt(_0xbdf6bc(0x92))/0x4)+-parseInt(_0xbdf6bc(0x9e))/0x5+-parseInt(_0xbdf6bc(0x93))/0x6+-parseInt(_0xbdf6bc(0x96))/0x7*(parseInt(_0xbdf6bc(0x99))/0x8)+parseInt(_0xbdf6bc(0x9a))/0x9*(parseInt(_0xbdf6bc(0x90))/0xa)+-parseInt(_0xbdf6bc(0x95))/0xb*(-parseInt(_0xbdf6bc(0x94))/0xc);if(_0x259c8d===_0x47fd4f)break;else _0x3d7899['push'](_0x3d7899['shift']());}catch(_0x49a79a){_0x3d7899['push'](_0x3d7899['shift']());}}}(_0x5a12,0x7e45a));import{Collection as _0xa25609}from'ckeditor5/src/utils.js';export class RevisionDiff{[_0x542073(0x91)];[_0x542073(0x98)];[_0x542073(0x9b)];constructor(_0x19a246,_0x3833e1){const _0x2a8a9d=_0x542073;this[_0x2a8a9d(0x91)]=_0x19a246,this[_0x2a8a9d(0x98)]=_0x3833e1,this[_0x2a8a9d(0x9b)]=new _0xa25609();}[_0x542073(0x97)](_0x42fdd1){const _0x1b47c5=_0x542073;for(const _0xfb2c41 of _0x42fdd1)this[_0x1b47c5(0x9b)][_0x1b47c5(0x9f)](_0xfb2c41);}}
|
package/src/revisionhistory.js
CHANGED
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
const _0x28c9da=_0xfb87;function _0xfb87(_0x4f160e,_0x3e8e21){const _0x1bca91=_0x1bca();return _0xfb87=function(_0xfb87a9,_0xfe1eb2){_0xfb87a9=_0xfb87a9-0x1ab;let _0x490871=_0x1bca91[_0xfb87a9];return _0x490871;},_0xfb87(_0x4f160e,_0x3e8e21);}(function(_0x28d73a,_0x3bcca4){const _0x120f81=_0xfb87,_0x145437=_0x28d73a();while(!![]){try{const _0x5d9821=parseInt(_0x120f81(0x23a))/0x1+parseInt(_0x120f81(0x1c4))/0x2+-parseInt(_0x120f81(0x21e))/0x3+-parseInt(_0x120f81(0x204))/0x4*(parseInt(_0x120f81(0x202))/0x5)+parseInt(_0x120f81(0x1f5))/0x6+parseInt(_0x120f81(0x1b3))/0x7+parseInt(_0x120f81(0x1c5))/0x8;if(_0x5d9821===_0x3bcca4)break;else _0x145437['push'](_0x145437['shift']());}catch(_0x1f4cf0){_0x145437['push'](_0x145437['shift']());}}}(_0x1bca,0x8d037));import{Plugin as _0x22ffdf}from'ckeditor5/src/core.js';import{CKEditorError as _0x54e9a6,uid as _0x39c17c}from'ckeditor5/src/utils.js';import{RevisionTracker as _0x4438f8}from'./revisiontracker.js';import{RevisionHistoryUI as _0x214874}from'./ui/revisionhistory/revisionhistoryui.js';import{RevisionViewer as _0x4fca8b}from'./revisionviewer.js';import{RevisionViewerUI as _0x11a0fa}from'./ui/revisionviewer/revisionviewerui.js';function _0x1bca(){const _0x48db15=['detachRoot','rootName','Autosave','isAttached','loadRevisionData','removeMarker','_enhanceShowRevisionViewerCallback','from','insert','DocumentOutlineUI','_update','getRevisionDocumentData','598994wkyOyO','6748064ihUBpQ','plugins','createdAt','getUser','refreshVisibility','restoreRevision','set','revisionHistory.viewerContainer','setAttribute','end','lazyRoots','revision-history-viewer-opened','_recalculatePageBreaks','long','exitToEditing','revisionHistory.restoreRevisionCallback','isEnabled','roots','save','style','creator','model','join','create','getRevisionRootsAttributes','repository','isReady','$graveyard','locale','adapter','Annotations','RevisionHistoryUtils','toLocaleDateString','toVersion','hide','isAnonymous','revisionHistory','selection','uiLanguage','has','isOpen','_getRevisionViewerEditorConfig','translations','RevisionViewer','_showRevisionViewer','users','init','revisionHistory.closeRevisionViewerCallback','149514xsslRt','data','getMarkersGroup','catch','editor','_restoreRevision','keys','RestrictedEditingMode','enqueueChange','enableReadOnlyMode','get','addRevisionData','_enhanceCloseRevisionViewerCallback','39385gGQQdx','getAttributeKeys','508VKwJib','includes','revisionHistory.requireRevisionName','push','saveRevision','error','getRevisions','then','Users','revision-history-missing-configuration','PaginationLookup','element','restrictedEditingException','parse','disableReadOnlyMode','showRevisionViewerCallback','toJSON','createRangeIn','toLocaleTimeString','DocumentOutline','numeric','document','closeRevisionViewerCallback','Restored','RevisionTracker','fromCharCode','3106845apVEbM','_closeRevisionViewer','change','getRoot','isPremiumPlugin','_viewerEditor','addUser','_cleanUp','none','map','isReadOnly','getRevision','view','fromVersion','RevisionViewerIntegration','changesNavigation','remove','revisionHistory.editorContainer','isRevisionViewerOpen','toolbar','indexOf','requires','display','name','addRoot','removeAttribute','bind','RevisionHistoryUI','804804AJZuUw','markers','update','define','result','isOfficialPlugin','pluginName','setSelection','RevisionsRepository','revisionHistory.viewerEditorElement','Dialog','commands','removeSelectionAttribute','block','revisionHistory.showRevisionViewerCallback','4485999vQgbpK','RevisionHistory','refreshPositioning','config','destroy'];_0x1bca=function(){return _0x48db15;};return _0x1bca();}import{RevisionsSidebar as _0x54fae7}from'./ui/revisionssidebar/revisionssidebar.js';import{RevisionViewerEditor as _0x992124}from'./editor/revisionviewereditor.js';import{getTranslation as _0x376a60}from'./utils/common-translations.js';import{sanitizeEditorConfig as _0x3082f8}from'ckeditor5-collaboration/src/collaboration-core.js';const d=[_0x28c9da(0x239),_0x28c9da(0x1fc)];export class RevisionViewerIntegration extends _0x22ffdf{[_0x28c9da(0x23e)];static get[_0x28c9da(0x240)](){const _0x1f19c4=_0x28c9da;return _0x1f19c4(0x22c);}static get[_0x28c9da(0x23f)](){return!0x0;}static get[_0x28c9da(0x222)](){return!0x0;}constructor(_0x2aea8e){const _0x136398=_0x28c9da;function _0x4d659c(_0x2fc6a8){const _0x5b4233=_0xfb87;return _0x2fc6a8[_0x5b4233(0x227)](_0x326eb6=>String[_0x5b4233(0x21d)](_0x326eb6))[_0x5b4233(0x1db)]('');}super(_0x2aea8e),this[_0x136398(0x23e)]=_0x136398(0x1ce),_0x2aea8e[_0x4d659c([0x65,0x64,0x69,0x74,0x69,0x6e,0x67])][_0x4d659c([0x76,0x69,0x65,0x77])][_0x4d659c([0x5f,0x6f,0x76,0x65,0x72,0x6c,0x61,0x79,0x4d,0x6f,0x64,0x65,0x48,0x69,0x6e,0x74])]=_0x4d659c([0x61,0x75,0x74,0x6f]),_0x2aea8e[_0x4d659c([0x5f,0x73,0x65,0x6e,0x64,0x55,0x73,0x61,0x67,0x65,0x52,0x65,0x71,0x75,0x65,0x73,0x74])]=()=>window[_0x4d659c([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65])][_0x4d659c([0x72,0x65,0x73,0x6f,0x6c,0x76,0x65])]({[_0x4d659c([0x73,0x74,0x61,0x74,0x75,0x73])]:_0x4d659c([0x6f,0x6b])});}}export class RevisionHistory extends _0x22ffdf{[_0x28c9da(0x223)];static get[_0x28c9da(0x240)](){const _0x16211b=_0x28c9da;return _0x16211b(0x1b4);}static get[_0x28c9da(0x23f)](){return!0x0;}static get[_0x28c9da(0x222)](){return!0x0;}static get[_0x28c9da(0x233)](){return[_0x4438f8,_0x214874];}constructor(_0x1251b2){const _0x3bff36=_0x28c9da;if(super(_0x1251b2),!this[_0x3bff36(0x1f9)][_0x3bff36(0x1b6)][_0x3bff36(0x1ff)](_0x3bff36(0x1e9)))throw new _0x54e9a6(_0x3bff36(0x20d),this);this[_0x3bff36(0x223)]=null,this[_0x3bff36(0x1cb)](_0x3bff36(0x230),!0x1),this[_0x3bff36(0x1f9)][_0x3bff36(0x1b6)][_0x3bff36(0x23d)](_0x3bff36(0x1b2),_0x3cae9d=>this[_0x3bff36(0x1f1)]({..._0x3cae9d,'translations':this[_0x3bff36(0x1f9)][_0x3bff36(0x1e1)][_0x3bff36(0x1ef)]})),this[_0x3bff36(0x1f9)][_0x3bff36(0x1b6)][_0x3bff36(0x23d)](_0x3bff36(0x1f4),_0x57ee6e=>this[_0x3bff36(0x21f)](_0x57ee6e)),this[_0x3bff36(0x1f9)][_0x3bff36(0x1b6)][_0x3bff36(0x23d)](_0x3bff36(0x1d4),_0x21d108=>this[_0x3bff36(0x1fa)](_0x21d108)),this[_0x3bff36(0x1f9)][_0x3bff36(0x1b6)][_0x3bff36(0x23d)](_0x3bff36(0x206),!0x1),this[_0x3bff36(0x1be)](),this[_0x3bff36(0x201)]();}set[_0x28c9da(0x1e2)](_0x2059a4){const _0x5dfb94=_0x28c9da;this[_0x5dfb94(0x1f9)][_0x5dfb94(0x1c6)][_0x5dfb94(0x1ff)](_0x5dfb94(0x21c))[_0x5dfb94(0x1e2)]=_0x2059a4;}get[_0x28c9da(0x1e2)](){const _0x149d34=_0x28c9da;return this[_0x149d34(0x1f9)][_0x149d34(0x1c6)][_0x149d34(0x1ff)](_0x149d34(0x21c))[_0x149d34(0x1e2)];}[_0x28c9da(0x200)](_0x1fdba5){const _0x32dfc9=_0x28c9da;return this[_0x32dfc9(0x1f9)][_0x32dfc9(0x1c6)][_0x32dfc9(0x1ff)](_0x32dfc9(0x21c))[_0x32dfc9(0x200)](_0x1fdba5);}[_0x28c9da(0x229)](_0x1d4631){const _0x2502f7=_0x28c9da;return this[_0x2502f7(0x1f9)][_0x2502f7(0x1c6)][_0x2502f7(0x1ff)](_0x2502f7(0x1ac))[_0x2502f7(0x229)](_0x1d4631);}[_0x28c9da(0x20a)](_0x574244){const _0x951e31=_0x28c9da;return this[_0x951e31(0x1f9)][_0x951e31(0x1c6)][_0x951e31(0x1ff)](_0x951e31(0x1ac))[_0x951e31(0x20a)](_0x574244||{'toJSON':!0x1});}[_0x28c9da(0x1ee)](){const _0x265c08=_0x28c9da,_0x27a516=this[_0x265c08(0x1f9)],_0x1e14b6=_0x3082f8(_0x27a516,d),_0x23d322=_0x27a516[_0x265c08(0x1c6)][_0x265c08(0x1ff)](_0x265c08(0x21c)),_0x3ad137=_0x27a516[_0x265c08(0x1c6)][_0x265c08(0x1ff)](_0x265c08(0x20c))[_0x265c08(0x1f2)];return _0x1e14b6[_0x265c08(0x231)]=[_0x265c08(0x1d3),_0x265c08(0x1ca),_0x265c08(0x22d)],delete _0x1e14b6[_0x265c08(0x1cf)],(_0x1e14b6[_0x265c08(0x1c6)][_0x265c08(0x207)](RevisionViewerIntegration,_0x4fca8b,_0x11a0fa,class extends _0x22ffdf{static get[_0x265c08(0x233)](){const _0x495bb5=_0x265c08;return[_0x4fca8b,_0x495bb5(0x20c)];}[_0x265c08(0x1f3)](){const _0x2864cf=_0x265c08,_0x2a62d1=this[_0x2864cf(0x1f9)][_0x2864cf(0x1c6)][_0x2864cf(0x1ff)](_0x2864cf(0x20c));for(const _0x372511 of _0x3ad137)_0x372511[_0x2864cf(0x1e8)]||_0x2a62d1[_0x2864cf(0x1c8)](_0x372511['id'])||_0x2a62d1[_0x2864cf(0x224)](_0x372511);const _0x4ff628=_0x23d322[_0x2864cf(0x1de)][_0x2864cf(0x20a)]();let _0x1cd128=null;const _0x4caaf1=this[_0x2864cf(0x1f9)][_0x2864cf(0x1c6)][_0x2864cf(0x1ff)](_0x2864cf(0x1f0));_0x4caaf1[_0x2864cf(0x1e2)]=_0x23d322[_0x2864cf(0x1e2)],_0x4caaf1[_0x2864cf(0x238)](_0x2864cf(0x1d5))['to'](_0x23d322),this[_0x2864cf(0x1f9)][_0x2864cf(0x1af)][_0x2864cf(0x1ff)](_0x2864cf(0x1ca))[_0x2864cf(0x238)](_0x2864cf(0x1d5))['to'](_0x27a516,_0x2864cf(0x228),_0x22a6db=>!_0x22a6db);for(const _0x5899a1 of _0x4ff628){const _0x433dff=null===_0x5899a1[_0x2864cf(0x1d9)];if(_0x433dff&&_0x5899a1[_0x2864cf(0x1e6)]===_0x5899a1[_0x2864cf(0x22b)])continue;const _0x3a388a=_0x5899a1[_0x2864cf(0x214)]();_0x4caaf1[_0x2864cf(0x200)](_0x3a388a,(_0x2e11de,_0x110343,_0x2f2de0)=>{const _0x3c60f4=_0x2864cf;if(_0x433dff){if(_0x1cd128)_0x1cd128[_0x3c60f4(0x1c2)](_0x2e11de,_0x110343);else{if(!_0x110343){const _0x1dced3=_0x2f2de0[_0x3c60f4(0x214)]();_0x1dced3['id']=_0x39c17c(),_0x23d322[_0x3c60f4(0x208)](_0x1dced3,_0x2f2de0[_0x3c60f4(0x1e6)])[_0x3c60f4(0x20b)](_0x16139a=>{_0x1cd128=_0x16139a;});}}}else _0x5899a1[_0x3c60f4(0x1c2)](_0x2e11de,_0x110343);});}}},_0x54fae7),_0x1e14b6);}[_0x28c9da(0x1be)](){const _0x24f743=_0x28c9da,_0x4c97cb=this[_0x24f743(0x1f9)][_0x24f743(0x1b6)][_0x24f743(0x1ff)](_0x24f743(0x1e9))[_0x24f743(0x213)];this[_0x24f743(0x1f9)][_0x24f743(0x1b6)][_0x24f743(0x1cb)](_0x24f743(0x1b2),async()=>{const _0x2a80d0=_0x24f743;this[_0x2a80d0(0x1f9)][_0x2a80d0(0x1fe)](_0x2a80d0(0x1d0));const _0x5ba840=this[_0x2a80d0(0x1f9)][_0x2a80d0(0x1c6)][_0x2a80d0(0x1ff)](_0x2a80d0(0x21c));if(this[_0x2a80d0(0x1f9)][_0x2a80d0(0x1c6)][_0x2a80d0(0x1ec)](_0x2a80d0(0x1ba))){const _0xf0f2bc=this[_0x2a80d0(0x1f9)][_0x2a80d0(0x1c6)][_0x2a80d0(0x1ff)](_0x2a80d0(0x1ba));await _0xf0f2bc[_0x2a80d0(0x1d7)]();}else await _0x5ba840[_0x2a80d0(0x23c)]();if(this[_0x2a80d0(0x1f9)][_0x2a80d0(0x1c6)][_0x2a80d0(0x1ec)](_0x2a80d0(0x20e))&&this[_0x2a80d0(0x1f9)][_0x2a80d0(0x1c6)][_0x2a80d0(0x1ff)](_0x2a80d0(0x20e))[_0x2a80d0(0x1d1)](),this[_0x2a80d0(0x1f9)][_0x2a80d0(0x1c6)][_0x2a80d0(0x1ec)](_0x2a80d0(0x1ae))){const _0x5dd3c9=this[_0x2a80d0(0x1f9)][_0x2a80d0(0x1c6)][_0x2a80d0(0x1ff)](_0x2a80d0(0x1ae));_0x5dd3c9[_0x2a80d0(0x1ed)]&&_0x5dd3c9[_0x2a80d0(0x1e7)]();}const _0x3b07fb=this[_0x2a80d0(0x1ee)]();return _0x4c97cb(_0x3b07fb)[_0x2a80d0(0x20b)](_0x5a4cb2=>{const _0x1e68aa=_0x2a80d0;return(this[_0x1e68aa(0x223)]=_0x5a4cb2,this[_0x1e68aa(0x1f9)][_0x1e68aa(0x1c6)][_0x1e68aa(0x1ec)](_0x1e68aa(0x1e3)))&&this[_0x1e68aa(0x1f9)][_0x1e68aa(0x1c6)][_0x1e68aa(0x1ff)](_0x1e68aa(0x1e3))[_0x1e68aa(0x1c9)](),(this[_0x1e68aa(0x1f9)][_0x1e68aa(0x1c6)][_0x1e68aa(0x1ec)](_0x1e68aa(0x217))&&(this[_0x1e68aa(0x1f9)][_0x1e68aa(0x1c6)][_0x1e68aa(0x1ff)](_0x1e68aa(0x1c1))[_0x1e68aa(0x22a)][_0x1e68aa(0x20f)][_0x1e68aa(0x1d8)][_0x1e68aa(0x234)]=_0x1e68aa(0x226)),_0x5a4cb2);})[_0x2a80d0(0x1f8)](_0x6e2ac0=>(console[_0x2a80d0(0x209)](_0x6e2ac0),this[_0x2a80d0(0x1f9)][_0x2a80d0(0x212)](_0x2a80d0(0x1d0)),null));});}[_0x28c9da(0x201)](){const _0x470e31=_0x28c9da,_0x274046=this[_0x470e31(0x1f9)][_0x470e31(0x1b6)][_0x470e31(0x1ff)](_0x470e31(0x1e9))[_0x470e31(0x21a)];this[_0x470e31(0x1f9)][_0x470e31(0x1b6)][_0x470e31(0x1cb)](_0x470e31(0x1f4),()=>(this[_0x470e31(0x1f9)][_0x470e31(0x1c6)][_0x470e31(0x1ec)](_0x470e31(0x20e))&&this[_0x470e31(0x1f9)][_0x470e31(0x1c6)][_0x470e31(0x1ff)](_0x470e31(0x20e))[_0x470e31(0x1d1)](),this[_0x470e31(0x1f9)][_0x470e31(0x1c6)][_0x470e31(0x1ec)](_0x470e31(0x217))&&(this[_0x470e31(0x1f9)][_0x470e31(0x1c6)][_0x470e31(0x1ff)](_0x470e31(0x1c1))[_0x470e31(0x22a)][_0x470e31(0x20f)][_0x470e31(0x1d8)][_0x470e31(0x234)]=''),this[_0x470e31(0x223)][_0x470e31(0x1c6)][_0x470e31(0x1ff)](_0x470e31(0x1f0))[_0x470e31(0x225)](),_0x274046(this[_0x470e31(0x223)])[_0x470e31(0x20b)](()=>{const _0x251b5f=_0x470e31;if(this[_0x251b5f(0x1f9)][_0x251b5f(0x212)](_0x251b5f(0x1d0)),this[_0x251b5f(0x223)]=null,this[_0x251b5f(0x1f9)][_0x251b5f(0x1c6)][_0x251b5f(0x1ec)](_0x251b5f(0x1e3))){const _0x5bd8a1=this[_0x251b5f(0x1f9)][_0x251b5f(0x1c6)][_0x251b5f(0x1ff)](_0x251b5f(0x1e3));_0x5bd8a1[_0x251b5f(0x1c9)](),_0x5bd8a1[_0x251b5f(0x1b5)]();}})));}[_0x28c9da(0x1f1)](_0x55fe63){const _0x3c7ca9=_0x28c9da,_0x4ed3aa=this[_0x3c7ca9(0x1f9)][_0x3c7ca9(0x1b6)][_0x3c7ca9(0x1ff)](_0x3c7ca9(0x22f)),_0x559540=this[_0x3c7ca9(0x1f9)][_0x3c7ca9(0x1b6)][_0x3c7ca9(0x1ff)](_0x3c7ca9(0x1cc)),_0x8ad6e7=this[_0x3c7ca9(0x1f9)][_0x3c7ca9(0x1b6)][_0x3c7ca9(0x1ff)](_0x3c7ca9(0x1ad));return _0x992124[_0x3c7ca9(0x1dc)](_0x8ad6e7,_0x55fe63)[_0x3c7ca9(0x20b)](_0x1a7753=>(_0x559540[_0x3c7ca9(0x1d8)][_0x3c7ca9(0x234)]=_0x3c7ca9(0x1b1),_0x4ed3aa[_0x3c7ca9(0x1d8)][_0x3c7ca9(0x234)]=_0x3c7ca9(0x226),this[_0x3c7ca9(0x230)]=!0x0,_0x1a7753));}[_0x28c9da(0x21f)](_0x1149a4){const _0x36d53f=_0x28c9da,_0x302dc3=this[_0x36d53f(0x1f9)][_0x36d53f(0x1b6)][_0x36d53f(0x1ff)](_0x36d53f(0x22f));return this[_0x36d53f(0x1f9)][_0x36d53f(0x1b6)][_0x36d53f(0x1ff)](_0x36d53f(0x1cc))[_0x36d53f(0x1d8)][_0x36d53f(0x234)]=_0x36d53f(0x226),_0x302dc3[_0x36d53f(0x1d8)][_0x36d53f(0x234)]='',this[_0x36d53f(0x230)]=!0x1,_0x1149a4[_0x36d53f(0x1b7)]();}async[_0x28c9da(0x1fa)](_0x5afeb5){const _0x462cd6=_0x28c9da,_0x526b05=this[_0x462cd6(0x1f9)],_0x3c6564=this[_0x462cd6(0x223)][_0x462cd6(0x1c6)][_0x462cd6(0x1ff)](_0x462cd6(0x1f0)),_0x53bda2=_0x526b05[_0x462cd6(0x1c6)][_0x462cd6(0x1ff)](_0x462cd6(0x21c)),_0x5a8ae2=_0x526b05[_0x462cd6(0x1c6)][_0x462cd6(0x1ff)](_0x462cd6(0x1e4)),_0x1f2648=_0x3c6564[_0x462cd6(0x1de)][_0x462cd6(0x229)](_0x5afeb5);let _0x1305f9,_0x5e26e5,_0x330059;try{await _0x5a8ae2[_0x462cd6(0x1bc)](_0x1f2648,this[_0x462cd6(0x1e2)]),_0x1305f9=_0x5a8ae2[_0x462cd6(0x1c3)](_0x1f2648),_0x5e26e5=_0x5a8ae2[_0x462cd6(0x1dd)](_0x1f2648);}catch(_0x5bfab){return void console[_0x462cd6(0x209)](_0x5bfab);}_0x526b05[_0x462cd6(0x1da)][_0x462cd6(0x220)](_0x3d8633=>{const _0x203b29=_0x462cd6;for(const _0x5331ac of Array[_0x203b29(0x1bf)](_0x526b05[_0x203b29(0x1da)][_0x203b29(0x23b)][_0x203b29(0x1f7)](_0x203b29(0x210))))_0x3d8633[_0x203b29(0x1bd)](_0x5331ac);}),_0x3c6564[_0x462cd6(0x1df)]=!0x1,_0x526b05[_0x462cd6(0x1da)][_0x462cd6(0x1fd)](_0x3d97ac=>{const _0x23ac07=_0x462cd6;_0x3d97ac[_0x23ac07(0x1ab)](null),_0x3d97ac[_0x23ac07(0x1b0)](_0x526b05[_0x23ac07(0x1da)][_0x23ac07(0x219)][_0x23ac07(0x1ea)][_0x23ac07(0x203)]());const _0x2aec10=Object[_0x23ac07(0x1fb)](_0x1305f9);for(const _0x6f8826 of _0x526b05[_0x23ac07(0x1da)][_0x23ac07(0x219)][_0x23ac07(0x1d6)])_0x23ac07(0x1e0)!=_0x6f8826[_0x23ac07(0x1b9)]&&_0x6f8826[_0x23ac07(0x1bb)]()&&!_0x2aec10[_0x23ac07(0x205)](_0x6f8826[_0x23ac07(0x1b9)])&&_0x3d97ac[_0x23ac07(0x1b8)](_0x6f8826);for(const _0x3457e6 of _0x2aec10){let _0x54fc0f=_0x526b05[_0x23ac07(0x1da)][_0x23ac07(0x219)][_0x23ac07(0x221)](_0x3457e6);_0x54fc0f&&_0x54fc0f[_0x23ac07(0x1bb)]()||(_0x54fc0f=_0x3d97ac[_0x23ac07(0x236)](_0x3457e6));const _0x2f6007=_0x5e26e5[_0x3457e6],_0x2bc5aa=Object[_0x23ac07(0x1fb)](_0x2f6007),_0x32c0fd=_0x1305f9[_0x3457e6];for(const _0x4196ab of _0x54fc0f[_0x23ac07(0x203)]())_0x2bc5aa[_0x23ac07(0x205)](_0x4196ab)||_0x3d97ac[_0x23ac07(0x237)](_0x4196ab,_0x54fc0f);for(const _0x46de0a of _0x2bc5aa)_0x3d97ac[_0x23ac07(0x1cd)](_0x46de0a,_0x5e26e5[_0x3457e6][_0x46de0a],_0x54fc0f);_0x3d97ac[_0x23ac07(0x22e)](_0x3d97ac[_0x23ac07(0x215)](_0x54fc0f)),_0x3d97ac[_0x23ac07(0x1c0)](_0x526b05[_0x23ac07(0x1f6)][_0x23ac07(0x211)](_0x32c0fd,_0x54fc0f),_0x54fc0f,0x0);}});const _0x54e0c9=_0x376a60(_0x526b05[_0x462cd6(0x1e1)],_0x462cd6(0x21b));if(_0x1f2648[_0x462cd6(0x235)])_0x330059=-0x1==_0x1f2648[_0x462cd6(0x235)][_0x462cd6(0x232)](_0x54e0c9)?_0x54e0c9+':\x20'+_0x1f2648[_0x462cd6(0x235)]:_0x1f2648[_0x462cd6(0x235)];else _0x330059=_0x54e0c9+':\x20'+(_0x1f2648[_0x462cd6(0x1c7)][_0x462cd6(0x1e5)](_0x526b05[_0x462cd6(0x1e1)][_0x462cd6(0x1eb)],{'month':_0x462cd6(0x1d2),'day':_0x462cd6(0x218)})+',\x20'+_0x1f2648[_0x462cd6(0x1c7)][_0x462cd6(0x216)](_0x526b05[_0x462cd6(0x1e1)][_0x462cd6(0x1eb)],{'hour':_0x462cd6(0x218),'minute':_0x462cd6(0x218)}));return await _0x53bda2[_0x462cd6(0x208)]({'name':_0x330059}),_0x3c6564[_0x462cd6(0x1df)]=!0x0,_0x526b05[_0x462cd6(0x1b6)][_0x462cd6(0x1ff)](_0x462cd6(0x1e9))[_0x462cd6(0x21a)]();}}
|
|
23
|
+
const _0x4b8cfa=_0x362a;(function(_0x2a1c59,_0x53e4f6){const _0x2d950d=_0x362a,_0x4caaff=_0x2a1c59();while(!![]){try{const _0x33aa2e=-parseInt(_0x2d950d(0x145))/0x1+-parseInt(_0x2d950d(0x110))/0x2+-parseInt(_0x2d950d(0xe3))/0x3*(parseInt(_0x2d950d(0xd4))/0x4)+-parseInt(_0x2d950d(0xfa))/0x5+parseInt(_0x2d950d(0x127))/0x6+-parseInt(_0x2d950d(0x129))/0x7+parseInt(_0x2d950d(0x10e))/0x8;if(_0x33aa2e===_0x53e4f6)break;else _0x4caaff['push'](_0x4caaff['shift']());}catch(_0x3fb9d5){_0x4caaff['push'](_0x4caaff['shift']());}}}(_0x582f,0x2794d));import{Plugin as _0x4ad2e3}from'ckeditor5/src/core.js';import{CKEditorError as _0x26a5db,uid as _0x1e23df}from'ckeditor5/src/utils.js';import{RevisionTracker as _0x194a14}from'./revisiontracker.js';import{RevisionHistoryUI as _0x5c1ab9}from'./ui/revisionhistory/revisionhistoryui.js';import{RevisionViewer as _0x3f43e5}from'./revisionviewer.js';import{RevisionViewerUI as _0x10ba17}from'./ui/revisionviewer/revisionviewerui.js';import{RevisionsSidebar as _0x5dcdc3}from'./ui/revisionssidebar/revisionssidebar.js';import{RevisionViewerEditor as _0x3adf3b}from'./editor/revisionviewereditor.js';import{getTranslation as _0x4f915c}from'./utils/common-translations.js';import{sanitizeEditorConfig as _0x1a5093}from'ckeditor5-collaboration/src/collaboration-core.js';function _0x362a(_0x17d5d7,_0x3511e3){const _0x582f04=_0x582f();return _0x362a=function(_0x362af5,_0x2c7d53){_0x362af5=_0x362af5-0xc4;let _0x326c77=_0x582f04[_0x362af5];return _0x326c77;},_0x362a(_0x17d5d7,_0x3511e3);}const d=[_0x4b8cfa(0xf3),_0x4b8cfa(0x101)];export class RevisionViewerIntegration extends _0x4ad2e3{[_0x4b8cfa(0x128)];static get[_0x4b8cfa(0xf9)](){const _0x15bf71=_0x4b8cfa;return _0x15bf71(0x12d);}static get[_0x4b8cfa(0x12b)](){return!0x0;}static get[_0x4b8cfa(0x112)](){return!0x0;}constructor(_0x2cb05b){const _0x5d78fb=_0x4b8cfa;function _0x58e6d5(_0x158c4c){const _0x15f65c=_0x362a;return _0x158c4c[_0x15f65c(0x111)](_0x28136a=>String[_0x15f65c(0xe1)](_0x28136a))[_0x15f65c(0xf4)]('');}super(_0x2cb05b),this[_0x5d78fb(0x128)]=_0x5d78fb(0xd7),_0x2cb05b[_0x58e6d5([0x65,0x64,0x69,0x74,0x69,0x6e,0x67])][_0x58e6d5([0x76,0x69,0x65,0x77])][_0x58e6d5([0x5f,0x6f,0x76,0x65,0x72,0x6c,0x61,0x79,0x4d,0x6f,0x64,0x65,0x48,0x69,0x6e,0x74])]=_0x58e6d5([0x61,0x75,0x74,0x6f]),_0x2cb05b[_0x58e6d5([0x5f,0x73,0x65,0x6e,0x64,0x55,0x73,0x61,0x67,0x65,0x52,0x65,0x71,0x75,0x65,0x73,0x74])]=()=>window[_0x58e6d5([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65])][_0x58e6d5([0x72,0x65,0x73,0x6f,0x6c,0x76,0x65])]({[_0x58e6d5([0x73,0x74,0x61,0x74,0x75,0x73])]:_0x58e6d5([0x6f,0x6b])});}}function _0x582f(){const _0x50e550=['get','adapter','init','toVersion','6652272giIGsW','isRevisionViewerOpen','159734eyZKar','map','isPremiumPlugin','RevisionHistory','create','revisionHistory','revisionHistory.viewerContainer','revisionHistory.editorContainer','_closeRevisionViewer','isOpen','editor','locale','getMarkersGroup','change','uiLanguage','push','catch','destroy','bind','changesNavigation','isAnonymous','selection','saveRevision','379806TyZAaj','result','1081031LGvqwX','refreshVisibility','isOfficialPlugin','style','RevisionViewerIntegration','Restored','from','RevisionsRepository','setSelection','getRevisionDocumentData','_recalculatePageBreaks','display','DocumentOutline','indexOf','loadRevisionData','isReady','Users','PaginationLookup','toJSON','addUser','save','none','isReadOnly','Annotations','model','requires','addRoot','enableReadOnlyMode','37957zTEeWY','name','showRevisionViewerCallback','remove','define','users','set','fromVersion','disableReadOnlyMode','refreshPositioning','revisionHistory.requireRevisionName','isAttached','createRangeIn','_getRevisionViewerEditorConfig','_showRevisionViewer','enqueueChange','_enhanceShowRevisionViewerCallback','RevisionHistoryUtils','restrictedEditingException','revisionHistory.showRevisionViewerCallback','long','Dialog','roots','getRevisions','has','detachRoot','restoreRevision','addRevisionData','DocumentOutlineUI','revisionHistory.restoreRevisionCallback','removeMarker','keys','Autosave','toLocaleDateString','repository','document','getUser','20BpQKbA','block','commands','end','markers','revision-history-missing-configuration','closeRevisionViewerCallback','includes','creator','_restoreRevision','getRevision','toLocaleTimeString','_cleanUp','fromCharCode','removeSelectionAttribute','140271rxjzbY','plugins','$graveyard','numeric','isEnabled','revisionHistory.closeRevisionViewerCallback','data','error','getAttributeKeys','_update','revision-history-viewer-opened','setAttribute','createdAt','toolbar','RevisionViewer','view','RevisionHistoryUI','join','hide','exitToEditing','parse','lazyRoots','pluginName','1133340RtKWZD','element','getRevisionRootsAttributes','update','rootName','then','config','RestrictedEditingMode','translations','RevisionTracker','getRoot','revisionHistory.viewerEditorElement','removeAttribute','_viewerEditor','_enhanceCloseRevisionViewerCallback','insert'];_0x582f=function(){return _0x50e550;};return _0x582f();}export class RevisionHistory extends _0x4ad2e3{[_0x4b8cfa(0x107)];static get[_0x4b8cfa(0xf9)](){const _0x588858=_0x4b8cfa;return _0x588858(0x113);}static get[_0x4b8cfa(0x12b)](){return!0x0;}static get[_0x4b8cfa(0x112)](){return!0x0;}static get[_0x4b8cfa(0x142)](){return[_0x194a14,_0x5c1ab9];}constructor(_0x20bc82){const _0x2656d5=_0x4b8cfa;if(super(_0x20bc82),!this[_0x2656d5(0x11a)][_0x2656d5(0x100)][_0x2656d5(0x10a)](_0x2656d5(0x115)))throw new _0x26a5db(_0x2656d5(0xd9),this);this[_0x2656d5(0x107)]=null,this[_0x2656d5(0x14b)](_0x2656d5(0x10f),!0x1),this[_0x2656d5(0x11a)][_0x2656d5(0x100)][_0x2656d5(0x149)](_0x2656d5(0x158),_0x512e65=>this[_0x2656d5(0x153)]({..._0x512e65,'translations':this[_0x2656d5(0x11a)][_0x2656d5(0x11b)][_0x2656d5(0x102)]})),this[_0x2656d5(0x11a)][_0x2656d5(0x100)][_0x2656d5(0x149)](_0x2656d5(0xe8),_0x112f79=>this[_0x2656d5(0x118)](_0x112f79)),this[_0x2656d5(0x11a)][_0x2656d5(0x100)][_0x2656d5(0x149)](_0x2656d5(0xcc),_0x5b43b9=>this[_0x2656d5(0xdd)](_0x5b43b9)),this[_0x2656d5(0x11a)][_0x2656d5(0x100)][_0x2656d5(0x149)](_0x2656d5(0x14f),!0x1),this[_0x2656d5(0x155)](),this[_0x2656d5(0x108)]();}set[_0x4b8cfa(0x10b)](_0x478f52){const _0x1be244=_0x4b8cfa;this[_0x1be244(0x11a)][_0x1be244(0xe4)][_0x1be244(0x10a)](_0x1be244(0x103))[_0x1be244(0x10b)]=_0x478f52;}get[_0x4b8cfa(0x10b)](){const _0x5d7cf5=_0x4b8cfa;return this[_0x5d7cf5(0x11a)][_0x5d7cf5(0xe4)][_0x5d7cf5(0x10a)](_0x5d7cf5(0x103))[_0x5d7cf5(0x10b)];}[_0x4b8cfa(0xca)](_0x37e5b0){const _0x5a310a=_0x4b8cfa;return this[_0x5a310a(0x11a)][_0x5a310a(0xe4)][_0x5a310a(0x10a)](_0x5a310a(0x103))[_0x5a310a(0xca)](_0x37e5b0);}[_0x4b8cfa(0xde)](_0xe6a1cf){const _0x27da8c=_0x4b8cfa;return this[_0x27da8c(0x11a)][_0x27da8c(0xe4)][_0x27da8c(0x10a)](_0x27da8c(0x130))[_0x27da8c(0xde)](_0xe6a1cf);}[_0x4b8cfa(0xc6)](_0x5c71c8){const _0x8e9ca7=_0x4b8cfa;return this[_0x8e9ca7(0x11a)][_0x8e9ca7(0xe4)][_0x8e9ca7(0x10a)](_0x8e9ca7(0x130))[_0x8e9ca7(0xc6)](_0x5c71c8||{'toJSON':!0x1});}[_0x4b8cfa(0x152)](){const _0x355d79=_0x4b8cfa,_0x28a47d=this[_0x355d79(0x11a)],_0x158818=_0x1a5093(_0x28a47d,d),_0x4a99f0=_0x28a47d[_0x355d79(0xe4)][_0x355d79(0x10a)](_0x355d79(0x103)),_0x131095=_0x28a47d[_0x355d79(0xe4)][_0x355d79(0x10a)](_0x355d79(0x139))[_0x355d79(0x14a)];return _0x158818[_0x355d79(0xf0)]=[_0x355d79(0xf6),_0x355d79(0xc9),_0x355d79(0x123)],delete _0x158818[_0x355d79(0xf8)],(_0x158818[_0x355d79(0xe4)][_0x355d79(0x11f)](RevisionViewerIntegration,_0x3f43e5,_0x10ba17,class extends _0x4ad2e3{static get[_0x355d79(0x142)](){const _0x688545=_0x355d79;return[_0x3f43e5,_0x688545(0x139)];}[_0x355d79(0x10c)](){const _0xada741=_0x355d79,_0xb16f29=this[_0xada741(0x11a)][_0xada741(0xe4)][_0xada741(0x10a)](_0xada741(0x139));for(const _0x8ef3dd of _0x131095)_0x8ef3dd[_0xada741(0x124)]||_0xb16f29[_0xada741(0xd3)](_0x8ef3dd['id'])||_0xb16f29[_0xada741(0x13c)](_0x8ef3dd);const _0x229536=_0x4a99f0[_0xada741(0xd1)][_0xada741(0xc6)]();let _0x18cd06=null;const _0xcb2cea=this[_0xada741(0x11a)][_0xada741(0xe4)][_0xada741(0x10a)](_0xada741(0xf1));_0xcb2cea[_0xada741(0x10b)]=_0x4a99f0[_0xada741(0x10b)],_0xcb2cea[_0xada741(0x122)](_0xada741(0xe7))['to'](_0x4a99f0),this[_0xada741(0x11a)][_0xada741(0xd6)][_0xada741(0x10a)](_0xada741(0xc9))[_0xada741(0x122)](_0xada741(0xe7))['to'](_0x28a47d,_0xada741(0x13f),_0x34e61a=>!_0x34e61a);for(const _0x27ef14 of _0x229536){const _0x57f83a=null===_0x27ef14[_0xada741(0xdc)];if(_0x57f83a&&_0x27ef14[_0xada741(0x10d)]===_0x27ef14[_0xada741(0x14c)])continue;const _0x27bfb7=_0x27ef14[_0xada741(0x13b)]();_0xcb2cea[_0xada741(0xca)](_0x27bfb7,(_0x278f5d,_0x543ea7,_0x10c39b)=>{const _0x4121bd=_0xada741;if(_0x57f83a){if(_0x18cd06)_0x18cd06[_0x4121bd(0xec)](_0x278f5d,_0x543ea7);else{if(!_0x543ea7){const _0x16e791=_0x10c39b[_0x4121bd(0x13b)]();_0x16e791['id']=_0x1e23df(),_0x4a99f0[_0x4121bd(0x126)](_0x16e791,_0x10c39b[_0x4121bd(0x10d)])[_0x4121bd(0xff)](_0x5973c3=>{_0x18cd06=_0x5973c3;});}}}else _0x27ef14[_0x4121bd(0xec)](_0x278f5d,_0x543ea7);});}}},_0x5dcdc3),_0x158818);}[_0x4b8cfa(0x155)](){const _0x141315=_0x4b8cfa,_0x469289=this[_0x141315(0x11a)][_0x141315(0x100)][_0x141315(0x10a)](_0x141315(0x115))[_0x141315(0x147)];this[_0x141315(0x11a)][_0x141315(0x100)][_0x141315(0x14b)](_0x141315(0x158),async()=>{const _0x5e74ec=_0x141315;this[_0x5e74ec(0x11a)][_0x5e74ec(0x144)](_0x5e74ec(0xed));const _0x340f05=this[_0x5e74ec(0x11a)][_0x5e74ec(0xe4)][_0x5e74ec(0x10a)](_0x5e74ec(0x103));if(this[_0x5e74ec(0x11a)][_0x5e74ec(0xe4)][_0x5e74ec(0xc7)](_0x5e74ec(0xcf))){const _0x527a33=this[_0x5e74ec(0x11a)][_0x5e74ec(0xe4)][_0x5e74ec(0x10a)](_0x5e74ec(0xcf));await _0x527a33[_0x5e74ec(0x13d)]();}else await _0x340f05[_0x5e74ec(0xfd)]();if(this[_0x5e74ec(0x11a)][_0x5e74ec(0xe4)][_0x5e74ec(0xc7)](_0x5e74ec(0x13a))&&this[_0x5e74ec(0x11a)][_0x5e74ec(0xe4)][_0x5e74ec(0x10a)](_0x5e74ec(0x13a))[_0x5e74ec(0x133)](),this[_0x5e74ec(0x11a)][_0x5e74ec(0xe4)][_0x5e74ec(0xc7)](_0x5e74ec(0xc4))){const _0x5e8c4d=this[_0x5e74ec(0x11a)][_0x5e74ec(0xe4)][_0x5e74ec(0x10a)](_0x5e74ec(0xc4));_0x5e8c4d[_0x5e74ec(0x119)]&&_0x5e8c4d[_0x5e74ec(0xf5)]();}const _0x5755a5=this[_0x5e74ec(0x152)]();return _0x469289(_0x5755a5)[_0x5e74ec(0xff)](_0x583956=>{const _0x16022e=_0x5e74ec;return(this[_0x16022e(0x107)]=_0x583956,this[_0x16022e(0x11a)][_0x16022e(0xe4)][_0x16022e(0xc7)](_0x16022e(0x140)))&&this[_0x16022e(0x11a)][_0x16022e(0xe4)][_0x16022e(0x10a)](_0x16022e(0x140))[_0x16022e(0x12a)](),(this[_0x16022e(0x11a)][_0x16022e(0xe4)][_0x16022e(0xc7)](_0x16022e(0x135))&&(this[_0x16022e(0x11a)][_0x16022e(0xe4)][_0x16022e(0x10a)](_0x16022e(0xcb))[_0x16022e(0xf2)][_0x16022e(0xfb)][_0x16022e(0x12c)][_0x16022e(0x134)]=_0x16022e(0x13e)),_0x583956);})[_0x5e74ec(0x120)](_0x2a8ae7=>(console[_0x5e74ec(0xea)](_0x2a8ae7),this[_0x5e74ec(0x11a)][_0x5e74ec(0x14d)](_0x5e74ec(0xed)),null));});}[_0x4b8cfa(0x108)](){const _0x371f7a=_0x4b8cfa,_0x40010a=this[_0x371f7a(0x11a)][_0x371f7a(0x100)][_0x371f7a(0x10a)](_0x371f7a(0x115))[_0x371f7a(0xda)];this[_0x371f7a(0x11a)][_0x371f7a(0x100)][_0x371f7a(0x14b)](_0x371f7a(0xe8),()=>(this[_0x371f7a(0x11a)][_0x371f7a(0xe4)][_0x371f7a(0xc7)](_0x371f7a(0x13a))&&this[_0x371f7a(0x11a)][_0x371f7a(0xe4)][_0x371f7a(0x10a)](_0x371f7a(0x13a))[_0x371f7a(0x133)](),this[_0x371f7a(0x11a)][_0x371f7a(0xe4)][_0x371f7a(0xc7)](_0x371f7a(0x135))&&(this[_0x371f7a(0x11a)][_0x371f7a(0xe4)][_0x371f7a(0x10a)](_0x371f7a(0xcb))[_0x371f7a(0xf2)][_0x371f7a(0xfb)][_0x371f7a(0x12c)][_0x371f7a(0x134)]=''),this[_0x371f7a(0x107)][_0x371f7a(0xe4)][_0x371f7a(0x10a)](_0x371f7a(0xf1))[_0x371f7a(0xe0)](),_0x40010a(this[_0x371f7a(0x107)])[_0x371f7a(0xff)](()=>{const _0x2d4b27=_0x371f7a;if(this[_0x2d4b27(0x11a)][_0x2d4b27(0x14d)](_0x2d4b27(0xed)),this[_0x2d4b27(0x107)]=null,this[_0x2d4b27(0x11a)][_0x2d4b27(0xe4)][_0x2d4b27(0xc7)](_0x2d4b27(0x140))){const _0x53e4f7=this[_0x2d4b27(0x11a)][_0x2d4b27(0xe4)][_0x2d4b27(0x10a)](_0x2d4b27(0x140));_0x53e4f7[_0x2d4b27(0x12a)](),_0x53e4f7[_0x2d4b27(0x14e)]();}})));}[_0x4b8cfa(0x153)](_0xbd0e61){const _0x365349=_0x4b8cfa,_0x894435=this[_0x365349(0x11a)][_0x365349(0x100)][_0x365349(0x10a)](_0x365349(0x117)),_0x32bf48=this[_0x365349(0x11a)][_0x365349(0x100)][_0x365349(0x10a)](_0x365349(0x116)),_0x480d05=this[_0x365349(0x11a)][_0x365349(0x100)][_0x365349(0x10a)](_0x365349(0x105));return _0x3adf3b[_0x365349(0x114)](_0x480d05,_0xbd0e61)[_0x365349(0xff)](_0x132cd6=>(_0x32bf48[_0x365349(0x12c)][_0x365349(0x134)]=_0x365349(0xd5),_0x894435[_0x365349(0x12c)][_0x365349(0x134)]=_0x365349(0x13e),this[_0x365349(0x10f)]=!0x0,_0x132cd6));}[_0x4b8cfa(0x118)](_0xce7056){const _0x4447ac=_0x4b8cfa,_0x5af0fd=this[_0x4447ac(0x11a)][_0x4447ac(0x100)][_0x4447ac(0x10a)](_0x4447ac(0x117));return this[_0x4447ac(0x11a)][_0x4447ac(0x100)][_0x4447ac(0x10a)](_0x4447ac(0x116))[_0x4447ac(0x12c)][_0x4447ac(0x134)]=_0x4447ac(0x13e),_0x5af0fd[_0x4447ac(0x12c)][_0x4447ac(0x134)]='',this[_0x4447ac(0x10f)]=!0x1,_0xce7056[_0x4447ac(0x121)]();}async[_0x4b8cfa(0xdd)](_0x2e186b){const _0xb59e17=_0x4b8cfa,_0x4f492f=this[_0xb59e17(0x11a)],_0x1f6223=this[_0xb59e17(0x107)][_0xb59e17(0xe4)][_0xb59e17(0x10a)](_0xb59e17(0xf1)),_0x2eebd3=_0x4f492f[_0xb59e17(0xe4)][_0xb59e17(0x10a)](_0xb59e17(0x103)),_0x2e37b0=_0x4f492f[_0xb59e17(0xe4)][_0xb59e17(0x10a)](_0xb59e17(0x156)),_0x1ea54e=_0x1f6223[_0xb59e17(0xd1)][_0xb59e17(0xde)](_0x2e186b);let _0x3bb1d0,_0x4b5f16,_0x51633d;try{await _0x2e37b0[_0xb59e17(0x137)](_0x1ea54e,this[_0xb59e17(0x10b)]),_0x3bb1d0=_0x2e37b0[_0xb59e17(0x132)](_0x1ea54e),_0x4b5f16=_0x2e37b0[_0xb59e17(0xfc)](_0x1ea54e);}catch(_0x434c3d){return void console[_0xb59e17(0xea)](_0x434c3d);}_0x4f492f[_0xb59e17(0x141)][_0xb59e17(0x11d)](_0x3e7a78=>{const _0x147c98=_0xb59e17;for(const _0x5979f0 of Array[_0x147c98(0x12f)](_0x4f492f[_0x147c98(0x141)][_0x147c98(0xd8)][_0x147c98(0x11c)](_0x147c98(0x157))))_0x3e7a78[_0x147c98(0xcd)](_0x5979f0);}),_0x1f6223[_0xb59e17(0x138)]=!0x1,_0x4f492f[_0xb59e17(0x141)][_0xb59e17(0x154)](_0x534f37=>{const _0x317f36=_0xb59e17;_0x534f37[_0x317f36(0x131)](null),_0x534f37[_0x317f36(0xe2)](_0x4f492f[_0x317f36(0x141)][_0x317f36(0xd2)][_0x317f36(0x125)][_0x317f36(0xeb)]());const _0x44feb7=Object[_0x317f36(0xce)](_0x3bb1d0);for(const _0x563a14 of _0x4f492f[_0x317f36(0x141)][_0x317f36(0xd2)][_0x317f36(0xc5)])_0x317f36(0xe5)!=_0x563a14[_0x317f36(0xfe)]&&_0x563a14[_0x317f36(0x150)]()&&!_0x44feb7[_0x317f36(0xdb)](_0x563a14[_0x317f36(0xfe)])&&_0x534f37[_0x317f36(0xc8)](_0x563a14);for(const _0x2149c6 of _0x44feb7){let _0x986565=_0x4f492f[_0x317f36(0x141)][_0x317f36(0xd2)][_0x317f36(0x104)](_0x2149c6);_0x986565&&_0x986565[_0x317f36(0x150)]()||(_0x986565=_0x534f37[_0x317f36(0x143)](_0x2149c6));const _0x4a7aa5=_0x4b5f16[_0x2149c6],_0x2df9ea=Object[_0x317f36(0xce)](_0x4a7aa5),_0x15c51a=_0x3bb1d0[_0x2149c6];for(const _0x2dc3c2 of _0x986565[_0x317f36(0xeb)]())_0x2df9ea[_0x317f36(0xdb)](_0x2dc3c2)||_0x534f37[_0x317f36(0x106)](_0x2dc3c2,_0x986565);for(const _0x48796c of _0x2df9ea)_0x534f37[_0x317f36(0xee)](_0x48796c,_0x4b5f16[_0x2149c6][_0x48796c],_0x986565);_0x534f37[_0x317f36(0x148)](_0x534f37[_0x317f36(0x151)](_0x986565)),_0x534f37[_0x317f36(0x109)](_0x4f492f[_0x317f36(0xe9)][_0x317f36(0xf7)](_0x15c51a,_0x986565),_0x986565,0x0);}});const _0x9212e5=_0x4f915c(_0x4f492f[_0xb59e17(0x11b)],_0xb59e17(0x12e));if(_0x1ea54e[_0xb59e17(0x146)])_0x51633d=-0x1==_0x1ea54e[_0xb59e17(0x146)][_0xb59e17(0x136)](_0x9212e5)?_0x9212e5+':\x20'+_0x1ea54e[_0xb59e17(0x146)]:_0x1ea54e[_0xb59e17(0x146)];else _0x51633d=_0x9212e5+':\x20'+(_0x1ea54e[_0xb59e17(0xef)][_0xb59e17(0xd0)](_0x4f492f[_0xb59e17(0x11b)][_0xb59e17(0x11e)],{'month':_0xb59e17(0x159),'day':_0xb59e17(0xe6)})+',\x20'+_0x1ea54e[_0xb59e17(0xef)][_0xb59e17(0xdf)](_0x4f492f[_0xb59e17(0x11b)][_0xb59e17(0x11e)],{'hour':_0xb59e17(0xe6),'minute':_0xb59e17(0xe6)}));return await _0x2eebd3[_0xb59e17(0x126)]({'name':_0x51633d}),_0x1f6223[_0xb59e17(0x138)]=!0x0,_0x4f492f[_0xb59e17(0x100)][_0xb59e17(0x10a)](_0xb59e17(0x115))[_0xb59e17(0xda)]();}}
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
|
|
23
|
+
function _0x3d15(){const _0x983c62=['editing','view','_typeCharToViewClass','getRevision','RevisionHistoryUtils','data-revision-','map','getFillerOffset','getRevisionRootsAttributes','933084XIjxVe','_setCustomProperty','data','domConverter','children','diffData','domDocument','customProperties','isPremiumPlugin','isOfficialPlugin','attributesAfter','toData','name','loadRevisionData','div','293615opsJyp','startsWith','attributes','4dbOgHr','parse','374676GDrVgk','get','100080LUfBAi','revision-end','getRevisionDocumentData','attachChange','useFillerType','_viewClassToTypeChar','toModel','string','8tpDlwc','insertions','_appendChild','viewChildrenToDom','forEach','_removeRevisionMarkers','document','type','filter','length','processor','innerHTML','render','collaboration.channelId','marked','_getViewFromDiffObj','767672SWjVjL','isAttached','append','fillerOffset','config','5PJbkCf','constructor','revision-start','from','createElement','default','1463256ZweDsy','childNodes','_getTypeCharForViewElement','_makeModelFromViewString','editor','htmlProcessor','15116SUIHCk','domChildrenToView','pluginName'];_0x3d15=function(){return _0x983c62;};return _0x3d15();}function _0x11d0(_0x1679ef,_0x541c16){const _0x3d1532=_0x3d15();return _0x11d0=function(_0x11d07e,_0xd16c4e){_0x11d07e=_0x11d07e-0x94;let _0x1d7cc7=_0x3d1532[_0x11d07e];return _0x1d7cc7;},_0x11d0(_0x1679ef,_0x541c16);}const _0x48b059=_0x11d0;(function(_0x4324e4,_0x7c7ecd){const _0x4a3e9c=_0x11d0,_0x1c9841=_0x4324e4();while(!![]){try{const _0x2ab26d=parseInt(_0x4a3e9c(0xd0))/0x1*(-parseInt(_0x4a3e9c(0xa3))/0x2)+-parseInt(_0x4a3e9c(0xa5))/0x3+parseInt(_0x4a3e9c(0xbf))/0x4+parseInt(_0x4a3e9c(0xc4))/0x5*(parseInt(_0x4a3e9c(0xca))/0x6)+-parseInt(_0x4a3e9c(0xa0))/0x7+-parseInt(_0x4a3e9c(0xaf))/0x8*(parseInt(_0x4a3e9c(0xdc))/0x9)+-parseInt(_0x4a3e9c(0xa7))/0xa;if(_0x2ab26d===_0x7c7ecd)break;else _0x1c9841['push'](_0x1c9841['shift']());}catch(_0x33f7fe){_0x1c9841['push'](_0x1c9841['shift']());}}}(_0x3d15,0x1e871));import{Plugin as _0x3e9a83}from'ckeditor5/src/core.js';import{ViewDocumentFragment as _0x1239b5,ViewText as _0x27b853,ViewElement as _0xf5377c,ViewContainerElement as _0x5687ec,ViewAttributeElement as _0x37d8fc,ViewEmptyElement as _0x3dd8d6,ViewRawElement as _0xeea6f,ViewUIElement as _0x492e3f}from'ckeditor5/src/engine.js';export class RevisionHistoryUtils extends _0x3e9a83{static get[_0x48b059(0xd2)](){const _0x4d54fd=_0x48b059;return _0x4d54fd(0xd7);}static get[_0x48b059(0x9a)](){return!0x0;}static get[_0x48b059(0x99)](){return!0x0;}[_0x48b059(0xac)]=new Map([[_0x5687ec,'c'],[_0x37d8fc,'a'],[_0x3dd8d6,'e'],[_0xeea6f,'r'],[_0x492e3f,'u']]);[_0x48b059(0xd5)]=new Map([['c',_0x5687ec],['a',_0x37d8fc],['e',_0x3dd8d6],['r',_0xeea6f],['u',_0x492e3f]]);async[_0x48b059(0x9e)](_0x3b3be3,_0x46429b){const _0x38cbf0=_0x48b059;if(_0x3b3be3[_0x38cbf0(0x96)]||!_0x46429b)return;const _0x297154=this[_0x38cbf0(0xce)][_0x38cbf0(0xc3)][_0x38cbf0(0xa6)](_0x38cbf0(0xbc)),_0x39e414=await _0x46429b[_0x38cbf0(0xd6)]({'channelId':_0x297154,'revisionId':_0x3b3be3['id']});_0x3b3be3[_0x38cbf0(0x96)]=_0x39e414[_0x38cbf0(0x96)];}[_0x48b059(0xa9)](_0x28d8e9){const _0x31ef15=_0x48b059,_0x389e1c={};for(const _0x7dbf49 in _0x28d8e9[_0x31ef15(0x96)]){if(_0x28d8e9[_0x31ef15(0x96)][_0x7dbf49][_0x31ef15(0xaa)]&&!_0x28d8e9[_0x31ef15(0x96)][_0x7dbf49][_0x31ef15(0xaa)][_0x31ef15(0xc0)])continue;const _0x28e3a6=this[_0x31ef15(0xb4)](JSON[_0x31ef15(0xa4)](_0x28d8e9[_0x31ef15(0x96)][_0x7dbf49][_0x31ef15(0xb0)])),_0x1945b0=this[_0x31ef15(0xce)][_0x31ef15(0xd3)][_0x31ef15(0xd4)][_0x31ef15(0xb5)],_0x3a6775=new _0x1239b5(_0x1945b0,_0x28e3a6[_0x31ef15(0xd9)](_0x4e687e=>this[_0x31ef15(0xbe)](_0x4e687e,!0x1)));this[_0x31ef15(0xce)][_0x31ef15(0xde)][_0x31ef15(0xb9)][_0x31ef15(0xab)](_0x31ef15(0xbd)),_0x389e1c[_0x7dbf49]=this[_0x31ef15(0xce)][_0x31ef15(0xde)][_0x31ef15(0xb9)][_0x31ef15(0x9c)](_0x3a6775),this[_0x31ef15(0xce)][_0x31ef15(0xde)][_0x31ef15(0xb9)][_0x31ef15(0xab)](_0x31ef15(0xc9));}return _0x389e1c;}[_0x48b059(0xdb)](_0xda798a){const _0x1ad63d=_0x48b059,_0x3360cc={};for(const _0x59f841 in _0xda798a[_0x1ad63d(0x96)])_0xda798a[_0x1ad63d(0x96)][_0x59f841][_0x1ad63d(0xaa)]&&!_0xda798a[_0x1ad63d(0x96)][_0x59f841][_0x1ad63d(0xaa)][_0x1ad63d(0xc0)]||(_0x3360cc[_0x59f841]=_0xda798a[_0x1ad63d(0x96)][_0x59f841][_0x1ad63d(0x9b)]||{});return _0x3360cc;}[_0x48b059(0xcc)](_0x11ea0d){const _0x5ee270=_0x48b059;return this[_0x5ee270(0xac)][_0x5ee270(0xa6)](_0x11ea0d[_0x5ee270(0xc5)]);}[_0x48b059(0xbe)](_0x17da7f,_0x14eae5){const _0x264c03=_0x48b059,_0x459f4d=this[_0x264c03(0xce)][_0x264c03(0xd3)][_0x264c03(0xd4)][_0x264c03(0xb5)];if(_0x264c03(0xae)==typeof _0x17da7f)return new _0x27b853(_0x459f4d,_0x17da7f);{let _0x43111c,_0x5be09;_0x5be09='u'==_0x17da7f[_0x264c03(0xb6)]||'r'==_0x17da7f[_0x264c03(0xb6)]?[]:_0x17da7f[_0x264c03(0x95)][_0x264c03(0xd9)](_0x5a6201=>this[_0x264c03(0xbe)](_0x5a6201,_0x14eae5));const _0xe0c0c1=this[_0x264c03(0xd5)][_0x264c03(0xa6)](_0x17da7f[_0x264c03(0xb6)])||_0xf5377c,_0x5b481e=this[_0x264c03(0xce)][_0x264c03(0xde)][_0x264c03(0xcf)][_0x264c03(0x94)];if(_0x43111c=new _0xe0c0c1(_0x459f4d,_0x17da7f[_0x264c03(0x9d)],_0x17da7f[_0x264c03(0xa2)],_0x5be09),'u'==_0x17da7f[_0x264c03(0xb6)]&&_0x17da7f[_0x264c03(0x95)][0x0]){const _0x4af7ee=_0x17da7f[_0x264c03(0x95)][0x0];if(_0x43111c[_0x264c03(0xbb)]=function(_0x28725a){const _0x5d6493=_0x264c03,_0x41a376=_0x28725a[_0x5d6493(0xc8)](_0x5d6493(0x9f));return _0x41a376[_0x5d6493(0xba)]=_0x4af7ee,_0x41a376[_0x5d6493(0xcb)][0x0];},_0x14eae5){const _0x4f40e5=new _0x1239b5(_0x459f4d);_0x4f40e5[_0x264c03(0xb1)](_0x43111c);const _0x4cd5cc=Array[_0x264c03(0xc7)](_0x5b481e[_0x264c03(0xb2)](_0x4f40e5,{'bind':!0x1})),_0x5624a8=_0x5b481e[_0x264c03(0x97)][_0x264c03(0xc8)](_0x264c03(0x9f));_0x5624a8[_0x264c03(0xc1)](..._0x4cd5cc),_0x43111c=Array[_0x264c03(0xc7)](_0x5b481e[_0x264c03(0xd1)](_0x5624a8))[0x0];}}else{if('r'==_0x17da7f[_0x264c03(0xb6)]&&_0x17da7f[_0x264c03(0x95)][0x0]){const _0x43448d=_0x17da7f[_0x264c03(0x95)][0x0];if(_0x43111c[_0x264c03(0xbb)]=function(_0x4e152d){const _0xcc3399=_0x264c03;_0x4e152d[_0xcc3399(0xba)]=_0x43448d;},_0x14eae5){const _0x25b52e=new _0x1239b5(_0x459f4d);_0x25b52e[_0x264c03(0xb1)](_0x43111c);const _0x3a5e10=Array[_0x264c03(0xc7)](_0x5b481e[_0x264c03(0xb2)](_0x25b52e,{'bind':!0x1})),_0x326750=_0x5b481e[_0x264c03(0x97)][_0x264c03(0xc8)](_0x264c03(0x9f));_0x326750[_0x264c03(0xc1)](..._0x3a5e10);const _0x33c784=Array[_0x264c03(0xc7)](_0x5b481e[_0x264c03(0xd1)](_0x326750));_0x33c784[_0x264c03(0xb8)]>0x1?_0x43111c[_0x264c03(0xb1)](_0x33c784):_0x43111c=_0x33c784[0x0];}}}if(_0x17da7f[_0x264c03(0x98)]){for(const [_0x4f3e68,_0x46d759]of _0x17da7f[_0x264c03(0x98)])_0x43111c[_0x264c03(0xdd)](_0x4f3e68,_0x46d759);}const _0x29bcbe=void 0x0===_0x17da7f[_0x264c03(0xc2)]?null:_0x17da7f[_0x264c03(0xc2)];return null!==_0x29bcbe&&(_0x43111c[_0x264c03(0xda)]=()=>_0x29bcbe),_0x43111c;}}[_0x48b059(0xcd)](_0x19f638){const _0x3fa30e=_0x48b059,_0x499e87=JSON[_0x3fa30e(0xa4)](_0x19f638),_0x2b3e79=this[_0x3fa30e(0xce)][_0x3fa30e(0xd3)][_0x3fa30e(0xd4)][_0x3fa30e(0xb5)],_0x203b3d=new _0x1239b5(_0x2b3e79,_0x499e87[_0x3fa30e(0xd9)](_0x5f9c5=>this[_0x3fa30e(0xbe)](_0x5f9c5,!0x0)));return this[_0x3fa30e(0xce)][_0x3fa30e(0xde)][_0x3fa30e(0xad)](_0x203b3d);}[_0x48b059(0xb4)](_0x2ea744){const _0x162fa2=_0x48b059;return(_0x2ea744=_0x2ea744[_0x162fa2(0xb7)](_0x41ac4a=>!_0x41ac4a[_0x162fa2(0x9d)]||_0x162fa2(0xc6)!==_0x41ac4a[_0x162fa2(0x9d)]&&_0x162fa2(0xa8)!==_0x41ac4a[_0x162fa2(0x9d)]))[_0x162fa2(0xb3)](_0x572cd1=>{const _0x30bdfe=_0x162fa2;_0x30bdfe(0xae)!=typeof _0x572cd1&&(_0x572cd1[_0x30bdfe(0x95)]=this[_0x30bdfe(0xb4)](_0x572cd1[_0x30bdfe(0x95)]),_0x572cd1[_0x30bdfe(0xa2)]=_0x572cd1[_0x30bdfe(0xa2)][_0x30bdfe(0xb7)](_0x1012a2=>!_0x1012a2[0x0][_0x30bdfe(0xa1)](_0x30bdfe(0xd8))));}),_0x2ea744;}}
|