@ckeditor/ckeditor5-footnotes 0.0.0-nightly-20251205.0 → 0.0.0-nightly-20251206.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 _0x3263b6,Command as _0x390675}from'@ckeditor/ckeditor5-core/dist/index.js';import{toWidget as _0x58422d,isWidget as _0x54c03d,toWidgetEditable as _0x5abf7f,WidgetToolbarRepository as _0x1d7021}from'@ckeditor/ckeditor5-widget/dist/index.js';import{uid as _0x1c4e41,logWarning as _0x4e7b2a,FocusTracker as ot,KeystrokeHandler as rt,global as nt}from'@ckeditor/ckeditor5-utils/dist/index.js';import{PointerObserver as _0x39f5a2,ClickObserver as _0x2d1ad5}from'@ckeditor/ckeditor5-engine/dist/index.js';import{ClipboardPipeline as _0x500ebe}from'@ckeditor/ckeditor5-clipboard/dist/index.js';import{MenuBarMenuListItemButtonView as _0x9fabdf,ButtonView as _0xa80dc1,View as _0x425827,ViewCollection as _0x482a02,FocusCycler as _0x5b8f14,addKeyboardHandlingForGrid as tt,CollapsibleView as st,LabeledFieldView as it,createLabeledInputNumber as et,ContextualBalloon as _0x5d26d8,BalloonPanelView as _0x162d1c,createDropdown as _0x30f580}from'@ckeditor/ckeditor5-ui/dist/index.js';import{IconFootnote as _0x2db4f8,IconListStyleDecimal as _0x173ec3,IconListStyleDecimalLeadingZero as _0x36e591,IconListStyleLowerRoman as _0x5efc48,IconListStyleUpperRoman as _0x526c34,IconListStyleLowerLatin as _0x5e7c46,IconListStyleUpperLatin as _0x526891}from'@ckeditor/ckeditor5-icons/dist/index.js';class F{['_model'];['_elementName'];['_getElementKey'];['_trackedElements']=new Map();constructor(_0x3685cd,_0x19b349){this['_model']=_0x3685cd,this['_elementName']=_0x19b349['elementName'],this['_getElementKey']=_0x19b349['getElementKey'];}['reset'](){this['_trackedElements']['clear']();}['getChanges'](_0x16e1c6){const _0x371d3a=new Set(),_0x323632=new Map();for(const _0x170b89 of _0x16e1c6){if('insert'===_0x170b89['type']&&'$text'!==_0x170b89['name']&&_0x170b89['position']['nodeAfter']){const _0x2cfabd=this['_model']['createRangeOn'](_0x170b89['position']['nodeAfter']);for(const _0x23c6c9 of _0x2cfabd['getItems']()){if(!_0x23c6c9['is']('element',this['_elementName']))continue;const _0x5b693f=this['_getElementKey'](_0x23c6c9);_0x323632['has'](_0x5b693f)||_0x323632['set'](_0x5b693f,[]),_0x323632['get'](_0x5b693f)['push'](_0x23c6c9);}}if('remove'===_0x170b89['type']&&_0x170b89['name']===this['_elementName']){const _0x353b69=this['_getElementKey']({'getAttribute':_0x34332f=>_0x170b89['attributes']['get'](_0x34332f)});_0x371d3a['add'](_0x353b69);}}for(const [_0x242d65,_0x3b0358]of this['_trackedElements'])'$graveyard'===_0x3b0358['root']['rootName']&&_0x371d3a['add'](_0x242d65);for(const _0x1401de of _0x371d3a)this['_trackedElements']['delete'](_0x1401de);for(const [_0x2c8ec9,_0x3fddc9]of _0x323632)this['_trackedElements']['set'](_0x2c8ec9,_0x3fddc9[_0x3fddc9['length']-0x1]);const _0x280543=new Set();for(const [_0x2a290b,_0x4563a5]of _0x323632)_0x371d3a['has'](_0x2a290b)&&(_0x280543['add'](_0x4563a5[0x0]),_0x4563a5['length']>0x1?_0x323632['set'](_0x2a290b,_0x4563a5['slice'](0x1)):_0x323632['delete'](_0x2a290b),_0x371d3a['delete'](_0x2a290b));return{'removed':Array['from'](_0x371d3a),'inserted':Array['from'](_0x323632['values']())['flat'](),'moved':Array['from'](_0x280543)};}}class f extends _0x3263b6{['_footnotes']=[];['_footnotesDefinitions']=null;['_footnoteFormatter']=null;['_footnoteDefsContainerTracker'];['_footnoteRefsTracker'];['_footnoteDefsTracker'];static get['pluginName'](){return'FootnotesTracker';}static get['isOfficialPlugin'](){return!0x0;}static get['isPremiumPlugin'](){return!0x0;}constructor(_0x538365){super(_0x538365),this['_footnoteDefsContainerTracker']=new F(this['editor']['model'],{'elementName':'footnotesDefinitions','getElementKey':()=>'singleton'}),this['_footnoteRefsTracker']=new F(this['editor']['model'],{'elementName':'footnoteRef','getElementKey':_0x33485b=>_0x33485b['getAttribute']('footnoteId')}),this['_footnoteDefsTracker']=new F(this['editor']['model'],{'elementName':'footnoteDefinition','getElementKey':_0x3fc6fa=>_0x3fc6fa['getAttribute']('footnoteId')});}['init'](){const {editor:_0x3a0136}=this,{model:_0x1e0a5d,data:_0x5c4b61}=_0x3a0136;_0x1e0a5d['document']['registerPostFixer'](_0xc6b38c=>{const _0x172030=_0x1e0a5d['document']['differ']['getChanges']();let _0x4e239d=!0x1;return this['_handleFootnotesDefinitionsObjectChanges'](_0xc6b38c,_0x172030)&&(_0x4e239d=!0x0),this['_handleFootnoteDefinitionsChanges'](_0xc6b38c,_0x172030)&&(_0x4e239d=!0x0),this['_handleFootnoteReferencesChanges'](_0xc6b38c,_0x172030)&&(_0x4e239d=!0x0),this['_ensureFootnotesReferencesHaveProperOrder'](_0xc6b38c)&&(_0x4e239d=!0x0),this['_handleFootnotesDefinitionsObjectSync'](_0xc6b38c)&&(_0x4e239d=!0x0),this['_sortFootnoteDefinitions'](_0xc6b38c)&&(_0x4e239d=!0x0),_0x4e239d;}),this['listenTo'](_0x1e0a5d['document'],'change:data',()=>{_0x1e0a5d['enqueueChange']({'isUndoable':!0x1},_0x41346c=>{this['_ensureFootnotesDefinitionsContainerExists'](_0x41346c);});},{'priority':'low'}),this['listenTo'](_0x5c4b61,'set',()=>{this['_footnotes']=[],this['_footnoteDefsContainerTracker']['reset'](),this['_footnoteRefsTracker']['reset'](),this['_footnoteDefsTracker']['reset']();},{'priority':'high'});}['getFootnotesDefinitionsObjectElement'](){return this['_footnotesDefinitions'];}['getFootnote'](_0x5b38be){return this['_footnotes']['find'](_0x4dad67=>_0x4dad67['id']===_0x5b38be)||null;}['getFootnotes'](){return Array['from'](this['_footnotes']);}['getFootnotesFormatter'](){return this['_footnoteFormatter'];}['setFootnoteFormatter'](_0x53397c){this['_footnoteFormatter']=_0x53397c;}['_updateFootnotesCounters'](_0xc332ac,_0x2eaa3e=0x0){let _0x3141cb=!0x1;for(let _0x5a0391=_0x2eaa3e;_0x5a0391<this['_footnotes']['length'];_0x5a0391++)this['_updateFootnoteRefCounter'](_0xc332ac,_0x5a0391)&&(_0x3141cb=!0x0);return _0x3141cb;}['_insertEmptyFootnotesDefinitionsContainer'](_0x3e9a05,_0x2858c9){const _0x5a245a=_0x3e9a05['createElement']('footnotesDefinitions',{});return _0x3e9a05['append'](_0x5a245a,_0x2858c9),this['_footnotesDefinitions']=_0x5a245a,_0x5a245a;}['_ensureFootnotesDefinitionsContainerExists'](_0x2fe20a){if(!this['_footnotes']['length']||this['_footnotesDefinitions'])return;const _0x7c97af=this['_footnotes'][0x0]['reference']['root'],_0x11cb30=this['_insertEmptyFootnotesDefinitionsContainer'](_0x2fe20a,_0x7c97af);for(const _0x1b45be of this['_footnotes'])_0x1b45be['definition']['parent']||_0x2fe20a['insert'](_0x1b45be['definition'],_0x11cb30,'end');this['_updateFootnotesCounters'](_0x2fe20a);}['_handleFootnotesDefinitionsObjectChanges'](_0x561bd8,_0x28b122){let _0x383a00=!0x1;const {inserted:_0x22d9ca,removed:_0x4cd46b,moved:_0x7f22a5}=this['_footnoteDefsContainerTracker']['getChanges'](_0x28b122);if(_0x7f22a5['length']&&(this['_footnotesDefinitions']=_0x7f22a5[0x0]),_0x22d9ca['length']){if(_0x22d9ca['length']>0x1||this['_footnotesDefinitions']&&_0x22d9ca['some'](_0x1927cc=>_0x1927cc!==this['_footnotesDefinitions'])){const _0x4d31b4=_0x561bd8['createElement']('footnotesDefinitions',{}),_0x52febf=[];this['_footnotesDefinitions']&&_0x52febf['push'](this['_footnotesDefinitions']),_0x52febf['push'](..._0x22d9ca),_0x561bd8['insert'](_0x4d31b4,_0x52febf[0x0],'before');for(const _0x5e3bd0 of _0x52febf)_0x561bd8['move'](_0x561bd8['createRangeIn'](_0x5e3bd0),_0x561bd8['createPositionAt'](_0x4d31b4,'end')),_0x561bd8['remove'](_0x5e3bd0);this['_footnotesDefinitions']=_0x4d31b4,this['_updateFootnotesCounters'](_0x561bd8),_0x383a00=!0x0;}else this['_footnotesDefinitions']=_0x22d9ca[0x0];}if(_0x4cd46b['length']&&'$graveyard'===this['_footnotesDefinitions']?.['root']['rootName']){for(const _0x39020b of this['_footnotes'])_0x561bd8['remove'](_0x39020b['reference']),_0x383a00=!0x0;this['_footnotes']=[],this['_footnotesDefinitions']=null;}return _0x383a00;}['_handleFootnoteDefinitionsChanges'](_0x23599a,_0x200418){let _0x1f552e=!0x1;const _0x4e121b=this['editor']['config']['get']('footnotes.multiBlock'),{inserted:_0x61d466,moved:_0x51ff00}=this['_footnoteDefsTracker']['getChanges'](_0x200418);for(const _0x205470 of[..._0x51ff00,..._0x61d466]){const _0x57a8cd=_0x205470['getAttribute']('footnoteId'),_0x566a69=this['getFootnote'](_0x57a8cd);_0x566a69&&(_0x566a69['definition']=_0x205470),_(_0x23599a,_0x4e121b,_0x205470)&&(_0x1f552e=!0x0);}return _0x1f552e;}['_handleFootnoteReferencesChanges'](_0x3fb207,_0x1d7eeb){let _0x534316=!0x1;const {removed:_0x582a30,inserted:_0x5a10ae,moved:_0x5c8b9d}=this['_footnoteRefsTracker']['getChanges'](_0x1d7eeb);for(const _0x122b59 of _0x582a30)this['_handleRemoveFootnoteReferenceById'](_0x3fb207,_0x122b59)&&(_0x534316=!0x0);for(const _0x3435ab of _0x5a10ae)this['_handleInsertedFootnoteReference'](_0x3fb207,_0x3435ab)&&(_0x534316=!0x0);for(const _0x30cc79 of _0x5c8b9d)this['_handleMovedFootnoteReference'](_0x3fb207,_0x30cc79)&&(_0x534316=!0x0);return _0x534316;}['_handleFootnotesDefinitionsObjectSync'](_0x586ae5){if(!this['_footnotesDefinitions'])return!0x1;let _0x2c46da=!0x1;if(this['_footnotesDefinitions']['childCount']!==this['_footnotes']['length']){const _0x162da5=[];for(const _0x16ba05 of this['_footnotesDefinitions']['getChildren']()){const _0x20b24a=_0x16ba05['getAttribute']('footnoteId');this['getFootnote'](_0x20b24a)||(_0x162da5['unshift'](_0x16ba05),_0x2c46da=!0x0);}for(const _0x3c0ccf of _0x162da5)_0x586ae5['remove'](_0x3c0ccf);}const _0x115531=new Set(),_0x351936=[];for(const _0x1231ea of this['_footnotesDefinitions']['getChildren']()){const _0x798976=_0x1231ea['getAttribute']('footnoteId');_0x115531['has'](_0x798976)?(_0x351936['unshift'](_0x1231ea),_0x2c46da=!0x0):_0x115531['add'](_0x798976);}for(const _0x45cde3 of _0x351936)_0x586ae5['remove'](_0x45cde3);return this['_footnotesDefinitions']['childCount']||(_0x586ae5['remove'](this['_footnotesDefinitions']),this['_footnotesDefinitions']=null,_0x2c46da=!0x0),_0x2c46da;}['_handleInsertedFootnoteReference'](_0x54ce92,_0x2160fd){if(this['_footnotes']['find'](_0x436034=>_0x436034['reference']===_0x2160fd))return!0x1;let _0x4d9c00=!0x1;const _0x4b1958=_0x2160fd['getAttribute']('footnoteId'),_0x26a80a=this['_footnotes']['findIndex'](_0x46b242=>_0x46b242['id']===_0x4b1958);-0x1!==_0x26a80a&&(_0x54ce92['remove'](this['_footnotes'][_0x26a80a]['reference']),this['_footnotes']['splice'](_0x26a80a,0x1),_0x4d9c00=!0x0);let _0x134893=this['_footnotesDefinitions']?function(_0x2a0a05,_0x1b44f8){for(const _0x234ba9 of _0x2a0a05['getChildren']())if(_0x234ba9['getAttribute']('footnoteId')===_0x1b44f8)return _0x234ba9;return null;}(this['_footnotesDefinitions'],_0x4b1958):null;_0x134893||(_0x134893=_0x54ce92['createElement']('footnoteDefinition',{'footnoteId':_0x4b1958}),this['_footnotesDefinitions']&&(_0x54ce92['insert'](_0x134893,this['_footnotesDefinitions'],'end'),_0x4d9c00=!0x0));const _0x48a195={'id':_0x4b1958,'reference':_0x2160fd,'definition':_0x134893},_0x42be38=I(this['editor']['model'],this['_footnotes'],_0x2160fd);this['_footnotes']['splice'](_0x42be38,0x0,_0x48a195);let _0x15d8c6=_0x42be38;return-0x1!==_0x26a80a&&(_0x15d8c6=Math['min'](_0x42be38,_0x26a80a)),this['_updateFootnotesCounters'](_0x54ce92,_0x15d8c6)&&(_0x4d9c00=!0x0),_0x4d9c00;}['_handleRemoveFootnoteReferenceById'](_0x1e35f9,_0x540561){const _0x5747a2=this['_footnotes']['findIndex'](_0x4fd68b=>_0x4fd68b['id']===_0x540561);if(-0x1===_0x5747a2)return!0x1;let _0x4fd042=!0x1;const _0x2cf9c3=this['_footnotes'][_0x5747a2];return'$graveyard'!==_0x2cf9c3['definition']['root']['rootName']&&(_0x1e35f9['remove'](_0x2cf9c3['definition']),_0x4fd042=!0x0),this['_footnotes']['splice'](_0x5747a2,0x1),this['_updateFootnotesCounters'](_0x1e35f9,_0x5747a2)&&(_0x4fd042=!0x0),_0x4fd042;}['_handleMovedFootnoteReference'](_0x296af,_0x414ddb){const _0x202400=_0x414ddb['getAttribute']('footnoteId'),_0x4cb5b7=this['_footnotes']['findIndex'](_0x3de81b=>_0x3de81b['id']===_0x202400),_0x2ef627=this['_footnotes'][_0x4cb5b7];let _0x1b93b9=!0x1;_0x2ef627['reference']=_0x414ddb,this['_footnotes']['splice'](_0x4cb5b7,0x1);const _0x361d13=I(this['editor']['model'],this['_footnotes'],_0x414ddb);return this['_footnotes']['splice'](_0x361d13,0x0,_0x2ef627),this['_updateFootnotesCounters'](_0x296af,Math['min'](_0x4cb5b7,_0x361d13))&&(_0x1b93b9=!0x0),_0x1b93b9;}['_updateFootnoteRefCounter'](_0x25c9e3,_0x1d6902){if(!this['_footnotesDefinitions'])return!0x1;const _0x239873=this['_footnotes'][_0x1d6902];let _0x336cf7;return _0x336cf7=this['_footnoteFormatter']?this['_footnoteFormatter']({'footnote':_0x239873,'container':this['_footnotesDefinitions'],'digits':String(this['_footnotes']['length'])['length'],'value':_0x1d6902+0x1}):String(_0x1d6902+0x1),_0x239873['reference']['getAttribute']('footnoteCounter')!=_0x336cf7&&(_0x25c9e3['setAttribute']('footnoteCounter',_0x336cf7,_0x239873['reference']),!0x0);}['_sortFootnoteDefinitions'](_0x4dafca){if(!this['_footnotesDefinitions']||this['_footnotes']['length']<0x2)return!0x1;if(function(_0x1b07e2,_0x3f17e9){if(_0x1b07e2['length']!==_0x3f17e9['length'])return!0x1;for(let _0x13da46=0x0;_0x13da46<_0x1b07e2['length'];_0x13da46++)if(_0x1b07e2[_0x13da46]!==_0x3f17e9[_0x13da46])return!0x1;return!0x0;}(this['_footnotes']['map'](_0x3984e7=>_0x3984e7['id']),Array['from'](this['_footnotesDefinitions']['getChildren']())['map'](_0x51ec4f=>_0x51ec4f['getAttribute']('footnoteId'))))return!0x1;let _0x352d36=!0x1;for(let _0x49ae3c=0x0;_0x49ae3c<this['_footnotes']['length'];_0x49ae3c++){const _0x17c5ec=this['_footnotes'][_0x49ae3c],_0x55e323=_0x4dafca['createPositionBefore'](_0x17c5ec['definition']),_0x573b31=_0x4dafca['createPositionAt'](this['_footnotesDefinitions'],_0x49ae3c);_0x55e323['isEqual'](_0x573b31)||(_0x4dafca['move'](_0x4dafca['createRangeOn'](_0x17c5ec['definition']),_0x573b31),_0x352d36=!0x0);}return _0x352d36;}['_ensureFootnotesReferencesHaveProperOrder'](_0x3c203d){if(!this['_footnotes']['length'])return!0x1;const {model:_0x502396}=this['editor'];let _0x1f1b55=!0x1;for(let _0x475ded=0x0;_0x475ded<this['_footnotes']['length']-0x1;_0x475ded++){const _0x4f42a4=this['_footnotes'][_0x475ded],_0x165a17=this['_footnotes'][_0x475ded+0x1],_0x55dc17=_0x502396['createPositionBefore'](_0x4f42a4['reference']),_0x5bf194=_0x502396['createPositionBefore'](_0x165a17['reference']);'after'===_0x55dc17['compareWith'](_0x5bf194)&&(this['_handleMovedFootnoteReference'](_0x3c203d,_0x4f42a4['reference']),_0x475ded=-0x1,_0x1f1b55=!0x0);}return _0x1f1b55;}}function _(_0x3c7de5,_0x1f9a81,_0x215fee){if(_0x215fee['childCount'])return!0x1;const _0xb7a4c2=_0x1f9a81?'paragraph':'footnoteInlineContent';return _0x3c7de5['insert'](_0x3c7de5['createElement'](_0xb7a4c2),_0x215fee),!0x0;}function I(_0x2cb7a9,_0x51119f,_0xdcef2f){if(0x0===_0x51119f['length'])return 0x0;const _0x1e215d=_0x2cb7a9['createPositionBefore'](_0xdcef2f);for(let _0x248841=0x0;_0x248841<_0x51119f['length'];_0x248841++){const _0x1fddae=_0x51119f[_0x248841],_0x353fd6=_0x2cb7a9['createPositionBefore'](_0x1fddae['reference']);if('before'===_0x1e215d['compareWith'](_0x353fd6))return _0x248841;}const _0x183741=_0xdcef2f['root'];let _0x58cde4=-0x1;for(let _0x4f6d1e=_0x51119f['length']-0x1;_0x4f6d1e>=0x0;_0x4f6d1e--)if(_0x51119f[_0x4f6d1e]['reference']['root']===_0x183741){_0x58cde4=_0x4f6d1e;break;}if(-0x1!==_0x58cde4)return _0x58cde4+0x1;const _0x51759d=_0x2cb7a9['document']['getRootNames'](),_0x5dd428=_0x51759d['indexOf'](_0x183741['rootName']),_0x36a511=_0x51759d[_0x5dd428+0x1];if(_0x36a511){for(let _0x533a47=0x0;_0x533a47<_0x51119f['length'];_0x533a47++)if(_0x51119f[_0x533a47]['reference']['root']['rootName']===_0x36a511)return _0x533a47;}return _0x51119f['length'];}class m extends _0x390675{['refresh'](){const _0x26444b=this['editor']['model']['document']['selection'],_0x2cb613=this['_getPositionToInsertFootnote'](_0x26444b);this['isEnabled']=!!_0x2cb613;}['execute'](_0x50fd6d){const {editor:_0x4655e3}=this,{model:_0x445bb3}=_0x4655e3,{selection:_0x1025aa}=_0x445bb3['document'],_0x50b4cf=this['_getPositionToInsertFootnote'](_0x1025aa);if(!_0x50b4cf)return;const _0x5da51f=_0x4655e3['plugins']['get']('FootnotesEditing'),_0x50048d=_0x50fd6d?.['footnoteId']??_0x1c4e41();!function(_0x38189f){return'string'==typeof _0x38189f&&_0x38189f['length']>0x0&&!/\s/['test'](_0x38189f)&&!/^\d/['test'](_0x38189f);}(_0x50048d)?_0x4e7b2a('insert-footnote-command-executed-with-invalid-id'):(_0x445bb3['change'](_0x5b2536=>{const _0x39bf99=_0x5b2536['createElement']('footnoteRef',{'footnoteId':_0x50048d});_0x445bb3['insertObject'](_0x39bf99,_0x50b4cf,null);}),_0x5da51f['_moveSelectionToFootnoteDefinition'](_0x50048d));}['_getPositionToInsertFootnote'](_0x4773e0){const {model:_0x27f427}=this['editor'],{schema:_0x425663}=_0x27f427,_0x4f246d=_0x4773e0['getFirstRange']();for(const _0x3da190 of _0x4f246d['getItems']())if(_0x425663['isBlock'](_0x3da190)||_0x425663['isObject'](_0x3da190))return null;const _0x39417f=_0x4f246d['end'];return _0x425663['checkChild'](_0x39417f,'footnoteRef')?_0x39417f:null;}}class r extends _0x3263b6{static get['pluginName'](){return'FootnotesEditing';}static get['requires'](){return[f];}static get['isOfficialPlugin'](){return!0x0;}static get['isPremiumPlugin'](){return!0x0;}['init'](){const {editor:_0x805e41}=this;_0x805e41['config']['define']('footnotes.multiBlock',!0x0),_0x805e41['commands']['add']('insertFootnote',new m(_0x805e41)),this['_defineSchema'](),this['_defineRefsConverters'](),this['_defineDefinitionsConverters'](),this['_defineDefinitionConverters'](),this['_defineBogusParagraphConverters'](),this['_defineKeyboardHandlers'](),this['_defineClickHandlers']();}['afterInit'](){!async function(_0x430c8a){const _0xcbe02d=_0x1ade85([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]),_0x577dd1=0x47a28506,_0x4afda8=0x47a5fe0e^_0x577dd1,_0x4806ba=window[_0x1ade85([0x44,0x61,0x74,0x65])][_0x1ade85([0x6e,0x6f,0x77])](),_0x74147a=_0x430c8a[_0x1ade85([0x65,0x64,0x69,0x74,0x6f,0x72])],_0x40c3ea=new window[(_0x1ade85([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0x1b029f=>{_0x74147a[_0x1ade85([0x6f,0x6e,0x63,0x65])](_0x1ade85([0x72,0x65,0x61,0x64,0x79]),_0x1b029f);}),_0x3fe03d={[_0x1ade85([0x6b,0x74,0x79])]:_0x1ade85([0x45,0x43]),[_0x1ade85([0x75,0x73,0x65])]:_0x1ade85([0x73,0x69,0x67]),[_0x1ade85([0x63,0x72,0x76])]:_0x1ade85([0x50,0x2d,0x32,0x35,0x36]),[_0x1ade85([0x78])]:_0x1ade85([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]),[_0x1ade85([0x79])]:_0x1ade85([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]),[_0x1ade85([0x61,0x6c,0x67])]:_0x1ade85([0x45,0x53,0x32,0x35,0x36])},_0x3a1541=_0x74147a[_0x1ade85([0x63,0x6f,0x6e,0x66,0x69,0x67])][_0x1ade85([0x67,0x65,0x74])](_0x1ade85([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x4b,0x65,0x79]));async function _0x3d74d9(){let _0x1c6ba7,_0x12a3de=null,_0x5e2a76=null;try{if(_0x3a1541==_0x1ade85([0x47,0x50,0x4c]))return _0x1ade85([0x4e,0x6f,0x74,0x41,0x6c,0x6c,0x6f,0x77,0x65,0x64]);if(_0x1c6ba7=_0x5acae2(),!_0x1c6ba7)return _0x1ade85([0x49,0x6e,0x76,0x61,0x6c,0x69,0x64]);return _0x1c6ba7[_0x1ade85([0x75,0x73,0x61,0x67,0x65,0x45,0x6e,0x64,0x70,0x6f,0x69,0x6e,0x74])]&&(_0x5e2a76=_0x4843ff(_0x1c6ba7[_0x1ade85([0x75,0x73,0x61,0x67,0x65,0x45,0x6e,0x64,0x70,0x6f,0x69,0x6e,0x74])],_0x1c6ba7[_0x1ade85([0x6a,0x74,0x69])])),await _0x1ea0e3()?_0x399cdf()?_0x154715()?_0x1ade85([0x45,0x78,0x70,0x69,0x72,0x65,0x64]):_0x198817()?(_0x1c6ba7[_0x1ade85([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x54,0x79,0x70,0x65])]==_0x1ade85([0x65,0x76,0x61,0x6c,0x75,0x61,0x74,0x69,0x6f,0x6e])&&(_0x12a3de=_0x1cbf2d(_0x1ade85([0x45,0x76,0x61,0x6c,0x75,0x61,0x74,0x69,0x6f,0x6e,0x4c,0x69,0x6d,0x69,0x74]))),_0x1c6ba7[_0x1ade85([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x54,0x79,0x70,0x65])]==_0x1ade85([0x74,0x72,0x69,0x61,0x6c])&&(_0x12a3de=_0x1cbf2d(_0x1ade85([0x54,0x72,0x69,0x61,0x6c,0x4c,0x69,0x6d,0x69,0x74]))),await _0x5e156a()):_0x1ade85([0x44,0x6f,0x6d,0x61,0x69,0x6e,0x4c,0x69,0x6d,0x69,0x74]):_0x1ade85([0x4e,0x6f,0x74,0x41,0x6c,0x6c,0x6f,0x77,0x65,0x64]):_0x1ade85([0x49,0x6e,0x76,0x61,0x6c,0x69,0x64]);}catch{return _0x1ade85([0x49,0x6e,0x76,0x61,0x6c,0x69,0x64]);}function _0x154715(){const _0x14e35e=[_0x1ade85([0x65,0x76,0x61,0x6c,0x75,0x61,0x74,0x69,0x6f,0x6e]),_0x1ade85([0x74,0x72,0x69,0x61,0x6c])][_0x1ade85([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x1c6ba7[_0x1ade85([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x54,0x79,0x70,0x65])])?_0x4806ba/0x3e8:0xe10*_0x4afda8;return _0x1c6ba7[_0x1ade85([0x65,0x78,0x70])]<_0x14e35e;}function _0x399cdf(){const _0x424334=_0x1c6ba7[_0x1ade85([0x66,0x65,0x61,0x74,0x75,0x72,0x65,0x73])];return!!_0x424334&&(!!_0x424334[_0x1ade85([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x1ade85([0x2a]))||!!_0x424334[_0x1ade85([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x1ade85([0x46,0x4f,0x4f])));}function _0x198817(){const _0x1d825b=_0x1c6ba7[_0x1ade85([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x64,0x48,0x6f,0x73,0x74,0x73])];if(!_0x1d825b||0x0==_0x1d825b[_0x1ade85([0x6c,0x65,0x6e,0x67,0x74,0x68])])return!0x0;const {hostname:_0x58e28c}=new URL(window[_0x1ade85([0x6c,0x6f,0x63,0x61,0x74,0x69,0x6f,0x6e])]['href']);if(_0x1d825b[_0x1ade85([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x58e28c))return!0x0;const _0x1ba2ad=_0x58e28c[_0x1ade85([0x73,0x70,0x6c,0x69,0x74])](_0x1ade85([0x2e]));return _0x1d825b[_0x1ade85([0x66,0x69,0x6c,0x74,0x65,0x72])](_0x330ed7=>_0x330ed7[_0x1ade85([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x1ade85([0x2a])))[_0x1ade85([0x6d,0x61,0x70])](_0x387102=>_0x387102[_0x1ade85([0x73,0x70,0x6c,0x69,0x74])](_0x1ade85([0x2e])))[_0x1ade85([0x66,0x69,0x6c,0x74,0x65,0x72])](_0x545795=>_0x545795[_0x1ade85([0x6c,0x65,0x6e,0x67,0x74,0x68])]<=_0x1ba2ad[_0x1ade85([0x6c,0x65,0x6e,0x67,0x74,0x68])])[_0x1ade85([0x6d,0x61,0x70])](_0x13d751=>Array(_0x1ba2ad[_0x1ade85([0x6c,0x65,0x6e,0x67,0x74,0x68])]-_0x13d751[_0x1ade85([0x6c,0x65,0x6e,0x67,0x74,0x68])])[_0x1ade85([0x66,0x69,0x6c,0x6c])](_0x13d751[0x0]===_0x1ade85([0x2a])?_0x1ade85([0x2a]):'')[_0x1ade85([0x63,0x6f,0x6e,0x63,0x61,0x74])](_0x13d751))[_0x1ade85([0x73,0x6f,0x6d,0x65])](_0x29927b=>_0x1ba2ad[_0x1ade85([0x65,0x76,0x65,0x72,0x79])]((_0x1b4c5b,_0x42b5d3)=>_0x29927b[_0x42b5d3]===_0x1b4c5b||_0x29927b[_0x42b5d3]===_0x1ade85([0x2a])));}function _0x5e156a(){return _0x12a3de&&_0x5e2a76?new window[(_0x1ade85([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))]((_0x5b0234,_0x99f1a7)=>{_0x12a3de[_0x1ade85([0x74,0x68,0x65,0x6e])](_0x5b0234,_0x99f1a7),_0x5e2a76[_0x1ade85([0x74,0x68,0x65,0x6e])](_0x3ab5e8=>{_0x3ab5e8!=_0x1ade85([0x56,0x61,0x6c,0x69,0x64])&&_0x5b0234(_0x3ab5e8);},_0x99f1a7);}):_0x12a3de||_0x5e2a76||_0x1ade85([0x56,0x61,0x6c,0x69,0x64]);}}function _0x4843ff(_0x5cd97c,_0x2c35be){return new window[(_0x1ade85([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0x1290cd=>{if(_0x499011())return _0x1290cd(_0x1ade85([0x56,0x61,0x6c,0x69,0x64]));_0x27396f(),_0x74147a[_0x1ade85([0x64,0x65,0x63,0x6f,0x72,0x61,0x74,0x65])](_0x1ade85([0x5f,0x73,0x65,0x6e,0x64,0x55,0x73,0x61,0x67,0x65,0x52,0x65,0x71,0x75,0x65,0x73,0x74]));let _0x19f6e4=!0x1;const _0x4232e6=_0x1c4e41();function _0x48b201(_0x30190d){return!!_0x30190d&&(typeof _0x30190d===_0x1ade85([0x6f,0x62,0x6a,0x65,0x63,0x74])||typeof _0x30190d===_0x1ade85([0x66,0x75,0x6e,0x63,0x74,0x69,0x6f,0x6e]))&&typeof _0x30190d[_0x1ade85([0x74,0x68,0x65,0x6e])]===_0x1ade85([0x66,0x75,0x6e,0x63,0x74,0x69,0x6f,0x6e])&&typeof _0x30190d[_0x1ade85([0x63,0x61,0x74,0x63,0x68])]===_0x1ade85([0x66,0x75,0x6e,0x63,0x74,0x69,0x6f,0x6e]);}function _0x178919(_0x4904fd){_0x3eec5c(_0x4904fd)[_0x1ade85([0x74,0x68,0x65,0x6e])](_0x4184d5=>{if(!_0x4184d5||_0x4184d5[_0x1ade85([0x73,0x74,0x61,0x74,0x75,0x73])]!=_0x1ade85([0x6f,0x6b]))return _0x1ade85([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]);return _0x3cc3ba(_0x5cabc9(_0x4232e6+_0x2c35be))!=_0x4184d5[_0x1ade85([0x76,0x65,0x72,0x69,0x66,0x69,0x63,0x61,0x74,0x69,0x6f,0x6e])]?_0x1ade85([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]):_0x1ade85([0x56,0x61,0x6c,0x69,0x64]);})[_0x1ade85([0x74,0x68,0x65,0x6e])](_0xe2c696=>(_0x3e3ed6(),_0xe2c696),()=>{const _0x3d7ad0=_0x48c062();return null==_0x3d7ad0?(_0x3e3ed6(),_0x1ade85([0x56,0x61,0x6c,0x69,0x64])):_0x1ade85(_0x4806ba-_0x3d7ad0>(0x63ae0106^_0x577dd1)?[0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]:[0x56,0x61,0x6c,0x69,0x64]);})[_0x1ade85([0x74,0x68,0x65,0x6e])](_0x1290cd)[_0x1ade85([0x63,0x61,0x74,0x63,0x68])](()=>{_0x1290cd(_0x1ade85([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]));});const _0x739848=0x47946b86^_0x577dd1;function _0x3e3ed6(){const _0x45c2c8=_0x1ade85([0x6c,0x6c,0x63,0x74,0x2d])+_0x3cc3ba(_0x5cabc9(_0x5cd97c)),_0x153d74=_0x574c38(_0x3cc3ba(window[_0x1ade85([0x4d,0x61,0x74,0x68])][_0x1ade85([0x63,0x65,0x69,0x6c])](_0x4806ba/_0x739848)));window[_0x1ade85([0x6c,0x6f,0x63,0x61,0x6c,0x53,0x74,0x6f,0x72,0x61,0x67,0x65])][_0x1ade85([0x73,0x65,0x74,0x49,0x74,0x65,0x6d])](_0x45c2c8,_0x153d74);}function _0x48c062(){const _0x3a277c=_0x1ade85([0x6c,0x6c,0x63,0x74,0x2d])+_0x3cc3ba(_0x5cabc9(_0x5cd97c)),_0x557c81=window[_0x1ade85([0x6c,0x6f,0x63,0x61,0x6c,0x53,0x74,0x6f,0x72,0x61,0x67,0x65])][_0x1ade85([0x67,0x65,0x74,0x49,0x74,0x65,0x6d])](_0x3a277c);return _0x557c81?window[_0x1ade85([0x70,0x61,0x72,0x73,0x65,0x49,0x6e,0x74])](_0x574c38(_0x557c81),0x10)*_0x739848:null;}function _0x3eec5c(_0x5e8ff1){return new window[(_0x1ade85([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))]((_0x5a2916,_0x15947e)=>{_0x5e8ff1[_0x1ade85([0x74,0x68,0x65,0x6e])](_0x5a2916,_0x15947e),window[_0x1ade85([0x73,0x65,0x74,0x54,0x69,0x6d,0x65,0x6f,0x75,0x74])](_0x15947e,0x47a351c6^_0x577dd1);});}}_0x74147a[_0x1ade85([0x6f,0x6e])](_0x1ade85([0x5f,0x73,0x65,0x6e,0x64,0x55,0x73,0x61,0x67,0x65,0x52,0x65,0x71,0x75,0x65,0x73,0x74]),(_0x59fcb4,_0x164986)=>{if(_0x164986[0x0]!=_0x5cd97c)return _0x1290cd(_0x1ade85([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]));_0x164986[0x1]={..._0x164986[0x1],[_0x1ade85([0x72,0x65,0x71,0x75,0x65,0x73,0x74,0x49,0x64])]:_0x4232e6};},{[_0x1ade85([0x70,0x72,0x69,0x6f,0x72,0x69,0x74,0x79])]:_0x1ade85([0x68,0x69,0x67,0x68])}),_0x74147a[_0x1ade85([0x6f,0x6e])](_0x1ade85([0x5f,0x73,0x65,0x6e,0x64,0x55,0x73,0x61,0x67,0x65,0x52,0x65,0x71,0x75,0x65,0x73,0x74]),_0x38bd2d=>{_0x48b201(_0x38bd2d[_0x1ade85([0x72,0x65,0x74,0x75,0x72,0x6e])])&&(_0x19f6e4=!0x0,_0x178919(_0x38bd2d[_0x1ade85([0x72,0x65,0x74,0x75,0x72,0x6e])]));},{[_0x1ade85([0x70,0x72,0x69,0x6f,0x72,0x69,0x74,0x79])]:_0x1ade85([0x6c,0x6f,0x77])}),_0x40c3ea[_0x1ade85([0x74,0x68,0x65,0x6e])](()=>{_0x19f6e4||_0x1290cd(_0x1ade85([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]));});});function _0x499011(){return _0x74147a[_0x1ade85([0x65,0x64,0x69,0x74,0x69,0x6e,0x67])][_0x1ade85([0x76,0x69,0x65,0x77])][_0x1ade85([0x5f,0x6f,0x76,0x65,0x72,0x6c,0x61,0x79,0x4d,0x6f,0x64,0x65,0x48,0x69,0x6e,0x74])]==_0x1ade85([0x61,0x75,0x74,0x6f]);}function _0x27396f(){_0x74147a[_0x1ade85([0x65,0x64,0x69,0x74,0x69,0x6e,0x67])][_0x1ade85([0x76,0x69,0x65,0x77])][_0x1ade85([0x5f,0x6f,0x76,0x65,0x72,0x6c,0x61,0x79,0x4d,0x6f,0x64,0x65,0x48,0x69,0x6e,0x74])]=_0x1ade85([0x61,0x75,0x74,0x6f]);}}function _0x1cbf2d(_0x57d1ae){const _0x6f56c3=[new window[(_0x1ade85([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0x4194ff=>setTimeout(_0x4194ff,0x47abbbca^_0x577dd1)),_0x40c3ea[_0x1ade85([0x74,0x68,0x65,0x6e])](()=>new window[(_0x1ade85([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0x410d81=>{let _0x40ebd9=0x0;_0x74147a[_0x1ade85([0x6d,0x6f,0x64,0x65,0x6c])][_0x1ade85([0x6f,0x6e])](_0x1ade85([0x61,0x70,0x70,0x6c,0x79,0x4f,0x70,0x65,0x72,0x61,0x74,0x69,0x6f,0x6e]),(_0x38bd77,_0x1c38c0)=>{_0x1c38c0[0x0][_0x1ade85([0x69,0x73,0x44,0x6f,0x63,0x75,0x6d,0x65,0x6e,0x74,0x4f,0x70,0x65,0x72,0x61,0x74,0x69,0x6f,0x6e])]&&_0x40ebd9++,_0x40ebd9==(0x47a284fe^_0x577dd1)&&(_0x410d81(),_0x38bd77[_0x1ade85([0x6f,0x66,0x66])]());});}))];return window[_0x1ade85([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65])][_0x1ade85([0x72,0x61,0x63,0x65])](_0x6f56c3)[_0x1ade85([0x74,0x68,0x65,0x6e])](()=>_0x57d1ae);}async function _0x28f056(){await _0x40c3ea,_0x74147a[_0x1ade85([0x6d,0x6f,0x64,0x65,0x6c])][_0x1ade85([0x63,0x68,0x61,0x6e,0x67,0x65])]=_0x4fa59c,_0x74147a[_0x1ade85([0x6d,0x6f,0x64,0x65,0x6c])][_0x1ade85([0x65,0x6e,0x71,0x75,0x65,0x75,0x65,0x43,0x68,0x61,0x6e,0x67,0x65])]=_0x4fa59c,_0x74147a[_0x1ade85([0x65,0x6e,0x61,0x62,0x6c,0x65,0x52,0x65,0x61,0x64,0x4f,0x6e,0x6c,0x79,0x4d,0x6f,0x64,0x65])](_0x1ade85([0x6d,0x6f,0x64,0x65,0x6c]));}function _0x4892cc(_0x25e5e9){const _0x8ee987=_0x1109a6();_0x74147a[_0x8ee987]=_0x1ade85([0x66,0x6f,0x6f,0x74,0x6e,0x6f,0x74,0x65,0x73,0x4c,0x69,0x63,0x65,0x6e,0x73,0x65,0x4b,0x65,0x79])+_0x25e5e9,_0x25e5e9!=_0x1ade85([0x56,0x61,0x6c,0x69,0x64])&&_0x28f056();}function _0x1109a6(){const _0x5442e1=window[_0x1ade85([0x53,0x74,0x72,0x69,0x6e,0x67])](window[_0x1ade85([0x70,0x65,0x72,0x66,0x6f,0x72,0x6d,0x61,0x6e,0x63,0x65])][_0x1ade85([0x6e,0x6f,0x77])]())[_0x1ade85([0x72,0x65,0x70,0x6c,0x61,0x63,0x65])](_0x1ade85([0x2e]),'');let _0x5c2910=_0x1ade85([0x75]);for(let _0x4bc851=0x0;_0x4bc851<_0x5442e1[_0x1ade85([0x6c,0x65,0x6e,0x67,0x74,0x68])];_0x4bc851+=0x2){let _0x2ff7b3=window[_0x1ade85([0x70,0x61,0x72,0x73,0x65,0x49,0x6e,0x74])](_0x5442e1[_0x1ade85([0x73,0x75,0x62,0x73,0x74,0x72,0x69,0x6e,0x67])](_0x4bc851,_0x4bc851+0x2));_0x2ff7b3>=_0xcbe02d[_0x1ade85([0x6c,0x65,0x6e,0x67,0x74,0x68])]&&(_0x2ff7b3-=_0xcbe02d[_0x1ade85([0x6c,0x65,0x6e,0x67,0x74,0x68])]),_0x5c2910+=_0xcbe02d[_0x2ff7b3];}return _0x5c2910;}function _0x5acae2(){const _0x3c10ad=_0x3a1541[_0x1ade85([0x73,0x70,0x6c,0x69,0x74])](_0x1ade85([0x2e]));if(0x3!=_0x3c10ad[_0x1ade85([0x6c,0x65,0x6e,0x67,0x74,0x68])])return null;return _0x24ae01(_0x3c10ad[0x1]);function _0x24ae01(_0x53b9c2){const _0x477561=_0x31fd07(_0x53b9c2);return _0x477561&&_0x336b87()?_0x477561:null;function _0x336b87(){const _0x966641=_0x477561[_0x1ade85([0x6a,0x74,0x69])],_0x5799bc=window[_0x1ade85([0x70,0x61,0x72,0x73,0x65,0x49,0x6e,0x74])](_0x966641[_0x1ade85([0x73,0x75,0x62,0x73,0x74,0x72,0x69,0x6e,0x67])](_0x966641[_0x1ade85([0x6c,0x65,0x6e,0x67,0x74,0x68])]-0x8),0x10),_0x320e02={..._0x477561,[_0x1ade85([0x6a,0x74,0x69])]:_0x966641[_0x1ade85([0x73,0x75,0x62,0x73,0x74,0x72,0x69,0x6e,0x67])](0x0,_0x966641[_0x1ade85([0x6c,0x65,0x6e,0x67,0x74,0x68])]-0x8)};return delete _0x320e02[_0x1ade85([0x76,0x63])],_0x5cabc9(_0x320e02)==_0x5799bc;}}}async function _0x1ea0e3(){let _0xf52fb1=!0x0;try{const _0x8c8d03=_0x3a1541[_0x1ade85([0x73,0x70,0x6c,0x69,0x74])](_0x1ade85([0x2e])),[_0x377679,_0x2b5bc9,_0x199c35]=_0x8c8d03;return _0x319828(_0x377679),await _0x26bea4(_0x377679,_0x2b5bc9,_0x199c35),_0xf52fb1;}catch{return!0x1;}function _0x319828(_0x5ca0e6){const _0x234344=_0x31fd07(_0x5ca0e6);_0x234344&&_0x234344[_0x1ade85([0x61,0x6c,0x67])]==_0x1ade85([0x45,0x53,0x32,0x35,0x36])||(_0xf52fb1=!0x1);}async function _0x26bea4(_0x5c6700,_0x311201,_0x12eb58){const _0x21e7c6=window[_0x1ade85([0x55,0x69,0x6e,0x74,0x38,0x41,0x72,0x72,0x61,0x79])][_0x1ade85([0x66,0x72,0x6f,0x6d])](_0x2d02fd(_0x12eb58),_0x321cb7=>_0x321cb7[_0x1ade85([0x63,0x68,0x61,0x72,0x43,0x6f,0x64,0x65,0x41,0x74])](0x0)),_0x209441=new window[(_0x1ade85([0x54,0x65,0x78,0x74,0x45,0x6e,0x63,0x6f,0x64,0x65,0x72]))]()[_0x1ade85([0x65,0x6e,0x63,0x6f,0x64,0x65])](_0x5c6700+_0x1ade85([0x2e])+_0x311201),_0x53b7fb=window[_0x1ade85([0x63,0x72,0x79,0x70,0x74,0x6f])][_0x1ade85([0x73,0x75,0x62,0x74,0x6c,0x65])];if(!_0x53b7fb)return;const _0x1dd995=await _0x53b7fb[_0x1ade85([0x69,0x6d,0x70,0x6f,0x72,0x74,0x4b,0x65,0x79])](_0x1ade85([0x6a,0x77,0x6b]),_0x3fe03d,{[_0x1ade85([0x6e,0x61,0x6d,0x65])]:_0x1ade85([0x45,0x43,0x44,0x53,0x41]),[_0x1ade85([0x6e,0x61,0x6d,0x65,0x64,0x43,0x75,0x72,0x76,0x65])]:_0x1ade85([0x50,0x2d,0x32,0x35,0x36])},!0x1,[_0x1ade85([0x76,0x65,0x72,0x69,0x66,0x79])]);await _0x53b7fb[_0x1ade85([0x76,0x65,0x72,0x69,0x66,0x79])]({[_0x1ade85([0x6e,0x61,0x6d,0x65])]:_0x1ade85([0x45,0x43,0x44,0x53,0x41]),[_0x1ade85([0x68,0x61,0x73,0x68])]:{[_0x1ade85([0x6e,0x61,0x6d,0x65])]:_0x1ade85([0x53,0x48,0x41,0x2d,0x32,0x35,0x36])}},_0x1dd995,_0x21e7c6,_0x209441)||(_0xf52fb1=!0x1);}}function _0x31fd07(_0x669699){return _0x669699[_0x1ade85([0x73,0x74,0x61,0x72,0x74,0x73,0x57,0x69,0x74,0x68])](_0x1ade85([0x65,0x79]))?JSON[_0x1ade85([0x70,0x61,0x72,0x73,0x65])](_0x2d02fd(_0x669699)):null;}function _0x2d02fd(_0x3db2c4){return window[_0x1ade85([0x61,0x74,0x6f,0x62])](_0x3db2c4[_0x1ade85([0x72,0x65,0x70,0x6c,0x61,0x63,0x65])](/-/g,_0x1ade85([0x2b]))[_0x1ade85([0x72,0x65,0x70,0x6c,0x61,0x63,0x65])](/_/g,_0x1ade85([0x2f])));}function _0x5cabc9(_0x54eecd){let _0x25f621=0x1505;function _0x51ac88(_0xc7ed8e){for(let _0x330086=0x0;_0x330086<_0xc7ed8e[_0x1ade85([0x6c,0x65,0x6e,0x67,0x74,0x68])];_0x330086++){const _0x9904e9=_0xc7ed8e[_0x1ade85([0x63,0x68,0x61,0x72,0x43,0x6f,0x64,0x65,0x41,0x74])](_0x330086);_0x25f621=(_0x25f621<<0x5)+_0x25f621+_0x9904e9,_0x25f621&=_0x25f621;}}function _0x54f846(_0x10c183){Array[_0x1ade85([0x69,0x73,0x41,0x72,0x72,0x61,0x79])](_0x10c183)?_0x10c183[_0x1ade85([0x66,0x6f,0x72,0x45,0x61,0x63,0x68])](_0x54f846):_0x10c183&&typeof _0x10c183==_0x1ade85([0x6f,0x62,0x6a,0x65,0x63,0x74])?Object[_0x1ade85([0x65,0x6e,0x74,0x72,0x69,0x65,0x73])](_0x10c183)[_0x1ade85([0x73,0x6f,0x72,0x74])]()[_0x1ade85([0x66,0x6f,0x72,0x45,0x61,0x63,0x68])](([_0x580572,_0x324d44])=>{_0x51ac88(_0x580572),_0x54f846(_0x324d44);}):_0x51ac88(window[_0x1ade85([0x53,0x74,0x72,0x69,0x6e,0x67])](_0x10c183));}return _0x54f846(_0x54eecd),_0x25f621>>>0x0;}function _0x3cc3ba(_0xac3f8f){return _0xac3f8f[_0x1ade85([0x74,0x6f,0x53,0x74,0x72,0x69,0x6e,0x67])](0x10)[_0x1ade85([0x70,0x61,0x64,0x53,0x74,0x61,0x72,0x74])](0x8,_0x1ade85([0x30]));}function _0x574c38(_0x2f8141){return _0x2f8141[_0x1ade85([0x73,0x70,0x6c,0x69,0x74])]('')[_0x1ade85([0x72,0x65,0x76,0x65,0x72,0x73,0x65])]()[_0x1ade85([0x6a,0x6f,0x69,0x6e])]('');}function _0x4fa59c(){}function _0x1ade85(_0x22f733){return _0x22f733['map'](_0x40be09=>String['fromCharCode'](_0x40be09))['join']('');}_0x4892cc(await _0x3d74d9());}(this);}['_moveSelectionToFootnoteDefinition'](_0x4721de){const {plugins:_0x5047f2,editing:_0xe58aa,model:_0x1bbbbd}=this['editor'],_0x22bfed=_0x5047f2['get'](f)['getFootnote'](_0x4721de);return!!_0x22bfed&&(_0x1bbbbd['change'](_0x56a611=>{_0x56a611['setSelection'](_0x56a611['createPositionAt'](_0x22bfed['definition'],'end'));}),_0xe58aa['view']['scrollToTheSelection'](),!0x0);}['_moveSelectionToFootnoteReference'](_0x165a55){const {plugins:_0x51efdc,editing:_0x13ce72,model:_0x4ac1ec}=this['editor'],_0x4661c3=_0x51efdc['get'](f)['getFootnote'](_0x165a55);return!!_0x4661c3&&(_0x4ac1ec['change'](_0x47ada5=>{_0x47ada5['setSelection'](_0x4661c3['reference'],'on');}),_0x13ce72['view']['scrollToTheSelection'](),!0x0);}['_defineSchema'](){const {schema:_0x2cd0e4}=this['editor']['model'],_0x38e0b3=this['editor']['config']['get']('footnotes.multiBlock');_0x2cd0e4['register']('footnoteRef',{'inheritAllFrom':'$inlineObject','allowAttributes':['footnoteId','footnoteCounter']}),_0x2cd0e4['register']('footnotesDefinitions',{'inheritAllFrom':'$blockObject','allowChildren':['footnoteDefinition']}),_0x2cd0e4['register']('footnoteDefinition',{'allowAttributes':['footnoteId'],'disallowAttributes':['listItemId'],'isLimit':!0x0}),_0x38e0b3?_0x2cd0e4['extend']('footnoteDefinition',{'allowContentOf':'$container'}):_0x2cd0e4['register']('footnoteInlineContent',{'allowIn':'footnoteDefinition','allowContentOf':'$block','isLimit':!0x0}),_0x2cd0e4['addChildCheck'](_0x118839=>{for(const _0x43b96b of _0x118839)if('footnoteDefinition'===_0x43b96b['name'])return!0x1;},'footnoteRef');}['_defineRefsConverters'](){const {editor:_0xff640a}=this,{conversion:_0x174ba1,editing:_0x38d6a6}=_0xff640a,{t:t}=_0xff640a['locale'];_0x174ba1['for']('upcast')['elementToElement']({'view':{'name':'sup','classes':'footnote'},'model':(_0x3b8733,{writer:_0x52200e,consumable:_0x3831d1})=>{const _0x2abfb8=_0x3b8733['getChild'](0x0);if(!_0x2abfb8||!_0x2abfb8['is']('element','a'))return null;const _0x2f6903=_0x2abfb8['getAttribute']('href')||'';if(!_0x2f6903['startsWith']('#'))return null;const _0x24fb95=_0x2f6903['replace'](/^#/,'');if(!_0x24fb95)return null;_0x3831d1['consume'](_0x2abfb8,{'name':!0x0,'attributes':['href']});for(const {item:_0x15cf1d}of _0x38d6a6['view']['createRangeIn'](_0x2abfb8))_0x15cf1d['is']('$textProxy')?_0x3831d1['consume'](_0x15cf1d['textNode'],{'name':!0x0}):_0x15cf1d['is']('element')&&_0x3831d1['consume'](_0x15cf1d,{'name':!0x0});return _0x52200e['createElement']('footnoteRef',{'footnoteId':_0x24fb95});}}),_0x174ba1['for']('dataDowncast')['elementToElement']({'model':{'name':'footnoteRef','attributes':['footnoteId','footnoteCounter']},'view':(_0x5bd361,{writer:_0x44fe83})=>D(_0x5bd361,_0x44fe83)}),_0x174ba1['for']('editingDowncast')['elementToElement']({'model':{'name':'footnoteRef','attributes':['footnoteId','footnoteCounter']},'view':(_0x35cf6b,{writer:_0x152cab})=>{const _0x25cafb=_0x35cf6b['getAttribute']('footnoteCounter');return _0x58422d(D(_0x35cf6b,_0x152cab),_0x152cab,{'label':t('Footnote\x20%0.\x20Press\x20ENTER\x20to\x20jump\x20to\x20footnote\x20definition.',_0x25cafb)});}});}['_defineDefinitionsConverters'](){const {editor:_0x3f42a8}=this,{t:t}=_0x3f42a8['locale'],{conversion:_0x20a562}=_0x3f42a8;_0x20a562['for']('upcast')['elementToElement']({'view':{'name':'div','classes':'footnotes'},'model':'footnotesDefinitions'}),_0x20a562['for']('upcast')['add'](_0x621e7f=>{_0x621e7f['on']('element:ol',(_0x1777a4,_0x14000c,_0x366182)=>{const _0x1adec1=_0x14000c['viewItem'];if(!_0x1adec1['hasClass']('footnotes-list')||!_0x14000c['modelCursor']['parent']?.['is']('element','footnotesDefinitions'))return;if(!_0x366182['consumable']['consume'](_0x1adec1,{'name':!0x0,'classes':'footnotes-list'}))return;const {modelRange:_0x280d86,modelCursor:_0x43ac6f}=_0x366182['convertChildren'](_0x14000c['viewItem'],_0x14000c['modelCursor']);_0x14000c['modelRange']=_0x280d86,_0x14000c['modelCursor']=_0x43ac6f;}),_0x621e7f['on']('element:hr',(_0x2f5ec8,_0x1b2c44,_0x3e6414)=>{const _0x442f7d=_0x1b2c44['viewItem'];_0x442f7d['hasClass']('footnotes-divider')&&_0x1b2c44['modelCursor']['parent']?.['is']('element','footnotesDefinitions')&&_0x3e6414['consumable']['consume'](_0x442f7d,{'name':!0x0,'classes':'footnotes-divider'});});}),_0x20a562['for']('dataDowncast')['elementToStructure']({'model':'footnotesDefinitions','view':(_0x5dd1fb,{writer:_0x246630})=>v(_0x246630)}),_0x20a562['for']('editingDowncast')['elementToStructure']({'model':'footnotesDefinitions','view':(_0x476157,{writer:_0x4776f5})=>{const _0x855544=v(_0x4776f5,{'data-footnotes-list-label':t('Footnotes')}),_0x5a35e3=_0x58422d(_0x855544,_0x4776f5,{'hasSelectionHandle':!0x0,'label':t('Footnotes')});return _0x4776f5['setCustomProperty']('footnotesDefinitions',!0x0,_0x5a35e3),_0x5a35e3;}});}['_defineDefinitionConverters'](){const {editor:_0x528314}=this,{conversion:_0x538efa,locale:_0xe751fe}=_0x528314,_0x25a868=_0x528314['config']['get']('footnotes.multiBlock');_0x538efa['for']('upcast')['add'](_0xa31bf5=>{_0xa31bf5['on']('element:li',(_0x49e89c,_0x2d45ba,_0x213cfb)=>{const _0x5bb062=_0x2d45ba['viewItem'];if(!_0x5bb062['hasClass']('footnote-definition')||!_0x5bb062['getAttribute']('id'))return;const _0xdb5f0a=_0x5bb062['parent'];if(!_0xdb5f0a['is']('element','ol')||!_0xdb5f0a['hasClass']('footnotes-list'))return;if(!_0x213cfb['consumable']['test'](_0x5bb062,{'name':!0x0,'attributes':'id','classes':'footnote-definition'}))return;const _0x417161=_0x213cfb['writer']['createElement']('footnoteDefinition',{'footnoteId':_0x5bb062['getAttribute']('id')});if(!_0x213cfb['safeInsert'](_0x417161,_0x2d45ba['modelCursor']))return;_0x213cfb['consumable']['consume'](_0x5bb062,{'name':!0x0,'attributes':'id','classes':'footnote-definition'});const _0x52bfe8=Array['from'](_0x5bb062['getChildren']())['find'](_0x11930a=>_0x11930a['is']('element')&&_0x11930a['hasClass']('footnote-content'));for(const _0x516518 of _0x5bb062['getChildren']())_0x516518['is']('element')&&(_0x213cfb['consumable']['consume'](_0x516518,{'name':!0x0,'classes':'footnote-backlink','attributes':'href'}),_0x213cfb['consumable']['consume'](_0x516518,{'name':!0x0,'classes':'footnote-content'}));if(_0x52bfe8){if(_0x25a868)_0x213cfb['convertChildren'](_0x52bfe8,_0x417161);else{const _0x1f90e1=_0x213cfb['writer']['createElement']('footnoteInlineContent');_0x213cfb['writer']['insert'](_0x1f90e1,_0x417161),_0x213cfb['convertChildren'](_0x52bfe8,_0x1f90e1);}}_0x213cfb['updateConversionResult'](_0x417161,_0x2d45ba);});}),_0x538efa['for']('dataDowncast')['elementToStructure']({'model':{'name':'footnoteDefinition','attributes':['footnoteId']},'view':(_0x298c9b,{writer:_0x1f841b})=>b(_0x298c9b,_0x1f841b,_0xe751fe,{'dataPipeline':!0x0})}),_0x538efa['for']('editingDowncast')['elementToStructure']({'model':{'name':'footnoteDefinition','attributes':['footnoteId']},'view':(_0x315c86,{writer:_0x4e9772})=>b(_0x315c86,_0x4e9772,_0xe751fe)});}['_defineBogusParagraphConverters'](){const {editor:_0x1c3860}=this,{conversion:_0x30aab6}=_0x1c3860;_0x1c3860['config']['get']('footnotes.multiBlock')?(_0x30aab6['for']('editingDowncast')['elementToElement']({'model':'paragraph','view':h(),'converterPriority':'high'}),_0x30aab6['for']('dataDowncast')['elementToElement']({'model':'paragraph','view':h({'dataPipeline':!0x0}),'converterPriority':'high'}),this['listenTo'](_0x1c3860['model']['document'],'change:data',()=>{!function(_0x5d3ab4,_0x3a508c){const _0x4ca565=_0x5d3ab4['document']['differ'],_0x5476c1=new Set();for(const _0xef54ed of _0x4ca565['getChanges']()){const _0x3d602f='attribute'==_0xef54ed['type']?_0xef54ed['range']['start']['parent']:_0xef54ed['position']['parent'];_0x3d602f['is']('element','footnoteDefinition')&&_0x5476c1['add'](_0x3d602f);}for(const _0x1477fe of _0x5476c1['values']()){const _0x43ac47=Array['from'](_0x1477fe['getChildren']())['filter'](_0xb71649=>g(_0xb71649,_0x3a508c['mapper']));for(const _0x5ab3f0 of _0x43ac47)_0x3a508c['reconvertItem'](_0x5ab3f0);}}(_0x1c3860['model'],_0x1c3860['editing']);})):(_0x30aab6['for']('editingDowncast')['elementToElement']({'model':'footnoteInlineContent','view':h()}),_0x30aab6['for']('dataDowncast')['elementToElement']({'model':'footnoteInlineContent','view':(_0x34d07f,{writer:_0x2d1f02})=>{const _0x413c50=_0x2d1f02['createContainerElement']('span');return _0x2d1f02['setCustomProperty']('dataPipeline:transparentRendering',!0x0,_0x413c50),_0x413c50;}}));}['_defineKeyboardHandlers'](){const {editor:_0x4621fd}=this,{editing:_0x181da6,t:t}=_0x4621fd,_0x4d843d=_0x4621fd['model']['document']['selection'];_0x4621fd['keystrokes']['set']('Ctrl+Alt+F','insertFootnote'),_0x4621fd['accessibility']['addKeystrokeInfos']({'keystrokes':[{'label':t('Insert\x20footnote'),'keystroke':'Ctrl+Alt+F'}]}),this['listenTo'](_0x181da6['view']['document'],'enter',(_0x40b573,_0x219541)=>{const _0xc08dac=function(_0x37eb2e){const _0x1018d3=_0x37eb2e['getSelectedElement']();if(_0x1018d3?.['is']('element','footnoteRef'))return _0x1018d3;return null;}(_0x4d843d);if(_0xc08dac){const _0x3a621c=_0xc08dac['getAttribute']('footnoteId');this['_moveSelectionToFootnoteDefinition'](_0x3a621c),_0x219541['preventDefault'](),_0x40b573['stop']();}},{'context':_0x54c03d});}['_defineClickHandlers'](){const {editor:_0x483a97}=this,{editing:_0x45ce2d}=_0x483a97;_0x483a97['editing']['view']['addObserver'](_0x39f5a2),_0x483a97['editing']['view']['addObserver'](_0x2d1ad5);let _0x2c700c=!0x1;this['listenTo'](_0x45ce2d['view']['document'],'pointerdown',(_0xdc9cdc,_0x190edd)=>{const {target:_0x338ee5}=_0x190edd,_0x1142b7=_0x45ce2d['view']['document']['selection'];_0x2c700c=!!(_0x338ee5?.['is']('element','a')&&_0x338ee5['parent']?.['is']('element','sup')&&_0x338ee5['parent']['hasClass']('footnote'))&&_0x1142b7['getSelectedElement']()===_0x338ee5['parent'];},{'priority':'high'}),this['listenTo'](_0x45ce2d['view']['document'],'click',(_0x5a2e57,_0x55fbc7)=>{const {target:_0x397954}=_0x55fbc7;if(!_0x397954?.['is']('element','a'))return;if(_0x397954['parent']?.['is']('element','sup')&&_0x397954['parent']['hasClass']('footnote')&&!_0x2c700c)return void _0x55fbc7['preventDefault']();let _0x3fa49d=_0x397954['getAttribute']('href');if(!_0x3fa49d?.['startsWith']('#'))return;_0x3fa49d=_0x3fa49d['slice'](0x1);let _0x5d42ab=!0x1;(_0x3fa49d['startsWith']('ref-')&&this['_moveSelectionToFootnoteReference'](_0x3fa49d['slice'](0x4))||this['_moveSelectionToFootnoteDefinition'](_0x3fa49d))&&(_0x5d42ab=!0x0),_0x5d42ab&&(_0x55fbc7['preventDefault'](),_0x5a2e57['stop']());},{'priority':'high','context':'$capture'});}}function h({dataPipeline:_0x495132}={}){return(_0x13ae2a,{writer:_0x1d4d7b})=>{if(!p(_0x13ae2a))return null;if(!_0x495132)return _0x1d4d7b['createContainerElement']('span',{'class':'ck-footnote-bogus-paragraph'});const _0x3c281c=_0x1d4d7b['createContainerElement']('p');return _0x1d4d7b['setCustomProperty']('dataPipeline:transparentRendering',!0x0,_0x3c281c),_0x3c281c;};}function p(_0x1ed054){const {parent:_0x335a78}=_0x1ed054;if(!_0x335a78?.['is']('element','footnoteDefinition'))return!0x1;if(0x1!=_0x335a78['childCount'])return!0x1;for(const _0x2b4250 of _0x1ed054['getAttributeKeys']())if(!_0x2b4250['startsWith']('selection:')&&'htmlEmptyBlock'!=_0x2b4250)return!0x1;return!0x0;}function g(_0x95008a,_0x3ef466){if(!_0x95008a['is']('element','paragraph'))return!0x1;const _0x1bfc24=_0x3ef466['toViewElement'](_0x95008a);return!!_0x1bfc24&&p(_0x95008a)!==_0x1bfc24['is']('element','span');}function J(_0x4566cc){return _0x54c03d(_0x4566cc)&&_0x4566cc['is']('containerElement')&&!!_0x4566cc['getCustomProperty']('footnotesDefinitions');}function v(_0x14f3e8,_0x12db0b={}){const _0x11949b=_0x14f3e8['createEmptyElement']('hr',{'class':'footnotes-divider'}),_0x45ac04=_0x14f3e8['createContainerElement']('ol',{'class':'footnotes-list'},_0x14f3e8['createSlot']());return _0x14f3e8['createContainerElement']('div',{'class':'footnotes',..._0x12db0b},[_0x11949b,_0x45ac04]);}function D(_0x160b77,_0x55e13c){const _0x46cb2d=_0x160b77['getAttribute']('footnoteId'),_0x521fb4=_0x160b77['getAttribute']('footnoteCounter'),_0x7fde8a=_0x55e13c['createUIElement']('a',{'href':'#'+_0x46cb2d},function(_0x1a747e){const _0x5a95c2=this['toDomElement'](_0x1a747e);return _0x5a95c2['textContent']=_0x521fb4,_0x5a95c2;}),_0x69d8c2=_0x55e13c['createContainerElement']('sup',{'id':'ref-'+_0x46cb2d,'class':'footnote'},[_0x7fde8a]);return _0x69d8c2['getFillerOffset']=()=>null,_0x69d8c2;}function b(_0x26fa5e,_0x5033e2,_0x52c9a3,{dataPipeline:_0x5ae599}={}){const {t:t}=_0x52c9a3,_0x1d6d3c=_0x26fa5e['getAttribute']('footnoteId'),_0x118c88=_0x5033e2['createUIElement']('a',{'class':'footnote-backlink','href':'#ref-'+_0x1d6d3c},function(_0x5b1a54){const _0x3996a8=this['toDomElement'](_0x5b1a54);return _0x3996a8['innerText']='^',_0x3996a8;}),_0x4c412f=_0x5ae599?_0x5033e2['createContainerElement']('div',{'class':'footnote-content'}):_0x5abf7f(_0x5033e2['createEditableElement']('div',{'class':'footnote-content'}),_0x5033e2,{'label':t('Footnote\x20content.')});return _0x5033e2['insert'](_0x5033e2['createPositionAt'](_0x4c412f,0x0),_0x5033e2['createSlot']()),_0x5033e2['createContainerElement']('li',{'class':'footnote-definition','id':_0x1d6d3c},[_0x118c88,_0x4c412f]);}class e extends _0x3263b6{static get['pluginName'](){return'FootnotesClipboard';}static get['requires'](){return[r,_0x500ebe];}static get['isOfficialPlugin'](){return!0x0;}static get['isPremiumPlugin'](){return!0x0;}['init'](){this['_defineClipboardIntegration']();}['_defineClipboardIntegration'](){this['_handleCopyFootnotesDefinitions'](),this['_handlePasteFootnotesDefinitions']();}['_handleCopyFootnotesDefinitions'](){const {editor:_0x242049}=this,{plugins:_0x214475,model:_0x1e2058}=_0x242049,_0x4d5874=_0x214475['get'](_0x500ebe),_0x3700b2=_0x214475['get'](f);this['listenTo'](_0x4d5874,'outputTransformation',(_0x1f7799,_0x4f168a)=>{const _0x5676b9=c(_0x1e2058['createRangeIn'](_0x4f168a['content']));if(!_0x5676b9['length'])return;const _0x538cb1=_0x3700b2['getFootnotes'](),_0x22eb96=_0x5676b9['reduce']((_0x3f003a,_0x46a233)=>{const _0x134dc7=_0x538cb1['find'](_0x373310=>_0x373310['id']===_0x46a233);if(_0x134dc7){const _0x2e95a2=_0x242049['data']['toView'](_0x134dc7['definition'],{'isClipboardPipeline':!0x0}),_0x42169d=_0x242049['data']['htmlProcessor']['toData'](_0x2e95a2);_0x3f003a[_0x134dc7['id']]=_0x42169d;}return _0x3f003a;},Object['create'](null));_0x4f168a['dataTransfer']['setData']('application/ckeditor5-footnotes',JSON['stringify'](_0x22eb96));});}['_handlePasteFootnotesDefinitions'](){const {editor:_0x38e841}=this,{model:_0x760a81,plugins:_0x1e0672}=_0x38e841,{view:_0x27cc93}=_0x38e841['editing'],_0x4bc00d=_0x1e0672['get'](_0x500ebe),_0x2aebe6=_0x1e0672['get'](f),_0x4a18e5=_0x38e841['config']['get']('footnotes.multiBlock');let _0x43b999=null;this['listenTo'](_0x27cc93['document'],'clipboardInput',(_0x5ef717,_0xe492fe)=>{const _0x2b96b8=_0xe492fe['dataTransfer']['getData']('application/ckeditor5-footnotes');_0x43b999=_0x2b96b8?JSON['parse'](_0x2b96b8):null;}),this['listenTo'](_0x4bc00d,'contentInsertion',(_0x22185f,_0x59ddf9)=>{const _0x228207=_0x59ddf9['sourceEditorId']===this['editor']['id'];_0x228207&&'drop'===_0x59ddf9['method']||_0x760a81['change'](_0x43db38=>{let _0x227c4f=_0x2aebe6['getFootnotesDefinitionsObjectElement']();const _0x2f6a24=!!_0x227c4f&&Array['from'](_0x760a81['document']['selection']['getSelectedBlocks']())['includes'](_0x227c4f);if((_0x227c4f&&!_0x2f6a24||!_0x227c4f&&!_0x43b999)&&function(_0x16b3c4,_0x2f3ad8){const _0x53d336=[];for(const {item:_0x43171b}of _0x16b3c4['createRangeIn'](_0x2f3ad8))_0x43171b['is']('element','footnotesDefinitions')&&_0x53d336['push'](_0x43171b);for(const _0x100f37 of _0x53d336)_0x16b3c4['remove'](_0x100f37);}(_0x43db38,_0x59ddf9['content']),!_0x43b999)return;const {selection:_0x18343c}=_0x760a81['document'],_0x922b6e=_0x18343c['getFirstRange']()['root'];_0x227c4f&&!_0x2f6a24||(_0x227c4f=function(_0x4bbbf9,_0x11b4c1){for(const {item:_0x13d5da}of _0x4bbbf9['createRangeIn'](_0x11b4c1))if(_0x13d5da['is']('element','footnotesDefinitions'))return _0x13d5da;return null;}(_0x43db38,_0x59ddf9['content']),_0x227c4f||=_0x2aebe6['_insertEmptyFootnotesDefinitionsContainer'](_0x43db38,_0x922b6e));const _0x507881=Array['from'](_0x18343c['getRanges']())['flatMap'](c),_0x185d1a=function(_0x54835a,_0x4bb387,_0x27bbd0){const _0x4959a9=Object['create'](null);for(const {item:_0x225542}of _0x54835a['createRangeIn'](_0x4bb387))if(_0x225542['is']('element','footnoteRef')){const _0x4465d7=_0x225542['getAttribute']('footnoteId');if(!_0x27bbd0(_0x4465d7))continue;_0x4959a9[_0x4465d7]||(_0x4959a9[_0x4465d7]=_0x1c4e41()),_0x54835a['setAttribute']('footnoteId',_0x4959a9[_0x4465d7],_0x225542);}return _0x4959a9;}(_0x43db38,_0x59ddf9['content'],_0x4c8e1e=>{if(!_0x228207)return!0x0;return!!_0x2aebe6['getFootnote'](_0x4c8e1e)&&!_0x507881['includes'](_0x4c8e1e);});for(const [_0x2df5cb,_0x96cc1b]of Object['entries'](_0x43b999)){const _0x4aa1db=_0x185d1a[_0x2df5cb]||_0x2df5cb,_0x2bca1b=_0x43db38['createElement']('footnoteDefinition',{'footnoteId':_0x4aa1db}),_0x576437=_0x38e841['data']['htmlProcessor']['toView'](_0x96cc1b);let _0x5e1f7b;if(_0x4a18e5)_0x5e1f7b=_0x38e841['data']['toModel'](_0x576437,_0x2bca1b);else{_0x5e1f7b=_0x43db38['createElement']('footnoteInlineContent');const _0x4258fe=_0x38e841['data']['toModel'](_0x576437,_0x5e1f7b);_0x43db38['insert'](_0x4258fe,_0x5e1f7b);}_0x43db38['append'](_0x5e1f7b,_0x2bca1b),_0x43db38['insert'](_0x2bca1b,_0x227c4f,'end');}_0x43b999=null;});});}}function c(_0x2baa9b){const _0x1abceb=new Set();for(const {item:_0xf85ee7}of _0x2baa9b)_0xf85ee7['is']('element','footnoteRef')&&_0x1abceb['add'](_0xf85ee7['getAttribute']('footnoteId'));return Array['from'](_0x1abceb);}class i extends _0x3263b6{['licenseKey'];['_licenseKeyCheckInterval'];static get['pluginName'](){return'FootnotesUI';}static get['isOfficialPlugin'](){return!0x0;}static get['isPremiumPlugin'](){return!0x0;}['init'](){const {editor:_0x100669}=this,{componentFactory:_0x3d63ca}=_0x100669['ui'];_0x3d63ca['add']('insertFootnote',x(_0x100669,_0xa80dc1)),_0x3d63ca['add']('menuBar:insertFootnote',x(_0x100669,_0x9fabdf)),this['licenseKey']=this['editor']['config']['get']('licenseKey');const _0x1b6f74=this['editor'];this['_licenseKeyCheckInterval']=setInterval(()=>{let _0x45557a;for(const _0x3fe56c in _0x1b6f74){const _0xab918a=_0x3fe56c,_0x1c9534=_0x1b6f74[_0xab918a];if('footnotesLicenseKeyValid'==_0x1c9534||'footnotesLicenseKeyInvalid'==_0x1c9534||'footnotesLicenseKeyExpired'==_0x1c9534||'footnotesLicenseKeyDomainLimit'==_0x1c9534||'footnotesLicenseKeyNotAllowed'==_0x1c9534||'footnotesLicenseKeyEvaluationLimit'==_0x1c9534||'footnotesLicenseKeyTrialLimit'==_0x1c9534||'footnotesLicenseKeyUsageLimit'==_0x1c9534){delete _0x1b6f74[_0xab918a],_0x45557a=_0x1c9534,clearInterval(this['_licenseKeyCheckInterval']),this['_licenseKeyCheckInterval']=void 0x0;break;}}'footnotesLicenseKeyInvalid'==_0x45557a&&_0x1b6f74['_showLicenseError']('invalid'),'footnotesLicenseKeyExpired'==_0x45557a&&_0x1b6f74['_showLicenseError']('expired'),'footnotesLicenseKeyDomainLimit'==_0x45557a&&_0x1b6f74['_showLicenseError']('domainLimit'),'footnotesLicenseKeyNotAllowed'==_0x45557a&&_0x1b6f74['_showLicenseError']('featureNotAllowed','Footnotes'),'footnotesLicenseKeyEvaluationLimit'==_0x45557a&&_0x1b6f74['_showLicenseError']('evaluationLimit'),'footnotesLicenseKeyTrialLimit'==_0x45557a&&_0x1b6f74['_showLicenseError']('trialLimit'),'footnotesLicenseKeyUsageLimit'==_0x45557a&&_0x1b6f74['_showLicenseError']('usageLimit');},0x3e8);}['destroy'](){super['destroy'](),this['_licenseKeyCheckInterval']&&clearInterval(this['_licenseKeyCheckInterval']);}}function x(_0x29ad3a,_0x556e26){const _0x10814c=_0x29ad3a['commands']['get']('insertFootnote');return _0x2cea72=>{const {t:t}=_0x2cea72,_0x110327=new _0x556e26(_0x2cea72),_0x1d65f4=_0x110327 instanceof _0x9fabdf;return _0x110327['bind']('isEnabled')['to'](_0x10814c,'isEnabled'),_0x110327['set']({'label':t(_0x1d65f4?'Footnote':'Insert\x20footnote'),'icon':_0x2db4f8,'tooltip':!0x0}),_0x110327['on']('execute',()=>{_0x10814c['execute'](),_0x29ad3a['editing']['view']['focus']();}),_0x110327;};}class lt extends _0x3263b6{static get['pluginName'](){return'Footnotes';}static get['requires'](){return[r,e,i];}static get['isOfficialPlugin'](){return!0x0;}static get['isPremiumPlugin'](){return!0x0;}}const Q=['decimal','decimal-leading-zero','lower-latin','upper-latin','lower-alpha','upper-alpha','lower-roman','upper-roman'];class S extends _0x390675{['refresh'](){const {editor:_0x15f60e}=this,_0x521ee9=_0x15f60e['plugins']['get'](f)['getFootnotesDefinitionsObjectElement']();this['isEnabled']=!!_0x521ee9,this['value']=_0x521ee9?.['getAttribute']('footnotesListStyle')??null;}['execute']({value:_0x573c0f}){const {editor:_0x2fc223}=this,_0x531f22=_0x2fc223['plugins']['get'](f),_0x183971=_0x531f22['getFootnotesDefinitionsObjectElement']();_0x183971&&Q['includes'](_0x573c0f)&&_0x2fc223['model']['change'](_0x474a11=>{_0x474a11['setAttribute']('footnotesListStyle',_0x573c0f,_0x183971),_0x531f22['_updateFootnotesCounters'](_0x474a11);});}}class C extends _0x390675{['refresh'](){const {editor:_0x4f826b}=this,_0x106772=_0x4f826b['plugins']['get'](f)['getFootnotesDefinitionsObjectElement']();this['isEnabled']=!!_0x106772,this['value']=_0x106772?.['getAttribute']('footnotesListStart')??null;}['execute']({value:_0x3f6d2a}){const {editor:_0x15e0aa}=this,_0x3e3c55=_0x15e0aa['plugins']['get'](f),_0x5ab018=_0x3e3c55['getFootnotesDefinitionsObjectElement']();_0x5ab018&&Number['isInteger'](_0x3f6d2a)&&_0x15e0aa['model']['change'](_0x48841c=>{_0x48841c['setAttribute']('footnotesListStart',_0x3f6d2a,_0x5ab018),_0x3e3c55['_updateFootnotesCounters'](_0x48841c);});}}class P extends _0x3263b6{static get['pluginName'](){return'FootnotesPropertiesEditing';}static get['requires'](){return[r,f];}static get['isOfficialPlugin'](){return!0x0;}static get['isPremiumPlugin'](){return!0x0;}['init'](){const {editor:_0x258ff7}=this;_0x258ff7['config']['define']('footnotes.footnotesProperties.defaultListStyle','decimal'),_0x258ff7['config']['define']('footnotes.footnotesProperties.defaultStartIndex',0x1),_0x258ff7['commands']['add']('footnotesStyle',new S(_0x258ff7)),_0x258ff7['commands']['add']('footnotesStart',new C(_0x258ff7)),this['_defineSchema'](),this['_defineConverters'](),this['_defineFormatter'](),this['_definePostfixer']();}['_defineSchema'](){const {editor:_0x5d9411}=this,{schema:_0x166ab9}=_0x5d9411['model'];_0x166ab9['extend']('footnotesDefinitions',{'allowAttributes':['footnotesListStyle','footnotesListStart']});}['_defineConverters'](){const {editor:_0x146b58}=this,{conversion:_0x15dde5,model:_0x506b76}=_0x146b58,{schema:_0xddbc9f}=_0x506b76;_0x15dde5['for']('upcast')['add'](_0x149474=>{_0x149474['on']('element:ol',(_0x524e4d,_0x18bd66,_0x160116)=>{const _0xdd3fd6=_0x18bd66['viewItem'],_0xacfb88=_0x18bd66['modelCursor']?.['parent'];_0xdd3fd6['hasClass']('footnotes-list')&&_0xacfb88?.['is']('element','footnotesDefinitions')&&(function(_0x13e759,_0x33493a,_0x28b059,_0x4a77b3){if(!_0x4a77b3['checkAttribute'](_0x33493a,'footnotesListStart'))return;let _0x149513=0x1;const _0x3cb90b=_0x28b059['consumable']['consume'](_0x13e759,{'attributes':'start'});if(_0x3cb90b){const _0x2da53a=Number['parseInt'](_0x13e759['getAttribute']('start'),0xa);Number['isNaN'](_0x2da53a)||(_0x149513=_0x2da53a);}!_0x3cb90b&&_0x33493a['hasAttribute']('footnotesListStart')||_0x28b059['writer']['setAttribute']('footnotesListStart',_0x149513,_0x33493a);}(_0xdd3fd6,_0xacfb88,_0x160116,_0xddbc9f),function(_0x22c4be,_0x513bc0,_0x4e3bff,_0x790c83){if(!_0x790c83['checkAttribute'](_0x513bc0,'footnotesListStyle'))return;let _0x5f44f1='decimal',_0x441a8f=!0x1;if(_0x4e3bff['consumable']['consume'](_0x22c4be,{'attributes':'type'})){const _0x2594a0={0x1:'decimal','a':'lower-alpha','A':'upper-alpha','i':'lower-roman','I':'upper-roman'}[_0x22c4be['getAttribute']('type')];_0x2594a0&&(_0x5f44f1=_0x2594a0),_0x441a8f=!0x0;}_0x4e3bff['consumable']['consume'](_0x22c4be,{'styles':'list-style-type'})&&(_0x5f44f1=function(_0x22ad02){switch(_0x22ad02){case'lower-alpha':return'lower-latin';case'upper-alpha':return'upper-latin';default:return _0x22ad02;}}(_0x22c4be['getStyle']('list-style-type')),_0x441a8f=!0x0),!_0x441a8f&&_0x513bc0['hasAttribute']('footnotesListStyle')||_0x4e3bff['writer']['setAttribute']('footnotesListStyle',_0x5f44f1,_0x513bc0);}(_0xdd3fd6,_0xacfb88,_0x160116,_0xddbc9f));});}),_0x15dde5['for']('downcast')['add'](_0x59bed3=>{_0x59bed3['on']('attribute:footnotesListStart:footnotesDefinitions',(_0xadd72b,_0x2f2057,_0x5e18e4)=>{if(!_0x5e18e4['consumable']['consume'](_0x2f2057['item'],_0xadd72b['name']))return;const _0x4cd8cb=M(_0x2f2057['item'],_0x5e18e4['mapper']),{attributeNewValue:_0x8d8eb9}=_0x2f2057;null==_0x8d8eb9||0x1===_0x8d8eb9?_0x5e18e4['writer']['removeAttribute']('start',_0x4cd8cb):_0x5e18e4['writer']['setAttribute']('start',String(_0x8d8eb9),_0x4cd8cb);}),_0x59bed3['on']('attribute:footnotesListStyle:footnotesDefinitions',(_0x1138e1,_0x5b58d0,_0xbcf0ad)=>{if(!_0xbcf0ad['consumable']['consume'](_0x5b58d0['item'],_0x1138e1['name']))return;const _0x431003=M(_0x5b58d0['item'],_0xbcf0ad['mapper']),{attributeNewValue:_0x3de480}=_0x5b58d0;_0x3de480&&'decimal'!==_0x3de480?_0xbcf0ad['writer']['setStyle']('list-style-type',_0x3de480,_0x431003):_0xbcf0ad['writer']['removeStyle']('list-style-type',_0x431003);});});}['_definePostfixer'](){const {editor:_0x34cc72}=this,{model:_0x3c6e18}=_0x34cc72,_0x2ff0cd=_0x34cc72['plugins']['get'](f),_0x292d6f=this['_getDefaultListStyle'](),_0xf2ebcc=this['_getDefaultStartIndex']();_0x3c6e18['document']['registerPostFixer'](_0x3bd2b2=>{const _0x5ec6cf=_0x3c6e18['document']['differ']['getChanges']();let _0x2da2ba=!0x1;for(const _0x4d5eb8 of _0x5ec6cf){if('insert'!==_0x4d5eb8['type']||'$text'===_0x4d5eb8['name'])continue;const _0x4b0704=_0x3c6e18['createRangeOn'](_0x4d5eb8['position']['nodeAfter']);for(const _0x177bd6 of _0x4b0704['getItems']())_0x177bd6['is']('element','footnotesDefinitions')&&(!_0x177bd6['hasAttribute']('footnotesListStart')&&_0x3c6e18['schema']['checkAttribute'](_0x177bd6,'footnotesListStart')&&(_0x3bd2b2['setAttribute']('footnotesListStart',_0xf2ebcc,_0x177bd6),_0x2da2ba=!0x0),!_0x177bd6['hasAttribute']('footnotesListStyle')&&_0x3c6e18['schema']['checkAttribute'](_0x177bd6,'footnotesListStyle')&&(_0x3bd2b2['setAttribute']('footnotesListStyle',_0x292d6f,_0x177bd6),_0x2da2ba=!0x0));}return _0x2da2ba&&_0x2ff0cd['_updateFootnotesCounters'](_0x3bd2b2),_0x2da2ba;});}['_defineFormatter'](){const {editor:_0x1dfb10}=this;_0x1dfb10['plugins']['get'](f)['setFootnoteFormatter'](_0x3a692a=>this['_formatFootnoteListValue'](_0x3a692a));}['_getDefaultListStyle'](){return this['editor']['config']['get']('footnotes.footnotesProperties.defaultListStyle');}['_getDefaultStartIndex'](){return this['editor']['config']['get']('footnotes.footnotesProperties.defaultStartIndex');}['_formatFootnoteListValue']({container:_0x45c9d9,value:_0x3c78b7,digits:_0x3355ea}){const _0x502255=_0x45c9d9['getAttribute']('footnotesListStyle'),_0x2b0abb=_0x45c9d9['getAttribute']('footnotesListStart'),_0x4a7149=Math['floor'](_0x3c78b7)+(_0x2b0abb??0x1)-0x1;switch(_0x502255){case'decimal-leading-zero':return function(_0x1fa906,_0x3fff2e){return String(_0x1fa906)['padStart'](_0x3fff2e,'0');}(_0x4a7149,Math['max'](0x2,_0x3355ea));case'lower-alpha':case'lower-latin':return N(_0x4a7149,!0x1);case'upper-alpha':case'upper-latin':return N(_0x4a7149,!0x0);case'lower-roman':return X(_0x4a7149,!0x1);case'upper-roman':return X(_0x4a7149,!0x0);default:return String(_0x4a7149);}}}function M(_0x16ca07,_0x2c7cf6){const _0x54be6a=_0x2c7cf6['toViewElement'](_0x16ca07);return Array['from'](_0x54be6a['getChildren']())['find'](_0x1ff2bb=>_0x1ff2bb['is']('element','ol')&&_0x1ff2bb['hasClass']('footnotes-list'));}function N(_0x297b44,_0x19009f){let _0x297ae4='',_0xae3e88=_0x297b44;for(;_0xae3e88>0x0;){const _0xf7c335=(_0xae3e88-0x1)%0x1a;_0x297ae4=String['fromCharCode'](0x61+_0xf7c335)+_0x297ae4,_0xae3e88=Math['floor']((_0xae3e88-0x1)/0x1a);}return _0x19009f?_0x297ae4['toUpperCase']():_0x297ae4;}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(_0x41c598,_0x519cd0){let _0x582fb0='',_0x43f53e=_0x41c598;for(const {value:_0x244744,numeral:_0x132d9b}of V)for(;_0x43f53e>=_0x244744;)_0x582fb0+=_0x132d9b,_0x43f53e-=_0x244744;return _0x519cd0?_0x582fb0:_0x582fb0['toLowerCase']();}class H extends _0x425827{['children'];['stylesView']=null;['additionalProperties']=null;['startIndexFieldView']=null;['focusTracker']=new ot();['keystrokes']=new rt();['focusables']=new _0x482a02();['focusCycler'];constructor(_0x2a236b,{styleButtonViews:_0x52c775,styleGridAriaLabel:_0x1e66a4}){super(_0x2a236b),(this['focusCycler']=new _0x5b8f14({'focusables':this['focusables'],'focusTracker':this['focusTracker'],'keystrokeHandler':this['keystrokes'],'actions':{'focusPrevious':'shift\x20+\x20tab','focusNext':'tab'}}),this['children']=this['createCollection'](),this['stylesView']=this['_appendStylesView'](_0x52c775,_0x1e66a4),[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 _0x1ca345 of this['stylesView']['children'])this['stylesView']['focusTracker']['add'](_0x1ca345['element']);tt({'keystrokeHandler':this['stylesView']['keystrokes'],'focusTracker':this['stylesView']['focusTracker'],'gridItems':this['stylesView']['children'],'numberOfColumns':()=>nt['window']['getComputedStyle'](this['stylesView']['element'])['getPropertyValue']('grid-template-columns')['split']('\x20')['length'],'uiLanguageDirection':this['locale']&&this['locale']['uiLanguageDirection']});}if(this['startIndexFieldView']){this['focusables']['add'](this['startIndexFieldView']),this['focusTracker']['add'](this['startIndexFieldView']['element']);const _0x3e8625=_0x4f2686=>_0x4f2686['stopPropagation']();this['keystrokes']['set']('arrowright',_0x3e8625),this['keystrokes']['set']('arrowleft',_0x3e8625),this['keystrokes']['set']('arrowup',_0x3e8625),this['keystrokes']['set']('arrowdown',_0x3e8625);}this['keystrokes']['listenTo'](this['element']);}['focus'](){this['focusCycler']['focusFirst']();}['focusLast'](){this['focusCycler']['focusLast']();}['destroy'](){super['destroy'](),this['focusTracker']['destroy'](),this['keystrokes']['destroy']();}['_appendStylesView'](_0x50fedc,_0x59181){const _0x5f19ca=new _0x425827(this['locale']);return _0x5f19ca['children']=_0x5f19ca['createCollection'](),_0x5f19ca['children']['addMany'](_0x50fedc),_0x5f19ca['setTemplate']({'tag':'div','attributes':{'aria-label':_0x59181,'class':['ck','ck-footnotes-definitions-styles-list']},'children':_0x5f19ca['children']}),_0x5f19ca['children']['delegate']('execute')['to'](this),_0x5f19ca['focus']=function(){for(const _0x584a93 of this['children'])if(_0x584a93 instanceof _0xa80dc1&&_0x584a93['isOn'])return void _0x584a93['focus']();this['children']['first']['focus']();},_0x5f19ca['focusTracker']=new ot(),_0x5f19ca['keystrokes']=new rt(),_0x5f19ca['render'](),_0x5f19ca['keystrokes']['listenTo'](_0x5f19ca['element']),this['children']['add'](_0x5f19ca),_0x5f19ca;}['_appendAdditionalPropertiesCollapsibleView'](){const {t:t}=this['locale'],_0x4ae144=this['_createStartIndexPropertyView'](),_0x281ae7=[_0x4ae144],_0x3a0ee3=new st(this['locale'],_0x281ae7);return _0x3a0ee3['set']({'label':t('Footnotes\x20properties'),'isCollapsed':!0x0}),_0x3a0ee3['buttonView']['bind']('isEnabled')['toMany'](_0x281ae7,'isEnabled',(..._0xa38c93)=>_0xa38c93['some'](_0x311cb7=>_0x311cb7)),_0x3a0ee3['buttonView']['on']('change:isEnabled',(_0x3a0990,_0x21f874,_0x2ce906)=>{_0x2ce906||(_0x3a0ee3['isCollapsed']=!0x0);}),this['children']['add'](_0x3a0ee3),[_0x4ae144,_0x3a0ee3];}['_createStartIndexPropertyView'](){const {t:t}=this['locale'],_0x431147=new it(this['locale'],et);return _0x431147['set']({'label':t('Footnotes\x20start\x20at'),'class':'ck-footnotes-definitions-properties__start-index'}),_0x431147['fieldView']['set']({'min':0x0,'max':Math['pow'](0x2,0x1e),'step':0x1,'value':0x1,'inputMode':'numeric'}),_0x431147['fieldView']['on']('input',()=>{const _0x364274=_0x431147['fieldView']['element'],_0x1b149d=_0x364274['valueAsNumber'];Number['isNaN'](_0x1b149d)?_0x431147['errorText']=t('Invalid\x20footnotes\x20start\x20index\x20value.'):_0x364274['checkValidity']()?this['fire']('footnotesListStart',{'startIndex':_0x1b149d}):_0x431147['errorText']=t(_0x1b149d<0x0?'Footnotes\x20start\x20index\x20must\x20be\x20greater\x20than\x200.':'Footnotes\x20start\x20index\x20is\x20too\x20large.');}),_0x431147;}}class j extends _0x3263b6{static get['pluginName'](){return'FootnotesPropertiesUI';}static get['requires'](){return[_0x5d26d8,_0x1d7021];}static get['isOfficialPlugin'](){return!0x0;}static get['isPremiumPlugin'](){return!0x0;}['init'](){const {editor:_0x645588}=this,{componentFactory:_0x4a68e2}=_0x645588['ui'];_0x645588['config']['define']('footnotes.footnotesProperties.toolbar',['footnotesStyle']),_0x4a68e2['add']('footnotesStyle',function(_0xc482f4){return _0x715af8=>{const {t:t}=_0x715af8,_0x25ee08=_0xc482f4['commands']['get']('footnotesStyle'),_0x3c02f4=_0x30f580(_0x715af8),{buttonView:_0x2e5a00}=_0x3c02f4;return _0x3c02f4['class']='ck-footnotes-styles-dropdown',_0x3c02f4['bind']('isEnabled')['to'](_0x25ee08,'isEnabled'),_0x2e5a00['set']({'label':t('Footnotes\x20style'),'icon':_0x2db4f8,'tooltip':!0x0}),_0x3c02f4['once']('change:isOpen',()=>{const _0x426910=function({editor:_0x4d5895,dropdownView:_0x3c94bc}){const {t:t}=_0x4d5895['locale'],_0x157545=t('Footnotes\x20definitions\x20styles'),_0x17f66e=function(_0x38694c){const t=_0x38694c['locale']['t'],_0xe768ef=[{'label':t('Toggle\x20the\x20decimal\x20footnotes\x20style'),'tooltip':t('Decimal\x20footnotes'),'style':'decimal','icon':_0x173ec3},{'label':t('Toggle\x20the\x20decimal\x20with\x20leading\x20zero\x20footnotes\x20style'),'tooltip':t('Decimal\x20footnotes\x20with\x20leading\x20zero'),'style':'decimal-leading-zero','icon':_0x36e591},{'label':t('Toggle\x20the\x20lower–roman\x20footnotes\x20style'),'tooltip':t('Lower–roman\x20footnotes'),'style':'lower-roman','icon':_0x5efc48},{'label':t('Toggle\x20the\x20upper–roman\x20footnotes\x20style'),'tooltip':t('Upper-roman\x20footnotes'),'style':'upper-roman','icon':_0x526c34},{'label':t('Toggle\x20the\x20lower–latin\x20footnotes\x20style'),'tooltip':t('Lower-latin\x20footnotes'),'style':'lower-latin','icon':_0x5e7c46},{'label':t('Toggle\x20the\x20upper–latin\x20footnotes\x20style'),'tooltip':t('Upper-latin\x20footnotes'),'style':'upper-latin','icon':_0x526891}];return _0xe768ef['map'](function(_0x532131){const _0x5ae49b=_0x532131['locale'];return({label:_0x129eb5,icon:_0x41a0e4,tooltip:_0x12519e,style:_0x237af0})=>{const _0x1f3760=_0x532131['commands']['get']('footnotesStyle'),_0xb655e0=new _0xa80dc1(_0x5ae49b);return _0xb655e0['set']({'label':_0x129eb5,'icon':_0x41a0e4,'tooltip':_0x12519e}),_0xb655e0['bind']('isOn')['to'](_0x1f3760,'value',_0x3b7547=>_0x3b7547===_0x237af0),_0xb655e0['bind']('isEnabled')['to'](_0x1f3760,'isEnabled'),_0xb655e0['on']('execute',()=>{_0x532131['execute']('footnotesStyle',{'value':_0x237af0}),_0x532131['editing']['view']['focus']();}),_0xb655e0;};}(_0x38694c));}(_0x4d5895),_0x1a7b76=new H(_0x4d5895['locale'],{'styleGridAriaLabel':_0x157545,'styleButtonViews':_0x17f66e}),_0x30f4c7=_0x4d5895['commands']['get']('footnotesStart');return _0x1a7b76['startIndexFieldView']['bind']('isEnabled')['to'](_0x30f4c7),_0x1a7b76['startIndexFieldView']['fieldView']['bind']('value')['to'](_0x30f4c7),_0x1a7b76['on']('footnotesListStart',(_0x1c5be5,_0x582d3c)=>{_0x4d5895['execute']('footnotesStart',{'value':_0x582d3c['startIndex']});}),_0x1a7b76['delegate']('execute')['to'](_0x3c94bc),_0x1a7b76;}({'editor':_0xc482f4,'dropdownView':_0x3c02f4});_0x3c02f4['panelView']['children']['add'](_0x426910);}),_0x3c02f4;};}(_0x645588));}['afterInit'](){const {editor:_0xd3714d}=this,{t:t}=_0xd3714d['locale'],_0x31bc90=_0xd3714d['plugins']['get'](_0x1d7021),{defaultPositions:_0x3b8148}=_0x162d1c;_0x31bc90['register']('footnotesDefinitions',{'ariaLabel':t('Footnotes\x20definitions\x20toolbar'),'items':_0xd3714d['config']['get']('footnotes.footnotesProperties.toolbar'),'balloonClassName':'ck-footnotes-style-balloon\x20ck-toolbar-container','getRelatedElement':_0x48ca79=>{let _0x35f130=_0x48ca79['getFirstPosition']()?.['parent'];return _0x35f130?.['is']('$text')&&(_0x35f130=_0x35f130['parent']),_0x35f130?.['is']('element')?_0x35f130['findAncestor'](J):null;},'positions':[_0x3b8148['southArrowNorth'],_0x3b8148['southArrowNorthMiddleWest'],_0x3b8148['southArrowNorthMiddleEast'],_0x3b8148['southArrowNorthWest'],_0x3b8148['southArrowNorthEast'],_0x3b8148['northArrowSouth'],_0x3b8148['northArrowSouthMiddleWest'],_0x3b8148['northArrowSouthMiddleEast'],_0x3b8148['northArrowSouthWest'],_0x3b8148['northArrowSouthEast'],_0x3b8148['viewportStickyNorth']]});}}class ft extends _0x3263b6{static get['pluginName'](){return'FootnotesProperties';}static get['requires'](){return[P,j];}static get['isOfficialPlugin'](){return!0x0;}static get['isPremiumPlugin'](){return!0x0;}}export{lt as Footnotes,e as FootnotesClipboard,r as FootnotesEditing,ft as FootnotesProperties,P as FootnotesPropertiesEditing,j as FootnotesPropertiesUI,C as FootnotesStartCommand,S as FootnotesStyleCommand,f as FootnotesTracker,i as FootnotesUI,m as InsertFootnoteCommand};
|
|
23
|
+
import{Plugin as _0xdc1d92,Command as _0x2922a0}from'@ckeditor/ckeditor5-core/dist/index.js';import{toWidget as _0x456aae,isWidget as _0x492a9c,toWidgetEditable as _0x232f1e,WidgetToolbarRepository as _0x41e8fb}from'@ckeditor/ckeditor5-widget/dist/index.js';import{uid as _0x1d1e30,logWarning as _0x4e11b0,FocusTracker as ot,KeystrokeHandler as rt,global as nt}from'@ckeditor/ckeditor5-utils/dist/index.js';import{PointerObserver as _0x2f5e72,ClickObserver as _0x297110}from'@ckeditor/ckeditor5-engine/dist/index.js';import{ClipboardPipeline as _0x3ca5ad}from'@ckeditor/ckeditor5-clipboard/dist/index.js';import{MenuBarMenuListItemButtonView as _0x4c975f,ButtonView as _0x3c7b9c,View as _0x5addd1,ViewCollection as _0x5a99c4,FocusCycler as _0x69f264,addKeyboardHandlingForGrid as tt,CollapsibleView as st,LabeledFieldView as it,createLabeledInputNumber as et,ContextualBalloon as _0x2f927b,BalloonPanelView as _0x354bcb,createDropdown as _0x229e8e}from'@ckeditor/ckeditor5-ui/dist/index.js';import{IconFootnote as _0x5bc017,IconListStyleDecimal as _0x54e97f,IconListStyleDecimalLeadingZero as _0x3a044a,IconListStyleLowerRoman as _0x234538,IconListStyleUpperRoman as _0x5edc10,IconListStyleLowerLatin as _0x3d019f,IconListStyleUpperLatin as _0x1a86d1}from'@ckeditor/ckeditor5-icons/dist/index.js';class F{['_model'];['_elementName'];['_getElementKey'];['_trackedElements']=new Map();constructor(_0x10f0e3,_0x1623da){this['_model']=_0x10f0e3,this['_elementName']=_0x1623da['elementName'],this['_getElementKey']=_0x1623da['getElementKey'];}['reset'](){this['_trackedElements']['clear']();}['getChanges'](_0x111fed){const _0x43962f=new Set(),_0x359ea1=new Map();for(const _0x1fdaac of _0x111fed){if('insert'===_0x1fdaac['type']&&'$text'!==_0x1fdaac['name']&&_0x1fdaac['position']['nodeAfter']){const _0x1fd7a7=this['_model']['createRangeOn'](_0x1fdaac['position']['nodeAfter']);for(const _0x495fd6 of _0x1fd7a7['getItems']()){if(!_0x495fd6['is']('element',this['_elementName']))continue;const _0x597e6e=this['_getElementKey'](_0x495fd6);_0x359ea1['has'](_0x597e6e)||_0x359ea1['set'](_0x597e6e,[]),_0x359ea1['get'](_0x597e6e)['push'](_0x495fd6);}}if('remove'===_0x1fdaac['type']&&_0x1fdaac['name']===this['_elementName']){const _0x255d1b=this['_getElementKey']({'getAttribute':_0x14ef13=>_0x1fdaac['attributes']['get'](_0x14ef13)});_0x43962f['add'](_0x255d1b);}}for(const [_0x122a2f,_0x2121b3]of this['_trackedElements'])'$graveyard'===_0x2121b3['root']['rootName']&&_0x43962f['add'](_0x122a2f);for(const _0xf8ae56 of _0x43962f)this['_trackedElements']['delete'](_0xf8ae56);for(const [_0x42bdda,_0x358d54]of _0x359ea1)this['_trackedElements']['set'](_0x42bdda,_0x358d54[_0x358d54['length']-0x1]);const _0x160b50=new Set();for(const [_0x40a30f,_0x1aa0f7]of _0x359ea1)_0x43962f['has'](_0x40a30f)&&(_0x160b50['add'](_0x1aa0f7[0x0]),_0x1aa0f7['length']>0x1?_0x359ea1['set'](_0x40a30f,_0x1aa0f7['slice'](0x1)):_0x359ea1['delete'](_0x40a30f),_0x43962f['delete'](_0x40a30f));return{'removed':Array['from'](_0x43962f),'inserted':Array['from'](_0x359ea1['values']())['flat'](),'moved':Array['from'](_0x160b50)};}}class f extends _0xdc1d92{['_footnotes']=[];['_footnotesDefinitions']=null;['_footnoteFormatter']=null;['_footnoteDefsContainerTracker'];['_footnoteRefsTracker'];['_footnoteDefsTracker'];static get['pluginName'](){return'FootnotesTracker';}static get['isOfficialPlugin'](){return!0x0;}static get['isPremiumPlugin'](){return!0x0;}constructor(_0x40d301){super(_0x40d301),this['_footnoteDefsContainerTracker']=new F(this['editor']['model'],{'elementName':'footnotesDefinitions','getElementKey':()=>'singleton'}),this['_footnoteRefsTracker']=new F(this['editor']['model'],{'elementName':'footnoteRef','getElementKey':_0x41e276=>_0x41e276['getAttribute']('footnoteId')}),this['_footnoteDefsTracker']=new F(this['editor']['model'],{'elementName':'footnoteDefinition','getElementKey':_0x4992b6=>_0x4992b6['getAttribute']('footnoteId')});}['init'](){const {editor:_0x16305c}=this,{model:_0x53bb63,data:_0x5b5ec9}=_0x16305c;_0x53bb63['document']['registerPostFixer'](_0x34f223=>{const _0x2285c8=_0x53bb63['document']['differ']['getChanges']();let _0x28124e=!0x1;return this['_handleFootnotesDefinitionsObjectChanges'](_0x34f223,_0x2285c8)&&(_0x28124e=!0x0),this['_handleFootnoteDefinitionsChanges'](_0x34f223,_0x2285c8)&&(_0x28124e=!0x0),this['_handleFootnoteReferencesChanges'](_0x34f223,_0x2285c8)&&(_0x28124e=!0x0),this['_ensureFootnotesReferencesHaveProperOrder'](_0x34f223)&&(_0x28124e=!0x0),this['_handleFootnotesDefinitionsObjectSync'](_0x34f223)&&(_0x28124e=!0x0),this['_sortFootnoteDefinitions'](_0x34f223)&&(_0x28124e=!0x0),_0x28124e;}),this['listenTo'](_0x53bb63['document'],'change:data',()=>{_0x53bb63['enqueueChange']({'isUndoable':!0x1},_0x3a4555=>{this['_ensureFootnotesDefinitionsContainerExists'](_0x3a4555);});},{'priority':'low'}),this['listenTo'](_0x5b5ec9,'set',()=>{this['_footnotes']=[],this['_footnoteDefsContainerTracker']['reset'](),this['_footnoteRefsTracker']['reset'](),this['_footnoteDefsTracker']['reset']();},{'priority':'high'});}['getFootnotesDefinitionsObjectElement'](){return this['_footnotesDefinitions'];}['getFootnote'](_0x2a302a){return this['_footnotes']['find'](_0x5e85bf=>_0x5e85bf['id']===_0x2a302a)||null;}['getFootnotes'](){return Array['from'](this['_footnotes']);}['getFootnotesFormatter'](){return this['_footnoteFormatter'];}['setFootnoteFormatter'](_0x540e0c){this['_footnoteFormatter']=_0x540e0c;}['_updateFootnotesCounters'](_0x36ba89,_0x1ab7d7=0x0){let _0x561ce6=!0x1;for(let _0x372218=_0x1ab7d7;_0x372218<this['_footnotes']['length'];_0x372218++)this['_updateFootnoteRefCounter'](_0x36ba89,_0x372218)&&(_0x561ce6=!0x0);return _0x561ce6;}['_insertEmptyFootnotesDefinitionsContainer'](_0x442c64,_0x5f0605){const _0x6e6441=_0x442c64['createElement']('footnotesDefinitions',{});return _0x442c64['append'](_0x6e6441,_0x5f0605),this['_footnotesDefinitions']=_0x6e6441,_0x6e6441;}['_ensureFootnotesDefinitionsContainerExists'](_0x32ee25){if(!this['_footnotes']['length']||this['_footnotesDefinitions'])return;const _0x10e051=this['_footnotes'][0x0]['reference']['root'],_0x5ab70a=this['_insertEmptyFootnotesDefinitionsContainer'](_0x32ee25,_0x10e051);for(const _0x25a1a7 of this['_footnotes'])_0x25a1a7['definition']['parent']||_0x32ee25['insert'](_0x25a1a7['definition'],_0x5ab70a,'end');this['_updateFootnotesCounters'](_0x32ee25);}['_handleFootnotesDefinitionsObjectChanges'](_0x34aa03,_0x1a22c7){let _0x178d8f=!0x1;const {inserted:_0x4308d3,removed:_0x2781ef,moved:_0x4e80b3}=this['_footnoteDefsContainerTracker']['getChanges'](_0x1a22c7);if(_0x4e80b3['length']&&(this['_footnotesDefinitions']=_0x4e80b3[0x0]),_0x4308d3['length']){if(_0x4308d3['length']>0x1||this['_footnotesDefinitions']&&_0x4308d3['some'](_0x313a6b=>_0x313a6b!==this['_footnotesDefinitions'])){const _0x4d5c31=_0x34aa03['createElement']('footnotesDefinitions',{}),_0x4d5c54=[];this['_footnotesDefinitions']&&_0x4d5c54['push'](this['_footnotesDefinitions']),_0x4d5c54['push'](..._0x4308d3),_0x34aa03['insert'](_0x4d5c31,_0x4d5c54[0x0],'before');for(const _0xad2b90 of _0x4d5c54)_0x34aa03['move'](_0x34aa03['createRangeIn'](_0xad2b90),_0x34aa03['createPositionAt'](_0x4d5c31,'end')),_0x34aa03['remove'](_0xad2b90);this['_footnotesDefinitions']=_0x4d5c31,this['_updateFootnotesCounters'](_0x34aa03),_0x178d8f=!0x0;}else this['_footnotesDefinitions']=_0x4308d3[0x0];}if(_0x2781ef['length']&&'$graveyard'===this['_footnotesDefinitions']?.['root']['rootName']){for(const _0x465816 of this['_footnotes'])_0x34aa03['remove'](_0x465816['reference']),_0x178d8f=!0x0;this['_footnotes']=[],this['_footnotesDefinitions']=null;}return _0x178d8f;}['_handleFootnoteDefinitionsChanges'](_0x4557b4,_0x53d3b8){let _0x54828e=!0x1;const _0x35fd41=this['editor']['config']['get']('footnotes.multiBlock'),{inserted:_0x4043e6,moved:_0x4b1b8b}=this['_footnoteDefsTracker']['getChanges'](_0x53d3b8);for(const _0x5aee67 of[..._0x4b1b8b,..._0x4043e6]){const _0x7dca93=_0x5aee67['getAttribute']('footnoteId'),_0x23293d=this['getFootnote'](_0x7dca93);_0x23293d&&(_0x23293d['definition']=_0x5aee67),_(_0x4557b4,_0x35fd41,_0x5aee67)&&(_0x54828e=!0x0);}return _0x54828e;}['_handleFootnoteReferencesChanges'](_0xcc0040,_0x44ee6c){let _0x4def7b=!0x1;const {removed:_0x58d9c7,inserted:_0x289c4d,moved:_0x3a9a45}=this['_footnoteRefsTracker']['getChanges'](_0x44ee6c);for(const _0x1daada of _0x58d9c7)this['_handleRemoveFootnoteReferenceById'](_0xcc0040,_0x1daada)&&(_0x4def7b=!0x0);for(const _0x2f0914 of _0x289c4d)this['_handleInsertedFootnoteReference'](_0xcc0040,_0x2f0914)&&(_0x4def7b=!0x0);for(const _0x5998c1 of _0x3a9a45)this['_handleMovedFootnoteReference'](_0xcc0040,_0x5998c1)&&(_0x4def7b=!0x0);return _0x4def7b;}['_handleFootnotesDefinitionsObjectSync'](_0x1bafae){if(!this['_footnotesDefinitions'])return!0x1;let _0x46b61c=!0x1;if(this['_footnotesDefinitions']['childCount']!==this['_footnotes']['length']){const _0x58f234=[];for(const _0x138699 of this['_footnotesDefinitions']['getChildren']()){const _0x921518=_0x138699['getAttribute']('footnoteId');this['getFootnote'](_0x921518)||(_0x58f234['unshift'](_0x138699),_0x46b61c=!0x0);}for(const _0x45dbe3 of _0x58f234)_0x1bafae['remove'](_0x45dbe3);}const _0x469b23=new Set(),_0x43312b=[];for(const _0x4700f7 of this['_footnotesDefinitions']['getChildren']()){const _0x2d6c94=_0x4700f7['getAttribute']('footnoteId');_0x469b23['has'](_0x2d6c94)?(_0x43312b['unshift'](_0x4700f7),_0x46b61c=!0x0):_0x469b23['add'](_0x2d6c94);}for(const _0x101234 of _0x43312b)_0x1bafae['remove'](_0x101234);return this['_footnotesDefinitions']['childCount']||(_0x1bafae['remove'](this['_footnotesDefinitions']),this['_footnotesDefinitions']=null,_0x46b61c=!0x0),_0x46b61c;}['_handleInsertedFootnoteReference'](_0x5c8cb9,_0x485da3){if(this['_footnotes']['find'](_0x596a3f=>_0x596a3f['reference']===_0x485da3))return!0x1;let _0x41e0bb=!0x1;const _0x185bd3=_0x485da3['getAttribute']('footnoteId'),_0x4adc98=this['_footnotes']['findIndex'](_0x43e9f9=>_0x43e9f9['id']===_0x185bd3);-0x1!==_0x4adc98&&(_0x5c8cb9['remove'](this['_footnotes'][_0x4adc98]['reference']),this['_footnotes']['splice'](_0x4adc98,0x1),_0x41e0bb=!0x0);let _0x41e8ea=this['_footnotesDefinitions']?function(_0x4538ce,_0x1b5545){for(const _0x4114c0 of _0x4538ce['getChildren']())if(_0x4114c0['getAttribute']('footnoteId')===_0x1b5545)return _0x4114c0;return null;}(this['_footnotesDefinitions'],_0x185bd3):null;_0x41e8ea||(_0x41e8ea=_0x5c8cb9['createElement']('footnoteDefinition',{'footnoteId':_0x185bd3}),this['_footnotesDefinitions']&&(_0x5c8cb9['insert'](_0x41e8ea,this['_footnotesDefinitions'],'end'),_0x41e0bb=!0x0));const _0x33d22e={'id':_0x185bd3,'reference':_0x485da3,'definition':_0x41e8ea},_0x3822d2=I(this['editor']['model'],this['_footnotes'],_0x485da3);this['_footnotes']['splice'](_0x3822d2,0x0,_0x33d22e);let _0x3e61cf=_0x3822d2;return-0x1!==_0x4adc98&&(_0x3e61cf=Math['min'](_0x3822d2,_0x4adc98)),this['_updateFootnotesCounters'](_0x5c8cb9,_0x3e61cf)&&(_0x41e0bb=!0x0),_0x41e0bb;}['_handleRemoveFootnoteReferenceById'](_0x5d82b9,_0xac17cb){const _0x392f7f=this['_footnotes']['findIndex'](_0x3efe32=>_0x3efe32['id']===_0xac17cb);if(-0x1===_0x392f7f)return!0x1;let _0x1ed507=!0x1;const _0x1e704c=this['_footnotes'][_0x392f7f];return'$graveyard'!==_0x1e704c['definition']['root']['rootName']&&(_0x5d82b9['remove'](_0x1e704c['definition']),_0x1ed507=!0x0),this['_footnotes']['splice'](_0x392f7f,0x1),this['_updateFootnotesCounters'](_0x5d82b9,_0x392f7f)&&(_0x1ed507=!0x0),_0x1ed507;}['_handleMovedFootnoteReference'](_0x5ef11e,_0x1433ba){const _0x476ecb=_0x1433ba['getAttribute']('footnoteId'),_0x2c500b=this['_footnotes']['findIndex'](_0x4686bb=>_0x4686bb['id']===_0x476ecb),_0x27bc09=this['_footnotes'][_0x2c500b];let _0x334b5c=!0x1;_0x27bc09['reference']=_0x1433ba,this['_footnotes']['splice'](_0x2c500b,0x1);const _0x41ecce=I(this['editor']['model'],this['_footnotes'],_0x1433ba);return this['_footnotes']['splice'](_0x41ecce,0x0,_0x27bc09),this['_updateFootnotesCounters'](_0x5ef11e,Math['min'](_0x2c500b,_0x41ecce))&&(_0x334b5c=!0x0),_0x334b5c;}['_updateFootnoteRefCounter'](_0x28f40b,_0x3386fc){if(!this['_footnotesDefinitions'])return!0x1;const _0x44ca44=this['_footnotes'][_0x3386fc];let _0x15e45b;return _0x15e45b=this['_footnoteFormatter']?this['_footnoteFormatter']({'footnote':_0x44ca44,'container':this['_footnotesDefinitions'],'digits':String(this['_footnotes']['length'])['length'],'value':_0x3386fc+0x1}):String(_0x3386fc+0x1),_0x44ca44['reference']['getAttribute']('footnoteCounter')!=_0x15e45b&&(_0x28f40b['setAttribute']('footnoteCounter',_0x15e45b,_0x44ca44['reference']),!0x0);}['_sortFootnoteDefinitions'](_0x29b688){if(!this['_footnotesDefinitions']||this['_footnotes']['length']<0x2)return!0x1;if(function(_0x4a9fd2,_0x2538b7){if(_0x4a9fd2['length']!==_0x2538b7['length'])return!0x1;for(let _0x487066=0x0;_0x487066<_0x4a9fd2['length'];_0x487066++)if(_0x4a9fd2[_0x487066]!==_0x2538b7[_0x487066])return!0x1;return!0x0;}(this['_footnotes']['map'](_0x12a948=>_0x12a948['id']),Array['from'](this['_footnotesDefinitions']['getChildren']())['map'](_0x5e85b6=>_0x5e85b6['getAttribute']('footnoteId'))))return!0x1;let _0xce6d42=!0x1;for(let _0xd7d66f=0x0;_0xd7d66f<this['_footnotes']['length'];_0xd7d66f++){const _0x14c661=this['_footnotes'][_0xd7d66f],_0x417049=_0x29b688['createPositionBefore'](_0x14c661['definition']),_0x5505f3=_0x29b688['createPositionAt'](this['_footnotesDefinitions'],_0xd7d66f);_0x417049['isEqual'](_0x5505f3)||(_0x29b688['move'](_0x29b688['createRangeOn'](_0x14c661['definition']),_0x5505f3),_0xce6d42=!0x0);}return _0xce6d42;}['_ensureFootnotesReferencesHaveProperOrder'](_0x4c9d44){if(!this['_footnotes']['length'])return!0x1;const {model:_0x18831f}=this['editor'];let _0x10e9f3=!0x1;for(let _0x16cf5b=0x0;_0x16cf5b<this['_footnotes']['length']-0x1;_0x16cf5b++){const _0x54b964=this['_footnotes'][_0x16cf5b],_0x2b307d=this['_footnotes'][_0x16cf5b+0x1],_0x11b8a5=_0x18831f['createPositionBefore'](_0x54b964['reference']),_0x5e34c8=_0x18831f['createPositionBefore'](_0x2b307d['reference']);'after'===_0x11b8a5['compareWith'](_0x5e34c8)&&(this['_handleMovedFootnoteReference'](_0x4c9d44,_0x54b964['reference']),_0x16cf5b=-0x1,_0x10e9f3=!0x0);}return _0x10e9f3;}}function _(_0x2e0078,_0xd97fab,_0x346f41){if(_0x346f41['childCount'])return!0x1;const _0x14fc3e=_0xd97fab?'paragraph':'footnoteInlineContent';return _0x2e0078['insert'](_0x2e0078['createElement'](_0x14fc3e),_0x346f41),!0x0;}function I(_0x5c9e45,_0x13b6c0,_0x2ecf78){if(0x0===_0x13b6c0['length'])return 0x0;const _0x4e9619=_0x5c9e45['createPositionBefore'](_0x2ecf78);for(let _0x45fb98=0x0;_0x45fb98<_0x13b6c0['length'];_0x45fb98++){const _0x1d0f30=_0x13b6c0[_0x45fb98],_0x36ab02=_0x5c9e45['createPositionBefore'](_0x1d0f30['reference']);if('before'===_0x4e9619['compareWith'](_0x36ab02))return _0x45fb98;}const _0x42370a=_0x2ecf78['root'];let _0x4df7d2=-0x1;for(let _0x428a0a=_0x13b6c0['length']-0x1;_0x428a0a>=0x0;_0x428a0a--)if(_0x13b6c0[_0x428a0a]['reference']['root']===_0x42370a){_0x4df7d2=_0x428a0a;break;}if(-0x1!==_0x4df7d2)return _0x4df7d2+0x1;const _0x48fc4e=_0x5c9e45['document']['getRootNames'](),_0x1a8d5a=_0x48fc4e['indexOf'](_0x42370a['rootName']),_0x5d0850=_0x48fc4e[_0x1a8d5a+0x1];if(_0x5d0850){for(let _0x54d041=0x0;_0x54d041<_0x13b6c0['length'];_0x54d041++)if(_0x13b6c0[_0x54d041]['reference']['root']['rootName']===_0x5d0850)return _0x54d041;}return _0x13b6c0['length'];}class m extends _0x2922a0{['refresh'](){const _0x727bb5=this['editor']['model']['document']['selection'],_0x2dba92=this['_getPositionToInsertFootnote'](_0x727bb5);this['isEnabled']=!!_0x2dba92;}['execute'](_0x5cffae){const {editor:_0x599317}=this,{model:_0x4b15de}=_0x599317,{selection:_0x56c8a5}=_0x4b15de['document'],_0x311555=this['_getPositionToInsertFootnote'](_0x56c8a5);if(!_0x311555)return;const _0x14be06=_0x599317['plugins']['get']('FootnotesEditing'),_0x299ef4=_0x5cffae?.['footnoteId']??_0x1d1e30();!function(_0x23ab2a){return'string'==typeof _0x23ab2a&&_0x23ab2a['length']>0x0&&!/\s/['test'](_0x23ab2a)&&!/^\d/['test'](_0x23ab2a);}(_0x299ef4)?_0x4e11b0('insert-footnote-command-executed-with-invalid-id'):(_0x4b15de['change'](_0x5fb253=>{const _0x502287=_0x5fb253['createElement']('footnoteRef',{'footnoteId':_0x299ef4});_0x4b15de['insertObject'](_0x502287,_0x311555,null);}),_0x14be06['_moveSelectionToFootnoteDefinition'](_0x299ef4));}['_getPositionToInsertFootnote'](_0x181ea){const {model:_0x2d7fd7}=this['editor'],{schema:_0xe47f83}=_0x2d7fd7,_0x48d763=_0x181ea['getFirstRange']();for(const _0x4410d8 of _0x48d763['getItems']())if(_0xe47f83['isBlock'](_0x4410d8)||_0xe47f83['isObject'](_0x4410d8))return null;const _0x3354fd=_0x48d763['end'];return _0xe47f83['checkChild'](_0x3354fd,'footnoteRef')?_0x3354fd:null;}}class r extends _0xdc1d92{static get['pluginName'](){return'FootnotesEditing';}static get['requires'](){return[f];}static get['isOfficialPlugin'](){return!0x0;}static get['isPremiumPlugin'](){return!0x0;}['init'](){const {editor:_0x5adb2b}=this;_0x5adb2b['config']['define']('footnotes.multiBlock',!0x0),_0x5adb2b['commands']['add']('insertFootnote',new m(_0x5adb2b)),this['_defineSchema'](),this['_defineRefsConverters'](),this['_defineDefinitionsConverters'](),this['_defineDefinitionConverters'](),this['_defineBogusParagraphConverters'](),this['_defineKeyboardHandlers'](),this['_defineClickHandlers']();}['afterInit'](){!async function(_0x5920bc){const _0x1611a2=_0x31be3b([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]),_0x5365d1=0x47a28506,_0x55e586=0x47a5fe26^_0x5365d1,_0x13113f=window[_0x31be3b([0x44,0x61,0x74,0x65])][_0x31be3b([0x6e,0x6f,0x77])](),_0x386034=_0x5920bc[_0x31be3b([0x65,0x64,0x69,0x74,0x6f,0x72])],_0x34e6f8=new window[(_0x31be3b([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0x421de3=>{_0x386034[_0x31be3b([0x6f,0x6e,0x63,0x65])](_0x31be3b([0x72,0x65,0x61,0x64,0x79]),_0x421de3);}),_0x294823={[_0x31be3b([0x6b,0x74,0x79])]:_0x31be3b([0x45,0x43]),[_0x31be3b([0x75,0x73,0x65])]:_0x31be3b([0x73,0x69,0x67]),[_0x31be3b([0x63,0x72,0x76])]:_0x31be3b([0x50,0x2d,0x32,0x35,0x36]),[_0x31be3b([0x78])]:_0x31be3b([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]),[_0x31be3b([0x79])]:_0x31be3b([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]),[_0x31be3b([0x61,0x6c,0x67])]:_0x31be3b([0x45,0x53,0x32,0x35,0x36])},_0x49fd4f=_0x386034[_0x31be3b([0x63,0x6f,0x6e,0x66,0x69,0x67])][_0x31be3b([0x67,0x65,0x74])](_0x31be3b([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x4b,0x65,0x79]));async function _0x2b46f5(){let _0x3b9028,_0x233800=null,_0x212145=null;try{if(_0x49fd4f==_0x31be3b([0x47,0x50,0x4c]))return _0x31be3b([0x4e,0x6f,0x74,0x41,0x6c,0x6c,0x6f,0x77,0x65,0x64]);if(_0x3b9028=_0x2b9a98(),!_0x3b9028)return _0x31be3b([0x49,0x6e,0x76,0x61,0x6c,0x69,0x64]);return _0x3b9028[_0x31be3b([0x75,0x73,0x61,0x67,0x65,0x45,0x6e,0x64,0x70,0x6f,0x69,0x6e,0x74])]&&(_0x212145=_0x5116b8(_0x3b9028[_0x31be3b([0x75,0x73,0x61,0x67,0x65,0x45,0x6e,0x64,0x70,0x6f,0x69,0x6e,0x74])],_0x3b9028[_0x31be3b([0x6a,0x74,0x69])])),await _0x15c459()?_0x5c3920()?_0x5c45e2()?_0x31be3b([0x45,0x78,0x70,0x69,0x72,0x65,0x64]):_0xca13aa()?(_0x3b9028[_0x31be3b([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x54,0x79,0x70,0x65])]==_0x31be3b([0x65,0x76,0x61,0x6c,0x75,0x61,0x74,0x69,0x6f,0x6e])&&(_0x233800=_0x43903b(_0x31be3b([0x45,0x76,0x61,0x6c,0x75,0x61,0x74,0x69,0x6f,0x6e,0x4c,0x69,0x6d,0x69,0x74]))),_0x3b9028[_0x31be3b([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x54,0x79,0x70,0x65])]==_0x31be3b([0x74,0x72,0x69,0x61,0x6c])&&(_0x233800=_0x43903b(_0x31be3b([0x54,0x72,0x69,0x61,0x6c,0x4c,0x69,0x6d,0x69,0x74]))),await _0x2245e6()):_0x31be3b([0x44,0x6f,0x6d,0x61,0x69,0x6e,0x4c,0x69,0x6d,0x69,0x74]):_0x31be3b([0x4e,0x6f,0x74,0x41,0x6c,0x6c,0x6f,0x77,0x65,0x64]):_0x31be3b([0x49,0x6e,0x76,0x61,0x6c,0x69,0x64]);}catch{return _0x31be3b([0x49,0x6e,0x76,0x61,0x6c,0x69,0x64]);}function _0x5c45e2(){const _0x3cfa05=[_0x31be3b([0x65,0x76,0x61,0x6c,0x75,0x61,0x74,0x69,0x6f,0x6e]),_0x31be3b([0x74,0x72,0x69,0x61,0x6c])][_0x31be3b([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x3b9028[_0x31be3b([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x54,0x79,0x70,0x65])])?_0x13113f/0x3e8:0xe10*_0x55e586;return _0x3b9028[_0x31be3b([0x65,0x78,0x70])]<_0x3cfa05;}function _0x5c3920(){const _0x3a16ec=_0x3b9028[_0x31be3b([0x66,0x65,0x61,0x74,0x75,0x72,0x65,0x73])];return!!_0x3a16ec&&(!!_0x3a16ec[_0x31be3b([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x31be3b([0x2a]))||!!_0x3a16ec[_0x31be3b([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x31be3b([0x46,0x4f,0x4f])));}function _0xca13aa(){const _0x4cd396=_0x3b9028[_0x31be3b([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x64,0x48,0x6f,0x73,0x74,0x73])];if(!_0x4cd396||0x0==_0x4cd396[_0x31be3b([0x6c,0x65,0x6e,0x67,0x74,0x68])])return!0x0;const {hostname:_0x83ec9c}=new URL(window[_0x31be3b([0x6c,0x6f,0x63,0x61,0x74,0x69,0x6f,0x6e])]['href']);if(_0x4cd396[_0x31be3b([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x83ec9c))return!0x0;const _0x48ddfe=_0x83ec9c[_0x31be3b([0x73,0x70,0x6c,0x69,0x74])](_0x31be3b([0x2e]));return _0x4cd396[_0x31be3b([0x66,0x69,0x6c,0x74,0x65,0x72])](_0x36792b=>_0x36792b[_0x31be3b([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x31be3b([0x2a])))[_0x31be3b([0x6d,0x61,0x70])](_0x120aa6=>_0x120aa6[_0x31be3b([0x73,0x70,0x6c,0x69,0x74])](_0x31be3b([0x2e])))[_0x31be3b([0x66,0x69,0x6c,0x74,0x65,0x72])](_0x3b43a4=>_0x3b43a4[_0x31be3b([0x6c,0x65,0x6e,0x67,0x74,0x68])]<=_0x48ddfe[_0x31be3b([0x6c,0x65,0x6e,0x67,0x74,0x68])])[_0x31be3b([0x6d,0x61,0x70])](_0x2fe2e5=>Array(_0x48ddfe[_0x31be3b([0x6c,0x65,0x6e,0x67,0x74,0x68])]-_0x2fe2e5[_0x31be3b([0x6c,0x65,0x6e,0x67,0x74,0x68])])[_0x31be3b([0x66,0x69,0x6c,0x6c])](_0x2fe2e5[0x0]===_0x31be3b([0x2a])?_0x31be3b([0x2a]):'')[_0x31be3b([0x63,0x6f,0x6e,0x63,0x61,0x74])](_0x2fe2e5))[_0x31be3b([0x73,0x6f,0x6d,0x65])](_0x1af1ea=>_0x48ddfe[_0x31be3b([0x65,0x76,0x65,0x72,0x79])]((_0x2f3c6f,_0x2d1197)=>_0x1af1ea[_0x2d1197]===_0x2f3c6f||_0x1af1ea[_0x2d1197]===_0x31be3b([0x2a])));}function _0x2245e6(){return _0x233800&&_0x212145?new window[(_0x31be3b([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))]((_0x1caa46,_0x42ed46)=>{_0x233800[_0x31be3b([0x74,0x68,0x65,0x6e])](_0x1caa46,_0x42ed46),_0x212145[_0x31be3b([0x74,0x68,0x65,0x6e])](_0x4185f9=>{_0x4185f9!=_0x31be3b([0x56,0x61,0x6c,0x69,0x64])&&_0x1caa46(_0x4185f9);},_0x42ed46);}):_0x233800||_0x212145||_0x31be3b([0x56,0x61,0x6c,0x69,0x64]);}}function _0x5116b8(_0x39e796,_0x19be1e){return new window[(_0x31be3b([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0x207e7e=>{if(_0x47bf50())return _0x207e7e(_0x31be3b([0x56,0x61,0x6c,0x69,0x64]));_0x3c37f3(),_0x386034[_0x31be3b([0x64,0x65,0x63,0x6f,0x72,0x61,0x74,0x65])](_0x31be3b([0x5f,0x73,0x65,0x6e,0x64,0x55,0x73,0x61,0x67,0x65,0x52,0x65,0x71,0x75,0x65,0x73,0x74]));let _0x4243b5=!0x1;const _0x1359ad=_0x1d1e30();function _0x1c73c9(_0x43ad71){return!!_0x43ad71&&(typeof _0x43ad71===_0x31be3b([0x6f,0x62,0x6a,0x65,0x63,0x74])||typeof _0x43ad71===_0x31be3b([0x66,0x75,0x6e,0x63,0x74,0x69,0x6f,0x6e]))&&typeof _0x43ad71[_0x31be3b([0x74,0x68,0x65,0x6e])]===_0x31be3b([0x66,0x75,0x6e,0x63,0x74,0x69,0x6f,0x6e])&&typeof _0x43ad71[_0x31be3b([0x63,0x61,0x74,0x63,0x68])]===_0x31be3b([0x66,0x75,0x6e,0x63,0x74,0x69,0x6f,0x6e]);}function _0x11022f(_0x300c1b){_0x225781(_0x300c1b)[_0x31be3b([0x74,0x68,0x65,0x6e])](_0x1990a7=>{if(!_0x1990a7||_0x1990a7[_0x31be3b([0x73,0x74,0x61,0x74,0x75,0x73])]!=_0x31be3b([0x6f,0x6b]))return _0x31be3b([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]);return _0xc42443(_0x51950d(_0x1359ad+_0x19be1e))!=_0x1990a7[_0x31be3b([0x76,0x65,0x72,0x69,0x66,0x69,0x63,0x61,0x74,0x69,0x6f,0x6e])]?_0x31be3b([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]):_0x31be3b([0x56,0x61,0x6c,0x69,0x64]);})[_0x31be3b([0x74,0x68,0x65,0x6e])](_0x39422f=>(_0x2a17b7(),_0x39422f),()=>{const _0x24b01f=_0x41c59a();return null==_0x24b01f?(_0x2a17b7(),_0x31be3b([0x56,0x61,0x6c,0x69,0x64])):_0x31be3b(_0x13113f-_0x24b01f>(0x63ae0106^_0x5365d1)?[0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]:[0x56,0x61,0x6c,0x69,0x64]);})[_0x31be3b([0x74,0x68,0x65,0x6e])](_0x207e7e)[_0x31be3b([0x63,0x61,0x74,0x63,0x68])](()=>{_0x207e7e(_0x31be3b([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]));});const _0x109b1b=0x47946b86^_0x5365d1;function _0x2a17b7(){const _0x17dcf6=_0x31be3b([0x6c,0x6c,0x63,0x74,0x2d])+_0xc42443(_0x51950d(_0x39e796)),_0xc7286c=_0x590da0(_0xc42443(window[_0x31be3b([0x4d,0x61,0x74,0x68])][_0x31be3b([0x63,0x65,0x69,0x6c])](_0x13113f/_0x109b1b)));window[_0x31be3b([0x6c,0x6f,0x63,0x61,0x6c,0x53,0x74,0x6f,0x72,0x61,0x67,0x65])][_0x31be3b([0x73,0x65,0x74,0x49,0x74,0x65,0x6d])](_0x17dcf6,_0xc7286c);}function _0x41c59a(){const _0x3922b7=_0x31be3b([0x6c,0x6c,0x63,0x74,0x2d])+_0xc42443(_0x51950d(_0x39e796)),_0x17f030=window[_0x31be3b([0x6c,0x6f,0x63,0x61,0x6c,0x53,0x74,0x6f,0x72,0x61,0x67,0x65])][_0x31be3b([0x67,0x65,0x74,0x49,0x74,0x65,0x6d])](_0x3922b7);return _0x17f030?window[_0x31be3b([0x70,0x61,0x72,0x73,0x65,0x49,0x6e,0x74])](_0x590da0(_0x17f030),0x10)*_0x109b1b:null;}function _0x225781(_0x534c29){return new window[(_0x31be3b([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))]((_0x2e4802,_0xf5048a)=>{_0x534c29[_0x31be3b([0x74,0x68,0x65,0x6e])](_0x2e4802,_0xf5048a),window[_0x31be3b([0x73,0x65,0x74,0x54,0x69,0x6d,0x65,0x6f,0x75,0x74])](_0xf5048a,0x47a351c6^_0x5365d1);});}}_0x386034[_0x31be3b([0x6f,0x6e])](_0x31be3b([0x5f,0x73,0x65,0x6e,0x64,0x55,0x73,0x61,0x67,0x65,0x52,0x65,0x71,0x75,0x65,0x73,0x74]),(_0x303160,_0x3c3799)=>{if(_0x3c3799[0x0]!=_0x39e796)return _0x207e7e(_0x31be3b([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]));_0x3c3799[0x1]={..._0x3c3799[0x1],[_0x31be3b([0x72,0x65,0x71,0x75,0x65,0x73,0x74,0x49,0x64])]:_0x1359ad};},{[_0x31be3b([0x70,0x72,0x69,0x6f,0x72,0x69,0x74,0x79])]:_0x31be3b([0x68,0x69,0x67,0x68])}),_0x386034[_0x31be3b([0x6f,0x6e])](_0x31be3b([0x5f,0x73,0x65,0x6e,0x64,0x55,0x73,0x61,0x67,0x65,0x52,0x65,0x71,0x75,0x65,0x73,0x74]),_0xfaf361=>{_0x1c73c9(_0xfaf361[_0x31be3b([0x72,0x65,0x74,0x75,0x72,0x6e])])&&(_0x4243b5=!0x0,_0x11022f(_0xfaf361[_0x31be3b([0x72,0x65,0x74,0x75,0x72,0x6e])]));},{[_0x31be3b([0x70,0x72,0x69,0x6f,0x72,0x69,0x74,0x79])]:_0x31be3b([0x6c,0x6f,0x77])}),_0x34e6f8[_0x31be3b([0x74,0x68,0x65,0x6e])](()=>{_0x4243b5||_0x207e7e(_0x31be3b([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]));});});function _0x47bf50(){return _0x386034[_0x31be3b([0x65,0x64,0x69,0x74,0x69,0x6e,0x67])][_0x31be3b([0x76,0x69,0x65,0x77])][_0x31be3b([0x5f,0x6f,0x76,0x65,0x72,0x6c,0x61,0x79,0x4d,0x6f,0x64,0x65,0x48,0x69,0x6e,0x74])]==_0x31be3b([0x61,0x75,0x74,0x6f]);}function _0x3c37f3(){_0x386034[_0x31be3b([0x65,0x64,0x69,0x74,0x69,0x6e,0x67])][_0x31be3b([0x76,0x69,0x65,0x77])][_0x31be3b([0x5f,0x6f,0x76,0x65,0x72,0x6c,0x61,0x79,0x4d,0x6f,0x64,0x65,0x48,0x69,0x6e,0x74])]=_0x31be3b([0x61,0x75,0x74,0x6f]);}}function _0x43903b(_0x591ae4){const _0x5ceb66=[new window[(_0x31be3b([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0x5ddaff=>setTimeout(_0x5ddaff,0x47abbbca^_0x5365d1)),_0x34e6f8[_0x31be3b([0x74,0x68,0x65,0x6e])](()=>new window[(_0x31be3b([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0x52cdc2=>{let _0x1cb046=0x0;_0x386034[_0x31be3b([0x6d,0x6f,0x64,0x65,0x6c])][_0x31be3b([0x6f,0x6e])](_0x31be3b([0x61,0x70,0x70,0x6c,0x79,0x4f,0x70,0x65,0x72,0x61,0x74,0x69,0x6f,0x6e]),(_0x31c78f,_0x5dfc74)=>{_0x5dfc74[0x0][_0x31be3b([0x69,0x73,0x44,0x6f,0x63,0x75,0x6d,0x65,0x6e,0x74,0x4f,0x70,0x65,0x72,0x61,0x74,0x69,0x6f,0x6e])]&&_0x1cb046++,_0x1cb046==(0x47a284fe^_0x5365d1)&&(_0x52cdc2(),_0x31c78f[_0x31be3b([0x6f,0x66,0x66])]());});}))];return window[_0x31be3b([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65])][_0x31be3b([0x72,0x61,0x63,0x65])](_0x5ceb66)[_0x31be3b([0x74,0x68,0x65,0x6e])](()=>_0x591ae4);}async function _0x5be578(){await _0x34e6f8,_0x386034[_0x31be3b([0x6d,0x6f,0x64,0x65,0x6c])][_0x31be3b([0x63,0x68,0x61,0x6e,0x67,0x65])]=_0x483afd,_0x386034[_0x31be3b([0x6d,0x6f,0x64,0x65,0x6c])][_0x31be3b([0x65,0x6e,0x71,0x75,0x65,0x75,0x65,0x43,0x68,0x61,0x6e,0x67,0x65])]=_0x483afd,_0x386034[_0x31be3b([0x65,0x6e,0x61,0x62,0x6c,0x65,0x52,0x65,0x61,0x64,0x4f,0x6e,0x6c,0x79,0x4d,0x6f,0x64,0x65])](_0x31be3b([0x6d,0x6f,0x64,0x65,0x6c]));}function _0x3c38e8(_0x80c4e8){const _0x16273b=_0x248e36();_0x386034[_0x16273b]=_0x31be3b([0x66,0x6f,0x6f,0x74,0x6e,0x6f,0x74,0x65,0x73,0x4c,0x69,0x63,0x65,0x6e,0x73,0x65,0x4b,0x65,0x79])+_0x80c4e8,_0x80c4e8!=_0x31be3b([0x56,0x61,0x6c,0x69,0x64])&&_0x5be578();}function _0x248e36(){const _0x19cfc7=window[_0x31be3b([0x53,0x74,0x72,0x69,0x6e,0x67])](window[_0x31be3b([0x70,0x65,0x72,0x66,0x6f,0x72,0x6d,0x61,0x6e,0x63,0x65])][_0x31be3b([0x6e,0x6f,0x77])]())[_0x31be3b([0x72,0x65,0x70,0x6c,0x61,0x63,0x65])](_0x31be3b([0x2e]),'');let _0x30cf47=_0x31be3b([0x75]);for(let _0x485d3f=0x0;_0x485d3f<_0x19cfc7[_0x31be3b([0x6c,0x65,0x6e,0x67,0x74,0x68])];_0x485d3f+=0x2){let _0x42a0a3=window[_0x31be3b([0x70,0x61,0x72,0x73,0x65,0x49,0x6e,0x74])](_0x19cfc7[_0x31be3b([0x73,0x75,0x62,0x73,0x74,0x72,0x69,0x6e,0x67])](_0x485d3f,_0x485d3f+0x2));_0x42a0a3>=_0x1611a2[_0x31be3b([0x6c,0x65,0x6e,0x67,0x74,0x68])]&&(_0x42a0a3-=_0x1611a2[_0x31be3b([0x6c,0x65,0x6e,0x67,0x74,0x68])]),_0x30cf47+=_0x1611a2[_0x42a0a3];}return _0x30cf47;}function _0x2b9a98(){const _0x54ebb9=_0x49fd4f[_0x31be3b([0x73,0x70,0x6c,0x69,0x74])](_0x31be3b([0x2e]));if(0x3!=_0x54ebb9[_0x31be3b([0x6c,0x65,0x6e,0x67,0x74,0x68])])return null;return _0x459ba2(_0x54ebb9[0x1]);function _0x459ba2(_0x58c75b){const _0x998557=_0x2887a5(_0x58c75b);return _0x998557&&_0x5bee3a()?_0x998557:null;function _0x5bee3a(){const _0x6e9d49=_0x998557[_0x31be3b([0x6a,0x74,0x69])],_0x20c7e2=window[_0x31be3b([0x70,0x61,0x72,0x73,0x65,0x49,0x6e,0x74])](_0x6e9d49[_0x31be3b([0x73,0x75,0x62,0x73,0x74,0x72,0x69,0x6e,0x67])](_0x6e9d49[_0x31be3b([0x6c,0x65,0x6e,0x67,0x74,0x68])]-0x8),0x10),_0x3d7e98={..._0x998557,[_0x31be3b([0x6a,0x74,0x69])]:_0x6e9d49[_0x31be3b([0x73,0x75,0x62,0x73,0x74,0x72,0x69,0x6e,0x67])](0x0,_0x6e9d49[_0x31be3b([0x6c,0x65,0x6e,0x67,0x74,0x68])]-0x8)};return delete _0x3d7e98[_0x31be3b([0x76,0x63])],_0x51950d(_0x3d7e98)==_0x20c7e2;}}}async function _0x15c459(){let _0x5391eb=!0x0;try{const _0x4423ee=_0x49fd4f[_0x31be3b([0x73,0x70,0x6c,0x69,0x74])](_0x31be3b([0x2e])),[_0x5c5847,_0x4b2d6d,_0x5e73af]=_0x4423ee;return _0x2e263b(_0x5c5847),await _0x2b8321(_0x5c5847,_0x4b2d6d,_0x5e73af),_0x5391eb;}catch{return!0x1;}function _0x2e263b(_0x41bca7){const _0x2aacd7=_0x2887a5(_0x41bca7);_0x2aacd7&&_0x2aacd7[_0x31be3b([0x61,0x6c,0x67])]==_0x31be3b([0x45,0x53,0x32,0x35,0x36])||(_0x5391eb=!0x1);}async function _0x2b8321(_0x46b529,_0x17a03c,_0x33ba68){const _0x3843c2=window[_0x31be3b([0x55,0x69,0x6e,0x74,0x38,0x41,0x72,0x72,0x61,0x79])][_0x31be3b([0x66,0x72,0x6f,0x6d])](_0x2a4a18(_0x33ba68),_0x1bb579=>_0x1bb579[_0x31be3b([0x63,0x68,0x61,0x72,0x43,0x6f,0x64,0x65,0x41,0x74])](0x0)),_0xc2fe25=new window[(_0x31be3b([0x54,0x65,0x78,0x74,0x45,0x6e,0x63,0x6f,0x64,0x65,0x72]))]()[_0x31be3b([0x65,0x6e,0x63,0x6f,0x64,0x65])](_0x46b529+_0x31be3b([0x2e])+_0x17a03c),_0xc4b3c4=window[_0x31be3b([0x63,0x72,0x79,0x70,0x74,0x6f])][_0x31be3b([0x73,0x75,0x62,0x74,0x6c,0x65])];if(!_0xc4b3c4)return;const _0x77d1cf=await _0xc4b3c4[_0x31be3b([0x69,0x6d,0x70,0x6f,0x72,0x74,0x4b,0x65,0x79])](_0x31be3b([0x6a,0x77,0x6b]),_0x294823,{[_0x31be3b([0x6e,0x61,0x6d,0x65])]:_0x31be3b([0x45,0x43,0x44,0x53,0x41]),[_0x31be3b([0x6e,0x61,0x6d,0x65,0x64,0x43,0x75,0x72,0x76,0x65])]:_0x31be3b([0x50,0x2d,0x32,0x35,0x36])},!0x1,[_0x31be3b([0x76,0x65,0x72,0x69,0x66,0x79])]);await _0xc4b3c4[_0x31be3b([0x76,0x65,0x72,0x69,0x66,0x79])]({[_0x31be3b([0x6e,0x61,0x6d,0x65])]:_0x31be3b([0x45,0x43,0x44,0x53,0x41]),[_0x31be3b([0x68,0x61,0x73,0x68])]:{[_0x31be3b([0x6e,0x61,0x6d,0x65])]:_0x31be3b([0x53,0x48,0x41,0x2d,0x32,0x35,0x36])}},_0x77d1cf,_0x3843c2,_0xc2fe25)||(_0x5391eb=!0x1);}}function _0x2887a5(_0x283e21){return _0x283e21[_0x31be3b([0x73,0x74,0x61,0x72,0x74,0x73,0x57,0x69,0x74,0x68])](_0x31be3b([0x65,0x79]))?JSON[_0x31be3b([0x70,0x61,0x72,0x73,0x65])](_0x2a4a18(_0x283e21)):null;}function _0x2a4a18(_0x1ed0b3){return window[_0x31be3b([0x61,0x74,0x6f,0x62])](_0x1ed0b3[_0x31be3b([0x72,0x65,0x70,0x6c,0x61,0x63,0x65])](/-/g,_0x31be3b([0x2b]))[_0x31be3b([0x72,0x65,0x70,0x6c,0x61,0x63,0x65])](/_/g,_0x31be3b([0x2f])));}function _0x51950d(_0x337a76){let _0x4cdc66=0x1505;function _0x1a6eb1(_0xdc62d6){for(let _0x3c1cf4=0x0;_0x3c1cf4<_0xdc62d6[_0x31be3b([0x6c,0x65,0x6e,0x67,0x74,0x68])];_0x3c1cf4++){const _0x2e8611=_0xdc62d6[_0x31be3b([0x63,0x68,0x61,0x72,0x43,0x6f,0x64,0x65,0x41,0x74])](_0x3c1cf4);_0x4cdc66=(_0x4cdc66<<0x5)+_0x4cdc66+_0x2e8611,_0x4cdc66&=_0x4cdc66;}}function _0x20e15d(_0x2a5095){Array[_0x31be3b([0x69,0x73,0x41,0x72,0x72,0x61,0x79])](_0x2a5095)?_0x2a5095[_0x31be3b([0x66,0x6f,0x72,0x45,0x61,0x63,0x68])](_0x20e15d):_0x2a5095&&typeof _0x2a5095==_0x31be3b([0x6f,0x62,0x6a,0x65,0x63,0x74])?Object[_0x31be3b([0x65,0x6e,0x74,0x72,0x69,0x65,0x73])](_0x2a5095)[_0x31be3b([0x73,0x6f,0x72,0x74])]()[_0x31be3b([0x66,0x6f,0x72,0x45,0x61,0x63,0x68])](([_0x44092c,_0x12ed7a])=>{_0x1a6eb1(_0x44092c),_0x20e15d(_0x12ed7a);}):_0x1a6eb1(window[_0x31be3b([0x53,0x74,0x72,0x69,0x6e,0x67])](_0x2a5095));}return _0x20e15d(_0x337a76),_0x4cdc66>>>0x0;}function _0xc42443(_0xc9b301){return _0xc9b301[_0x31be3b([0x74,0x6f,0x53,0x74,0x72,0x69,0x6e,0x67])](0x10)[_0x31be3b([0x70,0x61,0x64,0x53,0x74,0x61,0x72,0x74])](0x8,_0x31be3b([0x30]));}function _0x590da0(_0x6d2069){return _0x6d2069[_0x31be3b([0x73,0x70,0x6c,0x69,0x74])]('')[_0x31be3b([0x72,0x65,0x76,0x65,0x72,0x73,0x65])]()[_0x31be3b([0x6a,0x6f,0x69,0x6e])]('');}function _0x483afd(){}function _0x31be3b(_0x38c333){return _0x38c333['map'](_0x43cb90=>String['fromCharCode'](_0x43cb90))['join']('');}_0x3c38e8(await _0x2b46f5());}(this);}['_moveSelectionToFootnoteDefinition'](_0x4b3996){const {plugins:_0x372e74,editing:_0x42ab62,model:_0x5ef484}=this['editor'],_0x2a54d6=_0x372e74['get'](f)['getFootnote'](_0x4b3996);return!!_0x2a54d6&&(_0x5ef484['change'](_0x2d61a8=>{_0x2d61a8['setSelection'](_0x2d61a8['createPositionAt'](_0x2a54d6['definition'],'end'));}),_0x42ab62['view']['scrollToTheSelection'](),!0x0);}['_moveSelectionToFootnoteReference'](_0x426ad6){const {plugins:_0x3986be,editing:_0x22154d,model:_0x194013}=this['editor'],_0x2c05e6=_0x3986be['get'](f)['getFootnote'](_0x426ad6);return!!_0x2c05e6&&(_0x194013['change'](_0x5c54ce=>{_0x5c54ce['setSelection'](_0x2c05e6['reference'],'on');}),_0x22154d['view']['scrollToTheSelection'](),!0x0);}['_defineSchema'](){const {schema:_0x2a77ac}=this['editor']['model'],_0x3cbe94=this['editor']['config']['get']('footnotes.multiBlock');_0x2a77ac['register']('footnoteRef',{'inheritAllFrom':'$inlineObject','allowAttributes':['footnoteId','footnoteCounter']}),_0x2a77ac['register']('footnotesDefinitions',{'inheritAllFrom':'$blockObject','allowChildren':['footnoteDefinition']}),_0x2a77ac['register']('footnoteDefinition',{'allowAttributes':['footnoteId'],'disallowAttributes':['listItemId'],'isLimit':!0x0}),_0x3cbe94?_0x2a77ac['extend']('footnoteDefinition',{'allowContentOf':'$container'}):_0x2a77ac['register']('footnoteInlineContent',{'allowIn':'footnoteDefinition','allowContentOf':'$block','isLimit':!0x0}),_0x2a77ac['addChildCheck'](_0x90abea=>{for(const _0x19e0cf of _0x90abea)if('footnoteDefinition'===_0x19e0cf['name'])return!0x1;},'footnoteRef');}['_defineRefsConverters'](){const {editor:_0x57fa77}=this,{conversion:_0x544f92,editing:_0xdccb29}=_0x57fa77,{t:t}=_0x57fa77['locale'];_0x544f92['for']('upcast')['elementToElement']({'view':{'name':'sup','classes':'footnote'},'model':(_0x3637df,{writer:_0x3d3c3a,consumable:_0x2c2cb3})=>{const _0x3d9f93=_0x3637df['getChild'](0x0);if(!_0x3d9f93||!_0x3d9f93['is']('element','a'))return null;const _0x26444f=_0x3d9f93['getAttribute']('href')||'';if(!_0x26444f['startsWith']('#'))return null;const _0x5ab531=_0x26444f['replace'](/^#/,'');if(!_0x5ab531)return null;_0x2c2cb3['consume'](_0x3d9f93,{'name':!0x0,'attributes':['href']});for(const {item:_0x14e791}of _0xdccb29['view']['createRangeIn'](_0x3d9f93))_0x14e791['is']('$textProxy')?_0x2c2cb3['consume'](_0x14e791['textNode'],{'name':!0x0}):_0x14e791['is']('element')&&_0x2c2cb3['consume'](_0x14e791,{'name':!0x0});return _0x3d3c3a['createElement']('footnoteRef',{'footnoteId':_0x5ab531});}}),_0x544f92['for']('dataDowncast')['elementToElement']({'model':{'name':'footnoteRef','attributes':['footnoteId','footnoteCounter']},'view':(_0x153b6c,{writer:_0x14f424})=>D(_0x153b6c,_0x14f424)}),_0x544f92['for']('editingDowncast')['elementToElement']({'model':{'name':'footnoteRef','attributes':['footnoteId','footnoteCounter']},'view':(_0x1f1749,{writer:_0x55b043})=>{const _0xae079=_0x1f1749['getAttribute']('footnoteCounter');return _0x456aae(D(_0x1f1749,_0x55b043),_0x55b043,{'label':t('Footnote\x20%0.\x20Press\x20ENTER\x20to\x20jump\x20to\x20footnote\x20definition.',_0xae079)});}});}['_defineDefinitionsConverters'](){const {editor:_0x1cf032}=this,{t:t}=_0x1cf032['locale'],{conversion:_0x417a6d}=_0x1cf032;_0x417a6d['for']('upcast')['elementToElement']({'view':{'name':'div','classes':'footnotes'},'model':'footnotesDefinitions'}),_0x417a6d['for']('upcast')['add'](_0x1cf97b=>{_0x1cf97b['on']('element:ol',(_0x1d1919,_0x4dd442,_0x4daefa)=>{const _0x20bbce=_0x4dd442['viewItem'];if(!_0x20bbce['hasClass']('footnotes-list')||!_0x4dd442['modelCursor']['parent']?.['is']('element','footnotesDefinitions'))return;if(!_0x4daefa['consumable']['consume'](_0x20bbce,{'name':!0x0,'classes':'footnotes-list'}))return;const {modelRange:_0x18a6f4,modelCursor:_0x1e9874}=_0x4daefa['convertChildren'](_0x4dd442['viewItem'],_0x4dd442['modelCursor']);_0x4dd442['modelRange']=_0x18a6f4,_0x4dd442['modelCursor']=_0x1e9874;}),_0x1cf97b['on']('element:hr',(_0x35910c,_0x40083e,_0x1b0829)=>{const _0x145150=_0x40083e['viewItem'];_0x145150['hasClass']('footnotes-divider')&&_0x40083e['modelCursor']['parent']?.['is']('element','footnotesDefinitions')&&_0x1b0829['consumable']['consume'](_0x145150,{'name':!0x0,'classes':'footnotes-divider'});});}),_0x417a6d['for']('dataDowncast')['elementToStructure']({'model':'footnotesDefinitions','view':(_0x564f8e,{writer:_0x1e530a})=>v(_0x1e530a)}),_0x417a6d['for']('editingDowncast')['elementToStructure']({'model':'footnotesDefinitions','view':(_0x4d21e2,{writer:_0x5559e1})=>{const _0x1a7aef=v(_0x5559e1,{'data-footnotes-list-label':t('Footnotes')}),_0x164eb4=_0x456aae(_0x1a7aef,_0x5559e1,{'hasSelectionHandle':!0x0,'label':t('Footnotes')});return _0x5559e1['setCustomProperty']('footnotesDefinitions',!0x0,_0x164eb4),_0x164eb4;}});}['_defineDefinitionConverters'](){const {editor:_0x22ef62}=this,{conversion:_0x10c6e3,locale:_0x3f4dde}=_0x22ef62,_0x4b6caf=_0x22ef62['config']['get']('footnotes.multiBlock');_0x10c6e3['for']('upcast')['add'](_0x1527e5=>{_0x1527e5['on']('element:li',(_0x24ea8b,_0x28ee89,_0x3e5009)=>{const _0xa84526=_0x28ee89['viewItem'];if(!_0xa84526['hasClass']('footnote-definition')||!_0xa84526['getAttribute']('id'))return;const _0x58dd29=_0xa84526['parent'];if(!_0x58dd29['is']('element','ol')||!_0x58dd29['hasClass']('footnotes-list'))return;if(!_0x3e5009['consumable']['test'](_0xa84526,{'name':!0x0,'attributes':'id','classes':'footnote-definition'}))return;const _0x40facf=_0x3e5009['writer']['createElement']('footnoteDefinition',{'footnoteId':_0xa84526['getAttribute']('id')});if(!_0x3e5009['safeInsert'](_0x40facf,_0x28ee89['modelCursor']))return;_0x3e5009['consumable']['consume'](_0xa84526,{'name':!0x0,'attributes':'id','classes':'footnote-definition'});const _0x383300=Array['from'](_0xa84526['getChildren']())['find'](_0x2f60f8=>_0x2f60f8['is']('element')&&_0x2f60f8['hasClass']('footnote-content'));for(const _0x4266d8 of _0xa84526['getChildren']())_0x4266d8['is']('element')&&(_0x3e5009['consumable']['consume'](_0x4266d8,{'name':!0x0,'classes':'footnote-backlink','attributes':'href'}),_0x3e5009['consumable']['consume'](_0x4266d8,{'name':!0x0,'classes':'footnote-content'}));if(_0x383300){if(_0x4b6caf)_0x3e5009['convertChildren'](_0x383300,_0x40facf);else{const _0x3becbc=_0x3e5009['writer']['createElement']('footnoteInlineContent');_0x3e5009['writer']['insert'](_0x3becbc,_0x40facf),_0x3e5009['convertChildren'](_0x383300,_0x3becbc);}}_0x3e5009['updateConversionResult'](_0x40facf,_0x28ee89);});}),_0x10c6e3['for']('dataDowncast')['elementToStructure']({'model':{'name':'footnoteDefinition','attributes':['footnoteId']},'view':(_0x2d11f3,{writer:_0x227936})=>b(_0x2d11f3,_0x227936,_0x3f4dde,{'dataPipeline':!0x0})}),_0x10c6e3['for']('editingDowncast')['elementToStructure']({'model':{'name':'footnoteDefinition','attributes':['footnoteId']},'view':(_0x115f27,{writer:_0x46b1f1})=>b(_0x115f27,_0x46b1f1,_0x3f4dde)});}['_defineBogusParagraphConverters'](){const {editor:_0x4ae099}=this,{conversion:_0x17ca60}=_0x4ae099;_0x4ae099['config']['get']('footnotes.multiBlock')?(_0x17ca60['for']('editingDowncast')['elementToElement']({'model':'paragraph','view':h(),'converterPriority':'high'}),_0x17ca60['for']('dataDowncast')['elementToElement']({'model':'paragraph','view':h({'dataPipeline':!0x0}),'converterPriority':'high'}),this['listenTo'](_0x4ae099['model']['document'],'change:data',()=>{!function(_0x13f5c6,_0x29cf55){const _0x6484c3=_0x13f5c6['document']['differ'],_0x57642a=new Set();for(const _0x2d35c3 of _0x6484c3['getChanges']()){const _0x376075='attribute'==_0x2d35c3['type']?_0x2d35c3['range']['start']['parent']:_0x2d35c3['position']['parent'];_0x376075['is']('element','footnoteDefinition')&&_0x57642a['add'](_0x376075);}for(const _0x2b7b8b of _0x57642a['values']()){const _0xa3a5de=Array['from'](_0x2b7b8b['getChildren']())['filter'](_0x2f0aef=>g(_0x2f0aef,_0x29cf55['mapper']));for(const _0x33a79d of _0xa3a5de)_0x29cf55['reconvertItem'](_0x33a79d);}}(_0x4ae099['model'],_0x4ae099['editing']);})):(_0x17ca60['for']('editingDowncast')['elementToElement']({'model':'footnoteInlineContent','view':h()}),_0x17ca60['for']('dataDowncast')['elementToElement']({'model':'footnoteInlineContent','view':(_0x3a3dc2,{writer:_0x1cb546})=>{const _0x412adb=_0x1cb546['createContainerElement']('span');return _0x1cb546['setCustomProperty']('dataPipeline:transparentRendering',!0x0,_0x412adb),_0x412adb;}}));}['_defineKeyboardHandlers'](){const {editor:_0x3e8843}=this,{editing:_0x1686b4,t:t}=_0x3e8843,_0x5f2f33=_0x3e8843['model']['document']['selection'];_0x3e8843['keystrokes']['set']('Ctrl+Alt+F','insertFootnote'),_0x3e8843['accessibility']['addKeystrokeInfos']({'keystrokes':[{'label':t('Insert\x20footnote'),'keystroke':'Ctrl+Alt+F'}]}),this['listenTo'](_0x1686b4['view']['document'],'enter',(_0x2cbbbc,_0x2f7f50)=>{const _0x1b3f8b=function(_0x10d1b4){const _0x320a38=_0x10d1b4['getSelectedElement']();if(_0x320a38?.['is']('element','footnoteRef'))return _0x320a38;return null;}(_0x5f2f33);if(_0x1b3f8b){const _0x7bd2fc=_0x1b3f8b['getAttribute']('footnoteId');this['_moveSelectionToFootnoteDefinition'](_0x7bd2fc),_0x2f7f50['preventDefault'](),_0x2cbbbc['stop']();}},{'context':_0x492a9c});}['_defineClickHandlers'](){const {editor:_0x3427b3}=this,{editing:_0x11659b}=_0x3427b3;_0x3427b3['editing']['view']['addObserver'](_0x2f5e72),_0x3427b3['editing']['view']['addObserver'](_0x297110);let _0x42707a=!0x1;this['listenTo'](_0x11659b['view']['document'],'pointerdown',(_0x51c40d,_0x5bc024)=>{const {target:_0x1600d4}=_0x5bc024,_0x30c862=_0x11659b['view']['document']['selection'];_0x42707a=!!(_0x1600d4?.['is']('element','a')&&_0x1600d4['parent']?.['is']('element','sup')&&_0x1600d4['parent']['hasClass']('footnote'))&&_0x30c862['getSelectedElement']()===_0x1600d4['parent'];},{'priority':'high'}),this['listenTo'](_0x11659b['view']['document'],'click',(_0x173103,_0x1715f2)=>{const {target:_0x432934}=_0x1715f2;if(!_0x432934?.['is']('element','a'))return;if(_0x432934['parent']?.['is']('element','sup')&&_0x432934['parent']['hasClass']('footnote')&&!_0x42707a)return void _0x1715f2['preventDefault']();let _0x799b3a=_0x432934['getAttribute']('href');if(!_0x799b3a?.['startsWith']('#'))return;_0x799b3a=_0x799b3a['slice'](0x1);let _0x30522f=!0x1;(_0x799b3a['startsWith']('ref-')&&this['_moveSelectionToFootnoteReference'](_0x799b3a['slice'](0x4))||this['_moveSelectionToFootnoteDefinition'](_0x799b3a))&&(_0x30522f=!0x0),_0x30522f&&(_0x1715f2['preventDefault'](),_0x173103['stop']());},{'priority':'high','context':'$capture'});}}function h({dataPipeline:_0x48099d}={}){return(_0x2778b5,{writer:_0x237e52})=>{if(!p(_0x2778b5))return null;if(!_0x48099d)return _0x237e52['createContainerElement']('span',{'class':'ck-footnote-bogus-paragraph'});const _0x205fcd=_0x237e52['createContainerElement']('p');return _0x237e52['setCustomProperty']('dataPipeline:transparentRendering',!0x0,_0x205fcd),_0x205fcd;};}function p(_0x5f2149){const {parent:_0x76fef7}=_0x5f2149;if(!_0x76fef7?.['is']('element','footnoteDefinition'))return!0x1;if(0x1!=_0x76fef7['childCount'])return!0x1;for(const _0xf0c7ea of _0x5f2149['getAttributeKeys']())if(!_0xf0c7ea['startsWith']('selection:')&&'htmlEmptyBlock'!=_0xf0c7ea)return!0x1;return!0x0;}function g(_0x401284,_0x44ba73){if(!_0x401284['is']('element','paragraph'))return!0x1;const _0xc89ab0=_0x44ba73['toViewElement'](_0x401284);return!!_0xc89ab0&&p(_0x401284)!==_0xc89ab0['is']('element','span');}function J(_0x55577c){return _0x492a9c(_0x55577c)&&_0x55577c['is']('containerElement')&&!!_0x55577c['getCustomProperty']('footnotesDefinitions');}function v(_0x1f23fc,_0x1c9636={}){const _0x181f0b=_0x1f23fc['createEmptyElement']('hr',{'class':'footnotes-divider'}),_0x11d594=_0x1f23fc['createContainerElement']('ol',{'class':'footnotes-list'},_0x1f23fc['createSlot']());return _0x1f23fc['createContainerElement']('div',{'class':'footnotes',..._0x1c9636},[_0x181f0b,_0x11d594]);}function D(_0xcf323e,_0x122c23){const _0xfa3cf2=_0xcf323e['getAttribute']('footnoteId'),_0x3b3b67=_0xcf323e['getAttribute']('footnoteCounter'),_0x1e5bf5=_0x122c23['createUIElement']('a',{'href':'#'+_0xfa3cf2},function(_0x2b3817){const _0x4eda6=this['toDomElement'](_0x2b3817);return _0x4eda6['textContent']=_0x3b3b67,_0x4eda6;}),_0x18bd74=_0x122c23['createContainerElement']('sup',{'id':'ref-'+_0xfa3cf2,'class':'footnote'},[_0x1e5bf5]);return _0x18bd74['getFillerOffset']=()=>null,_0x18bd74;}function b(_0x3fa37f,_0x5c6c39,_0x43f4a6,{dataPipeline:_0x4323b3}={}){const {t:t}=_0x43f4a6,_0x1bfa86=_0x3fa37f['getAttribute']('footnoteId'),_0x30a18f=_0x5c6c39['createUIElement']('a',{'class':'footnote-backlink','href':'#ref-'+_0x1bfa86},function(_0x2b35b5){const _0x12c77a=this['toDomElement'](_0x2b35b5);return _0x12c77a['innerText']='^',_0x12c77a;}),_0x4e435e=_0x4323b3?_0x5c6c39['createContainerElement']('div',{'class':'footnote-content'}):_0x232f1e(_0x5c6c39['createEditableElement']('div',{'class':'footnote-content'}),_0x5c6c39,{'label':t('Footnote\x20content.')});return _0x5c6c39['insert'](_0x5c6c39['createPositionAt'](_0x4e435e,0x0),_0x5c6c39['createSlot']()),_0x5c6c39['createContainerElement']('li',{'class':'footnote-definition','id':_0x1bfa86},[_0x30a18f,_0x4e435e]);}class e extends _0xdc1d92{static get['pluginName'](){return'FootnotesClipboard';}static get['requires'](){return[r,_0x3ca5ad];}static get['isOfficialPlugin'](){return!0x0;}static get['isPremiumPlugin'](){return!0x0;}['init'](){this['_defineClipboardIntegration']();}['_defineClipboardIntegration'](){this['_handleCopyFootnotesDefinitions'](),this['_handlePasteFootnotesDefinitions']();}['_handleCopyFootnotesDefinitions'](){const {editor:_0x54762a}=this,{plugins:_0x7480a6,model:_0x40c581}=_0x54762a,_0x457109=_0x7480a6['get'](_0x3ca5ad),_0x5af9c3=_0x7480a6['get'](f);this['listenTo'](_0x457109,'outputTransformation',(_0x3cd8d0,_0x318967)=>{const _0x4ac139=c(_0x40c581['createRangeIn'](_0x318967['content']));if(!_0x4ac139['length'])return;const _0xbdac2b=_0x5af9c3['getFootnotes'](),_0x24072d=_0x4ac139['reduce']((_0x4d23a7,_0x5b1aba)=>{const _0x90c787=_0xbdac2b['find'](_0x13b00f=>_0x13b00f['id']===_0x5b1aba);if(_0x90c787){const _0x131d97=_0x54762a['data']['toView'](_0x90c787['definition'],{'isClipboardPipeline':!0x0}),_0x46711c=_0x54762a['data']['htmlProcessor']['toData'](_0x131d97);_0x4d23a7[_0x90c787['id']]=_0x46711c;}return _0x4d23a7;},Object['create'](null));_0x318967['dataTransfer']['setData']('application/ckeditor5-footnotes',JSON['stringify'](_0x24072d));});}['_handlePasteFootnotesDefinitions'](){const {editor:_0x4a5c73}=this,{model:_0x1158ea,plugins:_0x2f2ae4}=_0x4a5c73,{view:_0x3edc6e}=_0x4a5c73['editing'],_0x39dd41=_0x2f2ae4['get'](_0x3ca5ad),_0x1d533a=_0x2f2ae4['get'](f),_0x365895=_0x4a5c73['config']['get']('footnotes.multiBlock');let _0x19c196=null;this['listenTo'](_0x3edc6e['document'],'clipboardInput',(_0x1a8c65,_0x1fd0bb)=>{const _0xe05d59=_0x1fd0bb['dataTransfer']['getData']('application/ckeditor5-footnotes');_0x19c196=_0xe05d59?JSON['parse'](_0xe05d59):null;}),this['listenTo'](_0x39dd41,'contentInsertion',(_0x2fde47,_0x120445)=>{const _0x1ebe7b=_0x120445['sourceEditorId']===this['editor']['id'];_0x1ebe7b&&'drop'===_0x120445['method']||_0x1158ea['change'](_0x215d87=>{let _0x1cf415=_0x1d533a['getFootnotesDefinitionsObjectElement']();const _0x1ab552=!!_0x1cf415&&Array['from'](_0x1158ea['document']['selection']['getSelectedBlocks']())['includes'](_0x1cf415);if((_0x1cf415&&!_0x1ab552||!_0x1cf415&&!_0x19c196)&&function(_0xb4a8f2,_0x9e989f){const _0x54771c=[];for(const {item:_0x5e7d94}of _0xb4a8f2['createRangeIn'](_0x9e989f))_0x5e7d94['is']('element','footnotesDefinitions')&&_0x54771c['push'](_0x5e7d94);for(const _0x3c09fd of _0x54771c)_0xb4a8f2['remove'](_0x3c09fd);}(_0x215d87,_0x120445['content']),!_0x19c196)return;const {selection:_0x4530dc}=_0x1158ea['document'],_0x2ab2a4=_0x4530dc['getFirstRange']()['root'];_0x1cf415&&!_0x1ab552||(_0x1cf415=function(_0x15b93c,_0x2eab1b){for(const {item:_0x4c3a37}of _0x15b93c['createRangeIn'](_0x2eab1b))if(_0x4c3a37['is']('element','footnotesDefinitions'))return _0x4c3a37;return null;}(_0x215d87,_0x120445['content']),_0x1cf415||=_0x1d533a['_insertEmptyFootnotesDefinitionsContainer'](_0x215d87,_0x2ab2a4));const _0xad6ab=Array['from'](_0x4530dc['getRanges']())['flatMap'](c),_0x4a858c=function(_0x1dfce7,_0x1a6fbe,_0x1873a1){const _0x3fda5a=Object['create'](null);for(const {item:_0x17965e}of _0x1dfce7['createRangeIn'](_0x1a6fbe))if(_0x17965e['is']('element','footnoteRef')){const _0x5c0cd2=_0x17965e['getAttribute']('footnoteId');if(!_0x1873a1(_0x5c0cd2))continue;_0x3fda5a[_0x5c0cd2]||(_0x3fda5a[_0x5c0cd2]=_0x1d1e30()),_0x1dfce7['setAttribute']('footnoteId',_0x3fda5a[_0x5c0cd2],_0x17965e);}return _0x3fda5a;}(_0x215d87,_0x120445['content'],_0x52ee03=>{if(!_0x1ebe7b)return!0x0;return!!_0x1d533a['getFootnote'](_0x52ee03)&&!_0xad6ab['includes'](_0x52ee03);});for(const [_0x3586f2,_0xf25135]of Object['entries'](_0x19c196)){const _0x24c28d=_0x4a858c[_0x3586f2]||_0x3586f2,_0x5c1c4f=_0x215d87['createElement']('footnoteDefinition',{'footnoteId':_0x24c28d}),_0x448d2e=_0x4a5c73['data']['htmlProcessor']['toView'](_0xf25135);let _0x50a989;if(_0x365895)_0x50a989=_0x4a5c73['data']['toModel'](_0x448d2e,_0x5c1c4f);else{_0x50a989=_0x215d87['createElement']('footnoteInlineContent');const _0x1354d7=_0x4a5c73['data']['toModel'](_0x448d2e,_0x50a989);_0x215d87['insert'](_0x1354d7,_0x50a989);}_0x215d87['append'](_0x50a989,_0x5c1c4f),_0x215d87['insert'](_0x5c1c4f,_0x1cf415,'end');}_0x19c196=null;});});}}function c(_0x18677b){const _0x859c8b=new Set();for(const {item:_0x2a58b2}of _0x18677b)_0x2a58b2['is']('element','footnoteRef')&&_0x859c8b['add'](_0x2a58b2['getAttribute']('footnoteId'));return Array['from'](_0x859c8b);}class i extends _0xdc1d92{['licenseKey'];['_licenseKeyCheckInterval'];static get['pluginName'](){return'FootnotesUI';}static get['isOfficialPlugin'](){return!0x0;}static get['isPremiumPlugin'](){return!0x0;}['init'](){const {editor:_0x4e645a}=this,{componentFactory:_0x169960}=_0x4e645a['ui'];_0x169960['add']('insertFootnote',x(_0x4e645a,_0x3c7b9c)),_0x169960['add']('menuBar:insertFootnote',x(_0x4e645a,_0x4c975f)),this['licenseKey']=this['editor']['config']['get']('licenseKey');const _0x3cbd04=this['editor'];this['_licenseKeyCheckInterval']=setInterval(()=>{let _0x56703f;for(const _0x163d36 in _0x3cbd04){const _0x51f6dc=_0x163d36,_0x1705ff=_0x3cbd04[_0x51f6dc];if('footnotesLicenseKeyValid'==_0x1705ff||'footnotesLicenseKeyInvalid'==_0x1705ff||'footnotesLicenseKeyExpired'==_0x1705ff||'footnotesLicenseKeyDomainLimit'==_0x1705ff||'footnotesLicenseKeyNotAllowed'==_0x1705ff||'footnotesLicenseKeyEvaluationLimit'==_0x1705ff||'footnotesLicenseKeyTrialLimit'==_0x1705ff||'footnotesLicenseKeyUsageLimit'==_0x1705ff){delete _0x3cbd04[_0x51f6dc],_0x56703f=_0x1705ff,clearInterval(this['_licenseKeyCheckInterval']),this['_licenseKeyCheckInterval']=void 0x0;break;}}'footnotesLicenseKeyInvalid'==_0x56703f&&_0x3cbd04['_showLicenseError']('invalid'),'footnotesLicenseKeyExpired'==_0x56703f&&_0x3cbd04['_showLicenseError']('expired'),'footnotesLicenseKeyDomainLimit'==_0x56703f&&_0x3cbd04['_showLicenseError']('domainLimit'),'footnotesLicenseKeyNotAllowed'==_0x56703f&&_0x3cbd04['_showLicenseError']('featureNotAllowed','Footnotes'),'footnotesLicenseKeyEvaluationLimit'==_0x56703f&&_0x3cbd04['_showLicenseError']('evaluationLimit'),'footnotesLicenseKeyTrialLimit'==_0x56703f&&_0x3cbd04['_showLicenseError']('trialLimit'),'footnotesLicenseKeyUsageLimit'==_0x56703f&&_0x3cbd04['_showLicenseError']('usageLimit');},0x3e8);}['destroy'](){super['destroy'](),this['_licenseKeyCheckInterval']&&clearInterval(this['_licenseKeyCheckInterval']);}}function x(_0x3d9450,_0x3c7711){const _0x4c8f99=_0x3d9450['commands']['get']('insertFootnote');return _0xefddc6=>{const {t:t}=_0xefddc6,_0x442669=new _0x3c7711(_0xefddc6),_0x4f2112=_0x442669 instanceof _0x4c975f;return _0x442669['bind']('isEnabled')['to'](_0x4c8f99,'isEnabled'),_0x442669['set']({'label':t(_0x4f2112?'Footnote':'Insert\x20footnote'),'icon':_0x5bc017,'tooltip':!0x0}),_0x442669['on']('execute',()=>{_0x4c8f99['execute'](),_0x3d9450['editing']['view']['focus']();}),_0x442669;};}class lt extends _0xdc1d92{static get['pluginName'](){return'Footnotes';}static get['requires'](){return[r,e,i];}static get['isOfficialPlugin'](){return!0x0;}static get['isPremiumPlugin'](){return!0x0;}}const Q=['decimal','decimal-leading-zero','lower-latin','upper-latin','lower-alpha','upper-alpha','lower-roman','upper-roman'];class S extends _0x2922a0{['refresh'](){const {editor:_0x1eda5c}=this,_0xce6a7b=_0x1eda5c['plugins']['get'](f)['getFootnotesDefinitionsObjectElement']();this['isEnabled']=!!_0xce6a7b,this['value']=_0xce6a7b?.['getAttribute']('footnotesListStyle')??null;}['execute']({value:_0x28063a}){const {editor:_0x4366b1}=this,_0x1ff939=_0x4366b1['plugins']['get'](f),_0x3cf27a=_0x1ff939['getFootnotesDefinitionsObjectElement']();_0x3cf27a&&Q['includes'](_0x28063a)&&_0x4366b1['model']['change'](_0x43ecc4=>{_0x43ecc4['setAttribute']('footnotesListStyle',_0x28063a,_0x3cf27a),_0x1ff939['_updateFootnotesCounters'](_0x43ecc4);});}}class C extends _0x2922a0{['refresh'](){const {editor:_0x514d93}=this,_0x25664f=_0x514d93['plugins']['get'](f)['getFootnotesDefinitionsObjectElement']();this['isEnabled']=!!_0x25664f,this['value']=_0x25664f?.['getAttribute']('footnotesListStart')??null;}['execute']({value:_0x7dc46a}){const {editor:_0x442b86}=this,_0x58d353=_0x442b86['plugins']['get'](f),_0x2ab4ac=_0x58d353['getFootnotesDefinitionsObjectElement']();_0x2ab4ac&&Number['isInteger'](_0x7dc46a)&&_0x442b86['model']['change'](_0x23b2d1=>{_0x23b2d1['setAttribute']('footnotesListStart',_0x7dc46a,_0x2ab4ac),_0x58d353['_updateFootnotesCounters'](_0x23b2d1);});}}class P extends _0xdc1d92{static get['pluginName'](){return'FootnotesPropertiesEditing';}static get['requires'](){return[r,f];}static get['isOfficialPlugin'](){return!0x0;}static get['isPremiumPlugin'](){return!0x0;}['init'](){const {editor:_0x25d34c}=this;_0x25d34c['config']['define']('footnotes.footnotesProperties.defaultListStyle','decimal'),_0x25d34c['config']['define']('footnotes.footnotesProperties.defaultStartIndex',0x1),_0x25d34c['commands']['add']('footnotesStyle',new S(_0x25d34c)),_0x25d34c['commands']['add']('footnotesStart',new C(_0x25d34c)),this['_defineSchema'](),this['_defineConverters'](),this['_defineFormatter'](),this['_definePostfixer']();}['_defineSchema'](){const {editor:_0x2c22b5}=this,{schema:_0x5b82e6}=_0x2c22b5['model'];_0x5b82e6['extend']('footnotesDefinitions',{'allowAttributes':['footnotesListStyle','footnotesListStart']});}['_defineConverters'](){const {editor:_0x22ad5a}=this,{conversion:_0x50da07,model:_0x6cfc3a}=_0x22ad5a,{schema:_0x31f257}=_0x6cfc3a;_0x50da07['for']('upcast')['add'](_0x186373=>{_0x186373['on']('element:ol',(_0x2f7115,_0x304bba,_0xabe21f)=>{const _0x2a336c=_0x304bba['viewItem'],_0x156d2c=_0x304bba['modelCursor']?.['parent'];_0x2a336c['hasClass']('footnotes-list')&&_0x156d2c?.['is']('element','footnotesDefinitions')&&(function(_0x26e65a,_0x3e59ff,_0x9f475c,_0xa57358){if(!_0xa57358['checkAttribute'](_0x3e59ff,'footnotesListStart'))return;let _0x56aa4a=0x1;const _0x33254a=_0x9f475c['consumable']['consume'](_0x26e65a,{'attributes':'start'});if(_0x33254a){const _0x5ec716=Number['parseInt'](_0x26e65a['getAttribute']('start'),0xa);Number['isNaN'](_0x5ec716)||(_0x56aa4a=_0x5ec716);}!_0x33254a&&_0x3e59ff['hasAttribute']('footnotesListStart')||_0x9f475c['writer']['setAttribute']('footnotesListStart',_0x56aa4a,_0x3e59ff);}(_0x2a336c,_0x156d2c,_0xabe21f,_0x31f257),function(_0x1840b1,_0x4a6684,_0x4496ab,_0x13ee6b){if(!_0x13ee6b['checkAttribute'](_0x4a6684,'footnotesListStyle'))return;let _0x1757f9='decimal',_0x34bc9d=!0x1;if(_0x4496ab['consumable']['consume'](_0x1840b1,{'attributes':'type'})){const _0x2cc87e={0x1:'decimal','a':'lower-alpha','A':'upper-alpha','i':'lower-roman','I':'upper-roman'}[_0x1840b1['getAttribute']('type')];_0x2cc87e&&(_0x1757f9=_0x2cc87e),_0x34bc9d=!0x0;}_0x4496ab['consumable']['consume'](_0x1840b1,{'styles':'list-style-type'})&&(_0x1757f9=function(_0x5a9a35){switch(_0x5a9a35){case'lower-alpha':return'lower-latin';case'upper-alpha':return'upper-latin';default:return _0x5a9a35;}}(_0x1840b1['getStyle']('list-style-type')),_0x34bc9d=!0x0),!_0x34bc9d&&_0x4a6684['hasAttribute']('footnotesListStyle')||_0x4496ab['writer']['setAttribute']('footnotesListStyle',_0x1757f9,_0x4a6684);}(_0x2a336c,_0x156d2c,_0xabe21f,_0x31f257));});}),_0x50da07['for']('downcast')['add'](_0x3480ce=>{_0x3480ce['on']('attribute:footnotesListStart:footnotesDefinitions',(_0x41c43e,_0x329235,_0x57d33b)=>{if(!_0x57d33b['consumable']['consume'](_0x329235['item'],_0x41c43e['name']))return;const _0x4b4e3c=M(_0x329235['item'],_0x57d33b['mapper']),{attributeNewValue:_0x4bcbcd}=_0x329235;null==_0x4bcbcd||0x1===_0x4bcbcd?_0x57d33b['writer']['removeAttribute']('start',_0x4b4e3c):_0x57d33b['writer']['setAttribute']('start',String(_0x4bcbcd),_0x4b4e3c);}),_0x3480ce['on']('attribute:footnotesListStyle:footnotesDefinitions',(_0x447249,_0x3e2c0e,_0x2f1a0d)=>{if(!_0x2f1a0d['consumable']['consume'](_0x3e2c0e['item'],_0x447249['name']))return;const _0x19073a=M(_0x3e2c0e['item'],_0x2f1a0d['mapper']),{attributeNewValue:_0x3d8a46}=_0x3e2c0e;_0x3d8a46&&'decimal'!==_0x3d8a46?_0x2f1a0d['writer']['setStyle']('list-style-type',_0x3d8a46,_0x19073a):_0x2f1a0d['writer']['removeStyle']('list-style-type',_0x19073a);});});}['_definePostfixer'](){const {editor:_0x20ef5a}=this,{model:_0x5bd67b}=_0x20ef5a,_0x43729c=_0x20ef5a['plugins']['get'](f),_0x12d6e9=this['_getDefaultListStyle'](),_0x4232fd=this['_getDefaultStartIndex']();_0x5bd67b['document']['registerPostFixer'](_0x2b3c0d=>{const _0x3a757e=_0x5bd67b['document']['differ']['getChanges']();let _0x2497ed=!0x1;for(const _0x4de1d0 of _0x3a757e){if('insert'!==_0x4de1d0['type']||'$text'===_0x4de1d0['name'])continue;const _0x5a358d=_0x5bd67b['createRangeOn'](_0x4de1d0['position']['nodeAfter']);for(const _0x22d87b of _0x5a358d['getItems']())_0x22d87b['is']('element','footnotesDefinitions')&&(!_0x22d87b['hasAttribute']('footnotesListStart')&&_0x5bd67b['schema']['checkAttribute'](_0x22d87b,'footnotesListStart')&&(_0x2b3c0d['setAttribute']('footnotesListStart',_0x4232fd,_0x22d87b),_0x2497ed=!0x0),!_0x22d87b['hasAttribute']('footnotesListStyle')&&_0x5bd67b['schema']['checkAttribute'](_0x22d87b,'footnotesListStyle')&&(_0x2b3c0d['setAttribute']('footnotesListStyle',_0x12d6e9,_0x22d87b),_0x2497ed=!0x0));}return _0x2497ed&&_0x43729c['_updateFootnotesCounters'](_0x2b3c0d),_0x2497ed;});}['_defineFormatter'](){const {editor:_0x482844}=this;_0x482844['plugins']['get'](f)['setFootnoteFormatter'](_0x98bc3f=>this['_formatFootnoteListValue'](_0x98bc3f));}['_getDefaultListStyle'](){return this['editor']['config']['get']('footnotes.footnotesProperties.defaultListStyle');}['_getDefaultStartIndex'](){return this['editor']['config']['get']('footnotes.footnotesProperties.defaultStartIndex');}['_formatFootnoteListValue']({container:_0x2533c3,value:_0x49a550,digits:_0x40b478}){const _0x14cc95=_0x2533c3['getAttribute']('footnotesListStyle'),_0xb19b10=_0x2533c3['getAttribute']('footnotesListStart'),_0x1729ac=Math['floor'](_0x49a550)+(_0xb19b10??0x1)-0x1;switch(_0x14cc95){case'decimal-leading-zero':return function(_0x5c3fd9,_0x2f7f03){return String(_0x5c3fd9)['padStart'](_0x2f7f03,'0');}(_0x1729ac,Math['max'](0x2,_0x40b478));case'lower-alpha':case'lower-latin':return N(_0x1729ac,!0x1);case'upper-alpha':case'upper-latin':return N(_0x1729ac,!0x0);case'lower-roman':return X(_0x1729ac,!0x1);case'upper-roman':return X(_0x1729ac,!0x0);default:return String(_0x1729ac);}}}function M(_0x29079a,_0x52ea7d){const _0x558027=_0x52ea7d['toViewElement'](_0x29079a);return Array['from'](_0x558027['getChildren']())['find'](_0x4a817b=>_0x4a817b['is']('element','ol')&&_0x4a817b['hasClass']('footnotes-list'));}function N(_0x253093,_0xc95966){let _0x128fb9='',_0x38ef48=_0x253093;for(;_0x38ef48>0x0;){const _0x2285d4=(_0x38ef48-0x1)%0x1a;_0x128fb9=String['fromCharCode'](0x61+_0x2285d4)+_0x128fb9,_0x38ef48=Math['floor']((_0x38ef48-0x1)/0x1a);}return _0xc95966?_0x128fb9['toUpperCase']():_0x128fb9;}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(_0x22f2b4,_0x38262c){let _0x1bfd7e='',_0x5839ee=_0x22f2b4;for(const {value:_0x262b86,numeral:_0x5c6c2a}of V)for(;_0x5839ee>=_0x262b86;)_0x1bfd7e+=_0x5c6c2a,_0x5839ee-=_0x262b86;return _0x38262c?_0x1bfd7e:_0x1bfd7e['toLowerCase']();}class H extends _0x5addd1{['children'];['stylesView']=null;['additionalProperties']=null;['startIndexFieldView']=null;['focusTracker']=new ot();['keystrokes']=new rt();['focusables']=new _0x5a99c4();['focusCycler'];constructor(_0xe8f13c,{styleButtonViews:_0x124bd2,styleGridAriaLabel:_0xe797ba}){super(_0xe8f13c),(this['focusCycler']=new _0x69f264({'focusables':this['focusables'],'focusTracker':this['focusTracker'],'keystrokeHandler':this['keystrokes'],'actions':{'focusPrevious':'shift\x20+\x20tab','focusNext':'tab'}}),this['children']=this['createCollection'](),this['stylesView']=this['_appendStylesView'](_0x124bd2,_0xe797ba),[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 _0x19d526 of this['stylesView']['children'])this['stylesView']['focusTracker']['add'](_0x19d526['element']);tt({'keystrokeHandler':this['stylesView']['keystrokes'],'focusTracker':this['stylesView']['focusTracker'],'gridItems':this['stylesView']['children'],'numberOfColumns':()=>nt['window']['getComputedStyle'](this['stylesView']['element'])['getPropertyValue']('grid-template-columns')['split']('\x20')['length'],'uiLanguageDirection':this['locale']&&this['locale']['uiLanguageDirection']});}if(this['startIndexFieldView']){this['focusables']['add'](this['startIndexFieldView']),this['focusTracker']['add'](this['startIndexFieldView']['element']);const _0x531e11=_0x5bd996=>_0x5bd996['stopPropagation']();this['keystrokes']['set']('arrowright',_0x531e11),this['keystrokes']['set']('arrowleft',_0x531e11),this['keystrokes']['set']('arrowup',_0x531e11),this['keystrokes']['set']('arrowdown',_0x531e11);}this['keystrokes']['listenTo'](this['element']);}['focus'](){this['focusCycler']['focusFirst']();}['focusLast'](){this['focusCycler']['focusLast']();}['destroy'](){super['destroy'](),this['focusTracker']['destroy'](),this['keystrokes']['destroy']();}['_appendStylesView'](_0xe0ee87,_0x2827fb){const _0x215815=new _0x5addd1(this['locale']);return _0x215815['children']=_0x215815['createCollection'](),_0x215815['children']['addMany'](_0xe0ee87),_0x215815['setTemplate']({'tag':'div','attributes':{'aria-label':_0x2827fb,'class':['ck','ck-footnotes-definitions-styles-list']},'children':_0x215815['children']}),_0x215815['children']['delegate']('execute')['to'](this),_0x215815['focus']=function(){for(const _0x5160e0 of this['children'])if(_0x5160e0 instanceof _0x3c7b9c&&_0x5160e0['isOn'])return void _0x5160e0['focus']();this['children']['first']['focus']();},_0x215815['focusTracker']=new ot(),_0x215815['keystrokes']=new rt(),_0x215815['render'](),_0x215815['keystrokes']['listenTo'](_0x215815['element']),this['children']['add'](_0x215815),_0x215815;}['_appendAdditionalPropertiesCollapsibleView'](){const {t:t}=this['locale'],_0x49de7a=this['_createStartIndexPropertyView'](),_0x13a94e=[_0x49de7a],_0x463d7d=new st(this['locale'],_0x13a94e);return _0x463d7d['set']({'label':t('Footnotes\x20properties'),'isCollapsed':!0x0}),_0x463d7d['buttonView']['bind']('isEnabled')['toMany'](_0x13a94e,'isEnabled',(..._0x128b93)=>_0x128b93['some'](_0x7f8598=>_0x7f8598)),_0x463d7d['buttonView']['on']('change:isEnabled',(_0x15c0d3,_0x368555,_0x366f31)=>{_0x366f31||(_0x463d7d['isCollapsed']=!0x0);}),this['children']['add'](_0x463d7d),[_0x49de7a,_0x463d7d];}['_createStartIndexPropertyView'](){const {t:t}=this['locale'],_0x404bc8=new it(this['locale'],et);return _0x404bc8['set']({'label':t('Footnotes\x20start\x20at'),'class':'ck-footnotes-definitions-properties__start-index'}),_0x404bc8['fieldView']['set']({'min':0x0,'max':Math['pow'](0x2,0x1e),'step':0x1,'value':0x1,'inputMode':'numeric'}),_0x404bc8['fieldView']['on']('input',()=>{const _0x572b55=_0x404bc8['fieldView']['element'],_0x413df8=_0x572b55['valueAsNumber'];Number['isNaN'](_0x413df8)?_0x404bc8['errorText']=t('Invalid\x20footnotes\x20start\x20index\x20value.'):_0x572b55['checkValidity']()?this['fire']('footnotesListStart',{'startIndex':_0x413df8}):_0x404bc8['errorText']=t(_0x413df8<0x0?'Footnotes\x20start\x20index\x20must\x20be\x20greater\x20than\x200.':'Footnotes\x20start\x20index\x20is\x20too\x20large.');}),_0x404bc8;}}class j extends _0xdc1d92{static get['pluginName'](){return'FootnotesPropertiesUI';}static get['requires'](){return[_0x2f927b,_0x41e8fb];}static get['isOfficialPlugin'](){return!0x0;}static get['isPremiumPlugin'](){return!0x0;}['init'](){const {editor:_0x92a778}=this,{componentFactory:_0x34958f}=_0x92a778['ui'];_0x92a778['config']['define']('footnotes.footnotesProperties.toolbar',['footnotesStyle']),_0x34958f['add']('footnotesStyle',function(_0x35a98a){return _0x3ccea8=>{const {t:t}=_0x3ccea8,_0x3cbe0d=_0x35a98a['commands']['get']('footnotesStyle'),_0x4fe1f0=_0x229e8e(_0x3ccea8),{buttonView:_0x458bac}=_0x4fe1f0;return _0x4fe1f0['class']='ck-footnotes-styles-dropdown',_0x4fe1f0['bind']('isEnabled')['to'](_0x3cbe0d,'isEnabled'),_0x458bac['set']({'label':t('Footnotes\x20style'),'icon':_0x5bc017,'tooltip':!0x0}),_0x4fe1f0['once']('change:isOpen',()=>{const _0x1b86bf=function({editor:_0xbc26bb,dropdownView:_0x54ee18}){const {t:t}=_0xbc26bb['locale'],_0x4878d4=t('Footnotes\x20definitions\x20styles'),_0x58f335=function(_0x515006){const t=_0x515006['locale']['t'],_0x267325=[{'label':t('Toggle\x20the\x20decimal\x20footnotes\x20style'),'tooltip':t('Decimal\x20footnotes'),'style':'decimal','icon':_0x54e97f},{'label':t('Toggle\x20the\x20decimal\x20with\x20leading\x20zero\x20footnotes\x20style'),'tooltip':t('Decimal\x20footnotes\x20with\x20leading\x20zero'),'style':'decimal-leading-zero','icon':_0x3a044a},{'label':t('Toggle\x20the\x20lower–roman\x20footnotes\x20style'),'tooltip':t('Lower–roman\x20footnotes'),'style':'lower-roman','icon':_0x234538},{'label':t('Toggle\x20the\x20upper–roman\x20footnotes\x20style'),'tooltip':t('Upper-roman\x20footnotes'),'style':'upper-roman','icon':_0x5edc10},{'label':t('Toggle\x20the\x20lower–latin\x20footnotes\x20style'),'tooltip':t('Lower-latin\x20footnotes'),'style':'lower-latin','icon':_0x3d019f},{'label':t('Toggle\x20the\x20upper–latin\x20footnotes\x20style'),'tooltip':t('Upper-latin\x20footnotes'),'style':'upper-latin','icon':_0x1a86d1}];return _0x267325['map'](function(_0x4adbe8){const _0xe7b0a7=_0x4adbe8['locale'];return({label:_0x156f5a,icon:_0x31bf69,tooltip:_0x5e5f3c,style:_0x1f2252})=>{const _0x174385=_0x4adbe8['commands']['get']('footnotesStyle'),_0x3dc052=new _0x3c7b9c(_0xe7b0a7);return _0x3dc052['set']({'label':_0x156f5a,'icon':_0x31bf69,'tooltip':_0x5e5f3c}),_0x3dc052['bind']('isOn')['to'](_0x174385,'value',_0x34e7eb=>_0x34e7eb===_0x1f2252),_0x3dc052['bind']('isEnabled')['to'](_0x174385,'isEnabled'),_0x3dc052['on']('execute',()=>{_0x4adbe8['execute']('footnotesStyle',{'value':_0x1f2252}),_0x4adbe8['editing']['view']['focus']();}),_0x3dc052;};}(_0x515006));}(_0xbc26bb),_0x2bdd22=new H(_0xbc26bb['locale'],{'styleGridAriaLabel':_0x4878d4,'styleButtonViews':_0x58f335}),_0x316717=_0xbc26bb['commands']['get']('footnotesStart');return _0x2bdd22['startIndexFieldView']['bind']('isEnabled')['to'](_0x316717),_0x2bdd22['startIndexFieldView']['fieldView']['bind']('value')['to'](_0x316717),_0x2bdd22['on']('footnotesListStart',(_0x1e0019,_0x5af72e)=>{_0xbc26bb['execute']('footnotesStart',{'value':_0x5af72e['startIndex']});}),_0x2bdd22['delegate']('execute')['to'](_0x54ee18),_0x2bdd22;}({'editor':_0x35a98a,'dropdownView':_0x4fe1f0});_0x4fe1f0['panelView']['children']['add'](_0x1b86bf);}),_0x4fe1f0;};}(_0x92a778));}['afterInit'](){const {editor:_0x4217ba}=this,{t:t}=_0x4217ba['locale'],_0x7cba69=_0x4217ba['plugins']['get'](_0x41e8fb),{defaultPositions:_0x244373}=_0x354bcb;_0x7cba69['register']('footnotesDefinitions',{'ariaLabel':t('Footnotes\x20definitions\x20toolbar'),'items':_0x4217ba['config']['get']('footnotes.footnotesProperties.toolbar'),'balloonClassName':'ck-footnotes-style-balloon\x20ck-toolbar-container','getRelatedElement':_0x1f3c9c=>{let _0x2f57d4=_0x1f3c9c['getFirstPosition']()?.['parent'];return _0x2f57d4?.['is']('$text')&&(_0x2f57d4=_0x2f57d4['parent']),_0x2f57d4?.['is']('element')?_0x2f57d4['findAncestor'](J):null;},'positions':[_0x244373['southArrowNorth'],_0x244373['southArrowNorthMiddleWest'],_0x244373['southArrowNorthMiddleEast'],_0x244373['southArrowNorthWest'],_0x244373['southArrowNorthEast'],_0x244373['northArrowSouth'],_0x244373['northArrowSouthMiddleWest'],_0x244373['northArrowSouthMiddleEast'],_0x244373['northArrowSouthWest'],_0x244373['northArrowSouthEast'],_0x244373['viewportStickyNorth']]});}}class ft extends _0xdc1d92{static get['pluginName'](){return'FootnotesProperties';}static get['requires'](){return[P,j];}static get['isOfficialPlugin'](){return!0x0;}static get['isPremiumPlugin'](){return!0x0;}}export{lt as Footnotes,e as FootnotesClipboard,r as FootnotesEditing,ft as FootnotesProperties,P as FootnotesPropertiesEditing,j as FootnotesPropertiesUI,C as FootnotesStartCommand,S as FootnotesStyleCommand,f as FootnotesTracker,i as FootnotesUI,m as InsertFootnoteCommand};
|
package/dist/translations/af.js
CHANGED
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
export default{'af':{'dictionary':{'Footnote':'','Footnotes':'','Footnotes\x20properties':'','Footnotes\x20start\x20at':'','Invalid\x20footnotes\x20start\x20index\x20value.':'','Footnotes\x20start\x20index\x20is\x20too\x20large.':'','Footnotes\x20start\x20index\x20must\x20be\x20greater\x20than\x200.':'','Footnote\x20%0.\x20Press\x20ENTER\x20to\x20jump\x20to\x20footnote\x20definition.':'','Footnote\x20content.':'','Footnotes\x20definitions\x20styles':'','Footnotes\x20definitions\x20toolbar':'','Insert\x20footnote':'','Footnotes\x20style':'','Toggle\x20the\x20decimal\x20footnotes\x20style':'','Decimal\x20footnotes':'','Toggle\x20the\x20decimal\x20with\x20leading\x20zero\x20footnotes\x20style':'','Decimal\x20footnotes\x20with\x20leading\x20zero':'','Lower–roman\x20footnotes':'','Upper-roman\x20footnotes':'','Lower-latin\x20footnotes':'','Upper-latin\x20footnotes':'','Toggle\x20the\x20lower–roman\x20footnotes\x20style':'','Toggle\x20the\x20upper–roman\x20footnotes\x20style':'','Toggle\x20the\x20lower–latin\x20footnotes\x20style':'','Toggle\x20the\x20upper–latin\x20footnotes\x20style':''},'getPluralForm':
|
|
23
|
+
export default{'af':{'dictionary':{'Footnote':'','Footnotes':'','Footnotes\x20properties':'','Footnotes\x20start\x20at':'','Invalid\x20footnotes\x20start\x20index\x20value.':'','Footnotes\x20start\x20index\x20is\x20too\x20large.':'','Footnotes\x20start\x20index\x20must\x20be\x20greater\x20than\x200.':'','Footnote\x20%0.\x20Press\x20ENTER\x20to\x20jump\x20to\x20footnote\x20definition.':'','Footnote\x20content.':'','Footnotes\x20definitions\x20styles':'','Footnotes\x20definitions\x20toolbar':'','Insert\x20footnote':'','Footnotes\x20style':'','Toggle\x20the\x20decimal\x20footnotes\x20style':'','Decimal\x20footnotes':'','Toggle\x20the\x20decimal\x20with\x20leading\x20zero\x20footnotes\x20style':'','Decimal\x20footnotes\x20with\x20leading\x20zero':'','Lower–roman\x20footnotes':'','Upper-roman\x20footnotes':'','Lower-latin\x20footnotes':'','Upper-latin\x20footnotes':'','Toggle\x20the\x20lower–roman\x20footnotes\x20style':'','Toggle\x20the\x20upper–roman\x20footnotes\x20style':'','Toggle\x20the\x20lower–latin\x20footnotes\x20style':'','Toggle\x20the\x20upper–latin\x20footnotes\x20style':''},'getPluralForm':_0x2b3cd6=>0x1!=_0x2b3cd6}};
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
(
|
|
23
|
+
(_0x19d597=>{const {af:{dictionary:_0x9321f3,getPluralForm:_0x412b3e}}={'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':_0x37e947=>0x1!=_0x37e947}};_0x19d597['af']||={'dictionary':{},'getPluralForm':null},_0x19d597['af']['dictionary']=Object['assign'](_0x19d597['af']['dictionary'],_0x9321f3),_0x19d597['af']['getPluralForm']=_0x412b3e;})(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':_0x3ee2cd=>0x0==_0x3ee2cd?0x0:0x1==_0x3ee2cd?0x1:0x2==_0x3ee2cd?0x2:_0x3ee2cd%0x64>=0x3&&_0x3ee2cd%0x64<=0xa?0x3:_0x3ee2cd%0x64>=0xb?0x4:0x5}};
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
(
|
|
23
|
+
(_0x578d03=>{const {ar:{dictionary:_0x38d3b6,getPluralForm:_0xa53040}}={'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':_0x5b0322=>0x0==_0x5b0322?0x0:0x1==_0x5b0322?0x1:0x2==_0x5b0322?0x2:_0x5b0322%0x64>=0x3&&_0x5b0322%0x64<=0xa?0x3:_0x5b0322%0x64>=0xb?0x4:0x5}};_0x578d03['ar']||={'dictionary':{},'getPluralForm':null},_0x578d03['ar']['dictionary']=Object['assign'](_0x578d03['ar']['dictionary'],_0x38d3b6),_0x578d03['ar']['getPluralForm']=_0xa53040;})(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':_0x2b988a=>0x1!=_0x2b988a}};
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
(
|
|
23
|
+
(_0xa79a73=>{const {ast:{dictionary:_0x715f5,getPluralForm:_0x2c6cf9}}={'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':_0x329833=>0x1!=_0x329833}};_0xa79a73['ast']||={'dictionary':{},'getPluralForm':null},_0xa79a73['ast']['dictionary']=Object['assign'](_0xa79a73['ast']['dictionary'],_0x715f5),_0xa79a73['ast']['getPluralForm']=_0x2c6cf9;})(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':_0x3d94d4=>0x1!=_0x3d94d4}};
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
(
|
|
23
|
+
(_0x3af8b4=>{const {az:{dictionary:_0x12e888,getPluralForm:_0xbc9cfd}}={'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':_0x536d31=>0x1!=_0x536d31}};_0x3af8b4['az']||={'dictionary':{},'getPluralForm':null},_0x3af8b4['az']['dictionary']=Object['assign'](_0x3af8b4['az']['dictionary'],_0x12e888),_0x3af8b4['az']['getPluralForm']=_0xbc9cfd;})(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':_0x1ee956=>_0x1ee956%0xa==0x1&&_0x1ee956%0x64!=0xb?0x0:_0x1ee956%0xa>=0x2&&_0x1ee956%0xa<=0x4&&(_0x1ee956%0x64<0xa||_0x1ee956%0x64>=0x14)?0x1:0x2}};
|