@ckeditor/ckeditor5-revision-history 43.3.0 → 43.3.1-alpha.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/build/revision-history.js +1 -1
- package/dist/index.js +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':_0x3ee113=>0x0}};
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
(
|
|
23
|
+
(_0x4bc616=>{const {'zh-cn':{dictionary:_0x49a33d,getPluralForm:_0x3fa8ae}}={'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':_0x3dc61a=>0x0}};_0x4bc616['zh-cn']||={'dictionary':{},'getPluralForm':null},_0x4bc616['zh-cn']['dictionary']=Object['assign'](_0x4bc616['zh-cn']['dictionary'],_0x49a33d),_0x4bc616['zh-cn']['getPluralForm']=_0x3fa8ae;})(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':_0xfce678=>0x0}};
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
(
|
|
23
|
+
(_0x4225bf=>{const {zh:{dictionary:_0x1cf33f,getPluralForm:_0x4b105a}}={'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':_0x5ec355=>0x0}};_0x4225bf['zh']||={'dictionary':{},'getPluralForm':null},_0x4225bf['zh']['dictionary']=Object['assign'](_0x4225bf['zh']['dictionary'],_0x1cf33f),_0x4225bf['zh']['getPluralForm']=_0x4b105a;})(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",
|
|
3
|
+
"version": "43.3.1-alpha.0",
|
|
4
4
|
"description": "Document revision history feature for CKEditor 5.",
|
|
5
5
|
"license": "SEE LICENSE IN LICENSE.md",
|
|
6
6
|
"author": "CKSource (http://cksource.com/)",
|
|
@@ -39,13 +39,13 @@
|
|
|
39
39
|
"CHANGELOG.md"
|
|
40
40
|
],
|
|
41
41
|
"dependencies": {
|
|
42
|
-
"@ckeditor/ckeditor5-core": "43.3.0",
|
|
43
|
-
"@ckeditor/ckeditor5-editor-classic": "43.3.0",
|
|
44
|
-
"@ckeditor/ckeditor5-engine": "43.3.0",
|
|
45
|
-
"@ckeditor/ckeditor5-ui": "43.3.0",
|
|
46
|
-
"@ckeditor/ckeditor5-utils": "43.3.0",
|
|
47
|
-
"ckeditor5": "43.3.0",
|
|
48
|
-
"ckeditor5-collaboration": "43.3.0",
|
|
42
|
+
"@ckeditor/ckeditor5-core": "43.3.1-alpha.0",
|
|
43
|
+
"@ckeditor/ckeditor5-editor-classic": "43.3.1-alpha.0",
|
|
44
|
+
"@ckeditor/ckeditor5-engine": "43.3.1-alpha.0",
|
|
45
|
+
"@ckeditor/ckeditor5-ui": "43.3.1-alpha.0",
|
|
46
|
+
"@ckeditor/ckeditor5-utils": "43.3.1-alpha.0",
|
|
47
|
+
"ckeditor5": "43.3.1-alpha.0",
|
|
48
|
+
"ckeditor5-collaboration": "43.3.1-alpha.0",
|
|
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
|
-
var
|
|
24
|
-
|
|
23
|
+
var _0x444a21=_0x4890;(function(_0x27d41d,_0x2f0ca2){var _0x7147f7=_0x4890,_0x1e8ed8=_0x27d41d();while(!![]){try{var _0x22b5b6=parseInt(_0x7147f7(0x1c3))/0x1+parseInt(_0x7147f7(0x1cb))/0x2+-parseInt(_0x7147f7(0x1c7))/0x3+-parseInt(_0x7147f7(0x1ce))/0x4*(parseInt(_0x7147f7(0x1c1))/0x5)+-parseInt(_0x7147f7(0x1c4))/0x6*(-parseInt(_0x7147f7(0x1c0))/0x7)+parseInt(_0x7147f7(0x1c5))/0x8+parseInt(_0x7147f7(0x1c9))/0x9*(-parseInt(_0x7147f7(0x1ca))/0xa);if(_0x22b5b6===_0x2f0ca2)break;else _0x1e8ed8['push'](_0x1e8ed8['shift']());}catch(_0x1aadcf){_0x1e8ed8['push'](_0x1e8ed8['shift']());}}}(_0x3360,0x39a73));function _0x4890(_0x37c883,_0x51b089){var _0x336080=_0x3360();return _0x4890=function(_0x489026,_0x373dc5){_0x489026=_0x489026-0x1bf;var _0x160b09=_0x336080[_0x489026];return _0x160b09;},_0x4890(_0x37c883,_0x51b089);}import{ObservableMixin as _0x5b9b45,uid as _0x2019f0}from'ckeditor5/src/utils.js';function _0x3360(){var _0x49402d=['set','376033iWEJfP','2305715DsQUjq','createdAt','111957UMlaTS','6wRlDes','2929704RzXkBn','rootName','128478DRsgRP','type','387sQZGhH','28510cVLFDn','661640feOfUx','author','toJSON','4YyHGoN','data'];_0x3360=function(){return _0x49402d;};return _0x3360();}export default class r extends/* #__PURE__ -- @preserve */
|
|
24
|
+
_0x5b9b45(){constructor(_0x14dcf){var _0x43f736=_0x4890;super(),this['id']=_0x14dcf['id']||_0x2019f0(),this[_0x43f736(0x1cc)]=_0x14dcf[_0x43f736(0x1cc)],this[_0x43f736(0x1c8)]=_0x14dcf[_0x43f736(0x1c8)],this[_0x43f736(0x1cf)]=_0x14dcf[_0x43f736(0x1cf)]||{},this[_0x43f736(0x1c6)]=_0x14dcf[_0x43f736(0x1c6)],this[_0x43f736(0x1bf)](_0x43f736(0x1c2),_0x14dcf[_0x43f736(0x1c2)]);}[_0x444a21(0x1cd)](){var _0x2002ae=_0x444a21;return{'id':this['id'],'authorId':this[_0x2002ae(0x1cc)]['id'],'type':this[_0x2002ae(0x1c8)],'data':this[_0x2002ae(0x1cf)],'createdAt':this[_0x2002ae(0x1c2)]};}}
|
|
@@ -20,5 +20,5 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
const
|
|
24
|
-
|
|
23
|
+
const _0x262a5c=_0xa105;function _0x1d96(){const _0xc97280=['2909080nCSyhv','ready','config','52hLwkLh','editing','init','initPlugins','4535478dUwbMA','2726268yRrGRn','1zsXLSI','createRoot','84642teCiHB','569074fWhyCY','model','document','fire','locale','11nBlrDo','updateSourceElement','data','get','sourceElement','1328muVuLk','destroy','create','1522332kbzjHO','initialData','5qrAOuI','view','_ui','11452SyHBPk'];_0x1d96=function(){return _0xc97280;};return _0x1d96();}(function(_0x2b7368,_0x3bd049){const _0x19b734=_0xa105,_0x5bd7f4=_0x2b7368();while(!![]){try{const _0x1dada3=-parseInt(_0x19b734(0xa4))/0x1*(-parseInt(_0x19b734(0xa7))/0x2)+-parseInt(_0x19b734(0xa6))/0x3*(-parseInt(_0x19b734(0x9e))/0x4)+-parseInt(_0x19b734(0xb6))/0x5*(parseInt(_0x19b734(0xa3))/0x6)+parseInt(_0x19b734(0x9a))/0x7*(-parseInt(_0x19b734(0xb1))/0x8)+parseInt(_0x19b734(0xa2))/0x9+-parseInt(_0x19b734(0x9b))/0xa*(parseInt(_0x19b734(0xac))/0xb)+parseInt(_0x19b734(0xb4))/0xc;if(_0x1dada3===_0x3bd049)break;else _0x5bd7f4['push'](_0x5bd7f4['shift']());}catch(_0xb088f3){_0x5bd7f4['push'](_0x5bd7f4['shift']());}}}(_0x1d96,0x40c2c));import{Editor as _0x1ffb13,ElementApiMixin as _0x536b86}from'ckeditor5/src/core.js';import _0x18b052 from'./revisionviewereditorui.js';function _0xa105(_0x180c18,_0x3e38a5){const _0x1d964e=_0x1d96();return _0xa105=function(_0xa10594,_0x23b3ff){_0xa10594=_0xa10594-0x98;let _0x88c3fa=_0x1d964e[_0xa10594];return _0x88c3fa;},_0xa105(_0x180c18,_0x3e38a5);}import _0xc01f8d from'./revisionviewereditoruiview.js';export default class g extends/* #__PURE__ -- @preserve */
|
|
24
|
+
_0x536b86(_0x1ffb13){get['ui'](){const _0x5b40bf=_0xa105;return this[_0x5b40bf(0x99)];}constructor(_0x185611,_0x289839){const _0x587b0e=_0xa105;super(_0x289839),this[_0x587b0e(0xb0)]=_0x185611,this[_0x587b0e(0xa8)][_0x587b0e(0xa9)][_0x587b0e(0xa5)]();const _0x21a381=new _0xc01f8d(this[_0x587b0e(0xab)],this[_0x587b0e(0x9f)][_0x587b0e(0x98)],{'shouldToolbarGroupWhenFull':!0x0});this[_0x587b0e(0x99)]=new _0x18b052(this,_0x21a381);}[_0x262a5c(0xb2)](){const _0x2a3dfa=_0x262a5c;return this[_0x2a3dfa(0xad)](),this['ui'][_0x2a3dfa(0xb2)](),super[_0x2a3dfa(0xb2)]();}static async[_0x262a5c(0xb3)](_0x4bd666,_0x4174f4){const _0x34d4f4=_0x262a5c,_0x22846c=new this(_0x4bd666,_0x4174f4);return await _0x22846c[_0x34d4f4(0xa1)](),await _0x22846c['ui'][_0x34d4f4(0xa0)](_0x4bd666),await _0x22846c[_0x34d4f4(0xae)][_0x34d4f4(0xa0)](_0x22846c[_0x34d4f4(0x9d)][_0x34d4f4(0xaf)](_0x34d4f4(0xb5))||''),_0x22846c[_0x34d4f4(0xaa)](_0x34d4f4(0x9c)),_0x22846c;}}
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
|
|
23
|
+
function _0x189c(){const _0x132295=['config','fillFromConfig','ready','_initToolbar','934060whyTFM','init','681930onyxEF','viewportOffset','viewportTopOffset','view','addToolbar','358838CIobuk','editable','name','_toolbarConfig','replace','1260354XMhzEj','restore','limiterElement','componentFactory','1207899nXqAHi','_elementReplacer','3564456SGyFph','editing','editor','document','_view','setEditableElement','bind','destroy','focusTracker','getRoot','toolbar','rootName','fire','5oiHAGF','detachDomRoot','isFocused','get','2aocgxP','render','attachDomRoot','element','1882672unuJKn','isActive','stickyPanel'];_0x189c=function(){return _0x132295;};return _0x189c();}const _0x26a9a6=_0x11d5;(function(_0x1ffc99,_0x7dc817){const _0x2d817b=_0x11d5,_0x48366b=_0x1ffc99();while(!![]){try{const _0x4d6465=-parseInt(_0x2d817b(0x1c5))/0x1*(-parseInt(_0x2d817b(0x1a9))/0x2)+parseInt(_0x2d817b(0x1ae))/0x3+-parseInt(_0x2d817b(0x1a2))/0x4*(-parseInt(_0x2d817b(0x1c1))/0x5)+-parseInt(_0x2d817b(0x1b4))/0x6+-parseInt(_0x2d817b(0x1b2))/0x7+parseInt(_0x2d817b(0x1c9))/0x8+-parseInt(_0x2d817b(0x1a4))/0x9;if(_0x4d6465===_0x7dc817)break;else _0x48366b['push'](_0x48366b['shift']());}catch(_0x4d14ec){_0x48366b['push'](_0x48366b['shift']());}}}(_0x189c,0x62f9a));function _0x11d5(_0x16628d,_0x14c606){const _0x189c9e=_0x189c();return _0x11d5=function(_0x11d518,_0x10ad0b){_0x11d518=_0x11d518-0x1a2;let _0x5ed3bb=_0x189c9e[_0x11d518];return _0x5ed3bb;},_0x11d5(_0x16628d,_0x14c606);}import{EditorUI as _0x1a1a94,normalizeToolbarConfig as _0x17425b}from'ckeditor5/src/ui.js';import{ElementReplacer as _0x12ddb9}from'ckeditor5/src/utils.js';export default class st extends _0x1a1a94{get[_0x26a9a6(0x1a7)](){const _0x268328=_0x26a9a6;return this[_0x268328(0x1b8)];}constructor(_0x4f66de,_0x45e4c0){const _0x49b768=_0x26a9a6;super(_0x4f66de),this[_0x49b768(0x1b8)]=_0x45e4c0,this[_0x49b768(0x1ac)]=_0x17425b(_0x4f66de[_0x49b768(0x1cc)][_0x49b768(0x1c4)](_0x49b768(0x1be))),this[_0x49b768(0x1b3)]=new _0x12ddb9();}get[_0x26a9a6(0x1c8)](){const _0x2d5597=_0x26a9a6;return this[_0x2d5597(0x1a7)][_0x2d5597(0x1c8)];}[_0x26a9a6(0x1a3)](_0x4b1c0b){const _0x94eadf=_0x26a9a6,_0x12b7bf=this[_0x94eadf(0x1b6)],_0x512562=this[_0x94eadf(0x1a7)],_0x331756=_0x12b7bf[_0x94eadf(0x1b5)][_0x94eadf(0x1a7)],_0x51810c=_0x512562[_0x94eadf(0x1aa)],_0x180a82=_0x331756[_0x94eadf(0x1b7)][_0x94eadf(0x1bd)]();_0x51810c[_0x94eadf(0x1ab)]=_0x180a82[_0x94eadf(0x1bf)],_0x512562[_0x94eadf(0x1c6)]();const _0xe14805=_0x51810c[_0x94eadf(0x1c8)];this[_0x94eadf(0x1b9)](_0x51810c[_0x94eadf(0x1ab)],_0xe14805),_0x512562[_0x94eadf(0x1aa)][_0x94eadf(0x1ba)](_0x94eadf(0x1c3))['to'](this[_0x94eadf(0x1bc)]),_0x331756[_0x94eadf(0x1c7)](_0xe14805),this[_0x94eadf(0x1b3)][_0x94eadf(0x1ad)](_0x4b1c0b,this[_0x94eadf(0x1c8)]),this[_0x94eadf(0x1cf)](),this[_0x94eadf(0x1c0)](_0x94eadf(0x1ce));}[_0x26a9a6(0x1bb)](){const _0x63bf23=_0x26a9a6;super[_0x63bf23(0x1bb)]();const _0x55b1f6=this[_0x63bf23(0x1a7)],_0x3973d1=this[_0x63bf23(0x1b6)][_0x63bf23(0x1b5)][_0x63bf23(0x1a7)];this[_0x63bf23(0x1b3)][_0x63bf23(0x1af)](),_0x3973d1[_0x63bf23(0x1c2)](_0x55b1f6[_0x63bf23(0x1aa)][_0x63bf23(0x1ab)]),_0x55b1f6[_0x63bf23(0x1bb)]();}[_0x26a9a6(0x1cf)](){const _0xcdd45f=_0x26a9a6,_0x259807=this[_0xcdd45f(0x1a7)];_0x259807[_0xcdd45f(0x1cb)][_0xcdd45f(0x1ba)](_0xcdd45f(0x1ca))['to'](this[_0xcdd45f(0x1bc)],_0xcdd45f(0x1c3)),_0x259807[_0xcdd45f(0x1cb)][_0xcdd45f(0x1b0)]=_0x259807[_0xcdd45f(0x1c8)],_0x259807[_0xcdd45f(0x1cb)][_0xcdd45f(0x1ba)](_0xcdd45f(0x1a6))['to'](this,_0xcdd45f(0x1a5),({top:_0x481b32})=>_0x481b32),_0x259807[_0xcdd45f(0x1be)][_0xcdd45f(0x1cd)](this[_0xcdd45f(0x1ac)],this[_0xcdd45f(0x1b1)]),this[_0xcdd45f(0x1a8)](_0x259807[_0xcdd45f(0x1be)]);}}
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
var
|
|
23
|
+
function _0x37b1(_0xb872bc,_0x50b7ca){var _0x5d464b=_0x5d46();return _0x37b1=function(_0x37b173,_0x19b21a){_0x37b173=_0x37b173-0x129;var _0x236414=_0x5d464b[_0x37b173];return _0x236414;},_0x37b1(_0xb872bc,_0x50b7ca);}var _0x159a0b=_0x37b1;(function(_0x3958b3,_0x513618){var _0x4e7dce=_0x37b1,_0x491703=_0x3958b3();while(!![]){try{var _0x3ff708=parseInt(_0x4e7dce(0x137))/0x1+parseInt(_0x4e7dce(0x13b))/0x2*(-parseInt(_0x4e7dce(0x12c))/0x3)+-parseInt(_0x4e7dce(0x130))/0x4*(-parseInt(_0x4e7dce(0x139))/0x5)+-parseInt(_0x4e7dce(0x13c))/0x6+-parseInt(_0x4e7dce(0x133))/0x7+-parseInt(_0x4e7dce(0x12b))/0x8*(-parseInt(_0x4e7dce(0x13a))/0x9)+parseInt(_0x4e7dce(0x135))/0xa;if(_0x3ff708===_0x513618)break;else _0x491703['push'](_0x491703['shift']());}catch(_0x551dc6){_0x491703['push'](_0x491703['shift']());}}}(_0x5d46,0x75101));import{BoxedEditorUIView as _0x21c88d,InlineEditableUIView as _0x16a2f0,StickyPanelView as _0x496534,ToolbarView as _0x5594b0}from'ckeditor5/src/ui.js';import'@ckeditor/ckeditor5-editor-classic/theme/classiceditor.css';function _0x5d46(){var _0x43ae58=['shouldToolbarGroupWhenFull','10bGrJMT','72DefBZt','12yvdVEn','2635464BYHkAB','stickyPanel','render','206512rWeqjx','298527TOgfUt','main','editable','content','1278196znelbA','add','top','6068181LTfLMz','_editable','9169670mYvaBF','toolbar','620093YMKlNx'];_0x5d46=function(){return _0x43ae58;};return _0x5d46();}export default class ot extends _0x21c88d{get[_0x159a0b(0x12e)](){var _0x2dd74d=_0x159a0b;return this[_0x2dd74d(0x134)];}constructor(_0x2bfadb,_0x4cf039,_0x3f1f01={}){var _0x3df897=_0x159a0b;super(_0x2bfadb),this[_0x3df897(0x129)]=new _0x496534(_0x2bfadb),this[_0x3df897(0x136)]=new _0x5594b0(_0x2bfadb,{'shouldGroupWhenFull':_0x3f1f01[_0x3df897(0x138)]}),this[_0x3df897(0x134)]=new _0x16a2f0(_0x2bfadb,_0x4cf039);}[_0x159a0b(0x12a)](){var _0x3e7915=_0x159a0b;super[_0x3e7915(0x12a)](),this[_0x3e7915(0x129)][_0x3e7915(0x12f)][_0x3e7915(0x131)](this[_0x3e7915(0x136)]),this[_0x3e7915(0x132)][_0x3e7915(0x131)](this[_0x3e7915(0x129)]),this[_0x3e7915(0x12d)][_0x3e7915(0x131)](this[_0x3e7915(0x12e)]);}}
|
package/src/index.js
CHANGED
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
(function(
|
|
23
|
+
function _0x3b29(_0x57ddf1,_0x117e17){var _0x32a7ea=_0x32a7();return _0x3b29=function(_0x3b2944,_0x4727f1){_0x3b2944=_0x3b2944-0x127;var _0xdf77f1=_0x32a7ea[_0x3b2944];return _0xdf77f1;},_0x3b29(_0x57ddf1,_0x117e17);}(function(_0x391396,_0xbb32ea){var _0x12384c=_0x3b29,_0x57191d=_0x391396();while(!![]){try{var _0x384408=parseInt(_0x12384c(0x12e))/0x1+-parseInt(_0x12384c(0x12d))/0x2+parseInt(_0x12384c(0x12a))/0x3+-parseInt(_0x12384c(0x128))/0x4+-parseInt(_0x12384c(0x129))/0x5*(parseInt(_0x12384c(0x12b))/0x6)+-parseInt(_0x12384c(0x12f))/0x7*(-parseInt(_0x12384c(0x127))/0x8)+parseInt(_0x12384c(0x12c))/0x9;if(_0x384408===_0xbb32ea)break;else _0x57191d['push'](_0x57191d['shift']());}catch(_0x589392){_0x57191d['push'](_0x57191d['shift']());}}}(_0x32a7,0x37e3a));function _0x32a7(){var _0x40561a=['976704yHtiNy','88266GvnbqZ','2610144xPxOed','588098ktftgy','448820dykLnV','22904plCPip','392PHEFtq','982880tciOEp','155AAqJIs'];_0x32a7=function(){return _0x40561a;};return _0x32a7();}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';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
|
-
function
|
|
24
|
-
|
|
23
|
+
function _0x2a48(){const _0x7c49e1=['diffData','599457AvjtSx','name','set','creator','5066890aWghZm','216HtNvzm','1366123NLnVdm','fire','toJSON','2845776enQngW','removeAttribute','327985NynAKn','map','setName','toVersion','creatorId','70WzIGKl','createdAt','fromVersion','24988BBuYmN','4BgrMEO','_update','4754394IgBheI','16OFbGcc','authors','attributes','setAttribute','authorsIds'];_0x2a48=function(){return _0x7c49e1;};return _0x2a48();}const _0x4e20db=_0x5bff;function _0x5bff(_0x5351fa,_0x1f63b9){const _0x2a48f2=_0x2a48();return _0x5bff=function(_0x5bff15,_0x3f515b){_0x5bff15=_0x5bff15-0x1b8;let _0x5e0211=_0x2a48f2[_0x5bff15];return _0x5e0211;},_0x5bff(_0x5351fa,_0x1f63b9);}(function(_0x2a0b16,_0x5307e5){const _0x33d3a4=_0x5bff,_0xca1857=_0x2a0b16();while(!![]){try{const _0x8c0097=parseInt(_0x33d3a4(0x1c6))/0x1*(-parseInt(_0x33d3a4(0x1c2))/0x2)+-parseInt(_0x33d3a4(0x1cc))/0x3*(parseInt(_0x33d3a4(0x1c3))/0x4)+-parseInt(_0x33d3a4(0x1d0))/0x5+parseInt(_0x33d3a4(0x1b8))/0x6+parseInt(_0x33d3a4(0x1ba))/0x7*(parseInt(_0x33d3a4(0x1d1))/0x8)+-parseInt(_0x33d3a4(0x1c5))/0x9+parseInt(_0x33d3a4(0x1bf))/0xa*(parseInt(_0x33d3a4(0x1d2))/0xb);if(_0x8c0097===_0x5307e5)break;else _0xca1857['push'](_0xca1857['shift']());}catch(_0x1a15cb){_0xca1857['push'](_0xca1857['shift']());}}}(_0x2a48,0xa2ee5));import{ObservableMixin as _0x5c6be0,uid as _0x52abf7}from'ckeditor5/src/utils.js';import{cloneDeep as _0x1cdce9,set as _0x3b0523,unset as _0x16239d}from'lodash-es';export default class a extends/* #__PURE__ -- @preserve */
|
|
24
|
+
_0x5c6be0(){constructor(_0x1b27a1){const _0x39a46f=_0x5bff;super(),this['id']=_0x1b27a1['id']||_0x52abf7(),this[_0x39a46f(0x1cf)]=_0x1b27a1[_0x39a46f(0x1cf)]||null,this[_0x39a46f(0x1c7)]=_0x1b27a1[_0x39a46f(0x1c7)]||[],this[_0x39a46f(0x1cb)]=_0x1b27a1[_0x39a46f(0x1cb)]||null,this[_0x39a46f(0x1bd)]=_0x1b27a1[_0x39a46f(0x1bd)]||0x0,this[_0x39a46f(0x1c1)]=_0x1b27a1[_0x39a46f(0x1c1)]||0x0,this[_0x39a46f(0x1ce)](_0x39a46f(0x1cd),_0x1b27a1[_0x39a46f(0x1cd)]||''),this[_0x39a46f(0x1ce)](_0x39a46f(0x1c0),_0x1b27a1[_0x39a46f(0x1c0)]||new Date()),this[_0x39a46f(0x1ce)](_0x39a46f(0x1c8),_0x1b27a1[_0x39a46f(0x1c8)]||{});}[_0x4e20db(0x1bc)](_0x560385){const _0x11e314=_0x4e20db;this[_0x11e314(0x1c4)]({'name':_0x560385});}[_0x4e20db(0x1c9)](_0x3680e8,_0x1bae37){const _0x15bd50=_0x4e20db,_0x2b0c14=_0x1cdce9(this[_0x15bd50(0x1c8)]);_0x3b0523(_0x2b0c14,_0x3680e8,_0x1bae37),this[_0x15bd50(0x1c4)]({'attributes':_0x2b0c14});}[_0x4e20db(0x1b9)](_0x3f00c3){const _0x3ccd1e=_0x4e20db,_0x4dd102=_0x1cdce9(this[_0x3ccd1e(0x1c8)]);_0x16239d(_0x4dd102,_0x3f00c3),this[_0x3ccd1e(0x1c4)]({'attributes':_0x4dd102});}[_0x4e20db(0x1c4)](_0x15d7b9,_0x3d0397=!0x1){const _0x2c108f=_0x4e20db;let _0xb6b4d4=!0x1;const _0x4ef2b6={'id':this['id']},_0x116ab6=[_0x2c108f(0x1cd),_0x2c108f(0x1c0),_0x2c108f(0x1cb),_0x2c108f(0x1c7),_0x2c108f(0x1c8),_0x2c108f(0x1bd),_0x2c108f(0x1c1),_0x2c108f(0x1be)];for(const _0x2eefb8 of _0x116ab6){const _0x799680=_0x15d7b9[_0x2eefb8];void 0x0!==_0x799680&&_0x799680!==this[_0x2eefb8]&&(this[_0x2eefb8]=_0x799680,_0x4ef2b6[_0x2eefb8]=_0x799680,_0xb6b4d4=!0x0);}_0xb6b4d4&&(_0x4ef2b6[_0x2c108f(0x1c7)]&&(_0x4ef2b6[_0x2c108f(0x1ca)]=_0x4ef2b6[_0x2c108f(0x1c7)][_0x2c108f(0x1bb)](_0x9a3471=>_0x9a3471['id']),delete _0x4ef2b6[_0x2c108f(0x1c7)]),this[_0x2c108f(0x1d3)](_0x2c108f(0x1c4),_0x4ef2b6,_0x3d0397));}[_0x4e20db(0x1d4)](){const _0x3813e6=_0x4e20db;return{'id':this['id'],'name':this[_0x3813e6(0x1cd)],'creatorId':this[_0x3813e6(0x1cf)]?this[_0x3813e6(0x1cf)]['id']:null,'authorsIds':this[_0x3813e6(0x1c7)][_0x3813e6(0x1bb)](_0x3b5e53=>_0x3b5e53['id']),'diffData':this[_0x3813e6(0x1cb)],'createdAt':this[_0x3813e6(0x1c0)],'attributes':this[_0x3813e6(0x1c8)],'fromVersion':this[_0x3813e6(0x1c1)],'toVersion':this[_0x3813e6(0x1bd)]};}}
|
package/src/revisiondiff.js
CHANGED
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
|
|
23
|
+
const _0x36e644=_0x19eb;function _0x4be1(){const _0x358d65=['_setChanges','343eniKEg','add','changes','oldRevisionId','525540LwNDuA','85648vJWhhj','742670TaPJbG','1454872cXShFg','15245edrVlY','newRevisionId','19789MAWLeP','1JhaQLF','126YNOyyg','936LJjxna','2849698OfYTyn','9192cIVHCE'];_0x4be1=function(){return _0x358d65;};return _0x4be1();}function _0x19eb(_0xc0c3e3,_0x1bf102){const _0x4be1b7=_0x4be1();return _0x19eb=function(_0x19eb09,_0x30baeb){_0x19eb09=_0x19eb09-0x1b8;let _0x1d4b6d=_0x4be1b7[_0x19eb09];return _0x1d4b6d;},_0x19eb(_0xc0c3e3,_0x1bf102);}(function(_0x4432d6,_0x1712ad){const _0x4cad4f=_0x19eb,_0x9230db=_0x4432d6();while(!![]){try{const _0x2cc436=-parseInt(_0x4cad4f(0x1c7))/0x1*(parseInt(_0x4cad4f(0x1b9))/0x2)+parseInt(_0x4cad4f(0x1c0))/0x3+-parseInt(_0x4cad4f(0x1c3))/0x4+parseInt(_0x4cad4f(0x1c4))/0x5*(-parseInt(_0x4cad4f(0x1b8))/0x6)+parseInt(_0x4cad4f(0x1bc))/0x7*(parseInt(_0x4cad4f(0x1c1))/0x8)+parseInt(_0x4cad4f(0x1c8))/0x9*(parseInt(_0x4cad4f(0x1c2))/0xa)+-parseInt(_0x4cad4f(0x1c6))/0xb*(-parseInt(_0x4cad4f(0x1ba))/0xc);if(_0x2cc436===_0x1712ad)break;else _0x9230db['push'](_0x9230db['shift']());}catch(_0x1c7964){_0x9230db['push'](_0x9230db['shift']());}}}(_0x4be1,0xd0557));import{Collection as _0x2151f1}from'ckeditor5/src/utils.js';export default class f{constructor(_0x1a10c3,_0x58e98c){const _0x341bce=_0x19eb;this[_0x341bce(0x1c5)]=_0x1a10c3,this[_0x341bce(0x1bf)]=_0x58e98c,this[_0x341bce(0x1be)]=new _0x2151f1();}[_0x36e644(0x1bb)](_0x2b16cd){const _0x3ec1f4=_0x36e644;for(const _0x420f2c of _0x2b16cd)this[_0x3ec1f4(0x1be)][_0x3ec1f4(0x1bd)](_0x420f2c);}}
|
package/src/revisionhistory.js
CHANGED
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
const _0x3caef3=_0x19b4;(function(_0x5528b5,_0x44d281){const _0x1448b7=_0x19b4,_0x554653=_0x5528b5();while(!![]){try{const _0x5a3af4=-parseInt(_0x1448b7(0x18b))/0x1+-parseInt(_0x1448b7(0x1de))/0x2*(-parseInt(_0x1448b7(0x173))/0x3)+-parseInt(_0x1448b7(0x188))/0x4+parseInt(_0x1448b7(0x1bd))/0x5*(parseInt(_0x1448b7(0x1ea))/0x6)+-parseInt(_0x1448b7(0x16b))/0x7*(parseInt(_0x1448b7(0x181))/0x8)+-parseInt(_0x1448b7(0x17b))/0x9+parseInt(_0x1448b7(0x191))/0xa*(parseInt(_0x1448b7(0x184))/0xb);if(_0x5a3af4===_0x44d281)break;else _0x554653['push'](_0x554653['shift']());}catch(_0x1e776a){_0x554653['push'](_0x554653['shift']());}}}(_0x3cbe,0xa9e7f));function _0x19b4(_0x520bea,_0x1a30e3){const _0x3cbeaa=_0x3cbe();return _0x19b4=function(_0x19b483,_0x4eef2d){_0x19b483=_0x19b483-0x15d;let _0x49b2d4=_0x3cbeaa[_0x19b483];return _0x49b2d4;},_0x19b4(_0x520bea,_0x1a30e3);}import{Plugin as _0x15d5d9}from'ckeditor5/src/core.js';import{CKEditorError as _0x2ea80e,uid as _0x5e16c4}from'ckeditor5/src/utils.js';function _0x3cbe(){const _0x3eaed8=['revisionHistory.viewerEditorElement','catch','RevisionHistory','revisionHistory.requireRevisionName','includes','_getRevisionViewerEditorConfig','pluginName','long','toJSON','display','getUser','RevisionViewerIntegration','RevisionTracker','translations','setSelection','_enhanceShowRevisionViewerCallback','_enhanceCloseRevisionViewerCallback','indexOf','init','removeSelectionAttribute','has','isOfficialPlugin','selection','setAttribute','uiLanguage','PaginationLookup','exitToEditing','refreshVisibility','revisionHistory','isPremiumPlugin','getMarkersGroup','saveRevision','change','detachRoot','changesNavigation','_viewerEditor','25sJspSH','numeric','document','revisionHistory.closeRevisionViewerCallback','editor','_restoreRevision','createRangeIn','remove','addRoot','markers','revisionHistory.showRevisionViewerCallback','set','enableReadOnlyMode','from','save','revision-history-viewer-opened','restrictedEditingException','revisionHistory.viewerContainer','destroy','get','getRoot','locale','getRevision','RevisionHistoryUI','_recalculatePageBreaks','_cleanUp','restoreRevision','error','getRevisionRootsAttributes','block','toVersion','plugins','RevisionsRepository','2176158XpfIsd','isReadOnly','removeAttribute','model','style','update','createdAt','isEnabled','toLocaleTimeString','RestrictedEditingMode','push','define','625416EZqgLT','isAnonymous','lazyRoots','_closeRevisionViewer','keys','bind','getRevisions','requires','Restored','revisionHistory.restoreRevisionCallback','$graveyard','isReady','data','result','showRevisionViewerCallback','revision-history-missing-configuration','899255wKLyVO','users','Autosave','isAttached','commands','rootName','disableReadOnlyMode','closeRevisionViewerCallback','3xWropy','refreshPositioning','addRevisionData','revisionHistory.editorContainer','getRevisionData','Annotations','roots','addUser','10387368qaJEfl','adapter','_showRevisionViewer','isOpen','fromVersion','creator','24QboXYe','then','enqueueChange','11tghbwx','none','repository','toLocaleDateString','219160uRHZKi','hide','end','243238kTlBlz','config','toolbar','RevisionViewer','parse','Users','9242510JVITPT','create','getAttributeKeys','_update','removeMarker','name','Dialog','insert'];_0x3cbe=function(){return _0x3eaed8;};return _0x3cbe();}import _0x22fe2a from'./revisiontracker.js';import _0x3b1cb1 from'./ui/revisionhistory/revisionhistoryui.js';import _0x5d390f from'./revisionviewer.js';import _0x4f2f7b from'./ui/revisionviewer/revisionviewerui.js';import _0x115eb3 from'./ui/revisionssidebar/revisionssidebar.js';import _0x4a4e9c from'./editor/revisionviewereditor.js';import{getTranslation as _0x14e3c7}from'./utils/common-translations.js';import{sanitizeEditorConfig as _0x3d444d}from'ckeditor5-collaboration/src/collaboration-core.js';const p=[_0x3caef3(0x1d4),_0x3caef3(0x1e7)];class k extends _0x15d5d9{static get[_0x3caef3(0x19f)](){const _0x3d0293=_0x3caef3;return _0x3d0293(0x1a4);}static get[_0x3caef3(0x1ae)](){return!0x0;}static get[_0x3caef3(0x1b6)](){return!0x0;}constructor(_0x4e931){const _0x2df8ab=_0x3caef3;super(_0x4e931),this[_0x2df8ab(0x168)]=_0x2df8ab(0x18a);}}export default class H extends _0x15d5d9{static get[_0x3caef3(0x19f)](){const _0x109fa7=_0x3caef3;return _0x109fa7(0x19b);}static get[_0x3caef3(0x1ae)](){return!0x0;}static get[_0x3caef3(0x1b6)](){return!0x0;}static get[_0x3caef3(0x162)](){return[_0x22fe2a,_0x3b1cb1];}constructor(_0x590368){const _0x59d159=_0x3caef3;if(super(_0x590368),!this[_0x59d159(0x1c1)][_0x59d159(0x18c)][_0x59d159(0x1d0)](_0x59d159(0x1b5)))throw new _0x2ea80e(_0x59d159(0x16a),this);this[_0x59d159(0x1bc)]=null,this[_0x59d159(0x1c1)][_0x59d159(0x18c)][_0x59d159(0x1e9)](_0x59d159(0x1c7),_0x5880f7=>this[_0x59d159(0x17d)]({..._0x5880f7,'translations':this[_0x59d159(0x1c1)][_0x59d159(0x1d2)][_0x59d159(0x1a6)]})),this[_0x59d159(0x1c1)][_0x59d159(0x18c)][_0x59d159(0x1e9)](_0x59d159(0x1c0),_0x4b6751=>this[_0x59d159(0x15e)](_0x4b6751)),this[_0x59d159(0x1c1)][_0x59d159(0x18c)][_0x59d159(0x1e9)](_0x59d159(0x164),_0x5388cb=>this[_0x59d159(0x1c2)](_0x5388cb)),this[_0x59d159(0x1c1)][_0x59d159(0x18c)][_0x59d159(0x1e9)](_0x59d159(0x19c),!0x1),this[_0x59d159(0x1a8)](),this[_0x59d159(0x1a9)]();}set[_0x3caef3(0x17c)](_0x451fc2){const _0x60c42b=_0x3caef3;this[_0x60c42b(0x1c1)][_0x60c42b(0x1dc)][_0x60c42b(0x1d0)](_0x60c42b(0x1a5))[_0x60c42b(0x17c)]=_0x451fc2;}get[_0x3caef3(0x17c)](){const _0x597c4d=_0x3caef3;return this[_0x597c4d(0x1c1)][_0x597c4d(0x1dc)][_0x597c4d(0x1d0)](_0x597c4d(0x1a5))[_0x597c4d(0x17c)];}[_0x3caef3(0x175)](_0x314e82){const _0x4ea4c0=_0x3caef3;return this[_0x4ea4c0(0x1c1)][_0x4ea4c0(0x1dc)][_0x4ea4c0(0x1d0)](_0x4ea4c0(0x1a5))[_0x4ea4c0(0x175)](_0x314e82);}[_0x3caef3(0x1d3)](_0x5283f0){const _0x3b3db6=_0x3caef3;return this[_0x3b3db6(0x1c1)][_0x3b3db6(0x1dc)][_0x3b3db6(0x1d0)](_0x3b3db6(0x1dd))[_0x3b3db6(0x1d3)](_0x5283f0);}[_0x3caef3(0x161)](_0x15f7f3){const _0x4100de=_0x3caef3;return this[_0x4100de(0x1c1)][_0x4100de(0x1dc)][_0x4100de(0x1d0)](_0x4100de(0x1dd))[_0x4100de(0x161)](_0x15f7f3||{'toJSON':!0x1});}[_0x3caef3(0x19e)](){const _0x35e64b=_0x3caef3,_0x4361a4=this[_0x35e64b(0x1c1)],_0xcae4e7=_0x3d444d(_0x4361a4,p),_0x161613=_0x4361a4[_0x35e64b(0x1dc)][_0x35e64b(0x1d0)](_0x35e64b(0x1a5)),_0x499bba=_0x4361a4[_0x35e64b(0x1dc)][_0x35e64b(0x1d0)](_0x35e64b(0x190))[_0x35e64b(0x16c)];return _0xcae4e7[_0x35e64b(0x18d)]=[_0x35e64b(0x1b3),_0x35e64b(0x1d7),_0x35e64b(0x1bb)],delete _0xcae4e7[_0x35e64b(0x15d)],(_0xcae4e7[_0x35e64b(0x1dc)][_0x35e64b(0x1e8)](k,_0x5d390f,_0x4f2f7b,class extends _0x15d5d9{static get[_0x35e64b(0x162)](){const _0x4b1fdf=_0x35e64b;return[_0x5d390f,_0x4b1fdf(0x190)];}[_0x35e64b(0x1ab)](){const _0x3a844a=_0x35e64b,_0x1349af=this[_0x3a844a(0x1c1)][_0x3a844a(0x1dc)][_0x3a844a(0x1d0)](_0x3a844a(0x190));for(const _0x87cef3 of _0x499bba)_0x87cef3[_0x3a844a(0x1eb)]||_0x1349af[_0x3a844a(0x1a3)](_0x87cef3['id'])||_0x1349af[_0x3a844a(0x17a)](_0x87cef3);const _0x570f94=_0x161613[_0x3a844a(0x186)][_0x3a844a(0x161)]();let _0x45ac54=null;const _0x47bbde=this[_0x3a844a(0x1c1)][_0x3a844a(0x1dc)][_0x3a844a(0x1d0)](_0x3a844a(0x18e));_0x47bbde[_0x3a844a(0x17c)]=_0x161613[_0x3a844a(0x17c)],_0x47bbde[_0x3a844a(0x160)](_0x3a844a(0x1e5))['to'](_0x161613),this[_0x3a844a(0x1c1)][_0x3a844a(0x16f)][_0x3a844a(0x1d0)](_0x3a844a(0x1d7))[_0x3a844a(0x160)](_0x3a844a(0x1e5))['to'](_0x4361a4,_0x3a844a(0x1df),_0x542f2e=>!_0x542f2e);for(const _0x5167fb of _0x570f94){const _0x429c66=null===_0x5167fb[_0x3a844a(0x180)];if(_0x429c66&&_0x5167fb[_0x3a844a(0x1db)]===_0x5167fb[_0x3a844a(0x17f)])continue;const _0x7f45b3=_0x5167fb[_0x3a844a(0x1a1)]();_0x47bbde[_0x3a844a(0x175)](_0x7f45b3,(_0x20e2bf,_0x149baa,_0x88490d)=>{const _0x4d7d5a=_0x3a844a;if(_0x429c66){if(_0x45ac54)_0x45ac54[_0x4d7d5a(0x194)](_0x20e2bf,_0x149baa);else{if(!_0x149baa){const _0x536498=_0x88490d[_0x4d7d5a(0x1a1)]();_0x536498['id']=_0x5e16c4(),_0x161613[_0x4d7d5a(0x1b8)](_0x536498,_0x88490d[_0x4d7d5a(0x1db)])[_0x4d7d5a(0x182)](_0xc993ab=>{_0x45ac54=_0xc993ab;});}}}else _0x5167fb[_0x4d7d5a(0x194)](_0x20e2bf,_0x149baa);});}}},_0x115eb3),_0xcae4e7);}[_0x3caef3(0x1a8)](){const _0x2f0154=_0x3caef3,_0xfbc24f=this[_0x2f0154(0x1c1)][_0x2f0154(0x18c)][_0x2f0154(0x1d0)](_0x2f0154(0x1b5))[_0x2f0154(0x169)];this[_0x2f0154(0x1c1)][_0x2f0154(0x18c)][_0x2f0154(0x1c8)](_0x2f0154(0x1c7),async()=>{const _0x5070a6=_0x2f0154;this[_0x5070a6(0x1c1)][_0x5070a6(0x1c9)](_0x5070a6(0x1cc));const _0x49c2c8=this[_0x5070a6(0x1c1)][_0x5070a6(0x1dc)][_0x5070a6(0x1d0)](_0x5070a6(0x1a5));if(this[_0x5070a6(0x1c1)][_0x5070a6(0x1dc)][_0x5070a6(0x1ad)](_0x5070a6(0x16d))){const _0x23ccda=this[_0x5070a6(0x1c1)][_0x5070a6(0x1dc)][_0x5070a6(0x1d0)](_0x5070a6(0x16d));await _0x23ccda[_0x5070a6(0x1cb)]();}else await _0x49c2c8[_0x5070a6(0x1e3)]();if(this[_0x5070a6(0x1c1)][_0x5070a6(0x1dc)][_0x5070a6(0x1ad)](_0x5070a6(0x1b2))&&this[_0x5070a6(0x1c1)][_0x5070a6(0x1dc)][_0x5070a6(0x1d0)](_0x5070a6(0x1b2))[_0x5070a6(0x1d5)](),this[_0x5070a6(0x1c1)][_0x5070a6(0x1dc)][_0x5070a6(0x1ad)](_0x5070a6(0x197))){const _0x38785c=this[_0x5070a6(0x1c1)][_0x5070a6(0x1dc)][_0x5070a6(0x1d0)](_0x5070a6(0x197));_0x38785c[_0x5070a6(0x17e)]&&_0x38785c[_0x5070a6(0x189)]();}const _0x11e254=this[_0x5070a6(0x19e)]();return _0xfbc24f(_0x11e254)[_0x5070a6(0x182)](_0x24273e=>{const _0x69fe1a=_0x5070a6;return(this[_0x69fe1a(0x1bc)]=_0x24273e,this[_0x69fe1a(0x1c1)][_0x69fe1a(0x1dc)][_0x69fe1a(0x1ad)](_0x69fe1a(0x178)))&&this[_0x69fe1a(0x1c1)][_0x69fe1a(0x1dc)][_0x69fe1a(0x1d0)](_0x69fe1a(0x178))[_0x69fe1a(0x1b4)](),_0x24273e;})[_0x5070a6(0x19a)](_0x1d8d34=>(console[_0x5070a6(0x1d8)](_0x1d8d34),this[_0x5070a6(0x1c1)][_0x5070a6(0x171)](_0x5070a6(0x1cc)),null));});}[_0x3caef3(0x1a9)](){const _0x2e4896=_0x3caef3,_0x4dfef7=this[_0x2e4896(0x1c1)][_0x2e4896(0x18c)][_0x2e4896(0x1d0)](_0x2e4896(0x1b5))[_0x2e4896(0x172)];this[_0x2e4896(0x1c1)][_0x2e4896(0x18c)][_0x2e4896(0x1c8)](_0x2e4896(0x1c0),()=>(this[_0x2e4896(0x1c1)][_0x2e4896(0x1dc)][_0x2e4896(0x1ad)](_0x2e4896(0x1b2))&&this[_0x2e4896(0x1c1)][_0x2e4896(0x1dc)][_0x2e4896(0x1d0)](_0x2e4896(0x1b2))[_0x2e4896(0x1d5)](),this[_0x2e4896(0x1bc)][_0x2e4896(0x1dc)][_0x2e4896(0x1d0)](_0x2e4896(0x18e))[_0x2e4896(0x1d6)](),_0x4dfef7(this[_0x2e4896(0x1bc)])[_0x2e4896(0x182)](()=>{const _0x1ce2b0=_0x2e4896;if(this[_0x1ce2b0(0x1c1)][_0x1ce2b0(0x171)](_0x1ce2b0(0x1cc)),this[_0x1ce2b0(0x1bc)]=null,this[_0x1ce2b0(0x1c1)][_0x1ce2b0(0x1dc)][_0x1ce2b0(0x1ad)](_0x1ce2b0(0x178))){const _0x79a66c=this[_0x1ce2b0(0x1c1)][_0x1ce2b0(0x1dc)][_0x1ce2b0(0x1d0)](_0x1ce2b0(0x178));_0x79a66c[_0x1ce2b0(0x1b4)](),_0x79a66c[_0x1ce2b0(0x174)]();}})));}[_0x3caef3(0x17d)](_0xe5397c){const _0x535b02=_0x3caef3,_0x2ce6cf=this[_0x535b02(0x1c1)][_0x535b02(0x18c)][_0x535b02(0x1d0)](_0x535b02(0x176)),_0x4eb587=this[_0x535b02(0x1c1)][_0x535b02(0x18c)][_0x535b02(0x1d0)](_0x535b02(0x1ce)),_0x1e4774=this[_0x535b02(0x1c1)][_0x535b02(0x18c)][_0x535b02(0x1d0)](_0x535b02(0x199));return _0x4a4e9c[_0x535b02(0x192)](_0x1e4774,_0xe5397c)[_0x535b02(0x182)](_0x1d613c=>(_0x4eb587[_0x535b02(0x1e2)][_0x535b02(0x1a2)]=_0x535b02(0x1da),_0x2ce6cf[_0x535b02(0x1e2)][_0x535b02(0x1a2)]=_0x535b02(0x185),_0x1d613c));}[_0x3caef3(0x15e)](_0x451374){const _0x28073d=_0x3caef3,_0x3c7017=this[_0x28073d(0x1c1)][_0x28073d(0x18c)][_0x28073d(0x1d0)](_0x28073d(0x176));return this[_0x28073d(0x1c1)][_0x28073d(0x18c)][_0x28073d(0x1d0)](_0x28073d(0x1ce))[_0x28073d(0x1e2)][_0x28073d(0x1a2)]=_0x28073d(0x185),_0x3c7017[_0x28073d(0x1e2)][_0x28073d(0x1a2)]='',_0x451374[_0x28073d(0x1cf)]();}async[_0x3caef3(0x1c2)](_0x101c97){const _0x305d1b=_0x3caef3,_0x531c02=this[_0x305d1b(0x1c1)],_0x4ca729=this[_0x305d1b(0x1bc)][_0x305d1b(0x1dc)][_0x305d1b(0x1d0)](_0x305d1b(0x18e)),_0x2a28d4=_0x531c02[_0x305d1b(0x1dc)][_0x305d1b(0x1d0)](_0x305d1b(0x1a5)),_0x55f6d1=_0x4ca729[_0x305d1b(0x186)][_0x305d1b(0x1d3)](_0x101c97);let _0x4cec6a,_0x12710a,_0x1793a4;try{_0x4cec6a=await _0x4ca729[_0x305d1b(0x177)](_0x55f6d1),_0x12710a=await _0x4ca729[_0x305d1b(0x1d9)](_0x55f6d1);}catch(_0x225687){return void console[_0x305d1b(0x1d8)](_0x225687);}_0x531c02[_0x305d1b(0x1e1)][_0x305d1b(0x1b9)](_0x5585c7=>{const _0x3f565f=_0x305d1b;for(const _0x43e187 of Array[_0x3f565f(0x1ca)](_0x531c02[_0x3f565f(0x1e1)][_0x3f565f(0x1c6)][_0x3f565f(0x1b7)](_0x3f565f(0x1cd))))_0x5585c7[_0x3f565f(0x195)](_0x43e187);}),_0x4ca729[_0x305d1b(0x166)]=!0x1,_0x531c02[_0x305d1b(0x1e1)][_0x305d1b(0x183)](_0x523188=>{const _0x25f39c=_0x305d1b;_0x523188[_0x25f39c(0x1a7)](null),_0x523188[_0x25f39c(0x1ac)](_0x531c02[_0x25f39c(0x1e1)][_0x25f39c(0x1bf)][_0x25f39c(0x1af)][_0x25f39c(0x193)]());const _0x42fb04=Object[_0x25f39c(0x15f)](_0x4cec6a);for(const _0x479b51 of _0x531c02[_0x25f39c(0x1e1)][_0x25f39c(0x1bf)][_0x25f39c(0x179)])_0x25f39c(0x165)!=_0x479b51[_0x25f39c(0x170)]&&_0x479b51[_0x25f39c(0x16e)]()&&!_0x42fb04[_0x25f39c(0x19d)](_0x479b51[_0x25f39c(0x170)])&&_0x523188[_0x25f39c(0x1ba)](_0x479b51);for(const _0x2699f6 of _0x42fb04){let _0x387304=_0x531c02[_0x25f39c(0x1e1)][_0x25f39c(0x1bf)][_0x25f39c(0x1d1)](_0x2699f6);_0x387304&&_0x387304[_0x25f39c(0x16e)]()||(_0x387304=_0x523188[_0x25f39c(0x1c5)](_0x2699f6));const _0x48bdbd=_0x12710a[_0x2699f6],_0x269519=Object[_0x25f39c(0x15f)](_0x48bdbd),_0x410518=_0x4cec6a[_0x2699f6];for(const _0x4b0cf9 of _0x387304[_0x25f39c(0x193)]())_0x269519[_0x25f39c(0x19d)](_0x4b0cf9)||_0x523188[_0x25f39c(0x1e0)](_0x4b0cf9,_0x387304);for(const _0xeed1f1 of _0x269519)_0x523188[_0x25f39c(0x1b0)](_0xeed1f1,_0x12710a[_0x2699f6][_0xeed1f1],_0x387304);_0x523188[_0x25f39c(0x1c4)](_0x523188[_0x25f39c(0x1c3)](_0x387304)),_0x523188[_0x25f39c(0x198)](_0x531c02[_0x25f39c(0x167)][_0x25f39c(0x18f)](_0x410518,_0x387304),_0x387304,0x0);}});const _0x387d12=_0x14e3c7(_0x531c02[_0x305d1b(0x1d2)],_0x305d1b(0x163));if(_0x55f6d1[_0x305d1b(0x196)])_0x1793a4=-0x1==_0x55f6d1[_0x305d1b(0x196)][_0x305d1b(0x1aa)](_0x387d12)?_0x387d12+':\x20'+_0x55f6d1[_0x305d1b(0x196)]:_0x55f6d1[_0x305d1b(0x196)];else _0x1793a4=_0x387d12+':\x20'+(_0x55f6d1[_0x305d1b(0x1e4)][_0x305d1b(0x187)](_0x531c02[_0x305d1b(0x1d2)][_0x305d1b(0x1b1)],{'month':_0x305d1b(0x1a0),'day':_0x305d1b(0x1be)})+',\x20'+_0x55f6d1[_0x305d1b(0x1e4)][_0x305d1b(0x1e6)](_0x531c02[_0x305d1b(0x1d2)][_0x305d1b(0x1b1)],{'hour':_0x305d1b(0x1be),'minute':_0x305d1b(0x1be)}));return await _0x2a28d4[_0x305d1b(0x1b8)]({'name':_0x1793a4}),_0x4ca729[_0x305d1b(0x166)]=!0x0,_0x531c02[_0x305d1b(0x18c)][_0x305d1b(0x1d0)](_0x305d1b(0x1b5))[_0x305d1b(0x172)]();}}
|
|
23
|
+
const _0x51b1f9=_0x4bef;(function(_0xbb6c58,_0x2e1cae){const _0x2b1dda=_0x4bef,_0x3fc4a6=_0xbb6c58();while(!![]){try{const _0x4fe3c3=-parseInt(_0x2b1dda(0xd4))/0x1*(parseInt(_0x2b1dda(0x96))/0x2)+parseInt(_0x2b1dda(0x73))/0x3+parseInt(_0x2b1dda(0xaa))/0x4*(-parseInt(_0x2b1dda(0xf6))/0x5)+-parseInt(_0x2b1dda(0xb9))/0x6*(parseInt(_0x2b1dda(0xf8))/0x7)+parseInt(_0x2b1dda(0x7a))/0x8+-parseInt(_0x2b1dda(0xdc))/0x9+-parseInt(_0x2b1dda(0x78))/0xa*(-parseInt(_0x2b1dda(0x8f))/0xb);if(_0x4fe3c3===_0x2e1cae)break;else _0x3fc4a6['push'](_0x3fc4a6['shift']());}catch(_0x1b9aca){_0x3fc4a6['push'](_0x3fc4a6['shift']());}}}(_0x4320,0x7d555));import{Plugin as _0x3ac3c1}from'ckeditor5/src/core.js';import{CKEditorError as _0x4d737e,uid as _0x19d5a0}from'ckeditor5/src/utils.js';import _0x16b5d9 from'./revisiontracker.js';import _0x4e1b33 from'./ui/revisionhistory/revisionhistoryui.js';import _0x483625 from'./revisionviewer.js';import _0x57c3c9 from'./ui/revisionviewer/revisionviewerui.js';import _0x15191c from'./ui/revisionssidebar/revisionssidebar.js';import _0x560556 from'./editor/revisionviewereditor.js';function _0x4bef(_0x23ff9d,_0x196e0b){const _0x4320a6=_0x4320();return _0x4bef=function(_0x4bef59,_0x2ae87a){_0x4bef59=_0x4bef59-0x6a;let _0x5bbe06=_0x4320a6[_0x4bef59];return _0x5bbe06;},_0x4bef(_0x23ff9d,_0x196e0b);}import{getTranslation as _0x4d3947}from'./utils/common-translations.js';function _0x4320(){const _0x193aa9=['create','closeRevisionViewerCallback','isEnabled','requires','lazyRoots','RestrictedEditingMode','revision-history-missing-configuration','revisionHistory.editorContainer','update','_viewerEditor','addRevisionData','Annotations','getUser','RevisionsRepository','users','getRevisionRootsAttributes','revisionHistory.requireRevisionName','getRevision','restrictedEditingException','data','pluginName','5IfvcNl','error','1657698GLUfLO','removeMarker','toolbar','selection','_closeRevisionViewer','removeSelectionAttribute','revisionHistory','rootName','indexOf','_enhanceShowRevisionViewerCallback','2872329EDketo','long','_showRevisionViewer','_update','init','10xcRVLm','$graveyard','638656AmFQnc','document','getRoot','adapter','Restored','RevisionHistory','result','change','markers','_recalculatePageBreaks','changesNavigation','translations','RevisionHistoryUI','_getRevisionViewerEditorConfig','get','refreshVisibility','getMarkersGroup','catch','isAttached','toJSON','addUser','18900244EGswCO','saveRevision','isAnonymous','PaginationLookup','restoreRevision','fromVersion','model','479982TmMmgk','parse','save','style','set','_cleanUp','none','Users','getRevisionData','setSelection','name','isOpen','revisionHistory.showRevisionViewerCallback','toVersion','toLocaleDateString','then','addRoot','getRevisions','Autosave','insert','716748XqNAeC','revisionHistory.viewerEditorElement','has','destroy','end','config','_restoreRevision','revision-history-viewer-opened','repository','uiLanguage','Dialog','disableReadOnlyMode','keys','setAttribute','isPremiumPlugin','24zBYHeV','exitToEditing','createdAt','numeric','refreshPositioning','define','display','showRevisionViewerCallback','RevisionViewer','RevisionViewerIntegration','revisionHistory.closeRevisionViewerCallback','editor','_enhanceCloseRevisionViewerCallback','revisionHistory.viewerContainer','removeAttribute','block','remove','revisionHistory.restoreRevisionCallback','toLocaleTimeString','isReadOnly','locale','isOfficialPlugin','push','creator','getAttributeKeys','commands','from','1beZxtt','enqueueChange','RevisionTracker','roots','isReady','plugins','createRangeIn','enableReadOnlyMode','7881120LSohSJ','includes','bind','hide','detachRoot'];_0x4320=function(){return _0x193aa9;};return _0x4320();}import{sanitizeEditorConfig as _0x4d9ac3}from'ckeditor5-collaboration/src/collaboration-core.js';const p=[_0x51b1f9(0x86),_0x51b1f9(0xe6)];class k extends _0x3ac3c1{static get[_0x51b1f9(0xf5)](){const _0x239696=_0x51b1f9;return _0x239696(0xc2);}static get[_0x51b1f9(0xce)](){return!0x0;}static get[_0x51b1f9(0xb8)](){return!0x0;}constructor(_0x39e2e9){const _0x2a7230=_0x51b1f9;super(_0x39e2e9),this[_0x2a7230(0x80)]=_0x2a7230(0xae);}}export default class H extends _0x3ac3c1{static get[_0x51b1f9(0xf5)](){const _0x4ea5f7=_0x51b1f9;return _0x4ea5f7(0x7f);}static get[_0x51b1f9(0xce)](){return!0x0;}static get[_0x51b1f9(0xb8)](){return!0x0;}static get[_0x51b1f9(0xe4)](){return[_0x16b5d9,_0x4e1b33];}constructor(_0x160a6e){const _0x4c6e7c=_0x51b1f9;if(super(_0x160a6e),!this[_0x4c6e7c(0xc4)][_0x4c6e7c(0xaf)][_0x4c6e7c(0x88)](_0x4c6e7c(0x6f)))throw new _0x4d737e(_0x4c6e7c(0xe7),this);this[_0x4c6e7c(0xea)]=null,this[_0x4c6e7c(0xc4)][_0x4c6e7c(0xaf)][_0x4c6e7c(0xbe)](_0x4c6e7c(0xa2),_0x42e7cd=>this[_0x4c6e7c(0x75)]({..._0x42e7cd,'translations':this[_0x4c6e7c(0xc4)][_0x4c6e7c(0xcd)][_0x4c6e7c(0x85)]})),this[_0x4c6e7c(0xc4)][_0x4c6e7c(0xaf)][_0x4c6e7c(0xbe)](_0x4c6e7c(0xc3),_0x5acbd3=>this[_0x4c6e7c(0x6d)](_0x5acbd3)),this[_0x4c6e7c(0xc4)][_0x4c6e7c(0xaf)][_0x4c6e7c(0xbe)](_0x4c6e7c(0xca),_0x296c73=>this[_0x4c6e7c(0xb0)](_0x296c73)),this[_0x4c6e7c(0xc4)][_0x4c6e7c(0xaf)][_0x4c6e7c(0xbe)](_0x4c6e7c(0xf1),!0x1),this[_0x4c6e7c(0x72)](),this[_0x4c6e7c(0xc5)]();}set[_0x51b1f9(0x7d)](_0x1ce5e1){const _0x19f42d=_0x51b1f9;this[_0x19f42d(0xc4)][_0x19f42d(0xd9)][_0x19f42d(0x88)](_0x19f42d(0xd6))[_0x19f42d(0x7d)]=_0x1ce5e1;}get[_0x51b1f9(0x7d)](){const _0x516e2d=_0x51b1f9;return this[_0x516e2d(0xc4)][_0x516e2d(0xd9)][_0x516e2d(0x88)](_0x516e2d(0xd6))[_0x516e2d(0x7d)];}[_0x51b1f9(0xeb)](_0x50d96f){const _0x194baf=_0x51b1f9;return this[_0x194baf(0xc4)][_0x194baf(0xd9)][_0x194baf(0x88)](_0x194baf(0xd6))[_0x194baf(0xeb)](_0x50d96f);}[_0x51b1f9(0xf2)](_0x43b529){const _0x235bc3=_0x51b1f9;return this[_0x235bc3(0xc4)][_0x235bc3(0xd9)][_0x235bc3(0x88)](_0x235bc3(0xee))[_0x235bc3(0xf2)](_0x43b529);}[_0x51b1f9(0xa7)](_0x31f343){const _0x3475a4=_0x51b1f9;return this[_0x3475a4(0xc4)][_0x3475a4(0xd9)][_0x3475a4(0x88)](_0x3475a4(0xee))[_0x3475a4(0xa7)](_0x31f343||{'toJSON':!0x1});}[_0x51b1f9(0x87)](){const _0x4f4b7a=_0x51b1f9,_0xffd5f8=this[_0x4f4b7a(0xc4)],_0x50eaf5=_0x4d9ac3(_0xffd5f8,p),_0x4e2c7c=_0xffd5f8[_0x4f4b7a(0xd9)][_0x4f4b7a(0x88)](_0x4f4b7a(0xd6)),_0x548935=_0xffd5f8[_0x4f4b7a(0xd9)][_0x4f4b7a(0x88)](_0x4f4b7a(0x9d))[_0x4f4b7a(0xef)];return _0x50eaf5[_0x4f4b7a(0x6b)]=[_0x4f4b7a(0xba),_0x4f4b7a(0x93),_0x4f4b7a(0x84)],delete _0x50eaf5[_0x4f4b7a(0xe5)],(_0x50eaf5[_0x4f4b7a(0xd9)][_0x4f4b7a(0xcf)](k,_0x483625,_0x57c3c9,class extends _0x3ac3c1{static get[_0x4f4b7a(0xe4)](){const _0xab95a8=_0x4f4b7a;return[_0x483625,_0xab95a8(0x9d)];}[_0x4f4b7a(0x77)](){const _0x299cf0=_0x4f4b7a,_0x22de11=this[_0x299cf0(0xc4)][_0x299cf0(0xd9)][_0x299cf0(0x88)](_0x299cf0(0x9d));for(const _0x532249 of _0x548935)_0x532249[_0x299cf0(0x91)]||_0x22de11[_0x299cf0(0xed)](_0x532249['id'])||_0x22de11[_0x299cf0(0x8e)](_0x532249);const _0x2d3edb=_0x4e2c7c[_0x299cf0(0xb2)][_0x299cf0(0xa7)]();let _0x709cbc=null;const _0x5c36eb=this[_0x299cf0(0xc4)][_0x299cf0(0xd9)][_0x299cf0(0x88)](_0x299cf0(0xc1));_0x5c36eb[_0x299cf0(0x7d)]=_0x4e2c7c[_0x299cf0(0x7d)],_0x5c36eb[_0x299cf0(0xde)](_0x299cf0(0xe3))['to'](_0x4e2c7c),this[_0x299cf0(0xc4)][_0x299cf0(0xd2)][_0x299cf0(0x88)](_0x299cf0(0x93))[_0x299cf0(0xde)](_0x299cf0(0xe3))['to'](_0xffd5f8,_0x299cf0(0xcc),_0x3eccb5=>!_0x3eccb5);for(const _0x2fa83d of _0x2d3edb){const _0x268e60=null===_0x2fa83d[_0x299cf0(0xd0)];if(_0x268e60&&_0x2fa83d[_0x299cf0(0xa3)]===_0x2fa83d[_0x299cf0(0x94)])continue;const _0x14cec4=_0x2fa83d[_0x299cf0(0x8d)]();_0x5c36eb[_0x299cf0(0xeb)](_0x14cec4,(_0xf3feb6,_0x401ddc,_0x5edce5)=>{const _0x5eab11=_0x299cf0;if(_0x268e60){if(_0x709cbc)_0x709cbc[_0x5eab11(0x76)](_0xf3feb6,_0x401ddc);else{if(!_0x401ddc){const _0x1f068f=_0x5edce5[_0x5eab11(0x8d)]();_0x1f068f['id']=_0x19d5a0(),_0x4e2c7c[_0x5eab11(0x90)](_0x1f068f,_0x5edce5[_0x5eab11(0xa3)])[_0x5eab11(0xa5)](_0x5c7ee0=>{_0x709cbc=_0x5c7ee0;});}}}else _0x2fa83d[_0x5eab11(0x76)](_0xf3feb6,_0x401ddc);});}}},_0x15191c),_0x50eaf5);}[_0x51b1f9(0x72)](){const _0xe181e8=_0x51b1f9,_0x46103f=this[_0xe181e8(0xc4)][_0xe181e8(0xaf)][_0xe181e8(0x88)](_0xe181e8(0x6f))[_0xe181e8(0xc0)];this[_0xe181e8(0xc4)][_0xe181e8(0xaf)][_0xe181e8(0x9a)](_0xe181e8(0xa2),async()=>{const _0x5a5749=_0xe181e8;this[_0x5a5749(0xc4)][_0x5a5749(0xdb)](_0x5a5749(0xb1));const _0x5a949e=this[_0x5a5749(0xc4)][_0x5a5749(0xd9)][_0x5a5749(0x88)](_0x5a5749(0xd6));if(this[_0x5a5749(0xc4)][_0x5a5749(0xd9)][_0x5a5749(0xac)](_0x5a5749(0xa8))){const _0x169444=this[_0x5a5749(0xc4)][_0x5a5749(0xd9)][_0x5a5749(0x88)](_0x5a5749(0xa8));await _0x169444[_0x5a5749(0x98)]();}else await _0x5a949e[_0x5a5749(0xe9)]();if(this[_0x5a5749(0xc4)][_0x5a5749(0xd9)][_0x5a5749(0xac)](_0x5a5749(0x92))&&this[_0x5a5749(0xc4)][_0x5a5749(0xd9)][_0x5a5749(0x88)](_0x5a5749(0x92))[_0x5a5749(0x83)](),this[_0x5a5749(0xc4)][_0x5a5749(0xd9)][_0x5a5749(0xac)](_0x5a5749(0xb4))){const _0x4e80dc=this[_0x5a5749(0xc4)][_0x5a5749(0xd9)][_0x5a5749(0x88)](_0x5a5749(0xb4));_0x4e80dc[_0x5a5749(0xa1)]&&_0x4e80dc[_0x5a5749(0xdf)]();}const _0x3b5042=this[_0x5a5749(0x87)]();return _0x46103f(_0x3b5042)[_0x5a5749(0xa5)](_0x53c9e1=>{const _0x5db912=_0x5a5749;return(this[_0x5db912(0xea)]=_0x53c9e1,this[_0x5db912(0xc4)][_0x5db912(0xd9)][_0x5db912(0xac)](_0x5db912(0xec)))&&this[_0x5db912(0xc4)][_0x5db912(0xd9)][_0x5db912(0x88)](_0x5db912(0xec))[_0x5db912(0x89)](),_0x53c9e1;})[_0x5a5749(0x8b)](_0x41a8fe=>(console[_0x5a5749(0xf7)](_0x41a8fe),this[_0x5a5749(0xc4)][_0x5a5749(0xb5)](_0x5a5749(0xb1)),null));});}[_0x51b1f9(0xc5)](){const _0x463eca=_0x51b1f9,_0x2e5710=this[_0x463eca(0xc4)][_0x463eca(0xaf)][_0x463eca(0x88)](_0x463eca(0x6f))[_0x463eca(0xe2)];this[_0x463eca(0xc4)][_0x463eca(0xaf)][_0x463eca(0x9a)](_0x463eca(0xc3),()=>(this[_0x463eca(0xc4)][_0x463eca(0xd9)][_0x463eca(0xac)](_0x463eca(0x92))&&this[_0x463eca(0xc4)][_0x463eca(0xd9)][_0x463eca(0x88)](_0x463eca(0x92))[_0x463eca(0x83)](),this[_0x463eca(0xea)][_0x463eca(0xd9)][_0x463eca(0x88)](_0x463eca(0xc1))[_0x463eca(0x9b)](),_0x2e5710(this[_0x463eca(0xea)])[_0x463eca(0xa5)](()=>{const _0x5651d7=_0x463eca;if(this[_0x5651d7(0xc4)][_0x5651d7(0xb5)](_0x5651d7(0xb1)),this[_0x5651d7(0xea)]=null,this[_0x5651d7(0xc4)][_0x5651d7(0xd9)][_0x5651d7(0xac)](_0x5651d7(0xec))){const _0x2d6992=this[_0x5651d7(0xc4)][_0x5651d7(0xd9)][_0x5651d7(0x88)](_0x5651d7(0xec));_0x2d6992[_0x5651d7(0x89)](),_0x2d6992[_0x5651d7(0xbd)]();}})));}[_0x51b1f9(0x75)](_0x3eea11){const _0x1782cb=_0x51b1f9,_0x41a70f=this[_0x1782cb(0xc4)][_0x1782cb(0xaf)][_0x1782cb(0x88)](_0x1782cb(0xe8)),_0xde5b6b=this[_0x1782cb(0xc4)][_0x1782cb(0xaf)][_0x1782cb(0x88)](_0x1782cb(0xc6)),_0x3d15af=this[_0x1782cb(0xc4)][_0x1782cb(0xaf)][_0x1782cb(0x88)](_0x1782cb(0xab));return _0x560556[_0x1782cb(0xe1)](_0x3d15af,_0x3eea11)[_0x1782cb(0xa5)](_0x11a82c=>(_0xde5b6b[_0x1782cb(0x99)][_0x1782cb(0xbf)]=_0x1782cb(0xc8),_0x41a70f[_0x1782cb(0x99)][_0x1782cb(0xbf)]=_0x1782cb(0x9c),_0x11a82c));}[_0x51b1f9(0x6d)](_0x44b7ae){const _0x45eaf0=_0x51b1f9,_0x34910d=this[_0x45eaf0(0xc4)][_0x45eaf0(0xaf)][_0x45eaf0(0x88)](_0x45eaf0(0xe8));return this[_0x45eaf0(0xc4)][_0x45eaf0(0xaf)][_0x45eaf0(0x88)](_0x45eaf0(0xc6))[_0x45eaf0(0x99)][_0x45eaf0(0xbf)]=_0x45eaf0(0x9c),_0x34910d[_0x45eaf0(0x99)][_0x45eaf0(0xbf)]='',_0x44b7ae[_0x45eaf0(0xad)]();}async[_0x51b1f9(0xb0)](_0x29a9a1){const _0x3b45ef=_0x51b1f9,_0x3b241a=this[_0x3b45ef(0xc4)],_0x74d9d3=this[_0x3b45ef(0xea)][_0x3b45ef(0xd9)][_0x3b45ef(0x88)](_0x3b45ef(0xc1)),_0x253e2c=_0x3b241a[_0x3b45ef(0xd9)][_0x3b45ef(0x88)](_0x3b45ef(0xd6)),_0x1305d9=_0x74d9d3[_0x3b45ef(0xb2)][_0x3b45ef(0xf2)](_0x29a9a1);let _0x291dc2,_0x26e371,_0x103e29;try{_0x291dc2=await _0x74d9d3[_0x3b45ef(0x9e)](_0x1305d9),_0x26e371=await _0x74d9d3[_0x3b45ef(0xf0)](_0x1305d9);}catch(_0x556078){return void console[_0x3b45ef(0xf7)](_0x556078);}_0x3b241a[_0x3b45ef(0x95)][_0x3b45ef(0x81)](_0x25b1be=>{const _0x3bd907=_0x3b45ef;for(const _0x513f4d of Array[_0x3bd907(0xd3)](_0x3b241a[_0x3bd907(0x95)][_0x3bd907(0x82)][_0x3bd907(0x8a)](_0x3bd907(0xf3))))_0x25b1be[_0x3bd907(0x6a)](_0x513f4d);}),_0x74d9d3[_0x3b45ef(0xd8)]=!0x1,_0x3b241a[_0x3b45ef(0x95)][_0x3b45ef(0xd5)](_0x11a451=>{const _0x2a7e4e=_0x3b45ef;_0x11a451[_0x2a7e4e(0x9f)](null),_0x11a451[_0x2a7e4e(0x6e)](_0x3b241a[_0x2a7e4e(0x95)][_0x2a7e4e(0x7b)][_0x2a7e4e(0x6c)][_0x2a7e4e(0xd1)]());const _0x4bdb40=Object[_0x2a7e4e(0xb6)](_0x291dc2);for(const _0x5e9bca of _0x3b241a[_0x2a7e4e(0x95)][_0x2a7e4e(0x7b)][_0x2a7e4e(0xd7)])_0x2a7e4e(0x79)!=_0x5e9bca[_0x2a7e4e(0x70)]&&_0x5e9bca[_0x2a7e4e(0x8c)]()&&!_0x4bdb40[_0x2a7e4e(0xdd)](_0x5e9bca[_0x2a7e4e(0x70)])&&_0x11a451[_0x2a7e4e(0xe0)](_0x5e9bca);for(const _0x22462c of _0x4bdb40){let _0x1f6902=_0x3b241a[_0x2a7e4e(0x95)][_0x2a7e4e(0x7b)][_0x2a7e4e(0x7c)](_0x22462c);_0x1f6902&&_0x1f6902[_0x2a7e4e(0x8c)]()||(_0x1f6902=_0x11a451[_0x2a7e4e(0xa6)](_0x22462c));const _0x457023=_0x26e371[_0x22462c],_0x48f8f2=Object[_0x2a7e4e(0xb6)](_0x457023),_0x29c5c1=_0x291dc2[_0x22462c];for(const _0x266299 of _0x1f6902[_0x2a7e4e(0xd1)]())_0x48f8f2[_0x2a7e4e(0xdd)](_0x266299)||_0x11a451[_0x2a7e4e(0xc7)](_0x266299,_0x1f6902);for(const _0x54cb27 of _0x48f8f2)_0x11a451[_0x2a7e4e(0xb7)](_0x54cb27,_0x26e371[_0x22462c][_0x54cb27],_0x1f6902);_0x11a451[_0x2a7e4e(0xc9)](_0x11a451[_0x2a7e4e(0xda)](_0x1f6902)),_0x11a451[_0x2a7e4e(0xa9)](_0x3b241a[_0x2a7e4e(0xf4)][_0x2a7e4e(0x97)](_0x29c5c1,_0x1f6902),_0x1f6902,0x0);}});const _0x5ebd3f=_0x4d3947(_0x3b241a[_0x3b45ef(0xcd)],_0x3b45ef(0x7e));if(_0x1305d9[_0x3b45ef(0xa0)])_0x103e29=-0x1==_0x1305d9[_0x3b45ef(0xa0)][_0x3b45ef(0x71)](_0x5ebd3f)?_0x5ebd3f+':\x20'+_0x1305d9[_0x3b45ef(0xa0)]:_0x1305d9[_0x3b45ef(0xa0)];else _0x103e29=_0x5ebd3f+':\x20'+(_0x1305d9[_0x3b45ef(0xbb)][_0x3b45ef(0xa4)](_0x3b241a[_0x3b45ef(0xcd)][_0x3b45ef(0xb3)],{'month':_0x3b45ef(0x74),'day':_0x3b45ef(0xbc)})+',\x20'+_0x1305d9[_0x3b45ef(0xbb)][_0x3b45ef(0xcb)](_0x3b241a[_0x3b45ef(0xcd)][_0x3b45ef(0xb3)],{'hour':_0x3b45ef(0xbc),'minute':_0x3b45ef(0xbc)}));return await _0x253e2c[_0x3b45ef(0x90)]({'name':_0x103e29}),_0x74d9d3[_0x3b45ef(0xd8)]=!0x0,_0x3b241a[_0x3b45ef(0xaf)][_0x3b45ef(0x88)](_0x3b45ef(0x6f))[_0x3b45ef(0xe2)]();}}
|