@ckeditor/ckeditor5-revision-history 46.1.0 → 46.1.1-alpha.1
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/build/revision-history.js +1 -1
- package/dist/index.js +7 -7
- package/dist/translations/af.js +1 -1
- package/dist/translations/af.umd.js +1 -1
- package/dist/translations/ar.js +1 -1
- package/dist/translations/ar.umd.js +1 -1
- package/dist/translations/ast.js +1 -1
- package/dist/translations/ast.umd.js +1 -1
- package/dist/translations/az.js +1 -1
- package/dist/translations/az.umd.js +1 -1
- package/dist/translations/be.js +1 -1
- package/dist/translations/be.umd.js +1 -1
- package/dist/translations/bg.js +1 -1
- package/dist/translations/bg.umd.js +1 -1
- package/dist/translations/bn.js +1 -1
- package/dist/translations/bn.umd.js +1 -1
- package/dist/translations/bs.js +1 -1
- package/dist/translations/bs.umd.js +1 -1
- package/dist/translations/ca.js +1 -1
- package/dist/translations/ca.umd.js +1 -1
- package/dist/translations/cs.js +1 -1
- package/dist/translations/cs.umd.js +1 -1
- package/dist/translations/da.js +1 -1
- package/dist/translations/da.umd.js +1 -1
- package/dist/translations/de-ch.js +1 -1
- package/dist/translations/de-ch.umd.js +1 -1
- package/dist/translations/de.js +1 -1
- package/dist/translations/de.umd.js +1 -1
- package/dist/translations/el.js +1 -1
- package/dist/translations/el.umd.js +1 -1
- package/dist/translations/en-au.js +1 -1
- package/dist/translations/en-au.umd.js +1 -1
- package/dist/translations/en-gb.js +1 -1
- package/dist/translations/en-gb.umd.js +1 -1
- package/dist/translations/en.js +1 -1
- package/dist/translations/en.umd.js +1 -1
- package/dist/translations/eo.js +1 -1
- package/dist/translations/eo.umd.js +1 -1
- package/dist/translations/es-co.js +1 -1
- package/dist/translations/es-co.umd.js +1 -1
- package/dist/translations/es.js +1 -1
- package/dist/translations/es.umd.js +1 -1
- package/dist/translations/et.js +1 -1
- package/dist/translations/et.umd.js +1 -1
- package/dist/translations/eu.js +1 -1
- package/dist/translations/eu.umd.js +1 -1
- package/dist/translations/fa.js +1 -1
- package/dist/translations/fa.umd.js +1 -1
- package/dist/translations/fi.js +1 -1
- package/dist/translations/fi.umd.js +1 -1
- package/dist/translations/fr.js +1 -1
- package/dist/translations/fr.umd.js +1 -1
- package/dist/translations/gl.js +1 -1
- package/dist/translations/gl.umd.js +1 -1
- package/dist/translations/gu.js +1 -1
- package/dist/translations/gu.umd.js +1 -1
- package/dist/translations/he.js +1 -1
- package/dist/translations/he.umd.js +1 -1
- package/dist/translations/hi.js +1 -1
- package/dist/translations/hi.umd.js +1 -1
- package/dist/translations/hr.js +1 -1
- package/dist/translations/hr.umd.js +1 -1
- package/dist/translations/hu.js +1 -1
- package/dist/translations/hu.umd.js +1 -1
- package/dist/translations/hy.js +1 -1
- package/dist/translations/hy.umd.js +1 -1
- package/dist/translations/id.js +1 -1
- package/dist/translations/id.umd.js +1 -1
- package/dist/translations/it.js +1 -1
- package/dist/translations/it.umd.js +1 -1
- package/dist/translations/ja.js +1 -1
- package/dist/translations/ja.umd.js +1 -1
- package/dist/translations/jv.js +1 -1
- package/dist/translations/jv.umd.js +1 -1
- package/dist/translations/kk.js +1 -1
- package/dist/translations/kk.umd.js +1 -1
- package/dist/translations/km.js +1 -1
- package/dist/translations/km.umd.js +1 -1
- package/dist/translations/kn.js +1 -1
- package/dist/translations/kn.umd.js +1 -1
- package/dist/translations/ko.js +1 -1
- package/dist/translations/ko.umd.js +1 -1
- package/dist/translations/ku.js +1 -1
- package/dist/translations/ku.umd.js +1 -1
- package/dist/translations/lt.js +1 -1
- package/dist/translations/lt.umd.js +1 -1
- package/dist/translations/lv.js +1 -1
- package/dist/translations/lv.umd.js +1 -1
- package/dist/translations/ms.js +1 -1
- package/dist/translations/ms.umd.js +1 -1
- package/dist/translations/nb.js +1 -1
- package/dist/translations/nb.umd.js +1 -1
- package/dist/translations/ne.js +1 -1
- package/dist/translations/ne.umd.js +1 -1
- package/dist/translations/nl.js +1 -1
- package/dist/translations/nl.umd.js +1 -1
- package/dist/translations/no.js +1 -1
- package/dist/translations/no.umd.js +1 -1
- package/dist/translations/oc.js +1 -1
- package/dist/translations/oc.umd.js +1 -1
- package/dist/translations/pl.js +1 -1
- package/dist/translations/pl.umd.js +1 -1
- package/dist/translations/pt-br.js +1 -1
- package/dist/translations/pt-br.umd.js +1 -1
- package/dist/translations/pt.js +1 -1
- package/dist/translations/pt.umd.js +1 -1
- package/dist/translations/ro.js +1 -1
- package/dist/translations/ro.umd.js +1 -1
- package/dist/translations/ru.js +1 -1
- package/dist/translations/ru.umd.js +1 -1
- package/dist/translations/si.js +1 -1
- package/dist/translations/si.umd.js +1 -1
- package/dist/translations/sk.js +1 -1
- package/dist/translations/sk.umd.js +1 -1
- package/dist/translations/sl.js +1 -1
- package/dist/translations/sl.umd.js +1 -1
- package/dist/translations/sq.js +1 -1
- package/dist/translations/sq.umd.js +1 -1
- package/dist/translations/sr-latn.js +1 -1
- package/dist/translations/sr-latn.umd.js +1 -1
- package/dist/translations/sr.js +1 -1
- package/dist/translations/sr.umd.js +1 -1
- package/dist/translations/sv.js +1 -1
- package/dist/translations/sv.umd.js +1 -1
- package/dist/translations/th.js +1 -1
- package/dist/translations/th.umd.js +1 -1
- package/dist/translations/ti.js +1 -1
- package/dist/translations/ti.umd.js +1 -1
- package/dist/translations/tk.js +1 -1
- package/dist/translations/tk.umd.js +1 -1
- package/dist/translations/tr.js +1 -1
- package/dist/translations/tr.umd.js +1 -1
- package/dist/translations/tt.js +1 -1
- package/dist/translations/tt.umd.js +1 -1
- package/dist/translations/ug.js +1 -1
- package/dist/translations/ug.umd.js +1 -1
- package/dist/translations/uk.js +1 -1
- package/dist/translations/uk.umd.js +1 -1
- package/dist/translations/ur.js +1 -1
- package/dist/translations/ur.umd.js +1 -1
- package/dist/translations/uz.js +1 -1
- package/dist/translations/uz.umd.js +1 -1
- package/dist/translations/vi.js +1 -1
- package/dist/translations/vi.umd.js +1 -1
- package/dist/translations/zh-cn.js +1 -1
- package/dist/translations/zh-cn.umd.js +1 -1
- package/dist/translations/zh.js +1 -1
- package/dist/translations/zh.umd.js +1 -1
- package/package.json +12 -11
- package/src/changeitem.js +2 -2
- package/src/editor/revisionviewereditor.d.ts +1 -1
- 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.d.ts +1 -1
- package/src/ui/revision/revisionview.js +2 -2
- package/src/ui/revision/subrevisioncollapserview.js +1 -1
- package/src/ui/revision/subrevisionview.js +1 -1
- package/src/ui/revision/utils.js +1 -1
- package/src/ui/revisionhistory/revisionhistorysaverevisionformview.js +2 -2
- package/src/ui/revisionhistory/revisionhistoryui.js +1 -1
- package/src/ui/revisionssidebar/revisionssidebar.js +1 -1
- package/src/ui/revisionssidebar/revisionssidebarheaderview.js +1 -1
- package/src/ui/revisionssidebar/revisionssidebartimeperiodview.js +1 -1
- package/src/ui/revisionssidebar/revisionssidebarview.js +1 -1
- package/src/ui/revisionssidebar/utils.js +1 -1
- package/src/ui/revisionviewer/changedetailsview.js +1 -1
- package/src/ui/revisionviewer/changesnavigationview.js +1 -1
- package/src/ui/revisionviewer/revisionviewerloadingoverlay.js +1 -1
- package/src/ui/revisionviewer/revisionviewerui.js +1 -1
- package/src/utils/common-translations.js +1 -1
|
@@ -20,5 +20,5 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
const
|
|
24
|
-
|
|
23
|
+
const _0x5ab127=_0x123d;(function(_0x4165ed,_0x5809b8){const _0x29773f=_0x123d,_0x83a27=_0x4165ed();while(!![]){try{const _0x463f62=parseInt(_0x29773f(0x1d9))/0x1*(parseInt(_0x29773f(0x1d2))/0x2)+parseInt(_0x29773f(0x1df))/0x3*(-parseInt(_0x29773f(0x1fa))/0x4)+parseInt(_0x29773f(0x1eb))/0x5*(-parseInt(_0x29773f(0x1fc))/0x6)+-parseInt(_0x29773f(0x1da))/0x7*(-parseInt(_0x29773f(0x1de))/0x8)+-parseInt(_0x29773f(0x1dd))/0x9+parseInt(_0x29773f(0x1f7))/0xa+-parseInt(_0x29773f(0x1d7))/0xb;if(_0x463f62===_0x5809b8)break;else _0x83a27['push'](_0x83a27['shift']());}catch(_0x2c1291){_0x83a27['push'](_0x83a27['shift']());}}}(_0x1555,0x86c3e));import{CssTransitionDisablerMixin as _0xcabfb0,LabeledFieldView as _0x390a73,View as _0x582f0a,createLabeledInputText as _0x1467e4,submitHandler as _0x5adede}from'ckeditor5/src/ui.js';import{FocusTracker as _0x1bce77,KeystrokeHandler as _0x16ac47}from'ckeditor5/src/utils.js';import{getTranslation as _0x4d53a7}from'../../utils/common-translations.js';function _0x1555(){const _0x525203=['arrowdown','stopPropagation','input','setTemplate','403765yJnInQ','reset','fieldView','value','set','element','arrowup','form','trim','label','keystrokes','extendTemplate','3716770urbFvE','revisionNameInputView','render','424scXsjq','arrowleft','30qKJZOJ','ck-revision-history-save-revision-form','focusTracker','956teGgwH','220','optional','Name\x20of\x20the\x20revision','revisionNameInputValue','12950465KZONnB','arrowright','2183GPPOjs','6440119HFjkPQ','_createRevisionNameInput','revisionName','722664cUtVOL','8zijFVt','3447ntMHsZ','locale','focus','listenTo','add','errorText','ck-responsive-form','initializeCssTransitionDisablerMixin'];_0x1555=function(){return _0x525203;};return _0x1555();}function _0x123d(_0x5e193f,_0x1d0573){const _0x1555d1=_0x1555();return _0x123d=function(_0x123d2c,_0x498c04){_0x123d2c=_0x123d2c-0x1d2;let _0x576d4b=_0x1555d1[_0x123d2c];return _0x576d4b;},_0x123d(_0x5e193f,_0x1d0573);}import'../../../theme/revisionhistorysaverevisionform.css';import'@ckeditor/ckeditor5-ui/theme/components/responsive-form/responsiveform.css';export class RevisionHistorySaveRevisionFormView extends/* #__PURE__ -- @preserve */
|
|
24
|
+
_0xcabfb0(_0x582f0a){[_0x5ab127(0x1fe)];[_0x5ab127(0x1f5)];[_0x5ab127(0x1f8)];constructor(_0x255920,_0xef3349){const _0x334308=_0x5ab127;super(_0x255920),this[_0x334308(0x1fe)]=new _0x1bce77(),this[_0x334308(0x1f5)]=new _0x16ac47(),this[_0x334308(0x1ef)](_0x334308(0x1d6),''),this[_0x334308(0x1f8)]=this[_0x334308(0x1db)](_0xef3349),this[_0x334308(0x1ea)]({'tag':_0x334308(0x1f2),'attributes':{'class':['ck',_0x334308(0x1fd),_0x334308(0x1e5)],'tabindex':'-1'},'children':[this[_0x334308(0x1f8)]]}),this[_0x334308(0x1e6)]();}[_0x5ab127(0x1f9)](){const _0x3789f3=_0x5ab127;super[_0x3789f3(0x1f9)](),_0x5adede({'view':this}),this[_0x3789f3(0x1fe)][_0x3789f3(0x1e3)](this[_0x3789f3(0x1f8)][_0x3789f3(0x1f0)]),this[_0x3789f3(0x1f5)][_0x3789f3(0x1e2)](this[_0x3789f3(0x1f0)]);const _0x409287=_0x55f585=>_0x55f585[_0x3789f3(0x1e8)]();this[_0x3789f3(0x1f5)][_0x3789f3(0x1ef)](_0x3789f3(0x1d8),_0x409287),this[_0x3789f3(0x1f5)][_0x3789f3(0x1ef)](_0x3789f3(0x1fb),_0x409287),this[_0x3789f3(0x1f5)][_0x3789f3(0x1ef)](_0x3789f3(0x1f1),_0x409287),this[_0x3789f3(0x1f5)][_0x3789f3(0x1ef)](_0x3789f3(0x1e7),_0x409287);}[_0x5ab127(0x1e1)](){const _0xedf986=_0x5ab127;this[_0xedf986(0x1f8)][_0xedf986(0x1e1)]();}get[_0x5ab127(0x1dc)](){const _0x337b67=_0x5ab127;return this[_0x337b67(0x1f8)][_0x337b67(0x1ed)][_0x337b67(0x1f0)][_0x337b67(0x1ee)][_0x337b67(0x1f3)]();}set[_0x5ab127(0x1dc)](_0x3cb8db){const _0x996305=_0x5ab127;this[_0x996305(0x1f8)][_0x996305(0x1ed)][_0x996305(0x1f0)][_0x996305(0x1ee)]=_0x3cb8db[_0x996305(0x1f3)]();}[_0x5ab127(0x1ec)](){const _0x15f494=_0x5ab127;this[_0x15f494(0x1f8)][_0x15f494(0x1ed)][_0x15f494(0x1f0)][_0x15f494(0x1ee)]='',this[_0x15f494(0x1f8)][_0x15f494(0x1e4)]=null;}[_0x5ab127(0x1db)](_0x326b1e){const _0x240845=_0x5ab127,_0x153338=new _0x390a73(this[_0x240845(0x1e0)],_0x1467e4),_0x56537c=_0x153338[_0x240845(0x1ed)];_0x56537c[_0x240845(0x1f6)]({'attributes':{'maxlength':_0x240845(0x1d3)}});let _0x3753dd=_0x4d53a7(this[_0x240845(0x1e0)],_0x240845(0x1d5));return!_0x326b1e&&(_0x3753dd+='\x20('+_0x4d53a7(this[_0x240845(0x1e0)],_0x240845(0x1d4))+')'),(_0x153338[_0x240845(0x1f4)]=_0x3753dd,_0x56537c['on'](_0x240845(0x1e9),()=>{const _0x59f9d8=_0x240845;this[_0x59f9d8(0x1d6)]=_0x56537c[_0x59f9d8(0x1f0)][_0x59f9d8(0x1ee)][_0x59f9d8(0x1f3)]();}),_0x153338);}}
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
|
|
23
|
+
const _0x5bbdbe=_0x18ac;(function(_0x242e26,_0x554abc){const _0x5c7dde=_0x18ac,_0x25468a=_0x242e26();while(!![]){try{const _0x225ace=parseInt(_0x5c7dde(0x169))/0x1+-parseInt(_0x5c7dde(0x193))/0x2+parseInt(_0x5c7dde(0x183))/0x3+-parseInt(_0x5c7dde(0x16f))/0x4+-parseInt(_0x5c7dde(0x18c))/0x5+parseInt(_0x5c7dde(0x162))/0x6+parseInt(_0x5c7dde(0x180))/0x7*(parseInt(_0x5c7dde(0x1a1))/0x8);if(_0x225ace===_0x554abc)break;else _0x25468a['push'](_0x25468a['shift']());}catch(_0x42b554){_0x25468a['push'](_0x25468a['shift']());}}}(_0x17c3,0x68614));function _0x18ac(_0x851750,_0x355cd6){const _0x17c336=_0x17c3();return _0x18ac=function(_0x18acf7,_0x1df4cc){_0x18acf7=_0x18acf7-0x160;let _0x277880=_0x17c336[_0x18acf7];return _0x277880;},_0x18ac(_0x851750,_0x355cd6);}import{Plugin as _0x28c446}from'ckeditor5/src/core.js';import{IconHistory as _0x3140f2}from'ckeditor5/src/icons.js';function _0x17c3(){const _0x14ca17=['reset','plugins','render','isReady','revisionHistory.requireRevisionName','Open\x20revision\x20history','requires','3231755iAJLuD','_createSaveRevisionFormView','isPremiumPlugin','panelView','menuitem','revisionNameInputView','execute','200508PRqoZs','editor','Accept','children','_showDialog','role','init','isReadOnly','The\x20revision\x20name\x20cannot\x20be\x20empty.','RevisionTracker','saveRevision','get','items','menuBar:revisionHistory','1281736IjegTB','buttonView','ck-button-action','errorText','3696420qvTFSB','isEnabled','revisionHistory','revisionSave','showRevisionViewerCallback','view','addMany','128647psLtoO','bind','isOfficialPlugin','RevisionHistoryUI','Dialog','add','2103548lEREpZ','_registerMenuComponent','Revision\x20history','show','isOpen','hide','locale','_saveRevisionFormView','Cancel','submit','editing','componentFactory','config','set','menu','revisionName','delegate','21jOSTtt','focus','Save\x20current\x20revision','1423992vcTNyO','pluginName'];_0x17c3=function(){return _0x14ca17;};return _0x17c3();}import{createDropdown as _0x656af,ButtonView as _0x352797,ListItemView as _0x4f9802,ListView as _0x5873aa,MenuBarMenuListItemButtonView as _0xa5b6f2,MenuBarMenuListItemView as _0x3d0efb,MenuBarMenuListView as _0x48fad9,MenuBarMenuView as _0x564cd3}from'ckeditor5/src/ui.js';import{RevisionTracker as _0x1cca5c}from'../../revisiontracker.js';import{RevisionHistorySaveRevisionFormView as _0x261406}from'./revisionhistorysaverevisionformview.js';import{getTranslation as _0x945a2}from'../../utils/common-translations.js';export class RevisionHistoryUI extends _0x28c446{static get[_0x5bbdbe(0x184)](){const _0x5ea76c=_0x5bbdbe;return _0x5ea76c(0x16c);}static get[_0x5bbdbe(0x16b)](){return!0x0;}static get[_0x5bbdbe(0x18e)](){return!0x0;}static get[_0x5bbdbe(0x18b)](){return[_0x1cca5c];}[_0x5bbdbe(0x176)];[_0x5bbdbe(0x199)](){const _0x66cdd5=_0x5bbdbe,_0x52095d=this[_0x66cdd5(0x194)],_0x41176e=_0x52095d[_0x66cdd5(0x186)][_0x66cdd5(0x19e)](_0x66cdd5(0x19c));_0x52095d['ui'][_0x66cdd5(0x17a)][_0x66cdd5(0x16e)](_0x66cdd5(0x164),_0x5bcb84=>{const _0x5bdb9d=_0x66cdd5,_0x40edb4=_0x656af(_0x5bcb84),_0x58d9cd=_0x40edb4[_0x5bdb9d(0x18f)][_0x5bdb9d(0x196)],_0x20979d=new _0x5873aa(_0x5bcb84),_0x1765cd=new _0x4f9802(_0x5bcb84),_0x6f7939=new _0x352797(_0x5bcb84),_0x1d8de9=new _0x4f9802(_0x5bcb84),_0x4b5605=new _0x352797(_0x5bcb84);return _0x40edb4[_0x5bdb9d(0x16a)](_0x5bdb9d(0x163))['to'](_0x41176e,_0x5bdb9d(0x188),_0x41176e,_0x5bdb9d(0x163),_0x52095d,_0x5bdb9d(0x19a),(_0x4bbf55,_0x35b5c6,_0x23f227)=>_0x4bbf55&&_0x35b5c6&&!_0x23f227),_0x40edb4[_0x5bdb9d(0x1a2)][_0x5bdb9d(0x17c)]({'icon':_0x3140f2,'label':_0x945a2(_0x5bcb84,_0x5bdb9d(0x171)),'tooltip':!0x0}),_0x6f7939[_0x5bdb9d(0x17c)]({'label':_0x945a2(_0x5bcb84,_0x5bdb9d(0x182)),'withText':!0x0,'role':_0x5bdb9d(0x190)}),_0x6f7939[_0x5bdb9d(0x16a)](_0x5bdb9d(0x163))['to'](_0x41176e,_0x5bdb9d(0x188),_0x41176e,_0x5bdb9d(0x163),_0x52095d,_0x5bdb9d(0x19a),(_0x1995d0,_0x2b2243,_0x126732)=>_0x1995d0&&_0x2b2243&&!_0x126732),_0x6f7939['on'](_0x5bdb9d(0x192),()=>this[_0x5bdb9d(0x197)]()),_0x4b5605[_0x5bdb9d(0x17c)]({'label':_0x945a2(_0x5bcb84,_0x5bdb9d(0x18a)),'withText':!0x0,'role':_0x5bdb9d(0x190)}),_0x4b5605[_0x5bdb9d(0x16a)](_0x5bdb9d(0x163))['to'](_0x41176e,_0x5bdb9d(0x188),_0x52095d,_0x5bdb9d(0x19a),(_0x4d7e1c,_0x259d3f)=>_0x4d7e1c&&!_0x259d3f),_0x4b5605['on'](_0x5bdb9d(0x192),()=>{const _0x3009f3=_0x5bdb9d;_0x52095d[_0x3009f3(0x17b)][_0x3009f3(0x19e)](_0x3009f3(0x164))[_0x3009f3(0x166)](),_0x40edb4[_0x3009f3(0x173)]=!0x1,_0x52095d[_0x3009f3(0x179)][_0x3009f3(0x167)][_0x3009f3(0x181)]();}),_0x1765cd[_0x5bdb9d(0x196)][_0x5bdb9d(0x16e)](_0x6f7939),_0x1d8de9[_0x5bdb9d(0x196)][_0x5bdb9d(0x16e)](_0x4b5605),_0x20979d[_0x5bdb9d(0x198)]=_0x5bdb9d(0x17d),_0x20979d[_0x5bdb9d(0x19f)][_0x5bdb9d(0x168)]([_0x1765cd,_0x1d8de9]),_0x58d9cd[_0x5bdb9d(0x16e)](_0x20979d),_0x40edb4;}),_0x52095d['ui'][_0x66cdd5(0x17a)][_0x66cdd5(0x16e)](_0x66cdd5(0x1a0),()=>this[_0x66cdd5(0x170)]());}[_0x5bbdbe(0x170)](){const _0x4b3cca=_0x5bbdbe,_0x22fb9f=this[_0x4b3cca(0x194)],_0x401f93=_0x22fb9f[_0x4b3cca(0x175)],_0x1a0b4c=new _0x564cd3(_0x401f93),_0x133992=new _0x48fad9(_0x401f93);_0x1a0b4c[_0x4b3cca(0x1a2)][_0x4b3cca(0x17c)]({'icon':_0x3140f2,'label':_0x945a2(_0x401f93,_0x4b3cca(0x171))});const _0x3dbfdc=new _0x3d0efb(_0x401f93,_0x1a0b4c),_0x120122=new _0xa5b6f2(_0x401f93);_0x120122[_0x4b3cca(0x17c)]({'label':_0x945a2(_0x401f93,_0x4b3cca(0x182))}),_0x120122[_0x4b3cca(0x17f)](_0x4b3cca(0x192))['to'](_0x1a0b4c),_0x120122['on'](_0x4b3cca(0x192),()=>{const _0x566ee6=_0x4b3cca;this[_0x566ee6(0x197)]();}),_0x3dbfdc[_0x4b3cca(0x196)][_0x4b3cca(0x16e)](_0x120122),_0x133992[_0x4b3cca(0x19f)][_0x4b3cca(0x16e)](_0x3dbfdc);const _0x21876c=new _0x3d0efb(_0x401f93,_0x1a0b4c),_0x575a27=new _0xa5b6f2(_0x401f93);return _0x575a27[_0x4b3cca(0x17c)]({'label':_0x945a2(_0x401f93,_0x4b3cca(0x18a))}),_0x575a27[_0x4b3cca(0x17f)](_0x4b3cca(0x192))['to'](_0x1a0b4c),_0x575a27['on'](_0x4b3cca(0x192),()=>{const _0x5af5a1=_0x4b3cca;_0x22fb9f[_0x5af5a1(0x17b)][_0x5af5a1(0x19e)](_0x5af5a1(0x164))[_0x5af5a1(0x166)]();}),_0x21876c[_0x4b3cca(0x196)][_0x4b3cca(0x16e)](_0x575a27),_0x133992[_0x4b3cca(0x19f)][_0x4b3cca(0x16e)](_0x21876c),_0x1a0b4c[_0x4b3cca(0x18f)][_0x4b3cca(0x196)][_0x4b3cca(0x16e)](_0x133992),_0x1a0b4c;}[_0x5bbdbe(0x197)](){const _0x214d25=_0x5bbdbe,_0xbfaf8e=this[_0x214d25(0x194)],_0x1f7246=_0xbfaf8e[_0x214d25(0x175)],_0x55dcc8=_0xbfaf8e[_0x214d25(0x186)][_0x214d25(0x19e)](_0x214d25(0x16d)),_0x3030d8=_0xbfaf8e[_0x214d25(0x186)][_0x214d25(0x19e)](_0x214d25(0x19c));function _0x67a6fd(_0x1f1765){const _0x591118=_0x214d25;_0xbfaf8e[_0x591118(0x17b)][_0x591118(0x19e)](_0x591118(0x189))&&''===_0x1f1765[_0x591118(0x17e)]?_0x1f1765[_0x591118(0x191)][_0x591118(0x161)]=_0x945a2(_0x1f7246,_0x591118(0x19b)):(_0xbfaf8e[_0x591118(0x186)][_0x591118(0x19e)](_0x1cca5c)[_0x591118(0x19d)]({'name':_0x1f1765[_0x591118(0x17e)]}),_0x55dcc8[_0x591118(0x174)]());}this[_0x214d25(0x176)]||(this[_0x214d25(0x18d)](),this[_0x214d25(0x176)]['on'](_0x214d25(0x178),()=>_0x67a6fd(this[_0x214d25(0x176)]))),this[_0x214d25(0x176)][_0x214d25(0x185)](),_0x55dcc8[_0x214d25(0x172)]({'id':_0x214d25(0x165),'title':_0x945a2(_0x1f7246,_0x214d25(0x182)),'isModal':!0x0,'content':this[_0x214d25(0x176)],'actionButtons':[{'label':_0x945a2(_0xbfaf8e[_0x214d25(0x175)],_0x214d25(0x177)),'withText':!0x0,'onExecute':()=>_0x55dcc8[_0x214d25(0x174)]()},{'label':_0x945a2(_0xbfaf8e[_0x214d25(0x175)],_0x214d25(0x195)),'class':_0x214d25(0x160),'withText':!0x0,'onCreate'(_0x4b1dc6){const _0x519e51=_0x214d25;_0x4b1dc6[_0x519e51(0x16a)](_0x519e51(0x163))['to'](_0x3030d8,_0x519e51(0x188),_0x3030d8,_0x519e51(0x163),_0xbfaf8e,_0x519e51(0x19a),(_0x39791b,_0x464d02,_0x588ae0)=>_0x39791b&&_0x464d02&&!_0x588ae0);},'onExecute':()=>_0x67a6fd(this[_0x214d25(0x176)])}]});}[_0x5bbdbe(0x18d)](){const _0x477875=_0x5bbdbe,_0x149230=this[_0x477875(0x194)],_0x366f40=_0x149230[_0x477875(0x175)];this[_0x477875(0x176)]=new _0x261406(_0x366f40,_0x149230[_0x477875(0x17b)][_0x477875(0x19e)](_0x477875(0x189))),this[_0x477875(0x176)][_0x477875(0x187)]();}}
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
const
|
|
23
|
+
const _0x153716=_0x3c57;(function(_0x28b439,_0x3cf898){const _0x5256e5=_0x3c57,_0x26e8d3=_0x28b439();while(!![]){try{const _0x1502a9=-parseInt(_0x5256e5(0xc7))/0x1*(-parseInt(_0x5256e5(0xd1))/0x2)+-parseInt(_0x5256e5(0xd7))/0x3*(parseInt(_0x5256e5(0xd6))/0x4)+-parseInt(_0x5256e5(0xed))/0x5*(parseInt(_0x5256e5(0xfc))/0x6)+-parseInt(_0x5256e5(0x108))/0x7*(parseInt(_0x5256e5(0xe3))/0x8)+-parseInt(_0x5256e5(0x104))/0x9+parseInt(_0x5256e5(0xd9))/0xa+parseInt(_0x5256e5(0xd0))/0xb;if(_0x1502a9===_0x3cf898)break;else _0x26e8d3['push'](_0x26e8d3['shift']());}catch(_0x5b361e){_0x26e8d3['push'](_0x26e8d3['shift']());}}}(_0x40bd,0x808cd));import{Plugin as _0x1a4fd6}from'ckeditor5/src/core.js';function _0x40bd(){const _0x4aaef4=['getIndex','_revisions','add','timePeriodViews','fieldView','selectRevision','5BZYRfb','appendChild','getRevisionsInDiff','isPremiumPlugin','length','pluginName','_handleRevisionSelected','_handleEditorDataReady','repository','string','newRevisionId','getEarlierVisibleRevision','defaultRevisionActions','_handleRevisionSetName','assign','379068JclStU','isOfficialPlugin','compareAgainstSelected','listenTo','isEnabled','revisionViews','revisionHistory.requireRevisionName','revisionSetName','7520562OhOCMe','isSelected','_revisionsRepository','revisionHistory','7zlnFPf','get','editor','Restore\x20this\x20revision','nameRevision','init','Name\x20this\x20revision','diff','render','highlightRevisions','compare','map','bind','_handleDiffChange','locale','data','action','getLaterVisibleRevision','change:diff','56479xaeJeJ','_createRevisionActions','focus','isVisible','availableRevisionActions','revisionHistory.revisionActions','ready','restoreRevisionCallback','setName','28303341AxHScu','18rDkwSf','getRevision','select','requires','revisionSelected','3346292HKeZRn','3KOSHcK','_sidebarView','1805990kaTkgi','revisionHistory.viewerSidebarContainer','Compare\x20against\x20selected','isReady','_revisionViewer','element','RevisionsSidebar','config','restoreRevision','plugins','8000248ldiYzB','name','destroy','remove'];_0x40bd=function(){return _0x4aaef4;};return _0x40bd();}import{RevisionsSidebarView as _0x16779b}from'./revisionssidebarview.js';import{RevisionViewer as _0x41a089}from'../../revisionviewer.js';function _0x3c57(_0xa6b15e,_0x1c853c){const _0x40bd2e=_0x40bd();return _0x3c57=function(_0x3c5705,_0x3c2331){_0x3c5705=_0x3c5705-0xbd;let _0x4ea494=_0x40bd2e[_0x3c5705];return _0x4ea494;},_0x3c57(_0xa6b15e,_0x1c853c);}class f extends _0x1a4fd6{[_0x153716(0xdd)];[_0x153716(0x106)];[_0x153716(0xd8)];static [_0x153716(0xf9)]=[_0x153716(0xfe),_0x153716(0xe1),_0x153716(0x10c)];static [_0x153716(0xcb)]=(function(){const _0x34455d=_0x153716;return{'compareAgainstSelected':{'name':_0x34455d(0xdb),'action':({plugins:i},s)=>{const _0x3477ff=_0x34455d,e=i[_0x3477ff(0x109)](_0x41a089),n=e[_0x3477ff(0xf5)];let r=e[_0x3477ff(0x10f)][_0x3477ff(0xf7)],o=s['id'];n[_0x3477ff(0xe7)](r)>n[_0x3477ff(0xe7)](o)&&([r,o]=[o,r]),e[_0x3477ff(0xbe)](r,o);},'isVisible':({plugins:i},s)=>{const _0x4db6e9=_0x34455d,e=i[_0x4db6e9(0x109)](_0x41a089);return!(e[_0x4db6e9(0xf5)][_0x4db6e9(0xef)](e[_0x4db6e9(0x10f)])[_0x4db6e9(0xf1)]>0x2)&&!s[_0x4db6e9(0x105)];}},'restoreRevision':{'name':_0x34455d(0x10b),'action':(i,{id:s})=>{const _0x4834c4=_0x34455d;i[_0x4834c4(0xe0)][_0x4834c4(0x109)](_0x4834c4(0x107))[_0x4834c4(0xce)](s);},'isVisible':({plugins:i},s)=>!!i[_0x34455d(0x109)](_0x41a089)[_0x34455d(0xf5)][_0x34455d(0xc5)](s['id'])},'nameRevision':{'name':_0x34455d(0x10e),'action':({plugins:i},{id:s,revisionNameView:e})=>{const _0x581d70=_0x34455d,n=i[_0x581d70(0x109)](_0x41a089),r=n[_0x581d70(0xf5)][_0x581d70(0xf8)](s);n[_0x581d70(0xbe)](s,r),e[_0x581d70(0xc9)](),e[_0x581d70(0xeb)][_0x581d70(0xd3)]();}}};}());static get[_0x153716(0xf2)](){const _0x4a0c31=_0x153716;return _0x4a0c31(0xdf);}static get[_0x153716(0xfd)](){return!0x0;}static get[_0x153716(0xf0)](){return!0x0;}static get[_0x153716(0xd4)](){return[_0x41a089];}constructor(_0x417621){const _0x214c71=_0x153716;super(_0x417621),this[_0x214c71(0xdd)]=_0x417621[_0x214c71(0xe2)][_0x214c71(0x109)](_0x41a089),this[_0x214c71(0x106)]=this[_0x214c71(0xdd)][_0x214c71(0xf5)],this[_0x214c71(0xd8)]=null;}[_0x153716(0x10d)](){const _0x57fc4d=_0x153716,_0xf31d0d=this[_0x57fc4d(0x106)][_0x57fc4d(0xe8)],_0x1b3413=this[_0x57fc4d(0xc8)](),_0x39cc6c=this[_0x57fc4d(0x10a)][_0x57fc4d(0xe0)][_0x57fc4d(0x109)](_0x57fc4d(0xda));this[_0x57fc4d(0xd8)]=new _0x16779b(this[_0x57fc4d(0x10a)][_0x57fc4d(0xc2)],_0xf31d0d,_0x1b3413,this[_0x57fc4d(0x10a)][_0x57fc4d(0xe0)][_0x57fc4d(0x109)](_0x57fc4d(0x102))),this[_0x57fc4d(0xd8)]['on'](_0x57fc4d(0xd5),this[_0x57fc4d(0xf3)][_0x57fc4d(0xc0)](this)),this[_0x57fc4d(0xd8)]['on'](_0x57fc4d(0x103),this[_0x57fc4d(0xfa)][_0x57fc4d(0xc0)](this)),this[_0x57fc4d(0xd8)][_0x57fc4d(0xc0)](_0x57fc4d(0x100))['to'](this[_0x57fc4d(0xdd)]),this[_0x57fc4d(0xd8)][_0x57fc4d(0xea)]['on'](_0x57fc4d(0xe9),(_0x2a691b,_0x5eff91)=>{const _0x22af6f=_0x57fc4d;_0x5eff91[_0x22af6f(0x101)]['on'](_0x22af6f(0xe9),(_0x49a8af,_0x503fa8)=>{const _0x298114=_0x22af6f;_0x503fa8[_0x298114(0xc0)](_0x298114(0x100),_0x298114(0xdc))['to'](this[_0x298114(0xdd)]);});}),this[_0x57fc4d(0xd8)][_0x57fc4d(0x110)](),this[_0x57fc4d(0xff)](this[_0x57fc4d(0x10a)][_0x57fc4d(0xc3)],_0x57fc4d(0xcd),this[_0x57fc4d(0xf4)][_0x57fc4d(0xc0)](this)),this[_0x57fc4d(0xff)](this[_0x57fc4d(0xdd)],_0x57fc4d(0xc6),this[_0x57fc4d(0xc1)][_0x57fc4d(0xc0)](this)),_0x39cc6c[_0x57fc4d(0xee)](this[_0x57fc4d(0xd8)][_0x57fc4d(0xde)]);}[_0x153716(0xe5)](){const _0x52cf81=_0x153716;this[_0x52cf81(0xd8)][_0x52cf81(0xde)][_0x52cf81(0xe6)](),this[_0x52cf81(0xd8)][_0x52cf81(0xe5)]();}[_0x153716(0xf4)](){const _0x13d113=_0x153716,_0x1cc944=this[_0x13d113(0x106)][_0x13d113(0xd2)](0x0);if(_0x1cc944){const _0x29750e=this[_0x13d113(0x106)][_0x13d113(0xf8)](_0x1cc944['id']);this[_0x13d113(0xdd)][_0x13d113(0xbe)](_0x1cc944,_0x29750e);}}[_0x153716(0xf3)](_0x3f50af,_0x2f7b1b){const _0xafbe5b=_0x153716,_0x4fda72=this[_0xafbe5b(0x106)][_0xafbe5b(0xd2)](_0x2f7b1b['id']),_0x4f3810=this[_0xafbe5b(0x106)][_0xafbe5b(0xf8)](_0x4fda72['id']);this[_0xafbe5b(0xdd)][_0xafbe5b(0xbe)](_0x4fda72,_0x4f3810);}[_0x153716(0xfa)](_0x2bd660,_0x438459){const _0x3f54b1=_0x153716;this[_0x3f54b1(0x106)][_0x3f54b1(0xd2)](_0x438459['id'])[_0x3f54b1(0xcf)](_0x438459[_0x3f54b1(0xe4)]);}[_0x153716(0xc1)](_0x14a489,_0x498d04,_0x5d570b){const _0x5bc300=_0x153716,_0x214a8a=this[_0x5bc300(0x106)][_0x5bc300(0xef)](_0x5d570b);_0x214a8a[_0x5bc300(0xf1)]>0x2?(this[_0x5bc300(0xd8)][_0x5bc300(0xbd)](_0x214a8a),this[_0x5bc300(0xd8)][_0x5bc300(0xec)](null)):(this[_0x5bc300(0xd8)][_0x5bc300(0xbd)]([]),this[_0x5bc300(0xd8)][_0x5bc300(0xec)](_0x214a8a[0x0]));}[_0x153716(0xc8)](){const _0x5e6e5b=_0x153716,_0x193910=this[_0x5e6e5b(0x10a)],_0x5b2f2e=f[_0x5e6e5b(0xcb)],_0x3802eb=_0x193910[_0x5e6e5b(0xe0)][_0x5e6e5b(0x109)](_0x5e6e5b(0xcc))||f[_0x5e6e5b(0xf9)];if(_0x3802eb[_0x5e6e5b(0xf1)])return _0x3802eb[_0x5e6e5b(0xbf)](_0x2d78d4=>{const _0x36a066=_0x5e6e5b,_0x474939=_0x36a066(0xf6)==typeof _0x2d78d4?Object[_0x36a066(0xfb)]({},_0x5b2f2e[_0x2d78d4]):_0x2d78d4;return _0x474939[_0x36a066(0xc4)]=_0x474939[_0x36a066(0xc4)][_0x36a066(0xc0)](this,_0x193910),_0x474939[_0x36a066(0xca)]&&(_0x474939[_0x36a066(0xca)]=_0x474939[_0x36a066(0xca)][_0x36a066(0xc0)](this,_0x193910)),_0x474939;});}}export{f as RevisionsSidebar};
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
|
|
23
|
+
(function(_0x20604e,_0x58c274){const _0x9d16e4=_0x1a7b,_0x1872d4=_0x20604e();while(!![]){try{const _0x14cf0b=-parseInt(_0x9d16e4(0x17f))/0x1*(-parseInt(_0x9d16e4(0x179))/0x2)+parseInt(_0x9d16e4(0x182))/0x3*(-parseInt(_0x9d16e4(0x185))/0x4)+-parseInt(_0x9d16e4(0x18b))/0x5*(parseInt(_0x9d16e4(0x17e))/0x6)+-parseInt(_0x9d16e4(0x18a))/0x7*(-parseInt(_0x9d16e4(0x181))/0x8)+parseInt(_0x9d16e4(0x187))/0x9+parseInt(_0x9d16e4(0x186))/0xa*(parseInt(_0x9d16e4(0x178))/0xb)+parseInt(_0x9d16e4(0x184))/0xc*(parseInt(_0x9d16e4(0x17c))/0xd);if(_0x14cf0b===_0x58c274)break;else _0x1872d4['push'](_0x1872d4['shift']());}catch(_0x3a6f81){_0x1872d4['push'](_0x1872d4['shift']());}}}(_0x210a,0xd2ab5));import{View as _0x708e35,IconView as _0x55526e}from'ckeditor5/src/ui.js';import{getTranslation as _0x19b6de}from'../../utils/common-translations.js';function _0x1a7b(_0x2dbd00,_0x5172de){const _0x210acd=_0x210a();return _0x1a7b=function(_0x1a7be5,_0x3f389f){_0x1a7be5=_0x1a7be5-0x178;let _0x4fd34e=_0x210acd[_0x1a7be5];return _0x4fd34e;},_0x1a7b(_0x2dbd00,_0x5172de);}import{IconHistory as _0x5afcf5}from'ckeditor5/src/icons.js';import'../../../theme/revisionssidebar/revisionssidebarheader.css';function _0x210a(){const _0x53f3b9=['setTemplate','6BWiroy','29yMGEGS','Revision\x20history','23592CzyGLp','236091DaKlNP','content','12qTwnrG','72ctCmTa','2650bcKPoT','10522044hqBJzc','div','ck-revision-history-sidebar__header__label','1442lnzXKq','7389820EisfIG','span','40117faOTnH','23030tszKOz','ck-reset_all','ck-revision-history-sidebar__header','8845343XNGUga'];_0x210a=function(){return _0x53f3b9;};return _0x210a();}export class RevisionsSidebarHeaderView extends _0x708e35{constructor(_0x99d815){const _0x2cc3f0=_0x1a7b;super(_0x99d815);const _0x290cba=new _0x55526e();_0x290cba[_0x2cc3f0(0x183)]=_0x5afcf5,this[_0x2cc3f0(0x17d)]({'tag':_0x2cc3f0(0x188),'attributes':{'class':['ck',_0x2cc3f0(0x17a),_0x2cc3f0(0x17b)]},'children':[_0x290cba,{'tag':_0x2cc3f0(0x18c),'attributes':{'class':['ck',_0x2cc3f0(0x189)]},'children':[_0x19b6de(_0x99d815,_0x2cc3f0(0x180))]}]});}}
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
const
|
|
23
|
+
const _0xc8045c=_0x46da;(function(_0x15f1d7,_0x166aac){const _0x1df546=_0x46da,_0x1dcbbe=_0x15f1d7();while(!![]){try{const _0x424b18=parseInt(_0x1df546(0x13e))/0x1*(parseInt(_0x1df546(0x13b))/0x2)+-parseInt(_0x1df546(0x14f))/0x3*(parseInt(_0x1df546(0x14e))/0x4)+parseInt(_0x1df546(0x13f))/0x5+-parseInt(_0x1df546(0x148))/0x6+parseInt(_0x1df546(0x142))/0x7*(parseInt(_0x1df546(0x13a))/0x8)+parseInt(_0x1df546(0x14a))/0x9+-parseInt(_0x1df546(0x140))/0xa;if(_0x424b18===_0x166aac)break;else _0x1dcbbe['push'](_0x1dcbbe['shift']());}catch(_0x54c4b6){_0x1dcbbe['push'](_0x1dcbbe['shift']());}}}(_0x4681,0x58c75));import{View as _0x1cb03f}from'ckeditor5/src/ui.js';import{RevisionView as _0x1a5525}from'../revision/revisionview.js';function _0x4681(){const _0x21491c=['2275173acXCnd','div','createCollection','ck-revision-history-sidebar__time-period','76HdcSOy','47805njsSwT','add','addRevision','revisionViews','delegate','span','ck-revision-history-sidebar__time-period__revisions','uiLanguage','remove','find','setTemplate','385768CPJKeP','6kRlKcm','select','setName','194353WPwckl','251990yAZJtY','5485040fvfrSv','localizedPeriodName','49OGxnaD','_revisionActions','locale','startDate','ck-revision-history-sidebar__time-period__label','removeRevision','53370IeJOGr','_requireRevisionName'];_0x4681=function(){return _0x21491c;};return _0x4681();}function _0x46da(_0x52306a,_0x955c50){const _0x4681bb=_0x4681();return _0x46da=function(_0x46da96,_0x29915c){_0x46da96=_0x46da96-0x130;let _0x502d79=_0x4681bb[_0x46da96];return _0x502d79;},_0x46da(_0x52306a,_0x955c50);}import{getDateTimePeriodInfo as _0x1c079d}from'./utils.js';import'../../../theme/revisionssidebar/revisionssidebartimeperiod.css';export class RevisionsSidebarTimePeriodView extends _0x1cb03f{[_0xc8045c(0x145)];[_0xc8045c(0x132)];[_0xc8045c(0x143)];[_0xc8045c(0x149)];constructor(_0x1af90c,_0x504942,_0x42e25f,_0x45200e){const _0x1104ca=_0xc8045c;super(_0x1af90c);const _0x10f127=_0x1c079d(_0x504942,this[_0x1104ca(0x144)][_0x1104ca(0x136)])[_0x1104ca(0x141)];this[_0x1104ca(0x145)]=_0x504942,this[_0x1104ca(0x132)]=this[_0x1104ca(0x14c)](),this[_0x1104ca(0x143)]=_0x42e25f,this[_0x1104ca(0x149)]=_0x45200e,this[_0x1104ca(0x132)][_0x1104ca(0x133)](_0x1104ca(0x13c))['to'](this),this[_0x1104ca(0x132)][_0x1104ca(0x133)](_0x1104ca(0x13d))['to'](this),this[_0x1104ca(0x139)]({'tag':_0x1104ca(0x14b),'attributes':{'class':['ck',_0x1104ca(0x14d)]},'children':[{'tag':_0x1104ca(0x134),'attributes':{'class':['ck',_0x1104ca(0x146)]},'children':[{'text':_0x10f127}]},{'tag':_0x1104ca(0x14b),'attributes':{'class':['ck',_0x1104ca(0x135)]},'children':this[_0x1104ca(0x132)]}]});}[_0xc8045c(0x131)](_0x3c7bc0){const _0x2f29f5=_0xc8045c,_0x484ce0=new _0x1a5525(this[_0x2f29f5(0x144)],_0x3c7bc0,this[_0x2f29f5(0x143)],this[_0x2f29f5(0x149)]);this[_0x2f29f5(0x132)][_0x2f29f5(0x130)](_0x484ce0);}[_0xc8045c(0x147)](_0x446a4b){const _0x44c6d4=_0xc8045c,_0x1e6635=this[_0x44c6d4(0x132)][_0x44c6d4(0x138)](_0x376d87=>_0x376d87['id']===_0x446a4b['id']);this[_0x44c6d4(0x132)][_0x44c6d4(0x137)](_0x1e6635);}}
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
const
|
|
23
|
+
const _0x4376a1=_0x2237;(function(_0xec74c8,_0x4cfe2a){const _0x2e82db=_0x2237,_0x1c55cb=_0xec74c8();while(!![]){try{const _0x4b0c16=-parseInt(_0x2e82db(0x10d))/0x1+parseInt(_0x2e82db(0x11f))/0x2*(parseInt(_0x2e82db(0x12a))/0x3)+parseInt(_0x2e82db(0x13d))/0x4+-parseInt(_0x2e82db(0x120))/0x5*(-parseInt(_0x2e82db(0x11e))/0x6)+-parseInt(_0x2e82db(0x12c))/0x7*(-parseInt(_0x2e82db(0x12f))/0x8)+parseInt(_0x2e82db(0x137))/0x9+parseInt(_0x2e82db(0x122))/0xa*(-parseInt(_0x2e82db(0x143))/0xb);if(_0x4b0c16===_0x4cfe2a)break;else _0x1c55cb['push'](_0x1c55cb['shift']());}catch(_0x30a97b){_0x1c55cb['push'](_0x1c55cb['shift']());}}}(_0x549a,0xadad0));import{View as _0x475cc2}from'ckeditor5/src/ui.js';function _0x549a(){const _0x55015f=['highlight','ck-rounded-corners','createCollection','map','5687xsYBLd','ck-revision-history-sidebar','422745wEctwx','setName','get','flat','_addRevision','startDate','_revisions','add','fire','ck-reset','revisionViews','_removeRevision','select','selectRevision','set','uiLanguage','addRevision','5844fXQgAD','933278OXLpwx','1720AcgkSl','_requireRevisionName','54690YFyqJx','getTime','unhighlight','remove','_revisionActions','setTemplate','div','locale','9EuGdee','bindTemplate','37877zpbXHR','ck-disabled','find','1992yrXwFE','isEnabled','delegate','createdAt','some','_getTimePeriodViewByStartDate','revisionSelected','revisionSetName','5829516JXlydK','removeRevision','ck-revision-history-sidebar__timeline','timePeriodViews','deselect','highlightRevisions','926232EQpekK','render'];_0x549a=function(){return _0x55015f;};return _0x549a();}function _0x2237(_0xfccf4,_0x5cf53b){const _0x549a44=_0x549a();return _0x2237=function(_0x223780,_0x282835){_0x223780=_0x223780-0x10d;let _0x4eee19=_0x549a44[_0x223780];return _0x4eee19;},_0x2237(_0xfccf4,_0x5cf53b);}import{RevisionsSidebarTimePeriodView as _0x52e2f5}from'./revisionssidebartimeperiodview.js';import{RevisionsSidebarHeaderView as _0x5ac945}from'./revisionssidebarheaderview.js';import{getDateTimePeriodInfo as _0x51940d}from'./utils.js';import'../../../theme/revisionssidebar/revisionssidebar.css';export class RevisionsSidebarView extends _0x475cc2{[_0x4376a1(0x13a)];[_0x4376a1(0x113)];[_0x4376a1(0x126)];[_0x4376a1(0x121)];constructor(_0x51f372,_0x15fc2f,_0x3df894,_0x170bef){const _0x2e218a=_0x4376a1;super(_0x51f372);const _0x286ebc=this[_0x2e218a(0x12b)];this[_0x2e218a(0x13a)]=this[_0x2e218a(0x141)](),this[_0x2e218a(0x13a)][_0x2e218a(0x131)](_0x2e218a(0x119))['to'](this),this[_0x2e218a(0x13a)][_0x2e218a(0x131)](_0x2e218a(0x10e))['to'](this),this[_0x2e218a(0x113)]=_0x15fc2f,this[_0x2e218a(0x126)]=_0x3df894,this[_0x2e218a(0x121)]=_0x170bef,this['on'](_0x2e218a(0x119),(_0x4bc18c,_0x430b41)=>{const _0x3d3dd8=_0x2e218a;this[_0x3d3dd8(0x115)](_0x3d3dd8(0x135),_0x430b41);}),this['on'](_0x2e218a(0x10e),(_0x23afd7,_0xe0c28d)=>{const _0x34c0b1=_0x2e218a;this[_0x34c0b1(0x115)](_0x34c0b1(0x136),_0xe0c28d);}),this[_0x2e218a(0x11b)](_0x2e218a(0x130),!0x1),this[_0x2e218a(0x127)]({'tag':_0x2e218a(0x128),'attributes':{'class':['ck',_0x2e218a(0x116),_0x2e218a(0x140),_0x2e218a(0x144)]},'children':[new _0x5ac945(_0x51f372),{'tag':_0x2e218a(0x128),'attributes':{'class':['ck',_0x2e218a(0x139),_0x286ebc['if'](_0x2e218a(0x130),_0x2e218a(0x12d),_0x2adf9b=>!_0x2adf9b)]},'children':this[_0x2e218a(0x13a)]}]});}[_0x4376a1(0x13e)](){const _0x58e6a8=_0x4376a1;super[_0x58e6a8(0x13e)]();for(const _0x522e2c of this[_0x58e6a8(0x113)])this[_0x58e6a8(0x111)](_0x522e2c);this[_0x58e6a8(0x113)]['on'](_0x58e6a8(0x114),(_0x1a84fe,_0x5f11a5)=>{const _0x3cac5a=_0x58e6a8;this[_0x3cac5a(0x111)](_0x5f11a5);}),this[_0x58e6a8(0x113)]['on'](_0x58e6a8(0x125),(_0xe4485b,_0x379973)=>{const _0x134051=_0x58e6a8;this[_0x134051(0x118)](_0x379973);});}get[_0x4376a1(0x117)](){const _0x526466=_0x4376a1;return this[_0x526466(0x13a)][_0x526466(0x142)](_0x31e656=>_0x31e656[_0x526466(0x117)][_0x526466(0x142)](_0x5d289b=>_0x5d289b))[_0x526466(0x110)]();}[_0x4376a1(0x11a)](_0x2d6ab6){const _0x294929=_0x4376a1;for(const _0x4515e1 of this[_0x294929(0x117)])_0x2d6ab6&&_0x2d6ab6['id']===_0x4515e1['id']?_0x4515e1[_0x294929(0x119)]():_0x4515e1[_0x294929(0x13b)]();}[_0x4376a1(0x13c)](_0x5d8a9b){const _0x3dd2ef=_0x4376a1;for(const _0x3f6239 of this[_0x3dd2ef(0x117)])_0x5d8a9b[_0x3dd2ef(0x133)](({id:_0x30d513})=>_0x30d513===_0x3f6239['id'])?_0x3f6239[_0x3dd2ef(0x13f)]():_0x3f6239[_0x3dd2ef(0x124)]();}[_0x4376a1(0x111)](_0x16bf19){const _0x36d144=_0x4376a1,_0x108361=_0x51940d(_0x16bf19[_0x36d144(0x132)],this[_0x36d144(0x129)][_0x36d144(0x11c)])[_0x36d144(0x112)];let _0x44adef=this[_0x36d144(0x13a)][_0x36d144(0x10f)](0x0);_0x44adef&&_0x44adef[_0x36d144(0x112)][_0x36d144(0x123)]()===_0x108361[_0x36d144(0x123)]()||(_0x44adef=new _0x52e2f5(this[_0x36d144(0x129)],_0x108361,this[_0x36d144(0x126)],this[_0x36d144(0x121)]),this[_0x36d144(0x13a)][_0x36d144(0x114)](_0x44adef)),_0x44adef[_0x36d144(0x11d)](_0x16bf19);}[_0x4376a1(0x118)](_0xa6d3f0){const _0x4ab76e=_0x4376a1,_0x1e5c83=_0x51940d(_0xa6d3f0[_0x4ab76e(0x132)],this[_0x4ab76e(0x129)][_0x4ab76e(0x11c)])[_0x4ab76e(0x112)];this[_0x4ab76e(0x134)](_0x1e5c83)[_0x4ab76e(0x138)](_0xa6d3f0);}[_0x4376a1(0x134)](_0x2fa96f){const _0x30b7ff=_0x4376a1;return this[_0x30b7ff(0x13a)][_0x30b7ff(0x12e)](_0x4b0e84=>_0x4b0e84[_0x30b7ff(0x112)][_0x30b7ff(0x123)]()===_0x2fa96f[_0x30b7ff(0x123)]());}}
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
(function(
|
|
23
|
+
(function(_0x26d84b,_0x4d7b07){const _0x294e61=_0x1978,_0x43ffe3=_0x26d84b();while(!![]){try{const _0x926fee=parseInt(_0x294e61(0xba))/0x1*(-parseInt(_0x294e61(0xbc))/0x2)+parseInt(_0x294e61(0xc2))/0x3*(parseInt(_0x294e61(0xc4))/0x4)+-parseInt(_0x294e61(0xc3))/0x5+parseInt(_0x294e61(0xb5))/0x6+parseInt(_0x294e61(0xc8))/0x7*(-parseInt(_0x294e61(0xc9))/0x8)+-parseInt(_0x294e61(0xcc))/0x9*(parseInt(_0x294e61(0xbf))/0xa)+parseInt(_0x294e61(0xc0))/0xb;if(_0x926fee===_0x4d7b07)break;else _0x43ffe3['push'](_0x43ffe3['shift']());}catch(_0x16c2c5){_0x43ffe3['push'](_0x43ffe3['shift']());}}}(_0x58b6,0xed797));function _0x58b6(){const _0x42c8ef=['1195580phAOfm','10084sGHzTX','startOf','local','toRelativeCalendar','12824vztwtP','8368SKZvuo','week','fromJSDate','153CoZPIR','month','3585606fhdMVj','minus','monthLong','weekdayLong','day','1431586ZvjmuE','year','2DmPsTH','toJSDate','hasSame','587260digknH','50515784bUNtda','setLocale','438wUKGVN'];_0x58b6=function(){return _0x42c8ef;};return _0x58b6();}import{DateTime as _0x7dc85a}from'luxon';function _0x1978(_0x5eefcd,_0x4f3b6c){const _0x58b61b=_0x58b6();return _0x1978=function(_0x197856,_0x4eea24){_0x197856=_0x197856-0xb4;let _0x466b8e=_0x58b61b[_0x197856];return _0x466b8e;},_0x1978(_0x5eefcd,_0x4f3b6c);}export function getDateTimePeriodInfo(_0x5bbc23,_0x5e21be){const _0x49fe94=_0x1978,_0x1b04fd=_0x7dc85a[_0x49fe94(0xcb)](_0x5bbc23)[_0x49fe94(0xc1)](_0x5e21be),_0x54bfaf=_0x7dc85a[_0x49fe94(0xc6)](),_0x24a96c=_0x54bfaf[_0x49fe94(0xb6)]({'days':0x1})[_0x49fe94(0xc5)](_0x49fe94(0xb9));let _0x567913,_0x2e04fa;return _0x1b04fd[_0x49fe94(0xbe)](_0x54bfaf,_0x49fe94(0xb9))?(_0x567913=_0x1b04fd[_0x49fe94(0xc5)](_0x49fe94(0xb9))[_0x49fe94(0xbd)](),_0x2e04fa=_0x1b04fd[_0x49fe94(0xc7)]()):_0x1b04fd[_0x49fe94(0xbe)](_0x24a96c,_0x49fe94(0xb9))?(_0x567913=_0x24a96c[_0x49fe94(0xbd)](),_0x2e04fa=_0x1b04fd[_0x49fe94(0xc7)]()):_0x1b04fd[_0x49fe94(0xbe)](_0x54bfaf,_0x49fe94(0xca))?(_0x567913=_0x1b04fd[_0x49fe94(0xc5)](_0x49fe94(0xca))[_0x49fe94(0xbd)](),_0x2e04fa=_0x1b04fd[_0x49fe94(0xb8)]||''):_0x1b04fd[_0x49fe94(0xbe)](_0x54bfaf,_0x49fe94(0xbb))?(_0x567913=_0x1b04fd[_0x49fe94(0xc5)](_0x49fe94(0xb4))[_0x49fe94(0xbd)](),_0x2e04fa=_0x1b04fd[_0x49fe94(0xb7)]||''):(_0x567913=_0x1b04fd[_0x49fe94(0xc5)](_0x49fe94(0xbb))[_0x49fe94(0xbd)](),_0x2e04fa=String(_0x1b04fd[_0x49fe94(0xbb)])),{'startDate':_0x567913,'localizedPeriodName':_0x2e04fa};}
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
function
|
|
23
|
+
const _0x545f48=_0x494e;function _0x4f33(){const _0x49515a=['Added\x20by','6791830JkVNIG','ck-revision-change__label','_model','660OHgPzU','author','5829920lkMoaM','Suggested\x20by','112PtCXFE','ck-annotation','type','focus','set','div','data','name','ck-revision-change__','setTemplate','27jdjVwa','ck-revision-change','86298zKGEDT','bindTemplate','64204hWzYLt','isSuggestion','2687688hOOcXu','1467229bfHXbv','Removed\x20by','changeId','span','1022004sZeSAy','add','element'];_0x4f33=function(){return _0x49515a;};return _0x4f33();}(function(_0x1894c1,_0x3d6d74){const _0x176150=_0x494e,_0x3ac8a4=_0x1894c1();while(!![]){try{const _0x17dff6=parseInt(_0x176150(0x144))/0x1+-parseInt(_0x176150(0x13f))/0x2*(parseInt(_0x176150(0x13d))/0x3)+parseInt(_0x176150(0x143))/0x4+parseInt(_0x176150(0x131))/0x5+-parseInt(_0x176150(0x14f))/0x6*(parseInt(_0x176150(0x141))/0x7)+-parseInt(_0x176150(0x133))/0x8*(parseInt(_0x176150(0x148))/0x9)+parseInt(_0x176150(0x14c))/0xa;if(_0x17dff6===_0x3d6d74)break;else _0x3ac8a4['push'](_0x3ac8a4['shift']());}catch(_0x2ecaa0){_0x3ac8a4['push'](_0x3ac8a4['shift']());}}}(_0x4f33,0xf3799));import{View as _0x7128a2}from'ckeditor5/src/ui.js';function _0x494e(_0x28c8ef,_0x5e1320){const _0x4f33de=_0x4f33();return _0x494e=function(_0x494e13,_0x427af6){_0x494e13=_0x494e13-0x130;let _0x5932e9=_0x4f33de[_0x494e13];return _0x5932e9;},_0x494e(_0x28c8ef,_0x5e1320);}import{getTranslation as _0x1d4591}from'../../utils/common-translations.js';export class ChangeDetailsView extends _0x7128a2{[_0x545f48(0x146)];[_0x545f48(0x14e)];constructor(_0x4ec6a2,_0x20a1d1){const _0x32257c=_0x545f48;super(_0x4ec6a2),this[_0x32257c(0x14e)]=_0x20a1d1,this[_0x32257c(0x146)]=_0x20a1d1['id'];const _0x5be053=this[_0x32257c(0x140)],_0x5f5add=_0x1d4591(_0x4ec6a2,_0x20a1d1[_0x32257c(0x139)][_0x32257c(0x142)]?_0x32257c(0x132):_0x32257c(0x149)==_0x20a1d1[_0x32257c(0x135)]?_0x32257c(0x14b):_0x32257c(0x145));this[_0x32257c(0x137)](_0x32257c(0x135),_0x20a1d1[_0x32257c(0x135)]),this[_0x32257c(0x13c)]({'tag':_0x32257c(0x138),'attributes':{'class':[_0x32257c(0x134),_0x32257c(0x13e),_0x5be053['to'](_0x32257c(0x135),_0xfb53d6=>_0x32257c(0x13b)+_0xfb53d6)],'tabindex':-0x1},'children':[{'tag':_0x32257c(0x147),'children':[{'tag':_0x32257c(0x147),'attributes':{'class':[_0x32257c(0x14d)]},'children':[{'text':_0x5f5add}]},{'text':'\x20'+_0x20a1d1[_0x32257c(0x130)][_0x32257c(0x13a)]}]}]});}[_0x545f48(0x136)](){const _0x1dd50a=_0x545f48;this[_0x1dd50a(0x14a)][_0x1dd50a(0x136)]();}}
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
(function(
|
|
23
|
+
(function(_0x4cdc5f,_0x2ec830){const _0x4dce42=_0xbb68,_0x1b45e9=_0x4cdc5f();while(!![]){try{const _0x6d3ce3=parseInt(_0x4dce42(0x177))/0x1+parseInt(_0x4dce42(0x17a))/0x2*(parseInt(_0x4dce42(0x16f))/0x3)+parseInt(_0x4dce42(0x168))/0x4+-parseInt(_0x4dce42(0x163))/0x5+-parseInt(_0x4dce42(0x188))/0x6*(parseInt(_0x4dce42(0x170))/0x7)+-parseInt(_0x4dce42(0x182))/0x8*(parseInt(_0x4dce42(0x17c))/0x9)+parseInt(_0x4dce42(0x175))/0xa*(-parseInt(_0x4dce42(0x167))/0xb);if(_0x6d3ce3===_0x2ec830)break;else _0x1b45e9['push'](_0x1b45e9['shift']());}catch(_0x15f100){_0x1b45e9['push'](_0x1b45e9['shift']());}}}(_0x56ae,0x2861a));import{View as _0xeb309e,ButtonView as _0x44fe6a,ToolbarSeparatorView as _0x2e70cb}from'ckeditor5/src/ui.js';function _0xbb68(_0x379352,_0x3aa28f){const _0x56ae60=_0x56ae();return _0xbb68=function(_0xbb6891,_0x3d3938){_0xbb6891=_0xbb6891-0x15d;let _0x496888=_0x56ae60[_0xbb6891];return _0x496888;},_0xbb68(_0x379352,_0x3aa28f);}import{IconChevronUp as _0xd0a834,IconChevronDown as _0x1c1f6c}from'ckeditor5/src/icons.js';import{getTranslation as _0x65a344}from'../../utils/common-translations.js';import'../../../theme/changesnavigation.css';export class ChangesNavigationView extends _0xeb309e{constructor(_0x3f35c5){const _0x215c81=_0xbb68;super(_0x3f35c5);const _0x428a4e=this[_0x215c81(0x176)],_0x3b34e5=new _0x44fe6a(_0x3f35c5),_0x3ed12f=new _0x44fe6a(_0x3f35c5);this[_0x215c81(0x172)](_0x215c81(0x173),!0x1),this[_0x215c81(0x172)](_0x215c81(0x184),!0x1),this[_0x215c81(0x172)](_0x215c81(0x169),0x0),this[_0x215c81(0x172)](_0x215c81(0x162),0x0),this[_0x215c81(0x172)](_0x215c81(0x17d),!0x1),this[_0x215c81(0x172)](_0x215c81(0x178),!0x1),this[_0x215c81(0x166)](_0x215c81(0x171))['to'](this,_0x215c81(0x184),this,_0x215c81(0x162),(_0x3c2ecd,_0x85a21f)=>_0x3c2ecd&&_0x85a21f>0x0),this[_0x215c81(0x166)](_0x215c81(0x187))['to'](this,_0x215c81(0x184),this,_0x215c81(0x169),this,_0x215c81(0x162),this,_0x215c81(0x173),(_0x21a295,_0xa5508c,_0x34f37a,_0x4920c3)=>{const _0x4fdc49=_0x215c81;if(!_0x21a295)return _0x65a344(_0x3f35c5,_0x4fdc49(0x164));if(!_0x34f37a)return _0x65a344(_0x3f35c5,_0x4fdc49(0x17f));const _0x2331db=_0x65a344(_0x3f35c5,_0x4fdc49(0x165),_0x34f37a);return _0x4920c3?_0x65a344(_0x3f35c5,_0x4fdc49(0x186),[_0xa5508c+0x1,_0x34f37a]):_0x2331db;}),_0x3b34e5[_0x215c81(0x172)]({'label':_0x65a344(_0x3f35c5,_0x215c81(0x17e)),'tooltip':!0x0,'icon':_0xd0a834}),_0x3ed12f[_0x215c81(0x172)]({'label':_0x65a344(_0x3f35c5,_0x215c81(0x160)),'tooltip':!0x0,'icon':_0x1c1f6c}),_0x3b34e5[_0x215c81(0x166)](_0x215c81(0x16e))['to'](this,_0x215c81(0x178)),_0x3ed12f[_0x215c81(0x166)](_0x215c81(0x16e))['to'](this,_0x215c81(0x17d)),_0x3b34e5['on'](_0x215c81(0x183),()=>this[_0x215c81(0x174)](_0x215c81(0x183),_0x215c81(0x17b))),_0x3ed12f['on'](_0x215c81(0x183),()=>this[_0x215c81(0x174)](_0x215c81(0x183),_0x215c81(0x15e))),this[_0x215c81(0x161)]({'tag':_0x215c81(0x16b),'attributes':{'class':['ck',_0x215c81(0x16a),_0x215c81(0x180)]},'children':[{'tag':_0x215c81(0x15f),'attributes':{'class':[_0x215c81(0x16d)]},'children':[{'tag':_0x215c81(0x15f),'attributes':{'class':[_0x215c81(0x179),_0x428a4e['if'](_0x215c81(0x171),_0x215c81(0x16c),_0x5a47f6=>!_0x5a47f6)]},'children':[{'text':_0x428a4e['to'](_0x215c81(0x173),_0x476bfd=>_0x476bfd?_0x65a344(_0x3f35c5,_0x215c81(0x181))+':\x20':_0x65a344(_0x3f35c5,_0x215c81(0x185))+':\x20')}]},{'text':_0x428a4e['to'](_0x215c81(0x187))}]},new _0x2e70cb(),{'tag':_0x215c81(0x16b),'attributes':{'class':[_0x215c81(0x15d)]},'children':[_0x3b34e5,_0x3ed12f]}]});}}function _0x56ae(){const _0x121a92=['isForwardNavigationEnabled','Show\x20previous\x20change','No\x20changes','ck-revision-history-ui__changes-navigation','EDIT_X_OF_Y_REVISIONS','122896nIoFPz','execute','isReady','Total','X_OF_Y_CHANGES','_statusText','281382KCnfFu','ck-revision-history-ui__changes-navigation__navigation','forward','span','Show\x20next\x20change','setTemplate','numberOfChanges','920360OIdzJZ','Loading...','NUMBER_OF_CHANGES','bind','518353pNZpPW','511228aIqTUX','currentChangeNumber','ck-revision-history-ui','div','ck-hidden','ck-revision-history-ui__changes-navigation__wrapper','isEnabled','66iqxIxe','28LzhCGX','_isStatusLabelVisible','set','isNavigationMode','fire','10oWcfuQ','bindTemplate','268494nXtjvJ','isBackwardNavigationEnabled','ck-revision-history-ui__changes-navigation__label','21270ASTiVF','backward','27dfnedA'];_0x56ae=function(){return _0x121a92;};return _0x56ae();}
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
const
|
|
23
|
+
const _0x3a869c=_0x1769;(function(_0x16248f,_0x5a738e){const _0x29ed1b=_0x1769,_0x537d37=_0x16248f();while(!![]){try{const _0x57992f=-parseInt(_0x29ed1b(0xf1))/0x1+-parseInt(_0x29ed1b(0xe3))/0x2+-parseInt(_0x29ed1b(0xeb))/0x3*(-parseInt(_0x29ed1b(0xe7))/0x4)+-parseInt(_0x29ed1b(0xed))/0x5+-parseInt(_0x29ed1b(0xf8))/0x6*(parseInt(_0x29ed1b(0xf2))/0x7)+-parseInt(_0x29ed1b(0xfb))/0x8*(parseInt(_0x29ed1b(0xe9))/0x9)+-parseInt(_0x29ed1b(0xf6))/0xa*(-parseInt(_0x29ed1b(0xf3))/0xb);if(_0x57992f===_0x5a738e)break;else _0x537d37['push'](_0x537d37['shift']());}catch(_0x3e872b){_0x537d37['push'](_0x537d37['shift']());}}}(_0x5d20,0xea03d));import{Plugin as _0x1f86cd}from'ckeditor5/src/core.js';const ge=_0x3a869c(0xe8);function _0x1769(_0x43999e,_0x1b5262){const _0x5d201b=_0x5d20();return _0x1769=function(_0x17690f,_0x4c310c){_0x17690f=_0x17690f-0xe3;let _0xb9c430=_0x5d201b[_0x17690f];return _0xb9c430;},_0x1769(_0x43999e,_0x1b5262);}function _0x5d20(){const _0x28d60a=['ck-editor__editable__loading-overlay','9dprbhl','pluginName','603ouItqd','editor','1950350MXpKJT','show','addClass','isPremiumPlugin','402564kPXDEt','440741ikvLJW','282645DESuAq','removeClass','document','1880dkSNJa','isOfficialPlugin','102vkWzEw','hide','change','13438328NFpVPv','roots','888220rFCYGC','RevisionViewerLoadingOverlay','view','editing','2284WhSLXg'];_0x5d20=function(){return _0x28d60a;};return _0x5d20();}import'../../../theme/revisionviewerloadingoverlay.css';export class RevisionViewerLoadingOverlay extends _0x1f86cd{static get[_0x3a869c(0xea)](){const _0x5193cc=_0x3a869c;return _0x5193cc(0xe4);}static get[_0x3a869c(0xf7)](){return!0x0;}static get[_0x3a869c(0xf0)](){return!0x0;}[_0x3a869c(0xee)](){const _0x1ada1b=_0x3a869c,_0x3f03fb=this[_0x1ada1b(0xec)][_0x1ada1b(0xe6)][_0x1ada1b(0xe5)];_0x3f03fb[_0x1ada1b(0xfa)](_0x146787=>{const _0x159899=_0x1ada1b;for(const _0x273401 of _0x3f03fb[_0x159899(0xf5)][_0x159899(0xfc)])_0x146787[_0x159899(0xef)](ge,_0x273401);});}[_0x3a869c(0xf9)](){const _0x2a336e=_0x3a869c,_0x3edb90=this[_0x2a336e(0xec)][_0x2a336e(0xe6)][_0x2a336e(0xe5)];_0x3edb90[_0x2a336e(0xfa)](_0x19ec37=>{const _0x32e11f=_0x2a336e;for(const _0xc0d295 of _0x3edb90[_0x32e11f(0xf5)][_0x32e11f(0xfc)])_0x19ec37[_0x32e11f(0xf4)](ge,_0xc0d295);});}}
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
const
|
|
23
|
+
const _0x11f229=_0x37a7;(function(_0x3fa97b,_0x32e2ff){const _0x1c37b9=_0x37a7,_0x3f4b04=_0x3fa97b();while(!![]){try{const _0x400abe=-parseInt(_0x1c37b9(0xee))/0x1*(-parseInt(_0x1c37b9(0xde))/0x2)+-parseInt(_0x1c37b9(0xd6))/0x3+parseInt(_0x1c37b9(0xfd))/0x4+-parseInt(_0x1c37b9(0xd2))/0x5+-parseInt(_0x1c37b9(0xf8))/0x6*(parseInt(_0x1c37b9(0xd3))/0x7)+parseInt(_0x1c37b9(0xe4))/0x8+parseInt(_0x1c37b9(0xda))/0x9*(-parseInt(_0x1c37b9(0xf7))/0xa);if(_0x400abe===_0x32e2ff)break;else _0x3f4b04['push'](_0x3f4b04['shift']());}catch(_0x1f8d7e){_0x3f4b04['push'](_0x3f4b04['shift']());}}}(_0x8c06,0x58823));import{Plugin as _0x2534e0}from'ckeditor5/src/core.js';function _0x8c06(){const _0x13fef7=['5391168rwBZZk','config','hide','isReady','changesNavigation','exitToEditing','Back\x20to\x20editing','add','plugins','isOfficialPlugin','3160DHvCdr','revisionHistory','componentFactory','set','showNextChange','restoreRevision','get','isPremiumPlugin','isBackwardNavigationEnabled','1498330MBRYXF','16578IoXSyM','showPreviousChange','listenTo','forward','RevisionViewerUI','393036YWsjdF','execute','editor','isNavigationMode','init','941845oBIJhH','686CvOVpg','numberOfChanges','pluginName','349944BMNCNc','currentChangeNumber','show','isForwardNavigationEnabled','9PbhMXJ','isEnabled','requires','ck-revision-history-ui__back-to-editing','200oqhTIi','closeRevisionViewerCallback','commands','bind','change:isReady','Restore\x20this\x20revision'];_0x8c06=function(){return _0x13fef7;};return _0x8c06();}import{ButtonView as _0x5d9276}from'ckeditor5/src/ui.js';import{IconUndo as _0x216236}from'ckeditor5/src/icons.js';import{ChangesNavigationView as _0xcc7405}from'./changesnavigationview.js';import{RevisionViewer as _0x2b3d35}from'./../../revisionviewer.js';import{RevisionViewerLoadingOverlay as _0x7aabb0}from'./revisionviewerloadingoverlay.js';import{getTranslation as _0x17ad99}from'../../utils/common-translations.js';import'../../../theme/revisionviewer.css';function _0x37a7(_0x406c90,_0x2a982a){const _0x8c060a=_0x8c06();return _0x37a7=function(_0x37a7fa,_0x41f99b){_0x37a7fa=_0x37a7fa-0xce;let _0x1a0b9d=_0x8c060a[_0x37a7fa];return _0x1a0b9d;},_0x37a7(_0x406c90,_0x2a982a);}export class RevisionViewerUI extends _0x2534e0{static get[_0x11f229(0xd5)](){const _0x2bca7c=_0x11f229;return _0x2bca7c(0xfc);}static get[_0x11f229(0xed)](){return!0x0;}static get[_0x11f229(0xf5)](){return!0x0;}static get[_0x11f229(0xdc)](){return[_0x2b3d35,_0x7aabb0];}[_0x11f229(0xd1)](){const _0x222e9e=_0x11f229,_0x39ac84=this[_0x222e9e(0xcf)],_0x5efc5d=_0x39ac84[_0x222e9e(0xec)][_0x222e9e(0xf4)](_0x2b3d35),_0x1b586b=_0x39ac84[_0x222e9e(0xec)][_0x222e9e(0xf4)](_0x7aabb0);_0x39ac84['ui'][_0x222e9e(0xf0)][_0x222e9e(0xeb)](_0x222e9e(0xe9),_0x382778=>{const _0x529616=_0x222e9e,_0x1f05a3=new _0x5d9276(_0x382778);return _0x1f05a3[_0x529616(0xf1)]({'label':_0x17ad99(_0x382778,_0x529616(0xea)),'icon':_0x216236,'withText':!0x0,'tooltip':!0x0,'class':_0x529616(0xdd)}),this[_0x529616(0xfa)](_0x1f05a3,_0x529616(0xce),()=>{const _0x329fba=_0x529616;_0x39ac84[_0x329fba(0xe5)][_0x329fba(0xf4)](_0x329fba(0xef))[_0x329fba(0xdf)]();}),_0x1f05a3;}),_0x39ac84['ui'][_0x222e9e(0xf0)][_0x222e9e(0xeb)](_0x222e9e(0xf3),_0x4fea73=>{const _0x4585d2=_0x222e9e,_0x2972c0=new _0x5d9276(_0x4fea73);return _0x2972c0[_0x4585d2(0xf1)]({'label':_0x17ad99(_0x4fea73,_0x4585d2(0xe3)),'withText':!0x0,'tooltip':!0x0}),_0x2972c0[_0x4585d2(0xe1)](_0x4585d2(0xdb))['to'](_0x39ac84[_0x4585d2(0xe0)][_0x4585d2(0xf4)](_0x4585d2(0xf3))),this[_0x4585d2(0xfa)](_0x2972c0,_0x4585d2(0xce),()=>_0x39ac84[_0x4585d2(0xce)](_0x4585d2(0xf3))),_0x2972c0;}),_0x39ac84['ui'][_0x222e9e(0xf0)][_0x222e9e(0xeb)](_0x222e9e(0xe8),_0x254dbc=>{const _0x5d2632=_0x222e9e,_0x2bdfe9=new _0xcc7405(_0x254dbc),_0x4a809f=_0x39ac84[_0x5d2632(0xe0)][_0x5d2632(0xf4)](_0x5d2632(0xf9)),_0xf039ea=_0x39ac84[_0x5d2632(0xe0)][_0x5d2632(0xf4)](_0x5d2632(0xf2));return _0x2bdfe9[_0x5d2632(0xe1)](_0x5d2632(0xf6))['to'](_0x4a809f,_0x5d2632(0xdb)),_0x2bdfe9[_0x5d2632(0xe1)](_0x5d2632(0xd9))['to'](_0xf039ea,_0x5d2632(0xdb)),_0x2bdfe9[_0x5d2632(0xe1)](_0x5d2632(0xe7),_0x5d2632(0xd7),_0x5d2632(0xd4),_0x5d2632(0xd0))['to'](_0x5efc5d),this[_0x5d2632(0xfa)](_0x2bdfe9,_0x5d2632(0xce),(_0x186b27,_0x8fcedd)=>{const _0x1bb36a=_0x5d2632;_0x39ac84[_0x1bb36a(0xce)](_0x1bb36a(0xfb)===_0x8fcedd?_0x1bb36a(0xf2):_0x1bb36a(0xf9));}),_0x2bdfe9;}),_0x1b586b[_0x222e9e(0xd8)](),_0x5efc5d['on'](_0x222e9e(0xe2),(_0x3c561d,_0x4881b5,_0x4e0d20)=>{const _0x3be274=_0x222e9e;_0x4e0d20?_0x1b586b[_0x3be274(0xe6)]():_0x1b586b[_0x3be274(0xd8)]();});}}
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
export function getTranslation(
|
|
23
|
+
export function getTranslation(_0x29aa72,_0x1c2473,_0x966535){const t=_0x29aa72['t'];switch(_0x1c2473){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'},_0x966535);case'X_OF_Y_CHANGES':return t({'string':'%0\x20of\x20%1','id':'X_OF_Y_CHANGES'},_0x966535);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'';}}
|