@ckeditor/ckeditor5-revision-history 46.1.1-alpha.3 → 47.0.0-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-editor.css +7 -7
- package/dist/index.css +7 -7
- 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
- package/theme/revision/revision.css +5 -5
|
@@ -20,5 +20,5 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
const
|
|
24
|
-
|
|
23
|
+
const _0xc93ed0=_0x5747;(function(_0x365e12,_0x111f80){const _0x497532=_0x5747,_0x39dba1=_0x365e12();while(!![]){try{const _0x265a7=parseInt(_0x497532(0xba))/0x1*(parseInt(_0x497532(0xb6))/0x2)+-parseInt(_0x497532(0xc7))/0x3*(parseInt(_0x497532(0xac))/0x4)+-parseInt(_0x497532(0xd1))/0x5*(parseInt(_0x497532(0xce))/0x6)+-parseInt(_0x497532(0xb5))/0x7+parseInt(_0x497532(0xab))/0x8+parseInt(_0x497532(0xcf))/0x9+-parseInt(_0x497532(0xd2))/0xa;if(_0x265a7===_0x111f80)break;else _0x39dba1['push'](_0x39dba1['shift']());}catch(_0x5e09cd){_0x39dba1['push'](_0x39dba1['shift']());}}}(_0x4fa7,0xe975b));import{CssTransitionDisablerMixin as _0x2babe0,LabeledFieldView as _0x1fb6d2,View as _0x4cdb85,createLabeledInputText as _0x1854fd,submitHandler as _0x12ba29}from'ckeditor5/src/ui.js';import{FocusTracker as _0x4c60d4,KeystrokeHandler as _0x5a772a}from'ckeditor5/src/utils.js';import{getTranslation as _0x8138dd}from'../../utils/common-translations.js';import'../../../theme/revisionhistorysaverevisionform.css';function _0x5747(_0xef6cc,_0x1b36d8){const _0x4fa7c0=_0x4fa7();return _0x5747=function(_0x5747b6,_0x1b261b){_0x5747b6=_0x5747b6-0xa9;let _0x3bd6c2=_0x4fa7c0[_0x5747b6];return _0x3bd6c2;},_0x5747(_0xef6cc,_0x1b36d8);}import'@ckeditor/ckeditor5-ui/theme/components/responsive-form/responsiveform.css';export class RevisionHistorySaveRevisionFormView extends/* #__PURE__ -- @preserve */
|
|
24
|
+
_0x2babe0(_0x4cdb85){[_0xc93ed0(0xaa)];[_0xc93ed0(0xb1)];[_0xc93ed0(0xc4)];constructor(_0x3aff27,_0x47a12c){const _0x573b89=_0xc93ed0;super(_0x3aff27),this[_0x573b89(0xaa)]=new _0x4c60d4(),this[_0x573b89(0xb1)]=new _0x5a772a(),this[_0x573b89(0xc0)](_0x573b89(0xb2),''),this[_0x573b89(0xc4)]=this[_0x573b89(0xbd)](_0x47a12c),this[_0x573b89(0xa9)]({'tag':_0x573b89(0xb4),'attributes':{'class':['ck',_0x573b89(0xcd),_0x573b89(0xb7)],'tabindex':'-1'},'children':[this[_0x573b89(0xc4)]]}),this[_0x573b89(0xd0)]();}[_0xc93ed0(0xd3)](){const _0x1db5ff=_0xc93ed0;super[_0x1db5ff(0xd3)](),_0x12ba29({'view':this}),this[_0x1db5ff(0xaa)][_0x1db5ff(0xc8)](this[_0x1db5ff(0xc4)][_0x1db5ff(0xc3)]),this[_0x1db5ff(0xb1)][_0x1db5ff(0xaf)](this[_0x1db5ff(0xc3)]);const _0x1eec2f=_0x15eb8c=>_0x15eb8c[_0x1db5ff(0xbe)]();this[_0x1db5ff(0xb1)][_0x1db5ff(0xc0)](_0x1db5ff(0xbc),_0x1eec2f),this[_0x1db5ff(0xb1)][_0x1db5ff(0xc0)](_0x1db5ff(0xc1),_0x1eec2f),this[_0x1db5ff(0xb1)][_0x1db5ff(0xc0)](_0x1db5ff(0xcb),_0x1eec2f),this[_0x1db5ff(0xb1)][_0x1db5ff(0xc0)](_0x1db5ff(0xc2),_0x1eec2f);}[_0xc93ed0(0xb3)](){const _0x4563ea=_0xc93ed0;this[_0x4563ea(0xc4)][_0x4563ea(0xb3)]();}get[_0xc93ed0(0xbf)](){const _0x23593f=_0xc93ed0;return this[_0x23593f(0xc4)][_0x23593f(0xc5)][_0x23593f(0xc3)][_0x23593f(0xae)][_0x23593f(0xc9)]();}set[_0xc93ed0(0xbf)](_0x349d0){const _0x5f27e8=_0xc93ed0;this[_0x5f27e8(0xc4)][_0x5f27e8(0xc5)][_0x5f27e8(0xc3)][_0x5f27e8(0xae)]=_0x349d0[_0x5f27e8(0xc9)]();}[_0xc93ed0(0xc6)](){const _0x5de194=_0xc93ed0;this[_0x5de194(0xc4)][_0x5de194(0xc5)][_0x5de194(0xc3)][_0x5de194(0xae)]='',this[_0x5de194(0xc4)][_0x5de194(0xb0)]=null;}[_0xc93ed0(0xbd)](_0x23704d){const _0x111718=_0xc93ed0,_0x204686=new _0x1fb6d2(this[_0x111718(0xb9)],_0x1854fd),_0x474be0=_0x204686[_0x111718(0xc5)];_0x474be0[_0x111718(0xd4)]({'attributes':{'maxlength':_0x111718(0xca)}});let _0x370778=_0x8138dd(this[_0x111718(0xb9)],_0x111718(0xad));return!_0x23704d&&(_0x370778+='\x20('+_0x8138dd(this[_0x111718(0xb9)],_0x111718(0xbb))+')'),(_0x204686[_0x111718(0xcc)]=_0x370778,_0x474be0['on'](_0x111718(0xb8),()=>{const _0x105e25=_0x111718;this[_0x105e25(0xb2)]=_0x474be0[_0x105e25(0xc3)][_0x105e25(0xae)][_0x105e25(0xc9)]();}),_0x204686);}}function _0x4fa7(){const _0x59580f=['render','extendTemplate','setTemplate','focusTracker','4995048oMBqCj','1387108fTgKZf','Name\x20of\x20the\x20revision','value','listenTo','errorText','keystrokes','revisionNameInputValue','focus','form','10029873Pwbhjm','2lkMwwg','ck-responsive-form','input','locale','1242737BXvvUU','optional','arrowright','_createRevisionNameInput','stopPropagation','revisionName','set','arrowleft','arrowdown','element','revisionNameInputView','fieldView','reset','3LdMLbZ','add','trim','220','arrowup','label','ck-revision-history-save-revision-form','3204DHEBdH','16518348kMgTnB','initializeCssTransitionDisablerMixin','3945rorDvr','5452970URbEKk'];_0x4fa7=function(){return _0x59580f;};return _0x4fa7();}
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
const
|
|
23
|
+
function _0xe614(_0x23a268,_0x3dfbbb){const _0x1b32f1=_0x1b32();return _0xe614=function(_0xe614a2,_0x295ec7){_0xe614a2=_0xe614a2-0x104;let _0x2220d0=_0x1b32f1[_0xe614a2];return _0x2220d0;},_0xe614(_0x23a268,_0x3dfbbb);}const _0x40f7e7=_0xe614;(function(_0x5cd69a,_0x273f60){const _0x5456f4=_0xe614,_0x3987db=_0x5cd69a();while(!![]){try{const _0x29ec28=-parseInt(_0x5456f4(0x12d))/0x1*(-parseInt(_0x5456f4(0x142))/0x2)+-parseInt(_0x5456f4(0x123))/0x3+parseInt(_0x5456f4(0x115))/0x4+-parseInt(_0x5456f4(0x134))/0x5*(parseInt(_0x5456f4(0x122))/0x6)+-parseInt(_0x5456f4(0x12c))/0x7*(-parseInt(_0x5456f4(0x117))/0x8)+parseInt(_0x5456f4(0x11a))/0x9+parseInt(_0x5456f4(0x116))/0xa;if(_0x29ec28===_0x273f60)break;else _0x3987db['push'](_0x3987db['shift']());}catch(_0xaabc39){_0x3987db['push'](_0x3987db['shift']());}}}(_0x1b32,0x1999f));import{Plugin as _0x30cbf1}from'ckeditor5/src/core.js';import{IconHistory as _0x137d27}from'ckeditor5/src/icons.js';import{createDropdown as _0x2fce7a,ButtonView as _0x3d8ecd,ListItemView as _0x3bd67a,ListView as _0x386fb8,MenuBarMenuListItemButtonView as _0x4e9bf1,MenuBarMenuListItemView as _0x5dbf84,MenuBarMenuListView as _0x5aec65,MenuBarMenuView as _0x2accd2}from'ckeditor5/src/ui.js';import{RevisionTracker as _0x4b6e90}from'../../revisiontracker.js';import{RevisionHistorySaveRevisionFormView as _0x1d44dc}from'./revisionhistorysaverevisionformview.js';function _0x1b32(){const _0x545e56=['Dialog','18JCIqXZ','547623cdgbld','menuBar:revisionHistory','delegate','RevisionHistoryUI','view','revisionNameInputView','show','panelView','isOfficialPlugin','70lOAFIh','33PWIjTm','Accept','Save\x20current\x20revision','items','saveRevision','isPremiumPlugin','get','191670OSMczW','componentFactory','_saveRevisionFormView','config','hide','isReady','Cancel','bind','menu','_createSaveRevisionFormView','ck-button-action','plugins','focus','_showDialog','12332VLlzsV','reset','locale','children','buttonView','The\x20revision\x20name\x20cannot\x20be\x20empty.','isOpen','Open\x20revision\x20history','_registerMenuComponent','requires','revisionHistory.requireRevisionName','submit','RevisionTracker','revisionSave','Revision\x20history','editing','revisionHistory','editor','add','role','render','execute','menuitem','init','24572YUADLZ','484800iCiblk','98464hMXPgx','errorText','showRevisionViewerCallback','191025QyIvwB','pluginName','isEnabled','revisionName','addMany','isReadOnly','set'];_0x1b32=function(){return _0x545e56;};return _0x1b32();}import{getTranslation as _0xbc92b}from'../../utils/common-translations.js';export class RevisionHistoryUI extends _0x30cbf1{static get[_0x40f7e7(0x11b)](){const _0x5f20cb=_0x40f7e7;return _0x5f20cb(0x126);}static get[_0x40f7e7(0x12b)](){return!0x0;}static get[_0x40f7e7(0x132)](){return!0x0;}static get[_0x40f7e7(0x106)](){return[_0x4b6e90];}[_0x40f7e7(0x136)];[_0x40f7e7(0x114)](){const _0x1655b0=_0x40f7e7,_0x5e85a6=this[_0x1655b0(0x10e)],_0x39deaa=_0x5e85a6[_0x1655b0(0x13f)][_0x1655b0(0x133)](_0x1655b0(0x109));_0x5e85a6['ui'][_0x1655b0(0x135)][_0x1655b0(0x10f)](_0x1655b0(0x10d),_0x50ccba=>{const _0x3351b6=_0x1655b0,_0x2d7090=_0x2fce7a(_0x50ccba),_0xe58167=_0x2d7090[_0x3351b6(0x12a)][_0x3351b6(0x145)],_0x4e111d=new _0x386fb8(_0x50ccba),_0x11a31b=new _0x3bd67a(_0x50ccba),_0x25d48e=new _0x3d8ecd(_0x50ccba),_0x492042=new _0x3bd67a(_0x50ccba),_0x470dac=new _0x3d8ecd(_0x50ccba);return _0x2d7090[_0x3351b6(0x13b)](_0x3351b6(0x11c))['to'](_0x39deaa,_0x3351b6(0x139),_0x39deaa,_0x3351b6(0x11c),_0x5e85a6,_0x3351b6(0x11f),(_0x2d0d02,_0x5afbc5,_0x390fab)=>_0x2d0d02&&_0x5afbc5&&!_0x390fab),_0x2d7090[_0x3351b6(0x146)][_0x3351b6(0x120)]({'icon':_0x137d27,'label':_0xbc92b(_0x50ccba,_0x3351b6(0x10b)),'tooltip':!0x0}),_0x25d48e[_0x3351b6(0x120)]({'label':_0xbc92b(_0x50ccba,_0x3351b6(0x12f)),'withText':!0x0,'role':_0x3351b6(0x113)}),_0x25d48e[_0x3351b6(0x13b)](_0x3351b6(0x11c))['to'](_0x39deaa,_0x3351b6(0x139),_0x39deaa,_0x3351b6(0x11c),_0x5e85a6,_0x3351b6(0x11f),(_0x554a03,_0x326e83,_0x16f326)=>_0x554a03&&_0x326e83&&!_0x16f326),_0x25d48e['on'](_0x3351b6(0x112),()=>this[_0x3351b6(0x141)]()),_0x470dac[_0x3351b6(0x120)]({'label':_0xbc92b(_0x50ccba,_0x3351b6(0x104)),'withText':!0x0,'role':_0x3351b6(0x113)}),_0x470dac[_0x3351b6(0x13b)](_0x3351b6(0x11c))['to'](_0x39deaa,_0x3351b6(0x139),_0x5e85a6,_0x3351b6(0x11f),(_0x1e7089,_0x196552)=>_0x1e7089&&!_0x196552),_0x470dac['on'](_0x3351b6(0x112),()=>{const _0x52b1ac=_0x3351b6;_0x5e85a6[_0x52b1ac(0x137)][_0x52b1ac(0x133)](_0x52b1ac(0x10d))[_0x52b1ac(0x119)](),_0x2d7090[_0x52b1ac(0x148)]=!0x1,_0x5e85a6[_0x52b1ac(0x10c)][_0x52b1ac(0x127)][_0x52b1ac(0x140)]();}),_0x11a31b[_0x3351b6(0x145)][_0x3351b6(0x10f)](_0x25d48e),_0x492042[_0x3351b6(0x145)][_0x3351b6(0x10f)](_0x470dac),_0x4e111d[_0x3351b6(0x110)]=_0x3351b6(0x13c),_0x4e111d[_0x3351b6(0x130)][_0x3351b6(0x11e)]([_0x11a31b,_0x492042]),_0xe58167[_0x3351b6(0x10f)](_0x4e111d),_0x2d7090;}),_0x5e85a6['ui'][_0x1655b0(0x135)][_0x1655b0(0x10f)](_0x1655b0(0x124),()=>this[_0x1655b0(0x105)]());}[_0x40f7e7(0x105)](){const _0x53a18f=_0x40f7e7,_0x856888=this[_0x53a18f(0x10e)],_0x45e0e1=_0x856888[_0x53a18f(0x144)],_0x264b59=new _0x2accd2(_0x45e0e1),_0x328b06=new _0x5aec65(_0x45e0e1);_0x264b59[_0x53a18f(0x146)][_0x53a18f(0x120)]({'icon':_0x137d27,'label':_0xbc92b(_0x45e0e1,_0x53a18f(0x10b))});const _0x5dcdd9=new _0x5dbf84(_0x45e0e1,_0x264b59),_0x21415f=new _0x4e9bf1(_0x45e0e1);_0x21415f[_0x53a18f(0x120)]({'label':_0xbc92b(_0x45e0e1,_0x53a18f(0x12f))}),_0x21415f[_0x53a18f(0x125)](_0x53a18f(0x112))['to'](_0x264b59),_0x21415f['on'](_0x53a18f(0x112),()=>{const _0x51c652=_0x53a18f;this[_0x51c652(0x141)]();}),_0x5dcdd9[_0x53a18f(0x145)][_0x53a18f(0x10f)](_0x21415f),_0x328b06[_0x53a18f(0x130)][_0x53a18f(0x10f)](_0x5dcdd9);const _0x456ba8=new _0x5dbf84(_0x45e0e1,_0x264b59),_0x353d12=new _0x4e9bf1(_0x45e0e1);return _0x353d12[_0x53a18f(0x120)]({'label':_0xbc92b(_0x45e0e1,_0x53a18f(0x104))}),_0x353d12[_0x53a18f(0x125)](_0x53a18f(0x112))['to'](_0x264b59),_0x353d12['on'](_0x53a18f(0x112),()=>{const _0x571446=_0x53a18f;_0x856888[_0x571446(0x137)][_0x571446(0x133)](_0x571446(0x10d))[_0x571446(0x119)]();}),_0x456ba8[_0x53a18f(0x145)][_0x53a18f(0x10f)](_0x353d12),_0x328b06[_0x53a18f(0x130)][_0x53a18f(0x10f)](_0x456ba8),_0x264b59[_0x53a18f(0x12a)][_0x53a18f(0x145)][_0x53a18f(0x10f)](_0x328b06),_0x264b59;}[_0x40f7e7(0x141)](){const _0x321c15=_0x40f7e7,_0x4696da=this[_0x321c15(0x10e)],_0x55abb7=_0x4696da[_0x321c15(0x144)],_0x21b0f0=_0x4696da[_0x321c15(0x13f)][_0x321c15(0x133)](_0x321c15(0x121)),_0x2cc141=_0x4696da[_0x321c15(0x13f)][_0x321c15(0x133)](_0x321c15(0x109));function _0x505068(_0x25be28){const _0x11b17e=_0x321c15;_0x4696da[_0x11b17e(0x137)][_0x11b17e(0x133)](_0x11b17e(0x107))&&''===_0x25be28[_0x11b17e(0x11d)]?_0x25be28[_0x11b17e(0x128)][_0x11b17e(0x118)]=_0xbc92b(_0x55abb7,_0x11b17e(0x147)):(_0x4696da[_0x11b17e(0x13f)][_0x11b17e(0x133)](_0x4b6e90)[_0x11b17e(0x131)]({'name':_0x25be28[_0x11b17e(0x11d)]}),_0x21b0f0[_0x11b17e(0x138)]());}this[_0x321c15(0x136)]||(this[_0x321c15(0x13d)](),this[_0x321c15(0x136)]['on'](_0x321c15(0x108),()=>_0x505068(this[_0x321c15(0x136)]))),this[_0x321c15(0x136)][_0x321c15(0x143)](),_0x21b0f0[_0x321c15(0x129)]({'id':_0x321c15(0x10a),'title':_0xbc92b(_0x55abb7,_0x321c15(0x12f)),'isModal':!0x0,'content':this[_0x321c15(0x136)],'actionButtons':[{'label':_0xbc92b(_0x4696da[_0x321c15(0x144)],_0x321c15(0x13a)),'withText':!0x0,'onExecute':()=>_0x21b0f0[_0x321c15(0x138)]()},{'label':_0xbc92b(_0x4696da[_0x321c15(0x144)],_0x321c15(0x12e)),'class':_0x321c15(0x13e),'withText':!0x0,'onCreate'(_0x358d16){const _0x1c5cb0=_0x321c15;_0x358d16[_0x1c5cb0(0x13b)](_0x1c5cb0(0x11c))['to'](_0x2cc141,_0x1c5cb0(0x139),_0x2cc141,_0x1c5cb0(0x11c),_0x4696da,_0x1c5cb0(0x11f),(_0xeda707,_0x3bc42f,_0x1a46b1)=>_0xeda707&&_0x3bc42f&&!_0x1a46b1);},'onExecute':()=>_0x505068(this[_0x321c15(0x136)])}]});}[_0x40f7e7(0x13d)](){const _0x2ab5a7=_0x40f7e7,_0x39c418=this[_0x2ab5a7(0x10e)],_0x13c862=_0x39c418[_0x2ab5a7(0x144)];this[_0x2ab5a7(0x136)]=new _0x1d44dc(_0x13c862,_0x39c418[_0x2ab5a7(0x137)][_0x2ab5a7(0x133)](_0x2ab5a7(0x107))),this[_0x2ab5a7(0x136)][_0x2ab5a7(0x111)]();}}
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
const
|
|
23
|
+
const _0x505d7a=_0x33c2;function _0x33c2(_0x21fc35,_0xe1bca8){const _0x2d5dc4=_0x2d5d();return _0x33c2=function(_0x33c239,_0x26fc7f){_0x33c239=_0x33c239-0x112;let _0x2c676e=_0x2d5dc4[_0x33c239];return _0x2c676e;},_0x33c2(_0x21fc35,_0xe1bca8);}(function(_0x4f973a,_0x2b4a1a){const _0x1f1244=_0x33c2,_0x59332d=_0x4f973a();while(!![]){try{const _0x5cddaa=-parseInt(_0x1f1244(0x158))/0x1*(parseInt(_0x1f1244(0x144))/0x2)+parseInt(_0x1f1244(0x130))/0x3+-parseInt(_0x1f1244(0x15e))/0x4*(-parseInt(_0x1f1244(0x140))/0x5)+parseInt(_0x1f1244(0x165))/0x6*(-parseInt(_0x1f1244(0x120))/0x7)+-parseInt(_0x1f1244(0x13d))/0x8*(parseInt(_0x1f1244(0x146))/0x9)+-parseInt(_0x1f1244(0x114))/0xa*(-parseInt(_0x1f1244(0x118))/0xb)+parseInt(_0x1f1244(0x14b))/0xc;if(_0x5cddaa===_0x2b4a1a)break;else _0x59332d['push'](_0x59332d['shift']());}catch(_0x4a53d5){_0x59332d['push'](_0x59332d['shift']());}}}(_0x2d5d,0x8385a));import{Plugin as _0x4d976e}from'ckeditor5/src/core.js';import{RevisionsSidebarView as _0x3cea60}from'./revisionssidebarview.js';import{RevisionViewer as _0x7d4a05}from'../../revisionviewer.js';export class RevisionsSidebar extends _0x4d976e{[_0x505d7a(0x11d)];[_0x505d7a(0x11e)];[_0x505d7a(0x149)];static [_0x505d7a(0x142)]=[_0x505d7a(0x14c),_0x505d7a(0x15f),_0x505d7a(0x155)];static [_0x505d7a(0x119)]=(function(){const _0x55d6d2=_0x505d7a;return{'compareAgainstSelected':{'name':_0x55d6d2(0x147),'action':({plugins:i},s)=>{const _0x7ac3fc=_0x55d6d2,e=i[_0x7ac3fc(0x13f)](_0x7d4a05),n=e[_0x7ac3fc(0x162)];let r=e[_0x7ac3fc(0x116)][_0x7ac3fc(0x154)],o=s['id'];n[_0x7ac3fc(0x12f)](r)>n[_0x7ac3fc(0x12f)](o)&&([r,o]=[o,r]),e[_0x7ac3fc(0x122)](r,o);},'isVisible':({plugins:i},s)=>{const _0x3b50e1=_0x55d6d2,e=i[_0x3b50e1(0x13f)](_0x7d4a05);return!(e[_0x3b50e1(0x162)][_0x3b50e1(0x11b)](e[_0x3b50e1(0x116)])[_0x3b50e1(0x141)]>0x2)&&!s[_0x3b50e1(0x14a)];}},'restoreRevision':{'name':_0x55d6d2(0x135),'action':(i,{id:s})=>{const _0x175ba2=_0x55d6d2;i[_0x175ba2(0x112)][_0x175ba2(0x13f)](_0x175ba2(0x15a))[_0x175ba2(0x15b)](s);},'isVisible':({plugins:i},s)=>!!i[_0x55d6d2(0x13f)](_0x7d4a05)[_0x55d6d2(0x162)][_0x55d6d2(0x14d)](s['id'])},'nameRevision':{'name':_0x55d6d2(0x157),'action':({plugins:i},{id:s,revisionNameView:e})=>{const _0xbcb411=_0x55d6d2,n=i[_0xbcb411(0x13f)](_0x7d4a05),r=n[_0xbcb411(0x162)][_0xbcb411(0x164)](s);n[_0xbcb411(0x122)](s,r),e[_0xbcb411(0x113)](),e[_0xbcb411(0x11a)][_0xbcb411(0x12c)]();}}};}());static get[_0x505d7a(0x151)](){const _0x3b9d7e=_0x505d7a;return _0x3b9d7e(0x159);}static get[_0x505d7a(0x161)](){return!0x0;}static get[_0x505d7a(0x12b)](){return!0x0;}static get[_0x505d7a(0x11c)](){return[_0x7d4a05];}constructor(_0x4b320d){const _0x112155=_0x505d7a;super(_0x4b320d),this[_0x112155(0x11d)]=_0x4b320d[_0x112155(0x132)][_0x112155(0x13f)](_0x7d4a05),this[_0x112155(0x11e)]=this[_0x112155(0x11d)][_0x112155(0x162)],this[_0x112155(0x149)]=null;}[_0x505d7a(0x131)](){const _0x3fcffc=_0x505d7a,_0x12aaca=this[_0x3fcffc(0x11e)][_0x3fcffc(0x152)],_0x471ecd=this[_0x3fcffc(0x137)](),_0x461d7e=this[_0x3fcffc(0x12a)][_0x3fcffc(0x112)][_0x3fcffc(0x13f)](_0x3fcffc(0x145));this[_0x3fcffc(0x149)]=new _0x3cea60(this[_0x3fcffc(0x12a)][_0x3fcffc(0x124)],_0x12aaca,_0x471ecd,this[_0x3fcffc(0x12a)][_0x3fcffc(0x112)][_0x3fcffc(0x13f)](_0x3fcffc(0x160))),this[_0x3fcffc(0x149)]['on'](_0x3fcffc(0x11f),this[_0x3fcffc(0x14f)][_0x3fcffc(0x134)](this)),this[_0x3fcffc(0x149)]['on'](_0x3fcffc(0x13c),this[_0x3fcffc(0x12e)][_0x3fcffc(0x134)](this)),this[_0x3fcffc(0x149)][_0x3fcffc(0x134)](_0x3fcffc(0x166))['to'](this[_0x3fcffc(0x11d)]),this[_0x3fcffc(0x149)][_0x3fcffc(0x13a)]['on'](_0x3fcffc(0x115),(_0x269af9,_0x12e421)=>{const _0x543ac6=_0x3fcffc;_0x12e421[_0x543ac6(0x139)]['on'](_0x543ac6(0x115),(_0x2bad42,_0x4c49d3)=>{const _0x4445c4=_0x543ac6;_0x4c49d3[_0x4445c4(0x134)](_0x4445c4(0x166),_0x4445c4(0x15d))['to'](this[_0x4445c4(0x11d)]);});}),this[_0x3fcffc(0x149)][_0x3fcffc(0x163)](),this[_0x3fcffc(0x14e)](this[_0x3fcffc(0x12a)][_0x3fcffc(0x12d)],_0x3fcffc(0x156),this[_0x3fcffc(0x153)][_0x3fcffc(0x134)](this)),this[_0x3fcffc(0x14e)](this[_0x3fcffc(0x11d)],_0x3fcffc(0x143),this[_0x3fcffc(0x13e)][_0x3fcffc(0x134)](this)),_0x461d7e[_0x3fcffc(0x150)](this[_0x3fcffc(0x149)][_0x3fcffc(0x128)]);}[_0x505d7a(0x117)](){const _0x8f55e6=_0x505d7a;this[_0x8f55e6(0x149)][_0x8f55e6(0x128)][_0x8f55e6(0x127)](),this[_0x8f55e6(0x149)][_0x8f55e6(0x117)]();}[_0x505d7a(0x153)](){const _0x3285ab=_0x505d7a,_0x2b2f8a=this[_0x3285ab(0x11e)][_0x3285ab(0x133)](0x0);if(_0x2b2f8a){const _0x42ec8c=this[_0x3285ab(0x11e)][_0x3285ab(0x164)](_0x2b2f8a['id']);this[_0x3285ab(0x11d)][_0x3285ab(0x122)](_0x2b2f8a,_0x42ec8c);}}[_0x505d7a(0x14f)](_0x24453f,_0x488682){const _0x72420a=_0x505d7a,_0x58832c=this[_0x72420a(0x11e)][_0x72420a(0x133)](_0x488682['id']),_0x3f5458=this[_0x72420a(0x11e)][_0x72420a(0x164)](_0x58832c['id']);this[_0x72420a(0x11d)][_0x72420a(0x122)](_0x58832c,_0x3f5458);}[_0x505d7a(0x12e)](_0x2b678f,_0x31e1a1){const _0x53525a=_0x505d7a;this[_0x53525a(0x11e)][_0x53525a(0x133)](_0x31e1a1['id'])[_0x53525a(0x126)](_0x31e1a1[_0x53525a(0x148)]);}[_0x505d7a(0x13e)](_0xe06ee2,_0x38475c,_0x56b420){const _0x264a8c=_0x505d7a,_0x3639bb=this[_0x264a8c(0x11e)][_0x264a8c(0x11b)](_0x56b420);_0x3639bb[_0x264a8c(0x141)]>0x2?(this[_0x264a8c(0x149)][_0x264a8c(0x123)](_0x3639bb),this[_0x264a8c(0x149)][_0x264a8c(0x13b)](null)):(this[_0x264a8c(0x149)][_0x264a8c(0x123)]([]),this[_0x264a8c(0x149)][_0x264a8c(0x13b)](_0x3639bb[0x0]));}[_0x505d7a(0x137)](){const _0x32217b=_0x505d7a,_0x94dd02=this[_0x32217b(0x12a)],_0x2061bf=RevisionsSidebar[_0x32217b(0x119)],_0x221beb=_0x94dd02[_0x32217b(0x112)][_0x32217b(0x13f)](_0x32217b(0x121))||RevisionsSidebar[_0x32217b(0x142)];if(_0x221beb[_0x32217b(0x141)])return _0x221beb[_0x32217b(0x136)](_0x272a29=>{const _0x17f6d8=_0x32217b,_0x432728=_0x17f6d8(0x15c)==typeof _0x272a29?Object[_0x17f6d8(0x129)]({},_0x2061bf[_0x272a29]):_0x272a29;return _0x432728[_0x17f6d8(0x125)]=_0x432728[_0x17f6d8(0x125)][_0x17f6d8(0x134)](this,_0x94dd02),_0x432728[_0x17f6d8(0x138)]&&(_0x432728[_0x17f6d8(0x138)]=_0x432728[_0x17f6d8(0x138)][_0x17f6d8(0x134)](this,_0x94dd02)),_0x432728;});}}function _0x2d5d(){const _0x4a6398=['remove','element','assign','editor','isPremiumPlugin','select','data','_handleRevisionSetName','getIndex','1307652qUrIey','init','plugins','getRevision','bind','Restore\x20this\x20revision','map','_createRevisionActions','isVisible','revisionViews','timePeriodViews','selectRevision','revisionSetName','8berFsf','_handleDiffChange','get','50yGZAdV','length','defaultRevisionActions','change:diff','9778JUDmXL','revisionHistory.viewerSidebarContainer','5762781YtpkEL','Compare\x20against\x20selected','name','_sidebarView','isSelected','11978796ferenE','compareAgainstSelected','getLaterVisibleRevision','listenTo','_handleRevisionSelected','appendChild','pluginName','_revisions','_handleEditorDataReady','newRevisionId','nameRevision','ready','Name\x20this\x20revision','112raYvyN','RevisionsSidebar','revisionHistory','restoreRevisionCallback','string','isReady','406996AztBLy','restoreRevision','revisionHistory.requireRevisionName','isOfficialPlugin','repository','render','getEarlierVisibleRevision','4741818ifOTDe','isEnabled','config','focus','652870AGxlgV','add','diff','destroy','11qjbvRK','availableRevisionActions','fieldView','getRevisionsInDiff','requires','_revisionViewer','_revisionsRepository','revisionSelected','7sxSbZb','revisionHistory.revisionActions','compare','highlightRevisions','locale','action','setName'];_0x2d5d=function(){return _0x4a6398;};return _0x2d5d();}
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
(function(
|
|
23
|
+
(function(_0x30cf62,_0x451ad3){const _0x6dc0a8=_0x4405,_0xdd706=_0x30cf62();while(!![]){try{const _0x3ebe9c=parseInt(_0x6dc0a8(0x98))/0x1*(parseInt(_0x6dc0a8(0x9a))/0x2)+parseInt(_0x6dc0a8(0x8e))/0x3+-parseInt(_0x6dc0a8(0x95))/0x4+parseInt(_0x6dc0a8(0x92))/0x5*(parseInt(_0x6dc0a8(0x91))/0x6)+parseInt(_0x6dc0a8(0x9d))/0x7+parseInt(_0x6dc0a8(0x9f))/0x8*(parseInt(_0x6dc0a8(0x90))/0x9)+-parseInt(_0x6dc0a8(0x9e))/0xa;if(_0x3ebe9c===_0x451ad3)break;else _0xdd706['push'](_0xdd706['shift']());}catch(_0x4aa86a){_0xdd706['push'](_0xdd706['shift']());}}}(_0x3787,0xa430a));import{View as _0x3d6579,IconView as _0x123d29}from'ckeditor5/src/ui.js';import{getTranslation as _0x43447f}from'../../utils/common-translations.js';import{IconHistory as _0x20ba4c}from'ckeditor5/src/icons.js';function _0x4405(_0x25d383,_0x5f4b43){const _0x378747=_0x3787();return _0x4405=function(_0x440504,_0x5f141a){_0x440504=_0x440504-0x8e;let _0x42a169=_0x378747[_0x440504];return _0x42a169;},_0x4405(_0x25d383,_0x5f4b43);}import'../../../theme/revisionssidebar/revisionssidebarheader.css';export class RevisionsSidebarHeaderView extends _0x3d6579{constructor(_0x56fecf){const _0x27fab8=_0x4405;super(_0x56fecf);const _0x2469a6=new _0x123d29();_0x2469a6[_0x27fab8(0x94)]=_0x20ba4c,this[_0x27fab8(0x93)]({'tag':_0x27fab8(0x9c),'attributes':{'class':['ck',_0x27fab8(0x96),_0x27fab8(0x8f)]},'children':[_0x2469a6,{'tag':_0x27fab8(0x9b),'attributes':{'class':['ck',_0x27fab8(0x97)]},'children':[_0x43447f(_0x56fecf,_0x27fab8(0x99))]}]});}}function _0x3787(){const _0x195927=['26006770wJOSbM','16aAPMzg','3319356gpjOTT','ck-revision-history-sidebar__header','1879353JFsTLm','97284PwZIoQ','235zNVQDM','setTemplate','content','1317568lejxjD','ck-reset_all','ck-revision-history-sidebar__header__label','1EgDyVh','Revision\x20history','445858qJfMVY','span','div','7654626ChIkYc'];_0x3787=function(){return _0x195927;};return _0x3787();}
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
const
|
|
23
|
+
const _0x5f3110=_0x3b10;function _0x3b10(_0x221ee3,_0x1fc1d1){const _0xf9d74=_0xf9d7();return _0x3b10=function(_0x3b102a,_0xc77ac8){_0x3b102a=_0x3b102a-0x165;let _0xeb8a17=_0xf9d74[_0x3b102a];return _0xeb8a17;},_0x3b10(_0x221ee3,_0x1fc1d1);}(function(_0x93c8dd,_0x3698a6){const _0x33aa2e=_0x3b10,_0x31b8b3=_0x93c8dd();while(!![]){try{const _0x2ca1fe=-parseInt(_0x33aa2e(0x176))/0x1*(parseInt(_0x33aa2e(0x177))/0x2)+parseInt(_0x33aa2e(0x172))/0x3+-parseInt(_0x33aa2e(0x179))/0x4*(-parseInt(_0x33aa2e(0x17f))/0x5)+-parseInt(_0x33aa2e(0x182))/0x6+-parseInt(_0x33aa2e(0x171))/0x7+-parseInt(_0x33aa2e(0x16a))/0x8*(-parseInt(_0x33aa2e(0x181))/0x9)+parseInt(_0x33aa2e(0x17c))/0xa;if(_0x2ca1fe===_0x3698a6)break;else _0x31b8b3['push'](_0x31b8b3['shift']());}catch(_0x380c7d){_0x31b8b3['push'](_0x31b8b3['shift']());}}}(_0xf9d7,0x78317));import{View as _0x4852c3}from'ckeditor5/src/ui.js';import{RevisionView as _0x1c6a84}from'../revision/revisionview.js';import{getDateTimePeriodInfo as _0x51e157}from'./utils.js';import'../../../theme/revisionssidebar/revisionssidebartimeperiod.css';export class RevisionsSidebarTimePeriodView extends _0x4852c3{[_0x5f3110(0x184)];[_0x5f3110(0x16e)];[_0x5f3110(0x180)];[_0x5f3110(0x170)];constructor(_0x595fc5,_0x110882,_0x4ac756,_0x34d840){const _0x3fed89=_0x5f3110;super(_0x595fc5);const _0x2e3c28=_0x51e157(_0x110882,this[_0x3fed89(0x178)][_0x3fed89(0x175)])[_0x3fed89(0x16f)];this[_0x3fed89(0x184)]=_0x110882,this[_0x3fed89(0x16e)]=this[_0x3fed89(0x16b)](),this[_0x3fed89(0x180)]=_0x4ac756,this[_0x3fed89(0x170)]=_0x34d840,this[_0x3fed89(0x16e)][_0x3fed89(0x17b)](_0x3fed89(0x169))['to'](this),this[_0x3fed89(0x16e)][_0x3fed89(0x17b)](_0x3fed89(0x16c))['to'](this),this[_0x3fed89(0x17a)]({'tag':_0x3fed89(0x174),'attributes':{'class':['ck',_0x3fed89(0x17d)]},'children':[{'tag':_0x3fed89(0x167),'attributes':{'class':['ck',_0x3fed89(0x165)]},'children':[{'text':_0x2e3c28}]},{'tag':_0x3fed89(0x174),'attributes':{'class':['ck',_0x3fed89(0x17e)]},'children':this[_0x3fed89(0x16e)]}]});}[_0x5f3110(0x183)](_0x47e1ee){const _0x24ea26=_0x5f3110,_0x19fb5b=new _0x1c6a84(this[_0x24ea26(0x178)],_0x47e1ee,this[_0x24ea26(0x180)],this[_0x24ea26(0x170)]);this[_0x24ea26(0x16e)][_0x24ea26(0x168)](_0x19fb5b);}[_0x5f3110(0x173)](_0x515bb1){const _0xa2a20d=_0x5f3110,_0x567c15=this[_0xa2a20d(0x16e)][_0xa2a20d(0x16d)](_0x9ed08a=>_0x9ed08a['id']===_0x515bb1['id']);this[_0xa2a20d(0x16e)][_0xa2a20d(0x166)](_0x567c15);}}function _0xf9d7(){const _0xaae05a=['localizedPeriodName','_requireRevisionName','3896536LTLBiX','1126278HiHSto','removeRevision','div','uiLanguage','3238YtnXcg','592sMzpKF','locale','4QylmlE','setTemplate','delegate','3707950PYyHEW','ck-revision-history-sidebar__time-period','ck-revision-history-sidebar__time-period__revisions','4890035yAYCNp','_revisionActions','189495RbWAvv','2217156LLNJjE','addRevision','startDate','ck-revision-history-sidebar__time-period__label','remove','span','add','select','248zhNRsh','createCollection','setName','find','revisionViews'];_0xf9d7=function(){return _0xaae05a;};return _0xf9d7();}
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
const
|
|
23
|
+
const _0x4e72c3=_0x283e;(function(_0x19c155,_0x440a15){const _0x2feec8=_0x283e,_0x2c2ab3=_0x19c155();while(!![]){try{const _0x3d3c56=parseInt(_0x2feec8(0x83))/0x1+parseInt(_0x2feec8(0x7f))/0x2+-parseInt(_0x2feec8(0x6f))/0x3+-parseInt(_0x2feec8(0x91))/0x4*(-parseInt(_0x2feec8(0x75))/0x5)+parseInt(_0x2feec8(0x6e))/0x6+-parseInt(_0x2feec8(0x90))/0x7+-parseInt(_0x2feec8(0x7e))/0x8;if(_0x3d3c56===_0x440a15)break;else _0x2c2ab3['push'](_0x2c2ab3['shift']());}catch(_0x4d0299){_0x2c2ab3['push'](_0x2c2ab3['shift']());}}}(_0xc010,0x7d30d));function _0xc010(){const _0xdba8f4=['add','5PAuSQb','createCollection','setName','ck-revision-history-sidebar__timeline','find','removeRevision','selectRevision','highlight','_removeRevision','10187904OzCJJP','1602954bzIKnf','timePeriodViews','fire','setTemplate','820564dIoHAJ','deselect','highlightRevisions','ck-reset','revisionViews','_addRevision','_requireRevisionName','render','addRevision','select','bindTemplate','_revisions','ck-revision-history-sidebar','3158141FzKPpQ','3012244tDmzPx','getTime','startDate','remove','unhighlight','revisionSetName','isEnabled','flat','revisionSelected','set','div','ck-disabled','ck-rounded-corners','map','get','uiLanguage','locale','createdAt','383520XrifmX','604770BOXSju','_getTimePeriodViewByStartDate','_revisionActions','some','delegate'];_0xc010=function(){return _0xdba8f4;};return _0xc010();}import{View as _0x206002}from'ckeditor5/src/ui.js';import{RevisionsSidebarTimePeriodView as _0x404629}from'./revisionssidebartimeperiodview.js';import{RevisionsSidebarHeaderView as _0x5064ca}from'./revisionssidebarheaderview.js';import{getDateTimePeriodInfo as _0x47ba88}from'./utils.js';function _0x283e(_0x11f45e,_0x448b6c){const _0xc010e=_0xc010();return _0x283e=function(_0x283ecb,_0x2b77f0){_0x283ecb=_0x283ecb-0x69;let _0x3c17ec=_0xc010e[_0x283ecb];return _0x3c17ec;},_0x283e(_0x11f45e,_0x448b6c);}import'../../../theme/revisionssidebar/revisionssidebar.css';export class RevisionsSidebarView extends _0x206002{[_0x4e72c3(0x80)];[_0x4e72c3(0x8e)];[_0x4e72c3(0x71)];[_0x4e72c3(0x89)];constructor(_0x4549a7,_0x3f24f6,_0x37bdd2,_0x3b293c){const _0x4171bd=_0x4e72c3;super(_0x4549a7);const _0xee04bc=this[_0x4171bd(0x8d)];this[_0x4171bd(0x80)]=this[_0x4171bd(0x76)](),this[_0x4171bd(0x80)][_0x4171bd(0x73)](_0x4171bd(0x8c))['to'](this),this[_0x4171bd(0x80)][_0x4171bd(0x73)](_0x4171bd(0x77))['to'](this),this[_0x4171bd(0x8e)]=_0x3f24f6,this[_0x4171bd(0x71)]=_0x37bdd2,this[_0x4171bd(0x89)]=_0x3b293c,this['on'](_0x4171bd(0x8c),(_0x1275e1,_0x5d199c)=>{const _0x5967dd=_0x4171bd;this[_0x5967dd(0x81)](_0x5967dd(0x99),_0x5d199c);}),this['on'](_0x4171bd(0x77),(_0x4eab04,_0x3047b2)=>{const _0x1df2bd=_0x4171bd;this[_0x1df2bd(0x81)](_0x1df2bd(0x96),_0x3047b2);}),this[_0x4171bd(0x9a)](_0x4171bd(0x97),!0x1),this[_0x4171bd(0x82)]({'tag':_0x4171bd(0x9b),'attributes':{'class':['ck',_0x4171bd(0x86),_0x4171bd(0x9d),_0x4171bd(0x8f)]},'children':[new _0x5064ca(_0x4549a7),{'tag':_0x4171bd(0x9b),'attributes':{'class':['ck',_0x4171bd(0x78),_0xee04bc['if'](_0x4171bd(0x97),_0x4171bd(0x9c),_0x27469a=>!_0x27469a)]},'children':this[_0x4171bd(0x80)]}]});}[_0x4e72c3(0x8a)](){const _0x1312a0=_0x4e72c3;super[_0x1312a0(0x8a)]();for(const _0x1ce3bc of this[_0x1312a0(0x8e)])this[_0x1312a0(0x88)](_0x1ce3bc);this[_0x1312a0(0x8e)]['on'](_0x1312a0(0x74),(_0x2bf3a4,_0x4c87ef)=>{const _0x57feac=_0x1312a0;this[_0x57feac(0x88)](_0x4c87ef);}),this[_0x1312a0(0x8e)]['on'](_0x1312a0(0x94),(_0x572a08,_0x131e1b)=>{const _0x490b6d=_0x1312a0;this[_0x490b6d(0x7d)](_0x131e1b);});}get[_0x4e72c3(0x87)](){const _0x43cca8=_0x4e72c3;return this[_0x43cca8(0x80)][_0x43cca8(0x69)](_0x213325=>_0x213325[_0x43cca8(0x87)][_0x43cca8(0x69)](_0x257f2e=>_0x257f2e))[_0x43cca8(0x98)]();}[_0x4e72c3(0x7b)](_0x5446d3){const _0x541e78=_0x4e72c3;for(const _0x4efe68 of this[_0x541e78(0x87)])_0x5446d3&&_0x5446d3['id']===_0x4efe68['id']?_0x4efe68[_0x541e78(0x8c)]():_0x4efe68[_0x541e78(0x84)]();}[_0x4e72c3(0x85)](_0x1feda0){const _0x2bd268=_0x4e72c3;for(const _0x443bdc of this[_0x2bd268(0x87)])_0x1feda0[_0x2bd268(0x72)](({id:_0x5a02fb})=>_0x5a02fb===_0x443bdc['id'])?_0x443bdc[_0x2bd268(0x7c)]():_0x443bdc[_0x2bd268(0x95)]();}[_0x4e72c3(0x88)](_0x3180b5){const _0x580138=_0x4e72c3,_0x1d49b6=_0x47ba88(_0x3180b5[_0x580138(0x6d)],this[_0x580138(0x6c)][_0x580138(0x6b)])[_0x580138(0x93)];let _0x472533=this[_0x580138(0x80)][_0x580138(0x6a)](0x0);_0x472533&&_0x472533[_0x580138(0x93)][_0x580138(0x92)]()===_0x1d49b6[_0x580138(0x92)]()||(_0x472533=new _0x404629(this[_0x580138(0x6c)],_0x1d49b6,this[_0x580138(0x71)],this[_0x580138(0x89)]),this[_0x580138(0x80)][_0x580138(0x74)](_0x472533)),_0x472533[_0x580138(0x8b)](_0x3180b5);}[_0x4e72c3(0x7d)](_0x101dd9){const _0x33e65a=_0x4e72c3,_0x207cfc=_0x47ba88(_0x101dd9[_0x33e65a(0x6d)],this[_0x33e65a(0x6c)][_0x33e65a(0x6b)])[_0x33e65a(0x93)];this[_0x33e65a(0x70)](_0x207cfc)[_0x33e65a(0x7a)](_0x101dd9);}[_0x4e72c3(0x70)](_0x542746){const _0x2e5c29=_0x4e72c3;return this[_0x2e5c29(0x80)][_0x2e5c29(0x79)](_0xf214a3=>_0xf214a3[_0x2e5c29(0x93)][_0x2e5c29(0x92)]()===_0x542746[_0x2e5c29(0x92)]());}}
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
(function(
|
|
23
|
+
(function(_0x55300e,_0x453cb6){const _0x5ac073=_0x4af6,_0x55a3fe=_0x55300e();while(!![]){try{const _0x32db1e=parseInt(_0x5ac073(0x1f0))/0x1+parseInt(_0x5ac073(0x1fc))/0x2*(-parseInt(_0x5ac073(0x1ee))/0x3)+parseInt(_0x5ac073(0x1f8))/0x4*(-parseInt(_0x5ac073(0x1fd))/0x5)+parseInt(_0x5ac073(0x1eb))/0x6+-parseInt(_0x5ac073(0x1f3))/0x7*(-parseInt(_0x5ac073(0x1ea))/0x8)+-parseInt(_0x5ac073(0x1e7))/0x9+-parseInt(_0x5ac073(0x1e9))/0xa*(parseInt(_0x5ac073(0x1f7))/0xb);if(_0x32db1e===_0x453cb6)break;else _0x55a3fe['push'](_0x55a3fe['shift']());}catch(_0x17f65b){_0x55a3fe['push'](_0x55a3fe['shift']());}}}(_0x12ef,0xed7ce));function _0x4af6(_0x19576c,_0x2d10e5){const _0x12efef=_0x12ef();return _0x4af6=function(_0x4af6fc,_0xf1c861){_0x4af6fc=_0x4af6fc-0x1e7;let _0x4f2601=_0x12efef[_0x4af6fc];return _0x4f2601;},_0x4af6(_0x19576c,_0x2d10e5);}import{DateTime as _0x45541f}from'luxon';function _0x12ef(){const _0x31a56e=['121420YiepPy','toJSDate','day','634059sZuAcj','setLocale','1671730qjFdIR','7544PmVdsp','10647858pPNWJY','fromJSDate','weekdayLong','39CfXVvY','monthLong','1744125YLXUXG','minus','toRelativeCalendar','13216GDvCub','startOf','week','year','187vmAJKo','48pvkDCo','month','local','hasSame','172708YMGOrP'];_0x12ef=function(){return _0x31a56e;};return _0x12ef();}export function getDateTimePeriodInfo(_0x1d31c6,_0x34eefa){const _0x310061=_0x4af6,_0x44ab4f=_0x45541f[_0x310061(0x1ec)](_0x1d31c6)[_0x310061(0x1e8)](_0x34eefa),_0x186965=_0x45541f[_0x310061(0x1fa)](),_0x329b4e=_0x186965[_0x310061(0x1f1)]({'days':0x1})[_0x310061(0x1f4)](_0x310061(0x1ff));let _0x1150af,_0x1ff0f3;return _0x44ab4f[_0x310061(0x1fb)](_0x186965,_0x310061(0x1ff))?(_0x1150af=_0x44ab4f[_0x310061(0x1f4)](_0x310061(0x1ff))[_0x310061(0x1fe)](),_0x1ff0f3=_0x44ab4f[_0x310061(0x1f2)]()):_0x44ab4f[_0x310061(0x1fb)](_0x329b4e,_0x310061(0x1ff))?(_0x1150af=_0x329b4e[_0x310061(0x1fe)](),_0x1ff0f3=_0x44ab4f[_0x310061(0x1f2)]()):_0x44ab4f[_0x310061(0x1fb)](_0x186965,_0x310061(0x1f5))?(_0x1150af=_0x44ab4f[_0x310061(0x1f4)](_0x310061(0x1f5))[_0x310061(0x1fe)](),_0x1ff0f3=_0x44ab4f[_0x310061(0x1ed)]||''):_0x44ab4f[_0x310061(0x1fb)](_0x186965,_0x310061(0x1f6))?(_0x1150af=_0x44ab4f[_0x310061(0x1f4)](_0x310061(0x1f9))[_0x310061(0x1fe)](),_0x1ff0f3=_0x44ab4f[_0x310061(0x1ef)]||''):(_0x1150af=_0x44ab4f[_0x310061(0x1f4)](_0x310061(0x1f6))[_0x310061(0x1fe)](),_0x1ff0f3=String(_0x44ab4f[_0x310061(0x1f6)])),{'startDate':_0x1150af,'localizedPeriodName':_0x1ff0f3};}
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
const
|
|
23
|
+
const _0x11f456=_0x3624;(function(_0x13e20d,_0x4fc4cf){const _0xc45169=_0x3624,_0x2e647e=_0x13e20d();while(!![]){try{const _0x572f47=parseInt(_0xc45169(0x141))/0x1+parseInt(_0xc45169(0x154))/0x2+-parseInt(_0xc45169(0x13f))/0x3+parseInt(_0xc45169(0x140))/0x4*(parseInt(_0xc45169(0x14c))/0x5)+-parseInt(_0xc45169(0x155))/0x6*(parseInt(_0xc45169(0x13c))/0x7)+-parseInt(_0xc45169(0x146))/0x8+parseInt(_0xc45169(0x14b))/0x9;if(_0x572f47===_0x4fc4cf)break;else _0x2e647e['push'](_0x2e647e['shift']());}catch(_0x3acfe4){_0x2e647e['push'](_0x2e647e['shift']());}}}(_0x25e9,0x4bff3));function _0x25e9(){const _0x7a2d42=['_model','Added\x20by','span','focus','4450581fdtHKB','265PpGFYg','ck-revision-change','div','ck-revision-change__','setTemplate','ck-annotation','add','Suggested\x20by','293028PAAamS','565158Sqnczg','data','ck-revision-change__label','author','name','element','14gEybJf','changeId','Removed\x20by','763215ujvLbq','12764uZORAa','250628oblWjS','set','isSuggestion','bindTemplate','type','2453600oMJjkg'];_0x25e9=function(){return _0x7a2d42;};return _0x25e9();}function _0x3624(_0x230d9e,_0x112b48){const _0x25e966=_0x25e9();return _0x3624=function(_0x36242a,_0x26ec0d){_0x36242a=_0x36242a-0x13a;let _0xd4ce43=_0x25e966[_0x36242a];return _0xd4ce43;},_0x3624(_0x230d9e,_0x112b48);}import{View as _0x49c51f}from'ckeditor5/src/ui.js';import{getTranslation as _0x2a9fec}from'../../utils/common-translations.js';export class ChangeDetailsView extends _0x49c51f{[_0x11f456(0x13d)];[_0x11f456(0x147)];constructor(_0x335d0e,_0x48bb37){const _0x30fc51=_0x11f456;super(_0x335d0e),this[_0x30fc51(0x147)]=_0x48bb37,this[_0x30fc51(0x13d)]=_0x48bb37['id'];const _0x280648=this[_0x30fc51(0x144)],_0x305fa0=_0x2a9fec(_0x335d0e,_0x48bb37[_0x30fc51(0x156)][_0x30fc51(0x143)]?_0x30fc51(0x153):_0x30fc51(0x152)==_0x48bb37[_0x30fc51(0x145)]?_0x30fc51(0x148):_0x30fc51(0x13e));this[_0x30fc51(0x142)](_0x30fc51(0x145),_0x48bb37[_0x30fc51(0x145)]),this[_0x30fc51(0x150)]({'tag':_0x30fc51(0x14e),'attributes':{'class':[_0x30fc51(0x151),_0x30fc51(0x14d),_0x280648['to'](_0x30fc51(0x145),_0x37c95b=>_0x30fc51(0x14f)+_0x37c95b)],'tabindex':-0x1},'children':[{'tag':_0x30fc51(0x149),'children':[{'tag':_0x30fc51(0x149),'attributes':{'class':[_0x30fc51(0x157)]},'children':[{'text':_0x305fa0}]},{'text':'\x20'+_0x48bb37[_0x30fc51(0x158)][_0x30fc51(0x13a)]}]}]});}[_0x11f456(0x14a)](){const _0x5b2a9f=_0x11f456;this[_0x5b2a9f(0x13b)][_0x5b2a9f(0x14a)]();}}
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
(function(
|
|
23
|
+
(function(_0xca5d1a,_0x58c223){const _0x4fd222=_0x2a65,_0xa777e5=_0xca5d1a();while(!![]){try{const _0x198f01=-parseInt(_0x4fd222(0x171))/0x1+parseInt(_0x4fd222(0x167))/0x2*(parseInt(_0x4fd222(0x15e))/0x3)+parseInt(_0x4fd222(0x176))/0x4*(-parseInt(_0x4fd222(0x164))/0x5)+parseInt(_0x4fd222(0x16d))/0x6+parseInt(_0x4fd222(0x151))/0x7+parseInt(_0x4fd222(0x169))/0x8+parseInt(_0x4fd222(0x16e))/0x9*(-parseInt(_0x4fd222(0x160))/0xa);if(_0x198f01===_0x58c223)break;else _0xa777e5['push'](_0xa777e5['shift']());}catch(_0xfad2ec){_0xa777e5['push'](_0xa777e5['shift']());}}}(_0x3bb2,0x2dc9e));import{View as _0x49275b,ButtonView as _0x35b243,ToolbarSeparatorView as _0x324c07}from'ckeditor5/src/ui.js';function _0x2a65(_0xb00884,_0x84ab1f){const _0x3bb2c6=_0x3bb2();return _0x2a65=function(_0x2a65a9,_0x3e24d0){_0x2a65a9=_0x2a65a9-0x14d;let _0x1cf9a0=_0x3bb2c6[_0x2a65a9];return _0x1cf9a0;},_0x2a65(_0xb00884,_0x84ab1f);}import{IconChevronUp as _0x5f45fb,IconChevronDown as _0x36a3f1}from'ckeditor5/src/icons.js';import{getTranslation as _0x48a1a0}from'../../utils/common-translations.js';import'../../../theme/changesnavigation.css';export class ChangesNavigationView extends _0x49275b{constructor(_0x2571e9){const _0x412d2d=_0x2a65;super(_0x2571e9);const _0x56ac37=this[_0x412d2d(0x157)],_0x1487b3=new _0x35b243(_0x2571e9),_0x3e9d90=new _0x35b243(_0x2571e9);this[_0x412d2d(0x15b)](_0x412d2d(0x154),!0x1),this[_0x412d2d(0x15b)](_0x412d2d(0x14e),!0x1),this[_0x412d2d(0x15b)](_0x412d2d(0x15c),0x0),this[_0x412d2d(0x15b)](_0x412d2d(0x155),0x0),this[_0x412d2d(0x15b)](_0x412d2d(0x172),!0x1),this[_0x412d2d(0x15b)](_0x412d2d(0x15f),!0x1),this[_0x412d2d(0x162)](_0x412d2d(0x159))['to'](this,_0x412d2d(0x14e),this,_0x412d2d(0x155),(_0x4c0d03,_0x2ed82b)=>_0x4c0d03&&_0x2ed82b>0x0),this[_0x412d2d(0x162)](_0x412d2d(0x15d))['to'](this,_0x412d2d(0x14e),this,_0x412d2d(0x15c),this,_0x412d2d(0x155),this,_0x412d2d(0x154),(_0x34fbbc,_0x61fee3,_0x54728f,_0x1b6ff0)=>{const _0x1f3469=_0x412d2d;if(!_0x34fbbc)return _0x48a1a0(_0x2571e9,_0x1f3469(0x177));if(!_0x54728f)return _0x48a1a0(_0x2571e9,_0x1f3469(0x161));const _0x708f17=_0x48a1a0(_0x2571e9,_0x1f3469(0x15a),_0x54728f);return _0x1b6ff0?_0x48a1a0(_0x2571e9,_0x1f3469(0x175),[_0x61fee3+0x1,_0x54728f]):_0x708f17;}),_0x1487b3[_0x412d2d(0x15b)]({'label':_0x48a1a0(_0x2571e9,_0x412d2d(0x14d)),'tooltip':!0x0,'icon':_0x5f45fb}),_0x3e9d90[_0x412d2d(0x15b)]({'label':_0x48a1a0(_0x2571e9,_0x412d2d(0x174)),'tooltip':!0x0,'icon':_0x36a3f1}),_0x1487b3[_0x412d2d(0x162)](_0x412d2d(0x16a))['to'](this,_0x412d2d(0x15f)),_0x3e9d90[_0x412d2d(0x162)](_0x412d2d(0x16a))['to'](this,_0x412d2d(0x172)),_0x1487b3['on'](_0x412d2d(0x163),()=>this[_0x412d2d(0x16f)](_0x412d2d(0x163),_0x412d2d(0x158))),_0x3e9d90['on'](_0x412d2d(0x163),()=>this[_0x412d2d(0x16f)](_0x412d2d(0x163),_0x412d2d(0x152))),this[_0x412d2d(0x16c)]({'tag':_0x412d2d(0x16b),'attributes':{'class':['ck',_0x412d2d(0x14f),_0x412d2d(0x156)]},'children':[{'tag':_0x412d2d(0x150),'attributes':{'class':[_0x412d2d(0x173)]},'children':[{'tag':_0x412d2d(0x150),'attributes':{'class':[_0x412d2d(0x168),_0x56ac37['if'](_0x412d2d(0x159),_0x412d2d(0x165),_0x5d3c7e=>!_0x5d3c7e)]},'children':[{'text':_0x56ac37['to'](_0x412d2d(0x154),_0x1dc7ff=>_0x1dc7ff?_0x48a1a0(_0x2571e9,_0x412d2d(0x153))+':\x20':_0x48a1a0(_0x2571e9,_0x412d2d(0x166))+':\x20')}]},{'text':_0x56ac37['to'](_0x412d2d(0x15d))}]},new _0x324c07(),{'tag':_0x412d2d(0x16b),'attributes':{'class':[_0x412d2d(0x170)]},'children':[_0x1487b3,_0x3e9d90]}]});}}function _0x3bb2(){const _0x370ddf=['1527218NmPHpG','forward','EDIT_X_OF_Y_REVISIONS','isNavigationMode','numberOfChanges','ck-revision-history-ui__changes-navigation','bindTemplate','backward','_isStatusLabelVisible','NUMBER_OF_CHANGES','set','currentChangeNumber','_statusText','3jLTTMP','isBackwardNavigationEnabled','30WxQgod','No\x20changes','bind','execute','145CcyqgC','ck-hidden','Total','319538XfLjuL','ck-revision-history-ui__changes-navigation__label','2833824ibmLJy','isEnabled','div','setTemplate','399186TQOuWU','851733rtFbvL','fire','ck-revision-history-ui__changes-navigation__navigation','7371iihwkP','isForwardNavigationEnabled','ck-revision-history-ui__changes-navigation__wrapper','Show\x20next\x20change','X_OF_Y_CHANGES','44120VedjhB','Loading...','Show\x20previous\x20change','isReady','ck-revision-history-ui','span'];_0x3bb2=function(){return _0x370ddf;};return _0x3bb2();}
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
const
|
|
23
|
+
const _0x55339e=_0x5346;(function(_0x18e557,_0x3b0b92){const _0x55e1a4=_0x5346,_0x4ac50a=_0x18e557();while(!![]){try{const _0x547d32=parseInt(_0x55e1a4(0x129))/0x1*(parseInt(_0x55e1a4(0x13f))/0x2)+-parseInt(_0x55e1a4(0x134))/0x3*(-parseInt(_0x55e1a4(0x13d))/0x4)+parseInt(_0x55e1a4(0x139))/0x5*(-parseInt(_0x55e1a4(0x135))/0x6)+parseInt(_0x55e1a4(0x13b))/0x7+-parseInt(_0x55e1a4(0x137))/0x8*(parseInt(_0x55e1a4(0x138))/0x9)+parseInt(_0x55e1a4(0x12f))/0xa+parseInt(_0x55e1a4(0x12d))/0xb;if(_0x547d32===_0x3b0b92)break;else _0x4ac50a['push'](_0x4ac50a['shift']());}catch(_0x343b49){_0x4ac50a['push'](_0x4ac50a['shift']());}}}(_0x8752,0x18f0b));function _0x5346(_0x4dbd8b,_0x52023f){const _0x87520c=_0x8752();return _0x5346=function(_0x534627,_0x484e9f){_0x534627=_0x534627-0x128;let _0x371490=_0x87520c[_0x534627];return _0x371490;},_0x5346(_0x4dbd8b,_0x52023f);}import{Plugin as _0x513de6}from'ckeditor5/src/core.js';const ge=_0x55339e(0x130);import'../../../theme/revisionviewerloadingoverlay.css';export class RevisionViewerLoadingOverlay extends _0x513de6{static get[_0x55339e(0x136)](){const _0x3e544e=_0x55339e;return _0x3e544e(0x141);}static get[_0x55339e(0x132)](){return!0x0;}static get[_0x55339e(0x128)](){return!0x0;}[_0x55339e(0x12b)](){const _0x5667b0=_0x55339e,_0x1507e2=this[_0x5667b0(0x131)][_0x5667b0(0x133)][_0x5667b0(0x13e)];_0x1507e2[_0x5667b0(0x13a)](_0xce5a33=>{const _0x58e074=_0x5667b0;for(const _0x121eb8 of _0x1507e2[_0x58e074(0x12a)][_0x58e074(0x12c)])_0xce5a33[_0x58e074(0x12e)](ge,_0x121eb8);});}[_0x55339e(0x13c)](){const _0x3ca83e=_0x55339e,_0x92aebe=this[_0x3ca83e(0x131)][_0x3ca83e(0x133)][_0x3ca83e(0x13e)];_0x92aebe[_0x3ca83e(0x13a)](_0x21c341=>{const _0x340579=_0x3ca83e;for(const _0x3654af of _0x92aebe[_0x340579(0x12a)][_0x340579(0x12c)])_0x21c341[_0x340579(0x140)](ge,_0x3654af);});}}function _0x8752(){const _0x5e0468=['1316798NDOvkn','hide','22488EFrdzQ','view','17270dgIvoz','removeClass','RevisionViewerLoadingOverlay','isPremiumPlugin','10RksVfT','document','show','roots','1079628xVkPwX','addClass','123770FOeQkZ','ck-editor__editable__loading-overlay','editor','isOfficialPlugin','editing','6RCoswT','231654swhPXP','pluginName','558568kQOakp','18GtSMgW','20meTxqF','change'];_0x8752=function(){return _0x5e0468;};return _0x8752();}
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
|
|
23
|
+
const _0x19aec9=_0x39c3;(function(_0x29a67f,_0x16b90c){const _0x174b01=_0x39c3,_0x206afb=_0x29a67f();while(!![]){try{const _0xbd004d=-parseInt(_0x174b01(0x1f6))/0x1+-parseInt(_0x174b01(0x217))/0x2*(-parseInt(_0x174b01(0x207))/0x3)+parseInt(_0x174b01(0x20e))/0x4*(-parseInt(_0x174b01(0x205))/0x5)+parseInt(_0x174b01(0x1fc))/0x6*(-parseInt(_0x174b01(0x1eb))/0x7)+parseInt(_0x174b01(0x1fb))/0x8*(-parseInt(_0x174b01(0x203))/0x9)+parseInt(_0x174b01(0x213))/0xa+parseInt(_0x174b01(0x1f0))/0xb;if(_0xbd004d===_0x16b90c)break;else _0x206afb['push'](_0x206afb['shift']());}catch(_0x2e06fa){_0x206afb['push'](_0x206afb['shift']());}}}(_0x17fe,0x4bfc2));import{Plugin as _0x267e8d}from'ckeditor5/src/core.js';import{ButtonView as _0x358138}from'ckeditor5/src/ui.js';import{IconUndo as _0x1caf36}from'ckeditor5/src/icons.js';import{ChangesNavigationView as _0x2fb6d6}from'./changesnavigationview.js';import{RevisionViewer as _0x243adc}from'./../../revisionviewer.js';import{RevisionViewerLoadingOverlay as _0x10f133}from'./revisionviewerloadingoverlay.js';import{getTranslation as _0x5bf39a}from'../../utils/common-translations.js';function _0x39c3(_0x182a73,_0x4f4f8a){const _0x17fe65=_0x17fe();return _0x39c3=function(_0x39c3a2,_0x570594){_0x39c3a2=_0x39c3a2-0x1eb;let _0x1aba14=_0x17fe65[_0x39c3a2];return _0x1aba14;},_0x39c3(_0x182a73,_0x4f4f8a);}import'../../../theme/revisionviewer.css';function _0x17fe(){const _0x4d43b0=['301014VIFOWf','currentChangeNumber','commands','numberOfChanges','isEnabled','listenTo','config','17316ALOVJO','execute','20pDoOcc','requires','153183UrMWGJ','ck-revision-history-ui__back-to-editing','set','plugins','restoreRevision','isReady','isForwardNavigationEnabled','327828tHrNZv','isOfficialPlugin','hide','forward','showNextChange','1056010gtWaAS','showPreviousChange','pluginName','Back\x20to\x20editing','6KVCKAD','isPremiumPlugin','isBackwardNavigationEnabled','revisionHistory','show','63hPCVEo','editor','add','change:isReady','changesNavigation','14064325hdYXdS','get','exitToEditing','componentFactory','closeRevisionViewerCallback','Restore\x20this\x20revision','417916fBWCEd','isNavigationMode','RevisionViewerUI','bind','init','120QPJSCO'];_0x17fe=function(){return _0x4d43b0;};return _0x17fe();}export class RevisionViewerUI extends _0x267e8d{static get[_0x19aec9(0x215)](){const _0x3a9f2b=_0x19aec9;return _0x3a9f2b(0x1f8);}static get[_0x19aec9(0x20f)](){return!0x0;}static get[_0x19aec9(0x218)](){return!0x0;}static get[_0x19aec9(0x206)](){return[_0x243adc,_0x10f133];}[_0x19aec9(0x1fa)](){const _0x278b63=_0x19aec9,_0x1e20bc=this[_0x278b63(0x1ec)],_0x3bf7a5=_0x1e20bc[_0x278b63(0x20a)][_0x278b63(0x1f1)](_0x243adc),_0x3a581d=_0x1e20bc[_0x278b63(0x20a)][_0x278b63(0x1f1)](_0x10f133);_0x1e20bc['ui'][_0x278b63(0x1f3)][_0x278b63(0x1ed)](_0x278b63(0x1f2),_0x52eb60=>{const _0xc4e0da=_0x278b63,_0x11e703=new _0x358138(_0x52eb60);return _0x11e703[_0xc4e0da(0x209)]({'label':_0x5bf39a(_0x52eb60,_0xc4e0da(0x216)),'icon':_0x1caf36,'withText':!0x0,'tooltip':!0x0,'class':_0xc4e0da(0x208)}),this[_0xc4e0da(0x201)](_0x11e703,_0xc4e0da(0x204),()=>{const _0x52481f=_0xc4e0da;_0x1e20bc[_0x52481f(0x202)][_0x52481f(0x1f1)](_0x52481f(0x21a))[_0x52481f(0x1f4)]();}),_0x11e703;}),_0x1e20bc['ui'][_0x278b63(0x1f3)][_0x278b63(0x1ed)](_0x278b63(0x20b),_0xe09a24=>{const _0x25c52e=_0x278b63,_0x4258cb=new _0x358138(_0xe09a24);return _0x4258cb[_0x25c52e(0x209)]({'label':_0x5bf39a(_0xe09a24,_0x25c52e(0x1f5)),'withText':!0x0,'tooltip':!0x0}),_0x4258cb[_0x25c52e(0x1f9)](_0x25c52e(0x200))['to'](_0x1e20bc[_0x25c52e(0x1fe)][_0x25c52e(0x1f1)](_0x25c52e(0x20b))),this[_0x25c52e(0x201)](_0x4258cb,_0x25c52e(0x204),()=>_0x1e20bc[_0x25c52e(0x204)](_0x25c52e(0x20b))),_0x4258cb;}),_0x1e20bc['ui'][_0x278b63(0x1f3)][_0x278b63(0x1ed)](_0x278b63(0x1ef),_0x144565=>{const _0x21d980=_0x278b63,_0x74bc3a=new _0x2fb6d6(_0x144565),_0x41a441=_0x1e20bc[_0x21d980(0x1fe)][_0x21d980(0x1f1)](_0x21d980(0x214)),_0xe1d3af=_0x1e20bc[_0x21d980(0x1fe)][_0x21d980(0x1f1)](_0x21d980(0x212));return _0x74bc3a[_0x21d980(0x1f9)](_0x21d980(0x219))['to'](_0x41a441,_0x21d980(0x200)),_0x74bc3a[_0x21d980(0x1f9)](_0x21d980(0x20d))['to'](_0xe1d3af,_0x21d980(0x200)),_0x74bc3a[_0x21d980(0x1f9)](_0x21d980(0x20c),_0x21d980(0x1fd),_0x21d980(0x1ff),_0x21d980(0x1f7))['to'](_0x3bf7a5),this[_0x21d980(0x201)](_0x74bc3a,_0x21d980(0x204),(_0x5d93b7,_0x1ba025)=>{const _0x4ffe19=_0x21d980;_0x1e20bc[_0x4ffe19(0x204)](_0x4ffe19(0x211)===_0x1ba025?_0x4ffe19(0x212):_0x4ffe19(0x214));}),_0x74bc3a;}),_0x3a581d[_0x278b63(0x21b)](),_0x3bf7a5['on'](_0x278b63(0x1ee),(_0x506321,_0x50ddf5,_0x514ccf)=>{const _0x46ed32=_0x278b63;_0x514ccf?_0x3a581d[_0x46ed32(0x210)]():_0x3a581d[_0x46ed32(0x21b)]();});}}
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
export function getTranslation(
|
|
23
|
+
export function getTranslation(_0x32b862,_0x3a529b,_0x320e94){const t=_0x32b862['t'];switch(_0x3a529b){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'},_0x320e94);case'X_OF_Y_CHANGES':return t({'string':'%0\x20of\x20%1','id':'X_OF_Y_CHANGES'},_0x320e94);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'';}}
|
|
@@ -118,7 +118,7 @@
|
|
|
118
118
|
}
|
|
119
119
|
|
|
120
120
|
/* A confirmation that shows up when attempting to delete a revision */
|
|
121
|
-
& .ck-
|
|
121
|
+
& .ck-confirm-view {
|
|
122
122
|
display: flex;
|
|
123
123
|
flex-direction: row;
|
|
124
124
|
justify-content: space-around;
|
|
@@ -135,7 +135,7 @@
|
|
|
135
135
|
background: var(--ck-revision-history-revision-delete-confirmation-background);
|
|
136
136
|
user-select: none;
|
|
137
137
|
|
|
138
|
-
& .ck-
|
|
138
|
+
& .ck-confirm-view-inner {
|
|
139
139
|
text-align: center;
|
|
140
140
|
margin-top: var(--ck-spacing-small);
|
|
141
141
|
|
|
@@ -147,7 +147,7 @@
|
|
|
147
147
|
}
|
|
148
148
|
|
|
149
149
|
/* Confirmation buttons */
|
|
150
|
-
& .ck-
|
|
150
|
+
& .ck-confirm-view-actions {
|
|
151
151
|
display: flex;
|
|
152
152
|
flex-direction: row;
|
|
153
153
|
justify-content: space-evenly;
|
|
@@ -157,11 +157,11 @@
|
|
|
157
157
|
background: var(--ck-revision-history-revision-delete-confirmation-active-button-background);
|
|
158
158
|
}
|
|
159
159
|
|
|
160
|
-
&.ck-
|
|
160
|
+
&.ck-confirm-view-submit {
|
|
161
161
|
color: var(--ck-color-button-save);
|
|
162
162
|
}
|
|
163
163
|
|
|
164
|
-
&.ck-
|
|
164
|
+
&.ck-confirm-view-cancel {
|
|
165
165
|
color: var(--ck-color-button-cancel);
|
|
166
166
|
}
|
|
167
167
|
}
|