@ckeditor/ckeditor5-revision-history 0.0.0-nightly-20240625.0 → 0.0.0-nightly-20240627.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/build/translations/fa.js +1 -1
- package/build/translations/he.js +1 -1
- package/build/translations/ko.js +1 -1
- package/build/translations/nl.js +1 -1
- package/build/translations/tk.js +1 -1
- package/build/translations/ur.js +1 -1
- package/build/translations/zh-cn.js +1 -1
- package/dist/index.js +6 -6
- package/dist/translations/af.js +1 -1
- package/dist/translations/af.umd.js +1 -1
- package/dist/translations/ar.js +1 -1
- package/dist/translations/ar.umd.js +1 -1
- package/dist/translations/az.js +1 -1
- package/dist/translations/az.umd.js +1 -1
- package/dist/translations/bg.js +1 -1
- package/dist/translations/bg.umd.js +1 -1
- package/dist/translations/bn.js +1 -1
- package/dist/translations/bn.umd.js +1 -1
- package/dist/translations/bs.js +1 -1
- package/dist/translations/bs.umd.js +1 -1
- package/dist/translations/ca.js +1 -1
- package/dist/translations/ca.umd.js +1 -1
- package/dist/translations/cs.js +1 -1
- package/dist/translations/cs.umd.js +1 -1
- package/dist/translations/da.js +1 -1
- package/dist/translations/da.umd.js +1 -1
- package/dist/translations/de-ch.js +1 -1
- package/dist/translations/de-ch.umd.js +1 -1
- package/dist/translations/de.js +1 -1
- package/dist/translations/de.umd.js +1 -1
- package/dist/translations/el.js +1 -1
- package/dist/translations/el.umd.js +1 -1
- package/dist/translations/en-au.js +1 -1
- package/dist/translations/en-au.umd.js +1 -1
- package/dist/translations/en-gb.js +1 -1
- package/dist/translations/en-gb.umd.js +1 -1
- package/dist/translations/en.umd.js +1 -1
- package/dist/translations/es-co.js +1 -1
- package/dist/translations/es-co.umd.js +1 -1
- package/dist/translations/es.js +1 -1
- package/dist/translations/es.umd.js +1 -1
- package/dist/translations/et.js +1 -1
- package/dist/translations/et.umd.js +1 -1
- package/dist/translations/fa.js +1 -1
- package/dist/translations/fa.umd.js +1 -1
- package/dist/translations/fi.js +1 -1
- package/dist/translations/fi.umd.js +1 -1
- package/dist/translations/fr.js +1 -1
- package/dist/translations/fr.umd.js +1 -1
- package/dist/translations/gl.js +1 -1
- package/dist/translations/gl.umd.js +1 -1
- package/dist/translations/he.js +1 -1
- package/dist/translations/he.umd.js +1 -1
- package/dist/translations/hi.js +1 -1
- package/dist/translations/hi.umd.js +1 -1
- package/dist/translations/hr.js +1 -1
- package/dist/translations/hr.umd.js +1 -1
- package/dist/translations/hu.js +1 -1
- package/dist/translations/hu.umd.js +1 -1
- package/dist/translations/id.js +1 -1
- package/dist/translations/id.umd.js +1 -1
- package/dist/translations/it.js +1 -1
- package/dist/translations/it.umd.js +1 -1
- package/dist/translations/ja.js +1 -1
- package/dist/translations/ja.umd.js +1 -1
- package/dist/translations/jv.js +1 -1
- package/dist/translations/jv.umd.js +1 -1
- package/dist/translations/ko.js +1 -1
- package/dist/translations/ko.umd.js +1 -1
- package/dist/translations/ku.js +1 -1
- package/dist/translations/ku.umd.js +1 -1
- package/dist/translations/lt.js +1 -1
- package/dist/translations/lt.umd.js +1 -1
- package/dist/translations/lv.js +1 -1
- package/dist/translations/lv.umd.js +1 -1
- package/dist/translations/ms.js +1 -1
- package/dist/translations/ms.umd.js +1 -1
- package/dist/translations/ne.js +1 -1
- package/dist/translations/ne.umd.js +1 -1
- package/dist/translations/nl.js +1 -1
- package/dist/translations/nl.umd.js +1 -1
- package/dist/translations/no.js +1 -1
- package/dist/translations/no.umd.js +1 -1
- package/dist/translations/pl.js +1 -1
- package/dist/translations/pl.umd.js +1 -1
- package/dist/translations/pt-br.js +1 -1
- package/dist/translations/pt-br.umd.js +1 -1
- package/dist/translations/pt.js +1 -1
- package/dist/translations/pt.umd.js +1 -1
- package/dist/translations/ro.js +1 -1
- package/dist/translations/ro.umd.js +1 -1
- package/dist/translations/ru.js +1 -1
- package/dist/translations/ru.umd.js +1 -1
- package/dist/translations/sk.js +1 -1
- package/dist/translations/sk.umd.js +1 -1
- package/dist/translations/sr-latn.js +1 -1
- package/dist/translations/sr-latn.umd.js +1 -1
- package/dist/translations/sr.js +1 -1
- package/dist/translations/sr.umd.js +1 -1
- package/dist/translations/sv.js +1 -1
- package/dist/translations/sv.umd.js +1 -1
- package/dist/translations/th.js +1 -1
- package/dist/translations/th.umd.js +1 -1
- package/dist/translations/ti.js +1 -1
- package/dist/translations/ti.umd.js +1 -1
- package/dist/translations/tk.js +1 -1
- package/dist/translations/tk.umd.js +1 -1
- package/dist/translations/tr.js +1 -1
- package/dist/translations/tr.umd.js +1 -1
- package/dist/translations/tt.js +1 -1
- package/dist/translations/tt.umd.js +1 -1
- package/dist/translations/ug.js +1 -1
- package/dist/translations/ug.umd.js +1 -1
- package/dist/translations/uk.js +1 -1
- package/dist/translations/uk.umd.js +1 -1
- package/dist/translations/ur.js +1 -1
- package/dist/translations/ur.umd.js +1 -1
- package/dist/translations/vi.js +1 -1
- package/dist/translations/vi.umd.js +1 -1
- package/dist/translations/zh-cn.js +1 -1
- package/dist/translations/zh-cn.umd.js +1 -1
- package/dist/translations/zh.js +1 -1
- package/dist/translations/zh.umd.js +1 -1
- package/dist/types/revisiontracker.d.ts +6 -1
- package/dist/types/revisionviewer.d.ts +82 -0
- package/dist/types/ui/revision/createrevisionactionsdropdown.d.ts +4 -1
- package/dist/types/ui/revision/revisionauthorview.d.ts +9 -0
- package/dist/types/ui/revision/revisionnameview.d.ts +25 -0
- package/dist/types/ui/revisionssidebar/revisionssidebarheaderview.d.ts +11 -0
- package/lang/translations/fa.po +1 -1
- package/lang/translations/he.po +1 -1
- package/lang/translations/ko.po +1 -1
- package/lang/translations/nl.po +1 -1
- package/lang/translations/tk.po +1 -1
- package/lang/translations/ur.po +1 -1
- package/lang/translations/zh-cn.po +1 -1
- package/package.json +5 -5
- package/src/changeitem.js +2 -2
- package/src/editor/revisionviewereditor.js +2 -2
- package/src/editor/revisionviewereditorui.js +1 -1
- package/src/editor/revisionviewereditoruiview.js +1 -1
- package/src/index.js +1 -1
- package/src/revision.js +2 -2
- package/src/revisiondiff.js +1 -1
- package/src/revisionhistory.js +1 -1
- package/src/revisionsrepository.js +1 -1
- package/src/revisiontracker.d.ts +6 -1
- package/src/revisiontracker.js +1 -1
- package/src/revisionviewer.d.ts +82 -0
- package/src/revisionviewer.js +1 -1
- package/src/ui/revision/createrevisionactionsdropdown.d.ts +4 -1
- package/src/ui/revision/createrevisionactionsdropdown.js +1 -1
- package/src/ui/revision/revisionauthorview.d.ts +9 -0
- package/src/ui/revision/revisionauthorview.js +1 -1
- package/src/ui/revision/revisionnameview.d.ts +25 -0
- package/src/ui/revision/revisionnameview.js +1 -1
- package/src/ui/revision/revisionview.js +2 -2
- package/src/ui/revision/subrevisioncollapserview.js +1 -1
- package/src/ui/revision/subrevisionview.js +1 -1
- package/src/ui/revision/utils.js +1 -1
- package/src/ui/revisionhistory/revisionhistorysaverevisionformview.js +1 -1
- package/src/ui/revisionhistory/revisionhistoryui.js +1 -1
- package/src/ui/revisionssidebar/revisionssidebar.js +1 -1
- package/src/ui/revisionssidebar/revisionssidebarheaderview.d.ts +11 -0
- package/src/ui/revisionssidebar/revisionssidebarheaderview.js +1 -1
- package/src/ui/revisionssidebar/revisionssidebartimeperiodview.js +1 -1
- package/src/ui/revisionssidebar/revisionssidebarview.js +1 -1
- package/src/ui/revisionssidebar/utils.js +1 -1
- package/src/ui/revisionviewer/changedetailsview.js +1 -1
- package/src/ui/revisionviewer/changesnavigationview.js +1 -1
- package/src/ui/revisionviewer/revisionviewerloadingoverlay.js +1 -1
- package/src/ui/revisionviewer/revisionviewerui.js +1 -1
- package/src/utils/common-translations.js +1 -1
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
const
|
|
23
|
+
const _0x45f345=_0x2dba;function _0x1b50(){const _0x291acc=['setTemplate','span','170739ssunBx','bindTemplate','ck-revision-history-sidebar__revision','set','ck-revision-history-sidebar__revision-authors','deselect','_parentRevisionId','creator','460195WwDCDl','ck-revision-history-sidebar__revision__date','isSelected','_createdAtFormatted','ck-reset','17896kkUdVw','select','div','5704951gzHHbg','createdAt','5251068XkGoRi','5096280emmBQo','ck-revision-history-sidebar__revision_selected','879054yvRqPW','fire','bind','uiLanguage','70KJmAtG','ck-revision-history-sidebar__subrevision','230DntNcZ','36YBoftG'];_0x1b50=function(){return _0x291acc;};return _0x1b50();}function _0x2dba(_0x55a83c,_0x1cbc76){const _0x1b5027=_0x1b50();return _0x2dba=function(_0x2dba49,_0x466b3c){_0x2dba49=_0x2dba49-0x115;let _0x1edb58=_0x1b5027[_0x2dba49];return _0x1edb58;},_0x2dba(_0x55a83c,_0x1cbc76);}(function(_0x50f2a6,_0x102f46){const _0x44a69f=_0x2dba,_0x56b358=_0x50f2a6();while(!![]){try{const _0x12df1e=parseInt(_0x44a69f(0x11e))/0x1*(parseInt(_0x44a69f(0x12a))/0x2)+-parseInt(_0x44a69f(0x126))/0x3+parseInt(_0x44a69f(0x12d))/0x4*(-parseInt(_0x44a69f(0x119))/0x5)+parseInt(_0x44a69f(0x123))/0x6+-parseInt(_0x44a69f(0x121))/0x7+parseInt(_0x44a69f(0x124))/0x8+parseInt(_0x44a69f(0x130))/0x9*(parseInt(_0x44a69f(0x12c))/0xa);if(_0x12df1e===_0x102f46)break;else _0x56b358['push'](_0x56b358['shift']());}catch(_0x9dcc7e){_0x56b358['push'](_0x56b358['shift']());}}}(_0x1b50,0x9be50));import{View as _0x2a58b7}from'ckeditor5/src/ui.js';import _0x4a5dee from'./revisionauthorview.js';import{dateToPrettyFormat as _0x19a201}from'./utils.js';import'../../../theme/revision/subrevision.css';export default class is extends _0x2a58b7{constructor(_0x2d8222,_0x58e069,_0x2332e9){const _0x4766ee=_0x2dba;super(_0x2d8222);const _0x2a18c6=this[_0x4766ee(0x131)];this['id']=_0x58e069['id'],this[_0x4766ee(0x128)](_0x4766ee(0x122))['to'](_0x58e069),this[_0x4766ee(0x133)](_0x4766ee(0x11b),!0x1),this[_0x4766ee(0x128)](_0x4766ee(0x11c))['to'](this,_0x4766ee(0x122),_0x27e5c=>_0x27e5c?_0x19a201(_0x2d8222[_0x4766ee(0x129)],_0x27e5c):void 0x0),this[_0x4766ee(0x117)]=_0x2332e9,this[_0x4766ee(0x12e)]({'tag':_0x4766ee(0x120),'attributes':{'class':['ck',_0x4766ee(0x11d),_0x4766ee(0x132),_0x4766ee(0x12b),_0x2a18c6['if'](_0x4766ee(0x11b),_0x4766ee(0x125))]},'children':[{'tag':_0x4766ee(0x12f),'attributes':{'class':['ck',_0x4766ee(0x11a)]},'children':[{'text':_0x2a18c6['to'](_0x4766ee(0x11c))}]},{'tag':'ul','attributes':{'class':['ck',_0x4766ee(0x115)]},'children':[new _0x4a5dee(_0x2d8222,_0x58e069[_0x4766ee(0x118)],!0x0)]}],'on':{'click':_0x2a18c6['to'](this[_0x4766ee(0x11f)][_0x4766ee(0x128)](this))}});}[_0x45f345(0x11f)](){const _0x38f9cf=_0x45f345;this[_0x38f9cf(0x11b)]=!0x0,this[_0x38f9cf(0x127)](_0x38f9cf(0x11f),{'parentId':this[_0x38f9cf(0x117)]});}[_0x45f345(0x116)](){const _0x12907e=_0x45f345;this[_0x12907e(0x11b)]=!0x1;}}
|
package/src/ui/revision/utils.js
CHANGED
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
(function(
|
|
23
|
+
function _0x34be(_0x3c8cb2,_0x253562){var _0x1b5ab1=_0x1b5a();return _0x34be=function(_0x34be8c,_0x550bff){_0x34be8c=_0x34be8c-0x19e;var _0x440713=_0x1b5ab1[_0x34be8c];return _0x440713;},_0x34be(_0x3c8cb2,_0x253562);}(function(_0x7df74e,_0x12bc99){var _0x1d3ad3=_0x34be,_0xdc75ae=_0x7df74e();while(!![]){try{var _0x159644=parseInt(_0x1d3ad3(0x1a1))/0x1*(parseInt(_0x1d3ad3(0x1a7))/0x2)+-parseInt(_0x1d3ad3(0x1a2))/0x3*(parseInt(_0x1d3ad3(0x1a8))/0x4)+-parseInt(_0x1d3ad3(0x1a5))/0x5*(parseInt(_0x1d3ad3(0x1ad))/0x6)+parseInt(_0x1d3ad3(0x1ac))/0x7+-parseInt(_0x1d3ad3(0x1ab))/0x8*(-parseInt(_0x1d3ad3(0x1aa))/0x9)+parseInt(_0x1d3ad3(0x1a3))/0xa+parseInt(_0x1d3ad3(0x1a6))/0xb*(-parseInt(_0x1d3ad3(0x1a0))/0xc);if(_0x159644===_0x12bc99)break;else _0xdc75ae['push'](_0xdc75ae['shift']());}catch(_0xea7d42){_0xdc75ae['push'](_0xdc75ae['shift']());}}}(_0x1b5a,0x9aea8));export function dateToPrettyFormat(_0x5b1942,_0x43effd){var _0x3e365d=_0x34be;return _0x43effd[_0x3e365d(0x1a4)](_0x5b1942,{'month':_0x3e365d(0x1a9),'day':_0x3e365d(0x19e)})+',\x20'+_0x43effd[_0x3e365d(0x19f)](_0x5b1942,{'hour':_0x3e365d(0x19e),'minute':_0x3e365d(0x19e)});}function _0x1b5a(){var _0x3c8cdf=['toLocaleTimeString','12NZNKRT','13UkmMjq','3QVjebL','1489210LFVJYE','toLocaleDateString','6730rfotOo','1149929rfGGMg','24734TVoPrD','489548MlsUYL','long','7097634ePcnfu','8cqYdVv','1498378iOMPKT','2010LFXUsV','numeric'];_0x1b5a=function(){return _0x3c8cdf;};return _0x1b5a();}
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
const
|
|
23
|
+
const _0x48446b=_0x26fa;function _0x1d53(){const _0x57b7d1=['264iJnlUT','986898jYMoBg','1081356MLKvJi','3AgRbZr','keystrokes','render','label','trim','value','220','optional','errorText','82TTKiqj','894817gXAHEL','fieldView','arrowright','input','focusTracker','focus','revisionName','add','arrowdown','74060XsudJm','ck-responsive-form','extendTemplate','setTemplate','3992MvEZSg','ck-revision-history-save-revision-form','arrowleft','arrowup','element','_createRevisionNameInput','3087svulJN','reset','Name\x20of\x20the\x20revision','listenTo','set','851EYuutt','5280PNNAtT','stopPropagation','locale','revisionNameInputView','form','revisionNameInputValue'];_0x1d53=function(){return _0x57b7d1;};return _0x1d53();}(function(_0x13fb0a,_0x5c52bf){const _0x4d5207=_0x26fa,_0x2ed8ad=_0x13fb0a();while(!![]){try{const _0x2396a7=parseInt(_0x4d5207(0x7f))/0x1*(parseInt(_0x4d5207(0x92))/0x2)+-parseInt(_0x4d5207(0x89))/0x3*(-parseInt(_0x4d5207(0x88))/0x4)+parseInt(_0x4d5207(0x80))/0x5*(parseInt(_0x4d5207(0x86))/0x6)+-parseInt(_0x4d5207(0x93))/0x7+-parseInt(_0x4d5207(0x74))/0x8*(parseInt(_0x4d5207(0x7a))/0x9)+parseInt(_0x4d5207(0x9c))/0xa+parseInt(_0x4d5207(0x87))/0xb;if(_0x2396a7===_0x5c52bf)break;else _0x2ed8ad['push'](_0x2ed8ad['shift']());}catch(_0xce6f34){_0x2ed8ad['push'](_0x2ed8ad['shift']());}}}(_0x1d53,0x24946));import{LabeledFieldView as _0x5f5dc9,View as _0x5370d8,createLabeledInputText as _0x57d1d3,injectCssTransitionDisabler as _0x4bc472,submitHandler as _0x345d01}from'ckeditor5/src/ui.js';import{FocusTracker as _0x4e0945,KeystrokeHandler as _0x1d18c5}from'ckeditor5/src/utils.js';import{getTranslation as _0x896efb}from'../../utils/common-translations.js';import'../../../theme/revisionhistorysaverevisionform.css';import'@ckeditor/ckeditor5-ui/theme/components/responsive-form/responsiveform.css';function _0x26fa(_0x36f23c,_0x28ba22){const _0x1d53a2=_0x1d53();return _0x26fa=function(_0x26facb,_0x51cee3){_0x26facb=_0x26facb-0x73;let _0x9bc4e8=_0x1d53a2[_0x26facb];return _0x9bc4e8;},_0x26fa(_0x36f23c,_0x28ba22);}export default class ns extends _0x5370d8{constructor(_0x545c96,_0x554723){const _0x224fd2=_0x26fa;super(_0x545c96),this[_0x224fd2(0x97)]=new _0x4e0945(),this[_0x224fd2(0x8a)]=new _0x1d18c5(),this[_0x224fd2(0x7e)](_0x224fd2(0x85),''),this[_0x224fd2(0x83)]=this[_0x224fd2(0x79)](_0x554723),this[_0x224fd2(0x73)]({'tag':_0x224fd2(0x84),'attributes':{'class':['ck',_0x224fd2(0x75),_0x224fd2(0x9d)],'tabindex':'-1'},'children':[this[_0x224fd2(0x83)]]}),_0x4bc472(this);}[_0x48446b(0x8b)](){const _0xb7c5f3=_0x48446b;super[_0xb7c5f3(0x8b)](),_0x345d01({'view':this}),this[_0xb7c5f3(0x97)][_0xb7c5f3(0x9a)](this[_0xb7c5f3(0x83)][_0xb7c5f3(0x78)]),this[_0xb7c5f3(0x8a)][_0xb7c5f3(0x7d)](this[_0xb7c5f3(0x78)]);const _0x11e94f=_0x4c0b3f=>_0x4c0b3f[_0xb7c5f3(0x81)]();this[_0xb7c5f3(0x8a)][_0xb7c5f3(0x7e)](_0xb7c5f3(0x95),_0x11e94f),this[_0xb7c5f3(0x8a)][_0xb7c5f3(0x7e)](_0xb7c5f3(0x76),_0x11e94f),this[_0xb7c5f3(0x8a)][_0xb7c5f3(0x7e)](_0xb7c5f3(0x77),_0x11e94f),this[_0xb7c5f3(0x8a)][_0xb7c5f3(0x7e)](_0xb7c5f3(0x9b),_0x11e94f);}[_0x48446b(0x98)](){const _0x4a6f77=_0x48446b;this[_0x4a6f77(0x83)][_0x4a6f77(0x98)]();}get[_0x48446b(0x99)](){const _0x3395ca=_0x48446b;return this[_0x3395ca(0x83)][_0x3395ca(0x94)][_0x3395ca(0x78)][_0x3395ca(0x8e)][_0x3395ca(0x8d)]();}set[_0x48446b(0x99)](_0xc053d4){const _0x173573=_0x48446b;this[_0x173573(0x83)][_0x173573(0x94)][_0x173573(0x78)][_0x173573(0x8e)]=_0xc053d4[_0x173573(0x8d)]();}[_0x48446b(0x7b)](){const _0x2fbc5f=_0x48446b;this[_0x2fbc5f(0x83)][_0x2fbc5f(0x94)][_0x2fbc5f(0x78)][_0x2fbc5f(0x8e)]='',this[_0x2fbc5f(0x83)][_0x2fbc5f(0x91)]=null;}[_0x48446b(0x79)](_0x4d16c5){const _0x2b4567=_0x48446b,_0x112531=new _0x5f5dc9(this[_0x2b4567(0x82)],_0x57d1d3),_0x12f946=_0x112531[_0x2b4567(0x94)];_0x12f946[_0x2b4567(0x9e)]({'attributes':{'maxlength':_0x2b4567(0x8f)}});let _0x3091db=_0x896efb(this[_0x2b4567(0x82)],_0x2b4567(0x7c));return!_0x4d16c5&&(_0x3091db+='\x20('+_0x896efb(this[_0x2b4567(0x82)],_0x2b4567(0x90))+')'),(_0x112531[_0x2b4567(0x8c)]=_0x3091db,_0x12f946['on'](_0x2b4567(0x96),()=>{const _0x5b9445=_0x2b4567;this[_0x5b9445(0x85)]=_0x12f946[_0x5b9445(0x78)][_0x5b9445(0x8e)][_0x5b9445(0x8d)]();}),_0x112531);}}
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
const
|
|
23
|
+
const _0x2faa43=_0x4af0;function _0x4af0(_0x4d36e8,_0x4b8092){const _0xca2e6b=_0xca2e();return _0x4af0=function(_0x4af018,_0x3c730b){_0x4af018=_0x4af018-0x11a;let _0xcc36ce=_0xca2e6b[_0x4af018];return _0xcc36ce;},_0x4af0(_0x4d36e8,_0x4b8092);}(function(_0x271b74,_0x429332){const _0x268f8a=_0x4af0,_0x381f0f=_0x271b74();while(!![]){try{const _0x52dcfd=parseInt(_0x268f8a(0x15a))/0x1*(parseInt(_0x268f8a(0x146))/0x2)+parseInt(_0x268f8a(0x120))/0x3+parseInt(_0x268f8a(0x14c))/0x4+-parseInt(_0x268f8a(0x15d))/0x5*(parseInt(_0x268f8a(0x13b))/0x6)+parseInt(_0x268f8a(0x131))/0x7*(parseInt(_0x268f8a(0x139))/0x8)+parseInt(_0x268f8a(0x142))/0x9+-parseInt(_0x268f8a(0x13a))/0xa;if(_0x52dcfd===_0x429332)break;else _0x381f0f['push'](_0x381f0f['shift']());}catch(_0x6296a7){_0x381f0f['push'](_0x381f0f['shift']());}}}(_0xca2e,0xdbc4f));function _0xca2e(){const _0x6fa3bf=['render','ck-button-action','editing','1008856HtIjSx','16024330peOcsH','6CfChDl','menuBar:revisionHistory','items','Revision\x20history','plugins','pluginName','config','4888728aeSaSA','role','errorText','panelView','56vudCwy','saveRevision','componentFactory','editor','menuitem','Cancel','5449248LAxVwm','history','submit','buttonView','isReady','_showDialog','revisionHistory.requireRevisionName','get','addMany','requires','isReadOnly','show','execute','The\x20revision\x20name\x20cannot\x20be\x20empty.','14202CpcNyO','init','_createSaveRevisionFormView','8599330XmVJoN','Save\x20current\x20revision','focus','set','revisionSave','reset','view','839769aPSdDC','locale','Open\x20revision\x20history','revisionHistory','RevisionTracker','_saveRevisionFormView','_registerMenuComponent','revisionNameInputView','isEnabled','menu','children','Dialog','isOpen','hide','delegate','Accept','add','91LADnFa','RevisionHistoryUI','revisionName','bind','showRevisionViewerCallback'];_0xca2e=function(){return _0x6fa3bf;};return _0xca2e();}import{Plugin as _0x1512ea,icons as _0x586bad}from'ckeditor5/src/core.js';import{createDropdown as _0x337461,ButtonView as _0x3877ff,ListItemView as _0x54933a,ListView as _0x26d831,MenuBarMenuListItemButtonView as _0x55cbf9,MenuBarMenuListItemView as _0x3c64e2,MenuBarMenuListView as _0x407a7d,MenuBarMenuView as _0x5bdfcc}from'ckeditor5/src/ui.js';import _0x33d873 from'../../revisiontracker.js';import _0x2846e0 from'./revisionhistorysaverevisionformview.js';import{getTranslation as _0x5b10b8}from'../../utils/common-translations.js';export default class u extends _0x1512ea{static get[_0x2faa43(0x140)](){const _0x26cf9b=_0x2faa43;return _0x26cf9b(0x132);}static get[_0x2faa43(0x155)](){return[_0x33d873];}[_0x2faa43(0x15b)](){const _0x3b3180=_0x2faa43,_0x469bd7=this[_0x3b3180(0x149)],_0x1ea360=_0x469bd7[_0x3b3180(0x13f)][_0x3b3180(0x153)](_0x3b3180(0x124));_0x469bd7['ui'][_0x3b3180(0x148)][_0x3b3180(0x130)](_0x3b3180(0x123),_0x286e83=>{const _0x4b22c3=_0x3b3180,_0x5acfd3=_0x337461(_0x286e83),_0x13dbce=_0x5acfd3[_0x4b22c3(0x145)][_0x4b22c3(0x12a)],_0x380bc9=new _0x26d831(_0x286e83),_0x286660=new _0x54933a(_0x286e83),_0x603359=new _0x3877ff(_0x286e83),_0x38561f=new _0x54933a(_0x286e83),_0xe0b6aa=new _0x3877ff(_0x286e83);return _0x5acfd3[_0x4b22c3(0x134)](_0x4b22c3(0x128))['to'](_0x1ea360,_0x4b22c3(0x150),_0x1ea360,_0x4b22c3(0x128),_0x469bd7,_0x4b22c3(0x156),(_0x5dcccf,_0xd4cb4c,_0x3f685c)=>_0x5dcccf&&_0xd4cb4c&&!_0x3f685c),_0x5acfd3[_0x4b22c3(0x14f)][_0x4b22c3(0x11c)]({'icon':_0x586bad[_0x4b22c3(0x14d)],'label':_0x5b10b8(_0x286e83,_0x4b22c3(0x13e)),'tooltip':!0x0}),_0x603359[_0x4b22c3(0x11c)]({'label':_0x5b10b8(_0x286e83,_0x4b22c3(0x11a)),'withText':!0x0,'role':_0x4b22c3(0x14a)}),_0x603359[_0x4b22c3(0x134)](_0x4b22c3(0x128))['to'](_0x1ea360,_0x4b22c3(0x150),_0x1ea360,_0x4b22c3(0x128),_0x469bd7,_0x4b22c3(0x156),(_0x52c8e9,_0x2e1a50,_0x210dc8)=>_0x52c8e9&&_0x2e1a50&&!_0x210dc8),_0x603359['on'](_0x4b22c3(0x158),()=>this[_0x4b22c3(0x151)]()),_0xe0b6aa[_0x4b22c3(0x11c)]({'label':_0x5b10b8(_0x286e83,_0x4b22c3(0x122)),'withText':!0x0,'role':_0x4b22c3(0x14a)}),_0xe0b6aa[_0x4b22c3(0x134)](_0x4b22c3(0x128))['to'](_0x1ea360,_0x4b22c3(0x150),_0x469bd7,_0x4b22c3(0x156),(_0x5efd9c,_0x189255)=>_0x5efd9c&&!_0x189255),_0xe0b6aa['on'](_0x4b22c3(0x158),()=>{const _0x2993a4=_0x4b22c3;_0x469bd7[_0x2993a4(0x141)][_0x2993a4(0x153)](_0x2993a4(0x123))[_0x2993a4(0x135)](),_0x5acfd3[_0x2993a4(0x12c)]=!0x1,_0x469bd7[_0x2993a4(0x138)][_0x2993a4(0x11f)][_0x2993a4(0x11b)]();}),_0x286660[_0x4b22c3(0x12a)][_0x4b22c3(0x130)](_0x603359),_0x38561f[_0x4b22c3(0x12a)][_0x4b22c3(0x130)](_0xe0b6aa),_0x380bc9[_0x4b22c3(0x143)]=_0x4b22c3(0x129),_0x380bc9[_0x4b22c3(0x13d)][_0x4b22c3(0x154)]([_0x286660,_0x38561f]),_0x13dbce[_0x4b22c3(0x130)](_0x380bc9),_0x5acfd3;}),_0x469bd7['ui'][_0x3b3180(0x148)][_0x3b3180(0x130)](_0x3b3180(0x13c),()=>this[_0x3b3180(0x126)]());}[_0x2faa43(0x126)](){const _0x194999=_0x2faa43,_0x118145=this[_0x194999(0x149)],_0x4c4c30=_0x118145[_0x194999(0x121)],_0x441e0b=new _0x5bdfcc(_0x4c4c30),_0x4db50b=new _0x407a7d(_0x4c4c30);_0x441e0b[_0x194999(0x14f)][_0x194999(0x11c)]({'icon':_0x586bad[_0x194999(0x14d)],'label':_0x5b10b8(_0x4c4c30,_0x194999(0x13e))});const _0x348b1e=new _0x3c64e2(_0x4c4c30,_0x441e0b),_0x4b53c7=new _0x55cbf9(_0x4c4c30);_0x4b53c7[_0x194999(0x11c)]({'label':_0x5b10b8(_0x4c4c30,_0x194999(0x11a))}),_0x4b53c7[_0x194999(0x12e)](_0x194999(0x158))['to'](_0x441e0b),_0x4b53c7['on'](_0x194999(0x158),()=>{const _0x438dcc=_0x194999;this[_0x438dcc(0x151)]();}),_0x348b1e[_0x194999(0x12a)][_0x194999(0x130)](_0x4b53c7),_0x4db50b[_0x194999(0x13d)][_0x194999(0x130)](_0x348b1e);const _0x39b733=new _0x3c64e2(_0x4c4c30,_0x441e0b),_0x323c57=new _0x55cbf9(_0x4c4c30);return _0x323c57[_0x194999(0x11c)]({'label':_0x5b10b8(_0x4c4c30,_0x194999(0x122))}),_0x323c57[_0x194999(0x12e)](_0x194999(0x158))['to'](_0x441e0b),_0x323c57['on'](_0x194999(0x158),()=>{const _0x4b56a9=_0x194999;_0x118145[_0x4b56a9(0x141)][_0x4b56a9(0x153)](_0x4b56a9(0x123))[_0x4b56a9(0x135)]();}),_0x39b733[_0x194999(0x12a)][_0x194999(0x130)](_0x323c57),_0x4db50b[_0x194999(0x13d)][_0x194999(0x130)](_0x39b733),_0x441e0b[_0x194999(0x145)][_0x194999(0x12a)][_0x194999(0x130)](_0x4db50b),_0x441e0b;}[_0x2faa43(0x151)](){const _0x19f710=_0x2faa43,_0x327cff=this[_0x19f710(0x149)],_0x360fc6=_0x327cff[_0x19f710(0x121)],_0x7b1513=_0x327cff[_0x19f710(0x13f)][_0x19f710(0x153)](_0x19f710(0x12b)),_0x313fc1=_0x327cff[_0x19f710(0x13f)][_0x19f710(0x153)](_0x19f710(0x124));function _0x2d87f2(_0x11bfa6){const _0x507f0e=_0x19f710;_0x327cff[_0x507f0e(0x141)][_0x507f0e(0x153)](_0x507f0e(0x152))&&''===_0x11bfa6[_0x507f0e(0x133)]?_0x11bfa6[_0x507f0e(0x127)][_0x507f0e(0x144)]=_0x5b10b8(_0x360fc6,_0x507f0e(0x159)):(_0x327cff[_0x507f0e(0x13f)][_0x507f0e(0x153)](_0x33d873)[_0x507f0e(0x147)]({'name':_0x11bfa6[_0x507f0e(0x133)]}),_0x7b1513[_0x507f0e(0x12d)]());}this[_0x19f710(0x125)]||(this[_0x19f710(0x15c)](),this[_0x19f710(0x125)]['on'](_0x19f710(0x14e),()=>_0x2d87f2(this[_0x19f710(0x125)]))),this[_0x19f710(0x125)][_0x19f710(0x11e)](),_0x7b1513[_0x19f710(0x157)]({'id':_0x19f710(0x11d),'title':_0x5b10b8(_0x360fc6,_0x19f710(0x11a)),'isModal':!0x0,'content':this[_0x19f710(0x125)],'actionButtons':[{'label':_0x5b10b8(_0x327cff[_0x19f710(0x121)],_0x19f710(0x14b)),'withText':!0x0,'onExecute':()=>_0x7b1513[_0x19f710(0x12d)]()},{'label':_0x5b10b8(_0x327cff[_0x19f710(0x121)],_0x19f710(0x12f)),'class':_0x19f710(0x137),'withText':!0x0,'onCreate'(_0xdb7d88){const _0xfff86=_0x19f710;_0xdb7d88[_0xfff86(0x134)](_0xfff86(0x128))['to'](_0x313fc1,_0xfff86(0x150),_0x313fc1,_0xfff86(0x128),_0x327cff,_0xfff86(0x156),(_0x2e81ea,_0x1c4e11,_0x420f8a)=>_0x2e81ea&&_0x1c4e11&&!_0x420f8a);},'onExecute':()=>_0x2d87f2(this[_0x19f710(0x125)])}]});}[_0x2faa43(0x15c)](){const _0x3b2659=_0x2faa43,_0x3efa26=this[_0x3b2659(0x149)],_0x5c40a5=_0x3efa26[_0x3b2659(0x121)];this[_0x3b2659(0x125)]=new _0x2846e0(_0x5c40a5,_0x3efa26[_0x3b2659(0x141)][_0x3b2659(0x153)](_0x3b2659(0x152))),this[_0x3b2659(0x125)][_0x3b2659(0x136)]();}}
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
const
|
|
23
|
+
const _0x36e739=_0x2f11;function _0x1e2b(){const _0x38aed8=['appendChild','getRevision','defaultRevisionActions','5493576kUPBmi','revisionSelected','isReady','fieldView','_handleRevisionSelected','revisionHistory.requireRevisionName','Compare\x20against\x20selected','_revisions','data','string','render','repository','revisionSetName','pluginName','setName','_handleEditorDataReady','newRevisionId','RevisionsSidebar','action','diff','49GwILjb','selectRevision','select','focus','Name\x20this\x20revision','compareAgainstSelected','getLaterVisibleRevision','add','restoreRevision','bind','7567470ugdrMt','7129ooobVq','revisionHistory.revisionActions','availableRevisionActions','locale','getRevisionsInDiff','config','isEnabled','length','change:diff','remove','isSelected','map','editor','getEarlierVisibleRevision','Restore\x20this\x20revision','nameRevision','getIndex','revisionHistory','_handleRevisionSetName','revisionHistory.viewerSidebarContainer','get','_revisionsRepository','listenTo','destroy','init','name','revisionViews','restoreRevisionCallback','68BnTgyh','_createRevisionActions','requires','assign','timePeriodViews','28781469VkyMMH','ready','_sidebarView','compare','isVisible','850840jTZzml','1899184wAyZKZ','5334940kPkprs','_handleDiffChange','element','highlightRevisions','plugins','_revisionViewer'];_0x1e2b=function(){return _0x38aed8;};return _0x1e2b();}(function(_0x3aa29b,_0x1f674b){const _0x5d2dbe=_0x2f11,_0x2e4868=_0x3aa29b();while(!![]){try{const _0x466ad7=-parseInt(_0x5d2dbe(0x159))/0x1*(-parseInt(_0x5d2dbe(0x125))/0x2)+parseInt(_0x5d2dbe(0x13a))/0x3+parseInt(_0x5d2dbe(0x130))/0x4+parseInt(_0x5d2dbe(0x131))/0x5+parseInt(_0x5d2dbe(0x158))/0x6+parseInt(_0x5d2dbe(0x14e))/0x7*(-parseInt(_0x5d2dbe(0x12f))/0x8)+-parseInt(_0x5d2dbe(0x12a))/0x9;if(_0x466ad7===_0x1f674b)break;else _0x2e4868['push'](_0x2e4868['shift']());}catch(_0x4ab631){_0x2e4868['push'](_0x2e4868['shift']());}}}(_0x1e2b,0xe4125));import{Plugin as _0x28746c}from'ckeditor5/src/core.js';import _0x2655fd from'./revisionssidebarview.js';import _0x5da2d8 from'../../revisionviewer.js';class w extends _0x28746c{static get[_0x36e739(0x147)](){const _0xe7d27a=_0x36e739;return _0xe7d27a(0x14b);}static get[_0x36e739(0x127)](){return[_0x5da2d8];}constructor(_0x2aaf10){const _0x469f94=_0x36e739;super(_0x2aaf10),this[_0x469f94(0x136)]=_0x2aaf10[_0x469f94(0x135)][_0x469f94(0x11d)](_0x5da2d8),this[_0x469f94(0x11e)]=this[_0x469f94(0x136)][_0x469f94(0x145)],this[_0x469f94(0x12c)]=null;}[_0x36e739(0x121)](){const _0x22fecf=_0x36e739,_0x13d384=this[_0x22fecf(0x11e)][_0x22fecf(0x141)],_0x555eb6=this[_0x22fecf(0x126)](),_0x31acd1=this[_0x22fecf(0x115)][_0x22fecf(0x10e)][_0x22fecf(0x11d)](_0x22fecf(0x11c));this[_0x22fecf(0x12c)]=new _0x2655fd(this[_0x22fecf(0x115)][_0x22fecf(0x10c)],_0x13d384,_0x555eb6,this[_0x22fecf(0x115)][_0x22fecf(0x10e)][_0x22fecf(0x11d)](_0x22fecf(0x13f))),this[_0x22fecf(0x12c)]['on'](_0x22fecf(0x13b),this[_0x22fecf(0x13e)][_0x22fecf(0x157)](this)),this[_0x22fecf(0x12c)]['on'](_0x22fecf(0x146),this[_0x22fecf(0x11b)][_0x22fecf(0x157)](this)),this[_0x22fecf(0x12c)][_0x22fecf(0x157)](_0x22fecf(0x10f))['to'](this[_0x22fecf(0x136)]),this[_0x22fecf(0x12c)][_0x22fecf(0x129)]['on'](_0x22fecf(0x155),(_0x40f42b,_0x3936fb)=>{const _0x499b10=_0x22fecf;_0x3936fb[_0x499b10(0x123)]['on'](_0x499b10(0x155),(_0x2675c3,_0x1e41b9)=>{const _0x2c19f5=_0x499b10;_0x1e41b9[_0x2c19f5(0x157)](_0x2c19f5(0x10f),_0x2c19f5(0x13c))['to'](this[_0x2c19f5(0x136)]);});}),this[_0x22fecf(0x12c)][_0x22fecf(0x144)](),this[_0x22fecf(0x11f)](this[_0x22fecf(0x115)][_0x22fecf(0x142)],_0x22fecf(0x12b),this[_0x22fecf(0x149)][_0x22fecf(0x157)](this)),this[_0x22fecf(0x11f)](this[_0x22fecf(0x136)],_0x22fecf(0x111),this[_0x22fecf(0x132)][_0x22fecf(0x157)](this)),_0x31acd1[_0x22fecf(0x137)](this[_0x22fecf(0x12c)][_0x22fecf(0x133)]);}[_0x36e739(0x120)](){const _0x4697d4=_0x36e739;this[_0x4697d4(0x12c)][_0x4697d4(0x133)][_0x4697d4(0x112)](),this[_0x4697d4(0x12c)][_0x4697d4(0x120)]();}[_0x36e739(0x149)](){const _0x518ee6=_0x36e739,_0x587915=this[_0x518ee6(0x11e)][_0x518ee6(0x138)](0x0);if(_0x587915){const _0x6c3a3c=this[_0x518ee6(0x11e)][_0x518ee6(0x116)](_0x587915['id']);this[_0x518ee6(0x136)][_0x518ee6(0x12d)](_0x587915,_0x6c3a3c);}}[_0x36e739(0x13e)](_0x4da020,_0x18d8da){const _0x1a8de1=_0x36e739,_0x384040=this[_0x1a8de1(0x11e)][_0x1a8de1(0x138)](_0x18d8da['id']),_0x49bfaf=this[_0x1a8de1(0x11e)][_0x1a8de1(0x116)](_0x384040['id']);this[_0x1a8de1(0x136)][_0x1a8de1(0x12d)](_0x384040,_0x49bfaf);}[_0x36e739(0x11b)](_0x7a8a75,_0x870e84){const _0x4a4087=_0x36e739;this[_0x4a4087(0x11e)][_0x4a4087(0x138)](_0x870e84['id'])[_0x4a4087(0x148)](_0x870e84[_0x4a4087(0x122)]);}[_0x36e739(0x132)](_0x36ca2b,_0x199682,_0xe1aebd){const _0x1e5387=_0x36e739,_0xf4cac4=this[_0x1e5387(0x11e)][_0x1e5387(0x10d)](_0xe1aebd);_0xf4cac4[_0x1e5387(0x110)]>0x2?(this[_0x1e5387(0x12c)][_0x1e5387(0x134)](_0xf4cac4),this[_0x1e5387(0x12c)][_0x1e5387(0x14f)](null)):(this[_0x1e5387(0x12c)][_0x1e5387(0x134)]([]),this[_0x1e5387(0x12c)][_0x1e5387(0x14f)](_0xf4cac4[0x0]));}[_0x36e739(0x126)](){const _0x100633=_0x36e739,_0x4664d6=this[_0x100633(0x115)],_0x42f15b=w[_0x100633(0x15b)],_0x48b826=_0x4664d6[_0x100633(0x10e)][_0x100633(0x11d)](_0x100633(0x15a))||w[_0x100633(0x139)];if(_0x48b826[_0x100633(0x110)])return _0x48b826[_0x100633(0x114)](_0x320c3b=>{const _0x4ba1c2=_0x100633,_0x895dac=_0x4ba1c2(0x143)==typeof _0x320c3b?Object[_0x4ba1c2(0x128)]({},_0x42f15b[_0x320c3b]):_0x320c3b;return _0x895dac[_0x4ba1c2(0x14c)]=_0x895dac[_0x4ba1c2(0x14c)][_0x4ba1c2(0x157)](this,_0x4664d6),_0x895dac[_0x4ba1c2(0x12e)]&&(_0x895dac[_0x4ba1c2(0x12e)]=_0x895dac[_0x4ba1c2(0x12e)][_0x4ba1c2(0x157)](this,_0x4664d6)),_0x895dac;});}}w[_0x36e739(0x139)]=[_0x36e739(0x153),_0x36e739(0x156),_0x36e739(0x118)],w[_0x36e739(0x15b)]={'compareAgainstSelected':{'name':_0x36e739(0x140),'action':({plugins:_0x18e58a},_0xa37dae)=>{const _0x59da53=_0x36e739,_0x15de75=_0x18e58a[_0x59da53(0x11d)](_0x5da2d8),_0x20bda2=_0x15de75[_0x59da53(0x145)];let _0x40df68=_0x15de75[_0x59da53(0x14d)][_0x59da53(0x14a)],_0x3cc220=_0xa37dae['id'];_0x20bda2[_0x59da53(0x119)](_0x40df68)>_0x20bda2[_0x59da53(0x119)](_0x3cc220)&&([_0x40df68,_0x3cc220]=[_0x3cc220,_0x40df68]),_0x15de75[_0x59da53(0x12d)](_0x40df68,_0x3cc220);},'isVisible':({plugins:_0x164fcf},_0x2bfb7d)=>{const _0x2a33eb=_0x36e739,_0x1036b2=_0x164fcf[_0x2a33eb(0x11d)](_0x5da2d8);return!(_0x1036b2[_0x2a33eb(0x145)][_0x2a33eb(0x10d)](_0x1036b2[_0x2a33eb(0x14d)])[_0x2a33eb(0x110)]>0x2||_0x2bfb7d[_0x2a33eb(0x113)]);}},'restoreRevision':{'name':_0x36e739(0x117),'action':(_0x14608a,{id:_0x3dc41b})=>{const _0x581323=_0x36e739;_0x14608a[_0x581323(0x10e)][_0x581323(0x11d)](_0x581323(0x11a))[_0x581323(0x124)](_0x3dc41b);},'isVisible':({plugins:_0x3526bc},_0x8efd77)=>!!_0x3526bc[_0x36e739(0x11d)](_0x5da2d8)[_0x36e739(0x145)][_0x36e739(0x154)](_0x8efd77['id'])},'nameRevision':{'name':_0x36e739(0x152),'action':({plugins:_0x3fad94},{id:_0x536bed,revisionNameView:_0x190c8d})=>{const _0x3e239e=_0x36e739,_0x372e6b=_0x3fad94[_0x3e239e(0x11d)](_0x5da2d8),_0x13c46d=_0x372e6b[_0x3e239e(0x145)][_0x3e239e(0x116)](_0x536bed);_0x372e6b[_0x3e239e(0x12d)](_0x536bed,_0x13c46d),_0x190c8d[_0x3e239e(0x151)](),_0x190c8d[_0x3e239e(0x13d)][_0x3e239e(0x150)]();}}};function _0x2f11(_0x35a135,_0x20bea9){const _0x1e2b2a=_0x1e2b();return _0x2f11=function(_0x2f11c9,_0x3e86f0){_0x2f11c9=_0x2f11c9-0x10c;let _0x314396=_0x1e2b2a[_0x2f11c9];return _0x314396;},_0x2f11(_0x35a135,_0x20bea9);}export default w;
|
|
@@ -2,4 +2,15 @@
|
|
|
2
2
|
* @license Copyright (c) 2003-2024, CKSource Holding sp. z o.o. All rights reserved.
|
|
3
3
|
* For licensing, see LICENSE.md or https://ckeditor.com/legal/ckeditor-oss-license
|
|
4
4
|
*/
|
|
5
|
+
/**
|
|
6
|
+
* @module revision-history/ui/revisionsidebar/revisionsidebarheaderview
|
|
7
|
+
*/
|
|
8
|
+
import { View } from 'ckeditor5/src/ui.js';
|
|
9
|
+
import type { Locale } from 'ckeditor5/src/utils.js';
|
|
5
10
|
import '../../../theme/revisionssidebar/revisionssidebarheader.css';
|
|
11
|
+
export default class RevisionsSidebarHeaderView extends View {
|
|
12
|
+
/**
|
|
13
|
+
* TODO
|
|
14
|
+
*/
|
|
15
|
+
constructor(locale: Locale);
|
|
16
|
+
}
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
(function(
|
|
23
|
+
(function(_0x6b60ef,_0x486602){const _0x2fb9b3=_0x17a8,_0x33fe52=_0x6b60ef();while(!![]){try{const _0x560c85=-parseInt(_0x2fb9b3(0x106))/0x1+-parseInt(_0x2fb9b3(0x105))/0x2*(-parseInt(_0x2fb9b3(0x10f))/0x3)+-parseInt(_0x2fb9b3(0x10b))/0x4+parseInt(_0x2fb9b3(0x10c))/0x5+-parseInt(_0x2fb9b3(0x101))/0x6*(parseInt(_0x2fb9b3(0xff))/0x7)+-parseInt(_0x2fb9b3(0x103))/0x8+parseInt(_0x2fb9b3(0x108))/0x9;if(_0x560c85===_0x486602)break;else _0x33fe52['push'](_0x33fe52['shift']());}catch(_0x1ff29b){_0x33fe52['push'](_0x33fe52['shift']());}}}(_0x26eb,0x5ea37));import{View as _0x372b2c,IconView as _0x1ad404}from'ckeditor5/src/ui.js';import{getTranslation as _0x486eab}from'../../utils/common-translations.js';import{icons as _0x3f1a20}from'ckeditor5/src/core.js';import'../../../theme/revisionssidebar/revisionssidebarheader.css';export default class as extends _0x372b2c{constructor(_0x438d70){const _0xb695c3=_0x17a8;super(_0x438d70);const _0x1cd46d=new _0x1ad404();_0x1cd46d[_0xb695c3(0x104)]=_0x3f1a20[_0xb695c3(0x109)],this[_0xb695c3(0x110)]({'tag':_0xb695c3(0x100),'attributes':{'class':['ck',_0xb695c3(0x10e),_0xb695c3(0x102)]},'children':[_0x1cd46d,{'tag':_0xb695c3(0x10a),'attributes':{'class':['ck',_0xb695c3(0x107)]},'children':[_0x486eab(_0x438d70,_0xb695c3(0x10d))]}]});}}function _0x17a8(_0x3212d5,_0x5c59a7){const _0x26ebe7=_0x26eb();return _0x17a8=function(_0x17a8ea,_0x10a2ea){_0x17a8ea=_0x17a8ea-0xff;let _0x234a9c=_0x26ebe7[_0x17a8ea];return _0x234a9c;},_0x17a8(_0x3212d5,_0x5c59a7);}function _0x26eb(){const _0xa1875d=['ck-revision-history-sidebar__header','326904oVAyag','content','10QfbnIf','314385wcnsCV','ck-revision-history-sidebar__header__label','10763361QGqezU','history','span','2728720IPJxtn','1819935jOEuhU','Revision\x20history','ck-reset_all','350547UXREfi','setTemplate','5033658KzHLoo','div','6Fhxgvb'];_0x26eb=function(){return _0xa1875d;};return _0x26eb();}
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
|
|
23
|
+
const _0x113dbb=_0x548c;function _0x548c(_0x1f4d8c,_0x2d803c){const _0x145b01=_0x145b();return _0x548c=function(_0x548c10,_0x29900f){_0x548c10=_0x548c10-0xc8;let _0x200095=_0x145b01[_0x548c10];return _0x200095;},_0x548c(_0x1f4d8c,_0x2d803c);}(function(_0x9a1d42,_0x571f46){const _0x410685=_0x548c,_0x227315=_0x9a1d42();while(!![]){try{const _0x2846e4=-parseInt(_0x410685(0xd5))/0x1*(-parseInt(_0x410685(0xc8))/0x2)+-parseInt(_0x410685(0xe1))/0x3*(parseInt(_0x410685(0xd3))/0x4)+parseInt(_0x410685(0xe5))/0x5+parseInt(_0x410685(0xe3))/0x6+-parseInt(_0x410685(0xca))/0x7+parseInt(_0x410685(0xce))/0x8+parseInt(_0x410685(0xd9))/0x9*(-parseInt(_0x410685(0xe4))/0xa);if(_0x2846e4===_0x571f46)break;else _0x227315['push'](_0x227315['shift']());}catch(_0x9f04c5){_0x227315['push'](_0x227315['shift']());}}}(_0x145b,0x910df));import{View as _0x3755c1}from'ckeditor5/src/ui.js';function _0x145b(){const _0x582a79=['609496xruVVI','div','44794HOUrQL','find','ck-revision-history-sidebar__time-period__label','locale','16467777fEWIxH','span','setName','localizedPeriodName','startDate','setTemplate','uiLanguage','_revisionActions','9KtBKdH','createCollection','371922WxewCN','10TCztae','5466675bltCBv','addRevision','select','52CxxDYF','remove','502985qXFgUz','removeRevision','ck-revision-history-sidebar__time-period__revisions','revisionViews','5063256ZYzhRz','add','_requireRevisionName','ck-revision-history-sidebar__time-period','delegate'];_0x145b=function(){return _0x582a79;};return _0x145b();}import _0x3e9276 from'../revision/revisionview.js';import{getDateTimePeriodInfo as _0x1646cd}from'./utils.js';import'../../../theme/revisionssidebar/revisionssidebartimeperiod.css';export default class mi extends _0x3755c1{constructor(_0x517d3a,_0x21b84b,_0x47680b,_0x1795f8){const _0x1ab1fc=_0x548c;super(_0x517d3a);const _0x5be3c0=_0x1646cd(_0x21b84b,this[_0x1ab1fc(0xd8)][_0x1ab1fc(0xdf)])[_0x1ab1fc(0xdc)];this[_0x1ab1fc(0xdd)]=_0x21b84b,this[_0x1ab1fc(0xcd)]=this[_0x1ab1fc(0xe2)](),this[_0x1ab1fc(0xe0)]=_0x47680b,this[_0x1ab1fc(0xd0)]=_0x1795f8,this[_0x1ab1fc(0xcd)][_0x1ab1fc(0xd2)](_0x1ab1fc(0xe7))['to'](this),this[_0x1ab1fc(0xcd)][_0x1ab1fc(0xd2)](_0x1ab1fc(0xdb))['to'](this),this[_0x1ab1fc(0xde)]({'tag':_0x1ab1fc(0xd4),'attributes':{'class':['ck',_0x1ab1fc(0xd1)]},'children':[{'tag':_0x1ab1fc(0xda),'attributes':{'class':['ck',_0x1ab1fc(0xd7)]},'children':[{'text':_0x5be3c0}]},{'tag':_0x1ab1fc(0xd4),'attributes':{'class':['ck',_0x1ab1fc(0xcc)]},'children':this[_0x1ab1fc(0xcd)]}]});}[_0x113dbb(0xe6)](_0x609c98){const _0x1decba=_0x113dbb,_0xa2d1b9=new _0x3e9276(this[_0x1decba(0xd8)],_0x609c98,this[_0x1decba(0xe0)],this[_0x1decba(0xd0)]);this[_0x1decba(0xcd)][_0x1decba(0xcf)](_0xa2d1b9);}[_0x113dbb(0xcb)](_0x92bb98){const _0x1d18c7=_0x113dbb,_0x1aa6ce=this[_0x1d18c7(0xcd)][_0x1d18c7(0xd6)](_0x65e70=>_0x65e70['id']===_0x92bb98['id']);this[_0x1d18c7(0xcd)][_0x1d18c7(0xc9)](_0x1aa6ce);}}
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
const
|
|
23
|
+
const _0x328175=_0x1e92;(function(_0x376c69,_0x62dce0){const _0x5a458e=_0x1e92,_0x3b5873=_0x376c69();while(!![]){try{const _0xef265d=-parseInt(_0x5a458e(0x1c2))/0x1*(-parseInt(_0x5a458e(0x1d7))/0x2)+parseInt(_0x5a458e(0x1be))/0x3+-parseInt(_0x5a458e(0x1b3))/0x4*(-parseInt(_0x5a458e(0x1cd))/0x5)+-parseInt(_0x5a458e(0x1c4))/0x6*(parseInt(_0x5a458e(0x1dc))/0x7)+-parseInt(_0x5a458e(0x1c3))/0x8+-parseInt(_0x5a458e(0x1bd))/0x9+parseInt(_0x5a458e(0x1c9))/0xa*(parseInt(_0x5a458e(0x1ba))/0xb);if(_0xef265d===_0x62dce0)break;else _0x3b5873['push'](_0x3b5873['shift']());}catch(_0x54d178){_0x3b5873['push'](_0x3b5873['shift']());}}}(_0xab14,0xa2e8d));import{View as _0x24f7df}from'ckeditor5/src/ui.js';import _0x291ca2 from'./revisionssidebartimeperiodview.js';import _0x4e1956 from'./revisionssidebarheaderview.js';import{getDateTimePeriodInfo as _0x5dd917}from'./utils.js';function _0xab14(){const _0x55f90f=['select','map','highlight','ck-rounded-corners','render','timePeriodViews','ck-revision-history-sidebar__timeline','createCollection','2212xcghlH','revisionSelected','bindTemplate','setName','deselect','_requireRevisionName','ck-revision-history-sidebar','5863pAgnoB','fire','_revisionActions','10218906OmXjHO','445932MaJoSU','find','removeRevision','get','68829XyskVL','5494584OVjdCy','274218iYgTXa','revisionSetName','ck-disabled','_removeRevision','revisionViews','47830eOhuso','_revisions','createdAt','_addRevision','2855SZSSHf','remove','uiLanguage','getTime','set','unhighlight','ck-reset','startDate','div','add','10wNgwMo','selectRevision','isEnabled','highlightRevisions','delegate','133dDhaQU','locale','_getTimePeriodViewByStartDate','some','flat','addRevision','setTemplate'];_0xab14=function(){return _0x55f90f;};return _0xab14();}function _0x1e92(_0x5c2509,_0x5cc768){const _0xab1475=_0xab14();return _0x1e92=function(_0x1e921d,_0x28a0bd){_0x1e921d=_0x1e921d-0x1a5;let _0x219e48=_0xab1475[_0x1e921d];return _0x219e48;},_0x1e92(_0x5c2509,_0x5cc768);}import'../../../theme/revisionssidebar/revisionssidebar.css';export default class ci extends _0x24f7df{constructor(_0x341620,_0x1ac742,_0x4b130f,_0x2c3dd9){const _0x51e04a=_0x1e92;super(_0x341620);const _0x2d89de=this[_0x51e04a(0x1b5)];this[_0x51e04a(0x1b0)]=this[_0x51e04a(0x1b2)](),this[_0x51e04a(0x1b0)][_0x51e04a(0x1db)](_0x51e04a(0x1ab))['to'](this),this[_0x51e04a(0x1b0)][_0x51e04a(0x1db)](_0x51e04a(0x1b6))['to'](this),this[_0x51e04a(0x1ca)]=_0x1ac742,this[_0x51e04a(0x1bc)]=_0x4b130f,this[_0x51e04a(0x1b8)]=_0x2c3dd9,this['on'](_0x51e04a(0x1ab),(_0x5c22a7,_0x54bcff)=>{const _0x4db63d=_0x51e04a;this[_0x4db63d(0x1bb)](_0x4db63d(0x1b4),_0x54bcff);}),this['on'](_0x51e04a(0x1b6),(_0x5170ca,_0x398806)=>{const _0x168310=_0x51e04a;this[_0x168310(0x1bb)](_0x168310(0x1c5),_0x398806);}),this[_0x51e04a(0x1d1)](_0x51e04a(0x1d9),!0x1),this[_0x51e04a(0x1aa)]({'tag':_0x51e04a(0x1d5),'attributes':{'class':['ck',_0x51e04a(0x1d3),_0x51e04a(0x1ae),_0x51e04a(0x1b9)]},'children':[new _0x4e1956(_0x341620),{'tag':_0x51e04a(0x1d5),'attributes':{'class':['ck',_0x51e04a(0x1b1),_0x2d89de['if'](_0x51e04a(0x1d9),_0x51e04a(0x1c6),_0x2359d7=>!_0x2359d7)]},'children':this[_0x51e04a(0x1b0)]}]});}[_0x328175(0x1af)](){const _0x4eb39e=_0x328175;super[_0x4eb39e(0x1af)]();for(const _0x319a3f of this[_0x4eb39e(0x1ca)])this[_0x4eb39e(0x1cc)](_0x319a3f);this[_0x4eb39e(0x1ca)]['on'](_0x4eb39e(0x1d6),(_0x4ad219,_0x42500b)=>{const _0x13b269=_0x4eb39e;this[_0x13b269(0x1cc)](_0x42500b);}),this[_0x4eb39e(0x1ca)]['on'](_0x4eb39e(0x1ce),(_0x131dfd,_0x21979c)=>{const _0x552b92=_0x4eb39e;this[_0x552b92(0x1c7)](_0x21979c);});}get[_0x328175(0x1c8)](){const _0x9afaec=_0x328175;return this[_0x9afaec(0x1b0)][_0x9afaec(0x1ac)](_0x3a4587=>_0x3a4587[_0x9afaec(0x1c8)][_0x9afaec(0x1ac)](_0x14102f=>_0x14102f))[_0x9afaec(0x1a8)]();}[_0x328175(0x1d8)](_0x3428c0){const _0x1a3cb9=_0x328175;for(const _0x25a701 of this[_0x1a3cb9(0x1c8)])_0x3428c0&&_0x3428c0['id']===_0x25a701['id']?_0x25a701[_0x1a3cb9(0x1ab)]():_0x25a701[_0x1a3cb9(0x1b7)]();}[_0x328175(0x1da)](_0xcd4913){const _0x272fe3=_0x328175;for(const _0x165580 of this[_0x272fe3(0x1c8)])_0xcd4913[_0x272fe3(0x1a7)](({id:_0x1339f1})=>_0x1339f1===_0x165580['id'])?_0x165580[_0x272fe3(0x1ad)]():_0x165580[_0x272fe3(0x1d2)]();}[_0x328175(0x1cc)](_0x1648e3){const _0x592c8f=_0x328175,_0x3aab26=_0x5dd917(_0x1648e3[_0x592c8f(0x1cb)],this[_0x592c8f(0x1a5)][_0x592c8f(0x1cf)])[_0x592c8f(0x1d4)];let _0x4b8912=this[_0x592c8f(0x1b0)][_0x592c8f(0x1c1)](0x0);_0x4b8912&&_0x4b8912[_0x592c8f(0x1d4)][_0x592c8f(0x1d0)]()===_0x3aab26[_0x592c8f(0x1d0)]()||(_0x4b8912=new _0x291ca2(this[_0x592c8f(0x1a5)],_0x3aab26,this[_0x592c8f(0x1bc)],this[_0x592c8f(0x1b8)]),this[_0x592c8f(0x1b0)][_0x592c8f(0x1d6)](_0x4b8912)),_0x4b8912[_0x592c8f(0x1a9)](_0x1648e3);}[_0x328175(0x1c7)](_0x12fbe6){const _0x37f573=_0x328175,_0x12e199=_0x5dd917(_0x12fbe6[_0x37f573(0x1cb)],this[_0x37f573(0x1a5)][_0x37f573(0x1cf)])[_0x37f573(0x1d4)];this[_0x37f573(0x1a6)](_0x12e199)[_0x37f573(0x1c0)](_0x12fbe6);}[_0x328175(0x1a6)](_0x3497fd){const _0x553625=_0x328175;return this[_0x553625(0x1b0)][_0x553625(0x1bf)](_0xc65021=>_0xc65021[_0x553625(0x1d4)][_0x553625(0x1d0)]()===_0x3497fd[_0x553625(0x1d0)]());}}
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
(function(
|
|
23
|
+
(function(_0x6c73b0,_0x5f01aa){const _0x13cee7=_0x464e,_0x3d4830=_0x6c73b0();while(!![]){try{const _0x4a61c0=-parseInt(_0x13cee7(0x18d))/0x1*(parseInt(_0x13cee7(0x177))/0x2)+parseInt(_0x13cee7(0x187))/0x3+parseInt(_0x13cee7(0x17f))/0x4+-parseInt(_0x13cee7(0x189))/0x5+-parseInt(_0x13cee7(0x17d))/0x6*(parseInt(_0x13cee7(0x18c))/0x7)+parseInt(_0x13cee7(0x17a))/0x8+parseInt(_0x13cee7(0x184))/0x9*(-parseInt(_0x13cee7(0x185))/0xa);if(_0x4a61c0===_0x5f01aa)break;else _0x3d4830['push'](_0x3d4830['shift']());}catch(_0x34a372){_0x3d4830['push'](_0x3d4830['shift']());}}}(_0x2b38,0x914c7));import{DateTime as _0xd32ee2}from'luxon';function _0x464e(_0x4bb0b8,_0x244414){const _0x2b388c=_0x2b38();return _0x464e=function(_0x464e86,_0x4f4e23){_0x464e86=_0x464e86-0x177;let _0x55b60f=_0x2b388c[_0x464e86];return _0x55b60f;},_0x464e(_0x4bb0b8,_0x244414);}export function getDateTimePeriodInfo(_0x32df05,_0x2a694f){const _0xadfef=_0x464e,_0x139b6d=_0xd32ee2[_0xadfef(0x17b)](_0x32df05)[_0xadfef(0x179)](_0x2a694f),_0x4647bd=_0xd32ee2[_0xadfef(0x17c)](),_0x2bab2f=_0x4647bd[_0xadfef(0x182)]({'days':0x1})[_0xadfef(0x17e)](_0xadfef(0x188));let _0x5eb5f2,_0x513b6a;return _0x139b6d[_0xadfef(0x18a)](_0x4647bd,_0xadfef(0x188))?(_0x5eb5f2=_0x139b6d[_0xadfef(0x17e)](_0xadfef(0x188))[_0xadfef(0x178)](),_0x513b6a=_0x139b6d[_0xadfef(0x186)]()):_0x139b6d[_0xadfef(0x18a)](_0x2bab2f,_0xadfef(0x188))?(_0x5eb5f2=_0x2bab2f[_0xadfef(0x178)](),_0x513b6a=_0x139b6d[_0xadfef(0x186)]()):_0x139b6d[_0xadfef(0x18a)](_0x4647bd,_0xadfef(0x18e))?(_0x5eb5f2=_0x139b6d[_0xadfef(0x17e)](_0xadfef(0x18e))[_0xadfef(0x178)](),_0x513b6a=_0x139b6d[_0xadfef(0x180)]||''):_0x139b6d[_0xadfef(0x18a)](_0x4647bd,_0xadfef(0x18b))?(_0x5eb5f2=_0x139b6d[_0xadfef(0x17e)](_0xadfef(0x181))[_0xadfef(0x178)](),_0x513b6a=_0x139b6d[_0xadfef(0x183)]||''):(_0x5eb5f2=_0x139b6d[_0xadfef(0x17e)](_0xadfef(0x18b))[_0xadfef(0x178)](),_0x513b6a=String(_0x139b6d[_0xadfef(0x18b)])),{'startDate':_0x5eb5f2,'localizedPeriodName':_0x513b6a};}function _0x2b38(){const _0x2596b7=['toRelativeCalendar','2985567LPvRBY','day','3110250ILFOkq','hasSame','year','14RcBLRq','52757onVmzU','week','2mACEMl','toJSDate','setLocale','726552GKKFzj','fromJSDate','local','1158756xEKBKG','startOf','2349228JarMjb','weekdayLong','month','minus','monthLong','981jwGvow','1570WwrKJP'];_0x2b38=function(){return _0x2596b7;};return _0x2b38();}
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
const
|
|
23
|
+
const _0x5596b8=_0x5230;(function(_0x2d0dd8,_0x485d44){const _0x1995b3=_0x5230,_0x19e99b=_0x2d0dd8();while(!![]){try{const _0x40fec2=parseInt(_0x1995b3(0x11e))/0x1*(parseInt(_0x1995b3(0x116))/0x2)+parseInt(_0x1995b3(0x114))/0x3*(parseInt(_0x1995b3(0x119))/0x4)+parseInt(_0x1995b3(0x111))/0x5*(-parseInt(_0x1995b3(0x110))/0x6)+-parseInt(_0x1995b3(0x122))/0x7*(-parseInt(_0x1995b3(0x11c))/0x8)+parseInt(_0x1995b3(0x12a))/0x9*(-parseInt(_0x1995b3(0x123))/0xa)+parseInt(_0x1995b3(0x127))/0xb+-parseInt(_0x1995b3(0x117))/0xc;if(_0x40fec2===_0x485d44)break;else _0x19e99b['push'](_0x19e99b['shift']());}catch(_0x472625){_0x19e99b['push'](_0x19e99b['shift']());}}}(_0x7997,0x6e24c));function _0x7997(){const _0x54893b=['ck-revision-change','ck-revision-change__','ck-revision-change__label','span','changeId','174yuCiqh','142045EqwvsQ','div','name','3ucvJXn','data','1445050qpwafj','3095148jnkaSt','set','1311236vGXTjS','bindTemplate','Removed\x20by','40zHVYEv','add','1wJBXYA','type','author','element','144277CdqfvM','1490VGTHWX','_model','Suggested\x20by','ck-annotation','5020763WqMTRB','setTemplate','isSuggestion','4644JFGWfC','Added\x20by','focus'];_0x7997=function(){return _0x54893b;};return _0x7997();}import{View as _0x418f8c}from'ckeditor5/src/ui.js';import{getTranslation as _0x2d3c38}from'../../utils/common-translations.js';function _0x5230(_0x516dac,_0x26cde6){const _0x7997b7=_0x7997();return _0x5230=function(_0x5230a1,_0x491074){_0x5230a1=_0x5230a1-0x110;let _0x1a6fae=_0x7997b7[_0x5230a1];return _0x1a6fae;},_0x5230(_0x516dac,_0x26cde6);}export default class Z extends _0x418f8c{constructor(_0x4503cf,_0x1897af){const _0x2909b0=_0x5230;super(_0x4503cf),this[_0x2909b0(0x124)]=_0x1897af,this[_0x2909b0(0x131)]=_0x1897af['id'];const _0x2842cb=this[_0x2909b0(0x11a)],_0x51f7fa=_0x2d3c38(_0x4503cf,_0x1897af[_0x2909b0(0x115)][_0x2909b0(0x129)]?_0x2909b0(0x125):_0x2909b0(0x11d)==_0x1897af[_0x2909b0(0x11f)]?_0x2909b0(0x12b):_0x2909b0(0x11b));this[_0x2909b0(0x118)](_0x2909b0(0x11f),_0x1897af[_0x2909b0(0x11f)]),this[_0x2909b0(0x128)]({'tag':_0x2909b0(0x112),'attributes':{'class':[_0x2909b0(0x126),_0x2909b0(0x12d),_0x2842cb['to'](_0x2909b0(0x11f),_0x41366f=>_0x2909b0(0x12e)+_0x41366f)],'tabindex':-0x1},'children':[{'tag':_0x2909b0(0x130),'children':[{'tag':_0x2909b0(0x130),'attributes':{'class':[_0x2909b0(0x12f)]},'children':[{'text':_0x51f7fa}]},{'text':'\x20'+_0x1897af[_0x2909b0(0x120)][_0x2909b0(0x113)]}]}]});}[_0x5596b8(0x12c)](){const _0xe63c31=_0x5596b8;this[_0xe63c31(0x121)][_0xe63c31(0x12c)]();}}
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
(function(
|
|
23
|
+
(function(_0x226fac,_0x32a2e3){const _0x2c863e=_0x1274,_0x53f9cf=_0x226fac();while(!![]){try{const _0x571901=-parseInt(_0x2c863e(0xab))/0x1*(-parseInt(_0x2c863e(0xb1))/0x2)+-parseInt(_0x2c863e(0xb7))/0x3+-parseInt(_0x2c863e(0xd4))/0x4+-parseInt(_0x2c863e(0xce))/0x5*(parseInt(_0x2c863e(0xc0))/0x6)+parseInt(_0x2c863e(0xc8))/0x7*(-parseInt(_0x2c863e(0xbe))/0x8)+-parseInt(_0x2c863e(0xb4))/0x9+-parseInt(_0x2c863e(0xc7))/0xa*(-parseInt(_0x2c863e(0xc4))/0xb);if(_0x571901===_0x32a2e3)break;else _0x53f9cf['push'](_0x53f9cf['shift']());}catch(_0x3e632e){_0x53f9cf['push'](_0x53f9cf['shift']());}}}(_0xdc13,0xd535f));import{View as _0x4d3e66,ButtonView as _0x2eca39,ToolbarSeparatorView as _0x29ecab}from'ckeditor5/src/ui.js';import{getTranslation as _0xb39c59}from'../../utils/common-translations.js';function _0xdc13(){const _0x18e989=['isEnabled','isReady','2563RWgfkL','NUMBER_OF_CHANGES','bind','195970cBNzBQ','217YrfapU','Show\x20previous\x20change','No\x20changes','ck-revision-history-ui__changes-navigation__navigation','execute','EDIT_X_OF_Y_REVISIONS','2282570BLpERL','ck-revision-history-ui__changes-navigation__label','_isStatusLabelVisible','ck-revision-history-ui__changes-navigation','Show\x20next\x20change','backward','6880060MAilvg','Loading...','bindTemplate','149VSQsAt','setTemplate','currentChangeNumber','ck-revision-history-ui','div','forward','13012YOLOTY','ck-revision-history-ui__changes-navigation__wrapper','Total','11724930wzNVgj','_statusText','span','698064cUbBph','ck-hidden','fire','isBackwardNavigationEnabled','set','numberOfChanges','isForwardNavigationEnabled','9592CwLQlt','isNavigationMode','18lyYokR','X_OF_Y_CHANGES'];_0xdc13=function(){return _0x18e989;};return _0xdc13();}import _0x10b752 from'../../../theme/icons/arrow-up.svg';import _0x1e3192 from'../../../theme/icons/arrow-down.svg';function _0x1274(_0x52f562,_0xde604d){const _0xdc1335=_0xdc13();return _0x1274=function(_0x12748f,_0x5c2bc6){_0x12748f=_0x12748f-0xaa;let _0x3bec05=_0xdc1335[_0x12748f];return _0x3bec05;},_0x1274(_0x52f562,_0xde604d);}import'../../../theme/changesnavigation.css';export default class _i extends _0x4d3e66{constructor(_0xd9ab25){const _0x594973=_0x1274;super(_0xd9ab25);const _0x354948=this[_0x594973(0xaa)],_0xe73c49=new _0x2eca39(_0xd9ab25),_0xa6192e=new _0x2eca39(_0xd9ab25);this[_0x594973(0xbb)](_0x594973(0xbf),!0x1),this[_0x594973(0xbb)](_0x594973(0xc3),!0x1),this[_0x594973(0xbb)](_0x594973(0xad),0x0),this[_0x594973(0xbb)](_0x594973(0xbc),0x0),this[_0x594973(0xbb)](_0x594973(0xbd),!0x1),this[_0x594973(0xbb)](_0x594973(0xba),!0x1),this[_0x594973(0xc6)](_0x594973(0xd0))['to'](this,_0x594973(0xc3),this,_0x594973(0xbc),(_0x2f521d,_0x5ad071)=>_0x2f521d&&_0x5ad071>0x0),this[_0x594973(0xc6)](_0x594973(0xb5))['to'](this,_0x594973(0xc3),this,_0x594973(0xad),this,_0x594973(0xbc),this,_0x594973(0xbf),(_0x372622,_0x5bf2a3,_0x3f4d77,_0x52856b)=>{const _0x200743=_0x594973;if(!_0x372622)return _0xb39c59(_0xd9ab25,_0x200743(0xd5));if(!_0x3f4d77)return _0xb39c59(_0xd9ab25,_0x200743(0xca));const _0x104124=_0xb39c59(_0xd9ab25,_0x200743(0xc5),_0x3f4d77);return _0x52856b?_0xb39c59(_0xd9ab25,_0x200743(0xc1),[_0x5bf2a3+0x1,_0x3f4d77]):_0x104124;}),_0xe73c49[_0x594973(0xbb)]({'label':_0xb39c59(_0xd9ab25,_0x594973(0xc9)),'tooltip':!0x0,'icon':_0x10b752}),_0xa6192e[_0x594973(0xbb)]({'label':_0xb39c59(_0xd9ab25,_0x594973(0xd2)),'tooltip':!0x0,'icon':_0x1e3192}),_0xe73c49[_0x594973(0xc6)](_0x594973(0xc2))['to'](this,_0x594973(0xba)),_0xa6192e[_0x594973(0xc6)](_0x594973(0xc2))['to'](this,_0x594973(0xbd)),_0xe73c49['on'](_0x594973(0xcc),()=>this[_0x594973(0xb9)](_0x594973(0xcc),_0x594973(0xd3))),_0xa6192e['on'](_0x594973(0xcc),()=>this[_0x594973(0xb9)](_0x594973(0xcc),_0x594973(0xb0))),this[_0x594973(0xac)]({'tag':_0x594973(0xaf),'attributes':{'class':['ck',_0x594973(0xae),_0x594973(0xd1)]},'children':[{'tag':_0x594973(0xb6),'attributes':{'class':[_0x594973(0xb2)]},'children':[{'tag':_0x594973(0xb6),'attributes':{'class':[_0x594973(0xcf),_0x354948['if'](_0x594973(0xd0),_0x594973(0xb8),_0x382334=>!_0x382334)]},'children':[{'text':_0x354948['to'](_0x594973(0xbf),_0x17a6bf=>_0x17a6bf?_0xb39c59(_0xd9ab25,_0x594973(0xcd))+':\x20':_0xb39c59(_0xd9ab25,_0x594973(0xb3))+':\x20')}]},{'text':_0x354948['to'](_0x594973(0xb5))}]},new _0x29ecab(),{'tag':_0x594973(0xaf),'attributes':{'class':[_0x594973(0xcb)]},'children':[_0xe73c49,_0xa6192e]}]});}}
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
const
|
|
23
|
+
const _0x1aef72=_0x5208;(function(_0x3f2a70,_0x442ef8){const _0x28201c=_0x5208,_0x29f96e=_0x3f2a70();while(!![]){try{const _0x3afa14=parseInt(_0x28201c(0xa8))/0x1+parseInt(_0x28201c(0xab))/0x2+-parseInt(_0x28201c(0x9c))/0x3*(-parseInt(_0x28201c(0xac))/0x4)+parseInt(_0x28201c(0xa7))/0x5+-parseInt(_0x28201c(0xb0))/0x6+-parseInt(_0x28201c(0x9f))/0x7*(-parseInt(_0x28201c(0xa1))/0x8)+-parseInt(_0x28201c(0xa3))/0x9*(parseInt(_0x28201c(0xa9))/0xa);if(_0x3afa14===_0x442ef8)break;else _0x29f96e['push'](_0x29f96e['shift']());}catch(_0x1342de){_0x29f96e['push'](_0x29f96e['shift']());}}}(_0x41ae,0x44d0a));import{Plugin as _0x35a7e1}from'ckeditor5/src/core.js';function _0x5208(_0xe2187d,_0x2272ec){const _0x41ae22=_0x41ae();return _0x5208=function(_0x5208cc,_0x2194f2){_0x5208cc=_0x5208cc-0x9a;let _0xead619=_0x41ae22[_0x5208cc];return _0xead619;},_0x5208(_0xe2187d,_0x2272ec);}const ce=_0x1aef72(0xad);function _0x41ae(){const _0x44b3f6=['RevisionViewerLoadingOverlay','3115092WGkuTr','show','removeClass','3bVcrBr','editing','document','28YKUyrY','change','716096ciMLYt','pluginName','778824qMMAvy','roots','editor','view','1815895BUnLjW','59979ljmDWy','40BuIGfE','hide','56450QhifVC','1351044RvKiNg','ck-editor__editable__loading-overlay','addClass'];_0x41ae=function(){return _0x44b3f6;};return _0x41ae();}import'../../../theme/revisionviewerloadingoverlay.css';export default class de extends _0x35a7e1{static get[_0x1aef72(0xa2)](){const _0x4fd072=_0x1aef72;return _0x4fd072(0xaf);}[_0x1aef72(0x9a)](){const _0x553cc6=_0x1aef72,_0x1f9b1c=this[_0x553cc6(0xa5)][_0x553cc6(0x9d)][_0x553cc6(0xa6)];_0x1f9b1c[_0x553cc6(0xa0)](_0xa73666=>{const _0x439aaa=_0x553cc6;for(const _0x5a31d3 of _0x1f9b1c[_0x439aaa(0x9e)][_0x439aaa(0xa4)])_0xa73666[_0x439aaa(0xae)](ce,_0x5a31d3);});}[_0x1aef72(0xaa)](){const _0x68e63=_0x1aef72,_0x5c35b6=this[_0x68e63(0xa5)][_0x68e63(0x9d)][_0x68e63(0xa6)];_0x5c35b6[_0x68e63(0xa0)](_0x56c9ce=>{const _0x101929=_0x68e63;for(const _0x19d1ff of _0x5c35b6[_0x101929(0x9e)][_0x101929(0xa4)])_0x56c9ce[_0x101929(0x9b)](ce,_0x19d1ff);});}}
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
const
|
|
23
|
+
const _0x362a9e=_0x1ccc;(function(_0x32c3fd,_0x4ed6c1){const _0x5dcf28=_0x1ccc,_0xf12cf0=_0x32c3fd();while(!![]){try{const _0x2c6be6=parseInt(_0x5dcf28(0x137))/0x1*(-parseInt(_0x5dcf28(0x147))/0x2)+parseInt(_0x5dcf28(0x143))/0x3+parseInt(_0x5dcf28(0x15c))/0x4*(parseInt(_0x5dcf28(0x161))/0x5)+-parseInt(_0x5dcf28(0x150))/0x6+parseInt(_0x5dcf28(0x15b))/0x7*(-parseInt(_0x5dcf28(0x145))/0x8)+parseInt(_0x5dcf28(0x146))/0x9+-parseInt(_0x5dcf28(0x15a))/0xa*(-parseInt(_0x5dcf28(0x154))/0xb);if(_0x2c6be6===_0x4ed6c1)break;else _0xf12cf0['push'](_0xf12cf0['shift']());}catch(_0x576c03){_0xf12cf0['push'](_0xf12cf0['shift']());}}}(_0x1592,0xee10c));function _0x1ccc(_0x430dae,_0x277ffc){const _0x1592b8=_0x1592();return _0x1ccc=function(_0x1ccce0,_0x3610bb){_0x1ccce0=_0x1ccce0-0x135;let _0x156aa2=_0x1592b8[_0x1ccce0];return _0x156aa2;},_0x1ccc(_0x430dae,_0x277ffc);}import{icons as _0x1159ae,Plugin as _0x3a4f56}from'ckeditor5/src/core.js';function _0x1592(){const _0x11acea=['show','revisionHistory','533wAqefg','currentChangeNumber','config','isReady','showPreviousChange','execute','pluginName','changesNavigation','set','showNextChange','commands','isNavigationMode','272688OnCDxk','init','6344jbLIJy','4305564LftPsZ','3078kUmlFE','add','hide','restoreRevision','exitToEditing','numberOfChanges','Back\x20to\x20editing','isEnabled','undo','4196196MUOnli','closeRevisionViewerCallback','requires','listenTo','9866802HZtwFm','isForwardNavigationEnabled','get','editor','plugins','change:isReady','40dSDLAw','15071DkzvGG','8KHitxO','forward','isBackwardNavigationEnabled','Restore\x20this\x20revision','RevisionViewerUI','112195iiZMnj','bind','ck-revision-history-ui__back-to-editing','componentFactory'];_0x1592=function(){return _0x11acea;};return _0x1592();}import{ButtonView as _0x24976a}from'ckeditor5/src/ui.js';import _0x41eb27 from'./changesnavigationview.js';import _0x54dbd0 from'./../../revisionviewer.js';import _0x300092 from'./revisionviewerloadingoverlay.js';import{getTranslation as _0x16d43b}from'../../utils/common-translations.js';import'../../../theme/revisionviewer.css';export default class R extends _0x3a4f56{static get[_0x362a9e(0x13d)](){const _0x57499b=_0x362a9e;return _0x57499b(0x160);}static get[_0x362a9e(0x152)](){return[_0x54dbd0,_0x300092];}[_0x362a9e(0x144)](){const _0x1cbcf5=_0x362a9e,_0xe50cf5=this[_0x1cbcf5(0x157)],_0x4b24d7=_0xe50cf5[_0x1cbcf5(0x158)][_0x1cbcf5(0x156)](_0x54dbd0),_0x3c69d3=_0xe50cf5[_0x1cbcf5(0x158)][_0x1cbcf5(0x156)](_0x300092);_0xe50cf5['ui'][_0x1cbcf5(0x164)][_0x1cbcf5(0x148)](_0x1cbcf5(0x14b),_0x2e9912=>{const _0x746ebc=_0x1cbcf5,_0xfc8847=new _0x24976a(_0x2e9912);return _0xfc8847[_0x746ebc(0x13f)]({'label':_0x16d43b(_0x2e9912,_0x746ebc(0x14d)),'icon':_0x1159ae[_0x746ebc(0x14f)],'withText':!0x0,'tooltip':!0x0,'class':_0x746ebc(0x163)}),this[_0x746ebc(0x153)](_0xfc8847,_0x746ebc(0x13c),()=>{const _0x8ee61b=_0x746ebc;_0xe50cf5[_0x8ee61b(0x139)][_0x8ee61b(0x156)](_0x8ee61b(0x136))[_0x8ee61b(0x151)]();}),_0xfc8847;}),_0xe50cf5['ui'][_0x1cbcf5(0x164)][_0x1cbcf5(0x148)](_0x1cbcf5(0x14a),_0xed135d=>{const _0x451824=_0x1cbcf5,_0x2bd2c3=new _0x24976a(_0xed135d);return _0x2bd2c3[_0x451824(0x13f)]({'label':_0x16d43b(_0xed135d,_0x451824(0x15f)),'withText':!0x0,'tooltip':!0x0}),_0x2bd2c3[_0x451824(0x162)](_0x451824(0x14e))['to'](_0xe50cf5[_0x451824(0x141)][_0x451824(0x156)](_0x451824(0x14a))),this[_0x451824(0x153)](_0x2bd2c3,_0x451824(0x13c),()=>_0xe50cf5[_0x451824(0x13c)](_0x451824(0x14a))),_0x2bd2c3;}),_0xe50cf5['ui'][_0x1cbcf5(0x164)][_0x1cbcf5(0x148)](_0x1cbcf5(0x13e),_0x1dbe1d=>{const _0x5993af=_0x1cbcf5,_0x4d7d4d=new _0x41eb27(_0x1dbe1d),_0x31309e=_0xe50cf5[_0x5993af(0x141)][_0x5993af(0x156)](_0x5993af(0x13b)),_0x338146=_0xe50cf5[_0x5993af(0x141)][_0x5993af(0x156)](_0x5993af(0x140));return _0x4d7d4d[_0x5993af(0x162)](_0x5993af(0x15e))['to'](_0x31309e,_0x5993af(0x14e)),_0x4d7d4d[_0x5993af(0x162)](_0x5993af(0x155))['to'](_0x338146,_0x5993af(0x14e)),_0x4d7d4d[_0x5993af(0x162)](_0x5993af(0x13a),_0x5993af(0x138),_0x5993af(0x14c),_0x5993af(0x142))['to'](_0x4b24d7),this[_0x5993af(0x153)](_0x4d7d4d,_0x5993af(0x13c),(_0x1216bd,_0x550f83)=>{const _0x4cfc06=_0x5993af;_0xe50cf5[_0x4cfc06(0x13c)](_0x4cfc06(0x15d)===_0x550f83?_0x4cfc06(0x140):_0x4cfc06(0x13b));}),_0x4d7d4d;}),_0x3c69d3[_0x1cbcf5(0x135)](),_0x4b24d7['on'](_0x1cbcf5(0x159),(_0x414c5d,_0x5325e1,_0x49c15a)=>{const _0x14202e=_0x1cbcf5;_0x49c15a?_0x3c69d3[_0x14202e(0x149)]():_0x3c69d3[_0x14202e(0x135)]();});}}
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
export function getTranslation(
|
|
23
|
+
export function getTranslation(_0x516f7a,_0x38c5c5,_0x504794){const t=_0x516f7a['t'];switch(_0x38c5c5){case'Revision\x20history':return t('Revision\x20history');case'Open\x20revision\x20history':return t('Open\x20revision\x20history');case'Restored':return t('Restored');case'Empty\x20document':return t('Empty\x20document');case'Initial\x20revision':return t('Initial\x20revision');case'Suggested\x20by':return t('Suggested\x20by');case'Added\x20by':return t('Added\x20by');case'Removed\x20by':return t('Removed\x20by');case'Show\x20more\x20items':return t('Show\x20more\x20items');case'Compare\x20against\x20selected':return t('Compare\x20against\x20selected');case'Name\x20this\x20revision':return t('Name\x20this\x20revision');case'Restore\x20this\x20revision':return t('Restore\x20this\x20revision');case'Back\x20to\x20editing':return t('Back\x20to\x20editing');case'Loading...':return t('Loading...');case'No\x20changes':return t('No\x20changes');case'NUMBER_OF_CHANGES':return t({'string':'%0\x20change','plural':'%0\x20changes','id':'NUMBER_OF_CHANGES'},_0x504794);case'X_OF_Y_CHANGES':return t({'string':'%0\x20of\x20%1','id':'X_OF_Y_CHANGES'},_0x504794);case'Show\x20previous\x20change':return t('Show\x20previous\x20change');case'Show\x20next\x20change':return t('Show\x20next\x20change');case'EDIT_X_OF_Y_REVISIONS':return t({'string':'Edit','id':'EDIT_X_OF_Y_REVISIONS'});case'Total':return t('Total');case'Revision\x20creator':return t('Revision\x20creator');case'Revision\x20author':return t('Revision\x20author');case'Revision\x20name':return t('Revision\x20name');case'Save\x20current\x20revision':return t('Save\x20current\x20revision');case'Accept':return t('Accept');case'Save':return t('Save');case'Cancel':return t('Cancel');case'Name\x20of\x20the\x20revision':return t('Name\x20of\x20the\x20revision');case'optional':return t('optional');case'PENDING_ACTION_REVISION_HISTORY':return t({'string':'Unsaved\x20change\x20in\x20revision\x20history.','id':'PENDING_ACTION_REVISION_HISTORY'});case'The\x20revision\x20name\x20cannot\x20be\x20empty.':return t('The\x20revision\x20name\x20cannot\x20be\x20empty.');case'Enter\x20the\x20revision\x20name':return t('Enter\x20the\x20revision\x20name');default:return'';}}
|