@ckeditor/ckeditor5-revision-history 46.1.0-alpha.1 → 46.1.0-alpha.2
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/build/revision-history.js +1 -1
- package/dist/index.js +7 -7
- package/dist/translations/af.js +1 -1
- package/dist/translations/af.umd.js +1 -1
- package/dist/translations/ar.js +1 -1
- package/dist/translations/ar.umd.js +1 -1
- package/dist/translations/ast.js +1 -1
- package/dist/translations/ast.umd.js +1 -1
- package/dist/translations/az.js +1 -1
- package/dist/translations/az.umd.js +1 -1
- package/dist/translations/be.js +1 -1
- package/dist/translations/be.umd.js +1 -1
- package/dist/translations/bg.js +1 -1
- package/dist/translations/bg.umd.js +1 -1
- package/dist/translations/bn.js +1 -1
- package/dist/translations/bn.umd.js +1 -1
- package/dist/translations/bs.js +1 -1
- package/dist/translations/bs.umd.js +1 -1
- package/dist/translations/ca.js +1 -1
- package/dist/translations/ca.umd.js +1 -1
- package/dist/translations/cs.js +1 -1
- package/dist/translations/cs.umd.js +1 -1
- package/dist/translations/da.js +1 -1
- package/dist/translations/da.umd.js +1 -1
- package/dist/translations/de-ch.js +1 -1
- package/dist/translations/de-ch.umd.js +1 -1
- package/dist/translations/de.js +1 -1
- package/dist/translations/de.umd.js +1 -1
- package/dist/translations/el.js +1 -1
- package/dist/translations/el.umd.js +1 -1
- package/dist/translations/en-au.js +1 -1
- package/dist/translations/en-au.umd.js +1 -1
- package/dist/translations/en-gb.js +1 -1
- package/dist/translations/en-gb.umd.js +1 -1
- package/dist/translations/en.js +1 -1
- package/dist/translations/en.umd.js +1 -1
- package/dist/translations/eo.js +1 -1
- package/dist/translations/eo.umd.js +1 -1
- package/dist/translations/es-co.js +1 -1
- package/dist/translations/es-co.umd.js +1 -1
- package/dist/translations/es.js +1 -1
- package/dist/translations/es.umd.js +1 -1
- package/dist/translations/et.js +1 -1
- package/dist/translations/et.umd.js +1 -1
- package/dist/translations/eu.js +1 -1
- package/dist/translations/eu.umd.js +1 -1
- package/dist/translations/fa.js +1 -1
- package/dist/translations/fa.umd.js +1 -1
- package/dist/translations/fi.js +1 -1
- package/dist/translations/fi.umd.js +1 -1
- package/dist/translations/fr.js +1 -1
- package/dist/translations/fr.umd.js +1 -1
- package/dist/translations/gl.js +1 -1
- package/dist/translations/gl.umd.js +1 -1
- package/dist/translations/gu.js +1 -1
- package/dist/translations/gu.umd.js +1 -1
- package/dist/translations/he.js +1 -1
- package/dist/translations/he.umd.js +1 -1
- package/dist/translations/hi.js +1 -1
- package/dist/translations/hi.umd.js +1 -1
- package/dist/translations/hr.js +1 -1
- package/dist/translations/hr.umd.js +1 -1
- package/dist/translations/hu.js +1 -1
- package/dist/translations/hu.umd.js +1 -1
- package/dist/translations/hy.js +1 -1
- package/dist/translations/hy.umd.js +1 -1
- package/dist/translations/id.js +1 -1
- package/dist/translations/id.umd.js +1 -1
- package/dist/translations/it.js +1 -1
- package/dist/translations/it.umd.js +1 -1
- package/dist/translations/ja.js +1 -1
- package/dist/translations/ja.umd.js +1 -1
- package/dist/translations/jv.js +1 -1
- package/dist/translations/jv.umd.js +1 -1
- package/dist/translations/kk.js +1 -1
- package/dist/translations/kk.umd.js +1 -1
- package/dist/translations/km.js +1 -1
- package/dist/translations/km.umd.js +1 -1
- package/dist/translations/kn.js +1 -1
- package/dist/translations/kn.umd.js +1 -1
- package/dist/translations/ko.js +1 -1
- package/dist/translations/ko.umd.js +1 -1
- package/dist/translations/ku.js +1 -1
- package/dist/translations/ku.umd.js +1 -1
- package/dist/translations/lt.js +1 -1
- package/dist/translations/lt.umd.js +1 -1
- package/dist/translations/lv.js +1 -1
- package/dist/translations/lv.umd.js +1 -1
- package/dist/translations/ms.js +1 -1
- package/dist/translations/ms.umd.js +1 -1
- package/dist/translations/nb.js +1 -1
- package/dist/translations/nb.umd.js +1 -1
- package/dist/translations/ne.js +1 -1
- package/dist/translations/ne.umd.js +1 -1
- package/dist/translations/nl.js +1 -1
- package/dist/translations/nl.umd.js +1 -1
- package/dist/translations/no.js +1 -1
- package/dist/translations/no.umd.js +1 -1
- package/dist/translations/oc.js +1 -1
- package/dist/translations/oc.umd.js +1 -1
- package/dist/translations/pl.js +1 -1
- package/dist/translations/pl.umd.js +1 -1
- package/dist/translations/pt-br.js +1 -1
- package/dist/translations/pt-br.umd.js +1 -1
- package/dist/translations/pt.js +1 -1
- package/dist/translations/pt.umd.js +1 -1
- package/dist/translations/ro.js +1 -1
- package/dist/translations/ro.umd.js +1 -1
- package/dist/translations/ru.js +1 -1
- package/dist/translations/ru.umd.js +1 -1
- package/dist/translations/si.js +1 -1
- package/dist/translations/si.umd.js +1 -1
- package/dist/translations/sk.js +1 -1
- package/dist/translations/sk.umd.js +1 -1
- package/dist/translations/sl.js +1 -1
- package/dist/translations/sl.umd.js +1 -1
- package/dist/translations/sq.js +1 -1
- package/dist/translations/sq.umd.js +1 -1
- package/dist/translations/sr-latn.js +1 -1
- package/dist/translations/sr-latn.umd.js +1 -1
- package/dist/translations/sr.js +1 -1
- package/dist/translations/sr.umd.js +1 -1
- package/dist/translations/sv.js +1 -1
- package/dist/translations/sv.umd.js +1 -1
- package/dist/translations/th.js +1 -1
- package/dist/translations/th.umd.js +1 -1
- package/dist/translations/ti.js +1 -1
- package/dist/translations/ti.umd.js +1 -1
- package/dist/translations/tk.js +1 -1
- package/dist/translations/tk.umd.js +1 -1
- package/dist/translations/tr.js +1 -1
- package/dist/translations/tr.umd.js +1 -1
- package/dist/translations/tt.js +1 -1
- package/dist/translations/tt.umd.js +1 -1
- package/dist/translations/ug.js +1 -1
- package/dist/translations/ug.umd.js +1 -1
- package/dist/translations/uk.js +1 -1
- package/dist/translations/uk.umd.js +1 -1
- package/dist/translations/ur.js +1 -1
- package/dist/translations/ur.umd.js +1 -1
- package/dist/translations/uz.js +1 -1
- package/dist/translations/uz.umd.js +1 -1
- package/dist/translations/vi.js +1 -1
- package/dist/translations/vi.umd.js +1 -1
- package/dist/translations/zh-cn.js +1 -1
- package/dist/translations/zh-cn.umd.js +1 -1
- package/dist/translations/zh.js +1 -1
- package/dist/translations/zh.umd.js +1 -1
- package/package.json +11 -11
- package/src/changeitem.js +2 -2
- package/src/editor/revisionviewereditor.js +2 -2
- package/src/editor/revisionviewereditorui.js +1 -1
- package/src/editor/revisionviewereditoruiview.js +1 -1
- package/src/index.js +1 -1
- package/src/revision.js +2 -2
- package/src/revisiondiff.js +1 -1
- package/src/revisionhistory.js +1 -1
- package/src/revisionhistoryutils.js +1 -1
- package/src/revisionsrepository.js +1 -1
- package/src/revisiontracker.js +1 -1
- package/src/revisionviewer.js +1 -1
- package/src/ui/revision/createrevisionactionsdropdown.js +1 -1
- package/src/ui/revision/revisionauthorview.js +1 -1
- package/src/ui/revision/revisionnameview.js +1 -1
- package/src/ui/revision/revisionview.js +2 -2
- package/src/ui/revision/subrevisioncollapserview.js +1 -1
- package/src/ui/revision/subrevisionview.js +1 -1
- package/src/ui/revision/utils.js +1 -1
- package/src/ui/revisionhistory/revisionhistorysaverevisionformview.js +2 -2
- package/src/ui/revisionhistory/revisionhistoryui.js +1 -1
- package/src/ui/revisionssidebar/revisionssidebar.js +1 -1
- package/src/ui/revisionssidebar/revisionssidebarheaderview.js +1 -1
- package/src/ui/revisionssidebar/revisionssidebartimeperiodview.js +1 -1
- package/src/ui/revisionssidebar/revisionssidebarview.js +1 -1
- package/src/ui/revisionssidebar/utils.js +1 -1
- package/src/ui/revisionviewer/changedetailsview.js +1 -1
- package/src/ui/revisionviewer/changesnavigationview.js +1 -1
- package/src/ui/revisionviewer/revisionviewerloadingoverlay.js +1 -1
- package/src/ui/revisionviewer/revisionviewerui.js +1 -1
- package/src/utils/common-translations.js +1 -1
|
@@ -20,5 +20,5 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
const
|
|
24
|
-
|
|
23
|
+
const _0x22f813=_0x4cd5;(function(_0x1a401c,_0x26c3d7){const _0x2ced60=_0x4cd5,_0x4e547a=_0x1a401c();while(!![]){try{const _0x2db4ea=parseInt(_0x2ced60(0x94))/0x1*(-parseInt(_0x2ced60(0x90))/0x2)+-parseInt(_0x2ced60(0x95))/0x3+parseInt(_0x2ced60(0xb5))/0x4+-parseInt(_0x2ced60(0x97))/0x5*(-parseInt(_0x2ced60(0xa9))/0x6)+parseInt(_0x2ced60(0x9f))/0x7*(-parseInt(_0x2ced60(0xb2))/0x8)+-parseInt(_0x2ced60(0xa2))/0x9*(-parseInt(_0x2ced60(0x93))/0xa)+parseInt(_0x2ced60(0x89))/0xb*(-parseInt(_0x2ced60(0xaa))/0xc);if(_0x2db4ea===_0x26c3d7)break;else _0x4e547a['push'](_0x4e547a['shift']());}catch(_0x5b698b){_0x4e547a['push'](_0x4e547a['shift']());}}}(_0x4402,0xbc3ac));import{CssTransitionDisablerMixin as _0x30e9b0,LabeledFieldView as _0x441e1d,View as _0x23c2eb,createLabeledInputText as _0x5ee039,submitHandler as _0x5cc409}from'ckeditor5/src/ui.js';import{FocusTracker as _0x294b2e,KeystrokeHandler as _0x5c1c23}from'ckeditor5/src/utils.js';import{getTranslation as _0x130659}from'../../utils/common-translations.js';import'../../../theme/revisionhistorysaverevisionform.css';function _0x4402(){const _0xa37e41=['locale','56scTLGp','value','revisionNameInputValue','3979324psnbuD','label','11pxYagv','setTemplate','focus','Name\x20of\x20the\x20revision','_createRevisionNameInput','errorText','trim','120322ipZUmg','revisionNameInputView','set','5090hGQPrm','1rwVjJU','1601934UWbMhQ','stopPropagation','40vmqfzz','render','element','listenTo','fieldView','extendTemplate','arrowup','arrowright','17367YdcmWy','ck-revision-history-save-revision-form','220','12582xGKKJO','arrowdown','keystrokes','optional','add','reset','ck-responsive-form','663720ueZyDp','14506548rSWprw','input','form','arrowleft','revisionName','focusTracker','initializeCssTransitionDisablerMixin'];_0x4402=function(){return _0xa37e41;};return _0x4402();}import'@ckeditor/ckeditor5-ui/theme/components/responsive-form/responsiveform.css';function _0x4cd5(_0x315a9e,_0x179884){const _0x440258=_0x4402();return _0x4cd5=function(_0x4cd5b7,_0x514e71){_0x4cd5b7=_0x4cd5b7-0x88;let _0x1d921a=_0x440258[_0x4cd5b7];return _0x1d921a;},_0x4cd5(_0x315a9e,_0x179884);}export class RevisionHistorySaveRevisionFormView extends/* #__PURE__ -- @preserve */
|
|
24
|
+
_0x30e9b0(_0x23c2eb){[_0x22f813(0xaf)];[_0x22f813(0xa4)];[_0x22f813(0x91)];constructor(_0x5b93c0,_0x5d7484){const _0x221857=_0x22f813;super(_0x5b93c0),this[_0x221857(0xaf)]=new _0x294b2e(),this[_0x221857(0xa4)]=new _0x5c1c23(),this[_0x221857(0x92)](_0x221857(0xb4),''),this[_0x221857(0x91)]=this[_0x221857(0x8d)](_0x5d7484),this[_0x221857(0x8a)]({'tag':_0x221857(0xac),'attributes':{'class':['ck',_0x221857(0xa0),_0x221857(0xa8)],'tabindex':'-1'},'children':[this[_0x221857(0x91)]]}),this[_0x221857(0xb0)]();}[_0x22f813(0x98)](){const _0x97414a=_0x22f813;super[_0x97414a(0x98)](),_0x5cc409({'view':this}),this[_0x97414a(0xaf)][_0x97414a(0xa6)](this[_0x97414a(0x91)][_0x97414a(0x99)]),this[_0x97414a(0xa4)][_0x97414a(0x9a)](this[_0x97414a(0x99)]);const _0x24b736=_0x4a3de4=>_0x4a3de4[_0x97414a(0x96)]();this[_0x97414a(0xa4)][_0x97414a(0x92)](_0x97414a(0x9e),_0x24b736),this[_0x97414a(0xa4)][_0x97414a(0x92)](_0x97414a(0xad),_0x24b736),this[_0x97414a(0xa4)][_0x97414a(0x92)](_0x97414a(0x9d),_0x24b736),this[_0x97414a(0xa4)][_0x97414a(0x92)](_0x97414a(0xa3),_0x24b736);}[_0x22f813(0x8b)](){const _0x337500=_0x22f813;this[_0x337500(0x91)][_0x337500(0x8b)]();}get[_0x22f813(0xae)](){const _0x7dbbf=_0x22f813;return this[_0x7dbbf(0x91)][_0x7dbbf(0x9b)][_0x7dbbf(0x99)][_0x7dbbf(0xb3)][_0x7dbbf(0x8f)]();}set[_0x22f813(0xae)](_0x1e0b91){const _0x394541=_0x22f813;this[_0x394541(0x91)][_0x394541(0x9b)][_0x394541(0x99)][_0x394541(0xb3)]=_0x1e0b91[_0x394541(0x8f)]();}[_0x22f813(0xa7)](){const _0x1450fa=_0x22f813;this[_0x1450fa(0x91)][_0x1450fa(0x9b)][_0x1450fa(0x99)][_0x1450fa(0xb3)]='',this[_0x1450fa(0x91)][_0x1450fa(0x8e)]=null;}[_0x22f813(0x8d)](_0x24ab42){const _0x169332=_0x22f813,_0x51bf3e=new _0x441e1d(this[_0x169332(0xb1)],_0x5ee039),_0x5e631c=_0x51bf3e[_0x169332(0x9b)];_0x5e631c[_0x169332(0x9c)]({'attributes':{'maxlength':_0x169332(0xa1)}});let _0x5d30b2=_0x130659(this[_0x169332(0xb1)],_0x169332(0x8c));return!_0x24ab42&&(_0x5d30b2+='\x20('+_0x130659(this[_0x169332(0xb1)],_0x169332(0xa5))+')'),(_0x51bf3e[_0x169332(0x88)]=_0x5d30b2,_0x5e631c['on'](_0x169332(0xab),()=>{const _0x3ff323=_0x169332;this[_0x3ff323(0xb4)]=_0x5e631c[_0x3ff323(0x99)][_0x3ff323(0xb3)][_0x3ff323(0x8f)]();}),_0x51bf3e);}}
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
const
|
|
23
|
+
function _0x3a06(_0x10c7df,_0x168aa7){const _0xdef39e=_0xdef3();return _0x3a06=function(_0x3a0696,_0x3b5dce){_0x3a0696=_0x3a0696-0x1a2;let _0x121867=_0xdef39e[_0x3a0696];return _0x121867;},_0x3a06(_0x10c7df,_0x168aa7);}const _0x3e4f42=_0x3a06;(function(_0x51be8d,_0x316ddd){const _0x366129=_0x3a06,_0x125782=_0x51be8d();while(!![]){try{const _0x2669df=parseInt(_0x366129(0x1db))/0x1+-parseInt(_0x366129(0x1d1))/0x2+-parseInt(_0x366129(0x1e5))/0x3*(parseInt(_0x366129(0x1d9))/0x4)+parseInt(_0x366129(0x1cf))/0x5+parseInt(_0x366129(0x1a2))/0x6*(parseInt(_0x366129(0x1c8))/0x7)+-parseInt(_0x366129(0x1e6))/0x8*(parseInt(_0x366129(0x1a7))/0x9)+-parseInt(_0x366129(0x1b3))/0xa*(-parseInt(_0x366129(0x1d7))/0xb);if(_0x2669df===_0x316ddd)break;else _0x125782['push'](_0x125782['shift']());}catch(_0x59d7a2){_0x125782['push'](_0x125782['shift']());}}}(_0xdef3,0x5c3cf));import{Plugin as _0x42f747}from'ckeditor5/src/core.js';import{IconHistory as _0x2d75a7}from'ckeditor5/src/icons.js';import{createDropdown as _0x30f5ac,ButtonView as _0x1873c3,ListItemView as _0x5a870a,ListView as _0x5adc27,MenuBarMenuListItemButtonView as _0x4b380a,MenuBarMenuListItemView as _0x1e90b8,MenuBarMenuListView as _0x50db39,MenuBarMenuView as _0x1a2025}from'ckeditor5/src/ui.js';import{RevisionTracker as _0x5a02cd}from'../../revisiontracker.js';import{RevisionHistorySaveRevisionFormView as _0x2dafbc}from'./revisionhistorysaverevisionformview.js';import{getTranslation as _0xd8c629}from'../../utils/common-translations.js';function _0xdef3(){const _0x2ebba0=['revisionNameInputView','errorText','_saveRevisionFormView','view','_createSaveRevisionFormView','saveRevision','Save\x20current\x20revision','RevisionHistoryUI','Accept','panelView','109290EWKZnJ','isOpen','set','revisionHistory','isEnabled','Dialog','execute','add','Cancel','init','isOfficialPlugin','componentFactory','show','hide','children','menuitem','reset','_showDialog','buttonView','isReadOnly','items','599543LLPora','revisionName','requires','isReady','render','ck-button-action','submit','1337750zNNdqF','role','189000hoTewb','revisionHistory.requireRevisionName','revisionSave','plugins','locale','RevisionTracker','979qDBjGq','showRevisionViewerCallback','845428pJOaWE','addMany','41432ukqkDQ','Open\x20revision\x20history','isPremiumPlugin','editor','menu','bind','menuBar:revisionHistory','The\x20revision\x20name\x20cannot\x20be\x20empty.','Revision\x20history','pluginName','6KVjtOy','1864flAjSG','focus','6YfthtZ','get','_registerMenuComponent','editing','delegate','18243NbaSXE','config'];_0xdef3=function(){return _0x2ebba0;};return _0xdef3();}export class RevisionHistoryUI extends _0x42f747{static get[_0x3e4f42(0x1e4)](){const _0x26e3a6=_0x3e4f42;return _0x26e3a6(0x1b0);}static get[_0x3e4f42(0x1bd)](){return!0x0;}static get[_0x3e4f42(0x1dd)](){return!0x0;}static get[_0x3e4f42(0x1ca)](){return[_0x5a02cd];}[_0x3e4f42(0x1ab)];[_0x3e4f42(0x1bc)](){const _0x569cfc=_0x3e4f42,_0x9db468=this[_0x569cfc(0x1de)],_0x30b100=_0x9db468[_0x569cfc(0x1d4)][_0x569cfc(0x1a3)](_0x569cfc(0x1d6));_0x9db468['ui'][_0x569cfc(0x1be)][_0x569cfc(0x1ba)](_0x569cfc(0x1b6),_0x128b98=>{const _0x5f722e=_0x569cfc,_0x1c5019=_0x30f5ac(_0x128b98),_0x1632df=_0x1c5019[_0x5f722e(0x1b2)][_0x5f722e(0x1c1)],_0x2663a8=new _0x5adc27(_0x128b98),_0x4cefb2=new _0x5a870a(_0x128b98),_0x4ee63c=new _0x1873c3(_0x128b98),_0x46f1a8=new _0x5a870a(_0x128b98),_0x13845f=new _0x1873c3(_0x128b98);return _0x1c5019[_0x5f722e(0x1e0)](_0x5f722e(0x1b7))['to'](_0x30b100,_0x5f722e(0x1cb),_0x30b100,_0x5f722e(0x1b7),_0x9db468,_0x5f722e(0x1c6),(_0x32f669,_0x135d26,_0x5c2602)=>_0x32f669&&_0x135d26&&!_0x5c2602),_0x1c5019[_0x5f722e(0x1c5)][_0x5f722e(0x1b5)]({'icon':_0x2d75a7,'label':_0xd8c629(_0x128b98,_0x5f722e(0x1e3)),'tooltip':!0x0}),_0x4ee63c[_0x5f722e(0x1b5)]({'label':_0xd8c629(_0x128b98,_0x5f722e(0x1af)),'withText':!0x0,'role':_0x5f722e(0x1c2)}),_0x4ee63c[_0x5f722e(0x1e0)](_0x5f722e(0x1b7))['to'](_0x30b100,_0x5f722e(0x1cb),_0x30b100,_0x5f722e(0x1b7),_0x9db468,_0x5f722e(0x1c6),(_0x3403dc,_0x195ec5,_0x2854b9)=>_0x3403dc&&_0x195ec5&&!_0x2854b9),_0x4ee63c['on'](_0x5f722e(0x1b9),()=>this[_0x5f722e(0x1c4)]()),_0x13845f[_0x5f722e(0x1b5)]({'label':_0xd8c629(_0x128b98,_0x5f722e(0x1dc)),'withText':!0x0,'role':_0x5f722e(0x1c2)}),_0x13845f[_0x5f722e(0x1e0)](_0x5f722e(0x1b7))['to'](_0x30b100,_0x5f722e(0x1cb),_0x9db468,_0x5f722e(0x1c6),(_0x567226,_0x4a12e8)=>_0x567226&&!_0x4a12e8),_0x13845f['on'](_0x5f722e(0x1b9),()=>{const _0x45af19=_0x5f722e;_0x9db468[_0x45af19(0x1a8)][_0x45af19(0x1a3)](_0x45af19(0x1b6))[_0x45af19(0x1d8)](),_0x1c5019[_0x45af19(0x1b4)]=!0x1,_0x9db468[_0x45af19(0x1a5)][_0x45af19(0x1ac)][_0x45af19(0x1e7)]();}),_0x4cefb2[_0x5f722e(0x1c1)][_0x5f722e(0x1ba)](_0x4ee63c),_0x46f1a8[_0x5f722e(0x1c1)][_0x5f722e(0x1ba)](_0x13845f),_0x2663a8[_0x5f722e(0x1d0)]=_0x5f722e(0x1df),_0x2663a8[_0x5f722e(0x1c7)][_0x5f722e(0x1da)]([_0x4cefb2,_0x46f1a8]),_0x1632df[_0x5f722e(0x1ba)](_0x2663a8),_0x1c5019;}),_0x9db468['ui'][_0x569cfc(0x1be)][_0x569cfc(0x1ba)](_0x569cfc(0x1e1),()=>this[_0x569cfc(0x1a4)]());}[_0x3e4f42(0x1a4)](){const _0x1c376b=_0x3e4f42,_0x433618=this[_0x1c376b(0x1de)],_0x35ffe2=_0x433618[_0x1c376b(0x1d5)],_0x1ccf6f=new _0x1a2025(_0x35ffe2),_0x23bb8f=new _0x50db39(_0x35ffe2);_0x1ccf6f[_0x1c376b(0x1c5)][_0x1c376b(0x1b5)]({'icon':_0x2d75a7,'label':_0xd8c629(_0x35ffe2,_0x1c376b(0x1e3))});const _0xdc7337=new _0x1e90b8(_0x35ffe2,_0x1ccf6f),_0x5c6183=new _0x4b380a(_0x35ffe2);_0x5c6183[_0x1c376b(0x1b5)]({'label':_0xd8c629(_0x35ffe2,_0x1c376b(0x1af))}),_0x5c6183[_0x1c376b(0x1a6)](_0x1c376b(0x1b9))['to'](_0x1ccf6f),_0x5c6183['on'](_0x1c376b(0x1b9),()=>{const _0x1d4997=_0x1c376b;this[_0x1d4997(0x1c4)]();}),_0xdc7337[_0x1c376b(0x1c1)][_0x1c376b(0x1ba)](_0x5c6183),_0x23bb8f[_0x1c376b(0x1c7)][_0x1c376b(0x1ba)](_0xdc7337);const _0x489148=new _0x1e90b8(_0x35ffe2,_0x1ccf6f),_0x1efd97=new _0x4b380a(_0x35ffe2);return _0x1efd97[_0x1c376b(0x1b5)]({'label':_0xd8c629(_0x35ffe2,_0x1c376b(0x1dc))}),_0x1efd97[_0x1c376b(0x1a6)](_0x1c376b(0x1b9))['to'](_0x1ccf6f),_0x1efd97['on'](_0x1c376b(0x1b9),()=>{const _0x4f9753=_0x1c376b;_0x433618[_0x4f9753(0x1a8)][_0x4f9753(0x1a3)](_0x4f9753(0x1b6))[_0x4f9753(0x1d8)]();}),_0x489148[_0x1c376b(0x1c1)][_0x1c376b(0x1ba)](_0x1efd97),_0x23bb8f[_0x1c376b(0x1c7)][_0x1c376b(0x1ba)](_0x489148),_0x1ccf6f[_0x1c376b(0x1b2)][_0x1c376b(0x1c1)][_0x1c376b(0x1ba)](_0x23bb8f),_0x1ccf6f;}[_0x3e4f42(0x1c4)](){const _0x5dac7f=_0x3e4f42,_0x3e6b08=this[_0x5dac7f(0x1de)],_0x4720fe=_0x3e6b08[_0x5dac7f(0x1d5)],_0x59b34b=_0x3e6b08[_0x5dac7f(0x1d4)][_0x5dac7f(0x1a3)](_0x5dac7f(0x1b8)),_0x5b16ff=_0x3e6b08[_0x5dac7f(0x1d4)][_0x5dac7f(0x1a3)](_0x5dac7f(0x1d6));function _0x296d32(_0x5e2863){const _0x12eb8d=_0x5dac7f;_0x3e6b08[_0x12eb8d(0x1a8)][_0x12eb8d(0x1a3)](_0x12eb8d(0x1d2))&&''===_0x5e2863[_0x12eb8d(0x1c9)]?_0x5e2863[_0x12eb8d(0x1a9)][_0x12eb8d(0x1aa)]=_0xd8c629(_0x4720fe,_0x12eb8d(0x1e2)):(_0x3e6b08[_0x12eb8d(0x1d4)][_0x12eb8d(0x1a3)](_0x5a02cd)[_0x12eb8d(0x1ae)]({'name':_0x5e2863[_0x12eb8d(0x1c9)]}),_0x59b34b[_0x12eb8d(0x1c0)]());}this[_0x5dac7f(0x1ab)]||(this[_0x5dac7f(0x1ad)](),this[_0x5dac7f(0x1ab)]['on'](_0x5dac7f(0x1ce),()=>_0x296d32(this[_0x5dac7f(0x1ab)]))),this[_0x5dac7f(0x1ab)][_0x5dac7f(0x1c3)](),_0x59b34b[_0x5dac7f(0x1bf)]({'id':_0x5dac7f(0x1d3),'title':_0xd8c629(_0x4720fe,_0x5dac7f(0x1af)),'isModal':!0x0,'content':this[_0x5dac7f(0x1ab)],'actionButtons':[{'label':_0xd8c629(_0x3e6b08[_0x5dac7f(0x1d5)],_0x5dac7f(0x1bb)),'withText':!0x0,'onExecute':()=>_0x59b34b[_0x5dac7f(0x1c0)]()},{'label':_0xd8c629(_0x3e6b08[_0x5dac7f(0x1d5)],_0x5dac7f(0x1b1)),'class':_0x5dac7f(0x1cd),'withText':!0x0,'onCreate'(_0x127017){const _0x12c1d2=_0x5dac7f;_0x127017[_0x12c1d2(0x1e0)](_0x12c1d2(0x1b7))['to'](_0x5b16ff,_0x12c1d2(0x1cb),_0x5b16ff,_0x12c1d2(0x1b7),_0x3e6b08,_0x12c1d2(0x1c6),(_0x21ecfe,_0x50e910,_0x56b22a)=>_0x21ecfe&&_0x50e910&&!_0x56b22a);},'onExecute':()=>_0x296d32(this[_0x5dac7f(0x1ab)])}]});}[_0x3e4f42(0x1ad)](){const _0x1669d0=_0x3e4f42,_0x448a49=this[_0x1669d0(0x1de)],_0x1d2ada=_0x448a49[_0x1669d0(0x1d5)];this[_0x1669d0(0x1ab)]=new _0x2dafbc(_0x1d2ada,_0x448a49[_0x1669d0(0x1a8)][_0x1669d0(0x1a3)](_0x1669d0(0x1d2))),this[_0x1669d0(0x1ab)][_0x1669d0(0x1cc)]();}}
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
|
|
23
|
+
const _0x34f58f=_0x2e11;(function(_0xa9d2f2,_0x16ac84){const _0x40d1ad=_0x2e11,_0x2d280b=_0xa9d2f2();while(!![]){try{const _0x5d99c8=parseInt(_0x40d1ad(0xe4))/0x1+-parseInt(_0x40d1ad(0x105))/0x2*(-parseInt(_0x40d1ad(0x102))/0x3)+parseInt(_0x40d1ad(0xf9))/0x4*(parseInt(_0x40d1ad(0x111))/0x5)+parseInt(_0x40d1ad(0x134))/0x6*(-parseInt(_0x40d1ad(0x120))/0x7)+parseInt(_0x40d1ad(0xf6))/0x8*(parseInt(_0x40d1ad(0xef))/0x9)+-parseInt(_0x40d1ad(0x103))/0xa*(-parseInt(_0x40d1ad(0x108))/0xb)+-parseInt(_0x40d1ad(0x117))/0xc*(parseInt(_0x40d1ad(0xf8))/0xd);if(_0x5d99c8===_0x16ac84)break;else _0x2d280b['push'](_0x2d280b['shift']());}catch(_0x2c1d1f){_0x2d280b['push'](_0x2d280b['shift']());}}}(_0x9226,0x7fa1d));import{Plugin as _0x48f32f}from'ckeditor5/src/core.js';import{RevisionsSidebarView as _0x214eb3}from'./revisionssidebarview.js';function _0x2e11(_0x420639,_0x3483d5){const _0x92262c=_0x9226();return _0x2e11=function(_0x2e11a2,_0x42845d){_0x2e11a2=_0x2e11a2-0xe3;let _0x181a52=_0x92262c[_0x2e11a2];return _0x181a52;},_0x2e11(_0x420639,_0x3483d5);}import{RevisionViewer as _0x4f0c51}from'../../revisionviewer.js';class f extends _0x48f32f{[_0x34f58f(0xf5)];[_0x34f58f(0x118)];[_0x34f58f(0x138)];static [_0x34f58f(0x137)]=[_0x34f58f(0xfa),_0x34f58f(0x131),_0x34f58f(0x10d)];static [_0x34f58f(0x10c)]=(function(){const _0x1ed1a1=_0x34f58f;return{'compareAgainstSelected':{'name':_0x1ed1a1(0xe3),'action':({plugins:i},s)=>{const _0x107d0f=_0x1ed1a1,e=i[_0x107d0f(0x115)](_0x4f0c51),n=e[_0x107d0f(0x101)];let r=e[_0x107d0f(0x135)][_0x107d0f(0x10a)],o=s['id'];n[_0x107d0f(0x136)](r)>n[_0x107d0f(0x136)](o)&&([r,o]=[o,r]),e[_0x107d0f(0xf3)](r,o);},'isVisible':({plugins:i},s)=>{const _0x2f767c=_0x1ed1a1,e=i[_0x2f767c(0x115)](_0x4f0c51);return!(e[_0x2f767c(0x101)][_0x2f767c(0x10b)](e[_0x2f767c(0x135)])[_0x2f767c(0x11c)]>0x2)&&!s[_0x2f767c(0x109)];}},'restoreRevision':{'name':_0x1ed1a1(0x11f),'action':(i,{id:s})=>{const _0x1dc431=_0x1ed1a1;i[_0x1dc431(0x130)][_0x1dc431(0x115)](_0x1dc431(0x124))[_0x1dc431(0xe8)](s);},'isVisible':({plugins:i},s)=>!!i[_0x1ed1a1(0x115)](_0x4f0c51)[_0x1ed1a1(0x101)][_0x1ed1a1(0xfc)](s['id'])},'nameRevision':{'name':_0x1ed1a1(0x12f),'action':({plugins:i},{id:s,revisionNameView:e})=>{const _0x832599=_0x1ed1a1,n=i[_0x832599(0x115)](_0x4f0c51),r=n[_0x832599(0x101)][_0x832599(0x113)](s);n[_0x832599(0xf3)](s,r),e[_0x832599(0xe6)](),e[_0x832599(0x12e)][_0x832599(0xec)]();}}};}());static get[_0x34f58f(0xfe)](){const _0x322927=_0x34f58f;return _0x322927(0x12b);}static get[_0x34f58f(0xfb)](){return!0x0;}static get[_0x34f58f(0x123)](){return!0x0;}static get[_0x34f58f(0x11d)](){return[_0x4f0c51];}constructor(_0x3b6eea){const _0x51ee1e=_0x34f58f;super(_0x3b6eea),this[_0x51ee1e(0xf5)]=_0x3b6eea[_0x51ee1e(0xe9)][_0x51ee1e(0x115)](_0x4f0c51),this[_0x51ee1e(0x118)]=this[_0x51ee1e(0xf5)][_0x51ee1e(0x101)],this[_0x51ee1e(0x138)]=null;}[_0x34f58f(0x110)](){const _0x1ba434=_0x34f58f,_0x4f3359=this[_0x1ba434(0x118)][_0x1ba434(0x12a)],_0x3f4955=this[_0x1ba434(0x132)](),_0x1dc057=this[_0x1ba434(0xe5)][_0x1ba434(0x130)][_0x1ba434(0x115)](_0x1ba434(0x107));this[_0x1ba434(0x138)]=new _0x214eb3(this[_0x1ba434(0xe5)][_0x1ba434(0x12c)],_0x4f3359,_0x3f4955,this[_0x1ba434(0xe5)][_0x1ba434(0x130)][_0x1ba434(0x115)](_0x1ba434(0x126))),this[_0x1ba434(0x138)]['on'](_0x1ba434(0xff),this[_0x1ba434(0xed)][_0x1ba434(0x11b)](this)),this[_0x1ba434(0x138)]['on'](_0x1ba434(0x122),this[_0x1ba434(0x114)][_0x1ba434(0x11b)](this)),this[_0x1ba434(0x138)][_0x1ba434(0x11b)](_0x1ba434(0xf4))['to'](this[_0x1ba434(0xf5)]),this[_0x1ba434(0x138)][_0x1ba434(0x12d)]['on'](_0x1ba434(0x116),(_0x655b1d,_0x3ef11f)=>{const _0x4beea8=_0x1ba434;_0x3ef11f[_0x4beea8(0x106)]['on'](_0x4beea8(0x116),(_0x3a2f86,_0x570999)=>{const _0x17eb69=_0x4beea8;_0x570999[_0x17eb69(0x11b)](_0x17eb69(0xf4),_0x17eb69(0xf2))['to'](this[_0x17eb69(0xf5)]);});}),this[_0x1ba434(0x138)][_0x1ba434(0x129)](),this[_0x1ba434(0xeb)](this[_0x1ba434(0xe5)][_0x1ba434(0x100)],_0x1ba434(0x112),this[_0x1ba434(0xe7)][_0x1ba434(0x11b)](this)),this[_0x1ba434(0xeb)](this[_0x1ba434(0xf5)],_0x1ba434(0x121),this[_0x1ba434(0xf1)][_0x1ba434(0x11b)](this)),_0x1dc057[_0x1ba434(0x127)](this[_0x1ba434(0x138)][_0x1ba434(0x10e)]);}[_0x34f58f(0x10f)](){const _0x21c36f=_0x34f58f;this[_0x21c36f(0x138)][_0x21c36f(0x10e)][_0x21c36f(0xfd)](),this[_0x21c36f(0x138)][_0x21c36f(0x10f)]();}[_0x34f58f(0xe7)](){const _0x16783f=_0x34f58f,_0x3e5648=this[_0x16783f(0x118)][_0x16783f(0x11a)](0x0);if(_0x3e5648){const _0x78bd6f=this[_0x16783f(0x118)][_0x16783f(0x113)](_0x3e5648['id']);this[_0x16783f(0xf5)][_0x16783f(0xf3)](_0x3e5648,_0x78bd6f);}}[_0x34f58f(0xed)](_0x418624,_0x19394f){const _0x24a152=_0x34f58f,_0xba6c88=this[_0x24a152(0x118)][_0x24a152(0x11a)](_0x19394f['id']),_0x10c35e=this[_0x24a152(0x118)][_0x24a152(0x113)](_0xba6c88['id']);this[_0x24a152(0xf5)][_0x24a152(0xf3)](_0xba6c88,_0x10c35e);}[_0x34f58f(0x114)](_0x386e34,_0xb1b900){const _0x121b6d=_0x34f58f;this[_0x121b6d(0x118)][_0x121b6d(0x11a)](_0xb1b900['id'])[_0x121b6d(0x125)](_0xb1b900[_0x121b6d(0xf0)]);}[_0x34f58f(0xf1)](_0x479f97,_0x33d8f6,_0x18a5c8){const _0xbc35c6=_0x34f58f,_0x511de7=this[_0xbc35c6(0x118)][_0xbc35c6(0x10b)](_0x18a5c8);_0x511de7[_0xbc35c6(0x11c)]>0x2?(this[_0xbc35c6(0x138)][_0xbc35c6(0xee)](_0x511de7),this[_0xbc35c6(0x138)][_0xbc35c6(0x104)](null)):(this[_0xbc35c6(0x138)][_0xbc35c6(0xee)]([]),this[_0xbc35c6(0x138)][_0xbc35c6(0x104)](_0x511de7[0x0]));}[_0x34f58f(0x132)](){const _0x45d497=_0x34f58f,_0x31ee3b=this[_0x45d497(0xe5)],_0xb73602=f[_0x45d497(0x10c)],_0x339524=_0x31ee3b[_0x45d497(0x130)][_0x45d497(0x115)](_0x45d497(0x128))||f[_0x45d497(0x137)];if(_0x339524[_0x45d497(0x11c)])return _0x339524[_0x45d497(0x11e)](_0x5c95d6=>{const _0x3ff134=_0x45d497,_0x21c74f=_0x3ff134(0x119)==typeof _0x5c95d6?Object[_0x3ff134(0xea)]({},_0xb73602[_0x5c95d6]):_0x5c95d6;return _0x21c74f[_0x3ff134(0xf7)]=_0x21c74f[_0x3ff134(0xf7)][_0x3ff134(0x11b)](this,_0x31ee3b),_0x21c74f[_0x3ff134(0x133)]&&(_0x21c74f[_0x3ff134(0x133)]=_0x21c74f[_0x3ff134(0x133)][_0x3ff134(0x11b)](this,_0x31ee3b)),_0x21c74f;});}}function _0x9226(){const _0x4f1121=['Restore\x20this\x20revision','84FcBSRg','change:diff','revisionSetName','isPremiumPlugin','revisionHistory','setName','revisionHistory.requireRevisionName','appendChild','revisionHistory.revisionActions','render','_revisions','RevisionsSidebar','locale','timePeriodViews','fieldView','Name\x20this\x20revision','config','restoreRevision','_createRevisionActions','isVisible','247746YuHpVZ','diff','getIndex','defaultRevisionActions','_sidebarView','Compare\x20against\x20selected','110758HIAsdf','editor','focus','_handleEditorDataReady','restoreRevisionCallback','plugins','assign','listenTo','select','_handleRevisionSelected','highlightRevisions','3597669cjUqMy','name','_handleDiffChange','isReady','compare','isEnabled','_revisionViewer','16KEDaIP','action','26kMZXIi','399308sLElTS','compareAgainstSelected','isOfficialPlugin','getLaterVisibleRevision','remove','pluginName','revisionSelected','data','repository','3011226JpvmkO','80CXrLAx','selectRevision','2iEkaJX','revisionViews','revisionHistory.viewerSidebarContainer','81180mifcnZ','isSelected','newRevisionId','getRevisionsInDiff','availableRevisionActions','nameRevision','element','destroy','init','35cQwlgD','ready','getEarlierVisibleRevision','_handleRevisionSetName','get','add','9921228UomIJN','_revisionsRepository','string','getRevision','bind','length','requires','map'];_0x9226=function(){return _0x4f1121;};return _0x9226();}export{f as RevisionsSidebar};
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
(function(
|
|
23
|
+
function _0x51f4(){const _0x410cda=['30zZeqUI','862SqGgtY','ck-reset_all','182460kiBGwd','setTemplate','div','Revision\x20history','1558872ClnrPf','10znZhHt','3874584zNhvot','3958278TXcqkZ','ck-revision-history-sidebar__header','105623ebhirv','ck-revision-history-sidebar__header__label','span','1635882ExvaGG','313gerfha','content'];_0x51f4=function(){return _0x410cda;};return _0x51f4();}(function(_0x2dd65a,_0x3929f4){const _0x3d236a=_0x5a02,_0x213e0d=_0x2dd65a();while(!![]){try{const _0x37e1a5=-parseInt(_0x3d236a(0x18b))/0x1*(parseInt(_0x3d236a(0x18e))/0x2)+-parseInt(_0x3d236a(0x18a))/0x3+parseInt(_0x3d236a(0x190))/0x4*(-parseInt(_0x3d236a(0x18d))/0x5)+parseInt(_0x3d236a(0x197))/0x6+-parseInt(_0x3d236a(0x187))/0x7+parseInt(_0x3d236a(0x196))/0x8+-parseInt(_0x3d236a(0x194))/0x9*(-parseInt(_0x3d236a(0x195))/0xa);if(_0x37e1a5===_0x3929f4)break;else _0x213e0d['push'](_0x213e0d['shift']());}catch(_0x97bfd7){_0x213e0d['push'](_0x213e0d['shift']());}}}(_0x51f4,0x5506c));import{View as _0x4df3ae,IconView as _0x105e9d}from'ckeditor5/src/ui.js';import{getTranslation as _0x482339}from'../../utils/common-translations.js';import{IconHistory as _0x28e37b}from'ckeditor5/src/icons.js';function _0x5a02(_0x2307f3,_0x2742bb){const _0x51f4d1=_0x51f4();return _0x5a02=function(_0x5a0250,_0x38c210){_0x5a0250=_0x5a0250-0x187;let _0x3a66ca=_0x51f4d1[_0x5a0250];return _0x3a66ca;},_0x5a02(_0x2307f3,_0x2742bb);}import'../../../theme/revisionssidebar/revisionssidebarheader.css';export class RevisionsSidebarHeaderView extends _0x4df3ae{constructor(_0x218a34){const _0x210be2=_0x5a02;super(_0x218a34);const _0x10a00d=new _0x105e9d();_0x10a00d[_0x210be2(0x18c)]=_0x28e37b,this[_0x210be2(0x191)]({'tag':_0x210be2(0x192),'attributes':{'class':['ck',_0x210be2(0x18f),_0x210be2(0x198)]},'children':[_0x10a00d,{'tag':_0x210be2(0x189),'attributes':{'class':['ck',_0x210be2(0x188)]},'children':[_0x482339(_0x218a34,_0x210be2(0x193))]}]});}}
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
const
|
|
23
|
+
const _0x250207=_0x6c3d;(function(_0xafde33,_0x1f2fc7){const _0x331da3=_0x6c3d,_0x2f4f8b=_0xafde33();while(!![]){try{const _0x350ddd=-parseInt(_0x331da3(0xd1))/0x1+-parseInt(_0x331da3(0xc1))/0x2+-parseInt(_0x331da3(0xd3))/0x3+-parseInt(_0x331da3(0xd6))/0x4*(-parseInt(_0x331da3(0xcf))/0x5)+parseInt(_0x331da3(0xcd))/0x6+parseInt(_0x331da3(0xbe))/0x7+parseInt(_0x331da3(0xcc))/0x8*(-parseInt(_0x331da3(0xce))/0x9);if(_0x350ddd===_0x1f2fc7)break;else _0x2f4f8b['push'](_0x2f4f8b['shift']());}catch(_0xf90273){_0x2f4f8b['push'](_0x2f4f8b['shift']());}}}(_0x34f3,0x6e0af));import{View as _0x9116c5}from'ckeditor5/src/ui.js';function _0x6c3d(_0xf4c9c0,_0x7ad039){const _0x34f3bb=_0x34f3();return _0x6c3d=function(_0x6c3d4c,_0x1c99da){_0x6c3d4c=_0x6c3d4c-0xbc;let _0x208bc6=_0x34f3bb[_0x6c3d4c];return _0x208bc6;},_0x6c3d(_0xf4c9c0,_0x7ad039);}import{RevisionView as _0x18a000}from'../revision/revisionview.js';function _0x34f3(){const _0x498b9d=['delegate','select','ck-revision-history-sidebar__time-period__label','setTemplate','38320zPJcYD','5145264obJcSy','792aJfUDl','5nRHjFj','find','471968aUBwst','remove','539178dYvzmZ','addRevision','div','3600552NjyFaF','createCollection','_revisionActions','removeRevision','ck-revision-history-sidebar__time-period','ck-revision-history-sidebar__time-period__revisions','uiLanguage','506303uxetsL','revisionViews','span','612124fpuHkp','localizedPeriodName','locale','setName','add','_requireRevisionName','startDate'];_0x34f3=function(){return _0x498b9d;};return _0x34f3();}import{getDateTimePeriodInfo as _0x518df4}from'./utils.js';import'../../../theme/revisionssidebar/revisionssidebartimeperiod.css';export class RevisionsSidebarTimePeriodView extends _0x9116c5{[_0x250207(0xc7)];[_0x250207(0xbf)];[_0x250207(0xd8)];[_0x250207(0xc6)];constructor(_0x5c95d6,_0x12f6f0,_0x27fb29,_0x8b9b2a){const _0x55acab=_0x250207;super(_0x5c95d6);const _0x6e7db3=_0x518df4(_0x12f6f0,this[_0x55acab(0xc3)][_0x55acab(0xbd)])[_0x55acab(0xc2)];this[_0x55acab(0xc7)]=_0x12f6f0,this[_0x55acab(0xbf)]=this[_0x55acab(0xd7)](),this[_0x55acab(0xd8)]=_0x27fb29,this[_0x55acab(0xc6)]=_0x8b9b2a,this[_0x55acab(0xbf)][_0x55acab(0xc8)](_0x55acab(0xc9))['to'](this),this[_0x55acab(0xbf)][_0x55acab(0xc8)](_0x55acab(0xc4))['to'](this),this[_0x55acab(0xcb)]({'tag':_0x55acab(0xd5),'attributes':{'class':['ck',_0x55acab(0xda)]},'children':[{'tag':_0x55acab(0xc0),'attributes':{'class':['ck',_0x55acab(0xca)]},'children':[{'text':_0x6e7db3}]},{'tag':_0x55acab(0xd5),'attributes':{'class':['ck',_0x55acab(0xbc)]},'children':this[_0x55acab(0xbf)]}]});}[_0x250207(0xd4)](_0x353030){const _0x567ebf=_0x250207,_0x583ca2=new _0x18a000(this[_0x567ebf(0xc3)],_0x353030,this[_0x567ebf(0xd8)],this[_0x567ebf(0xc6)]);this[_0x567ebf(0xbf)][_0x567ebf(0xc5)](_0x583ca2);}[_0x250207(0xd9)](_0x12ffef){const _0x32b3f8=_0x250207,_0x20392d=this[_0x32b3f8(0xbf)][_0x32b3f8(0xd0)](_0x2046a2=>_0x2046a2['id']===_0x12ffef['id']);this[_0x32b3f8(0xbf)][_0x32b3f8(0xd2)](_0x20392d);}}
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
const
|
|
23
|
+
const _0x3eee33=_0x6ab1;(function(_0x1c34c9,_0x4ab73c){const _0x40b5c2=_0x6ab1,_0x2a0967=_0x1c34c9();while(!![]){try{const _0x400a8e=parseInt(_0x40b5c2(0x88))/0x1+-parseInt(_0x40b5c2(0x80))/0x2*(parseInt(_0x40b5c2(0x71))/0x3)+-parseInt(_0x40b5c2(0xa0))/0x4*(parseInt(_0x40b5c2(0x79))/0x5)+parseInt(_0x40b5c2(0x81))/0x6*(-parseInt(_0x40b5c2(0x7e))/0x7)+parseInt(_0x40b5c2(0x9d))/0x8*(-parseInt(_0x40b5c2(0x8f))/0x9)+-parseInt(_0x40b5c2(0x90))/0xa+parseInt(_0x40b5c2(0x75))/0xb;if(_0x400a8e===_0x4ab73c)break;else _0x2a0967['push'](_0x2a0967['shift']());}catch(_0x3854b5){_0x2a0967['push'](_0x2a0967['shift']());}}}(_0x4f07,0x6d6fe));import{View as _0xbb762f}from'ckeditor5/src/ui.js';import{RevisionsSidebarTimePeriodView as _0x4868f6}from'./revisionssidebartimeperiodview.js';import{RevisionsSidebarHeaderView as _0x2cef47}from'./revisionssidebarheaderview.js';import{getDateTimePeriodInfo as _0x33eb6e}from'./utils.js';import'../../../theme/revisionssidebar/revisionssidebar.css';function _0x6ab1(_0x99c2cc,_0x7a33d0){const _0x4f0770=_0x4f07();return _0x6ab1=function(_0x6ab1bc,_0x2bec0d){_0x6ab1bc=_0x6ab1bc-0x6c;let _0x52cbbd=_0x4f0770[_0x6ab1bc];return _0x52cbbd;},_0x6ab1(_0x99c2cc,_0x7a33d0);}export class RevisionsSidebarView extends _0xbb762f{[_0x3eee33(0x78)];[_0x3eee33(0x97)];[_0x3eee33(0x8a)];[_0x3eee33(0x9b)];constructor(_0xadac9c,_0x37d1dd,_0x305a72,_0x35427a){const _0x548e84=_0x3eee33;super(_0xadac9c);const _0x51773a=this[_0x548e84(0x6d)];this[_0x548e84(0x78)]=this[_0x548e84(0x86)](),this[_0x548e84(0x78)][_0x548e84(0x91)](_0x548e84(0xa2))['to'](this),this[_0x548e84(0x78)][_0x548e84(0x91)](_0x548e84(0x7d))['to'](this),this[_0x548e84(0x97)]=_0x37d1dd,this[_0x548e84(0x8a)]=_0x305a72,this[_0x548e84(0x9b)]=_0x35427a,this['on'](_0x548e84(0xa2),(_0x5ce79b,_0x1b6232)=>{const _0x2e46d6=_0x548e84;this[_0x2e46d6(0x74)](_0x2e46d6(0x83),_0x1b6232);}),this['on'](_0x548e84(0x7d),(_0x62ddf7,_0x11550d)=>{const _0x51dbc0=_0x548e84;this[_0x51dbc0(0x74)](_0x51dbc0(0x84),_0x11550d);}),this[_0x548e84(0xa1)](_0x548e84(0x9f),!0x1),this[_0x548e84(0x95)]({'tag':_0x548e84(0x7f),'attributes':{'class':['ck',_0x548e84(0x8b),_0x548e84(0x8e),_0x548e84(0x93)]},'children':[new _0x2cef47(_0xadac9c),{'tag':_0x548e84(0x7f),'attributes':{'class':['ck',_0x548e84(0x82),_0x51773a['if'](_0x548e84(0x9f),_0x548e84(0x89),_0x327b58=>!_0x327b58)]},'children':this[_0x548e84(0x78)]}]});}[_0x3eee33(0x6e)](){const _0x391707=_0x3eee33;super[_0x391707(0x6e)]();for(const _0x5af311 of this[_0x391707(0x97)])this[_0x391707(0x8d)](_0x5af311);this[_0x391707(0x97)]['on'](_0x391707(0x92),(_0x3a7317,_0x465a73)=>{const _0x3cc588=_0x391707;this[_0x3cc588(0x8d)](_0x465a73);}),this[_0x391707(0x97)]['on'](_0x391707(0x99),(_0xdbb58,_0x7dab97)=>{const _0x45ecc8=_0x391707;this[_0x45ecc8(0x9e)](_0x7dab97);});}get[_0x3eee33(0x9a)](){const _0x4d37e7=_0x3eee33;return this[_0x4d37e7(0x78)][_0x4d37e7(0x9c)](_0x36a646=>_0x36a646[_0x4d37e7(0x9a)][_0x4d37e7(0x9c)](_0x179eed=>_0x179eed))[_0x4d37e7(0x94)]();}[_0x3eee33(0x73)](_0x7a8c8d){const _0x224d21=_0x3eee33;for(const _0x38272f of this[_0x224d21(0x9a)])_0x7a8c8d&&_0x7a8c8d['id']===_0x38272f['id']?_0x38272f[_0x224d21(0xa2)]():_0x38272f[_0x224d21(0x85)]();}[_0x3eee33(0x7a)](_0x4bb5f9){const _0x721638=_0x3eee33;for(const _0x31885f of this[_0x721638(0x9a)])_0x4bb5f9[_0x721638(0x7c)](({id:_0x3ff399})=>_0x3ff399===_0x31885f['id'])?_0x31885f[_0x721638(0x72)]():_0x31885f[_0x721638(0x7b)]();}[_0x3eee33(0x8d)](_0x4f1b7d){const _0xf9ad4=_0x3eee33,_0x312a3c=_0x33eb6e(_0x4f1b7d[_0xf9ad4(0x8c)],this[_0xf9ad4(0x76)][_0xf9ad4(0x87)])[_0xf9ad4(0x70)];let _0x581bb8=this[_0xf9ad4(0x78)][_0xf9ad4(0x98)](0x0);_0x581bb8&&_0x581bb8[_0xf9ad4(0x70)][_0xf9ad4(0x96)]()===_0x312a3c[_0xf9ad4(0x96)]()||(_0x581bb8=new _0x4868f6(this[_0xf9ad4(0x76)],_0x312a3c,this[_0xf9ad4(0x8a)],this[_0xf9ad4(0x9b)]),this[_0xf9ad4(0x78)][_0xf9ad4(0x92)](_0x581bb8)),_0x581bb8[_0xf9ad4(0x6c)](_0x4f1b7d);}[_0x3eee33(0x9e)](_0x3d586d){const _0x89e92a=_0x3eee33,_0x4d7d4d=_0x33eb6e(_0x3d586d[_0x89e92a(0x8c)],this[_0x89e92a(0x76)][_0x89e92a(0x87)])[_0x89e92a(0x70)];this[_0x89e92a(0x6f)](_0x4d7d4d)[_0x89e92a(0xa3)](_0x3d586d);}[_0x3eee33(0x6f)](_0x14a99c){const _0x19123a=_0x3eee33;return this[_0x19123a(0x78)][_0x19123a(0x77)](_0x2f8e73=>_0x2f8e73[_0x19123a(0x70)][_0x19123a(0x96)]()===_0x14a99c[_0x19123a(0x96)]());}}function _0x4f07(){const _0x22f3d4=['createCollection','uiLanguage','510797MhIKdm','ck-disabled','_revisionActions','ck-reset','createdAt','_addRevision','ck-rounded-corners','1489941bexxCO','1155700uYLeow','delegate','add','ck-revision-history-sidebar','flat','setTemplate','getTime','_revisions','get','remove','revisionViews','_requireRevisionName','map','8BSmCHx','_removeRevision','isEnabled','4qhwMxG','set','select','removeRevision','addRevision','bindTemplate','render','_getTimePeriodViewByStartDate','startDate','7947qBsRmM','highlight','selectRevision','fire','19429333UIrQbl','locale','find','timePeriodViews','1768885dcdxJj','highlightRevisions','unhighlight','some','setName','329FKHjea','div','554EjANOF','58746IUwLsv','ck-revision-history-sidebar__timeline','revisionSelected','revisionSetName','deselect'];_0x4f07=function(){return _0x22f3d4;};return _0x4f07();}
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
(function(
|
|
23
|
+
(function(_0x31bdc7,_0x27dee2){const _0x2f842a=_0x46a4,_0x4d13ef=_0x31bdc7();while(!![]){try{const _0x59b42a=parseInt(_0x2f842a(0xdf))/0x1+parseInt(_0x2f842a(0xdb))/0x2*(-parseInt(_0x2f842a(0xe8))/0x3)+parseInt(_0x2f842a(0xe1))/0x4+parseInt(_0x2f842a(0xdd))/0x5+parseInt(_0x2f842a(0xde))/0x6+parseInt(_0x2f842a(0xed))/0x7+-parseInt(_0x2f842a(0xec))/0x8;if(_0x59b42a===_0x27dee2)break;else _0x4d13ef['push'](_0x4d13ef['shift']());}catch(_0x438536){_0x4d13ef['push'](_0x4d13ef['shift']());}}}(_0x3f63,0x7035d));import{DateTime as _0x57ba36}from'luxon';function _0x46a4(_0x2adac5,_0x14d5d0){const _0x3f63f8=_0x3f63();return _0x46a4=function(_0x46a4e0,_0x58d88f){_0x46a4e0=_0x46a4e0-0xdb;let _0x24f8ce=_0x3f63f8[_0x46a4e0];return _0x24f8ce;},_0x46a4(_0x2adac5,_0x14d5d0);}export function getDateTimePeriodInfo(_0x4056c3,_0x4ac94a){const _0x986cc=_0x46a4,_0x15ae43=_0x57ba36[_0x986cc(0xe9)](_0x4056c3)[_0x986cc(0xdc)](_0x4ac94a),_0x526a89=_0x57ba36[_0x986cc(0xe6)](),_0x27830e=_0x526a89[_0x986cc(0xe3)]({'days':0x1})[_0x986cc(0xe0)](_0x986cc(0xef));let _0x27858c,_0x5340f8;return _0x15ae43[_0x986cc(0xea)](_0x526a89,_0x986cc(0xef))?(_0x27858c=_0x15ae43[_0x986cc(0xe0)](_0x986cc(0xef))[_0x986cc(0xe5)](),_0x5340f8=_0x15ae43[_0x986cc(0xee)]()):_0x15ae43[_0x986cc(0xea)](_0x27830e,_0x986cc(0xef))?(_0x27858c=_0x27830e[_0x986cc(0xe5)](),_0x5340f8=_0x15ae43[_0x986cc(0xee)]()):_0x15ae43[_0x986cc(0xea)](_0x526a89,_0x986cc(0xe2))?(_0x27858c=_0x15ae43[_0x986cc(0xe0)](_0x986cc(0xe2))[_0x986cc(0xe5)](),_0x5340f8=_0x15ae43[_0x986cc(0xe7)]||''):_0x15ae43[_0x986cc(0xea)](_0x526a89,_0x986cc(0xe4))?(_0x27858c=_0x15ae43[_0x986cc(0xe0)](_0x986cc(0xeb))[_0x986cc(0xe5)](),_0x5340f8=_0x15ae43[_0x986cc(0xf0)]||''):(_0x27858c=_0x15ae43[_0x986cc(0xe0)](_0x986cc(0xe4))[_0x986cc(0xe5)](),_0x5340f8=String(_0x15ae43[_0x986cc(0xe4)])),{'startDate':_0x27858c,'localizedPeriodName':_0x5340f8};}function _0x3f63(){const _0x386990=['6437888YcwGSS','3729929MeyBew','toRelativeCalendar','day','monthLong','146waCsHO','setLocale','2119810fRMdqA','203850mJavQq','769667LFUjuf','startOf','1094732ayDZtU','week','minus','year','toJSDate','local','weekdayLong','31635nKNgSw','fromJSDate','hasSame','month'];_0x3f63=function(){return _0x386990;};return _0x3f63();}
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
|
|
23
|
+
function _0x416b(_0x553edc,_0x5d07b5){const _0x3198d1=_0x3198();return _0x416b=function(_0x416bb3,_0x447ad6){_0x416bb3=_0x416bb3-0x176;let _0x48c8b2=_0x3198d1[_0x416bb3];return _0x48c8b2;},_0x416b(_0x553edc,_0x5d07b5);}const _0x4a6baa=_0x416b;(function(_0x52dc89,_0x5e5e72){const _0x19f4ec=_0x416b,_0x1bdacf=_0x52dc89();while(!![]){try{const _0x443911=parseInt(_0x19f4ec(0x195))/0x1*(-parseInt(_0x19f4ec(0x17f))/0x2)+parseInt(_0x19f4ec(0x178))/0x3+-parseInt(_0x19f4ec(0x18b))/0x4*(parseInt(_0x19f4ec(0x194))/0x5)+parseInt(_0x19f4ec(0x193))/0x6*(parseInt(_0x19f4ec(0x183))/0x7)+-parseInt(_0x19f4ec(0x17b))/0x8+-parseInt(_0x19f4ec(0x17d))/0x9*(parseInt(_0x19f4ec(0x191))/0xa)+parseInt(_0x19f4ec(0x184))/0xb;if(_0x443911===_0x5e5e72)break;else _0x1bdacf['push'](_0x1bdacf['shift']());}catch(_0x3167d6){_0x1bdacf['push'](_0x1bdacf['shift']());}}}(_0x3198,0x24c32));import{View as _0x5a8c0b}from'ckeditor5/src/ui.js';import{getTranslation as _0x5298eb}from'../../utils/common-translations.js';function _0x3198(){const _0x5c2dbc=['6wqdWKK','3260fwJyZL','1oDmsmA','data','setTemplate','name','116607xwxtVr','Removed\x20by','ck-revision-change__label','205904mnKMfX','set','3132NPkJBZ','bindTemplate','430726AqBFRg','Suggested\x20by','div','type','1306375VpzjUu','5355823sNSeWo','isSuggestion','Added\x20by','_model','focus','add','changeId','140GjWoRh','ck-annotation','span','ck-revision-change','element','author','8560xGynYo','ck-revision-change__'];_0x3198=function(){return _0x5c2dbc;};return _0x3198();}export class ChangeDetailsView extends _0x5a8c0b{[_0x4a6baa(0x18a)];[_0x4a6baa(0x187)];constructor(_0x3141eb,_0x273649){const _0x371a63=_0x4a6baa;super(_0x3141eb),this[_0x371a63(0x187)]=_0x273649,this[_0x371a63(0x18a)]=_0x273649['id'];const _0x3f180f=this[_0x371a63(0x17e)],_0x32575d=_0x5298eb(_0x3141eb,_0x273649[_0x371a63(0x196)][_0x371a63(0x185)]?_0x371a63(0x180):_0x371a63(0x189)==_0x273649[_0x371a63(0x182)]?_0x371a63(0x186):_0x371a63(0x179));this[_0x371a63(0x17c)](_0x371a63(0x182),_0x273649[_0x371a63(0x182)]),this[_0x371a63(0x176)]({'tag':_0x371a63(0x181),'attributes':{'class':[_0x371a63(0x18c),_0x371a63(0x18e),_0x3f180f['to'](_0x371a63(0x182),_0x3092ad=>_0x371a63(0x192)+_0x3092ad)],'tabindex':-0x1},'children':[{'tag':_0x371a63(0x18d),'children':[{'tag':_0x371a63(0x18d),'attributes':{'class':[_0x371a63(0x17a)]},'children':[{'text':_0x32575d}]},{'text':'\x20'+_0x273649[_0x371a63(0x190)][_0x371a63(0x177)]}]}]});}[_0x4a6baa(0x188)](){const _0x4c31ad=_0x4a6baa;this[_0x4c31ad(0x18f)][_0x4c31ad(0x188)]();}}
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
|
|
23
|
+
(function(_0x9018e8,_0x3f5081){const _0x952b6=_0x58e9,_0x26ce1c=_0x9018e8();while(!![]){try{const _0x24735d=-parseInt(_0x952b6(0x12c))/0x1+parseInt(_0x952b6(0x13c))/0x2+-parseInt(_0x952b6(0x134))/0x3*(-parseInt(_0x952b6(0x13b))/0x4)+-parseInt(_0x952b6(0x144))/0x5+-parseInt(_0x952b6(0x130))/0x6+parseInt(_0x952b6(0x147))/0x7*(parseInt(_0x952b6(0x14a))/0x8)+-parseInt(_0x952b6(0x13f))/0x9*(-parseInt(_0x952b6(0x138))/0xa);if(_0x24735d===_0x3f5081)break;else _0x26ce1c['push'](_0x26ce1c['shift']());}catch(_0x4ca16f){_0x26ce1c['push'](_0x26ce1c['shift']());}}}(_0x12d7,0x703fa));import{View as _0x1ce1ea,ButtonView as _0x5ace80,ToolbarSeparatorView as _0x266a20}from'ckeditor5/src/ui.js';import{IconChevronUp as _0x1f30c8,IconChevronDown as _0x41a5b8}from'ckeditor5/src/icons.js';import{getTranslation as _0x5a1b73}from'../../utils/common-translations.js';function _0x58e9(_0x15962c,_0x2a583a){const _0x12d7d4=_0x12d7();return _0x58e9=function(_0x58e973,_0x2a9d48){_0x58e973=_0x58e973-0x129;let _0x598af5=_0x12d7d4[_0x58e973];return _0x598af5;},_0x58e9(_0x15962c,_0x2a583a);}import'../../../theme/changesnavigation.css';export class ChangesNavigationView extends _0x1ce1ea{constructor(_0x1f7559){const _0x4491bd=_0x58e9;super(_0x1f7559);const _0x28f797=this[_0x4491bd(0x152)],_0x480b5a=new _0x5ace80(_0x1f7559),_0x1f5e7a=new _0x5ace80(_0x1f7559);this[_0x4491bd(0x12a)](_0x4491bd(0x131),!0x1),this[_0x4491bd(0x12a)](_0x4491bd(0x14e),!0x1),this[_0x4491bd(0x12a)](_0x4491bd(0x13d),0x0),this[_0x4491bd(0x12a)](_0x4491bd(0x151),0x0),this[_0x4491bd(0x12a)](_0x4491bd(0x14b),!0x1),this[_0x4491bd(0x12a)](_0x4491bd(0x146),!0x1),this[_0x4491bd(0x12e)](_0x4491bd(0x14f))['to'](this,_0x4491bd(0x14e),this,_0x4491bd(0x151),(_0x1fbede,_0xb7409f)=>_0x1fbede&&_0xb7409f>0x0),this[_0x4491bd(0x12e)](_0x4491bd(0x149))['to'](this,_0x4491bd(0x14e),this,_0x4491bd(0x13d),this,_0x4491bd(0x151),this,_0x4491bd(0x131),(_0x1cd324,_0x3db8a4,_0x17c360,_0x6df6b8)=>{const _0x4c643d=_0x4491bd;if(!_0x1cd324)return _0x5a1b73(_0x1f7559,_0x4c643d(0x137));if(!_0x17c360)return _0x5a1b73(_0x1f7559,_0x4c643d(0x140));const _0x21ab52=_0x5a1b73(_0x1f7559,_0x4c643d(0x12d),_0x17c360);return _0x6df6b8?_0x5a1b73(_0x1f7559,_0x4c643d(0x133),[_0x3db8a4+0x1,_0x17c360]):_0x21ab52;}),_0x480b5a[_0x4491bd(0x12a)]({'label':_0x5a1b73(_0x1f7559,_0x4491bd(0x12f)),'tooltip':!0x0,'icon':_0x1f30c8}),_0x1f5e7a[_0x4491bd(0x12a)]({'label':_0x5a1b73(_0x1f7559,_0x4491bd(0x14c)),'tooltip':!0x0,'icon':_0x41a5b8}),_0x480b5a[_0x4491bd(0x12e)](_0x4491bd(0x139))['to'](this,_0x4491bd(0x146)),_0x1f5e7a[_0x4491bd(0x12e)](_0x4491bd(0x139))['to'](this,_0x4491bd(0x14b)),_0x480b5a['on'](_0x4491bd(0x153),()=>this[_0x4491bd(0x12b)](_0x4491bd(0x153),_0x4491bd(0x143))),_0x1f5e7a['on'](_0x4491bd(0x153),()=>this[_0x4491bd(0x12b)](_0x4491bd(0x153),_0x4491bd(0x145))),this[_0x4491bd(0x136)]({'tag':_0x4491bd(0x13e),'attributes':{'class':['ck',_0x4491bd(0x132),_0x4491bd(0x129)]},'children':[{'tag':_0x4491bd(0x13a),'attributes':{'class':[_0x4491bd(0x14d)]},'children':[{'tag':_0x4491bd(0x13a),'attributes':{'class':[_0x4491bd(0x142),_0x28f797['if'](_0x4491bd(0x14f),_0x4491bd(0x141),_0x7390cc=>!_0x7390cc)]},'children':[{'text':_0x28f797['to'](_0x4491bd(0x131),_0x727995=>_0x727995?_0x5a1b73(_0x1f7559,_0x4491bd(0x150))+':\x20':_0x5a1b73(_0x1f7559,_0x4491bd(0x148))+':\x20')}]},{'text':_0x28f797['to'](_0x4491bd(0x149))}]},new _0x266a20(),{'tag':_0x4491bd(0x13e),'attributes':{'class':[_0x4491bd(0x135)]},'children':[_0x480b5a,_0x1f5e7a]}]});}}function _0x12d7(){const _0xacc164=['backward','3481115CMVOFu','forward','isBackwardNavigationEnabled','43561gVeyVC','Total','_statusText','8vTymvC','isForwardNavigationEnabled','Show\x20next\x20change','ck-revision-history-ui__changes-navigation__wrapper','isReady','_isStatusLabelVisible','EDIT_X_OF_Y_REVISIONS','numberOfChanges','bindTemplate','execute','ck-revision-history-ui__changes-navigation','set','fire','163129TzHNOS','NUMBER_OF_CHANGES','bind','Show\x20previous\x20change','5360466hHsaUW','isNavigationMode','ck-revision-history-ui','X_OF_Y_CHANGES','1197693BCuoot','ck-revision-history-ui__changes-navigation__navigation','setTemplate','Loading...','2730sPSqRu','isEnabled','span','8fpMPWZ','55120NbzQFA','currentChangeNumber','div','45504RpqMPT','No\x20changes','ck-hidden','ck-revision-history-ui__changes-navigation__label'];_0x12d7=function(){return _0xacc164;};return _0x12d7();}
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
const
|
|
23
|
+
const _0x93fcd7=_0x20ac;function _0x20ac(_0x5a9d65,_0x407b48){const _0x142475=_0x1424();return _0x20ac=function(_0x20ac6e,_0x304983){_0x20ac6e=_0x20ac6e-0xa7;let _0x438e3b=_0x142475[_0x20ac6e];return _0x438e3b;},_0x20ac(_0x5a9d65,_0x407b48);}(function(_0x366f22,_0x285d90){const _0x479325=_0x20ac,_0x1b920e=_0x366f22();while(!![]){try{const _0x6c4acc=parseInt(_0x479325(0xa7))/0x1*(parseInt(_0x479325(0xaa))/0x2)+-parseInt(_0x479325(0xb6))/0x3*(parseInt(_0x479325(0xbf))/0x4)+-parseInt(_0x479325(0xba))/0x5*(parseInt(_0x479325(0xb4))/0x6)+-parseInt(_0x479325(0xa8))/0x7+-parseInt(_0x479325(0xae))/0x8*(parseInt(_0x479325(0xbb))/0x9)+-parseInt(_0x479325(0xa9))/0xa*(parseInt(_0x479325(0xc1))/0xb)+-parseInt(_0x479325(0xbd))/0xc*(-parseInt(_0x479325(0xb1))/0xd);if(_0x6c4acc===_0x285d90)break;else _0x1b920e['push'](_0x1b920e['shift']());}catch(_0x76dc0c){_0x1b920e['push'](_0x1b920e['shift']());}}}(_0x1424,0xb590b));import{Plugin as _0x46c620}from'ckeditor5/src/core.js';const ge=_0x93fcd7(0xaf);function _0x1424(){const _0x3a9d3a=['88621yqcVCe','isPremiumPlugin','addClass','1583070mRufgZ','show','8829UsVzHz','view','change','document','25cNIGvP','2430rKYGYu','removeClass','5376glzNwK','editor','500lyEXvk','hide','107327xsjzbk','isOfficialPlugin','4183qTEjjH','964187qhnjKQ','10sWJoHM','122KYpUNS','roots','pluginName','editing','21656EmbUUP','ck-editor__editable__loading-overlay','RevisionViewerLoadingOverlay'];_0x1424=function(){return _0x3a9d3a;};return _0x1424();}import'../../../theme/revisionviewerloadingoverlay.css';export class RevisionViewerLoadingOverlay extends _0x46c620{static get[_0x93fcd7(0xac)](){const _0x136d1e=_0x93fcd7;return _0x136d1e(0xb0);}static get[_0x93fcd7(0xc2)](){return!0x0;}static get[_0x93fcd7(0xb2)](){return!0x0;}[_0x93fcd7(0xb5)](){const _0x440b3c=_0x93fcd7,_0x195edc=this[_0x440b3c(0xbe)][_0x440b3c(0xad)][_0x440b3c(0xb7)];_0x195edc[_0x440b3c(0xb8)](_0x37f4d4=>{const _0x4133=_0x440b3c;for(const _0x887dbe of _0x195edc[_0x4133(0xb9)][_0x4133(0xab)])_0x37f4d4[_0x4133(0xb3)](ge,_0x887dbe);});}[_0x93fcd7(0xc0)](){const _0x4b8414=_0x93fcd7,_0x1b7111=this[_0x4b8414(0xbe)][_0x4b8414(0xad)][_0x4b8414(0xb7)];_0x1b7111[_0x4b8414(0xb8)](_0x1aa3ad=>{const _0x44c4fd=_0x4b8414;for(const _0x38a814 of _0x1b7111[_0x44c4fd(0xb9)][_0x44c4fd(0xab)])_0x1aa3ad[_0x44c4fd(0xbc)](ge,_0x38a814);});}}
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
const
|
|
23
|
+
const _0x3f833f=_0x4b71;function _0x4b71(_0x4ed12f,_0x15d64f){const _0x222405=_0x2224();return _0x4b71=function(_0x4b7138,_0x5cc820){_0x4b7138=_0x4b7138-0x82;let _0x4a2f72=_0x222405[_0x4b7138];return _0x4a2f72;},_0x4b71(_0x4ed12f,_0x15d64f);}(function(_0x3060d0,_0x176441){const _0x1694e7=_0x4b71,_0x419fd7=_0x3060d0();while(!![]){try{const _0x326bed=parseInt(_0x1694e7(0x86))/0x1+parseInt(_0x1694e7(0x98))/0x2+-parseInt(_0x1694e7(0x95))/0x3+-parseInt(_0x1694e7(0x9b))/0x4+parseInt(_0x1694e7(0x8c))/0x5+-parseInt(_0x1694e7(0x97))/0x6*(parseInt(_0x1694e7(0xa1))/0x7)+-parseInt(_0x1694e7(0xa0))/0x8*(parseInt(_0x1694e7(0x84))/0x9);if(_0x326bed===_0x176441)break;else _0x419fd7['push'](_0x419fd7['shift']());}catch(_0x2a8fc2){_0x419fd7['push'](_0x419fd7['shift']());}}}(_0x2224,0xa396b));import{Plugin as _0x128cfd}from'ckeditor5/src/core.js';import{ButtonView as _0xcbc22}from'ckeditor5/src/ui.js';import{IconUndo as _0x2a2e5c}from'ckeditor5/src/icons.js';function _0x2224(){const _0x41ea81=['revisionHistory','exitToEditing','177576HZggRs','get','2534874gfkRpi','1609822rauEkN','isReady','listenTo','2938296HJQdaI','Restore\x20this\x20revision','numberOfChanges','hide','Back\x20to\x20editing','2656cwjFDm','7anUbLI','pluginName','currentChangeNumber','showNextChange','isEnabled','init','isNavigationMode','requires','isPremiumPlugin','change:isReady','restoreRevision','closeRevisionViewerCallback','editor','RevisionViewerUI','commands','config','componentFactory','show','14328rvYEBd','add','441030LUPbLx','plugins','forward','isBackwardNavigationEnabled','ck-revision-history-ui__back-to-editing','isForwardNavigationEnabled','5844535cxvTZA','set','bind','changesNavigation','execute','showPreviousChange','isOfficialPlugin'];_0x2224=function(){return _0x41ea81;};return _0x2224();}import{ChangesNavigationView as _0x17e140}from'./changesnavigationview.js';import{RevisionViewer as _0x2276c0}from'./../../revisionviewer.js';import{RevisionViewerLoadingOverlay as _0x3d716a}from'./revisionviewerloadingoverlay.js';import{getTranslation as _0x4a28a2}from'../../utils/common-translations.js';import'../../../theme/revisionviewer.css';export class RevisionViewerUI extends _0x128cfd{static get[_0x3f833f(0xa2)](){const _0x51e608=_0x3f833f;return _0x51e608(0xae);}static get[_0x3f833f(0x92)](){return!0x0;}static get[_0x3f833f(0xa9)](){return!0x0;}static get[_0x3f833f(0xa8)](){return[_0x2276c0,_0x3d716a];}[_0x3f833f(0xa6)](){const _0x4ea1e6=_0x3f833f,_0x3466b4=this[_0x4ea1e6(0xad)],_0x1f2187=_0x3466b4[_0x4ea1e6(0x87)][_0x4ea1e6(0x96)](_0x2276c0),_0xa66cb7=_0x3466b4[_0x4ea1e6(0x87)][_0x4ea1e6(0x96)](_0x3d716a);_0x3466b4['ui'][_0x4ea1e6(0x82)][_0x4ea1e6(0x85)](_0x4ea1e6(0x94),_0x27325a=>{const _0x180713=_0x4ea1e6,_0x4e302f=new _0xcbc22(_0x27325a);return _0x4e302f[_0x180713(0x8d)]({'label':_0x4a28a2(_0x27325a,_0x180713(0x9f)),'icon':_0x2a2e5c,'withText':!0x0,'tooltip':!0x0,'class':_0x180713(0x8a)}),this[_0x180713(0x9a)](_0x4e302f,_0x180713(0x90),()=>{const _0x13fcc8=_0x180713;_0x3466b4[_0x13fcc8(0xb0)][_0x13fcc8(0x96)](_0x13fcc8(0x93))[_0x13fcc8(0xac)]();}),_0x4e302f;}),_0x3466b4['ui'][_0x4ea1e6(0x82)][_0x4ea1e6(0x85)](_0x4ea1e6(0xab),_0x23821e=>{const _0x152563=_0x4ea1e6,_0x57b43b=new _0xcbc22(_0x23821e);return _0x57b43b[_0x152563(0x8d)]({'label':_0x4a28a2(_0x23821e,_0x152563(0x9c)),'withText':!0x0,'tooltip':!0x0}),_0x57b43b[_0x152563(0x8e)](_0x152563(0xa5))['to'](_0x3466b4[_0x152563(0xaf)][_0x152563(0x96)](_0x152563(0xab))),this[_0x152563(0x9a)](_0x57b43b,_0x152563(0x90),()=>_0x3466b4[_0x152563(0x90)](_0x152563(0xab))),_0x57b43b;}),_0x3466b4['ui'][_0x4ea1e6(0x82)][_0x4ea1e6(0x85)](_0x4ea1e6(0x8f),_0x59d2c1=>{const _0x2fe568=_0x4ea1e6,_0x20f117=new _0x17e140(_0x59d2c1),_0x1bbdea=_0x3466b4[_0x2fe568(0xaf)][_0x2fe568(0x96)](_0x2fe568(0x91)),_0x5e9b2a=_0x3466b4[_0x2fe568(0xaf)][_0x2fe568(0x96)](_0x2fe568(0xa4));return _0x20f117[_0x2fe568(0x8e)](_0x2fe568(0x89))['to'](_0x1bbdea,_0x2fe568(0xa5)),_0x20f117[_0x2fe568(0x8e)](_0x2fe568(0x8b))['to'](_0x5e9b2a,_0x2fe568(0xa5)),_0x20f117[_0x2fe568(0x8e)](_0x2fe568(0x99),_0x2fe568(0xa3),_0x2fe568(0x9d),_0x2fe568(0xa7))['to'](_0x1f2187),this[_0x2fe568(0x9a)](_0x20f117,_0x2fe568(0x90),(_0xc68f5f,_0x1ff873)=>{const _0x571a2b=_0x2fe568;_0x3466b4[_0x571a2b(0x90)](_0x571a2b(0x88)===_0x1ff873?_0x571a2b(0xa4):_0x571a2b(0x91));}),_0x20f117;}),_0xa66cb7[_0x4ea1e6(0x83)](),_0x1f2187['on'](_0x4ea1e6(0xaa),(_0x4cb147,_0x35c886,_0x95af98)=>{const _0x2e0869=_0x4ea1e6;_0x95af98?_0xa66cb7[_0x2e0869(0x9e)]():_0xa66cb7[_0x2e0869(0x83)]();});}}
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
export function getTranslation(
|
|
23
|
+
export function getTranslation(_0x229080,_0x144013,_0x262055){const t=_0x229080['t'];switch(_0x144013){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'},_0x262055);case'X_OF_Y_CHANGES':return t({'string':'%0\x20of\x20%1','id':'X_OF_Y_CHANGES'},_0x262055);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'';}}
|