@ckeditor/ckeditor5-revision-history 0.0.0-nightly-20240506.0 → 0.0.0-nightly-20240507.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/build/revision-history.js +1 -1
- package/dist/index.css +28 -0
- package/dist/index.js +1 -1
- 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/az.js +1 -1
- package/dist/translations/az.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.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/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/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/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/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/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/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/sk.js +1 -1
- package/dist/translations/sk.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/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/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 +5 -5
- package/src/changeitem.js +1 -1
- package/src/editor/revisionviewereditor.js +1 -1
- package/src/editor/revisionviewereditorui.js +1 -1
- package/src/editor/revisionviewereditoruiview.js +1 -1
- package/src/index.js +1 -1
- package/src/revision.js +1 -1
- package/src/revisiondiff.js +1 -1
- package/src/revisionhistory.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 +1 -1
- 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 +1 -1
- package/src/ui/revisionhistory/revisionhistoryui.js +1 -1
- package/src/ui/revisionssidebar/revisionssidebar.js +1 -1
- package/src/ui/revisionssidebar/revisionssidebarheaderview.js +1 -1
- package/src/ui/revisionssidebar/revisionssidebartimeperiodview.js +1 -1
- package/src/ui/revisionssidebar/revisionssidebarview.js +1 -1
- package/src/ui/revisionssidebar/utils.js +1 -1
- package/src/ui/revisionviewer/changedetailsview.js +1 -1
- package/src/ui/revisionviewer/changesnavigationview.js +1 -1
- package/src/ui/revisionviewer/revisionviewerloadingoverlay.js +1 -1
- package/src/ui/revisionviewer/revisionviewerui.js +1 -1
- package/src/utils/common-translations.js +1 -1
- package/theme/revision/revision.css +4 -0
- package/theme/revision/revisionauthor.css +4 -0
- package/theme/revision/revisionname.css +4 -0
- package/theme/revision/subrevision.css +4 -0
- package/theme/revision/subrevisioncollapser.css +4 -0
- package/theme/revisionviewerloadingoverlay.css +4 -0
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
const
|
|
23
|
+
const _0x24ea96=_0x500a;(function(_0x9fba67,_0x5d8323){const _0x2e7e71=_0x500a,_0x3eca14=_0x9fba67();while(!![]){try{const _0x326025=-parseInt(_0x2e7e71(0x14e))/0x1+parseInt(_0x2e7e71(0x14f))/0x2+-parseInt(_0x2e7e71(0x156))/0x3*(parseInt(_0x2e7e71(0x164))/0x4)+-parseInt(_0x2e7e71(0x171))/0x5+-parseInt(_0x2e7e71(0x165))/0x6*(parseInt(_0x2e7e71(0x151))/0x7)+-parseInt(_0x2e7e71(0x155))/0x8*(-parseInt(_0x2e7e71(0x163))/0x9)+-parseInt(_0x2e7e71(0x175))/0xa*(-parseInt(_0x2e7e71(0x16f))/0xb);if(_0x326025===_0x5d8323)break;else _0x3eca14['push'](_0x3eca14['shift']());}catch(_0x54d698){_0x3eca14['push'](_0x3eca14['shift']());}}}(_0x492e,0x6cd8d));import{LabeledFieldView as _0x4b5391,View as _0x1999e7,createLabeledInputText as _0x2ecf70,injectCssTransitionDisabler as _0x19e907,submitHandler as _0x171089}from'ckeditor5/src/ui.js';import{FocusTracker as _0x1ef981,KeystrokeHandler as _0x5021d6}from'ckeditor5/src/utils.js';import{getTranslation as _0x5743e7}from'../../utils/common-translations.js';import'../../../theme/revisionhistorysaverevisionform.css';import'@ckeditor/ckeditor5-ui/theme/components/responsive-form/responsiveform.css';function _0x492e(){const _0x33c955=['keystrokes','4040315KpRNrk','revisionNameInputView','form','fieldView','10qpWlvv','stopPropagation','setTemplate','ck-revision-history-save-revision-form','set','311119ZWDqXx','1206208XngPwF','listenTo','1799XjiEgT','locale','element','220','3112dpDevT','55461DlLlML','arrowdown','trim','label','arrowright','reset','focus','errorText','ck-responsive-form','arrowleft','focusTracker','add','arrowup','14571WXdhMF','172DFImxK','9402KWoifk','render','extendTemplate','Name\x20of\x20the\x20revision','optional','revisionNameInputValue','_createRevisionNameInput','revisionName','input','value','16827624wvcUCI'];_0x492e=function(){return _0x33c955;};return _0x492e();}function _0x500a(_0x18df71,_0x3462bf){const _0x492e55=_0x492e();return _0x500a=function(_0x500a50,_0x3fbc6e){_0x500a50=_0x500a50-0x14d;let _0x412f33=_0x492e55[_0x500a50];return _0x412f33;},_0x500a(_0x18df71,_0x3462bf);}export default class ns extends _0x1999e7{constructor(_0x153cde,_0x5013aa){const _0x22baa6=_0x500a;super(_0x153cde),this[_0x22baa6(0x160)]=new _0x1ef981(),this[_0x22baa6(0x170)]=new _0x5021d6(),this[_0x22baa6(0x14d)](_0x22baa6(0x16a),''),this[_0x22baa6(0x172)]=this[_0x22baa6(0x16b)](_0x5013aa),this[_0x22baa6(0x177)]({'tag':_0x22baa6(0x173),'attributes':{'class':['ck',_0x22baa6(0x178),_0x22baa6(0x15e)],'tabindex':'-1'},'children':[this[_0x22baa6(0x172)]]}),_0x19e907(this);}[_0x24ea96(0x166)](){const _0x1c7083=_0x24ea96;super[_0x1c7083(0x166)](),_0x171089({'view':this}),this[_0x1c7083(0x160)][_0x1c7083(0x161)](this[_0x1c7083(0x172)][_0x1c7083(0x153)]),this[_0x1c7083(0x170)][_0x1c7083(0x150)](this[_0x1c7083(0x153)]);const _0x3eff21=_0xb5ab8f=>_0xb5ab8f[_0x1c7083(0x176)]();this[_0x1c7083(0x170)][_0x1c7083(0x14d)](_0x1c7083(0x15a),_0x3eff21),this[_0x1c7083(0x170)][_0x1c7083(0x14d)](_0x1c7083(0x15f),_0x3eff21),this[_0x1c7083(0x170)][_0x1c7083(0x14d)](_0x1c7083(0x162),_0x3eff21),this[_0x1c7083(0x170)][_0x1c7083(0x14d)](_0x1c7083(0x157),_0x3eff21);}[_0x24ea96(0x15c)](){const _0x22a3cb=_0x24ea96;this[_0x22a3cb(0x172)][_0x22a3cb(0x15c)]();}get[_0x24ea96(0x16c)](){const _0x1efc03=_0x24ea96;return this[_0x1efc03(0x172)][_0x1efc03(0x174)][_0x1efc03(0x153)][_0x1efc03(0x16e)][_0x1efc03(0x158)]();}set[_0x24ea96(0x16c)](_0x449c49){const _0x3da8c2=_0x24ea96;this[_0x3da8c2(0x172)][_0x3da8c2(0x174)][_0x3da8c2(0x153)][_0x3da8c2(0x16e)]=_0x449c49[_0x3da8c2(0x158)]();}[_0x24ea96(0x15b)](){const _0x483d97=_0x24ea96;this[_0x483d97(0x172)][_0x483d97(0x174)][_0x483d97(0x153)][_0x483d97(0x16e)]='',this[_0x483d97(0x172)][_0x483d97(0x15d)]=null;}[_0x24ea96(0x16b)](_0x4eb5b7){const _0x3e8b74=_0x24ea96,_0x1b2c3c=new _0x4b5391(this[_0x3e8b74(0x152)],_0x2ecf70),_0x5537b7=_0x1b2c3c[_0x3e8b74(0x174)];_0x5537b7[_0x3e8b74(0x167)]({'attributes':{'maxlength':_0x3e8b74(0x154)}});let _0x3056c8=_0x5743e7(this[_0x3e8b74(0x152)],_0x3e8b74(0x168));return!_0x4eb5b7&&(_0x3056c8+='\x20('+_0x5743e7(this[_0x3e8b74(0x152)],_0x3e8b74(0x169))+')'),(_0x1b2c3c[_0x3e8b74(0x159)]=_0x3056c8,_0x5537b7['on'](_0x3e8b74(0x16d),()=>{const _0x568fc0=_0x3e8b74;this[_0x568fc0(0x16a)]=_0x5537b7[_0x568fc0(0x153)][_0x568fc0(0x16e)][_0x568fc0(0x158)]();}),_0x1b2c3c);}}
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
import{Plugin as
|
|
23
|
+
import{Plugin as _0x1a6565,icons as _0xbbc7e7}from'ckeditor5/src/core.js';import{createDropdown as _0x584a28,ButtonView as _0x4414bb,ListItemView as _0x269f27,ListView as te,MenuBarMenuListItemButtonView as _0x5591c6,MenuBarMenuListItemView as _0x169040,MenuBarMenuListView as _0x286ce6,MenuBarMenuView as _0x366c27}from'ckeditor5/src/ui.js';import _0x5cb1d9 from'../../revisiontracker.js';import _0x14efa8 from'./revisionhistorysaverevisionformview.js';import{getTranslation as _0x1bf0c5}from'../../utils/common-translations.js';export default class u extends _0x1a6565{static get['pluginName'](){return'RevisionHistoryUI';}static get['requires'](){return[_0x5cb1d9];}['init'](){const _0x23cbb3=this['editor'],_0x4dfe5b=_0x23cbb3['plugins']['get']('RevisionTracker');_0x23cbb3['ui']['componentFactory']['add']('revisionHistory',_0x2329dd=>{const _0x455f30=_0x584a28(_0x2329dd),_0x4517f3=_0x455f30['panelView']['children'],_0x4a7d8d=new te(_0x2329dd),_0x24ce4c=new _0x269f27(_0x2329dd),_0x73da0e=new _0x4414bb(_0x2329dd),_0x20fa7a=new _0x269f27(_0x2329dd),_0x392609=new _0x4414bb(_0x2329dd);return _0x455f30['bind']('isEnabled')['to'](_0x4dfe5b,'isReady',_0x4dfe5b,'isEnabled',_0x23cbb3,'isReadOnly',(_0x1dbefb,_0x3ab8e5,_0x3b4391)=>_0x1dbefb&&_0x3ab8e5&&!_0x3b4391),_0x455f30['buttonView']['set']({'icon':_0xbbc7e7['history'],'label':_0x1bf0c5(_0x2329dd,'Revision\x20history'),'tooltip':!0x0}),_0x73da0e['set']({'label':_0x1bf0c5(_0x2329dd,'Save\x20current\x20revision'),'withText':!0x0}),_0x73da0e['bind']('isEnabled')['to'](_0x4dfe5b,'isReady',_0x4dfe5b,'isEnabled',_0x23cbb3,'isReadOnly',(_0x9326c1,_0x137933,_0x1b3bd8)=>_0x9326c1&&_0x137933&&!_0x1b3bd8),_0x73da0e['on']('execute',()=>this['_showDialog']()),_0x392609['set']({'label':_0x1bf0c5(_0x2329dd,'Open\x20revision\x20history'),'withText':!0x0}),_0x392609['bind']('isEnabled')['to'](_0x4dfe5b,'isReady',_0x23cbb3,'isReadOnly',(_0x40d945,_0x2abfe0)=>_0x40d945&&!_0x2abfe0),_0x392609['on']('execute',()=>{_0x23cbb3['config']['get']('revisionHistory')['showRevisionViewerCallback'](),_0x455f30['isOpen']=!0x1,_0x23cbb3['editing']['view']['focus']();}),_0x24ce4c['children']['add'](_0x73da0e),_0x20fa7a['children']['add'](_0x392609),_0x4a7d8d['items']['addMany']([_0x24ce4c,_0x20fa7a]),_0x4517f3['add'](_0x4a7d8d),_0x455f30;}),_0x23cbb3['ui']['componentFactory']['add']('menuBar:revisionHistory',()=>this['_registerMenuComponent']());}['_registerMenuComponent'](){const _0x59493d=this['editor'],_0x4b5bc4=_0x59493d['locale'],_0x1d605c=new _0x366c27(_0x4b5bc4),_0x232f39=new _0x286ce6(_0x4b5bc4);_0x1d605c['buttonView']['set']({'icon':_0xbbc7e7['history'],'label':_0x1bf0c5(_0x4b5bc4,'Revision\x20history')});const _0x2ebe4a=new _0x169040(_0x4b5bc4,_0x1d605c),_0x379577=new _0x5591c6(_0x4b5bc4);_0x379577['set']({'label':_0x1bf0c5(_0x4b5bc4,'Save\x20current\x20revision')}),_0x379577['delegate']('execute')['to'](_0x1d605c),_0x379577['on']('execute',()=>{this['_showDialog']();}),_0x2ebe4a['children']['add'](_0x379577),_0x232f39['items']['add'](_0x2ebe4a);const _0x3cd49d=new _0x169040(_0x4b5bc4,_0x1d605c),_0x3c42e6=new _0x5591c6(_0x4b5bc4);return _0x3c42e6['set']({'label':_0x1bf0c5(_0x4b5bc4,'Open\x20revision\x20history')}),_0x3c42e6['delegate']('execute')['to'](_0x1d605c),_0x3c42e6['on']('execute',()=>{_0x59493d['config']['get']('revisionHistory')['showRevisionViewerCallback']();}),_0x3cd49d['children']['add'](_0x3c42e6),_0x232f39['items']['add'](_0x3cd49d),_0x1d605c['panelView']['children']['add'](_0x232f39),_0x1d605c;}['_showDialog'](){const _0x43dfbc=this['editor'],_0x3e5ab7=_0x43dfbc['locale'],t=_0x3e5ab7['t'],_0x327cc8=_0x43dfbc['plugins']['get']('Dialog'),_0xab33db=_0x43dfbc['plugins']['get']('RevisionTracker');function _0x162d1e(_0x377f9b){_0x43dfbc['config']['get']('revisionHistory.requireRevisionName')&&''===_0x377f9b['revisionName']?_0x377f9b['revisionNameInputView']['errorText']=_0x1bf0c5(_0x3e5ab7,'The\x20revision\x20name\x20cannot\x20be\x20empty.'):(_0x43dfbc['plugins']['get'](_0x5cb1d9)['saveRevision']({'name':_0x377f9b['revisionName']}),_0x327cc8['hide']());}this['_saveRevisionFormView']||(this['_createSaveRevisionFormView'](),this['_saveRevisionFormView']['on']('submit',()=>_0x162d1e(this['_saveRevisionFormView']))),this['_saveRevisionFormView']['reset'](),_0x327cc8['show']({'id':'findAndReplace','title':_0x1bf0c5(_0x3e5ab7,'Save\x20current\x20revision'),'isModal':!0x0,'content':this['_saveRevisionFormView'],'actionButtons':[{'label':t('Cancel'),'withText':!0x0,'onExecute':()=>_0x327cc8['hide']()},{'label':t('Accept'),'class':'ck-button-action','withText':!0x0,'onCreate'(_0x4c8fc3){_0x4c8fc3['bind']('isEnabled')['to'](_0xab33db,'isReady',_0xab33db,'isEnabled',_0x43dfbc,'isReadOnly',(_0x32aed9,_0x4decb9,_0x39ce98)=>_0x32aed9&&_0x4decb9&&!_0x39ce98);},'onExecute':()=>_0x162d1e(this['_saveRevisionFormView'])}]});}['_createSaveRevisionFormView'](){const _0xbc58a9=this['editor'],_0x231654=_0xbc58a9['locale'];this['_saveRevisionFormView']=new _0x14efa8(_0x231654,_0xbc58a9['config']['get']('revisionHistory.requireRevisionName')),this['_saveRevisionFormView']['render']();}}
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
const
|
|
23
|
+
const _0x109f87=_0x5c3b;(function(_0x4feb7f,_0x125213){const _0x342d4e=_0x5c3b,_0x2d07d3=_0x4feb7f();while(!![]){try{const _0x80c51b=parseInt(_0x342d4e(0x17f))/0x1+parseInt(_0x342d4e(0x193))/0x2*(parseInt(_0x342d4e(0x163))/0x3)+parseInt(_0x342d4e(0x167))/0x4*(parseInt(_0x342d4e(0x182))/0x5)+-parseInt(_0x342d4e(0x17b))/0x6+parseInt(_0x342d4e(0x186))/0x7+parseInt(_0x342d4e(0x16a))/0x8+-parseInt(_0x342d4e(0x16d))/0x9*(parseInt(_0x342d4e(0x16b))/0xa);if(_0x80c51b===_0x125213)break;else _0x2d07d3['push'](_0x2d07d3['shift']());}catch(_0x5eb873){_0x2d07d3['push'](_0x2d07d3['shift']());}}}(_0x3a03,0x63983));function _0x3a03(){const _0x272a36=['assign','listenTo','isReady','destroy','_revisions','init','getIndex','revisionViews','revisionHistory.revisionActions','revisionSetName','1909452GNHZDN','ready','getRevision','isSelected','371829XnvGJL','map','Restore\x20this\x20revision','5efDxof','config','getLaterVisibleRevision','defaultRevisionActions','4344060SPXjpv','compareAgainstSelected','focus','select','change:diff','requires','revisionHistory.viewerSidebarContainer','action','_handleRevisionSetName','_createRevisionActions','isVisible','element','revisionHistory.requireRevisionName','12032vVpMEc','diff','nameRevision','_handleDiffChange','render','compare','restoreRevisionCallback','_handleEditorDataReady','Name\x20this\x20revision','selectRevision','data','appendChild','RevisionsSidebar','pluginName','isEnabled','highlightRevisions','_revisionViewer','getRevisionsInDiff','locale','_sidebarView','get','fieldView','newRevisionId','plugins','length','editor','remove','timePeriodViews','name','Compare\x20against\x20selected','_handleRevisionSelected','availableRevisionActions','getEarlierVisibleRevision','135xRnfju','revisionSelected','restoreRevision','repository','39564KBbGce','string','revisionHistory','4885072bfFhYt','11574730IpPQks','_revisionsRepository','9uMYapw','setName','bind','add'];_0x3a03=function(){return _0x272a36;};return _0x3a03();}import{Plugin as _0x4a6335}from'ckeditor5/src/core.js';import _0x23eb28 from'./revisionssidebarview.js';import _0x2cb734 from'../../revisionviewer.js';function _0x5c3b(_0x318dc9,_0x5cda48){const _0x3a038a=_0x3a03();return _0x5c3b=function(_0x5c3bfd,_0x39b5b2){_0x5c3bfd=_0x5c3bfd-0x153;let _0x4d29d7=_0x3a038a[_0x5c3bfd];return _0x4d29d7;},_0x5c3b(_0x318dc9,_0x5cda48);}export default class w extends _0x4a6335{static get[_0x109f87(0x1a0)](){const _0x3fcbd2=_0x109f87;return _0x3fcbd2(0x19f);}static get[_0x109f87(0x18b)](){return[_0x2cb734];}constructor(_0x1187b4){const _0x439637=_0x109f87;super(_0x1187b4),this[_0x439637(0x1a3)]=_0x1187b4[_0x439637(0x159)][_0x439637(0x156)](_0x2cb734),this[_0x439637(0x16c)]=this[_0x439637(0x1a3)][_0x439637(0x166)],this[_0x439637(0x155)]=null;}[_0x109f87(0x176)](){const _0x244c66=_0x109f87,_0x3d63ad=this[_0x244c66(0x16c)][_0x244c66(0x175)],_0x5f0feb=this[_0x244c66(0x18f)](),_0x1b73e1=this[_0x244c66(0x15b)][_0x244c66(0x183)][_0x244c66(0x156)](_0x244c66(0x18c));this[_0x244c66(0x155)]=new _0x23eb28(this[_0x244c66(0x15b)][_0x244c66(0x154)],_0x3d63ad,_0x5f0feb,this[_0x244c66(0x15b)][_0x244c66(0x183)][_0x244c66(0x156)](_0x244c66(0x192))),this[_0x244c66(0x155)]['on'](_0x244c66(0x164),this[_0x244c66(0x160)][_0x244c66(0x16f)](this)),this[_0x244c66(0x155)]['on'](_0x244c66(0x17a),this[_0x244c66(0x18e)][_0x244c66(0x16f)](this)),this[_0x244c66(0x155)][_0x244c66(0x16f)](_0x244c66(0x1a1))['to'](this[_0x244c66(0x1a3)]),this[_0x244c66(0x155)][_0x244c66(0x15d)]['on'](_0x244c66(0x170),(_0x398135,_0x4b9526)=>{const _0x46cdaf=_0x244c66;_0x4b9526[_0x46cdaf(0x178)]['on'](_0x46cdaf(0x170),(_0x563694,_0x16a3bf)=>{const _0x467e6c=_0x46cdaf;_0x16a3bf[_0x467e6c(0x16f)](_0x467e6c(0x1a1),_0x467e6c(0x173))['to'](this[_0x467e6c(0x1a3)]);});}),this[_0x244c66(0x155)][_0x244c66(0x197)](),this[_0x244c66(0x172)](this[_0x244c66(0x15b)][_0x244c66(0x19d)],_0x244c66(0x17c),this[_0x244c66(0x19a)][_0x244c66(0x16f)](this)),this[_0x244c66(0x172)](this[_0x244c66(0x1a3)],_0x244c66(0x18a),this[_0x244c66(0x196)][_0x244c66(0x16f)](this)),_0x1b73e1[_0x244c66(0x19e)](this[_0x244c66(0x155)][_0x244c66(0x191)]);}[_0x109f87(0x174)](){const _0x423c17=_0x109f87;this[_0x423c17(0x155)][_0x423c17(0x191)][_0x423c17(0x15c)](),this[_0x423c17(0x155)][_0x423c17(0x174)]();}[_0x109f87(0x19a)](){const _0x39b1a0=_0x109f87,_0x353c57=this[_0x39b1a0(0x16c)][_0x39b1a0(0x17d)](0x0);if(_0x353c57){const _0x2249d1=this[_0x39b1a0(0x16c)][_0x39b1a0(0x162)](_0x353c57['id']);this[_0x39b1a0(0x1a3)][_0x39b1a0(0x198)](_0x353c57,_0x2249d1);}}[_0x109f87(0x160)](_0x10af8f,_0x4ea058){const _0x382f45=_0x109f87,_0x5a4f41=this[_0x382f45(0x16c)][_0x382f45(0x17d)](_0x4ea058['id']),_0x437341=this[_0x382f45(0x16c)][_0x382f45(0x162)](_0x5a4f41['id']);this[_0x382f45(0x1a3)][_0x382f45(0x198)](_0x5a4f41,_0x437341);}[_0x109f87(0x18e)](_0x9de1f7,_0x45e6a9){const _0xbfa016=_0x109f87;this[_0xbfa016(0x16c)][_0xbfa016(0x17d)](_0x45e6a9['id'])[_0xbfa016(0x16e)](_0x45e6a9[_0xbfa016(0x15e)]);}[_0x109f87(0x196)](_0x1744ad,_0x244f9e,_0x4b1b0a){const _0x22785f=_0x109f87,_0x4656c0=this[_0x22785f(0x16c)][_0x22785f(0x153)](_0x4b1b0a);_0x4656c0[_0x22785f(0x15a)]>0x2?(this[_0x22785f(0x155)][_0x22785f(0x1a2)](_0x4656c0),this[_0x22785f(0x155)][_0x22785f(0x19c)](null)):(this[_0x22785f(0x155)][_0x22785f(0x1a2)]([]),this[_0x22785f(0x155)][_0x22785f(0x19c)](_0x4656c0[0x0]));}[_0x109f87(0x18f)](){const _0x45e5cb=_0x109f87,_0x3001ec=this[_0x45e5cb(0x15b)],_0x1105a7=w[_0x45e5cb(0x161)],_0x187345=_0x3001ec[_0x45e5cb(0x183)][_0x45e5cb(0x156)](_0x45e5cb(0x179))||w[_0x45e5cb(0x185)];if(_0x187345[_0x45e5cb(0x15a)])return _0x187345[_0x45e5cb(0x180)](_0x43c93e=>{const _0x38590d=_0x45e5cb,_0x1e80c5=_0x38590d(0x168)==typeof _0x43c93e?Object[_0x38590d(0x171)]({},_0x1105a7[_0x43c93e]):_0x43c93e;return _0x1e80c5[_0x38590d(0x18d)]=_0x1e80c5[_0x38590d(0x18d)][_0x38590d(0x16f)](this,_0x3001ec),_0x1e80c5[_0x38590d(0x190)]&&(_0x1e80c5[_0x38590d(0x190)]=_0x1e80c5[_0x38590d(0x190)][_0x38590d(0x16f)](this,_0x3001ec)),_0x1e80c5;});}}w[_0x109f87(0x161)]={'compareAgainstSelected':{'name':_0x109f87(0x15f),'action':({plugins:_0x40d665},_0x53f2eb)=>{const _0x77a100=_0x109f87,_0x58e91f=_0x40d665[_0x77a100(0x156)](_0x2cb734),_0x2d5358=_0x58e91f[_0x77a100(0x166)];let _0x4019fa=_0x58e91f[_0x77a100(0x194)][_0x77a100(0x158)],_0x40f76f=_0x53f2eb['id'];_0x2d5358[_0x77a100(0x177)](_0x4019fa)>_0x2d5358[_0x77a100(0x177)](_0x40f76f)&&([_0x4019fa,_0x40f76f]=[_0x40f76f,_0x4019fa]),_0x58e91f[_0x77a100(0x198)](_0x4019fa,_0x40f76f);},'isVisible':({plugins:_0x9e7ccf},_0x56ee79)=>{const _0x46030a=_0x109f87,_0x15e941=_0x9e7ccf[_0x46030a(0x156)](_0x2cb734);return!(_0x15e941[_0x46030a(0x166)][_0x46030a(0x153)](_0x15e941[_0x46030a(0x194)])[_0x46030a(0x15a)]>0x2)&&!_0x56ee79[_0x46030a(0x17e)];}},'restoreRevision':{'name':_0x109f87(0x181),'action':(_0xc28e52,{id:_0x3ec6cb})=>{const _0x1e311f=_0x109f87;_0xc28e52[_0x1e311f(0x183)][_0x1e311f(0x156)](_0x1e311f(0x169))[_0x1e311f(0x199)](_0x3ec6cb);},'isVisible':({plugins:_0x1090b2},_0x4f0635)=>!!_0x1090b2[_0x109f87(0x156)](_0x2cb734)[_0x109f87(0x166)][_0x109f87(0x184)](_0x4f0635['id'])},'nameRevision':{'name':_0x109f87(0x19b),'action':({plugins:_0x5f1e80},{id:_0x3f1427,revisionNameView:_0xda23d0})=>{const _0x287dc2=_0x109f87,_0x1699d3=_0x5f1e80[_0x287dc2(0x156)](_0x2cb734),_0x239a11=_0x1699d3[_0x287dc2(0x166)][_0x287dc2(0x162)](_0x3f1427);_0x1699d3[_0x287dc2(0x198)](_0x3f1427,_0x239a11),_0xda23d0[_0x287dc2(0x188)](),_0xda23d0[_0x287dc2(0x157)][_0x287dc2(0x189)]();}}},w[_0x109f87(0x185)]=[_0x109f87(0x187),_0x109f87(0x165),_0x109f87(0x195)];
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
(function(
|
|
23
|
+
(function(_0x35964a,_0x227992){const _0x22184e=_0x3c80,_0x5efd9a=_0x35964a();while(!![]){try{const _0x539189=parseInt(_0x22184e(0x19f))/0x1*(parseInt(_0x22184e(0x19b))/0x2)+-parseInt(_0x22184e(0x19c))/0x3+parseInt(_0x22184e(0x1a0))/0x4+-parseInt(_0x22184e(0x193))/0x5*(-parseInt(_0x22184e(0x198))/0x6)+parseInt(_0x22184e(0x18f))/0x7+-parseInt(_0x22184e(0x19e))/0x8*(parseInt(_0x22184e(0x19d))/0x9)+-parseInt(_0x22184e(0x199))/0xa*(parseInt(_0x22184e(0x18d))/0xb);if(_0x539189===_0x227992)break;else _0x5efd9a['push'](_0x5efd9a['shift']());}catch(_0x451b30){_0x5efd9a['push'](_0x5efd9a['shift']());}}}(_0x7976,0xee076));function _0x7976(){const _0x55130e=['2APARBE','2420592xRCmDa','33381ZOBgbt','1112TlWhpm','1526119RPkGtq','7684788ODeyOw','38176204pZiTVB','ck-revision-history-sidebar__header__label','5487356QOptuN','setTemplate','Revision\x20history','history','207665BOnPlX','span','content','ck-revision-history-sidebar__header','ck-reset_all','222UExaZt','10KmoRHE','div'];_0x7976=function(){return _0x55130e;};return _0x7976();}import{View as _0x46c445,IconView as _0x5bad7e}from'ckeditor5/src/ui.js';import{getTranslation as _0x2bb86a}from'../../utils/common-translations.js';import{icons as _0x5e4409}from'ckeditor5/src/core.js';import'../../../theme/revisionssidebar/revisionssidebarheader.css';function _0x3c80(_0x5bacf0,_0x13694a){const _0x797692=_0x7976();return _0x3c80=function(_0x3c80bb,_0x5ad8a4){_0x3c80bb=_0x3c80bb-0x18d;let _0x556f49=_0x797692[_0x3c80bb];return _0x556f49;},_0x3c80(_0x5bacf0,_0x13694a);}export default class as extends _0x46c445{constructor(_0x2ee250){const _0x4294fd=_0x3c80;super(_0x2ee250);const _0x4cc4f4=new _0x5bad7e();_0x4cc4f4[_0x4294fd(0x195)]=_0x5e4409[_0x4294fd(0x192)],this[_0x4294fd(0x190)]({'tag':_0x4294fd(0x19a),'attributes':{'class':['ck',_0x4294fd(0x197),_0x4294fd(0x196)]},'children':[_0x4cc4f4,{'tag':_0x4294fd(0x194),'attributes':{'class':['ck',_0x4294fd(0x18e)]},'children':[_0x2bb86a(_0x2ee250,_0x4294fd(0x191))]}]});}}
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
const
|
|
23
|
+
const _0xf60398=_0x3e7e;(function(_0x58e194,_0xf58c0c){const _0x1ddc65=_0x3e7e,_0x3a1a86=_0x58e194();while(!![]){try{const _0x4566f0=-parseInt(_0x1ddc65(0xb7))/0x1+parseInt(_0x1ddc65(0xae))/0x2+parseInt(_0x1ddc65(0xc1))/0x3*(parseInt(_0x1ddc65(0xc2))/0x4)+parseInt(_0x1ddc65(0xad))/0x5*(-parseInt(_0x1ddc65(0xaa))/0x6)+parseInt(_0x1ddc65(0xbf))/0x7*(-parseInt(_0x1ddc65(0xc7))/0x8)+parseInt(_0x1ddc65(0xb4))/0x9+-parseInt(_0x1ddc65(0xbe))/0xa;if(_0x4566f0===_0xf58c0c)break;else _0x3a1a86['push'](_0x3a1a86['shift']());}catch(_0x2d70d8){_0x3a1a86['push'](_0x3a1a86['shift']());}}}(_0x3715,0x84e0f));import{View as _0x5a6e36}from'ckeditor5/src/ui.js';import _0x132261 from'../revision/revisionview.js';import{getDateTimePeriodInfo as _0xac19d}from'./utils.js';function _0x3e7e(_0x8cacbd,_0x5124a7){const _0x371594=_0x3715();return _0x3e7e=function(_0x3e7e0f,_0x4cbd89){_0x3e7e0f=_0x3e7e0f-0xa9;let _0x2bd408=_0x371594[_0x3e7e0f];return _0x2bd408;},_0x3e7e(_0x8cacbd,_0x5124a7);}import'../../../theme/revisionssidebar/revisionssidebartimeperiod.css';export default class mi extends _0x5a6e36{constructor(_0x477d63,_0x28731e,_0x5031e2,_0x5128f2){const _0x39eb1b=_0x3e7e;super(_0x477d63);const _0x5df69d=_0xac19d(_0x28731e,this[_0x39eb1b(0xc3)][_0x39eb1b(0xc0)])[_0x39eb1b(0xbd)];this[_0x39eb1b(0xb2)]=_0x28731e,this[_0x39eb1b(0xc4)]=this[_0x39eb1b(0xab)](),this[_0x39eb1b(0xa9)]=_0x5031e2,this[_0x39eb1b(0xbb)]=_0x5128f2,this[_0x39eb1b(0xc4)][_0x39eb1b(0xb5)](_0x39eb1b(0xaf))['to'](this),this[_0x39eb1b(0xc4)][_0x39eb1b(0xb5)](_0x39eb1b(0xb0))['to'](this),this[_0x39eb1b(0xb3)]({'tag':_0x39eb1b(0xc6),'attributes':{'class':['ck',_0x39eb1b(0xb9)]},'children':[{'tag':_0x39eb1b(0xc8),'attributes':{'class':['ck',_0x39eb1b(0xbc)]},'children':[{'text':_0x5df69d}]},{'tag':_0x39eb1b(0xc6),'attributes':{'class':['ck',_0x39eb1b(0xc5)]},'children':this[_0x39eb1b(0xc4)]}]});}[_0xf60398(0xb6)](_0x24b5ca){const _0x484904=_0xf60398,_0x1367e0=new _0x132261(this[_0x484904(0xc3)],_0x24b5ca,this[_0x484904(0xa9)],this[_0x484904(0xbb)]);this[_0x484904(0xc4)][_0x484904(0xba)](_0x1367e0);}[_0xf60398(0xac)](_0x5dad2b){const _0xccaa37=_0xf60398,_0x31b06e=this[_0xccaa37(0xc4)][_0xccaa37(0xb8)](_0x554c64=>_0x554c64['id']===_0x5dad2b['id']);this[_0xccaa37(0xc4)][_0xccaa37(0xb1)](_0x31b06e);}}function _0x3715(){const _0x1d85a1=['2468517Xmvopj','4LrJmXt','locale','revisionViews','ck-revision-history-sidebar__time-period__revisions','div','67112ueAAwK','span','_revisionActions','1538724XoReUb','createCollection','removeRevision','15cjqxSe','419954KbJWuh','select','setName','remove','startDate','setTemplate','6903162TQXTgp','delegate','addRevision','278880CUSsPK','find','ck-revision-history-sidebar__time-period','add','_requireRevisionName','ck-revision-history-sidebar__time-period__label','localizedPeriodName','982640tZfpgX','91nxdSqY','uiLanguage'];_0x3715=function(){return _0x1d85a1;};return _0x3715();}
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
function
|
|
23
|
+
const _0x5ee343=_0x1fdc;(function(_0x5b204c,_0x5935dc){const _0x2f0fd2=_0x1fdc,_0x4076a7=_0x5b204c();while(!![]){try{const _0x1615a9=parseInt(_0x2f0fd2(0x1a5))/0x1+parseInt(_0x2f0fd2(0x1a6))/0x2*(parseInt(_0x2f0fd2(0x197))/0x3)+-parseInt(_0x2f0fd2(0x195))/0x4+parseInt(_0x2f0fd2(0x1b2))/0x5+-parseInt(_0x2f0fd2(0x1ad))/0x6+parseInt(_0x2f0fd2(0x1c5))/0x7+parseInt(_0x2f0fd2(0x1bb))/0x8*(-parseInt(_0x2f0fd2(0x1c6))/0x9);if(_0x1615a9===_0x5935dc)break;else _0x4076a7['push'](_0x4076a7['shift']());}catch(_0xca22c2){_0x4076a7['push'](_0x4076a7['shift']());}}}(_0x5c44,0xb20c4));import{View as _0x5a4044}from'ckeditor5/src/ui.js';import _0x180c87 from'./revisionssidebartimeperiodview.js';import _0x398ab5 from'./revisionssidebarheaderview.js';import{getDateTimePeriodInfo as _0x428cdd}from'./utils.js';import'../../../theme/revisionssidebar/revisionssidebar.css';function _0x5c44(){const _0x269988=['startDate','ck-revision-history-sidebar','locale','revisionSetName','_revisionActions','selectRevision','removeRevision','_revisions','revisionViews','setName','385007JLqbYY','14etrTXq','find','fire','_removeRevision','add','bindTemplate','flat','5300256sYjtnN','_getTimePeriodViewByStartDate','revisionSelected','highlight','render','5075600mxDbiy','set','highlightRevisions','ck-rounded-corners','get','ck-reset','isEnabled','_addRevision','unhighlight','160zvBykG','some','map','uiLanguage','setTemplate','_requireRevisionName','deselect','getTime','createdAt','createCollection','1472499gysaWF','179271MpwyzL','addRevision','timePeriodViews','remove','ck-revision-history-sidebar__timeline','2546060AjNKvG','select','444459aXnDrs','ck-disabled','div','delegate'];_0x5c44=function(){return _0x269988;};return _0x5c44();}function _0x1fdc(_0x25b9e2,_0x18f8eb){const _0x5c44b8=_0x5c44();return _0x1fdc=function(_0x1fdce7,_0x33eb0e){_0x1fdce7=_0x1fdce7-0x195;let _0x2b2e47=_0x5c44b8[_0x1fdce7];return _0x2b2e47;},_0x1fdc(_0x25b9e2,_0x18f8eb);}export default class ci extends _0x5a4044{constructor(_0x51bfef,_0x5c17c1,_0x51e932,_0x26f3ba){const _0x27b6d6=_0x1fdc;super(_0x51bfef);const _0x1bd952=this[_0x27b6d6(0x1ab)];this[_0x27b6d6(0x1c8)]=this[_0x27b6d6(0x1c4)](),this[_0x27b6d6(0x1c8)][_0x27b6d6(0x19a)](_0x27b6d6(0x196))['to'](this),this[_0x27b6d6(0x1c8)][_0x27b6d6(0x19a)](_0x27b6d6(0x1a4))['to'](this),this[_0x27b6d6(0x1a2)]=_0x5c17c1,this[_0x27b6d6(0x19f)]=_0x51e932,this[_0x27b6d6(0x1c0)]=_0x26f3ba,this['on'](_0x27b6d6(0x196),(_0x464077,_0x3a806f)=>{const _0x2deb65=_0x27b6d6;this[_0x2deb65(0x1a8)](_0x2deb65(0x1af),_0x3a806f);}),this['on'](_0x27b6d6(0x1a4),(_0x340b8d,_0x40bd17)=>{const _0x3c3b3a=_0x27b6d6;this[_0x3c3b3a(0x1a8)](_0x3c3b3a(0x19e),_0x40bd17);}),this[_0x27b6d6(0x1b3)](_0x27b6d6(0x1b8),!0x1),this[_0x27b6d6(0x1bf)]({'tag':_0x27b6d6(0x199),'attributes':{'class':['ck',_0x27b6d6(0x1b7),_0x27b6d6(0x1b5),_0x27b6d6(0x19c)]},'children':[new _0x398ab5(_0x51bfef),{'tag':_0x27b6d6(0x199),'attributes':{'class':['ck',_0x27b6d6(0x1ca),_0x1bd952['if'](_0x27b6d6(0x1b8),_0x27b6d6(0x198),_0x1c40d5=>!_0x1c40d5)]},'children':this[_0x27b6d6(0x1c8)]}]});}[_0x5ee343(0x1b1)](){const _0x2f3126=_0x5ee343;super[_0x2f3126(0x1b1)]();for(const _0x3692bb of this[_0x2f3126(0x1a2)])this[_0x2f3126(0x1b9)](_0x3692bb);this[_0x2f3126(0x1a2)]['on'](_0x2f3126(0x1aa),(_0x1de91c,_0x3363ff)=>{const _0x4bb867=_0x2f3126;this[_0x4bb867(0x1b9)](_0x3363ff);}),this[_0x2f3126(0x1a2)]['on'](_0x2f3126(0x1c9),(_0x169661,_0x5dc058)=>{const _0x47788b=_0x2f3126;this[_0x47788b(0x1a9)](_0x5dc058);});}get[_0x5ee343(0x1a3)](){const _0x59d62c=_0x5ee343;return this[_0x59d62c(0x1c8)][_0x59d62c(0x1bd)](_0x58e211=>_0x58e211[_0x59d62c(0x1a3)][_0x59d62c(0x1bd)](_0x3be8e1=>_0x3be8e1))[_0x59d62c(0x1ac)]();}[_0x5ee343(0x1a0)](_0x565b1a){const _0x44944a=_0x5ee343;for(const _0x51c267 of this[_0x44944a(0x1a3)])_0x565b1a&&_0x565b1a['id']===_0x51c267['id']?_0x51c267[_0x44944a(0x196)]():_0x51c267[_0x44944a(0x1c1)]();}[_0x5ee343(0x1b4)](_0x5a94b8){const _0x2d55a9=_0x5ee343;for(const _0x3f4cb3 of this[_0x2d55a9(0x1a3)])_0x5a94b8[_0x2d55a9(0x1bc)](({id:_0x12deda})=>_0x12deda===_0x3f4cb3['id'])?_0x3f4cb3[_0x2d55a9(0x1b0)]():_0x3f4cb3[_0x2d55a9(0x1ba)]();}[_0x5ee343(0x1b9)](_0x5cb459){const _0x249b74=_0x5ee343,_0x4a73a5=_0x428cdd(_0x5cb459[_0x249b74(0x1c3)],this[_0x249b74(0x19d)][_0x249b74(0x1be)])[_0x249b74(0x19b)];let _0xb7e1b8=this[_0x249b74(0x1c8)][_0x249b74(0x1b6)](0x0);_0xb7e1b8&&_0xb7e1b8[_0x249b74(0x19b)][_0x249b74(0x1c2)]()===_0x4a73a5[_0x249b74(0x1c2)]()||(_0xb7e1b8=new _0x180c87(this[_0x249b74(0x19d)],_0x4a73a5,this[_0x249b74(0x19f)],this[_0x249b74(0x1c0)]),this[_0x249b74(0x1c8)][_0x249b74(0x1aa)](_0xb7e1b8)),_0xb7e1b8[_0x249b74(0x1c7)](_0x5cb459);}[_0x5ee343(0x1a9)](_0x2fd24b){const _0x1c94c5=_0x5ee343,_0x48b1d8=_0x428cdd(_0x2fd24b[_0x1c94c5(0x1c3)],this[_0x1c94c5(0x19d)][_0x1c94c5(0x1be)])[_0x1c94c5(0x19b)];this[_0x1c94c5(0x1ae)](_0x48b1d8)[_0x1c94c5(0x1a1)](_0x2fd24b);}[_0x5ee343(0x1ae)](_0x22cb71){const _0x42816a=_0x5ee343;return this[_0x42816a(0x1c8)][_0x42816a(0x1a7)](_0x11c6d4=>_0x11c6d4[_0x42816a(0x19b)][_0x42816a(0x1c2)]()===_0x22cb71[_0x42816a(0x1c2)]());}}
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
|
|
23
|
+
(function(_0x455725,_0x4e4290){const _0x90c956=_0x5d6b,_0x450827=_0x455725();while(!![]){try{const _0x4e8f6c=-parseInt(_0x90c956(0x1c4))/0x1+-parseInt(_0x90c956(0x1c2))/0x2+parseInt(_0x90c956(0x1c0))/0x3+-parseInt(_0x90c956(0x1be))/0x4*(-parseInt(_0x90c956(0x1b1))/0x5)+-parseInt(_0x90c956(0x1ba))/0x6*(-parseInt(_0x90c956(0x1c7))/0x7)+parseInt(_0x90c956(0x1bc))/0x8*(parseInt(_0x90c956(0x1bf))/0x9)+parseInt(_0x90c956(0x1b2))/0xa*(-parseInt(_0x90c956(0x1c3))/0xb);if(_0x4e8f6c===_0x4e4290)break;else _0x450827['push'](_0x450827['shift']());}catch(_0x396b43){_0x450827['push'](_0x450827['shift']());}}}(_0x2e43,0x266fe));import{DateTime as _0x4f25f5}from'luxon';export function getDateTimePeriodInfo(_0x10b7cd,_0xaad223){const _0x32473e=_0x5d6b,_0x4a13d2=_0x4f25f5[_0x32473e(0x1b6)](_0x10b7cd)[_0x32473e(0x1c6)](_0xaad223),_0x4eaedb=_0x4f25f5[_0x32473e(0x1bb)](),_0x382a59=_0x4eaedb[_0x32473e(0x1b5)]({'days':0x1})[_0x32473e(0x1b9)](_0x32473e(0x1b3));let _0x1ba115,_0x2e4dee;return _0x4a13d2[_0x32473e(0x1b7)](_0x4eaedb,_0x32473e(0x1b3))?(_0x1ba115=_0x4a13d2[_0x32473e(0x1b9)](_0x32473e(0x1b3))[_0x32473e(0x1c1)](),_0x2e4dee=_0x4a13d2[_0x32473e(0x1b4)]()):_0x4a13d2[_0x32473e(0x1b7)](_0x382a59,_0x32473e(0x1b3))?(_0x1ba115=_0x382a59[_0x32473e(0x1c1)](),_0x2e4dee=_0x4a13d2[_0x32473e(0x1b4)]()):_0x4a13d2[_0x32473e(0x1b7)](_0x4eaedb,_0x32473e(0x1b8))?(_0x1ba115=_0x4a13d2[_0x32473e(0x1b9)](_0x32473e(0x1b8))[_0x32473e(0x1c1)](),_0x2e4dee=_0x4a13d2[_0x32473e(0x1c9)]||''):_0x4a13d2[_0x32473e(0x1b7)](_0x4eaedb,_0x32473e(0x1c5))?(_0x1ba115=_0x4a13d2[_0x32473e(0x1b9)](_0x32473e(0x1bd))[_0x32473e(0x1c1)](),_0x2e4dee=_0x4a13d2[_0x32473e(0x1c8)]||''):(_0x1ba115=_0x4a13d2[_0x32473e(0x1b9)](_0x32473e(0x1c5))[_0x32473e(0x1c1)](),_0x2e4dee=String(_0x4a13d2[_0x32473e(0x1c5)])),{'startDate':_0x1ba115,'localizedPeriodName':_0x2e4dee};}function _0x5d6b(_0x444fcf,_0x1fe9da){const _0x2e4300=_0x2e43();return _0x5d6b=function(_0x5d6bf3,_0x316b54){_0x5d6bf3=_0x5d6bf3-0x1b1;let _0x2f8175=_0x2e4300[_0x5d6bf3];return _0x2f8175;},_0x5d6b(_0x444fcf,_0x1fe9da);}function _0x2e43(){const _0x4a22c9=['minus','fromJSDate','hasSame','week','startOf','348aRaKVc','local','248sTjnxD','month','481652OuVpUb','46584dGUuSA','661596DKEqOH','toJSDate','552448bkHkaM','769582iaJzdD','10205KvhUoH','year','setLocale','26831AKeWCU','monthLong','weekdayLong','5cTeXIZ','40fjVVli','day','toRelativeCalendar'];_0x2e43=function(){return _0x4a22c9;};return _0x2e43();}
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
const
|
|
23
|
+
const _0x41e250=_0x589f;(function(_0x319a9f,_0x5924fe){const _0x21b61f=_0x589f,_0x10473d=_0x319a9f();while(!![]){try{const _0x2c4053=-parseInt(_0x21b61f(0x13d))/0x1+-parseInt(_0x21b61f(0x139))/0x2*(parseInt(_0x21b61f(0x152))/0x3)+-parseInt(_0x21b61f(0x143))/0x4*(parseInt(_0x21b61f(0x148))/0x5)+-parseInt(_0x21b61f(0x145))/0x6+-parseInt(_0x21b61f(0x13a))/0x7+-parseInt(_0x21b61f(0x147))/0x8+-parseInt(_0x21b61f(0x14a))/0x9*(-parseInt(_0x21b61f(0x14e))/0xa);if(_0x2c4053===_0x5924fe)break;else _0x10473d['push'](_0x10473d['shift']());}catch(_0x40b372){_0x10473d['push'](_0x10473d['shift']());}}}(_0x5a16,0xa05d8));import{View as _0x42cd0d}from'ckeditor5/src/ui.js';import{getTranslation as _0x55b081}from'../../utils/common-translations.js';function _0x5a16(){const _0x3597ba=['10CVvvGw','ck-revision-change','Suggested\x20by','focus','3JBAVYu','element','setTemplate','_model','set','bindTemplate','data','1286158pbuLet','8595083XLDkFG','name','author','173862pjfBqO','isSuggestion','add','Added\x20by','changeId','div','332QmgAee','ck-revision-change__label','1621644DZfHKv','span','2014832ESeKSf','32255hqrSQq','ck-revision-change__','33833043vEjjCO','Removed\x20by','ck-annotation','type'];_0x5a16=function(){return _0x3597ba;};return _0x5a16();}function _0x589f(_0x5311f1,_0x279420){const _0x5a1629=_0x5a16();return _0x589f=function(_0x589f9b,_0x5daed8){_0x589f9b=_0x589f9b-0x138;let _0x27c753=_0x5a1629[_0x589f9b];return _0x27c753;},_0x589f(_0x5311f1,_0x279420);}export default class Z extends _0x42cd0d{constructor(_0x369c01,_0x162533){const _0x5704ee=_0x589f;super(_0x369c01),this[_0x5704ee(0x155)]=_0x162533,this[_0x5704ee(0x141)]=_0x162533['id'];const _0x240704=this[_0x5704ee(0x157)],_0x3695e4=_0x55b081(_0x369c01,_0x162533[_0x5704ee(0x138)][_0x5704ee(0x13e)]?_0x5704ee(0x150):_0x5704ee(0x13f)==_0x162533[_0x5704ee(0x14d)]?_0x5704ee(0x140):_0x5704ee(0x14b));this[_0x5704ee(0x156)](_0x5704ee(0x14d),_0x162533[_0x5704ee(0x14d)]),this[_0x5704ee(0x154)]({'tag':_0x5704ee(0x142),'attributes':{'class':[_0x5704ee(0x14c),_0x5704ee(0x14f),_0x240704['to'](_0x5704ee(0x14d),_0x2d579d=>_0x5704ee(0x149)+_0x2d579d)],'tabindex':-0x1},'children':[{'tag':_0x5704ee(0x146),'children':[{'tag':_0x5704ee(0x146),'attributes':{'class':[_0x5704ee(0x144)]},'children':[{'text':_0x3695e4}]},{'text':'\x20'+_0x162533[_0x5704ee(0x13c)][_0x5704ee(0x13b)]}]}]});}[_0x41e250(0x151)](){const _0x51c0a1=_0x41e250;this[_0x51c0a1(0x153)][_0x51c0a1(0x151)]();}}
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
(function(
|
|
23
|
+
(function(_0x1720a0,_0x126056){const _0x3954a4=_0x3a60,_0x56034d=_0x1720a0();while(!![]){try{const _0x4e6272=parseInt(_0x3954a4(0x206))/0x1+-parseInt(_0x3954a4(0x1ec))/0x2+-parseInt(_0x3954a4(0x1fb))/0x3+parseInt(_0x3954a4(0x1f7))/0x4+-parseInt(_0x3954a4(0x211))/0x5*(-parseInt(_0x3954a4(0x1ee))/0x6)+parseInt(_0x3954a4(0x1ea))/0x7*(parseInt(_0x3954a4(0x207))/0x8)+-parseInt(_0x3954a4(0x1f6))/0x9;if(_0x4e6272===_0x126056)break;else _0x56034d['push'](_0x56034d['shift']());}catch(_0x255474){_0x56034d['push'](_0x56034d['shift']());}}}(_0x3efe,0x91489));import{View as _0x59e21f,ButtonView as _0x17bf48,ToolbarSeparatorView as _0x20af5b}from'ckeditor5/src/ui.js';function _0x3efe(){const _0x517eb7=['div','isBackwardNavigationEnabled','796483rbqDWG','8xYwboE','isNavigationMode','ck-revision-history-ui','ck-revision-history-ui__changes-navigation__wrapper','set','fire','X_OF_Y_CHANGES','ck-revision-history-ui__changes-navigation__navigation','NUMBER_OF_CHANGES','Show\x20previous\x20change','5ILcUlD','ck-revision-history-ui__changes-navigation','bindTemplate','811055QdMRWu','currentChangeNumber','52568JVTSTl','isEnabled','4858782rWQSAo','Total','backward','Loading...','No\x20changes','forward','isReady','setTemplate','5831451SkmpEK','1070048flXGwk','bind','ck-revision-history-ui__changes-navigation__label','Show\x20next\x20change','2161059DXWPgL','_statusText','execute','EDIT_X_OF_Y_REVISIONS','span','isForwardNavigationEnabled','_isStatusLabelVisible','numberOfChanges','ck-hidden'];_0x3efe=function(){return _0x517eb7;};return _0x3efe();}import{getTranslation as _0x1d3a01}from'../../utils/common-translations.js';import _0x5a3bc4 from'../../../theme/icons/arrow-up.svg';import _0x137a3d from'../../../theme/icons/arrow-down.svg';function _0x3a60(_0x55fb6f,_0x27b782){const _0x3efe5d=_0x3efe();return _0x3a60=function(_0x3a6017,_0xf204cb){_0x3a6017=_0x3a6017-0x1ea;let _0x175488=_0x3efe5d[_0x3a6017];return _0x175488;},_0x3a60(_0x55fb6f,_0x27b782);}import'../../../theme/changesnavigation.css';export default class _i extends _0x59e21f{constructor(_0x1b164e){const _0x2da28f=_0x3a60;super(_0x1b164e);const _0x10c9ed=this[_0x2da28f(0x213)],_0x2c31a4=new _0x17bf48(_0x1b164e),_0x127be8=new _0x17bf48(_0x1b164e);this[_0x2da28f(0x20b)](_0x2da28f(0x208),!0x1),this[_0x2da28f(0x20b)](_0x2da28f(0x1f4),!0x1),this[_0x2da28f(0x20b)](_0x2da28f(0x1eb),0x0),this[_0x2da28f(0x20b)](_0x2da28f(0x202),0x0),this[_0x2da28f(0x20b)](_0x2da28f(0x200),!0x1),this[_0x2da28f(0x20b)](_0x2da28f(0x205),!0x1),this[_0x2da28f(0x1f8)](_0x2da28f(0x201))['to'](this,_0x2da28f(0x1f4),this,_0x2da28f(0x202),(_0x1dca04,_0x9b3948)=>_0x1dca04&&_0x9b3948>0x0),this[_0x2da28f(0x1f8)](_0x2da28f(0x1fc))['to'](this,_0x2da28f(0x1f4),this,_0x2da28f(0x1eb),this,_0x2da28f(0x202),this,_0x2da28f(0x208),(_0x2667f4,_0x313533,_0xb2f35b,_0x21b848)=>{const _0x1d7ba5=_0x2da28f;if(!_0x2667f4)return _0x1d3a01(_0x1b164e,_0x1d7ba5(0x1f1));if(!_0xb2f35b)return _0x1d3a01(_0x1b164e,_0x1d7ba5(0x1f2));const _0x51ec84=_0x1d3a01(_0x1b164e,_0x1d7ba5(0x20f),_0xb2f35b);return _0x21b848?_0x1d3a01(_0x1b164e,_0x1d7ba5(0x20d),[_0x313533+0x1,_0xb2f35b]):_0x51ec84;}),_0x2c31a4[_0x2da28f(0x20b)]({'label':_0x1d3a01(_0x1b164e,_0x2da28f(0x210)),'tooltip':!0x0,'icon':_0x5a3bc4}),_0x127be8[_0x2da28f(0x20b)]({'label':_0x1d3a01(_0x1b164e,_0x2da28f(0x1fa)),'tooltip':!0x0,'icon':_0x137a3d}),_0x2c31a4[_0x2da28f(0x1f8)](_0x2da28f(0x1ed))['to'](this,_0x2da28f(0x205)),_0x127be8[_0x2da28f(0x1f8)](_0x2da28f(0x1ed))['to'](this,_0x2da28f(0x200)),_0x2c31a4['on'](_0x2da28f(0x1fd),()=>this[_0x2da28f(0x20c)](_0x2da28f(0x1fd),_0x2da28f(0x1f0))),_0x127be8['on'](_0x2da28f(0x1fd),()=>this[_0x2da28f(0x20c)](_0x2da28f(0x1fd),_0x2da28f(0x1f3))),this[_0x2da28f(0x1f5)]({'tag':_0x2da28f(0x204),'attributes':{'class':['ck',_0x2da28f(0x209),_0x2da28f(0x212)]},'children':[{'tag':_0x2da28f(0x1ff),'attributes':{'class':[_0x2da28f(0x20a)]},'children':[{'tag':_0x2da28f(0x1ff),'attributes':{'class':[_0x2da28f(0x1f9),_0x10c9ed['if'](_0x2da28f(0x201),_0x2da28f(0x203),_0x157713=>!_0x157713)]},'children':[{'text':_0x10c9ed['to'](_0x2da28f(0x208),_0x5f41da=>_0x5f41da?_0x1d3a01(_0x1b164e,_0x2da28f(0x1fe))+':\x20':_0x1d3a01(_0x1b164e,_0x2da28f(0x1ef))+':\x20')}]},{'text':_0x10c9ed['to'](_0x2da28f(0x1fc))}]},new _0x20af5b(),{'tag':_0x2da28f(0x204),'attributes':{'class':[_0x2da28f(0x20e)]},'children':[_0x2c31a4,_0x127be8]}]});}}
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
function
|
|
23
|
+
function _0x5dbd(_0x4b037b,_0x20b700){const _0x128331=_0x1283();return _0x5dbd=function(_0x5dbd76,_0x42353a){_0x5dbd76=_0x5dbd76-0x179;let _0x1d4dcb=_0x128331[_0x5dbd76];return _0x1d4dcb;},_0x5dbd(_0x4b037b,_0x20b700);}const _0x3bc02f=_0x5dbd;(function(_0x4141f2,_0x37c3dc){const _0x50b4c6=_0x5dbd,_0x406dd0=_0x4141f2();while(!![]){try{const _0x569580=-parseInt(_0x50b4c6(0x189))/0x1*(parseInt(_0x50b4c6(0x181))/0x2)+-parseInt(_0x50b4c6(0x186))/0x3+-parseInt(_0x50b4c6(0x18d))/0x4+parseInt(_0x50b4c6(0x17b))/0x5+-parseInt(_0x50b4c6(0x185))/0x6+parseInt(_0x50b4c6(0x18a))/0x7*(parseInt(_0x50b4c6(0x184))/0x8)+parseInt(_0x50b4c6(0x18c))/0x9;if(_0x569580===_0x37c3dc)break;else _0x406dd0['push'](_0x406dd0['shift']());}catch(_0x3b02e2){_0x406dd0['push'](_0x406dd0['shift']());}}}(_0x1283,0xaa30b));import{Plugin as _0x2f640d}from'ckeditor5/src/core.js';const ce=_0x3bc02f(0x17d);function _0x1283(){const _0x539eed=['pluginName','14AcpQZq','removeClass','editor','457936CmSmFT','1671414UwRvBL','2526078tSsObC','show','document','1303FdAugH','14puZWvS','change','16701345HIrLYC','5123268muSdZi','view','hide','RevisionViewerLoadingOverlay','5687215TQJyRm','roots','ck-editor__editable__loading-overlay','editing','addClass'];_0x1283=function(){return _0x539eed;};return _0x1283();}import'../../../theme/revisionviewerloadingoverlay.css';export default class de extends _0x2f640d{static get[_0x3bc02f(0x180)](){const _0x5100ee=_0x3bc02f;return _0x5100ee(0x17a);}[_0x3bc02f(0x187)](){const _0x3b45e9=_0x3bc02f,_0x46be16=this[_0x3b45e9(0x183)][_0x3b45e9(0x17e)][_0x3b45e9(0x18e)];_0x46be16[_0x3b45e9(0x18b)](_0x1503c7=>{const _0xcef0ce=_0x3b45e9;for(const _0x17e948 of _0x46be16[_0xcef0ce(0x188)][_0xcef0ce(0x17c)])_0x1503c7[_0xcef0ce(0x17f)](ce,_0x17e948);});}[_0x3bc02f(0x179)](){const _0x521fca=_0x3bc02f,_0x398616=this[_0x521fca(0x183)][_0x521fca(0x17e)][_0x521fca(0x18e)];_0x398616[_0x521fca(0x18b)](_0x3f338c=>{const _0x435594=_0x521fca;for(const _0x22eea1 of _0x398616[_0x435594(0x188)][_0x435594(0x17c)])_0x3f338c[_0x435594(0x182)](ce,_0x22eea1);});}}
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
const
|
|
23
|
+
const _0x209aac=_0x5873;function _0x3e9c(){const _0x569046=['2999316CKjoDv','revisionHistory','numberOfChanges','execute','exitToEditing','1220408XqZHVF','plugins','requires','set','show','30339078yUbnjN','currentChangeNumber','hide','change:isReady','isEnabled','10aaEOBO','Restore\x20this\x20revision','2143808DSlcrV','RevisionViewerUI','Back\x20to\x20editing','ck-revision-history-ui__back-to-editing','undo','80iyiPZO','isForwardNavigationEnabled','get','2324982ENLxeT','init','3bHHypL','isNavigationMode','componentFactory','isReady','bind','editor','isBackwardNavigationEnabled','428157TPWrRY','pluginName','2RpoEzx','showPreviousChange','showNextChange','commands','changesNavigation','closeRevisionViewerCallback','forward','config','add','restoreRevision','listenTo','848978RnqPMF'];_0x3e9c=function(){return _0x569046;};return _0x3e9c();}(function(_0x41fece,_0x50d1e1){const _0x50799e=_0x5873,_0x6b6a1b=_0x41fece();while(!![]){try{const _0x568d9c=parseInt(_0x50799e(0x15c))/0x1*(parseInt(_0x50799e(0x151))/0x2)+parseInt(_0x50799e(0x178))/0x3*(parseInt(_0x50799e(0x15d))/0x4)+parseInt(_0x50799e(0x16c))/0x5*(parseInt(_0x50799e(0x176))/0x6)+parseInt(_0x50799e(0x162))/0x7+parseInt(_0x50799e(0x16e))/0x8+parseInt(_0x50799e(0x14f))/0x9*(parseInt(_0x50799e(0x173))/0xa)+-parseInt(_0x50799e(0x167))/0xb;if(_0x568d9c===_0x50d1e1)break;else _0x6b6a1b['push'](_0x6b6a1b['shift']());}catch(_0x3d4f96){_0x6b6a1b['push'](_0x6b6a1b['shift']());}}}(_0x3e9c,0x6b14f));function _0x5873(_0x336eea,_0x3696fa){const _0x3e9c08=_0x3e9c();return _0x5873=function(_0x5873ac,_0x1b6fc4){_0x5873ac=_0x5873ac-0x14e;let _0x1fc0eb=_0x3e9c08[_0x5873ac];return _0x1fc0eb;},_0x5873(_0x336eea,_0x3696fa);}import{icons as _0x4aad8f,Plugin as _0x595115}from'ckeditor5/src/core.js';import{ButtonView as _0x423fb6}from'ckeditor5/src/ui.js';import _0x2156de from'./changesnavigationview.js';import _0x553d08 from'./../../revisionviewer.js';import _0xe83100 from'./revisionviewerloadingoverlay.js';import{getTranslation as _0x34e55e}from'../../utils/common-translations.js';import'../../../theme/revisionviewer.css';export default class R extends _0x595115{static get[_0x209aac(0x150)](){const _0x1dc1a5=_0x209aac;return _0x1dc1a5(0x16f);}static get[_0x209aac(0x164)](){return[_0x553d08,_0xe83100];}[_0x209aac(0x177)](){const _0x318154=_0x209aac,_0x5362b8=this[_0x318154(0x17d)],_0x3666f4=_0x5362b8[_0x318154(0x163)][_0x318154(0x175)](_0x553d08),_0xc4cb4b=_0x5362b8[_0x318154(0x163)][_0x318154(0x175)](_0xe83100);_0x5362b8['ui'][_0x318154(0x17a)][_0x318154(0x159)](_0x318154(0x161),_0x52b83e=>{const _0x3f3968=_0x318154,_0x4ee304=new _0x423fb6(_0x52b83e);return _0x4ee304[_0x3f3968(0x165)]({'label':_0x34e55e(_0x52b83e,_0x3f3968(0x170)),'icon':_0x4aad8f[_0x3f3968(0x172)],'withText':!0x0,'tooltip':!0x0,'class':_0x3f3968(0x171)}),this[_0x3f3968(0x15b)](_0x4ee304,_0x3f3968(0x160),()=>{const _0x593869=_0x3f3968;_0x5362b8[_0x593869(0x158)][_0x593869(0x175)](_0x593869(0x15e))[_0x593869(0x156)]();}),_0x4ee304;}),_0x5362b8['ui'][_0x318154(0x17a)][_0x318154(0x159)](_0x318154(0x15a),_0x582038=>{const _0x2ff4a9=_0x318154,_0x336eed=new _0x423fb6(_0x582038);return _0x336eed[_0x2ff4a9(0x165)]({'label':_0x34e55e(_0x582038,_0x2ff4a9(0x16d)),'withText':!0x0,'tooltip':!0x0}),_0x336eed[_0x2ff4a9(0x17c)](_0x2ff4a9(0x16b))['to'](_0x5362b8[_0x2ff4a9(0x154)][_0x2ff4a9(0x175)](_0x2ff4a9(0x15a))),this[_0x2ff4a9(0x15b)](_0x336eed,_0x2ff4a9(0x160),()=>_0x5362b8[_0x2ff4a9(0x160)](_0x2ff4a9(0x15a))),_0x336eed;}),_0x5362b8['ui'][_0x318154(0x17a)][_0x318154(0x159)](_0x318154(0x155),_0x1bee42=>{const _0x3906e0=_0x318154,_0x526df9=new _0x2156de(_0x1bee42),_0x35c0f6=_0x5362b8[_0x3906e0(0x154)][_0x3906e0(0x175)](_0x3906e0(0x152)),_0x53de96=_0x5362b8[_0x3906e0(0x154)][_0x3906e0(0x175)](_0x3906e0(0x153));return _0x526df9[_0x3906e0(0x17c)](_0x3906e0(0x14e))['to'](_0x35c0f6,_0x3906e0(0x16b)),_0x526df9[_0x3906e0(0x17c)](_0x3906e0(0x174))['to'](_0x53de96,_0x3906e0(0x16b)),_0x526df9[_0x3906e0(0x17c)](_0x3906e0(0x17b),_0x3906e0(0x168),_0x3906e0(0x15f),_0x3906e0(0x179))['to'](_0x3666f4),this[_0x3906e0(0x15b)](_0x526df9,_0x3906e0(0x160),(_0x476dd5,_0x16a337)=>{const _0x3ee7c6=_0x3906e0;_0x5362b8[_0x3ee7c6(0x160)](_0x3ee7c6(0x157)===_0x16a337?_0x3ee7c6(0x153):_0x3ee7c6(0x152));}),_0x526df9;}),_0xc4cb4b[_0x318154(0x166)](),_0x3666f4['on'](_0x318154(0x16a),(_0x3a6114,_0x3846f0,_0x239199)=>{const _0x35f842=_0x318154;_0x239199?_0xc4cb4b[_0x35f842(0x169)]():_0xc4cb4b[_0x35f842(0x166)]();});}}
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
export function getTranslation(
|
|
23
|
+
export function getTranslation(_0x1382e4,_0x54e957,_0x5dc5a4){const t=_0x1382e4['t'];switch(_0x54e957){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'},_0x5dc5a4);case'X_OF_Y_CHANGES':return t({'string':'%0\x20of\x20%1','id':'X_OF_Y_CHANGES'},_0x5dc5a4);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'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'';}}
|
|
@@ -12,6 +12,10 @@
|
|
|
12
12
|
position: relative;
|
|
13
13
|
transition: var(--ck-revision-history-revision-transitions);
|
|
14
14
|
|
|
15
|
+
@media (prefers-reduced-motion: reduce) {
|
|
16
|
+
transition: none;
|
|
17
|
+
}
|
|
18
|
+
|
|
15
19
|
& .ck-revision-history-sidebar__revision-author__name {
|
|
16
20
|
overflow: hidden;
|
|
17
21
|
text-overflow: ellipsis;
|
|
@@ -31,6 +31,10 @@
|
|
|
31
31
|
top: calc(-1 * var(--ck-revision-history-sidebar-revision-vertical-spacing));
|
|
32
32
|
left: var(--ck-spacing-large);
|
|
33
33
|
transition: var(--ck-revision-history-revision-transitions), transform 100ms ease-in-out;
|
|
34
|
+
|
|
35
|
+
@media (prefers-reduced-motion: reduce) {
|
|
36
|
+
transition: none;
|
|
37
|
+
}
|
|
34
38
|
}
|
|
35
39
|
|
|
36
40
|
/* Subrevisions don't move when getting selected. */
|
|
@@ -32,6 +32,10 @@
|
|
|
32
32
|
border-color: transparent transparent transparent var(--ck-revision-history-revision-subrevision-collapser-color);
|
|
33
33
|
transform: rotate(90deg);
|
|
34
34
|
transition: transform 100ms ease-in-out;
|
|
35
|
+
|
|
36
|
+
@media (prefers-reduced-motion: reduce) {
|
|
37
|
+
transition: none;
|
|
38
|
+
}
|
|
35
39
|
}
|
|
36
40
|
|
|
37
41
|
&.ck-revision-history-sidebar__subrevision-collapser_collapsed .ck-revision-history-sidebar__subrevision-collapser__inner {
|