@ckeditor/ckeditor5-footnotes 0.0.0-nightly-20251114.0 → 0.0.0-nightly-20251119.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/LICENSE.md +3 -3
- package/build/footnotes.js +1 -1
- 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/src/commands/insertfootnotecommand.js +1 -1
- package/src/footnotes.js +1 -1
- package/src/footnotesclipboard.js +1 -1
- package/src/footnotesediting.js +1 -1
- package/src/footnotesproperties/commands/footnotesstartcommand.js +1 -1
- package/src/footnotesproperties/commands/footnotesstylecommand.js +1 -1
- package/src/footnotesproperties/footnotespropertiesconfig.js +1 -1
- package/src/footnotesproperties/footnotespropertiesediting.js +1 -1
- package/src/footnotesproperties/footnotespropertiesui.js +1 -1
- package/src/footnotesproperties/ui/footnotesdefinitionspropertiesview.js +1 -1
- package/src/footnotesproperties.js +1 -1
- package/src/footnotestracker.js +1 -1
- package/src/footnotesui.js +1 -1
- package/src/index.js +1 -1
- package/src/modelelementtracker.js +1 -1
package/dist/index.js
CHANGED
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
import{Plugin as _0x5913ea,Command as _0x140aa0}from'@ckeditor/ckeditor5-core/dist/index.js';import{toWidget as _0x19e650,isWidget as _0x35cee1,toWidgetEditable as _0x2b2405,WidgetToolbarRepository as _0x1dcbe7}from'@ckeditor/ckeditor5-widget/dist/index.js';import{uid as _0x25d1da,logWarning as _0x2b72a7,FocusTracker as et,KeystrokeHandler as ot,global as rt}from'@ckeditor/ckeditor5-utils/dist/index.js';import{PointerObserver as _0x5a7bca,ClickObserver as _0x11c995}from'@ckeditor/ckeditor5-engine/dist/index.js';import{ClipboardPipeline as _0x46ff11}from'@ckeditor/ckeditor5-clipboard/dist/index.js';import{MenuBarMenuListItemButtonView as _0x408cf1,ButtonView as _0x431485,View as _0x1e5d32,ViewCollection as _0x3eddb9,FocusCycler as _0x5f1fd9,addKeyboardHandlingForGrid as _0x3de560,CollapsibleView as tt,LabeledFieldView as st,createLabeledInputNumber as it,ContextualBalloon as _0x42ed25,BalloonPanelView as _0x53c802,createDropdown as _0x235e41}from'@ckeditor/ckeditor5-ui/dist/index.js';import{IconFootnote as _0x263975,IconListStyleDecimal as _0x413f87,IconListStyleDecimalLeadingZero as _0x1ddf55,IconListStyleLowerRoman as _0x2ec325,IconListStyleUpperRoman as _0x16ae62,IconListStyleLowerLatin as _0x1bb37b,IconListStyleUpperLatin as _0x155f2b}from'@ckeditor/ckeditor5-icons/dist/index.js';class F{['_model'];['_elementName'];['_getElementKey'];['_trackedElements']=new Map();constructor(_0x19dcf3,_0x331fe2){this['_model']=_0x19dcf3,this['_elementName']=_0x331fe2['elementName'],this['_getElementKey']=_0x331fe2['getElementKey'];}['reset'](){this['_trackedElements']['clear']();}['getChanges'](_0x2232b1){const _0x1462a4=new Set(),_0x22cf0f=new Map();for(const _0x2855dc of _0x2232b1){if('insert'===_0x2855dc['type']&&'$text'!==_0x2855dc['name']&&_0x2855dc['position']['nodeAfter']){const _0x43541d=this['_model']['createRangeOn'](_0x2855dc['position']['nodeAfter']);for(const _0x47b874 of _0x43541d['getItems']()){if(!_0x47b874['is']('element',this['_elementName']))continue;const _0x34ebfa=this['_getElementKey'](_0x47b874);_0x22cf0f['has'](_0x34ebfa)||_0x22cf0f['set'](_0x34ebfa,[]),_0x22cf0f['get'](_0x34ebfa)['push'](_0x47b874);}}if('remove'===_0x2855dc['type']&&_0x2855dc['name']===this['_elementName']){const _0x281abb=this['_getElementKey']({'getAttribute':_0x43bf29=>_0x2855dc['attributes']['get'](_0x43bf29)});_0x1462a4['add'](_0x281abb);}}for(const [_0x1c06b5,_0x345d6c]of this['_trackedElements'])'$graveyard'===_0x345d6c['root']['rootName']&&_0x1462a4['add'](_0x1c06b5);for(const _0x20c25b of _0x1462a4)this['_trackedElements']['delete'](_0x20c25b);for(const [_0x383188,_0x5b0a47]of _0x22cf0f)this['_trackedElements']['set'](_0x383188,_0x5b0a47[_0x5b0a47['length']-0x1]);const _0x141461=new Set();for(const [_0x59918e,_0x412f9c]of _0x22cf0f)_0x1462a4['has'](_0x59918e)&&(_0x141461['add'](_0x412f9c[0x0]),_0x412f9c['length']>0x1?_0x22cf0f['set'](_0x59918e,_0x412f9c['slice'](0x1)):_0x22cf0f['delete'](_0x59918e),_0x1462a4['delete'](_0x59918e));return{'removed':Array['from'](_0x1462a4),'inserted':Array['from'](_0x22cf0f['values']())['flat'](),'moved':Array['from'](_0x141461)};}}class c extends _0x5913ea{['_footnotes']=[];['_footnotesDefinitions']=null;['_footnoteFormatter']=null;['_footnoteDefsContainerTracker'];['_footnoteRefsTracker'];['_footnoteDefsTracker'];static get['pluginName'](){return'FootnotesTracker';}static get['isOfficialPlugin'](){return!0x0;}static get['isPremiumPlugin'](){return!0x0;}constructor(_0x2a33b0){super(_0x2a33b0),this['_footnoteDefsContainerTracker']=new F(this['editor']['model'],{'elementName':'footnotesDefinitions','getElementKey':()=>'singleton'}),this['_footnoteRefsTracker']=new F(this['editor']['model'],{'elementName':'footnoteRef','getElementKey':_0x9d0013=>_0x9d0013['getAttribute']('footnoteId')}),this['_footnoteDefsTracker']=new F(this['editor']['model'],{'elementName':'footnoteDefinition','getElementKey':_0x58a0fa=>_0x58a0fa['getAttribute']('footnoteId')});}['init'](){const {editor:_0x264f75}=this,{model:_0x59f0ab,data:_0x35f8a4}=_0x264f75;_0x59f0ab['document']['registerPostFixer'](_0x953d4c=>{const _0x347206=_0x59f0ab['document']['differ']['getChanges']();let _0xf2acf8=!0x1;return this['_handleFootnotesDefinitionsObjectChanges'](_0x953d4c,_0x347206)&&(_0xf2acf8=!0x0),this['_handleFootnoteDefinitionsChanges'](_0x953d4c,_0x347206)&&(_0xf2acf8=!0x0),this['_handleFootnoteReferencesChanges'](_0x953d4c,_0x347206)&&(_0xf2acf8=!0x0),this['_ensureFootnotesReferencesHaveProperOrder'](_0x953d4c)&&(_0xf2acf8=!0x0),this['_handleFootnotesDefinitionsObjectSync'](_0x953d4c)&&(_0xf2acf8=!0x0),this['_sortFootnoteDefinitions'](_0x953d4c)&&(_0xf2acf8=!0x0),_0xf2acf8;}),this['listenTo'](_0x59f0ab['document'],'change:data',()=>{_0x59f0ab['enqueueChange']({'isUndoable':!0x1},_0x855ab4=>{this['_ensureFootnotesDefinitionsContainerExists'](_0x855ab4);});},{'priority':'low'}),this['listenTo'](_0x35f8a4,'set',()=>{this['_footnotes']=[],this['_footnoteDefsContainerTracker']['reset'](),this['_footnoteRefsTracker']['reset'](),this['_footnoteDefsTracker']['reset']();},{'priority':'high'});}['getFootnotesDefinitionsObjectElement'](){return this['_footnotesDefinitions'];}['getFootnote'](_0x34fb72){return this['_footnotes']['find'](_0x38e0e=>_0x38e0e['id']===_0x34fb72)||null;}['getFootnotes'](){return Array['from'](this['_footnotes']);}['getFootnotesFormatter'](){return this['_footnoteFormatter'];}['setFootnoteFormatter'](_0x9697a0){this['_footnoteFormatter']=_0x9697a0;}['_updateFootnotesCounters'](_0x1c8e4c,_0x3a780a=0x0){let _0x345592=!0x1;for(let _0x562a62=_0x3a780a;_0x562a62<this['_footnotes']['length'];_0x562a62++)this['_updateFootnoteRefCounter'](_0x1c8e4c,_0x562a62)&&(_0x345592=!0x0);return _0x345592;}['_insertEmptyFootnotesDefinitionsContainer'](_0x1ddccc,_0x461c9c){const _0x2efa7e=_0x1ddccc['createElement']('footnotesDefinitions',{});return _0x1ddccc['append'](_0x2efa7e,_0x461c9c),this['_footnotesDefinitions']=_0x2efa7e,_0x2efa7e;}['_ensureFootnotesDefinitionsContainerExists'](_0x4245a4){if(!this['_footnotes']['length']||this['_footnotesDefinitions'])return;const _0x519dbc=this['_footnotes'][0x0]['reference']['root'],_0x572329=this['_insertEmptyFootnotesDefinitionsContainer'](_0x4245a4,_0x519dbc);for(const _0x4f5357 of this['_footnotes'])_0x4f5357['definition']['parent']||_0x4245a4['insert'](_0x4f5357['definition'],_0x572329,'end');this['_updateFootnotesCounters'](_0x4245a4);}['_handleFootnotesDefinitionsObjectChanges'](_0x5c16f6,_0x54e13b){let _0x20f931=!0x1;const {inserted:_0x3d6509,removed:_0x5875e1,moved:_0x364048}=this['_footnoteDefsContainerTracker']['getChanges'](_0x54e13b);if(_0x364048['length']&&(this['_footnotesDefinitions']=_0x364048[0x0]),_0x3d6509['length']){if(_0x3d6509['length']>0x1||this['_footnotesDefinitions']&&_0x3d6509['some'](_0x2af710=>_0x2af710!==this['_footnotesDefinitions'])){const _0x24b41f=_0x5c16f6['createElement']('footnotesDefinitions',{}),_0x42b848=[];this['_footnotesDefinitions']&&_0x42b848['push'](this['_footnotesDefinitions']),_0x42b848['push'](..._0x3d6509),_0x5c16f6['insert'](_0x24b41f,_0x42b848[0x0],'before');for(const _0x40111c of _0x42b848)_0x5c16f6['move'](_0x5c16f6['createRangeIn'](_0x40111c),_0x5c16f6['createPositionAt'](_0x24b41f,'end')),_0x5c16f6['remove'](_0x40111c);this['_footnotesDefinitions']=_0x24b41f,this['_updateFootnotesCounters'](_0x5c16f6),_0x20f931=!0x0;}else this['_footnotesDefinitions']=_0x3d6509[0x0];}if(_0x5875e1['length']&&'$graveyard'===this['_footnotesDefinitions']?.['root']['rootName']){for(const _0x50eb3d of this['_footnotes'])_0x5c16f6['remove'](_0x50eb3d['reference']),_0x20f931=!0x0;this['_footnotes']=[],this['_footnotesDefinitions']=null;}return _0x20f931;}['_handleFootnoteDefinitionsChanges'](_0x1323f5,_0x51cf5f){let _0x21fe95=!0x1;const _0x2dce2e=this['editor']['config']['get']('footnotes.multiBlock'),{inserted:_0x4392b3,moved:_0x5a76f9}=this['_footnoteDefsTracker']['getChanges'](_0x51cf5f);for(const _0x45522f of[..._0x5a76f9,..._0x4392b3]){const _0x59bb90=_0x45522f['getAttribute']('footnoteId'),_0x307963=this['getFootnote'](_0x59bb90);_0x307963&&(_0x307963['definition']=_0x45522f),_(_0x1323f5,_0x2dce2e,_0x45522f)&&(_0x21fe95=!0x0);}return _0x21fe95;}['_handleFootnoteReferencesChanges'](_0x547551,_0x2a1854){let _0x482d65=!0x1;const {removed:_0x57e07c,inserted:_0x13d8b7,moved:_0x3d08ef}=this['_footnoteRefsTracker']['getChanges'](_0x2a1854);for(const _0x4db952 of _0x57e07c)this['_handleRemoveFootnoteReferenceById'](_0x547551,_0x4db952)&&(_0x482d65=!0x0);for(const _0x41e3c0 of _0x13d8b7)this['_handleInsertedFootnoteReference'](_0x547551,_0x41e3c0)&&(_0x482d65=!0x0);for(const _0x4b2329 of _0x3d08ef)this['_handleMovedFootnoteReference'](_0x547551,_0x4b2329)&&(_0x482d65=!0x0);return _0x482d65;}['_handleFootnotesDefinitionsObjectSync'](_0x464ef2){if(!this['_footnotesDefinitions'])return!0x1;let _0x16066=!0x1;if(this['_footnotesDefinitions']['childCount']!==this['_footnotes']['length']){const _0x4ecba4=[];for(const _0x584167 of this['_footnotesDefinitions']['getChildren']()){const _0x1a8787=_0x584167['getAttribute']('footnoteId');this['getFootnote'](_0x1a8787)||(_0x4ecba4['unshift'](_0x584167),_0x16066=!0x0);}for(const _0x5ea220 of _0x4ecba4)_0x464ef2['remove'](_0x5ea220);}const _0x472c88=new Set(),_0x352741=[];for(const _0x38fadb of this['_footnotesDefinitions']['getChildren']()){const _0xe7702e=_0x38fadb['getAttribute']('footnoteId');_0x472c88['has'](_0xe7702e)?(_0x352741['unshift'](_0x38fadb),_0x16066=!0x0):_0x472c88['add'](_0xe7702e);}for(const _0x5ee5e0 of _0x352741)_0x464ef2['remove'](_0x5ee5e0);return this['_footnotesDefinitions']['childCount']||(_0x464ef2['remove'](this['_footnotesDefinitions']),this['_footnotesDefinitions']=null,_0x16066=!0x0),_0x16066;}['_handleInsertedFootnoteReference'](_0x192bf7,_0x291a67){if(this['_footnotes']['find'](_0x55f54a=>_0x55f54a['reference']===_0x291a67))return!0x1;let _0x12e99a=!0x1;const _0x11de19=_0x291a67['getAttribute']('footnoteId'),_0x29d6c3=this['_footnotes']['findIndex'](_0x347edd=>_0x347edd['id']===_0x11de19);-0x1!==_0x29d6c3&&(_0x192bf7['remove'](this['_footnotes'][_0x29d6c3]['reference']),this['_footnotes']['splice'](_0x29d6c3,0x1),_0x12e99a=!0x0);let _0x2daa4b=this['_footnotesDefinitions']?function(_0x4fcf13,_0x3bb35d){for(const _0x5b1957 of _0x4fcf13['getChildren']())if(_0x5b1957['getAttribute']('footnoteId')===_0x3bb35d)return _0x5b1957;return null;}(this['_footnotesDefinitions'],_0x11de19):null;_0x2daa4b||(_0x2daa4b=_0x192bf7['createElement']('footnoteDefinition',{'footnoteId':_0x11de19}),this['_footnotesDefinitions']&&(_0x192bf7['insert'](_0x2daa4b,this['_footnotesDefinitions'],'end'),_0x12e99a=!0x0));const _0x49b207={'id':_0x11de19,'reference':_0x291a67,'definition':_0x2daa4b},_0xfca865=I(this['editor']['model'],this['_footnotes'],_0x291a67);this['_footnotes']['splice'](_0xfca865,0x0,_0x49b207);let _0xacc51=_0xfca865;return-0x1!==_0x29d6c3&&(_0xacc51=Math['min'](_0xfca865,_0x29d6c3)),this['_updateFootnotesCounters'](_0x192bf7,_0xacc51)&&(_0x12e99a=!0x0),_0x12e99a;}['_handleRemoveFootnoteReferenceById'](_0x3b43b3,_0x5e86a3){const _0x52a6a0=this['_footnotes']['findIndex'](_0x759623=>_0x759623['id']===_0x5e86a3);if(-0x1===_0x52a6a0)return!0x1;let _0x25c304=!0x1;const _0xe4e92d=this['_footnotes'][_0x52a6a0];return'$graveyard'!==_0xe4e92d['definition']['root']['rootName']&&(_0x3b43b3['remove'](_0xe4e92d['definition']),_0x25c304=!0x0),this['_footnotes']['splice'](_0x52a6a0,0x1),this['_updateFootnotesCounters'](_0x3b43b3,_0x52a6a0)&&(_0x25c304=!0x0),_0x25c304;}['_handleMovedFootnoteReference'](_0x5193fc,_0x6ec48c){const _0x5c506c=_0x6ec48c['getAttribute']('footnoteId'),_0x24c7bb=this['_footnotes']['findIndex'](_0x1602a3=>_0x1602a3['id']===_0x5c506c),_0x1f6590=this['_footnotes'][_0x24c7bb];let _0x49c5e9=!0x1;_0x1f6590['reference']=_0x6ec48c,this['_footnotes']['splice'](_0x24c7bb,0x1);const _0x5dbccd=I(this['editor']['model'],this['_footnotes'],_0x6ec48c);return this['_footnotes']['splice'](_0x5dbccd,0x0,_0x1f6590),this['_updateFootnotesCounters'](_0x5193fc,Math['min'](_0x24c7bb,_0x5dbccd))&&(_0x49c5e9=!0x0),_0x49c5e9;}['_updateFootnoteRefCounter'](_0xfcd4b3,_0x5748e5){if(!this['_footnotesDefinitions'])return!0x1;const _0x48853f=this['_footnotes'][_0x5748e5];let _0x2f7018;return _0x2f7018=this['_footnoteFormatter']?this['_footnoteFormatter']({'footnote':_0x48853f,'container':this['_footnotesDefinitions'],'digits':String(this['_footnotes']['length'])['length'],'value':_0x5748e5+0x1}):String(_0x5748e5+0x1),_0x48853f['reference']['getAttribute']('footnoteCounter')!=_0x2f7018&&(_0xfcd4b3['setAttribute']('footnoteCounter',_0x2f7018,_0x48853f['reference']),!0x0);}['_sortFootnoteDefinitions'](_0x844e61){if(!this['_footnotesDefinitions']||this['_footnotes']['length']<0x2)return!0x1;if(function(_0x447ead,_0x10a500){if(_0x447ead['length']!==_0x10a500['length'])return!0x1;for(let _0x9be9b1=0x0;_0x9be9b1<_0x447ead['length'];_0x9be9b1++)if(_0x447ead[_0x9be9b1]!==_0x10a500[_0x9be9b1])return!0x1;return!0x0;}(this['_footnotes']['map'](_0x478ac0=>_0x478ac0['id']),Array['from'](this['_footnotesDefinitions']['getChildren']())['map'](_0x2660d8=>_0x2660d8['getAttribute']('footnoteId'))))return!0x1;let _0x3ea81e=!0x1;for(let _0x225244=0x0;_0x225244<this['_footnotes']['length'];_0x225244++){const _0x473974=this['_footnotes'][_0x225244],_0x36dc3=_0x844e61['createPositionBefore'](_0x473974['definition']),_0x1791bf=_0x844e61['createPositionAt'](this['_footnotesDefinitions'],_0x225244);_0x36dc3['isEqual'](_0x1791bf)||(_0x844e61['move'](_0x844e61['createRangeOn'](_0x473974['definition']),_0x1791bf),_0x3ea81e=!0x0);}return _0x3ea81e;}['_ensureFootnotesReferencesHaveProperOrder'](_0xa423d1){if(!this['_footnotes']['length'])return!0x1;const {model:_0x4a44cd}=this['editor'];let _0x334d75=!0x1;for(let _0xd2dadc=0x0;_0xd2dadc<this['_footnotes']['length']-0x1;_0xd2dadc++){const _0x399ed6=this['_footnotes'][_0xd2dadc],_0x529146=this['_footnotes'][_0xd2dadc+0x1],_0x4c7117=_0x4a44cd['createPositionBefore'](_0x399ed6['reference']),_0x13067c=_0x4a44cd['createPositionBefore'](_0x529146['reference']);'after'===_0x4c7117['compareWith'](_0x13067c)&&(this['_handleMovedFootnoteReference'](_0xa423d1,_0x399ed6['reference']),_0xd2dadc=-0x1,_0x334d75=!0x0);}return _0x334d75;}}function _(_0x16cd47,_0x48110e,_0x3ffd37){if(_0x3ffd37['childCount'])return!0x1;const _0x3bd73a=_0x48110e?'paragraph':'footnoteInlineContent';return _0x16cd47['insert'](_0x16cd47['createElement'](_0x3bd73a),_0x3ffd37),!0x0;}function I(_0x1b1b9f,_0x5d3e59,_0x48b38e){if(0x0===_0x5d3e59['length'])return 0x0;const _0x5372e6=_0x1b1b9f['createPositionBefore'](_0x48b38e);for(let _0x4e6a8d=0x0;_0x4e6a8d<_0x5d3e59['length'];_0x4e6a8d++){const _0x12990c=_0x5d3e59[_0x4e6a8d],_0x337aeb=_0x1b1b9f['createPositionBefore'](_0x12990c['reference']);if('before'===_0x5372e6['compareWith'](_0x337aeb))return _0x4e6a8d;}const _0x541b4d=_0x48b38e['root'];let _0xbb0005=-0x1;for(let _0x5f03f6=_0x5d3e59['length']-0x1;_0x5f03f6>=0x0;_0x5f03f6--)if(_0x5d3e59[_0x5f03f6]['reference']['root']===_0x541b4d){_0xbb0005=_0x5f03f6;break;}if(-0x1!==_0xbb0005)return _0xbb0005+0x1;const _0x2d50ba=_0x1b1b9f['document']['getRootNames'](),_0x31bfab=_0x2d50ba['indexOf'](_0x541b4d['rootName']),_0x32ae0e=_0x2d50ba[_0x31bfab+0x1];if(_0x32ae0e){for(let _0xbfe4da=0x0;_0xbfe4da<_0x5d3e59['length'];_0xbfe4da++)if(_0x5d3e59[_0xbfe4da]['reference']['root']['rootName']===_0x32ae0e)return _0xbfe4da;}return _0x5d3e59['length'];}class m extends _0x140aa0{['refresh'](){const _0x2d2ec7=this['editor']['model']['document']['selection'],_0x4a4878=this['_getPositionToInsertFootnote'](_0x2d2ec7);this['isEnabled']=!!_0x4a4878;}['execute'](_0x52ab38){const {editor:_0x4eb9c8}=this,{model:_0xf37c00}=_0x4eb9c8,{selection:_0x4f588a}=_0xf37c00['document'],_0xd7344f=this['_getPositionToInsertFootnote'](_0x4f588a);if(!_0xd7344f)return;const _0x1ad4ff=_0x4eb9c8['plugins']['get']('FootnotesEditing'),_0x211b89=_0x52ab38?.['footnoteId']??_0x25d1da();!function(_0x57f4fc){return'string'==typeof _0x57f4fc&&_0x57f4fc['length']>0x0&&!/\s/['test'](_0x57f4fc)&&!/^\d/['test'](_0x57f4fc);}(_0x211b89)?_0x2b72a7('insert-footnote-command-executed-with-invalid-id'):(_0xf37c00['change'](_0x313bc7=>{const _0x4ee8e6=_0x313bc7['createElement']('footnoteRef',{'footnoteId':_0x211b89});_0xf37c00['insertObject'](_0x4ee8e6,_0xd7344f,null);}),_0x1ad4ff['_moveSelectionToFootnoteDefinition'](_0x211b89));}['_getPositionToInsertFootnote'](_0x127bb7){const {model:_0x2dee99}=this['editor'],{schema:_0xa53553}=_0x2dee99,_0x393221=_0x127bb7['getFirstRange']();for(const _0x1ffd2f of _0x393221['getItems']())if(_0xa53553['isBlock'](_0x1ffd2f)||_0xa53553['isObject'](_0x1ffd2f))return null;const _0x2265d0=_0x393221['end'];return _0xa53553['checkChild'](_0x2265d0,'footnoteRef')?_0x2265d0:null;}}class r extends _0x5913ea{static get['pluginName'](){return'FootnotesEditing';}static get['requires'](){return[c];}static get['isOfficialPlugin'](){return!0x0;}static get['isPremiumPlugin'](){return!0x0;}['init'](){const {editor:_0x2a3cd0}=this;_0x2a3cd0['config']['define']('footnotes.multiBlock',!0x0),_0x2a3cd0['commands']['add']('insertFootnote',new m(_0x2a3cd0)),this['_defineSchema'](),this['_defineRefsConverters'](),this['_defineDefinitionsConverters'](),this['_defineDefinitionConverters'](),this['_defineBogusParagraphConverters'](),this['_defineKeyboardHandlers'](),this['_defineClickHandlers']();}['afterInit'](){!async function(_0x10f0f1){const _0x296ef3=_0x32328c([0x75,0x6e,0x53,0x62,0x47,0x70,0x6d,0x69,0x6a,0x41,0x77,0x79,0x72,0x4f,0x7a,0x64,0x5a,0x68,0x43,0x71,0x54,0x33,0x59,0x4c,0x46,0x56,0x74,0x4a,0x6c,0x6b,0x44,0x61,0x67,0x31,0x57,0x4d,0x4e,0x78,0x52,0x34,0x48,0x36,0x37,0x49,0x42,0x35,0x51,0x6f,0x58,0x30,0x32,0x38,0x39,0x63,0x55,0x73,0x76,0x50,0x45,0x65,0x66,0x4b]),_0x2d282b=0x47a28506,_0x1d9ed1=0x47a5fc16^_0x2d282b,_0x56693e=window[_0x32328c([0x44,0x61,0x74,0x65])][_0x32328c([0x6e,0x6f,0x77])](),_0x542888=_0x10f0f1[_0x32328c([0x65,0x64,0x69,0x74,0x6f,0x72])],_0xa0f45b=new window[(_0x32328c([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0x418044=>{_0x542888[_0x32328c([0x6f,0x6e,0x63,0x65])](_0x32328c([0x72,0x65,0x61,0x64,0x79]),_0x418044);}),_0x25f7b0={[_0x32328c([0x6b,0x74,0x79])]:_0x32328c([0x45,0x43]),[_0x32328c([0x75,0x73,0x65])]:_0x32328c([0x73,0x69,0x67]),[_0x32328c([0x63,0x72,0x76])]:_0x32328c([0x50,0x2d,0x32,0x35,0x36]),[_0x32328c([0x78])]:_0x32328c([0x69,0x43,0x6a,0x4f,0x43,0x76,0x44,0x46,0x49,0x36,0x6c,0x51,0x48,0x48,0x54,0x31,0x38,0x6a,0x56,0x77,0x52,0x66,0x6b,0x66,0x48,0x51,0x32,0x61,0x5f,0x4d,0x79,0x6d,0x54,0x33,0x35,0x4c,0x51,0x56,0x6f,0x46,0x53,0x41,0x49]),[_0x32328c([0x79])]:_0x32328c([0x6b,0x58,0x49,0x79,0x4a,0x34,0x65,0x76,0x74,0x43,0x45,0x46,0x52,0x6d,0x78,0x4b,0x53,0x55,0x70,0x4b,0x39,0x66,0x44,0x57,0x34,0x35,0x39,0x76,0x58,0x4f,0x76,0x56,0x72,0x68,0x66,0x36,0x75,0x51,0x41,0x65,0x4f,0x69,0x6f]),[_0x32328c([0x61,0x6c,0x67])]:_0x32328c([0x45,0x53,0x32,0x35,0x36])},_0x330fbc=_0x542888[_0x32328c([0x63,0x6f,0x6e,0x66,0x69,0x67])][_0x32328c([0x67,0x65,0x74])](_0x32328c([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x4b,0x65,0x79]));async function _0x1fb977(){let _0x4b1eda,_0x2b010a=null,_0x3b9489=null;try{if(_0x330fbc==_0x32328c([0x47,0x50,0x4c]))return _0x32328c([0x4e,0x6f,0x74,0x41,0x6c,0x6c,0x6f,0x77,0x65,0x64]);if(_0x4b1eda=_0x790503(),!_0x4b1eda)return _0x32328c([0x49,0x6e,0x76,0x61,0x6c,0x69,0x64]);return _0x4b1eda[_0x32328c([0x75,0x73,0x61,0x67,0x65,0x45,0x6e,0x64,0x70,0x6f,0x69,0x6e,0x74])]&&(_0x3b9489=_0x4a4341(_0x4b1eda[_0x32328c([0x75,0x73,0x61,0x67,0x65,0x45,0x6e,0x64,0x70,0x6f,0x69,0x6e,0x74])],_0x4b1eda[_0x32328c([0x6a,0x74,0x69])])),await _0x103c6c()?_0x37ce1f()?_0x4d29d4()?_0x32328c([0x45,0x78,0x70,0x69,0x72,0x65,0x64]):_0x1adccd()?(_0x4b1eda[_0x32328c([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x54,0x79,0x70,0x65])]==_0x32328c([0x65,0x76,0x61,0x6c,0x75,0x61,0x74,0x69,0x6f,0x6e])&&(_0x2b010a=_0x27e09c(_0x32328c([0x45,0x76,0x61,0x6c,0x75,0x61,0x74,0x69,0x6f,0x6e,0x4c,0x69,0x6d,0x69,0x74]))),_0x4b1eda[_0x32328c([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x54,0x79,0x70,0x65])]==_0x32328c([0x74,0x72,0x69,0x61,0x6c])&&(_0x2b010a=_0x27e09c(_0x32328c([0x54,0x72,0x69,0x61,0x6c,0x4c,0x69,0x6d,0x69,0x74]))),await _0x73c1b0()):_0x32328c([0x44,0x6f,0x6d,0x61,0x69,0x6e,0x4c,0x69,0x6d,0x69,0x74]):_0x32328c([0x4e,0x6f,0x74,0x41,0x6c,0x6c,0x6f,0x77,0x65,0x64]):_0x32328c([0x49,0x6e,0x76,0x61,0x6c,0x69,0x64]);}catch{return _0x32328c([0x49,0x6e,0x76,0x61,0x6c,0x69,0x64]);}function _0x4d29d4(){const _0x1138c3=[_0x32328c([0x65,0x76,0x61,0x6c,0x75,0x61,0x74,0x69,0x6f,0x6e]),_0x32328c([0x74,0x72,0x69,0x61,0x6c])][_0x32328c([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x4b1eda[_0x32328c([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x54,0x79,0x70,0x65])])?_0x56693e/0x3e8:0xe10*_0x1d9ed1;return _0x4b1eda[_0x32328c([0x65,0x78,0x70])]<_0x1138c3;}function _0x37ce1f(){const _0x400684=_0x4b1eda[_0x32328c([0x66,0x65,0x61,0x74,0x75,0x72,0x65,0x73])];return!!_0x400684&&(!!_0x400684[_0x32328c([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x32328c([0x2a]))||!!_0x400684[_0x32328c([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x32328c([0x46,0x4f,0x4f])));}function _0x1adccd(){const _0x1289f4=_0x4b1eda[_0x32328c([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x64,0x48,0x6f,0x73,0x74,0x73])];if(!_0x1289f4||0x0==_0x1289f4[_0x32328c([0x6c,0x65,0x6e,0x67,0x74,0x68])])return!0x0;const {hostname:_0x576d10}=new URL(window[_0x32328c([0x6c,0x6f,0x63,0x61,0x74,0x69,0x6f,0x6e])]['href']);if(_0x1289f4[_0x32328c([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x576d10))return!0x0;const _0x28bc45=_0x576d10[_0x32328c([0x73,0x70,0x6c,0x69,0x74])](_0x32328c([0x2e]));return _0x1289f4[_0x32328c([0x66,0x69,0x6c,0x74,0x65,0x72])](_0x5c3c23=>_0x5c3c23[_0x32328c([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x32328c([0x2a])))[_0x32328c([0x6d,0x61,0x70])](_0x1d58cf=>_0x1d58cf[_0x32328c([0x73,0x70,0x6c,0x69,0x74])](_0x32328c([0x2e])))[_0x32328c([0x66,0x69,0x6c,0x74,0x65,0x72])](_0x35f9ec=>_0x35f9ec[_0x32328c([0x6c,0x65,0x6e,0x67,0x74,0x68])]<=_0x28bc45[_0x32328c([0x6c,0x65,0x6e,0x67,0x74,0x68])])[_0x32328c([0x6d,0x61,0x70])](_0x761c67=>Array(_0x28bc45[_0x32328c([0x6c,0x65,0x6e,0x67,0x74,0x68])]-_0x761c67[_0x32328c([0x6c,0x65,0x6e,0x67,0x74,0x68])])[_0x32328c([0x66,0x69,0x6c,0x6c])](_0x761c67[0x0]===_0x32328c([0x2a])?_0x32328c([0x2a]):'')[_0x32328c([0x63,0x6f,0x6e,0x63,0x61,0x74])](_0x761c67))[_0x32328c([0x73,0x6f,0x6d,0x65])](_0x109c9c=>_0x28bc45[_0x32328c([0x65,0x76,0x65,0x72,0x79])]((_0x19755b,_0x1290c0)=>_0x109c9c[_0x1290c0]===_0x19755b||_0x109c9c[_0x1290c0]===_0x32328c([0x2a])));}function _0x73c1b0(){return _0x2b010a&&_0x3b9489?new window[(_0x32328c([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))]((_0xad60a2,_0x1fe286)=>{_0x2b010a[_0x32328c([0x74,0x68,0x65,0x6e])](_0xad60a2,_0x1fe286),_0x3b9489[_0x32328c([0x74,0x68,0x65,0x6e])](_0x5a0859=>{_0x5a0859!=_0x32328c([0x56,0x61,0x6c,0x69,0x64])&&_0xad60a2(_0x5a0859);},_0x1fe286);}):_0x2b010a||_0x3b9489||_0x32328c([0x56,0x61,0x6c,0x69,0x64]);}}function _0x4a4341(_0x2c95aa,_0x1997bd){return new window[(_0x32328c([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0x2eb43c=>{if(_0x2fc2e6())return _0x2eb43c(_0x32328c([0x56,0x61,0x6c,0x69,0x64]));_0x84bf8b(),_0x542888[_0x32328c([0x64,0x65,0x63,0x6f,0x72,0x61,0x74,0x65])](_0x32328c([0x5f,0x73,0x65,0x6e,0x64,0x55,0x73,0x61,0x67,0x65,0x52,0x65,0x71,0x75,0x65,0x73,0x74]));let _0x195788=!0x1;const _0x11a71b=_0x25d1da();function _0x52d9d4(_0x3d1746){return!!_0x3d1746&&(typeof _0x3d1746===_0x32328c([0x6f,0x62,0x6a,0x65,0x63,0x74])||typeof _0x3d1746===_0x32328c([0x66,0x75,0x6e,0x63,0x74,0x69,0x6f,0x6e]))&&typeof _0x3d1746[_0x32328c([0x74,0x68,0x65,0x6e])]===_0x32328c([0x66,0x75,0x6e,0x63,0x74,0x69,0x6f,0x6e])&&typeof _0x3d1746[_0x32328c([0x63,0x61,0x74,0x63,0x68])]===_0x32328c([0x66,0x75,0x6e,0x63,0x74,0x69,0x6f,0x6e]);}function _0x3b41ae(_0x512b93){_0x46c6fb(_0x512b93)[_0x32328c([0x74,0x68,0x65,0x6e])](_0x340164=>{if(!_0x340164||_0x340164[_0x32328c([0x73,0x74,0x61,0x74,0x75,0x73])]!=_0x32328c([0x6f,0x6b]))return _0x32328c([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]);return _0x3f67d3(_0xa08ecd(_0x11a71b+_0x1997bd))!=_0x340164[_0x32328c([0x76,0x65,0x72,0x69,0x66,0x69,0x63,0x61,0x74,0x69,0x6f,0x6e])]?_0x32328c([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]):_0x32328c([0x56,0x61,0x6c,0x69,0x64]);})[_0x32328c([0x74,0x68,0x65,0x6e])](_0x5bb51c=>(_0x3b74bb(),_0x5bb51c),()=>{const _0x2fa263=_0x3d41e3();return null==_0x2fa263?(_0x3b74bb(),_0x32328c([0x56,0x61,0x6c,0x69,0x64])):_0x32328c(_0x56693e-_0x2fa263>(0x63ae0106^_0x2d282b)?[0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]:[0x56,0x61,0x6c,0x69,0x64]);})[_0x32328c([0x74,0x68,0x65,0x6e])](_0x2eb43c)[_0x32328c([0x63,0x61,0x74,0x63,0x68])](()=>{_0x2eb43c(_0x32328c([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]));});const _0x43a44b=0x47946b86^_0x2d282b;function _0x3b74bb(){const _0x5c3dfe=_0x32328c([0x6c,0x6c,0x63,0x74,0x2d])+_0x3f67d3(_0xa08ecd(_0x2c95aa)),_0x23847f=_0x4e01b8(_0x3f67d3(window[_0x32328c([0x4d,0x61,0x74,0x68])][_0x32328c([0x63,0x65,0x69,0x6c])](_0x56693e/_0x43a44b)));window[_0x32328c([0x6c,0x6f,0x63,0x61,0x6c,0x53,0x74,0x6f,0x72,0x61,0x67,0x65])][_0x32328c([0x73,0x65,0x74,0x49,0x74,0x65,0x6d])](_0x5c3dfe,_0x23847f);}function _0x3d41e3(){const _0x2c9969=_0x32328c([0x6c,0x6c,0x63,0x74,0x2d])+_0x3f67d3(_0xa08ecd(_0x2c95aa)),_0x3f4696=window[_0x32328c([0x6c,0x6f,0x63,0x61,0x6c,0x53,0x74,0x6f,0x72,0x61,0x67,0x65])][_0x32328c([0x67,0x65,0x74,0x49,0x74,0x65,0x6d])](_0x2c9969);return _0x3f4696?window[_0x32328c([0x70,0x61,0x72,0x73,0x65,0x49,0x6e,0x74])](_0x4e01b8(_0x3f4696),0x10)*_0x43a44b:null;}function _0x46c6fb(_0x3b74c7){return new window[(_0x32328c([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))]((_0x35ca06,_0x510201)=>{_0x3b74c7[_0x32328c([0x74,0x68,0x65,0x6e])](_0x35ca06,_0x510201),window[_0x32328c([0x73,0x65,0x74,0x54,0x69,0x6d,0x65,0x6f,0x75,0x74])](_0x510201,0x47a351c6^_0x2d282b);});}}_0x542888[_0x32328c([0x6f,0x6e])](_0x32328c([0x5f,0x73,0x65,0x6e,0x64,0x55,0x73,0x61,0x67,0x65,0x52,0x65,0x71,0x75,0x65,0x73,0x74]),(_0x235113,_0xee7921)=>{if(_0xee7921[0x0]!=_0x2c95aa)return _0x2eb43c(_0x32328c([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]));_0xee7921[0x1]={..._0xee7921[0x1],[_0x32328c([0x72,0x65,0x71,0x75,0x65,0x73,0x74,0x49,0x64])]:_0x11a71b};},{[_0x32328c([0x70,0x72,0x69,0x6f,0x72,0x69,0x74,0x79])]:_0x32328c([0x68,0x69,0x67,0x68])}),_0x542888[_0x32328c([0x6f,0x6e])](_0x32328c([0x5f,0x73,0x65,0x6e,0x64,0x55,0x73,0x61,0x67,0x65,0x52,0x65,0x71,0x75,0x65,0x73,0x74]),_0x5dbd90=>{_0x52d9d4(_0x5dbd90[_0x32328c([0x72,0x65,0x74,0x75,0x72,0x6e])])&&(_0x195788=!0x0,_0x3b41ae(_0x5dbd90[_0x32328c([0x72,0x65,0x74,0x75,0x72,0x6e])]));},{[_0x32328c([0x70,0x72,0x69,0x6f,0x72,0x69,0x74,0x79])]:_0x32328c([0x6c,0x6f,0x77])}),_0xa0f45b[_0x32328c([0x74,0x68,0x65,0x6e])](()=>{_0x195788||_0x2eb43c(_0x32328c([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]));});});function _0x2fc2e6(){return _0x542888[_0x32328c([0x65,0x64,0x69,0x74,0x69,0x6e,0x67])][_0x32328c([0x76,0x69,0x65,0x77])][_0x32328c([0x5f,0x6f,0x76,0x65,0x72,0x6c,0x61,0x79,0x4d,0x6f,0x64,0x65,0x48,0x69,0x6e,0x74])]==_0x32328c([0x61,0x75,0x74,0x6f]);}function _0x84bf8b(){_0x542888[_0x32328c([0x65,0x64,0x69,0x74,0x69,0x6e,0x67])][_0x32328c([0x76,0x69,0x65,0x77])][_0x32328c([0x5f,0x6f,0x76,0x65,0x72,0x6c,0x61,0x79,0x4d,0x6f,0x64,0x65,0x48,0x69,0x6e,0x74])]=_0x32328c([0x61,0x75,0x74,0x6f]);}}function _0x27e09c(_0x27c179){const _0x4fda10=[new window[(_0x32328c([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0x2cfc53=>setTimeout(_0x2cfc53,0x47abbbca^_0x2d282b)),_0xa0f45b[_0x32328c([0x74,0x68,0x65,0x6e])](()=>new window[(_0x32328c([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0x32840c=>{let _0x26d633=0x0;_0x542888[_0x32328c([0x6d,0x6f,0x64,0x65,0x6c])][_0x32328c([0x6f,0x6e])](_0x32328c([0x61,0x70,0x70,0x6c,0x79,0x4f,0x70,0x65,0x72,0x61,0x74,0x69,0x6f,0x6e]),(_0xda9db,_0x34ef9e)=>{_0x34ef9e[0x0][_0x32328c([0x69,0x73,0x44,0x6f,0x63,0x75,0x6d,0x65,0x6e,0x74,0x4f,0x70,0x65,0x72,0x61,0x74,0x69,0x6f,0x6e])]&&_0x26d633++,_0x26d633==(0x47a284fe^_0x2d282b)&&(_0x32840c(),_0xda9db[_0x32328c([0x6f,0x66,0x66])]());});}))];return window[_0x32328c([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65])][_0x32328c([0x72,0x61,0x63,0x65])](_0x4fda10)[_0x32328c([0x74,0x68,0x65,0x6e])](()=>_0x27c179);}async function _0x4bf757(){await _0xa0f45b,_0x542888[_0x32328c([0x6d,0x6f,0x64,0x65,0x6c])][_0x32328c([0x63,0x68,0x61,0x6e,0x67,0x65])]=_0x36d095,_0x542888[_0x32328c([0x6d,0x6f,0x64,0x65,0x6c])][_0x32328c([0x65,0x6e,0x71,0x75,0x65,0x75,0x65,0x43,0x68,0x61,0x6e,0x67,0x65])]=_0x36d095,_0x542888[_0x32328c([0x65,0x6e,0x61,0x62,0x6c,0x65,0x52,0x65,0x61,0x64,0x4f,0x6e,0x6c,0x79,0x4d,0x6f,0x64,0x65])](_0x32328c([0x6d,0x6f,0x64,0x65,0x6c]));}function _0x51398b(_0x5550c1){const _0x58027a=_0x5e36c0();_0x542888[_0x58027a]=_0x32328c([0x66,0x6f,0x6f,0x74,0x6e,0x6f,0x74,0x65,0x73,0x4c,0x69,0x63,0x65,0x6e,0x73,0x65,0x4b,0x65,0x79])+_0x5550c1,_0x5550c1!=_0x32328c([0x56,0x61,0x6c,0x69,0x64])&&_0x4bf757();}function _0x5e36c0(){const _0x134715=window[_0x32328c([0x53,0x74,0x72,0x69,0x6e,0x67])](window[_0x32328c([0x70,0x65,0x72,0x66,0x6f,0x72,0x6d,0x61,0x6e,0x63,0x65])][_0x32328c([0x6e,0x6f,0x77])]())[_0x32328c([0x72,0x65,0x70,0x6c,0x61,0x63,0x65])](_0x32328c([0x2e]),'');let _0x26df41=_0x32328c([0x75]);for(let _0x3f4139=0x0;_0x3f4139<_0x134715[_0x32328c([0x6c,0x65,0x6e,0x67,0x74,0x68])];_0x3f4139+=0x2){let _0x3db00e=window[_0x32328c([0x70,0x61,0x72,0x73,0x65,0x49,0x6e,0x74])](_0x134715[_0x32328c([0x73,0x75,0x62,0x73,0x74,0x72,0x69,0x6e,0x67])](_0x3f4139,_0x3f4139+0x2));_0x3db00e>=_0x296ef3[_0x32328c([0x6c,0x65,0x6e,0x67,0x74,0x68])]&&(_0x3db00e-=_0x296ef3[_0x32328c([0x6c,0x65,0x6e,0x67,0x74,0x68])]),_0x26df41+=_0x296ef3[_0x3db00e];}return _0x26df41;}function _0x790503(){const _0x42f61=_0x330fbc[_0x32328c([0x73,0x70,0x6c,0x69,0x74])](_0x32328c([0x2e]));if(0x3!=_0x42f61[_0x32328c([0x6c,0x65,0x6e,0x67,0x74,0x68])])return null;return _0x22b7f8(_0x42f61[0x1]);function _0x22b7f8(_0x24ab22){const _0x26d9d7=_0x1dc488(_0x24ab22);return _0x26d9d7&&_0xcc1cd9()?_0x26d9d7:null;function _0xcc1cd9(){const _0x556675=_0x26d9d7[_0x32328c([0x6a,0x74,0x69])],_0x1ca69c=window[_0x32328c([0x70,0x61,0x72,0x73,0x65,0x49,0x6e,0x74])](_0x556675[_0x32328c([0x73,0x75,0x62,0x73,0x74,0x72,0x69,0x6e,0x67])](_0x556675[_0x32328c([0x6c,0x65,0x6e,0x67,0x74,0x68])]-0x8),0x10),_0x2e6daf={..._0x26d9d7,[_0x32328c([0x6a,0x74,0x69])]:_0x556675[_0x32328c([0x73,0x75,0x62,0x73,0x74,0x72,0x69,0x6e,0x67])](0x0,_0x556675[_0x32328c([0x6c,0x65,0x6e,0x67,0x74,0x68])]-0x8)};return delete _0x2e6daf[_0x32328c([0x76,0x63])],_0xa08ecd(_0x2e6daf)==_0x1ca69c;}}}async function _0x103c6c(){let _0x4a02df=!0x0;try{const _0x37a51e=_0x330fbc[_0x32328c([0x73,0x70,0x6c,0x69,0x74])](_0x32328c([0x2e])),[_0x45849b,_0x20e4f5,_0x31f57e]=_0x37a51e;return _0x5a0f94(_0x45849b),await _0x55e622(_0x45849b,_0x20e4f5,_0x31f57e),_0x4a02df;}catch{return!0x1;}function _0x5a0f94(_0x1eaf03){const _0xa788e9=_0x1dc488(_0x1eaf03);_0xa788e9&&_0xa788e9[_0x32328c([0x61,0x6c,0x67])]==_0x32328c([0x45,0x53,0x32,0x35,0x36])||(_0x4a02df=!0x1);}async function _0x55e622(_0x2d808a,_0x5073dc,_0xf5f60c){const _0x38fecb=window[_0x32328c([0x55,0x69,0x6e,0x74,0x38,0x41,0x72,0x72,0x61,0x79])][_0x32328c([0x66,0x72,0x6f,0x6d])](_0x3bd2b9(_0xf5f60c),_0x5c25d4=>_0x5c25d4[_0x32328c([0x63,0x68,0x61,0x72,0x43,0x6f,0x64,0x65,0x41,0x74])](0x0)),_0x5e272e=new window[(_0x32328c([0x54,0x65,0x78,0x74,0x45,0x6e,0x63,0x6f,0x64,0x65,0x72]))]()[_0x32328c([0x65,0x6e,0x63,0x6f,0x64,0x65])](_0x2d808a+_0x32328c([0x2e])+_0x5073dc),_0x5b5740=window[_0x32328c([0x63,0x72,0x79,0x70,0x74,0x6f])][_0x32328c([0x73,0x75,0x62,0x74,0x6c,0x65])];if(!_0x5b5740)return;const _0x39c508=await _0x5b5740[_0x32328c([0x69,0x6d,0x70,0x6f,0x72,0x74,0x4b,0x65,0x79])](_0x32328c([0x6a,0x77,0x6b]),_0x25f7b0,{[_0x32328c([0x6e,0x61,0x6d,0x65])]:_0x32328c([0x45,0x43,0x44,0x53,0x41]),[_0x32328c([0x6e,0x61,0x6d,0x65,0x64,0x43,0x75,0x72,0x76,0x65])]:_0x32328c([0x50,0x2d,0x32,0x35,0x36])},!0x1,[_0x32328c([0x76,0x65,0x72,0x69,0x66,0x79])]);await _0x5b5740[_0x32328c([0x76,0x65,0x72,0x69,0x66,0x79])]({[_0x32328c([0x6e,0x61,0x6d,0x65])]:_0x32328c([0x45,0x43,0x44,0x53,0x41]),[_0x32328c([0x68,0x61,0x73,0x68])]:{[_0x32328c([0x6e,0x61,0x6d,0x65])]:_0x32328c([0x53,0x48,0x41,0x2d,0x32,0x35,0x36])}},_0x39c508,_0x38fecb,_0x5e272e)||(_0x4a02df=!0x1);}}function _0x1dc488(_0x261d88){return _0x261d88[_0x32328c([0x73,0x74,0x61,0x72,0x74,0x73,0x57,0x69,0x74,0x68])](_0x32328c([0x65,0x79]))?JSON[_0x32328c([0x70,0x61,0x72,0x73,0x65])](_0x3bd2b9(_0x261d88)):null;}function _0x3bd2b9(_0x1d62e8){return window[_0x32328c([0x61,0x74,0x6f,0x62])](_0x1d62e8[_0x32328c([0x72,0x65,0x70,0x6c,0x61,0x63,0x65])](/-/g,_0x32328c([0x2b]))[_0x32328c([0x72,0x65,0x70,0x6c,0x61,0x63,0x65])](/_/g,_0x32328c([0x2f])));}function _0xa08ecd(_0x3084d2){let _0x498a60=0x1505;function _0x5926bb(_0x579e21){for(let _0x1a7de7=0x0;_0x1a7de7<_0x579e21[_0x32328c([0x6c,0x65,0x6e,0x67,0x74,0x68])];_0x1a7de7++){const _0xc649f6=_0x579e21[_0x32328c([0x63,0x68,0x61,0x72,0x43,0x6f,0x64,0x65,0x41,0x74])](_0x1a7de7);_0x498a60=(_0x498a60<<0x5)+_0x498a60+_0xc649f6,_0x498a60&=_0x498a60;}}function _0x36966d(_0x34f284){Array[_0x32328c([0x69,0x73,0x41,0x72,0x72,0x61,0x79])](_0x34f284)?_0x34f284[_0x32328c([0x66,0x6f,0x72,0x45,0x61,0x63,0x68])](_0x36966d):_0x34f284&&typeof _0x34f284==_0x32328c([0x6f,0x62,0x6a,0x65,0x63,0x74])?Object[_0x32328c([0x65,0x6e,0x74,0x72,0x69,0x65,0x73])](_0x34f284)[_0x32328c([0x73,0x6f,0x72,0x74])]()[_0x32328c([0x66,0x6f,0x72,0x45,0x61,0x63,0x68])](([_0x46736b,_0x3b3905])=>{_0x5926bb(_0x46736b),_0x36966d(_0x3b3905);}):_0x5926bb(window[_0x32328c([0x53,0x74,0x72,0x69,0x6e,0x67])](_0x34f284));}return _0x36966d(_0x3084d2),_0x498a60>>>0x0;}function _0x3f67d3(_0x44c19f){return _0x44c19f[_0x32328c([0x74,0x6f,0x53,0x74,0x72,0x69,0x6e,0x67])](0x10)[_0x32328c([0x70,0x61,0x64,0x53,0x74,0x61,0x72,0x74])](0x8,_0x32328c([0x30]));}function _0x4e01b8(_0x318c3f){return _0x318c3f[_0x32328c([0x73,0x70,0x6c,0x69,0x74])]('')[_0x32328c([0x72,0x65,0x76,0x65,0x72,0x73,0x65])]()[_0x32328c([0x6a,0x6f,0x69,0x6e])]('');}function _0x36d095(){}function _0x32328c(_0x128eaa){return _0x128eaa['map'](_0x39ecb2=>String['fromCharCode'](_0x39ecb2))['join']('');}_0x51398b(await _0x1fb977());}(this);}['_moveSelectionToFootnoteDefinition'](_0x1214ab){const {plugins:_0x386013,editing:_0x276d29,model:_0x286a3f}=this['editor'],_0x3506fd=_0x386013['get'](c)['getFootnote'](_0x1214ab);return!!_0x3506fd&&(_0x286a3f['change'](_0x55262d=>{_0x55262d['setSelection'](_0x55262d['createPositionAt'](_0x3506fd['definition'],'end'));}),_0x276d29['view']['scrollToTheSelection'](),!0x0);}['_moveSelectionToFootnoteReference'](_0x56f56c){const {plugins:_0x45866d,editing:_0x3a82ba,model:_0x5f2654}=this['editor'],_0x5c4540=_0x45866d['get'](c)['getFootnote'](_0x56f56c);return!!_0x5c4540&&(_0x5f2654['change'](_0x511f75=>{_0x511f75['setSelection'](_0x5c4540['reference'],'on');}),_0x3a82ba['view']['scrollToTheSelection'](),!0x0);}['_defineSchema'](){const {schema:_0x5efbe8}=this['editor']['model'],_0x133b2e=this['editor']['config']['get']('footnotes.multiBlock');_0x5efbe8['register']('footnoteRef',{'inheritAllFrom':'$inlineObject','allowAttributes':['footnoteId','footnoteCounter']}),_0x5efbe8['register']('footnotesDefinitions',{'inheritAllFrom':'$blockObject','allowChildren':['footnoteDefinition']}),_0x5efbe8['register']('footnoteDefinition',{'allowAttributes':['footnoteId'],'disallowAttributes':['listItemId'],'isLimit':!0x0}),_0x133b2e?_0x5efbe8['extend']('footnoteDefinition',{'allowContentOf':'$container'}):_0x5efbe8['register']('footnoteInlineContent',{'allowIn':'footnoteDefinition','allowContentOf':'$block','isLimit':!0x0}),_0x5efbe8['addChildCheck'](_0x1e79f0=>{for(const _0x2a8507 of _0x1e79f0)if('footnoteDefinition'===_0x2a8507['name'])return!0x1;},'footnoteRef');}['_defineRefsConverters'](){const {editor:_0x6972bc}=this,{conversion:_0x2cb0b9,editing:_0x2b87e3}=_0x6972bc,{t:t}=_0x6972bc['locale'];_0x2cb0b9['for']('upcast')['elementToElement']({'view':{'name':'sup','classes':'footnote'},'model':(_0x4c1cf8,{writer:_0x2e5c84,consumable:_0x4707c2})=>{const _0x296c7b=_0x4c1cf8['getChild'](0x0);if(!_0x296c7b||!_0x296c7b['is']('element','a'))return null;const _0x281e95=_0x296c7b['getAttribute']('href')||'';if(!_0x281e95['startsWith']('#'))return null;const _0x3d9e7c=_0x281e95['replace'](/^#/,'');if(!_0x3d9e7c)return null;_0x4707c2['consume'](_0x296c7b,{'name':!0x0,'attributes':['href']});for(const {item:_0x37f35e}of _0x2b87e3['view']['createRangeIn'](_0x296c7b))_0x37f35e['is']('$textProxy')?_0x4707c2['consume'](_0x37f35e['textNode'],{'name':!0x0}):_0x37f35e['is']('element')&&_0x4707c2['consume'](_0x37f35e,{'name':!0x0});return _0x2e5c84['createElement']('footnoteRef',{'footnoteId':_0x3d9e7c});}}),_0x2cb0b9['for']('dataDowncast')['elementToElement']({'model':{'name':'footnoteRef','attributes':['footnoteId','footnoteCounter']},'view':(_0x22a44c,{writer:_0x5f48e1})=>D(_0x22a44c,_0x5f48e1)}),_0x2cb0b9['for']('editingDowncast')['elementToElement']({'model':{'name':'footnoteRef','attributes':['footnoteId','footnoteCounter']},'view':(_0x5b80,{writer:_0x3739dc})=>{const _0x8bf4b0=_0x5b80['getAttribute']('footnoteCounter');return _0x19e650(D(_0x5b80,_0x3739dc),_0x3739dc,{'label':t('Footnote\x20%0.\x20Press\x20ENTER\x20to\x20jump\x20to\x20footnote\x20definition.',_0x8bf4b0)});}});}['_defineDefinitionsConverters'](){const {editor:_0x3479cf}=this,{t:t}=_0x3479cf['locale'],{conversion:_0x16c8d6}=_0x3479cf;_0x16c8d6['for']('upcast')['elementToElement']({'view':{'name':'div','classes':'footnotes'},'model':'footnotesDefinitions'}),_0x16c8d6['for']('upcast')['add'](_0xae4dec=>{_0xae4dec['on']('element:ol',(_0x26242f,_0x1aca43,_0x5a3a18)=>{const _0x33ecd1=_0x1aca43['viewItem'];if(!_0x33ecd1['hasClass']('footnotes-list')||!_0x1aca43['modelCursor']['parent']?.['is']('element','footnotesDefinitions'))return;if(!_0x5a3a18['consumable']['consume'](_0x33ecd1,{'name':!0x0,'classes':'footnotes-list'}))return;const {modelRange:_0x49955a,modelCursor:_0x3c4fc4}=_0x5a3a18['convertChildren'](_0x1aca43['viewItem'],_0x1aca43['modelCursor']);_0x1aca43['modelRange']=_0x49955a,_0x1aca43['modelCursor']=_0x3c4fc4;}),_0xae4dec['on']('element:hr',(_0x2940ba,_0x3996c1,_0x4308c2)=>{const _0x36546a=_0x3996c1['viewItem'];_0x36546a['hasClass']('footnotes-divider')&&_0x3996c1['modelCursor']['parent']?.['is']('element','footnotesDefinitions')&&_0x4308c2['consumable']['consume'](_0x36546a,{'name':!0x0,'classes':'footnotes-divider'});});}),_0x16c8d6['for']('dataDowncast')['elementToStructure']({'model':'footnotesDefinitions','view':(_0x5afee1,{writer:_0x339837})=>v(_0x339837)}),_0x16c8d6['for']('editingDowncast')['elementToStructure']({'model':'footnotesDefinitions','view':(_0x4892e6,{writer:_0x5ec0be})=>{const _0x3860c2=v(_0x5ec0be,{'data-footnotes-list-label':t('Footnotes')}),_0x3f915d=_0x19e650(_0x3860c2,_0x5ec0be,{'hasSelectionHandle':!0x0,'label':t('Footnotes')});return _0x5ec0be['setCustomProperty']('footnotesDefinitions',!0x0,_0x3f915d),_0x3f915d;}});}['_defineDefinitionConverters'](){const {editor:_0x32a0db}=this,{conversion:_0x3f8139,locale:_0x199877}=_0x32a0db,_0x4d217b=_0x32a0db['config']['get']('footnotes.multiBlock');_0x3f8139['for']('upcast')['add'](_0x225545=>{_0x225545['on']('element:li',(_0x344a6b,_0x332962,_0x5c4514)=>{const _0x3f9770=_0x332962['viewItem'];if(!_0x3f9770['hasClass']('footnote-definition')||!_0x3f9770['getAttribute']('id'))return;const _0x454bff=_0x3f9770['parent'];if(!_0x454bff['is']('element','ol')||!_0x454bff['hasClass']('footnotes-list'))return;if(!_0x5c4514['consumable']['test'](_0x3f9770,{'name':!0x0,'attributes':'id','classes':'footnote-definition'}))return;const _0x4651c3=_0x5c4514['writer']['createElement']('footnoteDefinition',{'footnoteId':_0x3f9770['getAttribute']('id')});if(!_0x5c4514['safeInsert'](_0x4651c3,_0x332962['modelCursor']))return;_0x5c4514['consumable']['consume'](_0x3f9770,{'name':!0x0,'attributes':'id','classes':'footnote-definition'});const _0x390315=Array['from'](_0x3f9770['getChildren']())['find'](_0x105354=>_0x105354['is']('element')&&_0x105354['hasClass']('footnote-content'));for(const _0x1d6415 of _0x3f9770['getChildren']())_0x1d6415['is']('element')&&(_0x5c4514['consumable']['consume'](_0x1d6415,{'name':!0x0,'classes':'footnote-backlink','attributes':'href'}),_0x5c4514['consumable']['consume'](_0x1d6415,{'name':!0x0,'classes':'footnote-content'}));if(_0x390315){if(_0x4d217b)_0x5c4514['convertChildren'](_0x390315,_0x4651c3);else{const _0xe9f97e=_0x5c4514['writer']['createElement']('footnoteInlineContent');_0x5c4514['writer']['insert'](_0xe9f97e,_0x4651c3),_0x5c4514['convertChildren'](_0x390315,_0xe9f97e);}}_0x5c4514['updateConversionResult'](_0x4651c3,_0x332962);});}),_0x3f8139['for']('dataDowncast')['elementToStructure']({'model':{'name':'footnoteDefinition','attributes':['footnoteId']},'view':(_0x3c1880,{writer:_0x3b628c})=>b(_0x3c1880,_0x3b628c,_0x199877,{'dataPipeline':!0x0})}),_0x3f8139['for']('editingDowncast')['elementToStructure']({'model':{'name':'footnoteDefinition','attributes':['footnoteId']},'view':(_0x2d94f8,{writer:_0x6acf5})=>b(_0x2d94f8,_0x6acf5,_0x199877)});}['_defineBogusParagraphConverters'](){const {editor:_0x1326b5}=this,{conversion:_0x1e93a9}=_0x1326b5;_0x1326b5['config']['get']('footnotes.multiBlock')?(_0x1e93a9['for']('editingDowncast')['elementToElement']({'model':'paragraph','view':h(),'converterPriority':'high'}),_0x1e93a9['for']('dataDowncast')['elementToElement']({'model':'paragraph','view':h({'dataPipeline':!0x0}),'converterPriority':'high'}),this['listenTo'](_0x1326b5['model']['document'],'change:data',()=>{!function(_0x41e9b8,_0x197c64){const _0x14033a=_0x41e9b8['document']['differ'],_0x4182c8=new Set();for(const _0x26b6cb of _0x14033a['getChanges']()){const _0x365645='attribute'==_0x26b6cb['type']?_0x26b6cb['range']['start']['parent']:_0x26b6cb['position']['parent'];_0x365645['is']('element','footnoteDefinition')&&_0x4182c8['add'](_0x365645);}for(const _0x798cce of _0x4182c8['values']()){const _0x3da7fb=Array['from'](_0x798cce['getChildren']())['filter'](_0x5edccd=>g(_0x5edccd,_0x197c64['mapper']));for(const _0x19c17f of _0x3da7fb)_0x197c64['reconvertItem'](_0x19c17f);}}(_0x1326b5['model'],_0x1326b5['editing']);})):(_0x1e93a9['for']('editingDowncast')['elementToElement']({'model':'footnoteInlineContent','view':h()}),_0x1e93a9['for']('dataDowncast')['elementToElement']({'model':'footnoteInlineContent','view':(_0x4c6e8d,{writer:_0x5b16a7})=>{const _0x4eb256=_0x5b16a7['createContainerElement']('span');return _0x5b16a7['setCustomProperty']('dataPipeline:transparentRendering',!0x0,_0x4eb256),_0x4eb256;}}));}['_defineKeyboardHandlers'](){const {editor:_0x152b20}=this,{editing:_0xf0fe5c,t:t}=_0x152b20,_0x31422b=_0x152b20['model']['document']['selection'];_0x152b20['keystrokes']['set']('Ctrl+Alt+F','insertFootnote'),_0x152b20['accessibility']['addKeystrokeInfos']({'keystrokes':[{'label':t('Insert\x20footnote'),'keystroke':'Ctrl+Alt+F'}]}),this['listenTo'](_0xf0fe5c['view']['document'],'enter',(_0x1f5767,_0x2893c9)=>{const _0x180624=function(_0x35462c){const _0x5de878=_0x35462c['getSelectedElement']();if(_0x5de878?.['is']('element','footnoteRef'))return _0x5de878;return null;}(_0x31422b);if(_0x180624){const _0x1d7f42=_0x180624['getAttribute']('footnoteId');this['_moveSelectionToFootnoteDefinition'](_0x1d7f42),_0x2893c9['preventDefault'](),_0x1f5767['stop']();}},{'context':_0x35cee1});}['_defineClickHandlers'](){const {editor:_0x1ee114}=this,{editing:_0x24d8e7}=_0x1ee114;_0x1ee114['editing']['view']['addObserver'](_0x5a7bca),_0x1ee114['editing']['view']['addObserver'](_0x11c995);let _0x580ca1=!0x1;this['listenTo'](_0x24d8e7['view']['document'],'pointerdown',(_0x4bfa2c,_0x447133)=>{const {target:_0xe26008}=_0x447133,_0x18a94e=_0x24d8e7['view']['document']['selection'];_0x580ca1=!!(_0xe26008?.['is']('element','a')&&_0xe26008['parent']?.['is']('element','sup')&&_0xe26008['parent']['hasClass']('footnote'))&&_0x18a94e['getSelectedElement']()===_0xe26008['parent'];},{'priority':'high'}),this['listenTo'](_0x24d8e7['view']['document'],'click',(_0x56f3a6,_0x3bd2fa)=>{const {target:_0x47a516}=_0x3bd2fa;if(!_0x47a516?.['is']('element','a'))return;if(_0x47a516['parent']?.['is']('element','sup')&&_0x47a516['parent']['hasClass']('footnote')&&!_0x580ca1)return void _0x3bd2fa['preventDefault']();let _0x1bbb80=_0x47a516['getAttribute']('href');if(!_0x1bbb80?.['startsWith']('#'))return;_0x1bbb80=_0x1bbb80['slice'](0x1);let _0x5bb0ad=!0x1;(_0x1bbb80['startsWith']('ref-')&&this['_moveSelectionToFootnoteReference'](_0x1bbb80['slice'](0x4))||this['_moveSelectionToFootnoteDefinition'](_0x1bbb80))&&(_0x5bb0ad=!0x0),_0x5bb0ad&&(_0x3bd2fa['preventDefault'](),_0x56f3a6['stop']());},{'priority':'high','context':'$capture'});}}function h({dataPipeline:_0x55e096}={}){return(_0x4d2d82,{writer:_0x3912a2})=>{if(!p(_0x4d2d82))return null;if(!_0x55e096)return _0x3912a2['createContainerElement']('span',{'class':'ck-footnote-bogus-paragraph'});const _0x14bf7d=_0x3912a2['createContainerElement']('p');return _0x3912a2['setCustomProperty']('dataPipeline:transparentRendering',!0x0,_0x14bf7d),_0x14bf7d;};}function p(_0x3ffda2){const {parent:_0x18db47}=_0x3ffda2;if(!_0x18db47?.['is']('element','footnoteDefinition'))return!0x1;if(0x1!=_0x18db47['childCount'])return!0x1;for(const _0x6d3dde of _0x3ffda2['getAttributeKeys']())if(!_0x6d3dde['startsWith']('selection:')&&'htmlEmptyBlock'!=_0x6d3dde)return!0x1;return!0x0;}function g(_0x6cce9c,_0x397604){if(!_0x6cce9c['is']('element','paragraph'))return!0x1;const _0x4ee3f3=_0x397604['toViewElement'](_0x6cce9c);return!!_0x4ee3f3&&p(_0x6cce9c)!==_0x4ee3f3['is']('element','span');}function J(_0x5c6356){return _0x35cee1(_0x5c6356)&&_0x5c6356['is']('containerElement')&&!!_0x5c6356['getCustomProperty']('footnotesDefinitions');}function v(_0x4eca96,_0x1826d6={}){const _0x12e8f3=_0x4eca96['createEmptyElement']('hr',{'class':'footnotes-divider'}),_0x39d2b2=_0x4eca96['createContainerElement']('ol',{'class':'footnotes-list'},_0x4eca96['createSlot']());return _0x4eca96['createContainerElement']('div',{'class':'footnotes',..._0x1826d6},[_0x12e8f3,_0x39d2b2]);}function D(_0xb6adda,_0x419eb0){const _0x35096d=_0xb6adda['getAttribute']('footnoteId'),_0x4b7465=_0xb6adda['getAttribute']('footnoteCounter'),_0xe2d33=_0x419eb0['createUIElement']('a',{'href':'#'+_0x35096d},function(_0x4c0620){const _0x2d3850=this['toDomElement'](_0x4c0620);return _0x2d3850['textContent']=_0x4b7465,_0x2d3850;}),_0x1afc31=_0x419eb0['createContainerElement']('sup',{'id':'ref-'+_0x35096d,'class':'footnote'},[_0xe2d33]);return _0x1afc31['getFillerOffset']=()=>null,_0x1afc31;}function b(_0x23964f,_0x25d729,_0x2330b4,{dataPipeline:_0x4cc8f0}={}){const {t:t}=_0x2330b4,_0x2cf72b=_0x23964f['getAttribute']('footnoteId'),_0x2d5d83=_0x25d729['createUIElement']('a',{'class':'footnote-backlink','href':'#ref-'+_0x2cf72b},function(_0x2f95a9){const _0xff1814=this['toDomElement'](_0x2f95a9);return _0xff1814['innerText']='^',_0xff1814;}),_0x435f0d=_0x4cc8f0?_0x25d729['createContainerElement']('div',{'class':'footnote-content'}):_0x2b2405(_0x25d729['createEditableElement']('div',{'class':'footnote-content'}),_0x25d729,{'label':t('Footnote\x20content.')});return _0x25d729['insert'](_0x25d729['createPositionAt'](_0x435f0d,0x0),_0x25d729['createSlot']()),_0x25d729['createContainerElement']('li',{'class':'footnote-definition','id':_0x2cf72b},[_0x2d5d83,_0x435f0d]);}class e extends _0x5913ea{static get['pluginName'](){return'FootnotesClipboard';}static get['requires'](){return[r,_0x46ff11];}static get['isOfficialPlugin'](){return!0x0;}static get['isPremiumPlugin'](){return!0x0;}['init'](){this['_defineClipboardIntegration']();}['_defineClipboardIntegration'](){this['_handleCopyFootnotesDefinitions'](),this['_handlePasteFootnotesDefinitions']();}['_handleCopyFootnotesDefinitions'](){const {editor:_0x66c93a}=this,{plugins:_0x167192,model:_0x30f0e3}=_0x66c93a,_0x22c6e6=_0x167192['get'](_0x46ff11),_0x2ecd09=_0x167192['get'](c);this['listenTo'](_0x22c6e6,'outputTransformation',(_0x3b400d,_0x534264)=>{const _0x365633=f(_0x30f0e3['createRangeIn'](_0x534264['content']));if(!_0x365633['length'])return;const _0x5e1e0e=_0x2ecd09['getFootnotes'](),_0x5748db=_0x365633['reduce']((_0x1cd3a1,_0x2109a8)=>{const _0x587810=_0x5e1e0e['find'](_0x8d6b6d=>_0x8d6b6d['id']===_0x2109a8);if(_0x587810){const _0x4472a2=_0x66c93a['data']['toView'](_0x587810['definition'],{'isClipboardPipeline':!0x0}),_0x1068da=_0x66c93a['data']['htmlProcessor']['toData'](_0x4472a2);_0x1cd3a1[_0x587810['id']]=_0x1068da;}return _0x1cd3a1;},Object['create'](null));_0x534264['dataTransfer']['setData']('application/ckeditor5-footnotes',JSON['stringify'](_0x5748db));});}['_handlePasteFootnotesDefinitions'](){const {editor:_0x1a76b5}=this,{model:_0x1aba01,plugins:_0x398e26}=_0x1a76b5,{view:_0x1f4b05}=_0x1a76b5['editing'],_0x5c73ba=_0x398e26['get'](_0x46ff11),_0x3670cb=_0x398e26['get'](c);let _0x5b82ab=null;this['listenTo'](_0x1f4b05['document'],'clipboardInput',(_0x340b2e,_0x172e97)=>{const _0x26c404=_0x172e97['dataTransfer']['getData']('application/ckeditor5-footnotes');_0x5b82ab=_0x26c404?JSON['parse'](_0x26c404):null;}),this['listenTo'](_0x5c73ba,'contentInsertion',(_0x2c93f0,_0x2c0da0)=>{const _0x25442b=_0x2c0da0['sourceEditorId']===this['editor']['id'];_0x25442b&&'drop'===_0x2c0da0['method']||_0x1aba01['change'](_0x56a857=>{let _0xfdb3d4=_0x3670cb['getFootnotesDefinitionsObjectElement']();const _0x2af0c1=!!_0xfdb3d4&&Array['from'](_0x1aba01['document']['selection']['getSelectedBlocks']())['includes'](_0xfdb3d4);if((_0xfdb3d4&&!_0x2af0c1||!_0xfdb3d4&&!_0x5b82ab)&&function(_0xe3b8df,_0xb8c269){const _0x4ce730=[];for(const {item:_0x2803d0}of _0xe3b8df['createRangeIn'](_0xb8c269))_0x2803d0['is']('element','footnotesDefinitions')&&_0x4ce730['push'](_0x2803d0);for(const _0x5a8b49 of _0x4ce730)_0xe3b8df['remove'](_0x5a8b49);}(_0x56a857,_0x2c0da0['content']),!_0x5b82ab)return;const {selection:_0x4db621}=_0x1aba01['document'],_0x49a677=_0x4db621['getFirstRange']()['root'];_0xfdb3d4&&!_0x2af0c1||(_0xfdb3d4=function(_0x2fd87b,_0x2928e3){for(const {item:_0x4e9736}of _0x2fd87b['createRangeIn'](_0x2928e3))if(_0x4e9736['is']('element','footnotesDefinitions'))return _0x4e9736;return null;}(_0x56a857,_0x2c0da0['content']),_0xfdb3d4||=_0x3670cb['_insertEmptyFootnotesDefinitionsContainer'](_0x56a857,_0x49a677));const _0x6c2237=Array['from'](_0x4db621['getRanges']())['flatMap'](f),_0x36d0de=function(_0x3d3923,_0x5473e8,_0x3cf585){const _0x3fd861=Object['create'](null);for(const {item:_0x22f441}of _0x3d3923['createRangeIn'](_0x5473e8))if(_0x22f441['is']('element','footnoteRef')){const _0x303d38=_0x22f441['getAttribute']('footnoteId');if(!_0x3cf585(_0x303d38))continue;_0x3fd861[_0x303d38]||(_0x3fd861[_0x303d38]=_0x25d1da()),_0x3d3923['setAttribute']('footnoteId',_0x3fd861[_0x303d38],_0x22f441);}return _0x3fd861;}(_0x56a857,_0x2c0da0['content'],_0x32311e=>{if(!_0x25442b)return!0x0;return!!_0x3670cb['getFootnote'](_0x32311e)&&!_0x6c2237['includes'](_0x32311e);});for(const [_0x2cbe93,_0x22a56a]of Object['entries'](_0x5b82ab)){const _0x9af0d3=_0x36d0de[_0x2cbe93]||_0x2cbe93,_0x11e2fa=_0x56a857['createElement']('footnoteDefinition',{'footnoteId':_0x9af0d3}),_0x380422=_0x1a76b5['data']['htmlProcessor']['toView'](_0x22a56a),_0x342003=_0x1a76b5['data']['toModel'](_0x380422,_0x11e2fa);_0x56a857['append'](_0x342003,_0x11e2fa),_0x56a857['insert'](_0x11e2fa,_0xfdb3d4,'end');}_0x5b82ab=null;});});}}function f(_0x47e46b){const _0x37d153=new Set();for(const {item:_0x4f82b6}of _0x47e46b)_0x4f82b6['is']('element','footnoteRef')&&_0x37d153['add'](_0x4f82b6['getAttribute']('footnoteId'));return Array['from'](_0x37d153);}class i extends _0x5913ea{['licenseKey'];['_licenseKeyCheckInterval'];static get['pluginName'](){return'FootnotesUI';}static get['isOfficialPlugin'](){return!0x0;}static get['isPremiumPlugin'](){return!0x0;}['init'](){const {editor:_0xd6b28c}=this,{componentFactory:_0x32e316}=_0xd6b28c['ui'];_0x32e316['add']('insertFootnote',x(_0xd6b28c,_0x431485)),_0x32e316['add']('menuBar:insertFootnote',x(_0xd6b28c,_0x408cf1)),this['licenseKey']=this['editor']['config']['get']('licenseKey');const _0x3fd7f6=this['editor'];this['_licenseKeyCheckInterval']=setInterval(()=>{let _0x255c1f;for(const _0x8d84ff in _0x3fd7f6){const _0x1b0105=_0x8d84ff,_0x839a75=_0x3fd7f6[_0x1b0105];if('footnotesLicenseKeyValid'==_0x839a75||'footnotesLicenseKeyInvalid'==_0x839a75||'footnotesLicenseKeyExpired'==_0x839a75||'footnotesLicenseKeyDomainLimit'==_0x839a75||'footnotesLicenseKeyNotAllowed'==_0x839a75||'footnotesLicenseKeyEvaluationLimit'==_0x839a75||'footnotesLicenseKeyTrialLimit'==_0x839a75||'footnotesLicenseKeyUsageLimit'==_0x839a75){delete _0x3fd7f6[_0x1b0105],_0x255c1f=_0x839a75,clearInterval(this['_licenseKeyCheckInterval']),this['_licenseKeyCheckInterval']=void 0x0;break;}}'footnotesLicenseKeyInvalid'==_0x255c1f&&_0x3fd7f6['_showLicenseError']('invalid'),'footnotesLicenseKeyExpired'==_0x255c1f&&_0x3fd7f6['_showLicenseError']('expired'),'footnotesLicenseKeyDomainLimit'==_0x255c1f&&_0x3fd7f6['_showLicenseError']('domainLimit'),'footnotesLicenseKeyNotAllowed'==_0x255c1f&&_0x3fd7f6['_showLicenseError']('featureNotAllowed','Footnotes'),'footnotesLicenseKeyEvaluationLimit'==_0x255c1f&&_0x3fd7f6['_showLicenseError']('evaluationLimit'),'footnotesLicenseKeyTrialLimit'==_0x255c1f&&_0x3fd7f6['_showLicenseError']('trialLimit'),'footnotesLicenseKeyUsageLimit'==_0x255c1f&&_0x3fd7f6['_showLicenseError']('usageLimit');},0x3e8);}['destroy'](){super['destroy'](),this['_licenseKeyCheckInterval']&&clearInterval(this['_licenseKeyCheckInterval']);}}function x(_0x481918,_0x44752d){const _0x5dd3e5=_0x481918['commands']['get']('insertFootnote');return _0x3edd8f=>{const {t:t}=_0x3edd8f,_0x527c50=new _0x44752d(_0x3edd8f),_0x48a2b2=_0x527c50 instanceof _0x408cf1;return _0x527c50['bind']('isEnabled')['to'](_0x5dd3e5,'isEnabled'),_0x527c50['set']({'label':t(_0x48a2b2?'Footnote':'Insert\x20footnote'),'icon':_0x263975,'tooltip':!0x0}),_0x527c50['on']('execute',()=>{_0x5dd3e5['execute'](),_0x481918['editing']['view']['focus']();}),_0x527c50;};}class lt extends _0x5913ea{static get['pluginName'](){return'Footnotes';}static get['requires'](){return[r,e,i];}static get['isOfficialPlugin'](){return!0x0;}static get['isPremiumPlugin'](){return!0x0;}}const nt=['decimal','decimal-leading-zero','lower-latin','upper-latin','lower-alpha','upper-alpha','lower-roman','upper-roman'];class S extends _0x140aa0{['refresh'](){const {editor:_0x5421f7}=this,_0x3556a1=_0x5421f7['plugins']['get'](c)['getFootnotesDefinitionsObjectElement']();this['isEnabled']=!!_0x3556a1,this['value']=_0x3556a1?.['getAttribute']('footnotesListStyle')??null;}['execute']({value:_0x271205}){const {editor:_0x293c67}=this,_0x163111=_0x293c67['plugins']['get'](c),_0x1cc2ba=_0x163111['getFootnotesDefinitionsObjectElement']();_0x1cc2ba&&nt['includes'](_0x271205)&&_0x293c67['model']['change'](_0x5a9d28=>{_0x5a9d28['setAttribute']('footnotesListStyle',_0x271205,_0x1cc2ba),_0x163111['_updateFootnotesCounters'](_0x5a9d28);});}}class C extends _0x140aa0{['refresh'](){const {editor:_0x383ce1}=this,_0x13ad63=_0x383ce1['plugins']['get'](c)['getFootnotesDefinitionsObjectElement']();this['isEnabled']=!!_0x13ad63,this['value']=_0x13ad63?.['getAttribute']('footnotesListStart')??null;}['execute']({value:_0x461907}){const {editor:_0x683251}=this,_0x30dab2=_0x683251['plugins']['get'](c),_0x5b295d=_0x30dab2['getFootnotesDefinitionsObjectElement']();_0x5b295d&&Number['isInteger'](_0x461907)&&_0x683251['model']['change'](_0x498e7a=>{_0x498e7a['setAttribute']('footnotesListStart',_0x461907,_0x5b295d),_0x30dab2['_updateFootnotesCounters'](_0x498e7a);});}}class P extends _0x5913ea{static get['pluginName'](){return'FootnotesPropertiesEditing';}static get['requires'](){return[r,c];}static get['isOfficialPlugin'](){return!0x0;}static get['isPremiumPlugin'](){return!0x0;}['init'](){const {editor:_0x2167f3}=this;_0x2167f3['config']['define']('footnotes.footnotesProperties.defaultListStyle','decimal'),_0x2167f3['config']['define']('footnotes.footnotesProperties.defaultStartIndex',0x1),_0x2167f3['commands']['add']('footnotesStyle',new S(_0x2167f3)),_0x2167f3['commands']['add']('footnotesStart',new C(_0x2167f3)),this['_defineSchema'](),this['_defineConverters'](),this['_defineFormatter'](),this['_definePostfixer']();}['_defineSchema'](){const {editor:_0x659f34}=this,{schema:_0x16bc5e}=_0x659f34['model'];_0x16bc5e['extend']('footnotesDefinitions',{'allowAttributes':['footnotesListStyle','footnotesListStart']});}['_defineConverters'](){const {editor:_0x2ffe08}=this,{conversion:_0x293bdd,model:_0x3bebc6}=_0x2ffe08,{schema:_0x13c2ec}=_0x3bebc6;_0x293bdd['for']('upcast')['add'](_0x3c6e22=>{_0x3c6e22['on']('element:ol',(_0x1e5f00,_0x59a93c,_0x4aa9bb)=>{const _0x211a7f=_0x59a93c['viewItem'],_0x1ad6a3=_0x59a93c['modelCursor']?.['parent'];_0x211a7f['hasClass']('footnotes-list')&&_0x1ad6a3?.['is']('element','footnotesDefinitions')&&(function(_0x3ae9e8,_0x57fa63,_0x1ec49f,_0x374424){if(!_0x374424['checkAttribute'](_0x57fa63,'footnotesListStart'))return;let _0x4cd1b7=0x1;const _0x121a34=_0x1ec49f['consumable']['consume'](_0x3ae9e8,{'attributes':'start'});if(_0x121a34){const _0x563316=Number['parseInt'](_0x3ae9e8['getAttribute']('start'),0xa);Number['isNaN'](_0x563316)||(_0x4cd1b7=_0x563316);}!_0x121a34&&_0x57fa63['hasAttribute']('footnotesListStart')||_0x1ec49f['writer']['setAttribute']('footnotesListStart',_0x4cd1b7,_0x57fa63);}(_0x211a7f,_0x1ad6a3,_0x4aa9bb,_0x13c2ec),function(_0x1704c5,_0x17e1fe,_0x23ac83,_0x14a82c){if(!_0x14a82c['checkAttribute'](_0x17e1fe,'footnotesListStyle'))return;let _0x4fafe4='decimal',_0x2950b7=!0x1;if(_0x23ac83['consumable']['consume'](_0x1704c5,{'attributes':'type'})){const _0xb310fc={0x1:'decimal','a':'lower-alpha','A':'upper-alpha','i':'lower-roman','I':'upper-roman'}[_0x1704c5['getAttribute']('type')];_0xb310fc&&(_0x4fafe4=_0xb310fc),_0x2950b7=!0x0;}_0x23ac83['consumable']['consume'](_0x1704c5,{'styles':'list-style-type'})&&(_0x4fafe4=_0x1704c5['getStyle']('list-style-type'),_0x2950b7=!0x0),!_0x2950b7&&_0x17e1fe['hasAttribute']('footnotesListStyle')||_0x23ac83['writer']['setAttribute']('footnotesListStyle',_0x4fafe4,_0x17e1fe);}(_0x211a7f,_0x1ad6a3,_0x4aa9bb,_0x13c2ec));});}),_0x293bdd['for']('downcast')['add'](_0x5c3595=>{_0x5c3595['on']('attribute:footnotesListStart:footnotesDefinitions',(_0x2dc3b3,_0x21acc9,_0x352631)=>{if(!_0x352631['consumable']['consume'](_0x21acc9['item'],_0x2dc3b3['name']))return;const _0x20fa64=M(_0x21acc9['item'],_0x352631['mapper']),{attributeNewValue:_0x33ff18}=_0x21acc9;null==_0x33ff18||0x1===_0x33ff18?_0x352631['writer']['removeAttribute']('start',_0x20fa64):_0x352631['writer']['setAttribute']('start',String(_0x33ff18),_0x20fa64);}),_0x5c3595['on']('attribute:footnotesListStyle:footnotesDefinitions',(_0x4ffe93,_0x36bea4,_0x7d692d)=>{if(!_0x7d692d['consumable']['consume'](_0x36bea4['item'],_0x4ffe93['name']))return;const _0x214a39=M(_0x36bea4['item'],_0x7d692d['mapper']),{attributeNewValue:_0x11a1a1}=_0x36bea4;_0x11a1a1&&'decimal'!==_0x11a1a1?_0x7d692d['writer']['setStyle']('list-style-type',_0x11a1a1,_0x214a39):_0x7d692d['writer']['removeStyle']('list-style-type',_0x214a39);});});}['_definePostfixer'](){const {editor:_0x2e33c8}=this,{model:_0x3fab60}=_0x2e33c8,_0x6abab2=_0x2e33c8['plugins']['get'](c),_0x218373=this['_getDefaultListStyle'](),_0x208090=this['_getDefaultStartIndex']();_0x3fab60['document']['registerPostFixer'](_0x29811e=>{const _0x46e51d=_0x3fab60['document']['differ']['getChanges']();let _0x10b43e=!0x1;for(const _0x4bbcd3 of _0x46e51d){if('insert'!==_0x4bbcd3['type']||'$text'===_0x4bbcd3['name'])continue;const _0x8a0c72=_0x3fab60['createRangeOn'](_0x4bbcd3['position']['nodeAfter']);for(const _0x3825dc of _0x8a0c72['getItems']())_0x3825dc['is']('element','footnotesDefinitions')&&(!_0x3825dc['hasAttribute']('footnotesListStart')&&_0x3fab60['schema']['checkAttribute'](_0x3825dc,'footnotesListStart')&&(_0x29811e['setAttribute']('footnotesListStart',_0x208090,_0x3825dc),_0x10b43e=!0x0),!_0x3825dc['hasAttribute']('footnotesListStyle')&&_0x3fab60['schema']['checkAttribute'](_0x3825dc,'footnotesListStyle')&&(_0x29811e['setAttribute']('footnotesListStyle',_0x218373,_0x3825dc),_0x10b43e=!0x0));}return _0x10b43e&&_0x6abab2['_updateFootnotesCounters'](_0x29811e),_0x10b43e;});}['_defineFormatter'](){const {editor:_0x275ce1}=this;_0x275ce1['plugins']['get'](c)['setFootnoteFormatter'](_0x3c8c42=>this['_formatFootnoteListValue'](_0x3c8c42));}['_getDefaultListStyle'](){return this['editor']['config']['get']('footnotes.footnotesProperties.defaultListStyle');}['_getDefaultStartIndex'](){return this['editor']['config']['get']('footnotes.footnotesProperties.defaultStartIndex');}['_formatFootnoteListValue']({container:_0x56afa0,value:_0x43793a,digits:_0x4116ea}){const _0x366074=_0x56afa0['getAttribute']('footnotesListStyle'),_0x3c1423=_0x56afa0['getAttribute']('footnotesListStart'),_0x4e2cda=Math['floor'](_0x43793a)+(_0x3c1423??0x1)-0x1;switch(_0x366074){case'decimal-leading-zero':return function(_0x1429c3,_0x135094){return String(_0x1429c3)['padStart'](_0x135094,'0');}(_0x4e2cda,Math['max'](0x2,_0x4116ea));case'lower-alpha':case'lower-latin':return N(_0x4e2cda,!0x1);case'upper-alpha':case'upper-latin':return N(_0x4e2cda,!0x0);case'lower-roman':return X(_0x4e2cda,!0x1);case'upper-roman':return X(_0x4e2cda,!0x0);default:return String(_0x4e2cda);}}}function M(_0x2faa53,_0x547b24){const _0x4752cb=_0x547b24['toViewElement'](_0x2faa53);return Array['from'](_0x4752cb['getChildren']())['find'](_0x3f9742=>_0x3f9742['is']('element','ol')&&_0x3f9742['hasClass']('footnotes-list'));}function N(_0x17fb10,_0x4b7d3a){let _0x249862='',_0x4046aa=_0x17fb10;for(;_0x4046aa>0x0;){const _0x3ec334=(_0x4046aa-0x1)%0x1a;_0x249862=String['fromCharCode'](0x61+_0x3ec334)+_0x249862,_0x4046aa=Math['floor']((_0x4046aa-0x1)/0x1a);}return _0x4b7d3a?_0x249862['toUpperCase']():_0x249862;}const V=[{'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 X(_0x36266d,_0x431408){let _0x470831='',_0xd3a40d=_0x36266d;for(const {value:_0x397fbd,numeral:_0x494bb6}of V)for(;_0xd3a40d>=_0x397fbd;)_0x470831+=_0x494bb6,_0xd3a40d-=_0x397fbd;return _0x431408?_0x470831:_0x470831['toLowerCase']();}class H extends _0x1e5d32{['children'];['stylesView']=null;['additionalProperties']=null;['startIndexFieldView']=null;['focusTracker']=new et();['keystrokes']=new ot();['focusables']=new _0x3eddb9();['focusCycler'];constructor(_0x4dbd66,{styleButtonViews:_0x2a7dd1,styleGridAriaLabel:_0xd0e67c}){super(_0x4dbd66),(this['focusCycler']=new _0x5f1fd9({'focusables':this['focusables'],'focusTracker':this['focusTracker'],'keystrokeHandler':this['keystrokes'],'actions':{'focusPrevious':'shift\x20+\x20tab','focusNext':'tab'}}),this['children']=this['createCollection'](),this['stylesView']=this['_appendStylesView'](_0x2a7dd1,_0xd0e67c),[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 _0x58ee47 of this['stylesView']['children'])this['stylesView']['focusTracker']['add'](_0x58ee47['element']);_0x3de560({'keystrokeHandler':this['stylesView']['keystrokes'],'focusTracker':this['stylesView']['focusTracker'],'gridItems':this['stylesView']['children'],'numberOfColumns':()=>rt['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 _0x3f6b89=_0x5dd6e7=>_0x5dd6e7['stopPropagation']();this['keystrokes']['set']('arrowright',_0x3f6b89),this['keystrokes']['set']('arrowleft',_0x3f6b89),this['keystrokes']['set']('arrowup',_0x3f6b89),this['keystrokes']['set']('arrowdown',_0x3f6b89);}this['keystrokes']['listenTo'](this['element']);}['focus'](){this['focusCycler']['focusFirst']();}['focusLast'](){this['focusCycler']['focusLast']();}['destroy'](){super['destroy'](),this['focusTracker']['destroy'](),this['keystrokes']['destroy']();}['_appendStylesView'](_0x13886d,_0x548808){const _0x12d008=new _0x1e5d32(this['locale']);return _0x12d008['children']=_0x12d008['createCollection'](),_0x12d008['children']['addMany'](_0x13886d),_0x12d008['setTemplate']({'tag':'div','attributes':{'aria-label':_0x548808,'class':['ck','ck-footnotes-definitions-styles-list']},'children':_0x12d008['children']}),_0x12d008['children']['delegate']('execute')['to'](this),_0x12d008['focus']=function(){for(const _0x3353c6 of this['children'])if(_0x3353c6 instanceof _0x431485&&_0x3353c6['isOn'])return void _0x3353c6['focus']();this['children']['first']['focus']();},_0x12d008['focusTracker']=new et(),_0x12d008['keystrokes']=new ot(),_0x12d008['render'](),_0x12d008['keystrokes']['listenTo'](_0x12d008['element']),this['children']['add'](_0x12d008),_0x12d008;}['_appendAdditionalPropertiesCollapsibleView'](){const {t:t}=this['locale'],_0x18c3b9=this['_createStartIndexPropertyView'](),_0x42260f=[_0x18c3b9],_0x3c78cf=new tt(this['locale'],_0x42260f);return _0x3c78cf['set']({'label':t('Footnotes\x20properties'),'isCollapsed':!0x0}),_0x3c78cf['buttonView']['bind']('isEnabled')['toMany'](_0x42260f,'isEnabled',(..._0x1d089a)=>_0x1d089a['some'](_0x200f80=>_0x200f80)),_0x3c78cf['buttonView']['on']('change:isEnabled',(_0x3870be,_0x34ae03,_0x48cc17)=>{_0x48cc17||(_0x3c78cf['isCollapsed']=!0x0);}),this['children']['add'](_0x3c78cf),[_0x18c3b9,_0x3c78cf];}['_createStartIndexPropertyView'](){const {t:t}=this['locale'],_0x225429=new st(this['locale'],it);return _0x225429['set']({'label':t('Footnotes\x20start\x20at'),'class':'ck-footnotes-definitions-properties__start-index'}),_0x225429['fieldView']['set']({'min':0x0,'max':Math['pow'](0x2,0x1e),'step':0x1,'value':0x1,'inputMode':'numeric'}),_0x225429['fieldView']['on']('input',()=>{const _0x5495b7=_0x225429['fieldView']['element'],_0x7edada=_0x5495b7['valueAsNumber'];Number['isNaN'](_0x7edada)?_0x225429['errorText']=t('Invalid\x20footnotes\x20start\x20index\x20value.'):_0x5495b7['checkValidity']()?this['fire']('footnotesListStart',{'startIndex':_0x7edada}):_0x225429['errorText']=t(_0x7edada<0x0?'Footnotes\x20start\x20index\x20must\x20be\x20greater\x20than\x200.':'Footnotes\x20start\x20index\x20is\x20too\x20large.');}),_0x225429;}}class j extends _0x5913ea{static get['pluginName'](){return'FootnotesPropertiesUI';}static get['requires'](){return[_0x42ed25,_0x1dcbe7];}static get['isOfficialPlugin'](){return!0x0;}static get['isPremiumPlugin'](){return!0x0;}['init'](){const {editor:_0x4dd3aa}=this,{componentFactory:_0x1c46eb}=_0x4dd3aa['ui'];_0x4dd3aa['config']['define']('footnotes.footnotesProperties.toolbar',['footnotesStyle']),_0x1c46eb['add']('footnotesStyle',function(_0x2ce706){return _0xe78585=>{const {t:t}=_0xe78585,_0x2e17cf=_0x2ce706['commands']['get']('footnotesStyle'),_0x557555=_0x235e41(_0xe78585),{buttonView:_0x5041c9}=_0x557555;return _0x557555['class']='ck-footnotes-styles-dropdown',_0x557555['bind']('isEnabled')['to'](_0x2e17cf,'isEnabled'),_0x5041c9['set']({'label':t('Footnotes\x20style'),'icon':_0x263975,'tooltip':!0x0}),_0x557555['once']('change:isOpen',()=>{const _0x183533=function({editor:_0x2e55ca,dropdownView:_0x4bf5cd}){const {t:t}=_0x2e55ca['locale'],_0xd20610=t('Footnotes\x20definitions\x20styles'),_0x57a38e=function(_0x57297b){const t=_0x57297b['locale']['t'],_0x3233d3=[{'label':t('Toggle\x20the\x20decimal\x20footnotes\x20style'),'tooltip':t('Decimal\x20footnotes'),'style':'decimal','icon':_0x413f87},{'label':t('Toggle\x20the\x20decimal\x20with\x20leading\x20zero\x20footnotes\x20style'),'tooltip':t('Decimal\x20footnotes\x20with\x20leading\x20zero'),'style':'decimal-leading-zero','icon':_0x1ddf55},{'label':t('Toggle\x20the\x20lower–roman\x20footnotes\x20style'),'tooltip':t('Lower–roman\x20footnotes'),'style':'lower-roman','icon':_0x2ec325},{'label':t('Toggle\x20the\x20upper–roman\x20footnotes\x20style'),'tooltip':t('Upper-roman\x20footnotes'),'style':'upper-roman','icon':_0x16ae62},{'label':t('Toggle\x20the\x20lower–latin\x20footnotes\x20style'),'tooltip':t('Lower-latin\x20footnotes'),'style':'lower-latin','icon':_0x1bb37b},{'label':t('Toggle\x20the\x20upper–latin\x20footnotes\x20style'),'tooltip':t('Upper-latin\x20footnotes'),'style':'upper-latin','icon':_0x155f2b}];return _0x3233d3['map'](function(_0x4fc4ad){const _0x69895e=_0x4fc4ad['locale'];return({label:_0x38e6fd,icon:_0x509da3,tooltip:_0x3f03c2,style:_0x4dafa2})=>{const _0xff735a=_0x4fc4ad['commands']['get']('footnotesStyle'),_0x4f454f=new _0x431485(_0x69895e);return _0x4f454f['set']({'label':_0x38e6fd,'icon':_0x509da3,'tooltip':_0x3f03c2}),_0x4f454f['bind']('isOn')['to'](_0xff735a,'value',_0x363e9f=>_0x363e9f===_0x4dafa2),_0x4f454f['bind']('isEnabled')['to'](_0xff735a,'isEnabled'),_0x4f454f['on']('execute',()=>{_0x4fc4ad['execute']('footnotesStyle',{'value':_0x4dafa2}),_0x4fc4ad['editing']['view']['focus']();}),_0x4f454f;};}(_0x57297b));}(_0x2e55ca),_0x483474=new H(_0x2e55ca['locale'],{'styleGridAriaLabel':_0xd20610,'styleButtonViews':_0x57a38e});return _0x483474['delegate']('execute')['to'](_0x4bf5cd),_0x483474['on']('footnotesListStart',(_0x5eb49f,_0xd19dfb)=>{_0x2e55ca['execute']('footnotesStart',{'value':_0xd19dfb['startIndex']});}),_0x483474;}({'editor':_0x2ce706,'dropdownView':_0x557555});_0x557555['panelView']['children']['add'](_0x183533);}),_0x557555;};}(_0x4dd3aa));}['afterInit'](){const {editor:_0x1484fc}=this,{t:t}=_0x1484fc['locale'],_0x1ca64c=_0x1484fc['plugins']['get'](_0x1dcbe7),{defaultPositions:_0x163eaf}=_0x53c802;_0x1ca64c['register']('footnotesDefinitions',{'ariaLabel':t('Footnotes\x20definitions\x20toolbar'),'items':_0x1484fc['config']['get']('footnotes.footnotesProperties.toolbar'),'balloonClassName':'ck-footnotes-style-balloon\x20ck-toolbar-container','getRelatedElement':_0x14b154=>{let _0x1522a3=_0x14b154['getFirstPosition']()?.['parent'];return _0x1522a3?.['is']('$text')&&(_0x1522a3=_0x1522a3['parent']),_0x1522a3?.['is']('element')?_0x1522a3['findAncestor'](J):null;},'positions':[_0x163eaf['southArrowNorth'],_0x163eaf['southArrowNorthMiddleWest'],_0x163eaf['southArrowNorthMiddleEast'],_0x163eaf['southArrowNorthWest'],_0x163eaf['southArrowNorthEast'],_0x163eaf['northArrowSouth'],_0x163eaf['northArrowSouthMiddleWest'],_0x163eaf['northArrowSouthMiddleEast'],_0x163eaf['northArrowSouthWest'],_0x163eaf['northArrowSouthEast'],_0x163eaf['viewportStickyNorth']]});}}class ft extends _0x5913ea{static get['pluginName'](){return'FootnotesProperties';}static get['requires'](){return[P,j];}static get['isOfficialPlugin'](){return!0x0;}static get['isPremiumPlugin'](){return!0x0;}}export{lt as Footnotes,e as FootnotesClipboard,r as FootnotesEditing,ft as FootnotesProperties,P as FootnotesPropertiesEditing,j as FootnotesPropertiesUI,C as FootnotesStartCommand,S as FootnotesStyleCommand,c as FootnotesTracker,i as FootnotesUI,m as InsertFootnoteCommand};
|
|
23
|
+
import{Plugin as _0x593697,Command as _0x15a3f3}from'@ckeditor/ckeditor5-core/dist/index.js';import{toWidget as _0x21f897,isWidget as _0x420c45,toWidgetEditable as _0x40dc61,WidgetToolbarRepository as _0x5f482f}from'@ckeditor/ckeditor5-widget/dist/index.js';import{uid as _0xf950e0,logWarning as _0x89b249,FocusTracker as ot,KeystrokeHandler as rt,global as nt}from'@ckeditor/ckeditor5-utils/dist/index.js';import{PointerObserver as _0x1138dd,ClickObserver as _0x4a6ed2}from'@ckeditor/ckeditor5-engine/dist/index.js';import{ClipboardPipeline as _0x262e29}from'@ckeditor/ckeditor5-clipboard/dist/index.js';import{MenuBarMenuListItemButtonView as _0x34a9f4,ButtonView as _0x35db40,View as _0x556880,ViewCollection as _0x619c6e,FocusCycler as _0x3530a7,addKeyboardHandlingForGrid as tt,CollapsibleView as st,LabeledFieldView as it,createLabeledInputNumber as et,ContextualBalloon as _0xf232ba,BalloonPanelView as _0x447336,createDropdown as _0x20643f}from'@ckeditor/ckeditor5-ui/dist/index.js';import{IconFootnote as _0xbe2656,IconListStyleDecimal as _0x436a3f,IconListStyleDecimalLeadingZero as _0x217913,IconListStyleLowerRoman as _0x27c798,IconListStyleUpperRoman as _0x4db2e6,IconListStyleLowerLatin as _0x494290,IconListStyleUpperLatin as _0x23726d}from'@ckeditor/ckeditor5-icons/dist/index.js';class F{['_model'];['_elementName'];['_getElementKey'];['_trackedElements']=new Map();constructor(_0x43764a,_0x246557){this['_model']=_0x43764a,this['_elementName']=_0x246557['elementName'],this['_getElementKey']=_0x246557['getElementKey'];}['reset'](){this['_trackedElements']['clear']();}['getChanges'](_0x188b51){const _0x35071f=new Set(),_0x49575e=new Map();for(const _0x2c500c of _0x188b51){if('insert'===_0x2c500c['type']&&'$text'!==_0x2c500c['name']&&_0x2c500c['position']['nodeAfter']){const _0x12bd56=this['_model']['createRangeOn'](_0x2c500c['position']['nodeAfter']);for(const _0x56ab41 of _0x12bd56['getItems']()){if(!_0x56ab41['is']('element',this['_elementName']))continue;const _0x834665=this['_getElementKey'](_0x56ab41);_0x49575e['has'](_0x834665)||_0x49575e['set'](_0x834665,[]),_0x49575e['get'](_0x834665)['push'](_0x56ab41);}}if('remove'===_0x2c500c['type']&&_0x2c500c['name']===this['_elementName']){const _0x5287f3=this['_getElementKey']({'getAttribute':_0x2e8f8b=>_0x2c500c['attributes']['get'](_0x2e8f8b)});_0x35071f['add'](_0x5287f3);}}for(const [_0x113bc1,_0x5dcd41]of this['_trackedElements'])'$graveyard'===_0x5dcd41['root']['rootName']&&_0x35071f['add'](_0x113bc1);for(const _0x236b50 of _0x35071f)this['_trackedElements']['delete'](_0x236b50);for(const [_0x2b2e32,_0x4d8ed1]of _0x49575e)this['_trackedElements']['set'](_0x2b2e32,_0x4d8ed1[_0x4d8ed1['length']-0x1]);const _0x828a97=new Set();for(const [_0x56dbd1,_0x5dc3ff]of _0x49575e)_0x35071f['has'](_0x56dbd1)&&(_0x828a97['add'](_0x5dc3ff[0x0]),_0x5dc3ff['length']>0x1?_0x49575e['set'](_0x56dbd1,_0x5dc3ff['slice'](0x1)):_0x49575e['delete'](_0x56dbd1),_0x35071f['delete'](_0x56dbd1));return{'removed':Array['from'](_0x35071f),'inserted':Array['from'](_0x49575e['values']())['flat'](),'moved':Array['from'](_0x828a97)};}}class c extends _0x593697{['_footnotes']=[];['_footnotesDefinitions']=null;['_footnoteFormatter']=null;['_footnoteDefsContainerTracker'];['_footnoteRefsTracker'];['_footnoteDefsTracker'];static get['pluginName'](){return'FootnotesTracker';}static get['isOfficialPlugin'](){return!0x0;}static get['isPremiumPlugin'](){return!0x0;}constructor(_0x41c9d9){super(_0x41c9d9),this['_footnoteDefsContainerTracker']=new F(this['editor']['model'],{'elementName':'footnotesDefinitions','getElementKey':()=>'singleton'}),this['_footnoteRefsTracker']=new F(this['editor']['model'],{'elementName':'footnoteRef','getElementKey':_0x1f04d3=>_0x1f04d3['getAttribute']('footnoteId')}),this['_footnoteDefsTracker']=new F(this['editor']['model'],{'elementName':'footnoteDefinition','getElementKey':_0x4deecc=>_0x4deecc['getAttribute']('footnoteId')});}['init'](){const {editor:_0x1547e9}=this,{model:_0x1c893e,data:_0xfde6ce}=_0x1547e9;_0x1c893e['document']['registerPostFixer'](_0x1f2a25=>{const _0x5ee4aa=_0x1c893e['document']['differ']['getChanges']();let _0x5cfc39=!0x1;return this['_handleFootnotesDefinitionsObjectChanges'](_0x1f2a25,_0x5ee4aa)&&(_0x5cfc39=!0x0),this['_handleFootnoteDefinitionsChanges'](_0x1f2a25,_0x5ee4aa)&&(_0x5cfc39=!0x0),this['_handleFootnoteReferencesChanges'](_0x1f2a25,_0x5ee4aa)&&(_0x5cfc39=!0x0),this['_ensureFootnotesReferencesHaveProperOrder'](_0x1f2a25)&&(_0x5cfc39=!0x0),this['_handleFootnotesDefinitionsObjectSync'](_0x1f2a25)&&(_0x5cfc39=!0x0),this['_sortFootnoteDefinitions'](_0x1f2a25)&&(_0x5cfc39=!0x0),_0x5cfc39;}),this['listenTo'](_0x1c893e['document'],'change:data',()=>{_0x1c893e['enqueueChange']({'isUndoable':!0x1},_0x5a00de=>{this['_ensureFootnotesDefinitionsContainerExists'](_0x5a00de);});},{'priority':'low'}),this['listenTo'](_0xfde6ce,'set',()=>{this['_footnotes']=[],this['_footnoteDefsContainerTracker']['reset'](),this['_footnoteRefsTracker']['reset'](),this['_footnoteDefsTracker']['reset']();},{'priority':'high'});}['getFootnotesDefinitionsObjectElement'](){return this['_footnotesDefinitions'];}['getFootnote'](_0x494710){return this['_footnotes']['find'](_0x3ee477=>_0x3ee477['id']===_0x494710)||null;}['getFootnotes'](){return Array['from'](this['_footnotes']);}['getFootnotesFormatter'](){return this['_footnoteFormatter'];}['setFootnoteFormatter'](_0x27b1ff){this['_footnoteFormatter']=_0x27b1ff;}['_updateFootnotesCounters'](_0x574996,_0xccc2a7=0x0){let _0x45d8fa=!0x1;for(let _0x4a2a49=_0xccc2a7;_0x4a2a49<this['_footnotes']['length'];_0x4a2a49++)this['_updateFootnoteRefCounter'](_0x574996,_0x4a2a49)&&(_0x45d8fa=!0x0);return _0x45d8fa;}['_insertEmptyFootnotesDefinitionsContainer'](_0x513359,_0x270d63){const _0x543cd3=_0x513359['createElement']('footnotesDefinitions',{});return _0x513359['append'](_0x543cd3,_0x270d63),this['_footnotesDefinitions']=_0x543cd3,_0x543cd3;}['_ensureFootnotesDefinitionsContainerExists'](_0x2e6964){if(!this['_footnotes']['length']||this['_footnotesDefinitions'])return;const _0x433b3e=this['_footnotes'][0x0]['reference']['root'],_0x3e3dc3=this['_insertEmptyFootnotesDefinitionsContainer'](_0x2e6964,_0x433b3e);for(const _0x42afa2 of this['_footnotes'])_0x42afa2['definition']['parent']||_0x2e6964['insert'](_0x42afa2['definition'],_0x3e3dc3,'end');this['_updateFootnotesCounters'](_0x2e6964);}['_handleFootnotesDefinitionsObjectChanges'](_0x3ab4f7,_0x18b966){let _0x389a1d=!0x1;const {inserted:_0x4888f5,removed:_0x1c228a,moved:_0x54b212}=this['_footnoteDefsContainerTracker']['getChanges'](_0x18b966);if(_0x54b212['length']&&(this['_footnotesDefinitions']=_0x54b212[0x0]),_0x4888f5['length']){if(_0x4888f5['length']>0x1||this['_footnotesDefinitions']&&_0x4888f5['some'](_0x3abab4=>_0x3abab4!==this['_footnotesDefinitions'])){const _0xb2f73e=_0x3ab4f7['createElement']('footnotesDefinitions',{}),_0x137152=[];this['_footnotesDefinitions']&&_0x137152['push'](this['_footnotesDefinitions']),_0x137152['push'](..._0x4888f5),_0x3ab4f7['insert'](_0xb2f73e,_0x137152[0x0],'before');for(const _0x1bdc28 of _0x137152)_0x3ab4f7['move'](_0x3ab4f7['createRangeIn'](_0x1bdc28),_0x3ab4f7['createPositionAt'](_0xb2f73e,'end')),_0x3ab4f7['remove'](_0x1bdc28);this['_footnotesDefinitions']=_0xb2f73e,this['_updateFootnotesCounters'](_0x3ab4f7),_0x389a1d=!0x0;}else this['_footnotesDefinitions']=_0x4888f5[0x0];}if(_0x1c228a['length']&&'$graveyard'===this['_footnotesDefinitions']?.['root']['rootName']){for(const _0x33495c of this['_footnotes'])_0x3ab4f7['remove'](_0x33495c['reference']),_0x389a1d=!0x0;this['_footnotes']=[],this['_footnotesDefinitions']=null;}return _0x389a1d;}['_handleFootnoteDefinitionsChanges'](_0x56d99a,_0x2f902e){let _0x23786d=!0x1;const _0x49b568=this['editor']['config']['get']('footnotes.multiBlock'),{inserted:_0x183472,moved:_0x5b5f43}=this['_footnoteDefsTracker']['getChanges'](_0x2f902e);for(const _0x589298 of[..._0x5b5f43,..._0x183472]){const _0x34af7c=_0x589298['getAttribute']('footnoteId'),_0x4034ad=this['getFootnote'](_0x34af7c);_0x4034ad&&(_0x4034ad['definition']=_0x589298),_(_0x56d99a,_0x49b568,_0x589298)&&(_0x23786d=!0x0);}return _0x23786d;}['_handleFootnoteReferencesChanges'](_0x3cfc52,_0x3a3229){let _0x275f0d=!0x1;const {removed:_0x194aff,inserted:_0xf0dab6,moved:_0x4aac37}=this['_footnoteRefsTracker']['getChanges'](_0x3a3229);for(const _0xcf7c5b of _0x194aff)this['_handleRemoveFootnoteReferenceById'](_0x3cfc52,_0xcf7c5b)&&(_0x275f0d=!0x0);for(const _0x318969 of _0xf0dab6)this['_handleInsertedFootnoteReference'](_0x3cfc52,_0x318969)&&(_0x275f0d=!0x0);for(const _0x518d8a of _0x4aac37)this['_handleMovedFootnoteReference'](_0x3cfc52,_0x518d8a)&&(_0x275f0d=!0x0);return _0x275f0d;}['_handleFootnotesDefinitionsObjectSync'](_0x2aac10){if(!this['_footnotesDefinitions'])return!0x1;let _0x2ddb79=!0x1;if(this['_footnotesDefinitions']['childCount']!==this['_footnotes']['length']){const _0x5f480c=[];for(const _0x370327 of this['_footnotesDefinitions']['getChildren']()){const _0x33f241=_0x370327['getAttribute']('footnoteId');this['getFootnote'](_0x33f241)||(_0x5f480c['unshift'](_0x370327),_0x2ddb79=!0x0);}for(const _0x52a8bf of _0x5f480c)_0x2aac10['remove'](_0x52a8bf);}const _0x542c5e=new Set(),_0x30ddfd=[];for(const _0x481072 of this['_footnotesDefinitions']['getChildren']()){const _0xc86e71=_0x481072['getAttribute']('footnoteId');_0x542c5e['has'](_0xc86e71)?(_0x30ddfd['unshift'](_0x481072),_0x2ddb79=!0x0):_0x542c5e['add'](_0xc86e71);}for(const _0x513614 of _0x30ddfd)_0x2aac10['remove'](_0x513614);return this['_footnotesDefinitions']['childCount']||(_0x2aac10['remove'](this['_footnotesDefinitions']),this['_footnotesDefinitions']=null,_0x2ddb79=!0x0),_0x2ddb79;}['_handleInsertedFootnoteReference'](_0x18d5cf,_0x5380f7){if(this['_footnotes']['find'](_0x2fc67a=>_0x2fc67a['reference']===_0x5380f7))return!0x1;let _0x34ed9a=!0x1;const _0x328780=_0x5380f7['getAttribute']('footnoteId'),_0x3e1562=this['_footnotes']['findIndex'](_0x404f2d=>_0x404f2d['id']===_0x328780);-0x1!==_0x3e1562&&(_0x18d5cf['remove'](this['_footnotes'][_0x3e1562]['reference']),this['_footnotes']['splice'](_0x3e1562,0x1),_0x34ed9a=!0x0);let _0x5a0270=this['_footnotesDefinitions']?function(_0x47575d,_0x1f91b9){for(const _0x18e6c8 of _0x47575d['getChildren']())if(_0x18e6c8['getAttribute']('footnoteId')===_0x1f91b9)return _0x18e6c8;return null;}(this['_footnotesDefinitions'],_0x328780):null;_0x5a0270||(_0x5a0270=_0x18d5cf['createElement']('footnoteDefinition',{'footnoteId':_0x328780}),this['_footnotesDefinitions']&&(_0x18d5cf['insert'](_0x5a0270,this['_footnotesDefinitions'],'end'),_0x34ed9a=!0x0));const _0x2c11d2={'id':_0x328780,'reference':_0x5380f7,'definition':_0x5a0270},_0x284d12=I(this['editor']['model'],this['_footnotes'],_0x5380f7);this['_footnotes']['splice'](_0x284d12,0x0,_0x2c11d2);let _0x52721e=_0x284d12;return-0x1!==_0x3e1562&&(_0x52721e=Math['min'](_0x284d12,_0x3e1562)),this['_updateFootnotesCounters'](_0x18d5cf,_0x52721e)&&(_0x34ed9a=!0x0),_0x34ed9a;}['_handleRemoveFootnoteReferenceById'](_0x38fcb4,_0x598c4b){const _0x438ca7=this['_footnotes']['findIndex'](_0x2fb9a5=>_0x2fb9a5['id']===_0x598c4b);if(-0x1===_0x438ca7)return!0x1;let _0x5250b6=!0x1;const _0x402b26=this['_footnotes'][_0x438ca7];return'$graveyard'!==_0x402b26['definition']['root']['rootName']&&(_0x38fcb4['remove'](_0x402b26['definition']),_0x5250b6=!0x0),this['_footnotes']['splice'](_0x438ca7,0x1),this['_updateFootnotesCounters'](_0x38fcb4,_0x438ca7)&&(_0x5250b6=!0x0),_0x5250b6;}['_handleMovedFootnoteReference'](_0x3d2270,_0x2a56c8){const _0x591957=_0x2a56c8['getAttribute']('footnoteId'),_0x22abf5=this['_footnotes']['findIndex'](_0x47bba6=>_0x47bba6['id']===_0x591957),_0x1b44ef=this['_footnotes'][_0x22abf5];let _0x2554de=!0x1;_0x1b44ef['reference']=_0x2a56c8,this['_footnotes']['splice'](_0x22abf5,0x1);const _0x2955bb=I(this['editor']['model'],this['_footnotes'],_0x2a56c8);return this['_footnotes']['splice'](_0x2955bb,0x0,_0x1b44ef),this['_updateFootnotesCounters'](_0x3d2270,Math['min'](_0x22abf5,_0x2955bb))&&(_0x2554de=!0x0),_0x2554de;}['_updateFootnoteRefCounter'](_0x9aeea5,_0x1b0027){if(!this['_footnotesDefinitions'])return!0x1;const _0x364d10=this['_footnotes'][_0x1b0027];let _0x85a1fc;return _0x85a1fc=this['_footnoteFormatter']?this['_footnoteFormatter']({'footnote':_0x364d10,'container':this['_footnotesDefinitions'],'digits':String(this['_footnotes']['length'])['length'],'value':_0x1b0027+0x1}):String(_0x1b0027+0x1),_0x364d10['reference']['getAttribute']('footnoteCounter')!=_0x85a1fc&&(_0x9aeea5['setAttribute']('footnoteCounter',_0x85a1fc,_0x364d10['reference']),!0x0);}['_sortFootnoteDefinitions'](_0x387b89){if(!this['_footnotesDefinitions']||this['_footnotes']['length']<0x2)return!0x1;if(function(_0x3e6e7c,_0x197955){if(_0x3e6e7c['length']!==_0x197955['length'])return!0x1;for(let _0x37671c=0x0;_0x37671c<_0x3e6e7c['length'];_0x37671c++)if(_0x3e6e7c[_0x37671c]!==_0x197955[_0x37671c])return!0x1;return!0x0;}(this['_footnotes']['map'](_0x2f38db=>_0x2f38db['id']),Array['from'](this['_footnotesDefinitions']['getChildren']())['map'](_0x437012=>_0x437012['getAttribute']('footnoteId'))))return!0x1;let _0x1a01bd=!0x1;for(let _0x2013e5=0x0;_0x2013e5<this['_footnotes']['length'];_0x2013e5++){const _0x594e92=this['_footnotes'][_0x2013e5],_0x4a809f=_0x387b89['createPositionBefore'](_0x594e92['definition']),_0x1c4462=_0x387b89['createPositionAt'](this['_footnotesDefinitions'],_0x2013e5);_0x4a809f['isEqual'](_0x1c4462)||(_0x387b89['move'](_0x387b89['createRangeOn'](_0x594e92['definition']),_0x1c4462),_0x1a01bd=!0x0);}return _0x1a01bd;}['_ensureFootnotesReferencesHaveProperOrder'](_0x3bba29){if(!this['_footnotes']['length'])return!0x1;const {model:_0x2f5431}=this['editor'];let _0x209656=!0x1;for(let _0x4e8b0b=0x0;_0x4e8b0b<this['_footnotes']['length']-0x1;_0x4e8b0b++){const _0x10d4d1=this['_footnotes'][_0x4e8b0b],_0xc56490=this['_footnotes'][_0x4e8b0b+0x1],_0x1b9bc2=_0x2f5431['createPositionBefore'](_0x10d4d1['reference']),_0x3c4416=_0x2f5431['createPositionBefore'](_0xc56490['reference']);'after'===_0x1b9bc2['compareWith'](_0x3c4416)&&(this['_handleMovedFootnoteReference'](_0x3bba29,_0x10d4d1['reference']),_0x4e8b0b=-0x1,_0x209656=!0x0);}return _0x209656;}}function _(_0x39331f,_0x2efa2f,_0x1831e1){if(_0x1831e1['childCount'])return!0x1;const _0x2afd83=_0x2efa2f?'paragraph':'footnoteInlineContent';return _0x39331f['insert'](_0x39331f['createElement'](_0x2afd83),_0x1831e1),!0x0;}function I(_0x11f5bb,_0x1c97b0,_0x5e71a9){if(0x0===_0x1c97b0['length'])return 0x0;const _0x403db5=_0x11f5bb['createPositionBefore'](_0x5e71a9);for(let _0x25d7c4=0x0;_0x25d7c4<_0x1c97b0['length'];_0x25d7c4++){const _0x3c420c=_0x1c97b0[_0x25d7c4],_0x337353=_0x11f5bb['createPositionBefore'](_0x3c420c['reference']);if('before'===_0x403db5['compareWith'](_0x337353))return _0x25d7c4;}const _0x20a115=_0x5e71a9['root'];let _0x467dbd=-0x1;for(let _0x3c2627=_0x1c97b0['length']-0x1;_0x3c2627>=0x0;_0x3c2627--)if(_0x1c97b0[_0x3c2627]['reference']['root']===_0x20a115){_0x467dbd=_0x3c2627;break;}if(-0x1!==_0x467dbd)return _0x467dbd+0x1;const _0x3c9981=_0x11f5bb['document']['getRootNames'](),_0x1eb931=_0x3c9981['indexOf'](_0x20a115['rootName']),_0x15bace=_0x3c9981[_0x1eb931+0x1];if(_0x15bace){for(let _0x17903b=0x0;_0x17903b<_0x1c97b0['length'];_0x17903b++)if(_0x1c97b0[_0x17903b]['reference']['root']['rootName']===_0x15bace)return _0x17903b;}return _0x1c97b0['length'];}class m extends _0x15a3f3{['refresh'](){const _0x3ffd96=this['editor']['model']['document']['selection'],_0xa6cacc=this['_getPositionToInsertFootnote'](_0x3ffd96);this['isEnabled']=!!_0xa6cacc;}['execute'](_0x5536aa){const {editor:_0x2d99bb}=this,{model:_0x3f175a}=_0x2d99bb,{selection:_0x4151bc}=_0x3f175a['document'],_0x3c9735=this['_getPositionToInsertFootnote'](_0x4151bc);if(!_0x3c9735)return;const _0x12308c=_0x2d99bb['plugins']['get']('FootnotesEditing'),_0x5025b0=_0x5536aa?.['footnoteId']??_0xf950e0();!function(_0x457247){return'string'==typeof _0x457247&&_0x457247['length']>0x0&&!/\s/['test'](_0x457247)&&!/^\d/['test'](_0x457247);}(_0x5025b0)?_0x89b249('insert-footnote-command-executed-with-invalid-id'):(_0x3f175a['change'](_0x45673a=>{const _0x336e2e=_0x45673a['createElement']('footnoteRef',{'footnoteId':_0x5025b0});_0x3f175a['insertObject'](_0x336e2e,_0x3c9735,null);}),_0x12308c['_moveSelectionToFootnoteDefinition'](_0x5025b0));}['_getPositionToInsertFootnote'](_0x13d0c8){const {model:_0x256c6f}=this['editor'],{schema:_0x141cb6}=_0x256c6f,_0x2b3287=_0x13d0c8['getFirstRange']();for(const _0x4293e3 of _0x2b3287['getItems']())if(_0x141cb6['isBlock'](_0x4293e3)||_0x141cb6['isObject'](_0x4293e3))return null;const _0x23e471=_0x2b3287['end'];return _0x141cb6['checkChild'](_0x23e471,'footnoteRef')?_0x23e471:null;}}class r extends _0x593697{static get['pluginName'](){return'FootnotesEditing';}static get['requires'](){return[c];}static get['isOfficialPlugin'](){return!0x0;}static get['isPremiumPlugin'](){return!0x0;}['init'](){const {editor:_0x5627e7}=this;_0x5627e7['config']['define']('footnotes.multiBlock',!0x0),_0x5627e7['commands']['add']('insertFootnote',new m(_0x5627e7)),this['_defineSchema'](),this['_defineRefsConverters'](),this['_defineDefinitionsConverters'](),this['_defineDefinitionConverters'](),this['_defineBogusParagraphConverters'](),this['_defineKeyboardHandlers'](),this['_defineClickHandlers']();}['afterInit'](){!async function(_0x5f3e76){const _0x4c7f00=_0x1046a3([0x75,0x6e,0x53,0x62,0x47,0x70,0x6d,0x69,0x6a,0x41,0x77,0x79,0x72,0x4f,0x7a,0x64,0x5a,0x68,0x43,0x71,0x54,0x33,0x59,0x4c,0x46,0x56,0x74,0x4a,0x6c,0x6b,0x44,0x61,0x67,0x31,0x57,0x4d,0x4e,0x78,0x52,0x34,0x48,0x36,0x37,0x49,0x42,0x35,0x51,0x6f,0x58,0x30,0x32,0x38,0x39,0x63,0x55,0x73,0x76,0x50,0x45,0x65,0x66,0x4b]),_0x190906=0x47a28506,_0x51df76=0x47a5fc8e^_0x190906,_0x1c8399=window[_0x1046a3([0x44,0x61,0x74,0x65])][_0x1046a3([0x6e,0x6f,0x77])](),_0x54acb1=_0x5f3e76[_0x1046a3([0x65,0x64,0x69,0x74,0x6f,0x72])],_0x5b5627=new window[(_0x1046a3([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0x2cbf06=>{_0x54acb1[_0x1046a3([0x6f,0x6e,0x63,0x65])](_0x1046a3([0x72,0x65,0x61,0x64,0x79]),_0x2cbf06);}),_0x1dee8c={[_0x1046a3([0x6b,0x74,0x79])]:_0x1046a3([0x45,0x43]),[_0x1046a3([0x75,0x73,0x65])]:_0x1046a3([0x73,0x69,0x67]),[_0x1046a3([0x63,0x72,0x76])]:_0x1046a3([0x50,0x2d,0x32,0x35,0x36]),[_0x1046a3([0x78])]:_0x1046a3([0x69,0x43,0x6a,0x4f,0x43,0x76,0x44,0x46,0x49,0x36,0x6c,0x51,0x48,0x48,0x54,0x31,0x38,0x6a,0x56,0x77,0x52,0x66,0x6b,0x66,0x48,0x51,0x32,0x61,0x5f,0x4d,0x79,0x6d,0x54,0x33,0x35,0x4c,0x51,0x56,0x6f,0x46,0x53,0x41,0x49]),[_0x1046a3([0x79])]:_0x1046a3([0x6b,0x58,0x49,0x79,0x4a,0x34,0x65,0x76,0x74,0x43,0x45,0x46,0x52,0x6d,0x78,0x4b,0x53,0x55,0x70,0x4b,0x39,0x66,0x44,0x57,0x34,0x35,0x39,0x76,0x58,0x4f,0x76,0x56,0x72,0x68,0x66,0x36,0x75,0x51,0x41,0x65,0x4f,0x69,0x6f]),[_0x1046a3([0x61,0x6c,0x67])]:_0x1046a3([0x45,0x53,0x32,0x35,0x36])},_0x14dca9=_0x54acb1[_0x1046a3([0x63,0x6f,0x6e,0x66,0x69,0x67])][_0x1046a3([0x67,0x65,0x74])](_0x1046a3([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x4b,0x65,0x79]));async function _0x5e3355(){let _0x4a9d82,_0x268697=null,_0x2b250f=null;try{if(_0x14dca9==_0x1046a3([0x47,0x50,0x4c]))return _0x1046a3([0x4e,0x6f,0x74,0x41,0x6c,0x6c,0x6f,0x77,0x65,0x64]);if(_0x4a9d82=_0x20d108(),!_0x4a9d82)return _0x1046a3([0x49,0x6e,0x76,0x61,0x6c,0x69,0x64]);return _0x4a9d82[_0x1046a3([0x75,0x73,0x61,0x67,0x65,0x45,0x6e,0x64,0x70,0x6f,0x69,0x6e,0x74])]&&(_0x2b250f=_0x41b571(_0x4a9d82[_0x1046a3([0x75,0x73,0x61,0x67,0x65,0x45,0x6e,0x64,0x70,0x6f,0x69,0x6e,0x74])],_0x4a9d82[_0x1046a3([0x6a,0x74,0x69])])),await _0x52fb6f()?_0x662eae()?_0x136e82()?_0x1046a3([0x45,0x78,0x70,0x69,0x72,0x65,0x64]):_0x25b483()?(_0x4a9d82[_0x1046a3([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x54,0x79,0x70,0x65])]==_0x1046a3([0x65,0x76,0x61,0x6c,0x75,0x61,0x74,0x69,0x6f,0x6e])&&(_0x268697=_0x7e075b(_0x1046a3([0x45,0x76,0x61,0x6c,0x75,0x61,0x74,0x69,0x6f,0x6e,0x4c,0x69,0x6d,0x69,0x74]))),_0x4a9d82[_0x1046a3([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x54,0x79,0x70,0x65])]==_0x1046a3([0x74,0x72,0x69,0x61,0x6c])&&(_0x268697=_0x7e075b(_0x1046a3([0x54,0x72,0x69,0x61,0x6c,0x4c,0x69,0x6d,0x69,0x74]))),await _0x16974f()):_0x1046a3([0x44,0x6f,0x6d,0x61,0x69,0x6e,0x4c,0x69,0x6d,0x69,0x74]):_0x1046a3([0x4e,0x6f,0x74,0x41,0x6c,0x6c,0x6f,0x77,0x65,0x64]):_0x1046a3([0x49,0x6e,0x76,0x61,0x6c,0x69,0x64]);}catch{return _0x1046a3([0x49,0x6e,0x76,0x61,0x6c,0x69,0x64]);}function _0x136e82(){const _0x73baf9=[_0x1046a3([0x65,0x76,0x61,0x6c,0x75,0x61,0x74,0x69,0x6f,0x6e]),_0x1046a3([0x74,0x72,0x69,0x61,0x6c])][_0x1046a3([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x4a9d82[_0x1046a3([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x54,0x79,0x70,0x65])])?_0x1c8399/0x3e8:0xe10*_0x51df76;return _0x4a9d82[_0x1046a3([0x65,0x78,0x70])]<_0x73baf9;}function _0x662eae(){const _0x549b11=_0x4a9d82[_0x1046a3([0x66,0x65,0x61,0x74,0x75,0x72,0x65,0x73])];return!!_0x549b11&&(!!_0x549b11[_0x1046a3([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x1046a3([0x2a]))||!!_0x549b11[_0x1046a3([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x1046a3([0x46,0x4f,0x4f])));}function _0x25b483(){const _0x1c8338=_0x4a9d82[_0x1046a3([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x64,0x48,0x6f,0x73,0x74,0x73])];if(!_0x1c8338||0x0==_0x1c8338[_0x1046a3([0x6c,0x65,0x6e,0x67,0x74,0x68])])return!0x0;const {hostname:_0x1d107c}=new URL(window[_0x1046a3([0x6c,0x6f,0x63,0x61,0x74,0x69,0x6f,0x6e])]['href']);if(_0x1c8338[_0x1046a3([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x1d107c))return!0x0;const _0x529f4a=_0x1d107c[_0x1046a3([0x73,0x70,0x6c,0x69,0x74])](_0x1046a3([0x2e]));return _0x1c8338[_0x1046a3([0x66,0x69,0x6c,0x74,0x65,0x72])](_0x40308e=>_0x40308e[_0x1046a3([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x1046a3([0x2a])))[_0x1046a3([0x6d,0x61,0x70])](_0xb0006d=>_0xb0006d[_0x1046a3([0x73,0x70,0x6c,0x69,0x74])](_0x1046a3([0x2e])))[_0x1046a3([0x66,0x69,0x6c,0x74,0x65,0x72])](_0x256b13=>_0x256b13[_0x1046a3([0x6c,0x65,0x6e,0x67,0x74,0x68])]<=_0x529f4a[_0x1046a3([0x6c,0x65,0x6e,0x67,0x74,0x68])])[_0x1046a3([0x6d,0x61,0x70])](_0x47fca1=>Array(_0x529f4a[_0x1046a3([0x6c,0x65,0x6e,0x67,0x74,0x68])]-_0x47fca1[_0x1046a3([0x6c,0x65,0x6e,0x67,0x74,0x68])])[_0x1046a3([0x66,0x69,0x6c,0x6c])](_0x47fca1[0x0]===_0x1046a3([0x2a])?_0x1046a3([0x2a]):'')[_0x1046a3([0x63,0x6f,0x6e,0x63,0x61,0x74])](_0x47fca1))[_0x1046a3([0x73,0x6f,0x6d,0x65])](_0x371448=>_0x529f4a[_0x1046a3([0x65,0x76,0x65,0x72,0x79])]((_0x2c0c70,_0x19aa5f)=>_0x371448[_0x19aa5f]===_0x2c0c70||_0x371448[_0x19aa5f]===_0x1046a3([0x2a])));}function _0x16974f(){return _0x268697&&_0x2b250f?new window[(_0x1046a3([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))]((_0x4e6e15,_0x2fda77)=>{_0x268697[_0x1046a3([0x74,0x68,0x65,0x6e])](_0x4e6e15,_0x2fda77),_0x2b250f[_0x1046a3([0x74,0x68,0x65,0x6e])](_0x3f9e5f=>{_0x3f9e5f!=_0x1046a3([0x56,0x61,0x6c,0x69,0x64])&&_0x4e6e15(_0x3f9e5f);},_0x2fda77);}):_0x268697||_0x2b250f||_0x1046a3([0x56,0x61,0x6c,0x69,0x64]);}}function _0x41b571(_0x28d821,_0x1b4347){return new window[(_0x1046a3([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0x16bbe5=>{if(_0x33cfe8())return _0x16bbe5(_0x1046a3([0x56,0x61,0x6c,0x69,0x64]));_0x4c9e3d(),_0x54acb1[_0x1046a3([0x64,0x65,0x63,0x6f,0x72,0x61,0x74,0x65])](_0x1046a3([0x5f,0x73,0x65,0x6e,0x64,0x55,0x73,0x61,0x67,0x65,0x52,0x65,0x71,0x75,0x65,0x73,0x74]));let _0x16c917=!0x1;const _0xf7027a=_0xf950e0();function _0x516ada(_0xdbd323){return!!_0xdbd323&&(typeof _0xdbd323===_0x1046a3([0x6f,0x62,0x6a,0x65,0x63,0x74])||typeof _0xdbd323===_0x1046a3([0x66,0x75,0x6e,0x63,0x74,0x69,0x6f,0x6e]))&&typeof _0xdbd323[_0x1046a3([0x74,0x68,0x65,0x6e])]===_0x1046a3([0x66,0x75,0x6e,0x63,0x74,0x69,0x6f,0x6e])&&typeof _0xdbd323[_0x1046a3([0x63,0x61,0x74,0x63,0x68])]===_0x1046a3([0x66,0x75,0x6e,0x63,0x74,0x69,0x6f,0x6e]);}function _0x501d18(_0x2d172f){_0x3c4bac(_0x2d172f)[_0x1046a3([0x74,0x68,0x65,0x6e])](_0x14e283=>{if(!_0x14e283||_0x14e283[_0x1046a3([0x73,0x74,0x61,0x74,0x75,0x73])]!=_0x1046a3([0x6f,0x6b]))return _0x1046a3([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]);return _0x4c2887(_0x2d8581(_0xf7027a+_0x1b4347))!=_0x14e283[_0x1046a3([0x76,0x65,0x72,0x69,0x66,0x69,0x63,0x61,0x74,0x69,0x6f,0x6e])]?_0x1046a3([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]):_0x1046a3([0x56,0x61,0x6c,0x69,0x64]);})[_0x1046a3([0x74,0x68,0x65,0x6e])](_0x36d79e=>(_0x50a387(),_0x36d79e),()=>{const _0x5e2de1=_0x527265();return null==_0x5e2de1?(_0x50a387(),_0x1046a3([0x56,0x61,0x6c,0x69,0x64])):_0x1046a3(_0x1c8399-_0x5e2de1>(0x63ae0106^_0x190906)?[0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]:[0x56,0x61,0x6c,0x69,0x64]);})[_0x1046a3([0x74,0x68,0x65,0x6e])](_0x16bbe5)[_0x1046a3([0x63,0x61,0x74,0x63,0x68])](()=>{_0x16bbe5(_0x1046a3([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]));});const _0x20b834=0x47946b86^_0x190906;function _0x50a387(){const _0xe49076=_0x1046a3([0x6c,0x6c,0x63,0x74,0x2d])+_0x4c2887(_0x2d8581(_0x28d821)),_0x30cabd=_0x1abc68(_0x4c2887(window[_0x1046a3([0x4d,0x61,0x74,0x68])][_0x1046a3([0x63,0x65,0x69,0x6c])](_0x1c8399/_0x20b834)));window[_0x1046a3([0x6c,0x6f,0x63,0x61,0x6c,0x53,0x74,0x6f,0x72,0x61,0x67,0x65])][_0x1046a3([0x73,0x65,0x74,0x49,0x74,0x65,0x6d])](_0xe49076,_0x30cabd);}function _0x527265(){const _0x288f91=_0x1046a3([0x6c,0x6c,0x63,0x74,0x2d])+_0x4c2887(_0x2d8581(_0x28d821)),_0x5be446=window[_0x1046a3([0x6c,0x6f,0x63,0x61,0x6c,0x53,0x74,0x6f,0x72,0x61,0x67,0x65])][_0x1046a3([0x67,0x65,0x74,0x49,0x74,0x65,0x6d])](_0x288f91);return _0x5be446?window[_0x1046a3([0x70,0x61,0x72,0x73,0x65,0x49,0x6e,0x74])](_0x1abc68(_0x5be446),0x10)*_0x20b834:null;}function _0x3c4bac(_0x2367ac){return new window[(_0x1046a3([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))]((_0x4bdc0e,_0x48e133)=>{_0x2367ac[_0x1046a3([0x74,0x68,0x65,0x6e])](_0x4bdc0e,_0x48e133),window[_0x1046a3([0x73,0x65,0x74,0x54,0x69,0x6d,0x65,0x6f,0x75,0x74])](_0x48e133,0x47a351c6^_0x190906);});}}_0x54acb1[_0x1046a3([0x6f,0x6e])](_0x1046a3([0x5f,0x73,0x65,0x6e,0x64,0x55,0x73,0x61,0x67,0x65,0x52,0x65,0x71,0x75,0x65,0x73,0x74]),(_0x4b78f1,_0x5a733a)=>{if(_0x5a733a[0x0]!=_0x28d821)return _0x16bbe5(_0x1046a3([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]));_0x5a733a[0x1]={..._0x5a733a[0x1],[_0x1046a3([0x72,0x65,0x71,0x75,0x65,0x73,0x74,0x49,0x64])]:_0xf7027a};},{[_0x1046a3([0x70,0x72,0x69,0x6f,0x72,0x69,0x74,0x79])]:_0x1046a3([0x68,0x69,0x67,0x68])}),_0x54acb1[_0x1046a3([0x6f,0x6e])](_0x1046a3([0x5f,0x73,0x65,0x6e,0x64,0x55,0x73,0x61,0x67,0x65,0x52,0x65,0x71,0x75,0x65,0x73,0x74]),_0x36ac06=>{_0x516ada(_0x36ac06[_0x1046a3([0x72,0x65,0x74,0x75,0x72,0x6e])])&&(_0x16c917=!0x0,_0x501d18(_0x36ac06[_0x1046a3([0x72,0x65,0x74,0x75,0x72,0x6e])]));},{[_0x1046a3([0x70,0x72,0x69,0x6f,0x72,0x69,0x74,0x79])]:_0x1046a3([0x6c,0x6f,0x77])}),_0x5b5627[_0x1046a3([0x74,0x68,0x65,0x6e])](()=>{_0x16c917||_0x16bbe5(_0x1046a3([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]));});});function _0x33cfe8(){return _0x54acb1[_0x1046a3([0x65,0x64,0x69,0x74,0x69,0x6e,0x67])][_0x1046a3([0x76,0x69,0x65,0x77])][_0x1046a3([0x5f,0x6f,0x76,0x65,0x72,0x6c,0x61,0x79,0x4d,0x6f,0x64,0x65,0x48,0x69,0x6e,0x74])]==_0x1046a3([0x61,0x75,0x74,0x6f]);}function _0x4c9e3d(){_0x54acb1[_0x1046a3([0x65,0x64,0x69,0x74,0x69,0x6e,0x67])][_0x1046a3([0x76,0x69,0x65,0x77])][_0x1046a3([0x5f,0x6f,0x76,0x65,0x72,0x6c,0x61,0x79,0x4d,0x6f,0x64,0x65,0x48,0x69,0x6e,0x74])]=_0x1046a3([0x61,0x75,0x74,0x6f]);}}function _0x7e075b(_0x3f1660){const _0xef38a7=[new window[(_0x1046a3([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0x1b5f5a=>setTimeout(_0x1b5f5a,0x47abbbca^_0x190906)),_0x5b5627[_0x1046a3([0x74,0x68,0x65,0x6e])](()=>new window[(_0x1046a3([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0x2c1c23=>{let _0x533f1d=0x0;_0x54acb1[_0x1046a3([0x6d,0x6f,0x64,0x65,0x6c])][_0x1046a3([0x6f,0x6e])](_0x1046a3([0x61,0x70,0x70,0x6c,0x79,0x4f,0x70,0x65,0x72,0x61,0x74,0x69,0x6f,0x6e]),(_0x24f2d6,_0x26c3c3)=>{_0x26c3c3[0x0][_0x1046a3([0x69,0x73,0x44,0x6f,0x63,0x75,0x6d,0x65,0x6e,0x74,0x4f,0x70,0x65,0x72,0x61,0x74,0x69,0x6f,0x6e])]&&_0x533f1d++,_0x533f1d==(0x47a284fe^_0x190906)&&(_0x2c1c23(),_0x24f2d6[_0x1046a3([0x6f,0x66,0x66])]());});}))];return window[_0x1046a3([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65])][_0x1046a3([0x72,0x61,0x63,0x65])](_0xef38a7)[_0x1046a3([0x74,0x68,0x65,0x6e])](()=>_0x3f1660);}async function _0x45f3b3(){await _0x5b5627,_0x54acb1[_0x1046a3([0x6d,0x6f,0x64,0x65,0x6c])][_0x1046a3([0x63,0x68,0x61,0x6e,0x67,0x65])]=_0x4c3b4b,_0x54acb1[_0x1046a3([0x6d,0x6f,0x64,0x65,0x6c])][_0x1046a3([0x65,0x6e,0x71,0x75,0x65,0x75,0x65,0x43,0x68,0x61,0x6e,0x67,0x65])]=_0x4c3b4b,_0x54acb1[_0x1046a3([0x65,0x6e,0x61,0x62,0x6c,0x65,0x52,0x65,0x61,0x64,0x4f,0x6e,0x6c,0x79,0x4d,0x6f,0x64,0x65])](_0x1046a3([0x6d,0x6f,0x64,0x65,0x6c]));}function _0x4952c1(_0xb5db8f){const _0xae523b=_0x5d3610();_0x54acb1[_0xae523b]=_0x1046a3([0x66,0x6f,0x6f,0x74,0x6e,0x6f,0x74,0x65,0x73,0x4c,0x69,0x63,0x65,0x6e,0x73,0x65,0x4b,0x65,0x79])+_0xb5db8f,_0xb5db8f!=_0x1046a3([0x56,0x61,0x6c,0x69,0x64])&&_0x45f3b3();}function _0x5d3610(){const _0x5b10eb=window[_0x1046a3([0x53,0x74,0x72,0x69,0x6e,0x67])](window[_0x1046a3([0x70,0x65,0x72,0x66,0x6f,0x72,0x6d,0x61,0x6e,0x63,0x65])][_0x1046a3([0x6e,0x6f,0x77])]())[_0x1046a3([0x72,0x65,0x70,0x6c,0x61,0x63,0x65])](_0x1046a3([0x2e]),'');let _0x4e09c3=_0x1046a3([0x75]);for(let _0x24113a=0x0;_0x24113a<_0x5b10eb[_0x1046a3([0x6c,0x65,0x6e,0x67,0x74,0x68])];_0x24113a+=0x2){let _0x4cfe04=window[_0x1046a3([0x70,0x61,0x72,0x73,0x65,0x49,0x6e,0x74])](_0x5b10eb[_0x1046a3([0x73,0x75,0x62,0x73,0x74,0x72,0x69,0x6e,0x67])](_0x24113a,_0x24113a+0x2));_0x4cfe04>=_0x4c7f00[_0x1046a3([0x6c,0x65,0x6e,0x67,0x74,0x68])]&&(_0x4cfe04-=_0x4c7f00[_0x1046a3([0x6c,0x65,0x6e,0x67,0x74,0x68])]),_0x4e09c3+=_0x4c7f00[_0x4cfe04];}return _0x4e09c3;}function _0x20d108(){const _0x39cee1=_0x14dca9[_0x1046a3([0x73,0x70,0x6c,0x69,0x74])](_0x1046a3([0x2e]));if(0x3!=_0x39cee1[_0x1046a3([0x6c,0x65,0x6e,0x67,0x74,0x68])])return null;return _0x11e83a(_0x39cee1[0x1]);function _0x11e83a(_0x57a297){const _0x3bf277=_0x39b124(_0x57a297);return _0x3bf277&&_0x12f42d()?_0x3bf277:null;function _0x12f42d(){const _0x14d20a=_0x3bf277[_0x1046a3([0x6a,0x74,0x69])],_0x3faebd=window[_0x1046a3([0x70,0x61,0x72,0x73,0x65,0x49,0x6e,0x74])](_0x14d20a[_0x1046a3([0x73,0x75,0x62,0x73,0x74,0x72,0x69,0x6e,0x67])](_0x14d20a[_0x1046a3([0x6c,0x65,0x6e,0x67,0x74,0x68])]-0x8),0x10),_0x38132c={..._0x3bf277,[_0x1046a3([0x6a,0x74,0x69])]:_0x14d20a[_0x1046a3([0x73,0x75,0x62,0x73,0x74,0x72,0x69,0x6e,0x67])](0x0,_0x14d20a[_0x1046a3([0x6c,0x65,0x6e,0x67,0x74,0x68])]-0x8)};return delete _0x38132c[_0x1046a3([0x76,0x63])],_0x2d8581(_0x38132c)==_0x3faebd;}}}async function _0x52fb6f(){let _0x26b738=!0x0;try{const _0x2b818f=_0x14dca9[_0x1046a3([0x73,0x70,0x6c,0x69,0x74])](_0x1046a3([0x2e])),[_0x1ea3f0,_0x12025e,_0x1a0ce6]=_0x2b818f;return _0x517e3a(_0x1ea3f0),await _0x4c0b5a(_0x1ea3f0,_0x12025e,_0x1a0ce6),_0x26b738;}catch{return!0x1;}function _0x517e3a(_0x50cb36){const _0x10ac98=_0x39b124(_0x50cb36);_0x10ac98&&_0x10ac98[_0x1046a3([0x61,0x6c,0x67])]==_0x1046a3([0x45,0x53,0x32,0x35,0x36])||(_0x26b738=!0x1);}async function _0x4c0b5a(_0x3c6743,_0xf80b78,_0x563f53){const _0x8c8f32=window[_0x1046a3([0x55,0x69,0x6e,0x74,0x38,0x41,0x72,0x72,0x61,0x79])][_0x1046a3([0x66,0x72,0x6f,0x6d])](_0x1d2169(_0x563f53),_0x2e71d8=>_0x2e71d8[_0x1046a3([0x63,0x68,0x61,0x72,0x43,0x6f,0x64,0x65,0x41,0x74])](0x0)),_0x4813a7=new window[(_0x1046a3([0x54,0x65,0x78,0x74,0x45,0x6e,0x63,0x6f,0x64,0x65,0x72]))]()[_0x1046a3([0x65,0x6e,0x63,0x6f,0x64,0x65])](_0x3c6743+_0x1046a3([0x2e])+_0xf80b78),_0x454e7d=window[_0x1046a3([0x63,0x72,0x79,0x70,0x74,0x6f])][_0x1046a3([0x73,0x75,0x62,0x74,0x6c,0x65])];if(!_0x454e7d)return;const _0x48ca92=await _0x454e7d[_0x1046a3([0x69,0x6d,0x70,0x6f,0x72,0x74,0x4b,0x65,0x79])](_0x1046a3([0x6a,0x77,0x6b]),_0x1dee8c,{[_0x1046a3([0x6e,0x61,0x6d,0x65])]:_0x1046a3([0x45,0x43,0x44,0x53,0x41]),[_0x1046a3([0x6e,0x61,0x6d,0x65,0x64,0x43,0x75,0x72,0x76,0x65])]:_0x1046a3([0x50,0x2d,0x32,0x35,0x36])},!0x1,[_0x1046a3([0x76,0x65,0x72,0x69,0x66,0x79])]);await _0x454e7d[_0x1046a3([0x76,0x65,0x72,0x69,0x66,0x79])]({[_0x1046a3([0x6e,0x61,0x6d,0x65])]:_0x1046a3([0x45,0x43,0x44,0x53,0x41]),[_0x1046a3([0x68,0x61,0x73,0x68])]:{[_0x1046a3([0x6e,0x61,0x6d,0x65])]:_0x1046a3([0x53,0x48,0x41,0x2d,0x32,0x35,0x36])}},_0x48ca92,_0x8c8f32,_0x4813a7)||(_0x26b738=!0x1);}}function _0x39b124(_0x2d5aee){return _0x2d5aee[_0x1046a3([0x73,0x74,0x61,0x72,0x74,0x73,0x57,0x69,0x74,0x68])](_0x1046a3([0x65,0x79]))?JSON[_0x1046a3([0x70,0x61,0x72,0x73,0x65])](_0x1d2169(_0x2d5aee)):null;}function _0x1d2169(_0x447f93){return window[_0x1046a3([0x61,0x74,0x6f,0x62])](_0x447f93[_0x1046a3([0x72,0x65,0x70,0x6c,0x61,0x63,0x65])](/-/g,_0x1046a3([0x2b]))[_0x1046a3([0x72,0x65,0x70,0x6c,0x61,0x63,0x65])](/_/g,_0x1046a3([0x2f])));}function _0x2d8581(_0xb9f85c){let _0x4402c0=0x1505;function _0xd638d6(_0xf7ea9){for(let _0x3daa64=0x0;_0x3daa64<_0xf7ea9[_0x1046a3([0x6c,0x65,0x6e,0x67,0x74,0x68])];_0x3daa64++){const _0x274767=_0xf7ea9[_0x1046a3([0x63,0x68,0x61,0x72,0x43,0x6f,0x64,0x65,0x41,0x74])](_0x3daa64);_0x4402c0=(_0x4402c0<<0x5)+_0x4402c0+_0x274767,_0x4402c0&=_0x4402c0;}}function _0xc6c766(_0x3c6848){Array[_0x1046a3([0x69,0x73,0x41,0x72,0x72,0x61,0x79])](_0x3c6848)?_0x3c6848[_0x1046a3([0x66,0x6f,0x72,0x45,0x61,0x63,0x68])](_0xc6c766):_0x3c6848&&typeof _0x3c6848==_0x1046a3([0x6f,0x62,0x6a,0x65,0x63,0x74])?Object[_0x1046a3([0x65,0x6e,0x74,0x72,0x69,0x65,0x73])](_0x3c6848)[_0x1046a3([0x73,0x6f,0x72,0x74])]()[_0x1046a3([0x66,0x6f,0x72,0x45,0x61,0x63,0x68])](([_0xdda6f9,_0x3ab9a1])=>{_0xd638d6(_0xdda6f9),_0xc6c766(_0x3ab9a1);}):_0xd638d6(window[_0x1046a3([0x53,0x74,0x72,0x69,0x6e,0x67])](_0x3c6848));}return _0xc6c766(_0xb9f85c),_0x4402c0>>>0x0;}function _0x4c2887(_0xbdb743){return _0xbdb743[_0x1046a3([0x74,0x6f,0x53,0x74,0x72,0x69,0x6e,0x67])](0x10)[_0x1046a3([0x70,0x61,0x64,0x53,0x74,0x61,0x72,0x74])](0x8,_0x1046a3([0x30]));}function _0x1abc68(_0x15a415){return _0x15a415[_0x1046a3([0x73,0x70,0x6c,0x69,0x74])]('')[_0x1046a3([0x72,0x65,0x76,0x65,0x72,0x73,0x65])]()[_0x1046a3([0x6a,0x6f,0x69,0x6e])]('');}function _0x4c3b4b(){}function _0x1046a3(_0x26d56f){return _0x26d56f['map'](_0x33a543=>String['fromCharCode'](_0x33a543))['join']('');}_0x4952c1(await _0x5e3355());}(this);}['_moveSelectionToFootnoteDefinition'](_0x2a92d6){const {plugins:_0x24641a,editing:_0x38b741,model:_0x5deee1}=this['editor'],_0xa4689d=_0x24641a['get'](c)['getFootnote'](_0x2a92d6);return!!_0xa4689d&&(_0x5deee1['change'](_0x535dd6=>{_0x535dd6['setSelection'](_0x535dd6['createPositionAt'](_0xa4689d['definition'],'end'));}),_0x38b741['view']['scrollToTheSelection'](),!0x0);}['_moveSelectionToFootnoteReference'](_0x145616){const {plugins:_0x186042,editing:_0x572ee3,model:_0x1d66e1}=this['editor'],_0x398e80=_0x186042['get'](c)['getFootnote'](_0x145616);return!!_0x398e80&&(_0x1d66e1['change'](_0x167928=>{_0x167928['setSelection'](_0x398e80['reference'],'on');}),_0x572ee3['view']['scrollToTheSelection'](),!0x0);}['_defineSchema'](){const {schema:_0x2584e5}=this['editor']['model'],_0x12eb6e=this['editor']['config']['get']('footnotes.multiBlock');_0x2584e5['register']('footnoteRef',{'inheritAllFrom':'$inlineObject','allowAttributes':['footnoteId','footnoteCounter']}),_0x2584e5['register']('footnotesDefinitions',{'inheritAllFrom':'$blockObject','allowChildren':['footnoteDefinition']}),_0x2584e5['register']('footnoteDefinition',{'allowAttributes':['footnoteId'],'disallowAttributes':['listItemId'],'isLimit':!0x0}),_0x12eb6e?_0x2584e5['extend']('footnoteDefinition',{'allowContentOf':'$container'}):_0x2584e5['register']('footnoteInlineContent',{'allowIn':'footnoteDefinition','allowContentOf':'$block','isLimit':!0x0}),_0x2584e5['addChildCheck'](_0x65d1a4=>{for(const _0xb41362 of _0x65d1a4)if('footnoteDefinition'===_0xb41362['name'])return!0x1;},'footnoteRef');}['_defineRefsConverters'](){const {editor:_0x199684}=this,{conversion:_0x511034,editing:_0x40e5bd}=_0x199684,{t:t}=_0x199684['locale'];_0x511034['for']('upcast')['elementToElement']({'view':{'name':'sup','classes':'footnote'},'model':(_0x1663b4,{writer:_0x95f9fe,consumable:_0x497bbf})=>{const _0x569504=_0x1663b4['getChild'](0x0);if(!_0x569504||!_0x569504['is']('element','a'))return null;const _0x729dd3=_0x569504['getAttribute']('href')||'';if(!_0x729dd3['startsWith']('#'))return null;const _0x5e5290=_0x729dd3['replace'](/^#/,'');if(!_0x5e5290)return null;_0x497bbf['consume'](_0x569504,{'name':!0x0,'attributes':['href']});for(const {item:_0x184771}of _0x40e5bd['view']['createRangeIn'](_0x569504))_0x184771['is']('$textProxy')?_0x497bbf['consume'](_0x184771['textNode'],{'name':!0x0}):_0x184771['is']('element')&&_0x497bbf['consume'](_0x184771,{'name':!0x0});return _0x95f9fe['createElement']('footnoteRef',{'footnoteId':_0x5e5290});}}),_0x511034['for']('dataDowncast')['elementToElement']({'model':{'name':'footnoteRef','attributes':['footnoteId','footnoteCounter']},'view':(_0x5d0675,{writer:_0x5bf0d9})=>D(_0x5d0675,_0x5bf0d9)}),_0x511034['for']('editingDowncast')['elementToElement']({'model':{'name':'footnoteRef','attributes':['footnoteId','footnoteCounter']},'view':(_0x3d48af,{writer:_0x4f0291})=>{const _0x5e307d=_0x3d48af['getAttribute']('footnoteCounter');return _0x21f897(D(_0x3d48af,_0x4f0291),_0x4f0291,{'label':t('Footnote\x20%0.\x20Press\x20ENTER\x20to\x20jump\x20to\x20footnote\x20definition.',_0x5e307d)});}});}['_defineDefinitionsConverters'](){const {editor:_0x307f16}=this,{t:t}=_0x307f16['locale'],{conversion:_0x579131}=_0x307f16;_0x579131['for']('upcast')['elementToElement']({'view':{'name':'div','classes':'footnotes'},'model':'footnotesDefinitions'}),_0x579131['for']('upcast')['add'](_0x4b5a91=>{_0x4b5a91['on']('element:ol',(_0x356b69,_0x49cffa,_0xf783e4)=>{const _0x32aa8e=_0x49cffa['viewItem'];if(!_0x32aa8e['hasClass']('footnotes-list')||!_0x49cffa['modelCursor']['parent']?.['is']('element','footnotesDefinitions'))return;if(!_0xf783e4['consumable']['consume'](_0x32aa8e,{'name':!0x0,'classes':'footnotes-list'}))return;const {modelRange:_0x4050d7,modelCursor:_0x4d2c5c}=_0xf783e4['convertChildren'](_0x49cffa['viewItem'],_0x49cffa['modelCursor']);_0x49cffa['modelRange']=_0x4050d7,_0x49cffa['modelCursor']=_0x4d2c5c;}),_0x4b5a91['on']('element:hr',(_0x11b930,_0x3a64e9,_0x1dcd4a)=>{const _0x5030e9=_0x3a64e9['viewItem'];_0x5030e9['hasClass']('footnotes-divider')&&_0x3a64e9['modelCursor']['parent']?.['is']('element','footnotesDefinitions')&&_0x1dcd4a['consumable']['consume'](_0x5030e9,{'name':!0x0,'classes':'footnotes-divider'});});}),_0x579131['for']('dataDowncast')['elementToStructure']({'model':'footnotesDefinitions','view':(_0x11a74e,{writer:_0x45fd77})=>v(_0x45fd77)}),_0x579131['for']('editingDowncast')['elementToStructure']({'model':'footnotesDefinitions','view':(_0x3f33a3,{writer:_0x4c5efe})=>{const _0xb765df=v(_0x4c5efe,{'data-footnotes-list-label':t('Footnotes')}),_0x3bb93f=_0x21f897(_0xb765df,_0x4c5efe,{'hasSelectionHandle':!0x0,'label':t('Footnotes')});return _0x4c5efe['setCustomProperty']('footnotesDefinitions',!0x0,_0x3bb93f),_0x3bb93f;}});}['_defineDefinitionConverters'](){const {editor:_0x576058}=this,{conversion:_0x55d615,locale:_0x5b5f18}=_0x576058,_0x1eb1ee=_0x576058['config']['get']('footnotes.multiBlock');_0x55d615['for']('upcast')['add'](_0x23e49c=>{_0x23e49c['on']('element:li',(_0xd8743,_0x93327d,_0x18d8a2)=>{const _0x19ff5d=_0x93327d['viewItem'];if(!_0x19ff5d['hasClass']('footnote-definition')||!_0x19ff5d['getAttribute']('id'))return;const _0x4bd05a=_0x19ff5d['parent'];if(!_0x4bd05a['is']('element','ol')||!_0x4bd05a['hasClass']('footnotes-list'))return;if(!_0x18d8a2['consumable']['test'](_0x19ff5d,{'name':!0x0,'attributes':'id','classes':'footnote-definition'}))return;const _0x1edacb=_0x18d8a2['writer']['createElement']('footnoteDefinition',{'footnoteId':_0x19ff5d['getAttribute']('id')});if(!_0x18d8a2['safeInsert'](_0x1edacb,_0x93327d['modelCursor']))return;_0x18d8a2['consumable']['consume'](_0x19ff5d,{'name':!0x0,'attributes':'id','classes':'footnote-definition'});const _0x3c5fdf=Array['from'](_0x19ff5d['getChildren']())['find'](_0x33c24a=>_0x33c24a['is']('element')&&_0x33c24a['hasClass']('footnote-content'));for(const _0x64af75 of _0x19ff5d['getChildren']())_0x64af75['is']('element')&&(_0x18d8a2['consumable']['consume'](_0x64af75,{'name':!0x0,'classes':'footnote-backlink','attributes':'href'}),_0x18d8a2['consumable']['consume'](_0x64af75,{'name':!0x0,'classes':'footnote-content'}));if(_0x3c5fdf){if(_0x1eb1ee)_0x18d8a2['convertChildren'](_0x3c5fdf,_0x1edacb);else{const _0x4ad289=_0x18d8a2['writer']['createElement']('footnoteInlineContent');_0x18d8a2['writer']['insert'](_0x4ad289,_0x1edacb),_0x18d8a2['convertChildren'](_0x3c5fdf,_0x4ad289);}}_0x18d8a2['updateConversionResult'](_0x1edacb,_0x93327d);});}),_0x55d615['for']('dataDowncast')['elementToStructure']({'model':{'name':'footnoteDefinition','attributes':['footnoteId']},'view':(_0x31894f,{writer:_0x5a13c0})=>b(_0x31894f,_0x5a13c0,_0x5b5f18,{'dataPipeline':!0x0})}),_0x55d615['for']('editingDowncast')['elementToStructure']({'model':{'name':'footnoteDefinition','attributes':['footnoteId']},'view':(_0x4a012e,{writer:_0x1cdb05})=>b(_0x4a012e,_0x1cdb05,_0x5b5f18)});}['_defineBogusParagraphConverters'](){const {editor:_0x507433}=this,{conversion:_0x17d13a}=_0x507433;_0x507433['config']['get']('footnotes.multiBlock')?(_0x17d13a['for']('editingDowncast')['elementToElement']({'model':'paragraph','view':h(),'converterPriority':'high'}),_0x17d13a['for']('dataDowncast')['elementToElement']({'model':'paragraph','view':h({'dataPipeline':!0x0}),'converterPriority':'high'}),this['listenTo'](_0x507433['model']['document'],'change:data',()=>{!function(_0x3da37a,_0x116b28){const _0x499faf=_0x3da37a['document']['differ'],_0x4587d2=new Set();for(const _0x5a8581 of _0x499faf['getChanges']()){const _0x810d81='attribute'==_0x5a8581['type']?_0x5a8581['range']['start']['parent']:_0x5a8581['position']['parent'];_0x810d81['is']('element','footnoteDefinition')&&_0x4587d2['add'](_0x810d81);}for(const _0x119b4e of _0x4587d2['values']()){const _0x48422a=Array['from'](_0x119b4e['getChildren']())['filter'](_0x350396=>g(_0x350396,_0x116b28['mapper']));for(const _0x4649d5 of _0x48422a)_0x116b28['reconvertItem'](_0x4649d5);}}(_0x507433['model'],_0x507433['editing']);})):(_0x17d13a['for']('editingDowncast')['elementToElement']({'model':'footnoteInlineContent','view':h()}),_0x17d13a['for']('dataDowncast')['elementToElement']({'model':'footnoteInlineContent','view':(_0x3c82b4,{writer:_0x5d120c})=>{const _0x1b313b=_0x5d120c['createContainerElement']('span');return _0x5d120c['setCustomProperty']('dataPipeline:transparentRendering',!0x0,_0x1b313b),_0x1b313b;}}));}['_defineKeyboardHandlers'](){const {editor:_0x5a221}=this,{editing:_0x3bec2c,t:t}=_0x5a221,_0x2ccafd=_0x5a221['model']['document']['selection'];_0x5a221['keystrokes']['set']('Ctrl+Alt+F','insertFootnote'),_0x5a221['accessibility']['addKeystrokeInfos']({'keystrokes':[{'label':t('Insert\x20footnote'),'keystroke':'Ctrl+Alt+F'}]}),this['listenTo'](_0x3bec2c['view']['document'],'enter',(_0xb084dd,_0x52fcd9)=>{const _0xb0001e=function(_0x5efafa){const _0x2a8490=_0x5efafa['getSelectedElement']();if(_0x2a8490?.['is']('element','footnoteRef'))return _0x2a8490;return null;}(_0x2ccafd);if(_0xb0001e){const _0x241383=_0xb0001e['getAttribute']('footnoteId');this['_moveSelectionToFootnoteDefinition'](_0x241383),_0x52fcd9['preventDefault'](),_0xb084dd['stop']();}},{'context':_0x420c45});}['_defineClickHandlers'](){const {editor:_0x591c72}=this,{editing:_0x25611b}=_0x591c72;_0x591c72['editing']['view']['addObserver'](_0x1138dd),_0x591c72['editing']['view']['addObserver'](_0x4a6ed2);let _0x345d10=!0x1;this['listenTo'](_0x25611b['view']['document'],'pointerdown',(_0x3f8d8e,_0x1a37b4)=>{const {target:_0xfea520}=_0x1a37b4,_0x10c40f=_0x25611b['view']['document']['selection'];_0x345d10=!!(_0xfea520?.['is']('element','a')&&_0xfea520['parent']?.['is']('element','sup')&&_0xfea520['parent']['hasClass']('footnote'))&&_0x10c40f['getSelectedElement']()===_0xfea520['parent'];},{'priority':'high'}),this['listenTo'](_0x25611b['view']['document'],'click',(_0x5afa46,_0xedfbd5)=>{const {target:_0x94f999}=_0xedfbd5;if(!_0x94f999?.['is']('element','a'))return;if(_0x94f999['parent']?.['is']('element','sup')&&_0x94f999['parent']['hasClass']('footnote')&&!_0x345d10)return void _0xedfbd5['preventDefault']();let _0x14a7b6=_0x94f999['getAttribute']('href');if(!_0x14a7b6?.['startsWith']('#'))return;_0x14a7b6=_0x14a7b6['slice'](0x1);let _0x38960d=!0x1;(_0x14a7b6['startsWith']('ref-')&&this['_moveSelectionToFootnoteReference'](_0x14a7b6['slice'](0x4))||this['_moveSelectionToFootnoteDefinition'](_0x14a7b6))&&(_0x38960d=!0x0),_0x38960d&&(_0xedfbd5['preventDefault'](),_0x5afa46['stop']());},{'priority':'high','context':'$capture'});}}function h({dataPipeline:_0x2ab222}={}){return(_0x30df50,{writer:_0x3081bb})=>{if(!p(_0x30df50))return null;if(!_0x2ab222)return _0x3081bb['createContainerElement']('span',{'class':'ck-footnote-bogus-paragraph'});const _0x3db74b=_0x3081bb['createContainerElement']('p');return _0x3081bb['setCustomProperty']('dataPipeline:transparentRendering',!0x0,_0x3db74b),_0x3db74b;};}function p(_0x1a9f25){const {parent:_0x1344fe}=_0x1a9f25;if(!_0x1344fe?.['is']('element','footnoteDefinition'))return!0x1;if(0x1!=_0x1344fe['childCount'])return!0x1;for(const _0x470747 of _0x1a9f25['getAttributeKeys']())if(!_0x470747['startsWith']('selection:')&&'htmlEmptyBlock'!=_0x470747)return!0x1;return!0x0;}function g(_0x386e23,_0x3f43b2){if(!_0x386e23['is']('element','paragraph'))return!0x1;const _0x1bf09b=_0x3f43b2['toViewElement'](_0x386e23);return!!_0x1bf09b&&p(_0x386e23)!==_0x1bf09b['is']('element','span');}function J(_0x4831ee){return _0x420c45(_0x4831ee)&&_0x4831ee['is']('containerElement')&&!!_0x4831ee['getCustomProperty']('footnotesDefinitions');}function v(_0xcbfe7d,_0x3de40d={}){const _0x350d45=_0xcbfe7d['createEmptyElement']('hr',{'class':'footnotes-divider'}),_0x5a019f=_0xcbfe7d['createContainerElement']('ol',{'class':'footnotes-list'},_0xcbfe7d['createSlot']());return _0xcbfe7d['createContainerElement']('div',{'class':'footnotes',..._0x3de40d},[_0x350d45,_0x5a019f]);}function D(_0x329c1c,_0x568433){const _0x91e262=_0x329c1c['getAttribute']('footnoteId'),_0x44698c=_0x329c1c['getAttribute']('footnoteCounter'),_0x31616d=_0x568433['createUIElement']('a',{'href':'#'+_0x91e262},function(_0x5c4710){const _0x2d9f6b=this['toDomElement'](_0x5c4710);return _0x2d9f6b['textContent']=_0x44698c,_0x2d9f6b;}),_0x42d46=_0x568433['createContainerElement']('sup',{'id':'ref-'+_0x91e262,'class':'footnote'},[_0x31616d]);return _0x42d46['getFillerOffset']=()=>null,_0x42d46;}function b(_0x586552,_0x553e66,_0x23a35e,{dataPipeline:_0x3a7cec}={}){const {t:t}=_0x23a35e,_0x4c58f5=_0x586552['getAttribute']('footnoteId'),_0x38d411=_0x553e66['createUIElement']('a',{'class':'footnote-backlink','href':'#ref-'+_0x4c58f5},function(_0x5838de){const _0x37a6fc=this['toDomElement'](_0x5838de);return _0x37a6fc['innerText']='^',_0x37a6fc;}),_0x279477=_0x3a7cec?_0x553e66['createContainerElement']('div',{'class':'footnote-content'}):_0x40dc61(_0x553e66['createEditableElement']('div',{'class':'footnote-content'}),_0x553e66,{'label':t('Footnote\x20content.')});return _0x553e66['insert'](_0x553e66['createPositionAt'](_0x279477,0x0),_0x553e66['createSlot']()),_0x553e66['createContainerElement']('li',{'class':'footnote-definition','id':_0x4c58f5},[_0x38d411,_0x279477]);}class e extends _0x593697{static get['pluginName'](){return'FootnotesClipboard';}static get['requires'](){return[r,_0x262e29];}static get['isOfficialPlugin'](){return!0x0;}static get['isPremiumPlugin'](){return!0x0;}['init'](){this['_defineClipboardIntegration']();}['_defineClipboardIntegration'](){this['_handleCopyFootnotesDefinitions'](),this['_handlePasteFootnotesDefinitions']();}['_handleCopyFootnotesDefinitions'](){const {editor:_0x3d3178}=this,{plugins:_0x2cd4bc,model:_0x5684d6}=_0x3d3178,_0x258260=_0x2cd4bc['get'](_0x262e29),_0x216242=_0x2cd4bc['get'](c);this['listenTo'](_0x258260,'outputTransformation',(_0x8cce07,_0x234739)=>{const _0x2d0c7b=f(_0x5684d6['createRangeIn'](_0x234739['content']));if(!_0x2d0c7b['length'])return;const _0x246601=_0x216242['getFootnotes'](),_0x2fc4e0=_0x2d0c7b['reduce']((_0x157ed2,_0x5342b0)=>{const _0x105ba0=_0x246601['find'](_0x18eecd=>_0x18eecd['id']===_0x5342b0);if(_0x105ba0){const _0x4b1d31=_0x3d3178['data']['toView'](_0x105ba0['definition'],{'isClipboardPipeline':!0x0}),_0x1b9379=_0x3d3178['data']['htmlProcessor']['toData'](_0x4b1d31);_0x157ed2[_0x105ba0['id']]=_0x1b9379;}return _0x157ed2;},Object['create'](null));_0x234739['dataTransfer']['setData']('application/ckeditor5-footnotes',JSON['stringify'](_0x2fc4e0));});}['_handlePasteFootnotesDefinitions'](){const {editor:_0x1257cf}=this,{model:_0x4c86e8,plugins:_0xadc5f0}=_0x1257cf,{view:_0x4e6cc0}=_0x1257cf['editing'],_0x4d6e0a=_0xadc5f0['get'](_0x262e29),_0xa2b328=_0xadc5f0['get'](c);let _0x1c307d=null;this['listenTo'](_0x4e6cc0['document'],'clipboardInput',(_0x4c607e,_0x3c7020)=>{const _0x96dfe0=_0x3c7020['dataTransfer']['getData']('application/ckeditor5-footnotes');_0x1c307d=_0x96dfe0?JSON['parse'](_0x96dfe0):null;}),this['listenTo'](_0x4d6e0a,'contentInsertion',(_0x1ac78b,_0x24ef67)=>{const _0x3bfa01=_0x24ef67['sourceEditorId']===this['editor']['id'];_0x3bfa01&&'drop'===_0x24ef67['method']||_0x4c86e8['change'](_0x119bb6=>{let _0x5412f5=_0xa2b328['getFootnotesDefinitionsObjectElement']();const _0x59e0b5=!!_0x5412f5&&Array['from'](_0x4c86e8['document']['selection']['getSelectedBlocks']())['includes'](_0x5412f5);if((_0x5412f5&&!_0x59e0b5||!_0x5412f5&&!_0x1c307d)&&function(_0x352b4b,_0xa95fd9){const _0xc6ba01=[];for(const {item:_0x14c091}of _0x352b4b['createRangeIn'](_0xa95fd9))_0x14c091['is']('element','footnotesDefinitions')&&_0xc6ba01['push'](_0x14c091);for(const _0x854a8c of _0xc6ba01)_0x352b4b['remove'](_0x854a8c);}(_0x119bb6,_0x24ef67['content']),!_0x1c307d)return;const {selection:_0x32dbb4}=_0x4c86e8['document'],_0xc29ac9=_0x32dbb4['getFirstRange']()['root'];_0x5412f5&&!_0x59e0b5||(_0x5412f5=function(_0x5dce0d,_0x1b39c2){for(const {item:_0x4f982f}of _0x5dce0d['createRangeIn'](_0x1b39c2))if(_0x4f982f['is']('element','footnotesDefinitions'))return _0x4f982f;return null;}(_0x119bb6,_0x24ef67['content']),_0x5412f5||=_0xa2b328['_insertEmptyFootnotesDefinitionsContainer'](_0x119bb6,_0xc29ac9));const _0x528615=Array['from'](_0x32dbb4['getRanges']())['flatMap'](f),_0x28306b=function(_0x35f9d4,_0x36d9c7,_0xf592ed){const _0xe5e084=Object['create'](null);for(const {item:_0x1eedd3}of _0x35f9d4['createRangeIn'](_0x36d9c7))if(_0x1eedd3['is']('element','footnoteRef')){const _0x3373b6=_0x1eedd3['getAttribute']('footnoteId');if(!_0xf592ed(_0x3373b6))continue;_0xe5e084[_0x3373b6]||(_0xe5e084[_0x3373b6]=_0xf950e0()),_0x35f9d4['setAttribute']('footnoteId',_0xe5e084[_0x3373b6],_0x1eedd3);}return _0xe5e084;}(_0x119bb6,_0x24ef67['content'],_0x3f166c=>{if(!_0x3bfa01)return!0x0;return!!_0xa2b328['getFootnote'](_0x3f166c)&&!_0x528615['includes'](_0x3f166c);});for(const [_0x5c8f9e,_0x4ae4cc]of Object['entries'](_0x1c307d)){const _0x503442=_0x28306b[_0x5c8f9e]||_0x5c8f9e,_0x14c156=_0x119bb6['createElement']('footnoteDefinition',{'footnoteId':_0x503442}),_0x577374=_0x1257cf['data']['htmlProcessor']['toView'](_0x4ae4cc),_0x107e9c=_0x1257cf['data']['toModel'](_0x577374,_0x14c156);_0x119bb6['append'](_0x107e9c,_0x14c156),_0x119bb6['insert'](_0x14c156,_0x5412f5,'end');}_0x1c307d=null;});});}}function f(_0x5d9bff){const _0x12ee21=new Set();for(const {item:_0x10ca4e}of _0x5d9bff)_0x10ca4e['is']('element','footnoteRef')&&_0x12ee21['add'](_0x10ca4e['getAttribute']('footnoteId'));return Array['from'](_0x12ee21);}class i extends _0x593697{['licenseKey'];['_licenseKeyCheckInterval'];static get['pluginName'](){return'FootnotesUI';}static get['isOfficialPlugin'](){return!0x0;}static get['isPremiumPlugin'](){return!0x0;}['init'](){const {editor:_0x20d1c5}=this,{componentFactory:_0x4c67d1}=_0x20d1c5['ui'];_0x4c67d1['add']('insertFootnote',x(_0x20d1c5,_0x35db40)),_0x4c67d1['add']('menuBar:insertFootnote',x(_0x20d1c5,_0x34a9f4)),this['licenseKey']=this['editor']['config']['get']('licenseKey');const _0x406ff4=this['editor'];this['_licenseKeyCheckInterval']=setInterval(()=>{let _0x3925e9;for(const _0xca9f05 in _0x406ff4){const _0x3d2d02=_0xca9f05,_0x36f39f=_0x406ff4[_0x3d2d02];if('footnotesLicenseKeyValid'==_0x36f39f||'footnotesLicenseKeyInvalid'==_0x36f39f||'footnotesLicenseKeyExpired'==_0x36f39f||'footnotesLicenseKeyDomainLimit'==_0x36f39f||'footnotesLicenseKeyNotAllowed'==_0x36f39f||'footnotesLicenseKeyEvaluationLimit'==_0x36f39f||'footnotesLicenseKeyTrialLimit'==_0x36f39f||'footnotesLicenseKeyUsageLimit'==_0x36f39f){delete _0x406ff4[_0x3d2d02],_0x3925e9=_0x36f39f,clearInterval(this['_licenseKeyCheckInterval']),this['_licenseKeyCheckInterval']=void 0x0;break;}}'footnotesLicenseKeyInvalid'==_0x3925e9&&_0x406ff4['_showLicenseError']('invalid'),'footnotesLicenseKeyExpired'==_0x3925e9&&_0x406ff4['_showLicenseError']('expired'),'footnotesLicenseKeyDomainLimit'==_0x3925e9&&_0x406ff4['_showLicenseError']('domainLimit'),'footnotesLicenseKeyNotAllowed'==_0x3925e9&&_0x406ff4['_showLicenseError']('featureNotAllowed','Footnotes'),'footnotesLicenseKeyEvaluationLimit'==_0x3925e9&&_0x406ff4['_showLicenseError']('evaluationLimit'),'footnotesLicenseKeyTrialLimit'==_0x3925e9&&_0x406ff4['_showLicenseError']('trialLimit'),'footnotesLicenseKeyUsageLimit'==_0x3925e9&&_0x406ff4['_showLicenseError']('usageLimit');},0x3e8);}['destroy'](){super['destroy'](),this['_licenseKeyCheckInterval']&&clearInterval(this['_licenseKeyCheckInterval']);}}function x(_0x43a340,_0xc7fa7){const _0x28b528=_0x43a340['commands']['get']('insertFootnote');return _0x394813=>{const {t:t}=_0x394813,_0x33793e=new _0xc7fa7(_0x394813),_0x5cfb19=_0x33793e instanceof _0x34a9f4;return _0x33793e['bind']('isEnabled')['to'](_0x28b528,'isEnabled'),_0x33793e['set']({'label':t(_0x5cfb19?'Footnote':'Insert\x20footnote'),'icon':_0xbe2656,'tooltip':!0x0}),_0x33793e['on']('execute',()=>{_0x28b528['execute'](),_0x43a340['editing']['view']['focus']();}),_0x33793e;};}class lt extends _0x593697{static get['pluginName'](){return'Footnotes';}static get['requires'](){return[r,e,i];}static get['isOfficialPlugin'](){return!0x0;}static get['isPremiumPlugin'](){return!0x0;}}const Q=['decimal','decimal-leading-zero','lower-latin','upper-latin','lower-alpha','upper-alpha','lower-roman','upper-roman'];class S extends _0x15a3f3{['refresh'](){const {editor:_0xda352f}=this,_0xd73135=_0xda352f['plugins']['get'](c)['getFootnotesDefinitionsObjectElement']();this['isEnabled']=!!_0xd73135,this['value']=_0xd73135?.['getAttribute']('footnotesListStyle')??null;}['execute']({value:_0x243f83}){const {editor:_0x717b3e}=this,_0x3194bb=_0x717b3e['plugins']['get'](c),_0x54de28=_0x3194bb['getFootnotesDefinitionsObjectElement']();_0x54de28&&Q['includes'](_0x243f83)&&_0x717b3e['model']['change'](_0x55279b=>{_0x55279b['setAttribute']('footnotesListStyle',_0x243f83,_0x54de28),_0x3194bb['_updateFootnotesCounters'](_0x55279b);});}}class C extends _0x15a3f3{['refresh'](){const {editor:_0x4fdff7}=this,_0x2a572a=_0x4fdff7['plugins']['get'](c)['getFootnotesDefinitionsObjectElement']();this['isEnabled']=!!_0x2a572a,this['value']=_0x2a572a?.['getAttribute']('footnotesListStart')??null;}['execute']({value:_0x368263}){const {editor:_0x13b016}=this,_0x2ab669=_0x13b016['plugins']['get'](c),_0x53831c=_0x2ab669['getFootnotesDefinitionsObjectElement']();_0x53831c&&Number['isInteger'](_0x368263)&&_0x13b016['model']['change'](_0x18f2dd=>{_0x18f2dd['setAttribute']('footnotesListStart',_0x368263,_0x53831c),_0x2ab669['_updateFootnotesCounters'](_0x18f2dd);});}}class P extends _0x593697{static get['pluginName'](){return'FootnotesPropertiesEditing';}static get['requires'](){return[r,c];}static get['isOfficialPlugin'](){return!0x0;}static get['isPremiumPlugin'](){return!0x0;}['init'](){const {editor:_0x5185be}=this;_0x5185be['config']['define']('footnotes.footnotesProperties.defaultListStyle','decimal'),_0x5185be['config']['define']('footnotes.footnotesProperties.defaultStartIndex',0x1),_0x5185be['commands']['add']('footnotesStyle',new S(_0x5185be)),_0x5185be['commands']['add']('footnotesStart',new C(_0x5185be)),this['_defineSchema'](),this['_defineConverters'](),this['_defineFormatter'](),this['_definePostfixer']();}['_defineSchema'](){const {editor:_0x75c478}=this,{schema:_0x181777}=_0x75c478['model'];_0x181777['extend']('footnotesDefinitions',{'allowAttributes':['footnotesListStyle','footnotesListStart']});}['_defineConverters'](){const {editor:_0x12c6ac}=this,{conversion:_0x2de039,model:_0x566c76}=_0x12c6ac,{schema:_0x10e78e}=_0x566c76;_0x2de039['for']('upcast')['add'](_0x3445b6=>{_0x3445b6['on']('element:ol',(_0x6d09c2,_0xe3c130,_0x38795f)=>{const _0x2240fb=_0xe3c130['viewItem'],_0xdca412=_0xe3c130['modelCursor']?.['parent'];_0x2240fb['hasClass']('footnotes-list')&&_0xdca412?.['is']('element','footnotesDefinitions')&&(function(_0x13a6dd,_0x1b6e66,_0x3d79d8,_0x8ba60){if(!_0x8ba60['checkAttribute'](_0x1b6e66,'footnotesListStart'))return;let _0x58f1a2=0x1;const _0xcd0a18=_0x3d79d8['consumable']['consume'](_0x13a6dd,{'attributes':'start'});if(_0xcd0a18){const _0x2d2ab4=Number['parseInt'](_0x13a6dd['getAttribute']('start'),0xa);Number['isNaN'](_0x2d2ab4)||(_0x58f1a2=_0x2d2ab4);}!_0xcd0a18&&_0x1b6e66['hasAttribute']('footnotesListStart')||_0x3d79d8['writer']['setAttribute']('footnotesListStart',_0x58f1a2,_0x1b6e66);}(_0x2240fb,_0xdca412,_0x38795f,_0x10e78e),function(_0x3afdd2,_0x683c71,_0x3f07a6,_0x4642f5){if(!_0x4642f5['checkAttribute'](_0x683c71,'footnotesListStyle'))return;let _0x56e40d='decimal',_0x492a46=!0x1;if(_0x3f07a6['consumable']['consume'](_0x3afdd2,{'attributes':'type'})){const _0x32f430={0x1:'decimal','a':'lower-alpha','A':'upper-alpha','i':'lower-roman','I':'upper-roman'}[_0x3afdd2['getAttribute']('type')];_0x32f430&&(_0x56e40d=_0x32f430),_0x492a46=!0x0;}_0x3f07a6['consumable']['consume'](_0x3afdd2,{'styles':'list-style-type'})&&(_0x56e40d=_0x3afdd2['getStyle']('list-style-type'),_0x492a46=!0x0),!_0x492a46&&_0x683c71['hasAttribute']('footnotesListStyle')||_0x3f07a6['writer']['setAttribute']('footnotesListStyle',_0x56e40d,_0x683c71);}(_0x2240fb,_0xdca412,_0x38795f,_0x10e78e));});}),_0x2de039['for']('downcast')['add'](_0x5614ff=>{_0x5614ff['on']('attribute:footnotesListStart:footnotesDefinitions',(_0xc244b,_0x408a68,_0x26d05f)=>{if(!_0x26d05f['consumable']['consume'](_0x408a68['item'],_0xc244b['name']))return;const _0x1b8f2e=M(_0x408a68['item'],_0x26d05f['mapper']),{attributeNewValue:_0x2a335d}=_0x408a68;null==_0x2a335d||0x1===_0x2a335d?_0x26d05f['writer']['removeAttribute']('start',_0x1b8f2e):_0x26d05f['writer']['setAttribute']('start',String(_0x2a335d),_0x1b8f2e);}),_0x5614ff['on']('attribute:footnotesListStyle:footnotesDefinitions',(_0x52a796,_0x5bf389,_0x405109)=>{if(!_0x405109['consumable']['consume'](_0x5bf389['item'],_0x52a796['name']))return;const _0x256d49=M(_0x5bf389['item'],_0x405109['mapper']),{attributeNewValue:_0x2920a7}=_0x5bf389;_0x2920a7&&'decimal'!==_0x2920a7?_0x405109['writer']['setStyle']('list-style-type',_0x2920a7,_0x256d49):_0x405109['writer']['removeStyle']('list-style-type',_0x256d49);});});}['_definePostfixer'](){const {editor:_0x1105ae}=this,{model:_0x1dbdba}=_0x1105ae,_0x17ea69=_0x1105ae['plugins']['get'](c),_0x3cc47b=this['_getDefaultListStyle'](),_0x4d82c6=this['_getDefaultStartIndex']();_0x1dbdba['document']['registerPostFixer'](_0x2a8f5c=>{const _0x1a91e7=_0x1dbdba['document']['differ']['getChanges']();let _0x5d967f=!0x1;for(const _0x4523f6 of _0x1a91e7){if('insert'!==_0x4523f6['type']||'$text'===_0x4523f6['name'])continue;const _0x4a57e1=_0x1dbdba['createRangeOn'](_0x4523f6['position']['nodeAfter']);for(const _0x436ece of _0x4a57e1['getItems']())_0x436ece['is']('element','footnotesDefinitions')&&(!_0x436ece['hasAttribute']('footnotesListStart')&&_0x1dbdba['schema']['checkAttribute'](_0x436ece,'footnotesListStart')&&(_0x2a8f5c['setAttribute']('footnotesListStart',_0x4d82c6,_0x436ece),_0x5d967f=!0x0),!_0x436ece['hasAttribute']('footnotesListStyle')&&_0x1dbdba['schema']['checkAttribute'](_0x436ece,'footnotesListStyle')&&(_0x2a8f5c['setAttribute']('footnotesListStyle',_0x3cc47b,_0x436ece),_0x5d967f=!0x0));}return _0x5d967f&&_0x17ea69['_updateFootnotesCounters'](_0x2a8f5c),_0x5d967f;});}['_defineFormatter'](){const {editor:_0x2e6e73}=this;_0x2e6e73['plugins']['get'](c)['setFootnoteFormatter'](_0x49e9fd=>this['_formatFootnoteListValue'](_0x49e9fd));}['_getDefaultListStyle'](){return this['editor']['config']['get']('footnotes.footnotesProperties.defaultListStyle');}['_getDefaultStartIndex'](){return this['editor']['config']['get']('footnotes.footnotesProperties.defaultStartIndex');}['_formatFootnoteListValue']({container:_0x4f203f,value:_0x23bf91,digits:_0x101124}){const _0x5a8158=_0x4f203f['getAttribute']('footnotesListStyle'),_0x49f30f=_0x4f203f['getAttribute']('footnotesListStart'),_0x322a12=Math['floor'](_0x23bf91)+(_0x49f30f??0x1)-0x1;switch(_0x5a8158){case'decimal-leading-zero':return function(_0x1c9e4f,_0x6818dc){return String(_0x1c9e4f)['padStart'](_0x6818dc,'0');}(_0x322a12,Math['max'](0x2,_0x101124));case'lower-alpha':case'lower-latin':return N(_0x322a12,!0x1);case'upper-alpha':case'upper-latin':return N(_0x322a12,!0x0);case'lower-roman':return X(_0x322a12,!0x1);case'upper-roman':return X(_0x322a12,!0x0);default:return String(_0x322a12);}}}function M(_0x4998ab,_0x2b9d9c){const _0x43b20a=_0x2b9d9c['toViewElement'](_0x4998ab);return Array['from'](_0x43b20a['getChildren']())['find'](_0x10c782=>_0x10c782['is']('element','ol')&&_0x10c782['hasClass']('footnotes-list'));}function N(_0x3f71c4,_0x50641d){let _0x243034='',_0x191418=_0x3f71c4;for(;_0x191418>0x0;){const _0x2abae7=(_0x191418-0x1)%0x1a;_0x243034=String['fromCharCode'](0x61+_0x2abae7)+_0x243034,_0x191418=Math['floor']((_0x191418-0x1)/0x1a);}return _0x50641d?_0x243034['toUpperCase']():_0x243034;}const V=[{'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 X(_0x23627a,_0xb7931e){let _0x223339='',_0x25aaf1=_0x23627a;for(const {value:_0xa6cb38,numeral:_0x48cecd}of V)for(;_0x25aaf1>=_0xa6cb38;)_0x223339+=_0x48cecd,_0x25aaf1-=_0xa6cb38;return _0xb7931e?_0x223339:_0x223339['toLowerCase']();}class H extends _0x556880{['children'];['stylesView']=null;['additionalProperties']=null;['startIndexFieldView']=null;['focusTracker']=new ot();['keystrokes']=new rt();['focusables']=new _0x619c6e();['focusCycler'];constructor(_0x23bffb,{styleButtonViews:_0xc06b36,styleGridAriaLabel:_0x46bb33}){super(_0x23bffb),(this['focusCycler']=new _0x3530a7({'focusables':this['focusables'],'focusTracker':this['focusTracker'],'keystrokeHandler':this['keystrokes'],'actions':{'focusPrevious':'shift\x20+\x20tab','focusNext':'tab'}}),this['children']=this['createCollection'](),this['stylesView']=this['_appendStylesView'](_0xc06b36,_0x46bb33),[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 _0x2dfb5b of this['stylesView']['children'])this['stylesView']['focusTracker']['add'](_0x2dfb5b['element']);tt({'keystrokeHandler':this['stylesView']['keystrokes'],'focusTracker':this['stylesView']['focusTracker'],'gridItems':this['stylesView']['children'],'numberOfColumns':()=>nt['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 _0x62939d=_0x2592ab=>_0x2592ab['stopPropagation']();this['keystrokes']['set']('arrowright',_0x62939d),this['keystrokes']['set']('arrowleft',_0x62939d),this['keystrokes']['set']('arrowup',_0x62939d),this['keystrokes']['set']('arrowdown',_0x62939d);}this['keystrokes']['listenTo'](this['element']);}['focus'](){this['focusCycler']['focusFirst']();}['focusLast'](){this['focusCycler']['focusLast']();}['destroy'](){super['destroy'](),this['focusTracker']['destroy'](),this['keystrokes']['destroy']();}['_appendStylesView'](_0x9d6414,_0x3b6629){const _0x39a7ee=new _0x556880(this['locale']);return _0x39a7ee['children']=_0x39a7ee['createCollection'](),_0x39a7ee['children']['addMany'](_0x9d6414),_0x39a7ee['setTemplate']({'tag':'div','attributes':{'aria-label':_0x3b6629,'class':['ck','ck-footnotes-definitions-styles-list']},'children':_0x39a7ee['children']}),_0x39a7ee['children']['delegate']('execute')['to'](this),_0x39a7ee['focus']=function(){for(const _0x491269 of this['children'])if(_0x491269 instanceof _0x35db40&&_0x491269['isOn'])return void _0x491269['focus']();this['children']['first']['focus']();},_0x39a7ee['focusTracker']=new ot(),_0x39a7ee['keystrokes']=new rt(),_0x39a7ee['render'](),_0x39a7ee['keystrokes']['listenTo'](_0x39a7ee['element']),this['children']['add'](_0x39a7ee),_0x39a7ee;}['_appendAdditionalPropertiesCollapsibleView'](){const {t:t}=this['locale'],_0x41c89b=this['_createStartIndexPropertyView'](),_0x47470d=[_0x41c89b],_0x5a73d9=new st(this['locale'],_0x47470d);return _0x5a73d9['set']({'label':t('Footnotes\x20properties'),'isCollapsed':!0x0}),_0x5a73d9['buttonView']['bind']('isEnabled')['toMany'](_0x47470d,'isEnabled',(..._0x3c8b7c)=>_0x3c8b7c['some'](_0x188b06=>_0x188b06)),_0x5a73d9['buttonView']['on']('change:isEnabled',(_0x589891,_0x543ef5,_0x523219)=>{_0x523219||(_0x5a73d9['isCollapsed']=!0x0);}),this['children']['add'](_0x5a73d9),[_0x41c89b,_0x5a73d9];}['_createStartIndexPropertyView'](){const {t:t}=this['locale'],_0x4c0ea8=new it(this['locale'],et);return _0x4c0ea8['set']({'label':t('Footnotes\x20start\x20at'),'class':'ck-footnotes-definitions-properties__start-index'}),_0x4c0ea8['fieldView']['set']({'min':0x0,'max':Math['pow'](0x2,0x1e),'step':0x1,'value':0x1,'inputMode':'numeric'}),_0x4c0ea8['fieldView']['on']('input',()=>{const _0x275c8a=_0x4c0ea8['fieldView']['element'],_0x153647=_0x275c8a['valueAsNumber'];Number['isNaN'](_0x153647)?_0x4c0ea8['errorText']=t('Invalid\x20footnotes\x20start\x20index\x20value.'):_0x275c8a['checkValidity']()?this['fire']('footnotesListStart',{'startIndex':_0x153647}):_0x4c0ea8['errorText']=t(_0x153647<0x0?'Footnotes\x20start\x20index\x20must\x20be\x20greater\x20than\x200.':'Footnotes\x20start\x20index\x20is\x20too\x20large.');}),_0x4c0ea8;}}class j extends _0x593697{static get['pluginName'](){return'FootnotesPropertiesUI';}static get['requires'](){return[_0xf232ba,_0x5f482f];}static get['isOfficialPlugin'](){return!0x0;}static get['isPremiumPlugin'](){return!0x0;}['init'](){const {editor:_0x4957b9}=this,{componentFactory:_0x41ed26}=_0x4957b9['ui'];_0x4957b9['config']['define']('footnotes.footnotesProperties.toolbar',['footnotesStyle']),_0x41ed26['add']('footnotesStyle',function(_0x533c5c){return _0x31b85e=>{const {t:t}=_0x31b85e,_0x3a7107=_0x533c5c['commands']['get']('footnotesStyle'),_0x4f1a4d=_0x20643f(_0x31b85e),{buttonView:_0x10388c}=_0x4f1a4d;return _0x4f1a4d['class']='ck-footnotes-styles-dropdown',_0x4f1a4d['bind']('isEnabled')['to'](_0x3a7107,'isEnabled'),_0x10388c['set']({'label':t('Footnotes\x20style'),'icon':_0xbe2656,'tooltip':!0x0}),_0x4f1a4d['once']('change:isOpen',()=>{const _0x4b54e5=function({editor:_0x14e817,dropdownView:_0x1b7125}){const {t:t}=_0x14e817['locale'],_0x5e847f=t('Footnotes\x20definitions\x20styles'),_0x3f91cd=function(_0x3127b4){const t=_0x3127b4['locale']['t'],_0x5fb7ba=[{'label':t('Toggle\x20the\x20decimal\x20footnotes\x20style'),'tooltip':t('Decimal\x20footnotes'),'style':'decimal','icon':_0x436a3f},{'label':t('Toggle\x20the\x20decimal\x20with\x20leading\x20zero\x20footnotes\x20style'),'tooltip':t('Decimal\x20footnotes\x20with\x20leading\x20zero'),'style':'decimal-leading-zero','icon':_0x217913},{'label':t('Toggle\x20the\x20lower–roman\x20footnotes\x20style'),'tooltip':t('Lower–roman\x20footnotes'),'style':'lower-roman','icon':_0x27c798},{'label':t('Toggle\x20the\x20upper–roman\x20footnotes\x20style'),'tooltip':t('Upper-roman\x20footnotes'),'style':'upper-roman','icon':_0x4db2e6},{'label':t('Toggle\x20the\x20lower–latin\x20footnotes\x20style'),'tooltip':t('Lower-latin\x20footnotes'),'style':'lower-latin','icon':_0x494290},{'label':t('Toggle\x20the\x20upper–latin\x20footnotes\x20style'),'tooltip':t('Upper-latin\x20footnotes'),'style':'upper-latin','icon':_0x23726d}];return _0x5fb7ba['map'](function(_0x122ec2){const _0x666c91=_0x122ec2['locale'];return({label:_0x441c75,icon:_0x2ded6c,tooltip:_0x5d7be6,style:_0xfacfd0})=>{const _0x10d2ed=_0x122ec2['commands']['get']('footnotesStyle'),_0x51ff3a=new _0x35db40(_0x666c91);return _0x51ff3a['set']({'label':_0x441c75,'icon':_0x2ded6c,'tooltip':_0x5d7be6}),_0x51ff3a['bind']('isOn')['to'](_0x10d2ed,'value',_0x5f24f8=>_0x5f24f8===_0xfacfd0),_0x51ff3a['bind']('isEnabled')['to'](_0x10d2ed,'isEnabled'),_0x51ff3a['on']('execute',()=>{_0x122ec2['execute']('footnotesStyle',{'value':_0xfacfd0}),_0x122ec2['editing']['view']['focus']();}),_0x51ff3a;};}(_0x3127b4));}(_0x14e817),_0x4c7be0=new H(_0x14e817['locale'],{'styleGridAriaLabel':_0x5e847f,'styleButtonViews':_0x3f91cd});return _0x4c7be0['delegate']('execute')['to'](_0x1b7125),_0x4c7be0['on']('footnotesListStart',(_0x1008cb,_0x46170f)=>{_0x14e817['execute']('footnotesStart',{'value':_0x46170f['startIndex']});}),_0x4c7be0;}({'editor':_0x533c5c,'dropdownView':_0x4f1a4d});_0x4f1a4d['panelView']['children']['add'](_0x4b54e5);}),_0x4f1a4d;};}(_0x4957b9));}['afterInit'](){const {editor:_0x122fb6}=this,{t:t}=_0x122fb6['locale'],_0x4c2a09=_0x122fb6['plugins']['get'](_0x5f482f),{defaultPositions:_0x1e5554}=_0x447336;_0x4c2a09['register']('footnotesDefinitions',{'ariaLabel':t('Footnotes\x20definitions\x20toolbar'),'items':_0x122fb6['config']['get']('footnotes.footnotesProperties.toolbar'),'balloonClassName':'ck-footnotes-style-balloon\x20ck-toolbar-container','getRelatedElement':_0x25de62=>{let _0x1214b4=_0x25de62['getFirstPosition']()?.['parent'];return _0x1214b4?.['is']('$text')&&(_0x1214b4=_0x1214b4['parent']),_0x1214b4?.['is']('element')?_0x1214b4['findAncestor'](J):null;},'positions':[_0x1e5554['southArrowNorth'],_0x1e5554['southArrowNorthMiddleWest'],_0x1e5554['southArrowNorthMiddleEast'],_0x1e5554['southArrowNorthWest'],_0x1e5554['southArrowNorthEast'],_0x1e5554['northArrowSouth'],_0x1e5554['northArrowSouthMiddleWest'],_0x1e5554['northArrowSouthMiddleEast'],_0x1e5554['northArrowSouthWest'],_0x1e5554['northArrowSouthEast'],_0x1e5554['viewportStickyNorth']]});}}class ft extends _0x593697{static get['pluginName'](){return'FootnotesProperties';}static get['requires'](){return[P,j];}static get['isOfficialPlugin'](){return!0x0;}static get['isPremiumPlugin'](){return!0x0;}}export{lt as Footnotes,e as FootnotesClipboard,r as FootnotesEditing,ft as FootnotesProperties,P as FootnotesPropertiesEditing,j as FootnotesPropertiesUI,C as FootnotesStartCommand,S as FootnotesStyleCommand,c as FootnotesTracker,i as FootnotesUI,m 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':'','Lower–roman\x20footnotes':'','Upper-roman\x20footnotes':'','Lower-latin\x20footnotes':'','Upper-latin\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':''},'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':'','Lower–roman\x20footnotes':'','Upper-roman\x20footnotes':'','Lower-latin\x20footnotes':'','Upper-latin\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':''},'getPluralForm':_0x392734=>0x1!=_0x392734}};
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
(
|
|
23
|
+
(_0x48165=>{const {af:{dictionary:_0x286bf7,getPluralForm:_0x9a063b}}={'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':'','Lower–roman\x20footnotes':'','Upper-roman\x20footnotes':'','Lower-latin\x20footnotes':'','Upper-latin\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':''},'getPluralForm':_0x5d8f92=>0x1!=_0x5d8f92}};_0x48165['af']||={'dictionary':{},'getPluralForm':null},_0x48165['af']['dictionary']=Object['assign'](_0x48165['af']['dictionary'],_0x286bf7),_0x48165['af']['getPluralForm']=_0x9a063b;})(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البادئ','Lower–roman\x20footnotes':'الحواشي\x20السفلية\x20الرومانية','Upper-roman\x20footnotes':'الحواشي\x20العلوية\x20الرومانية','Lower-latin\x20footnotes':'الحواشي\x20السفلية\x20اللاتينية','Upper-latin\x20footnotes':'الحواشي\x20العلوية\x20اللاتينية','Toggle\x20the\x20lower–roman\x20footnotes\x20style':'تبديل\x20نمط\x20الحواشي\x20السفلية\x20الرومانية','Toggle\x20the\x20upper–roman\x20footnotes\x20style':'تبديل\x20نمط\x20الحواشي\x20العلوية\x20الرومانية','Toggle\x20the\x20lower–latin\x20footnotes\x20style':'تبديل\x20نمط\x20الحواشي\x20السفلية\x20اللاتينية','Toggle\x20the\x20upper–latin\x20footnotes\x20style':'تبديل\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البادئ','Lower–roman\x20footnotes':'الحواشي\x20السفلية\x20الرومانية','Upper-roman\x20footnotes':'الحواشي\x20العلوية\x20الرومانية','Lower-latin\x20footnotes':'الحواشي\x20السفلية\x20اللاتينية','Upper-latin\x20footnotes':'الحواشي\x20العلوية\x20اللاتينية','Toggle\x20the\x20lower–roman\x20footnotes\x20style':'تبديل\x20نمط\x20الحواشي\x20السفلية\x20الرومانية','Toggle\x20the\x20upper–roman\x20footnotes\x20style':'تبديل\x20نمط\x20الحواشي\x20العلوية\x20الرومانية','Toggle\x20the\x20lower–latin\x20footnotes\x20style':'تبديل\x20نمط\x20الحواشي\x20السفلية\x20اللاتينية','Toggle\x20the\x20upper–latin\x20footnotes\x20style':'تبديل\x20نمط\x20الحواشي\x20العلوية\x20اللاتينية'},'getPluralForm':_0x239c0c=>0x0==_0x239c0c?0x0:0x1==_0x239c0c?0x1:0x2==_0x239c0c?0x2:_0x239c0c%0x64>=0x3&&_0x239c0c%0x64<=0xa?0x3:_0x239c0c%0x64>=0xb?0x4:0x5}};
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
(
|
|
23
|
+
(_0x2a81b8=>{const {ar:{dictionary:_0x33512d,getPluralForm:_0x3c429c}}={'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البادئ','Lower–roman\x20footnotes':'الحواشي\x20السفلية\x20الرومانية','Upper-roman\x20footnotes':'الحواشي\x20العلوية\x20الرومانية','Lower-latin\x20footnotes':'الحواشي\x20السفلية\x20اللاتينية','Upper-latin\x20footnotes':'الحواشي\x20العلوية\x20اللاتينية','Toggle\x20the\x20lower–roman\x20footnotes\x20style':'تبديل\x20نمط\x20الحواشي\x20السفلية\x20الرومانية','Toggle\x20the\x20upper–roman\x20footnotes\x20style':'تبديل\x20نمط\x20الحواشي\x20العلوية\x20الرومانية','Toggle\x20the\x20lower–latin\x20footnotes\x20style':'تبديل\x20نمط\x20الحواشي\x20السفلية\x20اللاتينية','Toggle\x20the\x20upper–latin\x20footnotes\x20style':'تبديل\x20نمط\x20الحواشي\x20العلوية\x20اللاتينية'},'getPluralForm':_0x3dfd27=>0x0==_0x3dfd27?0x0:0x1==_0x3dfd27?0x1:0x2==_0x3dfd27?0x2:_0x3dfd27%0x64>=0x3&&_0x3dfd27%0x64<=0xa?0x3:_0x3dfd27%0x64>=0xb?0x4:0x5}};_0x2a81b8['ar']||={'dictionary':{},'getPluralForm':null},_0x2a81b8['ar']['dictionary']=Object['assign'](_0x2a81b8['ar']['dictionary'],_0x33512d),_0x2a81b8['ar']['getPluralForm']=_0x3c429c;})(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':'','Lower–roman\x20footnotes':'','Upper-roman\x20footnotes':'','Lower-latin\x20footnotes':'','Upper-latin\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':''},'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':'','Lower–roman\x20footnotes':'','Upper-roman\x20footnotes':'','Lower-latin\x20footnotes':'','Upper-latin\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':''},'getPluralForm':_0x26390c=>0x1!=_0x26390c}};
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
(
|
|
23
|
+
(_0x4fac24=>{const {ast:{dictionary:_0xb480ae,getPluralForm:_0x2a7467}}={'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':'','Lower–roman\x20footnotes':'','Upper-roman\x20footnotes':'','Lower-latin\x20footnotes':'','Upper-latin\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':''},'getPluralForm':_0x32ddf5=>0x1!=_0x32ddf5}};_0x4fac24['ast']||={'dictionary':{},'getPluralForm':null},_0x4fac24['ast']['dictionary']=Object['assign'](_0x4fac24['ast']['dictionary'],_0xb480ae),_0x4fac24['ast']['getPluralForm']=_0x2a7467;})(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':'','Lower–roman\x20footnotes':'','Upper-roman\x20footnotes':'','Lower-latin\x20footnotes':'','Upper-latin\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':''},'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':'','Lower–roman\x20footnotes':'','Upper-roman\x20footnotes':'','Lower-latin\x20footnotes':'','Upper-latin\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':''},'getPluralForm':_0x51fb44=>0x1!=_0x51fb44}};
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
(
|
|
23
|
+
(_0xa5d4c0=>{const {az:{dictionary:_0x11fdce,getPluralForm:_0x52a876}}={'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':'','Lower–roman\x20footnotes':'','Upper-roman\x20footnotes':'','Lower-latin\x20footnotes':'','Upper-latin\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':''},'getPluralForm':_0x1e5977=>0x1!=_0x1e5977}};_0xa5d4c0['az']||={'dictionary':{},'getPluralForm':null},_0xa5d4c0['az']['dictionary']=Object['assign'](_0xa5d4c0['az']['dictionary'],_0x11fdce),_0xa5d4c0['az']['getPluralForm']=_0x52a876;})(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':'','Lower–roman\x20footnotes':'','Upper-roman\x20footnotes':'','Lower-latin\x20footnotes':'','Upper-latin\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':''},'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':'','Lower–roman\x20footnotes':'','Upper-roman\x20footnotes':'','Lower-latin\x20footnotes':'','Upper-latin\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':''},'getPluralForm':_0x2f5115=>_0x2f5115%0xa==0x1&&_0x2f5115%0x64!=0xb?0x0:_0x2f5115%0xa>=0x2&&_0x2f5115%0xa<=0x4&&(_0x2f5115%0x64<0xa||_0x2f5115%0x64>=0x14)?0x1:0x2}};
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
(
|
|
23
|
+
(_0x24125a=>{const {be:{dictionary:_0x9f5530,getPluralForm:_0x978e9}}={'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':'','Lower–roman\x20footnotes':'','Upper-roman\x20footnotes':'','Lower-latin\x20footnotes':'','Upper-latin\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':''},'getPluralForm':_0x2d94fa=>_0x2d94fa%0xa==0x1&&_0x2d94fa%0x64!=0xb?0x0:_0x2d94fa%0xa>=0x2&&_0x2d94fa%0xa<=0x4&&(_0x2d94fa%0x64<0xa||_0x2d94fa%0x64>=0x14)?0x1:0x2}};_0x24125a['be']||={'dictionary':{},'getPluralForm':null},_0x24125a['be']['dictionary']=Object['assign'](_0x24125a['be']['dictionary'],_0x9f5530),_0x24125a['be']['getPluralForm']=_0x978e9;})(window['CKEDITOR_TRANSLATIONS']||={});
|