@ckeditor/ckeditor5-revision-history 47.0.0-alpha.9 → 47.0.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/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/revisionviewerloadingoverlay.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.0.0
|
|
3
|
+
"version": "47.0.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.0.0
|
|
43
|
-
"@ckeditor/ckeditor5-collaboration-core": "47.0.0
|
|
44
|
-
"@ckeditor/ckeditor5-comments": "47.0.0
|
|
45
|
-
"@ckeditor/ckeditor5-core": "47.0.0
|
|
46
|
-
"@ckeditor/ckeditor5-editor-classic": "47.0.0
|
|
47
|
-
"@ckeditor/ckeditor5-engine": "47.0.0
|
|
48
|
-
"@ckeditor/ckeditor5-icons": "47.0.0
|
|
49
|
-
"@ckeditor/ckeditor5-ui": "47.0.0
|
|
50
|
-
"@ckeditor/ckeditor5-utils": "47.0.0
|
|
42
|
+
"@ckeditor/ckeditor5-autosave": "47.0.0",
|
|
43
|
+
"@ckeditor/ckeditor5-collaboration-core": "47.0.0",
|
|
44
|
+
"@ckeditor/ckeditor5-comments": "47.0.0",
|
|
45
|
+
"@ckeditor/ckeditor5-core": "47.0.0",
|
|
46
|
+
"@ckeditor/ckeditor5-editor-classic": "47.0.0",
|
|
47
|
+
"@ckeditor/ckeditor5-engine": "47.0.0",
|
|
48
|
+
"@ckeditor/ckeditor5-icons": "47.0.0",
|
|
49
|
+
"@ckeditor/ckeditor5-ui": "47.0.0",
|
|
50
|
+
"@ckeditor/ckeditor5-utils": "47.0.0",
|
|
51
51
|
"@types/luxon": "3.6.2",
|
|
52
|
-
"ckeditor5": "47.0.0
|
|
53
|
-
"ckeditor5-collaboration": "47.0.0
|
|
52
|
+
"ckeditor5": "47.0.0",
|
|
53
|
+
"ckeditor5-collaboration": "47.0.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(_0x14b8c6,_0x30de31){const _0x268e7f=_0x2723,_0x1c589a=_0x14b8c6();while(!![]){try{const _0x576f37=-parseInt(_0x268e7f(0xf9))/0x1*(parseInt(_0x268e7f(0xf4))/0x2)+-parseInt(_0x268e7f(0x10b))/0x3+parseInt(_0x268e7f(0xf3))/0x4*(parseInt(_0x268e7f(0x104))/0x5)+-parseInt(_0x268e7f(0x10f))/0x6*(parseInt(_0x268e7f(0xf2))/0x7)+parseInt(_0x268e7f(0x106))/0x8+-parseInt(_0x268e7f(0x11a))/0x9+-parseInt(_0x268e7f(0x113))/0xa*(-parseInt(_0x268e7f(0x101))/0xb);if(_0x576f37===_0x30de31)break;else _0x1c589a['push'](_0x1c589a['shift']());}catch(_0x36b83f){_0x1c589a['push'](_0x1c589a['shift']());}}}(_0x5db8,0xb0c6b));import{Collection as _0x3c9b85}from'ckeditor5/src/utils.js';import{IconThreeVerticalDots as _0x3ca27d}from'ckeditor5/src/icons.js';function _0x5db8(){const _0x46ed6d=['name','action','find','extendTemplate','2997690lJCyEL','children','buttonView','set','816972qgLkHN','Name\x20this\x20revision','stopPropagation','change:isActionsDropdownOpen','9430eqruaz','locale','map','listenTo','source','ck-revision-history-sidebar__revision__actions','function','2548557nFbdWE','isActionsDropdownOpen','model','menu','listView','Restore\x20this\x20revision','bindTemplate','bind','execute','first','14Fjihdr','6252AfLtPs','6iynTGs','add','isOpen','isVisible','_action','257914vnNTrQ','menuitem','Show\x20more\x20items','isEnabled','Compare\x20against\x20selected','button','panelPosition','isReady','21274JDYKVs','ck-on','items','830bUHYax','class','7754592BXDRFN'];_0x5db8=function(){return _0x46ed6d;};return _0x5db8();}function _0x2723(_0x47abe7,_0x40708f){const _0x5db8d0=_0x5db8();return _0x2723=function(_0x272392,_0x5e9c6d){_0x272392=_0x272392-0xeb;let _0x249e5e=_0x5db8d0[_0x272392];return _0x249e5e;},_0x2723(_0x47abe7,_0x40708f);}import{UIModel as _0x2dde20,addListToDropdown as _0x56cdd8,createDropdown as _0x548037}from'ckeditor5/src/ui.js';import{getTranslation as _0x43e2ed}from'../../utils/common-translations.js';import'../../../theme/revision/revisionactions.css';export function createActionsDropdownView(_0xb19995,_0x2c23d5){const _0x39f47f=_0x2723,_0x2698b7=_0xb19995[_0x39f47f(0xee)],_0x23d1a2=_0xb19995[_0x39f47f(0x114)],_0x233879=_0x548037(_0x23d1a2);_0x233879[_0x39f47f(0xff)]='sw';const _0x37f442=function(_0x15d320,_0xac302f){const _0x6afc88=_0x39f47f,_0x14e426=function(_0x4c57df,_0x1d9953){const _0x25ce05=_0x2723,_0x3e7a30=_0x4c57df[_0x25ce05(0x114)],_0x15e284={'Compare\x20against\x20selected':_0x43e2ed(_0x3e7a30,_0x25ce05(0xfd)),'Name\x20this\x20revision':_0x43e2ed(_0x3e7a30,_0x25ce05(0x110)),'Restore\x20this\x20revision':_0x43e2ed(_0x3e7a30,_0x25ce05(0xed))};return _0x1d9953[_0x25ce05(0x115)](_0x4b55b5=>{const _0x28fe7d=_0x25ce05,_0x78d15=_0x15e284[_0x4b55b5[_0x28fe7d(0x107)]];return _0x78d15&&_0x78d15!==_0x4b55b5[_0x28fe7d(0x107)]&&(_0x4b55b5[_0x28fe7d(0x107)]=_0x78d15),_0x4b55b5;});}(_0x15d320,_0xac302f),_0x5b958f=new _0x3c9b85();for(const _0x20507d of _0x14e426){const _0x3f678={'type':_0x6afc88(0xfe),'model':new _0x2dde20({'label':_0x20507d[_0x6afc88(0x107)],'class':_0x20507d[_0x6afc88(0x105)],'withText':!0x0,'role':_0x6afc88(0xfa),'_action':_0x20507d[_0x6afc88(0x108)]})};_0x3f678[_0x6afc88(0x11c)][_0x6afc88(0xef)](_0x6afc88(0xfc))['to'](_0x15d320,_0x6afc88(0x11b),_0x303bf3=>_0x6afc88(0x119)!=typeof _0x20507d[_0x6afc88(0xfc)]||(!_0x303bf3||_0x20507d[_0x6afc88(0xfc)](_0x15d320))),_0x5b958f[_0x6afc88(0xf5)](_0x3f678);}return _0x5b958f;}(_0xb19995,_0x2c23d5);return _0xb19995[_0x39f47f(0xef)](_0x39f47f(0x11b))['to'](_0x233879,_0x39f47f(0xf6)),_0x233879[_0x39f47f(0x10d)][_0x39f47f(0x10e)]({'label':_0x43e2ed(_0x23d1a2,_0x39f47f(0xfb)),'tooltip':!0x0,'tooltipPosition':'sw','icon':_0x3ca27d}),_0x233879[_0x39f47f(0x10a)]({'attributes':{'class':[_0x39f47f(0x118),_0x2698b7['if'](_0x39f47f(0x11b),_0x39f47f(0x102))]},'on':{'click':_0x2698b7['to'](_0x4d7ed1=>_0x4d7ed1[_0x39f47f(0x111)]())}}),_0x233879['on'](_0x39f47f(0xf0),_0x3fd80e=>{const _0x4154db=_0x39f47f;_0xb19995[_0x4154db(0x100)]&&_0x4154db(0x119)==typeof _0x3fd80e[_0x4154db(0x117)][_0x4154db(0xf8)]&&_0x3fd80e[_0x4154db(0x117)][_0x4154db(0xf8)](_0xb19995);}),_0x56cdd8(_0x233879,_0x37f442,{'role':_0x39f47f(0xeb)}),_0x233879[_0x39f47f(0x116)](_0xb19995,_0x39f47f(0x112),(_0x144b2a,_0x3456ec,_0x4bc4d2)=>{const _0x4c2aab=_0x39f47f;if(_0x4bc4d2)for(const _0x2f4571 of _0x233879[_0x4c2aab(0xec)][_0x4c2aab(0x103)]){const _0x16d266=_0x2f4571[_0x4c2aab(0x10c)][_0x4c2aab(0xf1)],_0x4c3e46=_0x2c23d5[_0x4c2aab(0x109)](_0x30e2b8=>_0x30e2b8[_0x4c2aab(0x108)]===_0x16d266[_0x4c2aab(0xf8)])[_0x4c2aab(0xf7)];_0x2f4571[_0x4c2aab(0xf7)]=void 0x0===_0x4c3e46||_0x4c3e46(_0xb19995);}}),_0x233879;}
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
(function(
|
|
23
|
+
function _0x36c0(){const _0x2c8556=['ck-revision-history-sidebar__revision-author__name','1506KCDVkW','span','setTemplate','push','312983woGJth','2158324PbWUKN','11809nPmBpi','0\x200\x2011\x2010','1206XRryek','1015095vkkkJe','name','1873090CVDpYY','ck-revision-history-sidebar__revision-author_creator','ck-revision-history-sidebar__revision-author','214574bvmDGP','set','Revision\x20creator','93760BVtMaX','Revision\x20author'];_0x36c0=function(){return _0x2c8556;};return _0x36c0();}(function(_0x21c254,_0x737810){const _0x4745e9=_0x448d,_0x185e2f=_0x21c254();while(!![]){try{const _0x459448=parseInt(_0x4745e9(0x124))/0x1+parseInt(_0x4745e9(0x12e))/0x2+-parseInt(_0x4745e9(0x129))/0x3+-parseInt(_0x4745e9(0x125))/0x4+-parseInt(_0x4745e9(0x12b))/0x5+-parseInt(_0x4745e9(0x134))/0x6*(parseInt(_0x4745e9(0x126))/0x7)+parseInt(_0x4745e9(0x131))/0x8*(parseInt(_0x4745e9(0x128))/0x9);if(_0x459448===_0x737810)break;else _0x185e2f['push'](_0x185e2f['shift']());}catch(_0x14ed7a){_0x185e2f['push'](_0x185e2f['shift']());}}}(_0x36c0,0x4cd7d));import{View as _0x38ce61,IconView as _0x2f41e2}from'ckeditor5/src/ui.js';function _0x448d(_0x2f36fd,_0x395876){const _0x36c0ec=_0x36c0();return _0x448d=function(_0x448d3b,_0x5e70d1){_0x448d3b=_0x448d3b-0x123;let _0x2c361c=_0x36c0ec[_0x448d3b];return _0x2c361c;},_0x448d(_0x2f36fd,_0x395876);}import{IconUser as _0x52ddd7}from'ckeditor5/src/icons.js';import{getTranslation as _0x2f1c5f}from'../../utils/common-translations.js';import'../../../theme/revision/revisionauthor.css';export class RevisionAuthorView extends _0x38ce61{constructor(_0x419577,_0x5e3a08,_0x40b710){const _0x91ed78=_0x448d;super(_0x419577);const _0x19eb8e=new _0x2f41e2();_0x19eb8e[_0x91ed78(0x12f)]({'content':_0x52ddd7,'viewBox':_0x91ed78(0x127)});const _0x546cf4=['ck',_0x91ed78(0x12d)];_0x40b710&&_0x546cf4[_0x91ed78(0x123)](_0x91ed78(0x12c));const _0x25c606=[{'tag':_0x91ed78(0x135),'attributes':{'class':['ck',_0x91ed78(0x133)],'title':_0x2f1c5f(_0x419577,_0x40b710?_0x91ed78(0x130):_0x91ed78(0x132))},'children':[_0x19eb8e,_0x5e3a08[_0x91ed78(0x12a)]]}];this[_0x91ed78(0x136)]({'tag':'li','attributes':{'class':_0x546cf4},'children':_0x25c606});}}
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
const
|
|
23
|
+
const _0x44b8ae=_0x4b78;(function(_0x507ed4,_0x17f434){const _0x1487d2=_0x4b78,_0x299159=_0x507ed4();while(!![]){try{const _0x3fe447=parseInt(_0x1487d2(0x13b))/0x1*(-parseInt(_0x1487d2(0x141))/0x2)+-parseInt(_0x1487d2(0x12c))/0x3*(-parseInt(_0x1487d2(0x134))/0x4)+parseInt(_0x1487d2(0x142))/0x5+-parseInt(_0x1487d2(0x136))/0x6+parseInt(_0x1487d2(0x139))/0x7+parseInt(_0x1487d2(0x145))/0x8+-parseInt(_0x1487d2(0x12a))/0x9*(-parseInt(_0x1487d2(0x13c))/0xa);if(_0x3fe447===_0x17f434)break;else _0x299159['push'](_0x299159['shift']());}catch(_0x51023a){_0x299159['push'](_0x299159['shift']());}}}(_0x436d,0xc7f8f));import{LabeledFieldView as _0x542359}from'ckeditor5/src/ui.js';function _0x436d(){const _0x2ac352=['element','117BIQagN','_updateTooltipText','3EwihSC','scrollWidth','destroy','render','listenTo','ck-revision-history-sidebar__revision-name','placeholder','input','4891348sExQxy','bindTemplate','8577120ohmOeD','_resizeObserver','clientWidth','3278478gNiDaf','extendTemplate','3701UozGuw','772490pWkJSf','fieldView','set','Revision\x20name','_tooltipString','434YRrQaf','1451505milHDD','ck-tooltip_multi-line','span','527960YrsFIx','value','Enter\x20the\x20revision\x20name'];_0x436d=function(){return _0x2ac352;};return _0x436d();}function _0x4b78(_0x383185,_0x2603fa){const _0x436da9=_0x436d();return _0x4b78=function(_0x4b782f,_0x369544){_0x4b782f=_0x4b782f-0x127;let _0x57b47b=_0x436da9[_0x4b782f];return _0x57b47b;},_0x4b78(_0x383185,_0x2603fa);}import{ResizeObserver as _0x5df50b}from'ckeditor5/src/utils.js';import{getTranslation as _0x3c6315}from'../../utils/common-translations.js';import'../../../theme/revision/revisionname.css';export class RevisionNameView extends _0x542359{[_0x44b8ae(0x137)]=null;constructor(_0x5bc55d,_0x489c30){const _0x56e636=_0x44b8ae;super(_0x5bc55d,_0x489c30);const _0xdb5fd6=this[_0x56e636(0x135)];this[_0x56e636(0x13e)]({'label':_0x3c6315(_0x5bc55d,_0x56e636(0x13f)),'_tooltipString':''}),this[_0x56e636(0x13d)][_0x56e636(0x132)]=_0x3c6315(_0x5bc55d,_0x56e636(0x128)),this[_0x56e636(0x13a)]({'tag':_0x56e636(0x144),'attributes':{'class':[_0x56e636(0x131)],'data-cke-tooltip-text':_0xdb5fd6['to'](_0x56e636(0x140)),'data-cke-tooltip-position':'s','data-cke-tooltip-class':_0x56e636(0x143)}});}[_0x44b8ae(0x12f)](){const _0x12acb4=_0x44b8ae;super[_0x12acb4(0x12f)](),this[_0x12acb4(0x137)]=new _0x5df50b(this[_0x12acb4(0x13d)][_0x12acb4(0x129)],()=>this[_0x12acb4(0x12b)]()),this[_0x12acb4(0x130)](this[_0x12acb4(0x13d)],_0x12acb4(0x133),()=>this[_0x12acb4(0x12b)]());}[_0x44b8ae(0x12e)](){const _0x30b754=_0x44b8ae;super[_0x30b754(0x12e)](),this[_0x30b754(0x137)]&&this[_0x30b754(0x137)][_0x30b754(0x12e)]();}[_0x44b8ae(0x12b)](){const _0x1001f4=_0x44b8ae,_0x59ad30=this[_0x1001f4(0x13d)][_0x1001f4(0x129)];this[_0x1001f4(0x140)]=_0x59ad30[_0x1001f4(0x12d)]>_0x59ad30[_0x1001f4(0x138)]&&_0x59ad30[_0x1001f4(0x127)]||'';}}
|
|
@@ -20,5 +20,5 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
const
|
|
24
|
-
|
|
23
|
+
const _0x3acc24=_0x23fc;(function(_0x305b87,_0x1c1301){const _0x241b26=_0x23fc,_0x5a9b72=_0x305b87();while(!![]){try{const _0x3a5a63=parseInt(_0x241b26(0x1a2))/0x1*(parseInt(_0x241b26(0x172))/0x2)+parseInt(_0x241b26(0x191))/0x3*(-parseInt(_0x241b26(0x160))/0x4)+-parseInt(_0x241b26(0x195))/0x5*(parseInt(_0x241b26(0x183))/0x6)+-parseInt(_0x241b26(0x163))/0x7*(-parseInt(_0x241b26(0x192))/0x8)+parseInt(_0x241b26(0x16a))/0x9*(-parseInt(_0x241b26(0x184))/0xa)+-parseInt(_0x241b26(0x190))/0xb+-parseInt(_0x241b26(0x188))/0xc*(-parseInt(_0x241b26(0x16f))/0xd);if(_0x3a5a63===_0x1c1301)break;else _0x5a9b72['push'](_0x5a9b72['shift']());}catch(_0x5e87d3){_0x5a9b72['push'](_0x5a9b72['shift']());}}}(_0x52a7,0x92d7b));import{View as _0x470a8f,createLabeledInputText as _0x18855b}from'ckeditor5/src/ui.js';function _0x52a7(){const _0x5cb246=['unshift','5117090LJDpoz','78UOemjx','384824keXspO','revisionNameView','isSelected','37025LhDspQ','ck-revision-history-sidebar__revision-wrapper_confirmation_visible','fire','ck-revision-history-sidebar__revision__date','.ck-confirm-view','filter','setName','set','isActionsDropdownOpen','ck-revision-history-sidebar__revision','uiLanguage','createdAt','setTemplate','39AaaUSf','_createdAtFormatted','70804bFCZGG','ck-revision-history-sidebar__revision-wrapper','isReady','133pWRAKS','_requireRevisionName','revisionActionsView','highlight','closest','authors','length','9BGJRYC','element','220','bind','ck-revision-history-sidebar__revision__controls-wrapper','95615ElsXcb','ck-revision-history-sidebar__revision_selected','name','10418oHawmq','from','ck-disabled','ck-revision-history-sidebar__revision_highlighted','unhighlight','isHighlighted','ck-revision-history-sidebar__actions_dropdown_open','ck-reset','extendTemplate','fieldView','change','bindTemplate','ck-revision-history-sidebar__revision-authors','srcElement','div','isConfirm','select','858cyUgIB','7892950YtYhgL','value','listenTo','_revision','3684cGBvtS','span','render','deselect','isEnabled','creator','map'];_0x52a7=function(){return _0x5cb246;};return _0x52a7();}import{ConfirmMixin as _0x4d0efc}from'ckeditor5-collaboration/src/collaboration-core.js';import{RevisionNameView as _0x62c920}from'./revisionnameview.js';import{RevisionAuthorView as _0x38c18f}from'./revisionauthorview.js';import{dateToPrettyFormat as _0x279780}from'./utils.js';import{createActionsDropdownView as _0x3a9076}from'./createrevisionactionsdropdown.js';import'../../../theme/revision/revision.css';function _0x23fc(_0x89564a,_0x43836a){const _0x52a73c=_0x52a7();return _0x23fc=function(_0x23fc03,_0x3d038b){_0x23fc03=_0x23fc03-0x15f;let _0x13e5e8=_0x52a73c[_0x23fc03];return _0x13e5e8;},_0x23fc(_0x89564a,_0x43836a);}export class RevisionView extends/* #__PURE__ -- @preserve */
|
|
24
|
+
_0x4d0efc(_0x470a8f){['id'];[_0x3acc24(0x193)];[_0x3acc24(0x165)];[_0x3acc24(0x187)];[_0x3acc24(0x164)];constructor(_0xa9978f,_0x16fe7b,_0x19ce65,_0x5c1152){const _0x54e6ff=_0x3acc24;super(_0xa9978f);const _0x40d47c=this[_0x54e6ff(0x17d)],_0x276551=function(_0x12c039,_0xb4c9b5){const _0x1d1c57=_0x54e6ff,_0x1fea39=Array[_0x1d1c57(0x173)](_0xb4c9b5[_0x1d1c57(0x168)])[_0x1d1c57(0x19a)](_0x3088a9=>_0x3088a9!=_0xb4c9b5[_0x1d1c57(0x18d)]);return _0xb4c9b5[_0x1d1c57(0x18d)]&&_0x1fea39[_0x1d1c57(0x18f)](_0xb4c9b5[_0x1d1c57(0x18d)]),_0x1fea39[_0x1d1c57(0x18e)](_0xe7320a=>new _0x38c18f(_0x12c039,_0xe7320a,_0xe7320a==_0xb4c9b5[_0x1d1c57(0x18d)]));}(_0xa9978f,_0x16fe7b);this['id']=_0x16fe7b['id'],this[_0x54e6ff(0x187)]=_0x16fe7b,this[_0x54e6ff(0x164)]=_0x5c1152,this[_0x54e6ff(0x16d)](_0x54e6ff(0x171),_0x54e6ff(0x1a0))['to'](_0x16fe7b),this[_0x54e6ff(0x16d)](_0x54e6ff(0x15f))['to'](this,_0x54e6ff(0x1a0),_0x12625a=>_0x279780(_0xa9978f[_0x54e6ff(0x19f)],_0x12625a)),this[_0x54e6ff(0x19c)](_0x54e6ff(0x194),!0x1),this[_0x54e6ff(0x19c)](_0x54e6ff(0x177),!0x1),this[_0x54e6ff(0x19c)](_0x54e6ff(0x19d),!0x1),this[_0x54e6ff(0x19c)](_0x54e6ff(0x162),!0x1),this[_0x54e6ff(0x19c)](_0x54e6ff(0x18c),!0x1),this[_0x54e6ff(0x193)]=new _0x62c920(_0xa9978f,_0x18855b),this[_0x54e6ff(0x193)][_0x54e6ff(0x17b)][_0x54e6ff(0x17a)]({'attributes':{'maxlength':_0x54e6ff(0x16c)}}),this[_0x54e6ff(0x193)][_0x54e6ff(0x17b)][_0x54e6ff(0x16d)](_0x54e6ff(0x185))['to'](this,_0x54e6ff(0x171),_0xdcc517=>_0xdcc517||this[_0x54e6ff(0x15f)]),this[_0x54e6ff(0x193)][_0x54e6ff(0x16d)](_0x54e6ff(0x18c))['to'](this,_0x54e6ff(0x194),this,_0x54e6ff(0x18c),(_0x3ce60b,_0x357cc8)=>_0x3ce60b&&_0x357cc8),this[_0x54e6ff(0x165)]=_0x19ce65&&_0x19ce65[_0x54e6ff(0x169)]?_0x3a9076(this,_0x19ce65):'',this[_0x54e6ff(0x165)]&&this[_0x54e6ff(0x165)][_0x54e6ff(0x16d)](_0x54e6ff(0x18c))['to'](this),this[_0x54e6ff(0x1a1)]({'tag':_0x54e6ff(0x180),'attributes':{'class':['ck',_0x54e6ff(0x179),_0x54e6ff(0x161),_0x40d47c['if'](_0x54e6ff(0x181),_0x54e6ff(0x196))]},'children':[{'tag':_0x54e6ff(0x180),'attributes':{'class':['ck',_0x54e6ff(0x179),_0x54e6ff(0x19e),_0x40d47c['if'](_0x54e6ff(0x18c),_0x54e6ff(0x174),_0x2ed6ec=>!_0x2ed6ec),_0x40d47c['if'](_0x54e6ff(0x194),_0x54e6ff(0x170)),_0x40d47c['if'](_0x54e6ff(0x177),_0x54e6ff(0x175)),_0x40d47c['if'](_0x54e6ff(0x19d),_0x54e6ff(0x178))]},'children':[this[_0x54e6ff(0x193)],{'tag':_0x54e6ff(0x189),'attributes':{'class':['ck',_0x54e6ff(0x198)]},'children':[{'text':_0x40d47c['to'](_0x54e6ff(0x15f))}]},{'tag':_0x54e6ff(0x180),'attributes':{'class':['ck',_0x54e6ff(0x16e)]},'children':[{'tag':'ul','attributes':{'class':['ck',_0x54e6ff(0x17e)]},'children':_0x276551}]},this[_0x54e6ff(0x165)]],'on':{'click':_0x40d47c['to'](_0x20871b=>{const _0x13e064=_0x54e6ff;_0x20871b[_0x13e064(0x17f)][_0x13e064(0x167)](_0x13e064(0x199))||this[_0x13e064(0x162)]&&this[_0x13e064(0x18c)]&&this[_0x13e064(0x197)](_0x13e064(0x182),{'id':this['id']});})}}]});}[_0x3acc24(0x18a)](){const _0x2d3358=_0x3acc24;super[_0x2d3358(0x18a)]();const _0x5b64b3=this[_0x2d3358(0x193)][_0x2d3358(0x17b)][_0x2d3358(0x16b)];this[_0x2d3358(0x186)](_0x5b64b3,_0x2d3358(0x17c),()=>{const _0x492bec=_0x2d3358;this[_0x492bec(0x164)]&&!_0x5b64b3[_0x492bec(0x185)]||this[_0x492bec(0x197)](_0x492bec(0x19b),{'id':this['id'],'name':_0x5b64b3[_0x492bec(0x185)]}),_0x5b64b3[_0x492bec(0x185)]||(_0x5b64b3[_0x492bec(0x185)]=this[_0x492bec(0x171)]?this[_0x492bec(0x171)]:this[_0x492bec(0x15f)]);});}[_0x3acc24(0x182)](){const _0x4f48f3=_0x3acc24;this[_0x4f48f3(0x194)]=!0x0;}[_0x3acc24(0x18b)](){const _0x5354b8=_0x3acc24;this[_0x5354b8(0x194)]=!0x1;}[_0x3acc24(0x166)](){const _0x1ab2f1=_0x3acc24;this[_0x1ab2f1(0x177)]=!0x0;}[_0x3acc24(0x176)](){const _0x538320=_0x3acc24;this[_0x538320(0x177)]=!0x1;}}
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
|
|
23
|
+
const _0x38ba92=_0x57d8;(function(_0x52daa5,_0x195e0e){const _0x473feb=_0x57d8,_0x17afaa=_0x52daa5();while(!![]){try{const _0x210c77=-parseInt(_0x473feb(0x17c))/0x1*(-parseInt(_0x473feb(0x17b))/0x2)+parseInt(_0x473feb(0x16f))/0x3+-parseInt(_0x473feb(0x181))/0x4*(parseInt(_0x473feb(0x175))/0x5)+-parseInt(_0x473feb(0x171))/0x6+parseInt(_0x473feb(0x179))/0x7*(-parseInt(_0x473feb(0x183))/0x8)+-parseInt(_0x473feb(0x16c))/0x9+parseInt(_0x473feb(0x17a))/0xa;if(_0x210c77===_0x195e0e)break;else _0x17afaa['push'](_0x17afaa['shift']());}catch(_0x1909c8){_0x17afaa['push'](_0x17afaa['shift']());}}}(_0x5dd6,0x90dc8));function _0x57d8(_0x368e82,_0x2e7226){const _0x5dd6a6=_0x5dd6();return _0x57d8=function(_0x57d8fb,_0x1d67c7){_0x57d8fb=_0x57d8fb-0x16b;let _0x150736=_0x5dd6a6[_0x57d8fb];return _0x150736;},_0x57d8(_0x368e82,_0x2e7226);}import{View as _0x4a5c29}from'ckeditor5/src/ui.js';function _0x5dd6(){const _0xf3ae54=['7431696fyEhZH','ck-revision-history-sidebar__subrevision-collapser','5695650NYhClF','ck-revision-history-sidebar__subrevision-collapser_collapsed','ck-hidden','165972MGOlhP','true','2434524lcSbli','_isCollapsed','ck-revision-history-sidebar__subrevision-collapser__inner','isVisible','1264465iWtFPm','false','button','toggle','7pSWtyH','27401670xTuBmH','3664rTRnxs','10GyfERh','bindTemplate','setTemplate','set','click','4gZTwmy','span'];_0x5dd6=function(){return _0xf3ae54;};return _0x5dd6();}import'../../../theme/revision/subrevisioncollapser.css';export class SubrevisionCollapserView extends _0x4a5c29{constructor(_0x2ff95a){const _0x58fc9f=_0x57d8;super(_0x2ff95a);const _0xcce26=this[_0x58fc9f(0x17d)];this[_0x58fc9f(0x17f)]({'isVisible':!0x0,'_isCollapsed':!0x0}),this[_0x58fc9f(0x17e)]({'tag':_0x58fc9f(0x182),'attributes':{'class':['ck',_0x58fc9f(0x16b),_0xcce26['if'](_0x58fc9f(0x174),_0x58fc9f(0x16e),_0x1ca710=>!_0x1ca710),_0xcce26['if'](_0x58fc9f(0x172),_0x58fc9f(0x16d))],'role':_0x58fc9f(0x177),'aria-pressed':_0xcce26['to'](_0x58fc9f(0x172),_0x335bb9=>_0x335bb9?_0x58fc9f(0x176):_0x58fc9f(0x170))},'children':[{'tag':_0x58fc9f(0x182),'attributes':{'class':['ck',_0x58fc9f(0x173)]}}],'on':{'click':_0xcce26['to'](_0x58fc9f(0x180))}});}[_0x38ba92(0x178)](){const _0x3fe0da=_0x38ba92;this[_0x3fe0da(0x172)]=!this[_0x3fe0da(0x172)];}}
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
|
|
23
|
+
const _0x1cc10e=_0x5f15;(function(_0x49d556,_0x103ba8){const _0x41595b=_0x5f15,_0x40d1a7=_0x49d556();while(!![]){try{const _0x227963=-parseInt(_0x41595b(0x11d))/0x1+-parseInt(_0x41595b(0x12d))/0x2+parseInt(_0x41595b(0x11f))/0x3*(-parseInt(_0x41595b(0x123))/0x4)+parseInt(_0x41595b(0x11e))/0x5+parseInt(_0x41595b(0x127))/0x6+parseInt(_0x41595b(0x11b))/0x7*(-parseInt(_0x41595b(0x120))/0x8)+parseInt(_0x41595b(0x118))/0x9;if(_0x227963===_0x103ba8)break;else _0x40d1a7['push'](_0x40d1a7['shift']());}catch(_0x2c7f50){_0x40d1a7['push'](_0x40d1a7['shift']());}}}(_0x3628,0x955b5));import{View as _0x273037}from'ckeditor5/src/ui.js';import{RevisionAuthorView as _0x555e14}from'./revisionauthorview.js';import{dateToPrettyFormat as _0x197829}from'./utils.js';function _0x3628(){const _0x134e6a=['ck-revision-history-sidebar__revision-authors','span','uiLanguage','select','bind','124920lPWHCH','ck-reset','_createdAtFormatted','ck-revision-history-sidebar__subrevision','deselect','isSelected','ck-revision-history-sidebar__revision','_parentRevisionId','div','11432340hSLSVM','set','bindTemplate','4515YlRjIa','creator','779646zGIQHL','1922615bcEJtl','118305XaYZht','3544vsUDIL','setTemplate','fire','12btyBtA','ck-revision-history-sidebar__revision_selected','createdAt','ck-revision-history-sidebar__revision__date','1218768dtOWJw'];_0x3628=function(){return _0x134e6a;};return _0x3628();}function _0x5f15(_0x3a559d,_0x571590){const _0x3628dc=_0x3628();return _0x5f15=function(_0x5f1573,_0x14e9d5){_0x5f1573=_0x5f1573-0x115;let _0x40474e=_0x3628dc[_0x5f1573];return _0x40474e;},_0x5f15(_0x3a559d,_0x571590);}import'../../../theme/revision/subrevision.css';export class SubrevisionView extends _0x273037{['id'];[_0x1cc10e(0x116)];constructor(_0x4e1567,_0x44bf70,_0x4121be){const _0x4a6fc9=_0x1cc10e;super(_0x4e1567);const _0x5944f0=this[_0x4a6fc9(0x11a)];this['id']=_0x44bf70['id'],this[_0x4a6fc9(0x12c)](_0x4a6fc9(0x125))['to'](_0x44bf70),this[_0x4a6fc9(0x119)](_0x4a6fc9(0x132),!0x1),this[_0x4a6fc9(0x12c)](_0x4a6fc9(0x12f))['to'](this,_0x4a6fc9(0x125),_0x22f181=>_0x22f181?_0x197829(_0x4e1567[_0x4a6fc9(0x12a)],_0x22f181):void 0x0),this[_0x4a6fc9(0x116)]=_0x4121be,this[_0x4a6fc9(0x121)]({'tag':_0x4a6fc9(0x117),'attributes':{'class':['ck',_0x4a6fc9(0x12e),_0x4a6fc9(0x115),_0x4a6fc9(0x130),_0x5944f0['if'](_0x4a6fc9(0x132),_0x4a6fc9(0x124))]},'children':[{'tag':_0x4a6fc9(0x129),'attributes':{'class':['ck',_0x4a6fc9(0x126)]},'children':[{'text':_0x5944f0['to'](_0x4a6fc9(0x12f))}]},{'tag':'ul','attributes':{'class':['ck',_0x4a6fc9(0x128)]},'children':[new _0x555e14(_0x4e1567,_0x44bf70[_0x4a6fc9(0x11c)],!0x0)]}],'on':{'click':_0x5944f0['to'](this[_0x4a6fc9(0x12b)][_0x4a6fc9(0x12c)](this))}});}[_0x1cc10e(0x12b)](){const _0x24628f=_0x1cc10e;this[_0x24628f(0x132)]=!0x0,this[_0x24628f(0x122)](_0x24628f(0x12b),{'parentId':this[_0x24628f(0x116)]});}[_0x1cc10e(0x131)](){const _0x489124=_0x1cc10e;this[_0x489124(0x132)]=!0x1;}}
|
|
@@ -20,5 +20,5 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
function
|
|
24
|
-
|
|
23
|
+
function _0x48ee(){const _0x116ad8=['add','value','set','optional','arrowdown','form','4373586SXKFGN','stopPropagation','initializeCssTransitionDisablerMixin','focusTracker','_createRevisionNameInput','1270392tXpZiu','422710iDYsVv','trim','44VIoecK','element','keystrokes','220','render','revisionNameInputValue','6LLgCfI','fieldView','1098910iWumPQ','16uArrUz','revisionName','revisionNameInputView','setTemplate','input','locale','2973607pdAodG','listenTo','arrowleft','label','arrowright','8dfxiQi','4018797bMDxCS','Name\x20of\x20the\x20revision','89009xTRxcS','arrowup','focus','extendTemplate','errorText','ck-responsive-form','reset','ck-revision-history-save-revision-form'];_0x48ee=function(){return _0x116ad8;};return _0x48ee();}const _0x3a8b9f=_0x9d33;(function(_0x153243,_0x14c3de){const _0x223479=_0x9d33,_0x488500=_0x153243();while(!![]){try{const _0x1485e6=-parseInt(_0x223479(0x1ff))/0x1*(parseInt(_0x223479(0x1ee))/0x2)+parseInt(_0x223479(0x1e5))/0x3+-parseInt(_0x223479(0x1fc))/0x4*(parseInt(_0x223479(0x1e6))/0x5)+parseInt(_0x223479(0x1e0))/0x6+parseInt(_0x223479(0x1f7))/0x7+parseInt(_0x223479(0x1f1))/0x8*(-parseInt(_0x223479(0x1fd))/0x9)+-parseInt(_0x223479(0x1f0))/0xa*(-parseInt(_0x223479(0x1e8))/0xb);if(_0x1485e6===_0x14c3de)break;else _0x488500['push'](_0x488500['shift']());}catch(_0x488155){_0x488500['push'](_0x488500['shift']());}}}(_0x48ee,0xa7ddf));import{CssTransitionDisablerMixin as _0x556935,LabeledFieldView as _0x4a3376,View as _0x8dba53,createLabeledInputText as _0x49b510,submitHandler as _0x445c5c}from'ckeditor5/src/ui.js';import{FocusTracker as _0x45de7e,KeystrokeHandler as _0xda4413}from'ckeditor5/src/utils.js';import{getTranslation as _0x51adac}from'../../utils/common-translations.js';import'../../../theme/revisionhistorysaverevisionform.css';function _0x9d33(_0x32f599,_0x1c9854){const _0x48eed2=_0x48ee();return _0x9d33=function(_0x9d33ae,_0x17e1e8){_0x9d33ae=_0x9d33ae-0x1da;let _0x29f624=_0x48eed2[_0x9d33ae];return _0x29f624;},_0x9d33(_0x32f599,_0x1c9854);}import'@ckeditor/ckeditor5-ui/theme/components/responsive-form/responsiveform.css';export class RevisionHistorySaveRevisionFormView extends/* #__PURE__ -- @preserve */
|
|
24
|
+
_0x556935(_0x8dba53){[_0x3a8b9f(0x1e3)];[_0x3a8b9f(0x1ea)];[_0x3a8b9f(0x1f3)];constructor(_0x24f542,_0x4917ff){const _0x2eb14d=_0x3a8b9f;super(_0x24f542),this[_0x2eb14d(0x1e3)]=new _0x45de7e(),this[_0x2eb14d(0x1ea)]=new _0xda4413(),this[_0x2eb14d(0x1dc)](_0x2eb14d(0x1ed),''),this[_0x2eb14d(0x1f3)]=this[_0x2eb14d(0x1e4)](_0x4917ff),this[_0x2eb14d(0x1f4)]({'tag':_0x2eb14d(0x1df),'attributes':{'class':['ck',_0x2eb14d(0x206),_0x2eb14d(0x204)],'tabindex':'-1'},'children':[this[_0x2eb14d(0x1f3)]]}),this[_0x2eb14d(0x1e2)]();}[_0x3a8b9f(0x1ec)](){const _0x5ab6b3=_0x3a8b9f;super[_0x5ab6b3(0x1ec)](),_0x445c5c({'view':this}),this[_0x5ab6b3(0x1e3)][_0x5ab6b3(0x1da)](this[_0x5ab6b3(0x1f3)][_0x5ab6b3(0x1e9)]),this[_0x5ab6b3(0x1ea)][_0x5ab6b3(0x1f8)](this[_0x5ab6b3(0x1e9)]);const _0x1b8c3f=_0xe02f8b=>_0xe02f8b[_0x5ab6b3(0x1e1)]();this[_0x5ab6b3(0x1ea)][_0x5ab6b3(0x1dc)](_0x5ab6b3(0x1fb),_0x1b8c3f),this[_0x5ab6b3(0x1ea)][_0x5ab6b3(0x1dc)](_0x5ab6b3(0x1f9),_0x1b8c3f),this[_0x5ab6b3(0x1ea)][_0x5ab6b3(0x1dc)](_0x5ab6b3(0x200),_0x1b8c3f),this[_0x5ab6b3(0x1ea)][_0x5ab6b3(0x1dc)](_0x5ab6b3(0x1de),_0x1b8c3f);}[_0x3a8b9f(0x201)](){const _0x16398a=_0x3a8b9f;this[_0x16398a(0x1f3)][_0x16398a(0x201)]();}get[_0x3a8b9f(0x1f2)](){const _0x1a1fde=_0x3a8b9f;return this[_0x1a1fde(0x1f3)][_0x1a1fde(0x1ef)][_0x1a1fde(0x1e9)][_0x1a1fde(0x1db)][_0x1a1fde(0x1e7)]();}set[_0x3a8b9f(0x1f2)](_0x190690){const _0x2dfb8d=_0x3a8b9f;this[_0x2dfb8d(0x1f3)][_0x2dfb8d(0x1ef)][_0x2dfb8d(0x1e9)][_0x2dfb8d(0x1db)]=_0x190690[_0x2dfb8d(0x1e7)]();}[_0x3a8b9f(0x205)](){const _0x53e890=_0x3a8b9f;this[_0x53e890(0x1f3)][_0x53e890(0x1ef)][_0x53e890(0x1e9)][_0x53e890(0x1db)]='',this[_0x53e890(0x1f3)][_0x53e890(0x203)]=null;}[_0x3a8b9f(0x1e4)](_0x3c6af4){const _0x563e02=_0x3a8b9f,_0x57c5de=new _0x4a3376(this[_0x563e02(0x1f6)],_0x49b510),_0x5d2ffd=_0x57c5de[_0x563e02(0x1ef)];_0x5d2ffd[_0x563e02(0x202)]({'attributes':{'maxlength':_0x563e02(0x1eb)}});let _0x506ba9=_0x51adac(this[_0x563e02(0x1f6)],_0x563e02(0x1fe));return!_0x3c6af4&&(_0x506ba9+='\x20('+_0x51adac(this[_0x563e02(0x1f6)],_0x563e02(0x1dd))+')'),(_0x57c5de[_0x563e02(0x1fa)]=_0x506ba9,_0x5d2ffd['on'](_0x563e02(0x1f5),()=>{const _0x1e9c7d=_0x563e02;this[_0x1e9c7d(0x1ed)]=_0x5d2ffd[_0x1e9c7d(0x1e9)][_0x1e9c7d(0x1db)][_0x1e9c7d(0x1e7)]();}),_0x57c5de);}}
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
function
|
|
23
|
+
function _0xb0b1(_0x18e9bd,_0x175f6f){const _0x470eb2=_0x470e();return _0xb0b1=function(_0xb0b18b,_0x5957d1){_0xb0b18b=_0xb0b18b-0x18d;let _0x3c6942=_0x470eb2[_0xb0b18b];return _0x3c6942;},_0xb0b1(_0x18e9bd,_0x175f6f);}const _0x119283=_0xb0b1;function _0x470e(){const _0x59323f=['config','2721976TmfiKx','editing','revisionSave','showRevisionViewerCallback','items','revisionNameInputView','componentFactory','menuBar:revisionHistory','saveRevision','locale','children','editor','pluginName','isReady','set','show','4819192JJHAoj','addMany','RevisionHistoryUI','focus','The\x20revision\x20name\x20cannot\x20be\x20empty.','view','init','1666930yvWQZP','isOfficialPlugin','panelView','_saveRevisionFormView','RevisionTracker','render','Open\x20revision\x20history','ck-button-action','Revision\x20history','1630315umvCpl','execute','Cancel','plugins','get','hide','3wcSxjk','_createSaveRevisionFormView','reset','role','revisionHistory','submit','372qPRYfA','menu','Save\x20current\x20revision','Accept','revisionName','21469rKDLep','errorText','9qacWKV','Dialog','isReadOnly','isEnabled','add','menuitem','bind','isPremiumPlugin','7177675hRMCQW','revisionHistory.requireRevisionName','isOpen','_registerMenuComponent','buttonView','delegate','267848FqVIBE','requires','_showDialog'];_0x470e=function(){return _0x59323f;};return _0x470e();}(function(_0x567ca9,_0x5e53c6){const _0x244328=_0xb0b1,_0x5b39ec=_0x567ca9();while(!![]){try{const _0x5850d8=-parseInt(_0x244328(0x1c8))/0x1+-parseInt(_0x244328(0x1a4))/0x2+-parseInt(_0x244328(0x1ce))/0x3*(-parseInt(_0x244328(0x1a8))/0x4)+parseInt(_0x244328(0x19e))/0x5+parseInt(_0x244328(0x18f))/0x6*(-parseInt(_0x244328(0x194))/0x7)+parseInt(_0x244328(0x1b8))/0x8+-parseInt(_0x244328(0x196))/0x9*(-parseInt(_0x244328(0x1bf))/0xa);if(_0x5850d8===_0x5e53c6)break;else _0x5b39ec['push'](_0x5b39ec['shift']());}catch(_0x394b50){_0x5b39ec['push'](_0x5b39ec['shift']());}}}(_0x470e,0xe33a8));import{Plugin as _0x1e1b6b}from'ckeditor5/src/core.js';import{IconHistory as _0x1fa7b1}from'ckeditor5/src/icons.js';import{createDropdown as _0x49dac9,ButtonView as _0x1aa47f,ListItemView as _0xb34711,ListView as _0x248262,MenuBarMenuListItemButtonView as _0x5bb410,MenuBarMenuListItemView as _0x26a1a7,MenuBarMenuListView as _0x163e26,MenuBarMenuView as _0x51ab24}from'ckeditor5/src/ui.js';import{RevisionTracker as _0x53f4d0}from'../../revisiontracker.js';import{RevisionHistorySaveRevisionFormView as _0x29cb17}from'./revisionhistorysaverevisionformview.js';import{getTranslation as _0x19b0a3}from'../../utils/common-translations.js';export class RevisionHistoryUI extends _0x1e1b6b{static get[_0x119283(0x1b4)](){const _0x32a5e9=_0x119283;return _0x32a5e9(0x1ba);}static get[_0x119283(0x1c0)](){return!0x0;}static get[_0x119283(0x19d)](){return!0x0;}static get[_0x119283(0x1a5)](){return[_0x53f4d0];}[_0x119283(0x1c2)];[_0x119283(0x1be)](){const _0x50360a=_0x119283,_0x275728=this[_0x50360a(0x1b3)],_0x383f52=_0x275728[_0x50360a(0x1cb)][_0x50360a(0x1cc)](_0x50360a(0x1c3));_0x275728['ui'][_0x50360a(0x1ae)][_0x50360a(0x19a)](_0x50360a(0x18d),_0x91b3fb=>{const _0x87a6c2=_0x50360a,_0x17638b=_0x49dac9(_0x91b3fb),_0x482497=_0x17638b[_0x87a6c2(0x1c1)][_0x87a6c2(0x1b2)],_0x1e9948=new _0x248262(_0x91b3fb),_0x1e61ad=new _0xb34711(_0x91b3fb),_0x2a1a04=new _0x1aa47f(_0x91b3fb),_0x3c3622=new _0xb34711(_0x91b3fb),_0x47854f=new _0x1aa47f(_0x91b3fb);return _0x17638b[_0x87a6c2(0x19c)](_0x87a6c2(0x199))['to'](_0x383f52,_0x87a6c2(0x1b5),_0x383f52,_0x87a6c2(0x199),_0x275728,_0x87a6c2(0x198),(_0x4b2394,_0x39094d,_0x5b8c6e)=>_0x4b2394&&_0x39094d&&!_0x5b8c6e),_0x17638b[_0x87a6c2(0x1a2)][_0x87a6c2(0x1b6)]({'icon':_0x1fa7b1,'label':_0x19b0a3(_0x91b3fb,_0x87a6c2(0x1c7)),'tooltip':!0x0}),_0x2a1a04[_0x87a6c2(0x1b6)]({'label':_0x19b0a3(_0x91b3fb,_0x87a6c2(0x191)),'withText':!0x0,'role':_0x87a6c2(0x19b)}),_0x2a1a04[_0x87a6c2(0x19c)](_0x87a6c2(0x199))['to'](_0x383f52,_0x87a6c2(0x1b5),_0x383f52,_0x87a6c2(0x199),_0x275728,_0x87a6c2(0x198),(_0x1bf031,_0x4596a0,_0x523d00)=>_0x1bf031&&_0x4596a0&&!_0x523d00),_0x2a1a04['on'](_0x87a6c2(0x1c9),()=>this[_0x87a6c2(0x1a6)]()),_0x47854f[_0x87a6c2(0x1b6)]({'label':_0x19b0a3(_0x91b3fb,_0x87a6c2(0x1c5)),'withText':!0x0,'role':_0x87a6c2(0x19b)}),_0x47854f[_0x87a6c2(0x19c)](_0x87a6c2(0x199))['to'](_0x383f52,_0x87a6c2(0x1b5),_0x275728,_0x87a6c2(0x198),(_0x411d2e,_0x1bd79b)=>_0x411d2e&&!_0x1bd79b),_0x47854f['on'](_0x87a6c2(0x1c9),()=>{const _0x55fecb=_0x87a6c2;_0x275728[_0x55fecb(0x1a7)][_0x55fecb(0x1cc)](_0x55fecb(0x18d))[_0x55fecb(0x1ab)](),_0x17638b[_0x55fecb(0x1a0)]=!0x1,_0x275728[_0x55fecb(0x1a9)][_0x55fecb(0x1bd)][_0x55fecb(0x1bb)]();}),_0x1e61ad[_0x87a6c2(0x1b2)][_0x87a6c2(0x19a)](_0x2a1a04),_0x3c3622[_0x87a6c2(0x1b2)][_0x87a6c2(0x19a)](_0x47854f),_0x1e9948[_0x87a6c2(0x1d1)]=_0x87a6c2(0x190),_0x1e9948[_0x87a6c2(0x1ac)][_0x87a6c2(0x1b9)]([_0x1e61ad,_0x3c3622]),_0x482497[_0x87a6c2(0x19a)](_0x1e9948),_0x17638b;}),_0x275728['ui'][_0x50360a(0x1ae)][_0x50360a(0x19a)](_0x50360a(0x1af),()=>this[_0x50360a(0x1a1)]());}[_0x119283(0x1a1)](){const _0x2b5ec3=_0x119283,_0x45ca0e=this[_0x2b5ec3(0x1b3)],_0x355351=_0x45ca0e[_0x2b5ec3(0x1b1)],_0x3b2f9c=new _0x51ab24(_0x355351),_0x27f9cc=new _0x163e26(_0x355351);_0x3b2f9c[_0x2b5ec3(0x1a2)][_0x2b5ec3(0x1b6)]({'icon':_0x1fa7b1,'label':_0x19b0a3(_0x355351,_0x2b5ec3(0x1c7))});const _0x4960b7=new _0x26a1a7(_0x355351,_0x3b2f9c),_0x2b01a4=new _0x5bb410(_0x355351);_0x2b01a4[_0x2b5ec3(0x1b6)]({'label':_0x19b0a3(_0x355351,_0x2b5ec3(0x191))}),_0x2b01a4[_0x2b5ec3(0x1a3)](_0x2b5ec3(0x1c9))['to'](_0x3b2f9c),_0x2b01a4['on'](_0x2b5ec3(0x1c9),()=>{const _0x26b970=_0x2b5ec3;this[_0x26b970(0x1a6)]();}),_0x4960b7[_0x2b5ec3(0x1b2)][_0x2b5ec3(0x19a)](_0x2b01a4),_0x27f9cc[_0x2b5ec3(0x1ac)][_0x2b5ec3(0x19a)](_0x4960b7);const _0x3ed2d2=new _0x26a1a7(_0x355351,_0x3b2f9c),_0x1c8ca3=new _0x5bb410(_0x355351);return _0x1c8ca3[_0x2b5ec3(0x1b6)]({'label':_0x19b0a3(_0x355351,_0x2b5ec3(0x1c5))}),_0x1c8ca3[_0x2b5ec3(0x1a3)](_0x2b5ec3(0x1c9))['to'](_0x3b2f9c),_0x1c8ca3['on'](_0x2b5ec3(0x1c9),()=>{const _0x396650=_0x2b5ec3;_0x45ca0e[_0x396650(0x1a7)][_0x396650(0x1cc)](_0x396650(0x18d))[_0x396650(0x1ab)]();}),_0x3ed2d2[_0x2b5ec3(0x1b2)][_0x2b5ec3(0x19a)](_0x1c8ca3),_0x27f9cc[_0x2b5ec3(0x1ac)][_0x2b5ec3(0x19a)](_0x3ed2d2),_0x3b2f9c[_0x2b5ec3(0x1c1)][_0x2b5ec3(0x1b2)][_0x2b5ec3(0x19a)](_0x27f9cc),_0x3b2f9c;}[_0x119283(0x1a6)](){const _0x42cd43=_0x119283,_0x3264db=this[_0x42cd43(0x1b3)],_0x5ab2be=_0x3264db[_0x42cd43(0x1b1)],_0x358c30=_0x3264db[_0x42cd43(0x1cb)][_0x42cd43(0x1cc)](_0x42cd43(0x197)),_0x51bcf4=_0x3264db[_0x42cd43(0x1cb)][_0x42cd43(0x1cc)](_0x42cd43(0x1c3));function _0x328511(_0x27e01a){const _0x2d99f3=_0x42cd43;_0x3264db[_0x2d99f3(0x1a7)][_0x2d99f3(0x1cc)](_0x2d99f3(0x19f))&&''===_0x27e01a[_0x2d99f3(0x193)]?_0x27e01a[_0x2d99f3(0x1ad)][_0x2d99f3(0x195)]=_0x19b0a3(_0x5ab2be,_0x2d99f3(0x1bc)):(_0x3264db[_0x2d99f3(0x1cb)][_0x2d99f3(0x1cc)](_0x53f4d0)[_0x2d99f3(0x1b0)]({'name':_0x27e01a[_0x2d99f3(0x193)]}),_0x358c30[_0x2d99f3(0x1cd)]());}this[_0x42cd43(0x1c2)]||(this[_0x42cd43(0x1cf)](),this[_0x42cd43(0x1c2)]['on'](_0x42cd43(0x18e),()=>_0x328511(this[_0x42cd43(0x1c2)]))),this[_0x42cd43(0x1c2)][_0x42cd43(0x1d0)](),_0x358c30[_0x42cd43(0x1b7)]({'id':_0x42cd43(0x1aa),'title':_0x19b0a3(_0x5ab2be,_0x42cd43(0x191)),'isModal':!0x0,'content':this[_0x42cd43(0x1c2)],'actionButtons':[{'label':_0x19b0a3(_0x3264db[_0x42cd43(0x1b1)],_0x42cd43(0x1ca)),'withText':!0x0,'onExecute':()=>_0x358c30[_0x42cd43(0x1cd)]()},{'label':_0x19b0a3(_0x3264db[_0x42cd43(0x1b1)],_0x42cd43(0x192)),'class':_0x42cd43(0x1c6),'withText':!0x0,'onCreate'(_0x19aaeb){const _0x45a5e3=_0x42cd43;_0x19aaeb[_0x45a5e3(0x19c)](_0x45a5e3(0x199))['to'](_0x51bcf4,_0x45a5e3(0x1b5),_0x51bcf4,_0x45a5e3(0x199),_0x3264db,_0x45a5e3(0x198),(_0x5ba994,_0x162aeb,_0x29cf13)=>_0x5ba994&&_0x162aeb&&!_0x29cf13);},'onExecute':()=>_0x328511(this[_0x42cd43(0x1c2)])}]});}[_0x119283(0x1cf)](){const _0x3f96b1=_0x119283,_0x864c8b=this[_0x3f96b1(0x1b3)],_0x2b2882=_0x864c8b[_0x3f96b1(0x1b1)];this[_0x3f96b1(0x1c2)]=new _0x29cb17(_0x2b2882,_0x864c8b[_0x3f96b1(0x1a7)][_0x3f96b1(0x1cc)](_0x3f96b1(0x19f))),this[_0x3f96b1(0x1c2)][_0x3f96b1(0x1c4)]();}}
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
(function(
|
|
23
|
+
function _0x4019(){const _0x12e879=['ck-revision-history-sidebar__header','976840APdnAs','span','ck-revision-history-sidebar__header__label','384yuQzIk','8286PaFYky','Revision\x20history','content','ck-reset_all','311721jdcTRO','9wFVkel','197ZXHgzc','div','916795CSncog','8549272WhBXZf','setTemplate','3842555xHuqNU','20CdyXcF','84GplVBw','167988edTupQ'];_0x4019=function(){return _0x12e879;};return _0x4019();}(function(_0x2c7c98,_0x14b49e){const _0x3aeadc=_0x573d,_0x2b3d8f=_0x2c7c98();while(!![]){try{const _0x1e4c59=-parseInt(_0x3aeadc(0xe7))/0x1*(-parseInt(_0x3aeadc(0xe1))/0x2)+parseInt(_0x3aeadc(0xe5))/0x3*(parseInt(_0x3aeadc(0xed))/0x4)+parseInt(_0x3aeadc(0xec))/0x5+-parseInt(_0x3aeadc(0xdb))/0x6*(-parseInt(_0x3aeadc(0xee))/0x7)+parseInt(_0x3aeadc(0xea))/0x8*(parseInt(_0x3aeadc(0xe6))/0x9)+-parseInt(_0x3aeadc(0xdd))/0xa+-parseInt(_0x3aeadc(0xe9))/0xb*(parseInt(_0x3aeadc(0xe0))/0xc);if(_0x1e4c59===_0x14b49e)break;else _0x2b3d8f['push'](_0x2b3d8f['shift']());}catch(_0x226c6d){_0x2b3d8f['push'](_0x2b3d8f['shift']());}}}(_0x4019,0xb5ac0));import{View as _0x3419de,IconView as _0x36c357}from'ckeditor5/src/ui.js';import{getTranslation as _0x29751f}from'../../utils/common-translations.js';import{IconHistory as _0x230327}from'ckeditor5/src/icons.js';import'../../../theme/revisionssidebar/revisionssidebarheader.css';function _0x573d(_0xd9e7e6,_0x23b149){const _0x4019e2=_0x4019();return _0x573d=function(_0x573d2f,_0x5e156f){_0x573d2f=_0x573d2f-0xdb;let _0x28273e=_0x4019e2[_0x573d2f];return _0x28273e;},_0x573d(_0xd9e7e6,_0x23b149);}export class RevisionsSidebarHeaderView extends _0x3419de{constructor(_0xb9e3c3){const _0x4f665e=_0x573d;super(_0xb9e3c3);const _0x2bc5a5=new _0x36c357();_0x2bc5a5[_0x4f665e(0xe3)]=_0x230327,this[_0x4f665e(0xeb)]({'tag':_0x4f665e(0xe8),'attributes':{'class':['ck',_0x4f665e(0xe4),_0x4f665e(0xdc)]},'children':[_0x2bc5a5,{'tag':_0x4f665e(0xde),'attributes':{'class':['ck',_0x4f665e(0xdf)]},'children':[_0x29751f(_0xb9e3c3,_0x4f665e(0xe2))]}]});}}
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
const
|
|
23
|
+
const _0x377e1a=_0x4e10;function _0x45f6(){const _0x27c2ff=['22003938DGJkCo','startDate','revisionViews','9021873XzJQCb','add','2691186XuNnIL','ck-revision-history-sidebar__time-period','280914CxksOb','1124788QdohMJ','12NdVEbA','5tXpNIE','locale','removeRevision','setName','setTemplate','ck-revision-history-sidebar__time-period__label','uiLanguage','find','42171xtmHoq','9212272IYABgD','addRevision','localizedPeriodName','_requireRevisionName','span','createCollection','ck-revision-history-sidebar__time-period__revisions','div','remove','delegate','select','_revisionActions'];_0x45f6=function(){return _0x27c2ff;};return _0x45f6();}(function(_0x25b2ef,_0x457ff0){const _0x2aec71=_0x4e10,_0x423a7c=_0x25b2ef();while(!![]){try{const _0x566a66=parseInt(_0x2aec71(0x16b))/0x1*(-parseInt(_0x2aec71(0x162))/0x2)+parseInt(_0x2aec71(0x15e))/0x3+parseInt(_0x2aec71(0x161))/0x4+-parseInt(_0x2aec71(0x163))/0x5*(-parseInt(_0x2aec71(0x160))/0x6)+parseInt(_0x2aec71(0x15c))/0x7+parseInt(_0x2aec71(0x16c))/0x8+-parseInt(_0x2aec71(0x159))/0x9;if(_0x566a66===_0x457ff0)break;else _0x423a7c['push'](_0x423a7c['shift']());}catch(_0x3b1c91){_0x423a7c['push'](_0x423a7c['shift']());}}}(_0x45f6,0xec377));import{View as _0x2bb441}from'ckeditor5/src/ui.js';import{RevisionView as _0x51e3b6}from'../revision/revisionview.js';function _0x4e10(_0x641918,_0x1e76ac){const _0x45f657=_0x45f6();return _0x4e10=function(_0x4e10b8,_0x2704b4){_0x4e10b8=_0x4e10b8-0x156;let _0x1c53de=_0x45f657[_0x4e10b8];return _0x1c53de;},_0x4e10(_0x641918,_0x1e76ac);}import{getDateTimePeriodInfo as _0x55ae23}from'./utils.js';import'../../../theme/revisionssidebar/revisionssidebartimeperiod.css';export class RevisionsSidebarTimePeriodView extends _0x2bb441{[_0x377e1a(0x15a)];[_0x377e1a(0x15b)];[_0x377e1a(0x158)];[_0x377e1a(0x16f)];constructor(_0x5f0ec0,_0x199855,_0x1e703f,_0x4ba53f){const _0x5c92a2=_0x377e1a;super(_0x5f0ec0);const _0x65e0dc=_0x55ae23(_0x199855,this[_0x5c92a2(0x164)][_0x5c92a2(0x169)])[_0x5c92a2(0x16e)];this[_0x5c92a2(0x15a)]=_0x199855,this[_0x5c92a2(0x15b)]=this[_0x5c92a2(0x171)](),this[_0x5c92a2(0x158)]=_0x1e703f,this[_0x5c92a2(0x16f)]=_0x4ba53f,this[_0x5c92a2(0x15b)][_0x5c92a2(0x156)](_0x5c92a2(0x157))['to'](this),this[_0x5c92a2(0x15b)][_0x5c92a2(0x156)](_0x5c92a2(0x166))['to'](this),this[_0x5c92a2(0x167)]({'tag':_0x5c92a2(0x173),'attributes':{'class':['ck',_0x5c92a2(0x15f)]},'children':[{'tag':_0x5c92a2(0x170),'attributes':{'class':['ck',_0x5c92a2(0x168)]},'children':[{'text':_0x65e0dc}]},{'tag':_0x5c92a2(0x173),'attributes':{'class':['ck',_0x5c92a2(0x172)]},'children':this[_0x5c92a2(0x15b)]}]});}[_0x377e1a(0x16d)](_0x31bbf1){const _0x1bc1ad=_0x377e1a,_0x2d83f9=new _0x51e3b6(this[_0x1bc1ad(0x164)],_0x31bbf1,this[_0x1bc1ad(0x158)],this[_0x1bc1ad(0x16f)]);this[_0x1bc1ad(0x15b)][_0x1bc1ad(0x15d)](_0x2d83f9);}[_0x377e1a(0x165)](_0x178eb8){const _0x8ba582=_0x377e1a,_0x219f1c=this[_0x8ba582(0x15b)][_0x8ba582(0x16a)](_0x1ffc89=>_0x1ffc89['id']===_0x178eb8['id']);this[_0x8ba582(0x15b)][_0x8ba582(0x174)](_0x219f1c);}}
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
const
|
|
23
|
+
const _0x3539fd=_0x326a;(function(_0x5c5560,_0x132e05){const _0x3fe380=_0x326a,_0xadcc61=_0x5c5560();while(!![]){try{const _0x3c8578=parseInt(_0x3fe380(0x17b))/0x1*(-parseInt(_0x3fe380(0x188))/0x2)+parseInt(_0x3fe380(0x17a))/0x3*(parseInt(_0x3fe380(0x182))/0x4)+parseInt(_0x3fe380(0x176))/0x5+-parseInt(_0x3fe380(0x19f))/0x6*(parseInt(_0x3fe380(0x197))/0x7)+-parseInt(_0x3fe380(0x1a0))/0x8*(-parseInt(_0x3fe380(0x178))/0x9)+-parseInt(_0x3fe380(0x195))/0xa+-parseInt(_0x3fe380(0x194))/0xb;if(_0x3c8578===_0x132e05)break;else _0xadcc61['push'](_0xadcc61['shift']());}catch(_0x81c1d0){_0xadcc61['push'](_0xadcc61['shift']());}}}(_0x4c8c,0xbcb0c));import{View as _0x592d61}from'ckeditor5/src/ui.js';import{RevisionsSidebarTimePeriodView as _0x58d77b}from'./revisionssidebartimeperiodview.js';import{RevisionsSidebarHeaderView as _0xbf8884}from'./revisionssidebarheaderview.js';import{getDateTimePeriodInfo as _0x47e21f}from'./utils.js';function _0x326a(_0x11591d,_0x1737dc){const _0x4c8cab=_0x4c8c();return _0x326a=function(_0x326a01,_0x194a9f){_0x326a01=_0x326a01-0x175;let _0x2c74c8=_0x4c8cab[_0x326a01];return _0x2c74c8;},_0x326a(_0x11591d,_0x1737dc);}import'../../../theme/revisionssidebar/revisionssidebar.css';export class RevisionsSidebarView extends _0x592d61{[_0x3539fd(0x187)];[_0x3539fd(0x19b)];[_0x3539fd(0x18a)];[_0x3539fd(0x185)];constructor(_0x2083d2,_0x46a9d1,_0x190200,_0x36a90f){const _0x5a024c=_0x3539fd;super(_0x2083d2);const _0x1b6982=this[_0x5a024c(0x183)];this[_0x5a024c(0x187)]=this[_0x5a024c(0x19d)](),this[_0x5a024c(0x187)][_0x5a024c(0x1ac)](_0x5a024c(0x1a5))['to'](this),this[_0x5a024c(0x187)][_0x5a024c(0x1ac)](_0x5a024c(0x1a4))['to'](this),this[_0x5a024c(0x19b)]=_0x46a9d1,this[_0x5a024c(0x18a)]=_0x190200,this[_0x5a024c(0x185)]=_0x36a90f,this['on'](_0x5a024c(0x1a5),(_0x77a47d,_0x20d339)=>{const _0x51025c=_0x5a024c;this[_0x51025c(0x18c)](_0x51025c(0x17e),_0x20d339);}),this['on'](_0x5a024c(0x1a4),(_0x15efb9,_0xf0648f)=>{const _0x22dcce=_0x5a024c;this[_0x22dcce(0x18c)](_0x22dcce(0x18d),_0xf0648f);}),this[_0x5a024c(0x191)](_0x5a024c(0x179),!0x1),this[_0x5a024c(0x18b)]({'tag':_0x5a024c(0x19c),'attributes':{'class':['ck',_0x5a024c(0x1ab),_0x5a024c(0x190),_0x5a024c(0x177)]},'children':[new _0xbf8884(_0x2083d2),{'tag':_0x5a024c(0x19c),'attributes':{'class':['ck',_0x5a024c(0x17d),_0x1b6982['if'](_0x5a024c(0x179),_0x5a024c(0x18e),_0x4b9573=>!_0x4b9573)]},'children':this[_0x5a024c(0x187)]}]});}[_0x3539fd(0x18f)](){const _0x1cbe50=_0x3539fd;super[_0x1cbe50(0x18f)]();for(const _0x5d4278 of this[_0x1cbe50(0x19b)])this[_0x1cbe50(0x198)](_0x5d4278);this[_0x1cbe50(0x19b)]['on'](_0x1cbe50(0x180),(_0x1eb9b9,_0x379085)=>{const _0xf2e869=_0x1cbe50;this[_0xf2e869(0x198)](_0x379085);}),this[_0x1cbe50(0x19b)]['on'](_0x1cbe50(0x1a6),(_0x50b0c8,_0x28d65f)=>{const _0x185af7=_0x1cbe50;this[_0x185af7(0x189)](_0x28d65f);});}get[_0x3539fd(0x193)](){const _0x2a2d23=_0x3539fd;return this[_0x2a2d23(0x187)][_0x2a2d23(0x1a1)](_0x1adfa7=>_0x1adfa7[_0x2a2d23(0x193)][_0x2a2d23(0x1a1)](_0x2599d9=>_0x2599d9))[_0x2a2d23(0x186)]();}[_0x3539fd(0x17f)](_0x4e5053){const _0x4c9514=_0x3539fd;for(const _0x80064d of this[_0x4c9514(0x193)])_0x4e5053&&_0x4e5053['id']===_0x80064d['id']?_0x80064d[_0x4c9514(0x1a5)]():_0x80064d[_0x4c9514(0x1a8)]();}[_0x3539fd(0x1a7)](_0x58fb91){const _0x49fa1e=_0x3539fd;for(const _0x3e8ee3 of this[_0x49fa1e(0x193)])_0x58fb91[_0x49fa1e(0x1a3)](({id:_0x3a3029})=>_0x3a3029===_0x3e8ee3['id'])?_0x3e8ee3[_0x49fa1e(0x19a)]():_0x3e8ee3[_0x49fa1e(0x17c)]();}[_0x3539fd(0x198)](_0x1fdcfe){const _0x35b8fb=_0x3539fd,_0x5cb19f=_0x47e21f(_0x1fdcfe[_0x35b8fb(0x184)],this[_0x35b8fb(0x175)][_0x35b8fb(0x1a9)])[_0x35b8fb(0x199)];let _0x202319=this[_0x35b8fb(0x187)][_0x35b8fb(0x1a2)](0x0);_0x202319&&_0x202319[_0x35b8fb(0x199)][_0x35b8fb(0x1aa)]()===_0x5cb19f[_0x35b8fb(0x1aa)]()||(_0x202319=new _0x58d77b(this[_0x35b8fb(0x175)],_0x5cb19f,this[_0x35b8fb(0x18a)],this[_0x35b8fb(0x185)]),this[_0x35b8fb(0x187)][_0x35b8fb(0x180)](_0x202319)),_0x202319[_0x35b8fb(0x196)](_0x1fdcfe);}[_0x3539fd(0x189)](_0x504a77){const _0x642820=_0x3539fd,_0x2d6a18=_0x47e21f(_0x504a77[_0x642820(0x184)],this[_0x642820(0x175)][_0x642820(0x1a9)])[_0x642820(0x199)];this[_0x642820(0x19e)](_0x2d6a18)[_0x642820(0x181)](_0x504a77);}[_0x3539fd(0x19e)](_0x20d179){const _0x24ee95=_0x3539fd;return this[_0x24ee95(0x187)][_0x24ee95(0x192)](_0x543e18=>_0x543e18[_0x24ee95(0x199)][_0x24ee95(0x1aa)]()===_0x20d179[_0x24ee95(0x1aa)]());}}function _0x4c8c(){const _0x21dc96=['66569uSTpac','unhighlight','ck-revision-history-sidebar__timeline','revisionSelected','selectRevision','add','removeRevision','738212mYPFVf','bindTemplate','createdAt','_requireRevisionName','flat','timePeriodViews','30Ggvmjb','_removeRevision','_revisionActions','setTemplate','fire','revisionSetName','ck-disabled','render','ck-rounded-corners','set','find','revisionViews','11398761nxUOBn','866850XTsTgP','addRevision','55727MZsEkD','_addRevision','startDate','highlight','_revisions','div','createCollection','_getTimePeriodViewByStartDate','1158AdCVOI','5988984jEyiiX','map','get','some','setName','select','remove','highlightRevisions','deselect','uiLanguage','getTime','ck-reset','delegate','locale','7285750DsScCm','ck-revision-history-sidebar','18RiRHWm','isEnabled','24FZkHuf'];_0x4c8c=function(){return _0x21dc96;};return _0x4c8c();}
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
function
|
|
23
|
+
function _0x32bc(_0x45289a,_0x5b73b4){const _0x4bfc40=_0x4bfc();return _0x32bc=function(_0x32bc5,_0x4a1da1){_0x32bc5=_0x32bc5-0x1c4;let _0xd47a16=_0x4bfc40[_0x32bc5];return _0xd47a16;},_0x32bc(_0x45289a,_0x5b73b4);}const _0x528672=_0x32bc;(function(_0x1e3bd7,_0x2af807){const _0x364fdc=_0x32bc,_0x411ef8=_0x1e3bd7();while(!![]){try{const _0x18d9db=parseInt(_0x364fdc(0x1ca))/0x1*(-parseInt(_0x364fdc(0x1cd))/0x2)+-parseInt(_0x364fdc(0x1cc))/0x3*(-parseInt(_0x364fdc(0x1d2))/0x4)+parseInt(_0x364fdc(0x1c8))/0x5*(-parseInt(_0x364fdc(0x1d4))/0x6)+parseInt(_0x364fdc(0x1df))/0x7+parseInt(_0x364fdc(0x1cb))/0x8+parseInt(_0x364fdc(0x1e1))/0x9*(parseInt(_0x364fdc(0x1c9))/0xa)+-parseInt(_0x364fdc(0x1d0))/0xb*(parseInt(_0x364fdc(0x1dd))/0xc);if(_0x18d9db===_0x2af807)break;else _0x411ef8['push'](_0x411ef8['shift']());}catch(_0x4106a9){_0x411ef8['push'](_0x411ef8['shift']());}}}(_0x4bfc,0x80491));import{View as _0x50ae25}from'ckeditor5/src/ui.js';function _0x4bfc(){const _0x4bf4bb=['changeId','div','9330497kKnyzA','setTemplate','52fXZpZN','set','102wHfqmJ','ck-revision-change','author','span','bindTemplate','element','type','ck-annotation','name','12pjozUP','_model','1539265lPNuJJ','focus','790605jsVFlo','Suggested\x20by','ck-revision-change__label','ck-revision-change__','Removed\x20by','add','Added\x20by','isSuggestion','data','257635hlHivH','100KYVgFn','822QvWEHw','5911072YbbaOc','229854yNWdXP','1420kxinRa'];_0x4bfc=function(){return _0x4bf4bb;};return _0x4bfc();}import{getTranslation as _0x1f6ae6}from'../../utils/common-translations.js';export class ChangeDetailsView extends _0x50ae25{[_0x528672(0x1ce)];[_0x528672(0x1de)];constructor(_0x160fc8,_0x55f7d){const _0x4bf11a=_0x528672;super(_0x160fc8),this[_0x4bf11a(0x1de)]=_0x55f7d,this[_0x4bf11a(0x1ce)]=_0x55f7d['id'];const _0x5ca593=this[_0x4bf11a(0x1d8)],_0x6d85f=_0x1f6ae6(_0x160fc8,_0x55f7d[_0x4bf11a(0x1c7)][_0x4bf11a(0x1c6)]?_0x4bf11a(0x1e2):_0x4bf11a(0x1c4)==_0x55f7d[_0x4bf11a(0x1da)]?_0x4bf11a(0x1c5):_0x4bf11a(0x1e5));this[_0x4bf11a(0x1d3)](_0x4bf11a(0x1da),_0x55f7d[_0x4bf11a(0x1da)]),this[_0x4bf11a(0x1d1)]({'tag':_0x4bf11a(0x1cf),'attributes':{'class':[_0x4bf11a(0x1db),_0x4bf11a(0x1d5),_0x5ca593['to'](_0x4bf11a(0x1da),_0x5eb93a=>_0x4bf11a(0x1e4)+_0x5eb93a)],'tabindex':-0x1},'children':[{'tag':_0x4bf11a(0x1d7),'children':[{'tag':_0x4bf11a(0x1d7),'attributes':{'class':[_0x4bf11a(0x1e3)]},'children':[{'text':_0x6d85f}]},{'text':'\x20'+_0x55f7d[_0x4bf11a(0x1d6)][_0x4bf11a(0x1dc)]}]}]});}[_0x528672(0x1e0)](){const _0x1ce3f5=_0x528672;this[_0x1ce3f5(0x1d9)][_0x1ce3f5(0x1e0)]();}}
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
(function(
|
|
23
|
+
(function(_0x4bd910,_0x39e822){const _0x1cce33=_0x16fa,_0x54bf8c=_0x4bd910();while(!![]){try{const _0xeede2e=parseInt(_0x1cce33(0x17b))/0x1*(parseInt(_0x1cce33(0x176))/0x2)+parseInt(_0x1cce33(0x180))/0x3+-parseInt(_0x1cce33(0x168))/0x4*(-parseInt(_0x1cce33(0x18b))/0x5)+-parseInt(_0x1cce33(0x172))/0x6+-parseInt(_0x1cce33(0x171))/0x7*(parseInt(_0x1cce33(0x16e))/0x8)+parseInt(_0x1cce33(0x17e))/0x9*(-parseInt(_0x1cce33(0x16a))/0xa)+parseInt(_0x1cce33(0x175))/0xb;if(_0xeede2e===_0x39e822)break;else _0x54bf8c['push'](_0x54bf8c['shift']());}catch(_0x2d80cc){_0x54bf8c['push'](_0x54bf8c['shift']());}}}(_0x2bb4,0xc4ade));import{View as _0x8a8c9f,ButtonView as _0x3d6276,ToolbarSeparatorView as _0x5ccc23}from'ckeditor5/src/ui.js';import{IconChevronUp as _0x1d3c0e,IconChevronDown as _0x4eec82}from'ckeditor5/src/icons.js';import{getTranslation as _0x35aefe}from'../../utils/common-translations.js';import'../../../theme/changesnavigation.css';export class ChangesNavigationView extends _0x8a8c9f{constructor(_0x4005e5){const _0x7bcf1b=_0x16fa;super(_0x4005e5);const _0x3eee0b=this[_0x7bcf1b(0x183)],_0x49731a=new _0x3d6276(_0x4005e5),_0xc69da9=new _0x3d6276(_0x4005e5);this[_0x7bcf1b(0x184)](_0x7bcf1b(0x174),!0x1),this[_0x7bcf1b(0x184)](_0x7bcf1b(0x179),!0x1),this[_0x7bcf1b(0x184)](_0x7bcf1b(0x18f),0x0),this[_0x7bcf1b(0x184)](_0x7bcf1b(0x182),0x0),this[_0x7bcf1b(0x184)](_0x7bcf1b(0x18a),!0x1),this[_0x7bcf1b(0x184)](_0x7bcf1b(0x186),!0x1),this[_0x7bcf1b(0x17c)](_0x7bcf1b(0x188))['to'](this,_0x7bcf1b(0x179),this,_0x7bcf1b(0x182),(_0x23cb91,_0x57dc51)=>_0x23cb91&&_0x57dc51>0x0),this[_0x7bcf1b(0x17c)](_0x7bcf1b(0x187))['to'](this,_0x7bcf1b(0x179),this,_0x7bcf1b(0x18f),this,_0x7bcf1b(0x182),this,_0x7bcf1b(0x174),(_0x3a2201,_0x2cf5a0,_0x2f3ce1,_0x2a4c75)=>{const _0xbfc4fe=_0x7bcf1b;if(!_0x3a2201)return _0x35aefe(_0x4005e5,_0xbfc4fe(0x16f));if(!_0x2f3ce1)return _0x35aefe(_0x4005e5,_0xbfc4fe(0x169));const _0xecbab0=_0x35aefe(_0x4005e5,_0xbfc4fe(0x178),_0x2f3ce1);return _0x2a4c75?_0x35aefe(_0x4005e5,_0xbfc4fe(0x177),[_0x2cf5a0+0x1,_0x2f3ce1]):_0xecbab0;}),_0x49731a[_0x7bcf1b(0x184)]({'label':_0x35aefe(_0x4005e5,_0x7bcf1b(0x170)),'tooltip':!0x0,'icon':_0x1d3c0e}),_0xc69da9[_0x7bcf1b(0x184)]({'label':_0x35aefe(_0x4005e5,_0x7bcf1b(0x190)),'tooltip':!0x0,'icon':_0x4eec82}),_0x49731a[_0x7bcf1b(0x17c)](_0x7bcf1b(0x193))['to'](this,_0x7bcf1b(0x186)),_0xc69da9[_0x7bcf1b(0x17c)](_0x7bcf1b(0x193))['to'](this,_0x7bcf1b(0x18a)),_0x49731a['on'](_0x7bcf1b(0x185),()=>this[_0x7bcf1b(0x18c)](_0x7bcf1b(0x185),_0x7bcf1b(0x17d))),_0xc69da9['on'](_0x7bcf1b(0x185),()=>this[_0x7bcf1b(0x18c)](_0x7bcf1b(0x185),_0x7bcf1b(0x181))),this[_0x7bcf1b(0x189)]({'tag':_0x7bcf1b(0x16b),'attributes':{'class':['ck',_0x7bcf1b(0x173),_0x7bcf1b(0x16d)]},'children':[{'tag':_0x7bcf1b(0x191),'attributes':{'class':[_0x7bcf1b(0x18e)]},'children':[{'tag':_0x7bcf1b(0x191),'attributes':{'class':[_0x7bcf1b(0x17a),_0x3eee0b['if'](_0x7bcf1b(0x188),_0x7bcf1b(0x16c),_0x345e78=>!_0x345e78)]},'children':[{'text':_0x3eee0b['to'](_0x7bcf1b(0x174),_0x1d5428=>_0x1d5428?_0x35aefe(_0x4005e5,_0x7bcf1b(0x17f))+':\x20':_0x35aefe(_0x4005e5,_0x7bcf1b(0x192))+':\x20')}]},{'text':_0x3eee0b['to'](_0x7bcf1b(0x187))}]},new _0x5ccc23(),{'tag':_0x7bcf1b(0x16b),'attributes':{'class':[_0x7bcf1b(0x18d)]},'children':[_0x49731a,_0xc69da9]}]});}}function _0x16fa(_0x4d617d,_0x2fd05d){const _0x2bb48b=_0x2bb4();return _0x16fa=function(_0x16fa6b,_0x4d1a79){_0x16fa6b=_0x16fa6b-0x168;let _0x583105=_0x2bb48b[_0x16fa6b];return _0x583105;},_0x16fa(_0x4d617d,_0x2fd05d);}function _0x2bb4(){const _0x5ba18c=['set','execute','isBackwardNavigationEnabled','_statusText','_isStatusLabelVisible','setTemplate','isForwardNavigationEnabled','330yXWgsP','fire','ck-revision-history-ui__changes-navigation__navigation','ck-revision-history-ui__changes-navigation__wrapper','currentChangeNumber','Show\x20next\x20change','span','Total','isEnabled','70844rclKxz','No\x20changes','8710VxvLyx','div','ck-hidden','ck-revision-history-ui__changes-navigation','64BNCIII','Loading...','Show\x20previous\x20change','822801xfFCkP','6004422FcWvPw','ck-revision-history-ui','isNavigationMode','10388928JpyYiA','68uCdEUp','X_OF_Y_CHANGES','NUMBER_OF_CHANGES','isReady','ck-revision-history-ui__changes-navigation__label','9357XXpHLs','bind','backward','11151LihiUn','EDIT_X_OF_Y_REVISIONS','4183008vsoprr','forward','numberOfChanges','bindTemplate'];_0x2bb4=function(){return _0x5ba18c;};return _0x2bb4();}
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
const
|
|
23
|
+
const _0x1fea1f=_0x3b34;(function(_0x589e0b,_0x425577){const _0x14b33e=_0x3b34,_0x448115=_0x589e0b();while(!![]){try{const _0x28e1c6=-parseInt(_0x14b33e(0xba))/0x1*(parseInt(_0x14b33e(0xb9))/0x2)+parseInt(_0x14b33e(0xce))/0x3*(parseInt(_0x14b33e(0xc8))/0x4)+parseInt(_0x14b33e(0xcc))/0x5+parseInt(_0x14b33e(0xc7))/0x6*(parseInt(_0x14b33e(0xbd))/0x7)+parseInt(_0x14b33e(0xc5))/0x8+-parseInt(_0x14b33e(0xcb))/0x9+parseInt(_0x14b33e(0xbe))/0xa;if(_0x28e1c6===_0x425577)break;else _0x448115['push'](_0x448115['shift']());}catch(_0x1fa53c){_0x448115['push'](_0x448115['shift']());}}}(_0x25c4,0x54a77));import{Plugin as _0x72a47b}from'ckeditor5/src/core.js';function _0x3b34(_0xffa3bd,_0x18b9b4){const _0x25c469=_0x25c4();return _0x3b34=function(_0x3b34b2,_0x500d46){_0x3b34b2=_0x3b34b2-0xb8;let _0x55113c=_0x25c469[_0x3b34b2];return _0x55113c;},_0x3b34(_0xffa3bd,_0x18b9b4);}const ge=_0x1fea1f(0xc3);import'../../../theme/revisionviewerloadingoverlay.css';export class RevisionViewerLoadingOverlay extends _0x72a47b{static get[_0x1fea1f(0xc9)](){const _0x198b56=_0x1fea1f;return _0x198b56(0xc1);}static get[_0x1fea1f(0xca)](){return!0x0;}static get[_0x1fea1f(0xbf)](){return!0x0;}[_0x1fea1f(0xc6)](){const _0x46a059=_0x1fea1f,_0x26b2f3=this[_0x46a059(0xbb)][_0x46a059(0xcd)][_0x46a059(0xd0)];_0x26b2f3[_0x46a059(0xcf)](_0x5e960c=>{const _0xecebb5=_0x46a059;for(const _0x15f803 of _0x26b2f3[_0xecebb5(0xb8)][_0xecebb5(0xc4)])_0x5e960c[_0xecebb5(0xc0)](ge,_0x15f803);});}[_0x1fea1f(0xbc)](){const _0x40da76=_0x1fea1f,_0x4eb0af=this[_0x40da76(0xbb)][_0x40da76(0xcd)][_0x40da76(0xd0)];_0x4eb0af[_0x40da76(0xcf)](_0x58e67e=>{const _0x23393a=_0x40da76;for(const _0x4c56be of _0x4eb0af[_0x23393a(0xb8)][_0x23393a(0xc4)])_0x58e67e[_0x23393a(0xc2)](ge,_0x4c56be);});}}function _0x25c4(){const _0x2bfbec=['3876168aDKBko','show','193002jNGvWs','166932DNJgcp','pluginName','isOfficialPlugin','4543326XBpnZr','885400wqaCOK','editing','3PtQxbf','change','view','document','4Cbsbzn','123559EAMMgb','editor','hide','77qYUvrJ','415040vaWWgG','isPremiumPlugin','addClass','RevisionViewerLoadingOverlay','removeClass','ck-editor__editable__loading-overlay','roots'];_0x25c4=function(){return _0x2bfbec;};return _0x25c4();}
|