@ckeditor/ckeditor5-revision-history 46.0.1-alpha.5 → 46.0.1-alpha.6
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.css +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
- package/theme/revisionssidebar/revisionssidebarheader.css +1 -1
|
@@ -20,5 +20,5 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
function
|
|
24
|
-
|
|
23
|
+
const _0x2f903b=_0x5203;function _0x2b71(){const _0x48e7c3=['set','1515408CkNOcU','_createRevisionNameInput','focusTracker','focus','37ULrXAn','fieldView','label','initializeCssTransitionDisablerMixin','element','429340ZMntGo','listenTo','revisionName','ck-revision-history-save-revision-form','input','extendTemplate','209421GfnGxZ','Name\x20of\x20the\x20revision','arrowdown','5511989GLaaAy','arrowup','3599488WsWooR','42610xtUBsJ','optional','keystrokes','10iPYJOQ','arrowleft','220','trim','value','locale','stopPropagation','1985892dlSygp','558xDXaoB','add','form','errorText','render','revisionNameInputView','revisionNameInputValue','reset','arrowright','ck-responsive-form','setTemplate'];_0x2b71=function(){return _0x48e7c3;};return _0x2b71();}(function(_0x15f978,_0x362e69){const _0x53062a=_0x5203,_0x34ddf8=_0x15f978();while(!![]){try{const _0x16edbe=-parseInt(_0x53062a(0x155))/0x1*(-parseInt(_0x53062a(0x166))/0x2)+parseInt(_0x53062a(0x160))/0x3+parseInt(_0x53062a(0x151))/0x4+parseInt(_0x53062a(0x13d))/0x5*(parseInt(_0x53062a(0x144))/0x6)+parseInt(_0x53062a(0x163))/0x7+parseInt(_0x53062a(0x165))/0x8+-parseInt(_0x53062a(0x145))/0x9*(parseInt(_0x53062a(0x15a))/0xa);if(_0x16edbe===_0x362e69)break;else _0x34ddf8['push'](_0x34ddf8['shift']());}catch(_0x524a23){_0x34ddf8['push'](_0x34ddf8['shift']());}}}(_0x2b71,0x73cfb));import{CssTransitionDisablerMixin as _0x41c045,LabeledFieldView as _0xfaed88,View as _0x11726d,createLabeledInputText as _0x15d3b2,submitHandler as _0x4febc6}from'ckeditor5/src/ui.js';import{FocusTracker as _0x2ea466,KeystrokeHandler as _0xc57f21}from'ckeditor5/src/utils.js';function _0x5203(_0x575a7b,_0x206ddf){const _0x2b7199=_0x2b71();return _0x5203=function(_0x52038a,_0x174878){_0x52038a=_0x52038a-0x13d;let _0x3ae7fc=_0x2b7199[_0x52038a];return _0x3ae7fc;},_0x5203(_0x575a7b,_0x206ddf);}import{getTranslation as _0xcbf4f}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
|
+
_0x41c045(_0x11726d){[_0x2f903b(0x153)];[_0x2f903b(0x168)];[_0x2f903b(0x14a)];constructor(_0x39742d,_0x3e791d){const _0x5b1d58=_0x2f903b;super(_0x39742d),this[_0x5b1d58(0x153)]=new _0x2ea466(),this[_0x5b1d58(0x168)]=new _0xc57f21(),this[_0x5b1d58(0x150)](_0x5b1d58(0x14b),''),this[_0x5b1d58(0x14a)]=this[_0x5b1d58(0x152)](_0x3e791d),this[_0x5b1d58(0x14f)]({'tag':_0x5b1d58(0x147),'attributes':{'class':['ck',_0x5b1d58(0x15d),_0x5b1d58(0x14e)],'tabindex':'-1'},'children':[this[_0x5b1d58(0x14a)]]}),this[_0x5b1d58(0x158)]();}[_0x2f903b(0x149)](){const _0x5aaed5=_0x2f903b;super[_0x5aaed5(0x149)](),_0x4febc6({'view':this}),this[_0x5aaed5(0x153)][_0x5aaed5(0x146)](this[_0x5aaed5(0x14a)][_0x5aaed5(0x159)]),this[_0x5aaed5(0x168)][_0x5aaed5(0x15b)](this[_0x5aaed5(0x159)]);const _0x41edd1=_0x451c6b=>_0x451c6b[_0x5aaed5(0x143)]();this[_0x5aaed5(0x168)][_0x5aaed5(0x150)](_0x5aaed5(0x14d),_0x41edd1),this[_0x5aaed5(0x168)][_0x5aaed5(0x150)](_0x5aaed5(0x13e),_0x41edd1),this[_0x5aaed5(0x168)][_0x5aaed5(0x150)](_0x5aaed5(0x164),_0x41edd1),this[_0x5aaed5(0x168)][_0x5aaed5(0x150)](_0x5aaed5(0x162),_0x41edd1);}[_0x2f903b(0x154)](){const _0x3ac57d=_0x2f903b;this[_0x3ac57d(0x14a)][_0x3ac57d(0x154)]();}get[_0x2f903b(0x15c)](){const _0x158f2a=_0x2f903b;return this[_0x158f2a(0x14a)][_0x158f2a(0x156)][_0x158f2a(0x159)][_0x158f2a(0x141)][_0x158f2a(0x140)]();}set[_0x2f903b(0x15c)](_0x563e27){const _0x3bd827=_0x2f903b;this[_0x3bd827(0x14a)][_0x3bd827(0x156)][_0x3bd827(0x159)][_0x3bd827(0x141)]=_0x563e27[_0x3bd827(0x140)]();}[_0x2f903b(0x14c)](){const _0x10d46a=_0x2f903b;this[_0x10d46a(0x14a)][_0x10d46a(0x156)][_0x10d46a(0x159)][_0x10d46a(0x141)]='',this[_0x10d46a(0x14a)][_0x10d46a(0x148)]=null;}[_0x2f903b(0x152)](_0x5d2748){const _0x200449=_0x2f903b,_0x1b1672=new _0xfaed88(this[_0x200449(0x142)],_0x15d3b2),_0x575b01=_0x1b1672[_0x200449(0x156)];_0x575b01[_0x200449(0x15f)]({'attributes':{'maxlength':_0x200449(0x13f)}});let _0x1aab08=_0xcbf4f(this[_0x200449(0x142)],_0x200449(0x161));return!_0x5d2748&&(_0x1aab08+='\x20('+_0xcbf4f(this[_0x200449(0x142)],_0x200449(0x167))+')'),(_0x1b1672[_0x200449(0x157)]=_0x1aab08,_0x575b01['on'](_0x200449(0x15e),()=>{const _0x5e938b=_0x200449;this[_0x5e938b(0x14b)]=_0x575b01[_0x5e938b(0x159)][_0x5e938b(0x141)][_0x5e938b(0x140)]();}),_0x1b1672);}}
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
const
|
|
23
|
+
const _0xc66b78=_0x1e69;(function(_0x3c45c6,_0x12054f){const _0x21eebd=_0x1e69,_0x57e7d6=_0x3c45c6();while(!![]){try{const _0x3144a7=-parseInt(_0x21eebd(0xa3))/0x1+-parseInt(_0x21eebd(0xae))/0x2*(parseInt(_0x21eebd(0xb3))/0x3)+-parseInt(_0x21eebd(0x88))/0x4+parseInt(_0x21eebd(0xc3))/0x5*(-parseInt(_0x21eebd(0x8a))/0x6)+parseInt(_0x21eebd(0x89))/0x7*(parseInt(_0x21eebd(0xc8))/0x8)+-parseInt(_0x21eebd(0xaf))/0x9+parseInt(_0x21eebd(0x98))/0xa;if(_0x3144a7===_0x12054f)break;else _0x57e7d6['push'](_0x57e7d6['shift']());}catch(_0x5a78fd){_0x57e7d6['push'](_0x57e7d6['shift']());}}}(_0x1f44,0x21781));import{Plugin as _0x5c3adc}from'ckeditor5/src/core.js';import{IconHistory as _0x82aef0}from'ckeditor5/src/icons.js';import{createDropdown as _0x5dbfc9,ButtonView as _0x47c253,ListItemView as _0x2e302c,ListView as _0x3094a5,MenuBarMenuListItemButtonView as _0x35aacf,MenuBarMenuListItemView as _0x45b8ad,MenuBarMenuListView as _0x23a83d,MenuBarMenuView as _0x101259}from'ckeditor5/src/ui.js';import{RevisionTracker as _0x507e1f}from'../../revisiontracker.js';function _0x1e69(_0x39c0c8,_0x5eb0cb){const _0x1f443c=_0x1f44();return _0x1e69=function(_0x1e69ec,_0x470daf){_0x1e69ec=_0x1e69ec-0x84;let _0x2dd8da=_0x1f443c[_0x1e69ec];return _0x2dd8da;},_0x1e69(_0x39c0c8,_0x5eb0cb);}function _0x1f44(){const _0xc8b848=['isPremiumPlugin','revisionNameInputView','saveRevision','menu','add','RevisionTracker','2WTSpxn','659223zlUmWo','Dialog','get','Save\x20current\x20revision','733452tnNFIW','reset','set','revisionHistory','bind','children','execute','isReady','editing','config','submit','hide','requires','addMany','_showDialog','menuitem','5phKEfk','The\x20revision\x20name\x20cannot\x20be\x20empty.','buttonView','focus','revisionHistory.requireRevisionName','16PAtRtO','errorText','menuBar:revisionHistory','isOpen','init','691680ZZjRSn','866103VeXcRf','582432NnKVTi','view','revisionName','show','locale','componentFactory','render','isReadOnly','Cancel','delegate','_createSaveRevisionFormView','_saveRevisionFormView','RevisionHistoryUI','role','5065080DaBjSq','isEnabled','items','plugins','editor','Open\x20revision\x20history','showRevisionViewerCallback','revisionSave','Accept','_registerMenuComponent','ck-button-action','29154MAFxHf','isOfficialPlugin','panelView','pluginName','Revision\x20history'];_0x1f44=function(){return _0xc8b848;};return _0x1f44();}import{RevisionHistorySaveRevisionFormView as _0xf93734}from'./revisionhistorysaverevisionformview.js';import{getTranslation as _0x53484}from'../../utils/common-translations.js';export class RevisionHistoryUI extends _0x5c3adc{static get[_0xc66b78(0xa6)](){const _0x2a52a2=_0xc66b78;return _0x2a52a2(0x96);}static get[_0xc66b78(0xa4)](){return!0x0;}static get[_0xc66b78(0xa8)](){return!0x0;}static get[_0xc66b78(0xbf)](){return[_0x507e1f];}[_0xc66b78(0x95)];[_0xc66b78(0x87)](){const _0x1c9de0=_0xc66b78,_0x590427=this[_0x1c9de0(0x9c)],_0x368171=_0x590427[_0x1c9de0(0x9b)][_0x1c9de0(0xb1)](_0x1c9de0(0xad));_0x590427['ui'][_0x1c9de0(0x8f)][_0x1c9de0(0xac)](_0x1c9de0(0xb6),_0x5a7280=>{const _0xf060d6=_0x1c9de0,_0x4fe375=_0x5dbfc9(_0x5a7280),_0xc6041f=_0x4fe375[_0xf060d6(0xa5)][_0xf060d6(0xb8)],_0x769df=new _0x3094a5(_0x5a7280),_0x42e2e4=new _0x2e302c(_0x5a7280),_0x3233f0=new _0x47c253(_0x5a7280),_0x133af6=new _0x2e302c(_0x5a7280),_0x429a2b=new _0x47c253(_0x5a7280);return _0x4fe375[_0xf060d6(0xb7)](_0xf060d6(0x99))['to'](_0x368171,_0xf060d6(0xba),_0x368171,_0xf060d6(0x99),_0x590427,_0xf060d6(0x91),(_0x17df75,_0x1d5ce8,_0x5a5d3c)=>_0x17df75&&_0x1d5ce8&&!_0x5a5d3c),_0x4fe375[_0xf060d6(0xc5)][_0xf060d6(0xb5)]({'icon':_0x82aef0,'label':_0x53484(_0x5a7280,_0xf060d6(0xa7)),'tooltip':!0x0}),_0x3233f0[_0xf060d6(0xb5)]({'label':_0x53484(_0x5a7280,_0xf060d6(0xb2)),'withText':!0x0,'role':_0xf060d6(0xc2)}),_0x3233f0[_0xf060d6(0xb7)](_0xf060d6(0x99))['to'](_0x368171,_0xf060d6(0xba),_0x368171,_0xf060d6(0x99),_0x590427,_0xf060d6(0x91),(_0x1912e2,_0x37a378,_0x29231c)=>_0x1912e2&&_0x37a378&&!_0x29231c),_0x3233f0['on'](_0xf060d6(0xb9),()=>this[_0xf060d6(0xc1)]()),_0x429a2b[_0xf060d6(0xb5)]({'label':_0x53484(_0x5a7280,_0xf060d6(0x9d)),'withText':!0x0,'role':_0xf060d6(0xc2)}),_0x429a2b[_0xf060d6(0xb7)](_0xf060d6(0x99))['to'](_0x368171,_0xf060d6(0xba),_0x590427,_0xf060d6(0x91),(_0x4c07a1,_0x24bfe3)=>_0x4c07a1&&!_0x24bfe3),_0x429a2b['on'](_0xf060d6(0xb9),()=>{const _0xcfe45c=_0xf060d6;_0x590427[_0xcfe45c(0xbc)][_0xcfe45c(0xb1)](_0xcfe45c(0xb6))[_0xcfe45c(0x9e)](),_0x4fe375[_0xcfe45c(0x86)]=!0x1,_0x590427[_0xcfe45c(0xbb)][_0xcfe45c(0x8b)][_0xcfe45c(0xc6)]();}),_0x42e2e4[_0xf060d6(0xb8)][_0xf060d6(0xac)](_0x3233f0),_0x133af6[_0xf060d6(0xb8)][_0xf060d6(0xac)](_0x429a2b),_0x769df[_0xf060d6(0x97)]=_0xf060d6(0xab),_0x769df[_0xf060d6(0x9a)][_0xf060d6(0xc0)]([_0x42e2e4,_0x133af6]),_0xc6041f[_0xf060d6(0xac)](_0x769df),_0x4fe375;}),_0x590427['ui'][_0x1c9de0(0x8f)][_0x1c9de0(0xac)](_0x1c9de0(0x85),()=>this[_0x1c9de0(0xa1)]());}[_0xc66b78(0xa1)](){const _0xb1215=_0xc66b78,_0x6a7889=this[_0xb1215(0x9c)],_0x132a44=_0x6a7889[_0xb1215(0x8e)],_0x4093bb=new _0x101259(_0x132a44),_0x3a2be4=new _0x23a83d(_0x132a44);_0x4093bb[_0xb1215(0xc5)][_0xb1215(0xb5)]({'icon':_0x82aef0,'label':_0x53484(_0x132a44,_0xb1215(0xa7))});const _0x5a163d=new _0x45b8ad(_0x132a44,_0x4093bb),_0x32de66=new _0x35aacf(_0x132a44);_0x32de66[_0xb1215(0xb5)]({'label':_0x53484(_0x132a44,_0xb1215(0xb2))}),_0x32de66[_0xb1215(0x93)](_0xb1215(0xb9))['to'](_0x4093bb),_0x32de66['on'](_0xb1215(0xb9),()=>{const _0x3d3a00=_0xb1215;this[_0x3d3a00(0xc1)]();}),_0x5a163d[_0xb1215(0xb8)][_0xb1215(0xac)](_0x32de66),_0x3a2be4[_0xb1215(0x9a)][_0xb1215(0xac)](_0x5a163d);const _0x53c73d=new _0x45b8ad(_0x132a44,_0x4093bb),_0x4e135c=new _0x35aacf(_0x132a44);return _0x4e135c[_0xb1215(0xb5)]({'label':_0x53484(_0x132a44,_0xb1215(0x9d))}),_0x4e135c[_0xb1215(0x93)](_0xb1215(0xb9))['to'](_0x4093bb),_0x4e135c['on'](_0xb1215(0xb9),()=>{const _0x37059b=_0xb1215;_0x6a7889[_0x37059b(0xbc)][_0x37059b(0xb1)](_0x37059b(0xb6))[_0x37059b(0x9e)]();}),_0x53c73d[_0xb1215(0xb8)][_0xb1215(0xac)](_0x4e135c),_0x3a2be4[_0xb1215(0x9a)][_0xb1215(0xac)](_0x53c73d),_0x4093bb[_0xb1215(0xa5)][_0xb1215(0xb8)][_0xb1215(0xac)](_0x3a2be4),_0x4093bb;}[_0xc66b78(0xc1)](){const _0x1313ca=_0xc66b78,_0x3e9d1a=this[_0x1313ca(0x9c)],_0x509815=_0x3e9d1a[_0x1313ca(0x8e)],_0x1ff81f=_0x3e9d1a[_0x1313ca(0x9b)][_0x1313ca(0xb1)](_0x1313ca(0xb0)),_0x311fe2=_0x3e9d1a[_0x1313ca(0x9b)][_0x1313ca(0xb1)](_0x1313ca(0xad));function _0x5e1c41(_0x3ac692){const _0x860ed4=_0x1313ca;_0x3e9d1a[_0x860ed4(0xbc)][_0x860ed4(0xb1)](_0x860ed4(0xc7))&&''===_0x3ac692[_0x860ed4(0x8c)]?_0x3ac692[_0x860ed4(0xa9)][_0x860ed4(0x84)]=_0x53484(_0x509815,_0x860ed4(0xc4)):(_0x3e9d1a[_0x860ed4(0x9b)][_0x860ed4(0xb1)](_0x507e1f)[_0x860ed4(0xaa)]({'name':_0x3ac692[_0x860ed4(0x8c)]}),_0x1ff81f[_0x860ed4(0xbe)]());}this[_0x1313ca(0x95)]||(this[_0x1313ca(0x94)](),this[_0x1313ca(0x95)]['on'](_0x1313ca(0xbd),()=>_0x5e1c41(this[_0x1313ca(0x95)]))),this[_0x1313ca(0x95)][_0x1313ca(0xb4)](),_0x1ff81f[_0x1313ca(0x8d)]({'id':_0x1313ca(0x9f),'title':_0x53484(_0x509815,_0x1313ca(0xb2)),'isModal':!0x0,'content':this[_0x1313ca(0x95)],'actionButtons':[{'label':_0x53484(_0x3e9d1a[_0x1313ca(0x8e)],_0x1313ca(0x92)),'withText':!0x0,'onExecute':()=>_0x1ff81f[_0x1313ca(0xbe)]()},{'label':_0x53484(_0x3e9d1a[_0x1313ca(0x8e)],_0x1313ca(0xa0)),'class':_0x1313ca(0xa2),'withText':!0x0,'onCreate'(_0x4329e4){const _0x2455b0=_0x1313ca;_0x4329e4[_0x2455b0(0xb7)](_0x2455b0(0x99))['to'](_0x311fe2,_0x2455b0(0xba),_0x311fe2,_0x2455b0(0x99),_0x3e9d1a,_0x2455b0(0x91),(_0x679e9f,_0x318a1f,_0x57ab84)=>_0x679e9f&&_0x318a1f&&!_0x57ab84);},'onExecute':()=>_0x5e1c41(this[_0x1313ca(0x95)])}]});}[_0xc66b78(0x94)](){const _0x2db069=_0xc66b78,_0x2743e0=this[_0x2db069(0x9c)],_0x444799=_0x2743e0[_0x2db069(0x8e)];this[_0x2db069(0x95)]=new _0xf93734(_0x444799,_0x2743e0[_0x2db069(0xbc)][_0x2db069(0xb1)](_0x2db069(0xc7))),this[_0x2db069(0x95)][_0x2db069(0x90)]();}}
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
const
|
|
23
|
+
const _0x26589f=_0x2b1e;(function(_0x2c166b,_0x47904d){const _0x31ec7f=_0x2b1e,_0x4250a4=_0x2c166b();while(!![]){try{const _0x336e22=-parseInt(_0x31ec7f(0x12f))/0x1*(-parseInt(_0x31ec7f(0x118))/0x2)+parseInt(_0x31ec7f(0x11e))/0x3+-parseInt(_0x31ec7f(0x140))/0x4*(-parseInt(_0x31ec7f(0x10f))/0x5)+-parseInt(_0x31ec7f(0x145))/0x6+-parseInt(_0x31ec7f(0x130))/0x7+parseInt(_0x31ec7f(0x11c))/0x8+-parseInt(_0x31ec7f(0x117))/0x9*(parseInt(_0x31ec7f(0x14e))/0xa);if(_0x336e22===_0x47904d)break;else _0x4250a4['push'](_0x4250a4['shift']());}catch(_0x4cfcac){_0x4250a4['push'](_0x4250a4['shift']());}}}(_0x4152,0xac631));function _0x4152(){const _0x2b00cf=['Restore\x20this\x20revision','1540rFqqOf','isSelected','getEarlierVisibleRevision','repository','_handleRevisionSetName','revisionViews','revisionHistory.revisionActions','appendChild','9LDBIGb','1924148fUTnid','getRevisionsInDiff','restoreRevisionCallback','defaultRevisionActions','8921392tMoMfH','plugins','1043847OZHsIT','_sidebarView','highlightRevisions','_createRevisionActions','name','get','focus','isPremiumPlugin','isVisible','isReady','getLaterVisibleRevision','_handleEditorDataReady','compare','isOfficialPlugin','_revisionViewer','map','compareAgainstSelected','1XPkBRT','1584716HuDwpH','requires','string','render','editor','revisionSetName','getIndex','locale','fieldView','diff','setName','element','RevisionsSidebar','revisionSelected','Compare\x20against\x20selected','selectRevision','12CaJWxE','length','listenTo','_handleRevisionSelected','assign','8453046EIsnox','_handleDiffChange','add','destroy','change:diff','data','nameRevision','init','revisionHistory','847950ZmUJWs','config','remove','select','getRevision','revisionHistory.requireRevisionName','isEnabled','action','Name\x20this\x20revision','restoreRevision','availableRevisionActions','bind','newRevisionId','_revisionsRepository','timePeriodViews','pluginName','revisionHistory.viewerSidebarContainer','ready','_revisions'];_0x4152=function(){return _0x2b00cf;};return _0x4152();}import{Plugin as _0x646ee7}from'ckeditor5/src/core.js';function _0x2b1e(_0x2c886d,_0x42f0f1){const _0x415283=_0x4152();return _0x2b1e=function(_0x2b1e82,_0x29ea13){_0x2b1e82=_0x2b1e82-0x10e;let _0x2c46cf=_0x415283[_0x2b1e82];return _0x2c46cf;},_0x2b1e(_0x2c886d,_0x42f0f1);}import{RevisionsSidebarView as _0x8713ba}from'./revisionssidebarview.js';import{RevisionViewer as _0x3eafc7}from'../../revisionviewer.js';class f extends _0x646ee7{[_0x26589f(0x12c)];[_0x26589f(0x15b)];[_0x26589f(0x11f)];static [_0x26589f(0x11b)]=[_0x26589f(0x12e),_0x26589f(0x157),_0x26589f(0x14b)];static [_0x26589f(0x158)]=(function(){const _0x41e0eb=_0x26589f;return{'compareAgainstSelected':{'name':_0x41e0eb(0x13e),'action':({plugins:i},s)=>{const _0x308768=_0x41e0eb,e=i[_0x308768(0x123)](_0x3eafc7),n=e[_0x308768(0x112)];let r=e[_0x308768(0x139)][_0x308768(0x15a)],o=s['id'];n[_0x308768(0x136)](r)>n[_0x308768(0x136)](o)&&([r,o]=[o,r]),e[_0x308768(0x12a)](r,o);},'isVisible':({plugins:i},s)=>{const _0x221bd9=_0x41e0eb,e=i[_0x221bd9(0x123)](_0x3eafc7);return!(e[_0x221bd9(0x112)][_0x221bd9(0x119)](e[_0x221bd9(0x139)])[_0x221bd9(0x141)]>0x2)&&!s[_0x221bd9(0x110)];}},'restoreRevision':{'name':_0x41e0eb(0x10e),'action':(i,{id:s})=>{const _0x348dea=_0x41e0eb;i[_0x348dea(0x14f)][_0x348dea(0x123)](_0x348dea(0x14d))[_0x348dea(0x11a)](s);},'isVisible':({plugins:i},s)=>!!i[_0x41e0eb(0x123)](_0x3eafc7)[_0x41e0eb(0x112)][_0x41e0eb(0x128)](s['id'])},'nameRevision':{'name':_0x41e0eb(0x156),'action':({plugins:i},{id:s,revisionNameView:e})=>{const _0x2ee372=_0x41e0eb,n=i[_0x2ee372(0x123)](_0x3eafc7),r=n[_0x2ee372(0x112)][_0x2ee372(0x111)](s);n[_0x2ee372(0x12a)](s,r),e[_0x2ee372(0x124)](),e[_0x2ee372(0x138)][_0x2ee372(0x151)]();}}};}());static get[_0x26589f(0x15d)](){const _0x4a1422=_0x26589f;return _0x4a1422(0x13c);}static get[_0x26589f(0x12b)](){return!0x0;}static get[_0x26589f(0x125)](){return!0x0;}static get[_0x26589f(0x131)](){return[_0x3eafc7];}constructor(_0x569702){const _0x245664=_0x26589f;super(_0x569702),this[_0x245664(0x12c)]=_0x569702[_0x245664(0x11d)][_0x245664(0x123)](_0x3eafc7),this[_0x245664(0x15b)]=this[_0x245664(0x12c)][_0x245664(0x112)],this[_0x245664(0x11f)]=null;}[_0x26589f(0x14c)](){const _0x3573b8=_0x26589f,_0x434293=this[_0x3573b8(0x15b)][_0x3573b8(0x160)],_0x5b0df6=this[_0x3573b8(0x121)](),_0x5990a3=this[_0x3573b8(0x134)][_0x3573b8(0x14f)][_0x3573b8(0x123)](_0x3573b8(0x15e));this[_0x3573b8(0x11f)]=new _0x8713ba(this[_0x3573b8(0x134)][_0x3573b8(0x137)],_0x434293,_0x5b0df6,this[_0x3573b8(0x134)][_0x3573b8(0x14f)][_0x3573b8(0x123)](_0x3573b8(0x153))),this[_0x3573b8(0x11f)]['on'](_0x3573b8(0x13d),this[_0x3573b8(0x143)][_0x3573b8(0x159)](this)),this[_0x3573b8(0x11f)]['on'](_0x3573b8(0x135),this[_0x3573b8(0x113)][_0x3573b8(0x159)](this)),this[_0x3573b8(0x11f)][_0x3573b8(0x159)](_0x3573b8(0x154))['to'](this[_0x3573b8(0x12c)]),this[_0x3573b8(0x11f)][_0x3573b8(0x15c)]['on'](_0x3573b8(0x147),(_0x1a0fbd,_0x226905)=>{const _0x19087b=_0x3573b8;_0x226905[_0x19087b(0x114)]['on'](_0x19087b(0x147),(_0x1d25b5,_0x3ce0b7)=>{const _0x1af556=_0x19087b;_0x3ce0b7[_0x1af556(0x159)](_0x1af556(0x154),_0x1af556(0x127))['to'](this[_0x1af556(0x12c)]);});}),this[_0x3573b8(0x11f)][_0x3573b8(0x133)](),this[_0x3573b8(0x142)](this[_0x3573b8(0x134)][_0x3573b8(0x14a)],_0x3573b8(0x15f),this[_0x3573b8(0x129)][_0x3573b8(0x159)](this)),this[_0x3573b8(0x142)](this[_0x3573b8(0x12c)],_0x3573b8(0x149),this[_0x3573b8(0x146)][_0x3573b8(0x159)](this)),_0x5990a3[_0x3573b8(0x116)](this[_0x3573b8(0x11f)][_0x3573b8(0x13b)]);}[_0x26589f(0x148)](){const _0x496cba=_0x26589f;this[_0x496cba(0x11f)][_0x496cba(0x13b)][_0x496cba(0x150)](),this[_0x496cba(0x11f)][_0x496cba(0x148)]();}[_0x26589f(0x129)](){const _0x1bec01=_0x26589f,_0x30daa3=this[_0x1bec01(0x15b)][_0x1bec01(0x152)](0x0);if(_0x30daa3){const _0x3984d9=this[_0x1bec01(0x15b)][_0x1bec01(0x111)](_0x30daa3['id']);this[_0x1bec01(0x12c)][_0x1bec01(0x12a)](_0x30daa3,_0x3984d9);}}[_0x26589f(0x143)](_0xaf988,_0x37c286){const _0x57b109=_0x26589f,_0x291c66=this[_0x57b109(0x15b)][_0x57b109(0x152)](_0x37c286['id']),_0x55212e=this[_0x57b109(0x15b)][_0x57b109(0x111)](_0x291c66['id']);this[_0x57b109(0x12c)][_0x57b109(0x12a)](_0x291c66,_0x55212e);}[_0x26589f(0x113)](_0x4ef717,_0x55b926){const _0x30213f=_0x26589f;this[_0x30213f(0x15b)][_0x30213f(0x152)](_0x55b926['id'])[_0x30213f(0x13a)](_0x55b926[_0x30213f(0x122)]);}[_0x26589f(0x146)](_0x5547bd,_0x5b0d75,_0x169b33){const _0x418006=_0x26589f,_0x53a272=this[_0x418006(0x15b)][_0x418006(0x119)](_0x169b33);_0x53a272[_0x418006(0x141)]>0x2?(this[_0x418006(0x11f)][_0x418006(0x120)](_0x53a272),this[_0x418006(0x11f)][_0x418006(0x13f)](null)):(this[_0x418006(0x11f)][_0x418006(0x120)]([]),this[_0x418006(0x11f)][_0x418006(0x13f)](_0x53a272[0x0]));}[_0x26589f(0x121)](){const _0x2a8f7b=_0x26589f,_0x47e04c=this[_0x2a8f7b(0x134)],_0xb70f71=f[_0x2a8f7b(0x158)],_0xea5b25=_0x47e04c[_0x2a8f7b(0x14f)][_0x2a8f7b(0x123)](_0x2a8f7b(0x115))||f[_0x2a8f7b(0x11b)];if(_0xea5b25[_0x2a8f7b(0x141)])return _0xea5b25[_0x2a8f7b(0x12d)](_0x2f131d=>{const _0x379ed2=_0x2a8f7b,_0x3f9c4f=_0x379ed2(0x132)==typeof _0x2f131d?Object[_0x379ed2(0x144)]({},_0xb70f71[_0x2f131d]):_0x2f131d;return _0x3f9c4f[_0x379ed2(0x155)]=_0x3f9c4f[_0x379ed2(0x155)][_0x379ed2(0x159)](this,_0x47e04c),_0x3f9c4f[_0x379ed2(0x126)]&&(_0x3f9c4f[_0x379ed2(0x126)]=_0x3f9c4f[_0x379ed2(0x126)][_0x379ed2(0x159)](this,_0x47e04c)),_0x3f9c4f;});}}export{f as RevisionsSidebar};
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
(function(
|
|
23
|
+
function _0x499d(){const _0x51e4b4=['2383029UAffxX','content','ck-revision-history-sidebar__header','setTemplate','Revision\x20history','ck-revision-history-sidebar__header__label','4234816AZPXIF','497508ajQFcx','64386AnoDMk','536YRvjeU','2201730QwHCNx','2384212tbbjWy','133UyZRFc','ck-reset_all','span','div','2196OFjvvB'];_0x499d=function(){return _0x51e4b4;};return _0x499d();}(function(_0x5b030d,_0x13f930){const _0x369b0c=_0x5daa,_0x321c31=_0x5b030d();while(!![]){try{const _0x24bdd6=parseInt(_0x369b0c(0xc2))/0x1*(parseInt(_0x369b0c(0xc9))/0x2)+-parseInt(_0x369b0c(0xc0))/0x3+-parseInt(_0x369b0c(0xc4))/0x4+parseInt(_0x369b0c(0xc3))/0x5+-parseInt(_0x369b0c(0xc1))/0x6*(parseInt(_0x369b0c(0xc5))/0x7)+parseInt(_0x369b0c(0xbf))/0x8+-parseInt(_0x369b0c(0xca))/0x9;if(_0x24bdd6===_0x13f930)break;else _0x321c31['push'](_0x321c31['shift']());}catch(_0x491b30){_0x321c31['push'](_0x321c31['shift']());}}}(_0x499d,0x4fff3));import{View as _0x311213,IconView as _0x3eea70}from'ckeditor5/src/ui.js';import{getTranslation as _0x570f34}from'../../utils/common-translations.js';function _0x5daa(_0x575631,_0x4ed794){const _0x499d68=_0x499d();return _0x5daa=function(_0x5daaa7,_0x4f22b7){_0x5daaa7=_0x5daaa7-0xbf;let _0x3f3e50=_0x499d68[_0x5daaa7];return _0x3f3e50;},_0x5daa(_0x575631,_0x4ed794);}import{IconHistory as _0xd9948}from'ckeditor5/src/icons.js';import'../../../theme/revisionssidebar/revisionssidebarheader.css';export class RevisionsSidebarHeaderView extends _0x311213{constructor(_0x20c4cc){const _0xb37d8c=_0x5daa;super(_0x20c4cc);const _0x1046fe=new _0x3eea70();_0x1046fe[_0xb37d8c(0xcb)]=_0xd9948,this[_0xb37d8c(0xcd)]({'tag':_0xb37d8c(0xc8),'attributes':{'class':['ck',_0xb37d8c(0xc6),_0xb37d8c(0xcc)]},'children':[_0x1046fe,{'tag':_0xb37d8c(0xc7),'attributes':{'class':['ck',_0xb37d8c(0xcf)]},'children':[_0x570f34(_0x20c4cc,_0xb37d8c(0xce))]}]});}}
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
const
|
|
23
|
+
const _0x1a3fba=_0x3839;(function(_0x3925cb,_0x5b5e53){const _0x1a4535=_0x3839,_0x17cc57=_0x3925cb();while(!![]){try{const _0x6edddc=-parseInt(_0x1a4535(0x19c))/0x1+parseInt(_0x1a4535(0x1a9))/0x2*(-parseInt(_0x1a4535(0x1a8))/0x3)+-parseInt(_0x1a4535(0x18f))/0x4+parseInt(_0x1a4535(0x19e))/0x5*(parseInt(_0x1a4535(0x1a2))/0x6)+-parseInt(_0x1a4535(0x1a7))/0x7+-parseInt(_0x1a4535(0x19a))/0x8+parseInt(_0x1a4535(0x1a0))/0x9*(parseInt(_0x1a4535(0x196))/0xa);if(_0x6edddc===_0x5b5e53)break;else _0x17cc57['push'](_0x17cc57['shift']());}catch(_0xee5842){_0x17cc57['push'](_0x17cc57['shift']());}}}(_0x3515,0x54797));import{View as _0x209762}from'ckeditor5/src/ui.js';import{RevisionView as _0x7e84e8}from'../revision/revisionview.js';import{getDateTimePeriodInfo as _0xb617af}from'./utils.js';import'../../../theme/revisionssidebar/revisionssidebartimeperiod.css';function _0x3839(_0x3f8165,_0x14c717){const _0x3515f6=_0x3515();return _0x3839=function(_0x38399a,_0x38e629){_0x38399a=_0x38399a-0x18b;let _0xdf7171=_0x3515f6[_0x38399a];return _0xdf7171;},_0x3839(_0x3f8165,_0x14c717);}function _0x3515(){const _0x4c2d11=['remove','5uLyphF','localizedPeriodName','16299018BXXFaJ','ck-revision-history-sidebar__time-period__label','1133916vEeTIF','startDate','uiLanguage','div','addRevision','892542AzAMfg','294ZjMWGf','408LWQJlR','ck-revision-history-sidebar__time-period__revisions','setTemplate','add','find','removeRevision','1878904pQDaeT','select','setName','ck-revision-history-sidebar__time-period','createCollection','_requireRevisionName','delegate','10dTfjCT','span','revisionViews','locale','3103080GlOXhs','_revisionActions','648872kSulih'];_0x3515=function(){return _0x4c2d11;};return _0x3515();}export class RevisionsSidebarTimePeriodView extends _0x209762{[_0x1a3fba(0x1a3)];[_0x1a3fba(0x198)];[_0x1a3fba(0x19b)];[_0x1a3fba(0x194)];constructor(_0x3d5534,_0x1b48dc,_0xc7b76b,_0x2887a6){const _0x170a19=_0x1a3fba;super(_0x3d5534);const _0x492c23=_0xb617af(_0x1b48dc,this[_0x170a19(0x199)][_0x170a19(0x1a4)])[_0x170a19(0x19f)];this[_0x170a19(0x1a3)]=_0x1b48dc,this[_0x170a19(0x198)]=this[_0x170a19(0x193)](),this[_0x170a19(0x19b)]=_0xc7b76b,this[_0x170a19(0x194)]=_0x2887a6,this[_0x170a19(0x198)][_0x170a19(0x195)](_0x170a19(0x190))['to'](this),this[_0x170a19(0x198)][_0x170a19(0x195)](_0x170a19(0x191))['to'](this),this[_0x170a19(0x18b)]({'tag':_0x170a19(0x1a5),'attributes':{'class':['ck',_0x170a19(0x192)]},'children':[{'tag':_0x170a19(0x197),'attributes':{'class':['ck',_0x170a19(0x1a1)]},'children':[{'text':_0x492c23}]},{'tag':_0x170a19(0x1a5),'attributes':{'class':['ck',_0x170a19(0x1aa)]},'children':this[_0x170a19(0x198)]}]});}[_0x1a3fba(0x1a6)](_0x577d6e){const _0x38c1e3=_0x1a3fba,_0x3598a9=new _0x7e84e8(this[_0x38c1e3(0x199)],_0x577d6e,this[_0x38c1e3(0x19b)],this[_0x38c1e3(0x194)]);this[_0x38c1e3(0x198)][_0x38c1e3(0x18c)](_0x3598a9);}[_0x1a3fba(0x18e)](_0x20af23){const _0x4a8805=_0x1a3fba,_0x2967af=this[_0x4a8805(0x198)][_0x4a8805(0x18d)](_0x1b3518=>_0x1b3518['id']===_0x20af23['id']);this[_0x4a8805(0x198)][_0x4a8805(0x19d)](_0x2967af);}}
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
const
|
|
23
|
+
const _0x20445b=_0x394b;(function(_0xb0bab4,_0x10e043){const _0x3af673=_0x394b,_0x8b2d3f=_0xb0bab4();while(!![]){try{const _0xf97af3=parseInt(_0x3af673(0x15b))/0x1*(-parseInt(_0x3af673(0x150))/0x2)+parseInt(_0x3af673(0x163))/0x3+parseInt(_0x3af673(0x15c))/0x4*(-parseInt(_0x3af673(0x167))/0x5)+-parseInt(_0x3af673(0x14e))/0x6*(parseInt(_0x3af673(0x144))/0x7)+parseInt(_0x3af673(0x14d))/0x8*(-parseInt(_0x3af673(0x138))/0x9)+-parseInt(_0x3af673(0x15e))/0xa+parseInt(_0x3af673(0x151))/0xb;if(_0xf97af3===_0x10e043)break;else _0x8b2d3f['push'](_0x8b2d3f['shift']());}catch(_0xf5adea){_0x8b2d3f['push'](_0x8b2d3f['shift']());}}}(_0x35f4,0x31934));import{View as _0x3a15a8}from'ckeditor5/src/ui.js';function _0x35f4(){const _0x1349f3=['removeRevision','5uCPQej','div','addRevision','ck-revision-history-sidebar__timeline','uiLanguage','highlightRevisions','_addRevision','startDate','_getTimePeriodViewByStartDate','3319713vwbhUf','flat','select','map','revisionSelected','_requireRevisionName','add','selectRevision','createdAt','ck-rounded-corners','highlight','setTemplate','578172eapRUR','revisionSetName','bindTemplate','createCollection','delegate','setName','unhighlight','ck-reset','set','8OfkABz','12THLdNb','get','2uJgXlm','15658357PBZNnS','getTime','ck-disabled','render','_revisions','_revisionActions','ck-revision-history-sidebar','locale','remove','fire','362426VIPIeN','1509240kRUesq','revisionViews','820550ZvjcrJ','_removeRevision','isEnabled','some','timePeriodViews','406239TYQNwJ','deselect','find'];_0x35f4=function(){return _0x1349f3;};return _0x35f4();}import{RevisionsSidebarTimePeriodView as _0x20d750}from'./revisionssidebartimeperiodview.js';import{RevisionsSidebarHeaderView as _0x2d26c1}from'./revisionssidebarheaderview.js';import{getDateTimePeriodInfo as _0xc5db9e}from'./utils.js';import'../../../theme/revisionssidebar/revisionssidebar.css';function _0x394b(_0x4378f2,_0x1834db){const _0x35f421=_0x35f4();return _0x394b=function(_0x394b1d,_0x4fc26f){_0x394b1d=_0x394b1d-0x138;let _0xb56524=_0x35f421[_0x394b1d];return _0xb56524;},_0x394b(_0x4378f2,_0x1834db);}export class RevisionsSidebarView extends _0x3a15a8{[_0x20445b(0x162)];[_0x20445b(0x155)];[_0x20445b(0x156)];[_0x20445b(0x13d)];constructor(_0x10fcdf,_0x2488a8,_0x512cf7,_0x3f11ba){const _0x3f472d=_0x20445b;super(_0x10fcdf);const _0x129c1a=this[_0x3f472d(0x146)];this[_0x3f472d(0x162)]=this[_0x3f472d(0x147)](),this[_0x3f472d(0x162)][_0x3f472d(0x148)](_0x3f472d(0x13a))['to'](this),this[_0x3f472d(0x162)][_0x3f472d(0x148)](_0x3f472d(0x149))['to'](this),this[_0x3f472d(0x155)]=_0x2488a8,this[_0x3f472d(0x156)]=_0x512cf7,this[_0x3f472d(0x13d)]=_0x3f11ba,this['on'](_0x3f472d(0x13a),(_0xd99fe5,_0x235e71)=>{const _0x59b0de=_0x3f472d;this[_0x59b0de(0x15a)](_0x59b0de(0x13c),_0x235e71);}),this['on'](_0x3f472d(0x149),(_0x2d45a3,_0xe3297e)=>{const _0x32ee2b=_0x3f472d;this[_0x32ee2b(0x15a)](_0x32ee2b(0x145),_0xe3297e);}),this[_0x3f472d(0x14c)](_0x3f472d(0x160),!0x1),this[_0x3f472d(0x143)]({'tag':_0x3f472d(0x168),'attributes':{'class':['ck',_0x3f472d(0x14b),_0x3f472d(0x141),_0x3f472d(0x157)]},'children':[new _0x2d26c1(_0x10fcdf),{'tag':_0x3f472d(0x168),'attributes':{'class':['ck',_0x3f472d(0x16a),_0x129c1a['if'](_0x3f472d(0x160),_0x3f472d(0x153),_0x289c09=>!_0x289c09)]},'children':this[_0x3f472d(0x162)]}]});}[_0x20445b(0x154)](){const _0x2579b5=_0x20445b;super[_0x2579b5(0x154)]();for(const _0x427822 of this[_0x2579b5(0x155)])this[_0x2579b5(0x16d)](_0x427822);this[_0x2579b5(0x155)]['on'](_0x2579b5(0x13e),(_0x5ed086,_0x53afff)=>{const _0x4b81f7=_0x2579b5;this[_0x4b81f7(0x16d)](_0x53afff);}),this[_0x2579b5(0x155)]['on'](_0x2579b5(0x159),(_0x311016,_0x5ea500)=>{const _0x18f570=_0x2579b5;this[_0x18f570(0x15f)](_0x5ea500);});}get[_0x20445b(0x15d)](){const _0x4c57b8=_0x20445b;return this[_0x4c57b8(0x162)][_0x4c57b8(0x13b)](_0x37a9f2=>_0x37a9f2[_0x4c57b8(0x15d)][_0x4c57b8(0x13b)](_0x5d1118=>_0x5d1118))[_0x4c57b8(0x139)]();}[_0x20445b(0x13f)](_0x30b7f9){const _0x3a6e2b=_0x20445b;for(const _0x941083 of this[_0x3a6e2b(0x15d)])_0x30b7f9&&_0x30b7f9['id']===_0x941083['id']?_0x941083[_0x3a6e2b(0x13a)]():_0x941083[_0x3a6e2b(0x164)]();}[_0x20445b(0x16c)](_0x1b9983){const _0x193d5c=_0x20445b;for(const _0xe4142d of this[_0x193d5c(0x15d)])_0x1b9983[_0x193d5c(0x161)](({id:_0x5ede24})=>_0x5ede24===_0xe4142d['id'])?_0xe4142d[_0x193d5c(0x142)]():_0xe4142d[_0x193d5c(0x14a)]();}[_0x20445b(0x16d)](_0x5992c8){const _0x5e9f40=_0x20445b,_0x5c1b7d=_0xc5db9e(_0x5992c8[_0x5e9f40(0x140)],this[_0x5e9f40(0x158)][_0x5e9f40(0x16b)])[_0x5e9f40(0x16e)];let _0x86c462=this[_0x5e9f40(0x162)][_0x5e9f40(0x14f)](0x0);_0x86c462&&_0x86c462[_0x5e9f40(0x16e)][_0x5e9f40(0x152)]()===_0x5c1b7d[_0x5e9f40(0x152)]()||(_0x86c462=new _0x20d750(this[_0x5e9f40(0x158)],_0x5c1b7d,this[_0x5e9f40(0x156)],this[_0x5e9f40(0x13d)]),this[_0x5e9f40(0x162)][_0x5e9f40(0x13e)](_0x86c462)),_0x86c462[_0x5e9f40(0x169)](_0x5992c8);}[_0x20445b(0x15f)](_0x5ba3b5){const _0x3b210b=_0x20445b,_0x305552=_0xc5db9e(_0x5ba3b5[_0x3b210b(0x140)],this[_0x3b210b(0x158)][_0x3b210b(0x16b)])[_0x3b210b(0x16e)];this[_0x3b210b(0x16f)](_0x305552)[_0x3b210b(0x166)](_0x5ba3b5);}[_0x20445b(0x16f)](_0x44f10d){const _0x4953d7=_0x20445b;return this[_0x4953d7(0x162)][_0x4953d7(0x165)](_0x48cbd7=>_0x48cbd7[_0x4953d7(0x16e)][_0x4953d7(0x152)]()===_0x44f10d[_0x4953d7(0x152)]());}}
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
|
|
23
|
+
(function(_0x2c37c6,_0x255183){const _0x4ae335=_0x4d58,_0x59e1a7=_0x2c37c6();while(!![]){try{const _0x220f3e=parseInt(_0x4ae335(0xc3))/0x1+-parseInt(_0x4ae335(0xb2))/0x2*(parseInt(_0x4ae335(0xc0))/0x3)+parseInt(_0x4ae335(0xc6))/0x4*(parseInt(_0x4ae335(0xae))/0x5)+-parseInt(_0x4ae335(0xb6))/0x6*(-parseInt(_0x4ae335(0xbc))/0x7)+-parseInt(_0x4ae335(0xbb))/0x8+-parseInt(_0x4ae335(0xb5))/0x9*(-parseInt(_0x4ae335(0xc4))/0xa)+-parseInt(_0x4ae335(0xb3))/0xb*(parseInt(_0x4ae335(0xba))/0xc);if(_0x220f3e===_0x255183)break;else _0x59e1a7['push'](_0x59e1a7['shift']());}catch(_0xc2b612){_0x59e1a7['push'](_0x59e1a7['shift']());}}}(_0x5bf3,0x35847));function _0x4d58(_0x20bdd9,_0x3d8da9){const _0x5bf32c=_0x5bf3();return _0x4d58=function(_0x4d580d,_0x291fd9){_0x4d580d=_0x4d580d-0xae;let _0x2f4034=_0x5bf32c[_0x4d580d];return _0x2f4034;},_0x4d58(_0x20bdd9,_0x3d8da9);}import{DateTime as _0x4c9e34}from'luxon';function _0x5bf3(){const _0x118fd0=['3UDNdMe','week','startOf','323797SFYfRO','10kavJwp','setLocale','4eMvSWz','monthLong','1356385StDVWt','local','hasSame','fromJSDate','600618FGvOlD','55uSxqxs','month','2870397NUczUn','223866KdpQOh','year','minus','toRelativeCalendar','1211124VvDKWa','1208264BLqGUZ','49Duoiud','day','weekdayLong','toJSDate'];_0x5bf3=function(){return _0x118fd0;};return _0x5bf3();}export function getDateTimePeriodInfo(_0x2c22cf,_0x1cf2d7){const _0x5c49bb=_0x4d58,_0x388092=_0x4c9e34[_0x5c49bb(0xb1)](_0x2c22cf)[_0x5c49bb(0xc5)](_0x1cf2d7),_0x57913d=_0x4c9e34[_0x5c49bb(0xaf)](),_0x7d7a2c=_0x57913d[_0x5c49bb(0xb8)]({'days':0x1})[_0x5c49bb(0xc2)](_0x5c49bb(0xbd));let _0x1b4e02,_0x5ee9d2;return _0x388092[_0x5c49bb(0xb0)](_0x57913d,_0x5c49bb(0xbd))?(_0x1b4e02=_0x388092[_0x5c49bb(0xc2)](_0x5c49bb(0xbd))[_0x5c49bb(0xbf)](),_0x5ee9d2=_0x388092[_0x5c49bb(0xb9)]()):_0x388092[_0x5c49bb(0xb0)](_0x7d7a2c,_0x5c49bb(0xbd))?(_0x1b4e02=_0x7d7a2c[_0x5c49bb(0xbf)](),_0x5ee9d2=_0x388092[_0x5c49bb(0xb9)]()):_0x388092[_0x5c49bb(0xb0)](_0x57913d,_0x5c49bb(0xc1))?(_0x1b4e02=_0x388092[_0x5c49bb(0xc2)](_0x5c49bb(0xc1))[_0x5c49bb(0xbf)](),_0x5ee9d2=_0x388092[_0x5c49bb(0xbe)]||''):_0x388092[_0x5c49bb(0xb0)](_0x57913d,_0x5c49bb(0xb7))?(_0x1b4e02=_0x388092[_0x5c49bb(0xc2)](_0x5c49bb(0xb4))[_0x5c49bb(0xbf)](),_0x5ee9d2=_0x388092[_0x5c49bb(0xc7)]||''):(_0x1b4e02=_0x388092[_0x5c49bb(0xc2)](_0x5c49bb(0xb7))[_0x5c49bb(0xbf)](),_0x5ee9d2=String(_0x388092[_0x5c49bb(0xb7)])),{'startDate':_0x1b4e02,'localizedPeriodName':_0x5ee9d2};}
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
const
|
|
23
|
+
const _0x52b92c=_0x5cc8;function _0x29db(){const _0xd8de9e=['setTemplate','16910TivwSX','name','add','5IssKTh','changeId','Removed\x20by','data','type','1181605mbvRCa','isSuggestion','49514NXrUuL','ck-revision-change__','135513USGSyr','Added\x20by','set','_model','ck-annotation','ck-revision-change__label','8wpjfgo','span','3548916TQsDbW','183300BjCzFj','bindTemplate','4382ickxbw','element','654GlpzRl','473XkQLvP','focus','ck-revision-change','Suggested\x20by','div','author','32OFsFfM'];_0x29db=function(){return _0xd8de9e;};return _0x29db();}(function(_0x14b2cc,_0x2e785e){const _0x1a2d40=_0x5cc8,_0x17633d=_0x14b2cc();while(!![]){try{const _0x17872c=-parseInt(_0x1a2d40(0x117))/0x1*(-parseInt(_0x1a2d40(0xfc))/0x2)+parseInt(_0x1a2d40(0x107))/0x3*(parseInt(_0x1a2d40(0x104))/0x4)+parseInt(_0x1a2d40(0xfa))/0x5+-parseInt(_0x1a2d40(0x10b))/0x6*(-parseInt(_0x1a2d40(0x109))/0x7)+parseInt(_0x1a2d40(0x112))/0x8*(-parseInt(_0x1a2d40(0xfe))/0x9)+parseInt(_0x1a2d40(0x114))/0xa*(-parseInt(_0x1a2d40(0x10c))/0xb)+-parseInt(_0x1a2d40(0x106))/0xc;if(_0x17872c===_0x2e785e)break;else _0x17633d['push'](_0x17633d['shift']());}catch(_0x51eb7f){_0x17633d['push'](_0x17633d['shift']());}}}(_0x29db,0x1dc00));import{View as _0x5e007f}from'ckeditor5/src/ui.js';function _0x5cc8(_0x5141f5,_0xcf7ead){const _0x29dba5=_0x29db();return _0x5cc8=function(_0x5cc8c8,_0x194530){_0x5cc8c8=_0x5cc8c8-0xfa;let _0x5d2bed=_0x29dba5[_0x5cc8c8];return _0x5d2bed;},_0x5cc8(_0x5141f5,_0xcf7ead);}import{getTranslation as _0x52de59}from'../../utils/common-translations.js';export class ChangeDetailsView extends _0x5e007f{[_0x52b92c(0x118)];[_0x52b92c(0x101)];constructor(_0xa93600,_0x350e7f){const _0x5af1db=_0x52b92c;super(_0xa93600),this[_0x5af1db(0x101)]=_0x350e7f,this[_0x5af1db(0x118)]=_0x350e7f['id'];const _0x1d2c57=this[_0x5af1db(0x108)],_0x4a584a=_0x52de59(_0xa93600,_0x350e7f[_0x5af1db(0x11a)][_0x5af1db(0xfb)]?_0x5af1db(0x10f):_0x5af1db(0x116)==_0x350e7f[_0x5af1db(0x11b)]?_0x5af1db(0xff):_0x5af1db(0x119));this[_0x5af1db(0x100)](_0x5af1db(0x11b),_0x350e7f[_0x5af1db(0x11b)]),this[_0x5af1db(0x113)]({'tag':_0x5af1db(0x110),'attributes':{'class':[_0x5af1db(0x102),_0x5af1db(0x10e),_0x1d2c57['to'](_0x5af1db(0x11b),_0x140984=>_0x5af1db(0xfd)+_0x140984)],'tabindex':-0x1},'children':[{'tag':_0x5af1db(0x105),'children':[{'tag':_0x5af1db(0x105),'attributes':{'class':[_0x5af1db(0x103)]},'children':[{'text':_0x4a584a}]},{'text':'\x20'+_0x350e7f[_0x5af1db(0x111)][_0x5af1db(0x115)]}]}]});}[_0x52b92c(0x10d)](){const _0x346973=_0x52b92c;this[_0x346973(0x10a)][_0x346973(0x10d)]();}}
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
|
|
23
|
+
(function(_0x4a96e3,_0x282cb5){const _0x69ce0c=_0x9bca,_0x432b98=_0x4a96e3();while(!![]){try{const _0x2ee910=-parseInt(_0x69ce0c(0x147))/0x1*(-parseInt(_0x69ce0c(0x124))/0x2)+parseInt(_0x69ce0c(0x142))/0x3*(parseInt(_0x69ce0c(0x13d))/0x4)+parseInt(_0x69ce0c(0x137))/0x5+-parseInt(_0x69ce0c(0x12b))/0x6*(-parseInt(_0x69ce0c(0x129))/0x7)+parseInt(_0x69ce0c(0x146))/0x8+parseInt(_0x69ce0c(0x139))/0x9+-parseInt(_0x69ce0c(0x135))/0xa;if(_0x2ee910===_0x282cb5)break;else _0x432b98['push'](_0x432b98['shift']());}catch(_0x1ba35e){_0x432b98['push'](_0x432b98['shift']());}}}(_0xba11,0x9e00e));function _0x9bca(_0x1983e9,_0x2f4c3b){const _0xba1177=_0xba11();return _0x9bca=function(_0x9bcae,_0x7084c9){_0x9bcae=_0x9bcae-0x11f;let _0x5d718c=_0xba1177[_0x9bcae];return _0x5d718c;},_0x9bca(_0x1983e9,_0x2f4c3b);}import{View as _0x141d43,ButtonView as _0x278493,ToolbarSeparatorView as _0x22fe96}from'ckeditor5/src/ui.js';import{IconChevronUp as _0x5556fd,IconChevronDown as _0x2c6e8e}from'ckeditor5/src/icons.js';import{getTranslation as _0x169675}from'../../utils/common-translations.js';import'../../../theme/changesnavigation.css';function _0xba11(){const _0x3c1693=['62732hPmFqV','Total','ck-revision-history-ui__changes-navigation__wrapper','bindTemplate','isReady','165wOxrnI','X_OF_Y_CHANGES','div','currentChangeNumber','3491656oGGzhm','1JpfwpG','isNavigationMode','isEnabled','setTemplate','ck-revision-history-ui__changes-navigation__label','isForwardNavigationEnabled','numberOfChanges','NUMBER_OF_CHANGES','2004352OBRDwr','bind','forward','set','Show\x20next\x20change','5425rNLwTt','Show\x20previous\x20change','8310dqxoej','span','_isStatusLabelVisible','_statusText','ck-revision-history-ui__changes-navigation','execute','ck-revision-history-ui__changes-navigation__navigation','backward','fire','isBackwardNavigationEnabled','37101330ycmJBX','Loading...','4683865aRzMJX','ck-revision-history-ui','413721FWmGxr','ck-hidden','EDIT_X_OF_Y_REVISIONS','No\x20changes'];_0xba11=function(){return _0x3c1693;};return _0xba11();}export class ChangesNavigationView extends _0x141d43{constructor(_0x2d8692){const _0x42008f=_0x9bca;super(_0x2d8692);const _0x42bdcf=this[_0x42008f(0x140)],_0x3a6214=new _0x278493(_0x2d8692),_0x21ae8e=new _0x278493(_0x2d8692);this[_0x42008f(0x127)](_0x42008f(0x148),!0x1),this[_0x42008f(0x127)](_0x42008f(0x141),!0x1),this[_0x42008f(0x127)](_0x42008f(0x145),0x0),this[_0x42008f(0x127)](_0x42008f(0x122),0x0),this[_0x42008f(0x127)](_0x42008f(0x121),!0x1),this[_0x42008f(0x127)](_0x42008f(0x134),!0x1),this[_0x42008f(0x125)](_0x42008f(0x12d))['to'](this,_0x42008f(0x141),this,_0x42008f(0x122),(_0x205287,_0x5f5879)=>_0x205287&&_0x5f5879>0x0),this[_0x42008f(0x125)](_0x42008f(0x12e))['to'](this,_0x42008f(0x141),this,_0x42008f(0x145),this,_0x42008f(0x122),this,_0x42008f(0x148),(_0x2e43e7,_0x5c1dd5,_0x466a9a,_0x7697b6)=>{const _0x6b0db0=_0x42008f;if(!_0x2e43e7)return _0x169675(_0x2d8692,_0x6b0db0(0x136));if(!_0x466a9a)return _0x169675(_0x2d8692,_0x6b0db0(0x13c));const _0x20c047=_0x169675(_0x2d8692,_0x6b0db0(0x123),_0x466a9a);return _0x7697b6?_0x169675(_0x2d8692,_0x6b0db0(0x143),[_0x5c1dd5+0x1,_0x466a9a]):_0x20c047;}),_0x3a6214[_0x42008f(0x127)]({'label':_0x169675(_0x2d8692,_0x42008f(0x12a)),'tooltip':!0x0,'icon':_0x5556fd}),_0x21ae8e[_0x42008f(0x127)]({'label':_0x169675(_0x2d8692,_0x42008f(0x128)),'tooltip':!0x0,'icon':_0x2c6e8e}),_0x3a6214[_0x42008f(0x125)](_0x42008f(0x149))['to'](this,_0x42008f(0x134)),_0x21ae8e[_0x42008f(0x125)](_0x42008f(0x149))['to'](this,_0x42008f(0x121)),_0x3a6214['on'](_0x42008f(0x130),()=>this[_0x42008f(0x133)](_0x42008f(0x130),_0x42008f(0x132))),_0x21ae8e['on'](_0x42008f(0x130),()=>this[_0x42008f(0x133)](_0x42008f(0x130),_0x42008f(0x126))),this[_0x42008f(0x11f)]({'tag':_0x42008f(0x144),'attributes':{'class':['ck',_0x42008f(0x138),_0x42008f(0x12f)]},'children':[{'tag':_0x42008f(0x12c),'attributes':{'class':[_0x42008f(0x13f)]},'children':[{'tag':_0x42008f(0x12c),'attributes':{'class':[_0x42008f(0x120),_0x42bdcf['if'](_0x42008f(0x12d),_0x42008f(0x13a),_0x18c2cf=>!_0x18c2cf)]},'children':[{'text':_0x42bdcf['to'](_0x42008f(0x148),_0x5cf4ad=>_0x5cf4ad?_0x169675(_0x2d8692,_0x42008f(0x13b))+':\x20':_0x169675(_0x2d8692,_0x42008f(0x13e))+':\x20')}]},{'text':_0x42bdcf['to'](_0x42008f(0x12e))}]},new _0x22fe96(),{'tag':_0x42008f(0x144),'attributes':{'class':[_0x42008f(0x131)]},'children':[_0x3a6214,_0x21ae8e]}]});}}
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
const
|
|
23
|
+
const _0x35b0ef=_0x11aa;function _0x1f30(){const _0x38903e=['1474prnuMz','3793445BqRdSA','removeClass','3212952MutfbE','118507IDAZpE','6QKlXbi','document','hide','show','view','30464746tfoIUO','28JhUnzN','isPremiumPlugin','243150nbWAAh','addClass','40cZiWCu','154QytbZo','isOfficialPlugin','editor','editing','ck-editor__editable__loading-overlay','RevisionViewerLoadingOverlay','1524717OAdpwk','pluginName','50390DidTPY','roots','12XQTKAw','change'];_0x1f30=function(){return _0x38903e;};return _0x1f30();}(function(_0x20de17,_0x34df52){const _0x32776c=_0x11aa,_0x5d0d05=_0x20de17();while(!![]){try{const _0x4673b4=parseInt(_0x32776c(0x89))/0x1*(-parseInt(_0x32776c(0x90))/0x2)+parseInt(_0x32776c(0x8a))/0x3*(-parseInt(_0x32776c(0x88))/0x4)+parseInt(_0x32776c(0x86))/0x5+parseInt(_0x32776c(0x92))/0x6*(parseInt(_0x32776c(0x95))/0x7)+-parseInt(_0x32776c(0x94))/0x8*(-parseInt(_0x32776c(0x7f))/0x9)+-parseInt(_0x32776c(0x81))/0xa*(parseInt(_0x32776c(0x85))/0xb)+parseInt(_0x32776c(0x83))/0xc*(parseInt(_0x32776c(0x8f))/0xd);if(_0x4673b4===_0x34df52)break;else _0x5d0d05['push'](_0x5d0d05['shift']());}catch(_0x2966f9){_0x5d0d05['push'](_0x5d0d05['shift']());}}}(_0x1f30,0xdbb6a));import{Plugin as _0x37e377}from'ckeditor5/src/core.js';function _0x11aa(_0x8bffe4,_0x4188db){const _0x1f3051=_0x1f30();return _0x11aa=function(_0x11aa3b,_0x34b46d){_0x11aa3b=_0x11aa3b-0x7b;let _0x1409ec=_0x1f3051[_0x11aa3b];return _0x1409ec;},_0x11aa(_0x8bffe4,_0x4188db);}const oe=_0x35b0ef(0x7d);import'../../../theme/revisionviewerloadingoverlay.css';export class RevisionViewerLoadingOverlay extends _0x37e377{static get[_0x35b0ef(0x80)](){const _0x5192f0=_0x35b0ef;return _0x5192f0(0x7e);}static get[_0x35b0ef(0x96)](){return!0x0;}static get[_0x35b0ef(0x91)](){return!0x0;}[_0x35b0ef(0x8d)](){const _0x5b9b20=_0x35b0ef,_0x11b1f0=this[_0x5b9b20(0x7b)][_0x5b9b20(0x7c)][_0x5b9b20(0x8e)];_0x11b1f0[_0x5b9b20(0x84)](_0x1b9b2c=>{const _0x44a76b=_0x5b9b20;for(const _0x283da9 of _0x11b1f0[_0x44a76b(0x8b)][_0x44a76b(0x82)])_0x1b9b2c[_0x44a76b(0x93)](oe,_0x283da9);});}[_0x35b0ef(0x8c)](){const _0x31dea4=_0x35b0ef,_0x1fc8cb=this[_0x31dea4(0x7b)][_0x31dea4(0x7c)][_0x31dea4(0x8e)];_0x1fc8cb[_0x31dea4(0x84)](_0x47ec3d=>{const _0x1a90fc=_0x31dea4;for(const _0x574dc1 of _0x1fc8cb[_0x1a90fc(0x8b)][_0x1a90fc(0x82)])_0x47ec3d[_0x1a90fc(0x87)](oe,_0x574dc1);});}}
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
const
|
|
23
|
+
const _0x59952e=_0xd2f3;(function(_0x134260,_0x3429f8){const _0x4a3ece=_0xd2f3,_0xd3747=_0x134260();while(!![]){try{const _0x259e88=parseInt(_0x4a3ece(0x1a7))/0x1+-parseInt(_0x4a3ece(0x1a0))/0x2+parseInt(_0x4a3ece(0x191))/0x3*(-parseInt(_0x4a3ece(0x198))/0x4)+parseInt(_0x4a3ece(0x1b1))/0x5+-parseInt(_0x4a3ece(0x1b4))/0x6*(-parseInt(_0x4a3ece(0x1a8))/0x7)+parseInt(_0x4a3ece(0x1ac))/0x8*(parseInt(_0x4a3ece(0x19d))/0x9)+-parseInt(_0x4a3ece(0x1af))/0xa;if(_0x259e88===_0x3429f8)break;else _0xd3747['push'](_0xd3747['shift']());}catch(_0x5d250f){_0xd3747['push'](_0xd3747['shift']());}}}(_0x4568,0x5d9f3));import{Plugin as _0x59a113}from'ckeditor5/src/core.js';function _0xd2f3(_0x1db3c7,_0x1caf96){const _0x456878=_0x4568();return _0xd2f3=function(_0xd2f32a,_0x215f3e){_0xd2f32a=_0xd2f32a-0x18d;let _0x26e820=_0x456878[_0xd2f32a];return _0x26e820;},_0xd2f3(_0x1db3c7,_0x1caf96);}import{ButtonView as _0x416334}from'ckeditor5/src/ui.js';import{IconUndo as _0x45596f}from'ckeditor5/src/icons.js';import{ChangesNavigationView as _0x304e65}from'./changesnavigationview.js';import{RevisionViewer as _0xe11b25}from'./../../revisionviewer.js';function _0x4568(){const _0x1aeb3f=['restoreRevision','commands','add','change:isReady','749420cTTexw','14DjnMjz','init','isReady','editor','1096912OVqGLQ','isPremiumPlugin','hide','6339300LyFMbj','isForwardNavigationEnabled','3788830ajbQvl','execute','show','1048374LoEnsI','isEnabled','showPreviousChange','isBackwardNavigationEnabled','numberOfChanges','exitToEditing','get','RevisionViewerUI','ck-revision-history-ui__back-to-editing','revisionHistory','set','changesNavigation','Restore\x20this\x20revision','12459FVsWdt','componentFactory','plugins','requires','forward','bind','isOfficialPlugin','668egISfF','isNavigationMode','currentChangeNumber','Back\x20to\x20editing','config','9PRzAdo','listenTo','pluginName','565604OUFYjw','showNextChange','closeRevisionViewerCallback'];_0x4568=function(){return _0x1aeb3f;};return _0x4568();}import{RevisionViewerLoadingOverlay as _0x20c766}from'./revisionviewerloadingoverlay.js';import{getTranslation as _0x3d50ee}from'../../utils/common-translations.js';import'../../../theme/revisionviewer.css';export class RevisionViewerUI extends _0x59a113{static get[_0x59952e(0x19f)](){const _0x21cb94=_0x59952e;return _0x21cb94(0x1bb);}static get[_0x59952e(0x197)](){return!0x0;}static get[_0x59952e(0x1ad)](){return!0x0;}static get[_0x59952e(0x194)](){return[_0xe11b25,_0x20c766];}[_0x59952e(0x1a9)](){const _0xdaa652=_0x59952e,_0x446d18=this[_0xdaa652(0x1ab)],_0xbd64b9=_0x446d18[_0xdaa652(0x193)][_0xdaa652(0x1ba)](_0xe11b25),_0x560e9c=_0x446d18[_0xdaa652(0x193)][_0xdaa652(0x1ba)](_0x20c766);_0x446d18['ui'][_0xdaa652(0x192)][_0xdaa652(0x1a5)](_0xdaa652(0x1b9),_0x118251=>{const _0x3413fc=_0xdaa652,_0x1ce730=new _0x416334(_0x118251);return _0x1ce730[_0x3413fc(0x18e)]({'label':_0x3d50ee(_0x118251,_0x3413fc(0x19b)),'icon':_0x45596f,'withText':!0x0,'tooltip':!0x0,'class':_0x3413fc(0x1bc)}),this[_0x3413fc(0x19e)](_0x1ce730,_0x3413fc(0x1b2),()=>{const _0x307627=_0x3413fc;_0x446d18[_0x307627(0x19c)][_0x307627(0x1ba)](_0x307627(0x18d))[_0x307627(0x1a2)]();}),_0x1ce730;}),_0x446d18['ui'][_0xdaa652(0x192)][_0xdaa652(0x1a5)](_0xdaa652(0x1a3),_0x3b3081=>{const _0x13d173=_0xdaa652,_0x5e3dad=new _0x416334(_0x3b3081);return _0x5e3dad[_0x13d173(0x18e)]({'label':_0x3d50ee(_0x3b3081,_0x13d173(0x190)),'withText':!0x0,'tooltip':!0x0}),_0x5e3dad[_0x13d173(0x196)](_0x13d173(0x1b5))['to'](_0x446d18[_0x13d173(0x1a4)][_0x13d173(0x1ba)](_0x13d173(0x1a3))),this[_0x13d173(0x19e)](_0x5e3dad,_0x13d173(0x1b2),()=>_0x446d18[_0x13d173(0x1b2)](_0x13d173(0x1a3))),_0x5e3dad;}),_0x446d18['ui'][_0xdaa652(0x192)][_0xdaa652(0x1a5)](_0xdaa652(0x18f),_0x459a7c=>{const _0x5335c3=_0xdaa652,_0x47c9e8=new _0x304e65(_0x459a7c),_0x19a31d=_0x446d18[_0x5335c3(0x1a4)][_0x5335c3(0x1ba)](_0x5335c3(0x1b6)),_0x116dab=_0x446d18[_0x5335c3(0x1a4)][_0x5335c3(0x1ba)](_0x5335c3(0x1a1));return _0x47c9e8[_0x5335c3(0x196)](_0x5335c3(0x1b7))['to'](_0x19a31d,_0x5335c3(0x1b5)),_0x47c9e8[_0x5335c3(0x196)](_0x5335c3(0x1b0))['to'](_0x116dab,_0x5335c3(0x1b5)),_0x47c9e8[_0x5335c3(0x196)](_0x5335c3(0x1aa),_0x5335c3(0x19a),_0x5335c3(0x1b8),_0x5335c3(0x199))['to'](_0xbd64b9),this[_0x5335c3(0x19e)](_0x47c9e8,_0x5335c3(0x1b2),(_0x263416,_0x1021f5)=>{const _0x122171=_0x5335c3;_0x446d18[_0x122171(0x1b2)](_0x122171(0x195)===_0x1021f5?_0x122171(0x1a1):_0x122171(0x1b6));}),_0x47c9e8;}),_0x560e9c[_0xdaa652(0x1b3)](),_0xbd64b9['on'](_0xdaa652(0x1a6),(_0x5563d8,_0x4de8d8,_0x20b587)=>{const _0x19bfa2=_0xdaa652;_0x20b587?_0x560e9c[_0x19bfa2(0x1ae)]():_0x560e9c[_0x19bfa2(0x1b3)]();});}}
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
export function getTranslation(
|
|
23
|
+
export function getTranslation(_0xd0fe3b,_0x20c74,_0x34ac02){const t=_0xd0fe3b['t'];switch(_0x20c74){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'},_0x34ac02);case'X_OF_Y_CHANGES':return t({'string':'%0\x20of\x20%1','id':'X_OF_Y_CHANGES'},_0x34ac02);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'';}}
|
|
@@ -26,7 +26,7 @@
|
|
|
26
26
|
- `2 * var(--ck-spacing-small)` <- Additional margin for all elements inside the toolbar.
|
|
27
27
|
- `1px` <- Top border.
|
|
28
28
|
|
|
29
|
-
See https://github.com/
|
|
29
|
+
See https://github.com/ckeditor/ckeditor5-commercial/issues/6929.
|
|
30
30
|
*/
|
|
31
31
|
--header-height: max(
|
|
32
32
|
calc(var(--ck-ui-component-min-height) + 2 * var(--ck-spacing-small) + 1px),
|