@ckeditor/ckeditor5-footnotes 47.7.0-alpha.4 → 47.7.1-alpha.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/build/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 _0x317c7b,Command as _0x4dcf80}from'@ckeditor/ckeditor5-core/dist/index.js';import{toWidget as _0x35fb10,isWidget as _0x430f0b,toWidgetEditable as _0x4847bd,WidgetToolbarRepository as _0x2d8651}from'@ckeditor/ckeditor5-widget/dist/index.js';import{uid as _0x44b4b1,logWarning as _0x29139a,FocusTracker as rt,KeystrokeHandler as nt,global as at}from'@ckeditor/ckeditor5-utils/dist/index.js';import{PointerObserver as _0x118744,ClickObserver as _0x5757f2}from'@ckeditor/ckeditor5-engine/dist/index.js';import{ClipboardPipeline as _0x3dc1df}from'@ckeditor/ckeditor5-clipboard/dist/index.js';import{MenuBarMenuListItemButtonView as _0x330ae5,ButtonView as _0x340aa5,View as _0x4478f6,ViewCollection as _0x1ea6eb,FocusCycler as tt,addKeyboardHandlingForGrid as st,CollapsibleView as it,LabeledFieldView as et,createLabeledInputNumber as ot,ContextualBalloon as _0x4bf9d0,BalloonPanelView as _0x2f9784,createDropdown as _0xc6e8a5}from'@ckeditor/ckeditor5-ui/dist/index.js';import{IconFootnote as _0x2bedc6,IconListStyleDecimal as _0x133f39,IconListStyleDecimalLeadingZero as _0x1015f6,IconListStyleLowerRoman as _0x3942f5,IconListStyleUpperRoman as _0x534c42,IconListStyleLowerLatin as _0x3ab491,IconListStyleUpperLatin as _0x58f7ea}from'@ckeditor/ckeditor5-icons/dist/index.js';class F{['_model'];['_elementName'];['_getElementKey'];['_trackedElements']=new Map();constructor(_0x2eb058,_0x42cb23){this['_model']=_0x2eb058,this['_elementName']=_0x42cb23['elementName'],this['_getElementKey']=_0x42cb23['getElementKey'];}['reset'](){this['_trackedElements']['clear']();}['getChanges'](_0x7b5203){const _0x4cc549=new Set(),_0xda30e3=new Map();for(const _0xc3a2af of _0x7b5203){if('insert'===_0xc3a2af['type']&&'$text'!==_0xc3a2af['name']&&_0xc3a2af['position']['nodeAfter']){const _0x115354=this['_model']['createRangeOn'](_0xc3a2af['position']['nodeAfter']);for(const _0x1761a6 of _0x115354['getItems']()){if(!_0x1761a6['is']('element',this['_elementName']))continue;const _0x2b6124=this['_getElementKey'](_0x1761a6);_0xda30e3['has'](_0x2b6124)||_0xda30e3['set'](_0x2b6124,[]),_0xda30e3['get'](_0x2b6124)['push'](_0x1761a6);}}if('remove'===_0xc3a2af['type']&&_0xc3a2af['name']===this['_elementName']){const _0x1308c5=this['_getElementKey']({'getAttribute':_0xf6ca85=>_0xc3a2af['attributes']['get'](_0xf6ca85)});_0x4cc549['add'](_0x1308c5);}}for(const [_0x2c2419,_0x6d317a]of this['_trackedElements'])'$graveyard'===_0x6d317a['root']['rootName']&&_0x4cc549['add'](_0x2c2419);for(const _0x1deff7 of _0x4cc549)this['_trackedElements']['delete'](_0x1deff7);for(const [_0x39b061,_0x5e93bf]of _0xda30e3)this['_trackedElements']['set'](_0x39b061,_0x5e93bf[_0x5e93bf['length']-0x1]);const _0x299008=new Set();for(const [_0x133d4d,_0x36e4b5]of _0xda30e3)_0x4cc549['has'](_0x133d4d)&&(_0x299008['add'](_0x36e4b5[0x0]),_0x36e4b5['length']>0x1?_0xda30e3['set'](_0x133d4d,_0x36e4b5['slice'](0x1)):_0xda30e3['delete'](_0x133d4d),_0x4cc549['delete'](_0x133d4d));return{'removed':Array['from'](_0x4cc549),'inserted':Array['from'](_0xda30e3['values']())['flat'](),'moved':Array['from'](_0x299008)};}}class f extends _0x317c7b{['_footnotes']=[];['_footnotesDefinitions']=null;['_footnoteFormatter']=null;['_footnoteDefsContainerTracker'];['_footnoteRefsTracker'];['_footnoteDefsTracker'];static get['pluginName'](){return'FootnotesTracker';}static get['isOfficialPlugin'](){return!0x0;}static get['isPremiumPlugin'](){return!0x0;}constructor(_0x5a2c92){super(_0x5a2c92),this['_footnoteDefsContainerTracker']=new F(this['editor']['model'],{'elementName':'footnotesDefinitions','getElementKey':()=>'singleton'}),this['_footnoteRefsTracker']=new F(this['editor']['model'],{'elementName':'footnoteRef','getElementKey':_0x3d667e=>_0x3d667e['getAttribute']('footnoteId')}),this['_footnoteDefsTracker']=new F(this['editor']['model'],{'elementName':'footnoteDefinition','getElementKey':_0x246315=>_0x246315['getAttribute']('footnoteId')});}['init'](){const {editor:_0x816981}=this,{model:_0x5907e6,data:_0x95cf4b}=_0x816981;_0x5907e6['document']['registerPostFixer'](_0x2bee75=>{const _0x49b849=_0x5907e6['document']['differ']['getChanges']();let _0x4ef923=!0x1;return this['_handleFootnotesDefinitionsObjectChanges'](_0x2bee75,_0x49b849)&&(_0x4ef923=!0x0),this['_handleFootnoteDefinitionsChanges'](_0x2bee75,_0x49b849)&&(_0x4ef923=!0x0),this['_handleFootnoteReferencesChanges'](_0x2bee75,_0x49b849)&&(_0x4ef923=!0x0),this['_ensureFootnotesReferencesHaveProperOrder'](_0x2bee75)&&(_0x4ef923=!0x0),this['_handleFootnotesDefinitionsObjectSync'](_0x2bee75)&&(_0x4ef923=!0x0),this['_sortFootnoteDefinitions'](_0x2bee75)&&(_0x4ef923=!0x0),_0x4ef923;}),this['listenTo'](_0x5907e6['document'],'change:data',()=>{_0x5907e6['enqueueChange']({'isUndoable':!0x1},_0x4586df=>{this['_ensureFootnotesDefinitionsContainerExists'](_0x4586df);});},{'priority':'low'}),this['listenTo'](_0x95cf4b,'set',()=>{this['_footnotes']=[],this['_footnoteDefsContainerTracker']['reset'](),this['_footnoteRefsTracker']['reset'](),this['_footnoteDefsTracker']['reset']();},{'priority':'high'});}['getFootnotesDefinitionsObjectElement'](){return this['_footnotesDefinitions'];}['getFootnote'](_0x2d820c){return this['_footnotes']['find'](_0x3cfdd6=>_0x3cfdd6['id']===_0x2d820c)||null;}['getFootnotes'](){return Array['from'](this['_footnotes']);}['getFootnotesFormatter'](){return this['_footnoteFormatter'];}['setFootnoteFormatter'](_0x57a76f){this['_footnoteFormatter']=_0x57a76f;}['_updateFootnotesCounters'](_0x1f932c,_0x4da02a=0x0){let _0x4973ae=!0x1;for(let _0x5a5f6b=_0x4da02a;_0x5a5f6b<this['_footnotes']['length'];_0x5a5f6b++)this['_updateFootnoteRefCounter'](_0x1f932c,_0x5a5f6b)&&(_0x4973ae=!0x0);return _0x4973ae;}['_insertEmptyFootnotesDefinitionsContainer'](_0x2c9bae,_0x465139){const _0x5d3289=_0x2c9bae['createElement']('footnotesDefinitions',{});return _0x2c9bae['append'](_0x5d3289,_0x465139),this['_footnotesDefinitions']=_0x5d3289,_0x5d3289;}['_ensureFootnotesDefinitionsContainerExists'](_0x2bb513){if(!this['_footnotes']['length']||this['_footnotesDefinitions'])return;const _0x318500=this['_footnotes'][0x0]['reference']['root'],_0x314363=this['_insertEmptyFootnotesDefinitionsContainer'](_0x2bb513,_0x318500);for(const _0x298fbe of this['_footnotes'])_0x298fbe['definition']['parent']||_0x2bb513['insert'](_0x298fbe['definition'],_0x314363,'end');this['_updateFootnotesCounters'](_0x2bb513);}['_handleFootnotesDefinitionsObjectChanges'](_0x4a15c3,_0x47c4d7){let _0x4197e5=!0x1;const {inserted:_0x41c999,removed:_0x2d2f5e,moved:_0x34ea9f}=this['_footnoteDefsContainerTracker']['getChanges'](_0x47c4d7);if(_0x34ea9f['length']&&(this['_footnotesDefinitions']=_0x34ea9f[0x0]),_0x41c999['length']){if(_0x41c999['length']>0x1||this['_footnotesDefinitions']&&_0x41c999['some'](_0x1b7c11=>_0x1b7c11!==this['_footnotesDefinitions'])){const _0x54f2d4=_0x4a15c3['createElement']('footnotesDefinitions',{}),_0x350a6d=[];this['_footnotesDefinitions']&&_0x350a6d['push'](this['_footnotesDefinitions']),_0x350a6d['push'](..._0x41c999),_0x4a15c3['insert'](_0x54f2d4,_0x350a6d[0x0],'before');for(const _0x46e454 of _0x350a6d)_0x4a15c3['move'](_0x4a15c3['createRangeIn'](_0x46e454),_0x4a15c3['createPositionAt'](_0x54f2d4,'end')),_0x4a15c3['remove'](_0x46e454);this['_footnotesDefinitions']=_0x54f2d4,this['_updateFootnotesCounters'](_0x4a15c3),_0x4197e5=!0x0;}else this['_footnotesDefinitions']=_0x41c999[0x0];}if(_0x2d2f5e['length']&&'$graveyard'===this['_footnotesDefinitions']?.['root']['rootName']){for(const _0x3cc9d7 of this['_footnotes'])_0x4a15c3['remove'](_0x3cc9d7['reference']),_0x4197e5=!0x0;this['_footnotes']=[],this['_footnotesDefinitions']=null;}return _0x4197e5;}['_handleFootnoteDefinitionsChanges'](_0x4b1622,_0x518413){let _0x408715=!0x1;const _0x451767=this['editor']['config']['get']('footnotes.multiBlock'),{inserted:_0x340abc,moved:_0x5629a2}=this['_footnoteDefsTracker']['getChanges'](_0x518413);for(const _0x5224d4 of[..._0x5629a2,..._0x340abc]){const _0x375d5f=_0x5224d4['getAttribute']('footnoteId'),_0xb75244=this['getFootnote'](_0x375d5f);_0xb75244&&(_0xb75244['definition']=_0x5224d4),_(_0x4b1622,_0x451767,_0x5224d4)&&(_0x408715=!0x0);}return _0x408715;}['_handleFootnoteReferencesChanges'](_0x3cf9c3,_0x14ee70){let _0x5ce21c=!0x1;const {removed:_0x29af2d,inserted:_0x42f618,moved:_0x1ff6ad}=this['_footnoteRefsTracker']['getChanges'](_0x14ee70);for(const _0x1fe9f6 of _0x29af2d)this['_handleRemoveFootnoteReferenceById'](_0x3cf9c3,_0x1fe9f6)&&(_0x5ce21c=!0x0);for(const _0x1bb79f of _0x42f618)this['_handleInsertedFootnoteReference'](_0x3cf9c3,_0x1bb79f)&&(_0x5ce21c=!0x0);for(const _0x150f92 of _0x1ff6ad)this['_handleMovedFootnoteReference'](_0x3cf9c3,_0x150f92)&&(_0x5ce21c=!0x0);return _0x5ce21c;}['_handleFootnotesDefinitionsObjectSync'](_0x170ab0){if(!this['_footnotesDefinitions'])return!0x1;let _0x2026b0=!0x1;if(this['_footnotesDefinitions']['childCount']!==this['_footnotes']['length']){const _0x204707=[];for(const _0x499b97 of this['_footnotesDefinitions']['getChildren']()){const _0x4e5a14=_0x499b97['getAttribute']('footnoteId');this['getFootnote'](_0x4e5a14)||(_0x204707['unshift'](_0x499b97),_0x2026b0=!0x0);}for(const _0x456c87 of _0x204707)_0x170ab0['remove'](_0x456c87);}const _0x575107=new Set(),_0x4c29bc=[];for(const _0x4ed8f1 of this['_footnotesDefinitions']['getChildren']()){const _0x2a2db5=_0x4ed8f1['getAttribute']('footnoteId');_0x575107['has'](_0x2a2db5)?(_0x4c29bc['unshift'](_0x4ed8f1),_0x2026b0=!0x0):_0x575107['add'](_0x2a2db5);}for(const _0x5e7e5c of _0x4c29bc)_0x170ab0['remove'](_0x5e7e5c);return this['_footnotesDefinitions']['childCount']||(_0x170ab0['remove'](this['_footnotesDefinitions']),this['_footnotesDefinitions']=null,_0x2026b0=!0x0),_0x2026b0;}['_handleInsertedFootnoteReference'](_0x38f341,_0x1e72c0){if(this['_footnotes']['find'](_0xa15c2c=>_0xa15c2c['reference']===_0x1e72c0))return!0x1;let _0x1d377c=!0x1;const _0x189ece=_0x1e72c0['getAttribute']('footnoteId'),_0x2598ab=this['_footnotes']['findIndex'](_0x42e3f4=>_0x42e3f4['id']===_0x189ece);-0x1!==_0x2598ab&&(_0x38f341['remove'](this['_footnotes'][_0x2598ab]['reference']),this['_footnotes']['splice'](_0x2598ab,0x1),_0x1d377c=!0x0);let _0x271fcd=this['_footnotesDefinitions']?function(_0x1b2ddd,_0x10834d){for(const _0x2f9216 of _0x1b2ddd['getChildren']())if(_0x2f9216['getAttribute']('footnoteId')===_0x10834d)return _0x2f9216;return null;}(this['_footnotesDefinitions'],_0x189ece):null;_0x271fcd||(_0x271fcd=_0x38f341['createElement']('footnoteDefinition',{'footnoteId':_0x189ece}),this['_footnotesDefinitions']&&(_0x38f341['insert'](_0x271fcd,this['_footnotesDefinitions'],'end'),_0x1d377c=!0x0));const _0x4d3f9f={'id':_0x189ece,'reference':_0x1e72c0,'definition':_0x271fcd},_0x4d634f=I(this['editor']['model'],this['_footnotes'],_0x1e72c0);this['_footnotes']['splice'](_0x4d634f,0x0,_0x4d3f9f);let _0x3390ff=_0x4d634f;return-0x1!==_0x2598ab&&(_0x3390ff=Math['min'](_0x4d634f,_0x2598ab)),this['_updateFootnotesCounters'](_0x38f341,_0x3390ff)&&(_0x1d377c=!0x0),_0x1d377c;}['_handleRemoveFootnoteReferenceById'](_0x3d405c,_0x5168a7){const _0x4ca8d4=this['_footnotes']['findIndex'](_0x3d3f2a=>_0x3d3f2a['id']===_0x5168a7);if(-0x1===_0x4ca8d4)return!0x1;let _0x5ada9e=!0x1;const _0x31e3af=this['_footnotes'][_0x4ca8d4];return'$graveyard'!==_0x31e3af['definition']['root']['rootName']&&(_0x3d405c['remove'](_0x31e3af['definition']),_0x5ada9e=!0x0),this['_footnotes']['splice'](_0x4ca8d4,0x1),this['_updateFootnotesCounters'](_0x3d405c,_0x4ca8d4)&&(_0x5ada9e=!0x0),_0x5ada9e;}['_handleMovedFootnoteReference'](_0x517a36,_0x5cac18){const _0x4ce8b6=_0x5cac18['getAttribute']('footnoteId'),_0x64e6ac=this['_footnotes']['findIndex'](_0x1ee4c9=>_0x1ee4c9['id']===_0x4ce8b6),_0x5a6999=this['_footnotes'][_0x64e6ac];let _0x9a248c=!0x1;_0x5a6999['reference']=_0x5cac18,this['_footnotes']['splice'](_0x64e6ac,0x1);const _0x1f441d=I(this['editor']['model'],this['_footnotes'],_0x5cac18);return this['_footnotes']['splice'](_0x1f441d,0x0,_0x5a6999),this['_updateFootnotesCounters'](_0x517a36,Math['min'](_0x64e6ac,_0x1f441d))&&(_0x9a248c=!0x0),_0x9a248c;}['_updateFootnoteRefCounter'](_0x50402f,_0x9808e8){if(!this['_footnotesDefinitions'])return!0x1;const _0x4c18de=this['_footnotes'][_0x9808e8];let _0x196b7a;return _0x196b7a=this['_footnoteFormatter']?this['_footnoteFormatter']({'footnote':_0x4c18de,'container':this['_footnotesDefinitions'],'digits':String(this['_footnotes']['length'])['length'],'value':_0x9808e8+0x1}):String(_0x9808e8+0x1),_0x4c18de['reference']['getAttribute']('footnoteCounter')!=_0x196b7a&&(_0x50402f['setAttribute']('footnoteCounter',_0x196b7a,_0x4c18de['reference']),!0x0);}['_sortFootnoteDefinitions'](_0x205f2b){if(!this['_footnotesDefinitions']||this['_footnotes']['length']<0x2)return!0x1;if(function(_0x369c8a,_0x435dee){if(_0x369c8a['length']!==_0x435dee['length'])return!0x1;for(let _0x167b3d=0x0;_0x167b3d<_0x369c8a['length'];_0x167b3d++)if(_0x369c8a[_0x167b3d]!==_0x435dee[_0x167b3d])return!0x1;return!0x0;}(this['_footnotes']['map'](_0x2270c8=>_0x2270c8['id']),Array['from'](this['_footnotesDefinitions']['getChildren']())['map'](_0x3eb350=>_0x3eb350['getAttribute']('footnoteId'))))return!0x1;let _0x319fb2=!0x1;for(let _0x3c806b=0x0;_0x3c806b<this['_footnotes']['length'];_0x3c806b++){const _0x7d14e0=this['_footnotes'][_0x3c806b],_0x5cf624=_0x205f2b['createPositionBefore'](_0x7d14e0['definition']),_0x12f85f=_0x205f2b['createPositionAt'](this['_footnotesDefinitions'],_0x3c806b);_0x5cf624['isEqual'](_0x12f85f)||(_0x205f2b['move'](_0x205f2b['createRangeOn'](_0x7d14e0['definition']),_0x12f85f),_0x319fb2=!0x0);}return _0x319fb2;}['_ensureFootnotesReferencesHaveProperOrder'](_0x594527){if(!this['_footnotes']['length'])return!0x1;const {model:_0x233b4d}=this['editor'];let _0x802f99=!0x1;for(let _0x3319ec=0x0;_0x3319ec<this['_footnotes']['length']-0x1;_0x3319ec++){const _0x30facc=this['_footnotes'][_0x3319ec],_0x499336=this['_footnotes'][_0x3319ec+0x1],_0x39f03d=_0x233b4d['createPositionBefore'](_0x30facc['reference']),_0x564948=_0x233b4d['createPositionBefore'](_0x499336['reference']);'after'===_0x39f03d['compareWith'](_0x564948)&&(this['_handleMovedFootnoteReference'](_0x594527,_0x30facc['reference']),_0x3319ec=-0x1,_0x802f99=!0x0);}return _0x802f99;}}function _(_0x39eeb8,_0x340556,_0x1ea69d){if(_0x1ea69d['childCount'])return!0x1;const _0x3d827b=_0x340556?'paragraph':'footnoteInlineContent';return _0x39eeb8['insert'](_0x39eeb8['createElement'](_0x3d827b),_0x1ea69d),!0x0;}function I(_0xf9ddb3,_0xe1044b,_0x28c13b){if(0x0===_0xe1044b['length'])return 0x0;const _0x34a48b=_0xf9ddb3['createPositionBefore'](_0x28c13b);for(let _0x3b868a=0x0;_0x3b868a<_0xe1044b['length'];_0x3b868a++){const _0x4ef311=_0xe1044b[_0x3b868a],_0x14079b=_0xf9ddb3['createPositionBefore'](_0x4ef311['reference']);if('before'===_0x34a48b['compareWith'](_0x14079b))return _0x3b868a;}const _0x1ce308=_0x28c13b['root'];let _0x370519=-0x1;for(let _0x34af73=_0xe1044b['length']-0x1;_0x34af73>=0x0;_0x34af73--)if(_0xe1044b[_0x34af73]['reference']['root']===_0x1ce308){_0x370519=_0x34af73;break;}if(-0x1!==_0x370519)return _0x370519+0x1;const _0x467d2f=_0xf9ddb3['document']['getRootNames'](),_0x267f52=_0x467d2f['indexOf'](_0x1ce308['rootName']),_0x25da05=_0x467d2f[_0x267f52+0x1];if(_0x25da05){for(let _0x3979a8=0x0;_0x3979a8<_0xe1044b['length'];_0x3979a8++)if(_0xe1044b[_0x3979a8]['reference']['root']['rootName']===_0x25da05)return _0x3979a8;}return _0xe1044b['length'];}class h extends _0x4dcf80{['refresh'](){const _0x21f8e8=this['editor']['model']['document']['selection'],_0x204bfc=this['_getPositionToInsertFootnote'](_0x21f8e8);this['isEnabled']=!!_0x204bfc;}['execute'](_0x9221f){const {editor:_0x399d3b}=this,{model:_0x4db90c}=_0x399d3b,{selection:_0x2e93b0}=_0x4db90c['document'],_0xf2ae81=this['_getPositionToInsertFootnote'](_0x2e93b0);if(!_0xf2ae81)return;const _0x40e7f8=_0x399d3b['plugins']['get']('FootnotesEditing'),_0x2b8708=_0x9221f?.['footnoteId']??_0x44b4b1();!function(_0x2890ac){return'string'==typeof _0x2890ac&&_0x2890ac['length']>0x0&&!/\s/['test'](_0x2890ac)&&!/^\d/['test'](_0x2890ac);}(_0x2b8708)?_0x29139a('insert-footnote-command-executed-with-invalid-id'):(_0x4db90c['change'](_0x2628d6=>{const _0x254c2e=_0x2628d6['createElement']('footnoteRef',{'footnoteId':_0x2b8708});_0x4db90c['insertObject'](_0x254c2e,_0xf2ae81,null);}),_0x40e7f8['_moveSelectionToFootnoteDefinition'](_0x2b8708));}['_getPositionToInsertFootnote'](_0x306725){const {model:_0x344045}=this['editor'],{schema:_0xd9a873}=_0x344045,_0x7c576b=_0x306725['getFirstRange']();for(const _0x12127c of _0x7c576b['getItems']())if(_0xd9a873['isBlock'](_0x12127c)||_0xd9a873['isObject'](_0x12127c))return null;const _0x5c8446=_0x7c576b['end'];return _0xd9a873['checkChild'](_0x5c8446,'footnoteRef')?_0x5c8446:null;}}class r extends _0x317c7b{static get['pluginName'](){return'FootnotesEditing';}static get['requires'](){return[f];}static get['isOfficialPlugin'](){return!0x0;}static get['isPremiumPlugin'](){return!0x0;}['init'](){const {editor:_0xd3cde5}=this;_0xd3cde5['config']['define']('footnotes.multiBlock',!0x0),_0xd3cde5['commands']['add']('insertFootnote',new h(_0xd3cde5)),this['_defineSchema'](),this['_defineRefsConverters'](),this['_defineDefinitionsConverters'](),this['_defineDefinitionConverters'](),this['_defineBogusParagraphConverters'](),this['_defineKeyboardHandlers'](),this['_defineClickHandlers']();}['afterInit'](){!async function(_0x1e3e8b){const _0x45110a=_0x812e6a([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]),_0x1f7068=0x47a28506,_0x193b94=0x47a50256^_0x1f7068,_0xfbb3bf=window[_0x812e6a([0x44,0x61,0x74,0x65])][_0x812e6a([0x6e,0x6f,0x77])](),_0x31c07d=_0x1e3e8b[_0x812e6a([0x65,0x64,0x69,0x74,0x6f,0x72])],_0x505886=new window[(_0x812e6a([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0x482cb7=>{_0x31c07d[_0x812e6a([0x6f,0x6e,0x63,0x65])](_0x812e6a([0x72,0x65,0x61,0x64,0x79]),_0x482cb7);}),_0x8b36f2={[_0x812e6a([0x6b,0x74,0x79])]:_0x812e6a([0x45,0x43]),[_0x812e6a([0x75,0x73,0x65])]:_0x812e6a([0x73,0x69,0x67]),[_0x812e6a([0x63,0x72,0x76])]:_0x812e6a([0x50,0x2d,0x32,0x35,0x36]),[_0x812e6a([0x78])]:_0x812e6a([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]),[_0x812e6a([0x79])]:_0x812e6a([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]),[_0x812e6a([0x61,0x6c,0x67])]:_0x812e6a([0x45,0x53,0x32,0x35,0x36])},_0x516a64=_0x31c07d[_0x812e6a([0x63,0x6f,0x6e,0x66,0x69,0x67])][_0x812e6a([0x67,0x65,0x74])](_0x812e6a([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x4b,0x65,0x79]));async function _0x5b6d28(){let _0x15a291,_0x15720c=null,_0x2b908d=null;try{if(_0x516a64==_0x812e6a([0x47,0x50,0x4c]))return _0x812e6a([0x4e,0x6f,0x74,0x41,0x6c,0x6c,0x6f,0x77,0x65,0x64]);if(_0x15a291=_0xd77530(),!_0x15a291)return _0x812e6a([0x49,0x6e,0x76,0x61,0x6c,0x69,0x64]);return _0x15a291[_0x812e6a([0x75,0x73,0x61,0x67,0x65,0x45,0x6e,0x64,0x70,0x6f,0x69,0x6e,0x74])]&&(_0x2b908d=_0x4bcb41(_0x15a291[_0x812e6a([0x75,0x73,0x61,0x67,0x65,0x45,0x6e,0x64,0x70,0x6f,0x69,0x6e,0x74])],_0x15a291[_0x812e6a([0x6a,0x74,0x69])])),await _0x32f02d()?_0x1d60af()?_0x50de56()?_0x812e6a([0x45,0x78,0x70,0x69,0x72,0x65,0x64]):_0x516e0b()?(_0x15a291[_0x812e6a([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x54,0x79,0x70,0x65])]==_0x812e6a([0x65,0x76,0x61,0x6c,0x75,0x61,0x74,0x69,0x6f,0x6e])&&(_0x15720c=_0x51873f(_0x812e6a([0x45,0x76,0x61,0x6c,0x75,0x61,0x74,0x69,0x6f,0x6e,0x4c,0x69,0x6d,0x69,0x74]))),await _0x2deb9f()):_0x812e6a([0x44,0x6f,0x6d,0x61,0x69,0x6e,0x4c,0x69,0x6d,0x69,0x74]):_0x812e6a([0x4e,0x6f,0x74,0x41,0x6c,0x6c,0x6f,0x77,0x65,0x64]):_0x812e6a([0x49,0x6e,0x76,0x61,0x6c,0x69,0x64]);}catch{return _0x812e6a([0x49,0x6e,0x76,0x61,0x6c,0x69,0x64]);}function _0x50de56(){const _0x5524a2=[_0x812e6a([0x65,0x76,0x61,0x6c,0x75,0x61,0x74,0x69,0x6f,0x6e]),_0x812e6a([0x74,0x72,0x69,0x61,0x6c])][_0x812e6a([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x15a291[_0x812e6a([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x54,0x79,0x70,0x65])])?_0xfbb3bf/0x3e8:0xe10*_0x193b94;return _0x15a291[_0x812e6a([0x65,0x78,0x70])]<_0x5524a2;}function _0x1d60af(){const _0x5bfaf2=_0x15a291[_0x812e6a([0x66,0x65,0x61,0x74,0x75,0x72,0x65,0x73])];return!!_0x5bfaf2&&(!!_0x5bfaf2[_0x812e6a([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x812e6a([0x2a]))||!!_0x5bfaf2[_0x812e6a([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x812e6a([0x46,0x4f,0x4f])));}function _0x516e0b(){const _0x3411e5=_0x15a291[_0x812e6a([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x64,0x48,0x6f,0x73,0x74,0x73])];if(!_0x3411e5||0x0==_0x3411e5[_0x812e6a([0x6c,0x65,0x6e,0x67,0x74,0x68])])return!0x0;const {hostname:_0x4095a5}=new URL(window[_0x812e6a([0x6c,0x6f,0x63,0x61,0x74,0x69,0x6f,0x6e])]['href']);if(_0x3411e5[_0x812e6a([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x4095a5))return!0x0;const _0x929555=_0x4095a5[_0x812e6a([0x73,0x70,0x6c,0x69,0x74])](_0x812e6a([0x2e]));return _0x3411e5[_0x812e6a([0x66,0x69,0x6c,0x74,0x65,0x72])](_0x4c252d=>_0x4c252d[_0x812e6a([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x812e6a([0x2a])))[_0x812e6a([0x6d,0x61,0x70])](_0x52ab95=>_0x52ab95[_0x812e6a([0x73,0x70,0x6c,0x69,0x74])](_0x812e6a([0x2e])))[_0x812e6a([0x66,0x69,0x6c,0x74,0x65,0x72])](_0x23f4f8=>_0x23f4f8[_0x812e6a([0x6c,0x65,0x6e,0x67,0x74,0x68])]<=_0x929555[_0x812e6a([0x6c,0x65,0x6e,0x67,0x74,0x68])])[_0x812e6a([0x6d,0x61,0x70])](_0x55b7bd=>Array(_0x929555[_0x812e6a([0x6c,0x65,0x6e,0x67,0x74,0x68])]-_0x55b7bd[_0x812e6a([0x6c,0x65,0x6e,0x67,0x74,0x68])])[_0x812e6a([0x66,0x69,0x6c,0x6c])](_0x55b7bd[0x0]===_0x812e6a([0x2a])?_0x812e6a([0x2a]):'')[_0x812e6a([0x63,0x6f,0x6e,0x63,0x61,0x74])](_0x55b7bd))[_0x812e6a([0x73,0x6f,0x6d,0x65])](_0x13f4fe=>_0x929555[_0x812e6a([0x65,0x76,0x65,0x72,0x79])]((_0x4f7681,_0x5b05bb)=>_0x13f4fe[_0x5b05bb]===_0x4f7681||_0x13f4fe[_0x5b05bb]===_0x812e6a([0x2a])));}function _0x2deb9f(){return _0x15720c&&_0x2b908d?new window[(_0x812e6a([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))]((_0x240cb3,_0x581db6)=>{_0x15720c[_0x812e6a([0x74,0x68,0x65,0x6e])](_0x240cb3,_0x581db6),_0x2b908d[_0x812e6a([0x74,0x68,0x65,0x6e])](_0x4d6112=>{_0x4d6112!=_0x812e6a([0x56,0x61,0x6c,0x69,0x64])&&_0x240cb3(_0x4d6112);},_0x581db6);}):_0x15720c||_0x2b908d||_0x812e6a([0x56,0x61,0x6c,0x69,0x64]);}}function _0x4bcb41(_0xcfd629,_0x300721){return new window[(_0x812e6a([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0x1a746a=>{if(_0x1255f8())return _0x1a746a(_0x812e6a([0x56,0x61,0x6c,0x69,0x64]));_0x52feac(),_0x31c07d[_0x812e6a([0x64,0x65,0x63,0x6f,0x72,0x61,0x74,0x65])](_0x812e6a([0x5f,0x73,0x65,0x6e,0x64,0x55,0x73,0x61,0x67,0x65,0x52,0x65,0x71,0x75,0x65,0x73,0x74]));let _0x13098d=!0x1;const _0x1b6fae=_0x44b4b1();function _0x466f8e(_0xa3c620){return!!_0xa3c620&&(typeof _0xa3c620===_0x812e6a([0x6f,0x62,0x6a,0x65,0x63,0x74])||typeof _0xa3c620===_0x812e6a([0x66,0x75,0x6e,0x63,0x74,0x69,0x6f,0x6e]))&&typeof _0xa3c620[_0x812e6a([0x74,0x68,0x65,0x6e])]===_0x812e6a([0x66,0x75,0x6e,0x63,0x74,0x69,0x6f,0x6e])&&typeof _0xa3c620[_0x812e6a([0x63,0x61,0x74,0x63,0x68])]===_0x812e6a([0x66,0x75,0x6e,0x63,0x74,0x69,0x6f,0x6e]);}function _0x1901f3(_0x41ea5f){_0x3b3541(_0x41ea5f)[_0x812e6a([0x74,0x68,0x65,0x6e])](_0x37e79f=>{if(!_0x37e79f||_0x37e79f[_0x812e6a([0x73,0x74,0x61,0x74,0x75,0x73])]!=_0x812e6a([0x6f,0x6b]))return _0x812e6a([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]);return _0x3ad5e9(_0x121238(_0x1b6fae+_0x300721))!=_0x37e79f[_0x812e6a([0x76,0x65,0x72,0x69,0x66,0x69,0x63,0x61,0x74,0x69,0x6f,0x6e])]?_0x812e6a([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]):_0x812e6a([0x56,0x61,0x6c,0x69,0x64]);})[_0x812e6a([0x74,0x68,0x65,0x6e])](_0x3356c2=>(_0x3c042a(),_0x3356c2),()=>{const _0x324e0f=_0x2175d4();return null==_0x324e0f?(_0x3c042a(),_0x812e6a([0x56,0x61,0x6c,0x69,0x64])):_0x812e6a(_0xfbb3bf-_0x324e0f>(0x63ae0106^_0x1f7068)?[0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]:[0x56,0x61,0x6c,0x69,0x64]);})[_0x812e6a([0x74,0x68,0x65,0x6e])](_0x1a746a)[_0x812e6a([0x63,0x61,0x74,0x63,0x68])](()=>{_0x1a746a(_0x812e6a([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]));});const _0xa91694=0x47946b86^_0x1f7068;function _0x3c042a(){const _0x2cda2f=_0x812e6a([0x6c,0x6c,0x63,0x74,0x2d])+_0x3ad5e9(_0x121238(_0xcfd629)),_0x1d2d9f=_0x1f6b17(_0x3ad5e9(window[_0x812e6a([0x4d,0x61,0x74,0x68])][_0x812e6a([0x63,0x65,0x69,0x6c])](_0xfbb3bf/_0xa91694)));window[_0x812e6a([0x6c,0x6f,0x63,0x61,0x6c,0x53,0x74,0x6f,0x72,0x61,0x67,0x65])][_0x812e6a([0x73,0x65,0x74,0x49,0x74,0x65,0x6d])](_0x2cda2f,_0x1d2d9f);}function _0x2175d4(){const _0x1e5c31=_0x812e6a([0x6c,0x6c,0x63,0x74,0x2d])+_0x3ad5e9(_0x121238(_0xcfd629)),_0x1ca6ef=window[_0x812e6a([0x6c,0x6f,0x63,0x61,0x6c,0x53,0x74,0x6f,0x72,0x61,0x67,0x65])][_0x812e6a([0x67,0x65,0x74,0x49,0x74,0x65,0x6d])](_0x1e5c31);return _0x1ca6ef?window[_0x812e6a([0x70,0x61,0x72,0x73,0x65,0x49,0x6e,0x74])](_0x1f6b17(_0x1ca6ef),0x10)*_0xa91694:null;}function _0x3b3541(_0x40c504){return new window[(_0x812e6a([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))]((_0x5c32fb,_0x138f3e)=>{_0x40c504[_0x812e6a([0x74,0x68,0x65,0x6e])](_0x5c32fb,_0x138f3e),window[_0x812e6a([0x73,0x65,0x74,0x54,0x69,0x6d,0x65,0x6f,0x75,0x74])](_0x138f3e,0x47a351c6^_0x1f7068);});}}_0x31c07d[_0x812e6a([0x6f,0x6e])](_0x812e6a([0x5f,0x73,0x65,0x6e,0x64,0x55,0x73,0x61,0x67,0x65,0x52,0x65,0x71,0x75,0x65,0x73,0x74]),(_0x4bc88e,_0x164581)=>{if(_0x164581[0x0]!=_0xcfd629)return _0x1a746a(_0x812e6a([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]));_0x164581[0x1]={..._0x164581[0x1],[_0x812e6a([0x72,0x65,0x71,0x75,0x65,0x73,0x74,0x49,0x64])]:_0x1b6fae};},{[_0x812e6a([0x70,0x72,0x69,0x6f,0x72,0x69,0x74,0x79])]:_0x812e6a([0x68,0x69,0x67,0x68])}),_0x31c07d[_0x812e6a([0x6f,0x6e])](_0x812e6a([0x5f,0x73,0x65,0x6e,0x64,0x55,0x73,0x61,0x67,0x65,0x52,0x65,0x71,0x75,0x65,0x73,0x74]),_0x55199f=>{_0x466f8e(_0x55199f[_0x812e6a([0x72,0x65,0x74,0x75,0x72,0x6e])])&&(_0x13098d=!0x0,_0x1901f3(_0x55199f[_0x812e6a([0x72,0x65,0x74,0x75,0x72,0x6e])]));},{[_0x812e6a([0x70,0x72,0x69,0x6f,0x72,0x69,0x74,0x79])]:_0x812e6a([0x6c,0x6f,0x77])}),_0x505886[_0x812e6a([0x74,0x68,0x65,0x6e])](()=>{_0x13098d||_0x1a746a(_0x812e6a([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]));});});function _0x1255f8(){return _0x31c07d[_0x812e6a([0x65,0x64,0x69,0x74,0x69,0x6e,0x67])][_0x812e6a([0x76,0x69,0x65,0x77])][_0x812e6a([0x5f,0x6f,0x76,0x65,0x72,0x6c,0x61,0x79,0x4d,0x6f,0x64,0x65,0x48,0x69,0x6e,0x74])]==_0x812e6a([0x61,0x75,0x74,0x6f]);}function _0x52feac(){_0x31c07d[_0x812e6a([0x65,0x64,0x69,0x74,0x69,0x6e,0x67])][_0x812e6a([0x76,0x69,0x65,0x77])][_0x812e6a([0x5f,0x6f,0x76,0x65,0x72,0x6c,0x61,0x79,0x4d,0x6f,0x64,0x65,0x48,0x69,0x6e,0x74])]=_0x812e6a([0x61,0x75,0x74,0x6f]);}}function _0x51873f(_0x354e8c){const _0xf6929e=[new window[(_0x812e6a([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0x24395b=>setTimeout(_0x24395b,0x47abbbca^_0x1f7068)),_0x505886[_0x812e6a([0x74,0x68,0x65,0x6e])](()=>new window[(_0x812e6a([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0x1a7195=>{let _0x128a9e=0x0;_0x31c07d[_0x812e6a([0x6d,0x6f,0x64,0x65,0x6c])][_0x812e6a([0x6f,0x6e])](_0x812e6a([0x61,0x70,0x70,0x6c,0x79,0x4f,0x70,0x65,0x72,0x61,0x74,0x69,0x6f,0x6e]),(_0x88f95,_0x71c1f8)=>{_0x71c1f8[0x0][_0x812e6a([0x69,0x73,0x44,0x6f,0x63,0x75,0x6d,0x65,0x6e,0x74,0x4f,0x70,0x65,0x72,0x61,0x74,0x69,0x6f,0x6e])]&&_0x128a9e++,_0x128a9e==(0x47a280ee^_0x1f7068)&&(_0x1a7195(),_0x88f95[_0x812e6a([0x6f,0x66,0x66])]());});}))];return window[_0x812e6a([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65])][_0x812e6a([0x72,0x61,0x63,0x65])](_0xf6929e)[_0x812e6a([0x74,0x68,0x65,0x6e])](()=>_0x354e8c);}async function _0x3651fa(){await _0x505886,_0x31c07d[_0x812e6a([0x6d,0x6f,0x64,0x65,0x6c])][_0x812e6a([0x63,0x68,0x61,0x6e,0x67,0x65])]=_0x124b1d,_0x31c07d[_0x812e6a([0x6d,0x6f,0x64,0x65,0x6c])][_0x812e6a([0x65,0x6e,0x71,0x75,0x65,0x75,0x65,0x43,0x68,0x61,0x6e,0x67,0x65])]=_0x124b1d,_0x31c07d[_0x812e6a([0x65,0x6e,0x61,0x62,0x6c,0x65,0x52,0x65,0x61,0x64,0x4f,0x6e,0x6c,0x79,0x4d,0x6f,0x64,0x65])](_0x812e6a([0x6d,0x6f,0x64,0x65,0x6c]));}function _0x2e8892(_0x5d9f3f){const _0xe11200=_0x528953();_0x31c07d[_0xe11200]=_0x812e6a([0x66,0x6f,0x6f,0x74,0x6e,0x6f,0x74,0x65,0x73,0x4c,0x69,0x63,0x65,0x6e,0x73,0x65,0x4b,0x65,0x79])+_0x5d9f3f,_0x5d9f3f!=_0x812e6a([0x56,0x61,0x6c,0x69,0x64])&&_0x3651fa();}function _0x528953(){const _0x56a17c=window[_0x812e6a([0x53,0x74,0x72,0x69,0x6e,0x67])](window[_0x812e6a([0x70,0x65,0x72,0x66,0x6f,0x72,0x6d,0x61,0x6e,0x63,0x65])][_0x812e6a([0x6e,0x6f,0x77])]())[_0x812e6a([0x72,0x65,0x70,0x6c,0x61,0x63,0x65])](_0x812e6a([0x2e]),'');let _0x1d133e=_0x812e6a([0x75]);for(let _0x263db4=0x0;_0x263db4<_0x56a17c[_0x812e6a([0x6c,0x65,0x6e,0x67,0x74,0x68])];_0x263db4+=0x2){let _0x578089=window[_0x812e6a([0x70,0x61,0x72,0x73,0x65,0x49,0x6e,0x74])](_0x56a17c[_0x812e6a([0x73,0x75,0x62,0x73,0x74,0x72,0x69,0x6e,0x67])](_0x263db4,_0x263db4+0x2));_0x578089>=_0x45110a[_0x812e6a([0x6c,0x65,0x6e,0x67,0x74,0x68])]&&(_0x578089-=_0x45110a[_0x812e6a([0x6c,0x65,0x6e,0x67,0x74,0x68])]),_0x1d133e+=_0x45110a[_0x578089];}return _0x1d133e;}function _0xd77530(){const _0x3c6783=_0x516a64[_0x812e6a([0x73,0x70,0x6c,0x69,0x74])](_0x812e6a([0x2e]));if(0x3!=_0x3c6783[_0x812e6a([0x6c,0x65,0x6e,0x67,0x74,0x68])])return null;return _0x1f21aa(_0x3c6783[0x1]);function _0x1f21aa(_0x3463df){const _0x1fb9cf=_0x5793ac(_0x3463df);return _0x1fb9cf&&_0x1d7969()?_0x1fb9cf:null;function _0x1d7969(){const _0x92f087=_0x1fb9cf[_0x812e6a([0x6a,0x74,0x69])],_0x1977d0=window[_0x812e6a([0x70,0x61,0x72,0x73,0x65,0x49,0x6e,0x74])](_0x92f087[_0x812e6a([0x73,0x75,0x62,0x73,0x74,0x72,0x69,0x6e,0x67])](_0x92f087[_0x812e6a([0x6c,0x65,0x6e,0x67,0x74,0x68])]-0x8),0x10),_0xb61405={..._0x1fb9cf,[_0x812e6a([0x6a,0x74,0x69])]:_0x92f087[_0x812e6a([0x73,0x75,0x62,0x73,0x74,0x72,0x69,0x6e,0x67])](0x0,_0x92f087[_0x812e6a([0x6c,0x65,0x6e,0x67,0x74,0x68])]-0x8)};return delete _0xb61405[_0x812e6a([0x76,0x63])],_0x121238(_0xb61405)==_0x1977d0;}}}async function _0x32f02d(){let _0x13dcc2=!0x0;try{const _0x595efc=_0x516a64[_0x812e6a([0x73,0x70,0x6c,0x69,0x74])](_0x812e6a([0x2e])),[_0x4dc9a9,_0x4b7d0b,_0x41b2da]=_0x595efc;return _0x1659e1(_0x4dc9a9),await _0x5ace79(_0x4dc9a9,_0x4b7d0b,_0x41b2da),_0x13dcc2;}catch{return!0x1;}function _0x1659e1(_0x12ade9){const _0x46d016=_0x5793ac(_0x12ade9);_0x46d016&&_0x46d016[_0x812e6a([0x61,0x6c,0x67])]==_0x812e6a([0x45,0x53,0x32,0x35,0x36])||(_0x13dcc2=!0x1);}async function _0x5ace79(_0x3b1492,_0x3d0964,_0x1295a0){const _0x52be13=window[_0x812e6a([0x55,0x69,0x6e,0x74,0x38,0x41,0x72,0x72,0x61,0x79])][_0x812e6a([0x66,0x72,0x6f,0x6d])](_0x2106b8(_0x1295a0),_0xf7becf=>_0xf7becf[_0x812e6a([0x63,0x68,0x61,0x72,0x43,0x6f,0x64,0x65,0x41,0x74])](0x0)),_0x5e1af2=new window[(_0x812e6a([0x54,0x65,0x78,0x74,0x45,0x6e,0x63,0x6f,0x64,0x65,0x72]))]()[_0x812e6a([0x65,0x6e,0x63,0x6f,0x64,0x65])](_0x3b1492+_0x812e6a([0x2e])+_0x3d0964),_0xeaa21e=window[_0x812e6a([0x63,0x72,0x79,0x70,0x74,0x6f])][_0x812e6a([0x73,0x75,0x62,0x74,0x6c,0x65])];if(!_0xeaa21e)return;const _0xb9694d=await _0xeaa21e[_0x812e6a([0x69,0x6d,0x70,0x6f,0x72,0x74,0x4b,0x65,0x79])](_0x812e6a([0x6a,0x77,0x6b]),_0x8b36f2,{[_0x812e6a([0x6e,0x61,0x6d,0x65])]:_0x812e6a([0x45,0x43,0x44,0x53,0x41]),[_0x812e6a([0x6e,0x61,0x6d,0x65,0x64,0x43,0x75,0x72,0x76,0x65])]:_0x812e6a([0x50,0x2d,0x32,0x35,0x36])},!0x1,[_0x812e6a([0x76,0x65,0x72,0x69,0x66,0x79])]);await _0xeaa21e[_0x812e6a([0x76,0x65,0x72,0x69,0x66,0x79])]({[_0x812e6a([0x6e,0x61,0x6d,0x65])]:_0x812e6a([0x45,0x43,0x44,0x53,0x41]),[_0x812e6a([0x68,0x61,0x73,0x68])]:{[_0x812e6a([0x6e,0x61,0x6d,0x65])]:_0x812e6a([0x53,0x48,0x41,0x2d,0x32,0x35,0x36])}},_0xb9694d,_0x52be13,_0x5e1af2)||(_0x13dcc2=!0x1);}}function _0x5793ac(_0x31f12){return _0x31f12[_0x812e6a([0x73,0x74,0x61,0x72,0x74,0x73,0x57,0x69,0x74,0x68])](_0x812e6a([0x65,0x79]))?JSON[_0x812e6a([0x70,0x61,0x72,0x73,0x65])](_0x2106b8(_0x31f12)):null;}function _0x2106b8(_0x11f88e){return window[_0x812e6a([0x61,0x74,0x6f,0x62])](_0x11f88e[_0x812e6a([0x72,0x65,0x70,0x6c,0x61,0x63,0x65])](/-/g,_0x812e6a([0x2b]))[_0x812e6a([0x72,0x65,0x70,0x6c,0x61,0x63,0x65])](/_/g,_0x812e6a([0x2f])));}function _0x121238(_0x4f32fa){let _0x164ca6=0x1505;function _0xb4c483(_0x5aec77){for(let _0x25ce38=0x0;_0x25ce38<_0x5aec77[_0x812e6a([0x6c,0x65,0x6e,0x67,0x74,0x68])];_0x25ce38++){const _0x3bbd5f=_0x5aec77[_0x812e6a([0x63,0x68,0x61,0x72,0x43,0x6f,0x64,0x65,0x41,0x74])](_0x25ce38);_0x164ca6=(_0x164ca6<<0x5)+_0x164ca6+_0x3bbd5f,_0x164ca6&=_0x164ca6;}}function _0x2e7b37(_0x46923){Array[_0x812e6a([0x69,0x73,0x41,0x72,0x72,0x61,0x79])](_0x46923)?_0x46923[_0x812e6a([0x66,0x6f,0x72,0x45,0x61,0x63,0x68])](_0x2e7b37):_0x46923&&typeof _0x46923==_0x812e6a([0x6f,0x62,0x6a,0x65,0x63,0x74])?Object[_0x812e6a([0x65,0x6e,0x74,0x72,0x69,0x65,0x73])](_0x46923)[_0x812e6a([0x73,0x6f,0x72,0x74])]()[_0x812e6a([0x66,0x6f,0x72,0x45,0x61,0x63,0x68])](([_0x3e0634,_0x553a0b])=>{_0xb4c483(_0x3e0634),_0x2e7b37(_0x553a0b);}):_0xb4c483(window[_0x812e6a([0x53,0x74,0x72,0x69,0x6e,0x67])](_0x46923));}return _0x2e7b37(_0x4f32fa),_0x164ca6>>>0x0;}function _0x3ad5e9(_0x27123f){return _0x27123f[_0x812e6a([0x74,0x6f,0x53,0x74,0x72,0x69,0x6e,0x67])](0x10)[_0x812e6a([0x70,0x61,0x64,0x53,0x74,0x61,0x72,0x74])](0x8,_0x812e6a([0x30]));}function _0x1f6b17(_0x4b01ab){return _0x4b01ab[_0x812e6a([0x73,0x70,0x6c,0x69,0x74])]('')[_0x812e6a([0x72,0x65,0x76,0x65,0x72,0x73,0x65])]()[_0x812e6a([0x6a,0x6f,0x69,0x6e])]('');}function _0x124b1d(){}function _0x812e6a(_0x2b774d){return _0x2b774d['map'](_0x276cea=>String['fromCharCode'](_0x276cea))['join']('');}_0x2e8892(await _0x5b6d28());}(this);}['_moveSelectionToFootnoteDefinition'](_0x56a776){const {plugins:_0x486079,editing:_0x15b511,model:_0x551168}=this['editor'],_0x3019f3=_0x486079['get'](f)['getFootnote'](_0x56a776);return!!_0x3019f3&&(_0x551168['change'](_0x65fa28=>{_0x65fa28['setSelection'](_0x65fa28['createPositionAt'](_0x3019f3['definition'],'end'));}),_0x15b511['view']['scrollToTheSelection'](),!0x0);}['_moveSelectionToFootnoteReference'](_0x23e304){const {plugins:_0x2d184c,editing:_0x8bf236,model:_0x4ec98f}=this['editor'],_0x5a1e13=_0x2d184c['get'](f)['getFootnote'](_0x23e304);return!!_0x5a1e13&&(_0x4ec98f['change'](_0x46e438=>{_0x46e438['setSelection'](_0x5a1e13['reference'],'on');}),_0x8bf236['view']['scrollToTheSelection'](),!0x0);}['_defineSchema'](){const {schema:_0x1fff9c}=this['editor']['model'],_0x5c68e7=this['editor']['config']['get']('footnotes.multiBlock');_0x1fff9c['register']('footnoteRef',{'inheritAllFrom':'$inlineObject','allowAttributes':['footnoteId','footnoteCounter']}),_0x1fff9c['register']('footnotesDefinitions',{'inheritAllFrom':'$blockObject','allowChildren':['footnoteDefinition']}),_0x1fff9c['register']('footnoteDefinition',{'allowAttributes':['footnoteId'],'disallowAttributes':['listItemId'],'isLimit':!0x0}),_0x5c68e7?_0x1fff9c['extend']('footnoteDefinition',{'allowContentOf':'$container'}):_0x1fff9c['register']('footnoteInlineContent',{'allowIn':'footnoteDefinition','allowContentOf':'$block','isLimit':!0x0}),_0x1fff9c['addChildCheck'](_0x5a3972=>{for(const _0xb60bef of _0x5a3972)if('footnoteDefinition'===_0xb60bef['name'])return!0x1;},'footnoteRef');}['_defineRefsConverters'](){const {editor:_0x1ebb7c}=this,{conversion:_0x35cdbf,editing:_0x3a8975}=_0x1ebb7c,{t:t}=_0x1ebb7c['locale'];_0x35cdbf['for']('upcast')['elementToElement']({'view':{'name':'sup','classes':'footnote'},'model':(_0xabd82c,{writer:_0x54bc85,consumable:_0x790473})=>{const _0xf37380=_0xabd82c['getChild'](0x0);if(!_0xf37380||!_0xf37380['is']('element','a'))return null;const _0x4b8dd5=_0xf37380['getAttribute']('href')||'';if(!_0x4b8dd5['startsWith']('#'))return null;const _0x5cb05c=_0x4b8dd5['replace'](/^#/,'');if(!_0x5cb05c)return null;_0x790473['consume'](_0xf37380,{'name':!0x0,'attributes':['href']});for(const {item:_0x1df11b}of _0x3a8975['view']['createRangeIn'](_0xf37380))_0x1df11b['is']('$textProxy')?_0x790473['consume'](_0x1df11b['textNode'],{'name':!0x0}):_0x1df11b['is']('element')&&_0x790473['consume'](_0x1df11b,{'name':!0x0});return _0x54bc85['createElement']('footnoteRef',{'footnoteId':_0x5cb05c});}}),_0x35cdbf['for']('dataDowncast')['elementToElement']({'model':{'name':'footnoteRef','attributes':['footnoteId','footnoteCounter']},'view':(_0x5017af,{writer:_0x2ff57f})=>b(_0x5017af,_0x2ff57f)}),_0x35cdbf['for']('editingDowncast')['elementToElement']({'model':{'name':'footnoteRef','attributes':['footnoteId','footnoteCounter']},'view':(_0x324d62,{writer:_0x3e8d2c})=>{const _0x9bb68a=_0x324d62['getAttribute']('footnoteCounter');return _0x35fb10(b(_0x324d62,_0x3e8d2c),_0x3e8d2c,{'label':t('Footnote\x20%0.\x20Press\x20ENTER\x20to\x20jump\x20to\x20footnote\x20definition.',_0x9bb68a)});}});}['_defineDefinitionsConverters'](){const {editor:_0x1fa899}=this,{t:t}=_0x1fa899['locale'],{conversion:_0x4c7162}=_0x1fa899;_0x4c7162['for']('upcast')['elementToElement']({'view':{'name':'div','classes':'footnotes'},'model':'footnotesDefinitions'}),_0x4c7162['for']('upcast')['add'](_0xe426ed=>{_0xe426ed['on']('element:ol',(_0x1c4503,_0x3cdae1,_0x3e32e6)=>{const _0x3ac102=_0x3cdae1['viewItem'];if(!_0x3ac102['hasClass']('footnotes-list')||!_0x3cdae1['modelCursor']['parent']?.['is']('element','footnotesDefinitions'))return;if(!_0x3e32e6['consumable']['consume'](_0x3ac102,{'name':!0x0,'classes':'footnotes-list'}))return;const {modelRange:_0x3d2977,modelCursor:_0x3844ba}=_0x3e32e6['convertChildren'](_0x3cdae1['viewItem'],_0x3cdae1['modelCursor']);_0x3cdae1['modelRange']=_0x3d2977,_0x3cdae1['modelCursor']=_0x3844ba;}),_0xe426ed['on']('element:hr',(_0x269d29,_0xeb5426,_0x3e10d8)=>{const _0xef9784=_0xeb5426['viewItem'];_0xef9784['hasClass']('footnotes-divider')&&_0xeb5426['modelCursor']['parent']?.['is']('element','footnotesDefinitions')&&_0x3e10d8['consumable']['consume'](_0xef9784,{'name':!0x0,'classes':'footnotes-divider'});});}),_0x4c7162['for']('dataDowncast')['elementToStructure']({'model':'footnotesDefinitions','view':(_0x4f8210,{writer:_0x2fd07f})=>D(_0x2fd07f)}),_0x4c7162['for']('editingDowncast')['elementToStructure']({'model':'footnotesDefinitions','view':(_0x2ecf0a,{writer:_0x42fe5f})=>{const _0x40b09b=D(_0x42fe5f,{'data-footnotes-list-label':t('Footnotes')}),_0x2e04ee=_0x35fb10(_0x40b09b,_0x42fe5f,{'hasSelectionHandle':!0x0,'label':t('Footnotes')});return _0x42fe5f['setCustomProperty']('footnotesDefinitions',!0x0,_0x2e04ee),_0x2e04ee;}});}['_defineDefinitionConverters'](){const {editor:_0x16596b}=this,{conversion:_0x36cca1,locale:_0x302302}=_0x16596b,_0x4b47fc=_0x16596b['config']['get']('footnotes.multiBlock');_0x36cca1['for']('upcast')['add'](_0x463a44=>{_0x463a44['on']('element:li',(_0x3525b8,_0x5aedfa,_0x263964)=>{const _0x2d97da=_0x5aedfa['viewItem'];if(!_0x2d97da['hasClass']('footnote-definition')||!_0x2d97da['getAttribute']('id'))return;const _0x5c9180=_0x2d97da['parent'];if(!_0x5c9180['is']('element','ol')||!_0x5c9180['hasClass']('footnotes-list'))return;if(!_0x263964['consumable']['test'](_0x2d97da,{'name':!0x0,'attributes':'id','classes':'footnote-definition'}))return;const _0xb8f9fe=_0x263964['writer']['createElement']('footnoteDefinition',{'footnoteId':_0x2d97da['getAttribute']('id')});if(!_0x263964['safeInsert'](_0xb8f9fe,_0x5aedfa['modelCursor']))return;_0x263964['consumable']['consume'](_0x2d97da,{'name':!0x0,'attributes':'id','classes':'footnote-definition'});const _0x1e2077=Array['from'](_0x2d97da['getChildren']())['find'](_0x159d30=>_0x159d30['is']('element')&&_0x159d30['hasClass']('footnote-content'));for(const _0x2254b6 of _0x2d97da['getChildren']())_0x2254b6['is']('element')&&(_0x263964['consumable']['consume'](_0x2254b6,{'name':!0x0,'classes':'footnote-backlink','attributes':'href'}),_0x263964['consumable']['consume'](_0x2254b6,{'name':!0x0,'classes':'footnote-content'}));if(_0x1e2077){if(_0x4b47fc)_0x263964['convertChildren'](_0x1e2077,_0xb8f9fe);else{const _0x5f4d76=_0x263964['writer']['createElement']('footnoteInlineContent');_0x263964['writer']['insert'](_0x5f4d76,_0xb8f9fe),_0x263964['convertChildren'](_0x1e2077,_0x5f4d76);}}_0x263964['updateConversionResult'](_0xb8f9fe,_0x5aedfa);});}),_0x36cca1['for']('dataDowncast')['elementToStructure']({'model':{'name':'footnoteDefinition','attributes':['footnoteId']},'view':(_0x2a9953,{writer:_0x1280c4})=>y(_0x2a9953,_0x1280c4,_0x302302,{'dataPipeline':!0x0})}),_0x36cca1['for']('editingDowncast')['elementToStructure']({'model':{'name':'footnoteDefinition','attributes':['footnoteId']},'view':(_0x46ba72,{writer:_0x2c4471})=>y(_0x46ba72,_0x2c4471,_0x302302)});}['_defineBogusParagraphConverters'](){const {editor:_0x134e3f}=this,{conversion:_0x48b224}=_0x134e3f;_0x134e3f['config']['get']('footnotes.multiBlock')?(_0x48b224['for']('editingDowncast')['elementToElement']({'model':'paragraph','view':p(),'converterPriority':'high'}),_0x48b224['for']('dataDowncast')['elementToElement']({'model':'paragraph','view':p({'dataPipeline':!0x0}),'converterPriority':'high'}),this['listenTo'](_0x134e3f['model']['document'],'change:data',()=>{!function(_0x1f879f,_0x3fc1b9){const _0x4bfc74=_0x1f879f['document']['differ'],_0x4c852a=new Set();for(const _0x351fdc of _0x4bfc74['getChanges']()){const _0x82f20a='attribute'==_0x351fdc['type']?_0x351fdc['range']['start']['parent']:_0x351fdc['position']['parent'];_0x82f20a['is']('element','footnoteDefinition')&&_0x4c852a['add'](_0x82f20a);}for(const _0x16dc34 of _0x4c852a['values']()){const _0x101c28=Array['from'](_0x16dc34['getChildren']())['filter'](_0x21765f=>v(_0x21765f,_0x3fc1b9['mapper']));for(const _0x3f4662 of _0x101c28)_0x3fc1b9['reconvertItem'](_0x3f4662);}}(_0x134e3f['model'],_0x134e3f['editing']);})):(_0x48b224['for']('editingDowncast')['elementToElement']({'model':'footnoteInlineContent','view':p()}),_0x48b224['for']('dataDowncast')['elementToElement']({'model':'footnoteInlineContent','view':(_0x392adf,{writer:_0x160bba})=>{const _0x36eeb9=_0x160bba['createContainerElement']('span');return _0x160bba['setCustomProperty']('dataPipeline:transparentRendering',!0x0,_0x36eeb9),_0x36eeb9;}}));}['_defineKeyboardHandlers'](){const {editor:_0x199fd9}=this,{editing:_0x3b46eb,t:t}=_0x199fd9,_0x3a804b=_0x199fd9['model']['document']['selection'];_0x199fd9['keystrokes']['set']('Ctrl+Alt+F','insertFootnote'),_0x199fd9['accessibility']['addKeystrokeInfos']({'keystrokes':[{'label':t('Insert\x20footnote'),'keystroke':'Ctrl+Alt+F'}]}),this['listenTo'](_0x3b46eb['view']['document'],'enter',(_0x193ea1,_0x59fa8e)=>{const _0x4d285e=function(_0x492db3){const _0x47e288=_0x492db3['getSelectedElement']();if(_0x47e288?.['is']('element','footnoteRef'))return _0x47e288;return null;}(_0x3a804b);if(_0x4d285e){const _0x4c4f87=_0x4d285e['getAttribute']('footnoteId');this['_moveSelectionToFootnoteDefinition'](_0x4c4f87),_0x59fa8e['preventDefault'](),_0x193ea1['stop']();}},{'context':_0x430f0b});}['_defineClickHandlers'](){const {editor:_0x29ea82}=this,{editing:_0x35b050}=_0x29ea82;_0x29ea82['editing']['view']['addObserver'](_0x118744),_0x29ea82['editing']['view']['addObserver'](_0x5757f2);let _0x1bfc3a=!0x1;this['listenTo'](_0x35b050['view']['document'],'pointerdown',(_0xd8996f,_0x518061)=>{const {target:_0x35ccd9}=_0x518061,_0x25388a=_0x35b050['view']['document']['selection'];_0x1bfc3a=!!(_0x35ccd9?.['is']('element','a')&&_0x35ccd9['parent']?.['is']('element','sup')&&_0x35ccd9['parent']['hasClass']('footnote'))&&_0x25388a['getSelectedElement']()===_0x35ccd9['parent'];},{'priority':'high'}),this['listenTo'](_0x35b050['view']['document'],'click',(_0x2a71fd,_0x27ba95)=>{const {target:_0x4a8f24}=_0x27ba95;if(!_0x4a8f24?.['is']('element','a'))return;if(_0x4a8f24['parent']?.['is']('element','sup')&&_0x4a8f24['parent']['hasClass']('footnote')&&!_0x1bfc3a)return void _0x27ba95['preventDefault']();let _0x32b9df=_0x4a8f24['getAttribute']('href');if(!_0x32b9df?.['startsWith']('#'))return;_0x32b9df=_0x32b9df['slice'](0x1);let _0x1f9c93=!0x1;(_0x32b9df['startsWith']('ref-')&&this['_moveSelectionToFootnoteReference'](_0x32b9df['slice'](0x4))||this['_moveSelectionToFootnoteDefinition'](_0x32b9df))&&(_0x1f9c93=!0x0),_0x1f9c93&&(_0x27ba95['preventDefault'](),_0x2a71fd['stop']());},{'priority':'high','context':'$capture'});}}function p({dataPipeline:_0x5dd4e9}={}){return(_0x18be68,{writer:_0x2ceca8})=>{if(!g(_0x18be68))return null;if(!_0x5dd4e9)return _0x2ceca8['createContainerElement']('span',{'class':'ck-footnote-bogus-paragraph'});const _0x47f28a=_0x2ceca8['createContainerElement']('p');return _0x2ceca8['setCustomProperty']('dataPipeline:transparentRendering',!0x0,_0x47f28a),_0x47f28a;};}function g(_0x4225c7){const {parent:_0x21e79e}=_0x4225c7;if(!_0x21e79e?.['is']('element','footnoteDefinition'))return!0x1;if(0x1!=_0x21e79e['childCount'])return!0x1;for(const _0x23828d of _0x4225c7['getAttributeKeys']())if(!_0x23828d['startsWith']('selection:')&&'htmlEmptyBlock'!=_0x23828d)return!0x1;return!0x0;}function v(_0x4808b9,_0x4002d1){if(!_0x4808b9['is']('element','paragraph'))return!0x1;const _0x4b5f76=_0x4002d1['toViewElement'](_0x4808b9);return!!_0x4b5f76&&g(_0x4808b9)!==_0x4b5f76['is']('element','span');}function Q(_0x50b047){return _0x430f0b(_0x50b047)&&_0x50b047['is']('containerElement')&&!!_0x50b047['getCustomProperty']('footnotesDefinitions');}function D(_0x36c9a5,_0x359fba={}){const _0x2e94e1=_0x36c9a5['createEmptyElement']('hr',{'class':'footnotes-divider'}),_0x41e160=_0x36c9a5['createContainerElement']('ol',{'class':'footnotes-list'},_0x36c9a5['createSlot']());return _0x36c9a5['createContainerElement']('div',{'class':'footnotes',..._0x359fba},[_0x2e94e1,_0x41e160]);}function b(_0x3ad3ea,_0x5eb115){const _0x482419=_0x3ad3ea['getAttribute']('footnoteId'),_0x1c2650=_0x3ad3ea['getAttribute']('footnoteCounter'),_0x350393=_0x5eb115['createUIElement']('a',{'href':'#'+_0x482419},function(_0x4f16dd){const _0x52eccd=this['toDomElement'](_0x4f16dd);return _0x52eccd['textContent']=_0x1c2650,_0x52eccd;}),_0x26c083=_0x5eb115['createContainerElement']('sup',{'id':'ref-'+_0x482419,'class':'footnote'},[_0x350393]);return _0x26c083['getFillerOffset']=()=>null,_0x26c083;}function y(_0x59894e,_0x684d12,_0x23782e,{dataPipeline:_0x4cadc4}={}){const {t:t}=_0x23782e,_0x137b6e=_0x59894e['getAttribute']('footnoteId'),_0x24d893=_0x684d12['createUIElement']('a',{'class':'footnote-backlink','href':'#ref-'+_0x137b6e},function(_0x2cfbe8){const _0x319f8c=this['toDomElement'](_0x2cfbe8);return _0x319f8c['innerText']='^',_0x319f8c;}),_0x410765=_0x4cadc4?_0x684d12['createContainerElement']('div',{'class':'footnote-content'}):_0x4847bd(_0x684d12['createEditableElement']('div',{'class':'footnote-content'}),_0x684d12,{'label':t('Footnote\x20content.')});return _0x684d12['insert'](_0x684d12['createPositionAt'](_0x410765,0x0),_0x684d12['createSlot']()),_0x684d12['createContainerElement']('li',{'class':'footnote-definition','id':_0x137b6e},[_0x24d893,_0x410765]);}class e extends _0x317c7b{static get['pluginName'](){return'FootnotesClipboard';}static get['requires'](){return[r,_0x3dc1df];}static get['isOfficialPlugin'](){return!0x0;}static get['isPremiumPlugin'](){return!0x0;}['init'](){this['_defineClipboardIntegration']();}['_defineClipboardIntegration'](){this['_handleCopyFootnotesDefinitions'](),this['_handlePasteFootnotesDefinitions']();}['_handleCopyFootnotesDefinitions'](){const {editor:_0x1a8eb5}=this,{plugins:_0x53d8c9,model:_0x1efbe2}=_0x1a8eb5,_0x408364=_0x53d8c9['get'](_0x3dc1df),_0x104844=_0x53d8c9['get'](f);this['listenTo'](_0x408364,'outputTransformation',(_0x25f3d1,_0xbdc458)=>{const _0x35453b=l(_0x1efbe2['createRangeIn'](_0xbdc458['content']));if(!_0x35453b['length'])return;const _0x53a379=_0x104844['getFootnotes'](),_0xf4b8c1=_0x35453b['reduce']((_0x5f5c14,_0x5680d2)=>{const _0x297fa0=_0x53a379['find'](_0x147c6e=>_0x147c6e['id']===_0x5680d2);if(_0x297fa0){const _0x20cbb3=_0x1a8eb5['data']['toView'](_0x297fa0['definition'],{'isClipboardPipeline':!0x0}),_0x362a6c=_0x1a8eb5['data']['htmlProcessor']['toData'](_0x20cbb3);_0x5f5c14[_0x297fa0['id']]=_0x362a6c;}return _0x5f5c14;},Object['create'](null));_0xbdc458['dataTransfer']['setData']('application/ckeditor5-footnotes',JSON['stringify'](_0xf4b8c1));});}['_handlePasteFootnotesDefinitions'](){const {editor:_0x2dda62}=this,{model:_0x2dd66f,plugins:_0x3cc2ba}=_0x2dda62,{view:_0x13ecfe}=_0x2dda62['editing'],_0x2d4618=_0x3cc2ba['get'](_0x3dc1df),_0xfd2a0e=_0x3cc2ba['get'](f),_0x1258c1=_0x2dda62['config']['get']('footnotes.multiBlock');let _0x2b0450=null;this['listenTo'](_0x13ecfe['document'],'clipboardInput',(_0x3bb419,_0x4dc8ec)=>{const _0x404fc2=_0x4dc8ec['dataTransfer']['getData']('application/ckeditor5-footnotes');_0x2b0450=_0x404fc2?JSON['parse'](_0x404fc2):null;}),this['listenTo'](_0x2d4618,'contentInsertion',(_0x2c9994,_0xb0b104)=>{const _0x6cf4df=_0xb0b104['sourceEditorId']===this['editor']['id'];_0x6cf4df&&'drop'===_0xb0b104['method']||_0x2dd66f['change'](_0xd9de4a=>{let _0x10be2d=_0xfd2a0e['getFootnotesDefinitionsObjectElement']();const _0x13e6f7=!!_0x10be2d&&Array['from'](_0x2dd66f['document']['selection']['getSelectedBlocks']())['includes'](_0x10be2d);if(!_0x2b0450&&function(_0x2189da){for(const {item:_0x19b511}of _0x2189da)if(_0x19b511['is']('element','footnoteRef'))return!0x0;return!0x1;}(_0x2dd66f['createRangeIn'](_0xb0b104['content']))&&(_0x2b0450=function(_0xed1520,_0x1fc1da){const _0x2d6c19=c(_0xed1520,_0x1fc1da);if(!_0x2d6c19)return null;const _0x4c83e0=Object['create'](null);for(const _0x485988 of _0x2d6c19['getChildren']())_0x485988['is']('element','footnoteDefinition')&&_0x485988['hasAttribute']('footnoteId')&&(_0x4c83e0[_0x485988['getAttribute']('footnoteId')]=_0xed1520['cloneElement'](_0x485988,!0x0));return Object['keys'](_0x4c83e0)['length']?_0x4c83e0:null;}(_0xd9de4a,_0xb0b104['content'])),(_0x10be2d&&!_0x13e6f7||!_0x10be2d&&!_0x2b0450)&&function(_0x1dd849,_0x8bb100){const _0x2224b3=[];for(const {item:_0xf2a365}of _0x1dd849['createRangeIn'](_0x8bb100))_0xf2a365['is']('element','footnotesDefinitions')&&_0x2224b3['push'](_0xf2a365);for(const _0x2cdc49 of _0x2224b3)_0x1dd849['remove'](_0x2cdc49);}(_0xd9de4a,_0xb0b104['content']),!_0x2b0450)return;const {selection:_0x2c8a47}=_0x2dd66f['document'],_0x5696ac=_0x2c8a47['getFirstRange']()['root'];_0x10be2d&&!_0x13e6f7||(_0x10be2d=c(_0xd9de4a,_0xb0b104['content']),_0x10be2d||=_0xfd2a0e['_insertEmptyFootnotesDefinitionsContainer'](_0xd9de4a,_0x5696ac));const _0x4f264f=Array['from'](_0x2c8a47['getRanges']())['flatMap'](l),_0x50a26d=function(_0x2d2b50,_0xcfdbc8,_0x3a9bd0){const _0x381cf3=Object['create'](null);for(const {item:_0x58f8fd}of _0x2d2b50['createRangeIn'](_0xcfdbc8))if(_0x58f8fd['is']('element','footnoteRef')){const _0x407091=_0x58f8fd['getAttribute']('footnoteId');if(!_0x3a9bd0(_0x407091))continue;_0x381cf3[_0x407091]||(_0x381cf3[_0x407091]=_0x44b4b1()),_0x2d2b50['setAttribute']('footnoteId',_0x381cf3[_0x407091],_0x58f8fd);}return _0x381cf3;}(_0xd9de4a,_0xb0b104['content'],_0x3579a6=>{if(!_0x6cf4df)return!0x0;return!!_0xfd2a0e['getFootnote'](_0x3579a6)&&!_0x4f264f['includes'](_0x3579a6);});for(const [_0x413f4e,_0x30cfaa]of Object['entries'](_0x2b0450)){const _0x3d885b=_0x50a26d[_0x413f4e]||_0x413f4e;let _0x51e923;if('string'!=typeof _0x30cfaa)_0x51e923=_0x30cfaa,_0x3d885b!==_0x413f4e&&_0xd9de4a['setAttribute']('footnoteId',_0x3d885b,_0x51e923);else{_0x51e923=_0xd9de4a['createElement']('footnoteDefinition',{'footnoteId':_0x3d885b});const _0x2b3663=_0x2dda62['data']['htmlProcessor']['toView'](_0x30cfaa);let _0x5dfe3e;if(_0x1258c1)_0x5dfe3e=_0x2dda62['data']['toModel'](_0x2b3663,_0x51e923);else{_0x5dfe3e=_0xd9de4a['createElement']('footnoteInlineContent');const _0x1bbfaf=_0x2dda62['data']['toModel'](_0x2b3663,_0x5dfe3e);_0xd9de4a['insert'](_0x1bbfaf,_0x5dfe3e);}_0xd9de4a['append'](_0x5dfe3e,_0x51e923);}_0xd9de4a['insert'](_0x51e923,_0x10be2d,'end');}_0x2b0450=null;});});}}function c(_0x175453,_0x211232){for(const {item:_0x46a1c7}of _0x175453['createRangeIn'](_0x211232))if(_0x46a1c7['is']('element','footnotesDefinitions'))return _0x46a1c7;return null;}function l(_0x1075cb){const _0x47cd14=new Set();for(const {item:_0x4ec1dc}of _0x1075cb)_0x4ec1dc['is']('element','footnoteRef')&&_0x47cd14['add'](_0x4ec1dc['getAttribute']('footnoteId'));return Array['from'](_0x47cd14);}class i extends _0x317c7b{['licenseKey'];['_licenseKeyCheckInterval'];static get['pluginName'](){return'FootnotesUI';}static get['isOfficialPlugin'](){return!0x0;}static get['isPremiumPlugin'](){return!0x0;}['init'](){const {editor:_0x3304fd}=this,{componentFactory:_0xee6f82}=_0x3304fd['ui'];_0xee6f82['add']('insertFootnote',E(_0x3304fd,_0x340aa5)),_0xee6f82['add']('menuBar:insertFootnote',E(_0x3304fd,_0x330ae5)),this['licenseKey']=this['editor']['config']['get']('licenseKey');const _0x19a361=this['editor'];this['_licenseKeyCheckInterval']=setInterval(()=>{let _0x5e46ae;for(const _0x2e118d in _0x19a361){const _0x42a1d3=_0x2e118d,_0x348885=_0x19a361[_0x42a1d3];if('footnotesLicenseKeyValid'==_0x348885||'footnotesLicenseKeyInvalid'==_0x348885||'footnotesLicenseKeyExpired'==_0x348885||'footnotesLicenseKeyDomainLimit'==_0x348885||'footnotesLicenseKeyNotAllowed'==_0x348885||'footnotesLicenseKeyEvaluationLimit'==_0x348885||'footnotesLicenseKeyUsageLimit'==_0x348885){delete _0x19a361[_0x42a1d3],_0x5e46ae=_0x348885,clearInterval(this['_licenseKeyCheckInterval']),this['_licenseKeyCheckInterval']=void 0x0;break;}}'footnotesLicenseKeyInvalid'==_0x5e46ae&&_0x19a361['_showLicenseError']('invalid'),'footnotesLicenseKeyExpired'==_0x5e46ae&&_0x19a361['_showLicenseError']('expired'),'footnotesLicenseKeyDomainLimit'==_0x5e46ae&&_0x19a361['_showLicenseError']('domainLimit'),'footnotesLicenseKeyNotAllowed'==_0x5e46ae&&_0x19a361['_showLicenseError']('featureNotAllowed','Footnotes'),'footnotesLicenseKeyEvaluationLimit'==_0x5e46ae&&_0x19a361['_showLicenseError']('evaluationLimit'),'footnotesLicenseKeyUsageLimit'==_0x5e46ae&&_0x19a361['_showLicenseError']('usageLimit');},0x3e8);}['destroy'](){super['destroy'](),this['_licenseKeyCheckInterval']&&clearInterval(this['_licenseKeyCheckInterval']);}}function E(_0x4a0090,_0x3132ca){const _0x7b46ee=_0x4a0090['commands']['get']('insertFootnote');return _0x2b6336=>{const {t:t}=_0x2b6336,_0x41b118=new _0x3132ca(_0x2b6336),_0x1eaa36=_0x41b118 instanceof _0x330ae5;return _0x41b118['bind']('isEnabled')['to'](_0x7b46ee,'isEnabled'),_0x41b118['set']({'label':t(_0x1eaa36?'Footnote':'Insert\x20footnote'),'icon':_0x2bedc6,'tooltip':!0x0}),_0x41b118['on']('execute',()=>{_0x7b46ee['execute'](),_0x4a0090['editing']['view']['focus']();}),_0x41b118;};}class lt extends _0x317c7b{static get['pluginName'](){return'Footnotes';}static get['requires'](){return[r,e,i];}static get['isOfficialPlugin'](){return!0x0;}static get['isPremiumPlugin'](){return!0x0;}}const W=['decimal','decimal-leading-zero','lower-latin','upper-latin','lower-alpha','upper-alpha','lower-roman','upper-roman'];class S extends _0x4dcf80{['refresh'](){const {editor:_0x4921d9}=this,_0x1d4e8e=_0x4921d9['plugins']['get'](f)['getFootnotesDefinitionsObjectElement']();this['isEnabled']=!!_0x1d4e8e,this['value']=_0x1d4e8e?.['getAttribute']('footnotesListStyle')??null;}['execute']({value:_0x955b6}){const {editor:_0xf4a02c}=this,_0x281389=_0xf4a02c['plugins']['get'](f),_0x2cca35=_0x281389['getFootnotesDefinitionsObjectElement']();_0x2cca35&&W['includes'](_0x955b6)&&_0xf4a02c['model']['change'](_0x49e346=>{_0x49e346['setAttribute']('footnotesListStyle',_0x955b6,_0x2cca35),_0x281389['_updateFootnotesCounters'](_0x49e346);});}}class C extends _0x4dcf80{['refresh'](){const {editor:_0x48cb00}=this,_0x3a5595=_0x48cb00['plugins']['get'](f)['getFootnotesDefinitionsObjectElement']();this['isEnabled']=!!_0x3a5595,this['value']=_0x3a5595?.['getAttribute']('footnotesListStart')??null;}['execute']({value:_0x38f0bc}){const {editor:_0x1db1f7}=this,_0x305284=_0x1db1f7['plugins']['get'](f),_0x5c8bf6=_0x305284['getFootnotesDefinitionsObjectElement']();_0x5c8bf6&&Number['isInteger'](_0x38f0bc)&&_0x1db1f7['model']['change'](_0x557990=>{_0x557990['setAttribute']('footnotesListStart',_0x38f0bc,_0x5c8bf6),_0x305284['_updateFootnotesCounters'](_0x557990);});}}class P extends _0x317c7b{static get['pluginName'](){return'FootnotesPropertiesEditing';}static get['requires'](){return[r,f];}static get['isOfficialPlugin'](){return!0x0;}static get['isPremiumPlugin'](){return!0x0;}['init'](){const {editor:_0x4182ba}=this;_0x4182ba['config']['define']('footnotes.footnotesProperties.defaultListStyle','decimal'),_0x4182ba['config']['define']('footnotes.footnotesProperties.defaultStartIndex',0x1),_0x4182ba['commands']['add']('footnotesStyle',new S(_0x4182ba)),_0x4182ba['commands']['add']('footnotesStart',new C(_0x4182ba)),this['_defineSchema'](),this['_defineConverters'](),this['_defineFormatter'](),this['_definePostfixer']();}['_defineSchema'](){const {editor:_0x2c6055}=this,{schema:_0x222a34}=_0x2c6055['model'];_0x222a34['extend']('footnotesDefinitions',{'allowAttributes':['footnotesListStyle','footnotesListStart']});}['_defineConverters'](){const {editor:_0xf60d8a}=this,{conversion:_0x256c1b,model:_0x107334}=_0xf60d8a,{schema:_0x3b5aa4}=_0x107334;_0x256c1b['for']('upcast')['add'](_0x12f7e1=>{_0x12f7e1['on']('element:ol',(_0x2019d8,_0x3516c3,_0x431999)=>{const _0x3c85b4=_0x3516c3['viewItem'],_0xf7b0b3=_0x3516c3['modelCursor']?.['parent'];_0x3c85b4['hasClass']('footnotes-list')&&_0xf7b0b3?.['is']('element','footnotesDefinitions')&&(function(_0x4a9534,_0x461e05,_0x52fc01,_0x4f0a9c){if(!_0x4f0a9c['checkAttribute'](_0x461e05,'footnotesListStart'))return;let _0xa8007c=0x1;const _0x402a8f=_0x52fc01['consumable']['consume'](_0x4a9534,{'attributes':'start'});if(_0x402a8f){const _0x2791e3=Number['parseInt'](_0x4a9534['getAttribute']('start'),0xa);Number['isNaN'](_0x2791e3)||(_0xa8007c=_0x2791e3);}!_0x402a8f&&_0x461e05['hasAttribute']('footnotesListStart')||_0x52fc01['writer']['setAttribute']('footnotesListStart',_0xa8007c,_0x461e05);}(_0x3c85b4,_0xf7b0b3,_0x431999,_0x3b5aa4),function(_0x559deb,_0x267870,_0x36cb39,_0x1152a7){if(!_0x1152a7['checkAttribute'](_0x267870,'footnotesListStyle'))return;let _0x40611c='decimal',_0x4bdb05=!0x1;if(_0x36cb39['consumable']['consume'](_0x559deb,{'attributes':'type'})){const _0x547da7={0x1:'decimal','a':'lower-alpha','A':'upper-alpha','i':'lower-roman','I':'upper-roman'}[_0x559deb['getAttribute']('type')];_0x547da7&&(_0x40611c=_0x547da7),_0x4bdb05=!0x0;}_0x36cb39['consumable']['consume'](_0x559deb,{'styles':'list-style-type'})&&(_0x40611c=function(_0x29c6c0){switch(_0x29c6c0){case'lower-alpha':return'lower-latin';case'upper-alpha':return'upper-latin';default:return _0x29c6c0;}}(_0x559deb['getStyle']('list-style-type')),_0x4bdb05=!0x0),!_0x4bdb05&&_0x267870['hasAttribute']('footnotesListStyle')||_0x36cb39['writer']['setAttribute']('footnotesListStyle',_0x40611c,_0x267870);}(_0x3c85b4,_0xf7b0b3,_0x431999,_0x3b5aa4));});}),_0x256c1b['for']('downcast')['add'](_0x39467e=>{_0x39467e['on']('attribute:footnotesListStart:footnotesDefinitions',(_0x13a57a,_0x741aab,_0x96519d)=>{if(!_0x96519d['consumable']['consume'](_0x741aab['item'],_0x13a57a['name']))return;const _0x54c15e=M(_0x741aab['item'],_0x96519d['mapper']),{attributeNewValue:_0x1e1763}=_0x741aab;null==_0x1e1763||0x1===_0x1e1763?_0x96519d['writer']['removeAttribute']('start',_0x54c15e):_0x96519d['writer']['setAttribute']('start',String(_0x1e1763),_0x54c15e);}),_0x39467e['on']('attribute:footnotesListStyle:footnotesDefinitions',(_0x40d740,_0xa63638,_0x45768d)=>{if(!_0x45768d['consumable']['consume'](_0xa63638['item'],_0x40d740['name']))return;const _0x6db773=M(_0xa63638['item'],_0x45768d['mapper']),{attributeNewValue:_0x1b5dae}=_0xa63638;_0x1b5dae&&'decimal'!==_0x1b5dae?_0x45768d['writer']['setStyle']('list-style-type',_0x1b5dae,_0x6db773):_0x45768d['writer']['removeStyle']('list-style-type',_0x6db773);});});}['_definePostfixer'](){const {editor:_0x56a099}=this,{model:_0x550515}=_0x56a099,_0x59eb28=_0x56a099['plugins']['get'](f),_0x5af8b3=this['_getDefaultListStyle'](),_0x9a9a3d=this['_getDefaultStartIndex']();_0x550515['document']['registerPostFixer'](_0x226c25=>{const _0x34ac03=_0x550515['document']['differ']['getChanges']();let _0x5759cf=!0x1;for(const _0x573610 of _0x34ac03){if('insert'!==_0x573610['type']||'$text'===_0x573610['name'])continue;const _0x5789b9=_0x550515['createRangeOn'](_0x573610['position']['nodeAfter']);for(const _0x2b0408 of _0x5789b9['getItems']())_0x2b0408['is']('element','footnotesDefinitions')&&(!_0x2b0408['hasAttribute']('footnotesListStart')&&_0x550515['schema']['checkAttribute'](_0x2b0408,'footnotesListStart')&&(_0x226c25['setAttribute']('footnotesListStart',_0x9a9a3d,_0x2b0408),_0x5759cf=!0x0),!_0x2b0408['hasAttribute']('footnotesListStyle')&&_0x550515['schema']['checkAttribute'](_0x2b0408,'footnotesListStyle')&&(_0x226c25['setAttribute']('footnotesListStyle',_0x5af8b3,_0x2b0408),_0x5759cf=!0x0));}return _0x5759cf&&_0x59eb28['_updateFootnotesCounters'](_0x226c25),_0x5759cf;});}['_defineFormatter'](){const {editor:_0x54957e}=this;_0x54957e['plugins']['get'](f)['setFootnoteFormatter'](_0x2adc81=>this['_formatFootnoteListValue'](_0x2adc81));}['_getDefaultListStyle'](){return this['editor']['config']['get']('footnotes.footnotesProperties.defaultListStyle');}['_getDefaultStartIndex'](){return this['editor']['config']['get']('footnotes.footnotesProperties.defaultStartIndex');}['_formatFootnoteListValue']({container:_0x4dfb8c,value:_0x2c309e,digits:_0x1e451b}){const _0x2159ff=_0x4dfb8c['getAttribute']('footnotesListStyle'),_0x1abd1b=_0x4dfb8c['getAttribute']('footnotesListStart'),_0x6334ec=Math['floor'](_0x2c309e)+(_0x1abd1b??0x1)-0x1;switch(_0x2159ff){case'decimal-leading-zero':return function(_0x13de85,_0x72689d){return String(_0x13de85)['padStart'](_0x72689d,'0');}(_0x6334ec,Math['max'](0x2,_0x1e451b));case'lower-alpha':case'lower-latin':return N(_0x6334ec,!0x1);case'upper-alpha':case'upper-latin':return N(_0x6334ec,!0x0);case'lower-roman':return X(_0x6334ec,!0x1);case'upper-roman':return X(_0x6334ec,!0x0);default:return String(_0x6334ec);}}}function M(_0x3f9ee9,_0x26b54d){const _0xb51261=_0x26b54d['toViewElement'](_0x3f9ee9);return Array['from'](_0xb51261['getChildren']())['find'](_0x4ac1b8=>_0x4ac1b8['is']('element','ol')&&_0x4ac1b8['hasClass']('footnotes-list'));}function N(_0x1759c3,_0x363f08){let _0x1d4914='',_0x27b6df=_0x1759c3;for(;_0x27b6df>0x0;){const _0x21488c=(_0x27b6df-0x1)%0x1a;_0x1d4914=String['fromCharCode'](0x61+_0x21488c)+_0x1d4914,_0x27b6df=Math['floor']((_0x27b6df-0x1)/0x1a);}return _0x363f08?_0x1d4914['toUpperCase']():_0x1d4914;}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(_0xf00938,_0x4d89c4){let _0x1b242b='',_0x539c11=_0xf00938;for(const {value:_0x39e8fc,numeral:_0x52321f}of V)for(;_0x539c11>=_0x39e8fc;)_0x1b242b+=_0x52321f,_0x539c11-=_0x39e8fc;return _0x4d89c4?_0x1b242b:_0x1b242b['toLowerCase']();}class J extends _0x4478f6{['children'];['stylesView']=null;['additionalProperties']=null;['startIndexFieldView']=null;['focusTracker']=new rt();['keystrokes']=new nt();['focusables']=new _0x1ea6eb();['focusCycler'];constructor(_0x3d5cc7,{styleButtonViews:_0x3c692e,styleGridAriaLabel:_0x24d43c}){super(_0x3d5cc7),(this['focusCycler']=new tt({'focusables':this['focusables'],'focusTracker':this['focusTracker'],'keystrokeHandler':this['keystrokes'],'actions':{'focusPrevious':'shift\x20+\x20tab','focusNext':'tab'}}),this['children']=this['createCollection'](),this['stylesView']=this['_appendStylesView'](_0x3c692e,_0x24d43c),[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 _0x19c00d of this['stylesView']['children'])this['stylesView']['focusTracker']['add'](_0x19c00d['element']);st({'keystrokeHandler':this['stylesView']['keystrokes'],'focusTracker':this['stylesView']['focusTracker'],'gridItems':this['stylesView']['children'],'numberOfColumns':()=>at['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 _0x4e8242=_0x384ec9=>_0x384ec9['stopPropagation']();this['keystrokes']['set']('arrowright',_0x4e8242),this['keystrokes']['set']('arrowleft',_0x4e8242),this['keystrokes']['set']('arrowup',_0x4e8242),this['keystrokes']['set']('arrowdown',_0x4e8242);}this['keystrokes']['listenTo'](this['element']);}['focus'](){this['focusCycler']['focusFirst']();}['focusLast'](){this['focusCycler']['focusLast']();}['destroy'](){super['destroy'](),this['focusTracker']['destroy'](),this['keystrokes']['destroy']();}['_appendStylesView'](_0x465e15,_0x1e318e){const _0xf66eea=new _0x4478f6(this['locale']);return _0xf66eea['children']=_0xf66eea['createCollection'](),_0xf66eea['children']['addMany'](_0x465e15),_0xf66eea['setTemplate']({'tag':'div','attributes':{'aria-label':_0x1e318e,'class':['ck','ck-footnotes-definitions-styles-list']},'children':_0xf66eea['children']}),_0xf66eea['children']['delegate']('execute')['to'](this),_0xf66eea['focus']=function(){for(const _0x4155d7 of this['children'])if(_0x4155d7 instanceof _0x340aa5&&_0x4155d7['isOn'])return void _0x4155d7['focus']();this['children']['first']['focus']();},_0xf66eea['focusTracker']=new rt(),_0xf66eea['keystrokes']=new nt(),_0xf66eea['render'](),_0xf66eea['keystrokes']['listenTo'](_0xf66eea['element']),this['children']['add'](_0xf66eea),_0xf66eea;}['_appendAdditionalPropertiesCollapsibleView'](){const {t:t}=this['locale'],_0x259367=this['_createStartIndexPropertyView'](),_0x50d499=[_0x259367],_0x27f06f=new it(this['locale'],_0x50d499);return _0x27f06f['set']({'label':t('Footnotes\x20properties'),'isCollapsed':!0x0}),_0x27f06f['buttonView']['bind']('isEnabled')['toMany'](_0x50d499,'isEnabled',(..._0x413b66)=>_0x413b66['some'](_0xd2de4f=>_0xd2de4f)),_0x27f06f['buttonView']['on']('change:isEnabled',(_0x2645f2,_0x55284f,_0x352886)=>{_0x352886||(_0x27f06f['isCollapsed']=!0x0);}),this['children']['add'](_0x27f06f),[_0x259367,_0x27f06f];}['_createStartIndexPropertyView'](){const {t:t}=this['locale'],_0x14432a=new et(this['locale'],ot);return _0x14432a['set']({'label':t('Footnotes\x20start\x20at'),'class':'ck-footnotes-definitions-properties__start-index'}),_0x14432a['fieldView']['set']({'min':0x0,'max':Math['pow'](0x2,0x1e),'step':0x1,'value':0x1,'inputMode':'numeric'}),_0x14432a['fieldView']['on']('input',()=>{const _0x3af97c=_0x14432a['fieldView']['element'],_0x195486=_0x3af97c['valueAsNumber'];Number['isNaN'](_0x195486)?_0x14432a['errorText']=t('Invalid\x20footnotes\x20start\x20index\x20value.'):_0x3af97c['checkValidity']()?this['fire']('footnotesListStart',{'startIndex':_0x195486}):_0x14432a['errorText']=t(_0x195486<0x0?'Footnotes\x20start\x20index\x20must\x20be\x20greater\x20than\x200.':'Footnotes\x20start\x20index\x20is\x20too\x20large.');}),_0x14432a;}}class j extends _0x317c7b{static get['pluginName'](){return'FootnotesPropertiesUI';}static get['requires'](){return[_0x4bf9d0,_0x2d8651];}static get['isOfficialPlugin'](){return!0x0;}static get['isPremiumPlugin'](){return!0x0;}['init'](){const {editor:_0xcaa37b}=this,{componentFactory:_0x1df157}=_0xcaa37b['ui'];_0xcaa37b['config']['define']('footnotes.footnotesProperties.toolbar',['footnotesStyle']),_0x1df157['add']('footnotesStyle',function(_0x2434e1){return _0x5b38e3=>{const {t:t}=_0x5b38e3,_0x2d42e2=_0x2434e1['commands']['get']('footnotesStyle'),_0x1aa40d=_0xc6e8a5(_0x5b38e3),{buttonView:_0x203b74}=_0x1aa40d;return _0x1aa40d['class']='ck-footnotes-styles-dropdown',_0x1aa40d['bind']('isEnabled')['to'](_0x2d42e2,'isEnabled'),_0x203b74['set']({'label':t('Footnotes\x20style'),'icon':_0x2bedc6,'tooltip':!0x0}),_0x1aa40d['once']('change:isOpen',()=>{const _0x4e71b8=function({editor:_0x18c47e,dropdownView:_0x4ffc00}){const {t:t}=_0x18c47e['locale'],_0x869947=t('Footnotes\x20definitions\x20styles'),_0x5ae164=function(_0x6ca07f){const t=_0x6ca07f['locale']['t'],_0x44d726=[{'label':t('Toggle\x20the\x20decimal\x20footnotes\x20style'),'tooltip':t('Decimal\x20footnotes'),'style':'decimal','icon':_0x133f39},{'label':t('Toggle\x20the\x20decimal\x20with\x20leading\x20zero\x20footnotes\x20style'),'tooltip':t('Decimal\x20footnotes\x20with\x20leading\x20zero'),'style':'decimal-leading-zero','icon':_0x1015f6},{'label':t('Toggle\x20the\x20lower–roman\x20footnotes\x20style'),'tooltip':t('Lower–roman\x20footnotes'),'style':'lower-roman','icon':_0x3942f5},{'label':t('Toggle\x20the\x20upper–roman\x20footnotes\x20style'),'tooltip':t('Upper-roman\x20footnotes'),'style':'upper-roman','icon':_0x534c42},{'label':t('Toggle\x20the\x20lower–latin\x20footnotes\x20style'),'tooltip':t('Lower-latin\x20footnotes'),'style':'lower-latin','icon':_0x3ab491},{'label':t('Toggle\x20the\x20upper–latin\x20footnotes\x20style'),'tooltip':t('Upper-latin\x20footnotes'),'style':'upper-latin','icon':_0x58f7ea}];return _0x44d726['map'](function(_0x367b44){const _0x250f21=_0x367b44['locale'];return({label:_0x49d396,icon:_0x102483,tooltip:_0x36dd91,style:_0x40a2f7})=>{const _0x4b5cd4=_0x367b44['commands']['get']('footnotesStyle'),_0x1ee775=new _0x340aa5(_0x250f21);return _0x1ee775['set']({'label':_0x49d396,'icon':_0x102483,'tooltip':_0x36dd91}),_0x1ee775['bind']('isOn')['to'](_0x4b5cd4,'value',_0x54c426=>_0x54c426===_0x40a2f7),_0x1ee775['bind']('isEnabled')['to'](_0x4b5cd4,'isEnabled'),_0x1ee775['on']('execute',()=>{_0x367b44['execute']('footnotesStyle',{'value':_0x40a2f7}),_0x367b44['editing']['view']['focus']();}),_0x1ee775;};}(_0x6ca07f));}(_0x18c47e),_0x79634d=new J(_0x18c47e['locale'],{'styleGridAriaLabel':_0x869947,'styleButtonViews':_0x5ae164}),_0x1b76bd=_0x18c47e['commands']['get']('footnotesStart');return _0x79634d['startIndexFieldView']['bind']('isEnabled')['to'](_0x1b76bd),_0x79634d['startIndexFieldView']['fieldView']['bind']('value')['to'](_0x1b76bd),_0x79634d['on']('footnotesListStart',(_0x12028a,_0x18f708)=>{_0x18c47e['execute']('footnotesStart',{'value':_0x18f708['startIndex']});}),_0x79634d['delegate']('execute')['to'](_0x4ffc00),_0x79634d;}({'editor':_0x2434e1,'dropdownView':_0x1aa40d});_0x1aa40d['panelView']['children']['add'](_0x4e71b8);}),_0x1aa40d;};}(_0xcaa37b));}['afterInit'](){const {editor:_0x399a47}=this,{t:t}=_0x399a47['locale'],_0x34cbf6=_0x399a47['plugins']['get'](_0x2d8651),{defaultPositions:_0x2dad10}=_0x2f9784;_0x34cbf6['register']('footnotesDefinitions',{'ariaLabel':t('Footnotes\x20definitions\x20toolbar'),'items':_0x399a47['config']['get']('footnotes.footnotesProperties.toolbar'),'balloonClassName':'ck-footnotes-style-balloon\x20ck-toolbar-container','getRelatedElement':_0x34234c=>{let _0x30ef75=_0x34234c['getFirstPosition']()?.['parent'];return _0x30ef75?.['is']('$text')&&(_0x30ef75=_0x30ef75['parent']),_0x30ef75?.['is']('element')?_0x30ef75['findAncestor'](Q):null;},'positions':[_0x2dad10['southArrowNorth'],_0x2dad10['southArrowNorthMiddleWest'],_0x2dad10['southArrowNorthMiddleEast'],_0x2dad10['southArrowNorthWest'],_0x2dad10['southArrowNorthEast'],_0x2dad10['northArrowSouth'],_0x2dad10['northArrowSouthMiddleWest'],_0x2dad10['northArrowSouthMiddleEast'],_0x2dad10['northArrowSouthWest'],_0x2dad10['northArrowSouthEast'],_0x2dad10['viewportStickyNorth']]});}}class ft extends _0x317c7b{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,f as FootnotesTracker,i as FootnotesUI,h as InsertFootnoteCommand};
|
|
23
|
+
import{Plugin as _0x54fc79,Command as _0x4d85ab}from'@ckeditor/ckeditor5-core/dist/index.js';import{toWidget as _0x5f5136,isWidget as _0x55db2e,toWidgetEditable as _0x33cd15,WidgetToolbarRepository as _0x32f537}from'@ckeditor/ckeditor5-widget/dist/index.js';import{uid as _0x29f82b,logWarning as _0x2b02b2,FocusTracker as rt,KeystrokeHandler as nt,global as at}from'@ckeditor/ckeditor5-utils/dist/index.js';import{PointerObserver as _0x5def74,ClickObserver as _0xa76f8d}from'@ckeditor/ckeditor5-engine/dist/index.js';import{ClipboardPipeline as _0x1bf577}from'@ckeditor/ckeditor5-clipboard/dist/index.js';import{MenuBarMenuListItemButtonView as _0x400304,ButtonView as _0x1341bf,View as _0x33907a,ViewCollection as _0x336290,FocusCycler as tt,addKeyboardHandlingForGrid as st,CollapsibleView as it,LabeledFieldView as et,createLabeledInputNumber as ot,ContextualBalloon as _0x42a4b0,BalloonPanelView as _0x2d6142,createDropdown as _0x221538}from'@ckeditor/ckeditor5-ui/dist/index.js';import{IconFootnote as _0x4a5924,IconListStyleDecimal as _0x2a1c01,IconListStyleDecimalLeadingZero as _0x32d776,IconListStyleLowerRoman as _0xbbab5a,IconListStyleUpperRoman as _0x565e32,IconListStyleLowerLatin as _0x2183eb,IconListStyleUpperLatin as _0x2639dc}from'@ckeditor/ckeditor5-icons/dist/index.js';class F{['_model'];['_elementName'];['_getElementKey'];['_trackedElements']=new Map();constructor(_0x2d3bd3,_0x354274){this['_model']=_0x2d3bd3,this['_elementName']=_0x354274['elementName'],this['_getElementKey']=_0x354274['getElementKey'];}['reset'](){this['_trackedElements']['clear']();}['getChanges'](_0x5f1c9e){const _0x2031d7=new Set(),_0x82717c=new Map();for(const _0x5f14b0 of _0x5f1c9e){if('insert'===_0x5f14b0['type']&&'$text'!==_0x5f14b0['name']&&_0x5f14b0['position']['nodeAfter']){const _0x3ceb4e=this['_model']['createRangeOn'](_0x5f14b0['position']['nodeAfter']);for(const _0x2ad926 of _0x3ceb4e['getItems']()){if(!_0x2ad926['is']('element',this['_elementName']))continue;const _0x126a50=this['_getElementKey'](_0x2ad926);_0x82717c['has'](_0x126a50)||_0x82717c['set'](_0x126a50,[]),_0x82717c['get'](_0x126a50)['push'](_0x2ad926);}}if('remove'===_0x5f14b0['type']&&_0x5f14b0['name']===this['_elementName']){const _0x2a3f4e=this['_getElementKey']({'getAttribute':_0x424888=>_0x5f14b0['attributes']['get'](_0x424888)});_0x2031d7['add'](_0x2a3f4e);}}for(const [_0x3b2a7e,_0x547402]of this['_trackedElements'])'$graveyard'===_0x547402['root']['rootName']&&_0x2031d7['add'](_0x3b2a7e);for(const _0x46922f of _0x2031d7)this['_trackedElements']['delete'](_0x46922f);for(const [_0x5a2dfd,_0x1ac200]of _0x82717c)this['_trackedElements']['set'](_0x5a2dfd,_0x1ac200[_0x1ac200['length']-0x1]);const _0x24d262=new Set();for(const [_0x298f0b,_0x23d0fb]of _0x82717c)_0x2031d7['has'](_0x298f0b)&&(_0x24d262['add'](_0x23d0fb[0x0]),_0x23d0fb['length']>0x1?_0x82717c['set'](_0x298f0b,_0x23d0fb['slice'](0x1)):_0x82717c['delete'](_0x298f0b),_0x2031d7['delete'](_0x298f0b));return{'removed':Array['from'](_0x2031d7),'inserted':Array['from'](_0x82717c['values']())['flat'](),'moved':Array['from'](_0x24d262)};}}class f extends _0x54fc79{['_footnotes']=[];['_footnotesDefinitions']=null;['_footnoteFormatter']=null;['_footnoteDefsContainerTracker'];['_footnoteRefsTracker'];['_footnoteDefsTracker'];static get['pluginName'](){return'FootnotesTracker';}static get['isOfficialPlugin'](){return!0x0;}static get['isPremiumPlugin'](){return!0x0;}constructor(_0x172ee2){super(_0x172ee2),this['_footnoteDefsContainerTracker']=new F(this['editor']['model'],{'elementName':'footnotesDefinitions','getElementKey':()=>'singleton'}),this['_footnoteRefsTracker']=new F(this['editor']['model'],{'elementName':'footnoteRef','getElementKey':_0x272caa=>_0x272caa['getAttribute']('footnoteId')}),this['_footnoteDefsTracker']=new F(this['editor']['model'],{'elementName':'footnoteDefinition','getElementKey':_0x20e09d=>_0x20e09d['getAttribute']('footnoteId')});}['init'](){const {editor:_0x88a305}=this,{model:_0xb4ace9,data:_0x18af75}=_0x88a305;_0xb4ace9['document']['registerPostFixer'](_0x2f46ca=>{const _0x5e9456=_0xb4ace9['document']['differ']['getChanges']();let _0x33c09d=!0x1;return this['_handleFootnotesDefinitionsObjectChanges'](_0x2f46ca,_0x5e9456)&&(_0x33c09d=!0x0),this['_handleFootnoteDefinitionsChanges'](_0x2f46ca,_0x5e9456)&&(_0x33c09d=!0x0),this['_handleFootnoteReferencesChanges'](_0x2f46ca,_0x5e9456)&&(_0x33c09d=!0x0),this['_ensureFootnotesReferencesHaveProperOrder'](_0x2f46ca)&&(_0x33c09d=!0x0),this['_handleFootnotesDefinitionsObjectSync'](_0x2f46ca)&&(_0x33c09d=!0x0),this['_sortFootnoteDefinitions'](_0x2f46ca)&&(_0x33c09d=!0x0),_0x33c09d;}),this['listenTo'](_0xb4ace9['document'],'change:data',()=>{_0xb4ace9['enqueueChange']({'isUndoable':!0x1},_0xef8c26=>{this['_ensureFootnotesDefinitionsContainerExists'](_0xef8c26);});},{'priority':'low'}),this['listenTo'](_0x18af75,'set',()=>{this['_footnotes']=[],this['_footnoteDefsContainerTracker']['reset'](),this['_footnoteRefsTracker']['reset'](),this['_footnoteDefsTracker']['reset']();},{'priority':'high'});}['getFootnotesDefinitionsObjectElement'](){return this['_footnotesDefinitions'];}['getFootnote'](_0xed97ab){return this['_footnotes']['find'](_0x1303ff=>_0x1303ff['id']===_0xed97ab)||null;}['getFootnotes'](){return Array['from'](this['_footnotes']);}['getFootnotesFormatter'](){return this['_footnoteFormatter'];}['setFootnoteFormatter'](_0x43bf18){this['_footnoteFormatter']=_0x43bf18;}['_updateFootnotesCounters'](_0x166c0f,_0x490bfe=0x0){let _0x339db3=!0x1;for(let _0x5c7ae5=_0x490bfe;_0x5c7ae5<this['_footnotes']['length'];_0x5c7ae5++)this['_updateFootnoteRefCounter'](_0x166c0f,_0x5c7ae5)&&(_0x339db3=!0x0);return _0x339db3;}['_insertEmptyFootnotesDefinitionsContainer'](_0x20de1a,_0x56f814){const _0x28bca0=_0x20de1a['createElement']('footnotesDefinitions',{});return _0x20de1a['append'](_0x28bca0,_0x56f814),this['_footnotesDefinitions']=_0x28bca0,_0x28bca0;}['_ensureFootnotesDefinitionsContainerExists'](_0x53f990){if(!this['_footnotes']['length']||this['_footnotesDefinitions'])return;const _0x38077e=this['_footnotes'][0x0]['reference']['root'],_0x1a4c2d=this['_insertEmptyFootnotesDefinitionsContainer'](_0x53f990,_0x38077e);for(const _0x2befa3 of this['_footnotes'])_0x2befa3['definition']['parent']||_0x53f990['insert'](_0x2befa3['definition'],_0x1a4c2d,'end');this['_updateFootnotesCounters'](_0x53f990);}['_handleFootnotesDefinitionsObjectChanges'](_0x32a562,_0x453455){let _0x26f6c6=!0x1;const {inserted:_0x301a21,removed:_0x25a35d,moved:_0x5e414f}=this['_footnoteDefsContainerTracker']['getChanges'](_0x453455);if(_0x5e414f['length']&&(this['_footnotesDefinitions']=_0x5e414f[0x0]),_0x301a21['length']){if(_0x301a21['length']>0x1||this['_footnotesDefinitions']&&_0x301a21['some'](_0x2f6ea1=>_0x2f6ea1!==this['_footnotesDefinitions'])){const _0x1cd589=_0x32a562['createElement']('footnotesDefinitions',{}),_0x565501=[];this['_footnotesDefinitions']&&_0x565501['push'](this['_footnotesDefinitions']),_0x565501['push'](..._0x301a21),_0x32a562['insert'](_0x1cd589,_0x565501[0x0],'before');for(const _0x883465 of _0x565501)_0x32a562['move'](_0x32a562['createRangeIn'](_0x883465),_0x32a562['createPositionAt'](_0x1cd589,'end')),_0x32a562['remove'](_0x883465);this['_footnotesDefinitions']=_0x1cd589,this['_updateFootnotesCounters'](_0x32a562),_0x26f6c6=!0x0;}else this['_footnotesDefinitions']=_0x301a21[0x0];}if(_0x25a35d['length']&&'$graveyard'===this['_footnotesDefinitions']?.['root']['rootName']){for(const _0x51e84e of this['_footnotes'])_0x32a562['remove'](_0x51e84e['reference']),_0x26f6c6=!0x0;this['_footnotes']=[],this['_footnotesDefinitions']=null;}return _0x26f6c6;}['_handleFootnoteDefinitionsChanges'](_0x37f5da,_0x4a6770){let _0x341440=!0x1;const _0x31ebca=this['editor']['config']['get']('footnotes.multiBlock'),{inserted:_0x3ae438,moved:_0x27255c}=this['_footnoteDefsTracker']['getChanges'](_0x4a6770);for(const _0x328e79 of[..._0x27255c,..._0x3ae438]){const _0xb36d7a=_0x328e79['getAttribute']('footnoteId'),_0x45c107=this['getFootnote'](_0xb36d7a);_0x45c107&&(_0x45c107['definition']=_0x328e79),_(_0x37f5da,_0x31ebca,_0x328e79)&&(_0x341440=!0x0);}return _0x341440;}['_handleFootnoteReferencesChanges'](_0x1cb78a,_0x537619){let _0x38a44b=!0x1;const {removed:_0x47d399,inserted:_0x2f4f9e,moved:_0x16015c}=this['_footnoteRefsTracker']['getChanges'](_0x537619);for(const _0xf1ba7f of _0x47d399)this['_handleRemoveFootnoteReferenceById'](_0x1cb78a,_0xf1ba7f)&&(_0x38a44b=!0x0);for(const _0xf4eefa of _0x2f4f9e)this['_handleInsertedFootnoteReference'](_0x1cb78a,_0xf4eefa)&&(_0x38a44b=!0x0);for(const _0x4278d3 of _0x16015c)this['_handleMovedFootnoteReference'](_0x1cb78a,_0x4278d3)&&(_0x38a44b=!0x0);return _0x38a44b;}['_handleFootnotesDefinitionsObjectSync'](_0x2aafe0){if(!this['_footnotesDefinitions'])return!0x1;let _0x4c6533=!0x1;if(this['_footnotesDefinitions']['childCount']!==this['_footnotes']['length']){const _0x575d0b=[];for(const _0x44ed4c of this['_footnotesDefinitions']['getChildren']()){const _0x2c786b=_0x44ed4c['getAttribute']('footnoteId');this['getFootnote'](_0x2c786b)||(_0x575d0b['unshift'](_0x44ed4c),_0x4c6533=!0x0);}for(const _0x22181c of _0x575d0b)_0x2aafe0['remove'](_0x22181c);}const _0x282c83=new Set(),_0x2a10ea=[];for(const _0x57f9df of this['_footnotesDefinitions']['getChildren']()){const _0x28f96d=_0x57f9df['getAttribute']('footnoteId');_0x282c83['has'](_0x28f96d)?(_0x2a10ea['unshift'](_0x57f9df),_0x4c6533=!0x0):_0x282c83['add'](_0x28f96d);}for(const _0x4863de of _0x2a10ea)_0x2aafe0['remove'](_0x4863de);return this['_footnotesDefinitions']['childCount']||(_0x2aafe0['remove'](this['_footnotesDefinitions']),this['_footnotesDefinitions']=null,_0x4c6533=!0x0),_0x4c6533;}['_handleInsertedFootnoteReference'](_0x401fb8,_0x3ace6d){if(this['_footnotes']['find'](_0x1b2bc7=>_0x1b2bc7['reference']===_0x3ace6d))return!0x1;let _0x2ff29d=!0x1;const _0x173175=_0x3ace6d['getAttribute']('footnoteId'),_0x173628=this['_footnotes']['findIndex'](_0x3c73ce=>_0x3c73ce['id']===_0x173175);-0x1!==_0x173628&&(_0x401fb8['remove'](this['_footnotes'][_0x173628]['reference']),this['_footnotes']['splice'](_0x173628,0x1),_0x2ff29d=!0x0);let _0xbec0f=this['_footnotesDefinitions']?function(_0x20583e,_0x153ed8){for(const _0x52d1b3 of _0x20583e['getChildren']())if(_0x52d1b3['getAttribute']('footnoteId')===_0x153ed8)return _0x52d1b3;return null;}(this['_footnotesDefinitions'],_0x173175):null;_0xbec0f||(_0xbec0f=_0x401fb8['createElement']('footnoteDefinition',{'footnoteId':_0x173175}),this['_footnotesDefinitions']&&(_0x401fb8['insert'](_0xbec0f,this['_footnotesDefinitions'],'end'),_0x2ff29d=!0x0));const _0x495e07={'id':_0x173175,'reference':_0x3ace6d,'definition':_0xbec0f},_0x17c777=I(this['editor']['model'],this['_footnotes'],_0x3ace6d);this['_footnotes']['splice'](_0x17c777,0x0,_0x495e07);let _0x101b01=_0x17c777;return-0x1!==_0x173628&&(_0x101b01=Math['min'](_0x17c777,_0x173628)),this['_updateFootnotesCounters'](_0x401fb8,_0x101b01)&&(_0x2ff29d=!0x0),_0x2ff29d;}['_handleRemoveFootnoteReferenceById'](_0x377653,_0x16895e){const _0x4bd7bf=this['_footnotes']['findIndex'](_0x2905ee=>_0x2905ee['id']===_0x16895e);if(-0x1===_0x4bd7bf)return!0x1;let _0x998e4f=!0x1;const _0x145d30=this['_footnotes'][_0x4bd7bf];return'$graveyard'!==_0x145d30['definition']['root']['rootName']&&(_0x377653['remove'](_0x145d30['definition']),_0x998e4f=!0x0),this['_footnotes']['splice'](_0x4bd7bf,0x1),this['_updateFootnotesCounters'](_0x377653,_0x4bd7bf)&&(_0x998e4f=!0x0),_0x998e4f;}['_handleMovedFootnoteReference'](_0x51cc07,_0x163235){const _0x5c7cf0=_0x163235['getAttribute']('footnoteId'),_0x188ca9=this['_footnotes']['findIndex'](_0x2ece68=>_0x2ece68['id']===_0x5c7cf0),_0x25547f=this['_footnotes'][_0x188ca9];let _0x1e9a39=!0x1;_0x25547f['reference']=_0x163235,this['_footnotes']['splice'](_0x188ca9,0x1);const _0x2f086f=I(this['editor']['model'],this['_footnotes'],_0x163235);return this['_footnotes']['splice'](_0x2f086f,0x0,_0x25547f),this['_updateFootnotesCounters'](_0x51cc07,Math['min'](_0x188ca9,_0x2f086f))&&(_0x1e9a39=!0x0),_0x1e9a39;}['_updateFootnoteRefCounter'](_0x2a2e45,_0x31b50b){if(!this['_footnotesDefinitions'])return!0x1;const _0x5b50c5=this['_footnotes'][_0x31b50b];let _0x45dae4;return _0x45dae4=this['_footnoteFormatter']?this['_footnoteFormatter']({'footnote':_0x5b50c5,'container':this['_footnotesDefinitions'],'digits':String(this['_footnotes']['length'])['length'],'value':_0x31b50b+0x1}):String(_0x31b50b+0x1),_0x5b50c5['reference']['getAttribute']('footnoteCounter')!=_0x45dae4&&(_0x2a2e45['setAttribute']('footnoteCounter',_0x45dae4,_0x5b50c5['reference']),!0x0);}['_sortFootnoteDefinitions'](_0x4fcc85){if(!this['_footnotesDefinitions']||this['_footnotes']['length']<0x2)return!0x1;if(function(_0x2b73d1,_0x42ab57){if(_0x2b73d1['length']!==_0x42ab57['length'])return!0x1;for(let _0x200e81=0x0;_0x200e81<_0x2b73d1['length'];_0x200e81++)if(_0x2b73d1[_0x200e81]!==_0x42ab57[_0x200e81])return!0x1;return!0x0;}(this['_footnotes']['map'](_0x45f0a1=>_0x45f0a1['id']),Array['from'](this['_footnotesDefinitions']['getChildren']())['map'](_0x347e1c=>_0x347e1c['getAttribute']('footnoteId'))))return!0x1;let _0x48f111=!0x1;for(let _0xc8ff1=0x0;_0xc8ff1<this['_footnotes']['length'];_0xc8ff1++){const _0x121ced=this['_footnotes'][_0xc8ff1],_0xad789e=_0x4fcc85['createPositionBefore'](_0x121ced['definition']),_0x1e805d=_0x4fcc85['createPositionAt'](this['_footnotesDefinitions'],_0xc8ff1);_0xad789e['isEqual'](_0x1e805d)||(_0x4fcc85['move'](_0x4fcc85['createRangeOn'](_0x121ced['definition']),_0x1e805d),_0x48f111=!0x0);}return _0x48f111;}['_ensureFootnotesReferencesHaveProperOrder'](_0x5e0bbf){if(!this['_footnotes']['length'])return!0x1;const {model:_0x4e3ccd}=this['editor'];let _0x51d3dd=!0x1;for(let _0x37262d=0x0;_0x37262d<this['_footnotes']['length']-0x1;_0x37262d++){const _0x4ebb2b=this['_footnotes'][_0x37262d],_0x291553=this['_footnotes'][_0x37262d+0x1],_0xe3580d=_0x4e3ccd['createPositionBefore'](_0x4ebb2b['reference']),_0x113673=_0x4e3ccd['createPositionBefore'](_0x291553['reference']);'after'===_0xe3580d['compareWith'](_0x113673)&&(this['_handleMovedFootnoteReference'](_0x5e0bbf,_0x4ebb2b['reference']),_0x37262d=-0x1,_0x51d3dd=!0x0);}return _0x51d3dd;}}function _(_0x2c87bd,_0x3f5cd7,_0xeb19fe){if(_0xeb19fe['childCount'])return!0x1;const _0x1d15da=_0x3f5cd7?'paragraph':'footnoteInlineContent';return _0x2c87bd['insert'](_0x2c87bd['createElement'](_0x1d15da),_0xeb19fe),!0x0;}function I(_0x4b821b,_0x138bf7,_0x393c0f){if(0x0===_0x138bf7['length'])return 0x0;const _0x20ca48=_0x4b821b['createPositionBefore'](_0x393c0f);for(let _0x192bb9=0x0;_0x192bb9<_0x138bf7['length'];_0x192bb9++){const _0x38e459=_0x138bf7[_0x192bb9],_0x246f62=_0x4b821b['createPositionBefore'](_0x38e459['reference']);if('before'===_0x20ca48['compareWith'](_0x246f62))return _0x192bb9;}const _0x155852=_0x393c0f['root'];let _0x122f0e=-0x1;for(let _0x27286b=_0x138bf7['length']-0x1;_0x27286b>=0x0;_0x27286b--)if(_0x138bf7[_0x27286b]['reference']['root']===_0x155852){_0x122f0e=_0x27286b;break;}if(-0x1!==_0x122f0e)return _0x122f0e+0x1;const _0x30b976=_0x4b821b['document']['getRootNames'](),_0x131096=_0x30b976['indexOf'](_0x155852['rootName']),_0x16fe08=_0x30b976[_0x131096+0x1];if(_0x16fe08){for(let _0x148cb3=0x0;_0x148cb3<_0x138bf7['length'];_0x148cb3++)if(_0x138bf7[_0x148cb3]['reference']['root']['rootName']===_0x16fe08)return _0x148cb3;}return _0x138bf7['length'];}class h extends _0x4d85ab{['refresh'](){const _0x459e6e=this['editor']['model']['document']['selection'],_0x5e6e67=this['_getPositionToInsertFootnote'](_0x459e6e);this['isEnabled']=!!_0x5e6e67;}['execute'](_0x364041){const {editor:_0x37ac27}=this,{model:_0x25a688}=_0x37ac27,{selection:_0x555be8}=_0x25a688['document'],_0x1c775a=this['_getPositionToInsertFootnote'](_0x555be8);if(!_0x1c775a)return;const _0x523f62=_0x37ac27['plugins']['get']('FootnotesEditing'),_0x3e2983=_0x364041?.['footnoteId']??_0x29f82b();!function(_0x3c9c4b){return'string'==typeof _0x3c9c4b&&_0x3c9c4b['length']>0x0&&!/\s/['test'](_0x3c9c4b)&&!/^\d/['test'](_0x3c9c4b);}(_0x3e2983)?_0x2b02b2('insert-footnote-command-executed-with-invalid-id'):(_0x25a688['change'](_0x4fb805=>{const _0x43a5f6=_0x4fb805['createElement']('footnoteRef',{'footnoteId':_0x3e2983});_0x25a688['insertObject'](_0x43a5f6,_0x1c775a,null);}),_0x523f62['_moveSelectionToFootnoteDefinition'](_0x3e2983));}['_getPositionToInsertFootnote'](_0x4207a8){const {model:_0x1174b2}=this['editor'],{schema:_0x82f2b9}=_0x1174b2,_0x309f82=_0x4207a8['getFirstRange']();for(const _0x2eb3df of _0x309f82['getItems']())if(_0x82f2b9['isBlock'](_0x2eb3df)||_0x82f2b9['isObject'](_0x2eb3df))return null;const _0x2e225b=_0x309f82['end'];return _0x82f2b9['checkChild'](_0x2e225b,'footnoteRef')?_0x2e225b:null;}}class r extends _0x54fc79{static get['pluginName'](){return'FootnotesEditing';}static get['requires'](){return[f];}static get['isOfficialPlugin'](){return!0x0;}static get['isPremiumPlugin'](){return!0x0;}['init'](){const {editor:_0x5ae7cf}=this;_0x5ae7cf['config']['define']('footnotes.multiBlock',!0x0),_0x5ae7cf['commands']['add']('insertFootnote',new h(_0x5ae7cf)),this['_defineSchema'](),this['_defineRefsConverters'](),this['_defineDefinitionsConverters'](),this['_defineDefinitionConverters'](),this['_defineBogusParagraphConverters'](),this['_defineKeyboardHandlers'](),this['_defineClickHandlers']();}['afterInit'](){!async function(_0x3355fa){const _0x30a180=_0x32873c([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]),_0x2109a6=0x47a28506,_0x330de5=0x47a502ce^_0x2109a6,_0x5bd2fb=window[_0x32873c([0x44,0x61,0x74,0x65])][_0x32873c([0x6e,0x6f,0x77])](),_0x123133=_0x3355fa[_0x32873c([0x65,0x64,0x69,0x74,0x6f,0x72])],_0x5a0e11=new window[(_0x32873c([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0xbc27cf=>{_0x123133[_0x32873c([0x6f,0x6e,0x63,0x65])](_0x32873c([0x72,0x65,0x61,0x64,0x79]),_0xbc27cf);}),_0x282a53={[_0x32873c([0x6b,0x74,0x79])]:_0x32873c([0x45,0x43]),[_0x32873c([0x75,0x73,0x65])]:_0x32873c([0x73,0x69,0x67]),[_0x32873c([0x63,0x72,0x76])]:_0x32873c([0x50,0x2d,0x32,0x35,0x36]),[_0x32873c([0x78])]:_0x32873c([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]),[_0x32873c([0x79])]:_0x32873c([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]),[_0x32873c([0x61,0x6c,0x67])]:_0x32873c([0x45,0x53,0x32,0x35,0x36])},_0xac0a28=_0x123133[_0x32873c([0x63,0x6f,0x6e,0x66,0x69,0x67])][_0x32873c([0x67,0x65,0x74])](_0x32873c([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x4b,0x65,0x79]));async function _0x3b4bc1(){let _0x32d7cb,_0x21bfae=null,_0x168f26=null;try{if(_0xac0a28==_0x32873c([0x47,0x50,0x4c]))return _0x32873c([0x4e,0x6f,0x74,0x41,0x6c,0x6c,0x6f,0x77,0x65,0x64]);if(_0x32d7cb=_0x1881fa(),!_0x32d7cb)return _0x32873c([0x49,0x6e,0x76,0x61,0x6c,0x69,0x64]);return _0x32d7cb[_0x32873c([0x75,0x73,0x61,0x67,0x65,0x45,0x6e,0x64,0x70,0x6f,0x69,0x6e,0x74])]&&(_0x168f26=_0x37947e(_0x32d7cb[_0x32873c([0x75,0x73,0x61,0x67,0x65,0x45,0x6e,0x64,0x70,0x6f,0x69,0x6e,0x74])],_0x32d7cb[_0x32873c([0x6a,0x74,0x69])])),await _0x988833()?_0x5e5ac0()?_0x3cb9d5()?_0x32873c([0x45,0x78,0x70,0x69,0x72,0x65,0x64]):_0xebb3c4()?(_0x32d7cb[_0x32873c([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x54,0x79,0x70,0x65])]==_0x32873c([0x65,0x76,0x61,0x6c,0x75,0x61,0x74,0x69,0x6f,0x6e])&&(_0x21bfae=_0x4567cf(_0x32873c([0x45,0x76,0x61,0x6c,0x75,0x61,0x74,0x69,0x6f,0x6e,0x4c,0x69,0x6d,0x69,0x74]))),await _0xccb33()):_0x32873c([0x44,0x6f,0x6d,0x61,0x69,0x6e,0x4c,0x69,0x6d,0x69,0x74]):_0x32873c([0x4e,0x6f,0x74,0x41,0x6c,0x6c,0x6f,0x77,0x65,0x64]):_0x32873c([0x49,0x6e,0x76,0x61,0x6c,0x69,0x64]);}catch{return _0x32873c([0x49,0x6e,0x76,0x61,0x6c,0x69,0x64]);}function _0x3cb9d5(){const _0x482d87=[_0x32873c([0x65,0x76,0x61,0x6c,0x75,0x61,0x74,0x69,0x6f,0x6e]),_0x32873c([0x74,0x72,0x69,0x61,0x6c])][_0x32873c([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x32d7cb[_0x32873c([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x54,0x79,0x70,0x65])])?_0x5bd2fb/0x3e8:0xe10*_0x330de5;return _0x32d7cb[_0x32873c([0x65,0x78,0x70])]<_0x482d87;}function _0x5e5ac0(){const _0x4e443d=_0x32d7cb[_0x32873c([0x66,0x65,0x61,0x74,0x75,0x72,0x65,0x73])];return!!_0x4e443d&&(!!_0x4e443d[_0x32873c([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x32873c([0x2a]))||!!_0x4e443d[_0x32873c([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x32873c([0x46,0x4f,0x4f])));}function _0xebb3c4(){const _0x4d6d52=_0x32d7cb[_0x32873c([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x64,0x48,0x6f,0x73,0x74,0x73])];if(!_0x4d6d52||0x0==_0x4d6d52[_0x32873c([0x6c,0x65,0x6e,0x67,0x74,0x68])])return!0x0;const {hostname:_0x4043d4}=new URL(window[_0x32873c([0x6c,0x6f,0x63,0x61,0x74,0x69,0x6f,0x6e])]['href']);if(_0x4d6d52[_0x32873c([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x4043d4))return!0x0;const _0x1ddc7a=_0x4043d4[_0x32873c([0x73,0x70,0x6c,0x69,0x74])](_0x32873c([0x2e]));return _0x4d6d52[_0x32873c([0x66,0x69,0x6c,0x74,0x65,0x72])](_0x17c6e7=>_0x17c6e7[_0x32873c([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x32873c([0x2a])))[_0x32873c([0x6d,0x61,0x70])](_0x4f7ebb=>_0x4f7ebb[_0x32873c([0x73,0x70,0x6c,0x69,0x74])](_0x32873c([0x2e])))[_0x32873c([0x66,0x69,0x6c,0x74,0x65,0x72])](_0x2a1702=>_0x2a1702[_0x32873c([0x6c,0x65,0x6e,0x67,0x74,0x68])]<=_0x1ddc7a[_0x32873c([0x6c,0x65,0x6e,0x67,0x74,0x68])])[_0x32873c([0x6d,0x61,0x70])](_0x5aadae=>Array(_0x1ddc7a[_0x32873c([0x6c,0x65,0x6e,0x67,0x74,0x68])]-_0x5aadae[_0x32873c([0x6c,0x65,0x6e,0x67,0x74,0x68])])[_0x32873c([0x66,0x69,0x6c,0x6c])](_0x5aadae[0x0]===_0x32873c([0x2a])?_0x32873c([0x2a]):'')[_0x32873c([0x63,0x6f,0x6e,0x63,0x61,0x74])](_0x5aadae))[_0x32873c([0x73,0x6f,0x6d,0x65])](_0x11ba4c=>_0x1ddc7a[_0x32873c([0x65,0x76,0x65,0x72,0x79])]((_0x2eb9bc,_0xecfd78)=>_0x11ba4c[_0xecfd78]===_0x2eb9bc||_0x11ba4c[_0xecfd78]===_0x32873c([0x2a])));}function _0xccb33(){return _0x21bfae&&_0x168f26?new window[(_0x32873c([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))]((_0x57027a,_0x32316e)=>{_0x21bfae[_0x32873c([0x74,0x68,0x65,0x6e])](_0x57027a,_0x32316e),_0x168f26[_0x32873c([0x74,0x68,0x65,0x6e])](_0xe4fbff=>{_0xe4fbff!=_0x32873c([0x56,0x61,0x6c,0x69,0x64])&&_0x57027a(_0xe4fbff);},_0x32316e);}):_0x21bfae||_0x168f26||_0x32873c([0x56,0x61,0x6c,0x69,0x64]);}}function _0x37947e(_0x119e21,_0x437728){return new window[(_0x32873c([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0x1d0659=>{if(_0x5739e9())return _0x1d0659(_0x32873c([0x56,0x61,0x6c,0x69,0x64]));_0x16734f(),_0x123133[_0x32873c([0x64,0x65,0x63,0x6f,0x72,0x61,0x74,0x65])](_0x32873c([0x5f,0x73,0x65,0x6e,0x64,0x55,0x73,0x61,0x67,0x65,0x52,0x65,0x71,0x75,0x65,0x73,0x74]));let _0x5d986f=!0x1;const _0x52fab8=_0x29f82b();function _0x44880d(_0x437ca3){return!!_0x437ca3&&(typeof _0x437ca3===_0x32873c([0x6f,0x62,0x6a,0x65,0x63,0x74])||typeof _0x437ca3===_0x32873c([0x66,0x75,0x6e,0x63,0x74,0x69,0x6f,0x6e]))&&typeof _0x437ca3[_0x32873c([0x74,0x68,0x65,0x6e])]===_0x32873c([0x66,0x75,0x6e,0x63,0x74,0x69,0x6f,0x6e])&&typeof _0x437ca3[_0x32873c([0x63,0x61,0x74,0x63,0x68])]===_0x32873c([0x66,0x75,0x6e,0x63,0x74,0x69,0x6f,0x6e]);}function _0x336eb8(_0x20fc1e){_0x238a22(_0x20fc1e)[_0x32873c([0x74,0x68,0x65,0x6e])](_0x1ef1d1=>{if(!_0x1ef1d1||_0x1ef1d1[_0x32873c([0x73,0x74,0x61,0x74,0x75,0x73])]!=_0x32873c([0x6f,0x6b]))return _0x32873c([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]);return _0x1a8c4e(_0x41f1da(_0x52fab8+_0x437728))!=_0x1ef1d1[_0x32873c([0x76,0x65,0x72,0x69,0x66,0x69,0x63,0x61,0x74,0x69,0x6f,0x6e])]?_0x32873c([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]):_0x32873c([0x56,0x61,0x6c,0x69,0x64]);})[_0x32873c([0x74,0x68,0x65,0x6e])](_0x4302a4=>(_0x2fdca7(),_0x4302a4),()=>{const _0x47ae2d=_0x2bee7c();return null==_0x47ae2d?(_0x2fdca7(),_0x32873c([0x56,0x61,0x6c,0x69,0x64])):_0x32873c(_0x5bd2fb-_0x47ae2d>(0x63ae0106^_0x2109a6)?[0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]:[0x56,0x61,0x6c,0x69,0x64]);})[_0x32873c([0x74,0x68,0x65,0x6e])](_0x1d0659)[_0x32873c([0x63,0x61,0x74,0x63,0x68])](()=>{_0x1d0659(_0x32873c([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]));});const _0x3eda9e=0x47946b86^_0x2109a6;function _0x2fdca7(){const _0x1442d2=_0x32873c([0x6c,0x6c,0x63,0x74,0x2d])+_0x1a8c4e(_0x41f1da(_0x119e21)),_0x51631f=_0x275aca(_0x1a8c4e(window[_0x32873c([0x4d,0x61,0x74,0x68])][_0x32873c([0x63,0x65,0x69,0x6c])](_0x5bd2fb/_0x3eda9e)));window[_0x32873c([0x6c,0x6f,0x63,0x61,0x6c,0x53,0x74,0x6f,0x72,0x61,0x67,0x65])][_0x32873c([0x73,0x65,0x74,0x49,0x74,0x65,0x6d])](_0x1442d2,_0x51631f);}function _0x2bee7c(){const _0x5b5f68=_0x32873c([0x6c,0x6c,0x63,0x74,0x2d])+_0x1a8c4e(_0x41f1da(_0x119e21)),_0x466183=window[_0x32873c([0x6c,0x6f,0x63,0x61,0x6c,0x53,0x74,0x6f,0x72,0x61,0x67,0x65])][_0x32873c([0x67,0x65,0x74,0x49,0x74,0x65,0x6d])](_0x5b5f68);return _0x466183?window[_0x32873c([0x70,0x61,0x72,0x73,0x65,0x49,0x6e,0x74])](_0x275aca(_0x466183),0x10)*_0x3eda9e:null;}function _0x238a22(_0x45f2e6){return new window[(_0x32873c([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))]((_0x4e7916,_0x3c8788)=>{_0x45f2e6[_0x32873c([0x74,0x68,0x65,0x6e])](_0x4e7916,_0x3c8788),window[_0x32873c([0x73,0x65,0x74,0x54,0x69,0x6d,0x65,0x6f,0x75,0x74])](_0x3c8788,0x47a351c6^_0x2109a6);});}}_0x123133[_0x32873c([0x6f,0x6e])](_0x32873c([0x5f,0x73,0x65,0x6e,0x64,0x55,0x73,0x61,0x67,0x65,0x52,0x65,0x71,0x75,0x65,0x73,0x74]),(_0x5880f7,_0xde6817)=>{if(_0xde6817[0x0]!=_0x119e21)return _0x1d0659(_0x32873c([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]));_0xde6817[0x1]={..._0xde6817[0x1],[_0x32873c([0x72,0x65,0x71,0x75,0x65,0x73,0x74,0x49,0x64])]:_0x52fab8};},{[_0x32873c([0x70,0x72,0x69,0x6f,0x72,0x69,0x74,0x79])]:_0x32873c([0x68,0x69,0x67,0x68])}),_0x123133[_0x32873c([0x6f,0x6e])](_0x32873c([0x5f,0x73,0x65,0x6e,0x64,0x55,0x73,0x61,0x67,0x65,0x52,0x65,0x71,0x75,0x65,0x73,0x74]),_0x9ad666=>{_0x44880d(_0x9ad666[_0x32873c([0x72,0x65,0x74,0x75,0x72,0x6e])])&&(_0x5d986f=!0x0,_0x336eb8(_0x9ad666[_0x32873c([0x72,0x65,0x74,0x75,0x72,0x6e])]));},{[_0x32873c([0x70,0x72,0x69,0x6f,0x72,0x69,0x74,0x79])]:_0x32873c([0x6c,0x6f,0x77])}),_0x5a0e11[_0x32873c([0x74,0x68,0x65,0x6e])](()=>{_0x5d986f||_0x1d0659(_0x32873c([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]));});});function _0x5739e9(){return _0x123133[_0x32873c([0x65,0x64,0x69,0x74,0x69,0x6e,0x67])][_0x32873c([0x76,0x69,0x65,0x77])][_0x32873c([0x5f,0x6f,0x76,0x65,0x72,0x6c,0x61,0x79,0x4d,0x6f,0x64,0x65,0x48,0x69,0x6e,0x74])]==_0x32873c([0x61,0x75,0x74,0x6f]);}function _0x16734f(){_0x123133[_0x32873c([0x65,0x64,0x69,0x74,0x69,0x6e,0x67])][_0x32873c([0x76,0x69,0x65,0x77])][_0x32873c([0x5f,0x6f,0x76,0x65,0x72,0x6c,0x61,0x79,0x4d,0x6f,0x64,0x65,0x48,0x69,0x6e,0x74])]=_0x32873c([0x61,0x75,0x74,0x6f]);}}function _0x4567cf(_0x54df09){const _0x1e712d=[new window[(_0x32873c([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0x3fb03b=>setTimeout(_0x3fb03b,0x47abbbca^_0x2109a6)),_0x5a0e11[_0x32873c([0x74,0x68,0x65,0x6e])](()=>new window[(_0x32873c([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0x1bf497=>{let _0x5249bc=0x0;_0x123133[_0x32873c([0x6d,0x6f,0x64,0x65,0x6c])][_0x32873c([0x6f,0x6e])](_0x32873c([0x61,0x70,0x70,0x6c,0x79,0x4f,0x70,0x65,0x72,0x61,0x74,0x69,0x6f,0x6e]),(_0x43e1c0,_0x46f83c)=>{_0x46f83c[0x0][_0x32873c([0x69,0x73,0x44,0x6f,0x63,0x75,0x6d,0x65,0x6e,0x74,0x4f,0x70,0x65,0x72,0x61,0x74,0x69,0x6f,0x6e])]&&_0x5249bc++,_0x5249bc==(0x47a280ee^_0x2109a6)&&(_0x1bf497(),_0x43e1c0[_0x32873c([0x6f,0x66,0x66])]());});}))];return window[_0x32873c([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65])][_0x32873c([0x72,0x61,0x63,0x65])](_0x1e712d)[_0x32873c([0x74,0x68,0x65,0x6e])](()=>_0x54df09);}async function _0x30f880(){await _0x5a0e11,_0x123133[_0x32873c([0x6d,0x6f,0x64,0x65,0x6c])][_0x32873c([0x63,0x68,0x61,0x6e,0x67,0x65])]=_0x292b7f,_0x123133[_0x32873c([0x6d,0x6f,0x64,0x65,0x6c])][_0x32873c([0x65,0x6e,0x71,0x75,0x65,0x75,0x65,0x43,0x68,0x61,0x6e,0x67,0x65])]=_0x292b7f,_0x123133[_0x32873c([0x65,0x6e,0x61,0x62,0x6c,0x65,0x52,0x65,0x61,0x64,0x4f,0x6e,0x6c,0x79,0x4d,0x6f,0x64,0x65])](_0x32873c([0x6d,0x6f,0x64,0x65,0x6c]));}function _0x4f6336(_0x2793b6){const _0x6aca7e=_0x3f6e60();_0x123133[_0x6aca7e]=_0x32873c([0x66,0x6f,0x6f,0x74,0x6e,0x6f,0x74,0x65,0x73,0x4c,0x69,0x63,0x65,0x6e,0x73,0x65,0x4b,0x65,0x79])+_0x2793b6,_0x2793b6!=_0x32873c([0x56,0x61,0x6c,0x69,0x64])&&_0x30f880();}function _0x3f6e60(){const _0x43109b=window[_0x32873c([0x53,0x74,0x72,0x69,0x6e,0x67])](window[_0x32873c([0x70,0x65,0x72,0x66,0x6f,0x72,0x6d,0x61,0x6e,0x63,0x65])][_0x32873c([0x6e,0x6f,0x77])]())[_0x32873c([0x72,0x65,0x70,0x6c,0x61,0x63,0x65])](_0x32873c([0x2e]),'');let _0x169ac0=_0x32873c([0x75]);for(let _0x39cbbf=0x0;_0x39cbbf<_0x43109b[_0x32873c([0x6c,0x65,0x6e,0x67,0x74,0x68])];_0x39cbbf+=0x2){let _0x5d74e5=window[_0x32873c([0x70,0x61,0x72,0x73,0x65,0x49,0x6e,0x74])](_0x43109b[_0x32873c([0x73,0x75,0x62,0x73,0x74,0x72,0x69,0x6e,0x67])](_0x39cbbf,_0x39cbbf+0x2));_0x5d74e5>=_0x30a180[_0x32873c([0x6c,0x65,0x6e,0x67,0x74,0x68])]&&(_0x5d74e5-=_0x30a180[_0x32873c([0x6c,0x65,0x6e,0x67,0x74,0x68])]),_0x169ac0+=_0x30a180[_0x5d74e5];}return _0x169ac0;}function _0x1881fa(){const _0x4a5e38=_0xac0a28[_0x32873c([0x73,0x70,0x6c,0x69,0x74])](_0x32873c([0x2e]));if(0x3!=_0x4a5e38[_0x32873c([0x6c,0x65,0x6e,0x67,0x74,0x68])])return null;return _0x213b39(_0x4a5e38[0x1]);function _0x213b39(_0x563c39){const _0x1185f5=_0x357110(_0x563c39);return _0x1185f5&&_0x60ca76()?_0x1185f5:null;function _0x60ca76(){const _0x1a2f57=_0x1185f5[_0x32873c([0x6a,0x74,0x69])],_0x2f448f=window[_0x32873c([0x70,0x61,0x72,0x73,0x65,0x49,0x6e,0x74])](_0x1a2f57[_0x32873c([0x73,0x75,0x62,0x73,0x74,0x72,0x69,0x6e,0x67])](_0x1a2f57[_0x32873c([0x6c,0x65,0x6e,0x67,0x74,0x68])]-0x8),0x10),_0x1b0d9c={..._0x1185f5,[_0x32873c([0x6a,0x74,0x69])]:_0x1a2f57[_0x32873c([0x73,0x75,0x62,0x73,0x74,0x72,0x69,0x6e,0x67])](0x0,_0x1a2f57[_0x32873c([0x6c,0x65,0x6e,0x67,0x74,0x68])]-0x8)};return delete _0x1b0d9c[_0x32873c([0x76,0x63])],_0x41f1da(_0x1b0d9c)==_0x2f448f;}}}async function _0x988833(){let _0x5308fc=!0x0;try{const _0x4ff626=_0xac0a28[_0x32873c([0x73,0x70,0x6c,0x69,0x74])](_0x32873c([0x2e])),[_0x3eae6d,_0x4792b4,_0x28090c]=_0x4ff626;return _0x5a1b5a(_0x3eae6d),await _0x154d72(_0x3eae6d,_0x4792b4,_0x28090c),_0x5308fc;}catch{return!0x1;}function _0x5a1b5a(_0x384bdd){const _0x41c4dc=_0x357110(_0x384bdd);_0x41c4dc&&_0x41c4dc[_0x32873c([0x61,0x6c,0x67])]==_0x32873c([0x45,0x53,0x32,0x35,0x36])||(_0x5308fc=!0x1);}async function _0x154d72(_0x137ccf,_0x436eac,_0x44e765){const _0x3054c8=window[_0x32873c([0x55,0x69,0x6e,0x74,0x38,0x41,0x72,0x72,0x61,0x79])][_0x32873c([0x66,0x72,0x6f,0x6d])](_0x2f6bc6(_0x44e765),_0x1cf7ff=>_0x1cf7ff[_0x32873c([0x63,0x68,0x61,0x72,0x43,0x6f,0x64,0x65,0x41,0x74])](0x0)),_0x479f73=new window[(_0x32873c([0x54,0x65,0x78,0x74,0x45,0x6e,0x63,0x6f,0x64,0x65,0x72]))]()[_0x32873c([0x65,0x6e,0x63,0x6f,0x64,0x65])](_0x137ccf+_0x32873c([0x2e])+_0x436eac),_0x3574c9=window[_0x32873c([0x63,0x72,0x79,0x70,0x74,0x6f])][_0x32873c([0x73,0x75,0x62,0x74,0x6c,0x65])];if(!_0x3574c9)return;const _0x406918=await _0x3574c9[_0x32873c([0x69,0x6d,0x70,0x6f,0x72,0x74,0x4b,0x65,0x79])](_0x32873c([0x6a,0x77,0x6b]),_0x282a53,{[_0x32873c([0x6e,0x61,0x6d,0x65])]:_0x32873c([0x45,0x43,0x44,0x53,0x41]),[_0x32873c([0x6e,0x61,0x6d,0x65,0x64,0x43,0x75,0x72,0x76,0x65])]:_0x32873c([0x50,0x2d,0x32,0x35,0x36])},!0x1,[_0x32873c([0x76,0x65,0x72,0x69,0x66,0x79])]);await _0x3574c9[_0x32873c([0x76,0x65,0x72,0x69,0x66,0x79])]({[_0x32873c([0x6e,0x61,0x6d,0x65])]:_0x32873c([0x45,0x43,0x44,0x53,0x41]),[_0x32873c([0x68,0x61,0x73,0x68])]:{[_0x32873c([0x6e,0x61,0x6d,0x65])]:_0x32873c([0x53,0x48,0x41,0x2d,0x32,0x35,0x36])}},_0x406918,_0x3054c8,_0x479f73)||(_0x5308fc=!0x1);}}function _0x357110(_0x189477){return _0x189477[_0x32873c([0x73,0x74,0x61,0x72,0x74,0x73,0x57,0x69,0x74,0x68])](_0x32873c([0x65,0x79]))?JSON[_0x32873c([0x70,0x61,0x72,0x73,0x65])](_0x2f6bc6(_0x189477)):null;}function _0x2f6bc6(_0x5d7437){return window[_0x32873c([0x61,0x74,0x6f,0x62])](_0x5d7437[_0x32873c([0x72,0x65,0x70,0x6c,0x61,0x63,0x65])](/-/g,_0x32873c([0x2b]))[_0x32873c([0x72,0x65,0x70,0x6c,0x61,0x63,0x65])](/_/g,_0x32873c([0x2f])));}function _0x41f1da(_0x4001c4){let _0x45622b=0x1505;function _0x20d3c6(_0x1692cb){for(let _0x157587=0x0;_0x157587<_0x1692cb[_0x32873c([0x6c,0x65,0x6e,0x67,0x74,0x68])];_0x157587++){const _0x3c8066=_0x1692cb[_0x32873c([0x63,0x68,0x61,0x72,0x43,0x6f,0x64,0x65,0x41,0x74])](_0x157587);_0x45622b=(_0x45622b<<0x5)+_0x45622b+_0x3c8066,_0x45622b&=_0x45622b;}}function _0x5e6401(_0x28ea1e){Array[_0x32873c([0x69,0x73,0x41,0x72,0x72,0x61,0x79])](_0x28ea1e)?_0x28ea1e[_0x32873c([0x66,0x6f,0x72,0x45,0x61,0x63,0x68])](_0x5e6401):_0x28ea1e&&typeof _0x28ea1e==_0x32873c([0x6f,0x62,0x6a,0x65,0x63,0x74])?Object[_0x32873c([0x65,0x6e,0x74,0x72,0x69,0x65,0x73])](_0x28ea1e)[_0x32873c([0x73,0x6f,0x72,0x74])]()[_0x32873c([0x66,0x6f,0x72,0x45,0x61,0x63,0x68])](([_0x5ac22c,_0x47ffd7])=>{_0x20d3c6(_0x5ac22c),_0x5e6401(_0x47ffd7);}):_0x20d3c6(window[_0x32873c([0x53,0x74,0x72,0x69,0x6e,0x67])](_0x28ea1e));}return _0x5e6401(_0x4001c4),_0x45622b>>>0x0;}function _0x1a8c4e(_0x33121f){return _0x33121f[_0x32873c([0x74,0x6f,0x53,0x74,0x72,0x69,0x6e,0x67])](0x10)[_0x32873c([0x70,0x61,0x64,0x53,0x74,0x61,0x72,0x74])](0x8,_0x32873c([0x30]));}function _0x275aca(_0x5eb8c8){return _0x5eb8c8[_0x32873c([0x73,0x70,0x6c,0x69,0x74])]('')[_0x32873c([0x72,0x65,0x76,0x65,0x72,0x73,0x65])]()[_0x32873c([0x6a,0x6f,0x69,0x6e])]('');}function _0x292b7f(){}function _0x32873c(_0xc9f123){return _0xc9f123['map'](_0x5eb734=>String['fromCharCode'](_0x5eb734))['join']('');}_0x4f6336(await _0x3b4bc1());}(this);}['_moveSelectionToFootnoteDefinition'](_0x5708bb){const {plugins:_0x1c2856,editing:_0x1a46c5,model:_0x236551}=this['editor'],_0x2ffa0a=_0x1c2856['get'](f)['getFootnote'](_0x5708bb);return!!_0x2ffa0a&&(_0x236551['change'](_0x39f502=>{_0x39f502['setSelection'](_0x39f502['createPositionAt'](_0x2ffa0a['definition'],'end'));}),_0x1a46c5['view']['scrollToTheSelection'](),!0x0);}['_moveSelectionToFootnoteReference'](_0x116891){const {plugins:_0x53f81c,editing:_0x269336,model:_0x3ff69b}=this['editor'],_0x110609=_0x53f81c['get'](f)['getFootnote'](_0x116891);return!!_0x110609&&(_0x3ff69b['change'](_0x226304=>{_0x226304['setSelection'](_0x110609['reference'],'on');}),_0x269336['view']['scrollToTheSelection'](),!0x0);}['_defineSchema'](){const {schema:_0x51bd51}=this['editor']['model'],_0x3a68e9=this['editor']['config']['get']('footnotes.multiBlock');_0x51bd51['register']('footnoteRef',{'inheritAllFrom':'$inlineObject','allowAttributes':['footnoteId','footnoteCounter']}),_0x51bd51['register']('footnotesDefinitions',{'inheritAllFrom':'$blockObject','allowChildren':['footnoteDefinition']}),_0x51bd51['register']('footnoteDefinition',{'allowAttributes':['footnoteId'],'disallowAttributes':['listItemId'],'isLimit':!0x0}),_0x3a68e9?_0x51bd51['extend']('footnoteDefinition',{'allowContentOf':'$container'}):_0x51bd51['register']('footnoteInlineContent',{'allowIn':'footnoteDefinition','allowContentOf':'$block','isLimit':!0x0}),_0x51bd51['addChildCheck'](_0x1c7bd1=>{for(const _0x143bed of _0x1c7bd1)if('footnoteDefinition'===_0x143bed['name'])return!0x1;},'footnoteRef');}['_defineRefsConverters'](){const {editor:_0x133a7c}=this,{conversion:_0x161c57,editing:_0x3efcea}=_0x133a7c,{t:t}=_0x133a7c['locale'];_0x161c57['for']('upcast')['elementToElement']({'view':{'name':'sup','classes':'footnote'},'model':(_0x5aa8af,{writer:_0x492e10,consumable:_0x31e3ad})=>{const _0x152d5e=_0x5aa8af['getChild'](0x0);if(!_0x152d5e||!_0x152d5e['is']('element','a'))return null;const _0xd56976=_0x152d5e['getAttribute']('href')||'';if(!_0xd56976['startsWith']('#'))return null;const _0x3068c0=_0xd56976['replace'](/^#/,'');if(!_0x3068c0)return null;_0x31e3ad['consume'](_0x152d5e,{'name':!0x0,'attributes':['href']});for(const {item:_0x5a4d65}of _0x3efcea['view']['createRangeIn'](_0x152d5e))_0x5a4d65['is']('$textProxy')?_0x31e3ad['consume'](_0x5a4d65['textNode'],{'name':!0x0}):_0x5a4d65['is']('element')&&_0x31e3ad['consume'](_0x5a4d65,{'name':!0x0});return _0x492e10['createElement']('footnoteRef',{'footnoteId':_0x3068c0});}}),_0x161c57['for']('dataDowncast')['elementToElement']({'model':{'name':'footnoteRef','attributes':['footnoteId','footnoteCounter']},'view':(_0x15ac86,{writer:_0x324955})=>b(_0x15ac86,_0x324955)}),_0x161c57['for']('editingDowncast')['elementToElement']({'model':{'name':'footnoteRef','attributes':['footnoteId','footnoteCounter']},'view':(_0x1eaa07,{writer:_0x491fd2})=>{const _0x1d6169=_0x1eaa07['getAttribute']('footnoteCounter');return _0x5f5136(b(_0x1eaa07,_0x491fd2),_0x491fd2,{'label':t('Footnote\x20%0.\x20Press\x20ENTER\x20to\x20jump\x20to\x20footnote\x20definition.',_0x1d6169)});}});}['_defineDefinitionsConverters'](){const {editor:_0x3c8ccf}=this,{t:t}=_0x3c8ccf['locale'],{conversion:_0xdb9e4e}=_0x3c8ccf;_0xdb9e4e['for']('upcast')['elementToElement']({'view':{'name':'div','classes':'footnotes'},'model':'footnotesDefinitions'}),_0xdb9e4e['for']('upcast')['add'](_0x3b1fa9=>{_0x3b1fa9['on']('element:ol',(_0x3fdfa1,_0x518512,_0x3fc27c)=>{const _0x1dde4f=_0x518512['viewItem'];if(!_0x1dde4f['hasClass']('footnotes-list')||!_0x518512['modelCursor']['parent']?.['is']('element','footnotesDefinitions'))return;if(!_0x3fc27c['consumable']['consume'](_0x1dde4f,{'name':!0x0,'classes':'footnotes-list'}))return;const {modelRange:_0xbb22b6,modelCursor:_0x498a96}=_0x3fc27c['convertChildren'](_0x518512['viewItem'],_0x518512['modelCursor']);_0x518512['modelRange']=_0xbb22b6,_0x518512['modelCursor']=_0x498a96;}),_0x3b1fa9['on']('element:hr',(_0x269012,_0x42e39f,_0x1c27dd)=>{const _0x24d3fa=_0x42e39f['viewItem'];_0x24d3fa['hasClass']('footnotes-divider')&&_0x42e39f['modelCursor']['parent']?.['is']('element','footnotesDefinitions')&&_0x1c27dd['consumable']['consume'](_0x24d3fa,{'name':!0x0,'classes':'footnotes-divider'});});}),_0xdb9e4e['for']('dataDowncast')['elementToStructure']({'model':'footnotesDefinitions','view':(_0x392492,{writer:_0x26b174})=>D(_0x26b174)}),_0xdb9e4e['for']('editingDowncast')['elementToStructure']({'model':'footnotesDefinitions','view':(_0x22a022,{writer:_0x200a38})=>{const _0x1e6bdb=D(_0x200a38,{'data-footnotes-list-label':t('Footnotes')}),_0x1b8248=_0x5f5136(_0x1e6bdb,_0x200a38,{'hasSelectionHandle':!0x0,'label':t('Footnotes')});return _0x200a38['setCustomProperty']('footnotesDefinitions',!0x0,_0x1b8248),_0x1b8248;}});}['_defineDefinitionConverters'](){const {editor:_0x5dd0cf}=this,{conversion:_0x34f560,locale:_0x5b6d27}=_0x5dd0cf,_0x21c11c=_0x5dd0cf['config']['get']('footnotes.multiBlock');_0x34f560['for']('upcast')['add'](_0x5b6140=>{_0x5b6140['on']('element:li',(_0x5b88b7,_0x36fcb5,_0x2cb804)=>{const _0x1dc28e=_0x36fcb5['viewItem'];if(!_0x1dc28e['hasClass']('footnote-definition')||!_0x1dc28e['getAttribute']('id'))return;const _0x3b52a2=_0x1dc28e['parent'];if(!_0x3b52a2['is']('element','ol')||!_0x3b52a2['hasClass']('footnotes-list'))return;if(!_0x2cb804['consumable']['test'](_0x1dc28e,{'name':!0x0,'attributes':'id','classes':'footnote-definition'}))return;const _0x7c5665=_0x2cb804['writer']['createElement']('footnoteDefinition',{'footnoteId':_0x1dc28e['getAttribute']('id')});if(!_0x2cb804['safeInsert'](_0x7c5665,_0x36fcb5['modelCursor']))return;_0x2cb804['consumable']['consume'](_0x1dc28e,{'name':!0x0,'attributes':'id','classes':'footnote-definition'});const _0x349200=Array['from'](_0x1dc28e['getChildren']())['find'](_0x4e4811=>_0x4e4811['is']('element')&&_0x4e4811['hasClass']('footnote-content'));for(const _0x333ac0 of _0x1dc28e['getChildren']())_0x333ac0['is']('element')&&(_0x2cb804['consumable']['consume'](_0x333ac0,{'name':!0x0,'classes':'footnote-backlink','attributes':'href'}),_0x2cb804['consumable']['consume'](_0x333ac0,{'name':!0x0,'classes':'footnote-content'}));if(_0x349200){if(_0x21c11c)_0x2cb804['convertChildren'](_0x349200,_0x7c5665);else{const _0x4592ec=_0x2cb804['writer']['createElement']('footnoteInlineContent');_0x2cb804['writer']['insert'](_0x4592ec,_0x7c5665),_0x2cb804['convertChildren'](_0x349200,_0x4592ec);}}_0x2cb804['updateConversionResult'](_0x7c5665,_0x36fcb5);});}),_0x34f560['for']('dataDowncast')['elementToStructure']({'model':{'name':'footnoteDefinition','attributes':['footnoteId']},'view':(_0x395943,{writer:_0x5209e9})=>y(_0x395943,_0x5209e9,_0x5b6d27,{'dataPipeline':!0x0})}),_0x34f560['for']('editingDowncast')['elementToStructure']({'model':{'name':'footnoteDefinition','attributes':['footnoteId']},'view':(_0x5a6e5d,{writer:_0x3dd4c6})=>y(_0x5a6e5d,_0x3dd4c6,_0x5b6d27)});}['_defineBogusParagraphConverters'](){const {editor:_0x490552}=this,{conversion:_0x3d108b}=_0x490552;_0x490552['config']['get']('footnotes.multiBlock')?(_0x3d108b['for']('editingDowncast')['elementToElement']({'model':'paragraph','view':p(),'converterPriority':'high'}),_0x3d108b['for']('dataDowncast')['elementToElement']({'model':'paragraph','view':p({'dataPipeline':!0x0}),'converterPriority':'high'}),this['listenTo'](_0x490552['model']['document'],'change:data',()=>{!function(_0x4692cb,_0x57159d){const _0x576509=_0x4692cb['document']['differ'],_0x31d351=new Set();for(const _0x4f98c0 of _0x576509['getChanges']()){const _0x26c2b7='attribute'==_0x4f98c0['type']?_0x4f98c0['range']['start']['parent']:_0x4f98c0['position']['parent'];_0x26c2b7['is']('element','footnoteDefinition')&&_0x31d351['add'](_0x26c2b7);}for(const _0x304817 of _0x31d351['values']()){const _0x186d09=Array['from'](_0x304817['getChildren']())['filter'](_0x35d021=>v(_0x35d021,_0x57159d['mapper']));for(const _0x3220a9 of _0x186d09)_0x57159d['reconvertItem'](_0x3220a9);}}(_0x490552['model'],_0x490552['editing']);})):(_0x3d108b['for']('editingDowncast')['elementToElement']({'model':'footnoteInlineContent','view':p()}),_0x3d108b['for']('dataDowncast')['elementToElement']({'model':'footnoteInlineContent','view':(_0x5a16a5,{writer:_0x312069})=>{const _0x32944c=_0x312069['createContainerElement']('span');return _0x312069['setCustomProperty']('dataPipeline:transparentRendering',!0x0,_0x32944c),_0x32944c;}}));}['_defineKeyboardHandlers'](){const {editor:_0x5b090d}=this,{editing:_0x3a1ca0,t:t}=_0x5b090d,_0x51fa32=_0x5b090d['model']['document']['selection'];_0x5b090d['keystrokes']['set']('Ctrl+Alt+F','insertFootnote'),_0x5b090d['accessibility']['addKeystrokeInfos']({'keystrokes':[{'label':t('Insert\x20footnote'),'keystroke':'Ctrl+Alt+F'}]}),this['listenTo'](_0x3a1ca0['view']['document'],'enter',(_0x129ac4,_0x2525e0)=>{const _0x48956a=function(_0x28b574){const _0x1385cf=_0x28b574['getSelectedElement']();if(_0x1385cf?.['is']('element','footnoteRef'))return _0x1385cf;return null;}(_0x51fa32);if(_0x48956a){const _0x514f23=_0x48956a['getAttribute']('footnoteId');this['_moveSelectionToFootnoteDefinition'](_0x514f23),_0x2525e0['preventDefault'](),_0x129ac4['stop']();}},{'context':_0x55db2e});}['_defineClickHandlers'](){const {editor:_0x2b2c42}=this,{editing:_0x22a73e}=_0x2b2c42;_0x2b2c42['editing']['view']['addObserver'](_0x5def74),_0x2b2c42['editing']['view']['addObserver'](_0xa76f8d);let _0x2ddaaf=!0x1;this['listenTo'](_0x22a73e['view']['document'],'pointerdown',(_0x5c6320,_0x130c32)=>{const {target:_0x46db5f}=_0x130c32,_0xc2eb2c=_0x22a73e['view']['document']['selection'];_0x2ddaaf=!!(_0x46db5f?.['is']('element','a')&&_0x46db5f['parent']?.['is']('element','sup')&&_0x46db5f['parent']['hasClass']('footnote'))&&_0xc2eb2c['getSelectedElement']()===_0x46db5f['parent'];},{'priority':'high'}),this['listenTo'](_0x22a73e['view']['document'],'click',(_0x4fb3b8,_0x4a2e91)=>{const {target:_0x1e4331}=_0x4a2e91;if(!_0x1e4331?.['is']('element','a'))return;if(_0x1e4331['parent']?.['is']('element','sup')&&_0x1e4331['parent']['hasClass']('footnote')&&!_0x2ddaaf)return void _0x4a2e91['preventDefault']();let _0x2cf806=_0x1e4331['getAttribute']('href');if(!_0x2cf806?.['startsWith']('#'))return;_0x2cf806=_0x2cf806['slice'](0x1);let _0x49bf2d=!0x1;(_0x2cf806['startsWith']('ref-')&&this['_moveSelectionToFootnoteReference'](_0x2cf806['slice'](0x4))||this['_moveSelectionToFootnoteDefinition'](_0x2cf806))&&(_0x49bf2d=!0x0),_0x49bf2d&&(_0x4a2e91['preventDefault'](),_0x4fb3b8['stop']());},{'priority':'high','context':'$capture'});}}function p({dataPipeline:_0x40efe3}={}){return(_0x508c35,{writer:_0x1b62e0})=>{if(!g(_0x508c35))return null;if(!_0x40efe3)return _0x1b62e0['createContainerElement']('span',{'class':'ck-footnote-bogus-paragraph'});const _0x598c79=_0x1b62e0['createContainerElement']('p');return _0x1b62e0['setCustomProperty']('dataPipeline:transparentRendering',!0x0,_0x598c79),_0x598c79;};}function g(_0x1acb55){const {parent:_0x1ff3ad}=_0x1acb55;if(!_0x1ff3ad?.['is']('element','footnoteDefinition'))return!0x1;if(0x1!=_0x1ff3ad['childCount'])return!0x1;for(const _0x146b46 of _0x1acb55['getAttributeKeys']())if(!_0x146b46['startsWith']('selection:')&&'htmlEmptyBlock'!=_0x146b46)return!0x1;return!0x0;}function v(_0x236ec2,_0x48610d){if(!_0x236ec2['is']('element','paragraph'))return!0x1;const _0x5d5ca4=_0x48610d['toViewElement'](_0x236ec2);return!!_0x5d5ca4&&g(_0x236ec2)!==_0x5d5ca4['is']('element','span');}function Q(_0xa21db4){return _0x55db2e(_0xa21db4)&&_0xa21db4['is']('containerElement')&&!!_0xa21db4['getCustomProperty']('footnotesDefinitions');}function D(_0x27191c,_0x480b94={}){const _0x5a9ed8=_0x27191c['createEmptyElement']('hr',{'class':'footnotes-divider'}),_0x77b30c=_0x27191c['createContainerElement']('ol',{'class':'footnotes-list'},_0x27191c['createSlot']());return _0x27191c['createContainerElement']('div',{'class':'footnotes',..._0x480b94},[_0x5a9ed8,_0x77b30c]);}function b(_0x9de4ea,_0x1ca32d){const _0x33a839=_0x9de4ea['getAttribute']('footnoteId'),_0x112913=_0x9de4ea['getAttribute']('footnoteCounter'),_0x535c16=_0x1ca32d['createUIElement']('a',{'href':'#'+_0x33a839},function(_0x5c1ada){const _0x2952c5=this['toDomElement'](_0x5c1ada);return _0x2952c5['textContent']=_0x112913,_0x2952c5;}),_0x439b76=_0x1ca32d['createContainerElement']('sup',{'id':'ref-'+_0x33a839,'class':'footnote'},[_0x535c16]);return _0x439b76['getFillerOffset']=()=>null,_0x439b76;}function y(_0x2c8cf8,_0x5db487,_0x42d63b,{dataPipeline:_0xb52941}={}){const {t:t}=_0x42d63b,_0x4841f5=_0x2c8cf8['getAttribute']('footnoteId'),_0x1c27c2=_0x5db487['createUIElement']('a',{'class':'footnote-backlink','href':'#ref-'+_0x4841f5},function(_0x319ea0){const _0x5c87eb=this['toDomElement'](_0x319ea0);return _0x5c87eb['innerText']='^',_0x5c87eb;}),_0x3afe64=_0xb52941?_0x5db487['createContainerElement']('div',{'class':'footnote-content'}):_0x33cd15(_0x5db487['createEditableElement']('div',{'class':'footnote-content'}),_0x5db487,{'label':t('Footnote\x20content.')});return _0x5db487['insert'](_0x5db487['createPositionAt'](_0x3afe64,0x0),_0x5db487['createSlot']()),_0x5db487['createContainerElement']('li',{'class':'footnote-definition','id':_0x4841f5},[_0x1c27c2,_0x3afe64]);}class e extends _0x54fc79{static get['pluginName'](){return'FootnotesClipboard';}static get['requires'](){return[r,_0x1bf577];}static get['isOfficialPlugin'](){return!0x0;}static get['isPremiumPlugin'](){return!0x0;}['init'](){this['_defineClipboardIntegration']();}['_defineClipboardIntegration'](){this['_handleCopyFootnotesDefinitions'](),this['_handlePasteFootnotesDefinitions']();}['_handleCopyFootnotesDefinitions'](){const {editor:_0x52f746}=this,{plugins:_0x340666,model:_0x455434}=_0x52f746,_0x5c63d2=_0x340666['get'](_0x1bf577),_0x2a3ac1=_0x340666['get'](f);this['listenTo'](_0x5c63d2,'outputTransformation',(_0x51e613,_0x2a7e79)=>{const _0x199b1a=l(_0x455434['createRangeIn'](_0x2a7e79['content']));if(!_0x199b1a['length'])return;const _0x48d509=_0x2a3ac1['getFootnotes'](),_0x4fb0f5=_0x199b1a['reduce']((_0x41c5a0,_0x3b1007)=>{const _0x57a198=_0x48d509['find'](_0x1fecca=>_0x1fecca['id']===_0x3b1007);if(_0x57a198){const _0x1ba98d=_0x52f746['data']['toView'](_0x57a198['definition'],{'isClipboardPipeline':!0x0}),_0x27e188=_0x52f746['data']['htmlProcessor']['toData'](_0x1ba98d);_0x41c5a0[_0x57a198['id']]=_0x27e188;}return _0x41c5a0;},Object['create'](null));_0x2a7e79['dataTransfer']['setData']('application/ckeditor5-footnotes',JSON['stringify'](_0x4fb0f5));});}['_handlePasteFootnotesDefinitions'](){const {editor:_0x152d32}=this,{model:_0x1134c1,plugins:_0x119b44}=_0x152d32,{view:_0x2db7c6}=_0x152d32['editing'],_0x4800dc=_0x119b44['get'](_0x1bf577),_0x4f3277=_0x119b44['get'](f),_0xc2a0d8=_0x152d32['config']['get']('footnotes.multiBlock');let _0x4038b1=null;this['listenTo'](_0x2db7c6['document'],'clipboardInput',(_0x38d70e,_0x5db043)=>{const _0x32ee94=_0x5db043['dataTransfer']['getData']('application/ckeditor5-footnotes');_0x4038b1=_0x32ee94?JSON['parse'](_0x32ee94):null;}),this['listenTo'](_0x4800dc,'contentInsertion',(_0x112b7d,_0x53cd29)=>{const _0xc1e4d6=_0x53cd29['sourceEditorId']===this['editor']['id'];_0xc1e4d6&&'drop'===_0x53cd29['method']||_0x1134c1['change'](_0xe32575=>{let _0x3b34ff=_0x4f3277['getFootnotesDefinitionsObjectElement']();const _0x3d612a=!!_0x3b34ff&&Array['from'](_0x1134c1['document']['selection']['getSelectedBlocks']())['includes'](_0x3b34ff);if(!_0x4038b1&&function(_0x355d5e){for(const {item:_0x172b00}of _0x355d5e)if(_0x172b00['is']('element','footnoteRef'))return!0x0;return!0x1;}(_0x1134c1['createRangeIn'](_0x53cd29['content']))&&(_0x4038b1=function(_0x352ee7,_0x1b24bd){const _0x2a764a=c(_0x352ee7,_0x1b24bd);if(!_0x2a764a)return null;const _0x15b24a=Object['create'](null);for(const _0x44eb05 of _0x2a764a['getChildren']())_0x44eb05['is']('element','footnoteDefinition')&&_0x44eb05['hasAttribute']('footnoteId')&&(_0x15b24a[_0x44eb05['getAttribute']('footnoteId')]=_0x352ee7['cloneElement'](_0x44eb05,!0x0));return Object['keys'](_0x15b24a)['length']?_0x15b24a:null;}(_0xe32575,_0x53cd29['content'])),(_0x3b34ff&&!_0x3d612a||!_0x3b34ff&&!_0x4038b1)&&function(_0x56ff0b,_0x60444c){const _0x270963=[];for(const {item:_0x25ec3e}of _0x56ff0b['createRangeIn'](_0x60444c))_0x25ec3e['is']('element','footnotesDefinitions')&&_0x270963['push'](_0x25ec3e);for(const _0x380764 of _0x270963)_0x56ff0b['remove'](_0x380764);}(_0xe32575,_0x53cd29['content']),!_0x4038b1)return;const {selection:_0x589764}=_0x1134c1['document'],_0x538c7b=_0x589764['getFirstRange']()['root'];_0x3b34ff&&!_0x3d612a||(_0x3b34ff=c(_0xe32575,_0x53cd29['content']),_0x3b34ff||=_0x4f3277['_insertEmptyFootnotesDefinitionsContainer'](_0xe32575,_0x538c7b));const _0x306a02=Array['from'](_0x589764['getRanges']())['flatMap'](l),_0x59aa0b=function(_0x4243b9,_0x5b1ca9,_0x2ecf72){const _0x218d4a=Object['create'](null);for(const {item:_0x42ac1a}of _0x4243b9['createRangeIn'](_0x5b1ca9))if(_0x42ac1a['is']('element','footnoteRef')){const _0x2aae8=_0x42ac1a['getAttribute']('footnoteId');if(!_0x2ecf72(_0x2aae8))continue;_0x218d4a[_0x2aae8]||(_0x218d4a[_0x2aae8]=_0x29f82b()),_0x4243b9['setAttribute']('footnoteId',_0x218d4a[_0x2aae8],_0x42ac1a);}return _0x218d4a;}(_0xe32575,_0x53cd29['content'],_0x131d61=>{if(!_0xc1e4d6)return!0x0;return!!_0x4f3277['getFootnote'](_0x131d61)&&!_0x306a02['includes'](_0x131d61);});for(const [_0x525955,_0x5d19e1]of Object['entries'](_0x4038b1)){const _0x55104b=_0x59aa0b[_0x525955]||_0x525955;let _0x356ec4;if('string'!=typeof _0x5d19e1)_0x356ec4=_0x5d19e1,_0x55104b!==_0x525955&&_0xe32575['setAttribute']('footnoteId',_0x55104b,_0x356ec4);else{_0x356ec4=_0xe32575['createElement']('footnoteDefinition',{'footnoteId':_0x55104b});const _0x2a1333=_0x152d32['data']['htmlProcessor']['toView'](_0x5d19e1);let _0x5b6641;if(_0xc2a0d8)_0x5b6641=_0x152d32['data']['toModel'](_0x2a1333,_0x356ec4);else{_0x5b6641=_0xe32575['createElement']('footnoteInlineContent');const _0x1dc805=_0x152d32['data']['toModel'](_0x2a1333,_0x5b6641);_0xe32575['insert'](_0x1dc805,_0x5b6641);}_0xe32575['append'](_0x5b6641,_0x356ec4);}_0xe32575['insert'](_0x356ec4,_0x3b34ff,'end');}_0x4038b1=null;});});}}function c(_0x55ed4b,_0x4ee466){for(const {item:_0x3c665a}of _0x55ed4b['createRangeIn'](_0x4ee466))if(_0x3c665a['is']('element','footnotesDefinitions'))return _0x3c665a;return null;}function l(_0x3610e7){const _0x43f3c4=new Set();for(const {item:_0x4b1425}of _0x3610e7)_0x4b1425['is']('element','footnoteRef')&&_0x43f3c4['add'](_0x4b1425['getAttribute']('footnoteId'));return Array['from'](_0x43f3c4);}class i extends _0x54fc79{['licenseKey'];['_licenseKeyCheckInterval'];static get['pluginName'](){return'FootnotesUI';}static get['isOfficialPlugin'](){return!0x0;}static get['isPremiumPlugin'](){return!0x0;}['init'](){const {editor:_0x45a65a}=this,{componentFactory:_0x2b524c}=_0x45a65a['ui'];_0x2b524c['add']('insertFootnote',E(_0x45a65a,_0x1341bf)),_0x2b524c['add']('menuBar:insertFootnote',E(_0x45a65a,_0x400304)),this['licenseKey']=this['editor']['config']['get']('licenseKey');const _0x55a7af=this['editor'];this['_licenseKeyCheckInterval']=setInterval(()=>{let _0x597322;for(const _0x4e3100 in _0x55a7af){const _0x539775=_0x4e3100,_0x3265b3=_0x55a7af[_0x539775];if('footnotesLicenseKeyValid'==_0x3265b3||'footnotesLicenseKeyInvalid'==_0x3265b3||'footnotesLicenseKeyExpired'==_0x3265b3||'footnotesLicenseKeyDomainLimit'==_0x3265b3||'footnotesLicenseKeyNotAllowed'==_0x3265b3||'footnotesLicenseKeyEvaluationLimit'==_0x3265b3||'footnotesLicenseKeyUsageLimit'==_0x3265b3){delete _0x55a7af[_0x539775],_0x597322=_0x3265b3,clearInterval(this['_licenseKeyCheckInterval']),this['_licenseKeyCheckInterval']=void 0x0;break;}}'footnotesLicenseKeyInvalid'==_0x597322&&_0x55a7af['_showLicenseError']('invalid'),'footnotesLicenseKeyExpired'==_0x597322&&_0x55a7af['_showLicenseError']('expired'),'footnotesLicenseKeyDomainLimit'==_0x597322&&_0x55a7af['_showLicenseError']('domainLimit'),'footnotesLicenseKeyNotAllowed'==_0x597322&&_0x55a7af['_showLicenseError']('featureNotAllowed','Footnotes'),'footnotesLicenseKeyEvaluationLimit'==_0x597322&&_0x55a7af['_showLicenseError']('evaluationLimit'),'footnotesLicenseKeyUsageLimit'==_0x597322&&_0x55a7af['_showLicenseError']('usageLimit');},0x3e8);}['destroy'](){super['destroy'](),this['_licenseKeyCheckInterval']&&clearInterval(this['_licenseKeyCheckInterval']);}}function E(_0x4a9b0a,_0x4707b9){const _0x5f5d67=_0x4a9b0a['commands']['get']('insertFootnote');return _0x12394b=>{const {t:t}=_0x12394b,_0x557d1=new _0x4707b9(_0x12394b),_0x8780a8=_0x557d1 instanceof _0x400304;return _0x557d1['bind']('isEnabled')['to'](_0x5f5d67,'isEnabled'),_0x557d1['set']({'label':t(_0x8780a8?'Footnote':'Insert\x20footnote'),'icon':_0x4a5924,'tooltip':!0x0}),_0x557d1['on']('execute',()=>{_0x5f5d67['execute'](),_0x4a9b0a['editing']['view']['focus']();}),_0x557d1;};}class lt extends _0x54fc79{static get['pluginName'](){return'Footnotes';}static get['requires'](){return[r,e,i];}static get['isOfficialPlugin'](){return!0x0;}static get['isPremiumPlugin'](){return!0x0;}}const W=['decimal','decimal-leading-zero','lower-latin','upper-latin','lower-alpha','upper-alpha','lower-roman','upper-roman'];class S extends _0x4d85ab{['refresh'](){const {editor:_0x5af6d3}=this,_0x4543bb=_0x5af6d3['plugins']['get'](f)['getFootnotesDefinitionsObjectElement']();this['isEnabled']=!!_0x4543bb,this['value']=_0x4543bb?.['getAttribute']('footnotesListStyle')??null;}['execute']({value:_0x289f35}){const {editor:_0x4a254b}=this,_0x198660=_0x4a254b['plugins']['get'](f),_0x36c678=_0x198660['getFootnotesDefinitionsObjectElement']();_0x36c678&&W['includes'](_0x289f35)&&_0x4a254b['model']['change'](_0x1ff7ba=>{_0x1ff7ba['setAttribute']('footnotesListStyle',_0x289f35,_0x36c678),_0x198660['_updateFootnotesCounters'](_0x1ff7ba);});}}class C extends _0x4d85ab{['refresh'](){const {editor:_0x522b7a}=this,_0x1b3770=_0x522b7a['plugins']['get'](f)['getFootnotesDefinitionsObjectElement']();this['isEnabled']=!!_0x1b3770,this['value']=_0x1b3770?.['getAttribute']('footnotesListStart')??null;}['execute']({value:_0x4c32c7}){const {editor:_0xf7c155}=this,_0x4b137c=_0xf7c155['plugins']['get'](f),_0x3eef78=_0x4b137c['getFootnotesDefinitionsObjectElement']();_0x3eef78&&Number['isInteger'](_0x4c32c7)&&_0xf7c155['model']['change'](_0x386b88=>{_0x386b88['setAttribute']('footnotesListStart',_0x4c32c7,_0x3eef78),_0x4b137c['_updateFootnotesCounters'](_0x386b88);});}}class P extends _0x54fc79{static get['pluginName'](){return'FootnotesPropertiesEditing';}static get['requires'](){return[r,f];}static get['isOfficialPlugin'](){return!0x0;}static get['isPremiumPlugin'](){return!0x0;}['init'](){const {editor:_0x24c439}=this;_0x24c439['config']['define']('footnotes.footnotesProperties.defaultListStyle','decimal'),_0x24c439['config']['define']('footnotes.footnotesProperties.defaultStartIndex',0x1),_0x24c439['commands']['add']('footnotesStyle',new S(_0x24c439)),_0x24c439['commands']['add']('footnotesStart',new C(_0x24c439)),this['_defineSchema'](),this['_defineConverters'](),this['_defineFormatter'](),this['_definePostfixer']();}['_defineSchema'](){const {editor:_0x282144}=this,{schema:_0x32fb3b}=_0x282144['model'];_0x32fb3b['extend']('footnotesDefinitions',{'allowAttributes':['footnotesListStyle','footnotesListStart']});}['_defineConverters'](){const {editor:_0x259791}=this,{conversion:_0x2163af,model:_0x5033d2}=_0x259791,{schema:_0x4aafb6}=_0x5033d2;_0x2163af['for']('upcast')['add'](_0x58d5ef=>{_0x58d5ef['on']('element:ol',(_0x5738c1,_0x3240e8,_0x2f6e44)=>{const _0x5dbaa4=_0x3240e8['viewItem'],_0x3e404e=_0x3240e8['modelCursor']?.['parent'];_0x5dbaa4['hasClass']('footnotes-list')&&_0x3e404e?.['is']('element','footnotesDefinitions')&&(function(_0x2539ce,_0x39d17f,_0x23e98b,_0x3ae865){if(!_0x3ae865['checkAttribute'](_0x39d17f,'footnotesListStart'))return;let _0x3ef213=0x1;const _0x35578d=_0x23e98b['consumable']['consume'](_0x2539ce,{'attributes':'start'});if(_0x35578d){const _0x508a20=Number['parseInt'](_0x2539ce['getAttribute']('start'),0xa);Number['isNaN'](_0x508a20)||(_0x3ef213=_0x508a20);}!_0x35578d&&_0x39d17f['hasAttribute']('footnotesListStart')||_0x23e98b['writer']['setAttribute']('footnotesListStart',_0x3ef213,_0x39d17f);}(_0x5dbaa4,_0x3e404e,_0x2f6e44,_0x4aafb6),function(_0x2aca49,_0x38efaa,_0x72083a,_0x2c97a6){if(!_0x2c97a6['checkAttribute'](_0x38efaa,'footnotesListStyle'))return;let _0x35c887='decimal',_0x56d5cb=!0x1;if(_0x72083a['consumable']['consume'](_0x2aca49,{'attributes':'type'})){const _0x1169c6={0x1:'decimal','a':'lower-alpha','A':'upper-alpha','i':'lower-roman','I':'upper-roman'}[_0x2aca49['getAttribute']('type')];_0x1169c6&&(_0x35c887=_0x1169c6),_0x56d5cb=!0x0;}_0x72083a['consumable']['consume'](_0x2aca49,{'styles':'list-style-type'})&&(_0x35c887=function(_0x52f3ec){switch(_0x52f3ec){case'lower-alpha':return'lower-latin';case'upper-alpha':return'upper-latin';default:return _0x52f3ec;}}(_0x2aca49['getStyle']('list-style-type')),_0x56d5cb=!0x0),!_0x56d5cb&&_0x38efaa['hasAttribute']('footnotesListStyle')||_0x72083a['writer']['setAttribute']('footnotesListStyle',_0x35c887,_0x38efaa);}(_0x5dbaa4,_0x3e404e,_0x2f6e44,_0x4aafb6));});}),_0x2163af['for']('downcast')['add'](_0x3c23ce=>{_0x3c23ce['on']('attribute:footnotesListStart:footnotesDefinitions',(_0x1d3440,_0x101bdd,_0x3daf06)=>{if(!_0x3daf06['consumable']['consume'](_0x101bdd['item'],_0x1d3440['name']))return;const _0x503879=M(_0x101bdd['item'],_0x3daf06['mapper']),{attributeNewValue:_0x11380b}=_0x101bdd;null==_0x11380b||0x1===_0x11380b?_0x3daf06['writer']['removeAttribute']('start',_0x503879):_0x3daf06['writer']['setAttribute']('start',String(_0x11380b),_0x503879);}),_0x3c23ce['on']('attribute:footnotesListStyle:footnotesDefinitions',(_0x18ad68,_0x15c24a,_0x4086a3)=>{if(!_0x4086a3['consumable']['consume'](_0x15c24a['item'],_0x18ad68['name']))return;const _0x3bf639=M(_0x15c24a['item'],_0x4086a3['mapper']),{attributeNewValue:_0x52e9ad}=_0x15c24a;_0x52e9ad&&'decimal'!==_0x52e9ad?_0x4086a3['writer']['setStyle']('list-style-type',_0x52e9ad,_0x3bf639):_0x4086a3['writer']['removeStyle']('list-style-type',_0x3bf639);});});}['_definePostfixer'](){const {editor:_0x545a69}=this,{model:_0x9796c3}=_0x545a69,_0x520957=_0x545a69['plugins']['get'](f),_0x3fd849=this['_getDefaultListStyle'](),_0x5539f6=this['_getDefaultStartIndex']();_0x9796c3['document']['registerPostFixer'](_0x89afdd=>{const _0x2e8e69=_0x9796c3['document']['differ']['getChanges']();let _0x57554a=!0x1;for(const _0x2a035a of _0x2e8e69){if('insert'!==_0x2a035a['type']||'$text'===_0x2a035a['name'])continue;const _0x2cb173=_0x9796c3['createRangeOn'](_0x2a035a['position']['nodeAfter']);for(const _0x86bda of _0x2cb173['getItems']())_0x86bda['is']('element','footnotesDefinitions')&&(!_0x86bda['hasAttribute']('footnotesListStart')&&_0x9796c3['schema']['checkAttribute'](_0x86bda,'footnotesListStart')&&(_0x89afdd['setAttribute']('footnotesListStart',_0x5539f6,_0x86bda),_0x57554a=!0x0),!_0x86bda['hasAttribute']('footnotesListStyle')&&_0x9796c3['schema']['checkAttribute'](_0x86bda,'footnotesListStyle')&&(_0x89afdd['setAttribute']('footnotesListStyle',_0x3fd849,_0x86bda),_0x57554a=!0x0));}return _0x57554a&&_0x520957['_updateFootnotesCounters'](_0x89afdd),_0x57554a;});}['_defineFormatter'](){const {editor:_0x4904cb}=this;_0x4904cb['plugins']['get'](f)['setFootnoteFormatter'](_0x2fef7b=>this['_formatFootnoteListValue'](_0x2fef7b));}['_getDefaultListStyle'](){return this['editor']['config']['get']('footnotes.footnotesProperties.defaultListStyle');}['_getDefaultStartIndex'](){return this['editor']['config']['get']('footnotes.footnotesProperties.defaultStartIndex');}['_formatFootnoteListValue']({container:_0x39cb90,value:_0x33d94b,digits:_0x300984}){const _0x2d7e90=_0x39cb90['getAttribute']('footnotesListStyle'),_0x2a3b5e=_0x39cb90['getAttribute']('footnotesListStart'),_0x23ec3c=Math['floor'](_0x33d94b)+(_0x2a3b5e??0x1)-0x1;switch(_0x2d7e90){case'decimal-leading-zero':return function(_0x4d18cb,_0x2ed58c){return String(_0x4d18cb)['padStart'](_0x2ed58c,'0');}(_0x23ec3c,Math['max'](0x2,_0x300984));case'lower-alpha':case'lower-latin':return N(_0x23ec3c,!0x1);case'upper-alpha':case'upper-latin':return N(_0x23ec3c,!0x0);case'lower-roman':return X(_0x23ec3c,!0x1);case'upper-roman':return X(_0x23ec3c,!0x0);default:return String(_0x23ec3c);}}}function M(_0x524091,_0x5dca63){const _0x1753f5=_0x5dca63['toViewElement'](_0x524091);return Array['from'](_0x1753f5['getChildren']())['find'](_0x1772fd=>_0x1772fd['is']('element','ol')&&_0x1772fd['hasClass']('footnotes-list'));}function N(_0x2cb7ee,_0xc26da){let _0x46c29e='',_0x1e2275=_0x2cb7ee;for(;_0x1e2275>0x0;){const _0x38fbb9=(_0x1e2275-0x1)%0x1a;_0x46c29e=String['fromCharCode'](0x61+_0x38fbb9)+_0x46c29e,_0x1e2275=Math['floor']((_0x1e2275-0x1)/0x1a);}return _0xc26da?_0x46c29e['toUpperCase']():_0x46c29e;}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(_0x387c1c,_0x1593ab){let _0x2f37a4='',_0xb3a97f=_0x387c1c;for(const {value:_0x1bee9d,numeral:_0x1c4b49}of V)for(;_0xb3a97f>=_0x1bee9d;)_0x2f37a4+=_0x1c4b49,_0xb3a97f-=_0x1bee9d;return _0x1593ab?_0x2f37a4:_0x2f37a4['toLowerCase']();}class J extends _0x33907a{['children'];['stylesView']=null;['additionalProperties']=null;['startIndexFieldView']=null;['focusTracker']=new rt();['keystrokes']=new nt();['focusables']=new _0x336290();['focusCycler'];constructor(_0xfde0a,{styleButtonViews:_0x1cc574,styleGridAriaLabel:_0x3314c7}){super(_0xfde0a),(this['focusCycler']=new tt({'focusables':this['focusables'],'focusTracker':this['focusTracker'],'keystrokeHandler':this['keystrokes'],'actions':{'focusPrevious':'shift\x20+\x20tab','focusNext':'tab'}}),this['children']=this['createCollection'](),this['stylesView']=this['_appendStylesView'](_0x1cc574,_0x3314c7),[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 _0x1fd21d of this['stylesView']['children'])this['stylesView']['focusTracker']['add'](_0x1fd21d['element']);st({'keystrokeHandler':this['stylesView']['keystrokes'],'focusTracker':this['stylesView']['focusTracker'],'gridItems':this['stylesView']['children'],'numberOfColumns':()=>at['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 _0x3285e8=_0x4b64bf=>_0x4b64bf['stopPropagation']();this['keystrokes']['set']('arrowright',_0x3285e8),this['keystrokes']['set']('arrowleft',_0x3285e8),this['keystrokes']['set']('arrowup',_0x3285e8),this['keystrokes']['set']('arrowdown',_0x3285e8);}this['keystrokes']['listenTo'](this['element']);}['focus'](){this['focusCycler']['focusFirst']();}['focusLast'](){this['focusCycler']['focusLast']();}['destroy'](){super['destroy'](),this['focusTracker']['destroy'](),this['keystrokes']['destroy']();}['_appendStylesView'](_0x2df8e5,_0x1edf5b){const _0x3c16ac=new _0x33907a(this['locale']);return _0x3c16ac['children']=_0x3c16ac['createCollection'](),_0x3c16ac['children']['addMany'](_0x2df8e5),_0x3c16ac['setTemplate']({'tag':'div','attributes':{'aria-label':_0x1edf5b,'class':['ck','ck-footnotes-definitions-styles-list']},'children':_0x3c16ac['children']}),_0x3c16ac['children']['delegate']('execute')['to'](this),_0x3c16ac['focus']=function(){for(const _0x1a6400 of this['children'])if(_0x1a6400 instanceof _0x1341bf&&_0x1a6400['isOn'])return void _0x1a6400['focus']();this['children']['first']['focus']();},_0x3c16ac['focusTracker']=new rt(),_0x3c16ac['keystrokes']=new nt(),_0x3c16ac['render'](),_0x3c16ac['keystrokes']['listenTo'](_0x3c16ac['element']),this['children']['add'](_0x3c16ac),_0x3c16ac;}['_appendAdditionalPropertiesCollapsibleView'](){const {t:t}=this['locale'],_0x206a60=this['_createStartIndexPropertyView'](),_0x1ec004=[_0x206a60],_0x39182b=new it(this['locale'],_0x1ec004);return _0x39182b['set']({'label':t('Footnotes\x20properties'),'isCollapsed':!0x0}),_0x39182b['buttonView']['bind']('isEnabled')['toMany'](_0x1ec004,'isEnabled',(..._0xb60c62)=>_0xb60c62['some'](_0x348109=>_0x348109)),_0x39182b['buttonView']['on']('change:isEnabled',(_0x13571a,_0x8f8ae3,_0x1aeaae)=>{_0x1aeaae||(_0x39182b['isCollapsed']=!0x0);}),this['children']['add'](_0x39182b),[_0x206a60,_0x39182b];}['_createStartIndexPropertyView'](){const {t:t}=this['locale'],_0x4e257b=new et(this['locale'],ot);return _0x4e257b['set']({'label':t('Footnotes\x20start\x20at'),'class':'ck-footnotes-definitions-properties__start-index'}),_0x4e257b['fieldView']['set']({'min':0x0,'max':Math['pow'](0x2,0x1e),'step':0x1,'value':0x1,'inputMode':'numeric'}),_0x4e257b['fieldView']['on']('input',()=>{const _0x155a06=_0x4e257b['fieldView']['element'],_0x1b1cfd=_0x155a06['valueAsNumber'];Number['isNaN'](_0x1b1cfd)?_0x4e257b['errorText']=t('Invalid\x20footnotes\x20start\x20index\x20value.'):_0x155a06['checkValidity']()?this['fire']('footnotesListStart',{'startIndex':_0x1b1cfd}):_0x4e257b['errorText']=t(_0x1b1cfd<0x0?'Footnotes\x20start\x20index\x20must\x20be\x20greater\x20than\x200.':'Footnotes\x20start\x20index\x20is\x20too\x20large.');}),_0x4e257b;}}class j extends _0x54fc79{static get['pluginName'](){return'FootnotesPropertiesUI';}static get['requires'](){return[_0x42a4b0,_0x32f537];}static get['isOfficialPlugin'](){return!0x0;}static get['isPremiumPlugin'](){return!0x0;}['init'](){const {editor:_0x2b1f9c}=this,{componentFactory:_0x4c3719}=_0x2b1f9c['ui'];_0x2b1f9c['config']['define']('footnotes.footnotesProperties.toolbar',['footnotesStyle']),_0x4c3719['add']('footnotesStyle',function(_0x56eeee){return _0x3e8199=>{const {t:t}=_0x3e8199,_0x3335bf=_0x56eeee['commands']['get']('footnotesStyle'),_0x147994=_0x221538(_0x3e8199),{buttonView:_0x240760}=_0x147994;return _0x147994['class']='ck-footnotes-styles-dropdown',_0x147994['bind']('isEnabled')['to'](_0x3335bf,'isEnabled'),_0x240760['set']({'label':t('Footnotes\x20style'),'icon':_0x4a5924,'tooltip':!0x0}),_0x147994['once']('change:isOpen',()=>{const _0x55c7f3=function({editor:_0x2a64a7,dropdownView:_0x488f0d}){const {t:t}=_0x2a64a7['locale'],_0x53e420=t('Footnotes\x20definitions\x20styles'),_0x3d9139=function(_0x2f97e9){const t=_0x2f97e9['locale']['t'],_0x3fc26a=[{'label':t('Toggle\x20the\x20decimal\x20footnotes\x20style'),'tooltip':t('Decimal\x20footnotes'),'style':'decimal','icon':_0x2a1c01},{'label':t('Toggle\x20the\x20decimal\x20with\x20leading\x20zero\x20footnotes\x20style'),'tooltip':t('Decimal\x20footnotes\x20with\x20leading\x20zero'),'style':'decimal-leading-zero','icon':_0x32d776},{'label':t('Toggle\x20the\x20lower–roman\x20footnotes\x20style'),'tooltip':t('Lower–roman\x20footnotes'),'style':'lower-roman','icon':_0xbbab5a},{'label':t('Toggle\x20the\x20upper–roman\x20footnotes\x20style'),'tooltip':t('Upper-roman\x20footnotes'),'style':'upper-roman','icon':_0x565e32},{'label':t('Toggle\x20the\x20lower–latin\x20footnotes\x20style'),'tooltip':t('Lower-latin\x20footnotes'),'style':'lower-latin','icon':_0x2183eb},{'label':t('Toggle\x20the\x20upper–latin\x20footnotes\x20style'),'tooltip':t('Upper-latin\x20footnotes'),'style':'upper-latin','icon':_0x2639dc}];return _0x3fc26a['map'](function(_0x3dc9a4){const _0x42257a=_0x3dc9a4['locale'];return({label:_0x153fcc,icon:_0x33ca14,tooltip:_0x2057e5,style:_0x541376})=>{const _0x80ec9e=_0x3dc9a4['commands']['get']('footnotesStyle'),_0x10f505=new _0x1341bf(_0x42257a);return _0x10f505['set']({'label':_0x153fcc,'icon':_0x33ca14,'tooltip':_0x2057e5}),_0x10f505['bind']('isOn')['to'](_0x80ec9e,'value',_0x10dd60=>_0x10dd60===_0x541376),_0x10f505['bind']('isEnabled')['to'](_0x80ec9e,'isEnabled'),_0x10f505['on']('execute',()=>{_0x3dc9a4['execute']('footnotesStyle',{'value':_0x541376}),_0x3dc9a4['editing']['view']['focus']();}),_0x10f505;};}(_0x2f97e9));}(_0x2a64a7),_0x57f562=new J(_0x2a64a7['locale'],{'styleGridAriaLabel':_0x53e420,'styleButtonViews':_0x3d9139}),_0x10fb70=_0x2a64a7['commands']['get']('footnotesStart');return _0x57f562['startIndexFieldView']['bind']('isEnabled')['to'](_0x10fb70),_0x57f562['startIndexFieldView']['fieldView']['bind']('value')['to'](_0x10fb70),_0x57f562['on']('footnotesListStart',(_0x18dc51,_0x503a88)=>{_0x2a64a7['execute']('footnotesStart',{'value':_0x503a88['startIndex']});}),_0x57f562['delegate']('execute')['to'](_0x488f0d),_0x57f562;}({'editor':_0x56eeee,'dropdownView':_0x147994});_0x147994['panelView']['children']['add'](_0x55c7f3);}),_0x147994;};}(_0x2b1f9c));}['afterInit'](){const {editor:_0x287539}=this,{t:t}=_0x287539['locale'],_0x38cc48=_0x287539['plugins']['get'](_0x32f537),{defaultPositions:_0x2ea256}=_0x2d6142;_0x38cc48['register']('footnotesDefinitions',{'ariaLabel':t('Footnotes\x20definitions\x20toolbar'),'items':_0x287539['config']['get']('footnotes.footnotesProperties.toolbar'),'balloonClassName':'ck-footnotes-style-balloon\x20ck-toolbar-container','getRelatedElement':_0x1ce272=>{let _0x6d0ecf=_0x1ce272['getFirstPosition']()?.['parent'];return _0x6d0ecf?.['is']('$text')&&(_0x6d0ecf=_0x6d0ecf['parent']),_0x6d0ecf?.['is']('element')?_0x6d0ecf['findAncestor'](Q):null;},'positions':[_0x2ea256['southArrowNorth'],_0x2ea256['southArrowNorthMiddleWest'],_0x2ea256['southArrowNorthMiddleEast'],_0x2ea256['southArrowNorthWest'],_0x2ea256['southArrowNorthEast'],_0x2ea256['northArrowSouth'],_0x2ea256['northArrowSouthMiddleWest'],_0x2ea256['northArrowSouthMiddleEast'],_0x2ea256['northArrowSouthWest'],_0x2ea256['northArrowSouthEast'],_0x2ea256['viewportStickyNorth']]});}}class ft extends _0x54fc79{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,f as FootnotesTracker,i as FootnotesUI,h 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':_0x3a1cff=>0x1!=_0x3a1cff}};
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
(
|
|
23
|
+
(_0x54d9ac=>{const {af:{dictionary:_0x20be07,getPluralForm:_0x5e9859}}={'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':_0x297a10=>0x1!=_0x297a10}};_0x54d9ac['af']||={'dictionary':{},'getPluralForm':null},_0x54d9ac['af']['dictionary']=Object['assign'](_0x54d9ac['af']['dictionary'],_0x20be07),_0x54d9ac['af']['getPluralForm']=_0x5e9859;})(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':_0x6b0bfc=>0x0==_0x6b0bfc?0x0:0x1==_0x6b0bfc?0x1:0x2==_0x6b0bfc?0x2:_0x6b0bfc%0x64>=0x3&&_0x6b0bfc%0x64<=0xa?0x3:_0x6b0bfc%0x64>=0xb?0x4:0x5}};
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
(
|
|
23
|
+
(_0x242561=>{const {ar:{dictionary:_0x3f7d39,getPluralForm:_0x2761a8}}={'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':_0xb9cf8c=>0x0==_0xb9cf8c?0x0:0x1==_0xb9cf8c?0x1:0x2==_0xb9cf8c?0x2:_0xb9cf8c%0x64>=0x3&&_0xb9cf8c%0x64<=0xa?0x3:_0xb9cf8c%0x64>=0xb?0x4:0x5}};_0x242561['ar']||={'dictionary':{},'getPluralForm':null},_0x242561['ar']['dictionary']=Object['assign'](_0x242561['ar']['dictionary'],_0x3f7d39),_0x242561['ar']['getPluralForm']=_0x2761a8;})(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':_0x1d70d6=>0x1!=_0x1d70d6}};
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
(
|
|
23
|
+
(_0x474b37=>{const {ast:{dictionary:_0x594319,getPluralForm:_0x16ac39}}={'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':_0x33d8ab=>0x1!=_0x33d8ab}};_0x474b37['ast']||={'dictionary':{},'getPluralForm':null},_0x474b37['ast']['dictionary']=Object['assign'](_0x474b37['ast']['dictionary'],_0x594319),_0x474b37['ast']['getPluralForm']=_0x16ac39;})(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':_0x854874=>0x1!=_0x854874}};
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
(
|
|
23
|
+
(_0x317f58=>{const {az:{dictionary:_0x1c60ec,getPluralForm:_0x52f6d9}}={'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':_0x24370a=>0x1!=_0x24370a}};_0x317f58['az']||={'dictionary':{},'getPluralForm':null},_0x317f58['az']['dictionary']=Object['assign'](_0x317f58['az']['dictionary'],_0x1c60ec),_0x317f58['az']['getPluralForm']=_0x52f6d9;})(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':_0x3aa359=>_0x3aa359%0xa==0x1&&_0x3aa359%0x64!=0xb?0x0:_0x3aa359%0xa>=0x2&&_0x3aa359%0xa<=0x4&&(_0x3aa359%0x64<0xa||_0x3aa359%0x64>=0x14)?0x1:0x2}};
|