@ckeditor/ckeditor5-revision-history 45.0.0-alpha.1 → 45.0.0-alpha.3
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 +6 -6
- 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 +1 -1
- 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
|
+
(_0x585ce6=>{const {vi:{dictionary:_0x1aed15,getPluralForm:_0xb351d7}}={'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':_0x2cbf91=>0x0}};_0x585ce6['vi']||={'dictionary':{},'getPluralForm':null},_0x585ce6['vi']['dictionary']=Object['assign'](_0x585ce6['vi']['dictionary'],_0x1aed15),_0x585ce6['vi']['getPluralForm']=_0xb351d7;})(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':_0x170d5b=>0x0}};
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
(
|
|
23
|
+
(_0x42443c=>{const {'zh-cn':{dictionary:_0x450704,getPluralForm:_0x6db90}}={'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':_0x4b37ff=>0x0}};_0x42443c['zh-cn']||={'dictionary':{},'getPluralForm':null},_0x42443c['zh-cn']['dictionary']=Object['assign'](_0x42443c['zh-cn']['dictionary'],_0x450704),_0x42443c['zh-cn']['getPluralForm']=_0x6db90;})(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':_0x2ae97d=>0x0}};
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
(
|
|
23
|
+
(_0x4be38f=>{const {zh:{dictionary:_0x1b50c6,getPluralForm:_0x4703dd}}={'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':_0x183c18=>0x0}};_0x4be38f['zh']||={'dictionary':{},'getPluralForm':null},_0x4be38f['zh']['dictionary']=Object['assign'](_0x4be38f['zh']['dictionary'],_0x1b50c6),_0x4be38f['zh']['getPluralForm']=_0x4703dd;})(window['CKEDITOR_TRANSLATIONS']||={});
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@ckeditor/ckeditor5-revision-history",
|
|
3
|
-
"version": "45.0.0-alpha.
|
|
3
|
+
"version": "45.0.0-alpha.3",
|
|
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": "45.0.0-alpha.
|
|
43
|
-
"@ckeditor/ckeditor5-comments": "45.0.0-alpha.
|
|
44
|
-
"@ckeditor/ckeditor5-core": "45.0.0-alpha.
|
|
45
|
-
"@ckeditor/ckeditor5-editor-classic": "45.0.0-alpha.
|
|
46
|
-
"@ckeditor/ckeditor5-engine": "45.0.0-alpha.
|
|
47
|
-
"@ckeditor/ckeditor5-icons": "45.0.0-alpha.
|
|
48
|
-
"@ckeditor/ckeditor5-ui": "45.0.0-alpha.
|
|
49
|
-
"@ckeditor/ckeditor5-utils": "45.0.0-alpha.
|
|
42
|
+
"@ckeditor/ckeditor5-autosave": "45.0.0-alpha.3",
|
|
43
|
+
"@ckeditor/ckeditor5-comments": "45.0.0-alpha.3",
|
|
44
|
+
"@ckeditor/ckeditor5-core": "45.0.0-alpha.3",
|
|
45
|
+
"@ckeditor/ckeditor5-editor-classic": "45.0.0-alpha.3",
|
|
46
|
+
"@ckeditor/ckeditor5-engine": "45.0.0-alpha.3",
|
|
47
|
+
"@ckeditor/ckeditor5-icons": "45.0.0-alpha.3",
|
|
48
|
+
"@ckeditor/ckeditor5-ui": "45.0.0-alpha.3",
|
|
49
|
+
"@ckeditor/ckeditor5-utils": "45.0.0-alpha.3",
|
|
50
50
|
"@types/luxon": "3.4.2",
|
|
51
|
-
"ckeditor5": "45.0.0-alpha.
|
|
52
|
-
"ckeditor5-collaboration": "45.0.0-alpha.
|
|
51
|
+
"ckeditor5": "45.0.0-alpha.3",
|
|
52
|
+
"ckeditor5-collaboration": "45.0.0-alpha.3",
|
|
53
53
|
"es-toolkit": "1.32.0",
|
|
54
54
|
"luxon": "3.5.0"
|
|
55
55
|
},
|
package/src/changeitem.js
CHANGED
|
@@ -20,5 +20,5 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
var
|
|
24
|
-
|
|
23
|
+
var _0x5f3c27=_0x3f13;function _0x3f13(_0x267e42,_0x58842d){var _0x4bc6cb=_0x4bc6();return _0x3f13=function(_0x3f1376,_0x50e9bc){_0x3f1376=_0x3f1376-0x16e;var _0x236dc0=_0x4bc6cb[_0x3f1376];return _0x236dc0;},_0x3f13(_0x267e42,_0x58842d);}(function(_0x449eee,_0x32d7fd){var _0x43df1f=_0x3f13,_0x3891c4=_0x449eee();while(!![]){try{var _0x42dece=parseInt(_0x43df1f(0x174))/0x1+parseInt(_0x43df1f(0x17e))/0x2*(parseInt(_0x43df1f(0x17f))/0x3)+-parseInt(_0x43df1f(0x180))/0x4*(-parseInt(_0x43df1f(0x17c))/0x5)+-parseInt(_0x43df1f(0x17a))/0x6*(-parseInt(_0x43df1f(0x176))/0x7)+-parseInt(_0x43df1f(0x16e))/0x8*(parseInt(_0x43df1f(0x17d))/0x9)+parseInt(_0x43df1f(0x178))/0xa*(-parseInt(_0x43df1f(0x173))/0xb)+-parseInt(_0x43df1f(0x171))/0xc;if(_0x42dece===_0x32d7fd)break;else _0x3891c4['push'](_0x3891c4['shift']());}catch(_0x7ed37b){_0x3891c4['push'](_0x3891c4['shift']());}}}(_0x4bc6,0x89b44));import{ObservableMixin as _0x4f794d,uid as _0x2d5277}from'ckeditor5/src/utils.js';function _0x4bc6(){var _0x14f879=['8gsPjOB','332601jhbuyE','14788ReyLKD','55904NSBdym','toJSON','author','20320752egmuuN','rootName','3643387VZjjnP','898783qLvOjC','createdAt','1267NSYXKo','type','10VfXanG','data','21018TPSWmw','set','1055hmjEkp','216jBXItZ'];_0x4bc6=function(){return _0x14f879;};return _0x4bc6();}export default class r extends/* #__PURE__ -- @preserve */
|
|
24
|
+
_0x4f794d(){['id'];[_0x5f3c27(0x170)];[_0x5f3c27(0x177)];[_0x5f3c27(0x179)];[_0x5f3c27(0x172)];constructor(_0x2ffcd7){var _0x342029=_0x5f3c27;super(),this['id']=_0x2ffcd7['id']||_0x2d5277(),this[_0x342029(0x170)]=_0x2ffcd7[_0x342029(0x170)],this[_0x342029(0x177)]=_0x2ffcd7[_0x342029(0x177)],this[_0x342029(0x179)]=_0x2ffcd7[_0x342029(0x179)]||{},this[_0x342029(0x172)]=_0x2ffcd7[_0x342029(0x172)],this[_0x342029(0x17b)](_0x342029(0x175),_0x2ffcd7[_0x342029(0x175)]);}[_0x5f3c27(0x16f)](){var _0x48ae59=_0x5f3c27;return{'id':this['id'],'authorId':this[_0x48ae59(0x170)]['id'],'type':this[_0x48ae59(0x177)],'data':this[_0x48ae59(0x179)],'createdAt':this[_0x48ae59(0x175)]};}}
|
|
@@ -20,5 +20,5 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
const
|
|
24
|
-
|
|
23
|
+
const _0x5d9a30=_0x32ba;function _0x4423(){const _0x10aa96=['6358232YWVvjA','init','initPlugins','30lMDAJZ','destroy','get','7QiSYnm','_ui','config','1ILzTMR','1028406UZahsr','model','117WzpvnT','1694693ijlNOy','initialData','create','sourceElement','fire','view','10HjyvHh','data','createRoot','updateSourceElement','locale','editing','11017272mmDcgN','6705144eKCafv','2326010COWBbm','ready','document','80348ZoHuJk'];_0x4423=function(){return _0x10aa96;};return _0x4423();}(function(_0x3daceb,_0x282aa1){const _0x2a5401=_0x32ba,_0x124952=_0x3daceb();while(!![]){try{const _0x46a6dd=-parseInt(_0x2a5401(0x100))/0x1*(-parseInt(_0x2a5401(0xf3))/0x2)+-parseInt(_0x2a5401(0x103))/0x3*(parseInt(_0x2a5401(0xf6))/0x4)+parseInt(_0x2a5401(0xfa))/0x5*(parseInt(_0x2a5401(0x101))/0x6)+-parseInt(_0x2a5401(0xfd))/0x7*(parseInt(_0x2a5401(0xf7))/0x8)+-parseInt(_0x2a5401(0xf2))/0x9+-parseInt(_0x2a5401(0x10a))/0xa*(parseInt(_0x2a5401(0x104))/0xb)+parseInt(_0x2a5401(0xf1))/0xc;if(_0x46a6dd===_0x282aa1)break;else _0x124952['push'](_0x124952['shift']());}catch(_0x727b34){_0x124952['push'](_0x124952['shift']());}}}(_0x4423,0x9a5ca));import{Editor as _0x58c2f9,ElementApiMixin as _0x2cb25c}from'ckeditor5/src/core.js';import _0x3c2b54 from'./revisionviewereditorui.js';import _0xbc2de from'./revisionviewereditoruiview.js';function _0x32ba(_0x59b3ec,_0x41ed4d){const _0x44232e=_0x4423();return _0x32ba=function(_0x32bae8,_0x380077){_0x32bae8=_0x32bae8-0xef;let _0x4abcb5=_0x44232e[_0x32bae8];return _0x4abcb5;},_0x32ba(_0x59b3ec,_0x41ed4d);}export default class w extends/* #__PURE__ -- @preserve */
|
|
24
|
+
_0x2cb25c(_0x58c2f9){[_0x5d9a30(0xfe)];get['ui'](){const _0x4f8f95=_0x5d9a30;return this[_0x4f8f95(0xfe)];}constructor(_0x5ba07d,_0x3210f5){const _0x3aa0b5=_0x5d9a30;super(_0x3210f5),this[_0x3aa0b5(0x107)]=_0x5ba07d,this[_0x3aa0b5(0x102)][_0x3aa0b5(0xf5)][_0x3aa0b5(0x10c)]();const _0x409afd=new _0xbc2de(this[_0x3aa0b5(0xef)],this[_0x3aa0b5(0xf0)][_0x3aa0b5(0x109)],{'shouldToolbarGroupWhenFull':!0x0});this[_0x3aa0b5(0xfe)]=new _0x3c2b54(this,_0x409afd);}[_0x5d9a30(0xfb)](){const _0x2d76fb=_0x5d9a30;return this[_0x2d76fb(0x10d)](),this['ui'][_0x2d76fb(0xfb)](),super[_0x2d76fb(0xfb)]();}static async[_0x5d9a30(0x106)](_0x37a2a1,_0x18ae96){const _0x5e28b1=_0x5d9a30,_0x3aa741=new this(_0x37a2a1,_0x18ae96);return await _0x3aa741[_0x5e28b1(0xf9)](),await _0x3aa741['ui'][_0x5e28b1(0xf8)](_0x37a2a1),await _0x3aa741[_0x5e28b1(0x10b)][_0x5e28b1(0xf8)](_0x3aa741[_0x5e28b1(0xff)][_0x5e28b1(0xfc)](_0x5e28b1(0x105))||''),_0x3aa741[_0x5e28b1(0x108)](_0x5e28b1(0xf4)),_0x3aa741;}}
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
const
|
|
23
|
+
const _0x1f0cb7=_0x1d7b;function _0x1d7b(_0x56972f,_0x9775c6){const _0x32acd5=_0x32ac();return _0x1d7b=function(_0x1d7b23,_0x254831){_0x1d7b23=_0x1d7b23-0x74;let _0x458be5=_0x32acd5[_0x1d7b23];return _0x458be5;},_0x1d7b(_0x56972f,_0x9775c6);}(function(_0x55ea84,_0x99c28e){const _0x54d0c3=_0x1d7b,_0x17ba33=_0x55ea84();while(!![]){try{const _0x1720f2=parseInt(_0x54d0c3(0x8b))/0x1+-parseInt(_0x54d0c3(0x8e))/0x2+parseInt(_0x54d0c3(0x89))/0x3*(-parseInt(_0x54d0c3(0x93))/0x4)+-parseInt(_0x54d0c3(0x8a))/0x5+parseInt(_0x54d0c3(0x9b))/0x6*(parseInt(_0x54d0c3(0x85))/0x7)+parseInt(_0x54d0c3(0x9e))/0x8+parseInt(_0x54d0c3(0x87))/0x9;if(_0x1720f2===_0x99c28e)break;else _0x17ba33['push'](_0x17ba33['shift']());}catch(_0x82c4cf){_0x17ba33['push'](_0x17ba33['shift']());}}}(_0x32ac,0x46e99));function _0x32ac(){const _0x40e2ea=['isFocused','981652QMezMT','viewportOffset','name','get','addToolbar','116BWPKqo','detachDomRoot','_view','setEditableElement','editable','view','document','_elementReplacer','882504tmweCp','getRoot','toolbar','2800584orcsGu','focusTracker','editor','destroy','replace','componentFactory','editing','attachDomRoot','config','fillFromConfig','limiterElement','ready','rootName','init','fire','_toolbarConfig','element','stickyPanel','isActive','render','_initToolbar','21DwMsxI','bind','1275633aBsLfJ','viewportTopOffset','1326XPIrSk','1941630yvAiiB','249365FanAGK','restore'];_0x32ac=function(){return _0x40e2ea;};return _0x32ac();}import{EditorUI as _0x36c5f8,normalizeToolbarConfig as _0x252fbd}from'ckeditor5/src/ui.js';import{ElementReplacer as _0x457014}from'ckeditor5/src/utils.js';export default class tt extends _0x36c5f8{[_0x1f0cb7(0x95)];[_0x1f0cb7(0x7f)];[_0x1f0cb7(0x9a)];get[_0x1f0cb7(0x98)](){const _0x2b30cf=_0x1f0cb7;return this[_0x2b30cf(0x95)];}constructor(_0x48585c,_0x5a9fd2){const _0x7e46c=_0x1f0cb7;super(_0x48585c),this[_0x7e46c(0x95)]=_0x5a9fd2,this[_0x7e46c(0x7f)]=_0x252fbd(_0x48585c[_0x7e46c(0x78)][_0x7e46c(0x91)](_0x7e46c(0x9d))),this[_0x7e46c(0x9a)]=new _0x457014();}get[_0x1f0cb7(0x80)](){const _0x4b1d41=_0x1f0cb7;return this[_0x4b1d41(0x98)][_0x4b1d41(0x80)];}[_0x1f0cb7(0x7d)](_0x332270){const _0x4baf0c=_0x1f0cb7,_0x5a5a5c=this[_0x4baf0c(0xa0)],_0x33425f=this[_0x4baf0c(0x98)],_0x369af9=_0x5a5a5c[_0x4baf0c(0x76)][_0x4baf0c(0x98)],_0x490be7=_0x33425f[_0x4baf0c(0x97)],_0x2d9660=_0x369af9[_0x4baf0c(0x99)][_0x4baf0c(0x9c)]();_0x490be7[_0x4baf0c(0x90)]=_0x2d9660[_0x4baf0c(0x7c)],_0x33425f[_0x4baf0c(0x83)]();const _0x255d06=_0x490be7[_0x4baf0c(0x80)];this[_0x4baf0c(0x96)](_0x490be7[_0x4baf0c(0x90)],_0x255d06),_0x33425f[_0x4baf0c(0x97)][_0x4baf0c(0x86)](_0x4baf0c(0x8d))['to'](this[_0x4baf0c(0x9f)]),_0x369af9[_0x4baf0c(0x77)](_0x255d06),this[_0x4baf0c(0x9a)][_0x4baf0c(0x74)](_0x332270,this[_0x4baf0c(0x80)]),this[_0x4baf0c(0x84)](),this[_0x4baf0c(0x7e)](_0x4baf0c(0x7b));}[_0x1f0cb7(0xa1)](){const _0x5cdc33=_0x1f0cb7;super[_0x5cdc33(0xa1)]();const _0x1b6ea1=this[_0x5cdc33(0x98)],_0x43e2e4=this[_0x5cdc33(0xa0)][_0x5cdc33(0x76)][_0x5cdc33(0x98)];this[_0x5cdc33(0x9a)][_0x5cdc33(0x8c)](),_0x43e2e4[_0x5cdc33(0x94)](_0x1b6ea1[_0x5cdc33(0x97)][_0x5cdc33(0x90)]),_0x1b6ea1[_0x5cdc33(0xa1)]();}[_0x1f0cb7(0x84)](){const _0x3114a1=_0x1f0cb7,_0x35692d=this[_0x3114a1(0x98)];_0x35692d[_0x3114a1(0x81)][_0x3114a1(0x86)](_0x3114a1(0x82))['to'](this[_0x3114a1(0x9f)],_0x3114a1(0x8d)),_0x35692d[_0x3114a1(0x81)][_0x3114a1(0x7a)]=_0x35692d[_0x3114a1(0x80)],_0x35692d[_0x3114a1(0x81)][_0x3114a1(0x86)](_0x3114a1(0x88))['to'](this,_0x3114a1(0x8f),({top:_0x34d9b1})=>_0x34d9b1),_0x35692d[_0x3114a1(0x9d)][_0x3114a1(0x79)](this[_0x3114a1(0x7f)],this[_0x3114a1(0x75)]),this[_0x3114a1(0x92)](_0x35692d[_0x3114a1(0x9d)]);}}
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
var
|
|
23
|
+
var _0x47e007=_0x19a8;(function(_0x15dcba,_0x1eba3a){var _0x409d7a=_0x19a8,_0x110e11=_0x15dcba();while(!![]){try{var _0x47cd60=-parseInt(_0x409d7a(0x96))/0x1+-parseInt(_0x409d7a(0x85))/0x2*(parseInt(_0x409d7a(0x86))/0x3)+-parseInt(_0x409d7a(0x95))/0x4+-parseInt(_0x409d7a(0x87))/0x5*(-parseInt(_0x409d7a(0x8f))/0x6)+parseInt(_0x409d7a(0x93))/0x7*(parseInt(_0x409d7a(0x8b))/0x8)+parseInt(_0x409d7a(0x8a))/0x9*(-parseInt(_0x409d7a(0x88))/0xa)+parseInt(_0x409d7a(0x99))/0xb;if(_0x47cd60===_0x1eba3a)break;else _0x110e11['push'](_0x110e11['shift']());}catch(_0x55b95f){_0x110e11['push'](_0x110e11['shift']());}}}(_0x2ebf,0x6a851));function _0x19a8(_0x73a280,_0x5071b8){var _0x2ebf0d=_0x2ebf();return _0x19a8=function(_0x19a893,_0xe409fc){_0x19a893=_0x19a893-0x85;var _0x17fd7c=_0x2ebf0d[_0x19a893];return _0x17fd7c;},_0x19a8(_0x73a280,_0x5071b8);}import{BoxedEditorUIView as _0x15f653,InlineEditableUIView as _0x350f73,StickyPanelView as _0x57a3e2,ToolbarView as _0xf57331}from'ckeditor5/src/ui.js';function _0x2ebf(){var _0x303470=['3311GYOyCZ','add','420348BAeYiY','301927MUMCpN','content','top','13913977FPkZcI','2602BAunMS','1383Rautgr','3771830mMEbgg','14860eWZfSk','shouldToolbarGroupWhenFull','4077AcDXSn','1640lUKNqb','toolbar','stickyPanel','render','6eCUEUh','editable','main','_editable'];_0x2ebf=function(){return _0x303470;};return _0x2ebf();}import'@ckeditor/ckeditor5-editor-classic/theme/classiceditor.css';export default class it extends _0x15f653{[_0x47e007(0x92)];[_0x47e007(0x8d)];[_0x47e007(0x8c)];get[_0x47e007(0x90)](){var _0x135587=_0x47e007;return this[_0x135587(0x92)];}constructor(_0x52994e,_0x3edbc7,_0x51dbd2={}){var _0x1098ea=_0x47e007;super(_0x52994e),this[_0x1098ea(0x8d)]=new _0x57a3e2(_0x52994e),this[_0x1098ea(0x8c)]=new _0xf57331(_0x52994e,{'shouldGroupWhenFull':_0x51dbd2[_0x1098ea(0x89)]}),this[_0x1098ea(0x92)]=new _0x350f73(_0x52994e,_0x3edbc7);}[_0x47e007(0x8e)](){var _0x4d2e0a=_0x47e007;super[_0x4d2e0a(0x8e)](),this[_0x4d2e0a(0x8d)][_0x4d2e0a(0x97)][_0x4d2e0a(0x94)](this[_0x4d2e0a(0x8c)]),this[_0x4d2e0a(0x98)][_0x4d2e0a(0x94)](this[_0x4d2e0a(0x8d)]),this[_0x4d2e0a(0x91)][_0x4d2e0a(0x94)](this[_0x4d2e0a(0x90)]);}}
|
package/src/index.js
CHANGED
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
|
|
23
|
+
(function(_0x36dd7a,_0x1c7dce){var _0x526c30=_0x2bce,_0x5af306=_0x36dd7a();while(!![]){try{var _0x158ad1=-parseInt(_0x526c30(0x1f7))/0x1+parseInt(_0x526c30(0x1f3))/0x2+parseInt(_0x526c30(0x1f2))/0x3*(-parseInt(_0x526c30(0x1f6))/0x4)+parseInt(_0x526c30(0x1f5))/0x5+parseInt(_0x526c30(0x1f9))/0x6+-parseInt(_0x526c30(0x1f8))/0x7+parseInt(_0x526c30(0x1f4))/0x8;if(_0x158ad1===_0x1c7dce)break;else _0x5af306['push'](_0x5af306['shift']());}catch(_0x2aad5a){_0x5af306['push'](_0x5af306['shift']());}}}(_0x80d7,0x91cad));export{default as Revision}from'./revision.js';function _0x80d7(){var _0xc29dc2=['68qAVVKv','459434rJujTq','1234492mlVzyJ','293256SWpcvy','49971BWnCFd','2331290XUTLrx','494456arOiCr','1198980wwLudy'];_0x80d7=function(){return _0xc29dc2;};return _0x80d7();}export{default as RevisionHistory}from'./revisionhistory.js';export{default as RevisionsRepository}from'./revisionsrepository.js';function _0x2bce(_0x4eafb9,_0x53a5ea){var _0x80d74b=_0x80d7();return _0x2bce=function(_0x2bce65,_0x225fa6){_0x2bce65=_0x2bce65-0x1f2;var _0x3efd87=_0x80d74b[_0x2bce65];return _0x3efd87;},_0x2bce(_0x4eafb9,_0x53a5ea);}export{default as RevisionHistoryUtils}from'./revisionhistoryutils.js';export{default as RevisionViewerLoadingOverlay}from'./ui/revisionviewer/revisionviewerloadingoverlay.js';export{default as RevisionHistoryUI}from'./ui/revisionhistory/revisionhistoryui.js';export{default as RevisionTracker}from'./revisiontracker.js';export{default as RevisionViewer}from'./revisionviewer.js';export{default as RevisionsSidebar}from'./ui/revisionssidebar/revisionssidebar.js';export{default as RevisionViewerUI}from'./ui/revisionviewer/revisionviewerui.js';export{default as RevisionViewerEditor}from'./editor/revisionviewereditor.js';import'./augmentation.js';
|
package/src/revision.js
CHANGED
|
@@ -20,5 +20,5 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
function
|
|
24
|
-
|
|
23
|
+
function _0x52f1(_0x5c0cbf,_0x1d6c6c){const _0x41e6af=_0x41e6();return _0x52f1=function(_0x52f1b6,_0x3e3833){_0x52f1b6=_0x52f1b6-0x1c0;let _0x237cf0=_0x41e6af[_0x52f1b6];return _0x237cf0;},_0x52f1(_0x5c0cbf,_0x1d6c6c);}function _0x41e6(){const _0x4edb86=['setName','392516ucGfZc','diffData','name','createdAt','1JxNhJP','authorsIds','map','_update','creator','fire','fromVersion','creatorId','model','2021888dfKcyh','177928CNDDfx','777600IabjAt','removeAttribute','toJSON','5OxVBAD','authors','1858710mHPzWA','attributes','1565872xNwYrq','976464AjVwQw','toVersion','setAttribute','set'];_0x41e6=function(){return _0x4edb86;};return _0x41e6();}const _0x10ad26=_0x52f1;(function(_0x230598,_0x246130){const _0x23481f=_0x52f1,_0xf21982=_0x230598();while(!![]){try{const _0x1f8760=parseInt(_0x23481f(0x1ca))/0x1*(parseInt(_0x23481f(0x1c6))/0x2)+-parseInt(_0x23481f(0x1c1))/0x3+parseInt(_0x23481f(0x1d4))/0x4*(parseInt(_0x23481f(0x1d8))/0x5)+parseInt(_0x23481f(0x1da))/0x6+-parseInt(_0x23481f(0x1c0))/0x7+parseInt(_0x23481f(0x1d3))/0x8+-parseInt(_0x23481f(0x1d5))/0x9;if(_0x1f8760===_0x246130)break;else _0xf21982['push'](_0xf21982['shift']());}catch(_0x1f1d8c){_0xf21982['push'](_0xf21982['shift']());}}}(_0x41e6,0x28efd));import{ObservableMixin as _0x530cb4,uid as _0x593db2}from'ckeditor5/src/utils.js';import{cloneDeep as _0x5b83b0,set as _0x189ff1,unset as _0x9f2646}from'es-toolkit/compat';export default class h extends/* #__PURE__ -- @preserve */
|
|
24
|
+
_0x530cb4(){['id'];[_0x10ad26(0x1ce)];[_0x10ad26(0x1d9)];[_0x10ad26(0x1c7)];[_0x10ad26(0x1c2)];[_0x10ad26(0x1d0)];[_0x10ad26(0x1d2)];constructor(_0x5e696d){const _0x2ee850=_0x10ad26;super(),this['id']=_0x5e696d['id']||_0x593db2(),this[_0x2ee850(0x1ce)]=_0x5e696d[_0x2ee850(0x1ce)]||null,this[_0x2ee850(0x1d9)]=_0x5e696d[_0x2ee850(0x1d9)]||[],this[_0x2ee850(0x1c7)]=_0x5e696d[_0x2ee850(0x1c7)]||null,this[_0x2ee850(0x1c2)]=_0x5e696d[_0x2ee850(0x1c2)]||0x0,this[_0x2ee850(0x1d0)]=_0x5e696d[_0x2ee850(0x1d0)]||0x0,this[_0x2ee850(0x1c4)](_0x2ee850(0x1c8),_0x5e696d[_0x2ee850(0x1c8)]||''),this[_0x2ee850(0x1c4)](_0x2ee850(0x1c9),_0x5e696d[_0x2ee850(0x1c9)]||new Date()),this[_0x2ee850(0x1c4)](_0x2ee850(0x1db),_0x5e696d[_0x2ee850(0x1db)]||{});}[_0x10ad26(0x1c5)](_0x456b69){const _0x22ac5b=_0x10ad26;this[_0x22ac5b(0x1cd)]({'name':_0x456b69});}[_0x10ad26(0x1c3)](_0x43b0a9,_0x2c7658){const _0x180e47=_0x10ad26,_0x5759c6=_0x5b83b0(this[_0x180e47(0x1db)]);_0x189ff1(_0x5759c6,_0x43b0a9,_0x2c7658),this[_0x180e47(0x1cd)]({'attributes':_0x5759c6});}[_0x10ad26(0x1d6)](_0x98a633){const _0x557cf7=_0x10ad26,_0x176b8c=_0x5b83b0(this[_0x557cf7(0x1db)]);_0x9f2646(_0x176b8c,_0x98a633),this[_0x557cf7(0x1cd)]({'attributes':_0x176b8c});}[_0x10ad26(0x1cd)](_0xbdecbf,_0x1a41b2=!0x1){const _0xaa2faf=_0x10ad26;let _0x3fdf06=!0x1;const _0x263435={'id':this['id']},_0x4365c0=[_0xaa2faf(0x1c8),_0xaa2faf(0x1c9),_0xaa2faf(0x1c7),_0xaa2faf(0x1d9),_0xaa2faf(0x1db),_0xaa2faf(0x1c2),_0xaa2faf(0x1d0),_0xaa2faf(0x1d1)];for(const _0x42a544 of _0x4365c0){const _0xddcc87=_0xbdecbf[_0x42a544];void 0x0!==_0xddcc87&&_0xddcc87!==this[_0x42a544]&&(this[_0x42a544]=_0xddcc87,_0x263435[_0x42a544]=_0xddcc87,_0x3fdf06=!0x0);}_0x3fdf06&&(_0x263435[_0xaa2faf(0x1d9)]&&(_0x263435[_0xaa2faf(0x1cb)]=_0x263435[_0xaa2faf(0x1d9)][_0xaa2faf(0x1cc)](_0xd7c590=>_0xd7c590['id']),delete _0x263435[_0xaa2faf(0x1d9)]),this[_0xaa2faf(0x1cf)](_0xaa2faf(0x1cd),_0x263435,_0x1a41b2));}[_0x10ad26(0x1d7)](){const _0xbc10a4=_0x10ad26;return{'id':this['id'],'name':this[_0xbc10a4(0x1c8)],'creatorId':this[_0xbc10a4(0x1ce)]?this[_0xbc10a4(0x1ce)]['id']:null,'authorsIds':this[_0xbc10a4(0x1d9)][_0xbc10a4(0x1cc)](_0x4a01c3=>_0x4a01c3['id']),'diffData':this[_0xbc10a4(0x1c7)],'createdAt':this[_0xbc10a4(0x1c9)],'attributes':this[_0xbc10a4(0x1db)],'fromVersion':this[_0xbc10a4(0x1d0)],'toVersion':this[_0xbc10a4(0x1c2)]};}}
|
package/src/revisiondiff.js
CHANGED
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
function
|
|
23
|
+
function _0x4771(){const _0xc17ca2=['add','8xrtGPi','48257DVPILx','6124WqAVLh','2185245sIRHLW','newRevisionId','696bGUnSC','4cnGggD','2853500OVgGRr','1609902bkwQhy','_setChanges','88977Oxxpis','changes','oldRevisionId','188cBUvnk','114WFzFYd','750165QapYLc'];_0x4771=function(){return _0xc17ca2;};return _0x4771();}function _0x332c(_0x4319a8,_0x14b088){const _0x477171=_0x4771();return _0x332c=function(_0x332c2a,_0x48db9d){_0x332c2a=_0x332c2a-0x6f;let _0x5d9149=_0x477171[_0x332c2a];return _0x5d9149;},_0x332c(_0x4319a8,_0x14b088);}const _0x2cdd70=_0x332c;(function(_0x4fead7,_0x5af4d9){const _0x118ecd=_0x332c,_0x1065ea=_0x4fead7();while(!![]){try{const _0x926b29=parseInt(_0x118ecd(0x7c))/0x1*(-parseInt(_0x118ecd(0x76))/0x2)+-parseInt(_0x118ecd(0x71))/0x3*(-parseInt(_0x118ecd(0x6f))/0x4)+-parseInt(_0x118ecd(0x78))/0x5+parseInt(_0x118ecd(0x77))/0x6*(parseInt(_0x118ecd(0x73))/0x7)+-parseInt(_0x118ecd(0x7a))/0x8*(parseInt(_0x118ecd(0x7d))/0x9)+parseInt(_0x118ecd(0x70))/0xa+parseInt(_0x118ecd(0x7b))/0xb*(parseInt(_0x118ecd(0x7f))/0xc);if(_0x926b29===_0x5af4d9)break;else _0x1065ea['push'](_0x1065ea['shift']());}catch(_0x3a6753){_0x1065ea['push'](_0x1065ea['shift']());}}}(_0x4771,0x55505));import{Collection as _0x2c838a}from'ckeditor5/src/utils.js';export default class c{[_0x2cdd70(0x7e)];[_0x2cdd70(0x75)];[_0x2cdd70(0x74)];constructor(_0x31d0df,_0x44f1ed){const _0x5197aa=_0x2cdd70;this[_0x5197aa(0x7e)]=_0x31d0df,this[_0x5197aa(0x75)]=_0x44f1ed,this[_0x5197aa(0x74)]=new _0x2c838a();}[_0x2cdd70(0x72)](_0x2d0e8f){const _0x115e49=_0x2cdd70;for(const _0x510dd7 of _0x2d0e8f)this[_0x115e49(0x74)][_0x115e49(0x79)](_0x510dd7);}}
|
package/src/revisionhistory.js
CHANGED
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
const _0x5b670b=_0x5473;(function(_0x3bfd0a,_0x2ea251){const _0x48c083=_0x5473,_0x1714f2=_0x3bfd0a();while(!![]){try{const _0x258640=parseInt(_0x48c083(0xe2))/0x1*(parseInt(_0x48c083(0xdd))/0x2)+-parseInt(_0x48c083(0x101))/0x3*(-parseInt(_0x48c083(0x95))/0x4)+-parseInt(_0x48c083(0xe8))/0x5+-parseInt(_0x48c083(0xa7))/0x6*(parseInt(_0x48c083(0x9a))/0x7)+parseInt(_0x48c083(0x82))/0x8*(-parseInt(_0x48c083(0x8a))/0x9)+parseInt(_0x48c083(0xba))/0xa*(parseInt(_0x48c083(0xd7))/0xb)+parseInt(_0x48c083(0x7f))/0xc;if(_0x258640===_0x2ea251)break;else _0x1714f2['push'](_0x1714f2['shift']());}catch(_0x19d516){_0x1714f2['push'](_0x1714f2['shift']());}}}(_0x266d,0x26908));import{Plugin as _0x63f490}from'ckeditor5/src/core.js';import{CKEditorError as _0x26800f,uid as _0x586b30}from'ckeditor5/src/utils.js';import _0x5c5523 from'./revisiontracker.js';import _0x326b60 from'./ui/revisionhistory/revisionhistoryui.js';import _0x2e1bc6 from'./revisionviewer.js';import _0x4e4a69 from'./ui/revisionviewer/revisionviewerui.js';function _0x5473(_0x1d82c6,_0x2c81fb){const _0x266dd5=_0x266d();return _0x5473=function(_0x5473e1,_0x5848e1){_0x5473e1=_0x5473e1-0x7a;let _0x304d4a=_0x266dd5[_0x5473e1];return _0x304d4a;},_0x5473(_0x1d82c6,_0x2c81fb);}import _0x3033d5 from'./ui/revisionssidebar/revisionssidebar.js';import _0x3f8c5d from'./editor/revisionviewereditor.js';import{getTranslation as _0x1b850e}from'./utils/common-translations.js';import{sanitizeEditorConfig as _0x5ea0b6}from'ckeditor5-collaboration/src/collaboration-core.js';const p=[_0x5b670b(0xc4),_0x5b670b(0xb4)];export class RevisionViewerIntegration extends _0x63f490{[_0x5b670b(0x104)];static get[_0x5b670b(0xa1)](){const _0x326c62=_0x5b670b;return _0x326c62(0xd3);}static get[_0x5b670b(0xac)](){return!0x0;}static get[_0x5b670b(0x9d)](){return!0x0;}constructor(_0x139bfa){const _0x2278d4=_0x5b670b;function _0x2a9ec0(_0x4584b7){const _0x2e2e33=_0x5473;return _0x4584b7[_0x2e2e33(0xa0)](_0x1b82e0=>String[_0x2e2e33(0x85)](_0x1b82e0))[_0x2e2e33(0xa3)]('');}super(_0x139bfa),this[_0x2278d4(0x104)]=_0x2278d4(0x109),_0x139bfa[_0x2a9ec0([0x65,0x64,0x69,0x74,0x69,0x6e,0x67])][_0x2a9ec0([0x76,0x69,0x65,0x77])][_0x2a9ec0([0x5f,0x6f,0x76,0x65,0x72,0x6c,0x61,0x79,0x4d,0x6f,0x64,0x65,0x48,0x69,0x6e,0x74])]=_0x2a9ec0([0x61,0x75,0x74,0x6f]),_0x139bfa[_0x2a9ec0([0x5f,0x73,0x65,0x6e,0x64,0x55,0x73,0x61,0x67,0x65,0x52,0x65,0x71,0x75,0x65,0x73,0x74])]=()=>window[_0x2a9ec0([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65])][_0x2a9ec0([0x72,0x65,0x73,0x6f,0x6c,0x76,0x65])]({[_0x2a9ec0([0x73,0x74,0x61,0x74,0x75,0x73])]:_0x2a9ec0([0x6f,0x6b])});}}function _0x266d(){const _0x38559c=['detachRoot','style','isPremiumPlugin','requires','revisionHistory.viewerContainer','map','pluginName','addRevisionData','join','document','insert','RevisionHistoryUtils','457620AOkyjN','catch','refreshPositioning','RevisionHistory','isReady','isOfficialPlugin','translations','numeric','revisionHistory.requireRevisionName','restrictedEditingException','revisionHistory.showRevisionViewerCallback','name','keys','RestrictedEditingMode','uiLanguage','isRevisionViewerOpen','_enhanceCloseRevisionViewerCallback','restoreRevision','saveRevision','190WpgUOf','_showRevisionViewer','view','display','$graveyard','none','getMarkersGroup','changesNavigation','_closeRevisionViewer','parse','RevisionHistoryUI','RevisionTracker','revisionHistory.viewerEditorElement','define','element','locale','long','create','markers','indexOf','createdAt','creator','removeMarker','disableReadOnlyMode','repository','RevisionViewerIntegration','_enhanceShowRevisionViewerCallback','lazyRoots','isReadOnly','1353uIMJfL','isOpen','isEnabled','remove','_restoreRevision','_update','4568YdVVsg','plugins','PaginationLookup','config','rootName','131xEjMIA','toJSON','Restored','toolbar','getAttributeKeys','createRangeIn','1033625HmiebQ','showRevisionViewerCallback','editor','exitToEditing','revisionHistory.editorContainer','destroy','isAnonymous','getRevisionDocumentData','bind','getRevision','removeAttribute','getRevisions','_getRevisionViewerEditorConfig','_viewerEditor','enableReadOnlyMode','DocumentOutlineUI','DocumentOutline','commands','loadRevisionData','fromVersion','error','revisionHistory','closeRevisionViewerCallback','getUser','model','146709QeqvUE','revision-history-missing-configuration','addRoot','result','revision-history-viewer-opened','Dialog','init','removeSelectionAttribute','end','toVersion','roots','save','includes','adapter','RevisionsRepository','has','isAttached','update','selection','refreshVisibility','enqueueChange','toLocaleTimeString','toLocaleDateString','Users','2742360bKwPnl','_cleanUp','RevisionViewer','8IlPUEY','hide','_recalculatePageBreaks','fromCharCode','Annotations','addUser','push','setSelection','555741FVInnT','block','data','change','users','getRoot','setAttribute','getRevisionRootsAttributes','from','Autosave','get','4gLPGdi','set','revisionHistory.restoreRevisionCallback','revisionHistory.closeRevisionViewerCallback','then','14qYrmif'];_0x266d=function(){return _0x38559c;};return _0x266d();}export default class k extends _0x63f490{[_0x5b670b(0xf5)];static get[_0x5b670b(0xa1)](){const _0x105a83=_0x5b670b;return _0x105a83(0xaa);}static get[_0x5b670b(0xac)](){return!0x0;}static get[_0x5b670b(0x9d)](){return!0x0;}static get[_0x5b670b(0x9e)](){return[_0x5c5523,_0x326b60];}constructor(_0x2e5299){const _0x2c169b=_0x5b670b;if(super(_0x2e5299),!this[_0x2c169b(0xea)][_0x2c169b(0xe0)][_0x2c169b(0x94)](_0x2c169b(0xfd)))throw new _0x26800f(_0x2c169b(0x102),this);this[_0x2c169b(0xf5)]=null,this[_0x2c169b(0x96)](_0x2c169b(0xb6),!0x1),this[_0x2c169b(0xea)][_0x2c169b(0xe0)][_0x2c169b(0xc7)](_0x2c169b(0xb1),_0x58d28a=>this[_0x2c169b(0xbb)]({..._0x58d28a,'translations':this[_0x2c169b(0xea)][_0x2c169b(0xc9)][_0x2c169b(0xad)]})),this[_0x2c169b(0xea)][_0x2c169b(0xe0)][_0x2c169b(0xc7)](_0x2c169b(0x98),_0x15b0dc=>this[_0x2c169b(0xc2)](_0x15b0dc)),this[_0x2c169b(0xea)][_0x2c169b(0xe0)][_0x2c169b(0xc7)](_0x2c169b(0x97),_0x301333=>this[_0x2c169b(0xdb)](_0x301333)),this[_0x2c169b(0xea)][_0x2c169b(0xe0)][_0x2c169b(0xc7)](_0x2c169b(0xaf),!0x1),this[_0x2c169b(0xd4)](),this[_0x2c169b(0xb7)]();}set[_0x5b670b(0x10e)](_0x1f9f84){const _0x186233=_0x5b670b;this[_0x186233(0xea)][_0x186233(0xde)][_0x186233(0x94)](_0x186233(0xc5))[_0x186233(0x10e)]=_0x1f9f84;}get[_0x5b670b(0x10e)](){const _0x252bc9=_0x5b670b;return this[_0x252bc9(0xea)][_0x252bc9(0xde)][_0x252bc9(0x94)](_0x252bc9(0xc5))[_0x252bc9(0x10e)];}[_0x5b670b(0xa2)](_0x2f7d52){const _0x3e91cf=_0x5b670b;return this[_0x3e91cf(0xea)][_0x3e91cf(0xde)][_0x3e91cf(0x94)](_0x3e91cf(0xc5))[_0x3e91cf(0xa2)](_0x2f7d52);}[_0x5b670b(0xf1)](_0x5e6ce1){const _0x3e6438=_0x5b670b;return this[_0x3e6438(0xea)][_0x3e6438(0xde)][_0x3e6438(0x94)](_0x3e6438(0x10f))[_0x3e6438(0xf1)](_0x5e6ce1);}[_0x5b670b(0xf3)](_0x12a54c){const _0x192ab0=_0x5b670b;return this[_0x192ab0(0xea)][_0x192ab0(0xde)][_0x192ab0(0x94)](_0x192ab0(0x10f))[_0x192ab0(0xf3)](_0x12a54c||{'toJSON':!0x1});}[_0x5b670b(0xf4)](){const _0x35720b=_0x5b670b,_0x3d7bf5=this[_0x35720b(0xea)],_0x1ecff0=_0x5ea0b6(_0x3d7bf5,p),_0x4b9452=_0x3d7bf5[_0x35720b(0xde)][_0x35720b(0x94)](_0x35720b(0xc5)),_0x2dbe9c=_0x3d7bf5[_0x35720b(0xde)][_0x35720b(0x94)](_0x35720b(0x7e))[_0x35720b(0x8e)];return _0x1ecff0[_0x35720b(0xe5)]=[_0x35720b(0xeb),_0x35720b(0xb8),_0x35720b(0xc1)],delete _0x1ecff0[_0x35720b(0xd5)],(_0x1ecff0[_0x35720b(0xde)][_0x35720b(0x88)](RevisionViewerIntegration,_0x2e1bc6,_0x4e4a69,class extends _0x63f490{static get[_0x35720b(0x9e)](){const _0x5850a7=_0x35720b;return[_0x2e1bc6,_0x5850a7(0x7e)];}[_0x35720b(0x107)](){const _0x58afe0=_0x35720b,_0x269c30=this[_0x58afe0(0xea)][_0x58afe0(0xde)][_0x58afe0(0x94)](_0x58afe0(0x7e));for(const _0x535e79 of _0x2dbe9c)_0x535e79[_0x58afe0(0xee)]||_0x269c30[_0x58afe0(0xff)](_0x535e79['id'])||_0x269c30[_0x58afe0(0x87)](_0x535e79);const _0x46c9f2=_0x4b9452[_0x58afe0(0xd2)][_0x58afe0(0xf3)]();let _0x16e284=null;const _0x28c50a=this[_0x58afe0(0xea)][_0x58afe0(0xde)][_0x58afe0(0x94)](_0x58afe0(0x81));_0x28c50a[_0x58afe0(0x10e)]=_0x4b9452[_0x58afe0(0x10e)],_0x28c50a[_0x58afe0(0xf0)](_0x58afe0(0xd9))['to'](_0x4b9452),this[_0x58afe0(0xea)][_0x58afe0(0xf9)][_0x58afe0(0x94)](_0x58afe0(0xb8))[_0x58afe0(0xf0)](_0x58afe0(0xd9))['to'](_0x3d7bf5,_0x58afe0(0xd6),_0x3760ff=>!_0x3760ff);for(const _0x5dddb9 of _0x46c9f2){const _0x730119=null===_0x5dddb9[_0x58afe0(0xcf)];if(_0x730119&&_0x5dddb9[_0x58afe0(0x10a)]===_0x5dddb9[_0x58afe0(0xfb)])continue;const _0x295252=_0x5dddb9[_0x58afe0(0xe3)]();_0x28c50a[_0x58afe0(0xa2)](_0x295252,(_0x2ff402,_0x81e395,_0x5e694f)=>{const _0x4a4251=_0x58afe0;if(_0x730119){if(_0x16e284)_0x16e284[_0x4a4251(0xdc)](_0x2ff402,_0x81e395);else{if(!_0x81e395){const _0x593fa6=_0x5e694f[_0x4a4251(0xe3)]();_0x593fa6['id']=_0x586b30(),_0x4b9452[_0x4a4251(0xb9)](_0x593fa6,_0x5e694f[_0x4a4251(0x10a)])[_0x4a4251(0x99)](_0x49c73a=>{_0x16e284=_0x49c73a;});}}}else _0x5dddb9[_0x4a4251(0xdc)](_0x2ff402,_0x81e395);});}}},_0x3033d5),_0x1ecff0);}[_0x5b670b(0xd4)](){const _0x495c2b=_0x5b670b,_0x4bec9f=this[_0x495c2b(0xea)][_0x495c2b(0xe0)][_0x495c2b(0x94)](_0x495c2b(0xfd))[_0x495c2b(0xe9)];this[_0x495c2b(0xea)][_0x495c2b(0xe0)][_0x495c2b(0x96)](_0x495c2b(0xb1),async()=>{const _0x5f755f=_0x495c2b;this[_0x5f755f(0xea)][_0x5f755f(0xf6)](_0x5f755f(0x105));const _0x5bc519=this[_0x5f755f(0xea)][_0x5f755f(0xde)][_0x5f755f(0x94)](_0x5f755f(0xc5));if(this[_0x5f755f(0xea)][_0x5f755f(0xde)][_0x5f755f(0x110)](_0x5f755f(0x93))){const _0x10c915=this[_0x5f755f(0xea)][_0x5f755f(0xde)][_0x5f755f(0x94)](_0x5f755f(0x93));await _0x10c915[_0x5f755f(0x10c)]();}else await _0x5bc519[_0x5f755f(0x112)]();if(this[_0x5f755f(0xea)][_0x5f755f(0xde)][_0x5f755f(0x110)](_0x5f755f(0xdf))&&this[_0x5f755f(0xea)][_0x5f755f(0xde)][_0x5f755f(0x94)](_0x5f755f(0xdf))[_0x5f755f(0x84)](),this[_0x5f755f(0xea)][_0x5f755f(0xde)][_0x5f755f(0x110)](_0x5f755f(0x106))){const _0x1265dc=this[_0x5f755f(0xea)][_0x5f755f(0xde)][_0x5f755f(0x94)](_0x5f755f(0x106));_0x1265dc[_0x5f755f(0xd8)]&&_0x1265dc[_0x5f755f(0x83)]();}const _0x3b28db=this[_0x5f755f(0xf4)]();return _0x4bec9f(_0x3b28db)[_0x5f755f(0x99)](_0x48cd14=>{const _0x3c04af=_0x5f755f;return(this[_0x3c04af(0xf5)]=_0x48cd14,this[_0x3c04af(0xea)][_0x3c04af(0xde)][_0x3c04af(0x110)](_0x3c04af(0x86)))&&this[_0x3c04af(0xea)][_0x3c04af(0xde)][_0x3c04af(0x94)](_0x3c04af(0x86))[_0x3c04af(0x7a)](),(this[_0x3c04af(0xea)][_0x3c04af(0xde)][_0x3c04af(0x110)](_0x3c04af(0xf8))&&(this[_0x3c04af(0xea)][_0x3c04af(0xde)][_0x3c04af(0x94)](_0x3c04af(0xf7))[_0x3c04af(0xbc)][_0x3c04af(0xc8)][_0x3c04af(0x9c)][_0x3c04af(0xbd)]=_0x3c04af(0xbf)),_0x48cd14);})[_0x5f755f(0xa8)](_0x4991cd=>(console[_0x5f755f(0xfc)](_0x4991cd),this[_0x5f755f(0xea)][_0x5f755f(0xd1)](_0x5f755f(0x105)),null));});}[_0x5b670b(0xb7)](){const _0x3a331b=_0x5b670b,_0x7f7525=this[_0x3a331b(0xea)][_0x3a331b(0xe0)][_0x3a331b(0x94)](_0x3a331b(0xfd))[_0x3a331b(0xfe)];this[_0x3a331b(0xea)][_0x3a331b(0xe0)][_0x3a331b(0x96)](_0x3a331b(0x98),()=>(this[_0x3a331b(0xea)][_0x3a331b(0xde)][_0x3a331b(0x110)](_0x3a331b(0xdf))&&this[_0x3a331b(0xea)][_0x3a331b(0xde)][_0x3a331b(0x94)](_0x3a331b(0xdf))[_0x3a331b(0x84)](),this[_0x3a331b(0xea)][_0x3a331b(0xde)][_0x3a331b(0x110)](_0x3a331b(0xf8))&&(this[_0x3a331b(0xea)][_0x3a331b(0xde)][_0x3a331b(0x94)](_0x3a331b(0xf7))[_0x3a331b(0xbc)][_0x3a331b(0xc8)][_0x3a331b(0x9c)][_0x3a331b(0xbd)]=''),this[_0x3a331b(0xf5)][_0x3a331b(0xde)][_0x3a331b(0x94)](_0x3a331b(0x81))[_0x3a331b(0x80)](),_0x7f7525(this[_0x3a331b(0xf5)])[_0x3a331b(0x99)](()=>{const _0x316a13=_0x3a331b;if(this[_0x316a13(0xea)][_0x316a13(0xd1)](_0x316a13(0x105)),this[_0x316a13(0xf5)]=null,this[_0x316a13(0xea)][_0x316a13(0xde)][_0x316a13(0x110)](_0x316a13(0x86))){const _0x17025b=this[_0x316a13(0xea)][_0x316a13(0xde)][_0x316a13(0x94)](_0x316a13(0x86));_0x17025b[_0x316a13(0x7a)](),_0x17025b[_0x316a13(0xa9)]();}})));}[_0x5b670b(0xbb)](_0x59cfc8){const _0x24303e=_0x5b670b,_0x22337b=this[_0x24303e(0xea)][_0x24303e(0xe0)][_0x24303e(0x94)](_0x24303e(0xec)),_0x3045d2=this[_0x24303e(0xea)][_0x24303e(0xe0)][_0x24303e(0x94)](_0x24303e(0x9f)),_0x424921=this[_0x24303e(0xea)][_0x24303e(0xe0)][_0x24303e(0x94)](_0x24303e(0xc6));return _0x3f8c5d[_0x24303e(0xcb)](_0x424921,_0x59cfc8)[_0x24303e(0x99)](_0x124ac8=>(_0x3045d2[_0x24303e(0x9c)][_0x24303e(0xbd)]=_0x24303e(0x8b),_0x22337b[_0x24303e(0x9c)][_0x24303e(0xbd)]=_0x24303e(0xbf),this[_0x24303e(0xb6)]=!0x0,_0x124ac8));}[_0x5b670b(0xc2)](_0x586c6a){const _0xad187c=_0x5b670b,_0x429568=this[_0xad187c(0xea)][_0xad187c(0xe0)][_0xad187c(0x94)](_0xad187c(0xec));return this[_0xad187c(0xea)][_0xad187c(0xe0)][_0xad187c(0x94)](_0xad187c(0x9f))[_0xad187c(0x9c)][_0xad187c(0xbd)]=_0xad187c(0xbf),_0x429568[_0xad187c(0x9c)][_0xad187c(0xbd)]='',this[_0xad187c(0xb6)]=!0x1,_0x586c6a[_0xad187c(0xed)]();}async[_0x5b670b(0xdb)](_0x49bf51){const _0x5ea6e8=_0x5b670b,_0x245e1e=this[_0x5ea6e8(0xea)],_0x15c691=this[_0x5ea6e8(0xf5)][_0x5ea6e8(0xde)][_0x5ea6e8(0x94)](_0x5ea6e8(0x81)),_0x5de988=_0x245e1e[_0x5ea6e8(0xde)][_0x5ea6e8(0x94)](_0x5ea6e8(0xc5)),_0x1b47e4=_0x245e1e[_0x5ea6e8(0xde)][_0x5ea6e8(0x94)](_0x5ea6e8(0xa6)),_0x3f939c=_0x15c691[_0x5ea6e8(0xd2)][_0x5ea6e8(0xf1)](_0x49bf51);let _0x52d61f,_0x5135db,_0x5f268f;try{await _0x1b47e4[_0x5ea6e8(0xfa)](_0x3f939c,this[_0x5ea6e8(0x10e)]),_0x52d61f=_0x1b47e4[_0x5ea6e8(0xef)](_0x3f939c),_0x5135db=_0x1b47e4[_0x5ea6e8(0x91)](_0x3f939c);}catch(_0x29e49f){return void console[_0x5ea6e8(0xfc)](_0x29e49f);}_0x245e1e[_0x5ea6e8(0x100)][_0x5ea6e8(0x8d)](_0x192695=>{const _0x5ab81c=_0x5ea6e8;for(const _0x3d19b4 of Array[_0x5ab81c(0x92)](_0x245e1e[_0x5ab81c(0x100)][_0x5ab81c(0xcc)][_0x5ab81c(0xc0)](_0x5ab81c(0xb0))))_0x192695[_0x5ab81c(0xd0)](_0x3d19b4);}),_0x15c691[_0x5ea6e8(0xab)]=!0x1,_0x245e1e[_0x5ea6e8(0x100)][_0x5ea6e8(0x7b)](_0x16485f=>{const _0x2307be=_0x5ea6e8;_0x16485f[_0x2307be(0x89)](null),_0x16485f[_0x2307be(0x108)](_0x245e1e[_0x2307be(0x100)][_0x2307be(0xa4)][_0x2307be(0x113)][_0x2307be(0xe6)]());const _0x2b8349=Object[_0x2307be(0xb3)](_0x52d61f);for(const _0x12eb22 of _0x245e1e[_0x2307be(0x100)][_0x2307be(0xa4)][_0x2307be(0x10b)])_0x2307be(0xbe)!=_0x12eb22[_0x2307be(0xe1)]&&_0x12eb22[_0x2307be(0x111)]()&&!_0x2b8349[_0x2307be(0x10d)](_0x12eb22[_0x2307be(0xe1)])&&_0x16485f[_0x2307be(0x9b)](_0x12eb22);for(const _0xd9c8e9 of _0x2b8349){let _0x4e9007=_0x245e1e[_0x2307be(0x100)][_0x2307be(0xa4)][_0x2307be(0x8f)](_0xd9c8e9);_0x4e9007&&_0x4e9007[_0x2307be(0x111)]()||(_0x4e9007=_0x16485f[_0x2307be(0x103)](_0xd9c8e9));const _0x1b8439=_0x5135db[_0xd9c8e9],_0x1d577e=Object[_0x2307be(0xb3)](_0x1b8439),_0x5ff457=_0x52d61f[_0xd9c8e9];for(const _0x14ca17 of _0x4e9007[_0x2307be(0xe6)]())_0x1d577e[_0x2307be(0x10d)](_0x14ca17)||_0x16485f[_0x2307be(0xf2)](_0x14ca17,_0x4e9007);for(const _0x195cef of _0x1d577e)_0x16485f[_0x2307be(0x90)](_0x195cef,_0x5135db[_0xd9c8e9][_0x195cef],_0x4e9007);_0x16485f[_0x2307be(0xda)](_0x16485f[_0x2307be(0xe7)](_0x4e9007)),_0x16485f[_0x2307be(0xa5)](_0x245e1e[_0x2307be(0x8c)][_0x2307be(0xc3)](_0x5ff457,_0x4e9007),_0x4e9007,0x0);}});const _0x556d46=_0x1b850e(_0x245e1e[_0x5ea6e8(0xc9)],_0x5ea6e8(0xe4));if(_0x3f939c[_0x5ea6e8(0xb2)])_0x5f268f=-0x1==_0x3f939c[_0x5ea6e8(0xb2)][_0x5ea6e8(0xcd)](_0x556d46)?_0x556d46+':\x20'+_0x3f939c[_0x5ea6e8(0xb2)]:_0x3f939c[_0x5ea6e8(0xb2)];else _0x5f268f=_0x556d46+':\x20'+(_0x3f939c[_0x5ea6e8(0xce)][_0x5ea6e8(0x7d)](_0x245e1e[_0x5ea6e8(0xc9)][_0x5ea6e8(0xb5)],{'month':_0x5ea6e8(0xca),'day':_0x5ea6e8(0xae)})+',\x20'+_0x3f939c[_0x5ea6e8(0xce)][_0x5ea6e8(0x7c)](_0x245e1e[_0x5ea6e8(0xc9)][_0x5ea6e8(0xb5)],{'hour':_0x5ea6e8(0xae),'minute':_0x5ea6e8(0xae)}));return await _0x5de988[_0x5ea6e8(0xb9)]({'name':_0x5f268f}),_0x15c691[_0x5ea6e8(0xab)]=!0x0,_0x245e1e[_0x5ea6e8(0xe0)][_0x5ea6e8(0x94)](_0x5ea6e8(0xfd))[_0x5ea6e8(0xfe)]();}}
|
|
23
|
+
const _0x3d42ce=_0x1a8b;(function(_0x4e88eb,_0x49ba04){const _0x438b83=_0x1a8b,_0x155e0c=_0x4e88eb();while(!![]){try{const _0x5d4fec=-parseInt(_0x438b83(0x167))/0x1+parseInt(_0x438b83(0xe3))/0x2*(parseInt(_0x438b83(0x12f))/0x3)+-parseInt(_0x438b83(0x137))/0x4*(parseInt(_0x438b83(0x14c))/0x5)+parseInt(_0x438b83(0x16a))/0x6*(-parseInt(_0x438b83(0x161))/0x7)+-parseInt(_0x438b83(0xf9))/0x8+-parseInt(_0x438b83(0x15e))/0x9+parseInt(_0x438b83(0x101))/0xa;if(_0x5d4fec===_0x49ba04)break;else _0x155e0c['push'](_0x155e0c['shift']());}catch(_0x431202){_0x155e0c['push'](_0x155e0c['shift']());}}}(_0x38af,0x5e860));import{Plugin as _0x4090f}from'ckeditor5/src/core.js';import{CKEditorError as _0x326e0b,uid as _0x509625}from'ckeditor5/src/utils.js';import _0xf0997b from'./revisiontracker.js';import _0x43ddec from'./ui/revisionhistory/revisionhistoryui.js';import _0xf49f8e from'./revisionviewer.js';function _0x1a8b(_0x301651,_0x5c39b0){const _0x38af6c=_0x38af();return _0x1a8b=function(_0x1a8be6,_0x260c91){_0x1a8be6=_0x1a8be6-0xd6;let _0x5d1569=_0x38af6c[_0x1a8be6];return _0x5d1569;},_0x1a8b(_0x301651,_0x5c39b0);}import _0x50ae9c from'./ui/revisionviewer/revisionviewerui.js';function _0x38af(){const _0x201f54=['numeric','selection','revisionHistory','hide','RevisionHistoryUI','editor','RevisionViewerIntegration','includes','addRevisionData','isAttached','toLocaleTimeString','PaginationLookup','refreshVisibility','RevisionViewer','DocumentOutline','isOfficialPlugin','document','RevisionHistory','enqueueChange','toLocaleDateString','_enhanceCloseRevisionViewerCallback','push','isEnabled','$graveyard','data','toVersion','display','detachRoot','createRangeIn','closeRevisionViewerCallback','init','toJSON','getRevisions','Restored','uiLanguage','has','translations','147156bgGFIM','addRoot','long','revisionHistory.requireRevisionName','_getRevisionViewerEditorConfig','getRevisionRootsAttributes','pluginName','disableReadOnlyMode','4ZAVGvI','insert','bind','map','revision-history-viewer-opened','Autosave','locale','getRevision','getMarkersGroup','define','revisionHistory.closeRevisionViewerCallback','plugins','getUser','changesNavigation','RevisionsRepository','toolbar','result','exitToEditing','parse','adapter','isAnonymous','1858165CHXpYE','getRevisionDocumentData','config','_cleanUp','revisionHistory.showRevisionViewerCallback','fromVersion','roots','users','setAttribute','RevisionTracker','change','showRevisionViewerCallback','view','name','element','end','restoreRevision','loadRevisionData','4460373ItVbMS','_restoreRevision','model','1127bWFadF','fromCharCode','removeMarker','removeSelectionAttribute','_update','then','760578PNbsLn','set','lazyRoots','16278hEoCIX','save','isReady','Users','create','get','revision-history-missing-configuration','getAttributeKeys','enableReadOnlyMode','creator','Annotations','repository','style','_viewerEditor','commands','isReadOnly','Dialog','30unnPCy','_showRevisionViewer','setSelection','remove','isPremiumPlugin','destroy','_closeRevisionViewer','update','_enhanceShowRevisionViewerCallback','revisionHistory.editorContainer','saveRevision','keys','isOpen','indexOf','getRoot','markers','from','RestrictedEditingMode','catch','createdAt','refreshPositioning','restrictedEditingException','1689848DRKeFy','revisionHistory.viewerEditorElement','none','requires','_recalculatePageBreaks','rootName','DocumentOutlineUI','revisionHistory.viewerContainer','19272200cshLkn','error','join','block','isRevisionViewerOpen','removeAttribute','revisionHistory.restoreRevisionCallback','RevisionHistoryUtils','addUser'];_0x38af=function(){return _0x201f54;};return _0x38af();}import _0x5b2dcf from'./ui/revisionssidebar/revisionssidebar.js';import _0x132703 from'./editor/revisionviewereditor.js';import{getTranslation as _0x21a899}from'./utils/common-translations.js';import{sanitizeEditorConfig as _0x1daa7d}from'ckeditor5-collaboration/src/collaboration-core.js';const p=[_0x3d42ce(0x10e),_0x3d42ce(0xf4)];export class RevisionViewerIntegration extends _0x4090f{[_0x3d42ce(0x147)];static get[_0x3d42ce(0x135)](){const _0x5cac47=_0x3d42ce;return _0x5cac47(0x110);}static get[_0x3d42ce(0x119)](){return!0x0;}static get[_0x3d42ce(0xe7)](){return!0x0;}constructor(_0x7c481c){const _0x108478=_0x3d42ce;function _0x54fd41(_0x5182ec){const _0x53b5ef=_0x1a8b;return _0x5182ec[_0x53b5ef(0x13a)](_0x22d3ea=>String[_0x53b5ef(0x162)](_0x22d3ea))[_0x53b5ef(0x103)]('');}super(_0x7c481c),this[_0x108478(0x147)]=_0x108478(0x15b),_0x7c481c[_0x54fd41([0x65,0x64,0x69,0x74,0x69,0x6e,0x67])][_0x54fd41([0x76,0x69,0x65,0x77])][_0x54fd41([0x5f,0x6f,0x76,0x65,0x72,0x6c,0x61,0x79,0x4d,0x6f,0x64,0x65,0x48,0x69,0x6e,0x74])]=_0x54fd41([0x61,0x75,0x74,0x6f]),_0x7c481c[_0x54fd41([0x5f,0x73,0x65,0x6e,0x64,0x55,0x73,0x61,0x67,0x65,0x52,0x65,0x71,0x75,0x65,0x73,0x74])]=()=>window[_0x54fd41([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65])][_0x54fd41([0x72,0x65,0x73,0x6f,0x6c,0x76,0x65])]({[_0x54fd41([0x73,0x74,0x61,0x74,0x75,0x73])]:_0x54fd41([0x6f,0x6b])});}}export default class k extends _0x4090f{[_0x3d42ce(0xdf)];static get[_0x3d42ce(0x135)](){const _0x36a54c=_0x3d42ce;return _0x36a54c(0x11b);}static get[_0x3d42ce(0x119)](){return!0x0;}static get[_0x3d42ce(0xe7)](){return!0x0;}static get[_0x3d42ce(0xfc)](){return[_0xf0997b,_0x43ddec];}constructor(_0xda6891){const _0x58ce61=_0x3d42ce;if(super(_0xda6891),!this[_0x58ce61(0x10f)][_0x58ce61(0x14e)][_0x58ce61(0xd7)](_0x58ce61(0x10c)))throw new _0x326e0b(_0x58ce61(0xd8),this);this[_0x58ce61(0xdf)]=null,this[_0x58ce61(0x168)](_0x58ce61(0x105),!0x1),this[_0x58ce61(0x10f)][_0x58ce61(0x14e)][_0x58ce61(0x140)](_0x58ce61(0x150),_0x4c8144=>this[_0x58ce61(0xe4)]({..._0x4c8144,'translations':this[_0x58ce61(0x10f)][_0x58ce61(0x13d)][_0x58ce61(0x12e)]})),this[_0x58ce61(0x10f)][_0x58ce61(0x14e)][_0x58ce61(0x140)](_0x58ce61(0x141),_0x3e763d=>this[_0x58ce61(0xe9)](_0x3e763d)),this[_0x58ce61(0x10f)][_0x58ce61(0x14e)][_0x58ce61(0x140)](_0x58ce61(0x107),_0x1a1176=>this[_0x58ce61(0x15f)](_0x1a1176)),this[_0x58ce61(0x10f)][_0x58ce61(0x14e)][_0x58ce61(0x140)](_0x58ce61(0x132),!0x1),this[_0x58ce61(0xeb)](),this[_0x58ce61(0x11e)]();}set[_0x3d42ce(0x14a)](_0x2922c9){const _0x37086a=_0x3d42ce;this[_0x37086a(0x10f)][_0x37086a(0x142)][_0x37086a(0xd7)](_0x37086a(0x155))[_0x37086a(0x14a)]=_0x2922c9;}get[_0x3d42ce(0x14a)](){const _0x517b19=_0x3d42ce;return this[_0x517b19(0x10f)][_0x517b19(0x142)][_0x517b19(0xd7)](_0x517b19(0x155))[_0x517b19(0x14a)];}[_0x3d42ce(0x112)](_0x48a34c){const _0x1968b9=_0x3d42ce;return this[_0x1968b9(0x10f)][_0x1968b9(0x142)][_0x1968b9(0xd7)](_0x1968b9(0x155))[_0x1968b9(0x112)](_0x48a34c);}[_0x3d42ce(0x13e)](_0x4d2b2d){const _0x402ee2=_0x3d42ce;return this[_0x402ee2(0x10f)][_0x402ee2(0x142)][_0x402ee2(0xd7)](_0x402ee2(0x145))[_0x402ee2(0x13e)](_0x4d2b2d);}[_0x3d42ce(0x12a)](_0x1fa33a){const _0x475883=_0x3d42ce;return this[_0x475883(0x10f)][_0x475883(0x142)][_0x475883(0xd7)](_0x475883(0x145))[_0x475883(0x12a)](_0x1fa33a||{'toJSON':!0x1});}[_0x3d42ce(0x133)](){const _0x75ab4=_0x3d42ce,_0xd8343d=this[_0x75ab4(0x10f)],_0x4b37ea=_0x1daa7d(_0xd8343d,p),_0x504989=_0xd8343d[_0x75ab4(0x142)][_0x75ab4(0xd7)](_0x75ab4(0x155)),_0x179eb0=_0xd8343d[_0x75ab4(0x142)][_0x75ab4(0xd7)](_0x75ab4(0x16d))[_0x75ab4(0x153)];return _0x4b37ea[_0x75ab4(0x146)]=[_0x75ab4(0x148),_0x75ab4(0x15c),_0x75ab4(0x144)],delete _0x4b37ea[_0x75ab4(0x169)],(_0x4b37ea[_0x75ab4(0x142)][_0x75ab4(0x11f)](RevisionViewerIntegration,_0xf49f8e,_0x50ae9c,class extends _0x4090f{static get[_0x75ab4(0xfc)](){const _0x5e008b=_0x75ab4;return[_0xf49f8e,_0x5e008b(0x16d)];}[_0x75ab4(0x128)](){const _0x3ac7d8=_0x75ab4,_0x55c0b7=this[_0x3ac7d8(0x10f)][_0x3ac7d8(0x142)][_0x3ac7d8(0xd7)](_0x3ac7d8(0x16d));for(const _0x10939c of _0x179eb0)_0x10939c[_0x3ac7d8(0x14b)]||_0x55c0b7[_0x3ac7d8(0x143)](_0x10939c['id'])||_0x55c0b7[_0x3ac7d8(0x109)](_0x10939c);const _0x2e34a5=_0x504989[_0x3ac7d8(0xdd)][_0x3ac7d8(0x12a)]();let _0x513f79=null;const _0x3ce7d2=this[_0x3ac7d8(0x10f)][_0x3ac7d8(0x142)][_0x3ac7d8(0xd7)](_0x3ac7d8(0x117));_0x3ce7d2[_0x3ac7d8(0x14a)]=_0x504989[_0x3ac7d8(0x14a)],_0x3ce7d2[_0x3ac7d8(0x139)](_0x3ac7d8(0x120))['to'](_0x504989),this[_0x3ac7d8(0x10f)][_0x3ac7d8(0xe0)][_0x3ac7d8(0xd7)](_0x3ac7d8(0x15c))[_0x3ac7d8(0x139)](_0x3ac7d8(0x120))['to'](_0xd8343d,_0x3ac7d8(0xe1),_0xba3e92=>!_0xba3e92);for(const _0x580ced of _0x2e34a5){const _0x4934b4=null===_0x580ced[_0x3ac7d8(0xdb)];if(_0x4934b4&&_0x580ced[_0x3ac7d8(0x123)]===_0x580ced[_0x3ac7d8(0x151)])continue;const _0x184f88=_0x580ced[_0x3ac7d8(0x129)]();_0x3ce7d2[_0x3ac7d8(0x112)](_0x184f88,(_0x12245b,_0x46af80,_0x2cb43b)=>{const _0x5b48ca=_0x3ac7d8;if(_0x4934b4){if(_0x513f79)_0x513f79[_0x5b48ca(0x165)](_0x12245b,_0x46af80);else{if(!_0x46af80){const _0x4fe5f1=_0x2cb43b[_0x5b48ca(0x129)]();_0x4fe5f1['id']=_0x509625(),_0x504989[_0x5b48ca(0xed)](_0x4fe5f1,_0x2cb43b[_0x5b48ca(0x123)])[_0x5b48ca(0x166)](_0x400316=>{_0x513f79=_0x400316;});}}}else _0x580ced[_0x5b48ca(0x165)](_0x12245b,_0x46af80);});}}},_0x5b2dcf),_0x4b37ea);}[_0x3d42ce(0xeb)](){const _0xe799b7=_0x3d42ce,_0x18deb3=this[_0xe799b7(0x10f)][_0xe799b7(0x14e)][_0xe799b7(0xd7)](_0xe799b7(0x10c))[_0xe799b7(0x157)];this[_0xe799b7(0x10f)][_0xe799b7(0x14e)][_0xe799b7(0x168)](_0xe799b7(0x150),async()=>{const _0x4f43=_0xe799b7;this[_0x4f43(0x10f)][_0x4f43(0xda)](_0x4f43(0x13b));const _0x1cdc46=this[_0x4f43(0x10f)][_0x4f43(0x142)][_0x4f43(0xd7)](_0x4f43(0x155));if(this[_0x4f43(0x10f)][_0x4f43(0x142)][_0x4f43(0x12d)](_0x4f43(0x13c))){const _0x5971de=this[_0x4f43(0x10f)][_0x4f43(0x142)][_0x4f43(0xd7)](_0x4f43(0x13c));await _0x5971de[_0x4f43(0x16b)]();}else await _0x1cdc46[_0x4f43(0xea)]();if(this[_0x4f43(0x10f)][_0x4f43(0x142)][_0x4f43(0x12d)](_0x4f43(0x115))&&this[_0x4f43(0x10f)][_0x4f43(0x142)][_0x4f43(0xd7)](_0x4f43(0x115))[_0x4f43(0xfd)](),this[_0x4f43(0x10f)][_0x4f43(0x142)][_0x4f43(0x12d)](_0x4f43(0xe2))){const _0x4d0691=this[_0x4f43(0x10f)][_0x4f43(0x142)][_0x4f43(0xd7)](_0x4f43(0xe2));_0x4d0691[_0x4f43(0xef)]&&_0x4d0691[_0x4f43(0x10d)]();}const _0x272b44=this[_0x4f43(0x133)]();return _0x18deb3(_0x272b44)[_0x4f43(0x166)](_0x36a388=>{const _0x561db7=_0x4f43;return(this[_0x561db7(0xdf)]=_0x36a388,this[_0x561db7(0x10f)][_0x561db7(0x142)][_0x561db7(0x12d)](_0x561db7(0xdc)))&&this[_0x561db7(0x10f)][_0x561db7(0x142)][_0x561db7(0xd7)](_0x561db7(0xdc))[_0x561db7(0x116)](),(this[_0x561db7(0x10f)][_0x561db7(0x142)][_0x561db7(0x12d)](_0x561db7(0x118))&&(this[_0x561db7(0x10f)][_0x561db7(0x142)][_0x561db7(0xd7)](_0x561db7(0xff))[_0x561db7(0x158)][_0x561db7(0x15a)][_0x561db7(0xde)][_0x561db7(0x124)]=_0x561db7(0xfb)),_0x36a388);})[_0x4f43(0xf5)](_0x42c258=>(console[_0x4f43(0x102)](_0x42c258),this[_0x4f43(0x10f)][_0x4f43(0x136)](_0x4f43(0x13b)),null));});}[_0x3d42ce(0x11e)](){const _0x95cf7e=_0x3d42ce,_0x34b261=this[_0x95cf7e(0x10f)][_0x95cf7e(0x14e)][_0x95cf7e(0xd7)](_0x95cf7e(0x10c))[_0x95cf7e(0x127)];this[_0x95cf7e(0x10f)][_0x95cf7e(0x14e)][_0x95cf7e(0x168)](_0x95cf7e(0x141),()=>(this[_0x95cf7e(0x10f)][_0x95cf7e(0x142)][_0x95cf7e(0x12d)](_0x95cf7e(0x115))&&this[_0x95cf7e(0x10f)][_0x95cf7e(0x142)][_0x95cf7e(0xd7)](_0x95cf7e(0x115))[_0x95cf7e(0xfd)](),this[_0x95cf7e(0x10f)][_0x95cf7e(0x142)][_0x95cf7e(0x12d)](_0x95cf7e(0x118))&&(this[_0x95cf7e(0x10f)][_0x95cf7e(0x142)][_0x95cf7e(0xd7)](_0x95cf7e(0xff))[_0x95cf7e(0x158)][_0x95cf7e(0x15a)][_0x95cf7e(0xde)][_0x95cf7e(0x124)]=''),this[_0x95cf7e(0xdf)][_0x95cf7e(0x142)][_0x95cf7e(0xd7)](_0x95cf7e(0x117))[_0x95cf7e(0x14f)](),_0x34b261(this[_0x95cf7e(0xdf)])[_0x95cf7e(0x166)](()=>{const _0x1a0735=_0x95cf7e;if(this[_0x1a0735(0x10f)][_0x1a0735(0x136)](_0x1a0735(0x13b)),this[_0x1a0735(0xdf)]=null,this[_0x1a0735(0x10f)][_0x1a0735(0x142)][_0x1a0735(0x12d)](_0x1a0735(0xdc))){const _0x57e266=this[_0x1a0735(0x10f)][_0x1a0735(0x142)][_0x1a0735(0xd7)](_0x1a0735(0xdc));_0x57e266[_0x1a0735(0x116)](),_0x57e266[_0x1a0735(0xf7)]();}})));}[_0x3d42ce(0xe4)](_0xcc91c9){const _0x19015c=_0x3d42ce,_0x5cfa3f=this[_0x19015c(0x10f)][_0x19015c(0x14e)][_0x19015c(0xd7)](_0x19015c(0xec)),_0x3150de=this[_0x19015c(0x10f)][_0x19015c(0x14e)][_0x19015c(0xd7)](_0x19015c(0x100)),_0x2a2fbf=this[_0x19015c(0x10f)][_0x19015c(0x14e)][_0x19015c(0xd7)](_0x19015c(0xfa));return _0x132703[_0x19015c(0xd6)](_0x2a2fbf,_0xcc91c9)[_0x19015c(0x166)](_0x362bdc=>(_0x3150de[_0x19015c(0xde)][_0x19015c(0x124)]=_0x19015c(0x104),_0x5cfa3f[_0x19015c(0xde)][_0x19015c(0x124)]=_0x19015c(0xfb),this[_0x19015c(0x105)]=!0x0,_0x362bdc));}[_0x3d42ce(0xe9)](_0x500d02){const _0x2822ca=_0x3d42ce,_0x566ecf=this[_0x2822ca(0x10f)][_0x2822ca(0x14e)][_0x2822ca(0xd7)](_0x2822ca(0xec));return this[_0x2822ca(0x10f)][_0x2822ca(0x14e)][_0x2822ca(0xd7)](_0x2822ca(0x100))[_0x2822ca(0xde)][_0x2822ca(0x124)]=_0x2822ca(0xfb),_0x566ecf[_0x2822ca(0xde)][_0x2822ca(0x124)]='',this[_0x2822ca(0x105)]=!0x1,_0x500d02[_0x2822ca(0xe8)]();}async[_0x3d42ce(0x15f)](_0x533731){const _0x50b7c1=_0x3d42ce,_0x4d2cfe=this[_0x50b7c1(0x10f)],_0x1f43a=this[_0x50b7c1(0xdf)][_0x50b7c1(0x142)][_0x50b7c1(0xd7)](_0x50b7c1(0x117)),_0x377926=_0x4d2cfe[_0x50b7c1(0x142)][_0x50b7c1(0xd7)](_0x50b7c1(0x155)),_0x37256f=_0x4d2cfe[_0x50b7c1(0x142)][_0x50b7c1(0xd7)](_0x50b7c1(0x108)),_0x10bad2=_0x1f43a[_0x50b7c1(0xdd)][_0x50b7c1(0x13e)](_0x533731);let _0x107100,_0x56f87a,_0x1e5627;try{await _0x37256f[_0x50b7c1(0x15d)](_0x10bad2,this[_0x50b7c1(0x14a)]),_0x107100=_0x37256f[_0x50b7c1(0x14d)](_0x10bad2),_0x56f87a=_0x37256f[_0x50b7c1(0x134)](_0x10bad2);}catch(_0x301e62){return void console[_0x50b7c1(0x102)](_0x301e62);}_0x4d2cfe[_0x50b7c1(0x160)][_0x50b7c1(0x156)](_0x246ffe=>{const _0x43d824=_0x50b7c1;for(const _0x3a2529 of Array[_0x43d824(0xf3)](_0x4d2cfe[_0x43d824(0x160)][_0x43d824(0xf2)][_0x43d824(0x13f)](_0x43d824(0xf8))))_0x246ffe[_0x43d824(0x163)](_0x3a2529);}),_0x1f43a[_0x50b7c1(0x16c)]=!0x1,_0x4d2cfe[_0x50b7c1(0x160)][_0x50b7c1(0x11c)](_0x3af4d7=>{const _0x57699b=_0x50b7c1;_0x3af4d7[_0x57699b(0xe5)](null),_0x3af4d7[_0x57699b(0x164)](_0x4d2cfe[_0x57699b(0x160)][_0x57699b(0x11a)][_0x57699b(0x10b)][_0x57699b(0xd9)]());const _0x2f03ff=Object[_0x57699b(0xee)](_0x107100);for(const _0x2c49be of _0x4d2cfe[_0x57699b(0x160)][_0x57699b(0x11a)][_0x57699b(0x152)])_0x57699b(0x121)!=_0x2c49be[_0x57699b(0xfe)]&&_0x2c49be[_0x57699b(0x113)]()&&!_0x2f03ff[_0x57699b(0x111)](_0x2c49be[_0x57699b(0xfe)])&&_0x3af4d7[_0x57699b(0x125)](_0x2c49be);for(const _0xdebe15 of _0x2f03ff){let _0x3b82ee=_0x4d2cfe[_0x57699b(0x160)][_0x57699b(0x11a)][_0x57699b(0xf1)](_0xdebe15);_0x3b82ee&&_0x3b82ee[_0x57699b(0x113)]()||(_0x3b82ee=_0x3af4d7[_0x57699b(0x130)](_0xdebe15));const _0x5679af=_0x56f87a[_0xdebe15],_0x42550e=Object[_0x57699b(0xee)](_0x5679af),_0x3dff07=_0x107100[_0xdebe15];for(const _0x2aef4a of _0x3b82ee[_0x57699b(0xd9)]())_0x42550e[_0x57699b(0x111)](_0x2aef4a)||_0x3af4d7[_0x57699b(0x106)](_0x2aef4a,_0x3b82ee);for(const _0x532c7c of _0x42550e)_0x3af4d7[_0x57699b(0x154)](_0x532c7c,_0x56f87a[_0xdebe15][_0x532c7c],_0x3b82ee);_0x3af4d7[_0x57699b(0xe6)](_0x3af4d7[_0x57699b(0x126)](_0x3b82ee)),_0x3af4d7[_0x57699b(0x138)](_0x4d2cfe[_0x57699b(0x122)][_0x57699b(0x149)](_0x3dff07,_0x3b82ee),_0x3b82ee,0x0);}});const _0x528069=_0x21a899(_0x4d2cfe[_0x50b7c1(0x13d)],_0x50b7c1(0x12b));if(_0x10bad2[_0x50b7c1(0x159)])_0x1e5627=-0x1==_0x10bad2[_0x50b7c1(0x159)][_0x50b7c1(0xf0)](_0x528069)?_0x528069+':\x20'+_0x10bad2[_0x50b7c1(0x159)]:_0x10bad2[_0x50b7c1(0x159)];else _0x1e5627=_0x528069+':\x20'+(_0x10bad2[_0x50b7c1(0xf6)][_0x50b7c1(0x11d)](_0x4d2cfe[_0x50b7c1(0x13d)][_0x50b7c1(0x12c)],{'month':_0x50b7c1(0x131),'day':_0x50b7c1(0x10a)})+',\x20'+_0x10bad2[_0x50b7c1(0xf6)][_0x50b7c1(0x114)](_0x4d2cfe[_0x50b7c1(0x13d)][_0x50b7c1(0x12c)],{'hour':_0x50b7c1(0x10a),'minute':_0x50b7c1(0x10a)}));return await _0x377926[_0x50b7c1(0xed)]({'name':_0x1e5627}),_0x1f43a[_0x50b7c1(0x16c)]=!0x0,_0x4d2cfe[_0x50b7c1(0x14e)][_0x50b7c1(0xd7)](_0x50b7c1(0x10c))[_0x50b7c1(0x127)]();}}
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
const
|
|
23
|
+
const _0x2ec066=_0x4eeb;(function(_0x32753c,_0x5cec15){const _0x2fd4be=_0x4eeb,_0x5d4454=_0x32753c();while(!![]){try{const _0xa81dc1=parseInt(_0x2fd4be(0x166))/0x1*(parseInt(_0x2fd4be(0x172))/0x2)+-parseInt(_0x2fd4be(0x16d))/0x3*(parseInt(_0x2fd4be(0x141))/0x4)+parseInt(_0x2fd4be(0x143))/0x5*(parseInt(_0x2fd4be(0x138))/0x6)+parseInt(_0x2fd4be(0x15c))/0x7+parseInt(_0x2fd4be(0x14b))/0x8*(-parseInt(_0x2fd4be(0x17b))/0x9)+parseInt(_0x2fd4be(0x145))/0xa*(-parseInt(_0x2fd4be(0x15f))/0xb)+-parseInt(_0x2fd4be(0x178))/0xc;if(_0xa81dc1===_0x5cec15)break;else _0x5d4454['push'](_0x5d4454['shift']());}catch(_0x59250c){_0x5d4454['push'](_0x5d4454['shift']());}}}(_0x1561,0x451f9));import{Plugin as _0x26b8fe}from'ckeditor5/src/core.js';import{ViewDocumentFragment as _0x4f6216,ViewText as _0x365e6c,ViewElement as _0x3fb0ca,ViewContainerElement as _0x2fac4d,ViewAttributeElement as _0x4b2627,ViewEmptyElement as _0x3c68b4,ViewRawElement as _0x14f63b,ViewUIElement as _0x21363b}from'ckeditor5/src/engine.js';function _0x4eeb(_0x3b3cde,_0x4136e5){const _0x1561cd=_0x1561();return _0x4eeb=function(_0x4eeb89,_0x382617){_0x4eeb89=_0x4eeb89-0x134;let _0x4aee40=_0x1561cd[_0x4eeb89];return _0x4aee40;},_0x4eeb(_0x3b3cde,_0x4136e5);}function _0x1561(){const _0x565c3f=['editing','_getTypeCharForViewElement','map','useFillerType','constructor','length','_makeModelFromViewString','domChildrenToView','3346392jlfJJR','diffData','type','957gUCals','attachChange','childNodes','isOfficialPlugin','fillerOffset','startsWith','loadRevisionData','19cPxhbE','toData','_removeRevisionMarkers','pluginName','get','isPremiumPlugin','filter','5394MbVcrC','innerHTML','view','marked','_typeCharToViewClass','45534wtBRpo','document','editor','viewChildrenToDom','append','forEach','2446308ZdVXfj','render','htmlProcessor','66447PFzfrv','config','createElement','processor','insertions','attributesAfter','string','div','_viewClassToTypeChar','revision-start','152142XPKtlx','_setCustomProperty','children','data','RevisionHistoryUtils','_getViewFromDiffObj','revision-end','collaboration.channelId','domDocument','76yUsCQC','default','85kCchmX','getRevision','42550yHnoKM','getRevisionRootsAttributes','isAttached','getFillerOffset','toModel','from','488KfZvEA','attributes','customProperties','domConverter','name','parse','data-revision-','getRevisionDocumentData','_appendChild'];_0x1561=function(){return _0x565c3f;};return _0x1561();}export default class V extends _0x26b8fe{static get[_0x2ec066(0x169)](){const _0x4dd39a=_0x2ec066;return _0x4dd39a(0x13c);}static get[_0x2ec066(0x162)](){return!0x0;}static get[_0x2ec066(0x16b)](){return!0x0;}[_0x2ec066(0x136)]=new Map([[_0x2fac4d,'c'],[_0x4b2627,'a'],[_0x3c68b4,'e'],[_0x14f63b,'r'],[_0x21363b,'u']]);[_0x2ec066(0x171)]=new Map([['c',_0x2fac4d],['a',_0x4b2627],['e',_0x3c68b4],['r',_0x14f63b],['u',_0x21363b]]);async[_0x2ec066(0x165)](_0x2bbb58,_0x8f33a7){const _0x199336=_0x2ec066;if(_0x2bbb58[_0x199336(0x15d)]||!_0x8f33a7)return;const _0xa475fb=this[_0x199336(0x174)][_0x199336(0x17c)][_0x199336(0x16a)](_0x199336(0x13f)),_0x426fb0=await _0x8f33a7[_0x199336(0x144)]({'channelId':_0xa475fb,'revisionId':_0x2bbb58['id']});_0x2bbb58[_0x199336(0x15d)]=_0x426fb0[_0x199336(0x15d)];}[_0x2ec066(0x152)](_0x292769){const _0x553dbd=_0x2ec066,_0x25c960={};for(const _0x35177d in _0x292769[_0x553dbd(0x15d)]){if(_0x292769[_0x553dbd(0x15d)][_0x35177d][_0x553dbd(0x160)]&&!_0x292769[_0x553dbd(0x15d)][_0x35177d][_0x553dbd(0x160)][_0x553dbd(0x147)])continue;const _0x1478d8=this[_0x553dbd(0x168)](JSON[_0x553dbd(0x150)](_0x292769[_0x553dbd(0x15d)][_0x35177d][_0x553dbd(0x17f)])),_0x235a46=this[_0x553dbd(0x174)][_0x553dbd(0x154)][_0x553dbd(0x16f)][_0x553dbd(0x173)],_0x1e9932=new _0x4f6216(_0x235a46,_0x1478d8[_0x553dbd(0x156)](_0x47a690=>this[_0x553dbd(0x13d)](_0x47a690,!0x1)));this[_0x553dbd(0x174)][_0x553dbd(0x13b)][_0x553dbd(0x17e)][_0x553dbd(0x157)](_0x553dbd(0x170)),_0x25c960[_0x35177d]=this[_0x553dbd(0x174)][_0x553dbd(0x13b)][_0x553dbd(0x17e)][_0x553dbd(0x167)](_0x1e9932),this[_0x553dbd(0x174)][_0x553dbd(0x13b)][_0x553dbd(0x17e)][_0x553dbd(0x157)](_0x553dbd(0x142));}return _0x25c960;}[_0x2ec066(0x146)](_0x42012f){const _0x3b62df=_0x2ec066,_0x5ac301={};for(const _0x3e9bf3 in _0x42012f[_0x3b62df(0x15d)])_0x42012f[_0x3b62df(0x15d)][_0x3e9bf3][_0x3b62df(0x160)]&&!_0x42012f[_0x3b62df(0x15d)][_0x3e9bf3][_0x3b62df(0x160)][_0x3b62df(0x147)]||(_0x5ac301[_0x3e9bf3]=_0x42012f[_0x3b62df(0x15d)][_0x3e9bf3][_0x3b62df(0x180)]||{});return _0x5ac301;}[_0x2ec066(0x155)](_0x5dfac9){const _0x1afdea=_0x2ec066;return this[_0x1afdea(0x136)][_0x1afdea(0x16a)](_0x5dfac9[_0x1afdea(0x158)]);}[_0x2ec066(0x13d)](_0x338d50,_0x182a68){const _0x1bba27=_0x2ec066,_0x133735=this[_0x1bba27(0x174)][_0x1bba27(0x154)][_0x1bba27(0x16f)][_0x1bba27(0x173)];if(_0x1bba27(0x134)==typeof _0x338d50)return new _0x365e6c(_0x133735,_0x338d50);{let _0x438765,_0x243b5b;_0x243b5b='u'==_0x338d50[_0x1bba27(0x15e)]||'r'==_0x338d50[_0x1bba27(0x15e)]?[]:_0x338d50[_0x1bba27(0x13a)][_0x1bba27(0x156)](_0x49ee28=>this[_0x1bba27(0x13d)](_0x49ee28,_0x182a68));const _0xc25d74=this[_0x1bba27(0x171)][_0x1bba27(0x16a)](_0x338d50[_0x1bba27(0x15e)])||_0x3fb0ca,_0x132583=this[_0x1bba27(0x174)][_0x1bba27(0x13b)][_0x1bba27(0x17a)][_0x1bba27(0x14e)];if(_0x438765=new _0xc25d74(_0x133735,_0x338d50[_0x1bba27(0x14f)],_0x338d50[_0x1bba27(0x14c)],_0x243b5b),'u'==_0x338d50[_0x1bba27(0x15e)]){const _0x561918=_0x338d50[_0x1bba27(0x13a)][0x0];if(_0x438765[_0x1bba27(0x179)]=function(_0x507307){const _0x2381d5=_0x1bba27,_0x1d01b5=_0x507307[_0x2381d5(0x17d)](_0x2381d5(0x135));return _0x1d01b5[_0x2381d5(0x16e)]=_0x561918,_0x1d01b5[_0x2381d5(0x161)][0x0];},_0x182a68){const _0x167c48=new _0x4f6216(_0x133735);_0x167c48[_0x1bba27(0x153)](_0x438765);const _0x1dff6d=Array[_0x1bba27(0x14a)](_0x132583[_0x1bba27(0x175)](_0x167c48,{'bind':!0x1})),_0x5b1e02=_0x132583[_0x1bba27(0x140)][_0x1bba27(0x17d)](_0x1bba27(0x135));_0x5b1e02[_0x1bba27(0x176)](..._0x1dff6d),_0x438765=Array[_0x1bba27(0x14a)](_0x132583[_0x1bba27(0x15b)](_0x5b1e02))[0x0];}}else{if('r'==_0x338d50[_0x1bba27(0x15e)]){const _0x44ccf8=_0x338d50[_0x1bba27(0x13a)][0x0];if(_0x438765[_0x1bba27(0x179)]=function(_0x12e38a){const _0x601360=_0x1bba27;_0x12e38a[_0x601360(0x16e)]=_0x44ccf8;},_0x182a68){const _0x2e1550=new _0x4f6216(_0x133735);_0x2e1550[_0x1bba27(0x153)](_0x438765);const _0x4fb262=Array[_0x1bba27(0x14a)](_0x132583[_0x1bba27(0x175)](_0x2e1550,{'bind':!0x1})),_0x268f50=_0x132583[_0x1bba27(0x140)][_0x1bba27(0x17d)](_0x1bba27(0x135));_0x268f50[_0x1bba27(0x176)](..._0x4fb262);const _0x5b2754=Array[_0x1bba27(0x14a)](_0x132583[_0x1bba27(0x15b)](_0x268f50));_0x5b2754[_0x1bba27(0x159)]>0x1?_0x438765[_0x1bba27(0x153)](_0x5b2754):_0x438765=_0x5b2754[0x0];}}}if(_0x338d50[_0x1bba27(0x14d)]){for(const [_0x59f5cd,_0x34828]of _0x338d50[_0x1bba27(0x14d)])_0x438765[_0x1bba27(0x139)](_0x59f5cd,_0x34828);}const _0x2e2a4e=_0x338d50[_0x1bba27(0x163)]||null;return _0x438765[_0x1bba27(0x148)]=()=>_0x2e2a4e,_0x438765;}}[_0x2ec066(0x15a)](_0x1eaef3){const _0xfb16fe=_0x2ec066,_0x4e51d6=JSON[_0xfb16fe(0x150)](_0x1eaef3),_0x338a38=this[_0xfb16fe(0x174)][_0xfb16fe(0x154)][_0xfb16fe(0x16f)][_0xfb16fe(0x173)],_0x19eea8=new _0x4f6216(_0x338a38,_0x4e51d6[_0xfb16fe(0x156)](_0x395dea=>this[_0xfb16fe(0x13d)](_0x395dea,!0x0)));return this[_0xfb16fe(0x174)][_0xfb16fe(0x13b)][_0xfb16fe(0x149)](_0x19eea8);}[_0x2ec066(0x168)](_0x125337){const _0x276d72=_0x2ec066;return(_0x125337=_0x125337[_0x276d72(0x16c)](_0x56c1ef=>!_0x56c1ef[_0x276d72(0x14f)]||_0x276d72(0x137)!==_0x56c1ef[_0x276d72(0x14f)]&&_0x276d72(0x13e)!==_0x56c1ef[_0x276d72(0x14f)]))[_0x276d72(0x177)](_0x358e9e=>{const _0x342010=_0x276d72;_0x342010(0x134)!=typeof _0x358e9e&&(_0x358e9e[_0x342010(0x13a)]=this[_0x342010(0x168)](_0x358e9e[_0x342010(0x13a)]),_0x358e9e[_0x342010(0x14c)]=_0x358e9e[_0x342010(0x14c)][_0x342010(0x16c)](_0x5b7555=>!_0x5b7555[0x0][_0x342010(0x164)](_0x342010(0x151))));}),_0x125337;}}
|