@ckeditor/ckeditor5-footnotes 47.6.0-alpha.4 → 47.6.0-alpha.6
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 _0x5cb942,Command as _0x56da19}from'@ckeditor/ckeditor5-core/dist/index.js';import{toWidget as _0x2e36b2,isWidget as _0x168efc,toWidgetEditable as _0x10d921,WidgetToolbarRepository as _0x2f92c2}from'@ckeditor/ckeditor5-widget/dist/index.js';import{uid as _0x40b819,logWarning as _0x30344a,FocusTracker as rt,KeystrokeHandler as nt,global as at}from'@ckeditor/ckeditor5-utils/dist/index.js';import{PointerObserver as _0x473528,ClickObserver as _0x4531dd}from'@ckeditor/ckeditor5-engine/dist/index.js';import{ClipboardPipeline as _0x3c91ef}from'@ckeditor/ckeditor5-clipboard/dist/index.js';import{MenuBarMenuListItemButtonView as _0x1bf7a6,ButtonView as _0x427d5a,View as _0x29d430,ViewCollection as _0x36a25c,FocusCycler as tt,addKeyboardHandlingForGrid as st,CollapsibleView as it,LabeledFieldView as et,createLabeledInputNumber as ot,ContextualBalloon as _0x3bbbe2,BalloonPanelView as _0x2d51ed,createDropdown as _0xc88267}from'@ckeditor/ckeditor5-ui/dist/index.js';import{IconFootnote as _0x2db07c,IconListStyleDecimal as _0x469ce5,IconListStyleDecimalLeadingZero as _0x4b0e83,IconListStyleLowerRoman as _0x2f380f,IconListStyleUpperRoman as _0x16f5a4,IconListStyleLowerLatin as _0x50453d,IconListStyleUpperLatin as _0x51b6e7}from'@ckeditor/ckeditor5-icons/dist/index.js';class F{['_model'];['_elementName'];['_getElementKey'];['_trackedElements']=new Map();constructor(_0x345e6d,_0x4a746d){this['_model']=_0x345e6d,this['_elementName']=_0x4a746d['elementName'],this['_getElementKey']=_0x4a746d['getElementKey'];}['reset'](){this['_trackedElements']['clear']();}['getChanges'](_0x2cdef5){const _0x29337c=new Set(),_0x167d77=new Map();for(const _0x58fad2 of _0x2cdef5){if('insert'===_0x58fad2['type']&&'$text'!==_0x58fad2['name']&&_0x58fad2['position']['nodeAfter']){const _0x47750d=this['_model']['createRangeOn'](_0x58fad2['position']['nodeAfter']);for(const _0x589de0 of _0x47750d['getItems']()){if(!_0x589de0['is']('element',this['_elementName']))continue;const _0x1dbea2=this['_getElementKey'](_0x589de0);_0x167d77['has'](_0x1dbea2)||_0x167d77['set'](_0x1dbea2,[]),_0x167d77['get'](_0x1dbea2)['push'](_0x589de0);}}if('remove'===_0x58fad2['type']&&_0x58fad2['name']===this['_elementName']){const _0x4f4d11=this['_getElementKey']({'getAttribute':_0x5a8fc0=>_0x58fad2['attributes']['get'](_0x5a8fc0)});_0x29337c['add'](_0x4f4d11);}}for(const [_0x29b06f,_0xfd0a1]of this['_trackedElements'])'$graveyard'===_0xfd0a1['root']['rootName']&&_0x29337c['add'](_0x29b06f);for(const _0x4fd611 of _0x29337c)this['_trackedElements']['delete'](_0x4fd611);for(const [_0x552277,_0x16b074]of _0x167d77)this['_trackedElements']['set'](_0x552277,_0x16b074[_0x16b074['length']-0x1]);const _0x395430=new Set();for(const [_0x1f7034,_0x1c5b77]of _0x167d77)_0x29337c['has'](_0x1f7034)&&(_0x395430['add'](_0x1c5b77[0x0]),_0x1c5b77['length']>0x1?_0x167d77['set'](_0x1f7034,_0x1c5b77['slice'](0x1)):_0x167d77['delete'](_0x1f7034),_0x29337c['delete'](_0x1f7034));return{'removed':Array['from'](_0x29337c),'inserted':Array['from'](_0x167d77['values']())['flat'](),'moved':Array['from'](_0x395430)};}}class f extends _0x5cb942{['_footnotes']=[];['_footnotesDefinitions']=null;['_footnoteFormatter']=null;['_footnoteDefsContainerTracker'];['_footnoteRefsTracker'];['_footnoteDefsTracker'];static get['pluginName'](){return'FootnotesTracker';}static get['isOfficialPlugin'](){return!0x0;}static get['isPremiumPlugin'](){return!0x0;}constructor(_0x901f01){super(_0x901f01),this['_footnoteDefsContainerTracker']=new F(this['editor']['model'],{'elementName':'footnotesDefinitions','getElementKey':()=>'singleton'}),this['_footnoteRefsTracker']=new F(this['editor']['model'],{'elementName':'footnoteRef','getElementKey':_0x17bc27=>_0x17bc27['getAttribute']('footnoteId')}),this['_footnoteDefsTracker']=new F(this['editor']['model'],{'elementName':'footnoteDefinition','getElementKey':_0x5d3c5a=>_0x5d3c5a['getAttribute']('footnoteId')});}['init'](){const {editor:_0x31e72e}=this,{model:_0x251f2f,data:_0xd6e0a4}=_0x31e72e;_0x251f2f['document']['registerPostFixer'](_0x92593b=>{const _0x2f4a57=_0x251f2f['document']['differ']['getChanges']();let _0x3ab08d=!0x1;return this['_handleFootnotesDefinitionsObjectChanges'](_0x92593b,_0x2f4a57)&&(_0x3ab08d=!0x0),this['_handleFootnoteDefinitionsChanges'](_0x92593b,_0x2f4a57)&&(_0x3ab08d=!0x0),this['_handleFootnoteReferencesChanges'](_0x92593b,_0x2f4a57)&&(_0x3ab08d=!0x0),this['_ensureFootnotesReferencesHaveProperOrder'](_0x92593b)&&(_0x3ab08d=!0x0),this['_handleFootnotesDefinitionsObjectSync'](_0x92593b)&&(_0x3ab08d=!0x0),this['_sortFootnoteDefinitions'](_0x92593b)&&(_0x3ab08d=!0x0),_0x3ab08d;}),this['listenTo'](_0x251f2f['document'],'change:data',()=>{_0x251f2f['enqueueChange']({'isUndoable':!0x1},_0x6ecfaa=>{this['_ensureFootnotesDefinitionsContainerExists'](_0x6ecfaa);});},{'priority':'low'}),this['listenTo'](_0xd6e0a4,'set',()=>{this['_footnotes']=[],this['_footnoteDefsContainerTracker']['reset'](),this['_footnoteRefsTracker']['reset'](),this['_footnoteDefsTracker']['reset']();},{'priority':'high'});}['getFootnotesDefinitionsObjectElement'](){return this['_footnotesDefinitions'];}['getFootnote'](_0x12c923){return this['_footnotes']['find'](_0x8ff4bd=>_0x8ff4bd['id']===_0x12c923)||null;}['getFootnotes'](){return Array['from'](this['_footnotes']);}['getFootnotesFormatter'](){return this['_footnoteFormatter'];}['setFootnoteFormatter'](_0x2bc277){this['_footnoteFormatter']=_0x2bc277;}['_updateFootnotesCounters'](_0x4b6fcd,_0x5a6ed3=0x0){let _0x105555=!0x1;for(let _0x3c85fe=_0x5a6ed3;_0x3c85fe<this['_footnotes']['length'];_0x3c85fe++)this['_updateFootnoteRefCounter'](_0x4b6fcd,_0x3c85fe)&&(_0x105555=!0x0);return _0x105555;}['_insertEmptyFootnotesDefinitionsContainer'](_0x320719,_0x1d54c1){const _0x5c12db=_0x320719['createElement']('footnotesDefinitions',{});return _0x320719['append'](_0x5c12db,_0x1d54c1),this['_footnotesDefinitions']=_0x5c12db,_0x5c12db;}['_ensureFootnotesDefinitionsContainerExists'](_0x30b85a){if(!this['_footnotes']['length']||this['_footnotesDefinitions'])return;const _0x48160=this['_footnotes'][0x0]['reference']['root'],_0x5d9fb4=this['_insertEmptyFootnotesDefinitionsContainer'](_0x30b85a,_0x48160);for(const _0x3ff7ff of this['_footnotes'])_0x3ff7ff['definition']['parent']||_0x30b85a['insert'](_0x3ff7ff['definition'],_0x5d9fb4,'end');this['_updateFootnotesCounters'](_0x30b85a);}['_handleFootnotesDefinitionsObjectChanges'](_0x39a01f,_0x8c0d4){let _0x50926a=!0x1;const {inserted:_0x4f9b27,removed:_0x40e50b,moved:_0x50535d}=this['_footnoteDefsContainerTracker']['getChanges'](_0x8c0d4);if(_0x50535d['length']&&(this['_footnotesDefinitions']=_0x50535d[0x0]),_0x4f9b27['length']){if(_0x4f9b27['length']>0x1||this['_footnotesDefinitions']&&_0x4f9b27['some'](_0x547a59=>_0x547a59!==this['_footnotesDefinitions'])){const _0x5f0aaa=_0x39a01f['createElement']('footnotesDefinitions',{}),_0x45e1f7=[];this['_footnotesDefinitions']&&_0x45e1f7['push'](this['_footnotesDefinitions']),_0x45e1f7['push'](..._0x4f9b27),_0x39a01f['insert'](_0x5f0aaa,_0x45e1f7[0x0],'before');for(const _0xacd1d8 of _0x45e1f7)_0x39a01f['move'](_0x39a01f['createRangeIn'](_0xacd1d8),_0x39a01f['createPositionAt'](_0x5f0aaa,'end')),_0x39a01f['remove'](_0xacd1d8);this['_footnotesDefinitions']=_0x5f0aaa,this['_updateFootnotesCounters'](_0x39a01f),_0x50926a=!0x0;}else this['_footnotesDefinitions']=_0x4f9b27[0x0];}if(_0x40e50b['length']&&'$graveyard'===this['_footnotesDefinitions']?.['root']['rootName']){for(const _0x384414 of this['_footnotes'])_0x39a01f['remove'](_0x384414['reference']),_0x50926a=!0x0;this['_footnotes']=[],this['_footnotesDefinitions']=null;}return _0x50926a;}['_handleFootnoteDefinitionsChanges'](_0x580d84,_0x462726){let _0x4a143b=!0x1;const _0x574a0f=this['editor']['config']['get']('footnotes.multiBlock'),{inserted:_0x1fe8d1,moved:_0x561efa}=this['_footnoteDefsTracker']['getChanges'](_0x462726);for(const _0x518277 of[..._0x561efa,..._0x1fe8d1]){const _0x1c2718=_0x518277['getAttribute']('footnoteId'),_0x4a2239=this['getFootnote'](_0x1c2718);_0x4a2239&&(_0x4a2239['definition']=_0x518277),_(_0x580d84,_0x574a0f,_0x518277)&&(_0x4a143b=!0x0);}return _0x4a143b;}['_handleFootnoteReferencesChanges'](_0x3ec989,_0x3a7ffc){let _0x56b61f=!0x1;const {removed:_0xcc794d,inserted:_0x1e5d9f,moved:_0x10a7d6}=this['_footnoteRefsTracker']['getChanges'](_0x3a7ffc);for(const _0x4488fa of _0xcc794d)this['_handleRemoveFootnoteReferenceById'](_0x3ec989,_0x4488fa)&&(_0x56b61f=!0x0);for(const _0x3a9b98 of _0x1e5d9f)this['_handleInsertedFootnoteReference'](_0x3ec989,_0x3a9b98)&&(_0x56b61f=!0x0);for(const _0x10a61f of _0x10a7d6)this['_handleMovedFootnoteReference'](_0x3ec989,_0x10a61f)&&(_0x56b61f=!0x0);return _0x56b61f;}['_handleFootnotesDefinitionsObjectSync'](_0x12bbbb){if(!this['_footnotesDefinitions'])return!0x1;let _0x52f0d6=!0x1;if(this['_footnotesDefinitions']['childCount']!==this['_footnotes']['length']){const _0x4a7118=[];for(const _0x1cdbf6 of this['_footnotesDefinitions']['getChildren']()){const _0x4daef7=_0x1cdbf6['getAttribute']('footnoteId');this['getFootnote'](_0x4daef7)||(_0x4a7118['unshift'](_0x1cdbf6),_0x52f0d6=!0x0);}for(const _0x1eb237 of _0x4a7118)_0x12bbbb['remove'](_0x1eb237);}const _0x34a944=new Set(),_0x20d7c0=[];for(const _0x3d3840 of this['_footnotesDefinitions']['getChildren']()){const _0x2d3f6f=_0x3d3840['getAttribute']('footnoteId');_0x34a944['has'](_0x2d3f6f)?(_0x20d7c0['unshift'](_0x3d3840),_0x52f0d6=!0x0):_0x34a944['add'](_0x2d3f6f);}for(const _0x241689 of _0x20d7c0)_0x12bbbb['remove'](_0x241689);return this['_footnotesDefinitions']['childCount']||(_0x12bbbb['remove'](this['_footnotesDefinitions']),this['_footnotesDefinitions']=null,_0x52f0d6=!0x0),_0x52f0d6;}['_handleInsertedFootnoteReference'](_0x3a5f0e,_0x385c55){if(this['_footnotes']['find'](_0x1f7b63=>_0x1f7b63['reference']===_0x385c55))return!0x1;let _0x37aa8c=!0x1;const _0x23b49a=_0x385c55['getAttribute']('footnoteId'),_0x210387=this['_footnotes']['findIndex'](_0x406b9c=>_0x406b9c['id']===_0x23b49a);-0x1!==_0x210387&&(_0x3a5f0e['remove'](this['_footnotes'][_0x210387]['reference']),this['_footnotes']['splice'](_0x210387,0x1),_0x37aa8c=!0x0);let _0xc9196d=this['_footnotesDefinitions']?function(_0x8523b7,_0x271e0e){for(const _0x2091bd of _0x8523b7['getChildren']())if(_0x2091bd['getAttribute']('footnoteId')===_0x271e0e)return _0x2091bd;return null;}(this['_footnotesDefinitions'],_0x23b49a):null;_0xc9196d||(_0xc9196d=_0x3a5f0e['createElement']('footnoteDefinition',{'footnoteId':_0x23b49a}),this['_footnotesDefinitions']&&(_0x3a5f0e['insert'](_0xc9196d,this['_footnotesDefinitions'],'end'),_0x37aa8c=!0x0));const _0xc6b764={'id':_0x23b49a,'reference':_0x385c55,'definition':_0xc9196d},_0x53b0b9=I(this['editor']['model'],this['_footnotes'],_0x385c55);this['_footnotes']['splice'](_0x53b0b9,0x0,_0xc6b764);let _0x20c1aa=_0x53b0b9;return-0x1!==_0x210387&&(_0x20c1aa=Math['min'](_0x53b0b9,_0x210387)),this['_updateFootnotesCounters'](_0x3a5f0e,_0x20c1aa)&&(_0x37aa8c=!0x0),_0x37aa8c;}['_handleRemoveFootnoteReferenceById'](_0x3af602,_0x52ee21){const _0x1a2e37=this['_footnotes']['findIndex'](_0x65323f=>_0x65323f['id']===_0x52ee21);if(-0x1===_0x1a2e37)return!0x1;let _0x592227=!0x1;const _0x1ba4f4=this['_footnotes'][_0x1a2e37];return'$graveyard'!==_0x1ba4f4['definition']['root']['rootName']&&(_0x3af602['remove'](_0x1ba4f4['definition']),_0x592227=!0x0),this['_footnotes']['splice'](_0x1a2e37,0x1),this['_updateFootnotesCounters'](_0x3af602,_0x1a2e37)&&(_0x592227=!0x0),_0x592227;}['_handleMovedFootnoteReference'](_0x33488a,_0x1d212a){const _0x2401e1=_0x1d212a['getAttribute']('footnoteId'),_0x278be3=this['_footnotes']['findIndex'](_0xa2c2a7=>_0xa2c2a7['id']===_0x2401e1),_0x18a0e1=this['_footnotes'][_0x278be3];let _0x3f839c=!0x1;_0x18a0e1['reference']=_0x1d212a,this['_footnotes']['splice'](_0x278be3,0x1);const _0x38b6af=I(this['editor']['model'],this['_footnotes'],_0x1d212a);return this['_footnotes']['splice'](_0x38b6af,0x0,_0x18a0e1),this['_updateFootnotesCounters'](_0x33488a,Math['min'](_0x278be3,_0x38b6af))&&(_0x3f839c=!0x0),_0x3f839c;}['_updateFootnoteRefCounter'](_0x5b58c4,_0x9e7d93){if(!this['_footnotesDefinitions'])return!0x1;const _0xa45a14=this['_footnotes'][_0x9e7d93];let _0xb9739a;return _0xb9739a=this['_footnoteFormatter']?this['_footnoteFormatter']({'footnote':_0xa45a14,'container':this['_footnotesDefinitions'],'digits':String(this['_footnotes']['length'])['length'],'value':_0x9e7d93+0x1}):String(_0x9e7d93+0x1),_0xa45a14['reference']['getAttribute']('footnoteCounter')!=_0xb9739a&&(_0x5b58c4['setAttribute']('footnoteCounter',_0xb9739a,_0xa45a14['reference']),!0x0);}['_sortFootnoteDefinitions'](_0x20b3e8){if(!this['_footnotesDefinitions']||this['_footnotes']['length']<0x2)return!0x1;if(function(_0x303488,_0x3033ff){if(_0x303488['length']!==_0x3033ff['length'])return!0x1;for(let _0x234dac=0x0;_0x234dac<_0x303488['length'];_0x234dac++)if(_0x303488[_0x234dac]!==_0x3033ff[_0x234dac])return!0x1;return!0x0;}(this['_footnotes']['map'](_0x4d21f7=>_0x4d21f7['id']),Array['from'](this['_footnotesDefinitions']['getChildren']())['map'](_0x2fdde5=>_0x2fdde5['getAttribute']('footnoteId'))))return!0x1;let _0x43a28a=!0x1;for(let _0x202235=0x0;_0x202235<this['_footnotes']['length'];_0x202235++){const _0x3f6344=this['_footnotes'][_0x202235],_0x18a5c2=_0x20b3e8['createPositionBefore'](_0x3f6344['definition']),_0x1a2fff=_0x20b3e8['createPositionAt'](this['_footnotesDefinitions'],_0x202235);_0x18a5c2['isEqual'](_0x1a2fff)||(_0x20b3e8['move'](_0x20b3e8['createRangeOn'](_0x3f6344['definition']),_0x1a2fff),_0x43a28a=!0x0);}return _0x43a28a;}['_ensureFootnotesReferencesHaveProperOrder'](_0x5afaca){if(!this['_footnotes']['length'])return!0x1;const {model:_0x337fa0}=this['editor'];let _0x2345d7=!0x1;for(let _0x32e614=0x0;_0x32e614<this['_footnotes']['length']-0x1;_0x32e614++){const _0x50d965=this['_footnotes'][_0x32e614],_0x4afac3=this['_footnotes'][_0x32e614+0x1],_0x34ece3=_0x337fa0['createPositionBefore'](_0x50d965['reference']),_0x314f38=_0x337fa0['createPositionBefore'](_0x4afac3['reference']);'after'===_0x34ece3['compareWith'](_0x314f38)&&(this['_handleMovedFootnoteReference'](_0x5afaca,_0x50d965['reference']),_0x32e614=-0x1,_0x2345d7=!0x0);}return _0x2345d7;}}function _(_0x2f2aea,_0x34afa7,_0x1febef){if(_0x1febef['childCount'])return!0x1;const _0x43cb60=_0x34afa7?'paragraph':'footnoteInlineContent';return _0x2f2aea['insert'](_0x2f2aea['createElement'](_0x43cb60),_0x1febef),!0x0;}function I(_0x3272fc,_0x154bd6,_0x5090bb){if(0x0===_0x154bd6['length'])return 0x0;const _0x3b7447=_0x3272fc['createPositionBefore'](_0x5090bb);for(let _0x8012a6=0x0;_0x8012a6<_0x154bd6['length'];_0x8012a6++){const _0x38a2c2=_0x154bd6[_0x8012a6],_0x40e97b=_0x3272fc['createPositionBefore'](_0x38a2c2['reference']);if('before'===_0x3b7447['compareWith'](_0x40e97b))return _0x8012a6;}const _0x544771=_0x5090bb['root'];let _0x2ad081=-0x1;for(let _0x13edf6=_0x154bd6['length']-0x1;_0x13edf6>=0x0;_0x13edf6--)if(_0x154bd6[_0x13edf6]['reference']['root']===_0x544771){_0x2ad081=_0x13edf6;break;}if(-0x1!==_0x2ad081)return _0x2ad081+0x1;const _0x2acee7=_0x3272fc['document']['getRootNames'](),_0x4bf0e0=_0x2acee7['indexOf'](_0x544771['rootName']),_0x2d1ef9=_0x2acee7[_0x4bf0e0+0x1];if(_0x2d1ef9){for(let _0x3ddf26=0x0;_0x3ddf26<_0x154bd6['length'];_0x3ddf26++)if(_0x154bd6[_0x3ddf26]['reference']['root']['rootName']===_0x2d1ef9)return _0x3ddf26;}return _0x154bd6['length'];}class h extends _0x56da19{['refresh'](){const _0x5a7094=this['editor']['model']['document']['selection'],_0x10ba7e=this['_getPositionToInsertFootnote'](_0x5a7094);this['isEnabled']=!!_0x10ba7e;}['execute'](_0x323d9){const {editor:_0x323f3a}=this,{model:_0x2bced9}=_0x323f3a,{selection:_0x10ff4a}=_0x2bced9['document'],_0x1d934e=this['_getPositionToInsertFootnote'](_0x10ff4a);if(!_0x1d934e)return;const _0xa265c8=_0x323f3a['plugins']['get']('FootnotesEditing'),_0x9e79ff=_0x323d9?.['footnoteId']??_0x40b819();!function(_0x13193f){return'string'==typeof _0x13193f&&_0x13193f['length']>0x0&&!/\s/['test'](_0x13193f)&&!/^\d/['test'](_0x13193f);}(_0x9e79ff)?_0x30344a('insert-footnote-command-executed-with-invalid-id'):(_0x2bced9['change'](_0x307409=>{const _0x516a5a=_0x307409['createElement']('footnoteRef',{'footnoteId':_0x9e79ff});_0x2bced9['insertObject'](_0x516a5a,_0x1d934e,null);}),_0xa265c8['_moveSelectionToFootnoteDefinition'](_0x9e79ff));}['_getPositionToInsertFootnote'](_0x365e11){const {model:_0x39f03c}=this['editor'],{schema:_0x21e745}=_0x39f03c,_0x467302=_0x365e11['getFirstRange']();for(const _0x46fce6 of _0x467302['getItems']())if(_0x21e745['isBlock'](_0x46fce6)||_0x21e745['isObject'](_0x46fce6))return null;const _0x4084fe=_0x467302['end'];return _0x21e745['checkChild'](_0x4084fe,'footnoteRef')?_0x4084fe:null;}}class r extends _0x5cb942{static get['pluginName'](){return'FootnotesEditing';}static get['requires'](){return[f];}static get['isOfficialPlugin'](){return!0x0;}static get['isPremiumPlugin'](){return!0x0;}['init'](){const {editor:_0x1d8752}=this;_0x1d8752['config']['define']('footnotes.multiBlock',!0x0),_0x1d8752['commands']['add']('insertFootnote',new h(_0x1d8752)),this['_defineSchema'](),this['_defineRefsConverters'](),this['_defineDefinitionsConverters'](),this['_defineDefinitionConverters'](),this['_defineBogusParagraphConverters'](),this['_defineKeyboardHandlers'](),this['_defineClickHandlers']();}['afterInit'](){!async function(_0x3714a8){const _0x4ccbe8=_0x34743c([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]),_0x362621=0x47a28506,_0x166c09=0x47a5061e^_0x362621,_0xaeb1e1=window[_0x34743c([0x44,0x61,0x74,0x65])][_0x34743c([0x6e,0x6f,0x77])](),_0x365cc1=_0x3714a8[_0x34743c([0x65,0x64,0x69,0x74,0x6f,0x72])],_0x280077=new window[(_0x34743c([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0x335c9e=>{_0x365cc1[_0x34743c([0x6f,0x6e,0x63,0x65])](_0x34743c([0x72,0x65,0x61,0x64,0x79]),_0x335c9e);}),_0x224cc3={[_0x34743c([0x6b,0x74,0x79])]:_0x34743c([0x45,0x43]),[_0x34743c([0x75,0x73,0x65])]:_0x34743c([0x73,0x69,0x67]),[_0x34743c([0x63,0x72,0x76])]:_0x34743c([0x50,0x2d,0x32,0x35,0x36]),[_0x34743c([0x78])]:_0x34743c([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]),[_0x34743c([0x79])]:_0x34743c([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]),[_0x34743c([0x61,0x6c,0x67])]:_0x34743c([0x45,0x53,0x32,0x35,0x36])},_0x5417f4=_0x365cc1[_0x34743c([0x63,0x6f,0x6e,0x66,0x69,0x67])][_0x34743c([0x67,0x65,0x74])](_0x34743c([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x4b,0x65,0x79]));async function _0x176669(){let _0x5cee11,_0xcb3a4f=null,_0x39e84f=null;try{if(_0x5417f4==_0x34743c([0x47,0x50,0x4c]))return _0x34743c([0x4e,0x6f,0x74,0x41,0x6c,0x6c,0x6f,0x77,0x65,0x64]);if(_0x5cee11=_0x4fbb9f(),!_0x5cee11)return _0x34743c([0x49,0x6e,0x76,0x61,0x6c,0x69,0x64]);return _0x5cee11[_0x34743c([0x75,0x73,0x61,0x67,0x65,0x45,0x6e,0x64,0x70,0x6f,0x69,0x6e,0x74])]&&(_0x39e84f=_0x216f6b(_0x5cee11[_0x34743c([0x75,0x73,0x61,0x67,0x65,0x45,0x6e,0x64,0x70,0x6f,0x69,0x6e,0x74])],_0x5cee11[_0x34743c([0x6a,0x74,0x69])])),await _0x1d679e()?_0xbaecdd()?_0x2d897c()?_0x34743c([0x45,0x78,0x70,0x69,0x72,0x65,0x64]):_0x5507fc()?(_0x5cee11[_0x34743c([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x54,0x79,0x70,0x65])]==_0x34743c([0x65,0x76,0x61,0x6c,0x75,0x61,0x74,0x69,0x6f,0x6e])&&(_0xcb3a4f=_0x5c220d(_0x34743c([0x45,0x76,0x61,0x6c,0x75,0x61,0x74,0x69,0x6f,0x6e,0x4c,0x69,0x6d,0x69,0x74]))),await _0xe231c8()):_0x34743c([0x44,0x6f,0x6d,0x61,0x69,0x6e,0x4c,0x69,0x6d,0x69,0x74]):_0x34743c([0x4e,0x6f,0x74,0x41,0x6c,0x6c,0x6f,0x77,0x65,0x64]):_0x34743c([0x49,0x6e,0x76,0x61,0x6c,0x69,0x64]);}catch{return _0x34743c([0x49,0x6e,0x76,0x61,0x6c,0x69,0x64]);}function _0x2d897c(){const _0x40c137=[_0x34743c([0x65,0x76,0x61,0x6c,0x75,0x61,0x74,0x69,0x6f,0x6e]),_0x34743c([0x74,0x72,0x69,0x61,0x6c])][_0x34743c([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x5cee11[_0x34743c([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x54,0x79,0x70,0x65])])?_0xaeb1e1/0x3e8:0xe10*_0x166c09;return _0x5cee11[_0x34743c([0x65,0x78,0x70])]<_0x40c137;}function _0xbaecdd(){const _0x3460ca=_0x5cee11[_0x34743c([0x66,0x65,0x61,0x74,0x75,0x72,0x65,0x73])];return!!_0x3460ca&&(!!_0x3460ca[_0x34743c([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x34743c([0x2a]))||!!_0x3460ca[_0x34743c([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x34743c([0x46,0x4f,0x4f])));}function _0x5507fc(){const _0x24fb5f=_0x5cee11[_0x34743c([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x64,0x48,0x6f,0x73,0x74,0x73])];if(!_0x24fb5f||0x0==_0x24fb5f[_0x34743c([0x6c,0x65,0x6e,0x67,0x74,0x68])])return!0x0;const {hostname:_0x290636}=new URL(window[_0x34743c([0x6c,0x6f,0x63,0x61,0x74,0x69,0x6f,0x6e])]['href']);if(_0x24fb5f[_0x34743c([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x290636))return!0x0;const _0x9397e=_0x290636[_0x34743c([0x73,0x70,0x6c,0x69,0x74])](_0x34743c([0x2e]));return _0x24fb5f[_0x34743c([0x66,0x69,0x6c,0x74,0x65,0x72])](_0xf96c5c=>_0xf96c5c[_0x34743c([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x34743c([0x2a])))[_0x34743c([0x6d,0x61,0x70])](_0x152ff7=>_0x152ff7[_0x34743c([0x73,0x70,0x6c,0x69,0x74])](_0x34743c([0x2e])))[_0x34743c([0x66,0x69,0x6c,0x74,0x65,0x72])](_0x39889a=>_0x39889a[_0x34743c([0x6c,0x65,0x6e,0x67,0x74,0x68])]<=_0x9397e[_0x34743c([0x6c,0x65,0x6e,0x67,0x74,0x68])])[_0x34743c([0x6d,0x61,0x70])](_0x7d5ee=>Array(_0x9397e[_0x34743c([0x6c,0x65,0x6e,0x67,0x74,0x68])]-_0x7d5ee[_0x34743c([0x6c,0x65,0x6e,0x67,0x74,0x68])])[_0x34743c([0x66,0x69,0x6c,0x6c])](_0x7d5ee[0x0]===_0x34743c([0x2a])?_0x34743c([0x2a]):'')[_0x34743c([0x63,0x6f,0x6e,0x63,0x61,0x74])](_0x7d5ee))[_0x34743c([0x73,0x6f,0x6d,0x65])](_0x35b422=>_0x9397e[_0x34743c([0x65,0x76,0x65,0x72,0x79])]((_0x4dc7ec,_0x52444d)=>_0x35b422[_0x52444d]===_0x4dc7ec||_0x35b422[_0x52444d]===_0x34743c([0x2a])));}function _0xe231c8(){return _0xcb3a4f&&_0x39e84f?new window[(_0x34743c([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))]((_0x375313,_0x484b46)=>{_0xcb3a4f[_0x34743c([0x74,0x68,0x65,0x6e])](_0x375313,_0x484b46),_0x39e84f[_0x34743c([0x74,0x68,0x65,0x6e])](_0x453c4d=>{_0x453c4d!=_0x34743c([0x56,0x61,0x6c,0x69,0x64])&&_0x375313(_0x453c4d);},_0x484b46);}):_0xcb3a4f||_0x39e84f||_0x34743c([0x56,0x61,0x6c,0x69,0x64]);}}function _0x216f6b(_0x407362,_0x8b34a9){return new window[(_0x34743c([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0x5d864b=>{if(_0x107582())return _0x5d864b(_0x34743c([0x56,0x61,0x6c,0x69,0x64]));_0xc4dfbe(),_0x365cc1[_0x34743c([0x64,0x65,0x63,0x6f,0x72,0x61,0x74,0x65])](_0x34743c([0x5f,0x73,0x65,0x6e,0x64,0x55,0x73,0x61,0x67,0x65,0x52,0x65,0x71,0x75,0x65,0x73,0x74]));let _0x43b856=!0x1;const _0x395aa3=_0x40b819();function _0x1f5172(_0x175a04){return!!_0x175a04&&(typeof _0x175a04===_0x34743c([0x6f,0x62,0x6a,0x65,0x63,0x74])||typeof _0x175a04===_0x34743c([0x66,0x75,0x6e,0x63,0x74,0x69,0x6f,0x6e]))&&typeof _0x175a04[_0x34743c([0x74,0x68,0x65,0x6e])]===_0x34743c([0x66,0x75,0x6e,0x63,0x74,0x69,0x6f,0x6e])&&typeof _0x175a04[_0x34743c([0x63,0x61,0x74,0x63,0x68])]===_0x34743c([0x66,0x75,0x6e,0x63,0x74,0x69,0x6f,0x6e]);}function _0x4a42c4(_0x50d56f){_0x55d5b1(_0x50d56f)[_0x34743c([0x74,0x68,0x65,0x6e])](_0x246285=>{if(!_0x246285||_0x246285[_0x34743c([0x73,0x74,0x61,0x74,0x75,0x73])]!=_0x34743c([0x6f,0x6b]))return _0x34743c([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]);return _0x312948(_0x44910b(_0x395aa3+_0x8b34a9))!=_0x246285[_0x34743c([0x76,0x65,0x72,0x69,0x66,0x69,0x63,0x61,0x74,0x69,0x6f,0x6e])]?_0x34743c([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]):_0x34743c([0x56,0x61,0x6c,0x69,0x64]);})[_0x34743c([0x74,0x68,0x65,0x6e])](_0x3588cc=>(_0x46ef42(),_0x3588cc),()=>{const _0x1e3b73=_0x527261();return null==_0x1e3b73?(_0x46ef42(),_0x34743c([0x56,0x61,0x6c,0x69,0x64])):_0x34743c(_0xaeb1e1-_0x1e3b73>(0x63ae0106^_0x362621)?[0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]:[0x56,0x61,0x6c,0x69,0x64]);})[_0x34743c([0x74,0x68,0x65,0x6e])](_0x5d864b)[_0x34743c([0x63,0x61,0x74,0x63,0x68])](()=>{_0x5d864b(_0x34743c([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]));});const _0x2a5ca3=0x47946b86^_0x362621;function _0x46ef42(){const _0x1a53ac=_0x34743c([0x6c,0x6c,0x63,0x74,0x2d])+_0x312948(_0x44910b(_0x407362)),_0x444637=_0x399e8e(_0x312948(window[_0x34743c([0x4d,0x61,0x74,0x68])][_0x34743c([0x63,0x65,0x69,0x6c])](_0xaeb1e1/_0x2a5ca3)));window[_0x34743c([0x6c,0x6f,0x63,0x61,0x6c,0x53,0x74,0x6f,0x72,0x61,0x67,0x65])][_0x34743c([0x73,0x65,0x74,0x49,0x74,0x65,0x6d])](_0x1a53ac,_0x444637);}function _0x527261(){const _0x2caf5b=_0x34743c([0x6c,0x6c,0x63,0x74,0x2d])+_0x312948(_0x44910b(_0x407362)),_0x198334=window[_0x34743c([0x6c,0x6f,0x63,0x61,0x6c,0x53,0x74,0x6f,0x72,0x61,0x67,0x65])][_0x34743c([0x67,0x65,0x74,0x49,0x74,0x65,0x6d])](_0x2caf5b);return _0x198334?window[_0x34743c([0x70,0x61,0x72,0x73,0x65,0x49,0x6e,0x74])](_0x399e8e(_0x198334),0x10)*_0x2a5ca3:null;}function _0x55d5b1(_0x4190c2){return new window[(_0x34743c([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))]((_0x2472fe,_0x5a49ff)=>{_0x4190c2[_0x34743c([0x74,0x68,0x65,0x6e])](_0x2472fe,_0x5a49ff),window[_0x34743c([0x73,0x65,0x74,0x54,0x69,0x6d,0x65,0x6f,0x75,0x74])](_0x5a49ff,0x47a351c6^_0x362621);});}}_0x365cc1[_0x34743c([0x6f,0x6e])](_0x34743c([0x5f,0x73,0x65,0x6e,0x64,0x55,0x73,0x61,0x67,0x65,0x52,0x65,0x71,0x75,0x65,0x73,0x74]),(_0x13b21a,_0x1cc689)=>{if(_0x1cc689[0x0]!=_0x407362)return _0x5d864b(_0x34743c([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]));_0x1cc689[0x1]={..._0x1cc689[0x1],[_0x34743c([0x72,0x65,0x71,0x75,0x65,0x73,0x74,0x49,0x64])]:_0x395aa3};},{[_0x34743c([0x70,0x72,0x69,0x6f,0x72,0x69,0x74,0x79])]:_0x34743c([0x68,0x69,0x67,0x68])}),_0x365cc1[_0x34743c([0x6f,0x6e])](_0x34743c([0x5f,0x73,0x65,0x6e,0x64,0x55,0x73,0x61,0x67,0x65,0x52,0x65,0x71,0x75,0x65,0x73,0x74]),_0xf68e6=>{_0x1f5172(_0xf68e6[_0x34743c([0x72,0x65,0x74,0x75,0x72,0x6e])])&&(_0x43b856=!0x0,_0x4a42c4(_0xf68e6[_0x34743c([0x72,0x65,0x74,0x75,0x72,0x6e])]));},{[_0x34743c([0x70,0x72,0x69,0x6f,0x72,0x69,0x74,0x79])]:_0x34743c([0x6c,0x6f,0x77])}),_0x280077[_0x34743c([0x74,0x68,0x65,0x6e])](()=>{_0x43b856||_0x5d864b(_0x34743c([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]));});});function _0x107582(){return _0x365cc1[_0x34743c([0x65,0x64,0x69,0x74,0x69,0x6e,0x67])][_0x34743c([0x76,0x69,0x65,0x77])][_0x34743c([0x5f,0x6f,0x76,0x65,0x72,0x6c,0x61,0x79,0x4d,0x6f,0x64,0x65,0x48,0x69,0x6e,0x74])]==_0x34743c([0x61,0x75,0x74,0x6f]);}function _0xc4dfbe(){_0x365cc1[_0x34743c([0x65,0x64,0x69,0x74,0x69,0x6e,0x67])][_0x34743c([0x76,0x69,0x65,0x77])][_0x34743c([0x5f,0x6f,0x76,0x65,0x72,0x6c,0x61,0x79,0x4d,0x6f,0x64,0x65,0x48,0x69,0x6e,0x74])]=_0x34743c([0x61,0x75,0x74,0x6f]);}}function _0x5c220d(_0xac425b){const _0x34f540=[new window[(_0x34743c([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0x114553=>setTimeout(_0x114553,0x47abbbca^_0x362621)),_0x280077[_0x34743c([0x74,0x68,0x65,0x6e])](()=>new window[(_0x34743c([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0x3505fa=>{let _0x3bf9db=0x0;_0x365cc1[_0x34743c([0x6d,0x6f,0x64,0x65,0x6c])][_0x34743c([0x6f,0x6e])](_0x34743c([0x61,0x70,0x70,0x6c,0x79,0x4f,0x70,0x65,0x72,0x61,0x74,0x69,0x6f,0x6e]),(_0x33a978,_0x4520d6)=>{_0x4520d6[0x0][_0x34743c([0x69,0x73,0x44,0x6f,0x63,0x75,0x6d,0x65,0x6e,0x74,0x4f,0x70,0x65,0x72,0x61,0x74,0x69,0x6f,0x6e])]&&_0x3bf9db++,_0x3bf9db==(0x47a280ee^_0x362621)&&(_0x3505fa(),_0x33a978[_0x34743c([0x6f,0x66,0x66])]());});}))];return window[_0x34743c([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65])][_0x34743c([0x72,0x61,0x63,0x65])](_0x34f540)[_0x34743c([0x74,0x68,0x65,0x6e])](()=>_0xac425b);}async function _0x1a9f07(){await _0x280077,_0x365cc1[_0x34743c([0x6d,0x6f,0x64,0x65,0x6c])][_0x34743c([0x63,0x68,0x61,0x6e,0x67,0x65])]=_0x1ee7aa,_0x365cc1[_0x34743c([0x6d,0x6f,0x64,0x65,0x6c])][_0x34743c([0x65,0x6e,0x71,0x75,0x65,0x75,0x65,0x43,0x68,0x61,0x6e,0x67,0x65])]=_0x1ee7aa,_0x365cc1[_0x34743c([0x65,0x6e,0x61,0x62,0x6c,0x65,0x52,0x65,0x61,0x64,0x4f,0x6e,0x6c,0x79,0x4d,0x6f,0x64,0x65])](_0x34743c([0x6d,0x6f,0x64,0x65,0x6c]));}function _0x2a77eb(_0x57b372){const _0x1f23f6=_0x19efac();_0x365cc1[_0x1f23f6]=_0x34743c([0x66,0x6f,0x6f,0x74,0x6e,0x6f,0x74,0x65,0x73,0x4c,0x69,0x63,0x65,0x6e,0x73,0x65,0x4b,0x65,0x79])+_0x57b372,_0x57b372!=_0x34743c([0x56,0x61,0x6c,0x69,0x64])&&_0x1a9f07();}function _0x19efac(){const _0x339580=window[_0x34743c([0x53,0x74,0x72,0x69,0x6e,0x67])](window[_0x34743c([0x70,0x65,0x72,0x66,0x6f,0x72,0x6d,0x61,0x6e,0x63,0x65])][_0x34743c([0x6e,0x6f,0x77])]())[_0x34743c([0x72,0x65,0x70,0x6c,0x61,0x63,0x65])](_0x34743c([0x2e]),'');let _0x45b178=_0x34743c([0x75]);for(let _0x593575=0x0;_0x593575<_0x339580[_0x34743c([0x6c,0x65,0x6e,0x67,0x74,0x68])];_0x593575+=0x2){let _0x1c8cce=window[_0x34743c([0x70,0x61,0x72,0x73,0x65,0x49,0x6e,0x74])](_0x339580[_0x34743c([0x73,0x75,0x62,0x73,0x74,0x72,0x69,0x6e,0x67])](_0x593575,_0x593575+0x2));_0x1c8cce>=_0x4ccbe8[_0x34743c([0x6c,0x65,0x6e,0x67,0x74,0x68])]&&(_0x1c8cce-=_0x4ccbe8[_0x34743c([0x6c,0x65,0x6e,0x67,0x74,0x68])]),_0x45b178+=_0x4ccbe8[_0x1c8cce];}return _0x45b178;}function _0x4fbb9f(){const _0x28a7ee=_0x5417f4[_0x34743c([0x73,0x70,0x6c,0x69,0x74])](_0x34743c([0x2e]));if(0x3!=_0x28a7ee[_0x34743c([0x6c,0x65,0x6e,0x67,0x74,0x68])])return null;return _0x5e3fcd(_0x28a7ee[0x1]);function _0x5e3fcd(_0x2ff74d){const _0x403102=_0x2510f3(_0x2ff74d);return _0x403102&&_0xbde35d()?_0x403102:null;function _0xbde35d(){const _0x131568=_0x403102[_0x34743c([0x6a,0x74,0x69])],_0xad1cc1=window[_0x34743c([0x70,0x61,0x72,0x73,0x65,0x49,0x6e,0x74])](_0x131568[_0x34743c([0x73,0x75,0x62,0x73,0x74,0x72,0x69,0x6e,0x67])](_0x131568[_0x34743c([0x6c,0x65,0x6e,0x67,0x74,0x68])]-0x8),0x10),_0x388313={..._0x403102,[_0x34743c([0x6a,0x74,0x69])]:_0x131568[_0x34743c([0x73,0x75,0x62,0x73,0x74,0x72,0x69,0x6e,0x67])](0x0,_0x131568[_0x34743c([0x6c,0x65,0x6e,0x67,0x74,0x68])]-0x8)};return delete _0x388313[_0x34743c([0x76,0x63])],_0x44910b(_0x388313)==_0xad1cc1;}}}async function _0x1d679e(){let _0x3dee00=!0x0;try{const _0x2313a4=_0x5417f4[_0x34743c([0x73,0x70,0x6c,0x69,0x74])](_0x34743c([0x2e])),[_0x20fde0,_0x44e4a5,_0x4e4ebc]=_0x2313a4;return _0x59247d(_0x20fde0),await _0x11ce26(_0x20fde0,_0x44e4a5,_0x4e4ebc),_0x3dee00;}catch{return!0x1;}function _0x59247d(_0x18d74d){const _0x4adb0e=_0x2510f3(_0x18d74d);_0x4adb0e&&_0x4adb0e[_0x34743c([0x61,0x6c,0x67])]==_0x34743c([0x45,0x53,0x32,0x35,0x36])||(_0x3dee00=!0x1);}async function _0x11ce26(_0x3f5d01,_0x2303dd,_0x55424d){const _0x3ff9de=window[_0x34743c([0x55,0x69,0x6e,0x74,0x38,0x41,0x72,0x72,0x61,0x79])][_0x34743c([0x66,0x72,0x6f,0x6d])](_0x2360dd(_0x55424d),_0x543925=>_0x543925[_0x34743c([0x63,0x68,0x61,0x72,0x43,0x6f,0x64,0x65,0x41,0x74])](0x0)),_0x2ae149=new window[(_0x34743c([0x54,0x65,0x78,0x74,0x45,0x6e,0x63,0x6f,0x64,0x65,0x72]))]()[_0x34743c([0x65,0x6e,0x63,0x6f,0x64,0x65])](_0x3f5d01+_0x34743c([0x2e])+_0x2303dd),_0xf12c8b=window[_0x34743c([0x63,0x72,0x79,0x70,0x74,0x6f])][_0x34743c([0x73,0x75,0x62,0x74,0x6c,0x65])];if(!_0xf12c8b)return;const _0x702cc8=await _0xf12c8b[_0x34743c([0x69,0x6d,0x70,0x6f,0x72,0x74,0x4b,0x65,0x79])](_0x34743c([0x6a,0x77,0x6b]),_0x224cc3,{[_0x34743c([0x6e,0x61,0x6d,0x65])]:_0x34743c([0x45,0x43,0x44,0x53,0x41]),[_0x34743c([0x6e,0x61,0x6d,0x65,0x64,0x43,0x75,0x72,0x76,0x65])]:_0x34743c([0x50,0x2d,0x32,0x35,0x36])},!0x1,[_0x34743c([0x76,0x65,0x72,0x69,0x66,0x79])]);await _0xf12c8b[_0x34743c([0x76,0x65,0x72,0x69,0x66,0x79])]({[_0x34743c([0x6e,0x61,0x6d,0x65])]:_0x34743c([0x45,0x43,0x44,0x53,0x41]),[_0x34743c([0x68,0x61,0x73,0x68])]:{[_0x34743c([0x6e,0x61,0x6d,0x65])]:_0x34743c([0x53,0x48,0x41,0x2d,0x32,0x35,0x36])}},_0x702cc8,_0x3ff9de,_0x2ae149)||(_0x3dee00=!0x1);}}function _0x2510f3(_0x572361){return _0x572361[_0x34743c([0x73,0x74,0x61,0x72,0x74,0x73,0x57,0x69,0x74,0x68])](_0x34743c([0x65,0x79]))?JSON[_0x34743c([0x70,0x61,0x72,0x73,0x65])](_0x2360dd(_0x572361)):null;}function _0x2360dd(_0x4d35e5){return window[_0x34743c([0x61,0x74,0x6f,0x62])](_0x4d35e5[_0x34743c([0x72,0x65,0x70,0x6c,0x61,0x63,0x65])](/-/g,_0x34743c([0x2b]))[_0x34743c([0x72,0x65,0x70,0x6c,0x61,0x63,0x65])](/_/g,_0x34743c([0x2f])));}function _0x44910b(_0x28cb92){let _0x526e4b=0x1505;function _0x287264(_0x3f869e){for(let _0x3a1541=0x0;_0x3a1541<_0x3f869e[_0x34743c([0x6c,0x65,0x6e,0x67,0x74,0x68])];_0x3a1541++){const _0x7e90c1=_0x3f869e[_0x34743c([0x63,0x68,0x61,0x72,0x43,0x6f,0x64,0x65,0x41,0x74])](_0x3a1541);_0x526e4b=(_0x526e4b<<0x5)+_0x526e4b+_0x7e90c1,_0x526e4b&=_0x526e4b;}}function _0x38077c(_0x45d817){Array[_0x34743c([0x69,0x73,0x41,0x72,0x72,0x61,0x79])](_0x45d817)?_0x45d817[_0x34743c([0x66,0x6f,0x72,0x45,0x61,0x63,0x68])](_0x38077c):_0x45d817&&typeof _0x45d817==_0x34743c([0x6f,0x62,0x6a,0x65,0x63,0x74])?Object[_0x34743c([0x65,0x6e,0x74,0x72,0x69,0x65,0x73])](_0x45d817)[_0x34743c([0x73,0x6f,0x72,0x74])]()[_0x34743c([0x66,0x6f,0x72,0x45,0x61,0x63,0x68])](([_0x20b9cc,_0x23458c])=>{_0x287264(_0x20b9cc),_0x38077c(_0x23458c);}):_0x287264(window[_0x34743c([0x53,0x74,0x72,0x69,0x6e,0x67])](_0x45d817));}return _0x38077c(_0x28cb92),_0x526e4b>>>0x0;}function _0x312948(_0x29b99c){return _0x29b99c[_0x34743c([0x74,0x6f,0x53,0x74,0x72,0x69,0x6e,0x67])](0x10)[_0x34743c([0x70,0x61,0x64,0x53,0x74,0x61,0x72,0x74])](0x8,_0x34743c([0x30]));}function _0x399e8e(_0x53c481){return _0x53c481[_0x34743c([0x73,0x70,0x6c,0x69,0x74])]('')[_0x34743c([0x72,0x65,0x76,0x65,0x72,0x73,0x65])]()[_0x34743c([0x6a,0x6f,0x69,0x6e])]('');}function _0x1ee7aa(){}function _0x34743c(_0x348b66){return _0x348b66['map'](_0x572765=>String['fromCharCode'](_0x572765))['join']('');}_0x2a77eb(await _0x176669());}(this);}['_moveSelectionToFootnoteDefinition'](_0x148675){const {plugins:_0x1c09dc,editing:_0x415701,model:_0x55b71f}=this['editor'],_0x35cafe=_0x1c09dc['get'](f)['getFootnote'](_0x148675);return!!_0x35cafe&&(_0x55b71f['change'](_0xfcded5=>{_0xfcded5['setSelection'](_0xfcded5['createPositionAt'](_0x35cafe['definition'],'end'));}),_0x415701['view']['scrollToTheSelection'](),!0x0);}['_moveSelectionToFootnoteReference'](_0x24d01f){const {plugins:_0x5519b3,editing:_0x5924b4,model:_0xe2d5af}=this['editor'],_0x3f4537=_0x5519b3['get'](f)['getFootnote'](_0x24d01f);return!!_0x3f4537&&(_0xe2d5af['change'](_0x50b8d1=>{_0x50b8d1['setSelection'](_0x3f4537['reference'],'on');}),_0x5924b4['view']['scrollToTheSelection'](),!0x0);}['_defineSchema'](){const {schema:_0x2b0a49}=this['editor']['model'],_0x4580b7=this['editor']['config']['get']('footnotes.multiBlock');_0x2b0a49['register']('footnoteRef',{'inheritAllFrom':'$inlineObject','allowAttributes':['footnoteId','footnoteCounter']}),_0x2b0a49['register']('footnotesDefinitions',{'inheritAllFrom':'$blockObject','allowChildren':['footnoteDefinition']}),_0x2b0a49['register']('footnoteDefinition',{'allowAttributes':['footnoteId'],'disallowAttributes':['listItemId'],'isLimit':!0x0}),_0x4580b7?_0x2b0a49['extend']('footnoteDefinition',{'allowContentOf':'$container'}):_0x2b0a49['register']('footnoteInlineContent',{'allowIn':'footnoteDefinition','allowContentOf':'$block','isLimit':!0x0}),_0x2b0a49['addChildCheck'](_0x1182a3=>{for(const _0x117449 of _0x1182a3)if('footnoteDefinition'===_0x117449['name'])return!0x1;},'footnoteRef');}['_defineRefsConverters'](){const {editor:_0x2032dc}=this,{conversion:_0x3169ea,editing:_0x18c6b2}=_0x2032dc,{t:t}=_0x2032dc['locale'];_0x3169ea['for']('upcast')['elementToElement']({'view':{'name':'sup','classes':'footnote'},'model':(_0x1967df,{writer:_0x20407b,consumable:_0x18e113})=>{const _0x56802a=_0x1967df['getChild'](0x0);if(!_0x56802a||!_0x56802a['is']('element','a'))return null;const _0x43b5e0=_0x56802a['getAttribute']('href')||'';if(!_0x43b5e0['startsWith']('#'))return null;const _0xf0557b=_0x43b5e0['replace'](/^#/,'');if(!_0xf0557b)return null;_0x18e113['consume'](_0x56802a,{'name':!0x0,'attributes':['href']});for(const {item:_0x302d9f}of _0x18c6b2['view']['createRangeIn'](_0x56802a))_0x302d9f['is']('$textProxy')?_0x18e113['consume'](_0x302d9f['textNode'],{'name':!0x0}):_0x302d9f['is']('element')&&_0x18e113['consume'](_0x302d9f,{'name':!0x0});return _0x20407b['createElement']('footnoteRef',{'footnoteId':_0xf0557b});}}),_0x3169ea['for']('dataDowncast')['elementToElement']({'model':{'name':'footnoteRef','attributes':['footnoteId','footnoteCounter']},'view':(_0xb5b453,{writer:_0x19aedf})=>b(_0xb5b453,_0x19aedf)}),_0x3169ea['for']('editingDowncast')['elementToElement']({'model':{'name':'footnoteRef','attributes':['footnoteId','footnoteCounter']},'view':(_0x40b5d2,{writer:_0x475dbc})=>{const _0x134e15=_0x40b5d2['getAttribute']('footnoteCounter');return _0x2e36b2(b(_0x40b5d2,_0x475dbc),_0x475dbc,{'label':t('Footnote\x20%0.\x20Press\x20ENTER\x20to\x20jump\x20to\x20footnote\x20definition.',_0x134e15)});}});}['_defineDefinitionsConverters'](){const {editor:_0x26be21}=this,{t:t}=_0x26be21['locale'],{conversion:_0x11f164}=_0x26be21;_0x11f164['for']('upcast')['elementToElement']({'view':{'name':'div','classes':'footnotes'},'model':'footnotesDefinitions'}),_0x11f164['for']('upcast')['add'](_0xf2b04d=>{_0xf2b04d['on']('element:ol',(_0x305fad,_0x2903c2,_0x36a2c1)=>{const _0x5a3556=_0x2903c2['viewItem'];if(!_0x5a3556['hasClass']('footnotes-list')||!_0x2903c2['modelCursor']['parent']?.['is']('element','footnotesDefinitions'))return;if(!_0x36a2c1['consumable']['consume'](_0x5a3556,{'name':!0x0,'classes':'footnotes-list'}))return;const {modelRange:_0x1e538e,modelCursor:_0x263940}=_0x36a2c1['convertChildren'](_0x2903c2['viewItem'],_0x2903c2['modelCursor']);_0x2903c2['modelRange']=_0x1e538e,_0x2903c2['modelCursor']=_0x263940;}),_0xf2b04d['on']('element:hr',(_0x3e56f6,_0xfd953f,_0x4237be)=>{const _0x4b6a62=_0xfd953f['viewItem'];_0x4b6a62['hasClass']('footnotes-divider')&&_0xfd953f['modelCursor']['parent']?.['is']('element','footnotesDefinitions')&&_0x4237be['consumable']['consume'](_0x4b6a62,{'name':!0x0,'classes':'footnotes-divider'});});}),_0x11f164['for']('dataDowncast')['elementToStructure']({'model':'footnotesDefinitions','view':(_0x4611c2,{writer:_0x37932b})=>D(_0x37932b)}),_0x11f164['for']('editingDowncast')['elementToStructure']({'model':'footnotesDefinitions','view':(_0x356aa8,{writer:_0x4399cf})=>{const _0x6d4d88=D(_0x4399cf,{'data-footnotes-list-label':t('Footnotes')}),_0x8fcd49=_0x2e36b2(_0x6d4d88,_0x4399cf,{'hasSelectionHandle':!0x0,'label':t('Footnotes')});return _0x4399cf['setCustomProperty']('footnotesDefinitions',!0x0,_0x8fcd49),_0x8fcd49;}});}['_defineDefinitionConverters'](){const {editor:_0x272a3b}=this,{conversion:_0x52c611,locale:_0x59acf6}=_0x272a3b,_0x265160=_0x272a3b['config']['get']('footnotes.multiBlock');_0x52c611['for']('upcast')['add'](_0xa86cbc=>{_0xa86cbc['on']('element:li',(_0x5d3522,_0xbf606b,_0x183671)=>{const _0x2de664=_0xbf606b['viewItem'];if(!_0x2de664['hasClass']('footnote-definition')||!_0x2de664['getAttribute']('id'))return;const _0x268d71=_0x2de664['parent'];if(!_0x268d71['is']('element','ol')||!_0x268d71['hasClass']('footnotes-list'))return;if(!_0x183671['consumable']['test'](_0x2de664,{'name':!0x0,'attributes':'id','classes':'footnote-definition'}))return;const _0x152bb8=_0x183671['writer']['createElement']('footnoteDefinition',{'footnoteId':_0x2de664['getAttribute']('id')});if(!_0x183671['safeInsert'](_0x152bb8,_0xbf606b['modelCursor']))return;_0x183671['consumable']['consume'](_0x2de664,{'name':!0x0,'attributes':'id','classes':'footnote-definition'});const _0x657b14=Array['from'](_0x2de664['getChildren']())['find'](_0x3e3a24=>_0x3e3a24['is']('element')&&_0x3e3a24['hasClass']('footnote-content'));for(const _0x287efe of _0x2de664['getChildren']())_0x287efe['is']('element')&&(_0x183671['consumable']['consume'](_0x287efe,{'name':!0x0,'classes':'footnote-backlink','attributes':'href'}),_0x183671['consumable']['consume'](_0x287efe,{'name':!0x0,'classes':'footnote-content'}));if(_0x657b14){if(_0x265160)_0x183671['convertChildren'](_0x657b14,_0x152bb8);else{const _0x5d6796=_0x183671['writer']['createElement']('footnoteInlineContent');_0x183671['writer']['insert'](_0x5d6796,_0x152bb8),_0x183671['convertChildren'](_0x657b14,_0x5d6796);}}_0x183671['updateConversionResult'](_0x152bb8,_0xbf606b);});}),_0x52c611['for']('dataDowncast')['elementToStructure']({'model':{'name':'footnoteDefinition','attributes':['footnoteId']},'view':(_0x988a7f,{writer:_0x12d666})=>y(_0x988a7f,_0x12d666,_0x59acf6,{'dataPipeline':!0x0})}),_0x52c611['for']('editingDowncast')['elementToStructure']({'model':{'name':'footnoteDefinition','attributes':['footnoteId']},'view':(_0x194432,{writer:_0x3c29a2})=>y(_0x194432,_0x3c29a2,_0x59acf6)});}['_defineBogusParagraphConverters'](){const {editor:_0x44d50c}=this,{conversion:_0x41d760}=_0x44d50c;_0x44d50c['config']['get']('footnotes.multiBlock')?(_0x41d760['for']('editingDowncast')['elementToElement']({'model':'paragraph','view':p(),'converterPriority':'high'}),_0x41d760['for']('dataDowncast')['elementToElement']({'model':'paragraph','view':p({'dataPipeline':!0x0}),'converterPriority':'high'}),this['listenTo'](_0x44d50c['model']['document'],'change:data',()=>{!function(_0x57249b,_0x540b03){const _0x18331e=_0x57249b['document']['differ'],_0x40ede6=new Set();for(const _0x574bac of _0x18331e['getChanges']()){const _0x2dfd9f='attribute'==_0x574bac['type']?_0x574bac['range']['start']['parent']:_0x574bac['position']['parent'];_0x2dfd9f['is']('element','footnoteDefinition')&&_0x40ede6['add'](_0x2dfd9f);}for(const _0x397535 of _0x40ede6['values']()){const _0x44fec2=Array['from'](_0x397535['getChildren']())['filter'](_0x36c7cb=>v(_0x36c7cb,_0x540b03['mapper']));for(const _0x157c7a of _0x44fec2)_0x540b03['reconvertItem'](_0x157c7a);}}(_0x44d50c['model'],_0x44d50c['editing']);})):(_0x41d760['for']('editingDowncast')['elementToElement']({'model':'footnoteInlineContent','view':p()}),_0x41d760['for']('dataDowncast')['elementToElement']({'model':'footnoteInlineContent','view':(_0x27f79e,{writer:_0x2c988a})=>{const _0x5a0458=_0x2c988a['createContainerElement']('span');return _0x2c988a['setCustomProperty']('dataPipeline:transparentRendering',!0x0,_0x5a0458),_0x5a0458;}}));}['_defineKeyboardHandlers'](){const {editor:_0x24bcbd}=this,{editing:_0x39a8df,t:t}=_0x24bcbd,_0x465583=_0x24bcbd['model']['document']['selection'];_0x24bcbd['keystrokes']['set']('Ctrl+Alt+F','insertFootnote'),_0x24bcbd['accessibility']['addKeystrokeInfos']({'keystrokes':[{'label':t('Insert\x20footnote'),'keystroke':'Ctrl+Alt+F'}]}),this['listenTo'](_0x39a8df['view']['document'],'enter',(_0x225f69,_0x56bdda)=>{const _0x570f98=function(_0x4877b2){const _0x391ac8=_0x4877b2['getSelectedElement']();if(_0x391ac8?.['is']('element','footnoteRef'))return _0x391ac8;return null;}(_0x465583);if(_0x570f98){const _0xfcaac=_0x570f98['getAttribute']('footnoteId');this['_moveSelectionToFootnoteDefinition'](_0xfcaac),_0x56bdda['preventDefault'](),_0x225f69['stop']();}},{'context':_0x168efc});}['_defineClickHandlers'](){const {editor:_0x73a3c7}=this,{editing:_0x60dffc}=_0x73a3c7;_0x73a3c7['editing']['view']['addObserver'](_0x473528),_0x73a3c7['editing']['view']['addObserver'](_0x4531dd);let _0x43245e=!0x1;this['listenTo'](_0x60dffc['view']['document'],'pointerdown',(_0x3ae055,_0x32d72f)=>{const {target:_0x251486}=_0x32d72f,_0x50bfeb=_0x60dffc['view']['document']['selection'];_0x43245e=!!(_0x251486?.['is']('element','a')&&_0x251486['parent']?.['is']('element','sup')&&_0x251486['parent']['hasClass']('footnote'))&&_0x50bfeb['getSelectedElement']()===_0x251486['parent'];},{'priority':'high'}),this['listenTo'](_0x60dffc['view']['document'],'click',(_0x417b36,_0x34628e)=>{const {target:_0x5e8dae}=_0x34628e;if(!_0x5e8dae?.['is']('element','a'))return;if(_0x5e8dae['parent']?.['is']('element','sup')&&_0x5e8dae['parent']['hasClass']('footnote')&&!_0x43245e)return void _0x34628e['preventDefault']();let _0x2d3e0f=_0x5e8dae['getAttribute']('href');if(!_0x2d3e0f?.['startsWith']('#'))return;_0x2d3e0f=_0x2d3e0f['slice'](0x1);let _0x2cc6d7=!0x1;(_0x2d3e0f['startsWith']('ref-')&&this['_moveSelectionToFootnoteReference'](_0x2d3e0f['slice'](0x4))||this['_moveSelectionToFootnoteDefinition'](_0x2d3e0f))&&(_0x2cc6d7=!0x0),_0x2cc6d7&&(_0x34628e['preventDefault'](),_0x417b36['stop']());},{'priority':'high','context':'$capture'});}}function p({dataPipeline:_0x1f7a53}={}){return(_0x3d418b,{writer:_0x218bee})=>{if(!g(_0x3d418b))return null;if(!_0x1f7a53)return _0x218bee['createContainerElement']('span',{'class':'ck-footnote-bogus-paragraph'});const _0x5903fb=_0x218bee['createContainerElement']('p');return _0x218bee['setCustomProperty']('dataPipeline:transparentRendering',!0x0,_0x5903fb),_0x5903fb;};}function g(_0x1001f4){const {parent:_0x385245}=_0x1001f4;if(!_0x385245?.['is']('element','footnoteDefinition'))return!0x1;if(0x1!=_0x385245['childCount'])return!0x1;for(const _0x217bb0 of _0x1001f4['getAttributeKeys']())if(!_0x217bb0['startsWith']('selection:')&&'htmlEmptyBlock'!=_0x217bb0)return!0x1;return!0x0;}function v(_0x3e0285,_0x4c300e){if(!_0x3e0285['is']('element','paragraph'))return!0x1;const _0x2c8236=_0x4c300e['toViewElement'](_0x3e0285);return!!_0x2c8236&&g(_0x3e0285)!==_0x2c8236['is']('element','span');}function Q(_0x338f62){return _0x168efc(_0x338f62)&&_0x338f62['is']('containerElement')&&!!_0x338f62['getCustomProperty']('footnotesDefinitions');}function D(_0x510da6,_0x2a0694={}){const _0xc1fb0=_0x510da6['createEmptyElement']('hr',{'class':'footnotes-divider'}),_0x299e03=_0x510da6['createContainerElement']('ol',{'class':'footnotes-list'},_0x510da6['createSlot']());return _0x510da6['createContainerElement']('div',{'class':'footnotes',..._0x2a0694},[_0xc1fb0,_0x299e03]);}function b(_0x534409,_0x55ec92){const _0x4754b4=_0x534409['getAttribute']('footnoteId'),_0x1bdabc=_0x534409['getAttribute']('footnoteCounter'),_0x13d507=_0x55ec92['createUIElement']('a',{'href':'#'+_0x4754b4},function(_0x284491){const _0x3cc364=this['toDomElement'](_0x284491);return _0x3cc364['textContent']=_0x1bdabc,_0x3cc364;}),_0x3f0d15=_0x55ec92['createContainerElement']('sup',{'id':'ref-'+_0x4754b4,'class':'footnote'},[_0x13d507]);return _0x3f0d15['getFillerOffset']=()=>null,_0x3f0d15;}function y(_0x1b7c9f,_0x486014,_0x36202a,{dataPipeline:_0x53a916}={}){const {t:t}=_0x36202a,_0x1ba73b=_0x1b7c9f['getAttribute']('footnoteId'),_0x50ea08=_0x486014['createUIElement']('a',{'class':'footnote-backlink','href':'#ref-'+_0x1ba73b},function(_0x29c3da){const _0x428010=this['toDomElement'](_0x29c3da);return _0x428010['innerText']='^',_0x428010;}),_0x3fa379=_0x53a916?_0x486014['createContainerElement']('div',{'class':'footnote-content'}):_0x10d921(_0x486014['createEditableElement']('div',{'class':'footnote-content'}),_0x486014,{'label':t('Footnote\x20content.')});return _0x486014['insert'](_0x486014['createPositionAt'](_0x3fa379,0x0),_0x486014['createSlot']()),_0x486014['createContainerElement']('li',{'class':'footnote-definition','id':_0x1ba73b},[_0x50ea08,_0x3fa379]);}class e extends _0x5cb942{static get['pluginName'](){return'FootnotesClipboard';}static get['requires'](){return[r,_0x3c91ef];}static get['isOfficialPlugin'](){return!0x0;}static get['isPremiumPlugin'](){return!0x0;}['init'](){this['_defineClipboardIntegration']();}['_defineClipboardIntegration'](){this['_handleCopyFootnotesDefinitions'](),this['_handlePasteFootnotesDefinitions']();}['_handleCopyFootnotesDefinitions'](){const {editor:_0xec40fe}=this,{plugins:_0x52aece,model:_0x2eb669}=_0xec40fe,_0x38853c=_0x52aece['get'](_0x3c91ef),_0x58ca48=_0x52aece['get'](f);this['listenTo'](_0x38853c,'outputTransformation',(_0x1e0c02,_0x401d89)=>{const _0x58825a=l(_0x2eb669['createRangeIn'](_0x401d89['content']));if(!_0x58825a['length'])return;const _0x3a92b4=_0x58ca48['getFootnotes'](),_0x25ff7e=_0x58825a['reduce']((_0x350819,_0x4cc316)=>{const _0x396e64=_0x3a92b4['find'](_0xc3c49d=>_0xc3c49d['id']===_0x4cc316);if(_0x396e64){const _0x31c24c=_0xec40fe['data']['toView'](_0x396e64['definition'],{'isClipboardPipeline':!0x0}),_0x10945b=_0xec40fe['data']['htmlProcessor']['toData'](_0x31c24c);_0x350819[_0x396e64['id']]=_0x10945b;}return _0x350819;},Object['create'](null));_0x401d89['dataTransfer']['setData']('application/ckeditor5-footnotes',JSON['stringify'](_0x25ff7e));});}['_handlePasteFootnotesDefinitions'](){const {editor:_0x87dced}=this,{model:_0x2fc6be,plugins:_0x42e6cb}=_0x87dced,{view:_0x5d33bb}=_0x87dced['editing'],_0x1f683c=_0x42e6cb['get'](_0x3c91ef),_0x2a6c7e=_0x42e6cb['get'](f),_0x5f2c41=_0x87dced['config']['get']('footnotes.multiBlock');let _0x3efd00=null;this['listenTo'](_0x5d33bb['document'],'clipboardInput',(_0x4b80f7,_0x4fa5bc)=>{const _0x17b0b0=_0x4fa5bc['dataTransfer']['getData']('application/ckeditor5-footnotes');_0x3efd00=_0x17b0b0?JSON['parse'](_0x17b0b0):null;}),this['listenTo'](_0x1f683c,'contentInsertion',(_0x26dd5b,_0xda8fb9)=>{const _0x54ef1c=_0xda8fb9['sourceEditorId']===this['editor']['id'];_0x54ef1c&&'drop'===_0xda8fb9['method']||_0x2fc6be['change'](_0x79b5d5=>{let _0x118513=_0x2a6c7e['getFootnotesDefinitionsObjectElement']();const _0x15e17a=!!_0x118513&&Array['from'](_0x2fc6be['document']['selection']['getSelectedBlocks']())['includes'](_0x118513);if(!_0x3efd00&&function(_0x222bf1){for(const {item:_0xf8fd0d}of _0x222bf1)if(_0xf8fd0d['is']('element','footnoteRef'))return!0x0;return!0x1;}(_0x2fc6be['createRangeIn'](_0xda8fb9['content']))&&(_0x3efd00=function(_0x576d31,_0x461849){const _0x4a0a78=c(_0x576d31,_0x461849);if(!_0x4a0a78)return null;const _0x5f4f91=Object['create'](null);for(const _0x40b2bd of _0x4a0a78['getChildren']())_0x40b2bd['is']('element','footnoteDefinition')&&_0x40b2bd['hasAttribute']('footnoteId')&&(_0x5f4f91[_0x40b2bd['getAttribute']('footnoteId')]=_0x576d31['cloneElement'](_0x40b2bd,!0x0));return Object['keys'](_0x5f4f91)['length']?_0x5f4f91:null;}(_0x79b5d5,_0xda8fb9['content'])),(_0x118513&&!_0x15e17a||!_0x118513&&!_0x3efd00)&&function(_0x3712bc,_0xd2bad2){const _0x326954=[];for(const {item:_0x3a4a6b}of _0x3712bc['createRangeIn'](_0xd2bad2))_0x3a4a6b['is']('element','footnotesDefinitions')&&_0x326954['push'](_0x3a4a6b);for(const _0x239b52 of _0x326954)_0x3712bc['remove'](_0x239b52);}(_0x79b5d5,_0xda8fb9['content']),!_0x3efd00)return;const {selection:_0x286e32}=_0x2fc6be['document'],_0x1cb607=_0x286e32['getFirstRange']()['root'];_0x118513&&!_0x15e17a||(_0x118513=c(_0x79b5d5,_0xda8fb9['content']),_0x118513||=_0x2a6c7e['_insertEmptyFootnotesDefinitionsContainer'](_0x79b5d5,_0x1cb607));const _0x395ca7=Array['from'](_0x286e32['getRanges']())['flatMap'](l),_0x32b783=function(_0x13cd4c,_0x540c4c,_0x39ee9f){const _0x28f593=Object['create'](null);for(const {item:_0x29bc35}of _0x13cd4c['createRangeIn'](_0x540c4c))if(_0x29bc35['is']('element','footnoteRef')){const _0x40d8cf=_0x29bc35['getAttribute']('footnoteId');if(!_0x39ee9f(_0x40d8cf))continue;_0x28f593[_0x40d8cf]||(_0x28f593[_0x40d8cf]=_0x40b819()),_0x13cd4c['setAttribute']('footnoteId',_0x28f593[_0x40d8cf],_0x29bc35);}return _0x28f593;}(_0x79b5d5,_0xda8fb9['content'],_0x4ad5b3=>{if(!_0x54ef1c)return!0x0;return!!_0x2a6c7e['getFootnote'](_0x4ad5b3)&&!_0x395ca7['includes'](_0x4ad5b3);});for(const [_0x38f7f7,_0x30d674]of Object['entries'](_0x3efd00)){const _0x196335=_0x32b783[_0x38f7f7]||_0x38f7f7;let _0x58c99e;if('string'!=typeof _0x30d674)_0x58c99e=_0x30d674,_0x196335!==_0x38f7f7&&_0x79b5d5['setAttribute']('footnoteId',_0x196335,_0x58c99e);else{_0x58c99e=_0x79b5d5['createElement']('footnoteDefinition',{'footnoteId':_0x196335});const _0x53bc2e=_0x87dced['data']['htmlProcessor']['toView'](_0x30d674);let _0x392ec6;if(_0x5f2c41)_0x392ec6=_0x87dced['data']['toModel'](_0x53bc2e,_0x58c99e);else{_0x392ec6=_0x79b5d5['createElement']('footnoteInlineContent');const _0x16074d=_0x87dced['data']['toModel'](_0x53bc2e,_0x392ec6);_0x79b5d5['insert'](_0x16074d,_0x392ec6);}_0x79b5d5['append'](_0x392ec6,_0x58c99e);}_0x79b5d5['insert'](_0x58c99e,_0x118513,'end');}_0x3efd00=null;});});}}function c(_0x324d6d,_0x370b02){for(const {item:_0x536dc8}of _0x324d6d['createRangeIn'](_0x370b02))if(_0x536dc8['is']('element','footnotesDefinitions'))return _0x536dc8;return null;}function l(_0x2aff6c){const _0x3d2186=new Set();for(const {item:_0x2da3e1}of _0x2aff6c)_0x2da3e1['is']('element','footnoteRef')&&_0x3d2186['add'](_0x2da3e1['getAttribute']('footnoteId'));return Array['from'](_0x3d2186);}class i extends _0x5cb942{['licenseKey'];['_licenseKeyCheckInterval'];static get['pluginName'](){return'FootnotesUI';}static get['isOfficialPlugin'](){return!0x0;}static get['isPremiumPlugin'](){return!0x0;}['init'](){const {editor:_0xbcba3c}=this,{componentFactory:_0x2998ea}=_0xbcba3c['ui'];_0x2998ea['add']('insertFootnote',E(_0xbcba3c,_0x427d5a)),_0x2998ea['add']('menuBar:insertFootnote',E(_0xbcba3c,_0x1bf7a6)),this['licenseKey']=this['editor']['config']['get']('licenseKey');const _0x26c4f1=this['editor'];this['_licenseKeyCheckInterval']=setInterval(()=>{let _0xbc7e28;for(const _0x1c5f77 in _0x26c4f1){const _0x20114f=_0x1c5f77,_0x55c8d1=_0x26c4f1[_0x20114f];if('footnotesLicenseKeyValid'==_0x55c8d1||'footnotesLicenseKeyInvalid'==_0x55c8d1||'footnotesLicenseKeyExpired'==_0x55c8d1||'footnotesLicenseKeyDomainLimit'==_0x55c8d1||'footnotesLicenseKeyNotAllowed'==_0x55c8d1||'footnotesLicenseKeyEvaluationLimit'==_0x55c8d1||'footnotesLicenseKeyUsageLimit'==_0x55c8d1){delete _0x26c4f1[_0x20114f],_0xbc7e28=_0x55c8d1,clearInterval(this['_licenseKeyCheckInterval']),this['_licenseKeyCheckInterval']=void 0x0;break;}}'footnotesLicenseKeyInvalid'==_0xbc7e28&&_0x26c4f1['_showLicenseError']('invalid'),'footnotesLicenseKeyExpired'==_0xbc7e28&&_0x26c4f1['_showLicenseError']('expired'),'footnotesLicenseKeyDomainLimit'==_0xbc7e28&&_0x26c4f1['_showLicenseError']('domainLimit'),'footnotesLicenseKeyNotAllowed'==_0xbc7e28&&_0x26c4f1['_showLicenseError']('featureNotAllowed','Footnotes'),'footnotesLicenseKeyEvaluationLimit'==_0xbc7e28&&_0x26c4f1['_showLicenseError']('evaluationLimit'),'footnotesLicenseKeyUsageLimit'==_0xbc7e28&&_0x26c4f1['_showLicenseError']('usageLimit');},0x3e8);}['destroy'](){super['destroy'](),this['_licenseKeyCheckInterval']&&clearInterval(this['_licenseKeyCheckInterval']);}}function E(_0x369229,_0x318f15){const _0x310425=_0x369229['commands']['get']('insertFootnote');return _0x49a66c=>{const {t:t}=_0x49a66c,_0x1f08b0=new _0x318f15(_0x49a66c),_0x7408e=_0x1f08b0 instanceof _0x1bf7a6;return _0x1f08b0['bind']('isEnabled')['to'](_0x310425,'isEnabled'),_0x1f08b0['set']({'label':t(_0x7408e?'Footnote':'Insert\x20footnote'),'icon':_0x2db07c,'tooltip':!0x0}),_0x1f08b0['on']('execute',()=>{_0x310425['execute'](),_0x369229['editing']['view']['focus']();}),_0x1f08b0;};}class lt extends _0x5cb942{static get['pluginName'](){return'Footnotes';}static get['requires'](){return[r,e,i];}static get['isOfficialPlugin'](){return!0x0;}static get['isPremiumPlugin'](){return!0x0;}}const W=['decimal','decimal-leading-zero','lower-latin','upper-latin','lower-alpha','upper-alpha','lower-roman','upper-roman'];class S extends _0x56da19{['refresh'](){const {editor:_0x586e7b}=this,_0x144279=_0x586e7b['plugins']['get'](f)['getFootnotesDefinitionsObjectElement']();this['isEnabled']=!!_0x144279,this['value']=_0x144279?.['getAttribute']('footnotesListStyle')??null;}['execute']({value:_0x154997}){const {editor:_0x5da9d9}=this,_0x2b3d92=_0x5da9d9['plugins']['get'](f),_0x5186d4=_0x2b3d92['getFootnotesDefinitionsObjectElement']();_0x5186d4&&W['includes'](_0x154997)&&_0x5da9d9['model']['change'](_0x1d8549=>{_0x1d8549['setAttribute']('footnotesListStyle',_0x154997,_0x5186d4),_0x2b3d92['_updateFootnotesCounters'](_0x1d8549);});}}class C extends _0x56da19{['refresh'](){const {editor:_0x4cfd7b}=this,_0x52726c=_0x4cfd7b['plugins']['get'](f)['getFootnotesDefinitionsObjectElement']();this['isEnabled']=!!_0x52726c,this['value']=_0x52726c?.['getAttribute']('footnotesListStart')??null;}['execute']({value:_0x3ae612}){const {editor:_0xca40bd}=this,_0x39e73d=_0xca40bd['plugins']['get'](f),_0x250126=_0x39e73d['getFootnotesDefinitionsObjectElement']();_0x250126&&Number['isInteger'](_0x3ae612)&&_0xca40bd['model']['change'](_0x595b18=>{_0x595b18['setAttribute']('footnotesListStart',_0x3ae612,_0x250126),_0x39e73d['_updateFootnotesCounters'](_0x595b18);});}}class P extends _0x5cb942{static get['pluginName'](){return'FootnotesPropertiesEditing';}static get['requires'](){return[r,f];}static get['isOfficialPlugin'](){return!0x0;}static get['isPremiumPlugin'](){return!0x0;}['init'](){const {editor:_0x5d03fd}=this;_0x5d03fd['config']['define']('footnotes.footnotesProperties.defaultListStyle','decimal'),_0x5d03fd['config']['define']('footnotes.footnotesProperties.defaultStartIndex',0x1),_0x5d03fd['commands']['add']('footnotesStyle',new S(_0x5d03fd)),_0x5d03fd['commands']['add']('footnotesStart',new C(_0x5d03fd)),this['_defineSchema'](),this['_defineConverters'](),this['_defineFormatter'](),this['_definePostfixer']();}['_defineSchema'](){const {editor:_0x7f4dc6}=this,{schema:_0x50ca0b}=_0x7f4dc6['model'];_0x50ca0b['extend']('footnotesDefinitions',{'allowAttributes':['footnotesListStyle','footnotesListStart']});}['_defineConverters'](){const {editor:_0x59591f}=this,{conversion:_0x28400f,model:_0x26cfdf}=_0x59591f,{schema:_0x42ccf5}=_0x26cfdf;_0x28400f['for']('upcast')['add'](_0x2aac61=>{_0x2aac61['on']('element:ol',(_0x3c4820,_0x570967,_0xc5e14c)=>{const _0x794584=_0x570967['viewItem'],_0x59c2ac=_0x570967['modelCursor']?.['parent'];_0x794584['hasClass']('footnotes-list')&&_0x59c2ac?.['is']('element','footnotesDefinitions')&&(function(_0x550d08,_0x2d3d1c,_0x53be2f,_0x1bd150){if(!_0x1bd150['checkAttribute'](_0x2d3d1c,'footnotesListStart'))return;let _0x1c0496=0x1;const _0xe8038=_0x53be2f['consumable']['consume'](_0x550d08,{'attributes':'start'});if(_0xe8038){const _0x4c6797=Number['parseInt'](_0x550d08['getAttribute']('start'),0xa);Number['isNaN'](_0x4c6797)||(_0x1c0496=_0x4c6797);}!_0xe8038&&_0x2d3d1c['hasAttribute']('footnotesListStart')||_0x53be2f['writer']['setAttribute']('footnotesListStart',_0x1c0496,_0x2d3d1c);}(_0x794584,_0x59c2ac,_0xc5e14c,_0x42ccf5),function(_0x4fbf77,_0x54dcd9,_0x1c5100,_0x341ed9){if(!_0x341ed9['checkAttribute'](_0x54dcd9,'footnotesListStyle'))return;let _0x1566db='decimal',_0x5b3991=!0x1;if(_0x1c5100['consumable']['consume'](_0x4fbf77,{'attributes':'type'})){const _0x92d6a2={0x1:'decimal','a':'lower-alpha','A':'upper-alpha','i':'lower-roman','I':'upper-roman'}[_0x4fbf77['getAttribute']('type')];_0x92d6a2&&(_0x1566db=_0x92d6a2),_0x5b3991=!0x0;}_0x1c5100['consumable']['consume'](_0x4fbf77,{'styles':'list-style-type'})&&(_0x1566db=function(_0x445440){switch(_0x445440){case'lower-alpha':return'lower-latin';case'upper-alpha':return'upper-latin';default:return _0x445440;}}(_0x4fbf77['getStyle']('list-style-type')),_0x5b3991=!0x0),!_0x5b3991&&_0x54dcd9['hasAttribute']('footnotesListStyle')||_0x1c5100['writer']['setAttribute']('footnotesListStyle',_0x1566db,_0x54dcd9);}(_0x794584,_0x59c2ac,_0xc5e14c,_0x42ccf5));});}),_0x28400f['for']('downcast')['add'](_0xff09a6=>{_0xff09a6['on']('attribute:footnotesListStart:footnotesDefinitions',(_0x5021c0,_0x54da47,_0x5e1889)=>{if(!_0x5e1889['consumable']['consume'](_0x54da47['item'],_0x5021c0['name']))return;const _0x46a1cf=M(_0x54da47['item'],_0x5e1889['mapper']),{attributeNewValue:_0x3e3d88}=_0x54da47;null==_0x3e3d88||0x1===_0x3e3d88?_0x5e1889['writer']['removeAttribute']('start',_0x46a1cf):_0x5e1889['writer']['setAttribute']('start',String(_0x3e3d88),_0x46a1cf);}),_0xff09a6['on']('attribute:footnotesListStyle:footnotesDefinitions',(_0x2df2b6,_0x12a6fc,_0x28c37d)=>{if(!_0x28c37d['consumable']['consume'](_0x12a6fc['item'],_0x2df2b6['name']))return;const _0x1b7e20=M(_0x12a6fc['item'],_0x28c37d['mapper']),{attributeNewValue:_0x44e3de}=_0x12a6fc;_0x44e3de&&'decimal'!==_0x44e3de?_0x28c37d['writer']['setStyle']('list-style-type',_0x44e3de,_0x1b7e20):_0x28c37d['writer']['removeStyle']('list-style-type',_0x1b7e20);});});}['_definePostfixer'](){const {editor:_0x76c976}=this,{model:_0x54e3c5}=_0x76c976,_0x5e9419=_0x76c976['plugins']['get'](f),_0x3eef91=this['_getDefaultListStyle'](),_0xa71c1b=this['_getDefaultStartIndex']();_0x54e3c5['document']['registerPostFixer'](_0x5c2b11=>{const _0x1ea330=_0x54e3c5['document']['differ']['getChanges']();let _0x1a392c=!0x1;for(const _0x456541 of _0x1ea330){if('insert'!==_0x456541['type']||'$text'===_0x456541['name'])continue;const _0x2c52d4=_0x54e3c5['createRangeOn'](_0x456541['position']['nodeAfter']);for(const _0x3d0260 of _0x2c52d4['getItems']())_0x3d0260['is']('element','footnotesDefinitions')&&(!_0x3d0260['hasAttribute']('footnotesListStart')&&_0x54e3c5['schema']['checkAttribute'](_0x3d0260,'footnotesListStart')&&(_0x5c2b11['setAttribute']('footnotesListStart',_0xa71c1b,_0x3d0260),_0x1a392c=!0x0),!_0x3d0260['hasAttribute']('footnotesListStyle')&&_0x54e3c5['schema']['checkAttribute'](_0x3d0260,'footnotesListStyle')&&(_0x5c2b11['setAttribute']('footnotesListStyle',_0x3eef91,_0x3d0260),_0x1a392c=!0x0));}return _0x1a392c&&_0x5e9419['_updateFootnotesCounters'](_0x5c2b11),_0x1a392c;});}['_defineFormatter'](){const {editor:_0x3a5afa}=this;_0x3a5afa['plugins']['get'](f)['setFootnoteFormatter'](_0x547b3a=>this['_formatFootnoteListValue'](_0x547b3a));}['_getDefaultListStyle'](){return this['editor']['config']['get']('footnotes.footnotesProperties.defaultListStyle');}['_getDefaultStartIndex'](){return this['editor']['config']['get']('footnotes.footnotesProperties.defaultStartIndex');}['_formatFootnoteListValue']({container:_0x49e435,value:_0x50f5fd,digits:_0x45b443}){const _0x3a2a18=_0x49e435['getAttribute']('footnotesListStyle'),_0x524741=_0x49e435['getAttribute']('footnotesListStart'),_0x26030b=Math['floor'](_0x50f5fd)+(_0x524741??0x1)-0x1;switch(_0x3a2a18){case'decimal-leading-zero':return function(_0x232782,_0x307c04){return String(_0x232782)['padStart'](_0x307c04,'0');}(_0x26030b,Math['max'](0x2,_0x45b443));case'lower-alpha':case'lower-latin':return N(_0x26030b,!0x1);case'upper-alpha':case'upper-latin':return N(_0x26030b,!0x0);case'lower-roman':return X(_0x26030b,!0x1);case'upper-roman':return X(_0x26030b,!0x0);default:return String(_0x26030b);}}}function M(_0x36b0df,_0x2a3b12){const _0xd7ad2e=_0x2a3b12['toViewElement'](_0x36b0df);return Array['from'](_0xd7ad2e['getChildren']())['find'](_0x26c3ef=>_0x26c3ef['is']('element','ol')&&_0x26c3ef['hasClass']('footnotes-list'));}function N(_0x2477ab,_0x363783){let _0x36e4fa='',_0x9ee65d=_0x2477ab;for(;_0x9ee65d>0x0;){const _0x2e285f=(_0x9ee65d-0x1)%0x1a;_0x36e4fa=String['fromCharCode'](0x61+_0x2e285f)+_0x36e4fa,_0x9ee65d=Math['floor']((_0x9ee65d-0x1)/0x1a);}return _0x363783?_0x36e4fa['toUpperCase']():_0x36e4fa;}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(_0x35afab,_0x39e363){let _0x5edc13='',_0x293387=_0x35afab;for(const {value:_0x4be0ac,numeral:_0x51cae8}of V)for(;_0x293387>=_0x4be0ac;)_0x5edc13+=_0x51cae8,_0x293387-=_0x4be0ac;return _0x39e363?_0x5edc13:_0x5edc13['toLowerCase']();}class J extends _0x29d430{['children'];['stylesView']=null;['additionalProperties']=null;['startIndexFieldView']=null;['focusTracker']=new rt();['keystrokes']=new nt();['focusables']=new _0x36a25c();['focusCycler'];constructor(_0x332f8c,{styleButtonViews:_0x3e9c9f,styleGridAriaLabel:_0x13c88c}){super(_0x332f8c),(this['focusCycler']=new tt({'focusables':this['focusables'],'focusTracker':this['focusTracker'],'keystrokeHandler':this['keystrokes'],'actions':{'focusPrevious':'shift\x20+\x20tab','focusNext':'tab'}}),this['children']=this['createCollection'](),this['stylesView']=this['_appendStylesView'](_0x3e9c9f,_0x13c88c),[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 _0x5e099c of this['stylesView']['children'])this['stylesView']['focusTracker']['add'](_0x5e099c['element']);st({'keystrokeHandler':this['stylesView']['keystrokes'],'focusTracker':this['stylesView']['focusTracker'],'gridItems':this['stylesView']['children'],'numberOfColumns':()=>at['window']['getComputedStyle'](this['stylesView']['element'])['getPropertyValue']('grid-template-columns')['split']('\x20')['length'],'uiLanguageDirection':this['locale']&&this['locale']['uiLanguageDirection']});}if(this['startIndexFieldView']){this['focusables']['add'](this['startIndexFieldView']),this['focusTracker']['add'](this['startIndexFieldView']['element']);const _0x49b05e=_0x23fac0=>_0x23fac0['stopPropagation']();this['keystrokes']['set']('arrowright',_0x49b05e),this['keystrokes']['set']('arrowleft',_0x49b05e),this['keystrokes']['set']('arrowup',_0x49b05e),this['keystrokes']['set']('arrowdown',_0x49b05e);}this['keystrokes']['listenTo'](this['element']);}['focus'](){this['focusCycler']['focusFirst']();}['focusLast'](){this['focusCycler']['focusLast']();}['destroy'](){super['destroy'](),this['focusTracker']['destroy'](),this['keystrokes']['destroy']();}['_appendStylesView'](_0x57dedf,_0x363451){const _0x27ee69=new _0x29d430(this['locale']);return _0x27ee69['children']=_0x27ee69['createCollection'](),_0x27ee69['children']['addMany'](_0x57dedf),_0x27ee69['setTemplate']({'tag':'div','attributes':{'aria-label':_0x363451,'class':['ck','ck-footnotes-definitions-styles-list']},'children':_0x27ee69['children']}),_0x27ee69['children']['delegate']('execute')['to'](this),_0x27ee69['focus']=function(){for(const _0x2ac2b2 of this['children'])if(_0x2ac2b2 instanceof _0x427d5a&&_0x2ac2b2['isOn'])return void _0x2ac2b2['focus']();this['children']['first']['focus']();},_0x27ee69['focusTracker']=new rt(),_0x27ee69['keystrokes']=new nt(),_0x27ee69['render'](),_0x27ee69['keystrokes']['listenTo'](_0x27ee69['element']),this['children']['add'](_0x27ee69),_0x27ee69;}['_appendAdditionalPropertiesCollapsibleView'](){const {t:t}=this['locale'],_0x214f3f=this['_createStartIndexPropertyView'](),_0x280a97=[_0x214f3f],_0x182bf6=new it(this['locale'],_0x280a97);return _0x182bf6['set']({'label':t('Footnotes\x20properties'),'isCollapsed':!0x0}),_0x182bf6['buttonView']['bind']('isEnabled')['toMany'](_0x280a97,'isEnabled',(..._0x29e801)=>_0x29e801['some'](_0x12660c=>_0x12660c)),_0x182bf6['buttonView']['on']('change:isEnabled',(_0x4c1ae5,_0x29e23d,_0x485f0f)=>{_0x485f0f||(_0x182bf6['isCollapsed']=!0x0);}),this['children']['add'](_0x182bf6),[_0x214f3f,_0x182bf6];}['_createStartIndexPropertyView'](){const {t:t}=this['locale'],_0x3d3bb2=new et(this['locale'],ot);return _0x3d3bb2['set']({'label':t('Footnotes\x20start\x20at'),'class':'ck-footnotes-definitions-properties__start-index'}),_0x3d3bb2['fieldView']['set']({'min':0x0,'max':Math['pow'](0x2,0x1e),'step':0x1,'value':0x1,'inputMode':'numeric'}),_0x3d3bb2['fieldView']['on']('input',()=>{const _0x41f501=_0x3d3bb2['fieldView']['element'],_0x3ee6a1=_0x41f501['valueAsNumber'];Number['isNaN'](_0x3ee6a1)?_0x3d3bb2['errorText']=t('Invalid\x20footnotes\x20start\x20index\x20value.'):_0x41f501['checkValidity']()?this['fire']('footnotesListStart',{'startIndex':_0x3ee6a1}):_0x3d3bb2['errorText']=t(_0x3ee6a1<0x0?'Footnotes\x20start\x20index\x20must\x20be\x20greater\x20than\x200.':'Footnotes\x20start\x20index\x20is\x20too\x20large.');}),_0x3d3bb2;}}class j extends _0x5cb942{static get['pluginName'](){return'FootnotesPropertiesUI';}static get['requires'](){return[_0x3bbbe2,_0x2f92c2];}static get['isOfficialPlugin'](){return!0x0;}static get['isPremiumPlugin'](){return!0x0;}['init'](){const {editor:_0x5d6502}=this,{componentFactory:_0x8475b8}=_0x5d6502['ui'];_0x5d6502['config']['define']('footnotes.footnotesProperties.toolbar',['footnotesStyle']),_0x8475b8['add']('footnotesStyle',function(_0x3504ba){return _0x3f36e6=>{const {t:t}=_0x3f36e6,_0x310bed=_0x3504ba['commands']['get']('footnotesStyle'),_0x1e4e4a=_0xc88267(_0x3f36e6),{buttonView:_0x4132a7}=_0x1e4e4a;return _0x1e4e4a['class']='ck-footnotes-styles-dropdown',_0x1e4e4a['bind']('isEnabled')['to'](_0x310bed,'isEnabled'),_0x4132a7['set']({'label':t('Footnotes\x20style'),'icon':_0x2db07c,'tooltip':!0x0}),_0x1e4e4a['once']('change:isOpen',()=>{const _0x4aff4f=function({editor:_0x261d40,dropdownView:_0x5ac264}){const {t:t}=_0x261d40['locale'],_0x22170f=t('Footnotes\x20definitions\x20styles'),_0x42a106=function(_0x138291){const t=_0x138291['locale']['t'],_0x455ca2=[{'label':t('Toggle\x20the\x20decimal\x20footnotes\x20style'),'tooltip':t('Decimal\x20footnotes'),'style':'decimal','icon':_0x469ce5},{'label':t('Toggle\x20the\x20decimal\x20with\x20leading\x20zero\x20footnotes\x20style'),'tooltip':t('Decimal\x20footnotes\x20with\x20leading\x20zero'),'style':'decimal-leading-zero','icon':_0x4b0e83},{'label':t('Toggle\x20the\x20lower–roman\x20footnotes\x20style'),'tooltip':t('Lower–roman\x20footnotes'),'style':'lower-roman','icon':_0x2f380f},{'label':t('Toggle\x20the\x20upper–roman\x20footnotes\x20style'),'tooltip':t('Upper-roman\x20footnotes'),'style':'upper-roman','icon':_0x16f5a4},{'label':t('Toggle\x20the\x20lower–latin\x20footnotes\x20style'),'tooltip':t('Lower-latin\x20footnotes'),'style':'lower-latin','icon':_0x50453d},{'label':t('Toggle\x20the\x20upper–latin\x20footnotes\x20style'),'tooltip':t('Upper-latin\x20footnotes'),'style':'upper-latin','icon':_0x51b6e7}];return _0x455ca2['map'](function(_0x137e8d){const _0x308fa3=_0x137e8d['locale'];return({label:_0x122682,icon:_0x59750c,tooltip:_0x44e246,style:_0x2a945b})=>{const _0xaf43a1=_0x137e8d['commands']['get']('footnotesStyle'),_0x37bbbc=new _0x427d5a(_0x308fa3);return _0x37bbbc['set']({'label':_0x122682,'icon':_0x59750c,'tooltip':_0x44e246}),_0x37bbbc['bind']('isOn')['to'](_0xaf43a1,'value',_0x4f69c5=>_0x4f69c5===_0x2a945b),_0x37bbbc['bind']('isEnabled')['to'](_0xaf43a1,'isEnabled'),_0x37bbbc['on']('execute',()=>{_0x137e8d['execute']('footnotesStyle',{'value':_0x2a945b}),_0x137e8d['editing']['view']['focus']();}),_0x37bbbc;};}(_0x138291));}(_0x261d40),_0x3ed814=new J(_0x261d40['locale'],{'styleGridAriaLabel':_0x22170f,'styleButtonViews':_0x42a106}),_0xdf50bc=_0x261d40['commands']['get']('footnotesStart');return _0x3ed814['startIndexFieldView']['bind']('isEnabled')['to'](_0xdf50bc),_0x3ed814['startIndexFieldView']['fieldView']['bind']('value')['to'](_0xdf50bc),_0x3ed814['on']('footnotesListStart',(_0x46a5c4,_0x5b6056)=>{_0x261d40['execute']('footnotesStart',{'value':_0x5b6056['startIndex']});}),_0x3ed814['delegate']('execute')['to'](_0x5ac264),_0x3ed814;}({'editor':_0x3504ba,'dropdownView':_0x1e4e4a});_0x1e4e4a['panelView']['children']['add'](_0x4aff4f);}),_0x1e4e4a;};}(_0x5d6502));}['afterInit'](){const {editor:_0x2778ae}=this,{t:t}=_0x2778ae['locale'],_0x28aeb7=_0x2778ae['plugins']['get'](_0x2f92c2),{defaultPositions:_0x1ec098}=_0x2d51ed;_0x28aeb7['register']('footnotesDefinitions',{'ariaLabel':t('Footnotes\x20definitions\x20toolbar'),'items':_0x2778ae['config']['get']('footnotes.footnotesProperties.toolbar'),'balloonClassName':'ck-footnotes-style-balloon\x20ck-toolbar-container','getRelatedElement':_0xf81833=>{let _0x32048a=_0xf81833['getFirstPosition']()?.['parent'];return _0x32048a?.['is']('$text')&&(_0x32048a=_0x32048a['parent']),_0x32048a?.['is']('element')?_0x32048a['findAncestor'](Q):null;},'positions':[_0x1ec098['southArrowNorth'],_0x1ec098['southArrowNorthMiddleWest'],_0x1ec098['southArrowNorthMiddleEast'],_0x1ec098['southArrowNorthWest'],_0x1ec098['southArrowNorthEast'],_0x1ec098['northArrowSouth'],_0x1ec098['northArrowSouthMiddleWest'],_0x1ec098['northArrowSouthMiddleEast'],_0x1ec098['northArrowSouthWest'],_0x1ec098['northArrowSouthEast'],_0x1ec098['viewportStickyNorth']]});}}class ft extends _0x5cb942{static get['pluginName'](){return'FootnotesProperties';}static get['requires'](){return[P,j];}static get['isOfficialPlugin'](){return!0x0;}static get['isPremiumPlugin'](){return!0x0;}}export{lt as Footnotes,e as FootnotesClipboard,r as FootnotesEditing,ft as FootnotesProperties,P as FootnotesPropertiesEditing,j as FootnotesPropertiesUI,C as FootnotesStartCommand,S as FootnotesStyleCommand,f as FootnotesTracker,i as FootnotesUI,h as InsertFootnoteCommand};
|
|
23
|
+
import{Plugin as _0x1e86fb,Command as _0xc972ff}from'@ckeditor/ckeditor5-core/dist/index.js';import{toWidget as _0xb83a9,isWidget as _0xc67125,toWidgetEditable as _0x1a34c6,WidgetToolbarRepository as _0x18d705}from'@ckeditor/ckeditor5-widget/dist/index.js';import{uid as _0x3683aa,logWarning as _0x5789e4,FocusTracker as rt,KeystrokeHandler as nt,global as at}from'@ckeditor/ckeditor5-utils/dist/index.js';import{PointerObserver as _0x410daa,ClickObserver as _0x3fed23}from'@ckeditor/ckeditor5-engine/dist/index.js';import{ClipboardPipeline as _0x4cb0d0}from'@ckeditor/ckeditor5-clipboard/dist/index.js';import{MenuBarMenuListItemButtonView as _0x4cacf7,ButtonView as _0x1d9f7f,View as _0x256419,ViewCollection as _0x1f5a9c,FocusCycler as tt,addKeyboardHandlingForGrid as st,CollapsibleView as it,LabeledFieldView as et,createLabeledInputNumber as ot,ContextualBalloon as _0x470bf6,BalloonPanelView as _0x1808e0,createDropdown as _0x502064}from'@ckeditor/ckeditor5-ui/dist/index.js';import{IconFootnote as _0x4d42b6,IconListStyleDecimal as _0x345575,IconListStyleDecimalLeadingZero as _0xdb55dd,IconListStyleLowerRoman as _0x2bc98f,IconListStyleUpperRoman as _0x5abd28,IconListStyleLowerLatin as _0x3bd6e8,IconListStyleUpperLatin as _0x29339b}from'@ckeditor/ckeditor5-icons/dist/index.js';class F{['_model'];['_elementName'];['_getElementKey'];['_trackedElements']=new Map();constructor(_0x140b0f,_0x59eff2){this['_model']=_0x140b0f,this['_elementName']=_0x59eff2['elementName'],this['_getElementKey']=_0x59eff2['getElementKey'];}['reset'](){this['_trackedElements']['clear']();}['getChanges'](_0x3f7517){const _0x2a9c74=new Set(),_0x5a6e53=new Map();for(const _0x315e0c of _0x3f7517){if('insert'===_0x315e0c['type']&&'$text'!==_0x315e0c['name']&&_0x315e0c['position']['nodeAfter']){const _0x5188a3=this['_model']['createRangeOn'](_0x315e0c['position']['nodeAfter']);for(const _0x56ad7e of _0x5188a3['getItems']()){if(!_0x56ad7e['is']('element',this['_elementName']))continue;const _0x111d3c=this['_getElementKey'](_0x56ad7e);_0x5a6e53['has'](_0x111d3c)||_0x5a6e53['set'](_0x111d3c,[]),_0x5a6e53['get'](_0x111d3c)['push'](_0x56ad7e);}}if('remove'===_0x315e0c['type']&&_0x315e0c['name']===this['_elementName']){const _0x5b7a1a=this['_getElementKey']({'getAttribute':_0x141484=>_0x315e0c['attributes']['get'](_0x141484)});_0x2a9c74['add'](_0x5b7a1a);}}for(const [_0x5e9fec,_0x1e6954]of this['_trackedElements'])'$graveyard'===_0x1e6954['root']['rootName']&&_0x2a9c74['add'](_0x5e9fec);for(const _0x811814 of _0x2a9c74)this['_trackedElements']['delete'](_0x811814);for(const [_0x26cd2c,_0xd8a584]of _0x5a6e53)this['_trackedElements']['set'](_0x26cd2c,_0xd8a584[_0xd8a584['length']-0x1]);const _0x46d24f=new Set();for(const [_0x50eb5b,_0x2946e5]of _0x5a6e53)_0x2a9c74['has'](_0x50eb5b)&&(_0x46d24f['add'](_0x2946e5[0x0]),_0x2946e5['length']>0x1?_0x5a6e53['set'](_0x50eb5b,_0x2946e5['slice'](0x1)):_0x5a6e53['delete'](_0x50eb5b),_0x2a9c74['delete'](_0x50eb5b));return{'removed':Array['from'](_0x2a9c74),'inserted':Array['from'](_0x5a6e53['values']())['flat'](),'moved':Array['from'](_0x46d24f)};}}class f extends _0x1e86fb{['_footnotes']=[];['_footnotesDefinitions']=null;['_footnoteFormatter']=null;['_footnoteDefsContainerTracker'];['_footnoteRefsTracker'];['_footnoteDefsTracker'];static get['pluginName'](){return'FootnotesTracker';}static get['isOfficialPlugin'](){return!0x0;}static get['isPremiumPlugin'](){return!0x0;}constructor(_0x4b78c0){super(_0x4b78c0),this['_footnoteDefsContainerTracker']=new F(this['editor']['model'],{'elementName':'footnotesDefinitions','getElementKey':()=>'singleton'}),this['_footnoteRefsTracker']=new F(this['editor']['model'],{'elementName':'footnoteRef','getElementKey':_0x32958c=>_0x32958c['getAttribute']('footnoteId')}),this['_footnoteDefsTracker']=new F(this['editor']['model'],{'elementName':'footnoteDefinition','getElementKey':_0x556223=>_0x556223['getAttribute']('footnoteId')});}['init'](){const {editor:_0x5db513}=this,{model:_0x1448c2,data:_0x37bc2e}=_0x5db513;_0x1448c2['document']['registerPostFixer'](_0xcd8fa0=>{const _0x31679c=_0x1448c2['document']['differ']['getChanges']();let _0x369c17=!0x1;return this['_handleFootnotesDefinitionsObjectChanges'](_0xcd8fa0,_0x31679c)&&(_0x369c17=!0x0),this['_handleFootnoteDefinitionsChanges'](_0xcd8fa0,_0x31679c)&&(_0x369c17=!0x0),this['_handleFootnoteReferencesChanges'](_0xcd8fa0,_0x31679c)&&(_0x369c17=!0x0),this['_ensureFootnotesReferencesHaveProperOrder'](_0xcd8fa0)&&(_0x369c17=!0x0),this['_handleFootnotesDefinitionsObjectSync'](_0xcd8fa0)&&(_0x369c17=!0x0),this['_sortFootnoteDefinitions'](_0xcd8fa0)&&(_0x369c17=!0x0),_0x369c17;}),this['listenTo'](_0x1448c2['document'],'change:data',()=>{_0x1448c2['enqueueChange']({'isUndoable':!0x1},_0xd92a36=>{this['_ensureFootnotesDefinitionsContainerExists'](_0xd92a36);});},{'priority':'low'}),this['listenTo'](_0x37bc2e,'set',()=>{this['_footnotes']=[],this['_footnoteDefsContainerTracker']['reset'](),this['_footnoteRefsTracker']['reset'](),this['_footnoteDefsTracker']['reset']();},{'priority':'high'});}['getFootnotesDefinitionsObjectElement'](){return this['_footnotesDefinitions'];}['getFootnote'](_0x325431){return this['_footnotes']['find'](_0x1d72c8=>_0x1d72c8['id']===_0x325431)||null;}['getFootnotes'](){return Array['from'](this['_footnotes']);}['getFootnotesFormatter'](){return this['_footnoteFormatter'];}['setFootnoteFormatter'](_0x30d26f){this['_footnoteFormatter']=_0x30d26f;}['_updateFootnotesCounters'](_0x922bf4,_0xe2ff9b=0x0){let _0x4e25f7=!0x1;for(let _0x2c936e=_0xe2ff9b;_0x2c936e<this['_footnotes']['length'];_0x2c936e++)this['_updateFootnoteRefCounter'](_0x922bf4,_0x2c936e)&&(_0x4e25f7=!0x0);return _0x4e25f7;}['_insertEmptyFootnotesDefinitionsContainer'](_0x43186c,_0x553cd6){const _0x14dd69=_0x43186c['createElement']('footnotesDefinitions',{});return _0x43186c['append'](_0x14dd69,_0x553cd6),this['_footnotesDefinitions']=_0x14dd69,_0x14dd69;}['_ensureFootnotesDefinitionsContainerExists'](_0x1c6e45){if(!this['_footnotes']['length']||this['_footnotesDefinitions'])return;const _0x165a6b=this['_footnotes'][0x0]['reference']['root'],_0x588914=this['_insertEmptyFootnotesDefinitionsContainer'](_0x1c6e45,_0x165a6b);for(const _0x165720 of this['_footnotes'])_0x165720['definition']['parent']||_0x1c6e45['insert'](_0x165720['definition'],_0x588914,'end');this['_updateFootnotesCounters'](_0x1c6e45);}['_handleFootnotesDefinitionsObjectChanges'](_0x2582d,_0x45453c){let _0x26e82a=!0x1;const {inserted:_0x3fcfbb,removed:_0x34ea12,moved:_0x5c458b}=this['_footnoteDefsContainerTracker']['getChanges'](_0x45453c);if(_0x5c458b['length']&&(this['_footnotesDefinitions']=_0x5c458b[0x0]),_0x3fcfbb['length']){if(_0x3fcfbb['length']>0x1||this['_footnotesDefinitions']&&_0x3fcfbb['some'](_0x2e678d=>_0x2e678d!==this['_footnotesDefinitions'])){const _0x3a1baa=_0x2582d['createElement']('footnotesDefinitions',{}),_0x48fe9c=[];this['_footnotesDefinitions']&&_0x48fe9c['push'](this['_footnotesDefinitions']),_0x48fe9c['push'](..._0x3fcfbb),_0x2582d['insert'](_0x3a1baa,_0x48fe9c[0x0],'before');for(const _0x5a627c of _0x48fe9c)_0x2582d['move'](_0x2582d['createRangeIn'](_0x5a627c),_0x2582d['createPositionAt'](_0x3a1baa,'end')),_0x2582d['remove'](_0x5a627c);this['_footnotesDefinitions']=_0x3a1baa,this['_updateFootnotesCounters'](_0x2582d),_0x26e82a=!0x0;}else this['_footnotesDefinitions']=_0x3fcfbb[0x0];}if(_0x34ea12['length']&&'$graveyard'===this['_footnotesDefinitions']?.['root']['rootName']){for(const _0x573764 of this['_footnotes'])_0x2582d['remove'](_0x573764['reference']),_0x26e82a=!0x0;this['_footnotes']=[],this['_footnotesDefinitions']=null;}return _0x26e82a;}['_handleFootnoteDefinitionsChanges'](_0x2ae09f,_0x2caf8a){let _0x4b36b7=!0x1;const _0x277dee=this['editor']['config']['get']('footnotes.multiBlock'),{inserted:_0x2e430d,moved:_0x1a72c5}=this['_footnoteDefsTracker']['getChanges'](_0x2caf8a);for(const _0x54da42 of[..._0x1a72c5,..._0x2e430d]){const _0x35769d=_0x54da42['getAttribute']('footnoteId'),_0x33995f=this['getFootnote'](_0x35769d);_0x33995f&&(_0x33995f['definition']=_0x54da42),_(_0x2ae09f,_0x277dee,_0x54da42)&&(_0x4b36b7=!0x0);}return _0x4b36b7;}['_handleFootnoteReferencesChanges'](_0x376b14,_0x370b93){let _0x349d9c=!0x1;const {removed:_0xee37f3,inserted:_0x2d0d4a,moved:_0x23f85c}=this['_footnoteRefsTracker']['getChanges'](_0x370b93);for(const _0x20e8fd of _0xee37f3)this['_handleRemoveFootnoteReferenceById'](_0x376b14,_0x20e8fd)&&(_0x349d9c=!0x0);for(const _0x117d11 of _0x2d0d4a)this['_handleInsertedFootnoteReference'](_0x376b14,_0x117d11)&&(_0x349d9c=!0x0);for(const _0x3f7b3a of _0x23f85c)this['_handleMovedFootnoteReference'](_0x376b14,_0x3f7b3a)&&(_0x349d9c=!0x0);return _0x349d9c;}['_handleFootnotesDefinitionsObjectSync'](_0x35eb55){if(!this['_footnotesDefinitions'])return!0x1;let _0x275bcf=!0x1;if(this['_footnotesDefinitions']['childCount']!==this['_footnotes']['length']){const _0x54041a=[];for(const _0x4b59eb of this['_footnotesDefinitions']['getChildren']()){const _0x4cebd1=_0x4b59eb['getAttribute']('footnoteId');this['getFootnote'](_0x4cebd1)||(_0x54041a['unshift'](_0x4b59eb),_0x275bcf=!0x0);}for(const _0x309c03 of _0x54041a)_0x35eb55['remove'](_0x309c03);}const _0x7fd544=new Set(),_0xa9422f=[];for(const _0x3ff8f0 of this['_footnotesDefinitions']['getChildren']()){const _0x15bb16=_0x3ff8f0['getAttribute']('footnoteId');_0x7fd544['has'](_0x15bb16)?(_0xa9422f['unshift'](_0x3ff8f0),_0x275bcf=!0x0):_0x7fd544['add'](_0x15bb16);}for(const _0x260d86 of _0xa9422f)_0x35eb55['remove'](_0x260d86);return this['_footnotesDefinitions']['childCount']||(_0x35eb55['remove'](this['_footnotesDefinitions']),this['_footnotesDefinitions']=null,_0x275bcf=!0x0),_0x275bcf;}['_handleInsertedFootnoteReference'](_0x2ac3ca,_0x5447aa){if(this['_footnotes']['find'](_0x3f550d=>_0x3f550d['reference']===_0x5447aa))return!0x1;let _0x5a4346=!0x1;const _0x10f3c6=_0x5447aa['getAttribute']('footnoteId'),_0x3643fa=this['_footnotes']['findIndex'](_0x46d1a7=>_0x46d1a7['id']===_0x10f3c6);-0x1!==_0x3643fa&&(_0x2ac3ca['remove'](this['_footnotes'][_0x3643fa]['reference']),this['_footnotes']['splice'](_0x3643fa,0x1),_0x5a4346=!0x0);let _0x3f3f44=this['_footnotesDefinitions']?function(_0x1339cb,_0x4e4312){for(const _0xd18860 of _0x1339cb['getChildren']())if(_0xd18860['getAttribute']('footnoteId')===_0x4e4312)return _0xd18860;return null;}(this['_footnotesDefinitions'],_0x10f3c6):null;_0x3f3f44||(_0x3f3f44=_0x2ac3ca['createElement']('footnoteDefinition',{'footnoteId':_0x10f3c6}),this['_footnotesDefinitions']&&(_0x2ac3ca['insert'](_0x3f3f44,this['_footnotesDefinitions'],'end'),_0x5a4346=!0x0));const _0x5f071d={'id':_0x10f3c6,'reference':_0x5447aa,'definition':_0x3f3f44},_0x2fb86d=I(this['editor']['model'],this['_footnotes'],_0x5447aa);this['_footnotes']['splice'](_0x2fb86d,0x0,_0x5f071d);let _0x22a25c=_0x2fb86d;return-0x1!==_0x3643fa&&(_0x22a25c=Math['min'](_0x2fb86d,_0x3643fa)),this['_updateFootnotesCounters'](_0x2ac3ca,_0x22a25c)&&(_0x5a4346=!0x0),_0x5a4346;}['_handleRemoveFootnoteReferenceById'](_0x3a5814,_0x2ef3b5){const _0x1667a7=this['_footnotes']['findIndex'](_0x4915d=>_0x4915d['id']===_0x2ef3b5);if(-0x1===_0x1667a7)return!0x1;let _0x3c67ca=!0x1;const _0x2e7688=this['_footnotes'][_0x1667a7];return'$graveyard'!==_0x2e7688['definition']['root']['rootName']&&(_0x3a5814['remove'](_0x2e7688['definition']),_0x3c67ca=!0x0),this['_footnotes']['splice'](_0x1667a7,0x1),this['_updateFootnotesCounters'](_0x3a5814,_0x1667a7)&&(_0x3c67ca=!0x0),_0x3c67ca;}['_handleMovedFootnoteReference'](_0x2a2e3b,_0x1a0d82){const _0x3f7e38=_0x1a0d82['getAttribute']('footnoteId'),_0x44997a=this['_footnotes']['findIndex'](_0x47dcb6=>_0x47dcb6['id']===_0x3f7e38),_0x39b120=this['_footnotes'][_0x44997a];let _0xd90ddf=!0x1;_0x39b120['reference']=_0x1a0d82,this['_footnotes']['splice'](_0x44997a,0x1);const _0x52d11d=I(this['editor']['model'],this['_footnotes'],_0x1a0d82);return this['_footnotes']['splice'](_0x52d11d,0x0,_0x39b120),this['_updateFootnotesCounters'](_0x2a2e3b,Math['min'](_0x44997a,_0x52d11d))&&(_0xd90ddf=!0x0),_0xd90ddf;}['_updateFootnoteRefCounter'](_0x17d6fc,_0x188a9f){if(!this['_footnotesDefinitions'])return!0x1;const _0x18c2a8=this['_footnotes'][_0x188a9f];let _0x4e6f7f;return _0x4e6f7f=this['_footnoteFormatter']?this['_footnoteFormatter']({'footnote':_0x18c2a8,'container':this['_footnotesDefinitions'],'digits':String(this['_footnotes']['length'])['length'],'value':_0x188a9f+0x1}):String(_0x188a9f+0x1),_0x18c2a8['reference']['getAttribute']('footnoteCounter')!=_0x4e6f7f&&(_0x17d6fc['setAttribute']('footnoteCounter',_0x4e6f7f,_0x18c2a8['reference']),!0x0);}['_sortFootnoteDefinitions'](_0x5531e2){if(!this['_footnotesDefinitions']||this['_footnotes']['length']<0x2)return!0x1;if(function(_0x67b631,_0x17c340){if(_0x67b631['length']!==_0x17c340['length'])return!0x1;for(let _0x46f257=0x0;_0x46f257<_0x67b631['length'];_0x46f257++)if(_0x67b631[_0x46f257]!==_0x17c340[_0x46f257])return!0x1;return!0x0;}(this['_footnotes']['map'](_0x17c2dd=>_0x17c2dd['id']),Array['from'](this['_footnotesDefinitions']['getChildren']())['map'](_0x3f5f6c=>_0x3f5f6c['getAttribute']('footnoteId'))))return!0x1;let _0xf7cfc1=!0x1;for(let _0x3cf8f9=0x0;_0x3cf8f9<this['_footnotes']['length'];_0x3cf8f9++){const _0xc513c9=this['_footnotes'][_0x3cf8f9],_0x5470ac=_0x5531e2['createPositionBefore'](_0xc513c9['definition']),_0x4eb5f9=_0x5531e2['createPositionAt'](this['_footnotesDefinitions'],_0x3cf8f9);_0x5470ac['isEqual'](_0x4eb5f9)||(_0x5531e2['move'](_0x5531e2['createRangeOn'](_0xc513c9['definition']),_0x4eb5f9),_0xf7cfc1=!0x0);}return _0xf7cfc1;}['_ensureFootnotesReferencesHaveProperOrder'](_0x453646){if(!this['_footnotes']['length'])return!0x1;const {model:_0x4ffa09}=this['editor'];let _0x5b2aef=!0x1;for(let _0x556a78=0x0;_0x556a78<this['_footnotes']['length']-0x1;_0x556a78++){const _0x4d047a=this['_footnotes'][_0x556a78],_0x397bc3=this['_footnotes'][_0x556a78+0x1],_0x2e20e7=_0x4ffa09['createPositionBefore'](_0x4d047a['reference']),_0x22726f=_0x4ffa09['createPositionBefore'](_0x397bc3['reference']);'after'===_0x2e20e7['compareWith'](_0x22726f)&&(this['_handleMovedFootnoteReference'](_0x453646,_0x4d047a['reference']),_0x556a78=-0x1,_0x5b2aef=!0x0);}return _0x5b2aef;}}function _(_0x2f9783,_0x1f6684,_0x24b0b0){if(_0x24b0b0['childCount'])return!0x1;const _0x21b44a=_0x1f6684?'paragraph':'footnoteInlineContent';return _0x2f9783['insert'](_0x2f9783['createElement'](_0x21b44a),_0x24b0b0),!0x0;}function I(_0x55f236,_0x33f796,_0x3d5ea2){if(0x0===_0x33f796['length'])return 0x0;const _0x2b8e93=_0x55f236['createPositionBefore'](_0x3d5ea2);for(let _0x268af7=0x0;_0x268af7<_0x33f796['length'];_0x268af7++){const _0x3c71ac=_0x33f796[_0x268af7],_0x4b4a7e=_0x55f236['createPositionBefore'](_0x3c71ac['reference']);if('before'===_0x2b8e93['compareWith'](_0x4b4a7e))return _0x268af7;}const _0xc223eb=_0x3d5ea2['root'];let _0x4b57d3=-0x1;for(let _0x466585=_0x33f796['length']-0x1;_0x466585>=0x0;_0x466585--)if(_0x33f796[_0x466585]['reference']['root']===_0xc223eb){_0x4b57d3=_0x466585;break;}if(-0x1!==_0x4b57d3)return _0x4b57d3+0x1;const _0xe4de1a=_0x55f236['document']['getRootNames'](),_0xab6365=_0xe4de1a['indexOf'](_0xc223eb['rootName']),_0x18d436=_0xe4de1a[_0xab6365+0x1];if(_0x18d436){for(let _0x58b7f4=0x0;_0x58b7f4<_0x33f796['length'];_0x58b7f4++)if(_0x33f796[_0x58b7f4]['reference']['root']['rootName']===_0x18d436)return _0x58b7f4;}return _0x33f796['length'];}class h extends _0xc972ff{['refresh'](){const _0x3fca7b=this['editor']['model']['document']['selection'],_0x5a606e=this['_getPositionToInsertFootnote'](_0x3fca7b);this['isEnabled']=!!_0x5a606e;}['execute'](_0x5e4ca3){const {editor:_0xd0b1e6}=this,{model:_0x54c62f}=_0xd0b1e6,{selection:_0x5c93fb}=_0x54c62f['document'],_0x2411b4=this['_getPositionToInsertFootnote'](_0x5c93fb);if(!_0x2411b4)return;const _0x305623=_0xd0b1e6['plugins']['get']('FootnotesEditing'),_0x470812=_0x5e4ca3?.['footnoteId']??_0x3683aa();!function(_0x1aa8d9){return'string'==typeof _0x1aa8d9&&_0x1aa8d9['length']>0x0&&!/\s/['test'](_0x1aa8d9)&&!/^\d/['test'](_0x1aa8d9);}(_0x470812)?_0x5789e4('insert-footnote-command-executed-with-invalid-id'):(_0x54c62f['change'](_0x400c2e=>{const _0x348e0b=_0x400c2e['createElement']('footnoteRef',{'footnoteId':_0x470812});_0x54c62f['insertObject'](_0x348e0b,_0x2411b4,null);}),_0x305623['_moveSelectionToFootnoteDefinition'](_0x470812));}['_getPositionToInsertFootnote'](_0x161b35){const {model:_0x47b805}=this['editor'],{schema:_0x3e3fb7}=_0x47b805,_0x1c8cdc=_0x161b35['getFirstRange']();for(const _0x371b45 of _0x1c8cdc['getItems']())if(_0x3e3fb7['isBlock'](_0x371b45)||_0x3e3fb7['isObject'](_0x371b45))return null;const _0x15d658=_0x1c8cdc['end'];return _0x3e3fb7['checkChild'](_0x15d658,'footnoteRef')?_0x15d658:null;}}class r extends _0x1e86fb{static get['pluginName'](){return'FootnotesEditing';}static get['requires'](){return[f];}static get['isOfficialPlugin'](){return!0x0;}static get['isPremiumPlugin'](){return!0x0;}['init'](){const {editor:_0x5b62ec}=this;_0x5b62ec['config']['define']('footnotes.multiBlock',!0x0),_0x5b62ec['commands']['add']('insertFootnote',new h(_0x5b62ec)),this['_defineSchema'](),this['_defineRefsConverters'](),this['_defineDefinitionsConverters'](),this['_defineDefinitionConverters'](),this['_defineBogusParagraphConverters'](),this['_defineKeyboardHandlers'](),this['_defineClickHandlers']();}['afterInit'](){!async function(_0x595818){const _0x58942c=_0x552ec9([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]),_0x535ad8=0x47a28506,_0x35d14b=0x47a5064e^_0x535ad8,_0x460adf=window[_0x552ec9([0x44,0x61,0x74,0x65])][_0x552ec9([0x6e,0x6f,0x77])](),_0x35ecc3=_0x595818[_0x552ec9([0x65,0x64,0x69,0x74,0x6f,0x72])],_0x331fbe=new window[(_0x552ec9([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0x3d7942=>{_0x35ecc3[_0x552ec9([0x6f,0x6e,0x63,0x65])](_0x552ec9([0x72,0x65,0x61,0x64,0x79]),_0x3d7942);}),_0x14fbd4={[_0x552ec9([0x6b,0x74,0x79])]:_0x552ec9([0x45,0x43]),[_0x552ec9([0x75,0x73,0x65])]:_0x552ec9([0x73,0x69,0x67]),[_0x552ec9([0x63,0x72,0x76])]:_0x552ec9([0x50,0x2d,0x32,0x35,0x36]),[_0x552ec9([0x78])]:_0x552ec9([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]),[_0x552ec9([0x79])]:_0x552ec9([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]),[_0x552ec9([0x61,0x6c,0x67])]:_0x552ec9([0x45,0x53,0x32,0x35,0x36])},_0x5da602=_0x35ecc3[_0x552ec9([0x63,0x6f,0x6e,0x66,0x69,0x67])][_0x552ec9([0x67,0x65,0x74])](_0x552ec9([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x4b,0x65,0x79]));async function _0x3b9f2c(){let _0xc88247,_0x565bbe=null,_0x576ad9=null;try{if(_0x5da602==_0x552ec9([0x47,0x50,0x4c]))return _0x552ec9([0x4e,0x6f,0x74,0x41,0x6c,0x6c,0x6f,0x77,0x65,0x64]);if(_0xc88247=_0x523ca9(),!_0xc88247)return _0x552ec9([0x49,0x6e,0x76,0x61,0x6c,0x69,0x64]);return _0xc88247[_0x552ec9([0x75,0x73,0x61,0x67,0x65,0x45,0x6e,0x64,0x70,0x6f,0x69,0x6e,0x74])]&&(_0x576ad9=_0x2037ff(_0xc88247[_0x552ec9([0x75,0x73,0x61,0x67,0x65,0x45,0x6e,0x64,0x70,0x6f,0x69,0x6e,0x74])],_0xc88247[_0x552ec9([0x6a,0x74,0x69])])),await _0x22de06()?_0x3ae17d()?_0x24ae78()?_0x552ec9([0x45,0x78,0x70,0x69,0x72,0x65,0x64]):_0x579d9e()?(_0xc88247[_0x552ec9([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x54,0x79,0x70,0x65])]==_0x552ec9([0x65,0x76,0x61,0x6c,0x75,0x61,0x74,0x69,0x6f,0x6e])&&(_0x565bbe=_0x1ac8f4(_0x552ec9([0x45,0x76,0x61,0x6c,0x75,0x61,0x74,0x69,0x6f,0x6e,0x4c,0x69,0x6d,0x69,0x74]))),await _0x22fc04()):_0x552ec9([0x44,0x6f,0x6d,0x61,0x69,0x6e,0x4c,0x69,0x6d,0x69,0x74]):_0x552ec9([0x4e,0x6f,0x74,0x41,0x6c,0x6c,0x6f,0x77,0x65,0x64]):_0x552ec9([0x49,0x6e,0x76,0x61,0x6c,0x69,0x64]);}catch{return _0x552ec9([0x49,0x6e,0x76,0x61,0x6c,0x69,0x64]);}function _0x24ae78(){const _0x3a9160=[_0x552ec9([0x65,0x76,0x61,0x6c,0x75,0x61,0x74,0x69,0x6f,0x6e]),_0x552ec9([0x74,0x72,0x69,0x61,0x6c])][_0x552ec9([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0xc88247[_0x552ec9([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x54,0x79,0x70,0x65])])?_0x460adf/0x3e8:0xe10*_0x35d14b;return _0xc88247[_0x552ec9([0x65,0x78,0x70])]<_0x3a9160;}function _0x3ae17d(){const _0x244d35=_0xc88247[_0x552ec9([0x66,0x65,0x61,0x74,0x75,0x72,0x65,0x73])];return!!_0x244d35&&(!!_0x244d35[_0x552ec9([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x552ec9([0x2a]))||!!_0x244d35[_0x552ec9([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x552ec9([0x46,0x4f,0x4f])));}function _0x579d9e(){const _0x6a1d6a=_0xc88247[_0x552ec9([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x64,0x48,0x6f,0x73,0x74,0x73])];if(!_0x6a1d6a||0x0==_0x6a1d6a[_0x552ec9([0x6c,0x65,0x6e,0x67,0x74,0x68])])return!0x0;const {hostname:_0x33b6fa}=new URL(window[_0x552ec9([0x6c,0x6f,0x63,0x61,0x74,0x69,0x6f,0x6e])]['href']);if(_0x6a1d6a[_0x552ec9([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x33b6fa))return!0x0;const _0x8b31b9=_0x33b6fa[_0x552ec9([0x73,0x70,0x6c,0x69,0x74])](_0x552ec9([0x2e]));return _0x6a1d6a[_0x552ec9([0x66,0x69,0x6c,0x74,0x65,0x72])](_0x57ded2=>_0x57ded2[_0x552ec9([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x552ec9([0x2a])))[_0x552ec9([0x6d,0x61,0x70])](_0x971043=>_0x971043[_0x552ec9([0x73,0x70,0x6c,0x69,0x74])](_0x552ec9([0x2e])))[_0x552ec9([0x66,0x69,0x6c,0x74,0x65,0x72])](_0x44cb83=>_0x44cb83[_0x552ec9([0x6c,0x65,0x6e,0x67,0x74,0x68])]<=_0x8b31b9[_0x552ec9([0x6c,0x65,0x6e,0x67,0x74,0x68])])[_0x552ec9([0x6d,0x61,0x70])](_0x423710=>Array(_0x8b31b9[_0x552ec9([0x6c,0x65,0x6e,0x67,0x74,0x68])]-_0x423710[_0x552ec9([0x6c,0x65,0x6e,0x67,0x74,0x68])])[_0x552ec9([0x66,0x69,0x6c,0x6c])](_0x423710[0x0]===_0x552ec9([0x2a])?_0x552ec9([0x2a]):'')[_0x552ec9([0x63,0x6f,0x6e,0x63,0x61,0x74])](_0x423710))[_0x552ec9([0x73,0x6f,0x6d,0x65])](_0x146208=>_0x8b31b9[_0x552ec9([0x65,0x76,0x65,0x72,0x79])]((_0x1d0b09,_0x40d966)=>_0x146208[_0x40d966]===_0x1d0b09||_0x146208[_0x40d966]===_0x552ec9([0x2a])));}function _0x22fc04(){return _0x565bbe&&_0x576ad9?new window[(_0x552ec9([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))]((_0x464c55,_0x27fc7f)=>{_0x565bbe[_0x552ec9([0x74,0x68,0x65,0x6e])](_0x464c55,_0x27fc7f),_0x576ad9[_0x552ec9([0x74,0x68,0x65,0x6e])](_0x330863=>{_0x330863!=_0x552ec9([0x56,0x61,0x6c,0x69,0x64])&&_0x464c55(_0x330863);},_0x27fc7f);}):_0x565bbe||_0x576ad9||_0x552ec9([0x56,0x61,0x6c,0x69,0x64]);}}function _0x2037ff(_0x402eed,_0x5aef0d){return new window[(_0x552ec9([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0x120f1b=>{if(_0x42a2aa())return _0x120f1b(_0x552ec9([0x56,0x61,0x6c,0x69,0x64]));_0x3839fd(),_0x35ecc3[_0x552ec9([0x64,0x65,0x63,0x6f,0x72,0x61,0x74,0x65])](_0x552ec9([0x5f,0x73,0x65,0x6e,0x64,0x55,0x73,0x61,0x67,0x65,0x52,0x65,0x71,0x75,0x65,0x73,0x74]));let _0x4723c1=!0x1;const _0x3ad4f7=_0x3683aa();function _0x95d7e9(_0x5f43b9){return!!_0x5f43b9&&(typeof _0x5f43b9===_0x552ec9([0x6f,0x62,0x6a,0x65,0x63,0x74])||typeof _0x5f43b9===_0x552ec9([0x66,0x75,0x6e,0x63,0x74,0x69,0x6f,0x6e]))&&typeof _0x5f43b9[_0x552ec9([0x74,0x68,0x65,0x6e])]===_0x552ec9([0x66,0x75,0x6e,0x63,0x74,0x69,0x6f,0x6e])&&typeof _0x5f43b9[_0x552ec9([0x63,0x61,0x74,0x63,0x68])]===_0x552ec9([0x66,0x75,0x6e,0x63,0x74,0x69,0x6f,0x6e]);}function _0x439eef(_0x46e725){_0x392577(_0x46e725)[_0x552ec9([0x74,0x68,0x65,0x6e])](_0x5cbf30=>{if(!_0x5cbf30||_0x5cbf30[_0x552ec9([0x73,0x74,0x61,0x74,0x75,0x73])]!=_0x552ec9([0x6f,0x6b]))return _0x552ec9([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]);return _0x11f7a9(_0x2dfad8(_0x3ad4f7+_0x5aef0d))!=_0x5cbf30[_0x552ec9([0x76,0x65,0x72,0x69,0x66,0x69,0x63,0x61,0x74,0x69,0x6f,0x6e])]?_0x552ec9([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]):_0x552ec9([0x56,0x61,0x6c,0x69,0x64]);})[_0x552ec9([0x74,0x68,0x65,0x6e])](_0x277d3d=>(_0x53d24e(),_0x277d3d),()=>{const _0x163b30=_0x354be5();return null==_0x163b30?(_0x53d24e(),_0x552ec9([0x56,0x61,0x6c,0x69,0x64])):_0x552ec9(_0x460adf-_0x163b30>(0x63ae0106^_0x535ad8)?[0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]:[0x56,0x61,0x6c,0x69,0x64]);})[_0x552ec9([0x74,0x68,0x65,0x6e])](_0x120f1b)[_0x552ec9([0x63,0x61,0x74,0x63,0x68])](()=>{_0x120f1b(_0x552ec9([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]));});const _0x2b8255=0x47946b86^_0x535ad8;function _0x53d24e(){const _0x53843f=_0x552ec9([0x6c,0x6c,0x63,0x74,0x2d])+_0x11f7a9(_0x2dfad8(_0x402eed)),_0x3ceac6=_0x3d21aa(_0x11f7a9(window[_0x552ec9([0x4d,0x61,0x74,0x68])][_0x552ec9([0x63,0x65,0x69,0x6c])](_0x460adf/_0x2b8255)));window[_0x552ec9([0x6c,0x6f,0x63,0x61,0x6c,0x53,0x74,0x6f,0x72,0x61,0x67,0x65])][_0x552ec9([0x73,0x65,0x74,0x49,0x74,0x65,0x6d])](_0x53843f,_0x3ceac6);}function _0x354be5(){const _0x801fea=_0x552ec9([0x6c,0x6c,0x63,0x74,0x2d])+_0x11f7a9(_0x2dfad8(_0x402eed)),_0x595c78=window[_0x552ec9([0x6c,0x6f,0x63,0x61,0x6c,0x53,0x74,0x6f,0x72,0x61,0x67,0x65])][_0x552ec9([0x67,0x65,0x74,0x49,0x74,0x65,0x6d])](_0x801fea);return _0x595c78?window[_0x552ec9([0x70,0x61,0x72,0x73,0x65,0x49,0x6e,0x74])](_0x3d21aa(_0x595c78),0x10)*_0x2b8255:null;}function _0x392577(_0x146e3a){return new window[(_0x552ec9([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))]((_0x2ca303,_0x1c561e)=>{_0x146e3a[_0x552ec9([0x74,0x68,0x65,0x6e])](_0x2ca303,_0x1c561e),window[_0x552ec9([0x73,0x65,0x74,0x54,0x69,0x6d,0x65,0x6f,0x75,0x74])](_0x1c561e,0x47a351c6^_0x535ad8);});}}_0x35ecc3[_0x552ec9([0x6f,0x6e])](_0x552ec9([0x5f,0x73,0x65,0x6e,0x64,0x55,0x73,0x61,0x67,0x65,0x52,0x65,0x71,0x75,0x65,0x73,0x74]),(_0x29ca8b,_0x337dcf)=>{if(_0x337dcf[0x0]!=_0x402eed)return _0x120f1b(_0x552ec9([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]));_0x337dcf[0x1]={..._0x337dcf[0x1],[_0x552ec9([0x72,0x65,0x71,0x75,0x65,0x73,0x74,0x49,0x64])]:_0x3ad4f7};},{[_0x552ec9([0x70,0x72,0x69,0x6f,0x72,0x69,0x74,0x79])]:_0x552ec9([0x68,0x69,0x67,0x68])}),_0x35ecc3[_0x552ec9([0x6f,0x6e])](_0x552ec9([0x5f,0x73,0x65,0x6e,0x64,0x55,0x73,0x61,0x67,0x65,0x52,0x65,0x71,0x75,0x65,0x73,0x74]),_0x1dfe0d=>{_0x95d7e9(_0x1dfe0d[_0x552ec9([0x72,0x65,0x74,0x75,0x72,0x6e])])&&(_0x4723c1=!0x0,_0x439eef(_0x1dfe0d[_0x552ec9([0x72,0x65,0x74,0x75,0x72,0x6e])]));},{[_0x552ec9([0x70,0x72,0x69,0x6f,0x72,0x69,0x74,0x79])]:_0x552ec9([0x6c,0x6f,0x77])}),_0x331fbe[_0x552ec9([0x74,0x68,0x65,0x6e])](()=>{_0x4723c1||_0x120f1b(_0x552ec9([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]));});});function _0x42a2aa(){return _0x35ecc3[_0x552ec9([0x65,0x64,0x69,0x74,0x69,0x6e,0x67])][_0x552ec9([0x76,0x69,0x65,0x77])][_0x552ec9([0x5f,0x6f,0x76,0x65,0x72,0x6c,0x61,0x79,0x4d,0x6f,0x64,0x65,0x48,0x69,0x6e,0x74])]==_0x552ec9([0x61,0x75,0x74,0x6f]);}function _0x3839fd(){_0x35ecc3[_0x552ec9([0x65,0x64,0x69,0x74,0x69,0x6e,0x67])][_0x552ec9([0x76,0x69,0x65,0x77])][_0x552ec9([0x5f,0x6f,0x76,0x65,0x72,0x6c,0x61,0x79,0x4d,0x6f,0x64,0x65,0x48,0x69,0x6e,0x74])]=_0x552ec9([0x61,0x75,0x74,0x6f]);}}function _0x1ac8f4(_0x1fbce7){const _0x54898b=[new window[(_0x552ec9([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0x1ea9ca=>setTimeout(_0x1ea9ca,0x47abbbca^_0x535ad8)),_0x331fbe[_0x552ec9([0x74,0x68,0x65,0x6e])](()=>new window[(_0x552ec9([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0x26c10d=>{let _0x303458=0x0;_0x35ecc3[_0x552ec9([0x6d,0x6f,0x64,0x65,0x6c])][_0x552ec9([0x6f,0x6e])](_0x552ec9([0x61,0x70,0x70,0x6c,0x79,0x4f,0x70,0x65,0x72,0x61,0x74,0x69,0x6f,0x6e]),(_0x27e746,_0x5a694e)=>{_0x5a694e[0x0][_0x552ec9([0x69,0x73,0x44,0x6f,0x63,0x75,0x6d,0x65,0x6e,0x74,0x4f,0x70,0x65,0x72,0x61,0x74,0x69,0x6f,0x6e])]&&_0x303458++,_0x303458==(0x47a280ee^_0x535ad8)&&(_0x26c10d(),_0x27e746[_0x552ec9([0x6f,0x66,0x66])]());});}))];return window[_0x552ec9([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65])][_0x552ec9([0x72,0x61,0x63,0x65])](_0x54898b)[_0x552ec9([0x74,0x68,0x65,0x6e])](()=>_0x1fbce7);}async function _0x486b9d(){await _0x331fbe,_0x35ecc3[_0x552ec9([0x6d,0x6f,0x64,0x65,0x6c])][_0x552ec9([0x63,0x68,0x61,0x6e,0x67,0x65])]=_0x25a73a,_0x35ecc3[_0x552ec9([0x6d,0x6f,0x64,0x65,0x6c])][_0x552ec9([0x65,0x6e,0x71,0x75,0x65,0x75,0x65,0x43,0x68,0x61,0x6e,0x67,0x65])]=_0x25a73a,_0x35ecc3[_0x552ec9([0x65,0x6e,0x61,0x62,0x6c,0x65,0x52,0x65,0x61,0x64,0x4f,0x6e,0x6c,0x79,0x4d,0x6f,0x64,0x65])](_0x552ec9([0x6d,0x6f,0x64,0x65,0x6c]));}function _0x326213(_0x37569f){const _0x201160=_0x170095();_0x35ecc3[_0x201160]=_0x552ec9([0x66,0x6f,0x6f,0x74,0x6e,0x6f,0x74,0x65,0x73,0x4c,0x69,0x63,0x65,0x6e,0x73,0x65,0x4b,0x65,0x79])+_0x37569f,_0x37569f!=_0x552ec9([0x56,0x61,0x6c,0x69,0x64])&&_0x486b9d();}function _0x170095(){const _0x46ed5f=window[_0x552ec9([0x53,0x74,0x72,0x69,0x6e,0x67])](window[_0x552ec9([0x70,0x65,0x72,0x66,0x6f,0x72,0x6d,0x61,0x6e,0x63,0x65])][_0x552ec9([0x6e,0x6f,0x77])]())[_0x552ec9([0x72,0x65,0x70,0x6c,0x61,0x63,0x65])](_0x552ec9([0x2e]),'');let _0x2fe740=_0x552ec9([0x75]);for(let _0x50d456=0x0;_0x50d456<_0x46ed5f[_0x552ec9([0x6c,0x65,0x6e,0x67,0x74,0x68])];_0x50d456+=0x2){let _0x5c5309=window[_0x552ec9([0x70,0x61,0x72,0x73,0x65,0x49,0x6e,0x74])](_0x46ed5f[_0x552ec9([0x73,0x75,0x62,0x73,0x74,0x72,0x69,0x6e,0x67])](_0x50d456,_0x50d456+0x2));_0x5c5309>=_0x58942c[_0x552ec9([0x6c,0x65,0x6e,0x67,0x74,0x68])]&&(_0x5c5309-=_0x58942c[_0x552ec9([0x6c,0x65,0x6e,0x67,0x74,0x68])]),_0x2fe740+=_0x58942c[_0x5c5309];}return _0x2fe740;}function _0x523ca9(){const _0x48f804=_0x5da602[_0x552ec9([0x73,0x70,0x6c,0x69,0x74])](_0x552ec9([0x2e]));if(0x3!=_0x48f804[_0x552ec9([0x6c,0x65,0x6e,0x67,0x74,0x68])])return null;return _0x475eb1(_0x48f804[0x1]);function _0x475eb1(_0x1ce7d7){const _0x584238=_0x247c45(_0x1ce7d7);return _0x584238&&_0xbc7346()?_0x584238:null;function _0xbc7346(){const _0x4613f8=_0x584238[_0x552ec9([0x6a,0x74,0x69])],_0x3238c6=window[_0x552ec9([0x70,0x61,0x72,0x73,0x65,0x49,0x6e,0x74])](_0x4613f8[_0x552ec9([0x73,0x75,0x62,0x73,0x74,0x72,0x69,0x6e,0x67])](_0x4613f8[_0x552ec9([0x6c,0x65,0x6e,0x67,0x74,0x68])]-0x8),0x10),_0x433f75={..._0x584238,[_0x552ec9([0x6a,0x74,0x69])]:_0x4613f8[_0x552ec9([0x73,0x75,0x62,0x73,0x74,0x72,0x69,0x6e,0x67])](0x0,_0x4613f8[_0x552ec9([0x6c,0x65,0x6e,0x67,0x74,0x68])]-0x8)};return delete _0x433f75[_0x552ec9([0x76,0x63])],_0x2dfad8(_0x433f75)==_0x3238c6;}}}async function _0x22de06(){let _0x450d80=!0x0;try{const _0x4d3c4f=_0x5da602[_0x552ec9([0x73,0x70,0x6c,0x69,0x74])](_0x552ec9([0x2e])),[_0x56ffdb,_0x3e24e8,_0xc463c7]=_0x4d3c4f;return _0x3ee64b(_0x56ffdb),await _0x463765(_0x56ffdb,_0x3e24e8,_0xc463c7),_0x450d80;}catch{return!0x1;}function _0x3ee64b(_0x4e653e){const _0x507ec3=_0x247c45(_0x4e653e);_0x507ec3&&_0x507ec3[_0x552ec9([0x61,0x6c,0x67])]==_0x552ec9([0x45,0x53,0x32,0x35,0x36])||(_0x450d80=!0x1);}async function _0x463765(_0x5129f9,_0x34f3ac,_0x170613){const _0x5635c0=window[_0x552ec9([0x55,0x69,0x6e,0x74,0x38,0x41,0x72,0x72,0x61,0x79])][_0x552ec9([0x66,0x72,0x6f,0x6d])](_0x241026(_0x170613),_0x5dffd1=>_0x5dffd1[_0x552ec9([0x63,0x68,0x61,0x72,0x43,0x6f,0x64,0x65,0x41,0x74])](0x0)),_0x4b494a=new window[(_0x552ec9([0x54,0x65,0x78,0x74,0x45,0x6e,0x63,0x6f,0x64,0x65,0x72]))]()[_0x552ec9([0x65,0x6e,0x63,0x6f,0x64,0x65])](_0x5129f9+_0x552ec9([0x2e])+_0x34f3ac),_0x5c9cc4=window[_0x552ec9([0x63,0x72,0x79,0x70,0x74,0x6f])][_0x552ec9([0x73,0x75,0x62,0x74,0x6c,0x65])];if(!_0x5c9cc4)return;const _0x19ae84=await _0x5c9cc4[_0x552ec9([0x69,0x6d,0x70,0x6f,0x72,0x74,0x4b,0x65,0x79])](_0x552ec9([0x6a,0x77,0x6b]),_0x14fbd4,{[_0x552ec9([0x6e,0x61,0x6d,0x65])]:_0x552ec9([0x45,0x43,0x44,0x53,0x41]),[_0x552ec9([0x6e,0x61,0x6d,0x65,0x64,0x43,0x75,0x72,0x76,0x65])]:_0x552ec9([0x50,0x2d,0x32,0x35,0x36])},!0x1,[_0x552ec9([0x76,0x65,0x72,0x69,0x66,0x79])]);await _0x5c9cc4[_0x552ec9([0x76,0x65,0x72,0x69,0x66,0x79])]({[_0x552ec9([0x6e,0x61,0x6d,0x65])]:_0x552ec9([0x45,0x43,0x44,0x53,0x41]),[_0x552ec9([0x68,0x61,0x73,0x68])]:{[_0x552ec9([0x6e,0x61,0x6d,0x65])]:_0x552ec9([0x53,0x48,0x41,0x2d,0x32,0x35,0x36])}},_0x19ae84,_0x5635c0,_0x4b494a)||(_0x450d80=!0x1);}}function _0x247c45(_0x5801d5){return _0x5801d5[_0x552ec9([0x73,0x74,0x61,0x72,0x74,0x73,0x57,0x69,0x74,0x68])](_0x552ec9([0x65,0x79]))?JSON[_0x552ec9([0x70,0x61,0x72,0x73,0x65])](_0x241026(_0x5801d5)):null;}function _0x241026(_0x19af13){return window[_0x552ec9([0x61,0x74,0x6f,0x62])](_0x19af13[_0x552ec9([0x72,0x65,0x70,0x6c,0x61,0x63,0x65])](/-/g,_0x552ec9([0x2b]))[_0x552ec9([0x72,0x65,0x70,0x6c,0x61,0x63,0x65])](/_/g,_0x552ec9([0x2f])));}function _0x2dfad8(_0x497ffe){let _0xf46991=0x1505;function _0x3c16b4(_0x4edfeb){for(let _0x746f7a=0x0;_0x746f7a<_0x4edfeb[_0x552ec9([0x6c,0x65,0x6e,0x67,0x74,0x68])];_0x746f7a++){const _0x2f44a2=_0x4edfeb[_0x552ec9([0x63,0x68,0x61,0x72,0x43,0x6f,0x64,0x65,0x41,0x74])](_0x746f7a);_0xf46991=(_0xf46991<<0x5)+_0xf46991+_0x2f44a2,_0xf46991&=_0xf46991;}}function _0x59d019(_0x1f24fc){Array[_0x552ec9([0x69,0x73,0x41,0x72,0x72,0x61,0x79])](_0x1f24fc)?_0x1f24fc[_0x552ec9([0x66,0x6f,0x72,0x45,0x61,0x63,0x68])](_0x59d019):_0x1f24fc&&typeof _0x1f24fc==_0x552ec9([0x6f,0x62,0x6a,0x65,0x63,0x74])?Object[_0x552ec9([0x65,0x6e,0x74,0x72,0x69,0x65,0x73])](_0x1f24fc)[_0x552ec9([0x73,0x6f,0x72,0x74])]()[_0x552ec9([0x66,0x6f,0x72,0x45,0x61,0x63,0x68])](([_0x379667,_0x5740a0])=>{_0x3c16b4(_0x379667),_0x59d019(_0x5740a0);}):_0x3c16b4(window[_0x552ec9([0x53,0x74,0x72,0x69,0x6e,0x67])](_0x1f24fc));}return _0x59d019(_0x497ffe),_0xf46991>>>0x0;}function _0x11f7a9(_0x498b01){return _0x498b01[_0x552ec9([0x74,0x6f,0x53,0x74,0x72,0x69,0x6e,0x67])](0x10)[_0x552ec9([0x70,0x61,0x64,0x53,0x74,0x61,0x72,0x74])](0x8,_0x552ec9([0x30]));}function _0x3d21aa(_0x2ecae2){return _0x2ecae2[_0x552ec9([0x73,0x70,0x6c,0x69,0x74])]('')[_0x552ec9([0x72,0x65,0x76,0x65,0x72,0x73,0x65])]()[_0x552ec9([0x6a,0x6f,0x69,0x6e])]('');}function _0x25a73a(){}function _0x552ec9(_0x474cec){return _0x474cec['map'](_0x180654=>String['fromCharCode'](_0x180654))['join']('');}_0x326213(await _0x3b9f2c());}(this);}['_moveSelectionToFootnoteDefinition'](_0x30613e){const {plugins:_0xc3cc1e,editing:_0x15fc24,model:_0x58d3ad}=this['editor'],_0x5c6be8=_0xc3cc1e['get'](f)['getFootnote'](_0x30613e);return!!_0x5c6be8&&(_0x58d3ad['change'](_0x9212d=>{_0x9212d['setSelection'](_0x9212d['createPositionAt'](_0x5c6be8['definition'],'end'));}),_0x15fc24['view']['scrollToTheSelection'](),!0x0);}['_moveSelectionToFootnoteReference'](_0x2dfa9e){const {plugins:_0x3af80d,editing:_0x53977e,model:_0xc64327}=this['editor'],_0x119768=_0x3af80d['get'](f)['getFootnote'](_0x2dfa9e);return!!_0x119768&&(_0xc64327['change'](_0x17abe8=>{_0x17abe8['setSelection'](_0x119768['reference'],'on');}),_0x53977e['view']['scrollToTheSelection'](),!0x0);}['_defineSchema'](){const {schema:_0x5f34c3}=this['editor']['model'],_0x28814e=this['editor']['config']['get']('footnotes.multiBlock');_0x5f34c3['register']('footnoteRef',{'inheritAllFrom':'$inlineObject','allowAttributes':['footnoteId','footnoteCounter']}),_0x5f34c3['register']('footnotesDefinitions',{'inheritAllFrom':'$blockObject','allowChildren':['footnoteDefinition']}),_0x5f34c3['register']('footnoteDefinition',{'allowAttributes':['footnoteId'],'disallowAttributes':['listItemId'],'isLimit':!0x0}),_0x28814e?_0x5f34c3['extend']('footnoteDefinition',{'allowContentOf':'$container'}):_0x5f34c3['register']('footnoteInlineContent',{'allowIn':'footnoteDefinition','allowContentOf':'$block','isLimit':!0x0}),_0x5f34c3['addChildCheck'](_0x5325dd=>{for(const _0x1d26d5 of _0x5325dd)if('footnoteDefinition'===_0x1d26d5['name'])return!0x1;},'footnoteRef');}['_defineRefsConverters'](){const {editor:_0x3444a0}=this,{conversion:_0x18d355,editing:_0xc543a1}=_0x3444a0,{t:t}=_0x3444a0['locale'];_0x18d355['for']('upcast')['elementToElement']({'view':{'name':'sup','classes':'footnote'},'model':(_0x230665,{writer:_0x19d4f9,consumable:_0x1f9e98})=>{const _0x21f3e6=_0x230665['getChild'](0x0);if(!_0x21f3e6||!_0x21f3e6['is']('element','a'))return null;const _0x8698fd=_0x21f3e6['getAttribute']('href')||'';if(!_0x8698fd['startsWith']('#'))return null;const _0x42ae13=_0x8698fd['replace'](/^#/,'');if(!_0x42ae13)return null;_0x1f9e98['consume'](_0x21f3e6,{'name':!0x0,'attributes':['href']});for(const {item:_0x4911c9}of _0xc543a1['view']['createRangeIn'](_0x21f3e6))_0x4911c9['is']('$textProxy')?_0x1f9e98['consume'](_0x4911c9['textNode'],{'name':!0x0}):_0x4911c9['is']('element')&&_0x1f9e98['consume'](_0x4911c9,{'name':!0x0});return _0x19d4f9['createElement']('footnoteRef',{'footnoteId':_0x42ae13});}}),_0x18d355['for']('dataDowncast')['elementToElement']({'model':{'name':'footnoteRef','attributes':['footnoteId','footnoteCounter']},'view':(_0xd5e7c6,{writer:_0x22f596})=>b(_0xd5e7c6,_0x22f596)}),_0x18d355['for']('editingDowncast')['elementToElement']({'model':{'name':'footnoteRef','attributes':['footnoteId','footnoteCounter']},'view':(_0x1b9ca5,{writer:_0x183076})=>{const _0x253bdd=_0x1b9ca5['getAttribute']('footnoteCounter');return _0xb83a9(b(_0x1b9ca5,_0x183076),_0x183076,{'label':t('Footnote\x20%0.\x20Press\x20ENTER\x20to\x20jump\x20to\x20footnote\x20definition.',_0x253bdd)});}});}['_defineDefinitionsConverters'](){const {editor:_0x180020}=this,{t:t}=_0x180020['locale'],{conversion:_0x3403ba}=_0x180020;_0x3403ba['for']('upcast')['elementToElement']({'view':{'name':'div','classes':'footnotes'},'model':'footnotesDefinitions'}),_0x3403ba['for']('upcast')['add'](_0x3d5d46=>{_0x3d5d46['on']('element:ol',(_0x542018,_0x31a656,_0x53a3e4)=>{const _0x899d1b=_0x31a656['viewItem'];if(!_0x899d1b['hasClass']('footnotes-list')||!_0x31a656['modelCursor']['parent']?.['is']('element','footnotesDefinitions'))return;if(!_0x53a3e4['consumable']['consume'](_0x899d1b,{'name':!0x0,'classes':'footnotes-list'}))return;const {modelRange:_0x2f7171,modelCursor:_0x12cb11}=_0x53a3e4['convertChildren'](_0x31a656['viewItem'],_0x31a656['modelCursor']);_0x31a656['modelRange']=_0x2f7171,_0x31a656['modelCursor']=_0x12cb11;}),_0x3d5d46['on']('element:hr',(_0x5cf7c4,_0x38e32f,_0x4292bf)=>{const _0x1f6654=_0x38e32f['viewItem'];_0x1f6654['hasClass']('footnotes-divider')&&_0x38e32f['modelCursor']['parent']?.['is']('element','footnotesDefinitions')&&_0x4292bf['consumable']['consume'](_0x1f6654,{'name':!0x0,'classes':'footnotes-divider'});});}),_0x3403ba['for']('dataDowncast')['elementToStructure']({'model':'footnotesDefinitions','view':(_0x4376df,{writer:_0xb02364})=>D(_0xb02364)}),_0x3403ba['for']('editingDowncast')['elementToStructure']({'model':'footnotesDefinitions','view':(_0x148364,{writer:_0x5222cb})=>{const _0x1acf58=D(_0x5222cb,{'data-footnotes-list-label':t('Footnotes')}),_0x256d79=_0xb83a9(_0x1acf58,_0x5222cb,{'hasSelectionHandle':!0x0,'label':t('Footnotes')});return _0x5222cb['setCustomProperty']('footnotesDefinitions',!0x0,_0x256d79),_0x256d79;}});}['_defineDefinitionConverters'](){const {editor:_0x59fcb5}=this,{conversion:_0x9c5b3c,locale:_0x3edc50}=_0x59fcb5,_0x2752fa=_0x59fcb5['config']['get']('footnotes.multiBlock');_0x9c5b3c['for']('upcast')['add'](_0x5d35ba=>{_0x5d35ba['on']('element:li',(_0x3bca1a,_0x4adbbd,_0x169e84)=>{const _0x238132=_0x4adbbd['viewItem'];if(!_0x238132['hasClass']('footnote-definition')||!_0x238132['getAttribute']('id'))return;const _0x487648=_0x238132['parent'];if(!_0x487648['is']('element','ol')||!_0x487648['hasClass']('footnotes-list'))return;if(!_0x169e84['consumable']['test'](_0x238132,{'name':!0x0,'attributes':'id','classes':'footnote-definition'}))return;const _0x5e62c6=_0x169e84['writer']['createElement']('footnoteDefinition',{'footnoteId':_0x238132['getAttribute']('id')});if(!_0x169e84['safeInsert'](_0x5e62c6,_0x4adbbd['modelCursor']))return;_0x169e84['consumable']['consume'](_0x238132,{'name':!0x0,'attributes':'id','classes':'footnote-definition'});const _0x5a4b51=Array['from'](_0x238132['getChildren']())['find'](_0x1f6bbf=>_0x1f6bbf['is']('element')&&_0x1f6bbf['hasClass']('footnote-content'));for(const _0x2f9fe1 of _0x238132['getChildren']())_0x2f9fe1['is']('element')&&(_0x169e84['consumable']['consume'](_0x2f9fe1,{'name':!0x0,'classes':'footnote-backlink','attributes':'href'}),_0x169e84['consumable']['consume'](_0x2f9fe1,{'name':!0x0,'classes':'footnote-content'}));if(_0x5a4b51){if(_0x2752fa)_0x169e84['convertChildren'](_0x5a4b51,_0x5e62c6);else{const _0x4627fa=_0x169e84['writer']['createElement']('footnoteInlineContent');_0x169e84['writer']['insert'](_0x4627fa,_0x5e62c6),_0x169e84['convertChildren'](_0x5a4b51,_0x4627fa);}}_0x169e84['updateConversionResult'](_0x5e62c6,_0x4adbbd);});}),_0x9c5b3c['for']('dataDowncast')['elementToStructure']({'model':{'name':'footnoteDefinition','attributes':['footnoteId']},'view':(_0x472298,{writer:_0xa1b13d})=>y(_0x472298,_0xa1b13d,_0x3edc50,{'dataPipeline':!0x0})}),_0x9c5b3c['for']('editingDowncast')['elementToStructure']({'model':{'name':'footnoteDefinition','attributes':['footnoteId']},'view':(_0x2c26da,{writer:_0xfb4cb7})=>y(_0x2c26da,_0xfb4cb7,_0x3edc50)});}['_defineBogusParagraphConverters'](){const {editor:_0x3d9ade}=this,{conversion:_0x526932}=_0x3d9ade;_0x3d9ade['config']['get']('footnotes.multiBlock')?(_0x526932['for']('editingDowncast')['elementToElement']({'model':'paragraph','view':p(),'converterPriority':'high'}),_0x526932['for']('dataDowncast')['elementToElement']({'model':'paragraph','view':p({'dataPipeline':!0x0}),'converterPriority':'high'}),this['listenTo'](_0x3d9ade['model']['document'],'change:data',()=>{!function(_0x177493,_0x4c6ea0){const _0x12bde1=_0x177493['document']['differ'],_0x599449=new Set();for(const _0xd0dfa of _0x12bde1['getChanges']()){const _0xd717e0='attribute'==_0xd0dfa['type']?_0xd0dfa['range']['start']['parent']:_0xd0dfa['position']['parent'];_0xd717e0['is']('element','footnoteDefinition')&&_0x599449['add'](_0xd717e0);}for(const _0x45f9f1 of _0x599449['values']()){const _0x145242=Array['from'](_0x45f9f1['getChildren']())['filter'](_0x986149=>v(_0x986149,_0x4c6ea0['mapper']));for(const _0x46abf6 of _0x145242)_0x4c6ea0['reconvertItem'](_0x46abf6);}}(_0x3d9ade['model'],_0x3d9ade['editing']);})):(_0x526932['for']('editingDowncast')['elementToElement']({'model':'footnoteInlineContent','view':p()}),_0x526932['for']('dataDowncast')['elementToElement']({'model':'footnoteInlineContent','view':(_0x283d0d,{writer:_0x3c572b})=>{const _0x29c132=_0x3c572b['createContainerElement']('span');return _0x3c572b['setCustomProperty']('dataPipeline:transparentRendering',!0x0,_0x29c132),_0x29c132;}}));}['_defineKeyboardHandlers'](){const {editor:_0x489c77}=this,{editing:_0x369127,t:t}=_0x489c77,_0x4bf116=_0x489c77['model']['document']['selection'];_0x489c77['keystrokes']['set']('Ctrl+Alt+F','insertFootnote'),_0x489c77['accessibility']['addKeystrokeInfos']({'keystrokes':[{'label':t('Insert\x20footnote'),'keystroke':'Ctrl+Alt+F'}]}),this['listenTo'](_0x369127['view']['document'],'enter',(_0x51e2f0,_0xbc5a2e)=>{const _0x25d4d1=function(_0x292433){const _0x252652=_0x292433['getSelectedElement']();if(_0x252652?.['is']('element','footnoteRef'))return _0x252652;return null;}(_0x4bf116);if(_0x25d4d1){const _0x14e694=_0x25d4d1['getAttribute']('footnoteId');this['_moveSelectionToFootnoteDefinition'](_0x14e694),_0xbc5a2e['preventDefault'](),_0x51e2f0['stop']();}},{'context':_0xc67125});}['_defineClickHandlers'](){const {editor:_0x260822}=this,{editing:_0xacb627}=_0x260822;_0x260822['editing']['view']['addObserver'](_0x410daa),_0x260822['editing']['view']['addObserver'](_0x3fed23);let _0x1b5139=!0x1;this['listenTo'](_0xacb627['view']['document'],'pointerdown',(_0x45f0be,_0x5a1c0b)=>{const {target:_0x1db151}=_0x5a1c0b,_0x3b1d20=_0xacb627['view']['document']['selection'];_0x1b5139=!!(_0x1db151?.['is']('element','a')&&_0x1db151['parent']?.['is']('element','sup')&&_0x1db151['parent']['hasClass']('footnote'))&&_0x3b1d20['getSelectedElement']()===_0x1db151['parent'];},{'priority':'high'}),this['listenTo'](_0xacb627['view']['document'],'click',(_0xb2c40,_0x4c8ef7)=>{const {target:_0x2f1bc7}=_0x4c8ef7;if(!_0x2f1bc7?.['is']('element','a'))return;if(_0x2f1bc7['parent']?.['is']('element','sup')&&_0x2f1bc7['parent']['hasClass']('footnote')&&!_0x1b5139)return void _0x4c8ef7['preventDefault']();let _0x291fac=_0x2f1bc7['getAttribute']('href');if(!_0x291fac?.['startsWith']('#'))return;_0x291fac=_0x291fac['slice'](0x1);let _0x15562c=!0x1;(_0x291fac['startsWith']('ref-')&&this['_moveSelectionToFootnoteReference'](_0x291fac['slice'](0x4))||this['_moveSelectionToFootnoteDefinition'](_0x291fac))&&(_0x15562c=!0x0),_0x15562c&&(_0x4c8ef7['preventDefault'](),_0xb2c40['stop']());},{'priority':'high','context':'$capture'});}}function p({dataPipeline:_0x2eec7b}={}){return(_0x55ed48,{writer:_0x2814b5})=>{if(!g(_0x55ed48))return null;if(!_0x2eec7b)return _0x2814b5['createContainerElement']('span',{'class':'ck-footnote-bogus-paragraph'});const _0x274eaf=_0x2814b5['createContainerElement']('p');return _0x2814b5['setCustomProperty']('dataPipeline:transparentRendering',!0x0,_0x274eaf),_0x274eaf;};}function g(_0x82cfb3){const {parent:_0x2c27af}=_0x82cfb3;if(!_0x2c27af?.['is']('element','footnoteDefinition'))return!0x1;if(0x1!=_0x2c27af['childCount'])return!0x1;for(const _0x13f887 of _0x82cfb3['getAttributeKeys']())if(!_0x13f887['startsWith']('selection:')&&'htmlEmptyBlock'!=_0x13f887)return!0x1;return!0x0;}function v(_0x531cb9,_0x172470){if(!_0x531cb9['is']('element','paragraph'))return!0x1;const _0xcab433=_0x172470['toViewElement'](_0x531cb9);return!!_0xcab433&&g(_0x531cb9)!==_0xcab433['is']('element','span');}function H(_0x1733ff){return _0xc67125(_0x1733ff)&&_0x1733ff['is']('containerElement')&&!!_0x1733ff['getCustomProperty']('footnotesDefinitions');}function D(_0x2b432b,_0x44857b={}){const _0x442fb8=_0x2b432b['createEmptyElement']('hr',{'class':'footnotes-divider'}),_0xde7235=_0x2b432b['createContainerElement']('ol',{'class':'footnotes-list'},_0x2b432b['createSlot']());return _0x2b432b['createContainerElement']('div',{'class':'footnotes',..._0x44857b},[_0x442fb8,_0xde7235]);}function b(_0x8fefe0,_0x37db7a){const _0x3f61da=_0x8fefe0['getAttribute']('footnoteId'),_0x8c231c=_0x8fefe0['getAttribute']('footnoteCounter'),_0x15c636=_0x37db7a['createUIElement']('a',{'href':'#'+_0x3f61da},function(_0x1dc4be){const _0x5c1387=this['toDomElement'](_0x1dc4be);return _0x5c1387['textContent']=_0x8c231c,_0x5c1387;}),_0x16cd1e=_0x37db7a['createContainerElement']('sup',{'id':'ref-'+_0x3f61da,'class':'footnote'},[_0x15c636]);return _0x16cd1e['getFillerOffset']=()=>null,_0x16cd1e;}function y(_0x577356,_0x2887a1,_0x7e221,{dataPipeline:_0x12af1b}={}){const {t:t}=_0x7e221,_0x2d4378=_0x577356['getAttribute']('footnoteId'),_0x1466ad=_0x2887a1['createUIElement']('a',{'class':'footnote-backlink','href':'#ref-'+_0x2d4378},function(_0x21862d){const _0xe97200=this['toDomElement'](_0x21862d);return _0xe97200['innerText']='^',_0xe97200;}),_0x214f48=_0x12af1b?_0x2887a1['createContainerElement']('div',{'class':'footnote-content'}):_0x1a34c6(_0x2887a1['createEditableElement']('div',{'class':'footnote-content'}),_0x2887a1,{'label':t('Footnote\x20content.')});return _0x2887a1['insert'](_0x2887a1['createPositionAt'](_0x214f48,0x0),_0x2887a1['createSlot']()),_0x2887a1['createContainerElement']('li',{'class':'footnote-definition','id':_0x2d4378},[_0x1466ad,_0x214f48]);}class e extends _0x1e86fb{static get['pluginName'](){return'FootnotesClipboard';}static get['requires'](){return[r,_0x4cb0d0];}static get['isOfficialPlugin'](){return!0x0;}static get['isPremiumPlugin'](){return!0x0;}['init'](){this['_defineClipboardIntegration']();}['_defineClipboardIntegration'](){this['_handleCopyFootnotesDefinitions'](),this['_handlePasteFootnotesDefinitions']();}['_handleCopyFootnotesDefinitions'](){const {editor:_0x50c3aa}=this,{plugins:_0x5aff5a,model:_0x35c7fb}=_0x50c3aa,_0x468e0f=_0x5aff5a['get'](_0x4cb0d0),_0x26a4da=_0x5aff5a['get'](f);this['listenTo'](_0x468e0f,'outputTransformation',(_0x1635cc,_0x20da5a)=>{const _0x52e489=l(_0x35c7fb['createRangeIn'](_0x20da5a['content']));if(!_0x52e489['length'])return;const _0x7d5cf0=_0x26a4da['getFootnotes'](),_0x13f9a1=_0x52e489['reduce']((_0x58f589,_0x22fd99)=>{const _0x4e655a=_0x7d5cf0['find'](_0x1d14a5=>_0x1d14a5['id']===_0x22fd99);if(_0x4e655a){const _0x17d081=_0x50c3aa['data']['toView'](_0x4e655a['definition'],{'isClipboardPipeline':!0x0}),_0x10f397=_0x50c3aa['data']['htmlProcessor']['toData'](_0x17d081);_0x58f589[_0x4e655a['id']]=_0x10f397;}return _0x58f589;},Object['create'](null));_0x20da5a['dataTransfer']['setData']('application/ckeditor5-footnotes',JSON['stringify'](_0x13f9a1));});}['_handlePasteFootnotesDefinitions'](){const {editor:_0x13975d}=this,{model:_0x4db3b1,plugins:_0x23cb17}=_0x13975d,{view:_0x10a15a}=_0x13975d['editing'],_0xee4676=_0x23cb17['get'](_0x4cb0d0),_0x3611ec=_0x23cb17['get'](f),_0x5bc6d9=_0x13975d['config']['get']('footnotes.multiBlock');let _0x222ffb=null;this['listenTo'](_0x10a15a['document'],'clipboardInput',(_0x28b801,_0x128087)=>{const _0x3ba025=_0x128087['dataTransfer']['getData']('application/ckeditor5-footnotes');_0x222ffb=_0x3ba025?JSON['parse'](_0x3ba025):null;}),this['listenTo'](_0xee4676,'contentInsertion',(_0x15c09e,_0x318618)=>{const _0x2a2282=_0x318618['sourceEditorId']===this['editor']['id'];_0x2a2282&&'drop'===_0x318618['method']||_0x4db3b1['change'](_0x4d5e44=>{let _0x111b37=_0x3611ec['getFootnotesDefinitionsObjectElement']();const _0x1167c7=!!_0x111b37&&Array['from'](_0x4db3b1['document']['selection']['getSelectedBlocks']())['includes'](_0x111b37);if(!_0x222ffb&&function(_0x36101c){for(const {item:_0x594d5f}of _0x36101c)if(_0x594d5f['is']('element','footnoteRef'))return!0x0;return!0x1;}(_0x4db3b1['createRangeIn'](_0x318618['content']))&&(_0x222ffb=function(_0x23059c,_0xecba3e){const _0x108f68=c(_0x23059c,_0xecba3e);if(!_0x108f68)return null;const _0x361030=Object['create'](null);for(const _0x65f076 of _0x108f68['getChildren']())_0x65f076['is']('element','footnoteDefinition')&&_0x65f076['hasAttribute']('footnoteId')&&(_0x361030[_0x65f076['getAttribute']('footnoteId')]=_0x23059c['cloneElement'](_0x65f076,!0x0));return Object['keys'](_0x361030)['length']?_0x361030:null;}(_0x4d5e44,_0x318618['content'])),(_0x111b37&&!_0x1167c7||!_0x111b37&&!_0x222ffb)&&function(_0x11ffb3,_0x1303bb){const _0x55aaf3=[];for(const {item:_0x1a9b0d}of _0x11ffb3['createRangeIn'](_0x1303bb))_0x1a9b0d['is']('element','footnotesDefinitions')&&_0x55aaf3['push'](_0x1a9b0d);for(const _0x50a615 of _0x55aaf3)_0x11ffb3['remove'](_0x50a615);}(_0x4d5e44,_0x318618['content']),!_0x222ffb)return;const {selection:_0x1c72b4}=_0x4db3b1['document'],_0x26cf99=_0x1c72b4['getFirstRange']()['root'];_0x111b37&&!_0x1167c7||(_0x111b37=c(_0x4d5e44,_0x318618['content']),_0x111b37||=_0x3611ec['_insertEmptyFootnotesDefinitionsContainer'](_0x4d5e44,_0x26cf99));const _0x31dbf8=Array['from'](_0x1c72b4['getRanges']())['flatMap'](l),_0x4a6a00=function(_0x111e5b,_0x1d84c0,_0x4853c9){const _0x10ea9f=Object['create'](null);for(const {item:_0x312c33}of _0x111e5b['createRangeIn'](_0x1d84c0))if(_0x312c33['is']('element','footnoteRef')){const _0x5a1d1b=_0x312c33['getAttribute']('footnoteId');if(!_0x4853c9(_0x5a1d1b))continue;_0x10ea9f[_0x5a1d1b]||(_0x10ea9f[_0x5a1d1b]=_0x3683aa()),_0x111e5b['setAttribute']('footnoteId',_0x10ea9f[_0x5a1d1b],_0x312c33);}return _0x10ea9f;}(_0x4d5e44,_0x318618['content'],_0x489195=>{if(!_0x2a2282)return!0x0;return!!_0x3611ec['getFootnote'](_0x489195)&&!_0x31dbf8['includes'](_0x489195);});for(const [_0x10295a,_0x44cef5]of Object['entries'](_0x222ffb)){const _0x471b7d=_0x4a6a00[_0x10295a]||_0x10295a;let _0x297e4f;if('string'!=typeof _0x44cef5)_0x297e4f=_0x44cef5,_0x471b7d!==_0x10295a&&_0x4d5e44['setAttribute']('footnoteId',_0x471b7d,_0x297e4f);else{_0x297e4f=_0x4d5e44['createElement']('footnoteDefinition',{'footnoteId':_0x471b7d});const _0x3d07f7=_0x13975d['data']['htmlProcessor']['toView'](_0x44cef5);let _0xa1ad47;if(_0x5bc6d9)_0xa1ad47=_0x13975d['data']['toModel'](_0x3d07f7,_0x297e4f);else{_0xa1ad47=_0x4d5e44['createElement']('footnoteInlineContent');const _0xe6c31b=_0x13975d['data']['toModel'](_0x3d07f7,_0xa1ad47);_0x4d5e44['insert'](_0xe6c31b,_0xa1ad47);}_0x4d5e44['append'](_0xa1ad47,_0x297e4f);}_0x4d5e44['insert'](_0x297e4f,_0x111b37,'end');}_0x222ffb=null;});});}}function c(_0x2e4bc4,_0xb8bc1f){for(const {item:_0x30ad36}of _0x2e4bc4['createRangeIn'](_0xb8bc1f))if(_0x30ad36['is']('element','footnotesDefinitions'))return _0x30ad36;return null;}function l(_0xdd86ba){const _0x56b42c=new Set();for(const {item:_0x2fa4d6}of _0xdd86ba)_0x2fa4d6['is']('element','footnoteRef')&&_0x56b42c['add'](_0x2fa4d6['getAttribute']('footnoteId'));return Array['from'](_0x56b42c);}class i extends _0x1e86fb{['licenseKey'];['_licenseKeyCheckInterval'];static get['pluginName'](){return'FootnotesUI';}static get['isOfficialPlugin'](){return!0x0;}static get['isPremiumPlugin'](){return!0x0;}['init'](){const {editor:_0x271a51}=this,{componentFactory:_0xe06b5a}=_0x271a51['ui'];_0xe06b5a['add']('insertFootnote',E(_0x271a51,_0x1d9f7f)),_0xe06b5a['add']('menuBar:insertFootnote',E(_0x271a51,_0x4cacf7)),this['licenseKey']=this['editor']['config']['get']('licenseKey');const _0xd50a73=this['editor'];this['_licenseKeyCheckInterval']=setInterval(()=>{let _0x49701e;for(const _0x36b711 in _0xd50a73){const _0x4d16af=_0x36b711,_0x133f5e=_0xd50a73[_0x4d16af];if('footnotesLicenseKeyValid'==_0x133f5e||'footnotesLicenseKeyInvalid'==_0x133f5e||'footnotesLicenseKeyExpired'==_0x133f5e||'footnotesLicenseKeyDomainLimit'==_0x133f5e||'footnotesLicenseKeyNotAllowed'==_0x133f5e||'footnotesLicenseKeyEvaluationLimit'==_0x133f5e||'footnotesLicenseKeyUsageLimit'==_0x133f5e){delete _0xd50a73[_0x4d16af],_0x49701e=_0x133f5e,clearInterval(this['_licenseKeyCheckInterval']),this['_licenseKeyCheckInterval']=void 0x0;break;}}'footnotesLicenseKeyInvalid'==_0x49701e&&_0xd50a73['_showLicenseError']('invalid'),'footnotesLicenseKeyExpired'==_0x49701e&&_0xd50a73['_showLicenseError']('expired'),'footnotesLicenseKeyDomainLimit'==_0x49701e&&_0xd50a73['_showLicenseError']('domainLimit'),'footnotesLicenseKeyNotAllowed'==_0x49701e&&_0xd50a73['_showLicenseError']('featureNotAllowed','Footnotes'),'footnotesLicenseKeyEvaluationLimit'==_0x49701e&&_0xd50a73['_showLicenseError']('evaluationLimit'),'footnotesLicenseKeyUsageLimit'==_0x49701e&&_0xd50a73['_showLicenseError']('usageLimit');},0x3e8);}['destroy'](){super['destroy'](),this['_licenseKeyCheckInterval']&&clearInterval(this['_licenseKeyCheckInterval']);}}function E(_0x39b296,_0x3ef6b8){const _0x25ad4c=_0x39b296['commands']['get']('insertFootnote');return _0x486611=>{const {t:t}=_0x486611,_0x572de3=new _0x3ef6b8(_0x486611),_0x5f4be7=_0x572de3 instanceof _0x4cacf7;return _0x572de3['bind']('isEnabled')['to'](_0x25ad4c,'isEnabled'),_0x572de3['set']({'label':t(_0x5f4be7?'Footnote':'Insert\x20footnote'),'icon':_0x4d42b6,'tooltip':!0x0}),_0x572de3['on']('execute',()=>{_0x25ad4c['execute'](),_0x39b296['editing']['view']['focus']();}),_0x572de3;};}class lt extends _0x1e86fb{static get['pluginName'](){return'Footnotes';}static get['requires'](){return[r,e,i];}static get['isOfficialPlugin'](){return!0x0;}static get['isPremiumPlugin'](){return!0x0;}}const W=['decimal','decimal-leading-zero','lower-latin','upper-latin','lower-alpha','upper-alpha','lower-roman','upper-roman'];class S extends _0xc972ff{['refresh'](){const {editor:_0x3f0b98}=this,_0x2cfc89=_0x3f0b98['plugins']['get'](f)['getFootnotesDefinitionsObjectElement']();this['isEnabled']=!!_0x2cfc89,this['value']=_0x2cfc89?.['getAttribute']('footnotesListStyle')??null;}['execute']({value:_0x5115a9}){const {editor:_0x276d86}=this,_0x50b8a6=_0x276d86['plugins']['get'](f),_0x203947=_0x50b8a6['getFootnotesDefinitionsObjectElement']();_0x203947&&W['includes'](_0x5115a9)&&_0x276d86['model']['change'](_0x4cb680=>{_0x4cb680['setAttribute']('footnotesListStyle',_0x5115a9,_0x203947),_0x50b8a6['_updateFootnotesCounters'](_0x4cb680);});}}class C extends _0xc972ff{['refresh'](){const {editor:_0x4b920f}=this,_0x306ff9=_0x4b920f['plugins']['get'](f)['getFootnotesDefinitionsObjectElement']();this['isEnabled']=!!_0x306ff9,this['value']=_0x306ff9?.['getAttribute']('footnotesListStart')??null;}['execute']({value:_0x344b5b}){const {editor:_0x4186e4}=this,_0x4e1171=_0x4186e4['plugins']['get'](f),_0x33b58f=_0x4e1171['getFootnotesDefinitionsObjectElement']();_0x33b58f&&Number['isInteger'](_0x344b5b)&&_0x4186e4['model']['change'](_0x44391c=>{_0x44391c['setAttribute']('footnotesListStart',_0x344b5b,_0x33b58f),_0x4e1171['_updateFootnotesCounters'](_0x44391c);});}}class P extends _0x1e86fb{static get['pluginName'](){return'FootnotesPropertiesEditing';}static get['requires'](){return[r,f];}static get['isOfficialPlugin'](){return!0x0;}static get['isPremiumPlugin'](){return!0x0;}['init'](){const {editor:_0x130539}=this;_0x130539['config']['define']('footnotes.footnotesProperties.defaultListStyle','decimal'),_0x130539['config']['define']('footnotes.footnotesProperties.defaultStartIndex',0x1),_0x130539['commands']['add']('footnotesStyle',new S(_0x130539)),_0x130539['commands']['add']('footnotesStart',new C(_0x130539)),this['_defineSchema'](),this['_defineConverters'](),this['_defineFormatter'](),this['_definePostfixer']();}['_defineSchema'](){const {editor:_0x5e6ccd}=this,{schema:_0x58e31c}=_0x5e6ccd['model'];_0x58e31c['extend']('footnotesDefinitions',{'allowAttributes':['footnotesListStyle','footnotesListStart']});}['_defineConverters'](){const {editor:_0x3e599a}=this,{conversion:_0x1680c4,model:_0x17fd7d}=_0x3e599a,{schema:_0x2989f3}=_0x17fd7d;_0x1680c4['for']('upcast')['add'](_0x90b8e=>{_0x90b8e['on']('element:ol',(_0x1a64e2,_0x17504f,_0x576c29)=>{const _0x56a08e=_0x17504f['viewItem'],_0x18d135=_0x17504f['modelCursor']?.['parent'];_0x56a08e['hasClass']('footnotes-list')&&_0x18d135?.['is']('element','footnotesDefinitions')&&(function(_0x185635,_0x50bdb7,_0x245b09,_0xbac49a){if(!_0xbac49a['checkAttribute'](_0x50bdb7,'footnotesListStart'))return;let _0x244c89=0x1;const _0x1423c2=_0x245b09['consumable']['consume'](_0x185635,{'attributes':'start'});if(_0x1423c2){const _0x2c019c=Number['parseInt'](_0x185635['getAttribute']('start'),0xa);Number['isNaN'](_0x2c019c)||(_0x244c89=_0x2c019c);}!_0x1423c2&&_0x50bdb7['hasAttribute']('footnotesListStart')||_0x245b09['writer']['setAttribute']('footnotesListStart',_0x244c89,_0x50bdb7);}(_0x56a08e,_0x18d135,_0x576c29,_0x2989f3),function(_0x46f613,_0x44404c,_0x4b97ce,_0x34b8f7){if(!_0x34b8f7['checkAttribute'](_0x44404c,'footnotesListStyle'))return;let _0x3c63c9='decimal',_0x277eff=!0x1;if(_0x4b97ce['consumable']['consume'](_0x46f613,{'attributes':'type'})){const _0xcaad29={0x1:'decimal','a':'lower-alpha','A':'upper-alpha','i':'lower-roman','I':'upper-roman'}[_0x46f613['getAttribute']('type')];_0xcaad29&&(_0x3c63c9=_0xcaad29),_0x277eff=!0x0;}_0x4b97ce['consumable']['consume'](_0x46f613,{'styles':'list-style-type'})&&(_0x3c63c9=function(_0x518f45){switch(_0x518f45){case'lower-alpha':return'lower-latin';case'upper-alpha':return'upper-latin';default:return _0x518f45;}}(_0x46f613['getStyle']('list-style-type')),_0x277eff=!0x0),!_0x277eff&&_0x44404c['hasAttribute']('footnotesListStyle')||_0x4b97ce['writer']['setAttribute']('footnotesListStyle',_0x3c63c9,_0x44404c);}(_0x56a08e,_0x18d135,_0x576c29,_0x2989f3));});}),_0x1680c4['for']('downcast')['add'](_0x1dd087=>{_0x1dd087['on']('attribute:footnotesListStart:footnotesDefinitions',(_0x325a68,_0x34614c,_0x1d17a6)=>{if(!_0x1d17a6['consumable']['consume'](_0x34614c['item'],_0x325a68['name']))return;const _0x2e715c=M(_0x34614c['item'],_0x1d17a6['mapper']),{attributeNewValue:_0x39d129}=_0x34614c;null==_0x39d129||0x1===_0x39d129?_0x1d17a6['writer']['removeAttribute']('start',_0x2e715c):_0x1d17a6['writer']['setAttribute']('start',String(_0x39d129),_0x2e715c);}),_0x1dd087['on']('attribute:footnotesListStyle:footnotesDefinitions',(_0x55bd74,_0x36026c,_0x749482)=>{if(!_0x749482['consumable']['consume'](_0x36026c['item'],_0x55bd74['name']))return;const _0x4c6495=M(_0x36026c['item'],_0x749482['mapper']),{attributeNewValue:_0x31848d}=_0x36026c;_0x31848d&&'decimal'!==_0x31848d?_0x749482['writer']['setStyle']('list-style-type',_0x31848d,_0x4c6495):_0x749482['writer']['removeStyle']('list-style-type',_0x4c6495);});});}['_definePostfixer'](){const {editor:_0x65c65a}=this,{model:_0x2864ce}=_0x65c65a,_0x49e5c4=_0x65c65a['plugins']['get'](f),_0x22241d=this['_getDefaultListStyle'](),_0x5bfc35=this['_getDefaultStartIndex']();_0x2864ce['document']['registerPostFixer'](_0x3fa0d3=>{const _0x7f0ec9=_0x2864ce['document']['differ']['getChanges']();let _0x59e7e6=!0x1;for(const _0x541beb of _0x7f0ec9){if('insert'!==_0x541beb['type']||'$text'===_0x541beb['name'])continue;const _0x45f474=_0x2864ce['createRangeOn'](_0x541beb['position']['nodeAfter']);for(const _0x4d14a0 of _0x45f474['getItems']())_0x4d14a0['is']('element','footnotesDefinitions')&&(!_0x4d14a0['hasAttribute']('footnotesListStart')&&_0x2864ce['schema']['checkAttribute'](_0x4d14a0,'footnotesListStart')&&(_0x3fa0d3['setAttribute']('footnotesListStart',_0x5bfc35,_0x4d14a0),_0x59e7e6=!0x0),!_0x4d14a0['hasAttribute']('footnotesListStyle')&&_0x2864ce['schema']['checkAttribute'](_0x4d14a0,'footnotesListStyle')&&(_0x3fa0d3['setAttribute']('footnotesListStyle',_0x22241d,_0x4d14a0),_0x59e7e6=!0x0));}return _0x59e7e6&&_0x49e5c4['_updateFootnotesCounters'](_0x3fa0d3),_0x59e7e6;});}['_defineFormatter'](){const {editor:_0x37323b}=this;_0x37323b['plugins']['get'](f)['setFootnoteFormatter'](_0x5c04bc=>this['_formatFootnoteListValue'](_0x5c04bc));}['_getDefaultListStyle'](){return this['editor']['config']['get']('footnotes.footnotesProperties.defaultListStyle');}['_getDefaultStartIndex'](){return this['editor']['config']['get']('footnotes.footnotesProperties.defaultStartIndex');}['_formatFootnoteListValue']({container:_0x579e3d,value:_0x5ab7d2,digits:_0x2c0c98}){const _0x39e634=_0x579e3d['getAttribute']('footnotesListStyle'),_0x43feee=_0x579e3d['getAttribute']('footnotesListStart'),_0x33e635=Math['floor'](_0x5ab7d2)+(_0x43feee??0x1)-0x1;switch(_0x39e634){case'decimal-leading-zero':return function(_0x24ad84,_0x2abce8){return String(_0x24ad84)['padStart'](_0x2abce8,'0');}(_0x33e635,Math['max'](0x2,_0x2c0c98));case'lower-alpha':case'lower-latin':return N(_0x33e635,!0x1);case'upper-alpha':case'upper-latin':return N(_0x33e635,!0x0);case'lower-roman':return X(_0x33e635,!0x1);case'upper-roman':return X(_0x33e635,!0x0);default:return String(_0x33e635);}}}function M(_0x47ea58,_0x4fe4f7){const _0x1db4e1=_0x4fe4f7['toViewElement'](_0x47ea58);return Array['from'](_0x1db4e1['getChildren']())['find'](_0x334271=>_0x334271['is']('element','ol')&&_0x334271['hasClass']('footnotes-list'));}function N(_0x246418,_0x57bdff){let _0x109ca5='',_0x57ec27=_0x246418;for(;_0x57ec27>0x0;){const _0x33d67b=(_0x57ec27-0x1)%0x1a;_0x109ca5=String['fromCharCode'](0x61+_0x33d67b)+_0x109ca5,_0x57ec27=Math['floor']((_0x57ec27-0x1)/0x1a);}return _0x57bdff?_0x109ca5['toUpperCase']():_0x109ca5;}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(_0x164f2d,_0x578107){let _0x5b9b11='',_0x44e884=_0x164f2d;for(const {value:_0x24ccf4,numeral:_0x8f0241}of V)for(;_0x44e884>=_0x24ccf4;)_0x5b9b11+=_0x8f0241,_0x44e884-=_0x24ccf4;return _0x578107?_0x5b9b11:_0x5b9b11['toLowerCase']();}class $ extends _0x256419{['children'];['stylesView']=null;['additionalProperties']=null;['startIndexFieldView']=null;['focusTracker']=new rt();['keystrokes']=new nt();['focusables']=new _0x1f5a9c();['focusCycler'];constructor(_0x57fc96,{styleButtonViews:_0x42ab8d,styleGridAriaLabel:_0x384c76}){super(_0x57fc96),(this['focusCycler']=new tt({'focusables':this['focusables'],'focusTracker':this['focusTracker'],'keystrokeHandler':this['keystrokes'],'actions':{'focusPrevious':'shift\x20+\x20tab','focusNext':'tab'}}),this['children']=this['createCollection'](),this['stylesView']=this['_appendStylesView'](_0x42ab8d,_0x384c76),[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 _0x49b8d3 of this['stylesView']['children'])this['stylesView']['focusTracker']['add'](_0x49b8d3['element']);st({'keystrokeHandler':this['stylesView']['keystrokes'],'focusTracker':this['stylesView']['focusTracker'],'gridItems':this['stylesView']['children'],'numberOfColumns':()=>at['window']['getComputedStyle'](this['stylesView']['element'])['getPropertyValue']('grid-template-columns')['split']('\x20')['length'],'uiLanguageDirection':this['locale']&&this['locale']['uiLanguageDirection']});}if(this['startIndexFieldView']){this['focusables']['add'](this['startIndexFieldView']),this['focusTracker']['add'](this['startIndexFieldView']['element']);const _0x37cdc9=_0x1dbc06=>_0x1dbc06['stopPropagation']();this['keystrokes']['set']('arrowright',_0x37cdc9),this['keystrokes']['set']('arrowleft',_0x37cdc9),this['keystrokes']['set']('arrowup',_0x37cdc9),this['keystrokes']['set']('arrowdown',_0x37cdc9);}this['keystrokes']['listenTo'](this['element']);}['focus'](){this['focusCycler']['focusFirst']();}['focusLast'](){this['focusCycler']['focusLast']();}['destroy'](){super['destroy'](),this['focusTracker']['destroy'](),this['keystrokes']['destroy']();}['_appendStylesView'](_0x1c128d,_0x4fa336){const _0x32fbb9=new _0x256419(this['locale']);return _0x32fbb9['children']=_0x32fbb9['createCollection'](),_0x32fbb9['children']['addMany'](_0x1c128d),_0x32fbb9['setTemplate']({'tag':'div','attributes':{'aria-label':_0x4fa336,'class':['ck','ck-footnotes-definitions-styles-list']},'children':_0x32fbb9['children']}),_0x32fbb9['children']['delegate']('execute')['to'](this),_0x32fbb9['focus']=function(){for(const _0x2520f6 of this['children'])if(_0x2520f6 instanceof _0x1d9f7f&&_0x2520f6['isOn'])return void _0x2520f6['focus']();this['children']['first']['focus']();},_0x32fbb9['focusTracker']=new rt(),_0x32fbb9['keystrokes']=new nt(),_0x32fbb9['render'](),_0x32fbb9['keystrokes']['listenTo'](_0x32fbb9['element']),this['children']['add'](_0x32fbb9),_0x32fbb9;}['_appendAdditionalPropertiesCollapsibleView'](){const {t:t}=this['locale'],_0x56101c=this['_createStartIndexPropertyView'](),_0x588d06=[_0x56101c],_0x547c2f=new it(this['locale'],_0x588d06);return _0x547c2f['set']({'label':t('Footnotes\x20properties'),'isCollapsed':!0x0}),_0x547c2f['buttonView']['bind']('isEnabled')['toMany'](_0x588d06,'isEnabled',(..._0x5ebd94)=>_0x5ebd94['some'](_0x5ac96e=>_0x5ac96e)),_0x547c2f['buttonView']['on']('change:isEnabled',(_0x283984,_0x42f890,_0x195c62)=>{_0x195c62||(_0x547c2f['isCollapsed']=!0x0);}),this['children']['add'](_0x547c2f),[_0x56101c,_0x547c2f];}['_createStartIndexPropertyView'](){const {t:t}=this['locale'],_0x3e5a54=new et(this['locale'],ot);return _0x3e5a54['set']({'label':t('Footnotes\x20start\x20at'),'class':'ck-footnotes-definitions-properties__start-index'}),_0x3e5a54['fieldView']['set']({'min':0x0,'max':Math['pow'](0x2,0x1e),'step':0x1,'value':0x1,'inputMode':'numeric'}),_0x3e5a54['fieldView']['on']('input',()=>{const _0x788da2=_0x3e5a54['fieldView']['element'],_0x1072ed=_0x788da2['valueAsNumber'];Number['isNaN'](_0x1072ed)?_0x3e5a54['errorText']=t('Invalid\x20footnotes\x20start\x20index\x20value.'):_0x788da2['checkValidity']()?this['fire']('footnotesListStart',{'startIndex':_0x1072ed}):_0x3e5a54['errorText']=t(_0x1072ed<0x0?'Footnotes\x20start\x20index\x20must\x20be\x20greater\x20than\x200.':'Footnotes\x20start\x20index\x20is\x20too\x20large.');}),_0x3e5a54;}}class j extends _0x1e86fb{static get['pluginName'](){return'FootnotesPropertiesUI';}static get['requires'](){return[_0x470bf6,_0x18d705];}static get['isOfficialPlugin'](){return!0x0;}static get['isPremiumPlugin'](){return!0x0;}['init'](){const {editor:_0x4ac350}=this,{componentFactory:_0x1468c1}=_0x4ac350['ui'];_0x4ac350['config']['define']('footnotes.footnotesProperties.toolbar',['footnotesStyle']),_0x1468c1['add']('footnotesStyle',function(_0x124af5){return _0x478122=>{const {t:t}=_0x478122,_0x2e89e0=_0x124af5['commands']['get']('footnotesStyle'),_0x55d3d0=_0x502064(_0x478122),{buttonView:_0x267791}=_0x55d3d0;return _0x55d3d0['class']='ck-footnotes-styles-dropdown',_0x55d3d0['bind']('isEnabled')['to'](_0x2e89e0,'isEnabled'),_0x267791['set']({'label':t('Footnotes\x20style'),'icon':_0x4d42b6,'tooltip':!0x0}),_0x55d3d0['once']('change:isOpen',()=>{const _0x17e761=function({editor:_0x23ee40,dropdownView:_0x156efd}){const {t:t}=_0x23ee40['locale'],_0xe07a40=t('Footnotes\x20definitions\x20styles'),_0x13e7ee=function(_0x46e70e){const t=_0x46e70e['locale']['t'],_0x4159b4=[{'label':t('Toggle\x20the\x20decimal\x20footnotes\x20style'),'tooltip':t('Decimal\x20footnotes'),'style':'decimal','icon':_0x345575},{'label':t('Toggle\x20the\x20decimal\x20with\x20leading\x20zero\x20footnotes\x20style'),'tooltip':t('Decimal\x20footnotes\x20with\x20leading\x20zero'),'style':'decimal-leading-zero','icon':_0xdb55dd},{'label':t('Toggle\x20the\x20lower–roman\x20footnotes\x20style'),'tooltip':t('Lower–roman\x20footnotes'),'style':'lower-roman','icon':_0x2bc98f},{'label':t('Toggle\x20the\x20upper–roman\x20footnotes\x20style'),'tooltip':t('Upper-roman\x20footnotes'),'style':'upper-roman','icon':_0x5abd28},{'label':t('Toggle\x20the\x20lower–latin\x20footnotes\x20style'),'tooltip':t('Lower-latin\x20footnotes'),'style':'lower-latin','icon':_0x3bd6e8},{'label':t('Toggle\x20the\x20upper–latin\x20footnotes\x20style'),'tooltip':t('Upper-latin\x20footnotes'),'style':'upper-latin','icon':_0x29339b}];return _0x4159b4['map'](function(_0x4948f0){const _0x197354=_0x4948f0['locale'];return({label:_0x23f011,icon:_0x221550,tooltip:_0x3d2677,style:_0x368c4d})=>{const _0x515d09=_0x4948f0['commands']['get']('footnotesStyle'),_0x64cd93=new _0x1d9f7f(_0x197354);return _0x64cd93['set']({'label':_0x23f011,'icon':_0x221550,'tooltip':_0x3d2677}),_0x64cd93['bind']('isOn')['to'](_0x515d09,'value',_0x245d14=>_0x245d14===_0x368c4d),_0x64cd93['bind']('isEnabled')['to'](_0x515d09,'isEnabled'),_0x64cd93['on']('execute',()=>{_0x4948f0['execute']('footnotesStyle',{'value':_0x368c4d}),_0x4948f0['editing']['view']['focus']();}),_0x64cd93;};}(_0x46e70e));}(_0x23ee40),_0x401e9b=new $(_0x23ee40['locale'],{'styleGridAriaLabel':_0xe07a40,'styleButtonViews':_0x13e7ee}),_0x10fdf6=_0x23ee40['commands']['get']('footnotesStart');return _0x401e9b['startIndexFieldView']['bind']('isEnabled')['to'](_0x10fdf6),_0x401e9b['startIndexFieldView']['fieldView']['bind']('value')['to'](_0x10fdf6),_0x401e9b['on']('footnotesListStart',(_0x279ddc,_0xa45bb2)=>{_0x23ee40['execute']('footnotesStart',{'value':_0xa45bb2['startIndex']});}),_0x401e9b['delegate']('execute')['to'](_0x156efd),_0x401e9b;}({'editor':_0x124af5,'dropdownView':_0x55d3d0});_0x55d3d0['panelView']['children']['add'](_0x17e761);}),_0x55d3d0;};}(_0x4ac350));}['afterInit'](){const {editor:_0x3e28de}=this,{t:t}=_0x3e28de['locale'],_0x37950c=_0x3e28de['plugins']['get'](_0x18d705),{defaultPositions:_0x259e56}=_0x1808e0;_0x37950c['register']('footnotesDefinitions',{'ariaLabel':t('Footnotes\x20definitions\x20toolbar'),'items':_0x3e28de['config']['get']('footnotes.footnotesProperties.toolbar'),'balloonClassName':'ck-footnotes-style-balloon\x20ck-toolbar-container','getRelatedElement':_0x1af738=>{let _0x21c5ad=_0x1af738['getFirstPosition']()?.['parent'];return _0x21c5ad?.['is']('$text')&&(_0x21c5ad=_0x21c5ad['parent']),_0x21c5ad?.['is']('element')?_0x21c5ad['findAncestor'](H):null;},'positions':[_0x259e56['southArrowNorth'],_0x259e56['southArrowNorthMiddleWest'],_0x259e56['southArrowNorthMiddleEast'],_0x259e56['southArrowNorthWest'],_0x259e56['southArrowNorthEast'],_0x259e56['northArrowSouth'],_0x259e56['northArrowSouthMiddleWest'],_0x259e56['northArrowSouthMiddleEast'],_0x259e56['northArrowSouthWest'],_0x259e56['northArrowSouthEast'],_0x259e56['viewportStickyNorth']]});}}class ft extends _0x1e86fb{static get['pluginName'](){return'FootnotesProperties';}static get['requires'](){return[P,j];}static get['isOfficialPlugin'](){return!0x0;}static get['isPremiumPlugin'](){return!0x0;}}export{lt as Footnotes,e as FootnotesClipboard,r as FootnotesEditing,ft as FootnotesProperties,P as FootnotesPropertiesEditing,j as FootnotesPropertiesUI,C as FootnotesStartCommand,S as FootnotesStyleCommand,f as FootnotesTracker,i as FootnotesUI,h as InsertFootnoteCommand};
|
package/dist/translations/af.js
CHANGED
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
export default{'af':{'dictionary':{'Footnote':'','Footnotes':'','Footnotes\x20properties':'','Footnotes\x20start\x20at':'','Invalid\x20footnotes\x20start\x20index\x20value.':'','Footnotes\x20start\x20index\x20is\x20too\x20large.':'','Footnotes\x20start\x20index\x20must\x20be\x20greater\x20than\x200.':'','Footnote\x20%0.\x20Press\x20ENTER\x20to\x20jump\x20to\x20footnote\x20definition.':'','Footnote\x20content.':'','Footnotes\x20definitions\x20styles':'','Footnotes\x20definitions\x20toolbar':'','Insert\x20footnote':'','Footnotes\x20style':'','Toggle\x20the\x20decimal\x20footnotes\x20style':'','Decimal\x20footnotes':'','Toggle\x20the\x20decimal\x20with\x20leading\x20zero\x20footnotes\x20style':'','Decimal\x20footnotes\x20with\x20leading\x20zero':'','Lower–roman\x20footnotes':'','Upper-roman\x20footnotes':'','Lower-latin\x20footnotes':'','Upper-latin\x20footnotes':'','Toggle\x20the\x20lower–roman\x20footnotes\x20style':'','Toggle\x20the\x20upper–roman\x20footnotes\x20style':'','Toggle\x20the\x20lower–latin\x20footnotes\x20style':'','Toggle\x20the\x20upper–latin\x20footnotes\x20style':''},'getPluralForm':
|
|
23
|
+
export default{'af':{'dictionary':{'Footnote':'','Footnotes':'','Footnotes\x20properties':'','Footnotes\x20start\x20at':'','Invalid\x20footnotes\x20start\x20index\x20value.':'','Footnotes\x20start\x20index\x20is\x20too\x20large.':'','Footnotes\x20start\x20index\x20must\x20be\x20greater\x20than\x200.':'','Footnote\x20%0.\x20Press\x20ENTER\x20to\x20jump\x20to\x20footnote\x20definition.':'','Footnote\x20content.':'','Footnotes\x20definitions\x20styles':'','Footnotes\x20definitions\x20toolbar':'','Insert\x20footnote':'','Footnotes\x20style':'','Toggle\x20the\x20decimal\x20footnotes\x20style':'','Decimal\x20footnotes':'','Toggle\x20the\x20decimal\x20with\x20leading\x20zero\x20footnotes\x20style':'','Decimal\x20footnotes\x20with\x20leading\x20zero':'','Lower–roman\x20footnotes':'','Upper-roman\x20footnotes':'','Lower-latin\x20footnotes':'','Upper-latin\x20footnotes':'','Toggle\x20the\x20lower–roman\x20footnotes\x20style':'','Toggle\x20the\x20upper–roman\x20footnotes\x20style':'','Toggle\x20the\x20lower–latin\x20footnotes\x20style':'','Toggle\x20the\x20upper–latin\x20footnotes\x20style':''},'getPluralForm':_0x595d36=>0x1!=_0x595d36}};
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
(
|
|
23
|
+
(_0x498511=>{const {af:{dictionary:_0x49972e,getPluralForm:_0x311cdf}}={'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':_0x50e381=>0x1!=_0x50e381}};_0x498511['af']||={'dictionary':{},'getPluralForm':null},_0x498511['af']['dictionary']=Object['assign'](_0x498511['af']['dictionary'],_0x49972e),_0x498511['af']['getPluralForm']=_0x311cdf;})(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':_0x22bfbd=>0x0==_0x22bfbd?0x0:0x1==_0x22bfbd?0x1:0x2==_0x22bfbd?0x2:_0x22bfbd%0x64>=0x3&&_0x22bfbd%0x64<=0xa?0x3:_0x22bfbd%0x64>=0xb?0x4:0x5}};
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
(
|
|
23
|
+
(_0x3b9f2d=>{const {ar:{dictionary:_0x936b47,getPluralForm:_0x22f2e6}}={'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':_0x560b16=>0x0==_0x560b16?0x0:0x1==_0x560b16?0x1:0x2==_0x560b16?0x2:_0x560b16%0x64>=0x3&&_0x560b16%0x64<=0xa?0x3:_0x560b16%0x64>=0xb?0x4:0x5}};_0x3b9f2d['ar']||={'dictionary':{},'getPluralForm':null},_0x3b9f2d['ar']['dictionary']=Object['assign'](_0x3b9f2d['ar']['dictionary'],_0x936b47),_0x3b9f2d['ar']['getPluralForm']=_0x22f2e6;})(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':_0x18d3f1=>0x1!=_0x18d3f1}};
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
(
|
|
23
|
+
(_0x417158=>{const {ast:{dictionary:_0x3724a9,getPluralForm:_0x194647}}={'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':_0x520e1b=>0x1!=_0x520e1b}};_0x417158['ast']||={'dictionary':{},'getPluralForm':null},_0x417158['ast']['dictionary']=Object['assign'](_0x417158['ast']['dictionary'],_0x3724a9),_0x417158['ast']['getPluralForm']=_0x194647;})(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':_0xe65d39=>0x1!=_0xe65d39}};
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
(
|
|
23
|
+
(_0x506e1e=>{const {az:{dictionary:_0xc74af1,getPluralForm:_0xc8e075}}={'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':_0x21a268=>0x1!=_0x21a268}};_0x506e1e['az']||={'dictionary':{},'getPluralForm':null},_0x506e1e['az']['dictionary']=Object['assign'](_0x506e1e['az']['dictionary'],_0xc74af1),_0x506e1e['az']['getPluralForm']=_0xc8e075;})(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':_0x48a55f=>_0x48a55f%0xa==0x1&&_0x48a55f%0x64!=0xb?0x0:_0x48a55f%0xa>=0x2&&_0x48a55f%0xa<=0x4&&(_0x48a55f%0x64<0xa||_0x48a55f%0x64>=0x14)?0x1:0x2}};
|