@ckeditor/ckeditor5-footnotes 0.0.0-nightly-20251201.0 → 0.0.0-nightly-20251202.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/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 +10 -10
- 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 _0x3c0d71,Command as _0x25ead8}from'@ckeditor/ckeditor5-core/dist/index.js';import{toWidget as _0x4f51ec,isWidget as _0x46fe4d,toWidgetEditable as _0x31ff1d,WidgetToolbarRepository as _0x166e8e}from'@ckeditor/ckeditor5-widget/dist/index.js';import{uid as _0x20b358,logWarning as _0x458152,FocusTracker as ot,KeystrokeHandler as rt,global as nt}from'@ckeditor/ckeditor5-utils/dist/index.js';import{PointerObserver as _0x40d796,ClickObserver as _0x184870}from'@ckeditor/ckeditor5-engine/dist/index.js';import{ClipboardPipeline as _0x1ef6b2}from'@ckeditor/ckeditor5-clipboard/dist/index.js';import{MenuBarMenuListItemButtonView as _0x86620c,ButtonView as _0x3d77de,View as _0x4e0417,ViewCollection as _0x194cae,FocusCycler as _0x333af1,addKeyboardHandlingForGrid as tt,CollapsibleView as st,LabeledFieldView as it,createLabeledInputNumber as et,ContextualBalloon as _0x503f80,BalloonPanelView as _0x4b756c,createDropdown as _0x1d91f8}from'@ckeditor/ckeditor5-ui/dist/index.js';import{IconFootnote as _0x183d10,IconListStyleDecimal as _0x351165,IconListStyleDecimalLeadingZero as _0x45f5c3,IconListStyleLowerRoman as _0x2f8963,IconListStyleUpperRoman as _0x5c83a6,IconListStyleLowerLatin as _0x57c65c,IconListStyleUpperLatin as _0x37aad6}from'@ckeditor/ckeditor5-icons/dist/index.js';class F{['_model'];['_elementName'];['_getElementKey'];['_trackedElements']=new Map();constructor(_0x10fa1c,_0x378d16){this['_model']=_0x10fa1c,this['_elementName']=_0x378d16['elementName'],this['_getElementKey']=_0x378d16['getElementKey'];}['reset'](){this['_trackedElements']['clear']();}['getChanges'](_0xb08193){const _0xaeb4be=new Set(),_0x45eef0=new Map();for(const _0xb805c2 of _0xb08193){if('insert'===_0xb805c2['type']&&'$text'!==_0xb805c2['name']&&_0xb805c2['position']['nodeAfter']){const _0x17496d=this['_model']['createRangeOn'](_0xb805c2['position']['nodeAfter']);for(const _0x1b2849 of _0x17496d['getItems']()){if(!_0x1b2849['is']('element',this['_elementName']))continue;const _0x1f4fb0=this['_getElementKey'](_0x1b2849);_0x45eef0['has'](_0x1f4fb0)||_0x45eef0['set'](_0x1f4fb0,[]),_0x45eef0['get'](_0x1f4fb0)['push'](_0x1b2849);}}if('remove'===_0xb805c2['type']&&_0xb805c2['name']===this['_elementName']){const _0x5a446a=this['_getElementKey']({'getAttribute':_0x17f11a=>_0xb805c2['attributes']['get'](_0x17f11a)});_0xaeb4be['add'](_0x5a446a);}}for(const [_0x251ef3,_0x4afab3]of this['_trackedElements'])'$graveyard'===_0x4afab3['root']['rootName']&&_0xaeb4be['add'](_0x251ef3);for(const _0x2d43a7 of _0xaeb4be)this['_trackedElements']['delete'](_0x2d43a7);for(const [_0x227f2e,_0x51a338]of _0x45eef0)this['_trackedElements']['set'](_0x227f2e,_0x51a338[_0x51a338['length']-0x1]);const _0x17cf56=new Set();for(const [_0x5a5bd6,_0x11b220]of _0x45eef0)_0xaeb4be['has'](_0x5a5bd6)&&(_0x17cf56['add'](_0x11b220[0x0]),_0x11b220['length']>0x1?_0x45eef0['set'](_0x5a5bd6,_0x11b220['slice'](0x1)):_0x45eef0['delete'](_0x5a5bd6),_0xaeb4be['delete'](_0x5a5bd6));return{'removed':Array['from'](_0xaeb4be),'inserted':Array['from'](_0x45eef0['values']())['flat'](),'moved':Array['from'](_0x17cf56)};}}class c extends _0x3c0d71{['_footnotes']=[];['_footnotesDefinitions']=null;['_footnoteFormatter']=null;['_footnoteDefsContainerTracker'];['_footnoteRefsTracker'];['_footnoteDefsTracker'];static get['pluginName'](){return'FootnotesTracker';}static get['isOfficialPlugin'](){return!0x0;}static get['isPremiumPlugin'](){return!0x0;}constructor(_0x32b882){super(_0x32b882),this['_footnoteDefsContainerTracker']=new F(this['editor']['model'],{'elementName':'footnotesDefinitions','getElementKey':()=>'singleton'}),this['_footnoteRefsTracker']=new F(this['editor']['model'],{'elementName':'footnoteRef','getElementKey':_0x50517b=>_0x50517b['getAttribute']('footnoteId')}),this['_footnoteDefsTracker']=new F(this['editor']['model'],{'elementName':'footnoteDefinition','getElementKey':_0x196d1a=>_0x196d1a['getAttribute']('footnoteId')});}['init'](){const {editor:_0x59fd65}=this,{model:_0x4b0aab,data:_0x10a2b5}=_0x59fd65;_0x4b0aab['document']['registerPostFixer'](_0x3666e2=>{const _0x379147=_0x4b0aab['document']['differ']['getChanges']();let _0x37264e=!0x1;return this['_handleFootnotesDefinitionsObjectChanges'](_0x3666e2,_0x379147)&&(_0x37264e=!0x0),this['_handleFootnoteDefinitionsChanges'](_0x3666e2,_0x379147)&&(_0x37264e=!0x0),this['_handleFootnoteReferencesChanges'](_0x3666e2,_0x379147)&&(_0x37264e=!0x0),this['_ensureFootnotesReferencesHaveProperOrder'](_0x3666e2)&&(_0x37264e=!0x0),this['_handleFootnotesDefinitionsObjectSync'](_0x3666e2)&&(_0x37264e=!0x0),this['_sortFootnoteDefinitions'](_0x3666e2)&&(_0x37264e=!0x0),_0x37264e;}),this['listenTo'](_0x4b0aab['document'],'change:data',()=>{_0x4b0aab['enqueueChange']({'isUndoable':!0x1},_0x199a51=>{this['_ensureFootnotesDefinitionsContainerExists'](_0x199a51);});},{'priority':'low'}),this['listenTo'](_0x10a2b5,'set',()=>{this['_footnotes']=[],this['_footnoteDefsContainerTracker']['reset'](),this['_footnoteRefsTracker']['reset'](),this['_footnoteDefsTracker']['reset']();},{'priority':'high'});}['getFootnotesDefinitionsObjectElement'](){return this['_footnotesDefinitions'];}['getFootnote'](_0x19f846){return this['_footnotes']['find'](_0x28211=>_0x28211['id']===_0x19f846)||null;}['getFootnotes'](){return Array['from'](this['_footnotes']);}['getFootnotesFormatter'](){return this['_footnoteFormatter'];}['setFootnoteFormatter'](_0x161549){this['_footnoteFormatter']=_0x161549;}['_updateFootnotesCounters'](_0x1f65af,_0x2edce4=0x0){let _0x4a0737=!0x1;for(let _0x37f095=_0x2edce4;_0x37f095<this['_footnotes']['length'];_0x37f095++)this['_updateFootnoteRefCounter'](_0x1f65af,_0x37f095)&&(_0x4a0737=!0x0);return _0x4a0737;}['_insertEmptyFootnotesDefinitionsContainer'](_0x21aa3e,_0x2661ab){const _0x985131=_0x21aa3e['createElement']('footnotesDefinitions',{});return _0x21aa3e['append'](_0x985131,_0x2661ab),this['_footnotesDefinitions']=_0x985131,_0x985131;}['_ensureFootnotesDefinitionsContainerExists'](_0x40cc15){if(!this['_footnotes']['length']||this['_footnotesDefinitions'])return;const _0x296533=this['_footnotes'][0x0]['reference']['root'],_0x2ad87a=this['_insertEmptyFootnotesDefinitionsContainer'](_0x40cc15,_0x296533);for(const _0x3073b5 of this['_footnotes'])_0x3073b5['definition']['parent']||_0x40cc15['insert'](_0x3073b5['definition'],_0x2ad87a,'end');this['_updateFootnotesCounters'](_0x40cc15);}['_handleFootnotesDefinitionsObjectChanges'](_0x23f709,_0x337ec5){let _0x4d2d62=!0x1;const {inserted:_0x353675,removed:_0x35417a,moved:_0x4ee1e7}=this['_footnoteDefsContainerTracker']['getChanges'](_0x337ec5);if(_0x4ee1e7['length']&&(this['_footnotesDefinitions']=_0x4ee1e7[0x0]),_0x353675['length']){if(_0x353675['length']>0x1||this['_footnotesDefinitions']&&_0x353675['some'](_0x3caa11=>_0x3caa11!==this['_footnotesDefinitions'])){const _0x2abd19=_0x23f709['createElement']('footnotesDefinitions',{}),_0x37eefd=[];this['_footnotesDefinitions']&&_0x37eefd['push'](this['_footnotesDefinitions']),_0x37eefd['push'](..._0x353675),_0x23f709['insert'](_0x2abd19,_0x37eefd[0x0],'before');for(const _0x3c0c0d of _0x37eefd)_0x23f709['move'](_0x23f709['createRangeIn'](_0x3c0c0d),_0x23f709['createPositionAt'](_0x2abd19,'end')),_0x23f709['remove'](_0x3c0c0d);this['_footnotesDefinitions']=_0x2abd19,this['_updateFootnotesCounters'](_0x23f709),_0x4d2d62=!0x0;}else this['_footnotesDefinitions']=_0x353675[0x0];}if(_0x35417a['length']&&'$graveyard'===this['_footnotesDefinitions']?.['root']['rootName']){for(const _0x8f0f21 of this['_footnotes'])_0x23f709['remove'](_0x8f0f21['reference']),_0x4d2d62=!0x0;this['_footnotes']=[],this['_footnotesDefinitions']=null;}return _0x4d2d62;}['_handleFootnoteDefinitionsChanges'](_0x43ae41,_0x5254c6){let _0x4ca899=!0x1;const _0x1aa005=this['editor']['config']['get']('footnotes.multiBlock'),{inserted:_0x812896,moved:_0x1abb5c}=this['_footnoteDefsTracker']['getChanges'](_0x5254c6);for(const _0x497ea1 of[..._0x1abb5c,..._0x812896]){const _0x55481d=_0x497ea1['getAttribute']('footnoteId'),_0x32a312=this['getFootnote'](_0x55481d);_0x32a312&&(_0x32a312['definition']=_0x497ea1),_(_0x43ae41,_0x1aa005,_0x497ea1)&&(_0x4ca899=!0x0);}return _0x4ca899;}['_handleFootnoteReferencesChanges'](_0x16f4ff,_0x54c57f){let _0x5441ad=!0x1;const {removed:_0x498719,inserted:_0x23bbe9,moved:_0x5d6375}=this['_footnoteRefsTracker']['getChanges'](_0x54c57f);for(const _0x16ebdf of _0x498719)this['_handleRemoveFootnoteReferenceById'](_0x16f4ff,_0x16ebdf)&&(_0x5441ad=!0x0);for(const _0x5a1633 of _0x23bbe9)this['_handleInsertedFootnoteReference'](_0x16f4ff,_0x5a1633)&&(_0x5441ad=!0x0);for(const _0x23bb81 of _0x5d6375)this['_handleMovedFootnoteReference'](_0x16f4ff,_0x23bb81)&&(_0x5441ad=!0x0);return _0x5441ad;}['_handleFootnotesDefinitionsObjectSync'](_0x5d4c89){if(!this['_footnotesDefinitions'])return!0x1;let _0x5af0f8=!0x1;if(this['_footnotesDefinitions']['childCount']!==this['_footnotes']['length']){const _0x10b13e=[];for(const _0x3b9590 of this['_footnotesDefinitions']['getChildren']()){const _0x4446a9=_0x3b9590['getAttribute']('footnoteId');this['getFootnote'](_0x4446a9)||(_0x10b13e['unshift'](_0x3b9590),_0x5af0f8=!0x0);}for(const _0x24eb9b of _0x10b13e)_0x5d4c89['remove'](_0x24eb9b);}const _0x44a199=new Set(),_0x26bb32=[];for(const _0x8e506f of this['_footnotesDefinitions']['getChildren']()){const _0x22c31e=_0x8e506f['getAttribute']('footnoteId');_0x44a199['has'](_0x22c31e)?(_0x26bb32['unshift'](_0x8e506f),_0x5af0f8=!0x0):_0x44a199['add'](_0x22c31e);}for(const _0x3e2f69 of _0x26bb32)_0x5d4c89['remove'](_0x3e2f69);return this['_footnotesDefinitions']['childCount']||(_0x5d4c89['remove'](this['_footnotesDefinitions']),this['_footnotesDefinitions']=null,_0x5af0f8=!0x0),_0x5af0f8;}['_handleInsertedFootnoteReference'](_0x53013b,_0x2613d5){if(this['_footnotes']['find'](_0x4dd4fc=>_0x4dd4fc['reference']===_0x2613d5))return!0x1;let _0x16e106=!0x1;const _0x43b39b=_0x2613d5['getAttribute']('footnoteId'),_0x10756c=this['_footnotes']['findIndex'](_0x51bcc8=>_0x51bcc8['id']===_0x43b39b);-0x1!==_0x10756c&&(_0x53013b['remove'](this['_footnotes'][_0x10756c]['reference']),this['_footnotes']['splice'](_0x10756c,0x1),_0x16e106=!0x0);let _0x3eed22=this['_footnotesDefinitions']?function(_0x4c41ae,_0x3ec719){for(const _0x20f3b7 of _0x4c41ae['getChildren']())if(_0x20f3b7['getAttribute']('footnoteId')===_0x3ec719)return _0x20f3b7;return null;}(this['_footnotesDefinitions'],_0x43b39b):null;_0x3eed22||(_0x3eed22=_0x53013b['createElement']('footnoteDefinition',{'footnoteId':_0x43b39b}),this['_footnotesDefinitions']&&(_0x53013b['insert'](_0x3eed22,this['_footnotesDefinitions'],'end'),_0x16e106=!0x0));const _0x16c5b8={'id':_0x43b39b,'reference':_0x2613d5,'definition':_0x3eed22},_0x14f7cf=I(this['editor']['model'],this['_footnotes'],_0x2613d5);this['_footnotes']['splice'](_0x14f7cf,0x0,_0x16c5b8);let _0x3d12a3=_0x14f7cf;return-0x1!==_0x10756c&&(_0x3d12a3=Math['min'](_0x14f7cf,_0x10756c)),this['_updateFootnotesCounters'](_0x53013b,_0x3d12a3)&&(_0x16e106=!0x0),_0x16e106;}['_handleRemoveFootnoteReferenceById'](_0x32abf0,_0x5318ac){const _0x128bc1=this['_footnotes']['findIndex'](_0x1069fd=>_0x1069fd['id']===_0x5318ac);if(-0x1===_0x128bc1)return!0x1;let _0x130d40=!0x1;const _0x1780ce=this['_footnotes'][_0x128bc1];return'$graveyard'!==_0x1780ce['definition']['root']['rootName']&&(_0x32abf0['remove'](_0x1780ce['definition']),_0x130d40=!0x0),this['_footnotes']['splice'](_0x128bc1,0x1),this['_updateFootnotesCounters'](_0x32abf0,_0x128bc1)&&(_0x130d40=!0x0),_0x130d40;}['_handleMovedFootnoteReference'](_0x165ca5,_0x981a6d){const _0x5a3b52=_0x981a6d['getAttribute']('footnoteId'),_0x513ea2=this['_footnotes']['findIndex'](_0xb0683=>_0xb0683['id']===_0x5a3b52),_0x8ad4b9=this['_footnotes'][_0x513ea2];let _0x2f4cc8=!0x1;_0x8ad4b9['reference']=_0x981a6d,this['_footnotes']['splice'](_0x513ea2,0x1);const _0x86a487=I(this['editor']['model'],this['_footnotes'],_0x981a6d);return this['_footnotes']['splice'](_0x86a487,0x0,_0x8ad4b9),this['_updateFootnotesCounters'](_0x165ca5,Math['min'](_0x513ea2,_0x86a487))&&(_0x2f4cc8=!0x0),_0x2f4cc8;}['_updateFootnoteRefCounter'](_0x5987c2,_0x350cca){if(!this['_footnotesDefinitions'])return!0x1;const _0x23f1fb=this['_footnotes'][_0x350cca];let _0x17410a;return _0x17410a=this['_footnoteFormatter']?this['_footnoteFormatter']({'footnote':_0x23f1fb,'container':this['_footnotesDefinitions'],'digits':String(this['_footnotes']['length'])['length'],'value':_0x350cca+0x1}):String(_0x350cca+0x1),_0x23f1fb['reference']['getAttribute']('footnoteCounter')!=_0x17410a&&(_0x5987c2['setAttribute']('footnoteCounter',_0x17410a,_0x23f1fb['reference']),!0x0);}['_sortFootnoteDefinitions'](_0x3c8cd0){if(!this['_footnotesDefinitions']||this['_footnotes']['length']<0x2)return!0x1;if(function(_0x359d6e,_0x6a9a4b){if(_0x359d6e['length']!==_0x6a9a4b['length'])return!0x1;for(let _0x4f4afc=0x0;_0x4f4afc<_0x359d6e['length'];_0x4f4afc++)if(_0x359d6e[_0x4f4afc]!==_0x6a9a4b[_0x4f4afc])return!0x1;return!0x0;}(this['_footnotes']['map'](_0x30319b=>_0x30319b['id']),Array['from'](this['_footnotesDefinitions']['getChildren']())['map'](_0x3bb7ea=>_0x3bb7ea['getAttribute']('footnoteId'))))return!0x1;let _0x1e9c4d=!0x1;for(let _0x771a23=0x0;_0x771a23<this['_footnotes']['length'];_0x771a23++){const _0x363020=this['_footnotes'][_0x771a23],_0x8f3250=_0x3c8cd0['createPositionBefore'](_0x363020['definition']),_0x4bbbad=_0x3c8cd0['createPositionAt'](this['_footnotesDefinitions'],_0x771a23);_0x8f3250['isEqual'](_0x4bbbad)||(_0x3c8cd0['move'](_0x3c8cd0['createRangeOn'](_0x363020['definition']),_0x4bbbad),_0x1e9c4d=!0x0);}return _0x1e9c4d;}['_ensureFootnotesReferencesHaveProperOrder'](_0x418722){if(!this['_footnotes']['length'])return!0x1;const {model:_0x17d06a}=this['editor'];let _0x43cb23=!0x1;for(let _0x41e728=0x0;_0x41e728<this['_footnotes']['length']-0x1;_0x41e728++){const _0x2879e0=this['_footnotes'][_0x41e728],_0xb56f=this['_footnotes'][_0x41e728+0x1],_0x46bdff=_0x17d06a['createPositionBefore'](_0x2879e0['reference']),_0x290cab=_0x17d06a['createPositionBefore'](_0xb56f['reference']);'after'===_0x46bdff['compareWith'](_0x290cab)&&(this['_handleMovedFootnoteReference'](_0x418722,_0x2879e0['reference']),_0x41e728=-0x1,_0x43cb23=!0x0);}return _0x43cb23;}}function _(_0x282ee9,_0x2b75a5,_0x3a7f4a){if(_0x3a7f4a['childCount'])return!0x1;const _0x304815=_0x2b75a5?'paragraph':'footnoteInlineContent';return _0x282ee9['insert'](_0x282ee9['createElement'](_0x304815),_0x3a7f4a),!0x0;}function I(_0x59f987,_0x3d8730,_0x455943){if(0x0===_0x3d8730['length'])return 0x0;const _0x1d0832=_0x59f987['createPositionBefore'](_0x455943);for(let _0x46e6ee=0x0;_0x46e6ee<_0x3d8730['length'];_0x46e6ee++){const _0x2fdb89=_0x3d8730[_0x46e6ee],_0x2ad363=_0x59f987['createPositionBefore'](_0x2fdb89['reference']);if('before'===_0x1d0832['compareWith'](_0x2ad363))return _0x46e6ee;}const _0x5ed2b7=_0x455943['root'];let _0x55180e=-0x1;for(let _0x1c3432=_0x3d8730['length']-0x1;_0x1c3432>=0x0;_0x1c3432--)if(_0x3d8730[_0x1c3432]['reference']['root']===_0x5ed2b7){_0x55180e=_0x1c3432;break;}if(-0x1!==_0x55180e)return _0x55180e+0x1;const _0x53d900=_0x59f987['document']['getRootNames'](),_0x1d6e45=_0x53d900['indexOf'](_0x5ed2b7['rootName']),_0x342e43=_0x53d900[_0x1d6e45+0x1];if(_0x342e43){for(let _0x108738=0x0;_0x108738<_0x3d8730['length'];_0x108738++)if(_0x3d8730[_0x108738]['reference']['root']['rootName']===_0x342e43)return _0x108738;}return _0x3d8730['length'];}class m extends _0x25ead8{['refresh'](){const _0x5065ee=this['editor']['model']['document']['selection'],_0x356d99=this['_getPositionToInsertFootnote'](_0x5065ee);this['isEnabled']=!!_0x356d99;}['execute'](_0x7e1d17){const {editor:_0x41539b}=this,{model:_0x3700d5}=_0x41539b,{selection:_0x252cd0}=_0x3700d5['document'],_0x28ccb6=this['_getPositionToInsertFootnote'](_0x252cd0);if(!_0x28ccb6)return;const _0xb84c7a=_0x41539b['plugins']['get']('FootnotesEditing'),_0xdc6f5a=_0x7e1d17?.['footnoteId']??_0x20b358();!function(_0x2eaf7e){return'string'==typeof _0x2eaf7e&&_0x2eaf7e['length']>0x0&&!/\s/['test'](_0x2eaf7e)&&!/^\d/['test'](_0x2eaf7e);}(_0xdc6f5a)?_0x458152('insert-footnote-command-executed-with-invalid-id'):(_0x3700d5['change'](_0x559332=>{const _0x4839e3=_0x559332['createElement']('footnoteRef',{'footnoteId':_0xdc6f5a});_0x3700d5['insertObject'](_0x4839e3,_0x28ccb6,null);}),_0xb84c7a['_moveSelectionToFootnoteDefinition'](_0xdc6f5a));}['_getPositionToInsertFootnote'](_0xa61f7b){const {model:_0x1d2d56}=this['editor'],{schema:_0x3e2ddd}=_0x1d2d56,_0x559faa=_0xa61f7b['getFirstRange']();for(const _0xce7f78 of _0x559faa['getItems']())if(_0x3e2ddd['isBlock'](_0xce7f78)||_0x3e2ddd['isObject'](_0xce7f78))return null;const _0x37132d=_0x559faa['end'];return _0x3e2ddd['checkChild'](_0x37132d,'footnoteRef')?_0x37132d:null;}}class r extends _0x3c0d71{static get['pluginName'](){return'FootnotesEditing';}static get['requires'](){return[c];}static get['isOfficialPlugin'](){return!0x0;}static get['isPremiumPlugin'](){return!0x0;}['init'](){const {editor:_0x3d938d}=this;_0x3d938d['config']['define']('footnotes.multiBlock',!0x0),_0x3d938d['commands']['add']('insertFootnote',new m(_0x3d938d)),this['_defineSchema'](),this['_defineRefsConverters'](),this['_defineDefinitionsConverters'](),this['_defineDefinitionConverters'](),this['_defineBogusParagraphConverters'](),this['_defineKeyboardHandlers'](),this['_defineClickHandlers']();}['afterInit'](){!async function(_0x403dbe){const _0x721a71=_0x1de111([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]),_0x4f34f9=0x47a28506,_0x3cbaf3=0x47a5ffae^_0x4f34f9,_0x58da89=window[_0x1de111([0x44,0x61,0x74,0x65])][_0x1de111([0x6e,0x6f,0x77])](),_0x4db335=_0x403dbe[_0x1de111([0x65,0x64,0x69,0x74,0x6f,0x72])],_0x534641=new window[(_0x1de111([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0x40174f=>{_0x4db335[_0x1de111([0x6f,0x6e,0x63,0x65])](_0x1de111([0x72,0x65,0x61,0x64,0x79]),_0x40174f);}),_0x44e71f={[_0x1de111([0x6b,0x74,0x79])]:_0x1de111([0x45,0x43]),[_0x1de111([0x75,0x73,0x65])]:_0x1de111([0x73,0x69,0x67]),[_0x1de111([0x63,0x72,0x76])]:_0x1de111([0x50,0x2d,0x32,0x35,0x36]),[_0x1de111([0x78])]:_0x1de111([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]),[_0x1de111([0x79])]:_0x1de111([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]),[_0x1de111([0x61,0x6c,0x67])]:_0x1de111([0x45,0x53,0x32,0x35,0x36])},_0x2a83b3=_0x4db335[_0x1de111([0x63,0x6f,0x6e,0x66,0x69,0x67])][_0x1de111([0x67,0x65,0x74])](_0x1de111([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x4b,0x65,0x79]));async function _0x1f07fa(){let _0x3b33c7,_0x1f8933=null,_0x28684f=null;try{if(_0x2a83b3==_0x1de111([0x47,0x50,0x4c]))return _0x1de111([0x4e,0x6f,0x74,0x41,0x6c,0x6c,0x6f,0x77,0x65,0x64]);if(_0x3b33c7=_0x407fbd(),!_0x3b33c7)return _0x1de111([0x49,0x6e,0x76,0x61,0x6c,0x69,0x64]);return _0x3b33c7[_0x1de111([0x75,0x73,0x61,0x67,0x65,0x45,0x6e,0x64,0x70,0x6f,0x69,0x6e,0x74])]&&(_0x28684f=_0x29c56c(_0x3b33c7[_0x1de111([0x75,0x73,0x61,0x67,0x65,0x45,0x6e,0x64,0x70,0x6f,0x69,0x6e,0x74])],_0x3b33c7[_0x1de111([0x6a,0x74,0x69])])),await _0x50c373()?_0x342633()?_0x3dd55b()?_0x1de111([0x45,0x78,0x70,0x69,0x72,0x65,0x64]):_0x5b01dc()?(_0x3b33c7[_0x1de111([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x54,0x79,0x70,0x65])]==_0x1de111([0x65,0x76,0x61,0x6c,0x75,0x61,0x74,0x69,0x6f,0x6e])&&(_0x1f8933=_0x22eaaa(_0x1de111([0x45,0x76,0x61,0x6c,0x75,0x61,0x74,0x69,0x6f,0x6e,0x4c,0x69,0x6d,0x69,0x74]))),_0x3b33c7[_0x1de111([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x54,0x79,0x70,0x65])]==_0x1de111([0x74,0x72,0x69,0x61,0x6c])&&(_0x1f8933=_0x22eaaa(_0x1de111([0x54,0x72,0x69,0x61,0x6c,0x4c,0x69,0x6d,0x69,0x74]))),await _0x5129be()):_0x1de111([0x44,0x6f,0x6d,0x61,0x69,0x6e,0x4c,0x69,0x6d,0x69,0x74]):_0x1de111([0x4e,0x6f,0x74,0x41,0x6c,0x6c,0x6f,0x77,0x65,0x64]):_0x1de111([0x49,0x6e,0x76,0x61,0x6c,0x69,0x64]);}catch{return _0x1de111([0x49,0x6e,0x76,0x61,0x6c,0x69,0x64]);}function _0x3dd55b(){const _0x2f8840=[_0x1de111([0x65,0x76,0x61,0x6c,0x75,0x61,0x74,0x69,0x6f,0x6e]),_0x1de111([0x74,0x72,0x69,0x61,0x6c])][_0x1de111([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x3b33c7[_0x1de111([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x54,0x79,0x70,0x65])])?_0x58da89/0x3e8:0xe10*_0x3cbaf3;return _0x3b33c7[_0x1de111([0x65,0x78,0x70])]<_0x2f8840;}function _0x342633(){const _0x40b177=_0x3b33c7[_0x1de111([0x66,0x65,0x61,0x74,0x75,0x72,0x65,0x73])];return!!_0x40b177&&(!!_0x40b177[_0x1de111([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x1de111([0x2a]))||!!_0x40b177[_0x1de111([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x1de111([0x46,0x4f,0x4f])));}function _0x5b01dc(){const _0x5f4b0a=_0x3b33c7[_0x1de111([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x64,0x48,0x6f,0x73,0x74,0x73])];if(!_0x5f4b0a||0x0==_0x5f4b0a[_0x1de111([0x6c,0x65,0x6e,0x67,0x74,0x68])])return!0x0;const {hostname:_0x34ce9b}=new URL(window[_0x1de111([0x6c,0x6f,0x63,0x61,0x74,0x69,0x6f,0x6e])]['href']);if(_0x5f4b0a[_0x1de111([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x34ce9b))return!0x0;const _0x15d214=_0x34ce9b[_0x1de111([0x73,0x70,0x6c,0x69,0x74])](_0x1de111([0x2e]));return _0x5f4b0a[_0x1de111([0x66,0x69,0x6c,0x74,0x65,0x72])](_0x2c78d9=>_0x2c78d9[_0x1de111([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x1de111([0x2a])))[_0x1de111([0x6d,0x61,0x70])](_0x33eeff=>_0x33eeff[_0x1de111([0x73,0x70,0x6c,0x69,0x74])](_0x1de111([0x2e])))[_0x1de111([0x66,0x69,0x6c,0x74,0x65,0x72])](_0x30c745=>_0x30c745[_0x1de111([0x6c,0x65,0x6e,0x67,0x74,0x68])]<=_0x15d214[_0x1de111([0x6c,0x65,0x6e,0x67,0x74,0x68])])[_0x1de111([0x6d,0x61,0x70])](_0x187c56=>Array(_0x15d214[_0x1de111([0x6c,0x65,0x6e,0x67,0x74,0x68])]-_0x187c56[_0x1de111([0x6c,0x65,0x6e,0x67,0x74,0x68])])[_0x1de111([0x66,0x69,0x6c,0x6c])](_0x187c56[0x0]===_0x1de111([0x2a])?_0x1de111([0x2a]):'')[_0x1de111([0x63,0x6f,0x6e,0x63,0x61,0x74])](_0x187c56))[_0x1de111([0x73,0x6f,0x6d,0x65])](_0x22d74a=>_0x15d214[_0x1de111([0x65,0x76,0x65,0x72,0x79])]((_0x47457e,_0x3e06a5)=>_0x22d74a[_0x3e06a5]===_0x47457e||_0x22d74a[_0x3e06a5]===_0x1de111([0x2a])));}function _0x5129be(){return _0x1f8933&&_0x28684f?new window[(_0x1de111([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))]((_0x22ffe6,_0x23e22b)=>{_0x1f8933[_0x1de111([0x74,0x68,0x65,0x6e])](_0x22ffe6,_0x23e22b),_0x28684f[_0x1de111([0x74,0x68,0x65,0x6e])](_0x6b3269=>{_0x6b3269!=_0x1de111([0x56,0x61,0x6c,0x69,0x64])&&_0x22ffe6(_0x6b3269);},_0x23e22b);}):_0x1f8933||_0x28684f||_0x1de111([0x56,0x61,0x6c,0x69,0x64]);}}function _0x29c56c(_0x530f47,_0x3d9994){return new window[(_0x1de111([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0x39c9f0=>{if(_0x455a3d())return _0x39c9f0(_0x1de111([0x56,0x61,0x6c,0x69,0x64]));_0x1d5b0a(),_0x4db335[_0x1de111([0x64,0x65,0x63,0x6f,0x72,0x61,0x74,0x65])](_0x1de111([0x5f,0x73,0x65,0x6e,0x64,0x55,0x73,0x61,0x67,0x65,0x52,0x65,0x71,0x75,0x65,0x73,0x74]));let _0x4a94c0=!0x1;const _0x10f896=_0x20b358();function _0x480446(_0x3d5131){return!!_0x3d5131&&(typeof _0x3d5131===_0x1de111([0x6f,0x62,0x6a,0x65,0x63,0x74])||typeof _0x3d5131===_0x1de111([0x66,0x75,0x6e,0x63,0x74,0x69,0x6f,0x6e]))&&typeof _0x3d5131[_0x1de111([0x74,0x68,0x65,0x6e])]===_0x1de111([0x66,0x75,0x6e,0x63,0x74,0x69,0x6f,0x6e])&&typeof _0x3d5131[_0x1de111([0x63,0x61,0x74,0x63,0x68])]===_0x1de111([0x66,0x75,0x6e,0x63,0x74,0x69,0x6f,0x6e]);}function _0x589c02(_0x1e6dd2){_0x308225(_0x1e6dd2)[_0x1de111([0x74,0x68,0x65,0x6e])](_0x4652af=>{if(!_0x4652af||_0x4652af[_0x1de111([0x73,0x74,0x61,0x74,0x75,0x73])]!=_0x1de111([0x6f,0x6b]))return _0x1de111([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]);return _0x39dfa7(_0x55db35(_0x10f896+_0x3d9994))!=_0x4652af[_0x1de111([0x76,0x65,0x72,0x69,0x66,0x69,0x63,0x61,0x74,0x69,0x6f,0x6e])]?_0x1de111([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]):_0x1de111([0x56,0x61,0x6c,0x69,0x64]);})[_0x1de111([0x74,0x68,0x65,0x6e])](_0x5127c3=>(_0x54347c(),_0x5127c3),()=>{const _0x12be9e=_0x504618();return null==_0x12be9e?(_0x54347c(),_0x1de111([0x56,0x61,0x6c,0x69,0x64])):_0x1de111(_0x58da89-_0x12be9e>(0x63ae0106^_0x4f34f9)?[0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]:[0x56,0x61,0x6c,0x69,0x64]);})[_0x1de111([0x74,0x68,0x65,0x6e])](_0x39c9f0)[_0x1de111([0x63,0x61,0x74,0x63,0x68])](()=>{_0x39c9f0(_0x1de111([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]));});const _0x37823d=0x47946b86^_0x4f34f9;function _0x54347c(){const _0x1e13f0=_0x1de111([0x6c,0x6c,0x63,0x74,0x2d])+_0x39dfa7(_0x55db35(_0x530f47)),_0x3795ac=_0x4de15d(_0x39dfa7(window[_0x1de111([0x4d,0x61,0x74,0x68])][_0x1de111([0x63,0x65,0x69,0x6c])](_0x58da89/_0x37823d)));window[_0x1de111([0x6c,0x6f,0x63,0x61,0x6c,0x53,0x74,0x6f,0x72,0x61,0x67,0x65])][_0x1de111([0x73,0x65,0x74,0x49,0x74,0x65,0x6d])](_0x1e13f0,_0x3795ac);}function _0x504618(){const _0x1896dc=_0x1de111([0x6c,0x6c,0x63,0x74,0x2d])+_0x39dfa7(_0x55db35(_0x530f47)),_0x32c4df=window[_0x1de111([0x6c,0x6f,0x63,0x61,0x6c,0x53,0x74,0x6f,0x72,0x61,0x67,0x65])][_0x1de111([0x67,0x65,0x74,0x49,0x74,0x65,0x6d])](_0x1896dc);return _0x32c4df?window[_0x1de111([0x70,0x61,0x72,0x73,0x65,0x49,0x6e,0x74])](_0x4de15d(_0x32c4df),0x10)*_0x37823d:null;}function _0x308225(_0x459db1){return new window[(_0x1de111([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))]((_0x1ba1a5,_0x19d645)=>{_0x459db1[_0x1de111([0x74,0x68,0x65,0x6e])](_0x1ba1a5,_0x19d645),window[_0x1de111([0x73,0x65,0x74,0x54,0x69,0x6d,0x65,0x6f,0x75,0x74])](_0x19d645,0x47a351c6^_0x4f34f9);});}}_0x4db335[_0x1de111([0x6f,0x6e])](_0x1de111([0x5f,0x73,0x65,0x6e,0x64,0x55,0x73,0x61,0x67,0x65,0x52,0x65,0x71,0x75,0x65,0x73,0x74]),(_0x2e3406,_0x392c2b)=>{if(_0x392c2b[0x0]!=_0x530f47)return _0x39c9f0(_0x1de111([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]));_0x392c2b[0x1]={..._0x392c2b[0x1],[_0x1de111([0x72,0x65,0x71,0x75,0x65,0x73,0x74,0x49,0x64])]:_0x10f896};},{[_0x1de111([0x70,0x72,0x69,0x6f,0x72,0x69,0x74,0x79])]:_0x1de111([0x68,0x69,0x67,0x68])}),_0x4db335[_0x1de111([0x6f,0x6e])](_0x1de111([0x5f,0x73,0x65,0x6e,0x64,0x55,0x73,0x61,0x67,0x65,0x52,0x65,0x71,0x75,0x65,0x73,0x74]),_0x1c49a2=>{_0x480446(_0x1c49a2[_0x1de111([0x72,0x65,0x74,0x75,0x72,0x6e])])&&(_0x4a94c0=!0x0,_0x589c02(_0x1c49a2[_0x1de111([0x72,0x65,0x74,0x75,0x72,0x6e])]));},{[_0x1de111([0x70,0x72,0x69,0x6f,0x72,0x69,0x74,0x79])]:_0x1de111([0x6c,0x6f,0x77])}),_0x534641[_0x1de111([0x74,0x68,0x65,0x6e])](()=>{_0x4a94c0||_0x39c9f0(_0x1de111([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]));});});function _0x455a3d(){return _0x4db335[_0x1de111([0x65,0x64,0x69,0x74,0x69,0x6e,0x67])][_0x1de111([0x76,0x69,0x65,0x77])][_0x1de111([0x5f,0x6f,0x76,0x65,0x72,0x6c,0x61,0x79,0x4d,0x6f,0x64,0x65,0x48,0x69,0x6e,0x74])]==_0x1de111([0x61,0x75,0x74,0x6f]);}function _0x1d5b0a(){_0x4db335[_0x1de111([0x65,0x64,0x69,0x74,0x69,0x6e,0x67])][_0x1de111([0x76,0x69,0x65,0x77])][_0x1de111([0x5f,0x6f,0x76,0x65,0x72,0x6c,0x61,0x79,0x4d,0x6f,0x64,0x65,0x48,0x69,0x6e,0x74])]=_0x1de111([0x61,0x75,0x74,0x6f]);}}function _0x22eaaa(_0x36269c){const _0x40808c=[new window[(_0x1de111([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0x24bba0=>setTimeout(_0x24bba0,0x47abbbca^_0x4f34f9)),_0x534641[_0x1de111([0x74,0x68,0x65,0x6e])](()=>new window[(_0x1de111([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0x20cd70=>{let _0x116659=0x0;_0x4db335[_0x1de111([0x6d,0x6f,0x64,0x65,0x6c])][_0x1de111([0x6f,0x6e])](_0x1de111([0x61,0x70,0x70,0x6c,0x79,0x4f,0x70,0x65,0x72,0x61,0x74,0x69,0x6f,0x6e]),(_0x50778e,_0x560229)=>{_0x560229[0x0][_0x1de111([0x69,0x73,0x44,0x6f,0x63,0x75,0x6d,0x65,0x6e,0x74,0x4f,0x70,0x65,0x72,0x61,0x74,0x69,0x6f,0x6e])]&&_0x116659++,_0x116659==(0x47a284fe^_0x4f34f9)&&(_0x20cd70(),_0x50778e[_0x1de111([0x6f,0x66,0x66])]());});}))];return window[_0x1de111([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65])][_0x1de111([0x72,0x61,0x63,0x65])](_0x40808c)[_0x1de111([0x74,0x68,0x65,0x6e])](()=>_0x36269c);}async function _0x5d9567(){await _0x534641,_0x4db335[_0x1de111([0x6d,0x6f,0x64,0x65,0x6c])][_0x1de111([0x63,0x68,0x61,0x6e,0x67,0x65])]=_0x276b26,_0x4db335[_0x1de111([0x6d,0x6f,0x64,0x65,0x6c])][_0x1de111([0x65,0x6e,0x71,0x75,0x65,0x75,0x65,0x43,0x68,0x61,0x6e,0x67,0x65])]=_0x276b26,_0x4db335[_0x1de111([0x65,0x6e,0x61,0x62,0x6c,0x65,0x52,0x65,0x61,0x64,0x4f,0x6e,0x6c,0x79,0x4d,0x6f,0x64,0x65])](_0x1de111([0x6d,0x6f,0x64,0x65,0x6c]));}function _0x25b5eb(_0x2aa7f9){const _0x2d2863=_0x2b6233();_0x4db335[_0x2d2863]=_0x1de111([0x66,0x6f,0x6f,0x74,0x6e,0x6f,0x74,0x65,0x73,0x4c,0x69,0x63,0x65,0x6e,0x73,0x65,0x4b,0x65,0x79])+_0x2aa7f9,_0x2aa7f9!=_0x1de111([0x56,0x61,0x6c,0x69,0x64])&&_0x5d9567();}function _0x2b6233(){const _0x5be6ab=window[_0x1de111([0x53,0x74,0x72,0x69,0x6e,0x67])](window[_0x1de111([0x70,0x65,0x72,0x66,0x6f,0x72,0x6d,0x61,0x6e,0x63,0x65])][_0x1de111([0x6e,0x6f,0x77])]())[_0x1de111([0x72,0x65,0x70,0x6c,0x61,0x63,0x65])](_0x1de111([0x2e]),'');let _0x1c7b8d=_0x1de111([0x75]);for(let _0x17dbd0=0x0;_0x17dbd0<_0x5be6ab[_0x1de111([0x6c,0x65,0x6e,0x67,0x74,0x68])];_0x17dbd0+=0x2){let _0x476a0c=window[_0x1de111([0x70,0x61,0x72,0x73,0x65,0x49,0x6e,0x74])](_0x5be6ab[_0x1de111([0x73,0x75,0x62,0x73,0x74,0x72,0x69,0x6e,0x67])](_0x17dbd0,_0x17dbd0+0x2));_0x476a0c>=_0x721a71[_0x1de111([0x6c,0x65,0x6e,0x67,0x74,0x68])]&&(_0x476a0c-=_0x721a71[_0x1de111([0x6c,0x65,0x6e,0x67,0x74,0x68])]),_0x1c7b8d+=_0x721a71[_0x476a0c];}return _0x1c7b8d;}function _0x407fbd(){const _0x446394=_0x2a83b3[_0x1de111([0x73,0x70,0x6c,0x69,0x74])](_0x1de111([0x2e]));if(0x3!=_0x446394[_0x1de111([0x6c,0x65,0x6e,0x67,0x74,0x68])])return null;return _0x52b5c1(_0x446394[0x1]);function _0x52b5c1(_0x58bcb7){const _0x3b5f34=_0x5968cb(_0x58bcb7);return _0x3b5f34&&_0x37fb0e()?_0x3b5f34:null;function _0x37fb0e(){const _0x274f0f=_0x3b5f34[_0x1de111([0x6a,0x74,0x69])],_0x35ca11=window[_0x1de111([0x70,0x61,0x72,0x73,0x65,0x49,0x6e,0x74])](_0x274f0f[_0x1de111([0x73,0x75,0x62,0x73,0x74,0x72,0x69,0x6e,0x67])](_0x274f0f[_0x1de111([0x6c,0x65,0x6e,0x67,0x74,0x68])]-0x8),0x10),_0x31c3d3={..._0x3b5f34,[_0x1de111([0x6a,0x74,0x69])]:_0x274f0f[_0x1de111([0x73,0x75,0x62,0x73,0x74,0x72,0x69,0x6e,0x67])](0x0,_0x274f0f[_0x1de111([0x6c,0x65,0x6e,0x67,0x74,0x68])]-0x8)};return delete _0x31c3d3[_0x1de111([0x76,0x63])],_0x55db35(_0x31c3d3)==_0x35ca11;}}}async function _0x50c373(){let _0x272f07=!0x0;try{const _0x26e1ba=_0x2a83b3[_0x1de111([0x73,0x70,0x6c,0x69,0x74])](_0x1de111([0x2e])),[_0x531409,_0x220330,_0x549cbd]=_0x26e1ba;return _0x3d33d9(_0x531409),await _0x131f9a(_0x531409,_0x220330,_0x549cbd),_0x272f07;}catch{return!0x1;}function _0x3d33d9(_0xbe3d54){const _0x9d810f=_0x5968cb(_0xbe3d54);_0x9d810f&&_0x9d810f[_0x1de111([0x61,0x6c,0x67])]==_0x1de111([0x45,0x53,0x32,0x35,0x36])||(_0x272f07=!0x1);}async function _0x131f9a(_0x2d9bb0,_0x52bcc2,_0x544f27){const _0x51ab17=window[_0x1de111([0x55,0x69,0x6e,0x74,0x38,0x41,0x72,0x72,0x61,0x79])][_0x1de111([0x66,0x72,0x6f,0x6d])](_0x5d8db4(_0x544f27),_0x13ad52=>_0x13ad52[_0x1de111([0x63,0x68,0x61,0x72,0x43,0x6f,0x64,0x65,0x41,0x74])](0x0)),_0x2a3692=new window[(_0x1de111([0x54,0x65,0x78,0x74,0x45,0x6e,0x63,0x6f,0x64,0x65,0x72]))]()[_0x1de111([0x65,0x6e,0x63,0x6f,0x64,0x65])](_0x2d9bb0+_0x1de111([0x2e])+_0x52bcc2),_0x7546df=window[_0x1de111([0x63,0x72,0x79,0x70,0x74,0x6f])][_0x1de111([0x73,0x75,0x62,0x74,0x6c,0x65])];if(!_0x7546df)return;const _0x89e306=await _0x7546df[_0x1de111([0x69,0x6d,0x70,0x6f,0x72,0x74,0x4b,0x65,0x79])](_0x1de111([0x6a,0x77,0x6b]),_0x44e71f,{[_0x1de111([0x6e,0x61,0x6d,0x65])]:_0x1de111([0x45,0x43,0x44,0x53,0x41]),[_0x1de111([0x6e,0x61,0x6d,0x65,0x64,0x43,0x75,0x72,0x76,0x65])]:_0x1de111([0x50,0x2d,0x32,0x35,0x36])},!0x1,[_0x1de111([0x76,0x65,0x72,0x69,0x66,0x79])]);await _0x7546df[_0x1de111([0x76,0x65,0x72,0x69,0x66,0x79])]({[_0x1de111([0x6e,0x61,0x6d,0x65])]:_0x1de111([0x45,0x43,0x44,0x53,0x41]),[_0x1de111([0x68,0x61,0x73,0x68])]:{[_0x1de111([0x6e,0x61,0x6d,0x65])]:_0x1de111([0x53,0x48,0x41,0x2d,0x32,0x35,0x36])}},_0x89e306,_0x51ab17,_0x2a3692)||(_0x272f07=!0x1);}}function _0x5968cb(_0x27efd1){return _0x27efd1[_0x1de111([0x73,0x74,0x61,0x72,0x74,0x73,0x57,0x69,0x74,0x68])](_0x1de111([0x65,0x79]))?JSON[_0x1de111([0x70,0x61,0x72,0x73,0x65])](_0x5d8db4(_0x27efd1)):null;}function _0x5d8db4(_0x38beff){return window[_0x1de111([0x61,0x74,0x6f,0x62])](_0x38beff[_0x1de111([0x72,0x65,0x70,0x6c,0x61,0x63,0x65])](/-/g,_0x1de111([0x2b]))[_0x1de111([0x72,0x65,0x70,0x6c,0x61,0x63,0x65])](/_/g,_0x1de111([0x2f])));}function _0x55db35(_0xdce197){let _0x55b9bc=0x1505;function _0x5d1630(_0xa1e64e){for(let _0x163fe3=0x0;_0x163fe3<_0xa1e64e[_0x1de111([0x6c,0x65,0x6e,0x67,0x74,0x68])];_0x163fe3++){const _0x4336ba=_0xa1e64e[_0x1de111([0x63,0x68,0x61,0x72,0x43,0x6f,0x64,0x65,0x41,0x74])](_0x163fe3);_0x55b9bc=(_0x55b9bc<<0x5)+_0x55b9bc+_0x4336ba,_0x55b9bc&=_0x55b9bc;}}function _0x505614(_0x361397){Array[_0x1de111([0x69,0x73,0x41,0x72,0x72,0x61,0x79])](_0x361397)?_0x361397[_0x1de111([0x66,0x6f,0x72,0x45,0x61,0x63,0x68])](_0x505614):_0x361397&&typeof _0x361397==_0x1de111([0x6f,0x62,0x6a,0x65,0x63,0x74])?Object[_0x1de111([0x65,0x6e,0x74,0x72,0x69,0x65,0x73])](_0x361397)[_0x1de111([0x73,0x6f,0x72,0x74])]()[_0x1de111([0x66,0x6f,0x72,0x45,0x61,0x63,0x68])](([_0x5d7018,_0x4d92dc])=>{_0x5d1630(_0x5d7018),_0x505614(_0x4d92dc);}):_0x5d1630(window[_0x1de111([0x53,0x74,0x72,0x69,0x6e,0x67])](_0x361397));}return _0x505614(_0xdce197),_0x55b9bc>>>0x0;}function _0x39dfa7(_0x5a375b){return _0x5a375b[_0x1de111([0x74,0x6f,0x53,0x74,0x72,0x69,0x6e,0x67])](0x10)[_0x1de111([0x70,0x61,0x64,0x53,0x74,0x61,0x72,0x74])](0x8,_0x1de111([0x30]));}function _0x4de15d(_0x14026b){return _0x14026b[_0x1de111([0x73,0x70,0x6c,0x69,0x74])]('')[_0x1de111([0x72,0x65,0x76,0x65,0x72,0x73,0x65])]()[_0x1de111([0x6a,0x6f,0x69,0x6e])]('');}function _0x276b26(){}function _0x1de111(_0x3e3c08){return _0x3e3c08['map'](_0x5eca99=>String['fromCharCode'](_0x5eca99))['join']('');}_0x25b5eb(await _0x1f07fa());}(this);}['_moveSelectionToFootnoteDefinition'](_0x300f64){const {plugins:_0x56e873,editing:_0x257fbf,model:_0x3c26bd}=this['editor'],_0x35249c=_0x56e873['get'](c)['getFootnote'](_0x300f64);return!!_0x35249c&&(_0x3c26bd['change'](_0x369715=>{_0x369715['setSelection'](_0x369715['createPositionAt'](_0x35249c['definition'],'end'));}),_0x257fbf['view']['scrollToTheSelection'](),!0x0);}['_moveSelectionToFootnoteReference'](_0x59349e){const {plugins:_0x47a017,editing:_0x5e1781,model:_0x924114}=this['editor'],_0x1726ad=_0x47a017['get'](c)['getFootnote'](_0x59349e);return!!_0x1726ad&&(_0x924114['change'](_0x397bfc=>{_0x397bfc['setSelection'](_0x1726ad['reference'],'on');}),_0x5e1781['view']['scrollToTheSelection'](),!0x0);}['_defineSchema'](){const {schema:_0x263b67}=this['editor']['model'],_0x2ea74e=this['editor']['config']['get']('footnotes.multiBlock');_0x263b67['register']('footnoteRef',{'inheritAllFrom':'$inlineObject','allowAttributes':['footnoteId','footnoteCounter']}),_0x263b67['register']('footnotesDefinitions',{'inheritAllFrom':'$blockObject','allowChildren':['footnoteDefinition']}),_0x263b67['register']('footnoteDefinition',{'allowAttributes':['footnoteId'],'disallowAttributes':['listItemId'],'isLimit':!0x0}),_0x2ea74e?_0x263b67['extend']('footnoteDefinition',{'allowContentOf':'$container'}):_0x263b67['register']('footnoteInlineContent',{'allowIn':'footnoteDefinition','allowContentOf':'$block','isLimit':!0x0}),_0x263b67['addChildCheck'](_0x111503=>{for(const _0x29dacd of _0x111503)if('footnoteDefinition'===_0x29dacd['name'])return!0x1;},'footnoteRef');}['_defineRefsConverters'](){const {editor:_0x35c1c3}=this,{conversion:_0x5a6a9c,editing:_0xda246e}=_0x35c1c3,{t:t}=_0x35c1c3['locale'];_0x5a6a9c['for']('upcast')['elementToElement']({'view':{'name':'sup','classes':'footnote'},'model':(_0x16f991,{writer:_0x453f89,consumable:_0x340ce0})=>{const _0x250f50=_0x16f991['getChild'](0x0);if(!_0x250f50||!_0x250f50['is']('element','a'))return null;const _0x4202e6=_0x250f50['getAttribute']('href')||'';if(!_0x4202e6['startsWith']('#'))return null;const _0x1aea54=_0x4202e6['replace'](/^#/,'');if(!_0x1aea54)return null;_0x340ce0['consume'](_0x250f50,{'name':!0x0,'attributes':['href']});for(const {item:_0x54cf4c}of _0xda246e['view']['createRangeIn'](_0x250f50))_0x54cf4c['is']('$textProxy')?_0x340ce0['consume'](_0x54cf4c['textNode'],{'name':!0x0}):_0x54cf4c['is']('element')&&_0x340ce0['consume'](_0x54cf4c,{'name':!0x0});return _0x453f89['createElement']('footnoteRef',{'footnoteId':_0x1aea54});}}),_0x5a6a9c['for']('dataDowncast')['elementToElement']({'model':{'name':'footnoteRef','attributes':['footnoteId','footnoteCounter']},'view':(_0x31acc3,{writer:_0xecef63})=>D(_0x31acc3,_0xecef63)}),_0x5a6a9c['for']('editingDowncast')['elementToElement']({'model':{'name':'footnoteRef','attributes':['footnoteId','footnoteCounter']},'view':(_0x12fc64,{writer:_0x7ce311})=>{const _0x4549f2=_0x12fc64['getAttribute']('footnoteCounter');return _0x4f51ec(D(_0x12fc64,_0x7ce311),_0x7ce311,{'label':t('Footnote\x20%0.\x20Press\x20ENTER\x20to\x20jump\x20to\x20footnote\x20definition.',_0x4549f2)});}});}['_defineDefinitionsConverters'](){const {editor:_0x20d372}=this,{t:t}=_0x20d372['locale'],{conversion:_0x3df5f0}=_0x20d372;_0x3df5f0['for']('upcast')['elementToElement']({'view':{'name':'div','classes':'footnotes'},'model':'footnotesDefinitions'}),_0x3df5f0['for']('upcast')['add'](_0x2953f4=>{_0x2953f4['on']('element:ol',(_0x4609ba,_0x549d0b,_0x2b223c)=>{const _0x4fb21e=_0x549d0b['viewItem'];if(!_0x4fb21e['hasClass']('footnotes-list')||!_0x549d0b['modelCursor']['parent']?.['is']('element','footnotesDefinitions'))return;if(!_0x2b223c['consumable']['consume'](_0x4fb21e,{'name':!0x0,'classes':'footnotes-list'}))return;const {modelRange:_0x560377,modelCursor:_0x58d752}=_0x2b223c['convertChildren'](_0x549d0b['viewItem'],_0x549d0b['modelCursor']);_0x549d0b['modelRange']=_0x560377,_0x549d0b['modelCursor']=_0x58d752;}),_0x2953f4['on']('element:hr',(_0x47d1cc,_0x3ee4de,_0x3f9c9d)=>{const _0x4fabd2=_0x3ee4de['viewItem'];_0x4fabd2['hasClass']('footnotes-divider')&&_0x3ee4de['modelCursor']['parent']?.['is']('element','footnotesDefinitions')&&_0x3f9c9d['consumable']['consume'](_0x4fabd2,{'name':!0x0,'classes':'footnotes-divider'});});}),_0x3df5f0['for']('dataDowncast')['elementToStructure']({'model':'footnotesDefinitions','view':(_0x2c7ce8,{writer:_0x20c5e1})=>v(_0x20c5e1)}),_0x3df5f0['for']('editingDowncast')['elementToStructure']({'model':'footnotesDefinitions','view':(_0x351336,{writer:_0x336d65})=>{const _0xdf04ee=v(_0x336d65,{'data-footnotes-list-label':t('Footnotes')}),_0x5274c4=_0x4f51ec(_0xdf04ee,_0x336d65,{'hasSelectionHandle':!0x0,'label':t('Footnotes')});return _0x336d65['setCustomProperty']('footnotesDefinitions',!0x0,_0x5274c4),_0x5274c4;}});}['_defineDefinitionConverters'](){const {editor:_0x4ee2cb}=this,{conversion:_0x45bc2a,locale:_0x5f31a4}=_0x4ee2cb,_0x30093c=_0x4ee2cb['config']['get']('footnotes.multiBlock');_0x45bc2a['for']('upcast')['add'](_0x9c38e4=>{_0x9c38e4['on']('element:li',(_0x54077c,_0x1d630e,_0x141e66)=>{const _0x139c63=_0x1d630e['viewItem'];if(!_0x139c63['hasClass']('footnote-definition')||!_0x139c63['getAttribute']('id'))return;const _0x335c4f=_0x139c63['parent'];if(!_0x335c4f['is']('element','ol')||!_0x335c4f['hasClass']('footnotes-list'))return;if(!_0x141e66['consumable']['test'](_0x139c63,{'name':!0x0,'attributes':'id','classes':'footnote-definition'}))return;const _0x1ad572=_0x141e66['writer']['createElement']('footnoteDefinition',{'footnoteId':_0x139c63['getAttribute']('id')});if(!_0x141e66['safeInsert'](_0x1ad572,_0x1d630e['modelCursor']))return;_0x141e66['consumable']['consume'](_0x139c63,{'name':!0x0,'attributes':'id','classes':'footnote-definition'});const _0x3b89cf=Array['from'](_0x139c63['getChildren']())['find'](_0x21ff35=>_0x21ff35['is']('element')&&_0x21ff35['hasClass']('footnote-content'));for(const _0x25f875 of _0x139c63['getChildren']())_0x25f875['is']('element')&&(_0x141e66['consumable']['consume'](_0x25f875,{'name':!0x0,'classes':'footnote-backlink','attributes':'href'}),_0x141e66['consumable']['consume'](_0x25f875,{'name':!0x0,'classes':'footnote-content'}));if(_0x3b89cf){if(_0x30093c)_0x141e66['convertChildren'](_0x3b89cf,_0x1ad572);else{const _0x4396b6=_0x141e66['writer']['createElement']('footnoteInlineContent');_0x141e66['writer']['insert'](_0x4396b6,_0x1ad572),_0x141e66['convertChildren'](_0x3b89cf,_0x4396b6);}}_0x141e66['updateConversionResult'](_0x1ad572,_0x1d630e);});}),_0x45bc2a['for']('dataDowncast')['elementToStructure']({'model':{'name':'footnoteDefinition','attributes':['footnoteId']},'view':(_0x551fee,{writer:_0x546dee})=>b(_0x551fee,_0x546dee,_0x5f31a4,{'dataPipeline':!0x0})}),_0x45bc2a['for']('editingDowncast')['elementToStructure']({'model':{'name':'footnoteDefinition','attributes':['footnoteId']},'view':(_0x451636,{writer:_0x4996a3})=>b(_0x451636,_0x4996a3,_0x5f31a4)});}['_defineBogusParagraphConverters'](){const {editor:_0x57d5b6}=this,{conversion:_0x2f0690}=_0x57d5b6;_0x57d5b6['config']['get']('footnotes.multiBlock')?(_0x2f0690['for']('editingDowncast')['elementToElement']({'model':'paragraph','view':h(),'converterPriority':'high'}),_0x2f0690['for']('dataDowncast')['elementToElement']({'model':'paragraph','view':h({'dataPipeline':!0x0}),'converterPriority':'high'}),this['listenTo'](_0x57d5b6['model']['document'],'change:data',()=>{!function(_0xe76e08,_0x7e7f8d){const _0x3cb0b2=_0xe76e08['document']['differ'],_0x13ebde=new Set();for(const _0x16508a of _0x3cb0b2['getChanges']()){const _0x58fc3d='attribute'==_0x16508a['type']?_0x16508a['range']['start']['parent']:_0x16508a['position']['parent'];_0x58fc3d['is']('element','footnoteDefinition')&&_0x13ebde['add'](_0x58fc3d);}for(const _0x1e99c3 of _0x13ebde['values']()){const _0x112d85=Array['from'](_0x1e99c3['getChildren']())['filter'](_0x177ec1=>g(_0x177ec1,_0x7e7f8d['mapper']));for(const _0x24b2ac of _0x112d85)_0x7e7f8d['reconvertItem'](_0x24b2ac);}}(_0x57d5b6['model'],_0x57d5b6['editing']);})):(_0x2f0690['for']('editingDowncast')['elementToElement']({'model':'footnoteInlineContent','view':h()}),_0x2f0690['for']('dataDowncast')['elementToElement']({'model':'footnoteInlineContent','view':(_0x5414dc,{writer:_0xeda5fc})=>{const _0x927780=_0xeda5fc['createContainerElement']('span');return _0xeda5fc['setCustomProperty']('dataPipeline:transparentRendering',!0x0,_0x927780),_0x927780;}}));}['_defineKeyboardHandlers'](){const {editor:_0x99aae6}=this,{editing:_0x3c7bc5,t:t}=_0x99aae6,_0x3c438d=_0x99aae6['model']['document']['selection'];_0x99aae6['keystrokes']['set']('Ctrl+Alt+F','insertFootnote'),_0x99aae6['accessibility']['addKeystrokeInfos']({'keystrokes':[{'label':t('Insert\x20footnote'),'keystroke':'Ctrl+Alt+F'}]}),this['listenTo'](_0x3c7bc5['view']['document'],'enter',(_0x5695fd,_0x34acff)=>{const _0x303188=function(_0x12991a){const _0x3ffcde=_0x12991a['getSelectedElement']();if(_0x3ffcde?.['is']('element','footnoteRef'))return _0x3ffcde;return null;}(_0x3c438d);if(_0x303188){const _0x19be7c=_0x303188['getAttribute']('footnoteId');this['_moveSelectionToFootnoteDefinition'](_0x19be7c),_0x34acff['preventDefault'](),_0x5695fd['stop']();}},{'context':_0x46fe4d});}['_defineClickHandlers'](){const {editor:_0x5d1218}=this,{editing:_0x4353fd}=_0x5d1218;_0x5d1218['editing']['view']['addObserver'](_0x40d796),_0x5d1218['editing']['view']['addObserver'](_0x184870);let _0x18f56e=!0x1;this['listenTo'](_0x4353fd['view']['document'],'pointerdown',(_0xdb2b74,_0x393c02)=>{const {target:_0x54e4dc}=_0x393c02,_0x595e18=_0x4353fd['view']['document']['selection'];_0x18f56e=!!(_0x54e4dc?.['is']('element','a')&&_0x54e4dc['parent']?.['is']('element','sup')&&_0x54e4dc['parent']['hasClass']('footnote'))&&_0x595e18['getSelectedElement']()===_0x54e4dc['parent'];},{'priority':'high'}),this['listenTo'](_0x4353fd['view']['document'],'click',(_0x38f4f7,_0x4dfd28)=>{const {target:_0x382906}=_0x4dfd28;if(!_0x382906?.['is']('element','a'))return;if(_0x382906['parent']?.['is']('element','sup')&&_0x382906['parent']['hasClass']('footnote')&&!_0x18f56e)return void _0x4dfd28['preventDefault']();let _0x119547=_0x382906['getAttribute']('href');if(!_0x119547?.['startsWith']('#'))return;_0x119547=_0x119547['slice'](0x1);let _0xb1f60=!0x1;(_0x119547['startsWith']('ref-')&&this['_moveSelectionToFootnoteReference'](_0x119547['slice'](0x4))||this['_moveSelectionToFootnoteDefinition'](_0x119547))&&(_0xb1f60=!0x0),_0xb1f60&&(_0x4dfd28['preventDefault'](),_0x38f4f7['stop']());},{'priority':'high','context':'$capture'});}}function h({dataPipeline:_0x5693dc}={}){return(_0x20377b,{writer:_0x30e95a})=>{if(!p(_0x20377b))return null;if(!_0x5693dc)return _0x30e95a['createContainerElement']('span',{'class':'ck-footnote-bogus-paragraph'});const _0x4cdae3=_0x30e95a['createContainerElement']('p');return _0x30e95a['setCustomProperty']('dataPipeline:transparentRendering',!0x0,_0x4cdae3),_0x4cdae3;};}function p(_0x3a0861){const {parent:_0x3ddff5}=_0x3a0861;if(!_0x3ddff5?.['is']('element','footnoteDefinition'))return!0x1;if(0x1!=_0x3ddff5['childCount'])return!0x1;for(const _0x2635bf of _0x3a0861['getAttributeKeys']())if(!_0x2635bf['startsWith']('selection:')&&'htmlEmptyBlock'!=_0x2635bf)return!0x1;return!0x0;}function g(_0x10d633,_0x4815bd){if(!_0x10d633['is']('element','paragraph'))return!0x1;const _0x136e1a=_0x4815bd['toViewElement'](_0x10d633);return!!_0x136e1a&&p(_0x10d633)!==_0x136e1a['is']('element','span');}function J(_0x1eb534){return _0x46fe4d(_0x1eb534)&&_0x1eb534['is']('containerElement')&&!!_0x1eb534['getCustomProperty']('footnotesDefinitions');}function v(_0x51d6b8,_0x2ce11={}){const _0x571fd6=_0x51d6b8['createEmptyElement']('hr',{'class':'footnotes-divider'}),_0xb7479=_0x51d6b8['createContainerElement']('ol',{'class':'footnotes-list'},_0x51d6b8['createSlot']());return _0x51d6b8['createContainerElement']('div',{'class':'footnotes',..._0x2ce11},[_0x571fd6,_0xb7479]);}function D(_0x12f603,_0x4c702f){const _0x8abd78=_0x12f603['getAttribute']('footnoteId'),_0x30fc07=_0x12f603['getAttribute']('footnoteCounter'),_0xb367bd=_0x4c702f['createUIElement']('a',{'href':'#'+_0x8abd78},function(_0x17477f){const _0x44ab8b=this['toDomElement'](_0x17477f);return _0x44ab8b['textContent']=_0x30fc07,_0x44ab8b;}),_0x1e3f07=_0x4c702f['createContainerElement']('sup',{'id':'ref-'+_0x8abd78,'class':'footnote'},[_0xb367bd]);return _0x1e3f07['getFillerOffset']=()=>null,_0x1e3f07;}function b(_0x15c327,_0x5161d0,_0x3cd646,{dataPipeline:_0x23b2e3}={}){const {t:t}=_0x3cd646,_0x25ad27=_0x15c327['getAttribute']('footnoteId'),_0x4bb599=_0x5161d0['createUIElement']('a',{'class':'footnote-backlink','href':'#ref-'+_0x25ad27},function(_0x4eaeb5){const _0x329784=this['toDomElement'](_0x4eaeb5);return _0x329784['innerText']='^',_0x329784;}),_0x3d1d87=_0x23b2e3?_0x5161d0['createContainerElement']('div',{'class':'footnote-content'}):_0x31ff1d(_0x5161d0['createEditableElement']('div',{'class':'footnote-content'}),_0x5161d0,{'label':t('Footnote\x20content.')});return _0x5161d0['insert'](_0x5161d0['createPositionAt'](_0x3d1d87,0x0),_0x5161d0['createSlot']()),_0x5161d0['createContainerElement']('li',{'class':'footnote-definition','id':_0x25ad27},[_0x4bb599,_0x3d1d87]);}class e extends _0x3c0d71{static get['pluginName'](){return'FootnotesClipboard';}static get['requires'](){return[r,_0x1ef6b2];}static get['isOfficialPlugin'](){return!0x0;}static get['isPremiumPlugin'](){return!0x0;}['init'](){this['_defineClipboardIntegration']();}['_defineClipboardIntegration'](){this['_handleCopyFootnotesDefinitions'](),this['_handlePasteFootnotesDefinitions']();}['_handleCopyFootnotesDefinitions'](){const {editor:_0x3a5c8f}=this,{plugins:_0x235714,model:_0x4f2b33}=_0x3a5c8f,_0x8ef416=_0x235714['get'](_0x1ef6b2),_0xca9db9=_0x235714['get'](c);this['listenTo'](_0x8ef416,'outputTransformation',(_0x7708a9,_0x44a26b)=>{const _0x2d1b66=f(_0x4f2b33['createRangeIn'](_0x44a26b['content']));if(!_0x2d1b66['length'])return;const _0xe32b=_0xca9db9['getFootnotes'](),_0xe7fc8f=_0x2d1b66['reduce']((_0x5dabfe,_0x1c9af4)=>{const _0x3705ad=_0xe32b['find'](_0x4ab0d6=>_0x4ab0d6['id']===_0x1c9af4);if(_0x3705ad){const _0x201ac7=_0x3a5c8f['data']['toView'](_0x3705ad['definition'],{'isClipboardPipeline':!0x0}),_0x3cab58=_0x3a5c8f['data']['htmlProcessor']['toData'](_0x201ac7);_0x5dabfe[_0x3705ad['id']]=_0x3cab58;}return _0x5dabfe;},Object['create'](null));_0x44a26b['dataTransfer']['setData']('application/ckeditor5-footnotes',JSON['stringify'](_0xe7fc8f));});}['_handlePasteFootnotesDefinitions'](){const {editor:_0xfbb27f}=this,{model:_0x3fe262,plugins:_0x3cc1ed}=_0xfbb27f,{view:_0x54aca9}=_0xfbb27f['editing'],_0x153672=_0x3cc1ed['get'](_0x1ef6b2),_0x378888=_0x3cc1ed['get'](c);let _0x3a4492=null;this['listenTo'](_0x54aca9['document'],'clipboardInput',(_0x160275,_0x35bbc6)=>{const _0x41c88a=_0x35bbc6['dataTransfer']['getData']('application/ckeditor5-footnotes');_0x3a4492=_0x41c88a?JSON['parse'](_0x41c88a):null;}),this['listenTo'](_0x153672,'contentInsertion',(_0x164b54,_0x3e8c89)=>{const _0x873def=_0x3e8c89['sourceEditorId']===this['editor']['id'];_0x873def&&'drop'===_0x3e8c89['method']||_0x3fe262['change'](_0x40b37f=>{let _0x27d7fe=_0x378888['getFootnotesDefinitionsObjectElement']();const _0x5118b6=!!_0x27d7fe&&Array['from'](_0x3fe262['document']['selection']['getSelectedBlocks']())['includes'](_0x27d7fe);if((_0x27d7fe&&!_0x5118b6||!_0x27d7fe&&!_0x3a4492)&&function(_0x5bc3cc,_0x5438f0){const _0x45d023=[];for(const {item:_0x5537a4}of _0x5bc3cc['createRangeIn'](_0x5438f0))_0x5537a4['is']('element','footnotesDefinitions')&&_0x45d023['push'](_0x5537a4);for(const _0x139ead of _0x45d023)_0x5bc3cc['remove'](_0x139ead);}(_0x40b37f,_0x3e8c89['content']),!_0x3a4492)return;const {selection:_0x539627}=_0x3fe262['document'],_0x426f33=_0x539627['getFirstRange']()['root'];_0x27d7fe&&!_0x5118b6||(_0x27d7fe=function(_0x2e8dfe,_0x5566ba){for(const {item:_0x577401}of _0x2e8dfe['createRangeIn'](_0x5566ba))if(_0x577401['is']('element','footnotesDefinitions'))return _0x577401;return null;}(_0x40b37f,_0x3e8c89['content']),_0x27d7fe||=_0x378888['_insertEmptyFootnotesDefinitionsContainer'](_0x40b37f,_0x426f33));const _0x2fd246=Array['from'](_0x539627['getRanges']())['flatMap'](f),_0x16a466=function(_0x5ee6e4,_0x3aa545,_0x1ff7c1){const _0x813dd1=Object['create'](null);for(const {item:_0x4e2098}of _0x5ee6e4['createRangeIn'](_0x3aa545))if(_0x4e2098['is']('element','footnoteRef')){const _0x3238fb=_0x4e2098['getAttribute']('footnoteId');if(!_0x1ff7c1(_0x3238fb))continue;_0x813dd1[_0x3238fb]||(_0x813dd1[_0x3238fb]=_0x20b358()),_0x5ee6e4['setAttribute']('footnoteId',_0x813dd1[_0x3238fb],_0x4e2098);}return _0x813dd1;}(_0x40b37f,_0x3e8c89['content'],_0x4c845d=>{if(!_0x873def)return!0x0;return!!_0x378888['getFootnote'](_0x4c845d)&&!_0x2fd246['includes'](_0x4c845d);});for(const [_0x29ae79,_0x447763]of Object['entries'](_0x3a4492)){const _0x7a86d6=_0x16a466[_0x29ae79]||_0x29ae79,_0x15a26f=_0x40b37f['createElement']('footnoteDefinition',{'footnoteId':_0x7a86d6}),_0x337c1d=_0xfbb27f['data']['htmlProcessor']['toView'](_0x447763),_0x4b1c0b=_0xfbb27f['data']['toModel'](_0x337c1d,_0x15a26f);_0x40b37f['append'](_0x4b1c0b,_0x15a26f),_0x40b37f['insert'](_0x15a26f,_0x27d7fe,'end');}_0x3a4492=null;});});}}function f(_0x5c0a13){const _0x12bed0=new Set();for(const {item:_0x54076a}of _0x5c0a13)_0x54076a['is']('element','footnoteRef')&&_0x12bed0['add'](_0x54076a['getAttribute']('footnoteId'));return Array['from'](_0x12bed0);}class i extends _0x3c0d71{['licenseKey'];['_licenseKeyCheckInterval'];static get['pluginName'](){return'FootnotesUI';}static get['isOfficialPlugin'](){return!0x0;}static get['isPremiumPlugin'](){return!0x0;}['init'](){const {editor:_0x56b88e}=this,{componentFactory:_0x5b2acb}=_0x56b88e['ui'];_0x5b2acb['add']('insertFootnote',x(_0x56b88e,_0x3d77de)),_0x5b2acb['add']('menuBar:insertFootnote',x(_0x56b88e,_0x86620c)),this['licenseKey']=this['editor']['config']['get']('licenseKey');const _0x11ded4=this['editor'];this['_licenseKeyCheckInterval']=setInterval(()=>{let _0x47734d;for(const _0x1f7fbb in _0x11ded4){const _0x5bc9cd=_0x1f7fbb,_0x11e93a=_0x11ded4[_0x5bc9cd];if('footnotesLicenseKeyValid'==_0x11e93a||'footnotesLicenseKeyInvalid'==_0x11e93a||'footnotesLicenseKeyExpired'==_0x11e93a||'footnotesLicenseKeyDomainLimit'==_0x11e93a||'footnotesLicenseKeyNotAllowed'==_0x11e93a||'footnotesLicenseKeyEvaluationLimit'==_0x11e93a||'footnotesLicenseKeyTrialLimit'==_0x11e93a||'footnotesLicenseKeyUsageLimit'==_0x11e93a){delete _0x11ded4[_0x5bc9cd],_0x47734d=_0x11e93a,clearInterval(this['_licenseKeyCheckInterval']),this['_licenseKeyCheckInterval']=void 0x0;break;}}'footnotesLicenseKeyInvalid'==_0x47734d&&_0x11ded4['_showLicenseError']('invalid'),'footnotesLicenseKeyExpired'==_0x47734d&&_0x11ded4['_showLicenseError']('expired'),'footnotesLicenseKeyDomainLimit'==_0x47734d&&_0x11ded4['_showLicenseError']('domainLimit'),'footnotesLicenseKeyNotAllowed'==_0x47734d&&_0x11ded4['_showLicenseError']('featureNotAllowed','Footnotes'),'footnotesLicenseKeyEvaluationLimit'==_0x47734d&&_0x11ded4['_showLicenseError']('evaluationLimit'),'footnotesLicenseKeyTrialLimit'==_0x47734d&&_0x11ded4['_showLicenseError']('trialLimit'),'footnotesLicenseKeyUsageLimit'==_0x47734d&&_0x11ded4['_showLicenseError']('usageLimit');},0x3e8);}['destroy'](){super['destroy'](),this['_licenseKeyCheckInterval']&&clearInterval(this['_licenseKeyCheckInterval']);}}function x(_0xcae362,_0xf41e31){const _0xead800=_0xcae362['commands']['get']('insertFootnote');return _0xffdb10=>{const {t:t}=_0xffdb10,_0x128b72=new _0xf41e31(_0xffdb10),_0x250460=_0x128b72 instanceof _0x86620c;return _0x128b72['bind']('isEnabled')['to'](_0xead800,'isEnabled'),_0x128b72['set']({'label':t(_0x250460?'Footnote':'Insert\x20footnote'),'icon':_0x183d10,'tooltip':!0x0}),_0x128b72['on']('execute',()=>{_0xead800['execute'](),_0xcae362['editing']['view']['focus']();}),_0x128b72;};}class lt extends _0x3c0d71{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 _0x25ead8{['refresh'](){const {editor:_0x128a57}=this,_0x507a9b=_0x128a57['plugins']['get'](c)['getFootnotesDefinitionsObjectElement']();this['isEnabled']=!!_0x507a9b,this['value']=_0x507a9b?.['getAttribute']('footnotesListStyle')??null;}['execute']({value:_0x19497e}){const {editor:_0x5a3581}=this,_0x49aa27=_0x5a3581['plugins']['get'](c),_0x5d8fc2=_0x49aa27['getFootnotesDefinitionsObjectElement']();_0x5d8fc2&&Q['includes'](_0x19497e)&&_0x5a3581['model']['change'](_0x4c522d=>{_0x4c522d['setAttribute']('footnotesListStyle',_0x19497e,_0x5d8fc2),_0x49aa27['_updateFootnotesCounters'](_0x4c522d);});}}class C extends _0x25ead8{['refresh'](){const {editor:_0x5d9282}=this,_0x2d336a=_0x5d9282['plugins']['get'](c)['getFootnotesDefinitionsObjectElement']();this['isEnabled']=!!_0x2d336a,this['value']=_0x2d336a?.['getAttribute']('footnotesListStart')??null;}['execute']({value:_0x5f2830}){const {editor:_0x41ab50}=this,_0x5e99a6=_0x41ab50['plugins']['get'](c),_0x196631=_0x5e99a6['getFootnotesDefinitionsObjectElement']();_0x196631&&Number['isInteger'](_0x5f2830)&&_0x41ab50['model']['change'](_0x46eb93=>{_0x46eb93['setAttribute']('footnotesListStart',_0x5f2830,_0x196631),_0x5e99a6['_updateFootnotesCounters'](_0x46eb93);});}}class P extends _0x3c0d71{static get['pluginName'](){return'FootnotesPropertiesEditing';}static get['requires'](){return[r,c];}static get['isOfficialPlugin'](){return!0x0;}static get['isPremiumPlugin'](){return!0x0;}['init'](){const {editor:_0x5e03fa}=this;_0x5e03fa['config']['define']('footnotes.footnotesProperties.defaultListStyle','decimal'),_0x5e03fa['config']['define']('footnotes.footnotesProperties.defaultStartIndex',0x1),_0x5e03fa['commands']['add']('footnotesStyle',new S(_0x5e03fa)),_0x5e03fa['commands']['add']('footnotesStart',new C(_0x5e03fa)),this['_defineSchema'](),this['_defineConverters'](),this['_defineFormatter'](),this['_definePostfixer']();}['_defineSchema'](){const {editor:_0xea331e}=this,{schema:_0x1ed238}=_0xea331e['model'];_0x1ed238['extend']('footnotesDefinitions',{'allowAttributes':['footnotesListStyle','footnotesListStart']});}['_defineConverters'](){const {editor:_0x819b50}=this,{conversion:_0xacc5e7,model:_0x55360f}=_0x819b50,{schema:_0x5a4372}=_0x55360f;_0xacc5e7['for']('upcast')['add'](_0x1e1f26=>{_0x1e1f26['on']('element:ol',(_0x1eb52a,_0x179bab,_0x32312c)=>{const _0x576dde=_0x179bab['viewItem'],_0x3bf1a8=_0x179bab['modelCursor']?.['parent'];_0x576dde['hasClass']('footnotes-list')&&_0x3bf1a8?.['is']('element','footnotesDefinitions')&&(function(_0x40d594,_0x3b4c94,_0x3c7447,_0x185a09){if(!_0x185a09['checkAttribute'](_0x3b4c94,'footnotesListStart'))return;let _0x2a9e3b=0x1;const _0x5df8eb=_0x3c7447['consumable']['consume'](_0x40d594,{'attributes':'start'});if(_0x5df8eb){const _0x2fbb23=Number['parseInt'](_0x40d594['getAttribute']('start'),0xa);Number['isNaN'](_0x2fbb23)||(_0x2a9e3b=_0x2fbb23);}!_0x5df8eb&&_0x3b4c94['hasAttribute']('footnotesListStart')||_0x3c7447['writer']['setAttribute']('footnotesListStart',_0x2a9e3b,_0x3b4c94);}(_0x576dde,_0x3bf1a8,_0x32312c,_0x5a4372),function(_0x5cd062,_0x50601e,_0x49e561,_0x28982e){if(!_0x28982e['checkAttribute'](_0x50601e,'footnotesListStyle'))return;let _0x2c100b='decimal',_0xb4359f=!0x1;if(_0x49e561['consumable']['consume'](_0x5cd062,{'attributes':'type'})){const _0x11b936={0x1:'decimal','a':'lower-alpha','A':'upper-alpha','i':'lower-roman','I':'upper-roman'}[_0x5cd062['getAttribute']('type')];_0x11b936&&(_0x2c100b=_0x11b936),_0xb4359f=!0x0;}_0x49e561['consumable']['consume'](_0x5cd062,{'styles':'list-style-type'})&&(_0x2c100b=_0x5cd062['getStyle']('list-style-type'),_0xb4359f=!0x0),!_0xb4359f&&_0x50601e['hasAttribute']('footnotesListStyle')||_0x49e561['writer']['setAttribute']('footnotesListStyle',_0x2c100b,_0x50601e);}(_0x576dde,_0x3bf1a8,_0x32312c,_0x5a4372));});}),_0xacc5e7['for']('downcast')['add'](_0x1c4627=>{_0x1c4627['on']('attribute:footnotesListStart:footnotesDefinitions',(_0x5a472d,_0x37ec8a,_0x4648d5)=>{if(!_0x4648d5['consumable']['consume'](_0x37ec8a['item'],_0x5a472d['name']))return;const _0x2ca412=M(_0x37ec8a['item'],_0x4648d5['mapper']),{attributeNewValue:_0x1816c8}=_0x37ec8a;null==_0x1816c8||0x1===_0x1816c8?_0x4648d5['writer']['removeAttribute']('start',_0x2ca412):_0x4648d5['writer']['setAttribute']('start',String(_0x1816c8),_0x2ca412);}),_0x1c4627['on']('attribute:footnotesListStyle:footnotesDefinitions',(_0x51a322,_0x4718de,_0x4bb958)=>{if(!_0x4bb958['consumable']['consume'](_0x4718de['item'],_0x51a322['name']))return;const _0x25c1b0=M(_0x4718de['item'],_0x4bb958['mapper']),{attributeNewValue:_0x5bc0f6}=_0x4718de;_0x5bc0f6&&'decimal'!==_0x5bc0f6?_0x4bb958['writer']['setStyle']('list-style-type',_0x5bc0f6,_0x25c1b0):_0x4bb958['writer']['removeStyle']('list-style-type',_0x25c1b0);});});}['_definePostfixer'](){const {editor:_0x758397}=this,{model:_0x43bd96}=_0x758397,_0x5e23f6=_0x758397['plugins']['get'](c),_0x69d83a=this['_getDefaultListStyle'](),_0x3d50dd=this['_getDefaultStartIndex']();_0x43bd96['document']['registerPostFixer'](_0x27a0d0=>{const _0x2877e8=_0x43bd96['document']['differ']['getChanges']();let _0x4d4ff9=!0x1;for(const _0x593f53 of _0x2877e8){if('insert'!==_0x593f53['type']||'$text'===_0x593f53['name'])continue;const _0x283262=_0x43bd96['createRangeOn'](_0x593f53['position']['nodeAfter']);for(const _0x104231 of _0x283262['getItems']())_0x104231['is']('element','footnotesDefinitions')&&(!_0x104231['hasAttribute']('footnotesListStart')&&_0x43bd96['schema']['checkAttribute'](_0x104231,'footnotesListStart')&&(_0x27a0d0['setAttribute']('footnotesListStart',_0x3d50dd,_0x104231),_0x4d4ff9=!0x0),!_0x104231['hasAttribute']('footnotesListStyle')&&_0x43bd96['schema']['checkAttribute'](_0x104231,'footnotesListStyle')&&(_0x27a0d0['setAttribute']('footnotesListStyle',_0x69d83a,_0x104231),_0x4d4ff9=!0x0));}return _0x4d4ff9&&_0x5e23f6['_updateFootnotesCounters'](_0x27a0d0),_0x4d4ff9;});}['_defineFormatter'](){const {editor:_0x4e98be}=this;_0x4e98be['plugins']['get'](c)['setFootnoteFormatter'](_0x1904f2=>this['_formatFootnoteListValue'](_0x1904f2));}['_getDefaultListStyle'](){return this['editor']['config']['get']('footnotes.footnotesProperties.defaultListStyle');}['_getDefaultStartIndex'](){return this['editor']['config']['get']('footnotes.footnotesProperties.defaultStartIndex');}['_formatFootnoteListValue']({container:_0x3b76c0,value:_0x5b1ae5,digits:_0x293298}){const _0x5c6a56=_0x3b76c0['getAttribute']('footnotesListStyle'),_0x3dbd99=_0x3b76c0['getAttribute']('footnotesListStart'),_0x455360=Math['floor'](_0x5b1ae5)+(_0x3dbd99??0x1)-0x1;switch(_0x5c6a56){case'decimal-leading-zero':return function(_0x1ef9d6,_0x2b2dd5){return String(_0x1ef9d6)['padStart'](_0x2b2dd5,'0');}(_0x455360,Math['max'](0x2,_0x293298));case'lower-alpha':case'lower-latin':return N(_0x455360,!0x1);case'upper-alpha':case'upper-latin':return N(_0x455360,!0x0);case'lower-roman':return X(_0x455360,!0x1);case'upper-roman':return X(_0x455360,!0x0);default:return String(_0x455360);}}}function M(_0x4ef657,_0x152342){const _0x255fc5=_0x152342['toViewElement'](_0x4ef657);return Array['from'](_0x255fc5['getChildren']())['find'](_0x542ee7=>_0x542ee7['is']('element','ol')&&_0x542ee7['hasClass']('footnotes-list'));}function N(_0x5e92a7,_0x4b6bcb){let _0x10c5b1='',_0x328b4d=_0x5e92a7;for(;_0x328b4d>0x0;){const _0x184bde=(_0x328b4d-0x1)%0x1a;_0x10c5b1=String['fromCharCode'](0x61+_0x184bde)+_0x10c5b1,_0x328b4d=Math['floor']((_0x328b4d-0x1)/0x1a);}return _0x4b6bcb?_0x10c5b1['toUpperCase']():_0x10c5b1;}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(_0x185d52,_0xf147c3){let _0x6ba32b='',_0x4afd81=_0x185d52;for(const {value:_0x1a6293,numeral:_0x192b72}of V)for(;_0x4afd81>=_0x1a6293;)_0x6ba32b+=_0x192b72,_0x4afd81-=_0x1a6293;return _0xf147c3?_0x6ba32b:_0x6ba32b['toLowerCase']();}class H extends _0x4e0417{['children'];['stylesView']=null;['additionalProperties']=null;['startIndexFieldView']=null;['focusTracker']=new ot();['keystrokes']=new rt();['focusables']=new _0x194cae();['focusCycler'];constructor(_0x1a95b7,{styleButtonViews:_0x405a7a,styleGridAriaLabel:_0x2bdfef}){super(_0x1a95b7),(this['focusCycler']=new _0x333af1({'focusables':this['focusables'],'focusTracker':this['focusTracker'],'keystrokeHandler':this['keystrokes'],'actions':{'focusPrevious':'shift\x20+\x20tab','focusNext':'tab'}}),this['children']=this['createCollection'](),this['stylesView']=this['_appendStylesView'](_0x405a7a,_0x2bdfef),[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 _0x1ca338 of this['stylesView']['children'])this['stylesView']['focusTracker']['add'](_0x1ca338['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 _0x3ed0a1=_0x5d2b56=>_0x5d2b56['stopPropagation']();this['keystrokes']['set']('arrowright',_0x3ed0a1),this['keystrokes']['set']('arrowleft',_0x3ed0a1),this['keystrokes']['set']('arrowup',_0x3ed0a1),this['keystrokes']['set']('arrowdown',_0x3ed0a1);}this['keystrokes']['listenTo'](this['element']);}['focus'](){this['focusCycler']['focusFirst']();}['focusLast'](){this['focusCycler']['focusLast']();}['destroy'](){super['destroy'](),this['focusTracker']['destroy'](),this['keystrokes']['destroy']();}['_appendStylesView'](_0x4b3131,_0x3ca376){const _0x2d179e=new _0x4e0417(this['locale']);return _0x2d179e['children']=_0x2d179e['createCollection'](),_0x2d179e['children']['addMany'](_0x4b3131),_0x2d179e['setTemplate']({'tag':'div','attributes':{'aria-label':_0x3ca376,'class':['ck','ck-footnotes-definitions-styles-list']},'children':_0x2d179e['children']}),_0x2d179e['children']['delegate']('execute')['to'](this),_0x2d179e['focus']=function(){for(const _0x5cbdcd of this['children'])if(_0x5cbdcd instanceof _0x3d77de&&_0x5cbdcd['isOn'])return void _0x5cbdcd['focus']();this['children']['first']['focus']();},_0x2d179e['focusTracker']=new ot(),_0x2d179e['keystrokes']=new rt(),_0x2d179e['render'](),_0x2d179e['keystrokes']['listenTo'](_0x2d179e['element']),this['children']['add'](_0x2d179e),_0x2d179e;}['_appendAdditionalPropertiesCollapsibleView'](){const {t:t}=this['locale'],_0x93c1d=this['_createStartIndexPropertyView'](),_0x1f1745=[_0x93c1d],_0x140c43=new st(this['locale'],_0x1f1745);return _0x140c43['set']({'label':t('Footnotes\x20properties'),'isCollapsed':!0x0}),_0x140c43['buttonView']['bind']('isEnabled')['toMany'](_0x1f1745,'isEnabled',(..._0x513350)=>_0x513350['some'](_0x1adbff=>_0x1adbff)),_0x140c43['buttonView']['on']('change:isEnabled',(_0x2c3f04,_0x187a9f,_0x5539ca)=>{_0x5539ca||(_0x140c43['isCollapsed']=!0x0);}),this['children']['add'](_0x140c43),[_0x93c1d,_0x140c43];}['_createStartIndexPropertyView'](){const {t:t}=this['locale'],_0x54ead8=new it(this['locale'],et);return _0x54ead8['set']({'label':t('Footnotes\x20start\x20at'),'class':'ck-footnotes-definitions-properties__start-index'}),_0x54ead8['fieldView']['set']({'min':0x0,'max':Math['pow'](0x2,0x1e),'step':0x1,'value':0x1,'inputMode':'numeric'}),_0x54ead8['fieldView']['on']('input',()=>{const _0x5ef8f9=_0x54ead8['fieldView']['element'],_0x3b3586=_0x5ef8f9['valueAsNumber'];Number['isNaN'](_0x3b3586)?_0x54ead8['errorText']=t('Invalid\x20footnotes\x20start\x20index\x20value.'):_0x5ef8f9['checkValidity']()?this['fire']('footnotesListStart',{'startIndex':_0x3b3586}):_0x54ead8['errorText']=t(_0x3b3586<0x0?'Footnotes\x20start\x20index\x20must\x20be\x20greater\x20than\x200.':'Footnotes\x20start\x20index\x20is\x20too\x20large.');}),_0x54ead8;}}class j extends _0x3c0d71{static get['pluginName'](){return'FootnotesPropertiesUI';}static get['requires'](){return[_0x503f80,_0x166e8e];}static get['isOfficialPlugin'](){return!0x0;}static get['isPremiumPlugin'](){return!0x0;}['init'](){const {editor:_0x419f1d}=this,{componentFactory:_0x5284cd}=_0x419f1d['ui'];_0x419f1d['config']['define']('footnotes.footnotesProperties.toolbar',['footnotesStyle']),_0x5284cd['add']('footnotesStyle',function(_0x5621dd){return _0x29c11d=>{const {t:t}=_0x29c11d,_0x4ac8da=_0x5621dd['commands']['get']('footnotesStyle'),_0xef3e1b=_0x1d91f8(_0x29c11d),{buttonView:_0x477216}=_0xef3e1b;return _0xef3e1b['class']='ck-footnotes-styles-dropdown',_0xef3e1b['bind']('isEnabled')['to'](_0x4ac8da,'isEnabled'),_0x477216['set']({'label':t('Footnotes\x20style'),'icon':_0x183d10,'tooltip':!0x0}),_0xef3e1b['once']('change:isOpen',()=>{const _0x539856=function({editor:_0xb23c7b,dropdownView:_0x240cf1}){const {t:t}=_0xb23c7b['locale'],_0x32e335=t('Footnotes\x20definitions\x20styles'),_0x1807f7=function(_0xd68405){const t=_0xd68405['locale']['t'],_0xc66fac=[{'label':t('Toggle\x20the\x20decimal\x20footnotes\x20style'),'tooltip':t('Decimal\x20footnotes'),'style':'decimal','icon':_0x351165},{'label':t('Toggle\x20the\x20decimal\x20with\x20leading\x20zero\x20footnotes\x20style'),'tooltip':t('Decimal\x20footnotes\x20with\x20leading\x20zero'),'style':'decimal-leading-zero','icon':_0x45f5c3},{'label':t('Toggle\x20the\x20lower–roman\x20footnotes\x20style'),'tooltip':t('Lower–roman\x20footnotes'),'style':'lower-roman','icon':_0x2f8963},{'label':t('Toggle\x20the\x20upper–roman\x20footnotes\x20style'),'tooltip':t('Upper-roman\x20footnotes'),'style':'upper-roman','icon':_0x5c83a6},{'label':t('Toggle\x20the\x20lower–latin\x20footnotes\x20style'),'tooltip':t('Lower-latin\x20footnotes'),'style':'lower-latin','icon':_0x57c65c},{'label':t('Toggle\x20the\x20upper–latin\x20footnotes\x20style'),'tooltip':t('Upper-latin\x20footnotes'),'style':'upper-latin','icon':_0x37aad6}];return _0xc66fac['map'](function(_0x53e18d){const _0x1b453d=_0x53e18d['locale'];return({label:_0x5b2ef4,icon:_0x27bb18,tooltip:_0x52d67a,style:_0x4b8ef5})=>{const _0x350c52=_0x53e18d['commands']['get']('footnotesStyle'),_0x601676=new _0x3d77de(_0x1b453d);return _0x601676['set']({'label':_0x5b2ef4,'icon':_0x27bb18,'tooltip':_0x52d67a}),_0x601676['bind']('isOn')['to'](_0x350c52,'value',_0x465f29=>_0x465f29===_0x4b8ef5),_0x601676['bind']('isEnabled')['to'](_0x350c52,'isEnabled'),_0x601676['on']('execute',()=>{_0x53e18d['execute']('footnotesStyle',{'value':_0x4b8ef5}),_0x53e18d['editing']['view']['focus']();}),_0x601676;};}(_0xd68405));}(_0xb23c7b),_0x3268e5=new H(_0xb23c7b['locale'],{'styleGridAriaLabel':_0x32e335,'styleButtonViews':_0x1807f7});return _0x3268e5['delegate']('execute')['to'](_0x240cf1),_0x3268e5['on']('footnotesListStart',(_0x2a3a2e,_0x47c400)=>{_0xb23c7b['execute']('footnotesStart',{'value':_0x47c400['startIndex']});}),_0x3268e5;}({'editor':_0x5621dd,'dropdownView':_0xef3e1b});_0xef3e1b['panelView']['children']['add'](_0x539856);}),_0xef3e1b;};}(_0x419f1d));}['afterInit'](){const {editor:_0x416ac4}=this,{t:t}=_0x416ac4['locale'],_0x2293dc=_0x416ac4['plugins']['get'](_0x166e8e),{defaultPositions:_0x549153}=_0x4b756c;_0x2293dc['register']('footnotesDefinitions',{'ariaLabel':t('Footnotes\x20definitions\x20toolbar'),'items':_0x416ac4['config']['get']('footnotes.footnotesProperties.toolbar'),'balloonClassName':'ck-footnotes-style-balloon\x20ck-toolbar-container','getRelatedElement':_0x4beeb1=>{let _0x28040c=_0x4beeb1['getFirstPosition']()?.['parent'];return _0x28040c?.['is']('$text')&&(_0x28040c=_0x28040c['parent']),_0x28040c?.['is']('element')?_0x28040c['findAncestor'](J):null;},'positions':[_0x549153['southArrowNorth'],_0x549153['southArrowNorthMiddleWest'],_0x549153['southArrowNorthMiddleEast'],_0x549153['southArrowNorthWest'],_0x549153['southArrowNorthEast'],_0x549153['northArrowSouth'],_0x549153['northArrowSouthMiddleWest'],_0x549153['northArrowSouthMiddleEast'],_0x549153['northArrowSouthWest'],_0x549153['northArrowSouthEast'],_0x549153['viewportStickyNorth']]});}}class ft extends _0x3c0d71{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 _0x10c62d,Command as _0x4e351b}from'@ckeditor/ckeditor5-core/dist/index.js';import{toWidget as _0xb141fc,isWidget as _0x566b06,toWidgetEditable as _0x338e6b,WidgetToolbarRepository as _0x10637b}from'@ckeditor/ckeditor5-widget/dist/index.js';import{uid as _0x423eb2,logWarning as _0x224a8f,FocusTracker as ot,KeystrokeHandler as rt,global as nt}from'@ckeditor/ckeditor5-utils/dist/index.js';import{PointerObserver as _0x3c5240,ClickObserver as _0xad49c1}from'@ckeditor/ckeditor5-engine/dist/index.js';import{ClipboardPipeline as _0x498484}from'@ckeditor/ckeditor5-clipboard/dist/index.js';import{MenuBarMenuListItemButtonView as _0x386625,ButtonView as _0x3a1411,View as _0x3ce7d9,ViewCollection as _0x12295b,FocusCycler as _0x2fdb71,addKeyboardHandlingForGrid as tt,CollapsibleView as st,LabeledFieldView as it,createLabeledInputNumber as et,ContextualBalloon as _0x2a8da0,BalloonPanelView as _0x49ba2f,createDropdown as _0x50413e}from'@ckeditor/ckeditor5-ui/dist/index.js';import{IconFootnote as _0x435eda,IconListStyleDecimal as _0x521184,IconListStyleDecimalLeadingZero as _0x9fa031,IconListStyleLowerRoman as _0x305c0c,IconListStyleUpperRoman as _0x24576c,IconListStyleLowerLatin as _0x24f8d8,IconListStyleUpperLatin as _0x4ec5ab}from'@ckeditor/ckeditor5-icons/dist/index.js';class F{['_model'];['_elementName'];['_getElementKey'];['_trackedElements']=new Map();constructor(_0x4f0db1,_0xc34db2){this['_model']=_0x4f0db1,this['_elementName']=_0xc34db2['elementName'],this['_getElementKey']=_0xc34db2['getElementKey'];}['reset'](){this['_trackedElements']['clear']();}['getChanges'](_0x135f0b){const _0x5a46ee=new Set(),_0x47365e=new Map();for(const _0x2b5935 of _0x135f0b){if('insert'===_0x2b5935['type']&&'$text'!==_0x2b5935['name']&&_0x2b5935['position']['nodeAfter']){const _0x3983c2=this['_model']['createRangeOn'](_0x2b5935['position']['nodeAfter']);for(const _0x249c73 of _0x3983c2['getItems']()){if(!_0x249c73['is']('element',this['_elementName']))continue;const _0xb81f1f=this['_getElementKey'](_0x249c73);_0x47365e['has'](_0xb81f1f)||_0x47365e['set'](_0xb81f1f,[]),_0x47365e['get'](_0xb81f1f)['push'](_0x249c73);}}if('remove'===_0x2b5935['type']&&_0x2b5935['name']===this['_elementName']){const _0x2f388f=this['_getElementKey']({'getAttribute':_0x382a83=>_0x2b5935['attributes']['get'](_0x382a83)});_0x5a46ee['add'](_0x2f388f);}}for(const [_0x218774,_0x5e53e6]of this['_trackedElements'])'$graveyard'===_0x5e53e6['root']['rootName']&&_0x5a46ee['add'](_0x218774);for(const _0x5b1e35 of _0x5a46ee)this['_trackedElements']['delete'](_0x5b1e35);for(const [_0x1dbaf1,_0x59d030]of _0x47365e)this['_trackedElements']['set'](_0x1dbaf1,_0x59d030[_0x59d030['length']-0x1]);const _0x54a64c=new Set();for(const [_0x276a74,_0x4ca98e]of _0x47365e)_0x5a46ee['has'](_0x276a74)&&(_0x54a64c['add'](_0x4ca98e[0x0]),_0x4ca98e['length']>0x1?_0x47365e['set'](_0x276a74,_0x4ca98e['slice'](0x1)):_0x47365e['delete'](_0x276a74),_0x5a46ee['delete'](_0x276a74));return{'removed':Array['from'](_0x5a46ee),'inserted':Array['from'](_0x47365e['values']())['flat'](),'moved':Array['from'](_0x54a64c)};}}class c extends _0x10c62d{['_footnotes']=[];['_footnotesDefinitions']=null;['_footnoteFormatter']=null;['_footnoteDefsContainerTracker'];['_footnoteRefsTracker'];['_footnoteDefsTracker'];static get['pluginName'](){return'FootnotesTracker';}static get['isOfficialPlugin'](){return!0x0;}static get['isPremiumPlugin'](){return!0x0;}constructor(_0x4b3872){super(_0x4b3872),this['_footnoteDefsContainerTracker']=new F(this['editor']['model'],{'elementName':'footnotesDefinitions','getElementKey':()=>'singleton'}),this['_footnoteRefsTracker']=new F(this['editor']['model'],{'elementName':'footnoteRef','getElementKey':_0x4ed334=>_0x4ed334['getAttribute']('footnoteId')}),this['_footnoteDefsTracker']=new F(this['editor']['model'],{'elementName':'footnoteDefinition','getElementKey':_0x1d60cb=>_0x1d60cb['getAttribute']('footnoteId')});}['init'](){const {editor:_0x3408bf}=this,{model:_0x27f6f5,data:_0x2f2c3a}=_0x3408bf;_0x27f6f5['document']['registerPostFixer'](_0x490a86=>{const _0x3d1a12=_0x27f6f5['document']['differ']['getChanges']();let _0x1abe41=!0x1;return this['_handleFootnotesDefinitionsObjectChanges'](_0x490a86,_0x3d1a12)&&(_0x1abe41=!0x0),this['_handleFootnoteDefinitionsChanges'](_0x490a86,_0x3d1a12)&&(_0x1abe41=!0x0),this['_handleFootnoteReferencesChanges'](_0x490a86,_0x3d1a12)&&(_0x1abe41=!0x0),this['_ensureFootnotesReferencesHaveProperOrder'](_0x490a86)&&(_0x1abe41=!0x0),this['_handleFootnotesDefinitionsObjectSync'](_0x490a86)&&(_0x1abe41=!0x0),this['_sortFootnoteDefinitions'](_0x490a86)&&(_0x1abe41=!0x0),_0x1abe41;}),this['listenTo'](_0x27f6f5['document'],'change:data',()=>{_0x27f6f5['enqueueChange']({'isUndoable':!0x1},_0x257ba3=>{this['_ensureFootnotesDefinitionsContainerExists'](_0x257ba3);});},{'priority':'low'}),this['listenTo'](_0x2f2c3a,'set',()=>{this['_footnotes']=[],this['_footnoteDefsContainerTracker']['reset'](),this['_footnoteRefsTracker']['reset'](),this['_footnoteDefsTracker']['reset']();},{'priority':'high'});}['getFootnotesDefinitionsObjectElement'](){return this['_footnotesDefinitions'];}['getFootnote'](_0x4fa566){return this['_footnotes']['find'](_0x139028=>_0x139028['id']===_0x4fa566)||null;}['getFootnotes'](){return Array['from'](this['_footnotes']);}['getFootnotesFormatter'](){return this['_footnoteFormatter'];}['setFootnoteFormatter'](_0x3522f4){this['_footnoteFormatter']=_0x3522f4;}['_updateFootnotesCounters'](_0x3257fb,_0x594dfe=0x0){let _0x29e572=!0x1;for(let _0xe997f5=_0x594dfe;_0xe997f5<this['_footnotes']['length'];_0xe997f5++)this['_updateFootnoteRefCounter'](_0x3257fb,_0xe997f5)&&(_0x29e572=!0x0);return _0x29e572;}['_insertEmptyFootnotesDefinitionsContainer'](_0x5a77b9,_0x423a5b){const _0x10f4a5=_0x5a77b9['createElement']('footnotesDefinitions',{});return _0x5a77b9['append'](_0x10f4a5,_0x423a5b),this['_footnotesDefinitions']=_0x10f4a5,_0x10f4a5;}['_ensureFootnotesDefinitionsContainerExists'](_0x3f9341){if(!this['_footnotes']['length']||this['_footnotesDefinitions'])return;const _0x2a7c29=this['_footnotes'][0x0]['reference']['root'],_0x683e15=this['_insertEmptyFootnotesDefinitionsContainer'](_0x3f9341,_0x2a7c29);for(const _0x54d257 of this['_footnotes'])_0x54d257['definition']['parent']||_0x3f9341['insert'](_0x54d257['definition'],_0x683e15,'end');this['_updateFootnotesCounters'](_0x3f9341);}['_handleFootnotesDefinitionsObjectChanges'](_0x150c8b,_0x34f36c){let _0x3f0b32=!0x1;const {inserted:_0x231750,removed:_0x2152cc,moved:_0x165392}=this['_footnoteDefsContainerTracker']['getChanges'](_0x34f36c);if(_0x165392['length']&&(this['_footnotesDefinitions']=_0x165392[0x0]),_0x231750['length']){if(_0x231750['length']>0x1||this['_footnotesDefinitions']&&_0x231750['some'](_0x3ac659=>_0x3ac659!==this['_footnotesDefinitions'])){const _0x69883e=_0x150c8b['createElement']('footnotesDefinitions',{}),_0x3940a3=[];this['_footnotesDefinitions']&&_0x3940a3['push'](this['_footnotesDefinitions']),_0x3940a3['push'](..._0x231750),_0x150c8b['insert'](_0x69883e,_0x3940a3[0x0],'before');for(const _0x4e8f23 of _0x3940a3)_0x150c8b['move'](_0x150c8b['createRangeIn'](_0x4e8f23),_0x150c8b['createPositionAt'](_0x69883e,'end')),_0x150c8b['remove'](_0x4e8f23);this['_footnotesDefinitions']=_0x69883e,this['_updateFootnotesCounters'](_0x150c8b),_0x3f0b32=!0x0;}else this['_footnotesDefinitions']=_0x231750[0x0];}if(_0x2152cc['length']&&'$graveyard'===this['_footnotesDefinitions']?.['root']['rootName']){for(const _0x4f7269 of this['_footnotes'])_0x150c8b['remove'](_0x4f7269['reference']),_0x3f0b32=!0x0;this['_footnotes']=[],this['_footnotesDefinitions']=null;}return _0x3f0b32;}['_handleFootnoteDefinitionsChanges'](_0x2f568d,_0x1673f7){let _0x11bdb8=!0x1;const _0x1ccc2e=this['editor']['config']['get']('footnotes.multiBlock'),{inserted:_0x3ba172,moved:_0x24be4c}=this['_footnoteDefsTracker']['getChanges'](_0x1673f7);for(const _0x1a0a86 of[..._0x24be4c,..._0x3ba172]){const _0x1c9d5b=_0x1a0a86['getAttribute']('footnoteId'),_0x56d53a=this['getFootnote'](_0x1c9d5b);_0x56d53a&&(_0x56d53a['definition']=_0x1a0a86),_(_0x2f568d,_0x1ccc2e,_0x1a0a86)&&(_0x11bdb8=!0x0);}return _0x11bdb8;}['_handleFootnoteReferencesChanges'](_0x1af241,_0x4708fd){let _0x5cd720=!0x1;const {removed:_0x4d18c6,inserted:_0x517c4e,moved:_0x1913f3}=this['_footnoteRefsTracker']['getChanges'](_0x4708fd);for(const _0x39e16f of _0x4d18c6)this['_handleRemoveFootnoteReferenceById'](_0x1af241,_0x39e16f)&&(_0x5cd720=!0x0);for(const _0x20ae9f of _0x517c4e)this['_handleInsertedFootnoteReference'](_0x1af241,_0x20ae9f)&&(_0x5cd720=!0x0);for(const _0xa23a91 of _0x1913f3)this['_handleMovedFootnoteReference'](_0x1af241,_0xa23a91)&&(_0x5cd720=!0x0);return _0x5cd720;}['_handleFootnotesDefinitionsObjectSync'](_0x4e3646){if(!this['_footnotesDefinitions'])return!0x1;let _0x4f424f=!0x1;if(this['_footnotesDefinitions']['childCount']!==this['_footnotes']['length']){const _0x29db00=[];for(const _0x760680 of this['_footnotesDefinitions']['getChildren']()){const _0x93c667=_0x760680['getAttribute']('footnoteId');this['getFootnote'](_0x93c667)||(_0x29db00['unshift'](_0x760680),_0x4f424f=!0x0);}for(const _0x387f24 of _0x29db00)_0x4e3646['remove'](_0x387f24);}const _0x198009=new Set(),_0x4bfe7f=[];for(const _0x51057f of this['_footnotesDefinitions']['getChildren']()){const _0x332e9b=_0x51057f['getAttribute']('footnoteId');_0x198009['has'](_0x332e9b)?(_0x4bfe7f['unshift'](_0x51057f),_0x4f424f=!0x0):_0x198009['add'](_0x332e9b);}for(const _0x397a2a of _0x4bfe7f)_0x4e3646['remove'](_0x397a2a);return this['_footnotesDefinitions']['childCount']||(_0x4e3646['remove'](this['_footnotesDefinitions']),this['_footnotesDefinitions']=null,_0x4f424f=!0x0),_0x4f424f;}['_handleInsertedFootnoteReference'](_0x37b5fb,_0x4b8217){if(this['_footnotes']['find'](_0x312fbb=>_0x312fbb['reference']===_0x4b8217))return!0x1;let _0x1532a2=!0x1;const _0x3ae664=_0x4b8217['getAttribute']('footnoteId'),_0x426587=this['_footnotes']['findIndex'](_0x4f18f1=>_0x4f18f1['id']===_0x3ae664);-0x1!==_0x426587&&(_0x37b5fb['remove'](this['_footnotes'][_0x426587]['reference']),this['_footnotes']['splice'](_0x426587,0x1),_0x1532a2=!0x0);let _0x2c6722=this['_footnotesDefinitions']?function(_0x33fcd0,_0x371f0e){for(const _0x3ba168 of _0x33fcd0['getChildren']())if(_0x3ba168['getAttribute']('footnoteId')===_0x371f0e)return _0x3ba168;return null;}(this['_footnotesDefinitions'],_0x3ae664):null;_0x2c6722||(_0x2c6722=_0x37b5fb['createElement']('footnoteDefinition',{'footnoteId':_0x3ae664}),this['_footnotesDefinitions']&&(_0x37b5fb['insert'](_0x2c6722,this['_footnotesDefinitions'],'end'),_0x1532a2=!0x0));const _0x492cc8={'id':_0x3ae664,'reference':_0x4b8217,'definition':_0x2c6722},_0x379d34=I(this['editor']['model'],this['_footnotes'],_0x4b8217);this['_footnotes']['splice'](_0x379d34,0x0,_0x492cc8);let _0x2c04a0=_0x379d34;return-0x1!==_0x426587&&(_0x2c04a0=Math['min'](_0x379d34,_0x426587)),this['_updateFootnotesCounters'](_0x37b5fb,_0x2c04a0)&&(_0x1532a2=!0x0),_0x1532a2;}['_handleRemoveFootnoteReferenceById'](_0x26513d,_0x539579){const _0x582f5=this['_footnotes']['findIndex'](_0x14090b=>_0x14090b['id']===_0x539579);if(-0x1===_0x582f5)return!0x1;let _0x2b03be=!0x1;const _0x5826da=this['_footnotes'][_0x582f5];return'$graveyard'!==_0x5826da['definition']['root']['rootName']&&(_0x26513d['remove'](_0x5826da['definition']),_0x2b03be=!0x0),this['_footnotes']['splice'](_0x582f5,0x1),this['_updateFootnotesCounters'](_0x26513d,_0x582f5)&&(_0x2b03be=!0x0),_0x2b03be;}['_handleMovedFootnoteReference'](_0x3fd488,_0xd3c929){const _0x24539b=_0xd3c929['getAttribute']('footnoteId'),_0x4127e1=this['_footnotes']['findIndex'](_0x5ec69a=>_0x5ec69a['id']===_0x24539b),_0x5d39ce=this['_footnotes'][_0x4127e1];let _0x29d126=!0x1;_0x5d39ce['reference']=_0xd3c929,this['_footnotes']['splice'](_0x4127e1,0x1);const _0x17c5a4=I(this['editor']['model'],this['_footnotes'],_0xd3c929);return this['_footnotes']['splice'](_0x17c5a4,0x0,_0x5d39ce),this['_updateFootnotesCounters'](_0x3fd488,Math['min'](_0x4127e1,_0x17c5a4))&&(_0x29d126=!0x0),_0x29d126;}['_updateFootnoteRefCounter'](_0x28cfde,_0xe35947){if(!this['_footnotesDefinitions'])return!0x1;const _0x558689=this['_footnotes'][_0xe35947];let _0xfe5075;return _0xfe5075=this['_footnoteFormatter']?this['_footnoteFormatter']({'footnote':_0x558689,'container':this['_footnotesDefinitions'],'digits':String(this['_footnotes']['length'])['length'],'value':_0xe35947+0x1}):String(_0xe35947+0x1),_0x558689['reference']['getAttribute']('footnoteCounter')!=_0xfe5075&&(_0x28cfde['setAttribute']('footnoteCounter',_0xfe5075,_0x558689['reference']),!0x0);}['_sortFootnoteDefinitions'](_0x356f50){if(!this['_footnotesDefinitions']||this['_footnotes']['length']<0x2)return!0x1;if(function(_0x5aa710,_0x921fde){if(_0x5aa710['length']!==_0x921fde['length'])return!0x1;for(let _0x11d5d1=0x0;_0x11d5d1<_0x5aa710['length'];_0x11d5d1++)if(_0x5aa710[_0x11d5d1]!==_0x921fde[_0x11d5d1])return!0x1;return!0x0;}(this['_footnotes']['map'](_0x3a747e=>_0x3a747e['id']),Array['from'](this['_footnotesDefinitions']['getChildren']())['map'](_0xfb88ae=>_0xfb88ae['getAttribute']('footnoteId'))))return!0x1;let _0x5fc7a1=!0x1;for(let _0x344aeb=0x0;_0x344aeb<this['_footnotes']['length'];_0x344aeb++){const _0x20c4ae=this['_footnotes'][_0x344aeb],_0x7a10cd=_0x356f50['createPositionBefore'](_0x20c4ae['definition']),_0x13e4e1=_0x356f50['createPositionAt'](this['_footnotesDefinitions'],_0x344aeb);_0x7a10cd['isEqual'](_0x13e4e1)||(_0x356f50['move'](_0x356f50['createRangeOn'](_0x20c4ae['definition']),_0x13e4e1),_0x5fc7a1=!0x0);}return _0x5fc7a1;}['_ensureFootnotesReferencesHaveProperOrder'](_0x4dafe8){if(!this['_footnotes']['length'])return!0x1;const {model:_0x264c72}=this['editor'];let _0x3b88ee=!0x1;for(let _0x59d242=0x0;_0x59d242<this['_footnotes']['length']-0x1;_0x59d242++){const _0x266a76=this['_footnotes'][_0x59d242],_0x45e5c2=this['_footnotes'][_0x59d242+0x1],_0x17339c=_0x264c72['createPositionBefore'](_0x266a76['reference']),_0x362f7e=_0x264c72['createPositionBefore'](_0x45e5c2['reference']);'after'===_0x17339c['compareWith'](_0x362f7e)&&(this['_handleMovedFootnoteReference'](_0x4dafe8,_0x266a76['reference']),_0x59d242=-0x1,_0x3b88ee=!0x0);}return _0x3b88ee;}}function _(_0x5ebe2c,_0x4d8f94,_0x1eeb01){if(_0x1eeb01['childCount'])return!0x1;const _0x82104=_0x4d8f94?'paragraph':'footnoteInlineContent';return _0x5ebe2c['insert'](_0x5ebe2c['createElement'](_0x82104),_0x1eeb01),!0x0;}function I(_0x2002ec,_0x178baf,_0x3106bd){if(0x0===_0x178baf['length'])return 0x0;const _0x5481ef=_0x2002ec['createPositionBefore'](_0x3106bd);for(let _0x2b86f7=0x0;_0x2b86f7<_0x178baf['length'];_0x2b86f7++){const _0x28bf8a=_0x178baf[_0x2b86f7],_0x34877f=_0x2002ec['createPositionBefore'](_0x28bf8a['reference']);if('before'===_0x5481ef['compareWith'](_0x34877f))return _0x2b86f7;}const _0x4c18e3=_0x3106bd['root'];let _0x4eff3f=-0x1;for(let _0x55e21c=_0x178baf['length']-0x1;_0x55e21c>=0x0;_0x55e21c--)if(_0x178baf[_0x55e21c]['reference']['root']===_0x4c18e3){_0x4eff3f=_0x55e21c;break;}if(-0x1!==_0x4eff3f)return _0x4eff3f+0x1;const _0x358e6c=_0x2002ec['document']['getRootNames'](),_0xda1578=_0x358e6c['indexOf'](_0x4c18e3['rootName']),_0x4dd0d0=_0x358e6c[_0xda1578+0x1];if(_0x4dd0d0){for(let _0x50d786=0x0;_0x50d786<_0x178baf['length'];_0x50d786++)if(_0x178baf[_0x50d786]['reference']['root']['rootName']===_0x4dd0d0)return _0x50d786;}return _0x178baf['length'];}class m extends _0x4e351b{['refresh'](){const _0x359a0b=this['editor']['model']['document']['selection'],_0x4bbfa8=this['_getPositionToInsertFootnote'](_0x359a0b);this['isEnabled']=!!_0x4bbfa8;}['execute'](_0x50a4e6){const {editor:_0x2f9e77}=this,{model:_0x353cf9}=_0x2f9e77,{selection:_0x5db4f2}=_0x353cf9['document'],_0xb70beb=this['_getPositionToInsertFootnote'](_0x5db4f2);if(!_0xb70beb)return;const _0x5b9298=_0x2f9e77['plugins']['get']('FootnotesEditing'),_0x49c5f4=_0x50a4e6?.['footnoteId']??_0x423eb2();!function(_0x7531bd){return'string'==typeof _0x7531bd&&_0x7531bd['length']>0x0&&!/\s/['test'](_0x7531bd)&&!/^\d/['test'](_0x7531bd);}(_0x49c5f4)?_0x224a8f('insert-footnote-command-executed-with-invalid-id'):(_0x353cf9['change'](_0x41c712=>{const _0x7ed3d4=_0x41c712['createElement']('footnoteRef',{'footnoteId':_0x49c5f4});_0x353cf9['insertObject'](_0x7ed3d4,_0xb70beb,null);}),_0x5b9298['_moveSelectionToFootnoteDefinition'](_0x49c5f4));}['_getPositionToInsertFootnote'](_0x4e959c){const {model:_0x2b343c}=this['editor'],{schema:_0x5f04e0}=_0x2b343c,_0x62a44a=_0x4e959c['getFirstRange']();for(const _0x56dc25 of _0x62a44a['getItems']())if(_0x5f04e0['isBlock'](_0x56dc25)||_0x5f04e0['isObject'](_0x56dc25))return null;const _0x5b4477=_0x62a44a['end'];return _0x5f04e0['checkChild'](_0x5b4477,'footnoteRef')?_0x5b4477:null;}}class r extends _0x10c62d{static get['pluginName'](){return'FootnotesEditing';}static get['requires'](){return[c];}static get['isOfficialPlugin'](){return!0x0;}static get['isPremiumPlugin'](){return!0x0;}['init'](){const {editor:_0x192392}=this;_0x192392['config']['define']('footnotes.multiBlock',!0x0),_0x192392['commands']['add']('insertFootnote',new m(_0x192392)),this['_defineSchema'](),this['_defineRefsConverters'](),this['_defineDefinitionsConverters'](),this['_defineDefinitionConverters'](),this['_defineBogusParagraphConverters'](),this['_defineKeyboardHandlers'](),this['_defineClickHandlers']();}['afterInit'](){!async function(_0x2b5e7c){const _0x4e705e=_0xa97fbc([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]),_0x5c1062=0x47a28506,_0x51a2c2=0x47a5ffc6^_0x5c1062,_0x34ebfb=window[_0xa97fbc([0x44,0x61,0x74,0x65])][_0xa97fbc([0x6e,0x6f,0x77])](),_0x44f4f7=_0x2b5e7c[_0xa97fbc([0x65,0x64,0x69,0x74,0x6f,0x72])],_0x5c98de=new window[(_0xa97fbc([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0x4a89c3=>{_0x44f4f7[_0xa97fbc([0x6f,0x6e,0x63,0x65])](_0xa97fbc([0x72,0x65,0x61,0x64,0x79]),_0x4a89c3);}),_0x3c8181={[_0xa97fbc([0x6b,0x74,0x79])]:_0xa97fbc([0x45,0x43]),[_0xa97fbc([0x75,0x73,0x65])]:_0xa97fbc([0x73,0x69,0x67]),[_0xa97fbc([0x63,0x72,0x76])]:_0xa97fbc([0x50,0x2d,0x32,0x35,0x36]),[_0xa97fbc([0x78])]:_0xa97fbc([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]),[_0xa97fbc([0x79])]:_0xa97fbc([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]),[_0xa97fbc([0x61,0x6c,0x67])]:_0xa97fbc([0x45,0x53,0x32,0x35,0x36])},_0x1234bb=_0x44f4f7[_0xa97fbc([0x63,0x6f,0x6e,0x66,0x69,0x67])][_0xa97fbc([0x67,0x65,0x74])](_0xa97fbc([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x4b,0x65,0x79]));async function _0xa9134c(){let _0x1529ee,_0x47e4f1=null,_0x150cd7=null;try{if(_0x1234bb==_0xa97fbc([0x47,0x50,0x4c]))return _0xa97fbc([0x4e,0x6f,0x74,0x41,0x6c,0x6c,0x6f,0x77,0x65,0x64]);if(_0x1529ee=_0x7eb70b(),!_0x1529ee)return _0xa97fbc([0x49,0x6e,0x76,0x61,0x6c,0x69,0x64]);return _0x1529ee[_0xa97fbc([0x75,0x73,0x61,0x67,0x65,0x45,0x6e,0x64,0x70,0x6f,0x69,0x6e,0x74])]&&(_0x150cd7=_0x506bce(_0x1529ee[_0xa97fbc([0x75,0x73,0x61,0x67,0x65,0x45,0x6e,0x64,0x70,0x6f,0x69,0x6e,0x74])],_0x1529ee[_0xa97fbc([0x6a,0x74,0x69])])),await _0x2ec78e()?_0x14c399()?_0x8d9103()?_0xa97fbc([0x45,0x78,0x70,0x69,0x72,0x65,0x64]):_0x17e6f3()?(_0x1529ee[_0xa97fbc([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x54,0x79,0x70,0x65])]==_0xa97fbc([0x65,0x76,0x61,0x6c,0x75,0x61,0x74,0x69,0x6f,0x6e])&&(_0x47e4f1=_0xab17(_0xa97fbc([0x45,0x76,0x61,0x6c,0x75,0x61,0x74,0x69,0x6f,0x6e,0x4c,0x69,0x6d,0x69,0x74]))),_0x1529ee[_0xa97fbc([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x54,0x79,0x70,0x65])]==_0xa97fbc([0x74,0x72,0x69,0x61,0x6c])&&(_0x47e4f1=_0xab17(_0xa97fbc([0x54,0x72,0x69,0x61,0x6c,0x4c,0x69,0x6d,0x69,0x74]))),await _0x4d8d87()):_0xa97fbc([0x44,0x6f,0x6d,0x61,0x69,0x6e,0x4c,0x69,0x6d,0x69,0x74]):_0xa97fbc([0x4e,0x6f,0x74,0x41,0x6c,0x6c,0x6f,0x77,0x65,0x64]):_0xa97fbc([0x49,0x6e,0x76,0x61,0x6c,0x69,0x64]);}catch{return _0xa97fbc([0x49,0x6e,0x76,0x61,0x6c,0x69,0x64]);}function _0x8d9103(){const _0x4a906c=[_0xa97fbc([0x65,0x76,0x61,0x6c,0x75,0x61,0x74,0x69,0x6f,0x6e]),_0xa97fbc([0x74,0x72,0x69,0x61,0x6c])][_0xa97fbc([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x1529ee[_0xa97fbc([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x54,0x79,0x70,0x65])])?_0x34ebfb/0x3e8:0xe10*_0x51a2c2;return _0x1529ee[_0xa97fbc([0x65,0x78,0x70])]<_0x4a906c;}function _0x14c399(){const _0x2f84f0=_0x1529ee[_0xa97fbc([0x66,0x65,0x61,0x74,0x75,0x72,0x65,0x73])];return!!_0x2f84f0&&(!!_0x2f84f0[_0xa97fbc([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0xa97fbc([0x2a]))||!!_0x2f84f0[_0xa97fbc([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0xa97fbc([0x46,0x4f,0x4f])));}function _0x17e6f3(){const _0x2563a9=_0x1529ee[_0xa97fbc([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x64,0x48,0x6f,0x73,0x74,0x73])];if(!_0x2563a9||0x0==_0x2563a9[_0xa97fbc([0x6c,0x65,0x6e,0x67,0x74,0x68])])return!0x0;const {hostname:_0x190130}=new URL(window[_0xa97fbc([0x6c,0x6f,0x63,0x61,0x74,0x69,0x6f,0x6e])]['href']);if(_0x2563a9[_0xa97fbc([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x190130))return!0x0;const _0x509789=_0x190130[_0xa97fbc([0x73,0x70,0x6c,0x69,0x74])](_0xa97fbc([0x2e]));return _0x2563a9[_0xa97fbc([0x66,0x69,0x6c,0x74,0x65,0x72])](_0x5bf576=>_0x5bf576[_0xa97fbc([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0xa97fbc([0x2a])))[_0xa97fbc([0x6d,0x61,0x70])](_0x23dc8b=>_0x23dc8b[_0xa97fbc([0x73,0x70,0x6c,0x69,0x74])](_0xa97fbc([0x2e])))[_0xa97fbc([0x66,0x69,0x6c,0x74,0x65,0x72])](_0xaa8848=>_0xaa8848[_0xa97fbc([0x6c,0x65,0x6e,0x67,0x74,0x68])]<=_0x509789[_0xa97fbc([0x6c,0x65,0x6e,0x67,0x74,0x68])])[_0xa97fbc([0x6d,0x61,0x70])](_0xb2ce59=>Array(_0x509789[_0xa97fbc([0x6c,0x65,0x6e,0x67,0x74,0x68])]-_0xb2ce59[_0xa97fbc([0x6c,0x65,0x6e,0x67,0x74,0x68])])[_0xa97fbc([0x66,0x69,0x6c,0x6c])](_0xb2ce59[0x0]===_0xa97fbc([0x2a])?_0xa97fbc([0x2a]):'')[_0xa97fbc([0x63,0x6f,0x6e,0x63,0x61,0x74])](_0xb2ce59))[_0xa97fbc([0x73,0x6f,0x6d,0x65])](_0xd0bd20=>_0x509789[_0xa97fbc([0x65,0x76,0x65,0x72,0x79])]((_0x4b074f,_0x59bebd)=>_0xd0bd20[_0x59bebd]===_0x4b074f||_0xd0bd20[_0x59bebd]===_0xa97fbc([0x2a])));}function _0x4d8d87(){return _0x47e4f1&&_0x150cd7?new window[(_0xa97fbc([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))]((_0x4abedd,_0x584e31)=>{_0x47e4f1[_0xa97fbc([0x74,0x68,0x65,0x6e])](_0x4abedd,_0x584e31),_0x150cd7[_0xa97fbc([0x74,0x68,0x65,0x6e])](_0xff520c=>{_0xff520c!=_0xa97fbc([0x56,0x61,0x6c,0x69,0x64])&&_0x4abedd(_0xff520c);},_0x584e31);}):_0x47e4f1||_0x150cd7||_0xa97fbc([0x56,0x61,0x6c,0x69,0x64]);}}function _0x506bce(_0x525ccc,_0x246a7a){return new window[(_0xa97fbc([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0x3f6496=>{if(_0x3cd62b())return _0x3f6496(_0xa97fbc([0x56,0x61,0x6c,0x69,0x64]));_0x9a8cfb(),_0x44f4f7[_0xa97fbc([0x64,0x65,0x63,0x6f,0x72,0x61,0x74,0x65])](_0xa97fbc([0x5f,0x73,0x65,0x6e,0x64,0x55,0x73,0x61,0x67,0x65,0x52,0x65,0x71,0x75,0x65,0x73,0x74]));let _0x186425=!0x1;const _0x5ebe15=_0x423eb2();function _0x1cfde5(_0x4184d0){return!!_0x4184d0&&(typeof _0x4184d0===_0xa97fbc([0x6f,0x62,0x6a,0x65,0x63,0x74])||typeof _0x4184d0===_0xa97fbc([0x66,0x75,0x6e,0x63,0x74,0x69,0x6f,0x6e]))&&typeof _0x4184d0[_0xa97fbc([0x74,0x68,0x65,0x6e])]===_0xa97fbc([0x66,0x75,0x6e,0x63,0x74,0x69,0x6f,0x6e])&&typeof _0x4184d0[_0xa97fbc([0x63,0x61,0x74,0x63,0x68])]===_0xa97fbc([0x66,0x75,0x6e,0x63,0x74,0x69,0x6f,0x6e]);}function _0x59babc(_0x4a7175){_0x3b0bba(_0x4a7175)[_0xa97fbc([0x74,0x68,0x65,0x6e])](_0x53cdff=>{if(!_0x53cdff||_0x53cdff[_0xa97fbc([0x73,0x74,0x61,0x74,0x75,0x73])]!=_0xa97fbc([0x6f,0x6b]))return _0xa97fbc([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]);return _0x1a76de(_0x42cc83(_0x5ebe15+_0x246a7a))!=_0x53cdff[_0xa97fbc([0x76,0x65,0x72,0x69,0x66,0x69,0x63,0x61,0x74,0x69,0x6f,0x6e])]?_0xa97fbc([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]):_0xa97fbc([0x56,0x61,0x6c,0x69,0x64]);})[_0xa97fbc([0x74,0x68,0x65,0x6e])](_0x598529=>(_0x1db334(),_0x598529),()=>{const _0xd65381=_0xe71db7();return null==_0xd65381?(_0x1db334(),_0xa97fbc([0x56,0x61,0x6c,0x69,0x64])):_0xa97fbc(_0x34ebfb-_0xd65381>(0x63ae0106^_0x5c1062)?[0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]:[0x56,0x61,0x6c,0x69,0x64]);})[_0xa97fbc([0x74,0x68,0x65,0x6e])](_0x3f6496)[_0xa97fbc([0x63,0x61,0x74,0x63,0x68])](()=>{_0x3f6496(_0xa97fbc([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]));});const _0x1fa7ed=0x47946b86^_0x5c1062;function _0x1db334(){const _0x2e1c66=_0xa97fbc([0x6c,0x6c,0x63,0x74,0x2d])+_0x1a76de(_0x42cc83(_0x525ccc)),_0x2b136d=_0xdd197c(_0x1a76de(window[_0xa97fbc([0x4d,0x61,0x74,0x68])][_0xa97fbc([0x63,0x65,0x69,0x6c])](_0x34ebfb/_0x1fa7ed)));window[_0xa97fbc([0x6c,0x6f,0x63,0x61,0x6c,0x53,0x74,0x6f,0x72,0x61,0x67,0x65])][_0xa97fbc([0x73,0x65,0x74,0x49,0x74,0x65,0x6d])](_0x2e1c66,_0x2b136d);}function _0xe71db7(){const _0x4a7c0f=_0xa97fbc([0x6c,0x6c,0x63,0x74,0x2d])+_0x1a76de(_0x42cc83(_0x525ccc)),_0x3282bc=window[_0xa97fbc([0x6c,0x6f,0x63,0x61,0x6c,0x53,0x74,0x6f,0x72,0x61,0x67,0x65])][_0xa97fbc([0x67,0x65,0x74,0x49,0x74,0x65,0x6d])](_0x4a7c0f);return _0x3282bc?window[_0xa97fbc([0x70,0x61,0x72,0x73,0x65,0x49,0x6e,0x74])](_0xdd197c(_0x3282bc),0x10)*_0x1fa7ed:null;}function _0x3b0bba(_0x456b16){return new window[(_0xa97fbc([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))]((_0x59a75f,_0x4bbde2)=>{_0x456b16[_0xa97fbc([0x74,0x68,0x65,0x6e])](_0x59a75f,_0x4bbde2),window[_0xa97fbc([0x73,0x65,0x74,0x54,0x69,0x6d,0x65,0x6f,0x75,0x74])](_0x4bbde2,0x47a351c6^_0x5c1062);});}}_0x44f4f7[_0xa97fbc([0x6f,0x6e])](_0xa97fbc([0x5f,0x73,0x65,0x6e,0x64,0x55,0x73,0x61,0x67,0x65,0x52,0x65,0x71,0x75,0x65,0x73,0x74]),(_0x47a936,_0x4ad15c)=>{if(_0x4ad15c[0x0]!=_0x525ccc)return _0x3f6496(_0xa97fbc([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]));_0x4ad15c[0x1]={..._0x4ad15c[0x1],[_0xa97fbc([0x72,0x65,0x71,0x75,0x65,0x73,0x74,0x49,0x64])]:_0x5ebe15};},{[_0xa97fbc([0x70,0x72,0x69,0x6f,0x72,0x69,0x74,0x79])]:_0xa97fbc([0x68,0x69,0x67,0x68])}),_0x44f4f7[_0xa97fbc([0x6f,0x6e])](_0xa97fbc([0x5f,0x73,0x65,0x6e,0x64,0x55,0x73,0x61,0x67,0x65,0x52,0x65,0x71,0x75,0x65,0x73,0x74]),_0x47d4fb=>{_0x1cfde5(_0x47d4fb[_0xa97fbc([0x72,0x65,0x74,0x75,0x72,0x6e])])&&(_0x186425=!0x0,_0x59babc(_0x47d4fb[_0xa97fbc([0x72,0x65,0x74,0x75,0x72,0x6e])]));},{[_0xa97fbc([0x70,0x72,0x69,0x6f,0x72,0x69,0x74,0x79])]:_0xa97fbc([0x6c,0x6f,0x77])}),_0x5c98de[_0xa97fbc([0x74,0x68,0x65,0x6e])](()=>{_0x186425||_0x3f6496(_0xa97fbc([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]));});});function _0x3cd62b(){return _0x44f4f7[_0xa97fbc([0x65,0x64,0x69,0x74,0x69,0x6e,0x67])][_0xa97fbc([0x76,0x69,0x65,0x77])][_0xa97fbc([0x5f,0x6f,0x76,0x65,0x72,0x6c,0x61,0x79,0x4d,0x6f,0x64,0x65,0x48,0x69,0x6e,0x74])]==_0xa97fbc([0x61,0x75,0x74,0x6f]);}function _0x9a8cfb(){_0x44f4f7[_0xa97fbc([0x65,0x64,0x69,0x74,0x69,0x6e,0x67])][_0xa97fbc([0x76,0x69,0x65,0x77])][_0xa97fbc([0x5f,0x6f,0x76,0x65,0x72,0x6c,0x61,0x79,0x4d,0x6f,0x64,0x65,0x48,0x69,0x6e,0x74])]=_0xa97fbc([0x61,0x75,0x74,0x6f]);}}function _0xab17(_0x445d52){const _0x4f688b=[new window[(_0xa97fbc([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0x1de4e3=>setTimeout(_0x1de4e3,0x47abbbca^_0x5c1062)),_0x5c98de[_0xa97fbc([0x74,0x68,0x65,0x6e])](()=>new window[(_0xa97fbc([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0x30d7ec=>{let _0x48c801=0x0;_0x44f4f7[_0xa97fbc([0x6d,0x6f,0x64,0x65,0x6c])][_0xa97fbc([0x6f,0x6e])](_0xa97fbc([0x61,0x70,0x70,0x6c,0x79,0x4f,0x70,0x65,0x72,0x61,0x74,0x69,0x6f,0x6e]),(_0x45bafe,_0x5891b9)=>{_0x5891b9[0x0][_0xa97fbc([0x69,0x73,0x44,0x6f,0x63,0x75,0x6d,0x65,0x6e,0x74,0x4f,0x70,0x65,0x72,0x61,0x74,0x69,0x6f,0x6e])]&&_0x48c801++,_0x48c801==(0x47a284fe^_0x5c1062)&&(_0x30d7ec(),_0x45bafe[_0xa97fbc([0x6f,0x66,0x66])]());});}))];return window[_0xa97fbc([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65])][_0xa97fbc([0x72,0x61,0x63,0x65])](_0x4f688b)[_0xa97fbc([0x74,0x68,0x65,0x6e])](()=>_0x445d52);}async function _0x45c26e(){await _0x5c98de,_0x44f4f7[_0xa97fbc([0x6d,0x6f,0x64,0x65,0x6c])][_0xa97fbc([0x63,0x68,0x61,0x6e,0x67,0x65])]=_0x204f3a,_0x44f4f7[_0xa97fbc([0x6d,0x6f,0x64,0x65,0x6c])][_0xa97fbc([0x65,0x6e,0x71,0x75,0x65,0x75,0x65,0x43,0x68,0x61,0x6e,0x67,0x65])]=_0x204f3a,_0x44f4f7[_0xa97fbc([0x65,0x6e,0x61,0x62,0x6c,0x65,0x52,0x65,0x61,0x64,0x4f,0x6e,0x6c,0x79,0x4d,0x6f,0x64,0x65])](_0xa97fbc([0x6d,0x6f,0x64,0x65,0x6c]));}function _0x1adcf0(_0x3f6d5e){const _0xaddaab=_0xb5aebd();_0x44f4f7[_0xaddaab]=_0xa97fbc([0x66,0x6f,0x6f,0x74,0x6e,0x6f,0x74,0x65,0x73,0x4c,0x69,0x63,0x65,0x6e,0x73,0x65,0x4b,0x65,0x79])+_0x3f6d5e,_0x3f6d5e!=_0xa97fbc([0x56,0x61,0x6c,0x69,0x64])&&_0x45c26e();}function _0xb5aebd(){const _0x6b1bb4=window[_0xa97fbc([0x53,0x74,0x72,0x69,0x6e,0x67])](window[_0xa97fbc([0x70,0x65,0x72,0x66,0x6f,0x72,0x6d,0x61,0x6e,0x63,0x65])][_0xa97fbc([0x6e,0x6f,0x77])]())[_0xa97fbc([0x72,0x65,0x70,0x6c,0x61,0x63,0x65])](_0xa97fbc([0x2e]),'');let _0x3b734a=_0xa97fbc([0x75]);for(let _0x3bad19=0x0;_0x3bad19<_0x6b1bb4[_0xa97fbc([0x6c,0x65,0x6e,0x67,0x74,0x68])];_0x3bad19+=0x2){let _0x1ff104=window[_0xa97fbc([0x70,0x61,0x72,0x73,0x65,0x49,0x6e,0x74])](_0x6b1bb4[_0xa97fbc([0x73,0x75,0x62,0x73,0x74,0x72,0x69,0x6e,0x67])](_0x3bad19,_0x3bad19+0x2));_0x1ff104>=_0x4e705e[_0xa97fbc([0x6c,0x65,0x6e,0x67,0x74,0x68])]&&(_0x1ff104-=_0x4e705e[_0xa97fbc([0x6c,0x65,0x6e,0x67,0x74,0x68])]),_0x3b734a+=_0x4e705e[_0x1ff104];}return _0x3b734a;}function _0x7eb70b(){const _0x273f57=_0x1234bb[_0xa97fbc([0x73,0x70,0x6c,0x69,0x74])](_0xa97fbc([0x2e]));if(0x3!=_0x273f57[_0xa97fbc([0x6c,0x65,0x6e,0x67,0x74,0x68])])return null;return _0x3d7c01(_0x273f57[0x1]);function _0x3d7c01(_0x4b27c7){const _0x2a4205=_0x3176e0(_0x4b27c7);return _0x2a4205&&_0x193b47()?_0x2a4205:null;function _0x193b47(){const _0x105ee6=_0x2a4205[_0xa97fbc([0x6a,0x74,0x69])],_0xeea622=window[_0xa97fbc([0x70,0x61,0x72,0x73,0x65,0x49,0x6e,0x74])](_0x105ee6[_0xa97fbc([0x73,0x75,0x62,0x73,0x74,0x72,0x69,0x6e,0x67])](_0x105ee6[_0xa97fbc([0x6c,0x65,0x6e,0x67,0x74,0x68])]-0x8),0x10),_0x3d9f8f={..._0x2a4205,[_0xa97fbc([0x6a,0x74,0x69])]:_0x105ee6[_0xa97fbc([0x73,0x75,0x62,0x73,0x74,0x72,0x69,0x6e,0x67])](0x0,_0x105ee6[_0xa97fbc([0x6c,0x65,0x6e,0x67,0x74,0x68])]-0x8)};return delete _0x3d9f8f[_0xa97fbc([0x76,0x63])],_0x42cc83(_0x3d9f8f)==_0xeea622;}}}async function _0x2ec78e(){let _0x4324ba=!0x0;try{const _0x252ae0=_0x1234bb[_0xa97fbc([0x73,0x70,0x6c,0x69,0x74])](_0xa97fbc([0x2e])),[_0x4aa62f,_0xd75fc1,_0x2843b9]=_0x252ae0;return _0xce5579(_0x4aa62f),await _0x418583(_0x4aa62f,_0xd75fc1,_0x2843b9),_0x4324ba;}catch{return!0x1;}function _0xce5579(_0x20139a){const _0x265dd6=_0x3176e0(_0x20139a);_0x265dd6&&_0x265dd6[_0xa97fbc([0x61,0x6c,0x67])]==_0xa97fbc([0x45,0x53,0x32,0x35,0x36])||(_0x4324ba=!0x1);}async function _0x418583(_0x33a132,_0x2ba1c4,_0x4c9143){const _0x5983d7=window[_0xa97fbc([0x55,0x69,0x6e,0x74,0x38,0x41,0x72,0x72,0x61,0x79])][_0xa97fbc([0x66,0x72,0x6f,0x6d])](_0x31dd53(_0x4c9143),_0xa59a=>_0xa59a[_0xa97fbc([0x63,0x68,0x61,0x72,0x43,0x6f,0x64,0x65,0x41,0x74])](0x0)),_0x3e4abe=new window[(_0xa97fbc([0x54,0x65,0x78,0x74,0x45,0x6e,0x63,0x6f,0x64,0x65,0x72]))]()[_0xa97fbc([0x65,0x6e,0x63,0x6f,0x64,0x65])](_0x33a132+_0xa97fbc([0x2e])+_0x2ba1c4),_0x503ce2=window[_0xa97fbc([0x63,0x72,0x79,0x70,0x74,0x6f])][_0xa97fbc([0x73,0x75,0x62,0x74,0x6c,0x65])];if(!_0x503ce2)return;const _0x1b8699=await _0x503ce2[_0xa97fbc([0x69,0x6d,0x70,0x6f,0x72,0x74,0x4b,0x65,0x79])](_0xa97fbc([0x6a,0x77,0x6b]),_0x3c8181,{[_0xa97fbc([0x6e,0x61,0x6d,0x65])]:_0xa97fbc([0x45,0x43,0x44,0x53,0x41]),[_0xa97fbc([0x6e,0x61,0x6d,0x65,0x64,0x43,0x75,0x72,0x76,0x65])]:_0xa97fbc([0x50,0x2d,0x32,0x35,0x36])},!0x1,[_0xa97fbc([0x76,0x65,0x72,0x69,0x66,0x79])]);await _0x503ce2[_0xa97fbc([0x76,0x65,0x72,0x69,0x66,0x79])]({[_0xa97fbc([0x6e,0x61,0x6d,0x65])]:_0xa97fbc([0x45,0x43,0x44,0x53,0x41]),[_0xa97fbc([0x68,0x61,0x73,0x68])]:{[_0xa97fbc([0x6e,0x61,0x6d,0x65])]:_0xa97fbc([0x53,0x48,0x41,0x2d,0x32,0x35,0x36])}},_0x1b8699,_0x5983d7,_0x3e4abe)||(_0x4324ba=!0x1);}}function _0x3176e0(_0x279a54){return _0x279a54[_0xa97fbc([0x73,0x74,0x61,0x72,0x74,0x73,0x57,0x69,0x74,0x68])](_0xa97fbc([0x65,0x79]))?JSON[_0xa97fbc([0x70,0x61,0x72,0x73,0x65])](_0x31dd53(_0x279a54)):null;}function _0x31dd53(_0xbfc5c3){return window[_0xa97fbc([0x61,0x74,0x6f,0x62])](_0xbfc5c3[_0xa97fbc([0x72,0x65,0x70,0x6c,0x61,0x63,0x65])](/-/g,_0xa97fbc([0x2b]))[_0xa97fbc([0x72,0x65,0x70,0x6c,0x61,0x63,0x65])](/_/g,_0xa97fbc([0x2f])));}function _0x42cc83(_0xf222c1){let _0x3bea1b=0x1505;function _0x4beda1(_0xc33723){for(let _0x1da758=0x0;_0x1da758<_0xc33723[_0xa97fbc([0x6c,0x65,0x6e,0x67,0x74,0x68])];_0x1da758++){const _0x588402=_0xc33723[_0xa97fbc([0x63,0x68,0x61,0x72,0x43,0x6f,0x64,0x65,0x41,0x74])](_0x1da758);_0x3bea1b=(_0x3bea1b<<0x5)+_0x3bea1b+_0x588402,_0x3bea1b&=_0x3bea1b;}}function _0x177201(_0x227109){Array[_0xa97fbc([0x69,0x73,0x41,0x72,0x72,0x61,0x79])](_0x227109)?_0x227109[_0xa97fbc([0x66,0x6f,0x72,0x45,0x61,0x63,0x68])](_0x177201):_0x227109&&typeof _0x227109==_0xa97fbc([0x6f,0x62,0x6a,0x65,0x63,0x74])?Object[_0xa97fbc([0x65,0x6e,0x74,0x72,0x69,0x65,0x73])](_0x227109)[_0xa97fbc([0x73,0x6f,0x72,0x74])]()[_0xa97fbc([0x66,0x6f,0x72,0x45,0x61,0x63,0x68])](([_0x5355a8,_0x2c6be8])=>{_0x4beda1(_0x5355a8),_0x177201(_0x2c6be8);}):_0x4beda1(window[_0xa97fbc([0x53,0x74,0x72,0x69,0x6e,0x67])](_0x227109));}return _0x177201(_0xf222c1),_0x3bea1b>>>0x0;}function _0x1a76de(_0x463001){return _0x463001[_0xa97fbc([0x74,0x6f,0x53,0x74,0x72,0x69,0x6e,0x67])](0x10)[_0xa97fbc([0x70,0x61,0x64,0x53,0x74,0x61,0x72,0x74])](0x8,_0xa97fbc([0x30]));}function _0xdd197c(_0x27d77f){return _0x27d77f[_0xa97fbc([0x73,0x70,0x6c,0x69,0x74])]('')[_0xa97fbc([0x72,0x65,0x76,0x65,0x72,0x73,0x65])]()[_0xa97fbc([0x6a,0x6f,0x69,0x6e])]('');}function _0x204f3a(){}function _0xa97fbc(_0x53d872){return _0x53d872['map'](_0xff8d07=>String['fromCharCode'](_0xff8d07))['join']('');}_0x1adcf0(await _0xa9134c());}(this);}['_moveSelectionToFootnoteDefinition'](_0x58b5e8){const {plugins:_0x5bc388,editing:_0x555cca,model:_0x3880a6}=this['editor'],_0x44e2c8=_0x5bc388['get'](c)['getFootnote'](_0x58b5e8);return!!_0x44e2c8&&(_0x3880a6['change'](_0x3046f2=>{_0x3046f2['setSelection'](_0x3046f2['createPositionAt'](_0x44e2c8['definition'],'end'));}),_0x555cca['view']['scrollToTheSelection'](),!0x0);}['_moveSelectionToFootnoteReference'](_0x5a7834){const {plugins:_0x278f02,editing:_0x2d1a08,model:_0x1d0c23}=this['editor'],_0xd82055=_0x278f02['get'](c)['getFootnote'](_0x5a7834);return!!_0xd82055&&(_0x1d0c23['change'](_0x396e92=>{_0x396e92['setSelection'](_0xd82055['reference'],'on');}),_0x2d1a08['view']['scrollToTheSelection'](),!0x0);}['_defineSchema'](){const {schema:_0x1fcc3c}=this['editor']['model'],_0x50d293=this['editor']['config']['get']('footnotes.multiBlock');_0x1fcc3c['register']('footnoteRef',{'inheritAllFrom':'$inlineObject','allowAttributes':['footnoteId','footnoteCounter']}),_0x1fcc3c['register']('footnotesDefinitions',{'inheritAllFrom':'$blockObject','allowChildren':['footnoteDefinition']}),_0x1fcc3c['register']('footnoteDefinition',{'allowAttributes':['footnoteId'],'disallowAttributes':['listItemId'],'isLimit':!0x0}),_0x50d293?_0x1fcc3c['extend']('footnoteDefinition',{'allowContentOf':'$container'}):_0x1fcc3c['register']('footnoteInlineContent',{'allowIn':'footnoteDefinition','allowContentOf':'$block','isLimit':!0x0}),_0x1fcc3c['addChildCheck'](_0x2174e7=>{for(const _0x43adf9 of _0x2174e7)if('footnoteDefinition'===_0x43adf9['name'])return!0x1;},'footnoteRef');}['_defineRefsConverters'](){const {editor:_0x49fd93}=this,{conversion:_0x1f57dd,editing:_0x5ae0a5}=_0x49fd93,{t:t}=_0x49fd93['locale'];_0x1f57dd['for']('upcast')['elementToElement']({'view':{'name':'sup','classes':'footnote'},'model':(_0x5859d0,{writer:_0x563467,consumable:_0x2938b8})=>{const _0x174a15=_0x5859d0['getChild'](0x0);if(!_0x174a15||!_0x174a15['is']('element','a'))return null;const _0x5398dd=_0x174a15['getAttribute']('href')||'';if(!_0x5398dd['startsWith']('#'))return null;const _0x10b110=_0x5398dd['replace'](/^#/,'');if(!_0x10b110)return null;_0x2938b8['consume'](_0x174a15,{'name':!0x0,'attributes':['href']});for(const {item:_0x52edac}of _0x5ae0a5['view']['createRangeIn'](_0x174a15))_0x52edac['is']('$textProxy')?_0x2938b8['consume'](_0x52edac['textNode'],{'name':!0x0}):_0x52edac['is']('element')&&_0x2938b8['consume'](_0x52edac,{'name':!0x0});return _0x563467['createElement']('footnoteRef',{'footnoteId':_0x10b110});}}),_0x1f57dd['for']('dataDowncast')['elementToElement']({'model':{'name':'footnoteRef','attributes':['footnoteId','footnoteCounter']},'view':(_0x3530f2,{writer:_0xb06eae})=>D(_0x3530f2,_0xb06eae)}),_0x1f57dd['for']('editingDowncast')['elementToElement']({'model':{'name':'footnoteRef','attributes':['footnoteId','footnoteCounter']},'view':(_0x5b0148,{writer:_0x2a2c6d})=>{const _0x54ade6=_0x5b0148['getAttribute']('footnoteCounter');return _0xb141fc(D(_0x5b0148,_0x2a2c6d),_0x2a2c6d,{'label':t('Footnote\x20%0.\x20Press\x20ENTER\x20to\x20jump\x20to\x20footnote\x20definition.',_0x54ade6)});}});}['_defineDefinitionsConverters'](){const {editor:_0xd7ebc0}=this,{t:t}=_0xd7ebc0['locale'],{conversion:_0x1c1d87}=_0xd7ebc0;_0x1c1d87['for']('upcast')['elementToElement']({'view':{'name':'div','classes':'footnotes'},'model':'footnotesDefinitions'}),_0x1c1d87['for']('upcast')['add'](_0x2741ea=>{_0x2741ea['on']('element:ol',(_0x259bff,_0x2f418f,_0x24e506)=>{const _0x568245=_0x2f418f['viewItem'];if(!_0x568245['hasClass']('footnotes-list')||!_0x2f418f['modelCursor']['parent']?.['is']('element','footnotesDefinitions'))return;if(!_0x24e506['consumable']['consume'](_0x568245,{'name':!0x0,'classes':'footnotes-list'}))return;const {modelRange:_0x823e2e,modelCursor:_0x5cdf62}=_0x24e506['convertChildren'](_0x2f418f['viewItem'],_0x2f418f['modelCursor']);_0x2f418f['modelRange']=_0x823e2e,_0x2f418f['modelCursor']=_0x5cdf62;}),_0x2741ea['on']('element:hr',(_0x13558d,_0x3bf88a,_0xf894e8)=>{const _0x41ad83=_0x3bf88a['viewItem'];_0x41ad83['hasClass']('footnotes-divider')&&_0x3bf88a['modelCursor']['parent']?.['is']('element','footnotesDefinitions')&&_0xf894e8['consumable']['consume'](_0x41ad83,{'name':!0x0,'classes':'footnotes-divider'});});}),_0x1c1d87['for']('dataDowncast')['elementToStructure']({'model':'footnotesDefinitions','view':(_0xe55c6c,{writer:_0x5e1892})=>v(_0x5e1892)}),_0x1c1d87['for']('editingDowncast')['elementToStructure']({'model':'footnotesDefinitions','view':(_0x38e452,{writer:_0x46a4fb})=>{const _0x55a953=v(_0x46a4fb,{'data-footnotes-list-label':t('Footnotes')}),_0x4ab64a=_0xb141fc(_0x55a953,_0x46a4fb,{'hasSelectionHandle':!0x0,'label':t('Footnotes')});return _0x46a4fb['setCustomProperty']('footnotesDefinitions',!0x0,_0x4ab64a),_0x4ab64a;}});}['_defineDefinitionConverters'](){const {editor:_0x3555bc}=this,{conversion:_0x5b0403,locale:_0x4cd82f}=_0x3555bc,_0x13f2db=_0x3555bc['config']['get']('footnotes.multiBlock');_0x5b0403['for']('upcast')['add'](_0x220088=>{_0x220088['on']('element:li',(_0x28b174,_0x117c68,_0x1ef43f)=>{const _0x399710=_0x117c68['viewItem'];if(!_0x399710['hasClass']('footnote-definition')||!_0x399710['getAttribute']('id'))return;const _0xdcfb7a=_0x399710['parent'];if(!_0xdcfb7a['is']('element','ol')||!_0xdcfb7a['hasClass']('footnotes-list'))return;if(!_0x1ef43f['consumable']['test'](_0x399710,{'name':!0x0,'attributes':'id','classes':'footnote-definition'}))return;const _0x104b04=_0x1ef43f['writer']['createElement']('footnoteDefinition',{'footnoteId':_0x399710['getAttribute']('id')});if(!_0x1ef43f['safeInsert'](_0x104b04,_0x117c68['modelCursor']))return;_0x1ef43f['consumable']['consume'](_0x399710,{'name':!0x0,'attributes':'id','classes':'footnote-definition'});const _0x582a6c=Array['from'](_0x399710['getChildren']())['find'](_0x2bc737=>_0x2bc737['is']('element')&&_0x2bc737['hasClass']('footnote-content'));for(const _0x156ad3 of _0x399710['getChildren']())_0x156ad3['is']('element')&&(_0x1ef43f['consumable']['consume'](_0x156ad3,{'name':!0x0,'classes':'footnote-backlink','attributes':'href'}),_0x1ef43f['consumable']['consume'](_0x156ad3,{'name':!0x0,'classes':'footnote-content'}));if(_0x582a6c){if(_0x13f2db)_0x1ef43f['convertChildren'](_0x582a6c,_0x104b04);else{const _0x3b4581=_0x1ef43f['writer']['createElement']('footnoteInlineContent');_0x1ef43f['writer']['insert'](_0x3b4581,_0x104b04),_0x1ef43f['convertChildren'](_0x582a6c,_0x3b4581);}}_0x1ef43f['updateConversionResult'](_0x104b04,_0x117c68);});}),_0x5b0403['for']('dataDowncast')['elementToStructure']({'model':{'name':'footnoteDefinition','attributes':['footnoteId']},'view':(_0x211004,{writer:_0x49bcbd})=>b(_0x211004,_0x49bcbd,_0x4cd82f,{'dataPipeline':!0x0})}),_0x5b0403['for']('editingDowncast')['elementToStructure']({'model':{'name':'footnoteDefinition','attributes':['footnoteId']},'view':(_0x63f003,{writer:_0x1fec9b})=>b(_0x63f003,_0x1fec9b,_0x4cd82f)});}['_defineBogusParagraphConverters'](){const {editor:_0x1a4575}=this,{conversion:_0x41b2e4}=_0x1a4575;_0x1a4575['config']['get']('footnotes.multiBlock')?(_0x41b2e4['for']('editingDowncast')['elementToElement']({'model':'paragraph','view':h(),'converterPriority':'high'}),_0x41b2e4['for']('dataDowncast')['elementToElement']({'model':'paragraph','view':h({'dataPipeline':!0x0}),'converterPriority':'high'}),this['listenTo'](_0x1a4575['model']['document'],'change:data',()=>{!function(_0x5bd30f,_0x2b9de1){const _0x4c8685=_0x5bd30f['document']['differ'],_0x2bc5a2=new Set();for(const _0x57d68e of _0x4c8685['getChanges']()){const _0x58ae91='attribute'==_0x57d68e['type']?_0x57d68e['range']['start']['parent']:_0x57d68e['position']['parent'];_0x58ae91['is']('element','footnoteDefinition')&&_0x2bc5a2['add'](_0x58ae91);}for(const _0x54e9d6 of _0x2bc5a2['values']()){const _0x3880b3=Array['from'](_0x54e9d6['getChildren']())['filter'](_0x47e5bc=>g(_0x47e5bc,_0x2b9de1['mapper']));for(const _0x5c76b2 of _0x3880b3)_0x2b9de1['reconvertItem'](_0x5c76b2);}}(_0x1a4575['model'],_0x1a4575['editing']);})):(_0x41b2e4['for']('editingDowncast')['elementToElement']({'model':'footnoteInlineContent','view':h()}),_0x41b2e4['for']('dataDowncast')['elementToElement']({'model':'footnoteInlineContent','view':(_0x5eaea1,{writer:_0x109904})=>{const _0x4b4547=_0x109904['createContainerElement']('span');return _0x109904['setCustomProperty']('dataPipeline:transparentRendering',!0x0,_0x4b4547),_0x4b4547;}}));}['_defineKeyboardHandlers'](){const {editor:_0x499375}=this,{editing:_0x3a1b69,t:t}=_0x499375,_0x54e543=_0x499375['model']['document']['selection'];_0x499375['keystrokes']['set']('Ctrl+Alt+F','insertFootnote'),_0x499375['accessibility']['addKeystrokeInfos']({'keystrokes':[{'label':t('Insert\x20footnote'),'keystroke':'Ctrl+Alt+F'}]}),this['listenTo'](_0x3a1b69['view']['document'],'enter',(_0x1067f9,_0x2b52b1)=>{const _0x3d6db2=function(_0x39880e){const _0x4cde4e=_0x39880e['getSelectedElement']();if(_0x4cde4e?.['is']('element','footnoteRef'))return _0x4cde4e;return null;}(_0x54e543);if(_0x3d6db2){const _0x5af02b=_0x3d6db2['getAttribute']('footnoteId');this['_moveSelectionToFootnoteDefinition'](_0x5af02b),_0x2b52b1['preventDefault'](),_0x1067f9['stop']();}},{'context':_0x566b06});}['_defineClickHandlers'](){const {editor:_0x48dd98}=this,{editing:_0x3fafb6}=_0x48dd98;_0x48dd98['editing']['view']['addObserver'](_0x3c5240),_0x48dd98['editing']['view']['addObserver'](_0xad49c1);let _0x179ae5=!0x1;this['listenTo'](_0x3fafb6['view']['document'],'pointerdown',(_0x15f0a2,_0x6cf60c)=>{const {target:_0x588873}=_0x6cf60c,_0xd0757c=_0x3fafb6['view']['document']['selection'];_0x179ae5=!!(_0x588873?.['is']('element','a')&&_0x588873['parent']?.['is']('element','sup')&&_0x588873['parent']['hasClass']('footnote'))&&_0xd0757c['getSelectedElement']()===_0x588873['parent'];},{'priority':'high'}),this['listenTo'](_0x3fafb6['view']['document'],'click',(_0x23662d,_0xcf2150)=>{const {target:_0x53280a}=_0xcf2150;if(!_0x53280a?.['is']('element','a'))return;if(_0x53280a['parent']?.['is']('element','sup')&&_0x53280a['parent']['hasClass']('footnote')&&!_0x179ae5)return void _0xcf2150['preventDefault']();let _0x37a72c=_0x53280a['getAttribute']('href');if(!_0x37a72c?.['startsWith']('#'))return;_0x37a72c=_0x37a72c['slice'](0x1);let _0x4ed20c=!0x1;(_0x37a72c['startsWith']('ref-')&&this['_moveSelectionToFootnoteReference'](_0x37a72c['slice'](0x4))||this['_moveSelectionToFootnoteDefinition'](_0x37a72c))&&(_0x4ed20c=!0x0),_0x4ed20c&&(_0xcf2150['preventDefault'](),_0x23662d['stop']());},{'priority':'high','context':'$capture'});}}function h({dataPipeline:_0x5812a2}={}){return(_0x34929d,{writer:_0x461450})=>{if(!p(_0x34929d))return null;if(!_0x5812a2)return _0x461450['createContainerElement']('span',{'class':'ck-footnote-bogus-paragraph'});const _0x25a7f4=_0x461450['createContainerElement']('p');return _0x461450['setCustomProperty']('dataPipeline:transparentRendering',!0x0,_0x25a7f4),_0x25a7f4;};}function p(_0x28b296){const {parent:_0x3ec9bd}=_0x28b296;if(!_0x3ec9bd?.['is']('element','footnoteDefinition'))return!0x1;if(0x1!=_0x3ec9bd['childCount'])return!0x1;for(const _0x5b0d7d of _0x28b296['getAttributeKeys']())if(!_0x5b0d7d['startsWith']('selection:')&&'htmlEmptyBlock'!=_0x5b0d7d)return!0x1;return!0x0;}function g(_0x1c5734,_0x14988a){if(!_0x1c5734['is']('element','paragraph'))return!0x1;const _0x19544a=_0x14988a['toViewElement'](_0x1c5734);return!!_0x19544a&&p(_0x1c5734)!==_0x19544a['is']('element','span');}function J(_0x37cdd2){return _0x566b06(_0x37cdd2)&&_0x37cdd2['is']('containerElement')&&!!_0x37cdd2['getCustomProperty']('footnotesDefinitions');}function v(_0x462dc9,_0x3e5199={}){const _0x5d8401=_0x462dc9['createEmptyElement']('hr',{'class':'footnotes-divider'}),_0x4f47ee=_0x462dc9['createContainerElement']('ol',{'class':'footnotes-list'},_0x462dc9['createSlot']());return _0x462dc9['createContainerElement']('div',{'class':'footnotes',..._0x3e5199},[_0x5d8401,_0x4f47ee]);}function D(_0x3817ed,_0x1d8d5d){const _0x3eb460=_0x3817ed['getAttribute']('footnoteId'),_0x1caed2=_0x3817ed['getAttribute']('footnoteCounter'),_0x418abb=_0x1d8d5d['createUIElement']('a',{'href':'#'+_0x3eb460},function(_0x15e92c){const _0x592966=this['toDomElement'](_0x15e92c);return _0x592966['textContent']=_0x1caed2,_0x592966;}),_0x52a2da=_0x1d8d5d['createContainerElement']('sup',{'id':'ref-'+_0x3eb460,'class':'footnote'},[_0x418abb]);return _0x52a2da['getFillerOffset']=()=>null,_0x52a2da;}function b(_0x39d9b6,_0x2a7ff4,_0x60ceba,{dataPipeline:_0x26a8dc}={}){const {t:t}=_0x60ceba,_0x2e2570=_0x39d9b6['getAttribute']('footnoteId'),_0x13ea5b=_0x2a7ff4['createUIElement']('a',{'class':'footnote-backlink','href':'#ref-'+_0x2e2570},function(_0x422dca){const _0x2cead4=this['toDomElement'](_0x422dca);return _0x2cead4['innerText']='^',_0x2cead4;}),_0x3b9f1b=_0x26a8dc?_0x2a7ff4['createContainerElement']('div',{'class':'footnote-content'}):_0x338e6b(_0x2a7ff4['createEditableElement']('div',{'class':'footnote-content'}),_0x2a7ff4,{'label':t('Footnote\x20content.')});return _0x2a7ff4['insert'](_0x2a7ff4['createPositionAt'](_0x3b9f1b,0x0),_0x2a7ff4['createSlot']()),_0x2a7ff4['createContainerElement']('li',{'class':'footnote-definition','id':_0x2e2570},[_0x13ea5b,_0x3b9f1b]);}class e extends _0x10c62d{static get['pluginName'](){return'FootnotesClipboard';}static get['requires'](){return[r,_0x498484];}static get['isOfficialPlugin'](){return!0x0;}static get['isPremiumPlugin'](){return!0x0;}['init'](){this['_defineClipboardIntegration']();}['_defineClipboardIntegration'](){this['_handleCopyFootnotesDefinitions'](),this['_handlePasteFootnotesDefinitions']();}['_handleCopyFootnotesDefinitions'](){const {editor:_0x3d6ae8}=this,{plugins:_0x595aa0,model:_0x2a28cb}=_0x3d6ae8,_0x5f12ca=_0x595aa0['get'](_0x498484),_0x45eceb=_0x595aa0['get'](c);this['listenTo'](_0x5f12ca,'outputTransformation',(_0x352d16,_0x2c0972)=>{const _0x53d8a0=f(_0x2a28cb['createRangeIn'](_0x2c0972['content']));if(!_0x53d8a0['length'])return;const _0x416ed6=_0x45eceb['getFootnotes'](),_0xdc161b=_0x53d8a0['reduce']((_0x5822e4,_0x42b40d)=>{const _0x1e8289=_0x416ed6['find'](_0x42e192=>_0x42e192['id']===_0x42b40d);if(_0x1e8289){const _0xb013e1=_0x3d6ae8['data']['toView'](_0x1e8289['definition'],{'isClipboardPipeline':!0x0}),_0x5cf6b6=_0x3d6ae8['data']['htmlProcessor']['toData'](_0xb013e1);_0x5822e4[_0x1e8289['id']]=_0x5cf6b6;}return _0x5822e4;},Object['create'](null));_0x2c0972['dataTransfer']['setData']('application/ckeditor5-footnotes',JSON['stringify'](_0xdc161b));});}['_handlePasteFootnotesDefinitions'](){const {editor:_0x15509d}=this,{model:_0x2d35fd,plugins:_0x4ad498}=_0x15509d,{view:_0x17fc30}=_0x15509d['editing'],_0x1b3688=_0x4ad498['get'](_0x498484),_0x12646b=_0x4ad498['get'](c);let _0x31941f=null;this['listenTo'](_0x17fc30['document'],'clipboardInput',(_0x2cd347,_0x2fd716)=>{const _0x34bb16=_0x2fd716['dataTransfer']['getData']('application/ckeditor5-footnotes');_0x31941f=_0x34bb16?JSON['parse'](_0x34bb16):null;}),this['listenTo'](_0x1b3688,'contentInsertion',(_0x2f8eb3,_0x451f43)=>{const _0x4edd26=_0x451f43['sourceEditorId']===this['editor']['id'];_0x4edd26&&'drop'===_0x451f43['method']||_0x2d35fd['change'](_0x5cdb02=>{let _0x5496ba=_0x12646b['getFootnotesDefinitionsObjectElement']();const _0x44678f=!!_0x5496ba&&Array['from'](_0x2d35fd['document']['selection']['getSelectedBlocks']())['includes'](_0x5496ba);if((_0x5496ba&&!_0x44678f||!_0x5496ba&&!_0x31941f)&&function(_0x49187b,_0x205822){const _0x5645bf=[];for(const {item:_0x92dd78}of _0x49187b['createRangeIn'](_0x205822))_0x92dd78['is']('element','footnotesDefinitions')&&_0x5645bf['push'](_0x92dd78);for(const _0x32dc37 of _0x5645bf)_0x49187b['remove'](_0x32dc37);}(_0x5cdb02,_0x451f43['content']),!_0x31941f)return;const {selection:_0x342247}=_0x2d35fd['document'],_0x24e98f=_0x342247['getFirstRange']()['root'];_0x5496ba&&!_0x44678f||(_0x5496ba=function(_0x5060fe,_0x26947a){for(const {item:_0x1192e7}of _0x5060fe['createRangeIn'](_0x26947a))if(_0x1192e7['is']('element','footnotesDefinitions'))return _0x1192e7;return null;}(_0x5cdb02,_0x451f43['content']),_0x5496ba||=_0x12646b['_insertEmptyFootnotesDefinitionsContainer'](_0x5cdb02,_0x24e98f));const _0xb1d1b8=Array['from'](_0x342247['getRanges']())['flatMap'](f),_0xcbac8a=function(_0x55dd06,_0x4e30ed,_0x4ffdc4){const _0x27167b=Object['create'](null);for(const {item:_0x330bbc}of _0x55dd06['createRangeIn'](_0x4e30ed))if(_0x330bbc['is']('element','footnoteRef')){const _0x377206=_0x330bbc['getAttribute']('footnoteId');if(!_0x4ffdc4(_0x377206))continue;_0x27167b[_0x377206]||(_0x27167b[_0x377206]=_0x423eb2()),_0x55dd06['setAttribute']('footnoteId',_0x27167b[_0x377206],_0x330bbc);}return _0x27167b;}(_0x5cdb02,_0x451f43['content'],_0x50224f=>{if(!_0x4edd26)return!0x0;return!!_0x12646b['getFootnote'](_0x50224f)&&!_0xb1d1b8['includes'](_0x50224f);});for(const [_0x25d0a6,_0x1e76d8]of Object['entries'](_0x31941f)){const _0x1afa1c=_0xcbac8a[_0x25d0a6]||_0x25d0a6,_0x35ac22=_0x5cdb02['createElement']('footnoteDefinition',{'footnoteId':_0x1afa1c}),_0x23c104=_0x15509d['data']['htmlProcessor']['toView'](_0x1e76d8),_0x5af264=_0x15509d['data']['toModel'](_0x23c104,_0x35ac22);_0x5cdb02['append'](_0x5af264,_0x35ac22),_0x5cdb02['insert'](_0x35ac22,_0x5496ba,'end');}_0x31941f=null;});});}}function f(_0x2f33ca){const _0x2b40da=new Set();for(const {item:_0xaf69dc}of _0x2f33ca)_0xaf69dc['is']('element','footnoteRef')&&_0x2b40da['add'](_0xaf69dc['getAttribute']('footnoteId'));return Array['from'](_0x2b40da);}class i extends _0x10c62d{['licenseKey'];['_licenseKeyCheckInterval'];static get['pluginName'](){return'FootnotesUI';}static get['isOfficialPlugin'](){return!0x0;}static get['isPremiumPlugin'](){return!0x0;}['init'](){const {editor:_0x57552c}=this,{componentFactory:_0x2c2d3f}=_0x57552c['ui'];_0x2c2d3f['add']('insertFootnote',x(_0x57552c,_0x3a1411)),_0x2c2d3f['add']('menuBar:insertFootnote',x(_0x57552c,_0x386625)),this['licenseKey']=this['editor']['config']['get']('licenseKey');const _0x7f71b1=this['editor'];this['_licenseKeyCheckInterval']=setInterval(()=>{let _0x8ecf34;for(const _0x35950f in _0x7f71b1){const _0x53fa2e=_0x35950f,_0x2cf49e=_0x7f71b1[_0x53fa2e];if('footnotesLicenseKeyValid'==_0x2cf49e||'footnotesLicenseKeyInvalid'==_0x2cf49e||'footnotesLicenseKeyExpired'==_0x2cf49e||'footnotesLicenseKeyDomainLimit'==_0x2cf49e||'footnotesLicenseKeyNotAllowed'==_0x2cf49e||'footnotesLicenseKeyEvaluationLimit'==_0x2cf49e||'footnotesLicenseKeyTrialLimit'==_0x2cf49e||'footnotesLicenseKeyUsageLimit'==_0x2cf49e){delete _0x7f71b1[_0x53fa2e],_0x8ecf34=_0x2cf49e,clearInterval(this['_licenseKeyCheckInterval']),this['_licenseKeyCheckInterval']=void 0x0;break;}}'footnotesLicenseKeyInvalid'==_0x8ecf34&&_0x7f71b1['_showLicenseError']('invalid'),'footnotesLicenseKeyExpired'==_0x8ecf34&&_0x7f71b1['_showLicenseError']('expired'),'footnotesLicenseKeyDomainLimit'==_0x8ecf34&&_0x7f71b1['_showLicenseError']('domainLimit'),'footnotesLicenseKeyNotAllowed'==_0x8ecf34&&_0x7f71b1['_showLicenseError']('featureNotAllowed','Footnotes'),'footnotesLicenseKeyEvaluationLimit'==_0x8ecf34&&_0x7f71b1['_showLicenseError']('evaluationLimit'),'footnotesLicenseKeyTrialLimit'==_0x8ecf34&&_0x7f71b1['_showLicenseError']('trialLimit'),'footnotesLicenseKeyUsageLimit'==_0x8ecf34&&_0x7f71b1['_showLicenseError']('usageLimit');},0x3e8);}['destroy'](){super['destroy'](),this['_licenseKeyCheckInterval']&&clearInterval(this['_licenseKeyCheckInterval']);}}function x(_0x3ee99e,_0x2efc73){const _0x1994c5=_0x3ee99e['commands']['get']('insertFootnote');return _0x55cb08=>{const {t:t}=_0x55cb08,_0xf51413=new _0x2efc73(_0x55cb08),_0xea6400=_0xf51413 instanceof _0x386625;return _0xf51413['bind']('isEnabled')['to'](_0x1994c5,'isEnabled'),_0xf51413['set']({'label':t(_0xea6400?'Footnote':'Insert\x20footnote'),'icon':_0x435eda,'tooltip':!0x0}),_0xf51413['on']('execute',()=>{_0x1994c5['execute'](),_0x3ee99e['editing']['view']['focus']();}),_0xf51413;};}class lt extends _0x10c62d{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 _0x4e351b{['refresh'](){const {editor:_0x11085c}=this,_0x5b134f=_0x11085c['plugins']['get'](c)['getFootnotesDefinitionsObjectElement']();this['isEnabled']=!!_0x5b134f,this['value']=_0x5b134f?.['getAttribute']('footnotesListStyle')??null;}['execute']({value:_0x2833ba}){const {editor:_0x53b74f}=this,_0x47d3bd=_0x53b74f['plugins']['get'](c),_0x4d35b9=_0x47d3bd['getFootnotesDefinitionsObjectElement']();_0x4d35b9&&Q['includes'](_0x2833ba)&&_0x53b74f['model']['change'](_0x22fb36=>{_0x22fb36['setAttribute']('footnotesListStyle',_0x2833ba,_0x4d35b9),_0x47d3bd['_updateFootnotesCounters'](_0x22fb36);});}}class C extends _0x4e351b{['refresh'](){const {editor:_0x5137a7}=this,_0x483945=_0x5137a7['plugins']['get'](c)['getFootnotesDefinitionsObjectElement']();this['isEnabled']=!!_0x483945,this['value']=_0x483945?.['getAttribute']('footnotesListStart')??null;}['execute']({value:_0x43c25c}){const {editor:_0x23a3d1}=this,_0x2561d5=_0x23a3d1['plugins']['get'](c),_0x90a2a2=_0x2561d5['getFootnotesDefinitionsObjectElement']();_0x90a2a2&&Number['isInteger'](_0x43c25c)&&_0x23a3d1['model']['change'](_0x35e3ea=>{_0x35e3ea['setAttribute']('footnotesListStart',_0x43c25c,_0x90a2a2),_0x2561d5['_updateFootnotesCounters'](_0x35e3ea);});}}class P extends _0x10c62d{static get['pluginName'](){return'FootnotesPropertiesEditing';}static get['requires'](){return[r,c];}static get['isOfficialPlugin'](){return!0x0;}static get['isPremiumPlugin'](){return!0x0;}['init'](){const {editor:_0x1d10cf}=this;_0x1d10cf['config']['define']('footnotes.footnotesProperties.defaultListStyle','decimal'),_0x1d10cf['config']['define']('footnotes.footnotesProperties.defaultStartIndex',0x1),_0x1d10cf['commands']['add']('footnotesStyle',new S(_0x1d10cf)),_0x1d10cf['commands']['add']('footnotesStart',new C(_0x1d10cf)),this['_defineSchema'](),this['_defineConverters'](),this['_defineFormatter'](),this['_definePostfixer']();}['_defineSchema'](){const {editor:_0x20973b}=this,{schema:_0x23cfc8}=_0x20973b['model'];_0x23cfc8['extend']('footnotesDefinitions',{'allowAttributes':['footnotesListStyle','footnotesListStart']});}['_defineConverters'](){const {editor:_0x53df7c}=this,{conversion:_0x2b9ca3,model:_0x319a1f}=_0x53df7c,{schema:_0x56ea0e}=_0x319a1f;_0x2b9ca3['for']('upcast')['add'](_0x37a507=>{_0x37a507['on']('element:ol',(_0x19fb87,_0xecf1d6,_0x3f83fa)=>{const _0x57ac81=_0xecf1d6['viewItem'],_0x597e06=_0xecf1d6['modelCursor']?.['parent'];_0x57ac81['hasClass']('footnotes-list')&&_0x597e06?.['is']('element','footnotesDefinitions')&&(function(_0x952e32,_0x21903d,_0x4c9de8,_0x2f0663){if(!_0x2f0663['checkAttribute'](_0x21903d,'footnotesListStart'))return;let _0x7626fa=0x1;const _0x9a4e20=_0x4c9de8['consumable']['consume'](_0x952e32,{'attributes':'start'});if(_0x9a4e20){const _0x6e1508=Number['parseInt'](_0x952e32['getAttribute']('start'),0xa);Number['isNaN'](_0x6e1508)||(_0x7626fa=_0x6e1508);}!_0x9a4e20&&_0x21903d['hasAttribute']('footnotesListStart')||_0x4c9de8['writer']['setAttribute']('footnotesListStart',_0x7626fa,_0x21903d);}(_0x57ac81,_0x597e06,_0x3f83fa,_0x56ea0e),function(_0x2324db,_0x4cfdfc,_0x1042a9,_0xf1017b){if(!_0xf1017b['checkAttribute'](_0x4cfdfc,'footnotesListStyle'))return;let _0x428b4d='decimal',_0x588cdb=!0x1;if(_0x1042a9['consumable']['consume'](_0x2324db,{'attributes':'type'})){const _0x3bb2e8={0x1:'decimal','a':'lower-alpha','A':'upper-alpha','i':'lower-roman','I':'upper-roman'}[_0x2324db['getAttribute']('type')];_0x3bb2e8&&(_0x428b4d=_0x3bb2e8),_0x588cdb=!0x0;}_0x1042a9['consumable']['consume'](_0x2324db,{'styles':'list-style-type'})&&(_0x428b4d=_0x2324db['getStyle']('list-style-type'),_0x588cdb=!0x0),!_0x588cdb&&_0x4cfdfc['hasAttribute']('footnotesListStyle')||_0x1042a9['writer']['setAttribute']('footnotesListStyle',_0x428b4d,_0x4cfdfc);}(_0x57ac81,_0x597e06,_0x3f83fa,_0x56ea0e));});}),_0x2b9ca3['for']('downcast')['add'](_0x2bba51=>{_0x2bba51['on']('attribute:footnotesListStart:footnotesDefinitions',(_0x9139,_0x336f79,_0x551b6b)=>{if(!_0x551b6b['consumable']['consume'](_0x336f79['item'],_0x9139['name']))return;const _0x2810d3=M(_0x336f79['item'],_0x551b6b['mapper']),{attributeNewValue:_0x16b4da}=_0x336f79;null==_0x16b4da||0x1===_0x16b4da?_0x551b6b['writer']['removeAttribute']('start',_0x2810d3):_0x551b6b['writer']['setAttribute']('start',String(_0x16b4da),_0x2810d3);}),_0x2bba51['on']('attribute:footnotesListStyle:footnotesDefinitions',(_0x56c377,_0x19d36a,_0x56bf4e)=>{if(!_0x56bf4e['consumable']['consume'](_0x19d36a['item'],_0x56c377['name']))return;const _0x9fe874=M(_0x19d36a['item'],_0x56bf4e['mapper']),{attributeNewValue:_0x427fa6}=_0x19d36a;_0x427fa6&&'decimal'!==_0x427fa6?_0x56bf4e['writer']['setStyle']('list-style-type',_0x427fa6,_0x9fe874):_0x56bf4e['writer']['removeStyle']('list-style-type',_0x9fe874);});});}['_definePostfixer'](){const {editor:_0x32b5ad}=this,{model:_0x356133}=_0x32b5ad,_0x18c9fa=_0x32b5ad['plugins']['get'](c),_0x1c1ff2=this['_getDefaultListStyle'](),_0x3714e0=this['_getDefaultStartIndex']();_0x356133['document']['registerPostFixer'](_0x4b200b=>{const _0x1b2824=_0x356133['document']['differ']['getChanges']();let _0x4cc298=!0x1;for(const _0x385fba of _0x1b2824){if('insert'!==_0x385fba['type']||'$text'===_0x385fba['name'])continue;const _0x481406=_0x356133['createRangeOn'](_0x385fba['position']['nodeAfter']);for(const _0xe969a4 of _0x481406['getItems']())_0xe969a4['is']('element','footnotesDefinitions')&&(!_0xe969a4['hasAttribute']('footnotesListStart')&&_0x356133['schema']['checkAttribute'](_0xe969a4,'footnotesListStart')&&(_0x4b200b['setAttribute']('footnotesListStart',_0x3714e0,_0xe969a4),_0x4cc298=!0x0),!_0xe969a4['hasAttribute']('footnotesListStyle')&&_0x356133['schema']['checkAttribute'](_0xe969a4,'footnotesListStyle')&&(_0x4b200b['setAttribute']('footnotesListStyle',_0x1c1ff2,_0xe969a4),_0x4cc298=!0x0));}return _0x4cc298&&_0x18c9fa['_updateFootnotesCounters'](_0x4b200b),_0x4cc298;});}['_defineFormatter'](){const {editor:_0x11a0e6}=this;_0x11a0e6['plugins']['get'](c)['setFootnoteFormatter'](_0x335840=>this['_formatFootnoteListValue'](_0x335840));}['_getDefaultListStyle'](){return this['editor']['config']['get']('footnotes.footnotesProperties.defaultListStyle');}['_getDefaultStartIndex'](){return this['editor']['config']['get']('footnotes.footnotesProperties.defaultStartIndex');}['_formatFootnoteListValue']({container:_0x1be1ee,value:_0x435445,digits:_0x3cc952}){const _0x1dca44=_0x1be1ee['getAttribute']('footnotesListStyle'),_0x4632b6=_0x1be1ee['getAttribute']('footnotesListStart'),_0x3a3ed6=Math['floor'](_0x435445)+(_0x4632b6??0x1)-0x1;switch(_0x1dca44){case'decimal-leading-zero':return function(_0x1a732a,_0x1db35b){return String(_0x1a732a)['padStart'](_0x1db35b,'0');}(_0x3a3ed6,Math['max'](0x2,_0x3cc952));case'lower-alpha':case'lower-latin':return N(_0x3a3ed6,!0x1);case'upper-alpha':case'upper-latin':return N(_0x3a3ed6,!0x0);case'lower-roman':return X(_0x3a3ed6,!0x1);case'upper-roman':return X(_0x3a3ed6,!0x0);default:return String(_0x3a3ed6);}}}function M(_0x444d09,_0x1f945b){const _0x14940f=_0x1f945b['toViewElement'](_0x444d09);return Array['from'](_0x14940f['getChildren']())['find'](_0x5d961d=>_0x5d961d['is']('element','ol')&&_0x5d961d['hasClass']('footnotes-list'));}function N(_0x22d42c,_0x4784ca){let _0x4a677f='',_0x3fdb1f=_0x22d42c;for(;_0x3fdb1f>0x0;){const _0x2567fb=(_0x3fdb1f-0x1)%0x1a;_0x4a677f=String['fromCharCode'](0x61+_0x2567fb)+_0x4a677f,_0x3fdb1f=Math['floor']((_0x3fdb1f-0x1)/0x1a);}return _0x4784ca?_0x4a677f['toUpperCase']():_0x4a677f;}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(_0x2f8f65,_0x4d6410){let _0x16f4ab='',_0x1d2134=_0x2f8f65;for(const {value:_0x5d5efa,numeral:_0x4e1028}of V)for(;_0x1d2134>=_0x5d5efa;)_0x16f4ab+=_0x4e1028,_0x1d2134-=_0x5d5efa;return _0x4d6410?_0x16f4ab:_0x16f4ab['toLowerCase']();}class H extends _0x3ce7d9{['children'];['stylesView']=null;['additionalProperties']=null;['startIndexFieldView']=null;['focusTracker']=new ot();['keystrokes']=new rt();['focusables']=new _0x12295b();['focusCycler'];constructor(_0x45a0c0,{styleButtonViews:_0x11dd85,styleGridAriaLabel:_0x4db658}){super(_0x45a0c0),(this['focusCycler']=new _0x2fdb71({'focusables':this['focusables'],'focusTracker':this['focusTracker'],'keystrokeHandler':this['keystrokes'],'actions':{'focusPrevious':'shift\x20+\x20tab','focusNext':'tab'}}),this['children']=this['createCollection'](),this['stylesView']=this['_appendStylesView'](_0x11dd85,_0x4db658),[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 _0x20c224 of this['stylesView']['children'])this['stylesView']['focusTracker']['add'](_0x20c224['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 _0x1e9bad=_0x1f35a4=>_0x1f35a4['stopPropagation']();this['keystrokes']['set']('arrowright',_0x1e9bad),this['keystrokes']['set']('arrowleft',_0x1e9bad),this['keystrokes']['set']('arrowup',_0x1e9bad),this['keystrokes']['set']('arrowdown',_0x1e9bad);}this['keystrokes']['listenTo'](this['element']);}['focus'](){this['focusCycler']['focusFirst']();}['focusLast'](){this['focusCycler']['focusLast']();}['destroy'](){super['destroy'](),this['focusTracker']['destroy'](),this['keystrokes']['destroy']();}['_appendStylesView'](_0x292041,_0x2aed9e){const _0x2eee58=new _0x3ce7d9(this['locale']);return _0x2eee58['children']=_0x2eee58['createCollection'](),_0x2eee58['children']['addMany'](_0x292041),_0x2eee58['setTemplate']({'tag':'div','attributes':{'aria-label':_0x2aed9e,'class':['ck','ck-footnotes-definitions-styles-list']},'children':_0x2eee58['children']}),_0x2eee58['children']['delegate']('execute')['to'](this),_0x2eee58['focus']=function(){for(const _0x4d57d0 of this['children'])if(_0x4d57d0 instanceof _0x3a1411&&_0x4d57d0['isOn'])return void _0x4d57d0['focus']();this['children']['first']['focus']();},_0x2eee58['focusTracker']=new ot(),_0x2eee58['keystrokes']=new rt(),_0x2eee58['render'](),_0x2eee58['keystrokes']['listenTo'](_0x2eee58['element']),this['children']['add'](_0x2eee58),_0x2eee58;}['_appendAdditionalPropertiesCollapsibleView'](){const {t:t}=this['locale'],_0x5e2866=this['_createStartIndexPropertyView'](),_0x214a42=[_0x5e2866],_0x2760ab=new st(this['locale'],_0x214a42);return _0x2760ab['set']({'label':t('Footnotes\x20properties'),'isCollapsed':!0x0}),_0x2760ab['buttonView']['bind']('isEnabled')['toMany'](_0x214a42,'isEnabled',(..._0x46a611)=>_0x46a611['some'](_0x1ca638=>_0x1ca638)),_0x2760ab['buttonView']['on']('change:isEnabled',(_0x5d67d1,_0x51ae70,_0x4ef70e)=>{_0x4ef70e||(_0x2760ab['isCollapsed']=!0x0);}),this['children']['add'](_0x2760ab),[_0x5e2866,_0x2760ab];}['_createStartIndexPropertyView'](){const {t:t}=this['locale'],_0x12add0=new it(this['locale'],et);return _0x12add0['set']({'label':t('Footnotes\x20start\x20at'),'class':'ck-footnotes-definitions-properties__start-index'}),_0x12add0['fieldView']['set']({'min':0x0,'max':Math['pow'](0x2,0x1e),'step':0x1,'value':0x1,'inputMode':'numeric'}),_0x12add0['fieldView']['on']('input',()=>{const _0x56197e=_0x12add0['fieldView']['element'],_0x89765a=_0x56197e['valueAsNumber'];Number['isNaN'](_0x89765a)?_0x12add0['errorText']=t('Invalid\x20footnotes\x20start\x20index\x20value.'):_0x56197e['checkValidity']()?this['fire']('footnotesListStart',{'startIndex':_0x89765a}):_0x12add0['errorText']=t(_0x89765a<0x0?'Footnotes\x20start\x20index\x20must\x20be\x20greater\x20than\x200.':'Footnotes\x20start\x20index\x20is\x20too\x20large.');}),_0x12add0;}}class j extends _0x10c62d{static get['pluginName'](){return'FootnotesPropertiesUI';}static get['requires'](){return[_0x2a8da0,_0x10637b];}static get['isOfficialPlugin'](){return!0x0;}static get['isPremiumPlugin'](){return!0x0;}['init'](){const {editor:_0x289d7f}=this,{componentFactory:_0x7fa81a}=_0x289d7f['ui'];_0x289d7f['config']['define']('footnotes.footnotesProperties.toolbar',['footnotesStyle']),_0x7fa81a['add']('footnotesStyle',function(_0x4028f7){return _0xcc9c9c=>{const {t:t}=_0xcc9c9c,_0x4b369d=_0x4028f7['commands']['get']('footnotesStyle'),_0x133511=_0x50413e(_0xcc9c9c),{buttonView:_0x5547cc}=_0x133511;return _0x133511['class']='ck-footnotes-styles-dropdown',_0x133511['bind']('isEnabled')['to'](_0x4b369d,'isEnabled'),_0x5547cc['set']({'label':t('Footnotes\x20style'),'icon':_0x435eda,'tooltip':!0x0}),_0x133511['once']('change:isOpen',()=>{const _0x91d1be=function({editor:_0x2a0b31,dropdownView:_0x274e0e}){const {t:t}=_0x2a0b31['locale'],_0x4393a4=t('Footnotes\x20definitions\x20styles'),_0x3e3e12=function(_0x51100a){const t=_0x51100a['locale']['t'],_0x12386d=[{'label':t('Toggle\x20the\x20decimal\x20footnotes\x20style'),'tooltip':t('Decimal\x20footnotes'),'style':'decimal','icon':_0x521184},{'label':t('Toggle\x20the\x20decimal\x20with\x20leading\x20zero\x20footnotes\x20style'),'tooltip':t('Decimal\x20footnotes\x20with\x20leading\x20zero'),'style':'decimal-leading-zero','icon':_0x9fa031},{'label':t('Toggle\x20the\x20lower–roman\x20footnotes\x20style'),'tooltip':t('Lower–roman\x20footnotes'),'style':'lower-roman','icon':_0x305c0c},{'label':t('Toggle\x20the\x20upper–roman\x20footnotes\x20style'),'tooltip':t('Upper-roman\x20footnotes'),'style':'upper-roman','icon':_0x24576c},{'label':t('Toggle\x20the\x20lower–latin\x20footnotes\x20style'),'tooltip':t('Lower-latin\x20footnotes'),'style':'lower-latin','icon':_0x24f8d8},{'label':t('Toggle\x20the\x20upper–latin\x20footnotes\x20style'),'tooltip':t('Upper-latin\x20footnotes'),'style':'upper-latin','icon':_0x4ec5ab}];return _0x12386d['map'](function(_0xa7be9b){const _0x1c2b13=_0xa7be9b['locale'];return({label:_0xab912b,icon:_0x3b8f7d,tooltip:_0x15d9ea,style:_0x53c51f})=>{const _0x3c44f4=_0xa7be9b['commands']['get']('footnotesStyle'),_0x18f52c=new _0x3a1411(_0x1c2b13);return _0x18f52c['set']({'label':_0xab912b,'icon':_0x3b8f7d,'tooltip':_0x15d9ea}),_0x18f52c['bind']('isOn')['to'](_0x3c44f4,'value',_0x1e053e=>_0x1e053e===_0x53c51f),_0x18f52c['bind']('isEnabled')['to'](_0x3c44f4,'isEnabled'),_0x18f52c['on']('execute',()=>{_0xa7be9b['execute']('footnotesStyle',{'value':_0x53c51f}),_0xa7be9b['editing']['view']['focus']();}),_0x18f52c;};}(_0x51100a));}(_0x2a0b31),_0xa966b2=new H(_0x2a0b31['locale'],{'styleGridAriaLabel':_0x4393a4,'styleButtonViews':_0x3e3e12});return _0xa966b2['delegate']('execute')['to'](_0x274e0e),_0xa966b2['on']('footnotesListStart',(_0x5ec85a,_0x32dca9)=>{_0x2a0b31['execute']('footnotesStart',{'value':_0x32dca9['startIndex']});}),_0xa966b2;}({'editor':_0x4028f7,'dropdownView':_0x133511});_0x133511['panelView']['children']['add'](_0x91d1be);}),_0x133511;};}(_0x289d7f));}['afterInit'](){const {editor:_0x14ab85}=this,{t:t}=_0x14ab85['locale'],_0x25421d=_0x14ab85['plugins']['get'](_0x10637b),{defaultPositions:_0x41fae6}=_0x49ba2f;_0x25421d['register']('footnotesDefinitions',{'ariaLabel':t('Footnotes\x20definitions\x20toolbar'),'items':_0x14ab85['config']['get']('footnotes.footnotesProperties.toolbar'),'balloonClassName':'ck-footnotes-style-balloon\x20ck-toolbar-container','getRelatedElement':_0x307b7d=>{let _0x262803=_0x307b7d['getFirstPosition']()?.['parent'];return _0x262803?.['is']('$text')&&(_0x262803=_0x262803['parent']),_0x262803?.['is']('element')?_0x262803['findAncestor'](J):null;},'positions':[_0x41fae6['southArrowNorth'],_0x41fae6['southArrowNorthMiddleWest'],_0x41fae6['southArrowNorthMiddleEast'],_0x41fae6['southArrowNorthWest'],_0x41fae6['southArrowNorthEast'],_0x41fae6['northArrowSouth'],_0x41fae6['northArrowSouthMiddleWest'],_0x41fae6['northArrowSouthMiddleEast'],_0x41fae6['northArrowSouthWest'],_0x41fae6['northArrowSouthEast'],_0x41fae6['viewportStickyNorth']]});}}class ft extends _0x10c62d{static get['pluginName'](){return'FootnotesProperties';}static get['requires'](){return[P,j];}static get['isOfficialPlugin'](){return!0x0;}static get['isPremiumPlugin'](){return!0x0;}}export{lt as Footnotes,e as FootnotesClipboard,r as FootnotesEditing,ft as FootnotesProperties,P as FootnotesPropertiesEditing,j as FootnotesPropertiesUI,C as FootnotesStartCommand,S as FootnotesStyleCommand,c as FootnotesTracker,i as FootnotesUI,m as InsertFootnoteCommand};
|
package/dist/translations/af.js
CHANGED
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
export default{'af':{'dictionary':{'Footnote':'','Footnotes':'','Footnotes\x20properties':'','Footnotes\x20start\x20at':'','Invalid\x20footnotes\x20start\x20index\x20value.':'','Footnotes\x20start\x20index\x20is\x20too\x20large.':'','Footnotes\x20start\x20index\x20must\x20be\x20greater\x20than\x200.':'','Footnote\x20%0.\x20Press\x20ENTER\x20to\x20jump\x20to\x20footnote\x20definition.':'','Footnote\x20content.':'','Footnotes\x20definitions\x20styles':'','Footnotes\x20definitions\x20toolbar':'','Insert\x20footnote':'','Footnotes\x20style':'','Toggle\x20the\x20decimal\x20footnotes\x20style':'','Decimal\x20footnotes':'','Toggle\x20the\x20decimal\x20with\x20leading\x20zero\x20footnotes\x20style':'','Decimal\x20footnotes\x20with\x20leading\x20zero':'','Lower–roman\x20footnotes':'','Upper-roman\x20footnotes':'','Lower-latin\x20footnotes':'','Upper-latin\x20footnotes':'','Toggle\x20the\x20lower–roman\x20footnotes\x20style':'','Toggle\x20the\x20upper–roman\x20footnotes\x20style':'','Toggle\x20the\x20lower–latin\x20footnotes\x20style':'','Toggle\x20the\x20upper–latin\x20footnotes\x20style':''},'getPluralForm':
|
|
23
|
+
export default{'af':{'dictionary':{'Footnote':'','Footnotes':'','Footnotes\x20properties':'','Footnotes\x20start\x20at':'','Invalid\x20footnotes\x20start\x20index\x20value.':'','Footnotes\x20start\x20index\x20is\x20too\x20large.':'','Footnotes\x20start\x20index\x20must\x20be\x20greater\x20than\x200.':'','Footnote\x20%0.\x20Press\x20ENTER\x20to\x20jump\x20to\x20footnote\x20definition.':'','Footnote\x20content.':'','Footnotes\x20definitions\x20styles':'','Footnotes\x20definitions\x20toolbar':'','Insert\x20footnote':'','Footnotes\x20style':'','Toggle\x20the\x20decimal\x20footnotes\x20style':'','Decimal\x20footnotes':'','Toggle\x20the\x20decimal\x20with\x20leading\x20zero\x20footnotes\x20style':'','Decimal\x20footnotes\x20with\x20leading\x20zero':'','Lower–roman\x20footnotes':'','Upper-roman\x20footnotes':'','Lower-latin\x20footnotes':'','Upper-latin\x20footnotes':'','Toggle\x20the\x20lower–roman\x20footnotes\x20style':'','Toggle\x20the\x20upper–roman\x20footnotes\x20style':'','Toggle\x20the\x20lower–latin\x20footnotes\x20style':'','Toggle\x20the\x20upper–latin\x20footnotes\x20style':''},'getPluralForm':_0x2b694e=>0x1!=_0x2b694e}};
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
(
|
|
23
|
+
(_0x4e853b=>{const {af:{dictionary:_0x35f72f,getPluralForm:_0x4d2564}}={'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':_0x5c6358=>0x1!=_0x5c6358}};_0x4e853b['af']||={'dictionary':{},'getPluralForm':null},_0x4e853b['af']['dictionary']=Object['assign'](_0x4e853b['af']['dictionary'],_0x35f72f),_0x4e853b['af']['getPluralForm']=_0x4d2564;})(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':_0x11bfc1=>0x0==_0x11bfc1?0x0:0x1==_0x11bfc1?0x1:0x2==_0x11bfc1?0x2:_0x11bfc1%0x64>=0x3&&_0x11bfc1%0x64<=0xa?0x3:_0x11bfc1%0x64>=0xb?0x4:0x5}};
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
(
|
|
23
|
+
(_0x4a3128=>{const {ar:{dictionary:_0x16d151,getPluralForm:_0x18c47b}}={'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':_0x5d1c3b=>0x0==_0x5d1c3b?0x0:0x1==_0x5d1c3b?0x1:0x2==_0x5d1c3b?0x2:_0x5d1c3b%0x64>=0x3&&_0x5d1c3b%0x64<=0xa?0x3:_0x5d1c3b%0x64>=0xb?0x4:0x5}};_0x4a3128['ar']||={'dictionary':{},'getPluralForm':null},_0x4a3128['ar']['dictionary']=Object['assign'](_0x4a3128['ar']['dictionary'],_0x16d151),_0x4a3128['ar']['getPluralForm']=_0x18c47b;})(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':_0xeb60ce=>0x1!=_0xeb60ce}};
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
(
|
|
23
|
+
(_0x12b014=>{const {ast:{dictionary:_0x561816,getPluralForm:_0x3f9730}}={'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':_0x42d823=>0x1!=_0x42d823}};_0x12b014['ast']||={'dictionary':{},'getPluralForm':null},_0x12b014['ast']['dictionary']=Object['assign'](_0x12b014['ast']['dictionary'],_0x561816),_0x12b014['ast']['getPluralForm']=_0x3f9730;})(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':_0x41b2e7=>0x1!=_0x41b2e7}};
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
(
|
|
23
|
+
(_0xf9254f=>{const {az:{dictionary:_0x38cb7b,getPluralForm:_0x41dd8e}}={'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':_0x34709f=>0x1!=_0x34709f}};_0xf9254f['az']||={'dictionary':{},'getPluralForm':null},_0xf9254f['az']['dictionary']=Object['assign'](_0xf9254f['az']['dictionary'],_0x38cb7b),_0xf9254f['az']['getPluralForm']=_0x41dd8e;})(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':_0x38cc0b=>_0x38cc0b%0xa==0x1&&_0x38cc0b%0x64!=0xb?0x0:_0x38cc0b%0xa>=0x2&&_0x38cc0b%0xa<=0x4&&(_0x38cc0b%0x64<0xa||_0x38cc0b%0x64>=0x14)?0x1:0x2}};
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
(
|
|
23
|
+
(_0x5fac72=>{const {be:{dictionary:_0x5d8027,getPluralForm:_0xfba1e7}}={'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':_0x596e3d=>_0x596e3d%0xa==0x1&&_0x596e3d%0x64!=0xb?0x0:_0x596e3d%0xa>=0x2&&_0x596e3d%0xa<=0x4&&(_0x596e3d%0x64<0xa||_0x596e3d%0x64>=0x14)?0x1:0x2}};_0x5fac72['be']||={'dictionary':{},'getPluralForm':null},_0x5fac72['be']['dictionary']=Object['assign'](_0x5fac72['be']['dictionary'],_0x5d8027),_0x5fac72['be']['getPluralForm']=_0xfba1e7;})(window['CKEDITOR_TRANSLATIONS']||={});
|