@ckeditor/ckeditor5-footnotes 0.0.0-nightly-20251113.0 → 0.0.0-nightly-20251118.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/LICENSE.md +3 -3
- package/build/footnotes.js +1 -1
- package/dist/index.js +1 -1
- package/dist/translations/af.js +1 -1
- package/dist/translations/af.umd.js +1 -1
- package/dist/translations/ar.js +1 -1
- package/dist/translations/ar.umd.js +1 -1
- package/dist/translations/ast.js +1 -1
- package/dist/translations/ast.umd.js +1 -1
- package/dist/translations/az.js +1 -1
- package/dist/translations/az.umd.js +1 -1
- package/dist/translations/be.js +1 -1
- package/dist/translations/be.umd.js +1 -1
- package/dist/translations/bg.js +1 -1
- package/dist/translations/bg.umd.js +1 -1
- package/dist/translations/bn.js +1 -1
- package/dist/translations/bn.umd.js +1 -1
- package/dist/translations/bs.js +1 -1
- package/dist/translations/bs.umd.js +1 -1
- package/dist/translations/ca.js +1 -1
- package/dist/translations/ca.umd.js +1 -1
- package/dist/translations/cs.js +1 -1
- package/dist/translations/cs.umd.js +1 -1
- package/dist/translations/da.js +1 -1
- package/dist/translations/da.umd.js +1 -1
- package/dist/translations/de-ch.js +1 -1
- package/dist/translations/de-ch.umd.js +1 -1
- package/dist/translations/de.js +1 -1
- package/dist/translations/de.umd.js +1 -1
- package/dist/translations/el.js +1 -1
- package/dist/translations/el.umd.js +1 -1
- package/dist/translations/en-au.js +1 -1
- package/dist/translations/en-au.umd.js +1 -1
- package/dist/translations/en-gb.js +1 -1
- package/dist/translations/en-gb.umd.js +1 -1
- package/dist/translations/en.js +1 -1
- package/dist/translations/en.umd.js +1 -1
- package/dist/translations/eo.js +1 -1
- package/dist/translations/eo.umd.js +1 -1
- package/dist/translations/es-co.js +1 -1
- package/dist/translations/es-co.umd.js +1 -1
- package/dist/translations/es.js +1 -1
- package/dist/translations/es.umd.js +1 -1
- package/dist/translations/et.js +1 -1
- package/dist/translations/et.umd.js +1 -1
- package/dist/translations/eu.js +1 -1
- package/dist/translations/eu.umd.js +1 -1
- package/dist/translations/fa.js +1 -1
- package/dist/translations/fa.umd.js +1 -1
- package/dist/translations/fi.js +1 -1
- package/dist/translations/fi.umd.js +1 -1
- package/dist/translations/fr.js +1 -1
- package/dist/translations/fr.umd.js +1 -1
- package/dist/translations/gl.js +1 -1
- package/dist/translations/gl.umd.js +1 -1
- package/dist/translations/gu.js +1 -1
- package/dist/translations/gu.umd.js +1 -1
- package/dist/translations/he.js +1 -1
- package/dist/translations/he.umd.js +1 -1
- package/dist/translations/hi.js +1 -1
- package/dist/translations/hi.umd.js +1 -1
- package/dist/translations/hr.js +1 -1
- package/dist/translations/hr.umd.js +1 -1
- package/dist/translations/hu.js +1 -1
- package/dist/translations/hu.umd.js +1 -1
- package/dist/translations/hy.js +1 -1
- package/dist/translations/hy.umd.js +1 -1
- package/dist/translations/id.js +1 -1
- package/dist/translations/id.umd.js +1 -1
- package/dist/translations/it.js +1 -1
- package/dist/translations/it.umd.js +1 -1
- package/dist/translations/ja.js +1 -1
- package/dist/translations/ja.umd.js +1 -1
- package/dist/translations/jv.js +1 -1
- package/dist/translations/jv.umd.js +1 -1
- package/dist/translations/kk.js +1 -1
- package/dist/translations/kk.umd.js +1 -1
- package/dist/translations/km.js +1 -1
- package/dist/translations/km.umd.js +1 -1
- package/dist/translations/kn.js +1 -1
- package/dist/translations/kn.umd.js +1 -1
- package/dist/translations/ko.js +1 -1
- package/dist/translations/ko.umd.js +1 -1
- package/dist/translations/ku.js +1 -1
- package/dist/translations/ku.umd.js +1 -1
- package/dist/translations/lt.js +1 -1
- package/dist/translations/lt.umd.js +1 -1
- package/dist/translations/lv.js +1 -1
- package/dist/translations/lv.umd.js +1 -1
- package/dist/translations/ms.js +1 -1
- package/dist/translations/ms.umd.js +1 -1
- package/dist/translations/nb.js +1 -1
- package/dist/translations/nb.umd.js +1 -1
- package/dist/translations/ne.js +1 -1
- package/dist/translations/ne.umd.js +1 -1
- package/dist/translations/nl.js +1 -1
- package/dist/translations/nl.umd.js +1 -1
- package/dist/translations/no.js +1 -1
- package/dist/translations/no.umd.js +1 -1
- package/dist/translations/oc.js +1 -1
- package/dist/translations/oc.umd.js +1 -1
- package/dist/translations/pl.js +1 -1
- package/dist/translations/pl.umd.js +1 -1
- package/dist/translations/pt-br.js +1 -1
- package/dist/translations/pt-br.umd.js +1 -1
- package/dist/translations/pt.js +1 -1
- package/dist/translations/pt.umd.js +1 -1
- package/dist/translations/ro.js +1 -1
- package/dist/translations/ro.umd.js +1 -1
- package/dist/translations/ru.js +1 -1
- package/dist/translations/ru.umd.js +1 -1
- package/dist/translations/si.js +1 -1
- package/dist/translations/si.umd.js +1 -1
- package/dist/translations/sk.js +1 -1
- package/dist/translations/sk.umd.js +1 -1
- package/dist/translations/sl.js +1 -1
- package/dist/translations/sl.umd.js +1 -1
- package/dist/translations/sq.js +1 -1
- package/dist/translations/sq.umd.js +1 -1
- package/dist/translations/sr-latn.js +1 -1
- package/dist/translations/sr-latn.umd.js +1 -1
- package/dist/translations/sr.js +1 -1
- package/dist/translations/sr.umd.js +1 -1
- package/dist/translations/sv.js +1 -1
- package/dist/translations/sv.umd.js +1 -1
- package/dist/translations/th.js +1 -1
- package/dist/translations/th.umd.js +1 -1
- package/dist/translations/ti.js +1 -1
- package/dist/translations/ti.umd.js +1 -1
- package/dist/translations/tk.js +1 -1
- package/dist/translations/tk.umd.js +1 -1
- package/dist/translations/tr.js +1 -1
- package/dist/translations/tr.umd.js +1 -1
- package/dist/translations/tt.js +1 -1
- package/dist/translations/tt.umd.js +1 -1
- package/dist/translations/ug.js +1 -1
- package/dist/translations/ug.umd.js +1 -1
- package/dist/translations/uk.js +1 -1
- package/dist/translations/uk.umd.js +1 -1
- package/dist/translations/ur.js +1 -1
- package/dist/translations/ur.umd.js +1 -1
- package/dist/translations/uz.js +1 -1
- package/dist/translations/uz.umd.js +1 -1
- package/dist/translations/vi.js +1 -1
- package/dist/translations/vi.umd.js +1 -1
- package/dist/translations/zh-cn.js +1 -1
- package/dist/translations/zh-cn.umd.js +1 -1
- package/dist/translations/zh.js +1 -1
- package/dist/translations/zh.umd.js +1 -1
- package/package.json +9 -9
- package/src/commands/insertfootnotecommand.js +1 -1
- package/src/footnotes.js +1 -1
- package/src/footnotesclipboard.js +1 -1
- package/src/footnotesediting.js +1 -1
- package/src/footnotesproperties/commands/footnotesstartcommand.js +1 -1
- package/src/footnotesproperties/commands/footnotesstylecommand.js +1 -1
- package/src/footnotesproperties/footnotespropertiesconfig.js +1 -1
- package/src/footnotesproperties/footnotespropertiesediting.js +1 -1
- package/src/footnotesproperties/footnotespropertiesui.js +1 -1
- package/src/footnotesproperties/ui/footnotesdefinitionspropertiesview.js +1 -1
- package/src/footnotesproperties.js +1 -1
- package/src/footnotestracker.js +1 -1
- package/src/footnotesui.js +1 -1
- package/src/index.js +1 -1
- package/src/modelelementtracker.js +1 -1
package/dist/index.js
CHANGED
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
import{Plugin as _0x435c87,Command as _0x3e55e7}from'@ckeditor/ckeditor5-core/dist/index.js';import{toWidget as _0x6af11c,isWidget as _0x1331e6,toWidgetEditable as _0x2e2d7e,WidgetToolbarRepository as _0x3661e1}from'@ckeditor/ckeditor5-widget/dist/index.js';import{uid as _0x2ed098,logWarning as _0x2d48d6,FocusTracker as ot,KeystrokeHandler as rt,global as nt}from'@ckeditor/ckeditor5-utils/dist/index.js';import{PointerObserver as _0xc25c42,ClickObserver as _0x2524e7}from'@ckeditor/ckeditor5-engine/dist/index.js';import{ClipboardPipeline as _0x3b4ee3}from'@ckeditor/ckeditor5-clipboard/dist/index.js';import{MenuBarMenuListItemButtonView as _0x1f4ad0,ButtonView as _0x21f691,View as _0x2f855b,ViewCollection as _0x609610,FocusCycler as _0x118381,addKeyboardHandlingForGrid as tt,CollapsibleView as st,LabeledFieldView as it,createLabeledInputNumber as et,ContextualBalloon as _0x2fc75d,BalloonPanelView as _0x8fe028,createDropdown as _0x20c9a4}from'@ckeditor/ckeditor5-ui/dist/index.js';import{IconFootnote as _0x5117df,IconListStyleDecimal as _0x1a4aaa,IconListStyleDecimalLeadingZero as _0x34d779,IconListStyleLowerRoman as _0x49b323,IconListStyleUpperRoman as _0x488f12,IconListStyleLowerLatin as _0x37aeb7,IconListStyleUpperLatin as _0x389d1e}from'@ckeditor/ckeditor5-icons/dist/index.js';class F{['_model'];['_elementName'];['_getElementKey'];['_trackedElements']=new Map();constructor(_0x3359a6,_0x2fc492){this['_model']=_0x3359a6,this['_elementName']=_0x2fc492['elementName'],this['_getElementKey']=_0x2fc492['getElementKey'];}['reset'](){this['_trackedElements']['clear']();}['getChanges'](_0x582547){const _0x22e3db=new Set(),_0x398d36=new Map();for(const _0x4e37e0 of _0x582547){if('insert'===_0x4e37e0['type']&&'$text'!==_0x4e37e0['name']&&_0x4e37e0['position']['nodeAfter']){const _0x60c7c7=this['_model']['createRangeOn'](_0x4e37e0['position']['nodeAfter']);for(const _0x3e0b4b of _0x60c7c7['getItems']()){if(!_0x3e0b4b['is']('element',this['_elementName']))continue;const _0x17c816=this['_getElementKey'](_0x3e0b4b);_0x398d36['has'](_0x17c816)||_0x398d36['set'](_0x17c816,[]),_0x398d36['get'](_0x17c816)['push'](_0x3e0b4b);}}if('remove'===_0x4e37e0['type']&&_0x4e37e0['name']===this['_elementName']){const _0x12abdc=this['_getElementKey']({'getAttribute':_0x387afd=>_0x4e37e0['attributes']['get'](_0x387afd)});_0x22e3db['add'](_0x12abdc);}}for(const [_0x33d42c,_0xc1a89d]of this['_trackedElements'])'$graveyard'===_0xc1a89d['root']['rootName']&&_0x22e3db['add'](_0x33d42c);for(const _0x447dad of _0x22e3db)this['_trackedElements']['delete'](_0x447dad);for(const [_0x126383,_0x34ffd1]of _0x398d36)this['_trackedElements']['set'](_0x126383,_0x34ffd1[_0x34ffd1['length']-0x1]);const _0x1bd76b=new Set();for(const [_0x2a01ba,_0x14ef01]of _0x398d36)_0x22e3db['has'](_0x2a01ba)&&(_0x1bd76b['add'](_0x14ef01[0x0]),_0x14ef01['length']>0x1?_0x398d36['set'](_0x2a01ba,_0x14ef01['slice'](0x1)):_0x398d36['delete'](_0x2a01ba),_0x22e3db['delete'](_0x2a01ba));return{'removed':Array['from'](_0x22e3db),'inserted':Array['from'](_0x398d36['values']())['flat'](),'moved':Array['from'](_0x1bd76b)};}}class c extends _0x435c87{['_footnotes']=[];['_footnotesDefinitions']=null;['_footnoteFormatter']=null;['_footnoteDefsContainerTracker'];['_footnoteRefsTracker'];['_footnoteDefsTracker'];static get['pluginName'](){return'FootnotesTracker';}static get['isOfficialPlugin'](){return!0x0;}static get['isPremiumPlugin'](){return!0x0;}constructor(_0x24bc63){super(_0x24bc63),this['_footnoteDefsContainerTracker']=new F(this['editor']['model'],{'elementName':'footnotesDefinitions','getElementKey':()=>'singleton'}),this['_footnoteRefsTracker']=new F(this['editor']['model'],{'elementName':'footnoteRef','getElementKey':_0x308b2c=>_0x308b2c['getAttribute']('footnoteId')}),this['_footnoteDefsTracker']=new F(this['editor']['model'],{'elementName':'footnoteDefinition','getElementKey':_0x16e7d5=>_0x16e7d5['getAttribute']('footnoteId')});}['init'](){const {editor:_0x5016f5}=this,{model:_0x4f2dc8,data:_0x594ff1}=_0x5016f5;_0x4f2dc8['document']['registerPostFixer'](_0x25313c=>{const _0x4c96a6=_0x4f2dc8['document']['differ']['getChanges']();let _0x1ff514=!0x1;return this['_handleFootnotesDefinitionsObjectChanges'](_0x25313c,_0x4c96a6)&&(_0x1ff514=!0x0),this['_handleFootnoteDefinitionsChanges'](_0x25313c,_0x4c96a6)&&(_0x1ff514=!0x0),this['_handleFootnoteReferencesChanges'](_0x25313c,_0x4c96a6)&&(_0x1ff514=!0x0),this['_ensureFootnotesReferencesHaveProperOrder'](_0x25313c)&&(_0x1ff514=!0x0),this['_handleFootnotesDefinitionsObjectSync'](_0x25313c)&&(_0x1ff514=!0x0),this['_sortFootnoteDefinitions'](_0x25313c)&&(_0x1ff514=!0x0),_0x1ff514;}),this['listenTo'](_0x4f2dc8['document'],'change:data',()=>{_0x4f2dc8['enqueueChange']({'isUndoable':!0x1},_0x5dac58=>{this['_ensureFootnotesDefinitionsContainerExists'](_0x5dac58);});},{'priority':'low'}),this['listenTo'](_0x594ff1,'set',()=>{this['_footnotes']=[],this['_footnoteDefsContainerTracker']['reset'](),this['_footnoteRefsTracker']['reset'](),this['_footnoteDefsTracker']['reset']();},{'priority':'high'});}['getFootnotesDefinitionsObjectElement'](){return this['_footnotesDefinitions'];}['getFootnote'](_0x766ea7){return this['_footnotes']['find'](_0x42442a=>_0x42442a['id']===_0x766ea7)||null;}['getFootnotes'](){return Array['from'](this['_footnotes']);}['getFootnotesFormatter'](){return this['_footnoteFormatter'];}['setFootnoteFormatter'](_0x58f623){this['_footnoteFormatter']=_0x58f623;}['_updateFootnotesCounters'](_0x1959e6,_0x437e30=0x0){let _0x9b61c4=!0x1;for(let _0x3e465e=_0x437e30;_0x3e465e<this['_footnotes']['length'];_0x3e465e++)this['_updateFootnoteRefCounter'](_0x1959e6,_0x3e465e)&&(_0x9b61c4=!0x0);return _0x9b61c4;}['_insertEmptyFootnotesDefinitionsContainer'](_0x5e55b4,_0x4fecb9){const _0x564641=_0x5e55b4['createElement']('footnotesDefinitions',{});return _0x5e55b4['append'](_0x564641,_0x4fecb9),this['_footnotesDefinitions']=_0x564641,_0x564641;}['_ensureFootnotesDefinitionsContainerExists'](_0x3d6a9e){if(!this['_footnotes']['length']||this['_footnotesDefinitions'])return;const _0x4db482=this['_footnotes'][0x0]['reference']['root'],_0x2a99ce=this['_insertEmptyFootnotesDefinitionsContainer'](_0x3d6a9e,_0x4db482);for(const _0x2d515f of this['_footnotes'])_0x2d515f['definition']['parent']||_0x3d6a9e['insert'](_0x2d515f['definition'],_0x2a99ce,'end');this['_updateFootnotesCounters'](_0x3d6a9e);}['_handleFootnotesDefinitionsObjectChanges'](_0x26a920,_0x4bbb49){let _0x3d41d9=!0x1;const {inserted:_0x499853,removed:_0x204233,moved:_0x231d41}=this['_footnoteDefsContainerTracker']['getChanges'](_0x4bbb49);if(_0x231d41['length']&&(this['_footnotesDefinitions']=_0x231d41[0x0]),_0x499853['length']){if(_0x499853['length']>0x1||this['_footnotesDefinitions']&&_0x499853['some'](_0x5bbfff=>_0x5bbfff!==this['_footnotesDefinitions'])){const _0x3a6ab6=_0x26a920['createElement']('footnotesDefinitions',{}),_0x2247b9=[];this['_footnotesDefinitions']&&_0x2247b9['push'](this['_footnotesDefinitions']),_0x2247b9['push'](..._0x499853),_0x26a920['insert'](_0x3a6ab6,_0x2247b9[0x0],'before');for(const _0x19285b of _0x2247b9)_0x26a920['move'](_0x26a920['createRangeIn'](_0x19285b),_0x26a920['createPositionAt'](_0x3a6ab6,'end')),_0x26a920['remove'](_0x19285b);this['_footnotesDefinitions']=_0x3a6ab6,this['_updateFootnotesCounters'](_0x26a920),_0x3d41d9=!0x0;}else this['_footnotesDefinitions']=_0x499853[0x0];}if(_0x204233['length']&&'$graveyard'===this['_footnotesDefinitions']?.['root']['rootName']){for(const _0x1fd71b of this['_footnotes'])_0x26a920['remove'](_0x1fd71b['reference']),_0x3d41d9=!0x0;this['_footnotes']=[],this['_footnotesDefinitions']=null;}return _0x3d41d9;}['_handleFootnoteDefinitionsChanges'](_0x415ef5,_0x4b8b61){let _0x27d311=!0x1;const _0x129dad=this['editor']['config']['get']('footnotes.multiBlock'),{inserted:_0x70a4cb,moved:_0x4c5a0e}=this['_footnoteDefsTracker']['getChanges'](_0x4b8b61);for(const _0x527850 of[..._0x4c5a0e,..._0x70a4cb]){const _0x54570b=_0x527850['getAttribute']('footnoteId'),_0x14a18d=this['getFootnote'](_0x54570b);_0x14a18d&&(_0x14a18d['definition']=_0x527850),_(_0x415ef5,_0x129dad,_0x527850)&&(_0x27d311=!0x0);}return _0x27d311;}['_handleFootnoteReferencesChanges'](_0x1e995c,_0x5c4db6){let _0x3f6bdc=!0x1;const {removed:_0x853e4,inserted:_0x5297d4,moved:_0x14f963}=this['_footnoteRefsTracker']['getChanges'](_0x5c4db6);for(const _0x5eb0e6 of _0x853e4)this['_handleRemoveFootnoteReferenceById'](_0x1e995c,_0x5eb0e6)&&(_0x3f6bdc=!0x0);for(const _0x3f14c3 of _0x5297d4)this['_handleInsertedFootnoteReference'](_0x1e995c,_0x3f14c3)&&(_0x3f6bdc=!0x0);for(const _0x249ed3 of _0x14f963)this['_handleMovedFootnoteReference'](_0x1e995c,_0x249ed3)&&(_0x3f6bdc=!0x0);return _0x3f6bdc;}['_handleFootnotesDefinitionsObjectSync'](_0x382ea2){if(!this['_footnotesDefinitions'])return!0x1;let _0x2a2891=!0x1;if(this['_footnotesDefinitions']['childCount']!==this['_footnotes']['length']){const _0x52fff5=[];for(const _0x5ae5c3 of this['_footnotesDefinitions']['getChildren']()){const _0x3a7aab=_0x5ae5c3['getAttribute']('footnoteId');this['getFootnote'](_0x3a7aab)||(_0x52fff5['unshift'](_0x5ae5c3),_0x2a2891=!0x0);}for(const _0x2aec86 of _0x52fff5)_0x382ea2['remove'](_0x2aec86);}const _0xbea445=new Set(),_0xbf8afd=[];for(const _0x5c4d97 of this['_footnotesDefinitions']['getChildren']()){const _0x2dc531=_0x5c4d97['getAttribute']('footnoteId');_0xbea445['has'](_0x2dc531)?(_0xbf8afd['unshift'](_0x5c4d97),_0x2a2891=!0x0):_0xbea445['add'](_0x2dc531);}for(const _0x487e66 of _0xbf8afd)_0x382ea2['remove'](_0x487e66);return this['_footnotesDefinitions']['childCount']||(_0x382ea2['remove'](this['_footnotesDefinitions']),this['_footnotesDefinitions']=null,_0x2a2891=!0x0),_0x2a2891;}['_handleInsertedFootnoteReference'](_0x38c271,_0x4ee7e2){if(this['_footnotes']['find'](_0x5d41f6=>_0x5d41f6['reference']===_0x4ee7e2))return!0x1;let _0x1db352=!0x1;const _0x49918f=_0x4ee7e2['getAttribute']('footnoteId'),_0xa5b6f2=this['_footnotes']['findIndex'](_0x3b0752=>_0x3b0752['id']===_0x49918f);-0x1!==_0xa5b6f2&&(_0x38c271['remove'](this['_footnotes'][_0xa5b6f2]['reference']),this['_footnotes']['splice'](_0xa5b6f2,0x1),_0x1db352=!0x0);let _0x36f998=this['_footnotesDefinitions']?function(_0x3fdfb4,_0x336540){for(const _0x4da5a6 of _0x3fdfb4['getChildren']())if(_0x4da5a6['getAttribute']('footnoteId')===_0x336540)return _0x4da5a6;return null;}(this['_footnotesDefinitions'],_0x49918f):null;_0x36f998||(_0x36f998=_0x38c271['createElement']('footnoteDefinition',{'footnoteId':_0x49918f}),this['_footnotesDefinitions']&&(_0x38c271['insert'](_0x36f998,this['_footnotesDefinitions'],'end'),_0x1db352=!0x0));const _0x35e69e={'id':_0x49918f,'reference':_0x4ee7e2,'definition':_0x36f998},_0x3522ba=I(this['editor']['model'],this['_footnotes'],_0x4ee7e2);this['_footnotes']['splice'](_0x3522ba,0x0,_0x35e69e);let _0x384e6c=_0x3522ba;return-0x1!==_0xa5b6f2&&(_0x384e6c=Math['min'](_0x3522ba,_0xa5b6f2)),this['_updateFootnotesCounters'](_0x38c271,_0x384e6c)&&(_0x1db352=!0x0),_0x1db352;}['_handleRemoveFootnoteReferenceById'](_0x1d3693,_0x2ed35e){const _0x1554f1=this['_footnotes']['findIndex'](_0x1418d4=>_0x1418d4['id']===_0x2ed35e);if(-0x1===_0x1554f1)return!0x1;let _0xe16299=!0x1;const _0x2d4a37=this['_footnotes'][_0x1554f1];return'$graveyard'!==_0x2d4a37['definition']['root']['rootName']&&(_0x1d3693['remove'](_0x2d4a37['definition']),_0xe16299=!0x0),this['_footnotes']['splice'](_0x1554f1,0x1),this['_updateFootnotesCounters'](_0x1d3693,_0x1554f1)&&(_0xe16299=!0x0),_0xe16299;}['_handleMovedFootnoteReference'](_0x583797,_0x55466c){const _0x1f8ea9=_0x55466c['getAttribute']('footnoteId'),_0x35fb0f=this['_footnotes']['findIndex'](_0x5451a7=>_0x5451a7['id']===_0x1f8ea9),_0x57ebc3=this['_footnotes'][_0x35fb0f];let _0x256a6d=!0x1;_0x57ebc3['reference']=_0x55466c,this['_footnotes']['splice'](_0x35fb0f,0x1);const _0x5cbffa=I(this['editor']['model'],this['_footnotes'],_0x55466c);return this['_footnotes']['splice'](_0x5cbffa,0x0,_0x57ebc3),this['_updateFootnotesCounters'](_0x583797,Math['min'](_0x35fb0f,_0x5cbffa))&&(_0x256a6d=!0x0),_0x256a6d;}['_updateFootnoteRefCounter'](_0x1e4374,_0x17cf0e){if(!this['_footnotesDefinitions'])return!0x1;const _0x70a9ba=this['_footnotes'][_0x17cf0e];let _0x387beb;return _0x387beb=this['_footnoteFormatter']?this['_footnoteFormatter']({'footnote':_0x70a9ba,'container':this['_footnotesDefinitions'],'digits':String(this['_footnotes']['length'])['length'],'value':_0x17cf0e+0x1}):String(_0x17cf0e+0x1),_0x70a9ba['reference']['getAttribute']('footnoteCounter')!=_0x387beb&&(_0x1e4374['setAttribute']('footnoteCounter',_0x387beb,_0x70a9ba['reference']),!0x0);}['_sortFootnoteDefinitions'](_0x2843f9){if(!this['_footnotesDefinitions']||this['_footnotes']['length']<0x2)return!0x1;if(function(_0x1a8bd6,_0x319f2e){if(_0x1a8bd6['length']!==_0x319f2e['length'])return!0x1;for(let _0x5b8bd0=0x0;_0x5b8bd0<_0x1a8bd6['length'];_0x5b8bd0++)if(_0x1a8bd6[_0x5b8bd0]!==_0x319f2e[_0x5b8bd0])return!0x1;return!0x0;}(this['_footnotes']['map'](_0x254ffb=>_0x254ffb['id']),Array['from'](this['_footnotesDefinitions']['getChildren']())['map'](_0x2fa87b=>_0x2fa87b['getAttribute']('footnoteId'))))return!0x1;let _0x3a81f2=!0x1;for(let _0x328148=0x0;_0x328148<this['_footnotes']['length'];_0x328148++){const _0x15f1f5=this['_footnotes'][_0x328148],_0x1edc3a=_0x2843f9['createPositionBefore'](_0x15f1f5['definition']),_0x31a2f7=_0x2843f9['createPositionAt'](this['_footnotesDefinitions'],_0x328148);_0x1edc3a['isEqual'](_0x31a2f7)||(_0x2843f9['move'](_0x2843f9['createRangeOn'](_0x15f1f5['definition']),_0x31a2f7),_0x3a81f2=!0x0);}return _0x3a81f2;}['_ensureFootnotesReferencesHaveProperOrder'](_0x5cc27c){if(!this['_footnotes']['length'])return!0x1;const {model:_0x52e60b}=this['editor'];let _0x510f57=!0x1;for(let _0x2bf842=0x0;_0x2bf842<this['_footnotes']['length']-0x1;_0x2bf842++){const _0x5638c7=this['_footnotes'][_0x2bf842],_0x582aaf=this['_footnotes'][_0x2bf842+0x1],_0x2ed467=_0x52e60b['createPositionBefore'](_0x5638c7['reference']),_0x403cad=_0x52e60b['createPositionBefore'](_0x582aaf['reference']);'after'===_0x2ed467['compareWith'](_0x403cad)&&(this['_handleMovedFootnoteReference'](_0x5cc27c,_0x5638c7['reference']),_0x2bf842=-0x1,_0x510f57=!0x0);}return _0x510f57;}}function _(_0x236c63,_0x39fa69,_0x2bd37a){if(_0x2bd37a['childCount'])return!0x1;const _0x3ccb40=_0x39fa69?'paragraph':'footnoteInlineContent';return _0x236c63['insert'](_0x236c63['createElement'](_0x3ccb40),_0x2bd37a),!0x0;}function I(_0x22e557,_0x5100d2,_0x258454){if(0x0===_0x5100d2['length'])return 0x0;const _0x3afab9=_0x22e557['createPositionBefore'](_0x258454);for(let _0x9697f4=0x0;_0x9697f4<_0x5100d2['length'];_0x9697f4++){const _0x25bc1c=_0x5100d2[_0x9697f4],_0x1cb6c1=_0x22e557['createPositionBefore'](_0x25bc1c['reference']);if('before'===_0x3afab9['compareWith'](_0x1cb6c1))return _0x9697f4;}const _0x2c8ad9=_0x258454['root'];let _0x487091=-0x1;for(let _0x28b1bc=_0x5100d2['length']-0x1;_0x28b1bc>=0x0;_0x28b1bc--)if(_0x5100d2[_0x28b1bc]['reference']['root']===_0x2c8ad9){_0x487091=_0x28b1bc;break;}if(-0x1!==_0x487091)return _0x487091+0x1;const _0x241502=_0x22e557['document']['getRootNames'](),_0x2a69d3=_0x241502['indexOf'](_0x2c8ad9['rootName']),_0x4f5707=_0x241502[_0x2a69d3+0x1];if(_0x4f5707){for(let _0x2a9287=0x0;_0x2a9287<_0x5100d2['length'];_0x2a9287++)if(_0x5100d2[_0x2a9287]['reference']['root']['rootName']===_0x4f5707)return _0x2a9287;}return _0x5100d2['length'];}class m extends _0x3e55e7{['refresh'](){const _0x575756=this['editor']['model']['document']['selection'],_0x113699=this['_getPositionToInsertFootnote'](_0x575756);this['isEnabled']=!!_0x113699;}['execute'](_0x5d18ff){const {editor:_0x26598d}=this,{model:_0x56e3ba}=_0x26598d,{selection:_0x170873}=_0x56e3ba['document'],_0x5a07e8=this['_getPositionToInsertFootnote'](_0x170873);if(!_0x5a07e8)return;const _0x4f46f1=_0x26598d['plugins']['get']('FootnotesEditing'),_0x19fdcb=_0x5d18ff?.['footnoteId']??_0x2ed098();!function(_0x5885cf){return'string'==typeof _0x5885cf&&_0x5885cf['length']>0x0&&!/\s/['test'](_0x5885cf)&&!/^\d/['test'](_0x5885cf);}(_0x19fdcb)?_0x2d48d6('insert-footnote-command-executed-with-invalid-id'):(_0x56e3ba['change'](_0x284f02=>{const _0x4b646e=_0x284f02['createElement']('footnoteRef',{'footnoteId':_0x19fdcb});_0x56e3ba['insertObject'](_0x4b646e,_0x5a07e8,null);}),_0x4f46f1['_moveSelectionToFootnoteDefinition'](_0x19fdcb));}['_getPositionToInsertFootnote'](_0x5d68af){const {model:_0x3bb705}=this['editor'],{schema:_0x29d955}=_0x3bb705,_0x33fbb4=_0x5d68af['getFirstRange']();for(const _0x4856e9 of _0x33fbb4['getItems']())if(_0x29d955['isBlock'](_0x4856e9)||_0x29d955['isObject'](_0x4856e9))return null;const _0x43c12f=_0x33fbb4['end'];return _0x29d955['checkChild'](_0x43c12f,'footnoteRef')?_0x43c12f:null;}}class r extends _0x435c87{static get['pluginName'](){return'FootnotesEditing';}static get['requires'](){return[c];}static get['isOfficialPlugin'](){return!0x0;}static get['isPremiumPlugin'](){return!0x0;}['init'](){const {editor:_0x5c3ddd}=this;_0x5c3ddd['config']['define']('footnotes.multiBlock',!0x0),_0x5c3ddd['commands']['add']('insertFootnote',new m(_0x5c3ddd)),this['_defineSchema'](),this['_defineRefsConverters'](),this['_defineDefinitionsConverters'](),this['_defineDefinitionConverters'](),this['_defineBogusParagraphConverters'](),this['_defineKeyboardHandlers'](),this['_defineClickHandlers']();}['afterInit'](){!async function(_0xb5efa0){const _0x48de76=_0x5725af([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]),_0x8e82d7=0x47a28506,_0x3ad576=0x47a5fdfe^_0x8e82d7,_0x176b51=window[_0x5725af([0x44,0x61,0x74,0x65])][_0x5725af([0x6e,0x6f,0x77])](),_0x4c93f6=_0xb5efa0[_0x5725af([0x65,0x64,0x69,0x74,0x6f,0x72])],_0x46d709=new window[(_0x5725af([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0x3ec065=>{_0x4c93f6[_0x5725af([0x6f,0x6e,0x63,0x65])](_0x5725af([0x72,0x65,0x61,0x64,0x79]),_0x3ec065);}),_0x2acf48={[_0x5725af([0x6b,0x74,0x79])]:_0x5725af([0x45,0x43]),[_0x5725af([0x75,0x73,0x65])]:_0x5725af([0x73,0x69,0x67]),[_0x5725af([0x63,0x72,0x76])]:_0x5725af([0x50,0x2d,0x32,0x35,0x36]),[_0x5725af([0x78])]:_0x5725af([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]),[_0x5725af([0x79])]:_0x5725af([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]),[_0x5725af([0x61,0x6c,0x67])]:_0x5725af([0x45,0x53,0x32,0x35,0x36])},_0x45b30a=_0x4c93f6[_0x5725af([0x63,0x6f,0x6e,0x66,0x69,0x67])][_0x5725af([0x67,0x65,0x74])](_0x5725af([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x4b,0x65,0x79]));async function _0x37cb0a(){let _0x4895bb,_0x15987f=null,_0x381146=null;try{if(_0x45b30a==_0x5725af([0x47,0x50,0x4c]))return _0x5725af([0x4e,0x6f,0x74,0x41,0x6c,0x6c,0x6f,0x77,0x65,0x64]);if(_0x4895bb=_0xb7f14c(),!_0x4895bb)return _0x5725af([0x49,0x6e,0x76,0x61,0x6c,0x69,0x64]);return _0x4895bb[_0x5725af([0x75,0x73,0x61,0x67,0x65,0x45,0x6e,0x64,0x70,0x6f,0x69,0x6e,0x74])]&&(_0x381146=_0x27d563(_0x4895bb[_0x5725af([0x75,0x73,0x61,0x67,0x65,0x45,0x6e,0x64,0x70,0x6f,0x69,0x6e,0x74])],_0x4895bb[_0x5725af([0x6a,0x74,0x69])])),await _0x3a97e9()?_0x53ae4e()?_0x471c3()?_0x5725af([0x45,0x78,0x70,0x69,0x72,0x65,0x64]):_0x53137c()?(_0x4895bb[_0x5725af([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x54,0x79,0x70,0x65])]==_0x5725af([0x65,0x76,0x61,0x6c,0x75,0x61,0x74,0x69,0x6f,0x6e])&&(_0x15987f=_0x1fdd6c(_0x5725af([0x45,0x76,0x61,0x6c,0x75,0x61,0x74,0x69,0x6f,0x6e,0x4c,0x69,0x6d,0x69,0x74]))),_0x4895bb[_0x5725af([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x54,0x79,0x70,0x65])]==_0x5725af([0x74,0x72,0x69,0x61,0x6c])&&(_0x15987f=_0x1fdd6c(_0x5725af([0x54,0x72,0x69,0x61,0x6c,0x4c,0x69,0x6d,0x69,0x74]))),await _0x1f720c()):_0x5725af([0x44,0x6f,0x6d,0x61,0x69,0x6e,0x4c,0x69,0x6d,0x69,0x74]):_0x5725af([0x4e,0x6f,0x74,0x41,0x6c,0x6c,0x6f,0x77,0x65,0x64]):_0x5725af([0x49,0x6e,0x76,0x61,0x6c,0x69,0x64]);}catch{return _0x5725af([0x49,0x6e,0x76,0x61,0x6c,0x69,0x64]);}function _0x471c3(){const _0x50ef16=[_0x5725af([0x65,0x76,0x61,0x6c,0x75,0x61,0x74,0x69,0x6f,0x6e]),_0x5725af([0x74,0x72,0x69,0x61,0x6c])][_0x5725af([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x4895bb[_0x5725af([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x54,0x79,0x70,0x65])])?_0x176b51/0x3e8:0xe10*_0x3ad576;return _0x4895bb[_0x5725af([0x65,0x78,0x70])]<_0x50ef16;}function _0x53ae4e(){const _0x3cd6bc=_0x4895bb[_0x5725af([0x66,0x65,0x61,0x74,0x75,0x72,0x65,0x73])];return!!_0x3cd6bc&&(!!_0x3cd6bc[_0x5725af([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x5725af([0x2a]))||!!_0x3cd6bc[_0x5725af([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x5725af([0x46,0x4f,0x4f])));}function _0x53137c(){const _0x6c39cd=_0x4895bb[_0x5725af([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x64,0x48,0x6f,0x73,0x74,0x73])];if(!_0x6c39cd||0x0==_0x6c39cd[_0x5725af([0x6c,0x65,0x6e,0x67,0x74,0x68])])return!0x0;const {hostname:_0x11f627}=new URL(window[_0x5725af([0x6c,0x6f,0x63,0x61,0x74,0x69,0x6f,0x6e])]['href']);if(_0x6c39cd[_0x5725af([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x11f627))return!0x0;const _0x527cff=_0x11f627[_0x5725af([0x73,0x70,0x6c,0x69,0x74])](_0x5725af([0x2e]));return _0x6c39cd[_0x5725af([0x66,0x69,0x6c,0x74,0x65,0x72])](_0x3a1e2c=>_0x3a1e2c[_0x5725af([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x5725af([0x2a])))[_0x5725af([0x6d,0x61,0x70])](_0x38cbd1=>_0x38cbd1[_0x5725af([0x73,0x70,0x6c,0x69,0x74])](_0x5725af([0x2e])))[_0x5725af([0x66,0x69,0x6c,0x74,0x65,0x72])](_0x20bbf7=>_0x20bbf7[_0x5725af([0x6c,0x65,0x6e,0x67,0x74,0x68])]<=_0x527cff[_0x5725af([0x6c,0x65,0x6e,0x67,0x74,0x68])])[_0x5725af([0x6d,0x61,0x70])](_0x213d4e=>Array(_0x527cff[_0x5725af([0x6c,0x65,0x6e,0x67,0x74,0x68])]-_0x213d4e[_0x5725af([0x6c,0x65,0x6e,0x67,0x74,0x68])])[_0x5725af([0x66,0x69,0x6c,0x6c])](_0x213d4e[0x0]===_0x5725af([0x2a])?_0x5725af([0x2a]):'')[_0x5725af([0x63,0x6f,0x6e,0x63,0x61,0x74])](_0x213d4e))[_0x5725af([0x73,0x6f,0x6d,0x65])](_0x45e2a1=>_0x527cff[_0x5725af([0x65,0x76,0x65,0x72,0x79])]((_0x365813,_0x2f879f)=>_0x45e2a1[_0x2f879f]===_0x365813||_0x45e2a1[_0x2f879f]===_0x5725af([0x2a])));}function _0x1f720c(){return _0x15987f&&_0x381146?new window[(_0x5725af([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))]((_0x4db37d,_0x47ae98)=>{_0x15987f[_0x5725af([0x74,0x68,0x65,0x6e])](_0x4db37d,_0x47ae98),_0x381146[_0x5725af([0x74,0x68,0x65,0x6e])](_0x4696a9=>{_0x4696a9!=_0x5725af([0x56,0x61,0x6c,0x69,0x64])&&_0x4db37d(_0x4696a9);},_0x47ae98);}):_0x15987f||_0x381146||_0x5725af([0x56,0x61,0x6c,0x69,0x64]);}}function _0x27d563(_0x1b718a,_0x5e6b71){return new window[(_0x5725af([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0x5b4d42=>{if(_0x444c06())return _0x5b4d42(_0x5725af([0x56,0x61,0x6c,0x69,0x64]));_0x169e10(),_0x4c93f6[_0x5725af([0x64,0x65,0x63,0x6f,0x72,0x61,0x74,0x65])](_0x5725af([0x5f,0x73,0x65,0x6e,0x64,0x55,0x73,0x61,0x67,0x65,0x52,0x65,0x71,0x75,0x65,0x73,0x74]));let _0x3df291=!0x1;const _0x16fb7d=_0x2ed098();function _0xa4c3b9(_0x48703b){return!!_0x48703b&&(typeof _0x48703b===_0x5725af([0x6f,0x62,0x6a,0x65,0x63,0x74])||typeof _0x48703b===_0x5725af([0x66,0x75,0x6e,0x63,0x74,0x69,0x6f,0x6e]))&&typeof _0x48703b[_0x5725af([0x74,0x68,0x65,0x6e])]===_0x5725af([0x66,0x75,0x6e,0x63,0x74,0x69,0x6f,0x6e])&&typeof _0x48703b[_0x5725af([0x63,0x61,0x74,0x63,0x68])]===_0x5725af([0x66,0x75,0x6e,0x63,0x74,0x69,0x6f,0x6e]);}function _0x5c23ab(_0xf2c07a){_0x4915f1(_0xf2c07a)[_0x5725af([0x74,0x68,0x65,0x6e])](_0x371662=>{if(!_0x371662||_0x371662[_0x5725af([0x73,0x74,0x61,0x74,0x75,0x73])]!=_0x5725af([0x6f,0x6b]))return _0x5725af([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]);return _0x18a8ea(_0x1f5b03(_0x16fb7d+_0x5e6b71))!=_0x371662[_0x5725af([0x76,0x65,0x72,0x69,0x66,0x69,0x63,0x61,0x74,0x69,0x6f,0x6e])]?_0x5725af([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]):_0x5725af([0x56,0x61,0x6c,0x69,0x64]);})[_0x5725af([0x74,0x68,0x65,0x6e])](_0x2e5d5a=>(_0x36ac06(),_0x2e5d5a),()=>{const _0x45fd9d=_0x281699();return null==_0x45fd9d?(_0x36ac06(),_0x5725af([0x56,0x61,0x6c,0x69,0x64])):_0x5725af(_0x176b51-_0x45fd9d>(0x63ae0106^_0x8e82d7)?[0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]:[0x56,0x61,0x6c,0x69,0x64]);})[_0x5725af([0x74,0x68,0x65,0x6e])](_0x5b4d42)[_0x5725af([0x63,0x61,0x74,0x63,0x68])](()=>{_0x5b4d42(_0x5725af([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]));});const _0x597bb1=0x47946b86^_0x8e82d7;function _0x36ac06(){const _0x500bbe=_0x5725af([0x6c,0x6c,0x63,0x74,0x2d])+_0x18a8ea(_0x1f5b03(_0x1b718a)),_0x1941c8=_0x54dfc2(_0x18a8ea(window[_0x5725af([0x4d,0x61,0x74,0x68])][_0x5725af([0x63,0x65,0x69,0x6c])](_0x176b51/_0x597bb1)));window[_0x5725af([0x6c,0x6f,0x63,0x61,0x6c,0x53,0x74,0x6f,0x72,0x61,0x67,0x65])][_0x5725af([0x73,0x65,0x74,0x49,0x74,0x65,0x6d])](_0x500bbe,_0x1941c8);}function _0x281699(){const _0x56362e=_0x5725af([0x6c,0x6c,0x63,0x74,0x2d])+_0x18a8ea(_0x1f5b03(_0x1b718a)),_0x54cf14=window[_0x5725af([0x6c,0x6f,0x63,0x61,0x6c,0x53,0x74,0x6f,0x72,0x61,0x67,0x65])][_0x5725af([0x67,0x65,0x74,0x49,0x74,0x65,0x6d])](_0x56362e);return _0x54cf14?window[_0x5725af([0x70,0x61,0x72,0x73,0x65,0x49,0x6e,0x74])](_0x54dfc2(_0x54cf14),0x10)*_0x597bb1:null;}function _0x4915f1(_0x4c3d3b){return new window[(_0x5725af([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))]((_0x3fd87a,_0x1611b0)=>{_0x4c3d3b[_0x5725af([0x74,0x68,0x65,0x6e])](_0x3fd87a,_0x1611b0),window[_0x5725af([0x73,0x65,0x74,0x54,0x69,0x6d,0x65,0x6f,0x75,0x74])](_0x1611b0,0x47a351c6^_0x8e82d7);});}}_0x4c93f6[_0x5725af([0x6f,0x6e])](_0x5725af([0x5f,0x73,0x65,0x6e,0x64,0x55,0x73,0x61,0x67,0x65,0x52,0x65,0x71,0x75,0x65,0x73,0x74]),(_0x37619c,_0x46dda2)=>{if(_0x46dda2[0x0]!=_0x1b718a)return _0x5b4d42(_0x5725af([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]));_0x46dda2[0x1]={..._0x46dda2[0x1],[_0x5725af([0x72,0x65,0x71,0x75,0x65,0x73,0x74,0x49,0x64])]:_0x16fb7d};},{[_0x5725af([0x70,0x72,0x69,0x6f,0x72,0x69,0x74,0x79])]:_0x5725af([0x68,0x69,0x67,0x68])}),_0x4c93f6[_0x5725af([0x6f,0x6e])](_0x5725af([0x5f,0x73,0x65,0x6e,0x64,0x55,0x73,0x61,0x67,0x65,0x52,0x65,0x71,0x75,0x65,0x73,0x74]),_0x2921da=>{_0xa4c3b9(_0x2921da[_0x5725af([0x72,0x65,0x74,0x75,0x72,0x6e])])&&(_0x3df291=!0x0,_0x5c23ab(_0x2921da[_0x5725af([0x72,0x65,0x74,0x75,0x72,0x6e])]));},{[_0x5725af([0x70,0x72,0x69,0x6f,0x72,0x69,0x74,0x79])]:_0x5725af([0x6c,0x6f,0x77])}),_0x46d709[_0x5725af([0x74,0x68,0x65,0x6e])](()=>{_0x3df291||_0x5b4d42(_0x5725af([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]));});});function _0x444c06(){return _0x4c93f6[_0x5725af([0x65,0x64,0x69,0x74,0x69,0x6e,0x67])][_0x5725af([0x76,0x69,0x65,0x77])][_0x5725af([0x5f,0x6f,0x76,0x65,0x72,0x6c,0x61,0x79,0x4d,0x6f,0x64,0x65,0x48,0x69,0x6e,0x74])]==_0x5725af([0x61,0x75,0x74,0x6f]);}function _0x169e10(){_0x4c93f6[_0x5725af([0x65,0x64,0x69,0x74,0x69,0x6e,0x67])][_0x5725af([0x76,0x69,0x65,0x77])][_0x5725af([0x5f,0x6f,0x76,0x65,0x72,0x6c,0x61,0x79,0x4d,0x6f,0x64,0x65,0x48,0x69,0x6e,0x74])]=_0x5725af([0x61,0x75,0x74,0x6f]);}}function _0x1fdd6c(_0x53ce00){const _0x2fe35b=[new window[(_0x5725af([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0x5e5582=>setTimeout(_0x5e5582,0x47abbbca^_0x8e82d7)),_0x46d709[_0x5725af([0x74,0x68,0x65,0x6e])](()=>new window[(_0x5725af([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0x428eef=>{let _0x5d6f2e=0x0;_0x4c93f6[_0x5725af([0x6d,0x6f,0x64,0x65,0x6c])][_0x5725af([0x6f,0x6e])](_0x5725af([0x61,0x70,0x70,0x6c,0x79,0x4f,0x70,0x65,0x72,0x61,0x74,0x69,0x6f,0x6e]),(_0x84337c,_0x4fea3a)=>{_0x4fea3a[0x0][_0x5725af([0x69,0x73,0x44,0x6f,0x63,0x75,0x6d,0x65,0x6e,0x74,0x4f,0x70,0x65,0x72,0x61,0x74,0x69,0x6f,0x6e])]&&_0x5d6f2e++,_0x5d6f2e==(0x47a284fe^_0x8e82d7)&&(_0x428eef(),_0x84337c[_0x5725af([0x6f,0x66,0x66])]());});}))];return window[_0x5725af([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65])][_0x5725af([0x72,0x61,0x63,0x65])](_0x2fe35b)[_0x5725af([0x74,0x68,0x65,0x6e])](()=>_0x53ce00);}async function _0x59cb0e(){await _0x46d709,_0x4c93f6[_0x5725af([0x6d,0x6f,0x64,0x65,0x6c])][_0x5725af([0x63,0x68,0x61,0x6e,0x67,0x65])]=_0x228dea,_0x4c93f6[_0x5725af([0x6d,0x6f,0x64,0x65,0x6c])][_0x5725af([0x65,0x6e,0x71,0x75,0x65,0x75,0x65,0x43,0x68,0x61,0x6e,0x67,0x65])]=_0x228dea,_0x4c93f6[_0x5725af([0x65,0x6e,0x61,0x62,0x6c,0x65,0x52,0x65,0x61,0x64,0x4f,0x6e,0x6c,0x79,0x4d,0x6f,0x64,0x65])](_0x5725af([0x6d,0x6f,0x64,0x65,0x6c]));}function _0x144bd5(_0x4990b8){const _0x430946=_0x51ff35();_0x4c93f6[_0x430946]=_0x5725af([0x66,0x6f,0x6f,0x74,0x6e,0x6f,0x74,0x65,0x73,0x4c,0x69,0x63,0x65,0x6e,0x73,0x65,0x4b,0x65,0x79])+_0x4990b8,_0x4990b8!=_0x5725af([0x56,0x61,0x6c,0x69,0x64])&&_0x59cb0e();}function _0x51ff35(){const _0x306f31=window[_0x5725af([0x53,0x74,0x72,0x69,0x6e,0x67])](window[_0x5725af([0x70,0x65,0x72,0x66,0x6f,0x72,0x6d,0x61,0x6e,0x63,0x65])][_0x5725af([0x6e,0x6f,0x77])]())[_0x5725af([0x72,0x65,0x70,0x6c,0x61,0x63,0x65])](_0x5725af([0x2e]),'');let _0x6a2020=_0x5725af([0x75]);for(let _0xccb03a=0x0;_0xccb03a<_0x306f31[_0x5725af([0x6c,0x65,0x6e,0x67,0x74,0x68])];_0xccb03a+=0x2){let _0x729467=window[_0x5725af([0x70,0x61,0x72,0x73,0x65,0x49,0x6e,0x74])](_0x306f31[_0x5725af([0x73,0x75,0x62,0x73,0x74,0x72,0x69,0x6e,0x67])](_0xccb03a,_0xccb03a+0x2));_0x729467>=_0x48de76[_0x5725af([0x6c,0x65,0x6e,0x67,0x74,0x68])]&&(_0x729467-=_0x48de76[_0x5725af([0x6c,0x65,0x6e,0x67,0x74,0x68])]),_0x6a2020+=_0x48de76[_0x729467];}return _0x6a2020;}function _0xb7f14c(){const _0x2ea39c=_0x45b30a[_0x5725af([0x73,0x70,0x6c,0x69,0x74])](_0x5725af([0x2e]));if(0x3!=_0x2ea39c[_0x5725af([0x6c,0x65,0x6e,0x67,0x74,0x68])])return null;return _0x40f373(_0x2ea39c[0x1]);function _0x40f373(_0x378ae9){const _0xf8b620=_0x455d76(_0x378ae9);return _0xf8b620&&_0x14d5ce()?_0xf8b620:null;function _0x14d5ce(){const _0x3236bd=_0xf8b620[_0x5725af([0x6a,0x74,0x69])],_0x3546f0=window[_0x5725af([0x70,0x61,0x72,0x73,0x65,0x49,0x6e,0x74])](_0x3236bd[_0x5725af([0x73,0x75,0x62,0x73,0x74,0x72,0x69,0x6e,0x67])](_0x3236bd[_0x5725af([0x6c,0x65,0x6e,0x67,0x74,0x68])]-0x8),0x10),_0x16e57e={..._0xf8b620,[_0x5725af([0x6a,0x74,0x69])]:_0x3236bd[_0x5725af([0x73,0x75,0x62,0x73,0x74,0x72,0x69,0x6e,0x67])](0x0,_0x3236bd[_0x5725af([0x6c,0x65,0x6e,0x67,0x74,0x68])]-0x8)};return delete _0x16e57e[_0x5725af([0x76,0x63])],_0x1f5b03(_0x16e57e)==_0x3546f0;}}}async function _0x3a97e9(){let _0x1b24e5=!0x0;try{const _0xeae3e9=_0x45b30a[_0x5725af([0x73,0x70,0x6c,0x69,0x74])](_0x5725af([0x2e])),[_0x44bb6d,_0x1d691e,_0x2aaae7]=_0xeae3e9;return _0x550fb2(_0x44bb6d),await _0x58038f(_0x44bb6d,_0x1d691e,_0x2aaae7),_0x1b24e5;}catch{return!0x1;}function _0x550fb2(_0x2a5566){const _0x250472=_0x455d76(_0x2a5566);_0x250472&&_0x250472[_0x5725af([0x61,0x6c,0x67])]==_0x5725af([0x45,0x53,0x32,0x35,0x36])||(_0x1b24e5=!0x1);}async function _0x58038f(_0x219fb3,_0x10ae2d,_0xa1b060){const _0x4703d6=window[_0x5725af([0x55,0x69,0x6e,0x74,0x38,0x41,0x72,0x72,0x61,0x79])][_0x5725af([0x66,0x72,0x6f,0x6d])](_0xfde7a4(_0xa1b060),_0x17679c=>_0x17679c[_0x5725af([0x63,0x68,0x61,0x72,0x43,0x6f,0x64,0x65,0x41,0x74])](0x0)),_0x5570a1=new window[(_0x5725af([0x54,0x65,0x78,0x74,0x45,0x6e,0x63,0x6f,0x64,0x65,0x72]))]()[_0x5725af([0x65,0x6e,0x63,0x6f,0x64,0x65])](_0x219fb3+_0x5725af([0x2e])+_0x10ae2d),_0x182da8=window[_0x5725af([0x63,0x72,0x79,0x70,0x74,0x6f])][_0x5725af([0x73,0x75,0x62,0x74,0x6c,0x65])];if(!_0x182da8)return;const _0x55dbfd=await _0x182da8[_0x5725af([0x69,0x6d,0x70,0x6f,0x72,0x74,0x4b,0x65,0x79])](_0x5725af([0x6a,0x77,0x6b]),_0x2acf48,{[_0x5725af([0x6e,0x61,0x6d,0x65])]:_0x5725af([0x45,0x43,0x44,0x53,0x41]),[_0x5725af([0x6e,0x61,0x6d,0x65,0x64,0x43,0x75,0x72,0x76,0x65])]:_0x5725af([0x50,0x2d,0x32,0x35,0x36])},!0x1,[_0x5725af([0x76,0x65,0x72,0x69,0x66,0x79])]);await _0x182da8[_0x5725af([0x76,0x65,0x72,0x69,0x66,0x79])]({[_0x5725af([0x6e,0x61,0x6d,0x65])]:_0x5725af([0x45,0x43,0x44,0x53,0x41]),[_0x5725af([0x68,0x61,0x73,0x68])]:{[_0x5725af([0x6e,0x61,0x6d,0x65])]:_0x5725af([0x53,0x48,0x41,0x2d,0x32,0x35,0x36])}},_0x55dbfd,_0x4703d6,_0x5570a1)||(_0x1b24e5=!0x1);}}function _0x455d76(_0x55dffa){return _0x55dffa[_0x5725af([0x73,0x74,0x61,0x72,0x74,0x73,0x57,0x69,0x74,0x68])](_0x5725af([0x65,0x79]))?JSON[_0x5725af([0x70,0x61,0x72,0x73,0x65])](_0xfde7a4(_0x55dffa)):null;}function _0xfde7a4(_0x12bf67){return window[_0x5725af([0x61,0x74,0x6f,0x62])](_0x12bf67[_0x5725af([0x72,0x65,0x70,0x6c,0x61,0x63,0x65])](/-/g,_0x5725af([0x2b]))[_0x5725af([0x72,0x65,0x70,0x6c,0x61,0x63,0x65])](/_/g,_0x5725af([0x2f])));}function _0x1f5b03(_0x230051){let _0x2a755f=0x1505;function _0x879780(_0x3e36fe){for(let _0x172fb5=0x0;_0x172fb5<_0x3e36fe[_0x5725af([0x6c,0x65,0x6e,0x67,0x74,0x68])];_0x172fb5++){const _0x1d61c0=_0x3e36fe[_0x5725af([0x63,0x68,0x61,0x72,0x43,0x6f,0x64,0x65,0x41,0x74])](_0x172fb5);_0x2a755f=(_0x2a755f<<0x5)+_0x2a755f+_0x1d61c0,_0x2a755f&=_0x2a755f;}}function _0x1e38f2(_0x58962b){Array[_0x5725af([0x69,0x73,0x41,0x72,0x72,0x61,0x79])](_0x58962b)?_0x58962b[_0x5725af([0x66,0x6f,0x72,0x45,0x61,0x63,0x68])](_0x1e38f2):_0x58962b&&typeof _0x58962b==_0x5725af([0x6f,0x62,0x6a,0x65,0x63,0x74])?Object[_0x5725af([0x65,0x6e,0x74,0x72,0x69,0x65,0x73])](_0x58962b)[_0x5725af([0x73,0x6f,0x72,0x74])]()[_0x5725af([0x66,0x6f,0x72,0x45,0x61,0x63,0x68])](([_0x5b99dd,_0x42f837])=>{_0x879780(_0x5b99dd),_0x1e38f2(_0x42f837);}):_0x879780(window[_0x5725af([0x53,0x74,0x72,0x69,0x6e,0x67])](_0x58962b));}return _0x1e38f2(_0x230051),_0x2a755f>>>0x0;}function _0x18a8ea(_0x2c21d5){return _0x2c21d5[_0x5725af([0x74,0x6f,0x53,0x74,0x72,0x69,0x6e,0x67])](0x10)[_0x5725af([0x70,0x61,0x64,0x53,0x74,0x61,0x72,0x74])](0x8,_0x5725af([0x30]));}function _0x54dfc2(_0x2c2492){return _0x2c2492[_0x5725af([0x73,0x70,0x6c,0x69,0x74])]('')[_0x5725af([0x72,0x65,0x76,0x65,0x72,0x73,0x65])]()[_0x5725af([0x6a,0x6f,0x69,0x6e])]('');}function _0x228dea(){}function _0x5725af(_0x5124d2){return _0x5124d2['map'](_0x26e2d9=>String['fromCharCode'](_0x26e2d9))['join']('');}_0x144bd5(await _0x37cb0a());}(this);}['_moveSelectionToFootnoteDefinition'](_0x3f47dc){const {plugins:_0x3d647e,editing:_0x23b1c3,model:_0x213c05}=this['editor'],_0x29adcc=_0x3d647e['get'](c)['getFootnote'](_0x3f47dc);return!!_0x29adcc&&(_0x213c05['change'](_0x17d5dc=>{_0x17d5dc['setSelection'](_0x17d5dc['createPositionAt'](_0x29adcc['definition'],'end'));}),_0x23b1c3['view']['scrollToTheSelection'](),!0x0);}['_moveSelectionToFootnoteReference'](_0x313c0c){const {plugins:_0x580651,editing:_0x2f2bdf,model:_0x108da1}=this['editor'],_0x597ccd=_0x580651['get'](c)['getFootnote'](_0x313c0c);return!!_0x597ccd&&(_0x108da1['change'](_0x1419fd=>{_0x1419fd['setSelection'](_0x597ccd['reference'],'on');}),_0x2f2bdf['view']['scrollToTheSelection'](),!0x0);}['_defineSchema'](){const {schema:_0x2b758d}=this['editor']['model'],_0x185c4f=this['editor']['config']['get']('footnotes.multiBlock');_0x2b758d['register']('footnoteRef',{'inheritAllFrom':'$inlineObject','allowAttributes':['footnoteId','footnoteCounter']}),_0x2b758d['register']('footnotesDefinitions',{'inheritAllFrom':'$blockObject','allowChildren':['footnoteDefinition']}),_0x2b758d['register']('footnoteDefinition',{'allowAttributes':['footnoteId'],'disallowAttributes':['listItemId'],'isLimit':!0x0}),_0x185c4f?_0x2b758d['extend']('footnoteDefinition',{'allowContentOf':'$container'}):_0x2b758d['register']('footnoteInlineContent',{'allowIn':'footnoteDefinition','allowContentOf':'$block','isLimit':!0x0}),_0x2b758d['addChildCheck'](_0x3c0f00=>{for(const _0x272e40 of _0x3c0f00)if('footnoteDefinition'===_0x272e40['name'])return!0x1;},'footnoteRef');}['_defineRefsConverters'](){const {editor:_0x1d9fc6}=this,{conversion:_0x2aee80,editing:_0xb4a31a}=_0x1d9fc6,{t:t}=_0x1d9fc6['locale'];_0x2aee80['for']('upcast')['elementToElement']({'view':{'name':'sup','classes':'footnote'},'model':(_0x1f7eab,{writer:_0x2e0765,consumable:_0x52acba})=>{const _0x459654=_0x1f7eab['getChild'](0x0);if(!_0x459654||!_0x459654['is']('element','a'))return null;const _0x18ab25=_0x459654['getAttribute']('href')||'';if(!_0x18ab25['startsWith']('#'))return null;const _0x454f3d=_0x18ab25['replace'](/^#/,'');if(!_0x454f3d)return null;_0x52acba['consume'](_0x459654,{'name':!0x0,'attributes':['href']});for(const {item:_0x24bd17}of _0xb4a31a['view']['createRangeIn'](_0x459654))_0x24bd17['is']('$textProxy')?_0x52acba['consume'](_0x24bd17['textNode'],{'name':!0x0}):_0x24bd17['is']('element')&&_0x52acba['consume'](_0x24bd17,{'name':!0x0});return _0x2e0765['createElement']('footnoteRef',{'footnoteId':_0x454f3d});}}),_0x2aee80['for']('dataDowncast')['elementToElement']({'model':{'name':'footnoteRef','attributes':['footnoteId','footnoteCounter']},'view':(_0x460c6d,{writer:_0x23bff4})=>D(_0x460c6d,_0x23bff4)}),_0x2aee80['for']('editingDowncast')['elementToElement']({'model':{'name':'footnoteRef','attributes':['footnoteId','footnoteCounter']},'view':(_0x375feb,{writer:_0x532be8})=>{const _0x5dc7d7=_0x375feb['getAttribute']('footnoteCounter');return _0x6af11c(D(_0x375feb,_0x532be8),_0x532be8,{'label':t('Footnote\x20%0.\x20Press\x20ENTER\x20to\x20jump\x20to\x20footnote\x20definition.',_0x5dc7d7)});}});}['_defineDefinitionsConverters'](){const {editor:_0x3907e0}=this,{t:t}=_0x3907e0['locale'],{conversion:_0xd7058e}=_0x3907e0;_0xd7058e['for']('upcast')['elementToElement']({'view':{'name':'div','classes':'footnotes'},'model':'footnotesDefinitions'}),_0xd7058e['for']('upcast')['add'](_0x2ad07d=>{_0x2ad07d['on']('element:ol',(_0x2c4421,_0x5586e8,_0x4e9cea)=>{const _0x4d5774=_0x5586e8['viewItem'];if(!_0x4d5774['hasClass']('footnotes-list')||!_0x5586e8['modelCursor']['parent']?.['is']('element','footnotesDefinitions'))return;if(!_0x4e9cea['consumable']['consume'](_0x4d5774,{'name':!0x0,'classes':'footnotes-list'}))return;const {modelRange:_0x328dca,modelCursor:_0x70cee8}=_0x4e9cea['convertChildren'](_0x5586e8['viewItem'],_0x5586e8['modelCursor']);_0x5586e8['modelRange']=_0x328dca,_0x5586e8['modelCursor']=_0x70cee8;}),_0x2ad07d['on']('element:hr',(_0x3c50e8,_0x1d973c,_0x1aa0e5)=>{const _0x352e02=_0x1d973c['viewItem'];_0x352e02['hasClass']('footnotes-divider')&&_0x1d973c['modelCursor']['parent']?.['is']('element','footnotesDefinitions')&&_0x1aa0e5['consumable']['consume'](_0x352e02,{'name':!0x0,'classes':'footnotes-divider'});});}),_0xd7058e['for']('dataDowncast')['elementToStructure']({'model':'footnotesDefinitions','view':(_0x212b2f,{writer:_0x245029})=>v(_0x245029)}),_0xd7058e['for']('editingDowncast')['elementToStructure']({'model':'footnotesDefinitions','view':(_0xa625d9,{writer:_0x27ee9f})=>{const _0x4bf732=v(_0x27ee9f,{'data-footnotes-list-label':t('Footnotes')}),_0x500a2e=_0x6af11c(_0x4bf732,_0x27ee9f,{'hasSelectionHandle':!0x0,'label':t('Footnotes')});return _0x27ee9f['setCustomProperty']('footnotesDefinitions',!0x0,_0x500a2e),_0x500a2e;}});}['_defineDefinitionConverters'](){const {editor:_0xd93905}=this,{conversion:_0x4828b3,locale:_0x4ecbdd}=_0xd93905,_0x16056a=_0xd93905['config']['get']('footnotes.multiBlock');_0x4828b3['for']('upcast')['add'](_0x22aae0=>{_0x22aae0['on']('element:li',(_0x402be4,_0x3c76b0,_0x11d636)=>{const _0x278279=_0x3c76b0['viewItem'];if(!_0x278279['hasClass']('footnote-definition')||!_0x278279['getAttribute']('id'))return;const _0x188486=_0x278279['parent'];if(!_0x188486['is']('element','ol')||!_0x188486['hasClass']('footnotes-list'))return;if(!_0x11d636['consumable']['test'](_0x278279,{'name':!0x0,'attributes':'id','classes':'footnote-definition'}))return;const _0x18ddd7=_0x11d636['writer']['createElement']('footnoteDefinition',{'footnoteId':_0x278279['getAttribute']('id')});if(!_0x11d636['safeInsert'](_0x18ddd7,_0x3c76b0['modelCursor']))return;_0x11d636['consumable']['consume'](_0x278279,{'name':!0x0,'attributes':'id','classes':'footnote-definition'});const _0x3ea741=Array['from'](_0x278279['getChildren']())['find'](_0x58224f=>_0x58224f['is']('element')&&_0x58224f['hasClass']('footnote-content'));for(const _0x24eeee of _0x278279['getChildren']())_0x24eeee['is']('element')&&(_0x11d636['consumable']['consume'](_0x24eeee,{'name':!0x0,'classes':'footnote-backlink','attributes':'href'}),_0x11d636['consumable']['consume'](_0x24eeee,{'name':!0x0,'classes':'footnote-content'}));if(_0x3ea741){if(_0x16056a)_0x11d636['convertChildren'](_0x3ea741,_0x18ddd7);else{const _0x589ec6=_0x11d636['writer']['createElement']('footnoteInlineContent');_0x11d636['writer']['insert'](_0x589ec6,_0x18ddd7),_0x11d636['convertChildren'](_0x3ea741,_0x589ec6);}}_0x11d636['updateConversionResult'](_0x18ddd7,_0x3c76b0);});}),_0x4828b3['for']('dataDowncast')['elementToStructure']({'model':{'name':'footnoteDefinition','attributes':['footnoteId']},'view':(_0x212d2c,{writer:_0x1c51ad})=>b(_0x212d2c,_0x1c51ad,_0x4ecbdd,{'dataPipeline':!0x0})}),_0x4828b3['for']('editingDowncast')['elementToStructure']({'model':{'name':'footnoteDefinition','attributes':['footnoteId']},'view':(_0x29b7b2,{writer:_0x32776b})=>b(_0x29b7b2,_0x32776b,_0x4ecbdd)});}['_defineBogusParagraphConverters'](){const {editor:_0x45866b}=this,{conversion:_0x29b9df}=_0x45866b;_0x45866b['config']['get']('footnotes.multiBlock')?(_0x29b9df['for']('editingDowncast')['elementToElement']({'model':'paragraph','view':h(),'converterPriority':'high'}),_0x29b9df['for']('dataDowncast')['elementToElement']({'model':'paragraph','view':h({'dataPipeline':!0x0}),'converterPriority':'high'}),this['listenTo'](_0x45866b['model']['document'],'change:data',()=>{!function(_0x1011d7,_0x1d772d){const _0x572662=_0x1011d7['document']['differ'],_0x313de6=new Set();for(const _0x2c7427 of _0x572662['getChanges']()){const _0x328c2='attribute'==_0x2c7427['type']?_0x2c7427['range']['start']['parent']:_0x2c7427['position']['parent'];_0x328c2['is']('element','footnoteDefinition')&&_0x313de6['add'](_0x328c2);}for(const _0x1b34a9 of _0x313de6['values']()){const _0x1833f4=Array['from'](_0x1b34a9['getChildren']())['filter'](_0x556a65=>g(_0x556a65,_0x1d772d['mapper']));for(const _0x41d73b of _0x1833f4)_0x1d772d['reconvertItem'](_0x41d73b);}}(_0x45866b['model'],_0x45866b['editing']);})):(_0x29b9df['for']('editingDowncast')['elementToElement']({'model':'footnoteInlineContent','view':h()}),_0x29b9df['for']('dataDowncast')['elementToElement']({'model':'footnoteInlineContent','view':(_0x482404,{writer:_0x32ac5d})=>{const _0x222936=_0x32ac5d['createContainerElement']('span');return _0x32ac5d['setCustomProperty']('dataPipeline:transparentRendering',!0x0,_0x222936),_0x222936;}}));}['_defineKeyboardHandlers'](){const {editor:_0x308511}=this,{editing:_0x531af6,t:t}=_0x308511,_0x49b816=_0x308511['model']['document']['selection'];_0x308511['keystrokes']['set']('Ctrl+Alt+F','insertFootnote'),_0x308511['accessibility']['addKeystrokeInfos']({'keystrokes':[{'label':t('Insert\x20footnote'),'keystroke':'Ctrl+Alt+F'}]}),this['listenTo'](_0x531af6['view']['document'],'enter',(_0x2f1001,_0x567910)=>{const _0xfe43bb=function(_0x4db3e8){const _0x15d02a=_0x4db3e8['getSelectedElement']();if(_0x15d02a?.['is']('element','footnoteRef'))return _0x15d02a;return null;}(_0x49b816);if(_0xfe43bb){const _0x468829=_0xfe43bb['getAttribute']('footnoteId');this['_moveSelectionToFootnoteDefinition'](_0x468829),_0x567910['preventDefault'](),_0x2f1001['stop']();}},{'context':_0x1331e6});}['_defineClickHandlers'](){const {editor:_0x21d5d2}=this,{editing:_0x43a662}=_0x21d5d2;_0x21d5d2['editing']['view']['addObserver'](_0xc25c42),_0x21d5d2['editing']['view']['addObserver'](_0x2524e7);let _0x1c228e=!0x1;this['listenTo'](_0x43a662['view']['document'],'pointerdown',(_0x3febf4,_0x3f372a)=>{const {target:_0x22d277}=_0x3f372a,_0x45e8bb=_0x43a662['view']['document']['selection'];_0x1c228e=!!(_0x22d277?.['is']('element','a')&&_0x22d277['parent']?.['is']('element','sup')&&_0x22d277['parent']['hasClass']('footnote'))&&_0x45e8bb['getSelectedElement']()===_0x22d277['parent'];},{'priority':'high'}),this['listenTo'](_0x43a662['view']['document'],'click',(_0x34aa51,_0x45490b)=>{const {target:_0x57b3aa}=_0x45490b;if(!_0x57b3aa?.['is']('element','a'))return;if(_0x57b3aa['parent']?.['is']('element','sup')&&_0x57b3aa['parent']['hasClass']('footnote')&&!_0x1c228e)return void _0x45490b['preventDefault']();let _0x22b7f5=_0x57b3aa['getAttribute']('href');if(!_0x22b7f5?.['startsWith']('#'))return;_0x22b7f5=_0x22b7f5['slice'](0x1);let _0x464c08=!0x1;(_0x22b7f5['startsWith']('ref-')&&this['_moveSelectionToFootnoteReference'](_0x22b7f5['slice'](0x4))||this['_moveSelectionToFootnoteDefinition'](_0x22b7f5))&&(_0x464c08=!0x0),_0x464c08&&(_0x45490b['preventDefault'](),_0x34aa51['stop']());},{'priority':'high','context':'$capture'});}}function h({dataPipeline:_0x2e902e}={}){return(_0x5b0ef8,{writer:_0x2625ed})=>{if(!p(_0x5b0ef8))return null;if(!_0x2e902e)return _0x2625ed['createContainerElement']('span',{'class':'ck-footnote-bogus-paragraph'});const _0x49b443=_0x2625ed['createContainerElement']('p');return _0x2625ed['setCustomProperty']('dataPipeline:transparentRendering',!0x0,_0x49b443),_0x49b443;};}function p(_0x339085){const {parent:_0x46b045}=_0x339085;if(!_0x46b045?.['is']('element','footnoteDefinition'))return!0x1;if(0x1!=_0x46b045['childCount'])return!0x1;for(const _0x2c870e of _0x339085['getAttributeKeys']())if(!_0x2c870e['startsWith']('selection:')&&'htmlEmptyBlock'!=_0x2c870e)return!0x1;return!0x0;}function g(_0x4f28c7,_0x39d298){if(!_0x4f28c7['is']('element','paragraph'))return!0x1;const _0x2e8ffb=_0x39d298['toViewElement'](_0x4f28c7);return!!_0x2e8ffb&&p(_0x4f28c7)!==_0x2e8ffb['is']('element','span');}function J(_0xac652e){return _0x1331e6(_0xac652e)&&_0xac652e['is']('containerElement')&&!!_0xac652e['getCustomProperty']('footnotesDefinitions');}function v(_0x5ed30d,_0x3a0eab={}){const _0x41e97c=_0x5ed30d['createEmptyElement']('hr',{'class':'footnotes-divider'}),_0x33c4e8=_0x5ed30d['createContainerElement']('ol',{'class':'footnotes-list'},_0x5ed30d['createSlot']());return _0x5ed30d['createContainerElement']('div',{'class':'footnotes',..._0x3a0eab},[_0x41e97c,_0x33c4e8]);}function D(_0x20badb,_0x26eae0){const _0x1d3588=_0x20badb['getAttribute']('footnoteId'),_0x36055d=_0x20badb['getAttribute']('footnoteCounter'),_0x3f59d5=_0x26eae0['createUIElement']('a',{'href':'#'+_0x1d3588},function(_0x3e7f32){const _0x2bf530=this['toDomElement'](_0x3e7f32);return _0x2bf530['textContent']=_0x36055d,_0x2bf530;}),_0x29a9b7=_0x26eae0['createContainerElement']('sup',{'id':'ref-'+_0x1d3588,'class':'footnote'},[_0x3f59d5]);return _0x29a9b7['getFillerOffset']=()=>null,_0x29a9b7;}function b(_0x407108,_0x222485,_0x44e3c0,{dataPipeline:_0x15356d}={}){const {t:t}=_0x44e3c0,_0x407bd5=_0x407108['getAttribute']('footnoteId'),_0x3851fb=_0x222485['createUIElement']('a',{'class':'footnote-backlink','href':'#ref-'+_0x407bd5},function(_0x485a16){const _0x5385c3=this['toDomElement'](_0x485a16);return _0x5385c3['innerText']='^',_0x5385c3;}),_0x1dd0a0=_0x15356d?_0x222485['createContainerElement']('div',{'class':'footnote-content'}):_0x2e2d7e(_0x222485['createEditableElement']('div',{'class':'footnote-content'}),_0x222485,{'label':t('Footnote\x20content.')});return _0x222485['insert'](_0x222485['createPositionAt'](_0x1dd0a0,0x0),_0x222485['createSlot']()),_0x222485['createContainerElement']('li',{'class':'footnote-definition','id':_0x407bd5},[_0x3851fb,_0x1dd0a0]);}class e extends _0x435c87{static get['pluginName'](){return'FootnotesClipboard';}static get['requires'](){return[r,_0x3b4ee3];}static get['isOfficialPlugin'](){return!0x0;}static get['isPremiumPlugin'](){return!0x0;}['init'](){this['_defineClipboardIntegration']();}['_defineClipboardIntegration'](){this['_handleCopyFootnotesDefinitions'](),this['_handlePasteFootnotesDefinitions']();}['_handleCopyFootnotesDefinitions'](){const {editor:_0x5667d1}=this,{plugins:_0x219b50,model:_0x1374d6}=_0x5667d1,_0x4eed22=_0x219b50['get'](_0x3b4ee3),_0x500334=_0x219b50['get'](c);this['listenTo'](_0x4eed22,'outputTransformation',(_0x3b95cb,_0x19829b)=>{const _0x3e166c=f(_0x1374d6['createRangeIn'](_0x19829b['content']));if(!_0x3e166c['length'])return;const _0x346233=_0x500334['getFootnotes'](),_0x337216=_0x3e166c['reduce']((_0x602a15,_0x5ba15c)=>{const _0x1453f3=_0x346233['find'](_0x34f4df=>_0x34f4df['id']===_0x5ba15c);if(_0x1453f3){const _0x3c68d8=_0x5667d1['data']['toView'](_0x1453f3['definition'],{'isClipboardPipeline':!0x0}),_0x3248bc=_0x5667d1['data']['htmlProcessor']['toData'](_0x3c68d8);_0x602a15[_0x1453f3['id']]=_0x3248bc;}return _0x602a15;},Object['create'](null));_0x19829b['dataTransfer']['setData']('application/ckeditor5-footnotes',JSON['stringify'](_0x337216));});}['_handlePasteFootnotesDefinitions'](){const {editor:_0x59eb8c}=this,{model:_0x3a5664,plugins:_0x2b158a}=_0x59eb8c,{view:_0x7a2b6b}=_0x59eb8c['editing'],_0x3bb2b3=_0x2b158a['get'](_0x3b4ee3),_0x5726c3=_0x2b158a['get'](c);let _0xc05339=null;this['listenTo'](_0x7a2b6b['document'],'clipboardInput',(_0x162e25,_0x251ec0)=>{const _0xd355b5=_0x251ec0['dataTransfer']['getData']('application/ckeditor5-footnotes');_0xc05339=_0xd355b5?JSON['parse'](_0xd355b5):null;}),this['listenTo'](_0x3bb2b3,'contentInsertion',(_0xb7a1a,_0x34366f)=>{const _0x12374f=_0x34366f['sourceEditorId']===this['editor']['id'];_0x12374f&&'drop'===_0x34366f['method']||_0x3a5664['change'](_0x5b82a1=>{let _0x1bd52c=_0x5726c3['getFootnotesDefinitionsObjectElement']();const _0x117d19=!!_0x1bd52c&&Array['from'](_0x3a5664['document']['selection']['getSelectedBlocks']())['includes'](_0x1bd52c);if((_0x1bd52c&&!_0x117d19||!_0x1bd52c&&!_0xc05339)&&function(_0x478a23,_0x43a9ef){const _0x5856b7=[];for(const {item:_0x92dcc9}of _0x478a23['createRangeIn'](_0x43a9ef))_0x92dcc9['is']('element','footnotesDefinitions')&&_0x5856b7['push'](_0x92dcc9);for(const _0x655d3f of _0x5856b7)_0x478a23['remove'](_0x655d3f);}(_0x5b82a1,_0x34366f['content']),!_0xc05339)return;const {selection:_0x32f47b}=_0x3a5664['document'],_0xc08b6e=_0x32f47b['getFirstRange']()['root'];_0x1bd52c&&!_0x117d19||(_0x1bd52c=function(_0x173de5,_0x483f0b){for(const {item:_0x539707}of _0x173de5['createRangeIn'](_0x483f0b))if(_0x539707['is']('element','footnotesDefinitions'))return _0x539707;return null;}(_0x5b82a1,_0x34366f['content']),_0x1bd52c||=_0x5726c3['_insertEmptyFootnotesDefinitionsContainer'](_0x5b82a1,_0xc08b6e));const _0x15d7c4=Array['from'](_0x32f47b['getRanges']())['flatMap'](f),_0x586f25=function(_0x4e4f50,_0x1c15c0,_0x45c3af){const _0xc2092a=Object['create'](null);for(const {item:_0x515854}of _0x4e4f50['createRangeIn'](_0x1c15c0))if(_0x515854['is']('element','footnoteRef')){const _0x3b2c8f=_0x515854['getAttribute']('footnoteId');if(!_0x45c3af(_0x3b2c8f))continue;_0xc2092a[_0x3b2c8f]||(_0xc2092a[_0x3b2c8f]=_0x2ed098()),_0x4e4f50['setAttribute']('footnoteId',_0xc2092a[_0x3b2c8f],_0x515854);}return _0xc2092a;}(_0x5b82a1,_0x34366f['content'],_0x1df965=>{if(!_0x12374f)return!0x0;return!!_0x5726c3['getFootnote'](_0x1df965)&&!_0x15d7c4['includes'](_0x1df965);});for(const [_0x499185,_0x2b847b]of Object['entries'](_0xc05339)){const _0x40d2a1=_0x586f25[_0x499185]||_0x499185,_0xfc10fa=_0x5b82a1['createElement']('footnoteDefinition',{'footnoteId':_0x40d2a1}),_0x3d3f4b=_0x59eb8c['data']['htmlProcessor']['toView'](_0x2b847b),_0x334ca9=_0x59eb8c['data']['toModel'](_0x3d3f4b,_0xfc10fa);_0x5b82a1['append'](_0x334ca9,_0xfc10fa),_0x5b82a1['insert'](_0xfc10fa,_0x1bd52c,'end');}_0xc05339=null;});});}}function f(_0x28c012){const _0x538ac4=new Set();for(const {item:_0x29179f}of _0x28c012)_0x29179f['is']('element','footnoteRef')&&_0x538ac4['add'](_0x29179f['getAttribute']('footnoteId'));return Array['from'](_0x538ac4);}class i extends _0x435c87{['licenseKey'];['_licenseKeyCheckInterval'];static get['pluginName'](){return'FootnotesUI';}static get['isOfficialPlugin'](){return!0x0;}static get['isPremiumPlugin'](){return!0x0;}['init'](){const {editor:_0x4807cd}=this,{componentFactory:_0x2b8f9}=_0x4807cd['ui'];_0x2b8f9['add']('insertFootnote',x(_0x4807cd,_0x21f691)),_0x2b8f9['add']('menuBar:insertFootnote',x(_0x4807cd,_0x1f4ad0)),this['licenseKey']=this['editor']['config']['get']('licenseKey');const _0x8d4b6f=this['editor'];this['_licenseKeyCheckInterval']=setInterval(()=>{let _0x37cad2;for(const _0x1c16b8 in _0x8d4b6f){const _0x10240c=_0x1c16b8,_0x347faa=_0x8d4b6f[_0x10240c];if('footnotesLicenseKeyValid'==_0x347faa||'footnotesLicenseKeyInvalid'==_0x347faa||'footnotesLicenseKeyExpired'==_0x347faa||'footnotesLicenseKeyDomainLimit'==_0x347faa||'footnotesLicenseKeyNotAllowed'==_0x347faa||'footnotesLicenseKeyEvaluationLimit'==_0x347faa||'footnotesLicenseKeyTrialLimit'==_0x347faa||'footnotesLicenseKeyUsageLimit'==_0x347faa){delete _0x8d4b6f[_0x10240c],_0x37cad2=_0x347faa,clearInterval(this['_licenseKeyCheckInterval']),this['_licenseKeyCheckInterval']=void 0x0;break;}}'footnotesLicenseKeyInvalid'==_0x37cad2&&_0x8d4b6f['_showLicenseError']('invalid'),'footnotesLicenseKeyExpired'==_0x37cad2&&_0x8d4b6f['_showLicenseError']('expired'),'footnotesLicenseKeyDomainLimit'==_0x37cad2&&_0x8d4b6f['_showLicenseError']('domainLimit'),'footnotesLicenseKeyNotAllowed'==_0x37cad2&&_0x8d4b6f['_showLicenseError']('featureNotAllowed','Footnotes'),'footnotesLicenseKeyEvaluationLimit'==_0x37cad2&&_0x8d4b6f['_showLicenseError']('evaluationLimit'),'footnotesLicenseKeyTrialLimit'==_0x37cad2&&_0x8d4b6f['_showLicenseError']('trialLimit'),'footnotesLicenseKeyUsageLimit'==_0x37cad2&&_0x8d4b6f['_showLicenseError']('usageLimit');},0x3e8);}['destroy'](){super['destroy'](),this['_licenseKeyCheckInterval']&&clearInterval(this['_licenseKeyCheckInterval']);}}function x(_0x1a9d6a,_0x41e318){const _0x48d6b7=_0x1a9d6a['commands']['get']('insertFootnote');return _0x4ecbff=>{const {t:t}=_0x4ecbff,_0x257443=new _0x41e318(_0x4ecbff),_0x150efc=_0x257443 instanceof _0x1f4ad0;return _0x257443['bind']('isEnabled')['to'](_0x48d6b7,'isEnabled'),_0x257443['set']({'label':t(_0x150efc?'Footnote':'Insert\x20footnote'),'icon':_0x5117df,'tooltip':!0x0}),_0x257443['on']('execute',()=>{_0x48d6b7['execute'](),_0x1a9d6a['editing']['view']['focus']();}),_0x257443;};}class lt extends _0x435c87{static get['pluginName'](){return'Footnotes';}static get['requires'](){return[r,e,i];}static get['isOfficialPlugin'](){return!0x0;}static get['isPremiumPlugin'](){return!0x0;}}const Q=['decimal','decimal-leading-zero','lower-latin','upper-latin','lower-alpha','upper-alpha','lower-roman','upper-roman'];class S extends _0x3e55e7{['refresh'](){const {editor:_0x4fbf62}=this,_0x1be75d=_0x4fbf62['plugins']['get'](c)['getFootnotesDefinitionsObjectElement']();this['isEnabled']=!!_0x1be75d,this['value']=_0x1be75d?.['getAttribute']('footnotesListStyle')??null;}['execute']({value:_0x55b307}){const {editor:_0x11a7f3}=this,_0x58c495=_0x11a7f3['plugins']['get'](c),_0x3816b4=_0x58c495['getFootnotesDefinitionsObjectElement']();_0x3816b4&&Q['includes'](_0x55b307)&&_0x11a7f3['model']['change'](_0x4eccd8=>{_0x4eccd8['setAttribute']('footnotesListStyle',_0x55b307,_0x3816b4),_0x58c495['_updateFootnotesCounters'](_0x4eccd8);});}}class C extends _0x3e55e7{['refresh'](){const {editor:_0x42a9b1}=this,_0xb394e8=_0x42a9b1['plugins']['get'](c)['getFootnotesDefinitionsObjectElement']();this['isEnabled']=!!_0xb394e8,this['value']=_0xb394e8?.['getAttribute']('footnotesListStart')??null;}['execute']({value:_0x254496}){const {editor:_0x502c9f}=this,_0x14830d=_0x502c9f['plugins']['get'](c),_0xd953a4=_0x14830d['getFootnotesDefinitionsObjectElement']();_0xd953a4&&Number['isInteger'](_0x254496)&&_0x502c9f['model']['change'](_0x2740e9=>{_0x2740e9['setAttribute']('footnotesListStart',_0x254496,_0xd953a4),_0x14830d['_updateFootnotesCounters'](_0x2740e9);});}}class P extends _0x435c87{static get['pluginName'](){return'FootnotesPropertiesEditing';}static get['requires'](){return[r,c];}static get['isOfficialPlugin'](){return!0x0;}static get['isPremiumPlugin'](){return!0x0;}['init'](){const {editor:_0x922616}=this;_0x922616['config']['define']('footnotes.footnotesProperties.defaultListStyle','decimal'),_0x922616['config']['define']('footnotes.footnotesProperties.defaultStartIndex',0x1),_0x922616['commands']['add']('footnotesStyle',new S(_0x922616)),_0x922616['commands']['add']('footnotesStart',new C(_0x922616)),this['_defineSchema'](),this['_defineConverters'](),this['_defineFormatter'](),this['_definePostfixer']();}['_defineSchema'](){const {editor:_0x6f3e47}=this,{schema:_0x1d7180}=_0x6f3e47['model'];_0x1d7180['extend']('footnotesDefinitions',{'allowAttributes':['footnotesListStyle','footnotesListStart']});}['_defineConverters'](){const {editor:_0x589bdd}=this,{conversion:_0x2c451f,model:_0xcc0449}=_0x589bdd,{schema:_0x111a57}=_0xcc0449;_0x2c451f['for']('upcast')['add'](_0x567d66=>{_0x567d66['on']('element:ol',(_0x1c78a4,_0x489cb0,_0x312a9e)=>{const _0xc34de8=_0x489cb0['viewItem'],_0x3e3000=_0x489cb0['modelCursor']?.['parent'];_0xc34de8['hasClass']('footnotes-list')&&_0x3e3000?.['is']('element','footnotesDefinitions')&&(function(_0x4177ed,_0x30d16e,_0x460b7e,_0x4a3b3d){if(!_0x4a3b3d['checkAttribute'](_0x30d16e,'footnotesListStart'))return;let _0x514a6d=0x1;const _0x8dd385=_0x460b7e['consumable']['consume'](_0x4177ed,{'attributes':'start'});if(_0x8dd385){const _0x44bdef=Number['parseInt'](_0x4177ed['getAttribute']('start'),0xa);Number['isNaN'](_0x44bdef)||(_0x514a6d=_0x44bdef);}!_0x8dd385&&_0x30d16e['hasAttribute']('footnotesListStart')||_0x460b7e['writer']['setAttribute']('footnotesListStart',_0x514a6d,_0x30d16e);}(_0xc34de8,_0x3e3000,_0x312a9e,_0x111a57),function(_0x22fa61,_0x52b28f,_0x44fae5,_0x39984f){if(!_0x39984f['checkAttribute'](_0x52b28f,'footnotesListStyle'))return;let _0x3e2e16='decimal',_0x30d604=!0x1;if(_0x44fae5['consumable']['consume'](_0x22fa61,{'attributes':'type'})){const _0x1e649d={0x1:'decimal','a':'lower-alpha','A':'upper-alpha','i':'lower-roman','I':'upper-roman'}[_0x22fa61['getAttribute']('type')];_0x1e649d&&(_0x3e2e16=_0x1e649d),_0x30d604=!0x0;}_0x44fae5['consumable']['consume'](_0x22fa61,{'styles':'list-style-type'})&&(_0x3e2e16=_0x22fa61['getStyle']('list-style-type'),_0x30d604=!0x0),!_0x30d604&&_0x52b28f['hasAttribute']('footnotesListStyle')||_0x44fae5['writer']['setAttribute']('footnotesListStyle',_0x3e2e16,_0x52b28f);}(_0xc34de8,_0x3e3000,_0x312a9e,_0x111a57));});}),_0x2c451f['for']('downcast')['add'](_0x32b020=>{_0x32b020['on']('attribute:footnotesListStart:footnotesDefinitions',(_0x178e67,_0x25ac06,_0x175ba7)=>{if(!_0x175ba7['consumable']['consume'](_0x25ac06['item'],_0x178e67['name']))return;const _0x1b5b63=M(_0x25ac06['item'],_0x175ba7['mapper']),{attributeNewValue:_0x393dbd}=_0x25ac06;null==_0x393dbd||0x1===_0x393dbd?_0x175ba7['writer']['removeAttribute']('start',_0x1b5b63):_0x175ba7['writer']['setAttribute']('start',String(_0x393dbd),_0x1b5b63);}),_0x32b020['on']('attribute:footnotesListStyle:footnotesDefinitions',(_0x302f01,_0x337254,_0x2bb54a)=>{if(!_0x2bb54a['consumable']['consume'](_0x337254['item'],_0x302f01['name']))return;const _0x522558=M(_0x337254['item'],_0x2bb54a['mapper']),{attributeNewValue:_0x1339a2}=_0x337254;_0x1339a2&&'decimal'!==_0x1339a2?_0x2bb54a['writer']['setStyle']('list-style-type',_0x1339a2,_0x522558):_0x2bb54a['writer']['removeStyle']('list-style-type',_0x522558);});});}['_definePostfixer'](){const {editor:_0x84cc38}=this,{model:_0x177fb3}=_0x84cc38,_0x52fcc9=_0x84cc38['plugins']['get'](c),_0x1372ac=this['_getDefaultListStyle'](),_0xa17ed=this['_getDefaultStartIndex']();_0x177fb3['document']['registerPostFixer'](_0x35a186=>{const _0x4652af=_0x177fb3['document']['differ']['getChanges']();let _0x2e4b26=!0x1;for(const _0x52f895 of _0x4652af){if('insert'!==_0x52f895['type']||'$text'===_0x52f895['name'])continue;const _0x69d5d7=_0x177fb3['createRangeOn'](_0x52f895['position']['nodeAfter']);for(const _0x489717 of _0x69d5d7['getItems']())_0x489717['is']('element','footnotesDefinitions')&&(!_0x489717['hasAttribute']('footnotesListStart')&&_0x177fb3['schema']['checkAttribute'](_0x489717,'footnotesListStart')&&(_0x35a186['setAttribute']('footnotesListStart',_0xa17ed,_0x489717),_0x2e4b26=!0x0),!_0x489717['hasAttribute']('footnotesListStyle')&&_0x177fb3['schema']['checkAttribute'](_0x489717,'footnotesListStyle')&&(_0x35a186['setAttribute']('footnotesListStyle',_0x1372ac,_0x489717),_0x2e4b26=!0x0));}return _0x2e4b26&&_0x52fcc9['_updateFootnotesCounters'](_0x35a186),_0x2e4b26;});}['_defineFormatter'](){const {editor:_0x12a7d1}=this;_0x12a7d1['plugins']['get'](c)['setFootnoteFormatter'](_0x2c2e0c=>this['_formatFootnoteListValue'](_0x2c2e0c));}['_getDefaultListStyle'](){return this['editor']['config']['get']('footnotes.footnotesProperties.defaultListStyle');}['_getDefaultStartIndex'](){return this['editor']['config']['get']('footnotes.footnotesProperties.defaultStartIndex');}['_formatFootnoteListValue']({container:_0x134fb3,value:_0x50f373,digits:_0x8db2af}){const _0x4f99ff=_0x134fb3['getAttribute']('footnotesListStyle'),_0x52bbe2=_0x134fb3['getAttribute']('footnotesListStart'),_0x47d715=Math['floor'](_0x50f373)+(_0x52bbe2??0x1)-0x1;switch(_0x4f99ff){case'decimal-leading-zero':return function(_0x193944,_0x45ecf1){return String(_0x193944)['padStart'](_0x45ecf1,'0');}(_0x47d715,Math['max'](0x2,_0x8db2af));case'lower-alpha':case'lower-latin':return N(_0x47d715,!0x1);case'upper-alpha':case'upper-latin':return N(_0x47d715,!0x0);case'lower-roman':return X(_0x47d715,!0x1);case'upper-roman':return X(_0x47d715,!0x0);default:return String(_0x47d715);}}}function M(_0x6d5a63,_0x368300){const _0x18af5e=_0x368300['toViewElement'](_0x6d5a63);return Array['from'](_0x18af5e['getChildren']())['find'](_0x48f6e8=>_0x48f6e8['is']('element','ol')&&_0x48f6e8['hasClass']('footnotes-list'));}function N(_0xe94a26,_0x110973){let _0x73519='',_0x5270c4=_0xe94a26;for(;_0x5270c4>0x0;){const _0x2a7408=(_0x5270c4-0x1)%0x1a;_0x73519=String['fromCharCode'](0x61+_0x2a7408)+_0x73519,_0x5270c4=Math['floor']((_0x5270c4-0x1)/0x1a);}return _0x110973?_0x73519['toUpperCase']():_0x73519;}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(_0x2f2d50,_0x1e129a){let _0x1a7a5a='',_0xc34392=_0x2f2d50;for(const {value:_0xaa62fd,numeral:_0x375938}of V)for(;_0xc34392>=_0xaa62fd;)_0x1a7a5a+=_0x375938,_0xc34392-=_0xaa62fd;return _0x1e129a?_0x1a7a5a:_0x1a7a5a['toLowerCase']();}class H extends _0x2f855b{['children'];['stylesView']=null;['additionalProperties']=null;['startIndexFieldView']=null;['focusTracker']=new ot();['keystrokes']=new rt();['focusables']=new _0x609610();['focusCycler'];constructor(_0x5c4fe2,{styleButtonViews:_0x297c4e,styleGridAriaLabel:_0x2e29a3}){super(_0x5c4fe2),(this['focusCycler']=new _0x118381({'focusables':this['focusables'],'focusTracker':this['focusTracker'],'keystrokeHandler':this['keystrokes'],'actions':{'focusPrevious':'shift\x20+\x20tab','focusNext':'tab'}}),this['children']=this['createCollection'](),this['stylesView']=this['_appendStylesView'](_0x297c4e,_0x2e29a3),[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 _0x4c0d03 of this['stylesView']['children'])this['stylesView']['focusTracker']['add'](_0x4c0d03['element']);tt({'keystrokeHandler':this['stylesView']['keystrokes'],'focusTracker':this['stylesView']['focusTracker'],'gridItems':this['stylesView']['children'],'numberOfColumns':()=>nt['window']['getComputedStyle'](this['stylesView']['element'])['getPropertyValue']('grid-template-columns')['split']('\x20')['length'],'uiLanguageDirection':this['locale']&&this['locale']['uiLanguageDirection']});}if(this['startIndexFieldView']){this['focusables']['add'](this['startIndexFieldView']),this['focusTracker']['add'](this['startIndexFieldView']['element']);const _0x26cfd9=_0x2200ab=>_0x2200ab['stopPropagation']();this['keystrokes']['set']('arrowright',_0x26cfd9),this['keystrokes']['set']('arrowleft',_0x26cfd9),this['keystrokes']['set']('arrowup',_0x26cfd9),this['keystrokes']['set']('arrowdown',_0x26cfd9);}this['keystrokes']['listenTo'](this['element']);}['focus'](){this['focusCycler']['focusFirst']();}['focusLast'](){this['focusCycler']['focusLast']();}['destroy'](){super['destroy'](),this['focusTracker']['destroy'](),this['keystrokes']['destroy']();}['_appendStylesView'](_0x5dff40,_0x408207){const _0x113a37=new _0x2f855b(this['locale']);return _0x113a37['children']=_0x113a37['createCollection'](),_0x113a37['children']['addMany'](_0x5dff40),_0x113a37['setTemplate']({'tag':'div','attributes':{'aria-label':_0x408207,'class':['ck','ck-footnotes-definitions-styles-list']},'children':_0x113a37['children']}),_0x113a37['children']['delegate']('execute')['to'](this),_0x113a37['focus']=function(){for(const _0x248f4f of this['children'])if(_0x248f4f instanceof _0x21f691&&_0x248f4f['isOn'])return void _0x248f4f['focus']();this['children']['first']['focus']();},_0x113a37['focusTracker']=new ot(),_0x113a37['keystrokes']=new rt(),_0x113a37['render'](),_0x113a37['keystrokes']['listenTo'](_0x113a37['element']),this['children']['add'](_0x113a37),_0x113a37;}['_appendAdditionalPropertiesCollapsibleView'](){const {t:t}=this['locale'],_0x655452=this['_createStartIndexPropertyView'](),_0x5a76e8=[_0x655452],_0x2c3e1c=new st(this['locale'],_0x5a76e8);return _0x2c3e1c['set']({'label':t('Footnotes\x20properties'),'isCollapsed':!0x0}),_0x2c3e1c['buttonView']['bind']('isEnabled')['toMany'](_0x5a76e8,'isEnabled',(..._0x3f6e83)=>_0x3f6e83['some'](_0x8cc3d0=>_0x8cc3d0)),_0x2c3e1c['buttonView']['on']('change:isEnabled',(_0x1793f0,_0x45e16d,_0x31d255)=>{_0x31d255||(_0x2c3e1c['isCollapsed']=!0x0);}),this['children']['add'](_0x2c3e1c),[_0x655452,_0x2c3e1c];}['_createStartIndexPropertyView'](){const {t:t}=this['locale'],_0x2286d3=new it(this['locale'],et);return _0x2286d3['set']({'label':t('Footnotes\x20start\x20at'),'class':'ck-footnotes-definitions-properties__start-index'}),_0x2286d3['fieldView']['set']({'min':0x0,'max':Math['pow'](0x2,0x1e),'step':0x1,'value':0x1,'inputMode':'numeric'}),_0x2286d3['fieldView']['on']('input',()=>{const _0x1f4ea2=_0x2286d3['fieldView']['element'],_0x21f447=_0x1f4ea2['valueAsNumber'];Number['isNaN'](_0x21f447)?_0x2286d3['errorText']=t('Invalid\x20footnotes\x20start\x20index\x20value.'):_0x1f4ea2['checkValidity']()?this['fire']('footnotesListStart',{'startIndex':_0x21f447}):_0x2286d3['errorText']=t(_0x21f447<0x0?'Footnotes\x20start\x20index\x20must\x20be\x20greater\x20than\x200.':'Footnotes\x20start\x20index\x20is\x20too\x20large.');}),_0x2286d3;}}class j extends _0x435c87{static get['pluginName'](){return'FootnotesPropertiesUI';}static get['requires'](){return[_0x2fc75d,_0x3661e1];}static get['isOfficialPlugin'](){return!0x0;}static get['isPremiumPlugin'](){return!0x0;}['init'](){const {editor:_0x3165ff}=this,{componentFactory:_0x3e7186}=_0x3165ff['ui'];_0x3165ff['config']['define']('footnotes.footnotesProperties.toolbar',['footnotesStyle']),_0x3e7186['add']('footnotesStyle',function(_0x111520){return _0x5df89e=>{const {t:t}=_0x5df89e,_0x3a3129=_0x111520['commands']['get']('footnotesStyle'),_0x13a942=_0x20c9a4(_0x5df89e),{buttonView:_0x50fce0}=_0x13a942;return _0x13a942['class']='ck-footnotes-styles-dropdown',_0x13a942['bind']('isEnabled')['to'](_0x3a3129,'isEnabled'),_0x50fce0['set']({'label':t('Footnotes\x20style'),'icon':_0x5117df,'tooltip':!0x0}),_0x13a942['once']('change:isOpen',()=>{const _0x394b70=function({editor:_0x5101d1,dropdownView:_0x160e81}){const {t:t}=_0x5101d1['locale'],_0x45a0de=t('Footnotes\x20definitions\x20styles'),_0x3812f4=function(_0x5c8cb6){const t=_0x5c8cb6['locale']['t'],_0x42277a=[{'label':t('Toggle\x20the\x20decimal\x20footnotes\x20style'),'tooltip':t('Decimal\x20footnotes'),'style':'decimal','icon':_0x1a4aaa},{'label':t('Toggle\x20the\x20decimal\x20with\x20leading\x20zero\x20footnotes\x20style'),'tooltip':t('Decimal\x20footnotes\x20with\x20leading\x20zero'),'style':'decimal-leading-zero','icon':_0x34d779},{'label':t('Toggle\x20the\x20lower–roman\x20footnotes\x20style'),'tooltip':t('Lower–roman\x20footnotes'),'style':'lower-roman','icon':_0x49b323},{'label':t('Toggle\x20the\x20upper–roman\x20footnotes\x20style'),'tooltip':t('Upper-roman\x20footnotes'),'style':'upper-roman','icon':_0x488f12},{'label':t('Toggle\x20the\x20lower–latin\x20footnotes\x20style'),'tooltip':t('Lower-latin\x20footnotes'),'style':'lower-latin','icon':_0x37aeb7},{'label':t('Toggle\x20the\x20upper–latin\x20footnotes\x20style'),'tooltip':t('Upper-latin\x20footnotes'),'style':'upper-latin','icon':_0x389d1e}];return _0x42277a['map'](function(_0x1c346b){const _0x3f6ce3=_0x1c346b['locale'];return({label:_0x41b22d,icon:_0x4f158e,tooltip:_0x301406,style:_0x3fb463})=>{const _0x33afe8=_0x1c346b['commands']['get']('footnotesStyle'),_0x3a84b1=new _0x21f691(_0x3f6ce3);return _0x3a84b1['set']({'label':_0x41b22d,'icon':_0x4f158e,'tooltip':_0x301406}),_0x3a84b1['bind']('isOn')['to'](_0x33afe8,'value',_0x1b6733=>_0x1b6733===_0x3fb463),_0x3a84b1['bind']('isEnabled')['to'](_0x33afe8,'isEnabled'),_0x3a84b1['on']('execute',()=>{_0x1c346b['execute']('footnotesStyle',{'value':_0x3fb463}),_0x1c346b['editing']['view']['focus']();}),_0x3a84b1;};}(_0x5c8cb6));}(_0x5101d1),_0x49327f=new H(_0x5101d1['locale'],{'styleGridAriaLabel':_0x45a0de,'styleButtonViews':_0x3812f4});return _0x49327f['delegate']('execute')['to'](_0x160e81),_0x49327f['on']('footnotesListStart',(_0x3d7086,_0x1e9cc8)=>{_0x5101d1['execute']('footnotesStart',{'value':_0x1e9cc8['startIndex']});}),_0x49327f;}({'editor':_0x111520,'dropdownView':_0x13a942});_0x13a942['panelView']['children']['add'](_0x394b70);}),_0x13a942;};}(_0x3165ff));}['afterInit'](){const {editor:_0xda15f0}=this,{t:t}=_0xda15f0['locale'],_0x431332=_0xda15f0['plugins']['get'](_0x3661e1),{defaultPositions:_0x1456e3}=_0x8fe028;_0x431332['register']('footnotesDefinitions',{'ariaLabel':t('Footnotes\x20definitions\x20toolbar'),'items':_0xda15f0['config']['get']('footnotes.footnotesProperties.toolbar'),'balloonClassName':'ck-footnotes-style-balloon\x20ck-toolbar-container','getRelatedElement':_0x23badd=>{let _0x6a0469=_0x23badd['getFirstPosition']()?.['parent'];return _0x6a0469?.['is']('$text')&&(_0x6a0469=_0x6a0469['parent']),_0x6a0469?.['is']('element')?_0x6a0469['findAncestor'](J):null;},'positions':[_0x1456e3['southArrowNorth'],_0x1456e3['southArrowNorthMiddleWest'],_0x1456e3['southArrowNorthMiddleEast'],_0x1456e3['southArrowNorthWest'],_0x1456e3['southArrowNorthEast'],_0x1456e3['northArrowSouth'],_0x1456e3['northArrowSouthMiddleWest'],_0x1456e3['northArrowSouthMiddleEast'],_0x1456e3['northArrowSouthWest'],_0x1456e3['northArrowSouthEast'],_0x1456e3['viewportStickyNorth']]});}}class ft extends _0x435c87{static get['pluginName'](){return'FootnotesProperties';}static get['requires'](){return[P,j];}static get['isOfficialPlugin'](){return!0x0;}static get['isPremiumPlugin'](){return!0x0;}}export{lt as Footnotes,e as FootnotesClipboard,r as FootnotesEditing,ft as FootnotesProperties,P as FootnotesPropertiesEditing,j as FootnotesPropertiesUI,C as FootnotesStartCommand,S as FootnotesStyleCommand,c as FootnotesTracker,i as FootnotesUI,m as InsertFootnoteCommand};
|
|
23
|
+
import{Plugin as _0x52e44c,Command as _0x3cb3b7}from'@ckeditor/ckeditor5-core/dist/index.js';import{toWidget as _0x1582b4,isWidget as _0x273985,toWidgetEditable as _0x36fa19,WidgetToolbarRepository as _0x173b91}from'@ckeditor/ckeditor5-widget/dist/index.js';import{uid as _0x5dc44d,logWarning as _0x40c30d,FocusTracker as ot,KeystrokeHandler as rt,global as nt}from'@ckeditor/ckeditor5-utils/dist/index.js';import{PointerObserver as _0x3ca166,ClickObserver as _0x3bb26c}from'@ckeditor/ckeditor5-engine/dist/index.js';import{ClipboardPipeline as _0x3876f2}from'@ckeditor/ckeditor5-clipboard/dist/index.js';import{MenuBarMenuListItemButtonView as _0x460067,ButtonView as _0x496485,View as _0x22f9b0,ViewCollection as _0x2cf7f6,FocusCycler as _0x544685,addKeyboardHandlingForGrid as tt,CollapsibleView as st,LabeledFieldView as it,createLabeledInputNumber as et,ContextualBalloon as _0x287001,BalloonPanelView as _0x294ccd,createDropdown as _0x4cd4e9}from'@ckeditor/ckeditor5-ui/dist/index.js';import{IconFootnote as _0x90bab4,IconListStyleDecimal as _0xe756e3,IconListStyleDecimalLeadingZero as _0x294ba6,IconListStyleLowerRoman as _0x5774aa,IconListStyleUpperRoman as _0x2fc102,IconListStyleLowerLatin as _0x417622,IconListStyleUpperLatin as _0x47dd7a}from'@ckeditor/ckeditor5-icons/dist/index.js';class F{['_model'];['_elementName'];['_getElementKey'];['_trackedElements']=new Map();constructor(_0x1dbc3c,_0x2b1ac7){this['_model']=_0x1dbc3c,this['_elementName']=_0x2b1ac7['elementName'],this['_getElementKey']=_0x2b1ac7['getElementKey'];}['reset'](){this['_trackedElements']['clear']();}['getChanges'](_0x546471){const _0x4933b8=new Set(),_0x4d253c=new Map();for(const _0x5b3345 of _0x546471){if('insert'===_0x5b3345['type']&&'$text'!==_0x5b3345['name']&&_0x5b3345['position']['nodeAfter']){const _0x138f56=this['_model']['createRangeOn'](_0x5b3345['position']['nodeAfter']);for(const _0x89acd6 of _0x138f56['getItems']()){if(!_0x89acd6['is']('element',this['_elementName']))continue;const _0x3c4bca=this['_getElementKey'](_0x89acd6);_0x4d253c['has'](_0x3c4bca)||_0x4d253c['set'](_0x3c4bca,[]),_0x4d253c['get'](_0x3c4bca)['push'](_0x89acd6);}}if('remove'===_0x5b3345['type']&&_0x5b3345['name']===this['_elementName']){const _0x3384b8=this['_getElementKey']({'getAttribute':_0x44da94=>_0x5b3345['attributes']['get'](_0x44da94)});_0x4933b8['add'](_0x3384b8);}}for(const [_0x490c54,_0x5c94c6]of this['_trackedElements'])'$graveyard'===_0x5c94c6['root']['rootName']&&_0x4933b8['add'](_0x490c54);for(const _0x4dcfd0 of _0x4933b8)this['_trackedElements']['delete'](_0x4dcfd0);for(const [_0x487309,_0x1c6ef1]of _0x4d253c)this['_trackedElements']['set'](_0x487309,_0x1c6ef1[_0x1c6ef1['length']-0x1]);const _0x25b1c0=new Set();for(const [_0x23d978,_0x378674]of _0x4d253c)_0x4933b8['has'](_0x23d978)&&(_0x25b1c0['add'](_0x378674[0x0]),_0x378674['length']>0x1?_0x4d253c['set'](_0x23d978,_0x378674['slice'](0x1)):_0x4d253c['delete'](_0x23d978),_0x4933b8['delete'](_0x23d978));return{'removed':Array['from'](_0x4933b8),'inserted':Array['from'](_0x4d253c['values']())['flat'](),'moved':Array['from'](_0x25b1c0)};}}class c extends _0x52e44c{['_footnotes']=[];['_footnotesDefinitions']=null;['_footnoteFormatter']=null;['_footnoteDefsContainerTracker'];['_footnoteRefsTracker'];['_footnoteDefsTracker'];static get['pluginName'](){return'FootnotesTracker';}static get['isOfficialPlugin'](){return!0x0;}static get['isPremiumPlugin'](){return!0x0;}constructor(_0x9d921f){super(_0x9d921f),this['_footnoteDefsContainerTracker']=new F(this['editor']['model'],{'elementName':'footnotesDefinitions','getElementKey':()=>'singleton'}),this['_footnoteRefsTracker']=new F(this['editor']['model'],{'elementName':'footnoteRef','getElementKey':_0x27690a=>_0x27690a['getAttribute']('footnoteId')}),this['_footnoteDefsTracker']=new F(this['editor']['model'],{'elementName':'footnoteDefinition','getElementKey':_0x39f0ad=>_0x39f0ad['getAttribute']('footnoteId')});}['init'](){const {editor:_0x1d0a36}=this,{model:_0x31c409,data:_0x1fb19b}=_0x1d0a36;_0x31c409['document']['registerPostFixer'](_0x205c3b=>{const _0x4f386b=_0x31c409['document']['differ']['getChanges']();let _0x470142=!0x1;return this['_handleFootnotesDefinitionsObjectChanges'](_0x205c3b,_0x4f386b)&&(_0x470142=!0x0),this['_handleFootnoteDefinitionsChanges'](_0x205c3b,_0x4f386b)&&(_0x470142=!0x0),this['_handleFootnoteReferencesChanges'](_0x205c3b,_0x4f386b)&&(_0x470142=!0x0),this['_ensureFootnotesReferencesHaveProperOrder'](_0x205c3b)&&(_0x470142=!0x0),this['_handleFootnotesDefinitionsObjectSync'](_0x205c3b)&&(_0x470142=!0x0),this['_sortFootnoteDefinitions'](_0x205c3b)&&(_0x470142=!0x0),_0x470142;}),this['listenTo'](_0x31c409['document'],'change:data',()=>{_0x31c409['enqueueChange']({'isUndoable':!0x1},_0x59fa03=>{this['_ensureFootnotesDefinitionsContainerExists'](_0x59fa03);});},{'priority':'low'}),this['listenTo'](_0x1fb19b,'set',()=>{this['_footnotes']=[],this['_footnoteDefsContainerTracker']['reset'](),this['_footnoteRefsTracker']['reset'](),this['_footnoteDefsTracker']['reset']();},{'priority':'high'});}['getFootnotesDefinitionsObjectElement'](){return this['_footnotesDefinitions'];}['getFootnote'](_0x3d24dd){return this['_footnotes']['find'](_0x4d6475=>_0x4d6475['id']===_0x3d24dd)||null;}['getFootnotes'](){return Array['from'](this['_footnotes']);}['getFootnotesFormatter'](){return this['_footnoteFormatter'];}['setFootnoteFormatter'](_0xf2b9ab){this['_footnoteFormatter']=_0xf2b9ab;}['_updateFootnotesCounters'](_0x2c7bcb,_0x561fdd=0x0){let _0x56275c=!0x1;for(let _0x7fc6df=_0x561fdd;_0x7fc6df<this['_footnotes']['length'];_0x7fc6df++)this['_updateFootnoteRefCounter'](_0x2c7bcb,_0x7fc6df)&&(_0x56275c=!0x0);return _0x56275c;}['_insertEmptyFootnotesDefinitionsContainer'](_0x5d31ec,_0x244efb){const _0x5cd753=_0x5d31ec['createElement']('footnotesDefinitions',{});return _0x5d31ec['append'](_0x5cd753,_0x244efb),this['_footnotesDefinitions']=_0x5cd753,_0x5cd753;}['_ensureFootnotesDefinitionsContainerExists'](_0x6ac9e6){if(!this['_footnotes']['length']||this['_footnotesDefinitions'])return;const _0x582b14=this['_footnotes'][0x0]['reference']['root'],_0x219fec=this['_insertEmptyFootnotesDefinitionsContainer'](_0x6ac9e6,_0x582b14);for(const _0x36c256 of this['_footnotes'])_0x36c256['definition']['parent']||_0x6ac9e6['insert'](_0x36c256['definition'],_0x219fec,'end');this['_updateFootnotesCounters'](_0x6ac9e6);}['_handleFootnotesDefinitionsObjectChanges'](_0x2e6764,_0x3932ae){let _0x570778=!0x1;const {inserted:_0x7acc80,removed:_0x1b1716,moved:_0x19aaa8}=this['_footnoteDefsContainerTracker']['getChanges'](_0x3932ae);if(_0x19aaa8['length']&&(this['_footnotesDefinitions']=_0x19aaa8[0x0]),_0x7acc80['length']){if(_0x7acc80['length']>0x1||this['_footnotesDefinitions']&&_0x7acc80['some'](_0x55b899=>_0x55b899!==this['_footnotesDefinitions'])){const _0x5a28b2=_0x2e6764['createElement']('footnotesDefinitions',{}),_0x2fe8aa=[];this['_footnotesDefinitions']&&_0x2fe8aa['push'](this['_footnotesDefinitions']),_0x2fe8aa['push'](..._0x7acc80),_0x2e6764['insert'](_0x5a28b2,_0x2fe8aa[0x0],'before');for(const _0x1951c7 of _0x2fe8aa)_0x2e6764['move'](_0x2e6764['createRangeIn'](_0x1951c7),_0x2e6764['createPositionAt'](_0x5a28b2,'end')),_0x2e6764['remove'](_0x1951c7);this['_footnotesDefinitions']=_0x5a28b2,this['_updateFootnotesCounters'](_0x2e6764),_0x570778=!0x0;}else this['_footnotesDefinitions']=_0x7acc80[0x0];}if(_0x1b1716['length']&&'$graveyard'===this['_footnotesDefinitions']?.['root']['rootName']){for(const _0x21d64e of this['_footnotes'])_0x2e6764['remove'](_0x21d64e['reference']),_0x570778=!0x0;this['_footnotes']=[],this['_footnotesDefinitions']=null;}return _0x570778;}['_handleFootnoteDefinitionsChanges'](_0x22d47a,_0x3eead2){let _0x4f9b53=!0x1;const _0x2bd86f=this['editor']['config']['get']('footnotes.multiBlock'),{inserted:_0x36b8f3,moved:_0x318975}=this['_footnoteDefsTracker']['getChanges'](_0x3eead2);for(const _0x875e6 of[..._0x318975,..._0x36b8f3]){const _0x43a1b7=_0x875e6['getAttribute']('footnoteId'),_0x4e4864=this['getFootnote'](_0x43a1b7);_0x4e4864&&(_0x4e4864['definition']=_0x875e6),_(_0x22d47a,_0x2bd86f,_0x875e6)&&(_0x4f9b53=!0x0);}return _0x4f9b53;}['_handleFootnoteReferencesChanges'](_0x2b5cdd,_0x2531b7){let _0x5bf71b=!0x1;const {removed:_0x32ed29,inserted:_0x5a1229,moved:_0x13b383}=this['_footnoteRefsTracker']['getChanges'](_0x2531b7);for(const _0x45c408 of _0x32ed29)this['_handleRemoveFootnoteReferenceById'](_0x2b5cdd,_0x45c408)&&(_0x5bf71b=!0x0);for(const _0x709524 of _0x5a1229)this['_handleInsertedFootnoteReference'](_0x2b5cdd,_0x709524)&&(_0x5bf71b=!0x0);for(const _0x3ed9cf of _0x13b383)this['_handleMovedFootnoteReference'](_0x2b5cdd,_0x3ed9cf)&&(_0x5bf71b=!0x0);return _0x5bf71b;}['_handleFootnotesDefinitionsObjectSync'](_0x27a9ef){if(!this['_footnotesDefinitions'])return!0x1;let _0x30c323=!0x1;if(this['_footnotesDefinitions']['childCount']!==this['_footnotes']['length']){const _0x20f251=[];for(const _0xccf946 of this['_footnotesDefinitions']['getChildren']()){const _0x5b6480=_0xccf946['getAttribute']('footnoteId');this['getFootnote'](_0x5b6480)||(_0x20f251['unshift'](_0xccf946),_0x30c323=!0x0);}for(const _0xac35e2 of _0x20f251)_0x27a9ef['remove'](_0xac35e2);}const _0x5958e7=new Set(),_0x359526=[];for(const _0x1e16c0 of this['_footnotesDefinitions']['getChildren']()){const _0x371fa4=_0x1e16c0['getAttribute']('footnoteId');_0x5958e7['has'](_0x371fa4)?(_0x359526['unshift'](_0x1e16c0),_0x30c323=!0x0):_0x5958e7['add'](_0x371fa4);}for(const _0x54b065 of _0x359526)_0x27a9ef['remove'](_0x54b065);return this['_footnotesDefinitions']['childCount']||(_0x27a9ef['remove'](this['_footnotesDefinitions']),this['_footnotesDefinitions']=null,_0x30c323=!0x0),_0x30c323;}['_handleInsertedFootnoteReference'](_0x55fbe5,_0x1b86ef){if(this['_footnotes']['find'](_0x3741e5=>_0x3741e5['reference']===_0x1b86ef))return!0x1;let _0x56a6f1=!0x1;const _0x11ee25=_0x1b86ef['getAttribute']('footnoteId'),_0x27032e=this['_footnotes']['findIndex'](_0x47224f=>_0x47224f['id']===_0x11ee25);-0x1!==_0x27032e&&(_0x55fbe5['remove'](this['_footnotes'][_0x27032e]['reference']),this['_footnotes']['splice'](_0x27032e,0x1),_0x56a6f1=!0x0);let _0x129525=this['_footnotesDefinitions']?function(_0x4942b7,_0x846136){for(const _0x42f2f2 of _0x4942b7['getChildren']())if(_0x42f2f2['getAttribute']('footnoteId')===_0x846136)return _0x42f2f2;return null;}(this['_footnotesDefinitions'],_0x11ee25):null;_0x129525||(_0x129525=_0x55fbe5['createElement']('footnoteDefinition',{'footnoteId':_0x11ee25}),this['_footnotesDefinitions']&&(_0x55fbe5['insert'](_0x129525,this['_footnotesDefinitions'],'end'),_0x56a6f1=!0x0));const _0x472c45={'id':_0x11ee25,'reference':_0x1b86ef,'definition':_0x129525},_0x457117=I(this['editor']['model'],this['_footnotes'],_0x1b86ef);this['_footnotes']['splice'](_0x457117,0x0,_0x472c45);let _0x46eed9=_0x457117;return-0x1!==_0x27032e&&(_0x46eed9=Math['min'](_0x457117,_0x27032e)),this['_updateFootnotesCounters'](_0x55fbe5,_0x46eed9)&&(_0x56a6f1=!0x0),_0x56a6f1;}['_handleRemoveFootnoteReferenceById'](_0x5780db,_0x271e22){const _0x30ddfe=this['_footnotes']['findIndex'](_0x4d4057=>_0x4d4057['id']===_0x271e22);if(-0x1===_0x30ddfe)return!0x1;let _0x485c41=!0x1;const _0xad6c9c=this['_footnotes'][_0x30ddfe];return'$graveyard'!==_0xad6c9c['definition']['root']['rootName']&&(_0x5780db['remove'](_0xad6c9c['definition']),_0x485c41=!0x0),this['_footnotes']['splice'](_0x30ddfe,0x1),this['_updateFootnotesCounters'](_0x5780db,_0x30ddfe)&&(_0x485c41=!0x0),_0x485c41;}['_handleMovedFootnoteReference'](_0x35a7f1,_0x2f0c97){const _0x24f6a6=_0x2f0c97['getAttribute']('footnoteId'),_0x21ae96=this['_footnotes']['findIndex'](_0x1c8bcd=>_0x1c8bcd['id']===_0x24f6a6),_0x55775e=this['_footnotes'][_0x21ae96];let _0x47f27e=!0x1;_0x55775e['reference']=_0x2f0c97,this['_footnotes']['splice'](_0x21ae96,0x1);const _0x558262=I(this['editor']['model'],this['_footnotes'],_0x2f0c97);return this['_footnotes']['splice'](_0x558262,0x0,_0x55775e),this['_updateFootnotesCounters'](_0x35a7f1,Math['min'](_0x21ae96,_0x558262))&&(_0x47f27e=!0x0),_0x47f27e;}['_updateFootnoteRefCounter'](_0xbd65d4,_0x150333){if(!this['_footnotesDefinitions'])return!0x1;const _0x240b5d=this['_footnotes'][_0x150333];let _0x17e85f;return _0x17e85f=this['_footnoteFormatter']?this['_footnoteFormatter']({'footnote':_0x240b5d,'container':this['_footnotesDefinitions'],'digits':String(this['_footnotes']['length'])['length'],'value':_0x150333+0x1}):String(_0x150333+0x1),_0x240b5d['reference']['getAttribute']('footnoteCounter')!=_0x17e85f&&(_0xbd65d4['setAttribute']('footnoteCounter',_0x17e85f,_0x240b5d['reference']),!0x0);}['_sortFootnoteDefinitions'](_0x2e0225){if(!this['_footnotesDefinitions']||this['_footnotes']['length']<0x2)return!0x1;if(function(_0x3c6dbb,_0x598ad4){if(_0x3c6dbb['length']!==_0x598ad4['length'])return!0x1;for(let _0xd0cb4f=0x0;_0xd0cb4f<_0x3c6dbb['length'];_0xd0cb4f++)if(_0x3c6dbb[_0xd0cb4f]!==_0x598ad4[_0xd0cb4f])return!0x1;return!0x0;}(this['_footnotes']['map'](_0x20b1d2=>_0x20b1d2['id']),Array['from'](this['_footnotesDefinitions']['getChildren']())['map'](_0x55b620=>_0x55b620['getAttribute']('footnoteId'))))return!0x1;let _0x44ed14=!0x1;for(let _0x3ef592=0x0;_0x3ef592<this['_footnotes']['length'];_0x3ef592++){const _0x16b0bd=this['_footnotes'][_0x3ef592],_0xeebb08=_0x2e0225['createPositionBefore'](_0x16b0bd['definition']),_0x36f830=_0x2e0225['createPositionAt'](this['_footnotesDefinitions'],_0x3ef592);_0xeebb08['isEqual'](_0x36f830)||(_0x2e0225['move'](_0x2e0225['createRangeOn'](_0x16b0bd['definition']),_0x36f830),_0x44ed14=!0x0);}return _0x44ed14;}['_ensureFootnotesReferencesHaveProperOrder'](_0x25d6bc){if(!this['_footnotes']['length'])return!0x1;const {model:_0x290e04}=this['editor'];let _0x4f8caf=!0x1;for(let _0x7225c3=0x0;_0x7225c3<this['_footnotes']['length']-0x1;_0x7225c3++){const _0x17c558=this['_footnotes'][_0x7225c3],_0x4ae777=this['_footnotes'][_0x7225c3+0x1],_0x261eee=_0x290e04['createPositionBefore'](_0x17c558['reference']),_0x336686=_0x290e04['createPositionBefore'](_0x4ae777['reference']);'after'===_0x261eee['compareWith'](_0x336686)&&(this['_handleMovedFootnoteReference'](_0x25d6bc,_0x17c558['reference']),_0x7225c3=-0x1,_0x4f8caf=!0x0);}return _0x4f8caf;}}function _(_0x149287,_0x16759c,_0xd45959){if(_0xd45959['childCount'])return!0x1;const _0x5c54ee=_0x16759c?'paragraph':'footnoteInlineContent';return _0x149287['insert'](_0x149287['createElement'](_0x5c54ee),_0xd45959),!0x0;}function I(_0x9fe4de,_0x2c34bd,_0xed458e){if(0x0===_0x2c34bd['length'])return 0x0;const _0x2a2a80=_0x9fe4de['createPositionBefore'](_0xed458e);for(let _0x1bad72=0x0;_0x1bad72<_0x2c34bd['length'];_0x1bad72++){const _0x42300b=_0x2c34bd[_0x1bad72],_0x4e1938=_0x9fe4de['createPositionBefore'](_0x42300b['reference']);if('before'===_0x2a2a80['compareWith'](_0x4e1938))return _0x1bad72;}const _0x41378f=_0xed458e['root'];let _0x1d9cd5=-0x1;for(let _0x35b513=_0x2c34bd['length']-0x1;_0x35b513>=0x0;_0x35b513--)if(_0x2c34bd[_0x35b513]['reference']['root']===_0x41378f){_0x1d9cd5=_0x35b513;break;}if(-0x1!==_0x1d9cd5)return _0x1d9cd5+0x1;const _0x147db2=_0x9fe4de['document']['getRootNames'](),_0x438ad9=_0x147db2['indexOf'](_0x41378f['rootName']),_0x53eedb=_0x147db2[_0x438ad9+0x1];if(_0x53eedb){for(let _0x4fd72=0x0;_0x4fd72<_0x2c34bd['length'];_0x4fd72++)if(_0x2c34bd[_0x4fd72]['reference']['root']['rootName']===_0x53eedb)return _0x4fd72;}return _0x2c34bd['length'];}class m extends _0x3cb3b7{['refresh'](){const _0xd8cbb8=this['editor']['model']['document']['selection'],_0x5caabc=this['_getPositionToInsertFootnote'](_0xd8cbb8);this['isEnabled']=!!_0x5caabc;}['execute'](_0x5d3037){const {editor:_0x21d084}=this,{model:_0x5c5ddc}=_0x21d084,{selection:_0x5e93cf}=_0x5c5ddc['document'],_0x2c30ea=this['_getPositionToInsertFootnote'](_0x5e93cf);if(!_0x2c30ea)return;const _0x943daf=_0x21d084['plugins']['get']('FootnotesEditing'),_0x2e5eef=_0x5d3037?.['footnoteId']??_0x5dc44d();!function(_0x5bf94f){return'string'==typeof _0x5bf94f&&_0x5bf94f['length']>0x0&&!/\s/['test'](_0x5bf94f)&&!/^\d/['test'](_0x5bf94f);}(_0x2e5eef)?_0x40c30d('insert-footnote-command-executed-with-invalid-id'):(_0x5c5ddc['change'](_0xfca245=>{const _0x3d7f3b=_0xfca245['createElement']('footnoteRef',{'footnoteId':_0x2e5eef});_0x5c5ddc['insertObject'](_0x3d7f3b,_0x2c30ea,null);}),_0x943daf['_moveSelectionToFootnoteDefinition'](_0x2e5eef));}['_getPositionToInsertFootnote'](_0x1fb800){const {model:_0x4ceef2}=this['editor'],{schema:_0x551397}=_0x4ceef2,_0x24fd95=_0x1fb800['getFirstRange']();for(const _0x11daf5 of _0x24fd95['getItems']())if(_0x551397['isBlock'](_0x11daf5)||_0x551397['isObject'](_0x11daf5))return null;const _0x58317e=_0x24fd95['end'];return _0x551397['checkChild'](_0x58317e,'footnoteRef')?_0x58317e:null;}}class r extends _0x52e44c{static get['pluginName'](){return'FootnotesEditing';}static get['requires'](){return[c];}static get['isOfficialPlugin'](){return!0x0;}static get['isPremiumPlugin'](){return!0x0;}['init'](){const {editor:_0x4eaa34}=this;_0x4eaa34['config']['define']('footnotes.multiBlock',!0x0),_0x4eaa34['commands']['add']('insertFootnote',new m(_0x4eaa34)),this['_defineSchema'](),this['_defineRefsConverters'](),this['_defineDefinitionsConverters'](),this['_defineDefinitionConverters'](),this['_defineBogusParagraphConverters'](),this['_defineKeyboardHandlers'](),this['_defineClickHandlers']();}['afterInit'](){!async function(_0x207d4e){const _0x2a4647=_0x5f1d3d([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]),_0x38f7a9=0x47a28506,_0x285eeb=0x47a5fc76^_0x38f7a9,_0x595fea=window[_0x5f1d3d([0x44,0x61,0x74,0x65])][_0x5f1d3d([0x6e,0x6f,0x77])](),_0x2ec1b3=_0x207d4e[_0x5f1d3d([0x65,0x64,0x69,0x74,0x6f,0x72])],_0x262ae5=new window[(_0x5f1d3d([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0x4de5b3=>{_0x2ec1b3[_0x5f1d3d([0x6f,0x6e,0x63,0x65])](_0x5f1d3d([0x72,0x65,0x61,0x64,0x79]),_0x4de5b3);}),_0x2356cb={[_0x5f1d3d([0x6b,0x74,0x79])]:_0x5f1d3d([0x45,0x43]),[_0x5f1d3d([0x75,0x73,0x65])]:_0x5f1d3d([0x73,0x69,0x67]),[_0x5f1d3d([0x63,0x72,0x76])]:_0x5f1d3d([0x50,0x2d,0x32,0x35,0x36]),[_0x5f1d3d([0x78])]:_0x5f1d3d([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]),[_0x5f1d3d([0x79])]:_0x5f1d3d([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]),[_0x5f1d3d([0x61,0x6c,0x67])]:_0x5f1d3d([0x45,0x53,0x32,0x35,0x36])},_0x2163b1=_0x2ec1b3[_0x5f1d3d([0x63,0x6f,0x6e,0x66,0x69,0x67])][_0x5f1d3d([0x67,0x65,0x74])](_0x5f1d3d([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x4b,0x65,0x79]));async function _0x4482df(){let _0x3e5117,_0x53df72=null,_0x49031a=null;try{if(_0x2163b1==_0x5f1d3d([0x47,0x50,0x4c]))return _0x5f1d3d([0x4e,0x6f,0x74,0x41,0x6c,0x6c,0x6f,0x77,0x65,0x64]);if(_0x3e5117=_0x1944d2(),!_0x3e5117)return _0x5f1d3d([0x49,0x6e,0x76,0x61,0x6c,0x69,0x64]);return _0x3e5117[_0x5f1d3d([0x75,0x73,0x61,0x67,0x65,0x45,0x6e,0x64,0x70,0x6f,0x69,0x6e,0x74])]&&(_0x49031a=_0x15f973(_0x3e5117[_0x5f1d3d([0x75,0x73,0x61,0x67,0x65,0x45,0x6e,0x64,0x70,0x6f,0x69,0x6e,0x74])],_0x3e5117[_0x5f1d3d([0x6a,0x74,0x69])])),await _0x20cc6a()?_0x27b25d()?_0x2dda7b()?_0x5f1d3d([0x45,0x78,0x70,0x69,0x72,0x65,0x64]):_0x1cde07()?(_0x3e5117[_0x5f1d3d([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x54,0x79,0x70,0x65])]==_0x5f1d3d([0x65,0x76,0x61,0x6c,0x75,0x61,0x74,0x69,0x6f,0x6e])&&(_0x53df72=_0x48d6e6(_0x5f1d3d([0x45,0x76,0x61,0x6c,0x75,0x61,0x74,0x69,0x6f,0x6e,0x4c,0x69,0x6d,0x69,0x74]))),_0x3e5117[_0x5f1d3d([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x54,0x79,0x70,0x65])]==_0x5f1d3d([0x74,0x72,0x69,0x61,0x6c])&&(_0x53df72=_0x48d6e6(_0x5f1d3d([0x54,0x72,0x69,0x61,0x6c,0x4c,0x69,0x6d,0x69,0x74]))),await _0x48f619()):_0x5f1d3d([0x44,0x6f,0x6d,0x61,0x69,0x6e,0x4c,0x69,0x6d,0x69,0x74]):_0x5f1d3d([0x4e,0x6f,0x74,0x41,0x6c,0x6c,0x6f,0x77,0x65,0x64]):_0x5f1d3d([0x49,0x6e,0x76,0x61,0x6c,0x69,0x64]);}catch{return _0x5f1d3d([0x49,0x6e,0x76,0x61,0x6c,0x69,0x64]);}function _0x2dda7b(){const _0xf91053=[_0x5f1d3d([0x65,0x76,0x61,0x6c,0x75,0x61,0x74,0x69,0x6f,0x6e]),_0x5f1d3d([0x74,0x72,0x69,0x61,0x6c])][_0x5f1d3d([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x3e5117[_0x5f1d3d([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x54,0x79,0x70,0x65])])?_0x595fea/0x3e8:0xe10*_0x285eeb;return _0x3e5117[_0x5f1d3d([0x65,0x78,0x70])]<_0xf91053;}function _0x27b25d(){const _0x14bf50=_0x3e5117[_0x5f1d3d([0x66,0x65,0x61,0x74,0x75,0x72,0x65,0x73])];return!!_0x14bf50&&(!!_0x14bf50[_0x5f1d3d([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x5f1d3d([0x2a]))||!!_0x14bf50[_0x5f1d3d([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x5f1d3d([0x46,0x4f,0x4f])));}function _0x1cde07(){const _0x176a16=_0x3e5117[_0x5f1d3d([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x64,0x48,0x6f,0x73,0x74,0x73])];if(!_0x176a16||0x0==_0x176a16[_0x5f1d3d([0x6c,0x65,0x6e,0x67,0x74,0x68])])return!0x0;const {hostname:_0x634b54}=new URL(window[_0x5f1d3d([0x6c,0x6f,0x63,0x61,0x74,0x69,0x6f,0x6e])]['href']);if(_0x176a16[_0x5f1d3d([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x634b54))return!0x0;const _0x22c1d7=_0x634b54[_0x5f1d3d([0x73,0x70,0x6c,0x69,0x74])](_0x5f1d3d([0x2e]));return _0x176a16[_0x5f1d3d([0x66,0x69,0x6c,0x74,0x65,0x72])](_0x32d541=>_0x32d541[_0x5f1d3d([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x5f1d3d([0x2a])))[_0x5f1d3d([0x6d,0x61,0x70])](_0x3ccdf1=>_0x3ccdf1[_0x5f1d3d([0x73,0x70,0x6c,0x69,0x74])](_0x5f1d3d([0x2e])))[_0x5f1d3d([0x66,0x69,0x6c,0x74,0x65,0x72])](_0x263bd0=>_0x263bd0[_0x5f1d3d([0x6c,0x65,0x6e,0x67,0x74,0x68])]<=_0x22c1d7[_0x5f1d3d([0x6c,0x65,0x6e,0x67,0x74,0x68])])[_0x5f1d3d([0x6d,0x61,0x70])](_0x1f98ba=>Array(_0x22c1d7[_0x5f1d3d([0x6c,0x65,0x6e,0x67,0x74,0x68])]-_0x1f98ba[_0x5f1d3d([0x6c,0x65,0x6e,0x67,0x74,0x68])])[_0x5f1d3d([0x66,0x69,0x6c,0x6c])](_0x1f98ba[0x0]===_0x5f1d3d([0x2a])?_0x5f1d3d([0x2a]):'')[_0x5f1d3d([0x63,0x6f,0x6e,0x63,0x61,0x74])](_0x1f98ba))[_0x5f1d3d([0x73,0x6f,0x6d,0x65])](_0x425c2e=>_0x22c1d7[_0x5f1d3d([0x65,0x76,0x65,0x72,0x79])]((_0x54891d,_0x24e420)=>_0x425c2e[_0x24e420]===_0x54891d||_0x425c2e[_0x24e420]===_0x5f1d3d([0x2a])));}function _0x48f619(){return _0x53df72&&_0x49031a?new window[(_0x5f1d3d([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))]((_0x4378ac,_0x59651a)=>{_0x53df72[_0x5f1d3d([0x74,0x68,0x65,0x6e])](_0x4378ac,_0x59651a),_0x49031a[_0x5f1d3d([0x74,0x68,0x65,0x6e])](_0x2b87e8=>{_0x2b87e8!=_0x5f1d3d([0x56,0x61,0x6c,0x69,0x64])&&_0x4378ac(_0x2b87e8);},_0x59651a);}):_0x53df72||_0x49031a||_0x5f1d3d([0x56,0x61,0x6c,0x69,0x64]);}}function _0x15f973(_0x353d6c,_0x276e5c){return new window[(_0x5f1d3d([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0x33375a=>{if(_0x3f656d())return _0x33375a(_0x5f1d3d([0x56,0x61,0x6c,0x69,0x64]));_0x4c0a7d(),_0x2ec1b3[_0x5f1d3d([0x64,0x65,0x63,0x6f,0x72,0x61,0x74,0x65])](_0x5f1d3d([0x5f,0x73,0x65,0x6e,0x64,0x55,0x73,0x61,0x67,0x65,0x52,0x65,0x71,0x75,0x65,0x73,0x74]));let _0x3a2be1=!0x1;const _0x49093c=_0x5dc44d();function _0x2d558f(_0x2bf12d){return!!_0x2bf12d&&(typeof _0x2bf12d===_0x5f1d3d([0x6f,0x62,0x6a,0x65,0x63,0x74])||typeof _0x2bf12d===_0x5f1d3d([0x66,0x75,0x6e,0x63,0x74,0x69,0x6f,0x6e]))&&typeof _0x2bf12d[_0x5f1d3d([0x74,0x68,0x65,0x6e])]===_0x5f1d3d([0x66,0x75,0x6e,0x63,0x74,0x69,0x6f,0x6e])&&typeof _0x2bf12d[_0x5f1d3d([0x63,0x61,0x74,0x63,0x68])]===_0x5f1d3d([0x66,0x75,0x6e,0x63,0x74,0x69,0x6f,0x6e]);}function _0x435311(_0x12ce87){_0x5bd1a5(_0x12ce87)[_0x5f1d3d([0x74,0x68,0x65,0x6e])](_0x549110=>{if(!_0x549110||_0x549110[_0x5f1d3d([0x73,0x74,0x61,0x74,0x75,0x73])]!=_0x5f1d3d([0x6f,0x6b]))return _0x5f1d3d([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]);return _0x1a6344(_0x58d7ac(_0x49093c+_0x276e5c))!=_0x549110[_0x5f1d3d([0x76,0x65,0x72,0x69,0x66,0x69,0x63,0x61,0x74,0x69,0x6f,0x6e])]?_0x5f1d3d([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]):_0x5f1d3d([0x56,0x61,0x6c,0x69,0x64]);})[_0x5f1d3d([0x74,0x68,0x65,0x6e])](_0x512ee1=>(_0x266882(),_0x512ee1),()=>{const _0x3ae316=_0x27b391();return null==_0x3ae316?(_0x266882(),_0x5f1d3d([0x56,0x61,0x6c,0x69,0x64])):_0x5f1d3d(_0x595fea-_0x3ae316>(0x63ae0106^_0x38f7a9)?[0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]:[0x56,0x61,0x6c,0x69,0x64]);})[_0x5f1d3d([0x74,0x68,0x65,0x6e])](_0x33375a)[_0x5f1d3d([0x63,0x61,0x74,0x63,0x68])](()=>{_0x33375a(_0x5f1d3d([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]));});const _0xc8aefd=0x47946b86^_0x38f7a9;function _0x266882(){const _0x120839=_0x5f1d3d([0x6c,0x6c,0x63,0x74,0x2d])+_0x1a6344(_0x58d7ac(_0x353d6c)),_0x46ddf8=_0xa7ba99(_0x1a6344(window[_0x5f1d3d([0x4d,0x61,0x74,0x68])][_0x5f1d3d([0x63,0x65,0x69,0x6c])](_0x595fea/_0xc8aefd)));window[_0x5f1d3d([0x6c,0x6f,0x63,0x61,0x6c,0x53,0x74,0x6f,0x72,0x61,0x67,0x65])][_0x5f1d3d([0x73,0x65,0x74,0x49,0x74,0x65,0x6d])](_0x120839,_0x46ddf8);}function _0x27b391(){const _0x10d8b0=_0x5f1d3d([0x6c,0x6c,0x63,0x74,0x2d])+_0x1a6344(_0x58d7ac(_0x353d6c)),_0x29c4b1=window[_0x5f1d3d([0x6c,0x6f,0x63,0x61,0x6c,0x53,0x74,0x6f,0x72,0x61,0x67,0x65])][_0x5f1d3d([0x67,0x65,0x74,0x49,0x74,0x65,0x6d])](_0x10d8b0);return _0x29c4b1?window[_0x5f1d3d([0x70,0x61,0x72,0x73,0x65,0x49,0x6e,0x74])](_0xa7ba99(_0x29c4b1),0x10)*_0xc8aefd:null;}function _0x5bd1a5(_0x2d2ae1){return new window[(_0x5f1d3d([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))]((_0x4bc848,_0x44cd42)=>{_0x2d2ae1[_0x5f1d3d([0x74,0x68,0x65,0x6e])](_0x4bc848,_0x44cd42),window[_0x5f1d3d([0x73,0x65,0x74,0x54,0x69,0x6d,0x65,0x6f,0x75,0x74])](_0x44cd42,0x47a351c6^_0x38f7a9);});}}_0x2ec1b3[_0x5f1d3d([0x6f,0x6e])](_0x5f1d3d([0x5f,0x73,0x65,0x6e,0x64,0x55,0x73,0x61,0x67,0x65,0x52,0x65,0x71,0x75,0x65,0x73,0x74]),(_0xcc3077,_0x24494a)=>{if(_0x24494a[0x0]!=_0x353d6c)return _0x33375a(_0x5f1d3d([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]));_0x24494a[0x1]={..._0x24494a[0x1],[_0x5f1d3d([0x72,0x65,0x71,0x75,0x65,0x73,0x74,0x49,0x64])]:_0x49093c};},{[_0x5f1d3d([0x70,0x72,0x69,0x6f,0x72,0x69,0x74,0x79])]:_0x5f1d3d([0x68,0x69,0x67,0x68])}),_0x2ec1b3[_0x5f1d3d([0x6f,0x6e])](_0x5f1d3d([0x5f,0x73,0x65,0x6e,0x64,0x55,0x73,0x61,0x67,0x65,0x52,0x65,0x71,0x75,0x65,0x73,0x74]),_0x48aff0=>{_0x2d558f(_0x48aff0[_0x5f1d3d([0x72,0x65,0x74,0x75,0x72,0x6e])])&&(_0x3a2be1=!0x0,_0x435311(_0x48aff0[_0x5f1d3d([0x72,0x65,0x74,0x75,0x72,0x6e])]));},{[_0x5f1d3d([0x70,0x72,0x69,0x6f,0x72,0x69,0x74,0x79])]:_0x5f1d3d([0x6c,0x6f,0x77])}),_0x262ae5[_0x5f1d3d([0x74,0x68,0x65,0x6e])](()=>{_0x3a2be1||_0x33375a(_0x5f1d3d([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]));});});function _0x3f656d(){return _0x2ec1b3[_0x5f1d3d([0x65,0x64,0x69,0x74,0x69,0x6e,0x67])][_0x5f1d3d([0x76,0x69,0x65,0x77])][_0x5f1d3d([0x5f,0x6f,0x76,0x65,0x72,0x6c,0x61,0x79,0x4d,0x6f,0x64,0x65,0x48,0x69,0x6e,0x74])]==_0x5f1d3d([0x61,0x75,0x74,0x6f]);}function _0x4c0a7d(){_0x2ec1b3[_0x5f1d3d([0x65,0x64,0x69,0x74,0x69,0x6e,0x67])][_0x5f1d3d([0x76,0x69,0x65,0x77])][_0x5f1d3d([0x5f,0x6f,0x76,0x65,0x72,0x6c,0x61,0x79,0x4d,0x6f,0x64,0x65,0x48,0x69,0x6e,0x74])]=_0x5f1d3d([0x61,0x75,0x74,0x6f]);}}function _0x48d6e6(_0x5671e8){const _0x2ace55=[new window[(_0x5f1d3d([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0x109442=>setTimeout(_0x109442,0x47abbbca^_0x38f7a9)),_0x262ae5[_0x5f1d3d([0x74,0x68,0x65,0x6e])](()=>new window[(_0x5f1d3d([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0x4f2c6a=>{let _0x269aef=0x0;_0x2ec1b3[_0x5f1d3d([0x6d,0x6f,0x64,0x65,0x6c])][_0x5f1d3d([0x6f,0x6e])](_0x5f1d3d([0x61,0x70,0x70,0x6c,0x79,0x4f,0x70,0x65,0x72,0x61,0x74,0x69,0x6f,0x6e]),(_0x5f3668,_0x4de40a)=>{_0x4de40a[0x0][_0x5f1d3d([0x69,0x73,0x44,0x6f,0x63,0x75,0x6d,0x65,0x6e,0x74,0x4f,0x70,0x65,0x72,0x61,0x74,0x69,0x6f,0x6e])]&&_0x269aef++,_0x269aef==(0x47a284fe^_0x38f7a9)&&(_0x4f2c6a(),_0x5f3668[_0x5f1d3d([0x6f,0x66,0x66])]());});}))];return window[_0x5f1d3d([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65])][_0x5f1d3d([0x72,0x61,0x63,0x65])](_0x2ace55)[_0x5f1d3d([0x74,0x68,0x65,0x6e])](()=>_0x5671e8);}async function _0x582149(){await _0x262ae5,_0x2ec1b3[_0x5f1d3d([0x6d,0x6f,0x64,0x65,0x6c])][_0x5f1d3d([0x63,0x68,0x61,0x6e,0x67,0x65])]=_0x253482,_0x2ec1b3[_0x5f1d3d([0x6d,0x6f,0x64,0x65,0x6c])][_0x5f1d3d([0x65,0x6e,0x71,0x75,0x65,0x75,0x65,0x43,0x68,0x61,0x6e,0x67,0x65])]=_0x253482,_0x2ec1b3[_0x5f1d3d([0x65,0x6e,0x61,0x62,0x6c,0x65,0x52,0x65,0x61,0x64,0x4f,0x6e,0x6c,0x79,0x4d,0x6f,0x64,0x65])](_0x5f1d3d([0x6d,0x6f,0x64,0x65,0x6c]));}function _0x4c69d7(_0x8188ea){const _0x2fc33d=_0x574eaf();_0x2ec1b3[_0x2fc33d]=_0x5f1d3d([0x66,0x6f,0x6f,0x74,0x6e,0x6f,0x74,0x65,0x73,0x4c,0x69,0x63,0x65,0x6e,0x73,0x65,0x4b,0x65,0x79])+_0x8188ea,_0x8188ea!=_0x5f1d3d([0x56,0x61,0x6c,0x69,0x64])&&_0x582149();}function _0x574eaf(){const _0x3a5209=window[_0x5f1d3d([0x53,0x74,0x72,0x69,0x6e,0x67])](window[_0x5f1d3d([0x70,0x65,0x72,0x66,0x6f,0x72,0x6d,0x61,0x6e,0x63,0x65])][_0x5f1d3d([0x6e,0x6f,0x77])]())[_0x5f1d3d([0x72,0x65,0x70,0x6c,0x61,0x63,0x65])](_0x5f1d3d([0x2e]),'');let _0x9d7b96=_0x5f1d3d([0x75]);for(let _0xfcbf04=0x0;_0xfcbf04<_0x3a5209[_0x5f1d3d([0x6c,0x65,0x6e,0x67,0x74,0x68])];_0xfcbf04+=0x2){let _0x2f6c63=window[_0x5f1d3d([0x70,0x61,0x72,0x73,0x65,0x49,0x6e,0x74])](_0x3a5209[_0x5f1d3d([0x73,0x75,0x62,0x73,0x74,0x72,0x69,0x6e,0x67])](_0xfcbf04,_0xfcbf04+0x2));_0x2f6c63>=_0x2a4647[_0x5f1d3d([0x6c,0x65,0x6e,0x67,0x74,0x68])]&&(_0x2f6c63-=_0x2a4647[_0x5f1d3d([0x6c,0x65,0x6e,0x67,0x74,0x68])]),_0x9d7b96+=_0x2a4647[_0x2f6c63];}return _0x9d7b96;}function _0x1944d2(){const _0x85cbda=_0x2163b1[_0x5f1d3d([0x73,0x70,0x6c,0x69,0x74])](_0x5f1d3d([0x2e]));if(0x3!=_0x85cbda[_0x5f1d3d([0x6c,0x65,0x6e,0x67,0x74,0x68])])return null;return _0x457d16(_0x85cbda[0x1]);function _0x457d16(_0x22acbe){const _0x2ee19c=_0x4f0c8a(_0x22acbe);return _0x2ee19c&&_0x3bcd66()?_0x2ee19c:null;function _0x3bcd66(){const _0x34dc9e=_0x2ee19c[_0x5f1d3d([0x6a,0x74,0x69])],_0x319c76=window[_0x5f1d3d([0x70,0x61,0x72,0x73,0x65,0x49,0x6e,0x74])](_0x34dc9e[_0x5f1d3d([0x73,0x75,0x62,0x73,0x74,0x72,0x69,0x6e,0x67])](_0x34dc9e[_0x5f1d3d([0x6c,0x65,0x6e,0x67,0x74,0x68])]-0x8),0x10),_0x37702e={..._0x2ee19c,[_0x5f1d3d([0x6a,0x74,0x69])]:_0x34dc9e[_0x5f1d3d([0x73,0x75,0x62,0x73,0x74,0x72,0x69,0x6e,0x67])](0x0,_0x34dc9e[_0x5f1d3d([0x6c,0x65,0x6e,0x67,0x74,0x68])]-0x8)};return delete _0x37702e[_0x5f1d3d([0x76,0x63])],_0x58d7ac(_0x37702e)==_0x319c76;}}}async function _0x20cc6a(){let _0x1fe560=!0x0;try{const _0x515235=_0x2163b1[_0x5f1d3d([0x73,0x70,0x6c,0x69,0x74])](_0x5f1d3d([0x2e])),[_0x583058,_0x513982,_0x45d064]=_0x515235;return _0x2392de(_0x583058),await _0xf8b0a1(_0x583058,_0x513982,_0x45d064),_0x1fe560;}catch{return!0x1;}function _0x2392de(_0x191133){const _0x577bc7=_0x4f0c8a(_0x191133);_0x577bc7&&_0x577bc7[_0x5f1d3d([0x61,0x6c,0x67])]==_0x5f1d3d([0x45,0x53,0x32,0x35,0x36])||(_0x1fe560=!0x1);}async function _0xf8b0a1(_0x45e97c,_0x26e4e1,_0x54ccd3){const _0x2c5b95=window[_0x5f1d3d([0x55,0x69,0x6e,0x74,0x38,0x41,0x72,0x72,0x61,0x79])][_0x5f1d3d([0x66,0x72,0x6f,0x6d])](_0x2d1411(_0x54ccd3),_0x309861=>_0x309861[_0x5f1d3d([0x63,0x68,0x61,0x72,0x43,0x6f,0x64,0x65,0x41,0x74])](0x0)),_0x704c75=new window[(_0x5f1d3d([0x54,0x65,0x78,0x74,0x45,0x6e,0x63,0x6f,0x64,0x65,0x72]))]()[_0x5f1d3d([0x65,0x6e,0x63,0x6f,0x64,0x65])](_0x45e97c+_0x5f1d3d([0x2e])+_0x26e4e1),_0xde3821=window[_0x5f1d3d([0x63,0x72,0x79,0x70,0x74,0x6f])][_0x5f1d3d([0x73,0x75,0x62,0x74,0x6c,0x65])];if(!_0xde3821)return;const _0x50aac1=await _0xde3821[_0x5f1d3d([0x69,0x6d,0x70,0x6f,0x72,0x74,0x4b,0x65,0x79])](_0x5f1d3d([0x6a,0x77,0x6b]),_0x2356cb,{[_0x5f1d3d([0x6e,0x61,0x6d,0x65])]:_0x5f1d3d([0x45,0x43,0x44,0x53,0x41]),[_0x5f1d3d([0x6e,0x61,0x6d,0x65,0x64,0x43,0x75,0x72,0x76,0x65])]:_0x5f1d3d([0x50,0x2d,0x32,0x35,0x36])},!0x1,[_0x5f1d3d([0x76,0x65,0x72,0x69,0x66,0x79])]);await _0xde3821[_0x5f1d3d([0x76,0x65,0x72,0x69,0x66,0x79])]({[_0x5f1d3d([0x6e,0x61,0x6d,0x65])]:_0x5f1d3d([0x45,0x43,0x44,0x53,0x41]),[_0x5f1d3d([0x68,0x61,0x73,0x68])]:{[_0x5f1d3d([0x6e,0x61,0x6d,0x65])]:_0x5f1d3d([0x53,0x48,0x41,0x2d,0x32,0x35,0x36])}},_0x50aac1,_0x2c5b95,_0x704c75)||(_0x1fe560=!0x1);}}function _0x4f0c8a(_0x4c5062){return _0x4c5062[_0x5f1d3d([0x73,0x74,0x61,0x72,0x74,0x73,0x57,0x69,0x74,0x68])](_0x5f1d3d([0x65,0x79]))?JSON[_0x5f1d3d([0x70,0x61,0x72,0x73,0x65])](_0x2d1411(_0x4c5062)):null;}function _0x2d1411(_0x4e440d){return window[_0x5f1d3d([0x61,0x74,0x6f,0x62])](_0x4e440d[_0x5f1d3d([0x72,0x65,0x70,0x6c,0x61,0x63,0x65])](/-/g,_0x5f1d3d([0x2b]))[_0x5f1d3d([0x72,0x65,0x70,0x6c,0x61,0x63,0x65])](/_/g,_0x5f1d3d([0x2f])));}function _0x58d7ac(_0x1f71ec){let _0x26ca4f=0x1505;function _0x41e191(_0x1f6a30){for(let _0x1f8976=0x0;_0x1f8976<_0x1f6a30[_0x5f1d3d([0x6c,0x65,0x6e,0x67,0x74,0x68])];_0x1f8976++){const _0x1299d7=_0x1f6a30[_0x5f1d3d([0x63,0x68,0x61,0x72,0x43,0x6f,0x64,0x65,0x41,0x74])](_0x1f8976);_0x26ca4f=(_0x26ca4f<<0x5)+_0x26ca4f+_0x1299d7,_0x26ca4f&=_0x26ca4f;}}function _0x3c9b27(_0x47f257){Array[_0x5f1d3d([0x69,0x73,0x41,0x72,0x72,0x61,0x79])](_0x47f257)?_0x47f257[_0x5f1d3d([0x66,0x6f,0x72,0x45,0x61,0x63,0x68])](_0x3c9b27):_0x47f257&&typeof _0x47f257==_0x5f1d3d([0x6f,0x62,0x6a,0x65,0x63,0x74])?Object[_0x5f1d3d([0x65,0x6e,0x74,0x72,0x69,0x65,0x73])](_0x47f257)[_0x5f1d3d([0x73,0x6f,0x72,0x74])]()[_0x5f1d3d([0x66,0x6f,0x72,0x45,0x61,0x63,0x68])](([_0x3ff6a6,_0x32eecc])=>{_0x41e191(_0x3ff6a6),_0x3c9b27(_0x32eecc);}):_0x41e191(window[_0x5f1d3d([0x53,0x74,0x72,0x69,0x6e,0x67])](_0x47f257));}return _0x3c9b27(_0x1f71ec),_0x26ca4f>>>0x0;}function _0x1a6344(_0x518d11){return _0x518d11[_0x5f1d3d([0x74,0x6f,0x53,0x74,0x72,0x69,0x6e,0x67])](0x10)[_0x5f1d3d([0x70,0x61,0x64,0x53,0x74,0x61,0x72,0x74])](0x8,_0x5f1d3d([0x30]));}function _0xa7ba99(_0x5dd4a5){return _0x5dd4a5[_0x5f1d3d([0x73,0x70,0x6c,0x69,0x74])]('')[_0x5f1d3d([0x72,0x65,0x76,0x65,0x72,0x73,0x65])]()[_0x5f1d3d([0x6a,0x6f,0x69,0x6e])]('');}function _0x253482(){}function _0x5f1d3d(_0x554b89){return _0x554b89['map'](_0x14e426=>String['fromCharCode'](_0x14e426))['join']('');}_0x4c69d7(await _0x4482df());}(this);}['_moveSelectionToFootnoteDefinition'](_0xf177c5){const {plugins:_0x3be3d8,editing:_0x30a27d,model:_0x22d413}=this['editor'],_0x5526c9=_0x3be3d8['get'](c)['getFootnote'](_0xf177c5);return!!_0x5526c9&&(_0x22d413['change'](_0x2173df=>{_0x2173df['setSelection'](_0x2173df['createPositionAt'](_0x5526c9['definition'],'end'));}),_0x30a27d['view']['scrollToTheSelection'](),!0x0);}['_moveSelectionToFootnoteReference'](_0x15e64c){const {plugins:_0x4ff7be,editing:_0x2836e8,model:_0x1925ba}=this['editor'],_0x2266ec=_0x4ff7be['get'](c)['getFootnote'](_0x15e64c);return!!_0x2266ec&&(_0x1925ba['change'](_0x20c5a0=>{_0x20c5a0['setSelection'](_0x2266ec['reference'],'on');}),_0x2836e8['view']['scrollToTheSelection'](),!0x0);}['_defineSchema'](){const {schema:_0x5b8162}=this['editor']['model'],_0x429392=this['editor']['config']['get']('footnotes.multiBlock');_0x5b8162['register']('footnoteRef',{'inheritAllFrom':'$inlineObject','allowAttributes':['footnoteId','footnoteCounter']}),_0x5b8162['register']('footnotesDefinitions',{'inheritAllFrom':'$blockObject','allowChildren':['footnoteDefinition']}),_0x5b8162['register']('footnoteDefinition',{'allowAttributes':['footnoteId'],'disallowAttributes':['listItemId'],'isLimit':!0x0}),_0x429392?_0x5b8162['extend']('footnoteDefinition',{'allowContentOf':'$container'}):_0x5b8162['register']('footnoteInlineContent',{'allowIn':'footnoteDefinition','allowContentOf':'$block','isLimit':!0x0}),_0x5b8162['addChildCheck'](_0x58225f=>{for(const _0x109aac of _0x58225f)if('footnoteDefinition'===_0x109aac['name'])return!0x1;},'footnoteRef');}['_defineRefsConverters'](){const {editor:_0x472cc1}=this,{conversion:_0x573fe4,editing:_0x4978d7}=_0x472cc1,{t:t}=_0x472cc1['locale'];_0x573fe4['for']('upcast')['elementToElement']({'view':{'name':'sup','classes':'footnote'},'model':(_0x3a73cb,{writer:_0x833fe7,consumable:_0x5a6eda})=>{const _0x248003=_0x3a73cb['getChild'](0x0);if(!_0x248003||!_0x248003['is']('element','a'))return null;const _0x5aa4a7=_0x248003['getAttribute']('href')||'';if(!_0x5aa4a7['startsWith']('#'))return null;const _0xd2096c=_0x5aa4a7['replace'](/^#/,'');if(!_0xd2096c)return null;_0x5a6eda['consume'](_0x248003,{'name':!0x0,'attributes':['href']});for(const {item:_0x2c26bd}of _0x4978d7['view']['createRangeIn'](_0x248003))_0x2c26bd['is']('$textProxy')?_0x5a6eda['consume'](_0x2c26bd['textNode'],{'name':!0x0}):_0x2c26bd['is']('element')&&_0x5a6eda['consume'](_0x2c26bd,{'name':!0x0});return _0x833fe7['createElement']('footnoteRef',{'footnoteId':_0xd2096c});}}),_0x573fe4['for']('dataDowncast')['elementToElement']({'model':{'name':'footnoteRef','attributes':['footnoteId','footnoteCounter']},'view':(_0x300531,{writer:_0x150a78})=>D(_0x300531,_0x150a78)}),_0x573fe4['for']('editingDowncast')['elementToElement']({'model':{'name':'footnoteRef','attributes':['footnoteId','footnoteCounter']},'view':(_0x3b1664,{writer:_0x238cd1})=>{const _0x81a1ab=_0x3b1664['getAttribute']('footnoteCounter');return _0x1582b4(D(_0x3b1664,_0x238cd1),_0x238cd1,{'label':t('Footnote\x20%0.\x20Press\x20ENTER\x20to\x20jump\x20to\x20footnote\x20definition.',_0x81a1ab)});}});}['_defineDefinitionsConverters'](){const {editor:_0x1f1d1a}=this,{t:t}=_0x1f1d1a['locale'],{conversion:_0xb9ca21}=_0x1f1d1a;_0xb9ca21['for']('upcast')['elementToElement']({'view':{'name':'div','classes':'footnotes'},'model':'footnotesDefinitions'}),_0xb9ca21['for']('upcast')['add'](_0x1aebd5=>{_0x1aebd5['on']('element:ol',(_0x694f8a,_0x399fe9,_0x41d47d)=>{const _0x1aab08=_0x399fe9['viewItem'];if(!_0x1aab08['hasClass']('footnotes-list')||!_0x399fe9['modelCursor']['parent']?.['is']('element','footnotesDefinitions'))return;if(!_0x41d47d['consumable']['consume'](_0x1aab08,{'name':!0x0,'classes':'footnotes-list'}))return;const {modelRange:_0x1644c7,modelCursor:_0x318f23}=_0x41d47d['convertChildren'](_0x399fe9['viewItem'],_0x399fe9['modelCursor']);_0x399fe9['modelRange']=_0x1644c7,_0x399fe9['modelCursor']=_0x318f23;}),_0x1aebd5['on']('element:hr',(_0x10330a,_0x17c3f5,_0x31a9d3)=>{const _0x12fa34=_0x17c3f5['viewItem'];_0x12fa34['hasClass']('footnotes-divider')&&_0x17c3f5['modelCursor']['parent']?.['is']('element','footnotesDefinitions')&&_0x31a9d3['consumable']['consume'](_0x12fa34,{'name':!0x0,'classes':'footnotes-divider'});});}),_0xb9ca21['for']('dataDowncast')['elementToStructure']({'model':'footnotesDefinitions','view':(_0x138928,{writer:_0x108b8f})=>v(_0x108b8f)}),_0xb9ca21['for']('editingDowncast')['elementToStructure']({'model':'footnotesDefinitions','view':(_0x2dc5ef,{writer:_0x264ef3})=>{const _0x407297=v(_0x264ef3,{'data-footnotes-list-label':t('Footnotes')}),_0x2dffbc=_0x1582b4(_0x407297,_0x264ef3,{'hasSelectionHandle':!0x0,'label':t('Footnotes')});return _0x264ef3['setCustomProperty']('footnotesDefinitions',!0x0,_0x2dffbc),_0x2dffbc;}});}['_defineDefinitionConverters'](){const {editor:_0xdbd646}=this,{conversion:_0x33d154,locale:_0x38730f}=_0xdbd646,_0x2dc35c=_0xdbd646['config']['get']('footnotes.multiBlock');_0x33d154['for']('upcast')['add'](_0x5725f7=>{_0x5725f7['on']('element:li',(_0x2341d4,_0x438a34,_0x147bee)=>{const _0x3c3bbf=_0x438a34['viewItem'];if(!_0x3c3bbf['hasClass']('footnote-definition')||!_0x3c3bbf['getAttribute']('id'))return;const _0x5efc27=_0x3c3bbf['parent'];if(!_0x5efc27['is']('element','ol')||!_0x5efc27['hasClass']('footnotes-list'))return;if(!_0x147bee['consumable']['test'](_0x3c3bbf,{'name':!0x0,'attributes':'id','classes':'footnote-definition'}))return;const _0x31b70c=_0x147bee['writer']['createElement']('footnoteDefinition',{'footnoteId':_0x3c3bbf['getAttribute']('id')});if(!_0x147bee['safeInsert'](_0x31b70c,_0x438a34['modelCursor']))return;_0x147bee['consumable']['consume'](_0x3c3bbf,{'name':!0x0,'attributes':'id','classes':'footnote-definition'});const _0x5ea559=Array['from'](_0x3c3bbf['getChildren']())['find'](_0x5e4ace=>_0x5e4ace['is']('element')&&_0x5e4ace['hasClass']('footnote-content'));for(const _0x37884e of _0x3c3bbf['getChildren']())_0x37884e['is']('element')&&(_0x147bee['consumable']['consume'](_0x37884e,{'name':!0x0,'classes':'footnote-backlink','attributes':'href'}),_0x147bee['consumable']['consume'](_0x37884e,{'name':!0x0,'classes':'footnote-content'}));if(_0x5ea559){if(_0x2dc35c)_0x147bee['convertChildren'](_0x5ea559,_0x31b70c);else{const _0x1fddf6=_0x147bee['writer']['createElement']('footnoteInlineContent');_0x147bee['writer']['insert'](_0x1fddf6,_0x31b70c),_0x147bee['convertChildren'](_0x5ea559,_0x1fddf6);}}_0x147bee['updateConversionResult'](_0x31b70c,_0x438a34);});}),_0x33d154['for']('dataDowncast')['elementToStructure']({'model':{'name':'footnoteDefinition','attributes':['footnoteId']},'view':(_0x3ea862,{writer:_0x3d33f8})=>b(_0x3ea862,_0x3d33f8,_0x38730f,{'dataPipeline':!0x0})}),_0x33d154['for']('editingDowncast')['elementToStructure']({'model':{'name':'footnoteDefinition','attributes':['footnoteId']},'view':(_0x4641ef,{writer:_0xe6a068})=>b(_0x4641ef,_0xe6a068,_0x38730f)});}['_defineBogusParagraphConverters'](){const {editor:_0x2c8598}=this,{conversion:_0x2c052a}=_0x2c8598;_0x2c8598['config']['get']('footnotes.multiBlock')?(_0x2c052a['for']('editingDowncast')['elementToElement']({'model':'paragraph','view':h(),'converterPriority':'high'}),_0x2c052a['for']('dataDowncast')['elementToElement']({'model':'paragraph','view':h({'dataPipeline':!0x0}),'converterPriority':'high'}),this['listenTo'](_0x2c8598['model']['document'],'change:data',()=>{!function(_0x4ab3de,_0x351283){const _0x3168e9=_0x4ab3de['document']['differ'],_0x8da10=new Set();for(const _0x8c1e1f of _0x3168e9['getChanges']()){const _0xd9bb3c='attribute'==_0x8c1e1f['type']?_0x8c1e1f['range']['start']['parent']:_0x8c1e1f['position']['parent'];_0xd9bb3c['is']('element','footnoteDefinition')&&_0x8da10['add'](_0xd9bb3c);}for(const _0x38caed of _0x8da10['values']()){const _0x1c91fc=Array['from'](_0x38caed['getChildren']())['filter'](_0xd77dd0=>g(_0xd77dd0,_0x351283['mapper']));for(const _0x55dac9 of _0x1c91fc)_0x351283['reconvertItem'](_0x55dac9);}}(_0x2c8598['model'],_0x2c8598['editing']);})):(_0x2c052a['for']('editingDowncast')['elementToElement']({'model':'footnoteInlineContent','view':h()}),_0x2c052a['for']('dataDowncast')['elementToElement']({'model':'footnoteInlineContent','view':(_0x5f3fef,{writer:_0x409885})=>{const _0x3ea87a=_0x409885['createContainerElement']('span');return _0x409885['setCustomProperty']('dataPipeline:transparentRendering',!0x0,_0x3ea87a),_0x3ea87a;}}));}['_defineKeyboardHandlers'](){const {editor:_0x13c9a4}=this,{editing:_0x5a737d,t:t}=_0x13c9a4,_0x380958=_0x13c9a4['model']['document']['selection'];_0x13c9a4['keystrokes']['set']('Ctrl+Alt+F','insertFootnote'),_0x13c9a4['accessibility']['addKeystrokeInfos']({'keystrokes':[{'label':t('Insert\x20footnote'),'keystroke':'Ctrl+Alt+F'}]}),this['listenTo'](_0x5a737d['view']['document'],'enter',(_0x541889,_0x515ad4)=>{const _0x1be505=function(_0x3bf308){const _0x3d7bb9=_0x3bf308['getSelectedElement']();if(_0x3d7bb9?.['is']('element','footnoteRef'))return _0x3d7bb9;return null;}(_0x380958);if(_0x1be505){const _0x41751e=_0x1be505['getAttribute']('footnoteId');this['_moveSelectionToFootnoteDefinition'](_0x41751e),_0x515ad4['preventDefault'](),_0x541889['stop']();}},{'context':_0x273985});}['_defineClickHandlers'](){const {editor:_0x1dde5e}=this,{editing:_0x3c4795}=_0x1dde5e;_0x1dde5e['editing']['view']['addObserver'](_0x3ca166),_0x1dde5e['editing']['view']['addObserver'](_0x3bb26c);let _0x5ac1b9=!0x1;this['listenTo'](_0x3c4795['view']['document'],'pointerdown',(_0x5bec35,_0x5885b0)=>{const {target:_0x65a27c}=_0x5885b0,_0x2ec8b3=_0x3c4795['view']['document']['selection'];_0x5ac1b9=!!(_0x65a27c?.['is']('element','a')&&_0x65a27c['parent']?.['is']('element','sup')&&_0x65a27c['parent']['hasClass']('footnote'))&&_0x2ec8b3['getSelectedElement']()===_0x65a27c['parent'];},{'priority':'high'}),this['listenTo'](_0x3c4795['view']['document'],'click',(_0x2632f5,_0x1e75f4)=>{const {target:_0x30b558}=_0x1e75f4;if(!_0x30b558?.['is']('element','a'))return;if(_0x30b558['parent']?.['is']('element','sup')&&_0x30b558['parent']['hasClass']('footnote')&&!_0x5ac1b9)return void _0x1e75f4['preventDefault']();let _0x41c627=_0x30b558['getAttribute']('href');if(!_0x41c627?.['startsWith']('#'))return;_0x41c627=_0x41c627['slice'](0x1);let _0x4977d2=!0x1;(_0x41c627['startsWith']('ref-')&&this['_moveSelectionToFootnoteReference'](_0x41c627['slice'](0x4))||this['_moveSelectionToFootnoteDefinition'](_0x41c627))&&(_0x4977d2=!0x0),_0x4977d2&&(_0x1e75f4['preventDefault'](),_0x2632f5['stop']());},{'priority':'high','context':'$capture'});}}function h({dataPipeline:_0xb722c5}={}){return(_0x4718f7,{writer:_0x535f5a})=>{if(!p(_0x4718f7))return null;if(!_0xb722c5)return _0x535f5a['createContainerElement']('span',{'class':'ck-footnote-bogus-paragraph'});const _0xeea9af=_0x535f5a['createContainerElement']('p');return _0x535f5a['setCustomProperty']('dataPipeline:transparentRendering',!0x0,_0xeea9af),_0xeea9af;};}function p(_0x200e31){const {parent:_0x282f9c}=_0x200e31;if(!_0x282f9c?.['is']('element','footnoteDefinition'))return!0x1;if(0x1!=_0x282f9c['childCount'])return!0x1;for(const _0x16a16e of _0x200e31['getAttributeKeys']())if(!_0x16a16e['startsWith']('selection:')&&'htmlEmptyBlock'!=_0x16a16e)return!0x1;return!0x0;}function g(_0x50a034,_0x2348d2){if(!_0x50a034['is']('element','paragraph'))return!0x1;const _0x44e170=_0x2348d2['toViewElement'](_0x50a034);return!!_0x44e170&&p(_0x50a034)!==_0x44e170['is']('element','span');}function J(_0x213d89){return _0x273985(_0x213d89)&&_0x213d89['is']('containerElement')&&!!_0x213d89['getCustomProperty']('footnotesDefinitions');}function v(_0x32cf75,_0x37439f={}){const _0x4fa931=_0x32cf75['createEmptyElement']('hr',{'class':'footnotes-divider'}),_0x30b35b=_0x32cf75['createContainerElement']('ol',{'class':'footnotes-list'},_0x32cf75['createSlot']());return _0x32cf75['createContainerElement']('div',{'class':'footnotes',..._0x37439f},[_0x4fa931,_0x30b35b]);}function D(_0x35fcec,_0x56021c){const _0x33c0f6=_0x35fcec['getAttribute']('footnoteId'),_0x1fce0a=_0x35fcec['getAttribute']('footnoteCounter'),_0x5f191a=_0x56021c['createUIElement']('a',{'href':'#'+_0x33c0f6},function(_0x25e246){const _0x195554=this['toDomElement'](_0x25e246);return _0x195554['textContent']=_0x1fce0a,_0x195554;}),_0x4169a9=_0x56021c['createContainerElement']('sup',{'id':'ref-'+_0x33c0f6,'class':'footnote'},[_0x5f191a]);return _0x4169a9['getFillerOffset']=()=>null,_0x4169a9;}function b(_0x476df1,_0x3b5763,_0x527897,{dataPipeline:_0xb04b59}={}){const {t:t}=_0x527897,_0x510ae6=_0x476df1['getAttribute']('footnoteId'),_0x24ad1d=_0x3b5763['createUIElement']('a',{'class':'footnote-backlink','href':'#ref-'+_0x510ae6},function(_0x208814){const _0x116c51=this['toDomElement'](_0x208814);return _0x116c51['innerText']='^',_0x116c51;}),_0x1c2daf=_0xb04b59?_0x3b5763['createContainerElement']('div',{'class':'footnote-content'}):_0x36fa19(_0x3b5763['createEditableElement']('div',{'class':'footnote-content'}),_0x3b5763,{'label':t('Footnote\x20content.')});return _0x3b5763['insert'](_0x3b5763['createPositionAt'](_0x1c2daf,0x0),_0x3b5763['createSlot']()),_0x3b5763['createContainerElement']('li',{'class':'footnote-definition','id':_0x510ae6},[_0x24ad1d,_0x1c2daf]);}class e extends _0x52e44c{static get['pluginName'](){return'FootnotesClipboard';}static get['requires'](){return[r,_0x3876f2];}static get['isOfficialPlugin'](){return!0x0;}static get['isPremiumPlugin'](){return!0x0;}['init'](){this['_defineClipboardIntegration']();}['_defineClipboardIntegration'](){this['_handleCopyFootnotesDefinitions'](),this['_handlePasteFootnotesDefinitions']();}['_handleCopyFootnotesDefinitions'](){const {editor:_0x160ee6}=this,{plugins:_0x24aafa,model:_0x2724dc}=_0x160ee6,_0x4811fb=_0x24aafa['get'](_0x3876f2),_0x4d0427=_0x24aafa['get'](c);this['listenTo'](_0x4811fb,'outputTransformation',(_0x515928,_0x4b9d89)=>{const _0x29f779=f(_0x2724dc['createRangeIn'](_0x4b9d89['content']));if(!_0x29f779['length'])return;const _0x4e0677=_0x4d0427['getFootnotes'](),_0x32b0af=_0x29f779['reduce']((_0xd7875f,_0x21dfbd)=>{const _0x97b0bc=_0x4e0677['find'](_0x1bf011=>_0x1bf011['id']===_0x21dfbd);if(_0x97b0bc){const _0xed24b1=_0x160ee6['data']['toView'](_0x97b0bc['definition'],{'isClipboardPipeline':!0x0}),_0x31eadb=_0x160ee6['data']['htmlProcessor']['toData'](_0xed24b1);_0xd7875f[_0x97b0bc['id']]=_0x31eadb;}return _0xd7875f;},Object['create'](null));_0x4b9d89['dataTransfer']['setData']('application/ckeditor5-footnotes',JSON['stringify'](_0x32b0af));});}['_handlePasteFootnotesDefinitions'](){const {editor:_0x2fb820}=this,{model:_0x5a3ade,plugins:_0x16ce18}=_0x2fb820,{view:_0x554544}=_0x2fb820['editing'],_0x4490bb=_0x16ce18['get'](_0x3876f2),_0x17fbee=_0x16ce18['get'](c);let _0x49f6d7=null;this['listenTo'](_0x554544['document'],'clipboardInput',(_0x28e7e2,_0x329171)=>{const _0x47439b=_0x329171['dataTransfer']['getData']('application/ckeditor5-footnotes');_0x49f6d7=_0x47439b?JSON['parse'](_0x47439b):null;}),this['listenTo'](_0x4490bb,'contentInsertion',(_0x1fe06d,_0x43c8dc)=>{const _0x1714d8=_0x43c8dc['sourceEditorId']===this['editor']['id'];_0x1714d8&&'drop'===_0x43c8dc['method']||_0x5a3ade['change'](_0x100cd4=>{let _0x435c5c=_0x17fbee['getFootnotesDefinitionsObjectElement']();const _0x4004b2=!!_0x435c5c&&Array['from'](_0x5a3ade['document']['selection']['getSelectedBlocks']())['includes'](_0x435c5c);if((_0x435c5c&&!_0x4004b2||!_0x435c5c&&!_0x49f6d7)&&function(_0x26dc96,_0xc22bc0){const _0x3a510c=[];for(const {item:_0x5d8e90}of _0x26dc96['createRangeIn'](_0xc22bc0))_0x5d8e90['is']('element','footnotesDefinitions')&&_0x3a510c['push'](_0x5d8e90);for(const _0x500bf5 of _0x3a510c)_0x26dc96['remove'](_0x500bf5);}(_0x100cd4,_0x43c8dc['content']),!_0x49f6d7)return;const {selection:_0x43abdf}=_0x5a3ade['document'],_0x460269=_0x43abdf['getFirstRange']()['root'];_0x435c5c&&!_0x4004b2||(_0x435c5c=function(_0x4927c8,_0x3c20c5){for(const {item:_0x506000}of _0x4927c8['createRangeIn'](_0x3c20c5))if(_0x506000['is']('element','footnotesDefinitions'))return _0x506000;return null;}(_0x100cd4,_0x43c8dc['content']),_0x435c5c||=_0x17fbee['_insertEmptyFootnotesDefinitionsContainer'](_0x100cd4,_0x460269));const _0x5b9ff6=Array['from'](_0x43abdf['getRanges']())['flatMap'](f),_0x2b1c1b=function(_0x41167f,_0x1734a3,_0x11e445){const _0x5ed63a=Object['create'](null);for(const {item:_0x2d5e08}of _0x41167f['createRangeIn'](_0x1734a3))if(_0x2d5e08['is']('element','footnoteRef')){const _0x22fd39=_0x2d5e08['getAttribute']('footnoteId');if(!_0x11e445(_0x22fd39))continue;_0x5ed63a[_0x22fd39]||(_0x5ed63a[_0x22fd39]=_0x5dc44d()),_0x41167f['setAttribute']('footnoteId',_0x5ed63a[_0x22fd39],_0x2d5e08);}return _0x5ed63a;}(_0x100cd4,_0x43c8dc['content'],_0x215aed=>{if(!_0x1714d8)return!0x0;return!!_0x17fbee['getFootnote'](_0x215aed)&&!_0x5b9ff6['includes'](_0x215aed);});for(const [_0x581363,_0x2e6c3a]of Object['entries'](_0x49f6d7)){const _0x932986=_0x2b1c1b[_0x581363]||_0x581363,_0x27e5a4=_0x100cd4['createElement']('footnoteDefinition',{'footnoteId':_0x932986}),_0x44549b=_0x2fb820['data']['htmlProcessor']['toView'](_0x2e6c3a),_0x4accf1=_0x2fb820['data']['toModel'](_0x44549b,_0x27e5a4);_0x100cd4['append'](_0x4accf1,_0x27e5a4),_0x100cd4['insert'](_0x27e5a4,_0x435c5c,'end');}_0x49f6d7=null;});});}}function f(_0x1671c3){const _0x26bc24=new Set();for(const {item:_0xa0a41a}of _0x1671c3)_0xa0a41a['is']('element','footnoteRef')&&_0x26bc24['add'](_0xa0a41a['getAttribute']('footnoteId'));return Array['from'](_0x26bc24);}class i extends _0x52e44c{['licenseKey'];['_licenseKeyCheckInterval'];static get['pluginName'](){return'FootnotesUI';}static get['isOfficialPlugin'](){return!0x0;}static get['isPremiumPlugin'](){return!0x0;}['init'](){const {editor:_0x31df05}=this,{componentFactory:_0x367f76}=_0x31df05['ui'];_0x367f76['add']('insertFootnote',x(_0x31df05,_0x496485)),_0x367f76['add']('menuBar:insertFootnote',x(_0x31df05,_0x460067)),this['licenseKey']=this['editor']['config']['get']('licenseKey');const _0x3188fb=this['editor'];this['_licenseKeyCheckInterval']=setInterval(()=>{let _0x5f32bb;for(const _0x3b3e86 in _0x3188fb){const _0x22be7c=_0x3b3e86,_0x473964=_0x3188fb[_0x22be7c];if('footnotesLicenseKeyValid'==_0x473964||'footnotesLicenseKeyInvalid'==_0x473964||'footnotesLicenseKeyExpired'==_0x473964||'footnotesLicenseKeyDomainLimit'==_0x473964||'footnotesLicenseKeyNotAllowed'==_0x473964||'footnotesLicenseKeyEvaluationLimit'==_0x473964||'footnotesLicenseKeyTrialLimit'==_0x473964||'footnotesLicenseKeyUsageLimit'==_0x473964){delete _0x3188fb[_0x22be7c],_0x5f32bb=_0x473964,clearInterval(this['_licenseKeyCheckInterval']),this['_licenseKeyCheckInterval']=void 0x0;break;}}'footnotesLicenseKeyInvalid'==_0x5f32bb&&_0x3188fb['_showLicenseError']('invalid'),'footnotesLicenseKeyExpired'==_0x5f32bb&&_0x3188fb['_showLicenseError']('expired'),'footnotesLicenseKeyDomainLimit'==_0x5f32bb&&_0x3188fb['_showLicenseError']('domainLimit'),'footnotesLicenseKeyNotAllowed'==_0x5f32bb&&_0x3188fb['_showLicenseError']('featureNotAllowed','Footnotes'),'footnotesLicenseKeyEvaluationLimit'==_0x5f32bb&&_0x3188fb['_showLicenseError']('evaluationLimit'),'footnotesLicenseKeyTrialLimit'==_0x5f32bb&&_0x3188fb['_showLicenseError']('trialLimit'),'footnotesLicenseKeyUsageLimit'==_0x5f32bb&&_0x3188fb['_showLicenseError']('usageLimit');},0x3e8);}['destroy'](){super['destroy'](),this['_licenseKeyCheckInterval']&&clearInterval(this['_licenseKeyCheckInterval']);}}function x(_0x5426fd,_0x266f3c){const _0x1da23c=_0x5426fd['commands']['get']('insertFootnote');return _0x69c1eb=>{const {t:t}=_0x69c1eb,_0x3de438=new _0x266f3c(_0x69c1eb),_0x48ea8d=_0x3de438 instanceof _0x460067;return _0x3de438['bind']('isEnabled')['to'](_0x1da23c,'isEnabled'),_0x3de438['set']({'label':t(_0x48ea8d?'Footnote':'Insert\x20footnote'),'icon':_0x90bab4,'tooltip':!0x0}),_0x3de438['on']('execute',()=>{_0x1da23c['execute'](),_0x5426fd['editing']['view']['focus']();}),_0x3de438;};}class lt extends _0x52e44c{static get['pluginName'](){return'Footnotes';}static get['requires'](){return[r,e,i];}static get['isOfficialPlugin'](){return!0x0;}static get['isPremiumPlugin'](){return!0x0;}}const Q=['decimal','decimal-leading-zero','lower-latin','upper-latin','lower-alpha','upper-alpha','lower-roman','upper-roman'];class S extends _0x3cb3b7{['refresh'](){const {editor:_0x2d704e}=this,_0x3d378f=_0x2d704e['plugins']['get'](c)['getFootnotesDefinitionsObjectElement']();this['isEnabled']=!!_0x3d378f,this['value']=_0x3d378f?.['getAttribute']('footnotesListStyle')??null;}['execute']({value:_0x487e62}){const {editor:_0x5e5e11}=this,_0x4abbc9=_0x5e5e11['plugins']['get'](c),_0x48a4d4=_0x4abbc9['getFootnotesDefinitionsObjectElement']();_0x48a4d4&&Q['includes'](_0x487e62)&&_0x5e5e11['model']['change'](_0x282025=>{_0x282025['setAttribute']('footnotesListStyle',_0x487e62,_0x48a4d4),_0x4abbc9['_updateFootnotesCounters'](_0x282025);});}}class C extends _0x3cb3b7{['refresh'](){const {editor:_0x8eb0cc}=this,_0xb7da68=_0x8eb0cc['plugins']['get'](c)['getFootnotesDefinitionsObjectElement']();this['isEnabled']=!!_0xb7da68,this['value']=_0xb7da68?.['getAttribute']('footnotesListStart')??null;}['execute']({value:_0x155d2e}){const {editor:_0x5f00a4}=this,_0xcada2d=_0x5f00a4['plugins']['get'](c),_0x11f2a5=_0xcada2d['getFootnotesDefinitionsObjectElement']();_0x11f2a5&&Number['isInteger'](_0x155d2e)&&_0x5f00a4['model']['change'](_0x1ed99b=>{_0x1ed99b['setAttribute']('footnotesListStart',_0x155d2e,_0x11f2a5),_0xcada2d['_updateFootnotesCounters'](_0x1ed99b);});}}class P extends _0x52e44c{static get['pluginName'](){return'FootnotesPropertiesEditing';}static get['requires'](){return[r,c];}static get['isOfficialPlugin'](){return!0x0;}static get['isPremiumPlugin'](){return!0x0;}['init'](){const {editor:_0x1367da}=this;_0x1367da['config']['define']('footnotes.footnotesProperties.defaultListStyle','decimal'),_0x1367da['config']['define']('footnotes.footnotesProperties.defaultStartIndex',0x1),_0x1367da['commands']['add']('footnotesStyle',new S(_0x1367da)),_0x1367da['commands']['add']('footnotesStart',new C(_0x1367da)),this['_defineSchema'](),this['_defineConverters'](),this['_defineFormatter'](),this['_definePostfixer']();}['_defineSchema'](){const {editor:_0x3163ab}=this,{schema:_0x341cdb}=_0x3163ab['model'];_0x341cdb['extend']('footnotesDefinitions',{'allowAttributes':['footnotesListStyle','footnotesListStart']});}['_defineConverters'](){const {editor:_0x3c175a}=this,{conversion:_0x303f27,model:_0x58555d}=_0x3c175a,{schema:_0x44f8b4}=_0x58555d;_0x303f27['for']('upcast')['add'](_0x2f6d47=>{_0x2f6d47['on']('element:ol',(_0x7fb1e2,_0x4ef79c,_0x2fdac2)=>{const _0x36209a=_0x4ef79c['viewItem'],_0x2e06e6=_0x4ef79c['modelCursor']?.['parent'];_0x36209a['hasClass']('footnotes-list')&&_0x2e06e6?.['is']('element','footnotesDefinitions')&&(function(_0x18bd38,_0x801a07,_0x4aace3,_0x2d1a59){if(!_0x2d1a59['checkAttribute'](_0x801a07,'footnotesListStart'))return;let _0x4b4157=0x1;const _0x12afdd=_0x4aace3['consumable']['consume'](_0x18bd38,{'attributes':'start'});if(_0x12afdd){const _0xb40e48=Number['parseInt'](_0x18bd38['getAttribute']('start'),0xa);Number['isNaN'](_0xb40e48)||(_0x4b4157=_0xb40e48);}!_0x12afdd&&_0x801a07['hasAttribute']('footnotesListStart')||_0x4aace3['writer']['setAttribute']('footnotesListStart',_0x4b4157,_0x801a07);}(_0x36209a,_0x2e06e6,_0x2fdac2,_0x44f8b4),function(_0x15599b,_0x316802,_0x16f355,_0x220782){if(!_0x220782['checkAttribute'](_0x316802,'footnotesListStyle'))return;let _0x45afb8='decimal',_0x46b15c=!0x1;if(_0x16f355['consumable']['consume'](_0x15599b,{'attributes':'type'})){const _0xbc3570={0x1:'decimal','a':'lower-alpha','A':'upper-alpha','i':'lower-roman','I':'upper-roman'}[_0x15599b['getAttribute']('type')];_0xbc3570&&(_0x45afb8=_0xbc3570),_0x46b15c=!0x0;}_0x16f355['consumable']['consume'](_0x15599b,{'styles':'list-style-type'})&&(_0x45afb8=_0x15599b['getStyle']('list-style-type'),_0x46b15c=!0x0),!_0x46b15c&&_0x316802['hasAttribute']('footnotesListStyle')||_0x16f355['writer']['setAttribute']('footnotesListStyle',_0x45afb8,_0x316802);}(_0x36209a,_0x2e06e6,_0x2fdac2,_0x44f8b4));});}),_0x303f27['for']('downcast')['add'](_0x277635=>{_0x277635['on']('attribute:footnotesListStart:footnotesDefinitions',(_0x535b40,_0x29720c,_0x2a5f9e)=>{if(!_0x2a5f9e['consumable']['consume'](_0x29720c['item'],_0x535b40['name']))return;const _0x27e973=M(_0x29720c['item'],_0x2a5f9e['mapper']),{attributeNewValue:_0x637a90}=_0x29720c;null==_0x637a90||0x1===_0x637a90?_0x2a5f9e['writer']['removeAttribute']('start',_0x27e973):_0x2a5f9e['writer']['setAttribute']('start',String(_0x637a90),_0x27e973);}),_0x277635['on']('attribute:footnotesListStyle:footnotesDefinitions',(_0x3abf7e,_0x25b557,_0x4e0094)=>{if(!_0x4e0094['consumable']['consume'](_0x25b557['item'],_0x3abf7e['name']))return;const _0x4efbc8=M(_0x25b557['item'],_0x4e0094['mapper']),{attributeNewValue:_0x39999c}=_0x25b557;_0x39999c&&'decimal'!==_0x39999c?_0x4e0094['writer']['setStyle']('list-style-type',_0x39999c,_0x4efbc8):_0x4e0094['writer']['removeStyle']('list-style-type',_0x4efbc8);});});}['_definePostfixer'](){const {editor:_0x266731}=this,{model:_0x366ddc}=_0x266731,_0x2ee611=_0x266731['plugins']['get'](c),_0x150cd4=this['_getDefaultListStyle'](),_0x2c82bc=this['_getDefaultStartIndex']();_0x366ddc['document']['registerPostFixer'](_0x19c74a=>{const _0x4ff901=_0x366ddc['document']['differ']['getChanges']();let _0x596e1b=!0x1;for(const _0x14808f of _0x4ff901){if('insert'!==_0x14808f['type']||'$text'===_0x14808f['name'])continue;const _0x2ea7d2=_0x366ddc['createRangeOn'](_0x14808f['position']['nodeAfter']);for(const _0x2ede65 of _0x2ea7d2['getItems']())_0x2ede65['is']('element','footnotesDefinitions')&&(!_0x2ede65['hasAttribute']('footnotesListStart')&&_0x366ddc['schema']['checkAttribute'](_0x2ede65,'footnotesListStart')&&(_0x19c74a['setAttribute']('footnotesListStart',_0x2c82bc,_0x2ede65),_0x596e1b=!0x0),!_0x2ede65['hasAttribute']('footnotesListStyle')&&_0x366ddc['schema']['checkAttribute'](_0x2ede65,'footnotesListStyle')&&(_0x19c74a['setAttribute']('footnotesListStyle',_0x150cd4,_0x2ede65),_0x596e1b=!0x0));}return _0x596e1b&&_0x2ee611['_updateFootnotesCounters'](_0x19c74a),_0x596e1b;});}['_defineFormatter'](){const {editor:_0x3e41f4}=this;_0x3e41f4['plugins']['get'](c)['setFootnoteFormatter'](_0x3a2129=>this['_formatFootnoteListValue'](_0x3a2129));}['_getDefaultListStyle'](){return this['editor']['config']['get']('footnotes.footnotesProperties.defaultListStyle');}['_getDefaultStartIndex'](){return this['editor']['config']['get']('footnotes.footnotesProperties.defaultStartIndex');}['_formatFootnoteListValue']({container:_0x558eaf,value:_0x5166a1,digits:_0x3361ce}){const _0x5e03ea=_0x558eaf['getAttribute']('footnotesListStyle'),_0x2d132d=_0x558eaf['getAttribute']('footnotesListStart'),_0x43251d=Math['floor'](_0x5166a1)+(_0x2d132d??0x1)-0x1;switch(_0x5e03ea){case'decimal-leading-zero':return function(_0x21b89e,_0x3e6178){return String(_0x21b89e)['padStart'](_0x3e6178,'0');}(_0x43251d,Math['max'](0x2,_0x3361ce));case'lower-alpha':case'lower-latin':return N(_0x43251d,!0x1);case'upper-alpha':case'upper-latin':return N(_0x43251d,!0x0);case'lower-roman':return X(_0x43251d,!0x1);case'upper-roman':return X(_0x43251d,!0x0);default:return String(_0x43251d);}}}function M(_0x398eb3,_0x5cb8f6){const _0x4a82fa=_0x5cb8f6['toViewElement'](_0x398eb3);return Array['from'](_0x4a82fa['getChildren']())['find'](_0x33826c=>_0x33826c['is']('element','ol')&&_0x33826c['hasClass']('footnotes-list'));}function N(_0x67e994,_0x35bf41){let _0x582d6c='',_0x5d1d3d=_0x67e994;for(;_0x5d1d3d>0x0;){const _0x5c603b=(_0x5d1d3d-0x1)%0x1a;_0x582d6c=String['fromCharCode'](0x61+_0x5c603b)+_0x582d6c,_0x5d1d3d=Math['floor']((_0x5d1d3d-0x1)/0x1a);}return _0x35bf41?_0x582d6c['toUpperCase']():_0x582d6c;}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(_0x4aac87,_0x481ea2){let _0x14ec24='',_0x2eca74=_0x4aac87;for(const {value:_0x3f9b6d,numeral:_0x2d8b4b}of V)for(;_0x2eca74>=_0x3f9b6d;)_0x14ec24+=_0x2d8b4b,_0x2eca74-=_0x3f9b6d;return _0x481ea2?_0x14ec24:_0x14ec24['toLowerCase']();}class H extends _0x22f9b0{['children'];['stylesView']=null;['additionalProperties']=null;['startIndexFieldView']=null;['focusTracker']=new ot();['keystrokes']=new rt();['focusables']=new _0x2cf7f6();['focusCycler'];constructor(_0x6769f,{styleButtonViews:_0x2a5bd0,styleGridAriaLabel:_0x32da75}){super(_0x6769f),(this['focusCycler']=new _0x544685({'focusables':this['focusables'],'focusTracker':this['focusTracker'],'keystrokeHandler':this['keystrokes'],'actions':{'focusPrevious':'shift\x20+\x20tab','focusNext':'tab'}}),this['children']=this['createCollection'](),this['stylesView']=this['_appendStylesView'](_0x2a5bd0,_0x32da75),[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 _0x3d1973 of this['stylesView']['children'])this['stylesView']['focusTracker']['add'](_0x3d1973['element']);tt({'keystrokeHandler':this['stylesView']['keystrokes'],'focusTracker':this['stylesView']['focusTracker'],'gridItems':this['stylesView']['children'],'numberOfColumns':()=>nt['window']['getComputedStyle'](this['stylesView']['element'])['getPropertyValue']('grid-template-columns')['split']('\x20')['length'],'uiLanguageDirection':this['locale']&&this['locale']['uiLanguageDirection']});}if(this['startIndexFieldView']){this['focusables']['add'](this['startIndexFieldView']),this['focusTracker']['add'](this['startIndexFieldView']['element']);const _0x2c03ec=_0x35cfe3=>_0x35cfe3['stopPropagation']();this['keystrokes']['set']('arrowright',_0x2c03ec),this['keystrokes']['set']('arrowleft',_0x2c03ec),this['keystrokes']['set']('arrowup',_0x2c03ec),this['keystrokes']['set']('arrowdown',_0x2c03ec);}this['keystrokes']['listenTo'](this['element']);}['focus'](){this['focusCycler']['focusFirst']();}['focusLast'](){this['focusCycler']['focusLast']();}['destroy'](){super['destroy'](),this['focusTracker']['destroy'](),this['keystrokes']['destroy']();}['_appendStylesView'](_0x35f1fd,_0x264e6f){const _0x5841ce=new _0x22f9b0(this['locale']);return _0x5841ce['children']=_0x5841ce['createCollection'](),_0x5841ce['children']['addMany'](_0x35f1fd),_0x5841ce['setTemplate']({'tag':'div','attributes':{'aria-label':_0x264e6f,'class':['ck','ck-footnotes-definitions-styles-list']},'children':_0x5841ce['children']}),_0x5841ce['children']['delegate']('execute')['to'](this),_0x5841ce['focus']=function(){for(const _0x35cc33 of this['children'])if(_0x35cc33 instanceof _0x496485&&_0x35cc33['isOn'])return void _0x35cc33['focus']();this['children']['first']['focus']();},_0x5841ce['focusTracker']=new ot(),_0x5841ce['keystrokes']=new rt(),_0x5841ce['render'](),_0x5841ce['keystrokes']['listenTo'](_0x5841ce['element']),this['children']['add'](_0x5841ce),_0x5841ce;}['_appendAdditionalPropertiesCollapsibleView'](){const {t:t}=this['locale'],_0x5c18b2=this['_createStartIndexPropertyView'](),_0x582412=[_0x5c18b2],_0x46f289=new st(this['locale'],_0x582412);return _0x46f289['set']({'label':t('Footnotes\x20properties'),'isCollapsed':!0x0}),_0x46f289['buttonView']['bind']('isEnabled')['toMany'](_0x582412,'isEnabled',(..._0xda79ef)=>_0xda79ef['some'](_0x21f147=>_0x21f147)),_0x46f289['buttonView']['on']('change:isEnabled',(_0x29fa6d,_0xd7135f,_0x121e55)=>{_0x121e55||(_0x46f289['isCollapsed']=!0x0);}),this['children']['add'](_0x46f289),[_0x5c18b2,_0x46f289];}['_createStartIndexPropertyView'](){const {t:t}=this['locale'],_0x1a306c=new it(this['locale'],et);return _0x1a306c['set']({'label':t('Footnotes\x20start\x20at'),'class':'ck-footnotes-definitions-properties__start-index'}),_0x1a306c['fieldView']['set']({'min':0x0,'max':Math['pow'](0x2,0x1e),'step':0x1,'value':0x1,'inputMode':'numeric'}),_0x1a306c['fieldView']['on']('input',()=>{const _0x435301=_0x1a306c['fieldView']['element'],_0x46e72a=_0x435301['valueAsNumber'];Number['isNaN'](_0x46e72a)?_0x1a306c['errorText']=t('Invalid\x20footnotes\x20start\x20index\x20value.'):_0x435301['checkValidity']()?this['fire']('footnotesListStart',{'startIndex':_0x46e72a}):_0x1a306c['errorText']=t(_0x46e72a<0x0?'Footnotes\x20start\x20index\x20must\x20be\x20greater\x20than\x200.':'Footnotes\x20start\x20index\x20is\x20too\x20large.');}),_0x1a306c;}}class j extends _0x52e44c{static get['pluginName'](){return'FootnotesPropertiesUI';}static get['requires'](){return[_0x287001,_0x173b91];}static get['isOfficialPlugin'](){return!0x0;}static get['isPremiumPlugin'](){return!0x0;}['init'](){const {editor:_0x28b1f6}=this,{componentFactory:_0x265e56}=_0x28b1f6['ui'];_0x28b1f6['config']['define']('footnotes.footnotesProperties.toolbar',['footnotesStyle']),_0x265e56['add']('footnotesStyle',function(_0x54ca1e){return _0x5a5842=>{const {t:t}=_0x5a5842,_0x3fef1d=_0x54ca1e['commands']['get']('footnotesStyle'),_0x5b7987=_0x4cd4e9(_0x5a5842),{buttonView:_0x538ed1}=_0x5b7987;return _0x5b7987['class']='ck-footnotes-styles-dropdown',_0x5b7987['bind']('isEnabled')['to'](_0x3fef1d,'isEnabled'),_0x538ed1['set']({'label':t('Footnotes\x20style'),'icon':_0x90bab4,'tooltip':!0x0}),_0x5b7987['once']('change:isOpen',()=>{const _0x18eeb6=function({editor:_0x2b39ec,dropdownView:_0x4dcced}){const {t:t}=_0x2b39ec['locale'],_0x5ce3cf=t('Footnotes\x20definitions\x20styles'),_0x57a2f1=function(_0x3404df){const t=_0x3404df['locale']['t'],_0x1fd225=[{'label':t('Toggle\x20the\x20decimal\x20footnotes\x20style'),'tooltip':t('Decimal\x20footnotes'),'style':'decimal','icon':_0xe756e3},{'label':t('Toggle\x20the\x20decimal\x20with\x20leading\x20zero\x20footnotes\x20style'),'tooltip':t('Decimal\x20footnotes\x20with\x20leading\x20zero'),'style':'decimal-leading-zero','icon':_0x294ba6},{'label':t('Toggle\x20the\x20lower–roman\x20footnotes\x20style'),'tooltip':t('Lower–roman\x20footnotes'),'style':'lower-roman','icon':_0x5774aa},{'label':t('Toggle\x20the\x20upper–roman\x20footnotes\x20style'),'tooltip':t('Upper-roman\x20footnotes'),'style':'upper-roman','icon':_0x2fc102},{'label':t('Toggle\x20the\x20lower–latin\x20footnotes\x20style'),'tooltip':t('Lower-latin\x20footnotes'),'style':'lower-latin','icon':_0x417622},{'label':t('Toggle\x20the\x20upper–latin\x20footnotes\x20style'),'tooltip':t('Upper-latin\x20footnotes'),'style':'upper-latin','icon':_0x47dd7a}];return _0x1fd225['map'](function(_0x2e0e94){const _0x2ec9d5=_0x2e0e94['locale'];return({label:_0x543842,icon:_0x3c2ea1,tooltip:_0x3ad0c6,style:_0x267ad9})=>{const _0x152e45=_0x2e0e94['commands']['get']('footnotesStyle'),_0x3f5e61=new _0x496485(_0x2ec9d5);return _0x3f5e61['set']({'label':_0x543842,'icon':_0x3c2ea1,'tooltip':_0x3ad0c6}),_0x3f5e61['bind']('isOn')['to'](_0x152e45,'value',_0x2a59c3=>_0x2a59c3===_0x267ad9),_0x3f5e61['bind']('isEnabled')['to'](_0x152e45,'isEnabled'),_0x3f5e61['on']('execute',()=>{_0x2e0e94['execute']('footnotesStyle',{'value':_0x267ad9}),_0x2e0e94['editing']['view']['focus']();}),_0x3f5e61;};}(_0x3404df));}(_0x2b39ec),_0x4a36b4=new H(_0x2b39ec['locale'],{'styleGridAriaLabel':_0x5ce3cf,'styleButtonViews':_0x57a2f1});return _0x4a36b4['delegate']('execute')['to'](_0x4dcced),_0x4a36b4['on']('footnotesListStart',(_0x12c2aa,_0x286931)=>{_0x2b39ec['execute']('footnotesStart',{'value':_0x286931['startIndex']});}),_0x4a36b4;}({'editor':_0x54ca1e,'dropdownView':_0x5b7987});_0x5b7987['panelView']['children']['add'](_0x18eeb6);}),_0x5b7987;};}(_0x28b1f6));}['afterInit'](){const {editor:_0x5624e8}=this,{t:t}=_0x5624e8['locale'],_0x22c534=_0x5624e8['plugins']['get'](_0x173b91),{defaultPositions:_0x321dff}=_0x294ccd;_0x22c534['register']('footnotesDefinitions',{'ariaLabel':t('Footnotes\x20definitions\x20toolbar'),'items':_0x5624e8['config']['get']('footnotes.footnotesProperties.toolbar'),'balloonClassName':'ck-footnotes-style-balloon\x20ck-toolbar-container','getRelatedElement':_0x12374c=>{let _0x48e33e=_0x12374c['getFirstPosition']()?.['parent'];return _0x48e33e?.['is']('$text')&&(_0x48e33e=_0x48e33e['parent']),_0x48e33e?.['is']('element')?_0x48e33e['findAncestor'](J):null;},'positions':[_0x321dff['southArrowNorth'],_0x321dff['southArrowNorthMiddleWest'],_0x321dff['southArrowNorthMiddleEast'],_0x321dff['southArrowNorthWest'],_0x321dff['southArrowNorthEast'],_0x321dff['northArrowSouth'],_0x321dff['northArrowSouthMiddleWest'],_0x321dff['northArrowSouthMiddleEast'],_0x321dff['northArrowSouthWest'],_0x321dff['northArrowSouthEast'],_0x321dff['viewportStickyNorth']]});}}class ft extends _0x52e44c{static get['pluginName'](){return'FootnotesProperties';}static get['requires'](){return[P,j];}static get['isOfficialPlugin'](){return!0x0;}static get['isPremiumPlugin'](){return!0x0;}}export{lt as Footnotes,e as FootnotesClipboard,r as FootnotesEditing,ft as FootnotesProperties,P as FootnotesPropertiesEditing,j as FootnotesPropertiesUI,C as FootnotesStartCommand,S as FootnotesStyleCommand,c as FootnotesTracker,i as FootnotesUI,m as InsertFootnoteCommand};
|
package/dist/translations/af.js
CHANGED
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
export default{'af':{'dictionary':{'Footnote':'','Footnotes':'','Footnotes\x20properties':'','Footnotes\x20start\x20at':'','Invalid\x20footnotes\x20start\x20index\x20value.':'','Footnotes\x20start\x20index\x20is\x20too\x20large.':'','Footnotes\x20start\x20index\x20must\x20be\x20greater\x20than\x200.':'','Footnote\x20%0.\x20Press\x20ENTER\x20to\x20jump\x20to\x20footnote\x20definition.':'','Footnote\x20content.':'','Footnotes\x20definitions\x20styles':'','Footnotes\x20definitions\x20toolbar':'','Insert\x20footnote':'','Footnotes\x20style':'','Toggle\x20the\x20decimal\x20footnotes\x20style':'','Decimal\x20footnotes':'','Toggle\x20the\x20decimal\x20with\x20leading\x20zero\x20footnotes\x20style':'','Decimal\x20footnotes\x20with\x20leading\x20zero':'','Lower–roman\x20footnotes':'','Upper-roman\x20footnotes':'','Lower-latin\x20footnotes':'','Upper-latin\x20footnotes':'','Toggle\x20the\x20lower–roman\x20footnotes\x20style':'','Toggle\x20the\x20upper–roman\x20footnotes\x20style':'','Toggle\x20the\x20lower–latin\x20footnotes\x20style':'','Toggle\x20the\x20upper–latin\x20footnotes\x20style':''},'getPluralForm':
|
|
23
|
+
export default{'af':{'dictionary':{'Footnote':'','Footnotes':'','Footnotes\x20properties':'','Footnotes\x20start\x20at':'','Invalid\x20footnotes\x20start\x20index\x20value.':'','Footnotes\x20start\x20index\x20is\x20too\x20large.':'','Footnotes\x20start\x20index\x20must\x20be\x20greater\x20than\x200.':'','Footnote\x20%0.\x20Press\x20ENTER\x20to\x20jump\x20to\x20footnote\x20definition.':'','Footnote\x20content.':'','Footnotes\x20definitions\x20styles':'','Footnotes\x20definitions\x20toolbar':'','Insert\x20footnote':'','Footnotes\x20style':'','Toggle\x20the\x20decimal\x20footnotes\x20style':'','Decimal\x20footnotes':'','Toggle\x20the\x20decimal\x20with\x20leading\x20zero\x20footnotes\x20style':'','Decimal\x20footnotes\x20with\x20leading\x20zero':'','Lower–roman\x20footnotes':'','Upper-roman\x20footnotes':'','Lower-latin\x20footnotes':'','Upper-latin\x20footnotes':'','Toggle\x20the\x20lower–roman\x20footnotes\x20style':'','Toggle\x20the\x20upper–roman\x20footnotes\x20style':'','Toggle\x20the\x20lower–latin\x20footnotes\x20style':'','Toggle\x20the\x20upper–latin\x20footnotes\x20style':''},'getPluralForm':_0x34b7b8=>0x1!=_0x34b7b8}};
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
(
|
|
23
|
+
(_0x17426d=>{const {af:{dictionary:_0x3107f6,getPluralForm:_0x3f34c6}}={'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':_0x30fe37=>0x1!=_0x30fe37}};_0x17426d['af']||={'dictionary':{},'getPluralForm':null},_0x17426d['af']['dictionary']=Object['assign'](_0x17426d['af']['dictionary'],_0x3107f6),_0x17426d['af']['getPluralForm']=_0x3f34c6;})(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':_0x1517f4=>0x0==_0x1517f4?0x0:0x1==_0x1517f4?0x1:0x2==_0x1517f4?0x2:_0x1517f4%0x64>=0x3&&_0x1517f4%0x64<=0xa?0x3:_0x1517f4%0x64>=0xb?0x4:0x5}};
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
(
|
|
23
|
+
(_0x305ae2=>{const {ar:{dictionary:_0x23d1fe,getPluralForm:_0x13ba28}}={'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':_0x81025=>0x0==_0x81025?0x0:0x1==_0x81025?0x1:0x2==_0x81025?0x2:_0x81025%0x64>=0x3&&_0x81025%0x64<=0xa?0x3:_0x81025%0x64>=0xb?0x4:0x5}};_0x305ae2['ar']||={'dictionary':{},'getPluralForm':null},_0x305ae2['ar']['dictionary']=Object['assign'](_0x305ae2['ar']['dictionary'],_0x23d1fe),_0x305ae2['ar']['getPluralForm']=_0x13ba28;})(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':_0x5b4970=>0x1!=_0x5b4970}};
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
(
|
|
23
|
+
(_0x1108dc=>{const {ast:{dictionary:_0x536ed5,getPluralForm:_0xac4819}}={'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':_0x21bd1a=>0x1!=_0x21bd1a}};_0x1108dc['ast']||={'dictionary':{},'getPluralForm':null},_0x1108dc['ast']['dictionary']=Object['assign'](_0x1108dc['ast']['dictionary'],_0x536ed5),_0x1108dc['ast']['getPluralForm']=_0xac4819;})(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':_0xca0c96=>0x1!=_0xca0c96}};
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
(
|
|
23
|
+
(_0x24820b=>{const {az:{dictionary:_0x392f1a,getPluralForm:_0x5680c9}}={'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':_0x96d79d=>0x1!=_0x96d79d}};_0x24820b['az']||={'dictionary':{},'getPluralForm':null},_0x24820b['az']['dictionary']=Object['assign'](_0x24820b['az']['dictionary'],_0x392f1a),_0x24820b['az']['getPluralForm']=_0x5680c9;})(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':_0x144515=>_0x144515%0xa==0x1&&_0x144515%0x64!=0xb?0x0:_0x144515%0xa>=0x2&&_0x144515%0xa<=0x4&&(_0x144515%0x64<0xa||_0x144515%0x64>=0x14)?0x1:0x2}};
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
(
|
|
23
|
+
(_0x19ad10=>{const {be:{dictionary:_0x53e873,getPluralForm:_0x4cc25d}}={'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':_0x580364=>_0x580364%0xa==0x1&&_0x580364%0x64!=0xb?0x0:_0x580364%0xa>=0x2&&_0x580364%0xa<=0x4&&(_0x580364%0x64<0xa||_0x580364%0x64>=0x14)?0x1:0x2}};_0x19ad10['be']||={'dictionary':{},'getPluralForm':null},_0x19ad10['be']['dictionary']=Object['assign'](_0x19ad10['be']['dictionary'],_0x53e873),_0x19ad10['be']['getPluralForm']=_0x4cc25d;})(window['CKEDITOR_TRANSLATIONS']||={});
|