@ckeditor/ckeditor5-footnotes 0.0.0-nightly-next-20251217.0 → 0.0.0-nightly-next-20251218.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 +9 -9
- package/src/commands/insertfootnotecommand.js +1 -1
- package/src/footnotes.js +1 -1
- package/src/footnotesclipboard.js +1 -1
- package/src/footnotesediting.js +1 -1
- package/src/footnotesproperties/commands/footnotesstartcommand.js +1 -1
- package/src/footnotesproperties/commands/footnotesstylecommand.js +1 -1
- package/src/footnotesproperties/footnotespropertiesconfig.js +1 -1
- package/src/footnotesproperties/footnotespropertiesediting.js +1 -1
- package/src/footnotesproperties/footnotespropertiesui.js +1 -1
- package/src/footnotesproperties/ui/footnotesdefinitionspropertiesview.js +1 -1
- package/src/footnotesproperties.js +1 -1
- package/src/footnotestracker.js +1 -1
- package/src/footnotesui.js +1 -1
- package/src/index.js +1 -1
- package/src/modelelementtracker.js +1 -1
package/dist/index.js
CHANGED
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
import{Plugin as _0x537dd2,Command as _0x508953}from'@ckeditor/ckeditor5-core/dist/index.js';import{toWidget as _0x5275c6,isWidget as _0x3a0b49,toWidgetEditable as _0x436292,WidgetToolbarRepository as _0x33ead7}from'@ckeditor/ckeditor5-widget/dist/index.js';import{uid as _0x5ebeb3,logWarning as _0x5c00f7,FocusTracker as ot,KeystrokeHandler as rt,global as nt}from'@ckeditor/ckeditor5-utils/dist/index.js';import{PointerObserver as _0x1648ea,ClickObserver as _0x4ba397}from'@ckeditor/ckeditor5-engine/dist/index.js';import{ClipboardPipeline as _0x23f21d}from'@ckeditor/ckeditor5-clipboard/dist/index.js';import{MenuBarMenuListItemButtonView as _0x4c58a5,ButtonView as _0x17f526,View as _0xb682b,ViewCollection as _0x3f4e28,FocusCycler as _0x13a3ed,addKeyboardHandlingForGrid as tt,CollapsibleView as st,LabeledFieldView as it,createLabeledInputNumber as et,ContextualBalloon as _0x120893,BalloonPanelView as _0x1b4c01,createDropdown as _0x3387b9}from'@ckeditor/ckeditor5-ui/dist/index.js';import{IconFootnote as _0x1c96f4,IconListStyleDecimal as _0x2b46fd,IconListStyleDecimalLeadingZero as _0x1bfc9f,IconListStyleLowerRoman as _0x2ab1af,IconListStyleUpperRoman as _0x459c39,IconListStyleLowerLatin as _0x169eff,IconListStyleUpperLatin as _0x2a64ff}from'@ckeditor/ckeditor5-icons/dist/index.js';class F{['_model'];['_elementName'];['_getElementKey'];['_trackedElements']=new Map();constructor(_0x4fbff9,_0x39e05a){this['_model']=_0x4fbff9,this['_elementName']=_0x39e05a['elementName'],this['_getElementKey']=_0x39e05a['getElementKey'];}['reset'](){this['_trackedElements']['clear']();}['getChanges'](_0x5dc7d4){const _0x301690=new Set(),_0x26715b=new Map();for(const _0x43bb9c of _0x5dc7d4){if('insert'===_0x43bb9c['type']&&'$text'!==_0x43bb9c['name']&&_0x43bb9c['position']['nodeAfter']){const _0xdff1f3=this['_model']['createRangeOn'](_0x43bb9c['position']['nodeAfter']);for(const _0xec84ee of _0xdff1f3['getItems']()){if(!_0xec84ee['is']('element',this['_elementName']))continue;const _0x59a4ea=this['_getElementKey'](_0xec84ee);_0x26715b['has'](_0x59a4ea)||_0x26715b['set'](_0x59a4ea,[]),_0x26715b['get'](_0x59a4ea)['push'](_0xec84ee);}}if('remove'===_0x43bb9c['type']&&_0x43bb9c['name']===this['_elementName']){const _0x4540d8=this['_getElementKey']({'getAttribute':_0xc9126=>_0x43bb9c['attributes']['get'](_0xc9126)});_0x301690['add'](_0x4540d8);}}for(const [_0x57135b,_0x39a310]of this['_trackedElements'])'$graveyard'===_0x39a310['root']['rootName']&&_0x301690['add'](_0x57135b);for(const _0x552a7f of _0x301690)this['_trackedElements']['delete'](_0x552a7f);for(const [_0x41b897,_0x145ce1]of _0x26715b)this['_trackedElements']['set'](_0x41b897,_0x145ce1[_0x145ce1['length']-0x1]);const _0x29df14=new Set();for(const [_0x386144,_0x24327d]of _0x26715b)_0x301690['has'](_0x386144)&&(_0x29df14['add'](_0x24327d[0x0]),_0x24327d['length']>0x1?_0x26715b['set'](_0x386144,_0x24327d['slice'](0x1)):_0x26715b['delete'](_0x386144),_0x301690['delete'](_0x386144));return{'removed':Array['from'](_0x301690),'inserted':Array['from'](_0x26715b['values']())['flat'](),'moved':Array['from'](_0x29df14)};}}class f extends _0x537dd2{['_footnotes']=[];['_footnotesDefinitions']=null;['_footnoteFormatter']=null;['_footnoteDefsContainerTracker'];['_footnoteRefsTracker'];['_footnoteDefsTracker'];static get['pluginName'](){return'FootnotesTracker';}static get['isOfficialPlugin'](){return!0x0;}static get['isPremiumPlugin'](){return!0x0;}constructor(_0x40d4a3){super(_0x40d4a3),this['_footnoteDefsContainerTracker']=new F(this['editor']['model'],{'elementName':'footnotesDefinitions','getElementKey':()=>'singleton'}),this['_footnoteRefsTracker']=new F(this['editor']['model'],{'elementName':'footnoteRef','getElementKey':_0x5d085f=>_0x5d085f['getAttribute']('footnoteId')}),this['_footnoteDefsTracker']=new F(this['editor']['model'],{'elementName':'footnoteDefinition','getElementKey':_0x1fe9a1=>_0x1fe9a1['getAttribute']('footnoteId')});}['init'](){const {editor:_0x54c603}=this,{model:_0x14ae3b,data:_0x65daeb}=_0x54c603;_0x14ae3b['document']['registerPostFixer'](_0x4c8784=>{const _0x3fd642=_0x14ae3b['document']['differ']['getChanges']();let _0x11fd42=!0x1;return this['_handleFootnotesDefinitionsObjectChanges'](_0x4c8784,_0x3fd642)&&(_0x11fd42=!0x0),this['_handleFootnoteDefinitionsChanges'](_0x4c8784,_0x3fd642)&&(_0x11fd42=!0x0),this['_handleFootnoteReferencesChanges'](_0x4c8784,_0x3fd642)&&(_0x11fd42=!0x0),this['_ensureFootnotesReferencesHaveProperOrder'](_0x4c8784)&&(_0x11fd42=!0x0),this['_handleFootnotesDefinitionsObjectSync'](_0x4c8784)&&(_0x11fd42=!0x0),this['_sortFootnoteDefinitions'](_0x4c8784)&&(_0x11fd42=!0x0),_0x11fd42;}),this['listenTo'](_0x14ae3b['document'],'change:data',()=>{_0x14ae3b['enqueueChange']({'isUndoable':!0x1},_0x5727a0=>{this['_ensureFootnotesDefinitionsContainerExists'](_0x5727a0);});},{'priority':'low'}),this['listenTo'](_0x65daeb,'set',()=>{this['_footnotes']=[],this['_footnoteDefsContainerTracker']['reset'](),this['_footnoteRefsTracker']['reset'](),this['_footnoteDefsTracker']['reset']();},{'priority':'high'});}['getFootnotesDefinitionsObjectElement'](){return this['_footnotesDefinitions'];}['getFootnote'](_0x3dbe67){return this['_footnotes']['find'](_0x494a22=>_0x494a22['id']===_0x3dbe67)||null;}['getFootnotes'](){return Array['from'](this['_footnotes']);}['getFootnotesFormatter'](){return this['_footnoteFormatter'];}['setFootnoteFormatter'](_0x4e69bb){this['_footnoteFormatter']=_0x4e69bb;}['_updateFootnotesCounters'](_0x5de047,_0x483b6c=0x0){let _0x16f533=!0x1;for(let _0xf72a21=_0x483b6c;_0xf72a21<this['_footnotes']['length'];_0xf72a21++)this['_updateFootnoteRefCounter'](_0x5de047,_0xf72a21)&&(_0x16f533=!0x0);return _0x16f533;}['_insertEmptyFootnotesDefinitionsContainer'](_0x30aa2a,_0x60e056){const _0x1213ae=_0x30aa2a['createElement']('footnotesDefinitions',{});return _0x30aa2a['append'](_0x1213ae,_0x60e056),this['_footnotesDefinitions']=_0x1213ae,_0x1213ae;}['_ensureFootnotesDefinitionsContainerExists'](_0x50c893){if(!this['_footnotes']['length']||this['_footnotesDefinitions'])return;const _0x4bbd3e=this['_footnotes'][0x0]['reference']['root'],_0x2c8464=this['_insertEmptyFootnotesDefinitionsContainer'](_0x50c893,_0x4bbd3e);for(const _0x1e77cc of this['_footnotes'])_0x1e77cc['definition']['parent']||_0x50c893['insert'](_0x1e77cc['definition'],_0x2c8464,'end');this['_updateFootnotesCounters'](_0x50c893);}['_handleFootnotesDefinitionsObjectChanges'](_0x5a27b9,_0x35932f){let _0x5e53eb=!0x1;const {inserted:_0x5286f6,removed:_0x2935f1,moved:_0x42b0b9}=this['_footnoteDefsContainerTracker']['getChanges'](_0x35932f);if(_0x42b0b9['length']&&(this['_footnotesDefinitions']=_0x42b0b9[0x0]),_0x5286f6['length']){if(_0x5286f6['length']>0x1||this['_footnotesDefinitions']&&_0x5286f6['some'](_0x1fe55f=>_0x1fe55f!==this['_footnotesDefinitions'])){const _0x4674c5=_0x5a27b9['createElement']('footnotesDefinitions',{}),_0x4b57c4=[];this['_footnotesDefinitions']&&_0x4b57c4['push'](this['_footnotesDefinitions']),_0x4b57c4['push'](..._0x5286f6),_0x5a27b9['insert'](_0x4674c5,_0x4b57c4[0x0],'before');for(const _0x5e3be2 of _0x4b57c4)_0x5a27b9['move'](_0x5a27b9['createRangeIn'](_0x5e3be2),_0x5a27b9['createPositionAt'](_0x4674c5,'end')),_0x5a27b9['remove'](_0x5e3be2);this['_footnotesDefinitions']=_0x4674c5,this['_updateFootnotesCounters'](_0x5a27b9),_0x5e53eb=!0x0;}else this['_footnotesDefinitions']=_0x5286f6[0x0];}if(_0x2935f1['length']&&'$graveyard'===this['_footnotesDefinitions']?.['root']['rootName']){for(const _0x33b435 of this['_footnotes'])_0x5a27b9['remove'](_0x33b435['reference']),_0x5e53eb=!0x0;this['_footnotes']=[],this['_footnotesDefinitions']=null;}return _0x5e53eb;}['_handleFootnoteDefinitionsChanges'](_0x48a87e,_0xcf4e1d){let _0x588157=!0x1;const _0x51eb86=this['editor']['config']['get']('footnotes.multiBlock'),{inserted:_0x5bc6b8,moved:_0x47b247}=this['_footnoteDefsTracker']['getChanges'](_0xcf4e1d);for(const _0x474886 of[..._0x47b247,..._0x5bc6b8]){const _0x152838=_0x474886['getAttribute']('footnoteId'),_0xf50660=this['getFootnote'](_0x152838);_0xf50660&&(_0xf50660['definition']=_0x474886),_(_0x48a87e,_0x51eb86,_0x474886)&&(_0x588157=!0x0);}return _0x588157;}['_handleFootnoteReferencesChanges'](_0x12e493,_0x13b525){let _0x578602=!0x1;const {removed:_0x295732,inserted:_0x25c3da,moved:_0xcff3d7}=this['_footnoteRefsTracker']['getChanges'](_0x13b525);for(const _0x4c76d6 of _0x295732)this['_handleRemoveFootnoteReferenceById'](_0x12e493,_0x4c76d6)&&(_0x578602=!0x0);for(const _0x2c99d0 of _0x25c3da)this['_handleInsertedFootnoteReference'](_0x12e493,_0x2c99d0)&&(_0x578602=!0x0);for(const _0x258822 of _0xcff3d7)this['_handleMovedFootnoteReference'](_0x12e493,_0x258822)&&(_0x578602=!0x0);return _0x578602;}['_handleFootnotesDefinitionsObjectSync'](_0x379ac6){if(!this['_footnotesDefinitions'])return!0x1;let _0x6b18db=!0x1;if(this['_footnotesDefinitions']['childCount']!==this['_footnotes']['length']){const _0x17bcea=[];for(const _0xf2b067 of this['_footnotesDefinitions']['getChildren']()){const _0x2266ee=_0xf2b067['getAttribute']('footnoteId');this['getFootnote'](_0x2266ee)||(_0x17bcea['unshift'](_0xf2b067),_0x6b18db=!0x0);}for(const _0x5d01b4 of _0x17bcea)_0x379ac6['remove'](_0x5d01b4);}const _0x2e5e2a=new Set(),_0x1a2e6f=[];for(const _0x229690 of this['_footnotesDefinitions']['getChildren']()){const _0x43c4bd=_0x229690['getAttribute']('footnoteId');_0x2e5e2a['has'](_0x43c4bd)?(_0x1a2e6f['unshift'](_0x229690),_0x6b18db=!0x0):_0x2e5e2a['add'](_0x43c4bd);}for(const _0x12dba2 of _0x1a2e6f)_0x379ac6['remove'](_0x12dba2);return this['_footnotesDefinitions']['childCount']||(_0x379ac6['remove'](this['_footnotesDefinitions']),this['_footnotesDefinitions']=null,_0x6b18db=!0x0),_0x6b18db;}['_handleInsertedFootnoteReference'](_0x14b892,_0x42eeba){if(this['_footnotes']['find'](_0x24f1e2=>_0x24f1e2['reference']===_0x42eeba))return!0x1;let _0x375f9c=!0x1;const _0x43dd65=_0x42eeba['getAttribute']('footnoteId'),_0x4a606a=this['_footnotes']['findIndex'](_0x1f9e7b=>_0x1f9e7b['id']===_0x43dd65);-0x1!==_0x4a606a&&(_0x14b892['remove'](this['_footnotes'][_0x4a606a]['reference']),this['_footnotes']['splice'](_0x4a606a,0x1),_0x375f9c=!0x0);let _0x22f326=this['_footnotesDefinitions']?function(_0x304d08,_0xcc5c5b){for(const _0x267558 of _0x304d08['getChildren']())if(_0x267558['getAttribute']('footnoteId')===_0xcc5c5b)return _0x267558;return null;}(this['_footnotesDefinitions'],_0x43dd65):null;_0x22f326||(_0x22f326=_0x14b892['createElement']('footnoteDefinition',{'footnoteId':_0x43dd65}),this['_footnotesDefinitions']&&(_0x14b892['insert'](_0x22f326,this['_footnotesDefinitions'],'end'),_0x375f9c=!0x0));const _0x59f0de={'id':_0x43dd65,'reference':_0x42eeba,'definition':_0x22f326},_0x2e061d=I(this['editor']['model'],this['_footnotes'],_0x42eeba);this['_footnotes']['splice'](_0x2e061d,0x0,_0x59f0de);let _0x426bb6=_0x2e061d;return-0x1!==_0x4a606a&&(_0x426bb6=Math['min'](_0x2e061d,_0x4a606a)),this['_updateFootnotesCounters'](_0x14b892,_0x426bb6)&&(_0x375f9c=!0x0),_0x375f9c;}['_handleRemoveFootnoteReferenceById'](_0x273c98,_0x5e8345){const _0x80b3a6=this['_footnotes']['findIndex'](_0x5ea2ca=>_0x5ea2ca['id']===_0x5e8345);if(-0x1===_0x80b3a6)return!0x1;let _0x1eb502=!0x1;const _0x280932=this['_footnotes'][_0x80b3a6];return'$graveyard'!==_0x280932['definition']['root']['rootName']&&(_0x273c98['remove'](_0x280932['definition']),_0x1eb502=!0x0),this['_footnotes']['splice'](_0x80b3a6,0x1),this['_updateFootnotesCounters'](_0x273c98,_0x80b3a6)&&(_0x1eb502=!0x0),_0x1eb502;}['_handleMovedFootnoteReference'](_0x2b1fef,_0x5bd5e){const _0x1ac65a=_0x5bd5e['getAttribute']('footnoteId'),_0x154558=this['_footnotes']['findIndex'](_0x10b55c=>_0x10b55c['id']===_0x1ac65a),_0x24f229=this['_footnotes'][_0x154558];let _0x4dc944=!0x1;_0x24f229['reference']=_0x5bd5e,this['_footnotes']['splice'](_0x154558,0x1);const _0xea11b=I(this['editor']['model'],this['_footnotes'],_0x5bd5e);return this['_footnotes']['splice'](_0xea11b,0x0,_0x24f229),this['_updateFootnotesCounters'](_0x2b1fef,Math['min'](_0x154558,_0xea11b))&&(_0x4dc944=!0x0),_0x4dc944;}['_updateFootnoteRefCounter'](_0x506ab5,_0x1a5da1){if(!this['_footnotesDefinitions'])return!0x1;const _0x10c637=this['_footnotes'][_0x1a5da1];let _0x14831a;return _0x14831a=this['_footnoteFormatter']?this['_footnoteFormatter']({'footnote':_0x10c637,'container':this['_footnotesDefinitions'],'digits':String(this['_footnotes']['length'])['length'],'value':_0x1a5da1+0x1}):String(_0x1a5da1+0x1),_0x10c637['reference']['getAttribute']('footnoteCounter')!=_0x14831a&&(_0x506ab5['setAttribute']('footnoteCounter',_0x14831a,_0x10c637['reference']),!0x0);}['_sortFootnoteDefinitions'](_0x3c4c54){if(!this['_footnotesDefinitions']||this['_footnotes']['length']<0x2)return!0x1;if(function(_0x106ecd,_0x5c10a1){if(_0x106ecd['length']!==_0x5c10a1['length'])return!0x1;for(let _0x214d1d=0x0;_0x214d1d<_0x106ecd['length'];_0x214d1d++)if(_0x106ecd[_0x214d1d]!==_0x5c10a1[_0x214d1d])return!0x1;return!0x0;}(this['_footnotes']['map'](_0x5e6f0f=>_0x5e6f0f['id']),Array['from'](this['_footnotesDefinitions']['getChildren']())['map'](_0x4fec8b=>_0x4fec8b['getAttribute']('footnoteId'))))return!0x1;let _0x373615=!0x1;for(let _0x5895a1=0x0;_0x5895a1<this['_footnotes']['length'];_0x5895a1++){const _0x105b55=this['_footnotes'][_0x5895a1],_0x2a2381=_0x3c4c54['createPositionBefore'](_0x105b55['definition']),_0x356ccc=_0x3c4c54['createPositionAt'](this['_footnotesDefinitions'],_0x5895a1);_0x2a2381['isEqual'](_0x356ccc)||(_0x3c4c54['move'](_0x3c4c54['createRangeOn'](_0x105b55['definition']),_0x356ccc),_0x373615=!0x0);}return _0x373615;}['_ensureFootnotesReferencesHaveProperOrder'](_0x412eac){if(!this['_footnotes']['length'])return!0x1;const {model:_0x21679d}=this['editor'];let _0x38ca1d=!0x1;for(let _0x43c786=0x0;_0x43c786<this['_footnotes']['length']-0x1;_0x43c786++){const _0x262919=this['_footnotes'][_0x43c786],_0x59bafa=this['_footnotes'][_0x43c786+0x1],_0x12dd60=_0x21679d['createPositionBefore'](_0x262919['reference']),_0x5bf926=_0x21679d['createPositionBefore'](_0x59bafa['reference']);'after'===_0x12dd60['compareWith'](_0x5bf926)&&(this['_handleMovedFootnoteReference'](_0x412eac,_0x262919['reference']),_0x43c786=-0x1,_0x38ca1d=!0x0);}return _0x38ca1d;}}function _(_0x5c65ca,_0x181ab6,_0x143263){if(_0x143263['childCount'])return!0x1;const _0x407a02=_0x181ab6?'paragraph':'footnoteInlineContent';return _0x5c65ca['insert'](_0x5c65ca['createElement'](_0x407a02),_0x143263),!0x0;}function I(_0x2b907a,_0x4a6fb5,_0x3d3f0f){if(0x0===_0x4a6fb5['length'])return 0x0;const _0x49cca1=_0x2b907a['createPositionBefore'](_0x3d3f0f);for(let _0x298a25=0x0;_0x298a25<_0x4a6fb5['length'];_0x298a25++){const _0x45e0a7=_0x4a6fb5[_0x298a25],_0x1586fe=_0x2b907a['createPositionBefore'](_0x45e0a7['reference']);if('before'===_0x49cca1['compareWith'](_0x1586fe))return _0x298a25;}const _0x542402=_0x3d3f0f['root'];let _0x4c2463=-0x1;for(let _0x5543ce=_0x4a6fb5['length']-0x1;_0x5543ce>=0x0;_0x5543ce--)if(_0x4a6fb5[_0x5543ce]['reference']['root']===_0x542402){_0x4c2463=_0x5543ce;break;}if(-0x1!==_0x4c2463)return _0x4c2463+0x1;const _0x48a8b7=_0x2b907a['document']['getRootNames'](),_0x4d7428=_0x48a8b7['indexOf'](_0x542402['rootName']),_0x2e7595=_0x48a8b7[_0x4d7428+0x1];if(_0x2e7595){for(let _0x3c3ef6=0x0;_0x3c3ef6<_0x4a6fb5['length'];_0x3c3ef6++)if(_0x4a6fb5[_0x3c3ef6]['reference']['root']['rootName']===_0x2e7595)return _0x3c3ef6;}return _0x4a6fb5['length'];}class m extends _0x508953{['refresh'](){const _0x42f94a=this['editor']['model']['document']['selection'],_0x344e0c=this['_getPositionToInsertFootnote'](_0x42f94a);this['isEnabled']=!!_0x344e0c;}['execute'](_0x204801){const {editor:_0x2d566b}=this,{model:_0x3ae17f}=_0x2d566b,{selection:_0x2c6258}=_0x3ae17f['document'],_0x2b65ce=this['_getPositionToInsertFootnote'](_0x2c6258);if(!_0x2b65ce)return;const _0x1337cf=_0x2d566b['plugins']['get']('FootnotesEditing'),_0x23c46b=_0x204801?.['footnoteId']??_0x5ebeb3();!function(_0x1cb473){return'string'==typeof _0x1cb473&&_0x1cb473['length']>0x0&&!/\s/['test'](_0x1cb473)&&!/^\d/['test'](_0x1cb473);}(_0x23c46b)?_0x5c00f7('insert-footnote-command-executed-with-invalid-id'):(_0x3ae17f['change'](_0x48355b=>{const _0x2d5408=_0x48355b['createElement']('footnoteRef',{'footnoteId':_0x23c46b});_0x3ae17f['insertObject'](_0x2d5408,_0x2b65ce,null);}),_0x1337cf['_moveSelectionToFootnoteDefinition'](_0x23c46b));}['_getPositionToInsertFootnote'](_0x5dccef){const {model:_0x3c1627}=this['editor'],{schema:_0x161c13}=_0x3c1627,_0x379323=_0x5dccef['getFirstRange']();for(const _0x5d5cdb of _0x379323['getItems']())if(_0x161c13['isBlock'](_0x5d5cdb)||_0x161c13['isObject'](_0x5d5cdb))return null;const _0x42a7d9=_0x379323['end'];return _0x161c13['checkChild'](_0x42a7d9,'footnoteRef')?_0x42a7d9:null;}}class r extends _0x537dd2{static get['pluginName'](){return'FootnotesEditing';}static get['requires'](){return[f];}static get['isOfficialPlugin'](){return!0x0;}static get['isPremiumPlugin'](){return!0x0;}['init'](){const {editor:_0x281f14}=this;_0x281f14['config']['define']('footnotes.multiBlock',!0x0),_0x281f14['commands']['add']('insertFootnote',new m(_0x281f14)),this['_defineSchema'](),this['_defineRefsConverters'](),this['_defineDefinitionsConverters'](),this['_defineDefinitionConverters'](),this['_defineBogusParagraphConverters'](),this['_defineKeyboardHandlers'](),this['_defineClickHandlers']();}['afterInit'](){!async function(_0x2c1c29){const _0x1f694d=_0x26ccb0([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]),_0x4d6ea5=0x47a28506,_0x4cabcc=0x47a5f92e^_0x4d6ea5,_0x306952=window[_0x26ccb0([0x44,0x61,0x74,0x65])][_0x26ccb0([0x6e,0x6f,0x77])](),_0xbda61=_0x2c1c29[_0x26ccb0([0x65,0x64,0x69,0x74,0x6f,0x72])],_0xecaf0f=new window[(_0x26ccb0([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0x45d0e9=>{_0xbda61[_0x26ccb0([0x6f,0x6e,0x63,0x65])](_0x26ccb0([0x72,0x65,0x61,0x64,0x79]),_0x45d0e9);}),_0x5e6b0a={[_0x26ccb0([0x6b,0x74,0x79])]:_0x26ccb0([0x45,0x43]),[_0x26ccb0([0x75,0x73,0x65])]:_0x26ccb0([0x73,0x69,0x67]),[_0x26ccb0([0x63,0x72,0x76])]:_0x26ccb0([0x50,0x2d,0x32,0x35,0x36]),[_0x26ccb0([0x78])]:_0x26ccb0([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]),[_0x26ccb0([0x79])]:_0x26ccb0([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]),[_0x26ccb0([0x61,0x6c,0x67])]:_0x26ccb0([0x45,0x53,0x32,0x35,0x36])},_0x1e0744=_0xbda61[_0x26ccb0([0x63,0x6f,0x6e,0x66,0x69,0x67])][_0x26ccb0([0x67,0x65,0x74])](_0x26ccb0([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x4b,0x65,0x79]));async function _0x106d7f(){let _0x437b0f,_0x49bdc2=null,_0x3d64d0=null;try{if(_0x1e0744==_0x26ccb0([0x47,0x50,0x4c]))return _0x26ccb0([0x4e,0x6f,0x74,0x41,0x6c,0x6c,0x6f,0x77,0x65,0x64]);if(_0x437b0f=_0x5be443(),!_0x437b0f)return _0x26ccb0([0x49,0x6e,0x76,0x61,0x6c,0x69,0x64]);return _0x437b0f[_0x26ccb0([0x75,0x73,0x61,0x67,0x65,0x45,0x6e,0x64,0x70,0x6f,0x69,0x6e,0x74])]&&(_0x3d64d0=_0x30e913(_0x437b0f[_0x26ccb0([0x75,0x73,0x61,0x67,0x65,0x45,0x6e,0x64,0x70,0x6f,0x69,0x6e,0x74])],_0x437b0f[_0x26ccb0([0x6a,0x74,0x69])])),await _0x439ac5()?_0x52bcaa()?_0x3a0683()?_0x26ccb0([0x45,0x78,0x70,0x69,0x72,0x65,0x64]):_0x40ffd3()?(_0x437b0f[_0x26ccb0([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x54,0x79,0x70,0x65])]==_0x26ccb0([0x65,0x76,0x61,0x6c,0x75,0x61,0x74,0x69,0x6f,0x6e])&&(_0x49bdc2=_0x501d1c(_0x26ccb0([0x45,0x76,0x61,0x6c,0x75,0x61,0x74,0x69,0x6f,0x6e,0x4c,0x69,0x6d,0x69,0x74]))),_0x437b0f[_0x26ccb0([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x54,0x79,0x70,0x65])]==_0x26ccb0([0x74,0x72,0x69,0x61,0x6c])&&(_0x49bdc2=_0x501d1c(_0x26ccb0([0x54,0x72,0x69,0x61,0x6c,0x4c,0x69,0x6d,0x69,0x74]))),await _0x2a7fd2()):_0x26ccb0([0x44,0x6f,0x6d,0x61,0x69,0x6e,0x4c,0x69,0x6d,0x69,0x74]):_0x26ccb0([0x4e,0x6f,0x74,0x41,0x6c,0x6c,0x6f,0x77,0x65,0x64]):_0x26ccb0([0x49,0x6e,0x76,0x61,0x6c,0x69,0x64]);}catch{return _0x26ccb0([0x49,0x6e,0x76,0x61,0x6c,0x69,0x64]);}function _0x3a0683(){const _0x241cc3=[_0x26ccb0([0x65,0x76,0x61,0x6c,0x75,0x61,0x74,0x69,0x6f,0x6e]),_0x26ccb0([0x74,0x72,0x69,0x61,0x6c])][_0x26ccb0([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x437b0f[_0x26ccb0([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x54,0x79,0x70,0x65])])?_0x306952/0x3e8:0xe10*_0x4cabcc;return _0x437b0f[_0x26ccb0([0x65,0x78,0x70])]<_0x241cc3;}function _0x52bcaa(){const _0x500e36=_0x437b0f[_0x26ccb0([0x66,0x65,0x61,0x74,0x75,0x72,0x65,0x73])];return!!_0x500e36&&(!!_0x500e36[_0x26ccb0([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x26ccb0([0x2a]))||!!_0x500e36[_0x26ccb0([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x26ccb0([0x46,0x4f,0x4f])));}function _0x40ffd3(){const _0x444766=_0x437b0f[_0x26ccb0([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x64,0x48,0x6f,0x73,0x74,0x73])];if(!_0x444766||0x0==_0x444766[_0x26ccb0([0x6c,0x65,0x6e,0x67,0x74,0x68])])return!0x0;const {hostname:_0xb8e2c5}=new URL(window[_0x26ccb0([0x6c,0x6f,0x63,0x61,0x74,0x69,0x6f,0x6e])]['href']);if(_0x444766[_0x26ccb0([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0xb8e2c5))return!0x0;const _0x1279b6=_0xb8e2c5[_0x26ccb0([0x73,0x70,0x6c,0x69,0x74])](_0x26ccb0([0x2e]));return _0x444766[_0x26ccb0([0x66,0x69,0x6c,0x74,0x65,0x72])](_0x1290e2=>_0x1290e2[_0x26ccb0([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x26ccb0([0x2a])))[_0x26ccb0([0x6d,0x61,0x70])](_0xb2c46c=>_0xb2c46c[_0x26ccb0([0x73,0x70,0x6c,0x69,0x74])](_0x26ccb0([0x2e])))[_0x26ccb0([0x66,0x69,0x6c,0x74,0x65,0x72])](_0x556236=>_0x556236[_0x26ccb0([0x6c,0x65,0x6e,0x67,0x74,0x68])]<=_0x1279b6[_0x26ccb0([0x6c,0x65,0x6e,0x67,0x74,0x68])])[_0x26ccb0([0x6d,0x61,0x70])](_0x53d046=>Array(_0x1279b6[_0x26ccb0([0x6c,0x65,0x6e,0x67,0x74,0x68])]-_0x53d046[_0x26ccb0([0x6c,0x65,0x6e,0x67,0x74,0x68])])[_0x26ccb0([0x66,0x69,0x6c,0x6c])](_0x53d046[0x0]===_0x26ccb0([0x2a])?_0x26ccb0([0x2a]):'')[_0x26ccb0([0x63,0x6f,0x6e,0x63,0x61,0x74])](_0x53d046))[_0x26ccb0([0x73,0x6f,0x6d,0x65])](_0x5b67fe=>_0x1279b6[_0x26ccb0([0x65,0x76,0x65,0x72,0x79])]((_0x221c34,_0x1f9843)=>_0x5b67fe[_0x1f9843]===_0x221c34||_0x5b67fe[_0x1f9843]===_0x26ccb0([0x2a])));}function _0x2a7fd2(){return _0x49bdc2&&_0x3d64d0?new window[(_0x26ccb0([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))]((_0x28b970,_0x51a7c0)=>{_0x49bdc2[_0x26ccb0([0x74,0x68,0x65,0x6e])](_0x28b970,_0x51a7c0),_0x3d64d0[_0x26ccb0([0x74,0x68,0x65,0x6e])](_0x11cb8c=>{_0x11cb8c!=_0x26ccb0([0x56,0x61,0x6c,0x69,0x64])&&_0x28b970(_0x11cb8c);},_0x51a7c0);}):_0x49bdc2||_0x3d64d0||_0x26ccb0([0x56,0x61,0x6c,0x69,0x64]);}}function _0x30e913(_0x84dd41,_0x2c27e9){return new window[(_0x26ccb0([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0x527301=>{if(_0x2c3dda())return _0x527301(_0x26ccb0([0x56,0x61,0x6c,0x69,0x64]));_0x4f3ab4(),_0xbda61[_0x26ccb0([0x64,0x65,0x63,0x6f,0x72,0x61,0x74,0x65])](_0x26ccb0([0x5f,0x73,0x65,0x6e,0x64,0x55,0x73,0x61,0x67,0x65,0x52,0x65,0x71,0x75,0x65,0x73,0x74]));let _0x19cd2b=!0x1;const _0x2043e0=_0x5ebeb3();function _0xd27e3f(_0xcb2083){return!!_0xcb2083&&(typeof _0xcb2083===_0x26ccb0([0x6f,0x62,0x6a,0x65,0x63,0x74])||typeof _0xcb2083===_0x26ccb0([0x66,0x75,0x6e,0x63,0x74,0x69,0x6f,0x6e]))&&typeof _0xcb2083[_0x26ccb0([0x74,0x68,0x65,0x6e])]===_0x26ccb0([0x66,0x75,0x6e,0x63,0x74,0x69,0x6f,0x6e])&&typeof _0xcb2083[_0x26ccb0([0x63,0x61,0x74,0x63,0x68])]===_0x26ccb0([0x66,0x75,0x6e,0x63,0x74,0x69,0x6f,0x6e]);}function _0x2eace4(_0xec85c6){_0x586563(_0xec85c6)[_0x26ccb0([0x74,0x68,0x65,0x6e])](_0x354ac3=>{if(!_0x354ac3||_0x354ac3[_0x26ccb0([0x73,0x74,0x61,0x74,0x75,0x73])]!=_0x26ccb0([0x6f,0x6b]))return _0x26ccb0([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]);return _0x5b94d5(_0x2d799e(_0x2043e0+_0x2c27e9))!=_0x354ac3[_0x26ccb0([0x76,0x65,0x72,0x69,0x66,0x69,0x63,0x61,0x74,0x69,0x6f,0x6e])]?_0x26ccb0([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]):_0x26ccb0([0x56,0x61,0x6c,0x69,0x64]);})[_0x26ccb0([0x74,0x68,0x65,0x6e])](_0x38fae5=>(_0x4b9cef(),_0x38fae5),()=>{const _0xa44994=_0x13b2b2();return null==_0xa44994?(_0x4b9cef(),_0x26ccb0([0x56,0x61,0x6c,0x69,0x64])):_0x26ccb0(_0x306952-_0xa44994>(0x63ae0106^_0x4d6ea5)?[0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]:[0x56,0x61,0x6c,0x69,0x64]);})[_0x26ccb0([0x74,0x68,0x65,0x6e])](_0x527301)[_0x26ccb0([0x63,0x61,0x74,0x63,0x68])](()=>{_0x527301(_0x26ccb0([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]));});const _0x4364ce=0x47946b86^_0x4d6ea5;function _0x4b9cef(){const _0x4487d0=_0x26ccb0([0x6c,0x6c,0x63,0x74,0x2d])+_0x5b94d5(_0x2d799e(_0x84dd41)),_0x1c0d2d=_0x5c0eaf(_0x5b94d5(window[_0x26ccb0([0x4d,0x61,0x74,0x68])][_0x26ccb0([0x63,0x65,0x69,0x6c])](_0x306952/_0x4364ce)));window[_0x26ccb0([0x6c,0x6f,0x63,0x61,0x6c,0x53,0x74,0x6f,0x72,0x61,0x67,0x65])][_0x26ccb0([0x73,0x65,0x74,0x49,0x74,0x65,0x6d])](_0x4487d0,_0x1c0d2d);}function _0x13b2b2(){const _0x3d439b=_0x26ccb0([0x6c,0x6c,0x63,0x74,0x2d])+_0x5b94d5(_0x2d799e(_0x84dd41)),_0x45379c=window[_0x26ccb0([0x6c,0x6f,0x63,0x61,0x6c,0x53,0x74,0x6f,0x72,0x61,0x67,0x65])][_0x26ccb0([0x67,0x65,0x74,0x49,0x74,0x65,0x6d])](_0x3d439b);return _0x45379c?window[_0x26ccb0([0x70,0x61,0x72,0x73,0x65,0x49,0x6e,0x74])](_0x5c0eaf(_0x45379c),0x10)*_0x4364ce:null;}function _0x586563(_0x23858a){return new window[(_0x26ccb0([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))]((_0x376874,_0x37ec79)=>{_0x23858a[_0x26ccb0([0x74,0x68,0x65,0x6e])](_0x376874,_0x37ec79),window[_0x26ccb0([0x73,0x65,0x74,0x54,0x69,0x6d,0x65,0x6f,0x75,0x74])](_0x37ec79,0x47a351c6^_0x4d6ea5);});}}_0xbda61[_0x26ccb0([0x6f,0x6e])](_0x26ccb0([0x5f,0x73,0x65,0x6e,0x64,0x55,0x73,0x61,0x67,0x65,0x52,0x65,0x71,0x75,0x65,0x73,0x74]),(_0x593e8c,_0x26fd32)=>{if(_0x26fd32[0x0]!=_0x84dd41)return _0x527301(_0x26ccb0([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]));_0x26fd32[0x1]={..._0x26fd32[0x1],[_0x26ccb0([0x72,0x65,0x71,0x75,0x65,0x73,0x74,0x49,0x64])]:_0x2043e0};},{[_0x26ccb0([0x70,0x72,0x69,0x6f,0x72,0x69,0x74,0x79])]:_0x26ccb0([0x68,0x69,0x67,0x68])}),_0xbda61[_0x26ccb0([0x6f,0x6e])](_0x26ccb0([0x5f,0x73,0x65,0x6e,0x64,0x55,0x73,0x61,0x67,0x65,0x52,0x65,0x71,0x75,0x65,0x73,0x74]),_0xe89f95=>{_0xd27e3f(_0xe89f95[_0x26ccb0([0x72,0x65,0x74,0x75,0x72,0x6e])])&&(_0x19cd2b=!0x0,_0x2eace4(_0xe89f95[_0x26ccb0([0x72,0x65,0x74,0x75,0x72,0x6e])]));},{[_0x26ccb0([0x70,0x72,0x69,0x6f,0x72,0x69,0x74,0x79])]:_0x26ccb0([0x6c,0x6f,0x77])}),_0xecaf0f[_0x26ccb0([0x74,0x68,0x65,0x6e])](()=>{_0x19cd2b||_0x527301(_0x26ccb0([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]));});});function _0x2c3dda(){return _0xbda61[_0x26ccb0([0x65,0x64,0x69,0x74,0x69,0x6e,0x67])][_0x26ccb0([0x76,0x69,0x65,0x77])][_0x26ccb0([0x5f,0x6f,0x76,0x65,0x72,0x6c,0x61,0x79,0x4d,0x6f,0x64,0x65,0x48,0x69,0x6e,0x74])]==_0x26ccb0([0x61,0x75,0x74,0x6f]);}function _0x4f3ab4(){_0xbda61[_0x26ccb0([0x65,0x64,0x69,0x74,0x69,0x6e,0x67])][_0x26ccb0([0x76,0x69,0x65,0x77])][_0x26ccb0([0x5f,0x6f,0x76,0x65,0x72,0x6c,0x61,0x79,0x4d,0x6f,0x64,0x65,0x48,0x69,0x6e,0x74])]=_0x26ccb0([0x61,0x75,0x74,0x6f]);}}function _0x501d1c(_0xc5135){const _0x2cfd5b=[new window[(_0x26ccb0([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0x25dfb7=>setTimeout(_0x25dfb7,0x47abbbca^_0x4d6ea5)),_0xecaf0f[_0x26ccb0([0x74,0x68,0x65,0x6e])](()=>new window[(_0x26ccb0([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0x200e06=>{let _0x25a3fc=0x0;_0xbda61[_0x26ccb0([0x6d,0x6f,0x64,0x65,0x6c])][_0x26ccb0([0x6f,0x6e])](_0x26ccb0([0x61,0x70,0x70,0x6c,0x79,0x4f,0x70,0x65,0x72,0x61,0x74,0x69,0x6f,0x6e]),(_0x2fc71c,_0x3a4920)=>{_0x3a4920[0x0][_0x26ccb0([0x69,0x73,0x44,0x6f,0x63,0x75,0x6d,0x65,0x6e,0x74,0x4f,0x70,0x65,0x72,0x61,0x74,0x69,0x6f,0x6e])]&&_0x25a3fc++,_0x25a3fc==(0x47a284fe^_0x4d6ea5)&&(_0x200e06(),_0x2fc71c[_0x26ccb0([0x6f,0x66,0x66])]());});}))];return window[_0x26ccb0([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65])][_0x26ccb0([0x72,0x61,0x63,0x65])](_0x2cfd5b)[_0x26ccb0([0x74,0x68,0x65,0x6e])](()=>_0xc5135);}async function _0x2e1479(){await _0xecaf0f,_0xbda61[_0x26ccb0([0x6d,0x6f,0x64,0x65,0x6c])][_0x26ccb0([0x63,0x68,0x61,0x6e,0x67,0x65])]=_0x2cb174,_0xbda61[_0x26ccb0([0x6d,0x6f,0x64,0x65,0x6c])][_0x26ccb0([0x65,0x6e,0x71,0x75,0x65,0x75,0x65,0x43,0x68,0x61,0x6e,0x67,0x65])]=_0x2cb174,_0xbda61[_0x26ccb0([0x65,0x6e,0x61,0x62,0x6c,0x65,0x52,0x65,0x61,0x64,0x4f,0x6e,0x6c,0x79,0x4d,0x6f,0x64,0x65])](_0x26ccb0([0x6d,0x6f,0x64,0x65,0x6c]));}function _0x11dcd4(_0x209806){const _0x237959=_0x49c42c();_0xbda61[_0x237959]=_0x26ccb0([0x66,0x6f,0x6f,0x74,0x6e,0x6f,0x74,0x65,0x73,0x4c,0x69,0x63,0x65,0x6e,0x73,0x65,0x4b,0x65,0x79])+_0x209806,_0x209806!=_0x26ccb0([0x56,0x61,0x6c,0x69,0x64])&&_0x2e1479();}function _0x49c42c(){const _0x4f913b=window[_0x26ccb0([0x53,0x74,0x72,0x69,0x6e,0x67])](window[_0x26ccb0([0x70,0x65,0x72,0x66,0x6f,0x72,0x6d,0x61,0x6e,0x63,0x65])][_0x26ccb0([0x6e,0x6f,0x77])]())[_0x26ccb0([0x72,0x65,0x70,0x6c,0x61,0x63,0x65])](_0x26ccb0([0x2e]),'');let _0x3c8299=_0x26ccb0([0x75]);for(let _0x2feebb=0x0;_0x2feebb<_0x4f913b[_0x26ccb0([0x6c,0x65,0x6e,0x67,0x74,0x68])];_0x2feebb+=0x2){let _0x754715=window[_0x26ccb0([0x70,0x61,0x72,0x73,0x65,0x49,0x6e,0x74])](_0x4f913b[_0x26ccb0([0x73,0x75,0x62,0x73,0x74,0x72,0x69,0x6e,0x67])](_0x2feebb,_0x2feebb+0x2));_0x754715>=_0x1f694d[_0x26ccb0([0x6c,0x65,0x6e,0x67,0x74,0x68])]&&(_0x754715-=_0x1f694d[_0x26ccb0([0x6c,0x65,0x6e,0x67,0x74,0x68])]),_0x3c8299+=_0x1f694d[_0x754715];}return _0x3c8299;}function _0x5be443(){const _0x4e8a5f=_0x1e0744[_0x26ccb0([0x73,0x70,0x6c,0x69,0x74])](_0x26ccb0([0x2e]));if(0x3!=_0x4e8a5f[_0x26ccb0([0x6c,0x65,0x6e,0x67,0x74,0x68])])return null;return _0x1dbda1(_0x4e8a5f[0x1]);function _0x1dbda1(_0x302be8){const _0x24306b=_0x53773e(_0x302be8);return _0x24306b&&_0x465262()?_0x24306b:null;function _0x465262(){const _0x54f57a=_0x24306b[_0x26ccb0([0x6a,0x74,0x69])],_0x249572=window[_0x26ccb0([0x70,0x61,0x72,0x73,0x65,0x49,0x6e,0x74])](_0x54f57a[_0x26ccb0([0x73,0x75,0x62,0x73,0x74,0x72,0x69,0x6e,0x67])](_0x54f57a[_0x26ccb0([0x6c,0x65,0x6e,0x67,0x74,0x68])]-0x8),0x10),_0x4f760f={..._0x24306b,[_0x26ccb0([0x6a,0x74,0x69])]:_0x54f57a[_0x26ccb0([0x73,0x75,0x62,0x73,0x74,0x72,0x69,0x6e,0x67])](0x0,_0x54f57a[_0x26ccb0([0x6c,0x65,0x6e,0x67,0x74,0x68])]-0x8)};return delete _0x4f760f[_0x26ccb0([0x76,0x63])],_0x2d799e(_0x4f760f)==_0x249572;}}}async function _0x439ac5(){let _0x59082b=!0x0;try{const _0x1c7738=_0x1e0744[_0x26ccb0([0x73,0x70,0x6c,0x69,0x74])](_0x26ccb0([0x2e])),[_0x5de3e8,_0x2b08de,_0x5ae768]=_0x1c7738;return _0x16f0fe(_0x5de3e8),await _0x5aa681(_0x5de3e8,_0x2b08de,_0x5ae768),_0x59082b;}catch{return!0x1;}function _0x16f0fe(_0x5ebf5a){const _0x4f65d2=_0x53773e(_0x5ebf5a);_0x4f65d2&&_0x4f65d2[_0x26ccb0([0x61,0x6c,0x67])]==_0x26ccb0([0x45,0x53,0x32,0x35,0x36])||(_0x59082b=!0x1);}async function _0x5aa681(_0x1be6ec,_0x461d8b,_0x4b09d0){const _0x497a93=window[_0x26ccb0([0x55,0x69,0x6e,0x74,0x38,0x41,0x72,0x72,0x61,0x79])][_0x26ccb0([0x66,0x72,0x6f,0x6d])](_0x2ac2c3(_0x4b09d0),_0x242030=>_0x242030[_0x26ccb0([0x63,0x68,0x61,0x72,0x43,0x6f,0x64,0x65,0x41,0x74])](0x0)),_0x32f4ca=new window[(_0x26ccb0([0x54,0x65,0x78,0x74,0x45,0x6e,0x63,0x6f,0x64,0x65,0x72]))]()[_0x26ccb0([0x65,0x6e,0x63,0x6f,0x64,0x65])](_0x1be6ec+_0x26ccb0([0x2e])+_0x461d8b),_0x5182cc=window[_0x26ccb0([0x63,0x72,0x79,0x70,0x74,0x6f])][_0x26ccb0([0x73,0x75,0x62,0x74,0x6c,0x65])];if(!_0x5182cc)return;const _0x13c903=await _0x5182cc[_0x26ccb0([0x69,0x6d,0x70,0x6f,0x72,0x74,0x4b,0x65,0x79])](_0x26ccb0([0x6a,0x77,0x6b]),_0x5e6b0a,{[_0x26ccb0([0x6e,0x61,0x6d,0x65])]:_0x26ccb0([0x45,0x43,0x44,0x53,0x41]),[_0x26ccb0([0x6e,0x61,0x6d,0x65,0x64,0x43,0x75,0x72,0x76,0x65])]:_0x26ccb0([0x50,0x2d,0x32,0x35,0x36])},!0x1,[_0x26ccb0([0x76,0x65,0x72,0x69,0x66,0x79])]);await _0x5182cc[_0x26ccb0([0x76,0x65,0x72,0x69,0x66,0x79])]({[_0x26ccb0([0x6e,0x61,0x6d,0x65])]:_0x26ccb0([0x45,0x43,0x44,0x53,0x41]),[_0x26ccb0([0x68,0x61,0x73,0x68])]:{[_0x26ccb0([0x6e,0x61,0x6d,0x65])]:_0x26ccb0([0x53,0x48,0x41,0x2d,0x32,0x35,0x36])}},_0x13c903,_0x497a93,_0x32f4ca)||(_0x59082b=!0x1);}}function _0x53773e(_0x45d937){return _0x45d937[_0x26ccb0([0x73,0x74,0x61,0x72,0x74,0x73,0x57,0x69,0x74,0x68])](_0x26ccb0([0x65,0x79]))?JSON[_0x26ccb0([0x70,0x61,0x72,0x73,0x65])](_0x2ac2c3(_0x45d937)):null;}function _0x2ac2c3(_0x5a8d9d){return window[_0x26ccb0([0x61,0x74,0x6f,0x62])](_0x5a8d9d[_0x26ccb0([0x72,0x65,0x70,0x6c,0x61,0x63,0x65])](/-/g,_0x26ccb0([0x2b]))[_0x26ccb0([0x72,0x65,0x70,0x6c,0x61,0x63,0x65])](/_/g,_0x26ccb0([0x2f])));}function _0x2d799e(_0x1bb2b4){let _0x3af6a0=0x1505;function _0x38ad02(_0x155468){for(let _0x565ed9=0x0;_0x565ed9<_0x155468[_0x26ccb0([0x6c,0x65,0x6e,0x67,0x74,0x68])];_0x565ed9++){const _0x3738e0=_0x155468[_0x26ccb0([0x63,0x68,0x61,0x72,0x43,0x6f,0x64,0x65,0x41,0x74])](_0x565ed9);_0x3af6a0=(_0x3af6a0<<0x5)+_0x3af6a0+_0x3738e0,_0x3af6a0&=_0x3af6a0;}}function _0x197fd0(_0x5ed7db){Array[_0x26ccb0([0x69,0x73,0x41,0x72,0x72,0x61,0x79])](_0x5ed7db)?_0x5ed7db[_0x26ccb0([0x66,0x6f,0x72,0x45,0x61,0x63,0x68])](_0x197fd0):_0x5ed7db&&typeof _0x5ed7db==_0x26ccb0([0x6f,0x62,0x6a,0x65,0x63,0x74])?Object[_0x26ccb0([0x65,0x6e,0x74,0x72,0x69,0x65,0x73])](_0x5ed7db)[_0x26ccb0([0x73,0x6f,0x72,0x74])]()[_0x26ccb0([0x66,0x6f,0x72,0x45,0x61,0x63,0x68])](([_0x58b712,_0x2850f0])=>{_0x38ad02(_0x58b712),_0x197fd0(_0x2850f0);}):_0x38ad02(window[_0x26ccb0([0x53,0x74,0x72,0x69,0x6e,0x67])](_0x5ed7db));}return _0x197fd0(_0x1bb2b4),_0x3af6a0>>>0x0;}function _0x5b94d5(_0x3ab5e1){return _0x3ab5e1[_0x26ccb0([0x74,0x6f,0x53,0x74,0x72,0x69,0x6e,0x67])](0x10)[_0x26ccb0([0x70,0x61,0x64,0x53,0x74,0x61,0x72,0x74])](0x8,_0x26ccb0([0x30]));}function _0x5c0eaf(_0x14ab23){return _0x14ab23[_0x26ccb0([0x73,0x70,0x6c,0x69,0x74])]('')[_0x26ccb0([0x72,0x65,0x76,0x65,0x72,0x73,0x65])]()[_0x26ccb0([0x6a,0x6f,0x69,0x6e])]('');}function _0x2cb174(){}function _0x26ccb0(_0x28a0ac){return _0x28a0ac['map'](_0x1ea9af=>String['fromCharCode'](_0x1ea9af))['join']('');}_0x11dcd4(await _0x106d7f());}(this);}['_moveSelectionToFootnoteDefinition'](_0x25b3f2){const {plugins:_0x4641a6,editing:_0x1af5e1,model:_0x5a6224}=this['editor'],_0x2310fb=_0x4641a6['get'](f)['getFootnote'](_0x25b3f2);return!!_0x2310fb&&(_0x5a6224['change'](_0xa504f6=>{_0xa504f6['setSelection'](_0xa504f6['createPositionAt'](_0x2310fb['definition'],'end'));}),_0x1af5e1['view']['scrollToTheSelection'](),!0x0);}['_moveSelectionToFootnoteReference'](_0x8cffb4){const {plugins:_0x42f4d0,editing:_0x31bddf,model:_0x16245d}=this['editor'],_0x5f1c1f=_0x42f4d0['get'](f)['getFootnote'](_0x8cffb4);return!!_0x5f1c1f&&(_0x16245d['change'](_0x291cc4=>{_0x291cc4['setSelection'](_0x5f1c1f['reference'],'on');}),_0x31bddf['view']['scrollToTheSelection'](),!0x0);}['_defineSchema'](){const {schema:_0x4cc55e}=this['editor']['model'],_0x2f2b62=this['editor']['config']['get']('footnotes.multiBlock');_0x4cc55e['register']('footnoteRef',{'inheritAllFrom':'$inlineObject','allowAttributes':['footnoteId','footnoteCounter']}),_0x4cc55e['register']('footnotesDefinitions',{'inheritAllFrom':'$blockObject','allowChildren':['footnoteDefinition']}),_0x4cc55e['register']('footnoteDefinition',{'allowAttributes':['footnoteId'],'disallowAttributes':['listItemId'],'isLimit':!0x0}),_0x2f2b62?_0x4cc55e['extend']('footnoteDefinition',{'allowContentOf':'$container'}):_0x4cc55e['register']('footnoteInlineContent',{'allowIn':'footnoteDefinition','allowContentOf':'$block','isLimit':!0x0}),_0x4cc55e['addChildCheck'](_0x172269=>{for(const _0x43edfb of _0x172269)if('footnoteDefinition'===_0x43edfb['name'])return!0x1;},'footnoteRef');}['_defineRefsConverters'](){const {editor:_0x5a785f}=this,{conversion:_0x524b9f,editing:_0x43bb5b}=_0x5a785f,{t:t}=_0x5a785f['locale'];_0x524b9f['for']('upcast')['elementToElement']({'view':{'name':'sup','classes':'footnote'},'model':(_0xbdb3a,{writer:_0x48308d,consumable:_0x6b28e8})=>{const _0x5f1533=_0xbdb3a['getChild'](0x0);if(!_0x5f1533||!_0x5f1533['is']('element','a'))return null;const _0x468d5a=_0x5f1533['getAttribute']('href')||'';if(!_0x468d5a['startsWith']('#'))return null;const _0x26ccbb=_0x468d5a['replace'](/^#/,'');if(!_0x26ccbb)return null;_0x6b28e8['consume'](_0x5f1533,{'name':!0x0,'attributes':['href']});for(const {item:_0x2879ae}of _0x43bb5b['view']['createRangeIn'](_0x5f1533))_0x2879ae['is']('$textProxy')?_0x6b28e8['consume'](_0x2879ae['textNode'],{'name':!0x0}):_0x2879ae['is']('element')&&_0x6b28e8['consume'](_0x2879ae,{'name':!0x0});return _0x48308d['createElement']('footnoteRef',{'footnoteId':_0x26ccbb});}}),_0x524b9f['for']('dataDowncast')['elementToElement']({'model':{'name':'footnoteRef','attributes':['footnoteId','footnoteCounter']},'view':(_0x14d7b5,{writer:_0x1fb254})=>D(_0x14d7b5,_0x1fb254)}),_0x524b9f['for']('editingDowncast')['elementToElement']({'model':{'name':'footnoteRef','attributes':['footnoteId','footnoteCounter']},'view':(_0x121a14,{writer:_0x11dab7})=>{const _0x5a3ec2=_0x121a14['getAttribute']('footnoteCounter');return _0x5275c6(D(_0x121a14,_0x11dab7),_0x11dab7,{'label':t('Footnote\x20%0.\x20Press\x20ENTER\x20to\x20jump\x20to\x20footnote\x20definition.',_0x5a3ec2)});}});}['_defineDefinitionsConverters'](){const {editor:_0x1ba594}=this,{t:t}=_0x1ba594['locale'],{conversion:_0x1107dd}=_0x1ba594;_0x1107dd['for']('upcast')['elementToElement']({'view':{'name':'div','classes':'footnotes'},'model':'footnotesDefinitions'}),_0x1107dd['for']('upcast')['add'](_0x32f40b=>{_0x32f40b['on']('element:ol',(_0x3f7245,_0x39e873,_0x3317f4)=>{const _0xd774db=_0x39e873['viewItem'];if(!_0xd774db['hasClass']('footnotes-list')||!_0x39e873['modelCursor']['parent']?.['is']('element','footnotesDefinitions'))return;if(!_0x3317f4['consumable']['consume'](_0xd774db,{'name':!0x0,'classes':'footnotes-list'}))return;const {modelRange:_0x539701,modelCursor:_0x2b555c}=_0x3317f4['convertChildren'](_0x39e873['viewItem'],_0x39e873['modelCursor']);_0x39e873['modelRange']=_0x539701,_0x39e873['modelCursor']=_0x2b555c;}),_0x32f40b['on']('element:hr',(_0x3cf878,_0x4f941e,_0x5491f4)=>{const _0x2878a3=_0x4f941e['viewItem'];_0x2878a3['hasClass']('footnotes-divider')&&_0x4f941e['modelCursor']['parent']?.['is']('element','footnotesDefinitions')&&_0x5491f4['consumable']['consume'](_0x2878a3,{'name':!0x0,'classes':'footnotes-divider'});});}),_0x1107dd['for']('dataDowncast')['elementToStructure']({'model':'footnotesDefinitions','view':(_0x1f5ee2,{writer:_0x47f512})=>v(_0x47f512)}),_0x1107dd['for']('editingDowncast')['elementToStructure']({'model':'footnotesDefinitions','view':(_0x2cc391,{writer:_0x196ffe})=>{const _0x4c33f2=v(_0x196ffe,{'data-footnotes-list-label':t('Footnotes')}),_0x1b195e=_0x5275c6(_0x4c33f2,_0x196ffe,{'hasSelectionHandle':!0x0,'label':t('Footnotes')});return _0x196ffe['setCustomProperty']('footnotesDefinitions',!0x0,_0x1b195e),_0x1b195e;}});}['_defineDefinitionConverters'](){const {editor:_0x3c68ac}=this,{conversion:_0x46eb37,locale:_0x1ab345}=_0x3c68ac,_0x206479=_0x3c68ac['config']['get']('footnotes.multiBlock');_0x46eb37['for']('upcast')['add'](_0x5302a3=>{_0x5302a3['on']('element:li',(_0x531c87,_0x5de19a,_0x46835d)=>{const _0xebd2eb=_0x5de19a['viewItem'];if(!_0xebd2eb['hasClass']('footnote-definition')||!_0xebd2eb['getAttribute']('id'))return;const _0x15c404=_0xebd2eb['parent'];if(!_0x15c404['is']('element','ol')||!_0x15c404['hasClass']('footnotes-list'))return;if(!_0x46835d['consumable']['test'](_0xebd2eb,{'name':!0x0,'attributes':'id','classes':'footnote-definition'}))return;const _0x371c4d=_0x46835d['writer']['createElement']('footnoteDefinition',{'footnoteId':_0xebd2eb['getAttribute']('id')});if(!_0x46835d['safeInsert'](_0x371c4d,_0x5de19a['modelCursor']))return;_0x46835d['consumable']['consume'](_0xebd2eb,{'name':!0x0,'attributes':'id','classes':'footnote-definition'});const _0x152b8d=Array['from'](_0xebd2eb['getChildren']())['find'](_0x57ca06=>_0x57ca06['is']('element')&&_0x57ca06['hasClass']('footnote-content'));for(const _0x467d73 of _0xebd2eb['getChildren']())_0x467d73['is']('element')&&(_0x46835d['consumable']['consume'](_0x467d73,{'name':!0x0,'classes':'footnote-backlink','attributes':'href'}),_0x46835d['consumable']['consume'](_0x467d73,{'name':!0x0,'classes':'footnote-content'}));if(_0x152b8d){if(_0x206479)_0x46835d['convertChildren'](_0x152b8d,_0x371c4d);else{const _0x3d050c=_0x46835d['writer']['createElement']('footnoteInlineContent');_0x46835d['writer']['insert'](_0x3d050c,_0x371c4d),_0x46835d['convertChildren'](_0x152b8d,_0x3d050c);}}_0x46835d['updateConversionResult'](_0x371c4d,_0x5de19a);});}),_0x46eb37['for']('dataDowncast')['elementToStructure']({'model':{'name':'footnoteDefinition','attributes':['footnoteId']},'view':(_0x5d96a0,{writer:_0x1a536c})=>b(_0x5d96a0,_0x1a536c,_0x1ab345,{'dataPipeline':!0x0})}),_0x46eb37['for']('editingDowncast')['elementToStructure']({'model':{'name':'footnoteDefinition','attributes':['footnoteId']},'view':(_0x118731,{writer:_0x598358})=>b(_0x118731,_0x598358,_0x1ab345)});}['_defineBogusParagraphConverters'](){const {editor:_0x286514}=this,{conversion:_0x585f0c}=_0x286514;_0x286514['config']['get']('footnotes.multiBlock')?(_0x585f0c['for']('editingDowncast')['elementToElement']({'model':'paragraph','view':h(),'converterPriority':'high'}),_0x585f0c['for']('dataDowncast')['elementToElement']({'model':'paragraph','view':h({'dataPipeline':!0x0}),'converterPriority':'high'}),this['listenTo'](_0x286514['model']['document'],'change:data',()=>{!function(_0x1a0776,_0x5d8557){const _0x881273=_0x1a0776['document']['differ'],_0x5defb4=new Set();for(const _0x46e0c7 of _0x881273['getChanges']()){const _0x51767d='attribute'==_0x46e0c7['type']?_0x46e0c7['range']['start']['parent']:_0x46e0c7['position']['parent'];_0x51767d['is']('element','footnoteDefinition')&&_0x5defb4['add'](_0x51767d);}for(const _0x4ca0cf of _0x5defb4['values']()){const _0x2b9820=Array['from'](_0x4ca0cf['getChildren']())['filter'](_0x75e553=>g(_0x75e553,_0x5d8557['mapper']));for(const _0x1bc7bb of _0x2b9820)_0x5d8557['reconvertItem'](_0x1bc7bb);}}(_0x286514['model'],_0x286514['editing']);})):(_0x585f0c['for']('editingDowncast')['elementToElement']({'model':'footnoteInlineContent','view':h()}),_0x585f0c['for']('dataDowncast')['elementToElement']({'model':'footnoteInlineContent','view':(_0x17823e,{writer:_0x217e4b})=>{const _0x443ec0=_0x217e4b['createContainerElement']('span');return _0x217e4b['setCustomProperty']('dataPipeline:transparentRendering',!0x0,_0x443ec0),_0x443ec0;}}));}['_defineKeyboardHandlers'](){const {editor:_0x3f9858}=this,{editing:_0x43834e,t:t}=_0x3f9858,_0x4c2531=_0x3f9858['model']['document']['selection'];_0x3f9858['keystrokes']['set']('Ctrl+Alt+F','insertFootnote'),_0x3f9858['accessibility']['addKeystrokeInfos']({'keystrokes':[{'label':t('Insert\x20footnote'),'keystroke':'Ctrl+Alt+F'}]}),this['listenTo'](_0x43834e['view']['document'],'enter',(_0x569647,_0x45e524)=>{const _0x29cff2=function(_0x431213){const _0x130ab2=_0x431213['getSelectedElement']();if(_0x130ab2?.['is']('element','footnoteRef'))return _0x130ab2;return null;}(_0x4c2531);if(_0x29cff2){const _0x5bbda5=_0x29cff2['getAttribute']('footnoteId');this['_moveSelectionToFootnoteDefinition'](_0x5bbda5),_0x45e524['preventDefault'](),_0x569647['stop']();}},{'context':_0x3a0b49});}['_defineClickHandlers'](){const {editor:_0x5be212}=this,{editing:_0x44041b}=_0x5be212;_0x5be212['editing']['view']['addObserver'](_0x1648ea),_0x5be212['editing']['view']['addObserver'](_0x4ba397);let _0x5124b6=!0x1;this['listenTo'](_0x44041b['view']['document'],'pointerdown',(_0x4b0789,_0x532124)=>{const {target:_0xd096e8}=_0x532124,_0x254cdb=_0x44041b['view']['document']['selection'];_0x5124b6=!!(_0xd096e8?.['is']('element','a')&&_0xd096e8['parent']?.['is']('element','sup')&&_0xd096e8['parent']['hasClass']('footnote'))&&_0x254cdb['getSelectedElement']()===_0xd096e8['parent'];},{'priority':'high'}),this['listenTo'](_0x44041b['view']['document'],'click',(_0x3bf6b1,_0x552ba7)=>{const {target:_0x2d9517}=_0x552ba7;if(!_0x2d9517?.['is']('element','a'))return;if(_0x2d9517['parent']?.['is']('element','sup')&&_0x2d9517['parent']['hasClass']('footnote')&&!_0x5124b6)return void _0x552ba7['preventDefault']();let _0xa4038=_0x2d9517['getAttribute']('href');if(!_0xa4038?.['startsWith']('#'))return;_0xa4038=_0xa4038['slice'](0x1);let _0x27e24b=!0x1;(_0xa4038['startsWith']('ref-')&&this['_moveSelectionToFootnoteReference'](_0xa4038['slice'](0x4))||this['_moveSelectionToFootnoteDefinition'](_0xa4038))&&(_0x27e24b=!0x0),_0x27e24b&&(_0x552ba7['preventDefault'](),_0x3bf6b1['stop']());},{'priority':'high','context':'$capture'});}}function h({dataPipeline:_0x4757a5}={}){return(_0x589b8e,{writer:_0x56cd29})=>{if(!p(_0x589b8e))return null;if(!_0x4757a5)return _0x56cd29['createContainerElement']('span',{'class':'ck-footnote-bogus-paragraph'});const _0x407486=_0x56cd29['createContainerElement']('p');return _0x56cd29['setCustomProperty']('dataPipeline:transparentRendering',!0x0,_0x407486),_0x407486;};}function p(_0x531e0e){const {parent:_0x22ebaa}=_0x531e0e;if(!_0x22ebaa?.['is']('element','footnoteDefinition'))return!0x1;if(0x1!=_0x22ebaa['childCount'])return!0x1;for(const _0x28f3c7 of _0x531e0e['getAttributeKeys']())if(!_0x28f3c7['startsWith']('selection:')&&'htmlEmptyBlock'!=_0x28f3c7)return!0x1;return!0x0;}function g(_0xf8b109,_0x23fbb3){if(!_0xf8b109['is']('element','paragraph'))return!0x1;const _0x26dd08=_0x23fbb3['toViewElement'](_0xf8b109);return!!_0x26dd08&&p(_0xf8b109)!==_0x26dd08['is']('element','span');}function J(_0x13562c){return _0x3a0b49(_0x13562c)&&_0x13562c['is']('containerElement')&&!!_0x13562c['getCustomProperty']('footnotesDefinitions');}function v(_0x479865,_0x47f632={}){const _0x1c09d3=_0x479865['createEmptyElement']('hr',{'class':'footnotes-divider'}),_0x47d4e3=_0x479865['createContainerElement']('ol',{'class':'footnotes-list'},_0x479865['createSlot']());return _0x479865['createContainerElement']('div',{'class':'footnotes',..._0x47f632},[_0x1c09d3,_0x47d4e3]);}function D(_0x3f704d,_0x3cafcb){const _0x512725=_0x3f704d['getAttribute']('footnoteId'),_0x568d8b=_0x3f704d['getAttribute']('footnoteCounter'),_0x1f190e=_0x3cafcb['createUIElement']('a',{'href':'#'+_0x512725},function(_0x536c55){const _0x497543=this['toDomElement'](_0x536c55);return _0x497543['textContent']=_0x568d8b,_0x497543;}),_0x4fa9f9=_0x3cafcb['createContainerElement']('sup',{'id':'ref-'+_0x512725,'class':'footnote'},[_0x1f190e]);return _0x4fa9f9['getFillerOffset']=()=>null,_0x4fa9f9;}function b(_0x562753,_0x177d94,_0x2d4c14,{dataPipeline:_0x168785}={}){const {t:t}=_0x2d4c14,_0x48bf4f=_0x562753['getAttribute']('footnoteId'),_0xd3c5e1=_0x177d94['createUIElement']('a',{'class':'footnote-backlink','href':'#ref-'+_0x48bf4f},function(_0x2d3193){const _0x533c73=this['toDomElement'](_0x2d3193);return _0x533c73['innerText']='^',_0x533c73;}),_0x4e30e3=_0x168785?_0x177d94['createContainerElement']('div',{'class':'footnote-content'}):_0x436292(_0x177d94['createEditableElement']('div',{'class':'footnote-content'}),_0x177d94,{'label':t('Footnote\x20content.')});return _0x177d94['insert'](_0x177d94['createPositionAt'](_0x4e30e3,0x0),_0x177d94['createSlot']()),_0x177d94['createContainerElement']('li',{'class':'footnote-definition','id':_0x48bf4f},[_0xd3c5e1,_0x4e30e3]);}class e extends _0x537dd2{static get['pluginName'](){return'FootnotesClipboard';}static get['requires'](){return[r,_0x23f21d];}static get['isOfficialPlugin'](){return!0x0;}static get['isPremiumPlugin'](){return!0x0;}['init'](){this['_defineClipboardIntegration']();}['_defineClipboardIntegration'](){this['_handleCopyFootnotesDefinitions'](),this['_handlePasteFootnotesDefinitions']();}['_handleCopyFootnotesDefinitions'](){const {editor:_0x23dbea}=this,{plugins:_0x4d4928,model:_0x25788c}=_0x23dbea,_0x336f31=_0x4d4928['get'](_0x23f21d),_0xa57b2f=_0x4d4928['get'](f);this['listenTo'](_0x336f31,'outputTransformation',(_0x3c1ce6,_0x29db1b)=>{const _0x3d23ca=c(_0x25788c['createRangeIn'](_0x29db1b['content']));if(!_0x3d23ca['length'])return;const _0x30e288=_0xa57b2f['getFootnotes'](),_0x3ce319=_0x3d23ca['reduce']((_0x44f970,_0x1157af)=>{const _0x10ea27=_0x30e288['find'](_0x29df95=>_0x29df95['id']===_0x1157af);if(_0x10ea27){const _0x3824bf=_0x23dbea['data']['toView'](_0x10ea27['definition'],{'isClipboardPipeline':!0x0}),_0x1ae821=_0x23dbea['data']['htmlProcessor']['toData'](_0x3824bf);_0x44f970[_0x10ea27['id']]=_0x1ae821;}return _0x44f970;},Object['create'](null));_0x29db1b['dataTransfer']['setData']('application/ckeditor5-footnotes',JSON['stringify'](_0x3ce319));});}['_handlePasteFootnotesDefinitions'](){const {editor:_0x93bd67}=this,{model:_0xaa2938,plugins:_0x322dac}=_0x93bd67,{view:_0x5aee69}=_0x93bd67['editing'],_0x54cd68=_0x322dac['get'](_0x23f21d),_0x20a478=_0x322dac['get'](f),_0x2b650a=_0x93bd67['config']['get']('footnotes.multiBlock');let _0x4d0ee5=null;this['listenTo'](_0x5aee69['document'],'clipboardInput',(_0x12af87,_0x3ba0fa)=>{const _0x3e03f0=_0x3ba0fa['dataTransfer']['getData']('application/ckeditor5-footnotes');_0x4d0ee5=_0x3e03f0?JSON['parse'](_0x3e03f0):null;}),this['listenTo'](_0x54cd68,'contentInsertion',(_0x1ee492,_0x5057d4)=>{const _0x331515=_0x5057d4['sourceEditorId']===this['editor']['id'];_0x331515&&'drop'===_0x5057d4['method']||_0xaa2938['change'](_0x1f71ad=>{let _0x5b81b5=_0x20a478['getFootnotesDefinitionsObjectElement']();const _0x5cee82=!!_0x5b81b5&&Array['from'](_0xaa2938['document']['selection']['getSelectedBlocks']())['includes'](_0x5b81b5);if((_0x5b81b5&&!_0x5cee82||!_0x5b81b5&&!_0x4d0ee5)&&function(_0x2760c8,_0x1ef7d7){const _0xf5866d=[];for(const {item:_0x55ccf2}of _0x2760c8['createRangeIn'](_0x1ef7d7))_0x55ccf2['is']('element','footnotesDefinitions')&&_0xf5866d['push'](_0x55ccf2);for(const _0x32154b of _0xf5866d)_0x2760c8['remove'](_0x32154b);}(_0x1f71ad,_0x5057d4['content']),!_0x4d0ee5)return;const {selection:_0x4af866}=_0xaa2938['document'],_0x4488af=_0x4af866['getFirstRange']()['root'];_0x5b81b5&&!_0x5cee82||(_0x5b81b5=function(_0x3ca845,_0x3d2079){for(const {item:_0x5a92de}of _0x3ca845['createRangeIn'](_0x3d2079))if(_0x5a92de['is']('element','footnotesDefinitions'))return _0x5a92de;return null;}(_0x1f71ad,_0x5057d4['content']),_0x5b81b5||=_0x20a478['_insertEmptyFootnotesDefinitionsContainer'](_0x1f71ad,_0x4488af));const _0x318fa6=Array['from'](_0x4af866['getRanges']())['flatMap'](c),_0x4bdf3a=function(_0xeeec1,_0x366490,_0x14e404){const _0x302446=Object['create'](null);for(const {item:_0x5179cc}of _0xeeec1['createRangeIn'](_0x366490))if(_0x5179cc['is']('element','footnoteRef')){const _0x2a3ab0=_0x5179cc['getAttribute']('footnoteId');if(!_0x14e404(_0x2a3ab0))continue;_0x302446[_0x2a3ab0]||(_0x302446[_0x2a3ab0]=_0x5ebeb3()),_0xeeec1['setAttribute']('footnoteId',_0x302446[_0x2a3ab0],_0x5179cc);}return _0x302446;}(_0x1f71ad,_0x5057d4['content'],_0x562e90=>{if(!_0x331515)return!0x0;return!!_0x20a478['getFootnote'](_0x562e90)&&!_0x318fa6['includes'](_0x562e90);});for(const [_0xfdc8a2,_0x4fc8a1]of Object['entries'](_0x4d0ee5)){const _0x1ff87e=_0x4bdf3a[_0xfdc8a2]||_0xfdc8a2,_0x49fa0f=_0x1f71ad['createElement']('footnoteDefinition',{'footnoteId':_0x1ff87e}),_0x1d7b0d=_0x93bd67['data']['htmlProcessor']['toView'](_0x4fc8a1);let _0x5249ce;if(_0x2b650a)_0x5249ce=_0x93bd67['data']['toModel'](_0x1d7b0d,_0x49fa0f);else{_0x5249ce=_0x1f71ad['createElement']('footnoteInlineContent');const _0x13459d=_0x93bd67['data']['toModel'](_0x1d7b0d,_0x5249ce);_0x1f71ad['insert'](_0x13459d,_0x5249ce);}_0x1f71ad['append'](_0x5249ce,_0x49fa0f),_0x1f71ad['insert'](_0x49fa0f,_0x5b81b5,'end');}_0x4d0ee5=null;});});}}function c(_0x266eec){const _0x2a4ef8=new Set();for(const {item:_0x219de1}of _0x266eec)_0x219de1['is']('element','footnoteRef')&&_0x2a4ef8['add'](_0x219de1['getAttribute']('footnoteId'));return Array['from'](_0x2a4ef8);}class i extends _0x537dd2{['licenseKey'];['_licenseKeyCheckInterval'];static get['pluginName'](){return'FootnotesUI';}static get['isOfficialPlugin'](){return!0x0;}static get['isPremiumPlugin'](){return!0x0;}['init'](){const {editor:_0xade714}=this,{componentFactory:_0x565f56}=_0xade714['ui'];_0x565f56['add']('insertFootnote',x(_0xade714,_0x17f526)),_0x565f56['add']('menuBar:insertFootnote',x(_0xade714,_0x4c58a5)),this['licenseKey']=this['editor']['config']['get']('licenseKey');const _0x3b636d=this['editor'];this['_licenseKeyCheckInterval']=setInterval(()=>{let _0x2d3571;for(const _0x39d3f5 in _0x3b636d){const _0x4c6b1a=_0x39d3f5,_0x5d2daa=_0x3b636d[_0x4c6b1a];if('footnotesLicenseKeyValid'==_0x5d2daa||'footnotesLicenseKeyInvalid'==_0x5d2daa||'footnotesLicenseKeyExpired'==_0x5d2daa||'footnotesLicenseKeyDomainLimit'==_0x5d2daa||'footnotesLicenseKeyNotAllowed'==_0x5d2daa||'footnotesLicenseKeyEvaluationLimit'==_0x5d2daa||'footnotesLicenseKeyTrialLimit'==_0x5d2daa||'footnotesLicenseKeyUsageLimit'==_0x5d2daa){delete _0x3b636d[_0x4c6b1a],_0x2d3571=_0x5d2daa,clearInterval(this['_licenseKeyCheckInterval']),this['_licenseKeyCheckInterval']=void 0x0;break;}}'footnotesLicenseKeyInvalid'==_0x2d3571&&_0x3b636d['_showLicenseError']('invalid'),'footnotesLicenseKeyExpired'==_0x2d3571&&_0x3b636d['_showLicenseError']('expired'),'footnotesLicenseKeyDomainLimit'==_0x2d3571&&_0x3b636d['_showLicenseError']('domainLimit'),'footnotesLicenseKeyNotAllowed'==_0x2d3571&&_0x3b636d['_showLicenseError']('featureNotAllowed','Footnotes'),'footnotesLicenseKeyEvaluationLimit'==_0x2d3571&&_0x3b636d['_showLicenseError']('evaluationLimit'),'footnotesLicenseKeyTrialLimit'==_0x2d3571&&_0x3b636d['_showLicenseError']('trialLimit'),'footnotesLicenseKeyUsageLimit'==_0x2d3571&&_0x3b636d['_showLicenseError']('usageLimit');},0x3e8);}['destroy'](){super['destroy'](),this['_licenseKeyCheckInterval']&&clearInterval(this['_licenseKeyCheckInterval']);}}function x(_0x101df3,_0x3da8a7){const _0x3f2b46=_0x101df3['commands']['get']('insertFootnote');return _0x18f7ee=>{const {t:t}=_0x18f7ee,_0x2991be=new _0x3da8a7(_0x18f7ee),_0x4e4024=_0x2991be instanceof _0x4c58a5;return _0x2991be['bind']('isEnabled')['to'](_0x3f2b46,'isEnabled'),_0x2991be['set']({'label':t(_0x4e4024?'Footnote':'Insert\x20footnote'),'icon':_0x1c96f4,'tooltip':!0x0}),_0x2991be['on']('execute',()=>{_0x3f2b46['execute'](),_0x101df3['editing']['view']['focus']();}),_0x2991be;};}class lt extends _0x537dd2{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 _0x508953{['refresh'](){const {editor:_0x1ccf9a}=this,_0x952e2e=_0x1ccf9a['plugins']['get'](f)['getFootnotesDefinitionsObjectElement']();this['isEnabled']=!!_0x952e2e,this['value']=_0x952e2e?.['getAttribute']('footnotesListStyle')??null;}['execute']({value:_0x436fbd}){const {editor:_0xd664c5}=this,_0x3958ab=_0xd664c5['plugins']['get'](f),_0x5ba7e9=_0x3958ab['getFootnotesDefinitionsObjectElement']();_0x5ba7e9&&Q['includes'](_0x436fbd)&&_0xd664c5['model']['change'](_0x8580f1=>{_0x8580f1['setAttribute']('footnotesListStyle',_0x436fbd,_0x5ba7e9),_0x3958ab['_updateFootnotesCounters'](_0x8580f1);});}}class C extends _0x508953{['refresh'](){const {editor:_0x564735}=this,_0x3340b1=_0x564735['plugins']['get'](f)['getFootnotesDefinitionsObjectElement']();this['isEnabled']=!!_0x3340b1,this['value']=_0x3340b1?.['getAttribute']('footnotesListStart')??null;}['execute']({value:_0x5a8455}){const {editor:_0x53f72e}=this,_0x5d1b3c=_0x53f72e['plugins']['get'](f),_0x23c764=_0x5d1b3c['getFootnotesDefinitionsObjectElement']();_0x23c764&&Number['isInteger'](_0x5a8455)&&_0x53f72e['model']['change'](_0x4f1b4d=>{_0x4f1b4d['setAttribute']('footnotesListStart',_0x5a8455,_0x23c764),_0x5d1b3c['_updateFootnotesCounters'](_0x4f1b4d);});}}class P extends _0x537dd2{static get['pluginName'](){return'FootnotesPropertiesEditing';}static get['requires'](){return[r,f];}static get['isOfficialPlugin'](){return!0x0;}static get['isPremiumPlugin'](){return!0x0;}['init'](){const {editor:_0x4b6374}=this;_0x4b6374['config']['define']('footnotes.footnotesProperties.defaultListStyle','decimal'),_0x4b6374['config']['define']('footnotes.footnotesProperties.defaultStartIndex',0x1),_0x4b6374['commands']['add']('footnotesStyle',new S(_0x4b6374)),_0x4b6374['commands']['add']('footnotesStart',new C(_0x4b6374)),this['_defineSchema'](),this['_defineConverters'](),this['_defineFormatter'](),this['_definePostfixer']();}['_defineSchema'](){const {editor:_0x5cf95f}=this,{schema:_0x33dd64}=_0x5cf95f['model'];_0x33dd64['extend']('footnotesDefinitions',{'allowAttributes':['footnotesListStyle','footnotesListStart']});}['_defineConverters'](){const {editor:_0x26a3e1}=this,{conversion:_0x303608,model:_0x4c0d3d}=_0x26a3e1,{schema:_0x21a994}=_0x4c0d3d;_0x303608['for']('upcast')['add'](_0xc2403f=>{_0xc2403f['on']('element:ol',(_0x3f98aa,_0x4f1c0f,_0x81833c)=>{const _0x5bfefc=_0x4f1c0f['viewItem'],_0x35d390=_0x4f1c0f['modelCursor']?.['parent'];_0x5bfefc['hasClass']('footnotes-list')&&_0x35d390?.['is']('element','footnotesDefinitions')&&(function(_0x41b292,_0x2eddf6,_0x5c96db,_0x4874d9){if(!_0x4874d9['checkAttribute'](_0x2eddf6,'footnotesListStart'))return;let _0x322d0d=0x1;const _0x10d9d3=_0x5c96db['consumable']['consume'](_0x41b292,{'attributes':'start'});if(_0x10d9d3){const _0x429994=Number['parseInt'](_0x41b292['getAttribute']('start'),0xa);Number['isNaN'](_0x429994)||(_0x322d0d=_0x429994);}!_0x10d9d3&&_0x2eddf6['hasAttribute']('footnotesListStart')||_0x5c96db['writer']['setAttribute']('footnotesListStart',_0x322d0d,_0x2eddf6);}(_0x5bfefc,_0x35d390,_0x81833c,_0x21a994),function(_0x4df64d,_0x53e34e,_0x1bc413,_0x540fcb){if(!_0x540fcb['checkAttribute'](_0x53e34e,'footnotesListStyle'))return;let _0x5f50e4='decimal',_0x5ca707=!0x1;if(_0x1bc413['consumable']['consume'](_0x4df64d,{'attributes':'type'})){const _0xd51a6e={0x1:'decimal','a':'lower-alpha','A':'upper-alpha','i':'lower-roman','I':'upper-roman'}[_0x4df64d['getAttribute']('type')];_0xd51a6e&&(_0x5f50e4=_0xd51a6e),_0x5ca707=!0x0;}_0x1bc413['consumable']['consume'](_0x4df64d,{'styles':'list-style-type'})&&(_0x5f50e4=function(_0x34c247){switch(_0x34c247){case'lower-alpha':return'lower-latin';case'upper-alpha':return'upper-latin';default:return _0x34c247;}}(_0x4df64d['getStyle']('list-style-type')),_0x5ca707=!0x0),!_0x5ca707&&_0x53e34e['hasAttribute']('footnotesListStyle')||_0x1bc413['writer']['setAttribute']('footnotesListStyle',_0x5f50e4,_0x53e34e);}(_0x5bfefc,_0x35d390,_0x81833c,_0x21a994));});}),_0x303608['for']('downcast')['add'](_0x18e366=>{_0x18e366['on']('attribute:footnotesListStart:footnotesDefinitions',(_0x35fb68,_0x180ddd,_0x24ffc8)=>{if(!_0x24ffc8['consumable']['consume'](_0x180ddd['item'],_0x35fb68['name']))return;const _0x3a3b0f=M(_0x180ddd['item'],_0x24ffc8['mapper']),{attributeNewValue:_0x45c3d8}=_0x180ddd;null==_0x45c3d8||0x1===_0x45c3d8?_0x24ffc8['writer']['removeAttribute']('start',_0x3a3b0f):_0x24ffc8['writer']['setAttribute']('start',String(_0x45c3d8),_0x3a3b0f);}),_0x18e366['on']('attribute:footnotesListStyle:footnotesDefinitions',(_0x173d67,_0x5b41f1,_0x20ae2a)=>{if(!_0x20ae2a['consumable']['consume'](_0x5b41f1['item'],_0x173d67['name']))return;const _0x12ff67=M(_0x5b41f1['item'],_0x20ae2a['mapper']),{attributeNewValue:_0x345ee5}=_0x5b41f1;_0x345ee5&&'decimal'!==_0x345ee5?_0x20ae2a['writer']['setStyle']('list-style-type',_0x345ee5,_0x12ff67):_0x20ae2a['writer']['removeStyle']('list-style-type',_0x12ff67);});});}['_definePostfixer'](){const {editor:_0x325ad5}=this,{model:_0x47a4fa}=_0x325ad5,_0x1dd9d1=_0x325ad5['plugins']['get'](f),_0x3f6f5d=this['_getDefaultListStyle'](),_0x4e82cb=this['_getDefaultStartIndex']();_0x47a4fa['document']['registerPostFixer'](_0x2d356e=>{const _0x76eb11=_0x47a4fa['document']['differ']['getChanges']();let _0xc2c70f=!0x1;for(const _0x293cba of _0x76eb11){if('insert'!==_0x293cba['type']||'$text'===_0x293cba['name'])continue;const _0x592610=_0x47a4fa['createRangeOn'](_0x293cba['position']['nodeAfter']);for(const _0x43ea3d of _0x592610['getItems']())_0x43ea3d['is']('element','footnotesDefinitions')&&(!_0x43ea3d['hasAttribute']('footnotesListStart')&&_0x47a4fa['schema']['checkAttribute'](_0x43ea3d,'footnotesListStart')&&(_0x2d356e['setAttribute']('footnotesListStart',_0x4e82cb,_0x43ea3d),_0xc2c70f=!0x0),!_0x43ea3d['hasAttribute']('footnotesListStyle')&&_0x47a4fa['schema']['checkAttribute'](_0x43ea3d,'footnotesListStyle')&&(_0x2d356e['setAttribute']('footnotesListStyle',_0x3f6f5d,_0x43ea3d),_0xc2c70f=!0x0));}return _0xc2c70f&&_0x1dd9d1['_updateFootnotesCounters'](_0x2d356e),_0xc2c70f;});}['_defineFormatter'](){const {editor:_0x3190d9}=this;_0x3190d9['plugins']['get'](f)['setFootnoteFormatter'](_0x5e1309=>this['_formatFootnoteListValue'](_0x5e1309));}['_getDefaultListStyle'](){return this['editor']['config']['get']('footnotes.footnotesProperties.defaultListStyle');}['_getDefaultStartIndex'](){return this['editor']['config']['get']('footnotes.footnotesProperties.defaultStartIndex');}['_formatFootnoteListValue']({container:_0x3b4fb2,value:_0x5a7a76,digits:_0x10f9d9}){const _0x6df8b5=_0x3b4fb2['getAttribute']('footnotesListStyle'),_0x9c0d15=_0x3b4fb2['getAttribute']('footnotesListStart'),_0x1fe4ca=Math['floor'](_0x5a7a76)+(_0x9c0d15??0x1)-0x1;switch(_0x6df8b5){case'decimal-leading-zero':return function(_0x44b49a,_0x167d37){return String(_0x44b49a)['padStart'](_0x167d37,'0');}(_0x1fe4ca,Math['max'](0x2,_0x10f9d9));case'lower-alpha':case'lower-latin':return N(_0x1fe4ca,!0x1);case'upper-alpha':case'upper-latin':return N(_0x1fe4ca,!0x0);case'lower-roman':return X(_0x1fe4ca,!0x1);case'upper-roman':return X(_0x1fe4ca,!0x0);default:return String(_0x1fe4ca);}}}function M(_0x500a84,_0x1bd12c){const _0x37ab98=_0x1bd12c['toViewElement'](_0x500a84);return Array['from'](_0x37ab98['getChildren']())['find'](_0x4805bc=>_0x4805bc['is']('element','ol')&&_0x4805bc['hasClass']('footnotes-list'));}function N(_0x1df5f0,_0x17ccb2){let _0x11db8f='',_0x3a6766=_0x1df5f0;for(;_0x3a6766>0x0;){const _0x5027f5=(_0x3a6766-0x1)%0x1a;_0x11db8f=String['fromCharCode'](0x61+_0x5027f5)+_0x11db8f,_0x3a6766=Math['floor']((_0x3a6766-0x1)/0x1a);}return _0x17ccb2?_0x11db8f['toUpperCase']():_0x11db8f;}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(_0x1554f8,_0x5e96a7){let _0x3a0421='',_0x3866ff=_0x1554f8;for(const {value:_0x19aab0,numeral:_0x210e3b}of V)for(;_0x3866ff>=_0x19aab0;)_0x3a0421+=_0x210e3b,_0x3866ff-=_0x19aab0;return _0x5e96a7?_0x3a0421:_0x3a0421['toLowerCase']();}class H extends _0xb682b{['children'];['stylesView']=null;['additionalProperties']=null;['startIndexFieldView']=null;['focusTracker']=new ot();['keystrokes']=new rt();['focusables']=new _0x3f4e28();['focusCycler'];constructor(_0x2463b4,{styleButtonViews:_0x1e4175,styleGridAriaLabel:_0x492809}){super(_0x2463b4),(this['focusCycler']=new _0x13a3ed({'focusables':this['focusables'],'focusTracker':this['focusTracker'],'keystrokeHandler':this['keystrokes'],'actions':{'focusPrevious':'shift\x20+\x20tab','focusNext':'tab'}}),this['children']=this['createCollection'](),this['stylesView']=this['_appendStylesView'](_0x1e4175,_0x492809),[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 _0x2ed9bc of this['stylesView']['children'])this['stylesView']['focusTracker']['add'](_0x2ed9bc['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 _0x257572=_0x401fd9=>_0x401fd9['stopPropagation']();this['keystrokes']['set']('arrowright',_0x257572),this['keystrokes']['set']('arrowleft',_0x257572),this['keystrokes']['set']('arrowup',_0x257572),this['keystrokes']['set']('arrowdown',_0x257572);}this['keystrokes']['listenTo'](this['element']);}['focus'](){this['focusCycler']['focusFirst']();}['focusLast'](){this['focusCycler']['focusLast']();}['destroy'](){super['destroy'](),this['focusTracker']['destroy'](),this['keystrokes']['destroy']();}['_appendStylesView'](_0x4a527a,_0x331734){const _0x5ea876=new _0xb682b(this['locale']);return _0x5ea876['children']=_0x5ea876['createCollection'](),_0x5ea876['children']['addMany'](_0x4a527a),_0x5ea876['setTemplate']({'tag':'div','attributes':{'aria-label':_0x331734,'class':['ck','ck-footnotes-definitions-styles-list']},'children':_0x5ea876['children']}),_0x5ea876['children']['delegate']('execute')['to'](this),_0x5ea876['focus']=function(){for(const _0x501bcb of this['children'])if(_0x501bcb instanceof _0x17f526&&_0x501bcb['isOn'])return void _0x501bcb['focus']();this['children']['first']['focus']();},_0x5ea876['focusTracker']=new ot(),_0x5ea876['keystrokes']=new rt(),_0x5ea876['render'](),_0x5ea876['keystrokes']['listenTo'](_0x5ea876['element']),this['children']['add'](_0x5ea876),_0x5ea876;}['_appendAdditionalPropertiesCollapsibleView'](){const {t:t}=this['locale'],_0x2a9de4=this['_createStartIndexPropertyView'](),_0xfcc4d0=[_0x2a9de4],_0x146172=new st(this['locale'],_0xfcc4d0);return _0x146172['set']({'label':t('Footnotes\x20properties'),'isCollapsed':!0x0}),_0x146172['buttonView']['bind']('isEnabled')['toMany'](_0xfcc4d0,'isEnabled',(..._0xbfa029)=>_0xbfa029['some'](_0xc83a09=>_0xc83a09)),_0x146172['buttonView']['on']('change:isEnabled',(_0x3bcc1f,_0x29d60f,_0x1aa5d0)=>{_0x1aa5d0||(_0x146172['isCollapsed']=!0x0);}),this['children']['add'](_0x146172),[_0x2a9de4,_0x146172];}['_createStartIndexPropertyView'](){const {t:t}=this['locale'],_0x5d6ccd=new it(this['locale'],et);return _0x5d6ccd['set']({'label':t('Footnotes\x20start\x20at'),'class':'ck-footnotes-definitions-properties__start-index'}),_0x5d6ccd['fieldView']['set']({'min':0x0,'max':Math['pow'](0x2,0x1e),'step':0x1,'value':0x1,'inputMode':'numeric'}),_0x5d6ccd['fieldView']['on']('input',()=>{const _0x177b41=_0x5d6ccd['fieldView']['element'],_0x408529=_0x177b41['valueAsNumber'];Number['isNaN'](_0x408529)?_0x5d6ccd['errorText']=t('Invalid\x20footnotes\x20start\x20index\x20value.'):_0x177b41['checkValidity']()?this['fire']('footnotesListStart',{'startIndex':_0x408529}):_0x5d6ccd['errorText']=t(_0x408529<0x0?'Footnotes\x20start\x20index\x20must\x20be\x20greater\x20than\x200.':'Footnotes\x20start\x20index\x20is\x20too\x20large.');}),_0x5d6ccd;}}class j extends _0x537dd2{static get['pluginName'](){return'FootnotesPropertiesUI';}static get['requires'](){return[_0x120893,_0x33ead7];}static get['isOfficialPlugin'](){return!0x0;}static get['isPremiumPlugin'](){return!0x0;}['init'](){const {editor:_0x5cc614}=this,{componentFactory:_0x122471}=_0x5cc614['ui'];_0x5cc614['config']['define']('footnotes.footnotesProperties.toolbar',['footnotesStyle']),_0x122471['add']('footnotesStyle',function(_0x49fa24){return _0x2dd0a0=>{const {t:t}=_0x2dd0a0,_0x284d7b=_0x49fa24['commands']['get']('footnotesStyle'),_0x193a8d=_0x3387b9(_0x2dd0a0),{buttonView:_0x15affd}=_0x193a8d;return _0x193a8d['class']='ck-footnotes-styles-dropdown',_0x193a8d['bind']('isEnabled')['to'](_0x284d7b,'isEnabled'),_0x15affd['set']({'label':t('Footnotes\x20style'),'icon':_0x1c96f4,'tooltip':!0x0}),_0x193a8d['once']('change:isOpen',()=>{const _0x123d2a=function({editor:_0x149448,dropdownView:_0x4585f5}){const {t:t}=_0x149448['locale'],_0x270bf5=t('Footnotes\x20definitions\x20styles'),_0x203d05=function(_0x5f5dd3){const t=_0x5f5dd3['locale']['t'],_0x40554b=[{'label':t('Toggle\x20the\x20decimal\x20footnotes\x20style'),'tooltip':t('Decimal\x20footnotes'),'style':'decimal','icon':_0x2b46fd},{'label':t('Toggle\x20the\x20decimal\x20with\x20leading\x20zero\x20footnotes\x20style'),'tooltip':t('Decimal\x20footnotes\x20with\x20leading\x20zero'),'style':'decimal-leading-zero','icon':_0x1bfc9f},{'label':t('Toggle\x20the\x20lower–roman\x20footnotes\x20style'),'tooltip':t('Lower–roman\x20footnotes'),'style':'lower-roman','icon':_0x2ab1af},{'label':t('Toggle\x20the\x20upper–roman\x20footnotes\x20style'),'tooltip':t('Upper-roman\x20footnotes'),'style':'upper-roman','icon':_0x459c39},{'label':t('Toggle\x20the\x20lower–latin\x20footnotes\x20style'),'tooltip':t('Lower-latin\x20footnotes'),'style':'lower-latin','icon':_0x169eff},{'label':t('Toggle\x20the\x20upper–latin\x20footnotes\x20style'),'tooltip':t('Upper-latin\x20footnotes'),'style':'upper-latin','icon':_0x2a64ff}];return _0x40554b['map'](function(_0x1d0f33){const _0xe3a4b4=_0x1d0f33['locale'];return({label:_0x4c8fc3,icon:_0x5eec87,tooltip:_0x1fb673,style:_0x3ef20a})=>{const _0x57a440=_0x1d0f33['commands']['get']('footnotesStyle'),_0x30cdc1=new _0x17f526(_0xe3a4b4);return _0x30cdc1['set']({'label':_0x4c8fc3,'icon':_0x5eec87,'tooltip':_0x1fb673}),_0x30cdc1['bind']('isOn')['to'](_0x57a440,'value',_0x3d68c3=>_0x3d68c3===_0x3ef20a),_0x30cdc1['bind']('isEnabled')['to'](_0x57a440,'isEnabled'),_0x30cdc1['on']('execute',()=>{_0x1d0f33['execute']('footnotesStyle',{'value':_0x3ef20a}),_0x1d0f33['editing']['view']['focus']();}),_0x30cdc1;};}(_0x5f5dd3));}(_0x149448),_0x55ace1=new H(_0x149448['locale'],{'styleGridAriaLabel':_0x270bf5,'styleButtonViews':_0x203d05}),_0x304ab8=_0x149448['commands']['get']('footnotesStart');return _0x55ace1['startIndexFieldView']['bind']('isEnabled')['to'](_0x304ab8),_0x55ace1['startIndexFieldView']['fieldView']['bind']('value')['to'](_0x304ab8),_0x55ace1['on']('footnotesListStart',(_0x178b9e,_0x515dcb)=>{_0x149448['execute']('footnotesStart',{'value':_0x515dcb['startIndex']});}),_0x55ace1['delegate']('execute')['to'](_0x4585f5),_0x55ace1;}({'editor':_0x49fa24,'dropdownView':_0x193a8d});_0x193a8d['panelView']['children']['add'](_0x123d2a);}),_0x193a8d;};}(_0x5cc614));}['afterInit'](){const {editor:_0x3579c3}=this,{t:t}=_0x3579c3['locale'],_0x5e7be0=_0x3579c3['plugins']['get'](_0x33ead7),{defaultPositions:_0x477815}=_0x1b4c01;_0x5e7be0['register']('footnotesDefinitions',{'ariaLabel':t('Footnotes\x20definitions\x20toolbar'),'items':_0x3579c3['config']['get']('footnotes.footnotesProperties.toolbar'),'balloonClassName':'ck-footnotes-style-balloon\x20ck-toolbar-container','getRelatedElement':_0x56e7e7=>{let _0x2c61b3=_0x56e7e7['getFirstPosition']()?.['parent'];return _0x2c61b3?.['is']('$text')&&(_0x2c61b3=_0x2c61b3['parent']),_0x2c61b3?.['is']('element')?_0x2c61b3['findAncestor'](J):null;},'positions':[_0x477815['southArrowNorth'],_0x477815['southArrowNorthMiddleWest'],_0x477815['southArrowNorthMiddleEast'],_0x477815['southArrowNorthWest'],_0x477815['southArrowNorthEast'],_0x477815['northArrowSouth'],_0x477815['northArrowSouthMiddleWest'],_0x477815['northArrowSouthMiddleEast'],_0x477815['northArrowSouthWest'],_0x477815['northArrowSouthEast'],_0x477815['viewportStickyNorth']]});}}class ft extends _0x537dd2{static get['pluginName'](){return'FootnotesProperties';}static get['requires'](){return[P,j];}static get['isOfficialPlugin'](){return!0x0;}static get['isPremiumPlugin'](){return!0x0;}}export{lt as Footnotes,e as FootnotesClipboard,r as FootnotesEditing,ft as FootnotesProperties,P as FootnotesPropertiesEditing,j as FootnotesPropertiesUI,C as FootnotesStartCommand,S as FootnotesStyleCommand,f as FootnotesTracker,i as FootnotesUI,m as InsertFootnoteCommand};
|
|
23
|
+
import{Plugin as _0x118d13,Command as _0x5ae6ad}from'@ckeditor/ckeditor5-core/dist/index.js';import{toWidget as _0x183aa1,isWidget as _0xd3de50,toWidgetEditable as _0xeac5ad,WidgetToolbarRepository as _0x1e51cc}from'@ckeditor/ckeditor5-widget/dist/index.js';import{uid as _0x5aa240,logWarning as _0x4e0832,FocusTracker as ot,KeystrokeHandler as rt,global as nt}from'@ckeditor/ckeditor5-utils/dist/index.js';import{PointerObserver as _0x58f50b,ClickObserver as _0x17d6ed}from'@ckeditor/ckeditor5-engine/dist/index.js';import{ClipboardPipeline as _0x28e692}from'@ckeditor/ckeditor5-clipboard/dist/index.js';import{MenuBarMenuListItemButtonView as _0x3547b1,ButtonView as _0xf70ec0,View as _0x4494ca,ViewCollection as _0x139bc3,FocusCycler as _0x3b9710,addKeyboardHandlingForGrid as tt,CollapsibleView as st,LabeledFieldView as it,createLabeledInputNumber as et,ContextualBalloon as _0x2c7879,BalloonPanelView as _0x3f8e1d,createDropdown as _0x38d6a8}from'@ckeditor/ckeditor5-ui/dist/index.js';import{IconFootnote as _0x57bbe2,IconListStyleDecimal as _0x3a27f9,IconListStyleDecimalLeadingZero as _0x36a513,IconListStyleLowerRoman as _0xcd738e,IconListStyleUpperRoman as _0x1e706b,IconListStyleLowerLatin as _0x1ba09a,IconListStyleUpperLatin as _0x507b51}from'@ckeditor/ckeditor5-icons/dist/index.js';class F{['_model'];['_elementName'];['_getElementKey'];['_trackedElements']=new Map();constructor(_0x422e11,_0x2f7bc9){this['_model']=_0x422e11,this['_elementName']=_0x2f7bc9['elementName'],this['_getElementKey']=_0x2f7bc9['getElementKey'];}['reset'](){this['_trackedElements']['clear']();}['getChanges'](_0x2d857f){const _0x165902=new Set(),_0xbd0525=new Map();for(const _0x5cc9d2 of _0x2d857f){if('insert'===_0x5cc9d2['type']&&'$text'!==_0x5cc9d2['name']&&_0x5cc9d2['position']['nodeAfter']){const _0x20ebf0=this['_model']['createRangeOn'](_0x5cc9d2['position']['nodeAfter']);for(const _0x3cf665 of _0x20ebf0['getItems']()){if(!_0x3cf665['is']('element',this['_elementName']))continue;const _0x2ffdd6=this['_getElementKey'](_0x3cf665);_0xbd0525['has'](_0x2ffdd6)||_0xbd0525['set'](_0x2ffdd6,[]),_0xbd0525['get'](_0x2ffdd6)['push'](_0x3cf665);}}if('remove'===_0x5cc9d2['type']&&_0x5cc9d2['name']===this['_elementName']){const _0x2afa6d=this['_getElementKey']({'getAttribute':_0x2e259c=>_0x5cc9d2['attributes']['get'](_0x2e259c)});_0x165902['add'](_0x2afa6d);}}for(const [_0x425d25,_0x1bcd50]of this['_trackedElements'])'$graveyard'===_0x1bcd50['root']['rootName']&&_0x165902['add'](_0x425d25);for(const _0x22d6d0 of _0x165902)this['_trackedElements']['delete'](_0x22d6d0);for(const [_0x35b061,_0x4d6f90]of _0xbd0525)this['_trackedElements']['set'](_0x35b061,_0x4d6f90[_0x4d6f90['length']-0x1]);const _0x13b911=new Set();for(const [_0x4d93c0,_0x305a46]of _0xbd0525)_0x165902['has'](_0x4d93c0)&&(_0x13b911['add'](_0x305a46[0x0]),_0x305a46['length']>0x1?_0xbd0525['set'](_0x4d93c0,_0x305a46['slice'](0x1)):_0xbd0525['delete'](_0x4d93c0),_0x165902['delete'](_0x4d93c0));return{'removed':Array['from'](_0x165902),'inserted':Array['from'](_0xbd0525['values']())['flat'](),'moved':Array['from'](_0x13b911)};}}class f extends _0x118d13{['_footnotes']=[];['_footnotesDefinitions']=null;['_footnoteFormatter']=null;['_footnoteDefsContainerTracker'];['_footnoteRefsTracker'];['_footnoteDefsTracker'];static get['pluginName'](){return'FootnotesTracker';}static get['isOfficialPlugin'](){return!0x0;}static get['isPremiumPlugin'](){return!0x0;}constructor(_0x4acd75){super(_0x4acd75),this['_footnoteDefsContainerTracker']=new F(this['editor']['model'],{'elementName':'footnotesDefinitions','getElementKey':()=>'singleton'}),this['_footnoteRefsTracker']=new F(this['editor']['model'],{'elementName':'footnoteRef','getElementKey':_0x545d0d=>_0x545d0d['getAttribute']('footnoteId')}),this['_footnoteDefsTracker']=new F(this['editor']['model'],{'elementName':'footnoteDefinition','getElementKey':_0x215b98=>_0x215b98['getAttribute']('footnoteId')});}['init'](){const {editor:_0x40ace9}=this,{model:_0x3052dc,data:_0x2fe721}=_0x40ace9;_0x3052dc['document']['registerPostFixer'](_0x36ba57=>{const _0x5497b5=_0x3052dc['document']['differ']['getChanges']();let _0x41c944=!0x1;return this['_handleFootnotesDefinitionsObjectChanges'](_0x36ba57,_0x5497b5)&&(_0x41c944=!0x0),this['_handleFootnoteDefinitionsChanges'](_0x36ba57,_0x5497b5)&&(_0x41c944=!0x0),this['_handleFootnoteReferencesChanges'](_0x36ba57,_0x5497b5)&&(_0x41c944=!0x0),this['_ensureFootnotesReferencesHaveProperOrder'](_0x36ba57)&&(_0x41c944=!0x0),this['_handleFootnotesDefinitionsObjectSync'](_0x36ba57)&&(_0x41c944=!0x0),this['_sortFootnoteDefinitions'](_0x36ba57)&&(_0x41c944=!0x0),_0x41c944;}),this['listenTo'](_0x3052dc['document'],'change:data',()=>{_0x3052dc['enqueueChange']({'isUndoable':!0x1},_0x7e28=>{this['_ensureFootnotesDefinitionsContainerExists'](_0x7e28);});},{'priority':'low'}),this['listenTo'](_0x2fe721,'set',()=>{this['_footnotes']=[],this['_footnoteDefsContainerTracker']['reset'](),this['_footnoteRefsTracker']['reset'](),this['_footnoteDefsTracker']['reset']();},{'priority':'high'});}['getFootnotesDefinitionsObjectElement'](){return this['_footnotesDefinitions'];}['getFootnote'](_0x2fe1bd){return this['_footnotes']['find'](_0xeed5f0=>_0xeed5f0['id']===_0x2fe1bd)||null;}['getFootnotes'](){return Array['from'](this['_footnotes']);}['getFootnotesFormatter'](){return this['_footnoteFormatter'];}['setFootnoteFormatter'](_0xcd724a){this['_footnoteFormatter']=_0xcd724a;}['_updateFootnotesCounters'](_0x5a7ee3,_0x491e99=0x0){let _0x3bb83c=!0x1;for(let _0x304668=_0x491e99;_0x304668<this['_footnotes']['length'];_0x304668++)this['_updateFootnoteRefCounter'](_0x5a7ee3,_0x304668)&&(_0x3bb83c=!0x0);return _0x3bb83c;}['_insertEmptyFootnotesDefinitionsContainer'](_0xc86037,_0x4fe586){const _0x1b7404=_0xc86037['createElement']('footnotesDefinitions',{});return _0xc86037['append'](_0x1b7404,_0x4fe586),this['_footnotesDefinitions']=_0x1b7404,_0x1b7404;}['_ensureFootnotesDefinitionsContainerExists'](_0x314212){if(!this['_footnotes']['length']||this['_footnotesDefinitions'])return;const _0xd0da81=this['_footnotes'][0x0]['reference']['root'],_0xed8599=this['_insertEmptyFootnotesDefinitionsContainer'](_0x314212,_0xd0da81);for(const _0x51bf57 of this['_footnotes'])_0x51bf57['definition']['parent']||_0x314212['insert'](_0x51bf57['definition'],_0xed8599,'end');this['_updateFootnotesCounters'](_0x314212);}['_handleFootnotesDefinitionsObjectChanges'](_0x4ed469,_0x585f79){let _0x3d58c7=!0x1;const {inserted:_0x83534e,removed:_0x356ab8,moved:_0x50eb03}=this['_footnoteDefsContainerTracker']['getChanges'](_0x585f79);if(_0x50eb03['length']&&(this['_footnotesDefinitions']=_0x50eb03[0x0]),_0x83534e['length']){if(_0x83534e['length']>0x1||this['_footnotesDefinitions']&&_0x83534e['some'](_0x3ff1aa=>_0x3ff1aa!==this['_footnotesDefinitions'])){const _0x585eb0=_0x4ed469['createElement']('footnotesDefinitions',{}),_0x37f62b=[];this['_footnotesDefinitions']&&_0x37f62b['push'](this['_footnotesDefinitions']),_0x37f62b['push'](..._0x83534e),_0x4ed469['insert'](_0x585eb0,_0x37f62b[0x0],'before');for(const _0x3e9b8b of _0x37f62b)_0x4ed469['move'](_0x4ed469['createRangeIn'](_0x3e9b8b),_0x4ed469['createPositionAt'](_0x585eb0,'end')),_0x4ed469['remove'](_0x3e9b8b);this['_footnotesDefinitions']=_0x585eb0,this['_updateFootnotesCounters'](_0x4ed469),_0x3d58c7=!0x0;}else this['_footnotesDefinitions']=_0x83534e[0x0];}if(_0x356ab8['length']&&'$graveyard'===this['_footnotesDefinitions']?.['root']['rootName']){for(const _0x57ee8f of this['_footnotes'])_0x4ed469['remove'](_0x57ee8f['reference']),_0x3d58c7=!0x0;this['_footnotes']=[],this['_footnotesDefinitions']=null;}return _0x3d58c7;}['_handleFootnoteDefinitionsChanges'](_0x113884,_0x23b271){let _0x3e3d17=!0x1;const _0x3644b2=this['editor']['config']['get']('footnotes.multiBlock'),{inserted:_0x3a595f,moved:_0xe01968}=this['_footnoteDefsTracker']['getChanges'](_0x23b271);for(const _0x37194b of[..._0xe01968,..._0x3a595f]){const _0xbdf72f=_0x37194b['getAttribute']('footnoteId'),_0x45ec76=this['getFootnote'](_0xbdf72f);_0x45ec76&&(_0x45ec76['definition']=_0x37194b),_(_0x113884,_0x3644b2,_0x37194b)&&(_0x3e3d17=!0x0);}return _0x3e3d17;}['_handleFootnoteReferencesChanges'](_0x652521,_0xd5da38){let _0x102c1c=!0x1;const {removed:_0x4781ff,inserted:_0x1b4fa8,moved:_0x4391df}=this['_footnoteRefsTracker']['getChanges'](_0xd5da38);for(const _0x2968a5 of _0x4781ff)this['_handleRemoveFootnoteReferenceById'](_0x652521,_0x2968a5)&&(_0x102c1c=!0x0);for(const _0x299aa3 of _0x1b4fa8)this['_handleInsertedFootnoteReference'](_0x652521,_0x299aa3)&&(_0x102c1c=!0x0);for(const _0x5538f6 of _0x4391df)this['_handleMovedFootnoteReference'](_0x652521,_0x5538f6)&&(_0x102c1c=!0x0);return _0x102c1c;}['_handleFootnotesDefinitionsObjectSync'](_0x24c651){if(!this['_footnotesDefinitions'])return!0x1;let _0x26b676=!0x1;if(this['_footnotesDefinitions']['childCount']!==this['_footnotes']['length']){const _0x4a8105=[];for(const _0x3f8974 of this['_footnotesDefinitions']['getChildren']()){const _0x52fd31=_0x3f8974['getAttribute']('footnoteId');this['getFootnote'](_0x52fd31)||(_0x4a8105['unshift'](_0x3f8974),_0x26b676=!0x0);}for(const _0x46657b of _0x4a8105)_0x24c651['remove'](_0x46657b);}const _0x1e16d2=new Set(),_0x33ac03=[];for(const _0x1b78d6 of this['_footnotesDefinitions']['getChildren']()){const _0x1a30f4=_0x1b78d6['getAttribute']('footnoteId');_0x1e16d2['has'](_0x1a30f4)?(_0x33ac03['unshift'](_0x1b78d6),_0x26b676=!0x0):_0x1e16d2['add'](_0x1a30f4);}for(const _0x289a7e of _0x33ac03)_0x24c651['remove'](_0x289a7e);return this['_footnotesDefinitions']['childCount']||(_0x24c651['remove'](this['_footnotesDefinitions']),this['_footnotesDefinitions']=null,_0x26b676=!0x0),_0x26b676;}['_handleInsertedFootnoteReference'](_0x734334,_0x33aed4){if(this['_footnotes']['find'](_0x3219fb=>_0x3219fb['reference']===_0x33aed4))return!0x1;let _0x56b7c3=!0x1;const _0xbefc31=_0x33aed4['getAttribute']('footnoteId'),_0x47a6c5=this['_footnotes']['findIndex'](_0x2d3734=>_0x2d3734['id']===_0xbefc31);-0x1!==_0x47a6c5&&(_0x734334['remove'](this['_footnotes'][_0x47a6c5]['reference']),this['_footnotes']['splice'](_0x47a6c5,0x1),_0x56b7c3=!0x0);let _0x34eaa7=this['_footnotesDefinitions']?function(_0x43f99a,_0xa22c7){for(const _0x570bb6 of _0x43f99a['getChildren']())if(_0x570bb6['getAttribute']('footnoteId')===_0xa22c7)return _0x570bb6;return null;}(this['_footnotesDefinitions'],_0xbefc31):null;_0x34eaa7||(_0x34eaa7=_0x734334['createElement']('footnoteDefinition',{'footnoteId':_0xbefc31}),this['_footnotesDefinitions']&&(_0x734334['insert'](_0x34eaa7,this['_footnotesDefinitions'],'end'),_0x56b7c3=!0x0));const _0x2a0963={'id':_0xbefc31,'reference':_0x33aed4,'definition':_0x34eaa7},_0xbcbcf7=I(this['editor']['model'],this['_footnotes'],_0x33aed4);this['_footnotes']['splice'](_0xbcbcf7,0x0,_0x2a0963);let _0x10e362=_0xbcbcf7;return-0x1!==_0x47a6c5&&(_0x10e362=Math['min'](_0xbcbcf7,_0x47a6c5)),this['_updateFootnotesCounters'](_0x734334,_0x10e362)&&(_0x56b7c3=!0x0),_0x56b7c3;}['_handleRemoveFootnoteReferenceById'](_0x1fd6f1,_0x24c4e7){const _0x2bd645=this['_footnotes']['findIndex'](_0x2cbc94=>_0x2cbc94['id']===_0x24c4e7);if(-0x1===_0x2bd645)return!0x1;let _0x43b61c=!0x1;const _0x314de0=this['_footnotes'][_0x2bd645];return'$graveyard'!==_0x314de0['definition']['root']['rootName']&&(_0x1fd6f1['remove'](_0x314de0['definition']),_0x43b61c=!0x0),this['_footnotes']['splice'](_0x2bd645,0x1),this['_updateFootnotesCounters'](_0x1fd6f1,_0x2bd645)&&(_0x43b61c=!0x0),_0x43b61c;}['_handleMovedFootnoteReference'](_0x1db541,_0x412b98){const _0x4790e1=_0x412b98['getAttribute']('footnoteId'),_0x390a34=this['_footnotes']['findIndex'](_0x288ac0=>_0x288ac0['id']===_0x4790e1),_0x48a3ef=this['_footnotes'][_0x390a34];let _0x4d98d0=!0x1;_0x48a3ef['reference']=_0x412b98,this['_footnotes']['splice'](_0x390a34,0x1);const _0x2e306b=I(this['editor']['model'],this['_footnotes'],_0x412b98);return this['_footnotes']['splice'](_0x2e306b,0x0,_0x48a3ef),this['_updateFootnotesCounters'](_0x1db541,Math['min'](_0x390a34,_0x2e306b))&&(_0x4d98d0=!0x0),_0x4d98d0;}['_updateFootnoteRefCounter'](_0x2d2b1b,_0x1f860f){if(!this['_footnotesDefinitions'])return!0x1;const _0x528056=this['_footnotes'][_0x1f860f];let _0x237149;return _0x237149=this['_footnoteFormatter']?this['_footnoteFormatter']({'footnote':_0x528056,'container':this['_footnotesDefinitions'],'digits':String(this['_footnotes']['length'])['length'],'value':_0x1f860f+0x1}):String(_0x1f860f+0x1),_0x528056['reference']['getAttribute']('footnoteCounter')!=_0x237149&&(_0x2d2b1b['setAttribute']('footnoteCounter',_0x237149,_0x528056['reference']),!0x0);}['_sortFootnoteDefinitions'](_0x42d500){if(!this['_footnotesDefinitions']||this['_footnotes']['length']<0x2)return!0x1;if(function(_0x2e9546,_0x534706){if(_0x2e9546['length']!==_0x534706['length'])return!0x1;for(let _0x569d16=0x0;_0x569d16<_0x2e9546['length'];_0x569d16++)if(_0x2e9546[_0x569d16]!==_0x534706[_0x569d16])return!0x1;return!0x0;}(this['_footnotes']['map'](_0x8492c6=>_0x8492c6['id']),Array['from'](this['_footnotesDefinitions']['getChildren']())['map'](_0x22b727=>_0x22b727['getAttribute']('footnoteId'))))return!0x1;let _0x5a9ac0=!0x1;for(let _0x34936f=0x0;_0x34936f<this['_footnotes']['length'];_0x34936f++){const _0x4a6bc8=this['_footnotes'][_0x34936f],_0x587352=_0x42d500['createPositionBefore'](_0x4a6bc8['definition']),_0x387a0a=_0x42d500['createPositionAt'](this['_footnotesDefinitions'],_0x34936f);_0x587352['isEqual'](_0x387a0a)||(_0x42d500['move'](_0x42d500['createRangeOn'](_0x4a6bc8['definition']),_0x387a0a),_0x5a9ac0=!0x0);}return _0x5a9ac0;}['_ensureFootnotesReferencesHaveProperOrder'](_0x59506a){if(!this['_footnotes']['length'])return!0x1;const {model:_0x3be495}=this['editor'];let _0x4b9107=!0x1;for(let _0x5e9b92=0x0;_0x5e9b92<this['_footnotes']['length']-0x1;_0x5e9b92++){const _0x4f49de=this['_footnotes'][_0x5e9b92],_0x41ea9b=this['_footnotes'][_0x5e9b92+0x1],_0x421403=_0x3be495['createPositionBefore'](_0x4f49de['reference']),_0x2b8be2=_0x3be495['createPositionBefore'](_0x41ea9b['reference']);'after'===_0x421403['compareWith'](_0x2b8be2)&&(this['_handleMovedFootnoteReference'](_0x59506a,_0x4f49de['reference']),_0x5e9b92=-0x1,_0x4b9107=!0x0);}return _0x4b9107;}}function _(_0x333b40,_0x9af724,_0x128c86){if(_0x128c86['childCount'])return!0x1;const _0x44123b=_0x9af724?'paragraph':'footnoteInlineContent';return _0x333b40['insert'](_0x333b40['createElement'](_0x44123b),_0x128c86),!0x0;}function I(_0x4d37b3,_0x4937ff,_0xc9656d){if(0x0===_0x4937ff['length'])return 0x0;const _0x597201=_0x4d37b3['createPositionBefore'](_0xc9656d);for(let _0x2320b4=0x0;_0x2320b4<_0x4937ff['length'];_0x2320b4++){const _0x393e3a=_0x4937ff[_0x2320b4],_0x44bdd7=_0x4d37b3['createPositionBefore'](_0x393e3a['reference']);if('before'===_0x597201['compareWith'](_0x44bdd7))return _0x2320b4;}const _0x673b26=_0xc9656d['root'];let _0x4f7212=-0x1;for(let _0x2c570e=_0x4937ff['length']-0x1;_0x2c570e>=0x0;_0x2c570e--)if(_0x4937ff[_0x2c570e]['reference']['root']===_0x673b26){_0x4f7212=_0x2c570e;break;}if(-0x1!==_0x4f7212)return _0x4f7212+0x1;const _0x1f3b3a=_0x4d37b3['document']['getRootNames'](),_0x3aa856=_0x1f3b3a['indexOf'](_0x673b26['rootName']),_0x22b1de=_0x1f3b3a[_0x3aa856+0x1];if(_0x22b1de){for(let _0xc0891f=0x0;_0xc0891f<_0x4937ff['length'];_0xc0891f++)if(_0x4937ff[_0xc0891f]['reference']['root']['rootName']===_0x22b1de)return _0xc0891f;}return _0x4937ff['length'];}class m extends _0x5ae6ad{['refresh'](){const _0x1018f9=this['editor']['model']['document']['selection'],_0x3bd2b0=this['_getPositionToInsertFootnote'](_0x1018f9);this['isEnabled']=!!_0x3bd2b0;}['execute'](_0x381ade){const {editor:_0xb6c116}=this,{model:_0x1d617e}=_0xb6c116,{selection:_0x475575}=_0x1d617e['document'],_0x5bd059=this['_getPositionToInsertFootnote'](_0x475575);if(!_0x5bd059)return;const _0x3ae5df=_0xb6c116['plugins']['get']('FootnotesEditing'),_0x52c4b1=_0x381ade?.['footnoteId']??_0x5aa240();!function(_0x27405e){return'string'==typeof _0x27405e&&_0x27405e['length']>0x0&&!/\s/['test'](_0x27405e)&&!/^\d/['test'](_0x27405e);}(_0x52c4b1)?_0x4e0832('insert-footnote-command-executed-with-invalid-id'):(_0x1d617e['change'](_0x334c9b=>{const _0x5cfccb=_0x334c9b['createElement']('footnoteRef',{'footnoteId':_0x52c4b1});_0x1d617e['insertObject'](_0x5cfccb,_0x5bd059,null);}),_0x3ae5df['_moveSelectionToFootnoteDefinition'](_0x52c4b1));}['_getPositionToInsertFootnote'](_0x45ce7c){const {model:_0x371b0b}=this['editor'],{schema:_0x154c90}=_0x371b0b,_0x3a5137=_0x45ce7c['getFirstRange']();for(const _0x340c98 of _0x3a5137['getItems']())if(_0x154c90['isBlock'](_0x340c98)||_0x154c90['isObject'](_0x340c98))return null;const _0x303dff=_0x3a5137['end'];return _0x154c90['checkChild'](_0x303dff,'footnoteRef')?_0x303dff:null;}}class r extends _0x118d13{static get['pluginName'](){return'FootnotesEditing';}static get['requires'](){return[f];}static get['isOfficialPlugin'](){return!0x0;}static get['isPremiumPlugin'](){return!0x0;}['init'](){const {editor:_0x350aeb}=this;_0x350aeb['config']['define']('footnotes.multiBlock',!0x0),_0x350aeb['commands']['add']('insertFootnote',new m(_0x350aeb)),this['_defineSchema'](),this['_defineRefsConverters'](),this['_defineDefinitionsConverters'](),this['_defineDefinitionConverters'](),this['_defineBogusParagraphConverters'](),this['_defineKeyboardHandlers'](),this['_defineClickHandlers']();}['afterInit'](){!async function(_0x39ab75){const _0xb3c223=_0x2b3d88([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]),_0x42f288=0x47a28506,_0x162e0b=0x47a5f946^_0x42f288,_0x79d213=window[_0x2b3d88([0x44,0x61,0x74,0x65])][_0x2b3d88([0x6e,0x6f,0x77])](),_0x29bf96=_0x39ab75[_0x2b3d88([0x65,0x64,0x69,0x74,0x6f,0x72])],_0x33b8a6=new window[(_0x2b3d88([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0x118ded=>{_0x29bf96[_0x2b3d88([0x6f,0x6e,0x63,0x65])](_0x2b3d88([0x72,0x65,0x61,0x64,0x79]),_0x118ded);}),_0x5abbc5={[_0x2b3d88([0x6b,0x74,0x79])]:_0x2b3d88([0x45,0x43]),[_0x2b3d88([0x75,0x73,0x65])]:_0x2b3d88([0x73,0x69,0x67]),[_0x2b3d88([0x63,0x72,0x76])]:_0x2b3d88([0x50,0x2d,0x32,0x35,0x36]),[_0x2b3d88([0x78])]:_0x2b3d88([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]),[_0x2b3d88([0x79])]:_0x2b3d88([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]),[_0x2b3d88([0x61,0x6c,0x67])]:_0x2b3d88([0x45,0x53,0x32,0x35,0x36])},_0x3257bc=_0x29bf96[_0x2b3d88([0x63,0x6f,0x6e,0x66,0x69,0x67])][_0x2b3d88([0x67,0x65,0x74])](_0x2b3d88([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x4b,0x65,0x79]));async function _0x224221(){let _0x1ebd70,_0x1f7283=null,_0x35ea81=null;try{if(_0x3257bc==_0x2b3d88([0x47,0x50,0x4c]))return _0x2b3d88([0x4e,0x6f,0x74,0x41,0x6c,0x6c,0x6f,0x77,0x65,0x64]);if(_0x1ebd70=_0x5755ec(),!_0x1ebd70)return _0x2b3d88([0x49,0x6e,0x76,0x61,0x6c,0x69,0x64]);return _0x1ebd70[_0x2b3d88([0x75,0x73,0x61,0x67,0x65,0x45,0x6e,0x64,0x70,0x6f,0x69,0x6e,0x74])]&&(_0x35ea81=_0x2226b1(_0x1ebd70[_0x2b3d88([0x75,0x73,0x61,0x67,0x65,0x45,0x6e,0x64,0x70,0x6f,0x69,0x6e,0x74])],_0x1ebd70[_0x2b3d88([0x6a,0x74,0x69])])),await _0x2a9824()?_0x128ea4()?_0x1679db()?_0x2b3d88([0x45,0x78,0x70,0x69,0x72,0x65,0x64]):_0x554076()?(_0x1ebd70[_0x2b3d88([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x54,0x79,0x70,0x65])]==_0x2b3d88([0x65,0x76,0x61,0x6c,0x75,0x61,0x74,0x69,0x6f,0x6e])&&(_0x1f7283=_0x4b2597(_0x2b3d88([0x45,0x76,0x61,0x6c,0x75,0x61,0x74,0x69,0x6f,0x6e,0x4c,0x69,0x6d,0x69,0x74]))),_0x1ebd70[_0x2b3d88([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x54,0x79,0x70,0x65])]==_0x2b3d88([0x74,0x72,0x69,0x61,0x6c])&&(_0x1f7283=_0x4b2597(_0x2b3d88([0x54,0x72,0x69,0x61,0x6c,0x4c,0x69,0x6d,0x69,0x74]))),await _0x5f0513()):_0x2b3d88([0x44,0x6f,0x6d,0x61,0x69,0x6e,0x4c,0x69,0x6d,0x69,0x74]):_0x2b3d88([0x4e,0x6f,0x74,0x41,0x6c,0x6c,0x6f,0x77,0x65,0x64]):_0x2b3d88([0x49,0x6e,0x76,0x61,0x6c,0x69,0x64]);}catch{return _0x2b3d88([0x49,0x6e,0x76,0x61,0x6c,0x69,0x64]);}function _0x1679db(){const _0x477c62=[_0x2b3d88([0x65,0x76,0x61,0x6c,0x75,0x61,0x74,0x69,0x6f,0x6e]),_0x2b3d88([0x74,0x72,0x69,0x61,0x6c])][_0x2b3d88([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x1ebd70[_0x2b3d88([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x54,0x79,0x70,0x65])])?_0x79d213/0x3e8:0xe10*_0x162e0b;return _0x1ebd70[_0x2b3d88([0x65,0x78,0x70])]<_0x477c62;}function _0x128ea4(){const _0x464d83=_0x1ebd70[_0x2b3d88([0x66,0x65,0x61,0x74,0x75,0x72,0x65,0x73])];return!!_0x464d83&&(!!_0x464d83[_0x2b3d88([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x2b3d88([0x2a]))||!!_0x464d83[_0x2b3d88([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x2b3d88([0x46,0x4f,0x4f])));}function _0x554076(){const _0x34a218=_0x1ebd70[_0x2b3d88([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x64,0x48,0x6f,0x73,0x74,0x73])];if(!_0x34a218||0x0==_0x34a218[_0x2b3d88([0x6c,0x65,0x6e,0x67,0x74,0x68])])return!0x0;const {hostname:_0xde8720}=new URL(window[_0x2b3d88([0x6c,0x6f,0x63,0x61,0x74,0x69,0x6f,0x6e])]['href']);if(_0x34a218[_0x2b3d88([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0xde8720))return!0x0;const _0x24bb01=_0xde8720[_0x2b3d88([0x73,0x70,0x6c,0x69,0x74])](_0x2b3d88([0x2e]));return _0x34a218[_0x2b3d88([0x66,0x69,0x6c,0x74,0x65,0x72])](_0x34cefb=>_0x34cefb[_0x2b3d88([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x2b3d88([0x2a])))[_0x2b3d88([0x6d,0x61,0x70])](_0x92889b=>_0x92889b[_0x2b3d88([0x73,0x70,0x6c,0x69,0x74])](_0x2b3d88([0x2e])))[_0x2b3d88([0x66,0x69,0x6c,0x74,0x65,0x72])](_0x3b3da7=>_0x3b3da7[_0x2b3d88([0x6c,0x65,0x6e,0x67,0x74,0x68])]<=_0x24bb01[_0x2b3d88([0x6c,0x65,0x6e,0x67,0x74,0x68])])[_0x2b3d88([0x6d,0x61,0x70])](_0x3550dd=>Array(_0x24bb01[_0x2b3d88([0x6c,0x65,0x6e,0x67,0x74,0x68])]-_0x3550dd[_0x2b3d88([0x6c,0x65,0x6e,0x67,0x74,0x68])])[_0x2b3d88([0x66,0x69,0x6c,0x6c])](_0x3550dd[0x0]===_0x2b3d88([0x2a])?_0x2b3d88([0x2a]):'')[_0x2b3d88([0x63,0x6f,0x6e,0x63,0x61,0x74])](_0x3550dd))[_0x2b3d88([0x73,0x6f,0x6d,0x65])](_0x26b33b=>_0x24bb01[_0x2b3d88([0x65,0x76,0x65,0x72,0x79])]((_0x27b878,_0x5ce5e9)=>_0x26b33b[_0x5ce5e9]===_0x27b878||_0x26b33b[_0x5ce5e9]===_0x2b3d88([0x2a])));}function _0x5f0513(){return _0x1f7283&&_0x35ea81?new window[(_0x2b3d88([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))]((_0x32d3a9,_0x5d715a)=>{_0x1f7283[_0x2b3d88([0x74,0x68,0x65,0x6e])](_0x32d3a9,_0x5d715a),_0x35ea81[_0x2b3d88([0x74,0x68,0x65,0x6e])](_0x554998=>{_0x554998!=_0x2b3d88([0x56,0x61,0x6c,0x69,0x64])&&_0x32d3a9(_0x554998);},_0x5d715a);}):_0x1f7283||_0x35ea81||_0x2b3d88([0x56,0x61,0x6c,0x69,0x64]);}}function _0x2226b1(_0x5493f1,_0xd6e12d){return new window[(_0x2b3d88([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0x5a3f55=>{if(_0x420aed())return _0x5a3f55(_0x2b3d88([0x56,0x61,0x6c,0x69,0x64]));_0x32e81c(),_0x29bf96[_0x2b3d88([0x64,0x65,0x63,0x6f,0x72,0x61,0x74,0x65])](_0x2b3d88([0x5f,0x73,0x65,0x6e,0x64,0x55,0x73,0x61,0x67,0x65,0x52,0x65,0x71,0x75,0x65,0x73,0x74]));let _0x1219a4=!0x1;const _0x30d636=_0x5aa240();function _0x4ca28b(_0x4fe095){return!!_0x4fe095&&(typeof _0x4fe095===_0x2b3d88([0x6f,0x62,0x6a,0x65,0x63,0x74])||typeof _0x4fe095===_0x2b3d88([0x66,0x75,0x6e,0x63,0x74,0x69,0x6f,0x6e]))&&typeof _0x4fe095[_0x2b3d88([0x74,0x68,0x65,0x6e])]===_0x2b3d88([0x66,0x75,0x6e,0x63,0x74,0x69,0x6f,0x6e])&&typeof _0x4fe095[_0x2b3d88([0x63,0x61,0x74,0x63,0x68])]===_0x2b3d88([0x66,0x75,0x6e,0x63,0x74,0x69,0x6f,0x6e]);}function _0x236381(_0x1e6dd7){_0x34c52d(_0x1e6dd7)[_0x2b3d88([0x74,0x68,0x65,0x6e])](_0x3b7a54=>{if(!_0x3b7a54||_0x3b7a54[_0x2b3d88([0x73,0x74,0x61,0x74,0x75,0x73])]!=_0x2b3d88([0x6f,0x6b]))return _0x2b3d88([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]);return _0x1f8a85(_0x3de0b0(_0x30d636+_0xd6e12d))!=_0x3b7a54[_0x2b3d88([0x76,0x65,0x72,0x69,0x66,0x69,0x63,0x61,0x74,0x69,0x6f,0x6e])]?_0x2b3d88([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]):_0x2b3d88([0x56,0x61,0x6c,0x69,0x64]);})[_0x2b3d88([0x74,0x68,0x65,0x6e])](_0x102a15=>(_0x359b79(),_0x102a15),()=>{const _0x4f3e09=_0x39bdd3();return null==_0x4f3e09?(_0x359b79(),_0x2b3d88([0x56,0x61,0x6c,0x69,0x64])):_0x2b3d88(_0x79d213-_0x4f3e09>(0x63ae0106^_0x42f288)?[0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]:[0x56,0x61,0x6c,0x69,0x64]);})[_0x2b3d88([0x74,0x68,0x65,0x6e])](_0x5a3f55)[_0x2b3d88([0x63,0x61,0x74,0x63,0x68])](()=>{_0x5a3f55(_0x2b3d88([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]));});const _0xcaa410=0x47946b86^_0x42f288;function _0x359b79(){const _0x12fc31=_0x2b3d88([0x6c,0x6c,0x63,0x74,0x2d])+_0x1f8a85(_0x3de0b0(_0x5493f1)),_0x2607e1=_0x2435f5(_0x1f8a85(window[_0x2b3d88([0x4d,0x61,0x74,0x68])][_0x2b3d88([0x63,0x65,0x69,0x6c])](_0x79d213/_0xcaa410)));window[_0x2b3d88([0x6c,0x6f,0x63,0x61,0x6c,0x53,0x74,0x6f,0x72,0x61,0x67,0x65])][_0x2b3d88([0x73,0x65,0x74,0x49,0x74,0x65,0x6d])](_0x12fc31,_0x2607e1);}function _0x39bdd3(){const _0x1fc93d=_0x2b3d88([0x6c,0x6c,0x63,0x74,0x2d])+_0x1f8a85(_0x3de0b0(_0x5493f1)),_0x21f02c=window[_0x2b3d88([0x6c,0x6f,0x63,0x61,0x6c,0x53,0x74,0x6f,0x72,0x61,0x67,0x65])][_0x2b3d88([0x67,0x65,0x74,0x49,0x74,0x65,0x6d])](_0x1fc93d);return _0x21f02c?window[_0x2b3d88([0x70,0x61,0x72,0x73,0x65,0x49,0x6e,0x74])](_0x2435f5(_0x21f02c),0x10)*_0xcaa410:null;}function _0x34c52d(_0x40c712){return new window[(_0x2b3d88([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))]((_0x3d05d8,_0x5f418f)=>{_0x40c712[_0x2b3d88([0x74,0x68,0x65,0x6e])](_0x3d05d8,_0x5f418f),window[_0x2b3d88([0x73,0x65,0x74,0x54,0x69,0x6d,0x65,0x6f,0x75,0x74])](_0x5f418f,0x47a351c6^_0x42f288);});}}_0x29bf96[_0x2b3d88([0x6f,0x6e])](_0x2b3d88([0x5f,0x73,0x65,0x6e,0x64,0x55,0x73,0x61,0x67,0x65,0x52,0x65,0x71,0x75,0x65,0x73,0x74]),(_0x3d28be,_0x47fdd3)=>{if(_0x47fdd3[0x0]!=_0x5493f1)return _0x5a3f55(_0x2b3d88([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]));_0x47fdd3[0x1]={..._0x47fdd3[0x1],[_0x2b3d88([0x72,0x65,0x71,0x75,0x65,0x73,0x74,0x49,0x64])]:_0x30d636};},{[_0x2b3d88([0x70,0x72,0x69,0x6f,0x72,0x69,0x74,0x79])]:_0x2b3d88([0x68,0x69,0x67,0x68])}),_0x29bf96[_0x2b3d88([0x6f,0x6e])](_0x2b3d88([0x5f,0x73,0x65,0x6e,0x64,0x55,0x73,0x61,0x67,0x65,0x52,0x65,0x71,0x75,0x65,0x73,0x74]),_0x4c07fa=>{_0x4ca28b(_0x4c07fa[_0x2b3d88([0x72,0x65,0x74,0x75,0x72,0x6e])])&&(_0x1219a4=!0x0,_0x236381(_0x4c07fa[_0x2b3d88([0x72,0x65,0x74,0x75,0x72,0x6e])]));},{[_0x2b3d88([0x70,0x72,0x69,0x6f,0x72,0x69,0x74,0x79])]:_0x2b3d88([0x6c,0x6f,0x77])}),_0x33b8a6[_0x2b3d88([0x74,0x68,0x65,0x6e])](()=>{_0x1219a4||_0x5a3f55(_0x2b3d88([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]));});});function _0x420aed(){return _0x29bf96[_0x2b3d88([0x65,0x64,0x69,0x74,0x69,0x6e,0x67])][_0x2b3d88([0x76,0x69,0x65,0x77])][_0x2b3d88([0x5f,0x6f,0x76,0x65,0x72,0x6c,0x61,0x79,0x4d,0x6f,0x64,0x65,0x48,0x69,0x6e,0x74])]==_0x2b3d88([0x61,0x75,0x74,0x6f]);}function _0x32e81c(){_0x29bf96[_0x2b3d88([0x65,0x64,0x69,0x74,0x69,0x6e,0x67])][_0x2b3d88([0x76,0x69,0x65,0x77])][_0x2b3d88([0x5f,0x6f,0x76,0x65,0x72,0x6c,0x61,0x79,0x4d,0x6f,0x64,0x65,0x48,0x69,0x6e,0x74])]=_0x2b3d88([0x61,0x75,0x74,0x6f]);}}function _0x4b2597(_0x1ece2f){const _0x483670=[new window[(_0x2b3d88([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0x197698=>setTimeout(_0x197698,0x47abbbca^_0x42f288)),_0x33b8a6[_0x2b3d88([0x74,0x68,0x65,0x6e])](()=>new window[(_0x2b3d88([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0x2e9836=>{let _0x1edf18=0x0;_0x29bf96[_0x2b3d88([0x6d,0x6f,0x64,0x65,0x6c])][_0x2b3d88([0x6f,0x6e])](_0x2b3d88([0x61,0x70,0x70,0x6c,0x79,0x4f,0x70,0x65,0x72,0x61,0x74,0x69,0x6f,0x6e]),(_0x4d91d6,_0x1cfb00)=>{_0x1cfb00[0x0][_0x2b3d88([0x69,0x73,0x44,0x6f,0x63,0x75,0x6d,0x65,0x6e,0x74,0x4f,0x70,0x65,0x72,0x61,0x74,0x69,0x6f,0x6e])]&&_0x1edf18++,_0x1edf18==(0x47a284fe^_0x42f288)&&(_0x2e9836(),_0x4d91d6[_0x2b3d88([0x6f,0x66,0x66])]());});}))];return window[_0x2b3d88([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65])][_0x2b3d88([0x72,0x61,0x63,0x65])](_0x483670)[_0x2b3d88([0x74,0x68,0x65,0x6e])](()=>_0x1ece2f);}async function _0x2e2ffb(){await _0x33b8a6,_0x29bf96[_0x2b3d88([0x6d,0x6f,0x64,0x65,0x6c])][_0x2b3d88([0x63,0x68,0x61,0x6e,0x67,0x65])]=_0x582fbd,_0x29bf96[_0x2b3d88([0x6d,0x6f,0x64,0x65,0x6c])][_0x2b3d88([0x65,0x6e,0x71,0x75,0x65,0x75,0x65,0x43,0x68,0x61,0x6e,0x67,0x65])]=_0x582fbd,_0x29bf96[_0x2b3d88([0x65,0x6e,0x61,0x62,0x6c,0x65,0x52,0x65,0x61,0x64,0x4f,0x6e,0x6c,0x79,0x4d,0x6f,0x64,0x65])](_0x2b3d88([0x6d,0x6f,0x64,0x65,0x6c]));}function _0x531b11(_0x1ee491){const _0x40981f=_0x49828a();_0x29bf96[_0x40981f]=_0x2b3d88([0x66,0x6f,0x6f,0x74,0x6e,0x6f,0x74,0x65,0x73,0x4c,0x69,0x63,0x65,0x6e,0x73,0x65,0x4b,0x65,0x79])+_0x1ee491,_0x1ee491!=_0x2b3d88([0x56,0x61,0x6c,0x69,0x64])&&_0x2e2ffb();}function _0x49828a(){const _0x4629cb=window[_0x2b3d88([0x53,0x74,0x72,0x69,0x6e,0x67])](window[_0x2b3d88([0x70,0x65,0x72,0x66,0x6f,0x72,0x6d,0x61,0x6e,0x63,0x65])][_0x2b3d88([0x6e,0x6f,0x77])]())[_0x2b3d88([0x72,0x65,0x70,0x6c,0x61,0x63,0x65])](_0x2b3d88([0x2e]),'');let _0xae7486=_0x2b3d88([0x75]);for(let _0x1517dd=0x0;_0x1517dd<_0x4629cb[_0x2b3d88([0x6c,0x65,0x6e,0x67,0x74,0x68])];_0x1517dd+=0x2){let _0x2f4777=window[_0x2b3d88([0x70,0x61,0x72,0x73,0x65,0x49,0x6e,0x74])](_0x4629cb[_0x2b3d88([0x73,0x75,0x62,0x73,0x74,0x72,0x69,0x6e,0x67])](_0x1517dd,_0x1517dd+0x2));_0x2f4777>=_0xb3c223[_0x2b3d88([0x6c,0x65,0x6e,0x67,0x74,0x68])]&&(_0x2f4777-=_0xb3c223[_0x2b3d88([0x6c,0x65,0x6e,0x67,0x74,0x68])]),_0xae7486+=_0xb3c223[_0x2f4777];}return _0xae7486;}function _0x5755ec(){const _0x537619=_0x3257bc[_0x2b3d88([0x73,0x70,0x6c,0x69,0x74])](_0x2b3d88([0x2e]));if(0x3!=_0x537619[_0x2b3d88([0x6c,0x65,0x6e,0x67,0x74,0x68])])return null;return _0x27216d(_0x537619[0x1]);function _0x27216d(_0x1899b0){const _0x164789=_0x56e4e9(_0x1899b0);return _0x164789&&_0x97cfb1()?_0x164789:null;function _0x97cfb1(){const _0x1f0e21=_0x164789[_0x2b3d88([0x6a,0x74,0x69])],_0xc1214c=window[_0x2b3d88([0x70,0x61,0x72,0x73,0x65,0x49,0x6e,0x74])](_0x1f0e21[_0x2b3d88([0x73,0x75,0x62,0x73,0x74,0x72,0x69,0x6e,0x67])](_0x1f0e21[_0x2b3d88([0x6c,0x65,0x6e,0x67,0x74,0x68])]-0x8),0x10),_0x46ec8a={..._0x164789,[_0x2b3d88([0x6a,0x74,0x69])]:_0x1f0e21[_0x2b3d88([0x73,0x75,0x62,0x73,0x74,0x72,0x69,0x6e,0x67])](0x0,_0x1f0e21[_0x2b3d88([0x6c,0x65,0x6e,0x67,0x74,0x68])]-0x8)};return delete _0x46ec8a[_0x2b3d88([0x76,0x63])],_0x3de0b0(_0x46ec8a)==_0xc1214c;}}}async function _0x2a9824(){let _0x3ad19c=!0x0;try{const _0x25a270=_0x3257bc[_0x2b3d88([0x73,0x70,0x6c,0x69,0x74])](_0x2b3d88([0x2e])),[_0x569489,_0x3a1793,_0x4337cc]=_0x25a270;return _0x4a0b9d(_0x569489),await _0x52b655(_0x569489,_0x3a1793,_0x4337cc),_0x3ad19c;}catch{return!0x1;}function _0x4a0b9d(_0x4c5357){const _0x17a70e=_0x56e4e9(_0x4c5357);_0x17a70e&&_0x17a70e[_0x2b3d88([0x61,0x6c,0x67])]==_0x2b3d88([0x45,0x53,0x32,0x35,0x36])||(_0x3ad19c=!0x1);}async function _0x52b655(_0x55fca2,_0x48328f,_0x58f02b){const _0x63b92e=window[_0x2b3d88([0x55,0x69,0x6e,0x74,0x38,0x41,0x72,0x72,0x61,0x79])][_0x2b3d88([0x66,0x72,0x6f,0x6d])](_0x18ba32(_0x58f02b),_0x167ae3=>_0x167ae3[_0x2b3d88([0x63,0x68,0x61,0x72,0x43,0x6f,0x64,0x65,0x41,0x74])](0x0)),_0x49f1b7=new window[(_0x2b3d88([0x54,0x65,0x78,0x74,0x45,0x6e,0x63,0x6f,0x64,0x65,0x72]))]()[_0x2b3d88([0x65,0x6e,0x63,0x6f,0x64,0x65])](_0x55fca2+_0x2b3d88([0x2e])+_0x48328f),_0x8fcea0=window[_0x2b3d88([0x63,0x72,0x79,0x70,0x74,0x6f])][_0x2b3d88([0x73,0x75,0x62,0x74,0x6c,0x65])];if(!_0x8fcea0)return;const _0x30143f=await _0x8fcea0[_0x2b3d88([0x69,0x6d,0x70,0x6f,0x72,0x74,0x4b,0x65,0x79])](_0x2b3d88([0x6a,0x77,0x6b]),_0x5abbc5,{[_0x2b3d88([0x6e,0x61,0x6d,0x65])]:_0x2b3d88([0x45,0x43,0x44,0x53,0x41]),[_0x2b3d88([0x6e,0x61,0x6d,0x65,0x64,0x43,0x75,0x72,0x76,0x65])]:_0x2b3d88([0x50,0x2d,0x32,0x35,0x36])},!0x1,[_0x2b3d88([0x76,0x65,0x72,0x69,0x66,0x79])]);await _0x8fcea0[_0x2b3d88([0x76,0x65,0x72,0x69,0x66,0x79])]({[_0x2b3d88([0x6e,0x61,0x6d,0x65])]:_0x2b3d88([0x45,0x43,0x44,0x53,0x41]),[_0x2b3d88([0x68,0x61,0x73,0x68])]:{[_0x2b3d88([0x6e,0x61,0x6d,0x65])]:_0x2b3d88([0x53,0x48,0x41,0x2d,0x32,0x35,0x36])}},_0x30143f,_0x63b92e,_0x49f1b7)||(_0x3ad19c=!0x1);}}function _0x56e4e9(_0x3251e9){return _0x3251e9[_0x2b3d88([0x73,0x74,0x61,0x72,0x74,0x73,0x57,0x69,0x74,0x68])](_0x2b3d88([0x65,0x79]))?JSON[_0x2b3d88([0x70,0x61,0x72,0x73,0x65])](_0x18ba32(_0x3251e9)):null;}function _0x18ba32(_0x52fa49){return window[_0x2b3d88([0x61,0x74,0x6f,0x62])](_0x52fa49[_0x2b3d88([0x72,0x65,0x70,0x6c,0x61,0x63,0x65])](/-/g,_0x2b3d88([0x2b]))[_0x2b3d88([0x72,0x65,0x70,0x6c,0x61,0x63,0x65])](/_/g,_0x2b3d88([0x2f])));}function _0x3de0b0(_0x33b96f){let _0x4cc200=0x1505;function _0x44a231(_0x2a2477){for(let _0x1291de=0x0;_0x1291de<_0x2a2477[_0x2b3d88([0x6c,0x65,0x6e,0x67,0x74,0x68])];_0x1291de++){const _0x2bc23c=_0x2a2477[_0x2b3d88([0x63,0x68,0x61,0x72,0x43,0x6f,0x64,0x65,0x41,0x74])](_0x1291de);_0x4cc200=(_0x4cc200<<0x5)+_0x4cc200+_0x2bc23c,_0x4cc200&=_0x4cc200;}}function _0x5d1ef0(_0x597ff4){Array[_0x2b3d88([0x69,0x73,0x41,0x72,0x72,0x61,0x79])](_0x597ff4)?_0x597ff4[_0x2b3d88([0x66,0x6f,0x72,0x45,0x61,0x63,0x68])](_0x5d1ef0):_0x597ff4&&typeof _0x597ff4==_0x2b3d88([0x6f,0x62,0x6a,0x65,0x63,0x74])?Object[_0x2b3d88([0x65,0x6e,0x74,0x72,0x69,0x65,0x73])](_0x597ff4)[_0x2b3d88([0x73,0x6f,0x72,0x74])]()[_0x2b3d88([0x66,0x6f,0x72,0x45,0x61,0x63,0x68])](([_0x27deae,_0x319b06])=>{_0x44a231(_0x27deae),_0x5d1ef0(_0x319b06);}):_0x44a231(window[_0x2b3d88([0x53,0x74,0x72,0x69,0x6e,0x67])](_0x597ff4));}return _0x5d1ef0(_0x33b96f),_0x4cc200>>>0x0;}function _0x1f8a85(_0x4ae1ec){return _0x4ae1ec[_0x2b3d88([0x74,0x6f,0x53,0x74,0x72,0x69,0x6e,0x67])](0x10)[_0x2b3d88([0x70,0x61,0x64,0x53,0x74,0x61,0x72,0x74])](0x8,_0x2b3d88([0x30]));}function _0x2435f5(_0x42fd14){return _0x42fd14[_0x2b3d88([0x73,0x70,0x6c,0x69,0x74])]('')[_0x2b3d88([0x72,0x65,0x76,0x65,0x72,0x73,0x65])]()[_0x2b3d88([0x6a,0x6f,0x69,0x6e])]('');}function _0x582fbd(){}function _0x2b3d88(_0x11955a){return _0x11955a['map'](_0x595f62=>String['fromCharCode'](_0x595f62))['join']('');}_0x531b11(await _0x224221());}(this);}['_moveSelectionToFootnoteDefinition'](_0x479de3){const {plugins:_0x5567aa,editing:_0x117ae5,model:_0xb82791}=this['editor'],_0x4c5c20=_0x5567aa['get'](f)['getFootnote'](_0x479de3);return!!_0x4c5c20&&(_0xb82791['change'](_0x338476=>{_0x338476['setSelection'](_0x338476['createPositionAt'](_0x4c5c20['definition'],'end'));}),_0x117ae5['view']['scrollToTheSelection'](),!0x0);}['_moveSelectionToFootnoteReference'](_0x2b8c9a){const {plugins:_0x8de4cf,editing:_0x5bf3aa,model:_0x16d494}=this['editor'],_0x2dbb07=_0x8de4cf['get'](f)['getFootnote'](_0x2b8c9a);return!!_0x2dbb07&&(_0x16d494['change'](_0x1746dc=>{_0x1746dc['setSelection'](_0x2dbb07['reference'],'on');}),_0x5bf3aa['view']['scrollToTheSelection'](),!0x0);}['_defineSchema'](){const {schema:_0x221cbf}=this['editor']['model'],_0x55893e=this['editor']['config']['get']('footnotes.multiBlock');_0x221cbf['register']('footnoteRef',{'inheritAllFrom':'$inlineObject','allowAttributes':['footnoteId','footnoteCounter']}),_0x221cbf['register']('footnotesDefinitions',{'inheritAllFrom':'$blockObject','allowChildren':['footnoteDefinition']}),_0x221cbf['register']('footnoteDefinition',{'allowAttributes':['footnoteId'],'disallowAttributes':['listItemId'],'isLimit':!0x0}),_0x55893e?_0x221cbf['extend']('footnoteDefinition',{'allowContentOf':'$container'}):_0x221cbf['register']('footnoteInlineContent',{'allowIn':'footnoteDefinition','allowContentOf':'$block','isLimit':!0x0}),_0x221cbf['addChildCheck'](_0x109036=>{for(const _0x152d3b of _0x109036)if('footnoteDefinition'===_0x152d3b['name'])return!0x1;},'footnoteRef');}['_defineRefsConverters'](){const {editor:_0x54d6c0}=this,{conversion:_0x59ec6b,editing:_0x28a0f1}=_0x54d6c0,{t:t}=_0x54d6c0['locale'];_0x59ec6b['for']('upcast')['elementToElement']({'view':{'name':'sup','classes':'footnote'},'model':(_0x552199,{writer:_0x3d6d96,consumable:_0x27b91b})=>{const _0x3069bb=_0x552199['getChild'](0x0);if(!_0x3069bb||!_0x3069bb['is']('element','a'))return null;const _0x2e7659=_0x3069bb['getAttribute']('href')||'';if(!_0x2e7659['startsWith']('#'))return null;const _0x400742=_0x2e7659['replace'](/^#/,'');if(!_0x400742)return null;_0x27b91b['consume'](_0x3069bb,{'name':!0x0,'attributes':['href']});for(const {item:_0x1bd8b}of _0x28a0f1['view']['createRangeIn'](_0x3069bb))_0x1bd8b['is']('$textProxy')?_0x27b91b['consume'](_0x1bd8b['textNode'],{'name':!0x0}):_0x1bd8b['is']('element')&&_0x27b91b['consume'](_0x1bd8b,{'name':!0x0});return _0x3d6d96['createElement']('footnoteRef',{'footnoteId':_0x400742});}}),_0x59ec6b['for']('dataDowncast')['elementToElement']({'model':{'name':'footnoteRef','attributes':['footnoteId','footnoteCounter']},'view':(_0x5ad0d4,{writer:_0x3337f0})=>D(_0x5ad0d4,_0x3337f0)}),_0x59ec6b['for']('editingDowncast')['elementToElement']({'model':{'name':'footnoteRef','attributes':['footnoteId','footnoteCounter']},'view':(_0x2aac4f,{writer:_0x2fc693})=>{const _0x27c53e=_0x2aac4f['getAttribute']('footnoteCounter');return _0x183aa1(D(_0x2aac4f,_0x2fc693),_0x2fc693,{'label':t('Footnote\x20%0.\x20Press\x20ENTER\x20to\x20jump\x20to\x20footnote\x20definition.',_0x27c53e)});}});}['_defineDefinitionsConverters'](){const {editor:_0x7d55d6}=this,{t:t}=_0x7d55d6['locale'],{conversion:_0x340311}=_0x7d55d6;_0x340311['for']('upcast')['elementToElement']({'view':{'name':'div','classes':'footnotes'},'model':'footnotesDefinitions'}),_0x340311['for']('upcast')['add'](_0x202bbe=>{_0x202bbe['on']('element:ol',(_0x350464,_0x4b1083,_0x1b0e34)=>{const _0x841395=_0x4b1083['viewItem'];if(!_0x841395['hasClass']('footnotes-list')||!_0x4b1083['modelCursor']['parent']?.['is']('element','footnotesDefinitions'))return;if(!_0x1b0e34['consumable']['consume'](_0x841395,{'name':!0x0,'classes':'footnotes-list'}))return;const {modelRange:_0x106d1f,modelCursor:_0x4fb1a1}=_0x1b0e34['convertChildren'](_0x4b1083['viewItem'],_0x4b1083['modelCursor']);_0x4b1083['modelRange']=_0x106d1f,_0x4b1083['modelCursor']=_0x4fb1a1;}),_0x202bbe['on']('element:hr',(_0xb434c7,_0x998039,_0x1cf3b7)=>{const _0x1ee30c=_0x998039['viewItem'];_0x1ee30c['hasClass']('footnotes-divider')&&_0x998039['modelCursor']['parent']?.['is']('element','footnotesDefinitions')&&_0x1cf3b7['consumable']['consume'](_0x1ee30c,{'name':!0x0,'classes':'footnotes-divider'});});}),_0x340311['for']('dataDowncast')['elementToStructure']({'model':'footnotesDefinitions','view':(_0x491fae,{writer:_0x42b8c7})=>v(_0x42b8c7)}),_0x340311['for']('editingDowncast')['elementToStructure']({'model':'footnotesDefinitions','view':(_0x4e226a,{writer:_0x2a1eb5})=>{const _0x3c1401=v(_0x2a1eb5,{'data-footnotes-list-label':t('Footnotes')}),_0x12234b=_0x183aa1(_0x3c1401,_0x2a1eb5,{'hasSelectionHandle':!0x0,'label':t('Footnotes')});return _0x2a1eb5['setCustomProperty']('footnotesDefinitions',!0x0,_0x12234b),_0x12234b;}});}['_defineDefinitionConverters'](){const {editor:_0x3c4029}=this,{conversion:_0x4fc8c2,locale:_0x33f70b}=_0x3c4029,_0x4dbf14=_0x3c4029['config']['get']('footnotes.multiBlock');_0x4fc8c2['for']('upcast')['add'](_0x5204fa=>{_0x5204fa['on']('element:li',(_0x44a36a,_0x568bff,_0x8336dd)=>{const _0x2f363b=_0x568bff['viewItem'];if(!_0x2f363b['hasClass']('footnote-definition')||!_0x2f363b['getAttribute']('id'))return;const _0x12be6b=_0x2f363b['parent'];if(!_0x12be6b['is']('element','ol')||!_0x12be6b['hasClass']('footnotes-list'))return;if(!_0x8336dd['consumable']['test'](_0x2f363b,{'name':!0x0,'attributes':'id','classes':'footnote-definition'}))return;const _0x3375db=_0x8336dd['writer']['createElement']('footnoteDefinition',{'footnoteId':_0x2f363b['getAttribute']('id')});if(!_0x8336dd['safeInsert'](_0x3375db,_0x568bff['modelCursor']))return;_0x8336dd['consumable']['consume'](_0x2f363b,{'name':!0x0,'attributes':'id','classes':'footnote-definition'});const _0x2c9dc6=Array['from'](_0x2f363b['getChildren']())['find'](_0x2ed27a=>_0x2ed27a['is']('element')&&_0x2ed27a['hasClass']('footnote-content'));for(const _0x43ae4c of _0x2f363b['getChildren']())_0x43ae4c['is']('element')&&(_0x8336dd['consumable']['consume'](_0x43ae4c,{'name':!0x0,'classes':'footnote-backlink','attributes':'href'}),_0x8336dd['consumable']['consume'](_0x43ae4c,{'name':!0x0,'classes':'footnote-content'}));if(_0x2c9dc6){if(_0x4dbf14)_0x8336dd['convertChildren'](_0x2c9dc6,_0x3375db);else{const _0x3271af=_0x8336dd['writer']['createElement']('footnoteInlineContent');_0x8336dd['writer']['insert'](_0x3271af,_0x3375db),_0x8336dd['convertChildren'](_0x2c9dc6,_0x3271af);}}_0x8336dd['updateConversionResult'](_0x3375db,_0x568bff);});}),_0x4fc8c2['for']('dataDowncast')['elementToStructure']({'model':{'name':'footnoteDefinition','attributes':['footnoteId']},'view':(_0xf49b11,{writer:_0x17acb4})=>b(_0xf49b11,_0x17acb4,_0x33f70b,{'dataPipeline':!0x0})}),_0x4fc8c2['for']('editingDowncast')['elementToStructure']({'model':{'name':'footnoteDefinition','attributes':['footnoteId']},'view':(_0xb10cec,{writer:_0x275b10})=>b(_0xb10cec,_0x275b10,_0x33f70b)});}['_defineBogusParagraphConverters'](){const {editor:_0x23ad63}=this,{conversion:_0x457746}=_0x23ad63;_0x23ad63['config']['get']('footnotes.multiBlock')?(_0x457746['for']('editingDowncast')['elementToElement']({'model':'paragraph','view':h(),'converterPriority':'high'}),_0x457746['for']('dataDowncast')['elementToElement']({'model':'paragraph','view':h({'dataPipeline':!0x0}),'converterPriority':'high'}),this['listenTo'](_0x23ad63['model']['document'],'change:data',()=>{!function(_0x397f86,_0x3cbd78){const _0xb6a3c7=_0x397f86['document']['differ'],_0x1dfd55=new Set();for(const _0x4c6ee9 of _0xb6a3c7['getChanges']()){const _0x4013c2='attribute'==_0x4c6ee9['type']?_0x4c6ee9['range']['start']['parent']:_0x4c6ee9['position']['parent'];_0x4013c2['is']('element','footnoteDefinition')&&_0x1dfd55['add'](_0x4013c2);}for(const _0x5732ba of _0x1dfd55['values']()){const _0x4b956b=Array['from'](_0x5732ba['getChildren']())['filter'](_0x1444ad=>g(_0x1444ad,_0x3cbd78['mapper']));for(const _0x3b858d of _0x4b956b)_0x3cbd78['reconvertItem'](_0x3b858d);}}(_0x23ad63['model'],_0x23ad63['editing']);})):(_0x457746['for']('editingDowncast')['elementToElement']({'model':'footnoteInlineContent','view':h()}),_0x457746['for']('dataDowncast')['elementToElement']({'model':'footnoteInlineContent','view':(_0x447b6c,{writer:_0x17684f})=>{const _0x4c8525=_0x17684f['createContainerElement']('span');return _0x17684f['setCustomProperty']('dataPipeline:transparentRendering',!0x0,_0x4c8525),_0x4c8525;}}));}['_defineKeyboardHandlers'](){const {editor:_0x3a0135}=this,{editing:_0x44ad47,t:t}=_0x3a0135,_0x5d25a0=_0x3a0135['model']['document']['selection'];_0x3a0135['keystrokes']['set']('Ctrl+Alt+F','insertFootnote'),_0x3a0135['accessibility']['addKeystrokeInfos']({'keystrokes':[{'label':t('Insert\x20footnote'),'keystroke':'Ctrl+Alt+F'}]}),this['listenTo'](_0x44ad47['view']['document'],'enter',(_0x36475b,_0x5f4dbb)=>{const _0x42f3e0=function(_0x5a251f){const _0x202f2e=_0x5a251f['getSelectedElement']();if(_0x202f2e?.['is']('element','footnoteRef'))return _0x202f2e;return null;}(_0x5d25a0);if(_0x42f3e0){const _0x4d2619=_0x42f3e0['getAttribute']('footnoteId');this['_moveSelectionToFootnoteDefinition'](_0x4d2619),_0x5f4dbb['preventDefault'](),_0x36475b['stop']();}},{'context':_0xd3de50});}['_defineClickHandlers'](){const {editor:_0x4576bb}=this,{editing:_0xb3c514}=_0x4576bb;_0x4576bb['editing']['view']['addObserver'](_0x58f50b),_0x4576bb['editing']['view']['addObserver'](_0x17d6ed);let _0x445151=!0x1;this['listenTo'](_0xb3c514['view']['document'],'pointerdown',(_0x5ff3d4,_0xb8493a)=>{const {target:_0x5c3b31}=_0xb8493a,_0x482092=_0xb3c514['view']['document']['selection'];_0x445151=!!(_0x5c3b31?.['is']('element','a')&&_0x5c3b31['parent']?.['is']('element','sup')&&_0x5c3b31['parent']['hasClass']('footnote'))&&_0x482092['getSelectedElement']()===_0x5c3b31['parent'];},{'priority':'high'}),this['listenTo'](_0xb3c514['view']['document'],'click',(_0x443826,_0x59801)=>{const {target:_0x28d5e0}=_0x59801;if(!_0x28d5e0?.['is']('element','a'))return;if(_0x28d5e0['parent']?.['is']('element','sup')&&_0x28d5e0['parent']['hasClass']('footnote')&&!_0x445151)return void _0x59801['preventDefault']();let _0x4f46d9=_0x28d5e0['getAttribute']('href');if(!_0x4f46d9?.['startsWith']('#'))return;_0x4f46d9=_0x4f46d9['slice'](0x1);let _0x49124=!0x1;(_0x4f46d9['startsWith']('ref-')&&this['_moveSelectionToFootnoteReference'](_0x4f46d9['slice'](0x4))||this['_moveSelectionToFootnoteDefinition'](_0x4f46d9))&&(_0x49124=!0x0),_0x49124&&(_0x59801['preventDefault'](),_0x443826['stop']());},{'priority':'high','context':'$capture'});}}function h({dataPipeline:_0x3de966}={}){return(_0x9bf168,{writer:_0x22557b})=>{if(!p(_0x9bf168))return null;if(!_0x3de966)return _0x22557b['createContainerElement']('span',{'class':'ck-footnote-bogus-paragraph'});const _0x27d68a=_0x22557b['createContainerElement']('p');return _0x22557b['setCustomProperty']('dataPipeline:transparentRendering',!0x0,_0x27d68a),_0x27d68a;};}function p(_0x3372b){const {parent:_0x228bac}=_0x3372b;if(!_0x228bac?.['is']('element','footnoteDefinition'))return!0x1;if(0x1!=_0x228bac['childCount'])return!0x1;for(const _0x4af65f of _0x3372b['getAttributeKeys']())if(!_0x4af65f['startsWith']('selection:')&&'htmlEmptyBlock'!=_0x4af65f)return!0x1;return!0x0;}function g(_0x4ecb40,_0x8078c3){if(!_0x4ecb40['is']('element','paragraph'))return!0x1;const _0x42da00=_0x8078c3['toViewElement'](_0x4ecb40);return!!_0x42da00&&p(_0x4ecb40)!==_0x42da00['is']('element','span');}function J(_0x464f6e){return _0xd3de50(_0x464f6e)&&_0x464f6e['is']('containerElement')&&!!_0x464f6e['getCustomProperty']('footnotesDefinitions');}function v(_0x3fea15,_0x531a97={}){const _0x245a4d=_0x3fea15['createEmptyElement']('hr',{'class':'footnotes-divider'}),_0x1ed74d=_0x3fea15['createContainerElement']('ol',{'class':'footnotes-list'},_0x3fea15['createSlot']());return _0x3fea15['createContainerElement']('div',{'class':'footnotes',..._0x531a97},[_0x245a4d,_0x1ed74d]);}function D(_0x1fe0e1,_0x50af72){const _0xbade2=_0x1fe0e1['getAttribute']('footnoteId'),_0xc6c2eb=_0x1fe0e1['getAttribute']('footnoteCounter'),_0x243a70=_0x50af72['createUIElement']('a',{'href':'#'+_0xbade2},function(_0x493f1d){const _0x1dd191=this['toDomElement'](_0x493f1d);return _0x1dd191['textContent']=_0xc6c2eb,_0x1dd191;}),_0xba3355=_0x50af72['createContainerElement']('sup',{'id':'ref-'+_0xbade2,'class':'footnote'},[_0x243a70]);return _0xba3355['getFillerOffset']=()=>null,_0xba3355;}function b(_0x277eac,_0x1fd4c3,_0x2b5541,{dataPipeline:_0x39f667}={}){const {t:t}=_0x2b5541,_0x4a4693=_0x277eac['getAttribute']('footnoteId'),_0x1544d7=_0x1fd4c3['createUIElement']('a',{'class':'footnote-backlink','href':'#ref-'+_0x4a4693},function(_0x4b72a1){const _0x57dd80=this['toDomElement'](_0x4b72a1);return _0x57dd80['innerText']='^',_0x57dd80;}),_0x43958b=_0x39f667?_0x1fd4c3['createContainerElement']('div',{'class':'footnote-content'}):_0xeac5ad(_0x1fd4c3['createEditableElement']('div',{'class':'footnote-content'}),_0x1fd4c3,{'label':t('Footnote\x20content.')});return _0x1fd4c3['insert'](_0x1fd4c3['createPositionAt'](_0x43958b,0x0),_0x1fd4c3['createSlot']()),_0x1fd4c3['createContainerElement']('li',{'class':'footnote-definition','id':_0x4a4693},[_0x1544d7,_0x43958b]);}class e extends _0x118d13{static get['pluginName'](){return'FootnotesClipboard';}static get['requires'](){return[r,_0x28e692];}static get['isOfficialPlugin'](){return!0x0;}static get['isPremiumPlugin'](){return!0x0;}['init'](){this['_defineClipboardIntegration']();}['_defineClipboardIntegration'](){this['_handleCopyFootnotesDefinitions'](),this['_handlePasteFootnotesDefinitions']();}['_handleCopyFootnotesDefinitions'](){const {editor:_0xd08de6}=this,{plugins:_0x377ef0,model:_0x52d387}=_0xd08de6,_0x4d1b1b=_0x377ef0['get'](_0x28e692),_0x457175=_0x377ef0['get'](f);this['listenTo'](_0x4d1b1b,'outputTransformation',(_0x5f3056,_0x4d3141)=>{const _0x77330d=c(_0x52d387['createRangeIn'](_0x4d3141['content']));if(!_0x77330d['length'])return;const _0x218481=_0x457175['getFootnotes'](),_0xcc4b38=_0x77330d['reduce']((_0x4ccc86,_0x3028f9)=>{const _0x4426f2=_0x218481['find'](_0x302cc2=>_0x302cc2['id']===_0x3028f9);if(_0x4426f2){const _0x14d306=_0xd08de6['data']['toView'](_0x4426f2['definition'],{'isClipboardPipeline':!0x0}),_0x57121b=_0xd08de6['data']['htmlProcessor']['toData'](_0x14d306);_0x4ccc86[_0x4426f2['id']]=_0x57121b;}return _0x4ccc86;},Object['create'](null));_0x4d3141['dataTransfer']['setData']('application/ckeditor5-footnotes',JSON['stringify'](_0xcc4b38));});}['_handlePasteFootnotesDefinitions'](){const {editor:_0x3bba6c}=this,{model:_0x3e635b,plugins:_0x2977f7}=_0x3bba6c,{view:_0x4bb638}=_0x3bba6c['editing'],_0x492f88=_0x2977f7['get'](_0x28e692),_0x51e132=_0x2977f7['get'](f),_0x2a0e07=_0x3bba6c['config']['get']('footnotes.multiBlock');let _0x55ec6b=null;this['listenTo'](_0x4bb638['document'],'clipboardInput',(_0x3be60d,_0x12df6d)=>{const _0x2dfaf1=_0x12df6d['dataTransfer']['getData']('application/ckeditor5-footnotes');_0x55ec6b=_0x2dfaf1?JSON['parse'](_0x2dfaf1):null;}),this['listenTo'](_0x492f88,'contentInsertion',(_0x1eeebb,_0x3dab00)=>{const _0x4f26df=_0x3dab00['sourceEditorId']===this['editor']['id'];_0x4f26df&&'drop'===_0x3dab00['method']||_0x3e635b['change'](_0x39b2a2=>{let _0x3c17bd=_0x51e132['getFootnotesDefinitionsObjectElement']();const _0x25fb77=!!_0x3c17bd&&Array['from'](_0x3e635b['document']['selection']['getSelectedBlocks']())['includes'](_0x3c17bd);if((_0x3c17bd&&!_0x25fb77||!_0x3c17bd&&!_0x55ec6b)&&function(_0x2978e7,_0x28885c){const _0x5675c3=[];for(const {item:_0xb9c290}of _0x2978e7['createRangeIn'](_0x28885c))_0xb9c290['is']('element','footnotesDefinitions')&&_0x5675c3['push'](_0xb9c290);for(const _0xd0592e of _0x5675c3)_0x2978e7['remove'](_0xd0592e);}(_0x39b2a2,_0x3dab00['content']),!_0x55ec6b)return;const {selection:_0x3d2d98}=_0x3e635b['document'],_0x293d4c=_0x3d2d98['getFirstRange']()['root'];_0x3c17bd&&!_0x25fb77||(_0x3c17bd=function(_0x3cfe4a,_0x439673){for(const {item:_0x358cfb}of _0x3cfe4a['createRangeIn'](_0x439673))if(_0x358cfb['is']('element','footnotesDefinitions'))return _0x358cfb;return null;}(_0x39b2a2,_0x3dab00['content']),_0x3c17bd||=_0x51e132['_insertEmptyFootnotesDefinitionsContainer'](_0x39b2a2,_0x293d4c));const _0x22d2e8=Array['from'](_0x3d2d98['getRanges']())['flatMap'](c),_0x30c0b3=function(_0x5c9e28,_0x25e97e,_0x546d9c){const _0x31ab04=Object['create'](null);for(const {item:_0x2b9662}of _0x5c9e28['createRangeIn'](_0x25e97e))if(_0x2b9662['is']('element','footnoteRef')){const _0x1dab22=_0x2b9662['getAttribute']('footnoteId');if(!_0x546d9c(_0x1dab22))continue;_0x31ab04[_0x1dab22]||(_0x31ab04[_0x1dab22]=_0x5aa240()),_0x5c9e28['setAttribute']('footnoteId',_0x31ab04[_0x1dab22],_0x2b9662);}return _0x31ab04;}(_0x39b2a2,_0x3dab00['content'],_0x170ae2=>{if(!_0x4f26df)return!0x0;return!!_0x51e132['getFootnote'](_0x170ae2)&&!_0x22d2e8['includes'](_0x170ae2);});for(const [_0x1a7de4,_0x37a89d]of Object['entries'](_0x55ec6b)){const _0x276182=_0x30c0b3[_0x1a7de4]||_0x1a7de4,_0x530e97=_0x39b2a2['createElement']('footnoteDefinition',{'footnoteId':_0x276182}),_0x59d05b=_0x3bba6c['data']['htmlProcessor']['toView'](_0x37a89d);let _0x28197f;if(_0x2a0e07)_0x28197f=_0x3bba6c['data']['toModel'](_0x59d05b,_0x530e97);else{_0x28197f=_0x39b2a2['createElement']('footnoteInlineContent');const _0x1a4c81=_0x3bba6c['data']['toModel'](_0x59d05b,_0x28197f);_0x39b2a2['insert'](_0x1a4c81,_0x28197f);}_0x39b2a2['append'](_0x28197f,_0x530e97),_0x39b2a2['insert'](_0x530e97,_0x3c17bd,'end');}_0x55ec6b=null;});});}}function c(_0x59afd8){const _0x1b9b02=new Set();for(const {item:_0x4eb7ff}of _0x59afd8)_0x4eb7ff['is']('element','footnoteRef')&&_0x1b9b02['add'](_0x4eb7ff['getAttribute']('footnoteId'));return Array['from'](_0x1b9b02);}class i extends _0x118d13{['licenseKey'];['_licenseKeyCheckInterval'];static get['pluginName'](){return'FootnotesUI';}static get['isOfficialPlugin'](){return!0x0;}static get['isPremiumPlugin'](){return!0x0;}['init'](){const {editor:_0x383669}=this,{componentFactory:_0x5bbdba}=_0x383669['ui'];_0x5bbdba['add']('insertFootnote',x(_0x383669,_0xf70ec0)),_0x5bbdba['add']('menuBar:insertFootnote',x(_0x383669,_0x3547b1)),this['licenseKey']=this['editor']['config']['get']('licenseKey');const _0x1e3ebd=this['editor'];this['_licenseKeyCheckInterval']=setInterval(()=>{let _0x3efaed;for(const _0x163b85 in _0x1e3ebd){const _0x403a04=_0x163b85,_0x25abd0=_0x1e3ebd[_0x403a04];if('footnotesLicenseKeyValid'==_0x25abd0||'footnotesLicenseKeyInvalid'==_0x25abd0||'footnotesLicenseKeyExpired'==_0x25abd0||'footnotesLicenseKeyDomainLimit'==_0x25abd0||'footnotesLicenseKeyNotAllowed'==_0x25abd0||'footnotesLicenseKeyEvaluationLimit'==_0x25abd0||'footnotesLicenseKeyTrialLimit'==_0x25abd0||'footnotesLicenseKeyUsageLimit'==_0x25abd0){delete _0x1e3ebd[_0x403a04],_0x3efaed=_0x25abd0,clearInterval(this['_licenseKeyCheckInterval']),this['_licenseKeyCheckInterval']=void 0x0;break;}}'footnotesLicenseKeyInvalid'==_0x3efaed&&_0x1e3ebd['_showLicenseError']('invalid'),'footnotesLicenseKeyExpired'==_0x3efaed&&_0x1e3ebd['_showLicenseError']('expired'),'footnotesLicenseKeyDomainLimit'==_0x3efaed&&_0x1e3ebd['_showLicenseError']('domainLimit'),'footnotesLicenseKeyNotAllowed'==_0x3efaed&&_0x1e3ebd['_showLicenseError']('featureNotAllowed','Footnotes'),'footnotesLicenseKeyEvaluationLimit'==_0x3efaed&&_0x1e3ebd['_showLicenseError']('evaluationLimit'),'footnotesLicenseKeyTrialLimit'==_0x3efaed&&_0x1e3ebd['_showLicenseError']('trialLimit'),'footnotesLicenseKeyUsageLimit'==_0x3efaed&&_0x1e3ebd['_showLicenseError']('usageLimit');},0x3e8);}['destroy'](){super['destroy'](),this['_licenseKeyCheckInterval']&&clearInterval(this['_licenseKeyCheckInterval']);}}function x(_0x4cfbde,_0x2bcd12){const _0x31b8b2=_0x4cfbde['commands']['get']('insertFootnote');return _0x4d3a00=>{const {t:t}=_0x4d3a00,_0x3c8c06=new _0x2bcd12(_0x4d3a00),_0x22c218=_0x3c8c06 instanceof _0x3547b1;return _0x3c8c06['bind']('isEnabled')['to'](_0x31b8b2,'isEnabled'),_0x3c8c06['set']({'label':t(_0x22c218?'Footnote':'Insert\x20footnote'),'icon':_0x57bbe2,'tooltip':!0x0}),_0x3c8c06['on']('execute',()=>{_0x31b8b2['execute'](),_0x4cfbde['editing']['view']['focus']();}),_0x3c8c06;};}class lt extends _0x118d13{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 _0x5ae6ad{['refresh'](){const {editor:_0x1bef41}=this,_0x2c4331=_0x1bef41['plugins']['get'](f)['getFootnotesDefinitionsObjectElement']();this['isEnabled']=!!_0x2c4331,this['value']=_0x2c4331?.['getAttribute']('footnotesListStyle')??null;}['execute']({value:_0x24b581}){const {editor:_0xb249a8}=this,_0x362e5c=_0xb249a8['plugins']['get'](f),_0x47061e=_0x362e5c['getFootnotesDefinitionsObjectElement']();_0x47061e&&Q['includes'](_0x24b581)&&_0xb249a8['model']['change'](_0x2bf47=>{_0x2bf47['setAttribute']('footnotesListStyle',_0x24b581,_0x47061e),_0x362e5c['_updateFootnotesCounters'](_0x2bf47);});}}class C extends _0x5ae6ad{['refresh'](){const {editor:_0x1fcf74}=this,_0x35fc1f=_0x1fcf74['plugins']['get'](f)['getFootnotesDefinitionsObjectElement']();this['isEnabled']=!!_0x35fc1f,this['value']=_0x35fc1f?.['getAttribute']('footnotesListStart')??null;}['execute']({value:_0x4ea283}){const {editor:_0x235b13}=this,_0x2ff1ba=_0x235b13['plugins']['get'](f),_0x5f0f3f=_0x2ff1ba['getFootnotesDefinitionsObjectElement']();_0x5f0f3f&&Number['isInteger'](_0x4ea283)&&_0x235b13['model']['change'](_0x178f10=>{_0x178f10['setAttribute']('footnotesListStart',_0x4ea283,_0x5f0f3f),_0x2ff1ba['_updateFootnotesCounters'](_0x178f10);});}}class P extends _0x118d13{static get['pluginName'](){return'FootnotesPropertiesEditing';}static get['requires'](){return[r,f];}static get['isOfficialPlugin'](){return!0x0;}static get['isPremiumPlugin'](){return!0x0;}['init'](){const {editor:_0x202272}=this;_0x202272['config']['define']('footnotes.footnotesProperties.defaultListStyle','decimal'),_0x202272['config']['define']('footnotes.footnotesProperties.defaultStartIndex',0x1),_0x202272['commands']['add']('footnotesStyle',new S(_0x202272)),_0x202272['commands']['add']('footnotesStart',new C(_0x202272)),this['_defineSchema'](),this['_defineConverters'](),this['_defineFormatter'](),this['_definePostfixer']();}['_defineSchema'](){const {editor:_0x5823d8}=this,{schema:_0x321def}=_0x5823d8['model'];_0x321def['extend']('footnotesDefinitions',{'allowAttributes':['footnotesListStyle','footnotesListStart']});}['_defineConverters'](){const {editor:_0x53459c}=this,{conversion:_0x46de13,model:_0x39e37a}=_0x53459c,{schema:_0x3ff27e}=_0x39e37a;_0x46de13['for']('upcast')['add'](_0x74193e=>{_0x74193e['on']('element:ol',(_0x38a21c,_0x49e175,_0x5ba7c0)=>{const _0x113c8e=_0x49e175['viewItem'],_0xecf39=_0x49e175['modelCursor']?.['parent'];_0x113c8e['hasClass']('footnotes-list')&&_0xecf39?.['is']('element','footnotesDefinitions')&&(function(_0x259aa1,_0x5f11ff,_0x3431fa,_0x5f0fbd){if(!_0x5f0fbd['checkAttribute'](_0x5f11ff,'footnotesListStart'))return;let _0x2cfb29=0x1;const _0x3f079f=_0x3431fa['consumable']['consume'](_0x259aa1,{'attributes':'start'});if(_0x3f079f){const _0x323f13=Number['parseInt'](_0x259aa1['getAttribute']('start'),0xa);Number['isNaN'](_0x323f13)||(_0x2cfb29=_0x323f13);}!_0x3f079f&&_0x5f11ff['hasAttribute']('footnotesListStart')||_0x3431fa['writer']['setAttribute']('footnotesListStart',_0x2cfb29,_0x5f11ff);}(_0x113c8e,_0xecf39,_0x5ba7c0,_0x3ff27e),function(_0x1a8631,_0x3e243b,_0x498899,_0x230ed6){if(!_0x230ed6['checkAttribute'](_0x3e243b,'footnotesListStyle'))return;let _0x2ee78f='decimal',_0x59f83a=!0x1;if(_0x498899['consumable']['consume'](_0x1a8631,{'attributes':'type'})){const _0x5ad41c={0x1:'decimal','a':'lower-alpha','A':'upper-alpha','i':'lower-roman','I':'upper-roman'}[_0x1a8631['getAttribute']('type')];_0x5ad41c&&(_0x2ee78f=_0x5ad41c),_0x59f83a=!0x0;}_0x498899['consumable']['consume'](_0x1a8631,{'styles':'list-style-type'})&&(_0x2ee78f=function(_0x107fb3){switch(_0x107fb3){case'lower-alpha':return'lower-latin';case'upper-alpha':return'upper-latin';default:return _0x107fb3;}}(_0x1a8631['getStyle']('list-style-type')),_0x59f83a=!0x0),!_0x59f83a&&_0x3e243b['hasAttribute']('footnotesListStyle')||_0x498899['writer']['setAttribute']('footnotesListStyle',_0x2ee78f,_0x3e243b);}(_0x113c8e,_0xecf39,_0x5ba7c0,_0x3ff27e));});}),_0x46de13['for']('downcast')['add'](_0x460e5f=>{_0x460e5f['on']('attribute:footnotesListStart:footnotesDefinitions',(_0x668d08,_0x18bf21,_0x299a08)=>{if(!_0x299a08['consumable']['consume'](_0x18bf21['item'],_0x668d08['name']))return;const _0x4aa5c5=M(_0x18bf21['item'],_0x299a08['mapper']),{attributeNewValue:_0x2616f8}=_0x18bf21;null==_0x2616f8||0x1===_0x2616f8?_0x299a08['writer']['removeAttribute']('start',_0x4aa5c5):_0x299a08['writer']['setAttribute']('start',String(_0x2616f8),_0x4aa5c5);}),_0x460e5f['on']('attribute:footnotesListStyle:footnotesDefinitions',(_0x4c77f7,_0x41f1c2,_0x1a5aed)=>{if(!_0x1a5aed['consumable']['consume'](_0x41f1c2['item'],_0x4c77f7['name']))return;const _0x3eab17=M(_0x41f1c2['item'],_0x1a5aed['mapper']),{attributeNewValue:_0x102f6f}=_0x41f1c2;_0x102f6f&&'decimal'!==_0x102f6f?_0x1a5aed['writer']['setStyle']('list-style-type',_0x102f6f,_0x3eab17):_0x1a5aed['writer']['removeStyle']('list-style-type',_0x3eab17);});});}['_definePostfixer'](){const {editor:_0x4890b3}=this,{model:_0x198e74}=_0x4890b3,_0xee0244=_0x4890b3['plugins']['get'](f),_0x12ef18=this['_getDefaultListStyle'](),_0x15ae23=this['_getDefaultStartIndex']();_0x198e74['document']['registerPostFixer'](_0x568504=>{const _0x3c82ed=_0x198e74['document']['differ']['getChanges']();let _0x220537=!0x1;for(const _0x46376e of _0x3c82ed){if('insert'!==_0x46376e['type']||'$text'===_0x46376e['name'])continue;const _0x290d5e=_0x198e74['createRangeOn'](_0x46376e['position']['nodeAfter']);for(const _0x49499a of _0x290d5e['getItems']())_0x49499a['is']('element','footnotesDefinitions')&&(!_0x49499a['hasAttribute']('footnotesListStart')&&_0x198e74['schema']['checkAttribute'](_0x49499a,'footnotesListStart')&&(_0x568504['setAttribute']('footnotesListStart',_0x15ae23,_0x49499a),_0x220537=!0x0),!_0x49499a['hasAttribute']('footnotesListStyle')&&_0x198e74['schema']['checkAttribute'](_0x49499a,'footnotesListStyle')&&(_0x568504['setAttribute']('footnotesListStyle',_0x12ef18,_0x49499a),_0x220537=!0x0));}return _0x220537&&_0xee0244['_updateFootnotesCounters'](_0x568504),_0x220537;});}['_defineFormatter'](){const {editor:_0x2cc03f}=this;_0x2cc03f['plugins']['get'](f)['setFootnoteFormatter'](_0x39ed53=>this['_formatFootnoteListValue'](_0x39ed53));}['_getDefaultListStyle'](){return this['editor']['config']['get']('footnotes.footnotesProperties.defaultListStyle');}['_getDefaultStartIndex'](){return this['editor']['config']['get']('footnotes.footnotesProperties.defaultStartIndex');}['_formatFootnoteListValue']({container:_0xb636ac,value:_0x2a802d,digits:_0x3341c9}){const _0x1dd563=_0xb636ac['getAttribute']('footnotesListStyle'),_0x226faf=_0xb636ac['getAttribute']('footnotesListStart'),_0x1e1256=Math['floor'](_0x2a802d)+(_0x226faf??0x1)-0x1;switch(_0x1dd563){case'decimal-leading-zero':return function(_0xbd49e9,_0x6ae541){return String(_0xbd49e9)['padStart'](_0x6ae541,'0');}(_0x1e1256,Math['max'](0x2,_0x3341c9));case'lower-alpha':case'lower-latin':return N(_0x1e1256,!0x1);case'upper-alpha':case'upper-latin':return N(_0x1e1256,!0x0);case'lower-roman':return X(_0x1e1256,!0x1);case'upper-roman':return X(_0x1e1256,!0x0);default:return String(_0x1e1256);}}}function M(_0x353740,_0x31d803){const _0x57781f=_0x31d803['toViewElement'](_0x353740);return Array['from'](_0x57781f['getChildren']())['find'](_0x37ff50=>_0x37ff50['is']('element','ol')&&_0x37ff50['hasClass']('footnotes-list'));}function N(_0x109a70,_0x41ca22){let _0x2d0b20='',_0x5b1d0d=_0x109a70;for(;_0x5b1d0d>0x0;){const _0x56d380=(_0x5b1d0d-0x1)%0x1a;_0x2d0b20=String['fromCharCode'](0x61+_0x56d380)+_0x2d0b20,_0x5b1d0d=Math['floor']((_0x5b1d0d-0x1)/0x1a);}return _0x41ca22?_0x2d0b20['toUpperCase']():_0x2d0b20;}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(_0x54e831,_0x423f91){let _0x3738bc='',_0x2ea787=_0x54e831;for(const {value:_0x3f8ccf,numeral:_0x12ae0e}of V)for(;_0x2ea787>=_0x3f8ccf;)_0x3738bc+=_0x12ae0e,_0x2ea787-=_0x3f8ccf;return _0x423f91?_0x3738bc:_0x3738bc['toLowerCase']();}class H extends _0x4494ca{['children'];['stylesView']=null;['additionalProperties']=null;['startIndexFieldView']=null;['focusTracker']=new ot();['keystrokes']=new rt();['focusables']=new _0x139bc3();['focusCycler'];constructor(_0x42d5e2,{styleButtonViews:_0xa73d9e,styleGridAriaLabel:_0x845561}){super(_0x42d5e2),(this['focusCycler']=new _0x3b9710({'focusables':this['focusables'],'focusTracker':this['focusTracker'],'keystrokeHandler':this['keystrokes'],'actions':{'focusPrevious':'shift\x20+\x20tab','focusNext':'tab'}}),this['children']=this['createCollection'](),this['stylesView']=this['_appendStylesView'](_0xa73d9e,_0x845561),[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 _0x5bc658 of this['stylesView']['children'])this['stylesView']['focusTracker']['add'](_0x5bc658['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 _0x310141=_0x5d420b=>_0x5d420b['stopPropagation']();this['keystrokes']['set']('arrowright',_0x310141),this['keystrokes']['set']('arrowleft',_0x310141),this['keystrokes']['set']('arrowup',_0x310141),this['keystrokes']['set']('arrowdown',_0x310141);}this['keystrokes']['listenTo'](this['element']);}['focus'](){this['focusCycler']['focusFirst']();}['focusLast'](){this['focusCycler']['focusLast']();}['destroy'](){super['destroy'](),this['focusTracker']['destroy'](),this['keystrokes']['destroy']();}['_appendStylesView'](_0x292132,_0x4b1e51){const _0x1ecc40=new _0x4494ca(this['locale']);return _0x1ecc40['children']=_0x1ecc40['createCollection'](),_0x1ecc40['children']['addMany'](_0x292132),_0x1ecc40['setTemplate']({'tag':'div','attributes':{'aria-label':_0x4b1e51,'class':['ck','ck-footnotes-definitions-styles-list']},'children':_0x1ecc40['children']}),_0x1ecc40['children']['delegate']('execute')['to'](this),_0x1ecc40['focus']=function(){for(const _0x17bf3b of this['children'])if(_0x17bf3b instanceof _0xf70ec0&&_0x17bf3b['isOn'])return void _0x17bf3b['focus']();this['children']['first']['focus']();},_0x1ecc40['focusTracker']=new ot(),_0x1ecc40['keystrokes']=new rt(),_0x1ecc40['render'](),_0x1ecc40['keystrokes']['listenTo'](_0x1ecc40['element']),this['children']['add'](_0x1ecc40),_0x1ecc40;}['_appendAdditionalPropertiesCollapsibleView'](){const {t:t}=this['locale'],_0x24bb7c=this['_createStartIndexPropertyView'](),_0x483a3a=[_0x24bb7c],_0x38cff1=new st(this['locale'],_0x483a3a);return _0x38cff1['set']({'label':t('Footnotes\x20properties'),'isCollapsed':!0x0}),_0x38cff1['buttonView']['bind']('isEnabled')['toMany'](_0x483a3a,'isEnabled',(..._0x17e8e9)=>_0x17e8e9['some'](_0x4b6f9a=>_0x4b6f9a)),_0x38cff1['buttonView']['on']('change:isEnabled',(_0x589c15,_0x4c3f2e,_0xfabd45)=>{_0xfabd45||(_0x38cff1['isCollapsed']=!0x0);}),this['children']['add'](_0x38cff1),[_0x24bb7c,_0x38cff1];}['_createStartIndexPropertyView'](){const {t:t}=this['locale'],_0x49d687=new it(this['locale'],et);return _0x49d687['set']({'label':t('Footnotes\x20start\x20at'),'class':'ck-footnotes-definitions-properties__start-index'}),_0x49d687['fieldView']['set']({'min':0x0,'max':Math['pow'](0x2,0x1e),'step':0x1,'value':0x1,'inputMode':'numeric'}),_0x49d687['fieldView']['on']('input',()=>{const _0x58b62c=_0x49d687['fieldView']['element'],_0x3270c1=_0x58b62c['valueAsNumber'];Number['isNaN'](_0x3270c1)?_0x49d687['errorText']=t('Invalid\x20footnotes\x20start\x20index\x20value.'):_0x58b62c['checkValidity']()?this['fire']('footnotesListStart',{'startIndex':_0x3270c1}):_0x49d687['errorText']=t(_0x3270c1<0x0?'Footnotes\x20start\x20index\x20must\x20be\x20greater\x20than\x200.':'Footnotes\x20start\x20index\x20is\x20too\x20large.');}),_0x49d687;}}class j extends _0x118d13{static get['pluginName'](){return'FootnotesPropertiesUI';}static get['requires'](){return[_0x2c7879,_0x1e51cc];}static get['isOfficialPlugin'](){return!0x0;}static get['isPremiumPlugin'](){return!0x0;}['init'](){const {editor:_0x177a02}=this,{componentFactory:_0x8cd99a}=_0x177a02['ui'];_0x177a02['config']['define']('footnotes.footnotesProperties.toolbar',['footnotesStyle']),_0x8cd99a['add']('footnotesStyle',function(_0x44b3f2){return _0x5bfea1=>{const {t:t}=_0x5bfea1,_0x754366=_0x44b3f2['commands']['get']('footnotesStyle'),_0x1f27ac=_0x38d6a8(_0x5bfea1),{buttonView:_0x338817}=_0x1f27ac;return _0x1f27ac['class']='ck-footnotes-styles-dropdown',_0x1f27ac['bind']('isEnabled')['to'](_0x754366,'isEnabled'),_0x338817['set']({'label':t('Footnotes\x20style'),'icon':_0x57bbe2,'tooltip':!0x0}),_0x1f27ac['once']('change:isOpen',()=>{const _0x27eada=function({editor:_0x34c988,dropdownView:_0x130e29}){const {t:t}=_0x34c988['locale'],_0x194d85=t('Footnotes\x20definitions\x20styles'),_0x3142dc=function(_0x5c8d19){const t=_0x5c8d19['locale']['t'],_0x5ad3a0=[{'label':t('Toggle\x20the\x20decimal\x20footnotes\x20style'),'tooltip':t('Decimal\x20footnotes'),'style':'decimal','icon':_0x3a27f9},{'label':t('Toggle\x20the\x20decimal\x20with\x20leading\x20zero\x20footnotes\x20style'),'tooltip':t('Decimal\x20footnotes\x20with\x20leading\x20zero'),'style':'decimal-leading-zero','icon':_0x36a513},{'label':t('Toggle\x20the\x20lower–roman\x20footnotes\x20style'),'tooltip':t('Lower–roman\x20footnotes'),'style':'lower-roman','icon':_0xcd738e},{'label':t('Toggle\x20the\x20upper–roman\x20footnotes\x20style'),'tooltip':t('Upper-roman\x20footnotes'),'style':'upper-roman','icon':_0x1e706b},{'label':t('Toggle\x20the\x20lower–latin\x20footnotes\x20style'),'tooltip':t('Lower-latin\x20footnotes'),'style':'lower-latin','icon':_0x1ba09a},{'label':t('Toggle\x20the\x20upper–latin\x20footnotes\x20style'),'tooltip':t('Upper-latin\x20footnotes'),'style':'upper-latin','icon':_0x507b51}];return _0x5ad3a0['map'](function(_0xfadf0e){const _0x408161=_0xfadf0e['locale'];return({label:_0x23a5f3,icon:_0x48c3bf,tooltip:_0x2a0e87,style:_0x350fab})=>{const _0x46a96e=_0xfadf0e['commands']['get']('footnotesStyle'),_0x4a6f86=new _0xf70ec0(_0x408161);return _0x4a6f86['set']({'label':_0x23a5f3,'icon':_0x48c3bf,'tooltip':_0x2a0e87}),_0x4a6f86['bind']('isOn')['to'](_0x46a96e,'value',_0x5dca40=>_0x5dca40===_0x350fab),_0x4a6f86['bind']('isEnabled')['to'](_0x46a96e,'isEnabled'),_0x4a6f86['on']('execute',()=>{_0xfadf0e['execute']('footnotesStyle',{'value':_0x350fab}),_0xfadf0e['editing']['view']['focus']();}),_0x4a6f86;};}(_0x5c8d19));}(_0x34c988),_0x58fb18=new H(_0x34c988['locale'],{'styleGridAriaLabel':_0x194d85,'styleButtonViews':_0x3142dc}),_0x5ecd18=_0x34c988['commands']['get']('footnotesStart');return _0x58fb18['startIndexFieldView']['bind']('isEnabled')['to'](_0x5ecd18),_0x58fb18['startIndexFieldView']['fieldView']['bind']('value')['to'](_0x5ecd18),_0x58fb18['on']('footnotesListStart',(_0x405d6b,_0xace698)=>{_0x34c988['execute']('footnotesStart',{'value':_0xace698['startIndex']});}),_0x58fb18['delegate']('execute')['to'](_0x130e29),_0x58fb18;}({'editor':_0x44b3f2,'dropdownView':_0x1f27ac});_0x1f27ac['panelView']['children']['add'](_0x27eada);}),_0x1f27ac;};}(_0x177a02));}['afterInit'](){const {editor:_0x5989d5}=this,{t:t}=_0x5989d5['locale'],_0x1c09f6=_0x5989d5['plugins']['get'](_0x1e51cc),{defaultPositions:_0x1a4645}=_0x3f8e1d;_0x1c09f6['register']('footnotesDefinitions',{'ariaLabel':t('Footnotes\x20definitions\x20toolbar'),'items':_0x5989d5['config']['get']('footnotes.footnotesProperties.toolbar'),'balloonClassName':'ck-footnotes-style-balloon\x20ck-toolbar-container','getRelatedElement':_0x43a610=>{let _0x3e5197=_0x43a610['getFirstPosition']()?.['parent'];return _0x3e5197?.['is']('$text')&&(_0x3e5197=_0x3e5197['parent']),_0x3e5197?.['is']('element')?_0x3e5197['findAncestor'](J):null;},'positions':[_0x1a4645['southArrowNorth'],_0x1a4645['southArrowNorthMiddleWest'],_0x1a4645['southArrowNorthMiddleEast'],_0x1a4645['southArrowNorthWest'],_0x1a4645['southArrowNorthEast'],_0x1a4645['northArrowSouth'],_0x1a4645['northArrowSouthMiddleWest'],_0x1a4645['northArrowSouthMiddleEast'],_0x1a4645['northArrowSouthWest'],_0x1a4645['northArrowSouthEast'],_0x1a4645['viewportStickyNorth']]});}}class ft extends _0x118d13{static get['pluginName'](){return'FootnotesProperties';}static get['requires'](){return[P,j];}static get['isOfficialPlugin'](){return!0x0;}static get['isPremiumPlugin'](){return!0x0;}}export{lt as Footnotes,e as FootnotesClipboard,r as FootnotesEditing,ft as FootnotesProperties,P as FootnotesPropertiesEditing,j as FootnotesPropertiesUI,C as FootnotesStartCommand,S as FootnotesStyleCommand,f as FootnotesTracker,i as FootnotesUI,m as InsertFootnoteCommand};
|
package/dist/translations/af.js
CHANGED
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
export default{'af':{'dictionary':{'Footnote':'','Footnotes':'','Footnotes\x20properties':'','Footnotes\x20start\x20at':'','Invalid\x20footnotes\x20start\x20index\x20value.':'','Footnotes\x20start\x20index\x20is\x20too\x20large.':'','Footnotes\x20start\x20index\x20must\x20be\x20greater\x20than\x200.':'','Footnote\x20%0.\x20Press\x20ENTER\x20to\x20jump\x20to\x20footnote\x20definition.':'','Footnote\x20content.':'','Footnotes\x20definitions\x20styles':'','Footnotes\x20definitions\x20toolbar':'','Insert\x20footnote':'','Footnotes\x20style':'','Toggle\x20the\x20decimal\x20footnotes\x20style':'','Decimal\x20footnotes':'','Toggle\x20the\x20decimal\x20with\x20leading\x20zero\x20footnotes\x20style':'','Decimal\x20footnotes\x20with\x20leading\x20zero':'','Lower–roman\x20footnotes':'','Upper-roman\x20footnotes':'','Lower-latin\x20footnotes':'','Upper-latin\x20footnotes':'','Toggle\x20the\x20lower–roman\x20footnotes\x20style':'','Toggle\x20the\x20upper–roman\x20footnotes\x20style':'','Toggle\x20the\x20lower–latin\x20footnotes\x20style':'','Toggle\x20the\x20upper–latin\x20footnotes\x20style':''},'getPluralForm':
|
|
23
|
+
export default{'af':{'dictionary':{'Footnote':'','Footnotes':'','Footnotes\x20properties':'','Footnotes\x20start\x20at':'','Invalid\x20footnotes\x20start\x20index\x20value.':'','Footnotes\x20start\x20index\x20is\x20too\x20large.':'','Footnotes\x20start\x20index\x20must\x20be\x20greater\x20than\x200.':'','Footnote\x20%0.\x20Press\x20ENTER\x20to\x20jump\x20to\x20footnote\x20definition.':'','Footnote\x20content.':'','Footnotes\x20definitions\x20styles':'','Footnotes\x20definitions\x20toolbar':'','Insert\x20footnote':'','Footnotes\x20style':'','Toggle\x20the\x20decimal\x20footnotes\x20style':'','Decimal\x20footnotes':'','Toggle\x20the\x20decimal\x20with\x20leading\x20zero\x20footnotes\x20style':'','Decimal\x20footnotes\x20with\x20leading\x20zero':'','Lower–roman\x20footnotes':'','Upper-roman\x20footnotes':'','Lower-latin\x20footnotes':'','Upper-latin\x20footnotes':'','Toggle\x20the\x20lower–roman\x20footnotes\x20style':'','Toggle\x20the\x20upper–roman\x20footnotes\x20style':'','Toggle\x20the\x20lower–latin\x20footnotes\x20style':'','Toggle\x20the\x20upper–latin\x20footnotes\x20style':''},'getPluralForm':_0x3eee8e=>0x1!=_0x3eee8e}};
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
(
|
|
23
|
+
(_0x34acce=>{const {af:{dictionary:_0x5b14c3,getPluralForm:_0x4ea87e}}={'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':_0x374574=>0x1!=_0x374574}};_0x34acce['af']||={'dictionary':{},'getPluralForm':null},_0x34acce['af']['dictionary']=Object['assign'](_0x34acce['af']['dictionary'],_0x5b14c3),_0x34acce['af']['getPluralForm']=_0x4ea87e;})(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':_0x39a7b9=>0x0==_0x39a7b9?0x0:0x1==_0x39a7b9?0x1:0x2==_0x39a7b9?0x2:_0x39a7b9%0x64>=0x3&&_0x39a7b9%0x64<=0xa?0x3:_0x39a7b9%0x64>=0xb?0x4:0x5}};
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
(
|
|
23
|
+
(_0x30c651=>{const {ar:{dictionary:_0x5edfe5,getPluralForm:_0x2cdd12}}={'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':_0x2a87cf=>0x0==_0x2a87cf?0x0:0x1==_0x2a87cf?0x1:0x2==_0x2a87cf?0x2:_0x2a87cf%0x64>=0x3&&_0x2a87cf%0x64<=0xa?0x3:_0x2a87cf%0x64>=0xb?0x4:0x5}};_0x30c651['ar']||={'dictionary':{},'getPluralForm':null},_0x30c651['ar']['dictionary']=Object['assign'](_0x30c651['ar']['dictionary'],_0x5edfe5),_0x30c651['ar']['getPluralForm']=_0x2cdd12;})(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':_0x563638=>0x1!=_0x563638}};
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
(
|
|
23
|
+
(_0x11a62b=>{const {ast:{dictionary:_0x88c028,getPluralForm:_0x5a60ee}}={'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':_0x51ceb2=>0x1!=_0x51ceb2}};_0x11a62b['ast']||={'dictionary':{},'getPluralForm':null},_0x11a62b['ast']['dictionary']=Object['assign'](_0x11a62b['ast']['dictionary'],_0x88c028),_0x11a62b['ast']['getPluralForm']=_0x5a60ee;})(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':_0x3e2a6a=>0x1!=_0x3e2a6a}};
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
(
|
|
23
|
+
(_0x2f809d=>{const {az:{dictionary:_0x4f3ff1,getPluralForm:_0xe56857}}={'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':_0x35b4e9=>0x1!=_0x35b4e9}};_0x2f809d['az']||={'dictionary':{},'getPluralForm':null},_0x2f809d['az']['dictionary']=Object['assign'](_0x2f809d['az']['dictionary'],_0x4f3ff1),_0x2f809d['az']['getPluralForm']=_0xe56857;})(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':_0x21214f=>_0x21214f%0xa==0x1&&_0x21214f%0x64!=0xb?0x0:_0x21214f%0xa>=0x2&&_0x21214f%0xa<=0x4&&(_0x21214f%0x64<0xa||_0x21214f%0x64>=0x14)?0x1:0x2}};
|