@ckeditor/ckeditor5-revision-history 47.1.0-alpha.1 → 47.1.0-alpha.2
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/build/revision-history.js +1 -1
- package/dist/index.js +7 -7
- package/dist/translations/af.js +1 -1
- package/dist/translations/af.umd.js +1 -1
- package/dist/translations/ar.js +1 -1
- package/dist/translations/ar.umd.js +1 -1
- package/dist/translations/ast.js +1 -1
- package/dist/translations/ast.umd.js +1 -1
- package/dist/translations/az.js +1 -1
- package/dist/translations/az.umd.js +1 -1
- package/dist/translations/be.js +1 -1
- package/dist/translations/be.umd.js +1 -1
- package/dist/translations/bg.js +1 -1
- package/dist/translations/bg.umd.js +1 -1
- package/dist/translations/bn.js +1 -1
- package/dist/translations/bn.umd.js +1 -1
- package/dist/translations/bs.js +1 -1
- package/dist/translations/bs.umd.js +1 -1
- package/dist/translations/ca.js +1 -1
- package/dist/translations/ca.umd.js +1 -1
- package/dist/translations/cs.js +1 -1
- package/dist/translations/cs.umd.js +1 -1
- package/dist/translations/da.js +1 -1
- package/dist/translations/da.umd.js +1 -1
- package/dist/translations/de-ch.js +1 -1
- package/dist/translations/de-ch.umd.js +1 -1
- package/dist/translations/de.js +1 -1
- package/dist/translations/de.umd.js +1 -1
- package/dist/translations/el.js +1 -1
- package/dist/translations/el.umd.js +1 -1
- package/dist/translations/en-au.js +1 -1
- package/dist/translations/en-au.umd.js +1 -1
- package/dist/translations/en-gb.js +1 -1
- package/dist/translations/en-gb.umd.js +1 -1
- package/dist/translations/en.js +1 -1
- package/dist/translations/en.umd.js +1 -1
- package/dist/translations/eo.js +1 -1
- package/dist/translations/eo.umd.js +1 -1
- package/dist/translations/es-co.js +1 -1
- package/dist/translations/es-co.umd.js +1 -1
- package/dist/translations/es.js +1 -1
- package/dist/translations/es.umd.js +1 -1
- package/dist/translations/et.js +1 -1
- package/dist/translations/et.umd.js +1 -1
- package/dist/translations/eu.js +1 -1
- package/dist/translations/eu.umd.js +1 -1
- package/dist/translations/fa.js +1 -1
- package/dist/translations/fa.umd.js +1 -1
- package/dist/translations/fi.js +1 -1
- package/dist/translations/fi.umd.js +1 -1
- package/dist/translations/fr.js +1 -1
- package/dist/translations/fr.umd.js +1 -1
- package/dist/translations/gl.js +1 -1
- package/dist/translations/gl.umd.js +1 -1
- package/dist/translations/gu.js +1 -1
- package/dist/translations/gu.umd.js +1 -1
- package/dist/translations/he.js +1 -1
- package/dist/translations/he.umd.js +1 -1
- package/dist/translations/hi.js +1 -1
- package/dist/translations/hi.umd.js +1 -1
- package/dist/translations/hr.js +1 -1
- package/dist/translations/hr.umd.js +1 -1
- package/dist/translations/hu.js +1 -1
- package/dist/translations/hu.umd.js +1 -1
- package/dist/translations/hy.js +1 -1
- package/dist/translations/hy.umd.js +1 -1
- package/dist/translations/id.js +1 -1
- package/dist/translations/id.umd.js +1 -1
- package/dist/translations/it.js +1 -1
- package/dist/translations/it.umd.js +1 -1
- package/dist/translations/ja.js +1 -1
- package/dist/translations/ja.umd.js +1 -1
- package/dist/translations/jv.js +1 -1
- package/dist/translations/jv.umd.js +1 -1
- package/dist/translations/kk.js +1 -1
- package/dist/translations/kk.umd.js +1 -1
- package/dist/translations/km.js +1 -1
- package/dist/translations/km.umd.js +1 -1
- package/dist/translations/kn.js +1 -1
- package/dist/translations/kn.umd.js +1 -1
- package/dist/translations/ko.js +1 -1
- package/dist/translations/ko.umd.js +1 -1
- package/dist/translations/ku.js +1 -1
- package/dist/translations/ku.umd.js +1 -1
- package/dist/translations/lt.js +1 -1
- package/dist/translations/lt.umd.js +1 -1
- package/dist/translations/lv.js +1 -1
- package/dist/translations/lv.umd.js +1 -1
- package/dist/translations/ms.js +1 -1
- package/dist/translations/ms.umd.js +1 -1
- package/dist/translations/nb.js +1 -1
- package/dist/translations/nb.umd.js +1 -1
- package/dist/translations/ne.js +1 -1
- package/dist/translations/ne.umd.js +1 -1
- package/dist/translations/nl.js +1 -1
- package/dist/translations/nl.umd.js +1 -1
- package/dist/translations/no.js +1 -1
- package/dist/translations/no.umd.js +1 -1
- package/dist/translations/oc.js +1 -1
- package/dist/translations/oc.umd.js +1 -1
- package/dist/translations/pl.js +1 -1
- package/dist/translations/pl.umd.js +1 -1
- package/dist/translations/pt-br.js +1 -1
- package/dist/translations/pt-br.umd.js +1 -1
- package/dist/translations/pt.js +1 -1
- package/dist/translations/pt.umd.js +1 -1
- package/dist/translations/ro.js +1 -1
- package/dist/translations/ro.umd.js +1 -1
- package/dist/translations/ru.js +1 -1
- package/dist/translations/ru.umd.js +1 -1
- package/dist/translations/si.js +1 -1
- package/dist/translations/si.umd.js +1 -1
- package/dist/translations/sk.js +1 -1
- package/dist/translations/sk.umd.js +1 -1
- package/dist/translations/sl.js +1 -1
- package/dist/translations/sl.umd.js +1 -1
- package/dist/translations/sq.js +1 -1
- package/dist/translations/sq.umd.js +1 -1
- package/dist/translations/sr-latn.js +1 -1
- package/dist/translations/sr-latn.umd.js +1 -1
- package/dist/translations/sr.js +1 -1
- package/dist/translations/sr.umd.js +1 -1
- package/dist/translations/sv.js +1 -1
- package/dist/translations/sv.umd.js +1 -1
- package/dist/translations/th.js +1 -1
- package/dist/translations/th.umd.js +1 -1
- package/dist/translations/ti.js +1 -1
- package/dist/translations/ti.umd.js +1 -1
- package/dist/translations/tk.js +1 -1
- package/dist/translations/tk.umd.js +1 -1
- package/dist/translations/tr.js +1 -1
- package/dist/translations/tr.umd.js +1 -1
- package/dist/translations/tt.js +1 -1
- package/dist/translations/tt.umd.js +1 -1
- package/dist/translations/ug.js +1 -1
- package/dist/translations/ug.umd.js +1 -1
- package/dist/translations/uk.js +1 -1
- package/dist/translations/uk.umd.js +1 -1
- package/dist/translations/ur.js +1 -1
- package/dist/translations/ur.umd.js +1 -1
- package/dist/translations/uz.js +1 -1
- package/dist/translations/uz.umd.js +1 -1
- package/dist/translations/vi.js +1 -1
- package/dist/translations/vi.umd.js +1 -1
- package/dist/translations/zh-cn.js +1 -1
- package/dist/translations/zh-cn.umd.js +1 -1
- package/dist/translations/zh.js +1 -1
- package/dist/translations/zh.umd.js +1 -1
- package/package.json +12 -12
- 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/revisionhistoryutils.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 +2 -2
- package/src/ui/revisionhistory/revisionhistoryui.js +1 -1
- package/src/ui/revisionssidebar/revisionssidebar.js +1 -1
- package/src/ui/revisionssidebar/revisionssidebarheaderview.js +1 -1
- package/src/ui/revisionssidebar/revisionssidebartimeperiodview.js +1 -1
- package/src/ui/revisionssidebar/revisionssidebarview.js +1 -1
- package/src/ui/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,5 +20,5 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
const
|
|
24
|
-
|
|
23
|
+
const _0x467010=_0x4946;function _0x9392(){const _0x14688e=['ck-revision-history-save-revision-form','5336jaNBWo','set','2711952xqbjoh','arrowright','arrowleft','add','setTemplate','arrowup','revisionNameInputValue','form','focus','220','listenTo','errorText','revisionNameInputView','extendTemplate','8586170vFbcyi','1359470GJpEck','4omRKNz','288217jvMxbF','Name\x20of\x20the\x20revision','6503168rhSKIX','8654040zudXwU','stopPropagation','optional','_createRevisionNameInput','reset','30kopbaB','arrowdown','render','keystrokes','ck-responsive-form','input','element','12861UUnlVs','locale','revisionName','value','label','fieldView','trim','focusTracker','initializeCssTransitionDisablerMixin'];_0x9392=function(){return _0x14688e;};return _0x9392();}(function(_0x5528d6,_0x8fe656){const _0x43db79=_0x4946,_0x4f8d48=_0x5528d6();while(!![]){try{const _0x48b794=parseInt(_0x43db79(0x1d9))/0x1+parseInt(_0x43db79(0x1d8))/0x2*(-parseInt(_0x43db79(0x1c8))/0x3)+parseInt(_0x43db79(0x1db))/0x4+parseInt(_0x43db79(0x1dc))/0x5+-parseInt(_0x43db79(0x1e1))/0x6*(parseInt(_0x43db79(0x1d7))/0x7)+parseInt(_0x43db79(0x1c6))/0x8*(parseInt(_0x43db79(0x1bc))/0x9)+-parseInt(_0x43db79(0x1d6))/0xa;if(_0x48b794===_0x8fe656)break;else _0x4f8d48['push'](_0x4f8d48['shift']());}catch(_0x321711){_0x4f8d48['push'](_0x4f8d48['shift']());}}}(_0x9392,0xea745));import{CssTransitionDisablerMixin as _0x36a25b,LabeledFieldView as _0x312f24,View as _0x2fc984,createLabeledInputText as _0x38a4ba,submitHandler as _0xb66da6}from'ckeditor5/src/ui.js';import{FocusTracker as _0x2b88bc,KeystrokeHandler as _0xd41318}from'ckeditor5/src/utils.js';import{getTranslation as _0x30b04c}from'../../utils/common-translations.js';import'../../../theme/revisionhistorysaverevisionform.css';function _0x4946(_0x15d573,_0x3b0ee3){const _0x9392da=_0x9392();return _0x4946=function(_0x494643,_0x5af67e){_0x494643=_0x494643-0x1b9;let _0x46537e=_0x9392da[_0x494643];return _0x46537e;},_0x4946(_0x15d573,_0x3b0ee3);}import'@ckeditor/ckeditor5-ui/theme/components/responsive-form/responsiveform.css';export class RevisionHistorySaveRevisionFormView extends/* #__PURE__ -- @preserve */
|
|
24
|
+
_0x36a25b(_0x2fc984){[_0x467010(0x1c3)];[_0x467010(0x1e4)];[_0x467010(0x1d4)];constructor(_0x238c76,_0x5224df){const _0x1db001=_0x467010;super(_0x238c76),this[_0x1db001(0x1c3)]=new _0x2b88bc(),this[_0x1db001(0x1e4)]=new _0xd41318(),this[_0x1db001(0x1c7)](_0x1db001(0x1ce),''),this[_0x1db001(0x1d4)]=this[_0x1db001(0x1df)](_0x5224df),this[_0x1db001(0x1cc)]({'tag':_0x1db001(0x1cf),'attributes':{'class':['ck',_0x1db001(0x1c5),_0x1db001(0x1b9)],'tabindex':'-1'},'children':[this[_0x1db001(0x1d4)]]}),this[_0x1db001(0x1c4)]();}[_0x467010(0x1e3)](){const _0x136c1=_0x467010;super[_0x136c1(0x1e3)](),_0xb66da6({'view':this}),this[_0x136c1(0x1c3)][_0x136c1(0x1cb)](this[_0x136c1(0x1d4)][_0x136c1(0x1bb)]),this[_0x136c1(0x1e4)][_0x136c1(0x1d2)](this[_0x136c1(0x1bb)]);const _0x33ecb3=_0x1551ec=>_0x1551ec[_0x136c1(0x1dd)]();this[_0x136c1(0x1e4)][_0x136c1(0x1c7)](_0x136c1(0x1c9),_0x33ecb3),this[_0x136c1(0x1e4)][_0x136c1(0x1c7)](_0x136c1(0x1ca),_0x33ecb3),this[_0x136c1(0x1e4)][_0x136c1(0x1c7)](_0x136c1(0x1cd),_0x33ecb3),this[_0x136c1(0x1e4)][_0x136c1(0x1c7)](_0x136c1(0x1e2),_0x33ecb3);}[_0x467010(0x1d0)](){const _0x55bb0f=_0x467010;this[_0x55bb0f(0x1d4)][_0x55bb0f(0x1d0)]();}get[_0x467010(0x1be)](){const _0x3132ca=_0x467010;return this[_0x3132ca(0x1d4)][_0x3132ca(0x1c1)][_0x3132ca(0x1bb)][_0x3132ca(0x1bf)][_0x3132ca(0x1c2)]();}set[_0x467010(0x1be)](_0x371604){const _0x53e5fb=_0x467010;this[_0x53e5fb(0x1d4)][_0x53e5fb(0x1c1)][_0x53e5fb(0x1bb)][_0x53e5fb(0x1bf)]=_0x371604[_0x53e5fb(0x1c2)]();}[_0x467010(0x1e0)](){const _0xe85426=_0x467010;this[_0xe85426(0x1d4)][_0xe85426(0x1c1)][_0xe85426(0x1bb)][_0xe85426(0x1bf)]='',this[_0xe85426(0x1d4)][_0xe85426(0x1d3)]=null;}[_0x467010(0x1df)](_0x4ff0c5){const _0x38953e=_0x467010,_0x63ba05=new _0x312f24(this[_0x38953e(0x1bd)],_0x38a4ba),_0x11eb0e=_0x63ba05[_0x38953e(0x1c1)];_0x11eb0e[_0x38953e(0x1d5)]({'attributes':{'maxlength':_0x38953e(0x1d1)}});let _0x24af2f=_0x30b04c(this[_0x38953e(0x1bd)],_0x38953e(0x1da));return!_0x4ff0c5&&(_0x24af2f+='\x20('+_0x30b04c(this[_0x38953e(0x1bd)],_0x38953e(0x1de))+')'),(_0x63ba05[_0x38953e(0x1c0)]=_0x24af2f,_0x11eb0e['on'](_0x38953e(0x1ba),()=>{const _0x25d855=_0x38953e;this[_0x25d855(0x1ce)]=_0x11eb0e[_0x25d855(0x1bb)][_0x25d855(0x1bf)][_0x25d855(0x1c2)]();}),_0x63ba05);}}
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
const
|
|
23
|
+
const _0xc814cb=_0x308b;function _0x308b(_0x2d5041,_0x50ad5c){const _0x40e5d2=_0x40e5();return _0x308b=function(_0x308b2c,_0x4ab439){_0x308b2c=_0x308b2c-0x152;let _0x5924f5=_0x40e5d2[_0x308b2c];return _0x5924f5;},_0x308b(_0x2d5041,_0x50ad5c);}(function(_0x3dcd6b,_0x1f788f){const _0x224d52=_0x308b,_0xff7986=_0x3dcd6b();while(!![]){try{const _0x5556e2=-parseInt(_0x224d52(0x166))/0x1*(parseInt(_0x224d52(0x170))/0x2)+parseInt(_0x224d52(0x17b))/0x3+parseInt(_0x224d52(0x16a))/0x4*(parseInt(_0x224d52(0x157))/0x5)+parseInt(_0x224d52(0x159))/0x6*(-parseInt(_0x224d52(0x189))/0x7)+-parseInt(_0x224d52(0x16d))/0x8*(parseInt(_0x224d52(0x178))/0x9)+-parseInt(_0x224d52(0x16e))/0xa*(parseInt(_0x224d52(0x18e))/0xb)+parseInt(_0x224d52(0x16f))/0xc;if(_0x5556e2===_0x1f788f)break;else _0xff7986['push'](_0xff7986['shift']());}catch(_0x43947d){_0xff7986['push'](_0xff7986['shift']());}}}(_0x40e5,0x4a126));import{Plugin as _0x417440}from'ckeditor5/src/core.js';import{IconHistory as _0x19fac6}from'ckeditor5/src/icons.js';import{createDropdown as _0x425ecd,ButtonView as _0x5152e7,ListItemView as _0x5ef4f6,ListView as _0x13ea86,MenuBarMenuListItemButtonView as _0xfa4146,MenuBarMenuListItemView as _0x25f183,MenuBarMenuListView as _0x5dd025,MenuBarMenuView as _0x34e46a}from'ckeditor5/src/ui.js';function _0x40e5(){const _0x507380=['isReadOnly','componentFactory','editor','role','_showDialog','69TOGGbd','revisionSave','errorText','config','1927740bnYVGt','ck-button-action','isReady','48btpWJO','50apAxBn','7153716PSzaoi','16624XkehOq','Accept','isOpen','editing','saveRevision','show','focus','panelView','849627XSPJHa','isEnabled','revisionHistory','1616589weQchd','_registerMenuComponent','revisionNameInputView','Cancel','revisionHistory.requireRevisionName','RevisionTracker','reset','The\x20revision\x20name\x20cannot\x20be\x20empty.','get','view','set','hide','items','isPremiumPlugin','286069HtFwUA','bind','RevisionHistoryUI','execute','render','292006NlAjjH','isOfficialPlugin','pluginName','Dialog','menu','_saveRevisionFormView','Open\x20revision\x20history','showRevisionViewerCallback','menuitem','locale','init','requires','addMany','Save\x20current\x20revision','menuBar:revisionHistory','plugins','5FGUlPh','_createSaveRevisionFormView','6eiRFWi','submit','buttonView','add','Revision\x20history','children','revisionName','delegate'];_0x40e5=function(){return _0x507380;};return _0x40e5();}import{RevisionTracker as _0x3dc384}from'../../revisiontracker.js';import{RevisionHistorySaveRevisionFormView as _0x138699}from'./revisionhistorysaverevisionformview.js';import{getTranslation as _0x1e98c5}from'../../utils/common-translations.js';export class RevisionHistoryUI extends _0x417440{static get[_0xc814cb(0x190)](){const _0xeec84c=_0xc814cb;return _0xeec84c(0x18b);}static get[_0xc814cb(0x18f)](){return!0x0;}static get[_0xc814cb(0x188)](){return!0x0;}static get[_0xc814cb(0x152)](){return[_0x3dc384];}[_0xc814cb(0x193)];[_0xc814cb(0x198)](){const _0x92dedc=_0xc814cb,_0x987940=this[_0x92dedc(0x163)],_0x1224f8=_0x987940[_0x92dedc(0x156)][_0x92dedc(0x183)](_0x92dedc(0x180));_0x987940['ui'][_0x92dedc(0x162)][_0x92dedc(0x15c)](_0x92dedc(0x17a),_0x4672fe=>{const _0x468711=_0x92dedc,_0x57531d=_0x425ecd(_0x4672fe),_0x42629f=_0x57531d[_0x468711(0x177)][_0x468711(0x15e)],_0x17bf20=new _0x13ea86(_0x4672fe),_0x25cf22=new _0x5ef4f6(_0x4672fe),_0x36cc98=new _0x5152e7(_0x4672fe),_0x3e72e2=new _0x5ef4f6(_0x4672fe),_0xdc3b9b=new _0x5152e7(_0x4672fe);return _0x57531d[_0x468711(0x18a)](_0x468711(0x179))['to'](_0x1224f8,_0x468711(0x16c),_0x1224f8,_0x468711(0x179),_0x987940,_0x468711(0x161),(_0x40e7fd,_0x412484,_0xa2ddc6)=>_0x40e7fd&&_0x412484&&!_0xa2ddc6),_0x57531d[_0x468711(0x15b)][_0x468711(0x185)]({'icon':_0x19fac6,'label':_0x1e98c5(_0x4672fe,_0x468711(0x15d)),'tooltip':!0x0}),_0x36cc98[_0x468711(0x185)]({'label':_0x1e98c5(_0x4672fe,_0x468711(0x154)),'withText':!0x0,'role':_0x468711(0x196)}),_0x36cc98[_0x468711(0x18a)](_0x468711(0x179))['to'](_0x1224f8,_0x468711(0x16c),_0x1224f8,_0x468711(0x179),_0x987940,_0x468711(0x161),(_0x296741,_0x30def9,_0x1f78b9)=>_0x296741&&_0x30def9&&!_0x1f78b9),_0x36cc98['on'](_0x468711(0x18c),()=>this[_0x468711(0x165)]()),_0xdc3b9b[_0x468711(0x185)]({'label':_0x1e98c5(_0x4672fe,_0x468711(0x194)),'withText':!0x0,'role':_0x468711(0x196)}),_0xdc3b9b[_0x468711(0x18a)](_0x468711(0x179))['to'](_0x1224f8,_0x468711(0x16c),_0x987940,_0x468711(0x161),(_0x3ccc14,_0x28758d)=>_0x3ccc14&&!_0x28758d),_0xdc3b9b['on'](_0x468711(0x18c),()=>{const _0xbb7198=_0x468711;_0x987940[_0xbb7198(0x169)][_0xbb7198(0x183)](_0xbb7198(0x17a))[_0xbb7198(0x195)](),_0x57531d[_0xbb7198(0x172)]=!0x1,_0x987940[_0xbb7198(0x173)][_0xbb7198(0x184)][_0xbb7198(0x176)]();}),_0x25cf22[_0x468711(0x15e)][_0x468711(0x15c)](_0x36cc98),_0x3e72e2[_0x468711(0x15e)][_0x468711(0x15c)](_0xdc3b9b),_0x17bf20[_0x468711(0x164)]=_0x468711(0x192),_0x17bf20[_0x468711(0x187)][_0x468711(0x153)]([_0x25cf22,_0x3e72e2]),_0x42629f[_0x468711(0x15c)](_0x17bf20),_0x57531d;}),_0x987940['ui'][_0x92dedc(0x162)][_0x92dedc(0x15c)](_0x92dedc(0x155),()=>this[_0x92dedc(0x17c)]());}[_0xc814cb(0x17c)](){const _0x250783=_0xc814cb,_0x488c76=this[_0x250783(0x163)],_0x1f70de=_0x488c76[_0x250783(0x197)],_0x29f629=new _0x34e46a(_0x1f70de),_0xc9701c=new _0x5dd025(_0x1f70de);_0x29f629[_0x250783(0x15b)][_0x250783(0x185)]({'icon':_0x19fac6,'label':_0x1e98c5(_0x1f70de,_0x250783(0x15d))});const _0x516784=new _0x25f183(_0x1f70de,_0x29f629),_0x59487c=new _0xfa4146(_0x1f70de);_0x59487c[_0x250783(0x185)]({'label':_0x1e98c5(_0x1f70de,_0x250783(0x154))}),_0x59487c[_0x250783(0x160)](_0x250783(0x18c))['to'](_0x29f629),_0x59487c['on'](_0x250783(0x18c),()=>{const _0x5e5639=_0x250783;this[_0x5e5639(0x165)]();}),_0x516784[_0x250783(0x15e)][_0x250783(0x15c)](_0x59487c),_0xc9701c[_0x250783(0x187)][_0x250783(0x15c)](_0x516784);const _0x5dda71=new _0x25f183(_0x1f70de,_0x29f629),_0x31a725=new _0xfa4146(_0x1f70de);return _0x31a725[_0x250783(0x185)]({'label':_0x1e98c5(_0x1f70de,_0x250783(0x194))}),_0x31a725[_0x250783(0x160)](_0x250783(0x18c))['to'](_0x29f629),_0x31a725['on'](_0x250783(0x18c),()=>{const _0x24ac93=_0x250783;_0x488c76[_0x24ac93(0x169)][_0x24ac93(0x183)](_0x24ac93(0x17a))[_0x24ac93(0x195)]();}),_0x5dda71[_0x250783(0x15e)][_0x250783(0x15c)](_0x31a725),_0xc9701c[_0x250783(0x187)][_0x250783(0x15c)](_0x5dda71),_0x29f629[_0x250783(0x177)][_0x250783(0x15e)][_0x250783(0x15c)](_0xc9701c),_0x29f629;}[_0xc814cb(0x165)](){const _0x2c522e=_0xc814cb,_0x4cffee=this[_0x2c522e(0x163)],_0x1613df=_0x4cffee[_0x2c522e(0x197)],_0x31acdb=_0x4cffee[_0x2c522e(0x156)][_0x2c522e(0x183)](_0x2c522e(0x191)),_0x180d09=_0x4cffee[_0x2c522e(0x156)][_0x2c522e(0x183)](_0x2c522e(0x180));function _0x423152(_0x212591){const _0x10c04d=_0x2c522e;_0x4cffee[_0x10c04d(0x169)][_0x10c04d(0x183)](_0x10c04d(0x17f))&&''===_0x212591[_0x10c04d(0x15f)]?_0x212591[_0x10c04d(0x17d)][_0x10c04d(0x168)]=_0x1e98c5(_0x1613df,_0x10c04d(0x182)):(_0x4cffee[_0x10c04d(0x156)][_0x10c04d(0x183)](_0x3dc384)[_0x10c04d(0x174)]({'name':_0x212591[_0x10c04d(0x15f)]}),_0x31acdb[_0x10c04d(0x186)]());}this[_0x2c522e(0x193)]||(this[_0x2c522e(0x158)](),this[_0x2c522e(0x193)]['on'](_0x2c522e(0x15a),()=>_0x423152(this[_0x2c522e(0x193)]))),this[_0x2c522e(0x193)][_0x2c522e(0x181)](),_0x31acdb[_0x2c522e(0x175)]({'id':_0x2c522e(0x167),'title':_0x1e98c5(_0x1613df,_0x2c522e(0x154)),'isModal':!0x0,'content':this[_0x2c522e(0x193)],'actionButtons':[{'label':_0x1e98c5(_0x4cffee[_0x2c522e(0x197)],_0x2c522e(0x17e)),'withText':!0x0,'onExecute':()=>_0x31acdb[_0x2c522e(0x186)]()},{'label':_0x1e98c5(_0x4cffee[_0x2c522e(0x197)],_0x2c522e(0x171)),'class':_0x2c522e(0x16b),'withText':!0x0,'onCreate'(_0x283874){const _0x228d25=_0x2c522e;_0x283874[_0x228d25(0x18a)](_0x228d25(0x179))['to'](_0x180d09,_0x228d25(0x16c),_0x180d09,_0x228d25(0x179),_0x4cffee,_0x228d25(0x161),(_0x497803,_0x1b15e6,_0x5b3bea)=>_0x497803&&_0x1b15e6&&!_0x5b3bea);},'onExecute':()=>_0x423152(this[_0x2c522e(0x193)])}]});}[_0xc814cb(0x158)](){const _0x43280b=_0xc814cb,_0x4a88c1=this[_0x43280b(0x163)],_0x388c05=_0x4a88c1[_0x43280b(0x197)];this[_0x43280b(0x193)]=new _0x138699(_0x388c05,_0x4a88c1[_0x43280b(0x169)][_0x43280b(0x183)](_0x43280b(0x17f))),this[_0x43280b(0x193)][_0x43280b(0x18d)]();}}
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
const
|
|
23
|
+
const _0x350895=_0x488e;function _0x198b(){const _0x15293b=['render','isVisible','requires','diff','getRevision','_handleRevisionSelected','init','820548kxhjdn','isPremiumPlugin','isEnabled','_handleEditorDataReady','ready','getIndex','1125965uRZcmW','15588IZCgdc','Compare\x20against\x20selected','_revisionViewer','string','listenTo','revisionHistory.revisionActions','getLaterVisibleRevision','isSelected','setName','revisionSelected','_sidebarView','add','revisionViews','revisionHistory.viewerSidebarContainer','getEarlierVisibleRevision','_handleRevisionSetName','nameRevision','remove','pluginName','destroy','getRevisionsInDiff','5044KCehBc','length','data','isOfficialPlugin','_revisions','417cwCksJ','appendChild','70xgMBPB','_handleDiffChange','compare','repository','plugins','config','compareAgainstSelected','selectRevision','defaultRevisionActions','focus','288134mbTvcL','newRevisionId','name','locale','assign','change:diff','Restore\x20this\x20revision','748649YdTIlV','timePeriodViews','bind','editor','element','_createRevisionActions','get','restoreRevision','fieldView','_revisionsRepository','Name\x20this\x20revision','revisionHistory','availableRevisionActions','211685MKbljz','RevisionsSidebar','select','action','1176YRtHkw','isReady','revisionHistory.requireRevisionName','map','restoreRevisionCallback','highlightRevisions','2dGcQSt','revisionSetName'];_0x198b=function(){return _0x15293b;};return _0x198b();}(function(_0x1c5c29,_0xf83b1b){const _0x508ed7=_0x488e,_0x420c7=_0x1c5c29();while(!![]){try{const _0x2fc13b=-parseInt(_0x508ed7(0x146))/0x1*(-parseInt(_0x508ed7(0x150))/0x2)+parseInt(_0x508ed7(0x126))/0x3*(-parseInt(_0x508ed7(0x121))/0x4)+parseInt(_0x508ed7(0x15f))/0x5+parseInt(_0x508ed7(0x159))/0x6+-parseInt(_0x508ed7(0x132))/0x7+parseInt(_0x508ed7(0x14a))/0x8*(parseInt(_0x508ed7(0x160))/0x9)+parseInt(_0x508ed7(0x128))/0xa*(-parseInt(_0x508ed7(0x139))/0xb);if(_0x2fc13b===_0xf83b1b)break;else _0x420c7['push'](_0x420c7['shift']());}catch(_0x2bb261){_0x420c7['push'](_0x420c7['shift']());}}}(_0x198b,0x210da));import{Plugin as _0x28d525}from'ckeditor5/src/core.js';function _0x488e(_0x17cc15,_0x5945a6){const _0x198b8e=_0x198b();return _0x488e=function(_0x488efd,_0x4d2d73){_0x488efd=_0x488efd-0x116;let _0x5e8003=_0x198b8e[_0x488efd];return _0x5e8003;},_0x488e(_0x17cc15,_0x5945a6);}import{RevisionsSidebarView as _0x1228d0}from'./revisionssidebarview.js';import{RevisionViewer as _0x3b5e45}from'../../revisionviewer.js';export class RevisionsSidebar extends _0x28d525{[_0x350895(0x162)];[_0x350895(0x142)];[_0x350895(0x116)];static [_0x350895(0x130)]=[_0x350895(0x12e),_0x350895(0x140),_0x350895(0x11c)];static [_0x350895(0x145)]=(function(){const _0xdb1511=_0x350895;return{'compareAgainstSelected':{'name':_0xdb1511(0x161),'action':({plugins:i},s)=>{const _0x558dfb=_0xdb1511,e=i[_0x558dfb(0x13f)](_0x3b5e45),n=e[_0x558dfb(0x12b)];let r=e[_0x558dfb(0x155)][_0x558dfb(0x133)],o=s['id'];n[_0x558dfb(0x15e)](r)>n[_0x558dfb(0x15e)](o)&&([r,o]=[o,r]),e[_0x558dfb(0x12a)](r,o);},'isVisible':({plugins:i},s)=>{const _0x26babe=_0xdb1511,e=i[_0x26babe(0x13f)](_0x3b5e45);return!(e[_0x26babe(0x12b)][_0x26babe(0x120)](e[_0x26babe(0x155)])[_0x26babe(0x122)]>0x2)&&!s[_0x26babe(0x167)];}},'restoreRevision':{'name':_0xdb1511(0x138),'action':(i,{id:s})=>{const _0x4544fe=_0xdb1511;i[_0x4544fe(0x12d)][_0x4544fe(0x13f)](_0x4544fe(0x144))[_0x4544fe(0x14e)](s);},'isVisible':({plugins:i},s)=>!!i[_0xdb1511(0x13f)](_0x3b5e45)[_0xdb1511(0x12b)][_0xdb1511(0x166)](s['id'])},'nameRevision':{'name':_0xdb1511(0x143),'action':({plugins:i},{id:s,revisionNameView:e})=>{const _0x5229f0=_0xdb1511,n=i[_0x5229f0(0x13f)](_0x3b5e45),r=n[_0x5229f0(0x12b)][_0x5229f0(0x11a)](s);n[_0x5229f0(0x12a)](s,r),e[_0x5229f0(0x131)](),e[_0x5229f0(0x141)][_0x5229f0(0x148)]();}}};}());static get[_0x350895(0x11e)](){const _0x57c2f1=_0x350895;return _0x57c2f1(0x147);}static get[_0x350895(0x124)](){return!0x0;}static get[_0x350895(0x15a)](){return!0x0;}static get[_0x350895(0x154)](){return[_0x3b5e45];}constructor(_0xdb91e3){const _0xd3eea8=_0x350895;super(_0xdb91e3),this[_0xd3eea8(0x162)]=_0xdb91e3[_0xd3eea8(0x12c)][_0xd3eea8(0x13f)](_0x3b5e45),this[_0xd3eea8(0x142)]=this[_0xd3eea8(0x162)][_0xd3eea8(0x12b)],this[_0xd3eea8(0x116)]=null;}[_0x350895(0x158)](){const _0x480c9d=_0x350895,_0xf489cc=this[_0x480c9d(0x142)][_0x480c9d(0x125)],_0x15dbb6=this[_0x480c9d(0x13e)](),_0x4cecd0=this[_0x480c9d(0x13c)][_0x480c9d(0x12d)][_0x480c9d(0x13f)](_0x480c9d(0x119));this[_0x480c9d(0x116)]=new _0x1228d0(this[_0x480c9d(0x13c)][_0x480c9d(0x135)],_0xf489cc,_0x15dbb6,this[_0x480c9d(0x13c)][_0x480c9d(0x12d)][_0x480c9d(0x13f)](_0x480c9d(0x14c))),this[_0x480c9d(0x116)]['on'](_0x480c9d(0x169),this[_0x480c9d(0x157)][_0x480c9d(0x13b)](this)),this[_0x480c9d(0x116)]['on'](_0x480c9d(0x151),this[_0x480c9d(0x11b)][_0x480c9d(0x13b)](this)),this[_0x480c9d(0x116)][_0x480c9d(0x13b)](_0x480c9d(0x15b))['to'](this[_0x480c9d(0x162)]),this[_0x480c9d(0x116)][_0x480c9d(0x13a)]['on'](_0x480c9d(0x117),(_0x5dfe5c,_0x46ab25)=>{const _0x4124e8=_0x480c9d;_0x46ab25[_0x4124e8(0x118)]['on'](_0x4124e8(0x117),(_0x5d7193,_0x422f25)=>{const _0x5bc829=_0x4124e8;_0x422f25[_0x5bc829(0x13b)](_0x5bc829(0x15b),_0x5bc829(0x14b))['to'](this[_0x5bc829(0x162)]);});}),this[_0x480c9d(0x116)][_0x480c9d(0x152)](),this[_0x480c9d(0x164)](this[_0x480c9d(0x13c)][_0x480c9d(0x123)],_0x480c9d(0x15d),this[_0x480c9d(0x15c)][_0x480c9d(0x13b)](this)),this[_0x480c9d(0x164)](this[_0x480c9d(0x162)],_0x480c9d(0x137),this[_0x480c9d(0x129)][_0x480c9d(0x13b)](this)),_0x4cecd0[_0x480c9d(0x127)](this[_0x480c9d(0x116)][_0x480c9d(0x13d)]);}[_0x350895(0x11f)](){const _0x584ced=_0x350895;this[_0x584ced(0x116)][_0x584ced(0x13d)][_0x584ced(0x11d)](),this[_0x584ced(0x116)][_0x584ced(0x11f)]();}[_0x350895(0x15c)](){const _0x4d5460=_0x350895,_0x474a04=this[_0x4d5460(0x142)][_0x4d5460(0x156)](0x0);if(_0x474a04){const _0x410415=this[_0x4d5460(0x142)][_0x4d5460(0x11a)](_0x474a04['id']);this[_0x4d5460(0x162)][_0x4d5460(0x12a)](_0x474a04,_0x410415);}}[_0x350895(0x157)](_0x1d72aa,_0xaf018b){const _0x9df26=_0x350895,_0x5d6438=this[_0x9df26(0x142)][_0x9df26(0x156)](_0xaf018b['id']),_0x5f21eb=this[_0x9df26(0x142)][_0x9df26(0x11a)](_0x5d6438['id']);this[_0x9df26(0x162)][_0x9df26(0x12a)](_0x5d6438,_0x5f21eb);}[_0x350895(0x11b)](_0x447b65,_0x4196bb){const _0x375f01=_0x350895;this[_0x375f01(0x142)][_0x375f01(0x156)](_0x4196bb['id'])[_0x375f01(0x168)](_0x4196bb[_0x375f01(0x134)]);}[_0x350895(0x129)](_0xe1e800,_0x3f17f5,_0x570d6e){const _0x4a51ca=_0x350895,_0x169522=this[_0x4a51ca(0x142)][_0x4a51ca(0x120)](_0x570d6e);_0x169522[_0x4a51ca(0x122)]>0x2?(this[_0x4a51ca(0x116)][_0x4a51ca(0x14f)](_0x169522),this[_0x4a51ca(0x116)][_0x4a51ca(0x12f)](null)):(this[_0x4a51ca(0x116)][_0x4a51ca(0x14f)]([]),this[_0x4a51ca(0x116)][_0x4a51ca(0x12f)](_0x169522[0x0]));}[_0x350895(0x13e)](){const _0xbbcae4=_0x350895,_0x6ceb36=this[_0xbbcae4(0x13c)],_0x3d7e85=RevisionsSidebar[_0xbbcae4(0x145)],_0x3991f3=_0x6ceb36[_0xbbcae4(0x12d)][_0xbbcae4(0x13f)](_0xbbcae4(0x165))||RevisionsSidebar[_0xbbcae4(0x130)];if(_0x3991f3[_0xbbcae4(0x122)])return _0x3991f3[_0xbbcae4(0x14d)](_0x3ed9f0=>{const _0xb39363=_0xbbcae4,_0x10be50=_0xb39363(0x163)==typeof _0x3ed9f0?Object[_0xb39363(0x136)]({},_0x3d7e85[_0x3ed9f0]):_0x3ed9f0;return _0x10be50[_0xb39363(0x149)]=_0x10be50[_0xb39363(0x149)][_0xb39363(0x13b)](this,_0x6ceb36),_0x10be50[_0xb39363(0x153)]&&(_0x10be50[_0xb39363(0x153)]=_0x10be50[_0xb39363(0x153)][_0xb39363(0x13b)](this,_0x6ceb36)),_0x10be50;});}}
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
(function(
|
|
23
|
+
(function(_0x429a96,_0x4d45d1){const _0x376c9b=_0x46cd,_0x26dd62=_0x429a96();while(!![]){try{const _0x8d655c=parseInt(_0x376c9b(0xb4))/0x1*(parseInt(_0x376c9b(0xb3))/0x2)+parseInt(_0x376c9b(0xc1))/0x3*(-parseInt(_0x376c9b(0xb9))/0x4)+-parseInt(_0x376c9b(0xb1))/0x5+parseInt(_0x376c9b(0xba))/0x6+parseInt(_0x376c9b(0xc2))/0x7*(-parseInt(_0x376c9b(0xbe))/0x8)+-parseInt(_0x376c9b(0xbd))/0x9*(-parseInt(_0x376c9b(0xb6))/0xa)+-parseInt(_0x376c9b(0xbc))/0xb;if(_0x8d655c===_0x4d45d1)break;else _0x26dd62['push'](_0x26dd62['shift']());}catch(_0x4dff3d){_0x26dd62['push'](_0x26dd62['shift']());}}}(_0x4e63,0xcea02));import{View as _0x2432ae,IconView as _0x3ae109}from'ckeditor5/src/ui.js';import{getTranslation as _0x221725}from'../../utils/common-translations.js';function _0x46cd(_0x23217e,_0x394050){const _0x4e630b=_0x4e63();return _0x46cd=function(_0x46cd89,_0x3e5140){_0x46cd89=_0x46cd89-0xb0;let _0x9bd120=_0x4e630b[_0x46cd89];return _0x9bd120;},_0x46cd(_0x23217e,_0x394050);}import{IconHistory as _0x3500ba}from'ckeditor5/src/icons.js';import'../../../theme/revisionssidebar/revisionssidebarheader.css';function _0x4e63(){const _0x5dd0f3=['610135DswvXv','Revision\x20history','13850cjbAUk','223dybEJO','ck-revision-history-sidebar__header__label','12771390HwxQdI','span','ck-revision-history-sidebar__header','4iRCeUu','2482554yJrGpR','div','8397763nHUajz','9uxWFuB','584vRThqX','ck-reset_all','setTemplate','2075064zpQVXg','77833GEwLEy','content'];_0x4e63=function(){return _0x5dd0f3;};return _0x4e63();}export class RevisionsSidebarHeaderView extends _0x2432ae{constructor(_0x3af685){const _0x336d24=_0x46cd;super(_0x3af685);const _0x3be983=new _0x3ae109();_0x3be983[_0x336d24(0xb0)]=_0x3500ba,this[_0x336d24(0xc0)]({'tag':_0x336d24(0xbb),'attributes':{'class':['ck',_0x336d24(0xbf),_0x336d24(0xb8)]},'children':[_0x3be983,{'tag':_0x336d24(0xb7),'attributes':{'class':['ck',_0x336d24(0xb5)]},'children':[_0x221725(_0x3af685,_0x336d24(0xb2))]}]});}}
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
const
|
|
23
|
+
const _0x2e913e=_0x3e74;function _0x3e74(_0x26bf3e,_0xf6ef5e){const _0x3f42c2=_0x3f42();return _0x3e74=function(_0x3e741e,_0x1ff386){_0x3e741e=_0x3e741e-0xed;let _0x214bdb=_0x3f42c2[_0x3e741e];return _0x214bdb;},_0x3e74(_0x26bf3e,_0xf6ef5e);}function _0x3f42(){const _0x56db4b=['addRevision','add','remove','254709QOzLfo','_revisionActions','revisionViews','locale','div','delegate','_requireRevisionName','removeRevision','5715248nkhncg','find','uiLanguage','startDate','select','378646akmcYA','ck-revision-history-sidebar__time-period','ck-revision-history-sidebar__time-period__label','63924gZFDwl','510vUaDnU','1050270dWUdgr','ck-revision-history-sidebar__time-period__revisions','8290542FuKKNr','localizedPeriodName','132fbvMPm','createCollection','setName','48fgYVaA','545hdcxNz','1aNEoGM','span','setTemplate','839797nNuNkv'];_0x3f42=function(){return _0x56db4b;};return _0x3f42();}(function(_0x4a6f5e,_0x16693a){const _0x366a2c=_0x3e74,_0x233654=_0x4a6f5e();while(!![]){try{const _0x3c3bde=parseInt(_0x366a2c(0xf7))/0x1*(parseInt(_0x366a2c(0x10b))/0x2)+parseInt(_0x366a2c(0xee))/0x3+-parseInt(_0x366a2c(0x10e))/0x4*(parseInt(_0x366a2c(0xf6))/0x5)+-parseInt(_0x366a2c(0xf0))/0x6+parseInt(_0x366a2c(0xfa))/0x7*(-parseInt(_0x366a2c(0xf5))/0x8)+-parseInt(_0x366a2c(0xfe))/0x9*(parseInt(_0x366a2c(0xed))/0xa)+parseInt(_0x366a2c(0x106))/0xb*(parseInt(_0x366a2c(0xf2))/0xc);if(_0x3c3bde===_0x16693a)break;else _0x233654['push'](_0x233654['shift']());}catch(_0x3730b6){_0x233654['push'](_0x233654['shift']());}}}(_0x3f42,0xec476));import{View as _0x250380}from'ckeditor5/src/ui.js';import{RevisionView as _0x718de1}from'../revision/revisionview.js';import{getDateTimePeriodInfo as _0xc6f14e}from'./utils.js';import'../../../theme/revisionssidebar/revisionssidebartimeperiod.css';export class RevisionsSidebarTimePeriodView extends _0x250380{[_0x2e913e(0x109)];[_0x2e913e(0x100)];[_0x2e913e(0xff)];[_0x2e913e(0x104)];constructor(_0x3f088e,_0x379507,_0x50de23,_0x3bfd7f){const _0x4f518d=_0x2e913e;super(_0x3f088e);const _0x2128a7=_0xc6f14e(_0x379507,this[_0x4f518d(0x101)][_0x4f518d(0x108)])[_0x4f518d(0xf1)];this[_0x4f518d(0x109)]=_0x379507,this[_0x4f518d(0x100)]=this[_0x4f518d(0xf3)](),this[_0x4f518d(0xff)]=_0x50de23,this[_0x4f518d(0x104)]=_0x3bfd7f,this[_0x4f518d(0x100)][_0x4f518d(0x103)](_0x4f518d(0x10a))['to'](this),this[_0x4f518d(0x100)][_0x4f518d(0x103)](_0x4f518d(0xf4))['to'](this),this[_0x4f518d(0xf9)]({'tag':_0x4f518d(0x102),'attributes':{'class':['ck',_0x4f518d(0x10c)]},'children':[{'tag':_0x4f518d(0xf8),'attributes':{'class':['ck',_0x4f518d(0x10d)]},'children':[{'text':_0x2128a7}]},{'tag':_0x4f518d(0x102),'attributes':{'class':['ck',_0x4f518d(0xef)]},'children':this[_0x4f518d(0x100)]}]});}[_0x2e913e(0xfb)](_0x52d7d4){const _0x5828e9=_0x2e913e,_0x9c50da=new _0x718de1(this[_0x5828e9(0x101)],_0x52d7d4,this[_0x5828e9(0xff)],this[_0x5828e9(0x104)]);this[_0x5828e9(0x100)][_0x5828e9(0xfc)](_0x9c50da);}[_0x2e913e(0x105)](_0x1770c5){const _0xa9db4c=_0x2e913e,_0x9b01d7=this[_0xa9db4c(0x100)][_0xa9db4c(0x107)](_0xacae28=>_0xacae28['id']===_0x1770c5['id']);this[_0xa9db4c(0x100)][_0xa9db4c(0xfd)](_0x9b01d7);}}
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
const
|
|
23
|
+
const _0x4201be=_0x3809;(function(_0x2f9599,_0x43ea29){const _0x1c9c04=_0x3809,_0x3ca328=_0x2f9599();while(!![]){try{const _0x43a44a=-parseInt(_0x1c9c04(0xf4))/0x1*(parseInt(_0x1c9c04(0x105))/0x2)+parseInt(_0x1c9c04(0xed))/0x3+parseInt(_0x1c9c04(0x115))/0x4*(-parseInt(_0x1c9c04(0xf9))/0x5)+parseInt(_0x1c9c04(0x10c))/0x6*(-parseInt(_0x1c9c04(0xe6))/0x7)+-parseInt(_0x1c9c04(0xf0))/0x8*(parseInt(_0x1c9c04(0x118))/0x9)+-parseInt(_0x1c9c04(0xf7))/0xa*(parseInt(_0x1c9c04(0x102))/0xb)+parseInt(_0x1c9c04(0x104))/0xc;if(_0x43a44a===_0x43ea29)break;else _0x3ca328['push'](_0x3ca328['shift']());}catch(_0xa2b735){_0x3ca328['push'](_0x3ca328['shift']());}}}(_0x3307,0x21ce8));import{View as _0x52cba9}from'ckeditor5/src/ui.js';import{RevisionsSidebarTimePeriodView as _0x1e6224}from'./revisionssidebartimeperiodview.js';function _0x3307(){const _0x2a6d7f=['revisionSelected','find','_revisions','setTemplate','ck-revision-history-sidebar','remove','651UqtnNl','delegate','isEnabled','selectRevision','unhighlight','add','_requireRevisionName','43458CujoCh','_removeRevision','_revisionActions','63032rExkVT','render','createdAt','select','2fZFCwn','map','fire','6120WogqQE','uiLanguage','5roHNYn','revisionSetName','_getTimePeriodViewByStartDate','flat','ck-disabled','ck-reset','some','removeRevision','revisionViews','4686NSMciU','setName','13149852wKIiel','179590evyGdc','div','get','deselect','highlight','bindTemplate','set','3258liIvkl','_addRevision','locale','ck-rounded-corners','startDate','ck-revision-history-sidebar__timeline','addRevision','getTime','highlightRevisions','1073204eYgVfj','timePeriodViews','createCollection','243Nxtvpc'];_0x3307=function(){return _0x2a6d7f;};return _0x3307();}import{RevisionsSidebarHeaderView as _0x5c340b}from'./revisionssidebarheaderview.js';import{getDateTimePeriodInfo as _0x2f239f}from'./utils.js';function _0x3809(_0x49b3ac,_0x3ea52c){const _0x330773=_0x3307();return _0x3809=function(_0x38093d,_0x286527){_0x38093d=_0x38093d-0xe0;let _0x94ffa7=_0x330773[_0x38093d];return _0x94ffa7;},_0x3809(_0x49b3ac,_0x3ea52c);}import'../../../theme/revisionssidebar/revisionssidebar.css';export class RevisionsSidebarView extends _0x52cba9{[_0x4201be(0x116)];[_0x4201be(0xe2)];[_0x4201be(0xef)];[_0x4201be(0xec)];constructor(_0x341243,_0x23b6bc,_0x2b5fc8,_0x3f837e){const _0x26524f=_0x4201be;super(_0x341243);const _0x4c4735=this[_0x26524f(0x10a)];this[_0x26524f(0x116)]=this[_0x26524f(0x117)](),this[_0x26524f(0x116)][_0x26524f(0xe7)](_0x26524f(0xf3))['to'](this),this[_0x26524f(0x116)][_0x26524f(0xe7)](_0x26524f(0x103))['to'](this),this[_0x26524f(0xe2)]=_0x23b6bc,this[_0x26524f(0xef)]=_0x2b5fc8,this[_0x26524f(0xec)]=_0x3f837e,this['on'](_0x26524f(0xf3),(_0x7caac6,_0x548e08)=>{const _0x245930=_0x26524f;this[_0x245930(0xf6)](_0x245930(0xe0),_0x548e08);}),this['on'](_0x26524f(0x103),(_0x2fe62b,_0x2d19fd)=>{const _0x2c6c6b=_0x26524f;this[_0x2c6c6b(0xf6)](_0x2c6c6b(0xfa),_0x2d19fd);}),this[_0x26524f(0x10b)](_0x26524f(0xe8),!0x1),this[_0x26524f(0xe3)]({'tag':_0x26524f(0x106),'attributes':{'class':['ck',_0x26524f(0xfe),_0x26524f(0x10f),_0x26524f(0xe4)]},'children':[new _0x5c340b(_0x341243),{'tag':_0x26524f(0x106),'attributes':{'class':['ck',_0x26524f(0x111),_0x4c4735['if'](_0x26524f(0xe8),_0x26524f(0xfd),_0xf44cd=>!_0xf44cd)]},'children':this[_0x26524f(0x116)]}]});}[_0x4201be(0xf1)](){const _0x363ef0=_0x4201be;super[_0x363ef0(0xf1)]();for(const _0x1268ae of this[_0x363ef0(0xe2)])this[_0x363ef0(0x10d)](_0x1268ae);this[_0x363ef0(0xe2)]['on'](_0x363ef0(0xeb),(_0x412828,_0x1af673)=>{const _0x5574b0=_0x363ef0;this[_0x5574b0(0x10d)](_0x1af673);}),this[_0x363ef0(0xe2)]['on'](_0x363ef0(0xe5),(_0x63618e,_0x335cdc)=>{const _0x33bbf2=_0x363ef0;this[_0x33bbf2(0xee)](_0x335cdc);});}get[_0x4201be(0x101)](){const _0x4e2114=_0x4201be;return this[_0x4e2114(0x116)][_0x4e2114(0xf5)](_0x5a5781=>_0x5a5781[_0x4e2114(0x101)][_0x4e2114(0xf5)](_0x267de1=>_0x267de1))[_0x4e2114(0xfc)]();}[_0x4201be(0xe9)](_0x135195){const _0x57827f=_0x4201be;for(const _0x4567b1 of this[_0x57827f(0x101)])_0x135195&&_0x135195['id']===_0x4567b1['id']?_0x4567b1[_0x57827f(0xf3)]():_0x4567b1[_0x57827f(0x108)]();}[_0x4201be(0x114)](_0x14731f){const _0x51343f=_0x4201be;for(const _0x3c1cff of this[_0x51343f(0x101)])_0x14731f[_0x51343f(0xff)](({id:_0x2b4276})=>_0x2b4276===_0x3c1cff['id'])?_0x3c1cff[_0x51343f(0x109)]():_0x3c1cff[_0x51343f(0xea)]();}[_0x4201be(0x10d)](_0x5a71b0){const _0x17fce4=_0x4201be,_0x40ac91=_0x2f239f(_0x5a71b0[_0x17fce4(0xf2)],this[_0x17fce4(0x10e)][_0x17fce4(0xf8)])[_0x17fce4(0x110)];let _0x5c5fdd=this[_0x17fce4(0x116)][_0x17fce4(0x107)](0x0);_0x5c5fdd&&_0x5c5fdd[_0x17fce4(0x110)][_0x17fce4(0x113)]()===_0x40ac91[_0x17fce4(0x113)]()||(_0x5c5fdd=new _0x1e6224(this[_0x17fce4(0x10e)],_0x40ac91,this[_0x17fce4(0xef)],this[_0x17fce4(0xec)]),this[_0x17fce4(0x116)][_0x17fce4(0xeb)](_0x5c5fdd)),_0x5c5fdd[_0x17fce4(0x112)](_0x5a71b0);}[_0x4201be(0xee)](_0x203e09){const _0x5a1a8b=_0x4201be,_0x5c717e=_0x2f239f(_0x203e09[_0x5a1a8b(0xf2)],this[_0x5a1a8b(0x10e)][_0x5a1a8b(0xf8)])[_0x5a1a8b(0x110)];this[_0x5a1a8b(0xfb)](_0x5c717e)[_0x5a1a8b(0x100)](_0x203e09);}[_0x4201be(0xfb)](_0x20b291){const _0x304cd5=_0x4201be;return this[_0x304cd5(0x116)][_0x304cd5(0xe1)](_0x2ed344=>_0x2ed344[_0x304cd5(0x110)][_0x304cd5(0x113)]()===_0x20b291[_0x304cd5(0x113)]());}}
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
(function(
|
|
23
|
+
function _0x4263(_0x15f29c,_0x2a6a04){const _0x14491e=_0x1449();return _0x4263=function(_0x4263d8,_0x5654f3){_0x4263d8=_0x4263d8-0x8b;let _0x150498=_0x14491e[_0x4263d8];return _0x150498;},_0x4263(_0x15f29c,_0x2a6a04);}(function(_0x32c3e2,_0xcdec7f){const _0x2d8c40=_0x4263,_0x5ce42c=_0x32c3e2();while(!![]){try{const _0x2eff70=-parseInt(_0x2d8c40(0x8d))/0x1*(-parseInt(_0x2d8c40(0x96))/0x2)+parseInt(_0x2d8c40(0xa2))/0x3*(parseInt(_0x2d8c40(0x98))/0x4)+parseInt(_0x2d8c40(0xa3))/0x5*(-parseInt(_0x2d8c40(0xa1))/0x6)+parseInt(_0x2d8c40(0x9a))/0x7*(parseInt(_0x2d8c40(0xa0))/0x8)+-parseInt(_0x2d8c40(0x9b))/0x9+-parseInt(_0x2d8c40(0x92))/0xa+parseInt(_0x2d8c40(0x9c))/0xb;if(_0x2eff70===_0xcdec7f)break;else _0x5ce42c['push'](_0x5ce42c['shift']());}catch(_0x105e9f){_0x5ce42c['push'](_0x5ce42c['shift']());}}}(_0x1449,0xee984));import{DateTime as _0x49fe86}from'luxon';export function getDateTimePeriodInfo(_0x2f8853,_0x5ecc6e){const _0x5e14db=_0x4263,_0x586897=_0x49fe86[_0x5e14db(0x94)](_0x2f8853)[_0x5e14db(0x91)](_0x5ecc6e),_0xccefcd=_0x49fe86[_0x5e14db(0x8b)](),_0x5306da=_0xccefcd[_0x5e14db(0x8c)]({'days':0x1})[_0x5e14db(0x8f)](_0x5e14db(0x9d));let _0x2ec69f,_0x18dc4d;return _0x586897[_0x5e14db(0x8e)](_0xccefcd,_0x5e14db(0x9d))?(_0x2ec69f=_0x586897[_0x5e14db(0x8f)](_0x5e14db(0x9d))[_0x5e14db(0x95)](),_0x18dc4d=_0x586897[_0x5e14db(0x9e)]()):_0x586897[_0x5e14db(0x8e)](_0x5306da,_0x5e14db(0x9d))?(_0x2ec69f=_0x5306da[_0x5e14db(0x95)](),_0x18dc4d=_0x586897[_0x5e14db(0x9e)]()):_0x586897[_0x5e14db(0x8e)](_0xccefcd,_0x5e14db(0x99))?(_0x2ec69f=_0x586897[_0x5e14db(0x8f)](_0x5e14db(0x99))[_0x5e14db(0x95)](),_0x18dc4d=_0x586897[_0x5e14db(0x9f)]||''):_0x586897[_0x5e14db(0x8e)](_0xccefcd,_0x5e14db(0x90))?(_0x2ec69f=_0x586897[_0x5e14db(0x8f)](_0x5e14db(0x93))[_0x5e14db(0x95)](),_0x18dc4d=_0x586897[_0x5e14db(0x97)]||''):(_0x2ec69f=_0x586897[_0x5e14db(0x8f)](_0x5e14db(0x90))[_0x5e14db(0x95)](),_0x18dc4d=String(_0x586897[_0x5e14db(0x90)])),{'startDate':_0x2ec69f,'localizedPeriodName':_0x18dc4d};}function _0x1449(){const _0x1e5642=['toRelativeCalendar','weekdayLong','952HwAUfb','10347936YBjNUz','6lhqUUX','5bMnDki','local','minus','29873JuIbew','hasSame','startOf','year','setLocale','59370qxSYEo','month','fromJSDate','toJSDate','40RpzaSH','monthLong','1142076LJRsUT','week','30289yHrARN','3413610lRBtlx','15441316OrWQIe','day'];_0x1449=function(){return _0x1e5642;};return _0x1449();}
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
|
|
23
|
+
const _0x41e9fc=_0x28b1;(function(_0xb1ee6c,_0x366d27){const _0x6538dc=_0x28b1,_0x4c2a83=_0xb1ee6c();while(!![]){try{const _0x4e0eb5=parseInt(_0x6538dc(0x88))/0x1+parseInt(_0x6538dc(0x9e))/0x2*(-parseInt(_0x6538dc(0x8b))/0x3)+-parseInt(_0x6538dc(0xa0))/0x4+parseInt(_0x6538dc(0x92))/0x5*(-parseInt(_0x6538dc(0x84))/0x6)+parseInt(_0x6538dc(0x85))/0x7+-parseInt(_0x6538dc(0x83))/0x8*(parseInt(_0x6538dc(0x9b))/0x9)+parseInt(_0x6538dc(0x95))/0xa;if(_0x4e0eb5===_0x366d27)break;else _0x4c2a83['push'](_0x4c2a83['shift']());}catch(_0x55f3d3){_0x4c2a83['push'](_0x4c2a83['shift']());}}}(_0x5bf7,0xa3207));function _0x28b1(_0x3e0724,_0x3598a9){const _0x5bf729=_0x5bf7();return _0x28b1=function(_0x28b1ba,_0x3474ae){_0x28b1ba=_0x28b1ba-0x83;let _0x2d86ac=_0x5bf729[_0x28b1ba];return _0x2d86ac;},_0x28b1(_0x3e0724,_0x3598a9);}import{View as _0x36bc31}from'ckeditor5/src/ui.js';import{getTranslation as _0x58db66}from'../../utils/common-translations.js';export class ChangeDetailsView extends _0x36bc31{[_0x41e9fc(0x89)];[_0x41e9fc(0x9a)];constructor(_0x35b27b,_0x2d6fef){const _0x421a90=_0x41e9fc;super(_0x35b27b),this[_0x421a90(0x9a)]=_0x2d6fef,this[_0x421a90(0x89)]=_0x2d6fef['id'];const _0x5ba5d9=this[_0x421a90(0x93)],_0x59b665=_0x58db66(_0x35b27b,_0x2d6fef[_0x421a90(0x8d)][_0x421a90(0x99)]?_0x421a90(0xa1):_0x421a90(0x91)==_0x2d6fef[_0x421a90(0xa2)]?_0x421a90(0x8c):_0x421a90(0x90));this[_0x421a90(0x9f)](_0x421a90(0xa2),_0x2d6fef[_0x421a90(0xa2)]),this[_0x421a90(0x8f)]({'tag':_0x421a90(0x94),'attributes':{'class':[_0x421a90(0x87),_0x421a90(0x8a),_0x5ba5d9['to'](_0x421a90(0xa2),_0x5caac4=>_0x421a90(0x96)+_0x5caac4)],'tabindex':-0x1},'children':[{'tag':_0x421a90(0x8e),'children':[{'tag':_0x421a90(0x8e),'attributes':{'class':[_0x421a90(0x9c)]},'children':[{'text':_0x59b665}]},{'text':'\x20'+_0x2d6fef[_0x421a90(0x86)][_0x421a90(0x98)]}]}]});}[_0x41e9fc(0x9d)](){const _0x21078c=_0x41e9fc;this[_0x21078c(0x97)][_0x21078c(0x9d)]();}}function _0x5bf7(){const _0x557c62=['451802ZYiBDs','changeId','ck-revision-change','3fLXvEe','Added\x20by','data','span','setTemplate','Removed\x20by','add','5jYsmmD','bindTemplate','div','11353240ZGGWXr','ck-revision-change__','element','name','isSuggestion','_model','198nyuwuJ','ck-revision-change__label','focus','1432712jqncJi','set','802428UynZwW','Suggested\x20by','type','22936ErzOrG','2826042rnzgoi','3724595DSeWNY','author','ck-annotation'];_0x5bf7=function(){return _0x557c62;};return _0x5bf7();}
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
(function(
|
|
23
|
+
(function(_0x442b33,_0x5a5f74){const _0x16b35b=_0x1dc8,_0x19cf57=_0x442b33();while(!![]){try{const _0x4d731e=parseInt(_0x16b35b(0x1a1))/0x1+-parseInt(_0x16b35b(0x1a7))/0x2*(-parseInt(_0x16b35b(0x1b5))/0x3)+parseInt(_0x16b35b(0x1a4))/0x4+-parseInt(_0x16b35b(0x1bd))/0x5+parseInt(_0x16b35b(0x1a5))/0x6*(parseInt(_0x16b35b(0x1b0))/0x7)+parseInt(_0x16b35b(0x19c))/0x8+-parseInt(_0x16b35b(0x1a6))/0x9;if(_0x4d731e===_0x5a5f74)break;else _0x19cf57['push'](_0x19cf57['shift']());}catch(_0x1d7aeb){_0x19cf57['push'](_0x19cf57['shift']());}}}(_0x3c23,0xf2a0b));function _0x1dc8(_0x12fe6c,_0x3de68c){const _0x3c23ca=_0x3c23();return _0x1dc8=function(_0x1dc878,_0x28c7aa){_0x1dc878=_0x1dc878-0x199;let _0x537fa5=_0x3c23ca[_0x1dc878];return _0x537fa5;},_0x1dc8(_0x12fe6c,_0x3de68c);}import{View as _0x58b425,ButtonView as _0x5b8e47,ToolbarSeparatorView as _0x52d651}from'ckeditor5/src/ui.js';import{IconChevronUp as _0x2b5af3,IconChevronDown as _0x5bccdd}from'ckeditor5/src/icons.js';import{getTranslation as _0x8a856}from'../../utils/common-translations.js';import'../../../theme/changesnavigation.css';function _0x3c23(){const _0x4e5671=['ck-revision-history-ui','_isStatusLabelVisible','isEnabled','forward','ck-hidden','10199EXDGkL','ck-revision-history-ui__changes-navigation__wrapper','isBackwardNavigationEnabled','bind','numberOfChanges','4499394pGVIfI','Show\x20previous\x20change','_statusText','No\x20changes','ck-revision-history-ui__changes-navigation__navigation','Total','set','backward','8874140wjgKSJ','isReady','span','execute','NUMBER_OF_CHANGES','ck-revision-history-ui__changes-navigation__label','isForwardNavigationEnabled','EDIT_X_OF_Y_REVISIONS','bindTemplate','6647360ruegOJ','setTemplate','Loading...','ck-revision-history-ui__changes-navigation','div','1326115fTcPBD','Show\x20next\x20change','X_OF_Y_CHANGES','3368076AfsFAO','4206FYRUvW','24764202FiVxUx','2diaYfw','fire','isNavigationMode','currentChangeNumber'];_0x3c23=function(){return _0x4e5671;};return _0x3c23();}export class ChangesNavigationView extends _0x58b425{constructor(_0x1d99ad){const _0x54242f=_0x1dc8;super(_0x1d99ad);const _0x5d0417=this[_0x54242f(0x19b)],_0x1924da=new _0x5b8e47(_0x1d99ad),_0x26945f=new _0x5b8e47(_0x1d99ad);this[_0x54242f(0x1bb)](_0x54242f(0x1a9),!0x1),this[_0x54242f(0x1bb)](_0x54242f(0x1be),!0x1),this[_0x54242f(0x1bb)](_0x54242f(0x1aa),0x0),this[_0x54242f(0x1bb)](_0x54242f(0x1b4),0x0),this[_0x54242f(0x1bb)](_0x54242f(0x199),!0x1),this[_0x54242f(0x1bb)](_0x54242f(0x1b2),!0x1),this[_0x54242f(0x1b3)](_0x54242f(0x1ac))['to'](this,_0x54242f(0x1be),this,_0x54242f(0x1b4),(_0x2dbb6f,_0x346265)=>_0x2dbb6f&&_0x346265>0x0),this[_0x54242f(0x1b3)](_0x54242f(0x1b7))['to'](this,_0x54242f(0x1be),this,_0x54242f(0x1aa),this,_0x54242f(0x1b4),this,_0x54242f(0x1a9),(_0x5d532a,_0x44ae4a,_0x468741,_0x4ac6f4)=>{const _0x3ab79e=_0x54242f;if(!_0x5d532a)return _0x8a856(_0x1d99ad,_0x3ab79e(0x19e));if(!_0x468741)return _0x8a856(_0x1d99ad,_0x3ab79e(0x1b8));const _0x15b407=_0x8a856(_0x1d99ad,_0x3ab79e(0x1c1),_0x468741);return _0x4ac6f4?_0x8a856(_0x1d99ad,_0x3ab79e(0x1a3),[_0x44ae4a+0x1,_0x468741]):_0x15b407;}),_0x1924da[_0x54242f(0x1bb)]({'label':_0x8a856(_0x1d99ad,_0x54242f(0x1b6)),'tooltip':!0x0,'icon':_0x2b5af3}),_0x26945f[_0x54242f(0x1bb)]({'label':_0x8a856(_0x1d99ad,_0x54242f(0x1a2)),'tooltip':!0x0,'icon':_0x5bccdd}),_0x1924da[_0x54242f(0x1b3)](_0x54242f(0x1ad))['to'](this,_0x54242f(0x1b2)),_0x26945f[_0x54242f(0x1b3)](_0x54242f(0x1ad))['to'](this,_0x54242f(0x199)),_0x1924da['on'](_0x54242f(0x1c0),()=>this[_0x54242f(0x1a8)](_0x54242f(0x1c0),_0x54242f(0x1bc))),_0x26945f['on'](_0x54242f(0x1c0),()=>this[_0x54242f(0x1a8)](_0x54242f(0x1c0),_0x54242f(0x1ae))),this[_0x54242f(0x19d)]({'tag':_0x54242f(0x1a0),'attributes':{'class':['ck',_0x54242f(0x1ab),_0x54242f(0x19f)]},'children':[{'tag':_0x54242f(0x1bf),'attributes':{'class':[_0x54242f(0x1b1)]},'children':[{'tag':_0x54242f(0x1bf),'attributes':{'class':[_0x54242f(0x1c2),_0x5d0417['if'](_0x54242f(0x1ac),_0x54242f(0x1af),_0x1ce82e=>!_0x1ce82e)]},'children':[{'text':_0x5d0417['to'](_0x54242f(0x1a9),_0x335a1b=>_0x335a1b?_0x8a856(_0x1d99ad,_0x54242f(0x19a))+':\x20':_0x8a856(_0x1d99ad,_0x54242f(0x1ba))+':\x20')}]},{'text':_0x5d0417['to'](_0x54242f(0x1b7))}]},new _0x52d651(),{'tag':_0x54242f(0x1a0),'attributes':{'class':[_0x54242f(0x1b9)]},'children':[_0x1924da,_0x26945f]}]});}}
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
const
|
|
23
|
+
function _0xe7d0(_0x1b84a9,_0x106d2a){const _0x3f781d=_0x3f78();return _0xe7d0=function(_0xe7d013,_0x460c00){_0xe7d013=_0xe7d013-0xd0;let _0x2c64e5=_0x3f781d[_0xe7d013];return _0x2c64e5;},_0xe7d0(_0x1b84a9,_0x106d2a);}const _0x3ec7a2=_0xe7d0;function _0x3f78(){const _0x2c040d=['change','addClass','2172420iXIhhP','77705mVHiRi','hide','6604452YgGnKw','1218672TgBdwA','ck-editor__editable__loading-overlay','290824VnYIbZ','pluginName','document','view','21fdSOuj','2344152SFASNU','editing','212OmshdZ','editor','removeClass','385235xFtlLi','show','isOfficialPlugin','isPremiumPlugin','roots','RevisionViewerLoadingOverlay'];_0x3f78=function(){return _0x2c040d;};return _0x3f78();}(function(_0x2eaf85,_0x2d35){const _0x5f25be=_0xe7d0,_0x269ca9=_0x2eaf85();while(!![]){try{const _0x324c6a=parseInt(_0x5f25be(0xdb))/0x1+parseInt(_0x5f25be(0xd6))/0x2+-parseInt(_0x5f25be(0xe7))/0x3+-parseInt(_0x5f25be(0xd8))/0x4*(parseInt(_0x5f25be(0xe4))/0x5)+-parseInt(_0x5f25be(0xe3))/0x6+parseInt(_0x5f25be(0xd5))/0x7*(-parseInt(_0x5f25be(0xd1))/0x8)+parseInt(_0x5f25be(0xe6))/0x9;if(_0x324c6a===_0x2d35)break;else _0x269ca9['push'](_0x269ca9['shift']());}catch(_0x3c9801){_0x269ca9['push'](_0x269ca9['shift']());}}}(_0x3f78,0x90121));import{Plugin as _0x212728}from'ckeditor5/src/core.js';const ge=_0x3ec7a2(0xd0);import'../../../theme/revisionviewerloadingoverlay.css';export class RevisionViewerLoadingOverlay extends _0x212728{static get[_0x3ec7a2(0xd2)](){const _0x2c9644=_0x3ec7a2;return _0x2c9644(0xe0);}static get[_0x3ec7a2(0xdd)](){return!0x0;}static get[_0x3ec7a2(0xde)](){return!0x0;}[_0x3ec7a2(0xdc)](){const _0x2ebe5e=_0x3ec7a2,_0x5dbeb3=this[_0x2ebe5e(0xd9)][_0x2ebe5e(0xd7)][_0x2ebe5e(0xd4)];_0x5dbeb3[_0x2ebe5e(0xe1)](_0x4afdd3=>{const _0x37b6a6=_0x2ebe5e;for(const _0x28cff3 of _0x5dbeb3[_0x37b6a6(0xd3)][_0x37b6a6(0xdf)])_0x4afdd3[_0x37b6a6(0xe2)](ge,_0x28cff3);});}[_0x3ec7a2(0xe5)](){const _0x5f2da1=_0x3ec7a2,_0xd7f00=this[_0x5f2da1(0xd9)][_0x5f2da1(0xd7)][_0x5f2da1(0xd4)];_0xd7f00[_0x5f2da1(0xe1)](_0x587126=>{const _0x572566=_0x5f2da1;for(const _0x430dca of _0xd7f00[_0x572566(0xd3)][_0x572566(0xdf)])_0x587126[_0x572566(0xda)](ge,_0x430dca);});}}
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
const
|
|
23
|
+
const _0x27aa44=_0x46b0;(function(_0xbe6232,_0xb4390){const _0x1168f6=_0x46b0,_0x19a32e=_0xbe6232();while(!![]){try{const _0x167568=-parseInt(_0x1168f6(0x14b))/0x1*(-parseInt(_0x1168f6(0x153))/0x2)+parseInt(_0x1168f6(0x148))/0x3*(-parseInt(_0x1168f6(0x156))/0x4)+-parseInt(_0x1168f6(0x145))/0x5*(parseInt(_0x1168f6(0x13d))/0x6)+-parseInt(_0x1168f6(0x132))/0x7*(parseInt(_0x1168f6(0x13b))/0x8)+-parseInt(_0x1168f6(0x12f))/0x9*(parseInt(_0x1168f6(0x137))/0xa)+parseInt(_0x1168f6(0x14a))/0xb*(parseInt(_0x1168f6(0x150))/0xc)+parseInt(_0x1168f6(0x13a))/0xd;if(_0x167568===_0xb4390)break;else _0x19a32e['push'](_0x19a32e['shift']());}catch(_0x1cfcf9){_0x19a32e['push'](_0x19a32e['shift']());}}}(_0x1b53,0x25b9a));import{Plugin as _0x40a31f}from'ckeditor5/src/core.js';import{ButtonView as _0x12d482}from'ckeditor5/src/ui.js';function _0x46b0(_0x1c32e5,_0x5cfe57){const _0x1b53ae=_0x1b53();return _0x46b0=function(_0x46b0f2,_0x29e7c3){_0x46b0f2=_0x46b0f2-0x127;let _0x51c808=_0x1b53ae[_0x46b0f2];return _0x51c808;},_0x46b0(_0x1c32e5,_0x5cfe57);}import{IconUndo as _0x189055}from'ckeditor5/src/icons.js';import{ChangesNavigationView as _0x2aae32}from'./changesnavigationview.js';import{RevisionViewer as _0x51a9f7}from'./../../revisionviewer.js';import{RevisionViewerLoadingOverlay as _0x563950}from'./revisionviewerloadingoverlay.js';import{getTranslation as _0x5e6965}from'../../utils/common-translations.js';import'../../../theme/revisionviewer.css';function _0x1b53(){const _0x4821b4=['componentFactory','isOfficialPlugin','RevisionViewerUI','isForwardNavigationEnabled','1392470YMMExI','bind','hide','893868GqPxOM','ck-revision-history-ui__back-to-editing','3113iWaZod','1bzBKto','set','commands','restoreRevision','get','12612wNGsjl','init','add','272306rhBESM','listenTo','change:isReady','4dJuUHW','isEnabled','editor','Back\x20to\x20editing','isPremiumPlugin','showPreviousChange','numberOfChanges','Restore\x20this\x20revision','showNextChange','execute','currentChangeNumber','isReady','106092AxEnPI','requires','config','14deboOd','isBackwardNavigationEnabled','forward','exitToEditing','plugins','130ivlqdb','show','pluginName','9648236AJlCJx','1166168rEVNeo','isNavigationMode','6kwZSCB','closeRevisionViewerCallback','revisionHistory','changesNavigation'];_0x1b53=function(){return _0x4821b4;};return _0x1b53();}export class RevisionViewerUI extends _0x40a31f{static get[_0x27aa44(0x139)](){const _0x253afb=_0x27aa44;return _0x253afb(0x143);}static get[_0x27aa44(0x142)](){return!0x0;}static get[_0x27aa44(0x127)](){return!0x0;}static get[_0x27aa44(0x130)](){return[_0x51a9f7,_0x563950];}[_0x27aa44(0x151)](){const _0x5443ec=_0x27aa44,_0x3e2272=this[_0x5443ec(0x158)],_0x1091f9=_0x3e2272[_0x5443ec(0x136)][_0x5443ec(0x14f)](_0x51a9f7),_0x233d72=_0x3e2272[_0x5443ec(0x136)][_0x5443ec(0x14f)](_0x563950);_0x3e2272['ui'][_0x5443ec(0x141)][_0x5443ec(0x152)](_0x5443ec(0x135),_0x3e91a1=>{const _0x59f52a=_0x5443ec,_0x28ea68=new _0x12d482(_0x3e91a1);return _0x28ea68[_0x59f52a(0x14c)]({'label':_0x5e6965(_0x3e91a1,_0x59f52a(0x159)),'icon':_0x189055,'withText':!0x0,'tooltip':!0x0,'class':_0x59f52a(0x149)}),this[_0x59f52a(0x154)](_0x28ea68,_0x59f52a(0x12c),()=>{const _0x526c54=_0x59f52a;_0x3e2272[_0x526c54(0x131)][_0x526c54(0x14f)](_0x526c54(0x13f))[_0x526c54(0x13e)]();}),_0x28ea68;}),_0x3e2272['ui'][_0x5443ec(0x141)][_0x5443ec(0x152)](_0x5443ec(0x14e),_0x46616e=>{const _0x19b679=_0x5443ec,_0x4179e3=new _0x12d482(_0x46616e);return _0x4179e3[_0x19b679(0x14c)]({'label':_0x5e6965(_0x46616e,_0x19b679(0x12a)),'withText':!0x0,'tooltip':!0x0}),_0x4179e3[_0x19b679(0x146)](_0x19b679(0x157))['to'](_0x3e2272[_0x19b679(0x14d)][_0x19b679(0x14f)](_0x19b679(0x14e))),this[_0x19b679(0x154)](_0x4179e3,_0x19b679(0x12c),()=>_0x3e2272[_0x19b679(0x12c)](_0x19b679(0x14e))),_0x4179e3;}),_0x3e2272['ui'][_0x5443ec(0x141)][_0x5443ec(0x152)](_0x5443ec(0x140),_0x4806ff=>{const _0x8580c3=_0x5443ec,_0x2d7ed8=new _0x2aae32(_0x4806ff),_0x21eb0a=_0x3e2272[_0x8580c3(0x14d)][_0x8580c3(0x14f)](_0x8580c3(0x128)),_0x519327=_0x3e2272[_0x8580c3(0x14d)][_0x8580c3(0x14f)](_0x8580c3(0x12b));return _0x2d7ed8[_0x8580c3(0x146)](_0x8580c3(0x133))['to'](_0x21eb0a,_0x8580c3(0x157)),_0x2d7ed8[_0x8580c3(0x146)](_0x8580c3(0x144))['to'](_0x519327,_0x8580c3(0x157)),_0x2d7ed8[_0x8580c3(0x146)](_0x8580c3(0x12e),_0x8580c3(0x12d),_0x8580c3(0x129),_0x8580c3(0x13c))['to'](_0x1091f9),this[_0x8580c3(0x154)](_0x2d7ed8,_0x8580c3(0x12c),(_0x24e249,_0x598202)=>{const _0x162372=_0x8580c3;_0x3e2272[_0x162372(0x12c)](_0x162372(0x134)===_0x598202?_0x162372(0x12b):_0x162372(0x128));}),_0x2d7ed8;}),_0x233d72[_0x5443ec(0x138)](),_0x1091f9['on'](_0x5443ec(0x155),(_0x4fbc9b,_0x4e6355,_0x5df165)=>{const _0x204c5e=_0x5443ec;_0x5df165?_0x233d72[_0x204c5e(0x147)]():_0x233d72[_0x204c5e(0x138)]();});}}
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
export function getTranslation(
|
|
23
|
+
export function getTranslation(_0x17f102,_0x875b3b,_0x59c541){const t=_0x17f102['t'];switch(_0x875b3b){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'},_0x59c541);case'X_OF_Y_CHANGES':return t({'string':'%0\x20of\x20%1','id':'X_OF_Y_CHANGES'},_0x59c541);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'';}}
|