@ckeditor/ckeditor5-footnotes 48.0.0-alpha.4 → 48.0.0-alpha.5
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 _0x8bc47d,Command as _0x2ecdf5}from'@ckeditor/ckeditor5-core/dist/index.js';import{toWidget as _0x5618f5,isWidget as _0x2698e2,toWidgetEditable as _0x329aa6,WidgetToolbarRepository as _0x2e58dc}from'@ckeditor/ckeditor5-widget/dist/index.js';import{uid as _0x24f2b5,logWarning as _0x2a0981,FocusTracker as _0xb307b8,KeystrokeHandler as _0x2e41a2,global as _0x30fc27}from'@ckeditor/ckeditor5-utils/dist/index.js';import{PointerObserver as _0x4d6499,ClickObserver as _0x4f66ef}from'@ckeditor/ckeditor5-engine/dist/index.js';import{ClipboardPipeline as _0x2aa6c6}from'@ckeditor/ckeditor5-clipboard/dist/index.js';import{MenuBarMenuListItemButtonView as _0x4e1c3e,ButtonView as _0x4d71ae,View as _0x5bcf97,ViewCollection as _0x217e0f,FocusCycler as _0x11a4bf,addKeyboardHandlingForGrid as _0xa476a5,CollapsibleView as _0x1b22a0,LabeledFieldView as _0x3270d7,createLabeledInputNumber as _0x7de0f,ContextualBalloon as _0x2dbb58,BalloonPanelView as _0x30a1b4,createDropdown as _0x1ef1d7}from'@ckeditor/ckeditor5-ui/dist/index.js';import{IconFootnote as _0x2e9740,IconListStyleDecimal as _0x5c9280,IconListStyleDecimalLeadingZero as _0x3ccbff,IconListStyleLowerRoman as _0x517153,IconListStyleUpperRoman as _0x56c656,IconListStyleLowerLatin as _0x3ac635,IconListStyleUpperLatin as _0x297597,IconListStyleArabicIndic as _0xa81f0f}from'@ckeditor/ckeditor5-icons/dist/index.js';class R{['_model'];['_elementName'];['_getElementKey'];['_trackedElements']=new Map();constructor(_0x442b7b,_0x447bae){this['_model']=_0x442b7b,this['_elementName']=_0x447bae['elementName'],this['_getElementKey']=_0x447bae['getElementKey'];}['reset'](){this['_trackedElements']['clear']();}['getChanges'](_0x277c62){const _0x14b244=new Set(),_0x10da2c=new Map();for(const _0x7f795 of _0x277c62){if('insert'===_0x7f795['type']&&'$text'!==_0x7f795['name']&&_0x7f795['position']['nodeAfter']){const _0x37e015=this['_model']['createRangeOn'](_0x7f795['position']['nodeAfter']);for(const _0x4b0b76 of _0x37e015['getItems']()){if(!_0x4b0b76['is']('element',this['_elementName']))continue;const _0x143be7=this['_getElementKey'](_0x4b0b76);_0x10da2c['has'](_0x143be7)||_0x10da2c['set'](_0x143be7,[]),_0x10da2c['get'](_0x143be7)['push'](_0x4b0b76);}}if('remove'===_0x7f795['type']&&_0x7f795['name']===this['_elementName']){const _0x4ceb9f=this['_getElementKey']({'getAttribute':_0x467cc9=>_0x7f795['attributes']['get'](_0x467cc9)});_0x14b244['add'](_0x4ceb9f);}}for(const [_0x3952e3,_0x22a59f]of this['_trackedElements'])'$graveyard'===_0x22a59f['root']['rootName']&&_0x14b244['add'](_0x3952e3);for(const _0x51ec7c of _0x14b244)this['_trackedElements']['delete'](_0x51ec7c);for(const [_0xab74b3,_0x430451]of _0x10da2c)this['_trackedElements']['set'](_0xab74b3,_0x430451[_0x430451['length']-0x1]);const _0x2bb3f4=new Set();for(const [_0x4fad33,_0x40f593]of _0x10da2c)_0x14b244['has'](_0x4fad33)&&(_0x2bb3f4['add'](_0x40f593[0x0]),_0x40f593['length']>0x1?_0x10da2c['set'](_0x4fad33,_0x40f593['slice'](0x1)):_0x10da2c['delete'](_0x4fad33),_0x14b244['delete'](_0x4fad33));return{'removed':Array['from'](_0x14b244),'inserted':Array['from'](_0x10da2c['values']())['flat'](),'moved':Array['from'](_0x2bb3f4)};}}class K extends _0x8bc47d{['_footnotes']=[];['_footnotesDefinitions']=null;['_footnoteFormatter']=null;['_footnoteDefsContainerTracker'];['_footnoteRefsTracker'];['_footnoteDefsTracker'];static get['pluginName'](){return'FootnotesTracker';}static get['isOfficialPlugin'](){return!0x0;}static get['isPremiumPlugin'](){return!0x0;}constructor(_0x336fc0){super(_0x336fc0),this['_footnoteDefsContainerTracker']=new R(this['editor']['model'],{'elementName':'footnotesDefinitions','getElementKey':()=>'singleton'}),this['_footnoteRefsTracker']=new R(this['editor']['model'],{'elementName':'footnoteRef','getElementKey':_0x167b17=>_0x167b17['getAttribute']('footnoteId')}),this['_footnoteDefsTracker']=new R(this['editor']['model'],{'elementName':'footnoteDefinition','getElementKey':_0x4d4e87=>_0x4d4e87['getAttribute']('footnoteId')});}['init'](){const {editor:_0x539d7a}=this,{model:_0x496479,data:_0x4dc281}=_0x539d7a;_0x496479['document']['registerPostFixer'](_0x17d15e=>{const _0x5cf00d=_0x496479['document']['differ']['getChanges']();let _0x2d7ee8=!0x1;return this['_handleFootnotesDefinitionsObjectChanges'](_0x17d15e,_0x5cf00d)&&(_0x2d7ee8=!0x0),this['_handleFootnoteDefinitionsChanges'](_0x17d15e,_0x5cf00d)&&(_0x2d7ee8=!0x0),this['_handleFootnoteReferencesChanges'](_0x17d15e,_0x5cf00d)&&(_0x2d7ee8=!0x0),this['_ensureFootnotesReferencesHaveProperOrder'](_0x17d15e)&&(_0x2d7ee8=!0x0),this['_handleFootnotesDefinitionsObjectSync'](_0x17d15e)&&(_0x2d7ee8=!0x0),this['_sortFootnoteDefinitions'](_0x17d15e)&&(_0x2d7ee8=!0x0),_0x2d7ee8;}),this['listenTo'](_0x496479['document'],'change:data',()=>{_0x496479['enqueueChange']({'isUndoable':!0x1},_0x299e99=>{this['_ensureFootnotesDefinitionsContainerExists'](_0x299e99);});},{'priority':'low'}),this['listenTo'](_0x4dc281,'set',()=>{this['_footnotes']=[],this['_footnoteDefsContainerTracker']['reset'](),this['_footnoteRefsTracker']['reset'](),this['_footnoteDefsTracker']['reset']();},{'priority':'high'});}['getFootnotesDefinitionsObjectElement'](){return this['_footnotesDefinitions'];}['getFootnote'](_0x101497){return this['_footnotes']['find'](_0x4408f3=>_0x4408f3['id']===_0x101497)||null;}['getFootnotes'](){return Array['from'](this['_footnotes']);}['getFootnotesFormatter'](){return this['_footnoteFormatter'];}['setFootnoteFormatter'](_0x414255){this['_footnoteFormatter']=_0x414255;}['_updateFootnotesCounters'](_0x246d1c,_0x1cfe4f=0x0){let _0x334f01=!0x1;for(let _0x33cfd3=_0x1cfe4f;_0x33cfd3<this['_footnotes']['length'];_0x33cfd3++)this['_updateFootnoteRefCounter'](_0x246d1c,_0x33cfd3)&&(_0x334f01=!0x0);return _0x334f01;}['_insertEmptyFootnotesDefinitionsContainer'](_0x2111c4,_0x50633b){const _0x2cea3f=_0x2111c4['createElement']('footnotesDefinitions',{});return _0x2111c4['append'](_0x2cea3f,_0x50633b),this['_footnotesDefinitions']=_0x2cea3f,_0x2cea3f;}['_ensureFootnotesDefinitionsContainerExists'](_0xaa890d){if(!this['_footnotes']['length']||this['_footnotesDefinitions'])return;const _0x27ea15=this['_footnotes'][0x0]['reference']['root'],_0x5c5934=this['_insertEmptyFootnotesDefinitionsContainer'](_0xaa890d,_0x27ea15);for(const _0x2b041d of this['_footnotes'])_0x2b041d['definition']['parent']||_0xaa890d['insert'](_0x2b041d['definition'],_0x5c5934,'end');this['_updateFootnotesCounters'](_0xaa890d);}['_handleFootnotesDefinitionsObjectChanges'](_0xb6234e,_0x17f56b){let _0x1366a7=!0x1;const {inserted:_0x5e0a8b,removed:_0x5e15bf,moved:_0x5d724e}=this['_footnoteDefsContainerTracker']['getChanges'](_0x17f56b);if(_0x5d724e['length']&&(this['_footnotesDefinitions']=_0x5d724e[0x0]),_0x5e0a8b['length']){if(_0x5e0a8b['length']>0x1||this['_footnotesDefinitions']&&_0x5e0a8b['some'](_0x1aeef5=>_0x1aeef5!==this['_footnotesDefinitions'])){const _0x5e7855=_0xb6234e['createElement']('footnotesDefinitions',{}),_0xc85178=[];this['_footnotesDefinitions']&&_0xc85178['push'](this['_footnotesDefinitions']),_0xc85178['push'](..._0x5e0a8b),_0xb6234e['insert'](_0x5e7855,_0xc85178[0x0],'before');for(const _0x16ca0d of _0xc85178)_0xb6234e['move'](_0xb6234e['createRangeIn'](_0x16ca0d),_0xb6234e['createPositionAt'](_0x5e7855,'end')),_0xb6234e['remove'](_0x16ca0d);this['_footnotesDefinitions']=_0x5e7855,this['_updateFootnotesCounters'](_0xb6234e),_0x1366a7=!0x0;}else this['_footnotesDefinitions']=_0x5e0a8b[0x0];}if(_0x5e15bf['length']&&'$graveyard'===this['_footnotesDefinitions']?.['root']['rootName']){for(const _0x1a489c of this['_footnotes'])_0xb6234e['remove'](_0x1a489c['reference']),_0x1366a7=!0x0;this['_footnotes']=[],this['_footnotesDefinitions']=null;}return _0x1366a7;}['_handleFootnoteDefinitionsChanges'](_0x4aab05,_0x555006){let _0x1f3f40=!0x1;const _0x4f2cd5=this['editor']['config']['get']('footnotes.multiBlock'),{inserted:_0x48d9f8,moved:_0x394e89}=this['_footnoteDefsTracker']['getChanges'](_0x555006);for(const _0x2deebb of[..._0x394e89,..._0x48d9f8]){const _0xd69d4e=_0x2deebb['getAttribute']('footnoteId'),_0x2bd8e9=this['getFootnote'](_0xd69d4e);_0x2bd8e9&&(_0x2bd8e9['definition']=_0x2deebb),j(_0x4aab05,_0x4f2cd5,_0x2deebb)&&(_0x1f3f40=!0x0);}return _0x1f3f40;}['_handleFootnoteReferencesChanges'](_0x28d71d,_0x32585){let _0x331a37=!0x1;const {removed:_0x18d461,inserted:_0xc59b9b,moved:_0x262d16}=this['_footnoteRefsTracker']['getChanges'](_0x32585);for(const _0x289898 of _0x18d461)this['_handleRemoveFootnoteReferenceById'](_0x28d71d,_0x289898)&&(_0x331a37=!0x0);for(const _0x393ab6 of _0xc59b9b)this['_handleInsertedFootnoteReference'](_0x28d71d,_0x393ab6)&&(_0x331a37=!0x0);for(const _0x5eb4d9 of _0x262d16)this['_handleMovedFootnoteReference'](_0x28d71d,_0x5eb4d9)&&(_0x331a37=!0x0);return _0x331a37;}['_handleFootnotesDefinitionsObjectSync'](_0x3a07c9){if(!this['_footnotesDefinitions'])return!0x1;let _0x58417f=!0x1;if(this['_footnotesDefinitions']['childCount']!==this['_footnotes']['length']){const _0x33bf94=[];for(const _0x126710 of this['_footnotesDefinitions']['getChildren']()){const _0x1385eb=_0x126710['getAttribute']('footnoteId');this['getFootnote'](_0x1385eb)||(_0x33bf94['unshift'](_0x126710),_0x58417f=!0x0);}for(const _0x3c3eb4 of _0x33bf94)_0x3a07c9['remove'](_0x3c3eb4);}const _0x25e34b=new Set(),_0x2c54eb=[];for(const _0x2dfa7c of this['_footnotesDefinitions']['getChildren']()){const _0x5d8f27=_0x2dfa7c['getAttribute']('footnoteId');_0x25e34b['has'](_0x5d8f27)?(_0x2c54eb['unshift'](_0x2dfa7c),_0x58417f=!0x0):_0x25e34b['add'](_0x5d8f27);}for(const _0x22ec59 of _0x2c54eb)_0x3a07c9['remove'](_0x22ec59);return this['_footnotesDefinitions']['childCount']||(_0x3a07c9['remove'](this['_footnotesDefinitions']),this['_footnotesDefinitions']=null,_0x58417f=!0x0),_0x58417f;}['_handleInsertedFootnoteReference'](_0x3d906e,_0x23f62f){if(this['_footnotes']['find'](_0x30f7fe=>_0x30f7fe['reference']===_0x23f62f))return!0x1;let _0x1a99aa=!0x1;const _0x3d0b1b=_0x23f62f['getAttribute']('footnoteId'),_0x57f5d6=this['_footnotes']['findIndex'](_0x1fcd5d=>_0x1fcd5d['id']===_0x3d0b1b);-0x1!==_0x57f5d6&&(_0x3d906e['remove'](this['_footnotes'][_0x57f5d6]['reference']),this['_footnotes']['splice'](_0x57f5d6,0x1),_0x1a99aa=!0x0);let _0x528d43=this['_footnotesDefinitions']?function(_0x77baee,_0x4d0404){for(const _0x4fdb01 of _0x77baee['getChildren']())if(_0x4fdb01['getAttribute']('footnoteId')===_0x4d0404)return _0x4fdb01;return null;}(this['_footnotesDefinitions'],_0x3d0b1b):null;_0x528d43||(_0x528d43=_0x3d906e['createElement']('footnoteDefinition',{'footnoteId':_0x3d0b1b}),this['_footnotesDefinitions']&&(_0x3d906e['insert'](_0x528d43,this['_footnotesDefinitions'],'end'),_0x1a99aa=!0x0));const _0x3da1bb={'id':_0x3d0b1b,'reference':_0x23f62f,'definition':_0x528d43},_0x10173d=T(this['editor']['model'],this['_footnotes'],_0x23f62f);this['_footnotes']['splice'](_0x10173d,0x0,_0x3da1bb);let _0x3e58bc=_0x10173d;return-0x1!==_0x57f5d6&&(_0x3e58bc=Math['min'](_0x10173d,_0x57f5d6)),this['_updateFootnotesCounters'](_0x3d906e,_0x3e58bc)&&(_0x1a99aa=!0x0),_0x1a99aa;}['_handleRemoveFootnoteReferenceById'](_0x3ebf4f,_0x55b6bd){const _0x51ab9f=this['_footnotes']['findIndex'](_0x11929d=>_0x11929d['id']===_0x55b6bd);if(-0x1===_0x51ab9f)return!0x1;let _0x223b54=!0x1;const _0x4e18b8=this['_footnotes'][_0x51ab9f];return'$graveyard'!==_0x4e18b8['definition']['root']['rootName']&&(_0x3ebf4f['remove'](_0x4e18b8['definition']),_0x223b54=!0x0),this['_footnotes']['splice'](_0x51ab9f,0x1),this['_updateFootnotesCounters'](_0x3ebf4f,_0x51ab9f)&&(_0x223b54=!0x0),_0x223b54;}['_handleMovedFootnoteReference'](_0x42f86a,_0x56e28f){const _0x24c415=_0x56e28f['getAttribute']('footnoteId'),_0x4f4aea=this['_footnotes']['findIndex'](_0x2406f4=>_0x2406f4['id']===_0x24c415),_0x50a8ab=this['_footnotes'][_0x4f4aea];let _0x5cb084=!0x1;_0x50a8ab['reference']=_0x56e28f,this['_footnotes']['splice'](_0x4f4aea,0x1);const _0x341c71=T(this['editor']['model'],this['_footnotes'],_0x56e28f);return this['_footnotes']['splice'](_0x341c71,0x0,_0x50a8ab),this['_updateFootnotesCounters'](_0x42f86a,Math['min'](_0x4f4aea,_0x341c71))&&(_0x5cb084=!0x0),_0x5cb084;}['_updateFootnoteRefCounter'](_0x5ca7a9,_0x3ee76b){if(!this['_footnotesDefinitions'])return!0x1;const _0x3f3f8b=this['_footnotes'][_0x3ee76b];let _0x441b43;return _0x441b43=this['_footnoteFormatter']?this['_footnoteFormatter']({'footnote':_0x3f3f8b,'container':this['_footnotesDefinitions'],'digits':String(this['_footnotes']['length'])['length'],'value':_0x3ee76b+0x1}):String(_0x3ee76b+0x1),_0x3f3f8b['reference']['getAttribute']('footnoteCounter')!=_0x441b43&&(_0x5ca7a9['setAttribute']('footnoteCounter',_0x441b43,_0x3f3f8b['reference']),!0x0);}['_sortFootnoteDefinitions'](_0x2af889){if(!this['_footnotesDefinitions']||this['_footnotes']['length']<0x2)return!0x1;if(function(_0x64716a,_0x53fb28){if(_0x64716a['length']!==_0x53fb28['length'])return!0x1;for(let _0x5af984=0x0;_0x5af984<_0x64716a['length'];_0x5af984++)if(_0x64716a[_0x5af984]!==_0x53fb28[_0x5af984])return!0x1;return!0x0;}(this['_footnotes']['map'](_0xaa261e=>_0xaa261e['id']),Array['from'](this['_footnotesDefinitions']['getChildren']())['map'](_0x21f279=>_0x21f279['getAttribute']('footnoteId'))))return!0x1;let _0xdff86e=!0x1;for(let _0x108a4a=0x0;_0x108a4a<this['_footnotes']['length'];_0x108a4a++){const _0x1840a1=this['_footnotes'][_0x108a4a],_0x1b3d15=_0x2af889['createPositionBefore'](_0x1840a1['definition']),_0x51bd75=_0x2af889['createPositionAt'](this['_footnotesDefinitions'],_0x108a4a);_0x1b3d15['isEqual'](_0x51bd75)||(_0x2af889['move'](_0x2af889['createRangeOn'](_0x1840a1['definition']),_0x51bd75),_0xdff86e=!0x0);}return _0xdff86e;}['_ensureFootnotesReferencesHaveProperOrder'](_0xd6719f){if(!this['_footnotes']['length'])return!0x1;const {model:_0x4f3d2e}=this['editor'];let _0x26f4af=!0x1;for(let _0x3f0df1=0x0;_0x3f0df1<this['_footnotes']['length']-0x1;_0x3f0df1++){const _0x2343ea=this['_footnotes'][_0x3f0df1],_0x509063=this['_footnotes'][_0x3f0df1+0x1],_0x1e4f6e=_0x4f3d2e['createPositionBefore'](_0x2343ea['reference']),_0xaabaa4=_0x4f3d2e['createPositionBefore'](_0x509063['reference']);'after'===_0x1e4f6e['compareWith'](_0xaabaa4)&&(this['_handleMovedFootnoteReference'](_0xd6719f,_0x2343ea['reference']),_0x3f0df1=-0x1,_0x26f4af=!0x0);}return _0x26f4af;}}function j(_0x2cfc77,_0x18f349,_0x5a8d05){if(_0x5a8d05['childCount'])return!0x1;const _0x556d93=_0x18f349?'paragraph':'footnoteInlineContent';return _0x2cfc77['insert'](_0x2cfc77['createElement'](_0x556d93),_0x5a8d05),!0x0;}function T(_0x4d427e,_0x3f212f,_0x278e56){if(0x0===_0x3f212f['length'])return 0x0;const _0x30ffba=_0x4d427e['createPositionBefore'](_0x278e56);for(let _0x2cf2e0=0x0;_0x2cf2e0<_0x3f212f['length'];_0x2cf2e0++){const _0x3ed270=_0x3f212f[_0x2cf2e0],_0x3196ed=_0x4d427e['createPositionBefore'](_0x3ed270['reference']);if('before'===_0x30ffba['compareWith'](_0x3196ed))return _0x2cf2e0;}const _0x543b24=_0x278e56['root'];let _0x4aaab2=-0x1;for(let _0x39e668=_0x3f212f['length']-0x1;_0x39e668>=0x0;_0x39e668--)if(_0x3f212f[_0x39e668]['reference']['root']===_0x543b24){_0x4aaab2=_0x39e668;break;}if(-0x1!==_0x4aaab2)return _0x4aaab2+0x1;const _0xaac9f8=_0x4d427e['document']['getRootNames'](),_0x28735e=_0xaac9f8['indexOf'](_0x543b24['rootName']),_0x3e9930=_0xaac9f8[_0x28735e+0x1];if(_0x3e9930){for(let _0xa349bb=0x0;_0xa349bb<_0x3f212f['length'];_0xa349bb++)if(_0x3f212f[_0xa349bb]['reference']['root']['rootName']===_0x3e9930)return _0xa349bb;}return _0x3f212f['length'];}class V extends _0x2ecdf5{['refresh'](){const _0x29eb7a=this['editor']['model']['document']['selection'],_0x58e976=this['_getPositionToInsertFootnote'](_0x29eb7a);this['isEnabled']=!!_0x58e976;}['execute'](_0x2452f5){const {editor:_0x378f06}=this,{model:_0x416a14}=_0x378f06,{selection:_0x30b498}=_0x416a14['document'],_0x3d0f72=this['_getPositionToInsertFootnote'](_0x30b498);if(!_0x3d0f72)return;const _0x614d15=_0x378f06['plugins']['get']('FootnotesEditing'),_0x4fa7ad=_0x2452f5?.['footnoteId']??_0x24f2b5();!function(_0x21e574){return'string'==typeof _0x21e574&&_0x21e574['length']>0x0&&!/\s/['test'](_0x21e574)&&!/^\d/['test'](_0x21e574);}(_0x4fa7ad)?_0x2a0981('insert-footnote-command-executed-with-invalid-id'):(_0x416a14['change'](_0x2a08b7=>{const _0x599643=_0x2a08b7['createElement']('footnoteRef',{'footnoteId':_0x4fa7ad});_0x416a14['insertObject'](_0x599643,_0x3d0f72,null);}),_0x614d15['_moveSelectionToFootnoteDefinition'](_0x4fa7ad));}['_getPositionToInsertFootnote'](_0x4ecedc){const {model:_0x3724bf}=this['editor'],{schema:_0x15a84f}=_0x3724bf,_0x404f41=_0x4ecedc['getFirstRange']();for(const _0x13081c of _0x404f41['getItems']())if(_0x15a84f['isBlock'](_0x13081c)||_0x15a84f['isObject'](_0x13081c))return null;const _0x833c6=_0x404f41['end'];return _0x15a84f['checkChild'](_0x833c6,'footnoteRef')?_0x833c6:null;}}class $ extends _0x8bc47d{static get['pluginName'](){return'FootnotesEditing';}static get['requires'](){return[K];}static get['isOfficialPlugin'](){return!0x0;}static get['isPremiumPlugin'](){return!0x0;}['init'](){const {editor:_0x495ab7}=this;_0x495ab7['config']['define']('footnotes.multiBlock',!0x0),_0x495ab7['commands']['add']('insertFootnote',new V(_0x495ab7)),this['_defineSchema'](),this['_defineRefsConverters'](),this['_defineDefinitionsConverters'](),this['_defineDefinitionConverters'](),this['_defineBogusParagraphConverters'](),this['_defineKeyboardHandlers'](),this['_defineClickHandlers']();}['afterInit'](){!async function(_0x4f6bec){const _0x4145e9=_0x2de9de([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]),_0x119d8f=0x47a28506,_0x2432bf=0x47a5002e^_0x119d8f,_0x3f513e=window[_0x2de9de([0x44,0x61,0x74,0x65])][_0x2de9de([0x6e,0x6f,0x77])](),_0x1be261=_0x4f6bec[_0x2de9de([0x65,0x64,0x69,0x74,0x6f,0x72])],_0x519762=new window[(_0x2de9de([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0xf8a79a=>{_0x1be261[_0x2de9de([0x6f,0x6e,0x63,0x65])](_0x2de9de([0x72,0x65,0x61,0x64,0x79]),_0xf8a79a);}),_0x58c3bb={[_0x2de9de([0x6b,0x74,0x79])]:_0x2de9de([0x45,0x43]),[_0x2de9de([0x75,0x73,0x65])]:_0x2de9de([0x73,0x69,0x67]),[_0x2de9de([0x63,0x72,0x76])]:_0x2de9de([0x50,0x2d,0x32,0x35,0x36]),[_0x2de9de([0x78])]:_0x2de9de([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]),[_0x2de9de([0x79])]:_0x2de9de([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]),[_0x2de9de([0x61,0x6c,0x67])]:_0x2de9de([0x45,0x53,0x32,0x35,0x36])},_0x5bd968=_0x1be261[_0x2de9de([0x63,0x6f,0x6e,0x66,0x69,0x67])][_0x2de9de([0x67,0x65,0x74])](_0x2de9de([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x4b,0x65,0x79]));async function _0x484205(){let _0x2806d0,_0x1b59f7=null,_0x54d9ad=null;try{if(_0x5bd968==_0x2de9de([0x47,0x50,0x4c]))return _0x2de9de([0x4e,0x6f,0x74,0x41,0x6c,0x6c,0x6f,0x77,0x65,0x64]);if(_0x2806d0=_0x28f871(),!_0x2806d0)return _0x2de9de([0x49,0x6e,0x76,0x61,0x6c,0x69,0x64]);return _0x2806d0[_0x2de9de([0x75,0x73,0x61,0x67,0x65,0x45,0x6e,0x64,0x70,0x6f,0x69,0x6e,0x74])]&&(_0x54d9ad=_0x48bad8(_0x2806d0[_0x2de9de([0x75,0x73,0x61,0x67,0x65,0x45,0x6e,0x64,0x70,0x6f,0x69,0x6e,0x74])],_0x2806d0[_0x2de9de([0x6a,0x74,0x69])])),await _0x367e63()?_0x2f7303()?_0x193c87()?_0x2de9de([0x45,0x78,0x70,0x69,0x72,0x65,0x64]):_0x44ae55()?(_0x2806d0[_0x2de9de([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x54,0x79,0x70,0x65])]==_0x2de9de([0x65,0x76,0x61,0x6c,0x75,0x61,0x74,0x69,0x6f,0x6e])&&(_0x1b59f7=_0x202ddb(_0x2de9de([0x45,0x76,0x61,0x6c,0x75,0x61,0x74,0x69,0x6f,0x6e,0x4c,0x69,0x6d,0x69,0x74]))),await _0x568524()):_0x2de9de([0x44,0x6f,0x6d,0x61,0x69,0x6e,0x4c,0x69,0x6d,0x69,0x74]):_0x2de9de([0x4e,0x6f,0x74,0x41,0x6c,0x6c,0x6f,0x77,0x65,0x64]):_0x2de9de([0x49,0x6e,0x76,0x61,0x6c,0x69,0x64]);}catch{return _0x2de9de([0x49,0x6e,0x76,0x61,0x6c,0x69,0x64]);}function _0x193c87(){const _0x3448b9=[_0x2de9de([0x65,0x76,0x61,0x6c,0x75,0x61,0x74,0x69,0x6f,0x6e]),_0x2de9de([0x74,0x72,0x69,0x61,0x6c])][_0x2de9de([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x2806d0[_0x2de9de([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x54,0x79,0x70,0x65])])?_0x3f513e/0x3e8:0xe10*_0x2432bf;return _0x2806d0[_0x2de9de([0x65,0x78,0x70])]<_0x3448b9;}function _0x2f7303(){const _0x17b39d=_0x2806d0[_0x2de9de([0x66,0x65,0x61,0x74,0x75,0x72,0x65,0x73])];return!!_0x17b39d&&(!!_0x17b39d[_0x2de9de([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x2de9de([0x2a]))||!!_0x17b39d[_0x2de9de([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x2de9de([0x46,0x4f,0x4f])));}function _0x44ae55(){const _0x9e94d7=_0x2806d0[_0x2de9de([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x64,0x48,0x6f,0x73,0x74,0x73])];if(!_0x9e94d7||0x0==_0x9e94d7[_0x2de9de([0x6c,0x65,0x6e,0x67,0x74,0x68])])return!0x0;const {hostname:_0x333dfe}=new URL(window[_0x2de9de([0x6c,0x6f,0x63,0x61,0x74,0x69,0x6f,0x6e])]['href']);if(_0x9e94d7[_0x2de9de([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x333dfe))return!0x0;const _0x16bbcc=_0x333dfe[_0x2de9de([0x73,0x70,0x6c,0x69,0x74])](_0x2de9de([0x2e]));return _0x9e94d7[_0x2de9de([0x66,0x69,0x6c,0x74,0x65,0x72])](_0x5f3fb8=>_0x5f3fb8[_0x2de9de([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x2de9de([0x2a])))[_0x2de9de([0x6d,0x61,0x70])](_0x3cdc79=>_0x3cdc79[_0x2de9de([0x73,0x70,0x6c,0x69,0x74])](_0x2de9de([0x2e])))[_0x2de9de([0x66,0x69,0x6c,0x74,0x65,0x72])](_0x58a791=>_0x58a791[_0x2de9de([0x6c,0x65,0x6e,0x67,0x74,0x68])]<=_0x16bbcc[_0x2de9de([0x6c,0x65,0x6e,0x67,0x74,0x68])])[_0x2de9de([0x6d,0x61,0x70])](_0x301b86=>Array(_0x16bbcc[_0x2de9de([0x6c,0x65,0x6e,0x67,0x74,0x68])]-_0x301b86[_0x2de9de([0x6c,0x65,0x6e,0x67,0x74,0x68])])[_0x2de9de([0x66,0x69,0x6c,0x6c])](_0x301b86[0x0]===_0x2de9de([0x2a])?_0x2de9de([0x2a]):'')[_0x2de9de([0x63,0x6f,0x6e,0x63,0x61,0x74])](_0x301b86))[_0x2de9de([0x73,0x6f,0x6d,0x65])](_0x2bb2c2=>_0x16bbcc[_0x2de9de([0x65,0x76,0x65,0x72,0x79])]((_0x523ff6,_0x57ac39)=>_0x2bb2c2[_0x57ac39]===_0x523ff6||_0x2bb2c2[_0x57ac39]===_0x2de9de([0x2a])));}function _0x568524(){return _0x1b59f7&&_0x54d9ad?new window[(_0x2de9de([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))]((_0x28d086,_0x258e42)=>{_0x1b59f7[_0x2de9de([0x74,0x68,0x65,0x6e])](_0x28d086,_0x258e42),_0x54d9ad[_0x2de9de([0x74,0x68,0x65,0x6e])](_0xd35691=>{_0xd35691!=_0x2de9de([0x56,0x61,0x6c,0x69,0x64])&&_0x28d086(_0xd35691);},_0x258e42);}):_0x1b59f7||_0x54d9ad||_0x2de9de([0x56,0x61,0x6c,0x69,0x64]);}}function _0x48bad8(_0xd4dbbb,_0x3c1d23){return new window[(_0x2de9de([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0x3df7ce=>{if(_0x489157())return _0x3df7ce(_0x2de9de([0x56,0x61,0x6c,0x69,0x64]));_0x351d9b(),_0x1be261[_0x2de9de([0x64,0x65,0x63,0x6f,0x72,0x61,0x74,0x65])](_0x2de9de([0x5f,0x73,0x65,0x6e,0x64,0x55,0x73,0x61,0x67,0x65,0x52,0x65,0x71,0x75,0x65,0x73,0x74]));let _0x840759=!0x1;const _0x3cf461=_0x24f2b5();function _0x5a14e6(_0xd1d494){return!!_0xd1d494&&(typeof _0xd1d494===_0x2de9de([0x6f,0x62,0x6a,0x65,0x63,0x74])||typeof _0xd1d494===_0x2de9de([0x66,0x75,0x6e,0x63,0x74,0x69,0x6f,0x6e]))&&typeof _0xd1d494[_0x2de9de([0x74,0x68,0x65,0x6e])]===_0x2de9de([0x66,0x75,0x6e,0x63,0x74,0x69,0x6f,0x6e])&&typeof _0xd1d494[_0x2de9de([0x63,0x61,0x74,0x63,0x68])]===_0x2de9de([0x66,0x75,0x6e,0x63,0x74,0x69,0x6f,0x6e]);}function _0x335294(_0x5c3c47){_0x2824df(_0x5c3c47)[_0x2de9de([0x74,0x68,0x65,0x6e])](_0x429194=>{if(!_0x429194||_0x429194[_0x2de9de([0x73,0x74,0x61,0x74,0x75,0x73])]!=_0x2de9de([0x6f,0x6b]))return _0x2de9de([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]);return _0x33dabb(_0x238f88(_0x3cf461+_0x3c1d23))!=_0x429194[_0x2de9de([0x76,0x65,0x72,0x69,0x66,0x69,0x63,0x61,0x74,0x69,0x6f,0x6e])]?_0x2de9de([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]):_0x2de9de([0x56,0x61,0x6c,0x69,0x64]);})[_0x2de9de([0x74,0x68,0x65,0x6e])](_0x562442=>(_0x1b9c2b(),_0x562442),()=>{const _0x69f484=_0x380ce1();return null==_0x69f484?(_0x1b9c2b(),_0x2de9de([0x56,0x61,0x6c,0x69,0x64])):_0x2de9de(_0x3f513e-_0x69f484>(0x63ae0106^_0x119d8f)?[0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]:[0x56,0x61,0x6c,0x69,0x64]);})[_0x2de9de([0x74,0x68,0x65,0x6e])](_0x3df7ce)[_0x2de9de([0x63,0x61,0x74,0x63,0x68])](()=>{_0x3df7ce(_0x2de9de([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]));});const _0x4972b5=0x47946b86^_0x119d8f;function _0x1b9c2b(){const _0x27b2a5=_0x2de9de([0x6c,0x6c,0x63,0x74,0x2d])+_0x33dabb(_0x238f88(_0xd4dbbb)),_0x49b3f5=_0x35039a(_0x33dabb(window[_0x2de9de([0x4d,0x61,0x74,0x68])][_0x2de9de([0x63,0x65,0x69,0x6c])](_0x3f513e/_0x4972b5)));window[_0x2de9de([0x6c,0x6f,0x63,0x61,0x6c,0x53,0x74,0x6f,0x72,0x61,0x67,0x65])][_0x2de9de([0x73,0x65,0x74,0x49,0x74,0x65,0x6d])](_0x27b2a5,_0x49b3f5);}function _0x380ce1(){const _0x5808cf=_0x2de9de([0x6c,0x6c,0x63,0x74,0x2d])+_0x33dabb(_0x238f88(_0xd4dbbb)),_0x16797b=window[_0x2de9de([0x6c,0x6f,0x63,0x61,0x6c,0x53,0x74,0x6f,0x72,0x61,0x67,0x65])][_0x2de9de([0x67,0x65,0x74,0x49,0x74,0x65,0x6d])](_0x5808cf);return _0x16797b?window[_0x2de9de([0x70,0x61,0x72,0x73,0x65,0x49,0x6e,0x74])](_0x35039a(_0x16797b),0x10)*_0x4972b5:null;}function _0x2824df(_0x3d6021){return new window[(_0x2de9de([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))]((_0x279074,_0x2d0486)=>{_0x3d6021[_0x2de9de([0x74,0x68,0x65,0x6e])](_0x279074,_0x2d0486),window[_0x2de9de([0x73,0x65,0x74,0x54,0x69,0x6d,0x65,0x6f,0x75,0x74])](_0x2d0486,0x47a351c6^_0x119d8f);});}}_0x1be261[_0x2de9de([0x6f,0x6e])](_0x2de9de([0x5f,0x73,0x65,0x6e,0x64,0x55,0x73,0x61,0x67,0x65,0x52,0x65,0x71,0x75,0x65,0x73,0x74]),(_0x1bc35c,_0x42996a)=>{if(_0x42996a[0x0]!=_0xd4dbbb)return _0x3df7ce(_0x2de9de([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]));_0x42996a[0x1]={..._0x42996a[0x1],[_0x2de9de([0x72,0x65,0x71,0x75,0x65,0x73,0x74,0x49,0x64])]:_0x3cf461};},{[_0x2de9de([0x70,0x72,0x69,0x6f,0x72,0x69,0x74,0x79])]:_0x2de9de([0x68,0x69,0x67,0x68])}),_0x1be261[_0x2de9de([0x6f,0x6e])](_0x2de9de([0x5f,0x73,0x65,0x6e,0x64,0x55,0x73,0x61,0x67,0x65,0x52,0x65,0x71,0x75,0x65,0x73,0x74]),_0x3660bd=>{_0x5a14e6(_0x3660bd[_0x2de9de([0x72,0x65,0x74,0x75,0x72,0x6e])])&&(_0x840759=!0x0,_0x335294(_0x3660bd[_0x2de9de([0x72,0x65,0x74,0x75,0x72,0x6e])]));},{[_0x2de9de([0x70,0x72,0x69,0x6f,0x72,0x69,0x74,0x79])]:_0x2de9de([0x6c,0x6f,0x77])}),_0x519762[_0x2de9de([0x74,0x68,0x65,0x6e])](()=>{_0x840759||_0x3df7ce(_0x2de9de([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]));});});function _0x489157(){return _0x1be261[_0x2de9de([0x65,0x64,0x69,0x74,0x69,0x6e,0x67])][_0x2de9de([0x76,0x69,0x65,0x77])][_0x2de9de([0x5f,0x6f,0x76,0x65,0x72,0x6c,0x61,0x79,0x4d,0x6f,0x64,0x65,0x48,0x69,0x6e,0x74])]==_0x2de9de([0x61,0x75,0x74,0x6f]);}function _0x351d9b(){_0x1be261[_0x2de9de([0x65,0x64,0x69,0x74,0x69,0x6e,0x67])][_0x2de9de([0x76,0x69,0x65,0x77])][_0x2de9de([0x5f,0x6f,0x76,0x65,0x72,0x6c,0x61,0x79,0x4d,0x6f,0x64,0x65,0x48,0x69,0x6e,0x74])]=_0x2de9de([0x61,0x75,0x74,0x6f]);}}function _0x202ddb(_0x135680){const _0x742568=[new window[(_0x2de9de([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0x1b97a3=>setTimeout(_0x1b97a3,0x47abbbca^_0x119d8f)),_0x519762[_0x2de9de([0x74,0x68,0x65,0x6e])](()=>new window[(_0x2de9de([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0x38d1d4=>{let _0x32280b=0x0;_0x1be261[_0x2de9de([0x6d,0x6f,0x64,0x65,0x6c])][_0x2de9de([0x6f,0x6e])](_0x2de9de([0x61,0x70,0x70,0x6c,0x79,0x4f,0x70,0x65,0x72,0x61,0x74,0x69,0x6f,0x6e]),(_0x3ba3ae,_0x505eee)=>{_0x505eee[0x0][_0x2de9de([0x69,0x73,0x44,0x6f,0x63,0x75,0x6d,0x65,0x6e,0x74,0x4f,0x70,0x65,0x72,0x61,0x74,0x69,0x6f,0x6e])]&&_0x32280b++,_0x32280b==(0x47a280ee^_0x119d8f)&&(_0x38d1d4(),_0x3ba3ae[_0x2de9de([0x6f,0x66,0x66])]());});}))];return window[_0x2de9de([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65])][_0x2de9de([0x72,0x61,0x63,0x65])](_0x742568)[_0x2de9de([0x74,0x68,0x65,0x6e])](()=>_0x135680);}async function _0x5dd5b4(){await _0x519762,_0x1be261[_0x2de9de([0x6d,0x6f,0x64,0x65,0x6c])][_0x2de9de([0x63,0x68,0x61,0x6e,0x67,0x65])]=_0x22bb94,_0x1be261[_0x2de9de([0x6d,0x6f,0x64,0x65,0x6c])][_0x2de9de([0x65,0x6e,0x71,0x75,0x65,0x75,0x65,0x43,0x68,0x61,0x6e,0x67,0x65])]=_0x22bb94,_0x1be261[_0x2de9de([0x65,0x6e,0x61,0x62,0x6c,0x65,0x52,0x65,0x61,0x64,0x4f,0x6e,0x6c,0x79,0x4d,0x6f,0x64,0x65])](_0x2de9de([0x6d,0x6f,0x64,0x65,0x6c]));}function _0x4962d3(_0x3db457){const _0x543f16=_0x3b8e80();_0x1be261[_0x543f16]=_0x2de9de([0x66,0x6f,0x6f,0x74,0x6e,0x6f,0x74,0x65,0x73,0x4c,0x69,0x63,0x65,0x6e,0x73,0x65,0x4b,0x65,0x79])+_0x3db457,_0x3db457!=_0x2de9de([0x56,0x61,0x6c,0x69,0x64])&&_0x5dd5b4();}function _0x3b8e80(){const _0x2d14a9=window[_0x2de9de([0x53,0x74,0x72,0x69,0x6e,0x67])](window[_0x2de9de([0x70,0x65,0x72,0x66,0x6f,0x72,0x6d,0x61,0x6e,0x63,0x65])][_0x2de9de([0x6e,0x6f,0x77])]())[_0x2de9de([0x72,0x65,0x70,0x6c,0x61,0x63,0x65])](_0x2de9de([0x2e]),'');let _0x127672=_0x2de9de([0x75]);for(let _0x56ecaa=0x0;_0x56ecaa<_0x2d14a9[_0x2de9de([0x6c,0x65,0x6e,0x67,0x74,0x68])];_0x56ecaa+=0x2){let _0x1304a6=window[_0x2de9de([0x70,0x61,0x72,0x73,0x65,0x49,0x6e,0x74])](_0x2d14a9[_0x2de9de([0x73,0x75,0x62,0x73,0x74,0x72,0x69,0x6e,0x67])](_0x56ecaa,_0x56ecaa+0x2));_0x1304a6>=_0x4145e9[_0x2de9de([0x6c,0x65,0x6e,0x67,0x74,0x68])]&&(_0x1304a6-=_0x4145e9[_0x2de9de([0x6c,0x65,0x6e,0x67,0x74,0x68])]),_0x127672+=_0x4145e9[_0x1304a6];}return _0x127672;}function _0x28f871(){const _0x5c6ab8=_0x5bd968[_0x2de9de([0x73,0x70,0x6c,0x69,0x74])](_0x2de9de([0x2e]));if(0x3!=_0x5c6ab8[_0x2de9de([0x6c,0x65,0x6e,0x67,0x74,0x68])])return null;return _0x12a7fb(_0x5c6ab8[0x1]);function _0x12a7fb(_0x4a3209){const _0x16edb0=_0x2cdf02(_0x4a3209);return _0x16edb0&&_0x36f24b()?_0x16edb0:null;function _0x36f24b(){const _0x23620d=_0x16edb0[_0x2de9de([0x6a,0x74,0x69])],_0x307b7b=window[_0x2de9de([0x70,0x61,0x72,0x73,0x65,0x49,0x6e,0x74])](_0x23620d[_0x2de9de([0x73,0x75,0x62,0x73,0x74,0x72,0x69,0x6e,0x67])](_0x23620d[_0x2de9de([0x6c,0x65,0x6e,0x67,0x74,0x68])]-0x8),0x10),_0x1c2e8b={..._0x16edb0,[_0x2de9de([0x6a,0x74,0x69])]:_0x23620d[_0x2de9de([0x73,0x75,0x62,0x73,0x74,0x72,0x69,0x6e,0x67])](0x0,_0x23620d[_0x2de9de([0x6c,0x65,0x6e,0x67,0x74,0x68])]-0x8)};return delete _0x1c2e8b[_0x2de9de([0x76,0x63])],_0x238f88(_0x1c2e8b)==_0x307b7b;}}}async function _0x367e63(){let _0x27758d=!0x0;try{const _0x13d8cf=_0x5bd968[_0x2de9de([0x73,0x70,0x6c,0x69,0x74])](_0x2de9de([0x2e])),[_0x293651,_0x1ac2c6,_0x4b8af7]=_0x13d8cf;return _0x5ccd17(_0x293651),await _0x538e43(_0x293651,_0x1ac2c6,_0x4b8af7),_0x27758d;}catch{return!0x1;}function _0x5ccd17(_0x3d0f2e){const _0x1dd642=_0x2cdf02(_0x3d0f2e);_0x1dd642&&_0x1dd642[_0x2de9de([0x61,0x6c,0x67])]==_0x2de9de([0x45,0x53,0x32,0x35,0x36])||(_0x27758d=!0x1);}async function _0x538e43(_0x248fc3,_0x18c154,_0x2bd8bb){const _0x24065d=window[_0x2de9de([0x55,0x69,0x6e,0x74,0x38,0x41,0x72,0x72,0x61,0x79])][_0x2de9de([0x66,0x72,0x6f,0x6d])](_0x32ea49(_0x2bd8bb),_0x1fcd2c=>_0x1fcd2c[_0x2de9de([0x63,0x68,0x61,0x72,0x43,0x6f,0x64,0x65,0x41,0x74])](0x0)),_0x40704a=new window[(_0x2de9de([0x54,0x65,0x78,0x74,0x45,0x6e,0x63,0x6f,0x64,0x65,0x72]))]()[_0x2de9de([0x65,0x6e,0x63,0x6f,0x64,0x65])](_0x248fc3+_0x2de9de([0x2e])+_0x18c154),_0xc783b=window[_0x2de9de([0x63,0x72,0x79,0x70,0x74,0x6f])][_0x2de9de([0x73,0x75,0x62,0x74,0x6c,0x65])];if(!_0xc783b)return;const _0x427d16=await _0xc783b[_0x2de9de([0x69,0x6d,0x70,0x6f,0x72,0x74,0x4b,0x65,0x79])](_0x2de9de([0x6a,0x77,0x6b]),_0x58c3bb,{[_0x2de9de([0x6e,0x61,0x6d,0x65])]:_0x2de9de([0x45,0x43,0x44,0x53,0x41]),[_0x2de9de([0x6e,0x61,0x6d,0x65,0x64,0x43,0x75,0x72,0x76,0x65])]:_0x2de9de([0x50,0x2d,0x32,0x35,0x36])},!0x1,[_0x2de9de([0x76,0x65,0x72,0x69,0x66,0x79])]);await _0xc783b[_0x2de9de([0x76,0x65,0x72,0x69,0x66,0x79])]({[_0x2de9de([0x6e,0x61,0x6d,0x65])]:_0x2de9de([0x45,0x43,0x44,0x53,0x41]),[_0x2de9de([0x68,0x61,0x73,0x68])]:{[_0x2de9de([0x6e,0x61,0x6d,0x65])]:_0x2de9de([0x53,0x48,0x41,0x2d,0x32,0x35,0x36])}},_0x427d16,_0x24065d,_0x40704a)||(_0x27758d=!0x1);}}function _0x2cdf02(_0x2fdd34){return _0x2fdd34[_0x2de9de([0x73,0x74,0x61,0x72,0x74,0x73,0x57,0x69,0x74,0x68])](_0x2de9de([0x65,0x79]))?JSON[_0x2de9de([0x70,0x61,0x72,0x73,0x65])](_0x32ea49(_0x2fdd34)):null;}function _0x32ea49(_0xb78ced){return window[_0x2de9de([0x61,0x74,0x6f,0x62])](_0xb78ced[_0x2de9de([0x72,0x65,0x70,0x6c,0x61,0x63,0x65])](/-/g,_0x2de9de([0x2b]))[_0x2de9de([0x72,0x65,0x70,0x6c,0x61,0x63,0x65])](/_/g,_0x2de9de([0x2f])));}function _0x238f88(_0x485637){let _0x20d46a=0x1505;function _0xe522b9(_0x5eba08){for(let _0x4f82ee=0x0;_0x4f82ee<_0x5eba08[_0x2de9de([0x6c,0x65,0x6e,0x67,0x74,0x68])];_0x4f82ee++){const _0xc7331b=_0x5eba08[_0x2de9de([0x63,0x68,0x61,0x72,0x43,0x6f,0x64,0x65,0x41,0x74])](_0x4f82ee);_0x20d46a=(_0x20d46a<<0x5)+_0x20d46a+_0xc7331b,_0x20d46a&=_0x20d46a;}}function _0x21ff75(_0x447aed){Array[_0x2de9de([0x69,0x73,0x41,0x72,0x72,0x61,0x79])](_0x447aed)?_0x447aed[_0x2de9de([0x66,0x6f,0x72,0x45,0x61,0x63,0x68])](_0x21ff75):_0x447aed&&typeof _0x447aed==_0x2de9de([0x6f,0x62,0x6a,0x65,0x63,0x74])?Object[_0x2de9de([0x65,0x6e,0x74,0x72,0x69,0x65,0x73])](_0x447aed)[_0x2de9de([0x73,0x6f,0x72,0x74])]()[_0x2de9de([0x66,0x6f,0x72,0x45,0x61,0x63,0x68])](([_0x44d499,_0x529400])=>{_0xe522b9(_0x44d499),_0x21ff75(_0x529400);}):_0xe522b9(window[_0x2de9de([0x53,0x74,0x72,0x69,0x6e,0x67])](_0x447aed));}return _0x21ff75(_0x485637),_0x20d46a>>>0x0;}function _0x33dabb(_0x469592){return _0x469592[_0x2de9de([0x74,0x6f,0x53,0x74,0x72,0x69,0x6e,0x67])](0x10)[_0x2de9de([0x70,0x61,0x64,0x53,0x74,0x61,0x72,0x74])](0x8,_0x2de9de([0x30]));}function _0x35039a(_0x30a581){return _0x30a581[_0x2de9de([0x73,0x70,0x6c,0x69,0x74])]('')[_0x2de9de([0x72,0x65,0x76,0x65,0x72,0x73,0x65])]()[_0x2de9de([0x6a,0x6f,0x69,0x6e])]('');}function _0x22bb94(){}function _0x2de9de(_0x77d382){return _0x77d382['map'](_0x540a71=>String['fromCharCode'](_0x540a71))['join']('');}_0x4962d3(await _0x484205());}(this);}['_moveSelectionToFootnoteDefinition'](_0x192e5a){const {plugins:_0x399690,editing:_0x339ff6,model:_0x2727cb}=this['editor'],_0x32836c=_0x399690['get'](K)['getFootnote'](_0x192e5a);return!!_0x32836c&&(_0x2727cb['change'](_0x1b5d2c=>{_0x1b5d2c['setSelection'](_0x1b5d2c['createPositionAt'](_0x32836c['definition'],'end'));}),_0x339ff6['view']['scrollToTheSelection'](),!0x0);}['_moveSelectionToFootnoteReference'](_0x4d868e){const {plugins:_0x3c03fb,editing:_0x46fe2b,model:_0x4b19ed}=this['editor'],_0x1fc706=_0x3c03fb['get'](K)['getFootnote'](_0x4d868e);return!!_0x1fc706&&(_0x4b19ed['change'](_0x445dc1=>{_0x445dc1['setSelection'](_0x1fc706['reference'],'on');}),_0x46fe2b['view']['scrollToTheSelection'](),!0x0);}['_defineSchema'](){const {schema:_0x378dd3}=this['editor']['model'],_0x56ad81=this['editor']['config']['get']('footnotes.multiBlock');_0x378dd3['register']('footnoteRef',{'inheritAllFrom':'$inlineObject','allowAttributes':['footnoteId','footnoteCounter']}),_0x378dd3['register']('footnotesDefinitions',{'inheritAllFrom':'$blockObject','allowChildren':['footnoteDefinition']}),_0x378dd3['register']('footnoteDefinition',{'allowAttributes':['footnoteId'],'disallowAttributes':['listItemId'],'isLimit':!0x0}),_0x56ad81?_0x378dd3['extend']('footnoteDefinition',{'allowContentOf':'$container'}):_0x378dd3['register']('footnoteInlineContent',{'allowIn':'footnoteDefinition','allowContentOf':'$block','isLimit':!0x0}),_0x378dd3['addChildCheck'](_0x1cfb02=>{for(const _0x5b1565 of _0x1cfb02)if('footnoteDefinition'===_0x5b1565['name'])return!0x1;},'footnoteRef');}['_defineRefsConverters'](){const {editor:_0x3f8ed3}=this,{conversion:_0x2da9ae,editing:_0x205798}=_0x3f8ed3,{t:t}=_0x3f8ed3['locale'];_0x2da9ae['for']('upcast')['elementToElement']({'view':{'name':'sup','classes':'footnote'},'model':(_0x22f471,{writer:_0x2185b6,consumable:_0x3a9bcc})=>{const _0x5b3028=_0x22f471['getChild'](0x0);if(!_0x5b3028||!_0x5b3028['is']('element','a'))return null;const _0xdda901=_0x5b3028['getAttribute']('href')||'';if(!_0xdda901['startsWith']('#'))return null;const _0x211b2a=_0xdda901['replace'](/^#/,'');if(!_0x211b2a)return null;_0x3a9bcc['consume'](_0x5b3028,{'name':!0x0,'attributes':['href']});for(const {item:_0x4a466a}of _0x205798['view']['createRangeIn'](_0x5b3028))_0x4a466a['is']('$textProxy')?_0x3a9bcc['consume'](_0x4a466a['textNode'],{'name':!0x0}):_0x4a466a['is']('element')&&_0x3a9bcc['consume'](_0x4a466a,{'name':!0x0});return _0x2185b6['createElement']('footnoteRef',{'footnoteId':_0x211b2a});}}),_0x2da9ae['for']('dataDowncast')['elementToElement']({'model':{'name':'footnoteRef','attributes':['footnoteId','footnoteCounter']},'view':(_0x2c5ada,{writer:_0x45a8d5})=>z(_0x2c5ada,_0x45a8d5)}),_0x2da9ae['for']('editingDowncast')['elementToElement']({'model':{'name':'footnoteRef','attributes':['footnoteId','footnoteCounter']},'view':(_0x362a17,{writer:_0x3e2905})=>{const _0x2aaffc=_0x362a17['getAttribute']('footnoteCounter');return _0x5618f5(z(_0x362a17,_0x3e2905),_0x3e2905,{'label':t('Footnote\x20%0.\x20Press\x20ENTER\x20to\x20jump\x20to\x20footnote\x20definition.',_0x2aaffc)});}});}['_defineDefinitionsConverters'](){const {editor:_0x923bd3}=this,{t:t}=_0x923bd3['locale'],{conversion:_0x4b7f10}=_0x923bd3;_0x4b7f10['for']('upcast')['elementToElement']({'view':{'name':'div','classes':'footnotes'},'model':'footnotesDefinitions'}),_0x4b7f10['for']('upcast')['add'](_0x5bca44=>{_0x5bca44['on']('element:ol',(_0x4efbed,_0x5154c6,_0x2ad315)=>{const _0x433dea=_0x5154c6['viewItem'];if(!_0x433dea['hasClass']('footnotes-list')||!_0x5154c6['modelCursor']['parent']?.['is']('element','footnotesDefinitions'))return;if(!_0x2ad315['consumable']['consume'](_0x433dea,{'name':!0x0,'classes':'footnotes-list'}))return;const {modelRange:_0x2e2cfb,modelCursor:_0x37339f}=_0x2ad315['convertChildren'](_0x5154c6['viewItem'],_0x5154c6['modelCursor']);_0x5154c6['modelRange']=_0x2e2cfb,_0x5154c6['modelCursor']=_0x37339f;}),_0x5bca44['on']('element:hr',(_0x2462bb,_0x9a3bc7,_0x333110)=>{const _0x321dc5=_0x9a3bc7['viewItem'];_0x321dc5['hasClass']('footnotes-divider')&&_0x9a3bc7['modelCursor']['parent']?.['is']('element','footnotesDefinitions')&&_0x333110['consumable']['consume'](_0x321dc5,{'name':!0x0,'classes':'footnotes-divider'});});}),_0x4b7f10['for']('dataDowncast')['elementToStructure']({'model':'footnotesDefinitions','view':(_0x5eb0de,{writer:_0x15bf1d})=>H(_0x15bf1d)}),_0x4b7f10['for']('editingDowncast')['elementToStructure']({'model':'footnotesDefinitions','view':(_0x55493c,{writer:_0x320282})=>{const _0xe4238e=H(_0x320282,{'data-footnotes-list-label':t('Footnotes')}),_0x1137bf=_0x5618f5(_0xe4238e,_0x320282,{'hasSelectionHandle':!0x0,'label':t('Footnotes')});return _0x320282['setCustomProperty']('footnotesDefinitions',!0x0,_0x1137bf),_0x1137bf;}});}['_defineDefinitionConverters'](){const {editor:_0x8a1077}=this,{conversion:_0x19e72f,locale:_0x1eeb8b}=_0x8a1077,_0xeb616a=_0x8a1077['config']['get']('footnotes.multiBlock');_0x19e72f['for']('upcast')['add'](_0x492118=>{_0x492118['on']('element:li',(_0x58ccfe,_0x2593d2,_0x201c3f)=>{const _0x2aac3f=_0x2593d2['viewItem'];if(!_0x2aac3f['hasClass']('footnote-definition')||!_0x2aac3f['getAttribute']('id'))return;const _0x3b0375=_0x2aac3f['parent'];if(!_0x3b0375['is']('element','ol')||!_0x3b0375['hasClass']('footnotes-list'))return;if(!_0x201c3f['consumable']['test'](_0x2aac3f,{'name':!0x0,'attributes':'id','classes':'footnote-definition'}))return;const _0x120098=_0x201c3f['writer']['createElement']('footnoteDefinition',{'footnoteId':_0x2aac3f['getAttribute']('id')});if(!_0x201c3f['safeInsert'](_0x120098,_0x2593d2['modelCursor']))return;_0x201c3f['consumable']['consume'](_0x2aac3f,{'name':!0x0,'attributes':'id','classes':'footnote-definition'});const _0x26e104=Array['from'](_0x2aac3f['getChildren']())['find'](_0x11d1a9=>_0x11d1a9['is']('element')&&_0x11d1a9['hasClass']('footnote-content'));for(const _0x14f429 of _0x2aac3f['getChildren']())_0x14f429['is']('element')&&(_0x201c3f['consumable']['consume'](_0x14f429,{'name':!0x0,'classes':'footnote-backlink','attributes':'href'}),_0x201c3f['consumable']['consume'](_0x14f429,{'name':!0x0,'classes':'footnote-content'}));if(_0x26e104){if(_0xeb616a)_0x201c3f['convertChildren'](_0x26e104,_0x120098);else{const _0x543763=_0x201c3f['writer']['createElement']('footnoteInlineContent');_0x201c3f['writer']['insert'](_0x543763,_0x120098),_0x201c3f['convertChildren'](_0x26e104,_0x543763);}}_0x201c3f['updateConversionResult'](_0x120098,_0x2593d2);});}),_0x19e72f['for']('dataDowncast')['elementToStructure']({'model':{'name':'footnoteDefinition','attributes':['footnoteId']},'view':(_0x248753,{writer:_0x4e8c7e})=>X(_0x248753,_0x4e8c7e,_0x1eeb8b,{'dataPipeline':!0x0})}),_0x19e72f['for']('editingDowncast')['elementToStructure']({'model':{'name':'footnoteDefinition','attributes':['footnoteId']},'view':(_0x2d4fbd,{writer:_0x4261aa})=>X(_0x2d4fbd,_0x4261aa,_0x1eeb8b)});}['_defineBogusParagraphConverters'](){const {editor:_0x446c71}=this,{conversion:_0x20d769}=_0x446c71;_0x446c71['config']['get']('footnotes.multiBlock')?(_0x20d769['for']('editingDowncast')['elementToElement']({'model':'paragraph','view':B(),'converterPriority':'high'}),_0x20d769['for']('dataDowncast')['elementToElement']({'model':'paragraph','view':B({'dataPipeline':!0x0}),'converterPriority':'high'}),this['listenTo'](_0x446c71['model']['document'],'change:data',()=>{!function(_0x14fb3c,_0x174df6){const _0x5db027=_0x14fb3c['document']['differ'],_0x131111=new Set();for(const _0x47bcef of _0x5db027['getChanges']()){const _0x436b77='attribute'==_0x47bcef['type']?_0x47bcef['range']['start']['parent']:_0x47bcef['position']['parent'];_0x436b77['is']('element','footnoteDefinition')&&_0x131111['add'](_0x436b77);}for(const _0x3f3ed8 of _0x131111['values']()){const _0x1d284b=Array['from'](_0x3f3ed8['getChildren']())['filter'](_0x278c53=>U(_0x278c53,_0x174df6['mapper']));for(const _0x2eda3b of _0x1d284b)_0x174df6['reconvertItem'](_0x2eda3b);}}(_0x446c71['model'],_0x446c71['editing']);})):(_0x20d769['for']('editingDowncast')['elementToElement']({'model':'footnoteInlineContent','view':B()}),_0x20d769['for']('dataDowncast')['elementToElement']({'model':'footnoteInlineContent','view':(_0x77297d,{writer:_0xa1cf05})=>{const _0x3778ca=_0xa1cf05['createContainerElement']('span');return _0xa1cf05['setCustomProperty']('dataPipeline:transparentRendering',!0x0,_0x3778ca),_0x3778ca;}}));}['_defineKeyboardHandlers'](){const {editor:_0x128e4e}=this,{editing:_0x174e7c,t:t}=_0x128e4e,_0xd864ff=_0x128e4e['model']['document']['selection'];_0x128e4e['keystrokes']['set']('Ctrl+Alt+F','insertFootnote'),_0x128e4e['accessibility']['addKeystrokeInfos']({'keystrokes':[{'label':t('Insert\x20footnote'),'keystroke':'Ctrl+Alt+F'}]}),this['listenTo'](_0x174e7c['view']['document'],'enter',(_0x391c07,_0x19fdcb)=>{const _0x2ed3b2=function(_0x3c01f7){const _0x28d4a5=_0x3c01f7['getSelectedElement']();if(_0x28d4a5?.['is']('element','footnoteRef'))return _0x28d4a5;return null;}(_0xd864ff);if(_0x2ed3b2){const _0x4cb9ac=_0x2ed3b2['getAttribute']('footnoteId');this['_moveSelectionToFootnoteDefinition'](_0x4cb9ac),_0x19fdcb['preventDefault'](),_0x391c07['stop']();}},{'context':_0x2698e2});}['_defineClickHandlers'](){const {editor:_0x1facf0}=this,{editing:_0x6bf420}=_0x1facf0;_0x1facf0['editing']['view']['addObserver'](_0x4d6499),_0x1facf0['editing']['view']['addObserver'](_0x4f66ef);let _0x790e3e=!0x1;this['listenTo'](_0x6bf420['view']['document'],'pointerdown',(_0x3a6d19,_0x54a471)=>{const {target:_0x5154ea}=_0x54a471,_0x339cf7=_0x6bf420['view']['document']['selection'];_0x790e3e=!!(_0x5154ea?.['is']('element','a')&&_0x5154ea['parent']?.['is']('element','sup')&&_0x5154ea['parent']['hasClass']('footnote'))&&_0x339cf7['getSelectedElement']()===_0x5154ea['parent'];},{'priority':'high'}),this['listenTo'](_0x6bf420['view']['document'],'click',(_0x4a4061,_0x41057c)=>{const {target:_0x47725f}=_0x41057c;if(!_0x47725f?.['is']('element','a'))return;if(_0x47725f['parent']?.['is']('element','sup')&&_0x47725f['parent']['hasClass']('footnote')&&!_0x790e3e)return void _0x41057c['preventDefault']();let _0x281e91=_0x47725f['getAttribute']('href');if(!_0x281e91?.['startsWith']('#'))return;_0x281e91=_0x281e91['slice'](0x1);let _0x4ebcfb=!0x1;(_0x281e91['startsWith']('ref-')&&this['_moveSelectionToFootnoteReference'](_0x281e91['slice'](0x4))||this['_moveSelectionToFootnoteDefinition'](_0x281e91))&&(_0x4ebcfb=!0x0),_0x4ebcfb&&(_0x41057c['preventDefault'](),_0x4a4061['stop']());},{'priority':'high','context':'$capture'});}}function B({dataPipeline:_0x4f20c2}={}){return(_0x1aafa2,{writer:_0x5bc0f2})=>{if(!M(_0x1aafa2))return null;if(!_0x4f20c2)return _0x5bc0f2['createContainerElement']('span',{'class':'ck-footnote-bogus-paragraph'});const _0x30f96c=_0x5bc0f2['createContainerElement']('p');return _0x5bc0f2['setCustomProperty']('dataPipeline:transparentRendering',!0x0,_0x30f96c),_0x30f96c;};}function M(_0x2ee759){const {parent:_0x218a81}=_0x2ee759;if(!_0x218a81?.['is']('element','footnoteDefinition'))return!0x1;if(0x1!=_0x218a81['childCount'])return!0x1;for(const _0x195f13 of _0x2ee759['getAttributeKeys']())if(!_0x195f13['startsWith']('selection:')&&'htmlEmptyBlock'!=_0x195f13)return!0x1;return!0x0;}function U(_0x734dd2,_0x32a695){if(!_0x734dd2['is']('element','paragraph'))return!0x1;const _0x4bfa04=_0x32a695['toViewElement'](_0x734dd2);return!!_0x4bfa04&&M(_0x734dd2)!==_0x4bfa04['is']('element','span');}function q(_0x4e9f35){return _0x2698e2(_0x4e9f35)&&_0x4e9f35['is']('containerElement')&&!!_0x4e9f35['getCustomProperty']('footnotesDefinitions');}function H(_0x58f616,_0x4fcde3={}){const _0x2f2668=_0x58f616['createEmptyElement']('hr',{'class':'footnotes-divider'}),_0x957360=_0x58f616['createContainerElement']('ol',{'class':'footnotes-list'},_0x58f616['createSlot']());return _0x58f616['createContainerElement']('div',{'class':'footnotes',..._0x4fcde3},[_0x2f2668,_0x957360]);}function z(_0x61f52f,_0x263c6b){const _0x35aead=_0x61f52f['getAttribute']('footnoteId'),_0x2d43bd=_0x61f52f['getAttribute']('footnoteCounter'),_0x180a95=_0x263c6b['createUIElement']('a',{'href':'#'+_0x35aead},function(_0x243a1e){const _0x40df67=this['toDomElement'](_0x243a1e);return _0x40df67['textContent']=_0x2d43bd,_0x40df67;}),_0x3ad921=_0x263c6b['createContainerElement']('sup',{'id':'ref-'+_0x35aead,'class':'footnote'},[_0x180a95]);return _0x3ad921['getFillerOffset']=()=>null,_0x3ad921;}function X(_0x3e0f6d,_0x5975db,_0x3e7e23,{dataPipeline:_0x591c45}={}){const {t:t}=_0x3e7e23,_0x40b1e8=_0x3e0f6d['getAttribute']('footnoteId'),_0x293719=_0x5975db['createUIElement']('a',{'class':'footnote-backlink','href':'#ref-'+_0x40b1e8},function(_0x2da84f){const _0x5c04b4=this['toDomElement'](_0x2da84f);return _0x5c04b4['innerText']='^',_0x5c04b4;}),_0x204dec=_0x591c45?_0x5975db['createContainerElement']('div',{'class':'footnote-content'}):_0x329aa6(_0x5975db['createEditableElement']('div',{'class':'footnote-content'}),_0x5975db,{'label':t('Footnote\x20content.')});return _0x5975db['insert'](_0x5975db['createPositionAt'](_0x204dec,0x0),_0x5975db['createSlot']()),_0x5975db['createContainerElement']('li',{'class':'footnote-definition','id':_0x40b1e8},[_0x293719,_0x204dec]);}class J extends _0x8bc47d{static get['pluginName'](){return'FootnotesClipboard';}static get['requires'](){return[$,_0x2aa6c6];}static get['isOfficialPlugin'](){return!0x0;}static get['isPremiumPlugin'](){return!0x0;}['init'](){this['_defineClipboardIntegration']();}['_defineClipboardIntegration'](){this['_handleCopyFootnotesDefinitions'](),this['_handlePasteFootnotesDefinitions']();}['_handleCopyFootnotesDefinitions'](){const {editor:_0x20bbd1}=this,{plugins:_0x4c456a,model:_0x505b66}=_0x20bbd1,_0x3302c6=_0x4c456a['get'](_0x2aa6c6),_0x58b275=_0x4c456a['get'](K);this['listenTo'](_0x3302c6,'outputTransformation',(_0x462f59,_0x1928d0)=>{const _0x1d2937=Q(_0x505b66['createRangeIn'](_0x1928d0['content']));if(!_0x1d2937['length'])return;const _0x2cb3ee=_0x58b275['getFootnotes'](),_0x20924e=_0x1d2937['reduce']((_0x4bf09e,_0x28f95a)=>{const _0x26f039=_0x2cb3ee['find'](_0x1dece7=>_0x1dece7['id']===_0x28f95a);if(_0x26f039){const _0x5c3d21=_0x20bbd1['data']['toView'](_0x26f039['definition'],{'isClipboardPipeline':!0x0}),_0x36895d=_0x20bbd1['data']['htmlProcessor']['toData'](_0x5c3d21);_0x4bf09e[_0x26f039['id']]=_0x36895d;}return _0x4bf09e;},Object['create'](null));_0x1928d0['dataTransfer']['setData']('application/ckeditor5-footnotes',JSON['stringify'](_0x20924e));});}['_handlePasteFootnotesDefinitions'](){const {editor:_0x1c1560}=this,{model:_0x3b49de,plugins:_0x3f648a}=_0x1c1560,{view:_0x1176af}=_0x1c1560['editing'],_0xbc63f=_0x3f648a['get'](_0x2aa6c6),_0x509f58=_0x3f648a['get'](K),_0x89c7b7=_0x1c1560['config']['get']('footnotes.multiBlock');let _0x48538a=null;this['listenTo'](_0x1176af['document'],'clipboardInput',(_0x140570,_0x20332c)=>{const _0x58f5e8=_0x20332c['dataTransfer']['getData']('application/ckeditor5-footnotes');_0x48538a=_0x58f5e8?JSON['parse'](_0x58f5e8):null;}),this['listenTo'](_0xbc63f,'contentInsertion',(_0x355e97,_0x435af1)=>{const _0x3c194a=_0x435af1['sourceEditorId']===this['editor']['id'];_0x3c194a&&'drop'===_0x435af1['method']||_0x3b49de['change'](_0x1ad7bd=>{let _0x4b2432=_0x509f58['getFootnotesDefinitionsObjectElement']();const _0x1f4f56=!!_0x4b2432&&Array['from'](_0x3b49de['document']['selection']['getSelectedBlocks']())['includes'](_0x4b2432);if(!_0x48538a&&function(_0x4942c1){for(const {item:_0x129dd5}of _0x4942c1)if(_0x129dd5['is']('element','footnoteRef'))return!0x0;return!0x1;}(_0x3b49de['createRangeIn'](_0x435af1['content']))&&(_0x48538a=function(_0x527748,_0x46af8c){const _0x14a00e=G(_0x527748,_0x46af8c);if(!_0x14a00e)return null;const _0x1db17c=Object['create'](null);for(const _0x3fecc9 of _0x14a00e['getChildren']())_0x3fecc9['is']('element','footnoteDefinition')&&_0x3fecc9['hasAttribute']('footnoteId')&&(_0x1db17c[_0x3fecc9['getAttribute']('footnoteId')]=_0x527748['cloneElement'](_0x3fecc9,!0x0));return Object['keys'](_0x1db17c)['length']?_0x1db17c:null;}(_0x1ad7bd,_0x435af1['content'])),(_0x4b2432&&!_0x1f4f56||!_0x4b2432&&!_0x48538a)&&function(_0x3c093a,_0x71945e){const _0x78e6f4=[];for(const {item:_0x414166}of _0x3c093a['createRangeIn'](_0x71945e))_0x414166['is']('element','footnotesDefinitions')&&_0x78e6f4['push'](_0x414166);for(const _0x300c71 of _0x78e6f4)_0x3c093a['remove'](_0x300c71);}(_0x1ad7bd,_0x435af1['content']),!_0x48538a)return;const {selection:_0x1fb19f}=_0x3b49de['document'],_0x142c9c=_0x1fb19f['getFirstRange']()['root'];_0x4b2432&&!_0x1f4f56||(_0x4b2432=G(_0x1ad7bd,_0x435af1['content']),_0x4b2432||=_0x509f58['_insertEmptyFootnotesDefinitionsContainer'](_0x1ad7bd,_0x142c9c));const _0x2bf148=Array['from'](_0x1fb19f['getRanges']())['flatMap'](Q),_0x287fba=function(_0x426601,_0x2d0bb9,_0x1d0a0d){const _0x4349db=Object['create'](null);for(const {item:_0x4abe70}of _0x426601['createRangeIn'](_0x2d0bb9))if(_0x4abe70['is']('element','footnoteRef')){const _0x884563=_0x4abe70['getAttribute']('footnoteId');if(!_0x1d0a0d(_0x884563))continue;_0x4349db[_0x884563]||(_0x4349db[_0x884563]=_0x24f2b5()),_0x426601['setAttribute']('footnoteId',_0x4349db[_0x884563],_0x4abe70);}return _0x4349db;}(_0x1ad7bd,_0x435af1['content'],_0x4b8fd5=>{if(!_0x3c194a)return!0x0;return!!_0x509f58['getFootnote'](_0x4b8fd5)&&!_0x2bf148['includes'](_0x4b8fd5);});for(const [_0x5f561f,_0x14f516]of Object['entries'](_0x48538a)){const _0x187968=_0x287fba[_0x5f561f]||_0x5f561f;let _0x460b6c;if('string'!=typeof _0x14f516)_0x460b6c=_0x14f516,_0x187968!==_0x5f561f&&_0x1ad7bd['setAttribute']('footnoteId',_0x187968,_0x460b6c);else{_0x460b6c=_0x1ad7bd['createElement']('footnoteDefinition',{'footnoteId':_0x187968});const _0x1fe4d9=_0x1c1560['data']['htmlProcessor']['toView'](_0x14f516);let _0x38ff8b;if(_0x89c7b7)_0x38ff8b=_0x1c1560['data']['toModel'](_0x1fe4d9,_0x460b6c);else{_0x38ff8b=_0x1ad7bd['createElement']('footnoteInlineContent');const _0x39c107=_0x1c1560['data']['toModel'](_0x1fe4d9,_0x38ff8b);_0x1ad7bd['insert'](_0x39c107,_0x38ff8b);}_0x1ad7bd['append'](_0x38ff8b,_0x460b6c);}_0x1ad7bd['insert'](_0x460b6c,_0x4b2432,'end');}_0x48538a=null;});});}}function G(_0x25bd6b,_0x4037af){for(const {item:_0x465ccb}of _0x25bd6b['createRangeIn'](_0x4037af))if(_0x465ccb['is']('element','footnotesDefinitions'))return _0x465ccb;return null;}function Q(_0x294207){const _0x14bde6=new Set();for(const {item:_0x14905b}of _0x294207)_0x14905b['is']('element','footnoteRef')&&_0x14bde6['add'](_0x14905b['getAttribute']('footnoteId'));return Array['from'](_0x14bde6);}class W extends _0x8bc47d{['licenseKey'];['_licenseKeyCheckInterval'];static get['pluginName'](){return'FootnotesUI';}static get['isOfficialPlugin'](){return!0x0;}static get['isPremiumPlugin'](){return!0x0;}['init'](){const {editor:_0x27e723}=this,{componentFactory:_0x22b08e}=_0x27e723['ui'];_0x22b08e['add']('insertFootnote',Y(_0x27e723,_0x4d71ae)),_0x22b08e['add']('menuBar:insertFootnote',Y(_0x27e723,_0x4e1c3e)),this['licenseKey']=this['editor']['config']['get']('licenseKey');const _0x37eae4=this['editor'];this['_licenseKeyCheckInterval']=setInterval(()=>{let _0x3b8a68;for(const _0x212f21 in _0x37eae4){const _0x22bddd=_0x212f21,_0x330c93=_0x37eae4[_0x22bddd];if('footnotesLicenseKeyValid'==_0x330c93||'footnotesLicenseKeyInvalid'==_0x330c93||'footnotesLicenseKeyExpired'==_0x330c93||'footnotesLicenseKeyDomainLimit'==_0x330c93||'footnotesLicenseKeyNotAllowed'==_0x330c93||'footnotesLicenseKeyEvaluationLimit'==_0x330c93||'footnotesLicenseKeyUsageLimit'==_0x330c93){delete _0x37eae4[_0x22bddd],_0x3b8a68=_0x330c93,clearInterval(this['_licenseKeyCheckInterval']),this['_licenseKeyCheckInterval']=void 0x0;break;}}'footnotesLicenseKeyInvalid'==_0x3b8a68&&_0x37eae4['_showLicenseError']('invalid'),'footnotesLicenseKeyExpired'==_0x3b8a68&&_0x37eae4['_showLicenseError']('expired'),'footnotesLicenseKeyDomainLimit'==_0x3b8a68&&_0x37eae4['_showLicenseError']('domainLimit'),'footnotesLicenseKeyNotAllowed'==_0x3b8a68&&_0x37eae4['_showLicenseError']('featureNotAllowed','Footnotes'),'footnotesLicenseKeyEvaluationLimit'==_0x3b8a68&&_0x37eae4['_showLicenseError']('evaluationLimit'),'footnotesLicenseKeyUsageLimit'==_0x3b8a68&&_0x37eae4['_showLicenseError']('usageLimit');},0x3e8);}['destroy'](){super['destroy'](),this['_licenseKeyCheckInterval']&&clearInterval(this['_licenseKeyCheckInterval']);}}function Y(_0x12bb12,_0x554fdc){const _0x566246=_0x12bb12['commands']['get']('insertFootnote');return _0x5b1d64=>{const {t:t}=_0x5b1d64,_0x32ba17=new _0x554fdc(_0x5b1d64),_0x579808=_0x32ba17 instanceof _0x4e1c3e;return _0x32ba17['bind']('isEnabled')['to'](_0x566246,'isEnabled'),_0x32ba17['set']({'label':t(_0x579808?'Footnote':'Insert\x20footnote'),'icon':_0x2e9740,'tooltip':!0x0}),_0x32ba17['on']('execute',()=>{_0x566246['execute'](),_0x12bb12['editing']['view']['focus']();}),_0x32ba17;};}class Z extends _0x8bc47d{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 _0x2ecdf5{['refresh'](){const {editor:_0x1a5606}=this,_0x2bd175=_0x1a5606['plugins']['get'](K)['getFootnotesDefinitionsObjectElement']();this['isEnabled']=!!_0x2bd175,this['value']=_0x2bd175?.['getAttribute']('footnotesListStyle')??null;}['execute']({value:_0x102029}){const {editor:_0x59e83e}=this,_0x362337=_0x59e83e['plugins']['get'](K),_0x2d13a0=_0x362337['getFootnotesDefinitionsObjectElement']();_0x2d13a0&&ot['includes'](_0x102029)&&_0x59e83e['model']['change'](_0x518791=>{_0x518791['setAttribute']('footnotesListStyle',_0x102029,_0x2d13a0),_0x362337['_updateFootnotesCounters'](_0x518791);});}}class it extends _0x2ecdf5{['refresh'](){const {editor:_0x9a84c1}=this,_0x53ec52=_0x9a84c1['plugins']['get'](K)['getFootnotesDefinitionsObjectElement']();this['isEnabled']=!!_0x53ec52,this['value']=_0x53ec52?.['getAttribute']('footnotesListStart')??null;}['execute']({value:_0xd5f5ba}){const {editor:_0x1aeb0e}=this,_0x4a306b=_0x1aeb0e['plugins']['get'](K),_0xc16fab=_0x4a306b['getFootnotesDefinitionsObjectElement']();_0xc16fab&&Number['isInteger'](_0xd5f5ba)&&_0x1aeb0e['model']['change'](_0x4fa621=>{_0x4fa621['setAttribute']('footnotesListStart',_0xd5f5ba,_0xc16fab),_0x4a306b['_updateFootnotesCounters'](_0x4fa621);});}}function st(_0x21e15f,_0x1c460c){let _0x3be00='',_0x1dc5e8=_0x21e15f;for(;_0x1dc5e8>0x0;){const _0x1f671b=(_0x1dc5e8-0x1)%0x1a;_0x3be00=String['fromCharCode'](0x61+_0x1f671b)+_0x3be00,_0x1dc5e8=Math['floor']((_0x1dc5e8-0x1)/0x1a);}return _0x1c460c?_0x3be00['toUpperCase']():_0x3be00;}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(_0x434314,_0x13504c){let _0x3f0bf6='',_0x364ceb=_0x434314;for(const {value:_0x4e4014,numeral:_0x14c2f7}of rt)for(;_0x364ceb>=_0x4e4014;)_0x3f0bf6+=_0x14c2f7,_0x364ceb-=_0x4e4014;return _0x13504c?_0x3f0bf6:_0x3f0bf6['toLowerCase']();}const ft=['٠','١','٢','٣','٤','٥','٦','٧','٨','٩'];class at extends _0x8bc47d{static get['pluginName'](){return'FootnotesPropertiesEditing';}static get['requires'](){return[$,K];}static get['isOfficialPlugin'](){return!0x0;}static get['isPremiumPlugin'](){return!0x0;}['init'](){const {editor:_0x56f0cc}=this;_0x56f0cc['config']['define']('footnotes.footnotesProperties.defaultListStyle','decimal'),_0x56f0cc['config']['define']('footnotes.footnotesProperties.defaultStartIndex',0x1),_0x56f0cc['config']['define']('footnotes.footnotesProperties.listStyles',[...tt]),_0x56f0cc['commands']['add']('footnotesStyle',new nt(_0x56f0cc)),_0x56f0cc['commands']['add']('footnotesStart',new it(_0x56f0cc)),this['_defineSchema'](),this['_defineConverters'](),this['_defineFormatter'](),this['_definePostfixer']();}['_defineSchema'](){const {editor:_0x4d02b2}=this,{schema:_0x321cdd}=_0x4d02b2['model'];_0x321cdd['extend']('footnotesDefinitions',{'allowAttributes':['footnotesListStyle','footnotesListStart']});}['_defineConverters'](){const {editor:_0x1ca797}=this,{conversion:_0x55b695,model:_0x26fe51}=_0x1ca797,{schema:_0x39255f}=_0x26fe51;_0x55b695['for']('upcast')['add'](_0x9ac869=>{_0x9ac869['on']('element:ol',(_0xb57a5b,_0x37654e,_0x4c26dc)=>{const _0x37bfea=_0x37654e['viewItem'],_0x1dac9f=_0x37654e['modelCursor']?.['parent'];_0x37bfea['hasClass']('footnotes-list')&&_0x1dac9f?.['is']('element','footnotesDefinitions')&&(function(_0x56932e,_0x45ad50,_0x500de5,_0x332568){if(!_0x332568['checkAttribute'](_0x45ad50,'footnotesListStart'))return;let _0x39a702=0x1;const _0x1ba01a=_0x500de5['consumable']['consume'](_0x56932e,{'attributes':'start'});if(_0x1ba01a){const _0x53ac25=Number['parseInt'](_0x56932e['getAttribute']('start'),0xa);Number['isNaN'](_0x53ac25)||(_0x39a702=_0x53ac25);}!_0x1ba01a&&_0x45ad50['hasAttribute']('footnotesListStart')||_0x500de5['writer']['setAttribute']('footnotesListStart',_0x39a702,_0x45ad50);}(_0x37bfea,_0x1dac9f,_0x4c26dc,_0x39255f),function(_0x9ba7c4,_0x3e0715,_0x14383b,_0x4929cc){if(!_0x4929cc['checkAttribute'](_0x3e0715,'footnotesListStyle'))return;let _0x1c346c='decimal',_0x229428=!0x1;if(_0x14383b['consumable']['consume'](_0x9ba7c4,{'attributes':'type'})){const _0x46a3e4={0x1:'decimal','a':'lower-latin','A':'upper-latin','i':'lower-roman','I':'upper-roman'}[_0x9ba7c4['getAttribute']('type')];_0x46a3e4&&(_0x1c346c=_0x46a3e4),_0x229428=!0x0;}if(_0x14383b['consumable']['consume'](_0x9ba7c4,{'styles':'list-style-type'})){const _0x89cb54=ct(_0x9ba7c4['getStyle']('list-style-type'));_0x89cb54&&(_0x1c346c=_0x89cb54),_0x229428=!0x0;}!_0x229428&&_0x3e0715['hasAttribute']('footnotesListStyle')||_0x14383b['writer']['setAttribute']('footnotesListStyle',_0x1c346c,_0x3e0715);}(_0x37bfea,_0x1dac9f,_0x4c26dc,_0x39255f));});}),_0x55b695['for']('downcast')['add'](_0x12a06e=>{_0x12a06e['on']('attribute:footnotesListStart:footnotesDefinitions',(_0x29e73e,_0x5969bb,_0x4d270d)=>{if(!_0x4d270d['consumable']['consume'](_0x5969bb['item'],_0x29e73e['name']))return;const _0x53bf77=ut(_0x5969bb['item'],_0x4d270d['mapper']),{attributeNewValue:_0x1c6640}=_0x5969bb;null==_0x1c6640||0x1===_0x1c6640?_0x4d270d['writer']['removeAttribute']('start',_0x53bf77):_0x4d270d['writer']['setAttribute']('start',String(_0x1c6640),_0x53bf77);}),_0x12a06e['on']('attribute:footnotesListStyle:footnotesDefinitions',(_0x3a2d7b,_0x43f5e4,_0x267144)=>{if(!_0x267144['consumable']['consume'](_0x43f5e4['item'],_0x3a2d7b['name']))return;const _0x39d24b=ut(_0x43f5e4['item'],_0x267144['mapper']),{attributeNewValue:_0x42ebb2}=_0x43f5e4;_0x42ebb2&&'decimal'!==_0x42ebb2?_0x267144['writer']['setStyle']('list-style-type',_0x42ebb2,_0x39d24b):_0x267144['writer']['removeStyle']('list-style-type',_0x39d24b);});});}['_definePostfixer'](){const {editor:_0x175384}=this,{model:_0x2494ae}=_0x175384,_0x2cc118=_0x175384['plugins']['get'](K),_0x50667f=this['_getDefaultListStyle'](),_0x339ed5=this['_getDefaultStartIndex']();_0x2494ae['document']['registerPostFixer'](_0x393b5e=>{const _0x2a031a=_0x2494ae['document']['differ']['getChanges']();let _0x3062c1=!0x1;for(const _0x344af7 of _0x2a031a){if('insert'!==_0x344af7['type']||'$text'===_0x344af7['name'])continue;const _0x3af643=_0x2494ae['createRangeOn'](_0x344af7['position']['nodeAfter']);for(const _0x5f32b3 of _0x3af643['getItems']())_0x5f32b3['is']('element','footnotesDefinitions')&&(!_0x5f32b3['hasAttribute']('footnotesListStart')&&_0x2494ae['schema']['checkAttribute'](_0x5f32b3,'footnotesListStart')&&(_0x393b5e['setAttribute']('footnotesListStart',_0x339ed5,_0x5f32b3),_0x3062c1=!0x0),!_0x5f32b3['hasAttribute']('footnotesListStyle')&&_0x2494ae['schema']['checkAttribute'](_0x5f32b3,'footnotesListStyle')&&(_0x393b5e['setAttribute']('footnotesListStyle',_0x50667f,_0x5f32b3),_0x3062c1=!0x0));}return _0x3062c1&&_0x2cc118['_updateFootnotesCounters'](_0x393b5e),_0x3062c1;});}['_defineFormatter'](){const {editor:_0x1d3517}=this;_0x1d3517['plugins']['get'](K)['setFootnoteFormatter'](_0x7849a9=>this['_formatFootnoteListValue'](_0x7849a9));}['_getDefaultListStyle'](){return this['editor']['config']['get']('footnotes.footnotesProperties.defaultListStyle');}['_getDefaultStartIndex'](){return this['editor']['config']['get']('footnotes.footnotesProperties.defaultStartIndex');}['_formatFootnoteListValue']({container:_0x221ca1,value:_0x1e5781,digits:_0x59c9e4}){const _0x4fa135=_0x221ca1['getAttribute']('footnotesListStyle'),_0x21d0f1=_0x221ca1['getAttribute']('footnotesListStart'),_0x147650=Math['floor'](_0x1e5781)+(_0x21d0f1??0x1)-0x1;switch(_0x4fa135){case'decimal-leading-zero':return function(_0x10f256,_0x2d1048){return String(_0x10f256)['padStart'](_0x2d1048,'0');}(_0x147650,Math['max'](0x2,_0x59c9e4));case'lower-alpha':case'lower-latin':return st(_0x147650,!0x1);case'upper-alpha':case'upper-latin':return st(_0x147650,!0x0);case'lower-roman':return lt(_0x147650,!0x1);case'upper-roman':return lt(_0x147650,!0x0);case'arabic-indic':return String(_0x147650)['replace'](/\d/g,_0x39db8c=>ft[Number(_0x39db8c)]);default:return String(_0x147650);}}}function ct(_0x391acc){if('string'==typeof _0x391acc){const _0x5547b3=et[_0x391acc];if(_0x5547b3)return _0x5547b3;if(ot['includes'](_0x391acc))return _0x391acc;}return null;}function ut(_0x3bc356,_0x27877e){const _0x48b1ae=_0x27877e['toViewElement'](_0x3bc356);return Array['from'](_0x48b1ae['getChildren']())['find'](_0x5a78de=>_0x5a78de['is']('element','ol')&&_0x5a78de['hasClass']('footnotes-list'));}class dt extends _0x5bcf97{['children'];['stylesView']=null;['additionalProperties']=null;['startIndexFieldView']=null;['focusTracker']=new _0xb307b8();['keystrokes']=new _0x2e41a2();['focusables']=new _0x217e0f();['focusCycler'];constructor(_0x1499fa,{styleButtonViews:_0x5ba323,styleGridAriaLabel:_0x1b289f}){super(_0x1499fa),(this['focusCycler']=new _0x11a4bf({'focusables':this['focusables'],'focusTracker':this['focusTracker'],'keystrokeHandler':this['keystrokes'],'actions':{'focusPrevious':'shift\x20+\x20tab','focusNext':'tab'}}),this['children']=this['createCollection'](),this['stylesView']=this['_appendStylesView'](_0x5ba323,_0x1b289f),[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 _0x3c1195 of this['stylesView']['children'])this['stylesView']['focusTracker']['add'](_0x3c1195['element']);_0xa476a5({'keystrokeHandler':this['stylesView']['keystrokes'],'focusTracker':this['stylesView']['focusTracker'],'gridItems':this['stylesView']['children'],'numberOfColumns':()=>_0x30fc27['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 _0x18fe5e=_0x53e71f=>_0x53e71f['stopPropagation']();this['keystrokes']['set']('arrowright',_0x18fe5e),this['keystrokes']['set']('arrowleft',_0x18fe5e),this['keystrokes']['set']('arrowup',_0x18fe5e),this['keystrokes']['set']('arrowdown',_0x18fe5e);}this['keystrokes']['listenTo'](this['element']);}['focus'](){this['focusCycler']['focusFirst']();}['focusLast'](){this['focusCycler']['focusLast']();}['destroy'](){super['destroy'](),this['focusTracker']['destroy'](),this['keystrokes']['destroy']();}['_appendStylesView'](_0x277af2,_0x562c31){const _0x377a4e=new _0x5bcf97(this['locale']);return _0x377a4e['children']=_0x377a4e['createCollection'](),_0x377a4e['children']['addMany'](_0x277af2),_0x377a4e['setTemplate']({'tag':'div','attributes':{'aria-label':_0x562c31,'class':['ck','ck-footnotes-definitions-styles-list']},'children':_0x377a4e['children']}),_0x377a4e['children']['delegate']('execute')['to'](this),_0x377a4e['focus']=function(){for(const _0x3663f3 of this['children'])if(_0x3663f3 instanceof _0x4d71ae&&_0x3663f3['isOn'])return void _0x3663f3['focus']();this['children']['first']['focus']();},_0x377a4e['focusTracker']=new _0xb307b8(),_0x377a4e['keystrokes']=new _0x2e41a2(),_0x377a4e['render'](),_0x377a4e['keystrokes']['listenTo'](_0x377a4e['element']),this['children']['add'](_0x377a4e),_0x377a4e;}['_appendAdditionalPropertiesCollapsibleView'](){const {t:t}=this['locale'],_0x12cda0=this['_createStartIndexPropertyView'](),_0x36873e=[_0x12cda0],_0x389e81=new _0x1b22a0(this['locale'],_0x36873e);return _0x389e81['set']({'label':t('Footnotes\x20properties'),'isCollapsed':!0x0}),_0x389e81['buttonView']['bind']('isEnabled')['toMany'](_0x36873e,'isEnabled',(..._0x40fb42)=>_0x40fb42['some'](_0x5153d1=>_0x5153d1)),_0x389e81['buttonView']['on']('change:isEnabled',(_0x3508c5,_0xbe7af,_0x33440d)=>{_0x33440d||(_0x389e81['isCollapsed']=!0x0);}),this['children']['add'](_0x389e81),[_0x12cda0,_0x389e81];}['_createStartIndexPropertyView'](){const {t:t}=this['locale'],_0xa76220=new _0x3270d7(this['locale'],_0x7de0f);return _0xa76220['set']({'label':t('Footnotes\x20start\x20at'),'class':'ck-footnotes-definitions-properties__start-index'}),_0xa76220['fieldView']['set']({'min':0x0,'max':Math['pow'](0x2,0x1e),'step':0x1,'value':0x1,'inputMode':'numeric'}),_0xa76220['fieldView']['on']('input',()=>{const _0x571aed=_0xa76220['fieldView']['element'],_0x31e9ee=_0x571aed['valueAsNumber'];Number['isNaN'](_0x31e9ee)?_0xa76220['errorText']=t('Invalid\x20footnotes\x20start\x20index\x20value.'):_0x571aed['checkValidity']()?this['fire']('footnotesListStart',{'startIndex':_0x31e9ee}):_0xa76220['errorText']=t(_0x31e9ee<0x0?'Footnotes\x20start\x20index\x20must\x20be\x20greater\x20than\x200.':'Footnotes\x20start\x20index\x20is\x20too\x20large.');}),_0xa76220;}}class ht extends _0x8bc47d{static get['pluginName'](){return'FootnotesPropertiesUI';}static get['requires'](){return[_0x2dbb58,_0x2e58dc];}static get['isOfficialPlugin'](){return!0x0;}static get['isPremiumPlugin'](){return!0x0;}['init'](){const {editor:_0x1599b6}=this,{componentFactory:_0x2d28d8}=_0x1599b6['ui'];_0x1599b6['config']['define']('footnotes.footnotesProperties.toolbar',['footnotesStyle']),_0x2d28d8['add']('footnotesStyle',function(_0x458ca7){return _0x5a339f=>{const {t:t}=_0x5a339f,_0x464ce2=_0x458ca7['commands']['get']('footnotesStyle'),_0x3a1b3c=_0x1ef1d7(_0x5a339f),{buttonView:_0x244a69}=_0x3a1b3c;return _0x3a1b3c['class']='ck-footnotes-styles-dropdown',_0x3a1b3c['bind']('isEnabled')['to'](_0x464ce2,'isEnabled'),_0x244a69['set']({'label':t('Footnotes\x20style'),'icon':_0x2e9740,'tooltip':!0x0}),_0x3a1b3c['once']('change:isOpen',()=>{const _0x27cb1c=function({editor:_0x41f470,dropdownView:_0x1b56c7}){const {t:t}=_0x41f470['locale'],_0x4fac32=t('Footnotes\x20definitions\x20styles'),_0x1fbdb3=function(_0x1e9279){const {t:t}=_0x1e9279['locale'],_0x44976a=_0x1e9279['config']['get']('footnotes.footnotesProperties.listStyles'),_0x30348e=[{'style':'decimal','label':t('Toggle\x20the\x20decimal\x20footnotes\x20style'),'tooltip':t('Decimal\x20footnotes'),'icon':_0x5c9280},{'style':'decimal-leading-zero','label':t('Toggle\x20the\x20decimal\x20with\x20leading\x20zero\x20footnotes\x20style'),'tooltip':t('Decimal\x20footnotes\x20with\x20leading\x20zero'),'icon':_0x3ccbff},{'style':'lower-roman','label':t('Toggle\x20the\x20lower-roman\x20footnotes\x20style'),'tooltip':t('Lower-roman\x20footnotes'),'icon':_0x517153},{'style':'upper-roman','label':t('Toggle\x20the\x20upper-roman\x20footnotes\x20style'),'tooltip':t('Upper-roman\x20footnotes'),'icon':_0x56c656},{'style':'lower-latin','label':t('Toggle\x20the\x20lower-latin\x20footnotes\x20style'),'tooltip':t('Lower-latin\x20footnotes'),'icon':_0x3ac635},{'style':'upper-latin','label':t('Toggle\x20the\x20upper-latin\x20footnotes\x20style'),'tooltip':t('Upper-latin\x20footnotes'),'icon':_0x297597},{'style':'arabic-indic','label':t('Toggle\x20the\x20arabic-indic\x20footnotes\x20style'),'tooltip':t('Arabic-indic\x20footnotes'),'icon':_0xa81f0f}];return _0x44976a['map'](_0x54346c=>{const _0xf7c6d0=ct(_0x54346c),_0x2b8db2=_0x30348e['find'](_0x2a33c9=>_0x2a33c9['style']===_0xf7c6d0);return function(_0x47a9ab,_0x4a0e92){const {locale:_0x6e304a}=_0x47a9ab,{label:_0x5e992f,icon:_0x248578,tooltip:_0x1b38e2,style:_0x1e190a}=_0x4a0e92,_0x24332c=_0x47a9ab['commands']['get']('footnotesStyle'),_0x12ce17=new _0x4d71ae(_0x6e304a);return _0x12ce17['set']({'label':_0x5e992f,'icon':_0x248578,'tooltip':_0x1b38e2}),_0x12ce17['bind']('isOn')['to'](_0x24332c,'value',_0x56d4d3=>_0x56d4d3===_0x1e190a),_0x12ce17['bind']('isEnabled')['to'](_0x24332c,'isEnabled'),_0x12ce17['on']('execute',()=>{_0x47a9ab['execute']('footnotesStyle',{'value':_0x1e190a}),_0x47a9ab['editing']['view']['focus']();}),_0x12ce17;}(_0x1e9279,_0x2b8db2);});}(_0x41f470),_0x54b953=new dt(_0x41f470['locale'],{'styleGridAriaLabel':_0x4fac32,'styleButtonViews':_0x1fbdb3}),_0x334fbc=_0x41f470['commands']['get']('footnotesStart');return _0x54b953['startIndexFieldView']['bind']('isEnabled')['to'](_0x334fbc),_0x54b953['startIndexFieldView']['fieldView']['bind']('value')['to'](_0x334fbc),_0x54b953['on']('footnotesListStart',(_0x13fc96,_0x5ef432)=>{_0x41f470['execute']('footnotesStart',{'value':_0x5ef432['startIndex']});}),_0x54b953['delegate']('execute')['to'](_0x1b56c7),_0x54b953;}({'editor':_0x458ca7,'dropdownView':_0x3a1b3c});_0x3a1b3c['panelView']['children']['add'](_0x27cb1c);}),_0x3a1b3c;};}(_0x1599b6));}['afterInit'](){const {editor:_0x38348a}=this,{t:t}=_0x38348a['locale'],_0x345ff4=_0x38348a['plugins']['get'](_0x2e58dc),{defaultPositions:_0x43be08}=_0x30a1b4;_0x345ff4['register']('footnotesDefinitions',{'ariaLabel':t('Footnotes\x20definitions\x20toolbar'),'items':_0x38348a['config']['get']('footnotes.footnotesProperties.toolbar'),'balloonClassName':'ck-footnotes-style-balloon\x20ck-toolbar-container','getRelatedElement':_0x45c1ac=>{let _0x8a96bd=_0x45c1ac['getFirstPosition']()?.['parent'];return _0x8a96bd?.['is']('$text')&&(_0x8a96bd=_0x8a96bd['parent']),_0x8a96bd?.['is']('element')?_0x8a96bd['findAncestor'](q):null;},'positions':[_0x43be08['southArrowNorth'],_0x43be08['southArrowNorthMiddleWest'],_0x43be08['southArrowNorthMiddleEast'],_0x43be08['southArrowNorthWest'],_0x43be08['southArrowNorthEast'],_0x43be08['northArrowSouth'],_0x43be08['northArrowSouthMiddleWest'],_0x43be08['northArrowSouthMiddleEast'],_0x43be08['northArrowSouthWest'],_0x43be08['northArrowSouthEast'],_0x43be08['viewportStickyNorth']]});}}class mt extends _0x8bc47d{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 _0x3851fd,Command as _0x2d2c01}from'@ckeditor/ckeditor5-core/dist/index.js';import{toWidget as _0x5e9619,isWidget as _0x167664,toWidgetEditable as _0x1b7e89,WidgetToolbarRepository as _0x454980}from'@ckeditor/ckeditor5-widget/dist/index.js';import{uid as _0xdf3c61,logWarning as _0x2f68eb,FocusTracker as _0x557e09,KeystrokeHandler as _0x2c0f50,global as _0x4f2ee4}from'@ckeditor/ckeditor5-utils/dist/index.js';import{PointerObserver as _0x3a8762,ClickObserver as _0x446ba1}from'@ckeditor/ckeditor5-engine/dist/index.js';import{ClipboardPipeline as _0x41599b}from'@ckeditor/ckeditor5-clipboard/dist/index.js';import{MenuBarMenuListItemButtonView as _0x3962e2,ButtonView as _0x550cf0,View as _0x485987,ViewCollection as _0x2abce3,FocusCycler as _0x2364e4,addKeyboardHandlingForGrid as _0x1fdab9,CollapsibleView as _0x2cb5ef,LabeledFieldView as _0x1e2eb3,createLabeledInputNumber as _0x217ec6,ContextualBalloon as _0x5e572c,BalloonPanelView as _0x711993,createDropdown as _0x4ad3b6}from'@ckeditor/ckeditor5-ui/dist/index.js';import{IconFootnote as _0x73680a,IconListStyleDecimal as _0x2db61f,IconListStyleDecimalLeadingZero as _0x2a1cbf,IconListStyleLowerRoman as _0x54e481,IconListStyleUpperRoman as _0x598049,IconListStyleLowerLatin as _0x3d6f42,IconListStyleUpperLatin as _0x22328a,IconListStyleArabicIndic as _0x2a2806}from'@ckeditor/ckeditor5-icons/dist/index.js';class R{['_model'];['_elementName'];['_getElementKey'];['_trackedElements']=new Map();constructor(_0x1d04e4,_0x21291e){this['_model']=_0x1d04e4,this['_elementName']=_0x21291e['elementName'],this['_getElementKey']=_0x21291e['getElementKey'];}['reset'](){this['_trackedElements']['clear']();}['getChanges'](_0x29ce0e){const _0x481645=new Set(),_0x5bad31=new Map();for(const _0x409f1e of _0x29ce0e){if('insert'===_0x409f1e['type']&&'$text'!==_0x409f1e['name']&&_0x409f1e['position']['nodeAfter']){const _0x9e5d6a=this['_model']['createRangeOn'](_0x409f1e['position']['nodeAfter']);for(const _0x3c48b1 of _0x9e5d6a['getItems']()){if(!_0x3c48b1['is']('element',this['_elementName']))continue;const _0x35ba14=this['_getElementKey'](_0x3c48b1);_0x5bad31['has'](_0x35ba14)||_0x5bad31['set'](_0x35ba14,[]),_0x5bad31['get'](_0x35ba14)['push'](_0x3c48b1);}}if('remove'===_0x409f1e['type']&&_0x409f1e['name']===this['_elementName']){const _0x27996a=this['_getElementKey']({'getAttribute':_0x5c6aee=>_0x409f1e['attributes']['get'](_0x5c6aee)});_0x481645['add'](_0x27996a);}}for(const [_0x2f6c9e,_0x15b025]of this['_trackedElements'])'$graveyard'===_0x15b025['root']['rootName']&&_0x481645['add'](_0x2f6c9e);for(const _0x4e21a6 of _0x481645)this['_trackedElements']['delete'](_0x4e21a6);for(const [_0x312ce8,_0x4d9f9d]of _0x5bad31)this['_trackedElements']['set'](_0x312ce8,_0x4d9f9d[_0x4d9f9d['length']-0x1]);const _0x4ca92e=new Set();for(const [_0x37fd76,_0xd7b243]of _0x5bad31)_0x481645['has'](_0x37fd76)&&(_0x4ca92e['add'](_0xd7b243[0x0]),_0xd7b243['length']>0x1?_0x5bad31['set'](_0x37fd76,_0xd7b243['slice'](0x1)):_0x5bad31['delete'](_0x37fd76),_0x481645['delete'](_0x37fd76));return{'removed':Array['from'](_0x481645),'inserted':Array['from'](_0x5bad31['values']())['flat'](),'moved':Array['from'](_0x4ca92e)};}}class K extends _0x3851fd{['_footnotes']=[];['_footnotesDefinitions']=null;['_footnoteFormatter']=null;['_footnoteDefsContainerTracker'];['_footnoteRefsTracker'];['_footnoteDefsTracker'];static get['pluginName'](){return'FootnotesTracker';}static get['isOfficialPlugin'](){return!0x0;}static get['isPremiumPlugin'](){return!0x0;}constructor(_0x4406e5){super(_0x4406e5),this['_footnoteDefsContainerTracker']=new R(this['editor']['model'],{'elementName':'footnotesDefinitions','getElementKey':()=>'singleton'}),this['_footnoteRefsTracker']=new R(this['editor']['model'],{'elementName':'footnoteRef','getElementKey':_0xad42d8=>_0xad42d8['getAttribute']('footnoteId')}),this['_footnoteDefsTracker']=new R(this['editor']['model'],{'elementName':'footnoteDefinition','getElementKey':_0x1f6491=>_0x1f6491['getAttribute']('footnoteId')});}['init'](){const {editor:_0x4e286f}=this,{model:_0xfb517d,data:_0x237515}=_0x4e286f;_0xfb517d['document']['registerPostFixer'](_0x28ae65=>{const _0x40afef=_0xfb517d['document']['differ']['getChanges']();let _0x169396=!0x1;return this['_handleFootnotesDefinitionsObjectChanges'](_0x28ae65,_0x40afef)&&(_0x169396=!0x0),this['_handleFootnoteDefinitionsChanges'](_0x28ae65,_0x40afef)&&(_0x169396=!0x0),this['_handleFootnoteReferencesChanges'](_0x28ae65,_0x40afef)&&(_0x169396=!0x0),this['_ensureFootnotesReferencesHaveProperOrder'](_0x28ae65)&&(_0x169396=!0x0),this['_handleFootnotesDefinitionsObjectSync'](_0x28ae65)&&(_0x169396=!0x0),this['_sortFootnoteDefinitions'](_0x28ae65)&&(_0x169396=!0x0),_0x169396;}),this['listenTo'](_0xfb517d['document'],'change:data',()=>{_0xfb517d['enqueueChange']({'isUndoable':!0x1},_0x37ca08=>{this['_ensureFootnotesDefinitionsContainerExists'](_0x37ca08);});},{'priority':'low'}),this['listenTo'](_0x237515,'set',()=>{this['_footnotes']=[],this['_footnoteDefsContainerTracker']['reset'](),this['_footnoteRefsTracker']['reset'](),this['_footnoteDefsTracker']['reset']();},{'priority':'high'});}['getFootnotesDefinitionsObjectElement'](){return this['_footnotesDefinitions'];}['getFootnote'](_0x3d0e15){return this['_footnotes']['find'](_0x45b302=>_0x45b302['id']===_0x3d0e15)||null;}['getFootnotes'](){return Array['from'](this['_footnotes']);}['getFootnotesFormatter'](){return this['_footnoteFormatter'];}['setFootnoteFormatter'](_0x25c3a9){this['_footnoteFormatter']=_0x25c3a9;}['_updateFootnotesCounters'](_0x3a559b,_0x461fe4=0x0){let _0x24c358=!0x1;for(let _0x393a58=_0x461fe4;_0x393a58<this['_footnotes']['length'];_0x393a58++)this['_updateFootnoteRefCounter'](_0x3a559b,_0x393a58)&&(_0x24c358=!0x0);return _0x24c358;}['_insertEmptyFootnotesDefinitionsContainer'](_0x3c82f9,_0x40ae10){const _0x236aac=_0x3c82f9['createElement']('footnotesDefinitions',{});return _0x3c82f9['append'](_0x236aac,_0x40ae10),this['_footnotesDefinitions']=_0x236aac,_0x236aac;}['_ensureFootnotesDefinitionsContainerExists'](_0x164da7){if(!this['_footnotes']['length']||this['_footnotesDefinitions'])return;const _0x2c242f=this['_footnotes'][0x0]['reference']['root'],_0x5d4fde=this['_insertEmptyFootnotesDefinitionsContainer'](_0x164da7,_0x2c242f);for(const _0x5308e7 of this['_footnotes'])_0x5308e7['definition']['parent']||_0x164da7['insert'](_0x5308e7['definition'],_0x5d4fde,'end');this['_updateFootnotesCounters'](_0x164da7);}['_handleFootnotesDefinitionsObjectChanges'](_0x38ffdb,_0x2eefe9){let _0x2e3f08=!0x1;const {inserted:_0x2446db,removed:_0x150065,moved:_0x19652c}=this['_footnoteDefsContainerTracker']['getChanges'](_0x2eefe9);if(_0x19652c['length']&&(this['_footnotesDefinitions']=_0x19652c[0x0]),_0x2446db['length']){if(_0x2446db['length']>0x1||this['_footnotesDefinitions']&&_0x2446db['some'](_0x9e0e1a=>_0x9e0e1a!==this['_footnotesDefinitions'])){const _0x3c0450=_0x38ffdb['createElement']('footnotesDefinitions',{}),_0x1b54a0=[];this['_footnotesDefinitions']&&_0x1b54a0['push'](this['_footnotesDefinitions']),_0x1b54a0['push'](..._0x2446db),_0x38ffdb['insert'](_0x3c0450,_0x1b54a0[0x0],'before');for(const _0x37e299 of _0x1b54a0)_0x38ffdb['move'](_0x38ffdb['createRangeIn'](_0x37e299),_0x38ffdb['createPositionAt'](_0x3c0450,'end')),_0x38ffdb['remove'](_0x37e299);this['_footnotesDefinitions']=_0x3c0450,this['_updateFootnotesCounters'](_0x38ffdb),_0x2e3f08=!0x0;}else this['_footnotesDefinitions']=_0x2446db[0x0];}if(_0x150065['length']&&'$graveyard'===this['_footnotesDefinitions']?.['root']['rootName']){for(const _0xf6de47 of this['_footnotes'])_0x38ffdb['remove'](_0xf6de47['reference']),_0x2e3f08=!0x0;this['_footnotes']=[],this['_footnotesDefinitions']=null;}return _0x2e3f08;}['_handleFootnoteDefinitionsChanges'](_0x5f251f,_0x3e5d0a){let _0x58c4d6=!0x1;const _0x4be694=this['editor']['config']['get']('footnotes.multiBlock'),{inserted:_0x4317f3,moved:_0x36781d}=this['_footnoteDefsTracker']['getChanges'](_0x3e5d0a);for(const _0x1f45a2 of[..._0x36781d,..._0x4317f3]){const _0x4c9f69=_0x1f45a2['getAttribute']('footnoteId'),_0x370132=this['getFootnote'](_0x4c9f69);_0x370132&&(_0x370132['definition']=_0x1f45a2),j(_0x5f251f,_0x4be694,_0x1f45a2)&&(_0x58c4d6=!0x0);}return _0x58c4d6;}['_handleFootnoteReferencesChanges'](_0x14cc09,_0x136339){let _0x27cb43=!0x1;const {removed:_0x1f3f66,inserted:_0x13019a,moved:_0x1d28e8}=this['_footnoteRefsTracker']['getChanges'](_0x136339);for(const _0x365bc1 of _0x1f3f66)this['_handleRemoveFootnoteReferenceById'](_0x14cc09,_0x365bc1)&&(_0x27cb43=!0x0);for(const _0x3a40e6 of _0x13019a)this['_handleInsertedFootnoteReference'](_0x14cc09,_0x3a40e6)&&(_0x27cb43=!0x0);for(const _0x5ecb00 of _0x1d28e8)this['_handleMovedFootnoteReference'](_0x14cc09,_0x5ecb00)&&(_0x27cb43=!0x0);return _0x27cb43;}['_handleFootnotesDefinitionsObjectSync'](_0x322f63){if(!this['_footnotesDefinitions'])return!0x1;let _0x501b36=!0x1;if(this['_footnotesDefinitions']['childCount']!==this['_footnotes']['length']){const _0x3c6c13=[];for(const _0x1d7fc9 of this['_footnotesDefinitions']['getChildren']()){const _0x2e32c6=_0x1d7fc9['getAttribute']('footnoteId');this['getFootnote'](_0x2e32c6)||(_0x3c6c13['unshift'](_0x1d7fc9),_0x501b36=!0x0);}for(const _0x338e41 of _0x3c6c13)_0x322f63['remove'](_0x338e41);}const _0x2f8f21=new Set(),_0x401eac=[];for(const _0x40b7be of this['_footnotesDefinitions']['getChildren']()){const _0x313c9f=_0x40b7be['getAttribute']('footnoteId');_0x2f8f21['has'](_0x313c9f)?(_0x401eac['unshift'](_0x40b7be),_0x501b36=!0x0):_0x2f8f21['add'](_0x313c9f);}for(const _0x316f95 of _0x401eac)_0x322f63['remove'](_0x316f95);return this['_footnotesDefinitions']['childCount']||(_0x322f63['remove'](this['_footnotesDefinitions']),this['_footnotesDefinitions']=null,_0x501b36=!0x0),_0x501b36;}['_handleInsertedFootnoteReference'](_0x471df6,_0x1515d5){if(this['_footnotes']['find'](_0x1af5f5=>_0x1af5f5['reference']===_0x1515d5))return!0x1;let _0x4e8e66=!0x1;const _0x1f080e=_0x1515d5['getAttribute']('footnoteId'),_0x5b9ada=this['_footnotes']['findIndex'](_0x5e33c6=>_0x5e33c6['id']===_0x1f080e);-0x1!==_0x5b9ada&&(_0x471df6['remove'](this['_footnotes'][_0x5b9ada]['reference']),this['_footnotes']['splice'](_0x5b9ada,0x1),_0x4e8e66=!0x0);let _0x41000f=this['_footnotesDefinitions']?function(_0x5422df,_0x3f38c4){for(const _0x521d90 of _0x5422df['getChildren']())if(_0x521d90['getAttribute']('footnoteId')===_0x3f38c4)return _0x521d90;return null;}(this['_footnotesDefinitions'],_0x1f080e):null;_0x41000f||(_0x41000f=_0x471df6['createElement']('footnoteDefinition',{'footnoteId':_0x1f080e}),this['_footnotesDefinitions']&&(_0x471df6['insert'](_0x41000f,this['_footnotesDefinitions'],'end'),_0x4e8e66=!0x0));const _0x59d14f={'id':_0x1f080e,'reference':_0x1515d5,'definition':_0x41000f},_0xbe33f6=T(this['editor']['model'],this['_footnotes'],_0x1515d5);this['_footnotes']['splice'](_0xbe33f6,0x0,_0x59d14f);let _0x5ec4c7=_0xbe33f6;return-0x1!==_0x5b9ada&&(_0x5ec4c7=Math['min'](_0xbe33f6,_0x5b9ada)),this['_updateFootnotesCounters'](_0x471df6,_0x5ec4c7)&&(_0x4e8e66=!0x0),_0x4e8e66;}['_handleRemoveFootnoteReferenceById'](_0x18306f,_0x1cfc60){const _0x25d8c3=this['_footnotes']['findIndex'](_0x5eb07c=>_0x5eb07c['id']===_0x1cfc60);if(-0x1===_0x25d8c3)return!0x1;let _0x57cce3=!0x1;const _0x58aa93=this['_footnotes'][_0x25d8c3];return'$graveyard'!==_0x58aa93['definition']['root']['rootName']&&(_0x18306f['remove'](_0x58aa93['definition']),_0x57cce3=!0x0),this['_footnotes']['splice'](_0x25d8c3,0x1),this['_updateFootnotesCounters'](_0x18306f,_0x25d8c3)&&(_0x57cce3=!0x0),_0x57cce3;}['_handleMovedFootnoteReference'](_0x347bd3,_0x59028e){const _0x116cbf=_0x59028e['getAttribute']('footnoteId'),_0x2aad6a=this['_footnotes']['findIndex'](_0x17131a=>_0x17131a['id']===_0x116cbf),_0x2a9f4=this['_footnotes'][_0x2aad6a];let _0x481436=!0x1;_0x2a9f4['reference']=_0x59028e,this['_footnotes']['splice'](_0x2aad6a,0x1);const _0x4c38af=T(this['editor']['model'],this['_footnotes'],_0x59028e);return this['_footnotes']['splice'](_0x4c38af,0x0,_0x2a9f4),this['_updateFootnotesCounters'](_0x347bd3,Math['min'](_0x2aad6a,_0x4c38af))&&(_0x481436=!0x0),_0x481436;}['_updateFootnoteRefCounter'](_0x50b1b1,_0x168e05){if(!this['_footnotesDefinitions'])return!0x1;const _0x23b4e3=this['_footnotes'][_0x168e05];let _0x5de673;return _0x5de673=this['_footnoteFormatter']?this['_footnoteFormatter']({'footnote':_0x23b4e3,'container':this['_footnotesDefinitions'],'digits':String(this['_footnotes']['length'])['length'],'value':_0x168e05+0x1}):String(_0x168e05+0x1),_0x23b4e3['reference']['getAttribute']('footnoteCounter')!=_0x5de673&&(_0x50b1b1['setAttribute']('footnoteCounter',_0x5de673,_0x23b4e3['reference']),!0x0);}['_sortFootnoteDefinitions'](_0x3be8c9){if(!this['_footnotesDefinitions']||this['_footnotes']['length']<0x2)return!0x1;if(function(_0x2df362,_0x529d3c){if(_0x2df362['length']!==_0x529d3c['length'])return!0x1;for(let _0xf770f5=0x0;_0xf770f5<_0x2df362['length'];_0xf770f5++)if(_0x2df362[_0xf770f5]!==_0x529d3c[_0xf770f5])return!0x1;return!0x0;}(this['_footnotes']['map'](_0x3cc169=>_0x3cc169['id']),Array['from'](this['_footnotesDefinitions']['getChildren']())['map'](_0x2a5a43=>_0x2a5a43['getAttribute']('footnoteId'))))return!0x1;let _0x5f544d=!0x1;for(let _0x46c915=0x0;_0x46c915<this['_footnotes']['length'];_0x46c915++){const _0x36423d=this['_footnotes'][_0x46c915],_0x30e768=_0x3be8c9['createPositionBefore'](_0x36423d['definition']),_0x34cf65=_0x3be8c9['createPositionAt'](this['_footnotesDefinitions'],_0x46c915);_0x30e768['isEqual'](_0x34cf65)||(_0x3be8c9['move'](_0x3be8c9['createRangeOn'](_0x36423d['definition']),_0x34cf65),_0x5f544d=!0x0);}return _0x5f544d;}['_ensureFootnotesReferencesHaveProperOrder'](_0x30fe7e){if(!this['_footnotes']['length'])return!0x1;const {model:_0x7d49bb}=this['editor'];let _0x3cc4e5=!0x1;for(let _0x1a1591=0x0;_0x1a1591<this['_footnotes']['length']-0x1;_0x1a1591++){const _0xe96ae0=this['_footnotes'][_0x1a1591],_0x2af81=this['_footnotes'][_0x1a1591+0x1],_0x59d469=_0x7d49bb['createPositionBefore'](_0xe96ae0['reference']),_0x3d2a29=_0x7d49bb['createPositionBefore'](_0x2af81['reference']);'after'===_0x59d469['compareWith'](_0x3d2a29)&&(this['_handleMovedFootnoteReference'](_0x30fe7e,_0xe96ae0['reference']),_0x1a1591=-0x1,_0x3cc4e5=!0x0);}return _0x3cc4e5;}}function j(_0x57a81c,_0x3f681e,_0x49cdc4){if(_0x49cdc4['childCount'])return!0x1;const _0x5dddc6=_0x3f681e?'paragraph':'footnoteInlineContent';return _0x57a81c['insert'](_0x57a81c['createElement'](_0x5dddc6),_0x49cdc4),!0x0;}function T(_0xf335cc,_0xd26769,_0x880bed){if(0x0===_0xd26769['length'])return 0x0;const _0x420e38=_0xf335cc['createPositionBefore'](_0x880bed);for(let _0x2751e8=0x0;_0x2751e8<_0xd26769['length'];_0x2751e8++){const _0x3e0eb3=_0xd26769[_0x2751e8],_0x10c24b=_0xf335cc['createPositionBefore'](_0x3e0eb3['reference']);if('before'===_0x420e38['compareWith'](_0x10c24b))return _0x2751e8;}const _0x4b8289=_0x880bed['root'];let _0x5c4f89=-0x1;for(let _0x4896a0=_0xd26769['length']-0x1;_0x4896a0>=0x0;_0x4896a0--)if(_0xd26769[_0x4896a0]['reference']['root']===_0x4b8289){_0x5c4f89=_0x4896a0;break;}if(-0x1!==_0x5c4f89)return _0x5c4f89+0x1;const _0x3434bc=_0xf335cc['document']['getRootNames'](),_0x1fb434=_0x3434bc['indexOf'](_0x4b8289['rootName']),_0x5d967e=_0x3434bc[_0x1fb434+0x1];if(_0x5d967e){for(let _0x219fe2=0x0;_0x219fe2<_0xd26769['length'];_0x219fe2++)if(_0xd26769[_0x219fe2]['reference']['root']['rootName']===_0x5d967e)return _0x219fe2;}return _0xd26769['length'];}class V extends _0x2d2c01{['refresh'](){const _0x57c6e9=this['editor']['model']['document']['selection'],_0xceff51=this['_getPositionToInsertFootnote'](_0x57c6e9);this['isEnabled']=!!_0xceff51;}['execute'](_0x26bee3){const {editor:_0x585c35}=this,{model:_0x1ded96}=_0x585c35,{selection:_0x17ba0a}=_0x1ded96['document'],_0x4ffedb=this['_getPositionToInsertFootnote'](_0x17ba0a);if(!_0x4ffedb)return;const _0x1ab570=_0x585c35['plugins']['get']('FootnotesEditing'),_0x40a543=_0x26bee3?.['footnoteId']??_0xdf3c61();!function(_0x3f0197){return'string'==typeof _0x3f0197&&_0x3f0197['length']>0x0&&!/\s/['test'](_0x3f0197)&&!/^\d/['test'](_0x3f0197);}(_0x40a543)?_0x2f68eb('insert-footnote-command-executed-with-invalid-id'):(_0x1ded96['change'](_0x44a4f2=>{const _0x5c0eea=_0x44a4f2['createElement']('footnoteRef',{'footnoteId':_0x40a543});_0x1ded96['insertObject'](_0x5c0eea,_0x4ffedb,null);}),_0x1ab570['_moveSelectionToFootnoteDefinition'](_0x40a543));}['_getPositionToInsertFootnote'](_0x3a8ac1){const {model:_0x27e346}=this['editor'],{schema:_0x26278a}=_0x27e346,_0x4c562f=_0x3a8ac1['getFirstRange']();for(const _0x63020e of _0x4c562f['getItems']())if(_0x26278a['isBlock'](_0x63020e)||_0x26278a['isObject'](_0x63020e))return null;const _0x1e0975=_0x4c562f['end'];return _0x26278a['checkChild'](_0x1e0975,'footnoteRef')?_0x1e0975:null;}}class $ extends _0x3851fd{static get['pluginName'](){return'FootnotesEditing';}static get['requires'](){return[K];}static get['isOfficialPlugin'](){return!0x0;}static get['isPremiumPlugin'](){return!0x0;}['init'](){const {editor:_0x3c88a0}=this;_0x3c88a0['config']['define']('footnotes.multiBlock',!0x0),_0x3c88a0['commands']['add']('insertFootnote',new V(_0x3c88a0)),this['_defineSchema'](),this['_defineRefsConverters'](),this['_defineDefinitionsConverters'](),this['_defineDefinitionConverters'](),this['_defineBogusParagraphConverters'](),this['_defineKeyboardHandlers'](),this['_defineClickHandlers']();}['afterInit'](){!async function(_0x12a3e1){const _0x525ae2=_0x8c2763([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]),_0xe67e6f=0x47a28506,_0xc2f596=0x47a50046^_0xe67e6f,_0x5132cf=window[_0x8c2763([0x44,0x61,0x74,0x65])][_0x8c2763([0x6e,0x6f,0x77])](),_0x134576=_0x12a3e1[_0x8c2763([0x65,0x64,0x69,0x74,0x6f,0x72])],_0x13d967=new window[(_0x8c2763([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0x555eb5=>{_0x134576[_0x8c2763([0x6f,0x6e,0x63,0x65])](_0x8c2763([0x72,0x65,0x61,0x64,0x79]),_0x555eb5);}),_0x311a91={[_0x8c2763([0x6b,0x74,0x79])]:_0x8c2763([0x45,0x43]),[_0x8c2763([0x75,0x73,0x65])]:_0x8c2763([0x73,0x69,0x67]),[_0x8c2763([0x63,0x72,0x76])]:_0x8c2763([0x50,0x2d,0x32,0x35,0x36]),[_0x8c2763([0x78])]:_0x8c2763([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]),[_0x8c2763([0x79])]:_0x8c2763([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]),[_0x8c2763([0x61,0x6c,0x67])]:_0x8c2763([0x45,0x53,0x32,0x35,0x36])},_0x562916=_0x134576[_0x8c2763([0x63,0x6f,0x6e,0x66,0x69,0x67])][_0x8c2763([0x67,0x65,0x74])](_0x8c2763([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x4b,0x65,0x79]));async function _0x3046d8(){let _0xcf91e9,_0x47630e=null,_0x315462=null;try{if(_0x562916==_0x8c2763([0x47,0x50,0x4c]))return _0x8c2763([0x4e,0x6f,0x74,0x41,0x6c,0x6c,0x6f,0x77,0x65,0x64]);if(_0xcf91e9=_0x377d33(),!_0xcf91e9)return _0x8c2763([0x49,0x6e,0x76,0x61,0x6c,0x69,0x64]);return _0xcf91e9[_0x8c2763([0x75,0x73,0x61,0x67,0x65,0x45,0x6e,0x64,0x70,0x6f,0x69,0x6e,0x74])]&&(_0x315462=_0x2dc27b(_0xcf91e9[_0x8c2763([0x75,0x73,0x61,0x67,0x65,0x45,0x6e,0x64,0x70,0x6f,0x69,0x6e,0x74])],_0xcf91e9[_0x8c2763([0x6a,0x74,0x69])])),await _0x490c46()?_0x2dfd03()?_0x4fb882()?_0x8c2763([0x45,0x78,0x70,0x69,0x72,0x65,0x64]):_0xde3b36()?(_0xcf91e9[_0x8c2763([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x54,0x79,0x70,0x65])]==_0x8c2763([0x65,0x76,0x61,0x6c,0x75,0x61,0x74,0x69,0x6f,0x6e])&&(_0x47630e=_0x2f136c(_0x8c2763([0x45,0x76,0x61,0x6c,0x75,0x61,0x74,0x69,0x6f,0x6e,0x4c,0x69,0x6d,0x69,0x74]))),await _0x4bfc79()):_0x8c2763([0x44,0x6f,0x6d,0x61,0x69,0x6e,0x4c,0x69,0x6d,0x69,0x74]):_0x8c2763([0x4e,0x6f,0x74,0x41,0x6c,0x6c,0x6f,0x77,0x65,0x64]):_0x8c2763([0x49,0x6e,0x76,0x61,0x6c,0x69,0x64]);}catch{return _0x8c2763([0x49,0x6e,0x76,0x61,0x6c,0x69,0x64]);}function _0x4fb882(){const _0x103d6f=[_0x8c2763([0x65,0x76,0x61,0x6c,0x75,0x61,0x74,0x69,0x6f,0x6e]),_0x8c2763([0x74,0x72,0x69,0x61,0x6c])][_0x8c2763([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0xcf91e9[_0x8c2763([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x54,0x79,0x70,0x65])])?_0x5132cf/0x3e8:0xe10*_0xc2f596;return _0xcf91e9[_0x8c2763([0x65,0x78,0x70])]<_0x103d6f;}function _0x2dfd03(){const _0x403146=_0xcf91e9[_0x8c2763([0x66,0x65,0x61,0x74,0x75,0x72,0x65,0x73])];return!!_0x403146&&(!!_0x403146[_0x8c2763([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x8c2763([0x2a]))||!!_0x403146[_0x8c2763([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x8c2763([0x46,0x4f,0x4f])));}function _0xde3b36(){const _0x147bd7=_0xcf91e9[_0x8c2763([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x64,0x48,0x6f,0x73,0x74,0x73])];if(!_0x147bd7||0x0==_0x147bd7[_0x8c2763([0x6c,0x65,0x6e,0x67,0x74,0x68])])return!0x0;const {hostname:_0x456884}=new URL(window[_0x8c2763([0x6c,0x6f,0x63,0x61,0x74,0x69,0x6f,0x6e])]['href']);if(_0x147bd7[_0x8c2763([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x456884))return!0x0;const _0x1c2c28=_0x456884[_0x8c2763([0x73,0x70,0x6c,0x69,0x74])](_0x8c2763([0x2e]));return _0x147bd7[_0x8c2763([0x66,0x69,0x6c,0x74,0x65,0x72])](_0x2b2868=>_0x2b2868[_0x8c2763([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x8c2763([0x2a])))[_0x8c2763([0x6d,0x61,0x70])](_0x537544=>_0x537544[_0x8c2763([0x73,0x70,0x6c,0x69,0x74])](_0x8c2763([0x2e])))[_0x8c2763([0x66,0x69,0x6c,0x74,0x65,0x72])](_0x507949=>_0x507949[_0x8c2763([0x6c,0x65,0x6e,0x67,0x74,0x68])]<=_0x1c2c28[_0x8c2763([0x6c,0x65,0x6e,0x67,0x74,0x68])])[_0x8c2763([0x6d,0x61,0x70])](_0x395c5f=>Array(_0x1c2c28[_0x8c2763([0x6c,0x65,0x6e,0x67,0x74,0x68])]-_0x395c5f[_0x8c2763([0x6c,0x65,0x6e,0x67,0x74,0x68])])[_0x8c2763([0x66,0x69,0x6c,0x6c])](_0x395c5f[0x0]===_0x8c2763([0x2a])?_0x8c2763([0x2a]):'')[_0x8c2763([0x63,0x6f,0x6e,0x63,0x61,0x74])](_0x395c5f))[_0x8c2763([0x73,0x6f,0x6d,0x65])](_0x8921d3=>_0x1c2c28[_0x8c2763([0x65,0x76,0x65,0x72,0x79])]((_0x3d67a5,_0x58ec50)=>_0x8921d3[_0x58ec50]===_0x3d67a5||_0x8921d3[_0x58ec50]===_0x8c2763([0x2a])));}function _0x4bfc79(){return _0x47630e&&_0x315462?new window[(_0x8c2763([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))]((_0x43edec,_0x2ac8a7)=>{_0x47630e[_0x8c2763([0x74,0x68,0x65,0x6e])](_0x43edec,_0x2ac8a7),_0x315462[_0x8c2763([0x74,0x68,0x65,0x6e])](_0x20259f=>{_0x20259f!=_0x8c2763([0x56,0x61,0x6c,0x69,0x64])&&_0x43edec(_0x20259f);},_0x2ac8a7);}):_0x47630e||_0x315462||_0x8c2763([0x56,0x61,0x6c,0x69,0x64]);}}function _0x2dc27b(_0x177354,_0x2f5267){return new window[(_0x8c2763([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0x480e99=>{if(_0x363910())return _0x480e99(_0x8c2763([0x56,0x61,0x6c,0x69,0x64]));_0x3debfe(),_0x134576[_0x8c2763([0x64,0x65,0x63,0x6f,0x72,0x61,0x74,0x65])](_0x8c2763([0x5f,0x73,0x65,0x6e,0x64,0x55,0x73,0x61,0x67,0x65,0x52,0x65,0x71,0x75,0x65,0x73,0x74]));let _0x2db308=!0x1;const _0x56eee2=_0xdf3c61();function _0x3fa968(_0x2030e2){return!!_0x2030e2&&(typeof _0x2030e2===_0x8c2763([0x6f,0x62,0x6a,0x65,0x63,0x74])||typeof _0x2030e2===_0x8c2763([0x66,0x75,0x6e,0x63,0x74,0x69,0x6f,0x6e]))&&typeof _0x2030e2[_0x8c2763([0x74,0x68,0x65,0x6e])]===_0x8c2763([0x66,0x75,0x6e,0x63,0x74,0x69,0x6f,0x6e])&&typeof _0x2030e2[_0x8c2763([0x63,0x61,0x74,0x63,0x68])]===_0x8c2763([0x66,0x75,0x6e,0x63,0x74,0x69,0x6f,0x6e]);}function _0x3e22cd(_0xa8426f){_0x4861f0(_0xa8426f)[_0x8c2763([0x74,0x68,0x65,0x6e])](_0x137a81=>{if(!_0x137a81||_0x137a81[_0x8c2763([0x73,0x74,0x61,0x74,0x75,0x73])]!=_0x8c2763([0x6f,0x6b]))return _0x8c2763([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]);return _0x35d631(_0x11b0ef(_0x56eee2+_0x2f5267))!=_0x137a81[_0x8c2763([0x76,0x65,0x72,0x69,0x66,0x69,0x63,0x61,0x74,0x69,0x6f,0x6e])]?_0x8c2763([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]):_0x8c2763([0x56,0x61,0x6c,0x69,0x64]);})[_0x8c2763([0x74,0x68,0x65,0x6e])](_0x4d0a8c=>(_0x2b9ad3(),_0x4d0a8c),()=>{const _0x35ab10=_0x585db4();return null==_0x35ab10?(_0x2b9ad3(),_0x8c2763([0x56,0x61,0x6c,0x69,0x64])):_0x8c2763(_0x5132cf-_0x35ab10>(0x63ae0106^_0xe67e6f)?[0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]:[0x56,0x61,0x6c,0x69,0x64]);})[_0x8c2763([0x74,0x68,0x65,0x6e])](_0x480e99)[_0x8c2763([0x63,0x61,0x74,0x63,0x68])](()=>{_0x480e99(_0x8c2763([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]));});const _0x28e34a=0x47946b86^_0xe67e6f;function _0x2b9ad3(){const _0x55366b=_0x8c2763([0x6c,0x6c,0x63,0x74,0x2d])+_0x35d631(_0x11b0ef(_0x177354)),_0x4b3369=_0x5cd411(_0x35d631(window[_0x8c2763([0x4d,0x61,0x74,0x68])][_0x8c2763([0x63,0x65,0x69,0x6c])](_0x5132cf/_0x28e34a)));window[_0x8c2763([0x6c,0x6f,0x63,0x61,0x6c,0x53,0x74,0x6f,0x72,0x61,0x67,0x65])][_0x8c2763([0x73,0x65,0x74,0x49,0x74,0x65,0x6d])](_0x55366b,_0x4b3369);}function _0x585db4(){const _0x57ea29=_0x8c2763([0x6c,0x6c,0x63,0x74,0x2d])+_0x35d631(_0x11b0ef(_0x177354)),_0x5c8052=window[_0x8c2763([0x6c,0x6f,0x63,0x61,0x6c,0x53,0x74,0x6f,0x72,0x61,0x67,0x65])][_0x8c2763([0x67,0x65,0x74,0x49,0x74,0x65,0x6d])](_0x57ea29);return _0x5c8052?window[_0x8c2763([0x70,0x61,0x72,0x73,0x65,0x49,0x6e,0x74])](_0x5cd411(_0x5c8052),0x10)*_0x28e34a:null;}function _0x4861f0(_0x3c6f72){return new window[(_0x8c2763([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))]((_0x46fb04,_0x1a4b2f)=>{_0x3c6f72[_0x8c2763([0x74,0x68,0x65,0x6e])](_0x46fb04,_0x1a4b2f),window[_0x8c2763([0x73,0x65,0x74,0x54,0x69,0x6d,0x65,0x6f,0x75,0x74])](_0x1a4b2f,0x47a351c6^_0xe67e6f);});}}_0x134576[_0x8c2763([0x6f,0x6e])](_0x8c2763([0x5f,0x73,0x65,0x6e,0x64,0x55,0x73,0x61,0x67,0x65,0x52,0x65,0x71,0x75,0x65,0x73,0x74]),(_0x169c8d,_0x29d81d)=>{if(_0x29d81d[0x0]!=_0x177354)return _0x480e99(_0x8c2763([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]));_0x29d81d[0x1]={..._0x29d81d[0x1],[_0x8c2763([0x72,0x65,0x71,0x75,0x65,0x73,0x74,0x49,0x64])]:_0x56eee2};},{[_0x8c2763([0x70,0x72,0x69,0x6f,0x72,0x69,0x74,0x79])]:_0x8c2763([0x68,0x69,0x67,0x68])}),_0x134576[_0x8c2763([0x6f,0x6e])](_0x8c2763([0x5f,0x73,0x65,0x6e,0x64,0x55,0x73,0x61,0x67,0x65,0x52,0x65,0x71,0x75,0x65,0x73,0x74]),_0xb9fe6=>{_0x3fa968(_0xb9fe6[_0x8c2763([0x72,0x65,0x74,0x75,0x72,0x6e])])&&(_0x2db308=!0x0,_0x3e22cd(_0xb9fe6[_0x8c2763([0x72,0x65,0x74,0x75,0x72,0x6e])]));},{[_0x8c2763([0x70,0x72,0x69,0x6f,0x72,0x69,0x74,0x79])]:_0x8c2763([0x6c,0x6f,0x77])}),_0x13d967[_0x8c2763([0x74,0x68,0x65,0x6e])](()=>{_0x2db308||_0x480e99(_0x8c2763([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]));});});function _0x363910(){return _0x134576[_0x8c2763([0x65,0x64,0x69,0x74,0x69,0x6e,0x67])][_0x8c2763([0x76,0x69,0x65,0x77])][_0x8c2763([0x5f,0x6f,0x76,0x65,0x72,0x6c,0x61,0x79,0x4d,0x6f,0x64,0x65,0x48,0x69,0x6e,0x74])]==_0x8c2763([0x61,0x75,0x74,0x6f]);}function _0x3debfe(){_0x134576[_0x8c2763([0x65,0x64,0x69,0x74,0x69,0x6e,0x67])][_0x8c2763([0x76,0x69,0x65,0x77])][_0x8c2763([0x5f,0x6f,0x76,0x65,0x72,0x6c,0x61,0x79,0x4d,0x6f,0x64,0x65,0x48,0x69,0x6e,0x74])]=_0x8c2763([0x61,0x75,0x74,0x6f]);}}function _0x2f136c(_0x1609d1){const _0x10470b=[new window[(_0x8c2763([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0x2742db=>setTimeout(_0x2742db,0x47abbbca^_0xe67e6f)),_0x13d967[_0x8c2763([0x74,0x68,0x65,0x6e])](()=>new window[(_0x8c2763([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0x4c64e5=>{let _0x1ca66e=0x0;_0x134576[_0x8c2763([0x6d,0x6f,0x64,0x65,0x6c])][_0x8c2763([0x6f,0x6e])](_0x8c2763([0x61,0x70,0x70,0x6c,0x79,0x4f,0x70,0x65,0x72,0x61,0x74,0x69,0x6f,0x6e]),(_0x5425db,_0xbf4c01)=>{_0xbf4c01[0x0][_0x8c2763([0x69,0x73,0x44,0x6f,0x63,0x75,0x6d,0x65,0x6e,0x74,0x4f,0x70,0x65,0x72,0x61,0x74,0x69,0x6f,0x6e])]&&_0x1ca66e++,_0x1ca66e==(0x47a280ee^_0xe67e6f)&&(_0x4c64e5(),_0x5425db[_0x8c2763([0x6f,0x66,0x66])]());});}))];return window[_0x8c2763([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65])][_0x8c2763([0x72,0x61,0x63,0x65])](_0x10470b)[_0x8c2763([0x74,0x68,0x65,0x6e])](()=>_0x1609d1);}async function _0x29fae7(){await _0x13d967,_0x134576[_0x8c2763([0x6d,0x6f,0x64,0x65,0x6c])][_0x8c2763([0x63,0x68,0x61,0x6e,0x67,0x65])]=_0x5e7626,_0x134576[_0x8c2763([0x6d,0x6f,0x64,0x65,0x6c])][_0x8c2763([0x65,0x6e,0x71,0x75,0x65,0x75,0x65,0x43,0x68,0x61,0x6e,0x67,0x65])]=_0x5e7626,_0x134576[_0x8c2763([0x65,0x6e,0x61,0x62,0x6c,0x65,0x52,0x65,0x61,0x64,0x4f,0x6e,0x6c,0x79,0x4d,0x6f,0x64,0x65])](_0x8c2763([0x6d,0x6f,0x64,0x65,0x6c]));}function _0x145167(_0x3b572c){const _0x2a4b37=_0x3998d7();_0x134576[_0x2a4b37]=_0x8c2763([0x66,0x6f,0x6f,0x74,0x6e,0x6f,0x74,0x65,0x73,0x4c,0x69,0x63,0x65,0x6e,0x73,0x65,0x4b,0x65,0x79])+_0x3b572c,_0x3b572c!=_0x8c2763([0x56,0x61,0x6c,0x69,0x64])&&_0x29fae7();}function _0x3998d7(){const _0x45d704=window[_0x8c2763([0x53,0x74,0x72,0x69,0x6e,0x67])](window[_0x8c2763([0x70,0x65,0x72,0x66,0x6f,0x72,0x6d,0x61,0x6e,0x63,0x65])][_0x8c2763([0x6e,0x6f,0x77])]())[_0x8c2763([0x72,0x65,0x70,0x6c,0x61,0x63,0x65])](_0x8c2763([0x2e]),'');let _0x28448a=_0x8c2763([0x75]);for(let _0x59f63b=0x0;_0x59f63b<_0x45d704[_0x8c2763([0x6c,0x65,0x6e,0x67,0x74,0x68])];_0x59f63b+=0x2){let _0x3cebd5=window[_0x8c2763([0x70,0x61,0x72,0x73,0x65,0x49,0x6e,0x74])](_0x45d704[_0x8c2763([0x73,0x75,0x62,0x73,0x74,0x72,0x69,0x6e,0x67])](_0x59f63b,_0x59f63b+0x2));_0x3cebd5>=_0x525ae2[_0x8c2763([0x6c,0x65,0x6e,0x67,0x74,0x68])]&&(_0x3cebd5-=_0x525ae2[_0x8c2763([0x6c,0x65,0x6e,0x67,0x74,0x68])]),_0x28448a+=_0x525ae2[_0x3cebd5];}return _0x28448a;}function _0x377d33(){const _0x269f87=_0x562916[_0x8c2763([0x73,0x70,0x6c,0x69,0x74])](_0x8c2763([0x2e]));if(0x3!=_0x269f87[_0x8c2763([0x6c,0x65,0x6e,0x67,0x74,0x68])])return null;return _0x4909e8(_0x269f87[0x1]);function _0x4909e8(_0xb4c8){const _0xcfbecf=_0x6233f9(_0xb4c8);return _0xcfbecf&&_0x1429cd()?_0xcfbecf:null;function _0x1429cd(){const _0x106fd6=_0xcfbecf[_0x8c2763([0x6a,0x74,0x69])],_0x5ddd06=window[_0x8c2763([0x70,0x61,0x72,0x73,0x65,0x49,0x6e,0x74])](_0x106fd6[_0x8c2763([0x73,0x75,0x62,0x73,0x74,0x72,0x69,0x6e,0x67])](_0x106fd6[_0x8c2763([0x6c,0x65,0x6e,0x67,0x74,0x68])]-0x8),0x10),_0x1da44e={..._0xcfbecf,[_0x8c2763([0x6a,0x74,0x69])]:_0x106fd6[_0x8c2763([0x73,0x75,0x62,0x73,0x74,0x72,0x69,0x6e,0x67])](0x0,_0x106fd6[_0x8c2763([0x6c,0x65,0x6e,0x67,0x74,0x68])]-0x8)};return delete _0x1da44e[_0x8c2763([0x76,0x63])],_0x11b0ef(_0x1da44e)==_0x5ddd06;}}}async function _0x490c46(){let _0x128792=!0x0;try{const _0x262389=_0x562916[_0x8c2763([0x73,0x70,0x6c,0x69,0x74])](_0x8c2763([0x2e])),[_0x2de74f,_0x1425f2,_0x4a9a80]=_0x262389;return _0x4546ab(_0x2de74f),await _0x10dcf5(_0x2de74f,_0x1425f2,_0x4a9a80),_0x128792;}catch{return!0x1;}function _0x4546ab(_0x423850){const _0x3d206d=_0x6233f9(_0x423850);_0x3d206d&&_0x3d206d[_0x8c2763([0x61,0x6c,0x67])]==_0x8c2763([0x45,0x53,0x32,0x35,0x36])||(_0x128792=!0x1);}async function _0x10dcf5(_0x24c746,_0x156f43,_0x50d192){const _0x36b290=window[_0x8c2763([0x55,0x69,0x6e,0x74,0x38,0x41,0x72,0x72,0x61,0x79])][_0x8c2763([0x66,0x72,0x6f,0x6d])](_0x3cdd2e(_0x50d192),_0x4ae44a=>_0x4ae44a[_0x8c2763([0x63,0x68,0x61,0x72,0x43,0x6f,0x64,0x65,0x41,0x74])](0x0)),_0x171147=new window[(_0x8c2763([0x54,0x65,0x78,0x74,0x45,0x6e,0x63,0x6f,0x64,0x65,0x72]))]()[_0x8c2763([0x65,0x6e,0x63,0x6f,0x64,0x65])](_0x24c746+_0x8c2763([0x2e])+_0x156f43),_0x1ab81c=window[_0x8c2763([0x63,0x72,0x79,0x70,0x74,0x6f])][_0x8c2763([0x73,0x75,0x62,0x74,0x6c,0x65])];if(!_0x1ab81c)return;const _0x590bd6=await _0x1ab81c[_0x8c2763([0x69,0x6d,0x70,0x6f,0x72,0x74,0x4b,0x65,0x79])](_0x8c2763([0x6a,0x77,0x6b]),_0x311a91,{[_0x8c2763([0x6e,0x61,0x6d,0x65])]:_0x8c2763([0x45,0x43,0x44,0x53,0x41]),[_0x8c2763([0x6e,0x61,0x6d,0x65,0x64,0x43,0x75,0x72,0x76,0x65])]:_0x8c2763([0x50,0x2d,0x32,0x35,0x36])},!0x1,[_0x8c2763([0x76,0x65,0x72,0x69,0x66,0x79])]);await _0x1ab81c[_0x8c2763([0x76,0x65,0x72,0x69,0x66,0x79])]({[_0x8c2763([0x6e,0x61,0x6d,0x65])]:_0x8c2763([0x45,0x43,0x44,0x53,0x41]),[_0x8c2763([0x68,0x61,0x73,0x68])]:{[_0x8c2763([0x6e,0x61,0x6d,0x65])]:_0x8c2763([0x53,0x48,0x41,0x2d,0x32,0x35,0x36])}},_0x590bd6,_0x36b290,_0x171147)||(_0x128792=!0x1);}}function _0x6233f9(_0x8f82d5){return _0x8f82d5[_0x8c2763([0x73,0x74,0x61,0x72,0x74,0x73,0x57,0x69,0x74,0x68])](_0x8c2763([0x65,0x79]))?JSON[_0x8c2763([0x70,0x61,0x72,0x73,0x65])](_0x3cdd2e(_0x8f82d5)):null;}function _0x3cdd2e(_0x4f9aca){return window[_0x8c2763([0x61,0x74,0x6f,0x62])](_0x4f9aca[_0x8c2763([0x72,0x65,0x70,0x6c,0x61,0x63,0x65])](/-/g,_0x8c2763([0x2b]))[_0x8c2763([0x72,0x65,0x70,0x6c,0x61,0x63,0x65])](/_/g,_0x8c2763([0x2f])));}function _0x11b0ef(_0x38a0db){let _0x17a13a=0x1505;function _0x6a66f5(_0x56601d){for(let _0x5bf235=0x0;_0x5bf235<_0x56601d[_0x8c2763([0x6c,0x65,0x6e,0x67,0x74,0x68])];_0x5bf235++){const _0x2a9e49=_0x56601d[_0x8c2763([0x63,0x68,0x61,0x72,0x43,0x6f,0x64,0x65,0x41,0x74])](_0x5bf235);_0x17a13a=(_0x17a13a<<0x5)+_0x17a13a+_0x2a9e49,_0x17a13a&=_0x17a13a;}}function _0x27d096(_0x5846c9){Array[_0x8c2763([0x69,0x73,0x41,0x72,0x72,0x61,0x79])](_0x5846c9)?_0x5846c9[_0x8c2763([0x66,0x6f,0x72,0x45,0x61,0x63,0x68])](_0x27d096):_0x5846c9&&typeof _0x5846c9==_0x8c2763([0x6f,0x62,0x6a,0x65,0x63,0x74])?Object[_0x8c2763([0x65,0x6e,0x74,0x72,0x69,0x65,0x73])](_0x5846c9)[_0x8c2763([0x73,0x6f,0x72,0x74])]()[_0x8c2763([0x66,0x6f,0x72,0x45,0x61,0x63,0x68])](([_0x372fff,_0xca2a3e])=>{_0x6a66f5(_0x372fff),_0x27d096(_0xca2a3e);}):_0x6a66f5(window[_0x8c2763([0x53,0x74,0x72,0x69,0x6e,0x67])](_0x5846c9));}return _0x27d096(_0x38a0db),_0x17a13a>>>0x0;}function _0x35d631(_0x15cc29){return _0x15cc29[_0x8c2763([0x74,0x6f,0x53,0x74,0x72,0x69,0x6e,0x67])](0x10)[_0x8c2763([0x70,0x61,0x64,0x53,0x74,0x61,0x72,0x74])](0x8,_0x8c2763([0x30]));}function _0x5cd411(_0x1c1639){return _0x1c1639[_0x8c2763([0x73,0x70,0x6c,0x69,0x74])]('')[_0x8c2763([0x72,0x65,0x76,0x65,0x72,0x73,0x65])]()[_0x8c2763([0x6a,0x6f,0x69,0x6e])]('');}function _0x5e7626(){}function _0x8c2763(_0x3dfd1d){return _0x3dfd1d['map'](_0x491879=>String['fromCharCode'](_0x491879))['join']('');}_0x145167(await _0x3046d8());}(this);}['_moveSelectionToFootnoteDefinition'](_0x3f2970){const {plugins:_0x5bfce6,editing:_0x1e3a56,model:_0xbf396c}=this['editor'],_0x3ae707=_0x5bfce6['get'](K)['getFootnote'](_0x3f2970);return!!_0x3ae707&&(_0xbf396c['change'](_0x2f684d=>{_0x2f684d['setSelection'](_0x2f684d['createPositionAt'](_0x3ae707['definition'],'end'));}),_0x1e3a56['view']['scrollToTheSelection'](),!0x0);}['_moveSelectionToFootnoteReference'](_0x15fb43){const {plugins:_0x2c0d27,editing:_0x511eb5,model:_0x20d373}=this['editor'],_0x59a420=_0x2c0d27['get'](K)['getFootnote'](_0x15fb43);return!!_0x59a420&&(_0x20d373['change'](_0x185a70=>{_0x185a70['setSelection'](_0x59a420['reference'],'on');}),_0x511eb5['view']['scrollToTheSelection'](),!0x0);}['_defineSchema'](){const {schema:_0x2cf465}=this['editor']['model'],_0x1ac14f=this['editor']['config']['get']('footnotes.multiBlock');_0x2cf465['register']('footnoteRef',{'inheritAllFrom':'$inlineObject','allowAttributes':['footnoteId','footnoteCounter']}),_0x2cf465['register']('footnotesDefinitions',{'inheritAllFrom':'$blockObject','allowChildren':['footnoteDefinition']}),_0x2cf465['register']('footnoteDefinition',{'allowAttributes':['footnoteId'],'disallowAttributes':['listItemId'],'isLimit':!0x0}),_0x1ac14f?_0x2cf465['extend']('footnoteDefinition',{'allowContentOf':'$container'}):_0x2cf465['register']('footnoteInlineContent',{'allowIn':'footnoteDefinition','allowContentOf':'$block','isLimit':!0x0}),_0x2cf465['addChildCheck'](_0x210ef5=>{for(const _0x5ac907 of _0x210ef5)if('footnoteDefinition'===_0x5ac907['name'])return!0x1;},'footnoteRef');}['_defineRefsConverters'](){const {editor:_0x352224}=this,{conversion:_0x4b74e3,editing:_0x40126b}=_0x352224,{t:t}=_0x352224['locale'];_0x4b74e3['for']('upcast')['elementToElement']({'view':{'name':'sup','classes':'footnote'},'model':(_0x5a3431,{writer:_0x5ebbd8,consumable:_0x7527bf})=>{const _0x252580=_0x5a3431['getChild'](0x0);if(!_0x252580||!_0x252580['is']('element','a'))return null;const _0x505eed=_0x252580['getAttribute']('href')||'';if(!_0x505eed['startsWith']('#'))return null;const _0x4e5ea0=_0x505eed['replace'](/^#/,'');if(!_0x4e5ea0)return null;_0x7527bf['consume'](_0x252580,{'name':!0x0,'attributes':['href']});for(const {item:_0x332cab}of _0x40126b['view']['createRangeIn'](_0x252580))_0x332cab['is']('$textProxy')?_0x7527bf['consume'](_0x332cab['textNode'],{'name':!0x0}):_0x332cab['is']('element')&&_0x7527bf['consume'](_0x332cab,{'name':!0x0});return _0x5ebbd8['createElement']('footnoteRef',{'footnoteId':_0x4e5ea0});}}),_0x4b74e3['for']('dataDowncast')['elementToElement']({'model':{'name':'footnoteRef','attributes':['footnoteId','footnoteCounter']},'view':(_0x3e0286,{writer:_0x1035c3})=>z(_0x3e0286,_0x1035c3)}),_0x4b74e3['for']('editingDowncast')['elementToElement']({'model':{'name':'footnoteRef','attributes':['footnoteId','footnoteCounter']},'view':(_0x51a5fe,{writer:_0x53cc68})=>{const _0x383ada=_0x51a5fe['getAttribute']('footnoteCounter');return _0x5e9619(z(_0x51a5fe,_0x53cc68),_0x53cc68,{'label':t('Footnote\x20%0.\x20Press\x20ENTER\x20to\x20jump\x20to\x20footnote\x20definition.',_0x383ada)});}});}['_defineDefinitionsConverters'](){const {editor:_0x15b143}=this,{t:t}=_0x15b143['locale'],{conversion:_0x4d0cc0}=_0x15b143;_0x4d0cc0['for']('upcast')['elementToElement']({'view':{'name':'div','classes':'footnotes'},'model':'footnotesDefinitions'}),_0x4d0cc0['for']('upcast')['add'](_0x18957f=>{_0x18957f['on']('element:ol',(_0x55e121,_0x41e151,_0x4fa181)=>{const _0x48964e=_0x41e151['viewItem'];if(!_0x48964e['hasClass']('footnotes-list')||!_0x41e151['modelCursor']['parent']?.['is']('element','footnotesDefinitions'))return;if(!_0x4fa181['consumable']['consume'](_0x48964e,{'name':!0x0,'classes':'footnotes-list'}))return;const {modelRange:_0x127c04,modelCursor:_0x35fa03}=_0x4fa181['convertChildren'](_0x41e151['viewItem'],_0x41e151['modelCursor']);_0x41e151['modelRange']=_0x127c04,_0x41e151['modelCursor']=_0x35fa03;}),_0x18957f['on']('element:hr',(_0x584ab7,_0x2f5f14,_0x2e5d73)=>{const _0x5a2f5d=_0x2f5f14['viewItem'];_0x5a2f5d['hasClass']('footnotes-divider')&&_0x2f5f14['modelCursor']['parent']?.['is']('element','footnotesDefinitions')&&_0x2e5d73['consumable']['consume'](_0x5a2f5d,{'name':!0x0,'classes':'footnotes-divider'});});}),_0x4d0cc0['for']('dataDowncast')['elementToStructure']({'model':'footnotesDefinitions','view':(_0x3d4b22,{writer:_0x2e7be6})=>H(_0x2e7be6)}),_0x4d0cc0['for']('editingDowncast')['elementToStructure']({'model':'footnotesDefinitions','view':(_0x5afdc8,{writer:_0x7e39b7})=>{const _0x1dc8d6=H(_0x7e39b7,{'data-footnotes-list-label':t('Footnotes')}),_0x610dba=_0x5e9619(_0x1dc8d6,_0x7e39b7,{'hasSelectionHandle':!0x0,'label':t('Footnotes')});return _0x7e39b7['setCustomProperty']('footnotesDefinitions',!0x0,_0x610dba),_0x610dba;}});}['_defineDefinitionConverters'](){const {editor:_0x2557b}=this,{conversion:_0x18dab8,locale:_0x253125}=_0x2557b,_0x5af01e=_0x2557b['config']['get']('footnotes.multiBlock');_0x18dab8['for']('upcast')['add'](_0x542f20=>{_0x542f20['on']('element:li',(_0x6c4f73,_0x198f1e,_0x4345bc)=>{const _0x267e39=_0x198f1e['viewItem'];if(!_0x267e39['hasClass']('footnote-definition')||!_0x267e39['getAttribute']('id'))return;const _0x353ce5=_0x267e39['parent'];if(!_0x353ce5['is']('element','ol')||!_0x353ce5['hasClass']('footnotes-list'))return;if(!_0x4345bc['consumable']['test'](_0x267e39,{'name':!0x0,'attributes':'id','classes':'footnote-definition'}))return;const _0x4890a5=_0x4345bc['writer']['createElement']('footnoteDefinition',{'footnoteId':_0x267e39['getAttribute']('id')});if(!_0x4345bc['safeInsert'](_0x4890a5,_0x198f1e['modelCursor']))return;_0x4345bc['consumable']['consume'](_0x267e39,{'name':!0x0,'attributes':'id','classes':'footnote-definition'});const _0x50b9ed=Array['from'](_0x267e39['getChildren']())['find'](_0x33239c=>_0x33239c['is']('element')&&_0x33239c['hasClass']('footnote-content'));for(const _0x7fb87 of _0x267e39['getChildren']())_0x7fb87['is']('element')&&(_0x4345bc['consumable']['consume'](_0x7fb87,{'name':!0x0,'classes':'footnote-backlink','attributes':'href'}),_0x4345bc['consumable']['consume'](_0x7fb87,{'name':!0x0,'classes':'footnote-content'}));if(_0x50b9ed){if(_0x5af01e)_0x4345bc['convertChildren'](_0x50b9ed,_0x4890a5);else{const _0x1a9b5c=_0x4345bc['writer']['createElement']('footnoteInlineContent');_0x4345bc['writer']['insert'](_0x1a9b5c,_0x4890a5),_0x4345bc['convertChildren'](_0x50b9ed,_0x1a9b5c);}}_0x4345bc['updateConversionResult'](_0x4890a5,_0x198f1e);});}),_0x18dab8['for']('dataDowncast')['elementToStructure']({'model':{'name':'footnoteDefinition','attributes':['footnoteId']},'view':(_0xd60b73,{writer:_0xbc7745})=>X(_0xd60b73,_0xbc7745,_0x253125,{'dataPipeline':!0x0})}),_0x18dab8['for']('editingDowncast')['elementToStructure']({'model':{'name':'footnoteDefinition','attributes':['footnoteId']},'view':(_0x299f18,{writer:_0x59e6b8})=>X(_0x299f18,_0x59e6b8,_0x253125)});}['_defineBogusParagraphConverters'](){const {editor:_0x4a4987}=this,{conversion:_0x55d4fc}=_0x4a4987;_0x4a4987['config']['get']('footnotes.multiBlock')?(_0x55d4fc['for']('editingDowncast')['elementToElement']({'model':'paragraph','view':B(),'converterPriority':'high'}),_0x55d4fc['for']('dataDowncast')['elementToElement']({'model':'paragraph','view':B({'dataPipeline':!0x0}),'converterPriority':'high'}),this['listenTo'](_0x4a4987['model']['document'],'change:data',()=>{!function(_0x3b60a,_0x140ac2){const _0x2b9778=_0x3b60a['document']['differ'],_0x16e831=new Set();for(const _0x3359c5 of _0x2b9778['getChanges']()){const _0x15fae4='attribute'==_0x3359c5['type']?_0x3359c5['range']['start']['parent']:_0x3359c5['position']['parent'];_0x15fae4['is']('element','footnoteDefinition')&&_0x16e831['add'](_0x15fae4);}for(const _0x4f8e95 of _0x16e831['values']()){const _0xe559a0=Array['from'](_0x4f8e95['getChildren']())['filter'](_0x2cd083=>U(_0x2cd083,_0x140ac2['mapper']));for(const _0x47378c of _0xe559a0)_0x140ac2['reconvertItem'](_0x47378c);}}(_0x4a4987['model'],_0x4a4987['editing']);})):(_0x55d4fc['for']('editingDowncast')['elementToElement']({'model':'footnoteInlineContent','view':B()}),_0x55d4fc['for']('dataDowncast')['elementToElement']({'model':'footnoteInlineContent','view':(_0x588d13,{writer:_0x7469e5})=>{const _0x379318=_0x7469e5['createContainerElement']('span');return _0x7469e5['setCustomProperty']('dataPipeline:transparentRendering',!0x0,_0x379318),_0x379318;}}));}['_defineKeyboardHandlers'](){const {editor:_0x2a0b47}=this,{editing:_0x59addc,t:t}=_0x2a0b47,_0x4310ec=_0x2a0b47['model']['document']['selection'];_0x2a0b47['keystrokes']['set']('Ctrl+Alt+F','insertFootnote'),_0x2a0b47['accessibility']['addKeystrokeInfos']({'keystrokes':[{'label':t('Insert\x20footnote'),'keystroke':'Ctrl+Alt+F'}]}),this['listenTo'](_0x59addc['view']['document'],'enter',(_0x1e5916,_0x3c4928)=>{const _0x401f59=function(_0x3ce0f6){const _0x24ba3c=_0x3ce0f6['getSelectedElement']();if(_0x24ba3c?.['is']('element','footnoteRef'))return _0x24ba3c;return null;}(_0x4310ec);if(_0x401f59){const _0x16da56=_0x401f59['getAttribute']('footnoteId');this['_moveSelectionToFootnoteDefinition'](_0x16da56),_0x3c4928['preventDefault'](),_0x1e5916['stop']();}},{'context':_0x167664});}['_defineClickHandlers'](){const {editor:_0x3fcae7}=this,{editing:_0x20bcee}=_0x3fcae7;_0x3fcae7['editing']['view']['addObserver'](_0x3a8762),_0x3fcae7['editing']['view']['addObserver'](_0x446ba1);let _0x26a1a2=!0x1;this['listenTo'](_0x20bcee['view']['document'],'pointerdown',(_0x31be16,_0x31e50a)=>{const {target:_0x182ff1}=_0x31e50a,_0xa8ab96=_0x20bcee['view']['document']['selection'];_0x26a1a2=!!(_0x182ff1?.['is']('element','a')&&_0x182ff1['parent']?.['is']('element','sup')&&_0x182ff1['parent']['hasClass']('footnote'))&&_0xa8ab96['getSelectedElement']()===_0x182ff1['parent'];},{'priority':'high'}),this['listenTo'](_0x20bcee['view']['document'],'click',(_0x1f085d,_0x26d576)=>{const {target:_0x13cdc1}=_0x26d576;if(!_0x13cdc1?.['is']('element','a'))return;if(_0x13cdc1['parent']?.['is']('element','sup')&&_0x13cdc1['parent']['hasClass']('footnote')&&!_0x26a1a2)return void _0x26d576['preventDefault']();let _0xc337a4=_0x13cdc1['getAttribute']('href');if(!_0xc337a4?.['startsWith']('#'))return;_0xc337a4=_0xc337a4['slice'](0x1);let _0x565d7f=!0x1;(_0xc337a4['startsWith']('ref-')&&this['_moveSelectionToFootnoteReference'](_0xc337a4['slice'](0x4))||this['_moveSelectionToFootnoteDefinition'](_0xc337a4))&&(_0x565d7f=!0x0),_0x565d7f&&(_0x26d576['preventDefault'](),_0x1f085d['stop']());},{'priority':'high','context':'$capture'});}}function B({dataPipeline:_0x101503}={}){return(_0x1d6453,{writer:_0x114982})=>{if(!M(_0x1d6453))return null;if(!_0x101503)return _0x114982['createContainerElement']('span',{'class':'ck-footnote-bogus-paragraph'});const _0x5a399e=_0x114982['createContainerElement']('p');return _0x114982['setCustomProperty']('dataPipeline:transparentRendering',!0x0,_0x5a399e),_0x5a399e;};}function M(_0x51fc2b){const {parent:_0x269130}=_0x51fc2b;if(!_0x269130?.['is']('element','footnoteDefinition'))return!0x1;if(0x1!=_0x269130['childCount'])return!0x1;for(const _0x407835 of _0x51fc2b['getAttributeKeys']())if(!_0x407835['startsWith']('selection:')&&'htmlEmptyBlock'!=_0x407835)return!0x1;return!0x0;}function U(_0x448060,_0x3e1884){if(!_0x448060['is']('element','paragraph'))return!0x1;const _0x4e394d=_0x3e1884['toViewElement'](_0x448060);return!!_0x4e394d&&M(_0x448060)!==_0x4e394d['is']('element','span');}function q(_0x4a48f4){return _0x167664(_0x4a48f4)&&_0x4a48f4['is']('containerElement')&&!!_0x4a48f4['getCustomProperty']('footnotesDefinitions');}function H(_0x22004e,_0x2df2e6={}){const _0x5d49a0=_0x22004e['createEmptyElement']('hr',{'class':'footnotes-divider'}),_0x4531c0=_0x22004e['createContainerElement']('ol',{'class':'footnotes-list'},_0x22004e['createSlot']());return _0x22004e['createContainerElement']('div',{'class':'footnotes',..._0x2df2e6},[_0x5d49a0,_0x4531c0]);}function z(_0x2e3c54,_0x29a183){const _0xf45caf=_0x2e3c54['getAttribute']('footnoteId'),_0x1395fe=_0x2e3c54['getAttribute']('footnoteCounter'),_0x22077f=_0x29a183['createUIElement']('a',{'href':'#'+_0xf45caf},function(_0x3f459f){const _0x418681=this['toDomElement'](_0x3f459f);return _0x418681['textContent']=_0x1395fe,_0x418681;}),_0x4cc0b0=_0x29a183['createContainerElement']('sup',{'id':'ref-'+_0xf45caf,'class':'footnote'},[_0x22077f]);return _0x4cc0b0['getFillerOffset']=()=>null,_0x4cc0b0;}function X(_0xf5e880,_0x4f05b4,_0x156a5b,{dataPipeline:_0x438584}={}){const {t:t}=_0x156a5b,_0x49d0ba=_0xf5e880['getAttribute']('footnoteId'),_0x3e8919=_0x4f05b4['createUIElement']('a',{'class':'footnote-backlink','href':'#ref-'+_0x49d0ba},function(_0x47a8ce){const _0x4c6132=this['toDomElement'](_0x47a8ce);return _0x4c6132['innerText']='^',_0x4c6132;}),_0x1f2b11=_0x438584?_0x4f05b4['createContainerElement']('div',{'class':'footnote-content'}):_0x1b7e89(_0x4f05b4['createEditableElement']('div',{'class':'footnote-content'}),_0x4f05b4,{'label':t('Footnote\x20content.')});return _0x4f05b4['insert'](_0x4f05b4['createPositionAt'](_0x1f2b11,0x0),_0x4f05b4['createSlot']()),_0x4f05b4['createContainerElement']('li',{'class':'footnote-definition','id':_0x49d0ba},[_0x3e8919,_0x1f2b11]);}class J extends _0x3851fd{static get['pluginName'](){return'FootnotesClipboard';}static get['requires'](){return[$,_0x41599b];}static get['isOfficialPlugin'](){return!0x0;}static get['isPremiumPlugin'](){return!0x0;}['init'](){this['_defineClipboardIntegration']();}['_defineClipboardIntegration'](){this['_handleCopyFootnotesDefinitions'](),this['_handlePasteFootnotesDefinitions']();}['_handleCopyFootnotesDefinitions'](){const {editor:_0x104d45}=this,{plugins:_0x1fb341,model:_0x31c511}=_0x104d45,_0x5985ff=_0x1fb341['get'](_0x41599b),_0xcaca52=_0x1fb341['get'](K);this['listenTo'](_0x5985ff,'outputTransformation',(_0x20db5f,_0x2beec6)=>{const _0x496d7d=Q(_0x31c511['createRangeIn'](_0x2beec6['content']));if(!_0x496d7d['length'])return;const _0x426b46=_0xcaca52['getFootnotes'](),_0x5bc5a9=_0x496d7d['reduce']((_0x28eb54,_0x3f8121)=>{const _0x135a58=_0x426b46['find'](_0x1760e0=>_0x1760e0['id']===_0x3f8121);if(_0x135a58){const _0x34cc29=_0x104d45['data']['toView'](_0x135a58['definition'],{'isClipboardPipeline':!0x0}),_0x2a2527=_0x104d45['data']['htmlProcessor']['toData'](_0x34cc29);_0x28eb54[_0x135a58['id']]=_0x2a2527;}return _0x28eb54;},Object['create'](null));_0x2beec6['dataTransfer']['setData']('application/ckeditor5-footnotes',JSON['stringify'](_0x5bc5a9));});}['_handlePasteFootnotesDefinitions'](){const {editor:_0x176761}=this,{model:_0x5f258c,plugins:_0x2d1880}=_0x176761,{view:_0x2acf66}=_0x176761['editing'],_0xac67af=_0x2d1880['get'](_0x41599b),_0x28fac3=_0x2d1880['get'](K),_0x12a86a=_0x176761['config']['get']('footnotes.multiBlock');let _0x5d0281=null;this['listenTo'](_0x2acf66['document'],'clipboardInput',(_0x1f162c,_0x1b9339)=>{const _0x5ea7ad=_0x1b9339['dataTransfer']['getData']('application/ckeditor5-footnotes');_0x5d0281=_0x5ea7ad?JSON['parse'](_0x5ea7ad):null;}),this['listenTo'](_0xac67af,'contentInsertion',(_0x25e02a,_0x2c6991)=>{const _0x3042de=_0x2c6991['sourceEditorId']===this['editor']['id'];_0x3042de&&'drop'===_0x2c6991['method']||_0x5f258c['change'](_0x2e831e=>{let _0x28bc89=_0x28fac3['getFootnotesDefinitionsObjectElement']();const _0x40ac79=!!_0x28bc89&&Array['from'](_0x5f258c['document']['selection']['getSelectedBlocks']())['includes'](_0x28bc89);if(!_0x5d0281&&function(_0x3d5c94){for(const {item:_0x56d3f5}of _0x3d5c94)if(_0x56d3f5['is']('element','footnoteRef'))return!0x0;return!0x1;}(_0x5f258c['createRangeIn'](_0x2c6991['content']))&&(_0x5d0281=function(_0x4b6bd7,_0xec5b01){const _0x364234=G(_0x4b6bd7,_0xec5b01);if(!_0x364234)return null;const _0x1f4a3f=Object['create'](null);for(const _0x463306 of _0x364234['getChildren']())_0x463306['is']('element','footnoteDefinition')&&_0x463306['hasAttribute']('footnoteId')&&(_0x1f4a3f[_0x463306['getAttribute']('footnoteId')]=_0x4b6bd7['cloneElement'](_0x463306,!0x0));return Object['keys'](_0x1f4a3f)['length']?_0x1f4a3f:null;}(_0x2e831e,_0x2c6991['content'])),(_0x28bc89&&!_0x40ac79||!_0x28bc89&&!_0x5d0281)&&function(_0x42affc,_0x1ae048){const _0x48ffb0=[];for(const {item:_0x11d04e}of _0x42affc['createRangeIn'](_0x1ae048))_0x11d04e['is']('element','footnotesDefinitions')&&_0x48ffb0['push'](_0x11d04e);for(const _0x50d542 of _0x48ffb0)_0x42affc['remove'](_0x50d542);}(_0x2e831e,_0x2c6991['content']),!_0x5d0281)return;const {selection:_0x5e4b58}=_0x5f258c['document'],_0x5e256a=_0x5e4b58['getFirstRange']()['root'];_0x28bc89&&!_0x40ac79||(_0x28bc89=G(_0x2e831e,_0x2c6991['content']),_0x28bc89||=_0x28fac3['_insertEmptyFootnotesDefinitionsContainer'](_0x2e831e,_0x5e256a));const _0x36f9ed=Array['from'](_0x5e4b58['getRanges']())['flatMap'](Q),_0x396d00=function(_0x13eb94,_0x16e2e6,_0x2bfecd){const _0x2d50b0=Object['create'](null);for(const {item:_0x5ea516}of _0x13eb94['createRangeIn'](_0x16e2e6))if(_0x5ea516['is']('element','footnoteRef')){const _0xaf9e43=_0x5ea516['getAttribute']('footnoteId');if(!_0x2bfecd(_0xaf9e43))continue;_0x2d50b0[_0xaf9e43]||(_0x2d50b0[_0xaf9e43]=_0xdf3c61()),_0x13eb94['setAttribute']('footnoteId',_0x2d50b0[_0xaf9e43],_0x5ea516);}return _0x2d50b0;}(_0x2e831e,_0x2c6991['content'],_0x5c8f65=>{if(!_0x3042de)return!0x0;return!!_0x28fac3['getFootnote'](_0x5c8f65)&&!_0x36f9ed['includes'](_0x5c8f65);});for(const [_0x39a0dd,_0x507bc5]of Object['entries'](_0x5d0281)){const _0x4f5c94=_0x396d00[_0x39a0dd]||_0x39a0dd;let _0x4f5608;if('string'!=typeof _0x507bc5)_0x4f5608=_0x507bc5,_0x4f5c94!==_0x39a0dd&&_0x2e831e['setAttribute']('footnoteId',_0x4f5c94,_0x4f5608);else{_0x4f5608=_0x2e831e['createElement']('footnoteDefinition',{'footnoteId':_0x4f5c94});const _0x23d218=_0x176761['data']['htmlProcessor']['toView'](_0x507bc5);let _0x479fa0;if(_0x12a86a)_0x479fa0=_0x176761['data']['toModel'](_0x23d218,_0x4f5608);else{_0x479fa0=_0x2e831e['createElement']('footnoteInlineContent');const _0xfc291e=_0x176761['data']['toModel'](_0x23d218,_0x479fa0);_0x2e831e['insert'](_0xfc291e,_0x479fa0);}_0x2e831e['append'](_0x479fa0,_0x4f5608);}_0x2e831e['insert'](_0x4f5608,_0x28bc89,'end');}_0x5d0281=null;});});}}function G(_0x573ecb,_0x514389){for(const {item:_0x5bb059}of _0x573ecb['createRangeIn'](_0x514389))if(_0x5bb059['is']('element','footnotesDefinitions'))return _0x5bb059;return null;}function Q(_0x56477c){const _0x2996ee=new Set();for(const {item:_0x2c967d}of _0x56477c)_0x2c967d['is']('element','footnoteRef')&&_0x2996ee['add'](_0x2c967d['getAttribute']('footnoteId'));return Array['from'](_0x2996ee);}class W extends _0x3851fd{['licenseKey'];['_licenseKeyCheckInterval'];static get['pluginName'](){return'FootnotesUI';}static get['isOfficialPlugin'](){return!0x0;}static get['isPremiumPlugin'](){return!0x0;}['init'](){const {editor:_0x2b50ab}=this,{componentFactory:_0x1f4c8d}=_0x2b50ab['ui'];_0x1f4c8d['add']('insertFootnote',Y(_0x2b50ab,_0x550cf0)),_0x1f4c8d['add']('menuBar:insertFootnote',Y(_0x2b50ab,_0x3962e2)),this['licenseKey']=this['editor']['config']['get']('licenseKey');const _0x58f494=this['editor'];this['_licenseKeyCheckInterval']=setInterval(()=>{let _0x16d40f;for(const _0x5c4db8 in _0x58f494){const _0xe1c402=_0x5c4db8,_0x5c3780=_0x58f494[_0xe1c402];if('footnotesLicenseKeyValid'==_0x5c3780||'footnotesLicenseKeyInvalid'==_0x5c3780||'footnotesLicenseKeyExpired'==_0x5c3780||'footnotesLicenseKeyDomainLimit'==_0x5c3780||'footnotesLicenseKeyNotAllowed'==_0x5c3780||'footnotesLicenseKeyEvaluationLimit'==_0x5c3780||'footnotesLicenseKeyUsageLimit'==_0x5c3780){delete _0x58f494[_0xe1c402],_0x16d40f=_0x5c3780,clearInterval(this['_licenseKeyCheckInterval']),this['_licenseKeyCheckInterval']=void 0x0;break;}}'footnotesLicenseKeyInvalid'==_0x16d40f&&_0x58f494['_showLicenseError']('invalid'),'footnotesLicenseKeyExpired'==_0x16d40f&&_0x58f494['_showLicenseError']('expired'),'footnotesLicenseKeyDomainLimit'==_0x16d40f&&_0x58f494['_showLicenseError']('domainLimit'),'footnotesLicenseKeyNotAllowed'==_0x16d40f&&_0x58f494['_showLicenseError']('featureNotAllowed','Footnotes'),'footnotesLicenseKeyEvaluationLimit'==_0x16d40f&&_0x58f494['_showLicenseError']('evaluationLimit'),'footnotesLicenseKeyUsageLimit'==_0x16d40f&&_0x58f494['_showLicenseError']('usageLimit');},0x3e8);}['destroy'](){super['destroy'](),this['_licenseKeyCheckInterval']&&clearInterval(this['_licenseKeyCheckInterval']);}}function Y(_0x3f09f1,_0x793d66){const _0x49a3f5=_0x3f09f1['commands']['get']('insertFootnote');return _0x503c31=>{const {t:t}=_0x503c31,_0x62738=new _0x793d66(_0x503c31),_0x1aa07d=_0x62738 instanceof _0x3962e2;return _0x62738['bind']('isEnabled')['to'](_0x49a3f5,'isEnabled'),_0x62738['set']({'label':t(_0x1aa07d?'Footnote':'Insert\x20footnote'),'icon':_0x73680a,'tooltip':!0x0}),_0x62738['on']('execute',()=>{_0x49a3f5['execute'](),_0x3f09f1['editing']['view']['focus']();}),_0x62738;};}class Z extends _0x3851fd{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 _0x2d2c01{['refresh'](){const {editor:_0x141256}=this,_0x5ca272=_0x141256['plugins']['get'](K)['getFootnotesDefinitionsObjectElement']();this['isEnabled']=!!_0x5ca272,this['value']=_0x5ca272?.['getAttribute']('footnotesListStyle')??null;}['execute']({value:_0x116aa5}){const {editor:_0xca4f20}=this,_0x122313=_0xca4f20['plugins']['get'](K),_0x26f83a=_0x122313['getFootnotesDefinitionsObjectElement']();_0x26f83a&&ot['includes'](_0x116aa5)&&_0xca4f20['model']['change'](_0x32d18e=>{_0x32d18e['setAttribute']('footnotesListStyle',_0x116aa5,_0x26f83a),_0x122313['_updateFootnotesCounters'](_0x32d18e);});}}class it extends _0x2d2c01{['refresh'](){const {editor:_0x2182c3}=this,_0x534fb6=_0x2182c3['plugins']['get'](K)['getFootnotesDefinitionsObjectElement']();this['isEnabled']=!!_0x534fb6,this['value']=_0x534fb6?.['getAttribute']('footnotesListStart')??null;}['execute']({value:_0x3cdabc}){const {editor:_0xde7f25}=this,_0xeab5a9=_0xde7f25['plugins']['get'](K),_0x2c860a=_0xeab5a9['getFootnotesDefinitionsObjectElement']();_0x2c860a&&Number['isInteger'](_0x3cdabc)&&_0xde7f25['model']['change'](_0x34d401=>{_0x34d401['setAttribute']('footnotesListStart',_0x3cdabc,_0x2c860a),_0xeab5a9['_updateFootnotesCounters'](_0x34d401);});}}function st(_0x1a8d15,_0x38f971){let _0x2348cc='',_0x5d76e5=_0x1a8d15;for(;_0x5d76e5>0x0;){const _0x5a12b8=(_0x5d76e5-0x1)%0x1a;_0x2348cc=String['fromCharCode'](0x61+_0x5a12b8)+_0x2348cc,_0x5d76e5=Math['floor']((_0x5d76e5-0x1)/0x1a);}return _0x38f971?_0x2348cc['toUpperCase']():_0x2348cc;}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(_0x582cf4,_0x3c5f42){let _0x2d8599='',_0x19431e=_0x582cf4;for(const {value:_0x443ec2,numeral:_0x5b4dfa}of rt)for(;_0x19431e>=_0x443ec2;)_0x2d8599+=_0x5b4dfa,_0x19431e-=_0x443ec2;return _0x3c5f42?_0x2d8599:_0x2d8599['toLowerCase']();}const ft=['٠','١','٢','٣','٤','٥','٦','٧','٨','٩'];class at extends _0x3851fd{static get['pluginName'](){return'FootnotesPropertiesEditing';}static get['requires'](){return[$,K];}static get['isOfficialPlugin'](){return!0x0;}static get['isPremiumPlugin'](){return!0x0;}['init'](){const {editor:_0x4da547}=this;_0x4da547['config']['define']('footnotes.footnotesProperties.defaultListStyle','decimal'),_0x4da547['config']['define']('footnotes.footnotesProperties.defaultStartIndex',0x1),_0x4da547['config']['define']('footnotes.footnotesProperties.listStyles',[...tt]),_0x4da547['commands']['add']('footnotesStyle',new nt(_0x4da547)),_0x4da547['commands']['add']('footnotesStart',new it(_0x4da547)),this['_defineSchema'](),this['_defineConverters'](),this['_defineFormatter'](),this['_definePostfixer']();}['_defineSchema'](){const {editor:_0x239cf6}=this,{schema:_0x356997}=_0x239cf6['model'];_0x356997['extend']('footnotesDefinitions',{'allowAttributes':['footnotesListStyle','footnotesListStart']});}['_defineConverters'](){const {editor:_0x149be6}=this,{conversion:_0x2f9026,model:_0x3a84f2}=_0x149be6,{schema:_0x17eaf5}=_0x3a84f2;_0x2f9026['for']('upcast')['add'](_0x150ab0=>{_0x150ab0['on']('element:ol',(_0x194562,_0x1c1dba,_0x3df42a)=>{const _0x103a38=_0x1c1dba['viewItem'],_0x833206=_0x1c1dba['modelCursor']?.['parent'];_0x103a38['hasClass']('footnotes-list')&&_0x833206?.['is']('element','footnotesDefinitions')&&(function(_0x498ee7,_0x1595c9,_0x29cac8,_0x4ce164){if(!_0x4ce164['checkAttribute'](_0x1595c9,'footnotesListStart'))return;let _0x4fd76a=0x1;const _0x4eb5c2=_0x29cac8['consumable']['consume'](_0x498ee7,{'attributes':'start'});if(_0x4eb5c2){const _0x2575aa=Number['parseInt'](_0x498ee7['getAttribute']('start'),0xa);Number['isNaN'](_0x2575aa)||(_0x4fd76a=_0x2575aa);}!_0x4eb5c2&&_0x1595c9['hasAttribute']('footnotesListStart')||_0x29cac8['writer']['setAttribute']('footnotesListStart',_0x4fd76a,_0x1595c9);}(_0x103a38,_0x833206,_0x3df42a,_0x17eaf5),function(_0x198a6a,_0x19c221,_0x4a3941,_0xbe22fe){if(!_0xbe22fe['checkAttribute'](_0x19c221,'footnotesListStyle'))return;let _0x7d06f4='decimal',_0x33820b=!0x1;if(_0x4a3941['consumable']['consume'](_0x198a6a,{'attributes':'type'})){const _0x5e1364={0x1:'decimal','a':'lower-latin','A':'upper-latin','i':'lower-roman','I':'upper-roman'}[_0x198a6a['getAttribute']('type')];_0x5e1364&&(_0x7d06f4=_0x5e1364),_0x33820b=!0x0;}if(_0x4a3941['consumable']['consume'](_0x198a6a,{'styles':'list-style-type'})){const _0x2c41e5=ct(_0x198a6a['getStyle']('list-style-type'));_0x2c41e5&&(_0x7d06f4=_0x2c41e5),_0x33820b=!0x0;}!_0x33820b&&_0x19c221['hasAttribute']('footnotesListStyle')||_0x4a3941['writer']['setAttribute']('footnotesListStyle',_0x7d06f4,_0x19c221);}(_0x103a38,_0x833206,_0x3df42a,_0x17eaf5));});}),_0x2f9026['for']('downcast')['add'](_0x5da830=>{_0x5da830['on']('attribute:footnotesListStart:footnotesDefinitions',(_0x48db5a,_0x1263b8,_0x5bd132)=>{if(!_0x5bd132['consumable']['consume'](_0x1263b8['item'],_0x48db5a['name']))return;const _0x4443ed=ut(_0x1263b8['item'],_0x5bd132['mapper']),{attributeNewValue:_0x2359c9}=_0x1263b8;null==_0x2359c9||0x1===_0x2359c9?_0x5bd132['writer']['removeAttribute']('start',_0x4443ed):_0x5bd132['writer']['setAttribute']('start',String(_0x2359c9),_0x4443ed);}),_0x5da830['on']('attribute:footnotesListStyle:footnotesDefinitions',(_0x5d7191,_0x4cedef,_0x2ff284)=>{if(!_0x2ff284['consumable']['consume'](_0x4cedef['item'],_0x5d7191['name']))return;const _0xbe5e95=ut(_0x4cedef['item'],_0x2ff284['mapper']),{attributeNewValue:_0x4b4166}=_0x4cedef;_0x4b4166&&'decimal'!==_0x4b4166?_0x2ff284['writer']['setStyle']('list-style-type',_0x4b4166,_0xbe5e95):_0x2ff284['writer']['removeStyle']('list-style-type',_0xbe5e95);});});}['_definePostfixer'](){const {editor:_0x25f9b6}=this,{model:_0x339830}=_0x25f9b6,_0x11acfa=_0x25f9b6['plugins']['get'](K),_0x24d5f1=this['_getDefaultListStyle'](),_0x6e0dfe=this['_getDefaultStartIndex']();_0x339830['document']['registerPostFixer'](_0x1779f3=>{const _0x118402=_0x339830['document']['differ']['getChanges']();let _0x2ddfdb=!0x1;for(const _0x4e4949 of _0x118402){if('insert'!==_0x4e4949['type']||'$text'===_0x4e4949['name'])continue;const _0x27153d=_0x339830['createRangeOn'](_0x4e4949['position']['nodeAfter']);for(const _0x5361b3 of _0x27153d['getItems']())_0x5361b3['is']('element','footnotesDefinitions')&&(!_0x5361b3['hasAttribute']('footnotesListStart')&&_0x339830['schema']['checkAttribute'](_0x5361b3,'footnotesListStart')&&(_0x1779f3['setAttribute']('footnotesListStart',_0x6e0dfe,_0x5361b3),_0x2ddfdb=!0x0),!_0x5361b3['hasAttribute']('footnotesListStyle')&&_0x339830['schema']['checkAttribute'](_0x5361b3,'footnotesListStyle')&&(_0x1779f3['setAttribute']('footnotesListStyle',_0x24d5f1,_0x5361b3),_0x2ddfdb=!0x0));}return _0x2ddfdb&&_0x11acfa['_updateFootnotesCounters'](_0x1779f3),_0x2ddfdb;});}['_defineFormatter'](){const {editor:_0x53a023}=this;_0x53a023['plugins']['get'](K)['setFootnoteFormatter'](_0x2af0f7=>this['_formatFootnoteListValue'](_0x2af0f7));}['_getDefaultListStyle'](){return this['editor']['config']['get']('footnotes.footnotesProperties.defaultListStyle');}['_getDefaultStartIndex'](){return this['editor']['config']['get']('footnotes.footnotesProperties.defaultStartIndex');}['_formatFootnoteListValue']({container:_0x178975,value:_0x59aa3b,digits:_0x214ce2}){const _0x5d0a3b=_0x178975['getAttribute']('footnotesListStyle'),_0x2204c0=_0x178975['getAttribute']('footnotesListStart'),_0x4531e0=Math['floor'](_0x59aa3b)+(_0x2204c0??0x1)-0x1;switch(_0x5d0a3b){case'decimal-leading-zero':return function(_0x179dcc,_0x1d6654){return String(_0x179dcc)['padStart'](_0x1d6654,'0');}(_0x4531e0,Math['max'](0x2,_0x214ce2));case'lower-alpha':case'lower-latin':return st(_0x4531e0,!0x1);case'upper-alpha':case'upper-latin':return st(_0x4531e0,!0x0);case'lower-roman':return lt(_0x4531e0,!0x1);case'upper-roman':return lt(_0x4531e0,!0x0);case'arabic-indic':return String(_0x4531e0)['replace'](/\d/g,_0x174f47=>ft[Number(_0x174f47)]);default:return String(_0x4531e0);}}}function ct(_0x50d488){if('string'==typeof _0x50d488){const _0x3d5389=et[_0x50d488];if(_0x3d5389)return _0x3d5389;if(ot['includes'](_0x50d488))return _0x50d488;}return null;}function ut(_0x21ad59,_0x2d7144){const _0x4f8ea8=_0x2d7144['toViewElement'](_0x21ad59);return Array['from'](_0x4f8ea8['getChildren']())['find'](_0x5f5e23=>_0x5f5e23['is']('element','ol')&&_0x5f5e23['hasClass']('footnotes-list'));}class dt extends _0x485987{['children'];['stylesView']=null;['additionalProperties']=null;['startIndexFieldView']=null;['focusTracker']=new _0x557e09();['keystrokes']=new _0x2c0f50();['focusables']=new _0x2abce3();['focusCycler'];constructor(_0x311273,{styleButtonViews:_0x2917e5,styleGridAriaLabel:_0x210f4d}){super(_0x311273),(this['focusCycler']=new _0x2364e4({'focusables':this['focusables'],'focusTracker':this['focusTracker'],'keystrokeHandler':this['keystrokes'],'actions':{'focusPrevious':'shift\x20+\x20tab','focusNext':'tab'}}),this['children']=this['createCollection'](),this['stylesView']=this['_appendStylesView'](_0x2917e5,_0x210f4d),[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 _0x2e9f71 of this['stylesView']['children'])this['stylesView']['focusTracker']['add'](_0x2e9f71['element']);_0x1fdab9({'keystrokeHandler':this['stylesView']['keystrokes'],'focusTracker':this['stylesView']['focusTracker'],'gridItems':this['stylesView']['children'],'numberOfColumns':()=>_0x4f2ee4['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 _0x3a6f56=_0x4483c3=>_0x4483c3['stopPropagation']();this['keystrokes']['set']('arrowright',_0x3a6f56),this['keystrokes']['set']('arrowleft',_0x3a6f56),this['keystrokes']['set']('arrowup',_0x3a6f56),this['keystrokes']['set']('arrowdown',_0x3a6f56);}this['keystrokes']['listenTo'](this['element']);}['focus'](){this['focusCycler']['focusFirst']();}['focusLast'](){this['focusCycler']['focusLast']();}['destroy'](){super['destroy'](),this['focusTracker']['destroy'](),this['keystrokes']['destroy']();}['_appendStylesView'](_0x17ed73,_0x2b8dd6){const _0x4d9d0a=new _0x485987(this['locale']);return _0x4d9d0a['children']=_0x4d9d0a['createCollection'](),_0x4d9d0a['children']['addMany'](_0x17ed73),_0x4d9d0a['setTemplate']({'tag':'div','attributes':{'aria-label':_0x2b8dd6,'class':['ck','ck-footnotes-definitions-styles-list']},'children':_0x4d9d0a['children']}),_0x4d9d0a['children']['delegate']('execute')['to'](this),_0x4d9d0a['focus']=function(){for(const _0x4fe6e9 of this['children'])if(_0x4fe6e9 instanceof _0x550cf0&&_0x4fe6e9['isOn'])return void _0x4fe6e9['focus']();this['children']['first']['focus']();},_0x4d9d0a['focusTracker']=new _0x557e09(),_0x4d9d0a['keystrokes']=new _0x2c0f50(),_0x4d9d0a['render'](),_0x4d9d0a['keystrokes']['listenTo'](_0x4d9d0a['element']),this['children']['add'](_0x4d9d0a),_0x4d9d0a;}['_appendAdditionalPropertiesCollapsibleView'](){const {t:t}=this['locale'],_0x4817a4=this['_createStartIndexPropertyView'](),_0x12d1f9=[_0x4817a4],_0xf65f45=new _0x2cb5ef(this['locale'],_0x12d1f9);return _0xf65f45['set']({'label':t('Footnotes\x20properties'),'isCollapsed':!0x0}),_0xf65f45['buttonView']['bind']('isEnabled')['toMany'](_0x12d1f9,'isEnabled',(..._0x1bad9b)=>_0x1bad9b['some'](_0x3d3623=>_0x3d3623)),_0xf65f45['buttonView']['on']('change:isEnabled',(_0xc2f4ee,_0x39e683,_0x168967)=>{_0x168967||(_0xf65f45['isCollapsed']=!0x0);}),this['children']['add'](_0xf65f45),[_0x4817a4,_0xf65f45];}['_createStartIndexPropertyView'](){const {t:t}=this['locale'],_0x505d5c=new _0x1e2eb3(this['locale'],_0x217ec6);return _0x505d5c['set']({'label':t('Footnotes\x20start\x20at'),'class':'ck-footnotes-definitions-properties__start-index'}),_0x505d5c['fieldView']['set']({'min':0x0,'max':Math['pow'](0x2,0x1e),'step':0x1,'value':0x1,'inputMode':'numeric'}),_0x505d5c['fieldView']['on']('input',()=>{const _0x304b27=_0x505d5c['fieldView']['element'],_0xa4c450=_0x304b27['valueAsNumber'];Number['isNaN'](_0xa4c450)?_0x505d5c['errorText']=t('Invalid\x20footnotes\x20start\x20index\x20value.'):_0x304b27['checkValidity']()?this['fire']('footnotesListStart',{'startIndex':_0xa4c450}):_0x505d5c['errorText']=t(_0xa4c450<0x0?'Footnotes\x20start\x20index\x20must\x20be\x20greater\x20than\x200.':'Footnotes\x20start\x20index\x20is\x20too\x20large.');}),_0x505d5c;}}class ht extends _0x3851fd{static get['pluginName'](){return'FootnotesPropertiesUI';}static get['requires'](){return[_0x5e572c,_0x454980];}static get['isOfficialPlugin'](){return!0x0;}static get['isPremiumPlugin'](){return!0x0;}['init'](){const {editor:_0x2982}=this,{componentFactory:_0x595eaa}=_0x2982['ui'];_0x2982['config']['define']('footnotes.footnotesProperties.toolbar',['footnotesStyle']),_0x595eaa['add']('footnotesStyle',function(_0x4f8991){return _0x5b1424=>{const {t:t}=_0x5b1424,_0x535aa7=_0x4f8991['commands']['get']('footnotesStyle'),_0x1e0457=_0x4ad3b6(_0x5b1424),{buttonView:_0x15dc10}=_0x1e0457;return _0x1e0457['class']='ck-footnotes-styles-dropdown',_0x1e0457['bind']('isEnabled')['to'](_0x535aa7,'isEnabled'),_0x15dc10['set']({'label':t('Footnotes\x20style'),'icon':_0x73680a,'tooltip':!0x0}),_0x1e0457['once']('change:isOpen',()=>{const _0x3cc81c=function({editor:_0x104e6e,dropdownView:_0x1b4cdc}){const {t:t}=_0x104e6e['locale'],_0xc4f43c=t('Footnotes\x20definitions\x20styles'),_0x2859a8=function(_0x50390f){const {t:t}=_0x50390f['locale'],_0x46ecc5=_0x50390f['config']['get']('footnotes.footnotesProperties.listStyles'),_0x1d4d3f=[{'style':'decimal','label':t('Toggle\x20the\x20decimal\x20footnotes\x20style'),'tooltip':t('Decimal\x20footnotes'),'icon':_0x2db61f},{'style':'decimal-leading-zero','label':t('Toggle\x20the\x20decimal\x20with\x20leading\x20zero\x20footnotes\x20style'),'tooltip':t('Decimal\x20footnotes\x20with\x20leading\x20zero'),'icon':_0x2a1cbf},{'style':'lower-roman','label':t('Toggle\x20the\x20lower-roman\x20footnotes\x20style'),'tooltip':t('Lower-roman\x20footnotes'),'icon':_0x54e481},{'style':'upper-roman','label':t('Toggle\x20the\x20upper-roman\x20footnotes\x20style'),'tooltip':t('Upper-roman\x20footnotes'),'icon':_0x598049},{'style':'lower-latin','label':t('Toggle\x20the\x20lower-latin\x20footnotes\x20style'),'tooltip':t('Lower-latin\x20footnotes'),'icon':_0x3d6f42},{'style':'upper-latin','label':t('Toggle\x20the\x20upper-latin\x20footnotes\x20style'),'tooltip':t('Upper-latin\x20footnotes'),'icon':_0x22328a},{'style':'arabic-indic','label':t('Toggle\x20the\x20arabic-indic\x20footnotes\x20style'),'tooltip':t('Arabic-indic\x20footnotes'),'icon':_0x2a2806}];return _0x46ecc5['map'](_0x562bf7=>{const _0x12b0a2=ct(_0x562bf7),_0x4d4091=_0x1d4d3f['find'](_0x382a7e=>_0x382a7e['style']===_0x12b0a2);return function(_0x9facf9,_0x551ead){const {locale:_0x1ec40}=_0x9facf9,{label:_0x5ab2ef,icon:_0x770d6d,tooltip:_0x5f5684,style:_0x48a294}=_0x551ead,_0x2a5371=_0x9facf9['commands']['get']('footnotesStyle'),_0x9ae224=new _0x550cf0(_0x1ec40);return _0x9ae224['set']({'label':_0x5ab2ef,'icon':_0x770d6d,'tooltip':_0x5f5684}),_0x9ae224['bind']('isOn')['to'](_0x2a5371,'value',_0x20cb4d=>_0x20cb4d===_0x48a294),_0x9ae224['bind']('isEnabled')['to'](_0x2a5371,'isEnabled'),_0x9ae224['on']('execute',()=>{_0x9facf9['execute']('footnotesStyle',{'value':_0x48a294}),_0x9facf9['editing']['view']['focus']();}),_0x9ae224;}(_0x50390f,_0x4d4091);});}(_0x104e6e),_0x57e6cd=new dt(_0x104e6e['locale'],{'styleGridAriaLabel':_0xc4f43c,'styleButtonViews':_0x2859a8}),_0x1cb5f0=_0x104e6e['commands']['get']('footnotesStart');return _0x57e6cd['startIndexFieldView']['bind']('isEnabled')['to'](_0x1cb5f0),_0x57e6cd['startIndexFieldView']['fieldView']['bind']('value')['to'](_0x1cb5f0),_0x57e6cd['on']('footnotesListStart',(_0x2cdc70,_0x35e438)=>{_0x104e6e['execute']('footnotesStart',{'value':_0x35e438['startIndex']});}),_0x57e6cd['delegate']('execute')['to'](_0x1b4cdc),_0x57e6cd;}({'editor':_0x4f8991,'dropdownView':_0x1e0457});_0x1e0457['panelView']['children']['add'](_0x3cc81c);}),_0x1e0457;};}(_0x2982));}['afterInit'](){const {editor:_0x269080}=this,{t:t}=_0x269080['locale'],_0x443f08=_0x269080['plugins']['get'](_0x454980),{defaultPositions:_0x1040d6}=_0x711993;_0x443f08['register']('footnotesDefinitions',{'ariaLabel':t('Footnotes\x20definitions\x20toolbar'),'items':_0x269080['config']['get']('footnotes.footnotesProperties.toolbar'),'balloonClassName':'ck-footnotes-style-balloon\x20ck-toolbar-container','getRelatedElement':_0x371d09=>{let _0x2962f1=_0x371d09['getFirstPosition']()?.['parent'];return _0x2962f1?.['is']('$text')&&(_0x2962f1=_0x2962f1['parent']),_0x2962f1?.['is']('element')?_0x2962f1['findAncestor'](q):null;},'positions':[_0x1040d6['southArrowNorth'],_0x1040d6['southArrowNorthMiddleWest'],_0x1040d6['southArrowNorthMiddleEast'],_0x1040d6['southArrowNorthWest'],_0x1040d6['southArrowNorthEast'],_0x1040d6['northArrowSouth'],_0x1040d6['northArrowSouthMiddleWest'],_0x1040d6['northArrowSouthMiddleEast'],_0x1040d6['northArrowSouthWest'],_0x1040d6['northArrowSouthEast'],_0x1040d6['viewportStickyNorth']]});}}class mt extends _0x3851fd{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':_0x1fd458=>0x1!=_0x1fd458}};
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
(
|
|
23
|
+
(_0x1c9ad7=>{const {af:{dictionary:_0x36ccb4,getPluralForm:_0x4fadbc}}={'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':_0x57bce4=>0x1!=_0x57bce4}};_0x1c9ad7['af']||={'dictionary':{},'getPluralForm':null},_0x1c9ad7['af']['dictionary']=Object['assign'](_0x1c9ad7['af']['dictionary'],_0x36ccb4),_0x1c9ad7['af']['getPluralForm']=_0x4fadbc;})(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':'','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{'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':_0x28ecd4=>0x0==_0x28ecd4?0x0:0x1==_0x28ecd4?0x1:0x2==_0x28ecd4?0x2:_0x28ecd4%0x64>=0x3&&_0x28ecd4%0x64<=0xa?0x3:_0x28ecd4%0x64>=0xb?0x4:0x5}};
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
(
|
|
23
|
+
(_0x6692aa=>{const {ar:{dictionary:_0x5ed1c9,getPluralForm:_0x351c3e}}={'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':_0x3aff86=>0x0==_0x3aff86?0x0:0x1==_0x3aff86?0x1:0x2==_0x3aff86?0x2:_0x3aff86%0x64>=0x3&&_0x3aff86%0x64<=0xa?0x3:_0x3aff86%0x64>=0xb?0x4:0x5}};_0x6692aa['ar']||={'dictionary':{},'getPluralForm':null},_0x6692aa['ar']['dictionary']=Object['assign'](_0x6692aa['ar']['dictionary'],_0x5ed1c9),_0x6692aa['ar']['getPluralForm']=_0x351c3e;})(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':_0x5446a4=>0x1!=_0x5446a4}};
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
(
|
|
23
|
+
(_0x160182=>{const {ast:{dictionary:_0x3d9a53,getPluralForm:_0x5ef8e1}}={'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':_0x1ae6a2=>0x1!=_0x1ae6a2}};_0x160182['ast']||={'dictionary':{},'getPluralForm':null},_0x160182['ast']['dictionary']=Object['assign'](_0x160182['ast']['dictionary'],_0x3d9a53),_0x160182['ast']['getPluralForm']=_0x5ef8e1;})(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':_0x5407c3=>0x1!=_0x5407c3}};
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
(
|
|
23
|
+
(_0x553572=>{const {az:{dictionary:_0x4c1fea,getPluralForm:_0x162d19}}={'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':_0x2438ee=>0x1!=_0x2438ee}};_0x553572['az']||={'dictionary':{},'getPluralForm':null},_0x553572['az']['dictionary']=Object['assign'](_0x553572['az']['dictionary'],_0x4c1fea),_0x553572['az']['getPluralForm']=_0x162d19;})(window['CKEDITOR_TRANSLATIONS']||={});
|
package/dist/translations/be.js
CHANGED
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
export default{'be':{'dictionary':{'Footnote':'','Footnotes':'','Footnotes\x20properties':'','Footnotes\x20start\x20at':'','Invalid\x20footnotes\x20start\x20index\x20value.':'','Footnotes\x20start\x20index\x20is\x20too\x20large.':'','Footnotes\x20start\x20index\x20must\x20be\x20greater\x20than\x200.':'','Footnote\x20%0.\x20Press\x20ENTER\x20to\x20jump\x20to\x20footnote\x20definition.':'','Footnote\x20content.':'','Footnotes\x20definitions\x20styles':'','Footnotes\x20definitions\x20toolbar':'','Insert\x20footnote':'','Footnotes\x20style':'','Toggle\x20the\x20decimal\x20footnotes\x20style':'','Decimal\x20footnotes':'','Toggle\x20the\x20decimal\x20with\x20leading\x20zero\x20footnotes\x20style':'','Decimal\x20footnotes\x20with\x20leading\x20zero':'','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{'be':{'dictionary':{'Footnote':'','Footnotes':'','Footnotes\x20properties':'','Footnotes\x20start\x20at':'','Invalid\x20footnotes\x20start\x20index\x20value.':'','Footnotes\x20start\x20index\x20is\x20too\x20large.':'','Footnotes\x20start\x20index\x20must\x20be\x20greater\x20than\x200.':'','Footnote\x20%0.\x20Press\x20ENTER\x20to\x20jump\x20to\x20footnote\x20definition.':'','Footnote\x20content.':'','Footnotes\x20definitions\x20styles':'','Footnotes\x20definitions\x20toolbar':'','Insert\x20footnote':'','Footnotes\x20style':'','Toggle\x20the\x20decimal\x20footnotes\x20style':'','Decimal\x20footnotes':'','Toggle\x20the\x20decimal\x20with\x20leading\x20zero\x20footnotes\x20style':'','Decimal\x20footnotes\x20with\x20leading\x20zero':'','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':_0x5d434a=>_0x5d434a%0xa==0x1&&_0x5d434a%0x64!=0xb?0x0:_0x5d434a%0xa>=0x2&&_0x5d434a%0xa<=0x4&&(_0x5d434a%0x64<0xa||_0x5d434a%0x64>=0x14)?0x1:0x2}};
|