@ckeditor/ckeditor5-footnotes 47.2.0-alpha.6 → 47.2.0-alpha.7
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/build/footnotes.js +1 -1
- package/dist/index.js +1 -1
- package/dist/translations/af.js +1 -1
- package/dist/translations/af.umd.js +1 -1
- package/dist/translations/ar.js +1 -1
- package/dist/translations/ar.umd.js +1 -1
- package/dist/translations/ast.js +1 -1
- package/dist/translations/ast.umd.js +1 -1
- package/dist/translations/az.js +1 -1
- package/dist/translations/az.umd.js +1 -1
- package/dist/translations/be.js +1 -1
- package/dist/translations/be.umd.js +1 -1
- package/dist/translations/bg.js +1 -1
- package/dist/translations/bg.umd.js +1 -1
- package/dist/translations/bn.js +1 -1
- package/dist/translations/bn.umd.js +1 -1
- package/dist/translations/bs.js +1 -1
- package/dist/translations/bs.umd.js +1 -1
- package/dist/translations/ca.js +1 -1
- package/dist/translations/ca.umd.js +1 -1
- package/dist/translations/cs.js +1 -1
- package/dist/translations/cs.umd.js +1 -1
- package/dist/translations/da.js +1 -1
- package/dist/translations/da.umd.js +1 -1
- package/dist/translations/de-ch.js +1 -1
- package/dist/translations/de-ch.umd.js +1 -1
- package/dist/translations/de.js +1 -1
- package/dist/translations/de.umd.js +1 -1
- package/dist/translations/el.js +1 -1
- package/dist/translations/el.umd.js +1 -1
- package/dist/translations/en-au.js +1 -1
- package/dist/translations/en-au.umd.js +1 -1
- package/dist/translations/en-gb.js +1 -1
- package/dist/translations/en-gb.umd.js +1 -1
- package/dist/translations/en.js +1 -1
- package/dist/translations/en.umd.js +1 -1
- package/dist/translations/eo.js +1 -1
- package/dist/translations/eo.umd.js +1 -1
- package/dist/translations/es-co.js +1 -1
- package/dist/translations/es-co.umd.js +1 -1
- package/dist/translations/es.js +1 -1
- package/dist/translations/es.umd.js +1 -1
- package/dist/translations/et.js +1 -1
- package/dist/translations/et.umd.js +1 -1
- package/dist/translations/eu.js +1 -1
- package/dist/translations/eu.umd.js +1 -1
- package/dist/translations/fa.js +1 -1
- package/dist/translations/fa.umd.js +1 -1
- package/dist/translations/fi.js +1 -1
- package/dist/translations/fi.umd.js +1 -1
- package/dist/translations/fr.js +1 -1
- package/dist/translations/fr.umd.js +1 -1
- package/dist/translations/gl.js +1 -1
- package/dist/translations/gl.umd.js +1 -1
- package/dist/translations/gu.js +1 -1
- package/dist/translations/gu.umd.js +1 -1
- package/dist/translations/he.js +1 -1
- package/dist/translations/he.umd.js +1 -1
- package/dist/translations/hi.js +1 -1
- package/dist/translations/hi.umd.js +1 -1
- package/dist/translations/hr.js +1 -1
- package/dist/translations/hr.umd.js +1 -1
- package/dist/translations/hu.js +1 -1
- package/dist/translations/hu.umd.js +1 -1
- package/dist/translations/hy.js +1 -1
- package/dist/translations/hy.umd.js +1 -1
- package/dist/translations/id.js +1 -1
- package/dist/translations/id.umd.js +1 -1
- package/dist/translations/it.js +1 -1
- package/dist/translations/it.umd.js +1 -1
- package/dist/translations/ja.js +1 -1
- package/dist/translations/ja.umd.js +1 -1
- package/dist/translations/jv.js +1 -1
- package/dist/translations/jv.umd.js +1 -1
- package/dist/translations/kk.js +1 -1
- package/dist/translations/kk.umd.js +1 -1
- package/dist/translations/km.js +1 -1
- package/dist/translations/km.umd.js +1 -1
- package/dist/translations/kn.js +1 -1
- package/dist/translations/kn.umd.js +1 -1
- package/dist/translations/ko.js +1 -1
- package/dist/translations/ko.umd.js +1 -1
- package/dist/translations/ku.js +1 -1
- package/dist/translations/ku.umd.js +1 -1
- package/dist/translations/lt.js +1 -1
- package/dist/translations/lt.umd.js +1 -1
- package/dist/translations/lv.js +1 -1
- package/dist/translations/lv.umd.js +1 -1
- package/dist/translations/ms.js +1 -1
- package/dist/translations/ms.umd.js +1 -1
- package/dist/translations/nb.js +1 -1
- package/dist/translations/nb.umd.js +1 -1
- package/dist/translations/ne.js +1 -1
- package/dist/translations/ne.umd.js +1 -1
- package/dist/translations/nl.js +1 -1
- package/dist/translations/nl.umd.js +1 -1
- package/dist/translations/no.js +1 -1
- package/dist/translations/no.umd.js +1 -1
- package/dist/translations/oc.js +1 -1
- package/dist/translations/oc.umd.js +1 -1
- package/dist/translations/pl.js +1 -1
- package/dist/translations/pl.umd.js +1 -1
- package/dist/translations/pt-br.js +1 -1
- package/dist/translations/pt-br.umd.js +1 -1
- package/dist/translations/pt.js +1 -1
- package/dist/translations/pt.umd.js +1 -1
- package/dist/translations/ro.js +1 -1
- package/dist/translations/ro.umd.js +1 -1
- package/dist/translations/ru.js +1 -1
- package/dist/translations/ru.umd.js +1 -1
- package/dist/translations/si.js +1 -1
- package/dist/translations/si.umd.js +1 -1
- package/dist/translations/sk.js +1 -1
- package/dist/translations/sk.umd.js +1 -1
- package/dist/translations/sl.js +1 -1
- package/dist/translations/sl.umd.js +1 -1
- package/dist/translations/sq.js +1 -1
- package/dist/translations/sq.umd.js +1 -1
- package/dist/translations/sr-latn.js +1 -1
- package/dist/translations/sr-latn.umd.js +1 -1
- package/dist/translations/sr.js +1 -1
- package/dist/translations/sr.umd.js +1 -1
- package/dist/translations/sv.js +1 -1
- package/dist/translations/sv.umd.js +1 -1
- package/dist/translations/th.js +1 -1
- package/dist/translations/th.umd.js +1 -1
- package/dist/translations/ti.js +1 -1
- package/dist/translations/ti.umd.js +1 -1
- package/dist/translations/tk.js +1 -1
- package/dist/translations/tk.umd.js +1 -1
- package/dist/translations/tr.js +1 -1
- package/dist/translations/tr.umd.js +1 -1
- package/dist/translations/tt.js +1 -1
- package/dist/translations/tt.umd.js +1 -1
- package/dist/translations/ug.js +1 -1
- package/dist/translations/ug.umd.js +1 -1
- package/dist/translations/uk.js +1 -1
- package/dist/translations/uk.umd.js +1 -1
- package/dist/translations/ur.js +1 -1
- package/dist/translations/ur.umd.js +1 -1
- package/dist/translations/uz.js +1 -1
- package/dist/translations/uz.umd.js +1 -1
- package/dist/translations/vi.js +1 -1
- package/dist/translations/vi.umd.js +1 -1
- package/dist/translations/zh-cn.js +1 -1
- package/dist/translations/zh-cn.umd.js +1 -1
- package/dist/translations/zh.js +1 -1
- package/dist/translations/zh.umd.js +1 -1
- package/package.json +9 -9
- package/src/commands/insertfootnotecommand.js +1 -1
- package/src/footnotes.js +1 -1
- package/src/footnotesclipboard.js +1 -1
- package/src/footnotesediting.js +1 -1
- package/src/footnotesproperties/commands/footnotesstartcommand.js +1 -1
- package/src/footnotesproperties/commands/footnotesstylecommand.js +1 -1
- package/src/footnotesproperties/footnotespropertiesconfig.js +1 -1
- package/src/footnotesproperties/footnotespropertiesediting.js +1 -1
- package/src/footnotesproperties/footnotespropertiesui.js +1 -1
- package/src/footnotesproperties/ui/footnotesdefinitionspropertiesview.js +1 -1
- package/src/footnotesproperties.js +1 -1
- package/src/footnotestracker.js +1 -1
- package/src/footnotesui.js +1 -1
- package/src/index.js +1 -1
- package/src/modelelementtracker.js +1 -1
package/dist/index.js
CHANGED
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
import{Plugin as _0x275ec9,Command as _0x51142c}from'@ckeditor/ckeditor5-core/dist/index.js';import{toWidget as _0x3f947e,isWidget as _0x3f422d,toWidgetEditable as _0x5ef579,WidgetToolbarRepository as _0x4021c6}from'@ckeditor/ckeditor5-widget/dist/index.js';import{uid as _0x58008f,logWarning as _0xb13374,FocusTracker as ot,KeystrokeHandler as rt,global as nt}from'@ckeditor/ckeditor5-utils/dist/index.js';import{PointerObserver as _0x4c9082,ClickObserver as _0x383a16}from'@ckeditor/ckeditor5-engine/dist/index.js';import{ClipboardPipeline as _0x50914d}from'@ckeditor/ckeditor5-clipboard/dist/index.js';import{MenuBarMenuListItemButtonView as _0x3825d0,ButtonView as _0x31cc2b,View as _0x4cb5bf,ViewCollection as _0x100044,FocusCycler as _0x49121a,addKeyboardHandlingForGrid as tt,CollapsibleView as st,LabeledFieldView as it,createLabeledInputNumber as et,ContextualBalloon as _0x628725,BalloonPanelView as _0x113cf4,createDropdown as _0x4bebae}from'@ckeditor/ckeditor5-ui/dist/index.js';import{IconFootnote as _0x572da7,IconListStyleDecimal as _0x56d51f,IconListStyleDecimalLeadingZero as _0x256657,IconListStyleLowerRoman as _0x15d13e,IconListStyleUpperRoman as _0x2950a6,IconListStyleLowerLatin as _0x438409,IconListStyleUpperLatin as _0x5b5f23}from'@ckeditor/ckeditor5-icons/dist/index.js';class F{['_model'];['_elementName'];['_getElementKey'];['_trackedElements']=new Map();constructor(_0x25e4e0,_0x1fc61b){this['_model']=_0x25e4e0,this['_elementName']=_0x1fc61b['elementName'],this['_getElementKey']=_0x1fc61b['getElementKey'];}['reset'](){this['_trackedElements']['clear']();}['getChanges'](_0x5b30a7){const _0x19eee6=new Set(),_0x117d82=new Map();for(const _0x456e90 of _0x5b30a7){if('insert'===_0x456e90['type']&&'$text'!==_0x456e90['name']&&_0x456e90['position']['nodeAfter']){const _0x1771d4=this['_model']['createRangeOn'](_0x456e90['position']['nodeAfter']);for(const _0x468661 of _0x1771d4['getItems']()){if(!_0x468661['is']('element',this['_elementName']))continue;const _0x44e973=this['_getElementKey'](_0x468661);_0x117d82['has'](_0x44e973)||_0x117d82['set'](_0x44e973,[]),_0x117d82['get'](_0x44e973)['push'](_0x468661);}}if('remove'===_0x456e90['type']&&_0x456e90['name']===this['_elementName']){const _0x29cbab=this['_getElementKey']({'getAttribute':_0x4ad6b8=>_0x456e90['attributes']['get'](_0x4ad6b8)});_0x19eee6['add'](_0x29cbab);}}for(const [_0x508a75,_0x30d8ee]of this['_trackedElements'])'$graveyard'===_0x30d8ee['root']['rootName']&&_0x19eee6['add'](_0x508a75);for(const _0x3912a2 of _0x19eee6)this['_trackedElements']['delete'](_0x3912a2);for(const [_0x249aeb,_0x5ae5e5]of _0x117d82)this['_trackedElements']['set'](_0x249aeb,_0x5ae5e5[_0x5ae5e5['length']-0x1]);const _0x5dc1ab=new Set();for(const [_0x12de17,_0x2a82c4]of _0x117d82)_0x19eee6['has'](_0x12de17)&&(_0x5dc1ab['add'](_0x2a82c4[0x0]),_0x2a82c4['length']>0x1?_0x117d82['set'](_0x12de17,_0x2a82c4['slice'](0x1)):_0x117d82['delete'](_0x12de17),_0x19eee6['delete'](_0x12de17));return{'removed':Array['from'](_0x19eee6),'inserted':Array['from'](_0x117d82['values']())['flat'](),'moved':Array['from'](_0x5dc1ab)};}}class c extends _0x275ec9{['_footnotes']=[];['_footnotesDefinitions']=null;['_footnoteFormatter']=null;['_footnoteDefsContainerTracker'];['_footnoteRefsTracker'];['_footnoteDefsTracker'];static get['pluginName'](){return'FootnotesTracker';}static get['isOfficialPlugin'](){return!0x0;}static get['isPremiumPlugin'](){return!0x0;}constructor(_0x1f14af){super(_0x1f14af),this['_footnoteDefsContainerTracker']=new F(this['editor']['model'],{'elementName':'footnotesDefinitions','getElementKey':()=>'singleton'}),this['_footnoteRefsTracker']=new F(this['editor']['model'],{'elementName':'footnoteRef','getElementKey':_0x4dbd28=>_0x4dbd28['getAttribute']('footnoteId')}),this['_footnoteDefsTracker']=new F(this['editor']['model'],{'elementName':'footnoteDefinition','getElementKey':_0x592cac=>_0x592cac['getAttribute']('footnoteId')});}['init'](){const {editor:_0x22901d}=this,{model:_0x833253,data:_0x19ed06}=_0x22901d;_0x833253['document']['registerPostFixer'](_0x105d47=>{const _0x59fc61=_0x833253['document']['differ']['getChanges']();let _0x126547=!0x1;return this['_handleFootnotesDefinitionsObjectChanges'](_0x105d47,_0x59fc61)&&(_0x126547=!0x0),this['_handleFootnoteDefinitionsChanges'](_0x105d47,_0x59fc61)&&(_0x126547=!0x0),this['_handleFootnoteReferencesChanges'](_0x105d47,_0x59fc61)&&(_0x126547=!0x0),this['_ensureFootnotesReferencesHaveProperOrder'](_0x105d47)&&(_0x126547=!0x0),this['_handleFootnotesDefinitionsObjectSync'](_0x105d47)&&(_0x126547=!0x0),this['_sortFootnoteDefinitions'](_0x105d47)&&(_0x126547=!0x0),_0x126547;}),this['listenTo'](_0x833253['document'],'change:data',()=>{_0x833253['enqueueChange']({'isUndoable':!0x1},_0x96d3eb=>{this['_ensureFootnotesDefinitionsContainerExists'](_0x96d3eb);});},{'priority':'low'}),this['listenTo'](_0x19ed06,'set',()=>{this['_footnotes']=[],this['_footnoteDefsContainerTracker']['reset'](),this['_footnoteRefsTracker']['reset'](),this['_footnoteDefsTracker']['reset']();},{'priority':'high'});}['getFootnotesDefinitionsObjectElement'](){return this['_footnotesDefinitions'];}['getFootnote'](_0x3893cf){return this['_footnotes']['find'](_0x5abc67=>_0x5abc67['id']===_0x3893cf)||null;}['getFootnotes'](){return Array['from'](this['_footnotes']);}['getFootnotesFormatter'](){return this['_footnoteFormatter'];}['setFootnoteFormatter'](_0xb6ae25){this['_footnoteFormatter']=_0xb6ae25;}['_updateFootnotesCounters'](_0x3346ab,_0x2ec4e8=0x0){let _0x3f3da5=!0x1;for(let _0x315557=_0x2ec4e8;_0x315557<this['_footnotes']['length'];_0x315557++)this['_updateFootnoteRefCounter'](_0x3346ab,_0x315557)&&(_0x3f3da5=!0x0);return _0x3f3da5;}['_insertEmptyFootnotesDefinitionsContainer'](_0x3fb36b,_0x3a5d3f){const _0x14a34f=_0x3fb36b['createElement']('footnotesDefinitions',{});return _0x3fb36b['append'](_0x14a34f,_0x3a5d3f),this['_footnotesDefinitions']=_0x14a34f,_0x14a34f;}['_ensureFootnotesDefinitionsContainerExists'](_0x538377){if(!this['_footnotes']['length']||this['_footnotesDefinitions'])return;const _0x36d804=this['_footnotes'][0x0]['reference']['root'],_0x4e4d0a=this['_insertEmptyFootnotesDefinitionsContainer'](_0x538377,_0x36d804);for(const _0x12a953 of this['_footnotes'])_0x12a953['definition']['parent']||_0x538377['insert'](_0x12a953['definition'],_0x4e4d0a,'end');this['_updateFootnotesCounters'](_0x538377);}['_handleFootnotesDefinitionsObjectChanges'](_0x296462,_0x1fddf3){let _0x4259eb=!0x1;const {inserted:_0x4259c6,removed:_0x1c10cb,moved:_0x113abb}=this['_footnoteDefsContainerTracker']['getChanges'](_0x1fddf3);if(_0x113abb['length']&&(this['_footnotesDefinitions']=_0x113abb[0x0]),_0x4259c6['length']){if(_0x4259c6['length']>0x1||this['_footnotesDefinitions']&&_0x4259c6['some'](_0xabee37=>_0xabee37!==this['_footnotesDefinitions'])){const _0x10a9eb=_0x296462['createElement']('footnotesDefinitions',{}),_0x46d98d=[];this['_footnotesDefinitions']&&_0x46d98d['push'](this['_footnotesDefinitions']),_0x46d98d['push'](..._0x4259c6),_0x296462['insert'](_0x10a9eb,_0x46d98d[0x0],'before');for(const _0x49842d of _0x46d98d)_0x296462['move'](_0x296462['createRangeIn'](_0x49842d),_0x296462['createPositionAt'](_0x10a9eb,'end')),_0x296462['remove'](_0x49842d);this['_footnotesDefinitions']=_0x10a9eb,this['_updateFootnotesCounters'](_0x296462),_0x4259eb=!0x0;}else this['_footnotesDefinitions']=_0x4259c6[0x0];}if(_0x1c10cb['length']&&'$graveyard'===this['_footnotesDefinitions']?.['root']['rootName']){for(const _0x4bdbf9 of this['_footnotes'])_0x296462['remove'](_0x4bdbf9['reference']),_0x4259eb=!0x0;this['_footnotes']=[],this['_footnotesDefinitions']=null;}return _0x4259eb;}['_handleFootnoteDefinitionsChanges'](_0x52af0f,_0x335c7c){let _0x398e63=!0x1;const _0xddf09c=this['editor']['config']['get']('footnotes.multiBlock'),{inserted:_0x532b0c,moved:_0x255162}=this['_footnoteDefsTracker']['getChanges'](_0x335c7c);for(const _0x92977f of[..._0x255162,..._0x532b0c]){const _0x1f9abd=_0x92977f['getAttribute']('footnoteId'),_0x4ce7af=this['getFootnote'](_0x1f9abd);_0x4ce7af&&(_0x4ce7af['definition']=_0x92977f),_(_0x52af0f,_0xddf09c,_0x92977f)&&(_0x398e63=!0x0);}return _0x398e63;}['_handleFootnoteReferencesChanges'](_0x1a5c29,_0x1c5e29){let _0x516a87=!0x1;const {removed:_0x3e528e,inserted:_0x2a1ff2,moved:_0x16acc1}=this['_footnoteRefsTracker']['getChanges'](_0x1c5e29);for(const _0x5614b7 of _0x3e528e)this['_handleRemoveFootnoteReferenceById'](_0x1a5c29,_0x5614b7)&&(_0x516a87=!0x0);for(const _0x74e568 of _0x2a1ff2)this['_handleInsertedFootnoteReference'](_0x1a5c29,_0x74e568)&&(_0x516a87=!0x0);for(const _0x1d3a5d of _0x16acc1)this['_handleMovedFootnoteReference'](_0x1a5c29,_0x1d3a5d)&&(_0x516a87=!0x0);return _0x516a87;}['_handleFootnotesDefinitionsObjectSync'](_0xe449d2){if(!this['_footnotesDefinitions'])return!0x1;let _0xf5cd4f=!0x1;if(this['_footnotesDefinitions']['childCount']!==this['_footnotes']['length']){const _0x7c3493=[];for(const _0x599c55 of this['_footnotesDefinitions']['getChildren']()){const _0x1cefee=_0x599c55['getAttribute']('footnoteId');this['getFootnote'](_0x1cefee)||(_0x7c3493['unshift'](_0x599c55),_0xf5cd4f=!0x0);}for(const _0x459d1e of _0x7c3493)_0xe449d2['remove'](_0x459d1e);}const _0x2ea7f6=new Set(),_0x5ebf25=[];for(const _0x58060f of this['_footnotesDefinitions']['getChildren']()){const _0x731888=_0x58060f['getAttribute']('footnoteId');_0x2ea7f6['has'](_0x731888)?(_0x5ebf25['unshift'](_0x58060f),_0xf5cd4f=!0x0):_0x2ea7f6['add'](_0x731888);}for(const _0x479c76 of _0x5ebf25)_0xe449d2['remove'](_0x479c76);return this['_footnotesDefinitions']['childCount']||(_0xe449d2['remove'](this['_footnotesDefinitions']),this['_footnotesDefinitions']=null,_0xf5cd4f=!0x0),_0xf5cd4f;}['_handleInsertedFootnoteReference'](_0x47a172,_0x1a6ccd){if(this['_footnotes']['find'](_0x4bb76b=>_0x4bb76b['reference']===_0x1a6ccd))return!0x1;let _0xa03499=!0x1;const _0xfbac29=_0x1a6ccd['getAttribute']('footnoteId'),_0x5e7eb0=this['_footnotes']['findIndex'](_0x521a3b=>_0x521a3b['id']===_0xfbac29);-0x1!==_0x5e7eb0&&(_0x47a172['remove'](this['_footnotes'][_0x5e7eb0]['reference']),this['_footnotes']['splice'](_0x5e7eb0,0x1),_0xa03499=!0x0);let _0xc75fc5=this['_footnotesDefinitions']?function(_0x2b0fce,_0x35b395){for(const _0x74af6c of _0x2b0fce['getChildren']())if(_0x74af6c['getAttribute']('footnoteId')===_0x35b395)return _0x74af6c;return null;}(this['_footnotesDefinitions'],_0xfbac29):null;_0xc75fc5||(_0xc75fc5=_0x47a172['createElement']('footnoteDefinition',{'footnoteId':_0xfbac29}),this['_footnotesDefinitions']&&(_0x47a172['insert'](_0xc75fc5,this['_footnotesDefinitions'],'end'),_0xa03499=!0x0));const _0x3bd9fd={'id':_0xfbac29,'reference':_0x1a6ccd,'definition':_0xc75fc5},_0x860426=I(this['editor']['model'],this['_footnotes'],_0x1a6ccd);this['_footnotes']['splice'](_0x860426,0x0,_0x3bd9fd);let _0x25e70d=_0x860426;return-0x1!==_0x5e7eb0&&(_0x25e70d=Math['min'](_0x860426,_0x5e7eb0)),this['_updateFootnotesCounters'](_0x47a172,_0x25e70d)&&(_0xa03499=!0x0),_0xa03499;}['_handleRemoveFootnoteReferenceById'](_0x49ecdc,_0x4b685c){const _0x268b14=this['_footnotes']['findIndex'](_0x59d0c8=>_0x59d0c8['id']===_0x4b685c);if(-0x1===_0x268b14)return!0x1;let _0xc5d99f=!0x1;const _0x1960fe=this['_footnotes'][_0x268b14];return'$graveyard'!==_0x1960fe['definition']['root']['rootName']&&(_0x49ecdc['remove'](_0x1960fe['definition']),_0xc5d99f=!0x0),this['_footnotes']['splice'](_0x268b14,0x1),this['_updateFootnotesCounters'](_0x49ecdc,_0x268b14)&&(_0xc5d99f=!0x0),_0xc5d99f;}['_handleMovedFootnoteReference'](_0x2b3c55,_0x376630){const _0x3b7042=_0x376630['getAttribute']('footnoteId'),_0x689952=this['_footnotes']['findIndex'](_0x553e8b=>_0x553e8b['id']===_0x3b7042),_0xad3e49=this['_footnotes'][_0x689952];let _0x5d9b0f=!0x1;_0xad3e49['reference']=_0x376630,this['_footnotes']['splice'](_0x689952,0x1);const _0x5d085e=I(this['editor']['model'],this['_footnotes'],_0x376630);return this['_footnotes']['splice'](_0x5d085e,0x0,_0xad3e49),this['_updateFootnotesCounters'](_0x2b3c55,Math['min'](_0x689952,_0x5d085e))&&(_0x5d9b0f=!0x0),_0x5d9b0f;}['_updateFootnoteRefCounter'](_0xb1ce6c,_0x483f2e){if(!this['_footnotesDefinitions'])return!0x1;const _0x296c3b=this['_footnotes'][_0x483f2e];let _0x3eca2b;return _0x3eca2b=this['_footnoteFormatter']?this['_footnoteFormatter']({'footnote':_0x296c3b,'container':this['_footnotesDefinitions'],'digits':String(this['_footnotes']['length'])['length'],'value':_0x483f2e+0x1}):String(_0x483f2e+0x1),_0x296c3b['reference']['getAttribute']('footnoteCounter')!=_0x3eca2b&&(_0xb1ce6c['setAttribute']('footnoteCounter',_0x3eca2b,_0x296c3b['reference']),!0x0);}['_sortFootnoteDefinitions'](_0x17d2cf){if(!this['_footnotesDefinitions']||this['_footnotes']['length']<0x2)return!0x1;if(function(_0x202ab2,_0x3df971){if(_0x202ab2['length']!==_0x3df971['length'])return!0x1;for(let _0x315fdb=0x0;_0x315fdb<_0x202ab2['length'];_0x315fdb++)if(_0x202ab2[_0x315fdb]!==_0x3df971[_0x315fdb])return!0x1;return!0x0;}(this['_footnotes']['map'](_0x425d35=>_0x425d35['id']),Array['from'](this['_footnotesDefinitions']['getChildren']())['map'](_0x45dffc=>_0x45dffc['getAttribute']('footnoteId'))))return!0x1;let _0x1ae08e=!0x1;for(let _0xa60fd9=0x0;_0xa60fd9<this['_footnotes']['length'];_0xa60fd9++){const _0x107045=this['_footnotes'][_0xa60fd9],_0x38fa90=_0x17d2cf['createPositionBefore'](_0x107045['definition']),_0x30d11c=_0x17d2cf['createPositionAt'](this['_footnotesDefinitions'],_0xa60fd9);_0x38fa90['isEqual'](_0x30d11c)||(_0x17d2cf['move'](_0x17d2cf['createRangeOn'](_0x107045['definition']),_0x30d11c),_0x1ae08e=!0x0);}return _0x1ae08e;}['_ensureFootnotesReferencesHaveProperOrder'](_0x3bf5c9){if(!this['_footnotes']['length'])return!0x1;const {model:_0x85702b}=this['editor'];let _0x579e9b=!0x1;for(let _0x3c8bbc=0x0;_0x3c8bbc<this['_footnotes']['length']-0x1;_0x3c8bbc++){const _0x589e19=this['_footnotes'][_0x3c8bbc],_0x2ef9eb=this['_footnotes'][_0x3c8bbc+0x1],_0x3d35=_0x85702b['createPositionBefore'](_0x589e19['reference']),_0xda5a15=_0x85702b['createPositionBefore'](_0x2ef9eb['reference']);'after'===_0x3d35['compareWith'](_0xda5a15)&&(this['_handleMovedFootnoteReference'](_0x3bf5c9,_0x589e19['reference']),_0x3c8bbc=-0x1,_0x579e9b=!0x0);}return _0x579e9b;}}function _(_0x2bdb1b,_0x56b89a,_0x21a33b){if(_0x21a33b['childCount'])return!0x1;const _0x4a9e96=_0x56b89a?'paragraph':'footnoteInlineContent';return _0x2bdb1b['insert'](_0x2bdb1b['createElement'](_0x4a9e96),_0x21a33b),!0x0;}function I(_0x3a4b3e,_0x1a5c19,_0x1ebe9b){if(0x0===_0x1a5c19['length'])return 0x0;const _0x25c7fb=_0x3a4b3e['createPositionBefore'](_0x1ebe9b);for(let _0x46c9b0=0x0;_0x46c9b0<_0x1a5c19['length'];_0x46c9b0++){const _0x7e27af=_0x1a5c19[_0x46c9b0],_0x4fa481=_0x3a4b3e['createPositionBefore'](_0x7e27af['reference']);if('before'===_0x25c7fb['compareWith'](_0x4fa481))return _0x46c9b0;}const _0x1ef092=_0x1ebe9b['root'];let _0x2ef27e=-0x1;for(let _0x700080=_0x1a5c19['length']-0x1;_0x700080>=0x0;_0x700080--)if(_0x1a5c19[_0x700080]['reference']['root']===_0x1ef092){_0x2ef27e=_0x700080;break;}if(-0x1!==_0x2ef27e)return _0x2ef27e+0x1;const _0x4c8473=_0x3a4b3e['document']['getRootNames'](),_0x327a06=_0x4c8473['indexOf'](_0x1ef092['rootName']),_0x16ae16=_0x4c8473[_0x327a06+0x1];if(_0x16ae16){for(let _0x486c47=0x0;_0x486c47<_0x1a5c19['length'];_0x486c47++)if(_0x1a5c19[_0x486c47]['reference']['root']['rootName']===_0x16ae16)return _0x486c47;}return _0x1a5c19['length'];}class m extends _0x51142c{['refresh'](){const _0x17cbf6=this['editor']['model']['document']['selection'],_0x4e29b0=this['_getPositionToInsertFootnote'](_0x17cbf6);this['isEnabled']=!!_0x4e29b0;}['execute'](_0x3920c8){const {editor:_0x245b63}=this,{model:_0x15fd4e}=_0x245b63,{selection:_0x2edde2}=_0x15fd4e['document'],_0x6a1481=this['_getPositionToInsertFootnote'](_0x2edde2);if(!_0x6a1481)return;const _0x4648a7=_0x245b63['plugins']['get']('FootnotesEditing'),_0x1cdc1a=_0x3920c8?.['footnoteId']??_0x58008f();!function(_0x5f5031){return'string'==typeof _0x5f5031&&_0x5f5031['length']>0x0&&!/\s/['test'](_0x5f5031)&&!/^\d/['test'](_0x5f5031);}(_0x1cdc1a)?_0xb13374('insert-footnote-command-executed-with-invalid-id'):(_0x15fd4e['change'](_0x3e275c=>{const _0x5eaa18=_0x3e275c['createElement']('footnoteRef',{'footnoteId':_0x1cdc1a});_0x15fd4e['insertObject'](_0x5eaa18,_0x6a1481,null);}),_0x4648a7['_moveSelectionToFootnoteDefinition'](_0x1cdc1a));}['_getPositionToInsertFootnote'](_0x691f59){const {model:_0x35184c}=this['editor'],{schema:_0xe9e36}=_0x35184c,_0x410b6c=_0x691f59['getFirstRange']();for(const _0x491469 of _0x410b6c['getItems']())if(_0xe9e36['isBlock'](_0x491469)||_0xe9e36['isObject'](_0x491469))return null;const _0x13dbec=_0x410b6c['end'];return _0xe9e36['checkChild'](_0x13dbec,'footnoteRef')?_0x13dbec:null;}}class r extends _0x275ec9{static get['pluginName'](){return'FootnotesEditing';}static get['requires'](){return[c];}static get['isOfficialPlugin'](){return!0x0;}static get['isPremiumPlugin'](){return!0x0;}['init'](){const {editor:_0x31db5a}=this;_0x31db5a['config']['define']('footnotes.multiBlock',!0x0),_0x31db5a['commands']['add']('insertFootnote',new m(_0x31db5a)),this['_defineSchema'](),this['_defineRefsConverters'](),this['_defineDefinitionsConverters'](),this['_defineDefinitionConverters'](),this['_defineBogusParagraphConverters'](),this['_defineKeyboardHandlers'](),this['_defineClickHandlers']();}['afterInit'](){!async function(_0xd6f0ed){const _0x3ef009=_0x157952([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]),_0x18599e=0x47a28506,_0x4ba0e4=0x47a5fd26^_0x18599e,_0x18a77d=window[_0x157952([0x44,0x61,0x74,0x65])][_0x157952([0x6e,0x6f,0x77])](),_0x585d2f=_0xd6f0ed[_0x157952([0x65,0x64,0x69,0x74,0x6f,0x72])],_0x2b293e=new window[(_0x157952([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0x41d487=>{_0x585d2f[_0x157952([0x6f,0x6e,0x63,0x65])](_0x157952([0x72,0x65,0x61,0x64,0x79]),_0x41d487);}),_0x4825b4={[_0x157952([0x6b,0x74,0x79])]:_0x157952([0x45,0x43]),[_0x157952([0x75,0x73,0x65])]:_0x157952([0x73,0x69,0x67]),[_0x157952([0x63,0x72,0x76])]:_0x157952([0x50,0x2d,0x32,0x35,0x36]),[_0x157952([0x78])]:_0x157952([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]),[_0x157952([0x79])]:_0x157952([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]),[_0x157952([0x61,0x6c,0x67])]:_0x157952([0x45,0x53,0x32,0x35,0x36])},_0xec11d7=_0x585d2f[_0x157952([0x63,0x6f,0x6e,0x66,0x69,0x67])][_0x157952([0x67,0x65,0x74])](_0x157952([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x4b,0x65,0x79]));async function _0x5ae9cb(){let _0xf2272e,_0x313f16=null,_0x56664e=null;try{if(_0xec11d7==_0x157952([0x47,0x50,0x4c]))return _0x157952([0x4e,0x6f,0x74,0x41,0x6c,0x6c,0x6f,0x77,0x65,0x64]);if(_0xf2272e=_0xf4ba59(),!_0xf2272e)return _0x157952([0x49,0x6e,0x76,0x61,0x6c,0x69,0x64]);return _0xf2272e[_0x157952([0x75,0x73,0x61,0x67,0x65,0x45,0x6e,0x64,0x70,0x6f,0x69,0x6e,0x74])]&&(_0x56664e=_0x3889b3(_0xf2272e[_0x157952([0x75,0x73,0x61,0x67,0x65,0x45,0x6e,0x64,0x70,0x6f,0x69,0x6e,0x74])],_0xf2272e[_0x157952([0x6a,0x74,0x69])])),await _0x30ede8()?_0x105243()?_0x4223b5()?_0x157952([0x45,0x78,0x70,0x69,0x72,0x65,0x64]):_0x4a600e()?(_0xf2272e[_0x157952([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x54,0x79,0x70,0x65])]==_0x157952([0x65,0x76,0x61,0x6c,0x75,0x61,0x74,0x69,0x6f,0x6e])&&(_0x313f16=_0x1067a7(_0x157952([0x45,0x76,0x61,0x6c,0x75,0x61,0x74,0x69,0x6f,0x6e,0x4c,0x69,0x6d,0x69,0x74]))),_0xf2272e[_0x157952([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x54,0x79,0x70,0x65])]==_0x157952([0x74,0x72,0x69,0x61,0x6c])&&(_0x313f16=_0x1067a7(_0x157952([0x54,0x72,0x69,0x61,0x6c,0x4c,0x69,0x6d,0x69,0x74]))),await _0x53bbfc()):_0x157952([0x44,0x6f,0x6d,0x61,0x69,0x6e,0x4c,0x69,0x6d,0x69,0x74]):_0x157952([0x4e,0x6f,0x74,0x41,0x6c,0x6c,0x6f,0x77,0x65,0x64]):_0x157952([0x49,0x6e,0x76,0x61,0x6c,0x69,0x64]);}catch{return _0x157952([0x49,0x6e,0x76,0x61,0x6c,0x69,0x64]);}function _0x4223b5(){const _0x1ff9df=[_0x157952([0x65,0x76,0x61,0x6c,0x75,0x61,0x74,0x69,0x6f,0x6e]),_0x157952([0x74,0x72,0x69,0x61,0x6c])][_0x157952([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0xf2272e[_0x157952([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x54,0x79,0x70,0x65])])?_0x18a77d/0x3e8:0xe10*_0x4ba0e4;return _0xf2272e[_0x157952([0x65,0x78,0x70])]<_0x1ff9df;}function _0x105243(){const _0x35b518=_0xf2272e[_0x157952([0x66,0x65,0x61,0x74,0x75,0x72,0x65,0x73])];return!!_0x35b518&&(!!_0x35b518[_0x157952([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x157952([0x2a]))||!!_0x35b518[_0x157952([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x157952([0x46,0x4f,0x4f])));}function _0x4a600e(){const _0x37b3e0=_0xf2272e[_0x157952([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x64,0x48,0x6f,0x73,0x74,0x73])];if(!_0x37b3e0||0x0==_0x37b3e0[_0x157952([0x6c,0x65,0x6e,0x67,0x74,0x68])])return!0x0;const {hostname:_0x3bc3cb}=new URL(window[_0x157952([0x6c,0x6f,0x63,0x61,0x74,0x69,0x6f,0x6e])]['href']);if(_0x37b3e0[_0x157952([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x3bc3cb))return!0x0;const _0x42b5ec=_0x3bc3cb[_0x157952([0x73,0x70,0x6c,0x69,0x74])](_0x157952([0x2e]));return _0x37b3e0[_0x157952([0x66,0x69,0x6c,0x74,0x65,0x72])](_0x3612e3=>_0x3612e3[_0x157952([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x157952([0x2a])))[_0x157952([0x6d,0x61,0x70])](_0x40c9d2=>_0x40c9d2[_0x157952([0x73,0x70,0x6c,0x69,0x74])](_0x157952([0x2e])))[_0x157952([0x66,0x69,0x6c,0x74,0x65,0x72])](_0x426a84=>_0x426a84[_0x157952([0x6c,0x65,0x6e,0x67,0x74,0x68])]<=_0x42b5ec[_0x157952([0x6c,0x65,0x6e,0x67,0x74,0x68])])[_0x157952([0x6d,0x61,0x70])](_0x531ec4=>Array(_0x42b5ec[_0x157952([0x6c,0x65,0x6e,0x67,0x74,0x68])]-_0x531ec4[_0x157952([0x6c,0x65,0x6e,0x67,0x74,0x68])])[_0x157952([0x66,0x69,0x6c,0x6c])](_0x531ec4[0x0]===_0x157952([0x2a])?_0x157952([0x2a]):'')[_0x157952([0x63,0x6f,0x6e,0x63,0x61,0x74])](_0x531ec4))[_0x157952([0x73,0x6f,0x6d,0x65])](_0xbec61d=>_0x42b5ec[_0x157952([0x65,0x76,0x65,0x72,0x79])]((_0x5de584,_0x118e8e)=>_0xbec61d[_0x118e8e]===_0x5de584||_0xbec61d[_0x118e8e]===_0x157952([0x2a])));}function _0x53bbfc(){return _0x313f16&&_0x56664e?new window[(_0x157952([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))]((_0x28112a,_0x52a1e5)=>{_0x313f16[_0x157952([0x74,0x68,0x65,0x6e])](_0x28112a,_0x52a1e5),_0x56664e[_0x157952([0x74,0x68,0x65,0x6e])](_0x3f5bfb=>{_0x3f5bfb!=_0x157952([0x56,0x61,0x6c,0x69,0x64])&&_0x28112a(_0x3f5bfb);},_0x52a1e5);}):_0x313f16||_0x56664e||_0x157952([0x56,0x61,0x6c,0x69,0x64]);}}function _0x3889b3(_0x3c3945,_0x114a89){return new window[(_0x157952([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0x51383c=>{if(_0x2a9e40())return _0x51383c(_0x157952([0x56,0x61,0x6c,0x69,0x64]));_0xec607d(),_0x585d2f[_0x157952([0x64,0x65,0x63,0x6f,0x72,0x61,0x74,0x65])](_0x157952([0x5f,0x73,0x65,0x6e,0x64,0x55,0x73,0x61,0x67,0x65,0x52,0x65,0x71,0x75,0x65,0x73,0x74]));let _0x48d4cd=!0x1;const _0x34e9d5=_0x58008f();function _0x200413(_0x2dd595){return!!_0x2dd595&&(typeof _0x2dd595===_0x157952([0x6f,0x62,0x6a,0x65,0x63,0x74])||typeof _0x2dd595===_0x157952([0x66,0x75,0x6e,0x63,0x74,0x69,0x6f,0x6e]))&&typeof _0x2dd595[_0x157952([0x74,0x68,0x65,0x6e])]===_0x157952([0x66,0x75,0x6e,0x63,0x74,0x69,0x6f,0x6e])&&typeof _0x2dd595[_0x157952([0x63,0x61,0x74,0x63,0x68])]===_0x157952([0x66,0x75,0x6e,0x63,0x74,0x69,0x6f,0x6e]);}function _0x8cd806(_0x40f363){_0x1050b9(_0x40f363)[_0x157952([0x74,0x68,0x65,0x6e])](_0x16eea9=>{if(!_0x16eea9||_0x16eea9[_0x157952([0x73,0x74,0x61,0x74,0x75,0x73])]!=_0x157952([0x6f,0x6b]))return _0x157952([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]);return _0x1335ea(_0xfefe5d(_0x34e9d5+_0x114a89))!=_0x16eea9[_0x157952([0x76,0x65,0x72,0x69,0x66,0x69,0x63,0x61,0x74,0x69,0x6f,0x6e])]?_0x157952([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]):_0x157952([0x56,0x61,0x6c,0x69,0x64]);})[_0x157952([0x74,0x68,0x65,0x6e])](_0x5796b3=>(_0x594791(),_0x5796b3),()=>{const _0x438551=_0x160d8d();return null==_0x438551?(_0x594791(),_0x157952([0x56,0x61,0x6c,0x69,0x64])):_0x157952(_0x18a77d-_0x438551>(0x63ae0106^_0x18599e)?[0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]:[0x56,0x61,0x6c,0x69,0x64]);})[_0x157952([0x74,0x68,0x65,0x6e])](_0x51383c)[_0x157952([0x63,0x61,0x74,0x63,0x68])](()=>{_0x51383c(_0x157952([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]));});const _0x5e58c6=0x47946b86^_0x18599e;function _0x594791(){const _0x5752eb=_0x157952([0x6c,0x6c,0x63,0x74,0x2d])+_0x1335ea(_0xfefe5d(_0x3c3945)),_0x3461ad=_0x372215(_0x1335ea(window[_0x157952([0x4d,0x61,0x74,0x68])][_0x157952([0x63,0x65,0x69,0x6c])](_0x18a77d/_0x5e58c6)));window[_0x157952([0x6c,0x6f,0x63,0x61,0x6c,0x53,0x74,0x6f,0x72,0x61,0x67,0x65])][_0x157952([0x73,0x65,0x74,0x49,0x74,0x65,0x6d])](_0x5752eb,_0x3461ad);}function _0x160d8d(){const _0x1663e5=_0x157952([0x6c,0x6c,0x63,0x74,0x2d])+_0x1335ea(_0xfefe5d(_0x3c3945)),_0x53dffd=window[_0x157952([0x6c,0x6f,0x63,0x61,0x6c,0x53,0x74,0x6f,0x72,0x61,0x67,0x65])][_0x157952([0x67,0x65,0x74,0x49,0x74,0x65,0x6d])](_0x1663e5);return _0x53dffd?window[_0x157952([0x70,0x61,0x72,0x73,0x65,0x49,0x6e,0x74])](_0x372215(_0x53dffd),0x10)*_0x5e58c6:null;}function _0x1050b9(_0xc5ad1){return new window[(_0x157952([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))]((_0x276caf,_0x1337d9)=>{_0xc5ad1[_0x157952([0x74,0x68,0x65,0x6e])](_0x276caf,_0x1337d9),window[_0x157952([0x73,0x65,0x74,0x54,0x69,0x6d,0x65,0x6f,0x75,0x74])](_0x1337d9,0x47a351c6^_0x18599e);});}}_0x585d2f[_0x157952([0x6f,0x6e])](_0x157952([0x5f,0x73,0x65,0x6e,0x64,0x55,0x73,0x61,0x67,0x65,0x52,0x65,0x71,0x75,0x65,0x73,0x74]),(_0x2a44c8,_0x2abbfe)=>{if(_0x2abbfe[0x0]!=_0x3c3945)return _0x51383c(_0x157952([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]));_0x2abbfe[0x1]={..._0x2abbfe[0x1],[_0x157952([0x72,0x65,0x71,0x75,0x65,0x73,0x74,0x49,0x64])]:_0x34e9d5};},{[_0x157952([0x70,0x72,0x69,0x6f,0x72,0x69,0x74,0x79])]:_0x157952([0x68,0x69,0x67,0x68])}),_0x585d2f[_0x157952([0x6f,0x6e])](_0x157952([0x5f,0x73,0x65,0x6e,0x64,0x55,0x73,0x61,0x67,0x65,0x52,0x65,0x71,0x75,0x65,0x73,0x74]),_0x115985=>{_0x200413(_0x115985[_0x157952([0x72,0x65,0x74,0x75,0x72,0x6e])])&&(_0x48d4cd=!0x0,_0x8cd806(_0x115985[_0x157952([0x72,0x65,0x74,0x75,0x72,0x6e])]));},{[_0x157952([0x70,0x72,0x69,0x6f,0x72,0x69,0x74,0x79])]:_0x157952([0x6c,0x6f,0x77])}),_0x2b293e[_0x157952([0x74,0x68,0x65,0x6e])](()=>{_0x48d4cd||_0x51383c(_0x157952([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]));});});function _0x2a9e40(){return _0x585d2f[_0x157952([0x65,0x64,0x69,0x74,0x69,0x6e,0x67])][_0x157952([0x76,0x69,0x65,0x77])][_0x157952([0x5f,0x6f,0x76,0x65,0x72,0x6c,0x61,0x79,0x4d,0x6f,0x64,0x65,0x48,0x69,0x6e,0x74])]==_0x157952([0x61,0x75,0x74,0x6f]);}function _0xec607d(){_0x585d2f[_0x157952([0x65,0x64,0x69,0x74,0x69,0x6e,0x67])][_0x157952([0x76,0x69,0x65,0x77])][_0x157952([0x5f,0x6f,0x76,0x65,0x72,0x6c,0x61,0x79,0x4d,0x6f,0x64,0x65,0x48,0x69,0x6e,0x74])]=_0x157952([0x61,0x75,0x74,0x6f]);}}function _0x1067a7(_0x4ccf34){const _0x113d0e=[new window[(_0x157952([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0x446d22=>setTimeout(_0x446d22,0x47abbbca^_0x18599e)),_0x2b293e[_0x157952([0x74,0x68,0x65,0x6e])](()=>new window[(_0x157952([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0x4b0d23=>{let _0x5a8cc1=0x0;_0x585d2f[_0x157952([0x6d,0x6f,0x64,0x65,0x6c])][_0x157952([0x6f,0x6e])](_0x157952([0x61,0x70,0x70,0x6c,0x79,0x4f,0x70,0x65,0x72,0x61,0x74,0x69,0x6f,0x6e]),(_0x3ddefa,_0x5f0782)=>{_0x5f0782[0x0][_0x157952([0x69,0x73,0x44,0x6f,0x63,0x75,0x6d,0x65,0x6e,0x74,0x4f,0x70,0x65,0x72,0x61,0x74,0x69,0x6f,0x6e])]&&_0x5a8cc1++,_0x5a8cc1==(0x47a284fe^_0x18599e)&&(_0x4b0d23(),_0x3ddefa[_0x157952([0x6f,0x66,0x66])]());});}))];return window[_0x157952([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65])][_0x157952([0x72,0x61,0x63,0x65])](_0x113d0e)[_0x157952([0x74,0x68,0x65,0x6e])](()=>_0x4ccf34);}async function _0x510eac(){await _0x2b293e,_0x585d2f[_0x157952([0x6d,0x6f,0x64,0x65,0x6c])][_0x157952([0x63,0x68,0x61,0x6e,0x67,0x65])]=_0x1d4393,_0x585d2f[_0x157952([0x6d,0x6f,0x64,0x65,0x6c])][_0x157952([0x65,0x6e,0x71,0x75,0x65,0x75,0x65,0x43,0x68,0x61,0x6e,0x67,0x65])]=_0x1d4393,_0x585d2f[_0x157952([0x65,0x6e,0x61,0x62,0x6c,0x65,0x52,0x65,0x61,0x64,0x4f,0x6e,0x6c,0x79,0x4d,0x6f,0x64,0x65])](_0x157952([0x6d,0x6f,0x64,0x65,0x6c]));}function _0x4b2d8e(_0x54fb42){const _0x324df6=_0x59e430();_0x585d2f[_0x324df6]=_0x157952([0x66,0x6f,0x6f,0x74,0x6e,0x6f,0x74,0x65,0x73,0x4c,0x69,0x63,0x65,0x6e,0x73,0x65,0x4b,0x65,0x79])+_0x54fb42,_0x54fb42!=_0x157952([0x56,0x61,0x6c,0x69,0x64])&&_0x510eac();}function _0x59e430(){const _0x163a36=window[_0x157952([0x53,0x74,0x72,0x69,0x6e,0x67])](window[_0x157952([0x70,0x65,0x72,0x66,0x6f,0x72,0x6d,0x61,0x6e,0x63,0x65])][_0x157952([0x6e,0x6f,0x77])]())[_0x157952([0x72,0x65,0x70,0x6c,0x61,0x63,0x65])](_0x157952([0x2e]),'');let _0x2290ec=_0x157952([0x75]);for(let _0x1d489d=0x0;_0x1d489d<_0x163a36[_0x157952([0x6c,0x65,0x6e,0x67,0x74,0x68])];_0x1d489d+=0x2){let _0x4b718c=window[_0x157952([0x70,0x61,0x72,0x73,0x65,0x49,0x6e,0x74])](_0x163a36[_0x157952([0x73,0x75,0x62,0x73,0x74,0x72,0x69,0x6e,0x67])](_0x1d489d,_0x1d489d+0x2));_0x4b718c>=_0x3ef009[_0x157952([0x6c,0x65,0x6e,0x67,0x74,0x68])]&&(_0x4b718c-=_0x3ef009[_0x157952([0x6c,0x65,0x6e,0x67,0x74,0x68])]),_0x2290ec+=_0x3ef009[_0x4b718c];}return _0x2290ec;}function _0xf4ba59(){const _0x1e550d=_0xec11d7[_0x157952([0x73,0x70,0x6c,0x69,0x74])](_0x157952([0x2e]));if(0x3!=_0x1e550d[_0x157952([0x6c,0x65,0x6e,0x67,0x74,0x68])])return null;return _0xf2e693(_0x1e550d[0x1]);function _0xf2e693(_0x4483ba){const _0x42d225=_0x402c4f(_0x4483ba);return _0x42d225&&_0x365e45()?_0x42d225:null;function _0x365e45(){const _0x51ad50=_0x42d225[_0x157952([0x6a,0x74,0x69])],_0x46aec6=window[_0x157952([0x70,0x61,0x72,0x73,0x65,0x49,0x6e,0x74])](_0x51ad50[_0x157952([0x73,0x75,0x62,0x73,0x74,0x72,0x69,0x6e,0x67])](_0x51ad50[_0x157952([0x6c,0x65,0x6e,0x67,0x74,0x68])]-0x8),0x10),_0x5777d6={..._0x42d225,[_0x157952([0x6a,0x74,0x69])]:_0x51ad50[_0x157952([0x73,0x75,0x62,0x73,0x74,0x72,0x69,0x6e,0x67])](0x0,_0x51ad50[_0x157952([0x6c,0x65,0x6e,0x67,0x74,0x68])]-0x8)};return delete _0x5777d6[_0x157952([0x76,0x63])],_0xfefe5d(_0x5777d6)==_0x46aec6;}}}async function _0x30ede8(){let _0xf32f60=!0x0;try{const _0x4bb56d=_0xec11d7[_0x157952([0x73,0x70,0x6c,0x69,0x74])](_0x157952([0x2e])),[_0x5816bb,_0xba0f46,_0x596765]=_0x4bb56d;return _0x530893(_0x5816bb),await _0x46c106(_0x5816bb,_0xba0f46,_0x596765),_0xf32f60;}catch{return!0x1;}function _0x530893(_0x501a2f){const _0x311379=_0x402c4f(_0x501a2f);_0x311379&&_0x311379[_0x157952([0x61,0x6c,0x67])]==_0x157952([0x45,0x53,0x32,0x35,0x36])||(_0xf32f60=!0x1);}async function _0x46c106(_0xb308c0,_0x53293d,_0x222a32){const _0x38ad67=window[_0x157952([0x55,0x69,0x6e,0x74,0x38,0x41,0x72,0x72,0x61,0x79])][_0x157952([0x66,0x72,0x6f,0x6d])](_0x19f13a(_0x222a32),_0x44b9eb=>_0x44b9eb[_0x157952([0x63,0x68,0x61,0x72,0x43,0x6f,0x64,0x65,0x41,0x74])](0x0)),_0xec55f5=new window[(_0x157952([0x54,0x65,0x78,0x74,0x45,0x6e,0x63,0x6f,0x64,0x65,0x72]))]()[_0x157952([0x65,0x6e,0x63,0x6f,0x64,0x65])](_0xb308c0+_0x157952([0x2e])+_0x53293d),_0xdf881f=window[_0x157952([0x63,0x72,0x79,0x70,0x74,0x6f])][_0x157952([0x73,0x75,0x62,0x74,0x6c,0x65])];if(!_0xdf881f)return;const _0x4fdba0=await _0xdf881f[_0x157952([0x69,0x6d,0x70,0x6f,0x72,0x74,0x4b,0x65,0x79])](_0x157952([0x6a,0x77,0x6b]),_0x4825b4,{[_0x157952([0x6e,0x61,0x6d,0x65])]:_0x157952([0x45,0x43,0x44,0x53,0x41]),[_0x157952([0x6e,0x61,0x6d,0x65,0x64,0x43,0x75,0x72,0x76,0x65])]:_0x157952([0x50,0x2d,0x32,0x35,0x36])},!0x1,[_0x157952([0x76,0x65,0x72,0x69,0x66,0x79])]);await _0xdf881f[_0x157952([0x76,0x65,0x72,0x69,0x66,0x79])]({[_0x157952([0x6e,0x61,0x6d,0x65])]:_0x157952([0x45,0x43,0x44,0x53,0x41]),[_0x157952([0x68,0x61,0x73,0x68])]:{[_0x157952([0x6e,0x61,0x6d,0x65])]:_0x157952([0x53,0x48,0x41,0x2d,0x32,0x35,0x36])}},_0x4fdba0,_0x38ad67,_0xec55f5)||(_0xf32f60=!0x1);}}function _0x402c4f(_0x198036){return _0x198036[_0x157952([0x73,0x74,0x61,0x72,0x74,0x73,0x57,0x69,0x74,0x68])](_0x157952([0x65,0x79]))?JSON[_0x157952([0x70,0x61,0x72,0x73,0x65])](_0x19f13a(_0x198036)):null;}function _0x19f13a(_0x1f0834){return window[_0x157952([0x61,0x74,0x6f,0x62])](_0x1f0834[_0x157952([0x72,0x65,0x70,0x6c,0x61,0x63,0x65])](/-/g,_0x157952([0x2b]))[_0x157952([0x72,0x65,0x70,0x6c,0x61,0x63,0x65])](/_/g,_0x157952([0x2f])));}function _0xfefe5d(_0x3611c2){let _0x106e5f=0x1505;function _0x33ad64(_0x570888){for(let _0x4f62ba=0x0;_0x4f62ba<_0x570888[_0x157952([0x6c,0x65,0x6e,0x67,0x74,0x68])];_0x4f62ba++){const _0x4babf2=_0x570888[_0x157952([0x63,0x68,0x61,0x72,0x43,0x6f,0x64,0x65,0x41,0x74])](_0x4f62ba);_0x106e5f=(_0x106e5f<<0x5)+_0x106e5f+_0x4babf2,_0x106e5f&=_0x106e5f;}}function _0x3b755f(_0x1c3cce){Array[_0x157952([0x69,0x73,0x41,0x72,0x72,0x61,0x79])](_0x1c3cce)?_0x1c3cce[_0x157952([0x66,0x6f,0x72,0x45,0x61,0x63,0x68])](_0x3b755f):_0x1c3cce&&typeof _0x1c3cce==_0x157952([0x6f,0x62,0x6a,0x65,0x63,0x74])?Object[_0x157952([0x65,0x6e,0x74,0x72,0x69,0x65,0x73])](_0x1c3cce)[_0x157952([0x73,0x6f,0x72,0x74])]()[_0x157952([0x66,0x6f,0x72,0x45,0x61,0x63,0x68])](([_0x9b3a64,_0xd05d8])=>{_0x33ad64(_0x9b3a64),_0x3b755f(_0xd05d8);}):_0x33ad64(window[_0x157952([0x53,0x74,0x72,0x69,0x6e,0x67])](_0x1c3cce));}return _0x3b755f(_0x3611c2),_0x106e5f>>>0x0;}function _0x1335ea(_0x2eee51){return _0x2eee51[_0x157952([0x74,0x6f,0x53,0x74,0x72,0x69,0x6e,0x67])](0x10)[_0x157952([0x70,0x61,0x64,0x53,0x74,0x61,0x72,0x74])](0x8,_0x157952([0x30]));}function _0x372215(_0x1ffb80){return _0x1ffb80[_0x157952([0x73,0x70,0x6c,0x69,0x74])]('')[_0x157952([0x72,0x65,0x76,0x65,0x72,0x73,0x65])]()[_0x157952([0x6a,0x6f,0x69,0x6e])]('');}function _0x1d4393(){}function _0x157952(_0x150717){return _0x150717['map'](_0x324b72=>String['fromCharCode'](_0x324b72))['join']('');}_0x4b2d8e(await _0x5ae9cb());}(this);}['_moveSelectionToFootnoteDefinition'](_0x38231c){const {plugins:_0x203fe5,editing:_0x242d07,model:_0x24b118}=this['editor'],_0x5411f1=_0x203fe5['get'](c)['getFootnote'](_0x38231c);return!!_0x5411f1&&(_0x24b118['change'](_0x3fc5af=>{_0x3fc5af['setSelection'](_0x3fc5af['createPositionAt'](_0x5411f1['definition'],'end'));}),_0x242d07['view']['scrollToTheSelection'](),!0x0);}['_moveSelectionToFootnoteReference'](_0x411986){const {plugins:_0x53c48e,editing:_0x516a31,model:_0x573402}=this['editor'],_0x491099=_0x53c48e['get'](c)['getFootnote'](_0x411986);return!!_0x491099&&(_0x573402['change'](_0x277b20=>{_0x277b20['setSelection'](_0x491099['reference'],'on');}),_0x516a31['view']['scrollToTheSelection'](),!0x0);}['_defineSchema'](){const {schema:_0x1abee3}=this['editor']['model'],_0x24bc29=this['editor']['config']['get']('footnotes.multiBlock');_0x1abee3['register']('footnoteRef',{'inheritAllFrom':'$inlineObject','allowAttributes':['footnoteId','footnoteCounter']}),_0x1abee3['register']('footnotesDefinitions',{'inheritAllFrom':'$blockObject','allowChildren':['footnoteDefinition']}),_0x1abee3['register']('footnoteDefinition',{'allowAttributes':['footnoteId'],'disallowAttributes':['listItemId'],'isLimit':!0x0}),_0x24bc29?_0x1abee3['extend']('footnoteDefinition',{'allowContentOf':'$container'}):_0x1abee3['register']('footnoteInlineContent',{'allowIn':'footnoteDefinition','allowContentOf':'$block','isLimit':!0x0}),_0x1abee3['addChildCheck'](_0x2669ad=>{for(const _0x5ea51f of _0x2669ad)if('footnoteDefinition'===_0x5ea51f['name'])return!0x1;},'footnoteRef');}['_defineRefsConverters'](){const {editor:_0x43ec70}=this,{conversion:_0x37e4ac,editing:_0x77a1d8}=_0x43ec70,{t:t}=_0x43ec70['locale'];_0x37e4ac['for']('upcast')['elementToElement']({'view':{'name':'sup','classes':'footnote'},'model':(_0xaab1ce,{writer:_0x22ab02,consumable:_0xbca81e})=>{const _0x52b59a=_0xaab1ce['getChild'](0x0);if(!_0x52b59a||!_0x52b59a['is']('element','a'))return null;const _0x4b7649=_0x52b59a['getAttribute']('href')||'';if(!_0x4b7649['startsWith']('#'))return null;const _0x1fe165=_0x4b7649['replace'](/^#/,'');if(!_0x1fe165)return null;_0xbca81e['consume'](_0x52b59a,{'name':!0x0,'attributes':['href']});for(const {item:_0x1912e6}of _0x77a1d8['view']['createRangeIn'](_0x52b59a))_0x1912e6['is']('$textProxy')?_0xbca81e['consume'](_0x1912e6['textNode'],{'name':!0x0}):_0x1912e6['is']('element')&&_0xbca81e['consume'](_0x1912e6,{'name':!0x0});return _0x22ab02['createElement']('footnoteRef',{'footnoteId':_0x1fe165});}}),_0x37e4ac['for']('dataDowncast')['elementToElement']({'model':{'name':'footnoteRef','attributes':['footnoteId','footnoteCounter']},'view':(_0xcdea1f,{writer:_0x4084d0})=>D(_0xcdea1f,_0x4084d0)}),_0x37e4ac['for']('editingDowncast')['elementToElement']({'model':{'name':'footnoteRef','attributes':['footnoteId','footnoteCounter']},'view':(_0x32797d,{writer:_0x2fc648})=>{const _0x1b7b08=_0x32797d['getAttribute']('footnoteCounter');return _0x3f947e(D(_0x32797d,_0x2fc648),_0x2fc648,{'label':t('Footnote\x20%0.\x20Press\x20ENTER\x20to\x20jump\x20to\x20footnote\x20definition.',_0x1b7b08)});}});}['_defineDefinitionsConverters'](){const {editor:_0x481ae1}=this,{t:t}=_0x481ae1['locale'],{conversion:_0x409fb1}=_0x481ae1;_0x409fb1['for']('upcast')['elementToElement']({'view':{'name':'div','classes':'footnotes'},'model':'footnotesDefinitions'}),_0x409fb1['for']('upcast')['add'](_0x2e6df8=>{_0x2e6df8['on']('element:ol',(_0x49321a,_0x3aa126,_0x3a9706)=>{const _0x1289f4=_0x3aa126['viewItem'];if(!_0x1289f4['hasClass']('footnotes-list')||!_0x3aa126['modelCursor']['parent']?.['is']('element','footnotesDefinitions'))return;if(!_0x3a9706['consumable']['consume'](_0x1289f4,{'name':!0x0,'classes':'footnotes-list'}))return;const {modelRange:_0x28ebb0,modelCursor:_0x4f8a50}=_0x3a9706['convertChildren'](_0x3aa126['viewItem'],_0x3aa126['modelCursor']);_0x3aa126['modelRange']=_0x28ebb0,_0x3aa126['modelCursor']=_0x4f8a50;}),_0x2e6df8['on']('element:hr',(_0x4b5daf,_0x13e565,_0x50aab6)=>{const _0x3c6ee4=_0x13e565['viewItem'];_0x3c6ee4['hasClass']('footnotes-divider')&&_0x13e565['modelCursor']['parent']?.['is']('element','footnotesDefinitions')&&_0x50aab6['consumable']['consume'](_0x3c6ee4,{'name':!0x0,'classes':'footnotes-divider'});});}),_0x409fb1['for']('dataDowncast')['elementToStructure']({'model':'footnotesDefinitions','view':(_0x193f11,{writer:_0x2adbba})=>v(_0x2adbba)}),_0x409fb1['for']('editingDowncast')['elementToStructure']({'model':'footnotesDefinitions','view':(_0x1e1680,{writer:_0x40faaa})=>{const _0x466f8c=v(_0x40faaa,{'data-footnotes-list-label':t('Footnotes')}),_0x339e52=_0x3f947e(_0x466f8c,_0x40faaa,{'hasSelectionHandle':!0x0,'label':t('Footnotes')});return _0x40faaa['setCustomProperty']('footnotesDefinitions',!0x0,_0x339e52),_0x339e52;}});}['_defineDefinitionConverters'](){const {editor:_0x350d25}=this,{conversion:_0x4ba8bf,locale:_0x132f62}=_0x350d25,_0x2624ad=_0x350d25['config']['get']('footnotes.multiBlock');_0x4ba8bf['for']('upcast')['add'](_0x52afdc=>{_0x52afdc['on']('element:li',(_0x591f01,_0x25fb56,_0xb301bc)=>{const _0x30f7de=_0x25fb56['viewItem'];if(!_0x30f7de['hasClass']('footnote-definition')||!_0x30f7de['getAttribute']('id'))return;const _0x256e23=_0x30f7de['parent'];if(!_0x256e23['is']('element','ol')||!_0x256e23['hasClass']('footnotes-list'))return;if(!_0xb301bc['consumable']['test'](_0x30f7de,{'name':!0x0,'attributes':'id','classes':'footnote-definition'}))return;const _0x2611bc=_0xb301bc['writer']['createElement']('footnoteDefinition',{'footnoteId':_0x30f7de['getAttribute']('id')});if(!_0xb301bc['safeInsert'](_0x2611bc,_0x25fb56['modelCursor']))return;_0xb301bc['consumable']['consume'](_0x30f7de,{'name':!0x0,'attributes':'id','classes':'footnote-definition'});const _0x1c7914=Array['from'](_0x30f7de['getChildren']())['find'](_0xf826f4=>_0xf826f4['is']('element')&&_0xf826f4['hasClass']('footnote-content'));for(const _0x3bb19e of _0x30f7de['getChildren']())_0x3bb19e['is']('element')&&(_0xb301bc['consumable']['consume'](_0x3bb19e,{'name':!0x0,'classes':'footnote-backlink','attributes':'href'}),_0xb301bc['consumable']['consume'](_0x3bb19e,{'name':!0x0,'classes':'footnote-content'}));if(_0x1c7914){if(_0x2624ad)_0xb301bc['convertChildren'](_0x1c7914,_0x2611bc);else{const _0x3879d5=_0xb301bc['writer']['createElement']('footnoteInlineContent');_0xb301bc['writer']['insert'](_0x3879d5,_0x2611bc),_0xb301bc['convertChildren'](_0x1c7914,_0x3879d5);}}_0xb301bc['updateConversionResult'](_0x2611bc,_0x25fb56);});}),_0x4ba8bf['for']('dataDowncast')['elementToStructure']({'model':{'name':'footnoteDefinition','attributes':['footnoteId']},'view':(_0x4277fb,{writer:_0x502d60})=>b(_0x4277fb,_0x502d60,_0x132f62,{'dataPipeline':!0x0})}),_0x4ba8bf['for']('editingDowncast')['elementToStructure']({'model':{'name':'footnoteDefinition','attributes':['footnoteId']},'view':(_0x28dd68,{writer:_0x4274e2})=>b(_0x28dd68,_0x4274e2,_0x132f62)});}['_defineBogusParagraphConverters'](){const {editor:_0x56036b}=this,{conversion:_0x37ccb1}=_0x56036b;_0x56036b['config']['get']('footnotes.multiBlock')?(_0x37ccb1['for']('editingDowncast')['elementToElement']({'model':'paragraph','view':h(),'converterPriority':'high'}),_0x37ccb1['for']('dataDowncast')['elementToElement']({'model':'paragraph','view':h({'dataPipeline':!0x0}),'converterPriority':'high'}),this['listenTo'](_0x56036b['model']['document'],'change:data',()=>{!function(_0x31f43a,_0x328e19){const _0x51d1c7=_0x31f43a['document']['differ'],_0x245498=new Set();for(const _0x1aca63 of _0x51d1c7['getChanges']()){const _0x5161f3='attribute'==_0x1aca63['type']?_0x1aca63['range']['start']['parent']:_0x1aca63['position']['parent'];_0x5161f3['is']('element','footnoteDefinition')&&_0x245498['add'](_0x5161f3);}for(const _0x2bbd2c of _0x245498['values']()){const _0x198bde=Array['from'](_0x2bbd2c['getChildren']())['filter'](_0x59bc7a=>g(_0x59bc7a,_0x328e19['mapper']));for(const _0x5e409e of _0x198bde)_0x328e19['reconvertItem'](_0x5e409e);}}(_0x56036b['model'],_0x56036b['editing']);})):(_0x37ccb1['for']('editingDowncast')['elementToElement']({'model':'footnoteInlineContent','view':h()}),_0x37ccb1['for']('dataDowncast')['elementToElement']({'model':'footnoteInlineContent','view':(_0x453738,{writer:_0x5bb91e})=>{const _0x3aad51=_0x5bb91e['createContainerElement']('span');return _0x5bb91e['setCustomProperty']('dataPipeline:transparentRendering',!0x0,_0x3aad51),_0x3aad51;}}));}['_defineKeyboardHandlers'](){const {editor:_0xb9466}=this,{editing:_0x4ac79b,t:t}=_0xb9466,_0x562cb6=_0xb9466['model']['document']['selection'];_0xb9466['keystrokes']['set']('Ctrl+Alt+F','insertFootnote'),_0xb9466['accessibility']['addKeystrokeInfos']({'keystrokes':[{'label':t('Insert\x20footnote'),'keystroke':'Ctrl+Alt+F'}]}),this['listenTo'](_0x4ac79b['view']['document'],'enter',(_0x2fcbdf,_0x45d2ab)=>{const _0x199416=function(_0x5dfe8c){const _0x593eb4=_0x5dfe8c['getSelectedElement']();if(_0x593eb4?.['is']('element','footnoteRef'))return _0x593eb4;return null;}(_0x562cb6);if(_0x199416){const _0x4586fc=_0x199416['getAttribute']('footnoteId');this['_moveSelectionToFootnoteDefinition'](_0x4586fc),_0x45d2ab['preventDefault'](),_0x2fcbdf['stop']();}},{'context':_0x3f422d});}['_defineClickHandlers'](){const {editor:_0x547228}=this,{editing:_0x1f3d34}=_0x547228;_0x547228['editing']['view']['addObserver'](_0x4c9082),_0x547228['editing']['view']['addObserver'](_0x383a16);let _0x100293=!0x1;this['listenTo'](_0x1f3d34['view']['document'],'pointerdown',(_0x4eb748,_0x2ee13f)=>{const {target:_0xf2dca5}=_0x2ee13f,_0x477edd=_0x1f3d34['view']['document']['selection'];_0x100293=!!(_0xf2dca5?.['is']('element','a')&&_0xf2dca5['parent']?.['is']('element','sup')&&_0xf2dca5['parent']['hasClass']('footnote'))&&_0x477edd['getSelectedElement']()===_0xf2dca5['parent'];},{'priority':'high'}),this['listenTo'](_0x1f3d34['view']['document'],'click',(_0x299612,_0x1c62c3)=>{const {target:_0x108b70}=_0x1c62c3;if(!_0x108b70?.['is']('element','a'))return;if(_0x108b70['parent']?.['is']('element','sup')&&_0x108b70['parent']['hasClass']('footnote')&&!_0x100293)return void _0x1c62c3['preventDefault']();let _0x7e4f1e=_0x108b70['getAttribute']('href');if(!_0x7e4f1e?.['startsWith']('#'))return;_0x7e4f1e=_0x7e4f1e['slice'](0x1);let _0x4cc834=!0x1;(_0x7e4f1e['startsWith']('ref-')&&this['_moveSelectionToFootnoteReference'](_0x7e4f1e['slice'](0x4))||this['_moveSelectionToFootnoteDefinition'](_0x7e4f1e))&&(_0x4cc834=!0x0),_0x4cc834&&(_0x1c62c3['preventDefault'](),_0x299612['stop']());},{'priority':'high','context':'$capture'});}}function h({dataPipeline:_0x75ebb3}={}){return(_0x7ce398,{writer:_0x43bbc4})=>{if(!p(_0x7ce398))return null;if(!_0x75ebb3)return _0x43bbc4['createContainerElement']('span',{'class':'ck-footnote-bogus-paragraph'});const _0x56f12a=_0x43bbc4['createContainerElement']('p');return _0x43bbc4['setCustomProperty']('dataPipeline:transparentRendering',!0x0,_0x56f12a),_0x56f12a;};}function p(_0x5dce32){const {parent:_0xb7bf2a}=_0x5dce32;if(!_0xb7bf2a?.['is']('element','footnoteDefinition'))return!0x1;if(0x1!=_0xb7bf2a['childCount'])return!0x1;for(const _0x127422 of _0x5dce32['getAttributeKeys']())if(!_0x127422['startsWith']('selection:')&&'htmlEmptyBlock'!=_0x127422)return!0x1;return!0x0;}function g(_0x1c64d4,_0x359ab0){if(!_0x1c64d4['is']('element','paragraph'))return!0x1;const _0x11f7af=_0x359ab0['toViewElement'](_0x1c64d4);return!!_0x11f7af&&p(_0x1c64d4)!==_0x11f7af['is']('element','span');}function J(_0x33f50b){return _0x3f422d(_0x33f50b)&&_0x33f50b['is']('containerElement')&&!!_0x33f50b['getCustomProperty']('footnotesDefinitions');}function v(_0x5eb16b,_0x407423={}){const _0x53773c=_0x5eb16b['createEmptyElement']('hr',{'class':'footnotes-divider'}),_0x10f05d=_0x5eb16b['createContainerElement']('ol',{'class':'footnotes-list'},_0x5eb16b['createSlot']());return _0x5eb16b['createContainerElement']('div',{'class':'footnotes',..._0x407423},[_0x53773c,_0x10f05d]);}function D(_0x1e441e,_0x3a10f4){const _0x2ba674=_0x1e441e['getAttribute']('footnoteId'),_0x2e6eaf=_0x1e441e['getAttribute']('footnoteCounter'),_0xdb6812=_0x3a10f4['createUIElement']('a',{'href':'#'+_0x2ba674},function(_0x52a697){const _0x3e6605=this['toDomElement'](_0x52a697);return _0x3e6605['textContent']=_0x2e6eaf,_0x3e6605;}),_0x33a638=_0x3a10f4['createContainerElement']('sup',{'id':'ref-'+_0x2ba674,'class':'footnote'},[_0xdb6812]);return _0x33a638['getFillerOffset']=()=>null,_0x33a638;}function b(_0x11f26c,_0x5ec437,_0x14a821,{dataPipeline:_0x4a510e}={}){const {t:t}=_0x14a821,_0x137e41=_0x11f26c['getAttribute']('footnoteId'),_0x42b4a8=_0x5ec437['createUIElement']('a',{'class':'footnote-backlink','href':'#ref-'+_0x137e41},function(_0x2cd8f4){const _0x1c26dd=this['toDomElement'](_0x2cd8f4);return _0x1c26dd['innerText']='^',_0x1c26dd;}),_0x37e470=_0x4a510e?_0x5ec437['createContainerElement']('div',{'class':'footnote-content'}):_0x5ef579(_0x5ec437['createEditableElement']('div',{'class':'footnote-content'}),_0x5ec437,{'label':t('Footnote\x20content.')});return _0x5ec437['insert'](_0x5ec437['createPositionAt'](_0x37e470,0x0),_0x5ec437['createSlot']()),_0x5ec437['createContainerElement']('li',{'class':'footnote-definition','id':_0x137e41},[_0x42b4a8,_0x37e470]);}class e extends _0x275ec9{static get['pluginName'](){return'FootnotesClipboard';}static get['requires'](){return[r,_0x50914d];}static get['isOfficialPlugin'](){return!0x0;}static get['isPremiumPlugin'](){return!0x0;}['init'](){this['_defineClipboardIntegration']();}['_defineClipboardIntegration'](){this['_handleCopyFootnotesDefinitions'](),this['_handlePasteFootnotesDefinitions']();}['_handleCopyFootnotesDefinitions'](){const {editor:_0x18d151}=this,{plugins:_0x154398,model:_0x2ad75b}=_0x18d151,_0x43ecc7=_0x154398['get'](_0x50914d),_0x4a5808=_0x154398['get'](c);this['listenTo'](_0x43ecc7,'outputTransformation',(_0x57c6d1,_0xc6c179)=>{const _0x3880c2=f(_0x2ad75b['createRangeIn'](_0xc6c179['content']));if(!_0x3880c2['length'])return;const _0x5b3a5a=_0x4a5808['getFootnotes'](),_0x5166e3=_0x3880c2['reduce']((_0x56868c,_0x90ad7)=>{const _0x77c70d=_0x5b3a5a['find'](_0x1a06e7=>_0x1a06e7['id']===_0x90ad7);if(_0x77c70d){const _0x404b12=_0x18d151['data']['toView'](_0x77c70d['definition'],{'isClipboardPipeline':!0x0}),_0x740bca=_0x18d151['data']['htmlProcessor']['toData'](_0x404b12);_0x56868c[_0x77c70d['id']]=_0x740bca;}return _0x56868c;},Object['create'](null));_0xc6c179['dataTransfer']['setData']('application/ckeditor5-footnotes',JSON['stringify'](_0x5166e3));});}['_handlePasteFootnotesDefinitions'](){const {editor:_0xec79f}=this,{model:_0xd7c6af,plugins:_0x962d7f}=_0xec79f,{view:_0x1ab42e}=_0xec79f['editing'],_0x55beca=_0x962d7f['get'](_0x50914d),_0x59f2a8=_0x962d7f['get'](c);let _0x49091c=null;this['listenTo'](_0x1ab42e['document'],'clipboardInput',(_0x7d2011,_0x444bcd)=>{const _0x97b2c3=_0x444bcd['dataTransfer']['getData']('application/ckeditor5-footnotes');_0x49091c=_0x97b2c3?JSON['parse'](_0x97b2c3):null;}),this['listenTo'](_0x55beca,'contentInsertion',(_0x596a80,_0x28d461)=>{const _0x14719f=_0x28d461['sourceEditorId']===this['editor']['id'];_0x14719f&&'drop'===_0x28d461['method']||_0xd7c6af['change'](_0x28f1d2=>{let _0x2e4a17=_0x59f2a8['getFootnotesDefinitionsObjectElement']();const _0xbdbf82=!!_0x2e4a17&&Array['from'](_0xd7c6af['document']['selection']['getSelectedBlocks']())['includes'](_0x2e4a17);if(_0x2e4a17&&!_0xbdbf82&&function(_0x238dba,_0x97497a){const _0x29da0f=[];for(const {item:_0x74bf3a}of _0x238dba['createRangeIn'](_0x97497a))_0x74bf3a['is']('element','footnotesDefinitions')&&_0x29da0f['push'](_0x74bf3a);for(const _0x324479 of _0x29da0f)_0x238dba['remove'](_0x324479);}(_0x28f1d2,_0x28d461['content']),!_0x49091c)return;const {selection:_0x4b8367}=_0xd7c6af['document'],_0x1fa8c1=_0x4b8367['getFirstRange']()['root'];_0x2e4a17&&!_0xbdbf82||(_0x2e4a17=function(_0xef486d,_0x5a07fd){for(const {item:_0x1a3d21}of _0xef486d['createRangeIn'](_0x5a07fd))if(_0x1a3d21['is']('element','footnotesDefinitions'))return _0x1a3d21;return null;}(_0x28f1d2,_0x28d461['content']),_0x2e4a17||=_0x59f2a8['_insertEmptyFootnotesDefinitionsContainer'](_0x28f1d2,_0x1fa8c1));const _0x4590db=Array['from'](_0x4b8367['getRanges']())['flatMap'](f),_0x375ab5=function(_0x3dda8e,_0x44d0e4,_0x5b55c9){const _0x43f199=Object['create'](null);for(const {item:_0x13aec3}of _0x3dda8e['createRangeIn'](_0x44d0e4))if(_0x13aec3['is']('element','footnoteRef')){const _0x82ee8b=_0x13aec3['getAttribute']('footnoteId');if(!_0x5b55c9(_0x82ee8b))continue;_0x43f199[_0x82ee8b]||(_0x43f199[_0x82ee8b]=_0x58008f()),_0x3dda8e['setAttribute']('footnoteId',_0x43f199[_0x82ee8b],_0x13aec3);}return _0x43f199;}(_0x28f1d2,_0x28d461['content'],_0x2744a0=>{if(!_0x14719f)return!0x0;return!!_0x59f2a8['getFootnote'](_0x2744a0)&&!_0x4590db['includes'](_0x2744a0);});for(const [_0x5444ed,_0x4f4e9e]of Object['entries'](_0x49091c)){const _0x5c2784=_0x375ab5[_0x5444ed]||_0x5444ed,_0x16a9bd=_0x28f1d2['createElement']('footnoteDefinition',{'footnoteId':_0x5c2784}),_0x4bb807=_0xec79f['data']['htmlProcessor']['toView'](_0x4f4e9e),_0x2e73d2=_0xec79f['data']['toModel'](_0x4bb807,_0x16a9bd);_0x28f1d2['append'](_0x2e73d2,_0x16a9bd),_0x28f1d2['insert'](_0x16a9bd,_0x2e4a17,'end');}_0x49091c=null;});});}}function f(_0x48f7e2){const _0x56ff79=new Set();for(const {item:_0x4cd427}of _0x48f7e2)_0x4cd427['is']('element','footnoteRef')&&_0x56ff79['add'](_0x4cd427['getAttribute']('footnoteId'));return Array['from'](_0x56ff79);}class i extends _0x275ec9{['licenseKey'];['_licenseKeyCheckInterval'];static get['pluginName'](){return'FootnotesUI';}static get['isOfficialPlugin'](){return!0x0;}static get['isPremiumPlugin'](){return!0x0;}['init'](){const {editor:_0x8b2d7e}=this,{componentFactory:_0x12a2a2}=_0x8b2d7e['ui'];_0x12a2a2['add']('insertFootnote',x(_0x8b2d7e,_0x31cc2b)),_0x12a2a2['add']('menuBar:insertFootnote',x(_0x8b2d7e,_0x3825d0)),this['licenseKey']=this['editor']['config']['get']('licenseKey');const _0x297f81=this['editor'];this['_licenseKeyCheckInterval']=setInterval(()=>{let _0x12fc95;for(const _0x586257 in _0x297f81){const _0x2a1f7a=_0x586257,_0x92debc=_0x297f81[_0x2a1f7a];if('footnotesLicenseKeyValid'==_0x92debc||'footnotesLicenseKeyInvalid'==_0x92debc||'footnotesLicenseKeyExpired'==_0x92debc||'footnotesLicenseKeyDomainLimit'==_0x92debc||'footnotesLicenseKeyNotAllowed'==_0x92debc||'footnotesLicenseKeyEvaluationLimit'==_0x92debc||'footnotesLicenseKeyTrialLimit'==_0x92debc||'footnotesLicenseKeyUsageLimit'==_0x92debc){delete _0x297f81[_0x2a1f7a],_0x12fc95=_0x92debc,clearInterval(this['_licenseKeyCheckInterval']),this['_licenseKeyCheckInterval']=void 0x0;break;}}'footnotesLicenseKeyInvalid'==_0x12fc95&&_0x297f81['_showLicenseError']('invalid'),'footnotesLicenseKeyExpired'==_0x12fc95&&_0x297f81['_showLicenseError']('expired'),'footnotesLicenseKeyDomainLimit'==_0x12fc95&&_0x297f81['_showLicenseError']('domainLimit'),'footnotesLicenseKeyNotAllowed'==_0x12fc95&&_0x297f81['_showLicenseError']('featureNotAllowed','Footnotes'),'footnotesLicenseKeyEvaluationLimit'==_0x12fc95&&_0x297f81['_showLicenseError']('evaluationLimit'),'footnotesLicenseKeyTrialLimit'==_0x12fc95&&_0x297f81['_showLicenseError']('trialLimit'),'footnotesLicenseKeyUsageLimit'==_0x12fc95&&_0x297f81['_showLicenseError']('usageLimit');},0x3e8);}['destroy'](){super['destroy'](),this['_licenseKeyCheckInterval']&&clearInterval(this['_licenseKeyCheckInterval']);}}function x(_0x388827,_0x220a55){const _0x421c59=_0x388827['commands']['get']('insertFootnote');return _0x1fe37d=>{const {t:t}=_0x1fe37d,_0x20b138=new _0x220a55(_0x1fe37d),_0x57cfee=_0x20b138 instanceof _0x3825d0;return _0x20b138['bind']('isEnabled')['to'](_0x421c59,'isEnabled'),_0x20b138['set']({'label':t(_0x57cfee?'Footnote':'Insert\x20footnote'),'icon':_0x572da7,'tooltip':!0x0}),_0x20b138['on']('execute',()=>{_0x421c59['execute'](),_0x388827['editing']['view']['focus']();}),_0x20b138;};}class lt extends _0x275ec9{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 _0x51142c{['refresh'](){const {editor:_0x15acab}=this,_0x2dcbca=_0x15acab['plugins']['get'](c)['getFootnotesDefinitionsObjectElement']();this['isEnabled']=!!_0x2dcbca,this['value']=_0x2dcbca?.['getAttribute']('footnotesListStyle')??null;}['execute']({value:_0x3b514f}){const {editor:_0x591677}=this,_0x2f64f1=_0x591677['plugins']['get'](c),_0x561433=_0x2f64f1['getFootnotesDefinitionsObjectElement']();_0x561433&&Q['includes'](_0x3b514f)&&_0x591677['model']['change'](_0x2ccf63=>{_0x2ccf63['setAttribute']('footnotesListStyle',_0x3b514f,_0x561433),_0x2f64f1['_updateFootnotesCounters'](_0x2ccf63);});}}class C extends _0x51142c{['refresh'](){const {editor:_0x43905b}=this,_0x9bcf02=_0x43905b['plugins']['get'](c)['getFootnotesDefinitionsObjectElement']();this['isEnabled']=!!_0x9bcf02,this['value']=_0x9bcf02?.['getAttribute']('footnotesListStart')??null;}['execute']({value:_0x4d1f0a}){const {editor:_0x2afb25}=this,_0x358b10=_0x2afb25['plugins']['get'](c),_0x2f9b0d=_0x358b10['getFootnotesDefinitionsObjectElement']();_0x2f9b0d&&Number['isInteger'](_0x4d1f0a)&&_0x2afb25['model']['change'](_0x55d9d7=>{_0x55d9d7['setAttribute']('footnotesListStart',_0x4d1f0a,_0x2f9b0d),_0x358b10['_updateFootnotesCounters'](_0x55d9d7);});}}class P extends _0x275ec9{static get['pluginName'](){return'FootnotesPropertiesEditing';}static get['requires'](){return[r,c];}static get['isOfficialPlugin'](){return!0x0;}static get['isPremiumPlugin'](){return!0x0;}['init'](){const {editor:_0x218ae1}=this;_0x218ae1['config']['define']('footnotes.footnotesProperties.defaultListStyle','decimal'),_0x218ae1['config']['define']('footnotes.footnotesProperties.defaultStartIndex',0x1),_0x218ae1['commands']['add']('footnotesStyle',new S(_0x218ae1)),_0x218ae1['commands']['add']('footnotesStart',new C(_0x218ae1)),this['_defineSchema'](),this['_defineConverters'](),this['_defineFormatter'](),this['_definePostfixer']();}['_defineSchema'](){const {editor:_0x4c7de1}=this,{schema:_0x2629f5}=_0x4c7de1['model'];_0x2629f5['extend']('footnotesDefinitions',{'allowAttributes':['footnotesListStyle','footnotesListStart']});}['_defineConverters'](){const {editor:_0x5ed711}=this,{conversion:_0xcb5b50,model:_0x24873c}=_0x5ed711,{schema:_0x3e8f9a}=_0x24873c;_0xcb5b50['for']('upcast')['add'](_0x493bae=>{_0x493bae['on']('element:ol',(_0x27894e,_0x514761,_0x22f481)=>{const _0x98e5e=_0x514761['viewItem'],_0x1a69ee=_0x514761['modelCursor']?.['parent'];_0x98e5e['hasClass']('footnotes-list')&&_0x1a69ee?.['is']('element','footnotesDefinitions')&&(function(_0x285e36,_0x57ec24,_0x538980,_0x555b3c){if(!_0x555b3c['checkAttribute'](_0x57ec24,'footnotesListStart'))return;let _0x21e7d7=0x1;const _0x5dd109=_0x538980['consumable']['consume'](_0x285e36,{'attributes':'start'});if(_0x5dd109){const _0x46b2cd=Number['parseInt'](_0x285e36['getAttribute']('start'),0xa);Number['isNaN'](_0x46b2cd)||(_0x21e7d7=_0x46b2cd);}!_0x5dd109&&_0x57ec24['hasAttribute']('footnotesListStart')||_0x538980['writer']['setAttribute']('footnotesListStart',_0x21e7d7,_0x57ec24);}(_0x98e5e,_0x1a69ee,_0x22f481,_0x3e8f9a),function(_0x977925,_0x283d50,_0x3c4a6b,_0xc72c07){if(!_0xc72c07['checkAttribute'](_0x283d50,'footnotesListStyle'))return;let _0x2329c3='decimal',_0x443a47=!0x1;if(_0x3c4a6b['consumable']['consume'](_0x977925,{'attributes':'type'})){const _0x650ad3={0x1:'decimal','a':'lower-alpha','A':'upper-alpha','i':'lower-roman','I':'upper-roman'}[_0x977925['getAttribute']('type')];_0x650ad3&&(_0x2329c3=_0x650ad3),_0x443a47=!0x0;}_0x3c4a6b['consumable']['consume'](_0x977925,{'styles':'list-style-type'})&&(_0x2329c3=_0x977925['getStyle']('list-style-type'),_0x443a47=!0x0),!_0x443a47&&_0x283d50['hasAttribute']('footnotesListStyle')||_0x3c4a6b['writer']['setAttribute']('footnotesListStyle',_0x2329c3,_0x283d50);}(_0x98e5e,_0x1a69ee,_0x22f481,_0x3e8f9a));});}),_0xcb5b50['for']('downcast')['add'](_0x2a204d=>{_0x2a204d['on']('attribute:footnotesListStart:footnotesDefinitions',(_0x5578de,_0x1a32c5,_0x4c4fd1)=>{if(!_0x4c4fd1['consumable']['consume'](_0x1a32c5['item'],_0x5578de['name']))return;const _0x89a5d1=M(_0x1a32c5['item'],_0x4c4fd1['mapper']),{attributeNewValue:_0x461d64}=_0x1a32c5;null==_0x461d64||0x1===_0x461d64?_0x4c4fd1['writer']['removeAttribute']('start',_0x89a5d1):_0x4c4fd1['writer']['setAttribute']('start',String(_0x461d64),_0x89a5d1);}),_0x2a204d['on']('attribute:footnotesListStyle:footnotesDefinitions',(_0x2f4894,_0x2646b1,_0x37f962)=>{if(!_0x37f962['consumable']['consume'](_0x2646b1['item'],_0x2f4894['name']))return;const _0x588b61=M(_0x2646b1['item'],_0x37f962['mapper']),{attributeNewValue:_0x51827e}=_0x2646b1;_0x51827e&&'decimal'!==_0x51827e?_0x37f962['writer']['setStyle']('list-style-type',_0x51827e,_0x588b61):_0x37f962['writer']['removeStyle']('list-style-type',_0x588b61);});});}['_definePostfixer'](){const {editor:_0x3399b6}=this,{model:_0x553a82}=_0x3399b6,_0xea86e2=_0x3399b6['plugins']['get'](c),_0xdf5dd8=this['_getDefaultListStyle'](),_0x465cb5=this['_getDefaultStartIndex']();_0x553a82['document']['registerPostFixer'](_0x4983bb=>{const _0x2fa3d3=_0x553a82['document']['differ']['getChanges']();let _0x2d5396=!0x1;for(const _0x576548 of _0x2fa3d3){if('insert'!==_0x576548['type']||'$text'===_0x576548['name'])continue;const _0x540506=_0x553a82['createRangeOn'](_0x576548['position']['nodeAfter']);for(const _0x41d570 of _0x540506['getItems']())_0x41d570['is']('element','footnotesDefinitions')&&(!_0x41d570['hasAttribute']('footnotesListStart')&&_0x553a82['schema']['checkAttribute'](_0x41d570,'footnotesListStart')&&(_0x4983bb['setAttribute']('footnotesListStart',_0x465cb5,_0x41d570),_0x2d5396=!0x0),!_0x41d570['hasAttribute']('footnotesListStyle')&&_0x553a82['schema']['checkAttribute'](_0x41d570,'footnotesListStyle')&&(_0x4983bb['setAttribute']('footnotesListStyle',_0xdf5dd8,_0x41d570),_0x2d5396=!0x0));}return _0x2d5396&&_0xea86e2['_updateFootnotesCounters'](_0x4983bb),_0x2d5396;});}['_defineFormatter'](){const {editor:_0x1b2b42}=this;_0x1b2b42['plugins']['get'](c)['setFootnoteFormatter'](_0xf8421=>this['_formatFootnoteListValue'](_0xf8421));}['_getDefaultListStyle'](){return this['editor']['config']['get']('footnotes.footnotesProperties.defaultListStyle');}['_getDefaultStartIndex'](){return this['editor']['config']['get']('footnotes.footnotesProperties.defaultStartIndex');}['_formatFootnoteListValue']({container:_0x169a75,value:_0x3efc16,digits:_0x1df469}){const _0x189394=_0x169a75['getAttribute']('footnotesListStyle'),_0x31452f=_0x169a75['getAttribute']('footnotesListStart'),_0x2a51de=Math['floor'](_0x3efc16)+(_0x31452f??0x1)-0x1;switch(_0x189394){case'decimal-leading-zero':return function(_0x32646d,_0x14c684){return String(_0x32646d)['padStart'](_0x14c684,'0');}(_0x2a51de,Math['max'](0x2,_0x1df469));case'lower-alpha':case'lower-latin':return N(_0x2a51de,!0x1);case'upper-alpha':case'upper-latin':return N(_0x2a51de,!0x0);case'lower-roman':return X(_0x2a51de,!0x1);case'upper-roman':return X(_0x2a51de,!0x0);default:return String(_0x2a51de);}}}function M(_0x327695,_0x128f4d){const _0x4cec66=_0x128f4d['toViewElement'](_0x327695);return Array['from'](_0x4cec66['getChildren']())['find'](_0x27b98d=>_0x27b98d['is']('element','ol')&&_0x27b98d['hasClass']('footnotes-list'));}function N(_0xdac96d,_0x2f7f2a){let _0x5f0669='',_0x5d74bb=_0xdac96d;for(;_0x5d74bb>0x0;){const _0x5bae2b=(_0x5d74bb-0x1)%0x1a;_0x5f0669=String['fromCharCode'](0x61+_0x5bae2b)+_0x5f0669,_0x5d74bb=Math['floor']((_0x5d74bb-0x1)/0x1a);}return _0x2f7f2a?_0x5f0669['toUpperCase']():_0x5f0669;}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(_0x34d9bb,_0x3d4389){let _0x20c680='',_0x49fe50=_0x34d9bb;for(const {value:_0x490910,numeral:_0x3cd07f}of V)for(;_0x49fe50>=_0x490910;)_0x20c680+=_0x3cd07f,_0x49fe50-=_0x490910;return _0x3d4389?_0x20c680:_0x20c680['toLowerCase']();}class H extends _0x4cb5bf{['children'];['stylesView']=null;['additionalProperties']=null;['startIndexFieldView']=null;['focusTracker']=new ot();['keystrokes']=new rt();['focusables']=new _0x100044();['focusCycler'];constructor(_0x35514a,{styleButtonViews:_0x43f9f1,styleGridAriaLabel:_0x598e4c}){super(_0x35514a),(this['focusCycler']=new _0x49121a({'focusables':this['focusables'],'focusTracker':this['focusTracker'],'keystrokeHandler':this['keystrokes'],'actions':{'focusPrevious':'shift\x20+\x20tab','focusNext':'tab'}}),this['children']=this['createCollection'](),this['stylesView']=this['_appendStylesView'](_0x43f9f1,_0x598e4c),[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 _0x332ed4 of this['stylesView']['children'])this['stylesView']['focusTracker']['add'](_0x332ed4['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 _0x4db2d1=_0x3d6332=>_0x3d6332['stopPropagation']();this['keystrokes']['set']('arrowright',_0x4db2d1),this['keystrokes']['set']('arrowleft',_0x4db2d1),this['keystrokes']['set']('arrowup',_0x4db2d1),this['keystrokes']['set']('arrowdown',_0x4db2d1);}this['keystrokes']['listenTo'](this['element']);}['focus'](){this['focusCycler']['focusFirst']();}['focusLast'](){this['focusCycler']['focusLast']();}['destroy'](){super['destroy'](),this['focusTracker']['destroy'](),this['keystrokes']['destroy']();}['_appendStylesView'](_0x2d7fc0,_0xa154d5){const _0x40826e=new _0x4cb5bf(this['locale']);return _0x40826e['children']=_0x40826e['createCollection'](),_0x40826e['children']['addMany'](_0x2d7fc0),_0x40826e['setTemplate']({'tag':'div','attributes':{'aria-label':_0xa154d5,'class':['ck','ck-footnotes-definitions-styles-list']},'children':_0x40826e['children']}),_0x40826e['children']['delegate']('execute')['to'](this),_0x40826e['focus']=function(){for(const _0x58a1cc of this['children'])if(_0x58a1cc instanceof _0x31cc2b&&_0x58a1cc['isOn'])return void _0x58a1cc['focus']();this['children']['first']['focus']();},_0x40826e['focusTracker']=new ot(),_0x40826e['keystrokes']=new rt(),_0x40826e['render'](),_0x40826e['keystrokes']['listenTo'](_0x40826e['element']),this['children']['add'](_0x40826e),_0x40826e;}['_appendAdditionalPropertiesCollapsibleView'](){const {t:t}=this['locale'],_0xdc5879=this['_createStartIndexPropertyView'](),_0x435b94=[_0xdc5879],_0x3e4739=new st(this['locale'],_0x435b94);return _0x3e4739['set']({'label':t('Footnotes\x20properties'),'isCollapsed':!0x0}),_0x3e4739['buttonView']['bind']('isEnabled')['toMany'](_0x435b94,'isEnabled',(..._0x1c2573)=>_0x1c2573['some'](_0xdbc168=>_0xdbc168)),_0x3e4739['buttonView']['on']('change:isEnabled',(_0x3bc2bc,_0xe2bbd0,_0x1c955a)=>{_0x1c955a||(_0x3e4739['isCollapsed']=!0x0);}),this['children']['add'](_0x3e4739),[_0xdc5879,_0x3e4739];}['_createStartIndexPropertyView'](){const {t:t}=this['locale'],_0x5737d6=new it(this['locale'],et);return _0x5737d6['set']({'label':t('Footnotes\x20start\x20at'),'class':'ck-footnotes-definitions-properties__start-index'}),_0x5737d6['fieldView']['set']({'min':0x0,'max':Math['pow'](0x2,0x1e),'step':0x1,'value':0x1,'inputMode':'numeric'}),_0x5737d6['fieldView']['on']('input',()=>{const _0x5cca0b=_0x5737d6['fieldView']['element'],_0x19b2f2=_0x5cca0b['valueAsNumber'];Number['isNaN'](_0x19b2f2)?_0x5737d6['errorText']=t('Invalid\x20footnotes\x20start\x20index\x20value.'):_0x5cca0b['checkValidity']()?this['fire']('footnotesListStart',{'startIndex':_0x19b2f2}):_0x5737d6['errorText']=t(_0x19b2f2<0x0?'Footnotes\x20start\x20index\x20must\x20be\x20greater\x20than\x200.':'Footnotes\x20start\x20index\x20is\x20too\x20large.');}),_0x5737d6;}}class j extends _0x275ec9{static get['pluginName'](){return'FootnotesPropertiesUI';}static get['requires'](){return[_0x628725,_0x4021c6];}static get['isOfficialPlugin'](){return!0x0;}static get['isPremiumPlugin'](){return!0x0;}['init'](){const {editor:_0x1c8dfe}=this,{componentFactory:_0x3efaa6}=_0x1c8dfe['ui'];_0x1c8dfe['config']['define']('footnotes.footnotesProperties.toolbar',['footnotesStyle']),_0x3efaa6['add']('footnotesStyle',function(_0x46de29){return _0x445595=>{const {t:t}=_0x445595,_0x4e4588=_0x46de29['commands']['get']('footnotesStyle'),_0x2a7f72=_0x4bebae(_0x445595),{buttonView:_0x21c797}=_0x2a7f72;return _0x2a7f72['class']='ck-footnotes-styles-dropdown',_0x2a7f72['bind']('isEnabled')['to'](_0x4e4588,'isEnabled'),_0x21c797['set']({'label':t('Footnotes\x20style'),'icon':_0x572da7,'tooltip':!0x0}),_0x2a7f72['once']('change:isOpen',()=>{const _0x1cff8a=function({editor:_0x273c2c,dropdownView:_0x8b72b3}){const {t:t}=_0x273c2c['locale'],_0x239e66=t('Footnotes\x20definitions\x20styles'),_0x4c60cf=function(_0x17c67b){const t=_0x17c67b['locale']['t'],_0x2bf07c=[{'label':t('Toggle\x20the\x20decimal\x20footnotes\x20style'),'tooltip':t('Decimal\x20footnotes'),'style':'decimal','icon':_0x56d51f},{'label':t('Toggle\x20the\x20decimal\x20with\x20leading\x20zero\x20footnotes\x20style'),'tooltip':t('Decimal\x20footnotes\x20with\x20leading\x20zero'),'style':'decimal-leading-zero','icon':_0x256657},{'label':t('Toggle\x20the\x20lower–roman\x20footnotes\x20style'),'tooltip':t('Lower–roman\x20footnotes'),'style':'lower-roman','icon':_0x15d13e},{'label':t('Toggle\x20the\x20upper–roman\x20footnotes\x20style'),'tooltip':t('Upper-roman\x20footnotes'),'style':'upper-roman','icon':_0x2950a6},{'label':t('Toggle\x20the\x20lower–latin\x20footnotes\x20style'),'tooltip':t('Lower-latin\x20footnotes'),'style':'lower-latin','icon':_0x438409},{'label':t('Toggle\x20the\x20upper–latin\x20footnotes\x20style'),'tooltip':t('Upper-latin\x20footnotes'),'style':'upper-latin','icon':_0x5b5f23}];return _0x2bf07c['map'](function(_0x1f5d1d){const _0x3cf858=_0x1f5d1d['locale'];return({label:_0xe4aab6,icon:_0x24669c,tooltip:_0x1ebd57,style:_0x49f9c9})=>{const _0x4f0a65=_0x1f5d1d['commands']['get']('footnotesStyle'),_0x543530=new _0x31cc2b(_0x3cf858);return _0x543530['set']({'label':_0xe4aab6,'icon':_0x24669c,'tooltip':_0x1ebd57}),_0x543530['bind']('isOn')['to'](_0x4f0a65,'value',_0x3641e9=>_0x3641e9===_0x49f9c9),_0x543530['bind']('isEnabled')['to'](_0x4f0a65,'isEnabled'),_0x543530['on']('execute',()=>{_0x1f5d1d['execute']('footnotesStyle',{'value':_0x49f9c9}),_0x1f5d1d['editing']['view']['focus']();}),_0x543530;};}(_0x17c67b));}(_0x273c2c),_0x4be4a5=new H(_0x273c2c['locale'],{'styleGridAriaLabel':_0x239e66,'styleButtonViews':_0x4c60cf});return _0x4be4a5['delegate']('execute')['to'](_0x8b72b3),_0x4be4a5['on']('footnotesListStart',(_0x26ee70,_0x2911fc)=>{_0x273c2c['execute']('footnotesStart',{'value':_0x2911fc['startIndex']});}),_0x4be4a5;}({'editor':_0x46de29,'dropdownView':_0x2a7f72});_0x2a7f72['panelView']['children']['add'](_0x1cff8a);}),_0x2a7f72;};}(_0x1c8dfe));}['afterInit'](){const {editor:_0x2646dd}=this,{t:t}=_0x2646dd['locale'],_0x39fa1b=_0x2646dd['plugins']['get'](_0x4021c6),{defaultPositions:_0x2dd9aa}=_0x113cf4;_0x39fa1b['register']('footnotesDefinitions',{'ariaLabel':t('Footnotes\x20definitions\x20toolbar'),'items':_0x2646dd['config']['get']('footnotes.footnotesProperties.toolbar'),'balloonClassName':'ck-footnotes-style-balloon\x20ck-toolbar-container','getRelatedElement':_0xe7e321=>{let _0x2e38b2=_0xe7e321['getFirstPosition']()?.['parent'];return _0x2e38b2?.['is']('$text')&&(_0x2e38b2=_0x2e38b2['parent']),_0x2e38b2?.['is']('element')?_0x2e38b2['findAncestor'](J):null;},'positions':[_0x2dd9aa['southArrowNorth'],_0x2dd9aa['southArrowNorthMiddleWest'],_0x2dd9aa['southArrowNorthMiddleEast'],_0x2dd9aa['southArrowNorthWest'],_0x2dd9aa['southArrowNorthEast'],_0x2dd9aa['northArrowSouth'],_0x2dd9aa['northArrowSouthMiddleWest'],_0x2dd9aa['northArrowSouthMiddleEast'],_0x2dd9aa['northArrowSouthWest'],_0x2dd9aa['northArrowSouthEast'],_0x2dd9aa['viewportStickyNorth']]});}}class ft extends _0x275ec9{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 _0x49c36c,Command as _0x2dc098}from'@ckeditor/ckeditor5-core/dist/index.js';import{toWidget as _0x140c4f,isWidget as _0x5b5b76,toWidgetEditable as _0x42f4eb,WidgetToolbarRepository as _0xdc63b1}from'@ckeditor/ckeditor5-widget/dist/index.js';import{uid as _0x3d10b0,logWarning as _0x37fb22,FocusTracker as ot,KeystrokeHandler as rt,global as nt}from'@ckeditor/ckeditor5-utils/dist/index.js';import{PointerObserver as _0x14bbcd,ClickObserver as _0x2be962}from'@ckeditor/ckeditor5-engine/dist/index.js';import{ClipboardPipeline as _0x4c5597}from'@ckeditor/ckeditor5-clipboard/dist/index.js';import{MenuBarMenuListItemButtonView as _0x1c4855,ButtonView as _0x43f6c3,View as _0x1243c8,ViewCollection as _0xb8eda8,FocusCycler as _0x2bd343,addKeyboardHandlingForGrid as tt,CollapsibleView as st,LabeledFieldView as it,createLabeledInputNumber as et,ContextualBalloon as _0x1daaf3,BalloonPanelView as _0x520500,createDropdown as _0x1d2237}from'@ckeditor/ckeditor5-ui/dist/index.js';import{IconFootnote as _0x4969aa,IconListStyleDecimal as _0x4cb109,IconListStyleDecimalLeadingZero as _0x3fd1c6,IconListStyleLowerRoman as _0x4dd4e6,IconListStyleUpperRoman as _0x56fa6d,IconListStyleLowerLatin as _0x5c033e,IconListStyleUpperLatin as _0x265453}from'@ckeditor/ckeditor5-icons/dist/index.js';class F{['_model'];['_elementName'];['_getElementKey'];['_trackedElements']=new Map();constructor(_0x1f8158,_0x57a3ca){this['_model']=_0x1f8158,this['_elementName']=_0x57a3ca['elementName'],this['_getElementKey']=_0x57a3ca['getElementKey'];}['reset'](){this['_trackedElements']['clear']();}['getChanges'](_0x5b656){const _0x46a3f4=new Set(),_0x4602de=new Map();for(const _0x11f920 of _0x5b656){if('insert'===_0x11f920['type']&&'$text'!==_0x11f920['name']&&_0x11f920['position']['nodeAfter']){const _0x168091=this['_model']['createRangeOn'](_0x11f920['position']['nodeAfter']);for(const _0xe69034 of _0x168091['getItems']()){if(!_0xe69034['is']('element',this['_elementName']))continue;const _0x370a28=this['_getElementKey'](_0xe69034);_0x4602de['has'](_0x370a28)||_0x4602de['set'](_0x370a28,[]),_0x4602de['get'](_0x370a28)['push'](_0xe69034);}}if('remove'===_0x11f920['type']&&_0x11f920['name']===this['_elementName']){const _0x2907e8=this['_getElementKey']({'getAttribute':_0x4e1ea2=>_0x11f920['attributes']['get'](_0x4e1ea2)});_0x46a3f4['add'](_0x2907e8);}}for(const [_0x576894,_0xda2135]of this['_trackedElements'])'$graveyard'===_0xda2135['root']['rootName']&&_0x46a3f4['add'](_0x576894);for(const _0x342194 of _0x46a3f4)this['_trackedElements']['delete'](_0x342194);for(const [_0x30ae89,_0x349c89]of _0x4602de)this['_trackedElements']['set'](_0x30ae89,_0x349c89[_0x349c89['length']-0x1]);const _0xa751e5=new Set();for(const [_0x1367d5,_0x22d240]of _0x4602de)_0x46a3f4['has'](_0x1367d5)&&(_0xa751e5['add'](_0x22d240[0x0]),_0x22d240['length']>0x1?_0x4602de['set'](_0x1367d5,_0x22d240['slice'](0x1)):_0x4602de['delete'](_0x1367d5),_0x46a3f4['delete'](_0x1367d5));return{'removed':Array['from'](_0x46a3f4),'inserted':Array['from'](_0x4602de['values']())['flat'](),'moved':Array['from'](_0xa751e5)};}}class c extends _0x49c36c{['_footnotes']=[];['_footnotesDefinitions']=null;['_footnoteFormatter']=null;['_footnoteDefsContainerTracker'];['_footnoteRefsTracker'];['_footnoteDefsTracker'];static get['pluginName'](){return'FootnotesTracker';}static get['isOfficialPlugin'](){return!0x0;}static get['isPremiumPlugin'](){return!0x0;}constructor(_0x165914){super(_0x165914),this['_footnoteDefsContainerTracker']=new F(this['editor']['model'],{'elementName':'footnotesDefinitions','getElementKey':()=>'singleton'}),this['_footnoteRefsTracker']=new F(this['editor']['model'],{'elementName':'footnoteRef','getElementKey':_0x1e044c=>_0x1e044c['getAttribute']('footnoteId')}),this['_footnoteDefsTracker']=new F(this['editor']['model'],{'elementName':'footnoteDefinition','getElementKey':_0x23f8c2=>_0x23f8c2['getAttribute']('footnoteId')});}['init'](){const {editor:_0x1611aa}=this,{model:_0x527939,data:_0x37876d}=_0x1611aa;_0x527939['document']['registerPostFixer'](_0x5a47a2=>{const _0x22a184=_0x527939['document']['differ']['getChanges']();let _0xd45bc2=!0x1;return this['_handleFootnotesDefinitionsObjectChanges'](_0x5a47a2,_0x22a184)&&(_0xd45bc2=!0x0),this['_handleFootnoteDefinitionsChanges'](_0x5a47a2,_0x22a184)&&(_0xd45bc2=!0x0),this['_handleFootnoteReferencesChanges'](_0x5a47a2,_0x22a184)&&(_0xd45bc2=!0x0),this['_ensureFootnotesReferencesHaveProperOrder'](_0x5a47a2)&&(_0xd45bc2=!0x0),this['_handleFootnotesDefinitionsObjectSync'](_0x5a47a2)&&(_0xd45bc2=!0x0),this['_sortFootnoteDefinitions'](_0x5a47a2)&&(_0xd45bc2=!0x0),_0xd45bc2;}),this['listenTo'](_0x527939['document'],'change:data',()=>{_0x527939['enqueueChange']({'isUndoable':!0x1},_0x3964ea=>{this['_ensureFootnotesDefinitionsContainerExists'](_0x3964ea);});},{'priority':'low'}),this['listenTo'](_0x37876d,'set',()=>{this['_footnotes']=[],this['_footnoteDefsContainerTracker']['reset'](),this['_footnoteRefsTracker']['reset'](),this['_footnoteDefsTracker']['reset']();},{'priority':'high'});}['getFootnotesDefinitionsObjectElement'](){return this['_footnotesDefinitions'];}['getFootnote'](_0x3b27e5){return this['_footnotes']['find'](_0x229fa4=>_0x229fa4['id']===_0x3b27e5)||null;}['getFootnotes'](){return Array['from'](this['_footnotes']);}['getFootnotesFormatter'](){return this['_footnoteFormatter'];}['setFootnoteFormatter'](_0x4d55d7){this['_footnoteFormatter']=_0x4d55d7;}['_updateFootnotesCounters'](_0x2a26ae,_0x342900=0x0){let _0x15c974=!0x1;for(let _0x384cc8=_0x342900;_0x384cc8<this['_footnotes']['length'];_0x384cc8++)this['_updateFootnoteRefCounter'](_0x2a26ae,_0x384cc8)&&(_0x15c974=!0x0);return _0x15c974;}['_insertEmptyFootnotesDefinitionsContainer'](_0x11d0cf,_0x24b3a1){const _0x5721c2=_0x11d0cf['createElement']('footnotesDefinitions',{});return _0x11d0cf['append'](_0x5721c2,_0x24b3a1),this['_footnotesDefinitions']=_0x5721c2,_0x5721c2;}['_ensureFootnotesDefinitionsContainerExists'](_0x80c54c){if(!this['_footnotes']['length']||this['_footnotesDefinitions'])return;const _0x34bccd=this['_footnotes'][0x0]['reference']['root'],_0x49ce7b=this['_insertEmptyFootnotesDefinitionsContainer'](_0x80c54c,_0x34bccd);for(const _0x27dd28 of this['_footnotes'])_0x27dd28['definition']['parent']||_0x80c54c['insert'](_0x27dd28['definition'],_0x49ce7b,'end');this['_updateFootnotesCounters'](_0x80c54c);}['_handleFootnotesDefinitionsObjectChanges'](_0x13aae3,_0x4678d5){let _0x57531b=!0x1;const {inserted:_0x49e6eb,removed:_0x4dfb0a,moved:_0x50ed7d}=this['_footnoteDefsContainerTracker']['getChanges'](_0x4678d5);if(_0x50ed7d['length']&&(this['_footnotesDefinitions']=_0x50ed7d[0x0]),_0x49e6eb['length']){if(_0x49e6eb['length']>0x1||this['_footnotesDefinitions']&&_0x49e6eb['some'](_0x3fb678=>_0x3fb678!==this['_footnotesDefinitions'])){const _0x53b3e4=_0x13aae3['createElement']('footnotesDefinitions',{}),_0x1bad31=[];this['_footnotesDefinitions']&&_0x1bad31['push'](this['_footnotesDefinitions']),_0x1bad31['push'](..._0x49e6eb),_0x13aae3['insert'](_0x53b3e4,_0x1bad31[0x0],'before');for(const _0x44f2bd of _0x1bad31)_0x13aae3['move'](_0x13aae3['createRangeIn'](_0x44f2bd),_0x13aae3['createPositionAt'](_0x53b3e4,'end')),_0x13aae3['remove'](_0x44f2bd);this['_footnotesDefinitions']=_0x53b3e4,this['_updateFootnotesCounters'](_0x13aae3),_0x57531b=!0x0;}else this['_footnotesDefinitions']=_0x49e6eb[0x0];}if(_0x4dfb0a['length']&&'$graveyard'===this['_footnotesDefinitions']?.['root']['rootName']){for(const _0x2a34bd of this['_footnotes'])_0x13aae3['remove'](_0x2a34bd['reference']),_0x57531b=!0x0;this['_footnotes']=[],this['_footnotesDefinitions']=null;}return _0x57531b;}['_handleFootnoteDefinitionsChanges'](_0x256443,_0x42a325){let _0x231877=!0x1;const _0x2c7418=this['editor']['config']['get']('footnotes.multiBlock'),{inserted:_0x11254d,moved:_0x2bb893}=this['_footnoteDefsTracker']['getChanges'](_0x42a325);for(const _0x5ecf87 of[..._0x2bb893,..._0x11254d]){const _0xc0687d=_0x5ecf87['getAttribute']('footnoteId'),_0x506525=this['getFootnote'](_0xc0687d);_0x506525&&(_0x506525['definition']=_0x5ecf87),_(_0x256443,_0x2c7418,_0x5ecf87)&&(_0x231877=!0x0);}return _0x231877;}['_handleFootnoteReferencesChanges'](_0x1ebb6a,_0x54fb46){let _0x4f96a9=!0x1;const {removed:_0xe7161,inserted:_0x5f3001,moved:_0x188359}=this['_footnoteRefsTracker']['getChanges'](_0x54fb46);for(const _0x4816f6 of _0xe7161)this['_handleRemoveFootnoteReferenceById'](_0x1ebb6a,_0x4816f6)&&(_0x4f96a9=!0x0);for(const _0x1c24ea of _0x5f3001)this['_handleInsertedFootnoteReference'](_0x1ebb6a,_0x1c24ea)&&(_0x4f96a9=!0x0);for(const _0x4bec42 of _0x188359)this['_handleMovedFootnoteReference'](_0x1ebb6a,_0x4bec42)&&(_0x4f96a9=!0x0);return _0x4f96a9;}['_handleFootnotesDefinitionsObjectSync'](_0x1803f2){if(!this['_footnotesDefinitions'])return!0x1;let _0x8ba9e3=!0x1;if(this['_footnotesDefinitions']['childCount']!==this['_footnotes']['length']){const _0x4c21b6=[];for(const _0x3b0801 of this['_footnotesDefinitions']['getChildren']()){const _0xa7038=_0x3b0801['getAttribute']('footnoteId');this['getFootnote'](_0xa7038)||(_0x4c21b6['unshift'](_0x3b0801),_0x8ba9e3=!0x0);}for(const _0x49c23a of _0x4c21b6)_0x1803f2['remove'](_0x49c23a);}const _0x3c5286=new Set(),_0x52b8f1=[];for(const _0x3889ca of this['_footnotesDefinitions']['getChildren']()){const _0x7bd701=_0x3889ca['getAttribute']('footnoteId');_0x3c5286['has'](_0x7bd701)?(_0x52b8f1['unshift'](_0x3889ca),_0x8ba9e3=!0x0):_0x3c5286['add'](_0x7bd701);}for(const _0x3efa97 of _0x52b8f1)_0x1803f2['remove'](_0x3efa97);return this['_footnotesDefinitions']['childCount']||(_0x1803f2['remove'](this['_footnotesDefinitions']),this['_footnotesDefinitions']=null,_0x8ba9e3=!0x0),_0x8ba9e3;}['_handleInsertedFootnoteReference'](_0x3995e8,_0xf8748c){if(this['_footnotes']['find'](_0x361041=>_0x361041['reference']===_0xf8748c))return!0x1;let _0x534706=!0x1;const _0x1609d9=_0xf8748c['getAttribute']('footnoteId'),_0x5e9662=this['_footnotes']['findIndex'](_0x52cd21=>_0x52cd21['id']===_0x1609d9);-0x1!==_0x5e9662&&(_0x3995e8['remove'](this['_footnotes'][_0x5e9662]['reference']),this['_footnotes']['splice'](_0x5e9662,0x1),_0x534706=!0x0);let _0x213f1e=this['_footnotesDefinitions']?function(_0x355525,_0x3da633){for(const _0x2b810b of _0x355525['getChildren']())if(_0x2b810b['getAttribute']('footnoteId')===_0x3da633)return _0x2b810b;return null;}(this['_footnotesDefinitions'],_0x1609d9):null;_0x213f1e||(_0x213f1e=_0x3995e8['createElement']('footnoteDefinition',{'footnoteId':_0x1609d9}),this['_footnotesDefinitions']&&(_0x3995e8['insert'](_0x213f1e,this['_footnotesDefinitions'],'end'),_0x534706=!0x0));const _0x36adf5={'id':_0x1609d9,'reference':_0xf8748c,'definition':_0x213f1e},_0x29deab=I(this['editor']['model'],this['_footnotes'],_0xf8748c);this['_footnotes']['splice'](_0x29deab,0x0,_0x36adf5);let _0x27a88b=_0x29deab;return-0x1!==_0x5e9662&&(_0x27a88b=Math['min'](_0x29deab,_0x5e9662)),this['_updateFootnotesCounters'](_0x3995e8,_0x27a88b)&&(_0x534706=!0x0),_0x534706;}['_handleRemoveFootnoteReferenceById'](_0x1445b0,_0x5f0fcf){const _0x41d1ba=this['_footnotes']['findIndex'](_0x37aac3=>_0x37aac3['id']===_0x5f0fcf);if(-0x1===_0x41d1ba)return!0x1;let _0x2b6a32=!0x1;const _0x4b34e1=this['_footnotes'][_0x41d1ba];return'$graveyard'!==_0x4b34e1['definition']['root']['rootName']&&(_0x1445b0['remove'](_0x4b34e1['definition']),_0x2b6a32=!0x0),this['_footnotes']['splice'](_0x41d1ba,0x1),this['_updateFootnotesCounters'](_0x1445b0,_0x41d1ba)&&(_0x2b6a32=!0x0),_0x2b6a32;}['_handleMovedFootnoteReference'](_0x534f07,_0x85572d){const _0x1e6c7d=_0x85572d['getAttribute']('footnoteId'),_0x5f1c57=this['_footnotes']['findIndex'](_0x541f45=>_0x541f45['id']===_0x1e6c7d),_0x524293=this['_footnotes'][_0x5f1c57];let _0x32ff1b=!0x1;_0x524293['reference']=_0x85572d,this['_footnotes']['splice'](_0x5f1c57,0x1);const _0x2e5c99=I(this['editor']['model'],this['_footnotes'],_0x85572d);return this['_footnotes']['splice'](_0x2e5c99,0x0,_0x524293),this['_updateFootnotesCounters'](_0x534f07,Math['min'](_0x5f1c57,_0x2e5c99))&&(_0x32ff1b=!0x0),_0x32ff1b;}['_updateFootnoteRefCounter'](_0x3a4cc1,_0x543268){if(!this['_footnotesDefinitions'])return!0x1;const _0x37da89=this['_footnotes'][_0x543268];let _0x59ce7b;return _0x59ce7b=this['_footnoteFormatter']?this['_footnoteFormatter']({'footnote':_0x37da89,'container':this['_footnotesDefinitions'],'digits':String(this['_footnotes']['length'])['length'],'value':_0x543268+0x1}):String(_0x543268+0x1),_0x37da89['reference']['getAttribute']('footnoteCounter')!=_0x59ce7b&&(_0x3a4cc1['setAttribute']('footnoteCounter',_0x59ce7b,_0x37da89['reference']),!0x0);}['_sortFootnoteDefinitions'](_0x2f9b59){if(!this['_footnotesDefinitions']||this['_footnotes']['length']<0x2)return!0x1;if(function(_0x44c0bf,_0x4dbad5){if(_0x44c0bf['length']!==_0x4dbad5['length'])return!0x1;for(let _0xc1a560=0x0;_0xc1a560<_0x44c0bf['length'];_0xc1a560++)if(_0x44c0bf[_0xc1a560]!==_0x4dbad5[_0xc1a560])return!0x1;return!0x0;}(this['_footnotes']['map'](_0x35827c=>_0x35827c['id']),Array['from'](this['_footnotesDefinitions']['getChildren']())['map'](_0x204a48=>_0x204a48['getAttribute']('footnoteId'))))return!0x1;let _0x2b449e=!0x1;for(let _0x369b22=0x0;_0x369b22<this['_footnotes']['length'];_0x369b22++){const _0x3adf19=this['_footnotes'][_0x369b22],_0x38fa9d=_0x2f9b59['createPositionBefore'](_0x3adf19['definition']),_0x3d39b5=_0x2f9b59['createPositionAt'](this['_footnotesDefinitions'],_0x369b22);_0x38fa9d['isEqual'](_0x3d39b5)||(_0x2f9b59['move'](_0x2f9b59['createRangeOn'](_0x3adf19['definition']),_0x3d39b5),_0x2b449e=!0x0);}return _0x2b449e;}['_ensureFootnotesReferencesHaveProperOrder'](_0x56afd3){if(!this['_footnotes']['length'])return!0x1;const {model:_0x48022b}=this['editor'];let _0x34d043=!0x1;for(let _0x5134fb=0x0;_0x5134fb<this['_footnotes']['length']-0x1;_0x5134fb++){const _0x4b726e=this['_footnotes'][_0x5134fb],_0x521c83=this['_footnotes'][_0x5134fb+0x1],_0x50404e=_0x48022b['createPositionBefore'](_0x4b726e['reference']),_0x1b559d=_0x48022b['createPositionBefore'](_0x521c83['reference']);'after'===_0x50404e['compareWith'](_0x1b559d)&&(this['_handleMovedFootnoteReference'](_0x56afd3,_0x4b726e['reference']),_0x5134fb=-0x1,_0x34d043=!0x0);}return _0x34d043;}}function _(_0x42b9d5,_0x87b05c,_0x39f1d8){if(_0x39f1d8['childCount'])return!0x1;const _0xa78362=_0x87b05c?'paragraph':'footnoteInlineContent';return _0x42b9d5['insert'](_0x42b9d5['createElement'](_0xa78362),_0x39f1d8),!0x0;}function I(_0x300957,_0x475da3,_0x550728){if(0x0===_0x475da3['length'])return 0x0;const _0x4c7a70=_0x300957['createPositionBefore'](_0x550728);for(let _0x5f7ca1=0x0;_0x5f7ca1<_0x475da3['length'];_0x5f7ca1++){const _0x39e945=_0x475da3[_0x5f7ca1],_0x403187=_0x300957['createPositionBefore'](_0x39e945['reference']);if('before'===_0x4c7a70['compareWith'](_0x403187))return _0x5f7ca1;}const _0x51a8e4=_0x550728['root'];let _0x213d47=-0x1;for(let _0x3cab40=_0x475da3['length']-0x1;_0x3cab40>=0x0;_0x3cab40--)if(_0x475da3[_0x3cab40]['reference']['root']===_0x51a8e4){_0x213d47=_0x3cab40;break;}if(-0x1!==_0x213d47)return _0x213d47+0x1;const _0x441fe6=_0x300957['document']['getRootNames'](),_0x44bdc9=_0x441fe6['indexOf'](_0x51a8e4['rootName']),_0x3f9eb0=_0x441fe6[_0x44bdc9+0x1];if(_0x3f9eb0){for(let _0x405945=0x0;_0x405945<_0x475da3['length'];_0x405945++)if(_0x475da3[_0x405945]['reference']['root']['rootName']===_0x3f9eb0)return _0x405945;}return _0x475da3['length'];}class m extends _0x2dc098{['refresh'](){const _0x31867b=this['editor']['model']['document']['selection'],_0xba88cf=this['_getPositionToInsertFootnote'](_0x31867b);this['isEnabled']=!!_0xba88cf;}['execute'](_0x5e2424){const {editor:_0x2ae3cf}=this,{model:_0x23174c}=_0x2ae3cf,{selection:_0x1bb926}=_0x23174c['document'],_0x5811f7=this['_getPositionToInsertFootnote'](_0x1bb926);if(!_0x5811f7)return;const _0x4f4028=_0x2ae3cf['plugins']['get']('FootnotesEditing'),_0x16afcc=_0x5e2424?.['footnoteId']??_0x3d10b0();!function(_0x4a3e29){return'string'==typeof _0x4a3e29&&_0x4a3e29['length']>0x0&&!/\s/['test'](_0x4a3e29)&&!/^\d/['test'](_0x4a3e29);}(_0x16afcc)?_0x37fb22('insert-footnote-command-executed-with-invalid-id'):(_0x23174c['change'](_0x3687e5=>{const _0xcab53f=_0x3687e5['createElement']('footnoteRef',{'footnoteId':_0x16afcc});_0x23174c['insertObject'](_0xcab53f,_0x5811f7,null);}),_0x4f4028['_moveSelectionToFootnoteDefinition'](_0x16afcc));}['_getPositionToInsertFootnote'](_0x348b62){const {model:_0x6bb188}=this['editor'],{schema:_0x5dcec7}=_0x6bb188,_0x42d3a9=_0x348b62['getFirstRange']();for(const _0x3086ad of _0x42d3a9['getItems']())if(_0x5dcec7['isBlock'](_0x3086ad)||_0x5dcec7['isObject'](_0x3086ad))return null;const _0x2eeffc=_0x42d3a9['end'];return _0x5dcec7['checkChild'](_0x2eeffc,'footnoteRef')?_0x2eeffc:null;}}class r extends _0x49c36c{static get['pluginName'](){return'FootnotesEditing';}static get['requires'](){return[c];}static get['isOfficialPlugin'](){return!0x0;}static get['isPremiumPlugin'](){return!0x0;}['init'](){const {editor:_0x5ce888}=this;_0x5ce888['config']['define']('footnotes.multiBlock',!0x0),_0x5ce888['commands']['add']('insertFootnote',new m(_0x5ce888)),this['_defineSchema'](),this['_defineRefsConverters'](),this['_defineDefinitionsConverters'](),this['_defineDefinitionConverters'](),this['_defineBogusParagraphConverters'](),this['_defineKeyboardHandlers'](),this['_defineClickHandlers']();}['afterInit'](){!async function(_0x4fce60){const _0x24a337=_0x49ee85([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]),_0x18a939=0x47a28506,_0x2f3496=0x47a5fd3e^_0x18a939,_0x17a090=window[_0x49ee85([0x44,0x61,0x74,0x65])][_0x49ee85([0x6e,0x6f,0x77])](),_0x58a99a=_0x4fce60[_0x49ee85([0x65,0x64,0x69,0x74,0x6f,0x72])],_0x2d3a6c=new window[(_0x49ee85([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0x92a618=>{_0x58a99a[_0x49ee85([0x6f,0x6e,0x63,0x65])](_0x49ee85([0x72,0x65,0x61,0x64,0x79]),_0x92a618);}),_0x5a3f97={[_0x49ee85([0x6b,0x74,0x79])]:_0x49ee85([0x45,0x43]),[_0x49ee85([0x75,0x73,0x65])]:_0x49ee85([0x73,0x69,0x67]),[_0x49ee85([0x63,0x72,0x76])]:_0x49ee85([0x50,0x2d,0x32,0x35,0x36]),[_0x49ee85([0x78])]:_0x49ee85([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]),[_0x49ee85([0x79])]:_0x49ee85([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]),[_0x49ee85([0x61,0x6c,0x67])]:_0x49ee85([0x45,0x53,0x32,0x35,0x36])},_0x2aa75d=_0x58a99a[_0x49ee85([0x63,0x6f,0x6e,0x66,0x69,0x67])][_0x49ee85([0x67,0x65,0x74])](_0x49ee85([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x4b,0x65,0x79]));async function _0x2d80bf(){let _0x54c714,_0x17e391=null,_0x31bc2d=null;try{if(_0x2aa75d==_0x49ee85([0x47,0x50,0x4c]))return _0x49ee85([0x4e,0x6f,0x74,0x41,0x6c,0x6c,0x6f,0x77,0x65,0x64]);if(_0x54c714=_0x32b908(),!_0x54c714)return _0x49ee85([0x49,0x6e,0x76,0x61,0x6c,0x69,0x64]);return _0x54c714[_0x49ee85([0x75,0x73,0x61,0x67,0x65,0x45,0x6e,0x64,0x70,0x6f,0x69,0x6e,0x74])]&&(_0x31bc2d=_0x10731b(_0x54c714[_0x49ee85([0x75,0x73,0x61,0x67,0x65,0x45,0x6e,0x64,0x70,0x6f,0x69,0x6e,0x74])],_0x54c714[_0x49ee85([0x6a,0x74,0x69])])),await _0x4af885()?_0x42909f()?_0x576fa3()?_0x49ee85([0x45,0x78,0x70,0x69,0x72,0x65,0x64]):_0x1268b2()?(_0x54c714[_0x49ee85([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x54,0x79,0x70,0x65])]==_0x49ee85([0x65,0x76,0x61,0x6c,0x75,0x61,0x74,0x69,0x6f,0x6e])&&(_0x17e391=_0x719f31(_0x49ee85([0x45,0x76,0x61,0x6c,0x75,0x61,0x74,0x69,0x6f,0x6e,0x4c,0x69,0x6d,0x69,0x74]))),_0x54c714[_0x49ee85([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x54,0x79,0x70,0x65])]==_0x49ee85([0x74,0x72,0x69,0x61,0x6c])&&(_0x17e391=_0x719f31(_0x49ee85([0x54,0x72,0x69,0x61,0x6c,0x4c,0x69,0x6d,0x69,0x74]))),await _0x130e16()):_0x49ee85([0x44,0x6f,0x6d,0x61,0x69,0x6e,0x4c,0x69,0x6d,0x69,0x74]):_0x49ee85([0x4e,0x6f,0x74,0x41,0x6c,0x6c,0x6f,0x77,0x65,0x64]):_0x49ee85([0x49,0x6e,0x76,0x61,0x6c,0x69,0x64]);}catch{return _0x49ee85([0x49,0x6e,0x76,0x61,0x6c,0x69,0x64]);}function _0x576fa3(){const _0x2f331b=[_0x49ee85([0x65,0x76,0x61,0x6c,0x75,0x61,0x74,0x69,0x6f,0x6e]),_0x49ee85([0x74,0x72,0x69,0x61,0x6c])][_0x49ee85([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x54c714[_0x49ee85([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x54,0x79,0x70,0x65])])?_0x17a090/0x3e8:0xe10*_0x2f3496;return _0x54c714[_0x49ee85([0x65,0x78,0x70])]<_0x2f331b;}function _0x42909f(){const _0x4a668f=_0x54c714[_0x49ee85([0x66,0x65,0x61,0x74,0x75,0x72,0x65,0x73])];return!!_0x4a668f&&(!!_0x4a668f[_0x49ee85([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x49ee85([0x2a]))||!!_0x4a668f[_0x49ee85([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x49ee85([0x46,0x4f,0x4f])));}function _0x1268b2(){const _0x55a00c=_0x54c714[_0x49ee85([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x64,0x48,0x6f,0x73,0x74,0x73])];if(!_0x55a00c||0x0==_0x55a00c[_0x49ee85([0x6c,0x65,0x6e,0x67,0x74,0x68])])return!0x0;const {hostname:_0x275636}=new URL(window[_0x49ee85([0x6c,0x6f,0x63,0x61,0x74,0x69,0x6f,0x6e])]['href']);if(_0x55a00c[_0x49ee85([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x275636))return!0x0;const _0x44f500=_0x275636[_0x49ee85([0x73,0x70,0x6c,0x69,0x74])](_0x49ee85([0x2e]));return _0x55a00c[_0x49ee85([0x66,0x69,0x6c,0x74,0x65,0x72])](_0x3b6fc5=>_0x3b6fc5[_0x49ee85([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x49ee85([0x2a])))[_0x49ee85([0x6d,0x61,0x70])](_0x5bbbe3=>_0x5bbbe3[_0x49ee85([0x73,0x70,0x6c,0x69,0x74])](_0x49ee85([0x2e])))[_0x49ee85([0x66,0x69,0x6c,0x74,0x65,0x72])](_0x3e0a5f=>_0x3e0a5f[_0x49ee85([0x6c,0x65,0x6e,0x67,0x74,0x68])]<=_0x44f500[_0x49ee85([0x6c,0x65,0x6e,0x67,0x74,0x68])])[_0x49ee85([0x6d,0x61,0x70])](_0x5a3635=>Array(_0x44f500[_0x49ee85([0x6c,0x65,0x6e,0x67,0x74,0x68])]-_0x5a3635[_0x49ee85([0x6c,0x65,0x6e,0x67,0x74,0x68])])[_0x49ee85([0x66,0x69,0x6c,0x6c])](_0x5a3635[0x0]===_0x49ee85([0x2a])?_0x49ee85([0x2a]):'')[_0x49ee85([0x63,0x6f,0x6e,0x63,0x61,0x74])](_0x5a3635))[_0x49ee85([0x73,0x6f,0x6d,0x65])](_0x51cd93=>_0x44f500[_0x49ee85([0x65,0x76,0x65,0x72,0x79])]((_0x5af9c4,_0x2655c3)=>_0x51cd93[_0x2655c3]===_0x5af9c4||_0x51cd93[_0x2655c3]===_0x49ee85([0x2a])));}function _0x130e16(){return _0x17e391&&_0x31bc2d?new window[(_0x49ee85([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))]((_0x52b1bb,_0x521319)=>{_0x17e391[_0x49ee85([0x74,0x68,0x65,0x6e])](_0x52b1bb,_0x521319),_0x31bc2d[_0x49ee85([0x74,0x68,0x65,0x6e])](_0x2cc987=>{_0x2cc987!=_0x49ee85([0x56,0x61,0x6c,0x69,0x64])&&_0x52b1bb(_0x2cc987);},_0x521319);}):_0x17e391||_0x31bc2d||_0x49ee85([0x56,0x61,0x6c,0x69,0x64]);}}function _0x10731b(_0x5002f2,_0x206ac3){return new window[(_0x49ee85([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0x4dfbea=>{if(_0x452bba())return _0x4dfbea(_0x49ee85([0x56,0x61,0x6c,0x69,0x64]));_0x33b919(),_0x58a99a[_0x49ee85([0x64,0x65,0x63,0x6f,0x72,0x61,0x74,0x65])](_0x49ee85([0x5f,0x73,0x65,0x6e,0x64,0x55,0x73,0x61,0x67,0x65,0x52,0x65,0x71,0x75,0x65,0x73,0x74]));let _0x4cf0d1=!0x1;const _0x4a49db=_0x3d10b0();function _0x522b17(_0x171d93){return!!_0x171d93&&(typeof _0x171d93===_0x49ee85([0x6f,0x62,0x6a,0x65,0x63,0x74])||typeof _0x171d93===_0x49ee85([0x66,0x75,0x6e,0x63,0x74,0x69,0x6f,0x6e]))&&typeof _0x171d93[_0x49ee85([0x74,0x68,0x65,0x6e])]===_0x49ee85([0x66,0x75,0x6e,0x63,0x74,0x69,0x6f,0x6e])&&typeof _0x171d93[_0x49ee85([0x63,0x61,0x74,0x63,0x68])]===_0x49ee85([0x66,0x75,0x6e,0x63,0x74,0x69,0x6f,0x6e]);}function _0x12935f(_0x4c3788){_0x582b86(_0x4c3788)[_0x49ee85([0x74,0x68,0x65,0x6e])](_0x15c3f3=>{if(!_0x15c3f3||_0x15c3f3[_0x49ee85([0x73,0x74,0x61,0x74,0x75,0x73])]!=_0x49ee85([0x6f,0x6b]))return _0x49ee85([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]);return _0x2168ca(_0x1cab8d(_0x4a49db+_0x206ac3))!=_0x15c3f3[_0x49ee85([0x76,0x65,0x72,0x69,0x66,0x69,0x63,0x61,0x74,0x69,0x6f,0x6e])]?_0x49ee85([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]):_0x49ee85([0x56,0x61,0x6c,0x69,0x64]);})[_0x49ee85([0x74,0x68,0x65,0x6e])](_0x3898b3=>(_0x274293(),_0x3898b3),()=>{const _0x9dfcd0=_0x5d4e65();return null==_0x9dfcd0?(_0x274293(),_0x49ee85([0x56,0x61,0x6c,0x69,0x64])):_0x49ee85(_0x17a090-_0x9dfcd0>(0x63ae0106^_0x18a939)?[0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]:[0x56,0x61,0x6c,0x69,0x64]);})[_0x49ee85([0x74,0x68,0x65,0x6e])](_0x4dfbea)[_0x49ee85([0x63,0x61,0x74,0x63,0x68])](()=>{_0x4dfbea(_0x49ee85([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]));});const _0x222194=0x47946b86^_0x18a939;function _0x274293(){const _0x5a5fd0=_0x49ee85([0x6c,0x6c,0x63,0x74,0x2d])+_0x2168ca(_0x1cab8d(_0x5002f2)),_0x52108d=_0x5887ed(_0x2168ca(window[_0x49ee85([0x4d,0x61,0x74,0x68])][_0x49ee85([0x63,0x65,0x69,0x6c])](_0x17a090/_0x222194)));window[_0x49ee85([0x6c,0x6f,0x63,0x61,0x6c,0x53,0x74,0x6f,0x72,0x61,0x67,0x65])][_0x49ee85([0x73,0x65,0x74,0x49,0x74,0x65,0x6d])](_0x5a5fd0,_0x52108d);}function _0x5d4e65(){const _0x329804=_0x49ee85([0x6c,0x6c,0x63,0x74,0x2d])+_0x2168ca(_0x1cab8d(_0x5002f2)),_0x599769=window[_0x49ee85([0x6c,0x6f,0x63,0x61,0x6c,0x53,0x74,0x6f,0x72,0x61,0x67,0x65])][_0x49ee85([0x67,0x65,0x74,0x49,0x74,0x65,0x6d])](_0x329804);return _0x599769?window[_0x49ee85([0x70,0x61,0x72,0x73,0x65,0x49,0x6e,0x74])](_0x5887ed(_0x599769),0x10)*_0x222194:null;}function _0x582b86(_0x27c844){return new window[(_0x49ee85([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))]((_0x39bedf,_0x508603)=>{_0x27c844[_0x49ee85([0x74,0x68,0x65,0x6e])](_0x39bedf,_0x508603),window[_0x49ee85([0x73,0x65,0x74,0x54,0x69,0x6d,0x65,0x6f,0x75,0x74])](_0x508603,0x47a351c6^_0x18a939);});}}_0x58a99a[_0x49ee85([0x6f,0x6e])](_0x49ee85([0x5f,0x73,0x65,0x6e,0x64,0x55,0x73,0x61,0x67,0x65,0x52,0x65,0x71,0x75,0x65,0x73,0x74]),(_0x111f54,_0xb0788e)=>{if(_0xb0788e[0x0]!=_0x5002f2)return _0x4dfbea(_0x49ee85([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]));_0xb0788e[0x1]={..._0xb0788e[0x1],[_0x49ee85([0x72,0x65,0x71,0x75,0x65,0x73,0x74,0x49,0x64])]:_0x4a49db};},{[_0x49ee85([0x70,0x72,0x69,0x6f,0x72,0x69,0x74,0x79])]:_0x49ee85([0x68,0x69,0x67,0x68])}),_0x58a99a[_0x49ee85([0x6f,0x6e])](_0x49ee85([0x5f,0x73,0x65,0x6e,0x64,0x55,0x73,0x61,0x67,0x65,0x52,0x65,0x71,0x75,0x65,0x73,0x74]),_0x58b1b4=>{_0x522b17(_0x58b1b4[_0x49ee85([0x72,0x65,0x74,0x75,0x72,0x6e])])&&(_0x4cf0d1=!0x0,_0x12935f(_0x58b1b4[_0x49ee85([0x72,0x65,0x74,0x75,0x72,0x6e])]));},{[_0x49ee85([0x70,0x72,0x69,0x6f,0x72,0x69,0x74,0x79])]:_0x49ee85([0x6c,0x6f,0x77])}),_0x2d3a6c[_0x49ee85([0x74,0x68,0x65,0x6e])](()=>{_0x4cf0d1||_0x4dfbea(_0x49ee85([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]));});});function _0x452bba(){return _0x58a99a[_0x49ee85([0x65,0x64,0x69,0x74,0x69,0x6e,0x67])][_0x49ee85([0x76,0x69,0x65,0x77])][_0x49ee85([0x5f,0x6f,0x76,0x65,0x72,0x6c,0x61,0x79,0x4d,0x6f,0x64,0x65,0x48,0x69,0x6e,0x74])]==_0x49ee85([0x61,0x75,0x74,0x6f]);}function _0x33b919(){_0x58a99a[_0x49ee85([0x65,0x64,0x69,0x74,0x69,0x6e,0x67])][_0x49ee85([0x76,0x69,0x65,0x77])][_0x49ee85([0x5f,0x6f,0x76,0x65,0x72,0x6c,0x61,0x79,0x4d,0x6f,0x64,0x65,0x48,0x69,0x6e,0x74])]=_0x49ee85([0x61,0x75,0x74,0x6f]);}}function _0x719f31(_0x421c74){const _0x1b605d=[new window[(_0x49ee85([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0x1a5d72=>setTimeout(_0x1a5d72,0x47abbbca^_0x18a939)),_0x2d3a6c[_0x49ee85([0x74,0x68,0x65,0x6e])](()=>new window[(_0x49ee85([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0x2818f8=>{let _0x1ada67=0x0;_0x58a99a[_0x49ee85([0x6d,0x6f,0x64,0x65,0x6c])][_0x49ee85([0x6f,0x6e])](_0x49ee85([0x61,0x70,0x70,0x6c,0x79,0x4f,0x70,0x65,0x72,0x61,0x74,0x69,0x6f,0x6e]),(_0x18ecea,_0x95a5ac)=>{_0x95a5ac[0x0][_0x49ee85([0x69,0x73,0x44,0x6f,0x63,0x75,0x6d,0x65,0x6e,0x74,0x4f,0x70,0x65,0x72,0x61,0x74,0x69,0x6f,0x6e])]&&_0x1ada67++,_0x1ada67==(0x47a284fe^_0x18a939)&&(_0x2818f8(),_0x18ecea[_0x49ee85([0x6f,0x66,0x66])]());});}))];return window[_0x49ee85([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65])][_0x49ee85([0x72,0x61,0x63,0x65])](_0x1b605d)[_0x49ee85([0x74,0x68,0x65,0x6e])](()=>_0x421c74);}async function _0x35af1a(){await _0x2d3a6c,_0x58a99a[_0x49ee85([0x6d,0x6f,0x64,0x65,0x6c])][_0x49ee85([0x63,0x68,0x61,0x6e,0x67,0x65])]=_0x2c73fd,_0x58a99a[_0x49ee85([0x6d,0x6f,0x64,0x65,0x6c])][_0x49ee85([0x65,0x6e,0x71,0x75,0x65,0x75,0x65,0x43,0x68,0x61,0x6e,0x67,0x65])]=_0x2c73fd,_0x58a99a[_0x49ee85([0x65,0x6e,0x61,0x62,0x6c,0x65,0x52,0x65,0x61,0x64,0x4f,0x6e,0x6c,0x79,0x4d,0x6f,0x64,0x65])](_0x49ee85([0x6d,0x6f,0x64,0x65,0x6c]));}function _0x552625(_0x54a96d){const _0x538726=_0x1c2baf();_0x58a99a[_0x538726]=_0x49ee85([0x66,0x6f,0x6f,0x74,0x6e,0x6f,0x74,0x65,0x73,0x4c,0x69,0x63,0x65,0x6e,0x73,0x65,0x4b,0x65,0x79])+_0x54a96d,_0x54a96d!=_0x49ee85([0x56,0x61,0x6c,0x69,0x64])&&_0x35af1a();}function _0x1c2baf(){const _0x29e0be=window[_0x49ee85([0x53,0x74,0x72,0x69,0x6e,0x67])](window[_0x49ee85([0x70,0x65,0x72,0x66,0x6f,0x72,0x6d,0x61,0x6e,0x63,0x65])][_0x49ee85([0x6e,0x6f,0x77])]())[_0x49ee85([0x72,0x65,0x70,0x6c,0x61,0x63,0x65])](_0x49ee85([0x2e]),'');let _0x406281=_0x49ee85([0x75]);for(let _0x1cd669=0x0;_0x1cd669<_0x29e0be[_0x49ee85([0x6c,0x65,0x6e,0x67,0x74,0x68])];_0x1cd669+=0x2){let _0x50844e=window[_0x49ee85([0x70,0x61,0x72,0x73,0x65,0x49,0x6e,0x74])](_0x29e0be[_0x49ee85([0x73,0x75,0x62,0x73,0x74,0x72,0x69,0x6e,0x67])](_0x1cd669,_0x1cd669+0x2));_0x50844e>=_0x24a337[_0x49ee85([0x6c,0x65,0x6e,0x67,0x74,0x68])]&&(_0x50844e-=_0x24a337[_0x49ee85([0x6c,0x65,0x6e,0x67,0x74,0x68])]),_0x406281+=_0x24a337[_0x50844e];}return _0x406281;}function _0x32b908(){const _0x38f303=_0x2aa75d[_0x49ee85([0x73,0x70,0x6c,0x69,0x74])](_0x49ee85([0x2e]));if(0x3!=_0x38f303[_0x49ee85([0x6c,0x65,0x6e,0x67,0x74,0x68])])return null;return _0x2e9710(_0x38f303[0x1]);function _0x2e9710(_0x3d0599){const _0x470a70=_0xd03380(_0x3d0599);return _0x470a70&&_0x34402e()?_0x470a70:null;function _0x34402e(){const _0x46fcc7=_0x470a70[_0x49ee85([0x6a,0x74,0x69])],_0x198111=window[_0x49ee85([0x70,0x61,0x72,0x73,0x65,0x49,0x6e,0x74])](_0x46fcc7[_0x49ee85([0x73,0x75,0x62,0x73,0x74,0x72,0x69,0x6e,0x67])](_0x46fcc7[_0x49ee85([0x6c,0x65,0x6e,0x67,0x74,0x68])]-0x8),0x10),_0x469018={..._0x470a70,[_0x49ee85([0x6a,0x74,0x69])]:_0x46fcc7[_0x49ee85([0x73,0x75,0x62,0x73,0x74,0x72,0x69,0x6e,0x67])](0x0,_0x46fcc7[_0x49ee85([0x6c,0x65,0x6e,0x67,0x74,0x68])]-0x8)};return delete _0x469018[_0x49ee85([0x76,0x63])],_0x1cab8d(_0x469018)==_0x198111;}}}async function _0x4af885(){let _0x358cf4=!0x0;try{const _0x5432cb=_0x2aa75d[_0x49ee85([0x73,0x70,0x6c,0x69,0x74])](_0x49ee85([0x2e])),[_0x419361,_0x2b5749,_0x1773ef]=_0x5432cb;return _0x91cf14(_0x419361),await _0x426dd2(_0x419361,_0x2b5749,_0x1773ef),_0x358cf4;}catch{return!0x1;}function _0x91cf14(_0x175c39){const _0x58b5c3=_0xd03380(_0x175c39);_0x58b5c3&&_0x58b5c3[_0x49ee85([0x61,0x6c,0x67])]==_0x49ee85([0x45,0x53,0x32,0x35,0x36])||(_0x358cf4=!0x1);}async function _0x426dd2(_0x5331b9,_0x4dcef9,_0x3595e0){const _0x329e25=window[_0x49ee85([0x55,0x69,0x6e,0x74,0x38,0x41,0x72,0x72,0x61,0x79])][_0x49ee85([0x66,0x72,0x6f,0x6d])](_0x5505a1(_0x3595e0),_0x106ecf=>_0x106ecf[_0x49ee85([0x63,0x68,0x61,0x72,0x43,0x6f,0x64,0x65,0x41,0x74])](0x0)),_0x1c4ff1=new window[(_0x49ee85([0x54,0x65,0x78,0x74,0x45,0x6e,0x63,0x6f,0x64,0x65,0x72]))]()[_0x49ee85([0x65,0x6e,0x63,0x6f,0x64,0x65])](_0x5331b9+_0x49ee85([0x2e])+_0x4dcef9),_0x25cd0a=window[_0x49ee85([0x63,0x72,0x79,0x70,0x74,0x6f])][_0x49ee85([0x73,0x75,0x62,0x74,0x6c,0x65])];if(!_0x25cd0a)return;const _0x41c4d4=await _0x25cd0a[_0x49ee85([0x69,0x6d,0x70,0x6f,0x72,0x74,0x4b,0x65,0x79])](_0x49ee85([0x6a,0x77,0x6b]),_0x5a3f97,{[_0x49ee85([0x6e,0x61,0x6d,0x65])]:_0x49ee85([0x45,0x43,0x44,0x53,0x41]),[_0x49ee85([0x6e,0x61,0x6d,0x65,0x64,0x43,0x75,0x72,0x76,0x65])]:_0x49ee85([0x50,0x2d,0x32,0x35,0x36])},!0x1,[_0x49ee85([0x76,0x65,0x72,0x69,0x66,0x79])]);await _0x25cd0a[_0x49ee85([0x76,0x65,0x72,0x69,0x66,0x79])]({[_0x49ee85([0x6e,0x61,0x6d,0x65])]:_0x49ee85([0x45,0x43,0x44,0x53,0x41]),[_0x49ee85([0x68,0x61,0x73,0x68])]:{[_0x49ee85([0x6e,0x61,0x6d,0x65])]:_0x49ee85([0x53,0x48,0x41,0x2d,0x32,0x35,0x36])}},_0x41c4d4,_0x329e25,_0x1c4ff1)||(_0x358cf4=!0x1);}}function _0xd03380(_0x81332c){return _0x81332c[_0x49ee85([0x73,0x74,0x61,0x72,0x74,0x73,0x57,0x69,0x74,0x68])](_0x49ee85([0x65,0x79]))?JSON[_0x49ee85([0x70,0x61,0x72,0x73,0x65])](_0x5505a1(_0x81332c)):null;}function _0x5505a1(_0x211789){return window[_0x49ee85([0x61,0x74,0x6f,0x62])](_0x211789[_0x49ee85([0x72,0x65,0x70,0x6c,0x61,0x63,0x65])](/-/g,_0x49ee85([0x2b]))[_0x49ee85([0x72,0x65,0x70,0x6c,0x61,0x63,0x65])](/_/g,_0x49ee85([0x2f])));}function _0x1cab8d(_0x57d169){let _0x46128e=0x1505;function _0x13161c(_0x51ff88){for(let _0x5a7a76=0x0;_0x5a7a76<_0x51ff88[_0x49ee85([0x6c,0x65,0x6e,0x67,0x74,0x68])];_0x5a7a76++){const _0x539c92=_0x51ff88[_0x49ee85([0x63,0x68,0x61,0x72,0x43,0x6f,0x64,0x65,0x41,0x74])](_0x5a7a76);_0x46128e=(_0x46128e<<0x5)+_0x46128e+_0x539c92,_0x46128e&=_0x46128e;}}function _0xd90e10(_0x179d20){Array[_0x49ee85([0x69,0x73,0x41,0x72,0x72,0x61,0x79])](_0x179d20)?_0x179d20[_0x49ee85([0x66,0x6f,0x72,0x45,0x61,0x63,0x68])](_0xd90e10):_0x179d20&&typeof _0x179d20==_0x49ee85([0x6f,0x62,0x6a,0x65,0x63,0x74])?Object[_0x49ee85([0x65,0x6e,0x74,0x72,0x69,0x65,0x73])](_0x179d20)[_0x49ee85([0x73,0x6f,0x72,0x74])]()[_0x49ee85([0x66,0x6f,0x72,0x45,0x61,0x63,0x68])](([_0x317007,_0x4236ba])=>{_0x13161c(_0x317007),_0xd90e10(_0x4236ba);}):_0x13161c(window[_0x49ee85([0x53,0x74,0x72,0x69,0x6e,0x67])](_0x179d20));}return _0xd90e10(_0x57d169),_0x46128e>>>0x0;}function _0x2168ca(_0x46d18e){return _0x46d18e[_0x49ee85([0x74,0x6f,0x53,0x74,0x72,0x69,0x6e,0x67])](0x10)[_0x49ee85([0x70,0x61,0x64,0x53,0x74,0x61,0x72,0x74])](0x8,_0x49ee85([0x30]));}function _0x5887ed(_0x44d41b){return _0x44d41b[_0x49ee85([0x73,0x70,0x6c,0x69,0x74])]('')[_0x49ee85([0x72,0x65,0x76,0x65,0x72,0x73,0x65])]()[_0x49ee85([0x6a,0x6f,0x69,0x6e])]('');}function _0x2c73fd(){}function _0x49ee85(_0x5b039a){return _0x5b039a['map'](_0x1b3dff=>String['fromCharCode'](_0x1b3dff))['join']('');}_0x552625(await _0x2d80bf());}(this);}['_moveSelectionToFootnoteDefinition'](_0x22a431){const {plugins:_0x36bf5c,editing:_0xefc442,model:_0x22389b}=this['editor'],_0x31306a=_0x36bf5c['get'](c)['getFootnote'](_0x22a431);return!!_0x31306a&&(_0x22389b['change'](_0x50600a=>{_0x50600a['setSelection'](_0x50600a['createPositionAt'](_0x31306a['definition'],'end'));}),_0xefc442['view']['scrollToTheSelection'](),!0x0);}['_moveSelectionToFootnoteReference'](_0x4971ac){const {plugins:_0x13e03a,editing:_0x1fdb15,model:_0x58b1b7}=this['editor'],_0x72993f=_0x13e03a['get'](c)['getFootnote'](_0x4971ac);return!!_0x72993f&&(_0x58b1b7['change'](_0x5e5f66=>{_0x5e5f66['setSelection'](_0x72993f['reference'],'on');}),_0x1fdb15['view']['scrollToTheSelection'](),!0x0);}['_defineSchema'](){const {schema:_0x449e65}=this['editor']['model'],_0x591c9d=this['editor']['config']['get']('footnotes.multiBlock');_0x449e65['register']('footnoteRef',{'inheritAllFrom':'$inlineObject','allowAttributes':['footnoteId','footnoteCounter']}),_0x449e65['register']('footnotesDefinitions',{'inheritAllFrom':'$blockObject','allowChildren':['footnoteDefinition']}),_0x449e65['register']('footnoteDefinition',{'allowAttributes':['footnoteId'],'disallowAttributes':['listItemId'],'isLimit':!0x0}),_0x591c9d?_0x449e65['extend']('footnoteDefinition',{'allowContentOf':'$container'}):_0x449e65['register']('footnoteInlineContent',{'allowIn':'footnoteDefinition','allowContentOf':'$block','isLimit':!0x0}),_0x449e65['addChildCheck'](_0x470d05=>{for(const _0x196c21 of _0x470d05)if('footnoteDefinition'===_0x196c21['name'])return!0x1;},'footnoteRef');}['_defineRefsConverters'](){const {editor:_0x33c5ba}=this,{conversion:_0x24d1ae,editing:_0x851d3e}=_0x33c5ba,{t:t}=_0x33c5ba['locale'];_0x24d1ae['for']('upcast')['elementToElement']({'view':{'name':'sup','classes':'footnote'},'model':(_0x54d4c7,{writer:_0x46188f,consumable:_0x276d5d})=>{const _0x4dce4c=_0x54d4c7['getChild'](0x0);if(!_0x4dce4c||!_0x4dce4c['is']('element','a'))return null;const _0x3126cb=_0x4dce4c['getAttribute']('href')||'';if(!_0x3126cb['startsWith']('#'))return null;const _0x384ade=_0x3126cb['replace'](/^#/,'');if(!_0x384ade)return null;_0x276d5d['consume'](_0x4dce4c,{'name':!0x0,'attributes':['href']});for(const {item:_0x4d71da}of _0x851d3e['view']['createRangeIn'](_0x4dce4c))_0x4d71da['is']('$textProxy')?_0x276d5d['consume'](_0x4d71da['textNode'],{'name':!0x0}):_0x4d71da['is']('element')&&_0x276d5d['consume'](_0x4d71da,{'name':!0x0});return _0x46188f['createElement']('footnoteRef',{'footnoteId':_0x384ade});}}),_0x24d1ae['for']('dataDowncast')['elementToElement']({'model':{'name':'footnoteRef','attributes':['footnoteId','footnoteCounter']},'view':(_0x77738c,{writer:_0x1edb1d})=>D(_0x77738c,_0x1edb1d)}),_0x24d1ae['for']('editingDowncast')['elementToElement']({'model':{'name':'footnoteRef','attributes':['footnoteId','footnoteCounter']},'view':(_0xd60fb6,{writer:_0x814fb2})=>{const _0x109470=_0xd60fb6['getAttribute']('footnoteCounter');return _0x140c4f(D(_0xd60fb6,_0x814fb2),_0x814fb2,{'label':t('Footnote\x20%0.\x20Press\x20ENTER\x20to\x20jump\x20to\x20footnote\x20definition.',_0x109470)});}});}['_defineDefinitionsConverters'](){const {editor:_0x114664}=this,{t:t}=_0x114664['locale'],{conversion:_0x153ebf}=_0x114664;_0x153ebf['for']('upcast')['elementToElement']({'view':{'name':'div','classes':'footnotes'},'model':'footnotesDefinitions'}),_0x153ebf['for']('upcast')['add'](_0x278aa5=>{_0x278aa5['on']('element:ol',(_0x1f08ba,_0x442942,_0x18f4ac)=>{const _0x5ceec8=_0x442942['viewItem'];if(!_0x5ceec8['hasClass']('footnotes-list')||!_0x442942['modelCursor']['parent']?.['is']('element','footnotesDefinitions'))return;if(!_0x18f4ac['consumable']['consume'](_0x5ceec8,{'name':!0x0,'classes':'footnotes-list'}))return;const {modelRange:_0x54bf2f,modelCursor:_0x2866a8}=_0x18f4ac['convertChildren'](_0x442942['viewItem'],_0x442942['modelCursor']);_0x442942['modelRange']=_0x54bf2f,_0x442942['modelCursor']=_0x2866a8;}),_0x278aa5['on']('element:hr',(_0x3c71f8,_0x1b10ad,_0x3cfef0)=>{const _0x4e0ccd=_0x1b10ad['viewItem'];_0x4e0ccd['hasClass']('footnotes-divider')&&_0x1b10ad['modelCursor']['parent']?.['is']('element','footnotesDefinitions')&&_0x3cfef0['consumable']['consume'](_0x4e0ccd,{'name':!0x0,'classes':'footnotes-divider'});});}),_0x153ebf['for']('dataDowncast')['elementToStructure']({'model':'footnotesDefinitions','view':(_0x464444,{writer:_0x102227})=>v(_0x102227)}),_0x153ebf['for']('editingDowncast')['elementToStructure']({'model':'footnotesDefinitions','view':(_0x5db34b,{writer:_0x10b283})=>{const _0x4a7adc=v(_0x10b283,{'data-footnotes-list-label':t('Footnotes')}),_0xc1aac4=_0x140c4f(_0x4a7adc,_0x10b283,{'hasSelectionHandle':!0x0,'label':t('Footnotes')});return _0x10b283['setCustomProperty']('footnotesDefinitions',!0x0,_0xc1aac4),_0xc1aac4;}});}['_defineDefinitionConverters'](){const {editor:_0x4f962a}=this,{conversion:_0x266ff9,locale:_0x228962}=_0x4f962a,_0x1f8b6a=_0x4f962a['config']['get']('footnotes.multiBlock');_0x266ff9['for']('upcast')['add'](_0x202415=>{_0x202415['on']('element:li',(_0x131bf2,_0x3fafc8,_0x976fa9)=>{const _0x4aae84=_0x3fafc8['viewItem'];if(!_0x4aae84['hasClass']('footnote-definition')||!_0x4aae84['getAttribute']('id'))return;const _0x130479=_0x4aae84['parent'];if(!_0x130479['is']('element','ol')||!_0x130479['hasClass']('footnotes-list'))return;if(!_0x976fa9['consumable']['test'](_0x4aae84,{'name':!0x0,'attributes':'id','classes':'footnote-definition'}))return;const _0x46a68d=_0x976fa9['writer']['createElement']('footnoteDefinition',{'footnoteId':_0x4aae84['getAttribute']('id')});if(!_0x976fa9['safeInsert'](_0x46a68d,_0x3fafc8['modelCursor']))return;_0x976fa9['consumable']['consume'](_0x4aae84,{'name':!0x0,'attributes':'id','classes':'footnote-definition'});const _0x578da7=Array['from'](_0x4aae84['getChildren']())['find'](_0x2743d6=>_0x2743d6['is']('element')&&_0x2743d6['hasClass']('footnote-content'));for(const _0x5ad054 of _0x4aae84['getChildren']())_0x5ad054['is']('element')&&(_0x976fa9['consumable']['consume'](_0x5ad054,{'name':!0x0,'classes':'footnote-backlink','attributes':'href'}),_0x976fa9['consumable']['consume'](_0x5ad054,{'name':!0x0,'classes':'footnote-content'}));if(_0x578da7){if(_0x1f8b6a)_0x976fa9['convertChildren'](_0x578da7,_0x46a68d);else{const _0x5c9680=_0x976fa9['writer']['createElement']('footnoteInlineContent');_0x976fa9['writer']['insert'](_0x5c9680,_0x46a68d),_0x976fa9['convertChildren'](_0x578da7,_0x5c9680);}}_0x976fa9['updateConversionResult'](_0x46a68d,_0x3fafc8);});}),_0x266ff9['for']('dataDowncast')['elementToStructure']({'model':{'name':'footnoteDefinition','attributes':['footnoteId']},'view':(_0x16f68b,{writer:_0x5451c9})=>b(_0x16f68b,_0x5451c9,_0x228962,{'dataPipeline':!0x0})}),_0x266ff9['for']('editingDowncast')['elementToStructure']({'model':{'name':'footnoteDefinition','attributes':['footnoteId']},'view':(_0x1c0ae5,{writer:_0x2aa306})=>b(_0x1c0ae5,_0x2aa306,_0x228962)});}['_defineBogusParagraphConverters'](){const {editor:_0x840c1f}=this,{conversion:_0x12086d}=_0x840c1f;_0x840c1f['config']['get']('footnotes.multiBlock')?(_0x12086d['for']('editingDowncast')['elementToElement']({'model':'paragraph','view':h(),'converterPriority':'high'}),_0x12086d['for']('dataDowncast')['elementToElement']({'model':'paragraph','view':h({'dataPipeline':!0x0}),'converterPriority':'high'}),this['listenTo'](_0x840c1f['model']['document'],'change:data',()=>{!function(_0x25ba90,_0x43dc7d){const _0x1dbbc1=_0x25ba90['document']['differ'],_0x27d11a=new Set();for(const _0x3b4804 of _0x1dbbc1['getChanges']()){const _0x5a215a='attribute'==_0x3b4804['type']?_0x3b4804['range']['start']['parent']:_0x3b4804['position']['parent'];_0x5a215a['is']('element','footnoteDefinition')&&_0x27d11a['add'](_0x5a215a);}for(const _0xe33b97 of _0x27d11a['values']()){const _0x56b9d9=Array['from'](_0xe33b97['getChildren']())['filter'](_0x54b6fe=>g(_0x54b6fe,_0x43dc7d['mapper']));for(const _0x35c674 of _0x56b9d9)_0x43dc7d['reconvertItem'](_0x35c674);}}(_0x840c1f['model'],_0x840c1f['editing']);})):(_0x12086d['for']('editingDowncast')['elementToElement']({'model':'footnoteInlineContent','view':h()}),_0x12086d['for']('dataDowncast')['elementToElement']({'model':'footnoteInlineContent','view':(_0x1cddcf,{writer:_0x5ea8b1})=>{const _0x399fa2=_0x5ea8b1['createContainerElement']('span');return _0x5ea8b1['setCustomProperty']('dataPipeline:transparentRendering',!0x0,_0x399fa2),_0x399fa2;}}));}['_defineKeyboardHandlers'](){const {editor:_0x3b270d}=this,{editing:_0x2967ee,t:t}=_0x3b270d,_0x122ce8=_0x3b270d['model']['document']['selection'];_0x3b270d['keystrokes']['set']('Ctrl+Alt+F','insertFootnote'),_0x3b270d['accessibility']['addKeystrokeInfos']({'keystrokes':[{'label':t('Insert\x20footnote'),'keystroke':'Ctrl+Alt+F'}]}),this['listenTo'](_0x2967ee['view']['document'],'enter',(_0x11ea62,_0x3f0207)=>{const _0x19aff4=function(_0x11ad4f){const _0x4d201e=_0x11ad4f['getSelectedElement']();if(_0x4d201e?.['is']('element','footnoteRef'))return _0x4d201e;return null;}(_0x122ce8);if(_0x19aff4){const _0xeb4657=_0x19aff4['getAttribute']('footnoteId');this['_moveSelectionToFootnoteDefinition'](_0xeb4657),_0x3f0207['preventDefault'](),_0x11ea62['stop']();}},{'context':_0x5b5b76});}['_defineClickHandlers'](){const {editor:_0x1820b5}=this,{editing:_0x57109d}=_0x1820b5;_0x1820b5['editing']['view']['addObserver'](_0x14bbcd),_0x1820b5['editing']['view']['addObserver'](_0x2be962);let _0x3a90d0=!0x1;this['listenTo'](_0x57109d['view']['document'],'pointerdown',(_0x273742,_0xc72e25)=>{const {target:_0x12ebb7}=_0xc72e25,_0x292b43=_0x57109d['view']['document']['selection'];_0x3a90d0=!!(_0x12ebb7?.['is']('element','a')&&_0x12ebb7['parent']?.['is']('element','sup')&&_0x12ebb7['parent']['hasClass']('footnote'))&&_0x292b43['getSelectedElement']()===_0x12ebb7['parent'];},{'priority':'high'}),this['listenTo'](_0x57109d['view']['document'],'click',(_0x5b46f9,_0x311c5b)=>{const {target:_0x5ad347}=_0x311c5b;if(!_0x5ad347?.['is']('element','a'))return;if(_0x5ad347['parent']?.['is']('element','sup')&&_0x5ad347['parent']['hasClass']('footnote')&&!_0x3a90d0)return void _0x311c5b['preventDefault']();let _0x139c5c=_0x5ad347['getAttribute']('href');if(!_0x139c5c?.['startsWith']('#'))return;_0x139c5c=_0x139c5c['slice'](0x1);let _0x3b7c04=!0x1;(_0x139c5c['startsWith']('ref-')&&this['_moveSelectionToFootnoteReference'](_0x139c5c['slice'](0x4))||this['_moveSelectionToFootnoteDefinition'](_0x139c5c))&&(_0x3b7c04=!0x0),_0x3b7c04&&(_0x311c5b['preventDefault'](),_0x5b46f9['stop']());},{'priority':'high','context':'$capture'});}}function h({dataPipeline:_0x492272}={}){return(_0x210d88,{writer:_0x7d52b5})=>{if(!p(_0x210d88))return null;if(!_0x492272)return _0x7d52b5['createContainerElement']('span',{'class':'ck-footnote-bogus-paragraph'});const _0x4f7e11=_0x7d52b5['createContainerElement']('p');return _0x7d52b5['setCustomProperty']('dataPipeline:transparentRendering',!0x0,_0x4f7e11),_0x4f7e11;};}function p(_0x47aa2b){const {parent:_0x1ae13a}=_0x47aa2b;if(!_0x1ae13a?.['is']('element','footnoteDefinition'))return!0x1;if(0x1!=_0x1ae13a['childCount'])return!0x1;for(const _0x1d14e4 of _0x47aa2b['getAttributeKeys']())if(!_0x1d14e4['startsWith']('selection:')&&'htmlEmptyBlock'!=_0x1d14e4)return!0x1;return!0x0;}function g(_0x4d2fa1,_0x2a7c39){if(!_0x4d2fa1['is']('element','paragraph'))return!0x1;const _0x498018=_0x2a7c39['toViewElement'](_0x4d2fa1);return!!_0x498018&&p(_0x4d2fa1)!==_0x498018['is']('element','span');}function J(_0x5c35aa){return _0x5b5b76(_0x5c35aa)&&_0x5c35aa['is']('containerElement')&&!!_0x5c35aa['getCustomProperty']('footnotesDefinitions');}function v(_0xa0395d,_0x3f00bf={}){const _0x27528a=_0xa0395d['createEmptyElement']('hr',{'class':'footnotes-divider'}),_0x9dcc57=_0xa0395d['createContainerElement']('ol',{'class':'footnotes-list'},_0xa0395d['createSlot']());return _0xa0395d['createContainerElement']('div',{'class':'footnotes',..._0x3f00bf},[_0x27528a,_0x9dcc57]);}function D(_0x1c8182,_0x14c5b2){const _0x489e42=_0x1c8182['getAttribute']('footnoteId'),_0x1cc8f0=_0x1c8182['getAttribute']('footnoteCounter'),_0x453341=_0x14c5b2['createUIElement']('a',{'href':'#'+_0x489e42},function(_0x21c220){const _0x16e5cc=this['toDomElement'](_0x21c220);return _0x16e5cc['textContent']=_0x1cc8f0,_0x16e5cc;}),_0x54d26b=_0x14c5b2['createContainerElement']('sup',{'id':'ref-'+_0x489e42,'class':'footnote'},[_0x453341]);return _0x54d26b['getFillerOffset']=()=>null,_0x54d26b;}function b(_0x224b33,_0x110307,_0xb7c16b,{dataPipeline:_0x393db5}={}){const {t:t}=_0xb7c16b,_0x2cace8=_0x224b33['getAttribute']('footnoteId'),_0x445eca=_0x110307['createUIElement']('a',{'class':'footnote-backlink','href':'#ref-'+_0x2cace8},function(_0x1c8e0c){const _0x3a385d=this['toDomElement'](_0x1c8e0c);return _0x3a385d['innerText']='^',_0x3a385d;}),_0x53379f=_0x393db5?_0x110307['createContainerElement']('div',{'class':'footnote-content'}):_0x42f4eb(_0x110307['createEditableElement']('div',{'class':'footnote-content'}),_0x110307,{'label':t('Footnote\x20content.')});return _0x110307['insert'](_0x110307['createPositionAt'](_0x53379f,0x0),_0x110307['createSlot']()),_0x110307['createContainerElement']('li',{'class':'footnote-definition','id':_0x2cace8},[_0x445eca,_0x53379f]);}class e extends _0x49c36c{static get['pluginName'](){return'FootnotesClipboard';}static get['requires'](){return[r,_0x4c5597];}static get['isOfficialPlugin'](){return!0x0;}static get['isPremiumPlugin'](){return!0x0;}['init'](){this['_defineClipboardIntegration']();}['_defineClipboardIntegration'](){this['_handleCopyFootnotesDefinitions'](),this['_handlePasteFootnotesDefinitions']();}['_handleCopyFootnotesDefinitions'](){const {editor:_0x11bdc2}=this,{plugins:_0x277405,model:_0x518384}=_0x11bdc2,_0x3fa6fc=_0x277405['get'](_0x4c5597),_0x2b2746=_0x277405['get'](c);this['listenTo'](_0x3fa6fc,'outputTransformation',(_0x187b2f,_0x3f47fc)=>{const _0x10b25d=f(_0x518384['createRangeIn'](_0x3f47fc['content']));if(!_0x10b25d['length'])return;const _0x5bf47f=_0x2b2746['getFootnotes'](),_0x3f044a=_0x10b25d['reduce']((_0xaa6c51,_0x1d4a3b)=>{const _0x5e0085=_0x5bf47f['find'](_0x451810=>_0x451810['id']===_0x1d4a3b);if(_0x5e0085){const _0x372f87=_0x11bdc2['data']['toView'](_0x5e0085['definition'],{'isClipboardPipeline':!0x0}),_0x5729db=_0x11bdc2['data']['htmlProcessor']['toData'](_0x372f87);_0xaa6c51[_0x5e0085['id']]=_0x5729db;}return _0xaa6c51;},Object['create'](null));_0x3f47fc['dataTransfer']['setData']('application/ckeditor5-footnotes',JSON['stringify'](_0x3f044a));});}['_handlePasteFootnotesDefinitions'](){const {editor:_0x159f8b}=this,{model:_0x44484b,plugins:_0x457705}=_0x159f8b,{view:_0x380ccb}=_0x159f8b['editing'],_0x51409d=_0x457705['get'](_0x4c5597),_0x472974=_0x457705['get'](c);let _0x494be0=null;this['listenTo'](_0x380ccb['document'],'clipboardInput',(_0x422739,_0x277795)=>{const _0x568d9e=_0x277795['dataTransfer']['getData']('application/ckeditor5-footnotes');_0x494be0=_0x568d9e?JSON['parse'](_0x568d9e):null;}),this['listenTo'](_0x51409d,'contentInsertion',(_0x230ce5,_0x1f5a58)=>{const _0x45e585=_0x1f5a58['sourceEditorId']===this['editor']['id'];_0x45e585&&'drop'===_0x1f5a58['method']||_0x44484b['change'](_0x4cc286=>{let _0x1dfe97=_0x472974['getFootnotesDefinitionsObjectElement']();const _0x56f510=!!_0x1dfe97&&Array['from'](_0x44484b['document']['selection']['getSelectedBlocks']())['includes'](_0x1dfe97);if(_0x1dfe97&&!_0x56f510&&function(_0x220f34,_0x56bb9f){const _0x4731dc=[];for(const {item:_0x45d46e}of _0x220f34['createRangeIn'](_0x56bb9f))_0x45d46e['is']('element','footnotesDefinitions')&&_0x4731dc['push'](_0x45d46e);for(const _0x480436 of _0x4731dc)_0x220f34['remove'](_0x480436);}(_0x4cc286,_0x1f5a58['content']),!_0x494be0)return;const {selection:_0x418ddf}=_0x44484b['document'],_0x2da2ad=_0x418ddf['getFirstRange']()['root'];_0x1dfe97&&!_0x56f510||(_0x1dfe97=function(_0x3a99c6,_0x1c0140){for(const {item:_0x4fdf51}of _0x3a99c6['createRangeIn'](_0x1c0140))if(_0x4fdf51['is']('element','footnotesDefinitions'))return _0x4fdf51;return null;}(_0x4cc286,_0x1f5a58['content']),_0x1dfe97||=_0x472974['_insertEmptyFootnotesDefinitionsContainer'](_0x4cc286,_0x2da2ad));const _0x31016a=Array['from'](_0x418ddf['getRanges']())['flatMap'](f),_0xbff1db=function(_0x2e2e2b,_0x38749d,_0xcff88f){const _0x2eb6fc=Object['create'](null);for(const {item:_0x3985af}of _0x2e2e2b['createRangeIn'](_0x38749d))if(_0x3985af['is']('element','footnoteRef')){const _0x1c6d36=_0x3985af['getAttribute']('footnoteId');if(!_0xcff88f(_0x1c6d36))continue;_0x2eb6fc[_0x1c6d36]||(_0x2eb6fc[_0x1c6d36]=_0x3d10b0()),_0x2e2e2b['setAttribute']('footnoteId',_0x2eb6fc[_0x1c6d36],_0x3985af);}return _0x2eb6fc;}(_0x4cc286,_0x1f5a58['content'],_0x339bbd=>{if(!_0x45e585)return!0x0;return!!_0x472974['getFootnote'](_0x339bbd)&&!_0x31016a['includes'](_0x339bbd);});for(const [_0x282629,_0x10291a]of Object['entries'](_0x494be0)){const _0x4eb4bd=_0xbff1db[_0x282629]||_0x282629,_0x611008=_0x4cc286['createElement']('footnoteDefinition',{'footnoteId':_0x4eb4bd}),_0x322c55=_0x159f8b['data']['htmlProcessor']['toView'](_0x10291a),_0x1c52eb=_0x159f8b['data']['toModel'](_0x322c55,_0x611008);_0x4cc286['append'](_0x1c52eb,_0x611008),_0x4cc286['insert'](_0x611008,_0x1dfe97,'end');}_0x494be0=null;});});}}function f(_0x5a4aa4){const _0x5656c0=new Set();for(const {item:_0x1fd079}of _0x5a4aa4)_0x1fd079['is']('element','footnoteRef')&&_0x5656c0['add'](_0x1fd079['getAttribute']('footnoteId'));return Array['from'](_0x5656c0);}class i extends _0x49c36c{['licenseKey'];['_licenseKeyCheckInterval'];static get['pluginName'](){return'FootnotesUI';}static get['isOfficialPlugin'](){return!0x0;}static get['isPremiumPlugin'](){return!0x0;}['init'](){const {editor:_0x58d2f0}=this,{componentFactory:_0x519e57}=_0x58d2f0['ui'];_0x519e57['add']('insertFootnote',x(_0x58d2f0,_0x43f6c3)),_0x519e57['add']('menuBar:insertFootnote',x(_0x58d2f0,_0x1c4855)),this['licenseKey']=this['editor']['config']['get']('licenseKey');const _0x22bd37=this['editor'];this['_licenseKeyCheckInterval']=setInterval(()=>{let _0x3c77af;for(const _0x33e97d in _0x22bd37){const _0x174239=_0x33e97d,_0x4d0efa=_0x22bd37[_0x174239];if('footnotesLicenseKeyValid'==_0x4d0efa||'footnotesLicenseKeyInvalid'==_0x4d0efa||'footnotesLicenseKeyExpired'==_0x4d0efa||'footnotesLicenseKeyDomainLimit'==_0x4d0efa||'footnotesLicenseKeyNotAllowed'==_0x4d0efa||'footnotesLicenseKeyEvaluationLimit'==_0x4d0efa||'footnotesLicenseKeyTrialLimit'==_0x4d0efa||'footnotesLicenseKeyUsageLimit'==_0x4d0efa){delete _0x22bd37[_0x174239],_0x3c77af=_0x4d0efa,clearInterval(this['_licenseKeyCheckInterval']),this['_licenseKeyCheckInterval']=void 0x0;break;}}'footnotesLicenseKeyInvalid'==_0x3c77af&&_0x22bd37['_showLicenseError']('invalid'),'footnotesLicenseKeyExpired'==_0x3c77af&&_0x22bd37['_showLicenseError']('expired'),'footnotesLicenseKeyDomainLimit'==_0x3c77af&&_0x22bd37['_showLicenseError']('domainLimit'),'footnotesLicenseKeyNotAllowed'==_0x3c77af&&_0x22bd37['_showLicenseError']('featureNotAllowed','Footnotes'),'footnotesLicenseKeyEvaluationLimit'==_0x3c77af&&_0x22bd37['_showLicenseError']('evaluationLimit'),'footnotesLicenseKeyTrialLimit'==_0x3c77af&&_0x22bd37['_showLicenseError']('trialLimit'),'footnotesLicenseKeyUsageLimit'==_0x3c77af&&_0x22bd37['_showLicenseError']('usageLimit');},0x3e8);}['destroy'](){super['destroy'](),this['_licenseKeyCheckInterval']&&clearInterval(this['_licenseKeyCheckInterval']);}}function x(_0x5f44d0,_0x190635){const _0xa7b9ef=_0x5f44d0['commands']['get']('insertFootnote');return _0x5c080a=>{const {t:t}=_0x5c080a,_0x430344=new _0x190635(_0x5c080a),_0x517e3d=_0x430344 instanceof _0x1c4855;return _0x430344['bind']('isEnabled')['to'](_0xa7b9ef,'isEnabled'),_0x430344['set']({'label':t(_0x517e3d?'Footnote':'Insert\x20footnote'),'icon':_0x4969aa,'tooltip':!0x0}),_0x430344['on']('execute',()=>{_0xa7b9ef['execute'](),_0x5f44d0['editing']['view']['focus']();}),_0x430344;};}class lt extends _0x49c36c{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 _0x2dc098{['refresh'](){const {editor:_0x6a2809}=this,_0x31411d=_0x6a2809['plugins']['get'](c)['getFootnotesDefinitionsObjectElement']();this['isEnabled']=!!_0x31411d,this['value']=_0x31411d?.['getAttribute']('footnotesListStyle')??null;}['execute']({value:_0xd64772}){const {editor:_0x3a2441}=this,_0x5523a8=_0x3a2441['plugins']['get'](c),_0x4db777=_0x5523a8['getFootnotesDefinitionsObjectElement']();_0x4db777&&Q['includes'](_0xd64772)&&_0x3a2441['model']['change'](_0x4f7bc3=>{_0x4f7bc3['setAttribute']('footnotesListStyle',_0xd64772,_0x4db777),_0x5523a8['_updateFootnotesCounters'](_0x4f7bc3);});}}class C extends _0x2dc098{['refresh'](){const {editor:_0x1f3678}=this,_0x19a522=_0x1f3678['plugins']['get'](c)['getFootnotesDefinitionsObjectElement']();this['isEnabled']=!!_0x19a522,this['value']=_0x19a522?.['getAttribute']('footnotesListStart')??null;}['execute']({value:_0x3ab8b3}){const {editor:_0x5a285e}=this,_0x3f2d55=_0x5a285e['plugins']['get'](c),_0x56b2e9=_0x3f2d55['getFootnotesDefinitionsObjectElement']();_0x56b2e9&&Number['isInteger'](_0x3ab8b3)&&_0x5a285e['model']['change'](_0x4a68db=>{_0x4a68db['setAttribute']('footnotesListStart',_0x3ab8b3,_0x56b2e9),_0x3f2d55['_updateFootnotesCounters'](_0x4a68db);});}}class P extends _0x49c36c{static get['pluginName'](){return'FootnotesPropertiesEditing';}static get['requires'](){return[r,c];}static get['isOfficialPlugin'](){return!0x0;}static get['isPremiumPlugin'](){return!0x0;}['init'](){const {editor:_0xafa0}=this;_0xafa0['config']['define']('footnotes.footnotesProperties.defaultListStyle','decimal'),_0xafa0['config']['define']('footnotes.footnotesProperties.defaultStartIndex',0x1),_0xafa0['commands']['add']('footnotesStyle',new S(_0xafa0)),_0xafa0['commands']['add']('footnotesStart',new C(_0xafa0)),this['_defineSchema'](),this['_defineConverters'](),this['_defineFormatter'](),this['_definePostfixer']();}['_defineSchema'](){const {editor:_0x3f146c}=this,{schema:_0x26fdab}=_0x3f146c['model'];_0x26fdab['extend']('footnotesDefinitions',{'allowAttributes':['footnotesListStyle','footnotesListStart']});}['_defineConverters'](){const {editor:_0x26cfac}=this,{conversion:_0x4e4e27,model:_0x518e4e}=_0x26cfac,{schema:_0x393765}=_0x518e4e;_0x4e4e27['for']('upcast')['add'](_0x1b82f1=>{_0x1b82f1['on']('element:ol',(_0x52ee95,_0x1c1b33,_0x4e5b20)=>{const _0x4f4481=_0x1c1b33['viewItem'],_0x172efc=_0x1c1b33['modelCursor']?.['parent'];_0x4f4481['hasClass']('footnotes-list')&&_0x172efc?.['is']('element','footnotesDefinitions')&&(function(_0x1acea9,_0x4dbdf4,_0x559e8a,_0x352527){if(!_0x352527['checkAttribute'](_0x4dbdf4,'footnotesListStart'))return;let _0x5a30e3=0x1;const _0xf5d115=_0x559e8a['consumable']['consume'](_0x1acea9,{'attributes':'start'});if(_0xf5d115){const _0x2f9bfe=Number['parseInt'](_0x1acea9['getAttribute']('start'),0xa);Number['isNaN'](_0x2f9bfe)||(_0x5a30e3=_0x2f9bfe);}!_0xf5d115&&_0x4dbdf4['hasAttribute']('footnotesListStart')||_0x559e8a['writer']['setAttribute']('footnotesListStart',_0x5a30e3,_0x4dbdf4);}(_0x4f4481,_0x172efc,_0x4e5b20,_0x393765),function(_0x5e241e,_0x56f315,_0x4fae7a,_0x4461df){if(!_0x4461df['checkAttribute'](_0x56f315,'footnotesListStyle'))return;let _0x589167='decimal',_0x5b60cd=!0x1;if(_0x4fae7a['consumable']['consume'](_0x5e241e,{'attributes':'type'})){const _0x47c3d0={0x1:'decimal','a':'lower-alpha','A':'upper-alpha','i':'lower-roman','I':'upper-roman'}[_0x5e241e['getAttribute']('type')];_0x47c3d0&&(_0x589167=_0x47c3d0),_0x5b60cd=!0x0;}_0x4fae7a['consumable']['consume'](_0x5e241e,{'styles':'list-style-type'})&&(_0x589167=_0x5e241e['getStyle']('list-style-type'),_0x5b60cd=!0x0),!_0x5b60cd&&_0x56f315['hasAttribute']('footnotesListStyle')||_0x4fae7a['writer']['setAttribute']('footnotesListStyle',_0x589167,_0x56f315);}(_0x4f4481,_0x172efc,_0x4e5b20,_0x393765));});}),_0x4e4e27['for']('downcast')['add'](_0x542470=>{_0x542470['on']('attribute:footnotesListStart:footnotesDefinitions',(_0x8e2830,_0x1a3328,_0x4f4919)=>{if(!_0x4f4919['consumable']['consume'](_0x1a3328['item'],_0x8e2830['name']))return;const _0x5485fb=M(_0x1a3328['item'],_0x4f4919['mapper']),{attributeNewValue:_0xd5ee29}=_0x1a3328;null==_0xd5ee29||0x1===_0xd5ee29?_0x4f4919['writer']['removeAttribute']('start',_0x5485fb):_0x4f4919['writer']['setAttribute']('start',String(_0xd5ee29),_0x5485fb);}),_0x542470['on']('attribute:footnotesListStyle:footnotesDefinitions',(_0x452faf,_0x31955a,_0x27da93)=>{if(!_0x27da93['consumable']['consume'](_0x31955a['item'],_0x452faf['name']))return;const _0x30bd9f=M(_0x31955a['item'],_0x27da93['mapper']),{attributeNewValue:_0x266649}=_0x31955a;_0x266649&&'decimal'!==_0x266649?_0x27da93['writer']['setStyle']('list-style-type',_0x266649,_0x30bd9f):_0x27da93['writer']['removeStyle']('list-style-type',_0x30bd9f);});});}['_definePostfixer'](){const {editor:_0x227ae5}=this,{model:_0x4cf1cf}=_0x227ae5,_0x20244d=_0x227ae5['plugins']['get'](c),_0x4bf554=this['_getDefaultListStyle'](),_0x2bb405=this['_getDefaultStartIndex']();_0x4cf1cf['document']['registerPostFixer'](_0xffc542=>{const _0x52695d=_0x4cf1cf['document']['differ']['getChanges']();let _0x59e711=!0x1;for(const _0x46db1f of _0x52695d){if('insert'!==_0x46db1f['type']||'$text'===_0x46db1f['name'])continue;const _0x3e3ab7=_0x4cf1cf['createRangeOn'](_0x46db1f['position']['nodeAfter']);for(const _0x3efea0 of _0x3e3ab7['getItems']())_0x3efea0['is']('element','footnotesDefinitions')&&(!_0x3efea0['hasAttribute']('footnotesListStart')&&_0x4cf1cf['schema']['checkAttribute'](_0x3efea0,'footnotesListStart')&&(_0xffc542['setAttribute']('footnotesListStart',_0x2bb405,_0x3efea0),_0x59e711=!0x0),!_0x3efea0['hasAttribute']('footnotesListStyle')&&_0x4cf1cf['schema']['checkAttribute'](_0x3efea0,'footnotesListStyle')&&(_0xffc542['setAttribute']('footnotesListStyle',_0x4bf554,_0x3efea0),_0x59e711=!0x0));}return _0x59e711&&_0x20244d['_updateFootnotesCounters'](_0xffc542),_0x59e711;});}['_defineFormatter'](){const {editor:_0x19cef8}=this;_0x19cef8['plugins']['get'](c)['setFootnoteFormatter'](_0xa1cb3c=>this['_formatFootnoteListValue'](_0xa1cb3c));}['_getDefaultListStyle'](){return this['editor']['config']['get']('footnotes.footnotesProperties.defaultListStyle');}['_getDefaultStartIndex'](){return this['editor']['config']['get']('footnotes.footnotesProperties.defaultStartIndex');}['_formatFootnoteListValue']({container:_0x4b07bf,value:_0x2d3b95,digits:_0x407ad2}){const _0x81cd45=_0x4b07bf['getAttribute']('footnotesListStyle'),_0x1b66df=_0x4b07bf['getAttribute']('footnotesListStart'),_0x5db5ba=Math['floor'](_0x2d3b95)+(_0x1b66df??0x1)-0x1;switch(_0x81cd45){case'decimal-leading-zero':return function(_0x3219bc,_0x31ffee){return String(_0x3219bc)['padStart'](_0x31ffee,'0');}(_0x5db5ba,Math['max'](0x2,_0x407ad2));case'lower-alpha':case'lower-latin':return N(_0x5db5ba,!0x1);case'upper-alpha':case'upper-latin':return N(_0x5db5ba,!0x0);case'lower-roman':return X(_0x5db5ba,!0x1);case'upper-roman':return X(_0x5db5ba,!0x0);default:return String(_0x5db5ba);}}}function M(_0x2f2212,_0x2690f7){const _0x2340fd=_0x2690f7['toViewElement'](_0x2f2212);return Array['from'](_0x2340fd['getChildren']())['find'](_0xeae65f=>_0xeae65f['is']('element','ol')&&_0xeae65f['hasClass']('footnotes-list'));}function N(_0x10b180,_0xe2bcda){let _0x17c287='',_0xc7ec4b=_0x10b180;for(;_0xc7ec4b>0x0;){const _0x6ce05e=(_0xc7ec4b-0x1)%0x1a;_0x17c287=String['fromCharCode'](0x61+_0x6ce05e)+_0x17c287,_0xc7ec4b=Math['floor']((_0xc7ec4b-0x1)/0x1a);}return _0xe2bcda?_0x17c287['toUpperCase']():_0x17c287;}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(_0x223254,_0x49654e){let _0x4d908c='',_0x52f3ae=_0x223254;for(const {value:_0x3d2e8f,numeral:_0x1d23b9}of V)for(;_0x52f3ae>=_0x3d2e8f;)_0x4d908c+=_0x1d23b9,_0x52f3ae-=_0x3d2e8f;return _0x49654e?_0x4d908c:_0x4d908c['toLowerCase']();}class H extends _0x1243c8{['children'];['stylesView']=null;['additionalProperties']=null;['startIndexFieldView']=null;['focusTracker']=new ot();['keystrokes']=new rt();['focusables']=new _0xb8eda8();['focusCycler'];constructor(_0xaf5aa5,{styleButtonViews:_0x36be81,styleGridAriaLabel:_0x2e0d31}){super(_0xaf5aa5),(this['focusCycler']=new _0x2bd343({'focusables':this['focusables'],'focusTracker':this['focusTracker'],'keystrokeHandler':this['keystrokes'],'actions':{'focusPrevious':'shift\x20+\x20tab','focusNext':'tab'}}),this['children']=this['createCollection'](),this['stylesView']=this['_appendStylesView'](_0x36be81,_0x2e0d31),[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 _0x3e5e50 of this['stylesView']['children'])this['stylesView']['focusTracker']['add'](_0x3e5e50['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 _0x47ed08=_0x2ea65b=>_0x2ea65b['stopPropagation']();this['keystrokes']['set']('arrowright',_0x47ed08),this['keystrokes']['set']('arrowleft',_0x47ed08),this['keystrokes']['set']('arrowup',_0x47ed08),this['keystrokes']['set']('arrowdown',_0x47ed08);}this['keystrokes']['listenTo'](this['element']);}['focus'](){this['focusCycler']['focusFirst']();}['focusLast'](){this['focusCycler']['focusLast']();}['destroy'](){super['destroy'](),this['focusTracker']['destroy'](),this['keystrokes']['destroy']();}['_appendStylesView'](_0x36c4fe,_0x3ffa65){const _0x254093=new _0x1243c8(this['locale']);return _0x254093['children']=_0x254093['createCollection'](),_0x254093['children']['addMany'](_0x36c4fe),_0x254093['setTemplate']({'tag':'div','attributes':{'aria-label':_0x3ffa65,'class':['ck','ck-footnotes-definitions-styles-list']},'children':_0x254093['children']}),_0x254093['children']['delegate']('execute')['to'](this),_0x254093['focus']=function(){for(const _0x23a2d3 of this['children'])if(_0x23a2d3 instanceof _0x43f6c3&&_0x23a2d3['isOn'])return void _0x23a2d3['focus']();this['children']['first']['focus']();},_0x254093['focusTracker']=new ot(),_0x254093['keystrokes']=new rt(),_0x254093['render'](),_0x254093['keystrokes']['listenTo'](_0x254093['element']),this['children']['add'](_0x254093),_0x254093;}['_appendAdditionalPropertiesCollapsibleView'](){const {t:t}=this['locale'],_0x3c33d4=this['_createStartIndexPropertyView'](),_0x2ba44b=[_0x3c33d4],_0xc691dc=new st(this['locale'],_0x2ba44b);return _0xc691dc['set']({'label':t('Footnotes\x20properties'),'isCollapsed':!0x0}),_0xc691dc['buttonView']['bind']('isEnabled')['toMany'](_0x2ba44b,'isEnabled',(..._0x43d259)=>_0x43d259['some'](_0x2d7768=>_0x2d7768)),_0xc691dc['buttonView']['on']('change:isEnabled',(_0x4eaf44,_0xff0fec,_0x1e7871)=>{_0x1e7871||(_0xc691dc['isCollapsed']=!0x0);}),this['children']['add'](_0xc691dc),[_0x3c33d4,_0xc691dc];}['_createStartIndexPropertyView'](){const {t:t}=this['locale'],_0x4e7826=new it(this['locale'],et);return _0x4e7826['set']({'label':t('Footnotes\x20start\x20at'),'class':'ck-footnotes-definitions-properties__start-index'}),_0x4e7826['fieldView']['set']({'min':0x0,'max':Math['pow'](0x2,0x1e),'step':0x1,'value':0x1,'inputMode':'numeric'}),_0x4e7826['fieldView']['on']('input',()=>{const _0x36172e=_0x4e7826['fieldView']['element'],_0x55de70=_0x36172e['valueAsNumber'];Number['isNaN'](_0x55de70)?_0x4e7826['errorText']=t('Invalid\x20footnotes\x20start\x20index\x20value.'):_0x36172e['checkValidity']()?this['fire']('footnotesListStart',{'startIndex':_0x55de70}):_0x4e7826['errorText']=t(_0x55de70<0x0?'Footnotes\x20start\x20index\x20must\x20be\x20greater\x20than\x200.':'Footnotes\x20start\x20index\x20is\x20too\x20large.');}),_0x4e7826;}}class j extends _0x49c36c{static get['pluginName'](){return'FootnotesPropertiesUI';}static get['requires'](){return[_0x1daaf3,_0xdc63b1];}static get['isOfficialPlugin'](){return!0x0;}static get['isPremiumPlugin'](){return!0x0;}['init'](){const {editor:_0x5eb26e}=this,{componentFactory:_0x336b74}=_0x5eb26e['ui'];_0x5eb26e['config']['define']('footnotes.footnotesProperties.toolbar',['footnotesStyle']),_0x336b74['add']('footnotesStyle',function(_0x3372a2){return _0x79c9b2=>{const {t:t}=_0x79c9b2,_0x384f38=_0x3372a2['commands']['get']('footnotesStyle'),_0x17be52=_0x1d2237(_0x79c9b2),{buttonView:_0x5840a3}=_0x17be52;return _0x17be52['class']='ck-footnotes-styles-dropdown',_0x17be52['bind']('isEnabled')['to'](_0x384f38,'isEnabled'),_0x5840a3['set']({'label':t('Footnotes\x20style'),'icon':_0x4969aa,'tooltip':!0x0}),_0x17be52['once']('change:isOpen',()=>{const _0x3d38eb=function({editor:_0x2ce496,dropdownView:_0x3fdb4d}){const {t:t}=_0x2ce496['locale'],_0x126fb8=t('Footnotes\x20definitions\x20styles'),_0x3b3a6d=function(_0x3f0701){const t=_0x3f0701['locale']['t'],_0x264e87=[{'label':t('Toggle\x20the\x20decimal\x20footnotes\x20style'),'tooltip':t('Decimal\x20footnotes'),'style':'decimal','icon':_0x4cb109},{'label':t('Toggle\x20the\x20decimal\x20with\x20leading\x20zero\x20footnotes\x20style'),'tooltip':t('Decimal\x20footnotes\x20with\x20leading\x20zero'),'style':'decimal-leading-zero','icon':_0x3fd1c6},{'label':t('Toggle\x20the\x20lower–roman\x20footnotes\x20style'),'tooltip':t('Lower–roman\x20footnotes'),'style':'lower-roman','icon':_0x4dd4e6},{'label':t('Toggle\x20the\x20upper–roman\x20footnotes\x20style'),'tooltip':t('Upper-roman\x20footnotes'),'style':'upper-roman','icon':_0x56fa6d},{'label':t('Toggle\x20the\x20lower–latin\x20footnotes\x20style'),'tooltip':t('Lower-latin\x20footnotes'),'style':'lower-latin','icon':_0x5c033e},{'label':t('Toggle\x20the\x20upper–latin\x20footnotes\x20style'),'tooltip':t('Upper-latin\x20footnotes'),'style':'upper-latin','icon':_0x265453}];return _0x264e87['map'](function(_0x2743c6){const _0x1623b1=_0x2743c6['locale'];return({label:_0x3ab0e4,icon:_0x13cd07,tooltip:_0x45b592,style:_0x58b37b})=>{const _0x3e8a48=_0x2743c6['commands']['get']('footnotesStyle'),_0x55d715=new _0x43f6c3(_0x1623b1);return _0x55d715['set']({'label':_0x3ab0e4,'icon':_0x13cd07,'tooltip':_0x45b592}),_0x55d715['bind']('isOn')['to'](_0x3e8a48,'value',_0x6f7031=>_0x6f7031===_0x58b37b),_0x55d715['bind']('isEnabled')['to'](_0x3e8a48,'isEnabled'),_0x55d715['on']('execute',()=>{_0x2743c6['execute']('footnotesStyle',{'value':_0x58b37b}),_0x2743c6['editing']['view']['focus']();}),_0x55d715;};}(_0x3f0701));}(_0x2ce496),_0x44a157=new H(_0x2ce496['locale'],{'styleGridAriaLabel':_0x126fb8,'styleButtonViews':_0x3b3a6d});return _0x44a157['delegate']('execute')['to'](_0x3fdb4d),_0x44a157['on']('footnotesListStart',(_0x53f610,_0x19c638)=>{_0x2ce496['execute']('footnotesStart',{'value':_0x19c638['startIndex']});}),_0x44a157;}({'editor':_0x3372a2,'dropdownView':_0x17be52});_0x17be52['panelView']['children']['add'](_0x3d38eb);}),_0x17be52;};}(_0x5eb26e));}['afterInit'](){const {editor:_0x2d883a}=this,{t:t}=_0x2d883a['locale'],_0x2bba37=_0x2d883a['plugins']['get'](_0xdc63b1),{defaultPositions:_0x1b5bbe}=_0x520500;_0x2bba37['register']('footnotesDefinitions',{'ariaLabel':t('Footnotes\x20definitions\x20toolbar'),'items':_0x2d883a['config']['get']('footnotes.footnotesProperties.toolbar'),'balloonClassName':'ck-footnotes-style-balloon\x20ck-toolbar-container','getRelatedElement':_0x32a54e=>{let _0x10b1cd=_0x32a54e['getFirstPosition']()?.['parent'];return _0x10b1cd?.['is']('$text')&&(_0x10b1cd=_0x10b1cd['parent']),_0x10b1cd?.['is']('element')?_0x10b1cd['findAncestor'](J):null;},'positions':[_0x1b5bbe['southArrowNorth'],_0x1b5bbe['southArrowNorthMiddleWest'],_0x1b5bbe['southArrowNorthMiddleEast'],_0x1b5bbe['southArrowNorthWest'],_0x1b5bbe['southArrowNorthEast'],_0x1b5bbe['northArrowSouth'],_0x1b5bbe['northArrowSouthMiddleWest'],_0x1b5bbe['northArrowSouthMiddleEast'],_0x1b5bbe['northArrowSouthWest'],_0x1b5bbe['northArrowSouthEast'],_0x1b5bbe['viewportStickyNorth']]});}}class ft extends _0x49c36c{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':_0xd0659f=>0x1!=_0xd0659f}};
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
(
|
|
23
|
+
(_0x31d409=>{const {af:{dictionary:_0x374ce1,getPluralForm:_0x308a8a}}={'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':_0x514fcd=>0x1!=_0x514fcd}};_0x31d409['af']||={'dictionary':{},'getPluralForm':null},_0x31d409['af']['dictionary']=Object['assign'](_0x31d409['af']['dictionary'],_0x374ce1),_0x31d409['af']['getPluralForm']=_0x308a8a;})(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':_0x1bd9fd=>0x0==_0x1bd9fd?0x0:0x1==_0x1bd9fd?0x1:0x2==_0x1bd9fd?0x2:_0x1bd9fd%0x64>=0x3&&_0x1bd9fd%0x64<=0xa?0x3:_0x1bd9fd%0x64>=0xb?0x4:0x5}};
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
(
|
|
23
|
+
(_0x108bf4=>{const {ar:{dictionary:_0x8521af,getPluralForm:_0x58a75a}}={'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':_0x59ef26=>0x0==_0x59ef26?0x0:0x1==_0x59ef26?0x1:0x2==_0x59ef26?0x2:_0x59ef26%0x64>=0x3&&_0x59ef26%0x64<=0xa?0x3:_0x59ef26%0x64>=0xb?0x4:0x5}};_0x108bf4['ar']||={'dictionary':{},'getPluralForm':null},_0x108bf4['ar']['dictionary']=Object['assign'](_0x108bf4['ar']['dictionary'],_0x8521af),_0x108bf4['ar']['getPluralForm']=_0x58a75a;})(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':_0x32232e=>0x1!=_0x32232e}};
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
(
|
|
23
|
+
(_0x40a442=>{const {ast:{dictionary:_0x571154,getPluralForm:_0xda3cf9}}={'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':_0x41ce70=>0x1!=_0x41ce70}};_0x40a442['ast']||={'dictionary':{},'getPluralForm':null},_0x40a442['ast']['dictionary']=Object['assign'](_0x40a442['ast']['dictionary'],_0x571154),_0x40a442['ast']['getPluralForm']=_0xda3cf9;})(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':_0x1e49a0=>0x1!=_0x1e49a0}};
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
(
|
|
23
|
+
(_0x26f7c1=>{const {az:{dictionary:_0x10431b,getPluralForm:_0x432d72}}={'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':_0x5ea31f=>0x1!=_0x5ea31f}};_0x26f7c1['az']||={'dictionary':{},'getPluralForm':null},_0x26f7c1['az']['dictionary']=Object['assign'](_0x26f7c1['az']['dictionary'],_0x10431b),_0x26f7c1['az']['getPluralForm']=_0x432d72;})(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':_0x4dfb11=>_0x4dfb11%0xa==0x1&&_0x4dfb11%0x64!=0xb?0x0:_0x4dfb11%0xa>=0x2&&_0x4dfb11%0xa<=0x4&&(_0x4dfb11%0x64<0xa||_0x4dfb11%0x64>=0x14)?0x1:0x2}};
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
(
|
|
23
|
+
(_0x2c7973=>{const {be:{dictionary:_0x461f6b,getPluralForm:_0x501372}}={'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':_0x52c45b=>_0x52c45b%0xa==0x1&&_0x52c45b%0x64!=0xb?0x0:_0x52c45b%0xa>=0x2&&_0x52c45b%0xa<=0x4&&(_0x52c45b%0x64<0xa||_0x52c45b%0x64>=0x14)?0x1:0x2}};_0x2c7973['be']||={'dictionary':{},'getPluralForm':null},_0x2c7973['be']['dictionary']=Object['assign'](_0x2c7973['be']['dictionary'],_0x461f6b),_0x2c7973['be']['getPluralForm']=_0x501372;})(window['CKEDITOR_TRANSLATIONS']||={});
|