@ckeditor/ckeditor5-revision-history 43.3.0-alpha.1 → 43.3.0-alpha.12
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/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 +8 -8
- 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/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
|
-
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':_0x4d9dc4=>0x0}};
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
(
|
|
23
|
+
(_0x270f56=>{const {'zh-cn':{dictionary:_0x5c16f3,getPluralForm:_0x5beca4}}={'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':_0x6e5b3b=>0x0}};_0x270f56['zh-cn']||={'dictionary':{},'getPluralForm':null},_0x270f56['zh-cn']['dictionary']=Object['assign'](_0x270f56['zh-cn']['dictionary'],_0x5c16f3),_0x270f56['zh-cn']['getPluralForm']=_0x5beca4;})(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':_0x1d1bd4=>0x0}};
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
(
|
|
23
|
+
(_0x388918=>{const {zh:{dictionary:_0x40ec4d,getPluralForm:_0x125346}}={'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':_0x1867fb=>0x0}};_0x388918['zh']||={'dictionary':{},'getPluralForm':null},_0x388918['zh']['dictionary']=Object['assign'](_0x388918['zh']['dictionary'],_0x40ec4d),_0x388918['zh']['getPluralForm']=_0x125346;})(window['CKEDITOR_TRANSLATIONS']||={});
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@ckeditor/ckeditor5-revision-history",
|
|
3
|
-
"version": "43.3.0-alpha.
|
|
3
|
+
"version": "43.3.0-alpha.12",
|
|
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,13 +39,13 @@
|
|
|
39
39
|
"CHANGELOG.md"
|
|
40
40
|
],
|
|
41
41
|
"dependencies": {
|
|
42
|
-
"@ckeditor/ckeditor5-core": "43.3.0-alpha.
|
|
43
|
-
"@ckeditor/ckeditor5-editor-classic": "43.3.0-alpha.
|
|
44
|
-
"@ckeditor/ckeditor5-engine": "43.3.0-alpha.
|
|
45
|
-
"@ckeditor/ckeditor5-ui": "43.3.0-alpha.
|
|
46
|
-
"@ckeditor/ckeditor5-utils": "43.3.0-alpha.
|
|
47
|
-
"ckeditor5": "43.3.0-alpha.
|
|
48
|
-
"ckeditor5-collaboration": "43.3.0-alpha.
|
|
42
|
+
"@ckeditor/ckeditor5-core": "43.3.0-alpha.12",
|
|
43
|
+
"@ckeditor/ckeditor5-editor-classic": "43.3.0-alpha.12",
|
|
44
|
+
"@ckeditor/ckeditor5-engine": "43.3.0-alpha.12",
|
|
45
|
+
"@ckeditor/ckeditor5-ui": "43.3.0-alpha.12",
|
|
46
|
+
"@ckeditor/ckeditor5-utils": "43.3.0-alpha.12",
|
|
47
|
+
"ckeditor5": "43.3.0-alpha.12",
|
|
48
|
+
"ckeditor5-collaboration": "43.3.0-alpha.12",
|
|
49
49
|
"lodash-es": "4.17.21",
|
|
50
50
|
"luxon": "1.28.1"
|
|
51
51
|
},
|
package/src/changeitem.js
CHANGED
|
@@ -20,5 +20,5 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
function
|
|
24
|
-
|
|
23
|
+
var _0x5ad0db=_0x565d;function _0x565d(_0x3f6e0c,_0xeafc11){var _0x1ba74d=_0x1ba7();return _0x565d=function(_0x565d14,_0x21a124){_0x565d14=_0x565d14-0x98;var _0x53cfec=_0x1ba74d[_0x565d14];return _0x53cfec;},_0x565d(_0x3f6e0c,_0xeafc11);}(function(_0x16eff9,_0x4b42e8){var _0x2d63cc=_0x565d,_0x371f3c=_0x16eff9();while(!![]){try{var _0x4d2350=-parseInt(_0x2d63cc(0x9b))/0x1*(parseInt(_0x2d63cc(0x98))/0x2)+-parseInt(_0x2d63cc(0xa1))/0x3+-parseInt(_0x2d63cc(0x9d))/0x4+-parseInt(_0x2d63cc(0xa3))/0x5+-parseInt(_0x2d63cc(0x99))/0x6*(parseInt(_0x2d63cc(0xa5))/0x7)+-parseInt(_0x2d63cc(0xa0))/0x8*(-parseInt(_0x2d63cc(0x9a))/0x9)+-parseInt(_0x2d63cc(0xa4))/0xa*(-parseInt(_0x2d63cc(0x9e))/0xb);if(_0x4d2350===_0x4b42e8)break;else _0x371f3c['push'](_0x371f3c['shift']());}catch(_0x4618de){_0x371f3c['push'](_0x371f3c['shift']());}}}(_0x1ba7,0xd49a5));import{ObservableMixin as _0x4be219,uid as _0x1fa184}from'ckeditor5/src/utils.js';function _0x1ba7(){var _0x29c8d7=['2738103HDGADA','data','8069650KJAZdI','600570DShPQx','10913iENaKn','createdAt','author','type','set','699578nWSiqU','450vjyIsy','9QvVGzr','1inskhh','toJSON','6388260LcnBIv','869mUFFkC','rootName','5733824SdIpPl'];_0x1ba7=function(){return _0x29c8d7;};return _0x1ba7();}export default class r extends/* #__PURE__ -- @preserve */
|
|
24
|
+
_0x4be219(){constructor(_0xeabe0b){var _0x46ffb3=_0x565d;super(),this['id']=_0xeabe0b['id']||_0x1fa184(),this[_0x46ffb3(0xa7)]=_0xeabe0b[_0x46ffb3(0xa7)],this[_0x46ffb3(0xa8)]=_0xeabe0b[_0x46ffb3(0xa8)],this[_0x46ffb3(0xa2)]=_0xeabe0b[_0x46ffb3(0xa2)]||{},this[_0x46ffb3(0x9f)]=_0xeabe0b[_0x46ffb3(0x9f)],this[_0x46ffb3(0xa9)](_0x46ffb3(0xa6),_0xeabe0b[_0x46ffb3(0xa6)]);}[_0x5ad0db(0x9c)](){var _0x5defb4=_0x5ad0db;return{'id':this['id'],'authorId':this[_0x5defb4(0xa7)]['id'],'type':this[_0x5defb4(0xa8)],'data':this[_0x5defb4(0xa2)],'createdAt':this[_0x5defb4(0xa6)]};}}
|
|
@@ -20,5 +20,5 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
const
|
|
24
|
-
|
|
23
|
+
const _0x11d9c0=_0x68ea;(function(_0x4ee28b,_0x3aa2c2){const _0x226083=_0x68ea,_0x59259d=_0x4ee28b();while(!![]){try{const _0x1af880=-parseInt(_0x226083(0xfb))/0x1*(parseInt(_0x226083(0xf6))/0x2)+-parseInt(_0x226083(0x101))/0x3+parseInt(_0x226083(0x108))/0x4+parseInt(_0x226083(0xfa))/0x5+parseInt(_0x226083(0x102))/0x6+parseInt(_0x226083(0x107))/0x7+parseInt(_0x226083(0xf7))/0x8;if(_0x1af880===_0x3aa2c2)break;else _0x59259d['push'](_0x59259d['shift']());}catch(_0x315e0c){_0x59259d['push'](_0x59259d['shift']());}}}(_0x35bf,0x3715c));import{Editor as _0x547c1f,ElementApiMixin as _0x4985fd}from'ckeditor5/src/core.js';function _0x35bf(){const _0x39be90=['destroy','updateSourceElement','initialData','init','1272138fGwFDy','2080590FfklQg','_ui','document','locale','model','385336fsfumM','1258664OTEBLm','createRoot','view','ready','editing','initPlugins','data','get','create','5804auWelD','1698120QfGxia','fire','config','592520vLHTUS','137fQKSne','sourceElement'];_0x35bf=function(){return _0x39be90;};return _0x35bf();}import _0x17b7d8 from'./revisionviewereditorui.js';import _0x496fca from'./revisionviewereditoruiview.js';function _0x68ea(_0x167163,_0x1f0d0b){const _0x35bf34=_0x35bf();return _0x68ea=function(_0x68eaef,_0x173b60){_0x68eaef=_0x68eaef-0xee;let _0x3d570d=_0x35bf34[_0x68eaef];return _0x3d570d;},_0x68ea(_0x167163,_0x1f0d0b);}export default class g extends/* #__PURE__ -- @preserve */
|
|
24
|
+
_0x4985fd(_0x547c1f){get['ui'](){const _0x21f9eb=_0x68ea;return this[_0x21f9eb(0x103)];}constructor(_0x2c3dd2,_0x363677){const _0x52ae6b=_0x68ea;super(_0x363677),this[_0x52ae6b(0xfc)]=_0x2c3dd2,this[_0x52ae6b(0x106)][_0x52ae6b(0x104)][_0x52ae6b(0xee)]();const _0x354660=new _0x496fca(this[_0x52ae6b(0x105)],this[_0x52ae6b(0xf1)][_0x52ae6b(0xef)],{'shouldToolbarGroupWhenFull':!0x0});this[_0x52ae6b(0x103)]=new _0x17b7d8(this,_0x354660);}[_0x11d9c0(0xfd)](){const _0x2da745=_0x11d9c0;return this[_0x2da745(0xfe)](),this['ui'][_0x2da745(0xfd)](),super[_0x2da745(0xfd)]();}static async[_0x11d9c0(0xf5)](_0x54d701,_0x516504){const _0x464d8b=_0x11d9c0,_0x59468a=new this(_0x54d701,_0x516504);return await _0x59468a[_0x464d8b(0xf2)](),await _0x59468a['ui'][_0x464d8b(0x100)](_0x54d701),await _0x59468a[_0x464d8b(0xf3)][_0x464d8b(0x100)](_0x59468a[_0x464d8b(0xf9)][_0x464d8b(0xf4)](_0x464d8b(0xff))||''),_0x59468a[_0x464d8b(0xf8)](_0x464d8b(0xf0)),_0x59468a;}}
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
|
|
23
|
+
function _0x3eb9(_0x143f0b,_0x5cdf38){const _0x5a7620=_0x5a76();return _0x3eb9=function(_0x3eb90a,_0x2f569a){_0x3eb90a=_0x3eb90a-0x193;let _0x331940=_0x5a7620[_0x3eb90a];return _0x331940;},_0x3eb9(_0x143f0b,_0x5cdf38);}const _0x3bc3a7=_0x3eb9;(function(_0x5f025a,_0x5135be){const _0x4bdbf1=_0x3eb9,_0xd6d354=_0x5f025a();while(!![]){try{const _0x43b880=-parseInt(_0x4bdbf1(0x1af))/0x1+parseInt(_0x4bdbf1(0x1aa))/0x2+-parseInt(_0x4bdbf1(0x1b3))/0x3*(parseInt(_0x4bdbf1(0x1a8))/0x4)+-parseInt(_0x4bdbf1(0x1ad))/0x5*(-parseInt(_0x4bdbf1(0x1b8))/0x6)+-parseInt(_0x4bdbf1(0x19f))/0x7*(-parseInt(_0x4bdbf1(0x1b5))/0x8)+-parseInt(_0x4bdbf1(0x1b6))/0x9+parseInt(_0x4bdbf1(0x1bb))/0xa*(parseInt(_0x4bdbf1(0x1a3))/0xb);if(_0x43b880===_0x5135be)break;else _0xd6d354['push'](_0xd6d354['shift']());}catch(_0x391ec3){_0xd6d354['push'](_0xd6d354['shift']());}}}(_0x5a76,0x94c52));import{EditorUI as _0x5aa74e,normalizeToolbarConfig as _0x141e05}from'ckeditor5/src/ui.js';import{ElementReplacer as _0x4ae3b8}from'ckeditor5/src/utils.js';function _0x5a76(){const _0x4571b7=['269830HOjMqV','viewportOffset','fillFromConfig','5fSzjQm','_elementReplacer','488351easfwt','_initToolbar','focusTracker','name','320709djEejY','attachDomRoot','1528NqBLid','7607493pblMxY','detachDomRoot','5113518TJdoQj','viewportTopOffset','setEditableElement','10xgfWpn','bind','destroy','isActive','limiterElement','config','componentFactory','rootName','editable','restore','ready','_view','replace','isFocused','_toolbarConfig','editor','init','element','view','addToolbar','44324KlSFbP','render','getRoot','editing','5442041uXATEY','stickyPanel','fire','document','get','28YenMXn','toolbar'];_0x5a76=function(){return _0x4571b7;};return _0x5a76();}export default class st extends _0x5aa74e{get[_0x3bc3a7(0x19d)](){const _0x327f46=_0x3bc3a7;return this[_0x327f46(0x196)];}constructor(_0x2bd216,_0x1d5f62){const _0xb314b2=_0x3bc3a7;super(_0x2bd216),this[_0xb314b2(0x196)]=_0x1d5f62,this[_0xb314b2(0x199)]=_0x141e05(_0x2bd216[_0xb314b2(0x1c0)][_0xb314b2(0x1a7)](_0xb314b2(0x1a9))),this[_0xb314b2(0x1ae)]=new _0x4ae3b8();}get[_0x3bc3a7(0x19c)](){const _0x524bab=_0x3bc3a7;return this[_0x524bab(0x19d)][_0x524bab(0x19c)];}[_0x3bc3a7(0x19b)](_0x150381){const _0x2133ce=_0x3bc3a7,_0x2c0735=this[_0x2133ce(0x19a)],_0x105e7=this[_0x2133ce(0x19d)],_0x5161c6=_0x2c0735[_0x2133ce(0x1a2)][_0x2133ce(0x19d)],_0x356cf9=_0x105e7[_0x2133ce(0x193)],_0x50b59c=_0x5161c6[_0x2133ce(0x1a6)][_0x2133ce(0x1a1)]();_0x356cf9[_0x2133ce(0x1b2)]=_0x50b59c[_0x2133ce(0x1c2)],_0x105e7[_0x2133ce(0x1a0)]();const _0x313613=_0x356cf9[_0x2133ce(0x19c)];this[_0x2133ce(0x1ba)](_0x356cf9[_0x2133ce(0x1b2)],_0x313613),_0x105e7[_0x2133ce(0x193)][_0x2133ce(0x1bc)](_0x2133ce(0x198))['to'](this[_0x2133ce(0x1b1)]),_0x5161c6[_0x2133ce(0x1b4)](_0x313613),this[_0x2133ce(0x1ae)][_0x2133ce(0x197)](_0x150381,this[_0x2133ce(0x19c)]),this[_0x2133ce(0x1b0)](),this[_0x2133ce(0x1a5)](_0x2133ce(0x195));}[_0x3bc3a7(0x1bd)](){const _0x55771=_0x3bc3a7;super[_0x55771(0x1bd)]();const _0x2246ab=this[_0x55771(0x19d)],_0x53f9e6=this[_0x55771(0x19a)][_0x55771(0x1a2)][_0x55771(0x19d)];this[_0x55771(0x1ae)][_0x55771(0x194)](),_0x53f9e6[_0x55771(0x1b7)](_0x2246ab[_0x55771(0x193)][_0x55771(0x1b2)]),_0x2246ab[_0x55771(0x1bd)]();}[_0x3bc3a7(0x1b0)](){const _0x515b58=_0x3bc3a7,_0x593185=this[_0x515b58(0x19d)];_0x593185[_0x515b58(0x1a4)][_0x515b58(0x1bc)](_0x515b58(0x1be))['to'](this[_0x515b58(0x1b1)],_0x515b58(0x198)),_0x593185[_0x515b58(0x1a4)][_0x515b58(0x1bf)]=_0x593185[_0x515b58(0x19c)],_0x593185[_0x515b58(0x1a4)][_0x515b58(0x1bc)](_0x515b58(0x1b9))['to'](this,_0x515b58(0x1ab),({top:_0x50c279})=>_0x50c279),_0x593185[_0x515b58(0x1a9)][_0x515b58(0x1ac)](this[_0x515b58(0x199)],this[_0x515b58(0x1c1)]),this[_0x515b58(0x19e)](_0x593185[_0x515b58(0x1a9)]);}}
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
var
|
|
23
|
+
function _0x1bba(){var _0x3246ed=['200omehuF','24JzQnSk','main','887988lhJVbB','content','1NjQkye','shouldToolbarGroupWhenFull','515730CkOwZd','70154RWZKqO','top','5299270NvZJbY','36rLTtXf','add','71870FebWcs','193113ObgKDK','editable','6415761TRdlPN','stickyPanel','30wqeOwo','_editable','render','toolbar'];_0x1bba=function(){return _0x3246ed;};return _0x1bba();}function _0x45b9(_0x5e462a,_0x601e7d){var _0x1bbafd=_0x1bba();return _0x45b9=function(_0x45b98c,_0x31a425){_0x45b98c=_0x45b98c-0x172;var _0x50ea24=_0x1bbafd[_0x45b98c];return _0x50ea24;},_0x45b9(_0x5e462a,_0x601e7d);}var _0x43e8d2=_0x45b9;(function(_0x1751f6,_0x5d30da){var _0xd713ad=_0x45b9,_0x2689a9=_0x1751f6();while(!![]){try{var _0x175c8e=-parseInt(_0xd713ad(0x180))/0x1*(-parseInt(_0xd713ad(0x172))/0x2)+-parseInt(_0xd713ad(0x182))/0x3*(parseInt(_0xd713ad(0x186))/0x4)+parseInt(_0xd713ad(0x177))/0x5*(parseInt(_0xd713ad(0x17e))/0x6)+-parseInt(_0xd713ad(0x183))/0x7*(parseInt(_0xd713ad(0x17b))/0x8)+parseInt(_0xd713ad(0x173))/0x9+parseInt(_0xd713ad(0x185))/0xa+-parseInt(_0xd713ad(0x175))/0xb*(-parseInt(_0xd713ad(0x17c))/0xc);if(_0x175c8e===_0x5d30da)break;else _0x2689a9['push'](_0x2689a9['shift']());}catch(_0x5a95e6){_0x2689a9['push'](_0x2689a9['shift']());}}}(_0x1bba,0xce125));import{BoxedEditorUIView as _0x501001,InlineEditableUIView as _0x2dbc9e,StickyPanelView as _0x8c8b72,ToolbarView as _0x1ec8af}from'ckeditor5/src/ui.js';import'@ckeditor/ckeditor5-editor-classic/theme/classiceditor.css';export default class ot extends _0x501001{get[_0x43e8d2(0x174)](){var _0x321860=_0x43e8d2;return this[_0x321860(0x178)];}constructor(_0x4e6409,_0x4a5f39,_0x456404={}){var _0x2c6f1d=_0x43e8d2;super(_0x4e6409),this[_0x2c6f1d(0x176)]=new _0x8c8b72(_0x4e6409),this[_0x2c6f1d(0x17a)]=new _0x1ec8af(_0x4e6409,{'shouldGroupWhenFull':_0x456404[_0x2c6f1d(0x181)]}),this[_0x2c6f1d(0x178)]=new _0x2dbc9e(_0x4e6409,_0x4a5f39);}[_0x43e8d2(0x179)](){var _0x519d11=_0x43e8d2;super[_0x519d11(0x179)](),this[_0x519d11(0x176)][_0x519d11(0x17f)][_0x519d11(0x187)](this[_0x519d11(0x17a)]),this[_0x519d11(0x184)][_0x519d11(0x187)](this[_0x519d11(0x176)]),this[_0x519d11(0x17d)][_0x519d11(0x187)](this[_0x519d11(0x174)]);}}
|
package/src/index.js
CHANGED
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
(function(
|
|
23
|
+
(function(_0x561492,_0x71b97f){var _0x2260b8=_0x114b,_0xf3ce30=_0x561492();while(!![]){try{var _0x343db5=-parseInt(_0x2260b8(0xa9))/0x1+parseInt(_0x2260b8(0xae))/0x2*(-parseInt(_0x2260b8(0xaf))/0x3)+-parseInt(_0x2260b8(0xa7))/0x4+parseInt(_0x2260b8(0xad))/0x5*(-parseInt(_0x2260b8(0xaa))/0x6)+parseInt(_0x2260b8(0xa8))/0x7+-parseInt(_0x2260b8(0xa6))/0x8+-parseInt(_0x2260b8(0xab))/0x9*(-parseInt(_0x2260b8(0xac))/0xa);if(_0x343db5===_0x71b97f)break;else _0xf3ce30['push'](_0xf3ce30['shift']());}catch(_0x105651){_0xf3ce30['push'](_0xf3ce30['shift']());}}}(_0x4992,0x64490));function _0x114b(_0x122a37,_0x3344f3){var _0x499229=_0x4992();return _0x114b=function(_0x114b98,_0x3fe668){_0x114b98=_0x114b98-0xa6;var _0x3f9b39=_0x499229[_0x114b98];return _0x3f9b39;},_0x114b(_0x122a37,_0x3344f3);}export{default as Revision}from'./revision.js';export{default as RevisionHistory}from'./revisionhistory.js';export{default as RevisionsRepository}from'./revisionsrepository.js';export{default as RevisionViewerLoadingOverlay}from'./ui/revisionviewer/revisionviewerloadingoverlay.js';function _0x4992(){var _0x23e420=['10925430OdNnXV','2645hAIYCg','347812AwBjry','9hwUzgj','4946656ynKoKu','3248012fbkSzK','3913525naLBiv','244858wuokJr','1548DBUfkj','18AYSFEE'];_0x4992=function(){return _0x23e420;};return _0x4992();}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';import'./augmentation.js';
|
package/src/revision.js
CHANGED
|
@@ -20,5 +20,5 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
const
|
|
24
|
-
|
|
23
|
+
const _0x225a76=_0x40d9;(function(_0x6a4d94,_0x179e42){const _0xc9f525=_0x40d9,_0x1f1c73=_0x6a4d94();while(!![]){try{const _0x5b34ff=-parseInt(_0xc9f525(0x76))/0x1+parseInt(_0xc9f525(0x74))/0x2*(parseInt(_0xc9f525(0x6e))/0x3)+-parseInt(_0xc9f525(0x82))/0x4+-parseInt(_0xc9f525(0x73))/0x5*(-parseInt(_0xc9f525(0x7b))/0x6)+-parseInt(_0xc9f525(0x6c))/0x7+parseInt(_0xc9f525(0x81))/0x8+-parseInt(_0xc9f525(0x75))/0x9*(parseInt(_0xc9f525(0x6d))/0xa);if(_0x5b34ff===_0x179e42)break;else _0x1f1c73['push'](_0x1f1c73['shift']());}catch(_0x2c506a){_0x1f1c73['push'](_0x1f1c73['shift']());}}}(_0xd050,0xbc733));function _0x40d9(_0x47c6f8,_0x4eedbf){const _0xd05054=_0xd050();return _0x40d9=function(_0x40d9aa,_0x1988d8){_0x40d9aa=_0x40d9aa-0x6a;let _0x1cd782=_0xd05054[_0x40d9aa];return _0x1cd782;},_0x40d9(_0x47c6f8,_0x4eedbf);}function _0xd050(){const _0x4800b9=['152556AviLvk','toVersion','fromVersion','attributes','authors','name','10880928MUitvm','573364QlMmjZ','set','setAttribute','removeAttribute','diffData','creatorId','5367950VGasOB','30NDMbtR','3PLGJug','authorsIds','setName','toJSON','map','170IFoOGt','1683316XqznTo','182997aoQcKB','1323177OmwBsc','fire','creator','createdAt','_update'];_0xd050=function(){return _0x4800b9;};return _0xd050();}import{ObservableMixin as _0x2ecda3,uid as _0x51af3d}from'ckeditor5/src/utils.js';import{cloneDeep as _0x2b715e,set as _0x453fb3,unset as _0x4fdfba}from'lodash-es';export default class a extends/* #__PURE__ -- @preserve */
|
|
24
|
+
_0x2ecda3(){constructor(_0x21689c){const _0x3af34a=_0x40d9;super(),this['id']=_0x21689c['id']||_0x51af3d(),this[_0x3af34a(0x78)]=_0x21689c[_0x3af34a(0x78)]||null,this[_0x3af34a(0x7f)]=_0x21689c[_0x3af34a(0x7f)]||[],this[_0x3af34a(0x6a)]=_0x21689c[_0x3af34a(0x6a)]||null,this[_0x3af34a(0x7c)]=_0x21689c[_0x3af34a(0x7c)]||0x0,this[_0x3af34a(0x7d)]=_0x21689c[_0x3af34a(0x7d)]||0x0,this[_0x3af34a(0x83)](_0x3af34a(0x80),_0x21689c[_0x3af34a(0x80)]||''),this[_0x3af34a(0x83)](_0x3af34a(0x79),_0x21689c[_0x3af34a(0x79)]||new Date()),this[_0x3af34a(0x83)](_0x3af34a(0x7e),_0x21689c[_0x3af34a(0x7e)]||{});}[_0x225a76(0x70)](_0x1a55ef){const _0x5c58b8=_0x225a76;this[_0x5c58b8(0x7a)]({'name':_0x1a55ef});}[_0x225a76(0x84)](_0x507b95,_0x3fa714){const _0x14fe1b=_0x225a76,_0x222c2f=_0x2b715e(this[_0x14fe1b(0x7e)]);_0x453fb3(_0x222c2f,_0x507b95,_0x3fa714),this[_0x14fe1b(0x7a)]({'attributes':_0x222c2f});}[_0x225a76(0x85)](_0x3245e4){const _0x10f4cb=_0x225a76,_0x27809d=_0x2b715e(this[_0x10f4cb(0x7e)]);_0x4fdfba(_0x27809d,_0x3245e4),this[_0x10f4cb(0x7a)]({'attributes':_0x27809d});}[_0x225a76(0x7a)](_0x691710,_0x11e0ce=!0x1){const _0x18000e=_0x225a76;let _0x229dbb=!0x1;const _0x577801={'id':this['id']},_0x35e566=[_0x18000e(0x80),_0x18000e(0x79),_0x18000e(0x6a),_0x18000e(0x7f),_0x18000e(0x7e),_0x18000e(0x7c),_0x18000e(0x7d),_0x18000e(0x6b)];for(const _0x3af42f of _0x35e566){const _0x26acdb=_0x691710[_0x3af42f];void 0x0!==_0x26acdb&&_0x26acdb!==this[_0x3af42f]&&(this[_0x3af42f]=_0x26acdb,_0x577801[_0x3af42f]=_0x26acdb,_0x229dbb=!0x0);}_0x229dbb&&(_0x577801[_0x18000e(0x7f)]&&(_0x577801[_0x18000e(0x6f)]=_0x577801[_0x18000e(0x7f)][_0x18000e(0x72)](_0x408a0c=>_0x408a0c['id']),delete _0x577801[_0x18000e(0x7f)]),this[_0x18000e(0x77)](_0x18000e(0x7a),_0x577801,_0x11e0ce));}[_0x225a76(0x71)](){const _0x1b8973=_0x225a76;return{'id':this['id'],'name':this[_0x1b8973(0x80)],'creatorId':this[_0x1b8973(0x78)]?this[_0x1b8973(0x78)]['id']:null,'authorsIds':this[_0x1b8973(0x7f)][_0x1b8973(0x72)](_0x998c89=>_0x998c89['id']),'diffData':this[_0x1b8973(0x6a)],'createdAt':this[_0x1b8973(0x79)],'attributes':this[_0x1b8973(0x7e)],'fromVersion':this[_0x1b8973(0x7d)],'toVersion':this[_0x1b8973(0x7c)]};}}
|
package/src/revisiondiff.js
CHANGED
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
function
|
|
23
|
+
function _0x22af(){const _0x1f5226=['3cpynUB','751796cKRYdP','20TyodJk','_setChanges','2007052VRXQRP','1269369OLVIgK','368249CcIzaG','newRevisionId','77022uofJpc','oldRevisionId','1628330hHgsxq','24OvXcMt','changes','add','3490314kegsfG'];_0x22af=function(){return _0x1f5226;};return _0x22af();}function _0x21f5(_0x241571,_0x56f4d8){const _0x22af5a=_0x22af();return _0x21f5=function(_0x21f51c,_0x1b67e5){_0x21f51c=_0x21f51c-0xc7;let _0x1843f7=_0x22af5a[_0x21f51c];return _0x1843f7;},_0x21f5(_0x241571,_0x56f4d8);}const _0x342674=_0x21f5;(function(_0x174454,_0x142452){const _0x4731cb=_0x21f5,_0x161267=_0x174454();while(!![]){try{const _0x7df82=-parseInt(_0x4731cb(0xcb))/0x1+-parseInt(_0x4731cb(0xd3))/0x2*(parseInt(_0x4731cb(0xd2))/0x3)+parseInt(_0x4731cb(0xc7))/0x4+parseInt(_0x4731cb(0xcd))/0x5+parseInt(_0x4731cb(0xd1))/0x6+-parseInt(_0x4731cb(0xc9))/0x7*(parseInt(_0x4731cb(0xce))/0x8)+parseInt(_0x4731cb(0xc8))/0x9*(-parseInt(_0x4731cb(0xd4))/0xa);if(_0x7df82===_0x142452)break;else _0x161267['push'](_0x161267['shift']());}catch(_0x3c49f7){_0x161267['push'](_0x161267['shift']());}}}(_0x22af,0x7e0e5));import{Collection as _0x36b7af}from'ckeditor5/src/utils.js';export default class f{constructor(_0x535a19,_0x4a3c84){const _0x4cb905=_0x21f5;this[_0x4cb905(0xca)]=_0x535a19,this[_0x4cb905(0xcc)]=_0x4a3c84,this[_0x4cb905(0xcf)]=new _0x36b7af();}[_0x342674(0xd5)](_0x15c568){const _0x31a593=_0x342674;for(const _0x1c0c0f of _0x15c568)this[_0x31a593(0xcf)][_0x31a593(0xd0)](_0x1c0c0f);}}
|
package/src/revisionhistory.js
CHANGED
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
const _0x5eaefa=_0xc457;(function(_0x1213bf,_0x57e615){const _0x41d17c=_0xc457,_0x1a4d8b=_0x1213bf();while(!![]){try{const _0x441c86=parseInt(_0x41d17c(0x18d))/0x1+-parseInt(_0x41d17c(0x132))/0x2+-parseInt(_0x41d17c(0x1b5))/0x3*(parseInt(_0x41d17c(0x19d))/0x4)+-parseInt(_0x41d17c(0x141))/0x5+-parseInt(_0x41d17c(0x12c))/0x6+parseInt(_0x41d17c(0x177))/0x7*(-parseInt(_0x41d17c(0x198))/0x8)+parseInt(_0x41d17c(0x190))/0x9*(parseInt(_0x41d17c(0x160))/0xa);if(_0x441c86===_0x57e615)break;else _0x1a4d8b['push'](_0x1a4d8b['shift']());}catch(_0x49b97b){_0x1a4d8b['push'](_0x1a4d8b['shift']());}}}(_0x34e5,0x414ce));function _0xc457(_0x1d5e68,_0xacb939){const _0x34e5b1=_0x34e5();return _0xc457=function(_0xc4573e,_0x527876){_0xc4573e=_0xc4573e-0x12a;let _0x13dbdf=_0x34e5b1[_0xc4573e];return _0x13dbdf;},_0xc457(_0x1d5e68,_0xacb939);}import{Plugin as _0x56f763}from'ckeditor5/src/core.js';import{CKEditorError as _0x1ca426,uid as _0x3c4c4d}from'ckeditor5/src/utils.js';import _0x24fcc4 from'./revisiontracker.js';import _0x41b0dc from'./ui/revisionhistory/revisionhistoryui.js';import _0xbcb7e0 from'./revisionviewer.js';import _0x1342f5 from'./ui/revisionviewer/revisionviewerui.js';function _0x34e5(){const _0x3ab4d1=['_update','Dialog','from','RevisionHistoryUI','getUser','long','removeSelectionAttribute','isOpen','toJSON','525415CjPtqR','get','fromVersion','9021897FYoCGK','_showRevisionViewer','saveRevision','revision-history-missing-configuration','document','change','numeric','getAttributeKeys','568YkJWia','showRevisionViewerCallback','revisionHistory','restoreRevision','isAnonymous','212vaCUyN','_closeRevisionViewer','insert','isReady','revisionHistory.editorContainer','translations','_viewerEditor','revisionHistory.requireRevisionName','catch','Users','roots','_enhanceShowRevisionViewerCallback','detachRoot','display','creator','getRevisions','getMarkersGroup','getRoot','define','rootName','toLocaleDateString','adapter','exitToEditing','refreshPositioning','2154FUehBp','RevisionHistory','has','revisionHistory.showRevisionViewerCallback','then','1881102lZQfDt','keys','Restored','commands','changesNavigation','style','765852SVatDa','remove','repository','removeMarker','selection','RevisionsRepository','disableReadOnlyMode','getRevisionData','name','end','block','includes','error','addRoot','update','1550915YsPDYe','hide','$graveyard','addRevisionData','isEnabled','editor','Annotations','none','push','parse','users','getRevision','_recalculatePageBreaks','isPremiumPlugin','PaginationLookup','RevisionTracker','requires','_cleanUp','lazyRoots','RevisionViewer','removeAttribute','uiLanguage','enqueueChange','createdAt','revisionHistory.viewerEditorElement','createRangeIn','_getRevisionViewerEditorConfig','setAttribute','isReadOnly','result','toolbar','10nWffry','addUser','isOfficialPlugin','locale','revision-history-viewer-opened','_restoreRevision','data','init','markers','getRevisionRootsAttributes','destroy','revisionHistory.viewerContainer','pluginName','setSelection','model','restrictedEditingException','refreshVisibility','revisionHistory.closeRevisionViewerCallback','_enhanceCloseRevisionViewerCallback','indexOf','config','isAttached','set','21266zSsDdN','RevisionViewerIntegration','save','bind','toVersion','enableReadOnlyMode','create','revisionHistory.restoreRevisionCallback','closeRevisionViewerCallback','toLocaleTimeString','plugins','RestrictedEditingMode','Autosave'];_0x34e5=function(){return _0x3ab4d1;};return _0x34e5();}import _0x11c002 from'./ui/revisionssidebar/revisionssidebar.js';import _0x1ffcda from'./editor/revisionviewereditor.js';import{getTranslation as _0x8b906a}from'./utils/common-translations.js';import{sanitizeEditorConfig as _0x198a0b}from'ckeditor5-collaboration/src/collaboration-core.js';const p=[_0x5eaefa(0x187),_0x5eaefa(0x182)];class k extends _0x56f763{static get[_0x5eaefa(0x16c)](){const _0x2e62bf=_0x5eaefa;return _0x2e62bf(0x178);}static get[_0x5eaefa(0x162)](){return!0x0;}static get[_0x5eaefa(0x14e)](){return!0x0;}constructor(_0x4e6943){const _0x1f7713=_0x5eaefa;super(_0x4e6943),this[_0x1f7713(0x15e)]=_0x1f7713(0x13b);}}export default class H extends _0x56f763{static get[_0x5eaefa(0x16c)](){const _0x20b4c=_0x5eaefa;return _0x20b4c(0x1b6);}static get[_0x5eaefa(0x162)](){return!0x0;}static get[_0x5eaefa(0x14e)](){return!0x0;}static get[_0x5eaefa(0x151)](){return[_0x24fcc4,_0x41b0dc];}constructor(_0x2d9085){const _0xf11b01=_0x5eaefa;if(super(_0x2d9085),!this[_0xf11b01(0x146)][_0xf11b01(0x174)][_0xf11b01(0x18e)](_0xf11b01(0x19a)))throw new _0x1ca426(_0xf11b01(0x193),this);this[_0xf11b01(0x1a3)]=null,this[_0xf11b01(0x146)][_0xf11b01(0x174)][_0xf11b01(0x1af)](_0xf11b01(0x12a),_0x825c59=>this[_0xf11b01(0x191)]({..._0x825c59,'translations':this[_0xf11b01(0x146)][_0xf11b01(0x163)][_0xf11b01(0x1a2)]})),this[_0xf11b01(0x146)][_0xf11b01(0x174)][_0xf11b01(0x1af)](_0xf11b01(0x171),_0x2e8749=>this[_0xf11b01(0x19e)](_0x2e8749)),this[_0xf11b01(0x146)][_0xf11b01(0x174)][_0xf11b01(0x1af)](_0xf11b01(0x17e),_0x11e064=>this[_0xf11b01(0x165)](_0x11e064)),this[_0xf11b01(0x146)][_0xf11b01(0x174)][_0xf11b01(0x1af)](_0xf11b01(0x1a4),!0x1),this[_0xf11b01(0x1a8)](),this[_0xf11b01(0x172)]();}set[_0x5eaefa(0x1b2)](_0x4156e6){const _0x21ea86=_0x5eaefa;this[_0x21ea86(0x146)][_0x21ea86(0x181)][_0x21ea86(0x18e)](_0x21ea86(0x150))[_0x21ea86(0x1b2)]=_0x4156e6;}get[_0x5eaefa(0x1b2)](){const _0x5be3ba=_0x5eaefa;return this[_0x5be3ba(0x146)][_0x5be3ba(0x181)][_0x5be3ba(0x18e)](_0x5be3ba(0x150))[_0x5be3ba(0x1b2)];}[_0x5eaefa(0x144)](_0x271f7f){const _0x1ed7fd=_0x5eaefa;return this[_0x1ed7fd(0x146)][_0x1ed7fd(0x181)][_0x1ed7fd(0x18e)](_0x1ed7fd(0x150))[_0x1ed7fd(0x144)](_0x271f7f);}[_0x5eaefa(0x14c)](_0x3c9295){const _0x33a942=_0x5eaefa;return this[_0x33a942(0x146)][_0x33a942(0x181)][_0x33a942(0x18e)](_0x33a942(0x137))[_0x33a942(0x14c)](_0x3c9295);}[_0x5eaefa(0x1ac)](_0x67e2b7){const _0x198e00=_0x5eaefa;return this[_0x198e00(0x146)][_0x198e00(0x181)][_0x198e00(0x18e)](_0x198e00(0x137))[_0x198e00(0x1ac)](_0x67e2b7||{'toJSON':!0x1});}[_0x5eaefa(0x15b)](){const _0x2e0963=_0x5eaefa,_0x410ce3=this[_0x2e0963(0x146)],_0x5c6dbb=_0x198a0b(_0x410ce3,p),_0x12fd7f=_0x410ce3[_0x2e0963(0x181)][_0x2e0963(0x18e)](_0x2e0963(0x150)),_0x51362c=_0x410ce3[_0x2e0963(0x181)][_0x2e0963(0x18e)](_0x2e0963(0x1a6))[_0x2e0963(0x14b)];return _0x5c6dbb[_0x2e0963(0x15f)]=[_0x2e0963(0x1b3),_0x2e0963(0x19b),_0x2e0963(0x130)],delete _0x5c6dbb[_0x2e0963(0x153)],(_0x5c6dbb[_0x2e0963(0x181)][_0x2e0963(0x149)](k,_0xbcb7e0,_0x1342f5,class extends _0x56f763{static get[_0x2e0963(0x151)](){const _0x5510d2=_0x2e0963;return[_0xbcb7e0,_0x5510d2(0x1a6)];}[_0x2e0963(0x167)](){const _0x293059=_0x2e0963,_0x1919e9=this[_0x293059(0x146)][_0x293059(0x181)][_0x293059(0x18e)](_0x293059(0x1a6));for(const _0x59c70f of _0x51362c)_0x59c70f[_0x293059(0x19c)]||_0x1919e9[_0x293059(0x188)](_0x59c70f['id'])||_0x1919e9[_0x293059(0x161)](_0x59c70f);const _0x7232a=_0x12fd7f[_0x293059(0x134)][_0x293059(0x1ac)]();let _0x107c9b=null;const _0x160177=this[_0x293059(0x146)][_0x293059(0x181)][_0x293059(0x18e)](_0x293059(0x154));_0x160177[_0x293059(0x1b2)]=_0x12fd7f[_0x293059(0x1b2)],_0x160177[_0x293059(0x17a)](_0x293059(0x145))['to'](_0x12fd7f),this[_0x293059(0x146)][_0x293059(0x12f)][_0x293059(0x18e)](_0x293059(0x19b))[_0x293059(0x17a)](_0x293059(0x145))['to'](_0x410ce3,_0x293059(0x15d),_0x340a67=>!_0x340a67);for(const _0x17322a of _0x7232a){const _0xb95bc0=null===_0x17322a[_0x293059(0x1ab)];if(_0xb95bc0&&_0x17322a[_0x293059(0x17b)]===_0x17322a[_0x293059(0x18f)])continue;const _0x531052=_0x17322a[_0x293059(0x18c)]();_0x160177[_0x293059(0x144)](_0x531052,(_0x2d2e84,_0x31be99,_0x2968fc)=>{const _0x53d085=_0x293059;if(_0xb95bc0){if(_0x107c9b)_0x107c9b[_0x53d085(0x184)](_0x2d2e84,_0x31be99);else{if(!_0x31be99){const _0x1e4033=_0x2968fc[_0x53d085(0x18c)]();_0x1e4033['id']=_0x3c4c4d(),_0x12fd7f[_0x53d085(0x192)](_0x1e4033,_0x2968fc[_0x53d085(0x17b)])[_0x53d085(0x12b)](_0x53c0fd=>{_0x107c9b=_0x53c0fd;});}}}else _0x17322a[_0x53d085(0x184)](_0x2d2e84,_0x31be99);});}}},_0x11c002),_0x5c6dbb);}[_0x5eaefa(0x1a8)](){const _0x492c4e=_0x5eaefa,_0x3b6b2c=this[_0x492c4e(0x146)][_0x492c4e(0x174)][_0x492c4e(0x18e)](_0x492c4e(0x19a))[_0x492c4e(0x199)];this[_0x492c4e(0x146)][_0x492c4e(0x174)][_0x492c4e(0x176)](_0x492c4e(0x12a),async()=>{const _0x410c6a=_0x492c4e;this[_0x410c6a(0x146)][_0x410c6a(0x17c)](_0x410c6a(0x164));const _0x461fbd=this[_0x410c6a(0x146)][_0x410c6a(0x181)][_0x410c6a(0x18e)](_0x410c6a(0x150));if(this[_0x410c6a(0x146)][_0x410c6a(0x181)][_0x410c6a(0x1b7)](_0x410c6a(0x183))){const _0x1f423e=this[_0x410c6a(0x146)][_0x410c6a(0x181)][_0x410c6a(0x18e)](_0x410c6a(0x183));await _0x1f423e[_0x410c6a(0x179)]();}else await _0x461fbd[_0x410c6a(0x140)]();if(this[_0x410c6a(0x146)][_0x410c6a(0x181)][_0x410c6a(0x1b7)](_0x410c6a(0x14f))&&this[_0x410c6a(0x146)][_0x410c6a(0x181)][_0x410c6a(0x18e)](_0x410c6a(0x14f))[_0x410c6a(0x14d)](),this[_0x410c6a(0x146)][_0x410c6a(0x181)][_0x410c6a(0x1b7)](_0x410c6a(0x185))){const _0x4cf270=this[_0x410c6a(0x146)][_0x410c6a(0x181)][_0x410c6a(0x18e)](_0x410c6a(0x185));_0x4cf270[_0x410c6a(0x18b)]&&_0x4cf270[_0x410c6a(0x142)]();}const _0x5e127d=this[_0x410c6a(0x15b)]();return _0x3b6b2c(_0x5e127d)[_0x410c6a(0x12b)](_0x1b52da=>{const _0x31975a=_0x410c6a;return(this[_0x31975a(0x1a3)]=_0x1b52da,this[_0x31975a(0x146)][_0x31975a(0x181)][_0x31975a(0x1b7)](_0x31975a(0x147)))&&this[_0x31975a(0x146)][_0x31975a(0x181)][_0x31975a(0x18e)](_0x31975a(0x147))[_0x31975a(0x170)](),_0x1b52da;})[_0x410c6a(0x1a5)](_0x181f66=>(console[_0x410c6a(0x13e)](_0x181f66),this[_0x410c6a(0x146)][_0x410c6a(0x138)](_0x410c6a(0x164)),null));});}[_0x5eaefa(0x172)](){const _0x35bec2=_0x5eaefa,_0x5e686c=this[_0x35bec2(0x146)][_0x35bec2(0x174)][_0x35bec2(0x18e)](_0x35bec2(0x19a))[_0x35bec2(0x17f)];this[_0x35bec2(0x146)][_0x35bec2(0x174)][_0x35bec2(0x176)](_0x35bec2(0x171),()=>(this[_0x35bec2(0x146)][_0x35bec2(0x181)][_0x35bec2(0x1b7)](_0x35bec2(0x14f))&&this[_0x35bec2(0x146)][_0x35bec2(0x181)][_0x35bec2(0x18e)](_0x35bec2(0x14f))[_0x35bec2(0x14d)](),this[_0x35bec2(0x1a3)][_0x35bec2(0x181)][_0x35bec2(0x18e)](_0x35bec2(0x154))[_0x35bec2(0x152)](),_0x5e686c(this[_0x35bec2(0x1a3)])[_0x35bec2(0x12b)](()=>{const _0x5e14c7=_0x35bec2;if(this[_0x5e14c7(0x146)][_0x5e14c7(0x138)](_0x5e14c7(0x164)),this[_0x5e14c7(0x1a3)]=null,this[_0x5e14c7(0x146)][_0x5e14c7(0x181)][_0x5e14c7(0x1b7)](_0x5e14c7(0x147))){const _0x1e6571=this[_0x5e14c7(0x146)][_0x5e14c7(0x181)][_0x5e14c7(0x18e)](_0x5e14c7(0x147));_0x1e6571[_0x5e14c7(0x170)](),_0x1e6571[_0x5e14c7(0x1b4)]();}})));}[_0x5eaefa(0x191)](_0x3c6803){const _0x632ae3=_0x5eaefa,_0x37b768=this[_0x632ae3(0x146)][_0x632ae3(0x174)][_0x632ae3(0x18e)](_0x632ae3(0x1a1)),_0x516e0a=this[_0x632ae3(0x146)][_0x632ae3(0x174)][_0x632ae3(0x18e)](_0x632ae3(0x16b)),_0xbb578=this[_0x632ae3(0x146)][_0x632ae3(0x174)][_0x632ae3(0x18e)](_0x632ae3(0x159));return _0x1ffcda[_0x632ae3(0x17d)](_0xbb578,_0x3c6803)[_0x632ae3(0x12b)](_0x2207e9=>(_0x516e0a[_0x632ae3(0x131)][_0x632ae3(0x1aa)]=_0x632ae3(0x13c),_0x37b768[_0x632ae3(0x131)][_0x632ae3(0x1aa)]=_0x632ae3(0x148),_0x2207e9));}[_0x5eaefa(0x19e)](_0x476cac){const _0xd7e495=_0x5eaefa,_0x358086=this[_0xd7e495(0x146)][_0xd7e495(0x174)][_0xd7e495(0x18e)](_0xd7e495(0x1a1));return this[_0xd7e495(0x146)][_0xd7e495(0x174)][_0xd7e495(0x18e)](_0xd7e495(0x16b))[_0xd7e495(0x131)][_0xd7e495(0x1aa)]=_0xd7e495(0x148),_0x358086[_0xd7e495(0x131)][_0xd7e495(0x1aa)]='',_0x476cac[_0xd7e495(0x16a)]();}async[_0x5eaefa(0x165)](_0x22e2bf){const _0x501752=_0x5eaefa,_0x413ea6=this[_0x501752(0x146)],_0x48f70e=this[_0x501752(0x1a3)][_0x501752(0x181)][_0x501752(0x18e)](_0x501752(0x154)),_0x135333=_0x413ea6[_0x501752(0x181)][_0x501752(0x18e)](_0x501752(0x150)),_0x237889=_0x48f70e[_0x501752(0x134)][_0x501752(0x14c)](_0x22e2bf);let _0x630d8b,_0x397a06,_0xcff3a8;try{_0x630d8b=await _0x48f70e[_0x501752(0x139)](_0x237889),_0x397a06=await _0x48f70e[_0x501752(0x169)](_0x237889);}catch(_0x384c92){return void console[_0x501752(0x13e)](_0x384c92);}_0x413ea6[_0x501752(0x16e)][_0x501752(0x195)](_0x5ce22f=>{const _0x8d6b9=_0x501752;for(const _0x46d239 of Array[_0x8d6b9(0x186)](_0x413ea6[_0x8d6b9(0x16e)][_0x8d6b9(0x168)][_0x8d6b9(0x1ad)](_0x8d6b9(0x16f))))_0x5ce22f[_0x8d6b9(0x135)](_0x46d239);}),_0x48f70e[_0x501752(0x1a0)]=!0x1,_0x413ea6[_0x501752(0x16e)][_0x501752(0x157)](_0x405131=>{const _0x257aeb=_0x501752;_0x405131[_0x257aeb(0x16d)](null),_0x405131[_0x257aeb(0x18a)](_0x413ea6[_0x257aeb(0x16e)][_0x257aeb(0x194)][_0x257aeb(0x136)][_0x257aeb(0x197)]());const _0x60e131=Object[_0x257aeb(0x12d)](_0x630d8b);for(const _0x48a586 of _0x413ea6[_0x257aeb(0x16e)][_0x257aeb(0x194)][_0x257aeb(0x1a7)])_0x257aeb(0x143)!=_0x48a586[_0x257aeb(0x1b0)]&&_0x48a586[_0x257aeb(0x175)]()&&!_0x60e131[_0x257aeb(0x13d)](_0x48a586[_0x257aeb(0x1b0)])&&_0x405131[_0x257aeb(0x1a9)](_0x48a586);for(const _0x4879b9 of _0x60e131){let _0x4ec441=_0x413ea6[_0x257aeb(0x16e)][_0x257aeb(0x194)][_0x257aeb(0x1ae)](_0x4879b9);_0x4ec441&&_0x4ec441[_0x257aeb(0x175)]()||(_0x4ec441=_0x405131[_0x257aeb(0x13f)](_0x4879b9));const _0x13b101=_0x397a06[_0x4879b9],_0x2f2da7=Object[_0x257aeb(0x12d)](_0x13b101),_0x1d6399=_0x630d8b[_0x4879b9];for(const _0x1517fc of _0x4ec441[_0x257aeb(0x197)]())_0x2f2da7[_0x257aeb(0x13d)](_0x1517fc)||_0x405131[_0x257aeb(0x155)](_0x1517fc,_0x4ec441);for(const _0x3561fe of _0x2f2da7)_0x405131[_0x257aeb(0x15c)](_0x3561fe,_0x397a06[_0x4879b9][_0x3561fe],_0x4ec441);_0x405131[_0x257aeb(0x133)](_0x405131[_0x257aeb(0x15a)](_0x4ec441)),_0x405131[_0x257aeb(0x19f)](_0x413ea6[_0x257aeb(0x166)][_0x257aeb(0x14a)](_0x1d6399,_0x4ec441),_0x4ec441,0x0);}});const _0x5d5e11=_0x8b906a(_0x413ea6[_0x501752(0x163)],_0x501752(0x12e));if(_0x237889[_0x501752(0x13a)])_0xcff3a8=-0x1==_0x237889[_0x501752(0x13a)][_0x501752(0x173)](_0x5d5e11)?_0x5d5e11+':\x20'+_0x237889[_0x501752(0x13a)]:_0x237889[_0x501752(0x13a)];else _0xcff3a8=_0x5d5e11+':\x20'+(_0x237889[_0x501752(0x158)][_0x501752(0x1b1)](_0x413ea6[_0x501752(0x163)][_0x501752(0x156)],{'month':_0x501752(0x189),'day':_0x501752(0x196)})+',\x20'+_0x237889[_0x501752(0x158)][_0x501752(0x180)](_0x413ea6[_0x501752(0x163)][_0x501752(0x156)],{'hour':_0x501752(0x196),'minute':_0x501752(0x196)}));return await _0x135333[_0x501752(0x192)]({'name':_0xcff3a8}),_0x48f70e[_0x501752(0x1a0)]=!0x0,_0x413ea6[_0x501752(0x174)][_0x501752(0x18e)](_0x501752(0x19a))[_0x501752(0x17f)]();}}
|
|
23
|
+
const _0xeca22a=_0x587c;(function(_0x20d00f,_0x430184){const _0x341def=_0x587c,_0x1d188a=_0x20d00f();while(!![]){try{const _0x2de12f=-parseInt(_0x341def(0x98))/0x1*(parseInt(_0x341def(0xb8))/0x2)+parseInt(_0x341def(0xea))/0x3*(-parseInt(_0x341def(0x82))/0x4)+-parseInt(_0x341def(0xe5))/0x5+parseInt(_0x341def(0xe0))/0x6*(parseInt(_0x341def(0x70))/0x7)+parseInt(_0x341def(0xa3))/0x8*(parseInt(_0x341def(0x72))/0x9)+-parseInt(_0x341def(0xeb))/0xa+parseInt(_0x341def(0xf1))/0xb*(parseInt(_0x341def(0x6c))/0xc);if(_0x2de12f===_0x430184)break;else _0x1d188a['push'](_0x1d188a['shift']());}catch(_0x5c9055){_0x1d188a['push'](_0x1d188a['shift']());}}}(_0x1732,0x62f8a));import{Plugin as _0x7595c}from'ckeditor5/src/core.js';function _0x1732(){const _0x48b9b3=['translations','enableReadOnlyMode','Users','keys','RevisionHistoryUI','isEnabled','uiLanguage','define','config','isOfficialPlugin','roots','parse','indexOf','setSelection','_showRevisionViewer','revisionHistory.closeRevisionViewerCallback','restrictedEditingException','error','display','toJSON','exitToEditing','_viewerEditor','addUser','pluginName','isOpen','enqueueChange','refreshPositioning','commands','getRevision','_enhanceCloseRevisionViewerCallback','revisionHistory.restoreRevisionCallback','RestrictedEditingMode','saveRevision','numeric','getMarkersGroup','lazyRoots','Restored','isAnonymous','init','1249698XIoQyh','closeRevisionViewerCallback','detachRoot','Autosave','get','1236415NAgOXR','creator','toLocaleDateString','set','showRevisionViewerCallback','1087413wBUmJD','6918340gYycft','repository','hide','style','none','push','55NJoetT','end','_getRevisionViewerEditorConfig','revision-history-missing-configuration','name','isReadOnly','toVersion','catch','bind','from','getRevisionRootsAttributes','3573132TJLIPo','isAttached','save','locale','21vRSmtj','restoreRevision','20079RWMqnq','destroy','Dialog','Annotations','RevisionHistory','getUser','remove','rootName','result','disableReadOnlyMode','revision-history-viewer-opened','getRoot','_enhanceShowRevisionViewerCallback','block','document','addRoot','8VRktjz','update','fromVersion','model','plugins','_update','markers','create','isReady','toolbar','adapter','getAttributeKeys','has','createdAt','data','includes','revisionHistory.editorContainer','PaginationLookup','_cleanUp','requires','change','setAttribute','10018VkIFuw','selection','createRangeIn','RevisionTracker','revisionHistory.viewerEditorElement','long','toLocaleTimeString','getRevisions','addRevisionData','revisionHistory.viewerContainer','removeSelectionAttribute','2392pUkyOE','refreshVisibility','revisionHistory','users','then','revisionHistory.requireRevisionName','editor','changesNavigation','_closeRevisionViewer','RevisionViewerIntegration','insert','_restoreRevision','_recalculatePageBreaks','removeAttribute','RevisionViewer','getRevisionData','isPremiumPlugin','revisionHistory.showRevisionViewerCallback','RevisionsRepository','$graveyard','removeMarker','142zXybPe'];_0x1732=function(){return _0x48b9b3;};return _0x1732();}import{CKEditorError as _0x32c044,uid as _0x44e1dd}from'ckeditor5/src/utils.js';import _0x3b07ba from'./revisiontracker.js';import _0x2f1e79 from'./ui/revisionhistory/revisionhistoryui.js';function _0x587c(_0xd1ef37,_0x1dbd29){const _0x1732b8=_0x1732();return _0x587c=function(_0x587c79,_0xa99511){_0x587c79=_0x587c79-0x65;let _0x2c229b=_0x1732b8[_0x587c79];return _0x2c229b;},_0x587c(_0xd1ef37,_0x1dbd29);}import _0x3ae9d8 from'./revisionviewer.js';import _0x5f243f from'./ui/revisionviewer/revisionviewerui.js';import _0xebdb66 from'./ui/revisionssidebar/revisionssidebar.js';import _0x24a17b from'./editor/revisionviewereditor.js';import{getTranslation as _0x471068}from'./utils/common-translations.js';import{sanitizeEditorConfig as _0x23ce84}from'ckeditor5-collaboration/src/collaboration-core.js';const p=[_0xeca22a(0xbd),_0xeca22a(0xd8)];class k extends _0x7595c{static get[_0xeca22a(0xd0)](){const _0x2f7f82=_0xeca22a;return _0x2f7f82(0xac);}static get[_0xeca22a(0xc2)](){return!0x0;}static get[_0xeca22a(0xb3)](){return!0x0;}constructor(_0x344cc1){const _0xae981a=_0xeca22a;super(_0x344cc1),this[_0xae981a(0x7a)]=_0xae981a(0xf2);}}export default class H extends _0x7595c{static get[_0xeca22a(0xd0)](){const _0x5bd534=_0xeca22a;return _0x5bd534(0x76);}static get[_0xeca22a(0xc2)](){return!0x0;}static get[_0xeca22a(0xb3)](){return!0x0;}static get[_0xeca22a(0x95)](){return[_0x3b07ba,_0x2f1e79];}constructor(_0x20df0e){const _0x29cacf=_0xeca22a;if(super(_0x20df0e),!this[_0x29cacf(0xa9)][_0x29cacf(0xc1)][_0x29cacf(0xe4)](_0x29cacf(0xa5)))throw new _0x32c044(_0x29cacf(0xf4),this);this[_0x29cacf(0xce)]=null,this[_0x29cacf(0xa9)][_0x29cacf(0xc1)][_0x29cacf(0xc0)](_0x29cacf(0xb4),_0x52ef6a=>this[_0x29cacf(0xc7)]({..._0x52ef6a,'translations':this[_0x29cacf(0xa9)][_0x29cacf(0x6f)][_0x29cacf(0xb9)]})),this[_0x29cacf(0xa9)][_0x29cacf(0xc1)][_0x29cacf(0xc0)](_0x29cacf(0xc8),_0x1d8eef=>this[_0x29cacf(0xab)](_0x1d8eef)),this[_0x29cacf(0xa9)][_0x29cacf(0xc1)][_0x29cacf(0xc0)](_0x29cacf(0xd7),_0x198404=>this[_0x29cacf(0xae)](_0x198404)),this[_0x29cacf(0xa9)][_0x29cacf(0xc1)][_0x29cacf(0xc0)](_0x29cacf(0xa8),!0x1),this[_0x29cacf(0x7e)](),this[_0x29cacf(0xd6)]();}set[_0xeca22a(0x8c)](_0x252221){const _0x556bd6=_0xeca22a;this[_0x556bd6(0xa9)][_0x556bd6(0x86)][_0x556bd6(0xe4)](_0x556bd6(0x9b))[_0x556bd6(0x8c)]=_0x252221;}get[_0xeca22a(0x8c)](){const _0x51a56b=_0xeca22a;return this[_0x51a56b(0xa9)][_0x51a56b(0x86)][_0x51a56b(0xe4)](_0x51a56b(0x9b))[_0x51a56b(0x8c)];}[_0xeca22a(0xa0)](_0x17e063){const _0x406444=_0xeca22a;return this[_0x406444(0xa9)][_0x406444(0x86)][_0x406444(0xe4)](_0x406444(0x9b))[_0x406444(0xa0)](_0x17e063);}[_0xeca22a(0xd5)](_0x5d299c){const _0x581e07=_0xeca22a;return this[_0x581e07(0xa9)][_0x581e07(0x86)][_0x581e07(0xe4)](_0x581e07(0xb5))[_0x581e07(0xd5)](_0x5d299c);}[_0xeca22a(0x9f)](_0x3a1f83){const _0x27994a=_0xeca22a;return this[_0x27994a(0xa9)][_0x27994a(0x86)][_0x27994a(0xe4)](_0x27994a(0xb5))[_0x27994a(0x9f)](_0x3a1f83||{'toJSON':!0x1});}[_0xeca22a(0xf3)](){const _0xf8370b=_0xeca22a,_0x10d106=this[_0xf8370b(0xa9)],_0x3aa983=_0x23ce84(_0x10d106,p),_0x448d61=_0x10d106[_0xf8370b(0x86)][_0xf8370b(0xe4)](_0xf8370b(0x9b)),_0x200f37=_0x10d106[_0xf8370b(0x86)][_0xf8370b(0xe4)](_0xf8370b(0xbb))[_0xf8370b(0xa6)];return _0x3aa983[_0xf8370b(0x8b)]=[_0xf8370b(0xcd),_0xf8370b(0x71),_0xf8370b(0xaa)],delete _0x3aa983[_0xf8370b(0xdc)],(_0x3aa983[_0xf8370b(0x86)][_0xf8370b(0xf0)](k,_0x3ae9d8,_0x5f243f,class extends _0x7595c{static get[_0xf8370b(0x95)](){const _0x137fad=_0xf8370b;return[_0x3ae9d8,_0x137fad(0xbb)];}[_0xf8370b(0xdf)](){const _0x1390aa=_0xf8370b,_0x140a11=this[_0x1390aa(0xa9)][_0x1390aa(0x86)][_0x1390aa(0xe4)](_0x1390aa(0xbb));for(const _0xf3dc0e of _0x200f37)_0xf3dc0e[_0x1390aa(0xde)]||_0x140a11[_0x1390aa(0x77)](_0xf3dc0e['id'])||_0x140a11[_0x1390aa(0xcf)](_0xf3dc0e);const _0x2012f1=_0x448d61[_0x1390aa(0xec)][_0x1390aa(0x9f)]();let _0x4bfa19=null;const _0x305bbb=this[_0x1390aa(0xa9)][_0x1390aa(0x86)][_0x1390aa(0xe4)](_0x1390aa(0xb1));_0x305bbb[_0x1390aa(0x8c)]=_0x448d61[_0x1390aa(0x8c)],_0x305bbb[_0x1390aa(0x69)](_0x1390aa(0xbe))['to'](_0x448d61),this[_0x1390aa(0xa9)][_0x1390aa(0xd4)][_0x1390aa(0xe4)](_0x1390aa(0x71))[_0x1390aa(0x69)](_0x1390aa(0xbe))['to'](_0x10d106,_0x1390aa(0x66),_0x4025dc=>!_0x4025dc);for(const _0x478c41 of _0x2012f1){const _0x93878d=null===_0x478c41[_0x1390aa(0xe6)];if(_0x93878d&&_0x478c41[_0x1390aa(0x67)]===_0x478c41[_0x1390aa(0x84)])continue;const _0x3540c2=_0x478c41[_0x1390aa(0xcc)]();_0x305bbb[_0x1390aa(0xa0)](_0x3540c2,(_0xe9e00c,_0x4a278e,_0x234cc8)=>{const _0x6a1a50=_0x1390aa;if(_0x93878d){if(_0x4bfa19)_0x4bfa19[_0x6a1a50(0x87)](_0xe9e00c,_0x4a278e);else{if(!_0x4a278e){const _0x5a4ed3=_0x234cc8[_0x6a1a50(0xcc)]();_0x5a4ed3['id']=_0x44e1dd(),_0x448d61[_0x6a1a50(0xd9)](_0x5a4ed3,_0x234cc8[_0x6a1a50(0x67)])[_0x6a1a50(0xa7)](_0x3fc18b=>{_0x4bfa19=_0x3fc18b;});}}}else _0x478c41[_0x6a1a50(0x87)](_0xe9e00c,_0x4a278e);});}}},_0xebdb66),_0x3aa983);}[_0xeca22a(0x7e)](){const _0x5cd89b=_0xeca22a,_0x13c11=this[_0x5cd89b(0xa9)][_0x5cd89b(0xc1)][_0x5cd89b(0xe4)](_0x5cd89b(0xa5))[_0x5cd89b(0xe9)];this[_0x5cd89b(0xa9)][_0x5cd89b(0xc1)][_0x5cd89b(0xe8)](_0x5cd89b(0xb4),async()=>{const _0x5bb249=_0x5cd89b;this[_0x5bb249(0xa9)][_0x5bb249(0xba)](_0x5bb249(0x7c));const _0x2ac100=this[_0x5bb249(0xa9)][_0x5bb249(0x86)][_0x5bb249(0xe4)](_0x5bb249(0x9b));if(this[_0x5bb249(0xa9)][_0x5bb249(0x86)][_0x5bb249(0x8e)](_0x5bb249(0xe3))){const _0x317fa9=this[_0x5bb249(0xa9)][_0x5bb249(0x86)][_0x5bb249(0xe4)](_0x5bb249(0xe3));await _0x317fa9[_0x5bb249(0x6e)]();}else await _0x2ac100[_0x5bb249(0x83)]();if(this[_0x5bb249(0xa9)][_0x5bb249(0x86)][_0x5bb249(0x8e)](_0x5bb249(0x93))&&this[_0x5bb249(0xa9)][_0x5bb249(0x86)][_0x5bb249(0xe4)](_0x5bb249(0x93))[_0x5bb249(0xaf)](),this[_0x5bb249(0xa9)][_0x5bb249(0x86)][_0x5bb249(0x8e)](_0x5bb249(0x74))){const _0x36a326=this[_0x5bb249(0xa9)][_0x5bb249(0x86)][_0x5bb249(0xe4)](_0x5bb249(0x74));_0x36a326[_0x5bb249(0xd1)]&&_0x36a326[_0x5bb249(0xed)]();}const _0xffb7c2=this[_0x5bb249(0xf3)]();return _0x13c11(_0xffb7c2)[_0x5bb249(0xa7)](_0x3b7955=>{const _0x2b66de=_0x5bb249;return(this[_0x2b66de(0xce)]=_0x3b7955,this[_0x2b66de(0xa9)][_0x2b66de(0x86)][_0x2b66de(0x8e)](_0x2b66de(0x75)))&&this[_0x2b66de(0xa9)][_0x2b66de(0x86)][_0x2b66de(0xe4)](_0x2b66de(0x75))[_0x2b66de(0xa4)](),_0x3b7955;})[_0x5bb249(0x68)](_0x4ab0ea=>(console[_0x5bb249(0xca)](_0x4ab0ea),this[_0x5bb249(0xa9)][_0x5bb249(0x7b)](_0x5bb249(0x7c)),null));});}[_0xeca22a(0xd6)](){const _0x52f2a0=_0xeca22a,_0x3be8bc=this[_0x52f2a0(0xa9)][_0x52f2a0(0xc1)][_0x52f2a0(0xe4)](_0x52f2a0(0xa5))[_0x52f2a0(0xe1)];this[_0x52f2a0(0xa9)][_0x52f2a0(0xc1)][_0x52f2a0(0xe8)](_0x52f2a0(0xc8),()=>(this[_0x52f2a0(0xa9)][_0x52f2a0(0x86)][_0x52f2a0(0x8e)](_0x52f2a0(0x93))&&this[_0x52f2a0(0xa9)][_0x52f2a0(0x86)][_0x52f2a0(0xe4)](_0x52f2a0(0x93))[_0x52f2a0(0xaf)](),this[_0x52f2a0(0xce)][_0x52f2a0(0x86)][_0x52f2a0(0xe4)](_0x52f2a0(0xb1))[_0x52f2a0(0x94)](),_0x3be8bc(this[_0x52f2a0(0xce)])[_0x52f2a0(0xa7)](()=>{const _0x39dd95=_0x52f2a0;if(this[_0x39dd95(0xa9)][_0x39dd95(0x7b)](_0x39dd95(0x7c)),this[_0x39dd95(0xce)]=null,this[_0x39dd95(0xa9)][_0x39dd95(0x86)][_0x39dd95(0x8e)](_0x39dd95(0x75))){const _0x276ee6=this[_0x39dd95(0xa9)][_0x39dd95(0x86)][_0x39dd95(0xe4)](_0x39dd95(0x75));_0x276ee6[_0x39dd95(0xa4)](),_0x276ee6[_0x39dd95(0xd3)]();}})));}[_0xeca22a(0xc7)](_0x25efcc){const _0x1c3025=_0xeca22a,_0x3575e4=this[_0x1c3025(0xa9)][_0x1c3025(0xc1)][_0x1c3025(0xe4)](_0x1c3025(0x92)),_0x250e2d=this[_0x1c3025(0xa9)][_0x1c3025(0xc1)][_0x1c3025(0xe4)](_0x1c3025(0xa1)),_0xeb5e7e=this[_0x1c3025(0xa9)][_0x1c3025(0xc1)][_0x1c3025(0xe4)](_0x1c3025(0x9c));return _0x24a17b[_0x1c3025(0x89)](_0xeb5e7e,_0x25efcc)[_0x1c3025(0xa7)](_0x1c9d4e=>(_0x250e2d[_0x1c3025(0xee)][_0x1c3025(0xcb)]=_0x1c3025(0x7f),_0x3575e4[_0x1c3025(0xee)][_0x1c3025(0xcb)]=_0x1c3025(0xef),_0x1c9d4e));}[_0xeca22a(0xab)](_0x111bf5){const _0x37d689=_0xeca22a,_0x5399b1=this[_0x37d689(0xa9)][_0x37d689(0xc1)][_0x37d689(0xe4)](_0x37d689(0x92));return this[_0x37d689(0xa9)][_0x37d689(0xc1)][_0x37d689(0xe4)](_0x37d689(0xa1))[_0x37d689(0xee)][_0x37d689(0xcb)]=_0x37d689(0xef),_0x5399b1[_0x37d689(0xee)][_0x37d689(0xcb)]='',_0x111bf5[_0x37d689(0x73)]();}async[_0xeca22a(0xae)](_0x4beda4){const _0x25e299=_0xeca22a,_0x31eeec=this[_0x25e299(0xa9)],_0x53b1cb=this[_0x25e299(0xce)][_0x25e299(0x86)][_0x25e299(0xe4)](_0x25e299(0xb1)),_0x3a54f6=_0x31eeec[_0x25e299(0x86)][_0x25e299(0xe4)](_0x25e299(0x9b)),_0x15e851=_0x53b1cb[_0x25e299(0xec)][_0x25e299(0xd5)](_0x4beda4);let _0x5e2d19,_0x53bf49,_0x4cb1d1;try{_0x5e2d19=await _0x53b1cb[_0x25e299(0xb2)](_0x15e851),_0x53bf49=await _0x53b1cb[_0x25e299(0x6b)](_0x15e851);}catch(_0x14c61e){return void console[_0x25e299(0xca)](_0x14c61e);}_0x31eeec[_0x25e299(0x85)][_0x25e299(0x96)](_0x3c6999=>{const _0x4eb465=_0x25e299;for(const _0x2ac8b2 of Array[_0x4eb465(0x6a)](_0x31eeec[_0x4eb465(0x85)][_0x4eb465(0x88)][_0x4eb465(0xdb)](_0x4eb465(0xc9))))_0x3c6999[_0x4eb465(0xb7)](_0x2ac8b2);}),_0x53b1cb[_0x25e299(0x8a)]=!0x1,_0x31eeec[_0x25e299(0x85)][_0x25e299(0xd2)](_0x310392=>{const _0x2a1b89=_0x25e299;_0x310392[_0x2a1b89(0xc6)](null),_0x310392[_0x2a1b89(0xa2)](_0x31eeec[_0x2a1b89(0x85)][_0x2a1b89(0x80)][_0x2a1b89(0x99)][_0x2a1b89(0x8d)]());const _0x52a339=Object[_0x2a1b89(0xbc)](_0x5e2d19);for(const _0x3120eb of _0x31eeec[_0x2a1b89(0x85)][_0x2a1b89(0x80)][_0x2a1b89(0xc3)])_0x2a1b89(0xb6)!=_0x3120eb[_0x2a1b89(0x79)]&&_0x3120eb[_0x2a1b89(0x6d)]()&&!_0x52a339[_0x2a1b89(0x91)](_0x3120eb[_0x2a1b89(0x79)])&&_0x310392[_0x2a1b89(0xe2)](_0x3120eb);for(const _0x250348 of _0x52a339){let _0x1d350d=_0x31eeec[_0x2a1b89(0x85)][_0x2a1b89(0x80)][_0x2a1b89(0x7d)](_0x250348);_0x1d350d&&_0x1d350d[_0x2a1b89(0x6d)]()||(_0x1d350d=_0x310392[_0x2a1b89(0x81)](_0x250348));const _0x4e7819=_0x53bf49[_0x250348],_0x174e7a=Object[_0x2a1b89(0xbc)](_0x4e7819),_0x576191=_0x5e2d19[_0x250348];for(const _0x540f74 of _0x1d350d[_0x2a1b89(0x8d)]())_0x174e7a[_0x2a1b89(0x91)](_0x540f74)||_0x310392[_0x2a1b89(0xb0)](_0x540f74,_0x1d350d);for(const _0x431919 of _0x174e7a)_0x310392[_0x2a1b89(0x97)](_0x431919,_0x53bf49[_0x250348][_0x431919],_0x1d350d);_0x310392[_0x2a1b89(0x78)](_0x310392[_0x2a1b89(0x9a)](_0x1d350d)),_0x310392[_0x2a1b89(0xad)](_0x31eeec[_0x2a1b89(0x90)][_0x2a1b89(0xc4)](_0x576191,_0x1d350d),_0x1d350d,0x0);}});const _0x6d2a37=_0x471068(_0x31eeec[_0x25e299(0x6f)],_0x25e299(0xdd));if(_0x15e851[_0x25e299(0x65)])_0x4cb1d1=-0x1==_0x15e851[_0x25e299(0x65)][_0x25e299(0xc5)](_0x6d2a37)?_0x6d2a37+':\x20'+_0x15e851[_0x25e299(0x65)]:_0x15e851[_0x25e299(0x65)];else _0x4cb1d1=_0x6d2a37+':\x20'+(_0x15e851[_0x25e299(0x8f)][_0x25e299(0xe7)](_0x31eeec[_0x25e299(0x6f)][_0x25e299(0xbf)],{'month':_0x25e299(0x9d),'day':_0x25e299(0xda)})+',\x20'+_0x15e851[_0x25e299(0x8f)][_0x25e299(0x9e)](_0x31eeec[_0x25e299(0x6f)][_0x25e299(0xbf)],{'hour':_0x25e299(0xda),'minute':_0x25e299(0xda)}));return await _0x3a54f6[_0x25e299(0xd9)]({'name':_0x4cb1d1}),_0x53b1cb[_0x25e299(0x8a)]=!0x0,_0x31eeec[_0x25e299(0xc1)][_0x25e299(0xe4)](_0x25e299(0xa5))[_0x25e299(0xe1)]();}}
|