@ckeditor/ckeditor5-footnotes 47.3.0-alpha.0 → 47.3.0-alpha.2
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/build/footnotes.js +1 -1
- package/dist/index.js +1 -1
- package/dist/translations/af.js +1 -1
- package/dist/translations/af.umd.js +1 -1
- package/dist/translations/ar.js +1 -1
- package/dist/translations/ar.umd.js +1 -1
- package/dist/translations/ast.js +1 -1
- package/dist/translations/ast.umd.js +1 -1
- package/dist/translations/az.js +1 -1
- package/dist/translations/az.umd.js +1 -1
- package/dist/translations/be.js +1 -1
- package/dist/translations/be.umd.js +1 -1
- package/dist/translations/bg.js +1 -1
- package/dist/translations/bg.umd.js +1 -1
- package/dist/translations/bn.js +1 -1
- package/dist/translations/bn.umd.js +1 -1
- package/dist/translations/bs.js +1 -1
- package/dist/translations/bs.umd.js +1 -1
- package/dist/translations/ca.js +1 -1
- package/dist/translations/ca.umd.js +1 -1
- package/dist/translations/cs.js +1 -1
- package/dist/translations/cs.umd.js +1 -1
- package/dist/translations/da.js +1 -1
- package/dist/translations/da.umd.js +1 -1
- package/dist/translations/de-ch.js +1 -1
- package/dist/translations/de-ch.umd.js +1 -1
- package/dist/translations/de.js +1 -1
- package/dist/translations/de.umd.js +1 -1
- package/dist/translations/el.js +1 -1
- package/dist/translations/el.umd.js +1 -1
- package/dist/translations/en-au.js +1 -1
- package/dist/translations/en-au.umd.js +1 -1
- package/dist/translations/en-gb.js +1 -1
- package/dist/translations/en-gb.umd.js +1 -1
- package/dist/translations/en.js +1 -1
- package/dist/translations/en.umd.js +1 -1
- package/dist/translations/eo.js +1 -1
- package/dist/translations/eo.umd.js +1 -1
- package/dist/translations/es-co.js +1 -1
- package/dist/translations/es-co.umd.js +1 -1
- package/dist/translations/es.js +1 -1
- package/dist/translations/es.umd.js +1 -1
- package/dist/translations/et.js +1 -1
- package/dist/translations/et.umd.js +1 -1
- package/dist/translations/eu.js +1 -1
- package/dist/translations/eu.umd.js +1 -1
- package/dist/translations/fa.js +1 -1
- package/dist/translations/fa.umd.js +1 -1
- package/dist/translations/fi.js +1 -1
- package/dist/translations/fi.umd.js +1 -1
- package/dist/translations/fr.js +1 -1
- package/dist/translations/fr.umd.js +1 -1
- package/dist/translations/gl.js +1 -1
- package/dist/translations/gl.umd.js +1 -1
- package/dist/translations/gu.js +1 -1
- package/dist/translations/gu.umd.js +1 -1
- package/dist/translations/he.js +1 -1
- package/dist/translations/he.umd.js +1 -1
- package/dist/translations/hi.js +1 -1
- package/dist/translations/hi.umd.js +1 -1
- package/dist/translations/hr.js +1 -1
- package/dist/translations/hr.umd.js +1 -1
- package/dist/translations/hu.js +1 -1
- package/dist/translations/hu.umd.js +1 -1
- package/dist/translations/hy.js +1 -1
- package/dist/translations/hy.umd.js +1 -1
- package/dist/translations/id.js +1 -1
- package/dist/translations/id.umd.js +1 -1
- package/dist/translations/it.js +1 -1
- package/dist/translations/it.umd.js +1 -1
- package/dist/translations/ja.js +1 -1
- package/dist/translations/ja.umd.js +1 -1
- package/dist/translations/jv.js +1 -1
- package/dist/translations/jv.umd.js +1 -1
- package/dist/translations/kk.js +1 -1
- package/dist/translations/kk.umd.js +1 -1
- package/dist/translations/km.js +1 -1
- package/dist/translations/km.umd.js +1 -1
- package/dist/translations/kn.js +1 -1
- package/dist/translations/kn.umd.js +1 -1
- package/dist/translations/ko.js +1 -1
- package/dist/translations/ko.umd.js +1 -1
- package/dist/translations/ku.js +1 -1
- package/dist/translations/ku.umd.js +1 -1
- package/dist/translations/lt.js +1 -1
- package/dist/translations/lt.umd.js +1 -1
- package/dist/translations/lv.js +1 -1
- package/dist/translations/lv.umd.js +1 -1
- package/dist/translations/ms.js +1 -1
- package/dist/translations/ms.umd.js +1 -1
- package/dist/translations/nb.js +1 -1
- package/dist/translations/nb.umd.js +1 -1
- package/dist/translations/ne.js +1 -1
- package/dist/translations/ne.umd.js +1 -1
- package/dist/translations/nl.js +1 -1
- package/dist/translations/nl.umd.js +1 -1
- package/dist/translations/no.js +1 -1
- package/dist/translations/no.umd.js +1 -1
- package/dist/translations/oc.js +1 -1
- package/dist/translations/oc.umd.js +1 -1
- package/dist/translations/pl.js +1 -1
- package/dist/translations/pl.umd.js +1 -1
- package/dist/translations/pt-br.js +1 -1
- package/dist/translations/pt-br.umd.js +1 -1
- package/dist/translations/pt.js +1 -1
- package/dist/translations/pt.umd.js +1 -1
- package/dist/translations/ro.js +1 -1
- package/dist/translations/ro.umd.js +1 -1
- package/dist/translations/ru.js +1 -1
- package/dist/translations/ru.umd.js +1 -1
- package/dist/translations/si.js +1 -1
- package/dist/translations/si.umd.js +1 -1
- package/dist/translations/sk.js +1 -1
- package/dist/translations/sk.umd.js +1 -1
- package/dist/translations/sl.js +1 -1
- package/dist/translations/sl.umd.js +1 -1
- package/dist/translations/sq.js +1 -1
- package/dist/translations/sq.umd.js +1 -1
- package/dist/translations/sr-latn.js +1 -1
- package/dist/translations/sr-latn.umd.js +1 -1
- package/dist/translations/sr.js +1 -1
- package/dist/translations/sr.umd.js +1 -1
- package/dist/translations/sv.js +1 -1
- package/dist/translations/sv.umd.js +1 -1
- package/dist/translations/th.js +1 -1
- package/dist/translations/th.umd.js +1 -1
- package/dist/translations/ti.js +1 -1
- package/dist/translations/ti.umd.js +1 -1
- package/dist/translations/tk.js +1 -1
- package/dist/translations/tk.umd.js +1 -1
- package/dist/translations/tr.js +1 -1
- package/dist/translations/tr.umd.js +1 -1
- package/dist/translations/tt.js +1 -1
- package/dist/translations/tt.umd.js +1 -1
- package/dist/translations/ug.js +1 -1
- package/dist/translations/ug.umd.js +1 -1
- package/dist/translations/uk.js +1 -1
- package/dist/translations/uk.umd.js +1 -1
- package/dist/translations/ur.js +1 -1
- package/dist/translations/ur.umd.js +1 -1
- package/dist/translations/uz.js +1 -1
- package/dist/translations/uz.umd.js +1 -1
- package/dist/translations/vi.js +1 -1
- package/dist/translations/vi.umd.js +1 -1
- package/dist/translations/zh-cn.js +1 -1
- package/dist/translations/zh-cn.umd.js +1 -1
- package/dist/translations/zh.js +1 -1
- package/dist/translations/zh.umd.js +1 -1
- package/package.json +9 -9
- package/src/commands/insertfootnotecommand.js +1 -1
- package/src/footnotes.js +1 -1
- package/src/footnotesclipboard.js +1 -1
- package/src/footnotesediting.js +1 -1
- package/src/footnotesproperties/commands/footnotesstartcommand.js +1 -1
- package/src/footnotesproperties/commands/footnotesstylecommand.js +1 -1
- package/src/footnotesproperties/footnotespropertiesconfig.js +1 -1
- package/src/footnotesproperties/footnotespropertiesediting.js +1 -1
- package/src/footnotesproperties/footnotespropertiesui.js +1 -1
- package/src/footnotesproperties/ui/footnotesdefinitionspropertiesview.js +1 -1
- package/src/footnotesproperties.js +1 -1
- package/src/footnotestracker.js +1 -1
- package/src/footnotesui.js +1 -1
- package/src/index.js +1 -1
- package/src/modelelementtracker.js +1 -1
package/dist/index.js
CHANGED
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
import{Plugin as _0x3b5879,Command as _0x1a991f}from'@ckeditor/ckeditor5-core/dist/index.js';import{toWidget as _0x8981ad,isWidget as _0x2afee8,toWidgetEditable as _0x53dc40,WidgetToolbarRepository as _0x1a9f11}from'@ckeditor/ckeditor5-widget/dist/index.js';import{uid as _0x129648,logWarning as _0x987833,FocusTracker as ot,KeystrokeHandler as rt,global as nt}from'@ckeditor/ckeditor5-utils/dist/index.js';import{PointerObserver as _0x5d15c3,ClickObserver as _0x1b9e8c}from'@ckeditor/ckeditor5-engine/dist/index.js';import{ClipboardPipeline as _0x127ebf}from'@ckeditor/ckeditor5-clipboard/dist/index.js';import{MenuBarMenuListItemButtonView as _0x5d2d85,ButtonView as _0x2f2617,View as _0x3f7073,ViewCollection as _0x360b82,FocusCycler as _0x22757e,addKeyboardHandlingForGrid as tt,CollapsibleView as st,LabeledFieldView as it,createLabeledInputNumber as et,ContextualBalloon as _0x4c98ef,BalloonPanelView as _0x1d51c5,createDropdown as _0x13e300}from'@ckeditor/ckeditor5-ui/dist/index.js';import{IconFootnote as _0x58eb75,IconListStyleDecimal as _0x20ef4c,IconListStyleDecimalLeadingZero as _0x4aeb21,IconListStyleLowerRoman as _0x5e236c,IconListStyleUpperRoman as _0x4181ae,IconListStyleLowerLatin as _0x405426,IconListStyleUpperLatin as _0x49bbe8}from'@ckeditor/ckeditor5-icons/dist/index.js';class F{['_model'];['_elementName'];['_getElementKey'];['_trackedElements']=new Map();constructor(_0x19f7ee,_0x397259){this['_model']=_0x19f7ee,this['_elementName']=_0x397259['elementName'],this['_getElementKey']=_0x397259['getElementKey'];}['reset'](){this['_trackedElements']['clear']();}['getChanges'](_0x54f067){const _0x7d3535=new Set(),_0x2374f7=new Map();for(const _0x8a810c of _0x54f067){if('insert'===_0x8a810c['type']&&'$text'!==_0x8a810c['name']&&_0x8a810c['position']['nodeAfter']){const _0x39eddd=this['_model']['createRangeOn'](_0x8a810c['position']['nodeAfter']);for(const _0x28ddab of _0x39eddd['getItems']()){if(!_0x28ddab['is']('element',this['_elementName']))continue;const _0x2962ea=this['_getElementKey'](_0x28ddab);_0x2374f7['has'](_0x2962ea)||_0x2374f7['set'](_0x2962ea,[]),_0x2374f7['get'](_0x2962ea)['push'](_0x28ddab);}}if('remove'===_0x8a810c['type']&&_0x8a810c['name']===this['_elementName']){const _0x5f5a91=this['_getElementKey']({'getAttribute':_0x5d6f45=>_0x8a810c['attributes']['get'](_0x5d6f45)});_0x7d3535['add'](_0x5f5a91);}}for(const [_0x5954bd,_0x4a347a]of this['_trackedElements'])'$graveyard'===_0x4a347a['root']['rootName']&&_0x7d3535['add'](_0x5954bd);for(const _0x5c6ee4 of _0x7d3535)this['_trackedElements']['delete'](_0x5c6ee4);for(const [_0x2ba1a4,_0x2ce9e7]of _0x2374f7)this['_trackedElements']['set'](_0x2ba1a4,_0x2ce9e7[_0x2ce9e7['length']-0x1]);const _0x3eeb56=new Set();for(const [_0x336f80,_0x207806]of _0x2374f7)_0x7d3535['has'](_0x336f80)&&(_0x3eeb56['add'](_0x207806[0x0]),_0x207806['length']>0x1?_0x2374f7['set'](_0x336f80,_0x207806['slice'](0x1)):_0x2374f7['delete'](_0x336f80),_0x7d3535['delete'](_0x336f80));return{'removed':Array['from'](_0x7d3535),'inserted':Array['from'](_0x2374f7['values']())['flat'](),'moved':Array['from'](_0x3eeb56)};}}class c extends _0x3b5879{['_footnotes']=[];['_footnotesDefinitions']=null;['_footnoteFormatter']=null;['_footnoteDefsContainerTracker'];['_footnoteRefsTracker'];['_footnoteDefsTracker'];static get['pluginName'](){return'FootnotesTracker';}static get['isOfficialPlugin'](){return!0x0;}static get['isPremiumPlugin'](){return!0x0;}constructor(_0x345f82){super(_0x345f82),this['_footnoteDefsContainerTracker']=new F(this['editor']['model'],{'elementName':'footnotesDefinitions','getElementKey':()=>'singleton'}),this['_footnoteRefsTracker']=new F(this['editor']['model'],{'elementName':'footnoteRef','getElementKey':_0x5ccfde=>_0x5ccfde['getAttribute']('footnoteId')}),this['_footnoteDefsTracker']=new F(this['editor']['model'],{'elementName':'footnoteDefinition','getElementKey':_0x6ae2c0=>_0x6ae2c0['getAttribute']('footnoteId')});}['init'](){const {editor:_0x1763df}=this,{model:_0xdb6fe8,data:_0x4b5927}=_0x1763df;_0xdb6fe8['document']['registerPostFixer'](_0x4e7d63=>{const _0xed79bc=_0xdb6fe8['document']['differ']['getChanges']();let _0x199301=!0x1;return this['_handleFootnotesDefinitionsObjectChanges'](_0x4e7d63,_0xed79bc)&&(_0x199301=!0x0),this['_handleFootnoteDefinitionsChanges'](_0x4e7d63,_0xed79bc)&&(_0x199301=!0x0),this['_handleFootnoteReferencesChanges'](_0x4e7d63,_0xed79bc)&&(_0x199301=!0x0),this['_ensureFootnotesReferencesHaveProperOrder'](_0x4e7d63)&&(_0x199301=!0x0),this['_handleFootnotesDefinitionsObjectSync'](_0x4e7d63)&&(_0x199301=!0x0),this['_sortFootnoteDefinitions'](_0x4e7d63)&&(_0x199301=!0x0),_0x199301;}),this['listenTo'](_0xdb6fe8['document'],'change:data',()=>{_0xdb6fe8['enqueueChange']({'isUndoable':!0x1},_0x2f1d44=>{this['_ensureFootnotesDefinitionsContainerExists'](_0x2f1d44);});},{'priority':'low'}),this['listenTo'](_0x4b5927,'set',()=>{this['_footnotes']=[],this['_footnoteDefsContainerTracker']['reset'](),this['_footnoteRefsTracker']['reset'](),this['_footnoteDefsTracker']['reset']();},{'priority':'high'});}['getFootnotesDefinitionsObjectElement'](){return this['_footnotesDefinitions'];}['getFootnote'](_0x5c4fcd){return this['_footnotes']['find'](_0x1d34ed=>_0x1d34ed['id']===_0x5c4fcd)||null;}['getFootnotes'](){return Array['from'](this['_footnotes']);}['getFootnotesFormatter'](){return this['_footnoteFormatter'];}['setFootnoteFormatter'](_0x56da6c){this['_footnoteFormatter']=_0x56da6c;}['_updateFootnotesCounters'](_0x3a9a69,_0x5e0d6d=0x0){let _0x5ad9dd=!0x1;for(let _0x4ebe60=_0x5e0d6d;_0x4ebe60<this['_footnotes']['length'];_0x4ebe60++)this['_updateFootnoteRefCounter'](_0x3a9a69,_0x4ebe60)&&(_0x5ad9dd=!0x0);return _0x5ad9dd;}['_insertEmptyFootnotesDefinitionsContainer'](_0x37e382,_0x1cd626){const _0x49b4df=_0x37e382['createElement']('footnotesDefinitions',{});return _0x37e382['append'](_0x49b4df,_0x1cd626),this['_footnotesDefinitions']=_0x49b4df,_0x49b4df;}['_ensureFootnotesDefinitionsContainerExists'](_0x14db8a){if(!this['_footnotes']['length']||this['_footnotesDefinitions'])return;const _0x2dedfd=this['_footnotes'][0x0]['reference']['root'],_0x407d74=this['_insertEmptyFootnotesDefinitionsContainer'](_0x14db8a,_0x2dedfd);for(const _0x3dea55 of this['_footnotes'])_0x3dea55['definition']['parent']||_0x14db8a['insert'](_0x3dea55['definition'],_0x407d74,'end');this['_updateFootnotesCounters'](_0x14db8a);}['_handleFootnotesDefinitionsObjectChanges'](_0x16719e,_0x303f2b){let _0x217026=!0x1;const {inserted:_0x190642,removed:_0x51cead,moved:_0x44c6a2}=this['_footnoteDefsContainerTracker']['getChanges'](_0x303f2b);if(_0x44c6a2['length']&&(this['_footnotesDefinitions']=_0x44c6a2[0x0]),_0x190642['length']){if(_0x190642['length']>0x1||this['_footnotesDefinitions']&&_0x190642['some'](_0x142a6a=>_0x142a6a!==this['_footnotesDefinitions'])){const _0x2c08b1=_0x16719e['createElement']('footnotesDefinitions',{}),_0x2581eb=[];this['_footnotesDefinitions']&&_0x2581eb['push'](this['_footnotesDefinitions']),_0x2581eb['push'](..._0x190642),_0x16719e['insert'](_0x2c08b1,_0x2581eb[0x0],'before');for(const _0x34ced1 of _0x2581eb)_0x16719e['move'](_0x16719e['createRangeIn'](_0x34ced1),_0x16719e['createPositionAt'](_0x2c08b1,'end')),_0x16719e['remove'](_0x34ced1);this['_footnotesDefinitions']=_0x2c08b1,this['_updateFootnotesCounters'](_0x16719e),_0x217026=!0x0;}else this['_footnotesDefinitions']=_0x190642[0x0];}if(_0x51cead['length']&&'$graveyard'===this['_footnotesDefinitions']?.['root']['rootName']){for(const _0x1ba66d of this['_footnotes'])_0x16719e['remove'](_0x1ba66d['reference']),_0x217026=!0x0;this['_footnotes']=[],this['_footnotesDefinitions']=null;}return _0x217026;}['_handleFootnoteDefinitionsChanges'](_0x349e74,_0x5c75e0){let _0x22d323=!0x1;const _0x28897f=this['editor']['config']['get']('footnotes.multiBlock'),{inserted:_0x3aeca1,moved:_0x41e1f6}=this['_footnoteDefsTracker']['getChanges'](_0x5c75e0);for(const _0x54e094 of[..._0x41e1f6,..._0x3aeca1]){const _0x46633c=_0x54e094['getAttribute']('footnoteId'),_0x16dfb0=this['getFootnote'](_0x46633c);_0x16dfb0&&(_0x16dfb0['definition']=_0x54e094),_(_0x349e74,_0x28897f,_0x54e094)&&(_0x22d323=!0x0);}return _0x22d323;}['_handleFootnoteReferencesChanges'](_0x105496,_0x5e6a96){let _0x3e5b29=!0x1;const {removed:_0x335839,inserted:_0x28062c,moved:_0x312db6}=this['_footnoteRefsTracker']['getChanges'](_0x5e6a96);for(const _0x114424 of _0x335839)this['_handleRemoveFootnoteReferenceById'](_0x105496,_0x114424)&&(_0x3e5b29=!0x0);for(const _0x4f926c of _0x28062c)this['_handleInsertedFootnoteReference'](_0x105496,_0x4f926c)&&(_0x3e5b29=!0x0);for(const _0x540546 of _0x312db6)this['_handleMovedFootnoteReference'](_0x105496,_0x540546)&&(_0x3e5b29=!0x0);return _0x3e5b29;}['_handleFootnotesDefinitionsObjectSync'](_0x2a7aaf){if(!this['_footnotesDefinitions'])return!0x1;let _0xac790f=!0x1;if(this['_footnotesDefinitions']['childCount']!==this['_footnotes']['length']){const _0x231e7e=[];for(const _0x27c34b of this['_footnotesDefinitions']['getChildren']()){const _0x4ce197=_0x27c34b['getAttribute']('footnoteId');this['getFootnote'](_0x4ce197)||(_0x231e7e['unshift'](_0x27c34b),_0xac790f=!0x0);}for(const _0x32038b of _0x231e7e)_0x2a7aaf['remove'](_0x32038b);}const _0x2e7447=new Set(),_0x29dcd9=[];for(const _0x17e498 of this['_footnotesDefinitions']['getChildren']()){const _0x225897=_0x17e498['getAttribute']('footnoteId');_0x2e7447['has'](_0x225897)?(_0x29dcd9['unshift'](_0x17e498),_0xac790f=!0x0):_0x2e7447['add'](_0x225897);}for(const _0x3a5faf of _0x29dcd9)_0x2a7aaf['remove'](_0x3a5faf);return this['_footnotesDefinitions']['childCount']||(_0x2a7aaf['remove'](this['_footnotesDefinitions']),this['_footnotesDefinitions']=null,_0xac790f=!0x0),_0xac790f;}['_handleInsertedFootnoteReference'](_0x533b80,_0x26ae70){if(this['_footnotes']['find'](_0x20f991=>_0x20f991['reference']===_0x26ae70))return!0x1;let _0x2e514a=!0x1;const _0x5e590b=_0x26ae70['getAttribute']('footnoteId'),_0x12ff30=this['_footnotes']['findIndex'](_0x4fad05=>_0x4fad05['id']===_0x5e590b);-0x1!==_0x12ff30&&(_0x533b80['remove'](this['_footnotes'][_0x12ff30]['reference']),this['_footnotes']['splice'](_0x12ff30,0x1),_0x2e514a=!0x0);let _0x1f589b=this['_footnotesDefinitions']?function(_0x2d057e,_0xa987a1){for(const _0x44e9d0 of _0x2d057e['getChildren']())if(_0x44e9d0['getAttribute']('footnoteId')===_0xa987a1)return _0x44e9d0;return null;}(this['_footnotesDefinitions'],_0x5e590b):null;_0x1f589b||(_0x1f589b=_0x533b80['createElement']('footnoteDefinition',{'footnoteId':_0x5e590b}),this['_footnotesDefinitions']&&(_0x533b80['insert'](_0x1f589b,this['_footnotesDefinitions'],'end'),_0x2e514a=!0x0));const _0x2d1d2e={'id':_0x5e590b,'reference':_0x26ae70,'definition':_0x1f589b},_0x426e96=I(this['editor']['model'],this['_footnotes'],_0x26ae70);this['_footnotes']['splice'](_0x426e96,0x0,_0x2d1d2e);let _0x1e7c73=_0x426e96;return-0x1!==_0x12ff30&&(_0x1e7c73=Math['min'](_0x426e96,_0x12ff30)),this['_updateFootnotesCounters'](_0x533b80,_0x1e7c73)&&(_0x2e514a=!0x0),_0x2e514a;}['_handleRemoveFootnoteReferenceById'](_0x10a1bf,_0xdbf41e){const _0x11df5c=this['_footnotes']['findIndex'](_0x54b24e=>_0x54b24e['id']===_0xdbf41e);if(-0x1===_0x11df5c)return!0x1;let _0x2abedc=!0x1;const _0x2b1419=this['_footnotes'][_0x11df5c];return'$graveyard'!==_0x2b1419['definition']['root']['rootName']&&(_0x10a1bf['remove'](_0x2b1419['definition']),_0x2abedc=!0x0),this['_footnotes']['splice'](_0x11df5c,0x1),this['_updateFootnotesCounters'](_0x10a1bf,_0x11df5c)&&(_0x2abedc=!0x0),_0x2abedc;}['_handleMovedFootnoteReference'](_0x24e8bd,_0x2e74df){const _0x3a736b=_0x2e74df['getAttribute']('footnoteId'),_0x1029e7=this['_footnotes']['findIndex'](_0x33982d=>_0x33982d['id']===_0x3a736b),_0x3705ee=this['_footnotes'][_0x1029e7];let _0xc49556=!0x1;_0x3705ee['reference']=_0x2e74df,this['_footnotes']['splice'](_0x1029e7,0x1);const _0x50c084=I(this['editor']['model'],this['_footnotes'],_0x2e74df);return this['_footnotes']['splice'](_0x50c084,0x0,_0x3705ee),this['_updateFootnotesCounters'](_0x24e8bd,Math['min'](_0x1029e7,_0x50c084))&&(_0xc49556=!0x0),_0xc49556;}['_updateFootnoteRefCounter'](_0x4114f2,_0x115f4a){if(!this['_footnotesDefinitions'])return!0x1;const _0x4332d0=this['_footnotes'][_0x115f4a];let _0x3d866d;return _0x3d866d=this['_footnoteFormatter']?this['_footnoteFormatter']({'footnote':_0x4332d0,'container':this['_footnotesDefinitions'],'digits':String(this['_footnotes']['length'])['length'],'value':_0x115f4a+0x1}):String(_0x115f4a+0x1),_0x4332d0['reference']['getAttribute']('footnoteCounter')!=_0x3d866d&&(_0x4114f2['setAttribute']('footnoteCounter',_0x3d866d,_0x4332d0['reference']),!0x0);}['_sortFootnoteDefinitions'](_0x24a1a2){if(!this['_footnotesDefinitions']||this['_footnotes']['length']<0x2)return!0x1;if(function(_0x5b6ce7,_0x4c06c7){if(_0x5b6ce7['length']!==_0x4c06c7['length'])return!0x1;for(let _0x4a0e5a=0x0;_0x4a0e5a<_0x5b6ce7['length'];_0x4a0e5a++)if(_0x5b6ce7[_0x4a0e5a]!==_0x4c06c7[_0x4a0e5a])return!0x1;return!0x0;}(this['_footnotes']['map'](_0x537c50=>_0x537c50['id']),Array['from'](this['_footnotesDefinitions']['getChildren']())['map'](_0x3f3827=>_0x3f3827['getAttribute']('footnoteId'))))return!0x1;let _0xae7042=!0x1;for(let _0x4e7af5=0x0;_0x4e7af5<this['_footnotes']['length'];_0x4e7af5++){const _0x4bbd3e=this['_footnotes'][_0x4e7af5],_0x5ebfff=_0x24a1a2['createPositionBefore'](_0x4bbd3e['definition']),_0x3a36a8=_0x24a1a2['createPositionAt'](this['_footnotesDefinitions'],_0x4e7af5);_0x5ebfff['isEqual'](_0x3a36a8)||(_0x24a1a2['move'](_0x24a1a2['createRangeOn'](_0x4bbd3e['definition']),_0x3a36a8),_0xae7042=!0x0);}return _0xae7042;}['_ensureFootnotesReferencesHaveProperOrder'](_0x24cec8){if(!this['_footnotes']['length'])return!0x1;const {model:_0x33fe92}=this['editor'];let _0x156b2d=!0x1;for(let _0x3c97ab=0x0;_0x3c97ab<this['_footnotes']['length']-0x1;_0x3c97ab++){const _0x183018=this['_footnotes'][_0x3c97ab],_0x19bf68=this['_footnotes'][_0x3c97ab+0x1],_0x127cc2=_0x33fe92['createPositionBefore'](_0x183018['reference']),_0x55fd7d=_0x33fe92['createPositionBefore'](_0x19bf68['reference']);'after'===_0x127cc2['compareWith'](_0x55fd7d)&&(this['_handleMovedFootnoteReference'](_0x24cec8,_0x183018['reference']),_0x3c97ab=-0x1,_0x156b2d=!0x0);}return _0x156b2d;}}function _(_0x7cd043,_0x5f1479,_0x10419e){if(_0x10419e['childCount'])return!0x1;const _0x3cf5f3=_0x5f1479?'paragraph':'footnoteInlineContent';return _0x7cd043['insert'](_0x7cd043['createElement'](_0x3cf5f3),_0x10419e),!0x0;}function I(_0x2b3429,_0x31c680,_0x4e3ae5){if(0x0===_0x31c680['length'])return 0x0;const _0x9f4da8=_0x2b3429['createPositionBefore'](_0x4e3ae5);for(let _0x45b955=0x0;_0x45b955<_0x31c680['length'];_0x45b955++){const _0x504499=_0x31c680[_0x45b955],_0x9ffd6=_0x2b3429['createPositionBefore'](_0x504499['reference']);if('before'===_0x9f4da8['compareWith'](_0x9ffd6))return _0x45b955;}const _0x5136fb=_0x4e3ae5['root'];let _0x44b6bf=-0x1;for(let _0x546187=_0x31c680['length']-0x1;_0x546187>=0x0;_0x546187--)if(_0x31c680[_0x546187]['reference']['root']===_0x5136fb){_0x44b6bf=_0x546187;break;}if(-0x1!==_0x44b6bf)return _0x44b6bf+0x1;const _0x20a5de=_0x2b3429['document']['getRootNames'](),_0x3d4aa4=_0x20a5de['indexOf'](_0x5136fb['rootName']),_0x5c0f2a=_0x20a5de[_0x3d4aa4+0x1];if(_0x5c0f2a){for(let _0x94438=0x0;_0x94438<_0x31c680['length'];_0x94438++)if(_0x31c680[_0x94438]['reference']['root']['rootName']===_0x5c0f2a)return _0x94438;}return _0x31c680['length'];}class m extends _0x1a991f{['refresh'](){const _0x53cfec=this['editor']['model']['document']['selection'],_0x3365a3=this['_getPositionToInsertFootnote'](_0x53cfec);this['isEnabled']=!!_0x3365a3;}['execute'](_0x23a472){const {editor:_0x526900}=this,{model:_0x5e1509}=_0x526900,{selection:_0x1e07ae}=_0x5e1509['document'],_0x2c97dc=this['_getPositionToInsertFootnote'](_0x1e07ae);if(!_0x2c97dc)return;const _0x181ff7=_0x526900['plugins']['get']('FootnotesEditing'),_0x21e412=_0x23a472?.['footnoteId']??_0x129648();!function(_0x20074f){return'string'==typeof _0x20074f&&_0x20074f['length']>0x0&&!/\s/['test'](_0x20074f)&&!/^\d/['test'](_0x20074f);}(_0x21e412)?_0x987833('insert-footnote-command-executed-with-invalid-id'):(_0x5e1509['change'](_0x2da295=>{const _0x5d5c4c=_0x2da295['createElement']('footnoteRef',{'footnoteId':_0x21e412});_0x5e1509['insertObject'](_0x5d5c4c,_0x2c97dc,null);}),_0x181ff7['_moveSelectionToFootnoteDefinition'](_0x21e412));}['_getPositionToInsertFootnote'](_0x29ae11){const {model:_0x5487fc}=this['editor'],{schema:_0x5d4bb4}=_0x5487fc,_0x9732e8=_0x29ae11['getFirstRange']();for(const _0x3e2406 of _0x9732e8['getItems']())if(_0x5d4bb4['isBlock'](_0x3e2406)||_0x5d4bb4['isObject'](_0x3e2406))return null;const _0x263703=_0x9732e8['end'];return _0x5d4bb4['checkChild'](_0x263703,'footnoteRef')?_0x263703:null;}}class r extends _0x3b5879{static get['pluginName'](){return'FootnotesEditing';}static get['requires'](){return[c];}static get['isOfficialPlugin'](){return!0x0;}static get['isPremiumPlugin'](){return!0x0;}['init'](){const {editor:_0x3d0cdf}=this;_0x3d0cdf['config']['define']('footnotes.multiBlock',!0x0),_0x3d0cdf['commands']['add']('insertFootnote',new m(_0x3d0cdf)),this['_defineSchema'](),this['_defineRefsConverters'](),this['_defineDefinitionsConverters'](),this['_defineDefinitionConverters'](),this['_defineBogusParagraphConverters'](),this['_defineKeyboardHandlers'](),this['_defineClickHandlers']();}['afterInit'](){!async function(_0x285e27){const _0x2e9606=_0x5bff3e([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]),_0x513c00=0x47a28506,_0xb7bba9=0x47a5ff36^_0x513c00,_0x23b4f8=window[_0x5bff3e([0x44,0x61,0x74,0x65])][_0x5bff3e([0x6e,0x6f,0x77])](),_0x10f764=_0x285e27[_0x5bff3e([0x65,0x64,0x69,0x74,0x6f,0x72])],_0x59770b=new window[(_0x5bff3e([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0x2c8002=>{_0x10f764[_0x5bff3e([0x6f,0x6e,0x63,0x65])](_0x5bff3e([0x72,0x65,0x61,0x64,0x79]),_0x2c8002);}),_0x55f573={[_0x5bff3e([0x6b,0x74,0x79])]:_0x5bff3e([0x45,0x43]),[_0x5bff3e([0x75,0x73,0x65])]:_0x5bff3e([0x73,0x69,0x67]),[_0x5bff3e([0x63,0x72,0x76])]:_0x5bff3e([0x50,0x2d,0x32,0x35,0x36]),[_0x5bff3e([0x78])]:_0x5bff3e([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]),[_0x5bff3e([0x79])]:_0x5bff3e([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]),[_0x5bff3e([0x61,0x6c,0x67])]:_0x5bff3e([0x45,0x53,0x32,0x35,0x36])},_0x267dab=_0x10f764[_0x5bff3e([0x63,0x6f,0x6e,0x66,0x69,0x67])][_0x5bff3e([0x67,0x65,0x74])](_0x5bff3e([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x4b,0x65,0x79]));async function _0xf67ad6(){let _0x286c96,_0x49a97c=null,_0x1da2fb=null;try{if(_0x267dab==_0x5bff3e([0x47,0x50,0x4c]))return _0x5bff3e([0x4e,0x6f,0x74,0x41,0x6c,0x6c,0x6f,0x77,0x65,0x64]);if(_0x286c96=_0x25b15f(),!_0x286c96)return _0x5bff3e([0x49,0x6e,0x76,0x61,0x6c,0x69,0x64]);return _0x286c96[_0x5bff3e([0x75,0x73,0x61,0x67,0x65,0x45,0x6e,0x64,0x70,0x6f,0x69,0x6e,0x74])]&&(_0x1da2fb=_0x3bad50(_0x286c96[_0x5bff3e([0x75,0x73,0x61,0x67,0x65,0x45,0x6e,0x64,0x70,0x6f,0x69,0x6e,0x74])],_0x286c96[_0x5bff3e([0x6a,0x74,0x69])])),await _0x10617b()?_0x294e61()?_0xe3bf99()?_0x5bff3e([0x45,0x78,0x70,0x69,0x72,0x65,0x64]):_0x24917c()?(_0x286c96[_0x5bff3e([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x54,0x79,0x70,0x65])]==_0x5bff3e([0x65,0x76,0x61,0x6c,0x75,0x61,0x74,0x69,0x6f,0x6e])&&(_0x49a97c=_0x532100(_0x5bff3e([0x45,0x76,0x61,0x6c,0x75,0x61,0x74,0x69,0x6f,0x6e,0x4c,0x69,0x6d,0x69,0x74]))),_0x286c96[_0x5bff3e([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x54,0x79,0x70,0x65])]==_0x5bff3e([0x74,0x72,0x69,0x61,0x6c])&&(_0x49a97c=_0x532100(_0x5bff3e([0x54,0x72,0x69,0x61,0x6c,0x4c,0x69,0x6d,0x69,0x74]))),await _0x570758()):_0x5bff3e([0x44,0x6f,0x6d,0x61,0x69,0x6e,0x4c,0x69,0x6d,0x69,0x74]):_0x5bff3e([0x4e,0x6f,0x74,0x41,0x6c,0x6c,0x6f,0x77,0x65,0x64]):_0x5bff3e([0x49,0x6e,0x76,0x61,0x6c,0x69,0x64]);}catch{return _0x5bff3e([0x49,0x6e,0x76,0x61,0x6c,0x69,0x64]);}function _0xe3bf99(){const _0x10d09e=[_0x5bff3e([0x65,0x76,0x61,0x6c,0x75,0x61,0x74,0x69,0x6f,0x6e]),_0x5bff3e([0x74,0x72,0x69,0x61,0x6c])][_0x5bff3e([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x286c96[_0x5bff3e([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x54,0x79,0x70,0x65])])?_0x23b4f8/0x3e8:0xe10*_0xb7bba9;return _0x286c96[_0x5bff3e([0x65,0x78,0x70])]<_0x10d09e;}function _0x294e61(){const _0x3ffb5b=_0x286c96[_0x5bff3e([0x66,0x65,0x61,0x74,0x75,0x72,0x65,0x73])];return!!_0x3ffb5b&&(!!_0x3ffb5b[_0x5bff3e([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x5bff3e([0x2a]))||!!_0x3ffb5b[_0x5bff3e([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x5bff3e([0x46,0x4f,0x4f])));}function _0x24917c(){const _0x50ffcb=_0x286c96[_0x5bff3e([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x64,0x48,0x6f,0x73,0x74,0x73])];if(!_0x50ffcb||0x0==_0x50ffcb[_0x5bff3e([0x6c,0x65,0x6e,0x67,0x74,0x68])])return!0x0;const {hostname:_0x5070d2}=new URL(window[_0x5bff3e([0x6c,0x6f,0x63,0x61,0x74,0x69,0x6f,0x6e])]['href']);if(_0x50ffcb[_0x5bff3e([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x5070d2))return!0x0;const _0x3ff23c=_0x5070d2[_0x5bff3e([0x73,0x70,0x6c,0x69,0x74])](_0x5bff3e([0x2e]));return _0x50ffcb[_0x5bff3e([0x66,0x69,0x6c,0x74,0x65,0x72])](_0x524bcc=>_0x524bcc[_0x5bff3e([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x5bff3e([0x2a])))[_0x5bff3e([0x6d,0x61,0x70])](_0x319fd8=>_0x319fd8[_0x5bff3e([0x73,0x70,0x6c,0x69,0x74])](_0x5bff3e([0x2e])))[_0x5bff3e([0x66,0x69,0x6c,0x74,0x65,0x72])](_0x5247ad=>_0x5247ad[_0x5bff3e([0x6c,0x65,0x6e,0x67,0x74,0x68])]<=_0x3ff23c[_0x5bff3e([0x6c,0x65,0x6e,0x67,0x74,0x68])])[_0x5bff3e([0x6d,0x61,0x70])](_0x1abbb9=>Array(_0x3ff23c[_0x5bff3e([0x6c,0x65,0x6e,0x67,0x74,0x68])]-_0x1abbb9[_0x5bff3e([0x6c,0x65,0x6e,0x67,0x74,0x68])])[_0x5bff3e([0x66,0x69,0x6c,0x6c])](_0x1abbb9[0x0]===_0x5bff3e([0x2a])?_0x5bff3e([0x2a]):'')[_0x5bff3e([0x63,0x6f,0x6e,0x63,0x61,0x74])](_0x1abbb9))[_0x5bff3e([0x73,0x6f,0x6d,0x65])](_0x2a44a0=>_0x3ff23c[_0x5bff3e([0x65,0x76,0x65,0x72,0x79])]((_0x589ba5,_0x4f263f)=>_0x2a44a0[_0x4f263f]===_0x589ba5||_0x2a44a0[_0x4f263f]===_0x5bff3e([0x2a])));}function _0x570758(){return _0x49a97c&&_0x1da2fb?new window[(_0x5bff3e([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))]((_0x509d9d,_0x389254)=>{_0x49a97c[_0x5bff3e([0x74,0x68,0x65,0x6e])](_0x509d9d,_0x389254),_0x1da2fb[_0x5bff3e([0x74,0x68,0x65,0x6e])](_0xd31e94=>{_0xd31e94!=_0x5bff3e([0x56,0x61,0x6c,0x69,0x64])&&_0x509d9d(_0xd31e94);},_0x389254);}):_0x49a97c||_0x1da2fb||_0x5bff3e([0x56,0x61,0x6c,0x69,0x64]);}}function _0x3bad50(_0x5d9d06,_0x3f3c66){return new window[(_0x5bff3e([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0x5255d4=>{if(_0x462387())return _0x5255d4(_0x5bff3e([0x56,0x61,0x6c,0x69,0x64]));_0x24d5ce(),_0x10f764[_0x5bff3e([0x64,0x65,0x63,0x6f,0x72,0x61,0x74,0x65])](_0x5bff3e([0x5f,0x73,0x65,0x6e,0x64,0x55,0x73,0x61,0x67,0x65,0x52,0x65,0x71,0x75,0x65,0x73,0x74]));let _0x16a00a=!0x1;const _0x4c73e4=_0x129648();function _0xfe2f8c(_0x277233){return!!_0x277233&&(typeof _0x277233===_0x5bff3e([0x6f,0x62,0x6a,0x65,0x63,0x74])||typeof _0x277233===_0x5bff3e([0x66,0x75,0x6e,0x63,0x74,0x69,0x6f,0x6e]))&&typeof _0x277233[_0x5bff3e([0x74,0x68,0x65,0x6e])]===_0x5bff3e([0x66,0x75,0x6e,0x63,0x74,0x69,0x6f,0x6e])&&typeof _0x277233[_0x5bff3e([0x63,0x61,0x74,0x63,0x68])]===_0x5bff3e([0x66,0x75,0x6e,0x63,0x74,0x69,0x6f,0x6e]);}function _0x4a5d99(_0x16188b){_0x365a22(_0x16188b)[_0x5bff3e([0x74,0x68,0x65,0x6e])](_0x510fb2=>{if(!_0x510fb2||_0x510fb2[_0x5bff3e([0x73,0x74,0x61,0x74,0x75,0x73])]!=_0x5bff3e([0x6f,0x6b]))return _0x5bff3e([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]);return _0x1a6e49(_0x27b2b3(_0x4c73e4+_0x3f3c66))!=_0x510fb2[_0x5bff3e([0x76,0x65,0x72,0x69,0x66,0x69,0x63,0x61,0x74,0x69,0x6f,0x6e])]?_0x5bff3e([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]):_0x5bff3e([0x56,0x61,0x6c,0x69,0x64]);})[_0x5bff3e([0x74,0x68,0x65,0x6e])](_0x2974c0=>(_0x236748(),_0x2974c0),()=>{const _0x301b58=_0x59e127();return null==_0x301b58?(_0x236748(),_0x5bff3e([0x56,0x61,0x6c,0x69,0x64])):_0x5bff3e(_0x23b4f8-_0x301b58>(0x63ae0106^_0x513c00)?[0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]:[0x56,0x61,0x6c,0x69,0x64]);})[_0x5bff3e([0x74,0x68,0x65,0x6e])](_0x5255d4)[_0x5bff3e([0x63,0x61,0x74,0x63,0x68])](()=>{_0x5255d4(_0x5bff3e([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]));});const _0x15fa95=0x47946b86^_0x513c00;function _0x236748(){const _0x2102d8=_0x5bff3e([0x6c,0x6c,0x63,0x74,0x2d])+_0x1a6e49(_0x27b2b3(_0x5d9d06)),_0x153bb1=_0x2de009(_0x1a6e49(window[_0x5bff3e([0x4d,0x61,0x74,0x68])][_0x5bff3e([0x63,0x65,0x69,0x6c])](_0x23b4f8/_0x15fa95)));window[_0x5bff3e([0x6c,0x6f,0x63,0x61,0x6c,0x53,0x74,0x6f,0x72,0x61,0x67,0x65])][_0x5bff3e([0x73,0x65,0x74,0x49,0x74,0x65,0x6d])](_0x2102d8,_0x153bb1);}function _0x59e127(){const _0x560877=_0x5bff3e([0x6c,0x6c,0x63,0x74,0x2d])+_0x1a6e49(_0x27b2b3(_0x5d9d06)),_0x38b053=window[_0x5bff3e([0x6c,0x6f,0x63,0x61,0x6c,0x53,0x74,0x6f,0x72,0x61,0x67,0x65])][_0x5bff3e([0x67,0x65,0x74,0x49,0x74,0x65,0x6d])](_0x560877);return _0x38b053?window[_0x5bff3e([0x70,0x61,0x72,0x73,0x65,0x49,0x6e,0x74])](_0x2de009(_0x38b053),0x10)*_0x15fa95:null;}function _0x365a22(_0x264def){return new window[(_0x5bff3e([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))]((_0x5c7e04,_0xabcb6a)=>{_0x264def[_0x5bff3e([0x74,0x68,0x65,0x6e])](_0x5c7e04,_0xabcb6a),window[_0x5bff3e([0x73,0x65,0x74,0x54,0x69,0x6d,0x65,0x6f,0x75,0x74])](_0xabcb6a,0x47a351c6^_0x513c00);});}}_0x10f764[_0x5bff3e([0x6f,0x6e])](_0x5bff3e([0x5f,0x73,0x65,0x6e,0x64,0x55,0x73,0x61,0x67,0x65,0x52,0x65,0x71,0x75,0x65,0x73,0x74]),(_0x2f44ce,_0x5732bd)=>{if(_0x5732bd[0x0]!=_0x5d9d06)return _0x5255d4(_0x5bff3e([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]));_0x5732bd[0x1]={..._0x5732bd[0x1],[_0x5bff3e([0x72,0x65,0x71,0x75,0x65,0x73,0x74,0x49,0x64])]:_0x4c73e4};},{[_0x5bff3e([0x70,0x72,0x69,0x6f,0x72,0x69,0x74,0x79])]:_0x5bff3e([0x68,0x69,0x67,0x68])}),_0x10f764[_0x5bff3e([0x6f,0x6e])](_0x5bff3e([0x5f,0x73,0x65,0x6e,0x64,0x55,0x73,0x61,0x67,0x65,0x52,0x65,0x71,0x75,0x65,0x73,0x74]),_0x45d00b=>{_0xfe2f8c(_0x45d00b[_0x5bff3e([0x72,0x65,0x74,0x75,0x72,0x6e])])&&(_0x16a00a=!0x0,_0x4a5d99(_0x45d00b[_0x5bff3e([0x72,0x65,0x74,0x75,0x72,0x6e])]));},{[_0x5bff3e([0x70,0x72,0x69,0x6f,0x72,0x69,0x74,0x79])]:_0x5bff3e([0x6c,0x6f,0x77])}),_0x59770b[_0x5bff3e([0x74,0x68,0x65,0x6e])](()=>{_0x16a00a||_0x5255d4(_0x5bff3e([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]));});});function _0x462387(){return _0x10f764[_0x5bff3e([0x65,0x64,0x69,0x74,0x69,0x6e,0x67])][_0x5bff3e([0x76,0x69,0x65,0x77])][_0x5bff3e([0x5f,0x6f,0x76,0x65,0x72,0x6c,0x61,0x79,0x4d,0x6f,0x64,0x65,0x48,0x69,0x6e,0x74])]==_0x5bff3e([0x61,0x75,0x74,0x6f]);}function _0x24d5ce(){_0x10f764[_0x5bff3e([0x65,0x64,0x69,0x74,0x69,0x6e,0x67])][_0x5bff3e([0x76,0x69,0x65,0x77])][_0x5bff3e([0x5f,0x6f,0x76,0x65,0x72,0x6c,0x61,0x79,0x4d,0x6f,0x64,0x65,0x48,0x69,0x6e,0x74])]=_0x5bff3e([0x61,0x75,0x74,0x6f]);}}function _0x532100(_0x4ce5ca){const _0x1729ad=[new window[(_0x5bff3e([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0x470567=>setTimeout(_0x470567,0x47abbbca^_0x513c00)),_0x59770b[_0x5bff3e([0x74,0x68,0x65,0x6e])](()=>new window[(_0x5bff3e([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0x191991=>{let _0x25ffd7=0x0;_0x10f764[_0x5bff3e([0x6d,0x6f,0x64,0x65,0x6c])][_0x5bff3e([0x6f,0x6e])](_0x5bff3e([0x61,0x70,0x70,0x6c,0x79,0x4f,0x70,0x65,0x72,0x61,0x74,0x69,0x6f,0x6e]),(_0x57c621,_0x15ac30)=>{_0x15ac30[0x0][_0x5bff3e([0x69,0x73,0x44,0x6f,0x63,0x75,0x6d,0x65,0x6e,0x74,0x4f,0x70,0x65,0x72,0x61,0x74,0x69,0x6f,0x6e])]&&_0x25ffd7++,_0x25ffd7==(0x47a284fe^_0x513c00)&&(_0x191991(),_0x57c621[_0x5bff3e([0x6f,0x66,0x66])]());});}))];return window[_0x5bff3e([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65])][_0x5bff3e([0x72,0x61,0x63,0x65])](_0x1729ad)[_0x5bff3e([0x74,0x68,0x65,0x6e])](()=>_0x4ce5ca);}async function _0x47633b(){await _0x59770b,_0x10f764[_0x5bff3e([0x6d,0x6f,0x64,0x65,0x6c])][_0x5bff3e([0x63,0x68,0x61,0x6e,0x67,0x65])]=_0x5aa219,_0x10f764[_0x5bff3e([0x6d,0x6f,0x64,0x65,0x6c])][_0x5bff3e([0x65,0x6e,0x71,0x75,0x65,0x75,0x65,0x43,0x68,0x61,0x6e,0x67,0x65])]=_0x5aa219,_0x10f764[_0x5bff3e([0x65,0x6e,0x61,0x62,0x6c,0x65,0x52,0x65,0x61,0x64,0x4f,0x6e,0x6c,0x79,0x4d,0x6f,0x64,0x65])](_0x5bff3e([0x6d,0x6f,0x64,0x65,0x6c]));}function _0x11b41d(_0x481efc){const _0x222dcb=_0x13c5dd();_0x10f764[_0x222dcb]=_0x5bff3e([0x66,0x6f,0x6f,0x74,0x6e,0x6f,0x74,0x65,0x73,0x4c,0x69,0x63,0x65,0x6e,0x73,0x65,0x4b,0x65,0x79])+_0x481efc,_0x481efc!=_0x5bff3e([0x56,0x61,0x6c,0x69,0x64])&&_0x47633b();}function _0x13c5dd(){const _0x476845=window[_0x5bff3e([0x53,0x74,0x72,0x69,0x6e,0x67])](window[_0x5bff3e([0x70,0x65,0x72,0x66,0x6f,0x72,0x6d,0x61,0x6e,0x63,0x65])][_0x5bff3e([0x6e,0x6f,0x77])]())[_0x5bff3e([0x72,0x65,0x70,0x6c,0x61,0x63,0x65])](_0x5bff3e([0x2e]),'');let _0x29dee0=_0x5bff3e([0x75]);for(let _0xd7133a=0x0;_0xd7133a<_0x476845[_0x5bff3e([0x6c,0x65,0x6e,0x67,0x74,0x68])];_0xd7133a+=0x2){let _0x10b62b=window[_0x5bff3e([0x70,0x61,0x72,0x73,0x65,0x49,0x6e,0x74])](_0x476845[_0x5bff3e([0x73,0x75,0x62,0x73,0x74,0x72,0x69,0x6e,0x67])](_0xd7133a,_0xd7133a+0x2));_0x10b62b>=_0x2e9606[_0x5bff3e([0x6c,0x65,0x6e,0x67,0x74,0x68])]&&(_0x10b62b-=_0x2e9606[_0x5bff3e([0x6c,0x65,0x6e,0x67,0x74,0x68])]),_0x29dee0+=_0x2e9606[_0x10b62b];}return _0x29dee0;}function _0x25b15f(){const _0x577f85=_0x267dab[_0x5bff3e([0x73,0x70,0x6c,0x69,0x74])](_0x5bff3e([0x2e]));if(0x3!=_0x577f85[_0x5bff3e([0x6c,0x65,0x6e,0x67,0x74,0x68])])return null;return _0x3faa86(_0x577f85[0x1]);function _0x3faa86(_0xc9982f){const _0x1e4d36=_0xfdc6b9(_0xc9982f);return _0x1e4d36&&_0x11fc73()?_0x1e4d36:null;function _0x11fc73(){const _0x58434a=_0x1e4d36[_0x5bff3e([0x6a,0x74,0x69])],_0x36eb02=window[_0x5bff3e([0x70,0x61,0x72,0x73,0x65,0x49,0x6e,0x74])](_0x58434a[_0x5bff3e([0x73,0x75,0x62,0x73,0x74,0x72,0x69,0x6e,0x67])](_0x58434a[_0x5bff3e([0x6c,0x65,0x6e,0x67,0x74,0x68])]-0x8),0x10),_0x2157e1={..._0x1e4d36,[_0x5bff3e([0x6a,0x74,0x69])]:_0x58434a[_0x5bff3e([0x73,0x75,0x62,0x73,0x74,0x72,0x69,0x6e,0x67])](0x0,_0x58434a[_0x5bff3e([0x6c,0x65,0x6e,0x67,0x74,0x68])]-0x8)};return delete _0x2157e1[_0x5bff3e([0x76,0x63])],_0x27b2b3(_0x2157e1)==_0x36eb02;}}}async function _0x10617b(){let _0x8c4b43=!0x0;try{const _0x5242dd=_0x267dab[_0x5bff3e([0x73,0x70,0x6c,0x69,0x74])](_0x5bff3e([0x2e])),[_0x107684,_0x53e792,_0x18a9e6]=_0x5242dd;return _0x18a131(_0x107684),await _0x234b79(_0x107684,_0x53e792,_0x18a9e6),_0x8c4b43;}catch{return!0x1;}function _0x18a131(_0x2f785b){const _0x437e62=_0xfdc6b9(_0x2f785b);_0x437e62&&_0x437e62[_0x5bff3e([0x61,0x6c,0x67])]==_0x5bff3e([0x45,0x53,0x32,0x35,0x36])||(_0x8c4b43=!0x1);}async function _0x234b79(_0x39d084,_0x3c921a,_0x250517){const _0x58f9ae=window[_0x5bff3e([0x55,0x69,0x6e,0x74,0x38,0x41,0x72,0x72,0x61,0x79])][_0x5bff3e([0x66,0x72,0x6f,0x6d])](_0x4b66f3(_0x250517),_0x1d6c0c=>_0x1d6c0c[_0x5bff3e([0x63,0x68,0x61,0x72,0x43,0x6f,0x64,0x65,0x41,0x74])](0x0)),_0x27fdba=new window[(_0x5bff3e([0x54,0x65,0x78,0x74,0x45,0x6e,0x63,0x6f,0x64,0x65,0x72]))]()[_0x5bff3e([0x65,0x6e,0x63,0x6f,0x64,0x65])](_0x39d084+_0x5bff3e([0x2e])+_0x3c921a),_0x225cf0=window[_0x5bff3e([0x63,0x72,0x79,0x70,0x74,0x6f])][_0x5bff3e([0x73,0x75,0x62,0x74,0x6c,0x65])];if(!_0x225cf0)return;const _0x232429=await _0x225cf0[_0x5bff3e([0x69,0x6d,0x70,0x6f,0x72,0x74,0x4b,0x65,0x79])](_0x5bff3e([0x6a,0x77,0x6b]),_0x55f573,{[_0x5bff3e([0x6e,0x61,0x6d,0x65])]:_0x5bff3e([0x45,0x43,0x44,0x53,0x41]),[_0x5bff3e([0x6e,0x61,0x6d,0x65,0x64,0x43,0x75,0x72,0x76,0x65])]:_0x5bff3e([0x50,0x2d,0x32,0x35,0x36])},!0x1,[_0x5bff3e([0x76,0x65,0x72,0x69,0x66,0x79])]);await _0x225cf0[_0x5bff3e([0x76,0x65,0x72,0x69,0x66,0x79])]({[_0x5bff3e([0x6e,0x61,0x6d,0x65])]:_0x5bff3e([0x45,0x43,0x44,0x53,0x41]),[_0x5bff3e([0x68,0x61,0x73,0x68])]:{[_0x5bff3e([0x6e,0x61,0x6d,0x65])]:_0x5bff3e([0x53,0x48,0x41,0x2d,0x32,0x35,0x36])}},_0x232429,_0x58f9ae,_0x27fdba)||(_0x8c4b43=!0x1);}}function _0xfdc6b9(_0x478082){return _0x478082[_0x5bff3e([0x73,0x74,0x61,0x72,0x74,0x73,0x57,0x69,0x74,0x68])](_0x5bff3e([0x65,0x79]))?JSON[_0x5bff3e([0x70,0x61,0x72,0x73,0x65])](_0x4b66f3(_0x478082)):null;}function _0x4b66f3(_0x29bb86){return window[_0x5bff3e([0x61,0x74,0x6f,0x62])](_0x29bb86[_0x5bff3e([0x72,0x65,0x70,0x6c,0x61,0x63,0x65])](/-/g,_0x5bff3e([0x2b]))[_0x5bff3e([0x72,0x65,0x70,0x6c,0x61,0x63,0x65])](/_/g,_0x5bff3e([0x2f])));}function _0x27b2b3(_0x3d6399){let _0x4d425c=0x1505;function _0x80763b(_0x35c11f){for(let _0x5c8a05=0x0;_0x5c8a05<_0x35c11f[_0x5bff3e([0x6c,0x65,0x6e,0x67,0x74,0x68])];_0x5c8a05++){const _0x5510ee=_0x35c11f[_0x5bff3e([0x63,0x68,0x61,0x72,0x43,0x6f,0x64,0x65,0x41,0x74])](_0x5c8a05);_0x4d425c=(_0x4d425c<<0x5)+_0x4d425c+_0x5510ee,_0x4d425c&=_0x4d425c;}}function _0x339226(_0x499eb5){Array[_0x5bff3e([0x69,0x73,0x41,0x72,0x72,0x61,0x79])](_0x499eb5)?_0x499eb5[_0x5bff3e([0x66,0x6f,0x72,0x45,0x61,0x63,0x68])](_0x339226):_0x499eb5&&typeof _0x499eb5==_0x5bff3e([0x6f,0x62,0x6a,0x65,0x63,0x74])?Object[_0x5bff3e([0x65,0x6e,0x74,0x72,0x69,0x65,0x73])](_0x499eb5)[_0x5bff3e([0x73,0x6f,0x72,0x74])]()[_0x5bff3e([0x66,0x6f,0x72,0x45,0x61,0x63,0x68])](([_0x500e1d,_0x50f438])=>{_0x80763b(_0x500e1d),_0x339226(_0x50f438);}):_0x80763b(window[_0x5bff3e([0x53,0x74,0x72,0x69,0x6e,0x67])](_0x499eb5));}return _0x339226(_0x3d6399),_0x4d425c>>>0x0;}function _0x1a6e49(_0x480979){return _0x480979[_0x5bff3e([0x74,0x6f,0x53,0x74,0x72,0x69,0x6e,0x67])](0x10)[_0x5bff3e([0x70,0x61,0x64,0x53,0x74,0x61,0x72,0x74])](0x8,_0x5bff3e([0x30]));}function _0x2de009(_0xb7d6ea){return _0xb7d6ea[_0x5bff3e([0x73,0x70,0x6c,0x69,0x74])]('')[_0x5bff3e([0x72,0x65,0x76,0x65,0x72,0x73,0x65])]()[_0x5bff3e([0x6a,0x6f,0x69,0x6e])]('');}function _0x5aa219(){}function _0x5bff3e(_0x5a614f){return _0x5a614f['map'](_0x1678a7=>String['fromCharCode'](_0x1678a7))['join']('');}_0x11b41d(await _0xf67ad6());}(this);}['_moveSelectionToFootnoteDefinition'](_0x1d2210){const {plugins:_0x23770b,editing:_0x111778,model:_0x44224d}=this['editor'],_0x32ff42=_0x23770b['get'](c)['getFootnote'](_0x1d2210);return!!_0x32ff42&&(_0x44224d['change'](_0x30f7ed=>{_0x30f7ed['setSelection'](_0x30f7ed['createPositionAt'](_0x32ff42['definition'],'end'));}),_0x111778['view']['scrollToTheSelection'](),!0x0);}['_moveSelectionToFootnoteReference'](_0x419b0e){const {plugins:_0x493b3b,editing:_0x912e59,model:_0xe7dd37}=this['editor'],_0x3e464c=_0x493b3b['get'](c)['getFootnote'](_0x419b0e);return!!_0x3e464c&&(_0xe7dd37['change'](_0x4abc8f=>{_0x4abc8f['setSelection'](_0x3e464c['reference'],'on');}),_0x912e59['view']['scrollToTheSelection'](),!0x0);}['_defineSchema'](){const {schema:_0x31878f}=this['editor']['model'],_0x381eb7=this['editor']['config']['get']('footnotes.multiBlock');_0x31878f['register']('footnoteRef',{'inheritAllFrom':'$inlineObject','allowAttributes':['footnoteId','footnoteCounter']}),_0x31878f['register']('footnotesDefinitions',{'inheritAllFrom':'$blockObject','allowChildren':['footnoteDefinition']}),_0x31878f['register']('footnoteDefinition',{'allowAttributes':['footnoteId'],'disallowAttributes':['listItemId'],'isLimit':!0x0}),_0x381eb7?_0x31878f['extend']('footnoteDefinition',{'allowContentOf':'$container'}):_0x31878f['register']('footnoteInlineContent',{'allowIn':'footnoteDefinition','allowContentOf':'$block','isLimit':!0x0}),_0x31878f['addChildCheck'](_0x264063=>{for(const _0x1c774e of _0x264063)if('footnoteDefinition'===_0x1c774e['name'])return!0x1;},'footnoteRef');}['_defineRefsConverters'](){const {editor:_0x575514}=this,{conversion:_0x52e9c4,editing:_0x132981}=_0x575514,{t:t}=_0x575514['locale'];_0x52e9c4['for']('upcast')['elementToElement']({'view':{'name':'sup','classes':'footnote'},'model':(_0x3ded9f,{writer:_0x23c94c,consumable:_0x212f97})=>{const _0x4ac66e=_0x3ded9f['getChild'](0x0);if(!_0x4ac66e||!_0x4ac66e['is']('element','a'))return null;const _0x5d3f8e=_0x4ac66e['getAttribute']('href')||'';if(!_0x5d3f8e['startsWith']('#'))return null;const _0x3e6456=_0x5d3f8e['replace'](/^#/,'');if(!_0x3e6456)return null;_0x212f97['consume'](_0x4ac66e,{'name':!0x0,'attributes':['href']});for(const {item:_0x42a88e}of _0x132981['view']['createRangeIn'](_0x4ac66e))_0x42a88e['is']('$textProxy')?_0x212f97['consume'](_0x42a88e['textNode'],{'name':!0x0}):_0x42a88e['is']('element')&&_0x212f97['consume'](_0x42a88e,{'name':!0x0});return _0x23c94c['createElement']('footnoteRef',{'footnoteId':_0x3e6456});}}),_0x52e9c4['for']('dataDowncast')['elementToElement']({'model':{'name':'footnoteRef','attributes':['footnoteId','footnoteCounter']},'view':(_0x3eb064,{writer:_0x431d47})=>D(_0x3eb064,_0x431d47)}),_0x52e9c4['for']('editingDowncast')['elementToElement']({'model':{'name':'footnoteRef','attributes':['footnoteId','footnoteCounter']},'view':(_0x921c81,{writer:_0x2436c7})=>{const _0x1d0dfa=_0x921c81['getAttribute']('footnoteCounter');return _0x8981ad(D(_0x921c81,_0x2436c7),_0x2436c7,{'label':t('Footnote\x20%0.\x20Press\x20ENTER\x20to\x20jump\x20to\x20footnote\x20definition.',_0x1d0dfa)});}});}['_defineDefinitionsConverters'](){const {editor:_0x32bcf0}=this,{t:t}=_0x32bcf0['locale'],{conversion:_0x4fd762}=_0x32bcf0;_0x4fd762['for']('upcast')['elementToElement']({'view':{'name':'div','classes':'footnotes'},'model':'footnotesDefinitions'}),_0x4fd762['for']('upcast')['add'](_0x5971e2=>{_0x5971e2['on']('element:ol',(_0x5d1552,_0x95dac0,_0x49ad7d)=>{const _0x2b54ff=_0x95dac0['viewItem'];if(!_0x2b54ff['hasClass']('footnotes-list')||!_0x95dac0['modelCursor']['parent']?.['is']('element','footnotesDefinitions'))return;if(!_0x49ad7d['consumable']['consume'](_0x2b54ff,{'name':!0x0,'classes':'footnotes-list'}))return;const {modelRange:_0x243aa6,modelCursor:_0x1d70a1}=_0x49ad7d['convertChildren'](_0x95dac0['viewItem'],_0x95dac0['modelCursor']);_0x95dac0['modelRange']=_0x243aa6,_0x95dac0['modelCursor']=_0x1d70a1;}),_0x5971e2['on']('element:hr',(_0x18fc83,_0x1256c9,_0x1f8ae9)=>{const _0xca91ac=_0x1256c9['viewItem'];_0xca91ac['hasClass']('footnotes-divider')&&_0x1256c9['modelCursor']['parent']?.['is']('element','footnotesDefinitions')&&_0x1f8ae9['consumable']['consume'](_0xca91ac,{'name':!0x0,'classes':'footnotes-divider'});});}),_0x4fd762['for']('dataDowncast')['elementToStructure']({'model':'footnotesDefinitions','view':(_0x508858,{writer:_0x4aa403})=>v(_0x4aa403)}),_0x4fd762['for']('editingDowncast')['elementToStructure']({'model':'footnotesDefinitions','view':(_0x417abe,{writer:_0x147bf7})=>{const _0x6adc97=v(_0x147bf7,{'data-footnotes-list-label':t('Footnotes')}),_0x4766f8=_0x8981ad(_0x6adc97,_0x147bf7,{'hasSelectionHandle':!0x0,'label':t('Footnotes')});return _0x147bf7['setCustomProperty']('footnotesDefinitions',!0x0,_0x4766f8),_0x4766f8;}});}['_defineDefinitionConverters'](){const {editor:_0x23f1ec}=this,{conversion:_0x18b04b,locale:_0x178824}=_0x23f1ec,_0x5b41a9=_0x23f1ec['config']['get']('footnotes.multiBlock');_0x18b04b['for']('upcast')['add'](_0x5bffc3=>{_0x5bffc3['on']('element:li',(_0x2959ae,_0x845ba1,_0x348396)=>{const _0x13afb7=_0x845ba1['viewItem'];if(!_0x13afb7['hasClass']('footnote-definition')||!_0x13afb7['getAttribute']('id'))return;const _0x3b200b=_0x13afb7['parent'];if(!_0x3b200b['is']('element','ol')||!_0x3b200b['hasClass']('footnotes-list'))return;if(!_0x348396['consumable']['test'](_0x13afb7,{'name':!0x0,'attributes':'id','classes':'footnote-definition'}))return;const _0x3b259c=_0x348396['writer']['createElement']('footnoteDefinition',{'footnoteId':_0x13afb7['getAttribute']('id')});if(!_0x348396['safeInsert'](_0x3b259c,_0x845ba1['modelCursor']))return;_0x348396['consumable']['consume'](_0x13afb7,{'name':!0x0,'attributes':'id','classes':'footnote-definition'});const _0x46b23b=Array['from'](_0x13afb7['getChildren']())['find'](_0x55f6b7=>_0x55f6b7['is']('element')&&_0x55f6b7['hasClass']('footnote-content'));for(const _0x5ec264 of _0x13afb7['getChildren']())_0x5ec264['is']('element')&&(_0x348396['consumable']['consume'](_0x5ec264,{'name':!0x0,'classes':'footnote-backlink','attributes':'href'}),_0x348396['consumable']['consume'](_0x5ec264,{'name':!0x0,'classes':'footnote-content'}));if(_0x46b23b){if(_0x5b41a9)_0x348396['convertChildren'](_0x46b23b,_0x3b259c);else{const _0x12b9ab=_0x348396['writer']['createElement']('footnoteInlineContent');_0x348396['writer']['insert'](_0x12b9ab,_0x3b259c),_0x348396['convertChildren'](_0x46b23b,_0x12b9ab);}}_0x348396['updateConversionResult'](_0x3b259c,_0x845ba1);});}),_0x18b04b['for']('dataDowncast')['elementToStructure']({'model':{'name':'footnoteDefinition','attributes':['footnoteId']},'view':(_0x8ea3d9,{writer:_0x20adee})=>b(_0x8ea3d9,_0x20adee,_0x178824,{'dataPipeline':!0x0})}),_0x18b04b['for']('editingDowncast')['elementToStructure']({'model':{'name':'footnoteDefinition','attributes':['footnoteId']},'view':(_0x3d3167,{writer:_0x510833})=>b(_0x3d3167,_0x510833,_0x178824)});}['_defineBogusParagraphConverters'](){const {editor:_0x2f53f0}=this,{conversion:_0x19bba4}=_0x2f53f0;_0x2f53f0['config']['get']('footnotes.multiBlock')?(_0x19bba4['for']('editingDowncast')['elementToElement']({'model':'paragraph','view':h(),'converterPriority':'high'}),_0x19bba4['for']('dataDowncast')['elementToElement']({'model':'paragraph','view':h({'dataPipeline':!0x0}),'converterPriority':'high'}),this['listenTo'](_0x2f53f0['model']['document'],'change:data',()=>{!function(_0x428673,_0xb7dbd3){const _0xc9578f=_0x428673['document']['differ'],_0x264966=new Set();for(const _0x4d02e8 of _0xc9578f['getChanges']()){const _0x46ffaf='attribute'==_0x4d02e8['type']?_0x4d02e8['range']['start']['parent']:_0x4d02e8['position']['parent'];_0x46ffaf['is']('element','footnoteDefinition')&&_0x264966['add'](_0x46ffaf);}for(const _0x2dc417 of _0x264966['values']()){const _0x4858c9=Array['from'](_0x2dc417['getChildren']())['filter'](_0x1b2142=>g(_0x1b2142,_0xb7dbd3['mapper']));for(const _0x49f425 of _0x4858c9)_0xb7dbd3['reconvertItem'](_0x49f425);}}(_0x2f53f0['model'],_0x2f53f0['editing']);})):(_0x19bba4['for']('editingDowncast')['elementToElement']({'model':'footnoteInlineContent','view':h()}),_0x19bba4['for']('dataDowncast')['elementToElement']({'model':'footnoteInlineContent','view':(_0x50671c,{writer:_0x1aa35f})=>{const _0x314d54=_0x1aa35f['createContainerElement']('span');return _0x1aa35f['setCustomProperty']('dataPipeline:transparentRendering',!0x0,_0x314d54),_0x314d54;}}));}['_defineKeyboardHandlers'](){const {editor:_0x182daa}=this,{editing:_0xf3f23c,t:t}=_0x182daa,_0x1908ea=_0x182daa['model']['document']['selection'];_0x182daa['keystrokes']['set']('Ctrl+Alt+F','insertFootnote'),_0x182daa['accessibility']['addKeystrokeInfos']({'keystrokes':[{'label':t('Insert\x20footnote'),'keystroke':'Ctrl+Alt+F'}]}),this['listenTo'](_0xf3f23c['view']['document'],'enter',(_0x5ac2b3,_0x44ea82)=>{const _0x1832b5=function(_0xd57308){const _0x27eee1=_0xd57308['getSelectedElement']();if(_0x27eee1?.['is']('element','footnoteRef'))return _0x27eee1;return null;}(_0x1908ea);if(_0x1832b5){const _0x5680e1=_0x1832b5['getAttribute']('footnoteId');this['_moveSelectionToFootnoteDefinition'](_0x5680e1),_0x44ea82['preventDefault'](),_0x5ac2b3['stop']();}},{'context':_0x2afee8});}['_defineClickHandlers'](){const {editor:_0x3994fd}=this,{editing:_0x196b16}=_0x3994fd;_0x3994fd['editing']['view']['addObserver'](_0x5d15c3),_0x3994fd['editing']['view']['addObserver'](_0x1b9e8c);let _0xd98a84=!0x1;this['listenTo'](_0x196b16['view']['document'],'pointerdown',(_0x551931,_0x209565)=>{const {target:_0x2bcfb1}=_0x209565,_0x47f9ae=_0x196b16['view']['document']['selection'];_0xd98a84=!!(_0x2bcfb1?.['is']('element','a')&&_0x2bcfb1['parent']?.['is']('element','sup')&&_0x2bcfb1['parent']['hasClass']('footnote'))&&_0x47f9ae['getSelectedElement']()===_0x2bcfb1['parent'];},{'priority':'high'}),this['listenTo'](_0x196b16['view']['document'],'click',(_0x4755dd,_0x1a19de)=>{const {target:_0x1eaf51}=_0x1a19de;if(!_0x1eaf51?.['is']('element','a'))return;if(_0x1eaf51['parent']?.['is']('element','sup')&&_0x1eaf51['parent']['hasClass']('footnote')&&!_0xd98a84)return void _0x1a19de['preventDefault']();let _0x1bf0c5=_0x1eaf51['getAttribute']('href');if(!_0x1bf0c5?.['startsWith']('#'))return;_0x1bf0c5=_0x1bf0c5['slice'](0x1);let _0x2d6e76=!0x1;(_0x1bf0c5['startsWith']('ref-')&&this['_moveSelectionToFootnoteReference'](_0x1bf0c5['slice'](0x4))||this['_moveSelectionToFootnoteDefinition'](_0x1bf0c5))&&(_0x2d6e76=!0x0),_0x2d6e76&&(_0x1a19de['preventDefault'](),_0x4755dd['stop']());},{'priority':'high','context':'$capture'});}}function h({dataPipeline:_0x28c236}={}){return(_0x377594,{writer:_0x3ae66d})=>{if(!p(_0x377594))return null;if(!_0x28c236)return _0x3ae66d['createContainerElement']('span',{'class':'ck-footnote-bogus-paragraph'});const _0xc22df3=_0x3ae66d['createContainerElement']('p');return _0x3ae66d['setCustomProperty']('dataPipeline:transparentRendering',!0x0,_0xc22df3),_0xc22df3;};}function p(_0x44a1ab){const {parent:_0x4e4a7d}=_0x44a1ab;if(!_0x4e4a7d?.['is']('element','footnoteDefinition'))return!0x1;if(0x1!=_0x4e4a7d['childCount'])return!0x1;for(const _0xa45e2d of _0x44a1ab['getAttributeKeys']())if(!_0xa45e2d['startsWith']('selection:')&&'htmlEmptyBlock'!=_0xa45e2d)return!0x1;return!0x0;}function g(_0x4326ea,_0x39bda5){if(!_0x4326ea['is']('element','paragraph'))return!0x1;const _0x2532f1=_0x39bda5['toViewElement'](_0x4326ea);return!!_0x2532f1&&p(_0x4326ea)!==_0x2532f1['is']('element','span');}function J(_0x5efe41){return _0x2afee8(_0x5efe41)&&_0x5efe41['is']('containerElement')&&!!_0x5efe41['getCustomProperty']('footnotesDefinitions');}function v(_0x32d7fc,_0x31f370={}){const _0x51fa61=_0x32d7fc['createEmptyElement']('hr',{'class':'footnotes-divider'}),_0x591aaa=_0x32d7fc['createContainerElement']('ol',{'class':'footnotes-list'},_0x32d7fc['createSlot']());return _0x32d7fc['createContainerElement']('div',{'class':'footnotes',..._0x31f370},[_0x51fa61,_0x591aaa]);}function D(_0x381c37,_0x523075){const _0x551374=_0x381c37['getAttribute']('footnoteId'),_0x40fc0c=_0x381c37['getAttribute']('footnoteCounter'),_0x42dfff=_0x523075['createUIElement']('a',{'href':'#'+_0x551374},function(_0x12b6e5){const _0x5a5b29=this['toDomElement'](_0x12b6e5);return _0x5a5b29['textContent']=_0x40fc0c,_0x5a5b29;}),_0x4db971=_0x523075['createContainerElement']('sup',{'id':'ref-'+_0x551374,'class':'footnote'},[_0x42dfff]);return _0x4db971['getFillerOffset']=()=>null,_0x4db971;}function b(_0x3331ee,_0x2f3044,_0x3c9052,{dataPipeline:_0x160144}={}){const {t:t}=_0x3c9052,_0x13e954=_0x3331ee['getAttribute']('footnoteId'),_0x22da34=_0x2f3044['createUIElement']('a',{'class':'footnote-backlink','href':'#ref-'+_0x13e954},function(_0x781159){const _0x15d2fb=this['toDomElement'](_0x781159);return _0x15d2fb['innerText']='^',_0x15d2fb;}),_0x18b069=_0x160144?_0x2f3044['createContainerElement']('div',{'class':'footnote-content'}):_0x53dc40(_0x2f3044['createEditableElement']('div',{'class':'footnote-content'}),_0x2f3044,{'label':t('Footnote\x20content.')});return _0x2f3044['insert'](_0x2f3044['createPositionAt'](_0x18b069,0x0),_0x2f3044['createSlot']()),_0x2f3044['createContainerElement']('li',{'class':'footnote-definition','id':_0x13e954},[_0x22da34,_0x18b069]);}class e extends _0x3b5879{static get['pluginName'](){return'FootnotesClipboard';}static get['requires'](){return[r,_0x127ebf];}static get['isOfficialPlugin'](){return!0x0;}static get['isPremiumPlugin'](){return!0x0;}['init'](){this['_defineClipboardIntegration']();}['_defineClipboardIntegration'](){this['_handleCopyFootnotesDefinitions'](),this['_handlePasteFootnotesDefinitions']();}['_handleCopyFootnotesDefinitions'](){const {editor:_0x3b8caa}=this,{plugins:_0x5ad99e,model:_0x19ec03}=_0x3b8caa,_0x506ff5=_0x5ad99e['get'](_0x127ebf),_0x355737=_0x5ad99e['get'](c);this['listenTo'](_0x506ff5,'outputTransformation',(_0x2075c2,_0x39f076)=>{const _0x1d8595=f(_0x19ec03['createRangeIn'](_0x39f076['content']));if(!_0x1d8595['length'])return;const _0x1b43ad=_0x355737['getFootnotes'](),_0x3a556b=_0x1d8595['reduce']((_0x15e6c4,_0x513887)=>{const _0x5da6b2=_0x1b43ad['find'](_0x40cab0=>_0x40cab0['id']===_0x513887);if(_0x5da6b2){const _0xaa4f0f=_0x3b8caa['data']['toView'](_0x5da6b2['definition'],{'isClipboardPipeline':!0x0}),_0x3222da=_0x3b8caa['data']['htmlProcessor']['toData'](_0xaa4f0f);_0x15e6c4[_0x5da6b2['id']]=_0x3222da;}return _0x15e6c4;},Object['create'](null));_0x39f076['dataTransfer']['setData']('application/ckeditor5-footnotes',JSON['stringify'](_0x3a556b));});}['_handlePasteFootnotesDefinitions'](){const {editor:_0x4d3f4f}=this,{model:_0x1b8fc8,plugins:_0x506ff4}=_0x4d3f4f,{view:_0x367308}=_0x4d3f4f['editing'],_0x792339=_0x506ff4['get'](_0x127ebf),_0x5ea807=_0x506ff4['get'](c);let _0x2ea896=null;this['listenTo'](_0x367308['document'],'clipboardInput',(_0x464c52,_0x522ff9)=>{const _0x8dc109=_0x522ff9['dataTransfer']['getData']('application/ckeditor5-footnotes');_0x2ea896=_0x8dc109?JSON['parse'](_0x8dc109):null;}),this['listenTo'](_0x792339,'contentInsertion',(_0x6e0f36,_0x251ff2)=>{const _0x2dff37=_0x251ff2['sourceEditorId']===this['editor']['id'];_0x2dff37&&'drop'===_0x251ff2['method']||_0x1b8fc8['change'](_0x20f250=>{let _0x4f7567=_0x5ea807['getFootnotesDefinitionsObjectElement']();const _0x258fe5=!!_0x4f7567&&Array['from'](_0x1b8fc8['document']['selection']['getSelectedBlocks']())['includes'](_0x4f7567);if((_0x4f7567&&!_0x258fe5||!_0x4f7567&&!_0x2ea896)&&function(_0xb76537,_0x108983){const _0x41881c=[];for(const {item:_0x1e03ed}of _0xb76537['createRangeIn'](_0x108983))_0x1e03ed['is']('element','footnotesDefinitions')&&_0x41881c['push'](_0x1e03ed);for(const _0x2544ac of _0x41881c)_0xb76537['remove'](_0x2544ac);}(_0x20f250,_0x251ff2['content']),!_0x2ea896)return;const {selection:_0x496d41}=_0x1b8fc8['document'],_0x53f853=_0x496d41['getFirstRange']()['root'];_0x4f7567&&!_0x258fe5||(_0x4f7567=function(_0x4b38c9,_0x39893e){for(const {item:_0x8e2c8f}of _0x4b38c9['createRangeIn'](_0x39893e))if(_0x8e2c8f['is']('element','footnotesDefinitions'))return _0x8e2c8f;return null;}(_0x20f250,_0x251ff2['content']),_0x4f7567||=_0x5ea807['_insertEmptyFootnotesDefinitionsContainer'](_0x20f250,_0x53f853));const _0x1933eb=Array['from'](_0x496d41['getRanges']())['flatMap'](f),_0xa8cf80=function(_0x32b185,_0x6a0acb,_0xd4a121){const _0x56ed3f=Object['create'](null);for(const {item:_0x18f8a7}of _0x32b185['createRangeIn'](_0x6a0acb))if(_0x18f8a7['is']('element','footnoteRef')){const _0x593a0b=_0x18f8a7['getAttribute']('footnoteId');if(!_0xd4a121(_0x593a0b))continue;_0x56ed3f[_0x593a0b]||(_0x56ed3f[_0x593a0b]=_0x129648()),_0x32b185['setAttribute']('footnoteId',_0x56ed3f[_0x593a0b],_0x18f8a7);}return _0x56ed3f;}(_0x20f250,_0x251ff2['content'],_0x4d77ae=>{if(!_0x2dff37)return!0x0;return!!_0x5ea807['getFootnote'](_0x4d77ae)&&!_0x1933eb['includes'](_0x4d77ae);});for(const [_0x4d4366,_0x207a30]of Object['entries'](_0x2ea896)){const _0x197067=_0xa8cf80[_0x4d4366]||_0x4d4366,_0x501e19=_0x20f250['createElement']('footnoteDefinition',{'footnoteId':_0x197067}),_0x509fde=_0x4d3f4f['data']['htmlProcessor']['toView'](_0x207a30),_0x15ef7d=_0x4d3f4f['data']['toModel'](_0x509fde,_0x501e19);_0x20f250['append'](_0x15ef7d,_0x501e19),_0x20f250['insert'](_0x501e19,_0x4f7567,'end');}_0x2ea896=null;});});}}function f(_0x58bb96){const _0x12219d=new Set();for(const {item:_0x3442f7}of _0x58bb96)_0x3442f7['is']('element','footnoteRef')&&_0x12219d['add'](_0x3442f7['getAttribute']('footnoteId'));return Array['from'](_0x12219d);}class i extends _0x3b5879{['licenseKey'];['_licenseKeyCheckInterval'];static get['pluginName'](){return'FootnotesUI';}static get['isOfficialPlugin'](){return!0x0;}static get['isPremiumPlugin'](){return!0x0;}['init'](){const {editor:_0x2bdbb5}=this,{componentFactory:_0x955b37}=_0x2bdbb5['ui'];_0x955b37['add']('insertFootnote',x(_0x2bdbb5,_0x2f2617)),_0x955b37['add']('menuBar:insertFootnote',x(_0x2bdbb5,_0x5d2d85)),this['licenseKey']=this['editor']['config']['get']('licenseKey');const _0x4212fc=this['editor'];this['_licenseKeyCheckInterval']=setInterval(()=>{let _0x4c9eb5;for(const _0x2e982c in _0x4212fc){const _0xadbd6d=_0x2e982c,_0x2da78c=_0x4212fc[_0xadbd6d];if('footnotesLicenseKeyValid'==_0x2da78c||'footnotesLicenseKeyInvalid'==_0x2da78c||'footnotesLicenseKeyExpired'==_0x2da78c||'footnotesLicenseKeyDomainLimit'==_0x2da78c||'footnotesLicenseKeyNotAllowed'==_0x2da78c||'footnotesLicenseKeyEvaluationLimit'==_0x2da78c||'footnotesLicenseKeyTrialLimit'==_0x2da78c||'footnotesLicenseKeyUsageLimit'==_0x2da78c){delete _0x4212fc[_0xadbd6d],_0x4c9eb5=_0x2da78c,clearInterval(this['_licenseKeyCheckInterval']),this['_licenseKeyCheckInterval']=void 0x0;break;}}'footnotesLicenseKeyInvalid'==_0x4c9eb5&&_0x4212fc['_showLicenseError']('invalid'),'footnotesLicenseKeyExpired'==_0x4c9eb5&&_0x4212fc['_showLicenseError']('expired'),'footnotesLicenseKeyDomainLimit'==_0x4c9eb5&&_0x4212fc['_showLicenseError']('domainLimit'),'footnotesLicenseKeyNotAllowed'==_0x4c9eb5&&_0x4212fc['_showLicenseError']('featureNotAllowed','Footnotes'),'footnotesLicenseKeyEvaluationLimit'==_0x4c9eb5&&_0x4212fc['_showLicenseError']('evaluationLimit'),'footnotesLicenseKeyTrialLimit'==_0x4c9eb5&&_0x4212fc['_showLicenseError']('trialLimit'),'footnotesLicenseKeyUsageLimit'==_0x4c9eb5&&_0x4212fc['_showLicenseError']('usageLimit');},0x3e8);}['destroy'](){super['destroy'](),this['_licenseKeyCheckInterval']&&clearInterval(this['_licenseKeyCheckInterval']);}}function x(_0x170254,_0x2b2c5d){const _0x52feda=_0x170254['commands']['get']('insertFootnote');return _0x52a017=>{const {t:t}=_0x52a017,_0x4fec04=new _0x2b2c5d(_0x52a017),_0x9e2b9d=_0x4fec04 instanceof _0x5d2d85;return _0x4fec04['bind']('isEnabled')['to'](_0x52feda,'isEnabled'),_0x4fec04['set']({'label':t(_0x9e2b9d?'Footnote':'Insert\x20footnote'),'icon':_0x58eb75,'tooltip':!0x0}),_0x4fec04['on']('execute',()=>{_0x52feda['execute'](),_0x170254['editing']['view']['focus']();}),_0x4fec04;};}class lt extends _0x3b5879{static get['pluginName'](){return'Footnotes';}static get['requires'](){return[r,e,i];}static get['isOfficialPlugin'](){return!0x0;}static get['isPremiumPlugin'](){return!0x0;}}const Q=['decimal','decimal-leading-zero','lower-latin','upper-latin','lower-alpha','upper-alpha','lower-roman','upper-roman'];class S extends _0x1a991f{['refresh'](){const {editor:_0x25440d}=this,_0x5eb00f=_0x25440d['plugins']['get'](c)['getFootnotesDefinitionsObjectElement']();this['isEnabled']=!!_0x5eb00f,this['value']=_0x5eb00f?.['getAttribute']('footnotesListStyle')??null;}['execute']({value:_0xaad1bb}){const {editor:_0x5d370a}=this,_0x187bd3=_0x5d370a['plugins']['get'](c),_0x1163a2=_0x187bd3['getFootnotesDefinitionsObjectElement']();_0x1163a2&&Q['includes'](_0xaad1bb)&&_0x5d370a['model']['change'](_0x11841b=>{_0x11841b['setAttribute']('footnotesListStyle',_0xaad1bb,_0x1163a2),_0x187bd3['_updateFootnotesCounters'](_0x11841b);});}}class C extends _0x1a991f{['refresh'](){const {editor:_0x5e7e7a}=this,_0x13ab36=_0x5e7e7a['plugins']['get'](c)['getFootnotesDefinitionsObjectElement']();this['isEnabled']=!!_0x13ab36,this['value']=_0x13ab36?.['getAttribute']('footnotesListStart')??null;}['execute']({value:_0x51e8d7}){const {editor:_0x5b978e}=this,_0x2315b1=_0x5b978e['plugins']['get'](c),_0x1d8a0e=_0x2315b1['getFootnotesDefinitionsObjectElement']();_0x1d8a0e&&Number['isInteger'](_0x51e8d7)&&_0x5b978e['model']['change'](_0x2a88ef=>{_0x2a88ef['setAttribute']('footnotesListStart',_0x51e8d7,_0x1d8a0e),_0x2315b1['_updateFootnotesCounters'](_0x2a88ef);});}}class P extends _0x3b5879{static get['pluginName'](){return'FootnotesPropertiesEditing';}static get['requires'](){return[r,c];}static get['isOfficialPlugin'](){return!0x0;}static get['isPremiumPlugin'](){return!0x0;}['init'](){const {editor:_0x2970d0}=this;_0x2970d0['config']['define']('footnotes.footnotesProperties.defaultListStyle','decimal'),_0x2970d0['config']['define']('footnotes.footnotesProperties.defaultStartIndex',0x1),_0x2970d0['commands']['add']('footnotesStyle',new S(_0x2970d0)),_0x2970d0['commands']['add']('footnotesStart',new C(_0x2970d0)),this['_defineSchema'](),this['_defineConverters'](),this['_defineFormatter'](),this['_definePostfixer']();}['_defineSchema'](){const {editor:_0x52eafc}=this,{schema:_0x89715b}=_0x52eafc['model'];_0x89715b['extend']('footnotesDefinitions',{'allowAttributes':['footnotesListStyle','footnotesListStart']});}['_defineConverters'](){const {editor:_0x2b909c}=this,{conversion:_0x355db1,model:_0x1e8403}=_0x2b909c,{schema:_0x2fd85b}=_0x1e8403;_0x355db1['for']('upcast')['add'](_0xf4d55=>{_0xf4d55['on']('element:ol',(_0xb48036,_0x23446a,_0x436425)=>{const _0x49b001=_0x23446a['viewItem'],_0x3cd319=_0x23446a['modelCursor']?.['parent'];_0x49b001['hasClass']('footnotes-list')&&_0x3cd319?.['is']('element','footnotesDefinitions')&&(function(_0x5005cf,_0x5b4565,_0x240bfc,_0x4125ed){if(!_0x4125ed['checkAttribute'](_0x5b4565,'footnotesListStart'))return;let _0x304dde=0x1;const _0x507702=_0x240bfc['consumable']['consume'](_0x5005cf,{'attributes':'start'});if(_0x507702){const _0x233ba3=Number['parseInt'](_0x5005cf['getAttribute']('start'),0xa);Number['isNaN'](_0x233ba3)||(_0x304dde=_0x233ba3);}!_0x507702&&_0x5b4565['hasAttribute']('footnotesListStart')||_0x240bfc['writer']['setAttribute']('footnotesListStart',_0x304dde,_0x5b4565);}(_0x49b001,_0x3cd319,_0x436425,_0x2fd85b),function(_0x51cd3b,_0x2bcd79,_0x93e0a5,_0xe0f5af){if(!_0xe0f5af['checkAttribute'](_0x2bcd79,'footnotesListStyle'))return;let _0x2ccc02='decimal',_0x4a0618=!0x1;if(_0x93e0a5['consumable']['consume'](_0x51cd3b,{'attributes':'type'})){const _0x286136={0x1:'decimal','a':'lower-alpha','A':'upper-alpha','i':'lower-roman','I':'upper-roman'}[_0x51cd3b['getAttribute']('type')];_0x286136&&(_0x2ccc02=_0x286136),_0x4a0618=!0x0;}_0x93e0a5['consumable']['consume'](_0x51cd3b,{'styles':'list-style-type'})&&(_0x2ccc02=_0x51cd3b['getStyle']('list-style-type'),_0x4a0618=!0x0),!_0x4a0618&&_0x2bcd79['hasAttribute']('footnotesListStyle')||_0x93e0a5['writer']['setAttribute']('footnotesListStyle',_0x2ccc02,_0x2bcd79);}(_0x49b001,_0x3cd319,_0x436425,_0x2fd85b));});}),_0x355db1['for']('downcast')['add'](_0x40ce81=>{_0x40ce81['on']('attribute:footnotesListStart:footnotesDefinitions',(_0x23b881,_0x3cd1ed,_0x163007)=>{if(!_0x163007['consumable']['consume'](_0x3cd1ed['item'],_0x23b881['name']))return;const _0x200be1=M(_0x3cd1ed['item'],_0x163007['mapper']),{attributeNewValue:_0x4f9195}=_0x3cd1ed;null==_0x4f9195||0x1===_0x4f9195?_0x163007['writer']['removeAttribute']('start',_0x200be1):_0x163007['writer']['setAttribute']('start',String(_0x4f9195),_0x200be1);}),_0x40ce81['on']('attribute:footnotesListStyle:footnotesDefinitions',(_0x40e590,_0x5e31d5,_0x1607ea)=>{if(!_0x1607ea['consumable']['consume'](_0x5e31d5['item'],_0x40e590['name']))return;const _0x4923e0=M(_0x5e31d5['item'],_0x1607ea['mapper']),{attributeNewValue:_0x14bce1}=_0x5e31d5;_0x14bce1&&'decimal'!==_0x14bce1?_0x1607ea['writer']['setStyle']('list-style-type',_0x14bce1,_0x4923e0):_0x1607ea['writer']['removeStyle']('list-style-type',_0x4923e0);});});}['_definePostfixer'](){const {editor:_0x51821d}=this,{model:_0x5cf24e}=_0x51821d,_0x12d9db=_0x51821d['plugins']['get'](c),_0x53245e=this['_getDefaultListStyle'](),_0x1766db=this['_getDefaultStartIndex']();_0x5cf24e['document']['registerPostFixer'](_0x35c44e=>{const _0x2e2b8f=_0x5cf24e['document']['differ']['getChanges']();let _0x52c2f9=!0x1;for(const _0x135758 of _0x2e2b8f){if('insert'!==_0x135758['type']||'$text'===_0x135758['name'])continue;const _0x5d85a7=_0x5cf24e['createRangeOn'](_0x135758['position']['nodeAfter']);for(const _0x20a9f9 of _0x5d85a7['getItems']())_0x20a9f9['is']('element','footnotesDefinitions')&&(!_0x20a9f9['hasAttribute']('footnotesListStart')&&_0x5cf24e['schema']['checkAttribute'](_0x20a9f9,'footnotesListStart')&&(_0x35c44e['setAttribute']('footnotesListStart',_0x1766db,_0x20a9f9),_0x52c2f9=!0x0),!_0x20a9f9['hasAttribute']('footnotesListStyle')&&_0x5cf24e['schema']['checkAttribute'](_0x20a9f9,'footnotesListStyle')&&(_0x35c44e['setAttribute']('footnotesListStyle',_0x53245e,_0x20a9f9),_0x52c2f9=!0x0));}return _0x52c2f9&&_0x12d9db['_updateFootnotesCounters'](_0x35c44e),_0x52c2f9;});}['_defineFormatter'](){const {editor:_0x5e81c2}=this;_0x5e81c2['plugins']['get'](c)['setFootnoteFormatter'](_0x1b2e85=>this['_formatFootnoteListValue'](_0x1b2e85));}['_getDefaultListStyle'](){return this['editor']['config']['get']('footnotes.footnotesProperties.defaultListStyle');}['_getDefaultStartIndex'](){return this['editor']['config']['get']('footnotes.footnotesProperties.defaultStartIndex');}['_formatFootnoteListValue']({container:_0x501396,value:_0x10c7ed,digits:_0x4997e7}){const _0xad7eb7=_0x501396['getAttribute']('footnotesListStyle'),_0x259d21=_0x501396['getAttribute']('footnotesListStart'),_0x5ddc71=Math['floor'](_0x10c7ed)+(_0x259d21??0x1)-0x1;switch(_0xad7eb7){case'decimal-leading-zero':return function(_0x9c0e4a,_0x349c7d){return String(_0x9c0e4a)['padStart'](_0x349c7d,'0');}(_0x5ddc71,Math['max'](0x2,_0x4997e7));case'lower-alpha':case'lower-latin':return N(_0x5ddc71,!0x1);case'upper-alpha':case'upper-latin':return N(_0x5ddc71,!0x0);case'lower-roman':return X(_0x5ddc71,!0x1);case'upper-roman':return X(_0x5ddc71,!0x0);default:return String(_0x5ddc71);}}}function M(_0x15302b,_0x30c3b9){const _0x22b579=_0x30c3b9['toViewElement'](_0x15302b);return Array['from'](_0x22b579['getChildren']())['find'](_0x166ab8=>_0x166ab8['is']('element','ol')&&_0x166ab8['hasClass']('footnotes-list'));}function N(_0x5b55bb,_0x86e855){let _0x456fcd='',_0x9fa602=_0x5b55bb;for(;_0x9fa602>0x0;){const _0x1b535c=(_0x9fa602-0x1)%0x1a;_0x456fcd=String['fromCharCode'](0x61+_0x1b535c)+_0x456fcd,_0x9fa602=Math['floor']((_0x9fa602-0x1)/0x1a);}return _0x86e855?_0x456fcd['toUpperCase']():_0x456fcd;}const V=[{'value':0x3e8,'numeral':'M'},{'value':0x384,'numeral':'CM'},{'value':0x1f4,'numeral':'D'},{'value':0x190,'numeral':'CD'},{'value':0x64,'numeral':'C'},{'value':0x5a,'numeral':'XC'},{'value':0x32,'numeral':'L'},{'value':0x28,'numeral':'XL'},{'value':0xa,'numeral':'X'},{'value':0x9,'numeral':'IX'},{'value':0x5,'numeral':'V'},{'value':0x4,'numeral':'IV'},{'value':0x1,'numeral':'I'}];function X(_0xaec1e,_0x3d62ca){let _0x3f23aa='',_0x295f2e=_0xaec1e;for(const {value:_0xef6813,numeral:_0x113c8c}of V)for(;_0x295f2e>=_0xef6813;)_0x3f23aa+=_0x113c8c,_0x295f2e-=_0xef6813;return _0x3d62ca?_0x3f23aa:_0x3f23aa['toLowerCase']();}class H extends _0x3f7073{['children'];['stylesView']=null;['additionalProperties']=null;['startIndexFieldView']=null;['focusTracker']=new ot();['keystrokes']=new rt();['focusables']=new _0x360b82();['focusCycler'];constructor(_0x52e624,{styleButtonViews:_0x4ac2e2,styleGridAriaLabel:_0x4e0901}){super(_0x52e624),(this['focusCycler']=new _0x22757e({'focusables':this['focusables'],'focusTracker':this['focusTracker'],'keystrokeHandler':this['keystrokes'],'actions':{'focusPrevious':'shift\x20+\x20tab','focusNext':'tab'}}),this['children']=this['createCollection'](),this['stylesView']=this['_appendStylesView'](_0x4ac2e2,_0x4e0901),[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 _0x4194a2 of this['stylesView']['children'])this['stylesView']['focusTracker']['add'](_0x4194a2['element']);tt({'keystrokeHandler':this['stylesView']['keystrokes'],'focusTracker':this['stylesView']['focusTracker'],'gridItems':this['stylesView']['children'],'numberOfColumns':()=>nt['window']['getComputedStyle'](this['stylesView']['element'])['getPropertyValue']('grid-template-columns')['split']('\x20')['length'],'uiLanguageDirection':this['locale']&&this['locale']['uiLanguageDirection']});}if(this['startIndexFieldView']){this['focusables']['add'](this['startIndexFieldView']),this['focusTracker']['add'](this['startIndexFieldView']['element']);const _0x51e165=_0x45854e=>_0x45854e['stopPropagation']();this['keystrokes']['set']('arrowright',_0x51e165),this['keystrokes']['set']('arrowleft',_0x51e165),this['keystrokes']['set']('arrowup',_0x51e165),this['keystrokes']['set']('arrowdown',_0x51e165);}this['keystrokes']['listenTo'](this['element']);}['focus'](){this['focusCycler']['focusFirst']();}['focusLast'](){this['focusCycler']['focusLast']();}['destroy'](){super['destroy'](),this['focusTracker']['destroy'](),this['keystrokes']['destroy']();}['_appendStylesView'](_0x4833e4,_0x69658a){const _0x334761=new _0x3f7073(this['locale']);return _0x334761['children']=_0x334761['createCollection'](),_0x334761['children']['addMany'](_0x4833e4),_0x334761['setTemplate']({'tag':'div','attributes':{'aria-label':_0x69658a,'class':['ck','ck-footnotes-definitions-styles-list']},'children':_0x334761['children']}),_0x334761['children']['delegate']('execute')['to'](this),_0x334761['focus']=function(){for(const _0x459e6a of this['children'])if(_0x459e6a instanceof _0x2f2617&&_0x459e6a['isOn'])return void _0x459e6a['focus']();this['children']['first']['focus']();},_0x334761['focusTracker']=new ot(),_0x334761['keystrokes']=new rt(),_0x334761['render'](),_0x334761['keystrokes']['listenTo'](_0x334761['element']),this['children']['add'](_0x334761),_0x334761;}['_appendAdditionalPropertiesCollapsibleView'](){const {t:t}=this['locale'],_0x15b3e2=this['_createStartIndexPropertyView'](),_0x58e93d=[_0x15b3e2],_0x24c89d=new st(this['locale'],_0x58e93d);return _0x24c89d['set']({'label':t('Footnotes\x20properties'),'isCollapsed':!0x0}),_0x24c89d['buttonView']['bind']('isEnabled')['toMany'](_0x58e93d,'isEnabled',(..._0x5daa6b)=>_0x5daa6b['some'](_0x35cb59=>_0x35cb59)),_0x24c89d['buttonView']['on']('change:isEnabled',(_0x80d695,_0x18e212,_0x1a0721)=>{_0x1a0721||(_0x24c89d['isCollapsed']=!0x0);}),this['children']['add'](_0x24c89d),[_0x15b3e2,_0x24c89d];}['_createStartIndexPropertyView'](){const {t:t}=this['locale'],_0x496b8e=new it(this['locale'],et);return _0x496b8e['set']({'label':t('Footnotes\x20start\x20at'),'class':'ck-footnotes-definitions-properties__start-index'}),_0x496b8e['fieldView']['set']({'min':0x0,'max':Math['pow'](0x2,0x1e),'step':0x1,'value':0x1,'inputMode':'numeric'}),_0x496b8e['fieldView']['on']('input',()=>{const _0x34a517=_0x496b8e['fieldView']['element'],_0x1f4c5b=_0x34a517['valueAsNumber'];Number['isNaN'](_0x1f4c5b)?_0x496b8e['errorText']=t('Invalid\x20footnotes\x20start\x20index\x20value.'):_0x34a517['checkValidity']()?this['fire']('footnotesListStart',{'startIndex':_0x1f4c5b}):_0x496b8e['errorText']=t(_0x1f4c5b<0x0?'Footnotes\x20start\x20index\x20must\x20be\x20greater\x20than\x200.':'Footnotes\x20start\x20index\x20is\x20too\x20large.');}),_0x496b8e;}}class j extends _0x3b5879{static get['pluginName'](){return'FootnotesPropertiesUI';}static get['requires'](){return[_0x4c98ef,_0x1a9f11];}static get['isOfficialPlugin'](){return!0x0;}static get['isPremiumPlugin'](){return!0x0;}['init'](){const {editor:_0x4f80dc}=this,{componentFactory:_0x4eb715}=_0x4f80dc['ui'];_0x4f80dc['config']['define']('footnotes.footnotesProperties.toolbar',['footnotesStyle']),_0x4eb715['add']('footnotesStyle',function(_0x4bbd08){return _0x5e3113=>{const {t:t}=_0x5e3113,_0x29ab5d=_0x4bbd08['commands']['get']('footnotesStyle'),_0x543a49=_0x13e300(_0x5e3113),{buttonView:_0xc39aaa}=_0x543a49;return _0x543a49['class']='ck-footnotes-styles-dropdown',_0x543a49['bind']('isEnabled')['to'](_0x29ab5d,'isEnabled'),_0xc39aaa['set']({'label':t('Footnotes\x20style'),'icon':_0x58eb75,'tooltip':!0x0}),_0x543a49['once']('change:isOpen',()=>{const _0x1e9191=function({editor:_0xe828db,dropdownView:_0x5839e1}){const {t:t}=_0xe828db['locale'],_0x3448b7=t('Footnotes\x20definitions\x20styles'),_0x663ee1=function(_0x18b117){const t=_0x18b117['locale']['t'],_0xcec6=[{'label':t('Toggle\x20the\x20decimal\x20footnotes\x20style'),'tooltip':t('Decimal\x20footnotes'),'style':'decimal','icon':_0x20ef4c},{'label':t('Toggle\x20the\x20decimal\x20with\x20leading\x20zero\x20footnotes\x20style'),'tooltip':t('Decimal\x20footnotes\x20with\x20leading\x20zero'),'style':'decimal-leading-zero','icon':_0x4aeb21},{'label':t('Toggle\x20the\x20lower–roman\x20footnotes\x20style'),'tooltip':t('Lower–roman\x20footnotes'),'style':'lower-roman','icon':_0x5e236c},{'label':t('Toggle\x20the\x20upper–roman\x20footnotes\x20style'),'tooltip':t('Upper-roman\x20footnotes'),'style':'upper-roman','icon':_0x4181ae},{'label':t('Toggle\x20the\x20lower–latin\x20footnotes\x20style'),'tooltip':t('Lower-latin\x20footnotes'),'style':'lower-latin','icon':_0x405426},{'label':t('Toggle\x20the\x20upper–latin\x20footnotes\x20style'),'tooltip':t('Upper-latin\x20footnotes'),'style':'upper-latin','icon':_0x49bbe8}];return _0xcec6['map'](function(_0x42e032){const _0x2f4e37=_0x42e032['locale'];return({label:_0x3fb0b3,icon:_0x70ff2c,tooltip:_0x2aaa8f,style:_0x98caa5})=>{const _0x919cc7=_0x42e032['commands']['get']('footnotesStyle'),_0xd8e8d8=new _0x2f2617(_0x2f4e37);return _0xd8e8d8['set']({'label':_0x3fb0b3,'icon':_0x70ff2c,'tooltip':_0x2aaa8f}),_0xd8e8d8['bind']('isOn')['to'](_0x919cc7,'value',_0x39d8cc=>_0x39d8cc===_0x98caa5),_0xd8e8d8['bind']('isEnabled')['to'](_0x919cc7,'isEnabled'),_0xd8e8d8['on']('execute',()=>{_0x42e032['execute']('footnotesStyle',{'value':_0x98caa5}),_0x42e032['editing']['view']['focus']();}),_0xd8e8d8;};}(_0x18b117));}(_0xe828db),_0x42737e=new H(_0xe828db['locale'],{'styleGridAriaLabel':_0x3448b7,'styleButtonViews':_0x663ee1});return _0x42737e['delegate']('execute')['to'](_0x5839e1),_0x42737e['on']('footnotesListStart',(_0x53bddf,_0x148c57)=>{_0xe828db['execute']('footnotesStart',{'value':_0x148c57['startIndex']});}),_0x42737e;}({'editor':_0x4bbd08,'dropdownView':_0x543a49});_0x543a49['panelView']['children']['add'](_0x1e9191);}),_0x543a49;};}(_0x4f80dc));}['afterInit'](){const {editor:_0x2c9b0f}=this,{t:t}=_0x2c9b0f['locale'],_0x12a818=_0x2c9b0f['plugins']['get'](_0x1a9f11),{defaultPositions:_0x212376}=_0x1d51c5;_0x12a818['register']('footnotesDefinitions',{'ariaLabel':t('Footnotes\x20definitions\x20toolbar'),'items':_0x2c9b0f['config']['get']('footnotes.footnotesProperties.toolbar'),'balloonClassName':'ck-footnotes-style-balloon\x20ck-toolbar-container','getRelatedElement':_0x3fc916=>{let _0x11f4e8=_0x3fc916['getFirstPosition']()?.['parent'];return _0x11f4e8?.['is']('$text')&&(_0x11f4e8=_0x11f4e8['parent']),_0x11f4e8?.['is']('element')?_0x11f4e8['findAncestor'](J):null;},'positions':[_0x212376['southArrowNorth'],_0x212376['southArrowNorthMiddleWest'],_0x212376['southArrowNorthMiddleEast'],_0x212376['southArrowNorthWest'],_0x212376['southArrowNorthEast'],_0x212376['northArrowSouth'],_0x212376['northArrowSouthMiddleWest'],_0x212376['northArrowSouthMiddleEast'],_0x212376['northArrowSouthWest'],_0x212376['northArrowSouthEast'],_0x212376['viewportStickyNorth']]});}}class ft extends _0x3b5879{static get['pluginName'](){return'FootnotesProperties';}static get['requires'](){return[P,j];}static get['isOfficialPlugin'](){return!0x0;}static get['isPremiumPlugin'](){return!0x0;}}export{lt as Footnotes,e as FootnotesClipboard,r as FootnotesEditing,ft as FootnotesProperties,P as FootnotesPropertiesEditing,j as FootnotesPropertiesUI,C as FootnotesStartCommand,S as FootnotesStyleCommand,c as FootnotesTracker,i as FootnotesUI,m as InsertFootnoteCommand};
|
|
23
|
+
import{Plugin as _0x5a2f63,Command as _0x1fd322}from'@ckeditor/ckeditor5-core/dist/index.js';import{toWidget as _0x224a3f,isWidget as _0x4ca95f,toWidgetEditable as _0x5ba133,WidgetToolbarRepository as _0x7f6384}from'@ckeditor/ckeditor5-widget/dist/index.js';import{uid as _0x45c27b,logWarning as _0x2349c1,FocusTracker as ot,KeystrokeHandler as rt,global as nt}from'@ckeditor/ckeditor5-utils/dist/index.js';import{PointerObserver as _0x12e935,ClickObserver as _0x5e7837}from'@ckeditor/ckeditor5-engine/dist/index.js';import{ClipboardPipeline as _0x174575}from'@ckeditor/ckeditor5-clipboard/dist/index.js';import{MenuBarMenuListItemButtonView as _0x30f994,ButtonView as _0x37e9c1,View as _0x454949,ViewCollection as _0x16b130,FocusCycler as _0xb22746,addKeyboardHandlingForGrid as tt,CollapsibleView as st,LabeledFieldView as it,createLabeledInputNumber as et,ContextualBalloon as _0x491a72,BalloonPanelView as _0x36e52a,createDropdown as _0x16c204}from'@ckeditor/ckeditor5-ui/dist/index.js';import{IconFootnote as _0x9207b7,IconListStyleDecimal as _0x15d4c2,IconListStyleDecimalLeadingZero as _0x2bf4dc,IconListStyleLowerRoman as _0x36f0af,IconListStyleUpperRoman as _0x4f3e40,IconListStyleLowerLatin as _0x3d3d7d,IconListStyleUpperLatin as _0x170bb8}from'@ckeditor/ckeditor5-icons/dist/index.js';class F{['_model'];['_elementName'];['_getElementKey'];['_trackedElements']=new Map();constructor(_0x42fb58,_0x1f0a8b){this['_model']=_0x42fb58,this['_elementName']=_0x1f0a8b['elementName'],this['_getElementKey']=_0x1f0a8b['getElementKey'];}['reset'](){this['_trackedElements']['clear']();}['getChanges'](_0x274d43){const _0x196a59=new Set(),_0x333314=new Map();for(const _0x573f77 of _0x274d43){if('insert'===_0x573f77['type']&&'$text'!==_0x573f77['name']&&_0x573f77['position']['nodeAfter']){const _0x17ce36=this['_model']['createRangeOn'](_0x573f77['position']['nodeAfter']);for(const _0x5389bf of _0x17ce36['getItems']()){if(!_0x5389bf['is']('element',this['_elementName']))continue;const _0x54c1b2=this['_getElementKey'](_0x5389bf);_0x333314['has'](_0x54c1b2)||_0x333314['set'](_0x54c1b2,[]),_0x333314['get'](_0x54c1b2)['push'](_0x5389bf);}}if('remove'===_0x573f77['type']&&_0x573f77['name']===this['_elementName']){const _0x823e7c=this['_getElementKey']({'getAttribute':_0x445756=>_0x573f77['attributes']['get'](_0x445756)});_0x196a59['add'](_0x823e7c);}}for(const [_0x378282,_0x1166b3]of this['_trackedElements'])'$graveyard'===_0x1166b3['root']['rootName']&&_0x196a59['add'](_0x378282);for(const _0xdb5d32 of _0x196a59)this['_trackedElements']['delete'](_0xdb5d32);for(const [_0x4d43ad,_0x6fc649]of _0x333314)this['_trackedElements']['set'](_0x4d43ad,_0x6fc649[_0x6fc649['length']-0x1]);const _0x3734f6=new Set();for(const [_0x38c886,_0x2f0cb9]of _0x333314)_0x196a59['has'](_0x38c886)&&(_0x3734f6['add'](_0x2f0cb9[0x0]),_0x2f0cb9['length']>0x1?_0x333314['set'](_0x38c886,_0x2f0cb9['slice'](0x1)):_0x333314['delete'](_0x38c886),_0x196a59['delete'](_0x38c886));return{'removed':Array['from'](_0x196a59),'inserted':Array['from'](_0x333314['values']())['flat'](),'moved':Array['from'](_0x3734f6)};}}class f extends _0x5a2f63{['_footnotes']=[];['_footnotesDefinitions']=null;['_footnoteFormatter']=null;['_footnoteDefsContainerTracker'];['_footnoteRefsTracker'];['_footnoteDefsTracker'];static get['pluginName'](){return'FootnotesTracker';}static get['isOfficialPlugin'](){return!0x0;}static get['isPremiumPlugin'](){return!0x0;}constructor(_0x210e9a){super(_0x210e9a),this['_footnoteDefsContainerTracker']=new F(this['editor']['model'],{'elementName':'footnotesDefinitions','getElementKey':()=>'singleton'}),this['_footnoteRefsTracker']=new F(this['editor']['model'],{'elementName':'footnoteRef','getElementKey':_0x4f0bbc=>_0x4f0bbc['getAttribute']('footnoteId')}),this['_footnoteDefsTracker']=new F(this['editor']['model'],{'elementName':'footnoteDefinition','getElementKey':_0x2929ae=>_0x2929ae['getAttribute']('footnoteId')});}['init'](){const {editor:_0x2fa907}=this,{model:_0x4024eb,data:_0x3af26f}=_0x2fa907;_0x4024eb['document']['registerPostFixer'](_0x327e11=>{const _0x99ebef=_0x4024eb['document']['differ']['getChanges']();let _0x1df3b8=!0x1;return this['_handleFootnotesDefinitionsObjectChanges'](_0x327e11,_0x99ebef)&&(_0x1df3b8=!0x0),this['_handleFootnoteDefinitionsChanges'](_0x327e11,_0x99ebef)&&(_0x1df3b8=!0x0),this['_handleFootnoteReferencesChanges'](_0x327e11,_0x99ebef)&&(_0x1df3b8=!0x0),this['_ensureFootnotesReferencesHaveProperOrder'](_0x327e11)&&(_0x1df3b8=!0x0),this['_handleFootnotesDefinitionsObjectSync'](_0x327e11)&&(_0x1df3b8=!0x0),this['_sortFootnoteDefinitions'](_0x327e11)&&(_0x1df3b8=!0x0),_0x1df3b8;}),this['listenTo'](_0x4024eb['document'],'change:data',()=>{_0x4024eb['enqueueChange']({'isUndoable':!0x1},_0x5eb67b=>{this['_ensureFootnotesDefinitionsContainerExists'](_0x5eb67b);});},{'priority':'low'}),this['listenTo'](_0x3af26f,'set',()=>{this['_footnotes']=[],this['_footnoteDefsContainerTracker']['reset'](),this['_footnoteRefsTracker']['reset'](),this['_footnoteDefsTracker']['reset']();},{'priority':'high'});}['getFootnotesDefinitionsObjectElement'](){return this['_footnotesDefinitions'];}['getFootnote'](_0x40b0fa){return this['_footnotes']['find'](_0x3b228a=>_0x3b228a['id']===_0x40b0fa)||null;}['getFootnotes'](){return Array['from'](this['_footnotes']);}['getFootnotesFormatter'](){return this['_footnoteFormatter'];}['setFootnoteFormatter'](_0x3a19e2){this['_footnoteFormatter']=_0x3a19e2;}['_updateFootnotesCounters'](_0x27f032,_0x5be619=0x0){let _0x25d510=!0x1;for(let _0x3f2934=_0x5be619;_0x3f2934<this['_footnotes']['length'];_0x3f2934++)this['_updateFootnoteRefCounter'](_0x27f032,_0x3f2934)&&(_0x25d510=!0x0);return _0x25d510;}['_insertEmptyFootnotesDefinitionsContainer'](_0x1fd066,_0x57fb12){const _0x5cbf8c=_0x1fd066['createElement']('footnotesDefinitions',{});return _0x1fd066['append'](_0x5cbf8c,_0x57fb12),this['_footnotesDefinitions']=_0x5cbf8c,_0x5cbf8c;}['_ensureFootnotesDefinitionsContainerExists'](_0x193cc1){if(!this['_footnotes']['length']||this['_footnotesDefinitions'])return;const _0x54e622=this['_footnotes'][0x0]['reference']['root'],_0x306f27=this['_insertEmptyFootnotesDefinitionsContainer'](_0x193cc1,_0x54e622);for(const _0x1e8297 of this['_footnotes'])_0x1e8297['definition']['parent']||_0x193cc1['insert'](_0x1e8297['definition'],_0x306f27,'end');this['_updateFootnotesCounters'](_0x193cc1);}['_handleFootnotesDefinitionsObjectChanges'](_0x47bb76,_0x5375cd){let _0x353e93=!0x1;const {inserted:_0x36d6ae,removed:_0x557cf8,moved:_0x1724f4}=this['_footnoteDefsContainerTracker']['getChanges'](_0x5375cd);if(_0x1724f4['length']&&(this['_footnotesDefinitions']=_0x1724f4[0x0]),_0x36d6ae['length']){if(_0x36d6ae['length']>0x1||this['_footnotesDefinitions']&&_0x36d6ae['some'](_0x36ffdf=>_0x36ffdf!==this['_footnotesDefinitions'])){const _0x5c4e35=_0x47bb76['createElement']('footnotesDefinitions',{}),_0x482498=[];this['_footnotesDefinitions']&&_0x482498['push'](this['_footnotesDefinitions']),_0x482498['push'](..._0x36d6ae),_0x47bb76['insert'](_0x5c4e35,_0x482498[0x0],'before');for(const _0x4b0b6f of _0x482498)_0x47bb76['move'](_0x47bb76['createRangeIn'](_0x4b0b6f),_0x47bb76['createPositionAt'](_0x5c4e35,'end')),_0x47bb76['remove'](_0x4b0b6f);this['_footnotesDefinitions']=_0x5c4e35,this['_updateFootnotesCounters'](_0x47bb76),_0x353e93=!0x0;}else this['_footnotesDefinitions']=_0x36d6ae[0x0];}if(_0x557cf8['length']&&'$graveyard'===this['_footnotesDefinitions']?.['root']['rootName']){for(const _0x440ee9 of this['_footnotes'])_0x47bb76['remove'](_0x440ee9['reference']),_0x353e93=!0x0;this['_footnotes']=[],this['_footnotesDefinitions']=null;}return _0x353e93;}['_handleFootnoteDefinitionsChanges'](_0x5ec2b5,_0x11c55f){let _0x23d298=!0x1;const _0xd606f=this['editor']['config']['get']('footnotes.multiBlock'),{inserted:_0x2f3d71,moved:_0x4ccfc8}=this['_footnoteDefsTracker']['getChanges'](_0x11c55f);for(const _0x5bf27b of[..._0x4ccfc8,..._0x2f3d71]){const _0xf20920=_0x5bf27b['getAttribute']('footnoteId'),_0x404a8d=this['getFootnote'](_0xf20920);_0x404a8d&&(_0x404a8d['definition']=_0x5bf27b),_(_0x5ec2b5,_0xd606f,_0x5bf27b)&&(_0x23d298=!0x0);}return _0x23d298;}['_handleFootnoteReferencesChanges'](_0x306fa0,_0x3d9f45){let _0x3d8759=!0x1;const {removed:_0x4255cf,inserted:_0x13aa89,moved:_0x343819}=this['_footnoteRefsTracker']['getChanges'](_0x3d9f45);for(const _0x35be7f of _0x4255cf)this['_handleRemoveFootnoteReferenceById'](_0x306fa0,_0x35be7f)&&(_0x3d8759=!0x0);for(const _0x23b25a of _0x13aa89)this['_handleInsertedFootnoteReference'](_0x306fa0,_0x23b25a)&&(_0x3d8759=!0x0);for(const _0x5b7339 of _0x343819)this['_handleMovedFootnoteReference'](_0x306fa0,_0x5b7339)&&(_0x3d8759=!0x0);return _0x3d8759;}['_handleFootnotesDefinitionsObjectSync'](_0x2c1ccc){if(!this['_footnotesDefinitions'])return!0x1;let _0x2651a4=!0x1;if(this['_footnotesDefinitions']['childCount']!==this['_footnotes']['length']){const _0x3c27c1=[];for(const _0x551588 of this['_footnotesDefinitions']['getChildren']()){const _0xa95bce=_0x551588['getAttribute']('footnoteId');this['getFootnote'](_0xa95bce)||(_0x3c27c1['unshift'](_0x551588),_0x2651a4=!0x0);}for(const _0x32d645 of _0x3c27c1)_0x2c1ccc['remove'](_0x32d645);}const _0x559293=new Set(),_0xb6e49a=[];for(const _0x32e04a of this['_footnotesDefinitions']['getChildren']()){const _0x3dbf8b=_0x32e04a['getAttribute']('footnoteId');_0x559293['has'](_0x3dbf8b)?(_0xb6e49a['unshift'](_0x32e04a),_0x2651a4=!0x0):_0x559293['add'](_0x3dbf8b);}for(const _0x5821f4 of _0xb6e49a)_0x2c1ccc['remove'](_0x5821f4);return this['_footnotesDefinitions']['childCount']||(_0x2c1ccc['remove'](this['_footnotesDefinitions']),this['_footnotesDefinitions']=null,_0x2651a4=!0x0),_0x2651a4;}['_handleInsertedFootnoteReference'](_0x5b2d28,_0x291afb){if(this['_footnotes']['find'](_0x47e37e=>_0x47e37e['reference']===_0x291afb))return!0x1;let _0x1e229c=!0x1;const _0x159245=_0x291afb['getAttribute']('footnoteId'),_0x540e5e=this['_footnotes']['findIndex'](_0x3b86bb=>_0x3b86bb['id']===_0x159245);-0x1!==_0x540e5e&&(_0x5b2d28['remove'](this['_footnotes'][_0x540e5e]['reference']),this['_footnotes']['splice'](_0x540e5e,0x1),_0x1e229c=!0x0);let _0x55a824=this['_footnotesDefinitions']?function(_0x26349f,_0x58dee4){for(const _0x5bcbe7 of _0x26349f['getChildren']())if(_0x5bcbe7['getAttribute']('footnoteId')===_0x58dee4)return _0x5bcbe7;return null;}(this['_footnotesDefinitions'],_0x159245):null;_0x55a824||(_0x55a824=_0x5b2d28['createElement']('footnoteDefinition',{'footnoteId':_0x159245}),this['_footnotesDefinitions']&&(_0x5b2d28['insert'](_0x55a824,this['_footnotesDefinitions'],'end'),_0x1e229c=!0x0));const _0x100d61={'id':_0x159245,'reference':_0x291afb,'definition':_0x55a824},_0xc050b0=I(this['editor']['model'],this['_footnotes'],_0x291afb);this['_footnotes']['splice'](_0xc050b0,0x0,_0x100d61);let _0x13634c=_0xc050b0;return-0x1!==_0x540e5e&&(_0x13634c=Math['min'](_0xc050b0,_0x540e5e)),this['_updateFootnotesCounters'](_0x5b2d28,_0x13634c)&&(_0x1e229c=!0x0),_0x1e229c;}['_handleRemoveFootnoteReferenceById'](_0x283784,_0x864138){const _0x193e6c=this['_footnotes']['findIndex'](_0x312e79=>_0x312e79['id']===_0x864138);if(-0x1===_0x193e6c)return!0x1;let _0x220f3f=!0x1;const _0x7956f2=this['_footnotes'][_0x193e6c];return'$graveyard'!==_0x7956f2['definition']['root']['rootName']&&(_0x283784['remove'](_0x7956f2['definition']),_0x220f3f=!0x0),this['_footnotes']['splice'](_0x193e6c,0x1),this['_updateFootnotesCounters'](_0x283784,_0x193e6c)&&(_0x220f3f=!0x0),_0x220f3f;}['_handleMovedFootnoteReference'](_0x2360b2,_0x4c5200){const _0x51c66c=_0x4c5200['getAttribute']('footnoteId'),_0x573105=this['_footnotes']['findIndex'](_0x1332cd=>_0x1332cd['id']===_0x51c66c),_0xefa004=this['_footnotes'][_0x573105];let _0x10f5ca=!0x1;_0xefa004['reference']=_0x4c5200,this['_footnotes']['splice'](_0x573105,0x1);const _0x4c58c6=I(this['editor']['model'],this['_footnotes'],_0x4c5200);return this['_footnotes']['splice'](_0x4c58c6,0x0,_0xefa004),this['_updateFootnotesCounters'](_0x2360b2,Math['min'](_0x573105,_0x4c58c6))&&(_0x10f5ca=!0x0),_0x10f5ca;}['_updateFootnoteRefCounter'](_0x586c70,_0x562811){if(!this['_footnotesDefinitions'])return!0x1;const _0x592dbe=this['_footnotes'][_0x562811];let _0x376ab4;return _0x376ab4=this['_footnoteFormatter']?this['_footnoteFormatter']({'footnote':_0x592dbe,'container':this['_footnotesDefinitions'],'digits':String(this['_footnotes']['length'])['length'],'value':_0x562811+0x1}):String(_0x562811+0x1),_0x592dbe['reference']['getAttribute']('footnoteCounter')!=_0x376ab4&&(_0x586c70['setAttribute']('footnoteCounter',_0x376ab4,_0x592dbe['reference']),!0x0);}['_sortFootnoteDefinitions'](_0x16d936){if(!this['_footnotesDefinitions']||this['_footnotes']['length']<0x2)return!0x1;if(function(_0x59aae4,_0xd21143){if(_0x59aae4['length']!==_0xd21143['length'])return!0x1;for(let _0x17a7ec=0x0;_0x17a7ec<_0x59aae4['length'];_0x17a7ec++)if(_0x59aae4[_0x17a7ec]!==_0xd21143[_0x17a7ec])return!0x1;return!0x0;}(this['_footnotes']['map'](_0x3e0239=>_0x3e0239['id']),Array['from'](this['_footnotesDefinitions']['getChildren']())['map'](_0x406ca7=>_0x406ca7['getAttribute']('footnoteId'))))return!0x1;let _0x48a0ad=!0x1;for(let _0x478036=0x0;_0x478036<this['_footnotes']['length'];_0x478036++){const _0xd876e=this['_footnotes'][_0x478036],_0x3ed187=_0x16d936['createPositionBefore'](_0xd876e['definition']),_0x4bcb12=_0x16d936['createPositionAt'](this['_footnotesDefinitions'],_0x478036);_0x3ed187['isEqual'](_0x4bcb12)||(_0x16d936['move'](_0x16d936['createRangeOn'](_0xd876e['definition']),_0x4bcb12),_0x48a0ad=!0x0);}return _0x48a0ad;}['_ensureFootnotesReferencesHaveProperOrder'](_0xadbee8){if(!this['_footnotes']['length'])return!0x1;const {model:_0x150616}=this['editor'];let _0x589374=!0x1;for(let _0x28fae6=0x0;_0x28fae6<this['_footnotes']['length']-0x1;_0x28fae6++){const _0x1510df=this['_footnotes'][_0x28fae6],_0x100f30=this['_footnotes'][_0x28fae6+0x1],_0x5dc4b9=_0x150616['createPositionBefore'](_0x1510df['reference']),_0x449e60=_0x150616['createPositionBefore'](_0x100f30['reference']);'after'===_0x5dc4b9['compareWith'](_0x449e60)&&(this['_handleMovedFootnoteReference'](_0xadbee8,_0x1510df['reference']),_0x28fae6=-0x1,_0x589374=!0x0);}return _0x589374;}}function _(_0x27d66c,_0x1e639c,_0x374db8){if(_0x374db8['childCount'])return!0x1;const _0x4490c8=_0x1e639c?'paragraph':'footnoteInlineContent';return _0x27d66c['insert'](_0x27d66c['createElement'](_0x4490c8),_0x374db8),!0x0;}function I(_0x24aff7,_0x4df1b1,_0x20eebc){if(0x0===_0x4df1b1['length'])return 0x0;const _0x1bdf22=_0x24aff7['createPositionBefore'](_0x20eebc);for(let _0x5acd31=0x0;_0x5acd31<_0x4df1b1['length'];_0x5acd31++){const _0x555914=_0x4df1b1[_0x5acd31],_0x3b3e83=_0x24aff7['createPositionBefore'](_0x555914['reference']);if('before'===_0x1bdf22['compareWith'](_0x3b3e83))return _0x5acd31;}const _0x5911d1=_0x20eebc['root'];let _0x20425d=-0x1;for(let _0x2da742=_0x4df1b1['length']-0x1;_0x2da742>=0x0;_0x2da742--)if(_0x4df1b1[_0x2da742]['reference']['root']===_0x5911d1){_0x20425d=_0x2da742;break;}if(-0x1!==_0x20425d)return _0x20425d+0x1;const _0x2f41f2=_0x24aff7['document']['getRootNames'](),_0x4f7b4d=_0x2f41f2['indexOf'](_0x5911d1['rootName']),_0x507021=_0x2f41f2[_0x4f7b4d+0x1];if(_0x507021){for(let _0x5bf80d=0x0;_0x5bf80d<_0x4df1b1['length'];_0x5bf80d++)if(_0x4df1b1[_0x5bf80d]['reference']['root']['rootName']===_0x507021)return _0x5bf80d;}return _0x4df1b1['length'];}class m extends _0x1fd322{['refresh'](){const _0x413e7c=this['editor']['model']['document']['selection'],_0x3eedda=this['_getPositionToInsertFootnote'](_0x413e7c);this['isEnabled']=!!_0x3eedda;}['execute'](_0x4f132b){const {editor:_0xe45f95}=this,{model:_0x4ceb74}=_0xe45f95,{selection:_0x4d6c75}=_0x4ceb74['document'],_0x36479b=this['_getPositionToInsertFootnote'](_0x4d6c75);if(!_0x36479b)return;const _0x345570=_0xe45f95['plugins']['get']('FootnotesEditing'),_0x1a7124=_0x4f132b?.['footnoteId']??_0x45c27b();!function(_0x3f095d){return'string'==typeof _0x3f095d&&_0x3f095d['length']>0x0&&!/\s/['test'](_0x3f095d)&&!/^\d/['test'](_0x3f095d);}(_0x1a7124)?_0x2349c1('insert-footnote-command-executed-with-invalid-id'):(_0x4ceb74['change'](_0xf99340=>{const _0x54cb73=_0xf99340['createElement']('footnoteRef',{'footnoteId':_0x1a7124});_0x4ceb74['insertObject'](_0x54cb73,_0x36479b,null);}),_0x345570['_moveSelectionToFootnoteDefinition'](_0x1a7124));}['_getPositionToInsertFootnote'](_0x44282a){const {model:_0x9cd96f}=this['editor'],{schema:_0x372ecd}=_0x9cd96f,_0x42ef6b=_0x44282a['getFirstRange']();for(const _0x5786aa of _0x42ef6b['getItems']())if(_0x372ecd['isBlock'](_0x5786aa)||_0x372ecd['isObject'](_0x5786aa))return null;const _0x1f97b9=_0x42ef6b['end'];return _0x372ecd['checkChild'](_0x1f97b9,'footnoteRef')?_0x1f97b9:null;}}class r extends _0x5a2f63{static get['pluginName'](){return'FootnotesEditing';}static get['requires'](){return[f];}static get['isOfficialPlugin'](){return!0x0;}static get['isPremiumPlugin'](){return!0x0;}['init'](){const {editor:_0x5a5731}=this;_0x5a5731['config']['define']('footnotes.multiBlock',!0x0),_0x5a5731['commands']['add']('insertFootnote',new m(_0x5a5731)),this['_defineSchema'](),this['_defineRefsConverters'](),this['_defineDefinitionsConverters'](),this['_defineDefinitionConverters'](),this['_defineBogusParagraphConverters'](),this['_defineKeyboardHandlers'](),this['_defineClickHandlers']();}['afterInit'](){!async function(_0x2d9ce7){const _0x12634b=_0xc8a3c3([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]),_0x4c318a=0x47a28506,_0x396128=0x47a5ff66^_0x4c318a,_0x246aa4=window[_0xc8a3c3([0x44,0x61,0x74,0x65])][_0xc8a3c3([0x6e,0x6f,0x77])](),_0x24232a=_0x2d9ce7[_0xc8a3c3([0x65,0x64,0x69,0x74,0x6f,0x72])],_0x535d33=new window[(_0xc8a3c3([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0x20bfd8=>{_0x24232a[_0xc8a3c3([0x6f,0x6e,0x63,0x65])](_0xc8a3c3([0x72,0x65,0x61,0x64,0x79]),_0x20bfd8);}),_0x2020cd={[_0xc8a3c3([0x6b,0x74,0x79])]:_0xc8a3c3([0x45,0x43]),[_0xc8a3c3([0x75,0x73,0x65])]:_0xc8a3c3([0x73,0x69,0x67]),[_0xc8a3c3([0x63,0x72,0x76])]:_0xc8a3c3([0x50,0x2d,0x32,0x35,0x36]),[_0xc8a3c3([0x78])]:_0xc8a3c3([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]),[_0xc8a3c3([0x79])]:_0xc8a3c3([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]),[_0xc8a3c3([0x61,0x6c,0x67])]:_0xc8a3c3([0x45,0x53,0x32,0x35,0x36])},_0x5a58b5=_0x24232a[_0xc8a3c3([0x63,0x6f,0x6e,0x66,0x69,0x67])][_0xc8a3c3([0x67,0x65,0x74])](_0xc8a3c3([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x4b,0x65,0x79]));async function _0x3b24d6(){let _0x49eb62,_0x59d990=null,_0x414335=null;try{if(_0x5a58b5==_0xc8a3c3([0x47,0x50,0x4c]))return _0xc8a3c3([0x4e,0x6f,0x74,0x41,0x6c,0x6c,0x6f,0x77,0x65,0x64]);if(_0x49eb62=_0x232dc5(),!_0x49eb62)return _0xc8a3c3([0x49,0x6e,0x76,0x61,0x6c,0x69,0x64]);return _0x49eb62[_0xc8a3c3([0x75,0x73,0x61,0x67,0x65,0x45,0x6e,0x64,0x70,0x6f,0x69,0x6e,0x74])]&&(_0x414335=_0x2007d1(_0x49eb62[_0xc8a3c3([0x75,0x73,0x61,0x67,0x65,0x45,0x6e,0x64,0x70,0x6f,0x69,0x6e,0x74])],_0x49eb62[_0xc8a3c3([0x6a,0x74,0x69])])),await _0x5b1477()?_0x4e2a3a()?_0x18274c()?_0xc8a3c3([0x45,0x78,0x70,0x69,0x72,0x65,0x64]):_0x1c3b6f()?(_0x49eb62[_0xc8a3c3([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x54,0x79,0x70,0x65])]==_0xc8a3c3([0x65,0x76,0x61,0x6c,0x75,0x61,0x74,0x69,0x6f,0x6e])&&(_0x59d990=_0x11b28c(_0xc8a3c3([0x45,0x76,0x61,0x6c,0x75,0x61,0x74,0x69,0x6f,0x6e,0x4c,0x69,0x6d,0x69,0x74]))),_0x49eb62[_0xc8a3c3([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x54,0x79,0x70,0x65])]==_0xc8a3c3([0x74,0x72,0x69,0x61,0x6c])&&(_0x59d990=_0x11b28c(_0xc8a3c3([0x54,0x72,0x69,0x61,0x6c,0x4c,0x69,0x6d,0x69,0x74]))),await _0x6d0e6()):_0xc8a3c3([0x44,0x6f,0x6d,0x61,0x69,0x6e,0x4c,0x69,0x6d,0x69,0x74]):_0xc8a3c3([0x4e,0x6f,0x74,0x41,0x6c,0x6c,0x6f,0x77,0x65,0x64]):_0xc8a3c3([0x49,0x6e,0x76,0x61,0x6c,0x69,0x64]);}catch{return _0xc8a3c3([0x49,0x6e,0x76,0x61,0x6c,0x69,0x64]);}function _0x18274c(){const _0x223de3=[_0xc8a3c3([0x65,0x76,0x61,0x6c,0x75,0x61,0x74,0x69,0x6f,0x6e]),_0xc8a3c3([0x74,0x72,0x69,0x61,0x6c])][_0xc8a3c3([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x49eb62[_0xc8a3c3([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x54,0x79,0x70,0x65])])?_0x246aa4/0x3e8:0xe10*_0x396128;return _0x49eb62[_0xc8a3c3([0x65,0x78,0x70])]<_0x223de3;}function _0x4e2a3a(){const _0x495f66=_0x49eb62[_0xc8a3c3([0x66,0x65,0x61,0x74,0x75,0x72,0x65,0x73])];return!!_0x495f66&&(!!_0x495f66[_0xc8a3c3([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0xc8a3c3([0x2a]))||!!_0x495f66[_0xc8a3c3([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0xc8a3c3([0x46,0x4f,0x4f])));}function _0x1c3b6f(){const _0x1e13d0=_0x49eb62[_0xc8a3c3([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x64,0x48,0x6f,0x73,0x74,0x73])];if(!_0x1e13d0||0x0==_0x1e13d0[_0xc8a3c3([0x6c,0x65,0x6e,0x67,0x74,0x68])])return!0x0;const {hostname:_0x14327c}=new URL(window[_0xc8a3c3([0x6c,0x6f,0x63,0x61,0x74,0x69,0x6f,0x6e])]['href']);if(_0x1e13d0[_0xc8a3c3([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x14327c))return!0x0;const _0x18b44b=_0x14327c[_0xc8a3c3([0x73,0x70,0x6c,0x69,0x74])](_0xc8a3c3([0x2e]));return _0x1e13d0[_0xc8a3c3([0x66,0x69,0x6c,0x74,0x65,0x72])](_0x5453bc=>_0x5453bc[_0xc8a3c3([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0xc8a3c3([0x2a])))[_0xc8a3c3([0x6d,0x61,0x70])](_0x11bca6=>_0x11bca6[_0xc8a3c3([0x73,0x70,0x6c,0x69,0x74])](_0xc8a3c3([0x2e])))[_0xc8a3c3([0x66,0x69,0x6c,0x74,0x65,0x72])](_0x34fc42=>_0x34fc42[_0xc8a3c3([0x6c,0x65,0x6e,0x67,0x74,0x68])]<=_0x18b44b[_0xc8a3c3([0x6c,0x65,0x6e,0x67,0x74,0x68])])[_0xc8a3c3([0x6d,0x61,0x70])](_0x5018d6=>Array(_0x18b44b[_0xc8a3c3([0x6c,0x65,0x6e,0x67,0x74,0x68])]-_0x5018d6[_0xc8a3c3([0x6c,0x65,0x6e,0x67,0x74,0x68])])[_0xc8a3c3([0x66,0x69,0x6c,0x6c])](_0x5018d6[0x0]===_0xc8a3c3([0x2a])?_0xc8a3c3([0x2a]):'')[_0xc8a3c3([0x63,0x6f,0x6e,0x63,0x61,0x74])](_0x5018d6))[_0xc8a3c3([0x73,0x6f,0x6d,0x65])](_0x88ae07=>_0x18b44b[_0xc8a3c3([0x65,0x76,0x65,0x72,0x79])]((_0x2752c3,_0x463a3f)=>_0x88ae07[_0x463a3f]===_0x2752c3||_0x88ae07[_0x463a3f]===_0xc8a3c3([0x2a])));}function _0x6d0e6(){return _0x59d990&&_0x414335?new window[(_0xc8a3c3([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))]((_0x20f7b6,_0xed986a)=>{_0x59d990[_0xc8a3c3([0x74,0x68,0x65,0x6e])](_0x20f7b6,_0xed986a),_0x414335[_0xc8a3c3([0x74,0x68,0x65,0x6e])](_0x4da7d5=>{_0x4da7d5!=_0xc8a3c3([0x56,0x61,0x6c,0x69,0x64])&&_0x20f7b6(_0x4da7d5);},_0xed986a);}):_0x59d990||_0x414335||_0xc8a3c3([0x56,0x61,0x6c,0x69,0x64]);}}function _0x2007d1(_0x50a7dd,_0x5965c6){return new window[(_0xc8a3c3([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0xada38e=>{if(_0x26b2eb())return _0xada38e(_0xc8a3c3([0x56,0x61,0x6c,0x69,0x64]));_0x4ed23a(),_0x24232a[_0xc8a3c3([0x64,0x65,0x63,0x6f,0x72,0x61,0x74,0x65])](_0xc8a3c3([0x5f,0x73,0x65,0x6e,0x64,0x55,0x73,0x61,0x67,0x65,0x52,0x65,0x71,0x75,0x65,0x73,0x74]));let _0x46f472=!0x1;const _0x464d37=_0x45c27b();function _0x594179(_0x35d3c4){return!!_0x35d3c4&&(typeof _0x35d3c4===_0xc8a3c3([0x6f,0x62,0x6a,0x65,0x63,0x74])||typeof _0x35d3c4===_0xc8a3c3([0x66,0x75,0x6e,0x63,0x74,0x69,0x6f,0x6e]))&&typeof _0x35d3c4[_0xc8a3c3([0x74,0x68,0x65,0x6e])]===_0xc8a3c3([0x66,0x75,0x6e,0x63,0x74,0x69,0x6f,0x6e])&&typeof _0x35d3c4[_0xc8a3c3([0x63,0x61,0x74,0x63,0x68])]===_0xc8a3c3([0x66,0x75,0x6e,0x63,0x74,0x69,0x6f,0x6e]);}function _0x19f455(_0x350536){_0x5c6f4b(_0x350536)[_0xc8a3c3([0x74,0x68,0x65,0x6e])](_0x3533ea=>{if(!_0x3533ea||_0x3533ea[_0xc8a3c3([0x73,0x74,0x61,0x74,0x75,0x73])]!=_0xc8a3c3([0x6f,0x6b]))return _0xc8a3c3([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]);return _0x452a84(_0x4f6872(_0x464d37+_0x5965c6))!=_0x3533ea[_0xc8a3c3([0x76,0x65,0x72,0x69,0x66,0x69,0x63,0x61,0x74,0x69,0x6f,0x6e])]?_0xc8a3c3([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]):_0xc8a3c3([0x56,0x61,0x6c,0x69,0x64]);})[_0xc8a3c3([0x74,0x68,0x65,0x6e])](_0x25f46a=>(_0x198c75(),_0x25f46a),()=>{const _0x97933c=_0x3795a5();return null==_0x97933c?(_0x198c75(),_0xc8a3c3([0x56,0x61,0x6c,0x69,0x64])):_0xc8a3c3(_0x246aa4-_0x97933c>(0x63ae0106^_0x4c318a)?[0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]:[0x56,0x61,0x6c,0x69,0x64]);})[_0xc8a3c3([0x74,0x68,0x65,0x6e])](_0xada38e)[_0xc8a3c3([0x63,0x61,0x74,0x63,0x68])](()=>{_0xada38e(_0xc8a3c3([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]));});const _0x5aa4fc=0x47946b86^_0x4c318a;function _0x198c75(){const _0x1a20b6=_0xc8a3c3([0x6c,0x6c,0x63,0x74,0x2d])+_0x452a84(_0x4f6872(_0x50a7dd)),_0xa0006e=_0x5dba66(_0x452a84(window[_0xc8a3c3([0x4d,0x61,0x74,0x68])][_0xc8a3c3([0x63,0x65,0x69,0x6c])](_0x246aa4/_0x5aa4fc)));window[_0xc8a3c3([0x6c,0x6f,0x63,0x61,0x6c,0x53,0x74,0x6f,0x72,0x61,0x67,0x65])][_0xc8a3c3([0x73,0x65,0x74,0x49,0x74,0x65,0x6d])](_0x1a20b6,_0xa0006e);}function _0x3795a5(){const _0x229d13=_0xc8a3c3([0x6c,0x6c,0x63,0x74,0x2d])+_0x452a84(_0x4f6872(_0x50a7dd)),_0x1b243f=window[_0xc8a3c3([0x6c,0x6f,0x63,0x61,0x6c,0x53,0x74,0x6f,0x72,0x61,0x67,0x65])][_0xc8a3c3([0x67,0x65,0x74,0x49,0x74,0x65,0x6d])](_0x229d13);return _0x1b243f?window[_0xc8a3c3([0x70,0x61,0x72,0x73,0x65,0x49,0x6e,0x74])](_0x5dba66(_0x1b243f),0x10)*_0x5aa4fc:null;}function _0x5c6f4b(_0xff3719){return new window[(_0xc8a3c3([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))]((_0x1dae5d,_0x13b4f9)=>{_0xff3719[_0xc8a3c3([0x74,0x68,0x65,0x6e])](_0x1dae5d,_0x13b4f9),window[_0xc8a3c3([0x73,0x65,0x74,0x54,0x69,0x6d,0x65,0x6f,0x75,0x74])](_0x13b4f9,0x47a351c6^_0x4c318a);});}}_0x24232a[_0xc8a3c3([0x6f,0x6e])](_0xc8a3c3([0x5f,0x73,0x65,0x6e,0x64,0x55,0x73,0x61,0x67,0x65,0x52,0x65,0x71,0x75,0x65,0x73,0x74]),(_0x33ab3c,_0x271f23)=>{if(_0x271f23[0x0]!=_0x50a7dd)return _0xada38e(_0xc8a3c3([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]));_0x271f23[0x1]={..._0x271f23[0x1],[_0xc8a3c3([0x72,0x65,0x71,0x75,0x65,0x73,0x74,0x49,0x64])]:_0x464d37};},{[_0xc8a3c3([0x70,0x72,0x69,0x6f,0x72,0x69,0x74,0x79])]:_0xc8a3c3([0x68,0x69,0x67,0x68])}),_0x24232a[_0xc8a3c3([0x6f,0x6e])](_0xc8a3c3([0x5f,0x73,0x65,0x6e,0x64,0x55,0x73,0x61,0x67,0x65,0x52,0x65,0x71,0x75,0x65,0x73,0x74]),_0x253d64=>{_0x594179(_0x253d64[_0xc8a3c3([0x72,0x65,0x74,0x75,0x72,0x6e])])&&(_0x46f472=!0x0,_0x19f455(_0x253d64[_0xc8a3c3([0x72,0x65,0x74,0x75,0x72,0x6e])]));},{[_0xc8a3c3([0x70,0x72,0x69,0x6f,0x72,0x69,0x74,0x79])]:_0xc8a3c3([0x6c,0x6f,0x77])}),_0x535d33[_0xc8a3c3([0x74,0x68,0x65,0x6e])](()=>{_0x46f472||_0xada38e(_0xc8a3c3([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]));});});function _0x26b2eb(){return _0x24232a[_0xc8a3c3([0x65,0x64,0x69,0x74,0x69,0x6e,0x67])][_0xc8a3c3([0x76,0x69,0x65,0x77])][_0xc8a3c3([0x5f,0x6f,0x76,0x65,0x72,0x6c,0x61,0x79,0x4d,0x6f,0x64,0x65,0x48,0x69,0x6e,0x74])]==_0xc8a3c3([0x61,0x75,0x74,0x6f]);}function _0x4ed23a(){_0x24232a[_0xc8a3c3([0x65,0x64,0x69,0x74,0x69,0x6e,0x67])][_0xc8a3c3([0x76,0x69,0x65,0x77])][_0xc8a3c3([0x5f,0x6f,0x76,0x65,0x72,0x6c,0x61,0x79,0x4d,0x6f,0x64,0x65,0x48,0x69,0x6e,0x74])]=_0xc8a3c3([0x61,0x75,0x74,0x6f]);}}function _0x11b28c(_0x6194cb){const _0x4f7680=[new window[(_0xc8a3c3([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0x2ebb31=>setTimeout(_0x2ebb31,0x47abbbca^_0x4c318a)),_0x535d33[_0xc8a3c3([0x74,0x68,0x65,0x6e])](()=>new window[(_0xc8a3c3([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0x238677=>{let _0x5ae6db=0x0;_0x24232a[_0xc8a3c3([0x6d,0x6f,0x64,0x65,0x6c])][_0xc8a3c3([0x6f,0x6e])](_0xc8a3c3([0x61,0x70,0x70,0x6c,0x79,0x4f,0x70,0x65,0x72,0x61,0x74,0x69,0x6f,0x6e]),(_0x34af02,_0x131258)=>{_0x131258[0x0][_0xc8a3c3([0x69,0x73,0x44,0x6f,0x63,0x75,0x6d,0x65,0x6e,0x74,0x4f,0x70,0x65,0x72,0x61,0x74,0x69,0x6f,0x6e])]&&_0x5ae6db++,_0x5ae6db==(0x47a284fe^_0x4c318a)&&(_0x238677(),_0x34af02[_0xc8a3c3([0x6f,0x66,0x66])]());});}))];return window[_0xc8a3c3([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65])][_0xc8a3c3([0x72,0x61,0x63,0x65])](_0x4f7680)[_0xc8a3c3([0x74,0x68,0x65,0x6e])](()=>_0x6194cb);}async function _0xaba96d(){await _0x535d33,_0x24232a[_0xc8a3c3([0x6d,0x6f,0x64,0x65,0x6c])][_0xc8a3c3([0x63,0x68,0x61,0x6e,0x67,0x65])]=_0xe29a0c,_0x24232a[_0xc8a3c3([0x6d,0x6f,0x64,0x65,0x6c])][_0xc8a3c3([0x65,0x6e,0x71,0x75,0x65,0x75,0x65,0x43,0x68,0x61,0x6e,0x67,0x65])]=_0xe29a0c,_0x24232a[_0xc8a3c3([0x65,0x6e,0x61,0x62,0x6c,0x65,0x52,0x65,0x61,0x64,0x4f,0x6e,0x6c,0x79,0x4d,0x6f,0x64,0x65])](_0xc8a3c3([0x6d,0x6f,0x64,0x65,0x6c]));}function _0x5a2ac3(_0x3e40a3){const _0x2981db=_0x586d5a();_0x24232a[_0x2981db]=_0xc8a3c3([0x66,0x6f,0x6f,0x74,0x6e,0x6f,0x74,0x65,0x73,0x4c,0x69,0x63,0x65,0x6e,0x73,0x65,0x4b,0x65,0x79])+_0x3e40a3,_0x3e40a3!=_0xc8a3c3([0x56,0x61,0x6c,0x69,0x64])&&_0xaba96d();}function _0x586d5a(){const _0x50a814=window[_0xc8a3c3([0x53,0x74,0x72,0x69,0x6e,0x67])](window[_0xc8a3c3([0x70,0x65,0x72,0x66,0x6f,0x72,0x6d,0x61,0x6e,0x63,0x65])][_0xc8a3c3([0x6e,0x6f,0x77])]())[_0xc8a3c3([0x72,0x65,0x70,0x6c,0x61,0x63,0x65])](_0xc8a3c3([0x2e]),'');let _0x4847d1=_0xc8a3c3([0x75]);for(let _0x452281=0x0;_0x452281<_0x50a814[_0xc8a3c3([0x6c,0x65,0x6e,0x67,0x74,0x68])];_0x452281+=0x2){let _0x4718fa=window[_0xc8a3c3([0x70,0x61,0x72,0x73,0x65,0x49,0x6e,0x74])](_0x50a814[_0xc8a3c3([0x73,0x75,0x62,0x73,0x74,0x72,0x69,0x6e,0x67])](_0x452281,_0x452281+0x2));_0x4718fa>=_0x12634b[_0xc8a3c3([0x6c,0x65,0x6e,0x67,0x74,0x68])]&&(_0x4718fa-=_0x12634b[_0xc8a3c3([0x6c,0x65,0x6e,0x67,0x74,0x68])]),_0x4847d1+=_0x12634b[_0x4718fa];}return _0x4847d1;}function _0x232dc5(){const _0x526681=_0x5a58b5[_0xc8a3c3([0x73,0x70,0x6c,0x69,0x74])](_0xc8a3c3([0x2e]));if(0x3!=_0x526681[_0xc8a3c3([0x6c,0x65,0x6e,0x67,0x74,0x68])])return null;return _0x1ab7fa(_0x526681[0x1]);function _0x1ab7fa(_0x399a40){const _0x418b79=_0x503e2(_0x399a40);return _0x418b79&&_0x206c3f()?_0x418b79:null;function _0x206c3f(){const _0xab28e3=_0x418b79[_0xc8a3c3([0x6a,0x74,0x69])],_0x473385=window[_0xc8a3c3([0x70,0x61,0x72,0x73,0x65,0x49,0x6e,0x74])](_0xab28e3[_0xc8a3c3([0x73,0x75,0x62,0x73,0x74,0x72,0x69,0x6e,0x67])](_0xab28e3[_0xc8a3c3([0x6c,0x65,0x6e,0x67,0x74,0x68])]-0x8),0x10),_0x221511={..._0x418b79,[_0xc8a3c3([0x6a,0x74,0x69])]:_0xab28e3[_0xc8a3c3([0x73,0x75,0x62,0x73,0x74,0x72,0x69,0x6e,0x67])](0x0,_0xab28e3[_0xc8a3c3([0x6c,0x65,0x6e,0x67,0x74,0x68])]-0x8)};return delete _0x221511[_0xc8a3c3([0x76,0x63])],_0x4f6872(_0x221511)==_0x473385;}}}async function _0x5b1477(){let _0x58df60=!0x0;try{const _0x1977d6=_0x5a58b5[_0xc8a3c3([0x73,0x70,0x6c,0x69,0x74])](_0xc8a3c3([0x2e])),[_0x4b64e0,_0x2eac84,_0x3aaf06]=_0x1977d6;return _0x10eb07(_0x4b64e0),await _0x125467(_0x4b64e0,_0x2eac84,_0x3aaf06),_0x58df60;}catch{return!0x1;}function _0x10eb07(_0x10618e){const _0x4c7e4f=_0x503e2(_0x10618e);_0x4c7e4f&&_0x4c7e4f[_0xc8a3c3([0x61,0x6c,0x67])]==_0xc8a3c3([0x45,0x53,0x32,0x35,0x36])||(_0x58df60=!0x1);}async function _0x125467(_0x46697f,_0x59d79e,_0x589ef8){const _0x59027e=window[_0xc8a3c3([0x55,0x69,0x6e,0x74,0x38,0x41,0x72,0x72,0x61,0x79])][_0xc8a3c3([0x66,0x72,0x6f,0x6d])](_0x3672fb(_0x589ef8),_0xc726e3=>_0xc726e3[_0xc8a3c3([0x63,0x68,0x61,0x72,0x43,0x6f,0x64,0x65,0x41,0x74])](0x0)),_0xf38980=new window[(_0xc8a3c3([0x54,0x65,0x78,0x74,0x45,0x6e,0x63,0x6f,0x64,0x65,0x72]))]()[_0xc8a3c3([0x65,0x6e,0x63,0x6f,0x64,0x65])](_0x46697f+_0xc8a3c3([0x2e])+_0x59d79e),_0x2439fe=window[_0xc8a3c3([0x63,0x72,0x79,0x70,0x74,0x6f])][_0xc8a3c3([0x73,0x75,0x62,0x74,0x6c,0x65])];if(!_0x2439fe)return;const _0xfbe072=await _0x2439fe[_0xc8a3c3([0x69,0x6d,0x70,0x6f,0x72,0x74,0x4b,0x65,0x79])](_0xc8a3c3([0x6a,0x77,0x6b]),_0x2020cd,{[_0xc8a3c3([0x6e,0x61,0x6d,0x65])]:_0xc8a3c3([0x45,0x43,0x44,0x53,0x41]),[_0xc8a3c3([0x6e,0x61,0x6d,0x65,0x64,0x43,0x75,0x72,0x76,0x65])]:_0xc8a3c3([0x50,0x2d,0x32,0x35,0x36])},!0x1,[_0xc8a3c3([0x76,0x65,0x72,0x69,0x66,0x79])]);await _0x2439fe[_0xc8a3c3([0x76,0x65,0x72,0x69,0x66,0x79])]({[_0xc8a3c3([0x6e,0x61,0x6d,0x65])]:_0xc8a3c3([0x45,0x43,0x44,0x53,0x41]),[_0xc8a3c3([0x68,0x61,0x73,0x68])]:{[_0xc8a3c3([0x6e,0x61,0x6d,0x65])]:_0xc8a3c3([0x53,0x48,0x41,0x2d,0x32,0x35,0x36])}},_0xfbe072,_0x59027e,_0xf38980)||(_0x58df60=!0x1);}}function _0x503e2(_0x2f5126){return _0x2f5126[_0xc8a3c3([0x73,0x74,0x61,0x72,0x74,0x73,0x57,0x69,0x74,0x68])](_0xc8a3c3([0x65,0x79]))?JSON[_0xc8a3c3([0x70,0x61,0x72,0x73,0x65])](_0x3672fb(_0x2f5126)):null;}function _0x3672fb(_0x20e237){return window[_0xc8a3c3([0x61,0x74,0x6f,0x62])](_0x20e237[_0xc8a3c3([0x72,0x65,0x70,0x6c,0x61,0x63,0x65])](/-/g,_0xc8a3c3([0x2b]))[_0xc8a3c3([0x72,0x65,0x70,0x6c,0x61,0x63,0x65])](/_/g,_0xc8a3c3([0x2f])));}function _0x4f6872(_0x186fd9){let _0x361004=0x1505;function _0x324e39(_0x1a084f){for(let _0x1badc1=0x0;_0x1badc1<_0x1a084f[_0xc8a3c3([0x6c,0x65,0x6e,0x67,0x74,0x68])];_0x1badc1++){const _0x487cc2=_0x1a084f[_0xc8a3c3([0x63,0x68,0x61,0x72,0x43,0x6f,0x64,0x65,0x41,0x74])](_0x1badc1);_0x361004=(_0x361004<<0x5)+_0x361004+_0x487cc2,_0x361004&=_0x361004;}}function _0x627ff6(_0x4cdf8a){Array[_0xc8a3c3([0x69,0x73,0x41,0x72,0x72,0x61,0x79])](_0x4cdf8a)?_0x4cdf8a[_0xc8a3c3([0x66,0x6f,0x72,0x45,0x61,0x63,0x68])](_0x627ff6):_0x4cdf8a&&typeof _0x4cdf8a==_0xc8a3c3([0x6f,0x62,0x6a,0x65,0x63,0x74])?Object[_0xc8a3c3([0x65,0x6e,0x74,0x72,0x69,0x65,0x73])](_0x4cdf8a)[_0xc8a3c3([0x73,0x6f,0x72,0x74])]()[_0xc8a3c3([0x66,0x6f,0x72,0x45,0x61,0x63,0x68])](([_0xc8807b,_0x2821bf])=>{_0x324e39(_0xc8807b),_0x627ff6(_0x2821bf);}):_0x324e39(window[_0xc8a3c3([0x53,0x74,0x72,0x69,0x6e,0x67])](_0x4cdf8a));}return _0x627ff6(_0x186fd9),_0x361004>>>0x0;}function _0x452a84(_0x2ec28f){return _0x2ec28f[_0xc8a3c3([0x74,0x6f,0x53,0x74,0x72,0x69,0x6e,0x67])](0x10)[_0xc8a3c3([0x70,0x61,0x64,0x53,0x74,0x61,0x72,0x74])](0x8,_0xc8a3c3([0x30]));}function _0x5dba66(_0x407c52){return _0x407c52[_0xc8a3c3([0x73,0x70,0x6c,0x69,0x74])]('')[_0xc8a3c3([0x72,0x65,0x76,0x65,0x72,0x73,0x65])]()[_0xc8a3c3([0x6a,0x6f,0x69,0x6e])]('');}function _0xe29a0c(){}function _0xc8a3c3(_0x22aa86){return _0x22aa86['map'](_0x15efae=>String['fromCharCode'](_0x15efae))['join']('');}_0x5a2ac3(await _0x3b24d6());}(this);}['_moveSelectionToFootnoteDefinition'](_0x17a5e1){const {plugins:_0x10bdcd,editing:_0x21f92d,model:_0x1db291}=this['editor'],_0x583023=_0x10bdcd['get'](f)['getFootnote'](_0x17a5e1);return!!_0x583023&&(_0x1db291['change'](_0x4f6a38=>{_0x4f6a38['setSelection'](_0x4f6a38['createPositionAt'](_0x583023['definition'],'end'));}),_0x21f92d['view']['scrollToTheSelection'](),!0x0);}['_moveSelectionToFootnoteReference'](_0x2e24d4){const {plugins:_0x4073fa,editing:_0xcb7e75,model:_0x1494e8}=this['editor'],_0x3ca6c8=_0x4073fa['get'](f)['getFootnote'](_0x2e24d4);return!!_0x3ca6c8&&(_0x1494e8['change'](_0x2d9c53=>{_0x2d9c53['setSelection'](_0x3ca6c8['reference'],'on');}),_0xcb7e75['view']['scrollToTheSelection'](),!0x0);}['_defineSchema'](){const {schema:_0x2af5da}=this['editor']['model'],_0x31f9df=this['editor']['config']['get']('footnotes.multiBlock');_0x2af5da['register']('footnoteRef',{'inheritAllFrom':'$inlineObject','allowAttributes':['footnoteId','footnoteCounter']}),_0x2af5da['register']('footnotesDefinitions',{'inheritAllFrom':'$blockObject','allowChildren':['footnoteDefinition']}),_0x2af5da['register']('footnoteDefinition',{'allowAttributes':['footnoteId'],'disallowAttributes':['listItemId'],'isLimit':!0x0}),_0x31f9df?_0x2af5da['extend']('footnoteDefinition',{'allowContentOf':'$container'}):_0x2af5da['register']('footnoteInlineContent',{'allowIn':'footnoteDefinition','allowContentOf':'$block','isLimit':!0x0}),_0x2af5da['addChildCheck'](_0x42b7dc=>{for(const _0x3b0a61 of _0x42b7dc)if('footnoteDefinition'===_0x3b0a61['name'])return!0x1;},'footnoteRef');}['_defineRefsConverters'](){const {editor:_0x106081}=this,{conversion:_0x165054,editing:_0x501f94}=_0x106081,{t:t}=_0x106081['locale'];_0x165054['for']('upcast')['elementToElement']({'view':{'name':'sup','classes':'footnote'},'model':(_0x2e87ea,{writer:_0x463d13,consumable:_0x3e1b25})=>{const _0x544457=_0x2e87ea['getChild'](0x0);if(!_0x544457||!_0x544457['is']('element','a'))return null;const _0x4a3273=_0x544457['getAttribute']('href')||'';if(!_0x4a3273['startsWith']('#'))return null;const _0x2afdb0=_0x4a3273['replace'](/^#/,'');if(!_0x2afdb0)return null;_0x3e1b25['consume'](_0x544457,{'name':!0x0,'attributes':['href']});for(const {item:_0x52096c}of _0x501f94['view']['createRangeIn'](_0x544457))_0x52096c['is']('$textProxy')?_0x3e1b25['consume'](_0x52096c['textNode'],{'name':!0x0}):_0x52096c['is']('element')&&_0x3e1b25['consume'](_0x52096c,{'name':!0x0});return _0x463d13['createElement']('footnoteRef',{'footnoteId':_0x2afdb0});}}),_0x165054['for']('dataDowncast')['elementToElement']({'model':{'name':'footnoteRef','attributes':['footnoteId','footnoteCounter']},'view':(_0x5ede41,{writer:_0xae93b2})=>D(_0x5ede41,_0xae93b2)}),_0x165054['for']('editingDowncast')['elementToElement']({'model':{'name':'footnoteRef','attributes':['footnoteId','footnoteCounter']},'view':(_0x49cd4f,{writer:_0x274f36})=>{const _0x4d98df=_0x49cd4f['getAttribute']('footnoteCounter');return _0x224a3f(D(_0x49cd4f,_0x274f36),_0x274f36,{'label':t('Footnote\x20%0.\x20Press\x20ENTER\x20to\x20jump\x20to\x20footnote\x20definition.',_0x4d98df)});}});}['_defineDefinitionsConverters'](){const {editor:_0x146fab}=this,{t:t}=_0x146fab['locale'],{conversion:_0xb3a99f}=_0x146fab;_0xb3a99f['for']('upcast')['elementToElement']({'view':{'name':'div','classes':'footnotes'},'model':'footnotesDefinitions'}),_0xb3a99f['for']('upcast')['add'](_0x303cd5=>{_0x303cd5['on']('element:ol',(_0x245aa1,_0x337167,_0x401ed4)=>{const _0x17e374=_0x337167['viewItem'];if(!_0x17e374['hasClass']('footnotes-list')||!_0x337167['modelCursor']['parent']?.['is']('element','footnotesDefinitions'))return;if(!_0x401ed4['consumable']['consume'](_0x17e374,{'name':!0x0,'classes':'footnotes-list'}))return;const {modelRange:_0x503caf,modelCursor:_0x360c4c}=_0x401ed4['convertChildren'](_0x337167['viewItem'],_0x337167['modelCursor']);_0x337167['modelRange']=_0x503caf,_0x337167['modelCursor']=_0x360c4c;}),_0x303cd5['on']('element:hr',(_0x3da487,_0x14716f,_0xe99d47)=>{const _0x570a1d=_0x14716f['viewItem'];_0x570a1d['hasClass']('footnotes-divider')&&_0x14716f['modelCursor']['parent']?.['is']('element','footnotesDefinitions')&&_0xe99d47['consumable']['consume'](_0x570a1d,{'name':!0x0,'classes':'footnotes-divider'});});}),_0xb3a99f['for']('dataDowncast')['elementToStructure']({'model':'footnotesDefinitions','view':(_0x418dcb,{writer:_0x45e147})=>v(_0x45e147)}),_0xb3a99f['for']('editingDowncast')['elementToStructure']({'model':'footnotesDefinitions','view':(_0x37e14e,{writer:_0x1cf567})=>{const _0x1aa0e0=v(_0x1cf567,{'data-footnotes-list-label':t('Footnotes')}),_0x349a23=_0x224a3f(_0x1aa0e0,_0x1cf567,{'hasSelectionHandle':!0x0,'label':t('Footnotes')});return _0x1cf567['setCustomProperty']('footnotesDefinitions',!0x0,_0x349a23),_0x349a23;}});}['_defineDefinitionConverters'](){const {editor:_0xfb170a}=this,{conversion:_0x44dfb0,locale:_0x3da636}=_0xfb170a,_0x239f4e=_0xfb170a['config']['get']('footnotes.multiBlock');_0x44dfb0['for']('upcast')['add'](_0x442bbe=>{_0x442bbe['on']('element:li',(_0x2aa4a6,_0x1202ce,_0x24efa9)=>{const _0x2d7fac=_0x1202ce['viewItem'];if(!_0x2d7fac['hasClass']('footnote-definition')||!_0x2d7fac['getAttribute']('id'))return;const _0x2555c0=_0x2d7fac['parent'];if(!_0x2555c0['is']('element','ol')||!_0x2555c0['hasClass']('footnotes-list'))return;if(!_0x24efa9['consumable']['test'](_0x2d7fac,{'name':!0x0,'attributes':'id','classes':'footnote-definition'}))return;const _0x4665e2=_0x24efa9['writer']['createElement']('footnoteDefinition',{'footnoteId':_0x2d7fac['getAttribute']('id')});if(!_0x24efa9['safeInsert'](_0x4665e2,_0x1202ce['modelCursor']))return;_0x24efa9['consumable']['consume'](_0x2d7fac,{'name':!0x0,'attributes':'id','classes':'footnote-definition'});const _0x64221d=Array['from'](_0x2d7fac['getChildren']())['find'](_0x11f630=>_0x11f630['is']('element')&&_0x11f630['hasClass']('footnote-content'));for(const _0xb30c54 of _0x2d7fac['getChildren']())_0xb30c54['is']('element')&&(_0x24efa9['consumable']['consume'](_0xb30c54,{'name':!0x0,'classes':'footnote-backlink','attributes':'href'}),_0x24efa9['consumable']['consume'](_0xb30c54,{'name':!0x0,'classes':'footnote-content'}));if(_0x64221d){if(_0x239f4e)_0x24efa9['convertChildren'](_0x64221d,_0x4665e2);else{const _0x23b45d=_0x24efa9['writer']['createElement']('footnoteInlineContent');_0x24efa9['writer']['insert'](_0x23b45d,_0x4665e2),_0x24efa9['convertChildren'](_0x64221d,_0x23b45d);}}_0x24efa9['updateConversionResult'](_0x4665e2,_0x1202ce);});}),_0x44dfb0['for']('dataDowncast')['elementToStructure']({'model':{'name':'footnoteDefinition','attributes':['footnoteId']},'view':(_0x2942fa,{writer:_0x14ff6c})=>b(_0x2942fa,_0x14ff6c,_0x3da636,{'dataPipeline':!0x0})}),_0x44dfb0['for']('editingDowncast')['elementToStructure']({'model':{'name':'footnoteDefinition','attributes':['footnoteId']},'view':(_0x266593,{writer:_0x2095da})=>b(_0x266593,_0x2095da,_0x3da636)});}['_defineBogusParagraphConverters'](){const {editor:_0x216ef0}=this,{conversion:_0x2134d3}=_0x216ef0;_0x216ef0['config']['get']('footnotes.multiBlock')?(_0x2134d3['for']('editingDowncast')['elementToElement']({'model':'paragraph','view':h(),'converterPriority':'high'}),_0x2134d3['for']('dataDowncast')['elementToElement']({'model':'paragraph','view':h({'dataPipeline':!0x0}),'converterPriority':'high'}),this['listenTo'](_0x216ef0['model']['document'],'change:data',()=>{!function(_0x32d925,_0x304a67){const _0x28060b=_0x32d925['document']['differ'],_0x126c5b=new Set();for(const _0x241559 of _0x28060b['getChanges']()){const _0x4d0855='attribute'==_0x241559['type']?_0x241559['range']['start']['parent']:_0x241559['position']['parent'];_0x4d0855['is']('element','footnoteDefinition')&&_0x126c5b['add'](_0x4d0855);}for(const _0x51bdb5 of _0x126c5b['values']()){const _0x12cda1=Array['from'](_0x51bdb5['getChildren']())['filter'](_0x13c881=>g(_0x13c881,_0x304a67['mapper']));for(const _0x1952a8 of _0x12cda1)_0x304a67['reconvertItem'](_0x1952a8);}}(_0x216ef0['model'],_0x216ef0['editing']);})):(_0x2134d3['for']('editingDowncast')['elementToElement']({'model':'footnoteInlineContent','view':h()}),_0x2134d3['for']('dataDowncast')['elementToElement']({'model':'footnoteInlineContent','view':(_0xaa5544,{writer:_0x38d240})=>{const _0x5bcf2=_0x38d240['createContainerElement']('span');return _0x38d240['setCustomProperty']('dataPipeline:transparentRendering',!0x0,_0x5bcf2),_0x5bcf2;}}));}['_defineKeyboardHandlers'](){const {editor:_0x39da19}=this,{editing:_0x3d17a9,t:t}=_0x39da19,_0x567958=_0x39da19['model']['document']['selection'];_0x39da19['keystrokes']['set']('Ctrl+Alt+F','insertFootnote'),_0x39da19['accessibility']['addKeystrokeInfos']({'keystrokes':[{'label':t('Insert\x20footnote'),'keystroke':'Ctrl+Alt+F'}]}),this['listenTo'](_0x3d17a9['view']['document'],'enter',(_0x26331c,_0x190d85)=>{const _0x3ca8ec=function(_0x1d0bf1){const _0x119d98=_0x1d0bf1['getSelectedElement']();if(_0x119d98?.['is']('element','footnoteRef'))return _0x119d98;return null;}(_0x567958);if(_0x3ca8ec){const _0x5f1ab4=_0x3ca8ec['getAttribute']('footnoteId');this['_moveSelectionToFootnoteDefinition'](_0x5f1ab4),_0x190d85['preventDefault'](),_0x26331c['stop']();}},{'context':_0x4ca95f});}['_defineClickHandlers'](){const {editor:_0x213559}=this,{editing:_0x49707c}=_0x213559;_0x213559['editing']['view']['addObserver'](_0x12e935),_0x213559['editing']['view']['addObserver'](_0x5e7837);let _0x8c3cc5=!0x1;this['listenTo'](_0x49707c['view']['document'],'pointerdown',(_0x56cdce,_0x4a53e8)=>{const {target:_0x39a323}=_0x4a53e8,_0x3ecbcb=_0x49707c['view']['document']['selection'];_0x8c3cc5=!!(_0x39a323?.['is']('element','a')&&_0x39a323['parent']?.['is']('element','sup')&&_0x39a323['parent']['hasClass']('footnote'))&&_0x3ecbcb['getSelectedElement']()===_0x39a323['parent'];},{'priority':'high'}),this['listenTo'](_0x49707c['view']['document'],'click',(_0x1d07e8,_0x497cc9)=>{const {target:_0x42fa20}=_0x497cc9;if(!_0x42fa20?.['is']('element','a'))return;if(_0x42fa20['parent']?.['is']('element','sup')&&_0x42fa20['parent']['hasClass']('footnote')&&!_0x8c3cc5)return void _0x497cc9['preventDefault']();let _0x40675f=_0x42fa20['getAttribute']('href');if(!_0x40675f?.['startsWith']('#'))return;_0x40675f=_0x40675f['slice'](0x1);let _0x5de181=!0x1;(_0x40675f['startsWith']('ref-')&&this['_moveSelectionToFootnoteReference'](_0x40675f['slice'](0x4))||this['_moveSelectionToFootnoteDefinition'](_0x40675f))&&(_0x5de181=!0x0),_0x5de181&&(_0x497cc9['preventDefault'](),_0x1d07e8['stop']());},{'priority':'high','context':'$capture'});}}function h({dataPipeline:_0x1e4db1}={}){return(_0x150239,{writer:_0x317d55})=>{if(!p(_0x150239))return null;if(!_0x1e4db1)return _0x317d55['createContainerElement']('span',{'class':'ck-footnote-bogus-paragraph'});const _0x8d6004=_0x317d55['createContainerElement']('p');return _0x317d55['setCustomProperty']('dataPipeline:transparentRendering',!0x0,_0x8d6004),_0x8d6004;};}function p(_0x3c5086){const {parent:_0x3356cc}=_0x3c5086;if(!_0x3356cc?.['is']('element','footnoteDefinition'))return!0x1;if(0x1!=_0x3356cc['childCount'])return!0x1;for(const _0x3f4026 of _0x3c5086['getAttributeKeys']())if(!_0x3f4026['startsWith']('selection:')&&'htmlEmptyBlock'!=_0x3f4026)return!0x1;return!0x0;}function g(_0x424801,_0xa01dec){if(!_0x424801['is']('element','paragraph'))return!0x1;const _0x8223d=_0xa01dec['toViewElement'](_0x424801);return!!_0x8223d&&p(_0x424801)!==_0x8223d['is']('element','span');}function J(_0x586fa2){return _0x4ca95f(_0x586fa2)&&_0x586fa2['is']('containerElement')&&!!_0x586fa2['getCustomProperty']('footnotesDefinitions');}function v(_0x6c2593,_0x3acd90={}){const _0x46c307=_0x6c2593['createEmptyElement']('hr',{'class':'footnotes-divider'}),_0x52f0fc=_0x6c2593['createContainerElement']('ol',{'class':'footnotes-list'},_0x6c2593['createSlot']());return _0x6c2593['createContainerElement']('div',{'class':'footnotes',..._0x3acd90},[_0x46c307,_0x52f0fc]);}function D(_0x4f365b,_0x214247){const _0x5c17ee=_0x4f365b['getAttribute']('footnoteId'),_0x477de9=_0x4f365b['getAttribute']('footnoteCounter'),_0x1ad4f7=_0x214247['createUIElement']('a',{'href':'#'+_0x5c17ee},function(_0x2b3d83){const _0xfd27e8=this['toDomElement'](_0x2b3d83);return _0xfd27e8['textContent']=_0x477de9,_0xfd27e8;}),_0x2936b4=_0x214247['createContainerElement']('sup',{'id':'ref-'+_0x5c17ee,'class':'footnote'},[_0x1ad4f7]);return _0x2936b4['getFillerOffset']=()=>null,_0x2936b4;}function b(_0x190d0c,_0x12368e,_0x58ea47,{dataPipeline:_0x1d757c}={}){const {t:t}=_0x58ea47,_0x50998f=_0x190d0c['getAttribute']('footnoteId'),_0x52e47b=_0x12368e['createUIElement']('a',{'class':'footnote-backlink','href':'#ref-'+_0x50998f},function(_0x5b022d){const _0x57f332=this['toDomElement'](_0x5b022d);return _0x57f332['innerText']='^',_0x57f332;}),_0x76c988=_0x1d757c?_0x12368e['createContainerElement']('div',{'class':'footnote-content'}):_0x5ba133(_0x12368e['createEditableElement']('div',{'class':'footnote-content'}),_0x12368e,{'label':t('Footnote\x20content.')});return _0x12368e['insert'](_0x12368e['createPositionAt'](_0x76c988,0x0),_0x12368e['createSlot']()),_0x12368e['createContainerElement']('li',{'class':'footnote-definition','id':_0x50998f},[_0x52e47b,_0x76c988]);}class e extends _0x5a2f63{static get['pluginName'](){return'FootnotesClipboard';}static get['requires'](){return[r,_0x174575];}static get['isOfficialPlugin'](){return!0x0;}static get['isPremiumPlugin'](){return!0x0;}['init'](){this['_defineClipboardIntegration']();}['_defineClipboardIntegration'](){this['_handleCopyFootnotesDefinitions'](),this['_handlePasteFootnotesDefinitions']();}['_handleCopyFootnotesDefinitions'](){const {editor:_0x5305e8}=this,{plugins:_0x17b456,model:_0x1fa246}=_0x5305e8,_0x3d2b07=_0x17b456['get'](_0x174575),_0xa9455b=_0x17b456['get'](f);this['listenTo'](_0x3d2b07,'outputTransformation',(_0xe4585b,_0x52d053)=>{const _0x4fcea2=c(_0x1fa246['createRangeIn'](_0x52d053['content']));if(!_0x4fcea2['length'])return;const _0xe58f19=_0xa9455b['getFootnotes'](),_0x3eec75=_0x4fcea2['reduce']((_0x18a404,_0x56728a)=>{const _0x332a4b=_0xe58f19['find'](_0x4e3de5=>_0x4e3de5['id']===_0x56728a);if(_0x332a4b){const _0x5d5d71=_0x5305e8['data']['toView'](_0x332a4b['definition'],{'isClipboardPipeline':!0x0}),_0x599ffb=_0x5305e8['data']['htmlProcessor']['toData'](_0x5d5d71);_0x18a404[_0x332a4b['id']]=_0x599ffb;}return _0x18a404;},Object['create'](null));_0x52d053['dataTransfer']['setData']('application/ckeditor5-footnotes',JSON['stringify'](_0x3eec75));});}['_handlePasteFootnotesDefinitions'](){const {editor:_0x17ab49}=this,{model:_0x25baea,plugins:_0x5383aa}=_0x17ab49,{view:_0x13f49a}=_0x17ab49['editing'],_0x2dcd2b=_0x5383aa['get'](_0x174575),_0x31efaa=_0x5383aa['get'](f),_0x361e84=_0x17ab49['config']['get']('footnotes.multiBlock');let _0x2529b9=null;this['listenTo'](_0x13f49a['document'],'clipboardInput',(_0x522456,_0x190017)=>{const _0x59162b=_0x190017['dataTransfer']['getData']('application/ckeditor5-footnotes');_0x2529b9=_0x59162b?JSON['parse'](_0x59162b):null;}),this['listenTo'](_0x2dcd2b,'contentInsertion',(_0x550712,_0x269e43)=>{const _0x52bee3=_0x269e43['sourceEditorId']===this['editor']['id'];_0x52bee3&&'drop'===_0x269e43['method']||_0x25baea['change'](_0x5b00f7=>{let _0x1b2694=_0x31efaa['getFootnotesDefinitionsObjectElement']();const _0x2f3363=!!_0x1b2694&&Array['from'](_0x25baea['document']['selection']['getSelectedBlocks']())['includes'](_0x1b2694);if((_0x1b2694&&!_0x2f3363||!_0x1b2694&&!_0x2529b9)&&function(_0x5c6a35,_0x3e9d33){const _0x42348d=[];for(const {item:_0x589101}of _0x5c6a35['createRangeIn'](_0x3e9d33))_0x589101['is']('element','footnotesDefinitions')&&_0x42348d['push'](_0x589101);for(const _0x31d197 of _0x42348d)_0x5c6a35['remove'](_0x31d197);}(_0x5b00f7,_0x269e43['content']),!_0x2529b9)return;const {selection:_0x9c4024}=_0x25baea['document'],_0x5cf78a=_0x9c4024['getFirstRange']()['root'];_0x1b2694&&!_0x2f3363||(_0x1b2694=function(_0x4b05f3,_0x32fe3f){for(const {item:_0x27dd9b}of _0x4b05f3['createRangeIn'](_0x32fe3f))if(_0x27dd9b['is']('element','footnotesDefinitions'))return _0x27dd9b;return null;}(_0x5b00f7,_0x269e43['content']),_0x1b2694||=_0x31efaa['_insertEmptyFootnotesDefinitionsContainer'](_0x5b00f7,_0x5cf78a));const _0x5be8fe=Array['from'](_0x9c4024['getRanges']())['flatMap'](c),_0x4bf83d=function(_0x3a55d4,_0xd9f050,_0x30650c){const _0xc153da=Object['create'](null);for(const {item:_0x51537a}of _0x3a55d4['createRangeIn'](_0xd9f050))if(_0x51537a['is']('element','footnoteRef')){const _0x3741af=_0x51537a['getAttribute']('footnoteId');if(!_0x30650c(_0x3741af))continue;_0xc153da[_0x3741af]||(_0xc153da[_0x3741af]=_0x45c27b()),_0x3a55d4['setAttribute']('footnoteId',_0xc153da[_0x3741af],_0x51537a);}return _0xc153da;}(_0x5b00f7,_0x269e43['content'],_0x3b7439=>{if(!_0x52bee3)return!0x0;return!!_0x31efaa['getFootnote'](_0x3b7439)&&!_0x5be8fe['includes'](_0x3b7439);});for(const [_0x363096,_0x1c1520]of Object['entries'](_0x2529b9)){const _0xd0421e=_0x4bf83d[_0x363096]||_0x363096,_0x4d8f68=_0x5b00f7['createElement']('footnoteDefinition',{'footnoteId':_0xd0421e}),_0x79add=_0x17ab49['data']['htmlProcessor']['toView'](_0x1c1520);let _0xb84289;if(_0x361e84)_0xb84289=_0x17ab49['data']['toModel'](_0x79add,_0x4d8f68);else{_0xb84289=_0x5b00f7['createElement']('footnoteInlineContent');const _0x1ecd9c=_0x17ab49['data']['toModel'](_0x79add,_0xb84289);_0x5b00f7['insert'](_0x1ecd9c,_0xb84289);}_0x5b00f7['append'](_0xb84289,_0x4d8f68),_0x5b00f7['insert'](_0x4d8f68,_0x1b2694,'end');}_0x2529b9=null;});});}}function c(_0x47bcfc){const _0x5d646e=new Set();for(const {item:_0x4b9dc1}of _0x47bcfc)_0x4b9dc1['is']('element','footnoteRef')&&_0x5d646e['add'](_0x4b9dc1['getAttribute']('footnoteId'));return Array['from'](_0x5d646e);}class i extends _0x5a2f63{['licenseKey'];['_licenseKeyCheckInterval'];static get['pluginName'](){return'FootnotesUI';}static get['isOfficialPlugin'](){return!0x0;}static get['isPremiumPlugin'](){return!0x0;}['init'](){const {editor:_0x308684}=this,{componentFactory:_0x5a9193}=_0x308684['ui'];_0x5a9193['add']('insertFootnote',x(_0x308684,_0x37e9c1)),_0x5a9193['add']('menuBar:insertFootnote',x(_0x308684,_0x30f994)),this['licenseKey']=this['editor']['config']['get']('licenseKey');const _0x2d0e24=this['editor'];this['_licenseKeyCheckInterval']=setInterval(()=>{let _0x406e77;for(const _0x49df36 in _0x2d0e24){const _0x47664d=_0x49df36,_0x26a628=_0x2d0e24[_0x47664d];if('footnotesLicenseKeyValid'==_0x26a628||'footnotesLicenseKeyInvalid'==_0x26a628||'footnotesLicenseKeyExpired'==_0x26a628||'footnotesLicenseKeyDomainLimit'==_0x26a628||'footnotesLicenseKeyNotAllowed'==_0x26a628||'footnotesLicenseKeyEvaluationLimit'==_0x26a628||'footnotesLicenseKeyTrialLimit'==_0x26a628||'footnotesLicenseKeyUsageLimit'==_0x26a628){delete _0x2d0e24[_0x47664d],_0x406e77=_0x26a628,clearInterval(this['_licenseKeyCheckInterval']),this['_licenseKeyCheckInterval']=void 0x0;break;}}'footnotesLicenseKeyInvalid'==_0x406e77&&_0x2d0e24['_showLicenseError']('invalid'),'footnotesLicenseKeyExpired'==_0x406e77&&_0x2d0e24['_showLicenseError']('expired'),'footnotesLicenseKeyDomainLimit'==_0x406e77&&_0x2d0e24['_showLicenseError']('domainLimit'),'footnotesLicenseKeyNotAllowed'==_0x406e77&&_0x2d0e24['_showLicenseError']('featureNotAllowed','Footnotes'),'footnotesLicenseKeyEvaluationLimit'==_0x406e77&&_0x2d0e24['_showLicenseError']('evaluationLimit'),'footnotesLicenseKeyTrialLimit'==_0x406e77&&_0x2d0e24['_showLicenseError']('trialLimit'),'footnotesLicenseKeyUsageLimit'==_0x406e77&&_0x2d0e24['_showLicenseError']('usageLimit');},0x3e8);}['destroy'](){super['destroy'](),this['_licenseKeyCheckInterval']&&clearInterval(this['_licenseKeyCheckInterval']);}}function x(_0x129854,_0x352bf1){const _0x521145=_0x129854['commands']['get']('insertFootnote');return _0x54a6c7=>{const {t:t}=_0x54a6c7,_0x3cea6a=new _0x352bf1(_0x54a6c7),_0x46fbc1=_0x3cea6a instanceof _0x30f994;return _0x3cea6a['bind']('isEnabled')['to'](_0x521145,'isEnabled'),_0x3cea6a['set']({'label':t(_0x46fbc1?'Footnote':'Insert\x20footnote'),'icon':_0x9207b7,'tooltip':!0x0}),_0x3cea6a['on']('execute',()=>{_0x521145['execute'](),_0x129854['editing']['view']['focus']();}),_0x3cea6a;};}class lt extends _0x5a2f63{static get['pluginName'](){return'Footnotes';}static get['requires'](){return[r,e,i];}static get['isOfficialPlugin'](){return!0x0;}static get['isPremiumPlugin'](){return!0x0;}}const Q=['decimal','decimal-leading-zero','lower-latin','upper-latin','lower-alpha','upper-alpha','lower-roman','upper-roman'];class S extends _0x1fd322{['refresh'](){const {editor:_0x176377}=this,_0xce1386=_0x176377['plugins']['get'](f)['getFootnotesDefinitionsObjectElement']();this['isEnabled']=!!_0xce1386,this['value']=_0xce1386?.['getAttribute']('footnotesListStyle')??null;}['execute']({value:_0x44fc32}){const {editor:_0x305759}=this,_0x29d0fb=_0x305759['plugins']['get'](f),_0x5edfae=_0x29d0fb['getFootnotesDefinitionsObjectElement']();_0x5edfae&&Q['includes'](_0x44fc32)&&_0x305759['model']['change'](_0x505734=>{_0x505734['setAttribute']('footnotesListStyle',_0x44fc32,_0x5edfae),_0x29d0fb['_updateFootnotesCounters'](_0x505734);});}}class C extends _0x1fd322{['refresh'](){const {editor:_0x57c025}=this,_0x2212cd=_0x57c025['plugins']['get'](f)['getFootnotesDefinitionsObjectElement']();this['isEnabled']=!!_0x2212cd,this['value']=_0x2212cd?.['getAttribute']('footnotesListStart')??null;}['execute']({value:_0x296935}){const {editor:_0x84c275}=this,_0x330b34=_0x84c275['plugins']['get'](f),_0x4a0579=_0x330b34['getFootnotesDefinitionsObjectElement']();_0x4a0579&&Number['isInteger'](_0x296935)&&_0x84c275['model']['change'](_0x1c582e=>{_0x1c582e['setAttribute']('footnotesListStart',_0x296935,_0x4a0579),_0x330b34['_updateFootnotesCounters'](_0x1c582e);});}}class P extends _0x5a2f63{static get['pluginName'](){return'FootnotesPropertiesEditing';}static get['requires'](){return[r,f];}static get['isOfficialPlugin'](){return!0x0;}static get['isPremiumPlugin'](){return!0x0;}['init'](){const {editor:_0x591041}=this;_0x591041['config']['define']('footnotes.footnotesProperties.defaultListStyle','decimal'),_0x591041['config']['define']('footnotes.footnotesProperties.defaultStartIndex',0x1),_0x591041['commands']['add']('footnotesStyle',new S(_0x591041)),_0x591041['commands']['add']('footnotesStart',new C(_0x591041)),this['_defineSchema'](),this['_defineConverters'](),this['_defineFormatter'](),this['_definePostfixer']();}['_defineSchema'](){const {editor:_0x4fdbcf}=this,{schema:_0x952617}=_0x4fdbcf['model'];_0x952617['extend']('footnotesDefinitions',{'allowAttributes':['footnotesListStyle','footnotesListStart']});}['_defineConverters'](){const {editor:_0x5cfd7d}=this,{conversion:_0x207569,model:_0x310478}=_0x5cfd7d,{schema:_0x4e603b}=_0x310478;_0x207569['for']('upcast')['add'](_0x977138=>{_0x977138['on']('element:ol',(_0x257eed,_0x1dee58,_0x18fd96)=>{const _0x3b1182=_0x1dee58['viewItem'],_0x1236a1=_0x1dee58['modelCursor']?.['parent'];_0x3b1182['hasClass']('footnotes-list')&&_0x1236a1?.['is']('element','footnotesDefinitions')&&(function(_0x3ffc60,_0x1f9797,_0x3a85e8,_0x500ac9){if(!_0x500ac9['checkAttribute'](_0x1f9797,'footnotesListStart'))return;let _0x2932aa=0x1;const _0x429d05=_0x3a85e8['consumable']['consume'](_0x3ffc60,{'attributes':'start'});if(_0x429d05){const _0x5d8501=Number['parseInt'](_0x3ffc60['getAttribute']('start'),0xa);Number['isNaN'](_0x5d8501)||(_0x2932aa=_0x5d8501);}!_0x429d05&&_0x1f9797['hasAttribute']('footnotesListStart')||_0x3a85e8['writer']['setAttribute']('footnotesListStart',_0x2932aa,_0x1f9797);}(_0x3b1182,_0x1236a1,_0x18fd96,_0x4e603b),function(_0x1b4d2a,_0x602119,_0x8bb475,_0x51ca9a){if(!_0x51ca9a['checkAttribute'](_0x602119,'footnotesListStyle'))return;let _0x28f456='decimal',_0xda29bf=!0x1;if(_0x8bb475['consumable']['consume'](_0x1b4d2a,{'attributes':'type'})){const _0x3806c8={0x1:'decimal','a':'lower-alpha','A':'upper-alpha','i':'lower-roman','I':'upper-roman'}[_0x1b4d2a['getAttribute']('type')];_0x3806c8&&(_0x28f456=_0x3806c8),_0xda29bf=!0x0;}_0x8bb475['consumable']['consume'](_0x1b4d2a,{'styles':'list-style-type'})&&(_0x28f456=_0x1b4d2a['getStyle']('list-style-type'),_0xda29bf=!0x0),!_0xda29bf&&_0x602119['hasAttribute']('footnotesListStyle')||_0x8bb475['writer']['setAttribute']('footnotesListStyle',_0x28f456,_0x602119);}(_0x3b1182,_0x1236a1,_0x18fd96,_0x4e603b));});}),_0x207569['for']('downcast')['add'](_0x19d1ae=>{_0x19d1ae['on']('attribute:footnotesListStart:footnotesDefinitions',(_0x4248f6,_0x21f09a,_0x44688c)=>{if(!_0x44688c['consumable']['consume'](_0x21f09a['item'],_0x4248f6['name']))return;const _0x4d67a4=M(_0x21f09a['item'],_0x44688c['mapper']),{attributeNewValue:_0x3c8e12}=_0x21f09a;null==_0x3c8e12||0x1===_0x3c8e12?_0x44688c['writer']['removeAttribute']('start',_0x4d67a4):_0x44688c['writer']['setAttribute']('start',String(_0x3c8e12),_0x4d67a4);}),_0x19d1ae['on']('attribute:footnotesListStyle:footnotesDefinitions',(_0x52e1b9,_0x2b6a68,_0x436bb0)=>{if(!_0x436bb0['consumable']['consume'](_0x2b6a68['item'],_0x52e1b9['name']))return;const _0x4eb9d5=M(_0x2b6a68['item'],_0x436bb0['mapper']),{attributeNewValue:_0x37ce1c}=_0x2b6a68;_0x37ce1c&&'decimal'!==_0x37ce1c?_0x436bb0['writer']['setStyle']('list-style-type',_0x37ce1c,_0x4eb9d5):_0x436bb0['writer']['removeStyle']('list-style-type',_0x4eb9d5);});});}['_definePostfixer'](){const {editor:_0x51bc56}=this,{model:_0x5a8b3a}=_0x51bc56,_0xb920b9=_0x51bc56['plugins']['get'](f),_0x2aa7f8=this['_getDefaultListStyle'](),_0x1681db=this['_getDefaultStartIndex']();_0x5a8b3a['document']['registerPostFixer'](_0x6275f1=>{const _0x26fd95=_0x5a8b3a['document']['differ']['getChanges']();let _0x2869b0=!0x1;for(const _0x27899a of _0x26fd95){if('insert'!==_0x27899a['type']||'$text'===_0x27899a['name'])continue;const _0x5cbdb1=_0x5a8b3a['createRangeOn'](_0x27899a['position']['nodeAfter']);for(const _0x1d49e1 of _0x5cbdb1['getItems']())_0x1d49e1['is']('element','footnotesDefinitions')&&(!_0x1d49e1['hasAttribute']('footnotesListStart')&&_0x5a8b3a['schema']['checkAttribute'](_0x1d49e1,'footnotesListStart')&&(_0x6275f1['setAttribute']('footnotesListStart',_0x1681db,_0x1d49e1),_0x2869b0=!0x0),!_0x1d49e1['hasAttribute']('footnotesListStyle')&&_0x5a8b3a['schema']['checkAttribute'](_0x1d49e1,'footnotesListStyle')&&(_0x6275f1['setAttribute']('footnotesListStyle',_0x2aa7f8,_0x1d49e1),_0x2869b0=!0x0));}return _0x2869b0&&_0xb920b9['_updateFootnotesCounters'](_0x6275f1),_0x2869b0;});}['_defineFormatter'](){const {editor:_0x1e5a07}=this;_0x1e5a07['plugins']['get'](f)['setFootnoteFormatter'](_0x291de8=>this['_formatFootnoteListValue'](_0x291de8));}['_getDefaultListStyle'](){return this['editor']['config']['get']('footnotes.footnotesProperties.defaultListStyle');}['_getDefaultStartIndex'](){return this['editor']['config']['get']('footnotes.footnotesProperties.defaultStartIndex');}['_formatFootnoteListValue']({container:_0x190903,value:_0x58db1b,digits:_0x36d981}){const _0x245ce8=_0x190903['getAttribute']('footnotesListStyle'),_0xcf12ca=_0x190903['getAttribute']('footnotesListStart'),_0x30eba6=Math['floor'](_0x58db1b)+(_0xcf12ca??0x1)-0x1;switch(_0x245ce8){case'decimal-leading-zero':return function(_0x5c2052,_0x3d306a){return String(_0x5c2052)['padStart'](_0x3d306a,'0');}(_0x30eba6,Math['max'](0x2,_0x36d981));case'lower-alpha':case'lower-latin':return N(_0x30eba6,!0x1);case'upper-alpha':case'upper-latin':return N(_0x30eba6,!0x0);case'lower-roman':return X(_0x30eba6,!0x1);case'upper-roman':return X(_0x30eba6,!0x0);default:return String(_0x30eba6);}}}function M(_0x14a23d,_0x1da2ce){const _0x32a71e=_0x1da2ce['toViewElement'](_0x14a23d);return Array['from'](_0x32a71e['getChildren']())['find'](_0x374b01=>_0x374b01['is']('element','ol')&&_0x374b01['hasClass']('footnotes-list'));}function N(_0x49d964,_0x30561c){let _0x57625a='',_0x107d25=_0x49d964;for(;_0x107d25>0x0;){const _0x89575a=(_0x107d25-0x1)%0x1a;_0x57625a=String['fromCharCode'](0x61+_0x89575a)+_0x57625a,_0x107d25=Math['floor']((_0x107d25-0x1)/0x1a);}return _0x30561c?_0x57625a['toUpperCase']():_0x57625a;}const V=[{'value':0x3e8,'numeral':'M'},{'value':0x384,'numeral':'CM'},{'value':0x1f4,'numeral':'D'},{'value':0x190,'numeral':'CD'},{'value':0x64,'numeral':'C'},{'value':0x5a,'numeral':'XC'},{'value':0x32,'numeral':'L'},{'value':0x28,'numeral':'XL'},{'value':0xa,'numeral':'X'},{'value':0x9,'numeral':'IX'},{'value':0x5,'numeral':'V'},{'value':0x4,'numeral':'IV'},{'value':0x1,'numeral':'I'}];function X(_0x28b879,_0x5ad453){let _0x32a792='',_0x5b8252=_0x28b879;for(const {value:_0x879d66,numeral:_0x56da4e}of V)for(;_0x5b8252>=_0x879d66;)_0x32a792+=_0x56da4e,_0x5b8252-=_0x879d66;return _0x5ad453?_0x32a792:_0x32a792['toLowerCase']();}class H extends _0x454949{['children'];['stylesView']=null;['additionalProperties']=null;['startIndexFieldView']=null;['focusTracker']=new ot();['keystrokes']=new rt();['focusables']=new _0x16b130();['focusCycler'];constructor(_0x4822dc,{styleButtonViews:_0x338dce,styleGridAriaLabel:_0x478016}){super(_0x4822dc),(this['focusCycler']=new _0xb22746({'focusables':this['focusables'],'focusTracker':this['focusTracker'],'keystrokeHandler':this['keystrokes'],'actions':{'focusPrevious':'shift\x20+\x20tab','focusNext':'tab'}}),this['children']=this['createCollection'](),this['stylesView']=this['_appendStylesView'](_0x338dce,_0x478016),[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 _0x459bb1 of this['stylesView']['children'])this['stylesView']['focusTracker']['add'](_0x459bb1['element']);tt({'keystrokeHandler':this['stylesView']['keystrokes'],'focusTracker':this['stylesView']['focusTracker'],'gridItems':this['stylesView']['children'],'numberOfColumns':()=>nt['window']['getComputedStyle'](this['stylesView']['element'])['getPropertyValue']('grid-template-columns')['split']('\x20')['length'],'uiLanguageDirection':this['locale']&&this['locale']['uiLanguageDirection']});}if(this['startIndexFieldView']){this['focusables']['add'](this['startIndexFieldView']),this['focusTracker']['add'](this['startIndexFieldView']['element']);const _0x22a808=_0x40bf60=>_0x40bf60['stopPropagation']();this['keystrokes']['set']('arrowright',_0x22a808),this['keystrokes']['set']('arrowleft',_0x22a808),this['keystrokes']['set']('arrowup',_0x22a808),this['keystrokes']['set']('arrowdown',_0x22a808);}this['keystrokes']['listenTo'](this['element']);}['focus'](){this['focusCycler']['focusFirst']();}['focusLast'](){this['focusCycler']['focusLast']();}['destroy'](){super['destroy'](),this['focusTracker']['destroy'](),this['keystrokes']['destroy']();}['_appendStylesView'](_0x45796d,_0x543673){const _0x22c83c=new _0x454949(this['locale']);return _0x22c83c['children']=_0x22c83c['createCollection'](),_0x22c83c['children']['addMany'](_0x45796d),_0x22c83c['setTemplate']({'tag':'div','attributes':{'aria-label':_0x543673,'class':['ck','ck-footnotes-definitions-styles-list']},'children':_0x22c83c['children']}),_0x22c83c['children']['delegate']('execute')['to'](this),_0x22c83c['focus']=function(){for(const _0x19a1dc of this['children'])if(_0x19a1dc instanceof _0x37e9c1&&_0x19a1dc['isOn'])return void _0x19a1dc['focus']();this['children']['first']['focus']();},_0x22c83c['focusTracker']=new ot(),_0x22c83c['keystrokes']=new rt(),_0x22c83c['render'](),_0x22c83c['keystrokes']['listenTo'](_0x22c83c['element']),this['children']['add'](_0x22c83c),_0x22c83c;}['_appendAdditionalPropertiesCollapsibleView'](){const {t:t}=this['locale'],_0x347f7c=this['_createStartIndexPropertyView'](),_0x3efe76=[_0x347f7c],_0x2bbb0b=new st(this['locale'],_0x3efe76);return _0x2bbb0b['set']({'label':t('Footnotes\x20properties'),'isCollapsed':!0x0}),_0x2bbb0b['buttonView']['bind']('isEnabled')['toMany'](_0x3efe76,'isEnabled',(..._0x5c7a69)=>_0x5c7a69['some'](_0x33a639=>_0x33a639)),_0x2bbb0b['buttonView']['on']('change:isEnabled',(_0x3214a5,_0x392c75,_0x1d330e)=>{_0x1d330e||(_0x2bbb0b['isCollapsed']=!0x0);}),this['children']['add'](_0x2bbb0b),[_0x347f7c,_0x2bbb0b];}['_createStartIndexPropertyView'](){const {t:t}=this['locale'],_0x3f6844=new it(this['locale'],et);return _0x3f6844['set']({'label':t('Footnotes\x20start\x20at'),'class':'ck-footnotes-definitions-properties__start-index'}),_0x3f6844['fieldView']['set']({'min':0x0,'max':Math['pow'](0x2,0x1e),'step':0x1,'value':0x1,'inputMode':'numeric'}),_0x3f6844['fieldView']['on']('input',()=>{const _0xec1708=_0x3f6844['fieldView']['element'],_0x573112=_0xec1708['valueAsNumber'];Number['isNaN'](_0x573112)?_0x3f6844['errorText']=t('Invalid\x20footnotes\x20start\x20index\x20value.'):_0xec1708['checkValidity']()?this['fire']('footnotesListStart',{'startIndex':_0x573112}):_0x3f6844['errorText']=t(_0x573112<0x0?'Footnotes\x20start\x20index\x20must\x20be\x20greater\x20than\x200.':'Footnotes\x20start\x20index\x20is\x20too\x20large.');}),_0x3f6844;}}class j extends _0x5a2f63{static get['pluginName'](){return'FootnotesPropertiesUI';}static get['requires'](){return[_0x491a72,_0x7f6384];}static get['isOfficialPlugin'](){return!0x0;}static get['isPremiumPlugin'](){return!0x0;}['init'](){const {editor:_0x26e7f8}=this,{componentFactory:_0x50f3f2}=_0x26e7f8['ui'];_0x26e7f8['config']['define']('footnotes.footnotesProperties.toolbar',['footnotesStyle']),_0x50f3f2['add']('footnotesStyle',function(_0x3430d4){return _0x9f7d38=>{const {t:t}=_0x9f7d38,_0x133ec5=_0x3430d4['commands']['get']('footnotesStyle'),_0x5ee969=_0x16c204(_0x9f7d38),{buttonView:_0x4481f4}=_0x5ee969;return _0x5ee969['class']='ck-footnotes-styles-dropdown',_0x5ee969['bind']('isEnabled')['to'](_0x133ec5,'isEnabled'),_0x4481f4['set']({'label':t('Footnotes\x20style'),'icon':_0x9207b7,'tooltip':!0x0}),_0x5ee969['once']('change:isOpen',()=>{const _0x3cee27=function({editor:_0x43f8b7,dropdownView:_0x123701}){const {t:t}=_0x43f8b7['locale'],_0x3cd003=t('Footnotes\x20definitions\x20styles'),_0x34ba19=function(_0x81b9c3){const t=_0x81b9c3['locale']['t'],_0x5ca9c0=[{'label':t('Toggle\x20the\x20decimal\x20footnotes\x20style'),'tooltip':t('Decimal\x20footnotes'),'style':'decimal','icon':_0x15d4c2},{'label':t('Toggle\x20the\x20decimal\x20with\x20leading\x20zero\x20footnotes\x20style'),'tooltip':t('Decimal\x20footnotes\x20with\x20leading\x20zero'),'style':'decimal-leading-zero','icon':_0x2bf4dc},{'label':t('Toggle\x20the\x20lower–roman\x20footnotes\x20style'),'tooltip':t('Lower–roman\x20footnotes'),'style':'lower-roman','icon':_0x36f0af},{'label':t('Toggle\x20the\x20upper–roman\x20footnotes\x20style'),'tooltip':t('Upper-roman\x20footnotes'),'style':'upper-roman','icon':_0x4f3e40},{'label':t('Toggle\x20the\x20lower–latin\x20footnotes\x20style'),'tooltip':t('Lower-latin\x20footnotes'),'style':'lower-latin','icon':_0x3d3d7d},{'label':t('Toggle\x20the\x20upper–latin\x20footnotes\x20style'),'tooltip':t('Upper-latin\x20footnotes'),'style':'upper-latin','icon':_0x170bb8}];return _0x5ca9c0['map'](function(_0xb189e5){const _0x469e3a=_0xb189e5['locale'];return({label:_0x2aa213,icon:_0x1d96e5,tooltip:_0x3c17d5,style:_0x536fbd})=>{const _0x584efc=_0xb189e5['commands']['get']('footnotesStyle'),_0x34cb9c=new _0x37e9c1(_0x469e3a);return _0x34cb9c['set']({'label':_0x2aa213,'icon':_0x1d96e5,'tooltip':_0x3c17d5}),_0x34cb9c['bind']('isOn')['to'](_0x584efc,'value',_0x1cc95b=>_0x1cc95b===_0x536fbd),_0x34cb9c['bind']('isEnabled')['to'](_0x584efc,'isEnabled'),_0x34cb9c['on']('execute',()=>{_0xb189e5['execute']('footnotesStyle',{'value':_0x536fbd}),_0xb189e5['editing']['view']['focus']();}),_0x34cb9c;};}(_0x81b9c3));}(_0x43f8b7),_0x1e5197=new H(_0x43f8b7['locale'],{'styleGridAriaLabel':_0x3cd003,'styleButtonViews':_0x34ba19});return _0x1e5197['delegate']('execute')['to'](_0x123701),_0x1e5197['on']('footnotesListStart',(_0x4be3ca,_0x41e7d1)=>{_0x43f8b7['execute']('footnotesStart',{'value':_0x41e7d1['startIndex']});}),_0x1e5197;}({'editor':_0x3430d4,'dropdownView':_0x5ee969});_0x5ee969['panelView']['children']['add'](_0x3cee27);}),_0x5ee969;};}(_0x26e7f8));}['afterInit'](){const {editor:_0x3fb06a}=this,{t:t}=_0x3fb06a['locale'],_0x57059d=_0x3fb06a['plugins']['get'](_0x7f6384),{defaultPositions:_0x1bdc43}=_0x36e52a;_0x57059d['register']('footnotesDefinitions',{'ariaLabel':t('Footnotes\x20definitions\x20toolbar'),'items':_0x3fb06a['config']['get']('footnotes.footnotesProperties.toolbar'),'balloonClassName':'ck-footnotes-style-balloon\x20ck-toolbar-container','getRelatedElement':_0x4549d5=>{let _0x13f794=_0x4549d5['getFirstPosition']()?.['parent'];return _0x13f794?.['is']('$text')&&(_0x13f794=_0x13f794['parent']),_0x13f794?.['is']('element')?_0x13f794['findAncestor'](J):null;},'positions':[_0x1bdc43['southArrowNorth'],_0x1bdc43['southArrowNorthMiddleWest'],_0x1bdc43['southArrowNorthMiddleEast'],_0x1bdc43['southArrowNorthWest'],_0x1bdc43['southArrowNorthEast'],_0x1bdc43['northArrowSouth'],_0x1bdc43['northArrowSouthMiddleWest'],_0x1bdc43['northArrowSouthMiddleEast'],_0x1bdc43['northArrowSouthWest'],_0x1bdc43['northArrowSouthEast'],_0x1bdc43['viewportStickyNorth']]});}}class ft extends _0x5a2f63{static get['pluginName'](){return'FootnotesProperties';}static get['requires'](){return[P,j];}static get['isOfficialPlugin'](){return!0x0;}static get['isPremiumPlugin'](){return!0x0;}}export{lt as Footnotes,e as FootnotesClipboard,r as FootnotesEditing,ft as FootnotesProperties,P as FootnotesPropertiesEditing,j as FootnotesPropertiesUI,C as FootnotesStartCommand,S as FootnotesStyleCommand,f as FootnotesTracker,i as FootnotesUI,m as InsertFootnoteCommand};
|
package/dist/translations/af.js
CHANGED
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
export default{'af':{'dictionary':{'Footnote':'','Footnotes':'','Footnotes\x20properties':'','Footnotes\x20start\x20at':'','Invalid\x20footnotes\x20start\x20index\x20value.':'','Footnotes\x20start\x20index\x20is\x20too\x20large.':'','Footnotes\x20start\x20index\x20must\x20be\x20greater\x20than\x200.':'','Footnote\x20%0.\x20Press\x20ENTER\x20to\x20jump\x20to\x20footnote\x20definition.':'','Footnote\x20content.':'','Footnotes\x20definitions\x20styles':'','Footnotes\x20definitions\x20toolbar':'','Insert\x20footnote':'','Footnotes\x20style':'','Toggle\x20the\x20decimal\x20footnotes\x20style':'','Decimal\x20footnotes':'','Toggle\x20the\x20decimal\x20with\x20leading\x20zero\x20footnotes\x20style':'','Decimal\x20footnotes\x20with\x20leading\x20zero':'','Lower–roman\x20footnotes':'','Upper-roman\x20footnotes':'','Lower-latin\x20footnotes':'','Upper-latin\x20footnotes':'','Toggle\x20the\x20lower–roman\x20footnotes\x20style':'','Toggle\x20the\x20upper–roman\x20footnotes\x20style':'','Toggle\x20the\x20lower–latin\x20footnotes\x20style':'','Toggle\x20the\x20upper–latin\x20footnotes\x20style':''},'getPluralForm':
|
|
23
|
+
export default{'af':{'dictionary':{'Footnote':'','Footnotes':'','Footnotes\x20properties':'','Footnotes\x20start\x20at':'','Invalid\x20footnotes\x20start\x20index\x20value.':'','Footnotes\x20start\x20index\x20is\x20too\x20large.':'','Footnotes\x20start\x20index\x20must\x20be\x20greater\x20than\x200.':'','Footnote\x20%0.\x20Press\x20ENTER\x20to\x20jump\x20to\x20footnote\x20definition.':'','Footnote\x20content.':'','Footnotes\x20definitions\x20styles':'','Footnotes\x20definitions\x20toolbar':'','Insert\x20footnote':'','Footnotes\x20style':'','Toggle\x20the\x20decimal\x20footnotes\x20style':'','Decimal\x20footnotes':'','Toggle\x20the\x20decimal\x20with\x20leading\x20zero\x20footnotes\x20style':'','Decimal\x20footnotes\x20with\x20leading\x20zero':'','Lower–roman\x20footnotes':'','Upper-roman\x20footnotes':'','Lower-latin\x20footnotes':'','Upper-latin\x20footnotes':'','Toggle\x20the\x20lower–roman\x20footnotes\x20style':'','Toggle\x20the\x20upper–roman\x20footnotes\x20style':'','Toggle\x20the\x20lower–latin\x20footnotes\x20style':'','Toggle\x20the\x20upper–latin\x20footnotes\x20style':''},'getPluralForm':_0x223a71=>0x1!=_0x223a71}};
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
(
|
|
23
|
+
(_0x5291f4=>{const {af:{dictionary:_0x55b433,getPluralForm:_0x3ffa5b}}={'af':{'dictionary':{'Footnote':'','Footnotes':'','Footnotes\x20properties':'','Footnotes\x20start\x20at':'','Invalid\x20footnotes\x20start\x20index\x20value.':'','Footnotes\x20start\x20index\x20is\x20too\x20large.':'','Footnotes\x20start\x20index\x20must\x20be\x20greater\x20than\x200.':'','Footnote\x20%0.\x20Press\x20ENTER\x20to\x20jump\x20to\x20footnote\x20definition.':'','Footnote\x20content.':'','Footnotes\x20definitions\x20styles':'','Footnotes\x20definitions\x20toolbar':'','Insert\x20footnote':'','Footnotes\x20style':'','Toggle\x20the\x20decimal\x20footnotes\x20style':'','Decimal\x20footnotes':'','Toggle\x20the\x20decimal\x20with\x20leading\x20zero\x20footnotes\x20style':'','Decimal\x20footnotes\x20with\x20leading\x20zero':'','Lower–roman\x20footnotes':'','Upper-roman\x20footnotes':'','Lower-latin\x20footnotes':'','Upper-latin\x20footnotes':'','Toggle\x20the\x20lower–roman\x20footnotes\x20style':'','Toggle\x20the\x20upper–roman\x20footnotes\x20style':'','Toggle\x20the\x20lower–latin\x20footnotes\x20style':'','Toggle\x20the\x20upper–latin\x20footnotes\x20style':''},'getPluralForm':_0x369c05=>0x1!=_0x369c05}};_0x5291f4['af']||={'dictionary':{},'getPluralForm':null},_0x5291f4['af']['dictionary']=Object['assign'](_0x5291f4['af']['dictionary'],_0x55b433),_0x5291f4['af']['getPluralForm']=_0x3ffa5b;})(window['CKEDITOR_TRANSLATIONS']||={});
|
package/dist/translations/ar.js
CHANGED
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
export default{'ar':{'dictionary':{'Footnote':'حاشية\x20سفلية','Footnotes':'الحواشي\x20السفلية','Footnotes\x20properties':'خصائص\x20الحواشي\x20السفلية','Footnotes\x20start\x20at':'تبدأ\x20الحواشي\x20السفلية\x20من','Invalid\x20footnotes\x20start\x20index\x20value.':'قيمة\x20مؤشر\x20بداية\x20الحواشي\x20السفلية\x20غير\x20صحيحة.','Footnotes\x20start\x20index\x20is\x20too\x20large.':'مؤشر\x20بداية\x20الحواشي\x20السفلية\x20كبير\x20للغاية.','Footnotes\x20start\x20index\x20must\x20be\x20greater\x20than\x200.':'يلزم\x20أن\x20يكون\x20مؤشر\x20بداية\x20الحواشي\x20السفلية\x20أكبر\x20من\x200.','Footnote\x20%0.\x20Press\x20ENTER\x20to\x20jump\x20to\x20footnote\x20definition.':'حاشية\x20سفلية\x20%0.\x20اضغط\x20على\x20مفتاح\x20الإدخال\x20(ENTER)\x20من\x20أجل\x20الانتقال\x20إلى\x20تعريف\x20الحاشية\x20السفلية.','Footnote\x20content.':'محتوى\x20الحاشية\x20السفلية.','Footnotes\x20definitions\x20styles':'أنماط\x20تعريفات\x20الحواشي\x20السفلية','Footnotes\x20definitions\x20toolbar':'شريط\x20أدوات\x20تعريفات\x20الحواشي\x20السفلية','Insert\x20footnote':'إدراج\x20حاشية\x20سفلية','Footnotes\x20style':'نمط\x20الحواشي\x20السفلية','Toggle\x20the\x20decimal\x20footnotes\x20style':'تبديل\x20نمط\x20الحواشي\x20السفلية\x20العشري','Decimal\x20footnotes':'الحواشي\x20السفلية\x20العشرية','Toggle\x20the\x20decimal\x20with\x20leading\x20zero\x20footnotes\x20style':'تبديل\x20العلامة\x20العشرية\x20بنمط\x20الحواشي\x20السفلية\x20بالصفر\x20البادئ','Decimal\x20footnotes\x20with\x20leading\x20zero':'حواشي\x20سفلية\x20عشرية\x20بالصفر\x20البادئ','Lower–roman\x20footnotes':'الحواشي\x20السفلية\x20الرومانية','Upper-roman\x20footnotes':'الحواشي\x20العلوية\x20الرومانية','Lower-latin\x20footnotes':'الحواشي\x20السفلية\x20اللاتينية','Upper-latin\x20footnotes':'الحواشي\x20العلوية\x20اللاتينية','Toggle\x20the\x20lower–roman\x20footnotes\x20style':'تبديل\x20نمط\x20الحواشي\x20السفلية\x20الرومانية','Toggle\x20the\x20upper–roman\x20footnotes\x20style':'تبديل\x20نمط\x20الحواشي\x20العلوية\x20الرومانية','Toggle\x20the\x20lower–latin\x20footnotes\x20style':'تبديل\x20نمط\x20الحواشي\x20السفلية\x20اللاتينية','Toggle\x20the\x20upper–latin\x20footnotes\x20style':'تبديل\x20نمط\x20الحواشي\x20العلوية\x20اللاتينية'},'getPluralForm':
|
|
23
|
+
export default{'ar':{'dictionary':{'Footnote':'حاشية\x20سفلية','Footnotes':'الحواشي\x20السفلية','Footnotes\x20properties':'خصائص\x20الحواشي\x20السفلية','Footnotes\x20start\x20at':'تبدأ\x20الحواشي\x20السفلية\x20من','Invalid\x20footnotes\x20start\x20index\x20value.':'قيمة\x20مؤشر\x20بداية\x20الحواشي\x20السفلية\x20غير\x20صحيحة.','Footnotes\x20start\x20index\x20is\x20too\x20large.':'مؤشر\x20بداية\x20الحواشي\x20السفلية\x20كبير\x20للغاية.','Footnotes\x20start\x20index\x20must\x20be\x20greater\x20than\x200.':'يلزم\x20أن\x20يكون\x20مؤشر\x20بداية\x20الحواشي\x20السفلية\x20أكبر\x20من\x200.','Footnote\x20%0.\x20Press\x20ENTER\x20to\x20jump\x20to\x20footnote\x20definition.':'حاشية\x20سفلية\x20%0.\x20اضغط\x20على\x20مفتاح\x20الإدخال\x20(ENTER)\x20من\x20أجل\x20الانتقال\x20إلى\x20تعريف\x20الحاشية\x20السفلية.','Footnote\x20content.':'محتوى\x20الحاشية\x20السفلية.','Footnotes\x20definitions\x20styles':'أنماط\x20تعريفات\x20الحواشي\x20السفلية','Footnotes\x20definitions\x20toolbar':'شريط\x20أدوات\x20تعريفات\x20الحواشي\x20السفلية','Insert\x20footnote':'إدراج\x20حاشية\x20سفلية','Footnotes\x20style':'نمط\x20الحواشي\x20السفلية','Toggle\x20the\x20decimal\x20footnotes\x20style':'تبديل\x20نمط\x20الحواشي\x20السفلية\x20العشري','Decimal\x20footnotes':'الحواشي\x20السفلية\x20العشرية','Toggle\x20the\x20decimal\x20with\x20leading\x20zero\x20footnotes\x20style':'تبديل\x20العلامة\x20العشرية\x20بنمط\x20الحواشي\x20السفلية\x20بالصفر\x20البادئ','Decimal\x20footnotes\x20with\x20leading\x20zero':'حواشي\x20سفلية\x20عشرية\x20بالصفر\x20البادئ','Lower–roman\x20footnotes':'الحواشي\x20السفلية\x20الرومانية','Upper-roman\x20footnotes':'الحواشي\x20العلوية\x20الرومانية','Lower-latin\x20footnotes':'الحواشي\x20السفلية\x20اللاتينية','Upper-latin\x20footnotes':'الحواشي\x20العلوية\x20اللاتينية','Toggle\x20the\x20lower–roman\x20footnotes\x20style':'تبديل\x20نمط\x20الحواشي\x20السفلية\x20الرومانية','Toggle\x20the\x20upper–roman\x20footnotes\x20style':'تبديل\x20نمط\x20الحواشي\x20العلوية\x20الرومانية','Toggle\x20the\x20lower–latin\x20footnotes\x20style':'تبديل\x20نمط\x20الحواشي\x20السفلية\x20اللاتينية','Toggle\x20the\x20upper–latin\x20footnotes\x20style':'تبديل\x20نمط\x20الحواشي\x20العلوية\x20اللاتينية'},'getPluralForm':_0x52d70e=>0x0==_0x52d70e?0x0:0x1==_0x52d70e?0x1:0x2==_0x52d70e?0x2:_0x52d70e%0x64>=0x3&&_0x52d70e%0x64<=0xa?0x3:_0x52d70e%0x64>=0xb?0x4:0x5}};
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
(
|
|
23
|
+
(_0x1c2a89=>{const {ar:{dictionary:_0x219ecd,getPluralForm:_0x498144}}={'ar':{'dictionary':{'Footnote':'حاشية\x20سفلية','Footnotes':'الحواشي\x20السفلية','Footnotes\x20properties':'خصائص\x20الحواشي\x20السفلية','Footnotes\x20start\x20at':'تبدأ\x20الحواشي\x20السفلية\x20من','Invalid\x20footnotes\x20start\x20index\x20value.':'قيمة\x20مؤشر\x20بداية\x20الحواشي\x20السفلية\x20غير\x20صحيحة.','Footnotes\x20start\x20index\x20is\x20too\x20large.':'مؤشر\x20بداية\x20الحواشي\x20السفلية\x20كبير\x20للغاية.','Footnotes\x20start\x20index\x20must\x20be\x20greater\x20than\x200.':'يلزم\x20أن\x20يكون\x20مؤشر\x20بداية\x20الحواشي\x20السفلية\x20أكبر\x20من\x200.','Footnote\x20%0.\x20Press\x20ENTER\x20to\x20jump\x20to\x20footnote\x20definition.':'حاشية\x20سفلية\x20%0.\x20اضغط\x20على\x20مفتاح\x20الإدخال\x20(ENTER)\x20من\x20أجل\x20الانتقال\x20إلى\x20تعريف\x20الحاشية\x20السفلية.','Footnote\x20content.':'محتوى\x20الحاشية\x20السفلية.','Footnotes\x20definitions\x20styles':'أنماط\x20تعريفات\x20الحواشي\x20السفلية','Footnotes\x20definitions\x20toolbar':'شريط\x20أدوات\x20تعريفات\x20الحواشي\x20السفلية','Insert\x20footnote':'إدراج\x20حاشية\x20سفلية','Footnotes\x20style':'نمط\x20الحواشي\x20السفلية','Toggle\x20the\x20decimal\x20footnotes\x20style':'تبديل\x20نمط\x20الحواشي\x20السفلية\x20العشري','Decimal\x20footnotes':'الحواشي\x20السفلية\x20العشرية','Toggle\x20the\x20decimal\x20with\x20leading\x20zero\x20footnotes\x20style':'تبديل\x20العلامة\x20العشرية\x20بنمط\x20الحواشي\x20السفلية\x20بالصفر\x20البادئ','Decimal\x20footnotes\x20with\x20leading\x20zero':'حواشي\x20سفلية\x20عشرية\x20بالصفر\x20البادئ','Lower–roman\x20footnotes':'الحواشي\x20السفلية\x20الرومانية','Upper-roman\x20footnotes':'الحواشي\x20العلوية\x20الرومانية','Lower-latin\x20footnotes':'الحواشي\x20السفلية\x20اللاتينية','Upper-latin\x20footnotes':'الحواشي\x20العلوية\x20اللاتينية','Toggle\x20the\x20lower–roman\x20footnotes\x20style':'تبديل\x20نمط\x20الحواشي\x20السفلية\x20الرومانية','Toggle\x20the\x20upper–roman\x20footnotes\x20style':'تبديل\x20نمط\x20الحواشي\x20العلوية\x20الرومانية','Toggle\x20the\x20lower–latin\x20footnotes\x20style':'تبديل\x20نمط\x20الحواشي\x20السفلية\x20اللاتينية','Toggle\x20the\x20upper–latin\x20footnotes\x20style':'تبديل\x20نمط\x20الحواشي\x20العلوية\x20اللاتينية'},'getPluralForm':_0x280159=>0x0==_0x280159?0x0:0x1==_0x280159?0x1:0x2==_0x280159?0x2:_0x280159%0x64>=0x3&&_0x280159%0x64<=0xa?0x3:_0x280159%0x64>=0xb?0x4:0x5}};_0x1c2a89['ar']||={'dictionary':{},'getPluralForm':null},_0x1c2a89['ar']['dictionary']=Object['assign'](_0x1c2a89['ar']['dictionary'],_0x219ecd),_0x1c2a89['ar']['getPluralForm']=_0x498144;})(window['CKEDITOR_TRANSLATIONS']||={});
|
package/dist/translations/ast.js
CHANGED
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
export default{'ast':{'dictionary':{'Footnote':'','Footnotes':'','Footnotes\x20properties':'','Footnotes\x20start\x20at':'','Invalid\x20footnotes\x20start\x20index\x20value.':'','Footnotes\x20start\x20index\x20is\x20too\x20large.':'','Footnotes\x20start\x20index\x20must\x20be\x20greater\x20than\x200.':'','Footnote\x20%0.\x20Press\x20ENTER\x20to\x20jump\x20to\x20footnote\x20definition.':'','Footnote\x20content.':'','Footnotes\x20definitions\x20styles':'','Footnotes\x20definitions\x20toolbar':'','Insert\x20footnote':'','Footnotes\x20style':'','Toggle\x20the\x20decimal\x20footnotes\x20style':'','Decimal\x20footnotes':'','Toggle\x20the\x20decimal\x20with\x20leading\x20zero\x20footnotes\x20style':'','Decimal\x20footnotes\x20with\x20leading\x20zero':'','Lower–roman\x20footnotes':'','Upper-roman\x20footnotes':'','Lower-latin\x20footnotes':'','Upper-latin\x20footnotes':'','Toggle\x20the\x20lower–roman\x20footnotes\x20style':'','Toggle\x20the\x20upper–roman\x20footnotes\x20style':'','Toggle\x20the\x20lower–latin\x20footnotes\x20style':'','Toggle\x20the\x20upper–latin\x20footnotes\x20style':''},'getPluralForm':
|
|
23
|
+
export default{'ast':{'dictionary':{'Footnote':'','Footnotes':'','Footnotes\x20properties':'','Footnotes\x20start\x20at':'','Invalid\x20footnotes\x20start\x20index\x20value.':'','Footnotes\x20start\x20index\x20is\x20too\x20large.':'','Footnotes\x20start\x20index\x20must\x20be\x20greater\x20than\x200.':'','Footnote\x20%0.\x20Press\x20ENTER\x20to\x20jump\x20to\x20footnote\x20definition.':'','Footnote\x20content.':'','Footnotes\x20definitions\x20styles':'','Footnotes\x20definitions\x20toolbar':'','Insert\x20footnote':'','Footnotes\x20style':'','Toggle\x20the\x20decimal\x20footnotes\x20style':'','Decimal\x20footnotes':'','Toggle\x20the\x20decimal\x20with\x20leading\x20zero\x20footnotes\x20style':'','Decimal\x20footnotes\x20with\x20leading\x20zero':'','Lower–roman\x20footnotes':'','Upper-roman\x20footnotes':'','Lower-latin\x20footnotes':'','Upper-latin\x20footnotes':'','Toggle\x20the\x20lower–roman\x20footnotes\x20style':'','Toggle\x20the\x20upper–roman\x20footnotes\x20style':'','Toggle\x20the\x20lower–latin\x20footnotes\x20style':'','Toggle\x20the\x20upper–latin\x20footnotes\x20style':''},'getPluralForm':_0x34f9d9=>0x1!=_0x34f9d9}};
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
(
|
|
23
|
+
(_0x282d94=>{const {ast:{dictionary:_0x4a16bf,getPluralForm:_0x650a0a}}={'ast':{'dictionary':{'Footnote':'','Footnotes':'','Footnotes\x20properties':'','Footnotes\x20start\x20at':'','Invalid\x20footnotes\x20start\x20index\x20value.':'','Footnotes\x20start\x20index\x20is\x20too\x20large.':'','Footnotes\x20start\x20index\x20must\x20be\x20greater\x20than\x200.':'','Footnote\x20%0.\x20Press\x20ENTER\x20to\x20jump\x20to\x20footnote\x20definition.':'','Footnote\x20content.':'','Footnotes\x20definitions\x20styles':'','Footnotes\x20definitions\x20toolbar':'','Insert\x20footnote':'','Footnotes\x20style':'','Toggle\x20the\x20decimal\x20footnotes\x20style':'','Decimal\x20footnotes':'','Toggle\x20the\x20decimal\x20with\x20leading\x20zero\x20footnotes\x20style':'','Decimal\x20footnotes\x20with\x20leading\x20zero':'','Lower–roman\x20footnotes':'','Upper-roman\x20footnotes':'','Lower-latin\x20footnotes':'','Upper-latin\x20footnotes':'','Toggle\x20the\x20lower–roman\x20footnotes\x20style':'','Toggle\x20the\x20upper–roman\x20footnotes\x20style':'','Toggle\x20the\x20lower–latin\x20footnotes\x20style':'','Toggle\x20the\x20upper–latin\x20footnotes\x20style':''},'getPluralForm':_0x1f54e7=>0x1!=_0x1f54e7}};_0x282d94['ast']||={'dictionary':{},'getPluralForm':null},_0x282d94['ast']['dictionary']=Object['assign'](_0x282d94['ast']['dictionary'],_0x4a16bf),_0x282d94['ast']['getPluralForm']=_0x650a0a;})(window['CKEDITOR_TRANSLATIONS']||={});
|
package/dist/translations/az.js
CHANGED
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
export default{'az':{'dictionary':{'Footnote':'','Footnotes':'','Footnotes\x20properties':'','Footnotes\x20start\x20at':'','Invalid\x20footnotes\x20start\x20index\x20value.':'','Footnotes\x20start\x20index\x20is\x20too\x20large.':'','Footnotes\x20start\x20index\x20must\x20be\x20greater\x20than\x200.':'','Footnote\x20%0.\x20Press\x20ENTER\x20to\x20jump\x20to\x20footnote\x20definition.':'','Footnote\x20content.':'','Footnotes\x20definitions\x20styles':'','Footnotes\x20definitions\x20toolbar':'','Insert\x20footnote':'','Footnotes\x20style':'','Toggle\x20the\x20decimal\x20footnotes\x20style':'','Decimal\x20footnotes':'','Toggle\x20the\x20decimal\x20with\x20leading\x20zero\x20footnotes\x20style':'','Decimal\x20footnotes\x20with\x20leading\x20zero':'','Lower–roman\x20footnotes':'','Upper-roman\x20footnotes':'','Lower-latin\x20footnotes':'','Upper-latin\x20footnotes':'','Toggle\x20the\x20lower–roman\x20footnotes\x20style':'','Toggle\x20the\x20upper–roman\x20footnotes\x20style':'','Toggle\x20the\x20lower–latin\x20footnotes\x20style':'','Toggle\x20the\x20upper–latin\x20footnotes\x20style':''},'getPluralForm':
|
|
23
|
+
export default{'az':{'dictionary':{'Footnote':'','Footnotes':'','Footnotes\x20properties':'','Footnotes\x20start\x20at':'','Invalid\x20footnotes\x20start\x20index\x20value.':'','Footnotes\x20start\x20index\x20is\x20too\x20large.':'','Footnotes\x20start\x20index\x20must\x20be\x20greater\x20than\x200.':'','Footnote\x20%0.\x20Press\x20ENTER\x20to\x20jump\x20to\x20footnote\x20definition.':'','Footnote\x20content.':'','Footnotes\x20definitions\x20styles':'','Footnotes\x20definitions\x20toolbar':'','Insert\x20footnote':'','Footnotes\x20style':'','Toggle\x20the\x20decimal\x20footnotes\x20style':'','Decimal\x20footnotes':'','Toggle\x20the\x20decimal\x20with\x20leading\x20zero\x20footnotes\x20style':'','Decimal\x20footnotes\x20with\x20leading\x20zero':'','Lower–roman\x20footnotes':'','Upper-roman\x20footnotes':'','Lower-latin\x20footnotes':'','Upper-latin\x20footnotes':'','Toggle\x20the\x20lower–roman\x20footnotes\x20style':'','Toggle\x20the\x20upper–roman\x20footnotes\x20style':'','Toggle\x20the\x20lower–latin\x20footnotes\x20style':'','Toggle\x20the\x20upper–latin\x20footnotes\x20style':''},'getPluralForm':_0x585501=>0x1!=_0x585501}};
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
(
|
|
23
|
+
(_0x51ed09=>{const {az:{dictionary:_0x4fa4e3,getPluralForm:_0x3ef7ba}}={'az':{'dictionary':{'Footnote':'','Footnotes':'','Footnotes\x20properties':'','Footnotes\x20start\x20at':'','Invalid\x20footnotes\x20start\x20index\x20value.':'','Footnotes\x20start\x20index\x20is\x20too\x20large.':'','Footnotes\x20start\x20index\x20must\x20be\x20greater\x20than\x200.':'','Footnote\x20%0.\x20Press\x20ENTER\x20to\x20jump\x20to\x20footnote\x20definition.':'','Footnote\x20content.':'','Footnotes\x20definitions\x20styles':'','Footnotes\x20definitions\x20toolbar':'','Insert\x20footnote':'','Footnotes\x20style':'','Toggle\x20the\x20decimal\x20footnotes\x20style':'','Decimal\x20footnotes':'','Toggle\x20the\x20decimal\x20with\x20leading\x20zero\x20footnotes\x20style':'','Decimal\x20footnotes\x20with\x20leading\x20zero':'','Lower–roman\x20footnotes':'','Upper-roman\x20footnotes':'','Lower-latin\x20footnotes':'','Upper-latin\x20footnotes':'','Toggle\x20the\x20lower–roman\x20footnotes\x20style':'','Toggle\x20the\x20upper–roman\x20footnotes\x20style':'','Toggle\x20the\x20lower–latin\x20footnotes\x20style':'','Toggle\x20the\x20upper–latin\x20footnotes\x20style':''},'getPluralForm':_0x47790f=>0x1!=_0x47790f}};_0x51ed09['az']||={'dictionary':{},'getPluralForm':null},_0x51ed09['az']['dictionary']=Object['assign'](_0x51ed09['az']['dictionary'],_0x4fa4e3),_0x51ed09['az']['getPluralForm']=_0x3ef7ba;})(window['CKEDITOR_TRANSLATIONS']||={});
|
package/dist/translations/be.js
CHANGED
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
export default{'be':{'dictionary':{'Footnote':'','Footnotes':'','Footnotes\x20properties':'','Footnotes\x20start\x20at':'','Invalid\x20footnotes\x20start\x20index\x20value.':'','Footnotes\x20start\x20index\x20is\x20too\x20large.':'','Footnotes\x20start\x20index\x20must\x20be\x20greater\x20than\x200.':'','Footnote\x20%0.\x20Press\x20ENTER\x20to\x20jump\x20to\x20footnote\x20definition.':'','Footnote\x20content.':'','Footnotes\x20definitions\x20styles':'','Footnotes\x20definitions\x20toolbar':'','Insert\x20footnote':'','Footnotes\x20style':'','Toggle\x20the\x20decimal\x20footnotes\x20style':'','Decimal\x20footnotes':'','Toggle\x20the\x20decimal\x20with\x20leading\x20zero\x20footnotes\x20style':'','Decimal\x20footnotes\x20with\x20leading\x20zero':'','Lower–roman\x20footnotes':'','Upper-roman\x20footnotes':'','Lower-latin\x20footnotes':'','Upper-latin\x20footnotes':'','Toggle\x20the\x20lower–roman\x20footnotes\x20style':'','Toggle\x20the\x20upper–roman\x20footnotes\x20style':'','Toggle\x20the\x20lower–latin\x20footnotes\x20style':'','Toggle\x20the\x20upper–latin\x20footnotes\x20style':''},'getPluralForm':
|
|
23
|
+
export default{'be':{'dictionary':{'Footnote':'','Footnotes':'','Footnotes\x20properties':'','Footnotes\x20start\x20at':'','Invalid\x20footnotes\x20start\x20index\x20value.':'','Footnotes\x20start\x20index\x20is\x20too\x20large.':'','Footnotes\x20start\x20index\x20must\x20be\x20greater\x20than\x200.':'','Footnote\x20%0.\x20Press\x20ENTER\x20to\x20jump\x20to\x20footnote\x20definition.':'','Footnote\x20content.':'','Footnotes\x20definitions\x20styles':'','Footnotes\x20definitions\x20toolbar':'','Insert\x20footnote':'','Footnotes\x20style':'','Toggle\x20the\x20decimal\x20footnotes\x20style':'','Decimal\x20footnotes':'','Toggle\x20the\x20decimal\x20with\x20leading\x20zero\x20footnotes\x20style':'','Decimal\x20footnotes\x20with\x20leading\x20zero':'','Lower–roman\x20footnotes':'','Upper-roman\x20footnotes':'','Lower-latin\x20footnotes':'','Upper-latin\x20footnotes':'','Toggle\x20the\x20lower–roman\x20footnotes\x20style':'','Toggle\x20the\x20upper–roman\x20footnotes\x20style':'','Toggle\x20the\x20lower–latin\x20footnotes\x20style':'','Toggle\x20the\x20upper–latin\x20footnotes\x20style':''},'getPluralForm':_0x1c6679=>_0x1c6679%0xa==0x1&&_0x1c6679%0x64!=0xb?0x0:_0x1c6679%0xa>=0x2&&_0x1c6679%0xa<=0x4&&(_0x1c6679%0x64<0xa||_0x1c6679%0x64>=0x14)?0x1:0x2}};
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
(
|
|
23
|
+
(_0x5b9bf6=>{const {be:{dictionary:_0x12a68b,getPluralForm:_0x5b6e09}}={'be':{'dictionary':{'Footnote':'','Footnotes':'','Footnotes\x20properties':'','Footnotes\x20start\x20at':'','Invalid\x20footnotes\x20start\x20index\x20value.':'','Footnotes\x20start\x20index\x20is\x20too\x20large.':'','Footnotes\x20start\x20index\x20must\x20be\x20greater\x20than\x200.':'','Footnote\x20%0.\x20Press\x20ENTER\x20to\x20jump\x20to\x20footnote\x20definition.':'','Footnote\x20content.':'','Footnotes\x20definitions\x20styles':'','Footnotes\x20definitions\x20toolbar':'','Insert\x20footnote':'','Footnotes\x20style':'','Toggle\x20the\x20decimal\x20footnotes\x20style':'','Decimal\x20footnotes':'','Toggle\x20the\x20decimal\x20with\x20leading\x20zero\x20footnotes\x20style':'','Decimal\x20footnotes\x20with\x20leading\x20zero':'','Lower–roman\x20footnotes':'','Upper-roman\x20footnotes':'','Lower-latin\x20footnotes':'','Upper-latin\x20footnotes':'','Toggle\x20the\x20lower–roman\x20footnotes\x20style':'','Toggle\x20the\x20upper–roman\x20footnotes\x20style':'','Toggle\x20the\x20lower–latin\x20footnotes\x20style':'','Toggle\x20the\x20upper–latin\x20footnotes\x20style':''},'getPluralForm':_0x4bee70=>_0x4bee70%0xa==0x1&&_0x4bee70%0x64!=0xb?0x0:_0x4bee70%0xa>=0x2&&_0x4bee70%0xa<=0x4&&(_0x4bee70%0x64<0xa||_0x4bee70%0x64>=0x14)?0x1:0x2}};_0x5b9bf6['be']||={'dictionary':{},'getPluralForm':null},_0x5b9bf6['be']['dictionary']=Object['assign'](_0x5b9bf6['be']['dictionary'],_0x12a68b),_0x5b9bf6['be']['getPluralForm']=_0x5b6e09;})(window['CKEDITOR_TRANSLATIONS']||={});
|