@ckeditor/ckeditor5-footnotes 0.0.0-nightly-20251112.0 → 0.0.0-nightly-20251114.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 _0x2a51d8,Command as _0x411d4d}from'@ckeditor/ckeditor5-core/dist/index.js';import{toWidget as _0x245c1f,isWidget as _0x3af48b,toWidgetEditable as _0x5c8e2a,WidgetToolbarRepository as _0x27b646}from'@ckeditor/ckeditor5-widget/dist/index.js';import{uid as _0xe0a509,logWarning as _0x506cb7,FocusTracker as et,KeystrokeHandler as ot,global as rt}from'@ckeditor/ckeditor5-utils/dist/index.js';import{PointerObserver as _0x8b1fec,ClickObserver as _0x469245}from'@ckeditor/ckeditor5-engine/dist/index.js';import{ClipboardPipeline as _0x2c4716}from'@ckeditor/ckeditor5-clipboard/dist/index.js';import{MenuBarMenuListItemButtonView as _0x3a0a17,ButtonView as _0xa6576c,View as _0x39320c,ViewCollection as _0x2fea4c,FocusCycler as _0x1bb71a,addKeyboardHandlingForGrid as _0x391a9c,CollapsibleView as tt,LabeledFieldView as st,createLabeledInputNumber as it,ContextualBalloon as _0x5f4adf,BalloonPanelView as _0x204d6f,createDropdown as _0x3c9576}from'@ckeditor/ckeditor5-ui/dist/index.js';import{IconFootnote as _0x2307de,IconListStyleDecimal as _0x3399b5,IconListStyleDecimalLeadingZero as _0x7ab591,IconListStyleLowerRoman as _0x112b16,IconListStyleUpperRoman as _0x2119d1,IconListStyleLowerLatin as _0x5c1242,IconListStyleUpperLatin as _0x2c5a45}from'@ckeditor/ckeditor5-icons/dist/index.js';class F{['_model'];['_elementName'];['_getElementKey'];['_trackedElements']=new Map();constructor(_0x23ec8d,_0x32a9ab){this['_model']=_0x23ec8d,this['_elementName']=_0x32a9ab['elementName'],this['_getElementKey']=_0x32a9ab['getElementKey'];}['reset'](){this['_trackedElements']['clear']();}['getChanges'](_0xe58bec){const _0x1bd01d=new Set(),_0x7eb27a=new Map();for(const _0x3f9776 of _0xe58bec){if('insert'===_0x3f9776['type']&&'$text'!==_0x3f9776['name']&&_0x3f9776['position']['nodeAfter']){const _0x290d44=this['_model']['createRangeOn'](_0x3f9776['position']['nodeAfter']);for(const _0x1eabdb of _0x290d44['getItems']()){if(!_0x1eabdb['is']('element',this['_elementName']))continue;const _0x100165=this['_getElementKey'](_0x1eabdb);_0x7eb27a['has'](_0x100165)||_0x7eb27a['set'](_0x100165,[]),_0x7eb27a['get'](_0x100165)['push'](_0x1eabdb);}}if('remove'===_0x3f9776['type']&&_0x3f9776['name']===this['_elementName']){const _0x52b351=this['_getElementKey']({'getAttribute':_0x403352=>_0x3f9776['attributes']['get'](_0x403352)});_0x1bd01d['add'](_0x52b351);}}for(const [_0x493ded,_0x4ee1cb]of this['_trackedElements'])'$graveyard'===_0x4ee1cb['root']['rootName']&&_0x1bd01d['add'](_0x493ded);for(const _0x420357 of _0x1bd01d)this['_trackedElements']['delete'](_0x420357);for(const [_0x7c1d7f,_0x11bc17]of _0x7eb27a)this['_trackedElements']['set'](_0x7c1d7f,_0x11bc17[_0x11bc17['length']-0x1]);const _0x537256=new Set();for(const [_0x32da18,_0x2ef00c]of _0x7eb27a)_0x1bd01d['has'](_0x32da18)&&(_0x537256['add'](_0x2ef00c[0x0]),_0x2ef00c['length']>0x1?_0x7eb27a['set'](_0x32da18,_0x2ef00c['slice'](0x1)):_0x7eb27a['delete'](_0x32da18),_0x1bd01d['delete'](_0x32da18));return{'removed':Array['from'](_0x1bd01d),'inserted':Array['from'](_0x7eb27a['values']())['flat'](),'moved':Array['from'](_0x537256)};}}class c extends _0x2a51d8{['_footnotes']=[];['_footnotesDefinitions']=null;['_footnoteFormatter']=null;['_footnoteDefsContainerTracker'];['_footnoteRefsTracker'];['_footnoteDefsTracker'];static get['pluginName'](){return'FootnotesTracker';}static get['isOfficialPlugin'](){return!0x0;}static get['isPremiumPlugin'](){return!0x0;}constructor(_0x42b05a){super(_0x42b05a),this['_footnoteDefsContainerTracker']=new F(this['editor']['model'],{'elementName':'footnotesDefinitions','getElementKey':()=>'singleton'}),this['_footnoteRefsTracker']=new F(this['editor']['model'],{'elementName':'footnoteRef','getElementKey':_0x581a1e=>_0x581a1e['getAttribute']('footnoteId')}),this['_footnoteDefsTracker']=new F(this['editor']['model'],{'elementName':'footnoteDefinition','getElementKey':_0x258a1b=>_0x258a1b['getAttribute']('footnoteId')});}['init'](){const {editor:_0x47d17a}=this,{model:_0x1040fe,data:_0xdb443d}=_0x47d17a;_0x1040fe['document']['registerPostFixer'](_0x12f591=>{const _0x104682=_0x1040fe['document']['differ']['getChanges']();let _0x559b53=!0x1;return this['_handleFootnotesDefinitionsObjectChanges'](_0x12f591,_0x104682)&&(_0x559b53=!0x0),this['_handleFootnoteDefinitionsChanges'](_0x12f591,_0x104682)&&(_0x559b53=!0x0),this['_handleFootnoteReferencesChanges'](_0x12f591,_0x104682)&&(_0x559b53=!0x0),this['_ensureFootnotesReferencesHaveProperOrder'](_0x12f591)&&(_0x559b53=!0x0),this['_handleFootnotesDefinitionsObjectSync'](_0x12f591)&&(_0x559b53=!0x0),this['_sortFootnoteDefinitions'](_0x12f591)&&(_0x559b53=!0x0),_0x559b53;}),this['listenTo'](_0x1040fe['document'],'change:data',()=>{_0x1040fe['enqueueChange']({'isUndoable':!0x1},_0x586955=>{this['_ensureFootnotesDefinitionsContainerExists'](_0x586955);});},{'priority':'low'}),this['listenTo'](_0xdb443d,'set',()=>{this['_footnotes']=[],this['_footnoteDefsContainerTracker']['reset'](),this['_footnoteRefsTracker']['reset'](),this['_footnoteDefsTracker']['reset']();},{'priority':'high'});}['getFootnotesDefinitionsObjectElement'](){return this['_footnotesDefinitions'];}['getFootnote'](_0x2cd394){return this['_footnotes']['find'](_0x32efb0=>_0x32efb0['id']===_0x2cd394)||null;}['getFootnotes'](){return Array['from'](this['_footnotes']);}['getFootnotesFormatter'](){return this['_footnoteFormatter'];}['setFootnoteFormatter'](_0x332eeb){this['_footnoteFormatter']=_0x332eeb;}['_updateFootnotesCounters'](_0x3856a4,_0x544ef5=0x0){let _0x42b337=!0x1;for(let _0x5be584=_0x544ef5;_0x5be584<this['_footnotes']['length'];_0x5be584++)this['_updateFootnoteRefCounter'](_0x3856a4,_0x5be584)&&(_0x42b337=!0x0);return _0x42b337;}['_insertEmptyFootnotesDefinitionsContainer'](_0x569d24,_0x3eea5d){const _0xf757f2=_0x569d24['createElement']('footnotesDefinitions',{});return _0x569d24['append'](_0xf757f2,_0x3eea5d),this['_footnotesDefinitions']=_0xf757f2,_0xf757f2;}['_ensureFootnotesDefinitionsContainerExists'](_0x33929e){if(!this['_footnotes']['length']||this['_footnotesDefinitions'])return;const _0x106400=this['_footnotes'][0x0]['reference']['root'],_0x42589b=this['_insertEmptyFootnotesDefinitionsContainer'](_0x33929e,_0x106400);for(const _0x29e59a of this['_footnotes'])_0x29e59a['definition']['parent']||_0x33929e['insert'](_0x29e59a['definition'],_0x42589b,'end');this['_updateFootnotesCounters'](_0x33929e);}['_handleFootnotesDefinitionsObjectChanges'](_0x6851a9,_0x34bb6c){let _0x41ef1c=!0x1;const {inserted:_0x44a133,removed:_0x5aba2a,moved:_0x140fc3}=this['_footnoteDefsContainerTracker']['getChanges'](_0x34bb6c);if(_0x140fc3['length']&&(this['_footnotesDefinitions']=_0x140fc3[0x0]),_0x44a133['length']){if(_0x44a133['length']>0x1||this['_footnotesDefinitions']&&_0x44a133['some'](_0x5a18f1=>_0x5a18f1!==this['_footnotesDefinitions'])){const _0x2492f2=_0x6851a9['createElement']('footnotesDefinitions',{}),_0x520ea6=[];this['_footnotesDefinitions']&&_0x520ea6['push'](this['_footnotesDefinitions']),_0x520ea6['push'](..._0x44a133),_0x6851a9['insert'](_0x2492f2,_0x520ea6[0x0],'before');for(const _0x5d035f of _0x520ea6)_0x6851a9['move'](_0x6851a9['createRangeIn'](_0x5d035f),_0x6851a9['createPositionAt'](_0x2492f2,'end')),_0x6851a9['remove'](_0x5d035f);this['_footnotesDefinitions']=_0x2492f2,this['_updateFootnotesCounters'](_0x6851a9),_0x41ef1c=!0x0;}else this['_footnotesDefinitions']=_0x44a133[0x0];}if(_0x5aba2a['length']&&'$graveyard'===this['_footnotesDefinitions']?.['root']['rootName']){for(const _0x2d88a0 of this['_footnotes'])_0x6851a9['remove'](_0x2d88a0['reference']),_0x41ef1c=!0x0;this['_footnotes']=[],this['_footnotesDefinitions']=null;}return _0x41ef1c;}['_handleFootnoteDefinitionsChanges'](_0x55966c,_0x54236f){let _0x1acb33=!0x1;const _0x52c000=this['editor']['config']['get']('footnotes.multiBlock'),{inserted:_0xd17f28,moved:_0x4f64b2}=this['_footnoteDefsTracker']['getChanges'](_0x54236f);for(const _0x1179b7 of[..._0x4f64b2,..._0xd17f28]){const _0x2461f9=_0x1179b7['getAttribute']('footnoteId'),_0x330a53=this['getFootnote'](_0x2461f9);_0x330a53&&(_0x330a53['definition']=_0x1179b7),_(_0x55966c,_0x52c000,_0x1179b7)&&(_0x1acb33=!0x0);}return _0x1acb33;}['_handleFootnoteReferencesChanges'](_0x1d2c02,_0x37bc70){let _0xe91461=!0x1;const {removed:_0x64b273,inserted:_0x33ee2a,moved:_0x2615d3}=this['_footnoteRefsTracker']['getChanges'](_0x37bc70);for(const _0xc8ddb0 of _0x64b273)this['_handleRemoveFootnoteReferenceById'](_0x1d2c02,_0xc8ddb0)&&(_0xe91461=!0x0);for(const _0x36142e of _0x33ee2a)this['_handleInsertedFootnoteReference'](_0x1d2c02,_0x36142e)&&(_0xe91461=!0x0);for(const _0x51f4a5 of _0x2615d3)this['_handleMovedFootnoteReference'](_0x1d2c02,_0x51f4a5)&&(_0xe91461=!0x0);return _0xe91461;}['_handleFootnotesDefinitionsObjectSync'](_0x508279){if(!this['_footnotesDefinitions'])return!0x1;let _0x4fbfa2=!0x1;if(this['_footnotesDefinitions']['childCount']!==this['_footnotes']['length']){const _0x42a5a8=[];for(const _0x50d4ae of this['_footnotesDefinitions']['getChildren']()){const _0x8dfee7=_0x50d4ae['getAttribute']('footnoteId');this['getFootnote'](_0x8dfee7)||(_0x42a5a8['unshift'](_0x50d4ae),_0x4fbfa2=!0x0);}for(const _0x5ef582 of _0x42a5a8)_0x508279['remove'](_0x5ef582);}const _0x5d9f92=new Set(),_0x25bfe7=[];for(const _0x4e7ad1 of this['_footnotesDefinitions']['getChildren']()){const _0xa55c8b=_0x4e7ad1['getAttribute']('footnoteId');_0x5d9f92['has'](_0xa55c8b)?(_0x25bfe7['unshift'](_0x4e7ad1),_0x4fbfa2=!0x0):_0x5d9f92['add'](_0xa55c8b);}for(const _0x4a519d of _0x25bfe7)_0x508279['remove'](_0x4a519d);return this['_footnotesDefinitions']['childCount']||(_0x508279['remove'](this['_footnotesDefinitions']),this['_footnotesDefinitions']=null,_0x4fbfa2=!0x0),_0x4fbfa2;}['_handleInsertedFootnoteReference'](_0x259232,_0x49fb9b){if(this['_footnotes']['find'](_0x5df74c=>_0x5df74c['reference']===_0x49fb9b))return!0x1;let _0xd90641=!0x1;const _0x14d2fa=_0x49fb9b['getAttribute']('footnoteId'),_0x1d4a4c=this['_footnotes']['findIndex'](_0x42b4ba=>_0x42b4ba['id']===_0x14d2fa);-0x1!==_0x1d4a4c&&(_0x259232['remove'](this['_footnotes'][_0x1d4a4c]['reference']),this['_footnotes']['splice'](_0x1d4a4c,0x1),_0xd90641=!0x0);let _0x4a759d=this['_footnotesDefinitions']?function(_0xf33790,_0x3766f5){for(const _0x3ba649 of _0xf33790['getChildren']())if(_0x3ba649['getAttribute']('footnoteId')===_0x3766f5)return _0x3ba649;return null;}(this['_footnotesDefinitions'],_0x14d2fa):null;_0x4a759d||(_0x4a759d=_0x259232['createElement']('footnoteDefinition',{'footnoteId':_0x14d2fa}),this['_footnotesDefinitions']&&(_0x259232['insert'](_0x4a759d,this['_footnotesDefinitions'],'end'),_0xd90641=!0x0));const _0x8708a0={'id':_0x14d2fa,'reference':_0x49fb9b,'definition':_0x4a759d},_0x28f259=I(this['editor']['model'],this['_footnotes'],_0x49fb9b);this['_footnotes']['splice'](_0x28f259,0x0,_0x8708a0);let _0x123f6d=_0x28f259;return-0x1!==_0x1d4a4c&&(_0x123f6d=Math['min'](_0x28f259,_0x1d4a4c)),this['_updateFootnotesCounters'](_0x259232,_0x123f6d)&&(_0xd90641=!0x0),_0xd90641;}['_handleRemoveFootnoteReferenceById'](_0x2ae4d7,_0x707703){const _0x1231d8=this['_footnotes']['findIndex'](_0x52e4a3=>_0x52e4a3['id']===_0x707703);if(-0x1===_0x1231d8)return!0x1;let _0x6402b2=!0x1;const _0x15dae6=this['_footnotes'][_0x1231d8];return'$graveyard'!==_0x15dae6['definition']['root']['rootName']&&(_0x2ae4d7['remove'](_0x15dae6['definition']),_0x6402b2=!0x0),this['_footnotes']['splice'](_0x1231d8,0x1),this['_updateFootnotesCounters'](_0x2ae4d7,_0x1231d8)&&(_0x6402b2=!0x0),_0x6402b2;}['_handleMovedFootnoteReference'](_0x3dc185,_0x46b02f){const _0x3da29a=_0x46b02f['getAttribute']('footnoteId'),_0x5ade23=this['_footnotes']['findIndex'](_0xa84065=>_0xa84065['id']===_0x3da29a),_0x24997e=this['_footnotes'][_0x5ade23];let _0x31b398=!0x1;_0x24997e['reference']=_0x46b02f,this['_footnotes']['splice'](_0x5ade23,0x1);const _0x3bcef5=I(this['editor']['model'],this['_footnotes'],_0x46b02f);return this['_footnotes']['splice'](_0x3bcef5,0x0,_0x24997e),this['_updateFootnotesCounters'](_0x3dc185,Math['min'](_0x5ade23,_0x3bcef5))&&(_0x31b398=!0x0),_0x31b398;}['_updateFootnoteRefCounter'](_0x374f4a,_0x4e8f64){if(!this['_footnotesDefinitions'])return!0x1;const _0x30262b=this['_footnotes'][_0x4e8f64];let _0x5f4285;return _0x5f4285=this['_footnoteFormatter']?this['_footnoteFormatter']({'footnote':_0x30262b,'container':this['_footnotesDefinitions'],'digits':String(this['_footnotes']['length'])['length'],'value':_0x4e8f64+0x1}):String(_0x4e8f64+0x1),_0x30262b['reference']['getAttribute']('footnoteCounter')!=_0x5f4285&&(_0x374f4a['setAttribute']('footnoteCounter',_0x5f4285,_0x30262b['reference']),!0x0);}['_sortFootnoteDefinitions'](_0x2ff03d){if(!this['_footnotesDefinitions']||this['_footnotes']['length']<0x2)return!0x1;if(function(_0x2c0e63,_0x31f9d9){if(_0x2c0e63['length']!==_0x31f9d9['length'])return!0x1;for(let _0x20873f=0x0;_0x20873f<_0x2c0e63['length'];_0x20873f++)if(_0x2c0e63[_0x20873f]!==_0x31f9d9[_0x20873f])return!0x1;return!0x0;}(this['_footnotes']['map'](_0x392e5a=>_0x392e5a['id']),Array['from'](this['_footnotesDefinitions']['getChildren']())['map'](_0x754d4c=>_0x754d4c['getAttribute']('footnoteId'))))return!0x1;let _0x3ee8f7=!0x1;for(let _0x34d196=0x0;_0x34d196<this['_footnotes']['length'];_0x34d196++){const _0x1ee689=this['_footnotes'][_0x34d196],_0x24c289=_0x2ff03d['createPositionBefore'](_0x1ee689['definition']),_0x4a4f56=_0x2ff03d['createPositionAt'](this['_footnotesDefinitions'],_0x34d196);_0x24c289['isEqual'](_0x4a4f56)||(_0x2ff03d['move'](_0x2ff03d['createRangeOn'](_0x1ee689['definition']),_0x4a4f56),_0x3ee8f7=!0x0);}return _0x3ee8f7;}['_ensureFootnotesReferencesHaveProperOrder'](_0x2a17b5){if(!this['_footnotes']['length'])return!0x1;const {model:_0xdeea55}=this['editor'];let _0x43d723=!0x1;for(let _0x4aed04=0x0;_0x4aed04<this['_footnotes']['length']-0x1;_0x4aed04++){const _0x4b4d3b=this['_footnotes'][_0x4aed04],_0x3bb197=this['_footnotes'][_0x4aed04+0x1],_0xdf4275=_0xdeea55['createPositionBefore'](_0x4b4d3b['reference']),_0x134e43=_0xdeea55['createPositionBefore'](_0x3bb197['reference']);'after'===_0xdf4275['compareWith'](_0x134e43)&&(this['_handleMovedFootnoteReference'](_0x2a17b5,_0x4b4d3b['reference']),_0x4aed04=-0x1,_0x43d723=!0x0);}return _0x43d723;}}function _(_0xd317d7,_0x2c8816,_0x3d190a){if(_0x3d190a['childCount'])return!0x1;const _0x437e2a=_0x2c8816?'paragraph':'footnoteInlineContent';return _0xd317d7['insert'](_0xd317d7['createElement'](_0x437e2a),_0x3d190a),!0x0;}function I(_0x5dbb18,_0x35f8e7,_0x28a043){if(0x0===_0x35f8e7['length'])return 0x0;const _0x14cf03=_0x5dbb18['createPositionBefore'](_0x28a043);for(let _0x231f54=0x0;_0x231f54<_0x35f8e7['length'];_0x231f54++){const _0x1e7bcb=_0x35f8e7[_0x231f54],_0x256926=_0x5dbb18['createPositionBefore'](_0x1e7bcb['reference']);if('before'===_0x14cf03['compareWith'](_0x256926))return _0x231f54;}const _0x4f04d3=_0x28a043['root'];let _0x88ec31=-0x1;for(let _0x4f1de4=_0x35f8e7['length']-0x1;_0x4f1de4>=0x0;_0x4f1de4--)if(_0x35f8e7[_0x4f1de4]['reference']['root']===_0x4f04d3){_0x88ec31=_0x4f1de4;break;}if(-0x1!==_0x88ec31)return _0x88ec31+0x1;const _0x56a149=_0x5dbb18['document']['getRootNames'](),_0x4c9cab=_0x56a149['indexOf'](_0x4f04d3['rootName']),_0x5d5339=_0x56a149[_0x4c9cab+0x1];if(_0x5d5339){for(let _0x515fd9=0x0;_0x515fd9<_0x35f8e7['length'];_0x515fd9++)if(_0x35f8e7[_0x515fd9]['reference']['root']['rootName']===_0x5d5339)return _0x515fd9;}return _0x35f8e7['length'];}class m extends _0x411d4d{['refresh'](){const _0x3af7c6=this['editor']['model']['document']['selection'],_0x2e6456=this['_getPositionToInsertFootnote'](_0x3af7c6);this['isEnabled']=!!_0x2e6456;}['execute'](_0x268dcc){const {editor:_0x554e34}=this,{model:_0x46c436}=_0x554e34,{selection:_0x4f9230}=_0x46c436['document'],_0x32b096=this['_getPositionToInsertFootnote'](_0x4f9230);if(!_0x32b096)return;const _0x12944f=_0x554e34['plugins']['get']('FootnotesEditing'),_0x33be0a=_0x268dcc?.['footnoteId']??_0xe0a509();!function(_0x541507){return'string'==typeof _0x541507&&_0x541507['length']>0x0&&!/\s/['test'](_0x541507)&&!/^\d/['test'](_0x541507);}(_0x33be0a)?_0x506cb7('insert-footnote-command-executed-with-invalid-id'):(_0x46c436['change'](_0x3a9946=>{const _0x269577=_0x3a9946['createElement']('footnoteRef',{'footnoteId':_0x33be0a});_0x46c436['insertObject'](_0x269577,_0x32b096,null);}),_0x12944f['_moveSelectionToFootnoteDefinition'](_0x33be0a));}['_getPositionToInsertFootnote'](_0x1e7b89){const {model:_0x167821}=this['editor'],{schema:_0x54777f}=_0x167821,_0x5b540d=_0x1e7b89['getFirstRange']();for(const _0x465ffe of _0x5b540d['getItems']())if(_0x54777f['isBlock'](_0x465ffe)||_0x54777f['isObject'](_0x465ffe))return null;const _0x147d7e=_0x5b540d['end'];return _0x54777f['checkChild'](_0x147d7e,'footnoteRef')?_0x147d7e:null;}}class r extends _0x2a51d8{static get['pluginName'](){return'FootnotesEditing';}static get['requires'](){return[c];}static get['isOfficialPlugin'](){return!0x0;}static get['isPremiumPlugin'](){return!0x0;}['init'](){const {editor:_0x405086}=this;_0x405086['config']['define']('footnotes.multiBlock',!0x0),_0x405086['commands']['add']('insertFootnote',new m(_0x405086)),this['_defineSchema'](),this['_defineRefsConverters'](),this['_defineDefinitionsConverters'](),this['_defineDefinitionConverters'](),this['_defineBogusParagraphConverters'](),this['_defineKeyboardHandlers'](),this['_defineClickHandlers']();}['afterInit'](){!async function(_0x3beb61){const _0x3cd2c4=_0xe7607c([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]),_0x210f3e=0x47a28506,_0x5a281e=0x47a5fde6^_0x210f3e,_0x3a161f=window[_0xe7607c([0x44,0x61,0x74,0x65])][_0xe7607c([0x6e,0x6f,0x77])](),_0x3c72e2=_0x3beb61[_0xe7607c([0x65,0x64,0x69,0x74,0x6f,0x72])],_0x31e3f1=new window[(_0xe7607c([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0x4a3491=>{_0x3c72e2[_0xe7607c([0x6f,0x6e,0x63,0x65])](_0xe7607c([0x72,0x65,0x61,0x64,0x79]),_0x4a3491);}),_0x351600={[_0xe7607c([0x6b,0x74,0x79])]:_0xe7607c([0x45,0x43]),[_0xe7607c([0x75,0x73,0x65])]:_0xe7607c([0x73,0x69,0x67]),[_0xe7607c([0x63,0x72,0x76])]:_0xe7607c([0x50,0x2d,0x32,0x35,0x36]),[_0xe7607c([0x78])]:_0xe7607c([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]),[_0xe7607c([0x79])]:_0xe7607c([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]),[_0xe7607c([0x61,0x6c,0x67])]:_0xe7607c([0x45,0x53,0x32,0x35,0x36])},_0x4402a0=_0x3c72e2[_0xe7607c([0x63,0x6f,0x6e,0x66,0x69,0x67])][_0xe7607c([0x67,0x65,0x74])](_0xe7607c([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x4b,0x65,0x79]));async function _0xba72bc(){let _0x2709dd,_0x2ddb6d=null,_0x230035=null;try{if(_0x4402a0==_0xe7607c([0x47,0x50,0x4c]))return _0xe7607c([0x4e,0x6f,0x74,0x41,0x6c,0x6c,0x6f,0x77,0x65,0x64]);if(_0x2709dd=_0x832f9b(),!_0x2709dd)return _0xe7607c([0x49,0x6e,0x76,0x61,0x6c,0x69,0x64]);return _0x2709dd[_0xe7607c([0x75,0x73,0x61,0x67,0x65,0x45,0x6e,0x64,0x70,0x6f,0x69,0x6e,0x74])]&&(_0x230035=_0x32d182(_0x2709dd[_0xe7607c([0x75,0x73,0x61,0x67,0x65,0x45,0x6e,0x64,0x70,0x6f,0x69,0x6e,0x74])],_0x2709dd[_0xe7607c([0x6a,0x74,0x69])])),await _0x4c33fd()?_0x2dd8ef()?_0x87b7e7()?_0xe7607c([0x45,0x78,0x70,0x69,0x72,0x65,0x64]):_0x36db36()?(_0x2709dd[_0xe7607c([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x54,0x79,0x70,0x65])]==_0xe7607c([0x65,0x76,0x61,0x6c,0x75,0x61,0x74,0x69,0x6f,0x6e])&&(_0x2ddb6d=_0xa89568(_0xe7607c([0x45,0x76,0x61,0x6c,0x75,0x61,0x74,0x69,0x6f,0x6e,0x4c,0x69,0x6d,0x69,0x74]))),_0x2709dd[_0xe7607c([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x54,0x79,0x70,0x65])]==_0xe7607c([0x74,0x72,0x69,0x61,0x6c])&&(_0x2ddb6d=_0xa89568(_0xe7607c([0x54,0x72,0x69,0x61,0x6c,0x4c,0x69,0x6d,0x69,0x74]))),await _0x2a2320()):_0xe7607c([0x44,0x6f,0x6d,0x61,0x69,0x6e,0x4c,0x69,0x6d,0x69,0x74]):_0xe7607c([0x4e,0x6f,0x74,0x41,0x6c,0x6c,0x6f,0x77,0x65,0x64]):_0xe7607c([0x49,0x6e,0x76,0x61,0x6c,0x69,0x64]);}catch{return _0xe7607c([0x49,0x6e,0x76,0x61,0x6c,0x69,0x64]);}function _0x87b7e7(){const _0x1a0330=[_0xe7607c([0x65,0x76,0x61,0x6c,0x75,0x61,0x74,0x69,0x6f,0x6e]),_0xe7607c([0x74,0x72,0x69,0x61,0x6c])][_0xe7607c([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x2709dd[_0xe7607c([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x54,0x79,0x70,0x65])])?_0x3a161f/0x3e8:0xe10*_0x5a281e;return _0x2709dd[_0xe7607c([0x65,0x78,0x70])]<_0x1a0330;}function _0x2dd8ef(){const _0x377887=_0x2709dd[_0xe7607c([0x66,0x65,0x61,0x74,0x75,0x72,0x65,0x73])];return!!_0x377887&&(!!_0x377887[_0xe7607c([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0xe7607c([0x2a]))||!!_0x377887[_0xe7607c([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0xe7607c([0x46,0x4f,0x4f])));}function _0x36db36(){const _0x54fc1c=_0x2709dd[_0xe7607c([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x64,0x48,0x6f,0x73,0x74,0x73])];if(!_0x54fc1c||0x0==_0x54fc1c[_0xe7607c([0x6c,0x65,0x6e,0x67,0x74,0x68])])return!0x0;const {hostname:_0x4db336}=new URL(window[_0xe7607c([0x6c,0x6f,0x63,0x61,0x74,0x69,0x6f,0x6e])]['href']);if(_0x54fc1c[_0xe7607c([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x4db336))return!0x0;const _0x17e877=_0x4db336[_0xe7607c([0x73,0x70,0x6c,0x69,0x74])](_0xe7607c([0x2e]));return _0x54fc1c[_0xe7607c([0x66,0x69,0x6c,0x74,0x65,0x72])](_0x433119=>_0x433119[_0xe7607c([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0xe7607c([0x2a])))[_0xe7607c([0x6d,0x61,0x70])](_0x2341bc=>_0x2341bc[_0xe7607c([0x73,0x70,0x6c,0x69,0x74])](_0xe7607c([0x2e])))[_0xe7607c([0x66,0x69,0x6c,0x74,0x65,0x72])](_0x18686f=>_0x18686f[_0xe7607c([0x6c,0x65,0x6e,0x67,0x74,0x68])]<=_0x17e877[_0xe7607c([0x6c,0x65,0x6e,0x67,0x74,0x68])])[_0xe7607c([0x6d,0x61,0x70])](_0x22ad99=>Array(_0x17e877[_0xe7607c([0x6c,0x65,0x6e,0x67,0x74,0x68])]-_0x22ad99[_0xe7607c([0x6c,0x65,0x6e,0x67,0x74,0x68])])[_0xe7607c([0x66,0x69,0x6c,0x6c])](_0x22ad99[0x0]===_0xe7607c([0x2a])?_0xe7607c([0x2a]):'')[_0xe7607c([0x63,0x6f,0x6e,0x63,0x61,0x74])](_0x22ad99))[_0xe7607c([0x73,0x6f,0x6d,0x65])](_0x13eb0f=>_0x17e877[_0xe7607c([0x65,0x76,0x65,0x72,0x79])]((_0xcda5e1,_0xccf4f0)=>_0x13eb0f[_0xccf4f0]===_0xcda5e1||_0x13eb0f[_0xccf4f0]===_0xe7607c([0x2a])));}function _0x2a2320(){return _0x2ddb6d&&_0x230035?new window[(_0xe7607c([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))]((_0x43ef9a,_0x1ba86b)=>{_0x2ddb6d[_0xe7607c([0x74,0x68,0x65,0x6e])](_0x43ef9a,_0x1ba86b),_0x230035[_0xe7607c([0x74,0x68,0x65,0x6e])](_0x113a76=>{_0x113a76!=_0xe7607c([0x56,0x61,0x6c,0x69,0x64])&&_0x43ef9a(_0x113a76);},_0x1ba86b);}):_0x2ddb6d||_0x230035||_0xe7607c([0x56,0x61,0x6c,0x69,0x64]);}}function _0x32d182(_0x5ec3da,_0x35f970){return new window[(_0xe7607c([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0x4916b1=>{if(_0x5b6189())return _0x4916b1(_0xe7607c([0x56,0x61,0x6c,0x69,0x64]));_0x547438(),_0x3c72e2[_0xe7607c([0x64,0x65,0x63,0x6f,0x72,0x61,0x74,0x65])](_0xe7607c([0x5f,0x73,0x65,0x6e,0x64,0x55,0x73,0x61,0x67,0x65,0x52,0x65,0x71,0x75,0x65,0x73,0x74]));let _0x4b0e24=!0x1;const _0xea03e4=_0xe0a509();function _0x3f462f(_0x30d9d0){return!!_0x30d9d0&&(typeof _0x30d9d0===_0xe7607c([0x6f,0x62,0x6a,0x65,0x63,0x74])||typeof _0x30d9d0===_0xe7607c([0x66,0x75,0x6e,0x63,0x74,0x69,0x6f,0x6e]))&&typeof _0x30d9d0[_0xe7607c([0x74,0x68,0x65,0x6e])]===_0xe7607c([0x66,0x75,0x6e,0x63,0x74,0x69,0x6f,0x6e])&&typeof _0x30d9d0[_0xe7607c([0x63,0x61,0x74,0x63,0x68])]===_0xe7607c([0x66,0x75,0x6e,0x63,0x74,0x69,0x6f,0x6e]);}function _0x258014(_0x3c3b89){_0x33483c(_0x3c3b89)[_0xe7607c([0x74,0x68,0x65,0x6e])](_0x436e1b=>{if(!_0x436e1b||_0x436e1b[_0xe7607c([0x73,0x74,0x61,0x74,0x75,0x73])]!=_0xe7607c([0x6f,0x6b]))return _0xe7607c([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]);return _0x3f3c5c(_0xccf0f1(_0xea03e4+_0x35f970))!=_0x436e1b[_0xe7607c([0x76,0x65,0x72,0x69,0x66,0x69,0x63,0x61,0x74,0x69,0x6f,0x6e])]?_0xe7607c([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]):_0xe7607c([0x56,0x61,0x6c,0x69,0x64]);})[_0xe7607c([0x74,0x68,0x65,0x6e])](_0x4322ae=>(_0x127a92(),_0x4322ae),()=>{const _0xfa152a=_0x584941();return null==_0xfa152a?(_0x127a92(),_0xe7607c([0x56,0x61,0x6c,0x69,0x64])):_0xe7607c(_0x3a161f-_0xfa152a>(0x63ae0106^_0x210f3e)?[0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]:[0x56,0x61,0x6c,0x69,0x64]);})[_0xe7607c([0x74,0x68,0x65,0x6e])](_0x4916b1)[_0xe7607c([0x63,0x61,0x74,0x63,0x68])](()=>{_0x4916b1(_0xe7607c([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]));});const _0x1c9897=0x47946b86^_0x210f3e;function _0x127a92(){const _0x54b52f=_0xe7607c([0x6c,0x6c,0x63,0x74,0x2d])+_0x3f3c5c(_0xccf0f1(_0x5ec3da)),_0xaaaed1=_0x4e5d28(_0x3f3c5c(window[_0xe7607c([0x4d,0x61,0x74,0x68])][_0xe7607c([0x63,0x65,0x69,0x6c])](_0x3a161f/_0x1c9897)));window[_0xe7607c([0x6c,0x6f,0x63,0x61,0x6c,0x53,0x74,0x6f,0x72,0x61,0x67,0x65])][_0xe7607c([0x73,0x65,0x74,0x49,0x74,0x65,0x6d])](_0x54b52f,_0xaaaed1);}function _0x584941(){const _0x3fca32=_0xe7607c([0x6c,0x6c,0x63,0x74,0x2d])+_0x3f3c5c(_0xccf0f1(_0x5ec3da)),_0x48907c=window[_0xe7607c([0x6c,0x6f,0x63,0x61,0x6c,0x53,0x74,0x6f,0x72,0x61,0x67,0x65])][_0xe7607c([0x67,0x65,0x74,0x49,0x74,0x65,0x6d])](_0x3fca32);return _0x48907c?window[_0xe7607c([0x70,0x61,0x72,0x73,0x65,0x49,0x6e,0x74])](_0x4e5d28(_0x48907c),0x10)*_0x1c9897:null;}function _0x33483c(_0x3fbfd3){return new window[(_0xe7607c([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))]((_0x9a6bb3,_0x43afa4)=>{_0x3fbfd3[_0xe7607c([0x74,0x68,0x65,0x6e])](_0x9a6bb3,_0x43afa4),window[_0xe7607c([0x73,0x65,0x74,0x54,0x69,0x6d,0x65,0x6f,0x75,0x74])](_0x43afa4,0x47a351c6^_0x210f3e);});}}_0x3c72e2[_0xe7607c([0x6f,0x6e])](_0xe7607c([0x5f,0x73,0x65,0x6e,0x64,0x55,0x73,0x61,0x67,0x65,0x52,0x65,0x71,0x75,0x65,0x73,0x74]),(_0x4abfec,_0x6b43dd)=>{if(_0x6b43dd[0x0]!=_0x5ec3da)return _0x4916b1(_0xe7607c([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]));_0x6b43dd[0x1]={..._0x6b43dd[0x1],[_0xe7607c([0x72,0x65,0x71,0x75,0x65,0x73,0x74,0x49,0x64])]:_0xea03e4};},{[_0xe7607c([0x70,0x72,0x69,0x6f,0x72,0x69,0x74,0x79])]:_0xe7607c([0x68,0x69,0x67,0x68])}),_0x3c72e2[_0xe7607c([0x6f,0x6e])](_0xe7607c([0x5f,0x73,0x65,0x6e,0x64,0x55,0x73,0x61,0x67,0x65,0x52,0x65,0x71,0x75,0x65,0x73,0x74]),_0x1d950a=>{_0x3f462f(_0x1d950a[_0xe7607c([0x72,0x65,0x74,0x75,0x72,0x6e])])&&(_0x4b0e24=!0x0,_0x258014(_0x1d950a[_0xe7607c([0x72,0x65,0x74,0x75,0x72,0x6e])]));},{[_0xe7607c([0x70,0x72,0x69,0x6f,0x72,0x69,0x74,0x79])]:_0xe7607c([0x6c,0x6f,0x77])}),_0x31e3f1[_0xe7607c([0x74,0x68,0x65,0x6e])](()=>{_0x4b0e24||_0x4916b1(_0xe7607c([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]));});});function _0x5b6189(){return _0x3c72e2[_0xe7607c([0x65,0x64,0x69,0x74,0x69,0x6e,0x67])][_0xe7607c([0x76,0x69,0x65,0x77])][_0xe7607c([0x5f,0x6f,0x76,0x65,0x72,0x6c,0x61,0x79,0x4d,0x6f,0x64,0x65,0x48,0x69,0x6e,0x74])]==_0xe7607c([0x61,0x75,0x74,0x6f]);}function _0x547438(){_0x3c72e2[_0xe7607c([0x65,0x64,0x69,0x74,0x69,0x6e,0x67])][_0xe7607c([0x76,0x69,0x65,0x77])][_0xe7607c([0x5f,0x6f,0x76,0x65,0x72,0x6c,0x61,0x79,0x4d,0x6f,0x64,0x65,0x48,0x69,0x6e,0x74])]=_0xe7607c([0x61,0x75,0x74,0x6f]);}}function _0xa89568(_0x5502d2){const _0x591efa=[new window[(_0xe7607c([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0x267b61=>setTimeout(_0x267b61,0x47abbbca^_0x210f3e)),_0x31e3f1[_0xe7607c([0x74,0x68,0x65,0x6e])](()=>new window[(_0xe7607c([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0x1cc208=>{let _0xb7e99a=0x0;_0x3c72e2[_0xe7607c([0x6d,0x6f,0x64,0x65,0x6c])][_0xe7607c([0x6f,0x6e])](_0xe7607c([0x61,0x70,0x70,0x6c,0x79,0x4f,0x70,0x65,0x72,0x61,0x74,0x69,0x6f,0x6e]),(_0x58de1e,_0x146c2d)=>{_0x146c2d[0x0][_0xe7607c([0x69,0x73,0x44,0x6f,0x63,0x75,0x6d,0x65,0x6e,0x74,0x4f,0x70,0x65,0x72,0x61,0x74,0x69,0x6f,0x6e])]&&_0xb7e99a++,_0xb7e99a==(0x47a284fe^_0x210f3e)&&(_0x1cc208(),_0x58de1e[_0xe7607c([0x6f,0x66,0x66])]());});}))];return window[_0xe7607c([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65])][_0xe7607c([0x72,0x61,0x63,0x65])](_0x591efa)[_0xe7607c([0x74,0x68,0x65,0x6e])](()=>_0x5502d2);}async function _0x2a6010(){await _0x31e3f1,_0x3c72e2[_0xe7607c([0x6d,0x6f,0x64,0x65,0x6c])][_0xe7607c([0x63,0x68,0x61,0x6e,0x67,0x65])]=_0x221a90,_0x3c72e2[_0xe7607c([0x6d,0x6f,0x64,0x65,0x6c])][_0xe7607c([0x65,0x6e,0x71,0x75,0x65,0x75,0x65,0x43,0x68,0x61,0x6e,0x67,0x65])]=_0x221a90,_0x3c72e2[_0xe7607c([0x65,0x6e,0x61,0x62,0x6c,0x65,0x52,0x65,0x61,0x64,0x4f,0x6e,0x6c,0x79,0x4d,0x6f,0x64,0x65])](_0xe7607c([0x6d,0x6f,0x64,0x65,0x6c]));}function _0x54d52b(_0x1cf7de){const _0xa1f6d7=_0x5e3ac6();_0x3c72e2[_0xa1f6d7]=_0xe7607c([0x66,0x6f,0x6f,0x74,0x6e,0x6f,0x74,0x65,0x73,0x4c,0x69,0x63,0x65,0x6e,0x73,0x65,0x4b,0x65,0x79])+_0x1cf7de,_0x1cf7de!=_0xe7607c([0x56,0x61,0x6c,0x69,0x64])&&_0x2a6010();}function _0x5e3ac6(){const _0x29de58=window[_0xe7607c([0x53,0x74,0x72,0x69,0x6e,0x67])](window[_0xe7607c([0x70,0x65,0x72,0x66,0x6f,0x72,0x6d,0x61,0x6e,0x63,0x65])][_0xe7607c([0x6e,0x6f,0x77])]())[_0xe7607c([0x72,0x65,0x70,0x6c,0x61,0x63,0x65])](_0xe7607c([0x2e]),'');let _0x1b0133=_0xe7607c([0x75]);for(let _0x1a7b11=0x0;_0x1a7b11<_0x29de58[_0xe7607c([0x6c,0x65,0x6e,0x67,0x74,0x68])];_0x1a7b11+=0x2){let _0x52bee3=window[_0xe7607c([0x70,0x61,0x72,0x73,0x65,0x49,0x6e,0x74])](_0x29de58[_0xe7607c([0x73,0x75,0x62,0x73,0x74,0x72,0x69,0x6e,0x67])](_0x1a7b11,_0x1a7b11+0x2));_0x52bee3>=_0x3cd2c4[_0xe7607c([0x6c,0x65,0x6e,0x67,0x74,0x68])]&&(_0x52bee3-=_0x3cd2c4[_0xe7607c([0x6c,0x65,0x6e,0x67,0x74,0x68])]),_0x1b0133+=_0x3cd2c4[_0x52bee3];}return _0x1b0133;}function _0x832f9b(){const _0x572bc5=_0x4402a0[_0xe7607c([0x73,0x70,0x6c,0x69,0x74])](_0xe7607c([0x2e]));if(0x3!=_0x572bc5[_0xe7607c([0x6c,0x65,0x6e,0x67,0x74,0x68])])return null;return _0x248ee2(_0x572bc5[0x1]);function _0x248ee2(_0x345598){const _0x2f93a7=_0x151af2(_0x345598);return _0x2f93a7&&_0x48d2dd()?_0x2f93a7:null;function _0x48d2dd(){const _0x561ca2=_0x2f93a7[_0xe7607c([0x6a,0x74,0x69])],_0x150709=window[_0xe7607c([0x70,0x61,0x72,0x73,0x65,0x49,0x6e,0x74])](_0x561ca2[_0xe7607c([0x73,0x75,0x62,0x73,0x74,0x72,0x69,0x6e,0x67])](_0x561ca2[_0xe7607c([0x6c,0x65,0x6e,0x67,0x74,0x68])]-0x8),0x10),_0x37273b={..._0x2f93a7,[_0xe7607c([0x6a,0x74,0x69])]:_0x561ca2[_0xe7607c([0x73,0x75,0x62,0x73,0x74,0x72,0x69,0x6e,0x67])](0x0,_0x561ca2[_0xe7607c([0x6c,0x65,0x6e,0x67,0x74,0x68])]-0x8)};return delete _0x37273b[_0xe7607c([0x76,0x63])],_0xccf0f1(_0x37273b)==_0x150709;}}}async function _0x4c33fd(){let _0x3c57fe=!0x0;try{const _0x2e67f2=_0x4402a0[_0xe7607c([0x73,0x70,0x6c,0x69,0x74])](_0xe7607c([0x2e])),[_0x5e79ed,_0x45db1c,_0x2966c7]=_0x2e67f2;return _0x21e735(_0x5e79ed),await _0x4961aa(_0x5e79ed,_0x45db1c,_0x2966c7),_0x3c57fe;}catch{return!0x1;}function _0x21e735(_0x14c99f){const _0x22dffd=_0x151af2(_0x14c99f);_0x22dffd&&_0x22dffd[_0xe7607c([0x61,0x6c,0x67])]==_0xe7607c([0x45,0x53,0x32,0x35,0x36])||(_0x3c57fe=!0x1);}async function _0x4961aa(_0x1ec6a0,_0x408633,_0x13b210){const _0x368ae1=window[_0xe7607c([0x55,0x69,0x6e,0x74,0x38,0x41,0x72,0x72,0x61,0x79])][_0xe7607c([0x66,0x72,0x6f,0x6d])](_0x32ecba(_0x13b210),_0x59a0e4=>_0x59a0e4[_0xe7607c([0x63,0x68,0x61,0x72,0x43,0x6f,0x64,0x65,0x41,0x74])](0x0)),_0x2f787c=new window[(_0xe7607c([0x54,0x65,0x78,0x74,0x45,0x6e,0x63,0x6f,0x64,0x65,0x72]))]()[_0xe7607c([0x65,0x6e,0x63,0x6f,0x64,0x65])](_0x1ec6a0+_0xe7607c([0x2e])+_0x408633),_0x48b1d3=window[_0xe7607c([0x63,0x72,0x79,0x70,0x74,0x6f])][_0xe7607c([0x73,0x75,0x62,0x74,0x6c,0x65])];if(!_0x48b1d3)return;const _0x37795a=await _0x48b1d3[_0xe7607c([0x69,0x6d,0x70,0x6f,0x72,0x74,0x4b,0x65,0x79])](_0xe7607c([0x6a,0x77,0x6b]),_0x351600,{[_0xe7607c([0x6e,0x61,0x6d,0x65])]:_0xe7607c([0x45,0x43,0x44,0x53,0x41]),[_0xe7607c([0x6e,0x61,0x6d,0x65,0x64,0x43,0x75,0x72,0x76,0x65])]:_0xe7607c([0x50,0x2d,0x32,0x35,0x36])},!0x1,[_0xe7607c([0x76,0x65,0x72,0x69,0x66,0x79])]);await _0x48b1d3[_0xe7607c([0x76,0x65,0x72,0x69,0x66,0x79])]({[_0xe7607c([0x6e,0x61,0x6d,0x65])]:_0xe7607c([0x45,0x43,0x44,0x53,0x41]),[_0xe7607c([0x68,0x61,0x73,0x68])]:{[_0xe7607c([0x6e,0x61,0x6d,0x65])]:_0xe7607c([0x53,0x48,0x41,0x2d,0x32,0x35,0x36])}},_0x37795a,_0x368ae1,_0x2f787c)||(_0x3c57fe=!0x1);}}function _0x151af2(_0x25e82b){return _0x25e82b[_0xe7607c([0x73,0x74,0x61,0x72,0x74,0x73,0x57,0x69,0x74,0x68])](_0xe7607c([0x65,0x79]))?JSON[_0xe7607c([0x70,0x61,0x72,0x73,0x65])](_0x32ecba(_0x25e82b)):null;}function _0x32ecba(_0x4628da){return window[_0xe7607c([0x61,0x74,0x6f,0x62])](_0x4628da[_0xe7607c([0x72,0x65,0x70,0x6c,0x61,0x63,0x65])](/-/g,_0xe7607c([0x2b]))[_0xe7607c([0x72,0x65,0x70,0x6c,0x61,0x63,0x65])](/_/g,_0xe7607c([0x2f])));}function _0xccf0f1(_0x2b4285){let _0x3ab516=0x1505;function _0x442a67(_0x2cb961){for(let _0x3a7a38=0x0;_0x3a7a38<_0x2cb961[_0xe7607c([0x6c,0x65,0x6e,0x67,0x74,0x68])];_0x3a7a38++){const _0x804487=_0x2cb961[_0xe7607c([0x63,0x68,0x61,0x72,0x43,0x6f,0x64,0x65,0x41,0x74])](_0x3a7a38);_0x3ab516=(_0x3ab516<<0x5)+_0x3ab516+_0x804487,_0x3ab516&=_0x3ab516;}}function _0x3857ba(_0x949d6a){Array[_0xe7607c([0x69,0x73,0x41,0x72,0x72,0x61,0x79])](_0x949d6a)?_0x949d6a[_0xe7607c([0x66,0x6f,0x72,0x45,0x61,0x63,0x68])](_0x3857ba):_0x949d6a&&typeof _0x949d6a==_0xe7607c([0x6f,0x62,0x6a,0x65,0x63,0x74])?Object[_0xe7607c([0x65,0x6e,0x74,0x72,0x69,0x65,0x73])](_0x949d6a)[_0xe7607c([0x73,0x6f,0x72,0x74])]()[_0xe7607c([0x66,0x6f,0x72,0x45,0x61,0x63,0x68])](([_0x1bf649,_0x964b12])=>{_0x442a67(_0x1bf649),_0x3857ba(_0x964b12);}):_0x442a67(window[_0xe7607c([0x53,0x74,0x72,0x69,0x6e,0x67])](_0x949d6a));}return _0x3857ba(_0x2b4285),_0x3ab516>>>0x0;}function _0x3f3c5c(_0x26d619){return _0x26d619[_0xe7607c([0x74,0x6f,0x53,0x74,0x72,0x69,0x6e,0x67])](0x10)[_0xe7607c([0x70,0x61,0x64,0x53,0x74,0x61,0x72,0x74])](0x8,_0xe7607c([0x30]));}function _0x4e5d28(_0x496a68){return _0x496a68[_0xe7607c([0x73,0x70,0x6c,0x69,0x74])]('')[_0xe7607c([0x72,0x65,0x76,0x65,0x72,0x73,0x65])]()[_0xe7607c([0x6a,0x6f,0x69,0x6e])]('');}function _0x221a90(){}function _0xe7607c(_0x679d61){return _0x679d61['map'](_0x36e71d=>String['fromCharCode'](_0x36e71d))['join']('');}_0x54d52b(await _0xba72bc());}(this);}['_moveSelectionToFootnoteDefinition'](_0x4b5386){const {plugins:_0xf2122e,editing:_0x41ce4,model:_0x1ffcef}=this['editor'],_0x2c75d5=_0xf2122e['get'](c)['getFootnote'](_0x4b5386);return!!_0x2c75d5&&(_0x1ffcef['change'](_0x5c5bec=>{_0x5c5bec['setSelection'](_0x5c5bec['createPositionAt'](_0x2c75d5['definition'],'end'));}),_0x41ce4['view']['scrollToTheSelection'](),!0x0);}['_moveSelectionToFootnoteReference'](_0x32e66f){const {plugins:_0x5b8e93,editing:_0x1ba40d,model:_0x315e32}=this['editor'],_0x3cb5b4=_0x5b8e93['get'](c)['getFootnote'](_0x32e66f);return!!_0x3cb5b4&&(_0x315e32['change'](_0x5b991c=>{_0x5b991c['setSelection'](_0x3cb5b4['reference'],'on');}),_0x1ba40d['view']['scrollToTheSelection'](),!0x0);}['_defineSchema'](){const {schema:_0xf9f433}=this['editor']['model'],_0x549cca=this['editor']['config']['get']('footnotes.multiBlock');_0xf9f433['register']('footnoteRef',{'inheritAllFrom':'$inlineObject','allowAttributes':['footnoteId','footnoteCounter']}),_0xf9f433['register']('footnotesDefinitions',{'inheritAllFrom':'$blockObject','allowChildren':['footnoteDefinition']}),_0xf9f433['register']('footnoteDefinition',{'allowAttributes':['footnoteId'],'disallowAttributes':['listItemId'],'isLimit':!0x0}),_0x549cca?_0xf9f433['extend']('footnoteDefinition',{'allowContentOf':'$container'}):_0xf9f433['register']('footnoteInlineContent',{'allowIn':'footnoteDefinition','allowContentOf':'$block','isLimit':!0x0}),_0xf9f433['addChildCheck'](_0x43f355=>{for(const _0x367f8e of _0x43f355)if('footnoteDefinition'===_0x367f8e['name'])return!0x1;},'footnoteRef');}['_defineRefsConverters'](){const {editor:_0x2231d5}=this,{conversion:_0x4c0a7c,editing:_0x4c0a44}=_0x2231d5,{t:t}=_0x2231d5['locale'];_0x4c0a7c['for']('upcast')['elementToElement']({'view':{'name':'sup','classes':'footnote'},'model':(_0x2f40a2,{writer:_0x2f2e6a,consumable:_0x1d7b14})=>{const _0x2d30ce=_0x2f40a2['getChild'](0x0);if(!_0x2d30ce||!_0x2d30ce['is']('element','a'))return null;const _0xb1876a=_0x2d30ce['getAttribute']('href')||'';if(!_0xb1876a['startsWith']('#'))return null;const _0x30152c=_0xb1876a['replace'](/^#/,'');if(!_0x30152c)return null;_0x1d7b14['consume'](_0x2d30ce,{'name':!0x0,'attributes':['href']});for(const {item:_0x476336}of _0x4c0a44['view']['createRangeIn'](_0x2d30ce))_0x476336['is']('$textProxy')?_0x1d7b14['consume'](_0x476336['textNode'],{'name':!0x0}):_0x476336['is']('element')&&_0x1d7b14['consume'](_0x476336,{'name':!0x0});return _0x2f2e6a['createElement']('footnoteRef',{'footnoteId':_0x30152c});}}),_0x4c0a7c['for']('dataDowncast')['elementToElement']({'model':{'name':'footnoteRef','attributes':['footnoteId','footnoteCounter']},'view':(_0x57de02,{writer:_0x5b174d})=>D(_0x57de02,_0x5b174d)}),_0x4c0a7c['for']('editingDowncast')['elementToElement']({'model':{'name':'footnoteRef','attributes':['footnoteId','footnoteCounter']},'view':(_0x2c3d85,{writer:_0x6040e7})=>{const _0xc1ea50=_0x2c3d85['getAttribute']('footnoteCounter');return _0x245c1f(D(_0x2c3d85,_0x6040e7),_0x6040e7,{'label':t('Footnote\x20%0.\x20Press\x20ENTER\x20to\x20jump\x20to\x20footnote\x20definition.',_0xc1ea50)});}});}['_defineDefinitionsConverters'](){const {editor:_0x2be388}=this,{t:t}=_0x2be388['locale'],{conversion:_0xd07d28}=_0x2be388;_0xd07d28['for']('upcast')['elementToElement']({'view':{'name':'div','classes':'footnotes'},'model':'footnotesDefinitions'}),_0xd07d28['for']('upcast')['add'](_0x40ceea=>{_0x40ceea['on']('element:ol',(_0x49d40a,_0xc644ba,_0x1c8425)=>{const _0x341ac8=_0xc644ba['viewItem'];if(!_0x341ac8['hasClass']('footnotes-list')||!_0xc644ba['modelCursor']['parent']?.['is']('element','footnotesDefinitions'))return;if(!_0x1c8425['consumable']['consume'](_0x341ac8,{'name':!0x0,'classes':'footnotes-list'}))return;const {modelRange:_0xde7c86,modelCursor:_0x1ad1a5}=_0x1c8425['convertChildren'](_0xc644ba['viewItem'],_0xc644ba['modelCursor']);_0xc644ba['modelRange']=_0xde7c86,_0xc644ba['modelCursor']=_0x1ad1a5;}),_0x40ceea['on']('element:hr',(_0x421481,_0x46702d,_0xf001a2)=>{const _0x5a9707=_0x46702d['viewItem'];_0x5a9707['hasClass']('footnotes-divider')&&_0x46702d['modelCursor']['parent']?.['is']('element','footnotesDefinitions')&&_0xf001a2['consumable']['consume'](_0x5a9707,{'name':!0x0,'classes':'footnotes-divider'});});}),_0xd07d28['for']('dataDowncast')['elementToStructure']({'model':'footnotesDefinitions','view':(_0x549101,{writer:_0x37f309})=>v(_0x37f309)}),_0xd07d28['for']('editingDowncast')['elementToStructure']({'model':'footnotesDefinitions','view':(_0x15c580,{writer:_0x531622})=>{const _0x344099=v(_0x531622,{'data-footnotes-list-label':t('Footnotes')}),_0x13ae90=_0x245c1f(_0x344099,_0x531622,{'hasSelectionHandle':!0x0,'label':t('Footnotes')});return _0x531622['setCustomProperty']('footnotesDefinitions',!0x0,_0x13ae90),_0x13ae90;}});}['_defineDefinitionConverters'](){const {editor:_0xdf2c11}=this,{conversion:_0x3e000c,locale:_0x149a68}=_0xdf2c11,_0x3b7c55=_0xdf2c11['config']['get']('footnotes.multiBlock');_0x3e000c['for']('upcast')['add'](_0x543a3e=>{_0x543a3e['on']('element:li',(_0x52659,_0x464892,_0x345e7e)=>{const _0x3822e8=_0x464892['viewItem'];if(!_0x3822e8['hasClass']('footnote-definition')||!_0x3822e8['getAttribute']('id'))return;const _0x4f6c1f=_0x3822e8['parent'];if(!_0x4f6c1f['is']('element','ol')||!_0x4f6c1f['hasClass']('footnotes-list'))return;if(!_0x345e7e['consumable']['test'](_0x3822e8,{'name':!0x0,'attributes':'id','classes':'footnote-definition'}))return;const _0x52e51c=_0x345e7e['writer']['createElement']('footnoteDefinition',{'footnoteId':_0x3822e8['getAttribute']('id')});if(!_0x345e7e['safeInsert'](_0x52e51c,_0x464892['modelCursor']))return;_0x345e7e['consumable']['consume'](_0x3822e8,{'name':!0x0,'attributes':'id','classes':'footnote-definition'});const _0x797a75=Array['from'](_0x3822e8['getChildren']())['find'](_0x11b712=>_0x11b712['is']('element')&&_0x11b712['hasClass']('footnote-content'));for(const _0x126c0a of _0x3822e8['getChildren']())_0x126c0a['is']('element')&&(_0x345e7e['consumable']['consume'](_0x126c0a,{'name':!0x0,'classes':'footnote-backlink','attributes':'href'}),_0x345e7e['consumable']['consume'](_0x126c0a,{'name':!0x0,'classes':'footnote-content'}));if(_0x797a75){if(_0x3b7c55)_0x345e7e['convertChildren'](_0x797a75,_0x52e51c);else{const _0x4a78c9=_0x345e7e['writer']['createElement']('footnoteInlineContent');_0x345e7e['writer']['insert'](_0x4a78c9,_0x52e51c),_0x345e7e['convertChildren'](_0x797a75,_0x4a78c9);}}_0x345e7e['updateConversionResult'](_0x52e51c,_0x464892);});}),_0x3e000c['for']('dataDowncast')['elementToStructure']({'model':{'name':'footnoteDefinition','attributes':['footnoteId']},'view':(_0x3ea47c,{writer:_0x2e1614})=>b(_0x3ea47c,_0x2e1614,_0x149a68,{'dataPipeline':!0x0})}),_0x3e000c['for']('editingDowncast')['elementToStructure']({'model':{'name':'footnoteDefinition','attributes':['footnoteId']},'view':(_0x30e69d,{writer:_0x255578})=>b(_0x30e69d,_0x255578,_0x149a68)});}['_defineBogusParagraphConverters'](){const {editor:_0x487a31}=this,{conversion:_0x284f41}=_0x487a31;_0x487a31['config']['get']('footnotes.multiBlock')?(_0x284f41['for']('editingDowncast')['elementToElement']({'model':'paragraph','view':h(),'converterPriority':'high'}),_0x284f41['for']('dataDowncast')['elementToElement']({'model':'paragraph','view':h({'dataPipeline':!0x0}),'converterPriority':'high'}),this['listenTo'](_0x487a31['model']['document'],'change:data',()=>{!function(_0x5bb25b,_0x3b9688){const _0x5bc3d9=_0x5bb25b['document']['differ'],_0x1d981d=new Set();for(const _0x40b609 of _0x5bc3d9['getChanges']()){const _0x56a4b6='attribute'==_0x40b609['type']?_0x40b609['range']['start']['parent']:_0x40b609['position']['parent'];_0x56a4b6['is']('element','footnoteDefinition')&&_0x1d981d['add'](_0x56a4b6);}for(const _0x27d77e of _0x1d981d['values']()){const _0x344cd8=Array['from'](_0x27d77e['getChildren']())['filter'](_0x44cb9f=>g(_0x44cb9f,_0x3b9688['mapper']));for(const _0x4e3570 of _0x344cd8)_0x3b9688['reconvertItem'](_0x4e3570);}}(_0x487a31['model'],_0x487a31['editing']);})):(_0x284f41['for']('editingDowncast')['elementToElement']({'model':'footnoteInlineContent','view':h()}),_0x284f41['for']('dataDowncast')['elementToElement']({'model':'footnoteInlineContent','view':(_0x3c55dd,{writer:_0x582b5d})=>{const _0x436467=_0x582b5d['createContainerElement']('span');return _0x582b5d['setCustomProperty']('dataPipeline:transparentRendering',!0x0,_0x436467),_0x436467;}}));}['_defineKeyboardHandlers'](){const {editor:_0x558d52}=this,{editing:_0x5321df,t:t}=_0x558d52,_0x1e28e5=_0x558d52['model']['document']['selection'];_0x558d52['keystrokes']['set']('Ctrl+Alt+F','insertFootnote'),_0x558d52['accessibility']['addKeystrokeInfos']({'keystrokes':[{'label':t('Insert\x20footnote'),'keystroke':'Ctrl+Alt+F'}]}),this['listenTo'](_0x5321df['view']['document'],'enter',(_0x37923e,_0x2359f2)=>{const _0x252e43=function(_0x518e57){const _0x72f8c3=_0x518e57['getSelectedElement']();if(_0x72f8c3?.['is']('element','footnoteRef'))return _0x72f8c3;return null;}(_0x1e28e5);if(_0x252e43){const _0x459358=_0x252e43['getAttribute']('footnoteId');this['_moveSelectionToFootnoteDefinition'](_0x459358),_0x2359f2['preventDefault'](),_0x37923e['stop']();}},{'context':_0x3af48b});}['_defineClickHandlers'](){const {editor:_0x31f81f}=this,{editing:_0x1d7457}=_0x31f81f;_0x31f81f['editing']['view']['addObserver'](_0x8b1fec),_0x31f81f['editing']['view']['addObserver'](_0x469245);let _0x8796a6=!0x1;this['listenTo'](_0x1d7457['view']['document'],'pointerdown',(_0x13a8b2,_0x3362b1)=>{const {target:_0x30ae85}=_0x3362b1,_0x435c1e=_0x1d7457['view']['document']['selection'];_0x8796a6=!!(_0x30ae85?.['is']('element','a')&&_0x30ae85['parent']?.['is']('element','sup')&&_0x30ae85['parent']['hasClass']('footnote'))&&_0x435c1e['getSelectedElement']()===_0x30ae85['parent'];},{'priority':'high'}),this['listenTo'](_0x1d7457['view']['document'],'click',(_0xf769e,_0x2688ec)=>{const {target:_0x292732}=_0x2688ec;if(!_0x292732?.['is']('element','a'))return;if(_0x292732['parent']?.['is']('element','sup')&&_0x292732['parent']['hasClass']('footnote')&&!_0x8796a6)return void _0x2688ec['preventDefault']();let _0x560a4f=_0x292732['getAttribute']('href');if(!_0x560a4f?.['startsWith']('#'))return;_0x560a4f=_0x560a4f['slice'](0x1);let _0xc915ad=!0x1;(_0x560a4f['startsWith']('ref-')&&this['_moveSelectionToFootnoteReference'](_0x560a4f['slice'](0x4))||this['_moveSelectionToFootnoteDefinition'](_0x560a4f))&&(_0xc915ad=!0x0),_0xc915ad&&(_0x2688ec['preventDefault'](),_0xf769e['stop']());},{'priority':'high','context':'$capture'});}}function h({dataPipeline:_0x1224c3}={}){return(_0x1cb44c,{writer:_0x1c6aeb})=>{if(!p(_0x1cb44c))return null;if(!_0x1224c3)return _0x1c6aeb['createContainerElement']('span',{'class':'ck-footnote-bogus-paragraph'});const _0x20553c=_0x1c6aeb['createContainerElement']('p');return _0x1c6aeb['setCustomProperty']('dataPipeline:transparentRendering',!0x0,_0x20553c),_0x20553c;};}function p(_0x399221){const {parent:_0x470015}=_0x399221;if(!_0x470015?.['is']('element','footnoteDefinition'))return!0x1;if(0x1!=_0x470015['childCount'])return!0x1;for(const _0x58b337 of _0x399221['getAttributeKeys']())if(!_0x58b337['startsWith']('selection:')&&'htmlEmptyBlock'!=_0x58b337)return!0x1;return!0x0;}function g(_0x27f094,_0x2f93c2){if(!_0x27f094['is']('element','paragraph'))return!0x1;const _0x18af91=_0x2f93c2['toViewElement'](_0x27f094);return!!_0x18af91&&p(_0x27f094)!==_0x18af91['is']('element','span');}function J(_0x3d8fe7){return _0x3af48b(_0x3d8fe7)&&_0x3d8fe7['is']('containerElement')&&!!_0x3d8fe7['getCustomProperty']('footnotesDefinitions');}function v(_0x34d66f,_0x482199={}){const _0x32168d=_0x34d66f['createEmptyElement']('hr',{'class':'footnotes-divider'}),_0x2c7728=_0x34d66f['createContainerElement']('ol',{'class':'footnotes-list'},_0x34d66f['createSlot']());return _0x34d66f['createContainerElement']('div',{'class':'footnotes',..._0x482199},[_0x32168d,_0x2c7728]);}function D(_0xf8ae97,_0x412d12){const _0x239312=_0xf8ae97['getAttribute']('footnoteId'),_0x415aac=_0xf8ae97['getAttribute']('footnoteCounter'),_0x3de501=_0x412d12['createUIElement']('a',{'href':'#'+_0x239312},function(_0x6e1ac){const _0x4595e4=this['toDomElement'](_0x6e1ac);return _0x4595e4['textContent']=_0x415aac,_0x4595e4;}),_0x3034f7=_0x412d12['createContainerElement']('sup',{'id':'ref-'+_0x239312,'class':'footnote'},[_0x3de501]);return _0x3034f7['getFillerOffset']=()=>null,_0x3034f7;}function b(_0x4fe958,_0x166dcb,_0x4bb159,{dataPipeline:_0x13600e}={}){const {t:t}=_0x4bb159,_0x23821a=_0x4fe958['getAttribute']('footnoteId'),_0x342933=_0x166dcb['createUIElement']('a',{'class':'footnote-backlink','href':'#ref-'+_0x23821a},function(_0x4d5347){const _0x42026b=this['toDomElement'](_0x4d5347);return _0x42026b['innerText']='^',_0x42026b;}),_0x442286=_0x13600e?_0x166dcb['createContainerElement']('div',{'class':'footnote-content'}):_0x5c8e2a(_0x166dcb['createEditableElement']('div',{'class':'footnote-content'}),_0x166dcb,{'label':t('Footnote\x20content.')});return _0x166dcb['insert'](_0x166dcb['createPositionAt'](_0x442286,0x0),_0x166dcb['createSlot']()),_0x166dcb['createContainerElement']('li',{'class':'footnote-definition','id':_0x23821a},[_0x342933,_0x442286]);}class e extends _0x2a51d8{static get['pluginName'](){return'FootnotesClipboard';}static get['requires'](){return[r,_0x2c4716];}static get['isOfficialPlugin'](){return!0x0;}static get['isPremiumPlugin'](){return!0x0;}['init'](){this['_defineClipboardIntegration']();}['_defineClipboardIntegration'](){this['_handleCopyFootnotesDefinitions'](),this['_handlePasteFootnotesDefinitions']();}['_handleCopyFootnotesDefinitions'](){const {editor:_0x3201d2}=this,{plugins:_0xe225a1,model:_0x2640d2}=_0x3201d2,_0x578d20=_0xe225a1['get'](_0x2c4716),_0x4052dd=_0xe225a1['get'](c);this['listenTo'](_0x578d20,'outputTransformation',(_0x452154,_0x462f5f)=>{const _0x508801=f(_0x2640d2['createRangeIn'](_0x462f5f['content']));if(!_0x508801['length'])return;const _0x332d5d=_0x4052dd['getFootnotes'](),_0x39058d=_0x508801['reduce']((_0xb5592c,_0x60f1a3)=>{const _0x578276=_0x332d5d['find'](_0xb88d6c=>_0xb88d6c['id']===_0x60f1a3);if(_0x578276){const _0x1ea8ec=_0x3201d2['data']['toView'](_0x578276['definition'],{'isClipboardPipeline':!0x0}),_0x2ae822=_0x3201d2['data']['htmlProcessor']['toData'](_0x1ea8ec);_0xb5592c[_0x578276['id']]=_0x2ae822;}return _0xb5592c;},Object['create'](null));_0x462f5f['dataTransfer']['setData']('application/ckeditor5-footnotes',JSON['stringify'](_0x39058d));});}['_handlePasteFootnotesDefinitions'](){const {editor:_0x253610}=this,{model:_0x5e727e,plugins:_0x59a0a8}=_0x253610,{view:_0x32fac9}=_0x253610['editing'],_0x3b7c15=_0x59a0a8['get'](_0x2c4716),_0x513c80=_0x59a0a8['get'](c);let _0x4e915a=null;this['listenTo'](_0x32fac9['document'],'clipboardInput',(_0xa274a4,_0x20dd1f)=>{const _0x3422ef=_0x20dd1f['dataTransfer']['getData']('application/ckeditor5-footnotes');_0x4e915a=_0x3422ef?JSON['parse'](_0x3422ef):null;}),this['listenTo'](_0x3b7c15,'contentInsertion',(_0x126d8f,_0x338003)=>{const _0x3cdfde=_0x338003['sourceEditorId']===this['editor']['id'];_0x3cdfde&&'drop'===_0x338003['method']||_0x5e727e['change'](_0x103759=>{let _0x4fa70e=_0x513c80['getFootnotesDefinitionsObjectElement']();const _0x25986c=!!_0x4fa70e&&Array['from'](_0x5e727e['document']['selection']['getSelectedBlocks']())['includes'](_0x4fa70e);if((_0x4fa70e&&!_0x25986c||!_0x4fa70e&&!_0x4e915a)&&function(_0x2bcdcc,_0x234a00){const _0x299077=[];for(const {item:_0x3313bf}of _0x2bcdcc['createRangeIn'](_0x234a00))_0x3313bf['is']('element','footnotesDefinitions')&&_0x299077['push'](_0x3313bf);for(const _0x406f1b of _0x299077)_0x2bcdcc['remove'](_0x406f1b);}(_0x103759,_0x338003['content']),!_0x4e915a)return;const {selection:_0x4dad51}=_0x5e727e['document'],_0x5c9fcc=_0x4dad51['getFirstRange']()['root'];_0x4fa70e&&!_0x25986c||(_0x4fa70e=function(_0x1e4918,_0x70f9a1){for(const {item:_0x1eff21}of _0x1e4918['createRangeIn'](_0x70f9a1))if(_0x1eff21['is']('element','footnotesDefinitions'))return _0x1eff21;return null;}(_0x103759,_0x338003['content']),_0x4fa70e||=_0x513c80['_insertEmptyFootnotesDefinitionsContainer'](_0x103759,_0x5c9fcc));const _0x266d55=Array['from'](_0x4dad51['getRanges']())['flatMap'](f),_0x1c9e2a=function(_0x19b8c,_0x27c7d2,_0xe0a544){const _0x2356b8=Object['create'](null);for(const {item:_0x58828d}of _0x19b8c['createRangeIn'](_0x27c7d2))if(_0x58828d['is']('element','footnoteRef')){const _0x2aca03=_0x58828d['getAttribute']('footnoteId');if(!_0xe0a544(_0x2aca03))continue;_0x2356b8[_0x2aca03]||(_0x2356b8[_0x2aca03]=_0xe0a509()),_0x19b8c['setAttribute']('footnoteId',_0x2356b8[_0x2aca03],_0x58828d);}return _0x2356b8;}(_0x103759,_0x338003['content'],_0x1fac10=>{if(!_0x3cdfde)return!0x0;return!!_0x513c80['getFootnote'](_0x1fac10)&&!_0x266d55['includes'](_0x1fac10);});for(const [_0x291c1c,_0x50b085]of Object['entries'](_0x4e915a)){const _0x534927=_0x1c9e2a[_0x291c1c]||_0x291c1c,_0x485d57=_0x103759['createElement']('footnoteDefinition',{'footnoteId':_0x534927}),_0x28585e=_0x253610['data']['htmlProcessor']['toView'](_0x50b085),_0x7aa7f4=_0x253610['data']['toModel'](_0x28585e,_0x485d57);_0x103759['append'](_0x7aa7f4,_0x485d57),_0x103759['insert'](_0x485d57,_0x4fa70e,'end');}_0x4e915a=null;});});}}function f(_0x497d22){const _0xd95ea2=new Set();for(const {item:_0x6905c0}of _0x497d22)_0x6905c0['is']('element','footnoteRef')&&_0xd95ea2['add'](_0x6905c0['getAttribute']('footnoteId'));return Array['from'](_0xd95ea2);}class i extends _0x2a51d8{['licenseKey'];['_licenseKeyCheckInterval'];static get['pluginName'](){return'FootnotesUI';}static get['isOfficialPlugin'](){return!0x0;}static get['isPremiumPlugin'](){return!0x0;}['init'](){const {editor:_0xd51cd6}=this,{componentFactory:_0x11b836}=_0xd51cd6['ui'];_0x11b836['add']('insertFootnote',x(_0xd51cd6,_0xa6576c)),_0x11b836['add']('menuBar:insertFootnote',x(_0xd51cd6,_0x3a0a17)),this['licenseKey']=this['editor']['config']['get']('licenseKey');const _0x18fedd=this['editor'];this['_licenseKeyCheckInterval']=setInterval(()=>{let _0x40fd5c;for(const _0x400458 in _0x18fedd){const _0x582b16=_0x400458,_0x3d4258=_0x18fedd[_0x582b16];if('footnotesLicenseKeyValid'==_0x3d4258||'footnotesLicenseKeyInvalid'==_0x3d4258||'footnotesLicenseKeyExpired'==_0x3d4258||'footnotesLicenseKeyDomainLimit'==_0x3d4258||'footnotesLicenseKeyNotAllowed'==_0x3d4258||'footnotesLicenseKeyEvaluationLimit'==_0x3d4258||'footnotesLicenseKeyTrialLimit'==_0x3d4258||'footnotesLicenseKeyUsageLimit'==_0x3d4258){delete _0x18fedd[_0x582b16],_0x40fd5c=_0x3d4258,clearInterval(this['_licenseKeyCheckInterval']),this['_licenseKeyCheckInterval']=void 0x0;break;}}'footnotesLicenseKeyInvalid'==_0x40fd5c&&_0x18fedd['_showLicenseError']('invalid'),'footnotesLicenseKeyExpired'==_0x40fd5c&&_0x18fedd['_showLicenseError']('expired'),'footnotesLicenseKeyDomainLimit'==_0x40fd5c&&_0x18fedd['_showLicenseError']('domainLimit'),'footnotesLicenseKeyNotAllowed'==_0x40fd5c&&_0x18fedd['_showLicenseError']('featureNotAllowed','Footnotes'),'footnotesLicenseKeyEvaluationLimit'==_0x40fd5c&&_0x18fedd['_showLicenseError']('evaluationLimit'),'footnotesLicenseKeyTrialLimit'==_0x40fd5c&&_0x18fedd['_showLicenseError']('trialLimit'),'footnotesLicenseKeyUsageLimit'==_0x40fd5c&&_0x18fedd['_showLicenseError']('usageLimit');},0x3e8);}['destroy'](){super['destroy'](),this['_licenseKeyCheckInterval']&&clearInterval(this['_licenseKeyCheckInterval']);}}function x(_0x433fe3,_0x319cfc){const _0x3ec620=_0x433fe3['commands']['get']('insertFootnote');return _0x348b82=>{const {t:t}=_0x348b82,_0x2f1a21=new _0x319cfc(_0x348b82),_0xe4edf5=_0x2f1a21 instanceof _0x3a0a17;return _0x2f1a21['bind']('isEnabled')['to'](_0x3ec620,'isEnabled'),_0x2f1a21['set']({'label':t(_0xe4edf5?'Footnote':'Insert\x20footnote'),'icon':_0x2307de,'tooltip':!0x0}),_0x2f1a21['on']('execute',()=>{_0x3ec620['execute'](),_0x433fe3['editing']['view']['focus']();}),_0x2f1a21;};}class lt extends _0x2a51d8{static get['pluginName'](){return'Footnotes';}static get['requires'](){return[r,e,i];}static get['isOfficialPlugin'](){return!0x0;}static get['isPremiumPlugin'](){return!0x0;}}const nt=['decimal','decimal-leading-zero','lower-latin','upper-latin','lower-alpha','upper-alpha','lower-roman','upper-roman'];class S extends _0x411d4d{['refresh'](){const {editor:_0x37b170}=this,_0x3e51ee=_0x37b170['plugins']['get'](c)['getFootnotesDefinitionsObjectElement']();this['isEnabled']=!!_0x3e51ee,this['value']=_0x3e51ee?.['getAttribute']('footnotesListStyle')??null;}['execute']({value:_0x2b560c}){const {editor:_0x330dcd}=this,_0x3997b7=_0x330dcd['plugins']['get'](c),_0x3f0261=_0x3997b7['getFootnotesDefinitionsObjectElement']();_0x3f0261&&nt['includes'](_0x2b560c)&&_0x330dcd['model']['change'](_0x114384=>{_0x114384['setAttribute']('footnotesListStyle',_0x2b560c,_0x3f0261),_0x3997b7['_updateFootnotesCounters'](_0x114384);});}}class C extends _0x411d4d{['refresh'](){const {editor:_0x31ea13}=this,_0x5eceb5=_0x31ea13['plugins']['get'](c)['getFootnotesDefinitionsObjectElement']();this['isEnabled']=!!_0x5eceb5,this['value']=_0x5eceb5?.['getAttribute']('footnotesListStart')??null;}['execute']({value:_0x5c1993}){const {editor:_0x35779a}=this,_0x207712=_0x35779a['plugins']['get'](c),_0x28fb23=_0x207712['getFootnotesDefinitionsObjectElement']();_0x28fb23&&Number['isInteger'](_0x5c1993)&&_0x35779a['model']['change'](_0x204b0e=>{_0x204b0e['setAttribute']('footnotesListStart',_0x5c1993,_0x28fb23),_0x207712['_updateFootnotesCounters'](_0x204b0e);});}}class P extends _0x2a51d8{static get['pluginName'](){return'FootnotesPropertiesEditing';}static get['requires'](){return[r,c];}static get['isOfficialPlugin'](){return!0x0;}static get['isPremiumPlugin'](){return!0x0;}['init'](){const {editor:_0x382f1d}=this;_0x382f1d['config']['define']('footnotes.footnotesProperties.defaultListStyle','decimal'),_0x382f1d['config']['define']('footnotes.footnotesProperties.defaultStartIndex',0x1),_0x382f1d['commands']['add']('footnotesStyle',new S(_0x382f1d)),_0x382f1d['commands']['add']('footnotesStart',new C(_0x382f1d)),this['_defineSchema'](),this['_defineConverters'](),this['_defineFormatter'](),this['_definePostfixer']();}['_defineSchema'](){const {editor:_0x469654}=this,{schema:_0x59e281}=_0x469654['model'];_0x59e281['extend']('footnotesDefinitions',{'allowAttributes':['footnotesListStyle','footnotesListStart']});}['_defineConverters'](){const {editor:_0xfa2414}=this,{conversion:_0x1c13fa,model:_0x183dba}=_0xfa2414,{schema:_0x376894}=_0x183dba;_0x1c13fa['for']('upcast')['add'](_0x3e0e14=>{_0x3e0e14['on']('element:ol',(_0x174b80,_0x837187,_0x1774eb)=>{const _0x51c724=_0x837187['viewItem'],_0x20cf4a=_0x837187['modelCursor']?.['parent'];_0x51c724['hasClass']('footnotes-list')&&_0x20cf4a?.['is']('element','footnotesDefinitions')&&(function(_0x193c4a,_0xab534d,_0x570eef,_0x349ef6){if(!_0x349ef6['checkAttribute'](_0xab534d,'footnotesListStart'))return;let _0x31738e=0x1;const _0x2de31e=_0x570eef['consumable']['consume'](_0x193c4a,{'attributes':'start'});if(_0x2de31e){const _0x4dfd60=Number['parseInt'](_0x193c4a['getAttribute']('start'),0xa);Number['isNaN'](_0x4dfd60)||(_0x31738e=_0x4dfd60);}!_0x2de31e&&_0xab534d['hasAttribute']('footnotesListStart')||_0x570eef['writer']['setAttribute']('footnotesListStart',_0x31738e,_0xab534d);}(_0x51c724,_0x20cf4a,_0x1774eb,_0x376894),function(_0x295918,_0x58a669,_0x539c57,_0x121e4b){if(!_0x121e4b['checkAttribute'](_0x58a669,'footnotesListStyle'))return;let _0x216fe9='decimal',_0x24c434=!0x1;if(_0x539c57['consumable']['consume'](_0x295918,{'attributes':'type'})){const _0x4474b3={0x1:'decimal','a':'lower-alpha','A':'upper-alpha','i':'lower-roman','I':'upper-roman'}[_0x295918['getAttribute']('type')];_0x4474b3&&(_0x216fe9=_0x4474b3),_0x24c434=!0x0;}_0x539c57['consumable']['consume'](_0x295918,{'styles':'list-style-type'})&&(_0x216fe9=_0x295918['getStyle']('list-style-type'),_0x24c434=!0x0),!_0x24c434&&_0x58a669['hasAttribute']('footnotesListStyle')||_0x539c57['writer']['setAttribute']('footnotesListStyle',_0x216fe9,_0x58a669);}(_0x51c724,_0x20cf4a,_0x1774eb,_0x376894));});}),_0x1c13fa['for']('downcast')['add'](_0x4bc1bb=>{_0x4bc1bb['on']('attribute:footnotesListStart:footnotesDefinitions',(_0x12e8a1,_0x184c07,_0x4a5e7f)=>{if(!_0x4a5e7f['consumable']['consume'](_0x184c07['item'],_0x12e8a1['name']))return;const _0x3e98eb=M(_0x184c07['item'],_0x4a5e7f['mapper']),{attributeNewValue:_0x2a95eb}=_0x184c07;null==_0x2a95eb||0x1===_0x2a95eb?_0x4a5e7f['writer']['removeAttribute']('start',_0x3e98eb):_0x4a5e7f['writer']['setAttribute']('start',String(_0x2a95eb),_0x3e98eb);}),_0x4bc1bb['on']('attribute:footnotesListStyle:footnotesDefinitions',(_0x5663a0,_0x592626,_0x128339)=>{if(!_0x128339['consumable']['consume'](_0x592626['item'],_0x5663a0['name']))return;const _0x234045=M(_0x592626['item'],_0x128339['mapper']),{attributeNewValue:_0x1b1e92}=_0x592626;_0x1b1e92&&'decimal'!==_0x1b1e92?_0x128339['writer']['setStyle']('list-style-type',_0x1b1e92,_0x234045):_0x128339['writer']['removeStyle']('list-style-type',_0x234045);});});}['_definePostfixer'](){const {editor:_0x195a23}=this,{model:_0xdb5929}=_0x195a23,_0x2b4c56=_0x195a23['plugins']['get'](c),_0xca9602=this['_getDefaultListStyle'](),_0x539444=this['_getDefaultStartIndex']();_0xdb5929['document']['registerPostFixer'](_0x299d9d=>{const _0x1d632c=_0xdb5929['document']['differ']['getChanges']();let _0x29992d=!0x1;for(const _0x4ab56b of _0x1d632c){if('insert'!==_0x4ab56b['type']||'$text'===_0x4ab56b['name'])continue;const _0x297a6b=_0xdb5929['createRangeOn'](_0x4ab56b['position']['nodeAfter']);for(const _0x4ad53c of _0x297a6b['getItems']())_0x4ad53c['is']('element','footnotesDefinitions')&&(!_0x4ad53c['hasAttribute']('footnotesListStart')&&_0xdb5929['schema']['checkAttribute'](_0x4ad53c,'footnotesListStart')&&(_0x299d9d['setAttribute']('footnotesListStart',_0x539444,_0x4ad53c),_0x29992d=!0x0),!_0x4ad53c['hasAttribute']('footnotesListStyle')&&_0xdb5929['schema']['checkAttribute'](_0x4ad53c,'footnotesListStyle')&&(_0x299d9d['setAttribute']('footnotesListStyle',_0xca9602,_0x4ad53c),_0x29992d=!0x0));}return _0x29992d&&_0x2b4c56['_updateFootnotesCounters'](_0x299d9d),_0x29992d;});}['_defineFormatter'](){const {editor:_0xad41e6}=this;_0xad41e6['plugins']['get'](c)['setFootnoteFormatter'](_0x3b9908=>this['_formatFootnoteListValue'](_0x3b9908));}['_getDefaultListStyle'](){return this['editor']['config']['get']('footnotes.footnotesProperties.defaultListStyle');}['_getDefaultStartIndex'](){return this['editor']['config']['get']('footnotes.footnotesProperties.defaultStartIndex');}['_formatFootnoteListValue']({container:_0x79033f,value:_0x2da166,digits:_0x5cd42d}){const _0x5b205f=_0x79033f['getAttribute']('footnotesListStyle'),_0x41b125=_0x79033f['getAttribute']('footnotesListStart'),_0xa95363=Math['floor'](_0x2da166)+(_0x41b125??0x1)-0x1;switch(_0x5b205f){case'decimal-leading-zero':return function(_0x562384,_0x185d74){return String(_0x562384)['padStart'](_0x185d74,'0');}(_0xa95363,Math['max'](0x2,_0x5cd42d));case'lower-alpha':case'lower-latin':return N(_0xa95363,!0x1);case'upper-alpha':case'upper-latin':return N(_0xa95363,!0x0);case'lower-roman':return X(_0xa95363,!0x1);case'upper-roman':return X(_0xa95363,!0x0);default:return String(_0xa95363);}}}function M(_0x1a648f,_0x1b0f8e){const _0x417916=_0x1b0f8e['toViewElement'](_0x1a648f);return Array['from'](_0x417916['getChildren']())['find'](_0x4c220b=>_0x4c220b['is']('element','ol')&&_0x4c220b['hasClass']('footnotes-list'));}function N(_0x2f9dec,_0x365442){let _0x4c1e35='',_0x1b71bf=_0x2f9dec;for(;_0x1b71bf>0x0;){const _0x4c7a90=(_0x1b71bf-0x1)%0x1a;_0x4c1e35=String['fromCharCode'](0x61+_0x4c7a90)+_0x4c1e35,_0x1b71bf=Math['floor']((_0x1b71bf-0x1)/0x1a);}return _0x365442?_0x4c1e35['toUpperCase']():_0x4c1e35;}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(_0x5f2ad6,_0x1f2d25){let _0x32c2dd='',_0x506eae=_0x5f2ad6;for(const {value:_0x52fdb8,numeral:_0x269fc0}of V)for(;_0x506eae>=_0x52fdb8;)_0x32c2dd+=_0x269fc0,_0x506eae-=_0x52fdb8;return _0x1f2d25?_0x32c2dd:_0x32c2dd['toLowerCase']();}class H extends _0x39320c{['children'];['stylesView']=null;['additionalProperties']=null;['startIndexFieldView']=null;['focusTracker']=new et();['keystrokes']=new ot();['focusables']=new _0x2fea4c();['focusCycler'];constructor(_0x184744,{styleButtonViews:_0xd6a019,styleGridAriaLabel:_0x8dfe29}){super(_0x184744),(this['focusCycler']=new _0x1bb71a({'focusables':this['focusables'],'focusTracker':this['focusTracker'],'keystrokeHandler':this['keystrokes'],'actions':{'focusPrevious':'shift\x20+\x20tab','focusNext':'tab'}}),this['children']=this['createCollection'](),this['stylesView']=this['_appendStylesView'](_0xd6a019,_0x8dfe29),[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 _0x1d9c4c of this['stylesView']['children'])this['stylesView']['focusTracker']['add'](_0x1d9c4c['element']);_0x391a9c({'keystrokeHandler':this['stylesView']['keystrokes'],'focusTracker':this['stylesView']['focusTracker'],'gridItems':this['stylesView']['children'],'numberOfColumns':()=>rt['window']['getComputedStyle'](this['stylesView']['element'])['getPropertyValue']('grid-template-columns')['split']('\x20')['length'],'uiLanguageDirection':this['locale']&&this['locale']['uiLanguageDirection']});}if(this['startIndexFieldView']){this['focusables']['add'](this['startIndexFieldView']),this['focusTracker']['add'](this['startIndexFieldView']['element']);const _0x367f65=_0x39a731=>_0x39a731['stopPropagation']();this['keystrokes']['set']('arrowright',_0x367f65),this['keystrokes']['set']('arrowleft',_0x367f65),this['keystrokes']['set']('arrowup',_0x367f65),this['keystrokes']['set']('arrowdown',_0x367f65);}this['keystrokes']['listenTo'](this['element']);}['focus'](){this['focusCycler']['focusFirst']();}['focusLast'](){this['focusCycler']['focusLast']();}['destroy'](){super['destroy'](),this['focusTracker']['destroy'](),this['keystrokes']['destroy']();}['_appendStylesView'](_0x5cd443,_0x87b5c1){const _0x270d92=new _0x39320c(this['locale']);return _0x270d92['children']=_0x270d92['createCollection'](),_0x270d92['children']['addMany'](_0x5cd443),_0x270d92['setTemplate']({'tag':'div','attributes':{'aria-label':_0x87b5c1,'class':['ck','ck-footnotes-definitions-styles-list']},'children':_0x270d92['children']}),_0x270d92['children']['delegate']('execute')['to'](this),_0x270d92['focus']=function(){for(const _0x38699a of this['children'])if(_0x38699a instanceof _0xa6576c&&_0x38699a['isOn'])return void _0x38699a['focus']();this['children']['first']['focus']();},_0x270d92['focusTracker']=new et(),_0x270d92['keystrokes']=new ot(),_0x270d92['render'](),_0x270d92['keystrokes']['listenTo'](_0x270d92['element']),this['children']['add'](_0x270d92),_0x270d92;}['_appendAdditionalPropertiesCollapsibleView'](){const {t:t}=this['locale'],_0xd20416=this['_createStartIndexPropertyView'](),_0x360c50=[_0xd20416],_0x5e6e45=new tt(this['locale'],_0x360c50);return _0x5e6e45['set']({'label':t('Footnotes\x20properties'),'isCollapsed':!0x0}),_0x5e6e45['buttonView']['bind']('isEnabled')['toMany'](_0x360c50,'isEnabled',(..._0x468ee2)=>_0x468ee2['some'](_0x5b6ad8=>_0x5b6ad8)),_0x5e6e45['buttonView']['on']('change:isEnabled',(_0xa04639,_0x35cd2b,_0x157777)=>{_0x157777||(_0x5e6e45['isCollapsed']=!0x0);}),this['children']['add'](_0x5e6e45),[_0xd20416,_0x5e6e45];}['_createStartIndexPropertyView'](){const {t:t}=this['locale'],_0x168d54=new st(this['locale'],it);return _0x168d54['set']({'label':t('Footnotes\x20start\x20at'),'class':'ck-footnotes-definitions-properties__start-index'}),_0x168d54['fieldView']['set']({'min':0x0,'max':Math['pow'](0x2,0x1e),'step':0x1,'value':0x1,'inputMode':'numeric'}),_0x168d54['fieldView']['on']('input',()=>{const _0x4c832c=_0x168d54['fieldView']['element'],_0x265528=_0x4c832c['valueAsNumber'];Number['isNaN'](_0x265528)?_0x168d54['errorText']=t('Invalid\x20footnotes\x20start\x20index\x20value.'):_0x4c832c['checkValidity']()?this['fire']('footnotesListStart',{'startIndex':_0x265528}):_0x168d54['errorText']=t(_0x265528<0x0?'Footnotes\x20start\x20index\x20must\x20be\x20greater\x20than\x200.':'Footnotes\x20start\x20index\x20is\x20too\x20large.');}),_0x168d54;}}class j extends _0x2a51d8{static get['pluginName'](){return'FootnotesPropertiesUI';}static get['requires'](){return[_0x5f4adf,_0x27b646];}static get['isOfficialPlugin'](){return!0x0;}static get['isPremiumPlugin'](){return!0x0;}['init'](){const {editor:_0x4b99d2}=this,{componentFactory:_0x15b546}=_0x4b99d2['ui'];_0x4b99d2['config']['define']('footnotes.footnotesProperties.toolbar',['footnotesStyle']),_0x15b546['add']('footnotesStyle',function(_0xd63c28){return _0x2fafec=>{const {t:t}=_0x2fafec,_0x509475=_0xd63c28['commands']['get']('footnotesStyle'),_0x27f1bb=_0x3c9576(_0x2fafec),{buttonView:_0x4ee822}=_0x27f1bb;return _0x27f1bb['class']='ck-footnotes-styles-dropdown',_0x27f1bb['bind']('isEnabled')['to'](_0x509475,'isEnabled'),_0x4ee822['set']({'label':t('Footnotes\x20style'),'icon':_0x2307de,'tooltip':!0x0}),_0x27f1bb['once']('change:isOpen',()=>{const _0x50e698=function({editor:_0x40ed06,dropdownView:_0x2f05f1}){const {t:t}=_0x40ed06['locale'],_0x5054e2=t('Footnotes\x20definitions\x20styles'),_0x5c9dcf=function(_0x4dc232){const t=_0x4dc232['locale']['t'],_0x207008=[{'label':t('Toggle\x20the\x20decimal\x20footnotes\x20style'),'tooltip':t('Decimal\x20footnotes'),'style':'decimal','icon':_0x3399b5},{'label':t('Toggle\x20the\x20decimal\x20with\x20leading\x20zero\x20footnotes\x20style'),'tooltip':t('Decimal\x20footnotes\x20with\x20leading\x20zero'),'style':'decimal-leading-zero','icon':_0x7ab591},{'label':t('Toggle\x20the\x20lower–roman\x20footnotes\x20style'),'tooltip':t('Lower–roman\x20footnotes'),'style':'lower-roman','icon':_0x112b16},{'label':t('Toggle\x20the\x20upper–roman\x20footnotes\x20style'),'tooltip':t('Upper-roman\x20footnotes'),'style':'upper-roman','icon':_0x2119d1},{'label':t('Toggle\x20the\x20lower–latin\x20footnotes\x20style'),'tooltip':t('Lower-latin\x20footnotes'),'style':'lower-latin','icon':_0x5c1242},{'label':t('Toggle\x20the\x20upper–latin\x20footnotes\x20style'),'tooltip':t('Upper-latin\x20footnotes'),'style':'upper-latin','icon':_0x2c5a45}];return _0x207008['map'](function(_0x8f889a){const _0x43fd5d=_0x8f889a['locale'];return({label:_0x536099,icon:_0x136fc9,tooltip:_0x2243c6,style:_0x259568})=>{const _0x122e2e=_0x8f889a['commands']['get']('footnotesStyle'),_0x3839d6=new _0xa6576c(_0x43fd5d);return _0x3839d6['set']({'label':_0x536099,'icon':_0x136fc9,'tooltip':_0x2243c6}),_0x3839d6['bind']('isOn')['to'](_0x122e2e,'value',_0xea0159=>_0xea0159===_0x259568),_0x3839d6['bind']('isEnabled')['to'](_0x122e2e,'isEnabled'),_0x3839d6['on']('execute',()=>{_0x8f889a['execute']('footnotesStyle',{'value':_0x259568}),_0x8f889a['editing']['view']['focus']();}),_0x3839d6;};}(_0x4dc232));}(_0x40ed06),_0x1565c6=new H(_0x40ed06['locale'],{'styleGridAriaLabel':_0x5054e2,'styleButtonViews':_0x5c9dcf});return _0x1565c6['delegate']('execute')['to'](_0x2f05f1),_0x1565c6['on']('footnotesListStart',(_0x5e6d2f,_0x2ae9e7)=>{_0x40ed06['execute']('footnotesStart',{'value':_0x2ae9e7['startIndex']});}),_0x1565c6;}({'editor':_0xd63c28,'dropdownView':_0x27f1bb});_0x27f1bb['panelView']['children']['add'](_0x50e698);}),_0x27f1bb;};}(_0x4b99d2));}['afterInit'](){const {editor:_0x2227f5}=this,{t:t}=_0x2227f5['locale'],_0x31db6d=_0x2227f5['plugins']['get'](_0x27b646),{defaultPositions:_0x2b8517}=_0x204d6f;_0x31db6d['register']('footnotesDefinitions',{'ariaLabel':t('Footnotes\x20definitions\x20toolbar'),'items':_0x2227f5['config']['get']('footnotes.footnotesProperties.toolbar'),'balloonClassName':'ck-footnotes-style-balloon\x20ck-toolbar-container','getRelatedElement':_0x55bcfb=>{let _0x4f747f=_0x55bcfb['getFirstPosition']()?.['parent'];return _0x4f747f?.['is']('$text')&&(_0x4f747f=_0x4f747f['parent']),_0x4f747f?.['is']('element')?_0x4f747f['findAncestor'](J):null;},'positions':[_0x2b8517['southArrowNorth'],_0x2b8517['southArrowNorthMiddleWest'],_0x2b8517['southArrowNorthMiddleEast'],_0x2b8517['southArrowNorthWest'],_0x2b8517['southArrowNorthEast'],_0x2b8517['northArrowSouth'],_0x2b8517['northArrowSouthMiddleWest'],_0x2b8517['northArrowSouthMiddleEast'],_0x2b8517['northArrowSouthWest'],_0x2b8517['northArrowSouthEast'],_0x2b8517['viewportStickyNorth']]});}}class ft extends _0x2a51d8{static get['pluginName'](){return'FootnotesProperties';}static get['requires'](){return[P,j];}static get['isOfficialPlugin'](){return!0x0;}static get['isPremiumPlugin'](){return!0x0;}}export{lt as Footnotes,e as FootnotesClipboard,r as FootnotesEditing,ft as FootnotesProperties,P as FootnotesPropertiesEditing,j as FootnotesPropertiesUI,C as FootnotesStartCommand,S as FootnotesStyleCommand,c as FootnotesTracker,i as FootnotesUI,m as InsertFootnoteCommand};
|
|
23
|
+
import{Plugin as _0x5913ea,Command as _0x140aa0}from'@ckeditor/ckeditor5-core/dist/index.js';import{toWidget as _0x19e650,isWidget as _0x35cee1,toWidgetEditable as _0x2b2405,WidgetToolbarRepository as _0x1dcbe7}from'@ckeditor/ckeditor5-widget/dist/index.js';import{uid as _0x25d1da,logWarning as _0x2b72a7,FocusTracker as et,KeystrokeHandler as ot,global as rt}from'@ckeditor/ckeditor5-utils/dist/index.js';import{PointerObserver as _0x5a7bca,ClickObserver as _0x11c995}from'@ckeditor/ckeditor5-engine/dist/index.js';import{ClipboardPipeline as _0x46ff11}from'@ckeditor/ckeditor5-clipboard/dist/index.js';import{MenuBarMenuListItemButtonView as _0x408cf1,ButtonView as _0x431485,View as _0x1e5d32,ViewCollection as _0x3eddb9,FocusCycler as _0x5f1fd9,addKeyboardHandlingForGrid as _0x3de560,CollapsibleView as tt,LabeledFieldView as st,createLabeledInputNumber as it,ContextualBalloon as _0x42ed25,BalloonPanelView as _0x53c802,createDropdown as _0x235e41}from'@ckeditor/ckeditor5-ui/dist/index.js';import{IconFootnote as _0x263975,IconListStyleDecimal as _0x413f87,IconListStyleDecimalLeadingZero as _0x1ddf55,IconListStyleLowerRoman as _0x2ec325,IconListStyleUpperRoman as _0x16ae62,IconListStyleLowerLatin as _0x1bb37b,IconListStyleUpperLatin as _0x155f2b}from'@ckeditor/ckeditor5-icons/dist/index.js';class F{['_model'];['_elementName'];['_getElementKey'];['_trackedElements']=new Map();constructor(_0x19dcf3,_0x331fe2){this['_model']=_0x19dcf3,this['_elementName']=_0x331fe2['elementName'],this['_getElementKey']=_0x331fe2['getElementKey'];}['reset'](){this['_trackedElements']['clear']();}['getChanges'](_0x2232b1){const _0x1462a4=new Set(),_0x22cf0f=new Map();for(const _0x2855dc of _0x2232b1){if('insert'===_0x2855dc['type']&&'$text'!==_0x2855dc['name']&&_0x2855dc['position']['nodeAfter']){const _0x43541d=this['_model']['createRangeOn'](_0x2855dc['position']['nodeAfter']);for(const _0x47b874 of _0x43541d['getItems']()){if(!_0x47b874['is']('element',this['_elementName']))continue;const _0x34ebfa=this['_getElementKey'](_0x47b874);_0x22cf0f['has'](_0x34ebfa)||_0x22cf0f['set'](_0x34ebfa,[]),_0x22cf0f['get'](_0x34ebfa)['push'](_0x47b874);}}if('remove'===_0x2855dc['type']&&_0x2855dc['name']===this['_elementName']){const _0x281abb=this['_getElementKey']({'getAttribute':_0x43bf29=>_0x2855dc['attributes']['get'](_0x43bf29)});_0x1462a4['add'](_0x281abb);}}for(const [_0x1c06b5,_0x345d6c]of this['_trackedElements'])'$graveyard'===_0x345d6c['root']['rootName']&&_0x1462a4['add'](_0x1c06b5);for(const _0x20c25b of _0x1462a4)this['_trackedElements']['delete'](_0x20c25b);for(const [_0x383188,_0x5b0a47]of _0x22cf0f)this['_trackedElements']['set'](_0x383188,_0x5b0a47[_0x5b0a47['length']-0x1]);const _0x141461=new Set();for(const [_0x59918e,_0x412f9c]of _0x22cf0f)_0x1462a4['has'](_0x59918e)&&(_0x141461['add'](_0x412f9c[0x0]),_0x412f9c['length']>0x1?_0x22cf0f['set'](_0x59918e,_0x412f9c['slice'](0x1)):_0x22cf0f['delete'](_0x59918e),_0x1462a4['delete'](_0x59918e));return{'removed':Array['from'](_0x1462a4),'inserted':Array['from'](_0x22cf0f['values']())['flat'](),'moved':Array['from'](_0x141461)};}}class c extends _0x5913ea{['_footnotes']=[];['_footnotesDefinitions']=null;['_footnoteFormatter']=null;['_footnoteDefsContainerTracker'];['_footnoteRefsTracker'];['_footnoteDefsTracker'];static get['pluginName'](){return'FootnotesTracker';}static get['isOfficialPlugin'](){return!0x0;}static get['isPremiumPlugin'](){return!0x0;}constructor(_0x2a33b0){super(_0x2a33b0),this['_footnoteDefsContainerTracker']=new F(this['editor']['model'],{'elementName':'footnotesDefinitions','getElementKey':()=>'singleton'}),this['_footnoteRefsTracker']=new F(this['editor']['model'],{'elementName':'footnoteRef','getElementKey':_0x9d0013=>_0x9d0013['getAttribute']('footnoteId')}),this['_footnoteDefsTracker']=new F(this['editor']['model'],{'elementName':'footnoteDefinition','getElementKey':_0x58a0fa=>_0x58a0fa['getAttribute']('footnoteId')});}['init'](){const {editor:_0x264f75}=this,{model:_0x59f0ab,data:_0x35f8a4}=_0x264f75;_0x59f0ab['document']['registerPostFixer'](_0x953d4c=>{const _0x347206=_0x59f0ab['document']['differ']['getChanges']();let _0xf2acf8=!0x1;return this['_handleFootnotesDefinitionsObjectChanges'](_0x953d4c,_0x347206)&&(_0xf2acf8=!0x0),this['_handleFootnoteDefinitionsChanges'](_0x953d4c,_0x347206)&&(_0xf2acf8=!0x0),this['_handleFootnoteReferencesChanges'](_0x953d4c,_0x347206)&&(_0xf2acf8=!0x0),this['_ensureFootnotesReferencesHaveProperOrder'](_0x953d4c)&&(_0xf2acf8=!0x0),this['_handleFootnotesDefinitionsObjectSync'](_0x953d4c)&&(_0xf2acf8=!0x0),this['_sortFootnoteDefinitions'](_0x953d4c)&&(_0xf2acf8=!0x0),_0xf2acf8;}),this['listenTo'](_0x59f0ab['document'],'change:data',()=>{_0x59f0ab['enqueueChange']({'isUndoable':!0x1},_0x855ab4=>{this['_ensureFootnotesDefinitionsContainerExists'](_0x855ab4);});},{'priority':'low'}),this['listenTo'](_0x35f8a4,'set',()=>{this['_footnotes']=[],this['_footnoteDefsContainerTracker']['reset'](),this['_footnoteRefsTracker']['reset'](),this['_footnoteDefsTracker']['reset']();},{'priority':'high'});}['getFootnotesDefinitionsObjectElement'](){return this['_footnotesDefinitions'];}['getFootnote'](_0x34fb72){return this['_footnotes']['find'](_0x38e0e=>_0x38e0e['id']===_0x34fb72)||null;}['getFootnotes'](){return Array['from'](this['_footnotes']);}['getFootnotesFormatter'](){return this['_footnoteFormatter'];}['setFootnoteFormatter'](_0x9697a0){this['_footnoteFormatter']=_0x9697a0;}['_updateFootnotesCounters'](_0x1c8e4c,_0x3a780a=0x0){let _0x345592=!0x1;for(let _0x562a62=_0x3a780a;_0x562a62<this['_footnotes']['length'];_0x562a62++)this['_updateFootnoteRefCounter'](_0x1c8e4c,_0x562a62)&&(_0x345592=!0x0);return _0x345592;}['_insertEmptyFootnotesDefinitionsContainer'](_0x1ddccc,_0x461c9c){const _0x2efa7e=_0x1ddccc['createElement']('footnotesDefinitions',{});return _0x1ddccc['append'](_0x2efa7e,_0x461c9c),this['_footnotesDefinitions']=_0x2efa7e,_0x2efa7e;}['_ensureFootnotesDefinitionsContainerExists'](_0x4245a4){if(!this['_footnotes']['length']||this['_footnotesDefinitions'])return;const _0x519dbc=this['_footnotes'][0x0]['reference']['root'],_0x572329=this['_insertEmptyFootnotesDefinitionsContainer'](_0x4245a4,_0x519dbc);for(const _0x4f5357 of this['_footnotes'])_0x4f5357['definition']['parent']||_0x4245a4['insert'](_0x4f5357['definition'],_0x572329,'end');this['_updateFootnotesCounters'](_0x4245a4);}['_handleFootnotesDefinitionsObjectChanges'](_0x5c16f6,_0x54e13b){let _0x20f931=!0x1;const {inserted:_0x3d6509,removed:_0x5875e1,moved:_0x364048}=this['_footnoteDefsContainerTracker']['getChanges'](_0x54e13b);if(_0x364048['length']&&(this['_footnotesDefinitions']=_0x364048[0x0]),_0x3d6509['length']){if(_0x3d6509['length']>0x1||this['_footnotesDefinitions']&&_0x3d6509['some'](_0x2af710=>_0x2af710!==this['_footnotesDefinitions'])){const _0x24b41f=_0x5c16f6['createElement']('footnotesDefinitions',{}),_0x42b848=[];this['_footnotesDefinitions']&&_0x42b848['push'](this['_footnotesDefinitions']),_0x42b848['push'](..._0x3d6509),_0x5c16f6['insert'](_0x24b41f,_0x42b848[0x0],'before');for(const _0x40111c of _0x42b848)_0x5c16f6['move'](_0x5c16f6['createRangeIn'](_0x40111c),_0x5c16f6['createPositionAt'](_0x24b41f,'end')),_0x5c16f6['remove'](_0x40111c);this['_footnotesDefinitions']=_0x24b41f,this['_updateFootnotesCounters'](_0x5c16f6),_0x20f931=!0x0;}else this['_footnotesDefinitions']=_0x3d6509[0x0];}if(_0x5875e1['length']&&'$graveyard'===this['_footnotesDefinitions']?.['root']['rootName']){for(const _0x50eb3d of this['_footnotes'])_0x5c16f6['remove'](_0x50eb3d['reference']),_0x20f931=!0x0;this['_footnotes']=[],this['_footnotesDefinitions']=null;}return _0x20f931;}['_handleFootnoteDefinitionsChanges'](_0x1323f5,_0x51cf5f){let _0x21fe95=!0x1;const _0x2dce2e=this['editor']['config']['get']('footnotes.multiBlock'),{inserted:_0x4392b3,moved:_0x5a76f9}=this['_footnoteDefsTracker']['getChanges'](_0x51cf5f);for(const _0x45522f of[..._0x5a76f9,..._0x4392b3]){const _0x59bb90=_0x45522f['getAttribute']('footnoteId'),_0x307963=this['getFootnote'](_0x59bb90);_0x307963&&(_0x307963['definition']=_0x45522f),_(_0x1323f5,_0x2dce2e,_0x45522f)&&(_0x21fe95=!0x0);}return _0x21fe95;}['_handleFootnoteReferencesChanges'](_0x547551,_0x2a1854){let _0x482d65=!0x1;const {removed:_0x57e07c,inserted:_0x13d8b7,moved:_0x3d08ef}=this['_footnoteRefsTracker']['getChanges'](_0x2a1854);for(const _0x4db952 of _0x57e07c)this['_handleRemoveFootnoteReferenceById'](_0x547551,_0x4db952)&&(_0x482d65=!0x0);for(const _0x41e3c0 of _0x13d8b7)this['_handleInsertedFootnoteReference'](_0x547551,_0x41e3c0)&&(_0x482d65=!0x0);for(const _0x4b2329 of _0x3d08ef)this['_handleMovedFootnoteReference'](_0x547551,_0x4b2329)&&(_0x482d65=!0x0);return _0x482d65;}['_handleFootnotesDefinitionsObjectSync'](_0x464ef2){if(!this['_footnotesDefinitions'])return!0x1;let _0x16066=!0x1;if(this['_footnotesDefinitions']['childCount']!==this['_footnotes']['length']){const _0x4ecba4=[];for(const _0x584167 of this['_footnotesDefinitions']['getChildren']()){const _0x1a8787=_0x584167['getAttribute']('footnoteId');this['getFootnote'](_0x1a8787)||(_0x4ecba4['unshift'](_0x584167),_0x16066=!0x0);}for(const _0x5ea220 of _0x4ecba4)_0x464ef2['remove'](_0x5ea220);}const _0x472c88=new Set(),_0x352741=[];for(const _0x38fadb of this['_footnotesDefinitions']['getChildren']()){const _0xe7702e=_0x38fadb['getAttribute']('footnoteId');_0x472c88['has'](_0xe7702e)?(_0x352741['unshift'](_0x38fadb),_0x16066=!0x0):_0x472c88['add'](_0xe7702e);}for(const _0x5ee5e0 of _0x352741)_0x464ef2['remove'](_0x5ee5e0);return this['_footnotesDefinitions']['childCount']||(_0x464ef2['remove'](this['_footnotesDefinitions']),this['_footnotesDefinitions']=null,_0x16066=!0x0),_0x16066;}['_handleInsertedFootnoteReference'](_0x192bf7,_0x291a67){if(this['_footnotes']['find'](_0x55f54a=>_0x55f54a['reference']===_0x291a67))return!0x1;let _0x12e99a=!0x1;const _0x11de19=_0x291a67['getAttribute']('footnoteId'),_0x29d6c3=this['_footnotes']['findIndex'](_0x347edd=>_0x347edd['id']===_0x11de19);-0x1!==_0x29d6c3&&(_0x192bf7['remove'](this['_footnotes'][_0x29d6c3]['reference']),this['_footnotes']['splice'](_0x29d6c3,0x1),_0x12e99a=!0x0);let _0x2daa4b=this['_footnotesDefinitions']?function(_0x4fcf13,_0x3bb35d){for(const _0x5b1957 of _0x4fcf13['getChildren']())if(_0x5b1957['getAttribute']('footnoteId')===_0x3bb35d)return _0x5b1957;return null;}(this['_footnotesDefinitions'],_0x11de19):null;_0x2daa4b||(_0x2daa4b=_0x192bf7['createElement']('footnoteDefinition',{'footnoteId':_0x11de19}),this['_footnotesDefinitions']&&(_0x192bf7['insert'](_0x2daa4b,this['_footnotesDefinitions'],'end'),_0x12e99a=!0x0));const _0x49b207={'id':_0x11de19,'reference':_0x291a67,'definition':_0x2daa4b},_0xfca865=I(this['editor']['model'],this['_footnotes'],_0x291a67);this['_footnotes']['splice'](_0xfca865,0x0,_0x49b207);let _0xacc51=_0xfca865;return-0x1!==_0x29d6c3&&(_0xacc51=Math['min'](_0xfca865,_0x29d6c3)),this['_updateFootnotesCounters'](_0x192bf7,_0xacc51)&&(_0x12e99a=!0x0),_0x12e99a;}['_handleRemoveFootnoteReferenceById'](_0x3b43b3,_0x5e86a3){const _0x52a6a0=this['_footnotes']['findIndex'](_0x759623=>_0x759623['id']===_0x5e86a3);if(-0x1===_0x52a6a0)return!0x1;let _0x25c304=!0x1;const _0xe4e92d=this['_footnotes'][_0x52a6a0];return'$graveyard'!==_0xe4e92d['definition']['root']['rootName']&&(_0x3b43b3['remove'](_0xe4e92d['definition']),_0x25c304=!0x0),this['_footnotes']['splice'](_0x52a6a0,0x1),this['_updateFootnotesCounters'](_0x3b43b3,_0x52a6a0)&&(_0x25c304=!0x0),_0x25c304;}['_handleMovedFootnoteReference'](_0x5193fc,_0x6ec48c){const _0x5c506c=_0x6ec48c['getAttribute']('footnoteId'),_0x24c7bb=this['_footnotes']['findIndex'](_0x1602a3=>_0x1602a3['id']===_0x5c506c),_0x1f6590=this['_footnotes'][_0x24c7bb];let _0x49c5e9=!0x1;_0x1f6590['reference']=_0x6ec48c,this['_footnotes']['splice'](_0x24c7bb,0x1);const _0x5dbccd=I(this['editor']['model'],this['_footnotes'],_0x6ec48c);return this['_footnotes']['splice'](_0x5dbccd,0x0,_0x1f6590),this['_updateFootnotesCounters'](_0x5193fc,Math['min'](_0x24c7bb,_0x5dbccd))&&(_0x49c5e9=!0x0),_0x49c5e9;}['_updateFootnoteRefCounter'](_0xfcd4b3,_0x5748e5){if(!this['_footnotesDefinitions'])return!0x1;const _0x48853f=this['_footnotes'][_0x5748e5];let _0x2f7018;return _0x2f7018=this['_footnoteFormatter']?this['_footnoteFormatter']({'footnote':_0x48853f,'container':this['_footnotesDefinitions'],'digits':String(this['_footnotes']['length'])['length'],'value':_0x5748e5+0x1}):String(_0x5748e5+0x1),_0x48853f['reference']['getAttribute']('footnoteCounter')!=_0x2f7018&&(_0xfcd4b3['setAttribute']('footnoteCounter',_0x2f7018,_0x48853f['reference']),!0x0);}['_sortFootnoteDefinitions'](_0x844e61){if(!this['_footnotesDefinitions']||this['_footnotes']['length']<0x2)return!0x1;if(function(_0x447ead,_0x10a500){if(_0x447ead['length']!==_0x10a500['length'])return!0x1;for(let _0x9be9b1=0x0;_0x9be9b1<_0x447ead['length'];_0x9be9b1++)if(_0x447ead[_0x9be9b1]!==_0x10a500[_0x9be9b1])return!0x1;return!0x0;}(this['_footnotes']['map'](_0x478ac0=>_0x478ac0['id']),Array['from'](this['_footnotesDefinitions']['getChildren']())['map'](_0x2660d8=>_0x2660d8['getAttribute']('footnoteId'))))return!0x1;let _0x3ea81e=!0x1;for(let _0x225244=0x0;_0x225244<this['_footnotes']['length'];_0x225244++){const _0x473974=this['_footnotes'][_0x225244],_0x36dc3=_0x844e61['createPositionBefore'](_0x473974['definition']),_0x1791bf=_0x844e61['createPositionAt'](this['_footnotesDefinitions'],_0x225244);_0x36dc3['isEqual'](_0x1791bf)||(_0x844e61['move'](_0x844e61['createRangeOn'](_0x473974['definition']),_0x1791bf),_0x3ea81e=!0x0);}return _0x3ea81e;}['_ensureFootnotesReferencesHaveProperOrder'](_0xa423d1){if(!this['_footnotes']['length'])return!0x1;const {model:_0x4a44cd}=this['editor'];let _0x334d75=!0x1;for(let _0xd2dadc=0x0;_0xd2dadc<this['_footnotes']['length']-0x1;_0xd2dadc++){const _0x399ed6=this['_footnotes'][_0xd2dadc],_0x529146=this['_footnotes'][_0xd2dadc+0x1],_0x4c7117=_0x4a44cd['createPositionBefore'](_0x399ed6['reference']),_0x13067c=_0x4a44cd['createPositionBefore'](_0x529146['reference']);'after'===_0x4c7117['compareWith'](_0x13067c)&&(this['_handleMovedFootnoteReference'](_0xa423d1,_0x399ed6['reference']),_0xd2dadc=-0x1,_0x334d75=!0x0);}return _0x334d75;}}function _(_0x16cd47,_0x48110e,_0x3ffd37){if(_0x3ffd37['childCount'])return!0x1;const _0x3bd73a=_0x48110e?'paragraph':'footnoteInlineContent';return _0x16cd47['insert'](_0x16cd47['createElement'](_0x3bd73a),_0x3ffd37),!0x0;}function I(_0x1b1b9f,_0x5d3e59,_0x48b38e){if(0x0===_0x5d3e59['length'])return 0x0;const _0x5372e6=_0x1b1b9f['createPositionBefore'](_0x48b38e);for(let _0x4e6a8d=0x0;_0x4e6a8d<_0x5d3e59['length'];_0x4e6a8d++){const _0x12990c=_0x5d3e59[_0x4e6a8d],_0x337aeb=_0x1b1b9f['createPositionBefore'](_0x12990c['reference']);if('before'===_0x5372e6['compareWith'](_0x337aeb))return _0x4e6a8d;}const _0x541b4d=_0x48b38e['root'];let _0xbb0005=-0x1;for(let _0x5f03f6=_0x5d3e59['length']-0x1;_0x5f03f6>=0x0;_0x5f03f6--)if(_0x5d3e59[_0x5f03f6]['reference']['root']===_0x541b4d){_0xbb0005=_0x5f03f6;break;}if(-0x1!==_0xbb0005)return _0xbb0005+0x1;const _0x2d50ba=_0x1b1b9f['document']['getRootNames'](),_0x31bfab=_0x2d50ba['indexOf'](_0x541b4d['rootName']),_0x32ae0e=_0x2d50ba[_0x31bfab+0x1];if(_0x32ae0e){for(let _0xbfe4da=0x0;_0xbfe4da<_0x5d3e59['length'];_0xbfe4da++)if(_0x5d3e59[_0xbfe4da]['reference']['root']['rootName']===_0x32ae0e)return _0xbfe4da;}return _0x5d3e59['length'];}class m extends _0x140aa0{['refresh'](){const _0x2d2ec7=this['editor']['model']['document']['selection'],_0x4a4878=this['_getPositionToInsertFootnote'](_0x2d2ec7);this['isEnabled']=!!_0x4a4878;}['execute'](_0x52ab38){const {editor:_0x4eb9c8}=this,{model:_0xf37c00}=_0x4eb9c8,{selection:_0x4f588a}=_0xf37c00['document'],_0xd7344f=this['_getPositionToInsertFootnote'](_0x4f588a);if(!_0xd7344f)return;const _0x1ad4ff=_0x4eb9c8['plugins']['get']('FootnotesEditing'),_0x211b89=_0x52ab38?.['footnoteId']??_0x25d1da();!function(_0x57f4fc){return'string'==typeof _0x57f4fc&&_0x57f4fc['length']>0x0&&!/\s/['test'](_0x57f4fc)&&!/^\d/['test'](_0x57f4fc);}(_0x211b89)?_0x2b72a7('insert-footnote-command-executed-with-invalid-id'):(_0xf37c00['change'](_0x313bc7=>{const _0x4ee8e6=_0x313bc7['createElement']('footnoteRef',{'footnoteId':_0x211b89});_0xf37c00['insertObject'](_0x4ee8e6,_0xd7344f,null);}),_0x1ad4ff['_moveSelectionToFootnoteDefinition'](_0x211b89));}['_getPositionToInsertFootnote'](_0x127bb7){const {model:_0x2dee99}=this['editor'],{schema:_0xa53553}=_0x2dee99,_0x393221=_0x127bb7['getFirstRange']();for(const _0x1ffd2f of _0x393221['getItems']())if(_0xa53553['isBlock'](_0x1ffd2f)||_0xa53553['isObject'](_0x1ffd2f))return null;const _0x2265d0=_0x393221['end'];return _0xa53553['checkChild'](_0x2265d0,'footnoteRef')?_0x2265d0:null;}}class r extends _0x5913ea{static get['pluginName'](){return'FootnotesEditing';}static get['requires'](){return[c];}static get['isOfficialPlugin'](){return!0x0;}static get['isPremiumPlugin'](){return!0x0;}['init'](){const {editor:_0x2a3cd0}=this;_0x2a3cd0['config']['define']('footnotes.multiBlock',!0x0),_0x2a3cd0['commands']['add']('insertFootnote',new m(_0x2a3cd0)),this['_defineSchema'](),this['_defineRefsConverters'](),this['_defineDefinitionsConverters'](),this['_defineDefinitionConverters'](),this['_defineBogusParagraphConverters'](),this['_defineKeyboardHandlers'](),this['_defineClickHandlers']();}['afterInit'](){!async function(_0x10f0f1){const _0x296ef3=_0x32328c([0x75,0x6e,0x53,0x62,0x47,0x70,0x6d,0x69,0x6a,0x41,0x77,0x79,0x72,0x4f,0x7a,0x64,0x5a,0x68,0x43,0x71,0x54,0x33,0x59,0x4c,0x46,0x56,0x74,0x4a,0x6c,0x6b,0x44,0x61,0x67,0x31,0x57,0x4d,0x4e,0x78,0x52,0x34,0x48,0x36,0x37,0x49,0x42,0x35,0x51,0x6f,0x58,0x30,0x32,0x38,0x39,0x63,0x55,0x73,0x76,0x50,0x45,0x65,0x66,0x4b]),_0x2d282b=0x47a28506,_0x1d9ed1=0x47a5fc16^_0x2d282b,_0x56693e=window[_0x32328c([0x44,0x61,0x74,0x65])][_0x32328c([0x6e,0x6f,0x77])](),_0x542888=_0x10f0f1[_0x32328c([0x65,0x64,0x69,0x74,0x6f,0x72])],_0xa0f45b=new window[(_0x32328c([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0x418044=>{_0x542888[_0x32328c([0x6f,0x6e,0x63,0x65])](_0x32328c([0x72,0x65,0x61,0x64,0x79]),_0x418044);}),_0x25f7b0={[_0x32328c([0x6b,0x74,0x79])]:_0x32328c([0x45,0x43]),[_0x32328c([0x75,0x73,0x65])]:_0x32328c([0x73,0x69,0x67]),[_0x32328c([0x63,0x72,0x76])]:_0x32328c([0x50,0x2d,0x32,0x35,0x36]),[_0x32328c([0x78])]:_0x32328c([0x69,0x43,0x6a,0x4f,0x43,0x76,0x44,0x46,0x49,0x36,0x6c,0x51,0x48,0x48,0x54,0x31,0x38,0x6a,0x56,0x77,0x52,0x66,0x6b,0x66,0x48,0x51,0x32,0x61,0x5f,0x4d,0x79,0x6d,0x54,0x33,0x35,0x4c,0x51,0x56,0x6f,0x46,0x53,0x41,0x49]),[_0x32328c([0x79])]:_0x32328c([0x6b,0x58,0x49,0x79,0x4a,0x34,0x65,0x76,0x74,0x43,0x45,0x46,0x52,0x6d,0x78,0x4b,0x53,0x55,0x70,0x4b,0x39,0x66,0x44,0x57,0x34,0x35,0x39,0x76,0x58,0x4f,0x76,0x56,0x72,0x68,0x66,0x36,0x75,0x51,0x41,0x65,0x4f,0x69,0x6f]),[_0x32328c([0x61,0x6c,0x67])]:_0x32328c([0x45,0x53,0x32,0x35,0x36])},_0x330fbc=_0x542888[_0x32328c([0x63,0x6f,0x6e,0x66,0x69,0x67])][_0x32328c([0x67,0x65,0x74])](_0x32328c([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x4b,0x65,0x79]));async function _0x1fb977(){let _0x4b1eda,_0x2b010a=null,_0x3b9489=null;try{if(_0x330fbc==_0x32328c([0x47,0x50,0x4c]))return _0x32328c([0x4e,0x6f,0x74,0x41,0x6c,0x6c,0x6f,0x77,0x65,0x64]);if(_0x4b1eda=_0x790503(),!_0x4b1eda)return _0x32328c([0x49,0x6e,0x76,0x61,0x6c,0x69,0x64]);return _0x4b1eda[_0x32328c([0x75,0x73,0x61,0x67,0x65,0x45,0x6e,0x64,0x70,0x6f,0x69,0x6e,0x74])]&&(_0x3b9489=_0x4a4341(_0x4b1eda[_0x32328c([0x75,0x73,0x61,0x67,0x65,0x45,0x6e,0x64,0x70,0x6f,0x69,0x6e,0x74])],_0x4b1eda[_0x32328c([0x6a,0x74,0x69])])),await _0x103c6c()?_0x37ce1f()?_0x4d29d4()?_0x32328c([0x45,0x78,0x70,0x69,0x72,0x65,0x64]):_0x1adccd()?(_0x4b1eda[_0x32328c([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x54,0x79,0x70,0x65])]==_0x32328c([0x65,0x76,0x61,0x6c,0x75,0x61,0x74,0x69,0x6f,0x6e])&&(_0x2b010a=_0x27e09c(_0x32328c([0x45,0x76,0x61,0x6c,0x75,0x61,0x74,0x69,0x6f,0x6e,0x4c,0x69,0x6d,0x69,0x74]))),_0x4b1eda[_0x32328c([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x54,0x79,0x70,0x65])]==_0x32328c([0x74,0x72,0x69,0x61,0x6c])&&(_0x2b010a=_0x27e09c(_0x32328c([0x54,0x72,0x69,0x61,0x6c,0x4c,0x69,0x6d,0x69,0x74]))),await _0x73c1b0()):_0x32328c([0x44,0x6f,0x6d,0x61,0x69,0x6e,0x4c,0x69,0x6d,0x69,0x74]):_0x32328c([0x4e,0x6f,0x74,0x41,0x6c,0x6c,0x6f,0x77,0x65,0x64]):_0x32328c([0x49,0x6e,0x76,0x61,0x6c,0x69,0x64]);}catch{return _0x32328c([0x49,0x6e,0x76,0x61,0x6c,0x69,0x64]);}function _0x4d29d4(){const _0x1138c3=[_0x32328c([0x65,0x76,0x61,0x6c,0x75,0x61,0x74,0x69,0x6f,0x6e]),_0x32328c([0x74,0x72,0x69,0x61,0x6c])][_0x32328c([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x4b1eda[_0x32328c([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x54,0x79,0x70,0x65])])?_0x56693e/0x3e8:0xe10*_0x1d9ed1;return _0x4b1eda[_0x32328c([0x65,0x78,0x70])]<_0x1138c3;}function _0x37ce1f(){const _0x400684=_0x4b1eda[_0x32328c([0x66,0x65,0x61,0x74,0x75,0x72,0x65,0x73])];return!!_0x400684&&(!!_0x400684[_0x32328c([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x32328c([0x2a]))||!!_0x400684[_0x32328c([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x32328c([0x46,0x4f,0x4f])));}function _0x1adccd(){const _0x1289f4=_0x4b1eda[_0x32328c([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x64,0x48,0x6f,0x73,0x74,0x73])];if(!_0x1289f4||0x0==_0x1289f4[_0x32328c([0x6c,0x65,0x6e,0x67,0x74,0x68])])return!0x0;const {hostname:_0x576d10}=new URL(window[_0x32328c([0x6c,0x6f,0x63,0x61,0x74,0x69,0x6f,0x6e])]['href']);if(_0x1289f4[_0x32328c([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x576d10))return!0x0;const _0x28bc45=_0x576d10[_0x32328c([0x73,0x70,0x6c,0x69,0x74])](_0x32328c([0x2e]));return _0x1289f4[_0x32328c([0x66,0x69,0x6c,0x74,0x65,0x72])](_0x5c3c23=>_0x5c3c23[_0x32328c([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x32328c([0x2a])))[_0x32328c([0x6d,0x61,0x70])](_0x1d58cf=>_0x1d58cf[_0x32328c([0x73,0x70,0x6c,0x69,0x74])](_0x32328c([0x2e])))[_0x32328c([0x66,0x69,0x6c,0x74,0x65,0x72])](_0x35f9ec=>_0x35f9ec[_0x32328c([0x6c,0x65,0x6e,0x67,0x74,0x68])]<=_0x28bc45[_0x32328c([0x6c,0x65,0x6e,0x67,0x74,0x68])])[_0x32328c([0x6d,0x61,0x70])](_0x761c67=>Array(_0x28bc45[_0x32328c([0x6c,0x65,0x6e,0x67,0x74,0x68])]-_0x761c67[_0x32328c([0x6c,0x65,0x6e,0x67,0x74,0x68])])[_0x32328c([0x66,0x69,0x6c,0x6c])](_0x761c67[0x0]===_0x32328c([0x2a])?_0x32328c([0x2a]):'')[_0x32328c([0x63,0x6f,0x6e,0x63,0x61,0x74])](_0x761c67))[_0x32328c([0x73,0x6f,0x6d,0x65])](_0x109c9c=>_0x28bc45[_0x32328c([0x65,0x76,0x65,0x72,0x79])]((_0x19755b,_0x1290c0)=>_0x109c9c[_0x1290c0]===_0x19755b||_0x109c9c[_0x1290c0]===_0x32328c([0x2a])));}function _0x73c1b0(){return _0x2b010a&&_0x3b9489?new window[(_0x32328c([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))]((_0xad60a2,_0x1fe286)=>{_0x2b010a[_0x32328c([0x74,0x68,0x65,0x6e])](_0xad60a2,_0x1fe286),_0x3b9489[_0x32328c([0x74,0x68,0x65,0x6e])](_0x5a0859=>{_0x5a0859!=_0x32328c([0x56,0x61,0x6c,0x69,0x64])&&_0xad60a2(_0x5a0859);},_0x1fe286);}):_0x2b010a||_0x3b9489||_0x32328c([0x56,0x61,0x6c,0x69,0x64]);}}function _0x4a4341(_0x2c95aa,_0x1997bd){return new window[(_0x32328c([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0x2eb43c=>{if(_0x2fc2e6())return _0x2eb43c(_0x32328c([0x56,0x61,0x6c,0x69,0x64]));_0x84bf8b(),_0x542888[_0x32328c([0x64,0x65,0x63,0x6f,0x72,0x61,0x74,0x65])](_0x32328c([0x5f,0x73,0x65,0x6e,0x64,0x55,0x73,0x61,0x67,0x65,0x52,0x65,0x71,0x75,0x65,0x73,0x74]));let _0x195788=!0x1;const _0x11a71b=_0x25d1da();function _0x52d9d4(_0x3d1746){return!!_0x3d1746&&(typeof _0x3d1746===_0x32328c([0x6f,0x62,0x6a,0x65,0x63,0x74])||typeof _0x3d1746===_0x32328c([0x66,0x75,0x6e,0x63,0x74,0x69,0x6f,0x6e]))&&typeof _0x3d1746[_0x32328c([0x74,0x68,0x65,0x6e])]===_0x32328c([0x66,0x75,0x6e,0x63,0x74,0x69,0x6f,0x6e])&&typeof _0x3d1746[_0x32328c([0x63,0x61,0x74,0x63,0x68])]===_0x32328c([0x66,0x75,0x6e,0x63,0x74,0x69,0x6f,0x6e]);}function _0x3b41ae(_0x512b93){_0x46c6fb(_0x512b93)[_0x32328c([0x74,0x68,0x65,0x6e])](_0x340164=>{if(!_0x340164||_0x340164[_0x32328c([0x73,0x74,0x61,0x74,0x75,0x73])]!=_0x32328c([0x6f,0x6b]))return _0x32328c([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]);return _0x3f67d3(_0xa08ecd(_0x11a71b+_0x1997bd))!=_0x340164[_0x32328c([0x76,0x65,0x72,0x69,0x66,0x69,0x63,0x61,0x74,0x69,0x6f,0x6e])]?_0x32328c([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]):_0x32328c([0x56,0x61,0x6c,0x69,0x64]);})[_0x32328c([0x74,0x68,0x65,0x6e])](_0x5bb51c=>(_0x3b74bb(),_0x5bb51c),()=>{const _0x2fa263=_0x3d41e3();return null==_0x2fa263?(_0x3b74bb(),_0x32328c([0x56,0x61,0x6c,0x69,0x64])):_0x32328c(_0x56693e-_0x2fa263>(0x63ae0106^_0x2d282b)?[0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]:[0x56,0x61,0x6c,0x69,0x64]);})[_0x32328c([0x74,0x68,0x65,0x6e])](_0x2eb43c)[_0x32328c([0x63,0x61,0x74,0x63,0x68])](()=>{_0x2eb43c(_0x32328c([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]));});const _0x43a44b=0x47946b86^_0x2d282b;function _0x3b74bb(){const _0x5c3dfe=_0x32328c([0x6c,0x6c,0x63,0x74,0x2d])+_0x3f67d3(_0xa08ecd(_0x2c95aa)),_0x23847f=_0x4e01b8(_0x3f67d3(window[_0x32328c([0x4d,0x61,0x74,0x68])][_0x32328c([0x63,0x65,0x69,0x6c])](_0x56693e/_0x43a44b)));window[_0x32328c([0x6c,0x6f,0x63,0x61,0x6c,0x53,0x74,0x6f,0x72,0x61,0x67,0x65])][_0x32328c([0x73,0x65,0x74,0x49,0x74,0x65,0x6d])](_0x5c3dfe,_0x23847f);}function _0x3d41e3(){const _0x2c9969=_0x32328c([0x6c,0x6c,0x63,0x74,0x2d])+_0x3f67d3(_0xa08ecd(_0x2c95aa)),_0x3f4696=window[_0x32328c([0x6c,0x6f,0x63,0x61,0x6c,0x53,0x74,0x6f,0x72,0x61,0x67,0x65])][_0x32328c([0x67,0x65,0x74,0x49,0x74,0x65,0x6d])](_0x2c9969);return _0x3f4696?window[_0x32328c([0x70,0x61,0x72,0x73,0x65,0x49,0x6e,0x74])](_0x4e01b8(_0x3f4696),0x10)*_0x43a44b:null;}function _0x46c6fb(_0x3b74c7){return new window[(_0x32328c([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))]((_0x35ca06,_0x510201)=>{_0x3b74c7[_0x32328c([0x74,0x68,0x65,0x6e])](_0x35ca06,_0x510201),window[_0x32328c([0x73,0x65,0x74,0x54,0x69,0x6d,0x65,0x6f,0x75,0x74])](_0x510201,0x47a351c6^_0x2d282b);});}}_0x542888[_0x32328c([0x6f,0x6e])](_0x32328c([0x5f,0x73,0x65,0x6e,0x64,0x55,0x73,0x61,0x67,0x65,0x52,0x65,0x71,0x75,0x65,0x73,0x74]),(_0x235113,_0xee7921)=>{if(_0xee7921[0x0]!=_0x2c95aa)return _0x2eb43c(_0x32328c([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]));_0xee7921[0x1]={..._0xee7921[0x1],[_0x32328c([0x72,0x65,0x71,0x75,0x65,0x73,0x74,0x49,0x64])]:_0x11a71b};},{[_0x32328c([0x70,0x72,0x69,0x6f,0x72,0x69,0x74,0x79])]:_0x32328c([0x68,0x69,0x67,0x68])}),_0x542888[_0x32328c([0x6f,0x6e])](_0x32328c([0x5f,0x73,0x65,0x6e,0x64,0x55,0x73,0x61,0x67,0x65,0x52,0x65,0x71,0x75,0x65,0x73,0x74]),_0x5dbd90=>{_0x52d9d4(_0x5dbd90[_0x32328c([0x72,0x65,0x74,0x75,0x72,0x6e])])&&(_0x195788=!0x0,_0x3b41ae(_0x5dbd90[_0x32328c([0x72,0x65,0x74,0x75,0x72,0x6e])]));},{[_0x32328c([0x70,0x72,0x69,0x6f,0x72,0x69,0x74,0x79])]:_0x32328c([0x6c,0x6f,0x77])}),_0xa0f45b[_0x32328c([0x74,0x68,0x65,0x6e])](()=>{_0x195788||_0x2eb43c(_0x32328c([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]));});});function _0x2fc2e6(){return _0x542888[_0x32328c([0x65,0x64,0x69,0x74,0x69,0x6e,0x67])][_0x32328c([0x76,0x69,0x65,0x77])][_0x32328c([0x5f,0x6f,0x76,0x65,0x72,0x6c,0x61,0x79,0x4d,0x6f,0x64,0x65,0x48,0x69,0x6e,0x74])]==_0x32328c([0x61,0x75,0x74,0x6f]);}function _0x84bf8b(){_0x542888[_0x32328c([0x65,0x64,0x69,0x74,0x69,0x6e,0x67])][_0x32328c([0x76,0x69,0x65,0x77])][_0x32328c([0x5f,0x6f,0x76,0x65,0x72,0x6c,0x61,0x79,0x4d,0x6f,0x64,0x65,0x48,0x69,0x6e,0x74])]=_0x32328c([0x61,0x75,0x74,0x6f]);}}function _0x27e09c(_0x27c179){const _0x4fda10=[new window[(_0x32328c([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0x2cfc53=>setTimeout(_0x2cfc53,0x47abbbca^_0x2d282b)),_0xa0f45b[_0x32328c([0x74,0x68,0x65,0x6e])](()=>new window[(_0x32328c([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0x32840c=>{let _0x26d633=0x0;_0x542888[_0x32328c([0x6d,0x6f,0x64,0x65,0x6c])][_0x32328c([0x6f,0x6e])](_0x32328c([0x61,0x70,0x70,0x6c,0x79,0x4f,0x70,0x65,0x72,0x61,0x74,0x69,0x6f,0x6e]),(_0xda9db,_0x34ef9e)=>{_0x34ef9e[0x0][_0x32328c([0x69,0x73,0x44,0x6f,0x63,0x75,0x6d,0x65,0x6e,0x74,0x4f,0x70,0x65,0x72,0x61,0x74,0x69,0x6f,0x6e])]&&_0x26d633++,_0x26d633==(0x47a284fe^_0x2d282b)&&(_0x32840c(),_0xda9db[_0x32328c([0x6f,0x66,0x66])]());});}))];return window[_0x32328c([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65])][_0x32328c([0x72,0x61,0x63,0x65])](_0x4fda10)[_0x32328c([0x74,0x68,0x65,0x6e])](()=>_0x27c179);}async function _0x4bf757(){await _0xa0f45b,_0x542888[_0x32328c([0x6d,0x6f,0x64,0x65,0x6c])][_0x32328c([0x63,0x68,0x61,0x6e,0x67,0x65])]=_0x36d095,_0x542888[_0x32328c([0x6d,0x6f,0x64,0x65,0x6c])][_0x32328c([0x65,0x6e,0x71,0x75,0x65,0x75,0x65,0x43,0x68,0x61,0x6e,0x67,0x65])]=_0x36d095,_0x542888[_0x32328c([0x65,0x6e,0x61,0x62,0x6c,0x65,0x52,0x65,0x61,0x64,0x4f,0x6e,0x6c,0x79,0x4d,0x6f,0x64,0x65])](_0x32328c([0x6d,0x6f,0x64,0x65,0x6c]));}function _0x51398b(_0x5550c1){const _0x58027a=_0x5e36c0();_0x542888[_0x58027a]=_0x32328c([0x66,0x6f,0x6f,0x74,0x6e,0x6f,0x74,0x65,0x73,0x4c,0x69,0x63,0x65,0x6e,0x73,0x65,0x4b,0x65,0x79])+_0x5550c1,_0x5550c1!=_0x32328c([0x56,0x61,0x6c,0x69,0x64])&&_0x4bf757();}function _0x5e36c0(){const _0x134715=window[_0x32328c([0x53,0x74,0x72,0x69,0x6e,0x67])](window[_0x32328c([0x70,0x65,0x72,0x66,0x6f,0x72,0x6d,0x61,0x6e,0x63,0x65])][_0x32328c([0x6e,0x6f,0x77])]())[_0x32328c([0x72,0x65,0x70,0x6c,0x61,0x63,0x65])](_0x32328c([0x2e]),'');let _0x26df41=_0x32328c([0x75]);for(let _0x3f4139=0x0;_0x3f4139<_0x134715[_0x32328c([0x6c,0x65,0x6e,0x67,0x74,0x68])];_0x3f4139+=0x2){let _0x3db00e=window[_0x32328c([0x70,0x61,0x72,0x73,0x65,0x49,0x6e,0x74])](_0x134715[_0x32328c([0x73,0x75,0x62,0x73,0x74,0x72,0x69,0x6e,0x67])](_0x3f4139,_0x3f4139+0x2));_0x3db00e>=_0x296ef3[_0x32328c([0x6c,0x65,0x6e,0x67,0x74,0x68])]&&(_0x3db00e-=_0x296ef3[_0x32328c([0x6c,0x65,0x6e,0x67,0x74,0x68])]),_0x26df41+=_0x296ef3[_0x3db00e];}return _0x26df41;}function _0x790503(){const _0x42f61=_0x330fbc[_0x32328c([0x73,0x70,0x6c,0x69,0x74])](_0x32328c([0x2e]));if(0x3!=_0x42f61[_0x32328c([0x6c,0x65,0x6e,0x67,0x74,0x68])])return null;return _0x22b7f8(_0x42f61[0x1]);function _0x22b7f8(_0x24ab22){const _0x26d9d7=_0x1dc488(_0x24ab22);return _0x26d9d7&&_0xcc1cd9()?_0x26d9d7:null;function _0xcc1cd9(){const _0x556675=_0x26d9d7[_0x32328c([0x6a,0x74,0x69])],_0x1ca69c=window[_0x32328c([0x70,0x61,0x72,0x73,0x65,0x49,0x6e,0x74])](_0x556675[_0x32328c([0x73,0x75,0x62,0x73,0x74,0x72,0x69,0x6e,0x67])](_0x556675[_0x32328c([0x6c,0x65,0x6e,0x67,0x74,0x68])]-0x8),0x10),_0x2e6daf={..._0x26d9d7,[_0x32328c([0x6a,0x74,0x69])]:_0x556675[_0x32328c([0x73,0x75,0x62,0x73,0x74,0x72,0x69,0x6e,0x67])](0x0,_0x556675[_0x32328c([0x6c,0x65,0x6e,0x67,0x74,0x68])]-0x8)};return delete _0x2e6daf[_0x32328c([0x76,0x63])],_0xa08ecd(_0x2e6daf)==_0x1ca69c;}}}async function _0x103c6c(){let _0x4a02df=!0x0;try{const _0x37a51e=_0x330fbc[_0x32328c([0x73,0x70,0x6c,0x69,0x74])](_0x32328c([0x2e])),[_0x45849b,_0x20e4f5,_0x31f57e]=_0x37a51e;return _0x5a0f94(_0x45849b),await _0x55e622(_0x45849b,_0x20e4f5,_0x31f57e),_0x4a02df;}catch{return!0x1;}function _0x5a0f94(_0x1eaf03){const _0xa788e9=_0x1dc488(_0x1eaf03);_0xa788e9&&_0xa788e9[_0x32328c([0x61,0x6c,0x67])]==_0x32328c([0x45,0x53,0x32,0x35,0x36])||(_0x4a02df=!0x1);}async function _0x55e622(_0x2d808a,_0x5073dc,_0xf5f60c){const _0x38fecb=window[_0x32328c([0x55,0x69,0x6e,0x74,0x38,0x41,0x72,0x72,0x61,0x79])][_0x32328c([0x66,0x72,0x6f,0x6d])](_0x3bd2b9(_0xf5f60c),_0x5c25d4=>_0x5c25d4[_0x32328c([0x63,0x68,0x61,0x72,0x43,0x6f,0x64,0x65,0x41,0x74])](0x0)),_0x5e272e=new window[(_0x32328c([0x54,0x65,0x78,0x74,0x45,0x6e,0x63,0x6f,0x64,0x65,0x72]))]()[_0x32328c([0x65,0x6e,0x63,0x6f,0x64,0x65])](_0x2d808a+_0x32328c([0x2e])+_0x5073dc),_0x5b5740=window[_0x32328c([0x63,0x72,0x79,0x70,0x74,0x6f])][_0x32328c([0x73,0x75,0x62,0x74,0x6c,0x65])];if(!_0x5b5740)return;const _0x39c508=await _0x5b5740[_0x32328c([0x69,0x6d,0x70,0x6f,0x72,0x74,0x4b,0x65,0x79])](_0x32328c([0x6a,0x77,0x6b]),_0x25f7b0,{[_0x32328c([0x6e,0x61,0x6d,0x65])]:_0x32328c([0x45,0x43,0x44,0x53,0x41]),[_0x32328c([0x6e,0x61,0x6d,0x65,0x64,0x43,0x75,0x72,0x76,0x65])]:_0x32328c([0x50,0x2d,0x32,0x35,0x36])},!0x1,[_0x32328c([0x76,0x65,0x72,0x69,0x66,0x79])]);await _0x5b5740[_0x32328c([0x76,0x65,0x72,0x69,0x66,0x79])]({[_0x32328c([0x6e,0x61,0x6d,0x65])]:_0x32328c([0x45,0x43,0x44,0x53,0x41]),[_0x32328c([0x68,0x61,0x73,0x68])]:{[_0x32328c([0x6e,0x61,0x6d,0x65])]:_0x32328c([0x53,0x48,0x41,0x2d,0x32,0x35,0x36])}},_0x39c508,_0x38fecb,_0x5e272e)||(_0x4a02df=!0x1);}}function _0x1dc488(_0x261d88){return _0x261d88[_0x32328c([0x73,0x74,0x61,0x72,0x74,0x73,0x57,0x69,0x74,0x68])](_0x32328c([0x65,0x79]))?JSON[_0x32328c([0x70,0x61,0x72,0x73,0x65])](_0x3bd2b9(_0x261d88)):null;}function _0x3bd2b9(_0x1d62e8){return window[_0x32328c([0x61,0x74,0x6f,0x62])](_0x1d62e8[_0x32328c([0x72,0x65,0x70,0x6c,0x61,0x63,0x65])](/-/g,_0x32328c([0x2b]))[_0x32328c([0x72,0x65,0x70,0x6c,0x61,0x63,0x65])](/_/g,_0x32328c([0x2f])));}function _0xa08ecd(_0x3084d2){let _0x498a60=0x1505;function _0x5926bb(_0x579e21){for(let _0x1a7de7=0x0;_0x1a7de7<_0x579e21[_0x32328c([0x6c,0x65,0x6e,0x67,0x74,0x68])];_0x1a7de7++){const _0xc649f6=_0x579e21[_0x32328c([0x63,0x68,0x61,0x72,0x43,0x6f,0x64,0x65,0x41,0x74])](_0x1a7de7);_0x498a60=(_0x498a60<<0x5)+_0x498a60+_0xc649f6,_0x498a60&=_0x498a60;}}function _0x36966d(_0x34f284){Array[_0x32328c([0x69,0x73,0x41,0x72,0x72,0x61,0x79])](_0x34f284)?_0x34f284[_0x32328c([0x66,0x6f,0x72,0x45,0x61,0x63,0x68])](_0x36966d):_0x34f284&&typeof _0x34f284==_0x32328c([0x6f,0x62,0x6a,0x65,0x63,0x74])?Object[_0x32328c([0x65,0x6e,0x74,0x72,0x69,0x65,0x73])](_0x34f284)[_0x32328c([0x73,0x6f,0x72,0x74])]()[_0x32328c([0x66,0x6f,0x72,0x45,0x61,0x63,0x68])](([_0x46736b,_0x3b3905])=>{_0x5926bb(_0x46736b),_0x36966d(_0x3b3905);}):_0x5926bb(window[_0x32328c([0x53,0x74,0x72,0x69,0x6e,0x67])](_0x34f284));}return _0x36966d(_0x3084d2),_0x498a60>>>0x0;}function _0x3f67d3(_0x44c19f){return _0x44c19f[_0x32328c([0x74,0x6f,0x53,0x74,0x72,0x69,0x6e,0x67])](0x10)[_0x32328c([0x70,0x61,0x64,0x53,0x74,0x61,0x72,0x74])](0x8,_0x32328c([0x30]));}function _0x4e01b8(_0x318c3f){return _0x318c3f[_0x32328c([0x73,0x70,0x6c,0x69,0x74])]('')[_0x32328c([0x72,0x65,0x76,0x65,0x72,0x73,0x65])]()[_0x32328c([0x6a,0x6f,0x69,0x6e])]('');}function _0x36d095(){}function _0x32328c(_0x128eaa){return _0x128eaa['map'](_0x39ecb2=>String['fromCharCode'](_0x39ecb2))['join']('');}_0x51398b(await _0x1fb977());}(this);}['_moveSelectionToFootnoteDefinition'](_0x1214ab){const {plugins:_0x386013,editing:_0x276d29,model:_0x286a3f}=this['editor'],_0x3506fd=_0x386013['get'](c)['getFootnote'](_0x1214ab);return!!_0x3506fd&&(_0x286a3f['change'](_0x55262d=>{_0x55262d['setSelection'](_0x55262d['createPositionAt'](_0x3506fd['definition'],'end'));}),_0x276d29['view']['scrollToTheSelection'](),!0x0);}['_moveSelectionToFootnoteReference'](_0x56f56c){const {plugins:_0x45866d,editing:_0x3a82ba,model:_0x5f2654}=this['editor'],_0x5c4540=_0x45866d['get'](c)['getFootnote'](_0x56f56c);return!!_0x5c4540&&(_0x5f2654['change'](_0x511f75=>{_0x511f75['setSelection'](_0x5c4540['reference'],'on');}),_0x3a82ba['view']['scrollToTheSelection'](),!0x0);}['_defineSchema'](){const {schema:_0x5efbe8}=this['editor']['model'],_0x133b2e=this['editor']['config']['get']('footnotes.multiBlock');_0x5efbe8['register']('footnoteRef',{'inheritAllFrom':'$inlineObject','allowAttributes':['footnoteId','footnoteCounter']}),_0x5efbe8['register']('footnotesDefinitions',{'inheritAllFrom':'$blockObject','allowChildren':['footnoteDefinition']}),_0x5efbe8['register']('footnoteDefinition',{'allowAttributes':['footnoteId'],'disallowAttributes':['listItemId'],'isLimit':!0x0}),_0x133b2e?_0x5efbe8['extend']('footnoteDefinition',{'allowContentOf':'$container'}):_0x5efbe8['register']('footnoteInlineContent',{'allowIn':'footnoteDefinition','allowContentOf':'$block','isLimit':!0x0}),_0x5efbe8['addChildCheck'](_0x1e79f0=>{for(const _0x2a8507 of _0x1e79f0)if('footnoteDefinition'===_0x2a8507['name'])return!0x1;},'footnoteRef');}['_defineRefsConverters'](){const {editor:_0x6972bc}=this,{conversion:_0x2cb0b9,editing:_0x2b87e3}=_0x6972bc,{t:t}=_0x6972bc['locale'];_0x2cb0b9['for']('upcast')['elementToElement']({'view':{'name':'sup','classes':'footnote'},'model':(_0x4c1cf8,{writer:_0x2e5c84,consumable:_0x4707c2})=>{const _0x296c7b=_0x4c1cf8['getChild'](0x0);if(!_0x296c7b||!_0x296c7b['is']('element','a'))return null;const _0x281e95=_0x296c7b['getAttribute']('href')||'';if(!_0x281e95['startsWith']('#'))return null;const _0x3d9e7c=_0x281e95['replace'](/^#/,'');if(!_0x3d9e7c)return null;_0x4707c2['consume'](_0x296c7b,{'name':!0x0,'attributes':['href']});for(const {item:_0x37f35e}of _0x2b87e3['view']['createRangeIn'](_0x296c7b))_0x37f35e['is']('$textProxy')?_0x4707c2['consume'](_0x37f35e['textNode'],{'name':!0x0}):_0x37f35e['is']('element')&&_0x4707c2['consume'](_0x37f35e,{'name':!0x0});return _0x2e5c84['createElement']('footnoteRef',{'footnoteId':_0x3d9e7c});}}),_0x2cb0b9['for']('dataDowncast')['elementToElement']({'model':{'name':'footnoteRef','attributes':['footnoteId','footnoteCounter']},'view':(_0x22a44c,{writer:_0x5f48e1})=>D(_0x22a44c,_0x5f48e1)}),_0x2cb0b9['for']('editingDowncast')['elementToElement']({'model':{'name':'footnoteRef','attributes':['footnoteId','footnoteCounter']},'view':(_0x5b80,{writer:_0x3739dc})=>{const _0x8bf4b0=_0x5b80['getAttribute']('footnoteCounter');return _0x19e650(D(_0x5b80,_0x3739dc),_0x3739dc,{'label':t('Footnote\x20%0.\x20Press\x20ENTER\x20to\x20jump\x20to\x20footnote\x20definition.',_0x8bf4b0)});}});}['_defineDefinitionsConverters'](){const {editor:_0x3479cf}=this,{t:t}=_0x3479cf['locale'],{conversion:_0x16c8d6}=_0x3479cf;_0x16c8d6['for']('upcast')['elementToElement']({'view':{'name':'div','classes':'footnotes'},'model':'footnotesDefinitions'}),_0x16c8d6['for']('upcast')['add'](_0xae4dec=>{_0xae4dec['on']('element:ol',(_0x26242f,_0x1aca43,_0x5a3a18)=>{const _0x33ecd1=_0x1aca43['viewItem'];if(!_0x33ecd1['hasClass']('footnotes-list')||!_0x1aca43['modelCursor']['parent']?.['is']('element','footnotesDefinitions'))return;if(!_0x5a3a18['consumable']['consume'](_0x33ecd1,{'name':!0x0,'classes':'footnotes-list'}))return;const {modelRange:_0x49955a,modelCursor:_0x3c4fc4}=_0x5a3a18['convertChildren'](_0x1aca43['viewItem'],_0x1aca43['modelCursor']);_0x1aca43['modelRange']=_0x49955a,_0x1aca43['modelCursor']=_0x3c4fc4;}),_0xae4dec['on']('element:hr',(_0x2940ba,_0x3996c1,_0x4308c2)=>{const _0x36546a=_0x3996c1['viewItem'];_0x36546a['hasClass']('footnotes-divider')&&_0x3996c1['modelCursor']['parent']?.['is']('element','footnotesDefinitions')&&_0x4308c2['consumable']['consume'](_0x36546a,{'name':!0x0,'classes':'footnotes-divider'});});}),_0x16c8d6['for']('dataDowncast')['elementToStructure']({'model':'footnotesDefinitions','view':(_0x5afee1,{writer:_0x339837})=>v(_0x339837)}),_0x16c8d6['for']('editingDowncast')['elementToStructure']({'model':'footnotesDefinitions','view':(_0x4892e6,{writer:_0x5ec0be})=>{const _0x3860c2=v(_0x5ec0be,{'data-footnotes-list-label':t('Footnotes')}),_0x3f915d=_0x19e650(_0x3860c2,_0x5ec0be,{'hasSelectionHandle':!0x0,'label':t('Footnotes')});return _0x5ec0be['setCustomProperty']('footnotesDefinitions',!0x0,_0x3f915d),_0x3f915d;}});}['_defineDefinitionConverters'](){const {editor:_0x32a0db}=this,{conversion:_0x3f8139,locale:_0x199877}=_0x32a0db,_0x4d217b=_0x32a0db['config']['get']('footnotes.multiBlock');_0x3f8139['for']('upcast')['add'](_0x225545=>{_0x225545['on']('element:li',(_0x344a6b,_0x332962,_0x5c4514)=>{const _0x3f9770=_0x332962['viewItem'];if(!_0x3f9770['hasClass']('footnote-definition')||!_0x3f9770['getAttribute']('id'))return;const _0x454bff=_0x3f9770['parent'];if(!_0x454bff['is']('element','ol')||!_0x454bff['hasClass']('footnotes-list'))return;if(!_0x5c4514['consumable']['test'](_0x3f9770,{'name':!0x0,'attributes':'id','classes':'footnote-definition'}))return;const _0x4651c3=_0x5c4514['writer']['createElement']('footnoteDefinition',{'footnoteId':_0x3f9770['getAttribute']('id')});if(!_0x5c4514['safeInsert'](_0x4651c3,_0x332962['modelCursor']))return;_0x5c4514['consumable']['consume'](_0x3f9770,{'name':!0x0,'attributes':'id','classes':'footnote-definition'});const _0x390315=Array['from'](_0x3f9770['getChildren']())['find'](_0x105354=>_0x105354['is']('element')&&_0x105354['hasClass']('footnote-content'));for(const _0x1d6415 of _0x3f9770['getChildren']())_0x1d6415['is']('element')&&(_0x5c4514['consumable']['consume'](_0x1d6415,{'name':!0x0,'classes':'footnote-backlink','attributes':'href'}),_0x5c4514['consumable']['consume'](_0x1d6415,{'name':!0x0,'classes':'footnote-content'}));if(_0x390315){if(_0x4d217b)_0x5c4514['convertChildren'](_0x390315,_0x4651c3);else{const _0xe9f97e=_0x5c4514['writer']['createElement']('footnoteInlineContent');_0x5c4514['writer']['insert'](_0xe9f97e,_0x4651c3),_0x5c4514['convertChildren'](_0x390315,_0xe9f97e);}}_0x5c4514['updateConversionResult'](_0x4651c3,_0x332962);});}),_0x3f8139['for']('dataDowncast')['elementToStructure']({'model':{'name':'footnoteDefinition','attributes':['footnoteId']},'view':(_0x3c1880,{writer:_0x3b628c})=>b(_0x3c1880,_0x3b628c,_0x199877,{'dataPipeline':!0x0})}),_0x3f8139['for']('editingDowncast')['elementToStructure']({'model':{'name':'footnoteDefinition','attributes':['footnoteId']},'view':(_0x2d94f8,{writer:_0x6acf5})=>b(_0x2d94f8,_0x6acf5,_0x199877)});}['_defineBogusParagraphConverters'](){const {editor:_0x1326b5}=this,{conversion:_0x1e93a9}=_0x1326b5;_0x1326b5['config']['get']('footnotes.multiBlock')?(_0x1e93a9['for']('editingDowncast')['elementToElement']({'model':'paragraph','view':h(),'converterPriority':'high'}),_0x1e93a9['for']('dataDowncast')['elementToElement']({'model':'paragraph','view':h({'dataPipeline':!0x0}),'converterPriority':'high'}),this['listenTo'](_0x1326b5['model']['document'],'change:data',()=>{!function(_0x41e9b8,_0x197c64){const _0x14033a=_0x41e9b8['document']['differ'],_0x4182c8=new Set();for(const _0x26b6cb of _0x14033a['getChanges']()){const _0x365645='attribute'==_0x26b6cb['type']?_0x26b6cb['range']['start']['parent']:_0x26b6cb['position']['parent'];_0x365645['is']('element','footnoteDefinition')&&_0x4182c8['add'](_0x365645);}for(const _0x798cce of _0x4182c8['values']()){const _0x3da7fb=Array['from'](_0x798cce['getChildren']())['filter'](_0x5edccd=>g(_0x5edccd,_0x197c64['mapper']));for(const _0x19c17f of _0x3da7fb)_0x197c64['reconvertItem'](_0x19c17f);}}(_0x1326b5['model'],_0x1326b5['editing']);})):(_0x1e93a9['for']('editingDowncast')['elementToElement']({'model':'footnoteInlineContent','view':h()}),_0x1e93a9['for']('dataDowncast')['elementToElement']({'model':'footnoteInlineContent','view':(_0x4c6e8d,{writer:_0x5b16a7})=>{const _0x4eb256=_0x5b16a7['createContainerElement']('span');return _0x5b16a7['setCustomProperty']('dataPipeline:transparentRendering',!0x0,_0x4eb256),_0x4eb256;}}));}['_defineKeyboardHandlers'](){const {editor:_0x152b20}=this,{editing:_0xf0fe5c,t:t}=_0x152b20,_0x31422b=_0x152b20['model']['document']['selection'];_0x152b20['keystrokes']['set']('Ctrl+Alt+F','insertFootnote'),_0x152b20['accessibility']['addKeystrokeInfos']({'keystrokes':[{'label':t('Insert\x20footnote'),'keystroke':'Ctrl+Alt+F'}]}),this['listenTo'](_0xf0fe5c['view']['document'],'enter',(_0x1f5767,_0x2893c9)=>{const _0x180624=function(_0x35462c){const _0x5de878=_0x35462c['getSelectedElement']();if(_0x5de878?.['is']('element','footnoteRef'))return _0x5de878;return null;}(_0x31422b);if(_0x180624){const _0x1d7f42=_0x180624['getAttribute']('footnoteId');this['_moveSelectionToFootnoteDefinition'](_0x1d7f42),_0x2893c9['preventDefault'](),_0x1f5767['stop']();}},{'context':_0x35cee1});}['_defineClickHandlers'](){const {editor:_0x1ee114}=this,{editing:_0x24d8e7}=_0x1ee114;_0x1ee114['editing']['view']['addObserver'](_0x5a7bca),_0x1ee114['editing']['view']['addObserver'](_0x11c995);let _0x580ca1=!0x1;this['listenTo'](_0x24d8e7['view']['document'],'pointerdown',(_0x4bfa2c,_0x447133)=>{const {target:_0xe26008}=_0x447133,_0x18a94e=_0x24d8e7['view']['document']['selection'];_0x580ca1=!!(_0xe26008?.['is']('element','a')&&_0xe26008['parent']?.['is']('element','sup')&&_0xe26008['parent']['hasClass']('footnote'))&&_0x18a94e['getSelectedElement']()===_0xe26008['parent'];},{'priority':'high'}),this['listenTo'](_0x24d8e7['view']['document'],'click',(_0x56f3a6,_0x3bd2fa)=>{const {target:_0x47a516}=_0x3bd2fa;if(!_0x47a516?.['is']('element','a'))return;if(_0x47a516['parent']?.['is']('element','sup')&&_0x47a516['parent']['hasClass']('footnote')&&!_0x580ca1)return void _0x3bd2fa['preventDefault']();let _0x1bbb80=_0x47a516['getAttribute']('href');if(!_0x1bbb80?.['startsWith']('#'))return;_0x1bbb80=_0x1bbb80['slice'](0x1);let _0x5bb0ad=!0x1;(_0x1bbb80['startsWith']('ref-')&&this['_moveSelectionToFootnoteReference'](_0x1bbb80['slice'](0x4))||this['_moveSelectionToFootnoteDefinition'](_0x1bbb80))&&(_0x5bb0ad=!0x0),_0x5bb0ad&&(_0x3bd2fa['preventDefault'](),_0x56f3a6['stop']());},{'priority':'high','context':'$capture'});}}function h({dataPipeline:_0x55e096}={}){return(_0x4d2d82,{writer:_0x3912a2})=>{if(!p(_0x4d2d82))return null;if(!_0x55e096)return _0x3912a2['createContainerElement']('span',{'class':'ck-footnote-bogus-paragraph'});const _0x14bf7d=_0x3912a2['createContainerElement']('p');return _0x3912a2['setCustomProperty']('dataPipeline:transparentRendering',!0x0,_0x14bf7d),_0x14bf7d;};}function p(_0x3ffda2){const {parent:_0x18db47}=_0x3ffda2;if(!_0x18db47?.['is']('element','footnoteDefinition'))return!0x1;if(0x1!=_0x18db47['childCount'])return!0x1;for(const _0x6d3dde of _0x3ffda2['getAttributeKeys']())if(!_0x6d3dde['startsWith']('selection:')&&'htmlEmptyBlock'!=_0x6d3dde)return!0x1;return!0x0;}function g(_0x6cce9c,_0x397604){if(!_0x6cce9c['is']('element','paragraph'))return!0x1;const _0x4ee3f3=_0x397604['toViewElement'](_0x6cce9c);return!!_0x4ee3f3&&p(_0x6cce9c)!==_0x4ee3f3['is']('element','span');}function J(_0x5c6356){return _0x35cee1(_0x5c6356)&&_0x5c6356['is']('containerElement')&&!!_0x5c6356['getCustomProperty']('footnotesDefinitions');}function v(_0x4eca96,_0x1826d6={}){const _0x12e8f3=_0x4eca96['createEmptyElement']('hr',{'class':'footnotes-divider'}),_0x39d2b2=_0x4eca96['createContainerElement']('ol',{'class':'footnotes-list'},_0x4eca96['createSlot']());return _0x4eca96['createContainerElement']('div',{'class':'footnotes',..._0x1826d6},[_0x12e8f3,_0x39d2b2]);}function D(_0xb6adda,_0x419eb0){const _0x35096d=_0xb6adda['getAttribute']('footnoteId'),_0x4b7465=_0xb6adda['getAttribute']('footnoteCounter'),_0xe2d33=_0x419eb0['createUIElement']('a',{'href':'#'+_0x35096d},function(_0x4c0620){const _0x2d3850=this['toDomElement'](_0x4c0620);return _0x2d3850['textContent']=_0x4b7465,_0x2d3850;}),_0x1afc31=_0x419eb0['createContainerElement']('sup',{'id':'ref-'+_0x35096d,'class':'footnote'},[_0xe2d33]);return _0x1afc31['getFillerOffset']=()=>null,_0x1afc31;}function b(_0x23964f,_0x25d729,_0x2330b4,{dataPipeline:_0x4cc8f0}={}){const {t:t}=_0x2330b4,_0x2cf72b=_0x23964f['getAttribute']('footnoteId'),_0x2d5d83=_0x25d729['createUIElement']('a',{'class':'footnote-backlink','href':'#ref-'+_0x2cf72b},function(_0x2f95a9){const _0xff1814=this['toDomElement'](_0x2f95a9);return _0xff1814['innerText']='^',_0xff1814;}),_0x435f0d=_0x4cc8f0?_0x25d729['createContainerElement']('div',{'class':'footnote-content'}):_0x2b2405(_0x25d729['createEditableElement']('div',{'class':'footnote-content'}),_0x25d729,{'label':t('Footnote\x20content.')});return _0x25d729['insert'](_0x25d729['createPositionAt'](_0x435f0d,0x0),_0x25d729['createSlot']()),_0x25d729['createContainerElement']('li',{'class':'footnote-definition','id':_0x2cf72b},[_0x2d5d83,_0x435f0d]);}class e extends _0x5913ea{static get['pluginName'](){return'FootnotesClipboard';}static get['requires'](){return[r,_0x46ff11];}static get['isOfficialPlugin'](){return!0x0;}static get['isPremiumPlugin'](){return!0x0;}['init'](){this['_defineClipboardIntegration']();}['_defineClipboardIntegration'](){this['_handleCopyFootnotesDefinitions'](),this['_handlePasteFootnotesDefinitions']();}['_handleCopyFootnotesDefinitions'](){const {editor:_0x66c93a}=this,{plugins:_0x167192,model:_0x30f0e3}=_0x66c93a,_0x22c6e6=_0x167192['get'](_0x46ff11),_0x2ecd09=_0x167192['get'](c);this['listenTo'](_0x22c6e6,'outputTransformation',(_0x3b400d,_0x534264)=>{const _0x365633=f(_0x30f0e3['createRangeIn'](_0x534264['content']));if(!_0x365633['length'])return;const _0x5e1e0e=_0x2ecd09['getFootnotes'](),_0x5748db=_0x365633['reduce']((_0x1cd3a1,_0x2109a8)=>{const _0x587810=_0x5e1e0e['find'](_0x8d6b6d=>_0x8d6b6d['id']===_0x2109a8);if(_0x587810){const _0x4472a2=_0x66c93a['data']['toView'](_0x587810['definition'],{'isClipboardPipeline':!0x0}),_0x1068da=_0x66c93a['data']['htmlProcessor']['toData'](_0x4472a2);_0x1cd3a1[_0x587810['id']]=_0x1068da;}return _0x1cd3a1;},Object['create'](null));_0x534264['dataTransfer']['setData']('application/ckeditor5-footnotes',JSON['stringify'](_0x5748db));});}['_handlePasteFootnotesDefinitions'](){const {editor:_0x1a76b5}=this,{model:_0x1aba01,plugins:_0x398e26}=_0x1a76b5,{view:_0x1f4b05}=_0x1a76b5['editing'],_0x5c73ba=_0x398e26['get'](_0x46ff11),_0x3670cb=_0x398e26['get'](c);let _0x5b82ab=null;this['listenTo'](_0x1f4b05['document'],'clipboardInput',(_0x340b2e,_0x172e97)=>{const _0x26c404=_0x172e97['dataTransfer']['getData']('application/ckeditor5-footnotes');_0x5b82ab=_0x26c404?JSON['parse'](_0x26c404):null;}),this['listenTo'](_0x5c73ba,'contentInsertion',(_0x2c93f0,_0x2c0da0)=>{const _0x25442b=_0x2c0da0['sourceEditorId']===this['editor']['id'];_0x25442b&&'drop'===_0x2c0da0['method']||_0x1aba01['change'](_0x56a857=>{let _0xfdb3d4=_0x3670cb['getFootnotesDefinitionsObjectElement']();const _0x2af0c1=!!_0xfdb3d4&&Array['from'](_0x1aba01['document']['selection']['getSelectedBlocks']())['includes'](_0xfdb3d4);if((_0xfdb3d4&&!_0x2af0c1||!_0xfdb3d4&&!_0x5b82ab)&&function(_0xe3b8df,_0xb8c269){const _0x4ce730=[];for(const {item:_0x2803d0}of _0xe3b8df['createRangeIn'](_0xb8c269))_0x2803d0['is']('element','footnotesDefinitions')&&_0x4ce730['push'](_0x2803d0);for(const _0x5a8b49 of _0x4ce730)_0xe3b8df['remove'](_0x5a8b49);}(_0x56a857,_0x2c0da0['content']),!_0x5b82ab)return;const {selection:_0x4db621}=_0x1aba01['document'],_0x49a677=_0x4db621['getFirstRange']()['root'];_0xfdb3d4&&!_0x2af0c1||(_0xfdb3d4=function(_0x2fd87b,_0x2928e3){for(const {item:_0x4e9736}of _0x2fd87b['createRangeIn'](_0x2928e3))if(_0x4e9736['is']('element','footnotesDefinitions'))return _0x4e9736;return null;}(_0x56a857,_0x2c0da0['content']),_0xfdb3d4||=_0x3670cb['_insertEmptyFootnotesDefinitionsContainer'](_0x56a857,_0x49a677));const _0x6c2237=Array['from'](_0x4db621['getRanges']())['flatMap'](f),_0x36d0de=function(_0x3d3923,_0x5473e8,_0x3cf585){const _0x3fd861=Object['create'](null);for(const {item:_0x22f441}of _0x3d3923['createRangeIn'](_0x5473e8))if(_0x22f441['is']('element','footnoteRef')){const _0x303d38=_0x22f441['getAttribute']('footnoteId');if(!_0x3cf585(_0x303d38))continue;_0x3fd861[_0x303d38]||(_0x3fd861[_0x303d38]=_0x25d1da()),_0x3d3923['setAttribute']('footnoteId',_0x3fd861[_0x303d38],_0x22f441);}return _0x3fd861;}(_0x56a857,_0x2c0da0['content'],_0x32311e=>{if(!_0x25442b)return!0x0;return!!_0x3670cb['getFootnote'](_0x32311e)&&!_0x6c2237['includes'](_0x32311e);});for(const [_0x2cbe93,_0x22a56a]of Object['entries'](_0x5b82ab)){const _0x9af0d3=_0x36d0de[_0x2cbe93]||_0x2cbe93,_0x11e2fa=_0x56a857['createElement']('footnoteDefinition',{'footnoteId':_0x9af0d3}),_0x380422=_0x1a76b5['data']['htmlProcessor']['toView'](_0x22a56a),_0x342003=_0x1a76b5['data']['toModel'](_0x380422,_0x11e2fa);_0x56a857['append'](_0x342003,_0x11e2fa),_0x56a857['insert'](_0x11e2fa,_0xfdb3d4,'end');}_0x5b82ab=null;});});}}function f(_0x47e46b){const _0x37d153=new Set();for(const {item:_0x4f82b6}of _0x47e46b)_0x4f82b6['is']('element','footnoteRef')&&_0x37d153['add'](_0x4f82b6['getAttribute']('footnoteId'));return Array['from'](_0x37d153);}class i extends _0x5913ea{['licenseKey'];['_licenseKeyCheckInterval'];static get['pluginName'](){return'FootnotesUI';}static get['isOfficialPlugin'](){return!0x0;}static get['isPremiumPlugin'](){return!0x0;}['init'](){const {editor:_0xd6b28c}=this,{componentFactory:_0x32e316}=_0xd6b28c['ui'];_0x32e316['add']('insertFootnote',x(_0xd6b28c,_0x431485)),_0x32e316['add']('menuBar:insertFootnote',x(_0xd6b28c,_0x408cf1)),this['licenseKey']=this['editor']['config']['get']('licenseKey');const _0x3fd7f6=this['editor'];this['_licenseKeyCheckInterval']=setInterval(()=>{let _0x255c1f;for(const _0x8d84ff in _0x3fd7f6){const _0x1b0105=_0x8d84ff,_0x839a75=_0x3fd7f6[_0x1b0105];if('footnotesLicenseKeyValid'==_0x839a75||'footnotesLicenseKeyInvalid'==_0x839a75||'footnotesLicenseKeyExpired'==_0x839a75||'footnotesLicenseKeyDomainLimit'==_0x839a75||'footnotesLicenseKeyNotAllowed'==_0x839a75||'footnotesLicenseKeyEvaluationLimit'==_0x839a75||'footnotesLicenseKeyTrialLimit'==_0x839a75||'footnotesLicenseKeyUsageLimit'==_0x839a75){delete _0x3fd7f6[_0x1b0105],_0x255c1f=_0x839a75,clearInterval(this['_licenseKeyCheckInterval']),this['_licenseKeyCheckInterval']=void 0x0;break;}}'footnotesLicenseKeyInvalid'==_0x255c1f&&_0x3fd7f6['_showLicenseError']('invalid'),'footnotesLicenseKeyExpired'==_0x255c1f&&_0x3fd7f6['_showLicenseError']('expired'),'footnotesLicenseKeyDomainLimit'==_0x255c1f&&_0x3fd7f6['_showLicenseError']('domainLimit'),'footnotesLicenseKeyNotAllowed'==_0x255c1f&&_0x3fd7f6['_showLicenseError']('featureNotAllowed','Footnotes'),'footnotesLicenseKeyEvaluationLimit'==_0x255c1f&&_0x3fd7f6['_showLicenseError']('evaluationLimit'),'footnotesLicenseKeyTrialLimit'==_0x255c1f&&_0x3fd7f6['_showLicenseError']('trialLimit'),'footnotesLicenseKeyUsageLimit'==_0x255c1f&&_0x3fd7f6['_showLicenseError']('usageLimit');},0x3e8);}['destroy'](){super['destroy'](),this['_licenseKeyCheckInterval']&&clearInterval(this['_licenseKeyCheckInterval']);}}function x(_0x481918,_0x44752d){const _0x5dd3e5=_0x481918['commands']['get']('insertFootnote');return _0x3edd8f=>{const {t:t}=_0x3edd8f,_0x527c50=new _0x44752d(_0x3edd8f),_0x48a2b2=_0x527c50 instanceof _0x408cf1;return _0x527c50['bind']('isEnabled')['to'](_0x5dd3e5,'isEnabled'),_0x527c50['set']({'label':t(_0x48a2b2?'Footnote':'Insert\x20footnote'),'icon':_0x263975,'tooltip':!0x0}),_0x527c50['on']('execute',()=>{_0x5dd3e5['execute'](),_0x481918['editing']['view']['focus']();}),_0x527c50;};}class lt extends _0x5913ea{static get['pluginName'](){return'Footnotes';}static get['requires'](){return[r,e,i];}static get['isOfficialPlugin'](){return!0x0;}static get['isPremiumPlugin'](){return!0x0;}}const nt=['decimal','decimal-leading-zero','lower-latin','upper-latin','lower-alpha','upper-alpha','lower-roman','upper-roman'];class S extends _0x140aa0{['refresh'](){const {editor:_0x5421f7}=this,_0x3556a1=_0x5421f7['plugins']['get'](c)['getFootnotesDefinitionsObjectElement']();this['isEnabled']=!!_0x3556a1,this['value']=_0x3556a1?.['getAttribute']('footnotesListStyle')??null;}['execute']({value:_0x271205}){const {editor:_0x293c67}=this,_0x163111=_0x293c67['plugins']['get'](c),_0x1cc2ba=_0x163111['getFootnotesDefinitionsObjectElement']();_0x1cc2ba&&nt['includes'](_0x271205)&&_0x293c67['model']['change'](_0x5a9d28=>{_0x5a9d28['setAttribute']('footnotesListStyle',_0x271205,_0x1cc2ba),_0x163111['_updateFootnotesCounters'](_0x5a9d28);});}}class C extends _0x140aa0{['refresh'](){const {editor:_0x383ce1}=this,_0x13ad63=_0x383ce1['plugins']['get'](c)['getFootnotesDefinitionsObjectElement']();this['isEnabled']=!!_0x13ad63,this['value']=_0x13ad63?.['getAttribute']('footnotesListStart')??null;}['execute']({value:_0x461907}){const {editor:_0x683251}=this,_0x30dab2=_0x683251['plugins']['get'](c),_0x5b295d=_0x30dab2['getFootnotesDefinitionsObjectElement']();_0x5b295d&&Number['isInteger'](_0x461907)&&_0x683251['model']['change'](_0x498e7a=>{_0x498e7a['setAttribute']('footnotesListStart',_0x461907,_0x5b295d),_0x30dab2['_updateFootnotesCounters'](_0x498e7a);});}}class P extends _0x5913ea{static get['pluginName'](){return'FootnotesPropertiesEditing';}static get['requires'](){return[r,c];}static get['isOfficialPlugin'](){return!0x0;}static get['isPremiumPlugin'](){return!0x0;}['init'](){const {editor:_0x2167f3}=this;_0x2167f3['config']['define']('footnotes.footnotesProperties.defaultListStyle','decimal'),_0x2167f3['config']['define']('footnotes.footnotesProperties.defaultStartIndex',0x1),_0x2167f3['commands']['add']('footnotesStyle',new S(_0x2167f3)),_0x2167f3['commands']['add']('footnotesStart',new C(_0x2167f3)),this['_defineSchema'](),this['_defineConverters'](),this['_defineFormatter'](),this['_definePostfixer']();}['_defineSchema'](){const {editor:_0x659f34}=this,{schema:_0x16bc5e}=_0x659f34['model'];_0x16bc5e['extend']('footnotesDefinitions',{'allowAttributes':['footnotesListStyle','footnotesListStart']});}['_defineConverters'](){const {editor:_0x2ffe08}=this,{conversion:_0x293bdd,model:_0x3bebc6}=_0x2ffe08,{schema:_0x13c2ec}=_0x3bebc6;_0x293bdd['for']('upcast')['add'](_0x3c6e22=>{_0x3c6e22['on']('element:ol',(_0x1e5f00,_0x59a93c,_0x4aa9bb)=>{const _0x211a7f=_0x59a93c['viewItem'],_0x1ad6a3=_0x59a93c['modelCursor']?.['parent'];_0x211a7f['hasClass']('footnotes-list')&&_0x1ad6a3?.['is']('element','footnotesDefinitions')&&(function(_0x3ae9e8,_0x57fa63,_0x1ec49f,_0x374424){if(!_0x374424['checkAttribute'](_0x57fa63,'footnotesListStart'))return;let _0x4cd1b7=0x1;const _0x121a34=_0x1ec49f['consumable']['consume'](_0x3ae9e8,{'attributes':'start'});if(_0x121a34){const _0x563316=Number['parseInt'](_0x3ae9e8['getAttribute']('start'),0xa);Number['isNaN'](_0x563316)||(_0x4cd1b7=_0x563316);}!_0x121a34&&_0x57fa63['hasAttribute']('footnotesListStart')||_0x1ec49f['writer']['setAttribute']('footnotesListStart',_0x4cd1b7,_0x57fa63);}(_0x211a7f,_0x1ad6a3,_0x4aa9bb,_0x13c2ec),function(_0x1704c5,_0x17e1fe,_0x23ac83,_0x14a82c){if(!_0x14a82c['checkAttribute'](_0x17e1fe,'footnotesListStyle'))return;let _0x4fafe4='decimal',_0x2950b7=!0x1;if(_0x23ac83['consumable']['consume'](_0x1704c5,{'attributes':'type'})){const _0xb310fc={0x1:'decimal','a':'lower-alpha','A':'upper-alpha','i':'lower-roman','I':'upper-roman'}[_0x1704c5['getAttribute']('type')];_0xb310fc&&(_0x4fafe4=_0xb310fc),_0x2950b7=!0x0;}_0x23ac83['consumable']['consume'](_0x1704c5,{'styles':'list-style-type'})&&(_0x4fafe4=_0x1704c5['getStyle']('list-style-type'),_0x2950b7=!0x0),!_0x2950b7&&_0x17e1fe['hasAttribute']('footnotesListStyle')||_0x23ac83['writer']['setAttribute']('footnotesListStyle',_0x4fafe4,_0x17e1fe);}(_0x211a7f,_0x1ad6a3,_0x4aa9bb,_0x13c2ec));});}),_0x293bdd['for']('downcast')['add'](_0x5c3595=>{_0x5c3595['on']('attribute:footnotesListStart:footnotesDefinitions',(_0x2dc3b3,_0x21acc9,_0x352631)=>{if(!_0x352631['consumable']['consume'](_0x21acc9['item'],_0x2dc3b3['name']))return;const _0x20fa64=M(_0x21acc9['item'],_0x352631['mapper']),{attributeNewValue:_0x33ff18}=_0x21acc9;null==_0x33ff18||0x1===_0x33ff18?_0x352631['writer']['removeAttribute']('start',_0x20fa64):_0x352631['writer']['setAttribute']('start',String(_0x33ff18),_0x20fa64);}),_0x5c3595['on']('attribute:footnotesListStyle:footnotesDefinitions',(_0x4ffe93,_0x36bea4,_0x7d692d)=>{if(!_0x7d692d['consumable']['consume'](_0x36bea4['item'],_0x4ffe93['name']))return;const _0x214a39=M(_0x36bea4['item'],_0x7d692d['mapper']),{attributeNewValue:_0x11a1a1}=_0x36bea4;_0x11a1a1&&'decimal'!==_0x11a1a1?_0x7d692d['writer']['setStyle']('list-style-type',_0x11a1a1,_0x214a39):_0x7d692d['writer']['removeStyle']('list-style-type',_0x214a39);});});}['_definePostfixer'](){const {editor:_0x2e33c8}=this,{model:_0x3fab60}=_0x2e33c8,_0x6abab2=_0x2e33c8['plugins']['get'](c),_0x218373=this['_getDefaultListStyle'](),_0x208090=this['_getDefaultStartIndex']();_0x3fab60['document']['registerPostFixer'](_0x29811e=>{const _0x46e51d=_0x3fab60['document']['differ']['getChanges']();let _0x10b43e=!0x1;for(const _0x4bbcd3 of _0x46e51d){if('insert'!==_0x4bbcd3['type']||'$text'===_0x4bbcd3['name'])continue;const _0x8a0c72=_0x3fab60['createRangeOn'](_0x4bbcd3['position']['nodeAfter']);for(const _0x3825dc of _0x8a0c72['getItems']())_0x3825dc['is']('element','footnotesDefinitions')&&(!_0x3825dc['hasAttribute']('footnotesListStart')&&_0x3fab60['schema']['checkAttribute'](_0x3825dc,'footnotesListStart')&&(_0x29811e['setAttribute']('footnotesListStart',_0x208090,_0x3825dc),_0x10b43e=!0x0),!_0x3825dc['hasAttribute']('footnotesListStyle')&&_0x3fab60['schema']['checkAttribute'](_0x3825dc,'footnotesListStyle')&&(_0x29811e['setAttribute']('footnotesListStyle',_0x218373,_0x3825dc),_0x10b43e=!0x0));}return _0x10b43e&&_0x6abab2['_updateFootnotesCounters'](_0x29811e),_0x10b43e;});}['_defineFormatter'](){const {editor:_0x275ce1}=this;_0x275ce1['plugins']['get'](c)['setFootnoteFormatter'](_0x3c8c42=>this['_formatFootnoteListValue'](_0x3c8c42));}['_getDefaultListStyle'](){return this['editor']['config']['get']('footnotes.footnotesProperties.defaultListStyle');}['_getDefaultStartIndex'](){return this['editor']['config']['get']('footnotes.footnotesProperties.defaultStartIndex');}['_formatFootnoteListValue']({container:_0x56afa0,value:_0x43793a,digits:_0x4116ea}){const _0x366074=_0x56afa0['getAttribute']('footnotesListStyle'),_0x3c1423=_0x56afa0['getAttribute']('footnotesListStart'),_0x4e2cda=Math['floor'](_0x43793a)+(_0x3c1423??0x1)-0x1;switch(_0x366074){case'decimal-leading-zero':return function(_0x1429c3,_0x135094){return String(_0x1429c3)['padStart'](_0x135094,'0');}(_0x4e2cda,Math['max'](0x2,_0x4116ea));case'lower-alpha':case'lower-latin':return N(_0x4e2cda,!0x1);case'upper-alpha':case'upper-latin':return N(_0x4e2cda,!0x0);case'lower-roman':return X(_0x4e2cda,!0x1);case'upper-roman':return X(_0x4e2cda,!0x0);default:return String(_0x4e2cda);}}}function M(_0x2faa53,_0x547b24){const _0x4752cb=_0x547b24['toViewElement'](_0x2faa53);return Array['from'](_0x4752cb['getChildren']())['find'](_0x3f9742=>_0x3f9742['is']('element','ol')&&_0x3f9742['hasClass']('footnotes-list'));}function N(_0x17fb10,_0x4b7d3a){let _0x249862='',_0x4046aa=_0x17fb10;for(;_0x4046aa>0x0;){const _0x3ec334=(_0x4046aa-0x1)%0x1a;_0x249862=String['fromCharCode'](0x61+_0x3ec334)+_0x249862,_0x4046aa=Math['floor']((_0x4046aa-0x1)/0x1a);}return _0x4b7d3a?_0x249862['toUpperCase']():_0x249862;}const V=[{'value':0x3e8,'numeral':'M'},{'value':0x384,'numeral':'CM'},{'value':0x1f4,'numeral':'D'},{'value':0x190,'numeral':'CD'},{'value':0x64,'numeral':'C'},{'value':0x5a,'numeral':'XC'},{'value':0x32,'numeral':'L'},{'value':0x28,'numeral':'XL'},{'value':0xa,'numeral':'X'},{'value':0x9,'numeral':'IX'},{'value':0x5,'numeral':'V'},{'value':0x4,'numeral':'IV'},{'value':0x1,'numeral':'I'}];function X(_0x36266d,_0x431408){let _0x470831='',_0xd3a40d=_0x36266d;for(const {value:_0x397fbd,numeral:_0x494bb6}of V)for(;_0xd3a40d>=_0x397fbd;)_0x470831+=_0x494bb6,_0xd3a40d-=_0x397fbd;return _0x431408?_0x470831:_0x470831['toLowerCase']();}class H extends _0x1e5d32{['children'];['stylesView']=null;['additionalProperties']=null;['startIndexFieldView']=null;['focusTracker']=new et();['keystrokes']=new ot();['focusables']=new _0x3eddb9();['focusCycler'];constructor(_0x4dbd66,{styleButtonViews:_0x2a7dd1,styleGridAriaLabel:_0xd0e67c}){super(_0x4dbd66),(this['focusCycler']=new _0x5f1fd9({'focusables':this['focusables'],'focusTracker':this['focusTracker'],'keystrokeHandler':this['keystrokes'],'actions':{'focusPrevious':'shift\x20+\x20tab','focusNext':'tab'}}),this['children']=this['createCollection'](),this['stylesView']=this['_appendStylesView'](_0x2a7dd1,_0xd0e67c),[this['startIndexFieldView'],this['additionalProperties']]=this['_appendAdditionalPropertiesCollapsibleView'](),this['setTemplate']({'tag':'div','attributes':{'class':['ck','ck-footnotes-definitions-properties']},'children':this['children']}));}['render'](){if(super['render'](),this['stylesView']){this['focusables']['add'](this['stylesView']),this['focusTracker']['add'](this['stylesView']['element']);for(const _0x58ee47 of this['stylesView']['children'])this['stylesView']['focusTracker']['add'](_0x58ee47['element']);_0x3de560({'keystrokeHandler':this['stylesView']['keystrokes'],'focusTracker':this['stylesView']['focusTracker'],'gridItems':this['stylesView']['children'],'numberOfColumns':()=>rt['window']['getComputedStyle'](this['stylesView']['element'])['getPropertyValue']('grid-template-columns')['split']('\x20')['length'],'uiLanguageDirection':this['locale']&&this['locale']['uiLanguageDirection']});}if(this['startIndexFieldView']){this['focusables']['add'](this['startIndexFieldView']),this['focusTracker']['add'](this['startIndexFieldView']['element']);const _0x3f6b89=_0x5dd6e7=>_0x5dd6e7['stopPropagation']();this['keystrokes']['set']('arrowright',_0x3f6b89),this['keystrokes']['set']('arrowleft',_0x3f6b89),this['keystrokes']['set']('arrowup',_0x3f6b89),this['keystrokes']['set']('arrowdown',_0x3f6b89);}this['keystrokes']['listenTo'](this['element']);}['focus'](){this['focusCycler']['focusFirst']();}['focusLast'](){this['focusCycler']['focusLast']();}['destroy'](){super['destroy'](),this['focusTracker']['destroy'](),this['keystrokes']['destroy']();}['_appendStylesView'](_0x13886d,_0x548808){const _0x12d008=new _0x1e5d32(this['locale']);return _0x12d008['children']=_0x12d008['createCollection'](),_0x12d008['children']['addMany'](_0x13886d),_0x12d008['setTemplate']({'tag':'div','attributes':{'aria-label':_0x548808,'class':['ck','ck-footnotes-definitions-styles-list']},'children':_0x12d008['children']}),_0x12d008['children']['delegate']('execute')['to'](this),_0x12d008['focus']=function(){for(const _0x3353c6 of this['children'])if(_0x3353c6 instanceof _0x431485&&_0x3353c6['isOn'])return void _0x3353c6['focus']();this['children']['first']['focus']();},_0x12d008['focusTracker']=new et(),_0x12d008['keystrokes']=new ot(),_0x12d008['render'](),_0x12d008['keystrokes']['listenTo'](_0x12d008['element']),this['children']['add'](_0x12d008),_0x12d008;}['_appendAdditionalPropertiesCollapsibleView'](){const {t:t}=this['locale'],_0x18c3b9=this['_createStartIndexPropertyView'](),_0x42260f=[_0x18c3b9],_0x3c78cf=new tt(this['locale'],_0x42260f);return _0x3c78cf['set']({'label':t('Footnotes\x20properties'),'isCollapsed':!0x0}),_0x3c78cf['buttonView']['bind']('isEnabled')['toMany'](_0x42260f,'isEnabled',(..._0x1d089a)=>_0x1d089a['some'](_0x200f80=>_0x200f80)),_0x3c78cf['buttonView']['on']('change:isEnabled',(_0x3870be,_0x34ae03,_0x48cc17)=>{_0x48cc17||(_0x3c78cf['isCollapsed']=!0x0);}),this['children']['add'](_0x3c78cf),[_0x18c3b9,_0x3c78cf];}['_createStartIndexPropertyView'](){const {t:t}=this['locale'],_0x225429=new st(this['locale'],it);return _0x225429['set']({'label':t('Footnotes\x20start\x20at'),'class':'ck-footnotes-definitions-properties__start-index'}),_0x225429['fieldView']['set']({'min':0x0,'max':Math['pow'](0x2,0x1e),'step':0x1,'value':0x1,'inputMode':'numeric'}),_0x225429['fieldView']['on']('input',()=>{const _0x5495b7=_0x225429['fieldView']['element'],_0x7edada=_0x5495b7['valueAsNumber'];Number['isNaN'](_0x7edada)?_0x225429['errorText']=t('Invalid\x20footnotes\x20start\x20index\x20value.'):_0x5495b7['checkValidity']()?this['fire']('footnotesListStart',{'startIndex':_0x7edada}):_0x225429['errorText']=t(_0x7edada<0x0?'Footnotes\x20start\x20index\x20must\x20be\x20greater\x20than\x200.':'Footnotes\x20start\x20index\x20is\x20too\x20large.');}),_0x225429;}}class j extends _0x5913ea{static get['pluginName'](){return'FootnotesPropertiesUI';}static get['requires'](){return[_0x42ed25,_0x1dcbe7];}static get['isOfficialPlugin'](){return!0x0;}static get['isPremiumPlugin'](){return!0x0;}['init'](){const {editor:_0x4dd3aa}=this,{componentFactory:_0x1c46eb}=_0x4dd3aa['ui'];_0x4dd3aa['config']['define']('footnotes.footnotesProperties.toolbar',['footnotesStyle']),_0x1c46eb['add']('footnotesStyle',function(_0x2ce706){return _0xe78585=>{const {t:t}=_0xe78585,_0x2e17cf=_0x2ce706['commands']['get']('footnotesStyle'),_0x557555=_0x235e41(_0xe78585),{buttonView:_0x5041c9}=_0x557555;return _0x557555['class']='ck-footnotes-styles-dropdown',_0x557555['bind']('isEnabled')['to'](_0x2e17cf,'isEnabled'),_0x5041c9['set']({'label':t('Footnotes\x20style'),'icon':_0x263975,'tooltip':!0x0}),_0x557555['once']('change:isOpen',()=>{const _0x183533=function({editor:_0x2e55ca,dropdownView:_0x4bf5cd}){const {t:t}=_0x2e55ca['locale'],_0xd20610=t('Footnotes\x20definitions\x20styles'),_0x57a38e=function(_0x57297b){const t=_0x57297b['locale']['t'],_0x3233d3=[{'label':t('Toggle\x20the\x20decimal\x20footnotes\x20style'),'tooltip':t('Decimal\x20footnotes'),'style':'decimal','icon':_0x413f87},{'label':t('Toggle\x20the\x20decimal\x20with\x20leading\x20zero\x20footnotes\x20style'),'tooltip':t('Decimal\x20footnotes\x20with\x20leading\x20zero'),'style':'decimal-leading-zero','icon':_0x1ddf55},{'label':t('Toggle\x20the\x20lower–roman\x20footnotes\x20style'),'tooltip':t('Lower–roman\x20footnotes'),'style':'lower-roman','icon':_0x2ec325},{'label':t('Toggle\x20the\x20upper–roman\x20footnotes\x20style'),'tooltip':t('Upper-roman\x20footnotes'),'style':'upper-roman','icon':_0x16ae62},{'label':t('Toggle\x20the\x20lower–latin\x20footnotes\x20style'),'tooltip':t('Lower-latin\x20footnotes'),'style':'lower-latin','icon':_0x1bb37b},{'label':t('Toggle\x20the\x20upper–latin\x20footnotes\x20style'),'tooltip':t('Upper-latin\x20footnotes'),'style':'upper-latin','icon':_0x155f2b}];return _0x3233d3['map'](function(_0x4fc4ad){const _0x69895e=_0x4fc4ad['locale'];return({label:_0x38e6fd,icon:_0x509da3,tooltip:_0x3f03c2,style:_0x4dafa2})=>{const _0xff735a=_0x4fc4ad['commands']['get']('footnotesStyle'),_0x4f454f=new _0x431485(_0x69895e);return _0x4f454f['set']({'label':_0x38e6fd,'icon':_0x509da3,'tooltip':_0x3f03c2}),_0x4f454f['bind']('isOn')['to'](_0xff735a,'value',_0x363e9f=>_0x363e9f===_0x4dafa2),_0x4f454f['bind']('isEnabled')['to'](_0xff735a,'isEnabled'),_0x4f454f['on']('execute',()=>{_0x4fc4ad['execute']('footnotesStyle',{'value':_0x4dafa2}),_0x4fc4ad['editing']['view']['focus']();}),_0x4f454f;};}(_0x57297b));}(_0x2e55ca),_0x483474=new H(_0x2e55ca['locale'],{'styleGridAriaLabel':_0xd20610,'styleButtonViews':_0x57a38e});return _0x483474['delegate']('execute')['to'](_0x4bf5cd),_0x483474['on']('footnotesListStart',(_0x5eb49f,_0xd19dfb)=>{_0x2e55ca['execute']('footnotesStart',{'value':_0xd19dfb['startIndex']});}),_0x483474;}({'editor':_0x2ce706,'dropdownView':_0x557555});_0x557555['panelView']['children']['add'](_0x183533);}),_0x557555;};}(_0x4dd3aa));}['afterInit'](){const {editor:_0x1484fc}=this,{t:t}=_0x1484fc['locale'],_0x1ca64c=_0x1484fc['plugins']['get'](_0x1dcbe7),{defaultPositions:_0x163eaf}=_0x53c802;_0x1ca64c['register']('footnotesDefinitions',{'ariaLabel':t('Footnotes\x20definitions\x20toolbar'),'items':_0x1484fc['config']['get']('footnotes.footnotesProperties.toolbar'),'balloonClassName':'ck-footnotes-style-balloon\x20ck-toolbar-container','getRelatedElement':_0x14b154=>{let _0x1522a3=_0x14b154['getFirstPosition']()?.['parent'];return _0x1522a3?.['is']('$text')&&(_0x1522a3=_0x1522a3['parent']),_0x1522a3?.['is']('element')?_0x1522a3['findAncestor'](J):null;},'positions':[_0x163eaf['southArrowNorth'],_0x163eaf['southArrowNorthMiddleWest'],_0x163eaf['southArrowNorthMiddleEast'],_0x163eaf['southArrowNorthWest'],_0x163eaf['southArrowNorthEast'],_0x163eaf['northArrowSouth'],_0x163eaf['northArrowSouthMiddleWest'],_0x163eaf['northArrowSouthMiddleEast'],_0x163eaf['northArrowSouthWest'],_0x163eaf['northArrowSouthEast'],_0x163eaf['viewportStickyNorth']]});}}class ft extends _0x5913ea{static get['pluginName'](){return'FootnotesProperties';}static get['requires'](){return[P,j];}static get['isOfficialPlugin'](){return!0x0;}static get['isPremiumPlugin'](){return!0x0;}}export{lt as Footnotes,e as FootnotesClipboard,r as FootnotesEditing,ft as FootnotesProperties,P as FootnotesPropertiesEditing,j as FootnotesPropertiesUI,C as FootnotesStartCommand,S as FootnotesStyleCommand,c as FootnotesTracker,i as FootnotesUI,m as InsertFootnoteCommand};
|
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':_0x393816=>0x1!=_0x393816}};
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
(
|
|
23
|
+
(_0x4451f8=>{const {af:{dictionary:_0x3513cc,getPluralForm:_0x362ed8}}={'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':_0x2f3aed=>0x1!=_0x2f3aed}};_0x4451f8['af']||={'dictionary':{},'getPluralForm':null},_0x4451f8['af']['dictionary']=Object['assign'](_0x4451f8['af']['dictionary'],_0x3513cc),_0x4451f8['af']['getPluralForm']=_0x362ed8;})(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':_0x277ac0=>0x0==_0x277ac0?0x0:0x1==_0x277ac0?0x1:0x2==_0x277ac0?0x2:_0x277ac0%0x64>=0x3&&_0x277ac0%0x64<=0xa?0x3:_0x277ac0%0x64>=0xb?0x4:0x5}};
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
(
|
|
23
|
+
(_0x66f6a6=>{const {ar:{dictionary:_0x12f45b,getPluralForm:_0x2070d6}}={'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':_0x968145=>0x0==_0x968145?0x0:0x1==_0x968145?0x1:0x2==_0x968145?0x2:_0x968145%0x64>=0x3&&_0x968145%0x64<=0xa?0x3:_0x968145%0x64>=0xb?0x4:0x5}};_0x66f6a6['ar']||={'dictionary':{},'getPluralForm':null},_0x66f6a6['ar']['dictionary']=Object['assign'](_0x66f6a6['ar']['dictionary'],_0x12f45b),_0x66f6a6['ar']['getPluralForm']=_0x2070d6;})(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':_0x83f2da=>0x1!=_0x83f2da}};
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
(
|
|
23
|
+
(_0x2944b2=>{const {ast:{dictionary:_0x517bf0,getPluralForm:_0x102917}}={'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':_0x1fbb11=>0x1!=_0x1fbb11}};_0x2944b2['ast']||={'dictionary':{},'getPluralForm':null},_0x2944b2['ast']['dictionary']=Object['assign'](_0x2944b2['ast']['dictionary'],_0x517bf0),_0x2944b2['ast']['getPluralForm']=_0x102917;})(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':_0x4e5b66=>0x1!=_0x4e5b66}};
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
(
|
|
23
|
+
(_0x1fbb03=>{const {az:{dictionary:_0xef176e,getPluralForm:_0x17deac}}={'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':_0x18a222=>0x1!=_0x18a222}};_0x1fbb03['az']||={'dictionary':{},'getPluralForm':null},_0x1fbb03['az']['dictionary']=Object['assign'](_0x1fbb03['az']['dictionary'],_0xef176e),_0x1fbb03['az']['getPluralForm']=_0x17deac;})(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':_0xe288f4=>_0xe288f4%0xa==0x1&&_0xe288f4%0x64!=0xb?0x0:_0xe288f4%0xa>=0x2&&_0xe288f4%0xa<=0x4&&(_0xe288f4%0x64<0xa||_0xe288f4%0x64>=0x14)?0x1:0x2}};
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
(
|
|
23
|
+
(_0x54b3ba=>{const {be:{dictionary:_0x1e0abe,getPluralForm:_0x262bc9}}={'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':_0x104f17=>_0x104f17%0xa==0x1&&_0x104f17%0x64!=0xb?0x0:_0x104f17%0xa>=0x2&&_0x104f17%0xa<=0x4&&(_0x104f17%0x64<0xa||_0x104f17%0x64>=0x14)?0x1:0x2}};_0x54b3ba['be']||={'dictionary':{},'getPluralForm':null},_0x54b3ba['be']['dictionary']=Object['assign'](_0x54b3ba['be']['dictionary'],_0x1e0abe),_0x54b3ba['be']['getPluralForm']=_0x262bc9;})(window['CKEDITOR_TRANSLATIONS']||={});
|