@ckeditor/ckeditor5-revision-history 46.0.1 → 46.0.2-alpha.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/build/revision-history.js +1 -1
- package/dist/index.js +7 -7
- package/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 +11 -11
- 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
|
-
|
|
24
|
-
|
|
23
|
+
const _0x10996d=_0x1342;(function(_0x330867,_0x40dfae){const _0x4fbde2=_0x1342,_0x50a943=_0x330867();while(!![]){try{const _0x4770c9=parseInt(_0x4fbde2(0xa7))/0x1*(parseInt(_0x4fbde2(0xc4))/0x2)+parseInt(_0x4fbde2(0xac))/0x3+parseInt(_0x4fbde2(0xbd))/0x4*(-parseInt(_0x4fbde2(0xb8))/0x5)+parseInt(_0x4fbde2(0xb0))/0x6+-parseInt(_0x4fbde2(0xa8))/0x7*(parseInt(_0x4fbde2(0xb1))/0x8)+parseInt(_0x4fbde2(0xbc))/0x9*(parseInt(_0x4fbde2(0xa5))/0xa)+parseInt(_0x4fbde2(0xab))/0xb;if(_0x4770c9===_0x40dfae)break;else _0x50a943['push'](_0x50a943['shift']());}catch(_0xe60c8a){_0x50a943['push'](_0x50a943['shift']());}}}(_0xdf6d,0xd4816));import{CssTransitionDisablerMixin as _0x724953,LabeledFieldView as _0x548360,View as _0x4908ca,createLabeledInputText as _0x2b53a3,submitHandler as _0x1703f0}from'ckeditor5/src/ui.js';function _0x1342(_0x34b39d,_0x126dad){const _0xdf6d9e=_0xdf6d();return _0x1342=function(_0x13421f,_0x369951){_0x13421f=_0x13421f-0xa0;let _0x2354b9=_0xdf6d9e[_0x13421f];return _0x2354b9;},_0x1342(_0x34b39d,_0x126dad);}import{FocusTracker as _0x1f4382,KeystrokeHandler as _0x1be642}from'ckeditor5/src/utils.js';import{getTranslation as _0x40f710}from'../../utils/common-translations.js';import'../../../theme/revisionhistorysaverevisionform.css';import'@ckeditor/ckeditor5-ui/theme/components/responsive-form/responsiveform.css';export class RevisionHistorySaveRevisionFormView extends/* #__PURE__ -- @preserve */
|
|
24
|
+
_0x724953(_0x4908ca){[_0x10996d(0xa4)];[_0x10996d(0xba)];[_0x10996d(0xcb)];constructor(_0x3ef260,_0x573004){const _0x84b486=_0x10996d;super(_0x3ef260),this[_0x84b486(0xa4)]=new _0x1f4382(),this[_0x84b486(0xba)]=new _0x1be642(),this[_0x84b486(0xa3)](_0x84b486(0xc3),''),this[_0x84b486(0xcb)]=this[_0x84b486(0xb9)](_0x573004),this[_0x84b486(0xb7)]({'tag':_0x84b486(0xc7),'attributes':{'class':['ck',_0x84b486(0xb5),_0x84b486(0xae)],'tabindex':'-1'},'children':[this[_0x84b486(0xcb)]]}),this[_0x84b486(0xa9)]();}[_0x10996d(0xa6)](){const _0x2c4781=_0x10996d;super[_0x2c4781(0xa6)](),_0x1703f0({'view':this}),this[_0x2c4781(0xa4)][_0x2c4781(0xc2)](this[_0x2c4781(0xcb)][_0x2c4781(0xbe)]),this[_0x2c4781(0xba)][_0x2c4781(0xad)](this[_0x2c4781(0xbe)]);const _0x3a18d1=_0x5865df=>_0x5865df[_0x2c4781(0xca)]();this[_0x2c4781(0xba)][_0x2c4781(0xa3)](_0x2c4781(0xc9),_0x3a18d1),this[_0x2c4781(0xba)][_0x2c4781(0xa3)](_0x2c4781(0xb4),_0x3a18d1),this[_0x2c4781(0xba)][_0x2c4781(0xa3)](_0x2c4781(0xcc),_0x3a18d1),this[_0x2c4781(0xba)][_0x2c4781(0xa3)](_0x2c4781(0xa0),_0x3a18d1);}[_0x10996d(0xb3)](){const _0x2c7882=_0x10996d;this[_0x2c7882(0xcb)][_0x2c7882(0xb3)]();}get[_0x10996d(0xc1)](){const _0xf247e4=_0x10996d;return this[_0xf247e4(0xcb)][_0xf247e4(0xb2)][_0xf247e4(0xbe)][_0xf247e4(0xc5)][_0xf247e4(0xaf)]();}set[_0x10996d(0xc1)](_0x4e0daf){const _0x592010=_0x10996d;this[_0x592010(0xcb)][_0x592010(0xb2)][_0x592010(0xbe)][_0x592010(0xc5)]=_0x4e0daf[_0x592010(0xaf)]();}[_0x10996d(0xc6)](){const _0x184394=_0x10996d;this[_0x184394(0xcb)][_0x184394(0xb2)][_0x184394(0xbe)][_0x184394(0xc5)]='',this[_0x184394(0xcb)][_0x184394(0xbf)]=null;}[_0x10996d(0xb9)](_0x66f6ad){const _0x3c920f=_0x10996d,_0x3d0bb4=new _0x548360(this[_0x3c920f(0xc0)],_0x2b53a3),_0x24038b=_0x3d0bb4[_0x3c920f(0xb2)];_0x24038b[_0x3c920f(0xa1)]({'attributes':{'maxlength':_0x3c920f(0xbb)}});let _0xde28c4=_0x40f710(this[_0x3c920f(0xc0)],_0x3c920f(0xa2));return!_0x66f6ad&&(_0xde28c4+='\x20('+_0x40f710(this[_0x3c920f(0xc0)],_0x3c920f(0xb6))+')'),(_0x3d0bb4[_0x3c920f(0xaa)]=_0xde28c4,_0x24038b['on'](_0x3c920f(0xc8),()=>{const _0x1996b9=_0x3c920f;this[_0x1996b9(0xc3)]=_0x24038b[_0x1996b9(0xbe)][_0x1996b9(0xc5)][_0x1996b9(0xaf)]();}),_0x3d0bb4);}}function _0xdf6d(){const _0x5cefb2=['arrowleft','ck-revision-history-save-revision-form','optional','setTemplate','7391845lskADF','_createRevisionNameInput','keystrokes','220','9TMxPOx','4yQiyRy','element','errorText','locale','revisionName','add','revisionNameInputValue','7292SIfAgv','value','reset','form','input','arrowright','stopPropagation','revisionNameInputView','arrowup','arrowdown','extendTemplate','Name\x20of\x20the\x20revision','set','focusTracker','5270420vIgbQI','render','1FvwkKO','19243lGampd','initializeCssTransitionDisablerMixin','label','5884692Ootmfp','4998831QGPzvF','listenTo','ck-responsive-form','trim','5106930PMurYO','3592MmgLJo','fieldView','focus'];_0xdf6d=function(){return _0x5cefb2;};return _0xdf6d();}
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
const
|
|
23
|
+
const _0xe1f518=_0x5169;(function(_0x105d13,_0x113ca0){const _0x46eff0=_0x5169,_0x351d28=_0x105d13();while(!![]){try{const _0x2c8d07=-parseInt(_0x46eff0(0x158))/0x1*(-parseInt(_0x46eff0(0x15c))/0x2)+parseInt(_0x46eff0(0x163))/0x3*(parseInt(_0x46eff0(0x14e))/0x4)+parseInt(_0x46eff0(0x17f))/0x5*(-parseInt(_0x46eff0(0x16f))/0x6)+-parseInt(_0x46eff0(0x16c))/0x7*(-parseInt(_0x46eff0(0x167))/0x8)+parseInt(_0x46eff0(0x165))/0x9+-parseInt(_0x46eff0(0x174))/0xa+-parseInt(_0x46eff0(0x171))/0xb;if(_0x2c8d07===_0x113ca0)break;else _0x351d28['push'](_0x351d28['shift']());}catch(_0x431835){_0x351d28['push'](_0x351d28['shift']());}}}(_0x1d9d,0x1b5d8));function _0x5169(_0x461d39,_0x4f9e46){const _0x1d9dcc=_0x1d9d();return _0x5169=function(_0x516926,_0x22b7b9){_0x516926=_0x516926-0x145;let _0x25ee92=_0x1d9dcc[_0x516926];return _0x25ee92;},_0x5169(_0x461d39,_0x4f9e46);}import{Plugin as _0x1962dd}from'ckeditor5/src/core.js';import{IconHistory as _0x5ec6c3}from'ckeditor5/src/icons.js';import{createDropdown as _0x14752e,ButtonView as _0x337199,ListItemView as _0x584f0c,ListView as _0x398650,MenuBarMenuListItemButtonView as _0x573de3,MenuBarMenuListItemView as _0x25951a,MenuBarMenuListView as _0x2357ac,MenuBarMenuView as _0x4490ee}from'ckeditor5/src/ui.js';import{RevisionTracker as _0x57397d}from'../../revisiontracker.js';import{RevisionHistorySaveRevisionFormView as _0x450040}from'./revisionhistorysaverevisionformview.js';function _0x1d9d(){const _0x802844=['Accept','4JFRJkm','isOfficialPlugin','view','editing','errorText','focus','isOpen','RevisionTracker','revisionHistory.requireRevisionName','_saveRevisionFormView','1Qlajaz','componentFactory','menu','init','5916ZKfRuP','role','_createSaveRevisionFormView','showRevisionViewerCallback','revisionHistory','revisionSave','children','506151efJBHZ','locale','608211fPYfjs','Revision\x20history','8NJoKsG','delegate','pluginName','saveRevision','get','287945CZbJal','RevisionHistoryUI','set','25938fkTgLk','revisionName','1390246uWUmgx','_registerMenuComponent','add','203000NJwFvr','Save\x20current\x20revision','panelView','reset','revisionNameInputView','addMany','_showDialog','plugins','Cancel','Open\x20revision\x20history','ck-button-action','25hwsEnp','isReadOnly','render','hide','The\x20revision\x20name\x20cannot\x20be\x20empty.','editor','config','isPremiumPlugin','submit','bind','menuitem','buttonView','requires','execute','menuBar:revisionHistory','Dialog','isReady','items','isEnabled','show'];_0x1d9d=function(){return _0x802844;};return _0x1d9d();}import{getTranslation as _0x4398d0}from'../../utils/common-translations.js';export class RevisionHistoryUI extends _0x1962dd{static get[_0xe1f518(0x169)](){const _0x2de3e1=_0xe1f518;return _0x2de3e1(0x16d);}static get[_0xe1f518(0x14f)](){return!0x0;}static get[_0xe1f518(0x186)](){return!0x0;}static get[_0xe1f518(0x145)](){return[_0x57397d];}[_0xe1f518(0x157)];[_0xe1f518(0x15b)](){const _0x1d0102=_0xe1f518,_0x32dee0=this[_0x1d0102(0x184)],_0x9b140c=_0x32dee0[_0x1d0102(0x17b)][_0x1d0102(0x16b)](_0x1d0102(0x155));_0x32dee0['ui'][_0x1d0102(0x159)][_0x1d0102(0x173)](_0x1d0102(0x160),_0x4aa0ff=>{const _0xd10e55=_0x1d0102,_0x187e2f=_0x14752e(_0x4aa0ff),_0x406159=_0x187e2f[_0xd10e55(0x176)][_0xd10e55(0x162)],_0x1e9790=new _0x398650(_0x4aa0ff),_0x5571c4=new _0x584f0c(_0x4aa0ff),_0x54af1d=new _0x337199(_0x4aa0ff),_0x4bdc87=new _0x584f0c(_0x4aa0ff),_0x3ab5bd=new _0x337199(_0x4aa0ff);return _0x187e2f[_0xd10e55(0x188)](_0xd10e55(0x14b))['to'](_0x9b140c,_0xd10e55(0x149),_0x9b140c,_0xd10e55(0x14b),_0x32dee0,_0xd10e55(0x180),(_0x473542,_0x53bbfb,_0x57f0b6)=>_0x473542&&_0x53bbfb&&!_0x57f0b6),_0x187e2f[_0xd10e55(0x18a)][_0xd10e55(0x16e)]({'icon':_0x5ec6c3,'label':_0x4398d0(_0x4aa0ff,_0xd10e55(0x166)),'tooltip':!0x0}),_0x54af1d[_0xd10e55(0x16e)]({'label':_0x4398d0(_0x4aa0ff,_0xd10e55(0x175)),'withText':!0x0,'role':_0xd10e55(0x189)}),_0x54af1d[_0xd10e55(0x188)](_0xd10e55(0x14b))['to'](_0x9b140c,_0xd10e55(0x149),_0x9b140c,_0xd10e55(0x14b),_0x32dee0,_0xd10e55(0x180),(_0x50ad24,_0x3f05ca,_0x273832)=>_0x50ad24&&_0x3f05ca&&!_0x273832),_0x54af1d['on'](_0xd10e55(0x146),()=>this[_0xd10e55(0x17a)]()),_0x3ab5bd[_0xd10e55(0x16e)]({'label':_0x4398d0(_0x4aa0ff,_0xd10e55(0x17d)),'withText':!0x0,'role':_0xd10e55(0x189)}),_0x3ab5bd[_0xd10e55(0x188)](_0xd10e55(0x14b))['to'](_0x9b140c,_0xd10e55(0x149),_0x32dee0,_0xd10e55(0x180),(_0x5994f4,_0x5d4bf3)=>_0x5994f4&&!_0x5d4bf3),_0x3ab5bd['on'](_0xd10e55(0x146),()=>{const _0x49e34b=_0xd10e55;_0x32dee0[_0x49e34b(0x185)][_0x49e34b(0x16b)](_0x49e34b(0x160))[_0x49e34b(0x15f)](),_0x187e2f[_0x49e34b(0x154)]=!0x1,_0x32dee0[_0x49e34b(0x151)][_0x49e34b(0x150)][_0x49e34b(0x153)]();}),_0x5571c4[_0xd10e55(0x162)][_0xd10e55(0x173)](_0x54af1d),_0x4bdc87[_0xd10e55(0x162)][_0xd10e55(0x173)](_0x3ab5bd),_0x1e9790[_0xd10e55(0x15d)]=_0xd10e55(0x15a),_0x1e9790[_0xd10e55(0x14a)][_0xd10e55(0x179)]([_0x5571c4,_0x4bdc87]),_0x406159[_0xd10e55(0x173)](_0x1e9790),_0x187e2f;}),_0x32dee0['ui'][_0x1d0102(0x159)][_0x1d0102(0x173)](_0x1d0102(0x147),()=>this[_0x1d0102(0x172)]());}[_0xe1f518(0x172)](){const _0x79039=_0xe1f518,_0xc2f707=this[_0x79039(0x184)],_0x576337=_0xc2f707[_0x79039(0x164)],_0x31f3ac=new _0x4490ee(_0x576337),_0x21e1c7=new _0x2357ac(_0x576337);_0x31f3ac[_0x79039(0x18a)][_0x79039(0x16e)]({'icon':_0x5ec6c3,'label':_0x4398d0(_0x576337,_0x79039(0x166))});const _0x2b9816=new _0x25951a(_0x576337,_0x31f3ac),_0x18db06=new _0x573de3(_0x576337);_0x18db06[_0x79039(0x16e)]({'label':_0x4398d0(_0x576337,_0x79039(0x175))}),_0x18db06[_0x79039(0x168)](_0x79039(0x146))['to'](_0x31f3ac),_0x18db06['on'](_0x79039(0x146),()=>{const _0x4f1b7f=_0x79039;this[_0x4f1b7f(0x17a)]();}),_0x2b9816[_0x79039(0x162)][_0x79039(0x173)](_0x18db06),_0x21e1c7[_0x79039(0x14a)][_0x79039(0x173)](_0x2b9816);const _0x564f4c=new _0x25951a(_0x576337,_0x31f3ac),_0x1784dc=new _0x573de3(_0x576337);return _0x1784dc[_0x79039(0x16e)]({'label':_0x4398d0(_0x576337,_0x79039(0x17d))}),_0x1784dc[_0x79039(0x168)](_0x79039(0x146))['to'](_0x31f3ac),_0x1784dc['on'](_0x79039(0x146),()=>{const _0x4bde1a=_0x79039;_0xc2f707[_0x4bde1a(0x185)][_0x4bde1a(0x16b)](_0x4bde1a(0x160))[_0x4bde1a(0x15f)]();}),_0x564f4c[_0x79039(0x162)][_0x79039(0x173)](_0x1784dc),_0x21e1c7[_0x79039(0x14a)][_0x79039(0x173)](_0x564f4c),_0x31f3ac[_0x79039(0x176)][_0x79039(0x162)][_0x79039(0x173)](_0x21e1c7),_0x31f3ac;}[_0xe1f518(0x17a)](){const _0x36a6ff=_0xe1f518,_0x1b8366=this[_0x36a6ff(0x184)],_0x153100=_0x1b8366[_0x36a6ff(0x164)],_0x508e34=_0x1b8366[_0x36a6ff(0x17b)][_0x36a6ff(0x16b)](_0x36a6ff(0x148)),_0x5819bb=_0x1b8366[_0x36a6ff(0x17b)][_0x36a6ff(0x16b)](_0x36a6ff(0x155));function _0x2339fe(_0x198c0a){const _0x3e0ab0=_0x36a6ff;_0x1b8366[_0x3e0ab0(0x185)][_0x3e0ab0(0x16b)](_0x3e0ab0(0x156))&&''===_0x198c0a[_0x3e0ab0(0x170)]?_0x198c0a[_0x3e0ab0(0x178)][_0x3e0ab0(0x152)]=_0x4398d0(_0x153100,_0x3e0ab0(0x183)):(_0x1b8366[_0x3e0ab0(0x17b)][_0x3e0ab0(0x16b)](_0x57397d)[_0x3e0ab0(0x16a)]({'name':_0x198c0a[_0x3e0ab0(0x170)]}),_0x508e34[_0x3e0ab0(0x182)]());}this[_0x36a6ff(0x157)]||(this[_0x36a6ff(0x15e)](),this[_0x36a6ff(0x157)]['on'](_0x36a6ff(0x187),()=>_0x2339fe(this[_0x36a6ff(0x157)]))),this[_0x36a6ff(0x157)][_0x36a6ff(0x177)](),_0x508e34[_0x36a6ff(0x14c)]({'id':_0x36a6ff(0x161),'title':_0x4398d0(_0x153100,_0x36a6ff(0x175)),'isModal':!0x0,'content':this[_0x36a6ff(0x157)],'actionButtons':[{'label':_0x4398d0(_0x1b8366[_0x36a6ff(0x164)],_0x36a6ff(0x17c)),'withText':!0x0,'onExecute':()=>_0x508e34[_0x36a6ff(0x182)]()},{'label':_0x4398d0(_0x1b8366[_0x36a6ff(0x164)],_0x36a6ff(0x14d)),'class':_0x36a6ff(0x17e),'withText':!0x0,'onCreate'(_0x895abd){const _0x3ca2a5=_0x36a6ff;_0x895abd[_0x3ca2a5(0x188)](_0x3ca2a5(0x14b))['to'](_0x5819bb,_0x3ca2a5(0x149),_0x5819bb,_0x3ca2a5(0x14b),_0x1b8366,_0x3ca2a5(0x180),(_0x53aa45,_0x4ef2ef,_0x35d14c)=>_0x53aa45&&_0x4ef2ef&&!_0x35d14c);},'onExecute':()=>_0x2339fe(this[_0x36a6ff(0x157)])}]});}[_0xe1f518(0x15e)](){const _0x21210a=_0xe1f518,_0x31f4d5=this[_0x21210a(0x184)],_0x1f42c6=_0x31f4d5[_0x21210a(0x164)];this[_0x21210a(0x157)]=new _0x450040(_0x1f42c6,_0x31f4d5[_0x21210a(0x185)][_0x21210a(0x16b)](_0x21210a(0x156))),this[_0x21210a(0x157)][_0x21210a(0x181)]();}}
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
const
|
|
23
|
+
const _0x5717eb=_0x1eb8;(function(_0x25eae9,_0x296639){const _0x3b7d99=_0x1eb8,_0x31a01f=_0x25eae9();while(!![]){try{const _0x13dd48=-parseInt(_0x3b7d99(0xdb))/0x1*(-parseInt(_0x3b7d99(0xab))/0x2)+parseInt(_0x3b7d99(0xb7))/0x3*(parseInt(_0x3b7d99(0x8a))/0x4)+parseInt(_0x3b7d99(0xbb))/0x5+parseInt(_0x3b7d99(0xa0))/0x6*(parseInt(_0x3b7d99(0x90))/0x7)+parseInt(_0x3b7d99(0xcc))/0x8*(-parseInt(_0x3b7d99(0xc4))/0x9)+-parseInt(_0x3b7d99(0xc2))/0xa*(-parseInt(_0x3b7d99(0xb8))/0xb)+parseInt(_0x3b7d99(0x9b))/0xc*(-parseInt(_0x3b7d99(0xa6))/0xd);if(_0x13dd48===_0x296639)break;else _0x31a01f['push'](_0x31a01f['shift']());}catch(_0x1976c8){_0x31a01f['push'](_0x31a01f['shift']());}}}(_0x39e3,0xe1911));function _0x39e3(){const _0x49a61d=['revisionSelected','112116XwMOmS','defaultRevisionActions','newRevisionId','setName','isPremiumPlugin','fieldView','_revisionViewer','plugins','_createRevisionActions','editor','compareAgainstSelected','timePeriodViews','1137bDTJUX','22BqQPup','render','highlightRevisions','1662515wFuwOY','destroy','change:diff','restoreRevision','requires','focus','string','8991310BlZIoq','element','9NwupTq','compare','isOfficialPlugin','nameRevision','Restore\x20this\x20revision','revisionHistory','length','availableRevisionActions','14631184UBnxdw','data','diff','_handleEditorDataReady','Compare\x20against\x20selected','action','locale','_handleRevisionSetName','assign','config','getEarlierVisibleRevision','revisionHistory.revisionActions','isVisible','get','pluginName','2qflsWn','getIndex','listenTo','appendChild','selectRevision','8488SRDsTA','_handleRevisionSelected','isReady','revisionHistory.requireRevisionName','_sidebarView','RevisionsSidebar','7eaIFsl','_revisionsRepository','_handleDiffChange','restoreRevisionCallback','repository','add','select','bind','init','remove','name','300dFoyMV','getRevisionsInDiff','Name\x20this\x20revision','revisionSetName','revisionViews','10065900mxbalD','revisionHistory.viewerSidebarContainer','isEnabled','isSelected','getLaterVisibleRevision','map','1025414fTKHQt','_revisions','ready','getRevision'];_0x39e3=function(){return _0x49a61d;};return _0x39e3();}import{Plugin as _0x58680d}from'ckeditor5/src/core.js';import{RevisionsSidebarView as _0x12bee0}from'./revisionssidebarview.js';function _0x1eb8(_0x14f1bb,_0x1461df){const _0x39e3fb=_0x39e3();return _0x1eb8=function(_0x1eb864,_0x3153fc){_0x1eb864=_0x1eb864-0x8a;let _0x1fc7f3=_0x39e3fb[_0x1eb864];return _0x1fc7f3;},_0x1eb8(_0x14f1bb,_0x1461df);}import{RevisionViewer as _0x4a2920}from'../../revisionviewer.js';class f extends _0x58680d{[_0x5717eb(0xb1)];[_0x5717eb(0x91)];[_0x5717eb(0x8e)];static [_0x5717eb(0xac)]=[_0x5717eb(0xb5),_0x5717eb(0xbe),_0x5717eb(0xc7)];static [_0x5717eb(0xcb)]=(function(){const _0x10a59e=_0x5717eb;return{'compareAgainstSelected':{'name':_0x10a59e(0xd0),'action':({plugins:i},s)=>{const _0xa41150=_0x10a59e,e=i[_0xa41150(0xd9)](_0x4a2920),n=e[_0xa41150(0x94)];let r=e[_0xa41150(0xce)][_0xa41150(0xad)],o=s['id'];n[_0xa41150(0xdc)](r)>n[_0xa41150(0xdc)](o)&&([r,o]=[o,r]),e[_0xa41150(0xc5)](r,o);},'isVisible':({plugins:i},s)=>{const _0x4a7cca=_0x10a59e,e=i[_0x4a7cca(0xd9)](_0x4a2920);return!(e[_0x4a7cca(0x94)][_0x4a7cca(0x9c)](e[_0x4a7cca(0xce)])[_0x4a7cca(0xca)]>0x2)&&!s[_0x4a7cca(0xa3)];}},'restoreRevision':{'name':_0x10a59e(0xc8),'action':(i,{id:s})=>{const _0x55e2b1=_0x10a59e;i[_0x55e2b1(0xd5)][_0x55e2b1(0xd9)](_0x55e2b1(0xc9))[_0x55e2b1(0x93)](s);},'isVisible':({plugins:i},s)=>!!i[_0x10a59e(0xd9)](_0x4a2920)[_0x10a59e(0x94)][_0x10a59e(0xa4)](s['id'])},'nameRevision':{'name':_0x10a59e(0x9d),'action':({plugins:i},{id:s,revisionNameView:e})=>{const _0x336749=_0x10a59e,n=i[_0x336749(0xd9)](_0x4a2920),r=n[_0x336749(0x94)][_0x336749(0xd6)](s);n[_0x336749(0xc5)](s,r),e[_0x336749(0xc0)](),e[_0x336749(0xb0)][_0x336749(0x96)]();}}};}());static get[_0x5717eb(0xda)](){const _0x5d91eb=_0x5717eb;return _0x5d91eb(0x8f);}static get[_0x5717eb(0xc6)](){return!0x0;}static get[_0x5717eb(0xaf)](){return!0x0;}static get[_0x5717eb(0xbf)](){return[_0x4a2920];}constructor(_0x3c3e48){const _0x471969=_0x5717eb;super(_0x3c3e48),this[_0x471969(0xb1)]=_0x3c3e48[_0x471969(0xb2)][_0x471969(0xd9)](_0x4a2920),this[_0x471969(0x91)]=this[_0x471969(0xb1)][_0x471969(0x94)],this[_0x471969(0x8e)]=null;}[_0x5717eb(0x98)](){const _0x13c7ac=_0x5717eb,_0x4d1bbf=this[_0x13c7ac(0x91)][_0x13c7ac(0xa7)],_0x452a28=this[_0x13c7ac(0xb3)](),_0x12bc53=this[_0x13c7ac(0xb4)][_0x13c7ac(0xd5)][_0x13c7ac(0xd9)](_0x13c7ac(0xa1));this[_0x13c7ac(0x8e)]=new _0x12bee0(this[_0x13c7ac(0xb4)][_0x13c7ac(0xd2)],_0x4d1bbf,_0x452a28,this[_0x13c7ac(0xb4)][_0x13c7ac(0xd5)][_0x13c7ac(0xd9)](_0x13c7ac(0x8d))),this[_0x13c7ac(0x8e)]['on'](_0x13c7ac(0xaa),this[_0x13c7ac(0x8b)][_0x13c7ac(0x97)](this)),this[_0x13c7ac(0x8e)]['on'](_0x13c7ac(0x9e),this[_0x13c7ac(0xd3)][_0x13c7ac(0x97)](this)),this[_0x13c7ac(0x8e)][_0x13c7ac(0x97)](_0x13c7ac(0xa2))['to'](this[_0x13c7ac(0xb1)]),this[_0x13c7ac(0x8e)][_0x13c7ac(0xb6)]['on'](_0x13c7ac(0x95),(_0x4db39e,_0xb4d99a)=>{const _0x303156=_0x13c7ac;_0xb4d99a[_0x303156(0x9f)]['on'](_0x303156(0x95),(_0x139034,_0x522113)=>{const _0x5ee798=_0x303156;_0x522113[_0x5ee798(0x97)](_0x5ee798(0xa2),_0x5ee798(0x8c))['to'](this[_0x5ee798(0xb1)]);});}),this[_0x13c7ac(0x8e)][_0x13c7ac(0xb9)](),this[_0x13c7ac(0xdd)](this[_0x13c7ac(0xb4)][_0x13c7ac(0xcd)],_0x13c7ac(0xa8),this[_0x13c7ac(0xcf)][_0x13c7ac(0x97)](this)),this[_0x13c7ac(0xdd)](this[_0x13c7ac(0xb1)],_0x13c7ac(0xbd),this[_0x13c7ac(0x92)][_0x13c7ac(0x97)](this)),_0x12bc53[_0x13c7ac(0xde)](this[_0x13c7ac(0x8e)][_0x13c7ac(0xc3)]);}[_0x5717eb(0xbc)](){const _0x203701=_0x5717eb;this[_0x203701(0x8e)][_0x203701(0xc3)][_0x203701(0x99)](),this[_0x203701(0x8e)][_0x203701(0xbc)]();}[_0x5717eb(0xcf)](){const _0x18ce7b=_0x5717eb,_0xdd1306=this[_0x18ce7b(0x91)][_0x18ce7b(0xa9)](0x0);if(_0xdd1306){const _0x2447e0=this[_0x18ce7b(0x91)][_0x18ce7b(0xd6)](_0xdd1306['id']);this[_0x18ce7b(0xb1)][_0x18ce7b(0xc5)](_0xdd1306,_0x2447e0);}}[_0x5717eb(0x8b)](_0x58c14c,_0x14189c){const _0x34c74e=_0x5717eb,_0x353f43=this[_0x34c74e(0x91)][_0x34c74e(0xa9)](_0x14189c['id']),_0x46ba4d=this[_0x34c74e(0x91)][_0x34c74e(0xd6)](_0x353f43['id']);this[_0x34c74e(0xb1)][_0x34c74e(0xc5)](_0x353f43,_0x46ba4d);}[_0x5717eb(0xd3)](_0x1fd4c8,_0x2204ee){const _0x4bfd3f=_0x5717eb;this[_0x4bfd3f(0x91)][_0x4bfd3f(0xa9)](_0x2204ee['id'])[_0x4bfd3f(0xae)](_0x2204ee[_0x4bfd3f(0x9a)]);}[_0x5717eb(0x92)](_0x5958c7,_0x4352ef,_0x504041){const _0x4617ab=_0x5717eb,_0x1d69cd=this[_0x4617ab(0x91)][_0x4617ab(0x9c)](_0x504041);_0x1d69cd[_0x4617ab(0xca)]>0x2?(this[_0x4617ab(0x8e)][_0x4617ab(0xba)](_0x1d69cd),this[_0x4617ab(0x8e)][_0x4617ab(0xdf)](null)):(this[_0x4617ab(0x8e)][_0x4617ab(0xba)]([]),this[_0x4617ab(0x8e)][_0x4617ab(0xdf)](_0x1d69cd[0x0]));}[_0x5717eb(0xb3)](){const _0x2e9179=_0x5717eb,_0x47f9f1=this[_0x2e9179(0xb4)],_0x11c72e=f[_0x2e9179(0xcb)],_0x1c1663=_0x47f9f1[_0x2e9179(0xd5)][_0x2e9179(0xd9)](_0x2e9179(0xd7))||f[_0x2e9179(0xac)];if(_0x1c1663[_0x2e9179(0xca)])return _0x1c1663[_0x2e9179(0xa5)](_0x24c5bc=>{const _0x12dfb1=_0x2e9179,_0x17dd07=_0x12dfb1(0xc1)==typeof _0x24c5bc?Object[_0x12dfb1(0xd4)]({},_0x11c72e[_0x24c5bc]):_0x24c5bc;return _0x17dd07[_0x12dfb1(0xd1)]=_0x17dd07[_0x12dfb1(0xd1)][_0x12dfb1(0x97)](this,_0x47f9f1),_0x17dd07[_0x12dfb1(0xd8)]&&(_0x17dd07[_0x12dfb1(0xd8)]=_0x17dd07[_0x12dfb1(0xd8)][_0x12dfb1(0x97)](this,_0x47f9f1)),_0x17dd07;});}}export{f as RevisionsSidebar};
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
(function(
|
|
23
|
+
function _0x1aa6(_0x250591,_0x1a4aa5){const _0x5a07aa=_0x5a07();return _0x1aa6=function(_0x1aa630,_0x2af183){_0x1aa630=_0x1aa630-0x1e5;let _0xf44a29=_0x5a07aa[_0x1aa630];return _0xf44a29;},_0x1aa6(_0x250591,_0x1a4aa5);}(function(_0x326221,_0x9ee8c3){const _0x13dc28=_0x1aa6,_0x25175a=_0x326221();while(!![]){try{const _0x21517c=parseInt(_0x13dc28(0x1ed))/0x1+parseInt(_0x13dc28(0x1e7))/0x2+-parseInt(_0x13dc28(0x1f2))/0x3+-parseInt(_0x13dc28(0x1e6))/0x4*(-parseInt(_0x13dc28(0x1ef))/0x5)+parseInt(_0x13dc28(0x1e8))/0x6+parseInt(_0x13dc28(0x1ec))/0x7+-parseInt(_0x13dc28(0x1f3))/0x8;if(_0x21517c===_0x9ee8c3)break;else _0x25175a['push'](_0x25175a['shift']());}catch(_0x18474f){_0x25175a['push'](_0x25175a['shift']());}}}(_0x5a07,0x75030));import{View as _0x1eaf29,IconView as _0x1e3016}from'ckeditor5/src/ui.js';import{getTranslation as _0x176e8e}from'../../utils/common-translations.js';function _0x5a07(){const _0x8d47a4=['2439213qMblXg','9406264xuGkXp','content','ck-revision-history-sidebar__header','295948OSqaVB','1037616nrnMKc','3772896mUGokX','Revision\x20history','ck-reset_all','div','1026802fMzplm','507941irXLRU','ck-revision-history-sidebar__header__label','45YAFAGf','setTemplate','span'];_0x5a07=function(){return _0x8d47a4;};return _0x5a07();}import{IconHistory as _0x27b42f}from'ckeditor5/src/icons.js';import'../../../theme/revisionssidebar/revisionssidebarheader.css';export class RevisionsSidebarHeaderView extends _0x1eaf29{constructor(_0x5d3214){const _0x3c17d1=_0x1aa6;super(_0x5d3214);const _0x5842f4=new _0x1e3016();_0x5842f4[_0x3c17d1(0x1f4)]=_0x27b42f,this[_0x3c17d1(0x1f0)]({'tag':_0x3c17d1(0x1eb),'attributes':{'class':['ck',_0x3c17d1(0x1ea),_0x3c17d1(0x1e5)]},'children':[_0x5842f4,{'tag':_0x3c17d1(0x1f1),'attributes':{'class':['ck',_0x3c17d1(0x1ee)]},'children':[_0x176e8e(_0x5d3214,_0x3c17d1(0x1e9))]}]});}}
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
|
|
23
|
+
function _0x3c55(){const _0x40f67d=['6203112tuelno','62784KKFcCT','div','14zUKKOV','createCollection','revisionViews','ck-revision-history-sidebar__time-period__revisions','select','ck-revision-history-sidebar__time-period__label','removeRevision','_revisionActions','uiLanguage','delegate','_requireRevisionName','find','locale','span','remove','addRevision','267619stuxdy','setName','3698168TNTQZK','3262617cxIhag','setTemplate','ck-revision-history-sidebar__time-period','2326376xyxKur','localizedPeriodName','10bOBmtq','3WAXnmh','53875164xMaKyD','startDate','5kztbSA','add','34AfEkoU'];_0x3c55=function(){return _0x40f67d;};return _0x3c55();}const _0x3d0972=_0x2b60;(function(_0x727245,_0x169194){const _0x11da63=_0x2b60,_0x3ddd21=_0x727245();while(!![]){try{const _0x47b55c=-parseInt(_0x11da63(0xb2))/0x1*(parseInt(_0x11da63(0xb4))/0x2)+parseInt(_0x11da63(0xad))/0x3*(-parseInt(_0x11da63(0xa6))/0x4)+-parseInt(_0x11da63(0xb0))/0x5*(parseInt(_0x11da63(0xb3))/0x6)+-parseInt(_0x11da63(0xb6))/0x7*(parseInt(_0x11da63(0xaa))/0x8)+-parseInt(_0x11da63(0xa7))/0x9+parseInt(_0x11da63(0xac))/0xa*(parseInt(_0x11da63(0xa4))/0xb)+parseInt(_0x11da63(0xae))/0xc;if(_0x47b55c===_0x169194)break;else _0x3ddd21['push'](_0x3ddd21['shift']());}catch(_0x1149e0){_0x3ddd21['push'](_0x3ddd21['shift']());}}}(_0x3c55,0x84d61));import{View as _0x13858b}from'ckeditor5/src/ui.js';function _0x2b60(_0x301af3,_0x3c5e15){const _0x3c55b5=_0x3c55();return _0x2b60=function(_0x2b608b,_0x262743){_0x2b608b=_0x2b608b-0x97;let _0x76c12f=_0x3c55b5[_0x2b608b];return _0x76c12f;},_0x2b60(_0x301af3,_0x3c5e15);}import{RevisionView as _0x8bf253}from'../revision/revisionview.js';import{getDateTimePeriodInfo as _0x102caf}from'./utils.js';import'../../../theme/revisionssidebar/revisionssidebartimeperiod.css';export class RevisionsSidebarTimePeriodView extends _0x13858b{[_0x3d0972(0xaf)];[_0x3d0972(0xb8)];[_0x3d0972(0x9b)];[_0x3d0972(0x9e)];constructor(_0x1f2e94,_0xa728e9,_0x49851f,_0x152429){const _0x5c2512=_0x3d0972;super(_0x1f2e94);const _0x3787ac=_0x102caf(_0xa728e9,this[_0x5c2512(0xa0)][_0x5c2512(0x9c)])[_0x5c2512(0xab)];this[_0x5c2512(0xaf)]=_0xa728e9,this[_0x5c2512(0xb8)]=this[_0x5c2512(0xb7)](),this[_0x5c2512(0x9b)]=_0x49851f,this[_0x5c2512(0x9e)]=_0x152429,this[_0x5c2512(0xb8)][_0x5c2512(0x9d)](_0x5c2512(0x98))['to'](this),this[_0x5c2512(0xb8)][_0x5c2512(0x9d)](_0x5c2512(0xa5))['to'](this),this[_0x5c2512(0xa8)]({'tag':_0x5c2512(0xb5),'attributes':{'class':['ck',_0x5c2512(0xa9)]},'children':[{'tag':_0x5c2512(0xa1),'attributes':{'class':['ck',_0x5c2512(0x99)]},'children':[{'text':_0x3787ac}]},{'tag':_0x5c2512(0xb5),'attributes':{'class':['ck',_0x5c2512(0x97)]},'children':this[_0x5c2512(0xb8)]}]});}[_0x3d0972(0xa3)](_0x592caf){const _0xfa43bb=_0x3d0972,_0x1f41df=new _0x8bf253(this[_0xfa43bb(0xa0)],_0x592caf,this[_0xfa43bb(0x9b)],this[_0xfa43bb(0x9e)]);this[_0xfa43bb(0xb8)][_0xfa43bb(0xb1)](_0x1f41df);}[_0x3d0972(0x9a)](_0x2cbdd9){const _0xd6ff46=_0x3d0972,_0x1d00f3=this[_0xd6ff46(0xb8)][_0xd6ff46(0x9f)](_0x23e539=>_0x23e539['id']===_0x2cbdd9['id']);this[_0xd6ff46(0xb8)][_0xd6ff46(0xa2)](_0x1d00f3);}}
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
const
|
|
23
|
+
const _0x10fff9=_0x9b6f;(function(_0x76d3d2,_0xe865de){const _0x247cc0=_0x9b6f,_0x129277=_0x76d3d2();while(!![]){try{const _0x1d6e80=-parseInt(_0x247cc0(0x183))/0x1*(-parseInt(_0x247cc0(0x18f))/0x2)+parseInt(_0x247cc0(0x19a))/0x3*(parseInt(_0x247cc0(0x19e))/0x4)+parseInt(_0x247cc0(0x19d))/0x5*(-parseInt(_0x247cc0(0x1aa))/0x6)+parseInt(_0x247cc0(0x195))/0x7+parseInt(_0x247cc0(0x19b))/0x8+parseInt(_0x247cc0(0x1b3))/0x9+parseInt(_0x247cc0(0x18d))/0xa*(-parseInt(_0x247cc0(0x1a1))/0xb);if(_0x1d6e80===_0xe865de)break;else _0x129277['push'](_0x129277['shift']());}catch(_0x56431c){_0x129277['push'](_0x129277['shift']());}}}(_0x3af3,0x476b5));import{View as _0x713003}from'ckeditor5/src/ui.js';function _0x3af3(){const _0x54d403=['unhighlight','18Dmrgpr','deselect','startDate','some','uiLanguage','ck-revision-history-sidebar__timeline','1455174QbDUwJ','add','locale','div','createCollection','8901TqySnP','512064YHvQUA','ck-disabled','37755oFHDsv','20isPelG','_requireRevisionName','_revisions','966988DjJQFS','fire','_addRevision','revisionSelected','bindTemplate','render','ck-revision-history-sidebar','highlightRevisions','map','294MVHzCE','removeRevision','set','createdAt','_removeRevision','delegate','revisionSetName','_revisionActions','remove','3170988qqcxrU','ck-rounded-corners','addRevision','ck-reset','select','selectRevision','revisionViews','setName','31911ndBUSG','find','flat','getTime','highlight','timePeriodViews','_getTimePeriodViewByStartDate','get','isEnabled','setTemplate','30wqsifh'];_0x3af3=function(){return _0x54d403;};return _0x3af3();}import{RevisionsSidebarTimePeriodView as _0xbc289c}from'./revisionssidebartimeperiodview.js';function _0x9b6f(_0x1a9a9e,_0x3411a8){const _0x3af38d=_0x3af3();return _0x9b6f=function(_0x9b6f14,_0x5e9c56){_0x9b6f14=_0x9b6f14-0x181;let _0x378a28=_0x3af38d[_0x9b6f14];return _0x378a28;},_0x9b6f(_0x1a9a9e,_0x3411a8);}import{RevisionsSidebarHeaderView as _0x2c43e7}from'./revisionssidebarheaderview.js';import{getDateTimePeriodInfo as _0x256917}from'./utils.js';import'../../../theme/revisionssidebar/revisionssidebar.css';export class RevisionsSidebarView extends _0x713003{[_0x10fff9(0x188)];[_0x10fff9(0x1a0)];[_0x10fff9(0x1b1)];[_0x10fff9(0x19f)];constructor(_0x22bd73,_0x126e00,_0x4af24f,_0x4ea6bf){const _0x148fee=_0x10fff9;super(_0x22bd73);const _0xd1ccd4=this[_0x148fee(0x1a5)];this[_0x148fee(0x188)]=this[_0x148fee(0x199)](),this[_0x148fee(0x188)][_0x148fee(0x1af)](_0x148fee(0x1b7))['to'](this),this[_0x148fee(0x188)][_0x148fee(0x1af)](_0x148fee(0x182))['to'](this),this[_0x148fee(0x1a0)]=_0x126e00,this[_0x148fee(0x1b1)]=_0x4af24f,this[_0x148fee(0x19f)]=_0x4ea6bf,this['on'](_0x148fee(0x1b7),(_0x5088e2,_0x584c54)=>{const _0xc28bb1=_0x148fee;this[_0xc28bb1(0x1a2)](_0xc28bb1(0x1a4),_0x584c54);}),this['on'](_0x148fee(0x182),(_0x2d5997,_0x3465f5)=>{const _0x5daac1=_0x148fee;this[_0x5daac1(0x1a2)](_0x5daac1(0x1b0),_0x3465f5);}),this[_0x148fee(0x1ac)](_0x148fee(0x18b),!0x1),this[_0x148fee(0x18c)]({'tag':_0x148fee(0x198),'attributes':{'class':['ck',_0x148fee(0x1b6),_0x148fee(0x1b4),_0x148fee(0x1a7)]},'children':[new _0x2c43e7(_0x22bd73),{'tag':_0x148fee(0x198),'attributes':{'class':['ck',_0x148fee(0x194),_0xd1ccd4['if'](_0x148fee(0x18b),_0x148fee(0x19c),_0x1858e8=>!_0x1858e8)]},'children':this[_0x148fee(0x188)]}]});}[_0x10fff9(0x1a6)](){const _0x860bf4=_0x10fff9;super[_0x860bf4(0x1a6)]();for(const _0x2ee1d7 of this[_0x860bf4(0x1a0)])this[_0x860bf4(0x1a3)](_0x2ee1d7);this[_0x860bf4(0x1a0)]['on'](_0x860bf4(0x196),(_0x5653f8,_0x2b0721)=>{const _0x2b0373=_0x860bf4;this[_0x2b0373(0x1a3)](_0x2b0721);}),this[_0x860bf4(0x1a0)]['on'](_0x860bf4(0x1b2),(_0x1a1999,_0xf722dd)=>{const _0x13d77f=_0x860bf4;this[_0x13d77f(0x1ae)](_0xf722dd);});}get[_0x10fff9(0x181)](){const _0x1aa4ca=_0x10fff9;return this[_0x1aa4ca(0x188)][_0x1aa4ca(0x1a9)](_0x5896c5=>_0x5896c5[_0x1aa4ca(0x181)][_0x1aa4ca(0x1a9)](_0x1a250f=>_0x1a250f))[_0x1aa4ca(0x185)]();}[_0x10fff9(0x1b8)](_0x1ca1d2){const _0x3c5998=_0x10fff9;for(const _0x1f7b22 of this[_0x3c5998(0x181)])_0x1ca1d2&&_0x1ca1d2['id']===_0x1f7b22['id']?_0x1f7b22[_0x3c5998(0x1b7)]():_0x1f7b22[_0x3c5998(0x190)]();}[_0x10fff9(0x1a8)](_0x37f0d9){const _0x3da461=_0x10fff9;for(const _0x844676 of this[_0x3da461(0x181)])_0x37f0d9[_0x3da461(0x192)](({id:_0x4c7830})=>_0x4c7830===_0x844676['id'])?_0x844676[_0x3da461(0x187)]():_0x844676[_0x3da461(0x18e)]();}[_0x10fff9(0x1a3)](_0x1479bf){const _0x3f453f=_0x10fff9,_0x21a8ef=_0x256917(_0x1479bf[_0x3f453f(0x1ad)],this[_0x3f453f(0x197)][_0x3f453f(0x193)])[_0x3f453f(0x191)];let _0x1ae154=this[_0x3f453f(0x188)][_0x3f453f(0x18a)](0x0);_0x1ae154&&_0x1ae154[_0x3f453f(0x191)][_0x3f453f(0x186)]()===_0x21a8ef[_0x3f453f(0x186)]()||(_0x1ae154=new _0xbc289c(this[_0x3f453f(0x197)],_0x21a8ef,this[_0x3f453f(0x1b1)],this[_0x3f453f(0x19f)]),this[_0x3f453f(0x188)][_0x3f453f(0x196)](_0x1ae154)),_0x1ae154[_0x3f453f(0x1b5)](_0x1479bf);}[_0x10fff9(0x1ae)](_0xe27669){const _0x1a6351=_0x10fff9,_0x5f5304=_0x256917(_0xe27669[_0x1a6351(0x1ad)],this[_0x1a6351(0x197)][_0x1a6351(0x193)])[_0x1a6351(0x191)];this[_0x1a6351(0x189)](_0x5f5304)[_0x1a6351(0x1ab)](_0xe27669);}[_0x10fff9(0x189)](_0x120d38){const _0x329761=_0x10fff9;return this[_0x329761(0x188)][_0x329761(0x184)](_0x16ce5a=>_0x16ce5a[_0x329761(0x191)][_0x329761(0x186)]()===_0x120d38[_0x329761(0x186)]());}}
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
(function(
|
|
23
|
+
function _0x5b60(_0x62b7ac,_0x471699){const _0x42361c=_0x4236();return _0x5b60=function(_0x5b60d4,_0xfbb4c3){_0x5b60d4=_0x5b60d4-0x168;let _0x19d124=_0x42361c[_0x5b60d4];return _0x19d124;},_0x5b60(_0x62b7ac,_0x471699);}(function(_0x76481,_0x1417a4){const _0x2bbfe1=_0x5b60,_0x56f4aa=_0x76481();while(!![]){try{const _0x136c20=-parseInt(_0x2bbfe1(0x17e))/0x1+-parseInt(_0x2bbfe1(0x178))/0x2+-parseInt(_0x2bbfe1(0x177))/0x3+-parseInt(_0x2bbfe1(0x172))/0x4*(-parseInt(_0x2bbfe1(0x17f))/0x5)+parseInt(_0x2bbfe1(0x16a))/0x6+parseInt(_0x2bbfe1(0x17b))/0x7*(-parseInt(_0x2bbfe1(0x179))/0x8)+parseInt(_0x2bbfe1(0x17d))/0x9*(parseInt(_0x2bbfe1(0x171))/0xa);if(_0x136c20===_0x1417a4)break;else _0x56f4aa['push'](_0x56f4aa['shift']());}catch(_0x2dfcd1){_0x56f4aa['push'](_0x56f4aa['shift']());}}}(_0x4236,0x98cca));function _0x4236(){const _0x4d099e=['startOf','fromJSDate','76830xHwTrN','4WwZExV','hasSame','toRelativeCalendar','setLocale','week','335619TfNJsU','2146416GhVqpi','1048LvOAVp','local','58583MvlFJw','monthLong','1719JnhYLG','219564rOSFgt','2437835arpnUp','month','toJSDate','7030980jeQRfb','weekdayLong','year','day','minus'];_0x4236=function(){return _0x4d099e;};return _0x4236();}import{DateTime as _0x516d50}from'luxon';export function getDateTimePeriodInfo(_0x11aa41,_0x29e452){const _0x367390=_0x5b60,_0x3bfa20=_0x516d50[_0x367390(0x170)](_0x11aa41)[_0x367390(0x175)](_0x29e452),_0x268192=_0x516d50[_0x367390(0x17a)](),_0x36b8ea=_0x268192[_0x367390(0x16e)]({'days':0x1})[_0x367390(0x16f)](_0x367390(0x16d));let _0x5e087d,_0xc9b6f7;return _0x3bfa20[_0x367390(0x173)](_0x268192,_0x367390(0x16d))?(_0x5e087d=_0x3bfa20[_0x367390(0x16f)](_0x367390(0x16d))[_0x367390(0x169)](),_0xc9b6f7=_0x3bfa20[_0x367390(0x174)]()):_0x3bfa20[_0x367390(0x173)](_0x36b8ea,_0x367390(0x16d))?(_0x5e087d=_0x36b8ea[_0x367390(0x169)](),_0xc9b6f7=_0x3bfa20[_0x367390(0x174)]()):_0x3bfa20[_0x367390(0x173)](_0x268192,_0x367390(0x176))?(_0x5e087d=_0x3bfa20[_0x367390(0x16f)](_0x367390(0x176))[_0x367390(0x169)](),_0xc9b6f7=_0x3bfa20[_0x367390(0x16b)]||''):_0x3bfa20[_0x367390(0x173)](_0x268192,_0x367390(0x16c))?(_0x5e087d=_0x3bfa20[_0x367390(0x16f)](_0x367390(0x168))[_0x367390(0x169)](),_0xc9b6f7=_0x3bfa20[_0x367390(0x17c)]||''):(_0x5e087d=_0x3bfa20[_0x367390(0x16f)](_0x367390(0x16c))[_0x367390(0x169)](),_0xc9b6f7=String(_0x3bfa20[_0x367390(0x16c)])),{'startDate':_0x5e087d,'localizedPeriodName':_0xc9b6f7};}
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
function
|
|
23
|
+
function _0x4562(){const _0x25089b=['1484840hTfYDT','name','isSuggestion','6seWYIU','7xWPdKB','6902270wegmwG','8805618UpxySG','10VsxkJG','_model','element','data','author','ck-revision-change','ck-revision-change__label','add','10WREKzJ','12OmzwPk','ck-annotation','setTemplate','bindTemplate','48256703UZJPxj','ck-revision-change__','span','set','type','changeId','Suggested\x20by','Removed\x20by','8144504FzKeFz','Added\x20by','2547596blvLcf','focus','div','47646vFaOtx'];_0x4562=function(){return _0x25089b;};return _0x4562();}const _0x1b8574=_0x239e;(function(_0x5fbb13,_0x583a35){const _0x5515dc=_0x239e,_0x599120=_0x5fbb13();while(!![]){try{const _0x14c823=-parseInt(_0x5515dc(0x1d1))/0x1+parseInt(_0x5515dc(0x1e0))/0x2*(-parseInt(_0x5515dc(0x1d0))/0x3)+-parseInt(_0x5515dc(0x1cd))/0x4+parseInt(_0x5515dc(0x1d6))/0x5*(-parseInt(_0x5515dc(0x1d4))/0x6)+-parseInt(_0x5515dc(0x1d5))/0x7*(parseInt(_0x5515dc(0x1cb))/0x8)+-parseInt(_0x5515dc(0x1d7))/0x9*(-parseInt(_0x5515dc(0x1d8))/0xa)+-parseInt(_0x5515dc(0x1e5))/0xb*(-parseInt(_0x5515dc(0x1e1))/0xc);if(_0x14c823===_0x583a35)break;else _0x599120['push'](_0x599120['shift']());}catch(_0x532138){_0x599120['push'](_0x599120['shift']());}}}(_0x4562,0xbaf0d));import{View as _0x105be7}from'ckeditor5/src/ui.js';import{getTranslation as _0x5004da}from'../../utils/common-translations.js';function _0x239e(_0x32069b,_0x457f1e){const _0x4562be=_0x4562();return _0x239e=function(_0x239e28,_0x4c49b7){_0x239e28=_0x239e28-0x1c4;let _0x1a6d74=_0x4562be[_0x239e28];return _0x1a6d74;},_0x239e(_0x32069b,_0x457f1e);}export class ChangeDetailsView extends _0x105be7{[_0x1b8574(0x1c8)];[_0x1b8574(0x1d9)];constructor(_0x459ac6,_0x51b13b){const _0x12dc66=_0x1b8574;super(_0x459ac6),this[_0x12dc66(0x1d9)]=_0x51b13b,this[_0x12dc66(0x1c8)]=_0x51b13b['id'];const _0x501d4f=this[_0x12dc66(0x1e4)],_0x8a3f23=_0x5004da(_0x459ac6,_0x51b13b[_0x12dc66(0x1db)][_0x12dc66(0x1d3)]?_0x12dc66(0x1c9):_0x12dc66(0x1df)==_0x51b13b[_0x12dc66(0x1c7)]?_0x12dc66(0x1cc):_0x12dc66(0x1ca));this[_0x12dc66(0x1c6)](_0x12dc66(0x1c7),_0x51b13b[_0x12dc66(0x1c7)]),this[_0x12dc66(0x1e3)]({'tag':_0x12dc66(0x1cf),'attributes':{'class':[_0x12dc66(0x1e2),_0x12dc66(0x1dd),_0x501d4f['to'](_0x12dc66(0x1c7),_0x14c07a=>_0x12dc66(0x1c4)+_0x14c07a)],'tabindex':-0x1},'children':[{'tag':_0x12dc66(0x1c5),'children':[{'tag':_0x12dc66(0x1c5),'attributes':{'class':[_0x12dc66(0x1de)]},'children':[{'text':_0x8a3f23}]},{'text':'\x20'+_0x51b13b[_0x12dc66(0x1dc)][_0x12dc66(0x1d2)]}]}]});}[_0x1b8574(0x1ce)](){const _0x2d4ee9=_0x1b8574;this[_0x2d4ee9(0x1da)][_0x2d4ee9(0x1ce)]();}}
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
(function(
|
|
23
|
+
function _0x1024(_0x57e793,_0x5f0f6e){const _0x12ead5=_0x12ea();return _0x1024=function(_0x1024b8,_0x108df5){_0x1024b8=_0x1024b8-0xf8;let _0x32c647=_0x12ead5[_0x1024b8];return _0x32c647;},_0x1024(_0x57e793,_0x5f0f6e);}(function(_0x1c6316,_0xe5088){const _0x39c3f8=_0x1024,_0x27afe0=_0x1c6316();while(!![]){try{const _0x4e01e6=parseInt(_0x39c3f8(0x10c))/0x1+-parseInt(_0x39c3f8(0x10d))/0x2+parseInt(_0x39c3f8(0x10f))/0x3*(parseInt(_0x39c3f8(0x115))/0x4)+parseInt(_0x39c3f8(0x110))/0x5*(parseInt(_0x39c3f8(0xfa))/0x6)+parseInt(_0x39c3f8(0x111))/0x7*(parseInt(_0x39c3f8(0x11a))/0x8)+-parseInt(_0x39c3f8(0x120))/0x9+-parseInt(_0x39c3f8(0x109))/0xa;if(_0x4e01e6===_0xe5088)break;else _0x27afe0['push'](_0x27afe0['shift']());}catch(_0xd3fde3){_0x27afe0['push'](_0x27afe0['shift']());}}}(_0x12ea,0x9efa5));import{View as _0x41fdad,ButtonView as _0x6e600c,ToolbarSeparatorView as _0x8c0b3}from'ckeditor5/src/ui.js';import{IconChevronUp as _0x5b77dd,IconChevronDown as _0x61923e}from'ckeditor5/src/icons.js';import{getTranslation as _0x481262}from'../../utils/common-translations.js';import'../../../theme/changesnavigation.css';export class ChangesNavigationView extends _0x41fdad{constructor(_0x56838e){const _0x17f66e=_0x1024;super(_0x56838e);const _0x1c14ee=this[_0x17f66e(0x105)],_0x18fc10=new _0x6e600c(_0x56838e),_0x5eda16=new _0x6e600c(_0x56838e);this[_0x17f66e(0xff)](_0x17f66e(0x122),!0x1),this[_0x17f66e(0xff)](_0x17f66e(0x119),!0x1),this[_0x17f66e(0xff)](_0x17f66e(0xf8),0x0),this[_0x17f66e(0xff)](_0x17f66e(0x103),0x0),this[_0x17f66e(0xff)](_0x17f66e(0xfb),!0x1),this[_0x17f66e(0xff)](_0x17f66e(0x121),!0x1),this[_0x17f66e(0x112)](_0x17f66e(0x101))['to'](this,_0x17f66e(0x119),this,_0x17f66e(0x103),(_0x4b1a95,_0x59d528)=>_0x4b1a95&&_0x59d528>0x0),this[_0x17f66e(0x112)](_0x17f66e(0x11d))['to'](this,_0x17f66e(0x119),this,_0x17f66e(0xf8),this,_0x17f66e(0x103),this,_0x17f66e(0x122),(_0x2c8770,_0x914cae,_0x3ad5e7,_0x250b2c)=>{const _0x2729bf=_0x17f66e;if(!_0x2c8770)return _0x481262(_0x56838e,_0x2729bf(0x10e));if(!_0x3ad5e7)return _0x481262(_0x56838e,_0x2729bf(0x10b));const _0x27955f=_0x481262(_0x56838e,_0x2729bf(0xfd),_0x3ad5e7);return _0x250b2c?_0x481262(_0x56838e,_0x2729bf(0x107),[_0x914cae+0x1,_0x3ad5e7]):_0x27955f;}),_0x18fc10[_0x17f66e(0xff)]({'label':_0x481262(_0x56838e,_0x17f66e(0x100)),'tooltip':!0x0,'icon':_0x5b77dd}),_0x5eda16[_0x17f66e(0xff)]({'label':_0x481262(_0x56838e,_0x17f66e(0x10a)),'tooltip':!0x0,'icon':_0x61923e}),_0x18fc10[_0x17f66e(0x112)](_0x17f66e(0x102))['to'](this,_0x17f66e(0x121)),_0x5eda16[_0x17f66e(0x112)](_0x17f66e(0x102))['to'](this,_0x17f66e(0xfb)),_0x18fc10['on'](_0x17f66e(0x108),()=>this[_0x17f66e(0x11e)](_0x17f66e(0x108),_0x17f66e(0x118))),_0x5eda16['on'](_0x17f66e(0x108),()=>this[_0x17f66e(0x11e)](_0x17f66e(0x108),_0x17f66e(0xf9))),this[_0x17f66e(0x116)]({'tag':_0x17f66e(0x11c),'attributes':{'class':['ck',_0x17f66e(0x11f),_0x17f66e(0x114)]},'children':[{'tag':_0x17f66e(0x117),'attributes':{'class':[_0x17f66e(0x106)]},'children':[{'tag':_0x17f66e(0x117),'attributes':{'class':[_0x17f66e(0x104),_0x1c14ee['if'](_0x17f66e(0x101),_0x17f66e(0xfe),_0x464064=>!_0x464064)]},'children':[{'text':_0x1c14ee['to'](_0x17f66e(0x122),_0x206451=>_0x206451?_0x481262(_0x56838e,_0x17f66e(0xfc))+':\x20':_0x481262(_0x56838e,_0x17f66e(0x113))+':\x20')}]},{'text':_0x1c14ee['to'](_0x17f66e(0x11d))}]},new _0x8c0b3(),{'tag':_0x17f66e(0x11c),'attributes':{'class':[_0x17f66e(0x11b)]},'children':[_0x18fc10,_0x5eda16]}]});}}function _0x12ea(){const _0x238448=['_statusText','fire','ck-revision-history-ui','2909682YjzEPT','isBackwardNavigationEnabled','isNavigationMode','currentChangeNumber','forward','7680HLVPhy','isForwardNavigationEnabled','EDIT_X_OF_Y_REVISIONS','NUMBER_OF_CHANGES','ck-hidden','set','Show\x20previous\x20change','_isStatusLabelVisible','isEnabled','numberOfChanges','ck-revision-history-ui__changes-navigation__label','bindTemplate','ck-revision-history-ui__changes-navigation__wrapper','X_OF_Y_CHANGES','execute','19412810cUXGTU','Show\x20next\x20change','No\x20changes','656457nmKZYP','1194384OPJiVx','Loading...','3zpbhVA','4775LTepQX','1456658WBRFAM','bind','Total','ck-revision-history-ui__changes-navigation','1542092SHqlCB','setTemplate','span','backward','isReady','48CgENok','ck-revision-history-ui__changes-navigation__navigation','div'];_0x12ea=function(){return _0x238448;};return _0x12ea();}
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
const
|
|
23
|
+
const _0x3c9720=_0x1b09;(function(_0x545f4c,_0x410822){const _0x3189de=_0x1b09,_0x9e1fc3=_0x545f4c();while(!![]){try{const _0xb2a2c2=parseInt(_0x3189de(0xfd))/0x1+parseInt(_0x3189de(0xff))/0x2+parseInt(_0x3189de(0xf7))/0x3*(parseInt(_0x3189de(0x106))/0x4)+parseInt(_0x3189de(0xf2))/0x5+parseInt(_0x3189de(0x104))/0x6*(parseInt(_0x3189de(0xf6))/0x7)+-parseInt(_0x3189de(0xf1))/0x8*(-parseInt(_0x3189de(0xf5))/0x9)+-parseInt(_0x3189de(0x102))/0xa*(parseInt(_0x3189de(0xf8))/0xb);if(_0xb2a2c2===_0x410822)break;else _0x9e1fc3['push'](_0x9e1fc3['shift']());}catch(_0x35c169){_0x9e1fc3['push'](_0x9e1fc3['shift']());}}}(_0x35e6,0x7f34f));function _0x35e6(){const _0x1b4e5c=['807451mCqqIA','isOfficialPlugin','860722jQzfLk','editing','editor','1301790eARJTA','document','30JiSiuJ','RevisionViewerLoadingOverlay','8qMprSV','ck-editor__editable__loading-overlay','hide','removeClass','isPremiumPlugin','6578536JJonGO','1110235QTkVii','addClass','view','9lixXft','742511BjowFI','468117eNeIRG','220xBysLz','pluginName','roots','change','show'];_0x35e6=function(){return _0x1b4e5c;};return _0x35e6();}import{Plugin as _0xfd339d}from'ckeditor5/src/core.js';function _0x1b09(_0x8326f1,_0x4c968b){const _0x35e6b9=_0x35e6();return _0x1b09=function(_0x1b093e,_0x20037d){_0x1b093e=_0x1b093e-0xee;let _0x23ec04=_0x35e6b9[_0x1b093e];return _0x23ec04;},_0x1b09(_0x8326f1,_0x4c968b);}const oe=_0x3c9720(0x107);import'../../../theme/revisionviewerloadingoverlay.css';export class RevisionViewerLoadingOverlay extends _0xfd339d{static get[_0x3c9720(0xf9)](){const _0x3700e5=_0x3c9720;return _0x3700e5(0x105);}static get[_0x3c9720(0xfe)](){return!0x0;}static get[_0x3c9720(0xf0)](){return!0x0;}[_0x3c9720(0xfc)](){const _0x29c282=_0x3c9720,_0x86ae7a=this[_0x29c282(0x101)][_0x29c282(0x100)][_0x29c282(0xf4)];_0x86ae7a[_0x29c282(0xfb)](_0x22c3f2=>{const _0x175ec3=_0x29c282;for(const _0x237de2 of _0x86ae7a[_0x175ec3(0x103)][_0x175ec3(0xfa)])_0x22c3f2[_0x175ec3(0xf3)](oe,_0x237de2);});}[_0x3c9720(0xee)](){const _0x40fd4d=_0x3c9720,_0x2580bc=this[_0x40fd4d(0x101)][_0x40fd4d(0x100)][_0x40fd4d(0xf4)];_0x2580bc[_0x40fd4d(0xfb)](_0x580264=>{const _0x2fd942=_0x40fd4d;for(const _0x4bd280 of _0x2580bc[_0x2fd942(0x103)][_0x2fd942(0xfa)])_0x580264[_0x2fd942(0xef)](oe,_0x4bd280);});}}
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
const
|
|
23
|
+
const _0x1135b2=_0x24fc;(function(_0x2f13d4,_0x576df5){const _0x23ea49=_0x24fc,_0x54ba6f=_0x2f13d4();while(!![]){try{const _0x7a01ed=parseInt(_0x23ea49(0x17d))/0x1*(-parseInt(_0x23ea49(0x172))/0x2)+-parseInt(_0x23ea49(0x166))/0x3+-parseInt(_0x23ea49(0x169))/0x4+-parseInt(_0x23ea49(0x162))/0x5*(-parseInt(_0x23ea49(0x175))/0x6)+parseInt(_0x23ea49(0x176))/0x7*(parseInt(_0x23ea49(0x16c))/0x8)+-parseInt(_0x23ea49(0x156))/0x9+-parseInt(_0x23ea49(0x165))/0xa;if(_0x7a01ed===_0x576df5)break;else _0x54ba6f['push'](_0x54ba6f['shift']());}catch(_0x378aef){_0x54ba6f['push'](_0x54ba6f['shift']());}}}(_0x2e8a,0xa52c4));import{Plugin as _0x92f4de}from'ckeditor5/src/core.js';import{ButtonView as _0x5103d0}from'ckeditor5/src/ui.js';import{IconUndo as _0x40f1c7}from'ckeditor5/src/icons.js';import{ChangesNavigationView as _0x3acade}from'./changesnavigationview.js';import{RevisionViewer as _0x23abee}from'./../../revisionviewer.js';function _0x2e8a(){const _0x2bf798=['execute','pluginName','Back\x20to\x20editing','isReady','showNextChange','109lkOUiI','get','RevisionViewerUI','Restore\x20this\x20revision','set','isOfficialPlugin','changesNavigation','isPremiumPlugin','restoreRevision','943398kELMis','add','revisionHistory','isEnabled','isForwardNavigationEnabled','bind','closeRevisionViewerCallback','commands','plugins','forward','init','change:isReady','18265BpxVQc','show','requires','1491430WfBpfs','929619NBLqrx','showPreviousChange','editor','1052136jgIMkK','currentChangeNumber','ck-revision-history-ui__back-to-editing','448OCNhdv','componentFactory','config','numberOfChanges','listenTo','hide','11282CKgUld','isBackwardNavigationEnabled','isNavigationMode','1902APsNWH','120036tDIxqz','exitToEditing'];_0x2e8a=function(){return _0x2bf798;};return _0x2e8a();}import{RevisionViewerLoadingOverlay as _0x58822b}from'./revisionviewerloadingoverlay.js';import{getTranslation as _0xa7ea04}from'../../utils/common-translations.js';function _0x24fc(_0x262250,_0xb9595c){const _0x2e8aec=_0x2e8a();return _0x24fc=function(_0x24fcca,_0x4dadc2){_0x24fcca=_0x24fcca-0x154;let _0xb2296c=_0x2e8aec[_0x24fcca];return _0xb2296c;},_0x24fc(_0x262250,_0xb9595c);}import'../../../theme/revisionviewer.css';export class RevisionViewerUI extends _0x92f4de{static get[_0x1135b2(0x179)](){const _0x3869e2=_0x1135b2;return _0x3869e2(0x17f);}static get[_0x1135b2(0x182)](){return!0x0;}static get[_0x1135b2(0x154)](){return!0x0;}static get[_0x1135b2(0x164)](){return[_0x23abee,_0x58822b];}[_0x1135b2(0x160)](){const _0x553d9a=_0x1135b2,_0x52e0fa=this[_0x553d9a(0x168)],_0xb7be7e=_0x52e0fa[_0x553d9a(0x15e)][_0x553d9a(0x17e)](_0x23abee),_0x4511bf=_0x52e0fa[_0x553d9a(0x15e)][_0x553d9a(0x17e)](_0x58822b);_0x52e0fa['ui'][_0x553d9a(0x16d)][_0x553d9a(0x157)](_0x553d9a(0x177),_0x303426=>{const _0x5e217c=_0x553d9a,_0x36ae91=new _0x5103d0(_0x303426);return _0x36ae91[_0x5e217c(0x181)]({'label':_0xa7ea04(_0x303426,_0x5e217c(0x17a)),'icon':_0x40f1c7,'withText':!0x0,'tooltip':!0x0,'class':_0x5e217c(0x16b)}),this[_0x5e217c(0x170)](_0x36ae91,_0x5e217c(0x178),()=>{const _0x1531a5=_0x5e217c;_0x52e0fa[_0x1531a5(0x16e)][_0x1531a5(0x17e)](_0x1531a5(0x158))[_0x1531a5(0x15c)]();}),_0x36ae91;}),_0x52e0fa['ui'][_0x553d9a(0x16d)][_0x553d9a(0x157)](_0x553d9a(0x155),_0xebf9ca=>{const _0x37f392=_0x553d9a,_0x93afe3=new _0x5103d0(_0xebf9ca);return _0x93afe3[_0x37f392(0x181)]({'label':_0xa7ea04(_0xebf9ca,_0x37f392(0x180)),'withText':!0x0,'tooltip':!0x0}),_0x93afe3[_0x37f392(0x15b)](_0x37f392(0x159))['to'](_0x52e0fa[_0x37f392(0x15d)][_0x37f392(0x17e)](_0x37f392(0x155))),this[_0x37f392(0x170)](_0x93afe3,_0x37f392(0x178),()=>_0x52e0fa[_0x37f392(0x178)](_0x37f392(0x155))),_0x93afe3;}),_0x52e0fa['ui'][_0x553d9a(0x16d)][_0x553d9a(0x157)](_0x553d9a(0x183),_0x4fbbac=>{const _0x19d685=_0x553d9a,_0x41180c=new _0x3acade(_0x4fbbac),_0x4fc3d0=_0x52e0fa[_0x19d685(0x15d)][_0x19d685(0x17e)](_0x19d685(0x167)),_0x2c16e4=_0x52e0fa[_0x19d685(0x15d)][_0x19d685(0x17e)](_0x19d685(0x17c));return _0x41180c[_0x19d685(0x15b)](_0x19d685(0x173))['to'](_0x4fc3d0,_0x19d685(0x159)),_0x41180c[_0x19d685(0x15b)](_0x19d685(0x15a))['to'](_0x2c16e4,_0x19d685(0x159)),_0x41180c[_0x19d685(0x15b)](_0x19d685(0x17b),_0x19d685(0x16a),_0x19d685(0x16f),_0x19d685(0x174))['to'](_0xb7be7e),this[_0x19d685(0x170)](_0x41180c,_0x19d685(0x178),(_0x5b411e,_0x429e5b)=>{const _0xd9b2db=_0x19d685;_0x52e0fa[_0xd9b2db(0x178)](_0xd9b2db(0x15f)===_0x429e5b?_0xd9b2db(0x17c):_0xd9b2db(0x167));}),_0x41180c;}),_0x4511bf[_0x553d9a(0x163)](),_0xb7be7e['on'](_0x553d9a(0x161),(_0x446ec2,_0x35b311,_0x1a42a4)=>{const _0x20cb4f=_0x553d9a;_0x1a42a4?_0x4511bf[_0x20cb4f(0x171)]():_0x4511bf[_0x20cb4f(0x163)]();});}}
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
export function getTranslation(
|
|
23
|
+
export function getTranslation(_0x45e6ae,_0x40cef8,_0x150ac3){const t=_0x45e6ae['t'];switch(_0x40cef8){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'},_0x150ac3);case'X_OF_Y_CHANGES':return t({'string':'%0\x20of\x20%1','id':'X_OF_Y_CHANGES'},_0x150ac3);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'';}}
|