@ckeditor/ckeditor5-revision-history 0.0.0-nightly-20240715.0 → 0.0.0-nightly-20240717.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/CHANGELOG.md +1 -1
- package/build/revision-history.js +1 -1
- package/dist/index.js +6 -6
- package/dist/translations/af.js +1 -1
- package/dist/translations/af.umd.js +1 -1
- package/dist/translations/ar.js +1 -1
- package/dist/translations/ar.umd.js +1 -1
- package/dist/translations/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/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.js +1 -1
- package/src/revisionviewer.js +1 -1
- package/src/ui/revision/createrevisionactionsdropdown.js +1 -1
- package/src/ui/revision/revisionauthorview.js +1 -1
- package/src/ui/revision/revisionnameview.js +1 -1
- package/src/ui/revision/revisionview.js +2 -2
- package/src/ui/revision/subrevisioncollapserview.js +1 -1
- package/src/ui/revision/subrevisionview.js +1 -1
- package/src/ui/revision/utils.js +1 -1
- package/src/ui/revisionhistory/revisionhistorysaverevisionformview.js +1 -1
- package/src/ui/revisionhistory/revisionhistoryui.js +1 -1
- package/src/ui/revisionssidebar/revisionssidebar.js +1 -1
- package/src/ui/revisionssidebar/revisionssidebarheaderview.js +1 -1
- package/src/ui/revisionssidebar/revisionssidebartimeperiodview.js +1 -1
- package/src/ui/revisionssidebar/revisionssidebarview.js +1 -1
- package/src/ui/revisionssidebar/utils.js +1 -1
- package/src/ui/revisionviewer/changedetailsview.js +1 -1
- package/src/ui/revisionviewer/changesnavigationview.js +1 -1
- package/src/ui/revisionviewer/revisionviewerloadingoverlay.js +1 -1
- package/src/ui/revisionviewer/revisionviewerui.js +1 -1
- package/src/utils/common-translations.js +1 -1
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
const
|
|
23
|
+
const _0x142fb6=_0x1060;(function(_0x5295e8,_0x3f52fb){const _0x392ae9=_0x1060,_0x3f3399=_0x5295e8();while(!![]){try{const _0x4816cf=-parseInt(_0x392ae9(0x165))/0x1*(parseInt(_0x392ae9(0x154))/0x2)+parseInt(_0x392ae9(0x14b))/0x3*(parseInt(_0x392ae9(0x150))/0x4)+parseInt(_0x392ae9(0x162))/0x5+-parseInt(_0x392ae9(0x15b))/0x6+-parseInt(_0x392ae9(0x148))/0x7+parseInt(_0x392ae9(0x147))/0x8+parseInt(_0x392ae9(0x14e))/0x9;if(_0x4816cf===_0x3f52fb)break;else _0x3f3399['push'](_0x3f3399['shift']());}catch(_0xd5cfcd){_0x3f3399['push'](_0x3f3399['shift']());}}}(_0x3105,0x750ad));function _0x1060(_0x31192b,_0x1886f1){const _0x3105a6=_0x3105();return _0x1060=function(_0x1060a9,_0xf160d1){_0x1060a9=_0x1060a9-0x13d;let _0x128047=_0x3105a6[_0x1060a9];return _0x128047;},_0x1060(_0x31192b,_0x1886f1);}import{LabeledFieldView as _0x33038a,View as _0x56bb51,createLabeledInputText as _0x5885b9,injectCssTransitionDisabler as _0x3af175,submitHandler as _0x1cb3d8}from'ckeditor5/src/ui.js';import{FocusTracker as _0xb46cf2,KeystrokeHandler as _0x1686ed}from'ckeditor5/src/utils.js';import{getTranslation as _0x423099}from'../../utils/common-translations.js';function _0x3105(){const _0x1e3396=['Name\x20of\x20the\x20revision','arrowright','errorText','revisionNameInputValue','revisionName','4841430RyZPQe','arrowup','set','stopPropagation','extendTemplate','form','render','3407465bqrMAa','value','focus','67XPBLsD','focusTracker','ck-responsive-form','add','ck-revision-history-save-revision-form','optional','input','setTemplate','arrowdown','trim','_createRevisionNameInput','keystrokes','2443608ucLBnF','2131220DKKsyd','220','element','51AwmuBQ','revisionNameInputView','label','9472806sNidWt','arrowleft','6824EfzqZK','reset','fieldView','locale','14260UZpAQU','listenTo'];_0x3105=function(){return _0x1e3396;};return _0x3105();}import'../../../theme/revisionhistorysaverevisionform.css';import'@ckeditor/ckeditor5-ui/theme/components/responsive-form/responsiveform.css';export default class ns extends _0x56bb51{constructor(_0x44cc3a,_0x2aa49b){const _0x16f47d=_0x1060;super(_0x44cc3a),this[_0x16f47d(0x166)]=new _0xb46cf2(),this[_0x16f47d(0x146)]=new _0x1686ed(),this[_0x16f47d(0x15d)](_0x16f47d(0x159),''),this[_0x16f47d(0x14c)]=this[_0x16f47d(0x145)](_0x2aa49b),this[_0x16f47d(0x142)]({'tag':_0x16f47d(0x160),'attributes':{'class':['ck',_0x16f47d(0x13f),_0x16f47d(0x13d)],'tabindex':'-1'},'children':[this[_0x16f47d(0x14c)]]}),_0x3af175(this);}[_0x142fb6(0x161)](){const _0x59a377=_0x142fb6;super[_0x59a377(0x161)](),_0x1cb3d8({'view':this}),this[_0x59a377(0x166)][_0x59a377(0x13e)](this[_0x59a377(0x14c)][_0x59a377(0x14a)]),this[_0x59a377(0x146)][_0x59a377(0x155)](this[_0x59a377(0x14a)]);const _0xffa928=_0x1065c0=>_0x1065c0[_0x59a377(0x15e)]();this[_0x59a377(0x146)][_0x59a377(0x15d)](_0x59a377(0x157),_0xffa928),this[_0x59a377(0x146)][_0x59a377(0x15d)](_0x59a377(0x14f),_0xffa928),this[_0x59a377(0x146)][_0x59a377(0x15d)](_0x59a377(0x15c),_0xffa928),this[_0x59a377(0x146)][_0x59a377(0x15d)](_0x59a377(0x143),_0xffa928);}[_0x142fb6(0x164)](){const _0x5a8370=_0x142fb6;this[_0x5a8370(0x14c)][_0x5a8370(0x164)]();}get[_0x142fb6(0x15a)](){const _0x34ec26=_0x142fb6;return this[_0x34ec26(0x14c)][_0x34ec26(0x152)][_0x34ec26(0x14a)][_0x34ec26(0x163)][_0x34ec26(0x144)]();}set[_0x142fb6(0x15a)](_0x3670cf){const _0x329280=_0x142fb6;this[_0x329280(0x14c)][_0x329280(0x152)][_0x329280(0x14a)][_0x329280(0x163)]=_0x3670cf[_0x329280(0x144)]();}[_0x142fb6(0x151)](){const _0xf20b02=_0x142fb6;this[_0xf20b02(0x14c)][_0xf20b02(0x152)][_0xf20b02(0x14a)][_0xf20b02(0x163)]='',this[_0xf20b02(0x14c)][_0xf20b02(0x158)]=null;}[_0x142fb6(0x145)](_0xe950e7){const _0x1a151a=_0x142fb6,_0x388cd7=new _0x33038a(this[_0x1a151a(0x153)],_0x5885b9),_0xe04c20=_0x388cd7[_0x1a151a(0x152)];_0xe04c20[_0x1a151a(0x15f)]({'attributes':{'maxlength':_0x1a151a(0x149)}});let _0xbbf80f=_0x423099(this[_0x1a151a(0x153)],_0x1a151a(0x156));return!_0xe950e7&&(_0xbbf80f+='\x20('+_0x423099(this[_0x1a151a(0x153)],_0x1a151a(0x140))+')'),(_0x388cd7[_0x1a151a(0x14d)]=_0xbbf80f,_0xe04c20['on'](_0x1a151a(0x141),()=>{const _0x5d48f3=_0x1a151a;this[_0x5d48f3(0x159)]=_0xe04c20[_0x5d48f3(0x14a)][_0x5d48f3(0x163)][_0x5d48f3(0x144)]();}),_0x388cd7);}}
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
const
|
|
23
|
+
const _0x11886b=_0x1370;(function(_0x5c5625,_0x3db200){const _0x19459a=_0x1370,_0x2d4094=_0x5c5625();while(!![]){try{const _0x248b91=-parseInt(_0x19459a(0x1a7))/0x1+parseInt(_0x19459a(0x199))/0x2+parseInt(_0x19459a(0x171))/0x3*(-parseInt(_0x19459a(0x19d))/0x4)+-parseInt(_0x19459a(0x193))/0x5*(-parseInt(_0x19459a(0x1a9))/0x6)+-parseInt(_0x19459a(0x19b))/0x7*(parseInt(_0x19459a(0x18c))/0x8)+-parseInt(_0x19459a(0x181))/0x9*(parseInt(_0x19459a(0x1a5))/0xa)+parseInt(_0x19459a(0x18d))/0xb;if(_0x248b91===_0x3db200)break;else _0x2d4094['push'](_0x2d4094['shift']());}catch(_0xa9abf1){_0x2d4094['push'](_0x2d4094['shift']());}}}(_0x23f4,0x9c22f));import{Plugin as _0x3b0678,icons as _0x6f6746}from'ckeditor5/src/core.js';import{createDropdown as _0x4ce6bf,ButtonView as _0x197aec,ListItemView as _0x69e883,ListView as _0x2a0b96,MenuBarMenuListItemButtonView as _0x275506,MenuBarMenuListItemView as _0x1fcbef,MenuBarMenuListView as _0x7357e6,MenuBarMenuView as _0x45802f}from'ckeditor5/src/ui.js';import _0x3fdb67 from'../../revisiontracker.js';function _0x1370(_0x38c801,_0x102f12){const _0x23f4c0=_0x23f4();return _0x1370=function(_0x13704a,_0x56da8e){_0x13704a=_0x13704a-0x168;let _0x2bd28e=_0x23f4c0[_0x13704a];return _0x2bd28e;},_0x1370(_0x38c801,_0x102f12);}import _0x57ec3e from'./revisionhistorysaverevisionformview.js';import{getTranslation as _0x122275}from'../../utils/common-translations.js';function _0x23f4(){const _0x9e3fcf=['Open\x20revision\x20history','2780519mdFIbH','_registerMenuComponent','284akhdto','submit','Dialog','addMany','The\x20revision\x20name\x20cannot\x20be\x20empty.','requires','ck-button-action','RevisionTracker','10juRWbX','showRevisionViewerCallback','332387vSdPpT','menu','6QnMFHh','view','focus','revisionSave','get','Cancel','RevisionHistoryUI','isEnabled','execute','plugins','items','_saveRevisionFormView','editor','7791RlauSw','delegate','menuBar:revisionHistory','reset','editing','buttonView','bind','pluginName','locale','show','panelView','children','errorText','init','hide','Save\x20current\x20revision','7500330GFNPCG','revisionNameInputView','revisionHistory','isReady','history','add','_createSaveRevisionFormView','menuitem','config','componentFactory','_showDialog','8tfHmcb','10936871agTtHr','set','isReadOnly','render','isOpen','Revision\x20history','5876055xbHdUy','saveRevision','revisionHistory.requireRevisionName','role','revisionName','Accept','434848ptNLPR'];_0x23f4=function(){return _0x9e3fcf;};return _0x23f4();}export default class u extends _0x3b0678{static get[_0x11886b(0x178)](){const _0x3ba3c0=_0x11886b;return _0x3ba3c0(0x16a);}static get[_0x11886b(0x1a2)](){return[_0x3fdb67];}[_0x11886b(0x17e)](){const _0x2b1c82=_0x11886b,_0x29f76f=this[_0x2b1c82(0x170)],_0x907875=_0x29f76f[_0x2b1c82(0x16d)][_0x2b1c82(0x168)](_0x2b1c82(0x1a4));_0x29f76f['ui'][_0x2b1c82(0x18a)][_0x2b1c82(0x186)](_0x2b1c82(0x183),_0x5e30f1=>{const _0x34147f=_0x2b1c82,_0x3bcb18=_0x4ce6bf(_0x5e30f1),_0x2ee49a=_0x3bcb18[_0x34147f(0x17b)][_0x34147f(0x17c)],_0x2c6099=new _0x2a0b96(_0x5e30f1),_0x1cead1=new _0x69e883(_0x5e30f1),_0x4c8708=new _0x197aec(_0x5e30f1),_0x14954e=new _0x69e883(_0x5e30f1),_0xaccba3=new _0x197aec(_0x5e30f1);return _0x3bcb18[_0x34147f(0x177)](_0x34147f(0x16b))['to'](_0x907875,_0x34147f(0x184),_0x907875,_0x34147f(0x16b),_0x29f76f,_0x34147f(0x18f),(_0x400040,_0x554474,_0x50939e)=>_0x400040&&_0x554474&&!_0x50939e),_0x3bcb18[_0x34147f(0x176)][_0x34147f(0x18e)]({'icon':_0x6f6746[_0x34147f(0x185)],'label':_0x122275(_0x5e30f1,_0x34147f(0x192)),'tooltip':!0x0}),_0x4c8708[_0x34147f(0x18e)]({'label':_0x122275(_0x5e30f1,_0x34147f(0x180)),'withText':!0x0,'role':_0x34147f(0x188)}),_0x4c8708[_0x34147f(0x177)](_0x34147f(0x16b))['to'](_0x907875,_0x34147f(0x184),_0x907875,_0x34147f(0x16b),_0x29f76f,_0x34147f(0x18f),(_0x2cedea,_0x47e49f,_0x4e608d)=>_0x2cedea&&_0x47e49f&&!_0x4e608d),_0x4c8708['on'](_0x34147f(0x16c),()=>this[_0x34147f(0x18b)]()),_0xaccba3[_0x34147f(0x18e)]({'label':_0x122275(_0x5e30f1,_0x34147f(0x19a)),'withText':!0x0,'role':_0x34147f(0x188)}),_0xaccba3[_0x34147f(0x177)](_0x34147f(0x16b))['to'](_0x907875,_0x34147f(0x184),_0x29f76f,_0x34147f(0x18f),(_0x18521c,_0x52a529)=>_0x18521c&&!_0x52a529),_0xaccba3['on'](_0x34147f(0x16c),()=>{const _0x32c116=_0x34147f;_0x29f76f[_0x32c116(0x189)][_0x32c116(0x168)](_0x32c116(0x183))[_0x32c116(0x1a6)](),_0x3bcb18[_0x32c116(0x191)]=!0x1,_0x29f76f[_0x32c116(0x175)][_0x32c116(0x1aa)][_0x32c116(0x1ab)]();}),_0x1cead1[_0x34147f(0x17c)][_0x34147f(0x186)](_0x4c8708),_0x14954e[_0x34147f(0x17c)][_0x34147f(0x186)](_0xaccba3),_0x2c6099[_0x34147f(0x196)]=_0x34147f(0x1a8),_0x2c6099[_0x34147f(0x16e)][_0x34147f(0x1a0)]([_0x1cead1,_0x14954e]),_0x2ee49a[_0x34147f(0x186)](_0x2c6099),_0x3bcb18;}),_0x29f76f['ui'][_0x2b1c82(0x18a)][_0x2b1c82(0x186)](_0x2b1c82(0x173),()=>this[_0x2b1c82(0x19c)]());}[_0x11886b(0x19c)](){const _0x7ef1f=_0x11886b,_0x175e4b=this[_0x7ef1f(0x170)],_0x3de7fb=_0x175e4b[_0x7ef1f(0x179)],_0x33b19f=new _0x45802f(_0x3de7fb),_0x85d24=new _0x7357e6(_0x3de7fb);_0x33b19f[_0x7ef1f(0x176)][_0x7ef1f(0x18e)]({'icon':_0x6f6746[_0x7ef1f(0x185)],'label':_0x122275(_0x3de7fb,_0x7ef1f(0x192))});const _0x54c611=new _0x1fcbef(_0x3de7fb,_0x33b19f),_0x1e9839=new _0x275506(_0x3de7fb);_0x1e9839[_0x7ef1f(0x18e)]({'label':_0x122275(_0x3de7fb,_0x7ef1f(0x180))}),_0x1e9839[_0x7ef1f(0x172)](_0x7ef1f(0x16c))['to'](_0x33b19f),_0x1e9839['on'](_0x7ef1f(0x16c),()=>{const _0x1ed71d=_0x7ef1f;this[_0x1ed71d(0x18b)]();}),_0x54c611[_0x7ef1f(0x17c)][_0x7ef1f(0x186)](_0x1e9839),_0x85d24[_0x7ef1f(0x16e)][_0x7ef1f(0x186)](_0x54c611);const _0x3b6e4e=new _0x1fcbef(_0x3de7fb,_0x33b19f),_0x26c89b=new _0x275506(_0x3de7fb);return _0x26c89b[_0x7ef1f(0x18e)]({'label':_0x122275(_0x3de7fb,_0x7ef1f(0x19a))}),_0x26c89b[_0x7ef1f(0x172)](_0x7ef1f(0x16c))['to'](_0x33b19f),_0x26c89b['on'](_0x7ef1f(0x16c),()=>{const _0x52026c=_0x7ef1f;_0x175e4b[_0x52026c(0x189)][_0x52026c(0x168)](_0x52026c(0x183))[_0x52026c(0x1a6)]();}),_0x3b6e4e[_0x7ef1f(0x17c)][_0x7ef1f(0x186)](_0x26c89b),_0x85d24[_0x7ef1f(0x16e)][_0x7ef1f(0x186)](_0x3b6e4e),_0x33b19f[_0x7ef1f(0x17b)][_0x7ef1f(0x17c)][_0x7ef1f(0x186)](_0x85d24),_0x33b19f;}[_0x11886b(0x18b)](){const _0x234b3b=_0x11886b,_0x428a8c=this[_0x234b3b(0x170)],_0x49295d=_0x428a8c[_0x234b3b(0x179)],_0x4ad787=_0x428a8c[_0x234b3b(0x16d)][_0x234b3b(0x168)](_0x234b3b(0x19f)),_0x665484=_0x428a8c[_0x234b3b(0x16d)][_0x234b3b(0x168)](_0x234b3b(0x1a4));function _0x1aed55(_0x5abffe){const _0x13daef=_0x234b3b;_0x428a8c[_0x13daef(0x189)][_0x13daef(0x168)](_0x13daef(0x195))&&''===_0x5abffe[_0x13daef(0x197)]?_0x5abffe[_0x13daef(0x182)][_0x13daef(0x17d)]=_0x122275(_0x49295d,_0x13daef(0x1a1)):(_0x428a8c[_0x13daef(0x16d)][_0x13daef(0x168)](_0x3fdb67)[_0x13daef(0x194)]({'name':_0x5abffe[_0x13daef(0x197)]}),_0x4ad787[_0x13daef(0x17f)]());}this[_0x234b3b(0x16f)]||(this[_0x234b3b(0x187)](),this[_0x234b3b(0x16f)]['on'](_0x234b3b(0x19e),()=>_0x1aed55(this[_0x234b3b(0x16f)]))),this[_0x234b3b(0x16f)][_0x234b3b(0x174)](),_0x4ad787[_0x234b3b(0x17a)]({'id':_0x234b3b(0x1ac),'title':_0x122275(_0x49295d,_0x234b3b(0x180)),'isModal':!0x0,'content':this[_0x234b3b(0x16f)],'actionButtons':[{'label':_0x122275(_0x428a8c[_0x234b3b(0x179)],_0x234b3b(0x169)),'withText':!0x0,'onExecute':()=>_0x4ad787[_0x234b3b(0x17f)]()},{'label':_0x122275(_0x428a8c[_0x234b3b(0x179)],_0x234b3b(0x198)),'class':_0x234b3b(0x1a3),'withText':!0x0,'onCreate'(_0x377eea){const _0x158534=_0x234b3b;_0x377eea[_0x158534(0x177)](_0x158534(0x16b))['to'](_0x665484,_0x158534(0x184),_0x665484,_0x158534(0x16b),_0x428a8c,_0x158534(0x18f),(_0x563581,_0x393b67,_0x3fb3d3)=>_0x563581&&_0x393b67&&!_0x3fb3d3);},'onExecute':()=>_0x1aed55(this[_0x234b3b(0x16f)])}]});}[_0x11886b(0x187)](){const _0x46f3a0=_0x11886b,_0x212c8d=this[_0x46f3a0(0x170)],_0x4459aa=_0x212c8d[_0x46f3a0(0x179)];this[_0x46f3a0(0x16f)]=new _0x57ec3e(_0x4459aa,_0x212c8d[_0x46f3a0(0x189)][_0x46f3a0(0x168)](_0x46f3a0(0x195))),this[_0x46f3a0(0x16f)][_0x46f3a0(0x190)]();}}
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
|
|
23
|
+
const _0x29a6f7=_0x550f;(function(_0x3ef12e,_0x42239e){const _0x401fe7=_0x550f,_0x4e0ea4=_0x3ef12e();while(!![]){try{const _0x5e0e43=parseInt(_0x401fe7(0x205))/0x1+parseInt(_0x401fe7(0x1f1))/0x2+-parseInt(_0x401fe7(0x1e1))/0x3*(-parseInt(_0x401fe7(0x218))/0x4)+-parseInt(_0x401fe7(0x20c))/0x5+-parseInt(_0x401fe7(0x1e9))/0x6*(parseInt(_0x401fe7(0x215))/0x7)+-parseInt(_0x401fe7(0x1f9))/0x8*(parseInt(_0x401fe7(0x203))/0x9)+parseInt(_0x401fe7(0x1f3))/0xa;if(_0x5e0e43===_0x42239e)break;else _0x4e0ea4['push'](_0x4e0ea4['shift']());}catch(_0x26dfbc){_0x4e0ea4['push'](_0x4e0ea4['shift']());}}}(_0x486c,0x43692));import{Plugin as _0x51f734}from'ckeditor5/src/core.js';function _0x550f(_0x1cc66c,_0x383c9e){const _0x486cd3=_0x486c();return _0x550f=function(_0x550f7d,_0x54c447){_0x550f7d=_0x550f7d-0x1dd;let _0x2206e8=_0x486cd3[_0x550f7d];return _0x2206e8;},_0x550f(_0x1cc66c,_0x383c9e);}import _0x3915e0 from'./revisionssidebarview.js';import _0x2cc653 from'../../revisionviewer.js';function _0x486c(){const _0x14b250=['listenTo','plugins','Compare\x20against\x20selected','Name\x20this\x20revision','_revisionViewer','isEnabled','getRevision','6KaOFOV','getLaterVisibleRevision','revisionHistory','pluginName','_revisions','getRevisionsInDiff','get','map','687794aznTdt','availableRevisionActions','5758570gAUEag','restoreRevision','_handleRevisionSelected','revisionSetName','element','timePeriodViews','16PzTpFq','Restore\x20this\x20revision','isSelected','focus','change:diff','destroy','compare','_handleDiffChange','assign','appendChild','1636578luGVOg','getEarlierVisibleRevision','60227FeNscP','action','revisionViews','config','defaultRevisionActions','requires','ready','2292185EOpGAZ','isVisible','revisionHistory.requireRevisionName','nameRevision','add','selectRevision','_handleRevisionSetName','remove','_createRevisionActions','876141oynais','_revisionsRepository','setName','492RayEJe','length','fieldView','revisionSelected','compareAgainstSelected','data','locale','render','restoreRevisionCallback','highlightRevisions','isReady','revisionHistory.revisionActions','getIndex','name','init','editor','bind','diff','string','newRevisionId','RevisionsSidebar','_sidebarView','repository','select','_handleEditorDataReady','revisionHistory.viewerSidebarContainer','5937GfgkTm'];_0x486c=function(){return _0x14b250;};return _0x486c();}class w extends _0x51f734{static get[_0x29a6f7(0x1ec)](){const _0x2531c6=_0x29a6f7;return _0x2531c6(0x22c);}static get[_0x29a6f7(0x20a)](){return[_0x2cc653];}constructor(_0x26ef60){const _0x455272=_0x29a6f7;super(_0x26ef60),this[_0x455272(0x1e6)]=_0x26ef60[_0x455272(0x1e3)][_0x455272(0x1ef)](_0x2cc653),this[_0x455272(0x216)]=this[_0x455272(0x1e6)][_0x455272(0x1dd)],this[_0x455272(0x22d)]=null;}[_0x29a6f7(0x226)](){const _0x49e22c=_0x29a6f7,_0x2af78f=this[_0x49e22c(0x216)][_0x49e22c(0x1ed)],_0x1b6852=this[_0x49e22c(0x214)](),_0x46a97a=this[_0x49e22c(0x227)][_0x49e22c(0x208)][_0x49e22c(0x1ef)](_0x49e22c(0x1e0));this[_0x49e22c(0x22d)]=new _0x3915e0(this[_0x49e22c(0x227)][_0x49e22c(0x21e)],_0x2af78f,_0x1b6852,this[_0x49e22c(0x227)][_0x49e22c(0x208)][_0x49e22c(0x1ef)](_0x49e22c(0x20e))),this[_0x49e22c(0x22d)]['on'](_0x49e22c(0x21b),this[_0x49e22c(0x1f5)][_0x49e22c(0x228)](this)),this[_0x49e22c(0x22d)]['on'](_0x49e22c(0x1f6),this[_0x49e22c(0x212)][_0x49e22c(0x228)](this)),this[_0x49e22c(0x22d)][_0x49e22c(0x228)](_0x49e22c(0x1e7))['to'](this[_0x49e22c(0x1e6)]),this[_0x49e22c(0x22d)][_0x49e22c(0x1f8)]['on'](_0x49e22c(0x210),(_0x3d7f7d,_0x2d4074)=>{const _0x4b7458=_0x49e22c;_0x2d4074[_0x4b7458(0x207)]['on'](_0x4b7458(0x210),(_0x194674,_0x9689ce)=>{const _0x22b624=_0x4b7458;_0x9689ce[_0x22b624(0x228)](_0x22b624(0x1e7),_0x22b624(0x222))['to'](this[_0x22b624(0x1e6)]);});}),this[_0x49e22c(0x22d)][_0x49e22c(0x21f)](),this[_0x49e22c(0x1e2)](this[_0x49e22c(0x227)][_0x49e22c(0x21d)],_0x49e22c(0x20b),this[_0x49e22c(0x1df)][_0x49e22c(0x228)](this)),this[_0x49e22c(0x1e2)](this[_0x49e22c(0x1e6)],_0x49e22c(0x1fd),this[_0x49e22c(0x200)][_0x49e22c(0x228)](this)),_0x46a97a[_0x49e22c(0x202)](this[_0x49e22c(0x22d)][_0x49e22c(0x1f7)]);}[_0x29a6f7(0x1fe)](){const _0x131f48=_0x29a6f7;this[_0x131f48(0x22d)][_0x131f48(0x1f7)][_0x131f48(0x213)](),this[_0x131f48(0x22d)][_0x131f48(0x1fe)]();}[_0x29a6f7(0x1df)](){const _0x4e3ca3=_0x29a6f7,_0x3e53fd=this[_0x4e3ca3(0x216)][_0x4e3ca3(0x1e8)](0x0);if(_0x3e53fd){const _0x50710c=this[_0x4e3ca3(0x216)][_0x4e3ca3(0x204)](_0x3e53fd['id']);this[_0x4e3ca3(0x1e6)][_0x4e3ca3(0x1ff)](_0x3e53fd,_0x50710c);}}[_0x29a6f7(0x1f5)](_0x9c2bf9,_0x2ad904){const _0x280771=_0x29a6f7,_0x19161f=this[_0x280771(0x216)][_0x280771(0x1e8)](_0x2ad904['id']),_0x2a95b2=this[_0x280771(0x216)][_0x280771(0x204)](_0x19161f['id']);this[_0x280771(0x1e6)][_0x280771(0x1ff)](_0x19161f,_0x2a95b2);}[_0x29a6f7(0x212)](_0x4eaa8a,_0x5bedce){const _0x55c70=_0x29a6f7;this[_0x55c70(0x216)][_0x55c70(0x1e8)](_0x5bedce['id'])[_0x55c70(0x217)](_0x5bedce[_0x55c70(0x225)]);}[_0x29a6f7(0x200)](_0x3f5dc3,_0x5a56d6,_0x739ba9){const _0x20e598=_0x29a6f7,_0x269dae=this[_0x20e598(0x216)][_0x20e598(0x1ee)](_0x739ba9);_0x269dae[_0x20e598(0x219)]>0x2?(this[_0x20e598(0x22d)][_0x20e598(0x221)](_0x269dae),this[_0x20e598(0x22d)][_0x20e598(0x211)](null)):(this[_0x20e598(0x22d)][_0x20e598(0x221)]([]),this[_0x20e598(0x22d)][_0x20e598(0x211)](_0x269dae[0x0]));}[_0x29a6f7(0x214)](){const _0x57bbb8=_0x29a6f7,_0x210598=this[_0x57bbb8(0x227)],_0x20e035=w[_0x57bbb8(0x1f2)],_0x5cd3ca=_0x210598[_0x57bbb8(0x208)][_0x57bbb8(0x1ef)](_0x57bbb8(0x223))||w[_0x57bbb8(0x209)];if(_0x5cd3ca[_0x57bbb8(0x219)])return _0x5cd3ca[_0x57bbb8(0x1f0)](_0x1d1265=>{const _0x2ed31c=_0x57bbb8,_0x414da7=_0x2ed31c(0x22a)==typeof _0x1d1265?Object[_0x2ed31c(0x201)]({},_0x20e035[_0x1d1265]):_0x1d1265;return _0x414da7[_0x2ed31c(0x206)]=_0x414da7[_0x2ed31c(0x206)][_0x2ed31c(0x228)](this,_0x210598),_0x414da7[_0x2ed31c(0x20d)]&&(_0x414da7[_0x2ed31c(0x20d)]=_0x414da7[_0x2ed31c(0x20d)][_0x2ed31c(0x228)](this,_0x210598)),_0x414da7;});}}w[_0x29a6f7(0x209)]=[_0x29a6f7(0x21c),_0x29a6f7(0x1f4),_0x29a6f7(0x20f)],w[_0x29a6f7(0x1f2)]={'compareAgainstSelected':{'name':_0x29a6f7(0x1e4),'action':({plugins:_0x39390a},_0x1c4933)=>{const _0x10bc67=_0x29a6f7,_0x402462=_0x39390a[_0x10bc67(0x1ef)](_0x2cc653),_0xe9c7c8=_0x402462[_0x10bc67(0x1dd)];let _0x2cf1ee=_0x402462[_0x10bc67(0x229)][_0x10bc67(0x22b)],_0x25f084=_0x1c4933['id'];_0xe9c7c8[_0x10bc67(0x224)](_0x2cf1ee)>_0xe9c7c8[_0x10bc67(0x224)](_0x25f084)&&([_0x2cf1ee,_0x25f084]=[_0x25f084,_0x2cf1ee]),_0x402462[_0x10bc67(0x1ff)](_0x2cf1ee,_0x25f084);},'isVisible':({plugins:_0x18f2e9},_0x399190)=>{const _0x1b341a=_0x29a6f7,_0x706c8b=_0x18f2e9[_0x1b341a(0x1ef)](_0x2cc653);return!(_0x706c8b[_0x1b341a(0x1dd)][_0x1b341a(0x1ee)](_0x706c8b[_0x1b341a(0x229)])[_0x1b341a(0x219)]>0x2||_0x399190[_0x1b341a(0x1fb)]);}},'restoreRevision':{'name':_0x29a6f7(0x1fa),'action':(_0x271b9a,{id:_0x531f7c})=>{const _0x4c20be=_0x29a6f7;_0x271b9a[_0x4c20be(0x208)][_0x4c20be(0x1ef)](_0x4c20be(0x1eb))[_0x4c20be(0x220)](_0x531f7c);},'isVisible':({plugins:_0x241b23},_0x54946e)=>!!_0x241b23[_0x29a6f7(0x1ef)](_0x2cc653)[_0x29a6f7(0x1dd)][_0x29a6f7(0x1ea)](_0x54946e['id'])},'nameRevision':{'name':_0x29a6f7(0x1e5),'action':({plugins:_0x5bd056},{id:_0x1b9245,revisionNameView:_0xb26f09})=>{const _0x5917af=_0x29a6f7,_0x5de483=_0x5bd056[_0x5917af(0x1ef)](_0x2cc653),_0x411b71=_0x5de483[_0x5917af(0x1dd)][_0x5917af(0x204)](_0x1b9245);_0x5de483[_0x5917af(0x1ff)](_0x1b9245,_0x411b71),_0xb26f09[_0x5917af(0x1fc)](),_0xb26f09[_0x5917af(0x21a)][_0x5917af(0x1de)]();}}};export default w;
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
(function(
|
|
23
|
+
(function(_0x4b7324,_0x46550f){const _0x3ce2d6=_0x55b8,_0x54f04f=_0x4b7324();while(!![]){try{const _0x4c12ed=-parseInt(_0x3ce2d6(0xf8))/0x1*(-parseInt(_0x3ce2d6(0x100))/0x2)+parseInt(_0x3ce2d6(0x101))/0x3*(-parseInt(_0x3ce2d6(0x106))/0x4)+-parseInt(_0x3ce2d6(0xfc))/0x5*(parseInt(_0x3ce2d6(0x109))/0x6)+parseInt(_0x3ce2d6(0x104))/0x7*(parseInt(_0x3ce2d6(0x103))/0x8)+parseInt(_0x3ce2d6(0xfe))/0x9*(-parseInt(_0x3ce2d6(0xfb))/0xa)+-parseInt(_0x3ce2d6(0x108))/0xb+parseInt(_0x3ce2d6(0x10a))/0xc;if(_0x4c12ed===_0x46550f)break;else _0x54f04f['push'](_0x54f04f['shift']());}catch(_0x2f577a){_0x54f04f['push'](_0x54f04f['shift']());}}}(_0x1bb3,0xc92f2));import{View as _0xb54904,IconView as _0x3dde9a}from'ckeditor5/src/ui.js';function _0x55b8(_0x1a78e3,_0x3ad0dc){const _0x1bb3a4=_0x1bb3();return _0x55b8=function(_0x55b8bd,_0x5633fb){_0x55b8bd=_0x55b8bd-0xf6;let _0xa31f21=_0x1bb3a4[_0x55b8bd];return _0xa31f21;},_0x55b8(_0x1a78e3,_0x3ad0dc);}import{getTranslation as _0x4451c8}from'../../utils/common-translations.js';import{icons as _0x552a4e}from'ckeditor5/src/core.js';function _0x1bb3(){const _0x536bf8=['1815756KVeHSS','36113076uIYile','content','span','10031IuDhwl','history','setTemplate','7598990jmzDHk','15rHNXHF','ck-revision-history-sidebar__header','18UcYXGo','Revision\x20history','274YcZNSK','4339677POZnFd','ck-revision-history-sidebar__header__label','1424jEiZyh','59227VQdmri','ck-reset_all','4MYNNVV','div','13105873hrhcDQ'];_0x1bb3=function(){return _0x536bf8;};return _0x1bb3();}import'../../../theme/revisionssidebar/revisionssidebarheader.css';export default class as extends _0xb54904{constructor(_0x1a3667){const _0x7f0d77=_0x55b8;super(_0x1a3667);const _0x4cf802=new _0x3dde9a();_0x4cf802[_0x7f0d77(0xf6)]=_0x552a4e[_0x7f0d77(0xf9)],this[_0x7f0d77(0xfa)]({'tag':_0x7f0d77(0x107),'attributes':{'class':['ck',_0x7f0d77(0x105),_0x7f0d77(0xfd)]},'children':[_0x4cf802,{'tag':_0x7f0d77(0xf7),'attributes':{'class':['ck',_0x7f0d77(0x102)]},'children':[_0x4451c8(_0x1a3667,_0x7f0d77(0xff))]}]});}}
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
|
|
23
|
+
function _0x47e6(_0x4156b9,_0x3f0497){const _0x49ffa5=_0x49ff();return _0x47e6=function(_0x47e6ca,_0x2c7892){_0x47e6ca=_0x47e6ca-0xeb;let _0x461863=_0x49ffa5[_0x47e6ca];return _0x461863;},_0x47e6(_0x4156b9,_0x3f0497);}function _0x49ff(){const _0x567dfc=['520HBQFAR','startDate','revisionViews','_revisionActions','div','43749XgOkyI','find','11FZTRBr','delegate','addRevision','_requireRevisionName','select','locale','134918BoKhqT','3559587ztnsNv','40757270JOjSAe','uiLanguage','ck-revision-history-sidebar__time-period__revisions','remove','createCollection','2rJIRFc','setTemplate','11891205AoelHn','span','125ZWDZGo','ck-revision-history-sidebar__time-period','ck-revision-history-sidebar__time-period__label','setName','24072DAJgkD','4269264LOuFBG','add','localizedPeriodName','removeRevision'];_0x49ff=function(){return _0x567dfc;};return _0x49ff();}const _0x5a80b9=_0x47e6;(function(_0x193729,_0x205c30){const _0x222fd8=_0x47e6,_0x5bf2bc=_0x193729();while(!![]){try{const _0xd6eac8=parseInt(_0x222fd8(0xfc))/0x1+parseInt(_0x222fd8(0x10b))/0x2*(-parseInt(_0x222fd8(0x105))/0x3)+-parseInt(_0x222fd8(0xf2))/0x4*(parseInt(_0x222fd8(0xee))/0x5)+parseInt(_0x222fd8(0xf3))/0x6+parseInt(_0x222fd8(0x104))/0x7*(-parseInt(_0x222fd8(0xf7))/0x8)+-parseInt(_0x222fd8(0xec))/0x9+-parseInt(_0x222fd8(0x106))/0xa*(-parseInt(_0x222fd8(0xfe))/0xb);if(_0xd6eac8===_0x205c30)break;else _0x5bf2bc['push'](_0x5bf2bc['shift']());}catch(_0x2c58e6){_0x5bf2bc['push'](_0x5bf2bc['shift']());}}}(_0x49ff,0xe09b2));import{View as _0x50c5a4}from'ckeditor5/src/ui.js';import _0x57b294 from'../revision/revisionview.js';import{getDateTimePeriodInfo as _0x3b4589}from'./utils.js';import'../../../theme/revisionssidebar/revisionssidebartimeperiod.css';export default class mi extends _0x50c5a4{constructor(_0x5960cc,_0x3112a,_0x454d55,_0x3fc684){const _0x1b2835=_0x47e6;super(_0x5960cc);const _0x28860f=_0x3b4589(_0x3112a,this[_0x1b2835(0x103)][_0x1b2835(0x107)])[_0x1b2835(0xf5)];this[_0x1b2835(0xf8)]=_0x3112a,this[_0x1b2835(0xf9)]=this[_0x1b2835(0x10a)](),this[_0x1b2835(0xfa)]=_0x454d55,this[_0x1b2835(0x101)]=_0x3fc684,this[_0x1b2835(0xf9)][_0x1b2835(0xff)](_0x1b2835(0x102))['to'](this),this[_0x1b2835(0xf9)][_0x1b2835(0xff)](_0x1b2835(0xf1))['to'](this),this[_0x1b2835(0xeb)]({'tag':_0x1b2835(0xfb),'attributes':{'class':['ck',_0x1b2835(0xef)]},'children':[{'tag':_0x1b2835(0xed),'attributes':{'class':['ck',_0x1b2835(0xf0)]},'children':[{'text':_0x28860f}]},{'tag':_0x1b2835(0xfb),'attributes':{'class':['ck',_0x1b2835(0x108)]},'children':this[_0x1b2835(0xf9)]}]});}[_0x5a80b9(0x100)](_0x301084){const _0x129b41=_0x5a80b9,_0x3cf9a0=new _0x57b294(this[_0x129b41(0x103)],_0x301084,this[_0x129b41(0xfa)],this[_0x129b41(0x101)]);this[_0x129b41(0xf9)][_0x129b41(0xf4)](_0x3cf9a0);}[_0x5a80b9(0xf6)](_0x5a58fa){const _0x5c0750=_0x5a80b9,_0x33e9a8=this[_0x5c0750(0xf9)][_0x5c0750(0xfd)](_0x3576d4=>_0x3576d4['id']===_0x5a58fa['id']);this[_0x5c0750(0xf9)][_0x5c0750(0x109)](_0x33e9a8);}}
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
const
|
|
23
|
+
const _0x4bc51f=_0x318d;function _0x4fa9(){const _0x1fff24=['some','ck-revision-history-sidebar','deselect','_getTimePeriodViewByStartDate','ck-disabled','_requireRevisionName','highlight','get','19908BgQFqA','div','remove','12630ybTylM','ck-revision-history-sidebar__timeline','isEnabled','310016hoYCRb','startDate','ck-reset','locale','revisionSelected','41211xlbwXL','render','addRevision','_addRevision','find','fire','map','selectRevision','_removeRevision','set','select','createCollection','timePeriodViews','unhighlight','3832180auhebF','1736dauZIH','removeRevision','8duLbYs','18400qQePJE','delegate','_revisionActions','bindTemplate','revisionViews','_revisions','highlightRevisions','ck-rounded-corners','add','getTime','132200tiylBC','setName','revisionSetName','flat','237IpouTS','552zTQjfx','uiLanguage','setTemplate','createdAt'];_0x4fa9=function(){return _0x1fff24;};return _0x4fa9();}(function(_0x128a11,_0x3269d9){const _0x393564=_0x318d,_0x2ea7e1=_0x128a11();while(!![]){try{const _0x58e3ce=parseInt(_0x393564(0x8c))/0x1*(-parseInt(_0x393564(0x97))/0x2)+parseInt(_0x393564(0x9b))/0x3*(-parseInt(_0x393564(0x70))/0x4)+-parseInt(_0x393564(0x73))/0x5*(-parseInt(_0x393564(0x9c))/0x6)+-parseInt(_0x393564(0x76))/0x7+parseInt(_0x393564(0x8a))/0x8*(parseInt(_0x393564(0x7b))/0x9)+-parseInt(_0x393564(0x8d))/0xa+parseInt(_0x393564(0x89))/0xb;if(_0x58e3ce===_0x3269d9)break;else _0x2ea7e1['push'](_0x2ea7e1['shift']());}catch(_0x417a3d){_0x2ea7e1['push'](_0x2ea7e1['shift']());}}}(_0x4fa9,0x94060));import{View as _0x538d54}from'ckeditor5/src/ui.js';import _0x198d2b from'./revisionssidebartimeperiodview.js';import _0x274d93 from'./revisionssidebarheaderview.js';function _0x318d(_0x141a87,_0x1686e2){const _0x4fa9b9=_0x4fa9();return _0x318d=function(_0x318d8e,_0x8636bf){_0x318d8e=_0x318d8e-0x69;let _0x8d2c75=_0x4fa9b9[_0x318d8e];return _0x8d2c75;},_0x318d(_0x141a87,_0x1686e2);}import{getDateTimePeriodInfo as _0x483e30}from'./utils.js';import'../../../theme/revisionssidebar/revisionssidebar.css';export default class ci extends _0x538d54{constructor(_0x1e5f14,_0x486a8f,_0x48f225,_0x2265d2){const _0x5a76e4=_0x318d;super(_0x1e5f14);const _0xa9230a=this[_0x5a76e4(0x90)];this[_0x5a76e4(0x87)]=this[_0x5a76e4(0x86)](),this[_0x5a76e4(0x87)][_0x5a76e4(0x8e)](_0x5a76e4(0x85))['to'](this),this[_0x5a76e4(0x87)][_0x5a76e4(0x8e)](_0x5a76e4(0x98))['to'](this),this[_0x5a76e4(0x92)]=_0x486a8f,this[_0x5a76e4(0x8f)]=_0x48f225,this[_0x5a76e4(0x6d)]=_0x2265d2,this['on'](_0x5a76e4(0x85),(_0x1fdd6f,_0x3348cd)=>{const _0x34a45b=_0x5a76e4;this[_0x34a45b(0x80)](_0x34a45b(0x7a),_0x3348cd);}),this['on'](_0x5a76e4(0x98),(_0x43843c,_0xf98ac6)=>{const _0x4f69d2=_0x5a76e4;this[_0x4f69d2(0x80)](_0x4f69d2(0x99),_0xf98ac6);}),this[_0x5a76e4(0x84)](_0x5a76e4(0x75),!0x1),this[_0x5a76e4(0x9e)]({'tag':_0x5a76e4(0x71),'attributes':{'class':['ck',_0x5a76e4(0x78),_0x5a76e4(0x94),_0x5a76e4(0x69)]},'children':[new _0x274d93(_0x1e5f14),{'tag':_0x5a76e4(0x71),'attributes':{'class':['ck',_0x5a76e4(0x74),_0xa9230a['if'](_0x5a76e4(0x75),_0x5a76e4(0x6c),_0x575ce0=>!_0x575ce0)]},'children':this[_0x5a76e4(0x87)]}]});}[_0x4bc51f(0x7c)](){const _0x1c2d0a=_0x4bc51f;super[_0x1c2d0a(0x7c)]();for(const _0x453cac of this[_0x1c2d0a(0x92)])this[_0x1c2d0a(0x7e)](_0x453cac);this[_0x1c2d0a(0x92)]['on'](_0x1c2d0a(0x95),(_0x4464b6,_0x3a885b)=>{const _0x1f965e=_0x1c2d0a;this[_0x1f965e(0x7e)](_0x3a885b);}),this[_0x1c2d0a(0x92)]['on'](_0x1c2d0a(0x72),(_0x24735e,_0x28e91b)=>{const _0x2fbc4e=_0x1c2d0a;this[_0x2fbc4e(0x83)](_0x28e91b);});}get[_0x4bc51f(0x91)](){const _0x3faf8c=_0x4bc51f;return this[_0x3faf8c(0x87)][_0x3faf8c(0x81)](_0x5b937b=>_0x5b937b[_0x3faf8c(0x91)][_0x3faf8c(0x81)](_0x31a008=>_0x31a008))[_0x3faf8c(0x9a)]();}[_0x4bc51f(0x82)](_0x3e6bb1){const _0x3d8288=_0x4bc51f;for(const _0x55431c of this[_0x3d8288(0x91)])_0x3e6bb1&&_0x3e6bb1['id']===_0x55431c['id']?_0x55431c[_0x3d8288(0x85)]():_0x55431c[_0x3d8288(0x6a)]();}[_0x4bc51f(0x93)](_0x2ccbe3){const _0x272b23=_0x4bc51f;for(const _0x2de3f4 of this[_0x272b23(0x91)])_0x2ccbe3[_0x272b23(0xa0)](({id:_0x2039b9})=>_0x2039b9===_0x2de3f4['id'])?_0x2de3f4[_0x272b23(0x6e)]():_0x2de3f4[_0x272b23(0x88)]();}[_0x4bc51f(0x7e)](_0x369df2){const _0x399b0e=_0x4bc51f,_0x106a08=_0x483e30(_0x369df2[_0x399b0e(0x9f)],this[_0x399b0e(0x79)][_0x399b0e(0x9d)])[_0x399b0e(0x77)];let _0x2a5ec1=this[_0x399b0e(0x87)][_0x399b0e(0x6f)](0x0);_0x2a5ec1&&_0x2a5ec1[_0x399b0e(0x77)][_0x399b0e(0x96)]()===_0x106a08[_0x399b0e(0x96)]()||(_0x2a5ec1=new _0x198d2b(this[_0x399b0e(0x79)],_0x106a08,this[_0x399b0e(0x8f)],this[_0x399b0e(0x6d)]),this[_0x399b0e(0x87)][_0x399b0e(0x95)](_0x2a5ec1)),_0x2a5ec1[_0x399b0e(0x7d)](_0x369df2);}[_0x4bc51f(0x83)](_0x2a1965){const _0x46f325=_0x4bc51f,_0x4ad438=_0x483e30(_0x2a1965[_0x46f325(0x9f)],this[_0x46f325(0x79)][_0x46f325(0x9d)])[_0x46f325(0x77)];this[_0x46f325(0x6b)](_0x4ad438)[_0x46f325(0x8b)](_0x2a1965);}[_0x4bc51f(0x6b)](_0x578726){const _0x3145c6=_0x4bc51f;return this[_0x3145c6(0x87)][_0x3145c6(0x7f)](_0x41b7c8=>_0x41b7c8[_0x3145c6(0x77)][_0x3145c6(0x96)]()===_0x578726[_0x3145c6(0x96)]());}}
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
(function(
|
|
23
|
+
function _0x18e7(){const _0x49ad93=['1408112hVUZAn','7426350dsYdmw','minus','hasSame','9674154ExGAwN','weekdayLong','55EyXjtg','578772ravLGF','toRelativeCalendar','year','local','3712370HxDYOr','setLocale','week','day','1115337wMBEOD','2XZtJwN','48mMSFpn','month','toJSDate','fromJSDate','452871LTLeOP','3oZddqf','monthLong','startOf'];_0x18e7=function(){return _0x49ad93;};return _0x18e7();}(function(_0x563b3a,_0x3291ef){const _0x844356=_0x2c6d,_0x3bd90f=_0x563b3a();while(!![]){try{const _0x4a1bc8=-parseInt(_0x844356(0xdf))/0x1*(-parseInt(_0x844356(0xe0))/0x2)+-parseInt(_0x844356(0xe6))/0x3*(-parseInt(_0x844356(0xe9))/0x4)+-parseInt(_0x844356(0xea))/0x5+parseInt(_0x844356(0xf0))/0x6+-parseInt(_0x844356(0xed))/0x7+parseInt(_0x844356(0xe1))/0x8*(parseInt(_0x844356(0xe5))/0x9)+-parseInt(_0x844356(0xdb))/0xa*(-parseInt(_0x844356(0xef))/0xb);if(_0x4a1bc8===_0x3291ef)break;else _0x3bd90f['push'](_0x3bd90f['shift']());}catch(_0x531ba7){_0x3bd90f['push'](_0x3bd90f['shift']());}}}(_0x18e7,0xd0a6a));import{DateTime as _0x1c0f65}from'luxon';function _0x2c6d(_0x30a6f5,_0x13533e){const _0x18e7bb=_0x18e7();return _0x2c6d=function(_0x2c6d67,_0x4074cf){_0x2c6d67=_0x2c6d67-0xd9;let _0x7b9804=_0x18e7bb[_0x2c6d67];return _0x7b9804;},_0x2c6d(_0x30a6f5,_0x13533e);}export function getDateTimePeriodInfo(_0x43af64,_0x2a33fb){const _0x20ddce=_0x2c6d,_0x1628ef=_0x1c0f65[_0x20ddce(0xe4)](_0x43af64)[_0x20ddce(0xdc)](_0x2a33fb),_0x478bae=_0x1c0f65[_0x20ddce(0xda)](),_0x4a7d43=_0x478bae[_0x20ddce(0xeb)]({'days':0x1})[_0x20ddce(0xe8)](_0x20ddce(0xde));let _0x39e4a5,_0x49859e;return _0x1628ef[_0x20ddce(0xec)](_0x478bae,_0x20ddce(0xde))?(_0x39e4a5=_0x1628ef[_0x20ddce(0xe8)](_0x20ddce(0xde))[_0x20ddce(0xe3)](),_0x49859e=_0x1628ef[_0x20ddce(0xf1)]()):_0x1628ef[_0x20ddce(0xec)](_0x4a7d43,_0x20ddce(0xde))?(_0x39e4a5=_0x4a7d43[_0x20ddce(0xe3)](),_0x49859e=_0x1628ef[_0x20ddce(0xf1)]()):_0x1628ef[_0x20ddce(0xec)](_0x478bae,_0x20ddce(0xdd))?(_0x39e4a5=_0x1628ef[_0x20ddce(0xe8)](_0x20ddce(0xdd))[_0x20ddce(0xe3)](),_0x49859e=_0x1628ef[_0x20ddce(0xee)]||''):_0x1628ef[_0x20ddce(0xec)](_0x478bae,_0x20ddce(0xd9))?(_0x39e4a5=_0x1628ef[_0x20ddce(0xe8)](_0x20ddce(0xe2))[_0x20ddce(0xe3)](),_0x49859e=_0x1628ef[_0x20ddce(0xe7)]||''):(_0x39e4a5=_0x1628ef[_0x20ddce(0xe8)](_0x20ddce(0xd9))[_0x20ddce(0xe3)](),_0x49859e=String(_0x1628ef[_0x20ddce(0xd9)])),{'startDate':_0x39e4a5,'localizedPeriodName':_0x49859e};}
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
|
|
23
|
+
function _0x2461(){const _0x2db233=['div','Added\x20by','changeId','ck-revision-change','_model','Removed\x20by','isSuggestion','add','author','3146sgxDam','Suggested\x20by','set','setTemplate','name','data','1279896lIUdaz','ck-revision-change__label','ck-annotation','612186CrftFE','238835bUcqyC','1vDOzYj','element','bindTemplate','30356RvnNwK','type','20280AxwcPM','span','2153515YwJwoI','33pMHuSh','30dNgGYC','focus','3216879Mdjign','ck-revision-change__'];_0x2461=function(){return _0x2db233;};return _0x2461();}const _0xbbbb5a=_0x2a6e;(function(_0x5e896b,_0x2e36c9){const _0xe3cf71=_0x2a6e,_0x3f2f1c=_0x5e896b();while(!![]){try{const _0x54efa1=parseInt(_0xe3cf71(0xbc))/0x1*(parseInt(_0xe3cf71(0xba))/0x2)+-parseInt(_0xe3cf71(0xc4))/0x3*(parseInt(_0xe3cf71(0xbf))/0x4)+-parseInt(_0xe3cf71(0xbb))/0x5*(parseInt(_0xe3cf71(0xc5))/0x6)+parseInt(_0xe3cf71(0xc3))/0x7+parseInt(_0xe3cf71(0xb7))/0x8+parseInt(_0xe3cf71(0xc7))/0x9+parseInt(_0xe3cf71(0xc1))/0xa*(-parseInt(_0xe3cf71(0xb1))/0xb);if(_0x54efa1===_0x2e36c9)break;else _0x3f2f1c['push'](_0x3f2f1c['shift']());}catch(_0x1c33c3){_0x3f2f1c['push'](_0x3f2f1c['shift']());}}}(_0x2461,0x37de2));import{View as _0xef3b90}from'ckeditor5/src/ui.js';import{getTranslation as _0x2ed11e}from'../../utils/common-translations.js';function _0x2a6e(_0x4fc4d3,_0x3dc3de){const _0x24615d=_0x2461();return _0x2a6e=function(_0x2a6eee,_0x5693b6){_0x2a6eee=_0x2a6eee-0xa7;let _0x427e34=_0x24615d[_0x2a6eee];return _0x427e34;},_0x2a6e(_0x4fc4d3,_0x3dc3de);}export default class Z extends _0xef3b90{constructor(_0x452712,_0x2ba68f){const _0x5683c8=_0x2a6e;super(_0x452712),this[_0x5683c8(0xac)]=_0x2ba68f,this[_0x5683c8(0xaa)]=_0x2ba68f['id'];const _0x442650=this[_0x5683c8(0xbe)],_0x3fd303=_0x2ed11e(_0x452712,_0x2ba68f[_0x5683c8(0xb6)][_0x5683c8(0xae)]?_0x5683c8(0xb2):_0x5683c8(0xaf)==_0x2ba68f[_0x5683c8(0xc0)]?_0x5683c8(0xa9):_0x5683c8(0xad));this[_0x5683c8(0xb3)](_0x5683c8(0xc0),_0x2ba68f[_0x5683c8(0xc0)]),this[_0x5683c8(0xb4)]({'tag':_0x5683c8(0xa8),'attributes':{'class':[_0x5683c8(0xb9),_0x5683c8(0xab),_0x442650['to'](_0x5683c8(0xc0),_0x250f7e=>_0x5683c8(0xa7)+_0x250f7e)],'tabindex':-0x1},'children':[{'tag':_0x5683c8(0xc2),'children':[{'tag':_0x5683c8(0xc2),'attributes':{'class':[_0x5683c8(0xb8)]},'children':[{'text':_0x3fd303}]},{'text':'\x20'+_0x2ba68f[_0x5683c8(0xb0)][_0x5683c8(0xb5)]}]}]});}[_0xbbbb5a(0xc6)](){const _0xccd6eb=_0xbbbb5a;this[_0xccd6eb(0xbd)][_0xccd6eb(0xc6)]();}}
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
(function(
|
|
23
|
+
(function(_0x28beaf,_0x58b0aa){const _0x4aa47d=_0x30dc,_0x300a72=_0x28beaf();while(!![]){try{const _0x16949a=-parseInt(_0x4aa47d(0x14c))/0x1*(parseInt(_0x4aa47d(0x15a))/0x2)+parseInt(_0x4aa47d(0x15f))/0x3+-parseInt(_0x4aa47d(0x152))/0x4+parseInt(_0x4aa47d(0x14f))/0x5+-parseInt(_0x4aa47d(0x157))/0x6*(parseInt(_0x4aa47d(0x164))/0x7)+-parseInt(_0x4aa47d(0x14b))/0x8*(parseInt(_0x4aa47d(0x167))/0x9)+parseInt(_0x4aa47d(0x144))/0xa*(parseInt(_0x4aa47d(0x169))/0xb);if(_0x16949a===_0x58b0aa)break;else _0x300a72['push'](_0x300a72['shift']());}catch(_0x1c0fb8){_0x300a72['push'](_0x300a72['shift']());}}}(_0x1e60,0xeb53b));import{View as _0x997ed3,ButtonView as _0x30f927,ToolbarSeparatorView as _0x2676da}from'ckeditor5/src/ui.js';import{getTranslation as _0xcf8b48}from'../../utils/common-translations.js';import _0x3176b3 from'../../../theme/icons/arrow-up.svg';function _0x30dc(_0x5150ce,_0x4da0b8){const _0x1e60ff=_0x1e60();return _0x30dc=function(_0x30dc43,_0x4d00a4){_0x30dc43=_0x30dc43-0x144;let _0x21fee4=_0x1e60ff[_0x30dc43];return _0x21fee4;},_0x30dc(_0x5150ce,_0x4da0b8);}import _0xa9899a from'../../../theme/icons/arrow-down.svg';function _0x1e60(){const _0x4fe2e4=['fire','3122ISPEWx','isBackwardNavigationEnabled','ck-revision-history-ui__changes-navigation__navigation','_isStatusLabelVisible','ck-revision-history-ui','5220105eGZhGk','forward','ck-hidden','Loading...','NUMBER_OF_CHANGES','9614570ZpqvyW','bindTemplate','backward','18xHGJKU','numberOfChanges','110XancKF','Show\x20previous\x20change','ck-revision-history-ui__changes-navigation__label','span','Total','execute','ck-revision-history-ui__changes-navigation__wrapper','2806990NANaKj','isForwardNavigationEnabled','setTemplate','isNavigationMode','div','_statusText','isReady','6063440hHqdEL','322mcehaG','currentChangeNumber','No\x20changes','125040SmahOQ','X_OF_Y_CHANGES','EDIT_X_OF_Y_REVISIONS','864488uTwumL','set','ck-revision-history-ui__changes-navigation','isEnabled','Show\x20next\x20change','6NXetLf','bind'];_0x1e60=function(){return _0x4fe2e4;};return _0x1e60();}import'../../../theme/changesnavigation.css';export default class _i extends _0x997ed3{constructor(_0x46cc02){const _0x6d8e73=_0x30dc;super(_0x46cc02);const _0x3745b0=this[_0x6d8e73(0x165)],_0x4b223c=new _0x30f927(_0x46cc02),_0xf070e6=new _0x30f927(_0x46cc02);this[_0x6d8e73(0x153)](_0x6d8e73(0x147),!0x1),this[_0x6d8e73(0x153)](_0x6d8e73(0x14a),!0x1),this[_0x6d8e73(0x153)](_0x6d8e73(0x14d),0x0),this[_0x6d8e73(0x153)](_0x6d8e73(0x168),0x0),this[_0x6d8e73(0x153)](_0x6d8e73(0x145),!0x1),this[_0x6d8e73(0x153)](_0x6d8e73(0x15b),!0x1),this[_0x6d8e73(0x158)](_0x6d8e73(0x15d))['to'](this,_0x6d8e73(0x14a),this,_0x6d8e73(0x168),(_0x4187f0,_0x58cb63)=>_0x4187f0&&_0x58cb63>0x0),this[_0x6d8e73(0x158)](_0x6d8e73(0x149))['to'](this,_0x6d8e73(0x14a),this,_0x6d8e73(0x14d),this,_0x6d8e73(0x168),this,_0x6d8e73(0x147),(_0x1c3db7,_0x113ca2,_0x5ee8c4,_0x330cfb)=>{const _0x5326d8=_0x6d8e73;if(!_0x1c3db7)return _0xcf8b48(_0x46cc02,_0x5326d8(0x162));if(!_0x5ee8c4)return _0xcf8b48(_0x46cc02,_0x5326d8(0x14e));const _0x270ce5=_0xcf8b48(_0x46cc02,_0x5326d8(0x163),_0x5ee8c4);return _0x330cfb?_0xcf8b48(_0x46cc02,_0x5326d8(0x150),[_0x113ca2+0x1,_0x5ee8c4]):_0x270ce5;}),_0x4b223c[_0x6d8e73(0x153)]({'label':_0xcf8b48(_0x46cc02,_0x6d8e73(0x16a)),'tooltip':!0x0,'icon':_0x3176b3}),_0xf070e6[_0x6d8e73(0x153)]({'label':_0xcf8b48(_0x46cc02,_0x6d8e73(0x156)),'tooltip':!0x0,'icon':_0xa9899a}),_0x4b223c[_0x6d8e73(0x158)](_0x6d8e73(0x155))['to'](this,_0x6d8e73(0x15b)),_0xf070e6[_0x6d8e73(0x158)](_0x6d8e73(0x155))['to'](this,_0x6d8e73(0x145)),_0x4b223c['on'](_0x6d8e73(0x16e),()=>this[_0x6d8e73(0x159)](_0x6d8e73(0x16e),_0x6d8e73(0x166))),_0xf070e6['on'](_0x6d8e73(0x16e),()=>this[_0x6d8e73(0x159)](_0x6d8e73(0x16e),_0x6d8e73(0x160))),this[_0x6d8e73(0x146)]({'tag':_0x6d8e73(0x148),'attributes':{'class':['ck',_0x6d8e73(0x15e),_0x6d8e73(0x154)]},'children':[{'tag':_0x6d8e73(0x16c),'attributes':{'class':[_0x6d8e73(0x16f)]},'children':[{'tag':_0x6d8e73(0x16c),'attributes':{'class':[_0x6d8e73(0x16b),_0x3745b0['if'](_0x6d8e73(0x15d),_0x6d8e73(0x161),_0x480bc3=>!_0x480bc3)]},'children':[{'text':_0x3745b0['to'](_0x6d8e73(0x147),_0x40e4c2=>_0x40e4c2?_0xcf8b48(_0x46cc02,_0x6d8e73(0x151))+':\x20':_0xcf8b48(_0x46cc02,_0x6d8e73(0x16d))+':\x20')}]},{'text':_0x3745b0['to'](_0x6d8e73(0x149))}]},new _0x2676da(),{'tag':_0x6d8e73(0x148),'attributes':{'class':[_0x6d8e73(0x15c)]},'children':[_0x4b223c,_0xf070e6]}]});}}
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
const
|
|
23
|
+
function _0x4308(){const _0x383762=['show','ck-editor__editable__loading-overlay','1788ejjUFh','document','99189WYnEOl','RevisionViewerLoadingOverlay','editing','editor','230064OdNlTw','pluginName','removeClass','hide','change','addClass','460YcJZQn','view','roots','1730840uDExWP','13372KCfHrL','56WsOpQP','1173310gRtLHn','88gtgTKR','714452WpQABx'];_0x4308=function(){return _0x383762;};return _0x4308();}const _0x2f52c7=_0x3f80;(function(_0x2cf7df,_0x5235dd){const _0x3913ea=_0x3f80,_0x33ae43=_0x2cf7df();while(!![]){try{const _0x4b1ed6=parseInt(_0x3913ea(0x193))/0x1+parseInt(_0x3913ea(0x18f))/0x2*(parseInt(_0x3913ea(0x183))/0x3)+parseInt(_0x3913ea(0x180))/0x4+parseInt(_0x3913ea(0x17e))/0x5+parseInt(_0x3913ea(0x189))/0x6*(-parseInt(_0x3913ea(0x194))/0x7)+parseInt(_0x3913ea(0x17f))/0x8*(parseInt(_0x3913ea(0x185))/0x9)+-parseInt(_0x3913ea(0x192))/0xa;if(_0x4b1ed6===_0x5235dd)break;else _0x33ae43['push'](_0x33ae43['shift']());}catch(_0x4256aa){_0x33ae43['push'](_0x33ae43['shift']());}}}(_0x4308,0x32142));import{Plugin as _0x1b0b1}from'ckeditor5/src/core.js';const ce=_0x2f52c7(0x182);import'../../../theme/revisionviewerloadingoverlay.css';function _0x3f80(_0x274ee0,_0xb76635){const _0x430849=_0x4308();return _0x3f80=function(_0x3f80bd,_0x1f4229){_0x3f80bd=_0x3f80bd-0x17e;let _0x30afe6=_0x430849[_0x3f80bd];return _0x30afe6;},_0x3f80(_0x274ee0,_0xb76635);}export default class de extends _0x1b0b1{static get[_0x2f52c7(0x18a)](){const _0x113038=_0x2f52c7;return _0x113038(0x186);}[_0x2f52c7(0x181)](){const _0x315368=_0x2f52c7,_0x129a80=this[_0x315368(0x188)][_0x315368(0x187)][_0x315368(0x190)];_0x129a80[_0x315368(0x18d)](_0x35ebc4=>{const _0x28707a=_0x315368;for(const _0xcbe616 of _0x129a80[_0x28707a(0x184)][_0x28707a(0x191)])_0x35ebc4[_0x28707a(0x18e)](ce,_0xcbe616);});}[_0x2f52c7(0x18c)](){const _0x1e4699=_0x2f52c7,_0xc0cac1=this[_0x1e4699(0x188)][_0x1e4699(0x187)][_0x1e4699(0x190)];_0xc0cac1[_0x1e4699(0x18d)](_0x24197e=>{const _0x35474c=_0x1e4699;for(const _0x4384f0 of _0xc0cac1[_0x35474c(0x184)][_0x35474c(0x191)])_0x24197e[_0x35474c(0x18b)](ce,_0x4384f0);});}}
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
|
|
23
|
+
function _0x48ed(_0x378ea8,_0x783356){const _0x3e7f20=_0x3e7f();return _0x48ed=function(_0x48edbe,_0x39eb42){_0x48edbe=_0x48edbe-0x123;let _0x3563ae=_0x3e7f20[_0x48edbe];return _0x3563ae;},_0x48ed(_0x378ea8,_0x783356);}const _0x45a2ac=_0x48ed;(function(_0x539886,_0x479ca3){const _0x25c6e4=_0x48ed,_0x1bfb18=_0x539886();while(!![]){try{const _0x390ad9=parseInt(_0x25c6e4(0x124))/0x1+parseInt(_0x25c6e4(0x13b))/0x2+-parseInt(_0x25c6e4(0x12a))/0x3+parseInt(_0x25c6e4(0x138))/0x4*(parseInt(_0x25c6e4(0x129))/0x5)+parseInt(_0x25c6e4(0x14c))/0x6+parseInt(_0x25c6e4(0x14f))/0x7+parseInt(_0x25c6e4(0x14b))/0x8*(-parseInt(_0x25c6e4(0x14d))/0x9);if(_0x390ad9===_0x479ca3)break;else _0x1bfb18['push'](_0x1bfb18['shift']());}catch(_0x3b9957){_0x1bfb18['push'](_0x1bfb18['shift']());}}}(_0x3e7f,0x62eab));import{icons as _0x1acc64,Plugin as _0x321abd}from'ckeditor5/src/core.js';import{ButtonView as _0x189303}from'ckeditor5/src/ui.js';import _0x4a9964 from'./changesnavigationview.js';import _0x553ad9 from'./../../revisionviewer.js';import _0x3096a0 from'./revisionviewerloadingoverlay.js';function _0x3e7f(){const _0x4b1adb=['5522594hAiZqz','isNavigationMode','restoreRevision','172207WACyNN','exitToEditing','pluginName','changesNavigation','revisionHistory','504985aiGiVd','840966wRcBhf','plugins','forward','change:isReady','editor','execute','get','showNextChange','numberOfChanges','Back\x20to\x20editing','Restore\x20this\x20revision','hide','listenTo','isBackwardNavigationEnabled','16tFBqEI','show','closeRevisionViewerCallback','1208404tqZpad','isEnabled','add','undo','componentFactory','currentChangeNumber','showPreviousChange','commands','set','config','init','RevisionViewerUI','isReady','ck-revision-history-ui__back-to-editing','requires','isForwardNavigationEnabled','904856CTHMgD','2476506BtPJHN','135iGCiRz','bind'];_0x3e7f=function(){return _0x4b1adb;};return _0x3e7f();}import{getTranslation as _0x19b48c}from'../../utils/common-translations.js';import'../../../theme/revisionviewer.css';export default class R extends _0x321abd{static get[_0x45a2ac(0x126)](){const _0x714324=_0x45a2ac;return _0x714324(0x146);}static get[_0x45a2ac(0x149)](){return[_0x553ad9,_0x3096a0];}[_0x45a2ac(0x145)](){const _0x219464=_0x45a2ac,_0x305c12=this[_0x219464(0x12e)],_0x4dbb0f=_0x305c12[_0x219464(0x12b)][_0x219464(0x130)](_0x553ad9),_0x2fdf70=_0x305c12[_0x219464(0x12b)][_0x219464(0x130)](_0x3096a0);_0x305c12['ui'][_0x219464(0x13f)][_0x219464(0x13d)](_0x219464(0x125),_0x334a48=>{const _0xb6f6b4=_0x219464,_0xea88e1=new _0x189303(_0x334a48);return _0xea88e1[_0xb6f6b4(0x143)]({'label':_0x19b48c(_0x334a48,_0xb6f6b4(0x133)),'icon':_0x1acc64[_0xb6f6b4(0x13e)],'withText':!0x0,'tooltip':!0x0,'class':_0xb6f6b4(0x148)}),this[_0xb6f6b4(0x136)](_0xea88e1,_0xb6f6b4(0x12f),()=>{const _0xc03cfb=_0xb6f6b4;_0x305c12[_0xc03cfb(0x144)][_0xc03cfb(0x130)](_0xc03cfb(0x128))[_0xc03cfb(0x13a)]();}),_0xea88e1;}),_0x305c12['ui'][_0x219464(0x13f)][_0x219464(0x13d)](_0x219464(0x123),_0x339293=>{const _0x8f4252=_0x219464,_0x32044a=new _0x189303(_0x339293);return _0x32044a[_0x8f4252(0x143)]({'label':_0x19b48c(_0x339293,_0x8f4252(0x134)),'withText':!0x0,'tooltip':!0x0}),_0x32044a[_0x8f4252(0x14e)](_0x8f4252(0x13c))['to'](_0x305c12[_0x8f4252(0x142)][_0x8f4252(0x130)](_0x8f4252(0x123))),this[_0x8f4252(0x136)](_0x32044a,_0x8f4252(0x12f),()=>_0x305c12[_0x8f4252(0x12f)](_0x8f4252(0x123))),_0x32044a;}),_0x305c12['ui'][_0x219464(0x13f)][_0x219464(0x13d)](_0x219464(0x127),_0x1c499a=>{const _0x48ebd7=_0x219464,_0x1478d3=new _0x4a9964(_0x1c499a),_0x4d822c=_0x305c12[_0x48ebd7(0x142)][_0x48ebd7(0x130)](_0x48ebd7(0x141)),_0x173efb=_0x305c12[_0x48ebd7(0x142)][_0x48ebd7(0x130)](_0x48ebd7(0x131));return _0x1478d3[_0x48ebd7(0x14e)](_0x48ebd7(0x137))['to'](_0x4d822c,_0x48ebd7(0x13c)),_0x1478d3[_0x48ebd7(0x14e)](_0x48ebd7(0x14a))['to'](_0x173efb,_0x48ebd7(0x13c)),_0x1478d3[_0x48ebd7(0x14e)](_0x48ebd7(0x147),_0x48ebd7(0x140),_0x48ebd7(0x132),_0x48ebd7(0x150))['to'](_0x4dbb0f),this[_0x48ebd7(0x136)](_0x1478d3,_0x48ebd7(0x12f),(_0x2a47a2,_0xb49ff9)=>{const _0x3992ba=_0x48ebd7;_0x305c12[_0x3992ba(0x12f)](_0x3992ba(0x12c)===_0xb49ff9?_0x3992ba(0x131):_0x3992ba(0x141));}),_0x1478d3;}),_0x2fdf70[_0x219464(0x139)](),_0x4dbb0f['on'](_0x219464(0x12d),(_0x569233,_0x1bd23e,_0x4c9a97)=>{const _0xd2b35b=_0x219464;_0x4c9a97?_0x2fdf70[_0xd2b35b(0x135)]():_0x2fdf70[_0xd2b35b(0x139)]();});}}
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
export function getTranslation(
|
|
23
|
+
export function getTranslation(_0x3b50ef,_0x1b8c82,_0x433e14){const t=_0x3b50ef['t'];switch(_0x1b8c82){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'},_0x433e14);case'X_OF_Y_CHANGES':return t({'string':'%0\x20of\x20%1','id':'X_OF_Y_CHANGES'},_0x433e14);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'';}}
|