@ckeditor/ckeditor5-revision-history 47.4.0-alpha.6 → 47.4.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/build/revision-history.js +1 -1
- package/dist/index.js +7 -7
- package/package.json +12 -12
- 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/revisionhistory/revisionhistorysaverevisionformview.js +2 -2
- package/src/ui/revisionhistory/revisionhistoryui.js +1 -1
- package/src/ui/revisionssidebar/revisionssidebar.js +1 -1
- package/src/ui/revisionssidebar/revisionssidebarheaderview.js +1 -1
- package/src/ui/revisionssidebar/revisionssidebartimeperiodview.js +1 -1
- package/src/ui/revisionssidebar/revisionssidebarview.js +1 -1
- package/src/ui/revisionviewer/changedetailsview.js +1 -1
- package/src/ui/revisionviewer/changesnavigationview.js +1 -1
- package/src/ui/revisionviewer/revisionviewerui.js +1 -1
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@ckeditor/ckeditor5-revision-history",
|
|
3
|
-
"version": "47.4.0
|
|
3
|
+
"version": "47.4.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,18 +39,18 @@
|
|
|
39
39
|
"CHANGELOG.md"
|
|
40
40
|
],
|
|
41
41
|
"dependencies": {
|
|
42
|
-
"@ckeditor/ckeditor5-autosave": "47.4.0
|
|
43
|
-
"@ckeditor/ckeditor5-collaboration-core": "47.4.0
|
|
44
|
-
"@ckeditor/ckeditor5-comments": "47.4.0
|
|
45
|
-
"@ckeditor/ckeditor5-core": "47.4.0
|
|
46
|
-
"@ckeditor/ckeditor5-editor-classic": "47.4.0
|
|
47
|
-
"@ckeditor/ckeditor5-engine": "47.4.0
|
|
48
|
-
"@ckeditor/ckeditor5-icons": "47.4.0
|
|
49
|
-
"@ckeditor/ckeditor5-ui": "47.4.0
|
|
50
|
-
"@ckeditor/ckeditor5-utils": "47.4.0
|
|
42
|
+
"@ckeditor/ckeditor5-autosave": "47.4.0",
|
|
43
|
+
"@ckeditor/ckeditor5-collaboration-core": "47.4.0",
|
|
44
|
+
"@ckeditor/ckeditor5-comments": "47.4.0",
|
|
45
|
+
"@ckeditor/ckeditor5-core": "47.4.0",
|
|
46
|
+
"@ckeditor/ckeditor5-editor-classic": "47.4.0",
|
|
47
|
+
"@ckeditor/ckeditor5-engine": "47.4.0",
|
|
48
|
+
"@ckeditor/ckeditor5-icons": "47.4.0",
|
|
49
|
+
"@ckeditor/ckeditor5-ui": "47.4.0",
|
|
50
|
+
"@ckeditor/ckeditor5-utils": "47.4.0",
|
|
51
51
|
"@types/luxon": "3.6.2",
|
|
52
|
-
"ckeditor5": "47.4.0
|
|
53
|
-
"ckeditor5-collaboration": "47.4.0
|
|
52
|
+
"ckeditor5": "47.4.0",
|
|
53
|
+
"ckeditor5-collaboration": "47.4.0",
|
|
54
54
|
"es-toolkit": "1.39.5",
|
|
55
55
|
"luxon": "3.6.1"
|
|
56
56
|
},
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
(function(
|
|
23
|
+
(function(_0x58f009,_0x46760c){const _0x43e66d=_0x1a95,_0x39031e=_0x58f009();while(!![]){try{const _0x300f87=-parseInt(_0x43e66d(0x17f))/0x1+parseInt(_0x43e66d(0x183))/0x2*(-parseInt(_0x43e66d(0x17e))/0x3)+parseInt(_0x43e66d(0x157))/0x4*(-parseInt(_0x43e66d(0x16f))/0x5)+parseInt(_0x43e66d(0x159))/0x6*(-parseInt(_0x43e66d(0x160))/0x7)+parseInt(_0x43e66d(0x17b))/0x8*(-parseInt(_0x43e66d(0x15c))/0x9)+parseInt(_0x43e66d(0x165))/0xa*(-parseInt(_0x43e66d(0x180))/0xb)+parseInt(_0x43e66d(0x175))/0xc;if(_0x300f87===_0x46760c)break;else _0x39031e['push'](_0x39031e['shift']());}catch(_0x54457b){_0x39031e['push'](_0x39031e['shift']());}}}(_0x52ad,0x4a192));import{Collection as _0xdf1630}from'ckeditor5/src/utils.js';import{IconThreeVerticalDots as _0x569ea6}from'ckeditor5/src/icons.js';function _0x1a95(_0x4cc55e,_0x35d396){const _0x52ad6f=_0x52ad();return _0x1a95=function(_0x1a953a,_0x4a8533){_0x1a953a=_0x1a953a-0x151;let _0x47d697=_0x52ad6f[_0x1a953a];return _0x47d697;},_0x1a95(_0x4cc55e,_0x35d396);}import{UIModel as _0x5ccba1,addListToDropdown as _0x2aa7b3,createDropdown as _0x20b315}from'ckeditor5/src/ui.js';import{getTranslation as _0x2ddae0}from'../../utils/common-translations.js';import'../../../theme/revision/revisionactions.css';export function createActionsDropdownView(_0x359bbf,_0x3502c8){const _0x45f7fc=_0x1a95,_0x1adb15=_0x359bbf[_0x45f7fc(0x168)],_0x749abc=_0x359bbf[_0x45f7fc(0x178)],_0x268986=_0x20b315(_0x749abc);_0x268986[_0x45f7fc(0x16c)]='sw';const _0x4670a6=function(_0x38a417,_0x2562ce){const _0x15aa10=_0x45f7fc,_0x219970=function(_0x3d86dd,_0xbf26e4){const _0x38b784=_0x1a95,_0x79aa65=_0x3d86dd[_0x38b784(0x178)],_0x55eec8={'Compare\x20against\x20selected':_0x2ddae0(_0x79aa65,_0x38b784(0x15e)),'Name\x20this\x20revision':_0x2ddae0(_0x79aa65,_0x38b784(0x17c)),'Restore\x20this\x20revision':_0x2ddae0(_0x79aa65,_0x38b784(0x174))};return _0xbf26e4[_0x38b784(0x158)](_0x507070=>{const _0x2527b0=_0x38b784,_0xf216c7=_0x55eec8[_0x507070[_0x2527b0(0x172)]];return _0xf216c7&&_0xf216c7!==_0x507070[_0x2527b0(0x172)]&&(_0x507070[_0x2527b0(0x172)]=_0xf216c7),_0x507070;});}(_0x38a417,_0x2562ce),_0x3c625c=new _0xdf1630();for(const _0x6406d3 of _0x219970){const _0x59d493={'type':_0x15aa10(0x182),'model':new _0x5ccba1({'label':_0x6406d3[_0x15aa10(0x172)],'class':_0x6406d3[_0x15aa10(0x176)],'withText':!0x0,'role':_0x15aa10(0x154),'_action':_0x6406d3[_0x15aa10(0x16a)]})};_0x59d493[_0x15aa10(0x177)][_0x15aa10(0x170)](_0x15aa10(0x181))['to'](_0x38a417,_0x15aa10(0x161),_0x8498b=>_0x15aa10(0x162)!=typeof _0x6406d3[_0x15aa10(0x181)]||(!_0x8498b||_0x6406d3[_0x15aa10(0x181)](_0x38a417))),_0x3c625c[_0x15aa10(0x153)](_0x59d493);}return _0x3c625c;}(_0x359bbf,_0x3502c8);return _0x359bbf[_0x45f7fc(0x170)](_0x45f7fc(0x161))['to'](_0x268986,_0x45f7fc(0x169)),_0x268986[_0x45f7fc(0x15b)][_0x45f7fc(0x17d)]({'label':_0x2ddae0(_0x749abc,_0x45f7fc(0x17a)),'tooltip':!0x0,'tooltipPosition':'sw','icon':_0x569ea6}),_0x268986[_0x45f7fc(0x164)]({'attributes':{'class':[_0x45f7fc(0x15a),_0x1adb15['if'](_0x45f7fc(0x161),_0x45f7fc(0x16d))]},'on':{'click':_0x1adb15['to'](_0x30b178=>_0x30b178[_0x45f7fc(0x16b)]())}}),_0x268986['on'](_0x45f7fc(0x152),_0x5ad267=>{const _0x358f56=_0x45f7fc;_0x359bbf[_0x358f56(0x167)]&&_0x358f56(0x162)==typeof _0x5ad267[_0x358f56(0x163)][_0x358f56(0x179)]&&_0x5ad267[_0x358f56(0x163)][_0x358f56(0x179)](_0x359bbf);}),_0x2aa7b3(_0x268986,_0x4670a6,{'role':_0x45f7fc(0x151)}),_0x268986[_0x45f7fc(0x171)](_0x359bbf,_0x45f7fc(0x156),(_0x739664,_0x586e38,_0x5dcc7d)=>{const _0xd55fdc=_0x45f7fc;if(_0x5dcc7d)for(const _0x23480d of _0x268986[_0xd55fdc(0x173)][_0xd55fdc(0x155)]){const _0x21a5a4=_0x23480d[_0xd55fdc(0x15d)][_0xd55fdc(0x16e)],_0x5071d6=_0x3502c8[_0xd55fdc(0x166)](_0x466e8c=>_0x466e8c[_0xd55fdc(0x16a)]===_0x21a5a4[_0xd55fdc(0x179)])[_0xd55fdc(0x15f)];_0x23480d[_0xd55fdc(0x15f)]=void 0x0===_0x5071d6||_0x5071d6(_0x359bbf);}}),_0x268986;}function _0x52ad(){const _0x5f3a6c=['locale','_action','Show\x20more\x20items','396528kCXUFa','Name\x20this\x20revision','set','374112xhijwA','552210UJByGt','11nHldAc','isEnabled','button','2rmHgRS','menu','execute','add','menuitem','items','change:isActionsDropdownOpen','276ZhGaNG','map','2532yWpylD','ck-revision-history-sidebar__revision__actions','buttonView','45eJqOFc','children','Compare\x20against\x20selected','isVisible','6293dfhqIp','isActionsDropdownOpen','function','source','extendTemplate','1119970YwUciJ','find','isReady','bindTemplate','isOpen','action','stopPropagation','panelPosition','ck-on','first','11435DWCVvu','bind','listenTo','name','listView','Restore\x20this\x20revision','22529136mvRmqx','class','model'];_0x52ad=function(){return _0x5f3a6c;};return _0x52ad();}
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
(function(
|
|
23
|
+
(function(_0x1a9860,_0x131682){const _0x2d3f1e=_0x5727,_0xce9803=_0x1a9860();while(!![]){try{const _0x2f5b7f=-parseInt(_0x2d3f1e(0x111))/0x1+parseInt(_0x2d3f1e(0x10b))/0x2+parseInt(_0x2d3f1e(0x115))/0x3*(parseInt(_0x2d3f1e(0x10d))/0x4)+-parseInt(_0x2d3f1e(0x116))/0x5+-parseInt(_0x2d3f1e(0x11c))/0x6+parseInt(_0x2d3f1e(0x10e))/0x7+parseInt(_0x2d3f1e(0x113))/0x8*(parseInt(_0x2d3f1e(0x11d))/0x9);if(_0x2f5b7f===_0x131682)break;else _0xce9803['push'](_0xce9803['shift']());}catch(_0x4a9283){_0xce9803['push'](_0xce9803['shift']());}}}(_0x2bdc,0x285e1));import{View as _0x48b2fc,IconView as _0x1e8760}from'ckeditor5/src/ui.js';import{IconUser as _0xd7f1e0}from'ckeditor5/src/icons.js';import{getTranslation as _0xac47ac}from'../../utils/common-translations.js';import'../../../theme/revision/revisionauthor.css';function _0x2bdc(){const _0x9241e6=['Revision\x20creator','4pCADcV','870947TSuuVx','ck-revision-history-sidebar__revision-author','0\x200\x2011\x2010','93333QTnnXO','span','1008fTEqvH','push','917115qclQdg','393965AUqfSz','Revision\x20author','setTemplate','set','ck-revision-history-sidebar__revision-author_creator','ck-revision-history-sidebar__revision-author__name','870672WlVgcU','2736xywqWo','name','28306LpJQXF'];_0x2bdc=function(){return _0x9241e6;};return _0x2bdc();}function _0x5727(_0xac9423,_0x4f3ab3){const _0x2bdc86=_0x2bdc();return _0x5727=function(_0x572780,_0x542cd7){_0x572780=_0x572780-0x10a;let _0x5d27e6=_0x2bdc86[_0x572780];return _0x5d27e6;},_0x5727(_0xac9423,_0x4f3ab3);}export class RevisionAuthorView extends _0x48b2fc{constructor(_0x5f3b6a,_0x151a55,_0x37699c){const _0x46fcb6=_0x5727;super(_0x5f3b6a);const _0x3d80a1=new _0x1e8760();_0x3d80a1[_0x46fcb6(0x119)]({'content':_0xd7f1e0,'viewBox':_0x46fcb6(0x110)});const _0x51ec11=['ck',_0x46fcb6(0x10f)];_0x37699c&&_0x51ec11[_0x46fcb6(0x114)](_0x46fcb6(0x11a));const _0x1fc702=[{'tag':_0x46fcb6(0x112),'attributes':{'class':['ck',_0x46fcb6(0x11b)],'title':_0xac47ac(_0x5f3b6a,_0x37699c?_0x46fcb6(0x10c):_0x46fcb6(0x117))},'children':[_0x3d80a1,_0x151a55[_0x46fcb6(0x10a)]]}];this[_0x46fcb6(0x118)]({'tag':'li','attributes':{'class':_0x51ec11},'children':_0x1fc702});}}
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
const
|
|
23
|
+
const _0x533189=_0x59d4;(function(_0x55dbe6,_0x5e1c2c){const _0x5b0915=_0x59d4,_0x382c8d=_0x55dbe6();while(!![]){try{const _0xb79765=parseInt(_0x5b0915(0xe4))/0x1+-parseInt(_0x5b0915(0xf9))/0x2*(-parseInt(_0x5b0915(0xdc))/0x3)+-parseInt(_0x5b0915(0xe6))/0x4*(-parseInt(_0x5b0915(0xdf))/0x5)+parseInt(_0x5b0915(0xe8))/0x6*(-parseInt(_0x5b0915(0xeb))/0x7)+-parseInt(_0x5b0915(0xf1))/0x8*(parseInt(_0x5b0915(0xdd))/0x9)+parseInt(_0x5b0915(0xe0))/0xa*(-parseInt(_0x5b0915(0xef))/0xb)+parseInt(_0x5b0915(0xf6))/0xc*(parseInt(_0x5b0915(0xda))/0xd);if(_0xb79765===_0x5e1c2c)break;else _0x382c8d['push'](_0x382c8d['shift']());}catch(_0x1a9e88){_0x382c8d['push'](_0x382c8d['shift']());}}}(_0x7050,0xdb9f0));import{LabeledFieldView as _0xd666bf}from'ckeditor5/src/ui.js';import{ResizeObserver as _0x5ea068}from'ckeditor5/src/utils.js';import{getTranslation as _0x300d17}from'../../utils/common-translations.js';import'../../../theme/revision/revisionname.css';function _0x59d4(_0x367649,_0x48fafc){const _0x7050c9=_0x7050();return _0x59d4=function(_0x59d47d,_0x485f35){_0x59d47d=_0x59d47d-0xd8;let _0x56be04=_0x7050c9[_0x59d47d];return _0x56be04;},_0x59d4(_0x367649,_0x48fafc);}export class RevisionNameView extends _0xd666bf{[_0x533189(0xf8)]=null;constructor(_0x4de243,_0xb3fcfd){const _0x5186d0=_0x533189;super(_0x4de243,_0xb3fcfd);const _0x8cc0f6=this[_0x5186d0(0xf5)];this[_0x5186d0(0xed)]({'label':_0x300d17(_0x4de243,_0x5186d0(0xec)),'_tooltipString':''}),this[_0x5186d0(0xf3)][_0x5186d0(0xee)]=_0x300d17(_0x4de243,_0x5186d0(0xe1)),this[_0x5186d0(0xe3)]({'tag':_0x5186d0(0xf0),'attributes':{'class':[_0x5186d0(0xf4)],'data-cke-tooltip-text':_0x8cc0f6['to'](_0x5186d0(0xd9)),'data-cke-tooltip-position':'s','data-cke-tooltip-class':_0x5186d0(0xea)}});}[_0x533189(0xe2)](){const _0x2533b6=_0x533189;super[_0x2533b6(0xe2)](),this[_0x2533b6(0xf8)]=new _0x5ea068(this[_0x2533b6(0xf3)][_0x2533b6(0xf7)],()=>this[_0x2533b6(0xe9)]()),this[_0x2533b6(0xe5)](this[_0x2533b6(0xf3)],_0x2533b6(0xde),()=>this[_0x2533b6(0xe9)]());}[_0x533189(0xe7)](){const _0x47078a=_0x533189;super[_0x47078a(0xe7)](),this[_0x47078a(0xf8)]&&this[_0x47078a(0xf8)][_0x47078a(0xe7)]();}[_0x533189(0xe9)](){const _0x305a69=_0x533189,_0x5b537b=this[_0x305a69(0xf3)][_0x305a69(0xf7)];this[_0x305a69(0xd9)]=_0x5b537b[_0x305a69(0xd8)]>_0x5b537b[_0x305a69(0xf2)]&&_0x5b537b[_0x305a69(0xdb)]||'';}}function _0x7050(){const _0x316b45=['21390KNFmMk','_updateTooltipText','ck-tooltip_multi-line','3003cAurco','Revision\x20name','set','placeholder','392557AwvWTx','span','32jYmPiI','clientWidth','fieldView','ck-revision-history-sidebar__revision-name','bindTemplate','36OODxnG','element','_resizeObserver','1510354hYkTin','scrollWidth','_tooltipString','3086135BAgpee','value','3WQTpET','705582VbENsW','input','5oXRlDg','110VnCuLt','Enter\x20the\x20revision\x20name','render','extendTemplate','885078QvXhVc','listenTo','3130648FYPjJC','destroy'];_0x7050=function(){return _0x316b45;};return _0x7050();}
|
|
@@ -20,5 +20,5 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
const
|
|
24
|
-
|
|
23
|
+
const _0x579ee1=_0x5125;function _0x3f1c(){const _0x2bd403=['unshift','ck-revision-history-sidebar__revision__controls-wrapper','220','length','unhighlight','3808434WxoFWV','isSelected','ck-disabled','13380093ocUKhR','ck-revision-history-sidebar__revision-wrapper_confirmation_visible','uiLanguage','set','extendTemplate','bind','div','creator','ck-revision-history-sidebar__revision','_revision','isEnabled','fieldView','isReady','listenTo','bindTemplate','highlight','filter','revisionActionsView','4202DKnZEP','ck-revision-history-sidebar__revision__date','value','2346396bBmmpy','deselect','setTemplate','_createdAtFormatted','fire','span','ck-revision-history-sidebar__revision_highlighted','isHighlighted','isActionsDropdownOpen','name','ck-revision-history-sidebar__revision-authors','ck-revision-history-sidebar__actions_dropdown_open','setName','ck-revision-history-sidebar__revision-wrapper','isConfirm','srcElement','map','ck-revision-history-sidebar__revision_selected','render','createdAt','revisionNameView','from','element','5AiIzvm','874615ETlfTU','.ck-confirm-view','authors','2534452XMTsag','ck-reset','closest','8166576JpXVsz','select','849jIZzDd','_requireRevisionName','change'];_0x3f1c=function(){return _0x2bd403;};return _0x3f1c();}(function(_0x45daac,_0x3567b9){const _0x507b42=_0x5125,_0x23cc99=_0x45daac();while(!![]){try{const _0x1fab88=-parseInt(_0x507b42(0x21b))/0x1+parseInt(_0x507b42(0x200))/0x2*(parseInt(_0x507b42(0x223))/0x3)+-parseInt(_0x507b42(0x21e))/0x4*(-parseInt(_0x507b42(0x21a))/0x5)+-parseInt(_0x507b42(0x203))/0x6+parseInt(_0x507b42(0x22b))/0x7+-parseInt(_0x507b42(0x221))/0x8+parseInt(_0x507b42(0x22e))/0x9;if(_0x1fab88===_0x3567b9)break;else _0x23cc99['push'](_0x23cc99['shift']());}catch(_0x2069aa){_0x23cc99['push'](_0x23cc99['shift']());}}}(_0x3f1c,0xed690));import{View as _0x3906e8,createLabeledInputText as _0x2fc55e}from'ckeditor5/src/ui.js';function _0x5125(_0x1ce289,_0x528549){const _0x3f1c67=_0x3f1c();return _0x5125=function(_0x512582,_0x320997){_0x512582=_0x512582-0x1f1;let _0x568ae4=_0x3f1c67[_0x512582];return _0x568ae4;},_0x5125(_0x1ce289,_0x528549);}import{ConfirmMixin as _0x48e36e}from'ckeditor5-collaboration/src/collaboration-core.js';import{RevisionNameView as _0xd17188}from'./revisionnameview.js';import{RevisionAuthorView as _0x334f64}from'./revisionauthorview.js';import{dateToPrettyFormat as _0x3ba731}from'./utils.js';import{createActionsDropdownView as _0x39981b}from'./createrevisionactionsdropdown.js';import'../../../theme/revision/revision.css';export class RevisionView extends/* #__PURE__ -- @preserve */
|
|
24
|
+
_0x48e36e(_0x3906e8){['id'];[_0x579ee1(0x217)];[_0x579ee1(0x1ff)];[_0x579ee1(0x1f7)];[_0x579ee1(0x224)];constructor(_0x12b929,_0xe34ac7,_0x6feb81,_0xbc84e6){const _0x4d5428=_0x579ee1;super(_0x12b929);const _0x4ce342=this[_0x4d5428(0x1fc)],_0x2872c3=function(_0x1486f8,_0x30e10e){const _0x4f8906=_0x4d5428,_0x1edf91=Array[_0x4f8906(0x218)](_0x30e10e[_0x4f8906(0x21d)])[_0x4f8906(0x1fe)](_0x59de11=>_0x59de11!=_0x30e10e[_0x4f8906(0x1f5)]);return _0x30e10e[_0x4f8906(0x1f5)]&&_0x1edf91[_0x4f8906(0x226)](_0x30e10e[_0x4f8906(0x1f5)]),_0x1edf91[_0x4f8906(0x213)](_0x4f57ee=>new _0x334f64(_0x1486f8,_0x4f57ee,_0x4f57ee==_0x30e10e[_0x4f8906(0x1f5)]));}(_0x12b929,_0xe34ac7);this['id']=_0xe34ac7['id'],this[_0x4d5428(0x1f7)]=_0xe34ac7,this[_0x4d5428(0x224)]=_0xbc84e6,this[_0x4d5428(0x1f3)](_0x4d5428(0x20c),_0x4d5428(0x216))['to'](_0xe34ac7),this[_0x4d5428(0x1f3)](_0x4d5428(0x206))['to'](this,_0x4d5428(0x216),_0x57424e=>_0x3ba731(_0x12b929[_0x4d5428(0x230)],_0x57424e)),this[_0x4d5428(0x1f1)](_0x4d5428(0x22c),!0x1),this[_0x4d5428(0x1f1)](_0x4d5428(0x20a),!0x1),this[_0x4d5428(0x1f1)](_0x4d5428(0x20b),!0x1),this[_0x4d5428(0x1f1)](_0x4d5428(0x1fa),!0x1),this[_0x4d5428(0x1f1)](_0x4d5428(0x1f8),!0x1),this[_0x4d5428(0x217)]=new _0xd17188(_0x12b929,_0x2fc55e),this[_0x4d5428(0x217)][_0x4d5428(0x1f9)][_0x4d5428(0x1f2)]({'attributes':{'maxlength':_0x4d5428(0x228)}}),this[_0x4d5428(0x217)][_0x4d5428(0x1f9)][_0x4d5428(0x1f3)](_0x4d5428(0x202))['to'](this,_0x4d5428(0x20c),_0x961af1=>_0x961af1||this[_0x4d5428(0x206)]),this[_0x4d5428(0x217)][_0x4d5428(0x1f3)](_0x4d5428(0x1f8))['to'](this,_0x4d5428(0x22c),this,_0x4d5428(0x1f8),(_0x3b20f5,_0x1b0e93)=>_0x3b20f5&&_0x1b0e93),this[_0x4d5428(0x1ff)]=_0x6feb81&&_0x6feb81[_0x4d5428(0x229)]?_0x39981b(this,_0x6feb81):'',this[_0x4d5428(0x1ff)]&&this[_0x4d5428(0x1ff)][_0x4d5428(0x1f3)](_0x4d5428(0x1f8))['to'](this),this[_0x4d5428(0x205)]({'tag':_0x4d5428(0x1f4),'attributes':{'class':['ck',_0x4d5428(0x21f),_0x4d5428(0x210),_0x4ce342['if'](_0x4d5428(0x211),_0x4d5428(0x22f))]},'children':[{'tag':_0x4d5428(0x1f4),'attributes':{'class':['ck',_0x4d5428(0x21f),_0x4d5428(0x1f6),_0x4ce342['if'](_0x4d5428(0x1f8),_0x4d5428(0x22d),_0x16dc7c=>!_0x16dc7c),_0x4ce342['if'](_0x4d5428(0x22c),_0x4d5428(0x214)),_0x4ce342['if'](_0x4d5428(0x20a),_0x4d5428(0x209)),_0x4ce342['if'](_0x4d5428(0x20b),_0x4d5428(0x20e))]},'children':[this[_0x4d5428(0x217)],{'tag':_0x4d5428(0x208),'attributes':{'class':['ck',_0x4d5428(0x201)]},'children':[{'text':_0x4ce342['to'](_0x4d5428(0x206))}]},{'tag':_0x4d5428(0x1f4),'attributes':{'class':['ck',_0x4d5428(0x227)]},'children':[{'tag':'ul','attributes':{'class':['ck',_0x4d5428(0x20d)]},'children':_0x2872c3}]},this[_0x4d5428(0x1ff)]],'on':{'click':_0x4ce342['to'](_0x1dd765=>{const _0x194a95=_0x4d5428;_0x1dd765[_0x194a95(0x212)][_0x194a95(0x220)](_0x194a95(0x21c))||this[_0x194a95(0x1fa)]&&this[_0x194a95(0x1f8)]&&this[_0x194a95(0x207)](_0x194a95(0x222),{'id':this['id']});})}}]});}[_0x579ee1(0x215)](){const _0x496a77=_0x579ee1;super[_0x496a77(0x215)]();const _0x3786ad=this[_0x496a77(0x217)][_0x496a77(0x1f9)][_0x496a77(0x219)];this[_0x496a77(0x1fb)](_0x3786ad,_0x496a77(0x225),()=>{const _0x338f49=_0x496a77;this[_0x338f49(0x224)]&&!_0x3786ad[_0x338f49(0x202)]||this[_0x338f49(0x207)](_0x338f49(0x20f),{'id':this['id'],'name':_0x3786ad[_0x338f49(0x202)]}),_0x3786ad[_0x338f49(0x202)]||(_0x3786ad[_0x338f49(0x202)]=this[_0x338f49(0x20c)]?this[_0x338f49(0x20c)]:this[_0x338f49(0x206)]);});}[_0x579ee1(0x222)](){const _0x58bbea=_0x579ee1;this[_0x58bbea(0x22c)]=!0x0;}[_0x579ee1(0x204)](){const _0x38ac8a=_0x579ee1;this[_0x38ac8a(0x22c)]=!0x1;}[_0x579ee1(0x1fd)](){const _0x103889=_0x579ee1;this[_0x103889(0x20a)]=!0x0;}[_0x579ee1(0x22a)](){const _0x1d1233=_0x579ee1;this[_0x1d1233(0x20a)]=!0x1;}}
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
const
|
|
23
|
+
const _0x15a7eb=_0x1fda;(function(_0x4bca0b,_0x5abf08){const _0x14087c=_0x1fda,_0x47e35b=_0x4bca0b();while(!![]){try{const _0x48c37c=-parseInt(_0x14087c(0x1ab))/0x1+parseInt(_0x14087c(0x1a8))/0x2*(parseInt(_0x14087c(0x1aa))/0x3)+-parseInt(_0x14087c(0x1bb))/0x4*(-parseInt(_0x14087c(0x1a6))/0x5)+parseInt(_0x14087c(0x1ac))/0x6+-parseInt(_0x14087c(0x1b7))/0x7*(-parseInt(_0x14087c(0x1ba))/0x8)+-parseInt(_0x14087c(0x1b4))/0x9+-parseInt(_0x14087c(0x1b0))/0xa*(-parseInt(_0x14087c(0x1b5))/0xb);if(_0x48c37c===_0x5abf08)break;else _0x47e35b['push'](_0x47e35b['shift']());}catch(_0x43b60c){_0x47e35b['push'](_0x47e35b['shift']());}}}(_0x4d60,0xa2a59));function _0x4d60(){const _0x1746bf=['toggle','ck-revision-history-sidebar__subrevision-collapser_collapsed','setTemplate','92060jSygyi','false','set','_isCollapsed','9034866eKgaOB','814FrXXbN','button','7RAUsrT','ck-hidden','span','1455056sSTBrJ','16EUKRIY','bindTemplate','click','ck-revision-history-sidebar__subrevision-collapser','ck-revision-history-sidebar__subrevision-collapser__inner','530945ukmOiE','isVisible','34922ISVjQX','true','3dfUQoc','575409tukFWs','5640846czsynK'];_0x4d60=function(){return _0x1746bf;};return _0x4d60();}function _0x1fda(_0x5935f5,_0x2e4224){const _0x4d60e5=_0x4d60();return _0x1fda=function(_0x1fda4e,_0x5aa81e){_0x1fda4e=_0x1fda4e-0x1a5;let _0x3604b4=_0x4d60e5[_0x1fda4e];return _0x3604b4;},_0x1fda(_0x5935f5,_0x2e4224);}import{View as _0x17dac3}from'ckeditor5/src/ui.js';import'../../../theme/revision/subrevisioncollapser.css';export class SubrevisionCollapserView extends _0x17dac3{constructor(_0x153b52){const _0x6855f0=_0x1fda;super(_0x153b52);const _0x2e6afd=this[_0x6855f0(0x1bc)];this[_0x6855f0(0x1b2)]({'isVisible':!0x0,'_isCollapsed':!0x0}),this[_0x6855f0(0x1af)]({'tag':_0x6855f0(0x1b9),'attributes':{'class':['ck',_0x6855f0(0x1be),_0x2e6afd['if'](_0x6855f0(0x1a7),_0x6855f0(0x1b8),_0x5b76e7=>!_0x5b76e7),_0x2e6afd['if'](_0x6855f0(0x1b3),_0x6855f0(0x1ae))],'role':_0x6855f0(0x1b6),'aria-pressed':_0x2e6afd['to'](_0x6855f0(0x1b3),_0x5e4a66=>_0x5e4a66?_0x6855f0(0x1b1):_0x6855f0(0x1a9))},'children':[{'tag':_0x6855f0(0x1b9),'attributes':{'class':['ck',_0x6855f0(0x1a5)]}}],'on':{'click':_0x2e6afd['to'](_0x6855f0(0x1bd))}});}[_0x15a7eb(0x1ad)](){const _0x3387bf=_0x15a7eb;this[_0x3387bf(0x1b3)]=!this[_0x3387bf(0x1b3)];}}
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
function
|
|
23
|
+
function _0x42cf(_0x5af893,_0x5db47b){const _0x308ad4=_0x308a();return _0x42cf=function(_0x42cf33,_0x4c0fa0){_0x42cf33=_0x42cf33-0x138;let _0x1b4bdb=_0x308ad4[_0x42cf33];return _0x1b4bdb;},_0x42cf(_0x5af893,_0x5db47b);}function _0x308a(){const _0x1daa6b=['ck-revision-history-sidebar__revision__date','ck-revision-history-sidebar__revision','fire','span','set','deselect','1446kfahSB','setTemplate','bindTemplate','ck-reset','3fqmNMR','createdAt','1774564MlDrpa','select','ck-revision-history-sidebar__revision_selected','_parentRevisionId','isSelected','_createdAtFormatted','51686490ZqCzIB','ck-revision-history-sidebar__revision-authors','7rfTxnQ','div','38705wMkbPR','ck-revision-history-sidebar__subrevision','5590548iDiIEK','7535288hbfDCZ','1662172ZDNJgP','7549784uPMrrQ','uiLanguage','bind','creator'];_0x308a=function(){return _0x1daa6b;};return _0x308a();}const _0x595b24=_0x42cf;(function(_0x4e02d3,_0x844d4){const _0x327ef8=_0x42cf,_0x48afef=_0x4e02d3();while(!![]){try{const _0x26bea5=-parseInt(_0x327ef8(0x156))/0x1+-parseInt(_0x327ef8(0x148))/0x2*(-parseInt(_0x327ef8(0x146))/0x3)+-parseInt(_0x327ef8(0x138))/0x4+-parseInt(_0x327ef8(0x152))/0x5*(parseInt(_0x327ef8(0x142))/0x6)+parseInt(_0x327ef8(0x150))/0x7*(parseInt(_0x327ef8(0x155))/0x8)+-parseInt(_0x327ef8(0x154))/0x9+parseInt(_0x327ef8(0x14e))/0xa;if(_0x26bea5===_0x844d4)break;else _0x48afef['push'](_0x48afef['shift']());}catch(_0x48fa80){_0x48afef['push'](_0x48afef['shift']());}}}(_0x308a,0xeabbf));import{View as _0x118673}from'ckeditor5/src/ui.js';import{RevisionAuthorView as _0x2cde0f}from'./revisionauthorview.js';import{dateToPrettyFormat as _0xb8b735}from'./utils.js';import'../../../theme/revision/subrevision.css';export class SubrevisionView extends _0x118673{['id'];[_0x595b24(0x14b)];constructor(_0x3fc7c7,_0x440af7,_0x5b4295){const _0x1535cf=_0x595b24;super(_0x3fc7c7);const _0x4d6e7c=this[_0x1535cf(0x144)];this['id']=_0x440af7['id'],this[_0x1535cf(0x13a)](_0x1535cf(0x147))['to'](_0x440af7),this[_0x1535cf(0x140)](_0x1535cf(0x14c),!0x1),this[_0x1535cf(0x13a)](_0x1535cf(0x14d))['to'](this,_0x1535cf(0x147),_0x54caf3=>_0x54caf3?_0xb8b735(_0x3fc7c7[_0x1535cf(0x139)],_0x54caf3):void 0x0),this[_0x1535cf(0x14b)]=_0x5b4295,this[_0x1535cf(0x143)]({'tag':_0x1535cf(0x151),'attributes':{'class':['ck',_0x1535cf(0x145),_0x1535cf(0x13d),_0x1535cf(0x153),_0x4d6e7c['if'](_0x1535cf(0x14c),_0x1535cf(0x14a))]},'children':[{'tag':_0x1535cf(0x13f),'attributes':{'class':['ck',_0x1535cf(0x13c)]},'children':[{'text':_0x4d6e7c['to'](_0x1535cf(0x14d))}]},{'tag':'ul','attributes':{'class':['ck',_0x1535cf(0x14f)]},'children':[new _0x2cde0f(_0x3fc7c7,_0x440af7[_0x1535cf(0x13b)],!0x0)]}],'on':{'click':_0x4d6e7c['to'](this[_0x1535cf(0x149)][_0x1535cf(0x13a)](this))}});}[_0x595b24(0x149)](){const _0xd469b6=_0x595b24;this[_0xd469b6(0x14c)]=!0x0,this[_0xd469b6(0x13e)](_0xd469b6(0x149),{'parentId':this[_0xd469b6(0x14b)]});}[_0x595b24(0x141)](){const _0x2600ba=_0x595b24;this[_0x2600ba(0x14c)]=!0x1;}}
|
|
@@ -20,5 +20,5 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
|
|
24
|
-
|
|
23
|
+
const _0x42e609=_0x3024;(function(_0xab8399,_0x414267){const _0x1c542c=_0x3024,_0x482924=_0xab8399();while(!![]){try{const _0x6000a9=-parseInt(_0x1c542c(0x198))/0x1+-parseInt(_0x1c542c(0x183))/0x2*(parseInt(_0x1c542c(0x19d))/0x3)+-parseInt(_0x1c542c(0x180))/0x4+-parseInt(_0x1c542c(0x18c))/0x5+parseInt(_0x1c542c(0x1a6))/0x6+-parseInt(_0x1c542c(0x189))/0x7*(-parseInt(_0x1c542c(0x199))/0x8)+parseInt(_0x1c542c(0x18b))/0x9*(parseInt(_0x1c542c(0x1a7))/0xa);if(_0x6000a9===_0x414267)break;else _0x482924['push'](_0x482924['shift']());}catch(_0x17f541){_0x482924['push'](_0x482924['shift']());}}}(_0x23ab,0x88884));function _0x3024(_0x5a085e,_0x4e95ca){const _0x23abc9=_0x23ab();return _0x3024=function(_0x30245c,_0x8c41ec){_0x30245c=_0x30245c-0x17f;let _0x3c9fb2=_0x23abc9[_0x30245c];return _0x3c9fb2;},_0x3024(_0x5a085e,_0x4e95ca);}import{CssTransitionDisablerMixin as _0x49530c,LabeledFieldView as _0x54201e,View as _0x6c5e,createLabeledInputText as _0x4f0330,submitHandler as _0x4796ee}from'ckeditor5/src/ui.js';import{FocusTracker as _0x54e9fe,KeystrokeHandler as _0x4e3f77}from'ckeditor5/src/utils.js';import{getTranslation as _0x5dce03}from'../../utils/common-translations.js';import'../../../theme/revisionhistorysaverevisionform.css';import'@ckeditor/ckeditor5-ui/theme/components/responsive-form/responsiveform.css';export class RevisionHistorySaveRevisionFormView extends/* #__PURE__ -- @preserve */
|
|
24
|
+
_0x49530c(_0x6c5e){[_0x42e609(0x197)];[_0x42e609(0x186)];[_0x42e609(0x193)];constructor(_0x4c50e2,_0x3de659){const _0x3bef4=_0x42e609;super(_0x4c50e2),this[_0x3bef4(0x197)]=new _0x54e9fe(),this[_0x3bef4(0x186)]=new _0x4e3f77(),this[_0x3bef4(0x1a0)](_0x3bef4(0x187),''),this[_0x3bef4(0x193)]=this[_0x3bef4(0x181)](_0x3de659),this[_0x3bef4(0x19e)]({'tag':_0x3bef4(0x1a5),'attributes':{'class':['ck',_0x3bef4(0x182),_0x3bef4(0x1a9)],'tabindex':'-1'},'children':[this[_0x3bef4(0x193)]]}),this[_0x3bef4(0x184)]();}[_0x42e609(0x190)](){const _0x17effd=_0x42e609;super[_0x17effd(0x190)](),_0x4796ee({'view':this}),this[_0x17effd(0x197)][_0x17effd(0x17f)](this[_0x17effd(0x193)][_0x17effd(0x194)]),this[_0x17effd(0x186)][_0x17effd(0x1a2)](this[_0x17effd(0x194)]);const _0x3eab9a=_0x46fff2=>_0x46fff2[_0x17effd(0x1a4)]();this[_0x17effd(0x186)][_0x17effd(0x1a0)](_0x17effd(0x195),_0x3eab9a),this[_0x17effd(0x186)][_0x17effd(0x1a0)](_0x17effd(0x18e),_0x3eab9a),this[_0x17effd(0x186)][_0x17effd(0x1a0)](_0x17effd(0x19a),_0x3eab9a),this[_0x17effd(0x186)][_0x17effd(0x1a0)](_0x17effd(0x196),_0x3eab9a);}[_0x42e609(0x185)](){const _0x270332=_0x42e609;this[_0x270332(0x193)][_0x270332(0x185)]();}get[_0x42e609(0x18f)](){const _0x16f13b=_0x42e609;return this[_0x16f13b(0x193)][_0x16f13b(0x1a8)][_0x16f13b(0x194)][_0x16f13b(0x1a1)][_0x16f13b(0x18d)]();}set[_0x42e609(0x18f)](_0x40b23f){const _0x2a901f=_0x42e609;this[_0x2a901f(0x193)][_0x2a901f(0x1a8)][_0x2a901f(0x194)][_0x2a901f(0x1a1)]=_0x40b23f[_0x2a901f(0x18d)]();}[_0x42e609(0x19b)](){const _0x11df48=_0x42e609;this[_0x11df48(0x193)][_0x11df48(0x1a8)][_0x11df48(0x194)][_0x11df48(0x1a1)]='',this[_0x11df48(0x193)][_0x11df48(0x191)]=null;}[_0x42e609(0x181)](_0x4a387e){const _0x52aca3=_0x42e609,_0x168db6=new _0x54201e(this[_0x52aca3(0x1a3)],_0x4f0330),_0x498b22=_0x168db6[_0x52aca3(0x1a8)];_0x498b22[_0x52aca3(0x188)]({'attributes':{'maxlength':_0x52aca3(0x192)}});let _0x326ef7=_0x5dce03(this[_0x52aca3(0x1a3)],_0x52aca3(0x18a));return!_0x4a387e&&(_0x326ef7+='\x20('+_0x5dce03(this[_0x52aca3(0x1a3)],_0x52aca3(0x19c))+')'),(_0x168db6[_0x52aca3(0x19f)]=_0x326ef7,_0x498b22['on'](_0x52aca3(0x1aa),()=>{const _0x2e5432=_0x52aca3;this[_0x2e5432(0x187)]=_0x498b22[_0x2e5432(0x194)][_0x2e5432(0x1a1)][_0x2e5432(0x18d)]();}),_0x168db6);}}function _0x23ab(){const _0x371fa0=['595742BSooci','Name\x20of\x20the\x20revision','18033336ojVJoJ','3772825xVUqwt','trim','arrowleft','revisionName','render','errorText','220','revisionNameInputView','element','arrowright','arrowdown','focusTracker','219809IBefmq','32pWmIAZ','arrowup','reset','optional','3ZXLSrv','setTemplate','label','set','value','listenTo','locale','stopPropagation','form','1231230adZjfw','10CQDOuZ','fieldView','ck-responsive-form','input','add','3271584fleKEJ','_createRevisionNameInput','ck-revision-history-save-revision-form','395654OQQjhx','initializeCssTransitionDisablerMixin','focus','keystrokes','revisionNameInputValue','extendTemplate'];_0x23ab=function(){return _0x371fa0;};return _0x23ab();}
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
const
|
|
23
|
+
const _0x442054=_0x4fb0;(function(_0xe2754e,_0x3a4529){const _0x57089d=_0x4fb0,_0xc3474d=_0xe2754e();while(!![]){try{const _0x2dac45=-parseInt(_0x57089d(0x201))/0x1+parseInt(_0x57089d(0x1dd))/0x2*(-parseInt(_0x57089d(0x1d5))/0x3)+parseInt(_0x57089d(0x1c3))/0x4*(parseInt(_0x57089d(0x1ee))/0x5)+-parseInt(_0x57089d(0x1d8))/0x6+parseInt(_0x57089d(0x1ca))/0x7*(parseInt(_0x57089d(0x200))/0x8)+-parseInt(_0x57089d(0x1e1))/0x9+parseInt(_0x57089d(0x1e5))/0xa*(parseInt(_0x57089d(0x1cf))/0xb);if(_0x2dac45===_0x3a4529)break;else _0xc3474d['push'](_0xc3474d['shift']());}catch(_0x58a107){_0xc3474d['push'](_0xc3474d['shift']());}}}(_0x275a,0x8c7cd));function _0x4fb0(_0x8b4c7b,_0x3584c2){const _0x275a79=_0x275a();return _0x4fb0=function(_0x4fb0c3,_0x16d19d){_0x4fb0c3=_0x4fb0c3-0x1bf;let _0x396f02=_0x275a79[_0x4fb0c3];return _0x396f02;},_0x4fb0(_0x8b4c7b,_0x3584c2);}import{Plugin as _0x35b271}from'ckeditor5/src/core.js';function _0x275a(){const _0x55ff23=['32UOAmkw','635165RjjwKf','showRevisionViewerCallback','revisionHistory.requireRevisionName','ck-button-action','RevisionHistoryUI','submit','Cancel','add','Open\x20revision\x20history','Save\x20current\x20revision','menuitem','focus','1516788KAVibf','plugins','get','pluginName','revisionHistory','errorText','Dialog','1408967GSJyjn','isPremiumPlugin','revisionName','Revision\x20history','role','671759QLUKkY','view','bind','listenTo','addMany','hide','276234puwrPp','menu','The\x20revision\x20name\x20cannot\x20be\x20empty.','2291532uElDOo','init','config','isReady','_createOpenRevisionButton','24lPFkwb','buttonView','render','isEnabled','3420000LGVtRF','menuBar:revisionHistory','Accept','componentFactory','310SIekeC','saveRevision','_createSaveRevisionButton','isOfficialPlugin','locale','editing','revisionSave','panelView','low','5zWUnbN','delegate','isReadOnly','requires','children','revisionNameInputView','_saveRevisionFormView','RevisionTracker','_registerMenuComponent','items','_createSaveRevisionFormView','_showDialog','isOpen','editor','set','reset','show','execute'];_0x275a=function(){return _0x55ff23;};return _0x275a();}import{IconHistory as _0x5ce5c3}from'ckeditor5/src/icons.js';import{createDropdown as _0x205613,ButtonView as _0x1fcf61,ListItemView as _0x17cc3f,ListView as _0x3e8ce3,MenuBarMenuListItemButtonView as _0x9c7cd2,MenuBarMenuListItemView as _0x116b14,MenuBarMenuListView as _0x441135,MenuBarMenuView as _0x437593}from'ckeditor5/src/ui.js';import{RevisionTracker as _0x2b63d4}from'../../revisiontracker.js';import{RevisionHistorySaveRevisionFormView as _0x529257}from'./revisionhistorysaverevisionformview.js';import{getTranslation as _0x103d1d}from'../../utils/common-translations.js';export class RevisionHistoryUI extends _0x35b271{static get[_0x442054(0x1c6)](){const _0x324cbe=_0x442054;return _0x324cbe(0x205);}static get[_0x442054(0x1e8)](){return!0x0;}static get[_0x442054(0x1cb)](){return!0x0;}static get[_0x442054(0x1f1)](){return[_0x2b63d4];}[_0x442054(0x1f4)];[_0x442054(0x1d9)](){const _0x4c0463=_0x442054,_0x26062d=this[_0x4c0463(0x1fb)],_0xb7c23c=_0x26062d[_0x4c0463(0x1c4)][_0x4c0463(0x1c5)](_0x4c0463(0x1f5));_0x26062d['ui'][_0x4c0463(0x1e4)][_0x4c0463(0x208)](_0x4c0463(0x1c7),_0x14ac2b=>{const _0x57db39=_0x4c0463,_0x395633=_0x205613(_0x14ac2b),_0xd8c3d5=_0x395633[_0x57db39(0x1ec)][_0x57db39(0x1f2)],_0x7cad62=new _0x3e8ce3(_0x14ac2b),_0x4b029e=new _0x17cc3f(_0x14ac2b),_0x40917c=this[_0x57db39(0x1e7)](_0x1fcf61),_0x540dc9=new _0x17cc3f(_0x14ac2b),_0x336e51=this[_0x57db39(0x1dc)](_0x1fcf61);return _0x395633[_0x57db39(0x1d1)](_0x57db39(0x1e0))['to'](_0xb7c23c,_0x57db39(0x1db),_0xb7c23c,_0x57db39(0x1e0),_0x26062d,_0x57db39(0x1f0),(_0x11462a,_0x220733,_0xf2b6e4)=>_0x11462a&&_0x220733&&!_0xf2b6e4),_0x395633[_0x57db39(0x1de)][_0x57db39(0x1fc)]({'icon':_0x5ce5c3,'label':_0x103d1d(_0x14ac2b,_0x57db39(0x1cd)),'tooltip':!0x0}),_0x40917c[_0x57db39(0x1fc)]({'withText':!0x0,'role':_0x57db39(0x1c1)}),_0x336e51[_0x57db39(0x1fc)]({'withText':!0x0,'role':_0x57db39(0x1c1)}),this[_0x57db39(0x1d2)](_0x336e51,_0x57db39(0x1ff),()=>{const _0x2193e9=_0x57db39;_0x395633[_0x2193e9(0x1fa)]=!0x1,_0x26062d[_0x2193e9(0x1ea)][_0x2193e9(0x1d0)][_0x2193e9(0x1c2)]();},{'priority':_0x57db39(0x1ed)}),_0x4b029e[_0x57db39(0x1f2)][_0x57db39(0x208)](_0x40917c),_0x540dc9[_0x57db39(0x1f2)][_0x57db39(0x208)](_0x336e51),_0x7cad62[_0x57db39(0x1ce)]=_0x57db39(0x1d6),_0x7cad62[_0x57db39(0x1f7)][_0x57db39(0x1d3)]([_0x4b029e,_0x540dc9]),_0xd8c3d5[_0x57db39(0x208)](_0x7cad62),_0x395633;}),_0x26062d['ui'][_0x4c0463(0x1e4)][_0x4c0463(0x208)](_0x4c0463(0x1e2),()=>this[_0x4c0463(0x1f6)]());}[_0x442054(0x1f6)](){const _0x50a96c=_0x442054,_0x489d90=this[_0x50a96c(0x1fb)],_0x3d9b36=_0x489d90[_0x50a96c(0x1e9)],_0xa25b6a=_0x489d90[_0x50a96c(0x1c4)][_0x50a96c(0x1c5)](_0x50a96c(0x1f5)),_0x40400e=new _0x437593(_0x3d9b36),_0x3178b3=new _0x441135(_0x3d9b36);_0x40400e[_0x50a96c(0x1d1)](_0x50a96c(0x1e0))['to'](_0xa25b6a,_0x50a96c(0x1db),_0xa25b6a,_0x50a96c(0x1e0),_0x489d90,_0x50a96c(0x1f0),(_0x24d55e,_0x23112e,_0x286a70)=>_0x24d55e&&_0x23112e&&!_0x286a70),_0x40400e[_0x50a96c(0x1de)][_0x50a96c(0x1fc)]({'icon':_0x5ce5c3,'label':_0x103d1d(_0x3d9b36,_0x50a96c(0x1cd))});const _0x338665=new _0x116b14(_0x3d9b36,_0x40400e),_0x25087e=this[_0x50a96c(0x1e7)](_0x9c7cd2);_0x25087e[_0x50a96c(0x1ef)](_0x50a96c(0x1ff))['to'](_0x40400e),_0x338665[_0x50a96c(0x1f2)][_0x50a96c(0x208)](_0x25087e),_0x3178b3[_0x50a96c(0x1f7)][_0x50a96c(0x208)](_0x338665);const _0x43fc72=new _0x116b14(_0x3d9b36,_0x40400e),_0x3a3b11=this[_0x50a96c(0x1dc)](_0x9c7cd2);return _0x3a3b11[_0x50a96c(0x1ef)](_0x50a96c(0x1ff))['to'](_0x40400e),_0x43fc72[_0x50a96c(0x1f2)][_0x50a96c(0x208)](_0x3a3b11),_0x3178b3[_0x50a96c(0x1f7)][_0x50a96c(0x208)](_0x43fc72),_0x40400e[_0x50a96c(0x1ec)][_0x50a96c(0x1f2)][_0x50a96c(0x208)](_0x3178b3),_0x40400e;}[_0x442054(0x1e7)](_0x40c873){const _0x44d352=_0x442054,_0x4b6dd3=this[_0x44d352(0x1fb)],_0x1e7cd3=_0x4b6dd3[_0x44d352(0x1c4)][_0x44d352(0x1c5)](_0x44d352(0x1f5)),_0x2b5dfc=new _0x40c873(_0x4b6dd3[_0x44d352(0x1e9)]);return _0x2b5dfc[_0x44d352(0x1fc)]({'label':_0x103d1d(_0x4b6dd3[_0x44d352(0x1e9)],_0x44d352(0x1c0))}),_0x2b5dfc[_0x44d352(0x1d1)](_0x44d352(0x1e0))['to'](_0x1e7cd3,_0x44d352(0x1db),_0x1e7cd3,_0x44d352(0x1e0),_0x4b6dd3,_0x44d352(0x1f0),(_0x52882c,_0x4b8b90,_0x34de58)=>_0x52882c&&_0x4b8b90&&!_0x34de58),this[_0x44d352(0x1d2)](_0x2b5dfc,_0x44d352(0x1ff),()=>{const _0x11870a=_0x44d352;this[_0x11870a(0x1f9)]();}),_0x2b5dfc;}[_0x442054(0x1dc)](_0x4026b2){const _0x455d0d=_0x442054,_0x5608e2=this[_0x455d0d(0x1fb)],_0x2ad06a=_0x5608e2[_0x455d0d(0x1c4)][_0x455d0d(0x1c5)](_0x455d0d(0x1f5)),_0x1311ea=new _0x4026b2(_0x5608e2[_0x455d0d(0x1e9)]);return _0x1311ea[_0x455d0d(0x1fc)]({'label':_0x103d1d(_0x5608e2[_0x455d0d(0x1e9)],_0x455d0d(0x1bf))}),_0x1311ea[_0x455d0d(0x1d1)](_0x455d0d(0x1e0))['to'](_0x2ad06a,_0x455d0d(0x1db),_0x5608e2,_0x455d0d(0x1f0),(_0x50fd49,_0x2d200f)=>_0x50fd49&&!_0x2d200f),this[_0x455d0d(0x1d2)](_0x1311ea,_0x455d0d(0x1ff),()=>{const _0x5a151f=_0x455d0d;_0x5608e2[_0x5a151f(0x1da)][_0x5a151f(0x1c5)](_0x5a151f(0x1c7))[_0x5a151f(0x202)]();}),_0x1311ea;}[_0x442054(0x1f9)](){const _0x57186e=_0x442054,_0x168697=this[_0x57186e(0x1fb)],_0x927a97=_0x168697[_0x57186e(0x1e9)],_0xb19b9b=_0x168697[_0x57186e(0x1c4)][_0x57186e(0x1c5)](_0x57186e(0x1c9)),_0x55e30f=_0x168697[_0x57186e(0x1c4)][_0x57186e(0x1c5)](_0x57186e(0x1f5));function _0x243b60(_0x580127){const _0x59c3d3=_0x57186e;_0x168697[_0x59c3d3(0x1da)][_0x59c3d3(0x1c5)](_0x59c3d3(0x203))&&''===_0x580127[_0x59c3d3(0x1cc)]?_0x580127[_0x59c3d3(0x1f3)][_0x59c3d3(0x1c8)]=_0x103d1d(_0x927a97,_0x59c3d3(0x1d7)):(_0x168697[_0x59c3d3(0x1c4)][_0x59c3d3(0x1c5)](_0x2b63d4)[_0x59c3d3(0x1e6)]({'name':_0x580127[_0x59c3d3(0x1cc)]}),_0xb19b9b[_0x59c3d3(0x1d4)]());}this[_0x57186e(0x1f4)]||(this[_0x57186e(0x1f8)](),this[_0x57186e(0x1f4)]['on'](_0x57186e(0x206),()=>_0x243b60(this[_0x57186e(0x1f4)]))),this[_0x57186e(0x1f4)][_0x57186e(0x1fd)](),_0xb19b9b[_0x57186e(0x1fe)]({'id':_0x57186e(0x1eb),'title':_0x103d1d(_0x927a97,_0x57186e(0x1c0)),'isModal':!0x0,'content':this[_0x57186e(0x1f4)],'actionButtons':[{'label':_0x103d1d(_0x168697[_0x57186e(0x1e9)],_0x57186e(0x207)),'withText':!0x0,'onExecute':()=>_0xb19b9b[_0x57186e(0x1d4)]()},{'label':_0x103d1d(_0x168697[_0x57186e(0x1e9)],_0x57186e(0x1e3)),'class':_0x57186e(0x204),'withText':!0x0,'onCreate'(_0x57206c){const _0x43c8b2=_0x57186e;_0x57206c[_0x43c8b2(0x1d1)](_0x43c8b2(0x1e0))['to'](_0x55e30f,_0x43c8b2(0x1db),_0x55e30f,_0x43c8b2(0x1e0),_0x168697,_0x43c8b2(0x1f0),(_0x36b207,_0x5e9a3b,_0x8d1d2e)=>_0x36b207&&_0x5e9a3b&&!_0x8d1d2e);},'onExecute':()=>_0x243b60(this[_0x57186e(0x1f4)])}]});}[_0x442054(0x1f8)](){const _0x2f7275=_0x442054,_0x1807e9=this[_0x2f7275(0x1fb)],_0x1bfcb2=_0x1807e9[_0x2f7275(0x1e9)];this[_0x2f7275(0x1f4)]=new _0x529257(_0x1bfcb2,_0x1807e9[_0x2f7275(0x1da)][_0x2f7275(0x1c5)](_0x2f7275(0x203))),this[_0x2f7275(0x1f4)][_0x2f7275(0x1df)]();}}
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
function
|
|
23
|
+
function _0x17e1(){const _0x2bb730=['Name\x20this\x20revision','fieldView','config','revisionHistory','timePeriodViews','compareAgainstSelected','element','95958mTJDuc','requires','map','focus','_sidebarView','change:diff','restoreRevisionCallback','remove','11278107TjwQLv','setName','395795WlYdgA','Compare\x20against\x20selected','_handleRevisionSetName','_handleDiffChange','29880785XxgXzJ','getEarlierVisibleRevision','highlightRevisions','getLaterVisibleRevision','restoreRevision','name','11493072nVFaQu','editor','locale','revisionHistory.revisionActions','destroy','revisionViews','ready','revisionSetName','appendChild','bind','96NklIzQ','getIndex','repository','409416oMENXZ','diff','getRevision','revisionHistory.requireRevisionName','Restore\x20this\x20revision','_handleRevisionSelected','availableRevisionActions','32109lQJWhh','15yOkBza','defaultRevisionActions','revisionSelected','revisionHistory.viewerSidebarContainer','428qLhagM','get','listenTo','nameRevision','RevisionsSidebar','init','select','_revisionsRepository','_createRevisionActions','isPremiumPlugin','isSelected','_revisions','isReady','_handleEditorDataReady','length','10gjXRtM','add','newRevisionId','isOfficialPlugin','action','pluginName','assign','getRevisionsInDiff','isEnabled','plugins','selectRevision','_revisionViewer','isVisible','data','string','compare','render'];_0x17e1=function(){return _0x2bb730;};return _0x17e1();}const _0x3ed298=_0x51e9;(function(_0x79fb23,_0x573187){const _0x137020=_0x51e9,_0x30d776=_0x79fb23();while(!![]){try{const _0x149d6c=parseInt(_0x137020(0x18d))/0x1*(parseInt(_0x137020(0x1b8))/0x2)+-parseInt(_0x137020(0x18c))/0x3*(parseInt(_0x137020(0x191))/0x4)+-parseInt(_0x137020(0x16e))/0x5*(parseInt(_0x137020(0x182))/0x6)+parseInt(_0x137020(0x185))/0x7+-parseInt(_0x137020(0x178))/0x8+-parseInt(_0x137020(0x16c))/0x9*(-parseInt(_0x137020(0x1a0))/0xa)+parseInt(_0x137020(0x172))/0xb;if(_0x149d6c===_0x573187)break;else _0x30d776['push'](_0x30d776['shift']());}catch(_0x3b6742){_0x30d776['push'](_0x30d776['shift']());}}}(_0x17e1,0xdb904));import{Plugin as _0x25c49c}from'ckeditor5/src/core.js';function _0x51e9(_0x3ff998,_0x1fed0d){const _0x17e1ce=_0x17e1();return _0x51e9=function(_0x51e9c5,_0x2dc0f7){_0x51e9c5=_0x51e9c5-0x16c;let _0x1d4a90=_0x17e1ce[_0x51e9c5];return _0x1d4a90;},_0x51e9(_0x3ff998,_0x1fed0d);}import{RevisionsSidebarView as _0x422d57}from'./revisionssidebarview.js';import{RevisionViewer as _0x106e2e}from'../../revisionviewer.js';export class RevisionsSidebar extends _0x25c49c{[_0x3ed298(0x1ab)];[_0x3ed298(0x198)];[_0x3ed298(0x1bc)];static [_0x3ed298(0x18e)]=[_0x3ed298(0x1b6),_0x3ed298(0x176),_0x3ed298(0x194)];static [_0x3ed298(0x18b)]=(function(){const _0x28070c=_0x3ed298;return{'compareAgainstSelected':{'name':_0x28070c(0x16f),'action':({plugins:i},s)=>{const _0x39d3a3=_0x28070c,e=i[_0x39d3a3(0x192)](_0x106e2e),n=e[_0x39d3a3(0x184)];let r=e[_0x39d3a3(0x186)][_0x39d3a3(0x1a2)],o=s['id'];n[_0x39d3a3(0x183)](r)>n[_0x39d3a3(0x183)](o)&&([r,o]=[o,r]),e[_0x39d3a3(0x1af)](r,o);},'isVisible':({plugins:i},s)=>{const _0x5c4ed0=_0x28070c,e=i[_0x5c4ed0(0x192)](_0x106e2e);return!(e[_0x5c4ed0(0x184)][_0x5c4ed0(0x1a7)](e[_0x5c4ed0(0x186)])[_0x5c4ed0(0x19f)]>0x2)&&!s[_0x5c4ed0(0x19b)];}},'restoreRevision':{'name':_0x28070c(0x189),'action':(i,{id:s})=>{const _0x419495=_0x28070c;i[_0x419495(0x1b3)][_0x419495(0x192)](_0x419495(0x1b4))[_0x419495(0x1be)](s);},'isVisible':({plugins:i},s)=>!!i[_0x28070c(0x192)](_0x106e2e)[_0x28070c(0x184)][_0x28070c(0x175)](s['id'])},'nameRevision':{'name':_0x28070c(0x1b1),'action':({plugins:i},{id:s,revisionNameView:e})=>{const _0x59b5df=_0x28070c,n=i[_0x59b5df(0x192)](_0x106e2e),r=n[_0x59b5df(0x184)][_0x59b5df(0x173)](s);n[_0x59b5df(0x1af)](s,r),e[_0x59b5df(0x1bb)](),e[_0x59b5df(0x1b2)][_0x59b5df(0x197)]();}}};}());static get[_0x3ed298(0x1a5)](){const _0x62346=_0x3ed298;return _0x62346(0x195);}static get[_0x3ed298(0x1a3)](){return!0x0;}static get[_0x3ed298(0x19a)](){return!0x0;}static get[_0x3ed298(0x1b9)](){return[_0x106e2e];}constructor(_0x5267eb){const _0x3484e0=_0x3ed298;super(_0x5267eb),this[_0x3484e0(0x1ab)]=_0x5267eb[_0x3484e0(0x1a9)][_0x3484e0(0x192)](_0x106e2e),this[_0x3484e0(0x198)]=this[_0x3484e0(0x1ab)][_0x3484e0(0x184)],this[_0x3484e0(0x1bc)]=null;}[_0x3ed298(0x196)](){const _0x4e14fc=_0x3ed298,_0x1ff179=this[_0x4e14fc(0x198)][_0x4e14fc(0x19c)],_0x111263=this[_0x4e14fc(0x199)](),_0x156742=this[_0x4e14fc(0x179)][_0x4e14fc(0x1b3)][_0x4e14fc(0x192)](_0x4e14fc(0x190));this[_0x4e14fc(0x1bc)]=new _0x422d57(this[_0x4e14fc(0x179)][_0x4e14fc(0x17a)],_0x1ff179,_0x111263,this[_0x4e14fc(0x179)][_0x4e14fc(0x1b3)][_0x4e14fc(0x192)](_0x4e14fc(0x188))),this[_0x4e14fc(0x1bc)]['on'](_0x4e14fc(0x18f),this[_0x4e14fc(0x18a)][_0x4e14fc(0x181)](this)),this[_0x4e14fc(0x1bc)]['on'](_0x4e14fc(0x17f),this[_0x4e14fc(0x170)][_0x4e14fc(0x181)](this)),this[_0x4e14fc(0x1bc)][_0x4e14fc(0x181)](_0x4e14fc(0x1a8))['to'](this[_0x4e14fc(0x1ab)]),this[_0x4e14fc(0x1bc)][_0x4e14fc(0x1b5)]['on'](_0x4e14fc(0x1a1),(_0x39c6a2,_0x355474)=>{const _0x27f06c=_0x4e14fc;_0x355474[_0x27f06c(0x17d)]['on'](_0x27f06c(0x1a1),(_0x2c46e1,_0x4c19d5)=>{const _0x235efd=_0x27f06c;_0x4c19d5[_0x235efd(0x181)](_0x235efd(0x1a8),_0x235efd(0x19d))['to'](this[_0x235efd(0x1ab)]);});}),this[_0x4e14fc(0x1bc)][_0x4e14fc(0x1b0)](),this[_0x4e14fc(0x193)](this[_0x4e14fc(0x179)][_0x4e14fc(0x1ad)],_0x4e14fc(0x17e),this[_0x4e14fc(0x19e)][_0x4e14fc(0x181)](this)),this[_0x4e14fc(0x193)](this[_0x4e14fc(0x1ab)],_0x4e14fc(0x1bd),this[_0x4e14fc(0x171)][_0x4e14fc(0x181)](this)),_0x156742[_0x4e14fc(0x180)](this[_0x4e14fc(0x1bc)][_0x4e14fc(0x1b7)]);}[_0x3ed298(0x17c)](){const _0x385b66=_0x3ed298;this[_0x385b66(0x1bc)][_0x385b66(0x1b7)][_0x385b66(0x1bf)](),this[_0x385b66(0x1bc)][_0x385b66(0x17c)]();}[_0x3ed298(0x19e)](){const _0x287483=_0x3ed298,_0x2c6c1d=this[_0x287483(0x198)][_0x287483(0x187)](0x0);if(_0x2c6c1d){const _0x3f0ce8=this[_0x287483(0x198)][_0x287483(0x173)](_0x2c6c1d['id']);this[_0x287483(0x1ab)][_0x287483(0x1af)](_0x2c6c1d,_0x3f0ce8);}}[_0x3ed298(0x18a)](_0x191596,_0x319ba2){const _0x2a0b05=_0x3ed298,_0x22bb1f=this[_0x2a0b05(0x198)][_0x2a0b05(0x187)](_0x319ba2['id']),_0x2e8e52=this[_0x2a0b05(0x198)][_0x2a0b05(0x173)](_0x22bb1f['id']);this[_0x2a0b05(0x1ab)][_0x2a0b05(0x1af)](_0x22bb1f,_0x2e8e52);}[_0x3ed298(0x170)](_0x50382a,_0xaf0b94){const _0x4ac55c=_0x3ed298;this[_0x4ac55c(0x198)][_0x4ac55c(0x187)](_0xaf0b94['id'])[_0x4ac55c(0x16d)](_0xaf0b94[_0x4ac55c(0x177)]);}[_0x3ed298(0x171)](_0x3b499a,_0x3abe17,_0x10d31a){const _0x20557a=_0x3ed298,_0x2fb41b=this[_0x20557a(0x198)][_0x20557a(0x1a7)](_0x10d31a);_0x2fb41b[_0x20557a(0x19f)]>0x2?(this[_0x20557a(0x1bc)][_0x20557a(0x174)](_0x2fb41b),this[_0x20557a(0x1bc)][_0x20557a(0x1aa)](null)):(this[_0x20557a(0x1bc)][_0x20557a(0x174)]([]),this[_0x20557a(0x1bc)][_0x20557a(0x1aa)](_0x2fb41b[0x0]));}[_0x3ed298(0x199)](){const _0x135d71=_0x3ed298,_0x50c0a1=this[_0x135d71(0x179)],_0xb27abe=RevisionsSidebar[_0x135d71(0x18b)],_0x400cbc=_0x50c0a1[_0x135d71(0x1b3)][_0x135d71(0x192)](_0x135d71(0x17b))||RevisionsSidebar[_0x135d71(0x18e)];if(_0x400cbc[_0x135d71(0x19f)])return _0x400cbc[_0x135d71(0x1ba)](_0x4a63ba=>{const _0x2f0967=_0x135d71,_0x3f702b=_0x2f0967(0x1ae)==typeof _0x4a63ba?Object[_0x2f0967(0x1a6)]({},_0xb27abe[_0x4a63ba]):_0x4a63ba;return _0x3f702b[_0x2f0967(0x1a4)]=_0x3f702b[_0x2f0967(0x1a4)][_0x2f0967(0x181)](this,_0x50c0a1),_0x3f702b[_0x2f0967(0x1ac)]&&(_0x3f702b[_0x2f0967(0x1ac)]=_0x3f702b[_0x2f0967(0x1ac)][_0x2f0967(0x181)](this,_0x50c0a1)),_0x3f702b;});}}
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
|
|
23
|
+
(function(_0x4d4b59,_0x41421c){const _0x3b38c3=_0x4248,_0x5897f5=_0x4d4b59();while(!![]){try{const _0x352c5f=parseInt(_0x3b38c3(0x1b3))/0x1+-parseInt(_0x3b38c3(0x1a5))/0x2*(parseInt(_0x3b38c3(0x1ac))/0x3)+-parseInt(_0x3b38c3(0x1b2))/0x4*(parseInt(_0x3b38c3(0x1a9))/0x5)+parseInt(_0x3b38c3(0x1b1))/0x6+parseInt(_0x3b38c3(0x1ad))/0x7+parseInt(_0x3b38c3(0x1a4))/0x8+-parseInt(_0x3b38c3(0x1aa))/0x9;if(_0x352c5f===_0x41421c)break;else _0x5897f5['push'](_0x5897f5['shift']());}catch(_0x47b414){_0x5897f5['push'](_0x5897f5['shift']());}}}(_0x347c,0x4a04f));import{View as _0x433ef7,IconView as _0x2d1ea0}from'ckeditor5/src/ui.js';function _0x4248(_0x3e7fa0,_0x3d2298){const _0x347cef=_0x347c();return _0x4248=function(_0x424841,_0x3f006d){_0x424841=_0x424841-0x1a4;let _0x5b1d12=_0x347cef[_0x424841];return _0x5b1d12;},_0x4248(_0x3e7fa0,_0x3d2298);}import{getTranslation as _0x2166e5}from'../../utils/common-translations.js';import{IconHistory as _0x591f78}from'ckeditor5/src/icons.js';function _0x347c(){const _0x14098b=['Revision\x20history','content','setTemplate','34135KYAveB','3180438juGORz','div','490302SyWpFO','2086721cRSfOK','span','ck-reset_all','ck-revision-history-sidebar__header','2810400qPrzhd','124DGJhvK','365140tjxBbk','ck-revision-history-sidebar__header__label','507416IuePfY','4JbcaGN'];_0x347c=function(){return _0x14098b;};return _0x347c();}import'../../../theme/revisionssidebar/revisionssidebarheader.css';export class RevisionsSidebarHeaderView extends _0x433ef7{constructor(_0x534fdf){const _0x3010a7=_0x4248;super(_0x534fdf);const _0xff8249=new _0x2d1ea0();_0xff8249[_0x3010a7(0x1a7)]=_0x591f78,this[_0x3010a7(0x1a8)]({'tag':_0x3010a7(0x1ab),'attributes':{'class':['ck',_0x3010a7(0x1af),_0x3010a7(0x1b0)]},'children':[_0xff8249,{'tag':_0x3010a7(0x1ae),'attributes':{'class':['ck',_0x3010a7(0x1b4)]},'children':[_0x2166e5(_0x534fdf,_0x3010a7(0x1a6))]}]});}}
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
const
|
|
23
|
+
function _0x382c(){const _0x1aadde=['locale','div','delegate','removeRevision','1013246gVonOO','localizedPeriodName','_requireRevisionName','find','setTemplate','1129116rjbcjj','startDate','4151716AZKTZE','remove','591840Rzszxe','addRevision','ck-revision-history-sidebar__time-period__revisions','add','118764VjeBMn','uiLanguage','7mVXQkc','16zEzJbG','span','ck-revision-history-sidebar__time-period__label','_revisionActions','setName','ck-revision-history-sidebar__time-period','revisionViews','select','8789553NRPyLG','5372124hseQmd','createCollection'];_0x382c=function(){return _0x1aadde;};return _0x382c();}const _0x531fde=_0x42cd;function _0x42cd(_0x378a4d,_0x261728){const _0x382cd4=_0x382c();return _0x42cd=function(_0x42cd1e,_0x125a0e){_0x42cd1e=_0x42cd1e-0x1f3;let _0x4ac4ba=_0x382cd4[_0x42cd1e];return _0x4ac4ba;},_0x42cd(_0x378a4d,_0x261728);}(function(_0x3af0c5,_0x5b6b05){const _0x180646=_0x42cd,_0x257cfe=_0x3af0c5();while(!![]){try{const _0x450ca1=parseInt(_0x180646(0x202))/0x1+-parseInt(_0x180646(0x1fd))/0x2+parseInt(_0x180646(0x20a))/0x3+parseInt(_0x180646(0x204))/0x4+parseInt(_0x180646(0x206))/0x5+-parseInt(_0x180646(0x1f7))/0x6*(-parseInt(_0x180646(0x20c))/0x7)+parseInt(_0x180646(0x20d))/0x8*(-parseInt(_0x180646(0x1f6))/0x9);if(_0x450ca1===_0x5b6b05)break;else _0x257cfe['push'](_0x257cfe['shift']());}catch(_0xb7ac8){_0x257cfe['push'](_0x257cfe['shift']());}}}(_0x382c,0xb9ab2));import{View as _0xd4634c}from'ckeditor5/src/ui.js';import{RevisionView as _0x56b2b5}from'../revision/revisionview.js';import{getDateTimePeriodInfo as _0x5b6519}from'./utils.js';import'../../../theme/revisionssidebar/revisionssidebartimeperiod.css';export class RevisionsSidebarTimePeriodView extends _0xd4634c{[_0x531fde(0x203)];[_0x531fde(0x1f4)];[_0x531fde(0x210)];[_0x531fde(0x1ff)];constructor(_0x21ab57,_0x323dcb,_0x4ab960,_0x230307){const _0x53f04f=_0x531fde;super(_0x21ab57);const _0x2e43b7=_0x5b6519(_0x323dcb,this[_0x53f04f(0x1f9)][_0x53f04f(0x20b)])[_0x53f04f(0x1fe)];this[_0x53f04f(0x203)]=_0x323dcb,this[_0x53f04f(0x1f4)]=this[_0x53f04f(0x1f8)](),this[_0x53f04f(0x210)]=_0x4ab960,this[_0x53f04f(0x1ff)]=_0x230307,this[_0x53f04f(0x1f4)][_0x53f04f(0x1fb)](_0x53f04f(0x1f5))['to'](this),this[_0x53f04f(0x1f4)][_0x53f04f(0x1fb)](_0x53f04f(0x211))['to'](this),this[_0x53f04f(0x201)]({'tag':_0x53f04f(0x1fa),'attributes':{'class':['ck',_0x53f04f(0x1f3)]},'children':[{'tag':_0x53f04f(0x20e),'attributes':{'class':['ck',_0x53f04f(0x20f)]},'children':[{'text':_0x2e43b7}]},{'tag':_0x53f04f(0x1fa),'attributes':{'class':['ck',_0x53f04f(0x208)]},'children':this[_0x53f04f(0x1f4)]}]});}[_0x531fde(0x207)](_0x23d506){const _0x5f3873=_0x531fde,_0x35ebdf=new _0x56b2b5(this[_0x5f3873(0x1f9)],_0x23d506,this[_0x5f3873(0x210)],this[_0x5f3873(0x1ff)]);this[_0x5f3873(0x1f4)][_0x5f3873(0x209)](_0x35ebdf);}[_0x531fde(0x1fc)](_0x31cf81){const _0x386555=_0x531fde,_0x159c91=this[_0x386555(0x1f4)][_0x386555(0x200)](_0x137e7b=>_0x137e7b['id']===_0x31cf81['id']);this[_0x386555(0x1f4)][_0x386555(0x205)](_0x159c91);}}
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
function
|
|
23
|
+
function _0x1897(){const _0x48a2b4=['revisionSetName','render','locale','createCollection','unhighlight','setTemplate','385526jOyGqI','39TyaatE','map','_requireRevisionName','flat','select','_revisionActions','addRevision','ck-disabled','14KXEHcw','some','1725336avTYak','add','290552ptHlct','revisionSelected','removeRevision','find','set','revisionViews','5173880YShENG','fire','ck-revision-history-sidebar__timeline','uiLanguage','deselect','setName','ck-revision-history-sidebar','startDate','get','11asFBre','highlightRevisions','_revisions','234997SCfXvh','22287820OTPhLg','createdAt','getTime','_removeRevision','delegate','599895rAyaIH','isEnabled','40vFQWNi','remove','timePeriodViews','_getTimePeriodViewByStartDate','selectRevision','bindTemplate','ck-reset','highlight','ck-rounded-corners','div','_addRevision'];_0x1897=function(){return _0x48a2b4;};return _0x1897();}const _0x539b1b=_0x2c9d;(function(_0x26ef92,_0x23fc02){const _0x40f4c4=_0x2c9d,_0x31ed1e=_0x26ef92();while(!![]){try{const _0x227fe3=parseInt(_0x40f4c4(0xa5))/0x1+-parseInt(_0x40f4c4(0xbe))/0x2+parseInt(_0x40f4c4(0xbf))/0x3*(-parseInt(_0x40f4c4(0xcb))/0x4)+-parseInt(_0x40f4c4(0x99))/0x5+parseInt(_0x40f4c4(0xc9))/0x6*(parseInt(_0x40f4c4(0xc7))/0x7)+parseInt(_0x40f4c4(0xad))/0x8*(-parseInt(_0x40f4c4(0xab))/0x9)+parseInt(_0x40f4c4(0xa6))/0xa*(parseInt(_0x40f4c4(0xa2))/0xb);if(_0x227fe3===_0x23fc02)break;else _0x31ed1e['push'](_0x31ed1e['shift']());}catch(_0x1bd458){_0x31ed1e['push'](_0x31ed1e['shift']());}}}(_0x1897,0x82517));import{View as _0x12269e}from'ckeditor5/src/ui.js';function _0x2c9d(_0x27e31b,_0x24c80d){const _0x18976f=_0x1897();return _0x2c9d=function(_0x2c9d9a,_0x467362){_0x2c9d9a=_0x2c9d9a-0x98;let _0x22e6b1=_0x18976f[_0x2c9d9a];return _0x22e6b1;},_0x2c9d(_0x27e31b,_0x24c80d);}import{RevisionsSidebarTimePeriodView as _0x1661b7}from'./revisionssidebartimeperiodview.js';import{RevisionsSidebarHeaderView as _0x233535}from'./revisionssidebarheaderview.js';import{getDateTimePeriodInfo as _0x3f86bd}from'./utils.js';import'../../../theme/revisionssidebar/revisionssidebar.css';export class RevisionsSidebarView extends _0x12269e{[_0x539b1b(0xaf)];[_0x539b1b(0xa4)];[_0x539b1b(0xc4)];[_0x539b1b(0xc1)];constructor(_0x4752cd,_0x4274f4,_0x1cf0cb,_0x5d8e93){const _0x47fc83=_0x539b1b;super(_0x4752cd);const _0x4aa4dc=this[_0x47fc83(0xb2)];this[_0x47fc83(0xaf)]=this[_0x47fc83(0xbb)](),this[_0x47fc83(0xaf)][_0x47fc83(0xaa)](_0x47fc83(0xc3))['to'](this),this[_0x47fc83(0xaf)][_0x47fc83(0xaa)](_0x47fc83(0x9e))['to'](this),this[_0x47fc83(0xa4)]=_0x4274f4,this[_0x47fc83(0xc4)]=_0x1cf0cb,this[_0x47fc83(0xc1)]=_0x5d8e93,this['on'](_0x47fc83(0xc3),(_0x55964f,_0x458d9d)=>{const _0x2dd43c=_0x47fc83;this[_0x2dd43c(0x9a)](_0x2dd43c(0xcc),_0x458d9d);}),this['on'](_0x47fc83(0x9e),(_0x2d4061,_0x5eb3bc)=>{const _0x59c96e=_0x47fc83;this[_0x59c96e(0x9a)](_0x59c96e(0xb8),_0x5eb3bc);}),this[_0x47fc83(0xcf)](_0x47fc83(0xac),!0x1),this[_0x47fc83(0xbd)]({'tag':_0x47fc83(0xb6),'attributes':{'class':['ck',_0x47fc83(0xb3),_0x47fc83(0xb5),_0x47fc83(0x9f)]},'children':[new _0x233535(_0x4752cd),{'tag':_0x47fc83(0xb6),'attributes':{'class':['ck',_0x47fc83(0x9b),_0x4aa4dc['if'](_0x47fc83(0xac),_0x47fc83(0xc6),_0x4d4454=>!_0x4d4454)]},'children':this[_0x47fc83(0xaf)]}]});}[_0x539b1b(0xb9)](){const _0x1c1bd3=_0x539b1b;super[_0x1c1bd3(0xb9)]();for(const _0x5cedb0 of this[_0x1c1bd3(0xa4)])this[_0x1c1bd3(0xb7)](_0x5cedb0);this[_0x1c1bd3(0xa4)]['on'](_0x1c1bd3(0xca),(_0x3dac06,_0xbb2037)=>{const _0x16d1da=_0x1c1bd3;this[_0x16d1da(0xb7)](_0xbb2037);}),this[_0x1c1bd3(0xa4)]['on'](_0x1c1bd3(0xae),(_0x2f56d0,_0x5bbccc)=>{const _0x4000ad=_0x1c1bd3;this[_0x4000ad(0xa9)](_0x5bbccc);});}get[_0x539b1b(0x98)](){const _0x432a73=_0x539b1b;return this[_0x432a73(0xaf)][_0x432a73(0xc0)](_0x3d8ce9=>_0x3d8ce9[_0x432a73(0x98)][_0x432a73(0xc0)](_0x40dd2e=>_0x40dd2e))[_0x432a73(0xc2)]();}[_0x539b1b(0xb1)](_0x5a55dd){const _0xbfa6d7=_0x539b1b;for(const _0x26d809 of this[_0xbfa6d7(0x98)])_0x5a55dd&&_0x5a55dd['id']===_0x26d809['id']?_0x26d809[_0xbfa6d7(0xc3)]():_0x26d809[_0xbfa6d7(0x9d)]();}[_0x539b1b(0xa3)](_0x178cdd){const _0x115c45=_0x539b1b;for(const _0x3f03ba of this[_0x115c45(0x98)])_0x178cdd[_0x115c45(0xc8)](({id:_0x3a6bfe})=>_0x3a6bfe===_0x3f03ba['id'])?_0x3f03ba[_0x115c45(0xb4)]():_0x3f03ba[_0x115c45(0xbc)]();}[_0x539b1b(0xb7)](_0x999de6){const _0x3429d2=_0x539b1b,_0x27d620=_0x3f86bd(_0x999de6[_0x3429d2(0xa7)],this[_0x3429d2(0xba)][_0x3429d2(0x9c)])[_0x3429d2(0xa0)];let _0x437dfa=this[_0x3429d2(0xaf)][_0x3429d2(0xa1)](0x0);_0x437dfa&&_0x437dfa[_0x3429d2(0xa0)][_0x3429d2(0xa8)]()===_0x27d620[_0x3429d2(0xa8)]()||(_0x437dfa=new _0x1661b7(this[_0x3429d2(0xba)],_0x27d620,this[_0x3429d2(0xc4)],this[_0x3429d2(0xc1)]),this[_0x3429d2(0xaf)][_0x3429d2(0xca)](_0x437dfa)),_0x437dfa[_0x3429d2(0xc5)](_0x999de6);}[_0x539b1b(0xa9)](_0x862093){const _0x53ca1f=_0x539b1b,_0x58d6a3=_0x3f86bd(_0x862093[_0x53ca1f(0xa7)],this[_0x53ca1f(0xba)][_0x53ca1f(0x9c)])[_0x53ca1f(0xa0)];this[_0x53ca1f(0xb0)](_0x58d6a3)[_0x53ca1f(0xcd)](_0x862093);}[_0x539b1b(0xb0)](_0x50bd12){const _0x3c7c36=_0x539b1b;return this[_0x3c7c36(0xaf)][_0x3c7c36(0xce)](_0x3253d2=>_0x3253d2[_0x3c7c36(0xa0)][_0x3c7c36(0xa8)]()===_0x50bd12[_0x3c7c36(0xa8)]());}}
|