@ckeditor/ckeditor5-footnotes 48.4.0-alpha.6 → 48.4.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/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/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 +9 -9
package/dist/index.js
CHANGED
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
import{Command as _0x5c8ff6,Plugin as _0x3479b8}from'@ckeditor/ckeditor5-core';import{WidgetToolbarRepository as _0x4abd57,isWidget as _0x5a9f52,toWidget as _0x19e524,toWidgetEditable as _0x4db2b5}from'@ckeditor/ckeditor5-widget';import{FocusTracker as _0x5a202e,KeystrokeHandler as _0x58c14f,global as _0x243977,logWarning as _0xc12e07,uid as _0x21f031}from'@ckeditor/ckeditor5-utils';import{ClickObserver as _0x4c2135,PointerObserver as _0x2f2079}from'@ckeditor/ckeditor5-engine';import{ClipboardPipeline as _0x230aef}from'@ckeditor/ckeditor5-clipboard';import{BalloonPanelView as _0x1c0ee9,ButtonView as _0x592e70,CollapsibleView as _0x4a7e4b,ContextualBalloon as _0x2076fd,FocusCycler as _0x55c43a,LabeledFieldView as _0xe2bf6a,MenuBarMenuListItemButtonView as _0x4c3d92,View as _0x295ddd,ViewCollection as _0x25e9a8,addKeyboardHandlingForGrid as _0x1fddb6,createDropdown as _0x2a0dc1,createLabeledInputNumber as _0x437d21}from'@ckeditor/ckeditor5-ui';import{IconFootnote as _0x2f0138,IconListStyleArabicIndic as _0x3ca943,IconListStyleDecimal as _0x24cc69,IconListStyleDecimalLeadingZero as _0x312661,IconListStyleLowerLatin as _0x3832eb,IconListStyleLowerRoman as _0x172d02,IconListStyleUpperLatin as _0x576598,IconListStyleUpperRoman as _0x38bbf1}from'@ckeditor/ckeditor5-icons';var N=class{['_model'];_elementName;_getElementKey;_trackedElements=new Map();constructor(_0x1bdb28,_0x3df3d6){this['_model']=_0x1bdb28,this['_elementName']=_0x3df3d6['elementName'],this['_getElementKey']=_0x3df3d6['getElementKey'];}reset(){this['_trackedElements']['clear']();}getChanges(_0x41ea76){const _0x2c51e4=new Set(),_0x2d7f79=new Map();for(const _0x2cf27e of _0x41ea76){if('insert'===_0x2cf27e['type']&&'$text'!==_0x2cf27e['name']&&_0x2cf27e['position']['nodeAfter']){const _0x5cbafc=this['_model']['createRangeOn'](_0x2cf27e['position']['nodeAfter']);for(const _0xebc3b8 of _0x5cbafc['getItems']()){if(!_0xebc3b8['is']('element',this['_elementName']))continue;const _0x49b094=this['_getElementKey'](_0xebc3b8);_0x2d7f79['has'](_0x49b094)||_0x2d7f79['set'](_0x49b094,[]),_0x2d7f79['get'](_0x49b094)['push'](_0xebc3b8);}}if('remove'===_0x2cf27e['type']&&_0x2cf27e['name']===this['_elementName']){const _0x509e86=this['_getElementKey']({'getAttribute':_0x151673=>_0x2cf27e['attributes']['get'](_0x151673)});_0x2c51e4['add'](_0x509e86);}}for(const [_0x31400f,_0x452b7b]of this['_trackedElements'])'$graveyard'===_0x452b7b['root']['rootName']&&_0x2c51e4['add'](_0x31400f);for(const _0x3b2ab4 of _0x2c51e4)this['_trackedElements']['delete'](_0x3b2ab4);for(const [_0x475406,_0x5231c4]of _0x2d7f79)this['_trackedElements']['set'](_0x475406,_0x5231c4[_0x5231c4['length']-0x1]);const _0x44bd68=new Set();for(const [_0x18ee6d,_0x1e43be]of _0x2d7f79)_0x2c51e4['has'](_0x18ee6d)&&(_0x44bd68['add'](_0x1e43be[0x0]),_0x1e43be['length']>0x1?_0x2d7f79['set'](_0x18ee6d,_0x1e43be['slice'](0x1)):_0x2d7f79['delete'](_0x18ee6d),_0x2c51e4['delete'](_0x18ee6d));return{'removed':Array['from'](_0x2c51e4),'inserted':Array['from'](_0x2d7f79['values']())['flat'](),'moved':Array['from'](_0x44bd68)};}},V=class extends _0x3479b8{_footnotes=[];_footnotesDefinitions=null;_footnoteFormatter=null;_footnoteDefsContainerTracker;_footnoteRefsTracker;_footnoteDefsTracker;static get['pluginName'](){return'FootnotesTracker';}static get['isOfficialPlugin'](){return!0x0;}static get['isPremiumPlugin'](){return!0x0;}constructor(_0x3897e8){super(_0x3897e8),this['_footnoteDefsContainerTracker']=new N(this['editor']['model'],{'elementName':'footnotesDefinitions','getElementKey':()=>'singleton'}),this['_footnoteRefsTracker']=new N(this['editor']['model'],{'elementName':'footnoteRef','getElementKey':_0x99f8c2=>_0x99f8c2['getAttribute']('footnoteId')}),this['_footnoteDefsTracker']=new N(this['editor']['model'],{'elementName':'footnoteDefinition','getElementKey':_0x10b539=>_0x10b539['getAttribute']('footnoteId')});}init(){const {editor:_0xad7cb6}=this,{model:_0x2677e6,data:_0x44bb69}=_0xad7cb6;_0x2677e6['document']['registerPostFixer'](_0x5e9ee6=>{const _0x5aaf6b=_0x2677e6['document']['differ']['getChanges']();let _0x5df34d=!0x1;return this['_handleFootnotesDefinitionsObjectChanges'](_0x5e9ee6,_0x5aaf6b)&&(_0x5df34d=!0x0),this['_handleFootnoteDefinitionsChanges'](_0x5e9ee6,_0x5aaf6b)&&(_0x5df34d=!0x0),this['_handleFootnoteReferencesChanges'](_0x5e9ee6,_0x5aaf6b)&&(_0x5df34d=!0x0),this['_ensureFootnotesReferencesHaveProperOrder'](_0x5e9ee6)&&(_0x5df34d=!0x0),this['_handleFootnotesDefinitionsObjectSync'](_0x5e9ee6)&&(_0x5df34d=!0x0),this['_sortFootnoteDefinitions'](_0x5e9ee6)&&(_0x5df34d=!0x0),_0x5df34d;}),this['listenTo'](_0x2677e6['document'],'change:data',()=>{_0x2677e6['enqueueChange']({'isUndoable':!0x1},_0x161c8d=>{this['_ensureFootnotesDefinitionsContainerExists'](_0x161c8d);for(const _0x4e6fab of this['_footnotes'])_0x4e6fab['definition']['isAttached']()||_0x161c8d['remove'](_0x4e6fab['reference']);});},{'priority':'low'}),this['listenTo'](_0x44bb69,'set',()=>{this['_footnotes']=[],this['_footnoteDefsContainerTracker']['reset'](),this['_footnoteRefsTracker']['reset'](),this['_footnoteDefsTracker']['reset']();},{'priority':'high'});}getFootnotesDefinitionsObjectElement(){return this['_footnotesDefinitions'];}getFootnote(_0x1998f9){return this['_footnotes']['find'](_0x1819f4=>_0x1819f4['id']===_0x1998f9)||null;}getFootnotes(){return Array['from'](this['_footnotes']);}getFootnotesFormatter(){return this['_footnoteFormatter'];}setFootnoteFormatter(_0x2458de){this['_footnoteFormatter']=_0x2458de;}_updateFootnotesCounters(_0xed3d5b,_0x3fbc05=0x0){let _0x2febae=!0x1;for(let _0x23dddd=_0x3fbc05;_0x23dddd<this['_footnotes']['length'];_0x23dddd++)this['_updateFootnoteRefCounter'](_0xed3d5b,_0x23dddd)&&(_0x2febae=!0x0);return _0x2febae;}_insertEmptyFootnotesDefinitionsContainer(_0x2ea5cd,_0xb812e){if(!K(this['editor'],_0xb812e))return null;const _0x446d84=_0x2ea5cd['createElement']('footnotesDefinitions',{});return _0x2ea5cd['append'](_0x446d84,_0xb812e),this['_footnotesDefinitions']=_0x446d84,_0x446d84;}_getFirstSuitableFootnotesDefinitionsRoot(){const _0x2ae026=[...(_0x5eae3e=this['_footnotes'],[..._0x5eae3e['reduce']((_0xd28cc8,_0x482a00)=>(_0xd28cc8['add'](_0x482a00['reference']['root']),_0xd28cc8),new Set())]),...this['editor']['model']['document']['getRoots']()];var _0x5eae3e;for(const _0xcf363f of _0x2ae026)if(K(this['editor'],_0xcf363f))return _0xcf363f;return null;}_ensureFootnotesDefinitionsContainerExists(_0x505509){if(!this['_footnotes']['length']||this['_footnotesDefinitions'])return;let _0x58ab42=null;const _0x33c09f=this['_getFirstSuitableFootnotesDefinitionsRoot']();if(_0x33c09f&&(_0x58ab42=this['_insertEmptyFootnotesDefinitionsContainer'](_0x505509,_0x33c09f)),_0x58ab42){for(const _0xa742ab of this['_footnotes'])_0xa742ab['definition']['parent']||_0x505509['insert'](_0xa742ab['definition'],_0x58ab42,'end');this['_updateFootnotesCounters'](_0x505509);}}_handleFootnotesDefinitionsObjectChanges(_0x58ce70,_0x1d276e){let _0x18184c=!0x1;const {inserted:_0x31a85f,removed:_0x2a17d3,moved:_0x2f6886}=this['_footnoteDefsContainerTracker']['getChanges'](_0x1d276e);if(_0x2f6886['length']&&(this['_footnotesDefinitions']=_0x2f6886[0x0]),_0x31a85f['length']){if(_0x31a85f['length']>0x1||this['_footnotesDefinitions']&&_0x31a85f['some'](_0x50455f=>_0x50455f!==this['_footnotesDefinitions'])){const _0x31a92e=_0x58ce70['createElement']('footnotesDefinitions',{}),_0x1c3e26=[];this['_footnotesDefinitions']&&_0x1c3e26['push'](this['_footnotesDefinitions']),_0x1c3e26['push'](..._0x31a85f),_0x58ce70['insert'](_0x31a92e,_0x1c3e26[0x0],'before');for(const _0xecc7ca of _0x1c3e26)_0x58ce70['move'](_0x58ce70['createRangeIn'](_0xecc7ca),_0x58ce70['createPositionAt'](_0x31a92e,'end')),_0x58ce70['remove'](_0xecc7ca);this['_footnotesDefinitions']=_0x31a92e,this['_updateFootnotesCounters'](_0x58ce70),_0x18184c=!0x0;}else this['_footnotesDefinitions']=_0x31a85f[0x0];}if(_0x2a17d3['length']&&'$graveyard'===this['_footnotesDefinitions']?.['root']['rootName']){for(const _0x3d482e of this['_footnotes'])_0x58ce70['remove'](_0x3d482e['reference']),_0x18184c=!0x0;this['_footnotes']=[],this['_footnotesDefinitions']=null;}return _0x18184c;}_handleFootnoteDefinitionsChanges(_0x539475,_0x27265f){let _0x242c2a=!0x1;const _0x50b932=this['editor']['config']['get']('footnotes.multiBlock'),{inserted:_0x409761,moved:_0x17181a}=this['_footnoteDefsTracker']['getChanges'](_0x27265f);for(const _0x5d637e of[..._0x17181a,..._0x409761]){const _0x1f66cb=_0x5d637e['getAttribute']('footnoteId'),_0x1852d3=this['getFootnote'](_0x1f66cb);_0x1852d3&&(_0x1852d3['definition']=_0x5d637e),T(_0x539475,_0x50b932,_0x5d637e)&&(_0x242c2a=!0x0);}return _0x242c2a;}_handleFootnoteReferencesChanges(_0x2415d1,_0xef8d89){let _0x66b90a=!0x1;const {removed:_0x575013,inserted:_0x4a9a35,moved:_0xcf206f}=this['_footnoteRefsTracker']['getChanges'](_0xef8d89);for(const _0x2e4442 of _0x575013)this['_handleRemoveFootnoteReferenceById'](_0x2415d1,_0x2e4442)&&(_0x66b90a=!0x0);for(const _0x31ebce of _0x4a9a35)this['_handleInsertedFootnoteReference'](_0x2415d1,_0x31ebce)&&(_0x66b90a=!0x0);for(const _0x57db6e of _0xcf206f)this['_handleMovedFootnoteReference'](_0x2415d1,_0x57db6e)&&(_0x66b90a=!0x0);return _0x66b90a;}_handleFootnotesDefinitionsObjectSync(_0x27cde0){if(!this['_footnotesDefinitions'])return!0x1;let _0x40205=!0x1;if(this['_footnotesDefinitions']['childCount']!==this['_footnotes']['length']){const _0x383328=[];for(const _0x303fbe of this['_footnotesDefinitions']['getChildren']()){const _0x17d84d=_0x303fbe['getAttribute']('footnoteId');this['getFootnote'](_0x17d84d)||(_0x383328['unshift'](_0x303fbe),_0x40205=!0x0);}for(const _0x1a54c3 of _0x383328)_0x27cde0['remove'](_0x1a54c3);}const _0x3dc8a2=new Set(),_0xb157b7=[];for(const _0x40d91f of this['_footnotesDefinitions']['getChildren']()){const _0x4221d8=_0x40d91f['getAttribute']('footnoteId');_0x3dc8a2['has'](_0x4221d8)?(_0xb157b7['unshift'](_0x40d91f),_0x40205=!0x0):_0x3dc8a2['add'](_0x4221d8);}for(const _0xccc903 of _0xb157b7)_0x27cde0['remove'](_0xccc903);return this['_footnotesDefinitions']['childCount']||(_0x27cde0['remove'](this['_footnotesDefinitions']),this['_footnotesDefinitions']=null,_0x40205=!0x0),_0x40205;}_handleInsertedFootnoteReference(_0x2ecff6,_0x2dedb8){if(this['_footnotes']['find'](_0x5c454f=>_0x5c454f['reference']===_0x2dedb8))return!0x1;let _0x3316c0=!0x1;const _0x262da4=_0x2dedb8['getAttribute']('footnoteId'),_0x572a46=this['_footnotes']['findIndex'](_0x2730ec=>_0x2730ec['id']===_0x262da4);-0x1!==_0x572a46&&(_0x2ecff6['remove'](this['_footnotes'][_0x572a46]['reference']),this['_footnotes']['splice'](_0x572a46,0x1),_0x3316c0=!0x0);let _0x5e9da5=this['_footnotesDefinitions']?function(_0x57b37c,_0x566707){for(const _0x38b0f2 of _0x57b37c['getChildren']())if(_0x38b0f2['getAttribute']('footnoteId')===_0x566707)return _0x38b0f2;return null;}(this['_footnotesDefinitions'],_0x262da4):null;_0x5e9da5||(_0x5e9da5=_0x2ecff6['createElement']('footnoteDefinition',{'footnoteId':_0x262da4}),this['_footnotesDefinitions']&&(_0x2ecff6['insert'](_0x5e9da5,this['_footnotesDefinitions'],'end'),_0x3316c0=!0x0));const _0xa6d237={'id':_0x262da4,'reference':_0x2dedb8,'definition':_0x5e9da5},_0x1a30bf=j(this['editor']['model'],this['_footnotes'],_0x2dedb8);this['_footnotes']['splice'](_0x1a30bf,0x0,_0xa6d237);let _0x1c15ec=_0x1a30bf;return-0x1!==_0x572a46&&(_0x1c15ec=Math['min'](_0x1a30bf,_0x572a46)),this['_updateFootnotesCounters'](_0x2ecff6,_0x1c15ec)&&(_0x3316c0=!0x0),_0x3316c0;}_handleRemoveFootnoteReferenceById(_0x1b6631,_0x372600){const _0x560b7d=this['_footnotes']['findIndex'](_0xe98322=>_0xe98322['id']===_0x372600);if(-0x1===_0x560b7d)return!0x1;let _0x50f774=!0x1;const _0x213796=this['_footnotes'][_0x560b7d];return _0x213796['definition']['isAttached']()&&'$graveyard'!==_0x213796['definition']['root']['rootName']&&(_0x1b6631['remove'](_0x213796['definition']),_0x50f774=!0x0),this['_footnotes']['splice'](_0x560b7d,0x1),this['_updateFootnotesCounters'](_0x1b6631,_0x560b7d)&&(_0x50f774=!0x0),_0x50f774;}_handleMovedFootnoteReference(_0x912df6,_0x1ad102){const _0x1f71a2=_0x1ad102['getAttribute']('footnoteId'),_0x1c7844=this['_footnotes']['findIndex'](_0x2e3762=>_0x2e3762['id']===_0x1f71a2),_0x4909c8=this['_footnotes'][_0x1c7844];let _0x195296=!0x1;_0x4909c8['reference']=_0x1ad102,this['_footnotes']['splice'](_0x1c7844,0x1);const _0x4c00c4=j(this['editor']['model'],this['_footnotes'],_0x1ad102);return this['_footnotes']['splice'](_0x4c00c4,0x0,_0x4909c8),this['_updateFootnotesCounters'](_0x912df6,Math['min'](_0x1c7844,_0x4c00c4))&&(_0x195296=!0x0),_0x195296;}_updateFootnoteRefCounter(_0x799739,_0x447b5c){if(!this['_footnotesDefinitions'])return!0x1;const _0x587bd2=this['_footnotes'][_0x447b5c];let _0xec8f0a;return _0xec8f0a=this['_footnoteFormatter']?this['_footnoteFormatter']({'footnote':_0x587bd2,'container':this['_footnotesDefinitions'],'digits':String(this['_footnotes']['length'])['length'],'value':_0x447b5c+0x1}):String(_0x447b5c+0x1),_0x587bd2['reference']['getAttribute']('footnoteCounter')!=_0xec8f0a&&(_0x799739['setAttribute']('footnoteCounter',_0xec8f0a,_0x587bd2['reference']),!0x0);}_sortFootnoteDefinitions(_0x5f1286){if(!this['_footnotesDefinitions']||this['_footnotes']['length']<0x2)return!0x1;if(function(_0x3cd69f,_0x349c3d){if(_0x3cd69f['length']!==_0x349c3d['length'])return!0x1;for(let _0x27f3b3=0x0;_0x27f3b3<_0x3cd69f['length'];_0x27f3b3++)if(_0x3cd69f[_0x27f3b3]!==_0x349c3d[_0x27f3b3])return!0x1;return!0x0;}(this['_footnotes']['map'](_0x42e422=>_0x42e422['id']),Array['from'](this['_footnotesDefinitions']['getChildren']())['map'](_0x249ba7=>_0x249ba7['getAttribute']('footnoteId'))))return!0x1;let _0x20f84c=!0x1;for(let _0xfa05b=0x0;_0xfa05b<this['_footnotes']['length'];_0xfa05b++){const _0x551d87=this['_footnotes'][_0xfa05b],_0x1db47f=_0x5f1286['createPositionBefore'](_0x551d87['definition']),_0x5b5d55=_0x5f1286['createPositionAt'](this['_footnotesDefinitions'],_0xfa05b);_0x1db47f['isEqual'](_0x5b5d55)||(_0x5f1286['move'](_0x5f1286['createRangeOn'](_0x551d87['definition']),_0x5b5d55),_0x20f84c=!0x0);}return _0x20f84c;}_ensureFootnotesReferencesHaveProperOrder(_0x3a2ef2){if(!this['_footnotes']['length'])return!0x1;const {model:_0x4bbb07}=this['editor'];let _0x28f278=!0x1;for(let _0x4406ad=0x0;_0x4406ad<this['_footnotes']['length']-0x1;_0x4406ad++){const _0xc4f42c=this['_footnotes'][_0x4406ad],_0x5625f7=this['_footnotes'][_0x4406ad+0x1],_0xb7c23=_0x4bbb07['createPositionBefore'](_0xc4f42c['reference']),_0x4d7b6b=_0x4bbb07['createPositionBefore'](_0x5625f7['reference']);'after'===_0xb7c23['compareWith'](_0x4d7b6b)&&(this['_handleMovedFootnoteReference'](_0x3a2ef2,_0xc4f42c['reference']),_0x4406ad=-0x1,_0x28f278=!0x0);}return _0x28f278;}};function K(_0x5ef809,_0x380cef){return _0x5ef809['model']['schema']['checkChild'](_0x380cef,'footnotesDefinitions');}function T(_0x293c63,_0x4d1cab,_0x11cdd4){if(_0x11cdd4['childCount'])return!0x1;const _0x222658=_0x4d1cab?'paragraph':'footnoteInlineContent';return _0x293c63['insert'](_0x293c63['createElement'](_0x222658),_0x11cdd4),!0x0;}function j(_0x2cc2aa,_0xa29b6b,_0x1edadc){if(0x0===_0xa29b6b['length'])return 0x0;const _0x5390c2=_0x2cc2aa['createPositionBefore'](_0x1edadc);for(let _0x41b46c=0x0;_0x41b46c<_0xa29b6b['length'];_0x41b46c++){const _0x2ddbcf=_0xa29b6b[_0x41b46c],_0x36bd43=_0x2cc2aa['createPositionBefore'](_0x2ddbcf['reference']);if('before'===_0x5390c2['compareWith'](_0x36bd43))return _0x41b46c;}const _0x45d8d5=_0x1edadc['root'];let _0x4f0485=-0x1;for(let _0x5ff77a=_0xa29b6b['length']-0x1;_0x5ff77a>=0x0;_0x5ff77a--)if(_0xa29b6b[_0x5ff77a]['reference']['root']===_0x45d8d5){_0x4f0485=_0x5ff77a;break;}if(-0x1!==_0x4f0485)return _0x4f0485+0x1;const _0x1f68a2=_0x2cc2aa['document']['getRootNames'](),_0x5e742b=_0x1f68a2[_0x1f68a2['indexOf'](_0x45d8d5['rootName'])+0x1];if(_0x5e742b){for(let _0x341143=0x0;_0x341143<_0xa29b6b['length'];_0x341143++)if(_0xa29b6b[_0x341143]['reference']['root']['rootName']===_0x5e742b)return _0x341143;}return _0xa29b6b['length'];}var U=class extends _0x5c8ff6{['refresh'](){const {model:_0x13514e,plugins:_0x52de24}=this['editor'],{selection:_0x5edbd5}=_0x13514e['document'],_0x243908=this['_getPositionToInsertFootnote'](_0x5edbd5),_0x5b86d1=_0x52de24['get']('FootnotesTracker');this['isEnabled']=!(!_0x243908||!_0x5b86d1['_getFirstSuitableFootnotesDefinitionsRoot']());}execute(_0x99c5a9){const {editor:_0x5495dd}=this,{model:_0x499a59}=_0x5495dd,{selection:_0x4feb77}=_0x499a59['document'],_0x9e1d0a=this['_getPositionToInsertFootnote'](_0x4feb77);if(!_0x9e1d0a)return;const _0x4e03df=_0x5495dd['plugins']['get']('FootnotesEditing'),_0xd15e0d=_0x99c5a9?.['footnoteId']??_0x21f031();!function(_0xd8d707){return'string'==typeof _0xd8d707&&_0xd8d707['length']>0x0&&!/\s/['test'](_0xd8d707)&&!/^\d/['test'](_0xd8d707);}(_0xd15e0d)?_0xc12e07('insert-footnote-command-executed-with-invalid-id'):(_0x499a59['change'](_0x57d480=>{const _0x5abe08=_0x57d480['createElement']('footnoteRef',{'footnoteId':_0xd15e0d});_0x499a59['insertObject'](_0x5abe08,_0x9e1d0a,null);}),_0x4e03df['_moveSelectionToFootnoteDefinition'](_0xd15e0d));}_getPositionToInsertFootnote(_0x1a3d5c){const {model:_0xa3d395}=this['editor'],{schema:_0x4cf2fd}=_0xa3d395,_0x18d308=_0x1a3d5c['getFirstRange']();for(const _0x55c95a of _0x18d308['getItems']())if(_0x4cf2fd['isBlock'](_0x55c95a)||_0x4cf2fd['isObject'](_0x55c95a))return null;const _0x2c8ed1=_0x18d308['end'];return _0x4cf2fd['checkChild'](_0x2c8ed1,'footnoteRef')?_0x2c8ed1:null;}},$=class extends _0x3479b8{static get['pluginName'](){return'FootnotesEditing';}static get requires(){return[V];}static get['isOfficialPlugin'](){return!0x0;}static get['isPremiumPlugin'](){return!0x0;}init(){const {editor:_0x60dba3}=this;_0x60dba3['config']['define']('footnotes.multiBlock',!0x0),_0x60dba3['commands']['add']('insertFootnote',new U(_0x60dba3)),this['_defineSchema'](),this['_defineRefsConverters'](),this['_defineDefinitionsConverters'](),this['_defineDefinitionConverters'](),this['_defineBogusParagraphConverters'](),this['_defineKeyboardHandlers'](),this['_defineClickHandlers']();}afterInit(){!async function(_0x3e53d4){const _0x1211a7='unSbGpmijAwyrOzdZhCqT3YLFVtJlkDag1WMNxR4H67IB5QoX0289cUsvPEefK',_0x1395b7=0x791b8,_0x22f42d=window['Date']['now'](),_0x5529cc=_0x3e53d4['editor'],_0x5cefec=new window['Promise'](_0x4a25e4=>{_0x5529cc['once']('ready',_0x4a25e4);}),_0x2ffe8c={'kty':'EC','use':'sig','crv':'P-256','x':'iCjOCvDFI6lQHHT18jVwRfkfHQ2a_MymT35LQVoFSAI','y':'kXIyJ4evtCEFRmxKSUpK9fDW459vXOvVrhf6uQAeOio','alg':'ES256'},_0x4db727=_0x5529cc['config']['get']('licenseKey');async function _0x56eecd(){let _0x5cb83c,_0x5dc88e=null,_0x429603=null;try{return'GPL'==_0x4db727?'NotAllowed':(_0x5cb83c=_0x4e0b74(),_0x5cb83c?(_0x5cb83c['usageEndpoint']&&(_0x429603=_0x12735a(_0x5cb83c['usageEndpoint'],_0x5cb83c['jti'])),await _0x54a52a()?_0x34a706()?_0xb1f19e()?'Expired':_0x4a0181()?('evaluation'==_0x5cb83c['licenseType']&&(_0x5dc88e=_0x298484('EvaluationLimit')),await _0x383154()):'DomainLimit':'NotAllowed':'Invalid'):'Invalid');}catch{return'Invalid';}function _0xb1f19e(){const _0x5c4fb2=['evaluation','trial']['includes'](_0x5cb83c['licenseType'])?_0x22f42d/0x3e8:0xe10*_0x1395b7;return _0x5cb83c['exp']<_0x5c4fb2;}function _0x34a706(){const _0x29cbe3=_0x5cb83c['features'];return!!_0x29cbe3&&(!!_0x29cbe3['includes']('*')||!!_0x29cbe3['includes']('FOO'));}function _0x4a0181(){const _0x5bb7f9=_0x5cb83c['licensedHosts'];if(!_0x5bb7f9||0x0==_0x5bb7f9['length'])return!0x0;const {hostname:_0x1f3261}=new URL(window['location']['href']);if(_0x5bb7f9['includes'](_0x1f3261))return!0x0;const _0x5400c0=_0x1f3261['split']('.');return _0x5bb7f9['filter'](_0x4afa6b=>_0x4afa6b['includes']('*'))['map'](_0x128b2c=>_0x128b2c['split']('.'))['filter'](_0x95300f=>_0x95300f['length']<=_0x5400c0['length'])['map'](_0x355ac0=>Array(_0x5400c0['length']-_0x355ac0['length'])['fill']('*'===_0x355ac0[0x0]?'*':'')['concat'](_0x355ac0))['some'](_0x33fe6d=>_0x5400c0['every']((_0x18fb89,_0x2ac536)=>_0x33fe6d[_0x2ac536]===_0x18fb89||'*'===_0x33fe6d[_0x2ac536]));}function _0x383154(){return _0x5dc88e&&_0x429603?new window['Promise']((_0x1b1788,_0x2db776)=>{_0x5dc88e['then'](_0x1b1788,_0x2db776),_0x429603['then'](_0x475b7d=>{'Valid'!=_0x475b7d&&_0x1b1788(_0x475b7d);},_0x2db776);}):_0x5dc88e||_0x429603||'Valid';}}function _0x12735a(_0x5778a8,_0x4da45b){return new window['Promise'](_0x213256=>{if(_0xbe394d())return _0x213256('Valid');_0x51626b(),_0x5529cc['decorate']('_sendUsageRequest');let _0x10076e=!0x1;const _0x524106=_0x21f031();function _0x1c4601(_0x1549a0){return!!_0x1549a0&&('object'==typeof _0x1549a0||'function'==typeof _0x1549a0)&&'function'==typeof _0x1549a0['then']&&'function'==typeof _0x1549a0['catch'];}function _0x12307a(_0x4316af){_0x403314(_0x4316af)['then'](_0x2a34e4=>_0x2a34e4&&'ok'==_0x2a34e4['status']?_0xc9137(_0x355f3b(_0x524106+_0x4da45b))!=_0x2a34e4['verification']?'UsageLimit':'Valid':'UsageLimit')['then'](_0x31716b=>(_0xa9ffcf(),_0x31716b),()=>{const _0x75a980=_0xfd69a3();return null==_0x75a980?(_0xa9ffcf(),'Valid'):_0x22f42d-_0x75a980>0x240c8400?'UsageLimit':'Valid';})['then'](_0x213256)['catch'](()=>{_0x213256('UsageLimit');});const _0x6e9e30=0x36ee80;function _0xa9ffcf(){const _0x463d79='llct-'+_0xc9137(_0x355f3b(_0x5778a8)),_0x35623f=_0x53c734(_0xc9137(window['Math']['ceil'](_0x22f42d/_0x6e9e30)));window['localStorage']['setItem'](_0x463d79,_0x35623f);}function _0xfd69a3(){const _0x23ccf8='llct-'+_0xc9137(_0x355f3b(_0x5778a8)),_0x1e2284=window['localStorage']['getItem'](_0x23ccf8);return _0x1e2284?window['parseInt'](_0x53c734(_0x1e2284),0x10)*_0x6e9e30:null;}function _0x403314(_0x4cea57){return new window['Promise']((_0x1acb8b,_0x498176)=>{_0x4cea57['then'](_0x1acb8b,_0x498176),window['setTimeout'](_0x498176,0x1d4c0);});}}_0x5529cc['on']('_sendUsageRequest',(_0x270310,_0x28b536)=>{if(_0x28b536[0x0]!=_0x5778a8)return _0x213256('UsageLimit');_0x28b536[0x1]={..._0x28b536[0x1],'requestId':_0x524106};},{'priority':'high'}),_0x5529cc['on']('_sendUsageRequest',_0x3ef2ba=>{_0x1c4601(_0x3ef2ba['return'])&&(_0x10076e=!0x0,_0x12307a(_0x3ef2ba['return']));},{'priority':'low'}),_0x5cefec['then'](()=>{_0x10076e||_0x213256('UsageLimit');});});function _0xbe394d(){return'auto'==_0x5529cc['editing']['view']['_overlayModeHint'];}function _0x51626b(){_0x5529cc['editing']['view']['_overlayModeHint']='auto';}}function _0x298484(_0x582613){const _0x5a94b5=[new window['Promise'](_0xaeb6cd=>setTimeout(_0xaeb6cd,0x93ecc)),_0x5cefec['then'](()=>new window['Promise'](_0x17578b=>{let _0x26182a=0x0;_0x5529cc['model']['on']('applyOperation',(_0x57c695,_0x1cebe7)=>{_0x1cebe7[0x0]['isDocumentOperation']&&_0x26182a++,0x5e8==_0x26182a&&(_0x17578b(),_0x57c695['off']());});}))];return window['Promise']['race'](_0x5a94b5)['then'](()=>_0x582613);}async function _0x461286(){await _0x5cefec,_0x5529cc['model']['change']=_0x1884ff,_0x5529cc['model']['enqueueChange']=_0x1884ff,_0x5529cc['enableReadOnlyMode']('model');}function _0x4b343b(_0x524583){const _0xade492=_0x2dfa65();_0x5529cc[_0xade492]='footnotesLicenseKey'+_0x524583,'Valid'!=_0x524583&&_0x461286();}function _0x2dfa65(){const _0x1576f7=window['String'](window['performance']['now']())['replace']('.','');let _0x424cfe='u';for(let _0x2cd12d=0x0;_0x2cd12d<_0x1576f7['length'];_0x2cd12d+=0x2){let _0x73b112=window['parseInt'](_0x1576f7['substring'](_0x2cd12d,_0x2cd12d+0x2));_0x73b112>=0x3e&&(_0x73b112-=0x3e),_0x424cfe+=_0x1211a7[_0x73b112];}return _0x424cfe;}function _0x4e0b74(){const _0x5cdbf3=_0x4db727['split']('.');if(0x3!=_0x5cdbf3['length'])return null;return _0x1544c1(_0x5cdbf3[0x1]);function _0x1544c1(_0x167d05){const _0x5e1890=_0x3ece5a(_0x167d05);return _0x5e1890&&_0x3a2b2c()?_0x5e1890:null;function _0x3a2b2c(){const _0x16c897=_0x5e1890['jti'],_0x35dab6=window['parseInt'](_0x16c897['substring'](_0x16c897['length']-0x8),0x10),_0x5d311f={..._0x5e1890,'jti':_0x16c897['substring'](0x0,_0x16c897['length']-0x8)};return delete _0x5d311f['vc'],_0x355f3b(_0x5d311f)==_0x35dab6;}}}async function _0x54a52a(){let _0x554b5c=!0x0;try{const [_0x1af2b7,_0x2e9c51,_0x5428ba]=_0x4db727['split']('.');return _0x2989a6(_0x1af2b7),await _0x3eb009(_0x1af2b7,_0x2e9c51,_0x5428ba),_0x554b5c;}catch{return!0x1;}function _0x2989a6(_0x4ab328){const _0x401875=_0x3ece5a(_0x4ab328);_0x401875&&'ES256'==_0x401875['alg']||(_0x554b5c=!0x1);}async function _0x3eb009(_0x506438,_0x986e1e,_0x68a369){const _0xdc75b5=window['Uint8Array']['from'](_0x2ce8c2(_0x68a369),_0x42c4eb=>_0x42c4eb['charCodeAt'](0x0)),_0x3827d5=new window['TextEncoder']()['encode'](_0x506438+'.'+_0x986e1e),_0x422d55=window['crypto']['subtle'];if(!_0x422d55)return;const _0x5552b3=await _0x422d55['importKey']('jwk',_0x2ffe8c,{'name':'ECDSA','namedCurve':'P-256'},!0x1,['verify']);await _0x422d55['verify']({'name':'ECDSA','hash':{'name':'SHA-256'}},_0x5552b3,_0xdc75b5,_0x3827d5)||(_0x554b5c=!0x1);}}function _0x3ece5a(_0x5bb871){return _0x5bb871['startsWith']('ey')?JSON['parse'](_0x2ce8c2(_0x5bb871)):null;}function _0x2ce8c2(_0x249ea8){return window['atob'](_0x249ea8['replace'](/-/g,'+')['replace'](/_/g,'/'));}function _0x355f3b(_0x612343){let _0x594046=0x1505;function _0x29c40e(_0x425229){for(let _0x84739b=0x0;_0x84739b<_0x425229['length'];_0x84739b++){const _0x58e439=_0x425229['charCodeAt'](_0x84739b);_0x594046=(_0x594046<<0x5)+_0x594046+_0x58e439,_0x594046&=_0x594046;}}function _0x1b9d24(_0x4f6cb4){Array['isArray'](_0x4f6cb4)?_0x4f6cb4['forEach'](_0x1b9d24):_0x4f6cb4&&'object'==typeof _0x4f6cb4?Object['entries'](_0x4f6cb4)['sort']()['forEach'](([_0x1bba4f,_0x270453])=>{_0x29c40e(_0x1bba4f),_0x1b9d24(_0x270453);}):_0x29c40e(window['String'](_0x4f6cb4));}return _0x1b9d24(_0x612343),_0x594046>>>0x0;}function _0xc9137(_0xb7a213){return _0xb7a213['toString'](0x10)['padStart'](0x8,'0');}function _0x53c734(_0x4af493){return _0x4af493['split']('')['reverse']()['join']('');}function _0x1884ff(){}_0x4b343b(await _0x56eecd());}(this);}_moveSelectionToFootnoteDefinition(_0x564535){const {plugins:_0x450484,editing:_0x200ed7,model:_0x20db03}=this['editor'],_0x405100=_0x450484['get'](V)['getFootnote'](_0x564535);return!!_0x405100&&(_0x20db03['change'](_0x18bea2=>{_0x18bea2['setSelection'](_0x18bea2['createPositionAt'](_0x405100['definition'],'end'));}),_0x200ed7['view']['scrollToTheSelection'](),!0x0);}_moveSelectionToFootnoteReference(_0x517281){const {plugins:_0x702a23,editing:_0x24308a,model:_0x142092}=this['editor'],_0x39e67f=_0x702a23['get'](V)['getFootnote'](_0x517281);return!!_0x39e67f&&(_0x142092['change'](_0x45b30e=>{_0x45b30e['setSelection'](_0x39e67f['reference'],'on');}),_0x24308a['view']['scrollToTheSelection'](),!0x0);}['_defineSchema'](){const {schema:_0x3b16f2}=this['editor']['model'],_0x26c891=this['editor']['config']['get']('footnotes.multiBlock');_0x3b16f2['register']('footnoteRef',{'inheritAllFrom':'$inlineObject','allowAttributes':['footnoteId','footnoteCounter']}),_0x3b16f2['register']('footnotesDefinitions',{'inheritAllFrom':'$blockObject','allowChildren':['footnoteDefinition']}),_0x3b16f2['register']('footnoteDefinition',{'allowAttributes':['footnoteId'],'disallowAttributes':['listItemId'],'isLimit':!0x0}),_0x26c891?_0x3b16f2['extend']('footnoteDefinition',{'allowContentOf':'$container'}):_0x3b16f2['register']('footnoteInlineContent',{'allowIn':'footnoteDefinition','allowContentOf':'$block','isLimit':!0x0}),_0x3b16f2['addChildCheck'](_0x1f70a2=>{for(const _0x3ad8d6 of _0x1f70a2)if('footnoteDefinition'===_0x3ad8d6['name'])return!0x1;},'footnoteRef');}_defineRefsConverters(){const {editor:_0x53e3eb}=this,{conversion:_0x3e54ac,editing:_0x212e24}=_0x53e3eb,{t:t}=_0x53e3eb['locale'];_0x3e54ac['for']('upcast')['elementToElement']({'view':{'name':'sup','classes':'footnote'},'model':(_0x3b9fde,{writer:_0x3213e3,consumable:_0x411135})=>{const _0x436b9b=_0x3b9fde['getChild'](0x0);if(!_0x436b9b||!_0x436b9b['is']('element','a'))return null;const _0x5700bb=_0x436b9b['getAttribute']('href')||'';if(!_0x5700bb['startsWith']('#'))return null;const _0x4162c1=_0x5700bb['replace'](/^#/,'');if(!_0x4162c1)return null;_0x411135['consume'](_0x436b9b,{'name':!0x0,'attributes':['href']});for(const {item:_0x45df72}of _0x212e24['view']['createRangeIn'](_0x436b9b))_0x45df72['is']('$textProxy')?_0x411135['consume'](_0x45df72['textNode'],{'name':!0x0}):_0x45df72['is']('element')&&_0x411135['consume'](_0x45df72,{'name':!0x0});return _0x3213e3['createElement']('footnoteRef',{'footnoteId':_0x4162c1});}}),_0x3e54ac['for']('dataDowncast')['elementToElement']({'model':{'name':'footnoteRef','attributes':['footnoteId','footnoteCounter']},'view':(_0x4b7d1a,{writer:_0x2ae252})=>z(_0x4b7d1a,_0x2ae252)}),_0x3e54ac['for']('editingDowncast')['elementToElement']({'model':{'name':'footnoteRef','attributes':['footnoteId','footnoteCounter']},'view':(_0x3e6526,{writer:_0x267e57})=>{const _0x3b0d90=_0x3e6526['getAttribute']('footnoteCounter');return _0x19e524(z(_0x3e6526,_0x267e57),_0x267e57,{'label':t('Footnote\x20%0.\x20Press\x20ENTER\x20to\x20jump\x20to\x20footnote\x20definition.',_0x3b0d90)});}});}_defineDefinitionsConverters(){const {editor:_0xc3c7eb}=this,{t:t}=_0xc3c7eb['locale'],{conversion:_0x30c0c4}=_0xc3c7eb;_0x30c0c4['for']('upcast')['elementToElement']({'view':{'name':'div','classes':'footnotes'},'model':'footnotesDefinitions'}),_0x30c0c4['for']('upcast')['add'](_0x5c091c=>{_0x5c091c['on']('element:ol',(_0x456382,_0x24da93,_0x336788)=>{const _0xb3e4ed=_0x24da93['viewItem'];if(!_0xb3e4ed['hasClass']('footnotes-list')||!_0x24da93['modelCursor']['parent']?.['is']('element','footnotesDefinitions'))return;if(!_0x336788['consumable']['consume'](_0xb3e4ed,{'name':!0x0,'classes':'footnotes-list'}))return;const {modelRange:_0x547e08,modelCursor:_0x1cb1c7}=_0x336788['convertChildren'](_0x24da93['viewItem'],_0x24da93['modelCursor']);_0x24da93['modelRange']=_0x547e08,_0x24da93['modelCursor']=_0x1cb1c7;}),_0x5c091c['on']('element:hr',(_0x5bc5ee,_0xfe281,_0x43834f)=>{const _0x9b758a=_0xfe281['viewItem'];_0x9b758a['hasClass']('footnotes-divider')&&_0xfe281['modelCursor']['parent']?.['is']('element','footnotesDefinitions')&&_0x43834f['consumable']['consume'](_0x9b758a,{'name':!0x0,'classes':'footnotes-divider'});});}),_0x30c0c4['for']('dataDowncast')['elementToStructure']({'model':'footnotesDefinitions','view':(_0x25845a,{writer:_0x9f7bd2})=>X(_0x9f7bd2)}),_0x30c0c4['for']('editingDowncast')['elementToStructure']({'model':'footnotesDefinitions','view':(_0x24bf3b,{writer:_0xb475b5})=>{const _0x2fe25f=_0x19e524(X(_0xb475b5,{'data-footnotes-list-label':t('Footnotes')}),_0xb475b5,{'hasSelectionHandle':!0x0,'label':t('Footnotes')});return _0xb475b5['setCustomProperty']('footnotesDefinitions',!0x0,_0x2fe25f),_0x2fe25f;}});}_defineDefinitionConverters(){const {editor:_0x433d1e}=this,{conversion:_0x51d5fa,locale:_0x3f7efc}=_0x433d1e,_0x584da5=_0x433d1e['config']['get']('footnotes.multiBlock');_0x51d5fa['for']('upcast')['add'](_0x5b722d=>{_0x5b722d['on']('element:li',(_0x1bbda5,_0x47df2e,_0x48c31c)=>{const _0xff0ba3=_0x47df2e['viewItem'];if(!_0xff0ba3['hasClass']('footnote-definition')||!_0xff0ba3['getAttribute']('id'))return;const _0x1ac9cd=_0xff0ba3['parent'];if(!_0x1ac9cd['is']('element','ol')||!_0x1ac9cd['hasClass']('footnotes-list'))return;if(!_0x48c31c['consumable']['test'](_0xff0ba3,{'name':!0x0,'attributes':'id','classes':'footnote-definition'}))return;const _0x294b3c=_0x48c31c['writer']['createElement']('footnoteDefinition',{'footnoteId':_0xff0ba3['getAttribute']('id')});if(!_0x48c31c['safeInsert'](_0x294b3c,_0x47df2e['modelCursor']))return;_0x48c31c['consumable']['consume'](_0xff0ba3,{'name':!0x0,'attributes':'id','classes':'footnote-definition'});const _0x608923=Array['from'](_0xff0ba3['getChildren']())['find'](_0x432032=>_0x432032['is']('element')&&_0x432032['hasClass']('footnote-content'));for(const _0x51a742 of _0xff0ba3['getChildren']())_0x51a742['is']('element')&&(_0x48c31c['consumable']['consume'](_0x51a742,{'name':!0x0,'classes':'footnote-backlink','attributes':'href'}),_0x48c31c['consumable']['consume'](_0x51a742,{'name':!0x0,'classes':'footnote-content'}));if(_0x608923){if(_0x584da5)_0x48c31c['convertChildren'](_0x608923,_0x294b3c);else{const _0x6caa60=_0x48c31c['writer']['createElement']('footnoteInlineContent');_0x48c31c['writer']['insert'](_0x6caa60,_0x294b3c),_0x48c31c['convertChildren'](_0x608923,_0x6caa60);}}_0x48c31c['updateConversionResult'](_0x294b3c,_0x47df2e);});}),_0x51d5fa['for']('dataDowncast')['elementToStructure']({'model':{'name':'footnoteDefinition','attributes':['footnoteId']},'view':(_0x6c3646,{writer:_0x5dbbb9})=>J(_0x6c3646,_0x5dbbb9,_0x3f7efc,{'dataPipeline':!0x0})}),_0x51d5fa['for']('editingDowncast')['elementToStructure']({'model':{'name':'footnoteDefinition','attributes':['footnoteId']},'view':(_0x42222c,{writer:_0x4bd62a})=>J(_0x42222c,_0x4bd62a,_0x3f7efc)});}_defineBogusParagraphConverters(){const {editor:_0x274ff6}=this,{conversion:_0xc61d8f}=_0x274ff6;_0x274ff6['config']['get']('footnotes.multiBlock')?(_0xc61d8f['for']('editingDowncast')['elementToElement']({'model':'paragraph','view':M(),'converterPriority':'high'}),_0xc61d8f['for']('dataDowncast')['elementToElement']({'model':'paragraph','view':M({'dataPipeline':!0x0}),'converterPriority':'high'}),this['listenTo'](_0x274ff6['model']['document'],'change:data',()=>{!function(_0x5f42e5,_0x49c358){const _0xf23b8e=_0x5f42e5['document']['differ'],_0x29d5cb=new Set();for(const _0x14682a of _0xf23b8e['getChanges']()){const _0x401ace='attribute'==_0x14682a['type']?_0x14682a['range']['start']['parent']:_0x14682a['position']['parent'];_0x401ace['is']('element','footnoteDefinition')&&_0x29d5cb['add'](_0x401ace);}for(const _0x4b0701 of _0x29d5cb['values']()){const _0x33fbd5=Array['from'](_0x4b0701['getChildren']())['filter'](_0x3fc922=>q(_0x3fc922,_0x49c358['mapper']));for(const _0x49b72a of _0x33fbd5)_0x49c358['reconvertItem'](_0x49b72a);}}(_0x274ff6['model'],_0x274ff6['editing']);})):(_0xc61d8f['for']('editingDowncast')['elementToElement']({'model':'footnoteInlineContent','view':M()}),_0xc61d8f['for']('dataDowncast')['elementToElement']({'model':'footnoteInlineContent','view':(_0x18d7bf,{writer:_0x8e237f})=>{const _0x4f3caa=_0x8e237f['createContainerElement']('span');return _0x8e237f['setCustomProperty']('dataPipeline:transparentRendering',!0x0,_0x4f3caa),_0x4f3caa;}}));}['_defineKeyboardHandlers'](){const {editor:_0x318d21}=this,{editing:_0x2dee22,t:t}=_0x318d21,_0x5975c1=_0x318d21['model']['document']['selection'];_0x318d21['keystrokes']['set']('Ctrl+Alt+F','insertFootnote'),_0x318d21['accessibility']['addKeystrokeInfos']({'keystrokes':[{'label':t('Insert\x20footnote'),'keystroke':'Ctrl+Alt+F'}]}),this['listenTo'](_0x2dee22['view']['document'],'enter',(_0x3176d1,_0x40f094)=>{const _0x233300=function(_0x542323){const _0x480412=_0x542323['getSelectedElement']();return _0x480412?.['is']('element','footnoteRef')?_0x480412:null;}(_0x5975c1);if(_0x233300){const _0x18772a=_0x233300['getAttribute']('footnoteId');this['_moveSelectionToFootnoteDefinition'](_0x18772a),_0x40f094['preventDefault'](),_0x3176d1['stop']();}},{'context':_0x5a9f52});}['_defineClickHandlers'](){const {editor:_0xe75269}=this,{editing:_0x1b8a01}=_0xe75269;_0xe75269['editing']['view']['addObserver'](_0x2f2079),_0xe75269['editing']['view']['addObserver'](_0x4c2135);let _0x53ba64=!0x1;this['listenTo'](_0x1b8a01['view']['document'],'pointerdown',(_0x112fe9,_0x468d52)=>{const {target:_0x356133}=_0x468d52,_0xd4af11=_0x1b8a01['view']['document']['selection'];_0x53ba64=!!(_0x356133?.['is']('element','a')&&_0x356133['parent']?.['is']('element','sup')&&_0x356133['parent']['hasClass']('footnote'))&&_0xd4af11['getSelectedElement']()===_0x356133['parent'];},{'priority':'high'}),this['listenTo'](_0x1b8a01['view']['document'],'click',(_0xbeff22,_0x3d4462)=>{const {target:_0x2cb401}=_0x3d4462;if(!_0x2cb401?.['is']('element','a'))return;if(_0x2cb401['parent']?.['is']('element','sup')&&_0x2cb401['parent']['hasClass']('footnote')&&!_0x53ba64)return void _0x3d4462['preventDefault']();let _0x207125=_0x2cb401['getAttribute']('href');if(!_0x207125?.['startsWith']('#'))return;_0x207125=_0x207125['slice'](0x1);let _0x53816a=!0x1;(_0x207125['startsWith']('ref-')&&this['_moveSelectionToFootnoteReference'](_0x207125['slice'](0x4))||this['_moveSelectionToFootnoteDefinition'](_0x207125))&&(_0x53816a=!0x0),_0x53816a&&(_0x3d4462['preventDefault'](),_0xbeff22['stop']());},{'priority':'high','context':'$capture'});}};function M({dataPipeline:_0x4d97f0}={}){return(_0x1c4671,{writer:_0xcc2afb})=>{if(!B(_0x1c4671))return null;if(!_0x4d97f0)return _0xcc2afb['createContainerElement']('span',{'class':'ck-footnote-bogus-paragraph'});const _0x50bea9=_0xcc2afb['createContainerElement']('p');return _0xcc2afb['setCustomProperty']('dataPipeline:transparentRendering',!0x0,_0x50bea9),_0x50bea9;};}function B(_0xac3011){const {parent:_0x14751b}=_0xac3011;if(!_0x14751b?.['is']('element','footnoteDefinition'))return!0x1;if(0x1!=_0x14751b['childCount'])return!0x1;for(const _0x29c961 of _0xac3011['getAttributeKeys']())if(!_0x29c961['startsWith']('selection:')&&'htmlEmptyBlock'!=_0x29c961)return!0x1;return!0x0;}function q(_0x5ce0ef,_0x153add){if(!_0x5ce0ef['is']('element','paragraph'))return!0x1;const _0x34b3bc=_0x153add['toViewElement'](_0x5ce0ef);return!!_0x34b3bc&&B(_0x5ce0ef)!==_0x34b3bc['is']('element','span');}function H(_0x162974){return _0x5a9f52(_0x162974)&&_0x162974['is']('containerElement')&&!!_0x162974['getCustomProperty']('footnotesDefinitions');}function X(_0x181760,_0x4adbff={}){const _0xe67b4f=_0x181760['createEmptyElement']('hr',{'class':'footnotes-divider'}),_0xea0038=_0x181760['createContainerElement']('ol',{'class':'footnotes-list'},_0x181760['createSlot']());return _0x181760['createContainerElement']('div',{'class':'footnotes',..._0x4adbff},[_0xe67b4f,_0xea0038]);}function z(_0x38c13c,_0x5e8a1d){const _0x4838a4=_0x38c13c['getAttribute']('footnoteId'),_0x2c653f=_0x38c13c['getAttribute']('footnoteCounter'),_0x5e753e=_0x5e8a1d['createUIElement']('a',{'href':'#'+_0x4838a4},function(_0x4037b2){const _0x5c087a=this['toDomElement'](_0x4037b2);return _0x5c087a['textContent']=_0x2c653f,_0x5c087a;}),_0x411d9a=_0x5e8a1d['createContainerElement']('sup',{'id':'ref-'+_0x4838a4,'class':'footnote'},[_0x5e753e]);return _0x411d9a['getFillerOffset']=()=>null,_0x411d9a;}function J(_0x386200,_0xa2d8c5,_0x5f3b1c,{dataPipeline:_0x4f4dc2}={}){const {t:t}=_0x5f3b1c,_0x2afd4b=_0x386200['getAttribute']('footnoteId'),_0x321e59=_0xa2d8c5['createUIElement']('a',{'class':'footnote-backlink','href':'#ref-'+_0x2afd4b},function(_0x457716){const _0x1eee8f=this['toDomElement'](_0x457716);return _0x1eee8f['innerText']='^',_0x1eee8f;}),_0x393f05=_0x4f4dc2?_0xa2d8c5['createContainerElement']('div',{'class':'footnote-content'}):_0x4db2b5(_0xa2d8c5['createEditableElement']('div',{'class':'footnote-content'}),_0xa2d8c5,{'label':t('Footnote\x20content.')});return _0xa2d8c5['insert'](_0xa2d8c5['createPositionAt'](_0x393f05,0x0),_0xa2d8c5['createSlot']()),_0xa2d8c5['createContainerElement']('li',{'class':'footnote-definition','id':_0x2afd4b},[_0x321e59,_0x393f05]);}var Q=class extends _0x3479b8{static get['pluginName'](){return'FootnotesClipboard';}static get requires(){return[$,_0x230aef];}static get['isOfficialPlugin'](){return!0x0;}static get['isPremiumPlugin'](){return!0x0;}init(){this['_defineClipboardIntegration']();}_defineClipboardIntegration(){this['_handleCopyFootnotesDefinitions'](),this['_handlePasteFootnotesDefinitions']();}_handleCopyFootnotesDefinitions(){const {editor:_0x56f379}=this,{plugins:_0x2aee4a,model:_0x381988}=_0x56f379,_0x39c655=_0x2aee4a['get'](_0x230aef),_0x387256=_0x2aee4a['get'](V);this['listenTo'](_0x39c655,'outputTransformation',(_0x1221a9,_0xaadbe2)=>{const _0x5f1cfc=W(_0x381988['createRangeIn'](_0xaadbe2['content']));if(!_0x5f1cfc['length'])return;const _0x721246=_0x387256['getFootnotes'](),_0x11a51b=_0x5f1cfc['reduce']((_0x2a970e,_0xf4fd83)=>{const _0x55fdaf=_0x721246['find'](_0x4fad9c=>_0x4fad9c['id']===_0xf4fd83);if(_0x55fdaf){const _0x4f2f0a=_0x56f379['data']['toView'](_0x55fdaf['definition'],{'isClipboardPipeline':!0x0}),_0x453b17=_0x56f379['data']['htmlProcessor']['toData'](_0x4f2f0a);_0x2a970e[_0x55fdaf['id']]=_0x453b17;}return _0x2a970e;},Object['create'](null));_0xaadbe2['dataTransfer']['setData']('application/ckeditor5-footnotes',JSON['stringify'](_0x11a51b));});}_handlePasteFootnotesDefinitions(){const {editor:_0x263988}=this,{model:_0x1e8ee8,plugins:_0x2bdeb8}=_0x263988,{view:_0x2e99c4}=_0x263988['editing'],_0x605812=_0x2bdeb8['get'](_0x230aef),_0x46e80d=_0x2bdeb8['get'](V),_0x4d42d2=_0x263988['config']['get']('footnotes.multiBlock');let _0x1c3daa=null;this['listenTo'](_0x2e99c4['document'],'clipboardInput',(_0x59181,_0x4a2f71)=>{const _0x1adf7b=_0x4a2f71['dataTransfer']['getData']('application/ckeditor5-footnotes');_0x1c3daa=_0x1adf7b?JSON['parse'](_0x1adf7b):null;}),this['listenTo'](_0x605812,'contentInsertion',(_0x3c11d9,_0x428572)=>{const _0x5a1c97=_0x428572['sourceEditorId']===this['editor']['id'];_0x5a1c97&&'drop'===_0x428572['method']||_0x1e8ee8['change'](_0x50f283=>{let _0x127a50=_0x46e80d['getFootnotesDefinitionsObjectElement']();const _0x23304f=!!_0x127a50&&Array['from'](_0x1e8ee8['document']['selection']['getSelectedBlocks']())['includes'](_0x127a50);if(!_0x1c3daa&&function(_0x2b6a7a){for(const {item:_0x1f8132}of _0x2b6a7a)if(_0x1f8132['is']('element','footnoteRef'))return!0x0;return!0x1;}(_0x1e8ee8['createRangeIn'](_0x428572['content']))&&(_0x1c3daa=function(_0x2f4483,_0x1121b9){const _0x23cb72=G(_0x2f4483,_0x1121b9);if(!_0x23cb72)return null;const _0x46c8a5=Object['create'](null);for(const _0x40c7b3 of _0x23cb72['getChildren']())_0x40c7b3['is']('element','footnoteDefinition')&&_0x40c7b3['hasAttribute']('footnoteId')&&(_0x46c8a5[_0x40c7b3['getAttribute']('footnoteId')]=_0x2f4483['cloneElement'](_0x40c7b3,!0x0));return Object['keys'](_0x46c8a5)['length']?_0x46c8a5:null;}(_0x50f283,_0x428572['content'])),(_0x127a50&&!_0x23304f||!_0x127a50&&!_0x1c3daa)&&function(_0x34a4d7,_0x8d8b22){const _0x7edb41=[];for(const {item:_0x125378}of _0x34a4d7['createRangeIn'](_0x8d8b22))_0x125378['is']('element','footnotesDefinitions')&&_0x7edb41['push'](_0x125378);for(const _0x4f5aff of _0x7edb41)_0x34a4d7['remove'](_0x4f5aff);}(_0x50f283,_0x428572['content']),!_0x1c3daa)return;const {selection:_0x506d8c}=_0x1e8ee8['document'],_0x39d20e=_0x506d8c['getFirstRange']()['root'];if(!_0x127a50||_0x23304f){if(_0x127a50=G(_0x50f283,_0x428572['content']),_0x127a50||=_0x46e80d['_insertEmptyFootnotesDefinitionsContainer'](_0x50f283,_0x39d20e),!_0x127a50){const _0x393ee2=_0x46e80d['_getFirstSuitableFootnotesDefinitionsRoot']();_0x127a50||=_0x393ee2&&_0x46e80d['_insertEmptyFootnotesDefinitionsContainer'](_0x50f283,_0x393ee2);}if(!_0x127a50)return void(_0x1c3daa=null);}const _0x38aef6=Array['from'](_0x506d8c['getRanges']())['flatMap'](W),_0x2ebdd5=function(_0x329e72,_0x5dfac8,_0x31443c){const _0x208877=Object['create'](null);for(const {item:_0x3b220c}of _0x329e72['createRangeIn'](_0x5dfac8))if(_0x3b220c['is']('element','footnoteRef')){const _0x366849=_0x3b220c['getAttribute']('footnoteId');if(!_0x31443c(_0x366849))continue;_0x208877[_0x366849]||(_0x208877[_0x366849]=_0x21f031()),_0x329e72['setAttribute']('footnoteId',_0x208877[_0x366849],_0x3b220c);}return _0x208877;}(_0x50f283,_0x428572['content'],_0x36ce86=>!_0x5a1c97||!!_0x46e80d['getFootnote'](_0x36ce86)&&!_0x38aef6['includes'](_0x36ce86));for(const [_0x49ecb6,_0x4a2a25]of Object['entries'](_0x1c3daa)){const _0x2e9b95=_0x2ebdd5[_0x49ecb6]||_0x49ecb6;let _0x348c9e;if('string'!=typeof _0x4a2a25)_0x348c9e=_0x4a2a25,_0x2e9b95!==_0x49ecb6&&_0x50f283['setAttribute']('footnoteId',_0x2e9b95,_0x348c9e);else{_0x348c9e=_0x50f283['createElement']('footnoteDefinition',{'footnoteId':_0x2e9b95});const _0x82270c=_0x263988['data']['htmlProcessor']['toView'](_0x4a2a25);let _0x4ddcb6;if(_0x4d42d2)_0x4ddcb6=_0x263988['data']['toModel'](_0x82270c,_0x348c9e);else{_0x4ddcb6=_0x50f283['createElement']('footnoteInlineContent');const _0x46b49e=_0x263988['data']['toModel'](_0x82270c,_0x4ddcb6);_0x50f283['insert'](_0x46b49e,_0x4ddcb6);}_0x50f283['append'](_0x4ddcb6,_0x348c9e);}_0x50f283['insert'](_0x348c9e,_0x127a50,'end');}_0x1c3daa=null;});});}};function G(_0x4f828d,_0x4a3a10){for(const {item:_0x1c9948}of _0x4f828d['createRangeIn'](_0x4a3a10))if(_0x1c9948['is']('element','footnotesDefinitions'))return _0x1c9948;return null;}function W(_0x5b8222){const _0x3bd5cd=new Set();for(const {item:_0x236161}of _0x5b8222)_0x236161['is']('element','footnoteRef')&&_0x3bd5cd['add'](_0x236161['getAttribute']('footnoteId'));return Array['from'](_0x3bd5cd);}var Y=class extends _0x3479b8{['licenseKey'];_licenseKeyCheckInterval;static get['pluginName'](){return'FootnotesUI';}static get['isOfficialPlugin'](){return!0x0;}static get['isPremiumPlugin'](){return!0x0;}init(){const {editor:_0x3844c0}=this,{componentFactory:_0x2ec0ec}=_0x3844c0['ui'];_0x2ec0ec['add']('insertFootnote',Z(_0x3844c0,_0x592e70)),_0x2ec0ec['add']('menuBar:insertFootnote',Z(_0x3844c0,_0x4c3d92)),this['licenseKey']=this['editor']['config']['get']('licenseKey');const _0xe4bd41=this['editor'];this['_licenseKeyCheckInterval']=setInterval(()=>{let _0x1a6489;for(const _0x390bba in _0xe4bd41){const _0xf937c0=_0x390bba,_0x964dcd=_0xe4bd41[_0xf937c0];if('footnotesLicenseKeyValid'==_0x964dcd||'footnotesLicenseKeyInvalid'==_0x964dcd||'footnotesLicenseKeyExpired'==_0x964dcd||'footnotesLicenseKeyDomainLimit'==_0x964dcd||'footnotesLicenseKeyNotAllowed'==_0x964dcd||'footnotesLicenseKeyEvaluationLimit'==_0x964dcd||'footnotesLicenseKeyUsageLimit'==_0x964dcd){delete _0xe4bd41[_0xf937c0],_0x1a6489=_0x964dcd,clearInterval(this['_licenseKeyCheckInterval']),this['_licenseKeyCheckInterval']=void 0x0;break;}}'footnotesLicenseKeyInvalid'==_0x1a6489&&_0xe4bd41['_showLicenseError']('invalid'),'footnotesLicenseKeyExpired'==_0x1a6489&&_0xe4bd41['_showLicenseError']('expired'),'footnotesLicenseKeyDomainLimit'==_0x1a6489&&_0xe4bd41['_showLicenseError']('domainLimit'),'footnotesLicenseKeyNotAllowed'==_0x1a6489&&_0xe4bd41['_showLicenseError']('featureNotAllowed','Footnotes'),'footnotesLicenseKeyEvaluationLimit'==_0x1a6489&&_0xe4bd41['_showLicenseError']('evaluationLimit'),'footnotesLicenseKeyUsageLimit'==_0x1a6489&&_0xe4bd41['_showLicenseError']('usageLimit');},0x3e8);}destroy(){super['destroy'](),this['_licenseKeyCheckInterval']&&clearInterval(this['_licenseKeyCheckInterval']);}};function Z(_0x39d3b1,_0x53c28c){const _0x13cabc=_0x39d3b1['commands']['get']('insertFootnote');return _0x16404e=>{const {t:t}=_0x16404e,_0x159045=new _0x53c28c(_0x16404e),_0xd870ed=_0x159045 instanceof _0x4c3d92;return _0x159045['bind']('isEnabled')['to'](_0x13cabc,'isEnabled'),_0x159045['set']({'label':t(_0xd870ed?'Footnote':'Insert\x20footnote'),'icon':_0x2f0138,'tooltip':!0x0}),_0x159045['on']('execute',()=>{_0x13cabc['execute'](),_0x39d3b1['editing']['view']['focus']();}),_0x159045;};}var tt=class extends _0x3479b8{static get['pluginName'](){return'Footnotes';}static get requires(){return[$,Q,Y];}static get['isOfficialPlugin'](){return!0x0;}static get['isPremiumPlugin'](){return!0x0;}};const et=['decimal','decimal-leading-zero','lower-latin','upper-latin','lower-roman','upper-roman'],ot=Object['create']({'lower-alpha':'lower-latin','upper-alpha':'upper-latin'}),nt=[...et,'arabic-indic','lower-alpha','upper-alpha'];var it=class extends _0x5c8ff6{['refresh'](){const {editor:_0xceca2c}=this,_0x302ea6=_0xceca2c['plugins']['get'](V)['getFootnotesDefinitionsObjectElement']();this['isEnabled']=!!_0x302ea6,this['value']=_0x302ea6?.['getAttribute']('footnotesListStyle')??null;}execute({value:_0x40fd18}){const {editor:_0x461191}=this,_0x4a1d0e=_0x461191['plugins']['get'](V),_0x45d9d7=_0x4a1d0e['getFootnotesDefinitionsObjectElement']();_0x45d9d7&&nt['includes'](_0x40fd18)&&_0x461191['model']['change'](_0x39c65f=>{_0x39c65f['setAttribute']('footnotesListStyle',_0x40fd18,_0x45d9d7),_0x4a1d0e['_updateFootnotesCounters'](_0x39c65f);});}},st=class extends _0x5c8ff6{['refresh'](){const {editor:_0x544048}=this,_0x373959=_0x544048['plugins']['get'](V)['getFootnotesDefinitionsObjectElement']();this['isEnabled']=!!_0x373959,this['value']=_0x373959?.['getAttribute']('footnotesListStart')??null;}execute({value:_0x27f110}){const {editor:_0x336cb1}=this,_0xa0e685=_0x336cb1['plugins']['get'](V),_0x206c88=_0xa0e685['getFootnotesDefinitionsObjectElement']();_0x206c88&&Number['isInteger'](_0x27f110)&&_0x336cb1['model']['change'](_0x43a2d1=>{_0x43a2d1['setAttribute']('footnotesListStart',_0x27f110,_0x206c88),_0xa0e685['_updateFootnotesCounters'](_0x43a2d1);});}};function rt({style:_0x4d69df,digits:_0x1bce66,value:_0x520bc6}){const _0x572dc4=Math['floor'](_0x520bc6),_0x52ed2b=function(_0xa2904){switch(_0xa2904){case'lower-alpha':case'lower-latin':case'upper-alpha':case'upper-latin':return{'min':0x1,'max':0x1/0x0};case'lower-roman':case'upper-roman':return{'min':0x1,'max':0xf9f};default:return{'min':-0x1/0x0,'max':0x1/0x0};}}(_0x4d69df);switch((_0x572dc4>_0x52ed2b['max']||_0x572dc4<_0x52ed2b['min'])&&(_0x4d69df='decimal'),_0x4d69df){case'decimal-leading-zero':return function(_0x297fb2,_0x147761){return String(_0x297fb2)['padStart'](_0x147761,'0');}(_0x572dc4,Math['max'](0x2,_0x1bce66));case'lower-alpha':case'lower-latin':return lt(_0x572dc4,!0x1);case'upper-alpha':case'upper-latin':return lt(_0x572dc4,!0x0);case'lower-roman':return ft(_0x572dc4,!0x1);case'upper-roman':return ft(_0x572dc4,!0x0);case'arabic-indic':return String(_0x572dc4)['replace'](/\d/g,_0x4d32be=>ct[Number(_0x4d32be)]);default:return String(_0x572dc4);}}function lt(_0x2dc8ad,_0x2a068f){let _0x3f6150='',_0x238de2=_0x2dc8ad;for(;_0x238de2>0x0;){const _0x6de7ac=(_0x238de2-0x1)%0x1a;_0x3f6150=String['fromCharCode'](0x61+_0x6de7ac)+_0x3f6150,_0x238de2=Math['floor']((_0x238de2-0x1)/0x1a);}return _0x2a068f?_0x3f6150['toUpperCase']():_0x3f6150;}const at=[{'value':0x3e8,'numeral':'M'},{'value':0x384,'numeral':'CM'},{'value':0x1f4,'numeral':'D'},{'value':0x190,'numeral':'CD'},{'value':0x64,'numeral':'C'},{'value':0x5a,'numeral':'XC'},{'value':0x32,'numeral':'L'},{'value':0x28,'numeral':'XL'},{'value':0xa,'numeral':'X'},{'value':0x9,'numeral':'IX'},{'value':0x5,'numeral':'V'},{'value':0x4,'numeral':'IV'},{'value':0x1,'numeral':'I'}];function ft(_0x264020,_0x57ebd8){let _0x190d8a='',_0x2254d=_0x264020;for(const {value:_0x183f26,numeral:_0x2fb54f}of at)for(;_0x2254d>=_0x183f26;)_0x190d8a+=_0x2fb54f,_0x2254d-=_0x183f26;return _0x57ebd8?_0x190d8a:_0x190d8a['toLowerCase']();}const ct=['٠','١','٢','٣','٤','٥','٦','٧','٨','٩'];var ut=class extends _0x3479b8{static get['pluginName'](){return'FootnotesPropertiesEditing';}static get requires(){return[$,V];}static get['isOfficialPlugin'](){return!0x0;}static get['isPremiumPlugin'](){return!0x0;}init(){const {editor:_0x29bc74}=this;_0x29bc74['config']['define']('footnotes.footnotesProperties.defaultListStyle','decimal'),_0x29bc74['config']['define']('footnotes.footnotesProperties.defaultStartIndex',0x1),_0x29bc74['config']['define']('footnotes.footnotesProperties.listStyles',[...et]),_0x29bc74['commands']['add']('footnotesStyle',new it(_0x29bc74)),_0x29bc74['commands']['add']('footnotesStart',new st(_0x29bc74)),this['_defineSchema'](),this['_defineConverters'](),this['_defineFormatter'](),this['_definePostfixer']();}['_defineSchema'](){const {editor:_0x34c2db}=this,{schema:_0x121526}=_0x34c2db['model'];_0x121526['extend']('footnotesDefinitions',{'allowAttributes':['footnotesListStyle','footnotesListStart']});}_defineConverters(){const {editor:_0x115b0b}=this,{conversion:_0x53109e,model:_0x317b32}=_0x115b0b,{schema:_0x17693e}=_0x317b32;_0x53109e['for']('upcast')['add'](_0x8cfd61=>{_0x8cfd61['on']('element:ol',(_0x57895f,_0x47757d,_0x2d6adc)=>{const _0xa1c71c=_0x47757d['viewItem'],_0x3001e5=_0x47757d['modelCursor']?.['parent'];_0xa1c71c['hasClass']('footnotes-list')&&_0x3001e5?.['is']('element','footnotesDefinitions')&&(function(_0x51bbc3,_0x5d1777,_0x5ae41e,_0x42c866){if(!_0x42c866['checkAttribute'](_0x5d1777,'footnotesListStart'))return;let _0x5cbace=0x1;const _0x3fae48=_0x5ae41e['consumable']['consume'](_0x51bbc3,{'attributes':'start'});if(_0x3fae48){const _0xead2c8=Number['parseInt'](_0x51bbc3['getAttribute']('start'),0xa);Number['isNaN'](_0xead2c8)||(_0x5cbace=_0xead2c8);}!_0x3fae48&&_0x5d1777['hasAttribute']('footnotesListStart')||_0x5ae41e['writer']['setAttribute']('footnotesListStart',_0x5cbace,_0x5d1777);}(_0xa1c71c,_0x3001e5,_0x2d6adc,_0x17693e),function(_0x14d508,_0x48bbba,_0x17fa2,_0x59c4ea){if(!_0x59c4ea['checkAttribute'](_0x48bbba,'footnotesListStyle'))return;let _0x43f7a0='decimal',_0x5d5b4d=!0x1;if(_0x17fa2['consumable']['consume'](_0x14d508,{'attributes':'type'})){const _0x18f23a={0x1:'decimal','a':'lower-latin','A':'upper-latin','i':'lower-roman','I':'upper-roman'}[_0x14d508['getAttribute']('type')];_0x18f23a&&(_0x43f7a0=_0x18f23a),_0x5d5b4d=!0x0;}if(_0x17fa2['consumable']['consume'](_0x14d508,{'styles':'list-style-type'})){const _0x1689f1=dt(_0x14d508['getStyle']('list-style-type'));_0x1689f1&&(_0x43f7a0=_0x1689f1),_0x5d5b4d=!0x0;}!_0x5d5b4d&&_0x48bbba['hasAttribute']('footnotesListStyle')||_0x17fa2['writer']['setAttribute']('footnotesListStyle',_0x43f7a0,_0x48bbba);}(_0xa1c71c,_0x3001e5,_0x2d6adc,_0x17693e));});}),_0x53109e['for']('downcast')['add'](_0x39bf5a=>{_0x39bf5a['on']('attribute:footnotesListStart:footnotesDefinitions',(_0x3a002f,_0x26d20a,_0x2cc236)=>{if(!_0x2cc236['consumable']['consume'](_0x26d20a['item'],_0x3a002f['name']))return;const _0x2a5085=ht(_0x26d20a['item'],_0x2cc236['mapper']),{attributeNewValue:_0x395304}=_0x26d20a;null==_0x395304||0x1===_0x395304?_0x2cc236['writer']['removeAttribute']('start',_0x2a5085):_0x2cc236['writer']['setAttribute']('start',String(_0x395304),_0x2a5085);}),_0x39bf5a['on']('attribute:footnotesListStyle:footnotesDefinitions',(_0x382454,_0x12f84f,_0x339082)=>{if(!_0x339082['consumable']['consume'](_0x12f84f['item'],_0x382454['name']))return;const _0x523ab0=ht(_0x12f84f['item'],_0x339082['mapper']),{attributeNewValue:_0x130982}=_0x12f84f;_0x130982&&'decimal'!==_0x130982?_0x339082['writer']['setStyle']('list-style-type',_0x130982,_0x523ab0):_0x339082['writer']['removeStyle']('list-style-type',_0x523ab0);});});}_definePostfixer(){const {editor:_0x5847e6}=this,{model:_0x5ce360}=_0x5847e6,_0x4bd17f=_0x5847e6['plugins']['get'](V),_0x8fa23c=this['_getDefaultListStyle'](),_0x5a420f=this['_getDefaultStartIndex']();_0x5ce360['document']['registerPostFixer'](_0x557e7f=>{const _0x544623=_0x5ce360['document']['differ']['getChanges']();let _0x3754cf=!0x1;for(const _0x4bd354 of _0x544623){if('insert'!==_0x4bd354['type']||'$text'===_0x4bd354['name'])continue;const _0x4bf58a=_0x5ce360['createRangeOn'](_0x4bd354['position']['nodeAfter']);for(const _0x2525b2 of _0x4bf58a['getItems']())_0x2525b2['is']('element','footnotesDefinitions')&&(!_0x2525b2['hasAttribute']('footnotesListStart')&&_0x5ce360['schema']['checkAttribute'](_0x2525b2,'footnotesListStart')&&(_0x557e7f['setAttribute']('footnotesListStart',_0x5a420f,_0x2525b2),_0x3754cf=!0x0),!_0x2525b2['hasAttribute']('footnotesListStyle')&&_0x5ce360['schema']['checkAttribute'](_0x2525b2,'footnotesListStyle')&&(_0x557e7f['setAttribute']('footnotesListStyle',_0x8fa23c,_0x2525b2),_0x3754cf=!0x0));}return _0x3754cf&&_0x4bd17f['_updateFootnotesCounters'](_0x557e7f),_0x3754cf;});}_defineFormatter(){const {editor:_0x1609f3}=this;_0x1609f3['plugins']['get'](V)['setFootnoteFormatter'](_0x4c12ef=>this['_formatFootnoteListValue'](_0x4c12ef));}_getDefaultListStyle(){return this['editor']['config']['get']('footnotes.footnotesProperties.defaultListStyle');}_getDefaultStartIndex(){return this['editor']['config']['get']('footnotes.footnotesProperties.defaultStartIndex');}_formatFootnoteListValue({container:_0x86f337,value:_0x39d6a2,digits:_0x13a699}){const _0x235d14=_0x86f337['getAttribute']('footnotesListStyle');return rt({'value':_0x39d6a2+(_0x86f337['getAttribute']('footnotesListStart')??0x1)-0x1,'style':_0x235d14,'digits':_0x13a699});}};function dt(_0x4c888d){if('string'==typeof _0x4c888d){const _0x1cab81=ot[_0x4c888d];if(_0x1cab81)return _0x1cab81;if(nt['includes'](_0x4c888d))return _0x4c888d;}return null;}function ht(_0x8fdf5,_0x4e586d){const _0x529b4b=_0x4e586d['toViewElement'](_0x8fdf5);return Array['from'](_0x529b4b['getChildren']())['find'](_0x46a029=>_0x46a029['is']('element','ol')&&_0x46a029['hasClass']('footnotes-list'));}var mt=class extends _0x295ddd{['children'];stylesView=null;additionalProperties=null;startIndexFieldView=null;['focusTracker']=new _0x5a202e();keystrokes=new _0x58c14f();['focusables']=new _0x25e9a8();['focusCycler'];constructor(_0x326763,{styleButtonViews:_0x2699b9,styleGridAriaLabel:_0x3e0315}){super(_0x326763),(this['focusCycler']=new _0x55c43a({'focusables':this['focusables'],'focusTracker':this['focusTracker'],'keystrokeHandler':this['keystrokes'],'actions':{'focusPrevious':'shift\x20+\x20tab','focusNext':'tab'}}),this['children']=this['createCollection'](),this['stylesView']=this['_appendStylesView'](_0x2699b9,_0x3e0315),[this['startIndexFieldView'],this['additionalProperties']]=this['_appendAdditionalPropertiesCollapsibleView'](),this['setTemplate']({'tag':'div','attributes':{'class':['ck','ck-footnotes-definitions-properties']},'children':this['children']}));}['render'](){if(super['render'](),this['stylesView']){this['focusables']['add'](this['stylesView']),this['focusTracker']['add'](this['stylesView']['element']);for(const _0x3b6119 of this['stylesView']['children'])this['stylesView']['focusTracker']['add'](_0x3b6119['element']);_0x1fddb6({'keystrokeHandler':this['stylesView']['keystrokes'],'focusTracker':this['stylesView']['focusTracker'],'gridItems':this['stylesView']['children'],'numberOfColumns':()=>_0x243977['window']['getComputedStyle'](this['stylesView']['element'])['getPropertyValue']('grid-template-columns')['split']('\x20')['length'],'uiLanguageDirection':this['locale']&&this['locale']['uiLanguageDirection']});}if(this['startIndexFieldView']){this['focusables']['add'](this['startIndexFieldView']),this['focusTracker']['add'](this['startIndexFieldView']['element']);const _0x506f89=_0x518a2e=>_0x518a2e['stopPropagation']();this['keystrokes']['set']('arrowright',_0x506f89),this['keystrokes']['set']('arrowleft',_0x506f89),this['keystrokes']['set']('arrowup',_0x506f89),this['keystrokes']['set']('arrowdown',_0x506f89);}this['keystrokes']['listenTo'](this['element']);}['focus'](){this['focusCycler']['focusFirst']();}focusLast(){this['focusCycler']['focusLast']();}destroy(){super['destroy'](),this['focusTracker']['destroy'](),this['keystrokes']['destroy']();}_appendStylesView(_0x2a61a7,_0x10adfb){const _0x2f2c39=new _0x295ddd(this['locale']);return _0x2f2c39['children']=_0x2f2c39['createCollection'](),_0x2f2c39['children']['addMany'](_0x2a61a7),_0x2f2c39['setTemplate']({'tag':'div','attributes':{'aria-label':_0x10adfb,'class':['ck','ck-footnotes-definitions-styles-list']},'children':_0x2f2c39['children']}),_0x2f2c39['children']['delegate']('execute')['to'](this),_0x2f2c39['focus']=function(){for(const _0x3ce52c of this['children'])if(_0x3ce52c instanceof _0x592e70&&_0x3ce52c['isOn'])return void _0x3ce52c['focus']();this['children']['first']['focus']();},_0x2f2c39['focusTracker']=new _0x5a202e(),_0x2f2c39['keystrokes']=new _0x58c14f(),_0x2f2c39['render'](),_0x2f2c39['keystrokes']['listenTo'](_0x2f2c39['element']),this['children']['add'](_0x2f2c39),_0x2f2c39;}_appendAdditionalPropertiesCollapsibleView(){const {t:t}=this['locale'],_0x442353=this['_createStartIndexPropertyView'](),_0x298c2b=[_0x442353],_0x1cebd7=new _0x4a7e4b(this['locale'],_0x298c2b);return _0x1cebd7['set']({'label':t('Footnotes\x20properties'),'isCollapsed':!0x0}),_0x1cebd7['buttonView']['bind']('isEnabled')['toMany'](_0x298c2b,'isEnabled',(..._0x34d1d7)=>_0x34d1d7['some'](_0x479c1c=>_0x479c1c)),_0x1cebd7['buttonView']['on']('change:isEnabled',(_0x1e03d6,_0x10b39a,_0x3dc5f1)=>{_0x3dc5f1||(_0x1cebd7['isCollapsed']=!0x0);}),this['children']['add'](_0x1cebd7),[_0x442353,_0x1cebd7];}_createStartIndexPropertyView(){const {t:t}=this['locale'],_0x46d2e0=new _0xe2bf6a(this['locale'],_0x437d21);return _0x46d2e0['set']({'label':t('Footnotes\x20start\x20at'),'class':'ck-footnotes-definitions-properties__start-index'}),_0x46d2e0['fieldView']['set']({'min':0x0,'max':Math['pow'](0x2,0x1e),'step':0x1,'value':0x1,'inputMode':'numeric'}),_0x46d2e0['fieldView']['on']('input',()=>{const _0x13de4a=_0x46d2e0['fieldView']['element'],_0x4606b9=_0x13de4a['valueAsNumber'];Number['isNaN'](_0x4606b9)?_0x46d2e0['errorText']=t('Invalid\x20footnotes\x20start\x20index\x20value.'):_0x13de4a['checkValidity']()?this['fire']('footnotesListStart',{'startIndex':_0x4606b9}):_0x46d2e0['errorText']=t(_0x4606b9<0x0?'Footnotes\x20start\x20index\x20must\x20be\x20greater\x20than\x200.':'Footnotes\x20start\x20index\x20is\x20too\x20large.');}),_0x46d2e0;}},pt=class extends _0x3479b8{static get['pluginName'](){return'FootnotesPropertiesUI';}static get requires(){return[_0x2076fd,_0x4abd57];}static get['isOfficialPlugin'](){return!0x0;}static get['isPremiumPlugin'](){return!0x0;}init(){const {editor:_0x540e1e}=this,{componentFactory:_0x498b19}=_0x540e1e['ui'];_0x540e1e['config']['define']('footnotes.footnotesProperties.toolbar',['footnotesStyle']),_0x498b19['add']('footnotesStyle',function(_0x28631d){return _0x3b2856=>{const {t:t}=_0x3b2856,_0x5e8332=_0x28631d['commands']['get']('footnotesStyle'),_0x4f2000=_0x2a0dc1(_0x3b2856),{buttonView:_0x41ed8d}=_0x4f2000;return _0x4f2000['class']='ck-footnotes-styles-dropdown',_0x4f2000['bind']('isEnabled')['to'](_0x5e8332,'isEnabled'),_0x41ed8d['set']({'label':t('Footnotes\x20style'),'icon':_0x2f0138,'tooltip':!0x0}),_0x4f2000['once']('change:isOpen',()=>{const _0x3a5fa8=function({editor:_0x4cd42f,dropdownView:_0x503934}){const {t:t}=_0x4cd42f['locale'],_0x1050bb=t('Footnotes\x20definitions\x20styles'),_0xebcd3a=function(_0x1300e5){const {t:t}=_0x1300e5['locale'],_0x491b54=_0x1300e5['config']['get']('footnotes.footnotesProperties.listStyles'),_0xbe95db=[{'style':'decimal','label':t('Toggle\x20the\x20decimal\x20footnotes\x20style'),'tooltip':t('Decimal\x20footnotes'),'icon':_0x24cc69},{'style':'decimal-leading-zero','label':t('Toggle\x20the\x20decimal\x20with\x20leading\x20zero\x20footnotes\x20style'),'tooltip':t('Decimal\x20footnotes\x20with\x20leading\x20zero'),'icon':_0x312661},{'style':'lower-roman','label':t('Toggle\x20the\x20lower-roman\x20footnotes\x20style'),'tooltip':t('Lower-roman\x20footnotes'),'icon':_0x172d02},{'style':'upper-roman','label':t('Toggle\x20the\x20upper-roman\x20footnotes\x20style'),'tooltip':t('Upper-roman\x20footnotes'),'icon':_0x38bbf1},{'style':'lower-latin','label':t('Toggle\x20the\x20lower-latin\x20footnotes\x20style'),'tooltip':t('Lower-latin\x20footnotes'),'icon':_0x3832eb},{'style':'upper-latin','label':t('Toggle\x20the\x20upper-latin\x20footnotes\x20style'),'tooltip':t('Upper-latin\x20footnotes'),'icon':_0x576598},{'style':'arabic-indic','label':t('Toggle\x20the\x20arabic-indic\x20footnotes\x20style'),'tooltip':t('Arabic-indic\x20footnotes'),'icon':_0x3ca943}];return _0x491b54['map'](_0xd85d0=>{const _0x521f54=dt(_0xd85d0);return function(_0x2fa3a1,_0x1dcd09){const {locale:_0x2ca7bc}=_0x2fa3a1,{label:_0x18498c,icon:_0xa54651,tooltip:_0x1c7164,style:_0x537293}=_0x1dcd09,_0x12ba92=_0x2fa3a1['commands']['get']('footnotesStyle'),_0x4373fe=new _0x592e70(_0x2ca7bc);return _0x4373fe['set']({'label':_0x18498c,'icon':_0xa54651,'tooltip':_0x1c7164}),_0x4373fe['bind']('isOn')['to'](_0x12ba92,'value',_0x22de0e=>_0x22de0e===_0x537293),_0x4373fe['bind']('isEnabled')['to'](_0x12ba92,'isEnabled'),_0x4373fe['on']('execute',()=>{_0x2fa3a1['execute']('footnotesStyle',{'value':_0x537293}),_0x2fa3a1['editing']['view']['focus']();}),_0x4373fe;}(_0x1300e5,_0xbe95db['find'](_0x25acd=>_0x25acd['style']===_0x521f54));});}(_0x4cd42f),_0x332806=new mt(_0x4cd42f['locale'],{'styleGridAriaLabel':_0x1050bb,'styleButtonViews':_0xebcd3a}),_0x4f14e0=_0x4cd42f['commands']['get']('footnotesStart');return _0x332806['startIndexFieldView']['bind']('isEnabled')['to'](_0x4f14e0),_0x332806['startIndexFieldView']['fieldView']['bind']('value')['to'](_0x4f14e0),_0x332806['on']('footnotesListStart',(_0x15b097,_0x1dac3e)=>{_0x4cd42f['execute']('footnotesStart',{'value':_0x1dac3e['startIndex']});}),_0x332806['delegate']('execute')['to'](_0x503934),_0x332806;}({'editor':_0x28631d,'dropdownView':_0x4f2000});_0x4f2000['panelView']['children']['add'](_0x3a5fa8);}),_0x4f2000;};}(_0x540e1e));}afterInit(){const {editor:_0x531457}=this,{t:t}=_0x531457['locale'],_0x4a9557=_0x531457['plugins']['get'](_0x4abd57),{defaultPositions:_0x5b8649}=_0x1c0ee9;_0x4a9557['register']('footnotesDefinitions',{'ariaLabel':t('Footnotes\x20definitions\x20toolbar'),'items':_0x531457['config']['get']('footnotes.footnotesProperties.toolbar'),'balloonClassName':'ck-footnotes-style-balloon\x20ck-toolbar-container','getRelatedElement':_0x516699=>{let _0x334744=_0x516699['getFirstPosition']()?.['parent'];return _0x334744?.['is']('$text')&&(_0x334744=_0x334744['parent']),_0x334744?.['is']('element')?_0x334744['findAncestor'](H):null;},'positions':[_0x5b8649['southArrowNorth'],_0x5b8649['southArrowNorthMiddleWest'],_0x5b8649['southArrowNorthMiddleEast'],_0x5b8649['southArrowNorthWest'],_0x5b8649['southArrowNorthEast'],_0x5b8649['northArrowSouth'],_0x5b8649['northArrowSouthMiddleWest'],_0x5b8649['northArrowSouthMiddleEast'],_0x5b8649['northArrowSouthWest'],_0x5b8649['northArrowSouthEast'],_0x5b8649['viewportStickyNorth']]});}},wt=class extends _0x3479b8{static get['pluginName'](){return'FootnotesProperties';}static get requires(){return[ut,pt];}static get['isOfficialPlugin'](){return!0x0;}static get['isPremiumPlugin'](){return!0x0;}};export{tt as Footnotes,Q as FootnotesClipboard,$ as FootnotesEditing,wt as FootnotesProperties,ut as FootnotesPropertiesEditing,pt as FootnotesPropertiesUI,st as FootnotesStartCommand,it as FootnotesStyleCommand,V as FootnotesTracker,Y as FootnotesUI,U as InsertFootnoteCommand};
|
|
23
|
+
import{Command as _0x1528b7,Plugin as _0x4a9476}from'@ckeditor/ckeditor5-core';import{WidgetToolbarRepository as _0x5c8e61,isWidget as _0x48afa0,toWidget as _0x479536,toWidgetEditable as _0x254416}from'@ckeditor/ckeditor5-widget';import{FocusTracker as _0x49cf72,KeystrokeHandler as _0x460537,global as _0x365432,logWarning as _0x58a635,uid as _0x487a15}from'@ckeditor/ckeditor5-utils';import{ClickObserver as _0x1438ea,PointerObserver as _0x5de425}from'@ckeditor/ckeditor5-engine';import{ClipboardPipeline as _0xa95869}from'@ckeditor/ckeditor5-clipboard';import{BalloonPanelView as _0x9313c2,ButtonView as _0x6e4efa,CollapsibleView as _0x27e5aa,ContextualBalloon as _0x1dd236,FocusCycler as _0x3685ee,LabeledFieldView as _0x4395ff,MenuBarMenuListItemButtonView as _0x25d791,View as _0x40e420,ViewCollection as _0x24d057,addKeyboardHandlingForGrid as _0xa053a5,createDropdown as _0xfc2b56,createLabeledInputNumber as _0x139fca}from'@ckeditor/ckeditor5-ui';import{IconFootnote as _0x292eb9,IconListStyleArabicIndic as _0x28eb26,IconListStyleDecimal as _0x17eee6,IconListStyleDecimalLeadingZero as _0x304761,IconListStyleLowerLatin as _0x21952f,IconListStyleLowerRoman as _0x450c7e,IconListStyleUpperLatin as _0x3ea1b8,IconListStyleUpperRoman as _0x27531d}from'@ckeditor/ckeditor5-icons';var N=class{['_model'];_elementName;_getElementKey;_trackedElements=new Map();constructor(_0x4aa6f5,_0x26359c){this['_model']=_0x4aa6f5,this['_elementName']=_0x26359c['elementName'],this['_getElementKey']=_0x26359c['getElementKey'];}reset(){this['_trackedElements']['clear']();}getChanges(_0x489536){const _0x303aeb=new Set(),_0x2e99de=new Map();for(const _0x4e0ea6 of _0x489536){if('insert'===_0x4e0ea6['type']&&'$text'!==_0x4e0ea6['name']&&_0x4e0ea6['position']['nodeAfter']){const _0x269087=this['_model']['createRangeOn'](_0x4e0ea6['position']['nodeAfter']);for(const _0xa38c7c of _0x269087['getItems']()){if(!_0xa38c7c['is']('element',this['_elementName']))continue;const _0x47f9bf=this['_getElementKey'](_0xa38c7c);_0x2e99de['has'](_0x47f9bf)||_0x2e99de['set'](_0x47f9bf,[]),_0x2e99de['get'](_0x47f9bf)['push'](_0xa38c7c);}}if('remove'===_0x4e0ea6['type']&&_0x4e0ea6['name']===this['_elementName']){const _0x9987ed=this['_getElementKey']({'getAttribute':_0x3cd949=>_0x4e0ea6['attributes']['get'](_0x3cd949)});_0x303aeb['add'](_0x9987ed);}}for(const [_0x36f814,_0x2e2a1c]of this['_trackedElements'])'$graveyard'===_0x2e2a1c['root']['rootName']&&_0x303aeb['add'](_0x36f814);for(const _0x56783b of _0x303aeb)this['_trackedElements']['delete'](_0x56783b);for(const [_0xd805f7,_0x2cf3ae]of _0x2e99de)this['_trackedElements']['set'](_0xd805f7,_0x2cf3ae[_0x2cf3ae['length']-0x1]);const _0x2db0a0=new Set();for(const [_0x42e982,_0x4c7748]of _0x2e99de)_0x303aeb['has'](_0x42e982)&&(_0x2db0a0['add'](_0x4c7748[0x0]),_0x4c7748['length']>0x1?_0x2e99de['set'](_0x42e982,_0x4c7748['slice'](0x1)):_0x2e99de['delete'](_0x42e982),_0x303aeb['delete'](_0x42e982));return{'removed':Array['from'](_0x303aeb),'inserted':Array['from'](_0x2e99de['values']())['flat'](),'moved':Array['from'](_0x2db0a0)};}},V=class extends _0x4a9476{_footnotes=[];_footnotesDefinitions=null;_footnoteFormatter=null;_footnoteDefsContainerTracker;_footnoteRefsTracker;_footnoteDefsTracker;static get['pluginName'](){return'FootnotesTracker';}static get['isOfficialPlugin'](){return!0x0;}static get['isPremiumPlugin'](){return!0x0;}constructor(_0x4da698){super(_0x4da698),this['_footnoteDefsContainerTracker']=new N(this['editor']['model'],{'elementName':'footnotesDefinitions','getElementKey':()=>'singleton'}),this['_footnoteRefsTracker']=new N(this['editor']['model'],{'elementName':'footnoteRef','getElementKey':_0x3e9a5b=>_0x3e9a5b['getAttribute']('footnoteId')}),this['_footnoteDefsTracker']=new N(this['editor']['model'],{'elementName':'footnoteDefinition','getElementKey':_0x3041b0=>_0x3041b0['getAttribute']('footnoteId')});}init(){const {editor:_0x35a408}=this,{model:_0x4aecfb,data:_0x26232d}=_0x35a408;_0x4aecfb['document']['registerPostFixer'](_0xc65084=>{const _0x29a621=_0x4aecfb['document']['differ']['getChanges']();let _0x5e3ff4=!0x1;return this['_handleFootnotesDefinitionsObjectChanges'](_0xc65084,_0x29a621)&&(_0x5e3ff4=!0x0),this['_handleFootnoteDefinitionsChanges'](_0xc65084,_0x29a621)&&(_0x5e3ff4=!0x0),this['_handleFootnoteReferencesChanges'](_0xc65084,_0x29a621)&&(_0x5e3ff4=!0x0),this['_ensureFootnotesReferencesHaveProperOrder'](_0xc65084)&&(_0x5e3ff4=!0x0),this['_handleFootnotesDefinitionsObjectSync'](_0xc65084)&&(_0x5e3ff4=!0x0),this['_sortFootnoteDefinitions'](_0xc65084)&&(_0x5e3ff4=!0x0),_0x5e3ff4;}),this['listenTo'](_0x4aecfb['document'],'change:data',()=>{_0x4aecfb['enqueueChange']({'isUndoable':!0x1},_0x7b6221=>{this['_ensureFootnotesDefinitionsContainerExists'](_0x7b6221);for(const _0x5267ab of this['_footnotes'])_0x5267ab['definition']['isAttached']()||_0x7b6221['remove'](_0x5267ab['reference']);});},{'priority':'low'}),this['listenTo'](_0x26232d,'set',()=>{this['_footnotes']=[],this['_footnoteDefsContainerTracker']['reset'](),this['_footnoteRefsTracker']['reset'](),this['_footnoteDefsTracker']['reset']();},{'priority':'high'});}getFootnotesDefinitionsObjectElement(){return this['_footnotesDefinitions'];}getFootnote(_0x76f682){return this['_footnotes']['find'](_0x360712=>_0x360712['id']===_0x76f682)||null;}getFootnotes(){return Array['from'](this['_footnotes']);}getFootnotesFormatter(){return this['_footnoteFormatter'];}setFootnoteFormatter(_0x3dcc70){this['_footnoteFormatter']=_0x3dcc70;}_updateFootnotesCounters(_0x8481c,_0x2c792d=0x0){let _0x249d48=!0x1;for(let _0x4f8588=_0x2c792d;_0x4f8588<this['_footnotes']['length'];_0x4f8588++)this['_updateFootnoteRefCounter'](_0x8481c,_0x4f8588)&&(_0x249d48=!0x0);return _0x249d48;}_insertEmptyFootnotesDefinitionsContainer(_0x1d58c4,_0x4c22de){if(!K(this['editor'],_0x4c22de))return null;const _0x337177=_0x1d58c4['createElement']('footnotesDefinitions',{});return _0x1d58c4['append'](_0x337177,_0x4c22de),this['_footnotesDefinitions']=_0x337177,_0x337177;}_getFirstSuitableFootnotesDefinitionsRoot(){const _0x43682c=[...(_0x3ef597=this['_footnotes'],[..._0x3ef597['reduce']((_0x232a51,_0x57d93e)=>(_0x232a51['add'](_0x57d93e['reference']['root']),_0x232a51),new Set())]),...this['editor']['model']['document']['getRoots']()];var _0x3ef597;for(const _0x5b5d01 of _0x43682c)if(K(this['editor'],_0x5b5d01))return _0x5b5d01;return null;}_ensureFootnotesDefinitionsContainerExists(_0x424eaa){if(!this['_footnotes']['length']||this['_footnotesDefinitions'])return;let _0x46af74=null;const _0x76bf72=this['_getFirstSuitableFootnotesDefinitionsRoot']();if(_0x76bf72&&(_0x46af74=this['_insertEmptyFootnotesDefinitionsContainer'](_0x424eaa,_0x76bf72)),_0x46af74){for(const _0x4caa2e of this['_footnotes'])_0x4caa2e['definition']['parent']||_0x424eaa['insert'](_0x4caa2e['definition'],_0x46af74,'end');this['_updateFootnotesCounters'](_0x424eaa);}}_handleFootnotesDefinitionsObjectChanges(_0x3594c5,_0x50dca6){let _0x103496=!0x1;const {inserted:_0x28b8e7,removed:_0x4b1ab9,moved:_0x3e076}=this['_footnoteDefsContainerTracker']['getChanges'](_0x50dca6);if(_0x3e076['length']&&(this['_footnotesDefinitions']=_0x3e076[0x0]),_0x28b8e7['length']){if(_0x28b8e7['length']>0x1||this['_footnotesDefinitions']&&_0x28b8e7['some'](_0x4bde4f=>_0x4bde4f!==this['_footnotesDefinitions'])){const _0x5ee3a2=_0x3594c5['createElement']('footnotesDefinitions',{}),_0xeda39b=[];this['_footnotesDefinitions']&&_0xeda39b['push'](this['_footnotesDefinitions']),_0xeda39b['push'](..._0x28b8e7),_0x3594c5['insert'](_0x5ee3a2,_0xeda39b[0x0],'before');for(const _0x205811 of _0xeda39b)_0x3594c5['move'](_0x3594c5['createRangeIn'](_0x205811),_0x3594c5['createPositionAt'](_0x5ee3a2,'end')),_0x3594c5['remove'](_0x205811);this['_footnotesDefinitions']=_0x5ee3a2,this['_updateFootnotesCounters'](_0x3594c5),_0x103496=!0x0;}else this['_footnotesDefinitions']=_0x28b8e7[0x0];}if(_0x4b1ab9['length']&&'$graveyard'===this['_footnotesDefinitions']?.['root']['rootName']){for(const _0x388139 of this['_footnotes'])_0x3594c5['remove'](_0x388139['reference']),_0x103496=!0x0;this['_footnotes']=[],this['_footnotesDefinitions']=null;}return _0x103496;}_handleFootnoteDefinitionsChanges(_0x274019,_0xba0d84){let _0x45fb54=!0x1;const _0x48c84b=this['editor']['config']['get']('footnotes.multiBlock'),{inserted:_0x15f915,moved:_0x117aad}=this['_footnoteDefsTracker']['getChanges'](_0xba0d84);for(const _0x9908f of[..._0x117aad,..._0x15f915]){const _0x405106=_0x9908f['getAttribute']('footnoteId'),_0xe8d442=this['getFootnote'](_0x405106);_0xe8d442&&(_0xe8d442['definition']=_0x9908f),T(_0x274019,_0x48c84b,_0x9908f)&&(_0x45fb54=!0x0);}return _0x45fb54;}_handleFootnoteReferencesChanges(_0x4fccdb,_0x20cde4){let _0x11720e=!0x1;const {removed:_0x1df0ba,inserted:_0x4b0f0e,moved:_0x1f87f0}=this['_footnoteRefsTracker']['getChanges'](_0x20cde4);for(const _0xd4f6d9 of _0x1df0ba)this['_handleRemoveFootnoteReferenceById'](_0x4fccdb,_0xd4f6d9)&&(_0x11720e=!0x0);for(const _0xe2bc4b of _0x4b0f0e)this['_handleInsertedFootnoteReference'](_0x4fccdb,_0xe2bc4b)&&(_0x11720e=!0x0);for(const _0x31e97e of _0x1f87f0)this['_handleMovedFootnoteReference'](_0x4fccdb,_0x31e97e)&&(_0x11720e=!0x0);return _0x11720e;}_handleFootnotesDefinitionsObjectSync(_0x244550){if(!this['_footnotesDefinitions'])return!0x1;let _0x1793c5=!0x1;if(this['_footnotesDefinitions']['childCount']!==this['_footnotes']['length']){const _0x30619e=[];for(const _0x2b302b of this['_footnotesDefinitions']['getChildren']()){const _0x6892e9=_0x2b302b['getAttribute']('footnoteId');this['getFootnote'](_0x6892e9)||(_0x30619e['unshift'](_0x2b302b),_0x1793c5=!0x0);}for(const _0x5423cc of _0x30619e)_0x244550['remove'](_0x5423cc);}const _0x20dc78=new Set(),_0x215919=[];for(const _0x5d622b of this['_footnotesDefinitions']['getChildren']()){const _0x56a3a5=_0x5d622b['getAttribute']('footnoteId');_0x20dc78['has'](_0x56a3a5)?(_0x215919['unshift'](_0x5d622b),_0x1793c5=!0x0):_0x20dc78['add'](_0x56a3a5);}for(const _0x1c31d of _0x215919)_0x244550['remove'](_0x1c31d);return this['_footnotesDefinitions']['childCount']||(_0x244550['remove'](this['_footnotesDefinitions']),this['_footnotesDefinitions']=null,_0x1793c5=!0x0),_0x1793c5;}_handleInsertedFootnoteReference(_0x39e880,_0x5aafe0){if(this['_footnotes']['find'](_0x51ad2f=>_0x51ad2f['reference']===_0x5aafe0))return!0x1;let _0x2a394a=!0x1;const _0x289af0=_0x5aafe0['getAttribute']('footnoteId'),_0xb6ad52=this['_footnotes']['findIndex'](_0x4dcac8=>_0x4dcac8['id']===_0x289af0);-0x1!==_0xb6ad52&&(_0x39e880['remove'](this['_footnotes'][_0xb6ad52]['reference']),this['_footnotes']['splice'](_0xb6ad52,0x1),_0x2a394a=!0x0);let _0x3f2773=this['_footnotesDefinitions']?function(_0x2ed20d,_0x33dae8){for(const _0x43bf40 of _0x2ed20d['getChildren']())if(_0x43bf40['getAttribute']('footnoteId')===_0x33dae8)return _0x43bf40;return null;}(this['_footnotesDefinitions'],_0x289af0):null;_0x3f2773||(_0x3f2773=_0x39e880['createElement']('footnoteDefinition',{'footnoteId':_0x289af0}),this['_footnotesDefinitions']&&(_0x39e880['insert'](_0x3f2773,this['_footnotesDefinitions'],'end'),_0x2a394a=!0x0));const _0x5d8caa={'id':_0x289af0,'reference':_0x5aafe0,'definition':_0x3f2773},_0x22a6e4=j(this['editor']['model'],this['_footnotes'],_0x5aafe0);this['_footnotes']['splice'](_0x22a6e4,0x0,_0x5d8caa);let _0x10c7b1=_0x22a6e4;return-0x1!==_0xb6ad52&&(_0x10c7b1=Math['min'](_0x22a6e4,_0xb6ad52)),this['_updateFootnotesCounters'](_0x39e880,_0x10c7b1)&&(_0x2a394a=!0x0),_0x2a394a;}_handleRemoveFootnoteReferenceById(_0x5f17a2,_0x3a11a8){const _0x2d1060=this['_footnotes']['findIndex'](_0x560225=>_0x560225['id']===_0x3a11a8);if(-0x1===_0x2d1060)return!0x1;let _0x30b7e3=!0x1;const _0x14c39a=this['_footnotes'][_0x2d1060];return _0x14c39a['definition']['isAttached']()&&'$graveyard'!==_0x14c39a['definition']['root']['rootName']&&(_0x5f17a2['remove'](_0x14c39a['definition']),_0x30b7e3=!0x0),this['_footnotes']['splice'](_0x2d1060,0x1),this['_updateFootnotesCounters'](_0x5f17a2,_0x2d1060)&&(_0x30b7e3=!0x0),_0x30b7e3;}_handleMovedFootnoteReference(_0x21d935,_0x47d23c){const _0x5920bf=_0x47d23c['getAttribute']('footnoteId'),_0x3e38f4=this['_footnotes']['findIndex'](_0x6e1ce1=>_0x6e1ce1['id']===_0x5920bf),_0x496d3c=this['_footnotes'][_0x3e38f4];let _0x21fdf2=!0x1;_0x496d3c['reference']=_0x47d23c,this['_footnotes']['splice'](_0x3e38f4,0x1);const _0x2ecda1=j(this['editor']['model'],this['_footnotes'],_0x47d23c);return this['_footnotes']['splice'](_0x2ecda1,0x0,_0x496d3c),this['_updateFootnotesCounters'](_0x21d935,Math['min'](_0x3e38f4,_0x2ecda1))&&(_0x21fdf2=!0x0),_0x21fdf2;}_updateFootnoteRefCounter(_0x51896d,_0x3ea564){if(!this['_footnotesDefinitions'])return!0x1;const _0x28f5f2=this['_footnotes'][_0x3ea564];let _0x9b8b37;return _0x9b8b37=this['_footnoteFormatter']?this['_footnoteFormatter']({'footnote':_0x28f5f2,'container':this['_footnotesDefinitions'],'digits':String(this['_footnotes']['length'])['length'],'value':_0x3ea564+0x1}):String(_0x3ea564+0x1),_0x28f5f2['reference']['getAttribute']('footnoteCounter')!=_0x9b8b37&&(_0x51896d['setAttribute']('footnoteCounter',_0x9b8b37,_0x28f5f2['reference']),!0x0);}_sortFootnoteDefinitions(_0x309f14){if(!this['_footnotesDefinitions']||this['_footnotes']['length']<0x2)return!0x1;if(function(_0x50a39b,_0x546d9f){if(_0x50a39b['length']!==_0x546d9f['length'])return!0x1;for(let _0x5592c6=0x0;_0x5592c6<_0x50a39b['length'];_0x5592c6++)if(_0x50a39b[_0x5592c6]!==_0x546d9f[_0x5592c6])return!0x1;return!0x0;}(this['_footnotes']['map'](_0x484fbe=>_0x484fbe['id']),Array['from'](this['_footnotesDefinitions']['getChildren']())['map'](_0x1fb42d=>_0x1fb42d['getAttribute']('footnoteId'))))return!0x1;let _0x3364d8=!0x1;for(let _0x5d4f96=0x0;_0x5d4f96<this['_footnotes']['length'];_0x5d4f96++){const _0x481a33=this['_footnotes'][_0x5d4f96],_0xd89ba4=_0x309f14['createPositionBefore'](_0x481a33['definition']),_0x1e0d9e=_0x309f14['createPositionAt'](this['_footnotesDefinitions'],_0x5d4f96);_0xd89ba4['isEqual'](_0x1e0d9e)||(_0x309f14['move'](_0x309f14['createRangeOn'](_0x481a33['definition']),_0x1e0d9e),_0x3364d8=!0x0);}return _0x3364d8;}_ensureFootnotesReferencesHaveProperOrder(_0x5763c9){if(!this['_footnotes']['length'])return!0x1;const {model:_0x113d9a}=this['editor'];let _0x2d4a7b=!0x1;for(let _0x215bd5=0x0;_0x215bd5<this['_footnotes']['length']-0x1;_0x215bd5++){const _0x43092b=this['_footnotes'][_0x215bd5],_0x1b10b0=this['_footnotes'][_0x215bd5+0x1],_0x40ba70=_0x113d9a['createPositionBefore'](_0x43092b['reference']),_0xb32290=_0x113d9a['createPositionBefore'](_0x1b10b0['reference']);'after'===_0x40ba70['compareWith'](_0xb32290)&&(this['_handleMovedFootnoteReference'](_0x5763c9,_0x43092b['reference']),_0x215bd5=-0x1,_0x2d4a7b=!0x0);}return _0x2d4a7b;}};function K(_0x274989,_0x204465){return _0x274989['model']['schema']['checkChild'](_0x204465,'footnotesDefinitions');}function T(_0x2a4d1c,_0x5ae85f,_0x2344a1){if(_0x2344a1['childCount'])return!0x1;const _0x3fbb8a=_0x5ae85f?'paragraph':'footnoteInlineContent';return _0x2a4d1c['insert'](_0x2a4d1c['createElement'](_0x3fbb8a),_0x2344a1),!0x0;}function j(_0x3b4b75,_0x33ae8f,_0x46b9c1){if(0x0===_0x33ae8f['length'])return 0x0;const _0x765ea7=_0x3b4b75['createPositionBefore'](_0x46b9c1);for(let _0x44407a=0x0;_0x44407a<_0x33ae8f['length'];_0x44407a++){const _0x5778c4=_0x33ae8f[_0x44407a],_0x5e6546=_0x3b4b75['createPositionBefore'](_0x5778c4['reference']);if('before'===_0x765ea7['compareWith'](_0x5e6546))return _0x44407a;}const _0x15ccc5=_0x46b9c1['root'];let _0x44d536=-0x1;for(let _0x394548=_0x33ae8f['length']-0x1;_0x394548>=0x0;_0x394548--)if(_0x33ae8f[_0x394548]['reference']['root']===_0x15ccc5){_0x44d536=_0x394548;break;}if(-0x1!==_0x44d536)return _0x44d536+0x1;const _0x2954b4=_0x3b4b75['document']['getRootNames'](),_0x26e533=_0x2954b4[_0x2954b4['indexOf'](_0x15ccc5['rootName'])+0x1];if(_0x26e533){for(let _0x100fba=0x0;_0x100fba<_0x33ae8f['length'];_0x100fba++)if(_0x33ae8f[_0x100fba]['reference']['root']['rootName']===_0x26e533)return _0x100fba;}return _0x33ae8f['length'];}var U=class extends _0x1528b7{['refresh'](){const {model:_0x8a3c1f,plugins:_0x325f32}=this['editor'],{selection:_0xee8e95}=_0x8a3c1f['document'],_0x1b2882=this['_getPositionToInsertFootnote'](_0xee8e95),_0x1c1638=_0x325f32['get']('FootnotesTracker');this['isEnabled']=!(!_0x1b2882||!_0x1c1638['_getFirstSuitableFootnotesDefinitionsRoot']());}execute(_0x15683c){const {editor:_0x4ea42a}=this,{model:_0x3cf856}=_0x4ea42a,{selection:_0x34e75c}=_0x3cf856['document'],_0x5976e7=this['_getPositionToInsertFootnote'](_0x34e75c);if(!_0x5976e7)return;const _0x368244=_0x4ea42a['plugins']['get']('FootnotesEditing'),_0x448b4f=_0x15683c?.['footnoteId']??_0x487a15();!function(_0x541091){return'string'==typeof _0x541091&&_0x541091['length']>0x0&&!/\s/['test'](_0x541091)&&!/^\d/['test'](_0x541091);}(_0x448b4f)?_0x58a635('insert-footnote-command-executed-with-invalid-id'):(_0x3cf856['change'](_0x3a8750=>{const _0x4774b9=_0x3a8750['createElement']('footnoteRef',{'footnoteId':_0x448b4f});_0x3cf856['insertObject'](_0x4774b9,_0x5976e7,null);}),_0x368244['_moveSelectionToFootnoteDefinition'](_0x448b4f));}_getPositionToInsertFootnote(_0x5ee71e){const {model:_0x385001}=this['editor'],{schema:_0x4ea9de}=_0x385001,_0x4e30f0=_0x5ee71e['getFirstRange']();for(const _0xe2457c of _0x4e30f0['getItems']())if(_0x4ea9de['isBlock'](_0xe2457c)||_0x4ea9de['isObject'](_0xe2457c))return null;const _0x19301c=_0x4e30f0['end'];return _0x4ea9de['checkChild'](_0x19301c,'footnoteRef')?_0x19301c:null;}},$=class extends _0x4a9476{static get['pluginName'](){return'FootnotesEditing';}static get requires(){return[V];}static get['isOfficialPlugin'](){return!0x0;}static get['isPremiumPlugin'](){return!0x0;}init(){const {editor:_0x517a24}=this;_0x517a24['config']['define']('footnotes.multiBlock',!0x0),_0x517a24['commands']['add']('insertFootnote',new U(_0x517a24)),this['_defineSchema'](),this['_defineRefsConverters'](),this['_defineDefinitionsConverters'](),this['_defineDefinitionConverters'](),this['_defineBogusParagraphConverters'](),this['_defineKeyboardHandlers'](),this['_defineClickHandlers']();}afterInit(){!async function(_0x49e78c){const _0x43c2a0='unSbGpmijAwyrOzdZhCqT3YLFVtJlkDag1WMNxR4H67IB5QoX0289cUsvPEefK',_0x3f5949=0x791d0,_0x44d948=window['Date']['now'](),_0x30e420=_0x49e78c['editor'],_0x839550=new window['Promise'](_0x2c961e=>{_0x30e420['once']('ready',_0x2c961e);}),_0x2b33cd={'kty':'EC','use':'sig','crv':'P-256','x':'iCjOCvDFI6lQHHT18jVwRfkfHQ2a_MymT35LQVoFSAI','y':'kXIyJ4evtCEFRmxKSUpK9fDW459vXOvVrhf6uQAeOio','alg':'ES256'},_0x3934f5=_0x30e420['config']['get']('licenseKey');async function _0x49ba92(){let _0x416247,_0x35f709=null,_0x1a2fc4=null;try{return'GPL'==_0x3934f5?'NotAllowed':(_0x416247=_0xdcf477(),_0x416247?(_0x416247['usageEndpoint']&&(_0x1a2fc4=_0x12e3f6(_0x416247['usageEndpoint'],_0x416247['jti'])),await _0x199dca()?_0x338a8e()?_0x1c9acf()?'Expired':_0x210840()?('evaluation'==_0x416247['licenseType']&&(_0x35f709=_0xf8d212('EvaluationLimit')),await _0x30fddc()):'DomainLimit':'NotAllowed':'Invalid'):'Invalid');}catch{return'Invalid';}function _0x1c9acf(){const _0x3ffffd=['evaluation','trial']['includes'](_0x416247['licenseType'])?_0x44d948/0x3e8:0xe10*_0x3f5949;return _0x416247['exp']<_0x3ffffd;}function _0x338a8e(){const _0x40840f=_0x416247['features'];return!!_0x40840f&&(!!_0x40840f['includes']('*')||!!_0x40840f['includes']('FOO'));}function _0x210840(){const _0x5e757f=_0x416247['licensedHosts'];if(!_0x5e757f||0x0==_0x5e757f['length'])return!0x0;const {hostname:_0x20c8f4}=new URL(window['location']['href']);if(_0x5e757f['includes'](_0x20c8f4))return!0x0;const _0x1e50e5=_0x20c8f4['split']('.');return _0x5e757f['filter'](_0xfe4704=>_0xfe4704['includes']('*'))['map'](_0xdfed68=>_0xdfed68['split']('.'))['filter'](_0x32664e=>_0x32664e['length']<=_0x1e50e5['length'])['map'](_0x46b522=>Array(_0x1e50e5['length']-_0x46b522['length'])['fill']('*'===_0x46b522[0x0]?'*':'')['concat'](_0x46b522))['some'](_0x3adba5=>_0x1e50e5['every']((_0x5b6110,_0x5946ad)=>_0x3adba5[_0x5946ad]===_0x5b6110||'*'===_0x3adba5[_0x5946ad]));}function _0x30fddc(){return _0x35f709&&_0x1a2fc4?new window['Promise']((_0x4adb26,_0x4cbb82)=>{_0x35f709['then'](_0x4adb26,_0x4cbb82),_0x1a2fc4['then'](_0x388c74=>{'Valid'!=_0x388c74&&_0x4adb26(_0x388c74);},_0x4cbb82);}):_0x35f709||_0x1a2fc4||'Valid';}}function _0x12e3f6(_0x1932ea,_0x99c64a){return new window['Promise'](_0x1974a3=>{if(_0x2ef759())return _0x1974a3('Valid');_0x4bfbdd(),_0x30e420['decorate']('_sendUsageRequest');let _0x480fe3=!0x1;const _0x504917=_0x487a15();function _0x51361b(_0xb381e9){return!!_0xb381e9&&('object'==typeof _0xb381e9||'function'==typeof _0xb381e9)&&'function'==typeof _0xb381e9['then']&&'function'==typeof _0xb381e9['catch'];}function _0x23ecb2(_0x2a06c0){_0xcb2765(_0x2a06c0)['then'](_0x462686=>_0x462686&&'ok'==_0x462686['status']?_0x4cfacd(_0xeba051(_0x504917+_0x99c64a))!=_0x462686['verification']?'UsageLimit':'Valid':'UsageLimit')['then'](_0x4765fd=>(_0x5f4377(),_0x4765fd),()=>{const _0xf26a1f=_0x3ec382();return null==_0xf26a1f?(_0x5f4377(),'Valid'):_0x44d948-_0xf26a1f>0x240c8400?'UsageLimit':'Valid';})['then'](_0x1974a3)['catch'](()=>{_0x1974a3('UsageLimit');});const _0xee08ba=0x36ee80;function _0x5f4377(){const _0x2c9e35='llct-'+_0x4cfacd(_0xeba051(_0x1932ea)),_0xb41745=_0x79b572(_0x4cfacd(window['Math']['ceil'](_0x44d948/_0xee08ba)));window['localStorage']['setItem'](_0x2c9e35,_0xb41745);}function _0x3ec382(){const _0x3d8b57='llct-'+_0x4cfacd(_0xeba051(_0x1932ea)),_0x3cf93a=window['localStorage']['getItem'](_0x3d8b57);return _0x3cf93a?window['parseInt'](_0x79b572(_0x3cf93a),0x10)*_0xee08ba:null;}function _0xcb2765(_0x13bffb){return new window['Promise']((_0x44dbbc,_0x71c4f5)=>{_0x13bffb['then'](_0x44dbbc,_0x71c4f5),window['setTimeout'](_0x71c4f5,0x1d4c0);});}}_0x30e420['on']('_sendUsageRequest',(_0x237f4e,_0x344f27)=>{if(_0x344f27[0x0]!=_0x1932ea)return _0x1974a3('UsageLimit');_0x344f27[0x1]={..._0x344f27[0x1],'requestId':_0x504917};},{'priority':'high'}),_0x30e420['on']('_sendUsageRequest',_0x462197=>{_0x51361b(_0x462197['return'])&&(_0x480fe3=!0x0,_0x23ecb2(_0x462197['return']));},{'priority':'low'}),_0x839550['then'](()=>{_0x480fe3||_0x1974a3('UsageLimit');});});function _0x2ef759(){return'auto'==_0x30e420['editing']['view']['_overlayModeHint'];}function _0x4bfbdd(){_0x30e420['editing']['view']['_overlayModeHint']='auto';}}function _0xf8d212(_0x47048f){const _0x4ea177=[new window['Promise'](_0xea289a=>setTimeout(_0xea289a,0x93ecc)),_0x839550['then'](()=>new window['Promise'](_0x264167=>{let _0x4ef06a=0x0;_0x30e420['model']['on']('applyOperation',(_0x33a7dc,_0x3f9932)=>{_0x3f9932[0x0]['isDocumentOperation']&&_0x4ef06a++,0x5e8==_0x4ef06a&&(_0x264167(),_0x33a7dc['off']());});}))];return window['Promise']['race'](_0x4ea177)['then'](()=>_0x47048f);}async function _0x245906(){await _0x839550,_0x30e420['model']['change']=_0x3f13bd,_0x30e420['model']['enqueueChange']=_0x3f13bd,_0x30e420['enableReadOnlyMode']('model');}function _0x579e52(_0x5688ca){const _0x353cb3=_0x2840c2();_0x30e420[_0x353cb3]='footnotesLicenseKey'+_0x5688ca,'Valid'!=_0x5688ca&&_0x245906();}function _0x2840c2(){const _0x4ac00f=window['String'](window['performance']['now']())['replace']('.','');let _0x478fc9='u';for(let _0x398769=0x0;_0x398769<_0x4ac00f['length'];_0x398769+=0x2){let _0x1072a2=window['parseInt'](_0x4ac00f['substring'](_0x398769,_0x398769+0x2));_0x1072a2>=0x3e&&(_0x1072a2-=0x3e),_0x478fc9+=_0x43c2a0[_0x1072a2];}return _0x478fc9;}function _0xdcf477(){const _0x209bb3=_0x3934f5['split']('.');if(0x3!=_0x209bb3['length'])return null;return _0x75d18f(_0x209bb3[0x1]);function _0x75d18f(_0x2e9693){const _0x527273=_0x1d54de(_0x2e9693);return _0x527273&&_0x31a2d1()?_0x527273:null;function _0x31a2d1(){const _0x35c277=_0x527273['jti'],_0x2dd5c4=window['parseInt'](_0x35c277['substring'](_0x35c277['length']-0x8),0x10),_0x5f5328={..._0x527273,'jti':_0x35c277['substring'](0x0,_0x35c277['length']-0x8)};return delete _0x5f5328['vc'],_0xeba051(_0x5f5328)==_0x2dd5c4;}}}async function _0x199dca(){let _0x2b246e=!0x0;try{const [_0x11cff4,_0x5e5712,_0x36647f]=_0x3934f5['split']('.');return _0x44bbe8(_0x11cff4),await _0x21bd20(_0x11cff4,_0x5e5712,_0x36647f),_0x2b246e;}catch{return!0x1;}function _0x44bbe8(_0x52a1b9){const _0x2f7019=_0x1d54de(_0x52a1b9);_0x2f7019&&'ES256'==_0x2f7019['alg']||(_0x2b246e=!0x1);}async function _0x21bd20(_0x3ac369,_0x423895,_0x4e7bb7){const _0x3df58f=window['Uint8Array']['from'](_0x452da7(_0x4e7bb7),_0xcd5fcd=>_0xcd5fcd['charCodeAt'](0x0)),_0x2b7426=new window['TextEncoder']()['encode'](_0x3ac369+'.'+_0x423895),_0x25ed54=window['crypto']['subtle'];if(!_0x25ed54)return;const _0x35e20c=await _0x25ed54['importKey']('jwk',_0x2b33cd,{'name':'ECDSA','namedCurve':'P-256'},!0x1,['verify']);await _0x25ed54['verify']({'name':'ECDSA','hash':{'name':'SHA-256'}},_0x35e20c,_0x3df58f,_0x2b7426)||(_0x2b246e=!0x1);}}function _0x1d54de(_0x291283){return _0x291283['startsWith']('ey')?JSON['parse'](_0x452da7(_0x291283)):null;}function _0x452da7(_0x24be71){return window['atob'](_0x24be71['replace'](/-/g,'+')['replace'](/_/g,'/'));}function _0xeba051(_0x2797df){let _0x35c10a=0x1505;function _0x21eb0a(_0x52a2be){for(let _0x41e6f1=0x0;_0x41e6f1<_0x52a2be['length'];_0x41e6f1++){const _0x1aaae2=_0x52a2be['charCodeAt'](_0x41e6f1);_0x35c10a=(_0x35c10a<<0x5)+_0x35c10a+_0x1aaae2,_0x35c10a&=_0x35c10a;}}function _0x1d2f11(_0x414f03){Array['isArray'](_0x414f03)?_0x414f03['forEach'](_0x1d2f11):_0x414f03&&'object'==typeof _0x414f03?Object['entries'](_0x414f03)['sort']()['forEach'](([_0x31197e,_0x371538])=>{_0x21eb0a(_0x31197e),_0x1d2f11(_0x371538);}):_0x21eb0a(window['String'](_0x414f03));}return _0x1d2f11(_0x2797df),_0x35c10a>>>0x0;}function _0x4cfacd(_0xeb5d4d){return _0xeb5d4d['toString'](0x10)['padStart'](0x8,'0');}function _0x79b572(_0x393b2b){return _0x393b2b['split']('')['reverse']()['join']('');}function _0x3f13bd(){}_0x579e52(await _0x49ba92());}(this);}_moveSelectionToFootnoteDefinition(_0x57f0cf){const {plugins:_0x231dda,editing:_0xf3dd92,model:_0x85e056}=this['editor'],_0x245022=_0x231dda['get'](V)['getFootnote'](_0x57f0cf);return!!_0x245022&&(_0x85e056['change'](_0x53ef91=>{_0x53ef91['setSelection'](_0x53ef91['createPositionAt'](_0x245022['definition'],'end'));}),_0xf3dd92['view']['scrollToTheSelection'](),!0x0);}_moveSelectionToFootnoteReference(_0x374bac){const {plugins:_0x1371ca,editing:_0x4f8a91,model:_0x37a307}=this['editor'],_0x3b4b1d=_0x1371ca['get'](V)['getFootnote'](_0x374bac);return!!_0x3b4b1d&&(_0x37a307['change'](_0x58cfa9=>{_0x58cfa9['setSelection'](_0x3b4b1d['reference'],'on');}),_0x4f8a91['view']['scrollToTheSelection'](),!0x0);}['_defineSchema'](){const {schema:_0x2d1c94}=this['editor']['model'],_0x96219=this['editor']['config']['get']('footnotes.multiBlock');_0x2d1c94['register']('footnoteRef',{'inheritAllFrom':'$inlineObject','allowAttributes':['footnoteId','footnoteCounter']}),_0x2d1c94['register']('footnotesDefinitions',{'inheritAllFrom':'$blockObject','allowChildren':['footnoteDefinition']}),_0x2d1c94['register']('footnoteDefinition',{'allowAttributes':['footnoteId'],'disallowAttributes':['listItemId'],'isLimit':!0x0}),_0x96219?_0x2d1c94['extend']('footnoteDefinition',{'allowContentOf':'$container'}):_0x2d1c94['register']('footnoteInlineContent',{'allowIn':'footnoteDefinition','allowContentOf':'$block','isLimit':!0x0}),_0x2d1c94['addChildCheck'](_0x4782c4=>{for(const _0xd7aa9c of _0x4782c4)if('footnoteDefinition'===_0xd7aa9c['name'])return!0x1;},'footnoteRef');}_defineRefsConverters(){const {editor:_0x98ccb1}=this,{conversion:_0x2fd2d5,editing:_0x46906c}=_0x98ccb1,{t:t}=_0x98ccb1['locale'];_0x2fd2d5['for']('upcast')['elementToElement']({'view':{'name':'sup','classes':'footnote'},'model':(_0x5198b3,{writer:_0x348843,consumable:_0x3b4e60})=>{const _0x3ccb83=_0x5198b3['getChild'](0x0);if(!_0x3ccb83||!_0x3ccb83['is']('element','a'))return null;const _0x41087a=_0x3ccb83['getAttribute']('href')||'';if(!_0x41087a['startsWith']('#'))return null;const _0x3d2a8c=_0x41087a['replace'](/^#/,'');if(!_0x3d2a8c)return null;_0x3b4e60['consume'](_0x3ccb83,{'name':!0x0,'attributes':['href']});for(const {item:_0x1eb366}of _0x46906c['view']['createRangeIn'](_0x3ccb83))_0x1eb366['is']('$textProxy')?_0x3b4e60['consume'](_0x1eb366['textNode'],{'name':!0x0}):_0x1eb366['is']('element')&&_0x3b4e60['consume'](_0x1eb366,{'name':!0x0});return _0x348843['createElement']('footnoteRef',{'footnoteId':_0x3d2a8c});}}),_0x2fd2d5['for']('dataDowncast')['elementToElement']({'model':{'name':'footnoteRef','attributes':['footnoteId','footnoteCounter']},'view':(_0x2ab931,{writer:_0x1e7da7})=>z(_0x2ab931,_0x1e7da7)}),_0x2fd2d5['for']('editingDowncast')['elementToElement']({'model':{'name':'footnoteRef','attributes':['footnoteId','footnoteCounter']},'view':(_0x58751c,{writer:_0x4b64d6})=>{const _0x555689=_0x58751c['getAttribute']('footnoteCounter');return _0x479536(z(_0x58751c,_0x4b64d6),_0x4b64d6,{'label':t('Footnote\x20%0.\x20Press\x20ENTER\x20to\x20jump\x20to\x20footnote\x20definition.',_0x555689)});}});}_defineDefinitionsConverters(){const {editor:_0x2f31c5}=this,{t:t}=_0x2f31c5['locale'],{conversion:_0x270b0a}=_0x2f31c5;_0x270b0a['for']('upcast')['elementToElement']({'view':{'name':'div','classes':'footnotes'},'model':'footnotesDefinitions'}),_0x270b0a['for']('upcast')['add'](_0x187370=>{_0x187370['on']('element:ol',(_0x5d874c,_0x2aa042,_0x2cced1)=>{const _0xdc05f9=_0x2aa042['viewItem'];if(!_0xdc05f9['hasClass']('footnotes-list')||!_0x2aa042['modelCursor']['parent']?.['is']('element','footnotesDefinitions'))return;if(!_0x2cced1['consumable']['consume'](_0xdc05f9,{'name':!0x0,'classes':'footnotes-list'}))return;const {modelRange:_0x59df75,modelCursor:_0x4ebf79}=_0x2cced1['convertChildren'](_0x2aa042['viewItem'],_0x2aa042['modelCursor']);_0x2aa042['modelRange']=_0x59df75,_0x2aa042['modelCursor']=_0x4ebf79;}),_0x187370['on']('element:hr',(_0x41fc44,_0x1b3728,_0x1c40ca)=>{const _0x23875d=_0x1b3728['viewItem'];_0x23875d['hasClass']('footnotes-divider')&&_0x1b3728['modelCursor']['parent']?.['is']('element','footnotesDefinitions')&&_0x1c40ca['consumable']['consume'](_0x23875d,{'name':!0x0,'classes':'footnotes-divider'});});}),_0x270b0a['for']('dataDowncast')['elementToStructure']({'model':'footnotesDefinitions','view':(_0x2f08b5,{writer:_0x5e2397})=>X(_0x5e2397)}),_0x270b0a['for']('editingDowncast')['elementToStructure']({'model':'footnotesDefinitions','view':(_0x43241c,{writer:_0x3216de})=>{const _0x59cf11=_0x479536(X(_0x3216de,{'data-footnotes-list-label':t('Footnotes')}),_0x3216de,{'hasSelectionHandle':!0x0,'label':t('Footnotes')});return _0x3216de['setCustomProperty']('footnotesDefinitions',!0x0,_0x59cf11),_0x59cf11;}});}_defineDefinitionConverters(){const {editor:_0xf3186c}=this,{conversion:_0x10c165,locale:_0x3dcb20}=_0xf3186c,_0xcaeb73=_0xf3186c['config']['get']('footnotes.multiBlock');_0x10c165['for']('upcast')['add'](_0x496d4a=>{_0x496d4a['on']('element:li',(_0x159acd,_0x27deab,_0x135db3)=>{const _0x19f05a=_0x27deab['viewItem'];if(!_0x19f05a['hasClass']('footnote-definition')||!_0x19f05a['getAttribute']('id'))return;const _0x2accc9=_0x19f05a['parent'];if(!_0x2accc9['is']('element','ol')||!_0x2accc9['hasClass']('footnotes-list'))return;if(!_0x135db3['consumable']['test'](_0x19f05a,{'name':!0x0,'attributes':'id','classes':'footnote-definition'}))return;const _0x5445eb=_0x135db3['writer']['createElement']('footnoteDefinition',{'footnoteId':_0x19f05a['getAttribute']('id')});if(!_0x135db3['safeInsert'](_0x5445eb,_0x27deab['modelCursor']))return;_0x135db3['consumable']['consume'](_0x19f05a,{'name':!0x0,'attributes':'id','classes':'footnote-definition'});const _0x4fded6=Array['from'](_0x19f05a['getChildren']())['find'](_0x17b9e6=>_0x17b9e6['is']('element')&&_0x17b9e6['hasClass']('footnote-content'));for(const _0x1ea74b of _0x19f05a['getChildren']())_0x1ea74b['is']('element')&&(_0x135db3['consumable']['consume'](_0x1ea74b,{'name':!0x0,'classes':'footnote-backlink','attributes':'href'}),_0x135db3['consumable']['consume'](_0x1ea74b,{'name':!0x0,'classes':'footnote-content'}));if(_0x4fded6){if(_0xcaeb73)_0x135db3['convertChildren'](_0x4fded6,_0x5445eb);else{const _0xba2582=_0x135db3['writer']['createElement']('footnoteInlineContent');_0x135db3['writer']['insert'](_0xba2582,_0x5445eb),_0x135db3['convertChildren'](_0x4fded6,_0xba2582);}}_0x135db3['updateConversionResult'](_0x5445eb,_0x27deab);});}),_0x10c165['for']('dataDowncast')['elementToStructure']({'model':{'name':'footnoteDefinition','attributes':['footnoteId']},'view':(_0x46fa98,{writer:_0x20c118})=>J(_0x46fa98,_0x20c118,_0x3dcb20,{'dataPipeline':!0x0})}),_0x10c165['for']('editingDowncast')['elementToStructure']({'model':{'name':'footnoteDefinition','attributes':['footnoteId']},'view':(_0x10c793,{writer:_0x47b755})=>J(_0x10c793,_0x47b755,_0x3dcb20)});}_defineBogusParagraphConverters(){const {editor:_0xf68eba}=this,{conversion:_0x44846c}=_0xf68eba;_0xf68eba['config']['get']('footnotes.multiBlock')?(_0x44846c['for']('editingDowncast')['elementToElement']({'model':'paragraph','view':M(),'converterPriority':'high'}),_0x44846c['for']('dataDowncast')['elementToElement']({'model':'paragraph','view':M({'dataPipeline':!0x0}),'converterPriority':'high'}),this['listenTo'](_0xf68eba['model']['document'],'change:data',()=>{!function(_0x502218,_0x3f3ac0){const _0x31c007=_0x502218['document']['differ'],_0x5839b7=new Set();for(const _0x3797c5 of _0x31c007['getChanges']()){const _0x10f007='attribute'==_0x3797c5['type']?_0x3797c5['range']['start']['parent']:_0x3797c5['position']['parent'];_0x10f007['is']('element','footnoteDefinition')&&_0x5839b7['add'](_0x10f007);}for(const _0x5c2759 of _0x5839b7['values']()){const _0x111f09=Array['from'](_0x5c2759['getChildren']())['filter'](_0x26eb42=>q(_0x26eb42,_0x3f3ac0['mapper']));for(const _0x3ecdca of _0x111f09)_0x3f3ac0['reconvertItem'](_0x3ecdca);}}(_0xf68eba['model'],_0xf68eba['editing']);})):(_0x44846c['for']('editingDowncast')['elementToElement']({'model':'footnoteInlineContent','view':M()}),_0x44846c['for']('dataDowncast')['elementToElement']({'model':'footnoteInlineContent','view':(_0x4baeb5,{writer:_0x4b88a1})=>{const _0x1cdc21=_0x4b88a1['createContainerElement']('span');return _0x4b88a1['setCustomProperty']('dataPipeline:transparentRendering',!0x0,_0x1cdc21),_0x1cdc21;}}));}['_defineKeyboardHandlers'](){const {editor:_0x36d1ec}=this,{editing:_0x31049d,t:t}=_0x36d1ec,_0x82a9c9=_0x36d1ec['model']['document']['selection'];_0x36d1ec['keystrokes']['set']('Ctrl+Alt+F','insertFootnote'),_0x36d1ec['accessibility']['addKeystrokeInfos']({'keystrokes':[{'label':t('Insert\x20footnote'),'keystroke':'Ctrl+Alt+F'}]}),this['listenTo'](_0x31049d['view']['document'],'enter',(_0xc97dca,_0x32e484)=>{const _0x5664ae=function(_0x59d40f){const _0x35e66d=_0x59d40f['getSelectedElement']();return _0x35e66d?.['is']('element','footnoteRef')?_0x35e66d:null;}(_0x82a9c9);if(_0x5664ae){const _0x2e50cd=_0x5664ae['getAttribute']('footnoteId');this['_moveSelectionToFootnoteDefinition'](_0x2e50cd),_0x32e484['preventDefault'](),_0xc97dca['stop']();}},{'context':_0x48afa0});}['_defineClickHandlers'](){const {editor:_0x35f0a6}=this,{editing:_0x50ea83}=_0x35f0a6;_0x35f0a6['editing']['view']['addObserver'](_0x5de425),_0x35f0a6['editing']['view']['addObserver'](_0x1438ea);let _0x25b42a=!0x1;this['listenTo'](_0x50ea83['view']['document'],'pointerdown',(_0x3e0c69,_0x3b71d0)=>{const {target:_0x42da3b}=_0x3b71d0,_0x2f9a52=_0x50ea83['view']['document']['selection'];_0x25b42a=!!(_0x42da3b?.['is']('element','a')&&_0x42da3b['parent']?.['is']('element','sup')&&_0x42da3b['parent']['hasClass']('footnote'))&&_0x2f9a52['getSelectedElement']()===_0x42da3b['parent'];},{'priority':'high'}),this['listenTo'](_0x50ea83['view']['document'],'click',(_0x3460d2,_0x1119e4)=>{const {target:_0x2e8aee}=_0x1119e4;if(!_0x2e8aee?.['is']('element','a'))return;if(_0x2e8aee['parent']?.['is']('element','sup')&&_0x2e8aee['parent']['hasClass']('footnote')&&!_0x25b42a)return void _0x1119e4['preventDefault']();let _0x39fc89=_0x2e8aee['getAttribute']('href');if(!_0x39fc89?.['startsWith']('#'))return;_0x39fc89=_0x39fc89['slice'](0x1);let _0x39d746=!0x1;(_0x39fc89['startsWith']('ref-')&&this['_moveSelectionToFootnoteReference'](_0x39fc89['slice'](0x4))||this['_moveSelectionToFootnoteDefinition'](_0x39fc89))&&(_0x39d746=!0x0),_0x39d746&&(_0x1119e4['preventDefault'](),_0x3460d2['stop']());},{'priority':'high','context':'$capture'});}};function M({dataPipeline:_0x4d2515}={}){return(_0x3debca,{writer:_0x91007f})=>{if(!B(_0x3debca))return null;if(!_0x4d2515)return _0x91007f['createContainerElement']('span',{'class':'ck-footnote-bogus-paragraph'});const _0x24a251=_0x91007f['createContainerElement']('p');return _0x91007f['setCustomProperty']('dataPipeline:transparentRendering',!0x0,_0x24a251),_0x24a251;};}function B(_0x1da0c3){const {parent:_0x1526c5}=_0x1da0c3;if(!_0x1526c5?.['is']('element','footnoteDefinition'))return!0x1;if(0x1!=_0x1526c5['childCount'])return!0x1;for(const _0x4491b6 of _0x1da0c3['getAttributeKeys']())if(!_0x4491b6['startsWith']('selection:')&&'htmlEmptyBlock'!=_0x4491b6)return!0x1;return!0x0;}function q(_0x295ad5,_0x563a2b){if(!_0x295ad5['is']('element','paragraph'))return!0x1;const _0x1d1d11=_0x563a2b['toViewElement'](_0x295ad5);return!!_0x1d1d11&&B(_0x295ad5)!==_0x1d1d11['is']('element','span');}function H(_0x46658b){return _0x48afa0(_0x46658b)&&_0x46658b['is']('containerElement')&&!!_0x46658b['getCustomProperty']('footnotesDefinitions');}function X(_0x592694,_0x36229a={}){const _0x522d50=_0x592694['createEmptyElement']('hr',{'class':'footnotes-divider'}),_0x3c1aee=_0x592694['createContainerElement']('ol',{'class':'footnotes-list'},_0x592694['createSlot']());return _0x592694['createContainerElement']('div',{'class':'footnotes',..._0x36229a},[_0x522d50,_0x3c1aee]);}function z(_0x52081e,_0x13e4aa){const _0xb53bef=_0x52081e['getAttribute']('footnoteId'),_0x431dbf=_0x52081e['getAttribute']('footnoteCounter'),_0x5e70c6=_0x13e4aa['createUIElement']('a',{'href':'#'+_0xb53bef},function(_0x16a7cd){const _0x59c6a6=this['toDomElement'](_0x16a7cd);return _0x59c6a6['textContent']=_0x431dbf,_0x59c6a6;}),_0x6c34e=_0x13e4aa['createContainerElement']('sup',{'id':'ref-'+_0xb53bef,'class':'footnote'},[_0x5e70c6]);return _0x6c34e['getFillerOffset']=()=>null,_0x6c34e;}function J(_0x5d191e,_0x2d4a79,_0xdf0a4,{dataPipeline:_0x33166a}={}){const {t:t}=_0xdf0a4,_0x3ac52c=_0x5d191e['getAttribute']('footnoteId'),_0x3c128d=_0x2d4a79['createUIElement']('a',{'class':'footnote-backlink','href':'#ref-'+_0x3ac52c},function(_0x5462b2){const _0x2f6d2e=this['toDomElement'](_0x5462b2);return _0x2f6d2e['innerText']='^',_0x2f6d2e;}),_0x1391aa=_0x33166a?_0x2d4a79['createContainerElement']('div',{'class':'footnote-content'}):_0x254416(_0x2d4a79['createEditableElement']('div',{'class':'footnote-content'}),_0x2d4a79,{'label':t('Footnote\x20content.')});return _0x2d4a79['insert'](_0x2d4a79['createPositionAt'](_0x1391aa,0x0),_0x2d4a79['createSlot']()),_0x2d4a79['createContainerElement']('li',{'class':'footnote-definition','id':_0x3ac52c},[_0x3c128d,_0x1391aa]);}var Q=class extends _0x4a9476{static get['pluginName'](){return'FootnotesClipboard';}static get requires(){return[$,_0xa95869];}static get['isOfficialPlugin'](){return!0x0;}static get['isPremiumPlugin'](){return!0x0;}init(){this['_defineClipboardIntegration']();}_defineClipboardIntegration(){this['_handleCopyFootnotesDefinitions'](),this['_handlePasteFootnotesDefinitions']();}_handleCopyFootnotesDefinitions(){const {editor:_0x46f513}=this,{plugins:_0x53e201,model:_0x265372}=_0x46f513,_0x59e775=_0x53e201['get'](_0xa95869),_0x4d53c4=_0x53e201['get'](V);this['listenTo'](_0x59e775,'outputTransformation',(_0x81f94c,_0x3b8ae9)=>{const _0x388448=W(_0x265372['createRangeIn'](_0x3b8ae9['content']));if(!_0x388448['length'])return;const _0x3e6bad=_0x4d53c4['getFootnotes'](),_0x74bab5=_0x388448['reduce']((_0x45b94b,_0x5268c2)=>{const _0x3a29a9=_0x3e6bad['find'](_0x52f5c8=>_0x52f5c8['id']===_0x5268c2);if(_0x3a29a9){const _0x404938=_0x46f513['data']['toView'](_0x3a29a9['definition'],{'isClipboardPipeline':!0x0}),_0x3d6352=_0x46f513['data']['htmlProcessor']['toData'](_0x404938);_0x45b94b[_0x3a29a9['id']]=_0x3d6352;}return _0x45b94b;},Object['create'](null));_0x3b8ae9['dataTransfer']['setData']('application/ckeditor5-footnotes',JSON['stringify'](_0x74bab5));});}_handlePasteFootnotesDefinitions(){const {editor:_0x5bbde4}=this,{model:_0x1cb2f0,plugins:_0x383500}=_0x5bbde4,{view:_0x351ce8}=_0x5bbde4['editing'],_0x42e12a=_0x383500['get'](_0xa95869),_0xd8e6d5=_0x383500['get'](V),_0x104e2c=_0x5bbde4['config']['get']('footnotes.multiBlock');let _0x1223fb=null;this['listenTo'](_0x351ce8['document'],'clipboardInput',(_0x45f519,_0x185c07)=>{const _0x4067a6=_0x185c07['dataTransfer']['getData']('application/ckeditor5-footnotes');_0x1223fb=_0x4067a6?JSON['parse'](_0x4067a6):null;}),this['listenTo'](_0x42e12a,'contentInsertion',(_0x4bfdcd,_0x100416)=>{const _0x39620f=_0x100416['sourceEditorId']===this['editor']['id'];_0x39620f&&'drop'===_0x100416['method']||_0x1cb2f0['change'](_0x4666cc=>{let _0x59006b=_0xd8e6d5['getFootnotesDefinitionsObjectElement']();const _0x391397=!!_0x59006b&&Array['from'](_0x1cb2f0['document']['selection']['getSelectedBlocks']())['includes'](_0x59006b);if(!_0x1223fb&&function(_0x544349){for(const {item:_0x1fa77d}of _0x544349)if(_0x1fa77d['is']('element','footnoteRef'))return!0x0;return!0x1;}(_0x1cb2f0['createRangeIn'](_0x100416['content']))&&(_0x1223fb=function(_0x292be8,_0x4da6ff){const _0xa107d6=G(_0x292be8,_0x4da6ff);if(!_0xa107d6)return null;const _0xce9f26=Object['create'](null);for(const _0x1fdad3 of _0xa107d6['getChildren']())_0x1fdad3['is']('element','footnoteDefinition')&&_0x1fdad3['hasAttribute']('footnoteId')&&(_0xce9f26[_0x1fdad3['getAttribute']('footnoteId')]=_0x292be8['cloneElement'](_0x1fdad3,!0x0));return Object['keys'](_0xce9f26)['length']?_0xce9f26:null;}(_0x4666cc,_0x100416['content'])),(_0x59006b&&!_0x391397||!_0x59006b&&!_0x1223fb)&&function(_0x55c739,_0x94b798){const _0x3fe52d=[];for(const {item:_0x25befd}of _0x55c739['createRangeIn'](_0x94b798))_0x25befd['is']('element','footnotesDefinitions')&&_0x3fe52d['push'](_0x25befd);for(const _0xef1476 of _0x3fe52d)_0x55c739['remove'](_0xef1476);}(_0x4666cc,_0x100416['content']),!_0x1223fb)return;const {selection:_0x249c12}=_0x1cb2f0['document'],_0x241564=_0x249c12['getFirstRange']()['root'];if(!_0x59006b||_0x391397){if(_0x59006b=G(_0x4666cc,_0x100416['content']),_0x59006b||=_0xd8e6d5['_insertEmptyFootnotesDefinitionsContainer'](_0x4666cc,_0x241564),!_0x59006b){const _0x5ef863=_0xd8e6d5['_getFirstSuitableFootnotesDefinitionsRoot']();_0x59006b||=_0x5ef863&&_0xd8e6d5['_insertEmptyFootnotesDefinitionsContainer'](_0x4666cc,_0x5ef863);}if(!_0x59006b)return void(_0x1223fb=null);}const _0x31be1d=Array['from'](_0x249c12['getRanges']())['flatMap'](W),_0x5221a8=function(_0x340f4d,_0xea79a2,_0x268d86){const _0x46e5da=Object['create'](null);for(const {item:_0x5d05ed}of _0x340f4d['createRangeIn'](_0xea79a2))if(_0x5d05ed['is']('element','footnoteRef')){const _0x407555=_0x5d05ed['getAttribute']('footnoteId');if(!_0x268d86(_0x407555))continue;_0x46e5da[_0x407555]||(_0x46e5da[_0x407555]=_0x487a15()),_0x340f4d['setAttribute']('footnoteId',_0x46e5da[_0x407555],_0x5d05ed);}return _0x46e5da;}(_0x4666cc,_0x100416['content'],_0x536fbe=>!_0x39620f||!!_0xd8e6d5['getFootnote'](_0x536fbe)&&!_0x31be1d['includes'](_0x536fbe));for(const [_0x5ed871,_0x1f38fd]of Object['entries'](_0x1223fb)){const _0x24476f=_0x5221a8[_0x5ed871]||_0x5ed871;let _0x701e3f;if('string'!=typeof _0x1f38fd)_0x701e3f=_0x1f38fd,_0x24476f!==_0x5ed871&&_0x4666cc['setAttribute']('footnoteId',_0x24476f,_0x701e3f);else{_0x701e3f=_0x4666cc['createElement']('footnoteDefinition',{'footnoteId':_0x24476f});const _0x2994aa=_0x5bbde4['data']['htmlProcessor']['toView'](_0x1f38fd);let _0x2065d3;if(_0x104e2c)_0x2065d3=_0x5bbde4['data']['toModel'](_0x2994aa,_0x701e3f);else{_0x2065d3=_0x4666cc['createElement']('footnoteInlineContent');const _0xe97455=_0x5bbde4['data']['toModel'](_0x2994aa,_0x2065d3);_0x4666cc['insert'](_0xe97455,_0x2065d3);}_0x4666cc['append'](_0x2065d3,_0x701e3f);}_0x4666cc['insert'](_0x701e3f,_0x59006b,'end');}_0x1223fb=null;});});}};function G(_0x3b0061,_0x1381ca){for(const {item:_0x10e79e}of _0x3b0061['createRangeIn'](_0x1381ca))if(_0x10e79e['is']('element','footnotesDefinitions'))return _0x10e79e;return null;}function W(_0x12e861){const _0x2780f6=new Set();for(const {item:_0x4b3e07}of _0x12e861)_0x4b3e07['is']('element','footnoteRef')&&_0x2780f6['add'](_0x4b3e07['getAttribute']('footnoteId'));return Array['from'](_0x2780f6);}var Y=class extends _0x4a9476{['licenseKey'];_licenseKeyCheckInterval;static get['pluginName'](){return'FootnotesUI';}static get['isOfficialPlugin'](){return!0x0;}static get['isPremiumPlugin'](){return!0x0;}init(){const {editor:_0x495a5c}=this,{componentFactory:_0x51cfe0}=_0x495a5c['ui'];_0x51cfe0['add']('insertFootnote',Z(_0x495a5c,_0x6e4efa)),_0x51cfe0['add']('menuBar:insertFootnote',Z(_0x495a5c,_0x25d791)),this['licenseKey']=this['editor']['config']['get']('licenseKey');const _0x352207=this['editor'];this['_licenseKeyCheckInterval']=setInterval(()=>{let _0x4f214b;for(const _0x6d0d7e in _0x352207){const _0x540ea2=_0x6d0d7e,_0x32fbaf=_0x352207[_0x540ea2];if('footnotesLicenseKeyValid'==_0x32fbaf||'footnotesLicenseKeyInvalid'==_0x32fbaf||'footnotesLicenseKeyExpired'==_0x32fbaf||'footnotesLicenseKeyDomainLimit'==_0x32fbaf||'footnotesLicenseKeyNotAllowed'==_0x32fbaf||'footnotesLicenseKeyEvaluationLimit'==_0x32fbaf||'footnotesLicenseKeyUsageLimit'==_0x32fbaf){delete _0x352207[_0x540ea2],_0x4f214b=_0x32fbaf,clearInterval(this['_licenseKeyCheckInterval']),this['_licenseKeyCheckInterval']=void 0x0;break;}}'footnotesLicenseKeyInvalid'==_0x4f214b&&_0x352207['_showLicenseError']('invalid'),'footnotesLicenseKeyExpired'==_0x4f214b&&_0x352207['_showLicenseError']('expired'),'footnotesLicenseKeyDomainLimit'==_0x4f214b&&_0x352207['_showLicenseError']('domainLimit'),'footnotesLicenseKeyNotAllowed'==_0x4f214b&&_0x352207['_showLicenseError']('featureNotAllowed','Footnotes'),'footnotesLicenseKeyEvaluationLimit'==_0x4f214b&&_0x352207['_showLicenseError']('evaluationLimit'),'footnotesLicenseKeyUsageLimit'==_0x4f214b&&_0x352207['_showLicenseError']('usageLimit');},0x3e8);}destroy(){super['destroy'](),this['_licenseKeyCheckInterval']&&clearInterval(this['_licenseKeyCheckInterval']);}};function Z(_0x3db138,_0x243197){const _0x32e4ba=_0x3db138['commands']['get']('insertFootnote');return _0x2c6b79=>{const {t:t}=_0x2c6b79,_0x2b2add=new _0x243197(_0x2c6b79),_0x3701b0=_0x2b2add instanceof _0x25d791;return _0x2b2add['bind']('isEnabled')['to'](_0x32e4ba,'isEnabled'),_0x2b2add['set']({'label':t(_0x3701b0?'Footnote':'Insert\x20footnote'),'icon':_0x292eb9,'tooltip':!0x0}),_0x2b2add['on']('execute',()=>{_0x32e4ba['execute'](),_0x3db138['editing']['view']['focus']();}),_0x2b2add;};}var tt=class extends _0x4a9476{static get['pluginName'](){return'Footnotes';}static get requires(){return[$,Q,Y];}static get['isOfficialPlugin'](){return!0x0;}static get['isPremiumPlugin'](){return!0x0;}};const et=['decimal','decimal-leading-zero','lower-latin','upper-latin','lower-roman','upper-roman'],ot=Object['create']({'lower-alpha':'lower-latin','upper-alpha':'upper-latin'}),nt=[...et,'arabic-indic','lower-alpha','upper-alpha'];var it=class extends _0x1528b7{['refresh'](){const {editor:_0x1007c2}=this,_0x47bc62=_0x1007c2['plugins']['get'](V)['getFootnotesDefinitionsObjectElement']();this['isEnabled']=!!_0x47bc62,this['value']=_0x47bc62?.['getAttribute']('footnotesListStyle')??null;}execute({value:_0x254315}){const {editor:_0x294338}=this,_0x4e042a=_0x294338['plugins']['get'](V),_0x18ccc5=_0x4e042a['getFootnotesDefinitionsObjectElement']();_0x18ccc5&&nt['includes'](_0x254315)&&_0x294338['model']['change'](_0x2d5825=>{_0x2d5825['setAttribute']('footnotesListStyle',_0x254315,_0x18ccc5),_0x4e042a['_updateFootnotesCounters'](_0x2d5825);});}},st=class extends _0x1528b7{['refresh'](){const {editor:_0x4e566e}=this,_0x231316=_0x4e566e['plugins']['get'](V)['getFootnotesDefinitionsObjectElement']();this['isEnabled']=!!_0x231316,this['value']=_0x231316?.['getAttribute']('footnotesListStart')??null;}execute({value:_0x2bbafc}){const {editor:_0xdccb2a}=this,_0x5b8f6b=_0xdccb2a['plugins']['get'](V),_0x1a3011=_0x5b8f6b['getFootnotesDefinitionsObjectElement']();_0x1a3011&&Number['isInteger'](_0x2bbafc)&&_0xdccb2a['model']['change'](_0x5cf7cd=>{_0x5cf7cd['setAttribute']('footnotesListStart',_0x2bbafc,_0x1a3011),_0x5b8f6b['_updateFootnotesCounters'](_0x5cf7cd);});}};function rt({style:_0x31d4d5,digits:_0x46ec96,value:_0x1ed7d4}){const _0x4c0655=Math['floor'](_0x1ed7d4),_0xe7e290=function(_0xe31057){switch(_0xe31057){case'lower-alpha':case'lower-latin':case'upper-alpha':case'upper-latin':return{'min':0x1,'max':0x1/0x0};case'lower-roman':case'upper-roman':return{'min':0x1,'max':0xf9f};default:return{'min':-0x1/0x0,'max':0x1/0x0};}}(_0x31d4d5);switch((_0x4c0655>_0xe7e290['max']||_0x4c0655<_0xe7e290['min'])&&(_0x31d4d5='decimal'),_0x31d4d5){case'decimal-leading-zero':return function(_0x228398,_0x555d7d){return String(_0x228398)['padStart'](_0x555d7d,'0');}(_0x4c0655,Math['max'](0x2,_0x46ec96));case'lower-alpha':case'lower-latin':return lt(_0x4c0655,!0x1);case'upper-alpha':case'upper-latin':return lt(_0x4c0655,!0x0);case'lower-roman':return ft(_0x4c0655,!0x1);case'upper-roman':return ft(_0x4c0655,!0x0);case'arabic-indic':return String(_0x4c0655)['replace'](/\d/g,_0x259f90=>ct[Number(_0x259f90)]);default:return String(_0x4c0655);}}function lt(_0x28482c,_0x2d806f){let _0x3d6630='',_0xeed25=_0x28482c;for(;_0xeed25>0x0;){const _0x3e87c3=(_0xeed25-0x1)%0x1a;_0x3d6630=String['fromCharCode'](0x61+_0x3e87c3)+_0x3d6630,_0xeed25=Math['floor']((_0xeed25-0x1)/0x1a);}return _0x2d806f?_0x3d6630['toUpperCase']():_0x3d6630;}const at=[{'value':0x3e8,'numeral':'M'},{'value':0x384,'numeral':'CM'},{'value':0x1f4,'numeral':'D'},{'value':0x190,'numeral':'CD'},{'value':0x64,'numeral':'C'},{'value':0x5a,'numeral':'XC'},{'value':0x32,'numeral':'L'},{'value':0x28,'numeral':'XL'},{'value':0xa,'numeral':'X'},{'value':0x9,'numeral':'IX'},{'value':0x5,'numeral':'V'},{'value':0x4,'numeral':'IV'},{'value':0x1,'numeral':'I'}];function ft(_0x4771a3,_0x49f61a){let _0x558ff3='',_0x33bd93=_0x4771a3;for(const {value:_0x237205,numeral:_0x196c2b}of at)for(;_0x33bd93>=_0x237205;)_0x558ff3+=_0x196c2b,_0x33bd93-=_0x237205;return _0x49f61a?_0x558ff3:_0x558ff3['toLowerCase']();}const ct=['٠','١','٢','٣','٤','٥','٦','٧','٨','٩'];var ut=class extends _0x4a9476{static get['pluginName'](){return'FootnotesPropertiesEditing';}static get requires(){return[$,V];}static get['isOfficialPlugin'](){return!0x0;}static get['isPremiumPlugin'](){return!0x0;}init(){const {editor:_0x245a61}=this;_0x245a61['config']['define']('footnotes.footnotesProperties.defaultListStyle','decimal'),_0x245a61['config']['define']('footnotes.footnotesProperties.defaultStartIndex',0x1),_0x245a61['config']['define']('footnotes.footnotesProperties.listStyles',[...et]),_0x245a61['commands']['add']('footnotesStyle',new it(_0x245a61)),_0x245a61['commands']['add']('footnotesStart',new st(_0x245a61)),this['_defineSchema'](),this['_defineConverters'](),this['_defineFormatter'](),this['_definePostfixer']();}['_defineSchema'](){const {editor:_0x40abf2}=this,{schema:_0x5c4d31}=_0x40abf2['model'];_0x5c4d31['extend']('footnotesDefinitions',{'allowAttributes':['footnotesListStyle','footnotesListStart']});}_defineConverters(){const {editor:_0x29749d}=this,{conversion:_0x23bfc3,model:_0x195e9f}=_0x29749d,{schema:_0x1af1c5}=_0x195e9f;_0x23bfc3['for']('upcast')['add'](_0xb2077d=>{_0xb2077d['on']('element:ol',(_0x332fdd,_0x485234,_0x275e12)=>{const _0x421f69=_0x485234['viewItem'],_0x4dec01=_0x485234['modelCursor']?.['parent'];_0x421f69['hasClass']('footnotes-list')&&_0x4dec01?.['is']('element','footnotesDefinitions')&&(function(_0x4dfb53,_0x2135ce,_0x2b308a,_0x52fa80){if(!_0x52fa80['checkAttribute'](_0x2135ce,'footnotesListStart'))return;let _0x45846a=0x1;const _0xb1bfc9=_0x2b308a['consumable']['consume'](_0x4dfb53,{'attributes':'start'});if(_0xb1bfc9){const _0x4e69a9=Number['parseInt'](_0x4dfb53['getAttribute']('start'),0xa);Number['isNaN'](_0x4e69a9)||(_0x45846a=_0x4e69a9);}!_0xb1bfc9&&_0x2135ce['hasAttribute']('footnotesListStart')||_0x2b308a['writer']['setAttribute']('footnotesListStart',_0x45846a,_0x2135ce);}(_0x421f69,_0x4dec01,_0x275e12,_0x1af1c5),function(_0x4dabfb,_0x199e22,_0x3b5bcb,_0x143048){if(!_0x143048['checkAttribute'](_0x199e22,'footnotesListStyle'))return;let _0x1eed43='decimal',_0x5bfdba=!0x1;if(_0x3b5bcb['consumable']['consume'](_0x4dabfb,{'attributes':'type'})){const _0x151c7c={0x1:'decimal','a':'lower-latin','A':'upper-latin','i':'lower-roman','I':'upper-roman'}[_0x4dabfb['getAttribute']('type')];_0x151c7c&&(_0x1eed43=_0x151c7c),_0x5bfdba=!0x0;}if(_0x3b5bcb['consumable']['consume'](_0x4dabfb,{'styles':'list-style-type'})){const _0x47588a=dt(_0x4dabfb['getStyle']('list-style-type'));_0x47588a&&(_0x1eed43=_0x47588a),_0x5bfdba=!0x0;}!_0x5bfdba&&_0x199e22['hasAttribute']('footnotesListStyle')||_0x3b5bcb['writer']['setAttribute']('footnotesListStyle',_0x1eed43,_0x199e22);}(_0x421f69,_0x4dec01,_0x275e12,_0x1af1c5));});}),_0x23bfc3['for']('downcast')['add'](_0x149012=>{_0x149012['on']('attribute:footnotesListStart:footnotesDefinitions',(_0x197517,_0x184f73,_0x15b363)=>{if(!_0x15b363['consumable']['consume'](_0x184f73['item'],_0x197517['name']))return;const _0xa474e3=ht(_0x184f73['item'],_0x15b363['mapper']),{attributeNewValue:_0x538389}=_0x184f73;null==_0x538389||0x1===_0x538389?_0x15b363['writer']['removeAttribute']('start',_0xa474e3):_0x15b363['writer']['setAttribute']('start',String(_0x538389),_0xa474e3);}),_0x149012['on']('attribute:footnotesListStyle:footnotesDefinitions',(_0x44fb8d,_0x318edf,_0xbf9135)=>{if(!_0xbf9135['consumable']['consume'](_0x318edf['item'],_0x44fb8d['name']))return;const _0xdbc262=ht(_0x318edf['item'],_0xbf9135['mapper']),{attributeNewValue:_0x5d24d9}=_0x318edf;_0x5d24d9&&'decimal'!==_0x5d24d9?_0xbf9135['writer']['setStyle']('list-style-type',_0x5d24d9,_0xdbc262):_0xbf9135['writer']['removeStyle']('list-style-type',_0xdbc262);});});}_definePostfixer(){const {editor:_0x3ab853}=this,{model:_0x1bffb6}=_0x3ab853,_0xda5e70=_0x3ab853['plugins']['get'](V),_0x1486c2=this['_getDefaultListStyle'](),_0x6ae180=this['_getDefaultStartIndex']();_0x1bffb6['document']['registerPostFixer'](_0x38bf1b=>{const _0x4e1bbf=_0x1bffb6['document']['differ']['getChanges']();let _0x313b22=!0x1;for(const _0x2ca07c of _0x4e1bbf){if('insert'!==_0x2ca07c['type']||'$text'===_0x2ca07c['name'])continue;const _0x527621=_0x1bffb6['createRangeOn'](_0x2ca07c['position']['nodeAfter']);for(const _0xacdc15 of _0x527621['getItems']())_0xacdc15['is']('element','footnotesDefinitions')&&(!_0xacdc15['hasAttribute']('footnotesListStart')&&_0x1bffb6['schema']['checkAttribute'](_0xacdc15,'footnotesListStart')&&(_0x38bf1b['setAttribute']('footnotesListStart',_0x6ae180,_0xacdc15),_0x313b22=!0x0),!_0xacdc15['hasAttribute']('footnotesListStyle')&&_0x1bffb6['schema']['checkAttribute'](_0xacdc15,'footnotesListStyle')&&(_0x38bf1b['setAttribute']('footnotesListStyle',_0x1486c2,_0xacdc15),_0x313b22=!0x0));}return _0x313b22&&_0xda5e70['_updateFootnotesCounters'](_0x38bf1b),_0x313b22;});}_defineFormatter(){const {editor:_0x27ddc9}=this;_0x27ddc9['plugins']['get'](V)['setFootnoteFormatter'](_0x243f02=>this['_formatFootnoteListValue'](_0x243f02));}_getDefaultListStyle(){return this['editor']['config']['get']('footnotes.footnotesProperties.defaultListStyle');}_getDefaultStartIndex(){return this['editor']['config']['get']('footnotes.footnotesProperties.defaultStartIndex');}_formatFootnoteListValue({container:_0x39e75b,value:_0x18c550,digits:_0x1b8564}){const _0xaa6533=_0x39e75b['getAttribute']('footnotesListStyle');return rt({'value':_0x18c550+(_0x39e75b['getAttribute']('footnotesListStart')??0x1)-0x1,'style':_0xaa6533,'digits':_0x1b8564});}};function dt(_0x158440){if('string'==typeof _0x158440){const _0x48a0ff=ot[_0x158440];if(_0x48a0ff)return _0x48a0ff;if(nt['includes'](_0x158440))return _0x158440;}return null;}function ht(_0x5cc2d3,_0x124927){const _0x192f6b=_0x124927['toViewElement'](_0x5cc2d3);return Array['from'](_0x192f6b['getChildren']())['find'](_0x17633e=>_0x17633e['is']('element','ol')&&_0x17633e['hasClass']('footnotes-list'));}var mt=class extends _0x40e420{['children'];stylesView=null;additionalProperties=null;startIndexFieldView=null;['focusTracker']=new _0x49cf72();keystrokes=new _0x460537();['focusables']=new _0x24d057();['focusCycler'];constructor(_0x534eb6,{styleButtonViews:_0x229d17,styleGridAriaLabel:_0x25c1ce}){super(_0x534eb6),(this['focusCycler']=new _0x3685ee({'focusables':this['focusables'],'focusTracker':this['focusTracker'],'keystrokeHandler':this['keystrokes'],'actions':{'focusPrevious':'shift\x20+\x20tab','focusNext':'tab'}}),this['children']=this['createCollection'](),this['stylesView']=this['_appendStylesView'](_0x229d17,_0x25c1ce),[this['startIndexFieldView'],this['additionalProperties']]=this['_appendAdditionalPropertiesCollapsibleView'](),this['setTemplate']({'tag':'div','attributes':{'class':['ck','ck-footnotes-definitions-properties']},'children':this['children']}));}['render'](){if(super['render'](),this['stylesView']){this['focusables']['add'](this['stylesView']),this['focusTracker']['add'](this['stylesView']['element']);for(const _0x20f24d of this['stylesView']['children'])this['stylesView']['focusTracker']['add'](_0x20f24d['element']);_0xa053a5({'keystrokeHandler':this['stylesView']['keystrokes'],'focusTracker':this['stylesView']['focusTracker'],'gridItems':this['stylesView']['children'],'numberOfColumns':()=>_0x365432['window']['getComputedStyle'](this['stylesView']['element'])['getPropertyValue']('grid-template-columns')['split']('\x20')['length'],'uiLanguageDirection':this['locale']&&this['locale']['uiLanguageDirection']});}if(this['startIndexFieldView']){this['focusables']['add'](this['startIndexFieldView']),this['focusTracker']['add'](this['startIndexFieldView']['element']);const _0x15e7fb=_0x36a804=>_0x36a804['stopPropagation']();this['keystrokes']['set']('arrowright',_0x15e7fb),this['keystrokes']['set']('arrowleft',_0x15e7fb),this['keystrokes']['set']('arrowup',_0x15e7fb),this['keystrokes']['set']('arrowdown',_0x15e7fb);}this['keystrokes']['listenTo'](this['element']);}['focus'](){this['focusCycler']['focusFirst']();}focusLast(){this['focusCycler']['focusLast']();}destroy(){super['destroy'](),this['focusTracker']['destroy'](),this['keystrokes']['destroy']();}_appendStylesView(_0x58109f,_0x1c5c2b){const _0xf3353b=new _0x40e420(this['locale']);return _0xf3353b['children']=_0xf3353b['createCollection'](),_0xf3353b['children']['addMany'](_0x58109f),_0xf3353b['setTemplate']({'tag':'div','attributes':{'aria-label':_0x1c5c2b,'class':['ck','ck-footnotes-definitions-styles-list']},'children':_0xf3353b['children']}),_0xf3353b['children']['delegate']('execute')['to'](this),_0xf3353b['focus']=function(){for(const _0x5a8867 of this['children'])if(_0x5a8867 instanceof _0x6e4efa&&_0x5a8867['isOn'])return void _0x5a8867['focus']();this['children']['first']['focus']();},_0xf3353b['focusTracker']=new _0x49cf72(),_0xf3353b['keystrokes']=new _0x460537(),_0xf3353b['render'](),_0xf3353b['keystrokes']['listenTo'](_0xf3353b['element']),this['children']['add'](_0xf3353b),_0xf3353b;}_appendAdditionalPropertiesCollapsibleView(){const {t:t}=this['locale'],_0x1f6a1f=this['_createStartIndexPropertyView'](),_0x2d65fa=[_0x1f6a1f],_0x5cc0fb=new _0x27e5aa(this['locale'],_0x2d65fa);return _0x5cc0fb['set']({'label':t('Footnotes\x20properties'),'isCollapsed':!0x0}),_0x5cc0fb['buttonView']['bind']('isEnabled')['toMany'](_0x2d65fa,'isEnabled',(..._0x13f7a0)=>_0x13f7a0['some'](_0x53001f=>_0x53001f)),_0x5cc0fb['buttonView']['on']('change:isEnabled',(_0x331461,_0x24761f,_0x27fec3)=>{_0x27fec3||(_0x5cc0fb['isCollapsed']=!0x0);}),this['children']['add'](_0x5cc0fb),[_0x1f6a1f,_0x5cc0fb];}_createStartIndexPropertyView(){const {t:t}=this['locale'],_0x14d485=new _0x4395ff(this['locale'],_0x139fca);return _0x14d485['set']({'label':t('Footnotes\x20start\x20at'),'class':'ck-footnotes-definitions-properties__start-index'}),_0x14d485['fieldView']['set']({'min':0x0,'max':Math['pow'](0x2,0x1e),'step':0x1,'value':0x1,'inputMode':'numeric'}),_0x14d485['fieldView']['on']('input',()=>{const _0x168412=_0x14d485['fieldView']['element'],_0x58da12=_0x168412['valueAsNumber'];Number['isNaN'](_0x58da12)?_0x14d485['errorText']=t('Invalid\x20footnotes\x20start\x20index\x20value.'):_0x168412['checkValidity']()?this['fire']('footnotesListStart',{'startIndex':_0x58da12}):_0x14d485['errorText']=t(_0x58da12<0x0?'Footnotes\x20start\x20index\x20must\x20be\x20greater\x20than\x200.':'Footnotes\x20start\x20index\x20is\x20too\x20large.');}),_0x14d485;}},pt=class extends _0x4a9476{static get['pluginName'](){return'FootnotesPropertiesUI';}static get requires(){return[_0x1dd236,_0x5c8e61];}static get['isOfficialPlugin'](){return!0x0;}static get['isPremiumPlugin'](){return!0x0;}init(){const {editor:_0x28a663}=this,{componentFactory:_0x538e03}=_0x28a663['ui'];_0x28a663['config']['define']('footnotes.footnotesProperties.toolbar',['footnotesStyle']),_0x538e03['add']('footnotesStyle',function(_0x374e6b){return _0x586540=>{const {t:t}=_0x586540,_0x288ac7=_0x374e6b['commands']['get']('footnotesStyle'),_0x1dedcd=_0xfc2b56(_0x586540),{buttonView:_0x5c912f}=_0x1dedcd;return _0x1dedcd['class']='ck-footnotes-styles-dropdown',_0x1dedcd['bind']('isEnabled')['to'](_0x288ac7,'isEnabled'),_0x5c912f['set']({'label':t('Footnotes\x20style'),'icon':_0x292eb9,'tooltip':!0x0}),_0x1dedcd['once']('change:isOpen',()=>{const _0x346f48=function({editor:_0x5da5cd,dropdownView:_0x19f7ca}){const {t:t}=_0x5da5cd['locale'],_0x15163f=t('Footnotes\x20definitions\x20styles'),_0x2df70d=function(_0x5cc47e){const {t:t}=_0x5cc47e['locale'],_0x164364=_0x5cc47e['config']['get']('footnotes.footnotesProperties.listStyles'),_0x5998ab=[{'style':'decimal','label':t('Toggle\x20the\x20decimal\x20footnotes\x20style'),'tooltip':t('Decimal\x20footnotes'),'icon':_0x17eee6},{'style':'decimal-leading-zero','label':t('Toggle\x20the\x20decimal\x20with\x20leading\x20zero\x20footnotes\x20style'),'tooltip':t('Decimal\x20footnotes\x20with\x20leading\x20zero'),'icon':_0x304761},{'style':'lower-roman','label':t('Toggle\x20the\x20lower-roman\x20footnotes\x20style'),'tooltip':t('Lower-roman\x20footnotes'),'icon':_0x450c7e},{'style':'upper-roman','label':t('Toggle\x20the\x20upper-roman\x20footnotes\x20style'),'tooltip':t('Upper-roman\x20footnotes'),'icon':_0x27531d},{'style':'lower-latin','label':t('Toggle\x20the\x20lower-latin\x20footnotes\x20style'),'tooltip':t('Lower-latin\x20footnotes'),'icon':_0x21952f},{'style':'upper-latin','label':t('Toggle\x20the\x20upper-latin\x20footnotes\x20style'),'tooltip':t('Upper-latin\x20footnotes'),'icon':_0x3ea1b8},{'style':'arabic-indic','label':t('Toggle\x20the\x20arabic-indic\x20footnotes\x20style'),'tooltip':t('Arabic-indic\x20footnotes'),'icon':_0x28eb26}];return _0x164364['map'](_0x599973=>{const _0xb4f3f=dt(_0x599973);return function(_0x58bfae,_0x5139ef){const {locale:_0x4b8051}=_0x58bfae,{label:_0xd4b624,icon:_0xd1ea9b,tooltip:_0x4a37ba,style:_0x5d4b1d}=_0x5139ef,_0x1f547f=_0x58bfae['commands']['get']('footnotesStyle'),_0x26409e=new _0x6e4efa(_0x4b8051);return _0x26409e['set']({'label':_0xd4b624,'icon':_0xd1ea9b,'tooltip':_0x4a37ba}),_0x26409e['bind']('isOn')['to'](_0x1f547f,'value',_0x6f558c=>_0x6f558c===_0x5d4b1d),_0x26409e['bind']('isEnabled')['to'](_0x1f547f,'isEnabled'),_0x26409e['on']('execute',()=>{_0x58bfae['execute']('footnotesStyle',{'value':_0x5d4b1d}),_0x58bfae['editing']['view']['focus']();}),_0x26409e;}(_0x5cc47e,_0x5998ab['find'](_0x4c1488=>_0x4c1488['style']===_0xb4f3f));});}(_0x5da5cd),_0x326131=new mt(_0x5da5cd['locale'],{'styleGridAriaLabel':_0x15163f,'styleButtonViews':_0x2df70d}),_0x2dc46f=_0x5da5cd['commands']['get']('footnotesStart');return _0x326131['startIndexFieldView']['bind']('isEnabled')['to'](_0x2dc46f),_0x326131['startIndexFieldView']['fieldView']['bind']('value')['to'](_0x2dc46f),_0x326131['on']('footnotesListStart',(_0x3cb94b,_0x3fb8cc)=>{_0x5da5cd['execute']('footnotesStart',{'value':_0x3fb8cc['startIndex']});}),_0x326131['delegate']('execute')['to'](_0x19f7ca),_0x326131;}({'editor':_0x374e6b,'dropdownView':_0x1dedcd});_0x1dedcd['panelView']['children']['add'](_0x346f48);}),_0x1dedcd;};}(_0x28a663));}afterInit(){const {editor:_0x54ec5a}=this,{t:t}=_0x54ec5a['locale'],_0xe1d5b5=_0x54ec5a['plugins']['get'](_0x5c8e61),{defaultPositions:_0xe8a430}=_0x9313c2;_0xe1d5b5['register']('footnotesDefinitions',{'ariaLabel':t('Footnotes\x20definitions\x20toolbar'),'items':_0x54ec5a['config']['get']('footnotes.footnotesProperties.toolbar'),'balloonClassName':'ck-footnotes-style-balloon\x20ck-toolbar-container','getRelatedElement':_0x53b88f=>{let _0x465d53=_0x53b88f['getFirstPosition']()?.['parent'];return _0x465d53?.['is']('$text')&&(_0x465d53=_0x465d53['parent']),_0x465d53?.['is']('element')?_0x465d53['findAncestor'](H):null;},'positions':[_0xe8a430['southArrowNorth'],_0xe8a430['southArrowNorthMiddleWest'],_0xe8a430['southArrowNorthMiddleEast'],_0xe8a430['southArrowNorthWest'],_0xe8a430['southArrowNorthEast'],_0xe8a430['northArrowSouth'],_0xe8a430['northArrowSouthMiddleWest'],_0xe8a430['northArrowSouthMiddleEast'],_0xe8a430['northArrowSouthWest'],_0xe8a430['northArrowSouthEast'],_0xe8a430['viewportStickyNorth']]});}},wt=class extends _0x4a9476{static get['pluginName'](){return'FootnotesProperties';}static get requires(){return[ut,pt];}static get['isOfficialPlugin'](){return!0x0;}static get['isPremiumPlugin'](){return!0x0;}};export{tt as Footnotes,Q as FootnotesClipboard,$ as FootnotesEditing,wt as FootnotesProperties,ut as FootnotesPropertiesEditing,pt as FootnotesPropertiesUI,st as FootnotesStartCommand,it as FootnotesStyleCommand,V as FootnotesTracker,Y as FootnotesUI,U as InsertFootnoteCommand};
|
package/dist/translations/af.js
CHANGED
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
export default{'af':{'dictionary':{'Footnote':'','Footnotes':'','Footnotes\x20properties':'','Footnotes\x20start\x20at':'','Invalid\x20footnotes\x20start\x20index\x20value.':'','Footnotes\x20start\x20index\x20is\x20too\x20large.':'','Footnotes\x20start\x20index\x20must\x20be\x20greater\x20than\x200.':'','Footnote\x20%0.\x20Press\x20ENTER\x20to\x20jump\x20to\x20footnote\x20definition.':'','Footnote\x20content.':'','Footnotes\x20definitions\x20styles':'','Footnotes\x20definitions\x20toolbar':'','Insert\x20footnote':'','Footnotes\x20style':'','Toggle\x20the\x20decimal\x20footnotes\x20style':'','Decimal\x20footnotes':'','Toggle\x20the\x20decimal\x20with\x20leading\x20zero\x20footnotes\x20style':'','Decimal\x20footnotes\x20with\x20leading\x20zero':'','Upper-roman\x20footnotes':'','Lower-latin\x20footnotes':'','Upper-latin\x20footnotes':'','Arabic-indic\x20footnotes':'','Lower-roman\x20footnotes':'','Toggle\x20the\x20lower-roman\x20footnotes\x20style':'','Toggle\x20the\x20upper-roman\x20footnotes\x20style':'','Toggle\x20the\x20lower-latin\x20footnotes\x20style':'','Toggle\x20the\x20upper-latin\x20footnotes\x20style':'','Toggle\x20the\x20arabic-indic\x20footnotes\x20style':''},'getPluralForm':
|
|
23
|
+
export default{'af':{'dictionary':{'Footnote':'','Footnotes':'','Footnotes\x20properties':'','Footnotes\x20start\x20at':'','Invalid\x20footnotes\x20start\x20index\x20value.':'','Footnotes\x20start\x20index\x20is\x20too\x20large.':'','Footnotes\x20start\x20index\x20must\x20be\x20greater\x20than\x200.':'','Footnote\x20%0.\x20Press\x20ENTER\x20to\x20jump\x20to\x20footnote\x20definition.':'','Footnote\x20content.':'','Footnotes\x20definitions\x20styles':'','Footnotes\x20definitions\x20toolbar':'','Insert\x20footnote':'','Footnotes\x20style':'','Toggle\x20the\x20decimal\x20footnotes\x20style':'','Decimal\x20footnotes':'','Toggle\x20the\x20decimal\x20with\x20leading\x20zero\x20footnotes\x20style':'','Decimal\x20footnotes\x20with\x20leading\x20zero':'','Upper-roman\x20footnotes':'','Lower-latin\x20footnotes':'','Upper-latin\x20footnotes':'','Arabic-indic\x20footnotes':'','Lower-roman\x20footnotes':'','Toggle\x20the\x20lower-roman\x20footnotes\x20style':'','Toggle\x20the\x20upper-roman\x20footnotes\x20style':'','Toggle\x20the\x20lower-latin\x20footnotes\x20style':'','Toggle\x20the\x20upper-latin\x20footnotes\x20style':'','Toggle\x20the\x20arabic-indic\x20footnotes\x20style':''},'getPluralForm':_0x6d8c66=>0x1!=_0x6d8c66}};
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
(
|
|
23
|
+
(_0x2d82b8=>{const {af:{dictionary:_0x1aefaa,getPluralForm:_0xc6c80e}}={'af':{'dictionary':{'Footnote':'','Footnotes':'','Footnotes\x20properties':'','Footnotes\x20start\x20at':'','Invalid\x20footnotes\x20start\x20index\x20value.':'','Footnotes\x20start\x20index\x20is\x20too\x20large.':'','Footnotes\x20start\x20index\x20must\x20be\x20greater\x20than\x200.':'','Footnote\x20%0.\x20Press\x20ENTER\x20to\x20jump\x20to\x20footnote\x20definition.':'','Footnote\x20content.':'','Footnotes\x20definitions\x20styles':'','Footnotes\x20definitions\x20toolbar':'','Insert\x20footnote':'','Footnotes\x20style':'','Toggle\x20the\x20decimal\x20footnotes\x20style':'','Decimal\x20footnotes':'','Toggle\x20the\x20decimal\x20with\x20leading\x20zero\x20footnotes\x20style':'','Decimal\x20footnotes\x20with\x20leading\x20zero':'','Upper-roman\x20footnotes':'','Lower-latin\x20footnotes':'','Upper-latin\x20footnotes':'','Arabic-indic\x20footnotes':'','Lower-roman\x20footnotes':'','Toggle\x20the\x20lower-roman\x20footnotes\x20style':'','Toggle\x20the\x20upper-roman\x20footnotes\x20style':'','Toggle\x20the\x20lower-latin\x20footnotes\x20style':'','Toggle\x20the\x20upper-latin\x20footnotes\x20style':'','Toggle\x20the\x20arabic-indic\x20footnotes\x20style':''},'getPluralForm':_0x4c6fbb=>0x1!=_0x4c6fbb}};_0x2d82b8['af']||={'dictionary':{},'getPluralForm':null},_0x2d82b8['af']['dictionary']=Object['assign'](_0x2d82b8['af']['dictionary'],_0x1aefaa),_0x2d82b8['af']['getPluralForm']=_0xc6c80e;})(window['CKEDITOR_TRANSLATIONS']||={});
|
package/dist/translations/ar.js
CHANGED
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
export default{'ar':{'dictionary':{'Footnote':'حاشية\x20سفلية','Footnotes':'الحواشي\x20السفلية','Footnotes\x20properties':'خصائص\x20الحواشي\x20السفلية','Footnotes\x20start\x20at':'تبدأ\x20الحواشي\x20السفلية\x20من','Invalid\x20footnotes\x20start\x20index\x20value.':'قيمة\x20مؤشر\x20بداية\x20الحواشي\x20السفلية\x20غير\x20صحيحة.','Footnotes\x20start\x20index\x20is\x20too\x20large.':'مؤشر\x20بداية\x20الحواشي\x20السفلية\x20كبير\x20للغاية.','Footnotes\x20start\x20index\x20must\x20be\x20greater\x20than\x200.':'يلزم\x20أن\x20يكون\x20مؤشر\x20بداية\x20الحواشي\x20السفلية\x20أكبر\x20من\x200.','Footnote\x20%0.\x20Press\x20ENTER\x20to\x20jump\x20to\x20footnote\x20definition.':'حاشية\x20سفلية\x20%0.\x20اضغط\x20على\x20مفتاح\x20الإدخال\x20(ENTER)\x20من\x20أجل\x20الانتقال\x20إلى\x20تعريف\x20الحاشية\x20السفلية.','Footnote\x20content.':'محتوى\x20الحاشية\x20السفلية.','Footnotes\x20definitions\x20styles':'أنماط\x20تعريفات\x20الحواشي\x20السفلية','Footnotes\x20definitions\x20toolbar':'شريط\x20أدوات\x20تعريفات\x20الحواشي\x20السفلية','Insert\x20footnote':'إدراج\x20حاشية\x20سفلية','Footnotes\x20style':'نمط\x20الحواشي\x20السفلية','Toggle\x20the\x20decimal\x20footnotes\x20style':'تبديل\x20نمط\x20الحواشي\x20السفلية\x20العشري','Decimal\x20footnotes':'الحواشي\x20السفلية\x20العشرية','Toggle\x20the\x20decimal\x20with\x20leading\x20zero\x20footnotes\x20style':'تبديل\x20العلامة\x20العشرية\x20بنمط\x20الحواشي\x20السفلية\x20بالصفر\x20البادئ','Decimal\x20footnotes\x20with\x20leading\x20zero':'حواشي\x20سفلية\x20عشرية\x20بالصفر\x20البادئ','Upper-roman\x20footnotes':'الحواشي\x20العلوية\x20الرومانية','Lower-latin\x20footnotes':'الحواشي\x20السفلية\x20اللاتينية','Upper-latin\x20footnotes':'الحواشي\x20العلوية\x20اللاتينية','Arabic-indic\x20footnotes':'حواشي\x20سفلية\x20بالأحرف\x20العربية\x20(الهندية)','Lower-roman\x20footnotes':'حواشي\x20سفلية\x20بالأحرف\x20الرومانية\x20الصغيرة','Toggle\x20the\x20lower-roman\x20footnotes\x20style':'تبديل\x20نمط\x20الحواشي\x20السفلية\x20بالأحرف\x20الرومانية\x20الصغيرة','Toggle\x20the\x20upper-roman\x20footnotes\x20style':'تبديل\x20نمط\x20الحواشي\x20السفلية\x20بالأحرف\x20الرومانية\x20الكبيرة','Toggle\x20the\x20lower-latin\x20footnotes\x20style':'تبديل\x20نمط\x20الحواشي\x20السفلية\x20بالأحرف\x20اللاتينية\x20الصغيرة','Toggle\x20the\x20upper-latin\x20footnotes\x20style':'تبديل\x20نمط\x20الحواشي\x20السفلية\x20بالأحرف\x20اللاتينية\x20الكبيرة','Toggle\x20the\x20arabic-indic\x20footnotes\x20style':'تبديل\x20نمط\x20الحواشي\x20السفلية\x20بالأحرف\x20العربية\x20(الهندية)'},'getPluralForm':
|
|
23
|
+
export default{'ar':{'dictionary':{'Footnote':'حاشية\x20سفلية','Footnotes':'الحواشي\x20السفلية','Footnotes\x20properties':'خصائص\x20الحواشي\x20السفلية','Footnotes\x20start\x20at':'تبدأ\x20الحواشي\x20السفلية\x20من','Invalid\x20footnotes\x20start\x20index\x20value.':'قيمة\x20مؤشر\x20بداية\x20الحواشي\x20السفلية\x20غير\x20صحيحة.','Footnotes\x20start\x20index\x20is\x20too\x20large.':'مؤشر\x20بداية\x20الحواشي\x20السفلية\x20كبير\x20للغاية.','Footnotes\x20start\x20index\x20must\x20be\x20greater\x20than\x200.':'يلزم\x20أن\x20يكون\x20مؤشر\x20بداية\x20الحواشي\x20السفلية\x20أكبر\x20من\x200.','Footnote\x20%0.\x20Press\x20ENTER\x20to\x20jump\x20to\x20footnote\x20definition.':'حاشية\x20سفلية\x20%0.\x20اضغط\x20على\x20مفتاح\x20الإدخال\x20(ENTER)\x20من\x20أجل\x20الانتقال\x20إلى\x20تعريف\x20الحاشية\x20السفلية.','Footnote\x20content.':'محتوى\x20الحاشية\x20السفلية.','Footnotes\x20definitions\x20styles':'أنماط\x20تعريفات\x20الحواشي\x20السفلية','Footnotes\x20definitions\x20toolbar':'شريط\x20أدوات\x20تعريفات\x20الحواشي\x20السفلية','Insert\x20footnote':'إدراج\x20حاشية\x20سفلية','Footnotes\x20style':'نمط\x20الحواشي\x20السفلية','Toggle\x20the\x20decimal\x20footnotes\x20style':'تبديل\x20نمط\x20الحواشي\x20السفلية\x20العشري','Decimal\x20footnotes':'الحواشي\x20السفلية\x20العشرية','Toggle\x20the\x20decimal\x20with\x20leading\x20zero\x20footnotes\x20style':'تبديل\x20العلامة\x20العشرية\x20بنمط\x20الحواشي\x20السفلية\x20بالصفر\x20البادئ','Decimal\x20footnotes\x20with\x20leading\x20zero':'حواشي\x20سفلية\x20عشرية\x20بالصفر\x20البادئ','Upper-roman\x20footnotes':'الحواشي\x20العلوية\x20الرومانية','Lower-latin\x20footnotes':'الحواشي\x20السفلية\x20اللاتينية','Upper-latin\x20footnotes':'الحواشي\x20العلوية\x20اللاتينية','Arabic-indic\x20footnotes':'حواشي\x20سفلية\x20بالأحرف\x20العربية\x20(الهندية)','Lower-roman\x20footnotes':'حواشي\x20سفلية\x20بالأحرف\x20الرومانية\x20الصغيرة','Toggle\x20the\x20lower-roman\x20footnotes\x20style':'تبديل\x20نمط\x20الحواشي\x20السفلية\x20بالأحرف\x20الرومانية\x20الصغيرة','Toggle\x20the\x20upper-roman\x20footnotes\x20style':'تبديل\x20نمط\x20الحواشي\x20السفلية\x20بالأحرف\x20الرومانية\x20الكبيرة','Toggle\x20the\x20lower-latin\x20footnotes\x20style':'تبديل\x20نمط\x20الحواشي\x20السفلية\x20بالأحرف\x20اللاتينية\x20الصغيرة','Toggle\x20the\x20upper-latin\x20footnotes\x20style':'تبديل\x20نمط\x20الحواشي\x20السفلية\x20بالأحرف\x20اللاتينية\x20الكبيرة','Toggle\x20the\x20arabic-indic\x20footnotes\x20style':'تبديل\x20نمط\x20الحواشي\x20السفلية\x20بالأحرف\x20العربية\x20(الهندية)'},'getPluralForm':_0x5cb286=>0x0==_0x5cb286?0x0:0x1==_0x5cb286?0x1:0x2==_0x5cb286?0x2:_0x5cb286%0x64>=0x3&&_0x5cb286%0x64<=0xa?0x3:_0x5cb286%0x64>=0xb?0x4:0x5}};
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
(
|
|
23
|
+
(_0x5f3e55=>{const {ar:{dictionary:_0x3fbf91,getPluralForm:_0xa995eb}}={'ar':{'dictionary':{'Footnote':'حاشية\x20سفلية','Footnotes':'الحواشي\x20السفلية','Footnotes\x20properties':'خصائص\x20الحواشي\x20السفلية','Footnotes\x20start\x20at':'تبدأ\x20الحواشي\x20السفلية\x20من','Invalid\x20footnotes\x20start\x20index\x20value.':'قيمة\x20مؤشر\x20بداية\x20الحواشي\x20السفلية\x20غير\x20صحيحة.','Footnotes\x20start\x20index\x20is\x20too\x20large.':'مؤشر\x20بداية\x20الحواشي\x20السفلية\x20كبير\x20للغاية.','Footnotes\x20start\x20index\x20must\x20be\x20greater\x20than\x200.':'يلزم\x20أن\x20يكون\x20مؤشر\x20بداية\x20الحواشي\x20السفلية\x20أكبر\x20من\x200.','Footnote\x20%0.\x20Press\x20ENTER\x20to\x20jump\x20to\x20footnote\x20definition.':'حاشية\x20سفلية\x20%0.\x20اضغط\x20على\x20مفتاح\x20الإدخال\x20(ENTER)\x20من\x20أجل\x20الانتقال\x20إلى\x20تعريف\x20الحاشية\x20السفلية.','Footnote\x20content.':'محتوى\x20الحاشية\x20السفلية.','Footnotes\x20definitions\x20styles':'أنماط\x20تعريفات\x20الحواشي\x20السفلية','Footnotes\x20definitions\x20toolbar':'شريط\x20أدوات\x20تعريفات\x20الحواشي\x20السفلية','Insert\x20footnote':'إدراج\x20حاشية\x20سفلية','Footnotes\x20style':'نمط\x20الحواشي\x20السفلية','Toggle\x20the\x20decimal\x20footnotes\x20style':'تبديل\x20نمط\x20الحواشي\x20السفلية\x20العشري','Decimal\x20footnotes':'الحواشي\x20السفلية\x20العشرية','Toggle\x20the\x20decimal\x20with\x20leading\x20zero\x20footnotes\x20style':'تبديل\x20العلامة\x20العشرية\x20بنمط\x20الحواشي\x20السفلية\x20بالصفر\x20البادئ','Decimal\x20footnotes\x20with\x20leading\x20zero':'حواشي\x20سفلية\x20عشرية\x20بالصفر\x20البادئ','Upper-roman\x20footnotes':'الحواشي\x20العلوية\x20الرومانية','Lower-latin\x20footnotes':'الحواشي\x20السفلية\x20اللاتينية','Upper-latin\x20footnotes':'الحواشي\x20العلوية\x20اللاتينية','Arabic-indic\x20footnotes':'حواشي\x20سفلية\x20بالأحرف\x20العربية\x20(الهندية)','Lower-roman\x20footnotes':'حواشي\x20سفلية\x20بالأحرف\x20الرومانية\x20الصغيرة','Toggle\x20the\x20lower-roman\x20footnotes\x20style':'تبديل\x20نمط\x20الحواشي\x20السفلية\x20بالأحرف\x20الرومانية\x20الصغيرة','Toggle\x20the\x20upper-roman\x20footnotes\x20style':'تبديل\x20نمط\x20الحواشي\x20السفلية\x20بالأحرف\x20الرومانية\x20الكبيرة','Toggle\x20the\x20lower-latin\x20footnotes\x20style':'تبديل\x20نمط\x20الحواشي\x20السفلية\x20بالأحرف\x20اللاتينية\x20الصغيرة','Toggle\x20the\x20upper-latin\x20footnotes\x20style':'تبديل\x20نمط\x20الحواشي\x20السفلية\x20بالأحرف\x20اللاتينية\x20الكبيرة','Toggle\x20the\x20arabic-indic\x20footnotes\x20style':'تبديل\x20نمط\x20الحواشي\x20السفلية\x20بالأحرف\x20العربية\x20(الهندية)'},'getPluralForm':_0x17ad12=>0x0==_0x17ad12?0x0:0x1==_0x17ad12?0x1:0x2==_0x17ad12?0x2:_0x17ad12%0x64>=0x3&&_0x17ad12%0x64<=0xa?0x3:_0x17ad12%0x64>=0xb?0x4:0x5}};_0x5f3e55['ar']||={'dictionary':{},'getPluralForm':null},_0x5f3e55['ar']['dictionary']=Object['assign'](_0x5f3e55['ar']['dictionary'],_0x3fbf91),_0x5f3e55['ar']['getPluralForm']=_0xa995eb;})(window['CKEDITOR_TRANSLATIONS']||={});
|
package/dist/translations/ast.js
CHANGED
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
export default{'ast':{'dictionary':{'Footnote':'','Footnotes':'','Footnotes\x20properties':'','Footnotes\x20start\x20at':'','Invalid\x20footnotes\x20start\x20index\x20value.':'','Footnotes\x20start\x20index\x20is\x20too\x20large.':'','Footnotes\x20start\x20index\x20must\x20be\x20greater\x20than\x200.':'','Footnote\x20%0.\x20Press\x20ENTER\x20to\x20jump\x20to\x20footnote\x20definition.':'','Footnote\x20content.':'','Footnotes\x20definitions\x20styles':'','Footnotes\x20definitions\x20toolbar':'','Insert\x20footnote':'','Footnotes\x20style':'','Toggle\x20the\x20decimal\x20footnotes\x20style':'','Decimal\x20footnotes':'','Toggle\x20the\x20decimal\x20with\x20leading\x20zero\x20footnotes\x20style':'','Decimal\x20footnotes\x20with\x20leading\x20zero':'','Upper-roman\x20footnotes':'','Lower-latin\x20footnotes':'','Upper-latin\x20footnotes':'','Arabic-indic\x20footnotes':'','Lower-roman\x20footnotes':'','Toggle\x20the\x20lower-roman\x20footnotes\x20style':'','Toggle\x20the\x20upper-roman\x20footnotes\x20style':'','Toggle\x20the\x20lower-latin\x20footnotes\x20style':'','Toggle\x20the\x20upper-latin\x20footnotes\x20style':'','Toggle\x20the\x20arabic-indic\x20footnotes\x20style':''},'getPluralForm':
|
|
23
|
+
export default{'ast':{'dictionary':{'Footnote':'','Footnotes':'','Footnotes\x20properties':'','Footnotes\x20start\x20at':'','Invalid\x20footnotes\x20start\x20index\x20value.':'','Footnotes\x20start\x20index\x20is\x20too\x20large.':'','Footnotes\x20start\x20index\x20must\x20be\x20greater\x20than\x200.':'','Footnote\x20%0.\x20Press\x20ENTER\x20to\x20jump\x20to\x20footnote\x20definition.':'','Footnote\x20content.':'','Footnotes\x20definitions\x20styles':'','Footnotes\x20definitions\x20toolbar':'','Insert\x20footnote':'','Footnotes\x20style':'','Toggle\x20the\x20decimal\x20footnotes\x20style':'','Decimal\x20footnotes':'','Toggle\x20the\x20decimal\x20with\x20leading\x20zero\x20footnotes\x20style':'','Decimal\x20footnotes\x20with\x20leading\x20zero':'','Upper-roman\x20footnotes':'','Lower-latin\x20footnotes':'','Upper-latin\x20footnotes':'','Arabic-indic\x20footnotes':'','Lower-roman\x20footnotes':'','Toggle\x20the\x20lower-roman\x20footnotes\x20style':'','Toggle\x20the\x20upper-roman\x20footnotes\x20style':'','Toggle\x20the\x20lower-latin\x20footnotes\x20style':'','Toggle\x20the\x20upper-latin\x20footnotes\x20style':'','Toggle\x20the\x20arabic-indic\x20footnotes\x20style':''},'getPluralForm':_0xa87989=>0x1!=_0xa87989}};
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
(
|
|
23
|
+
(_0x2d19fb=>{const {ast:{dictionary:_0x453a7a,getPluralForm:_0x391a8f}}={'ast':{'dictionary':{'Footnote':'','Footnotes':'','Footnotes\x20properties':'','Footnotes\x20start\x20at':'','Invalid\x20footnotes\x20start\x20index\x20value.':'','Footnotes\x20start\x20index\x20is\x20too\x20large.':'','Footnotes\x20start\x20index\x20must\x20be\x20greater\x20than\x200.':'','Footnote\x20%0.\x20Press\x20ENTER\x20to\x20jump\x20to\x20footnote\x20definition.':'','Footnote\x20content.':'','Footnotes\x20definitions\x20styles':'','Footnotes\x20definitions\x20toolbar':'','Insert\x20footnote':'','Footnotes\x20style':'','Toggle\x20the\x20decimal\x20footnotes\x20style':'','Decimal\x20footnotes':'','Toggle\x20the\x20decimal\x20with\x20leading\x20zero\x20footnotes\x20style':'','Decimal\x20footnotes\x20with\x20leading\x20zero':'','Upper-roman\x20footnotes':'','Lower-latin\x20footnotes':'','Upper-latin\x20footnotes':'','Arabic-indic\x20footnotes':'','Lower-roman\x20footnotes':'','Toggle\x20the\x20lower-roman\x20footnotes\x20style':'','Toggle\x20the\x20upper-roman\x20footnotes\x20style':'','Toggle\x20the\x20lower-latin\x20footnotes\x20style':'','Toggle\x20the\x20upper-latin\x20footnotes\x20style':'','Toggle\x20the\x20arabic-indic\x20footnotes\x20style':''},'getPluralForm':_0x1966bd=>0x1!=_0x1966bd}};_0x2d19fb['ast']||={'dictionary':{},'getPluralForm':null},_0x2d19fb['ast']['dictionary']=Object['assign'](_0x2d19fb['ast']['dictionary'],_0x453a7a),_0x2d19fb['ast']['getPluralForm']=_0x391a8f;})(window['CKEDITOR_TRANSLATIONS']||={});
|
package/dist/translations/az.js
CHANGED
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
export default{'az':{'dictionary':{'Footnote':'','Footnotes':'','Footnotes\x20properties':'','Footnotes\x20start\x20at':'','Invalid\x20footnotes\x20start\x20index\x20value.':'','Footnotes\x20start\x20index\x20is\x20too\x20large.':'','Footnotes\x20start\x20index\x20must\x20be\x20greater\x20than\x200.':'','Footnote\x20%0.\x20Press\x20ENTER\x20to\x20jump\x20to\x20footnote\x20definition.':'','Footnote\x20content.':'','Footnotes\x20definitions\x20styles':'','Footnotes\x20definitions\x20toolbar':'','Insert\x20footnote':'','Footnotes\x20style':'','Toggle\x20the\x20decimal\x20footnotes\x20style':'','Decimal\x20footnotes':'','Toggle\x20the\x20decimal\x20with\x20leading\x20zero\x20footnotes\x20style':'','Decimal\x20footnotes\x20with\x20leading\x20zero':'','Upper-roman\x20footnotes':'','Lower-latin\x20footnotes':'','Upper-latin\x20footnotes':'','Arabic-indic\x20footnotes':'','Lower-roman\x20footnotes':'','Toggle\x20the\x20lower-roman\x20footnotes\x20style':'','Toggle\x20the\x20upper-roman\x20footnotes\x20style':'','Toggle\x20the\x20lower-latin\x20footnotes\x20style':'','Toggle\x20the\x20upper-latin\x20footnotes\x20style':'','Toggle\x20the\x20arabic-indic\x20footnotes\x20style':''},'getPluralForm':
|
|
23
|
+
export default{'az':{'dictionary':{'Footnote':'','Footnotes':'','Footnotes\x20properties':'','Footnotes\x20start\x20at':'','Invalid\x20footnotes\x20start\x20index\x20value.':'','Footnotes\x20start\x20index\x20is\x20too\x20large.':'','Footnotes\x20start\x20index\x20must\x20be\x20greater\x20than\x200.':'','Footnote\x20%0.\x20Press\x20ENTER\x20to\x20jump\x20to\x20footnote\x20definition.':'','Footnote\x20content.':'','Footnotes\x20definitions\x20styles':'','Footnotes\x20definitions\x20toolbar':'','Insert\x20footnote':'','Footnotes\x20style':'','Toggle\x20the\x20decimal\x20footnotes\x20style':'','Decimal\x20footnotes':'','Toggle\x20the\x20decimal\x20with\x20leading\x20zero\x20footnotes\x20style':'','Decimal\x20footnotes\x20with\x20leading\x20zero':'','Upper-roman\x20footnotes':'','Lower-latin\x20footnotes':'','Upper-latin\x20footnotes':'','Arabic-indic\x20footnotes':'','Lower-roman\x20footnotes':'','Toggle\x20the\x20lower-roman\x20footnotes\x20style':'','Toggle\x20the\x20upper-roman\x20footnotes\x20style':'','Toggle\x20the\x20lower-latin\x20footnotes\x20style':'','Toggle\x20the\x20upper-latin\x20footnotes\x20style':'','Toggle\x20the\x20arabic-indic\x20footnotes\x20style':''},'getPluralForm':_0x4df849=>0x1!=_0x4df849}};
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
(
|
|
23
|
+
(_0x4442cc=>{const {az:{dictionary:_0x3b96cc,getPluralForm:_0x8b9dc5}}={'az':{'dictionary':{'Footnote':'','Footnotes':'','Footnotes\x20properties':'','Footnotes\x20start\x20at':'','Invalid\x20footnotes\x20start\x20index\x20value.':'','Footnotes\x20start\x20index\x20is\x20too\x20large.':'','Footnotes\x20start\x20index\x20must\x20be\x20greater\x20than\x200.':'','Footnote\x20%0.\x20Press\x20ENTER\x20to\x20jump\x20to\x20footnote\x20definition.':'','Footnote\x20content.':'','Footnotes\x20definitions\x20styles':'','Footnotes\x20definitions\x20toolbar':'','Insert\x20footnote':'','Footnotes\x20style':'','Toggle\x20the\x20decimal\x20footnotes\x20style':'','Decimal\x20footnotes':'','Toggle\x20the\x20decimal\x20with\x20leading\x20zero\x20footnotes\x20style':'','Decimal\x20footnotes\x20with\x20leading\x20zero':'','Upper-roman\x20footnotes':'','Lower-latin\x20footnotes':'','Upper-latin\x20footnotes':'','Arabic-indic\x20footnotes':'','Lower-roman\x20footnotes':'','Toggle\x20the\x20lower-roman\x20footnotes\x20style':'','Toggle\x20the\x20upper-roman\x20footnotes\x20style':'','Toggle\x20the\x20lower-latin\x20footnotes\x20style':'','Toggle\x20the\x20upper-latin\x20footnotes\x20style':'','Toggle\x20the\x20arabic-indic\x20footnotes\x20style':''},'getPluralForm':_0x486b3c=>0x1!=_0x486b3c}};_0x4442cc['az']||={'dictionary':{},'getPluralForm':null},_0x4442cc['az']['dictionary']=Object['assign'](_0x4442cc['az']['dictionary'],_0x3b96cc),_0x4442cc['az']['getPluralForm']=_0x8b9dc5;})(window['CKEDITOR_TRANSLATIONS']||={});
|
package/dist/translations/be.js
CHANGED
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
export default{'be':{'dictionary':{'Footnote':'','Footnotes':'','Footnotes\x20properties':'','Footnotes\x20start\x20at':'','Invalid\x20footnotes\x20start\x20index\x20value.':'','Footnotes\x20start\x20index\x20is\x20too\x20large.':'','Footnotes\x20start\x20index\x20must\x20be\x20greater\x20than\x200.':'','Footnote\x20%0.\x20Press\x20ENTER\x20to\x20jump\x20to\x20footnote\x20definition.':'','Footnote\x20content.':'','Footnotes\x20definitions\x20styles':'','Footnotes\x20definitions\x20toolbar':'','Insert\x20footnote':'','Footnotes\x20style':'','Toggle\x20the\x20decimal\x20footnotes\x20style':'','Decimal\x20footnotes':'','Toggle\x20the\x20decimal\x20with\x20leading\x20zero\x20footnotes\x20style':'','Decimal\x20footnotes\x20with\x20leading\x20zero':'','Upper-roman\x20footnotes':'','Lower-latin\x20footnotes':'','Upper-latin\x20footnotes':'','Arabic-indic\x20footnotes':'','Lower-roman\x20footnotes':'','Toggle\x20the\x20lower-roman\x20footnotes\x20style':'','Toggle\x20the\x20upper-roman\x20footnotes\x20style':'','Toggle\x20the\x20lower-latin\x20footnotes\x20style':'','Toggle\x20the\x20upper-latin\x20footnotes\x20style':'','Toggle\x20the\x20arabic-indic\x20footnotes\x20style':''},'getPluralForm':
|
|
23
|
+
export default{'be':{'dictionary':{'Footnote':'','Footnotes':'','Footnotes\x20properties':'','Footnotes\x20start\x20at':'','Invalid\x20footnotes\x20start\x20index\x20value.':'','Footnotes\x20start\x20index\x20is\x20too\x20large.':'','Footnotes\x20start\x20index\x20must\x20be\x20greater\x20than\x200.':'','Footnote\x20%0.\x20Press\x20ENTER\x20to\x20jump\x20to\x20footnote\x20definition.':'','Footnote\x20content.':'','Footnotes\x20definitions\x20styles':'','Footnotes\x20definitions\x20toolbar':'','Insert\x20footnote':'','Footnotes\x20style':'','Toggle\x20the\x20decimal\x20footnotes\x20style':'','Decimal\x20footnotes':'','Toggle\x20the\x20decimal\x20with\x20leading\x20zero\x20footnotes\x20style':'','Decimal\x20footnotes\x20with\x20leading\x20zero':'','Upper-roman\x20footnotes':'','Lower-latin\x20footnotes':'','Upper-latin\x20footnotes':'','Arabic-indic\x20footnotes':'','Lower-roman\x20footnotes':'','Toggle\x20the\x20lower-roman\x20footnotes\x20style':'','Toggle\x20the\x20upper-roman\x20footnotes\x20style':'','Toggle\x20the\x20lower-latin\x20footnotes\x20style':'','Toggle\x20the\x20upper-latin\x20footnotes\x20style':'','Toggle\x20the\x20arabic-indic\x20footnotes\x20style':''},'getPluralForm':_0x1ea292=>_0x1ea292%0xa==0x1&&_0x1ea292%0x64!=0xb?0x0:_0x1ea292%0xa>=0x2&&_0x1ea292%0xa<=0x4&&(_0x1ea292%0x64<0xa||_0x1ea292%0x64>=0x14)?0x1:0x2}};
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
(
|
|
23
|
+
(_0x1ef8d7=>{const {be:{dictionary:_0x42a4c9,getPluralForm:_0x380158}}={'be':{'dictionary':{'Footnote':'','Footnotes':'','Footnotes\x20properties':'','Footnotes\x20start\x20at':'','Invalid\x20footnotes\x20start\x20index\x20value.':'','Footnotes\x20start\x20index\x20is\x20too\x20large.':'','Footnotes\x20start\x20index\x20must\x20be\x20greater\x20than\x200.':'','Footnote\x20%0.\x20Press\x20ENTER\x20to\x20jump\x20to\x20footnote\x20definition.':'','Footnote\x20content.':'','Footnotes\x20definitions\x20styles':'','Footnotes\x20definitions\x20toolbar':'','Insert\x20footnote':'','Footnotes\x20style':'','Toggle\x20the\x20decimal\x20footnotes\x20style':'','Decimal\x20footnotes':'','Toggle\x20the\x20decimal\x20with\x20leading\x20zero\x20footnotes\x20style':'','Decimal\x20footnotes\x20with\x20leading\x20zero':'','Upper-roman\x20footnotes':'','Lower-latin\x20footnotes':'','Upper-latin\x20footnotes':'','Arabic-indic\x20footnotes':'','Lower-roman\x20footnotes':'','Toggle\x20the\x20lower-roman\x20footnotes\x20style':'','Toggle\x20the\x20upper-roman\x20footnotes\x20style':'','Toggle\x20the\x20lower-latin\x20footnotes\x20style':'','Toggle\x20the\x20upper-latin\x20footnotes\x20style':'','Toggle\x20the\x20arabic-indic\x20footnotes\x20style':''},'getPluralForm':_0x243344=>_0x243344%0xa==0x1&&_0x243344%0x64!=0xb?0x0:_0x243344%0xa>=0x2&&_0x243344%0xa<=0x4&&(_0x243344%0x64<0xa||_0x243344%0x64>=0x14)?0x1:0x2}};_0x1ef8d7['be']||={'dictionary':{},'getPluralForm':null},_0x1ef8d7['be']['dictionary']=Object['assign'](_0x1ef8d7['be']['dictionary'],_0x42a4c9),_0x1ef8d7['be']['getPluralForm']=_0x380158;})(window['CKEDITOR_TRANSLATIONS']||={});
|