@ckeditor/ckeditor5-footnotes 0.0.0-nightly-20260127.0 → 0.0.0-nightly-20260128.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 _0x228b4b,Command as _0x28f868}from'@ckeditor/ckeditor5-core/dist/index.js';import{toWidget as _0x4d67c2,isWidget as _0x5853f6,toWidgetEditable as _0x5ad520,WidgetToolbarRepository as _0x2d5feb}from'@ckeditor/ckeditor5-widget/dist/index.js';import{uid as _0x1da73a,logWarning as _0x25dade,FocusTracker as rt,KeystrokeHandler as nt,global as at}from'@ckeditor/ckeditor5-utils/dist/index.js';import{PointerObserver as _0x156beb,ClickObserver as _0x3c1fe7}from'@ckeditor/ckeditor5-engine/dist/index.js';import{ClipboardPipeline as _0x421ee3}from'@ckeditor/ckeditor5-clipboard/dist/index.js';import{MenuBarMenuListItemButtonView as _0x1a3d94,ButtonView as _0x5d9a08,View as _0x4ea473,ViewCollection as _0x1fc5a8,FocusCycler as tt,addKeyboardHandlingForGrid as st,CollapsibleView as it,LabeledFieldView as et,createLabeledInputNumber as ot,ContextualBalloon as _0x2e7bd6,BalloonPanelView as _0x4706a4,createDropdown as _0x3e8b49}from'@ckeditor/ckeditor5-ui/dist/index.js';import{IconFootnote as _0x48e6cb,IconListStyleDecimal as _0x17a16c,IconListStyleDecimalLeadingZero as _0x582eb4,IconListStyleLowerRoman as _0x396a03,IconListStyleUpperRoman as _0x3b82af,IconListStyleLowerLatin as _0x17b960,IconListStyleUpperLatin as _0x56627b}from'@ckeditor/ckeditor5-icons/dist/index.js';class F{['_model'];['_elementName'];['_getElementKey'];['_trackedElements']=new Map();constructor(_0x34a448,_0x3a6872){this['_model']=_0x34a448,this['_elementName']=_0x3a6872['elementName'],this['_getElementKey']=_0x3a6872['getElementKey'];}['reset'](){this['_trackedElements']['clear']();}['getChanges'](_0x3d9bf9){const _0x29124a=new Set(),_0x25e11e=new Map();for(const _0xcaeaa3 of _0x3d9bf9){if('insert'===_0xcaeaa3['type']&&'$text'!==_0xcaeaa3['name']&&_0xcaeaa3['position']['nodeAfter']){const _0x1a1ae0=this['_model']['createRangeOn'](_0xcaeaa3['position']['nodeAfter']);for(const _0x1c894b of _0x1a1ae0['getItems']()){if(!_0x1c894b['is']('element',this['_elementName']))continue;const _0x188d7e=this['_getElementKey'](_0x1c894b);_0x25e11e['has'](_0x188d7e)||_0x25e11e['set'](_0x188d7e,[]),_0x25e11e['get'](_0x188d7e)['push'](_0x1c894b);}}if('remove'===_0xcaeaa3['type']&&_0xcaeaa3['name']===this['_elementName']){const _0x2b356b=this['_getElementKey']({'getAttribute':_0xe2bdc2=>_0xcaeaa3['attributes']['get'](_0xe2bdc2)});_0x29124a['add'](_0x2b356b);}}for(const [_0x25e1e4,_0x35bd26]of this['_trackedElements'])'$graveyard'===_0x35bd26['root']['rootName']&&_0x29124a['add'](_0x25e1e4);for(const _0x143de6 of _0x29124a)this['_trackedElements']['delete'](_0x143de6);for(const [_0x24c4de,_0x1f9e23]of _0x25e11e)this['_trackedElements']['set'](_0x24c4de,_0x1f9e23[_0x1f9e23['length']-0x1]);const _0x1a4dba=new Set();for(const [_0x3bc97d,_0x3ba2d9]of _0x25e11e)_0x29124a['has'](_0x3bc97d)&&(_0x1a4dba['add'](_0x3ba2d9[0x0]),_0x3ba2d9['length']>0x1?_0x25e11e['set'](_0x3bc97d,_0x3ba2d9['slice'](0x1)):_0x25e11e['delete'](_0x3bc97d),_0x29124a['delete'](_0x3bc97d));return{'removed':Array['from'](_0x29124a),'inserted':Array['from'](_0x25e11e['values']())['flat'](),'moved':Array['from'](_0x1a4dba)};}}class f extends _0x228b4b{['_footnotes']=[];['_footnotesDefinitions']=null;['_footnoteFormatter']=null;['_footnoteDefsContainerTracker'];['_footnoteRefsTracker'];['_footnoteDefsTracker'];static get['pluginName'](){return'FootnotesTracker';}static get['isOfficialPlugin'](){return!0x0;}static get['isPremiumPlugin'](){return!0x0;}constructor(_0x39e962){super(_0x39e962),this['_footnoteDefsContainerTracker']=new F(this['editor']['model'],{'elementName':'footnotesDefinitions','getElementKey':()=>'singleton'}),this['_footnoteRefsTracker']=new F(this['editor']['model'],{'elementName':'footnoteRef','getElementKey':_0x629742=>_0x629742['getAttribute']('footnoteId')}),this['_footnoteDefsTracker']=new F(this['editor']['model'],{'elementName':'footnoteDefinition','getElementKey':_0x4311f5=>_0x4311f5['getAttribute']('footnoteId')});}['init'](){const {editor:_0x4b25ab}=this,{model:_0x4d17c3,data:_0x3bb143}=_0x4b25ab;_0x4d17c3['document']['registerPostFixer'](_0x36b299=>{const _0x511e30=_0x4d17c3['document']['differ']['getChanges']();let _0x232728=!0x1;return this['_handleFootnotesDefinitionsObjectChanges'](_0x36b299,_0x511e30)&&(_0x232728=!0x0),this['_handleFootnoteDefinitionsChanges'](_0x36b299,_0x511e30)&&(_0x232728=!0x0),this['_handleFootnoteReferencesChanges'](_0x36b299,_0x511e30)&&(_0x232728=!0x0),this['_ensureFootnotesReferencesHaveProperOrder'](_0x36b299)&&(_0x232728=!0x0),this['_handleFootnotesDefinitionsObjectSync'](_0x36b299)&&(_0x232728=!0x0),this['_sortFootnoteDefinitions'](_0x36b299)&&(_0x232728=!0x0),_0x232728;}),this['listenTo'](_0x4d17c3['document'],'change:data',()=>{_0x4d17c3['enqueueChange']({'isUndoable':!0x1},_0x5a6e1e=>{this['_ensureFootnotesDefinitionsContainerExists'](_0x5a6e1e);});},{'priority':'low'}),this['listenTo'](_0x3bb143,'set',()=>{this['_footnotes']=[],this['_footnoteDefsContainerTracker']['reset'](),this['_footnoteRefsTracker']['reset'](),this['_footnoteDefsTracker']['reset']();},{'priority':'high'});}['getFootnotesDefinitionsObjectElement'](){return this['_footnotesDefinitions'];}['getFootnote'](_0x52e09e){return this['_footnotes']['find'](_0x30c8f4=>_0x30c8f4['id']===_0x52e09e)||null;}['getFootnotes'](){return Array['from'](this['_footnotes']);}['getFootnotesFormatter'](){return this['_footnoteFormatter'];}['setFootnoteFormatter'](_0x1f61c6){this['_footnoteFormatter']=_0x1f61c6;}['_updateFootnotesCounters'](_0x1b3d01,_0x5ae51f=0x0){let _0x159605=!0x1;for(let _0xf39781=_0x5ae51f;_0xf39781<this['_footnotes']['length'];_0xf39781++)this['_updateFootnoteRefCounter'](_0x1b3d01,_0xf39781)&&(_0x159605=!0x0);return _0x159605;}['_insertEmptyFootnotesDefinitionsContainer'](_0x425524,_0x38de09){const _0x5c8903=_0x425524['createElement']('footnotesDefinitions',{});return _0x425524['append'](_0x5c8903,_0x38de09),this['_footnotesDefinitions']=_0x5c8903,_0x5c8903;}['_ensureFootnotesDefinitionsContainerExists'](_0x8e28cf){if(!this['_footnotes']['length']||this['_footnotesDefinitions'])return;const _0x4e4087=this['_footnotes'][0x0]['reference']['root'],_0x15043e=this['_insertEmptyFootnotesDefinitionsContainer'](_0x8e28cf,_0x4e4087);for(const _0x59989a of this['_footnotes'])_0x59989a['definition']['parent']||_0x8e28cf['insert'](_0x59989a['definition'],_0x15043e,'end');this['_updateFootnotesCounters'](_0x8e28cf);}['_handleFootnotesDefinitionsObjectChanges'](_0x25e4e1,_0x224f5e){let _0x1b10a6=!0x1;const {inserted:_0x228851,removed:_0x40b1cf,moved:_0x3f44d6}=this['_footnoteDefsContainerTracker']['getChanges'](_0x224f5e);if(_0x3f44d6['length']&&(this['_footnotesDefinitions']=_0x3f44d6[0x0]),_0x228851['length']){if(_0x228851['length']>0x1||this['_footnotesDefinitions']&&_0x228851['some'](_0x352d1e=>_0x352d1e!==this['_footnotesDefinitions'])){const _0x4d871b=_0x25e4e1['createElement']('footnotesDefinitions',{}),_0x3ed050=[];this['_footnotesDefinitions']&&_0x3ed050['push'](this['_footnotesDefinitions']),_0x3ed050['push'](..._0x228851),_0x25e4e1['insert'](_0x4d871b,_0x3ed050[0x0],'before');for(const _0x6dcdf8 of _0x3ed050)_0x25e4e1['move'](_0x25e4e1['createRangeIn'](_0x6dcdf8),_0x25e4e1['createPositionAt'](_0x4d871b,'end')),_0x25e4e1['remove'](_0x6dcdf8);this['_footnotesDefinitions']=_0x4d871b,this['_updateFootnotesCounters'](_0x25e4e1),_0x1b10a6=!0x0;}else this['_footnotesDefinitions']=_0x228851[0x0];}if(_0x40b1cf['length']&&'$graveyard'===this['_footnotesDefinitions']?.['root']['rootName']){for(const _0x1e5595 of this['_footnotes'])_0x25e4e1['remove'](_0x1e5595['reference']),_0x1b10a6=!0x0;this['_footnotes']=[],this['_footnotesDefinitions']=null;}return _0x1b10a6;}['_handleFootnoteDefinitionsChanges'](_0x448a88,_0x34ee85){let _0x469cc9=!0x1;const _0x20785a=this['editor']['config']['get']('footnotes.multiBlock'),{inserted:_0x6f8dde,moved:_0x5aec0e}=this['_footnoteDefsTracker']['getChanges'](_0x34ee85);for(const _0x30cb87 of[..._0x5aec0e,..._0x6f8dde]){const _0x14c543=_0x30cb87['getAttribute']('footnoteId'),_0x11a6cd=this['getFootnote'](_0x14c543);_0x11a6cd&&(_0x11a6cd['definition']=_0x30cb87),_(_0x448a88,_0x20785a,_0x30cb87)&&(_0x469cc9=!0x0);}return _0x469cc9;}['_handleFootnoteReferencesChanges'](_0x360fcb,_0x3fadce){let _0x589ac7=!0x1;const {removed:_0x2e2940,inserted:_0x5d044d,moved:_0x174ae5}=this['_footnoteRefsTracker']['getChanges'](_0x3fadce);for(const _0x425348 of _0x2e2940)this['_handleRemoveFootnoteReferenceById'](_0x360fcb,_0x425348)&&(_0x589ac7=!0x0);for(const _0x3c6372 of _0x5d044d)this['_handleInsertedFootnoteReference'](_0x360fcb,_0x3c6372)&&(_0x589ac7=!0x0);for(const _0x98fbba of _0x174ae5)this['_handleMovedFootnoteReference'](_0x360fcb,_0x98fbba)&&(_0x589ac7=!0x0);return _0x589ac7;}['_handleFootnotesDefinitionsObjectSync'](_0x49ca2a){if(!this['_footnotesDefinitions'])return!0x1;let _0xf6dae4=!0x1;if(this['_footnotesDefinitions']['childCount']!==this['_footnotes']['length']){const _0xae0206=[];for(const _0xf3e554 of this['_footnotesDefinitions']['getChildren']()){const _0x552f98=_0xf3e554['getAttribute']('footnoteId');this['getFootnote'](_0x552f98)||(_0xae0206['unshift'](_0xf3e554),_0xf6dae4=!0x0);}for(const _0x363c06 of _0xae0206)_0x49ca2a['remove'](_0x363c06);}const _0x54d6c7=new Set(),_0x442f4b=[];for(const _0x3c49a2 of this['_footnotesDefinitions']['getChildren']()){const _0x4ffca3=_0x3c49a2['getAttribute']('footnoteId');_0x54d6c7['has'](_0x4ffca3)?(_0x442f4b['unshift'](_0x3c49a2),_0xf6dae4=!0x0):_0x54d6c7['add'](_0x4ffca3);}for(const _0x260dc6 of _0x442f4b)_0x49ca2a['remove'](_0x260dc6);return this['_footnotesDefinitions']['childCount']||(_0x49ca2a['remove'](this['_footnotesDefinitions']),this['_footnotesDefinitions']=null,_0xf6dae4=!0x0),_0xf6dae4;}['_handleInsertedFootnoteReference'](_0x265bb2,_0x4714ad){if(this['_footnotes']['find'](_0x1728c1=>_0x1728c1['reference']===_0x4714ad))return!0x1;let _0x170f05=!0x1;const _0x461788=_0x4714ad['getAttribute']('footnoteId'),_0x202538=this['_footnotes']['findIndex'](_0x1e1777=>_0x1e1777['id']===_0x461788);-0x1!==_0x202538&&(_0x265bb2['remove'](this['_footnotes'][_0x202538]['reference']),this['_footnotes']['splice'](_0x202538,0x1),_0x170f05=!0x0);let _0x2d5b7c=this['_footnotesDefinitions']?function(_0x5ad85e,_0x59ec90){for(const _0x1524ff of _0x5ad85e['getChildren']())if(_0x1524ff['getAttribute']('footnoteId')===_0x59ec90)return _0x1524ff;return null;}(this['_footnotesDefinitions'],_0x461788):null;_0x2d5b7c||(_0x2d5b7c=_0x265bb2['createElement']('footnoteDefinition',{'footnoteId':_0x461788}),this['_footnotesDefinitions']&&(_0x265bb2['insert'](_0x2d5b7c,this['_footnotesDefinitions'],'end'),_0x170f05=!0x0));const _0x2ba99e={'id':_0x461788,'reference':_0x4714ad,'definition':_0x2d5b7c},_0x56a24e=I(this['editor']['model'],this['_footnotes'],_0x4714ad);this['_footnotes']['splice'](_0x56a24e,0x0,_0x2ba99e);let _0x1f728d=_0x56a24e;return-0x1!==_0x202538&&(_0x1f728d=Math['min'](_0x56a24e,_0x202538)),this['_updateFootnotesCounters'](_0x265bb2,_0x1f728d)&&(_0x170f05=!0x0),_0x170f05;}['_handleRemoveFootnoteReferenceById'](_0x3fce0d,_0x35885c){const _0x1898c7=this['_footnotes']['findIndex'](_0x33d8ae=>_0x33d8ae['id']===_0x35885c);if(-0x1===_0x1898c7)return!0x1;let _0xd33309=!0x1;const _0x36ae43=this['_footnotes'][_0x1898c7];return'$graveyard'!==_0x36ae43['definition']['root']['rootName']&&(_0x3fce0d['remove'](_0x36ae43['definition']),_0xd33309=!0x0),this['_footnotes']['splice'](_0x1898c7,0x1),this['_updateFootnotesCounters'](_0x3fce0d,_0x1898c7)&&(_0xd33309=!0x0),_0xd33309;}['_handleMovedFootnoteReference'](_0x3bc33c,_0x328289){const _0x36a1f6=_0x328289['getAttribute']('footnoteId'),_0x167e77=this['_footnotes']['findIndex'](_0x4dec3a=>_0x4dec3a['id']===_0x36a1f6),_0x56a052=this['_footnotes'][_0x167e77];let _0x28048c=!0x1;_0x56a052['reference']=_0x328289,this['_footnotes']['splice'](_0x167e77,0x1);const _0x13969d=I(this['editor']['model'],this['_footnotes'],_0x328289);return this['_footnotes']['splice'](_0x13969d,0x0,_0x56a052),this['_updateFootnotesCounters'](_0x3bc33c,Math['min'](_0x167e77,_0x13969d))&&(_0x28048c=!0x0),_0x28048c;}['_updateFootnoteRefCounter'](_0x1a90d5,_0x51443d){if(!this['_footnotesDefinitions'])return!0x1;const _0x2c7394=this['_footnotes'][_0x51443d];let _0x3daa80;return _0x3daa80=this['_footnoteFormatter']?this['_footnoteFormatter']({'footnote':_0x2c7394,'container':this['_footnotesDefinitions'],'digits':String(this['_footnotes']['length'])['length'],'value':_0x51443d+0x1}):String(_0x51443d+0x1),_0x2c7394['reference']['getAttribute']('footnoteCounter')!=_0x3daa80&&(_0x1a90d5['setAttribute']('footnoteCounter',_0x3daa80,_0x2c7394['reference']),!0x0);}['_sortFootnoteDefinitions'](_0x3cf0f2){if(!this['_footnotesDefinitions']||this['_footnotes']['length']<0x2)return!0x1;if(function(_0x9fc5e,_0x1e5f20){if(_0x9fc5e['length']!==_0x1e5f20['length'])return!0x1;for(let _0x47c24f=0x0;_0x47c24f<_0x9fc5e['length'];_0x47c24f++)if(_0x9fc5e[_0x47c24f]!==_0x1e5f20[_0x47c24f])return!0x1;return!0x0;}(this['_footnotes']['map'](_0x145b4f=>_0x145b4f['id']),Array['from'](this['_footnotesDefinitions']['getChildren']())['map'](_0x9051a0=>_0x9051a0['getAttribute']('footnoteId'))))return!0x1;let _0x3c6f38=!0x1;for(let _0x2852ea=0x0;_0x2852ea<this['_footnotes']['length'];_0x2852ea++){const _0x4f089f=this['_footnotes'][_0x2852ea],_0x254232=_0x3cf0f2['createPositionBefore'](_0x4f089f['definition']),_0x2fd71f=_0x3cf0f2['createPositionAt'](this['_footnotesDefinitions'],_0x2852ea);_0x254232['isEqual'](_0x2fd71f)||(_0x3cf0f2['move'](_0x3cf0f2['createRangeOn'](_0x4f089f['definition']),_0x2fd71f),_0x3c6f38=!0x0);}return _0x3c6f38;}['_ensureFootnotesReferencesHaveProperOrder'](_0xa03d25){if(!this['_footnotes']['length'])return!0x1;const {model:_0x142752}=this['editor'];let _0x1d4764=!0x1;for(let _0x2959d7=0x0;_0x2959d7<this['_footnotes']['length']-0x1;_0x2959d7++){const _0x1bf26d=this['_footnotes'][_0x2959d7],_0x4b22f5=this['_footnotes'][_0x2959d7+0x1],_0x275d72=_0x142752['createPositionBefore'](_0x1bf26d['reference']),_0x53691d=_0x142752['createPositionBefore'](_0x4b22f5['reference']);'after'===_0x275d72['compareWith'](_0x53691d)&&(this['_handleMovedFootnoteReference'](_0xa03d25,_0x1bf26d['reference']),_0x2959d7=-0x1,_0x1d4764=!0x0);}return _0x1d4764;}}function _(_0x30b4e5,_0x3baf48,_0x2565e9){if(_0x2565e9['childCount'])return!0x1;const _0x28fbc5=_0x3baf48?'paragraph':'footnoteInlineContent';return _0x30b4e5['insert'](_0x30b4e5['createElement'](_0x28fbc5),_0x2565e9),!0x0;}function I(_0x826314,_0x4f5d4b,_0x334157){if(0x0===_0x4f5d4b['length'])return 0x0;const _0x44f4d6=_0x826314['createPositionBefore'](_0x334157);for(let _0x45b10b=0x0;_0x45b10b<_0x4f5d4b['length'];_0x45b10b++){const _0x5322ec=_0x4f5d4b[_0x45b10b],_0x4dbb72=_0x826314['createPositionBefore'](_0x5322ec['reference']);if('before'===_0x44f4d6['compareWith'](_0x4dbb72))return _0x45b10b;}const _0x117e4d=_0x334157['root'];let _0x13faf7=-0x1;for(let _0x55af0c=_0x4f5d4b['length']-0x1;_0x55af0c>=0x0;_0x55af0c--)if(_0x4f5d4b[_0x55af0c]['reference']['root']===_0x117e4d){_0x13faf7=_0x55af0c;break;}if(-0x1!==_0x13faf7)return _0x13faf7+0x1;const _0x14e2b5=_0x826314['document']['getRootNames'](),_0x5af9ee=_0x14e2b5['indexOf'](_0x117e4d['rootName']),_0x287241=_0x14e2b5[_0x5af9ee+0x1];if(_0x287241){for(let _0x3fb052=0x0;_0x3fb052<_0x4f5d4b['length'];_0x3fb052++)if(_0x4f5d4b[_0x3fb052]['reference']['root']['rootName']===_0x287241)return _0x3fb052;}return _0x4f5d4b['length'];}class h extends _0x28f868{['refresh'](){const _0x627c51=this['editor']['model']['document']['selection'],_0xcbbb23=this['_getPositionToInsertFootnote'](_0x627c51);this['isEnabled']=!!_0xcbbb23;}['execute'](_0x29c50a){const {editor:_0x39b9af}=this,{model:_0x50d0ba}=_0x39b9af,{selection:_0x1bb50a}=_0x50d0ba['document'],_0x473150=this['_getPositionToInsertFootnote'](_0x1bb50a);if(!_0x473150)return;const _0x46a821=_0x39b9af['plugins']['get']('FootnotesEditing'),_0x5006f0=_0x29c50a?.['footnoteId']??_0x1da73a();!function(_0x36fca6){return'string'==typeof _0x36fca6&&_0x36fca6['length']>0x0&&!/\s/['test'](_0x36fca6)&&!/^\d/['test'](_0x36fca6);}(_0x5006f0)?_0x25dade('insert-footnote-command-executed-with-invalid-id'):(_0x50d0ba['change'](_0x1645f3=>{const _0x38d331=_0x1645f3['createElement']('footnoteRef',{'footnoteId':_0x5006f0});_0x50d0ba['insertObject'](_0x38d331,_0x473150,null);}),_0x46a821['_moveSelectionToFootnoteDefinition'](_0x5006f0));}['_getPositionToInsertFootnote'](_0x3a1bab){const {model:_0x3f7046}=this['editor'],{schema:_0x252b9c}=_0x3f7046,_0x251ccc=_0x3a1bab['getFirstRange']();for(const _0x1938b9 of _0x251ccc['getItems']())if(_0x252b9c['isBlock'](_0x1938b9)||_0x252b9c['isObject'](_0x1938b9))return null;const _0x1ebeb0=_0x251ccc['end'];return _0x252b9c['checkChild'](_0x1ebeb0,'footnoteRef')?_0x1ebeb0:null;}}class r extends _0x228b4b{static get['pluginName'](){return'FootnotesEditing';}static get['requires'](){return[f];}static get['isOfficialPlugin'](){return!0x0;}static get['isPremiumPlugin'](){return!0x0;}['init'](){const {editor:_0x253ef1}=this;_0x253ef1['config']['define']('footnotes.multiBlock',!0x0),_0x253ef1['commands']['add']('insertFootnote',new h(_0x253ef1)),this['_defineSchema'](),this['_defineRefsConverters'](),this['_defineDefinitionsConverters'](),this['_defineDefinitionConverters'](),this['_defineBogusParagraphConverters'](),this['_defineKeyboardHandlers'](),this['_defineClickHandlers']();}['afterInit'](){!async function(_0x486ab1){const _0xc37acf=_0xd8b62d([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]),_0x508572=0x47a28506,_0x257207=0x47a50506^_0x508572,_0x16a904=window[_0xd8b62d([0x44,0x61,0x74,0x65])][_0xd8b62d([0x6e,0x6f,0x77])](),_0x534f1f=_0x486ab1[_0xd8b62d([0x65,0x64,0x69,0x74,0x6f,0x72])],_0x55bd0b=new window[(_0xd8b62d([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0x3bf4d1=>{_0x534f1f[_0xd8b62d([0x6f,0x6e,0x63,0x65])](_0xd8b62d([0x72,0x65,0x61,0x64,0x79]),_0x3bf4d1);}),_0x594d68={[_0xd8b62d([0x6b,0x74,0x79])]:_0xd8b62d([0x45,0x43]),[_0xd8b62d([0x75,0x73,0x65])]:_0xd8b62d([0x73,0x69,0x67]),[_0xd8b62d([0x63,0x72,0x76])]:_0xd8b62d([0x50,0x2d,0x32,0x35,0x36]),[_0xd8b62d([0x78])]:_0xd8b62d([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]),[_0xd8b62d([0x79])]:_0xd8b62d([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]),[_0xd8b62d([0x61,0x6c,0x67])]:_0xd8b62d([0x45,0x53,0x32,0x35,0x36])},_0x5169b3=_0x534f1f[_0xd8b62d([0x63,0x6f,0x6e,0x66,0x69,0x67])][_0xd8b62d([0x67,0x65,0x74])](_0xd8b62d([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x4b,0x65,0x79]));async function _0x5716c8(){let _0x43e5b4,_0x5eddd3=null,_0x1c1662=null;try{if(_0x5169b3==_0xd8b62d([0x47,0x50,0x4c]))return _0xd8b62d([0x4e,0x6f,0x74,0x41,0x6c,0x6c,0x6f,0x77,0x65,0x64]);if(_0x43e5b4=_0x3a119f(),!_0x43e5b4)return _0xd8b62d([0x49,0x6e,0x76,0x61,0x6c,0x69,0x64]);return _0x43e5b4[_0xd8b62d([0x75,0x73,0x61,0x67,0x65,0x45,0x6e,0x64,0x70,0x6f,0x69,0x6e,0x74])]&&(_0x1c1662=_0x3699f0(_0x43e5b4[_0xd8b62d([0x75,0x73,0x61,0x67,0x65,0x45,0x6e,0x64,0x70,0x6f,0x69,0x6e,0x74])],_0x43e5b4[_0xd8b62d([0x6a,0x74,0x69])])),await _0x5d700f()?_0x2603ab()?_0x29c811()?_0xd8b62d([0x45,0x78,0x70,0x69,0x72,0x65,0x64]):_0x1dcecc()?(_0x43e5b4[_0xd8b62d([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x54,0x79,0x70,0x65])]==_0xd8b62d([0x65,0x76,0x61,0x6c,0x75,0x61,0x74,0x69,0x6f,0x6e])&&(_0x5eddd3=_0x26a04b(_0xd8b62d([0x45,0x76,0x61,0x6c,0x75,0x61,0x74,0x69,0x6f,0x6e,0x4c,0x69,0x6d,0x69,0x74]))),await _0x1649b9()):_0xd8b62d([0x44,0x6f,0x6d,0x61,0x69,0x6e,0x4c,0x69,0x6d,0x69,0x74]):_0xd8b62d([0x4e,0x6f,0x74,0x41,0x6c,0x6c,0x6f,0x77,0x65,0x64]):_0xd8b62d([0x49,0x6e,0x76,0x61,0x6c,0x69,0x64]);}catch{return _0xd8b62d([0x49,0x6e,0x76,0x61,0x6c,0x69,0x64]);}function _0x29c811(){const _0x3ece41=[_0xd8b62d([0x65,0x76,0x61,0x6c,0x75,0x61,0x74,0x69,0x6f,0x6e]),_0xd8b62d([0x74,0x72,0x69,0x61,0x6c])][_0xd8b62d([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x43e5b4[_0xd8b62d([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x54,0x79,0x70,0x65])])?_0x16a904/0x3e8:0xe10*_0x257207;return _0x43e5b4[_0xd8b62d([0x65,0x78,0x70])]<_0x3ece41;}function _0x2603ab(){const _0x3e0b4e=_0x43e5b4[_0xd8b62d([0x66,0x65,0x61,0x74,0x75,0x72,0x65,0x73])];return!!_0x3e0b4e&&(!!_0x3e0b4e[_0xd8b62d([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0xd8b62d([0x2a]))||!!_0x3e0b4e[_0xd8b62d([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0xd8b62d([0x46,0x4f,0x4f])));}function _0x1dcecc(){const _0x1dd496=_0x43e5b4[_0xd8b62d([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x64,0x48,0x6f,0x73,0x74,0x73])];if(!_0x1dd496||0x0==_0x1dd496[_0xd8b62d([0x6c,0x65,0x6e,0x67,0x74,0x68])])return!0x0;const {hostname:_0x3f7e49}=new URL(window[_0xd8b62d([0x6c,0x6f,0x63,0x61,0x74,0x69,0x6f,0x6e])]['href']);if(_0x1dd496[_0xd8b62d([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x3f7e49))return!0x0;const _0x22cb68=_0x3f7e49[_0xd8b62d([0x73,0x70,0x6c,0x69,0x74])](_0xd8b62d([0x2e]));return _0x1dd496[_0xd8b62d([0x66,0x69,0x6c,0x74,0x65,0x72])](_0xc3330d=>_0xc3330d[_0xd8b62d([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0xd8b62d([0x2a])))[_0xd8b62d([0x6d,0x61,0x70])](_0x32c42f=>_0x32c42f[_0xd8b62d([0x73,0x70,0x6c,0x69,0x74])](_0xd8b62d([0x2e])))[_0xd8b62d([0x66,0x69,0x6c,0x74,0x65,0x72])](_0x26a601=>_0x26a601[_0xd8b62d([0x6c,0x65,0x6e,0x67,0x74,0x68])]<=_0x22cb68[_0xd8b62d([0x6c,0x65,0x6e,0x67,0x74,0x68])])[_0xd8b62d([0x6d,0x61,0x70])](_0x323d92=>Array(_0x22cb68[_0xd8b62d([0x6c,0x65,0x6e,0x67,0x74,0x68])]-_0x323d92[_0xd8b62d([0x6c,0x65,0x6e,0x67,0x74,0x68])])[_0xd8b62d([0x66,0x69,0x6c,0x6c])](_0x323d92[0x0]===_0xd8b62d([0x2a])?_0xd8b62d([0x2a]):'')[_0xd8b62d([0x63,0x6f,0x6e,0x63,0x61,0x74])](_0x323d92))[_0xd8b62d([0x73,0x6f,0x6d,0x65])](_0x347175=>_0x22cb68[_0xd8b62d([0x65,0x76,0x65,0x72,0x79])]((_0x3fa614,_0x162fde)=>_0x347175[_0x162fde]===_0x3fa614||_0x347175[_0x162fde]===_0xd8b62d([0x2a])));}function _0x1649b9(){return _0x5eddd3&&_0x1c1662?new window[(_0xd8b62d([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))]((_0xe8cea4,_0x53a278)=>{_0x5eddd3[_0xd8b62d([0x74,0x68,0x65,0x6e])](_0xe8cea4,_0x53a278),_0x1c1662[_0xd8b62d([0x74,0x68,0x65,0x6e])](_0x2352f5=>{_0x2352f5!=_0xd8b62d([0x56,0x61,0x6c,0x69,0x64])&&_0xe8cea4(_0x2352f5);},_0x53a278);}):_0x5eddd3||_0x1c1662||_0xd8b62d([0x56,0x61,0x6c,0x69,0x64]);}}function _0x3699f0(_0x5c345d,_0x3bf991){return new window[(_0xd8b62d([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0x48a702=>{if(_0x50e0e9())return _0x48a702(_0xd8b62d([0x56,0x61,0x6c,0x69,0x64]));_0x36ce80(),_0x534f1f[_0xd8b62d([0x64,0x65,0x63,0x6f,0x72,0x61,0x74,0x65])](_0xd8b62d([0x5f,0x73,0x65,0x6e,0x64,0x55,0x73,0x61,0x67,0x65,0x52,0x65,0x71,0x75,0x65,0x73,0x74]));let _0x1be273=!0x1;const _0x701f8c=_0x1da73a();function _0x11b9d2(_0x50dd5b){return!!_0x50dd5b&&(typeof _0x50dd5b===_0xd8b62d([0x6f,0x62,0x6a,0x65,0x63,0x74])||typeof _0x50dd5b===_0xd8b62d([0x66,0x75,0x6e,0x63,0x74,0x69,0x6f,0x6e]))&&typeof _0x50dd5b[_0xd8b62d([0x74,0x68,0x65,0x6e])]===_0xd8b62d([0x66,0x75,0x6e,0x63,0x74,0x69,0x6f,0x6e])&&typeof _0x50dd5b[_0xd8b62d([0x63,0x61,0x74,0x63,0x68])]===_0xd8b62d([0x66,0x75,0x6e,0x63,0x74,0x69,0x6f,0x6e]);}function _0x34fc07(_0x321779){_0x2d4519(_0x321779)[_0xd8b62d([0x74,0x68,0x65,0x6e])](_0xef982c=>{if(!_0xef982c||_0xef982c[_0xd8b62d([0x73,0x74,0x61,0x74,0x75,0x73])]!=_0xd8b62d([0x6f,0x6b]))return _0xd8b62d([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]);return _0x4d0a23(_0x5920dd(_0x701f8c+_0x3bf991))!=_0xef982c[_0xd8b62d([0x76,0x65,0x72,0x69,0x66,0x69,0x63,0x61,0x74,0x69,0x6f,0x6e])]?_0xd8b62d([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]):_0xd8b62d([0x56,0x61,0x6c,0x69,0x64]);})[_0xd8b62d([0x74,0x68,0x65,0x6e])](_0x1c1378=>(_0xa6218f(),_0x1c1378),()=>{const _0x3ca3cb=_0x18d355();return null==_0x3ca3cb?(_0xa6218f(),_0xd8b62d([0x56,0x61,0x6c,0x69,0x64])):_0xd8b62d(_0x16a904-_0x3ca3cb>(0x63ae0106^_0x508572)?[0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]:[0x56,0x61,0x6c,0x69,0x64]);})[_0xd8b62d([0x74,0x68,0x65,0x6e])](_0x48a702)[_0xd8b62d([0x63,0x61,0x74,0x63,0x68])](()=>{_0x48a702(_0xd8b62d([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]));});const _0x53834c=0x47946b86^_0x508572;function _0xa6218f(){const _0x101411=_0xd8b62d([0x6c,0x6c,0x63,0x74,0x2d])+_0x4d0a23(_0x5920dd(_0x5c345d)),_0x25264b=_0x48f2d5(_0x4d0a23(window[_0xd8b62d([0x4d,0x61,0x74,0x68])][_0xd8b62d([0x63,0x65,0x69,0x6c])](_0x16a904/_0x53834c)));window[_0xd8b62d([0x6c,0x6f,0x63,0x61,0x6c,0x53,0x74,0x6f,0x72,0x61,0x67,0x65])][_0xd8b62d([0x73,0x65,0x74,0x49,0x74,0x65,0x6d])](_0x101411,_0x25264b);}function _0x18d355(){const _0xc446ea=_0xd8b62d([0x6c,0x6c,0x63,0x74,0x2d])+_0x4d0a23(_0x5920dd(_0x5c345d)),_0x5306f4=window[_0xd8b62d([0x6c,0x6f,0x63,0x61,0x6c,0x53,0x74,0x6f,0x72,0x61,0x67,0x65])][_0xd8b62d([0x67,0x65,0x74,0x49,0x74,0x65,0x6d])](_0xc446ea);return _0x5306f4?window[_0xd8b62d([0x70,0x61,0x72,0x73,0x65,0x49,0x6e,0x74])](_0x48f2d5(_0x5306f4),0x10)*_0x53834c:null;}function _0x2d4519(_0x7ffe95){return new window[(_0xd8b62d([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))]((_0x2558e5,_0x4da757)=>{_0x7ffe95[_0xd8b62d([0x74,0x68,0x65,0x6e])](_0x2558e5,_0x4da757),window[_0xd8b62d([0x73,0x65,0x74,0x54,0x69,0x6d,0x65,0x6f,0x75,0x74])](_0x4da757,0x47a351c6^_0x508572);});}}_0x534f1f[_0xd8b62d([0x6f,0x6e])](_0xd8b62d([0x5f,0x73,0x65,0x6e,0x64,0x55,0x73,0x61,0x67,0x65,0x52,0x65,0x71,0x75,0x65,0x73,0x74]),(_0x9c085e,_0x3ab053)=>{if(_0x3ab053[0x0]!=_0x5c345d)return _0x48a702(_0xd8b62d([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]));_0x3ab053[0x1]={..._0x3ab053[0x1],[_0xd8b62d([0x72,0x65,0x71,0x75,0x65,0x73,0x74,0x49,0x64])]:_0x701f8c};},{[_0xd8b62d([0x70,0x72,0x69,0x6f,0x72,0x69,0x74,0x79])]:_0xd8b62d([0x68,0x69,0x67,0x68])}),_0x534f1f[_0xd8b62d([0x6f,0x6e])](_0xd8b62d([0x5f,0x73,0x65,0x6e,0x64,0x55,0x73,0x61,0x67,0x65,0x52,0x65,0x71,0x75,0x65,0x73,0x74]),_0x5584a4=>{_0x11b9d2(_0x5584a4[_0xd8b62d([0x72,0x65,0x74,0x75,0x72,0x6e])])&&(_0x1be273=!0x0,_0x34fc07(_0x5584a4[_0xd8b62d([0x72,0x65,0x74,0x75,0x72,0x6e])]));},{[_0xd8b62d([0x70,0x72,0x69,0x6f,0x72,0x69,0x74,0x79])]:_0xd8b62d([0x6c,0x6f,0x77])}),_0x55bd0b[_0xd8b62d([0x74,0x68,0x65,0x6e])](()=>{_0x1be273||_0x48a702(_0xd8b62d([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]));});});function _0x50e0e9(){return _0x534f1f[_0xd8b62d([0x65,0x64,0x69,0x74,0x69,0x6e,0x67])][_0xd8b62d([0x76,0x69,0x65,0x77])][_0xd8b62d([0x5f,0x6f,0x76,0x65,0x72,0x6c,0x61,0x79,0x4d,0x6f,0x64,0x65,0x48,0x69,0x6e,0x74])]==_0xd8b62d([0x61,0x75,0x74,0x6f]);}function _0x36ce80(){_0x534f1f[_0xd8b62d([0x65,0x64,0x69,0x74,0x69,0x6e,0x67])][_0xd8b62d([0x76,0x69,0x65,0x77])][_0xd8b62d([0x5f,0x6f,0x76,0x65,0x72,0x6c,0x61,0x79,0x4d,0x6f,0x64,0x65,0x48,0x69,0x6e,0x74])]=_0xd8b62d([0x61,0x75,0x74,0x6f]);}}function _0x26a04b(_0x1353fa){const _0xcccbb4=[new window[(_0xd8b62d([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0xa11ff2=>setTimeout(_0xa11ff2,0x47abbbca^_0x508572)),_0x55bd0b[_0xd8b62d([0x74,0x68,0x65,0x6e])](()=>new window[(_0xd8b62d([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0x217081=>{let _0x43a6d4=0x0;_0x534f1f[_0xd8b62d([0x6d,0x6f,0x64,0x65,0x6c])][_0xd8b62d([0x6f,0x6e])](_0xd8b62d([0x61,0x70,0x70,0x6c,0x79,0x4f,0x70,0x65,0x72,0x61,0x74,0x69,0x6f,0x6e]),(_0x287f7a,_0x3637c4)=>{_0x3637c4[0x0][_0xd8b62d([0x69,0x73,0x44,0x6f,0x63,0x75,0x6d,0x65,0x6e,0x74,0x4f,0x70,0x65,0x72,0x61,0x74,0x69,0x6f,0x6e])]&&_0x43a6d4++,_0x43a6d4==(0x47a280ee^_0x508572)&&(_0x217081(),_0x287f7a[_0xd8b62d([0x6f,0x66,0x66])]());});}))];return window[_0xd8b62d([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65])][_0xd8b62d([0x72,0x61,0x63,0x65])](_0xcccbb4)[_0xd8b62d([0x74,0x68,0x65,0x6e])](()=>_0x1353fa);}async function _0x88886(){await _0x55bd0b,_0x534f1f[_0xd8b62d([0x6d,0x6f,0x64,0x65,0x6c])][_0xd8b62d([0x63,0x68,0x61,0x6e,0x67,0x65])]=_0xbcf0c4,_0x534f1f[_0xd8b62d([0x6d,0x6f,0x64,0x65,0x6c])][_0xd8b62d([0x65,0x6e,0x71,0x75,0x65,0x75,0x65,0x43,0x68,0x61,0x6e,0x67,0x65])]=_0xbcf0c4,_0x534f1f[_0xd8b62d([0x65,0x6e,0x61,0x62,0x6c,0x65,0x52,0x65,0x61,0x64,0x4f,0x6e,0x6c,0x79,0x4d,0x6f,0x64,0x65])](_0xd8b62d([0x6d,0x6f,0x64,0x65,0x6c]));}function _0x1efb73(_0x39b07b){const _0x134c54=_0x5296a1();_0x534f1f[_0x134c54]=_0xd8b62d([0x66,0x6f,0x6f,0x74,0x6e,0x6f,0x74,0x65,0x73,0x4c,0x69,0x63,0x65,0x6e,0x73,0x65,0x4b,0x65,0x79])+_0x39b07b,_0x39b07b!=_0xd8b62d([0x56,0x61,0x6c,0x69,0x64])&&_0x88886();}function _0x5296a1(){const _0x468058=window[_0xd8b62d([0x53,0x74,0x72,0x69,0x6e,0x67])](window[_0xd8b62d([0x70,0x65,0x72,0x66,0x6f,0x72,0x6d,0x61,0x6e,0x63,0x65])][_0xd8b62d([0x6e,0x6f,0x77])]())[_0xd8b62d([0x72,0x65,0x70,0x6c,0x61,0x63,0x65])](_0xd8b62d([0x2e]),'');let _0xeef8ff=_0xd8b62d([0x75]);for(let _0x42d5b8=0x0;_0x42d5b8<_0x468058[_0xd8b62d([0x6c,0x65,0x6e,0x67,0x74,0x68])];_0x42d5b8+=0x2){let _0x3dc770=window[_0xd8b62d([0x70,0x61,0x72,0x73,0x65,0x49,0x6e,0x74])](_0x468058[_0xd8b62d([0x73,0x75,0x62,0x73,0x74,0x72,0x69,0x6e,0x67])](_0x42d5b8,_0x42d5b8+0x2));_0x3dc770>=_0xc37acf[_0xd8b62d([0x6c,0x65,0x6e,0x67,0x74,0x68])]&&(_0x3dc770-=_0xc37acf[_0xd8b62d([0x6c,0x65,0x6e,0x67,0x74,0x68])]),_0xeef8ff+=_0xc37acf[_0x3dc770];}return _0xeef8ff;}function _0x3a119f(){const _0x56f077=_0x5169b3[_0xd8b62d([0x73,0x70,0x6c,0x69,0x74])](_0xd8b62d([0x2e]));if(0x3!=_0x56f077[_0xd8b62d([0x6c,0x65,0x6e,0x67,0x74,0x68])])return null;return _0x326dc5(_0x56f077[0x1]);function _0x326dc5(_0x42382b){const _0x3a68df=_0x39ea93(_0x42382b);return _0x3a68df&&_0x1f8bab()?_0x3a68df:null;function _0x1f8bab(){const _0x577cdc=_0x3a68df[_0xd8b62d([0x6a,0x74,0x69])],_0x1918da=window[_0xd8b62d([0x70,0x61,0x72,0x73,0x65,0x49,0x6e,0x74])](_0x577cdc[_0xd8b62d([0x73,0x75,0x62,0x73,0x74,0x72,0x69,0x6e,0x67])](_0x577cdc[_0xd8b62d([0x6c,0x65,0x6e,0x67,0x74,0x68])]-0x8),0x10),_0x282fc8={..._0x3a68df,[_0xd8b62d([0x6a,0x74,0x69])]:_0x577cdc[_0xd8b62d([0x73,0x75,0x62,0x73,0x74,0x72,0x69,0x6e,0x67])](0x0,_0x577cdc[_0xd8b62d([0x6c,0x65,0x6e,0x67,0x74,0x68])]-0x8)};return delete _0x282fc8[_0xd8b62d([0x76,0x63])],_0x5920dd(_0x282fc8)==_0x1918da;}}}async function _0x5d700f(){let _0xeee7b7=!0x0;try{const _0x204e1f=_0x5169b3[_0xd8b62d([0x73,0x70,0x6c,0x69,0x74])](_0xd8b62d([0x2e])),[_0x32ce26,_0x10510b,_0x499ed3]=_0x204e1f;return _0x210bd8(_0x32ce26),await _0x2715f1(_0x32ce26,_0x10510b,_0x499ed3),_0xeee7b7;}catch{return!0x1;}function _0x210bd8(_0x5441ef){const _0x24ab9a=_0x39ea93(_0x5441ef);_0x24ab9a&&_0x24ab9a[_0xd8b62d([0x61,0x6c,0x67])]==_0xd8b62d([0x45,0x53,0x32,0x35,0x36])||(_0xeee7b7=!0x1);}async function _0x2715f1(_0x3cb1cd,_0x3e92e9,_0x4fb2ab){const _0x320fbc=window[_0xd8b62d([0x55,0x69,0x6e,0x74,0x38,0x41,0x72,0x72,0x61,0x79])][_0xd8b62d([0x66,0x72,0x6f,0x6d])](_0x1ac4bd(_0x4fb2ab),_0x3b5c3c=>_0x3b5c3c[_0xd8b62d([0x63,0x68,0x61,0x72,0x43,0x6f,0x64,0x65,0x41,0x74])](0x0)),_0x33255b=new window[(_0xd8b62d([0x54,0x65,0x78,0x74,0x45,0x6e,0x63,0x6f,0x64,0x65,0x72]))]()[_0xd8b62d([0x65,0x6e,0x63,0x6f,0x64,0x65])](_0x3cb1cd+_0xd8b62d([0x2e])+_0x3e92e9),_0x4e8fc9=window[_0xd8b62d([0x63,0x72,0x79,0x70,0x74,0x6f])][_0xd8b62d([0x73,0x75,0x62,0x74,0x6c,0x65])];if(!_0x4e8fc9)return;const _0x40e9dc=await _0x4e8fc9[_0xd8b62d([0x69,0x6d,0x70,0x6f,0x72,0x74,0x4b,0x65,0x79])](_0xd8b62d([0x6a,0x77,0x6b]),_0x594d68,{[_0xd8b62d([0x6e,0x61,0x6d,0x65])]:_0xd8b62d([0x45,0x43,0x44,0x53,0x41]),[_0xd8b62d([0x6e,0x61,0x6d,0x65,0x64,0x43,0x75,0x72,0x76,0x65])]:_0xd8b62d([0x50,0x2d,0x32,0x35,0x36])},!0x1,[_0xd8b62d([0x76,0x65,0x72,0x69,0x66,0x79])]);await _0x4e8fc9[_0xd8b62d([0x76,0x65,0x72,0x69,0x66,0x79])]({[_0xd8b62d([0x6e,0x61,0x6d,0x65])]:_0xd8b62d([0x45,0x43,0x44,0x53,0x41]),[_0xd8b62d([0x68,0x61,0x73,0x68])]:{[_0xd8b62d([0x6e,0x61,0x6d,0x65])]:_0xd8b62d([0x53,0x48,0x41,0x2d,0x32,0x35,0x36])}},_0x40e9dc,_0x320fbc,_0x33255b)||(_0xeee7b7=!0x1);}}function _0x39ea93(_0x53d97f){return _0x53d97f[_0xd8b62d([0x73,0x74,0x61,0x72,0x74,0x73,0x57,0x69,0x74,0x68])](_0xd8b62d([0x65,0x79]))?JSON[_0xd8b62d([0x70,0x61,0x72,0x73,0x65])](_0x1ac4bd(_0x53d97f)):null;}function _0x1ac4bd(_0x5b5648){return window[_0xd8b62d([0x61,0x74,0x6f,0x62])](_0x5b5648[_0xd8b62d([0x72,0x65,0x70,0x6c,0x61,0x63,0x65])](/-/g,_0xd8b62d([0x2b]))[_0xd8b62d([0x72,0x65,0x70,0x6c,0x61,0x63,0x65])](/_/g,_0xd8b62d([0x2f])));}function _0x5920dd(_0x50cf83){let _0x56ee98=0x1505;function _0x56cbf1(_0x14f42f){for(let _0x3165b0=0x0;_0x3165b0<_0x14f42f[_0xd8b62d([0x6c,0x65,0x6e,0x67,0x74,0x68])];_0x3165b0++){const _0x2ffc0d=_0x14f42f[_0xd8b62d([0x63,0x68,0x61,0x72,0x43,0x6f,0x64,0x65,0x41,0x74])](_0x3165b0);_0x56ee98=(_0x56ee98<<0x5)+_0x56ee98+_0x2ffc0d,_0x56ee98&=_0x56ee98;}}function _0x3196e7(_0x6d160b){Array[_0xd8b62d([0x69,0x73,0x41,0x72,0x72,0x61,0x79])](_0x6d160b)?_0x6d160b[_0xd8b62d([0x66,0x6f,0x72,0x45,0x61,0x63,0x68])](_0x3196e7):_0x6d160b&&typeof _0x6d160b==_0xd8b62d([0x6f,0x62,0x6a,0x65,0x63,0x74])?Object[_0xd8b62d([0x65,0x6e,0x74,0x72,0x69,0x65,0x73])](_0x6d160b)[_0xd8b62d([0x73,0x6f,0x72,0x74])]()[_0xd8b62d([0x66,0x6f,0x72,0x45,0x61,0x63,0x68])](([_0x4a804a,_0x19fae4])=>{_0x56cbf1(_0x4a804a),_0x3196e7(_0x19fae4);}):_0x56cbf1(window[_0xd8b62d([0x53,0x74,0x72,0x69,0x6e,0x67])](_0x6d160b));}return _0x3196e7(_0x50cf83),_0x56ee98>>>0x0;}function _0x4d0a23(_0x14443c){return _0x14443c[_0xd8b62d([0x74,0x6f,0x53,0x74,0x72,0x69,0x6e,0x67])](0x10)[_0xd8b62d([0x70,0x61,0x64,0x53,0x74,0x61,0x72,0x74])](0x8,_0xd8b62d([0x30]));}function _0x48f2d5(_0x47c085){return _0x47c085[_0xd8b62d([0x73,0x70,0x6c,0x69,0x74])]('')[_0xd8b62d([0x72,0x65,0x76,0x65,0x72,0x73,0x65])]()[_0xd8b62d([0x6a,0x6f,0x69,0x6e])]('');}function _0xbcf0c4(){}function _0xd8b62d(_0x4dc58d){return _0x4dc58d['map'](_0x2b5416=>String['fromCharCode'](_0x2b5416))['join']('');}_0x1efb73(await _0x5716c8());}(this);}['_moveSelectionToFootnoteDefinition'](_0x22ba14){const {plugins:_0x3f36b9,editing:_0x24fa8b,model:_0x42e04a}=this['editor'],_0x12fbc7=_0x3f36b9['get'](f)['getFootnote'](_0x22ba14);return!!_0x12fbc7&&(_0x42e04a['change'](_0x484a8b=>{_0x484a8b['setSelection'](_0x484a8b['createPositionAt'](_0x12fbc7['definition'],'end'));}),_0x24fa8b['view']['scrollToTheSelection'](),!0x0);}['_moveSelectionToFootnoteReference'](_0x13d93c){const {plugins:_0x1ecdc8,editing:_0x892015,model:_0x426301}=this['editor'],_0x27435b=_0x1ecdc8['get'](f)['getFootnote'](_0x13d93c);return!!_0x27435b&&(_0x426301['change'](_0xf9b9ba=>{_0xf9b9ba['setSelection'](_0x27435b['reference'],'on');}),_0x892015['view']['scrollToTheSelection'](),!0x0);}['_defineSchema'](){const {schema:_0x3bea5a}=this['editor']['model'],_0x1e84d2=this['editor']['config']['get']('footnotes.multiBlock');_0x3bea5a['register']('footnoteRef',{'inheritAllFrom':'$inlineObject','allowAttributes':['footnoteId','footnoteCounter']}),_0x3bea5a['register']('footnotesDefinitions',{'inheritAllFrom':'$blockObject','allowChildren':['footnoteDefinition']}),_0x3bea5a['register']('footnoteDefinition',{'allowAttributes':['footnoteId'],'disallowAttributes':['listItemId'],'isLimit':!0x0}),_0x1e84d2?_0x3bea5a['extend']('footnoteDefinition',{'allowContentOf':'$container'}):_0x3bea5a['register']('footnoteInlineContent',{'allowIn':'footnoteDefinition','allowContentOf':'$block','isLimit':!0x0}),_0x3bea5a['addChildCheck'](_0x124f04=>{for(const _0x337ed2 of _0x124f04)if('footnoteDefinition'===_0x337ed2['name'])return!0x1;},'footnoteRef');}['_defineRefsConverters'](){const {editor:_0x51fd17}=this,{conversion:_0x590dbe,editing:_0x3d1e43}=_0x51fd17,{t:t}=_0x51fd17['locale'];_0x590dbe['for']('upcast')['elementToElement']({'view':{'name':'sup','classes':'footnote'},'model':(_0xe50679,{writer:_0x30593b,consumable:_0xbfbaab})=>{const _0x561fb4=_0xe50679['getChild'](0x0);if(!_0x561fb4||!_0x561fb4['is']('element','a'))return null;const _0x1353d8=_0x561fb4['getAttribute']('href')||'';if(!_0x1353d8['startsWith']('#'))return null;const _0x522883=_0x1353d8['replace'](/^#/,'');if(!_0x522883)return null;_0xbfbaab['consume'](_0x561fb4,{'name':!0x0,'attributes':['href']});for(const {item:_0x185e4a}of _0x3d1e43['view']['createRangeIn'](_0x561fb4))_0x185e4a['is']('$textProxy')?_0xbfbaab['consume'](_0x185e4a['textNode'],{'name':!0x0}):_0x185e4a['is']('element')&&_0xbfbaab['consume'](_0x185e4a,{'name':!0x0});return _0x30593b['createElement']('footnoteRef',{'footnoteId':_0x522883});}}),_0x590dbe['for']('dataDowncast')['elementToElement']({'model':{'name':'footnoteRef','attributes':['footnoteId','footnoteCounter']},'view':(_0x44d034,{writer:_0xa0ecea})=>b(_0x44d034,_0xa0ecea)}),_0x590dbe['for']('editingDowncast')['elementToElement']({'model':{'name':'footnoteRef','attributes':['footnoteId','footnoteCounter']},'view':(_0xec800c,{writer:_0x6c7e03})=>{const _0x4ce74a=_0xec800c['getAttribute']('footnoteCounter');return _0x4d67c2(b(_0xec800c,_0x6c7e03),_0x6c7e03,{'label':t('Footnote\x20%0.\x20Press\x20ENTER\x20to\x20jump\x20to\x20footnote\x20definition.',_0x4ce74a)});}});}['_defineDefinitionsConverters'](){const {editor:_0x2d4735}=this,{t:t}=_0x2d4735['locale'],{conversion:_0x52d54f}=_0x2d4735;_0x52d54f['for']('upcast')['elementToElement']({'view':{'name':'div','classes':'footnotes'},'model':'footnotesDefinitions'}),_0x52d54f['for']('upcast')['add'](_0x44bd26=>{_0x44bd26['on']('element:ol',(_0xa89023,_0x205d1b,_0x3a4ddb)=>{const _0x5575df=_0x205d1b['viewItem'];if(!_0x5575df['hasClass']('footnotes-list')||!_0x205d1b['modelCursor']['parent']?.['is']('element','footnotesDefinitions'))return;if(!_0x3a4ddb['consumable']['consume'](_0x5575df,{'name':!0x0,'classes':'footnotes-list'}))return;const {modelRange:_0x17b388,modelCursor:_0x260506}=_0x3a4ddb['convertChildren'](_0x205d1b['viewItem'],_0x205d1b['modelCursor']);_0x205d1b['modelRange']=_0x17b388,_0x205d1b['modelCursor']=_0x260506;}),_0x44bd26['on']('element:hr',(_0x56c242,_0x5360d5,_0x207d04)=>{const _0x25f0a9=_0x5360d5['viewItem'];_0x25f0a9['hasClass']('footnotes-divider')&&_0x5360d5['modelCursor']['parent']?.['is']('element','footnotesDefinitions')&&_0x207d04['consumable']['consume'](_0x25f0a9,{'name':!0x0,'classes':'footnotes-divider'});});}),_0x52d54f['for']('dataDowncast')['elementToStructure']({'model':'footnotesDefinitions','view':(_0x20aec2,{writer:_0x1d67fa})=>D(_0x1d67fa)}),_0x52d54f['for']('editingDowncast')['elementToStructure']({'model':'footnotesDefinitions','view':(_0x4ce3d3,{writer:_0x3dfd93})=>{const _0x41c9ca=D(_0x3dfd93,{'data-footnotes-list-label':t('Footnotes')}),_0x2d3230=_0x4d67c2(_0x41c9ca,_0x3dfd93,{'hasSelectionHandle':!0x0,'label':t('Footnotes')});return _0x3dfd93['setCustomProperty']('footnotesDefinitions',!0x0,_0x2d3230),_0x2d3230;}});}['_defineDefinitionConverters'](){const {editor:_0x524471}=this,{conversion:_0x7b6c3d,locale:_0x3d52f3}=_0x524471,_0x1c3183=_0x524471['config']['get']('footnotes.multiBlock');_0x7b6c3d['for']('upcast')['add'](_0x19d49b=>{_0x19d49b['on']('element:li',(_0x2ab434,_0x469db6,_0x3f2ec3)=>{const _0x9bf768=_0x469db6['viewItem'];if(!_0x9bf768['hasClass']('footnote-definition')||!_0x9bf768['getAttribute']('id'))return;const _0x568dad=_0x9bf768['parent'];if(!_0x568dad['is']('element','ol')||!_0x568dad['hasClass']('footnotes-list'))return;if(!_0x3f2ec3['consumable']['test'](_0x9bf768,{'name':!0x0,'attributes':'id','classes':'footnote-definition'}))return;const _0x1b9a8e=_0x3f2ec3['writer']['createElement']('footnoteDefinition',{'footnoteId':_0x9bf768['getAttribute']('id')});if(!_0x3f2ec3['safeInsert'](_0x1b9a8e,_0x469db6['modelCursor']))return;_0x3f2ec3['consumable']['consume'](_0x9bf768,{'name':!0x0,'attributes':'id','classes':'footnote-definition'});const _0x2bb852=Array['from'](_0x9bf768['getChildren']())['find'](_0x235fc7=>_0x235fc7['is']('element')&&_0x235fc7['hasClass']('footnote-content'));for(const _0x34f838 of _0x9bf768['getChildren']())_0x34f838['is']('element')&&(_0x3f2ec3['consumable']['consume'](_0x34f838,{'name':!0x0,'classes':'footnote-backlink','attributes':'href'}),_0x3f2ec3['consumable']['consume'](_0x34f838,{'name':!0x0,'classes':'footnote-content'}));if(_0x2bb852){if(_0x1c3183)_0x3f2ec3['convertChildren'](_0x2bb852,_0x1b9a8e);else{const _0x2b903b=_0x3f2ec3['writer']['createElement']('footnoteInlineContent');_0x3f2ec3['writer']['insert'](_0x2b903b,_0x1b9a8e),_0x3f2ec3['convertChildren'](_0x2bb852,_0x2b903b);}}_0x3f2ec3['updateConversionResult'](_0x1b9a8e,_0x469db6);});}),_0x7b6c3d['for']('dataDowncast')['elementToStructure']({'model':{'name':'footnoteDefinition','attributes':['footnoteId']},'view':(_0x360f34,{writer:_0x1e0929})=>y(_0x360f34,_0x1e0929,_0x3d52f3,{'dataPipeline':!0x0})}),_0x7b6c3d['for']('editingDowncast')['elementToStructure']({'model':{'name':'footnoteDefinition','attributes':['footnoteId']},'view':(_0x49f2b7,{writer:_0x358c22})=>y(_0x49f2b7,_0x358c22,_0x3d52f3)});}['_defineBogusParagraphConverters'](){const {editor:_0x19740d}=this,{conversion:_0x1f9c49}=_0x19740d;_0x19740d['config']['get']('footnotes.multiBlock')?(_0x1f9c49['for']('editingDowncast')['elementToElement']({'model':'paragraph','view':p(),'converterPriority':'high'}),_0x1f9c49['for']('dataDowncast')['elementToElement']({'model':'paragraph','view':p({'dataPipeline':!0x0}),'converterPriority':'high'}),this['listenTo'](_0x19740d['model']['document'],'change:data',()=>{!function(_0x56ccf2,_0x4dac85){const _0x22ff1d=_0x56ccf2['document']['differ'],_0x3491c2=new Set();for(const _0x53c630 of _0x22ff1d['getChanges']()){const _0x7b46a3='attribute'==_0x53c630['type']?_0x53c630['range']['start']['parent']:_0x53c630['position']['parent'];_0x7b46a3['is']('element','footnoteDefinition')&&_0x3491c2['add'](_0x7b46a3);}for(const _0x316f76 of _0x3491c2['values']()){const _0x12aad6=Array['from'](_0x316f76['getChildren']())['filter'](_0x38b6ba=>v(_0x38b6ba,_0x4dac85['mapper']));for(const _0x374663 of _0x12aad6)_0x4dac85['reconvertItem'](_0x374663);}}(_0x19740d['model'],_0x19740d['editing']);})):(_0x1f9c49['for']('editingDowncast')['elementToElement']({'model':'footnoteInlineContent','view':p()}),_0x1f9c49['for']('dataDowncast')['elementToElement']({'model':'footnoteInlineContent','view':(_0x5d5d34,{writer:_0x4731c4})=>{const _0x28db5b=_0x4731c4['createContainerElement']('span');return _0x4731c4['setCustomProperty']('dataPipeline:transparentRendering',!0x0,_0x28db5b),_0x28db5b;}}));}['_defineKeyboardHandlers'](){const {editor:_0x334c18}=this,{editing:_0x22f390,t:t}=_0x334c18,_0x4fd3cb=_0x334c18['model']['document']['selection'];_0x334c18['keystrokes']['set']('Ctrl+Alt+F','insertFootnote'),_0x334c18['accessibility']['addKeystrokeInfos']({'keystrokes':[{'label':t('Insert\x20footnote'),'keystroke':'Ctrl+Alt+F'}]}),this['listenTo'](_0x22f390['view']['document'],'enter',(_0x2a1f9f,_0x4368d5)=>{const _0x4eb1af=function(_0x2efd38){const _0x443f81=_0x2efd38['getSelectedElement']();if(_0x443f81?.['is']('element','footnoteRef'))return _0x443f81;return null;}(_0x4fd3cb);if(_0x4eb1af){const _0x2909bf=_0x4eb1af['getAttribute']('footnoteId');this['_moveSelectionToFootnoteDefinition'](_0x2909bf),_0x4368d5['preventDefault'](),_0x2a1f9f['stop']();}},{'context':_0x5853f6});}['_defineClickHandlers'](){const {editor:_0x15eae9}=this,{editing:_0x2a0990}=_0x15eae9;_0x15eae9['editing']['view']['addObserver'](_0x156beb),_0x15eae9['editing']['view']['addObserver'](_0x3c1fe7);let _0xa6f4f3=!0x1;this['listenTo'](_0x2a0990['view']['document'],'pointerdown',(_0x29057d,_0x2bb688)=>{const {target:_0x4a64ba}=_0x2bb688,_0x36df23=_0x2a0990['view']['document']['selection'];_0xa6f4f3=!!(_0x4a64ba?.['is']('element','a')&&_0x4a64ba['parent']?.['is']('element','sup')&&_0x4a64ba['parent']['hasClass']('footnote'))&&_0x36df23['getSelectedElement']()===_0x4a64ba['parent'];},{'priority':'high'}),this['listenTo'](_0x2a0990['view']['document'],'click',(_0x2c6796,_0x130288)=>{const {target:_0x51cca2}=_0x130288;if(!_0x51cca2?.['is']('element','a'))return;if(_0x51cca2['parent']?.['is']('element','sup')&&_0x51cca2['parent']['hasClass']('footnote')&&!_0xa6f4f3)return void _0x130288['preventDefault']();let _0x85e9a0=_0x51cca2['getAttribute']('href');if(!_0x85e9a0?.['startsWith']('#'))return;_0x85e9a0=_0x85e9a0['slice'](0x1);let _0x26b047=!0x1;(_0x85e9a0['startsWith']('ref-')&&this['_moveSelectionToFootnoteReference'](_0x85e9a0['slice'](0x4))||this['_moveSelectionToFootnoteDefinition'](_0x85e9a0))&&(_0x26b047=!0x0),_0x26b047&&(_0x130288['preventDefault'](),_0x2c6796['stop']());},{'priority':'high','context':'$capture'});}}function p({dataPipeline:_0x42a569}={}){return(_0x477c9d,{writer:_0x2e3247})=>{if(!g(_0x477c9d))return null;if(!_0x42a569)return _0x2e3247['createContainerElement']('span',{'class':'ck-footnote-bogus-paragraph'});const _0x4c9b13=_0x2e3247['createContainerElement']('p');return _0x2e3247['setCustomProperty']('dataPipeline:transparentRendering',!0x0,_0x4c9b13),_0x4c9b13;};}function g(_0x1225b5){const {parent:_0x2a5026}=_0x1225b5;if(!_0x2a5026?.['is']('element','footnoteDefinition'))return!0x1;if(0x1!=_0x2a5026['childCount'])return!0x1;for(const _0xf18f9f of _0x1225b5['getAttributeKeys']())if(!_0xf18f9f['startsWith']('selection:')&&'htmlEmptyBlock'!=_0xf18f9f)return!0x1;return!0x0;}function v(_0x1824f8,_0x349140){if(!_0x1824f8['is']('element','paragraph'))return!0x1;const _0x1b85f7=_0x349140['toViewElement'](_0x1824f8);return!!_0x1b85f7&&g(_0x1824f8)!==_0x1b85f7['is']('element','span');}function Q(_0x29d759){return _0x5853f6(_0x29d759)&&_0x29d759['is']('containerElement')&&!!_0x29d759['getCustomProperty']('footnotesDefinitions');}function D(_0x23b905,_0x27f9e3={}){const _0x41bee2=_0x23b905['createEmptyElement']('hr',{'class':'footnotes-divider'}),_0x470a5e=_0x23b905['createContainerElement']('ol',{'class':'footnotes-list'},_0x23b905['createSlot']());return _0x23b905['createContainerElement']('div',{'class':'footnotes',..._0x27f9e3},[_0x41bee2,_0x470a5e]);}function b(_0x41ca29,_0x34f31d){const _0x28cae7=_0x41ca29['getAttribute']('footnoteId'),_0x335a9c=_0x41ca29['getAttribute']('footnoteCounter'),_0x5dceb3=_0x34f31d['createUIElement']('a',{'href':'#'+_0x28cae7},function(_0x30cb94){const _0xda8ca3=this['toDomElement'](_0x30cb94);return _0xda8ca3['textContent']=_0x335a9c,_0xda8ca3;}),_0x4fefe8=_0x34f31d['createContainerElement']('sup',{'id':'ref-'+_0x28cae7,'class':'footnote'},[_0x5dceb3]);return _0x4fefe8['getFillerOffset']=()=>null,_0x4fefe8;}function y(_0x53e273,_0x4008b5,_0x1199cc,{dataPipeline:_0x215ca2}={}){const {t:t}=_0x1199cc,_0x143fb2=_0x53e273['getAttribute']('footnoteId'),_0x315b2c=_0x4008b5['createUIElement']('a',{'class':'footnote-backlink','href':'#ref-'+_0x143fb2},function(_0x338254){const _0x48a2d4=this['toDomElement'](_0x338254);return _0x48a2d4['innerText']='^',_0x48a2d4;}),_0x266810=_0x215ca2?_0x4008b5['createContainerElement']('div',{'class':'footnote-content'}):_0x5ad520(_0x4008b5['createEditableElement']('div',{'class':'footnote-content'}),_0x4008b5,{'label':t('Footnote\x20content.')});return _0x4008b5['insert'](_0x4008b5['createPositionAt'](_0x266810,0x0),_0x4008b5['createSlot']()),_0x4008b5['createContainerElement']('li',{'class':'footnote-definition','id':_0x143fb2},[_0x315b2c,_0x266810]);}class e extends _0x228b4b{static get['pluginName'](){return'FootnotesClipboard';}static get['requires'](){return[r,_0x421ee3];}static get['isOfficialPlugin'](){return!0x0;}static get['isPremiumPlugin'](){return!0x0;}['init'](){this['_defineClipboardIntegration']();}['_defineClipboardIntegration'](){this['_handleCopyFootnotesDefinitions'](),this['_handlePasteFootnotesDefinitions']();}['_handleCopyFootnotesDefinitions'](){const {editor:_0x5b19b5}=this,{plugins:_0x2bbca0,model:_0x5adadc}=_0x5b19b5,_0x32ba6a=_0x2bbca0['get'](_0x421ee3),_0x3f255e=_0x2bbca0['get'](f);this['listenTo'](_0x32ba6a,'outputTransformation',(_0x4600f3,_0x1b0188)=>{const _0x4a1a45=l(_0x5adadc['createRangeIn'](_0x1b0188['content']));if(!_0x4a1a45['length'])return;const _0x42ab4d=_0x3f255e['getFootnotes'](),_0x465286=_0x4a1a45['reduce']((_0x5ac518,_0x4437a5)=>{const _0x495410=_0x42ab4d['find'](_0x5cef2b=>_0x5cef2b['id']===_0x4437a5);if(_0x495410){const _0x3d0e55=_0x5b19b5['data']['toView'](_0x495410['definition'],{'isClipboardPipeline':!0x0}),_0x4f864c=_0x5b19b5['data']['htmlProcessor']['toData'](_0x3d0e55);_0x5ac518[_0x495410['id']]=_0x4f864c;}return _0x5ac518;},Object['create'](null));_0x1b0188['dataTransfer']['setData']('application/ckeditor5-footnotes',JSON['stringify'](_0x465286));});}['_handlePasteFootnotesDefinitions'](){const {editor:_0xe31404}=this,{model:_0x51b8bc,plugins:_0x599c46}=_0xe31404,{view:_0x577a93}=_0xe31404['editing'],_0x2810df=_0x599c46['get'](_0x421ee3),_0x50ae45=_0x599c46['get'](f),_0x51d789=_0xe31404['config']['get']('footnotes.multiBlock');let _0x102bf1=null;this['listenTo'](_0x577a93['document'],'clipboardInput',(_0x4177d9,_0x34c196)=>{const _0x17a907=_0x34c196['dataTransfer']['getData']('application/ckeditor5-footnotes');_0x102bf1=_0x17a907?JSON['parse'](_0x17a907):null;}),this['listenTo'](_0x2810df,'contentInsertion',(_0x1ff696,_0x1ea9f7)=>{const _0x9284d1=_0x1ea9f7['sourceEditorId']===this['editor']['id'];_0x9284d1&&'drop'===_0x1ea9f7['method']||_0x51b8bc['change'](_0x162840=>{let _0x54b74f=_0x50ae45['getFootnotesDefinitionsObjectElement']();const _0x1e3abb=!!_0x54b74f&&Array['from'](_0x51b8bc['document']['selection']['getSelectedBlocks']())['includes'](_0x54b74f);if(!_0x102bf1&&function(_0x157122){for(const {item:_0xf97776}of _0x157122)if(_0xf97776['is']('element','footnoteRef'))return!0x0;return!0x1;}(_0x51b8bc['createRangeIn'](_0x1ea9f7['content']))&&(_0x102bf1=function(_0x234cd5,_0x5a47ed){const _0x14bd12=c(_0x234cd5,_0x5a47ed);if(!_0x14bd12)return null;const _0x2e9c8f=Object['create'](null);for(const _0x4a828a of _0x14bd12['getChildren']())_0x4a828a['is']('element','footnoteDefinition')&&_0x4a828a['hasAttribute']('footnoteId')&&(_0x2e9c8f[_0x4a828a['getAttribute']('footnoteId')]=_0x234cd5['cloneElement'](_0x4a828a,!0x0));return Object['keys'](_0x2e9c8f)['length']?_0x2e9c8f:null;}(_0x162840,_0x1ea9f7['content'])),(_0x54b74f&&!_0x1e3abb||!_0x54b74f&&!_0x102bf1)&&function(_0x3bc67f,_0x424e6f){const _0x270ed5=[];for(const {item:_0x123fbd}of _0x3bc67f['createRangeIn'](_0x424e6f))_0x123fbd['is']('element','footnotesDefinitions')&&_0x270ed5['push'](_0x123fbd);for(const _0x3d23c6 of _0x270ed5)_0x3bc67f['remove'](_0x3d23c6);}(_0x162840,_0x1ea9f7['content']),!_0x102bf1)return;const {selection:_0x2a0879}=_0x51b8bc['document'],_0x4b1512=_0x2a0879['getFirstRange']()['root'];_0x54b74f&&!_0x1e3abb||(_0x54b74f=c(_0x162840,_0x1ea9f7['content']),_0x54b74f||=_0x50ae45['_insertEmptyFootnotesDefinitionsContainer'](_0x162840,_0x4b1512));const _0x1cce1f=Array['from'](_0x2a0879['getRanges']())['flatMap'](l),_0x39a17c=function(_0xa6f607,_0x153667,_0x5c92d8){const _0x3567f8=Object['create'](null);for(const {item:_0x2b3224}of _0xa6f607['createRangeIn'](_0x153667))if(_0x2b3224['is']('element','footnoteRef')){const _0x2a95ce=_0x2b3224['getAttribute']('footnoteId');if(!_0x5c92d8(_0x2a95ce))continue;_0x3567f8[_0x2a95ce]||(_0x3567f8[_0x2a95ce]=_0x1da73a()),_0xa6f607['setAttribute']('footnoteId',_0x3567f8[_0x2a95ce],_0x2b3224);}return _0x3567f8;}(_0x162840,_0x1ea9f7['content'],_0x5a18aa=>{if(!_0x9284d1)return!0x0;return!!_0x50ae45['getFootnote'](_0x5a18aa)&&!_0x1cce1f['includes'](_0x5a18aa);});for(const [_0x4ca59e,_0x24c603]of Object['entries'](_0x102bf1)){const _0x5f1228=_0x39a17c[_0x4ca59e]||_0x4ca59e;let _0x569727;if('string'!=typeof _0x24c603)_0x569727=_0x24c603,_0x5f1228!==_0x4ca59e&&_0x162840['setAttribute']('footnoteId',_0x5f1228,_0x569727);else{_0x569727=_0x162840['createElement']('footnoteDefinition',{'footnoteId':_0x5f1228});const _0xc540aa=_0xe31404['data']['htmlProcessor']['toView'](_0x24c603);let _0x370d81;if(_0x51d789)_0x370d81=_0xe31404['data']['toModel'](_0xc540aa,_0x569727);else{_0x370d81=_0x162840['createElement']('footnoteInlineContent');const _0x2d2fc7=_0xe31404['data']['toModel'](_0xc540aa,_0x370d81);_0x162840['insert'](_0x2d2fc7,_0x370d81);}_0x162840['append'](_0x370d81,_0x569727);}_0x162840['insert'](_0x569727,_0x54b74f,'end');}_0x102bf1=null;});});}}function c(_0x38ee72,_0xc7ca6f){for(const {item:_0x58a99d}of _0x38ee72['createRangeIn'](_0xc7ca6f))if(_0x58a99d['is']('element','footnotesDefinitions'))return _0x58a99d;return null;}function l(_0x33c517){const _0xeee622=new Set();for(const {item:_0x3bcc79}of _0x33c517)_0x3bcc79['is']('element','footnoteRef')&&_0xeee622['add'](_0x3bcc79['getAttribute']('footnoteId'));return Array['from'](_0xeee622);}class i extends _0x228b4b{['licenseKey'];['_licenseKeyCheckInterval'];static get['pluginName'](){return'FootnotesUI';}static get['isOfficialPlugin'](){return!0x0;}static get['isPremiumPlugin'](){return!0x0;}['init'](){const {editor:_0x3dd721}=this,{componentFactory:_0x3fe337}=_0x3dd721['ui'];_0x3fe337['add']('insertFootnote',E(_0x3dd721,_0x5d9a08)),_0x3fe337['add']('menuBar:insertFootnote',E(_0x3dd721,_0x1a3d94)),this['licenseKey']=this['editor']['config']['get']('licenseKey');const _0x3aec25=this['editor'];this['_licenseKeyCheckInterval']=setInterval(()=>{let _0x496b17;for(const _0x98d048 in _0x3aec25){const _0x2ccb32=_0x98d048,_0x3da7be=_0x3aec25[_0x2ccb32];if('footnotesLicenseKeyValid'==_0x3da7be||'footnotesLicenseKeyInvalid'==_0x3da7be||'footnotesLicenseKeyExpired'==_0x3da7be||'footnotesLicenseKeyDomainLimit'==_0x3da7be||'footnotesLicenseKeyNotAllowed'==_0x3da7be||'footnotesLicenseKeyEvaluationLimit'==_0x3da7be||'footnotesLicenseKeyUsageLimit'==_0x3da7be){delete _0x3aec25[_0x2ccb32],_0x496b17=_0x3da7be,clearInterval(this['_licenseKeyCheckInterval']),this['_licenseKeyCheckInterval']=void 0x0;break;}}'footnotesLicenseKeyInvalid'==_0x496b17&&_0x3aec25['_showLicenseError']('invalid'),'footnotesLicenseKeyExpired'==_0x496b17&&_0x3aec25['_showLicenseError']('expired'),'footnotesLicenseKeyDomainLimit'==_0x496b17&&_0x3aec25['_showLicenseError']('domainLimit'),'footnotesLicenseKeyNotAllowed'==_0x496b17&&_0x3aec25['_showLicenseError']('featureNotAllowed','Footnotes'),'footnotesLicenseKeyEvaluationLimit'==_0x496b17&&_0x3aec25['_showLicenseError']('evaluationLimit'),'footnotesLicenseKeyUsageLimit'==_0x496b17&&_0x3aec25['_showLicenseError']('usageLimit');},0x3e8);}['destroy'](){super['destroy'](),this['_licenseKeyCheckInterval']&&clearInterval(this['_licenseKeyCheckInterval']);}}function E(_0x53ccb3,_0x5c8e39){const _0x4ff1e9=_0x53ccb3['commands']['get']('insertFootnote');return _0x467373=>{const {t:t}=_0x467373,_0x5b5467=new _0x5c8e39(_0x467373),_0x1c69f8=_0x5b5467 instanceof _0x1a3d94;return _0x5b5467['bind']('isEnabled')['to'](_0x4ff1e9,'isEnabled'),_0x5b5467['set']({'label':t(_0x1c69f8?'Footnote':'Insert\x20footnote'),'icon':_0x48e6cb,'tooltip':!0x0}),_0x5b5467['on']('execute',()=>{_0x4ff1e9['execute'](),_0x53ccb3['editing']['view']['focus']();}),_0x5b5467;};}class lt extends _0x228b4b{static get['pluginName'](){return'Footnotes';}static get['requires'](){return[r,e,i];}static get['isOfficialPlugin'](){return!0x0;}static get['isPremiumPlugin'](){return!0x0;}}const W=['decimal','decimal-leading-zero','lower-latin','upper-latin','lower-alpha','upper-alpha','lower-roman','upper-roman'];class S extends _0x28f868{['refresh'](){const {editor:_0x26ee18}=this,_0x37f572=_0x26ee18['plugins']['get'](f)['getFootnotesDefinitionsObjectElement']();this['isEnabled']=!!_0x37f572,this['value']=_0x37f572?.['getAttribute']('footnotesListStyle')??null;}['execute']({value:_0x357ccd}){const {editor:_0x40b99d}=this,_0x47ab0e=_0x40b99d['plugins']['get'](f),_0x3d9393=_0x47ab0e['getFootnotesDefinitionsObjectElement']();_0x3d9393&&W['includes'](_0x357ccd)&&_0x40b99d['model']['change'](_0xd1d4f9=>{_0xd1d4f9['setAttribute']('footnotesListStyle',_0x357ccd,_0x3d9393),_0x47ab0e['_updateFootnotesCounters'](_0xd1d4f9);});}}class C extends _0x28f868{['refresh'](){const {editor:_0x2543ac}=this,_0x5ec228=_0x2543ac['plugins']['get'](f)['getFootnotesDefinitionsObjectElement']();this['isEnabled']=!!_0x5ec228,this['value']=_0x5ec228?.['getAttribute']('footnotesListStart')??null;}['execute']({value:_0x94ea48}){const {editor:_0x1d7352}=this,_0x58c0be=_0x1d7352['plugins']['get'](f),_0x5e1f8d=_0x58c0be['getFootnotesDefinitionsObjectElement']();_0x5e1f8d&&Number['isInteger'](_0x94ea48)&&_0x1d7352['model']['change'](_0x401ae4=>{_0x401ae4['setAttribute']('footnotesListStart',_0x94ea48,_0x5e1f8d),_0x58c0be['_updateFootnotesCounters'](_0x401ae4);});}}class P extends _0x228b4b{static get['pluginName'](){return'FootnotesPropertiesEditing';}static get['requires'](){return[r,f];}static get['isOfficialPlugin'](){return!0x0;}static get['isPremiumPlugin'](){return!0x0;}['init'](){const {editor:_0x591f2e}=this;_0x591f2e['config']['define']('footnotes.footnotesProperties.defaultListStyle','decimal'),_0x591f2e['config']['define']('footnotes.footnotesProperties.defaultStartIndex',0x1),_0x591f2e['commands']['add']('footnotesStyle',new S(_0x591f2e)),_0x591f2e['commands']['add']('footnotesStart',new C(_0x591f2e)),this['_defineSchema'](),this['_defineConverters'](),this['_defineFormatter'](),this['_definePostfixer']();}['_defineSchema'](){const {editor:_0x25121f}=this,{schema:_0x35b24f}=_0x25121f['model'];_0x35b24f['extend']('footnotesDefinitions',{'allowAttributes':['footnotesListStyle','footnotesListStart']});}['_defineConverters'](){const {editor:_0x27a26d}=this,{conversion:_0x16a960,model:_0x2025ba}=_0x27a26d,{schema:_0x2debc7}=_0x2025ba;_0x16a960['for']('upcast')['add'](_0x5e740f=>{_0x5e740f['on']('element:ol',(_0x3fb35f,_0x500e4d,_0x478eb2)=>{const _0x4c381e=_0x500e4d['viewItem'],_0xf30985=_0x500e4d['modelCursor']?.['parent'];_0x4c381e['hasClass']('footnotes-list')&&_0xf30985?.['is']('element','footnotesDefinitions')&&(function(_0x158197,_0x1510c9,_0x5c5e64,_0x32f45b){if(!_0x32f45b['checkAttribute'](_0x1510c9,'footnotesListStart'))return;let _0x4e840f=0x1;const _0x35f60f=_0x5c5e64['consumable']['consume'](_0x158197,{'attributes':'start'});if(_0x35f60f){const _0x8d6be2=Number['parseInt'](_0x158197['getAttribute']('start'),0xa);Number['isNaN'](_0x8d6be2)||(_0x4e840f=_0x8d6be2);}!_0x35f60f&&_0x1510c9['hasAttribute']('footnotesListStart')||_0x5c5e64['writer']['setAttribute']('footnotesListStart',_0x4e840f,_0x1510c9);}(_0x4c381e,_0xf30985,_0x478eb2,_0x2debc7),function(_0x574535,_0x5844b7,_0xa6f269,_0x4c9f8e){if(!_0x4c9f8e['checkAttribute'](_0x5844b7,'footnotesListStyle'))return;let _0x43c679='decimal',_0x171296=!0x1;if(_0xa6f269['consumable']['consume'](_0x574535,{'attributes':'type'})){const _0x57279c={0x1:'decimal','a':'lower-alpha','A':'upper-alpha','i':'lower-roman','I':'upper-roman'}[_0x574535['getAttribute']('type')];_0x57279c&&(_0x43c679=_0x57279c),_0x171296=!0x0;}_0xa6f269['consumable']['consume'](_0x574535,{'styles':'list-style-type'})&&(_0x43c679=function(_0x5bd56b){switch(_0x5bd56b){case'lower-alpha':return'lower-latin';case'upper-alpha':return'upper-latin';default:return _0x5bd56b;}}(_0x574535['getStyle']('list-style-type')),_0x171296=!0x0),!_0x171296&&_0x5844b7['hasAttribute']('footnotesListStyle')||_0xa6f269['writer']['setAttribute']('footnotesListStyle',_0x43c679,_0x5844b7);}(_0x4c381e,_0xf30985,_0x478eb2,_0x2debc7));});}),_0x16a960['for']('downcast')['add'](_0x2e906f=>{_0x2e906f['on']('attribute:footnotesListStart:footnotesDefinitions',(_0x182290,_0x8570fe,_0x53ce3c)=>{if(!_0x53ce3c['consumable']['consume'](_0x8570fe['item'],_0x182290['name']))return;const _0xe397f=M(_0x8570fe['item'],_0x53ce3c['mapper']),{attributeNewValue:_0x311a9d}=_0x8570fe;null==_0x311a9d||0x1===_0x311a9d?_0x53ce3c['writer']['removeAttribute']('start',_0xe397f):_0x53ce3c['writer']['setAttribute']('start',String(_0x311a9d),_0xe397f);}),_0x2e906f['on']('attribute:footnotesListStyle:footnotesDefinitions',(_0x20fb0d,_0x239f1a,_0x1a048d)=>{if(!_0x1a048d['consumable']['consume'](_0x239f1a['item'],_0x20fb0d['name']))return;const _0x2a33eb=M(_0x239f1a['item'],_0x1a048d['mapper']),{attributeNewValue:_0x14a370}=_0x239f1a;_0x14a370&&'decimal'!==_0x14a370?_0x1a048d['writer']['setStyle']('list-style-type',_0x14a370,_0x2a33eb):_0x1a048d['writer']['removeStyle']('list-style-type',_0x2a33eb);});});}['_definePostfixer'](){const {editor:_0x1bb81c}=this,{model:_0x422920}=_0x1bb81c,_0x4edfb5=_0x1bb81c['plugins']['get'](f),_0x42ebc1=this['_getDefaultListStyle'](),_0x3d55a3=this['_getDefaultStartIndex']();_0x422920['document']['registerPostFixer'](_0xc88cbb=>{const _0x1429c2=_0x422920['document']['differ']['getChanges']();let _0x4e33f6=!0x1;for(const _0x7b549b of _0x1429c2){if('insert'!==_0x7b549b['type']||'$text'===_0x7b549b['name'])continue;const _0x27217b=_0x422920['createRangeOn'](_0x7b549b['position']['nodeAfter']);for(const _0x45287f of _0x27217b['getItems']())_0x45287f['is']('element','footnotesDefinitions')&&(!_0x45287f['hasAttribute']('footnotesListStart')&&_0x422920['schema']['checkAttribute'](_0x45287f,'footnotesListStart')&&(_0xc88cbb['setAttribute']('footnotesListStart',_0x3d55a3,_0x45287f),_0x4e33f6=!0x0),!_0x45287f['hasAttribute']('footnotesListStyle')&&_0x422920['schema']['checkAttribute'](_0x45287f,'footnotesListStyle')&&(_0xc88cbb['setAttribute']('footnotesListStyle',_0x42ebc1,_0x45287f),_0x4e33f6=!0x0));}return _0x4e33f6&&_0x4edfb5['_updateFootnotesCounters'](_0xc88cbb),_0x4e33f6;});}['_defineFormatter'](){const {editor:_0x394393}=this;_0x394393['plugins']['get'](f)['setFootnoteFormatter'](_0x450e6e=>this['_formatFootnoteListValue'](_0x450e6e));}['_getDefaultListStyle'](){return this['editor']['config']['get']('footnotes.footnotesProperties.defaultListStyle');}['_getDefaultStartIndex'](){return this['editor']['config']['get']('footnotes.footnotesProperties.defaultStartIndex');}['_formatFootnoteListValue']({container:_0x5945a8,value:_0x108184,digits:_0x1c53ec}){const _0x25c92a=_0x5945a8['getAttribute']('footnotesListStyle'),_0x307181=_0x5945a8['getAttribute']('footnotesListStart'),_0x2fc125=Math['floor'](_0x108184)+(_0x307181??0x1)-0x1;switch(_0x25c92a){case'decimal-leading-zero':return function(_0x3de5d9,_0x404fe5){return String(_0x3de5d9)['padStart'](_0x404fe5,'0');}(_0x2fc125,Math['max'](0x2,_0x1c53ec));case'lower-alpha':case'lower-latin':return N(_0x2fc125,!0x1);case'upper-alpha':case'upper-latin':return N(_0x2fc125,!0x0);case'lower-roman':return X(_0x2fc125,!0x1);case'upper-roman':return X(_0x2fc125,!0x0);default:return String(_0x2fc125);}}}function M(_0x4f030e,_0x5e8859){const _0x4f24cb=_0x5e8859['toViewElement'](_0x4f030e);return Array['from'](_0x4f24cb['getChildren']())['find'](_0x488b51=>_0x488b51['is']('element','ol')&&_0x488b51['hasClass']('footnotes-list'));}function N(_0x2e7d32,_0x4ba8a9){let _0x2449f9='',_0x5451e5=_0x2e7d32;for(;_0x5451e5>0x0;){const _0x2bdc95=(_0x5451e5-0x1)%0x1a;_0x2449f9=String['fromCharCode'](0x61+_0x2bdc95)+_0x2449f9,_0x5451e5=Math['floor']((_0x5451e5-0x1)/0x1a);}return _0x4ba8a9?_0x2449f9['toUpperCase']():_0x2449f9;}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(_0xc4d212,_0x3e4cfc){let _0x1c2490='',_0x36fe5e=_0xc4d212;for(const {value:_0x183298,numeral:_0x2098a8}of V)for(;_0x36fe5e>=_0x183298;)_0x1c2490+=_0x2098a8,_0x36fe5e-=_0x183298;return _0x3e4cfc?_0x1c2490:_0x1c2490['toLowerCase']();}class J extends _0x4ea473{['children'];['stylesView']=null;['additionalProperties']=null;['startIndexFieldView']=null;['focusTracker']=new rt();['keystrokes']=new nt();['focusables']=new _0x1fc5a8();['focusCycler'];constructor(_0x10941f,{styleButtonViews:_0x22a811,styleGridAriaLabel:_0x26b578}){super(_0x10941f),(this['focusCycler']=new tt({'focusables':this['focusables'],'focusTracker':this['focusTracker'],'keystrokeHandler':this['keystrokes'],'actions':{'focusPrevious':'shift\x20+\x20tab','focusNext':'tab'}}),this['children']=this['createCollection'](),this['stylesView']=this['_appendStylesView'](_0x22a811,_0x26b578),[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 _0x3f7479 of this['stylesView']['children'])this['stylesView']['focusTracker']['add'](_0x3f7479['element']);st({'keystrokeHandler':this['stylesView']['keystrokes'],'focusTracker':this['stylesView']['focusTracker'],'gridItems':this['stylesView']['children'],'numberOfColumns':()=>at['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 _0x3b03f9=_0x3813be=>_0x3813be['stopPropagation']();this['keystrokes']['set']('arrowright',_0x3b03f9),this['keystrokes']['set']('arrowleft',_0x3b03f9),this['keystrokes']['set']('arrowup',_0x3b03f9),this['keystrokes']['set']('arrowdown',_0x3b03f9);}this['keystrokes']['listenTo'](this['element']);}['focus'](){this['focusCycler']['focusFirst']();}['focusLast'](){this['focusCycler']['focusLast']();}['destroy'](){super['destroy'](),this['focusTracker']['destroy'](),this['keystrokes']['destroy']();}['_appendStylesView'](_0x3b3dc9,_0x455ca2){const _0x2a6dc1=new _0x4ea473(this['locale']);return _0x2a6dc1['children']=_0x2a6dc1['createCollection'](),_0x2a6dc1['children']['addMany'](_0x3b3dc9),_0x2a6dc1['setTemplate']({'tag':'div','attributes':{'aria-label':_0x455ca2,'class':['ck','ck-footnotes-definitions-styles-list']},'children':_0x2a6dc1['children']}),_0x2a6dc1['children']['delegate']('execute')['to'](this),_0x2a6dc1['focus']=function(){for(const _0x432a10 of this['children'])if(_0x432a10 instanceof _0x5d9a08&&_0x432a10['isOn'])return void _0x432a10['focus']();this['children']['first']['focus']();},_0x2a6dc1['focusTracker']=new rt(),_0x2a6dc1['keystrokes']=new nt(),_0x2a6dc1['render'](),_0x2a6dc1['keystrokes']['listenTo'](_0x2a6dc1['element']),this['children']['add'](_0x2a6dc1),_0x2a6dc1;}['_appendAdditionalPropertiesCollapsibleView'](){const {t:t}=this['locale'],_0x2b773a=this['_createStartIndexPropertyView'](),_0x4a0b12=[_0x2b773a],_0x40c0f3=new it(this['locale'],_0x4a0b12);return _0x40c0f3['set']({'label':t('Footnotes\x20properties'),'isCollapsed':!0x0}),_0x40c0f3['buttonView']['bind']('isEnabled')['toMany'](_0x4a0b12,'isEnabled',(..._0x244abe)=>_0x244abe['some'](_0x28c58d=>_0x28c58d)),_0x40c0f3['buttonView']['on']('change:isEnabled',(_0x4946d0,_0x15383d,_0x57afbb)=>{_0x57afbb||(_0x40c0f3['isCollapsed']=!0x0);}),this['children']['add'](_0x40c0f3),[_0x2b773a,_0x40c0f3];}['_createStartIndexPropertyView'](){const {t:t}=this['locale'],_0x5a1b90=new et(this['locale'],ot);return _0x5a1b90['set']({'label':t('Footnotes\x20start\x20at'),'class':'ck-footnotes-definitions-properties__start-index'}),_0x5a1b90['fieldView']['set']({'min':0x0,'max':Math['pow'](0x2,0x1e),'step':0x1,'value':0x1,'inputMode':'numeric'}),_0x5a1b90['fieldView']['on']('input',()=>{const _0x48dbc0=_0x5a1b90['fieldView']['element'],_0x570a85=_0x48dbc0['valueAsNumber'];Number['isNaN'](_0x570a85)?_0x5a1b90['errorText']=t('Invalid\x20footnotes\x20start\x20index\x20value.'):_0x48dbc0['checkValidity']()?this['fire']('footnotesListStart',{'startIndex':_0x570a85}):_0x5a1b90['errorText']=t(_0x570a85<0x0?'Footnotes\x20start\x20index\x20must\x20be\x20greater\x20than\x200.':'Footnotes\x20start\x20index\x20is\x20too\x20large.');}),_0x5a1b90;}}class j extends _0x228b4b{static get['pluginName'](){return'FootnotesPropertiesUI';}static get['requires'](){return[_0x2e7bd6,_0x2d5feb];}static get['isOfficialPlugin'](){return!0x0;}static get['isPremiumPlugin'](){return!0x0;}['init'](){const {editor:_0x5745f5}=this,{componentFactory:_0x3a68b9}=_0x5745f5['ui'];_0x5745f5['config']['define']('footnotes.footnotesProperties.toolbar',['footnotesStyle']),_0x3a68b9['add']('footnotesStyle',function(_0x2463bd){return _0x1cca25=>{const {t:t}=_0x1cca25,_0xb2bcf7=_0x2463bd['commands']['get']('footnotesStyle'),_0x3031e3=_0x3e8b49(_0x1cca25),{buttonView:_0x41e1e4}=_0x3031e3;return _0x3031e3['class']='ck-footnotes-styles-dropdown',_0x3031e3['bind']('isEnabled')['to'](_0xb2bcf7,'isEnabled'),_0x41e1e4['set']({'label':t('Footnotes\x20style'),'icon':_0x48e6cb,'tooltip':!0x0}),_0x3031e3['once']('change:isOpen',()=>{const _0x3cfa38=function({editor:_0x5aff90,dropdownView:_0x2719cf}){const {t:t}=_0x5aff90['locale'],_0x42d3e2=t('Footnotes\x20definitions\x20styles'),_0x2a03a0=function(_0x585a4f){const t=_0x585a4f['locale']['t'],_0x1834bb=[{'label':t('Toggle\x20the\x20decimal\x20footnotes\x20style'),'tooltip':t('Decimal\x20footnotes'),'style':'decimal','icon':_0x17a16c},{'label':t('Toggle\x20the\x20decimal\x20with\x20leading\x20zero\x20footnotes\x20style'),'tooltip':t('Decimal\x20footnotes\x20with\x20leading\x20zero'),'style':'decimal-leading-zero','icon':_0x582eb4},{'label':t('Toggle\x20the\x20lower–roman\x20footnotes\x20style'),'tooltip':t('Lower–roman\x20footnotes'),'style':'lower-roman','icon':_0x396a03},{'label':t('Toggle\x20the\x20upper–roman\x20footnotes\x20style'),'tooltip':t('Upper-roman\x20footnotes'),'style':'upper-roman','icon':_0x3b82af},{'label':t('Toggle\x20the\x20lower–latin\x20footnotes\x20style'),'tooltip':t('Lower-latin\x20footnotes'),'style':'lower-latin','icon':_0x17b960},{'label':t('Toggle\x20the\x20upper–latin\x20footnotes\x20style'),'tooltip':t('Upper-latin\x20footnotes'),'style':'upper-latin','icon':_0x56627b}];return _0x1834bb['map'](function(_0x2933d5){const _0x590973=_0x2933d5['locale'];return({label:_0x1324c6,icon:_0x3b8429,tooltip:_0x31c328,style:_0x331c41})=>{const _0x53f7a6=_0x2933d5['commands']['get']('footnotesStyle'),_0x4be5d5=new _0x5d9a08(_0x590973);return _0x4be5d5['set']({'label':_0x1324c6,'icon':_0x3b8429,'tooltip':_0x31c328}),_0x4be5d5['bind']('isOn')['to'](_0x53f7a6,'value',_0x5c271d=>_0x5c271d===_0x331c41),_0x4be5d5['bind']('isEnabled')['to'](_0x53f7a6,'isEnabled'),_0x4be5d5['on']('execute',()=>{_0x2933d5['execute']('footnotesStyle',{'value':_0x331c41}),_0x2933d5['editing']['view']['focus']();}),_0x4be5d5;};}(_0x585a4f));}(_0x5aff90),_0x48dcfe=new J(_0x5aff90['locale'],{'styleGridAriaLabel':_0x42d3e2,'styleButtonViews':_0x2a03a0}),_0x2eae95=_0x5aff90['commands']['get']('footnotesStart');return _0x48dcfe['startIndexFieldView']['bind']('isEnabled')['to'](_0x2eae95),_0x48dcfe['startIndexFieldView']['fieldView']['bind']('value')['to'](_0x2eae95),_0x48dcfe['on']('footnotesListStart',(_0x146cdb,_0x2e1857)=>{_0x5aff90['execute']('footnotesStart',{'value':_0x2e1857['startIndex']});}),_0x48dcfe['delegate']('execute')['to'](_0x2719cf),_0x48dcfe;}({'editor':_0x2463bd,'dropdownView':_0x3031e3});_0x3031e3['panelView']['children']['add'](_0x3cfa38);}),_0x3031e3;};}(_0x5745f5));}['afterInit'](){const {editor:_0x1854a5}=this,{t:t}=_0x1854a5['locale'],_0x326d16=_0x1854a5['plugins']['get'](_0x2d5feb),{defaultPositions:_0xeab0b6}=_0x4706a4;_0x326d16['register']('footnotesDefinitions',{'ariaLabel':t('Footnotes\x20definitions\x20toolbar'),'items':_0x1854a5['config']['get']('footnotes.footnotesProperties.toolbar'),'balloonClassName':'ck-footnotes-style-balloon\x20ck-toolbar-container','getRelatedElement':_0x39586e=>{let _0x52649f=_0x39586e['getFirstPosition']()?.['parent'];return _0x52649f?.['is']('$text')&&(_0x52649f=_0x52649f['parent']),_0x52649f?.['is']('element')?_0x52649f['findAncestor'](Q):null;},'positions':[_0xeab0b6['southArrowNorth'],_0xeab0b6['southArrowNorthMiddleWest'],_0xeab0b6['southArrowNorthMiddleEast'],_0xeab0b6['southArrowNorthWest'],_0xeab0b6['southArrowNorthEast'],_0xeab0b6['northArrowSouth'],_0xeab0b6['northArrowSouthMiddleWest'],_0xeab0b6['northArrowSouthMiddleEast'],_0xeab0b6['northArrowSouthWest'],_0xeab0b6['northArrowSouthEast'],_0xeab0b6['viewportStickyNorth']]});}}class ft extends _0x228b4b{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,h as InsertFootnoteCommand};
|
|
23
|
+
import{Plugin as _0x538d9e,Command as _0x47c5d5}from'@ckeditor/ckeditor5-core/dist/index.js';import{toWidget as _0x5ceec3,isWidget as _0x211d9a,toWidgetEditable as _0x4cef9f,WidgetToolbarRepository as _0x2331f5}from'@ckeditor/ckeditor5-widget/dist/index.js';import{uid as _0x397cda,logWarning as _0x3ffbd6,FocusTracker as rt,KeystrokeHandler as nt,global as at}from'@ckeditor/ckeditor5-utils/dist/index.js';import{PointerObserver as _0x1c6c34,ClickObserver as _0x44e648}from'@ckeditor/ckeditor5-engine/dist/index.js';import{ClipboardPipeline as _0x4dba38}from'@ckeditor/ckeditor5-clipboard/dist/index.js';import{MenuBarMenuListItemButtonView as _0xbb0032,ButtonView as _0x4ce2b4,View as _0xc7b9a6,ViewCollection as _0x508cb9,FocusCycler as tt,addKeyboardHandlingForGrid as st,CollapsibleView as it,LabeledFieldView as et,createLabeledInputNumber as ot,ContextualBalloon as _0x3ced42,BalloonPanelView as _0x37b723,createDropdown as _0x1c2b71}from'@ckeditor/ckeditor5-ui/dist/index.js';import{IconFootnote as _0x57bcd7,IconListStyleDecimal as _0x520f2b,IconListStyleDecimalLeadingZero as _0x344b1d,IconListStyleLowerRoman as _0x3875ac,IconListStyleUpperRoman as _0x12bef8,IconListStyleLowerLatin as _0x2f2454,IconListStyleUpperLatin as _0x47665c}from'@ckeditor/ckeditor5-icons/dist/index.js';class F{['_model'];['_elementName'];['_getElementKey'];['_trackedElements']=new Map();constructor(_0x1695f2,_0x271efd){this['_model']=_0x1695f2,this['_elementName']=_0x271efd['elementName'],this['_getElementKey']=_0x271efd['getElementKey'];}['reset'](){this['_trackedElements']['clear']();}['getChanges'](_0x3913d4){const _0x3aba1f=new Set(),_0x56636a=new Map();for(const _0x556a6d of _0x3913d4){if('insert'===_0x556a6d['type']&&'$text'!==_0x556a6d['name']&&_0x556a6d['position']['nodeAfter']){const _0x3b49cc=this['_model']['createRangeOn'](_0x556a6d['position']['nodeAfter']);for(const _0x5dbb6c of _0x3b49cc['getItems']()){if(!_0x5dbb6c['is']('element',this['_elementName']))continue;const _0x2e4a46=this['_getElementKey'](_0x5dbb6c);_0x56636a['has'](_0x2e4a46)||_0x56636a['set'](_0x2e4a46,[]),_0x56636a['get'](_0x2e4a46)['push'](_0x5dbb6c);}}if('remove'===_0x556a6d['type']&&_0x556a6d['name']===this['_elementName']){const _0x444882=this['_getElementKey']({'getAttribute':_0x4ca220=>_0x556a6d['attributes']['get'](_0x4ca220)});_0x3aba1f['add'](_0x444882);}}for(const [_0x16d3d2,_0x17ba5a]of this['_trackedElements'])'$graveyard'===_0x17ba5a['root']['rootName']&&_0x3aba1f['add'](_0x16d3d2);for(const _0xd684f7 of _0x3aba1f)this['_trackedElements']['delete'](_0xd684f7);for(const [_0x24c6eb,_0x45962b]of _0x56636a)this['_trackedElements']['set'](_0x24c6eb,_0x45962b[_0x45962b['length']-0x1]);const _0xa6e277=new Set();for(const [_0x13680b,_0x4b4eeb]of _0x56636a)_0x3aba1f['has'](_0x13680b)&&(_0xa6e277['add'](_0x4b4eeb[0x0]),_0x4b4eeb['length']>0x1?_0x56636a['set'](_0x13680b,_0x4b4eeb['slice'](0x1)):_0x56636a['delete'](_0x13680b),_0x3aba1f['delete'](_0x13680b));return{'removed':Array['from'](_0x3aba1f),'inserted':Array['from'](_0x56636a['values']())['flat'](),'moved':Array['from'](_0xa6e277)};}}class f extends _0x538d9e{['_footnotes']=[];['_footnotesDefinitions']=null;['_footnoteFormatter']=null;['_footnoteDefsContainerTracker'];['_footnoteRefsTracker'];['_footnoteDefsTracker'];static get['pluginName'](){return'FootnotesTracker';}static get['isOfficialPlugin'](){return!0x0;}static get['isPremiumPlugin'](){return!0x0;}constructor(_0x39fefe){super(_0x39fefe),this['_footnoteDefsContainerTracker']=new F(this['editor']['model'],{'elementName':'footnotesDefinitions','getElementKey':()=>'singleton'}),this['_footnoteRefsTracker']=new F(this['editor']['model'],{'elementName':'footnoteRef','getElementKey':_0x489ccb=>_0x489ccb['getAttribute']('footnoteId')}),this['_footnoteDefsTracker']=new F(this['editor']['model'],{'elementName':'footnoteDefinition','getElementKey':_0x47a0bc=>_0x47a0bc['getAttribute']('footnoteId')});}['init'](){const {editor:_0x4e02ba}=this,{model:_0x42a225,data:_0x3fc0f9}=_0x4e02ba;_0x42a225['document']['registerPostFixer'](_0x41ee08=>{const _0x30e7b4=_0x42a225['document']['differ']['getChanges']();let _0x17cf0b=!0x1;return this['_handleFootnotesDefinitionsObjectChanges'](_0x41ee08,_0x30e7b4)&&(_0x17cf0b=!0x0),this['_handleFootnoteDefinitionsChanges'](_0x41ee08,_0x30e7b4)&&(_0x17cf0b=!0x0),this['_handleFootnoteReferencesChanges'](_0x41ee08,_0x30e7b4)&&(_0x17cf0b=!0x0),this['_ensureFootnotesReferencesHaveProperOrder'](_0x41ee08)&&(_0x17cf0b=!0x0),this['_handleFootnotesDefinitionsObjectSync'](_0x41ee08)&&(_0x17cf0b=!0x0),this['_sortFootnoteDefinitions'](_0x41ee08)&&(_0x17cf0b=!0x0),_0x17cf0b;}),this['listenTo'](_0x42a225['document'],'change:data',()=>{_0x42a225['enqueueChange']({'isUndoable':!0x1},_0x4fa5b5=>{this['_ensureFootnotesDefinitionsContainerExists'](_0x4fa5b5);});},{'priority':'low'}),this['listenTo'](_0x3fc0f9,'set',()=>{this['_footnotes']=[],this['_footnoteDefsContainerTracker']['reset'](),this['_footnoteRefsTracker']['reset'](),this['_footnoteDefsTracker']['reset']();},{'priority':'high'});}['getFootnotesDefinitionsObjectElement'](){return this['_footnotesDefinitions'];}['getFootnote'](_0x5a4119){return this['_footnotes']['find'](_0x565f6e=>_0x565f6e['id']===_0x5a4119)||null;}['getFootnotes'](){return Array['from'](this['_footnotes']);}['getFootnotesFormatter'](){return this['_footnoteFormatter'];}['setFootnoteFormatter'](_0xc3f28d){this['_footnoteFormatter']=_0xc3f28d;}['_updateFootnotesCounters'](_0x1babd7,_0x3910a3=0x0){let _0x2dad81=!0x1;for(let _0x3563fe=_0x3910a3;_0x3563fe<this['_footnotes']['length'];_0x3563fe++)this['_updateFootnoteRefCounter'](_0x1babd7,_0x3563fe)&&(_0x2dad81=!0x0);return _0x2dad81;}['_insertEmptyFootnotesDefinitionsContainer'](_0x282b95,_0x4b1151){const _0x51df59=_0x282b95['createElement']('footnotesDefinitions',{});return _0x282b95['append'](_0x51df59,_0x4b1151),this['_footnotesDefinitions']=_0x51df59,_0x51df59;}['_ensureFootnotesDefinitionsContainerExists'](_0x58bfa0){if(!this['_footnotes']['length']||this['_footnotesDefinitions'])return;const _0x366072=this['_footnotes'][0x0]['reference']['root'],_0x50fc89=this['_insertEmptyFootnotesDefinitionsContainer'](_0x58bfa0,_0x366072);for(const _0x18cb47 of this['_footnotes'])_0x18cb47['definition']['parent']||_0x58bfa0['insert'](_0x18cb47['definition'],_0x50fc89,'end');this['_updateFootnotesCounters'](_0x58bfa0);}['_handleFootnotesDefinitionsObjectChanges'](_0x1e9f94,_0x23c1ad){let _0xbc1258=!0x1;const {inserted:_0x207b09,removed:_0x320303,moved:_0x11946a}=this['_footnoteDefsContainerTracker']['getChanges'](_0x23c1ad);if(_0x11946a['length']&&(this['_footnotesDefinitions']=_0x11946a[0x0]),_0x207b09['length']){if(_0x207b09['length']>0x1||this['_footnotesDefinitions']&&_0x207b09['some'](_0x385b7c=>_0x385b7c!==this['_footnotesDefinitions'])){const _0x36b737=_0x1e9f94['createElement']('footnotesDefinitions',{}),_0x1030b9=[];this['_footnotesDefinitions']&&_0x1030b9['push'](this['_footnotesDefinitions']),_0x1030b9['push'](..._0x207b09),_0x1e9f94['insert'](_0x36b737,_0x1030b9[0x0],'before');for(const _0x456627 of _0x1030b9)_0x1e9f94['move'](_0x1e9f94['createRangeIn'](_0x456627),_0x1e9f94['createPositionAt'](_0x36b737,'end')),_0x1e9f94['remove'](_0x456627);this['_footnotesDefinitions']=_0x36b737,this['_updateFootnotesCounters'](_0x1e9f94),_0xbc1258=!0x0;}else this['_footnotesDefinitions']=_0x207b09[0x0];}if(_0x320303['length']&&'$graveyard'===this['_footnotesDefinitions']?.['root']['rootName']){for(const _0x1804ba of this['_footnotes'])_0x1e9f94['remove'](_0x1804ba['reference']),_0xbc1258=!0x0;this['_footnotes']=[],this['_footnotesDefinitions']=null;}return _0xbc1258;}['_handleFootnoteDefinitionsChanges'](_0x332d04,_0x1ae392){let _0x1d2c1b=!0x1;const _0x540040=this['editor']['config']['get']('footnotes.multiBlock'),{inserted:_0x493393,moved:_0x468ddb}=this['_footnoteDefsTracker']['getChanges'](_0x1ae392);for(const _0x1fb6c2 of[..._0x468ddb,..._0x493393]){const _0x3ce013=_0x1fb6c2['getAttribute']('footnoteId'),_0x47cb27=this['getFootnote'](_0x3ce013);_0x47cb27&&(_0x47cb27['definition']=_0x1fb6c2),_(_0x332d04,_0x540040,_0x1fb6c2)&&(_0x1d2c1b=!0x0);}return _0x1d2c1b;}['_handleFootnoteReferencesChanges'](_0x1b3c63,_0x3d7667){let _0x4dc692=!0x1;const {removed:_0x26ae64,inserted:_0x45d581,moved:_0xe521c1}=this['_footnoteRefsTracker']['getChanges'](_0x3d7667);for(const _0x3fcb21 of _0x26ae64)this['_handleRemoveFootnoteReferenceById'](_0x1b3c63,_0x3fcb21)&&(_0x4dc692=!0x0);for(const _0x4d79ce of _0x45d581)this['_handleInsertedFootnoteReference'](_0x1b3c63,_0x4d79ce)&&(_0x4dc692=!0x0);for(const _0x527c6d of _0xe521c1)this['_handleMovedFootnoteReference'](_0x1b3c63,_0x527c6d)&&(_0x4dc692=!0x0);return _0x4dc692;}['_handleFootnotesDefinitionsObjectSync'](_0x5b4c6c){if(!this['_footnotesDefinitions'])return!0x1;let _0x405fa0=!0x1;if(this['_footnotesDefinitions']['childCount']!==this['_footnotes']['length']){const _0x45604a=[];for(const _0x362e2f of this['_footnotesDefinitions']['getChildren']()){const _0x1c51ce=_0x362e2f['getAttribute']('footnoteId');this['getFootnote'](_0x1c51ce)||(_0x45604a['unshift'](_0x362e2f),_0x405fa0=!0x0);}for(const _0x232c96 of _0x45604a)_0x5b4c6c['remove'](_0x232c96);}const _0x5c1400=new Set(),_0xbac1ea=[];for(const _0x5ed64b of this['_footnotesDefinitions']['getChildren']()){const _0x53a9b7=_0x5ed64b['getAttribute']('footnoteId');_0x5c1400['has'](_0x53a9b7)?(_0xbac1ea['unshift'](_0x5ed64b),_0x405fa0=!0x0):_0x5c1400['add'](_0x53a9b7);}for(const _0x256b51 of _0xbac1ea)_0x5b4c6c['remove'](_0x256b51);return this['_footnotesDefinitions']['childCount']||(_0x5b4c6c['remove'](this['_footnotesDefinitions']),this['_footnotesDefinitions']=null,_0x405fa0=!0x0),_0x405fa0;}['_handleInsertedFootnoteReference'](_0x5ab04a,_0x3dc50e){if(this['_footnotes']['find'](_0x2b9c42=>_0x2b9c42['reference']===_0x3dc50e))return!0x1;let _0x28ec32=!0x1;const _0x20de72=_0x3dc50e['getAttribute']('footnoteId'),_0x23c430=this['_footnotes']['findIndex'](_0x1e4334=>_0x1e4334['id']===_0x20de72);-0x1!==_0x23c430&&(_0x5ab04a['remove'](this['_footnotes'][_0x23c430]['reference']),this['_footnotes']['splice'](_0x23c430,0x1),_0x28ec32=!0x0);let _0x2956c1=this['_footnotesDefinitions']?function(_0x1ad4fa,_0x230c14){for(const _0xa313c0 of _0x1ad4fa['getChildren']())if(_0xa313c0['getAttribute']('footnoteId')===_0x230c14)return _0xa313c0;return null;}(this['_footnotesDefinitions'],_0x20de72):null;_0x2956c1||(_0x2956c1=_0x5ab04a['createElement']('footnoteDefinition',{'footnoteId':_0x20de72}),this['_footnotesDefinitions']&&(_0x5ab04a['insert'](_0x2956c1,this['_footnotesDefinitions'],'end'),_0x28ec32=!0x0));const _0x16ef1a={'id':_0x20de72,'reference':_0x3dc50e,'definition':_0x2956c1},_0x22f996=I(this['editor']['model'],this['_footnotes'],_0x3dc50e);this['_footnotes']['splice'](_0x22f996,0x0,_0x16ef1a);let _0xcfc7e7=_0x22f996;return-0x1!==_0x23c430&&(_0xcfc7e7=Math['min'](_0x22f996,_0x23c430)),this['_updateFootnotesCounters'](_0x5ab04a,_0xcfc7e7)&&(_0x28ec32=!0x0),_0x28ec32;}['_handleRemoveFootnoteReferenceById'](_0x26127b,_0x1ce814){const _0x2324cc=this['_footnotes']['findIndex'](_0x5a542c=>_0x5a542c['id']===_0x1ce814);if(-0x1===_0x2324cc)return!0x1;let _0x1cff31=!0x1;const _0x43b069=this['_footnotes'][_0x2324cc];return'$graveyard'!==_0x43b069['definition']['root']['rootName']&&(_0x26127b['remove'](_0x43b069['definition']),_0x1cff31=!0x0),this['_footnotes']['splice'](_0x2324cc,0x1),this['_updateFootnotesCounters'](_0x26127b,_0x2324cc)&&(_0x1cff31=!0x0),_0x1cff31;}['_handleMovedFootnoteReference'](_0x4d0f76,_0x22158b){const _0x31de51=_0x22158b['getAttribute']('footnoteId'),_0x304641=this['_footnotes']['findIndex'](_0x1a21a7=>_0x1a21a7['id']===_0x31de51),_0x102772=this['_footnotes'][_0x304641];let _0x1540db=!0x1;_0x102772['reference']=_0x22158b,this['_footnotes']['splice'](_0x304641,0x1);const _0x4a9679=I(this['editor']['model'],this['_footnotes'],_0x22158b);return this['_footnotes']['splice'](_0x4a9679,0x0,_0x102772),this['_updateFootnotesCounters'](_0x4d0f76,Math['min'](_0x304641,_0x4a9679))&&(_0x1540db=!0x0),_0x1540db;}['_updateFootnoteRefCounter'](_0x284e96,_0x4ab319){if(!this['_footnotesDefinitions'])return!0x1;const _0x3e3d7f=this['_footnotes'][_0x4ab319];let _0x442505;return _0x442505=this['_footnoteFormatter']?this['_footnoteFormatter']({'footnote':_0x3e3d7f,'container':this['_footnotesDefinitions'],'digits':String(this['_footnotes']['length'])['length'],'value':_0x4ab319+0x1}):String(_0x4ab319+0x1),_0x3e3d7f['reference']['getAttribute']('footnoteCounter')!=_0x442505&&(_0x284e96['setAttribute']('footnoteCounter',_0x442505,_0x3e3d7f['reference']),!0x0);}['_sortFootnoteDefinitions'](_0x3e1545){if(!this['_footnotesDefinitions']||this['_footnotes']['length']<0x2)return!0x1;if(function(_0x543900,_0xbc2639){if(_0x543900['length']!==_0xbc2639['length'])return!0x1;for(let _0x2a0b8e=0x0;_0x2a0b8e<_0x543900['length'];_0x2a0b8e++)if(_0x543900[_0x2a0b8e]!==_0xbc2639[_0x2a0b8e])return!0x1;return!0x0;}(this['_footnotes']['map'](_0x1ce9a5=>_0x1ce9a5['id']),Array['from'](this['_footnotesDefinitions']['getChildren']())['map'](_0x300659=>_0x300659['getAttribute']('footnoteId'))))return!0x1;let _0x3be0ff=!0x1;for(let _0x5eb971=0x0;_0x5eb971<this['_footnotes']['length'];_0x5eb971++){const _0x5e634f=this['_footnotes'][_0x5eb971],_0x19b1dd=_0x3e1545['createPositionBefore'](_0x5e634f['definition']),_0x5ac5c3=_0x3e1545['createPositionAt'](this['_footnotesDefinitions'],_0x5eb971);_0x19b1dd['isEqual'](_0x5ac5c3)||(_0x3e1545['move'](_0x3e1545['createRangeOn'](_0x5e634f['definition']),_0x5ac5c3),_0x3be0ff=!0x0);}return _0x3be0ff;}['_ensureFootnotesReferencesHaveProperOrder'](_0x11bddf){if(!this['_footnotes']['length'])return!0x1;const {model:_0x152ba0}=this['editor'];let _0x1af733=!0x1;for(let _0x8a2945=0x0;_0x8a2945<this['_footnotes']['length']-0x1;_0x8a2945++){const _0x20b681=this['_footnotes'][_0x8a2945],_0x75fdff=this['_footnotes'][_0x8a2945+0x1],_0x112b88=_0x152ba0['createPositionBefore'](_0x20b681['reference']),_0x36d9fd=_0x152ba0['createPositionBefore'](_0x75fdff['reference']);'after'===_0x112b88['compareWith'](_0x36d9fd)&&(this['_handleMovedFootnoteReference'](_0x11bddf,_0x20b681['reference']),_0x8a2945=-0x1,_0x1af733=!0x0);}return _0x1af733;}}function _(_0x225805,_0x5b6cd4,_0x35df63){if(_0x35df63['childCount'])return!0x1;const _0x42d724=_0x5b6cd4?'paragraph':'footnoteInlineContent';return _0x225805['insert'](_0x225805['createElement'](_0x42d724),_0x35df63),!0x0;}function I(_0x28d556,_0x256614,_0x45c071){if(0x0===_0x256614['length'])return 0x0;const _0x22f3b9=_0x28d556['createPositionBefore'](_0x45c071);for(let _0x178984=0x0;_0x178984<_0x256614['length'];_0x178984++){const _0x35938d=_0x256614[_0x178984],_0x2cb3de=_0x28d556['createPositionBefore'](_0x35938d['reference']);if('before'===_0x22f3b9['compareWith'](_0x2cb3de))return _0x178984;}const _0x457a31=_0x45c071['root'];let _0x5a6983=-0x1;for(let _0x1ee311=_0x256614['length']-0x1;_0x1ee311>=0x0;_0x1ee311--)if(_0x256614[_0x1ee311]['reference']['root']===_0x457a31){_0x5a6983=_0x1ee311;break;}if(-0x1!==_0x5a6983)return _0x5a6983+0x1;const _0x2b0abd=_0x28d556['document']['getRootNames'](),_0x57c4b5=_0x2b0abd['indexOf'](_0x457a31['rootName']),_0x2f2ae2=_0x2b0abd[_0x57c4b5+0x1];if(_0x2f2ae2){for(let _0x5ae536=0x0;_0x5ae536<_0x256614['length'];_0x5ae536++)if(_0x256614[_0x5ae536]['reference']['root']['rootName']===_0x2f2ae2)return _0x5ae536;}return _0x256614['length'];}class h extends _0x47c5d5{['refresh'](){const _0x2c4fb9=this['editor']['model']['document']['selection'],_0x4113af=this['_getPositionToInsertFootnote'](_0x2c4fb9);this['isEnabled']=!!_0x4113af;}['execute'](_0x36b4a5){const {editor:_0x858079}=this,{model:_0x2424f7}=_0x858079,{selection:_0x4e0fa4}=_0x2424f7['document'],_0x51fe91=this['_getPositionToInsertFootnote'](_0x4e0fa4);if(!_0x51fe91)return;const _0x2db304=_0x858079['plugins']['get']('FootnotesEditing'),_0x2fc137=_0x36b4a5?.['footnoteId']??_0x397cda();!function(_0x1dbfd5){return'string'==typeof _0x1dbfd5&&_0x1dbfd5['length']>0x0&&!/\s/['test'](_0x1dbfd5)&&!/^\d/['test'](_0x1dbfd5);}(_0x2fc137)?_0x3ffbd6('insert-footnote-command-executed-with-invalid-id'):(_0x2424f7['change'](_0x25b006=>{const _0x10dabe=_0x25b006['createElement']('footnoteRef',{'footnoteId':_0x2fc137});_0x2424f7['insertObject'](_0x10dabe,_0x51fe91,null);}),_0x2db304['_moveSelectionToFootnoteDefinition'](_0x2fc137));}['_getPositionToInsertFootnote'](_0x20e0f2){const {model:_0x19a765}=this['editor'],{schema:_0xb2cb6c}=_0x19a765,_0x450d4e=_0x20e0f2['getFirstRange']();for(const _0x3e7c5e of _0x450d4e['getItems']())if(_0xb2cb6c['isBlock'](_0x3e7c5e)||_0xb2cb6c['isObject'](_0x3e7c5e))return null;const _0x41d388=_0x450d4e['end'];return _0xb2cb6c['checkChild'](_0x41d388,'footnoteRef')?_0x41d388:null;}}class r extends _0x538d9e{static get['pluginName'](){return'FootnotesEditing';}static get['requires'](){return[f];}static get['isOfficialPlugin'](){return!0x0;}static get['isPremiumPlugin'](){return!0x0;}['init'](){const {editor:_0x1ec110}=this;_0x1ec110['config']['define']('footnotes.multiBlock',!0x0),_0x1ec110['commands']['add']('insertFootnote',new h(_0x1ec110)),this['_defineSchema'](),this['_defineRefsConverters'](),this['_defineDefinitionsConverters'](),this['_defineDefinitionConverters'](),this['_defineBogusParagraphConverters'](),this['_defineKeyboardHandlers'](),this['_defineClickHandlers']();}['afterInit'](){!async function(_0x3e1a39){const _0x51fc79=_0x6e1118([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]),_0x136ebc=0x47a28506,_0x4da414=0x47a5051e^_0x136ebc,_0x2e0f8a=window[_0x6e1118([0x44,0x61,0x74,0x65])][_0x6e1118([0x6e,0x6f,0x77])](),_0x289d0b=_0x3e1a39[_0x6e1118([0x65,0x64,0x69,0x74,0x6f,0x72])],_0x2d777c=new window[(_0x6e1118([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0xe2c7ca=>{_0x289d0b[_0x6e1118([0x6f,0x6e,0x63,0x65])](_0x6e1118([0x72,0x65,0x61,0x64,0x79]),_0xe2c7ca);}),_0x17d8f6={[_0x6e1118([0x6b,0x74,0x79])]:_0x6e1118([0x45,0x43]),[_0x6e1118([0x75,0x73,0x65])]:_0x6e1118([0x73,0x69,0x67]),[_0x6e1118([0x63,0x72,0x76])]:_0x6e1118([0x50,0x2d,0x32,0x35,0x36]),[_0x6e1118([0x78])]:_0x6e1118([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]),[_0x6e1118([0x79])]:_0x6e1118([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]),[_0x6e1118([0x61,0x6c,0x67])]:_0x6e1118([0x45,0x53,0x32,0x35,0x36])},_0x4c487b=_0x289d0b[_0x6e1118([0x63,0x6f,0x6e,0x66,0x69,0x67])][_0x6e1118([0x67,0x65,0x74])](_0x6e1118([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x4b,0x65,0x79]));async function _0x2747eb(){let _0x214e59,_0x392a05=null,_0x923b4c=null;try{if(_0x4c487b==_0x6e1118([0x47,0x50,0x4c]))return _0x6e1118([0x4e,0x6f,0x74,0x41,0x6c,0x6c,0x6f,0x77,0x65,0x64]);if(_0x214e59=_0x5398a6(),!_0x214e59)return _0x6e1118([0x49,0x6e,0x76,0x61,0x6c,0x69,0x64]);return _0x214e59[_0x6e1118([0x75,0x73,0x61,0x67,0x65,0x45,0x6e,0x64,0x70,0x6f,0x69,0x6e,0x74])]&&(_0x923b4c=_0x391e7a(_0x214e59[_0x6e1118([0x75,0x73,0x61,0x67,0x65,0x45,0x6e,0x64,0x70,0x6f,0x69,0x6e,0x74])],_0x214e59[_0x6e1118([0x6a,0x74,0x69])])),await _0x3b3b85()?_0xe7f273()?_0x200a1f()?_0x6e1118([0x45,0x78,0x70,0x69,0x72,0x65,0x64]):_0x2e420b()?(_0x214e59[_0x6e1118([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x54,0x79,0x70,0x65])]==_0x6e1118([0x65,0x76,0x61,0x6c,0x75,0x61,0x74,0x69,0x6f,0x6e])&&(_0x392a05=_0x4cfe62(_0x6e1118([0x45,0x76,0x61,0x6c,0x75,0x61,0x74,0x69,0x6f,0x6e,0x4c,0x69,0x6d,0x69,0x74]))),await _0x3d4b7e()):_0x6e1118([0x44,0x6f,0x6d,0x61,0x69,0x6e,0x4c,0x69,0x6d,0x69,0x74]):_0x6e1118([0x4e,0x6f,0x74,0x41,0x6c,0x6c,0x6f,0x77,0x65,0x64]):_0x6e1118([0x49,0x6e,0x76,0x61,0x6c,0x69,0x64]);}catch{return _0x6e1118([0x49,0x6e,0x76,0x61,0x6c,0x69,0x64]);}function _0x200a1f(){const _0x6dc6c1=[_0x6e1118([0x65,0x76,0x61,0x6c,0x75,0x61,0x74,0x69,0x6f,0x6e]),_0x6e1118([0x74,0x72,0x69,0x61,0x6c])][_0x6e1118([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x214e59[_0x6e1118([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x54,0x79,0x70,0x65])])?_0x2e0f8a/0x3e8:0xe10*_0x4da414;return _0x214e59[_0x6e1118([0x65,0x78,0x70])]<_0x6dc6c1;}function _0xe7f273(){const _0x250d28=_0x214e59[_0x6e1118([0x66,0x65,0x61,0x74,0x75,0x72,0x65,0x73])];return!!_0x250d28&&(!!_0x250d28[_0x6e1118([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x6e1118([0x2a]))||!!_0x250d28[_0x6e1118([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x6e1118([0x46,0x4f,0x4f])));}function _0x2e420b(){const _0xb2a37c=_0x214e59[_0x6e1118([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x64,0x48,0x6f,0x73,0x74,0x73])];if(!_0xb2a37c||0x0==_0xb2a37c[_0x6e1118([0x6c,0x65,0x6e,0x67,0x74,0x68])])return!0x0;const {hostname:_0x2461bb}=new URL(window[_0x6e1118([0x6c,0x6f,0x63,0x61,0x74,0x69,0x6f,0x6e])]['href']);if(_0xb2a37c[_0x6e1118([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x2461bb))return!0x0;const _0x395564=_0x2461bb[_0x6e1118([0x73,0x70,0x6c,0x69,0x74])](_0x6e1118([0x2e]));return _0xb2a37c[_0x6e1118([0x66,0x69,0x6c,0x74,0x65,0x72])](_0x297825=>_0x297825[_0x6e1118([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x6e1118([0x2a])))[_0x6e1118([0x6d,0x61,0x70])](_0x49329b=>_0x49329b[_0x6e1118([0x73,0x70,0x6c,0x69,0x74])](_0x6e1118([0x2e])))[_0x6e1118([0x66,0x69,0x6c,0x74,0x65,0x72])](_0x19d350=>_0x19d350[_0x6e1118([0x6c,0x65,0x6e,0x67,0x74,0x68])]<=_0x395564[_0x6e1118([0x6c,0x65,0x6e,0x67,0x74,0x68])])[_0x6e1118([0x6d,0x61,0x70])](_0x253f4e=>Array(_0x395564[_0x6e1118([0x6c,0x65,0x6e,0x67,0x74,0x68])]-_0x253f4e[_0x6e1118([0x6c,0x65,0x6e,0x67,0x74,0x68])])[_0x6e1118([0x66,0x69,0x6c,0x6c])](_0x253f4e[0x0]===_0x6e1118([0x2a])?_0x6e1118([0x2a]):'')[_0x6e1118([0x63,0x6f,0x6e,0x63,0x61,0x74])](_0x253f4e))[_0x6e1118([0x73,0x6f,0x6d,0x65])](_0x28c839=>_0x395564[_0x6e1118([0x65,0x76,0x65,0x72,0x79])]((_0x514502,_0xd40071)=>_0x28c839[_0xd40071]===_0x514502||_0x28c839[_0xd40071]===_0x6e1118([0x2a])));}function _0x3d4b7e(){return _0x392a05&&_0x923b4c?new window[(_0x6e1118([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))]((_0x224be0,_0xa26ad9)=>{_0x392a05[_0x6e1118([0x74,0x68,0x65,0x6e])](_0x224be0,_0xa26ad9),_0x923b4c[_0x6e1118([0x74,0x68,0x65,0x6e])](_0x1baef0=>{_0x1baef0!=_0x6e1118([0x56,0x61,0x6c,0x69,0x64])&&_0x224be0(_0x1baef0);},_0xa26ad9);}):_0x392a05||_0x923b4c||_0x6e1118([0x56,0x61,0x6c,0x69,0x64]);}}function _0x391e7a(_0x20c0d9,_0x57d253){return new window[(_0x6e1118([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0x38db8f=>{if(_0x2d8635())return _0x38db8f(_0x6e1118([0x56,0x61,0x6c,0x69,0x64]));_0xb93c30(),_0x289d0b[_0x6e1118([0x64,0x65,0x63,0x6f,0x72,0x61,0x74,0x65])](_0x6e1118([0x5f,0x73,0x65,0x6e,0x64,0x55,0x73,0x61,0x67,0x65,0x52,0x65,0x71,0x75,0x65,0x73,0x74]));let _0x3e1119=!0x1;const _0xe899ab=_0x397cda();function _0xed7eb5(_0x371b47){return!!_0x371b47&&(typeof _0x371b47===_0x6e1118([0x6f,0x62,0x6a,0x65,0x63,0x74])||typeof _0x371b47===_0x6e1118([0x66,0x75,0x6e,0x63,0x74,0x69,0x6f,0x6e]))&&typeof _0x371b47[_0x6e1118([0x74,0x68,0x65,0x6e])]===_0x6e1118([0x66,0x75,0x6e,0x63,0x74,0x69,0x6f,0x6e])&&typeof _0x371b47[_0x6e1118([0x63,0x61,0x74,0x63,0x68])]===_0x6e1118([0x66,0x75,0x6e,0x63,0x74,0x69,0x6f,0x6e]);}function _0xbdebcc(_0x19b8bc){_0x503a1d(_0x19b8bc)[_0x6e1118([0x74,0x68,0x65,0x6e])](_0x23944b=>{if(!_0x23944b||_0x23944b[_0x6e1118([0x73,0x74,0x61,0x74,0x75,0x73])]!=_0x6e1118([0x6f,0x6b]))return _0x6e1118([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]);return _0x1f78df(_0x4aa4ac(_0xe899ab+_0x57d253))!=_0x23944b[_0x6e1118([0x76,0x65,0x72,0x69,0x66,0x69,0x63,0x61,0x74,0x69,0x6f,0x6e])]?_0x6e1118([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]):_0x6e1118([0x56,0x61,0x6c,0x69,0x64]);})[_0x6e1118([0x74,0x68,0x65,0x6e])](_0x261bd2=>(_0x559a5f(),_0x261bd2),()=>{const _0x4cdc02=_0x1b7de2();return null==_0x4cdc02?(_0x559a5f(),_0x6e1118([0x56,0x61,0x6c,0x69,0x64])):_0x6e1118(_0x2e0f8a-_0x4cdc02>(0x63ae0106^_0x136ebc)?[0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]:[0x56,0x61,0x6c,0x69,0x64]);})[_0x6e1118([0x74,0x68,0x65,0x6e])](_0x38db8f)[_0x6e1118([0x63,0x61,0x74,0x63,0x68])](()=>{_0x38db8f(_0x6e1118([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]));});const _0x919f85=0x47946b86^_0x136ebc;function _0x559a5f(){const _0x2f5c3e=_0x6e1118([0x6c,0x6c,0x63,0x74,0x2d])+_0x1f78df(_0x4aa4ac(_0x20c0d9)),_0x1883b5=_0x1ba16f(_0x1f78df(window[_0x6e1118([0x4d,0x61,0x74,0x68])][_0x6e1118([0x63,0x65,0x69,0x6c])](_0x2e0f8a/_0x919f85)));window[_0x6e1118([0x6c,0x6f,0x63,0x61,0x6c,0x53,0x74,0x6f,0x72,0x61,0x67,0x65])][_0x6e1118([0x73,0x65,0x74,0x49,0x74,0x65,0x6d])](_0x2f5c3e,_0x1883b5);}function _0x1b7de2(){const _0xd421=_0x6e1118([0x6c,0x6c,0x63,0x74,0x2d])+_0x1f78df(_0x4aa4ac(_0x20c0d9)),_0x4a9775=window[_0x6e1118([0x6c,0x6f,0x63,0x61,0x6c,0x53,0x74,0x6f,0x72,0x61,0x67,0x65])][_0x6e1118([0x67,0x65,0x74,0x49,0x74,0x65,0x6d])](_0xd421);return _0x4a9775?window[_0x6e1118([0x70,0x61,0x72,0x73,0x65,0x49,0x6e,0x74])](_0x1ba16f(_0x4a9775),0x10)*_0x919f85:null;}function _0x503a1d(_0x45709e){return new window[(_0x6e1118([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))]((_0x218f8b,_0x5390a2)=>{_0x45709e[_0x6e1118([0x74,0x68,0x65,0x6e])](_0x218f8b,_0x5390a2),window[_0x6e1118([0x73,0x65,0x74,0x54,0x69,0x6d,0x65,0x6f,0x75,0x74])](_0x5390a2,0x47a351c6^_0x136ebc);});}}_0x289d0b[_0x6e1118([0x6f,0x6e])](_0x6e1118([0x5f,0x73,0x65,0x6e,0x64,0x55,0x73,0x61,0x67,0x65,0x52,0x65,0x71,0x75,0x65,0x73,0x74]),(_0x1441d9,_0x950004)=>{if(_0x950004[0x0]!=_0x20c0d9)return _0x38db8f(_0x6e1118([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]));_0x950004[0x1]={..._0x950004[0x1],[_0x6e1118([0x72,0x65,0x71,0x75,0x65,0x73,0x74,0x49,0x64])]:_0xe899ab};},{[_0x6e1118([0x70,0x72,0x69,0x6f,0x72,0x69,0x74,0x79])]:_0x6e1118([0x68,0x69,0x67,0x68])}),_0x289d0b[_0x6e1118([0x6f,0x6e])](_0x6e1118([0x5f,0x73,0x65,0x6e,0x64,0x55,0x73,0x61,0x67,0x65,0x52,0x65,0x71,0x75,0x65,0x73,0x74]),_0x12e2ca=>{_0xed7eb5(_0x12e2ca[_0x6e1118([0x72,0x65,0x74,0x75,0x72,0x6e])])&&(_0x3e1119=!0x0,_0xbdebcc(_0x12e2ca[_0x6e1118([0x72,0x65,0x74,0x75,0x72,0x6e])]));},{[_0x6e1118([0x70,0x72,0x69,0x6f,0x72,0x69,0x74,0x79])]:_0x6e1118([0x6c,0x6f,0x77])}),_0x2d777c[_0x6e1118([0x74,0x68,0x65,0x6e])](()=>{_0x3e1119||_0x38db8f(_0x6e1118([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]));});});function _0x2d8635(){return _0x289d0b[_0x6e1118([0x65,0x64,0x69,0x74,0x69,0x6e,0x67])][_0x6e1118([0x76,0x69,0x65,0x77])][_0x6e1118([0x5f,0x6f,0x76,0x65,0x72,0x6c,0x61,0x79,0x4d,0x6f,0x64,0x65,0x48,0x69,0x6e,0x74])]==_0x6e1118([0x61,0x75,0x74,0x6f]);}function _0xb93c30(){_0x289d0b[_0x6e1118([0x65,0x64,0x69,0x74,0x69,0x6e,0x67])][_0x6e1118([0x76,0x69,0x65,0x77])][_0x6e1118([0x5f,0x6f,0x76,0x65,0x72,0x6c,0x61,0x79,0x4d,0x6f,0x64,0x65,0x48,0x69,0x6e,0x74])]=_0x6e1118([0x61,0x75,0x74,0x6f]);}}function _0x4cfe62(_0x40b12a){const _0x3a8663=[new window[(_0x6e1118([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0x2e4b8e=>setTimeout(_0x2e4b8e,0x47abbbca^_0x136ebc)),_0x2d777c[_0x6e1118([0x74,0x68,0x65,0x6e])](()=>new window[(_0x6e1118([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0x5ca9f2=>{let _0x261a51=0x0;_0x289d0b[_0x6e1118([0x6d,0x6f,0x64,0x65,0x6c])][_0x6e1118([0x6f,0x6e])](_0x6e1118([0x61,0x70,0x70,0x6c,0x79,0x4f,0x70,0x65,0x72,0x61,0x74,0x69,0x6f,0x6e]),(_0x1e938c,_0xdff1ad)=>{_0xdff1ad[0x0][_0x6e1118([0x69,0x73,0x44,0x6f,0x63,0x75,0x6d,0x65,0x6e,0x74,0x4f,0x70,0x65,0x72,0x61,0x74,0x69,0x6f,0x6e])]&&_0x261a51++,_0x261a51==(0x47a280ee^_0x136ebc)&&(_0x5ca9f2(),_0x1e938c[_0x6e1118([0x6f,0x66,0x66])]());});}))];return window[_0x6e1118([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65])][_0x6e1118([0x72,0x61,0x63,0x65])](_0x3a8663)[_0x6e1118([0x74,0x68,0x65,0x6e])](()=>_0x40b12a);}async function _0x347855(){await _0x2d777c,_0x289d0b[_0x6e1118([0x6d,0x6f,0x64,0x65,0x6c])][_0x6e1118([0x63,0x68,0x61,0x6e,0x67,0x65])]=_0x334633,_0x289d0b[_0x6e1118([0x6d,0x6f,0x64,0x65,0x6c])][_0x6e1118([0x65,0x6e,0x71,0x75,0x65,0x75,0x65,0x43,0x68,0x61,0x6e,0x67,0x65])]=_0x334633,_0x289d0b[_0x6e1118([0x65,0x6e,0x61,0x62,0x6c,0x65,0x52,0x65,0x61,0x64,0x4f,0x6e,0x6c,0x79,0x4d,0x6f,0x64,0x65])](_0x6e1118([0x6d,0x6f,0x64,0x65,0x6c]));}function _0x2ac38c(_0x12149a){const _0x4e9b1e=_0x142a56();_0x289d0b[_0x4e9b1e]=_0x6e1118([0x66,0x6f,0x6f,0x74,0x6e,0x6f,0x74,0x65,0x73,0x4c,0x69,0x63,0x65,0x6e,0x73,0x65,0x4b,0x65,0x79])+_0x12149a,_0x12149a!=_0x6e1118([0x56,0x61,0x6c,0x69,0x64])&&_0x347855();}function _0x142a56(){const _0xf05836=window[_0x6e1118([0x53,0x74,0x72,0x69,0x6e,0x67])](window[_0x6e1118([0x70,0x65,0x72,0x66,0x6f,0x72,0x6d,0x61,0x6e,0x63,0x65])][_0x6e1118([0x6e,0x6f,0x77])]())[_0x6e1118([0x72,0x65,0x70,0x6c,0x61,0x63,0x65])](_0x6e1118([0x2e]),'');let _0x30d607=_0x6e1118([0x75]);for(let _0x5007af=0x0;_0x5007af<_0xf05836[_0x6e1118([0x6c,0x65,0x6e,0x67,0x74,0x68])];_0x5007af+=0x2){let _0x4c1dd1=window[_0x6e1118([0x70,0x61,0x72,0x73,0x65,0x49,0x6e,0x74])](_0xf05836[_0x6e1118([0x73,0x75,0x62,0x73,0x74,0x72,0x69,0x6e,0x67])](_0x5007af,_0x5007af+0x2));_0x4c1dd1>=_0x51fc79[_0x6e1118([0x6c,0x65,0x6e,0x67,0x74,0x68])]&&(_0x4c1dd1-=_0x51fc79[_0x6e1118([0x6c,0x65,0x6e,0x67,0x74,0x68])]),_0x30d607+=_0x51fc79[_0x4c1dd1];}return _0x30d607;}function _0x5398a6(){const _0x368679=_0x4c487b[_0x6e1118([0x73,0x70,0x6c,0x69,0x74])](_0x6e1118([0x2e]));if(0x3!=_0x368679[_0x6e1118([0x6c,0x65,0x6e,0x67,0x74,0x68])])return null;return _0x57930f(_0x368679[0x1]);function _0x57930f(_0xc17066){const _0x8c0061=_0x5b3fae(_0xc17066);return _0x8c0061&&_0x26da7f()?_0x8c0061:null;function _0x26da7f(){const _0x48a9cc=_0x8c0061[_0x6e1118([0x6a,0x74,0x69])],_0x167531=window[_0x6e1118([0x70,0x61,0x72,0x73,0x65,0x49,0x6e,0x74])](_0x48a9cc[_0x6e1118([0x73,0x75,0x62,0x73,0x74,0x72,0x69,0x6e,0x67])](_0x48a9cc[_0x6e1118([0x6c,0x65,0x6e,0x67,0x74,0x68])]-0x8),0x10),_0x25163b={..._0x8c0061,[_0x6e1118([0x6a,0x74,0x69])]:_0x48a9cc[_0x6e1118([0x73,0x75,0x62,0x73,0x74,0x72,0x69,0x6e,0x67])](0x0,_0x48a9cc[_0x6e1118([0x6c,0x65,0x6e,0x67,0x74,0x68])]-0x8)};return delete _0x25163b[_0x6e1118([0x76,0x63])],_0x4aa4ac(_0x25163b)==_0x167531;}}}async function _0x3b3b85(){let _0x287a6a=!0x0;try{const _0x49815c=_0x4c487b[_0x6e1118([0x73,0x70,0x6c,0x69,0x74])](_0x6e1118([0x2e])),[_0x4d75c8,_0x302075,_0x587513]=_0x49815c;return _0x371450(_0x4d75c8),await _0x435394(_0x4d75c8,_0x302075,_0x587513),_0x287a6a;}catch{return!0x1;}function _0x371450(_0x5bbb03){const _0x1aebca=_0x5b3fae(_0x5bbb03);_0x1aebca&&_0x1aebca[_0x6e1118([0x61,0x6c,0x67])]==_0x6e1118([0x45,0x53,0x32,0x35,0x36])||(_0x287a6a=!0x1);}async function _0x435394(_0x140269,_0x2d9615,_0x4c28bf){const _0x2323c2=window[_0x6e1118([0x55,0x69,0x6e,0x74,0x38,0x41,0x72,0x72,0x61,0x79])][_0x6e1118([0x66,0x72,0x6f,0x6d])](_0x9a49b1(_0x4c28bf),_0x404e0f=>_0x404e0f[_0x6e1118([0x63,0x68,0x61,0x72,0x43,0x6f,0x64,0x65,0x41,0x74])](0x0)),_0x534506=new window[(_0x6e1118([0x54,0x65,0x78,0x74,0x45,0x6e,0x63,0x6f,0x64,0x65,0x72]))]()[_0x6e1118([0x65,0x6e,0x63,0x6f,0x64,0x65])](_0x140269+_0x6e1118([0x2e])+_0x2d9615),_0x4ca7ec=window[_0x6e1118([0x63,0x72,0x79,0x70,0x74,0x6f])][_0x6e1118([0x73,0x75,0x62,0x74,0x6c,0x65])];if(!_0x4ca7ec)return;const _0xef0410=await _0x4ca7ec[_0x6e1118([0x69,0x6d,0x70,0x6f,0x72,0x74,0x4b,0x65,0x79])](_0x6e1118([0x6a,0x77,0x6b]),_0x17d8f6,{[_0x6e1118([0x6e,0x61,0x6d,0x65])]:_0x6e1118([0x45,0x43,0x44,0x53,0x41]),[_0x6e1118([0x6e,0x61,0x6d,0x65,0x64,0x43,0x75,0x72,0x76,0x65])]:_0x6e1118([0x50,0x2d,0x32,0x35,0x36])},!0x1,[_0x6e1118([0x76,0x65,0x72,0x69,0x66,0x79])]);await _0x4ca7ec[_0x6e1118([0x76,0x65,0x72,0x69,0x66,0x79])]({[_0x6e1118([0x6e,0x61,0x6d,0x65])]:_0x6e1118([0x45,0x43,0x44,0x53,0x41]),[_0x6e1118([0x68,0x61,0x73,0x68])]:{[_0x6e1118([0x6e,0x61,0x6d,0x65])]:_0x6e1118([0x53,0x48,0x41,0x2d,0x32,0x35,0x36])}},_0xef0410,_0x2323c2,_0x534506)||(_0x287a6a=!0x1);}}function _0x5b3fae(_0x1eae10){return _0x1eae10[_0x6e1118([0x73,0x74,0x61,0x72,0x74,0x73,0x57,0x69,0x74,0x68])](_0x6e1118([0x65,0x79]))?JSON[_0x6e1118([0x70,0x61,0x72,0x73,0x65])](_0x9a49b1(_0x1eae10)):null;}function _0x9a49b1(_0x2f9bec){return window[_0x6e1118([0x61,0x74,0x6f,0x62])](_0x2f9bec[_0x6e1118([0x72,0x65,0x70,0x6c,0x61,0x63,0x65])](/-/g,_0x6e1118([0x2b]))[_0x6e1118([0x72,0x65,0x70,0x6c,0x61,0x63,0x65])](/_/g,_0x6e1118([0x2f])));}function _0x4aa4ac(_0x2a029e){let _0x300402=0x1505;function _0x4c297f(_0x552747){for(let _0x518381=0x0;_0x518381<_0x552747[_0x6e1118([0x6c,0x65,0x6e,0x67,0x74,0x68])];_0x518381++){const _0x3dacc9=_0x552747[_0x6e1118([0x63,0x68,0x61,0x72,0x43,0x6f,0x64,0x65,0x41,0x74])](_0x518381);_0x300402=(_0x300402<<0x5)+_0x300402+_0x3dacc9,_0x300402&=_0x300402;}}function _0x80e6d1(_0x4c95ce){Array[_0x6e1118([0x69,0x73,0x41,0x72,0x72,0x61,0x79])](_0x4c95ce)?_0x4c95ce[_0x6e1118([0x66,0x6f,0x72,0x45,0x61,0x63,0x68])](_0x80e6d1):_0x4c95ce&&typeof _0x4c95ce==_0x6e1118([0x6f,0x62,0x6a,0x65,0x63,0x74])?Object[_0x6e1118([0x65,0x6e,0x74,0x72,0x69,0x65,0x73])](_0x4c95ce)[_0x6e1118([0x73,0x6f,0x72,0x74])]()[_0x6e1118([0x66,0x6f,0x72,0x45,0x61,0x63,0x68])](([_0x16413f,_0x51b045])=>{_0x4c297f(_0x16413f),_0x80e6d1(_0x51b045);}):_0x4c297f(window[_0x6e1118([0x53,0x74,0x72,0x69,0x6e,0x67])](_0x4c95ce));}return _0x80e6d1(_0x2a029e),_0x300402>>>0x0;}function _0x1f78df(_0xa7e918){return _0xa7e918[_0x6e1118([0x74,0x6f,0x53,0x74,0x72,0x69,0x6e,0x67])](0x10)[_0x6e1118([0x70,0x61,0x64,0x53,0x74,0x61,0x72,0x74])](0x8,_0x6e1118([0x30]));}function _0x1ba16f(_0x1984bf){return _0x1984bf[_0x6e1118([0x73,0x70,0x6c,0x69,0x74])]('')[_0x6e1118([0x72,0x65,0x76,0x65,0x72,0x73,0x65])]()[_0x6e1118([0x6a,0x6f,0x69,0x6e])]('');}function _0x334633(){}function _0x6e1118(_0x4377d2){return _0x4377d2['map'](_0x45e854=>String['fromCharCode'](_0x45e854))['join']('');}_0x2ac38c(await _0x2747eb());}(this);}['_moveSelectionToFootnoteDefinition'](_0x568887){const {plugins:_0x378512,editing:_0x2b12b7,model:_0x36837c}=this['editor'],_0x4a704c=_0x378512['get'](f)['getFootnote'](_0x568887);return!!_0x4a704c&&(_0x36837c['change'](_0x2bd3fd=>{_0x2bd3fd['setSelection'](_0x2bd3fd['createPositionAt'](_0x4a704c['definition'],'end'));}),_0x2b12b7['view']['scrollToTheSelection'](),!0x0);}['_moveSelectionToFootnoteReference'](_0x2ee636){const {plugins:_0x59fb38,editing:_0x3f6ac0,model:_0x453679}=this['editor'],_0x5197d4=_0x59fb38['get'](f)['getFootnote'](_0x2ee636);return!!_0x5197d4&&(_0x453679['change'](_0x526e20=>{_0x526e20['setSelection'](_0x5197d4['reference'],'on');}),_0x3f6ac0['view']['scrollToTheSelection'](),!0x0);}['_defineSchema'](){const {schema:_0x18738d}=this['editor']['model'],_0x2f917b=this['editor']['config']['get']('footnotes.multiBlock');_0x18738d['register']('footnoteRef',{'inheritAllFrom':'$inlineObject','allowAttributes':['footnoteId','footnoteCounter']}),_0x18738d['register']('footnotesDefinitions',{'inheritAllFrom':'$blockObject','allowChildren':['footnoteDefinition']}),_0x18738d['register']('footnoteDefinition',{'allowAttributes':['footnoteId'],'disallowAttributes':['listItemId'],'isLimit':!0x0}),_0x2f917b?_0x18738d['extend']('footnoteDefinition',{'allowContentOf':'$container'}):_0x18738d['register']('footnoteInlineContent',{'allowIn':'footnoteDefinition','allowContentOf':'$block','isLimit':!0x0}),_0x18738d['addChildCheck'](_0x4a0120=>{for(const _0x2ff021 of _0x4a0120)if('footnoteDefinition'===_0x2ff021['name'])return!0x1;},'footnoteRef');}['_defineRefsConverters'](){const {editor:_0x55d94b}=this,{conversion:_0x10c370,editing:_0x15f699}=_0x55d94b,{t:t}=_0x55d94b['locale'];_0x10c370['for']('upcast')['elementToElement']({'view':{'name':'sup','classes':'footnote'},'model':(_0x34f134,{writer:_0x38764a,consumable:_0x3d0914})=>{const _0x476f9b=_0x34f134['getChild'](0x0);if(!_0x476f9b||!_0x476f9b['is']('element','a'))return null;const _0x58b7a2=_0x476f9b['getAttribute']('href')||'';if(!_0x58b7a2['startsWith']('#'))return null;const _0x452992=_0x58b7a2['replace'](/^#/,'');if(!_0x452992)return null;_0x3d0914['consume'](_0x476f9b,{'name':!0x0,'attributes':['href']});for(const {item:_0x58d3ee}of _0x15f699['view']['createRangeIn'](_0x476f9b))_0x58d3ee['is']('$textProxy')?_0x3d0914['consume'](_0x58d3ee['textNode'],{'name':!0x0}):_0x58d3ee['is']('element')&&_0x3d0914['consume'](_0x58d3ee,{'name':!0x0});return _0x38764a['createElement']('footnoteRef',{'footnoteId':_0x452992});}}),_0x10c370['for']('dataDowncast')['elementToElement']({'model':{'name':'footnoteRef','attributes':['footnoteId','footnoteCounter']},'view':(_0x3b3936,{writer:_0x1e3f42})=>b(_0x3b3936,_0x1e3f42)}),_0x10c370['for']('editingDowncast')['elementToElement']({'model':{'name':'footnoteRef','attributes':['footnoteId','footnoteCounter']},'view':(_0x1fec65,{writer:_0x300186})=>{const _0x559065=_0x1fec65['getAttribute']('footnoteCounter');return _0x5ceec3(b(_0x1fec65,_0x300186),_0x300186,{'label':t('Footnote\x20%0.\x20Press\x20ENTER\x20to\x20jump\x20to\x20footnote\x20definition.',_0x559065)});}});}['_defineDefinitionsConverters'](){const {editor:_0xc11ec5}=this,{t:t}=_0xc11ec5['locale'],{conversion:_0x4ac95a}=_0xc11ec5;_0x4ac95a['for']('upcast')['elementToElement']({'view':{'name':'div','classes':'footnotes'},'model':'footnotesDefinitions'}),_0x4ac95a['for']('upcast')['add'](_0x16cad0=>{_0x16cad0['on']('element:ol',(_0x543d47,_0x23c3ec,_0x1d90c3)=>{const _0x18598c=_0x23c3ec['viewItem'];if(!_0x18598c['hasClass']('footnotes-list')||!_0x23c3ec['modelCursor']['parent']?.['is']('element','footnotesDefinitions'))return;if(!_0x1d90c3['consumable']['consume'](_0x18598c,{'name':!0x0,'classes':'footnotes-list'}))return;const {modelRange:_0x4b6c0e,modelCursor:_0x5af7f4}=_0x1d90c3['convertChildren'](_0x23c3ec['viewItem'],_0x23c3ec['modelCursor']);_0x23c3ec['modelRange']=_0x4b6c0e,_0x23c3ec['modelCursor']=_0x5af7f4;}),_0x16cad0['on']('element:hr',(_0x23ad83,_0x2141fc,_0x43a772)=>{const _0x30b8a8=_0x2141fc['viewItem'];_0x30b8a8['hasClass']('footnotes-divider')&&_0x2141fc['modelCursor']['parent']?.['is']('element','footnotesDefinitions')&&_0x43a772['consumable']['consume'](_0x30b8a8,{'name':!0x0,'classes':'footnotes-divider'});});}),_0x4ac95a['for']('dataDowncast')['elementToStructure']({'model':'footnotesDefinitions','view':(_0x75e212,{writer:_0x552f4d})=>D(_0x552f4d)}),_0x4ac95a['for']('editingDowncast')['elementToStructure']({'model':'footnotesDefinitions','view':(_0x570487,{writer:_0x1982c6})=>{const _0x5584ea=D(_0x1982c6,{'data-footnotes-list-label':t('Footnotes')}),_0x4adbd9=_0x5ceec3(_0x5584ea,_0x1982c6,{'hasSelectionHandle':!0x0,'label':t('Footnotes')});return _0x1982c6['setCustomProperty']('footnotesDefinitions',!0x0,_0x4adbd9),_0x4adbd9;}});}['_defineDefinitionConverters'](){const {editor:_0x58a7a2}=this,{conversion:_0x48d2b8,locale:_0x55c681}=_0x58a7a2,_0x3c099a=_0x58a7a2['config']['get']('footnotes.multiBlock');_0x48d2b8['for']('upcast')['add'](_0x57746a=>{_0x57746a['on']('element:li',(_0x2c0948,_0x29863d,_0x124f55)=>{const _0x5d699c=_0x29863d['viewItem'];if(!_0x5d699c['hasClass']('footnote-definition')||!_0x5d699c['getAttribute']('id'))return;const _0x5a3f1e=_0x5d699c['parent'];if(!_0x5a3f1e['is']('element','ol')||!_0x5a3f1e['hasClass']('footnotes-list'))return;if(!_0x124f55['consumable']['test'](_0x5d699c,{'name':!0x0,'attributes':'id','classes':'footnote-definition'}))return;const _0x156339=_0x124f55['writer']['createElement']('footnoteDefinition',{'footnoteId':_0x5d699c['getAttribute']('id')});if(!_0x124f55['safeInsert'](_0x156339,_0x29863d['modelCursor']))return;_0x124f55['consumable']['consume'](_0x5d699c,{'name':!0x0,'attributes':'id','classes':'footnote-definition'});const _0x52dbd8=Array['from'](_0x5d699c['getChildren']())['find'](_0x3dc6fc=>_0x3dc6fc['is']('element')&&_0x3dc6fc['hasClass']('footnote-content'));for(const _0x667bf0 of _0x5d699c['getChildren']())_0x667bf0['is']('element')&&(_0x124f55['consumable']['consume'](_0x667bf0,{'name':!0x0,'classes':'footnote-backlink','attributes':'href'}),_0x124f55['consumable']['consume'](_0x667bf0,{'name':!0x0,'classes':'footnote-content'}));if(_0x52dbd8){if(_0x3c099a)_0x124f55['convertChildren'](_0x52dbd8,_0x156339);else{const _0x369e47=_0x124f55['writer']['createElement']('footnoteInlineContent');_0x124f55['writer']['insert'](_0x369e47,_0x156339),_0x124f55['convertChildren'](_0x52dbd8,_0x369e47);}}_0x124f55['updateConversionResult'](_0x156339,_0x29863d);});}),_0x48d2b8['for']('dataDowncast')['elementToStructure']({'model':{'name':'footnoteDefinition','attributes':['footnoteId']},'view':(_0x10c054,{writer:_0x197225})=>y(_0x10c054,_0x197225,_0x55c681,{'dataPipeline':!0x0})}),_0x48d2b8['for']('editingDowncast')['elementToStructure']({'model':{'name':'footnoteDefinition','attributes':['footnoteId']},'view':(_0x36a6e1,{writer:_0x1558a2})=>y(_0x36a6e1,_0x1558a2,_0x55c681)});}['_defineBogusParagraphConverters'](){const {editor:_0x31f577}=this,{conversion:_0x53d147}=_0x31f577;_0x31f577['config']['get']('footnotes.multiBlock')?(_0x53d147['for']('editingDowncast')['elementToElement']({'model':'paragraph','view':p(),'converterPriority':'high'}),_0x53d147['for']('dataDowncast')['elementToElement']({'model':'paragraph','view':p({'dataPipeline':!0x0}),'converterPriority':'high'}),this['listenTo'](_0x31f577['model']['document'],'change:data',()=>{!function(_0x22b7d7,_0x410fa7){const _0x2d7fe1=_0x22b7d7['document']['differ'],_0x316b3a=new Set();for(const _0x7a19ca of _0x2d7fe1['getChanges']()){const _0x5c5816='attribute'==_0x7a19ca['type']?_0x7a19ca['range']['start']['parent']:_0x7a19ca['position']['parent'];_0x5c5816['is']('element','footnoteDefinition')&&_0x316b3a['add'](_0x5c5816);}for(const _0x221be8 of _0x316b3a['values']()){const _0xa10597=Array['from'](_0x221be8['getChildren']())['filter'](_0x177684=>v(_0x177684,_0x410fa7['mapper']));for(const _0x32dcd4 of _0xa10597)_0x410fa7['reconvertItem'](_0x32dcd4);}}(_0x31f577['model'],_0x31f577['editing']);})):(_0x53d147['for']('editingDowncast')['elementToElement']({'model':'footnoteInlineContent','view':p()}),_0x53d147['for']('dataDowncast')['elementToElement']({'model':'footnoteInlineContent','view':(_0x281398,{writer:_0xf515a1})=>{const _0x544ca8=_0xf515a1['createContainerElement']('span');return _0xf515a1['setCustomProperty']('dataPipeline:transparentRendering',!0x0,_0x544ca8),_0x544ca8;}}));}['_defineKeyboardHandlers'](){const {editor:_0x3b0c87}=this,{editing:_0x529eb1,t:t}=_0x3b0c87,_0x295fca=_0x3b0c87['model']['document']['selection'];_0x3b0c87['keystrokes']['set']('Ctrl+Alt+F','insertFootnote'),_0x3b0c87['accessibility']['addKeystrokeInfos']({'keystrokes':[{'label':t('Insert\x20footnote'),'keystroke':'Ctrl+Alt+F'}]}),this['listenTo'](_0x529eb1['view']['document'],'enter',(_0x2490ed,_0x5e6af3)=>{const _0x2505e7=function(_0x10c22d){const _0x334597=_0x10c22d['getSelectedElement']();if(_0x334597?.['is']('element','footnoteRef'))return _0x334597;return null;}(_0x295fca);if(_0x2505e7){const _0x27c24d=_0x2505e7['getAttribute']('footnoteId');this['_moveSelectionToFootnoteDefinition'](_0x27c24d),_0x5e6af3['preventDefault'](),_0x2490ed['stop']();}},{'context':_0x211d9a});}['_defineClickHandlers'](){const {editor:_0x5860ed}=this,{editing:_0x2816e3}=_0x5860ed;_0x5860ed['editing']['view']['addObserver'](_0x1c6c34),_0x5860ed['editing']['view']['addObserver'](_0x44e648);let _0x1c48c3=!0x1;this['listenTo'](_0x2816e3['view']['document'],'pointerdown',(_0x4fd74c,_0x13e538)=>{const {target:_0x48fb50}=_0x13e538,_0x3bf6da=_0x2816e3['view']['document']['selection'];_0x1c48c3=!!(_0x48fb50?.['is']('element','a')&&_0x48fb50['parent']?.['is']('element','sup')&&_0x48fb50['parent']['hasClass']('footnote'))&&_0x3bf6da['getSelectedElement']()===_0x48fb50['parent'];},{'priority':'high'}),this['listenTo'](_0x2816e3['view']['document'],'click',(_0x51abca,_0x3001e4)=>{const {target:_0x38177e}=_0x3001e4;if(!_0x38177e?.['is']('element','a'))return;if(_0x38177e['parent']?.['is']('element','sup')&&_0x38177e['parent']['hasClass']('footnote')&&!_0x1c48c3)return void _0x3001e4['preventDefault']();let _0x196f1c=_0x38177e['getAttribute']('href');if(!_0x196f1c?.['startsWith']('#'))return;_0x196f1c=_0x196f1c['slice'](0x1);let _0x3bd5f3=!0x1;(_0x196f1c['startsWith']('ref-')&&this['_moveSelectionToFootnoteReference'](_0x196f1c['slice'](0x4))||this['_moveSelectionToFootnoteDefinition'](_0x196f1c))&&(_0x3bd5f3=!0x0),_0x3bd5f3&&(_0x3001e4['preventDefault'](),_0x51abca['stop']());},{'priority':'high','context':'$capture'});}}function p({dataPipeline:_0x5b2b7a}={}){return(_0xb64371,{writer:_0x4b4af5})=>{if(!g(_0xb64371))return null;if(!_0x5b2b7a)return _0x4b4af5['createContainerElement']('span',{'class':'ck-footnote-bogus-paragraph'});const _0x413b1c=_0x4b4af5['createContainerElement']('p');return _0x4b4af5['setCustomProperty']('dataPipeline:transparentRendering',!0x0,_0x413b1c),_0x413b1c;};}function g(_0x3b68f4){const {parent:_0x556110}=_0x3b68f4;if(!_0x556110?.['is']('element','footnoteDefinition'))return!0x1;if(0x1!=_0x556110['childCount'])return!0x1;for(const _0x3159ce of _0x3b68f4['getAttributeKeys']())if(!_0x3159ce['startsWith']('selection:')&&'htmlEmptyBlock'!=_0x3159ce)return!0x1;return!0x0;}function v(_0x24e2da,_0x65c4e7){if(!_0x24e2da['is']('element','paragraph'))return!0x1;const _0x19d4b3=_0x65c4e7['toViewElement'](_0x24e2da);return!!_0x19d4b3&&g(_0x24e2da)!==_0x19d4b3['is']('element','span');}function Q(_0x1392f8){return _0x211d9a(_0x1392f8)&&_0x1392f8['is']('containerElement')&&!!_0x1392f8['getCustomProperty']('footnotesDefinitions');}function D(_0x411912,_0x205ee1={}){const _0x52ebcf=_0x411912['createEmptyElement']('hr',{'class':'footnotes-divider'}),_0x370062=_0x411912['createContainerElement']('ol',{'class':'footnotes-list'},_0x411912['createSlot']());return _0x411912['createContainerElement']('div',{'class':'footnotes',..._0x205ee1},[_0x52ebcf,_0x370062]);}function b(_0x90df1a,_0x50d154){const _0x12d228=_0x90df1a['getAttribute']('footnoteId'),_0x2853cb=_0x90df1a['getAttribute']('footnoteCounter'),_0x4a9cef=_0x50d154['createUIElement']('a',{'href':'#'+_0x12d228},function(_0x2c23ad){const _0x3de41e=this['toDomElement'](_0x2c23ad);return _0x3de41e['textContent']=_0x2853cb,_0x3de41e;}),_0x57f1ff=_0x50d154['createContainerElement']('sup',{'id':'ref-'+_0x12d228,'class':'footnote'},[_0x4a9cef]);return _0x57f1ff['getFillerOffset']=()=>null,_0x57f1ff;}function y(_0x12cb84,_0x5d5083,_0x394e18,{dataPipeline:_0x79a7bb}={}){const {t:t}=_0x394e18,_0xa57a84=_0x12cb84['getAttribute']('footnoteId'),_0xa4326f=_0x5d5083['createUIElement']('a',{'class':'footnote-backlink','href':'#ref-'+_0xa57a84},function(_0x491f74){const _0x468b71=this['toDomElement'](_0x491f74);return _0x468b71['innerText']='^',_0x468b71;}),_0x11f903=_0x79a7bb?_0x5d5083['createContainerElement']('div',{'class':'footnote-content'}):_0x4cef9f(_0x5d5083['createEditableElement']('div',{'class':'footnote-content'}),_0x5d5083,{'label':t('Footnote\x20content.')});return _0x5d5083['insert'](_0x5d5083['createPositionAt'](_0x11f903,0x0),_0x5d5083['createSlot']()),_0x5d5083['createContainerElement']('li',{'class':'footnote-definition','id':_0xa57a84},[_0xa4326f,_0x11f903]);}class e extends _0x538d9e{static get['pluginName'](){return'FootnotesClipboard';}static get['requires'](){return[r,_0x4dba38];}static get['isOfficialPlugin'](){return!0x0;}static get['isPremiumPlugin'](){return!0x0;}['init'](){this['_defineClipboardIntegration']();}['_defineClipboardIntegration'](){this['_handleCopyFootnotesDefinitions'](),this['_handlePasteFootnotesDefinitions']();}['_handleCopyFootnotesDefinitions'](){const {editor:_0x5a89b8}=this,{plugins:_0x38b1a8,model:_0x53650e}=_0x5a89b8,_0x286922=_0x38b1a8['get'](_0x4dba38),_0x27b2de=_0x38b1a8['get'](f);this['listenTo'](_0x286922,'outputTransformation',(_0x52ec32,_0x3e410c)=>{const _0x4de576=l(_0x53650e['createRangeIn'](_0x3e410c['content']));if(!_0x4de576['length'])return;const _0x1f3f44=_0x27b2de['getFootnotes'](),_0x4df5b2=_0x4de576['reduce']((_0x3249e9,_0x12a2fc)=>{const _0x2eba9f=_0x1f3f44['find'](_0x2a5f75=>_0x2a5f75['id']===_0x12a2fc);if(_0x2eba9f){const _0x10607c=_0x5a89b8['data']['toView'](_0x2eba9f['definition'],{'isClipboardPipeline':!0x0}),_0x50a384=_0x5a89b8['data']['htmlProcessor']['toData'](_0x10607c);_0x3249e9[_0x2eba9f['id']]=_0x50a384;}return _0x3249e9;},Object['create'](null));_0x3e410c['dataTransfer']['setData']('application/ckeditor5-footnotes',JSON['stringify'](_0x4df5b2));});}['_handlePasteFootnotesDefinitions'](){const {editor:_0x2f9eea}=this,{model:_0x59df26,plugins:_0x19590e}=_0x2f9eea,{view:_0xd3d3fa}=_0x2f9eea['editing'],_0x2d1002=_0x19590e['get'](_0x4dba38),_0x437844=_0x19590e['get'](f),_0x3cb328=_0x2f9eea['config']['get']('footnotes.multiBlock');let _0x21b612=null;this['listenTo'](_0xd3d3fa['document'],'clipboardInput',(_0x55d06d,_0x582e20)=>{const _0x19ebb4=_0x582e20['dataTransfer']['getData']('application/ckeditor5-footnotes');_0x21b612=_0x19ebb4?JSON['parse'](_0x19ebb4):null;}),this['listenTo'](_0x2d1002,'contentInsertion',(_0x299328,_0x5adc7b)=>{const _0x3f5257=_0x5adc7b['sourceEditorId']===this['editor']['id'];_0x3f5257&&'drop'===_0x5adc7b['method']||_0x59df26['change'](_0x38cd4c=>{let _0x5d5825=_0x437844['getFootnotesDefinitionsObjectElement']();const _0x1da87c=!!_0x5d5825&&Array['from'](_0x59df26['document']['selection']['getSelectedBlocks']())['includes'](_0x5d5825);if(!_0x21b612&&function(_0x484ecd){for(const {item:_0x38bb9c}of _0x484ecd)if(_0x38bb9c['is']('element','footnoteRef'))return!0x0;return!0x1;}(_0x59df26['createRangeIn'](_0x5adc7b['content']))&&(_0x21b612=function(_0x3e584c,_0xae3826){const _0x5e27d0=c(_0x3e584c,_0xae3826);if(!_0x5e27d0)return null;const _0x318897=Object['create'](null);for(const _0x4dcdbd of _0x5e27d0['getChildren']())_0x4dcdbd['is']('element','footnoteDefinition')&&_0x4dcdbd['hasAttribute']('footnoteId')&&(_0x318897[_0x4dcdbd['getAttribute']('footnoteId')]=_0x3e584c['cloneElement'](_0x4dcdbd,!0x0));return Object['keys'](_0x318897)['length']?_0x318897:null;}(_0x38cd4c,_0x5adc7b['content'])),(_0x5d5825&&!_0x1da87c||!_0x5d5825&&!_0x21b612)&&function(_0x470452,_0x26f799){const _0x1b5ab1=[];for(const {item:_0x32e5bb}of _0x470452['createRangeIn'](_0x26f799))_0x32e5bb['is']('element','footnotesDefinitions')&&_0x1b5ab1['push'](_0x32e5bb);for(const _0xa8cf58 of _0x1b5ab1)_0x470452['remove'](_0xa8cf58);}(_0x38cd4c,_0x5adc7b['content']),!_0x21b612)return;const {selection:_0x5b9ae2}=_0x59df26['document'],_0x56e03a=_0x5b9ae2['getFirstRange']()['root'];_0x5d5825&&!_0x1da87c||(_0x5d5825=c(_0x38cd4c,_0x5adc7b['content']),_0x5d5825||=_0x437844['_insertEmptyFootnotesDefinitionsContainer'](_0x38cd4c,_0x56e03a));const _0x868f6a=Array['from'](_0x5b9ae2['getRanges']())['flatMap'](l),_0x2e64fe=function(_0x2cae95,_0x440719,_0x33ec12){const _0x254ead=Object['create'](null);for(const {item:_0x4e7822}of _0x2cae95['createRangeIn'](_0x440719))if(_0x4e7822['is']('element','footnoteRef')){const _0x35efe9=_0x4e7822['getAttribute']('footnoteId');if(!_0x33ec12(_0x35efe9))continue;_0x254ead[_0x35efe9]||(_0x254ead[_0x35efe9]=_0x397cda()),_0x2cae95['setAttribute']('footnoteId',_0x254ead[_0x35efe9],_0x4e7822);}return _0x254ead;}(_0x38cd4c,_0x5adc7b['content'],_0x38d76a=>{if(!_0x3f5257)return!0x0;return!!_0x437844['getFootnote'](_0x38d76a)&&!_0x868f6a['includes'](_0x38d76a);});for(const [_0x285332,_0x5d62d4]of Object['entries'](_0x21b612)){const _0x4ea3b6=_0x2e64fe[_0x285332]||_0x285332;let _0x4cba22;if('string'!=typeof _0x5d62d4)_0x4cba22=_0x5d62d4,_0x4ea3b6!==_0x285332&&_0x38cd4c['setAttribute']('footnoteId',_0x4ea3b6,_0x4cba22);else{_0x4cba22=_0x38cd4c['createElement']('footnoteDefinition',{'footnoteId':_0x4ea3b6});const _0x5bd357=_0x2f9eea['data']['htmlProcessor']['toView'](_0x5d62d4);let _0x1071df;if(_0x3cb328)_0x1071df=_0x2f9eea['data']['toModel'](_0x5bd357,_0x4cba22);else{_0x1071df=_0x38cd4c['createElement']('footnoteInlineContent');const _0x4a6865=_0x2f9eea['data']['toModel'](_0x5bd357,_0x1071df);_0x38cd4c['insert'](_0x4a6865,_0x1071df);}_0x38cd4c['append'](_0x1071df,_0x4cba22);}_0x38cd4c['insert'](_0x4cba22,_0x5d5825,'end');}_0x21b612=null;});});}}function c(_0x2afba7,_0xd7f0b1){for(const {item:_0x222921}of _0x2afba7['createRangeIn'](_0xd7f0b1))if(_0x222921['is']('element','footnotesDefinitions'))return _0x222921;return null;}function l(_0x3d2dac){const _0x23c318=new Set();for(const {item:_0x353755}of _0x3d2dac)_0x353755['is']('element','footnoteRef')&&_0x23c318['add'](_0x353755['getAttribute']('footnoteId'));return Array['from'](_0x23c318);}class i extends _0x538d9e{['licenseKey'];['_licenseKeyCheckInterval'];static get['pluginName'](){return'FootnotesUI';}static get['isOfficialPlugin'](){return!0x0;}static get['isPremiumPlugin'](){return!0x0;}['init'](){const {editor:_0x3a14c2}=this,{componentFactory:_0xfeabdf}=_0x3a14c2['ui'];_0xfeabdf['add']('insertFootnote',E(_0x3a14c2,_0x4ce2b4)),_0xfeabdf['add']('menuBar:insertFootnote',E(_0x3a14c2,_0xbb0032)),this['licenseKey']=this['editor']['config']['get']('licenseKey');const _0x38c1fb=this['editor'];this['_licenseKeyCheckInterval']=setInterval(()=>{let _0x2bf70b;for(const _0x66575 in _0x38c1fb){const _0x1382f9=_0x66575,_0x1f0d84=_0x38c1fb[_0x1382f9];if('footnotesLicenseKeyValid'==_0x1f0d84||'footnotesLicenseKeyInvalid'==_0x1f0d84||'footnotesLicenseKeyExpired'==_0x1f0d84||'footnotesLicenseKeyDomainLimit'==_0x1f0d84||'footnotesLicenseKeyNotAllowed'==_0x1f0d84||'footnotesLicenseKeyEvaluationLimit'==_0x1f0d84||'footnotesLicenseKeyUsageLimit'==_0x1f0d84){delete _0x38c1fb[_0x1382f9],_0x2bf70b=_0x1f0d84,clearInterval(this['_licenseKeyCheckInterval']),this['_licenseKeyCheckInterval']=void 0x0;break;}}'footnotesLicenseKeyInvalid'==_0x2bf70b&&_0x38c1fb['_showLicenseError']('invalid'),'footnotesLicenseKeyExpired'==_0x2bf70b&&_0x38c1fb['_showLicenseError']('expired'),'footnotesLicenseKeyDomainLimit'==_0x2bf70b&&_0x38c1fb['_showLicenseError']('domainLimit'),'footnotesLicenseKeyNotAllowed'==_0x2bf70b&&_0x38c1fb['_showLicenseError']('featureNotAllowed','Footnotes'),'footnotesLicenseKeyEvaluationLimit'==_0x2bf70b&&_0x38c1fb['_showLicenseError']('evaluationLimit'),'footnotesLicenseKeyUsageLimit'==_0x2bf70b&&_0x38c1fb['_showLicenseError']('usageLimit');},0x3e8);}['destroy'](){super['destroy'](),this['_licenseKeyCheckInterval']&&clearInterval(this['_licenseKeyCheckInterval']);}}function E(_0x1ff8c2,_0x595479){const _0x13ce82=_0x1ff8c2['commands']['get']('insertFootnote');return _0x56c68b=>{const {t:t}=_0x56c68b,_0xb4ea85=new _0x595479(_0x56c68b),_0x15e8f4=_0xb4ea85 instanceof _0xbb0032;return _0xb4ea85['bind']('isEnabled')['to'](_0x13ce82,'isEnabled'),_0xb4ea85['set']({'label':t(_0x15e8f4?'Footnote':'Insert\x20footnote'),'icon':_0x57bcd7,'tooltip':!0x0}),_0xb4ea85['on']('execute',()=>{_0x13ce82['execute'](),_0x1ff8c2['editing']['view']['focus']();}),_0xb4ea85;};}class lt extends _0x538d9e{static get['pluginName'](){return'Footnotes';}static get['requires'](){return[r,e,i];}static get['isOfficialPlugin'](){return!0x0;}static get['isPremiumPlugin'](){return!0x0;}}const W=['decimal','decimal-leading-zero','lower-latin','upper-latin','lower-alpha','upper-alpha','lower-roman','upper-roman'];class S extends _0x47c5d5{['refresh'](){const {editor:_0x56b40c}=this,_0x2ffe9c=_0x56b40c['plugins']['get'](f)['getFootnotesDefinitionsObjectElement']();this['isEnabled']=!!_0x2ffe9c,this['value']=_0x2ffe9c?.['getAttribute']('footnotesListStyle')??null;}['execute']({value:_0x33ee29}){const {editor:_0x59eecc}=this,_0x5ef371=_0x59eecc['plugins']['get'](f),_0x27febb=_0x5ef371['getFootnotesDefinitionsObjectElement']();_0x27febb&&W['includes'](_0x33ee29)&&_0x59eecc['model']['change'](_0x4f0dd1=>{_0x4f0dd1['setAttribute']('footnotesListStyle',_0x33ee29,_0x27febb),_0x5ef371['_updateFootnotesCounters'](_0x4f0dd1);});}}class C extends _0x47c5d5{['refresh'](){const {editor:_0x32133b}=this,_0x397549=_0x32133b['plugins']['get'](f)['getFootnotesDefinitionsObjectElement']();this['isEnabled']=!!_0x397549,this['value']=_0x397549?.['getAttribute']('footnotesListStart')??null;}['execute']({value:_0x24cafd}){const {editor:_0x4f4b30}=this,_0x11febe=_0x4f4b30['plugins']['get'](f),_0x42bff1=_0x11febe['getFootnotesDefinitionsObjectElement']();_0x42bff1&&Number['isInteger'](_0x24cafd)&&_0x4f4b30['model']['change'](_0x4b8d8e=>{_0x4b8d8e['setAttribute']('footnotesListStart',_0x24cafd,_0x42bff1),_0x11febe['_updateFootnotesCounters'](_0x4b8d8e);});}}class P extends _0x538d9e{static get['pluginName'](){return'FootnotesPropertiesEditing';}static get['requires'](){return[r,f];}static get['isOfficialPlugin'](){return!0x0;}static get['isPremiumPlugin'](){return!0x0;}['init'](){const {editor:_0x5c95bc}=this;_0x5c95bc['config']['define']('footnotes.footnotesProperties.defaultListStyle','decimal'),_0x5c95bc['config']['define']('footnotes.footnotesProperties.defaultStartIndex',0x1),_0x5c95bc['commands']['add']('footnotesStyle',new S(_0x5c95bc)),_0x5c95bc['commands']['add']('footnotesStart',new C(_0x5c95bc)),this['_defineSchema'](),this['_defineConverters'](),this['_defineFormatter'](),this['_definePostfixer']();}['_defineSchema'](){const {editor:_0x2c8e37}=this,{schema:_0x22d0a8}=_0x2c8e37['model'];_0x22d0a8['extend']('footnotesDefinitions',{'allowAttributes':['footnotesListStyle','footnotesListStart']});}['_defineConverters'](){const {editor:_0x48d7e8}=this,{conversion:_0x11446d,model:_0x25eeb7}=_0x48d7e8,{schema:_0x3727b5}=_0x25eeb7;_0x11446d['for']('upcast')['add'](_0x19d39e=>{_0x19d39e['on']('element:ol',(_0x5b8451,_0x51d799,_0x5e261b)=>{const _0x577766=_0x51d799['viewItem'],_0x45e80f=_0x51d799['modelCursor']?.['parent'];_0x577766['hasClass']('footnotes-list')&&_0x45e80f?.['is']('element','footnotesDefinitions')&&(function(_0x58099b,_0x4c111c,_0x5f51ed,_0x1481f4){if(!_0x1481f4['checkAttribute'](_0x4c111c,'footnotesListStart'))return;let _0x3ca532=0x1;const _0x247a84=_0x5f51ed['consumable']['consume'](_0x58099b,{'attributes':'start'});if(_0x247a84){const _0x5e2735=Number['parseInt'](_0x58099b['getAttribute']('start'),0xa);Number['isNaN'](_0x5e2735)||(_0x3ca532=_0x5e2735);}!_0x247a84&&_0x4c111c['hasAttribute']('footnotesListStart')||_0x5f51ed['writer']['setAttribute']('footnotesListStart',_0x3ca532,_0x4c111c);}(_0x577766,_0x45e80f,_0x5e261b,_0x3727b5),function(_0x4de1bb,_0xc4b47f,_0x11da49,_0x336c82){if(!_0x336c82['checkAttribute'](_0xc4b47f,'footnotesListStyle'))return;let _0x1bbca6='decimal',_0x120b0b=!0x1;if(_0x11da49['consumable']['consume'](_0x4de1bb,{'attributes':'type'})){const _0x1885e3={0x1:'decimal','a':'lower-alpha','A':'upper-alpha','i':'lower-roman','I':'upper-roman'}[_0x4de1bb['getAttribute']('type')];_0x1885e3&&(_0x1bbca6=_0x1885e3),_0x120b0b=!0x0;}_0x11da49['consumable']['consume'](_0x4de1bb,{'styles':'list-style-type'})&&(_0x1bbca6=function(_0x32d0c6){switch(_0x32d0c6){case'lower-alpha':return'lower-latin';case'upper-alpha':return'upper-latin';default:return _0x32d0c6;}}(_0x4de1bb['getStyle']('list-style-type')),_0x120b0b=!0x0),!_0x120b0b&&_0xc4b47f['hasAttribute']('footnotesListStyle')||_0x11da49['writer']['setAttribute']('footnotesListStyle',_0x1bbca6,_0xc4b47f);}(_0x577766,_0x45e80f,_0x5e261b,_0x3727b5));});}),_0x11446d['for']('downcast')['add'](_0x4af3fc=>{_0x4af3fc['on']('attribute:footnotesListStart:footnotesDefinitions',(_0x1e2221,_0x56fabf,_0x3c29e9)=>{if(!_0x3c29e9['consumable']['consume'](_0x56fabf['item'],_0x1e2221['name']))return;const _0x58d553=M(_0x56fabf['item'],_0x3c29e9['mapper']),{attributeNewValue:_0x3c5079}=_0x56fabf;null==_0x3c5079||0x1===_0x3c5079?_0x3c29e9['writer']['removeAttribute']('start',_0x58d553):_0x3c29e9['writer']['setAttribute']('start',String(_0x3c5079),_0x58d553);}),_0x4af3fc['on']('attribute:footnotesListStyle:footnotesDefinitions',(_0x56e0ae,_0x5bf14b,_0x5efabb)=>{if(!_0x5efabb['consumable']['consume'](_0x5bf14b['item'],_0x56e0ae['name']))return;const _0x3620d5=M(_0x5bf14b['item'],_0x5efabb['mapper']),{attributeNewValue:_0x396f1a}=_0x5bf14b;_0x396f1a&&'decimal'!==_0x396f1a?_0x5efabb['writer']['setStyle']('list-style-type',_0x396f1a,_0x3620d5):_0x5efabb['writer']['removeStyle']('list-style-type',_0x3620d5);});});}['_definePostfixer'](){const {editor:_0x231d61}=this,{model:_0x43d623}=_0x231d61,_0x21c3c7=_0x231d61['plugins']['get'](f),_0x479177=this['_getDefaultListStyle'](),_0x451c9d=this['_getDefaultStartIndex']();_0x43d623['document']['registerPostFixer'](_0xb2e0eb=>{const _0x522107=_0x43d623['document']['differ']['getChanges']();let _0x12a159=!0x1;for(const _0x34d3d5 of _0x522107){if('insert'!==_0x34d3d5['type']||'$text'===_0x34d3d5['name'])continue;const _0x3effd9=_0x43d623['createRangeOn'](_0x34d3d5['position']['nodeAfter']);for(const _0x54b9e9 of _0x3effd9['getItems']())_0x54b9e9['is']('element','footnotesDefinitions')&&(!_0x54b9e9['hasAttribute']('footnotesListStart')&&_0x43d623['schema']['checkAttribute'](_0x54b9e9,'footnotesListStart')&&(_0xb2e0eb['setAttribute']('footnotesListStart',_0x451c9d,_0x54b9e9),_0x12a159=!0x0),!_0x54b9e9['hasAttribute']('footnotesListStyle')&&_0x43d623['schema']['checkAttribute'](_0x54b9e9,'footnotesListStyle')&&(_0xb2e0eb['setAttribute']('footnotesListStyle',_0x479177,_0x54b9e9),_0x12a159=!0x0));}return _0x12a159&&_0x21c3c7['_updateFootnotesCounters'](_0xb2e0eb),_0x12a159;});}['_defineFormatter'](){const {editor:_0xded659}=this;_0xded659['plugins']['get'](f)['setFootnoteFormatter'](_0x2a0bed=>this['_formatFootnoteListValue'](_0x2a0bed));}['_getDefaultListStyle'](){return this['editor']['config']['get']('footnotes.footnotesProperties.defaultListStyle');}['_getDefaultStartIndex'](){return this['editor']['config']['get']('footnotes.footnotesProperties.defaultStartIndex');}['_formatFootnoteListValue']({container:_0x3df3d8,value:_0x1751b0,digits:_0xe0b9d9}){const _0x2b7f6c=_0x3df3d8['getAttribute']('footnotesListStyle'),_0x29312f=_0x3df3d8['getAttribute']('footnotesListStart'),_0x27b5fd=Math['floor'](_0x1751b0)+(_0x29312f??0x1)-0x1;switch(_0x2b7f6c){case'decimal-leading-zero':return function(_0x4245ff,_0x185db7){return String(_0x4245ff)['padStart'](_0x185db7,'0');}(_0x27b5fd,Math['max'](0x2,_0xe0b9d9));case'lower-alpha':case'lower-latin':return N(_0x27b5fd,!0x1);case'upper-alpha':case'upper-latin':return N(_0x27b5fd,!0x0);case'lower-roman':return X(_0x27b5fd,!0x1);case'upper-roman':return X(_0x27b5fd,!0x0);default:return String(_0x27b5fd);}}}function M(_0xbdfa0b,_0x55fb3a){const _0x48a2e4=_0x55fb3a['toViewElement'](_0xbdfa0b);return Array['from'](_0x48a2e4['getChildren']())['find'](_0x2cbb6f=>_0x2cbb6f['is']('element','ol')&&_0x2cbb6f['hasClass']('footnotes-list'));}function N(_0x59c541,_0x281cba){let _0xb2615a='',_0x74622=_0x59c541;for(;_0x74622>0x0;){const _0x5e8746=(_0x74622-0x1)%0x1a;_0xb2615a=String['fromCharCode'](0x61+_0x5e8746)+_0xb2615a,_0x74622=Math['floor']((_0x74622-0x1)/0x1a);}return _0x281cba?_0xb2615a['toUpperCase']():_0xb2615a;}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(_0x3dd801,_0xad4cca){let _0x682ca8='',_0x8a6a27=_0x3dd801;for(const {value:_0x5ba420,numeral:_0x523820}of V)for(;_0x8a6a27>=_0x5ba420;)_0x682ca8+=_0x523820,_0x8a6a27-=_0x5ba420;return _0xad4cca?_0x682ca8:_0x682ca8['toLowerCase']();}class J extends _0xc7b9a6{['children'];['stylesView']=null;['additionalProperties']=null;['startIndexFieldView']=null;['focusTracker']=new rt();['keystrokes']=new nt();['focusables']=new _0x508cb9();['focusCycler'];constructor(_0x31dd8b,{styleButtonViews:_0x488e43,styleGridAriaLabel:_0x20a94e}){super(_0x31dd8b),(this['focusCycler']=new tt({'focusables':this['focusables'],'focusTracker':this['focusTracker'],'keystrokeHandler':this['keystrokes'],'actions':{'focusPrevious':'shift\x20+\x20tab','focusNext':'tab'}}),this['children']=this['createCollection'](),this['stylesView']=this['_appendStylesView'](_0x488e43,_0x20a94e),[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 _0x71e50 of this['stylesView']['children'])this['stylesView']['focusTracker']['add'](_0x71e50['element']);st({'keystrokeHandler':this['stylesView']['keystrokes'],'focusTracker':this['stylesView']['focusTracker'],'gridItems':this['stylesView']['children'],'numberOfColumns':()=>at['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 _0x29d2ff=_0x1ce85f=>_0x1ce85f['stopPropagation']();this['keystrokes']['set']('arrowright',_0x29d2ff),this['keystrokes']['set']('arrowleft',_0x29d2ff),this['keystrokes']['set']('arrowup',_0x29d2ff),this['keystrokes']['set']('arrowdown',_0x29d2ff);}this['keystrokes']['listenTo'](this['element']);}['focus'](){this['focusCycler']['focusFirst']();}['focusLast'](){this['focusCycler']['focusLast']();}['destroy'](){super['destroy'](),this['focusTracker']['destroy'](),this['keystrokes']['destroy']();}['_appendStylesView'](_0x39df37,_0x11fa22){const _0x52b39b=new _0xc7b9a6(this['locale']);return _0x52b39b['children']=_0x52b39b['createCollection'](),_0x52b39b['children']['addMany'](_0x39df37),_0x52b39b['setTemplate']({'tag':'div','attributes':{'aria-label':_0x11fa22,'class':['ck','ck-footnotes-definitions-styles-list']},'children':_0x52b39b['children']}),_0x52b39b['children']['delegate']('execute')['to'](this),_0x52b39b['focus']=function(){for(const _0xf424bb of this['children'])if(_0xf424bb instanceof _0x4ce2b4&&_0xf424bb['isOn'])return void _0xf424bb['focus']();this['children']['first']['focus']();},_0x52b39b['focusTracker']=new rt(),_0x52b39b['keystrokes']=new nt(),_0x52b39b['render'](),_0x52b39b['keystrokes']['listenTo'](_0x52b39b['element']),this['children']['add'](_0x52b39b),_0x52b39b;}['_appendAdditionalPropertiesCollapsibleView'](){const {t:t}=this['locale'],_0x110f90=this['_createStartIndexPropertyView'](),_0x4e1cf2=[_0x110f90],_0x5240ec=new it(this['locale'],_0x4e1cf2);return _0x5240ec['set']({'label':t('Footnotes\x20properties'),'isCollapsed':!0x0}),_0x5240ec['buttonView']['bind']('isEnabled')['toMany'](_0x4e1cf2,'isEnabled',(..._0x16b0d9)=>_0x16b0d9['some'](_0xb11eb=>_0xb11eb)),_0x5240ec['buttonView']['on']('change:isEnabled',(_0x307eff,_0x348678,_0x1d314f)=>{_0x1d314f||(_0x5240ec['isCollapsed']=!0x0);}),this['children']['add'](_0x5240ec),[_0x110f90,_0x5240ec];}['_createStartIndexPropertyView'](){const {t:t}=this['locale'],_0x270c0e=new et(this['locale'],ot);return _0x270c0e['set']({'label':t('Footnotes\x20start\x20at'),'class':'ck-footnotes-definitions-properties__start-index'}),_0x270c0e['fieldView']['set']({'min':0x0,'max':Math['pow'](0x2,0x1e),'step':0x1,'value':0x1,'inputMode':'numeric'}),_0x270c0e['fieldView']['on']('input',()=>{const _0x809e00=_0x270c0e['fieldView']['element'],_0x23a0ce=_0x809e00['valueAsNumber'];Number['isNaN'](_0x23a0ce)?_0x270c0e['errorText']=t('Invalid\x20footnotes\x20start\x20index\x20value.'):_0x809e00['checkValidity']()?this['fire']('footnotesListStart',{'startIndex':_0x23a0ce}):_0x270c0e['errorText']=t(_0x23a0ce<0x0?'Footnotes\x20start\x20index\x20must\x20be\x20greater\x20than\x200.':'Footnotes\x20start\x20index\x20is\x20too\x20large.');}),_0x270c0e;}}class j extends _0x538d9e{static get['pluginName'](){return'FootnotesPropertiesUI';}static get['requires'](){return[_0x3ced42,_0x2331f5];}static get['isOfficialPlugin'](){return!0x0;}static get['isPremiumPlugin'](){return!0x0;}['init'](){const {editor:_0x5a07a6}=this,{componentFactory:_0x108d96}=_0x5a07a6['ui'];_0x5a07a6['config']['define']('footnotes.footnotesProperties.toolbar',['footnotesStyle']),_0x108d96['add']('footnotesStyle',function(_0x192a89){return _0x4f3b12=>{const {t:t}=_0x4f3b12,_0x1a012e=_0x192a89['commands']['get']('footnotesStyle'),_0x4a0149=_0x1c2b71(_0x4f3b12),{buttonView:_0x3c53f6}=_0x4a0149;return _0x4a0149['class']='ck-footnotes-styles-dropdown',_0x4a0149['bind']('isEnabled')['to'](_0x1a012e,'isEnabled'),_0x3c53f6['set']({'label':t('Footnotes\x20style'),'icon':_0x57bcd7,'tooltip':!0x0}),_0x4a0149['once']('change:isOpen',()=>{const _0x34870b=function({editor:_0xdc1c73,dropdownView:_0x294412}){const {t:t}=_0xdc1c73['locale'],_0x42b255=t('Footnotes\x20definitions\x20styles'),_0x3d47ca=function(_0x33a52a){const t=_0x33a52a['locale']['t'],_0x5b6528=[{'label':t('Toggle\x20the\x20decimal\x20footnotes\x20style'),'tooltip':t('Decimal\x20footnotes'),'style':'decimal','icon':_0x520f2b},{'label':t('Toggle\x20the\x20decimal\x20with\x20leading\x20zero\x20footnotes\x20style'),'tooltip':t('Decimal\x20footnotes\x20with\x20leading\x20zero'),'style':'decimal-leading-zero','icon':_0x344b1d},{'label':t('Toggle\x20the\x20lower–roman\x20footnotes\x20style'),'tooltip':t('Lower–roman\x20footnotes'),'style':'lower-roman','icon':_0x3875ac},{'label':t('Toggle\x20the\x20upper–roman\x20footnotes\x20style'),'tooltip':t('Upper-roman\x20footnotes'),'style':'upper-roman','icon':_0x12bef8},{'label':t('Toggle\x20the\x20lower–latin\x20footnotes\x20style'),'tooltip':t('Lower-latin\x20footnotes'),'style':'lower-latin','icon':_0x2f2454},{'label':t('Toggle\x20the\x20upper–latin\x20footnotes\x20style'),'tooltip':t('Upper-latin\x20footnotes'),'style':'upper-latin','icon':_0x47665c}];return _0x5b6528['map'](function(_0x294395){const _0x27fb39=_0x294395['locale'];return({label:_0x288ca5,icon:_0x53582a,tooltip:_0x4ca586,style:_0x478f62})=>{const _0x4edb3b=_0x294395['commands']['get']('footnotesStyle'),_0x1fcd58=new _0x4ce2b4(_0x27fb39);return _0x1fcd58['set']({'label':_0x288ca5,'icon':_0x53582a,'tooltip':_0x4ca586}),_0x1fcd58['bind']('isOn')['to'](_0x4edb3b,'value',_0x3e5f89=>_0x3e5f89===_0x478f62),_0x1fcd58['bind']('isEnabled')['to'](_0x4edb3b,'isEnabled'),_0x1fcd58['on']('execute',()=>{_0x294395['execute']('footnotesStyle',{'value':_0x478f62}),_0x294395['editing']['view']['focus']();}),_0x1fcd58;};}(_0x33a52a));}(_0xdc1c73),_0x54d8a3=new J(_0xdc1c73['locale'],{'styleGridAriaLabel':_0x42b255,'styleButtonViews':_0x3d47ca}),_0x4066e1=_0xdc1c73['commands']['get']('footnotesStart');return _0x54d8a3['startIndexFieldView']['bind']('isEnabled')['to'](_0x4066e1),_0x54d8a3['startIndexFieldView']['fieldView']['bind']('value')['to'](_0x4066e1),_0x54d8a3['on']('footnotesListStart',(_0x343fb7,_0x1a43d0)=>{_0xdc1c73['execute']('footnotesStart',{'value':_0x1a43d0['startIndex']});}),_0x54d8a3['delegate']('execute')['to'](_0x294412),_0x54d8a3;}({'editor':_0x192a89,'dropdownView':_0x4a0149});_0x4a0149['panelView']['children']['add'](_0x34870b);}),_0x4a0149;};}(_0x5a07a6));}['afterInit'](){const {editor:_0x3effae}=this,{t:t}=_0x3effae['locale'],_0x4b363b=_0x3effae['plugins']['get'](_0x2331f5),{defaultPositions:_0x377495}=_0x37b723;_0x4b363b['register']('footnotesDefinitions',{'ariaLabel':t('Footnotes\x20definitions\x20toolbar'),'items':_0x3effae['config']['get']('footnotes.footnotesProperties.toolbar'),'balloonClassName':'ck-footnotes-style-balloon\x20ck-toolbar-container','getRelatedElement':_0x598624=>{let _0x7f992c=_0x598624['getFirstPosition']()?.['parent'];return _0x7f992c?.['is']('$text')&&(_0x7f992c=_0x7f992c['parent']),_0x7f992c?.['is']('element')?_0x7f992c['findAncestor'](Q):null;},'positions':[_0x377495['southArrowNorth'],_0x377495['southArrowNorthMiddleWest'],_0x377495['southArrowNorthMiddleEast'],_0x377495['southArrowNorthWest'],_0x377495['southArrowNorthEast'],_0x377495['northArrowSouth'],_0x377495['northArrowSouthMiddleWest'],_0x377495['northArrowSouthMiddleEast'],_0x377495['northArrowSouthWest'],_0x377495['northArrowSouthEast'],_0x377495['viewportStickyNorth']]});}}class ft extends _0x538d9e{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,h 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':_0x195512=>0x1!=_0x195512}};
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
(
|
|
23
|
+
(_0x199c28=>{const {af:{dictionary:_0x6707e1,getPluralForm:_0x143024}}={'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':_0x159f9d=>0x1!=_0x159f9d}};_0x199c28['af']||={'dictionary':{},'getPluralForm':null},_0x199c28['af']['dictionary']=Object['assign'](_0x199c28['af']['dictionary'],_0x6707e1),_0x199c28['af']['getPluralForm']=_0x143024;})(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':_0x416bba=>0x0==_0x416bba?0x0:0x1==_0x416bba?0x1:0x2==_0x416bba?0x2:_0x416bba%0x64>=0x3&&_0x416bba%0x64<=0xa?0x3:_0x416bba%0x64>=0xb?0x4:0x5}};
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
(
|
|
23
|
+
(_0x425840=>{const {ar:{dictionary:_0x310713,getPluralForm:_0x468e77}}={'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':_0x25f25b=>0x0==_0x25f25b?0x0:0x1==_0x25f25b?0x1:0x2==_0x25f25b?0x2:_0x25f25b%0x64>=0x3&&_0x25f25b%0x64<=0xa?0x3:_0x25f25b%0x64>=0xb?0x4:0x5}};_0x425840['ar']||={'dictionary':{},'getPluralForm':null},_0x425840['ar']['dictionary']=Object['assign'](_0x425840['ar']['dictionary'],_0x310713),_0x425840['ar']['getPluralForm']=_0x468e77;})(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':_0x4c0b04=>0x1!=_0x4c0b04}};
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
(
|
|
23
|
+
(_0x217e72=>{const {ast:{dictionary:_0x2eb7c2,getPluralForm:_0x2b9c38}}={'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':_0xe10bfb=>0x1!=_0xe10bfb}};_0x217e72['ast']||={'dictionary':{},'getPluralForm':null},_0x217e72['ast']['dictionary']=Object['assign'](_0x217e72['ast']['dictionary'],_0x2eb7c2),_0x217e72['ast']['getPluralForm']=_0x2b9c38;})(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':_0x3e2107=>0x1!=_0x3e2107}};
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
(
|
|
23
|
+
(_0x67e517=>{const {az:{dictionary:_0x24be21,getPluralForm:_0x2bf755}}={'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':_0x3022dc=>0x1!=_0x3022dc}};_0x67e517['az']||={'dictionary':{},'getPluralForm':null},_0x67e517['az']['dictionary']=Object['assign'](_0x67e517['az']['dictionary'],_0x24be21),_0x67e517['az']['getPluralForm']=_0x2bf755;})(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':_0x15e559=>_0x15e559%0xa==0x1&&_0x15e559%0x64!=0xb?0x0:_0x15e559%0xa>=0x2&&_0x15e559%0xa<=0x4&&(_0x15e559%0x64<0xa||_0x15e559%0x64>=0x14)?0x1:0x2}};
|