@ckeditor/ckeditor5-footnotes 48.1.0-alpha.7 → 48.1.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/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/dist/index.js
CHANGED
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
import{Plugin as _0xfd4902,Command as _0x32e6f3}from'@ckeditor/ckeditor5-core/dist/index.js';import{toWidget as _0x27f1b7,isWidget as _0x3ab8fd,toWidgetEditable as _0x5dbe51,WidgetToolbarRepository as _0x3d7cc6}from'@ckeditor/ckeditor5-widget/dist/index.js';import{uid as _0x22c83a,logWarning as _0x1f92a9,FocusTracker as _0x45e46e,KeystrokeHandler as _0x56d72b,global as _0x128aa6}from'@ckeditor/ckeditor5-utils/dist/index.js';import{PointerObserver as _0x58c1ce,ClickObserver as _0x36cc0a}from'@ckeditor/ckeditor5-engine/dist/index.js';import{ClipboardPipeline as _0x431269}from'@ckeditor/ckeditor5-clipboard/dist/index.js';import{MenuBarMenuListItemButtonView as _0x14e6d5,ButtonView as _0x22085f,View as _0x21c05f,ViewCollection as _0x3d649c,FocusCycler as _0x3c8954,addKeyboardHandlingForGrid as _0x1281f8,CollapsibleView as _0x113336,LabeledFieldView as _0x18bfd5,createLabeledInputNumber as _0x44369e,ContextualBalloon as _0x3fa1a5,BalloonPanelView as _0x42874d,createDropdown as _0x18b9b9}from'@ckeditor/ckeditor5-ui/dist/index.js';import{IconFootnote as _0x226158,IconListStyleDecimal as _0x5a9eb0,IconListStyleDecimalLeadingZero as _0x37266f,IconListStyleLowerRoman as _0x4551e6,IconListStyleUpperRoman as _0x244281,IconListStyleLowerLatin as _0x450ebe,IconListStyleUpperLatin as _0x52e12a,IconListStyleArabicIndic as _0x57cac5}from'@ckeditor/ckeditor5-icons/dist/index.js';class R{['_model'];['_elementName'];['_getElementKey'];['_trackedElements']=new Map();constructor(_0x508d20,_0x40c05b){this['_model']=_0x508d20,this['_elementName']=_0x40c05b['elementName'],this['_getElementKey']=_0x40c05b['getElementKey'];}['reset'](){this['_trackedElements']['clear']();}['getChanges'](_0x374caf){const _0x2daa72=new Set(),_0x28f1c2=new Map();for(const _0x2aea11 of _0x374caf){if('insert'===_0x2aea11['type']&&'$text'!==_0x2aea11['name']&&_0x2aea11['position']['nodeAfter']){const _0x5a09c0=this['_model']['createRangeOn'](_0x2aea11['position']['nodeAfter']);for(const _0x21b62b of _0x5a09c0['getItems']()){if(!_0x21b62b['is']('element',this['_elementName']))continue;const _0x1e640e=this['_getElementKey'](_0x21b62b);_0x28f1c2['has'](_0x1e640e)||_0x28f1c2['set'](_0x1e640e,[]),_0x28f1c2['get'](_0x1e640e)['push'](_0x21b62b);}}if('remove'===_0x2aea11['type']&&_0x2aea11['name']===this['_elementName']){const _0x323dc7=this['_getElementKey']({'getAttribute':_0x21778b=>_0x2aea11['attributes']['get'](_0x21778b)});_0x2daa72['add'](_0x323dc7);}}for(const [_0x2a10f0,_0x700425]of this['_trackedElements'])'$graveyard'===_0x700425['root']['rootName']&&_0x2daa72['add'](_0x2a10f0);for(const _0x459c6f of _0x2daa72)this['_trackedElements']['delete'](_0x459c6f);for(const [_0x58bf3a,_0xcda897]of _0x28f1c2)this['_trackedElements']['set'](_0x58bf3a,_0xcda897[_0xcda897['length']-0x1]);const _0x29955d=new Set();for(const [_0x27326b,_0x59fe92]of _0x28f1c2)_0x2daa72['has'](_0x27326b)&&(_0x29955d['add'](_0x59fe92[0x0]),_0x59fe92['length']>0x1?_0x28f1c2['set'](_0x27326b,_0x59fe92['slice'](0x1)):_0x28f1c2['delete'](_0x27326b),_0x2daa72['delete'](_0x27326b));return{'removed':Array['from'](_0x2daa72),'inserted':Array['from'](_0x28f1c2['values']())['flat'](),'moved':Array['from'](_0x29955d)};}}class K extends _0xfd4902{['_footnotes']=[];['_footnotesDefinitions']=null;['_footnoteFormatter']=null;['_footnoteDefsContainerTracker'];['_footnoteRefsTracker'];['_footnoteDefsTracker'];static get['pluginName'](){return'FootnotesTracker';}static get['isOfficialPlugin'](){return!0x0;}static get['isPremiumPlugin'](){return!0x0;}constructor(_0x30d2a5){super(_0x30d2a5),this['_footnoteDefsContainerTracker']=new R(this['editor']['model'],{'elementName':'footnotesDefinitions','getElementKey':()=>'singleton'}),this['_footnoteRefsTracker']=new R(this['editor']['model'],{'elementName':'footnoteRef','getElementKey':_0x5a016a=>_0x5a016a['getAttribute']('footnoteId')}),this['_footnoteDefsTracker']=new R(this['editor']['model'],{'elementName':'footnoteDefinition','getElementKey':_0x163223=>_0x163223['getAttribute']('footnoteId')});}['init'](){const {editor:_0x494b7}=this,{model:_0x4ce936,data:_0x387a52}=_0x494b7;_0x4ce936['document']['registerPostFixer'](_0x39fb6b=>{const _0x44b907=_0x4ce936['document']['differ']['getChanges']();let _0x3f2192=!0x1;return this['_handleFootnotesDefinitionsObjectChanges'](_0x39fb6b,_0x44b907)&&(_0x3f2192=!0x0),this['_handleFootnoteDefinitionsChanges'](_0x39fb6b,_0x44b907)&&(_0x3f2192=!0x0),this['_handleFootnoteReferencesChanges'](_0x39fb6b,_0x44b907)&&(_0x3f2192=!0x0),this['_ensureFootnotesReferencesHaveProperOrder'](_0x39fb6b)&&(_0x3f2192=!0x0),this['_handleFootnotesDefinitionsObjectSync'](_0x39fb6b)&&(_0x3f2192=!0x0),this['_sortFootnoteDefinitions'](_0x39fb6b)&&(_0x3f2192=!0x0),_0x3f2192;}),this['listenTo'](_0x4ce936['document'],'change:data',()=>{_0x4ce936['enqueueChange']({'isUndoable':!0x1},_0x542988=>{this['_ensureFootnotesDefinitionsContainerExists'](_0x542988);});},{'priority':'low'}),this['listenTo'](_0x387a52,'set',()=>{this['_footnotes']=[],this['_footnoteDefsContainerTracker']['reset'](),this['_footnoteRefsTracker']['reset'](),this['_footnoteDefsTracker']['reset']();},{'priority':'high'});}['getFootnotesDefinitionsObjectElement'](){return this['_footnotesDefinitions'];}['getFootnote'](_0xa9107a){return this['_footnotes']['find'](_0x22c125=>_0x22c125['id']===_0xa9107a)||null;}['getFootnotes'](){return Array['from'](this['_footnotes']);}['getFootnotesFormatter'](){return this['_footnoteFormatter'];}['setFootnoteFormatter'](_0xdaabd6){this['_footnoteFormatter']=_0xdaabd6;}['_updateFootnotesCounters'](_0x7ba9d5,_0x372603=0x0){let _0x56060d=!0x1;for(let _0x4d5480=_0x372603;_0x4d5480<this['_footnotes']['length'];_0x4d5480++)this['_updateFootnoteRefCounter'](_0x7ba9d5,_0x4d5480)&&(_0x56060d=!0x0);return _0x56060d;}['_insertEmptyFootnotesDefinitionsContainer'](_0xa5b0e7,_0x42db1b){const _0x1571d9=_0xa5b0e7['createElement']('footnotesDefinitions',{});return _0xa5b0e7['append'](_0x1571d9,_0x42db1b),this['_footnotesDefinitions']=_0x1571d9,_0x1571d9;}['_ensureFootnotesDefinitionsContainerExists'](_0x5b1bde){if(!this['_footnotes']['length']||this['_footnotesDefinitions'])return;const _0x2bb736=this['_footnotes'][0x0]['reference']['root'],_0x14cc3a=this['_insertEmptyFootnotesDefinitionsContainer'](_0x5b1bde,_0x2bb736);for(const _0x181233 of this['_footnotes'])_0x181233['definition']['parent']||_0x5b1bde['insert'](_0x181233['definition'],_0x14cc3a,'end');this['_updateFootnotesCounters'](_0x5b1bde);}['_handleFootnotesDefinitionsObjectChanges'](_0x315ed7,_0x1cc8a8){let _0x186472=!0x1;const {inserted:_0x54c664,removed:_0x4509d8,moved:_0x487b70}=this['_footnoteDefsContainerTracker']['getChanges'](_0x1cc8a8);if(_0x487b70['length']&&(this['_footnotesDefinitions']=_0x487b70[0x0]),_0x54c664['length']){if(_0x54c664['length']>0x1||this['_footnotesDefinitions']&&_0x54c664['some'](_0x38b953=>_0x38b953!==this['_footnotesDefinitions'])){const _0x4aa038=_0x315ed7['createElement']('footnotesDefinitions',{}),_0x41d800=[];this['_footnotesDefinitions']&&_0x41d800['push'](this['_footnotesDefinitions']),_0x41d800['push'](..._0x54c664),_0x315ed7['insert'](_0x4aa038,_0x41d800[0x0],'before');for(const _0x2a7f03 of _0x41d800)_0x315ed7['move'](_0x315ed7['createRangeIn'](_0x2a7f03),_0x315ed7['createPositionAt'](_0x4aa038,'end')),_0x315ed7['remove'](_0x2a7f03);this['_footnotesDefinitions']=_0x4aa038,this['_updateFootnotesCounters'](_0x315ed7),_0x186472=!0x0;}else this['_footnotesDefinitions']=_0x54c664[0x0];}if(_0x4509d8['length']&&'$graveyard'===this['_footnotesDefinitions']?.['root']['rootName']){for(const _0x3c033 of this['_footnotes'])_0x315ed7['remove'](_0x3c033['reference']),_0x186472=!0x0;this['_footnotes']=[],this['_footnotesDefinitions']=null;}return _0x186472;}['_handleFootnoteDefinitionsChanges'](_0x3cec3,_0x401159){let _0xb2b7c8=!0x1;const _0x4bd9d1=this['editor']['config']['get']('footnotes.multiBlock'),{inserted:_0x23a455,moved:_0x108082}=this['_footnoteDefsTracker']['getChanges'](_0x401159);for(const _0x254666 of[..._0x108082,..._0x23a455]){const _0x5a999e=_0x254666['getAttribute']('footnoteId'),_0x42a5f4=this['getFootnote'](_0x5a999e);_0x42a5f4&&(_0x42a5f4['definition']=_0x254666),j(_0x3cec3,_0x4bd9d1,_0x254666)&&(_0xb2b7c8=!0x0);}return _0xb2b7c8;}['_handleFootnoteReferencesChanges'](_0x1775a9,_0x9f80fd){let _0x1ee157=!0x1;const {removed:_0x123710,inserted:_0x204538,moved:_0x34a6ae}=this['_footnoteRefsTracker']['getChanges'](_0x9f80fd);for(const _0x175640 of _0x123710)this['_handleRemoveFootnoteReferenceById'](_0x1775a9,_0x175640)&&(_0x1ee157=!0x0);for(const _0x3ef4d3 of _0x204538)this['_handleInsertedFootnoteReference'](_0x1775a9,_0x3ef4d3)&&(_0x1ee157=!0x0);for(const _0x3089ea of _0x34a6ae)this['_handleMovedFootnoteReference'](_0x1775a9,_0x3089ea)&&(_0x1ee157=!0x0);return _0x1ee157;}['_handleFootnotesDefinitionsObjectSync'](_0x3a8e19){if(!this['_footnotesDefinitions'])return!0x1;let _0x3fdd55=!0x1;if(this['_footnotesDefinitions']['childCount']!==this['_footnotes']['length']){const _0x28a160=[];for(const _0xe8cccb of this['_footnotesDefinitions']['getChildren']()){const _0x1873b6=_0xe8cccb['getAttribute']('footnoteId');this['getFootnote'](_0x1873b6)||(_0x28a160['unshift'](_0xe8cccb),_0x3fdd55=!0x0);}for(const _0x153a5b of _0x28a160)_0x3a8e19['remove'](_0x153a5b);}const _0x41eeec=new Set(),_0x831a6e=[];for(const _0x2000ef of this['_footnotesDefinitions']['getChildren']()){const _0x1e6d47=_0x2000ef['getAttribute']('footnoteId');_0x41eeec['has'](_0x1e6d47)?(_0x831a6e['unshift'](_0x2000ef),_0x3fdd55=!0x0):_0x41eeec['add'](_0x1e6d47);}for(const _0x5122f3 of _0x831a6e)_0x3a8e19['remove'](_0x5122f3);return this['_footnotesDefinitions']['childCount']||(_0x3a8e19['remove'](this['_footnotesDefinitions']),this['_footnotesDefinitions']=null,_0x3fdd55=!0x0),_0x3fdd55;}['_handleInsertedFootnoteReference'](_0x14bbf1,_0x282c96){if(this['_footnotes']['find'](_0x5f5989=>_0x5f5989['reference']===_0x282c96))return!0x1;let _0x49ecbe=!0x1;const _0x11c769=_0x282c96['getAttribute']('footnoteId'),_0x57369c=this['_footnotes']['findIndex'](_0x5d9ed3=>_0x5d9ed3['id']===_0x11c769);-0x1!==_0x57369c&&(_0x14bbf1['remove'](this['_footnotes'][_0x57369c]['reference']),this['_footnotes']['splice'](_0x57369c,0x1),_0x49ecbe=!0x0);let _0xa9120f=this['_footnotesDefinitions']?function(_0x2d57a7,_0x3c5b71){for(const _0x432a13 of _0x2d57a7['getChildren']())if(_0x432a13['getAttribute']('footnoteId')===_0x3c5b71)return _0x432a13;return null;}(this['_footnotesDefinitions'],_0x11c769):null;_0xa9120f||(_0xa9120f=_0x14bbf1['createElement']('footnoteDefinition',{'footnoteId':_0x11c769}),this['_footnotesDefinitions']&&(_0x14bbf1['insert'](_0xa9120f,this['_footnotesDefinitions'],'end'),_0x49ecbe=!0x0));const _0x3c8644={'id':_0x11c769,'reference':_0x282c96,'definition':_0xa9120f},_0x5db41a=T(this['editor']['model'],this['_footnotes'],_0x282c96);this['_footnotes']['splice'](_0x5db41a,0x0,_0x3c8644);let _0x513c12=_0x5db41a;return-0x1!==_0x57369c&&(_0x513c12=Math['min'](_0x5db41a,_0x57369c)),this['_updateFootnotesCounters'](_0x14bbf1,_0x513c12)&&(_0x49ecbe=!0x0),_0x49ecbe;}['_handleRemoveFootnoteReferenceById'](_0x55dea3,_0x4f9cff){const _0x488bf1=this['_footnotes']['findIndex'](_0x42daf4=>_0x42daf4['id']===_0x4f9cff);if(-0x1===_0x488bf1)return!0x1;let _0x81cc4a=!0x1;const _0x1a69af=this['_footnotes'][_0x488bf1];return'$graveyard'!==_0x1a69af['definition']['root']['rootName']&&(_0x55dea3['remove'](_0x1a69af['definition']),_0x81cc4a=!0x0),this['_footnotes']['splice'](_0x488bf1,0x1),this['_updateFootnotesCounters'](_0x55dea3,_0x488bf1)&&(_0x81cc4a=!0x0),_0x81cc4a;}['_handleMovedFootnoteReference'](_0x296447,_0x44fe83){const _0x545e80=_0x44fe83['getAttribute']('footnoteId'),_0x202525=this['_footnotes']['findIndex'](_0x46d6c5=>_0x46d6c5['id']===_0x545e80),_0x17ec76=this['_footnotes'][_0x202525];let _0x1fda73=!0x1;_0x17ec76['reference']=_0x44fe83,this['_footnotes']['splice'](_0x202525,0x1);const _0x337f3d=T(this['editor']['model'],this['_footnotes'],_0x44fe83);return this['_footnotes']['splice'](_0x337f3d,0x0,_0x17ec76),this['_updateFootnotesCounters'](_0x296447,Math['min'](_0x202525,_0x337f3d))&&(_0x1fda73=!0x0),_0x1fda73;}['_updateFootnoteRefCounter'](_0x2dd1ae,_0x299b50){if(!this['_footnotesDefinitions'])return!0x1;const _0x59280c=this['_footnotes'][_0x299b50];let _0x2230e8;return _0x2230e8=this['_footnoteFormatter']?this['_footnoteFormatter']({'footnote':_0x59280c,'container':this['_footnotesDefinitions'],'digits':String(this['_footnotes']['length'])['length'],'value':_0x299b50+0x1}):String(_0x299b50+0x1),_0x59280c['reference']['getAttribute']('footnoteCounter')!=_0x2230e8&&(_0x2dd1ae['setAttribute']('footnoteCounter',_0x2230e8,_0x59280c['reference']),!0x0);}['_sortFootnoteDefinitions'](_0x5adcb3){if(!this['_footnotesDefinitions']||this['_footnotes']['length']<0x2)return!0x1;if(function(_0x12fa86,_0x21142e){if(_0x12fa86['length']!==_0x21142e['length'])return!0x1;for(let _0x3503cc=0x0;_0x3503cc<_0x12fa86['length'];_0x3503cc++)if(_0x12fa86[_0x3503cc]!==_0x21142e[_0x3503cc])return!0x1;return!0x0;}(this['_footnotes']['map'](_0x5bd298=>_0x5bd298['id']),Array['from'](this['_footnotesDefinitions']['getChildren']())['map'](_0x504849=>_0x504849['getAttribute']('footnoteId'))))return!0x1;let _0x2d20be=!0x1;for(let _0x4756b8=0x0;_0x4756b8<this['_footnotes']['length'];_0x4756b8++){const _0x284e00=this['_footnotes'][_0x4756b8],_0x385059=_0x5adcb3['createPositionBefore'](_0x284e00['definition']),_0x568d11=_0x5adcb3['createPositionAt'](this['_footnotesDefinitions'],_0x4756b8);_0x385059['isEqual'](_0x568d11)||(_0x5adcb3['move'](_0x5adcb3['createRangeOn'](_0x284e00['definition']),_0x568d11),_0x2d20be=!0x0);}return _0x2d20be;}['_ensureFootnotesReferencesHaveProperOrder'](_0x204391){if(!this['_footnotes']['length'])return!0x1;const {model:_0x59296b}=this['editor'];let _0x334ac0=!0x1;for(let _0x1c178c=0x0;_0x1c178c<this['_footnotes']['length']-0x1;_0x1c178c++){const _0x120b9a=this['_footnotes'][_0x1c178c],_0x4bebb3=this['_footnotes'][_0x1c178c+0x1],_0x2d826d=_0x59296b['createPositionBefore'](_0x120b9a['reference']),_0x2823c5=_0x59296b['createPositionBefore'](_0x4bebb3['reference']);'after'===_0x2d826d['compareWith'](_0x2823c5)&&(this['_handleMovedFootnoteReference'](_0x204391,_0x120b9a['reference']),_0x1c178c=-0x1,_0x334ac0=!0x0);}return _0x334ac0;}}function j(_0xbbcef5,_0x355e52,_0x3ccfe1){if(_0x3ccfe1['childCount'])return!0x1;const _0x24702c=_0x355e52?'paragraph':'footnoteInlineContent';return _0xbbcef5['insert'](_0xbbcef5['createElement'](_0x24702c),_0x3ccfe1),!0x0;}function T(_0x7a3c91,_0x308122,_0x5d61c0){if(0x0===_0x308122['length'])return 0x0;const _0xf51e60=_0x7a3c91['createPositionBefore'](_0x5d61c0);for(let _0x1f0b11=0x0;_0x1f0b11<_0x308122['length'];_0x1f0b11++){const _0x10a142=_0x308122[_0x1f0b11],_0x5c9937=_0x7a3c91['createPositionBefore'](_0x10a142['reference']);if('before'===_0xf51e60['compareWith'](_0x5c9937))return _0x1f0b11;}const _0x2ef0cf=_0x5d61c0['root'];let _0x3c3565=-0x1;for(let _0x4e8e09=_0x308122['length']-0x1;_0x4e8e09>=0x0;_0x4e8e09--)if(_0x308122[_0x4e8e09]['reference']['root']===_0x2ef0cf){_0x3c3565=_0x4e8e09;break;}if(-0x1!==_0x3c3565)return _0x3c3565+0x1;const _0x3095b7=_0x7a3c91['document']['getRootNames'](),_0x5559a7=_0x3095b7['indexOf'](_0x2ef0cf['rootName']),_0x9a8ed7=_0x3095b7[_0x5559a7+0x1];if(_0x9a8ed7){for(let _0x46c87e=0x0;_0x46c87e<_0x308122['length'];_0x46c87e++)if(_0x308122[_0x46c87e]['reference']['root']['rootName']===_0x9a8ed7)return _0x46c87e;}return _0x308122['length'];}class V extends _0x32e6f3{['refresh'](){const _0x485ed4=this['editor']['model']['document']['selection'],_0x2e4c99=this['_getPositionToInsertFootnote'](_0x485ed4);this['isEnabled']=!!_0x2e4c99;}['execute'](_0x4e4a50){const {editor:_0x269913}=this,{model:_0x4c0575}=_0x269913,{selection:_0x5f4824}=_0x4c0575['document'],_0x1c4366=this['_getPositionToInsertFootnote'](_0x5f4824);if(!_0x1c4366)return;const _0xde84d2=_0x269913['plugins']['get']('FootnotesEditing'),_0x430dea=_0x4e4a50?.['footnoteId']??_0x22c83a();!function(_0x184f34){return'string'==typeof _0x184f34&&_0x184f34['length']>0x0&&!/\s/['test'](_0x184f34)&&!/^\d/['test'](_0x184f34);}(_0x430dea)?_0x1f92a9('insert-footnote-command-executed-with-invalid-id'):(_0x4c0575['change'](_0xdcd295=>{const _0x4b185d=_0xdcd295['createElement']('footnoteRef',{'footnoteId':_0x430dea});_0x4c0575['insertObject'](_0x4b185d,_0x1c4366,null);}),_0xde84d2['_moveSelectionToFootnoteDefinition'](_0x430dea));}['_getPositionToInsertFootnote'](_0x55f6a2){const {model:_0x4ee7e2}=this['editor'],{schema:_0x4246d7}=_0x4ee7e2,_0x5c6649=_0x55f6a2['getFirstRange']();for(const _0x990c9e of _0x5c6649['getItems']())if(_0x4246d7['isBlock'](_0x990c9e)||_0x4246d7['isObject'](_0x990c9e))return null;const _0x34bbec=_0x5c6649['end'];return _0x4246d7['checkChild'](_0x34bbec,'footnoteRef')?_0x34bbec:null;}}class $ extends _0xfd4902{static get['pluginName'](){return'FootnotesEditing';}static get['requires'](){return[K];}static get['isOfficialPlugin'](){return!0x0;}static get['isPremiumPlugin'](){return!0x0;}['init'](){const {editor:_0x2a49be}=this;_0x2a49be['config']['define']('footnotes.multiBlock',!0x0),_0x2a49be['commands']['add']('insertFootnote',new V(_0x2a49be)),this['_defineSchema'](),this['_defineRefsConverters'](),this['_defineDefinitionsConverters'](),this['_defineDefinitionConverters'](),this['_defineBogusParagraphConverters'](),this['_defineKeyboardHandlers'](),this['_defineClickHandlers']();}['afterInit'](){!async function(_0xa4a7f2){const _0x1c4958=_0x20d3aa([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]),_0x56e93f=0x47a28506,_0x1fd940=0x47a50cde^_0x56e93f,_0xf55fa8=window[_0x20d3aa([0x44,0x61,0x74,0x65])][_0x20d3aa([0x6e,0x6f,0x77])](),_0x3b67d4=_0xa4a7f2[_0x20d3aa([0x65,0x64,0x69,0x74,0x6f,0x72])],_0x2b8321=new window[(_0x20d3aa([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0x332a51=>{_0x3b67d4[_0x20d3aa([0x6f,0x6e,0x63,0x65])](_0x20d3aa([0x72,0x65,0x61,0x64,0x79]),_0x332a51);}),_0x33b4d2={[_0x20d3aa([0x6b,0x74,0x79])]:_0x20d3aa([0x45,0x43]),[_0x20d3aa([0x75,0x73,0x65])]:_0x20d3aa([0x73,0x69,0x67]),[_0x20d3aa([0x63,0x72,0x76])]:_0x20d3aa([0x50,0x2d,0x32,0x35,0x36]),[_0x20d3aa([0x78])]:_0x20d3aa([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]),[_0x20d3aa([0x79])]:_0x20d3aa([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]),[_0x20d3aa([0x61,0x6c,0x67])]:_0x20d3aa([0x45,0x53,0x32,0x35,0x36])},_0x7acdaf=_0x3b67d4[_0x20d3aa([0x63,0x6f,0x6e,0x66,0x69,0x67])][_0x20d3aa([0x67,0x65,0x74])](_0x20d3aa([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x4b,0x65,0x79]));async function _0x2608f8(){let _0xbaa363,_0x5e9599=null,_0xf768b3=null;try{if(_0x7acdaf==_0x20d3aa([0x47,0x50,0x4c]))return _0x20d3aa([0x4e,0x6f,0x74,0x41,0x6c,0x6c,0x6f,0x77,0x65,0x64]);if(_0xbaa363=_0x294b30(),!_0xbaa363)return _0x20d3aa([0x49,0x6e,0x76,0x61,0x6c,0x69,0x64]);return _0xbaa363[_0x20d3aa([0x75,0x73,0x61,0x67,0x65,0x45,0x6e,0x64,0x70,0x6f,0x69,0x6e,0x74])]&&(_0xf768b3=_0x26de2b(_0xbaa363[_0x20d3aa([0x75,0x73,0x61,0x67,0x65,0x45,0x6e,0x64,0x70,0x6f,0x69,0x6e,0x74])],_0xbaa363[_0x20d3aa([0x6a,0x74,0x69])])),await _0x446855()?_0x2d0f27()?_0x2c0c88()?_0x20d3aa([0x45,0x78,0x70,0x69,0x72,0x65,0x64]):_0x3b644e()?(_0xbaa363[_0x20d3aa([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x54,0x79,0x70,0x65])]==_0x20d3aa([0x65,0x76,0x61,0x6c,0x75,0x61,0x74,0x69,0x6f,0x6e])&&(_0x5e9599=_0xf72842(_0x20d3aa([0x45,0x76,0x61,0x6c,0x75,0x61,0x74,0x69,0x6f,0x6e,0x4c,0x69,0x6d,0x69,0x74]))),await _0x1ac564()):_0x20d3aa([0x44,0x6f,0x6d,0x61,0x69,0x6e,0x4c,0x69,0x6d,0x69,0x74]):_0x20d3aa([0x4e,0x6f,0x74,0x41,0x6c,0x6c,0x6f,0x77,0x65,0x64]):_0x20d3aa([0x49,0x6e,0x76,0x61,0x6c,0x69,0x64]);}catch{return _0x20d3aa([0x49,0x6e,0x76,0x61,0x6c,0x69,0x64]);}function _0x2c0c88(){const _0x20df22=[_0x20d3aa([0x65,0x76,0x61,0x6c,0x75,0x61,0x74,0x69,0x6f,0x6e]),_0x20d3aa([0x74,0x72,0x69,0x61,0x6c])][_0x20d3aa([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0xbaa363[_0x20d3aa([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x54,0x79,0x70,0x65])])?_0xf55fa8/0x3e8:0xe10*_0x1fd940;return _0xbaa363[_0x20d3aa([0x65,0x78,0x70])]<_0x20df22;}function _0x2d0f27(){const _0x599b17=_0xbaa363[_0x20d3aa([0x66,0x65,0x61,0x74,0x75,0x72,0x65,0x73])];return!!_0x599b17&&(!!_0x599b17[_0x20d3aa([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x20d3aa([0x2a]))||!!_0x599b17[_0x20d3aa([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x20d3aa([0x46,0x4f,0x4f])));}function _0x3b644e(){const _0x178c55=_0xbaa363[_0x20d3aa([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x64,0x48,0x6f,0x73,0x74,0x73])];if(!_0x178c55||0x0==_0x178c55[_0x20d3aa([0x6c,0x65,0x6e,0x67,0x74,0x68])])return!0x0;const {hostname:_0x681bbc}=new URL(window[_0x20d3aa([0x6c,0x6f,0x63,0x61,0x74,0x69,0x6f,0x6e])]['href']);if(_0x178c55[_0x20d3aa([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x681bbc))return!0x0;const _0x31c586=_0x681bbc[_0x20d3aa([0x73,0x70,0x6c,0x69,0x74])](_0x20d3aa([0x2e]));return _0x178c55[_0x20d3aa([0x66,0x69,0x6c,0x74,0x65,0x72])](_0x26f949=>_0x26f949[_0x20d3aa([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x20d3aa([0x2a])))[_0x20d3aa([0x6d,0x61,0x70])](_0x3d82c4=>_0x3d82c4[_0x20d3aa([0x73,0x70,0x6c,0x69,0x74])](_0x20d3aa([0x2e])))[_0x20d3aa([0x66,0x69,0x6c,0x74,0x65,0x72])](_0x2bef06=>_0x2bef06[_0x20d3aa([0x6c,0x65,0x6e,0x67,0x74,0x68])]<=_0x31c586[_0x20d3aa([0x6c,0x65,0x6e,0x67,0x74,0x68])])[_0x20d3aa([0x6d,0x61,0x70])](_0x5ba0e6=>Array(_0x31c586[_0x20d3aa([0x6c,0x65,0x6e,0x67,0x74,0x68])]-_0x5ba0e6[_0x20d3aa([0x6c,0x65,0x6e,0x67,0x74,0x68])])[_0x20d3aa([0x66,0x69,0x6c,0x6c])](_0x5ba0e6[0x0]===_0x20d3aa([0x2a])?_0x20d3aa([0x2a]):'')[_0x20d3aa([0x63,0x6f,0x6e,0x63,0x61,0x74])](_0x5ba0e6))[_0x20d3aa([0x73,0x6f,0x6d,0x65])](_0x42b95b=>_0x31c586[_0x20d3aa([0x65,0x76,0x65,0x72,0x79])]((_0x1ce8c1,_0x117e2a)=>_0x42b95b[_0x117e2a]===_0x1ce8c1||_0x42b95b[_0x117e2a]===_0x20d3aa([0x2a])));}function _0x1ac564(){return _0x5e9599&&_0xf768b3?new window[(_0x20d3aa([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))]((_0x153a16,_0x13a490)=>{_0x5e9599[_0x20d3aa([0x74,0x68,0x65,0x6e])](_0x153a16,_0x13a490),_0xf768b3[_0x20d3aa([0x74,0x68,0x65,0x6e])](_0x4df61a=>{_0x4df61a!=_0x20d3aa([0x56,0x61,0x6c,0x69,0x64])&&_0x153a16(_0x4df61a);},_0x13a490);}):_0x5e9599||_0xf768b3||_0x20d3aa([0x56,0x61,0x6c,0x69,0x64]);}}function _0x26de2b(_0x4090a8,_0x1276a6){return new window[(_0x20d3aa([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0x28bc31=>{if(_0x2b39ba())return _0x28bc31(_0x20d3aa([0x56,0x61,0x6c,0x69,0x64]));_0x1854fb(),_0x3b67d4[_0x20d3aa([0x64,0x65,0x63,0x6f,0x72,0x61,0x74,0x65])](_0x20d3aa([0x5f,0x73,0x65,0x6e,0x64,0x55,0x73,0x61,0x67,0x65,0x52,0x65,0x71,0x75,0x65,0x73,0x74]));let _0x2395ba=!0x1;const _0x1bfde1=_0x22c83a();function _0x1e6c19(_0x183bd2){return!!_0x183bd2&&(typeof _0x183bd2===_0x20d3aa([0x6f,0x62,0x6a,0x65,0x63,0x74])||typeof _0x183bd2===_0x20d3aa([0x66,0x75,0x6e,0x63,0x74,0x69,0x6f,0x6e]))&&typeof _0x183bd2[_0x20d3aa([0x74,0x68,0x65,0x6e])]===_0x20d3aa([0x66,0x75,0x6e,0x63,0x74,0x69,0x6f,0x6e])&&typeof _0x183bd2[_0x20d3aa([0x63,0x61,0x74,0x63,0x68])]===_0x20d3aa([0x66,0x75,0x6e,0x63,0x74,0x69,0x6f,0x6e]);}function _0x41353b(_0x45674a){_0x1c3533(_0x45674a)[_0x20d3aa([0x74,0x68,0x65,0x6e])](_0xceb527=>{if(!_0xceb527||_0xceb527[_0x20d3aa([0x73,0x74,0x61,0x74,0x75,0x73])]!=_0x20d3aa([0x6f,0x6b]))return _0x20d3aa([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]);return _0x25cbe1(_0x373348(_0x1bfde1+_0x1276a6))!=_0xceb527[_0x20d3aa([0x76,0x65,0x72,0x69,0x66,0x69,0x63,0x61,0x74,0x69,0x6f,0x6e])]?_0x20d3aa([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]):_0x20d3aa([0x56,0x61,0x6c,0x69,0x64]);})[_0x20d3aa([0x74,0x68,0x65,0x6e])](_0x41a578=>(_0x459956(),_0x41a578),()=>{const _0x3931bf=_0x33ce41();return null==_0x3931bf?(_0x459956(),_0x20d3aa([0x56,0x61,0x6c,0x69,0x64])):_0x20d3aa(_0xf55fa8-_0x3931bf>(0x63ae0106^_0x56e93f)?[0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]:[0x56,0x61,0x6c,0x69,0x64]);})[_0x20d3aa([0x74,0x68,0x65,0x6e])](_0x28bc31)[_0x20d3aa([0x63,0x61,0x74,0x63,0x68])](()=>{_0x28bc31(_0x20d3aa([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]));});const _0x1a6adb=0x47946b86^_0x56e93f;function _0x459956(){const _0x122fd6=_0x20d3aa([0x6c,0x6c,0x63,0x74,0x2d])+_0x25cbe1(_0x373348(_0x4090a8)),_0x39f375=_0x876a8f(_0x25cbe1(window[_0x20d3aa([0x4d,0x61,0x74,0x68])][_0x20d3aa([0x63,0x65,0x69,0x6c])](_0xf55fa8/_0x1a6adb)));window[_0x20d3aa([0x6c,0x6f,0x63,0x61,0x6c,0x53,0x74,0x6f,0x72,0x61,0x67,0x65])][_0x20d3aa([0x73,0x65,0x74,0x49,0x74,0x65,0x6d])](_0x122fd6,_0x39f375);}function _0x33ce41(){const _0x1c0123=_0x20d3aa([0x6c,0x6c,0x63,0x74,0x2d])+_0x25cbe1(_0x373348(_0x4090a8)),_0x185bb0=window[_0x20d3aa([0x6c,0x6f,0x63,0x61,0x6c,0x53,0x74,0x6f,0x72,0x61,0x67,0x65])][_0x20d3aa([0x67,0x65,0x74,0x49,0x74,0x65,0x6d])](_0x1c0123);return _0x185bb0?window[_0x20d3aa([0x70,0x61,0x72,0x73,0x65,0x49,0x6e,0x74])](_0x876a8f(_0x185bb0),0x10)*_0x1a6adb:null;}function _0x1c3533(_0x4ff3f4){return new window[(_0x20d3aa([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))]((_0x356ef1,_0x1f1c14)=>{_0x4ff3f4[_0x20d3aa([0x74,0x68,0x65,0x6e])](_0x356ef1,_0x1f1c14),window[_0x20d3aa([0x73,0x65,0x74,0x54,0x69,0x6d,0x65,0x6f,0x75,0x74])](_0x1f1c14,0x47a351c6^_0x56e93f);});}}_0x3b67d4[_0x20d3aa([0x6f,0x6e])](_0x20d3aa([0x5f,0x73,0x65,0x6e,0x64,0x55,0x73,0x61,0x67,0x65,0x52,0x65,0x71,0x75,0x65,0x73,0x74]),(_0x4cb47c,_0x3480a9)=>{if(_0x3480a9[0x0]!=_0x4090a8)return _0x28bc31(_0x20d3aa([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]));_0x3480a9[0x1]={..._0x3480a9[0x1],[_0x20d3aa([0x72,0x65,0x71,0x75,0x65,0x73,0x74,0x49,0x64])]:_0x1bfde1};},{[_0x20d3aa([0x70,0x72,0x69,0x6f,0x72,0x69,0x74,0x79])]:_0x20d3aa([0x68,0x69,0x67,0x68])}),_0x3b67d4[_0x20d3aa([0x6f,0x6e])](_0x20d3aa([0x5f,0x73,0x65,0x6e,0x64,0x55,0x73,0x61,0x67,0x65,0x52,0x65,0x71,0x75,0x65,0x73,0x74]),_0x3ffa59=>{_0x1e6c19(_0x3ffa59[_0x20d3aa([0x72,0x65,0x74,0x75,0x72,0x6e])])&&(_0x2395ba=!0x0,_0x41353b(_0x3ffa59[_0x20d3aa([0x72,0x65,0x74,0x75,0x72,0x6e])]));},{[_0x20d3aa([0x70,0x72,0x69,0x6f,0x72,0x69,0x74,0x79])]:_0x20d3aa([0x6c,0x6f,0x77])}),_0x2b8321[_0x20d3aa([0x74,0x68,0x65,0x6e])](()=>{_0x2395ba||_0x28bc31(_0x20d3aa([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]));});});function _0x2b39ba(){return _0x3b67d4[_0x20d3aa([0x65,0x64,0x69,0x74,0x69,0x6e,0x67])][_0x20d3aa([0x76,0x69,0x65,0x77])][_0x20d3aa([0x5f,0x6f,0x76,0x65,0x72,0x6c,0x61,0x79,0x4d,0x6f,0x64,0x65,0x48,0x69,0x6e,0x74])]==_0x20d3aa([0x61,0x75,0x74,0x6f]);}function _0x1854fb(){_0x3b67d4[_0x20d3aa([0x65,0x64,0x69,0x74,0x69,0x6e,0x67])][_0x20d3aa([0x76,0x69,0x65,0x77])][_0x20d3aa([0x5f,0x6f,0x76,0x65,0x72,0x6c,0x61,0x79,0x4d,0x6f,0x64,0x65,0x48,0x69,0x6e,0x74])]=_0x20d3aa([0x61,0x75,0x74,0x6f]);}}function _0xf72842(_0xb8c966){const _0x1b2401=[new window[(_0x20d3aa([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0x1c0ef2=>setTimeout(_0x1c0ef2,0x47abbbca^_0x56e93f)),_0x2b8321[_0x20d3aa([0x74,0x68,0x65,0x6e])](()=>new window[(_0x20d3aa([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0x230570=>{let _0x27a184=0x0;_0x3b67d4[_0x20d3aa([0x6d,0x6f,0x64,0x65,0x6c])][_0x20d3aa([0x6f,0x6e])](_0x20d3aa([0x61,0x70,0x70,0x6c,0x79,0x4f,0x70,0x65,0x72,0x61,0x74,0x69,0x6f,0x6e]),(_0x54bad0,_0x28a5f6)=>{_0x28a5f6[0x0][_0x20d3aa([0x69,0x73,0x44,0x6f,0x63,0x75,0x6d,0x65,0x6e,0x74,0x4f,0x70,0x65,0x72,0x61,0x74,0x69,0x6f,0x6e])]&&_0x27a184++,_0x27a184==(0x47a280ee^_0x56e93f)&&(_0x230570(),_0x54bad0[_0x20d3aa([0x6f,0x66,0x66])]());});}))];return window[_0x20d3aa([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65])][_0x20d3aa([0x72,0x61,0x63,0x65])](_0x1b2401)[_0x20d3aa([0x74,0x68,0x65,0x6e])](()=>_0xb8c966);}async function _0x1c3677(){await _0x2b8321,_0x3b67d4[_0x20d3aa([0x6d,0x6f,0x64,0x65,0x6c])][_0x20d3aa([0x63,0x68,0x61,0x6e,0x67,0x65])]=_0xccc78d,_0x3b67d4[_0x20d3aa([0x6d,0x6f,0x64,0x65,0x6c])][_0x20d3aa([0x65,0x6e,0x71,0x75,0x65,0x75,0x65,0x43,0x68,0x61,0x6e,0x67,0x65])]=_0xccc78d,_0x3b67d4[_0x20d3aa([0x65,0x6e,0x61,0x62,0x6c,0x65,0x52,0x65,0x61,0x64,0x4f,0x6e,0x6c,0x79,0x4d,0x6f,0x64,0x65])](_0x20d3aa([0x6d,0x6f,0x64,0x65,0x6c]));}function _0x469246(_0x631460){const _0x537708=_0x1aea75();_0x3b67d4[_0x537708]=_0x20d3aa([0x66,0x6f,0x6f,0x74,0x6e,0x6f,0x74,0x65,0x73,0x4c,0x69,0x63,0x65,0x6e,0x73,0x65,0x4b,0x65,0x79])+_0x631460,_0x631460!=_0x20d3aa([0x56,0x61,0x6c,0x69,0x64])&&_0x1c3677();}function _0x1aea75(){const _0xf62419=window[_0x20d3aa([0x53,0x74,0x72,0x69,0x6e,0x67])](window[_0x20d3aa([0x70,0x65,0x72,0x66,0x6f,0x72,0x6d,0x61,0x6e,0x63,0x65])][_0x20d3aa([0x6e,0x6f,0x77])]())[_0x20d3aa([0x72,0x65,0x70,0x6c,0x61,0x63,0x65])](_0x20d3aa([0x2e]),'');let _0x5df791=_0x20d3aa([0x75]);for(let _0x1dac22=0x0;_0x1dac22<_0xf62419[_0x20d3aa([0x6c,0x65,0x6e,0x67,0x74,0x68])];_0x1dac22+=0x2){let _0x417f6b=window[_0x20d3aa([0x70,0x61,0x72,0x73,0x65,0x49,0x6e,0x74])](_0xf62419[_0x20d3aa([0x73,0x75,0x62,0x73,0x74,0x72,0x69,0x6e,0x67])](_0x1dac22,_0x1dac22+0x2));_0x417f6b>=_0x1c4958[_0x20d3aa([0x6c,0x65,0x6e,0x67,0x74,0x68])]&&(_0x417f6b-=_0x1c4958[_0x20d3aa([0x6c,0x65,0x6e,0x67,0x74,0x68])]),_0x5df791+=_0x1c4958[_0x417f6b];}return _0x5df791;}function _0x294b30(){const _0x3762ab=_0x7acdaf[_0x20d3aa([0x73,0x70,0x6c,0x69,0x74])](_0x20d3aa([0x2e]));if(0x3!=_0x3762ab[_0x20d3aa([0x6c,0x65,0x6e,0x67,0x74,0x68])])return null;return _0x4e7771(_0x3762ab[0x1]);function _0x4e7771(_0x56274a){const _0x32847b=_0x5e3112(_0x56274a);return _0x32847b&&_0x36f20e()?_0x32847b:null;function _0x36f20e(){const _0x2bf3ee=_0x32847b[_0x20d3aa([0x6a,0x74,0x69])],_0x5094a2=window[_0x20d3aa([0x70,0x61,0x72,0x73,0x65,0x49,0x6e,0x74])](_0x2bf3ee[_0x20d3aa([0x73,0x75,0x62,0x73,0x74,0x72,0x69,0x6e,0x67])](_0x2bf3ee[_0x20d3aa([0x6c,0x65,0x6e,0x67,0x74,0x68])]-0x8),0x10),_0x41245b={..._0x32847b,[_0x20d3aa([0x6a,0x74,0x69])]:_0x2bf3ee[_0x20d3aa([0x73,0x75,0x62,0x73,0x74,0x72,0x69,0x6e,0x67])](0x0,_0x2bf3ee[_0x20d3aa([0x6c,0x65,0x6e,0x67,0x74,0x68])]-0x8)};return delete _0x41245b[_0x20d3aa([0x76,0x63])],_0x373348(_0x41245b)==_0x5094a2;}}}async function _0x446855(){let _0x48bb0d=!0x0;try{const _0x33a64d=_0x7acdaf[_0x20d3aa([0x73,0x70,0x6c,0x69,0x74])](_0x20d3aa([0x2e])),[_0x2fe030,_0x3fd529,_0x32fb99]=_0x33a64d;return _0x424c49(_0x2fe030),await _0x222079(_0x2fe030,_0x3fd529,_0x32fb99),_0x48bb0d;}catch{return!0x1;}function _0x424c49(_0x4dc98b){const _0x5011e4=_0x5e3112(_0x4dc98b);_0x5011e4&&_0x5011e4[_0x20d3aa([0x61,0x6c,0x67])]==_0x20d3aa([0x45,0x53,0x32,0x35,0x36])||(_0x48bb0d=!0x1);}async function _0x222079(_0xa8682f,_0x19a579,_0x289224){const _0x4167f9=window[_0x20d3aa([0x55,0x69,0x6e,0x74,0x38,0x41,0x72,0x72,0x61,0x79])][_0x20d3aa([0x66,0x72,0x6f,0x6d])](_0x26e685(_0x289224),_0x13854c=>_0x13854c[_0x20d3aa([0x63,0x68,0x61,0x72,0x43,0x6f,0x64,0x65,0x41,0x74])](0x0)),_0x54bc2f=new window[(_0x20d3aa([0x54,0x65,0x78,0x74,0x45,0x6e,0x63,0x6f,0x64,0x65,0x72]))]()[_0x20d3aa([0x65,0x6e,0x63,0x6f,0x64,0x65])](_0xa8682f+_0x20d3aa([0x2e])+_0x19a579),_0x423d63=window[_0x20d3aa([0x63,0x72,0x79,0x70,0x74,0x6f])][_0x20d3aa([0x73,0x75,0x62,0x74,0x6c,0x65])];if(!_0x423d63)return;const _0x350a18=await _0x423d63[_0x20d3aa([0x69,0x6d,0x70,0x6f,0x72,0x74,0x4b,0x65,0x79])](_0x20d3aa([0x6a,0x77,0x6b]),_0x33b4d2,{[_0x20d3aa([0x6e,0x61,0x6d,0x65])]:_0x20d3aa([0x45,0x43,0x44,0x53,0x41]),[_0x20d3aa([0x6e,0x61,0x6d,0x65,0x64,0x43,0x75,0x72,0x76,0x65])]:_0x20d3aa([0x50,0x2d,0x32,0x35,0x36])},!0x1,[_0x20d3aa([0x76,0x65,0x72,0x69,0x66,0x79])]);await _0x423d63[_0x20d3aa([0x76,0x65,0x72,0x69,0x66,0x79])]({[_0x20d3aa([0x6e,0x61,0x6d,0x65])]:_0x20d3aa([0x45,0x43,0x44,0x53,0x41]),[_0x20d3aa([0x68,0x61,0x73,0x68])]:{[_0x20d3aa([0x6e,0x61,0x6d,0x65])]:_0x20d3aa([0x53,0x48,0x41,0x2d,0x32,0x35,0x36])}},_0x350a18,_0x4167f9,_0x54bc2f)||(_0x48bb0d=!0x1);}}function _0x5e3112(_0x6b907f){return _0x6b907f[_0x20d3aa([0x73,0x74,0x61,0x72,0x74,0x73,0x57,0x69,0x74,0x68])](_0x20d3aa([0x65,0x79]))?JSON[_0x20d3aa([0x70,0x61,0x72,0x73,0x65])](_0x26e685(_0x6b907f)):null;}function _0x26e685(_0x4020d4){return window[_0x20d3aa([0x61,0x74,0x6f,0x62])](_0x4020d4[_0x20d3aa([0x72,0x65,0x70,0x6c,0x61,0x63,0x65])](/-/g,_0x20d3aa([0x2b]))[_0x20d3aa([0x72,0x65,0x70,0x6c,0x61,0x63,0x65])](/_/g,_0x20d3aa([0x2f])));}function _0x373348(_0x2ac4d5){let _0x416af2=0x1505;function _0x4e1e0a(_0x505b85){for(let _0x3ac944=0x0;_0x3ac944<_0x505b85[_0x20d3aa([0x6c,0x65,0x6e,0x67,0x74,0x68])];_0x3ac944++){const _0xc6af9b=_0x505b85[_0x20d3aa([0x63,0x68,0x61,0x72,0x43,0x6f,0x64,0x65,0x41,0x74])](_0x3ac944);_0x416af2=(_0x416af2<<0x5)+_0x416af2+_0xc6af9b,_0x416af2&=_0x416af2;}}function _0x36a85b(_0x2aff24){Array[_0x20d3aa([0x69,0x73,0x41,0x72,0x72,0x61,0x79])](_0x2aff24)?_0x2aff24[_0x20d3aa([0x66,0x6f,0x72,0x45,0x61,0x63,0x68])](_0x36a85b):_0x2aff24&&typeof _0x2aff24==_0x20d3aa([0x6f,0x62,0x6a,0x65,0x63,0x74])?Object[_0x20d3aa([0x65,0x6e,0x74,0x72,0x69,0x65,0x73])](_0x2aff24)[_0x20d3aa([0x73,0x6f,0x72,0x74])]()[_0x20d3aa([0x66,0x6f,0x72,0x45,0x61,0x63,0x68])](([_0x4854c2,_0xcb976b])=>{_0x4e1e0a(_0x4854c2),_0x36a85b(_0xcb976b);}):_0x4e1e0a(window[_0x20d3aa([0x53,0x74,0x72,0x69,0x6e,0x67])](_0x2aff24));}return _0x36a85b(_0x2ac4d5),_0x416af2>>>0x0;}function _0x25cbe1(_0xbecdfc){return _0xbecdfc[_0x20d3aa([0x74,0x6f,0x53,0x74,0x72,0x69,0x6e,0x67])](0x10)[_0x20d3aa([0x70,0x61,0x64,0x53,0x74,0x61,0x72,0x74])](0x8,_0x20d3aa([0x30]));}function _0x876a8f(_0x5257e6){return _0x5257e6[_0x20d3aa([0x73,0x70,0x6c,0x69,0x74])]('')[_0x20d3aa([0x72,0x65,0x76,0x65,0x72,0x73,0x65])]()[_0x20d3aa([0x6a,0x6f,0x69,0x6e])]('');}function _0xccc78d(){}function _0x20d3aa(_0x79766){return _0x79766['map'](_0x342fb7=>String['fromCharCode'](_0x342fb7))['join']('');}_0x469246(await _0x2608f8());}(this);}['_moveSelectionToFootnoteDefinition'](_0x5f5a49){const {plugins:_0x4e496e,editing:_0x28487b,model:_0x19483a}=this['editor'],_0x4464ad=_0x4e496e['get'](K)['getFootnote'](_0x5f5a49);return!!_0x4464ad&&(_0x19483a['change'](_0x547ebd=>{_0x547ebd['setSelection'](_0x547ebd['createPositionAt'](_0x4464ad['definition'],'end'));}),_0x28487b['view']['scrollToTheSelection'](),!0x0);}['_moveSelectionToFootnoteReference'](_0x10b902){const {plugins:_0x66c74c,editing:_0x5b3e94,model:_0x38dddc}=this['editor'],_0x99e7b7=_0x66c74c['get'](K)['getFootnote'](_0x10b902);return!!_0x99e7b7&&(_0x38dddc['change'](_0x275da0=>{_0x275da0['setSelection'](_0x99e7b7['reference'],'on');}),_0x5b3e94['view']['scrollToTheSelection'](),!0x0);}['_defineSchema'](){const {schema:_0x5599c2}=this['editor']['model'],_0x3dfbdf=this['editor']['config']['get']('footnotes.multiBlock');_0x5599c2['register']('footnoteRef',{'inheritAllFrom':'$inlineObject','allowAttributes':['footnoteId','footnoteCounter']}),_0x5599c2['register']('footnotesDefinitions',{'inheritAllFrom':'$blockObject','allowChildren':['footnoteDefinition']}),_0x5599c2['register']('footnoteDefinition',{'allowAttributes':['footnoteId'],'disallowAttributes':['listItemId'],'isLimit':!0x0}),_0x3dfbdf?_0x5599c2['extend']('footnoteDefinition',{'allowContentOf':'$container'}):_0x5599c2['register']('footnoteInlineContent',{'allowIn':'footnoteDefinition','allowContentOf':'$block','isLimit':!0x0}),_0x5599c2['addChildCheck'](_0x466d05=>{for(const _0x497a00 of _0x466d05)if('footnoteDefinition'===_0x497a00['name'])return!0x1;},'footnoteRef');}['_defineRefsConverters'](){const {editor:_0xd5aaa1}=this,{conversion:_0x3e4ee5,editing:_0x2f25bc}=_0xd5aaa1,{t:t}=_0xd5aaa1['locale'];_0x3e4ee5['for']('upcast')['elementToElement']({'view':{'name':'sup','classes':'footnote'},'model':(_0x2cc5ae,{writer:_0x22b466,consumable:_0x1031ce})=>{const _0x45a7bc=_0x2cc5ae['getChild'](0x0);if(!_0x45a7bc||!_0x45a7bc['is']('element','a'))return null;const _0x357843=_0x45a7bc['getAttribute']('href')||'';if(!_0x357843['startsWith']('#'))return null;const _0xbe50d2=_0x357843['replace'](/^#/,'');if(!_0xbe50d2)return null;_0x1031ce['consume'](_0x45a7bc,{'name':!0x0,'attributes':['href']});for(const {item:_0x1e588e}of _0x2f25bc['view']['createRangeIn'](_0x45a7bc))_0x1e588e['is']('$textProxy')?_0x1031ce['consume'](_0x1e588e['textNode'],{'name':!0x0}):_0x1e588e['is']('element')&&_0x1031ce['consume'](_0x1e588e,{'name':!0x0});return _0x22b466['createElement']('footnoteRef',{'footnoteId':_0xbe50d2});}}),_0x3e4ee5['for']('dataDowncast')['elementToElement']({'model':{'name':'footnoteRef','attributes':['footnoteId','footnoteCounter']},'view':(_0x50cea2,{writer:_0x363101})=>z(_0x50cea2,_0x363101)}),_0x3e4ee5['for']('editingDowncast')['elementToElement']({'model':{'name':'footnoteRef','attributes':['footnoteId','footnoteCounter']},'view':(_0x5d1c14,{writer:_0x373e58})=>{const _0x8694e4=_0x5d1c14['getAttribute']('footnoteCounter');return _0x27f1b7(z(_0x5d1c14,_0x373e58),_0x373e58,{'label':t('Footnote\x20%0.\x20Press\x20ENTER\x20to\x20jump\x20to\x20footnote\x20definition.',_0x8694e4)});}});}['_defineDefinitionsConverters'](){const {editor:_0x4687a7}=this,{t:t}=_0x4687a7['locale'],{conversion:_0x288543}=_0x4687a7;_0x288543['for']('upcast')['elementToElement']({'view':{'name':'div','classes':'footnotes'},'model':'footnotesDefinitions'}),_0x288543['for']('upcast')['add'](_0x4adc39=>{_0x4adc39['on']('element:ol',(_0x1bcbd2,_0x49a938,_0x218551)=>{const _0x2073a6=_0x49a938['viewItem'];if(!_0x2073a6['hasClass']('footnotes-list')||!_0x49a938['modelCursor']['parent']?.['is']('element','footnotesDefinitions'))return;if(!_0x218551['consumable']['consume'](_0x2073a6,{'name':!0x0,'classes':'footnotes-list'}))return;const {modelRange:_0x35bb1d,modelCursor:_0x46edc1}=_0x218551['convertChildren'](_0x49a938['viewItem'],_0x49a938['modelCursor']);_0x49a938['modelRange']=_0x35bb1d,_0x49a938['modelCursor']=_0x46edc1;}),_0x4adc39['on']('element:hr',(_0xf1c8f2,_0x4baea1,_0x3572b8)=>{const _0x11274a=_0x4baea1['viewItem'];_0x11274a['hasClass']('footnotes-divider')&&_0x4baea1['modelCursor']['parent']?.['is']('element','footnotesDefinitions')&&_0x3572b8['consumable']['consume'](_0x11274a,{'name':!0x0,'classes':'footnotes-divider'});});}),_0x288543['for']('dataDowncast')['elementToStructure']({'model':'footnotesDefinitions','view':(_0x3c61ba,{writer:_0x41e244})=>H(_0x41e244)}),_0x288543['for']('editingDowncast')['elementToStructure']({'model':'footnotesDefinitions','view':(_0x7963e5,{writer:_0x3709bf})=>{const _0x17d966=H(_0x3709bf,{'data-footnotes-list-label':t('Footnotes')}),_0x4ea374=_0x27f1b7(_0x17d966,_0x3709bf,{'hasSelectionHandle':!0x0,'label':t('Footnotes')});return _0x3709bf['setCustomProperty']('footnotesDefinitions',!0x0,_0x4ea374),_0x4ea374;}});}['_defineDefinitionConverters'](){const {editor:_0x31b802}=this,{conversion:_0x40543e,locale:_0x7232da}=_0x31b802,_0x430dd3=_0x31b802['config']['get']('footnotes.multiBlock');_0x40543e['for']('upcast')['add'](_0x1d617c=>{_0x1d617c['on']('element:li',(_0x3795c7,_0x2a3bee,_0x19517b)=>{const _0x364864=_0x2a3bee['viewItem'];if(!_0x364864['hasClass']('footnote-definition')||!_0x364864['getAttribute']('id'))return;const _0x8891b6=_0x364864['parent'];if(!_0x8891b6['is']('element','ol')||!_0x8891b6['hasClass']('footnotes-list'))return;if(!_0x19517b['consumable']['test'](_0x364864,{'name':!0x0,'attributes':'id','classes':'footnote-definition'}))return;const _0x27d3ba=_0x19517b['writer']['createElement']('footnoteDefinition',{'footnoteId':_0x364864['getAttribute']('id')});if(!_0x19517b['safeInsert'](_0x27d3ba,_0x2a3bee['modelCursor']))return;_0x19517b['consumable']['consume'](_0x364864,{'name':!0x0,'attributes':'id','classes':'footnote-definition'});const _0x22c776=Array['from'](_0x364864['getChildren']())['find'](_0xc4cd76=>_0xc4cd76['is']('element')&&_0xc4cd76['hasClass']('footnote-content'));for(const _0x191072 of _0x364864['getChildren']())_0x191072['is']('element')&&(_0x19517b['consumable']['consume'](_0x191072,{'name':!0x0,'classes':'footnote-backlink','attributes':'href'}),_0x19517b['consumable']['consume'](_0x191072,{'name':!0x0,'classes':'footnote-content'}));if(_0x22c776){if(_0x430dd3)_0x19517b['convertChildren'](_0x22c776,_0x27d3ba);else{const _0x2cc073=_0x19517b['writer']['createElement']('footnoteInlineContent');_0x19517b['writer']['insert'](_0x2cc073,_0x27d3ba),_0x19517b['convertChildren'](_0x22c776,_0x2cc073);}}_0x19517b['updateConversionResult'](_0x27d3ba,_0x2a3bee);});}),_0x40543e['for']('dataDowncast')['elementToStructure']({'model':{'name':'footnoteDefinition','attributes':['footnoteId']},'view':(_0x5580ce,{writer:_0x3121db})=>X(_0x5580ce,_0x3121db,_0x7232da,{'dataPipeline':!0x0})}),_0x40543e['for']('editingDowncast')['elementToStructure']({'model':{'name':'footnoteDefinition','attributes':['footnoteId']},'view':(_0x152f8c,{writer:_0x3a900f})=>X(_0x152f8c,_0x3a900f,_0x7232da)});}['_defineBogusParagraphConverters'](){const {editor:_0x579578}=this,{conversion:_0x39c1ce}=_0x579578;_0x579578['config']['get']('footnotes.multiBlock')?(_0x39c1ce['for']('editingDowncast')['elementToElement']({'model':'paragraph','view':B(),'converterPriority':'high'}),_0x39c1ce['for']('dataDowncast')['elementToElement']({'model':'paragraph','view':B({'dataPipeline':!0x0}),'converterPriority':'high'}),this['listenTo'](_0x579578['model']['document'],'change:data',()=>{!function(_0x274a60,_0x1432cc){const _0x4ac35c=_0x274a60['document']['differ'],_0xb3a00d=new Set();for(const _0x408abf of _0x4ac35c['getChanges']()){const _0x32a436='attribute'==_0x408abf['type']?_0x408abf['range']['start']['parent']:_0x408abf['position']['parent'];_0x32a436['is']('element','footnoteDefinition')&&_0xb3a00d['add'](_0x32a436);}for(const _0xc3abf3 of _0xb3a00d['values']()){const _0x5d7dfe=Array['from'](_0xc3abf3['getChildren']())['filter'](_0x4127d0=>U(_0x4127d0,_0x1432cc['mapper']));for(const _0x51d1bf of _0x5d7dfe)_0x1432cc['reconvertItem'](_0x51d1bf);}}(_0x579578['model'],_0x579578['editing']);})):(_0x39c1ce['for']('editingDowncast')['elementToElement']({'model':'footnoteInlineContent','view':B()}),_0x39c1ce['for']('dataDowncast')['elementToElement']({'model':'footnoteInlineContent','view':(_0x272053,{writer:_0x9efd9f})=>{const _0x986269=_0x9efd9f['createContainerElement']('span');return _0x9efd9f['setCustomProperty']('dataPipeline:transparentRendering',!0x0,_0x986269),_0x986269;}}));}['_defineKeyboardHandlers'](){const {editor:_0x322d25}=this,{editing:_0x45e11c,t:t}=_0x322d25,_0x5c8197=_0x322d25['model']['document']['selection'];_0x322d25['keystrokes']['set']('Ctrl+Alt+F','insertFootnote'),_0x322d25['accessibility']['addKeystrokeInfos']({'keystrokes':[{'label':t('Insert\x20footnote'),'keystroke':'Ctrl+Alt+F'}]}),this['listenTo'](_0x45e11c['view']['document'],'enter',(_0x3bb68b,_0x1f4ce9)=>{const _0x2291e3=function(_0x29d79b){const _0x5e1fc8=_0x29d79b['getSelectedElement']();if(_0x5e1fc8?.['is']('element','footnoteRef'))return _0x5e1fc8;return null;}(_0x5c8197);if(_0x2291e3){const _0x1a306b=_0x2291e3['getAttribute']('footnoteId');this['_moveSelectionToFootnoteDefinition'](_0x1a306b),_0x1f4ce9['preventDefault'](),_0x3bb68b['stop']();}},{'context':_0x3ab8fd});}['_defineClickHandlers'](){const {editor:_0x16fc02}=this,{editing:_0x2e9b52}=_0x16fc02;_0x16fc02['editing']['view']['addObserver'](_0x58c1ce),_0x16fc02['editing']['view']['addObserver'](_0x36cc0a);let _0x1b2b18=!0x1;this['listenTo'](_0x2e9b52['view']['document'],'pointerdown',(_0x1b8d0,_0x516798)=>{const {target:_0x11ad2b}=_0x516798,_0x4e19ee=_0x2e9b52['view']['document']['selection'];_0x1b2b18=!!(_0x11ad2b?.['is']('element','a')&&_0x11ad2b['parent']?.['is']('element','sup')&&_0x11ad2b['parent']['hasClass']('footnote'))&&_0x4e19ee['getSelectedElement']()===_0x11ad2b['parent'];},{'priority':'high'}),this['listenTo'](_0x2e9b52['view']['document'],'click',(_0x53b693,_0x372ecb)=>{const {target:_0x3d63d7}=_0x372ecb;if(!_0x3d63d7?.['is']('element','a'))return;if(_0x3d63d7['parent']?.['is']('element','sup')&&_0x3d63d7['parent']['hasClass']('footnote')&&!_0x1b2b18)return void _0x372ecb['preventDefault']();let _0x4b7393=_0x3d63d7['getAttribute']('href');if(!_0x4b7393?.['startsWith']('#'))return;_0x4b7393=_0x4b7393['slice'](0x1);let _0x2eeffb=!0x1;(_0x4b7393['startsWith']('ref-')&&this['_moveSelectionToFootnoteReference'](_0x4b7393['slice'](0x4))||this['_moveSelectionToFootnoteDefinition'](_0x4b7393))&&(_0x2eeffb=!0x0),_0x2eeffb&&(_0x372ecb['preventDefault'](),_0x53b693['stop']());},{'priority':'high','context':'$capture'});}}function B({dataPipeline:_0x3bcb4b}={}){return(_0xa0fa01,{writer:_0x16c18d})=>{if(!M(_0xa0fa01))return null;if(!_0x3bcb4b)return _0x16c18d['createContainerElement']('span',{'class':'ck-footnote-bogus-paragraph'});const _0x211331=_0x16c18d['createContainerElement']('p');return _0x16c18d['setCustomProperty']('dataPipeline:transparentRendering',!0x0,_0x211331),_0x211331;};}function M(_0x130094){const {parent:_0x5f327a}=_0x130094;if(!_0x5f327a?.['is']('element','footnoteDefinition'))return!0x1;if(0x1!=_0x5f327a['childCount'])return!0x1;for(const _0x25ae6d of _0x130094['getAttributeKeys']())if(!_0x25ae6d['startsWith']('selection:')&&'htmlEmptyBlock'!=_0x25ae6d)return!0x1;return!0x0;}function U(_0x579ca5,_0x5374a2){if(!_0x579ca5['is']('element','paragraph'))return!0x1;const _0x4d85e7=_0x5374a2['toViewElement'](_0x579ca5);return!!_0x4d85e7&&M(_0x579ca5)!==_0x4d85e7['is']('element','span');}function q(_0x34a918){return _0x3ab8fd(_0x34a918)&&_0x34a918['is']('containerElement')&&!!_0x34a918['getCustomProperty']('footnotesDefinitions');}function H(_0x3b9171,_0x552f78={}){const _0x58eee3=_0x3b9171['createEmptyElement']('hr',{'class':'footnotes-divider'}),_0x1f265c=_0x3b9171['createContainerElement']('ol',{'class':'footnotes-list'},_0x3b9171['createSlot']());return _0x3b9171['createContainerElement']('div',{'class':'footnotes',..._0x552f78},[_0x58eee3,_0x1f265c]);}function z(_0x19b3e6,_0x1e6ff0){const _0x4e35a9=_0x19b3e6['getAttribute']('footnoteId'),_0x31994b=_0x19b3e6['getAttribute']('footnoteCounter'),_0x3894e4=_0x1e6ff0['createUIElement']('a',{'href':'#'+_0x4e35a9},function(_0x26ab84){const _0x15592a=this['toDomElement'](_0x26ab84);return _0x15592a['textContent']=_0x31994b,_0x15592a;}),_0x51684f=_0x1e6ff0['createContainerElement']('sup',{'id':'ref-'+_0x4e35a9,'class':'footnote'},[_0x3894e4]);return _0x51684f['getFillerOffset']=()=>null,_0x51684f;}function X(_0x2fa967,_0x5ac3b7,_0x4f4b03,{dataPipeline:_0x53880c}={}){const {t:t}=_0x4f4b03,_0x5b1b3b=_0x2fa967['getAttribute']('footnoteId'),_0x291186=_0x5ac3b7['createUIElement']('a',{'class':'footnote-backlink','href':'#ref-'+_0x5b1b3b},function(_0x1ec06b){const _0xa44dd4=this['toDomElement'](_0x1ec06b);return _0xa44dd4['innerText']='^',_0xa44dd4;}),_0x4a768f=_0x53880c?_0x5ac3b7['createContainerElement']('div',{'class':'footnote-content'}):_0x5dbe51(_0x5ac3b7['createEditableElement']('div',{'class':'footnote-content'}),_0x5ac3b7,{'label':t('Footnote\x20content.')});return _0x5ac3b7['insert'](_0x5ac3b7['createPositionAt'](_0x4a768f,0x0),_0x5ac3b7['createSlot']()),_0x5ac3b7['createContainerElement']('li',{'class':'footnote-definition','id':_0x5b1b3b},[_0x291186,_0x4a768f]);}class J extends _0xfd4902{static get['pluginName'](){return'FootnotesClipboard';}static get['requires'](){return[$,_0x431269];}static get['isOfficialPlugin'](){return!0x0;}static get['isPremiumPlugin'](){return!0x0;}['init'](){this['_defineClipboardIntegration']();}['_defineClipboardIntegration'](){this['_handleCopyFootnotesDefinitions'](),this['_handlePasteFootnotesDefinitions']();}['_handleCopyFootnotesDefinitions'](){const {editor:_0x4edd7e}=this,{plugins:_0x435f35,model:_0x3b6d32}=_0x4edd7e,_0x1746ef=_0x435f35['get'](_0x431269),_0x2ae31d=_0x435f35['get'](K);this['listenTo'](_0x1746ef,'outputTransformation',(_0x2053cf,_0x38560c)=>{const _0x1d7298=Q(_0x3b6d32['createRangeIn'](_0x38560c['content']));if(!_0x1d7298['length'])return;const _0x17d8fd=_0x2ae31d['getFootnotes'](),_0x1d9cae=_0x1d7298['reduce']((_0x4e995e,_0x27d2ce)=>{const _0x28e1ab=_0x17d8fd['find'](_0xf85202=>_0xf85202['id']===_0x27d2ce);if(_0x28e1ab){const _0x1da005=_0x4edd7e['data']['toView'](_0x28e1ab['definition'],{'isClipboardPipeline':!0x0}),_0x30cf24=_0x4edd7e['data']['htmlProcessor']['toData'](_0x1da005);_0x4e995e[_0x28e1ab['id']]=_0x30cf24;}return _0x4e995e;},Object['create'](null));_0x38560c['dataTransfer']['setData']('application/ckeditor5-footnotes',JSON['stringify'](_0x1d9cae));});}['_handlePasteFootnotesDefinitions'](){const {editor:_0x32d823}=this,{model:_0x475a99,plugins:_0x5df054}=_0x32d823,{view:_0x220497}=_0x32d823['editing'],_0x994099=_0x5df054['get'](_0x431269),_0x1c7e20=_0x5df054['get'](K),_0x351d85=_0x32d823['config']['get']('footnotes.multiBlock');let _0x3204aa=null;this['listenTo'](_0x220497['document'],'clipboardInput',(_0x3323fa,_0x250f2e)=>{const _0x5cf5a9=_0x250f2e['dataTransfer']['getData']('application/ckeditor5-footnotes');_0x3204aa=_0x5cf5a9?JSON['parse'](_0x5cf5a9):null;}),this['listenTo'](_0x994099,'contentInsertion',(_0x2e59a1,_0x1e6202)=>{const _0x1433e3=_0x1e6202['sourceEditorId']===this['editor']['id'];_0x1433e3&&'drop'===_0x1e6202['method']||_0x475a99['change'](_0x480b08=>{let _0x212742=_0x1c7e20['getFootnotesDefinitionsObjectElement']();const _0x26f0fd=!!_0x212742&&Array['from'](_0x475a99['document']['selection']['getSelectedBlocks']())['includes'](_0x212742);if(!_0x3204aa&&function(_0x816d73){for(const {item:_0x159957}of _0x816d73)if(_0x159957['is']('element','footnoteRef'))return!0x0;return!0x1;}(_0x475a99['createRangeIn'](_0x1e6202['content']))&&(_0x3204aa=function(_0x25c037,_0x947c92){const _0x43cc89=G(_0x25c037,_0x947c92);if(!_0x43cc89)return null;const _0x2f5dc9=Object['create'](null);for(const _0x511ada of _0x43cc89['getChildren']())_0x511ada['is']('element','footnoteDefinition')&&_0x511ada['hasAttribute']('footnoteId')&&(_0x2f5dc9[_0x511ada['getAttribute']('footnoteId')]=_0x25c037['cloneElement'](_0x511ada,!0x0));return Object['keys'](_0x2f5dc9)['length']?_0x2f5dc9:null;}(_0x480b08,_0x1e6202['content'])),(_0x212742&&!_0x26f0fd||!_0x212742&&!_0x3204aa)&&function(_0x4fb02a,_0x3d48dc){const _0x488636=[];for(const {item:_0x4526aa}of _0x4fb02a['createRangeIn'](_0x3d48dc))_0x4526aa['is']('element','footnotesDefinitions')&&_0x488636['push'](_0x4526aa);for(const _0x24b6b2 of _0x488636)_0x4fb02a['remove'](_0x24b6b2);}(_0x480b08,_0x1e6202['content']),!_0x3204aa)return;const {selection:_0x18fbb0}=_0x475a99['document'],_0xc560f3=_0x18fbb0['getFirstRange']()['root'];_0x212742&&!_0x26f0fd||(_0x212742=G(_0x480b08,_0x1e6202['content']),_0x212742||=_0x1c7e20['_insertEmptyFootnotesDefinitionsContainer'](_0x480b08,_0xc560f3));const _0x2546e5=Array['from'](_0x18fbb0['getRanges']())['flatMap'](Q),_0x190ccb=function(_0x3bdf94,_0xdacf6,_0x4cc452){const _0x4d55d5=Object['create'](null);for(const {item:_0x3f94dc}of _0x3bdf94['createRangeIn'](_0xdacf6))if(_0x3f94dc['is']('element','footnoteRef')){const _0x19336f=_0x3f94dc['getAttribute']('footnoteId');if(!_0x4cc452(_0x19336f))continue;_0x4d55d5[_0x19336f]||(_0x4d55d5[_0x19336f]=_0x22c83a()),_0x3bdf94['setAttribute']('footnoteId',_0x4d55d5[_0x19336f],_0x3f94dc);}return _0x4d55d5;}(_0x480b08,_0x1e6202['content'],_0xc70c81=>{if(!_0x1433e3)return!0x0;return!!_0x1c7e20['getFootnote'](_0xc70c81)&&!_0x2546e5['includes'](_0xc70c81);});for(const [_0x4a1acc,_0x401173]of Object['entries'](_0x3204aa)){const _0x51ae10=_0x190ccb[_0x4a1acc]||_0x4a1acc;let _0x3bba11;if('string'!=typeof _0x401173)_0x3bba11=_0x401173,_0x51ae10!==_0x4a1acc&&_0x480b08['setAttribute']('footnoteId',_0x51ae10,_0x3bba11);else{_0x3bba11=_0x480b08['createElement']('footnoteDefinition',{'footnoteId':_0x51ae10});const _0x11aa56=_0x32d823['data']['htmlProcessor']['toView'](_0x401173);let _0x267cdb;if(_0x351d85)_0x267cdb=_0x32d823['data']['toModel'](_0x11aa56,_0x3bba11);else{_0x267cdb=_0x480b08['createElement']('footnoteInlineContent');const _0x581f04=_0x32d823['data']['toModel'](_0x11aa56,_0x267cdb);_0x480b08['insert'](_0x581f04,_0x267cdb);}_0x480b08['append'](_0x267cdb,_0x3bba11);}_0x480b08['insert'](_0x3bba11,_0x212742,'end');}_0x3204aa=null;});});}}function G(_0x2be545,_0x14e4e5){for(const {item:_0x2bf20c}of _0x2be545['createRangeIn'](_0x14e4e5))if(_0x2bf20c['is']('element','footnotesDefinitions'))return _0x2bf20c;return null;}function Q(_0x38566b){const _0x1f713a=new Set();for(const {item:_0x408c68}of _0x38566b)_0x408c68['is']('element','footnoteRef')&&_0x1f713a['add'](_0x408c68['getAttribute']('footnoteId'));return Array['from'](_0x1f713a);}class W extends _0xfd4902{['licenseKey'];['_licenseKeyCheckInterval'];static get['pluginName'](){return'FootnotesUI';}static get['isOfficialPlugin'](){return!0x0;}static get['isPremiumPlugin'](){return!0x0;}['init'](){const {editor:_0x39191f}=this,{componentFactory:_0x3d0e6f}=_0x39191f['ui'];_0x3d0e6f['add']('insertFootnote',Y(_0x39191f,_0x22085f)),_0x3d0e6f['add']('menuBar:insertFootnote',Y(_0x39191f,_0x14e6d5)),this['licenseKey']=this['editor']['config']['get']('licenseKey');const _0x4d5e35=this['editor'];this['_licenseKeyCheckInterval']=setInterval(()=>{let _0x5e5a3e;for(const _0x53d91b in _0x4d5e35){const _0x28774a=_0x53d91b,_0x3a8e09=_0x4d5e35[_0x28774a];if('footnotesLicenseKeyValid'==_0x3a8e09||'footnotesLicenseKeyInvalid'==_0x3a8e09||'footnotesLicenseKeyExpired'==_0x3a8e09||'footnotesLicenseKeyDomainLimit'==_0x3a8e09||'footnotesLicenseKeyNotAllowed'==_0x3a8e09||'footnotesLicenseKeyEvaluationLimit'==_0x3a8e09||'footnotesLicenseKeyUsageLimit'==_0x3a8e09){delete _0x4d5e35[_0x28774a],_0x5e5a3e=_0x3a8e09,clearInterval(this['_licenseKeyCheckInterval']),this['_licenseKeyCheckInterval']=void 0x0;break;}}'footnotesLicenseKeyInvalid'==_0x5e5a3e&&_0x4d5e35['_showLicenseError']('invalid'),'footnotesLicenseKeyExpired'==_0x5e5a3e&&_0x4d5e35['_showLicenseError']('expired'),'footnotesLicenseKeyDomainLimit'==_0x5e5a3e&&_0x4d5e35['_showLicenseError']('domainLimit'),'footnotesLicenseKeyNotAllowed'==_0x5e5a3e&&_0x4d5e35['_showLicenseError']('featureNotAllowed','Footnotes'),'footnotesLicenseKeyEvaluationLimit'==_0x5e5a3e&&_0x4d5e35['_showLicenseError']('evaluationLimit'),'footnotesLicenseKeyUsageLimit'==_0x5e5a3e&&_0x4d5e35['_showLicenseError']('usageLimit');},0x3e8);}['destroy'](){super['destroy'](),this['_licenseKeyCheckInterval']&&clearInterval(this['_licenseKeyCheckInterval']);}}function Y(_0x3ab08e,_0x5258e3){const _0x37cb43=_0x3ab08e['commands']['get']('insertFootnote');return _0x37401a=>{const {t:t}=_0x37401a,_0x3893de=new _0x5258e3(_0x37401a),_0x230115=_0x3893de instanceof _0x14e6d5;return _0x3893de['bind']('isEnabled')['to'](_0x37cb43,'isEnabled'),_0x3893de['set']({'label':t(_0x230115?'Footnote':'Insert\x20footnote'),'icon':_0x226158,'tooltip':!0x0}),_0x3893de['on']('execute',()=>{_0x37cb43['execute'](),_0x3ab08e['editing']['view']['focus']();}),_0x3893de;};}class Z extends _0xfd4902{static get['pluginName'](){return'Footnotes';}static get['requires'](){return[$,J,W];}static get['isOfficialPlugin'](){return!0x0;}static get['isPremiumPlugin'](){return!0x0;}}const tt=['decimal','decimal-leading-zero','lower-latin','upper-latin','lower-roman','upper-roman'],et=Object['create']({'lower-alpha':'lower-latin','upper-alpha':'upper-latin'}),ot=[...tt,'arabic-indic','lower-alpha','upper-alpha'];class nt extends _0x32e6f3{['refresh'](){const {editor:_0x2c45a9}=this,_0x59a247=_0x2c45a9['plugins']['get'](K)['getFootnotesDefinitionsObjectElement']();this['isEnabled']=!!_0x59a247,this['value']=_0x59a247?.['getAttribute']('footnotesListStyle')??null;}['execute']({value:_0x5ed911}){const {editor:_0x56234d}=this,_0x48cb8d=_0x56234d['plugins']['get'](K),_0x8206d9=_0x48cb8d['getFootnotesDefinitionsObjectElement']();_0x8206d9&&ot['includes'](_0x5ed911)&&_0x56234d['model']['change'](_0x274a6d=>{_0x274a6d['setAttribute']('footnotesListStyle',_0x5ed911,_0x8206d9),_0x48cb8d['_updateFootnotesCounters'](_0x274a6d);});}}class it extends _0x32e6f3{['refresh'](){const {editor:_0x99ecdd}=this,_0x132e80=_0x99ecdd['plugins']['get'](K)['getFootnotesDefinitionsObjectElement']();this['isEnabled']=!!_0x132e80,this['value']=_0x132e80?.['getAttribute']('footnotesListStart')??null;}['execute']({value:_0x290659}){const {editor:_0x5b3aaa}=this,_0x2428af=_0x5b3aaa['plugins']['get'](K),_0x3c2f99=_0x2428af['getFootnotesDefinitionsObjectElement']();_0x3c2f99&&Number['isInteger'](_0x290659)&&_0x5b3aaa['model']['change'](_0x5944cb=>{_0x5944cb['setAttribute']('footnotesListStart',_0x290659,_0x3c2f99),_0x2428af['_updateFootnotesCounters'](_0x5944cb);});}}function st(_0x397bd2,_0x3d6832){let _0x23551b='',_0xeee1b5=_0x397bd2;for(;_0xeee1b5>0x0;){const _0x2b5bf5=(_0xeee1b5-0x1)%0x1a;_0x23551b=String['fromCharCode'](0x61+_0x2b5bf5)+_0x23551b,_0xeee1b5=Math['floor']((_0xeee1b5-0x1)/0x1a);}return _0x3d6832?_0x23551b['toUpperCase']():_0x23551b;}const rt=[{'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 lt(_0x342d4b,_0x4e895a){let _0x2a3b06='',_0x54c623=_0x342d4b;for(const {value:_0x2fb58f,numeral:_0x1d6cc0}of rt)for(;_0x54c623>=_0x2fb58f;)_0x2a3b06+=_0x1d6cc0,_0x54c623-=_0x2fb58f;return _0x4e895a?_0x2a3b06:_0x2a3b06['toLowerCase']();}const ft=['٠','١','٢','٣','٤','٥','٦','٧','٨','٩'];class at extends _0xfd4902{static get['pluginName'](){return'FootnotesPropertiesEditing';}static get['requires'](){return[$,K];}static get['isOfficialPlugin'](){return!0x0;}static get['isPremiumPlugin'](){return!0x0;}['init'](){const {editor:_0x1d4118}=this;_0x1d4118['config']['define']('footnotes.footnotesProperties.defaultListStyle','decimal'),_0x1d4118['config']['define']('footnotes.footnotesProperties.defaultStartIndex',0x1),_0x1d4118['config']['define']('footnotes.footnotesProperties.listStyles',[...tt]),_0x1d4118['commands']['add']('footnotesStyle',new nt(_0x1d4118)),_0x1d4118['commands']['add']('footnotesStart',new it(_0x1d4118)),this['_defineSchema'](),this['_defineConverters'](),this['_defineFormatter'](),this['_definePostfixer']();}['_defineSchema'](){const {editor:_0x2ecf4a}=this,{schema:_0x28fc21}=_0x2ecf4a['model'];_0x28fc21['extend']('footnotesDefinitions',{'allowAttributes':['footnotesListStyle','footnotesListStart']});}['_defineConverters'](){const {editor:_0x24406e}=this,{conversion:_0xda4f7b,model:_0x516363}=_0x24406e,{schema:_0x23482f}=_0x516363;_0xda4f7b['for']('upcast')['add'](_0x44a497=>{_0x44a497['on']('element:ol',(_0x38597f,_0x27e791,_0x5c1c26)=>{const _0x1b7a0f=_0x27e791['viewItem'],_0x53e8f5=_0x27e791['modelCursor']?.['parent'];_0x1b7a0f['hasClass']('footnotes-list')&&_0x53e8f5?.['is']('element','footnotesDefinitions')&&(function(_0x197193,_0x2bfd67,_0x5a1d83,_0x21b4b5){if(!_0x21b4b5['checkAttribute'](_0x2bfd67,'footnotesListStart'))return;let _0x25a0d9=0x1;const _0x392dc5=_0x5a1d83['consumable']['consume'](_0x197193,{'attributes':'start'});if(_0x392dc5){const _0x2a03cf=Number['parseInt'](_0x197193['getAttribute']('start'),0xa);Number['isNaN'](_0x2a03cf)||(_0x25a0d9=_0x2a03cf);}!_0x392dc5&&_0x2bfd67['hasAttribute']('footnotesListStart')||_0x5a1d83['writer']['setAttribute']('footnotesListStart',_0x25a0d9,_0x2bfd67);}(_0x1b7a0f,_0x53e8f5,_0x5c1c26,_0x23482f),function(_0x44242d,_0xe1fedf,_0x19943c,_0x4a9f01){if(!_0x4a9f01['checkAttribute'](_0xe1fedf,'footnotesListStyle'))return;let _0x344c96='decimal',_0xddc6e6=!0x1;if(_0x19943c['consumable']['consume'](_0x44242d,{'attributes':'type'})){const _0x30d6f7={0x1:'decimal','a':'lower-latin','A':'upper-latin','i':'lower-roman','I':'upper-roman'}[_0x44242d['getAttribute']('type')];_0x30d6f7&&(_0x344c96=_0x30d6f7),_0xddc6e6=!0x0;}if(_0x19943c['consumable']['consume'](_0x44242d,{'styles':'list-style-type'})){const _0x20889b=ct(_0x44242d['getStyle']('list-style-type'));_0x20889b&&(_0x344c96=_0x20889b),_0xddc6e6=!0x0;}!_0xddc6e6&&_0xe1fedf['hasAttribute']('footnotesListStyle')||_0x19943c['writer']['setAttribute']('footnotesListStyle',_0x344c96,_0xe1fedf);}(_0x1b7a0f,_0x53e8f5,_0x5c1c26,_0x23482f));});}),_0xda4f7b['for']('downcast')['add'](_0x423a58=>{_0x423a58['on']('attribute:footnotesListStart:footnotesDefinitions',(_0x42c4eb,_0xa672b6,_0x2f1533)=>{if(!_0x2f1533['consumable']['consume'](_0xa672b6['item'],_0x42c4eb['name']))return;const _0x4f757d=ut(_0xa672b6['item'],_0x2f1533['mapper']),{attributeNewValue:_0x2a19f3}=_0xa672b6;null==_0x2a19f3||0x1===_0x2a19f3?_0x2f1533['writer']['removeAttribute']('start',_0x4f757d):_0x2f1533['writer']['setAttribute']('start',String(_0x2a19f3),_0x4f757d);}),_0x423a58['on']('attribute:footnotesListStyle:footnotesDefinitions',(_0x1bc25c,_0x42e3ae,_0x384dd3)=>{if(!_0x384dd3['consumable']['consume'](_0x42e3ae['item'],_0x1bc25c['name']))return;const _0x1566c0=ut(_0x42e3ae['item'],_0x384dd3['mapper']),{attributeNewValue:_0xfd5e96}=_0x42e3ae;_0xfd5e96&&'decimal'!==_0xfd5e96?_0x384dd3['writer']['setStyle']('list-style-type',_0xfd5e96,_0x1566c0):_0x384dd3['writer']['removeStyle']('list-style-type',_0x1566c0);});});}['_definePostfixer'](){const {editor:_0x163f9f}=this,{model:_0x54608b}=_0x163f9f,_0x1e19c5=_0x163f9f['plugins']['get'](K),_0x305bb0=this['_getDefaultListStyle'](),_0xa42b28=this['_getDefaultStartIndex']();_0x54608b['document']['registerPostFixer'](_0x364dac=>{const _0x4109a4=_0x54608b['document']['differ']['getChanges']();let _0x1812a7=!0x1;for(const _0x7ad3d1 of _0x4109a4){if('insert'!==_0x7ad3d1['type']||'$text'===_0x7ad3d1['name'])continue;const _0x34e8ae=_0x54608b['createRangeOn'](_0x7ad3d1['position']['nodeAfter']);for(const _0x1cc4cf of _0x34e8ae['getItems']())_0x1cc4cf['is']('element','footnotesDefinitions')&&(!_0x1cc4cf['hasAttribute']('footnotesListStart')&&_0x54608b['schema']['checkAttribute'](_0x1cc4cf,'footnotesListStart')&&(_0x364dac['setAttribute']('footnotesListStart',_0xa42b28,_0x1cc4cf),_0x1812a7=!0x0),!_0x1cc4cf['hasAttribute']('footnotesListStyle')&&_0x54608b['schema']['checkAttribute'](_0x1cc4cf,'footnotesListStyle')&&(_0x364dac['setAttribute']('footnotesListStyle',_0x305bb0,_0x1cc4cf),_0x1812a7=!0x0));}return _0x1812a7&&_0x1e19c5['_updateFootnotesCounters'](_0x364dac),_0x1812a7;});}['_defineFormatter'](){const {editor:_0x1e57be}=this;_0x1e57be['plugins']['get'](K)['setFootnoteFormatter'](_0x18c608=>this['_formatFootnoteListValue'](_0x18c608));}['_getDefaultListStyle'](){return this['editor']['config']['get']('footnotes.footnotesProperties.defaultListStyle');}['_getDefaultStartIndex'](){return this['editor']['config']['get']('footnotes.footnotesProperties.defaultStartIndex');}['_formatFootnoteListValue']({container:_0x23070b,value:_0x16a480,digits:_0x458330}){const _0x136a3e=_0x23070b['getAttribute']('footnotesListStyle'),_0x5396f6=_0x23070b['getAttribute']('footnotesListStart'),_0x33f180=Math['floor'](_0x16a480)+(_0x5396f6??0x1)-0x1;switch(_0x136a3e){case'decimal-leading-zero':return function(_0x571f63,_0x2cb006){return String(_0x571f63)['padStart'](_0x2cb006,'0');}(_0x33f180,Math['max'](0x2,_0x458330));case'lower-alpha':case'lower-latin':return st(_0x33f180,!0x1);case'upper-alpha':case'upper-latin':return st(_0x33f180,!0x0);case'lower-roman':return lt(_0x33f180,!0x1);case'upper-roman':return lt(_0x33f180,!0x0);case'arabic-indic':return String(_0x33f180)['replace'](/\d/g,_0x4a6f18=>ft[Number(_0x4a6f18)]);default:return String(_0x33f180);}}}function ct(_0x13f92a){if('string'==typeof _0x13f92a){const _0x583e34=et[_0x13f92a];if(_0x583e34)return _0x583e34;if(ot['includes'](_0x13f92a))return _0x13f92a;}return null;}function ut(_0x37caac,_0x1e20c2){const _0x474d69=_0x1e20c2['toViewElement'](_0x37caac);return Array['from'](_0x474d69['getChildren']())['find'](_0x2ed035=>_0x2ed035['is']('element','ol')&&_0x2ed035['hasClass']('footnotes-list'));}class dt extends _0x21c05f{['children'];['stylesView']=null;['additionalProperties']=null;['startIndexFieldView']=null;['focusTracker']=new _0x45e46e();['keystrokes']=new _0x56d72b();['focusables']=new _0x3d649c();['focusCycler'];constructor(_0x3f505f,{styleButtonViews:_0x5b40a0,styleGridAriaLabel:_0x12686a}){super(_0x3f505f),(this['focusCycler']=new _0x3c8954({'focusables':this['focusables'],'focusTracker':this['focusTracker'],'keystrokeHandler':this['keystrokes'],'actions':{'focusPrevious':'shift\x20+\x20tab','focusNext':'tab'}}),this['children']=this['createCollection'](),this['stylesView']=this['_appendStylesView'](_0x5b40a0,_0x12686a),[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 _0x234daa of this['stylesView']['children'])this['stylesView']['focusTracker']['add'](_0x234daa['element']);_0x1281f8({'keystrokeHandler':this['stylesView']['keystrokes'],'focusTracker':this['stylesView']['focusTracker'],'gridItems':this['stylesView']['children'],'numberOfColumns':()=>_0x128aa6['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 _0x3b64d3=_0x684ed6=>_0x684ed6['stopPropagation']();this['keystrokes']['set']('arrowright',_0x3b64d3),this['keystrokes']['set']('arrowleft',_0x3b64d3),this['keystrokes']['set']('arrowup',_0x3b64d3),this['keystrokes']['set']('arrowdown',_0x3b64d3);}this['keystrokes']['listenTo'](this['element']);}['focus'](){this['focusCycler']['focusFirst']();}['focusLast'](){this['focusCycler']['focusLast']();}['destroy'](){super['destroy'](),this['focusTracker']['destroy'](),this['keystrokes']['destroy']();}['_appendStylesView'](_0x3401c7,_0x43601b){const _0x4504b9=new _0x21c05f(this['locale']);return _0x4504b9['children']=_0x4504b9['createCollection'](),_0x4504b9['children']['addMany'](_0x3401c7),_0x4504b9['setTemplate']({'tag':'div','attributes':{'aria-label':_0x43601b,'class':['ck','ck-footnotes-definitions-styles-list']},'children':_0x4504b9['children']}),_0x4504b9['children']['delegate']('execute')['to'](this),_0x4504b9['focus']=function(){for(const _0x3fac11 of this['children'])if(_0x3fac11 instanceof _0x22085f&&_0x3fac11['isOn'])return void _0x3fac11['focus']();this['children']['first']['focus']();},_0x4504b9['focusTracker']=new _0x45e46e(),_0x4504b9['keystrokes']=new _0x56d72b(),_0x4504b9['render'](),_0x4504b9['keystrokes']['listenTo'](_0x4504b9['element']),this['children']['add'](_0x4504b9),_0x4504b9;}['_appendAdditionalPropertiesCollapsibleView'](){const {t:t}=this['locale'],_0x2f5f13=this['_createStartIndexPropertyView'](),_0xd393bd=[_0x2f5f13],_0x3c42b4=new _0x113336(this['locale'],_0xd393bd);return _0x3c42b4['set']({'label':t('Footnotes\x20properties'),'isCollapsed':!0x0}),_0x3c42b4['buttonView']['bind']('isEnabled')['toMany'](_0xd393bd,'isEnabled',(..._0x12192b)=>_0x12192b['some'](_0x376e36=>_0x376e36)),_0x3c42b4['buttonView']['on']('change:isEnabled',(_0x48f96d,_0x37cf3a,_0x592021)=>{_0x592021||(_0x3c42b4['isCollapsed']=!0x0);}),this['children']['add'](_0x3c42b4),[_0x2f5f13,_0x3c42b4];}['_createStartIndexPropertyView'](){const {t:t}=this['locale'],_0x5bb909=new _0x18bfd5(this['locale'],_0x44369e);return _0x5bb909['set']({'label':t('Footnotes\x20start\x20at'),'class':'ck-footnotes-definitions-properties__start-index'}),_0x5bb909['fieldView']['set']({'min':0x0,'max':Math['pow'](0x2,0x1e),'step':0x1,'value':0x1,'inputMode':'numeric'}),_0x5bb909['fieldView']['on']('input',()=>{const _0x3c75e5=_0x5bb909['fieldView']['element'],_0x3a6ee9=_0x3c75e5['valueAsNumber'];Number['isNaN'](_0x3a6ee9)?_0x5bb909['errorText']=t('Invalid\x20footnotes\x20start\x20index\x20value.'):_0x3c75e5['checkValidity']()?this['fire']('footnotesListStart',{'startIndex':_0x3a6ee9}):_0x5bb909['errorText']=t(_0x3a6ee9<0x0?'Footnotes\x20start\x20index\x20must\x20be\x20greater\x20than\x200.':'Footnotes\x20start\x20index\x20is\x20too\x20large.');}),_0x5bb909;}}class ht extends _0xfd4902{static get['pluginName'](){return'FootnotesPropertiesUI';}static get['requires'](){return[_0x3fa1a5,_0x3d7cc6];}static get['isOfficialPlugin'](){return!0x0;}static get['isPremiumPlugin'](){return!0x0;}['init'](){const {editor:_0x4ddfa6}=this,{componentFactory:_0x5a88be}=_0x4ddfa6['ui'];_0x4ddfa6['config']['define']('footnotes.footnotesProperties.toolbar',['footnotesStyle']),_0x5a88be['add']('footnotesStyle',function(_0x442c33){return _0x57103c=>{const {t:t}=_0x57103c,_0x385ab3=_0x442c33['commands']['get']('footnotesStyle'),_0x224362=_0x18b9b9(_0x57103c),{buttonView:_0xfb4c7e}=_0x224362;return _0x224362['class']='ck-footnotes-styles-dropdown',_0x224362['bind']('isEnabled')['to'](_0x385ab3,'isEnabled'),_0xfb4c7e['set']({'label':t('Footnotes\x20style'),'icon':_0x226158,'tooltip':!0x0}),_0x224362['once']('change:isOpen',()=>{const _0x4fe591=function({editor:_0x24c3a2,dropdownView:_0x51878e}){const {t:t}=_0x24c3a2['locale'],_0x2ef750=t('Footnotes\x20definitions\x20styles'),_0x4a17a5=function(_0x2f814b){const {t:t}=_0x2f814b['locale'],_0x338b2e=_0x2f814b['config']['get']('footnotes.footnotesProperties.listStyles'),_0xbf8e22=[{'style':'decimal','label':t('Toggle\x20the\x20decimal\x20footnotes\x20style'),'tooltip':t('Decimal\x20footnotes'),'icon':_0x5a9eb0},{'style':'decimal-leading-zero','label':t('Toggle\x20the\x20decimal\x20with\x20leading\x20zero\x20footnotes\x20style'),'tooltip':t('Decimal\x20footnotes\x20with\x20leading\x20zero'),'icon':_0x37266f},{'style':'lower-roman','label':t('Toggle\x20the\x20lower-roman\x20footnotes\x20style'),'tooltip':t('Lower-roman\x20footnotes'),'icon':_0x4551e6},{'style':'upper-roman','label':t('Toggle\x20the\x20upper-roman\x20footnotes\x20style'),'tooltip':t('Upper-roman\x20footnotes'),'icon':_0x244281},{'style':'lower-latin','label':t('Toggle\x20the\x20lower-latin\x20footnotes\x20style'),'tooltip':t('Lower-latin\x20footnotes'),'icon':_0x450ebe},{'style':'upper-latin','label':t('Toggle\x20the\x20upper-latin\x20footnotes\x20style'),'tooltip':t('Upper-latin\x20footnotes'),'icon':_0x52e12a},{'style':'arabic-indic','label':t('Toggle\x20the\x20arabic-indic\x20footnotes\x20style'),'tooltip':t('Arabic-indic\x20footnotes'),'icon':_0x57cac5}];return _0x338b2e['map'](_0x6dfb00=>{const _0x3d06e6=ct(_0x6dfb00),_0x40602c=_0xbf8e22['find'](_0x13eba3=>_0x13eba3['style']===_0x3d06e6);return function(_0x20c60c,_0x2b5b56){const {locale:_0x348d79}=_0x20c60c,{label:_0x3fae19,icon:_0x30341b,tooltip:_0x2df861,style:_0x5d1bdd}=_0x2b5b56,_0x105507=_0x20c60c['commands']['get']('footnotesStyle'),_0x3cdc23=new _0x22085f(_0x348d79);return _0x3cdc23['set']({'label':_0x3fae19,'icon':_0x30341b,'tooltip':_0x2df861}),_0x3cdc23['bind']('isOn')['to'](_0x105507,'value',_0x78e01f=>_0x78e01f===_0x5d1bdd),_0x3cdc23['bind']('isEnabled')['to'](_0x105507,'isEnabled'),_0x3cdc23['on']('execute',()=>{_0x20c60c['execute']('footnotesStyle',{'value':_0x5d1bdd}),_0x20c60c['editing']['view']['focus']();}),_0x3cdc23;}(_0x2f814b,_0x40602c);});}(_0x24c3a2),_0x2385ff=new dt(_0x24c3a2['locale'],{'styleGridAriaLabel':_0x2ef750,'styleButtonViews':_0x4a17a5}),_0x45656d=_0x24c3a2['commands']['get']('footnotesStart');return _0x2385ff['startIndexFieldView']['bind']('isEnabled')['to'](_0x45656d),_0x2385ff['startIndexFieldView']['fieldView']['bind']('value')['to'](_0x45656d),_0x2385ff['on']('footnotesListStart',(_0x24a9f1,_0x5ecd3e)=>{_0x24c3a2['execute']('footnotesStart',{'value':_0x5ecd3e['startIndex']});}),_0x2385ff['delegate']('execute')['to'](_0x51878e),_0x2385ff;}({'editor':_0x442c33,'dropdownView':_0x224362});_0x224362['panelView']['children']['add'](_0x4fe591);}),_0x224362;};}(_0x4ddfa6));}['afterInit'](){const {editor:_0x333924}=this,{t:t}=_0x333924['locale'],_0x4006a8=_0x333924['plugins']['get'](_0x3d7cc6),{defaultPositions:_0xdeefb7}=_0x42874d;_0x4006a8['register']('footnotesDefinitions',{'ariaLabel':t('Footnotes\x20definitions\x20toolbar'),'items':_0x333924['config']['get']('footnotes.footnotesProperties.toolbar'),'balloonClassName':'ck-footnotes-style-balloon\x20ck-toolbar-container','getRelatedElement':_0xe03f86=>{let _0x1d70b8=_0xe03f86['getFirstPosition']()?.['parent'];return _0x1d70b8?.['is']('$text')&&(_0x1d70b8=_0x1d70b8['parent']),_0x1d70b8?.['is']('element')?_0x1d70b8['findAncestor'](q):null;},'positions':[_0xdeefb7['southArrowNorth'],_0xdeefb7['southArrowNorthMiddleWest'],_0xdeefb7['southArrowNorthMiddleEast'],_0xdeefb7['southArrowNorthWest'],_0xdeefb7['southArrowNorthEast'],_0xdeefb7['northArrowSouth'],_0xdeefb7['northArrowSouthMiddleWest'],_0xdeefb7['northArrowSouthMiddleEast'],_0xdeefb7['northArrowSouthWest'],_0xdeefb7['northArrowSouthEast'],_0xdeefb7['viewportStickyNorth']]});}}class mt extends _0xfd4902{static get['pluginName'](){return'FootnotesProperties';}static get['requires'](){return[at,ht];}static get['isOfficialPlugin'](){return!0x0;}static get['isPremiumPlugin'](){return!0x0;}}export{Z as Footnotes,J as FootnotesClipboard,$ as FootnotesEditing,mt as FootnotesProperties,at as FootnotesPropertiesEditing,ht as FootnotesPropertiesUI,it as FootnotesStartCommand,nt as FootnotesStyleCommand,K as FootnotesTracker,W as FootnotesUI,V as InsertFootnoteCommand};
|
|
23
|
+
import{Plugin as _0x57e318,Command as _0x27ab07}from'@ckeditor/ckeditor5-core/dist/index.js';import{toWidget as _0x41fea6,isWidget as _0x1d42c2,toWidgetEditable as _0x31d420,WidgetToolbarRepository as _0x15fdcf}from'@ckeditor/ckeditor5-widget/dist/index.js';import{uid as _0x200590,logWarning as _0xa1151c,FocusTracker as _0x119c27,KeystrokeHandler as _0x267cb0,global as _0x6738b1}from'@ckeditor/ckeditor5-utils/dist/index.js';import{PointerObserver as _0x2c8cde,ClickObserver as _0xc532af}from'@ckeditor/ckeditor5-engine/dist/index.js';import{ClipboardPipeline as _0x2c351e}from'@ckeditor/ckeditor5-clipboard/dist/index.js';import{MenuBarMenuListItemButtonView as _0x4f3d95,ButtonView as _0x14dfd9,View as _0x35cba8,ViewCollection as _0x26c895,FocusCycler as _0x52db44,addKeyboardHandlingForGrid as _0x57a8c8,CollapsibleView as _0x11d3ba,LabeledFieldView as _0x4ba349,createLabeledInputNumber as _0x84a9ba,ContextualBalloon as _0x4149d6,BalloonPanelView as _0x188456,createDropdown as _0x50ae09}from'@ckeditor/ckeditor5-ui/dist/index.js';import{IconFootnote as _0x1ebade,IconListStyleDecimal as _0x13b869,IconListStyleDecimalLeadingZero as _0x556c82,IconListStyleLowerRoman as _0x2ba2e3,IconListStyleUpperRoman as _0x3f8e4d,IconListStyleLowerLatin as _0x22d6f1,IconListStyleUpperLatin as _0x44c01a,IconListStyleArabicIndic as _0x1e9ede}from'@ckeditor/ckeditor5-icons/dist/index.js';class R{['_model'];['_elementName'];['_getElementKey'];['_trackedElements']=new Map();constructor(_0xed8eb8,_0x15396e){this['_model']=_0xed8eb8,this['_elementName']=_0x15396e['elementName'],this['_getElementKey']=_0x15396e['getElementKey'];}['reset'](){this['_trackedElements']['clear']();}['getChanges'](_0x585d3c){const _0x85850b=new Set(),_0x2b04ae=new Map();for(const _0x9520cd of _0x585d3c){if('insert'===_0x9520cd['type']&&'$text'!==_0x9520cd['name']&&_0x9520cd['position']['nodeAfter']){const _0x5af75c=this['_model']['createRangeOn'](_0x9520cd['position']['nodeAfter']);for(const _0x4af40a of _0x5af75c['getItems']()){if(!_0x4af40a['is']('element',this['_elementName']))continue;const _0x3e2349=this['_getElementKey'](_0x4af40a);_0x2b04ae['has'](_0x3e2349)||_0x2b04ae['set'](_0x3e2349,[]),_0x2b04ae['get'](_0x3e2349)['push'](_0x4af40a);}}if('remove'===_0x9520cd['type']&&_0x9520cd['name']===this['_elementName']){const _0x5abd5f=this['_getElementKey']({'getAttribute':_0x5709e3=>_0x9520cd['attributes']['get'](_0x5709e3)});_0x85850b['add'](_0x5abd5f);}}for(const [_0x4e349b,_0x5f152a]of this['_trackedElements'])'$graveyard'===_0x5f152a['root']['rootName']&&_0x85850b['add'](_0x4e349b);for(const _0x5b4757 of _0x85850b)this['_trackedElements']['delete'](_0x5b4757);for(const [_0x1d6ee2,_0x11011b]of _0x2b04ae)this['_trackedElements']['set'](_0x1d6ee2,_0x11011b[_0x11011b['length']-0x1]);const _0x2d3345=new Set();for(const [_0x400104,_0x3b8d6a]of _0x2b04ae)_0x85850b['has'](_0x400104)&&(_0x2d3345['add'](_0x3b8d6a[0x0]),_0x3b8d6a['length']>0x1?_0x2b04ae['set'](_0x400104,_0x3b8d6a['slice'](0x1)):_0x2b04ae['delete'](_0x400104),_0x85850b['delete'](_0x400104));return{'removed':Array['from'](_0x85850b),'inserted':Array['from'](_0x2b04ae['values']())['flat'](),'moved':Array['from'](_0x2d3345)};}}class K extends _0x57e318{['_footnotes']=[];['_footnotesDefinitions']=null;['_footnoteFormatter']=null;['_footnoteDefsContainerTracker'];['_footnoteRefsTracker'];['_footnoteDefsTracker'];static get['pluginName'](){return'FootnotesTracker';}static get['isOfficialPlugin'](){return!0x0;}static get['isPremiumPlugin'](){return!0x0;}constructor(_0x10e912){super(_0x10e912),this['_footnoteDefsContainerTracker']=new R(this['editor']['model'],{'elementName':'footnotesDefinitions','getElementKey':()=>'singleton'}),this['_footnoteRefsTracker']=new R(this['editor']['model'],{'elementName':'footnoteRef','getElementKey':_0x2f085d=>_0x2f085d['getAttribute']('footnoteId')}),this['_footnoteDefsTracker']=new R(this['editor']['model'],{'elementName':'footnoteDefinition','getElementKey':_0x43f05f=>_0x43f05f['getAttribute']('footnoteId')});}['init'](){const {editor:_0x4e1296}=this,{model:_0x31a8f2,data:_0x580f05}=_0x4e1296;_0x31a8f2['document']['registerPostFixer'](_0xd43c5f=>{const _0x29cc08=_0x31a8f2['document']['differ']['getChanges']();let _0xeae4e1=!0x1;return this['_handleFootnotesDefinitionsObjectChanges'](_0xd43c5f,_0x29cc08)&&(_0xeae4e1=!0x0),this['_handleFootnoteDefinitionsChanges'](_0xd43c5f,_0x29cc08)&&(_0xeae4e1=!0x0),this['_handleFootnoteReferencesChanges'](_0xd43c5f,_0x29cc08)&&(_0xeae4e1=!0x0),this['_ensureFootnotesReferencesHaveProperOrder'](_0xd43c5f)&&(_0xeae4e1=!0x0),this['_handleFootnotesDefinitionsObjectSync'](_0xd43c5f)&&(_0xeae4e1=!0x0),this['_sortFootnoteDefinitions'](_0xd43c5f)&&(_0xeae4e1=!0x0),_0xeae4e1;}),this['listenTo'](_0x31a8f2['document'],'change:data',()=>{_0x31a8f2['enqueueChange']({'isUndoable':!0x1},_0x5205b5=>{this['_ensureFootnotesDefinitionsContainerExists'](_0x5205b5);});},{'priority':'low'}),this['listenTo'](_0x580f05,'set',()=>{this['_footnotes']=[],this['_footnoteDefsContainerTracker']['reset'](),this['_footnoteRefsTracker']['reset'](),this['_footnoteDefsTracker']['reset']();},{'priority':'high'});}['getFootnotesDefinitionsObjectElement'](){return this['_footnotesDefinitions'];}['getFootnote'](_0xb5eb0f){return this['_footnotes']['find'](_0x5c7acb=>_0x5c7acb['id']===_0xb5eb0f)||null;}['getFootnotes'](){return Array['from'](this['_footnotes']);}['getFootnotesFormatter'](){return this['_footnoteFormatter'];}['setFootnoteFormatter'](_0x1f549d){this['_footnoteFormatter']=_0x1f549d;}['_updateFootnotesCounters'](_0x1ac744,_0x5e1339=0x0){let _0x3c6dd6=!0x1;for(let _0x11fd6c=_0x5e1339;_0x11fd6c<this['_footnotes']['length'];_0x11fd6c++)this['_updateFootnoteRefCounter'](_0x1ac744,_0x11fd6c)&&(_0x3c6dd6=!0x0);return _0x3c6dd6;}['_insertEmptyFootnotesDefinitionsContainer'](_0x4e6cce,_0xfec2fb){const _0x387e7b=_0x4e6cce['createElement']('footnotesDefinitions',{});return _0x4e6cce['append'](_0x387e7b,_0xfec2fb),this['_footnotesDefinitions']=_0x387e7b,_0x387e7b;}['_ensureFootnotesDefinitionsContainerExists'](_0x309fbc){if(!this['_footnotes']['length']||this['_footnotesDefinitions'])return;const _0x453ea1=this['_footnotes'][0x0]['reference']['root'],_0x3c9b8d=this['_insertEmptyFootnotesDefinitionsContainer'](_0x309fbc,_0x453ea1);for(const _0x81065f of this['_footnotes'])_0x81065f['definition']['parent']||_0x309fbc['insert'](_0x81065f['definition'],_0x3c9b8d,'end');this['_updateFootnotesCounters'](_0x309fbc);}['_handleFootnotesDefinitionsObjectChanges'](_0x3ab9f9,_0x8597ec){let _0x3a31b8=!0x1;const {inserted:_0x32fa4f,removed:_0x101056,moved:_0x563e7b}=this['_footnoteDefsContainerTracker']['getChanges'](_0x8597ec);if(_0x563e7b['length']&&(this['_footnotesDefinitions']=_0x563e7b[0x0]),_0x32fa4f['length']){if(_0x32fa4f['length']>0x1||this['_footnotesDefinitions']&&_0x32fa4f['some'](_0x2f1a82=>_0x2f1a82!==this['_footnotesDefinitions'])){const _0x2b9c78=_0x3ab9f9['createElement']('footnotesDefinitions',{}),_0x3f5519=[];this['_footnotesDefinitions']&&_0x3f5519['push'](this['_footnotesDefinitions']),_0x3f5519['push'](..._0x32fa4f),_0x3ab9f9['insert'](_0x2b9c78,_0x3f5519[0x0],'before');for(const _0x2ee18f of _0x3f5519)_0x3ab9f9['move'](_0x3ab9f9['createRangeIn'](_0x2ee18f),_0x3ab9f9['createPositionAt'](_0x2b9c78,'end')),_0x3ab9f9['remove'](_0x2ee18f);this['_footnotesDefinitions']=_0x2b9c78,this['_updateFootnotesCounters'](_0x3ab9f9),_0x3a31b8=!0x0;}else this['_footnotesDefinitions']=_0x32fa4f[0x0];}if(_0x101056['length']&&'$graveyard'===this['_footnotesDefinitions']?.['root']['rootName']){for(const _0x3a7a5a of this['_footnotes'])_0x3ab9f9['remove'](_0x3a7a5a['reference']),_0x3a31b8=!0x0;this['_footnotes']=[],this['_footnotesDefinitions']=null;}return _0x3a31b8;}['_handleFootnoteDefinitionsChanges'](_0x12d89c,_0x48d18f){let _0x51bbd2=!0x1;const _0x203f35=this['editor']['config']['get']('footnotes.multiBlock'),{inserted:_0x58b864,moved:_0x199aee}=this['_footnoteDefsTracker']['getChanges'](_0x48d18f);for(const _0x1bef07 of[..._0x199aee,..._0x58b864]){const _0x1ecec0=_0x1bef07['getAttribute']('footnoteId'),_0x388c91=this['getFootnote'](_0x1ecec0);_0x388c91&&(_0x388c91['definition']=_0x1bef07),j(_0x12d89c,_0x203f35,_0x1bef07)&&(_0x51bbd2=!0x0);}return _0x51bbd2;}['_handleFootnoteReferencesChanges'](_0x474082,_0x5afef0){let _0x3283fd=!0x1;const {removed:_0x11c24a,inserted:_0xd8bf8f,moved:_0x2396c3}=this['_footnoteRefsTracker']['getChanges'](_0x5afef0);for(const _0x258419 of _0x11c24a)this['_handleRemoveFootnoteReferenceById'](_0x474082,_0x258419)&&(_0x3283fd=!0x0);for(const _0x381ff6 of _0xd8bf8f)this['_handleInsertedFootnoteReference'](_0x474082,_0x381ff6)&&(_0x3283fd=!0x0);for(const _0xa5c3b4 of _0x2396c3)this['_handleMovedFootnoteReference'](_0x474082,_0xa5c3b4)&&(_0x3283fd=!0x0);return _0x3283fd;}['_handleFootnotesDefinitionsObjectSync'](_0x5e2f66){if(!this['_footnotesDefinitions'])return!0x1;let _0x5ae000=!0x1;if(this['_footnotesDefinitions']['childCount']!==this['_footnotes']['length']){const _0x1102b5=[];for(const _0x419c28 of this['_footnotesDefinitions']['getChildren']()){const _0x22f5bd=_0x419c28['getAttribute']('footnoteId');this['getFootnote'](_0x22f5bd)||(_0x1102b5['unshift'](_0x419c28),_0x5ae000=!0x0);}for(const _0x36922e of _0x1102b5)_0x5e2f66['remove'](_0x36922e);}const _0xdee82c=new Set(),_0x146d0e=[];for(const _0x284c33 of this['_footnotesDefinitions']['getChildren']()){const _0x3368ca=_0x284c33['getAttribute']('footnoteId');_0xdee82c['has'](_0x3368ca)?(_0x146d0e['unshift'](_0x284c33),_0x5ae000=!0x0):_0xdee82c['add'](_0x3368ca);}for(const _0x5be630 of _0x146d0e)_0x5e2f66['remove'](_0x5be630);return this['_footnotesDefinitions']['childCount']||(_0x5e2f66['remove'](this['_footnotesDefinitions']),this['_footnotesDefinitions']=null,_0x5ae000=!0x0),_0x5ae000;}['_handleInsertedFootnoteReference'](_0x331759,_0x3f7cb3){if(this['_footnotes']['find'](_0x193370=>_0x193370['reference']===_0x3f7cb3))return!0x1;let _0x4c7314=!0x1;const _0x1366fd=_0x3f7cb3['getAttribute']('footnoteId'),_0x114c19=this['_footnotes']['findIndex'](_0x5b6f25=>_0x5b6f25['id']===_0x1366fd);-0x1!==_0x114c19&&(_0x331759['remove'](this['_footnotes'][_0x114c19]['reference']),this['_footnotes']['splice'](_0x114c19,0x1),_0x4c7314=!0x0);let _0x2fe227=this['_footnotesDefinitions']?function(_0x1ffa8b,_0x5455ef){for(const _0x2d6861 of _0x1ffa8b['getChildren']())if(_0x2d6861['getAttribute']('footnoteId')===_0x5455ef)return _0x2d6861;return null;}(this['_footnotesDefinitions'],_0x1366fd):null;_0x2fe227||(_0x2fe227=_0x331759['createElement']('footnoteDefinition',{'footnoteId':_0x1366fd}),this['_footnotesDefinitions']&&(_0x331759['insert'](_0x2fe227,this['_footnotesDefinitions'],'end'),_0x4c7314=!0x0));const _0x3a26d6={'id':_0x1366fd,'reference':_0x3f7cb3,'definition':_0x2fe227},_0x49f20d=T(this['editor']['model'],this['_footnotes'],_0x3f7cb3);this['_footnotes']['splice'](_0x49f20d,0x0,_0x3a26d6);let _0xa2d61e=_0x49f20d;return-0x1!==_0x114c19&&(_0xa2d61e=Math['min'](_0x49f20d,_0x114c19)),this['_updateFootnotesCounters'](_0x331759,_0xa2d61e)&&(_0x4c7314=!0x0),_0x4c7314;}['_handleRemoveFootnoteReferenceById'](_0xc2aec6,_0x1cb971){const _0x3688cb=this['_footnotes']['findIndex'](_0x3cb44b=>_0x3cb44b['id']===_0x1cb971);if(-0x1===_0x3688cb)return!0x1;let _0x935057=!0x1;const _0x555ce0=this['_footnotes'][_0x3688cb];return'$graveyard'!==_0x555ce0['definition']['root']['rootName']&&(_0xc2aec6['remove'](_0x555ce0['definition']),_0x935057=!0x0),this['_footnotes']['splice'](_0x3688cb,0x1),this['_updateFootnotesCounters'](_0xc2aec6,_0x3688cb)&&(_0x935057=!0x0),_0x935057;}['_handleMovedFootnoteReference'](_0x137bf9,_0x1238f6){const _0x46c1c8=_0x1238f6['getAttribute']('footnoteId'),_0x541538=this['_footnotes']['findIndex'](_0x4ebc2d=>_0x4ebc2d['id']===_0x46c1c8),_0x4dc55c=this['_footnotes'][_0x541538];let _0x2341b2=!0x1;_0x4dc55c['reference']=_0x1238f6,this['_footnotes']['splice'](_0x541538,0x1);const _0x197035=T(this['editor']['model'],this['_footnotes'],_0x1238f6);return this['_footnotes']['splice'](_0x197035,0x0,_0x4dc55c),this['_updateFootnotesCounters'](_0x137bf9,Math['min'](_0x541538,_0x197035))&&(_0x2341b2=!0x0),_0x2341b2;}['_updateFootnoteRefCounter'](_0x3b2692,_0x3fcea3){if(!this['_footnotesDefinitions'])return!0x1;const _0x1b1a16=this['_footnotes'][_0x3fcea3];let _0x19453a;return _0x19453a=this['_footnoteFormatter']?this['_footnoteFormatter']({'footnote':_0x1b1a16,'container':this['_footnotesDefinitions'],'digits':String(this['_footnotes']['length'])['length'],'value':_0x3fcea3+0x1}):String(_0x3fcea3+0x1),_0x1b1a16['reference']['getAttribute']('footnoteCounter')!=_0x19453a&&(_0x3b2692['setAttribute']('footnoteCounter',_0x19453a,_0x1b1a16['reference']),!0x0);}['_sortFootnoteDefinitions'](_0x21de0b){if(!this['_footnotesDefinitions']||this['_footnotes']['length']<0x2)return!0x1;if(function(_0xe49ea1,_0x4ab073){if(_0xe49ea1['length']!==_0x4ab073['length'])return!0x1;for(let _0x497346=0x0;_0x497346<_0xe49ea1['length'];_0x497346++)if(_0xe49ea1[_0x497346]!==_0x4ab073[_0x497346])return!0x1;return!0x0;}(this['_footnotes']['map'](_0x29c7a7=>_0x29c7a7['id']),Array['from'](this['_footnotesDefinitions']['getChildren']())['map'](_0x566406=>_0x566406['getAttribute']('footnoteId'))))return!0x1;let _0x16fb82=!0x1;for(let _0x56474a=0x0;_0x56474a<this['_footnotes']['length'];_0x56474a++){const _0x55b7e9=this['_footnotes'][_0x56474a],_0x5d5751=_0x21de0b['createPositionBefore'](_0x55b7e9['definition']),_0x1f2cc8=_0x21de0b['createPositionAt'](this['_footnotesDefinitions'],_0x56474a);_0x5d5751['isEqual'](_0x1f2cc8)||(_0x21de0b['move'](_0x21de0b['createRangeOn'](_0x55b7e9['definition']),_0x1f2cc8),_0x16fb82=!0x0);}return _0x16fb82;}['_ensureFootnotesReferencesHaveProperOrder'](_0x5f3b4c){if(!this['_footnotes']['length'])return!0x1;const {model:_0x185752}=this['editor'];let _0x369a97=!0x1;for(let _0x1d6343=0x0;_0x1d6343<this['_footnotes']['length']-0x1;_0x1d6343++){const _0xd97b93=this['_footnotes'][_0x1d6343],_0xaeda20=this['_footnotes'][_0x1d6343+0x1],_0x4b8652=_0x185752['createPositionBefore'](_0xd97b93['reference']),_0x278500=_0x185752['createPositionBefore'](_0xaeda20['reference']);'after'===_0x4b8652['compareWith'](_0x278500)&&(this['_handleMovedFootnoteReference'](_0x5f3b4c,_0xd97b93['reference']),_0x1d6343=-0x1,_0x369a97=!0x0);}return _0x369a97;}}function j(_0x451fad,_0x5a4396,_0x1c89d7){if(_0x1c89d7['childCount'])return!0x1;const _0x234be5=_0x5a4396?'paragraph':'footnoteInlineContent';return _0x451fad['insert'](_0x451fad['createElement'](_0x234be5),_0x1c89d7),!0x0;}function T(_0x2b154f,_0x532b70,_0x589e40){if(0x0===_0x532b70['length'])return 0x0;const _0x2f60df=_0x2b154f['createPositionBefore'](_0x589e40);for(let _0x853cc3=0x0;_0x853cc3<_0x532b70['length'];_0x853cc3++){const _0x39e9a8=_0x532b70[_0x853cc3],_0xebe4db=_0x2b154f['createPositionBefore'](_0x39e9a8['reference']);if('before'===_0x2f60df['compareWith'](_0xebe4db))return _0x853cc3;}const _0x5ce269=_0x589e40['root'];let _0x1cae9e=-0x1;for(let _0x42e788=_0x532b70['length']-0x1;_0x42e788>=0x0;_0x42e788--)if(_0x532b70[_0x42e788]['reference']['root']===_0x5ce269){_0x1cae9e=_0x42e788;break;}if(-0x1!==_0x1cae9e)return _0x1cae9e+0x1;const _0x1164be=_0x2b154f['document']['getRootNames'](),_0x3ca6a0=_0x1164be['indexOf'](_0x5ce269['rootName']),_0x5bc246=_0x1164be[_0x3ca6a0+0x1];if(_0x5bc246){for(let _0x2adea3=0x0;_0x2adea3<_0x532b70['length'];_0x2adea3++)if(_0x532b70[_0x2adea3]['reference']['root']['rootName']===_0x5bc246)return _0x2adea3;}return _0x532b70['length'];}class V extends _0x27ab07{['refresh'](){const _0x32ba47=this['editor']['model']['document']['selection'],_0x5ff6=this['_getPositionToInsertFootnote'](_0x32ba47);this['isEnabled']=!!_0x5ff6;}['execute'](_0x5a3d8c){const {editor:_0x2c8303}=this,{model:_0x5e6865}=_0x2c8303,{selection:_0x437af5}=_0x5e6865['document'],_0xfae52a=this['_getPositionToInsertFootnote'](_0x437af5);if(!_0xfae52a)return;const _0x5f511a=_0x2c8303['plugins']['get']('FootnotesEditing'),_0xdf52fa=_0x5a3d8c?.['footnoteId']??_0x200590();!function(_0xfe2f24){return'string'==typeof _0xfe2f24&&_0xfe2f24['length']>0x0&&!/\s/['test'](_0xfe2f24)&&!/^\d/['test'](_0xfe2f24);}(_0xdf52fa)?_0xa1151c('insert-footnote-command-executed-with-invalid-id'):(_0x5e6865['change'](_0x23a3cf=>{const _0x13a4ca=_0x23a3cf['createElement']('footnoteRef',{'footnoteId':_0xdf52fa});_0x5e6865['insertObject'](_0x13a4ca,_0xfae52a,null);}),_0x5f511a['_moveSelectionToFootnoteDefinition'](_0xdf52fa));}['_getPositionToInsertFootnote'](_0x1dc016){const {model:_0x29653e}=this['editor'],{schema:_0x310732}=_0x29653e,_0x40826e=_0x1dc016['getFirstRange']();for(const _0x4ec09a of _0x40826e['getItems']())if(_0x310732['isBlock'](_0x4ec09a)||_0x310732['isObject'](_0x4ec09a))return null;const _0x5ee07d=_0x40826e['end'];return _0x310732['checkChild'](_0x5ee07d,'footnoteRef')?_0x5ee07d:null;}}class $ extends _0x57e318{static get['pluginName'](){return'FootnotesEditing';}static get['requires'](){return[K];}static get['isOfficialPlugin'](){return!0x0;}static get['isPremiumPlugin'](){return!0x0;}['init'](){const {editor:_0x204e59}=this;_0x204e59['config']['define']('footnotes.multiBlock',!0x0),_0x204e59['commands']['add']('insertFootnote',new V(_0x204e59)),this['_defineSchema'](),this['_defineRefsConverters'](),this['_defineDefinitionsConverters'](),this['_defineDefinitionConverters'](),this['_defineBogusParagraphConverters'](),this['_defineKeyboardHandlers'](),this['_defineClickHandlers']();}['afterInit'](){!async function(_0x38f51b){const _0x1edff1=_0x40b5e4([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]),_0x46e087=0x47a28506,_0x54119a=0x47a50cf6^_0x46e087,_0x215ae4=window[_0x40b5e4([0x44,0x61,0x74,0x65])][_0x40b5e4([0x6e,0x6f,0x77])](),_0x2423f0=_0x38f51b[_0x40b5e4([0x65,0x64,0x69,0x74,0x6f,0x72])],_0x2ff455=new window[(_0x40b5e4([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0x23c8ff=>{_0x2423f0[_0x40b5e4([0x6f,0x6e,0x63,0x65])](_0x40b5e4([0x72,0x65,0x61,0x64,0x79]),_0x23c8ff);}),_0x166808={[_0x40b5e4([0x6b,0x74,0x79])]:_0x40b5e4([0x45,0x43]),[_0x40b5e4([0x75,0x73,0x65])]:_0x40b5e4([0x73,0x69,0x67]),[_0x40b5e4([0x63,0x72,0x76])]:_0x40b5e4([0x50,0x2d,0x32,0x35,0x36]),[_0x40b5e4([0x78])]:_0x40b5e4([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]),[_0x40b5e4([0x79])]:_0x40b5e4([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]),[_0x40b5e4([0x61,0x6c,0x67])]:_0x40b5e4([0x45,0x53,0x32,0x35,0x36])},_0xc47b5c=_0x2423f0[_0x40b5e4([0x63,0x6f,0x6e,0x66,0x69,0x67])][_0x40b5e4([0x67,0x65,0x74])](_0x40b5e4([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x4b,0x65,0x79]));async function _0x138773(){let _0x4a3c8a,_0xd2ea1e=null,_0x4c05df=null;try{if(_0xc47b5c==_0x40b5e4([0x47,0x50,0x4c]))return _0x40b5e4([0x4e,0x6f,0x74,0x41,0x6c,0x6c,0x6f,0x77,0x65,0x64]);if(_0x4a3c8a=_0x3ad69f(),!_0x4a3c8a)return _0x40b5e4([0x49,0x6e,0x76,0x61,0x6c,0x69,0x64]);return _0x4a3c8a[_0x40b5e4([0x75,0x73,0x61,0x67,0x65,0x45,0x6e,0x64,0x70,0x6f,0x69,0x6e,0x74])]&&(_0x4c05df=_0x32621f(_0x4a3c8a[_0x40b5e4([0x75,0x73,0x61,0x67,0x65,0x45,0x6e,0x64,0x70,0x6f,0x69,0x6e,0x74])],_0x4a3c8a[_0x40b5e4([0x6a,0x74,0x69])])),await _0x3b1758()?_0x1d04df()?_0x310aaa()?_0x40b5e4([0x45,0x78,0x70,0x69,0x72,0x65,0x64]):_0x22d28a()?(_0x4a3c8a[_0x40b5e4([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x54,0x79,0x70,0x65])]==_0x40b5e4([0x65,0x76,0x61,0x6c,0x75,0x61,0x74,0x69,0x6f,0x6e])&&(_0xd2ea1e=_0x3be72a(_0x40b5e4([0x45,0x76,0x61,0x6c,0x75,0x61,0x74,0x69,0x6f,0x6e,0x4c,0x69,0x6d,0x69,0x74]))),await _0x65b05f()):_0x40b5e4([0x44,0x6f,0x6d,0x61,0x69,0x6e,0x4c,0x69,0x6d,0x69,0x74]):_0x40b5e4([0x4e,0x6f,0x74,0x41,0x6c,0x6c,0x6f,0x77,0x65,0x64]):_0x40b5e4([0x49,0x6e,0x76,0x61,0x6c,0x69,0x64]);}catch{return _0x40b5e4([0x49,0x6e,0x76,0x61,0x6c,0x69,0x64]);}function _0x310aaa(){const _0x39d603=[_0x40b5e4([0x65,0x76,0x61,0x6c,0x75,0x61,0x74,0x69,0x6f,0x6e]),_0x40b5e4([0x74,0x72,0x69,0x61,0x6c])][_0x40b5e4([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x4a3c8a[_0x40b5e4([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x54,0x79,0x70,0x65])])?_0x215ae4/0x3e8:0xe10*_0x54119a;return _0x4a3c8a[_0x40b5e4([0x65,0x78,0x70])]<_0x39d603;}function _0x1d04df(){const _0x1dd39a=_0x4a3c8a[_0x40b5e4([0x66,0x65,0x61,0x74,0x75,0x72,0x65,0x73])];return!!_0x1dd39a&&(!!_0x1dd39a[_0x40b5e4([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x40b5e4([0x2a]))||!!_0x1dd39a[_0x40b5e4([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x40b5e4([0x46,0x4f,0x4f])));}function _0x22d28a(){const _0x57cc98=_0x4a3c8a[_0x40b5e4([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x64,0x48,0x6f,0x73,0x74,0x73])];if(!_0x57cc98||0x0==_0x57cc98[_0x40b5e4([0x6c,0x65,0x6e,0x67,0x74,0x68])])return!0x0;const {hostname:_0x47be19}=new URL(window[_0x40b5e4([0x6c,0x6f,0x63,0x61,0x74,0x69,0x6f,0x6e])]['href']);if(_0x57cc98[_0x40b5e4([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x47be19))return!0x0;const _0x28fcb9=_0x47be19[_0x40b5e4([0x73,0x70,0x6c,0x69,0x74])](_0x40b5e4([0x2e]));return _0x57cc98[_0x40b5e4([0x66,0x69,0x6c,0x74,0x65,0x72])](_0x1c8213=>_0x1c8213[_0x40b5e4([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x40b5e4([0x2a])))[_0x40b5e4([0x6d,0x61,0x70])](_0x47eb87=>_0x47eb87[_0x40b5e4([0x73,0x70,0x6c,0x69,0x74])](_0x40b5e4([0x2e])))[_0x40b5e4([0x66,0x69,0x6c,0x74,0x65,0x72])](_0x47e32e=>_0x47e32e[_0x40b5e4([0x6c,0x65,0x6e,0x67,0x74,0x68])]<=_0x28fcb9[_0x40b5e4([0x6c,0x65,0x6e,0x67,0x74,0x68])])[_0x40b5e4([0x6d,0x61,0x70])](_0x437928=>Array(_0x28fcb9[_0x40b5e4([0x6c,0x65,0x6e,0x67,0x74,0x68])]-_0x437928[_0x40b5e4([0x6c,0x65,0x6e,0x67,0x74,0x68])])[_0x40b5e4([0x66,0x69,0x6c,0x6c])](_0x437928[0x0]===_0x40b5e4([0x2a])?_0x40b5e4([0x2a]):'')[_0x40b5e4([0x63,0x6f,0x6e,0x63,0x61,0x74])](_0x437928))[_0x40b5e4([0x73,0x6f,0x6d,0x65])](_0x3a5105=>_0x28fcb9[_0x40b5e4([0x65,0x76,0x65,0x72,0x79])]((_0x3cab98,_0x54a82f)=>_0x3a5105[_0x54a82f]===_0x3cab98||_0x3a5105[_0x54a82f]===_0x40b5e4([0x2a])));}function _0x65b05f(){return _0xd2ea1e&&_0x4c05df?new window[(_0x40b5e4([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))]((_0x580f03,_0x2d391b)=>{_0xd2ea1e[_0x40b5e4([0x74,0x68,0x65,0x6e])](_0x580f03,_0x2d391b),_0x4c05df[_0x40b5e4([0x74,0x68,0x65,0x6e])](_0x489481=>{_0x489481!=_0x40b5e4([0x56,0x61,0x6c,0x69,0x64])&&_0x580f03(_0x489481);},_0x2d391b);}):_0xd2ea1e||_0x4c05df||_0x40b5e4([0x56,0x61,0x6c,0x69,0x64]);}}function _0x32621f(_0x44fa06,_0x4a938a){return new window[(_0x40b5e4([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0xbe908b=>{if(_0x5ec72d())return _0xbe908b(_0x40b5e4([0x56,0x61,0x6c,0x69,0x64]));_0x3f0eab(),_0x2423f0[_0x40b5e4([0x64,0x65,0x63,0x6f,0x72,0x61,0x74,0x65])](_0x40b5e4([0x5f,0x73,0x65,0x6e,0x64,0x55,0x73,0x61,0x67,0x65,0x52,0x65,0x71,0x75,0x65,0x73,0x74]));let _0x16316a=!0x1;const _0x50850c=_0x200590();function _0x11de3e(_0x12c0a4){return!!_0x12c0a4&&(typeof _0x12c0a4===_0x40b5e4([0x6f,0x62,0x6a,0x65,0x63,0x74])||typeof _0x12c0a4===_0x40b5e4([0x66,0x75,0x6e,0x63,0x74,0x69,0x6f,0x6e]))&&typeof _0x12c0a4[_0x40b5e4([0x74,0x68,0x65,0x6e])]===_0x40b5e4([0x66,0x75,0x6e,0x63,0x74,0x69,0x6f,0x6e])&&typeof _0x12c0a4[_0x40b5e4([0x63,0x61,0x74,0x63,0x68])]===_0x40b5e4([0x66,0x75,0x6e,0x63,0x74,0x69,0x6f,0x6e]);}function _0x25aca2(_0x23264a){_0x28fc23(_0x23264a)[_0x40b5e4([0x74,0x68,0x65,0x6e])](_0x416bba=>{if(!_0x416bba||_0x416bba[_0x40b5e4([0x73,0x74,0x61,0x74,0x75,0x73])]!=_0x40b5e4([0x6f,0x6b]))return _0x40b5e4([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]);return _0x144fd3(_0x1f53a7(_0x50850c+_0x4a938a))!=_0x416bba[_0x40b5e4([0x76,0x65,0x72,0x69,0x66,0x69,0x63,0x61,0x74,0x69,0x6f,0x6e])]?_0x40b5e4([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]):_0x40b5e4([0x56,0x61,0x6c,0x69,0x64]);})[_0x40b5e4([0x74,0x68,0x65,0x6e])](_0x27ab34=>(_0x1e642f(),_0x27ab34),()=>{const _0x2d1513=_0x5df215();return null==_0x2d1513?(_0x1e642f(),_0x40b5e4([0x56,0x61,0x6c,0x69,0x64])):_0x40b5e4(_0x215ae4-_0x2d1513>(0x63ae0106^_0x46e087)?[0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]:[0x56,0x61,0x6c,0x69,0x64]);})[_0x40b5e4([0x74,0x68,0x65,0x6e])](_0xbe908b)[_0x40b5e4([0x63,0x61,0x74,0x63,0x68])](()=>{_0xbe908b(_0x40b5e4([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]));});const _0x8c375f=0x47946b86^_0x46e087;function _0x1e642f(){const _0x35e244=_0x40b5e4([0x6c,0x6c,0x63,0x74,0x2d])+_0x144fd3(_0x1f53a7(_0x44fa06)),_0x153067=_0x5e74c8(_0x144fd3(window[_0x40b5e4([0x4d,0x61,0x74,0x68])][_0x40b5e4([0x63,0x65,0x69,0x6c])](_0x215ae4/_0x8c375f)));window[_0x40b5e4([0x6c,0x6f,0x63,0x61,0x6c,0x53,0x74,0x6f,0x72,0x61,0x67,0x65])][_0x40b5e4([0x73,0x65,0x74,0x49,0x74,0x65,0x6d])](_0x35e244,_0x153067);}function _0x5df215(){const _0x1a3232=_0x40b5e4([0x6c,0x6c,0x63,0x74,0x2d])+_0x144fd3(_0x1f53a7(_0x44fa06)),_0x40bad4=window[_0x40b5e4([0x6c,0x6f,0x63,0x61,0x6c,0x53,0x74,0x6f,0x72,0x61,0x67,0x65])][_0x40b5e4([0x67,0x65,0x74,0x49,0x74,0x65,0x6d])](_0x1a3232);return _0x40bad4?window[_0x40b5e4([0x70,0x61,0x72,0x73,0x65,0x49,0x6e,0x74])](_0x5e74c8(_0x40bad4),0x10)*_0x8c375f:null;}function _0x28fc23(_0x208f2b){return new window[(_0x40b5e4([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))]((_0x2f9afc,_0x421cd5)=>{_0x208f2b[_0x40b5e4([0x74,0x68,0x65,0x6e])](_0x2f9afc,_0x421cd5),window[_0x40b5e4([0x73,0x65,0x74,0x54,0x69,0x6d,0x65,0x6f,0x75,0x74])](_0x421cd5,0x47a351c6^_0x46e087);});}}_0x2423f0[_0x40b5e4([0x6f,0x6e])](_0x40b5e4([0x5f,0x73,0x65,0x6e,0x64,0x55,0x73,0x61,0x67,0x65,0x52,0x65,0x71,0x75,0x65,0x73,0x74]),(_0xd7cd04,_0xd5aad5)=>{if(_0xd5aad5[0x0]!=_0x44fa06)return _0xbe908b(_0x40b5e4([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]));_0xd5aad5[0x1]={..._0xd5aad5[0x1],[_0x40b5e4([0x72,0x65,0x71,0x75,0x65,0x73,0x74,0x49,0x64])]:_0x50850c};},{[_0x40b5e4([0x70,0x72,0x69,0x6f,0x72,0x69,0x74,0x79])]:_0x40b5e4([0x68,0x69,0x67,0x68])}),_0x2423f0[_0x40b5e4([0x6f,0x6e])](_0x40b5e4([0x5f,0x73,0x65,0x6e,0x64,0x55,0x73,0x61,0x67,0x65,0x52,0x65,0x71,0x75,0x65,0x73,0x74]),_0x2f9c19=>{_0x11de3e(_0x2f9c19[_0x40b5e4([0x72,0x65,0x74,0x75,0x72,0x6e])])&&(_0x16316a=!0x0,_0x25aca2(_0x2f9c19[_0x40b5e4([0x72,0x65,0x74,0x75,0x72,0x6e])]));},{[_0x40b5e4([0x70,0x72,0x69,0x6f,0x72,0x69,0x74,0x79])]:_0x40b5e4([0x6c,0x6f,0x77])}),_0x2ff455[_0x40b5e4([0x74,0x68,0x65,0x6e])](()=>{_0x16316a||_0xbe908b(_0x40b5e4([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]));});});function _0x5ec72d(){return _0x2423f0[_0x40b5e4([0x65,0x64,0x69,0x74,0x69,0x6e,0x67])][_0x40b5e4([0x76,0x69,0x65,0x77])][_0x40b5e4([0x5f,0x6f,0x76,0x65,0x72,0x6c,0x61,0x79,0x4d,0x6f,0x64,0x65,0x48,0x69,0x6e,0x74])]==_0x40b5e4([0x61,0x75,0x74,0x6f]);}function _0x3f0eab(){_0x2423f0[_0x40b5e4([0x65,0x64,0x69,0x74,0x69,0x6e,0x67])][_0x40b5e4([0x76,0x69,0x65,0x77])][_0x40b5e4([0x5f,0x6f,0x76,0x65,0x72,0x6c,0x61,0x79,0x4d,0x6f,0x64,0x65,0x48,0x69,0x6e,0x74])]=_0x40b5e4([0x61,0x75,0x74,0x6f]);}}function _0x3be72a(_0x45a7e4){const _0x4dedaf=[new window[(_0x40b5e4([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0x475c8a=>setTimeout(_0x475c8a,0x47abbbca^_0x46e087)),_0x2ff455[_0x40b5e4([0x74,0x68,0x65,0x6e])](()=>new window[(_0x40b5e4([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0x182f79=>{let _0x334f90=0x0;_0x2423f0[_0x40b5e4([0x6d,0x6f,0x64,0x65,0x6c])][_0x40b5e4([0x6f,0x6e])](_0x40b5e4([0x61,0x70,0x70,0x6c,0x79,0x4f,0x70,0x65,0x72,0x61,0x74,0x69,0x6f,0x6e]),(_0x497c81,_0xf2cb48)=>{_0xf2cb48[0x0][_0x40b5e4([0x69,0x73,0x44,0x6f,0x63,0x75,0x6d,0x65,0x6e,0x74,0x4f,0x70,0x65,0x72,0x61,0x74,0x69,0x6f,0x6e])]&&_0x334f90++,_0x334f90==(0x47a280ee^_0x46e087)&&(_0x182f79(),_0x497c81[_0x40b5e4([0x6f,0x66,0x66])]());});}))];return window[_0x40b5e4([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65])][_0x40b5e4([0x72,0x61,0x63,0x65])](_0x4dedaf)[_0x40b5e4([0x74,0x68,0x65,0x6e])](()=>_0x45a7e4);}async function _0x33e390(){await _0x2ff455,_0x2423f0[_0x40b5e4([0x6d,0x6f,0x64,0x65,0x6c])][_0x40b5e4([0x63,0x68,0x61,0x6e,0x67,0x65])]=_0x1d3577,_0x2423f0[_0x40b5e4([0x6d,0x6f,0x64,0x65,0x6c])][_0x40b5e4([0x65,0x6e,0x71,0x75,0x65,0x75,0x65,0x43,0x68,0x61,0x6e,0x67,0x65])]=_0x1d3577,_0x2423f0[_0x40b5e4([0x65,0x6e,0x61,0x62,0x6c,0x65,0x52,0x65,0x61,0x64,0x4f,0x6e,0x6c,0x79,0x4d,0x6f,0x64,0x65])](_0x40b5e4([0x6d,0x6f,0x64,0x65,0x6c]));}function _0x164568(_0x58ed2d){const _0x2b4fea=_0x5488e1();_0x2423f0[_0x2b4fea]=_0x40b5e4([0x66,0x6f,0x6f,0x74,0x6e,0x6f,0x74,0x65,0x73,0x4c,0x69,0x63,0x65,0x6e,0x73,0x65,0x4b,0x65,0x79])+_0x58ed2d,_0x58ed2d!=_0x40b5e4([0x56,0x61,0x6c,0x69,0x64])&&_0x33e390();}function _0x5488e1(){const _0x45ffb4=window[_0x40b5e4([0x53,0x74,0x72,0x69,0x6e,0x67])](window[_0x40b5e4([0x70,0x65,0x72,0x66,0x6f,0x72,0x6d,0x61,0x6e,0x63,0x65])][_0x40b5e4([0x6e,0x6f,0x77])]())[_0x40b5e4([0x72,0x65,0x70,0x6c,0x61,0x63,0x65])](_0x40b5e4([0x2e]),'');let _0x1b2d71=_0x40b5e4([0x75]);for(let _0x135b06=0x0;_0x135b06<_0x45ffb4[_0x40b5e4([0x6c,0x65,0x6e,0x67,0x74,0x68])];_0x135b06+=0x2){let _0x4935e3=window[_0x40b5e4([0x70,0x61,0x72,0x73,0x65,0x49,0x6e,0x74])](_0x45ffb4[_0x40b5e4([0x73,0x75,0x62,0x73,0x74,0x72,0x69,0x6e,0x67])](_0x135b06,_0x135b06+0x2));_0x4935e3>=_0x1edff1[_0x40b5e4([0x6c,0x65,0x6e,0x67,0x74,0x68])]&&(_0x4935e3-=_0x1edff1[_0x40b5e4([0x6c,0x65,0x6e,0x67,0x74,0x68])]),_0x1b2d71+=_0x1edff1[_0x4935e3];}return _0x1b2d71;}function _0x3ad69f(){const _0x172528=_0xc47b5c[_0x40b5e4([0x73,0x70,0x6c,0x69,0x74])](_0x40b5e4([0x2e]));if(0x3!=_0x172528[_0x40b5e4([0x6c,0x65,0x6e,0x67,0x74,0x68])])return null;return _0x5a72b3(_0x172528[0x1]);function _0x5a72b3(_0x51f2f9){const _0x36c68e=_0x20e2ec(_0x51f2f9);return _0x36c68e&&_0x4775cf()?_0x36c68e:null;function _0x4775cf(){const _0x16b077=_0x36c68e[_0x40b5e4([0x6a,0x74,0x69])],_0x21072d=window[_0x40b5e4([0x70,0x61,0x72,0x73,0x65,0x49,0x6e,0x74])](_0x16b077[_0x40b5e4([0x73,0x75,0x62,0x73,0x74,0x72,0x69,0x6e,0x67])](_0x16b077[_0x40b5e4([0x6c,0x65,0x6e,0x67,0x74,0x68])]-0x8),0x10),_0x2b6dae={..._0x36c68e,[_0x40b5e4([0x6a,0x74,0x69])]:_0x16b077[_0x40b5e4([0x73,0x75,0x62,0x73,0x74,0x72,0x69,0x6e,0x67])](0x0,_0x16b077[_0x40b5e4([0x6c,0x65,0x6e,0x67,0x74,0x68])]-0x8)};return delete _0x2b6dae[_0x40b5e4([0x76,0x63])],_0x1f53a7(_0x2b6dae)==_0x21072d;}}}async function _0x3b1758(){let _0x377622=!0x0;try{const _0x118b2a=_0xc47b5c[_0x40b5e4([0x73,0x70,0x6c,0x69,0x74])](_0x40b5e4([0x2e])),[_0x24a2a6,_0x49fda2,_0x33a9d1]=_0x118b2a;return _0x2ee5d0(_0x24a2a6),await _0x232dfa(_0x24a2a6,_0x49fda2,_0x33a9d1),_0x377622;}catch{return!0x1;}function _0x2ee5d0(_0x2caa36){const _0xee59db=_0x20e2ec(_0x2caa36);_0xee59db&&_0xee59db[_0x40b5e4([0x61,0x6c,0x67])]==_0x40b5e4([0x45,0x53,0x32,0x35,0x36])||(_0x377622=!0x1);}async function _0x232dfa(_0x39422f,_0x46a333,_0x51a933){const _0x4477e4=window[_0x40b5e4([0x55,0x69,0x6e,0x74,0x38,0x41,0x72,0x72,0x61,0x79])][_0x40b5e4([0x66,0x72,0x6f,0x6d])](_0x59ae6f(_0x51a933),_0x43458f=>_0x43458f[_0x40b5e4([0x63,0x68,0x61,0x72,0x43,0x6f,0x64,0x65,0x41,0x74])](0x0)),_0x276b24=new window[(_0x40b5e4([0x54,0x65,0x78,0x74,0x45,0x6e,0x63,0x6f,0x64,0x65,0x72]))]()[_0x40b5e4([0x65,0x6e,0x63,0x6f,0x64,0x65])](_0x39422f+_0x40b5e4([0x2e])+_0x46a333),_0x597814=window[_0x40b5e4([0x63,0x72,0x79,0x70,0x74,0x6f])][_0x40b5e4([0x73,0x75,0x62,0x74,0x6c,0x65])];if(!_0x597814)return;const _0x453154=await _0x597814[_0x40b5e4([0x69,0x6d,0x70,0x6f,0x72,0x74,0x4b,0x65,0x79])](_0x40b5e4([0x6a,0x77,0x6b]),_0x166808,{[_0x40b5e4([0x6e,0x61,0x6d,0x65])]:_0x40b5e4([0x45,0x43,0x44,0x53,0x41]),[_0x40b5e4([0x6e,0x61,0x6d,0x65,0x64,0x43,0x75,0x72,0x76,0x65])]:_0x40b5e4([0x50,0x2d,0x32,0x35,0x36])},!0x1,[_0x40b5e4([0x76,0x65,0x72,0x69,0x66,0x79])]);await _0x597814[_0x40b5e4([0x76,0x65,0x72,0x69,0x66,0x79])]({[_0x40b5e4([0x6e,0x61,0x6d,0x65])]:_0x40b5e4([0x45,0x43,0x44,0x53,0x41]),[_0x40b5e4([0x68,0x61,0x73,0x68])]:{[_0x40b5e4([0x6e,0x61,0x6d,0x65])]:_0x40b5e4([0x53,0x48,0x41,0x2d,0x32,0x35,0x36])}},_0x453154,_0x4477e4,_0x276b24)||(_0x377622=!0x1);}}function _0x20e2ec(_0x6e5866){return _0x6e5866[_0x40b5e4([0x73,0x74,0x61,0x72,0x74,0x73,0x57,0x69,0x74,0x68])](_0x40b5e4([0x65,0x79]))?JSON[_0x40b5e4([0x70,0x61,0x72,0x73,0x65])](_0x59ae6f(_0x6e5866)):null;}function _0x59ae6f(_0x8509f7){return window[_0x40b5e4([0x61,0x74,0x6f,0x62])](_0x8509f7[_0x40b5e4([0x72,0x65,0x70,0x6c,0x61,0x63,0x65])](/-/g,_0x40b5e4([0x2b]))[_0x40b5e4([0x72,0x65,0x70,0x6c,0x61,0x63,0x65])](/_/g,_0x40b5e4([0x2f])));}function _0x1f53a7(_0x48d253){let _0x3f9604=0x1505;function _0x18a240(_0x4adcd3){for(let _0x5eb613=0x0;_0x5eb613<_0x4adcd3[_0x40b5e4([0x6c,0x65,0x6e,0x67,0x74,0x68])];_0x5eb613++){const _0x4b4dbf=_0x4adcd3[_0x40b5e4([0x63,0x68,0x61,0x72,0x43,0x6f,0x64,0x65,0x41,0x74])](_0x5eb613);_0x3f9604=(_0x3f9604<<0x5)+_0x3f9604+_0x4b4dbf,_0x3f9604&=_0x3f9604;}}function _0x2acce1(_0x2d8f5d){Array[_0x40b5e4([0x69,0x73,0x41,0x72,0x72,0x61,0x79])](_0x2d8f5d)?_0x2d8f5d[_0x40b5e4([0x66,0x6f,0x72,0x45,0x61,0x63,0x68])](_0x2acce1):_0x2d8f5d&&typeof _0x2d8f5d==_0x40b5e4([0x6f,0x62,0x6a,0x65,0x63,0x74])?Object[_0x40b5e4([0x65,0x6e,0x74,0x72,0x69,0x65,0x73])](_0x2d8f5d)[_0x40b5e4([0x73,0x6f,0x72,0x74])]()[_0x40b5e4([0x66,0x6f,0x72,0x45,0x61,0x63,0x68])](([_0x19ec0f,_0x13c7bc])=>{_0x18a240(_0x19ec0f),_0x2acce1(_0x13c7bc);}):_0x18a240(window[_0x40b5e4([0x53,0x74,0x72,0x69,0x6e,0x67])](_0x2d8f5d));}return _0x2acce1(_0x48d253),_0x3f9604>>>0x0;}function _0x144fd3(_0x5a9ef2){return _0x5a9ef2[_0x40b5e4([0x74,0x6f,0x53,0x74,0x72,0x69,0x6e,0x67])](0x10)[_0x40b5e4([0x70,0x61,0x64,0x53,0x74,0x61,0x72,0x74])](0x8,_0x40b5e4([0x30]));}function _0x5e74c8(_0x151ea3){return _0x151ea3[_0x40b5e4([0x73,0x70,0x6c,0x69,0x74])]('')[_0x40b5e4([0x72,0x65,0x76,0x65,0x72,0x73,0x65])]()[_0x40b5e4([0x6a,0x6f,0x69,0x6e])]('');}function _0x1d3577(){}function _0x40b5e4(_0x12abae){return _0x12abae['map'](_0x92f410=>String['fromCharCode'](_0x92f410))['join']('');}_0x164568(await _0x138773());}(this);}['_moveSelectionToFootnoteDefinition'](_0x24dc9d){const {plugins:_0x4320e5,editing:_0x49e8d4,model:_0x4cdb2b}=this['editor'],_0x48ff35=_0x4320e5['get'](K)['getFootnote'](_0x24dc9d);return!!_0x48ff35&&(_0x4cdb2b['change'](_0x2f5a7f=>{_0x2f5a7f['setSelection'](_0x2f5a7f['createPositionAt'](_0x48ff35['definition'],'end'));}),_0x49e8d4['view']['scrollToTheSelection'](),!0x0);}['_moveSelectionToFootnoteReference'](_0x5c02de){const {plugins:_0x50e110,editing:_0x204bf4,model:_0x1197d7}=this['editor'],_0x2c395a=_0x50e110['get'](K)['getFootnote'](_0x5c02de);return!!_0x2c395a&&(_0x1197d7['change'](_0x27a562=>{_0x27a562['setSelection'](_0x2c395a['reference'],'on');}),_0x204bf4['view']['scrollToTheSelection'](),!0x0);}['_defineSchema'](){const {schema:_0x2b9391}=this['editor']['model'],_0x3f6ecb=this['editor']['config']['get']('footnotes.multiBlock');_0x2b9391['register']('footnoteRef',{'inheritAllFrom':'$inlineObject','allowAttributes':['footnoteId','footnoteCounter']}),_0x2b9391['register']('footnotesDefinitions',{'inheritAllFrom':'$blockObject','allowChildren':['footnoteDefinition']}),_0x2b9391['register']('footnoteDefinition',{'allowAttributes':['footnoteId'],'disallowAttributes':['listItemId'],'isLimit':!0x0}),_0x3f6ecb?_0x2b9391['extend']('footnoteDefinition',{'allowContentOf':'$container'}):_0x2b9391['register']('footnoteInlineContent',{'allowIn':'footnoteDefinition','allowContentOf':'$block','isLimit':!0x0}),_0x2b9391['addChildCheck'](_0x30292f=>{for(const _0x50cceb of _0x30292f)if('footnoteDefinition'===_0x50cceb['name'])return!0x1;},'footnoteRef');}['_defineRefsConverters'](){const {editor:_0x4e71d1}=this,{conversion:_0x5d6951,editing:_0x351bf0}=_0x4e71d1,{t:t}=_0x4e71d1['locale'];_0x5d6951['for']('upcast')['elementToElement']({'view':{'name':'sup','classes':'footnote'},'model':(_0x368cd5,{writer:_0xd0d4ad,consumable:_0x5e6a57})=>{const _0x435ce5=_0x368cd5['getChild'](0x0);if(!_0x435ce5||!_0x435ce5['is']('element','a'))return null;const _0x22ce48=_0x435ce5['getAttribute']('href')||'';if(!_0x22ce48['startsWith']('#'))return null;const _0x5b7153=_0x22ce48['replace'](/^#/,'');if(!_0x5b7153)return null;_0x5e6a57['consume'](_0x435ce5,{'name':!0x0,'attributes':['href']});for(const {item:_0x3e4059}of _0x351bf0['view']['createRangeIn'](_0x435ce5))_0x3e4059['is']('$textProxy')?_0x5e6a57['consume'](_0x3e4059['textNode'],{'name':!0x0}):_0x3e4059['is']('element')&&_0x5e6a57['consume'](_0x3e4059,{'name':!0x0});return _0xd0d4ad['createElement']('footnoteRef',{'footnoteId':_0x5b7153});}}),_0x5d6951['for']('dataDowncast')['elementToElement']({'model':{'name':'footnoteRef','attributes':['footnoteId','footnoteCounter']},'view':(_0x2acfa2,{writer:_0x181660})=>z(_0x2acfa2,_0x181660)}),_0x5d6951['for']('editingDowncast')['elementToElement']({'model':{'name':'footnoteRef','attributes':['footnoteId','footnoteCounter']},'view':(_0x56f235,{writer:_0x20416a})=>{const _0x12f3d2=_0x56f235['getAttribute']('footnoteCounter');return _0x41fea6(z(_0x56f235,_0x20416a),_0x20416a,{'label':t('Footnote\x20%0.\x20Press\x20ENTER\x20to\x20jump\x20to\x20footnote\x20definition.',_0x12f3d2)});}});}['_defineDefinitionsConverters'](){const {editor:_0x315dec}=this,{t:t}=_0x315dec['locale'],{conversion:_0x246114}=_0x315dec;_0x246114['for']('upcast')['elementToElement']({'view':{'name':'div','classes':'footnotes'},'model':'footnotesDefinitions'}),_0x246114['for']('upcast')['add'](_0x5b6bd7=>{_0x5b6bd7['on']('element:ol',(_0x5db476,_0x10bc6f,_0x1735e3)=>{const _0x371e44=_0x10bc6f['viewItem'];if(!_0x371e44['hasClass']('footnotes-list')||!_0x10bc6f['modelCursor']['parent']?.['is']('element','footnotesDefinitions'))return;if(!_0x1735e3['consumable']['consume'](_0x371e44,{'name':!0x0,'classes':'footnotes-list'}))return;const {modelRange:_0x1f5667,modelCursor:_0x5388c9}=_0x1735e3['convertChildren'](_0x10bc6f['viewItem'],_0x10bc6f['modelCursor']);_0x10bc6f['modelRange']=_0x1f5667,_0x10bc6f['modelCursor']=_0x5388c9;}),_0x5b6bd7['on']('element:hr',(_0xc52908,_0x111754,_0x5f0cd2)=>{const _0x257fb4=_0x111754['viewItem'];_0x257fb4['hasClass']('footnotes-divider')&&_0x111754['modelCursor']['parent']?.['is']('element','footnotesDefinitions')&&_0x5f0cd2['consumable']['consume'](_0x257fb4,{'name':!0x0,'classes':'footnotes-divider'});});}),_0x246114['for']('dataDowncast')['elementToStructure']({'model':'footnotesDefinitions','view':(_0x2dca1b,{writer:_0x1f50d7})=>H(_0x1f50d7)}),_0x246114['for']('editingDowncast')['elementToStructure']({'model':'footnotesDefinitions','view':(_0x4fc776,{writer:_0x4ead5a})=>{const _0xa57e8e=H(_0x4ead5a,{'data-footnotes-list-label':t('Footnotes')}),_0x2c83a7=_0x41fea6(_0xa57e8e,_0x4ead5a,{'hasSelectionHandle':!0x0,'label':t('Footnotes')});return _0x4ead5a['setCustomProperty']('footnotesDefinitions',!0x0,_0x2c83a7),_0x2c83a7;}});}['_defineDefinitionConverters'](){const {editor:_0x41ff14}=this,{conversion:_0x36c951,locale:_0xd325de}=_0x41ff14,_0x552afc=_0x41ff14['config']['get']('footnotes.multiBlock');_0x36c951['for']('upcast')['add'](_0x18f45e=>{_0x18f45e['on']('element:li',(_0x3cba1d,_0x2b1f31,_0x4be2f6)=>{const _0x5f4f33=_0x2b1f31['viewItem'];if(!_0x5f4f33['hasClass']('footnote-definition')||!_0x5f4f33['getAttribute']('id'))return;const _0x131389=_0x5f4f33['parent'];if(!_0x131389['is']('element','ol')||!_0x131389['hasClass']('footnotes-list'))return;if(!_0x4be2f6['consumable']['test'](_0x5f4f33,{'name':!0x0,'attributes':'id','classes':'footnote-definition'}))return;const _0x4ffd2c=_0x4be2f6['writer']['createElement']('footnoteDefinition',{'footnoteId':_0x5f4f33['getAttribute']('id')});if(!_0x4be2f6['safeInsert'](_0x4ffd2c,_0x2b1f31['modelCursor']))return;_0x4be2f6['consumable']['consume'](_0x5f4f33,{'name':!0x0,'attributes':'id','classes':'footnote-definition'});const _0x45e3e3=Array['from'](_0x5f4f33['getChildren']())['find'](_0x20d724=>_0x20d724['is']('element')&&_0x20d724['hasClass']('footnote-content'));for(const _0x1914e9 of _0x5f4f33['getChildren']())_0x1914e9['is']('element')&&(_0x4be2f6['consumable']['consume'](_0x1914e9,{'name':!0x0,'classes':'footnote-backlink','attributes':'href'}),_0x4be2f6['consumable']['consume'](_0x1914e9,{'name':!0x0,'classes':'footnote-content'}));if(_0x45e3e3){if(_0x552afc)_0x4be2f6['convertChildren'](_0x45e3e3,_0x4ffd2c);else{const _0x47725c=_0x4be2f6['writer']['createElement']('footnoteInlineContent');_0x4be2f6['writer']['insert'](_0x47725c,_0x4ffd2c),_0x4be2f6['convertChildren'](_0x45e3e3,_0x47725c);}}_0x4be2f6['updateConversionResult'](_0x4ffd2c,_0x2b1f31);});}),_0x36c951['for']('dataDowncast')['elementToStructure']({'model':{'name':'footnoteDefinition','attributes':['footnoteId']},'view':(_0x3c60ae,{writer:_0x5dc034})=>X(_0x3c60ae,_0x5dc034,_0xd325de,{'dataPipeline':!0x0})}),_0x36c951['for']('editingDowncast')['elementToStructure']({'model':{'name':'footnoteDefinition','attributes':['footnoteId']},'view':(_0x45eab4,{writer:_0x3a6c3f})=>X(_0x45eab4,_0x3a6c3f,_0xd325de)});}['_defineBogusParagraphConverters'](){const {editor:_0xa51ab9}=this,{conversion:_0x338b0f}=_0xa51ab9;_0xa51ab9['config']['get']('footnotes.multiBlock')?(_0x338b0f['for']('editingDowncast')['elementToElement']({'model':'paragraph','view':B(),'converterPriority':'high'}),_0x338b0f['for']('dataDowncast')['elementToElement']({'model':'paragraph','view':B({'dataPipeline':!0x0}),'converterPriority':'high'}),this['listenTo'](_0xa51ab9['model']['document'],'change:data',()=>{!function(_0xad610c,_0x14ba12){const _0x4ee52c=_0xad610c['document']['differ'],_0x448f13=new Set();for(const _0x57c434 of _0x4ee52c['getChanges']()){const _0x39de2a='attribute'==_0x57c434['type']?_0x57c434['range']['start']['parent']:_0x57c434['position']['parent'];_0x39de2a['is']('element','footnoteDefinition')&&_0x448f13['add'](_0x39de2a);}for(const _0x5e59f7 of _0x448f13['values']()){const _0x204a11=Array['from'](_0x5e59f7['getChildren']())['filter'](_0x80915c=>U(_0x80915c,_0x14ba12['mapper']));for(const _0x268690 of _0x204a11)_0x14ba12['reconvertItem'](_0x268690);}}(_0xa51ab9['model'],_0xa51ab9['editing']);})):(_0x338b0f['for']('editingDowncast')['elementToElement']({'model':'footnoteInlineContent','view':B()}),_0x338b0f['for']('dataDowncast')['elementToElement']({'model':'footnoteInlineContent','view':(_0x21daa5,{writer:_0x44f45f})=>{const _0x2f8e25=_0x44f45f['createContainerElement']('span');return _0x44f45f['setCustomProperty']('dataPipeline:transparentRendering',!0x0,_0x2f8e25),_0x2f8e25;}}));}['_defineKeyboardHandlers'](){const {editor:_0x11dba4}=this,{editing:_0x18081f,t:t}=_0x11dba4,_0x5da192=_0x11dba4['model']['document']['selection'];_0x11dba4['keystrokes']['set']('Ctrl+Alt+F','insertFootnote'),_0x11dba4['accessibility']['addKeystrokeInfos']({'keystrokes':[{'label':t('Insert\x20footnote'),'keystroke':'Ctrl+Alt+F'}]}),this['listenTo'](_0x18081f['view']['document'],'enter',(_0x5641d6,_0x223f51)=>{const _0xa2530f=function(_0x2cd5bd){const _0x26c1ae=_0x2cd5bd['getSelectedElement']();if(_0x26c1ae?.['is']('element','footnoteRef'))return _0x26c1ae;return null;}(_0x5da192);if(_0xa2530f){const _0x512396=_0xa2530f['getAttribute']('footnoteId');this['_moveSelectionToFootnoteDefinition'](_0x512396),_0x223f51['preventDefault'](),_0x5641d6['stop']();}},{'context':_0x1d42c2});}['_defineClickHandlers'](){const {editor:_0x2328d6}=this,{editing:_0x5948d3}=_0x2328d6;_0x2328d6['editing']['view']['addObserver'](_0x2c8cde),_0x2328d6['editing']['view']['addObserver'](_0xc532af);let _0x211180=!0x1;this['listenTo'](_0x5948d3['view']['document'],'pointerdown',(_0x3064d1,_0x504ddd)=>{const {target:_0x7f4cae}=_0x504ddd,_0x4701ab=_0x5948d3['view']['document']['selection'];_0x211180=!!(_0x7f4cae?.['is']('element','a')&&_0x7f4cae['parent']?.['is']('element','sup')&&_0x7f4cae['parent']['hasClass']('footnote'))&&_0x4701ab['getSelectedElement']()===_0x7f4cae['parent'];},{'priority':'high'}),this['listenTo'](_0x5948d3['view']['document'],'click',(_0x51793e,_0x22b214)=>{const {target:_0x11b326}=_0x22b214;if(!_0x11b326?.['is']('element','a'))return;if(_0x11b326['parent']?.['is']('element','sup')&&_0x11b326['parent']['hasClass']('footnote')&&!_0x211180)return void _0x22b214['preventDefault']();let _0x47cf60=_0x11b326['getAttribute']('href');if(!_0x47cf60?.['startsWith']('#'))return;_0x47cf60=_0x47cf60['slice'](0x1);let _0x3985f1=!0x1;(_0x47cf60['startsWith']('ref-')&&this['_moveSelectionToFootnoteReference'](_0x47cf60['slice'](0x4))||this['_moveSelectionToFootnoteDefinition'](_0x47cf60))&&(_0x3985f1=!0x0),_0x3985f1&&(_0x22b214['preventDefault'](),_0x51793e['stop']());},{'priority':'high','context':'$capture'});}}function B({dataPipeline:_0x305503}={}){return(_0x74eb6c,{writer:_0x300f38})=>{if(!M(_0x74eb6c))return null;if(!_0x305503)return _0x300f38['createContainerElement']('span',{'class':'ck-footnote-bogus-paragraph'});const _0x561485=_0x300f38['createContainerElement']('p');return _0x300f38['setCustomProperty']('dataPipeline:transparentRendering',!0x0,_0x561485),_0x561485;};}function M(_0x159779){const {parent:_0x4bf9ad}=_0x159779;if(!_0x4bf9ad?.['is']('element','footnoteDefinition'))return!0x1;if(0x1!=_0x4bf9ad['childCount'])return!0x1;for(const _0x4fcc70 of _0x159779['getAttributeKeys']())if(!_0x4fcc70['startsWith']('selection:')&&'htmlEmptyBlock'!=_0x4fcc70)return!0x1;return!0x0;}function U(_0x412f06,_0x1d55be){if(!_0x412f06['is']('element','paragraph'))return!0x1;const _0x42e321=_0x1d55be['toViewElement'](_0x412f06);return!!_0x42e321&&M(_0x412f06)!==_0x42e321['is']('element','span');}function q(_0x14d06b){return _0x1d42c2(_0x14d06b)&&_0x14d06b['is']('containerElement')&&!!_0x14d06b['getCustomProperty']('footnotesDefinitions');}function H(_0x29a391,_0x35d9dc={}){const _0x437bea=_0x29a391['createEmptyElement']('hr',{'class':'footnotes-divider'}),_0x21d335=_0x29a391['createContainerElement']('ol',{'class':'footnotes-list'},_0x29a391['createSlot']());return _0x29a391['createContainerElement']('div',{'class':'footnotes',..._0x35d9dc},[_0x437bea,_0x21d335]);}function z(_0x39457d,_0x58ae98){const _0x5e6c10=_0x39457d['getAttribute']('footnoteId'),_0x3bb88d=_0x39457d['getAttribute']('footnoteCounter'),_0x2bc5a0=_0x58ae98['createUIElement']('a',{'href':'#'+_0x5e6c10},function(_0x275db0){const _0x3b92ac=this['toDomElement'](_0x275db0);return _0x3b92ac['textContent']=_0x3bb88d,_0x3b92ac;}),_0x2b284f=_0x58ae98['createContainerElement']('sup',{'id':'ref-'+_0x5e6c10,'class':'footnote'},[_0x2bc5a0]);return _0x2b284f['getFillerOffset']=()=>null,_0x2b284f;}function X(_0x1d2aa9,_0x1c264d,_0x46e355,{dataPipeline:_0x9a51a0}={}){const {t:t}=_0x46e355,_0x2275e5=_0x1d2aa9['getAttribute']('footnoteId'),_0x4e9817=_0x1c264d['createUIElement']('a',{'class':'footnote-backlink','href':'#ref-'+_0x2275e5},function(_0x1afdb3){const _0xfcfcc5=this['toDomElement'](_0x1afdb3);return _0xfcfcc5['innerText']='^',_0xfcfcc5;}),_0x1259ab=_0x9a51a0?_0x1c264d['createContainerElement']('div',{'class':'footnote-content'}):_0x31d420(_0x1c264d['createEditableElement']('div',{'class':'footnote-content'}),_0x1c264d,{'label':t('Footnote\x20content.')});return _0x1c264d['insert'](_0x1c264d['createPositionAt'](_0x1259ab,0x0),_0x1c264d['createSlot']()),_0x1c264d['createContainerElement']('li',{'class':'footnote-definition','id':_0x2275e5},[_0x4e9817,_0x1259ab]);}class J extends _0x57e318{static get['pluginName'](){return'FootnotesClipboard';}static get['requires'](){return[$,_0x2c351e];}static get['isOfficialPlugin'](){return!0x0;}static get['isPremiumPlugin'](){return!0x0;}['init'](){this['_defineClipboardIntegration']();}['_defineClipboardIntegration'](){this['_handleCopyFootnotesDefinitions'](),this['_handlePasteFootnotesDefinitions']();}['_handleCopyFootnotesDefinitions'](){const {editor:_0xb47816}=this,{plugins:_0x223c63,model:_0x50b201}=_0xb47816,_0x3a1228=_0x223c63['get'](_0x2c351e),_0x107753=_0x223c63['get'](K);this['listenTo'](_0x3a1228,'outputTransformation',(_0x43cc62,_0x3cad88)=>{const _0x2d4a39=Q(_0x50b201['createRangeIn'](_0x3cad88['content']));if(!_0x2d4a39['length'])return;const _0x41d2a6=_0x107753['getFootnotes'](),_0xe454b0=_0x2d4a39['reduce']((_0x26ac3c,_0x58bebf)=>{const _0x162a74=_0x41d2a6['find'](_0x303d77=>_0x303d77['id']===_0x58bebf);if(_0x162a74){const _0x47bec2=_0xb47816['data']['toView'](_0x162a74['definition'],{'isClipboardPipeline':!0x0}),_0x39e339=_0xb47816['data']['htmlProcessor']['toData'](_0x47bec2);_0x26ac3c[_0x162a74['id']]=_0x39e339;}return _0x26ac3c;},Object['create'](null));_0x3cad88['dataTransfer']['setData']('application/ckeditor5-footnotes',JSON['stringify'](_0xe454b0));});}['_handlePasteFootnotesDefinitions'](){const {editor:_0x458a65}=this,{model:_0x1823e4,plugins:_0x15b906}=_0x458a65,{view:_0x516c4b}=_0x458a65['editing'],_0x1d29cd=_0x15b906['get'](_0x2c351e),_0x238a68=_0x15b906['get'](K),_0x1369ec=_0x458a65['config']['get']('footnotes.multiBlock');let _0x46c6dd=null;this['listenTo'](_0x516c4b['document'],'clipboardInput',(_0x231179,_0x154e47)=>{const _0x1dd2cd=_0x154e47['dataTransfer']['getData']('application/ckeditor5-footnotes');_0x46c6dd=_0x1dd2cd?JSON['parse'](_0x1dd2cd):null;}),this['listenTo'](_0x1d29cd,'contentInsertion',(_0x2c3710,_0x409f9d)=>{const _0x21eb57=_0x409f9d['sourceEditorId']===this['editor']['id'];_0x21eb57&&'drop'===_0x409f9d['method']||_0x1823e4['change'](_0x4ca61d=>{let _0x12a135=_0x238a68['getFootnotesDefinitionsObjectElement']();const _0x33e237=!!_0x12a135&&Array['from'](_0x1823e4['document']['selection']['getSelectedBlocks']())['includes'](_0x12a135);if(!_0x46c6dd&&function(_0x361138){for(const {item:_0x43635e}of _0x361138)if(_0x43635e['is']('element','footnoteRef'))return!0x0;return!0x1;}(_0x1823e4['createRangeIn'](_0x409f9d['content']))&&(_0x46c6dd=function(_0x5eea1e,_0x418376){const _0xf45ac=G(_0x5eea1e,_0x418376);if(!_0xf45ac)return null;const _0x461813=Object['create'](null);for(const _0x3f7d71 of _0xf45ac['getChildren']())_0x3f7d71['is']('element','footnoteDefinition')&&_0x3f7d71['hasAttribute']('footnoteId')&&(_0x461813[_0x3f7d71['getAttribute']('footnoteId')]=_0x5eea1e['cloneElement'](_0x3f7d71,!0x0));return Object['keys'](_0x461813)['length']?_0x461813:null;}(_0x4ca61d,_0x409f9d['content'])),(_0x12a135&&!_0x33e237||!_0x12a135&&!_0x46c6dd)&&function(_0x5716c7,_0x57e471){const _0x36f900=[];for(const {item:_0x29915f}of _0x5716c7['createRangeIn'](_0x57e471))_0x29915f['is']('element','footnotesDefinitions')&&_0x36f900['push'](_0x29915f);for(const _0x1c42e9 of _0x36f900)_0x5716c7['remove'](_0x1c42e9);}(_0x4ca61d,_0x409f9d['content']),!_0x46c6dd)return;const {selection:_0x173c3b}=_0x1823e4['document'],_0x40c0ff=_0x173c3b['getFirstRange']()['root'];_0x12a135&&!_0x33e237||(_0x12a135=G(_0x4ca61d,_0x409f9d['content']),_0x12a135||=_0x238a68['_insertEmptyFootnotesDefinitionsContainer'](_0x4ca61d,_0x40c0ff));const _0x10813d=Array['from'](_0x173c3b['getRanges']())['flatMap'](Q),_0x1ba0c4=function(_0x1565b8,_0x4837b1,_0x256150){const _0x17f1a6=Object['create'](null);for(const {item:_0x941995}of _0x1565b8['createRangeIn'](_0x4837b1))if(_0x941995['is']('element','footnoteRef')){const _0x723336=_0x941995['getAttribute']('footnoteId');if(!_0x256150(_0x723336))continue;_0x17f1a6[_0x723336]||(_0x17f1a6[_0x723336]=_0x200590()),_0x1565b8['setAttribute']('footnoteId',_0x17f1a6[_0x723336],_0x941995);}return _0x17f1a6;}(_0x4ca61d,_0x409f9d['content'],_0x1e4e5b=>{if(!_0x21eb57)return!0x0;return!!_0x238a68['getFootnote'](_0x1e4e5b)&&!_0x10813d['includes'](_0x1e4e5b);});for(const [_0x4c972d,_0x6fa189]of Object['entries'](_0x46c6dd)){const _0x42c217=_0x1ba0c4[_0x4c972d]||_0x4c972d;let _0x2177ef;if('string'!=typeof _0x6fa189)_0x2177ef=_0x6fa189,_0x42c217!==_0x4c972d&&_0x4ca61d['setAttribute']('footnoteId',_0x42c217,_0x2177ef);else{_0x2177ef=_0x4ca61d['createElement']('footnoteDefinition',{'footnoteId':_0x42c217});const _0x5a4bcb=_0x458a65['data']['htmlProcessor']['toView'](_0x6fa189);let _0x11da4c;if(_0x1369ec)_0x11da4c=_0x458a65['data']['toModel'](_0x5a4bcb,_0x2177ef);else{_0x11da4c=_0x4ca61d['createElement']('footnoteInlineContent');const _0x2f65ac=_0x458a65['data']['toModel'](_0x5a4bcb,_0x11da4c);_0x4ca61d['insert'](_0x2f65ac,_0x11da4c);}_0x4ca61d['append'](_0x11da4c,_0x2177ef);}_0x4ca61d['insert'](_0x2177ef,_0x12a135,'end');}_0x46c6dd=null;});});}}function G(_0x7d5561,_0x438d83){for(const {item:_0x4a2d06}of _0x7d5561['createRangeIn'](_0x438d83))if(_0x4a2d06['is']('element','footnotesDefinitions'))return _0x4a2d06;return null;}function Q(_0x389d59){const _0x38f5fc=new Set();for(const {item:_0x29fa44}of _0x389d59)_0x29fa44['is']('element','footnoteRef')&&_0x38f5fc['add'](_0x29fa44['getAttribute']('footnoteId'));return Array['from'](_0x38f5fc);}class W extends _0x57e318{['licenseKey'];['_licenseKeyCheckInterval'];static get['pluginName'](){return'FootnotesUI';}static get['isOfficialPlugin'](){return!0x0;}static get['isPremiumPlugin'](){return!0x0;}['init'](){const {editor:_0x2d0ea4}=this,{componentFactory:_0x9d50a4}=_0x2d0ea4['ui'];_0x9d50a4['add']('insertFootnote',Y(_0x2d0ea4,_0x14dfd9)),_0x9d50a4['add']('menuBar:insertFootnote',Y(_0x2d0ea4,_0x4f3d95)),this['licenseKey']=this['editor']['config']['get']('licenseKey');const _0x5df910=this['editor'];this['_licenseKeyCheckInterval']=setInterval(()=>{let _0x26a6a1;for(const _0x342d32 in _0x5df910){const _0x22e21c=_0x342d32,_0x14a699=_0x5df910[_0x22e21c];if('footnotesLicenseKeyValid'==_0x14a699||'footnotesLicenseKeyInvalid'==_0x14a699||'footnotesLicenseKeyExpired'==_0x14a699||'footnotesLicenseKeyDomainLimit'==_0x14a699||'footnotesLicenseKeyNotAllowed'==_0x14a699||'footnotesLicenseKeyEvaluationLimit'==_0x14a699||'footnotesLicenseKeyUsageLimit'==_0x14a699){delete _0x5df910[_0x22e21c],_0x26a6a1=_0x14a699,clearInterval(this['_licenseKeyCheckInterval']),this['_licenseKeyCheckInterval']=void 0x0;break;}}'footnotesLicenseKeyInvalid'==_0x26a6a1&&_0x5df910['_showLicenseError']('invalid'),'footnotesLicenseKeyExpired'==_0x26a6a1&&_0x5df910['_showLicenseError']('expired'),'footnotesLicenseKeyDomainLimit'==_0x26a6a1&&_0x5df910['_showLicenseError']('domainLimit'),'footnotesLicenseKeyNotAllowed'==_0x26a6a1&&_0x5df910['_showLicenseError']('featureNotAllowed','Footnotes'),'footnotesLicenseKeyEvaluationLimit'==_0x26a6a1&&_0x5df910['_showLicenseError']('evaluationLimit'),'footnotesLicenseKeyUsageLimit'==_0x26a6a1&&_0x5df910['_showLicenseError']('usageLimit');},0x3e8);}['destroy'](){super['destroy'](),this['_licenseKeyCheckInterval']&&clearInterval(this['_licenseKeyCheckInterval']);}}function Y(_0x288002,_0x35d7af){const _0x212ac5=_0x288002['commands']['get']('insertFootnote');return _0x6a94c6=>{const {t:t}=_0x6a94c6,_0x15d7db=new _0x35d7af(_0x6a94c6),_0x4c0aa8=_0x15d7db instanceof _0x4f3d95;return _0x15d7db['bind']('isEnabled')['to'](_0x212ac5,'isEnabled'),_0x15d7db['set']({'label':t(_0x4c0aa8?'Footnote':'Insert\x20footnote'),'icon':_0x1ebade,'tooltip':!0x0}),_0x15d7db['on']('execute',()=>{_0x212ac5['execute'](),_0x288002['editing']['view']['focus']();}),_0x15d7db;};}class Z extends _0x57e318{static get['pluginName'](){return'Footnotes';}static get['requires'](){return[$,J,W];}static get['isOfficialPlugin'](){return!0x0;}static get['isPremiumPlugin'](){return!0x0;}}const tt=['decimal','decimal-leading-zero','lower-latin','upper-latin','lower-roman','upper-roman'],et=Object['create']({'lower-alpha':'lower-latin','upper-alpha':'upper-latin'}),ot=[...tt,'arabic-indic','lower-alpha','upper-alpha'];class nt extends _0x27ab07{['refresh'](){const {editor:_0x5403df}=this,_0x2a58ad=_0x5403df['plugins']['get'](K)['getFootnotesDefinitionsObjectElement']();this['isEnabled']=!!_0x2a58ad,this['value']=_0x2a58ad?.['getAttribute']('footnotesListStyle')??null;}['execute']({value:_0x24b75e}){const {editor:_0x51b4bb}=this,_0xb26bf5=_0x51b4bb['plugins']['get'](K),_0x42dd9b=_0xb26bf5['getFootnotesDefinitionsObjectElement']();_0x42dd9b&&ot['includes'](_0x24b75e)&&_0x51b4bb['model']['change'](_0x194a1c=>{_0x194a1c['setAttribute']('footnotesListStyle',_0x24b75e,_0x42dd9b),_0xb26bf5['_updateFootnotesCounters'](_0x194a1c);});}}class it extends _0x27ab07{['refresh'](){const {editor:_0x4c53e2}=this,_0x1fba89=_0x4c53e2['plugins']['get'](K)['getFootnotesDefinitionsObjectElement']();this['isEnabled']=!!_0x1fba89,this['value']=_0x1fba89?.['getAttribute']('footnotesListStart')??null;}['execute']({value:_0x2203d4}){const {editor:_0x4ba165}=this,_0x49b922=_0x4ba165['plugins']['get'](K),_0xb1e0ac=_0x49b922['getFootnotesDefinitionsObjectElement']();_0xb1e0ac&&Number['isInteger'](_0x2203d4)&&_0x4ba165['model']['change'](_0x513794=>{_0x513794['setAttribute']('footnotesListStart',_0x2203d4,_0xb1e0ac),_0x49b922['_updateFootnotesCounters'](_0x513794);});}}function st(_0x1073d2,_0x55e1e9){let _0x2a6a8d='',_0x43cb9d=_0x1073d2;for(;_0x43cb9d>0x0;){const _0x46d9a8=(_0x43cb9d-0x1)%0x1a;_0x2a6a8d=String['fromCharCode'](0x61+_0x46d9a8)+_0x2a6a8d,_0x43cb9d=Math['floor']((_0x43cb9d-0x1)/0x1a);}return _0x55e1e9?_0x2a6a8d['toUpperCase']():_0x2a6a8d;}const rt=[{'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 lt(_0x460f46,_0x3ad8b7){let _0x1e934c='',_0x2fc660=_0x460f46;for(const {value:_0x2c1e27,numeral:_0x55b73e}of rt)for(;_0x2fc660>=_0x2c1e27;)_0x1e934c+=_0x55b73e,_0x2fc660-=_0x2c1e27;return _0x3ad8b7?_0x1e934c:_0x1e934c['toLowerCase']();}const ft=['٠','١','٢','٣','٤','٥','٦','٧','٨','٩'];class at extends _0x57e318{static get['pluginName'](){return'FootnotesPropertiesEditing';}static get['requires'](){return[$,K];}static get['isOfficialPlugin'](){return!0x0;}static get['isPremiumPlugin'](){return!0x0;}['init'](){const {editor:_0x110054}=this;_0x110054['config']['define']('footnotes.footnotesProperties.defaultListStyle','decimal'),_0x110054['config']['define']('footnotes.footnotesProperties.defaultStartIndex',0x1),_0x110054['config']['define']('footnotes.footnotesProperties.listStyles',[...tt]),_0x110054['commands']['add']('footnotesStyle',new nt(_0x110054)),_0x110054['commands']['add']('footnotesStart',new it(_0x110054)),this['_defineSchema'](),this['_defineConverters'](),this['_defineFormatter'](),this['_definePostfixer']();}['_defineSchema'](){const {editor:_0x5d5aeb}=this,{schema:_0x139525}=_0x5d5aeb['model'];_0x139525['extend']('footnotesDefinitions',{'allowAttributes':['footnotesListStyle','footnotesListStart']});}['_defineConverters'](){const {editor:_0xe1be92}=this,{conversion:_0xbf6ea0,model:_0x48c81c}=_0xe1be92,{schema:_0x4934b4}=_0x48c81c;_0xbf6ea0['for']('upcast')['add'](_0x1b2472=>{_0x1b2472['on']('element:ol',(_0x226205,_0x2cdd3b,_0xa5433f)=>{const _0x506d1f=_0x2cdd3b['viewItem'],_0x317ace=_0x2cdd3b['modelCursor']?.['parent'];_0x506d1f['hasClass']('footnotes-list')&&_0x317ace?.['is']('element','footnotesDefinitions')&&(function(_0x5cd201,_0x1c3542,_0x3ea482,_0x6dd3a1){if(!_0x6dd3a1['checkAttribute'](_0x1c3542,'footnotesListStart'))return;let _0x3f9496=0x1;const _0x4aff94=_0x3ea482['consumable']['consume'](_0x5cd201,{'attributes':'start'});if(_0x4aff94){const _0x11a328=Number['parseInt'](_0x5cd201['getAttribute']('start'),0xa);Number['isNaN'](_0x11a328)||(_0x3f9496=_0x11a328);}!_0x4aff94&&_0x1c3542['hasAttribute']('footnotesListStart')||_0x3ea482['writer']['setAttribute']('footnotesListStart',_0x3f9496,_0x1c3542);}(_0x506d1f,_0x317ace,_0xa5433f,_0x4934b4),function(_0xe7fa64,_0x409bc6,_0xb824d7,_0x38154b){if(!_0x38154b['checkAttribute'](_0x409bc6,'footnotesListStyle'))return;let _0x93f99e='decimal',_0xcba2d2=!0x1;if(_0xb824d7['consumable']['consume'](_0xe7fa64,{'attributes':'type'})){const _0x534c0b={0x1:'decimal','a':'lower-latin','A':'upper-latin','i':'lower-roman','I':'upper-roman'}[_0xe7fa64['getAttribute']('type')];_0x534c0b&&(_0x93f99e=_0x534c0b),_0xcba2d2=!0x0;}if(_0xb824d7['consumable']['consume'](_0xe7fa64,{'styles':'list-style-type'})){const _0x58fef9=ct(_0xe7fa64['getStyle']('list-style-type'));_0x58fef9&&(_0x93f99e=_0x58fef9),_0xcba2d2=!0x0;}!_0xcba2d2&&_0x409bc6['hasAttribute']('footnotesListStyle')||_0xb824d7['writer']['setAttribute']('footnotesListStyle',_0x93f99e,_0x409bc6);}(_0x506d1f,_0x317ace,_0xa5433f,_0x4934b4));});}),_0xbf6ea0['for']('downcast')['add'](_0x374b26=>{_0x374b26['on']('attribute:footnotesListStart:footnotesDefinitions',(_0x3767f5,_0x3310bb,_0x113d7c)=>{if(!_0x113d7c['consumable']['consume'](_0x3310bb['item'],_0x3767f5['name']))return;const _0x46d414=ut(_0x3310bb['item'],_0x113d7c['mapper']),{attributeNewValue:_0x176fbe}=_0x3310bb;null==_0x176fbe||0x1===_0x176fbe?_0x113d7c['writer']['removeAttribute']('start',_0x46d414):_0x113d7c['writer']['setAttribute']('start',String(_0x176fbe),_0x46d414);}),_0x374b26['on']('attribute:footnotesListStyle:footnotesDefinitions',(_0x5a6477,_0x3c340d,_0x57ffcf)=>{if(!_0x57ffcf['consumable']['consume'](_0x3c340d['item'],_0x5a6477['name']))return;const _0x419d04=ut(_0x3c340d['item'],_0x57ffcf['mapper']),{attributeNewValue:_0x6374be}=_0x3c340d;_0x6374be&&'decimal'!==_0x6374be?_0x57ffcf['writer']['setStyle']('list-style-type',_0x6374be,_0x419d04):_0x57ffcf['writer']['removeStyle']('list-style-type',_0x419d04);});});}['_definePostfixer'](){const {editor:_0x4b6279}=this,{model:_0x408aac}=_0x4b6279,_0x828ddc=_0x4b6279['plugins']['get'](K),_0x2e8d19=this['_getDefaultListStyle'](),_0x4f44eb=this['_getDefaultStartIndex']();_0x408aac['document']['registerPostFixer'](_0x595d23=>{const _0x10d6f8=_0x408aac['document']['differ']['getChanges']();let _0x21b505=!0x1;for(const _0x122f3d of _0x10d6f8){if('insert'!==_0x122f3d['type']||'$text'===_0x122f3d['name'])continue;const _0x32b3ae=_0x408aac['createRangeOn'](_0x122f3d['position']['nodeAfter']);for(const _0x2dcb8b of _0x32b3ae['getItems']())_0x2dcb8b['is']('element','footnotesDefinitions')&&(!_0x2dcb8b['hasAttribute']('footnotesListStart')&&_0x408aac['schema']['checkAttribute'](_0x2dcb8b,'footnotesListStart')&&(_0x595d23['setAttribute']('footnotesListStart',_0x4f44eb,_0x2dcb8b),_0x21b505=!0x0),!_0x2dcb8b['hasAttribute']('footnotesListStyle')&&_0x408aac['schema']['checkAttribute'](_0x2dcb8b,'footnotesListStyle')&&(_0x595d23['setAttribute']('footnotesListStyle',_0x2e8d19,_0x2dcb8b),_0x21b505=!0x0));}return _0x21b505&&_0x828ddc['_updateFootnotesCounters'](_0x595d23),_0x21b505;});}['_defineFormatter'](){const {editor:_0x44b298}=this;_0x44b298['plugins']['get'](K)['setFootnoteFormatter'](_0x47b8ea=>this['_formatFootnoteListValue'](_0x47b8ea));}['_getDefaultListStyle'](){return this['editor']['config']['get']('footnotes.footnotesProperties.defaultListStyle');}['_getDefaultStartIndex'](){return this['editor']['config']['get']('footnotes.footnotesProperties.defaultStartIndex');}['_formatFootnoteListValue']({container:_0x11e59b,value:_0x39eab5,digits:_0x3f82d5}){const _0x4b8b6f=_0x11e59b['getAttribute']('footnotesListStyle'),_0x2fc30b=_0x11e59b['getAttribute']('footnotesListStart'),_0x2d45f9=Math['floor'](_0x39eab5)+(_0x2fc30b??0x1)-0x1;switch(_0x4b8b6f){case'decimal-leading-zero':return function(_0x56cc75,_0x29c6ad){return String(_0x56cc75)['padStart'](_0x29c6ad,'0');}(_0x2d45f9,Math['max'](0x2,_0x3f82d5));case'lower-alpha':case'lower-latin':return st(_0x2d45f9,!0x1);case'upper-alpha':case'upper-latin':return st(_0x2d45f9,!0x0);case'lower-roman':return lt(_0x2d45f9,!0x1);case'upper-roman':return lt(_0x2d45f9,!0x0);case'arabic-indic':return String(_0x2d45f9)['replace'](/\d/g,_0x1d04ed=>ft[Number(_0x1d04ed)]);default:return String(_0x2d45f9);}}}function ct(_0x292f56){if('string'==typeof _0x292f56){const _0x38c6f1=et[_0x292f56];if(_0x38c6f1)return _0x38c6f1;if(ot['includes'](_0x292f56))return _0x292f56;}return null;}function ut(_0x36553a,_0x265b2a){const _0x4a86f1=_0x265b2a['toViewElement'](_0x36553a);return Array['from'](_0x4a86f1['getChildren']())['find'](_0x3e463f=>_0x3e463f['is']('element','ol')&&_0x3e463f['hasClass']('footnotes-list'));}class dt extends _0x35cba8{['children'];['stylesView']=null;['additionalProperties']=null;['startIndexFieldView']=null;['focusTracker']=new _0x119c27();['keystrokes']=new _0x267cb0();['focusables']=new _0x26c895();['focusCycler'];constructor(_0x52f84a,{styleButtonViews:_0x631726,styleGridAriaLabel:_0x2558b0}){super(_0x52f84a),(this['focusCycler']=new _0x52db44({'focusables':this['focusables'],'focusTracker':this['focusTracker'],'keystrokeHandler':this['keystrokes'],'actions':{'focusPrevious':'shift\x20+\x20tab','focusNext':'tab'}}),this['children']=this['createCollection'](),this['stylesView']=this['_appendStylesView'](_0x631726,_0x2558b0),[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 _0x3e9243 of this['stylesView']['children'])this['stylesView']['focusTracker']['add'](_0x3e9243['element']);_0x57a8c8({'keystrokeHandler':this['stylesView']['keystrokes'],'focusTracker':this['stylesView']['focusTracker'],'gridItems':this['stylesView']['children'],'numberOfColumns':()=>_0x6738b1['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 _0x399f1d=_0xe84a1=>_0xe84a1['stopPropagation']();this['keystrokes']['set']('arrowright',_0x399f1d),this['keystrokes']['set']('arrowleft',_0x399f1d),this['keystrokes']['set']('arrowup',_0x399f1d),this['keystrokes']['set']('arrowdown',_0x399f1d);}this['keystrokes']['listenTo'](this['element']);}['focus'](){this['focusCycler']['focusFirst']();}['focusLast'](){this['focusCycler']['focusLast']();}['destroy'](){super['destroy'](),this['focusTracker']['destroy'](),this['keystrokes']['destroy']();}['_appendStylesView'](_0x586d8a,_0x3a6407){const _0x51dbd4=new _0x35cba8(this['locale']);return _0x51dbd4['children']=_0x51dbd4['createCollection'](),_0x51dbd4['children']['addMany'](_0x586d8a),_0x51dbd4['setTemplate']({'tag':'div','attributes':{'aria-label':_0x3a6407,'class':['ck','ck-footnotes-definitions-styles-list']},'children':_0x51dbd4['children']}),_0x51dbd4['children']['delegate']('execute')['to'](this),_0x51dbd4['focus']=function(){for(const _0x44ecec of this['children'])if(_0x44ecec instanceof _0x14dfd9&&_0x44ecec['isOn'])return void _0x44ecec['focus']();this['children']['first']['focus']();},_0x51dbd4['focusTracker']=new _0x119c27(),_0x51dbd4['keystrokes']=new _0x267cb0(),_0x51dbd4['render'](),_0x51dbd4['keystrokes']['listenTo'](_0x51dbd4['element']),this['children']['add'](_0x51dbd4),_0x51dbd4;}['_appendAdditionalPropertiesCollapsibleView'](){const {t:t}=this['locale'],_0xbef3a=this['_createStartIndexPropertyView'](),_0x2a2e2d=[_0xbef3a],_0x10f6ed=new _0x11d3ba(this['locale'],_0x2a2e2d);return _0x10f6ed['set']({'label':t('Footnotes\x20properties'),'isCollapsed':!0x0}),_0x10f6ed['buttonView']['bind']('isEnabled')['toMany'](_0x2a2e2d,'isEnabled',(..._0x4a5592)=>_0x4a5592['some'](_0x4ca1cc=>_0x4ca1cc)),_0x10f6ed['buttonView']['on']('change:isEnabled',(_0x6d74f1,_0x4fbbe0,_0x32daaa)=>{_0x32daaa||(_0x10f6ed['isCollapsed']=!0x0);}),this['children']['add'](_0x10f6ed),[_0xbef3a,_0x10f6ed];}['_createStartIndexPropertyView'](){const {t:t}=this['locale'],_0x399a6b=new _0x4ba349(this['locale'],_0x84a9ba);return _0x399a6b['set']({'label':t('Footnotes\x20start\x20at'),'class':'ck-footnotes-definitions-properties__start-index'}),_0x399a6b['fieldView']['set']({'min':0x0,'max':Math['pow'](0x2,0x1e),'step':0x1,'value':0x1,'inputMode':'numeric'}),_0x399a6b['fieldView']['on']('input',()=>{const _0x5ba1cf=_0x399a6b['fieldView']['element'],_0x5ce9be=_0x5ba1cf['valueAsNumber'];Number['isNaN'](_0x5ce9be)?_0x399a6b['errorText']=t('Invalid\x20footnotes\x20start\x20index\x20value.'):_0x5ba1cf['checkValidity']()?this['fire']('footnotesListStart',{'startIndex':_0x5ce9be}):_0x399a6b['errorText']=t(_0x5ce9be<0x0?'Footnotes\x20start\x20index\x20must\x20be\x20greater\x20than\x200.':'Footnotes\x20start\x20index\x20is\x20too\x20large.');}),_0x399a6b;}}class ht extends _0x57e318{static get['pluginName'](){return'FootnotesPropertiesUI';}static get['requires'](){return[_0x4149d6,_0x15fdcf];}static get['isOfficialPlugin'](){return!0x0;}static get['isPremiumPlugin'](){return!0x0;}['init'](){const {editor:_0x4dfa82}=this,{componentFactory:_0x436215}=_0x4dfa82['ui'];_0x4dfa82['config']['define']('footnotes.footnotesProperties.toolbar',['footnotesStyle']),_0x436215['add']('footnotesStyle',function(_0x368755){return _0x5de183=>{const {t:t}=_0x5de183,_0x398f1f=_0x368755['commands']['get']('footnotesStyle'),_0x2c209f=_0x50ae09(_0x5de183),{buttonView:_0x3cb0fc}=_0x2c209f;return _0x2c209f['class']='ck-footnotes-styles-dropdown',_0x2c209f['bind']('isEnabled')['to'](_0x398f1f,'isEnabled'),_0x3cb0fc['set']({'label':t('Footnotes\x20style'),'icon':_0x1ebade,'tooltip':!0x0}),_0x2c209f['once']('change:isOpen',()=>{const _0xe19588=function({editor:_0x242648,dropdownView:_0x83b33}){const {t:t}=_0x242648['locale'],_0x4560aa=t('Footnotes\x20definitions\x20styles'),_0x1928f2=function(_0x1b51b5){const {t:t}=_0x1b51b5['locale'],_0x354411=_0x1b51b5['config']['get']('footnotes.footnotesProperties.listStyles'),_0x285a8b=[{'style':'decimal','label':t('Toggle\x20the\x20decimal\x20footnotes\x20style'),'tooltip':t('Decimal\x20footnotes'),'icon':_0x13b869},{'style':'decimal-leading-zero','label':t('Toggle\x20the\x20decimal\x20with\x20leading\x20zero\x20footnotes\x20style'),'tooltip':t('Decimal\x20footnotes\x20with\x20leading\x20zero'),'icon':_0x556c82},{'style':'lower-roman','label':t('Toggle\x20the\x20lower-roman\x20footnotes\x20style'),'tooltip':t('Lower-roman\x20footnotes'),'icon':_0x2ba2e3},{'style':'upper-roman','label':t('Toggle\x20the\x20upper-roman\x20footnotes\x20style'),'tooltip':t('Upper-roman\x20footnotes'),'icon':_0x3f8e4d},{'style':'lower-latin','label':t('Toggle\x20the\x20lower-latin\x20footnotes\x20style'),'tooltip':t('Lower-latin\x20footnotes'),'icon':_0x22d6f1},{'style':'upper-latin','label':t('Toggle\x20the\x20upper-latin\x20footnotes\x20style'),'tooltip':t('Upper-latin\x20footnotes'),'icon':_0x44c01a},{'style':'arabic-indic','label':t('Toggle\x20the\x20arabic-indic\x20footnotes\x20style'),'tooltip':t('Arabic-indic\x20footnotes'),'icon':_0x1e9ede}];return _0x354411['map'](_0x1f231e=>{const _0x230d01=ct(_0x1f231e),_0x1f2f5b=_0x285a8b['find'](_0x23b27e=>_0x23b27e['style']===_0x230d01);return function(_0x17256d,_0x3f245c){const {locale:_0x16810a}=_0x17256d,{label:_0x2284ad,icon:_0x14ea7e,tooltip:_0x3d35f7,style:_0x5e4fa0}=_0x3f245c,_0x2d7b11=_0x17256d['commands']['get']('footnotesStyle'),_0x5bb6c9=new _0x14dfd9(_0x16810a);return _0x5bb6c9['set']({'label':_0x2284ad,'icon':_0x14ea7e,'tooltip':_0x3d35f7}),_0x5bb6c9['bind']('isOn')['to'](_0x2d7b11,'value',_0x392673=>_0x392673===_0x5e4fa0),_0x5bb6c9['bind']('isEnabled')['to'](_0x2d7b11,'isEnabled'),_0x5bb6c9['on']('execute',()=>{_0x17256d['execute']('footnotesStyle',{'value':_0x5e4fa0}),_0x17256d['editing']['view']['focus']();}),_0x5bb6c9;}(_0x1b51b5,_0x1f2f5b);});}(_0x242648),_0x193ed9=new dt(_0x242648['locale'],{'styleGridAriaLabel':_0x4560aa,'styleButtonViews':_0x1928f2}),_0x581755=_0x242648['commands']['get']('footnotesStart');return _0x193ed9['startIndexFieldView']['bind']('isEnabled')['to'](_0x581755),_0x193ed9['startIndexFieldView']['fieldView']['bind']('value')['to'](_0x581755),_0x193ed9['on']('footnotesListStart',(_0x3b899f,_0x49d152)=>{_0x242648['execute']('footnotesStart',{'value':_0x49d152['startIndex']});}),_0x193ed9['delegate']('execute')['to'](_0x83b33),_0x193ed9;}({'editor':_0x368755,'dropdownView':_0x2c209f});_0x2c209f['panelView']['children']['add'](_0xe19588);}),_0x2c209f;};}(_0x4dfa82));}['afterInit'](){const {editor:_0x42bc62}=this,{t:t}=_0x42bc62['locale'],_0x19a4fc=_0x42bc62['plugins']['get'](_0x15fdcf),{defaultPositions:_0x351bcb}=_0x188456;_0x19a4fc['register']('footnotesDefinitions',{'ariaLabel':t('Footnotes\x20definitions\x20toolbar'),'items':_0x42bc62['config']['get']('footnotes.footnotesProperties.toolbar'),'balloonClassName':'ck-footnotes-style-balloon\x20ck-toolbar-container','getRelatedElement':_0x368302=>{let _0x4ce155=_0x368302['getFirstPosition']()?.['parent'];return _0x4ce155?.['is']('$text')&&(_0x4ce155=_0x4ce155['parent']),_0x4ce155?.['is']('element')?_0x4ce155['findAncestor'](q):null;},'positions':[_0x351bcb['southArrowNorth'],_0x351bcb['southArrowNorthMiddleWest'],_0x351bcb['southArrowNorthMiddleEast'],_0x351bcb['southArrowNorthWest'],_0x351bcb['southArrowNorthEast'],_0x351bcb['northArrowSouth'],_0x351bcb['northArrowSouthMiddleWest'],_0x351bcb['northArrowSouthMiddleEast'],_0x351bcb['northArrowSouthWest'],_0x351bcb['northArrowSouthEast'],_0x351bcb['viewportStickyNorth']]});}}class mt extends _0x57e318{static get['pluginName'](){return'FootnotesProperties';}static get['requires'](){return[at,ht];}static get['isOfficialPlugin'](){return!0x0;}static get['isPremiumPlugin'](){return!0x0;}}export{Z as Footnotes,J as FootnotesClipboard,$ as FootnotesEditing,mt as FootnotesProperties,at as FootnotesPropertiesEditing,ht as FootnotesPropertiesUI,it as FootnotesStartCommand,nt as FootnotesStyleCommand,K as FootnotesTracker,W as FootnotesUI,V 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':'','Upper-roman\x20footnotes':'','Lower-latin\x20footnotes':'','Upper-latin\x20footnotes':'','Arabic-indic\x20footnotes':'','Lower-roman\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':'','Toggle\x20the\x20arabic-indic\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':'','Upper-roman\x20footnotes':'','Lower-latin\x20footnotes':'','Upper-latin\x20footnotes':'','Arabic-indic\x20footnotes':'','Lower-roman\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':'','Toggle\x20the\x20arabic-indic\x20footnotes\x20style':''},'getPluralForm':_0x339ac4=>0x1!=_0x339ac4}};
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
(
|
|
23
|
+
(_0x1bb0bd=>{const {af:{dictionary:_0x3c31ed,getPluralForm:_0xcd6e71}}={'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':'','Upper-roman\x20footnotes':'','Lower-latin\x20footnotes':'','Upper-latin\x20footnotes':'','Arabic-indic\x20footnotes':'','Lower-roman\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':'','Toggle\x20the\x20arabic-indic\x20footnotes\x20style':''},'getPluralForm':_0x1f10c7=>0x1!=_0x1f10c7}};_0x1bb0bd['af']||={'dictionary':{},'getPluralForm':null},_0x1bb0bd['af']['dictionary']=Object['assign'](_0x1bb0bd['af']['dictionary'],_0x3c31ed),_0x1bb0bd['af']['getPluralForm']=_0xcd6e71;})(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البادئ','Upper-roman\x20footnotes':'الحواشي\x20العلوية\x20الرومانية','Lower-latin\x20footnotes':'الحواشي\x20السفلية\x20اللاتينية','Upper-latin\x20footnotes':'الحواشي\x20العلوية\x20اللاتينية','Arabic-indic\x20footnotes':'حواشي\x20سفلية\x20بالأحرف\x20العربية\x20(الهندية)','Lower-roman\x20footnotes':'حواشي\x20سفلية\x20بالأحرف\x20الرومانية\x20الصغيرة','Toggle\x20the\x20lower-roman\x20footnotes\x20style':'تبديل\x20نمط\x20الحواشي\x20السفلية\x20بالأحرف\x20الرومانية\x20الصغيرة','Toggle\x20the\x20upper-roman\x20footnotes\x20style':'تبديل\x20نمط\x20الحواشي\x20السفلية\x20بالأحرف\x20الرومانية\x20الكبيرة','Toggle\x20the\x20lower-latin\x20footnotes\x20style':'تبديل\x20نمط\x20الحواشي\x20السفلية\x20بالأحرف\x20اللاتينية\x20الصغيرة','Toggle\x20the\x20upper-latin\x20footnotes\x20style':'تبديل\x20نمط\x20الحواشي\x20السفلية\x20بالأحرف\x20اللاتينية\x20الكبيرة','Toggle\x20the\x20arabic-indic\x20footnotes\x20style':'تبديل\x20نمط\x20الحواشي\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البادئ','Upper-roman\x20footnotes':'الحواشي\x20العلوية\x20الرومانية','Lower-latin\x20footnotes':'الحواشي\x20السفلية\x20اللاتينية','Upper-latin\x20footnotes':'الحواشي\x20العلوية\x20اللاتينية','Arabic-indic\x20footnotes':'حواشي\x20سفلية\x20بالأحرف\x20العربية\x20(الهندية)','Lower-roman\x20footnotes':'حواشي\x20سفلية\x20بالأحرف\x20الرومانية\x20الصغيرة','Toggle\x20the\x20lower-roman\x20footnotes\x20style':'تبديل\x20نمط\x20الحواشي\x20السفلية\x20بالأحرف\x20الرومانية\x20الصغيرة','Toggle\x20the\x20upper-roman\x20footnotes\x20style':'تبديل\x20نمط\x20الحواشي\x20السفلية\x20بالأحرف\x20الرومانية\x20الكبيرة','Toggle\x20the\x20lower-latin\x20footnotes\x20style':'تبديل\x20نمط\x20الحواشي\x20السفلية\x20بالأحرف\x20اللاتينية\x20الصغيرة','Toggle\x20the\x20upper-latin\x20footnotes\x20style':'تبديل\x20نمط\x20الحواشي\x20السفلية\x20بالأحرف\x20اللاتينية\x20الكبيرة','Toggle\x20the\x20arabic-indic\x20footnotes\x20style':'تبديل\x20نمط\x20الحواشي\x20السفلية\x20بالأحرف\x20العربية\x20(الهندية)'},'getPluralForm':_0x36c7c3=>0x0==_0x36c7c3?0x0:0x1==_0x36c7c3?0x1:0x2==_0x36c7c3?0x2:_0x36c7c3%0x64>=0x3&&_0x36c7c3%0x64<=0xa?0x3:_0x36c7c3%0x64>=0xb?0x4:0x5}};
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
(
|
|
23
|
+
(_0x1681f2=>{const {ar:{dictionary:_0x16da28,getPluralForm:_0x43ce8f}}={'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البادئ','Upper-roman\x20footnotes':'الحواشي\x20العلوية\x20الرومانية','Lower-latin\x20footnotes':'الحواشي\x20السفلية\x20اللاتينية','Upper-latin\x20footnotes':'الحواشي\x20العلوية\x20اللاتينية','Arabic-indic\x20footnotes':'حواشي\x20سفلية\x20بالأحرف\x20العربية\x20(الهندية)','Lower-roman\x20footnotes':'حواشي\x20سفلية\x20بالأحرف\x20الرومانية\x20الصغيرة','Toggle\x20the\x20lower-roman\x20footnotes\x20style':'تبديل\x20نمط\x20الحواشي\x20السفلية\x20بالأحرف\x20الرومانية\x20الصغيرة','Toggle\x20the\x20upper-roman\x20footnotes\x20style':'تبديل\x20نمط\x20الحواشي\x20السفلية\x20بالأحرف\x20الرومانية\x20الكبيرة','Toggle\x20the\x20lower-latin\x20footnotes\x20style':'تبديل\x20نمط\x20الحواشي\x20السفلية\x20بالأحرف\x20اللاتينية\x20الصغيرة','Toggle\x20the\x20upper-latin\x20footnotes\x20style':'تبديل\x20نمط\x20الحواشي\x20السفلية\x20بالأحرف\x20اللاتينية\x20الكبيرة','Toggle\x20the\x20arabic-indic\x20footnotes\x20style':'تبديل\x20نمط\x20الحواشي\x20السفلية\x20بالأحرف\x20العربية\x20(الهندية)'},'getPluralForm':_0x102daa=>0x0==_0x102daa?0x0:0x1==_0x102daa?0x1:0x2==_0x102daa?0x2:_0x102daa%0x64>=0x3&&_0x102daa%0x64<=0xa?0x3:_0x102daa%0x64>=0xb?0x4:0x5}};_0x1681f2['ar']||={'dictionary':{},'getPluralForm':null},_0x1681f2['ar']['dictionary']=Object['assign'](_0x1681f2['ar']['dictionary'],_0x16da28),_0x1681f2['ar']['getPluralForm']=_0x43ce8f;})(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':'','Upper-roman\x20footnotes':'','Lower-latin\x20footnotes':'','Upper-latin\x20footnotes':'','Arabic-indic\x20footnotes':'','Lower-roman\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':'','Toggle\x20the\x20arabic-indic\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':'','Upper-roman\x20footnotes':'','Lower-latin\x20footnotes':'','Upper-latin\x20footnotes':'','Arabic-indic\x20footnotes':'','Lower-roman\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':'','Toggle\x20the\x20arabic-indic\x20footnotes\x20style':''},'getPluralForm':_0x363bca=>0x1!=_0x363bca}};
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
(
|
|
23
|
+
(_0x54eb1b=>{const {ast:{dictionary:_0x54bd29,getPluralForm:_0x469c96}}={'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':'','Upper-roman\x20footnotes':'','Lower-latin\x20footnotes':'','Upper-latin\x20footnotes':'','Arabic-indic\x20footnotes':'','Lower-roman\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':'','Toggle\x20the\x20arabic-indic\x20footnotes\x20style':''},'getPluralForm':_0x267e51=>0x1!=_0x267e51}};_0x54eb1b['ast']||={'dictionary':{},'getPluralForm':null},_0x54eb1b['ast']['dictionary']=Object['assign'](_0x54eb1b['ast']['dictionary'],_0x54bd29),_0x54eb1b['ast']['getPluralForm']=_0x469c96;})(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':'','Upper-roman\x20footnotes':'','Lower-latin\x20footnotes':'','Upper-latin\x20footnotes':'','Arabic-indic\x20footnotes':'','Lower-roman\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':'','Toggle\x20the\x20arabic-indic\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':'','Upper-roman\x20footnotes':'','Lower-latin\x20footnotes':'','Upper-latin\x20footnotes':'','Arabic-indic\x20footnotes':'','Lower-roman\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':'','Toggle\x20the\x20arabic-indic\x20footnotes\x20style':''},'getPluralForm':_0x29562d=>0x1!=_0x29562d}};
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
(
|
|
23
|
+
(_0x31ac70=>{const {az:{dictionary:_0x2198e8,getPluralForm:_0x5559e6}}={'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':'','Upper-roman\x20footnotes':'','Lower-latin\x20footnotes':'','Upper-latin\x20footnotes':'','Arabic-indic\x20footnotes':'','Lower-roman\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':'','Toggle\x20the\x20arabic-indic\x20footnotes\x20style':''},'getPluralForm':_0xa43c84=>0x1!=_0xa43c84}};_0x31ac70['az']||={'dictionary':{},'getPluralForm':null},_0x31ac70['az']['dictionary']=Object['assign'](_0x31ac70['az']['dictionary'],_0x2198e8),_0x31ac70['az']['getPluralForm']=_0x5559e6;})(window['CKEDITOR_TRANSLATIONS']||={});
|