@ckeditor/ckeditor5-footnotes 0.0.0-nightly-20251107.0 → 0.0.0-nightly-20251109.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 _0x1919f4,Command as _0x248306}from'@ckeditor/ckeditor5-core/dist/index.js';import{toWidget as _0x4d13ef,isWidget as _0x27cf13,toWidgetEditable as _0x447437,WidgetToolbarRepository as _0x2eac65}from'@ckeditor/ckeditor5-widget/dist/index.js';import{uid as _0x1c1d07,logWarning as _0x965bb7,FocusTracker as ot,KeystrokeHandler as rt,global as nt}from'@ckeditor/ckeditor5-utils/dist/index.js';import{PointerObserver as _0x198880,ClickObserver as _0x2e6442}from'@ckeditor/ckeditor5-engine/dist/index.js';import{ClipboardPipeline as _0x4cdf5b}from'@ckeditor/ckeditor5-clipboard/dist/index.js';import{MenuBarMenuListItemButtonView as _0x4917d7,ButtonView as _0x1bdd11,View as _0x15512b,ViewCollection as _0x467288,FocusCycler as _0x359ae5,addKeyboardHandlingForGrid as tt,CollapsibleView as st,LabeledFieldView as it,createLabeledInputNumber as et,ContextualBalloon as _0x34e669,BalloonPanelView as _0x5bbf33,createDropdown as _0x317838}from'@ckeditor/ckeditor5-ui/dist/index.js';import{IconFootnote as _0x6d049f,IconListStyleDecimal as _0xcb070,IconListStyleDecimalLeadingZero as _0x3f7fbf,IconListStyleLowerRoman as _0x31cd3e,IconListStyleUpperRoman as _0x4c934a,IconListStyleLowerLatin as _0x4b3954,IconListStyleUpperLatin as _0x3c88b8}from'@ckeditor/ckeditor5-icons/dist/index.js';class F{['_model'];['_elementName'];['_getElementKey'];['_trackedElements']=new Map();constructor(_0x299433,_0x56198c){this['_model']=_0x299433,this['_elementName']=_0x56198c['elementName'],this['_getElementKey']=_0x56198c['getElementKey'];}['reset'](){this['_trackedElements']['clear']();}['getChanges'](_0x153502){const _0x3c182f=new Set(),_0x27d2a7=new Map();for(const _0x1bf025 of _0x153502){if('insert'===_0x1bf025['type']&&'$text'!==_0x1bf025['name']&&_0x1bf025['position']['nodeAfter']){const _0x3ee960=this['_model']['createRangeOn'](_0x1bf025['position']['nodeAfter']);for(const _0x5dd765 of _0x3ee960['getItems']()){if(!_0x5dd765['is']('element',this['_elementName']))continue;const _0x5d00b1=this['_getElementKey'](_0x5dd765);_0x27d2a7['has'](_0x5d00b1)||_0x27d2a7['set'](_0x5d00b1,[]),_0x27d2a7['get'](_0x5d00b1)['push'](_0x5dd765);}}if('remove'===_0x1bf025['type']&&_0x1bf025['name']===this['_elementName']){const _0x1e80e1=this['_getElementKey']({'getAttribute':_0x4ee5ea=>_0x1bf025['attributes']['get'](_0x4ee5ea)});_0x3c182f['add'](_0x1e80e1);}}for(const [_0x4bb02d,_0x767881]of this['_trackedElements'])'$graveyard'===_0x767881['root']['rootName']&&_0x3c182f['add'](_0x4bb02d);for(const _0x4b3ef1 of _0x3c182f)this['_trackedElements']['delete'](_0x4b3ef1);for(const [_0xca971,_0x4b51da]of _0x27d2a7)this['_trackedElements']['set'](_0xca971,_0x4b51da[_0x4b51da['length']-0x1]);const _0x2a67f4=new Set();for(const [_0x86496a,_0xa46530]of _0x27d2a7)_0x3c182f['has'](_0x86496a)&&(_0x2a67f4['add'](_0xa46530[0x0]),_0xa46530['length']>0x1?_0x27d2a7['set'](_0x86496a,_0xa46530['slice'](0x1)):_0x27d2a7['delete'](_0x86496a),_0x3c182f['delete'](_0x86496a));return{'removed':Array['from'](_0x3c182f),'inserted':Array['from'](_0x27d2a7['values']())['flat'](),'moved':Array['from'](_0x2a67f4)};}}class c extends _0x1919f4{['_footnotes']=[];['_footnotesDefinitions']=null;['_footnoteFormatter']=null;['_footnoteDefsContainerTracker'];['_footnoteRefsTracker'];['_footnoteDefsTracker'];static get['pluginName'](){return'FootnotesTracker';}static get['isOfficialPlugin'](){return!0x0;}static get['isPremiumPlugin'](){return!0x0;}constructor(_0x24e829){super(_0x24e829),this['_footnoteDefsContainerTracker']=new F(this['editor']['model'],{'elementName':'footnotesDefinitions','getElementKey':()=>'singleton'}),this['_footnoteRefsTracker']=new F(this['editor']['model'],{'elementName':'footnoteRef','getElementKey':_0xb9ecd0=>_0xb9ecd0['getAttribute']('footnoteId')}),this['_footnoteDefsTracker']=new F(this['editor']['model'],{'elementName':'footnoteDefinition','getElementKey':_0x457e6d=>_0x457e6d['getAttribute']('footnoteId')});}['init'](){const {editor:_0x8afba9}=this,{model:_0x37d091,data:_0x46b446}=_0x8afba9;_0x37d091['document']['registerPostFixer'](_0x508aca=>{const _0x273192=_0x37d091['document']['differ']['getChanges']();let _0x1dee79=!0x1;return this['_handleFootnotesDefinitionsObjectChanges'](_0x508aca,_0x273192)&&(_0x1dee79=!0x0),this['_handleFootnoteDefinitionsChanges'](_0x508aca,_0x273192)&&(_0x1dee79=!0x0),this['_handleFootnoteReferencesChanges'](_0x508aca,_0x273192)&&(_0x1dee79=!0x0),this['_ensureFootnotesReferencesHaveProperOrder'](_0x508aca)&&(_0x1dee79=!0x0),this['_handleFootnotesDefinitionsObjectSync'](_0x508aca)&&(_0x1dee79=!0x0),this['_sortFootnoteDefinitions'](_0x508aca)&&(_0x1dee79=!0x0),_0x1dee79;}),this['listenTo'](_0x37d091['document'],'change:data',()=>{_0x37d091['enqueueChange']({'isUndoable':!0x1},_0x56636c=>{this['_ensureFootnotesDefinitionsContainerExists'](_0x56636c);});},{'priority':'low'}),this['listenTo'](_0x46b446,'set',()=>{this['_footnotes']=[],this['_footnoteDefsContainerTracker']['reset'](),this['_footnoteRefsTracker']['reset'](),this['_footnoteDefsTracker']['reset']();},{'priority':'high'});}['getFootnotesDefinitionsObjectElement'](){return this['_footnotesDefinitions'];}['getFootnote'](_0x92d9c2){return this['_footnotes']['find'](_0x475168=>_0x475168['id']===_0x92d9c2)||null;}['getFootnotes'](){return Array['from'](this['_footnotes']);}['getFootnotesFormatter'](){return this['_footnoteFormatter'];}['setFootnoteFormatter'](_0x450d90){this['_footnoteFormatter']=_0x450d90;}['_updateFootnotesCounters'](_0x3ffa30,_0x5a0577=0x0){let _0x503b37=!0x1;for(let _0x1ea6d1=_0x5a0577;_0x1ea6d1<this['_footnotes']['length'];_0x1ea6d1++)this['_updateFootnoteRefCounter'](_0x3ffa30,_0x1ea6d1)&&(_0x503b37=!0x0);return _0x503b37;}['_insertEmptyFootnotesDefinitionsContainer'](_0x4ce05a,_0x29ee7c){const _0x472d8a=_0x4ce05a['createElement']('footnotesDefinitions',{});return _0x4ce05a['append'](_0x472d8a,_0x29ee7c),this['_footnotesDefinitions']=_0x472d8a,_0x472d8a;}['_ensureFootnotesDefinitionsContainerExists'](_0x96b13e){if(!this['_footnotes']['length']||this['_footnotesDefinitions'])return;const _0x166944=this['_footnotes'][0x0]['reference']['root'],_0x259028=this['_insertEmptyFootnotesDefinitionsContainer'](_0x96b13e,_0x166944);for(const _0x1be15a of this['_footnotes'])_0x1be15a['definition']['parent']||_0x96b13e['insert'](_0x1be15a['definition'],_0x259028,'end');this['_updateFootnotesCounters'](_0x96b13e);}['_handleFootnotesDefinitionsObjectChanges'](_0xaadea3,_0x154d5e){let _0x381273=!0x1;const {inserted:_0x42be6a,removed:_0x6295a8,moved:_0x3bd608}=this['_footnoteDefsContainerTracker']['getChanges'](_0x154d5e);if(_0x3bd608['length']&&(this['_footnotesDefinitions']=_0x3bd608[0x0]),_0x42be6a['length']){if(_0x42be6a['length']>0x1||this['_footnotesDefinitions']&&_0x42be6a['some'](_0x183295=>_0x183295!==this['_footnotesDefinitions'])){const _0x235226=_0xaadea3['createElement']('footnotesDefinitions',{}),_0x185cfa=[];this['_footnotesDefinitions']&&_0x185cfa['push'](this['_footnotesDefinitions']),_0x185cfa['push'](..._0x42be6a),_0xaadea3['insert'](_0x235226,_0x185cfa[0x0],'before');for(const _0x33596a of _0x185cfa)_0xaadea3['move'](_0xaadea3['createRangeIn'](_0x33596a),_0xaadea3['createPositionAt'](_0x235226,'end')),_0xaadea3['remove'](_0x33596a);this['_footnotesDefinitions']=_0x235226,this['_updateFootnotesCounters'](_0xaadea3),_0x381273=!0x0;}else this['_footnotesDefinitions']=_0x42be6a[0x0];}if(_0x6295a8['length']&&'$graveyard'===this['_footnotesDefinitions']?.['root']['rootName']){for(const _0x55d719 of this['_footnotes'])_0xaadea3['remove'](_0x55d719['reference']),_0x381273=!0x0;this['_footnotes']=[],this['_footnotesDefinitions']=null;}return _0x381273;}['_handleFootnoteDefinitionsChanges'](_0x2c2009,_0x1f7f2e){let _0x39d1dc=!0x1;const _0x54e322=this['editor']['config']['get']('footnotes.multiBlock'),{inserted:_0x16da4c,moved:_0x440b2d}=this['_footnoteDefsTracker']['getChanges'](_0x1f7f2e);for(const _0x275309 of[..._0x440b2d,..._0x16da4c]){const _0x5da5e3=_0x275309['getAttribute']('footnoteId'),_0x4ad35e=this['getFootnote'](_0x5da5e3);_0x4ad35e&&(_0x4ad35e['definition']=_0x275309),_(_0x2c2009,_0x54e322,_0x275309)&&(_0x39d1dc=!0x0);}return _0x39d1dc;}['_handleFootnoteReferencesChanges'](_0x456ee9,_0x588792){let _0x2d5b46=!0x1;const {removed:_0x53b3f7,inserted:_0x3f5bf9,moved:_0xa54d99}=this['_footnoteRefsTracker']['getChanges'](_0x588792);for(const _0x429d9b of _0x53b3f7)this['_handleRemoveFootnoteReferenceById'](_0x456ee9,_0x429d9b)&&(_0x2d5b46=!0x0);for(const _0xa74744 of _0x3f5bf9)this['_handleInsertedFootnoteReference'](_0x456ee9,_0xa74744)&&(_0x2d5b46=!0x0);for(const _0x2c3cce of _0xa54d99)this['_handleMovedFootnoteReference'](_0x456ee9,_0x2c3cce)&&(_0x2d5b46=!0x0);return _0x2d5b46;}['_handleFootnotesDefinitionsObjectSync'](_0x6faa17){if(!this['_footnotesDefinitions'])return!0x1;let _0x6a347c=!0x1;if(this['_footnotesDefinitions']['childCount']!==this['_footnotes']['length']){const _0xb3118a=[];for(const _0x5da293 of this['_footnotesDefinitions']['getChildren']()){const _0x5a45ff=_0x5da293['getAttribute']('footnoteId');this['getFootnote'](_0x5a45ff)||(_0xb3118a['unshift'](_0x5da293),_0x6a347c=!0x0);}for(const _0xe7c2e4 of _0xb3118a)_0x6faa17['remove'](_0xe7c2e4);}const _0x3021f9=new Set(),_0x17fe6e=[];for(const _0xd7c86c of this['_footnotesDefinitions']['getChildren']()){const _0x361953=_0xd7c86c['getAttribute']('footnoteId');_0x3021f9['has'](_0x361953)?(_0x17fe6e['unshift'](_0xd7c86c),_0x6a347c=!0x0):_0x3021f9['add'](_0x361953);}for(const _0x2dcd7d of _0x17fe6e)_0x6faa17['remove'](_0x2dcd7d);return this['_footnotesDefinitions']['childCount']||(_0x6faa17['remove'](this['_footnotesDefinitions']),this['_footnotesDefinitions']=null,_0x6a347c=!0x0),_0x6a347c;}['_handleInsertedFootnoteReference'](_0x10dd90,_0x1355c0){if(this['_footnotes']['find'](_0x4c6fa5=>_0x4c6fa5['reference']===_0x1355c0))return!0x1;let _0x4169b7=!0x1;const _0x502c94=_0x1355c0['getAttribute']('footnoteId'),_0x4b0a86=this['_footnotes']['findIndex'](_0x51e1ff=>_0x51e1ff['id']===_0x502c94);-0x1!==_0x4b0a86&&(_0x10dd90['remove'](this['_footnotes'][_0x4b0a86]['reference']),this['_footnotes']['splice'](_0x4b0a86,0x1),_0x4169b7=!0x0);let _0x334e1f=this['_footnotesDefinitions']?function(_0x2bb8da,_0x290f30){for(const _0x473f9a of _0x2bb8da['getChildren']())if(_0x473f9a['getAttribute']('footnoteId')===_0x290f30)return _0x473f9a;return null;}(this['_footnotesDefinitions'],_0x502c94):null;_0x334e1f||(_0x334e1f=_0x10dd90['createElement']('footnoteDefinition',{'footnoteId':_0x502c94}),this['_footnotesDefinitions']&&(_0x10dd90['insert'](_0x334e1f,this['_footnotesDefinitions'],'end'),_0x4169b7=!0x0));const _0x2ffb15={'id':_0x502c94,'reference':_0x1355c0,'definition':_0x334e1f},_0x23900e=I(this['editor']['model'],this['_footnotes'],_0x1355c0);this['_footnotes']['splice'](_0x23900e,0x0,_0x2ffb15);let _0x2934f0=_0x23900e;return-0x1!==_0x4b0a86&&(_0x2934f0=Math['min'](_0x23900e,_0x4b0a86)),this['_updateFootnotesCounters'](_0x10dd90,_0x2934f0)&&(_0x4169b7=!0x0),_0x4169b7;}['_handleRemoveFootnoteReferenceById'](_0x18fc0d,_0x5f4f2c){const _0xcaaa91=this['_footnotes']['findIndex'](_0x1ae860=>_0x1ae860['id']===_0x5f4f2c);if(-0x1===_0xcaaa91)return!0x1;let _0x10cd22=!0x1;const _0x469787=this['_footnotes'][_0xcaaa91];return'$graveyard'!==_0x469787['definition']['root']['rootName']&&(_0x18fc0d['remove'](_0x469787['definition']),_0x10cd22=!0x0),this['_footnotes']['splice'](_0xcaaa91,0x1),this['_updateFootnotesCounters'](_0x18fc0d,_0xcaaa91)&&(_0x10cd22=!0x0),_0x10cd22;}['_handleMovedFootnoteReference'](_0x48c380,_0x50e157){const _0x1d58b7=_0x50e157['getAttribute']('footnoteId'),_0x349da9=this['_footnotes']['findIndex'](_0x4f3f18=>_0x4f3f18['id']===_0x1d58b7),_0xcd4025=this['_footnotes'][_0x349da9];let _0x3d8fa8=!0x1;_0xcd4025['reference']=_0x50e157,this['_footnotes']['splice'](_0x349da9,0x1);const _0x9c79b4=I(this['editor']['model'],this['_footnotes'],_0x50e157);return this['_footnotes']['splice'](_0x9c79b4,0x0,_0xcd4025),this['_updateFootnotesCounters'](_0x48c380,Math['min'](_0x349da9,_0x9c79b4))&&(_0x3d8fa8=!0x0),_0x3d8fa8;}['_updateFootnoteRefCounter'](_0x16f5a9,_0x305f29){if(!this['_footnotesDefinitions'])return!0x1;const _0x5df91f=this['_footnotes'][_0x305f29];let _0x383ac8;return _0x383ac8=this['_footnoteFormatter']?this['_footnoteFormatter']({'footnote':_0x5df91f,'container':this['_footnotesDefinitions'],'digits':String(this['_footnotes']['length'])['length'],'value':_0x305f29+0x1}):String(_0x305f29+0x1),_0x5df91f['reference']['getAttribute']('footnoteCounter')!=_0x383ac8&&(_0x16f5a9['setAttribute']('footnoteCounter',_0x383ac8,_0x5df91f['reference']),!0x0);}['_sortFootnoteDefinitions'](_0x40b88c){if(!this['_footnotesDefinitions']||this['_footnotes']['length']<0x2)return!0x1;if(function(_0x57d8e2,_0x345578){if(_0x57d8e2['length']!==_0x345578['length'])return!0x1;for(let _0xc1d9db=0x0;_0xc1d9db<_0x57d8e2['length'];_0xc1d9db++)if(_0x57d8e2[_0xc1d9db]!==_0x345578[_0xc1d9db])return!0x1;return!0x0;}(this['_footnotes']['map'](_0x236499=>_0x236499['id']),Array['from'](this['_footnotesDefinitions']['getChildren']())['map'](_0x5ad47e=>_0x5ad47e['getAttribute']('footnoteId'))))return!0x1;let _0x11f94a=!0x1;for(let _0x55cac8=0x0;_0x55cac8<this['_footnotes']['length'];_0x55cac8++){const _0x333d0b=this['_footnotes'][_0x55cac8],_0x501d15=_0x40b88c['createPositionBefore'](_0x333d0b['definition']),_0x5913bd=_0x40b88c['createPositionAt'](this['_footnotesDefinitions'],_0x55cac8);_0x501d15['isEqual'](_0x5913bd)||(_0x40b88c['move'](_0x40b88c['createRangeOn'](_0x333d0b['definition']),_0x5913bd),_0x11f94a=!0x0);}return _0x11f94a;}['_ensureFootnotesReferencesHaveProperOrder'](_0x2340f3){if(!this['_footnotes']['length'])return!0x1;const {model:_0x28b25f}=this['editor'];let _0x510589=!0x1;for(let _0x91eb5d=0x0;_0x91eb5d<this['_footnotes']['length']-0x1;_0x91eb5d++){const _0x25a5f5=this['_footnotes'][_0x91eb5d],_0x5476fb=this['_footnotes'][_0x91eb5d+0x1],_0x14cf54=_0x28b25f['createPositionBefore'](_0x25a5f5['reference']),_0x6d81a8=_0x28b25f['createPositionBefore'](_0x5476fb['reference']);'after'===_0x14cf54['compareWith'](_0x6d81a8)&&(this['_handleMovedFootnoteReference'](_0x2340f3,_0x25a5f5['reference']),_0x91eb5d=-0x1,_0x510589=!0x0);}return _0x510589;}}function _(_0x389930,_0x21d9e4,_0x42212d){if(_0x42212d['childCount'])return!0x1;const _0x1c158a=_0x21d9e4?'paragraph':'footnoteInlineContent';return _0x389930['insert'](_0x389930['createElement'](_0x1c158a),_0x42212d),!0x0;}function I(_0x4f7115,_0x565fa3,_0x481e78){if(0x0===_0x565fa3['length'])return 0x0;const _0x1fd18a=_0x4f7115['createPositionBefore'](_0x481e78);for(let _0x5e1e33=0x0;_0x5e1e33<_0x565fa3['length'];_0x5e1e33++){const _0x1b107b=_0x565fa3[_0x5e1e33],_0xfc6cea=_0x4f7115['createPositionBefore'](_0x1b107b['reference']);if('before'===_0x1fd18a['compareWith'](_0xfc6cea))return _0x5e1e33;}const _0x5dacb6=_0x481e78['root'];let _0x108235=-0x1;for(let _0x35fca6=_0x565fa3['length']-0x1;_0x35fca6>=0x0;_0x35fca6--)if(_0x565fa3[_0x35fca6]['reference']['root']===_0x5dacb6){_0x108235=_0x35fca6;break;}if(-0x1!==_0x108235)return _0x108235+0x1;const _0x4920e8=_0x4f7115['document']['getRootNames'](),_0x149857=_0x4920e8['indexOf'](_0x5dacb6['rootName']),_0x368a48=_0x4920e8[_0x149857+0x1];if(_0x368a48){for(let _0x2e8652=0x0;_0x2e8652<_0x565fa3['length'];_0x2e8652++)if(_0x565fa3[_0x2e8652]['reference']['root']['rootName']===_0x368a48)return _0x2e8652;}return _0x565fa3['length'];}class m extends _0x248306{['refresh'](){const _0x2426c2=this['editor']['model']['document']['selection'],_0x1e6b57=this['_getPositionToInsertFootnote'](_0x2426c2);this['isEnabled']=!!_0x1e6b57;}['execute'](_0x4ab19e){const {editor:_0x2a5dbf}=this,{model:_0x59ea32}=_0x2a5dbf,{selection:_0x181f25}=_0x59ea32['document'],_0x437e6f=this['_getPositionToInsertFootnote'](_0x181f25);if(!_0x437e6f)return;const _0x579870=_0x2a5dbf['plugins']['get']('FootnotesEditing'),_0x5cc224=_0x4ab19e?.['footnoteId']??_0x1c1d07();!function(_0x452245){return'string'==typeof _0x452245&&_0x452245['length']>0x0&&!/\s/['test'](_0x452245)&&!/^\d/['test'](_0x452245);}(_0x5cc224)?_0x965bb7('insert-footnote-command-executed-with-invalid-id'):(_0x59ea32['change'](_0x29b4d1=>{const _0x241de3=_0x29b4d1['createElement']('footnoteRef',{'footnoteId':_0x5cc224});_0x59ea32['insertObject'](_0x241de3,_0x437e6f,null);}),_0x579870['_moveSelectionToFootnoteDefinition'](_0x5cc224));}['_getPositionToInsertFootnote'](_0x30c364){const {model:_0x328514}=this['editor'],{schema:_0x2c2461}=_0x328514,_0x4e7b3a=_0x30c364['getFirstRange']();for(const _0x41c385 of _0x4e7b3a['getItems']())if(_0x2c2461['isBlock'](_0x41c385)||_0x2c2461['isObject'](_0x41c385))return null;const _0x195600=_0x4e7b3a['end'];return _0x2c2461['checkChild'](_0x195600,'footnoteRef')?_0x195600:null;}}class r extends _0x1919f4{static get['pluginName'](){return'FootnotesEditing';}static get['requires'](){return[c];}static get['isOfficialPlugin'](){return!0x0;}static get['isPremiumPlugin'](){return!0x0;}['init'](){const {editor:_0x3b0aa3}=this;_0x3b0aa3['config']['define']('footnotes.multiBlock',!0x0),_0x3b0aa3['commands']['add']('insertFootnote',new m(_0x3b0aa3)),this['_defineSchema'](),this['_defineRefsConverters'](),this['_defineDefinitionsConverters'](),this['_defineDefinitionConverters'](),this['_defineBogusParagraphConverters'](),this['_defineKeyboardHandlers'](),this['_defineClickHandlers']();}['afterInit'](){!async function(_0x524d5e){const _0x1fb3eb=_0x58bd2a([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]),_0x287dfd=0x47a28506,_0x522264=0x47a5fd6e^_0x287dfd,_0x4ebb02=window[_0x58bd2a([0x44,0x61,0x74,0x65])][_0x58bd2a([0x6e,0x6f,0x77])](),_0x537721=_0x524d5e[_0x58bd2a([0x65,0x64,0x69,0x74,0x6f,0x72])],_0x63bc64=new window[(_0x58bd2a([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0x428c68=>{_0x537721[_0x58bd2a([0x6f,0x6e,0x63,0x65])](_0x58bd2a([0x72,0x65,0x61,0x64,0x79]),_0x428c68);}),_0x1878db={[_0x58bd2a([0x6b,0x74,0x79])]:_0x58bd2a([0x45,0x43]),[_0x58bd2a([0x75,0x73,0x65])]:_0x58bd2a([0x73,0x69,0x67]),[_0x58bd2a([0x63,0x72,0x76])]:_0x58bd2a([0x50,0x2d,0x32,0x35,0x36]),[_0x58bd2a([0x78])]:_0x58bd2a([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]),[_0x58bd2a([0x79])]:_0x58bd2a([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]),[_0x58bd2a([0x61,0x6c,0x67])]:_0x58bd2a([0x45,0x53,0x32,0x35,0x36])},_0x4ae175=_0x537721[_0x58bd2a([0x63,0x6f,0x6e,0x66,0x69,0x67])][_0x58bd2a([0x67,0x65,0x74])](_0x58bd2a([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x4b,0x65,0x79]));async function _0xe3fc72(){let _0x1b6597,_0x2be4f9=null,_0xad6099=null;try{if(_0x4ae175==_0x58bd2a([0x47,0x50,0x4c]))return _0x58bd2a([0x4e,0x6f,0x74,0x41,0x6c,0x6c,0x6f,0x77,0x65,0x64]);if(_0x1b6597=_0x32be27(),!_0x1b6597)return _0x58bd2a([0x49,0x6e,0x76,0x61,0x6c,0x69,0x64]);return _0x1b6597[_0x58bd2a([0x75,0x73,0x61,0x67,0x65,0x45,0x6e,0x64,0x70,0x6f,0x69,0x6e,0x74])]&&(_0xad6099=_0x419c69(_0x1b6597[_0x58bd2a([0x75,0x73,0x61,0x67,0x65,0x45,0x6e,0x64,0x70,0x6f,0x69,0x6e,0x74])],_0x1b6597[_0x58bd2a([0x6a,0x74,0x69])])),await _0x3dd17a()?_0x4f325b()?_0x587534()?_0x58bd2a([0x45,0x78,0x70,0x69,0x72,0x65,0x64]):_0x49182a()?(_0x1b6597[_0x58bd2a([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x54,0x79,0x70,0x65])]==_0x58bd2a([0x65,0x76,0x61,0x6c,0x75,0x61,0x74,0x69,0x6f,0x6e])&&(_0x2be4f9=_0x27b224(_0x58bd2a([0x45,0x76,0x61,0x6c,0x75,0x61,0x74,0x69,0x6f,0x6e,0x4c,0x69,0x6d,0x69,0x74]))),_0x1b6597[_0x58bd2a([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x54,0x79,0x70,0x65])]==_0x58bd2a([0x74,0x72,0x69,0x61,0x6c])&&(_0x2be4f9=_0x27b224(_0x58bd2a([0x54,0x72,0x69,0x61,0x6c,0x4c,0x69,0x6d,0x69,0x74]))),await _0x143185()):_0x58bd2a([0x44,0x6f,0x6d,0x61,0x69,0x6e,0x4c,0x69,0x6d,0x69,0x74]):_0x58bd2a([0x4e,0x6f,0x74,0x41,0x6c,0x6c,0x6f,0x77,0x65,0x64]):_0x58bd2a([0x49,0x6e,0x76,0x61,0x6c,0x69,0x64]);}catch{return _0x58bd2a([0x49,0x6e,0x76,0x61,0x6c,0x69,0x64]);}function _0x587534(){const _0x11d0ad=[_0x58bd2a([0x65,0x76,0x61,0x6c,0x75,0x61,0x74,0x69,0x6f,0x6e]),_0x58bd2a([0x74,0x72,0x69,0x61,0x6c])][_0x58bd2a([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x1b6597[_0x58bd2a([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x54,0x79,0x70,0x65])])?_0x4ebb02/0x3e8:0xe10*_0x522264;return _0x1b6597[_0x58bd2a([0x65,0x78,0x70])]<_0x11d0ad;}function _0x4f325b(){const _0x587e96=_0x1b6597[_0x58bd2a([0x66,0x65,0x61,0x74,0x75,0x72,0x65,0x73])];return!!_0x587e96&&(!!_0x587e96[_0x58bd2a([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x58bd2a([0x2a]))||!!_0x587e96[_0x58bd2a([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x58bd2a([0x46,0x4f,0x4f])));}function _0x49182a(){const _0x1ef1ba=_0x1b6597[_0x58bd2a([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x64,0x48,0x6f,0x73,0x74,0x73])];if(!_0x1ef1ba||0x0==_0x1ef1ba[_0x58bd2a([0x6c,0x65,0x6e,0x67,0x74,0x68])])return!0x0;const {hostname:_0x43a7d4}=new URL(window[_0x58bd2a([0x6c,0x6f,0x63,0x61,0x74,0x69,0x6f,0x6e])]['href']);if(_0x1ef1ba[_0x58bd2a([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x43a7d4))return!0x0;const _0x3bf058=_0x43a7d4[_0x58bd2a([0x73,0x70,0x6c,0x69,0x74])](_0x58bd2a([0x2e]));return _0x1ef1ba[_0x58bd2a([0x66,0x69,0x6c,0x74,0x65,0x72])](_0x291e76=>_0x291e76[_0x58bd2a([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x58bd2a([0x2a])))[_0x58bd2a([0x6d,0x61,0x70])](_0x5747f6=>_0x5747f6[_0x58bd2a([0x73,0x70,0x6c,0x69,0x74])](_0x58bd2a([0x2e])))[_0x58bd2a([0x66,0x69,0x6c,0x74,0x65,0x72])](_0x1f9395=>_0x1f9395[_0x58bd2a([0x6c,0x65,0x6e,0x67,0x74,0x68])]<=_0x3bf058[_0x58bd2a([0x6c,0x65,0x6e,0x67,0x74,0x68])])[_0x58bd2a([0x6d,0x61,0x70])](_0x452929=>Array(_0x3bf058[_0x58bd2a([0x6c,0x65,0x6e,0x67,0x74,0x68])]-_0x452929[_0x58bd2a([0x6c,0x65,0x6e,0x67,0x74,0x68])])[_0x58bd2a([0x66,0x69,0x6c,0x6c])](_0x452929[0x0]===_0x58bd2a([0x2a])?_0x58bd2a([0x2a]):'')[_0x58bd2a([0x63,0x6f,0x6e,0x63,0x61,0x74])](_0x452929))[_0x58bd2a([0x73,0x6f,0x6d,0x65])](_0x5010ed=>_0x3bf058[_0x58bd2a([0x65,0x76,0x65,0x72,0x79])]((_0x3871cf,_0x498feb)=>_0x5010ed[_0x498feb]===_0x3871cf||_0x5010ed[_0x498feb]===_0x58bd2a([0x2a])));}function _0x143185(){return _0x2be4f9&&_0xad6099?new window[(_0x58bd2a([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))]((_0xb715c6,_0x2bc944)=>{_0x2be4f9[_0x58bd2a([0x74,0x68,0x65,0x6e])](_0xb715c6,_0x2bc944),_0xad6099[_0x58bd2a([0x74,0x68,0x65,0x6e])](_0x5f1481=>{_0x5f1481!=_0x58bd2a([0x56,0x61,0x6c,0x69,0x64])&&_0xb715c6(_0x5f1481);},_0x2bc944);}):_0x2be4f9||_0xad6099||_0x58bd2a([0x56,0x61,0x6c,0x69,0x64]);}}function _0x419c69(_0x4dc0ad,_0xbde18f){return new window[(_0x58bd2a([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0xa92071=>{if(_0x4511bd())return _0xa92071(_0x58bd2a([0x56,0x61,0x6c,0x69,0x64]));_0x4c5efc(),_0x537721[_0x58bd2a([0x64,0x65,0x63,0x6f,0x72,0x61,0x74,0x65])](_0x58bd2a([0x5f,0x73,0x65,0x6e,0x64,0x55,0x73,0x61,0x67,0x65,0x52,0x65,0x71,0x75,0x65,0x73,0x74]));let _0x5460df=!0x1;const _0x40ebea=_0x1c1d07();function _0x283021(_0x30f406){return!!_0x30f406&&(typeof _0x30f406===_0x58bd2a([0x6f,0x62,0x6a,0x65,0x63,0x74])||typeof _0x30f406===_0x58bd2a([0x66,0x75,0x6e,0x63,0x74,0x69,0x6f,0x6e]))&&typeof _0x30f406[_0x58bd2a([0x74,0x68,0x65,0x6e])]===_0x58bd2a([0x66,0x75,0x6e,0x63,0x74,0x69,0x6f,0x6e])&&typeof _0x30f406[_0x58bd2a([0x63,0x61,0x74,0x63,0x68])]===_0x58bd2a([0x66,0x75,0x6e,0x63,0x74,0x69,0x6f,0x6e]);}function _0x349895(_0x366214){_0x10637e(_0x366214)[_0x58bd2a([0x74,0x68,0x65,0x6e])](_0x8beccc=>{if(!_0x8beccc||_0x8beccc[_0x58bd2a([0x73,0x74,0x61,0x74,0x75,0x73])]!=_0x58bd2a([0x6f,0x6b]))return _0x58bd2a([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]);return _0x249f57(_0x2882e3(_0x40ebea+_0xbde18f))!=_0x8beccc[_0x58bd2a([0x76,0x65,0x72,0x69,0x66,0x69,0x63,0x61,0x74,0x69,0x6f,0x6e])]?_0x58bd2a([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]):_0x58bd2a([0x56,0x61,0x6c,0x69,0x64]);})[_0x58bd2a([0x74,0x68,0x65,0x6e])](_0x4fe069=>(_0x100c4b(),_0x4fe069),()=>{const _0x5f6080=_0x203e5a();return null==_0x5f6080?(_0x100c4b(),_0x58bd2a([0x56,0x61,0x6c,0x69,0x64])):_0x58bd2a(_0x4ebb02-_0x5f6080>(0x63ae0106^_0x287dfd)?[0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]:[0x56,0x61,0x6c,0x69,0x64]);})[_0x58bd2a([0x74,0x68,0x65,0x6e])](_0xa92071)[_0x58bd2a([0x63,0x61,0x74,0x63,0x68])](()=>{_0xa92071(_0x58bd2a([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]));});const _0x35c4e2=0x47946b86^_0x287dfd;function _0x100c4b(){const _0x3637e3=_0x58bd2a([0x6c,0x6c,0x63,0x74,0x2d])+_0x249f57(_0x2882e3(_0x4dc0ad)),_0x367a88=_0x882a50(_0x249f57(window[_0x58bd2a([0x4d,0x61,0x74,0x68])][_0x58bd2a([0x63,0x65,0x69,0x6c])](_0x4ebb02/_0x35c4e2)));window[_0x58bd2a([0x6c,0x6f,0x63,0x61,0x6c,0x53,0x74,0x6f,0x72,0x61,0x67,0x65])][_0x58bd2a([0x73,0x65,0x74,0x49,0x74,0x65,0x6d])](_0x3637e3,_0x367a88);}function _0x203e5a(){const _0x5f29bd=_0x58bd2a([0x6c,0x6c,0x63,0x74,0x2d])+_0x249f57(_0x2882e3(_0x4dc0ad)),_0x382923=window[_0x58bd2a([0x6c,0x6f,0x63,0x61,0x6c,0x53,0x74,0x6f,0x72,0x61,0x67,0x65])][_0x58bd2a([0x67,0x65,0x74,0x49,0x74,0x65,0x6d])](_0x5f29bd);return _0x382923?window[_0x58bd2a([0x70,0x61,0x72,0x73,0x65,0x49,0x6e,0x74])](_0x882a50(_0x382923),0x10)*_0x35c4e2:null;}function _0x10637e(_0x44d689){return new window[(_0x58bd2a([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))]((_0x4a7686,_0x1f79ac)=>{_0x44d689[_0x58bd2a([0x74,0x68,0x65,0x6e])](_0x4a7686,_0x1f79ac),window[_0x58bd2a([0x73,0x65,0x74,0x54,0x69,0x6d,0x65,0x6f,0x75,0x74])](_0x1f79ac,0x47a351c6^_0x287dfd);});}}_0x537721[_0x58bd2a([0x6f,0x6e])](_0x58bd2a([0x5f,0x73,0x65,0x6e,0x64,0x55,0x73,0x61,0x67,0x65,0x52,0x65,0x71,0x75,0x65,0x73,0x74]),(_0x19c19c,_0x59b039)=>{if(_0x59b039[0x0]!=_0x4dc0ad)return _0xa92071(_0x58bd2a([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]));_0x59b039[0x1]={..._0x59b039[0x1],[_0x58bd2a([0x72,0x65,0x71,0x75,0x65,0x73,0x74,0x49,0x64])]:_0x40ebea};},{[_0x58bd2a([0x70,0x72,0x69,0x6f,0x72,0x69,0x74,0x79])]:_0x58bd2a([0x68,0x69,0x67,0x68])}),_0x537721[_0x58bd2a([0x6f,0x6e])](_0x58bd2a([0x5f,0x73,0x65,0x6e,0x64,0x55,0x73,0x61,0x67,0x65,0x52,0x65,0x71,0x75,0x65,0x73,0x74]),_0x131ba1=>{_0x283021(_0x131ba1[_0x58bd2a([0x72,0x65,0x74,0x75,0x72,0x6e])])&&(_0x5460df=!0x0,_0x349895(_0x131ba1[_0x58bd2a([0x72,0x65,0x74,0x75,0x72,0x6e])]));},{[_0x58bd2a([0x70,0x72,0x69,0x6f,0x72,0x69,0x74,0x79])]:_0x58bd2a([0x6c,0x6f,0x77])}),_0x63bc64[_0x58bd2a([0x74,0x68,0x65,0x6e])](()=>{_0x5460df||_0xa92071(_0x58bd2a([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]));});});function _0x4511bd(){return _0x537721[_0x58bd2a([0x65,0x64,0x69,0x74,0x69,0x6e,0x67])][_0x58bd2a([0x76,0x69,0x65,0x77])][_0x58bd2a([0x5f,0x6f,0x76,0x65,0x72,0x6c,0x61,0x79,0x4d,0x6f,0x64,0x65,0x48,0x69,0x6e,0x74])]==_0x58bd2a([0x61,0x75,0x74,0x6f]);}function _0x4c5efc(){_0x537721[_0x58bd2a([0x65,0x64,0x69,0x74,0x69,0x6e,0x67])][_0x58bd2a([0x76,0x69,0x65,0x77])][_0x58bd2a([0x5f,0x6f,0x76,0x65,0x72,0x6c,0x61,0x79,0x4d,0x6f,0x64,0x65,0x48,0x69,0x6e,0x74])]=_0x58bd2a([0x61,0x75,0x74,0x6f]);}}function _0x27b224(_0x24cefc){const _0x52648b=[new window[(_0x58bd2a([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0xe513c7=>setTimeout(_0xe513c7,0x47abbbca^_0x287dfd)),_0x63bc64[_0x58bd2a([0x74,0x68,0x65,0x6e])](()=>new window[(_0x58bd2a([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0x460f28=>{let _0x167ee8=0x0;_0x537721[_0x58bd2a([0x6d,0x6f,0x64,0x65,0x6c])][_0x58bd2a([0x6f,0x6e])](_0x58bd2a([0x61,0x70,0x70,0x6c,0x79,0x4f,0x70,0x65,0x72,0x61,0x74,0x69,0x6f,0x6e]),(_0x1cb4ef,_0x1a98dd)=>{_0x1a98dd[0x0][_0x58bd2a([0x69,0x73,0x44,0x6f,0x63,0x75,0x6d,0x65,0x6e,0x74,0x4f,0x70,0x65,0x72,0x61,0x74,0x69,0x6f,0x6e])]&&_0x167ee8++,_0x167ee8==(0x47a284fe^_0x287dfd)&&(_0x460f28(),_0x1cb4ef[_0x58bd2a([0x6f,0x66,0x66])]());});}))];return window[_0x58bd2a([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65])][_0x58bd2a([0x72,0x61,0x63,0x65])](_0x52648b)[_0x58bd2a([0x74,0x68,0x65,0x6e])](()=>_0x24cefc);}async function _0x1f78d1(){await _0x63bc64,_0x537721[_0x58bd2a([0x6d,0x6f,0x64,0x65,0x6c])][_0x58bd2a([0x63,0x68,0x61,0x6e,0x67,0x65])]=_0x38d77d,_0x537721[_0x58bd2a([0x6d,0x6f,0x64,0x65,0x6c])][_0x58bd2a([0x65,0x6e,0x71,0x75,0x65,0x75,0x65,0x43,0x68,0x61,0x6e,0x67,0x65])]=_0x38d77d,_0x537721[_0x58bd2a([0x65,0x6e,0x61,0x62,0x6c,0x65,0x52,0x65,0x61,0x64,0x4f,0x6e,0x6c,0x79,0x4d,0x6f,0x64,0x65])](_0x58bd2a([0x6d,0x6f,0x64,0x65,0x6c]));}function _0x38c6ae(_0x3a3c11){const _0x17a232=_0x465049();_0x537721[_0x17a232]=_0x58bd2a([0x66,0x6f,0x6f,0x74,0x6e,0x6f,0x74,0x65,0x73,0x4c,0x69,0x63,0x65,0x6e,0x73,0x65,0x4b,0x65,0x79])+_0x3a3c11,_0x3a3c11!=_0x58bd2a([0x56,0x61,0x6c,0x69,0x64])&&_0x1f78d1();}function _0x465049(){const _0x2f97c0=window[_0x58bd2a([0x53,0x74,0x72,0x69,0x6e,0x67])](window[_0x58bd2a([0x70,0x65,0x72,0x66,0x6f,0x72,0x6d,0x61,0x6e,0x63,0x65])][_0x58bd2a([0x6e,0x6f,0x77])]())[_0x58bd2a([0x72,0x65,0x70,0x6c,0x61,0x63,0x65])](_0x58bd2a([0x2e]),'');let _0x59e413=_0x58bd2a([0x75]);for(let _0x395648=0x0;_0x395648<_0x2f97c0[_0x58bd2a([0x6c,0x65,0x6e,0x67,0x74,0x68])];_0x395648+=0x2){let _0x445f9f=window[_0x58bd2a([0x70,0x61,0x72,0x73,0x65,0x49,0x6e,0x74])](_0x2f97c0[_0x58bd2a([0x73,0x75,0x62,0x73,0x74,0x72,0x69,0x6e,0x67])](_0x395648,_0x395648+0x2));_0x445f9f>=_0x1fb3eb[_0x58bd2a([0x6c,0x65,0x6e,0x67,0x74,0x68])]&&(_0x445f9f-=_0x1fb3eb[_0x58bd2a([0x6c,0x65,0x6e,0x67,0x74,0x68])]),_0x59e413+=_0x1fb3eb[_0x445f9f];}return _0x59e413;}function _0x32be27(){const _0x516ca8=_0x4ae175[_0x58bd2a([0x73,0x70,0x6c,0x69,0x74])](_0x58bd2a([0x2e]));if(0x3!=_0x516ca8[_0x58bd2a([0x6c,0x65,0x6e,0x67,0x74,0x68])])return null;return _0x15ed50(_0x516ca8[0x1]);function _0x15ed50(_0x7f385){const _0x3cee8b=_0x3a5bb3(_0x7f385);return _0x3cee8b&&_0x41a12c()?_0x3cee8b:null;function _0x41a12c(){const _0x1355b5=_0x3cee8b[_0x58bd2a([0x6a,0x74,0x69])],_0x193408=window[_0x58bd2a([0x70,0x61,0x72,0x73,0x65,0x49,0x6e,0x74])](_0x1355b5[_0x58bd2a([0x73,0x75,0x62,0x73,0x74,0x72,0x69,0x6e,0x67])](_0x1355b5[_0x58bd2a([0x6c,0x65,0x6e,0x67,0x74,0x68])]-0x8),0x10),_0x37723c={..._0x3cee8b,[_0x58bd2a([0x6a,0x74,0x69])]:_0x1355b5[_0x58bd2a([0x73,0x75,0x62,0x73,0x74,0x72,0x69,0x6e,0x67])](0x0,_0x1355b5[_0x58bd2a([0x6c,0x65,0x6e,0x67,0x74,0x68])]-0x8)};return delete _0x37723c[_0x58bd2a([0x76,0x63])],_0x2882e3(_0x37723c)==_0x193408;}}}async function _0x3dd17a(){let _0x15de86=!0x0;try{const _0x2c5c98=_0x4ae175[_0x58bd2a([0x73,0x70,0x6c,0x69,0x74])](_0x58bd2a([0x2e])),[_0x4c812d,_0x59ee81,_0x241f68]=_0x2c5c98;return _0x4cda47(_0x4c812d),await _0x28614c(_0x4c812d,_0x59ee81,_0x241f68),_0x15de86;}catch{return!0x1;}function _0x4cda47(_0x2ff20c){const _0x246804=_0x3a5bb3(_0x2ff20c);_0x246804&&_0x246804[_0x58bd2a([0x61,0x6c,0x67])]==_0x58bd2a([0x45,0x53,0x32,0x35,0x36])||(_0x15de86=!0x1);}async function _0x28614c(_0x34affe,_0x173db6,_0x1fd238){const _0x26d257=window[_0x58bd2a([0x55,0x69,0x6e,0x74,0x38,0x41,0x72,0x72,0x61,0x79])][_0x58bd2a([0x66,0x72,0x6f,0x6d])](_0x55d6bf(_0x1fd238),_0x44f81e=>_0x44f81e[_0x58bd2a([0x63,0x68,0x61,0x72,0x43,0x6f,0x64,0x65,0x41,0x74])](0x0)),_0x3501ac=new window[(_0x58bd2a([0x54,0x65,0x78,0x74,0x45,0x6e,0x63,0x6f,0x64,0x65,0x72]))]()[_0x58bd2a([0x65,0x6e,0x63,0x6f,0x64,0x65])](_0x34affe+_0x58bd2a([0x2e])+_0x173db6),_0x23efd9=window[_0x58bd2a([0x63,0x72,0x79,0x70,0x74,0x6f])][_0x58bd2a([0x73,0x75,0x62,0x74,0x6c,0x65])];if(!_0x23efd9)return;const _0xdf4a94=await _0x23efd9[_0x58bd2a([0x69,0x6d,0x70,0x6f,0x72,0x74,0x4b,0x65,0x79])](_0x58bd2a([0x6a,0x77,0x6b]),_0x1878db,{[_0x58bd2a([0x6e,0x61,0x6d,0x65])]:_0x58bd2a([0x45,0x43,0x44,0x53,0x41]),[_0x58bd2a([0x6e,0x61,0x6d,0x65,0x64,0x43,0x75,0x72,0x76,0x65])]:_0x58bd2a([0x50,0x2d,0x32,0x35,0x36])},!0x1,[_0x58bd2a([0x76,0x65,0x72,0x69,0x66,0x79])]);await _0x23efd9[_0x58bd2a([0x76,0x65,0x72,0x69,0x66,0x79])]({[_0x58bd2a([0x6e,0x61,0x6d,0x65])]:_0x58bd2a([0x45,0x43,0x44,0x53,0x41]),[_0x58bd2a([0x68,0x61,0x73,0x68])]:{[_0x58bd2a([0x6e,0x61,0x6d,0x65])]:_0x58bd2a([0x53,0x48,0x41,0x2d,0x32,0x35,0x36])}},_0xdf4a94,_0x26d257,_0x3501ac)||(_0x15de86=!0x1);}}function _0x3a5bb3(_0x3852ad){return _0x3852ad[_0x58bd2a([0x73,0x74,0x61,0x72,0x74,0x73,0x57,0x69,0x74,0x68])](_0x58bd2a([0x65,0x79]))?JSON[_0x58bd2a([0x70,0x61,0x72,0x73,0x65])](_0x55d6bf(_0x3852ad)):null;}function _0x55d6bf(_0x4f074b){return window[_0x58bd2a([0x61,0x74,0x6f,0x62])](_0x4f074b[_0x58bd2a([0x72,0x65,0x70,0x6c,0x61,0x63,0x65])](/-/g,_0x58bd2a([0x2b]))[_0x58bd2a([0x72,0x65,0x70,0x6c,0x61,0x63,0x65])](/_/g,_0x58bd2a([0x2f])));}function _0x2882e3(_0xa92b35){let _0x187ecc=0x1505;function _0x331fef(_0x4d07fb){for(let _0x251cb6=0x0;_0x251cb6<_0x4d07fb[_0x58bd2a([0x6c,0x65,0x6e,0x67,0x74,0x68])];_0x251cb6++){const _0x115c27=_0x4d07fb[_0x58bd2a([0x63,0x68,0x61,0x72,0x43,0x6f,0x64,0x65,0x41,0x74])](_0x251cb6);_0x187ecc=(_0x187ecc<<0x5)+_0x187ecc+_0x115c27,_0x187ecc&=_0x187ecc;}}function _0x3e5ac4(_0x26c6ff){Array[_0x58bd2a([0x69,0x73,0x41,0x72,0x72,0x61,0x79])](_0x26c6ff)?_0x26c6ff[_0x58bd2a([0x66,0x6f,0x72,0x45,0x61,0x63,0x68])](_0x3e5ac4):_0x26c6ff&&typeof _0x26c6ff==_0x58bd2a([0x6f,0x62,0x6a,0x65,0x63,0x74])?Object[_0x58bd2a([0x65,0x6e,0x74,0x72,0x69,0x65,0x73])](_0x26c6ff)[_0x58bd2a([0x73,0x6f,0x72,0x74])]()[_0x58bd2a([0x66,0x6f,0x72,0x45,0x61,0x63,0x68])](([_0x5e8aee,_0x245622])=>{_0x331fef(_0x5e8aee),_0x3e5ac4(_0x245622);}):_0x331fef(window[_0x58bd2a([0x53,0x74,0x72,0x69,0x6e,0x67])](_0x26c6ff));}return _0x3e5ac4(_0xa92b35),_0x187ecc>>>0x0;}function _0x249f57(_0xdce856){return _0xdce856[_0x58bd2a([0x74,0x6f,0x53,0x74,0x72,0x69,0x6e,0x67])](0x10)[_0x58bd2a([0x70,0x61,0x64,0x53,0x74,0x61,0x72,0x74])](0x8,_0x58bd2a([0x30]));}function _0x882a50(_0x56050a){return _0x56050a[_0x58bd2a([0x73,0x70,0x6c,0x69,0x74])]('')[_0x58bd2a([0x72,0x65,0x76,0x65,0x72,0x73,0x65])]()[_0x58bd2a([0x6a,0x6f,0x69,0x6e])]('');}function _0x38d77d(){}function _0x58bd2a(_0x296c27){return _0x296c27['map'](_0x3ac0bd=>String['fromCharCode'](_0x3ac0bd))['join']('');}_0x38c6ae(await _0xe3fc72());}(this);}['_moveSelectionToFootnoteDefinition'](_0xd82b5f){const {plugins:_0x26596e,editing:_0x3880cb,model:_0x57f6ed}=this['editor'],_0x17a8cd=_0x26596e['get'](c)['getFootnote'](_0xd82b5f);return!!_0x17a8cd&&(_0x57f6ed['change'](_0x27205c=>{_0x27205c['setSelection'](_0x27205c['createPositionAt'](_0x17a8cd['definition'],'end'));}),_0x3880cb['view']['scrollToTheSelection'](),!0x0);}['_moveSelectionToFootnoteReference'](_0x1bd359){const {plugins:_0x56f6c7,editing:_0x5ee20e,model:_0xf2e796}=this['editor'],_0x467575=_0x56f6c7['get'](c)['getFootnote'](_0x1bd359);return!!_0x467575&&(_0xf2e796['change'](_0x2f61bf=>{_0x2f61bf['setSelection'](_0x467575['reference'],'on');}),_0x5ee20e['view']['scrollToTheSelection'](),!0x0);}['_defineSchema'](){const {schema:_0x3a0c3b}=this['editor']['model'],_0x33f38e=this['editor']['config']['get']('footnotes.multiBlock');_0x3a0c3b['register']('footnoteRef',{'inheritAllFrom':'$inlineObject','allowAttributes':['footnoteId','footnoteCounter']}),_0x3a0c3b['register']('footnotesDefinitions',{'inheritAllFrom':'$blockObject','allowChildren':['footnoteDefinition']}),_0x3a0c3b['register']('footnoteDefinition',{'allowAttributes':['footnoteId'],'disallowAttributes':['listItemId'],'isLimit':!0x0}),_0x33f38e?_0x3a0c3b['extend']('footnoteDefinition',{'allowContentOf':'$container'}):_0x3a0c3b['register']('footnoteInlineContent',{'allowIn':'footnoteDefinition','allowContentOf':'$block','isLimit':!0x0}),_0x3a0c3b['addChildCheck'](_0xa78d7b=>{for(const _0x4387e4 of _0xa78d7b)if('footnoteDefinition'===_0x4387e4['name'])return!0x1;},'footnoteRef');}['_defineRefsConverters'](){const {editor:_0x45c52c}=this,{conversion:_0x4cff93,editing:_0xc3d72c}=_0x45c52c,{t:t}=_0x45c52c['locale'];_0x4cff93['for']('upcast')['elementToElement']({'view':{'name':'sup','classes':'footnote'},'model':(_0x4cde19,{writer:_0x4dbf94,consumable:_0x4d8c42})=>{const _0x352b66=_0x4cde19['getChild'](0x0);if(!_0x352b66||!_0x352b66['is']('element','a'))return null;const _0x5b269d=_0x352b66['getAttribute']('href')||'';if(!_0x5b269d['startsWith']('#'))return null;const _0x46e924=_0x5b269d['replace'](/^#/,'');if(!_0x46e924)return null;_0x4d8c42['consume'](_0x352b66,{'name':!0x0,'attributes':['href']});for(const {item:_0x402bad}of _0xc3d72c['view']['createRangeIn'](_0x352b66))_0x402bad['is']('$textProxy')?_0x4d8c42['consume'](_0x402bad['textNode'],{'name':!0x0}):_0x402bad['is']('element')&&_0x4d8c42['consume'](_0x402bad,{'name':!0x0});return _0x4dbf94['createElement']('footnoteRef',{'footnoteId':_0x46e924});}}),_0x4cff93['for']('dataDowncast')['elementToElement']({'model':{'name':'footnoteRef','attributes':['footnoteId','footnoteCounter']},'view':(_0x1caf19,{writer:_0x214e8b})=>D(_0x1caf19,_0x214e8b)}),_0x4cff93['for']('editingDowncast')['elementToElement']({'model':{'name':'footnoteRef','attributes':['footnoteId','footnoteCounter']},'view':(_0x3a6f5c,{writer:_0x16fe13})=>{const _0x35e212=_0x3a6f5c['getAttribute']('footnoteCounter');return _0x4d13ef(D(_0x3a6f5c,_0x16fe13),_0x16fe13,{'label':t('Footnote\x20%0.\x20Press\x20ENTER\x20to\x20jump\x20to\x20footnote\x20definition.',_0x35e212)});}});}['_defineDefinitionsConverters'](){const {editor:_0x5abbf2}=this,{t:t}=_0x5abbf2['locale'],{conversion:_0x3bbee7}=_0x5abbf2;_0x3bbee7['for']('upcast')['elementToElement']({'view':{'name':'div','classes':'footnotes'},'model':'footnotesDefinitions'}),_0x3bbee7['for']('upcast')['add'](_0x34976d=>{_0x34976d['on']('element:ol',(_0x37c532,_0x39bbc0,_0x5eff31)=>{const _0x294bca=_0x39bbc0['viewItem'];if(!_0x294bca['hasClass']('footnotes-list')||!_0x39bbc0['modelCursor']['parent']?.['is']('element','footnotesDefinitions'))return;if(!_0x5eff31['consumable']['consume'](_0x294bca,{'name':!0x0,'classes':'footnotes-list'}))return;const {modelRange:_0x183bfb,modelCursor:_0x3153c5}=_0x5eff31['convertChildren'](_0x39bbc0['viewItem'],_0x39bbc0['modelCursor']);_0x39bbc0['modelRange']=_0x183bfb,_0x39bbc0['modelCursor']=_0x3153c5;}),_0x34976d['on']('element:hr',(_0x172ee7,_0x12a20b,_0x46c06c)=>{const _0x61a517=_0x12a20b['viewItem'];_0x61a517['hasClass']('footnotes-divider')&&_0x12a20b['modelCursor']['parent']?.['is']('element','footnotesDefinitions')&&_0x46c06c['consumable']['consume'](_0x61a517,{'name':!0x0,'classes':'footnotes-divider'});});}),_0x3bbee7['for']('dataDowncast')['elementToStructure']({'model':'footnotesDefinitions','view':(_0x1db04b,{writer:_0x32c576})=>v(_0x32c576)}),_0x3bbee7['for']('editingDowncast')['elementToStructure']({'model':'footnotesDefinitions','view':(_0x19aa24,{writer:_0x26eb4f})=>{const _0x52ab51=v(_0x26eb4f,{'data-footnotes-list-label':t('Footnotes')}),_0x2242f5=_0x4d13ef(_0x52ab51,_0x26eb4f,{'hasSelectionHandle':!0x0,'label':t('Footnotes')});return _0x26eb4f['setCustomProperty']('footnotesDefinitions',!0x0,_0x2242f5),_0x2242f5;}});}['_defineDefinitionConverters'](){const {editor:_0x130a60}=this,{conversion:_0x5c295a,locale:_0x4291c9}=_0x130a60,_0x35d014=_0x130a60['config']['get']('footnotes.multiBlock');_0x5c295a['for']('upcast')['add'](_0x24f452=>{_0x24f452['on']('element:li',(_0x27fa3a,_0x282c45,_0x5e5157)=>{const _0x456d9f=_0x282c45['viewItem'];if(!_0x456d9f['hasClass']('footnote-definition')||!_0x456d9f['getAttribute']('id'))return;const _0x2953dd=_0x456d9f['parent'];if(!_0x2953dd['is']('element','ol')||!_0x2953dd['hasClass']('footnotes-list'))return;if(!_0x5e5157['consumable']['test'](_0x456d9f,{'name':!0x0,'attributes':'id','classes':'footnote-definition'}))return;const _0x14f06b=_0x5e5157['writer']['createElement']('footnoteDefinition',{'footnoteId':_0x456d9f['getAttribute']('id')});if(!_0x5e5157['safeInsert'](_0x14f06b,_0x282c45['modelCursor']))return;_0x5e5157['consumable']['consume'](_0x456d9f,{'name':!0x0,'attributes':'id','classes':'footnote-definition'});const _0x5be196=Array['from'](_0x456d9f['getChildren']())['find'](_0x1e6b11=>_0x1e6b11['is']('element')&&_0x1e6b11['hasClass']('footnote-content'));for(const _0x38ddc1 of _0x456d9f['getChildren']())_0x38ddc1['is']('element')&&(_0x5e5157['consumable']['consume'](_0x38ddc1,{'name':!0x0,'classes':'footnote-backlink','attributes':'href'}),_0x5e5157['consumable']['consume'](_0x38ddc1,{'name':!0x0,'classes':'footnote-content'}));if(_0x5be196){if(_0x35d014)_0x5e5157['convertChildren'](_0x5be196,_0x14f06b);else{const _0xbbcabb=_0x5e5157['writer']['createElement']('footnoteInlineContent');_0x5e5157['writer']['insert'](_0xbbcabb,_0x14f06b),_0x5e5157['convertChildren'](_0x5be196,_0xbbcabb);}}_0x5e5157['updateConversionResult'](_0x14f06b,_0x282c45);});}),_0x5c295a['for']('dataDowncast')['elementToStructure']({'model':{'name':'footnoteDefinition','attributes':['footnoteId']},'view':(_0x554b0d,{writer:_0x6c8cb8})=>b(_0x554b0d,_0x6c8cb8,_0x4291c9,{'dataPipeline':!0x0})}),_0x5c295a['for']('editingDowncast')['elementToStructure']({'model':{'name':'footnoteDefinition','attributes':['footnoteId']},'view':(_0x20d7aa,{writer:_0x1cc660})=>b(_0x20d7aa,_0x1cc660,_0x4291c9)});}['_defineBogusParagraphConverters'](){const {editor:_0x46c536}=this,{conversion:_0x438afa}=_0x46c536;_0x46c536['config']['get']('footnotes.multiBlock')?(_0x438afa['for']('editingDowncast')['elementToElement']({'model':'paragraph','view':h(),'converterPriority':'high'}),_0x438afa['for']('dataDowncast')['elementToElement']({'model':'paragraph','view':h({'dataPipeline':!0x0}),'converterPriority':'high'}),this['listenTo'](_0x46c536['model']['document'],'change:data',()=>{!function(_0x9d172c,_0x32f407){const _0x20fdb1=_0x9d172c['document']['differ'],_0x27236d=new Set();for(const _0x36b2b9 of _0x20fdb1['getChanges']()){const _0x5935a6='attribute'==_0x36b2b9['type']?_0x36b2b9['range']['start']['parent']:_0x36b2b9['position']['parent'];_0x5935a6['is']('element','footnoteDefinition')&&_0x27236d['add'](_0x5935a6);}for(const _0x2eb365 of _0x27236d['values']()){const _0x4e731d=Array['from'](_0x2eb365['getChildren']())['filter'](_0x55810f=>g(_0x55810f,_0x32f407['mapper']));for(const _0x43ca67 of _0x4e731d)_0x32f407['reconvertItem'](_0x43ca67);}}(_0x46c536['model'],_0x46c536['editing']);})):(_0x438afa['for']('editingDowncast')['elementToElement']({'model':'footnoteInlineContent','view':h()}),_0x438afa['for']('dataDowncast')['elementToElement']({'model':'footnoteInlineContent','view':(_0x40abcd,{writer:_0x5a82d1})=>{const _0x559f63=_0x5a82d1['createContainerElement']('span');return _0x5a82d1['setCustomProperty']('dataPipeline:transparentRendering',!0x0,_0x559f63),_0x559f63;}}));}['_defineKeyboardHandlers'](){const {editor:_0x4d99f1}=this,{editing:_0x25c8c3,t:t}=_0x4d99f1,_0x551886=_0x4d99f1['model']['document']['selection'];_0x4d99f1['keystrokes']['set']('Ctrl+Alt+F','insertFootnote'),_0x4d99f1['accessibility']['addKeystrokeInfos']({'keystrokes':[{'label':t('Insert\x20footnote'),'keystroke':'Ctrl+Alt+F'}]}),this['listenTo'](_0x25c8c3['view']['document'],'enter',(_0x1a3d72,_0x57b3e9)=>{const _0x554c55=function(_0x206a94){const _0x16623f=_0x206a94['getSelectedElement']();if(_0x16623f?.['is']('element','footnoteRef'))return _0x16623f;return null;}(_0x551886);if(_0x554c55){const _0x23338a=_0x554c55['getAttribute']('footnoteId');this['_moveSelectionToFootnoteDefinition'](_0x23338a),_0x57b3e9['preventDefault'](),_0x1a3d72['stop']();}},{'context':_0x27cf13});}['_defineClickHandlers'](){const {editor:_0x303a0c}=this,{editing:_0x3e8757}=_0x303a0c;_0x303a0c['editing']['view']['addObserver'](_0x198880),_0x303a0c['editing']['view']['addObserver'](_0x2e6442);let _0x2a9d12=!0x1;this['listenTo'](_0x3e8757['view']['document'],'pointerdown',(_0x237a84,_0xb3f5a6)=>{const {target:_0x58fdb8}=_0xb3f5a6,_0x2ad1c1=_0x3e8757['view']['document']['selection'];_0x2a9d12=!!(_0x58fdb8?.['is']('element','a')&&_0x58fdb8['parent']?.['is']('element','sup')&&_0x58fdb8['parent']['hasClass']('footnote'))&&_0x2ad1c1['getSelectedElement']()===_0x58fdb8['parent'];},{'priority':'high'}),this['listenTo'](_0x3e8757['view']['document'],'click',(_0x523e50,_0x4efc3c)=>{const {target:_0x24f641}=_0x4efc3c;if(!_0x24f641?.['is']('element','a'))return;if(_0x24f641['parent']?.['is']('element','sup')&&_0x24f641['parent']['hasClass']('footnote')&&!_0x2a9d12)return void _0x4efc3c['preventDefault']();let _0x3a41e0=_0x24f641['getAttribute']('href');if(!_0x3a41e0?.['startsWith']('#'))return;_0x3a41e0=_0x3a41e0['slice'](0x1);let _0x2eaf69=!0x1;(_0x3a41e0['startsWith']('ref-')&&this['_moveSelectionToFootnoteReference'](_0x3a41e0['slice'](0x4))||this['_moveSelectionToFootnoteDefinition'](_0x3a41e0))&&(_0x2eaf69=!0x0),_0x2eaf69&&(_0x4efc3c['preventDefault'](),_0x523e50['stop']());},{'priority':'high','context':'$capture'});}}function h({dataPipeline:_0x3808f1}={}){return(_0x26f609,{writer:_0xed6d4a})=>{if(!p(_0x26f609))return null;if(!_0x3808f1)return _0xed6d4a['createContainerElement']('span',{'class':'ck-footnote-bogus-paragraph'});const _0x53d653=_0xed6d4a['createContainerElement']('p');return _0xed6d4a['setCustomProperty']('dataPipeline:transparentRendering',!0x0,_0x53d653),_0x53d653;};}function p(_0x52acec){const {parent:_0x5df8c1}=_0x52acec;if(!_0x5df8c1?.['is']('element','footnoteDefinition'))return!0x1;if(0x1!=_0x5df8c1['childCount'])return!0x1;for(const _0x22f08b of _0x52acec['getAttributeKeys']())if(!_0x22f08b['startsWith']('selection:')&&'htmlEmptyBlock'!=_0x22f08b)return!0x1;return!0x0;}function g(_0x4b3eda,_0x7a3589){if(!_0x4b3eda['is']('element','paragraph'))return!0x1;const _0x5c4349=_0x7a3589['toViewElement'](_0x4b3eda);return!!_0x5c4349&&p(_0x4b3eda)!==_0x5c4349['is']('element','span');}function J(_0xde09fd){return _0x27cf13(_0xde09fd)&&_0xde09fd['is']('containerElement')&&!!_0xde09fd['getCustomProperty']('footnotesDefinitions');}function v(_0x1ab5c8,_0x2bcb0d={}){const _0x5c4078=_0x1ab5c8['createEmptyElement']('hr',{'class':'footnotes-divider'}),_0x162053=_0x1ab5c8['createContainerElement']('ol',{'class':'footnotes-list'},_0x1ab5c8['createSlot']());return _0x1ab5c8['createContainerElement']('div',{'class':'footnotes',..._0x2bcb0d},[_0x5c4078,_0x162053]);}function D(_0x5cf145,_0x5cd26d){const _0x465f92=_0x5cf145['getAttribute']('footnoteId'),_0x58e7e5=_0x5cf145['getAttribute']('footnoteCounter'),_0x33ef8a=_0x5cd26d['createUIElement']('a',{'href':'#'+_0x465f92},function(_0x24fa2b){const _0xcf20d1=this['toDomElement'](_0x24fa2b);return _0xcf20d1['textContent']=_0x58e7e5,_0xcf20d1;}),_0x2c0b71=_0x5cd26d['createContainerElement']('sup',{'id':'ref-'+_0x465f92,'class':'footnote'},[_0x33ef8a]);return _0x2c0b71['getFillerOffset']=()=>null,_0x2c0b71;}function b(_0x45fe0a,_0x1732b2,_0x5b8117,{dataPipeline:_0x12558b}={}){const {t:t}=_0x5b8117,_0x7267c7=_0x45fe0a['getAttribute']('footnoteId'),_0x452c8d=_0x1732b2['createUIElement']('a',{'class':'footnote-backlink','href':'#ref-'+_0x7267c7},function(_0x4bc9df){const _0x595f06=this['toDomElement'](_0x4bc9df);return _0x595f06['innerText']='^',_0x595f06;}),_0x1008bb=_0x12558b?_0x1732b2['createContainerElement']('div',{'class':'footnote-content'}):_0x447437(_0x1732b2['createEditableElement']('div',{'class':'footnote-content'}),_0x1732b2,{'label':t('Footnote\x20content.')});return _0x1732b2['insert'](_0x1732b2['createPositionAt'](_0x1008bb,0x0),_0x1732b2['createSlot']()),_0x1732b2['createContainerElement']('li',{'class':'footnote-definition','id':_0x7267c7},[_0x452c8d,_0x1008bb]);}class e extends _0x1919f4{static get['pluginName'](){return'FootnotesClipboard';}static get['requires'](){return[r,_0x4cdf5b];}static get['isOfficialPlugin'](){return!0x0;}static get['isPremiumPlugin'](){return!0x0;}['init'](){this['_defineClipboardIntegration']();}['_defineClipboardIntegration'](){this['_handleCopyFootnotesDefinitions'](),this['_handlePasteFootnotesDefinitions']();}['_handleCopyFootnotesDefinitions'](){const {editor:_0x1f2ce3}=this,{plugins:_0x236e56,model:_0x29ab96}=_0x1f2ce3,_0x18b608=_0x236e56['get'](_0x4cdf5b),_0x105324=_0x236e56['get'](c);this['listenTo'](_0x18b608,'outputTransformation',(_0x5268ae,_0x5d9806)=>{const _0x21f26a=f(_0x29ab96['createRangeIn'](_0x5d9806['content']));if(!_0x21f26a['length'])return;const _0x21a766=_0x105324['getFootnotes'](),_0x1d8d8f=_0x21f26a['reduce']((_0x1fa7d6,_0x101adf)=>{const _0x57dfaa=_0x21a766['find'](_0x52bb20=>_0x52bb20['id']===_0x101adf);if(_0x57dfaa){const _0x152fdd=_0x1f2ce3['data']['toView'](_0x57dfaa['definition'],{'isClipboardPipeline':!0x0}),_0x45eaad=_0x1f2ce3['data']['htmlProcessor']['toData'](_0x152fdd);_0x1fa7d6[_0x57dfaa['id']]=_0x45eaad;}return _0x1fa7d6;},Object['create'](null));_0x5d9806['dataTransfer']['setData']('application/ckeditor5-footnotes',JSON['stringify'](_0x1d8d8f));});}['_handlePasteFootnotesDefinitions'](){const {editor:_0x4b2c1f}=this,{model:_0x54dfde,plugins:_0x3a9bed}=_0x4b2c1f,{view:_0x24a937}=_0x4b2c1f['editing'],_0x336aca=_0x3a9bed['get'](_0x4cdf5b),_0x4e22b0=_0x3a9bed['get'](c);let _0x1e29a0=null;this['listenTo'](_0x24a937['document'],'clipboardInput',(_0x286ef5,_0x19cbde)=>{const _0x71cd89=_0x19cbde['dataTransfer']['getData']('application/ckeditor5-footnotes');_0x1e29a0=_0x71cd89?JSON['parse'](_0x71cd89):null;}),this['listenTo'](_0x336aca,'contentInsertion',(_0x48781e,_0x1cfe5a)=>{const _0xb4eb5b=_0x1cfe5a['sourceEditorId']===this['editor']['id'];_0xb4eb5b&&'drop'===_0x1cfe5a['method']||_0x54dfde['change'](_0x47712b=>{let _0x2b591d=_0x4e22b0['getFootnotesDefinitionsObjectElement']();const _0x2a06d5=!!_0x2b591d&&Array['from'](_0x54dfde['document']['selection']['getSelectedBlocks']())['includes'](_0x2b591d);if((_0x2b591d&&!_0x2a06d5||!_0x2b591d&&!_0x1e29a0)&&function(_0x306054,_0x14be71){const _0x15773b=[];for(const {item:_0x4bcff3}of _0x306054['createRangeIn'](_0x14be71))_0x4bcff3['is']('element','footnotesDefinitions')&&_0x15773b['push'](_0x4bcff3);for(const _0x4315b8 of _0x15773b)_0x306054['remove'](_0x4315b8);}(_0x47712b,_0x1cfe5a['content']),!_0x1e29a0)return;const {selection:_0x3ea3f9}=_0x54dfde['document'],_0x77b906=_0x3ea3f9['getFirstRange']()['root'];_0x2b591d&&!_0x2a06d5||(_0x2b591d=function(_0x171c85,_0x3ca323){for(const {item:_0x4f75c4}of _0x171c85['createRangeIn'](_0x3ca323))if(_0x4f75c4['is']('element','footnotesDefinitions'))return _0x4f75c4;return null;}(_0x47712b,_0x1cfe5a['content']),_0x2b591d||=_0x4e22b0['_insertEmptyFootnotesDefinitionsContainer'](_0x47712b,_0x77b906));const _0x27829d=Array['from'](_0x3ea3f9['getRanges']())['flatMap'](f),_0x263298=function(_0x16ca74,_0x50f8a4,_0x2147a7){const _0x68f742=Object['create'](null);for(const {item:_0x8da3b3}of _0x16ca74['createRangeIn'](_0x50f8a4))if(_0x8da3b3['is']('element','footnoteRef')){const _0x339642=_0x8da3b3['getAttribute']('footnoteId');if(!_0x2147a7(_0x339642))continue;_0x68f742[_0x339642]||(_0x68f742[_0x339642]=_0x1c1d07()),_0x16ca74['setAttribute']('footnoteId',_0x68f742[_0x339642],_0x8da3b3);}return _0x68f742;}(_0x47712b,_0x1cfe5a['content'],_0x506669=>{if(!_0xb4eb5b)return!0x0;return!!_0x4e22b0['getFootnote'](_0x506669)&&!_0x27829d['includes'](_0x506669);});for(const [_0xed6d0,_0x3cc739]of Object['entries'](_0x1e29a0)){const _0x38313c=_0x263298[_0xed6d0]||_0xed6d0,_0x155a99=_0x47712b['createElement']('footnoteDefinition',{'footnoteId':_0x38313c}),_0x4821c6=_0x4b2c1f['data']['htmlProcessor']['toView'](_0x3cc739),_0x4f339a=_0x4b2c1f['data']['toModel'](_0x4821c6,_0x155a99);_0x47712b['append'](_0x4f339a,_0x155a99),_0x47712b['insert'](_0x155a99,_0x2b591d,'end');}_0x1e29a0=null;});});}}function f(_0x5b3c9e){const _0x185d83=new Set();for(const {item:_0x175c3d}of _0x5b3c9e)_0x175c3d['is']('element','footnoteRef')&&_0x185d83['add'](_0x175c3d['getAttribute']('footnoteId'));return Array['from'](_0x185d83);}class i extends _0x1919f4{['licenseKey'];['_licenseKeyCheckInterval'];static get['pluginName'](){return'FootnotesUI';}static get['isOfficialPlugin'](){return!0x0;}static get['isPremiumPlugin'](){return!0x0;}['init'](){const {editor:_0x4d8c59}=this,{componentFactory:_0x493794}=_0x4d8c59['ui'];_0x493794['add']('insertFootnote',x(_0x4d8c59,_0x1bdd11)),_0x493794['add']('menuBar:insertFootnote',x(_0x4d8c59,_0x4917d7)),this['licenseKey']=this['editor']['config']['get']('licenseKey');const _0x4396bb=this['editor'];this['_licenseKeyCheckInterval']=setInterval(()=>{let _0x5b8fd8;for(const _0x201736 in _0x4396bb){const _0x27ebd0=_0x201736,_0x3359de=_0x4396bb[_0x27ebd0];if('footnotesLicenseKeyValid'==_0x3359de||'footnotesLicenseKeyInvalid'==_0x3359de||'footnotesLicenseKeyExpired'==_0x3359de||'footnotesLicenseKeyDomainLimit'==_0x3359de||'footnotesLicenseKeyNotAllowed'==_0x3359de||'footnotesLicenseKeyEvaluationLimit'==_0x3359de||'footnotesLicenseKeyTrialLimit'==_0x3359de||'footnotesLicenseKeyUsageLimit'==_0x3359de){delete _0x4396bb[_0x27ebd0],_0x5b8fd8=_0x3359de,clearInterval(this['_licenseKeyCheckInterval']),this['_licenseKeyCheckInterval']=void 0x0;break;}}'footnotesLicenseKeyInvalid'==_0x5b8fd8&&_0x4396bb['_showLicenseError']('invalid'),'footnotesLicenseKeyExpired'==_0x5b8fd8&&_0x4396bb['_showLicenseError']('expired'),'footnotesLicenseKeyDomainLimit'==_0x5b8fd8&&_0x4396bb['_showLicenseError']('domainLimit'),'footnotesLicenseKeyNotAllowed'==_0x5b8fd8&&_0x4396bb['_showLicenseError']('featureNotAllowed','Footnotes'),'footnotesLicenseKeyEvaluationLimit'==_0x5b8fd8&&_0x4396bb['_showLicenseError']('evaluationLimit'),'footnotesLicenseKeyTrialLimit'==_0x5b8fd8&&_0x4396bb['_showLicenseError']('trialLimit'),'footnotesLicenseKeyUsageLimit'==_0x5b8fd8&&_0x4396bb['_showLicenseError']('usageLimit');},0x3e8);}['destroy'](){super['destroy'](),this['_licenseKeyCheckInterval']&&clearInterval(this['_licenseKeyCheckInterval']);}}function x(_0x26ad64,_0x3e3b7b){const _0x506bd3=_0x26ad64['commands']['get']('insertFootnote');return _0x5013a0=>{const {t:t}=_0x5013a0,_0x19ad27=new _0x3e3b7b(_0x5013a0),_0x3a2ac1=_0x19ad27 instanceof _0x4917d7;return _0x19ad27['bind']('isEnabled')['to'](_0x506bd3,'isEnabled'),_0x19ad27['set']({'label':t(_0x3a2ac1?'Footnote':'Insert\x20footnote'),'icon':_0x6d049f,'tooltip':!0x0}),_0x19ad27['on']('execute',()=>{_0x506bd3['execute'](),_0x26ad64['editing']['view']['focus']();}),_0x19ad27;};}class lt extends _0x1919f4{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 _0x248306{['refresh'](){const {editor:_0x416322}=this,_0xc21673=_0x416322['plugins']['get'](c)['getFootnotesDefinitionsObjectElement']();this['isEnabled']=!!_0xc21673,this['value']=_0xc21673?.['getAttribute']('footnotesListStyle')??null;}['execute']({value:_0x4fb13f}){const {editor:_0x29a379}=this,_0x4a196a=_0x29a379['plugins']['get'](c),_0x1a5d9f=_0x4a196a['getFootnotesDefinitionsObjectElement']();_0x1a5d9f&&Q['includes'](_0x4fb13f)&&_0x29a379['model']['change'](_0x336347=>{_0x336347['setAttribute']('footnotesListStyle',_0x4fb13f,_0x1a5d9f),_0x4a196a['_updateFootnotesCounters'](_0x336347);});}}class C extends _0x248306{['refresh'](){const {editor:_0x5c1b8e}=this,_0x4c6d36=_0x5c1b8e['plugins']['get'](c)['getFootnotesDefinitionsObjectElement']();this['isEnabled']=!!_0x4c6d36,this['value']=_0x4c6d36?.['getAttribute']('footnotesListStart')??null;}['execute']({value:_0x15070d}){const {editor:_0x1046bd}=this,_0x5bc0bf=_0x1046bd['plugins']['get'](c),_0x2c073a=_0x5bc0bf['getFootnotesDefinitionsObjectElement']();_0x2c073a&&Number['isInteger'](_0x15070d)&&_0x1046bd['model']['change'](_0x77465=>{_0x77465['setAttribute']('footnotesListStart',_0x15070d,_0x2c073a),_0x5bc0bf['_updateFootnotesCounters'](_0x77465);});}}class P extends _0x1919f4{static get['pluginName'](){return'FootnotesPropertiesEditing';}static get['requires'](){return[r,c];}static get['isOfficialPlugin'](){return!0x0;}static get['isPremiumPlugin'](){return!0x0;}['init'](){const {editor:_0xbc7439}=this;_0xbc7439['config']['define']('footnotes.footnotesProperties.defaultListStyle','decimal'),_0xbc7439['config']['define']('footnotes.footnotesProperties.defaultStartIndex',0x1),_0xbc7439['commands']['add']('footnotesStyle',new S(_0xbc7439)),_0xbc7439['commands']['add']('footnotesStart',new C(_0xbc7439)),this['_defineSchema'](),this['_defineConverters'](),this['_defineFormatter'](),this['_definePostfixer']();}['_defineSchema'](){const {editor:_0x39e99d}=this,{schema:_0x456461}=_0x39e99d['model'];_0x456461['extend']('footnotesDefinitions',{'allowAttributes':['footnotesListStyle','footnotesListStart']});}['_defineConverters'](){const {editor:_0x39c206}=this,{conversion:_0x1e4d60,model:_0x12b2a2}=_0x39c206,{schema:_0x23884b}=_0x12b2a2;_0x1e4d60['for']('upcast')['add'](_0x3cb3e3=>{_0x3cb3e3['on']('element:ol',(_0x3de619,_0x12c67a,_0x9951e)=>{const _0x1b58ed=_0x12c67a['viewItem'],_0x598d4b=_0x12c67a['modelCursor']?.['parent'];_0x1b58ed['hasClass']('footnotes-list')&&_0x598d4b?.['is']('element','footnotesDefinitions')&&(function(_0x5038c8,_0x8a4816,_0x17d2af,_0x4aea37){if(!_0x4aea37['checkAttribute'](_0x8a4816,'footnotesListStart'))return;let _0x4cfab2=0x1;const _0x1113d8=_0x17d2af['consumable']['consume'](_0x5038c8,{'attributes':'start'});if(_0x1113d8){const _0x20aa48=Number['parseInt'](_0x5038c8['getAttribute']('start'),0xa);Number['isNaN'](_0x20aa48)||(_0x4cfab2=_0x20aa48);}!_0x1113d8&&_0x8a4816['hasAttribute']('footnotesListStart')||_0x17d2af['writer']['setAttribute']('footnotesListStart',_0x4cfab2,_0x8a4816);}(_0x1b58ed,_0x598d4b,_0x9951e,_0x23884b),function(_0x3bebc3,_0x5f00ce,_0x175de8,_0x5b9369){if(!_0x5b9369['checkAttribute'](_0x5f00ce,'footnotesListStyle'))return;let _0x55cfde='decimal',_0x5cc9db=!0x1;if(_0x175de8['consumable']['consume'](_0x3bebc3,{'attributes':'type'})){const _0x3a40a2={0x1:'decimal','a':'lower-alpha','A':'upper-alpha','i':'lower-roman','I':'upper-roman'}[_0x3bebc3['getAttribute']('type')];_0x3a40a2&&(_0x55cfde=_0x3a40a2),_0x5cc9db=!0x0;}_0x175de8['consumable']['consume'](_0x3bebc3,{'styles':'list-style-type'})&&(_0x55cfde=_0x3bebc3['getStyle']('list-style-type'),_0x5cc9db=!0x0),!_0x5cc9db&&_0x5f00ce['hasAttribute']('footnotesListStyle')||_0x175de8['writer']['setAttribute']('footnotesListStyle',_0x55cfde,_0x5f00ce);}(_0x1b58ed,_0x598d4b,_0x9951e,_0x23884b));});}),_0x1e4d60['for']('downcast')['add'](_0x3c4b15=>{_0x3c4b15['on']('attribute:footnotesListStart:footnotesDefinitions',(_0x5fb006,_0x4ad41e,_0x213bb6)=>{if(!_0x213bb6['consumable']['consume'](_0x4ad41e['item'],_0x5fb006['name']))return;const _0x157ee2=M(_0x4ad41e['item'],_0x213bb6['mapper']),{attributeNewValue:_0x5f5be7}=_0x4ad41e;null==_0x5f5be7||0x1===_0x5f5be7?_0x213bb6['writer']['removeAttribute']('start',_0x157ee2):_0x213bb6['writer']['setAttribute']('start',String(_0x5f5be7),_0x157ee2);}),_0x3c4b15['on']('attribute:footnotesListStyle:footnotesDefinitions',(_0x58e470,_0x9d0eb8,_0x4d3f30)=>{if(!_0x4d3f30['consumable']['consume'](_0x9d0eb8['item'],_0x58e470['name']))return;const _0x55cfb5=M(_0x9d0eb8['item'],_0x4d3f30['mapper']),{attributeNewValue:_0x5a0fe9}=_0x9d0eb8;_0x5a0fe9&&'decimal'!==_0x5a0fe9?_0x4d3f30['writer']['setStyle']('list-style-type',_0x5a0fe9,_0x55cfb5):_0x4d3f30['writer']['removeStyle']('list-style-type',_0x55cfb5);});});}['_definePostfixer'](){const {editor:_0x1d6d2a}=this,{model:_0x25833e}=_0x1d6d2a,_0xe35081=_0x1d6d2a['plugins']['get'](c),_0xbc2d5d=this['_getDefaultListStyle'](),_0x59ff33=this['_getDefaultStartIndex']();_0x25833e['document']['registerPostFixer'](_0x5a4d7a=>{const _0x2db599=_0x25833e['document']['differ']['getChanges']();let _0x533378=!0x1;for(const _0x556ced of _0x2db599){if('insert'!==_0x556ced['type']||'$text'===_0x556ced['name'])continue;const _0x31d4fb=_0x25833e['createRangeOn'](_0x556ced['position']['nodeAfter']);for(const _0x2cccf0 of _0x31d4fb['getItems']())_0x2cccf0['is']('element','footnotesDefinitions')&&(!_0x2cccf0['hasAttribute']('footnotesListStart')&&_0x25833e['schema']['checkAttribute'](_0x2cccf0,'footnotesListStart')&&(_0x5a4d7a['setAttribute']('footnotesListStart',_0x59ff33,_0x2cccf0),_0x533378=!0x0),!_0x2cccf0['hasAttribute']('footnotesListStyle')&&_0x25833e['schema']['checkAttribute'](_0x2cccf0,'footnotesListStyle')&&(_0x5a4d7a['setAttribute']('footnotesListStyle',_0xbc2d5d,_0x2cccf0),_0x533378=!0x0));}return _0x533378&&_0xe35081['_updateFootnotesCounters'](_0x5a4d7a),_0x533378;});}['_defineFormatter'](){const {editor:_0x59c095}=this;_0x59c095['plugins']['get'](c)['setFootnoteFormatter'](_0x49b4c5=>this['_formatFootnoteListValue'](_0x49b4c5));}['_getDefaultListStyle'](){return this['editor']['config']['get']('footnotes.footnotesProperties.defaultListStyle');}['_getDefaultStartIndex'](){return this['editor']['config']['get']('footnotes.footnotesProperties.defaultStartIndex');}['_formatFootnoteListValue']({container:_0x480558,value:_0x247c4a,digits:_0x269b09}){const _0x44d121=_0x480558['getAttribute']('footnotesListStyle'),_0x4d89a3=_0x480558['getAttribute']('footnotesListStart'),_0x21d303=Math['floor'](_0x247c4a)+(_0x4d89a3??0x1)-0x1;switch(_0x44d121){case'decimal-leading-zero':return function(_0x130055,_0x3d60fa){return String(_0x130055)['padStart'](_0x3d60fa,'0');}(_0x21d303,Math['max'](0x2,_0x269b09));case'lower-alpha':case'lower-latin':return N(_0x21d303,!0x1);case'upper-alpha':case'upper-latin':return N(_0x21d303,!0x0);case'lower-roman':return X(_0x21d303,!0x1);case'upper-roman':return X(_0x21d303,!0x0);default:return String(_0x21d303);}}}function M(_0x4bdcdd,_0x3ec675){const _0x15bdd7=_0x3ec675['toViewElement'](_0x4bdcdd);return Array['from'](_0x15bdd7['getChildren']())['find'](_0x321380=>_0x321380['is']('element','ol')&&_0x321380['hasClass']('footnotes-list'));}function N(_0x159389,_0x4068d1){let _0x341692='',_0x1100ff=_0x159389;for(;_0x1100ff>0x0;){const _0x2c2625=(_0x1100ff-0x1)%0x1a;_0x341692=String['fromCharCode'](0x61+_0x2c2625)+_0x341692,_0x1100ff=Math['floor']((_0x1100ff-0x1)/0x1a);}return _0x4068d1?_0x341692['toUpperCase']():_0x341692;}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(_0x4848e7,_0x1071db){let _0x18cc7e='',_0x5065d2=_0x4848e7;for(const {value:_0x3d3115,numeral:_0x2578ad}of V)for(;_0x5065d2>=_0x3d3115;)_0x18cc7e+=_0x2578ad,_0x5065d2-=_0x3d3115;return _0x1071db?_0x18cc7e:_0x18cc7e['toLowerCase']();}class H extends _0x15512b{['children'];['stylesView']=null;['additionalProperties']=null;['startIndexFieldView']=null;['focusTracker']=new ot();['keystrokes']=new rt();['focusables']=new _0x467288();['focusCycler'];constructor(_0x5352c5,{styleButtonViews:_0x17bfb7,styleGridAriaLabel:_0x238e8a}){super(_0x5352c5),(this['focusCycler']=new _0x359ae5({'focusables':this['focusables'],'focusTracker':this['focusTracker'],'keystrokeHandler':this['keystrokes'],'actions':{'focusPrevious':'shift\x20+\x20tab','focusNext':'tab'}}),this['children']=this['createCollection'](),this['stylesView']=this['_appendStylesView'](_0x17bfb7,_0x238e8a),[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 _0x561136 of this['stylesView']['children'])this['stylesView']['focusTracker']['add'](_0x561136['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 _0x307174=_0xfdc2d3=>_0xfdc2d3['stopPropagation']();this['keystrokes']['set']('arrowright',_0x307174),this['keystrokes']['set']('arrowleft',_0x307174),this['keystrokes']['set']('arrowup',_0x307174),this['keystrokes']['set']('arrowdown',_0x307174);}this['keystrokes']['listenTo'](this['element']);}['focus'](){this['focusCycler']['focusFirst']();}['focusLast'](){this['focusCycler']['focusLast']();}['destroy'](){super['destroy'](),this['focusTracker']['destroy'](),this['keystrokes']['destroy']();}['_appendStylesView'](_0xeb19db,_0xdbaec6){const _0x35ffce=new _0x15512b(this['locale']);return _0x35ffce['children']=_0x35ffce['createCollection'](),_0x35ffce['children']['addMany'](_0xeb19db),_0x35ffce['setTemplate']({'tag':'div','attributes':{'aria-label':_0xdbaec6,'class':['ck','ck-footnotes-definitions-styles-list']},'children':_0x35ffce['children']}),_0x35ffce['children']['delegate']('execute')['to'](this),_0x35ffce['focus']=function(){for(const _0x21e5b9 of this['children'])if(_0x21e5b9 instanceof _0x1bdd11&&_0x21e5b9['isOn'])return void _0x21e5b9['focus']();this['children']['first']['focus']();},_0x35ffce['focusTracker']=new ot(),_0x35ffce['keystrokes']=new rt(),_0x35ffce['render'](),_0x35ffce['keystrokes']['listenTo'](_0x35ffce['element']),this['children']['add'](_0x35ffce),_0x35ffce;}['_appendAdditionalPropertiesCollapsibleView'](){const {t:t}=this['locale'],_0x2b73c1=this['_createStartIndexPropertyView'](),_0x594d90=[_0x2b73c1],_0x1f9ef8=new st(this['locale'],_0x594d90);return _0x1f9ef8['set']({'label':t('Footnotes\x20properties'),'isCollapsed':!0x0}),_0x1f9ef8['buttonView']['bind']('isEnabled')['toMany'](_0x594d90,'isEnabled',(..._0x455fff)=>_0x455fff['some'](_0x348e58=>_0x348e58)),_0x1f9ef8['buttonView']['on']('change:isEnabled',(_0x37e2c4,_0x9e12c5,_0x204a5e)=>{_0x204a5e||(_0x1f9ef8['isCollapsed']=!0x0);}),this['children']['add'](_0x1f9ef8),[_0x2b73c1,_0x1f9ef8];}['_createStartIndexPropertyView'](){const {t:t}=this['locale'],_0x55a4b0=new it(this['locale'],et);return _0x55a4b0['set']({'label':t('Footnotes\x20start\x20at'),'class':'ck-footnotes-definitions-properties__start-index'}),_0x55a4b0['fieldView']['set']({'min':0x0,'max':Math['pow'](0x2,0x1e),'step':0x1,'value':0x1,'inputMode':'numeric'}),_0x55a4b0['fieldView']['on']('input',()=>{const _0x438c35=_0x55a4b0['fieldView']['element'],_0x4c6163=_0x438c35['valueAsNumber'];Number['isNaN'](_0x4c6163)?_0x55a4b0['errorText']=t('Invalid\x20footnotes\x20start\x20index\x20value.'):_0x438c35['checkValidity']()?this['fire']('footnotesListStart',{'startIndex':_0x4c6163}):_0x55a4b0['errorText']=t(_0x4c6163<0x0?'Footnotes\x20start\x20index\x20must\x20be\x20greater\x20than\x200.':'Footnotes\x20start\x20index\x20is\x20too\x20large.');}),_0x55a4b0;}}class j extends _0x1919f4{static get['pluginName'](){return'FootnotesPropertiesUI';}static get['requires'](){return[_0x34e669,_0x2eac65];}static get['isOfficialPlugin'](){return!0x0;}static get['isPremiumPlugin'](){return!0x0;}['init'](){const {editor:_0x4d0cec}=this,{componentFactory:_0xdc744}=_0x4d0cec['ui'];_0x4d0cec['config']['define']('footnotes.footnotesProperties.toolbar',['footnotesStyle']),_0xdc744['add']('footnotesStyle',function(_0x3eb24d){return _0x1f7bfd=>{const {t:t}=_0x1f7bfd,_0x6ceb3a=_0x3eb24d['commands']['get']('footnotesStyle'),_0x5ad772=_0x317838(_0x1f7bfd),{buttonView:_0x592c2c}=_0x5ad772;return _0x5ad772['class']='ck-footnotes-styles-dropdown',_0x5ad772['bind']('isEnabled')['to'](_0x6ceb3a,'isEnabled'),_0x592c2c['set']({'label':t('Footnotes\x20style'),'icon':_0x6d049f,'tooltip':!0x0}),_0x5ad772['once']('change:isOpen',()=>{const _0x336f34=function({editor:_0x5af4d3,dropdownView:_0x341e06}){const {t:t}=_0x5af4d3['locale'],_0x31754b=t('Footnotes\x20definitions\x20styles'),_0x316f1a=function(_0x3b4442){const t=_0x3b4442['locale']['t'],_0x1b80a6=[{'label':t('Toggle\x20the\x20decimal\x20footnotes\x20style'),'tooltip':t('Decimal\x20footnotes'),'style':'decimal','icon':_0xcb070},{'label':t('Toggle\x20the\x20decimal\x20with\x20leading\x20zero\x20footnotes\x20style'),'tooltip':t('Decimal\x20footnotes\x20with\x20leading\x20zero'),'style':'decimal-leading-zero','icon':_0x3f7fbf},{'label':t('Toggle\x20the\x20lower–roman\x20footnotes\x20style'),'tooltip':t('Lower–roman\x20footnotes'),'style':'lower-roman','icon':_0x31cd3e},{'label':t('Toggle\x20the\x20upper–roman\x20footnotes\x20style'),'tooltip':t('Upper-roman\x20footnotes'),'style':'upper-roman','icon':_0x4c934a},{'label':t('Toggle\x20the\x20lower–latin\x20footnotes\x20style'),'tooltip':t('Lower-latin\x20footnotes'),'style':'lower-latin','icon':_0x4b3954},{'label':t('Toggle\x20the\x20upper–latin\x20footnotes\x20style'),'tooltip':t('Upper-latin\x20footnotes'),'style':'upper-latin','icon':_0x3c88b8}];return _0x1b80a6['map'](function(_0x38758f){const _0x3925d9=_0x38758f['locale'];return({label:_0xd9ed0c,icon:_0x394fdc,tooltip:_0x30c06a,style:_0xcf199f})=>{const _0x3059fa=_0x38758f['commands']['get']('footnotesStyle'),_0x5ba994=new _0x1bdd11(_0x3925d9);return _0x5ba994['set']({'label':_0xd9ed0c,'icon':_0x394fdc,'tooltip':_0x30c06a}),_0x5ba994['bind']('isOn')['to'](_0x3059fa,'value',_0x49c763=>_0x49c763===_0xcf199f),_0x5ba994['bind']('isEnabled')['to'](_0x3059fa,'isEnabled'),_0x5ba994['on']('execute',()=>{_0x38758f['execute']('footnotesStyle',{'value':_0xcf199f}),_0x38758f['editing']['view']['focus']();}),_0x5ba994;};}(_0x3b4442));}(_0x5af4d3),_0x265dbd=new H(_0x5af4d3['locale'],{'styleGridAriaLabel':_0x31754b,'styleButtonViews':_0x316f1a});return _0x265dbd['delegate']('execute')['to'](_0x341e06),_0x265dbd['on']('footnotesListStart',(_0x48b3d1,_0x160994)=>{_0x5af4d3['execute']('footnotesStart',{'value':_0x160994['startIndex']});}),_0x265dbd;}({'editor':_0x3eb24d,'dropdownView':_0x5ad772});_0x5ad772['panelView']['children']['add'](_0x336f34);}),_0x5ad772;};}(_0x4d0cec));}['afterInit'](){const {editor:_0x2ec49f}=this,{t:t}=_0x2ec49f['locale'],_0x50d541=_0x2ec49f['plugins']['get'](_0x2eac65),{defaultPositions:_0x4daa6b}=_0x5bbf33;_0x50d541['register']('footnotesDefinitions',{'ariaLabel':t('Footnotes\x20definitions\x20toolbar'),'items':_0x2ec49f['config']['get']('footnotes.footnotesProperties.toolbar'),'balloonClassName':'ck-footnotes-style-balloon\x20ck-toolbar-container','getRelatedElement':_0x309950=>{let _0x1541ed=_0x309950['getFirstPosition']()?.['parent'];return _0x1541ed?.['is']('$text')&&(_0x1541ed=_0x1541ed['parent']),_0x1541ed?.['is']('element')?_0x1541ed['findAncestor'](J):null;},'positions':[_0x4daa6b['southArrowNorth'],_0x4daa6b['southArrowNorthMiddleWest'],_0x4daa6b['southArrowNorthMiddleEast'],_0x4daa6b['southArrowNorthWest'],_0x4daa6b['southArrowNorthEast'],_0x4daa6b['northArrowSouth'],_0x4daa6b['northArrowSouthMiddleWest'],_0x4daa6b['northArrowSouthMiddleEast'],_0x4daa6b['northArrowSouthWest'],_0x4daa6b['northArrowSouthEast'],_0x4daa6b['viewportStickyNorth']]});}}class ft extends _0x1919f4{static get['pluginName'](){return'FootnotesProperties';}static get['requires'](){return[P,j];}static get['isOfficialPlugin'](){return!0x0;}static get['isPremiumPlugin'](){return!0x0;}}export{lt as Footnotes,e as FootnotesClipboard,r as FootnotesEditing,ft as FootnotesProperties,P as FootnotesPropertiesEditing,j as FootnotesPropertiesUI,C as FootnotesStartCommand,S as FootnotesStyleCommand,c as FootnotesTracker,i as FootnotesUI,m as InsertFootnoteCommand};
|
|
23
|
+
import{Plugin as _0x3a69c0,Command as _0x3c9d68}from'@ckeditor/ckeditor5-core/dist/index.js';import{toWidget as _0x184d76,isWidget as _0x140092,toWidgetEditable as _0x4a6bd6,WidgetToolbarRepository as _0x7042da}from'@ckeditor/ckeditor5-widget/dist/index.js';import{uid as _0x12cb3d,logWarning as _0x3bd3aa,FocusTracker as ot,KeystrokeHandler as rt,global as nt}from'@ckeditor/ckeditor5-utils/dist/index.js';import{PointerObserver as _0x2b0401,ClickObserver as _0x3a16b0}from'@ckeditor/ckeditor5-engine/dist/index.js';import{ClipboardPipeline as _0x498c2d}from'@ckeditor/ckeditor5-clipboard/dist/index.js';import{MenuBarMenuListItemButtonView as _0x5d985f,ButtonView as _0x17cf26,View as _0x55642b,ViewCollection as _0x39f746,FocusCycler as _0xd5ec18,addKeyboardHandlingForGrid as tt,CollapsibleView as st,LabeledFieldView as it,createLabeledInputNumber as et,ContextualBalloon as _0x3ad32f,BalloonPanelView as _0x47d690,createDropdown as _0x1051bd}from'@ckeditor/ckeditor5-ui/dist/index.js';import{IconFootnote as _0x30e662,IconListStyleDecimal as _0x18a73e,IconListStyleDecimalLeadingZero as _0x230045,IconListStyleLowerRoman as _0xf0f772,IconListStyleUpperRoman as _0x5e3558,IconListStyleLowerLatin as _0x57a28e,IconListStyleUpperLatin as _0x821817}from'@ckeditor/ckeditor5-icons/dist/index.js';class F{['_model'];['_elementName'];['_getElementKey'];['_trackedElements']=new Map();constructor(_0x1ff9c3,_0x3a2f3d){this['_model']=_0x1ff9c3,this['_elementName']=_0x3a2f3d['elementName'],this['_getElementKey']=_0x3a2f3d['getElementKey'];}['reset'](){this['_trackedElements']['clear']();}['getChanges'](_0x3fcbda){const _0x1a0ca1=new Set(),_0x230554=new Map();for(const _0xa399fe of _0x3fcbda){if('insert'===_0xa399fe['type']&&'$text'!==_0xa399fe['name']&&_0xa399fe['position']['nodeAfter']){const _0x4183d3=this['_model']['createRangeOn'](_0xa399fe['position']['nodeAfter']);for(const _0x7dac5f of _0x4183d3['getItems']()){if(!_0x7dac5f['is']('element',this['_elementName']))continue;const _0xb71f4c=this['_getElementKey'](_0x7dac5f);_0x230554['has'](_0xb71f4c)||_0x230554['set'](_0xb71f4c,[]),_0x230554['get'](_0xb71f4c)['push'](_0x7dac5f);}}if('remove'===_0xa399fe['type']&&_0xa399fe['name']===this['_elementName']){const _0x49d7d8=this['_getElementKey']({'getAttribute':_0x3c5c0a=>_0xa399fe['attributes']['get'](_0x3c5c0a)});_0x1a0ca1['add'](_0x49d7d8);}}for(const [_0x37bc28,_0x29dfad]of this['_trackedElements'])'$graveyard'===_0x29dfad['root']['rootName']&&_0x1a0ca1['add'](_0x37bc28);for(const _0x844041 of _0x1a0ca1)this['_trackedElements']['delete'](_0x844041);for(const [_0xfc8e37,_0x22b525]of _0x230554)this['_trackedElements']['set'](_0xfc8e37,_0x22b525[_0x22b525['length']-0x1]);const _0x21e60e=new Set();for(const [_0x5958c5,_0x5144c9]of _0x230554)_0x1a0ca1['has'](_0x5958c5)&&(_0x21e60e['add'](_0x5144c9[0x0]),_0x5144c9['length']>0x1?_0x230554['set'](_0x5958c5,_0x5144c9['slice'](0x1)):_0x230554['delete'](_0x5958c5),_0x1a0ca1['delete'](_0x5958c5));return{'removed':Array['from'](_0x1a0ca1),'inserted':Array['from'](_0x230554['values']())['flat'](),'moved':Array['from'](_0x21e60e)};}}class c extends _0x3a69c0{['_footnotes']=[];['_footnotesDefinitions']=null;['_footnoteFormatter']=null;['_footnoteDefsContainerTracker'];['_footnoteRefsTracker'];['_footnoteDefsTracker'];static get['pluginName'](){return'FootnotesTracker';}static get['isOfficialPlugin'](){return!0x0;}static get['isPremiumPlugin'](){return!0x0;}constructor(_0x4a0b54){super(_0x4a0b54),this['_footnoteDefsContainerTracker']=new F(this['editor']['model'],{'elementName':'footnotesDefinitions','getElementKey':()=>'singleton'}),this['_footnoteRefsTracker']=new F(this['editor']['model'],{'elementName':'footnoteRef','getElementKey':_0x1b519a=>_0x1b519a['getAttribute']('footnoteId')}),this['_footnoteDefsTracker']=new F(this['editor']['model'],{'elementName':'footnoteDefinition','getElementKey':_0x295394=>_0x295394['getAttribute']('footnoteId')});}['init'](){const {editor:_0x4f13a6}=this,{model:_0x44f28d,data:_0x56dcc5}=_0x4f13a6;_0x44f28d['document']['registerPostFixer'](_0x362769=>{const _0x18fcac=_0x44f28d['document']['differ']['getChanges']();let _0x49be0b=!0x1;return this['_handleFootnotesDefinitionsObjectChanges'](_0x362769,_0x18fcac)&&(_0x49be0b=!0x0),this['_handleFootnoteDefinitionsChanges'](_0x362769,_0x18fcac)&&(_0x49be0b=!0x0),this['_handleFootnoteReferencesChanges'](_0x362769,_0x18fcac)&&(_0x49be0b=!0x0),this['_ensureFootnotesReferencesHaveProperOrder'](_0x362769)&&(_0x49be0b=!0x0),this['_handleFootnotesDefinitionsObjectSync'](_0x362769)&&(_0x49be0b=!0x0),this['_sortFootnoteDefinitions'](_0x362769)&&(_0x49be0b=!0x0),_0x49be0b;}),this['listenTo'](_0x44f28d['document'],'change:data',()=>{_0x44f28d['enqueueChange']({'isUndoable':!0x1},_0x8673b5=>{this['_ensureFootnotesDefinitionsContainerExists'](_0x8673b5);});},{'priority':'low'}),this['listenTo'](_0x56dcc5,'set',()=>{this['_footnotes']=[],this['_footnoteDefsContainerTracker']['reset'](),this['_footnoteRefsTracker']['reset'](),this['_footnoteDefsTracker']['reset']();},{'priority':'high'});}['getFootnotesDefinitionsObjectElement'](){return this['_footnotesDefinitions'];}['getFootnote'](_0xd1f0d){return this['_footnotes']['find'](_0x2ab7c9=>_0x2ab7c9['id']===_0xd1f0d)||null;}['getFootnotes'](){return Array['from'](this['_footnotes']);}['getFootnotesFormatter'](){return this['_footnoteFormatter'];}['setFootnoteFormatter'](_0x4abb3d){this['_footnoteFormatter']=_0x4abb3d;}['_updateFootnotesCounters'](_0x297a23,_0x30484c=0x0){let _0x35cd6e=!0x1;for(let _0xeaecd0=_0x30484c;_0xeaecd0<this['_footnotes']['length'];_0xeaecd0++)this['_updateFootnoteRefCounter'](_0x297a23,_0xeaecd0)&&(_0x35cd6e=!0x0);return _0x35cd6e;}['_insertEmptyFootnotesDefinitionsContainer'](_0x50f785,_0x26bc87){const _0x3b720f=_0x50f785['createElement']('footnotesDefinitions',{});return _0x50f785['append'](_0x3b720f,_0x26bc87),this['_footnotesDefinitions']=_0x3b720f,_0x3b720f;}['_ensureFootnotesDefinitionsContainerExists'](_0x29fd33){if(!this['_footnotes']['length']||this['_footnotesDefinitions'])return;const _0x258bc3=this['_footnotes'][0x0]['reference']['root'],_0x335e07=this['_insertEmptyFootnotesDefinitionsContainer'](_0x29fd33,_0x258bc3);for(const _0x400e8f of this['_footnotes'])_0x400e8f['definition']['parent']||_0x29fd33['insert'](_0x400e8f['definition'],_0x335e07,'end');this['_updateFootnotesCounters'](_0x29fd33);}['_handleFootnotesDefinitionsObjectChanges'](_0x52ac2a,_0x188396){let _0x4b91a9=!0x1;const {inserted:_0x99c81c,removed:_0x34f10f,moved:_0x1279ed}=this['_footnoteDefsContainerTracker']['getChanges'](_0x188396);if(_0x1279ed['length']&&(this['_footnotesDefinitions']=_0x1279ed[0x0]),_0x99c81c['length']){if(_0x99c81c['length']>0x1||this['_footnotesDefinitions']&&_0x99c81c['some'](_0x50da15=>_0x50da15!==this['_footnotesDefinitions'])){const _0x194f92=_0x52ac2a['createElement']('footnotesDefinitions',{}),_0x718abb=[];this['_footnotesDefinitions']&&_0x718abb['push'](this['_footnotesDefinitions']),_0x718abb['push'](..._0x99c81c),_0x52ac2a['insert'](_0x194f92,_0x718abb[0x0],'before');for(const _0x2d8367 of _0x718abb)_0x52ac2a['move'](_0x52ac2a['createRangeIn'](_0x2d8367),_0x52ac2a['createPositionAt'](_0x194f92,'end')),_0x52ac2a['remove'](_0x2d8367);this['_footnotesDefinitions']=_0x194f92,this['_updateFootnotesCounters'](_0x52ac2a),_0x4b91a9=!0x0;}else this['_footnotesDefinitions']=_0x99c81c[0x0];}if(_0x34f10f['length']&&'$graveyard'===this['_footnotesDefinitions']?.['root']['rootName']){for(const _0x42a0d7 of this['_footnotes'])_0x52ac2a['remove'](_0x42a0d7['reference']),_0x4b91a9=!0x0;this['_footnotes']=[],this['_footnotesDefinitions']=null;}return _0x4b91a9;}['_handleFootnoteDefinitionsChanges'](_0x156c3d,_0x24b66f){let _0x360a41=!0x1;const _0x47293c=this['editor']['config']['get']('footnotes.multiBlock'),{inserted:_0x5a60cf,moved:_0x3ff522}=this['_footnoteDefsTracker']['getChanges'](_0x24b66f);for(const _0x4e861f of[..._0x3ff522,..._0x5a60cf]){const _0x301e0f=_0x4e861f['getAttribute']('footnoteId'),_0x25a413=this['getFootnote'](_0x301e0f);_0x25a413&&(_0x25a413['definition']=_0x4e861f),_(_0x156c3d,_0x47293c,_0x4e861f)&&(_0x360a41=!0x0);}return _0x360a41;}['_handleFootnoteReferencesChanges'](_0x1c6e08,_0x1f1592){let _0x44fe38=!0x1;const {removed:_0x845735,inserted:_0x5b1351,moved:_0x49e2ef}=this['_footnoteRefsTracker']['getChanges'](_0x1f1592);for(const _0x5bbb3e of _0x845735)this['_handleRemoveFootnoteReferenceById'](_0x1c6e08,_0x5bbb3e)&&(_0x44fe38=!0x0);for(const _0x1a22fc of _0x5b1351)this['_handleInsertedFootnoteReference'](_0x1c6e08,_0x1a22fc)&&(_0x44fe38=!0x0);for(const _0x309495 of _0x49e2ef)this['_handleMovedFootnoteReference'](_0x1c6e08,_0x309495)&&(_0x44fe38=!0x0);return _0x44fe38;}['_handleFootnotesDefinitionsObjectSync'](_0xfafb64){if(!this['_footnotesDefinitions'])return!0x1;let _0x31cd79=!0x1;if(this['_footnotesDefinitions']['childCount']!==this['_footnotes']['length']){const _0x1bc038=[];for(const _0x48fdeb of this['_footnotesDefinitions']['getChildren']()){const _0x476cb6=_0x48fdeb['getAttribute']('footnoteId');this['getFootnote'](_0x476cb6)||(_0x1bc038['unshift'](_0x48fdeb),_0x31cd79=!0x0);}for(const _0x2ab2e6 of _0x1bc038)_0xfafb64['remove'](_0x2ab2e6);}const _0x52ed65=new Set(),_0xeea8db=[];for(const _0x21f67e of this['_footnotesDefinitions']['getChildren']()){const _0x2b5f00=_0x21f67e['getAttribute']('footnoteId');_0x52ed65['has'](_0x2b5f00)?(_0xeea8db['unshift'](_0x21f67e),_0x31cd79=!0x0):_0x52ed65['add'](_0x2b5f00);}for(const _0x3de98d of _0xeea8db)_0xfafb64['remove'](_0x3de98d);return this['_footnotesDefinitions']['childCount']||(_0xfafb64['remove'](this['_footnotesDefinitions']),this['_footnotesDefinitions']=null,_0x31cd79=!0x0),_0x31cd79;}['_handleInsertedFootnoteReference'](_0x565f56,_0x325c4b){if(this['_footnotes']['find'](_0x89e536=>_0x89e536['reference']===_0x325c4b))return!0x1;let _0x5d85ea=!0x1;const _0x45519f=_0x325c4b['getAttribute']('footnoteId'),_0x18882d=this['_footnotes']['findIndex'](_0x313bc7=>_0x313bc7['id']===_0x45519f);-0x1!==_0x18882d&&(_0x565f56['remove'](this['_footnotes'][_0x18882d]['reference']),this['_footnotes']['splice'](_0x18882d,0x1),_0x5d85ea=!0x0);let _0x39ee0a=this['_footnotesDefinitions']?function(_0x4772db,_0x34a25e){for(const _0x510f79 of _0x4772db['getChildren']())if(_0x510f79['getAttribute']('footnoteId')===_0x34a25e)return _0x510f79;return null;}(this['_footnotesDefinitions'],_0x45519f):null;_0x39ee0a||(_0x39ee0a=_0x565f56['createElement']('footnoteDefinition',{'footnoteId':_0x45519f}),this['_footnotesDefinitions']&&(_0x565f56['insert'](_0x39ee0a,this['_footnotesDefinitions'],'end'),_0x5d85ea=!0x0));const _0x4b7b08={'id':_0x45519f,'reference':_0x325c4b,'definition':_0x39ee0a},_0x2cfe9a=I(this['editor']['model'],this['_footnotes'],_0x325c4b);this['_footnotes']['splice'](_0x2cfe9a,0x0,_0x4b7b08);let _0x40aea4=_0x2cfe9a;return-0x1!==_0x18882d&&(_0x40aea4=Math['min'](_0x2cfe9a,_0x18882d)),this['_updateFootnotesCounters'](_0x565f56,_0x40aea4)&&(_0x5d85ea=!0x0),_0x5d85ea;}['_handleRemoveFootnoteReferenceById'](_0x234470,_0x4afebc){const _0x315e30=this['_footnotes']['findIndex'](_0x12a856=>_0x12a856['id']===_0x4afebc);if(-0x1===_0x315e30)return!0x1;let _0x341c74=!0x1;const _0x5fd98a=this['_footnotes'][_0x315e30];return'$graveyard'!==_0x5fd98a['definition']['root']['rootName']&&(_0x234470['remove'](_0x5fd98a['definition']),_0x341c74=!0x0),this['_footnotes']['splice'](_0x315e30,0x1),this['_updateFootnotesCounters'](_0x234470,_0x315e30)&&(_0x341c74=!0x0),_0x341c74;}['_handleMovedFootnoteReference'](_0xd16dd1,_0x48d29f){const _0x21126d=_0x48d29f['getAttribute']('footnoteId'),_0x2e3ea7=this['_footnotes']['findIndex'](_0x5c7f1a=>_0x5c7f1a['id']===_0x21126d),_0xfa51ca=this['_footnotes'][_0x2e3ea7];let _0xa0ccef=!0x1;_0xfa51ca['reference']=_0x48d29f,this['_footnotes']['splice'](_0x2e3ea7,0x1);const _0xf481d5=I(this['editor']['model'],this['_footnotes'],_0x48d29f);return this['_footnotes']['splice'](_0xf481d5,0x0,_0xfa51ca),this['_updateFootnotesCounters'](_0xd16dd1,Math['min'](_0x2e3ea7,_0xf481d5))&&(_0xa0ccef=!0x0),_0xa0ccef;}['_updateFootnoteRefCounter'](_0x20fac3,_0x17cf95){if(!this['_footnotesDefinitions'])return!0x1;const _0x4720ac=this['_footnotes'][_0x17cf95];let _0x5a9fd7;return _0x5a9fd7=this['_footnoteFormatter']?this['_footnoteFormatter']({'footnote':_0x4720ac,'container':this['_footnotesDefinitions'],'digits':String(this['_footnotes']['length'])['length'],'value':_0x17cf95+0x1}):String(_0x17cf95+0x1),_0x4720ac['reference']['getAttribute']('footnoteCounter')!=_0x5a9fd7&&(_0x20fac3['setAttribute']('footnoteCounter',_0x5a9fd7,_0x4720ac['reference']),!0x0);}['_sortFootnoteDefinitions'](_0x2c6f8b){if(!this['_footnotesDefinitions']||this['_footnotes']['length']<0x2)return!0x1;if(function(_0x27bcbc,_0x1a5eb9){if(_0x27bcbc['length']!==_0x1a5eb9['length'])return!0x1;for(let _0x2a1585=0x0;_0x2a1585<_0x27bcbc['length'];_0x2a1585++)if(_0x27bcbc[_0x2a1585]!==_0x1a5eb9[_0x2a1585])return!0x1;return!0x0;}(this['_footnotes']['map'](_0x4bce98=>_0x4bce98['id']),Array['from'](this['_footnotesDefinitions']['getChildren']())['map'](_0x2628f9=>_0x2628f9['getAttribute']('footnoteId'))))return!0x1;let _0x252c5d=!0x1;for(let _0x500ae4=0x0;_0x500ae4<this['_footnotes']['length'];_0x500ae4++){const _0xfa4901=this['_footnotes'][_0x500ae4],_0x1417e2=_0x2c6f8b['createPositionBefore'](_0xfa4901['definition']),_0x3b08e8=_0x2c6f8b['createPositionAt'](this['_footnotesDefinitions'],_0x500ae4);_0x1417e2['isEqual'](_0x3b08e8)||(_0x2c6f8b['move'](_0x2c6f8b['createRangeOn'](_0xfa4901['definition']),_0x3b08e8),_0x252c5d=!0x0);}return _0x252c5d;}['_ensureFootnotesReferencesHaveProperOrder'](_0x25213d){if(!this['_footnotes']['length'])return!0x1;const {model:_0x52dd22}=this['editor'];let _0x1a5610=!0x1;for(let _0x4d625f=0x0;_0x4d625f<this['_footnotes']['length']-0x1;_0x4d625f++){const _0x579880=this['_footnotes'][_0x4d625f],_0x572e19=this['_footnotes'][_0x4d625f+0x1],_0x27cf84=_0x52dd22['createPositionBefore'](_0x579880['reference']),_0x1e201f=_0x52dd22['createPositionBefore'](_0x572e19['reference']);'after'===_0x27cf84['compareWith'](_0x1e201f)&&(this['_handleMovedFootnoteReference'](_0x25213d,_0x579880['reference']),_0x4d625f=-0x1,_0x1a5610=!0x0);}return _0x1a5610;}}function _(_0x37849c,_0x5da968,_0x36cd8b){if(_0x36cd8b['childCount'])return!0x1;const _0x2d2ebe=_0x5da968?'paragraph':'footnoteInlineContent';return _0x37849c['insert'](_0x37849c['createElement'](_0x2d2ebe),_0x36cd8b),!0x0;}function I(_0x178611,_0x4400b8,_0x9232b6){if(0x0===_0x4400b8['length'])return 0x0;const _0x7c01b5=_0x178611['createPositionBefore'](_0x9232b6);for(let _0x32e334=0x0;_0x32e334<_0x4400b8['length'];_0x32e334++){const _0x3ff0f3=_0x4400b8[_0x32e334],_0x515b0a=_0x178611['createPositionBefore'](_0x3ff0f3['reference']);if('before'===_0x7c01b5['compareWith'](_0x515b0a))return _0x32e334;}const _0x418fc2=_0x9232b6['root'];let _0x25d0fe=-0x1;for(let _0x3ec4ef=_0x4400b8['length']-0x1;_0x3ec4ef>=0x0;_0x3ec4ef--)if(_0x4400b8[_0x3ec4ef]['reference']['root']===_0x418fc2){_0x25d0fe=_0x3ec4ef;break;}if(-0x1!==_0x25d0fe)return _0x25d0fe+0x1;const _0x39cde4=_0x178611['document']['getRootNames'](),_0x11c1f4=_0x39cde4['indexOf'](_0x418fc2['rootName']),_0x4638ba=_0x39cde4[_0x11c1f4+0x1];if(_0x4638ba){for(let _0x362994=0x0;_0x362994<_0x4400b8['length'];_0x362994++)if(_0x4400b8[_0x362994]['reference']['root']['rootName']===_0x4638ba)return _0x362994;}return _0x4400b8['length'];}class m extends _0x3c9d68{['refresh'](){const _0x57f7d4=this['editor']['model']['document']['selection'],_0x6c497c=this['_getPositionToInsertFootnote'](_0x57f7d4);this['isEnabled']=!!_0x6c497c;}['execute'](_0x271b4b){const {editor:_0x54a3c6}=this,{model:_0x6af2cc}=_0x54a3c6,{selection:_0x422357}=_0x6af2cc['document'],_0x46e66c=this['_getPositionToInsertFootnote'](_0x422357);if(!_0x46e66c)return;const _0x4a6020=_0x54a3c6['plugins']['get']('FootnotesEditing'),_0x4bcf02=_0x271b4b?.['footnoteId']??_0x12cb3d();!function(_0x21bd82){return'string'==typeof _0x21bd82&&_0x21bd82['length']>0x0&&!/\s/['test'](_0x21bd82)&&!/^\d/['test'](_0x21bd82);}(_0x4bcf02)?_0x3bd3aa('insert-footnote-command-executed-with-invalid-id'):(_0x6af2cc['change'](_0x3a0502=>{const _0x10f176=_0x3a0502['createElement']('footnoteRef',{'footnoteId':_0x4bcf02});_0x6af2cc['insertObject'](_0x10f176,_0x46e66c,null);}),_0x4a6020['_moveSelectionToFootnoteDefinition'](_0x4bcf02));}['_getPositionToInsertFootnote'](_0x459bb5){const {model:_0x1b2de8}=this['editor'],{schema:_0x255fca}=_0x1b2de8,_0x35ae37=_0x459bb5['getFirstRange']();for(const _0x4cf06b of _0x35ae37['getItems']())if(_0x255fca['isBlock'](_0x4cf06b)||_0x255fca['isObject'](_0x4cf06b))return null;const _0x90f506=_0x35ae37['end'];return _0x255fca['checkChild'](_0x90f506,'footnoteRef')?_0x90f506:null;}}class r extends _0x3a69c0{static get['pluginName'](){return'FootnotesEditing';}static get['requires'](){return[c];}static get['isOfficialPlugin'](){return!0x0;}static get['isPremiumPlugin'](){return!0x0;}['init'](){const {editor:_0x1cd9b8}=this;_0x1cd9b8['config']['define']('footnotes.multiBlock',!0x0),_0x1cd9b8['commands']['add']('insertFootnote',new m(_0x1cd9b8)),this['_defineSchema'](),this['_defineRefsConverters'](),this['_defineDefinitionsConverters'](),this['_defineDefinitionConverters'](),this['_defineBogusParagraphConverters'](),this['_defineKeyboardHandlers'](),this['_defineClickHandlers']();}['afterInit'](){!async function(_0x3c9eb7){const _0x48d99f=_0x1c3251([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]),_0x411c55=0x47a28506,_0x18a15a=0x47a5fd9e^_0x411c55,_0x1d8753=window[_0x1c3251([0x44,0x61,0x74,0x65])][_0x1c3251([0x6e,0x6f,0x77])](),_0x5b1ce7=_0x3c9eb7[_0x1c3251([0x65,0x64,0x69,0x74,0x6f,0x72])],_0x5db068=new window[(_0x1c3251([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0x156345=>{_0x5b1ce7[_0x1c3251([0x6f,0x6e,0x63,0x65])](_0x1c3251([0x72,0x65,0x61,0x64,0x79]),_0x156345);}),_0xc543cd={[_0x1c3251([0x6b,0x74,0x79])]:_0x1c3251([0x45,0x43]),[_0x1c3251([0x75,0x73,0x65])]:_0x1c3251([0x73,0x69,0x67]),[_0x1c3251([0x63,0x72,0x76])]:_0x1c3251([0x50,0x2d,0x32,0x35,0x36]),[_0x1c3251([0x78])]:_0x1c3251([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]),[_0x1c3251([0x79])]:_0x1c3251([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]),[_0x1c3251([0x61,0x6c,0x67])]:_0x1c3251([0x45,0x53,0x32,0x35,0x36])},_0x27d056=_0x5b1ce7[_0x1c3251([0x63,0x6f,0x6e,0x66,0x69,0x67])][_0x1c3251([0x67,0x65,0x74])](_0x1c3251([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x4b,0x65,0x79]));async function _0x3f7d00(){let _0x4558ca,_0x3440b=null,_0x5dfbb4=null;try{if(_0x27d056==_0x1c3251([0x47,0x50,0x4c]))return _0x1c3251([0x4e,0x6f,0x74,0x41,0x6c,0x6c,0x6f,0x77,0x65,0x64]);if(_0x4558ca=_0x480692(),!_0x4558ca)return _0x1c3251([0x49,0x6e,0x76,0x61,0x6c,0x69,0x64]);return _0x4558ca[_0x1c3251([0x75,0x73,0x61,0x67,0x65,0x45,0x6e,0x64,0x70,0x6f,0x69,0x6e,0x74])]&&(_0x5dfbb4=_0x184afc(_0x4558ca[_0x1c3251([0x75,0x73,0x61,0x67,0x65,0x45,0x6e,0x64,0x70,0x6f,0x69,0x6e,0x74])],_0x4558ca[_0x1c3251([0x6a,0x74,0x69])])),await _0x239233()?_0x1f51d4()?_0x124271()?_0x1c3251([0x45,0x78,0x70,0x69,0x72,0x65,0x64]):_0x35e1f8()?(_0x4558ca[_0x1c3251([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x54,0x79,0x70,0x65])]==_0x1c3251([0x65,0x76,0x61,0x6c,0x75,0x61,0x74,0x69,0x6f,0x6e])&&(_0x3440b=_0x2c1f39(_0x1c3251([0x45,0x76,0x61,0x6c,0x75,0x61,0x74,0x69,0x6f,0x6e,0x4c,0x69,0x6d,0x69,0x74]))),_0x4558ca[_0x1c3251([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x54,0x79,0x70,0x65])]==_0x1c3251([0x74,0x72,0x69,0x61,0x6c])&&(_0x3440b=_0x2c1f39(_0x1c3251([0x54,0x72,0x69,0x61,0x6c,0x4c,0x69,0x6d,0x69,0x74]))),await _0x2fb9e5()):_0x1c3251([0x44,0x6f,0x6d,0x61,0x69,0x6e,0x4c,0x69,0x6d,0x69,0x74]):_0x1c3251([0x4e,0x6f,0x74,0x41,0x6c,0x6c,0x6f,0x77,0x65,0x64]):_0x1c3251([0x49,0x6e,0x76,0x61,0x6c,0x69,0x64]);}catch{return _0x1c3251([0x49,0x6e,0x76,0x61,0x6c,0x69,0x64]);}function _0x124271(){const _0x106c87=[_0x1c3251([0x65,0x76,0x61,0x6c,0x75,0x61,0x74,0x69,0x6f,0x6e]),_0x1c3251([0x74,0x72,0x69,0x61,0x6c])][_0x1c3251([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x4558ca[_0x1c3251([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x54,0x79,0x70,0x65])])?_0x1d8753/0x3e8:0xe10*_0x18a15a;return _0x4558ca[_0x1c3251([0x65,0x78,0x70])]<_0x106c87;}function _0x1f51d4(){const _0x4c20ca=_0x4558ca[_0x1c3251([0x66,0x65,0x61,0x74,0x75,0x72,0x65,0x73])];return!!_0x4c20ca&&(!!_0x4c20ca[_0x1c3251([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x1c3251([0x2a]))||!!_0x4c20ca[_0x1c3251([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x1c3251([0x46,0x4f,0x4f])));}function _0x35e1f8(){const _0x36ae93=_0x4558ca[_0x1c3251([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x64,0x48,0x6f,0x73,0x74,0x73])];if(!_0x36ae93||0x0==_0x36ae93[_0x1c3251([0x6c,0x65,0x6e,0x67,0x74,0x68])])return!0x0;const {hostname:_0x5eadb8}=new URL(window[_0x1c3251([0x6c,0x6f,0x63,0x61,0x74,0x69,0x6f,0x6e])]['href']);if(_0x36ae93[_0x1c3251([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x5eadb8))return!0x0;const _0x5a69b9=_0x5eadb8[_0x1c3251([0x73,0x70,0x6c,0x69,0x74])](_0x1c3251([0x2e]));return _0x36ae93[_0x1c3251([0x66,0x69,0x6c,0x74,0x65,0x72])](_0x22a8ed=>_0x22a8ed[_0x1c3251([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x1c3251([0x2a])))[_0x1c3251([0x6d,0x61,0x70])](_0x1dd18e=>_0x1dd18e[_0x1c3251([0x73,0x70,0x6c,0x69,0x74])](_0x1c3251([0x2e])))[_0x1c3251([0x66,0x69,0x6c,0x74,0x65,0x72])](_0x47fdbc=>_0x47fdbc[_0x1c3251([0x6c,0x65,0x6e,0x67,0x74,0x68])]<=_0x5a69b9[_0x1c3251([0x6c,0x65,0x6e,0x67,0x74,0x68])])[_0x1c3251([0x6d,0x61,0x70])](_0x3368b1=>Array(_0x5a69b9[_0x1c3251([0x6c,0x65,0x6e,0x67,0x74,0x68])]-_0x3368b1[_0x1c3251([0x6c,0x65,0x6e,0x67,0x74,0x68])])[_0x1c3251([0x66,0x69,0x6c,0x6c])](_0x3368b1[0x0]===_0x1c3251([0x2a])?_0x1c3251([0x2a]):'')[_0x1c3251([0x63,0x6f,0x6e,0x63,0x61,0x74])](_0x3368b1))[_0x1c3251([0x73,0x6f,0x6d,0x65])](_0x52797f=>_0x5a69b9[_0x1c3251([0x65,0x76,0x65,0x72,0x79])]((_0x4535e1,_0x330976)=>_0x52797f[_0x330976]===_0x4535e1||_0x52797f[_0x330976]===_0x1c3251([0x2a])));}function _0x2fb9e5(){return _0x3440b&&_0x5dfbb4?new window[(_0x1c3251([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))]((_0x1c1adf,_0x5bc5a6)=>{_0x3440b[_0x1c3251([0x74,0x68,0x65,0x6e])](_0x1c1adf,_0x5bc5a6),_0x5dfbb4[_0x1c3251([0x74,0x68,0x65,0x6e])](_0x553056=>{_0x553056!=_0x1c3251([0x56,0x61,0x6c,0x69,0x64])&&_0x1c1adf(_0x553056);},_0x5bc5a6);}):_0x3440b||_0x5dfbb4||_0x1c3251([0x56,0x61,0x6c,0x69,0x64]);}}function _0x184afc(_0x24f0c8,_0x6071d){return new window[(_0x1c3251([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0xab0566=>{if(_0x2cd4d6())return _0xab0566(_0x1c3251([0x56,0x61,0x6c,0x69,0x64]));_0x55cee7(),_0x5b1ce7[_0x1c3251([0x64,0x65,0x63,0x6f,0x72,0x61,0x74,0x65])](_0x1c3251([0x5f,0x73,0x65,0x6e,0x64,0x55,0x73,0x61,0x67,0x65,0x52,0x65,0x71,0x75,0x65,0x73,0x74]));let _0xc58614=!0x1;const _0x572e49=_0x12cb3d();function _0x11f0a9(_0x43cc7b){return!!_0x43cc7b&&(typeof _0x43cc7b===_0x1c3251([0x6f,0x62,0x6a,0x65,0x63,0x74])||typeof _0x43cc7b===_0x1c3251([0x66,0x75,0x6e,0x63,0x74,0x69,0x6f,0x6e]))&&typeof _0x43cc7b[_0x1c3251([0x74,0x68,0x65,0x6e])]===_0x1c3251([0x66,0x75,0x6e,0x63,0x74,0x69,0x6f,0x6e])&&typeof _0x43cc7b[_0x1c3251([0x63,0x61,0x74,0x63,0x68])]===_0x1c3251([0x66,0x75,0x6e,0x63,0x74,0x69,0x6f,0x6e]);}function _0x2d7116(_0x1406a0){_0x3ca191(_0x1406a0)[_0x1c3251([0x74,0x68,0x65,0x6e])](_0x443cc4=>{if(!_0x443cc4||_0x443cc4[_0x1c3251([0x73,0x74,0x61,0x74,0x75,0x73])]!=_0x1c3251([0x6f,0x6b]))return _0x1c3251([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]);return _0x46d82a(_0x34e2d6(_0x572e49+_0x6071d))!=_0x443cc4[_0x1c3251([0x76,0x65,0x72,0x69,0x66,0x69,0x63,0x61,0x74,0x69,0x6f,0x6e])]?_0x1c3251([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]):_0x1c3251([0x56,0x61,0x6c,0x69,0x64]);})[_0x1c3251([0x74,0x68,0x65,0x6e])](_0xd12be1=>(_0x3cde46(),_0xd12be1),()=>{const _0x460dc8=_0x10d740();return null==_0x460dc8?(_0x3cde46(),_0x1c3251([0x56,0x61,0x6c,0x69,0x64])):_0x1c3251(_0x1d8753-_0x460dc8>(0x63ae0106^_0x411c55)?[0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]:[0x56,0x61,0x6c,0x69,0x64]);})[_0x1c3251([0x74,0x68,0x65,0x6e])](_0xab0566)[_0x1c3251([0x63,0x61,0x74,0x63,0x68])](()=>{_0xab0566(_0x1c3251([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]));});const _0x33805b=0x47946b86^_0x411c55;function _0x3cde46(){const _0x51e443=_0x1c3251([0x6c,0x6c,0x63,0x74,0x2d])+_0x46d82a(_0x34e2d6(_0x24f0c8)),_0x30f710=_0x1d322e(_0x46d82a(window[_0x1c3251([0x4d,0x61,0x74,0x68])][_0x1c3251([0x63,0x65,0x69,0x6c])](_0x1d8753/_0x33805b)));window[_0x1c3251([0x6c,0x6f,0x63,0x61,0x6c,0x53,0x74,0x6f,0x72,0x61,0x67,0x65])][_0x1c3251([0x73,0x65,0x74,0x49,0x74,0x65,0x6d])](_0x51e443,_0x30f710);}function _0x10d740(){const _0x1d0e4c=_0x1c3251([0x6c,0x6c,0x63,0x74,0x2d])+_0x46d82a(_0x34e2d6(_0x24f0c8)),_0x54e568=window[_0x1c3251([0x6c,0x6f,0x63,0x61,0x6c,0x53,0x74,0x6f,0x72,0x61,0x67,0x65])][_0x1c3251([0x67,0x65,0x74,0x49,0x74,0x65,0x6d])](_0x1d0e4c);return _0x54e568?window[_0x1c3251([0x70,0x61,0x72,0x73,0x65,0x49,0x6e,0x74])](_0x1d322e(_0x54e568),0x10)*_0x33805b:null;}function _0x3ca191(_0x4a6139){return new window[(_0x1c3251([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))]((_0x3b9873,_0x3e3d7e)=>{_0x4a6139[_0x1c3251([0x74,0x68,0x65,0x6e])](_0x3b9873,_0x3e3d7e),window[_0x1c3251([0x73,0x65,0x74,0x54,0x69,0x6d,0x65,0x6f,0x75,0x74])](_0x3e3d7e,0x47a351c6^_0x411c55);});}}_0x5b1ce7[_0x1c3251([0x6f,0x6e])](_0x1c3251([0x5f,0x73,0x65,0x6e,0x64,0x55,0x73,0x61,0x67,0x65,0x52,0x65,0x71,0x75,0x65,0x73,0x74]),(_0x2f94bd,_0x1b80cc)=>{if(_0x1b80cc[0x0]!=_0x24f0c8)return _0xab0566(_0x1c3251([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]));_0x1b80cc[0x1]={..._0x1b80cc[0x1],[_0x1c3251([0x72,0x65,0x71,0x75,0x65,0x73,0x74,0x49,0x64])]:_0x572e49};},{[_0x1c3251([0x70,0x72,0x69,0x6f,0x72,0x69,0x74,0x79])]:_0x1c3251([0x68,0x69,0x67,0x68])}),_0x5b1ce7[_0x1c3251([0x6f,0x6e])](_0x1c3251([0x5f,0x73,0x65,0x6e,0x64,0x55,0x73,0x61,0x67,0x65,0x52,0x65,0x71,0x75,0x65,0x73,0x74]),_0xcb647e=>{_0x11f0a9(_0xcb647e[_0x1c3251([0x72,0x65,0x74,0x75,0x72,0x6e])])&&(_0xc58614=!0x0,_0x2d7116(_0xcb647e[_0x1c3251([0x72,0x65,0x74,0x75,0x72,0x6e])]));},{[_0x1c3251([0x70,0x72,0x69,0x6f,0x72,0x69,0x74,0x79])]:_0x1c3251([0x6c,0x6f,0x77])}),_0x5db068[_0x1c3251([0x74,0x68,0x65,0x6e])](()=>{_0xc58614||_0xab0566(_0x1c3251([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]));});});function _0x2cd4d6(){return _0x5b1ce7[_0x1c3251([0x65,0x64,0x69,0x74,0x69,0x6e,0x67])][_0x1c3251([0x76,0x69,0x65,0x77])][_0x1c3251([0x5f,0x6f,0x76,0x65,0x72,0x6c,0x61,0x79,0x4d,0x6f,0x64,0x65,0x48,0x69,0x6e,0x74])]==_0x1c3251([0x61,0x75,0x74,0x6f]);}function _0x55cee7(){_0x5b1ce7[_0x1c3251([0x65,0x64,0x69,0x74,0x69,0x6e,0x67])][_0x1c3251([0x76,0x69,0x65,0x77])][_0x1c3251([0x5f,0x6f,0x76,0x65,0x72,0x6c,0x61,0x79,0x4d,0x6f,0x64,0x65,0x48,0x69,0x6e,0x74])]=_0x1c3251([0x61,0x75,0x74,0x6f]);}}function _0x2c1f39(_0x232ad1){const _0x1aa8d0=[new window[(_0x1c3251([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0x1028e0=>setTimeout(_0x1028e0,0x47abbbca^_0x411c55)),_0x5db068[_0x1c3251([0x74,0x68,0x65,0x6e])](()=>new window[(_0x1c3251([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0x1d43dd=>{let _0x3a70fb=0x0;_0x5b1ce7[_0x1c3251([0x6d,0x6f,0x64,0x65,0x6c])][_0x1c3251([0x6f,0x6e])](_0x1c3251([0x61,0x70,0x70,0x6c,0x79,0x4f,0x70,0x65,0x72,0x61,0x74,0x69,0x6f,0x6e]),(_0x1e4150,_0x119803)=>{_0x119803[0x0][_0x1c3251([0x69,0x73,0x44,0x6f,0x63,0x75,0x6d,0x65,0x6e,0x74,0x4f,0x70,0x65,0x72,0x61,0x74,0x69,0x6f,0x6e])]&&_0x3a70fb++,_0x3a70fb==(0x47a284fe^_0x411c55)&&(_0x1d43dd(),_0x1e4150[_0x1c3251([0x6f,0x66,0x66])]());});}))];return window[_0x1c3251([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65])][_0x1c3251([0x72,0x61,0x63,0x65])](_0x1aa8d0)[_0x1c3251([0x74,0x68,0x65,0x6e])](()=>_0x232ad1);}async function _0x5eab1d(){await _0x5db068,_0x5b1ce7[_0x1c3251([0x6d,0x6f,0x64,0x65,0x6c])][_0x1c3251([0x63,0x68,0x61,0x6e,0x67,0x65])]=_0x2025b1,_0x5b1ce7[_0x1c3251([0x6d,0x6f,0x64,0x65,0x6c])][_0x1c3251([0x65,0x6e,0x71,0x75,0x65,0x75,0x65,0x43,0x68,0x61,0x6e,0x67,0x65])]=_0x2025b1,_0x5b1ce7[_0x1c3251([0x65,0x6e,0x61,0x62,0x6c,0x65,0x52,0x65,0x61,0x64,0x4f,0x6e,0x6c,0x79,0x4d,0x6f,0x64,0x65])](_0x1c3251([0x6d,0x6f,0x64,0x65,0x6c]));}function _0x4abbd2(_0x2807f3){const _0x1baf55=_0x135195();_0x5b1ce7[_0x1baf55]=_0x1c3251([0x66,0x6f,0x6f,0x74,0x6e,0x6f,0x74,0x65,0x73,0x4c,0x69,0x63,0x65,0x6e,0x73,0x65,0x4b,0x65,0x79])+_0x2807f3,_0x2807f3!=_0x1c3251([0x56,0x61,0x6c,0x69,0x64])&&_0x5eab1d();}function _0x135195(){const _0x20fbfb=window[_0x1c3251([0x53,0x74,0x72,0x69,0x6e,0x67])](window[_0x1c3251([0x70,0x65,0x72,0x66,0x6f,0x72,0x6d,0x61,0x6e,0x63,0x65])][_0x1c3251([0x6e,0x6f,0x77])]())[_0x1c3251([0x72,0x65,0x70,0x6c,0x61,0x63,0x65])](_0x1c3251([0x2e]),'');let _0xe72096=_0x1c3251([0x75]);for(let _0x24fce4=0x0;_0x24fce4<_0x20fbfb[_0x1c3251([0x6c,0x65,0x6e,0x67,0x74,0x68])];_0x24fce4+=0x2){let _0xa31bc8=window[_0x1c3251([0x70,0x61,0x72,0x73,0x65,0x49,0x6e,0x74])](_0x20fbfb[_0x1c3251([0x73,0x75,0x62,0x73,0x74,0x72,0x69,0x6e,0x67])](_0x24fce4,_0x24fce4+0x2));_0xa31bc8>=_0x48d99f[_0x1c3251([0x6c,0x65,0x6e,0x67,0x74,0x68])]&&(_0xa31bc8-=_0x48d99f[_0x1c3251([0x6c,0x65,0x6e,0x67,0x74,0x68])]),_0xe72096+=_0x48d99f[_0xa31bc8];}return _0xe72096;}function _0x480692(){const _0x307871=_0x27d056[_0x1c3251([0x73,0x70,0x6c,0x69,0x74])](_0x1c3251([0x2e]));if(0x3!=_0x307871[_0x1c3251([0x6c,0x65,0x6e,0x67,0x74,0x68])])return null;return _0x58b316(_0x307871[0x1]);function _0x58b316(_0x4160ec){const _0x39998d=_0x592687(_0x4160ec);return _0x39998d&&_0x2a2256()?_0x39998d:null;function _0x2a2256(){const _0x33396e=_0x39998d[_0x1c3251([0x6a,0x74,0x69])],_0x3b45a6=window[_0x1c3251([0x70,0x61,0x72,0x73,0x65,0x49,0x6e,0x74])](_0x33396e[_0x1c3251([0x73,0x75,0x62,0x73,0x74,0x72,0x69,0x6e,0x67])](_0x33396e[_0x1c3251([0x6c,0x65,0x6e,0x67,0x74,0x68])]-0x8),0x10),_0x4c6e7c={..._0x39998d,[_0x1c3251([0x6a,0x74,0x69])]:_0x33396e[_0x1c3251([0x73,0x75,0x62,0x73,0x74,0x72,0x69,0x6e,0x67])](0x0,_0x33396e[_0x1c3251([0x6c,0x65,0x6e,0x67,0x74,0x68])]-0x8)};return delete _0x4c6e7c[_0x1c3251([0x76,0x63])],_0x34e2d6(_0x4c6e7c)==_0x3b45a6;}}}async function _0x239233(){let _0x874607=!0x0;try{const _0x83172e=_0x27d056[_0x1c3251([0x73,0x70,0x6c,0x69,0x74])](_0x1c3251([0x2e])),[_0x4df428,_0x363b0f,_0x292b97]=_0x83172e;return _0x33deb1(_0x4df428),await _0x488141(_0x4df428,_0x363b0f,_0x292b97),_0x874607;}catch{return!0x1;}function _0x33deb1(_0x25a481){const _0x4f5a2d=_0x592687(_0x25a481);_0x4f5a2d&&_0x4f5a2d[_0x1c3251([0x61,0x6c,0x67])]==_0x1c3251([0x45,0x53,0x32,0x35,0x36])||(_0x874607=!0x1);}async function _0x488141(_0x2954e0,_0x1339b0,_0x190ceb){const _0x2243c0=window[_0x1c3251([0x55,0x69,0x6e,0x74,0x38,0x41,0x72,0x72,0x61,0x79])][_0x1c3251([0x66,0x72,0x6f,0x6d])](_0x18959c(_0x190ceb),_0x7144b6=>_0x7144b6[_0x1c3251([0x63,0x68,0x61,0x72,0x43,0x6f,0x64,0x65,0x41,0x74])](0x0)),_0xe3afc9=new window[(_0x1c3251([0x54,0x65,0x78,0x74,0x45,0x6e,0x63,0x6f,0x64,0x65,0x72]))]()[_0x1c3251([0x65,0x6e,0x63,0x6f,0x64,0x65])](_0x2954e0+_0x1c3251([0x2e])+_0x1339b0),_0x344a71=window[_0x1c3251([0x63,0x72,0x79,0x70,0x74,0x6f])][_0x1c3251([0x73,0x75,0x62,0x74,0x6c,0x65])];if(!_0x344a71)return;const _0xbbf568=await _0x344a71[_0x1c3251([0x69,0x6d,0x70,0x6f,0x72,0x74,0x4b,0x65,0x79])](_0x1c3251([0x6a,0x77,0x6b]),_0xc543cd,{[_0x1c3251([0x6e,0x61,0x6d,0x65])]:_0x1c3251([0x45,0x43,0x44,0x53,0x41]),[_0x1c3251([0x6e,0x61,0x6d,0x65,0x64,0x43,0x75,0x72,0x76,0x65])]:_0x1c3251([0x50,0x2d,0x32,0x35,0x36])},!0x1,[_0x1c3251([0x76,0x65,0x72,0x69,0x66,0x79])]);await _0x344a71[_0x1c3251([0x76,0x65,0x72,0x69,0x66,0x79])]({[_0x1c3251([0x6e,0x61,0x6d,0x65])]:_0x1c3251([0x45,0x43,0x44,0x53,0x41]),[_0x1c3251([0x68,0x61,0x73,0x68])]:{[_0x1c3251([0x6e,0x61,0x6d,0x65])]:_0x1c3251([0x53,0x48,0x41,0x2d,0x32,0x35,0x36])}},_0xbbf568,_0x2243c0,_0xe3afc9)||(_0x874607=!0x1);}}function _0x592687(_0x503752){return _0x503752[_0x1c3251([0x73,0x74,0x61,0x72,0x74,0x73,0x57,0x69,0x74,0x68])](_0x1c3251([0x65,0x79]))?JSON[_0x1c3251([0x70,0x61,0x72,0x73,0x65])](_0x18959c(_0x503752)):null;}function _0x18959c(_0x369db5){return window[_0x1c3251([0x61,0x74,0x6f,0x62])](_0x369db5[_0x1c3251([0x72,0x65,0x70,0x6c,0x61,0x63,0x65])](/-/g,_0x1c3251([0x2b]))[_0x1c3251([0x72,0x65,0x70,0x6c,0x61,0x63,0x65])](/_/g,_0x1c3251([0x2f])));}function _0x34e2d6(_0x9958e6){let _0x348e7a=0x1505;function _0x21524e(_0x258079){for(let _0x20e459=0x0;_0x20e459<_0x258079[_0x1c3251([0x6c,0x65,0x6e,0x67,0x74,0x68])];_0x20e459++){const _0x3e0864=_0x258079[_0x1c3251([0x63,0x68,0x61,0x72,0x43,0x6f,0x64,0x65,0x41,0x74])](_0x20e459);_0x348e7a=(_0x348e7a<<0x5)+_0x348e7a+_0x3e0864,_0x348e7a&=_0x348e7a;}}function _0x830fd6(_0xa3515a){Array[_0x1c3251([0x69,0x73,0x41,0x72,0x72,0x61,0x79])](_0xa3515a)?_0xa3515a[_0x1c3251([0x66,0x6f,0x72,0x45,0x61,0x63,0x68])](_0x830fd6):_0xa3515a&&typeof _0xa3515a==_0x1c3251([0x6f,0x62,0x6a,0x65,0x63,0x74])?Object[_0x1c3251([0x65,0x6e,0x74,0x72,0x69,0x65,0x73])](_0xa3515a)[_0x1c3251([0x73,0x6f,0x72,0x74])]()[_0x1c3251([0x66,0x6f,0x72,0x45,0x61,0x63,0x68])](([_0x1acfbe,_0x4a001b])=>{_0x21524e(_0x1acfbe),_0x830fd6(_0x4a001b);}):_0x21524e(window[_0x1c3251([0x53,0x74,0x72,0x69,0x6e,0x67])](_0xa3515a));}return _0x830fd6(_0x9958e6),_0x348e7a>>>0x0;}function _0x46d82a(_0x37b5fb){return _0x37b5fb[_0x1c3251([0x74,0x6f,0x53,0x74,0x72,0x69,0x6e,0x67])](0x10)[_0x1c3251([0x70,0x61,0x64,0x53,0x74,0x61,0x72,0x74])](0x8,_0x1c3251([0x30]));}function _0x1d322e(_0x78ca72){return _0x78ca72[_0x1c3251([0x73,0x70,0x6c,0x69,0x74])]('')[_0x1c3251([0x72,0x65,0x76,0x65,0x72,0x73,0x65])]()[_0x1c3251([0x6a,0x6f,0x69,0x6e])]('');}function _0x2025b1(){}function _0x1c3251(_0x526bc6){return _0x526bc6['map'](_0x24e23c=>String['fromCharCode'](_0x24e23c))['join']('');}_0x4abbd2(await _0x3f7d00());}(this);}['_moveSelectionToFootnoteDefinition'](_0x4b636e){const {plugins:_0x265670,editing:_0x1ccc08,model:_0x58ee16}=this['editor'],_0x3ab2a9=_0x265670['get'](c)['getFootnote'](_0x4b636e);return!!_0x3ab2a9&&(_0x58ee16['change'](_0x240e0c=>{_0x240e0c['setSelection'](_0x240e0c['createPositionAt'](_0x3ab2a9['definition'],'end'));}),_0x1ccc08['view']['scrollToTheSelection'](),!0x0);}['_moveSelectionToFootnoteReference'](_0x1ca2d7){const {plugins:_0xe85f5e,editing:_0x290e8e,model:_0x57991c}=this['editor'],_0x179f30=_0xe85f5e['get'](c)['getFootnote'](_0x1ca2d7);return!!_0x179f30&&(_0x57991c['change'](_0x66a393=>{_0x66a393['setSelection'](_0x179f30['reference'],'on');}),_0x290e8e['view']['scrollToTheSelection'](),!0x0);}['_defineSchema'](){const {schema:_0x3452c9}=this['editor']['model'],_0x145c65=this['editor']['config']['get']('footnotes.multiBlock');_0x3452c9['register']('footnoteRef',{'inheritAllFrom':'$inlineObject','allowAttributes':['footnoteId','footnoteCounter']}),_0x3452c9['register']('footnotesDefinitions',{'inheritAllFrom':'$blockObject','allowChildren':['footnoteDefinition']}),_0x3452c9['register']('footnoteDefinition',{'allowAttributes':['footnoteId'],'disallowAttributes':['listItemId'],'isLimit':!0x0}),_0x145c65?_0x3452c9['extend']('footnoteDefinition',{'allowContentOf':'$container'}):_0x3452c9['register']('footnoteInlineContent',{'allowIn':'footnoteDefinition','allowContentOf':'$block','isLimit':!0x0}),_0x3452c9['addChildCheck'](_0x152077=>{for(const _0x33cf0f of _0x152077)if('footnoteDefinition'===_0x33cf0f['name'])return!0x1;},'footnoteRef');}['_defineRefsConverters'](){const {editor:_0x4ee595}=this,{conversion:_0x2c055f,editing:_0x3f7c0a}=_0x4ee595,{t:t}=_0x4ee595['locale'];_0x2c055f['for']('upcast')['elementToElement']({'view':{'name':'sup','classes':'footnote'},'model':(_0x9a0fb7,{writer:_0x5ea4ff,consumable:_0x390453})=>{const _0x2ba448=_0x9a0fb7['getChild'](0x0);if(!_0x2ba448||!_0x2ba448['is']('element','a'))return null;const _0x265509=_0x2ba448['getAttribute']('href')||'';if(!_0x265509['startsWith']('#'))return null;const _0x2944b7=_0x265509['replace'](/^#/,'');if(!_0x2944b7)return null;_0x390453['consume'](_0x2ba448,{'name':!0x0,'attributes':['href']});for(const {item:_0x15abe4}of _0x3f7c0a['view']['createRangeIn'](_0x2ba448))_0x15abe4['is']('$textProxy')?_0x390453['consume'](_0x15abe4['textNode'],{'name':!0x0}):_0x15abe4['is']('element')&&_0x390453['consume'](_0x15abe4,{'name':!0x0});return _0x5ea4ff['createElement']('footnoteRef',{'footnoteId':_0x2944b7});}}),_0x2c055f['for']('dataDowncast')['elementToElement']({'model':{'name':'footnoteRef','attributes':['footnoteId','footnoteCounter']},'view':(_0x4e0e1e,{writer:_0x2c79be})=>D(_0x4e0e1e,_0x2c79be)}),_0x2c055f['for']('editingDowncast')['elementToElement']({'model':{'name':'footnoteRef','attributes':['footnoteId','footnoteCounter']},'view':(_0x355d13,{writer:_0x142f81})=>{const _0x5b30f=_0x355d13['getAttribute']('footnoteCounter');return _0x184d76(D(_0x355d13,_0x142f81),_0x142f81,{'label':t('Footnote\x20%0.\x20Press\x20ENTER\x20to\x20jump\x20to\x20footnote\x20definition.',_0x5b30f)});}});}['_defineDefinitionsConverters'](){const {editor:_0x173827}=this,{t:t}=_0x173827['locale'],{conversion:_0x55fa03}=_0x173827;_0x55fa03['for']('upcast')['elementToElement']({'view':{'name':'div','classes':'footnotes'},'model':'footnotesDefinitions'}),_0x55fa03['for']('upcast')['add'](_0x30ec12=>{_0x30ec12['on']('element:ol',(_0x38ea11,_0xfcd9be,_0x4c5139)=>{const _0x46e52f=_0xfcd9be['viewItem'];if(!_0x46e52f['hasClass']('footnotes-list')||!_0xfcd9be['modelCursor']['parent']?.['is']('element','footnotesDefinitions'))return;if(!_0x4c5139['consumable']['consume'](_0x46e52f,{'name':!0x0,'classes':'footnotes-list'}))return;const {modelRange:_0xdd8614,modelCursor:_0xe6cc11}=_0x4c5139['convertChildren'](_0xfcd9be['viewItem'],_0xfcd9be['modelCursor']);_0xfcd9be['modelRange']=_0xdd8614,_0xfcd9be['modelCursor']=_0xe6cc11;}),_0x30ec12['on']('element:hr',(_0x58283d,_0x2055e5,_0x2c4d5c)=>{const _0x262645=_0x2055e5['viewItem'];_0x262645['hasClass']('footnotes-divider')&&_0x2055e5['modelCursor']['parent']?.['is']('element','footnotesDefinitions')&&_0x2c4d5c['consumable']['consume'](_0x262645,{'name':!0x0,'classes':'footnotes-divider'});});}),_0x55fa03['for']('dataDowncast')['elementToStructure']({'model':'footnotesDefinitions','view':(_0x3e3a70,{writer:_0x5ccf15})=>v(_0x5ccf15)}),_0x55fa03['for']('editingDowncast')['elementToStructure']({'model':'footnotesDefinitions','view':(_0x708c82,{writer:_0x429e20})=>{const _0x1f1348=v(_0x429e20,{'data-footnotes-list-label':t('Footnotes')}),_0x5ac96a=_0x184d76(_0x1f1348,_0x429e20,{'hasSelectionHandle':!0x0,'label':t('Footnotes')});return _0x429e20['setCustomProperty']('footnotesDefinitions',!0x0,_0x5ac96a),_0x5ac96a;}});}['_defineDefinitionConverters'](){const {editor:_0x47ae97}=this,{conversion:_0x309395,locale:_0x4b7068}=_0x47ae97,_0x240927=_0x47ae97['config']['get']('footnotes.multiBlock');_0x309395['for']('upcast')['add'](_0x43e67b=>{_0x43e67b['on']('element:li',(_0x184113,_0x275d37,_0x1d65a7)=>{const _0x5afe83=_0x275d37['viewItem'];if(!_0x5afe83['hasClass']('footnote-definition')||!_0x5afe83['getAttribute']('id'))return;const _0x28c46e=_0x5afe83['parent'];if(!_0x28c46e['is']('element','ol')||!_0x28c46e['hasClass']('footnotes-list'))return;if(!_0x1d65a7['consumable']['test'](_0x5afe83,{'name':!0x0,'attributes':'id','classes':'footnote-definition'}))return;const _0x5ddd44=_0x1d65a7['writer']['createElement']('footnoteDefinition',{'footnoteId':_0x5afe83['getAttribute']('id')});if(!_0x1d65a7['safeInsert'](_0x5ddd44,_0x275d37['modelCursor']))return;_0x1d65a7['consumable']['consume'](_0x5afe83,{'name':!0x0,'attributes':'id','classes':'footnote-definition'});const _0x5518cd=Array['from'](_0x5afe83['getChildren']())['find'](_0x209cdc=>_0x209cdc['is']('element')&&_0x209cdc['hasClass']('footnote-content'));for(const _0x2b6ee6 of _0x5afe83['getChildren']())_0x2b6ee6['is']('element')&&(_0x1d65a7['consumable']['consume'](_0x2b6ee6,{'name':!0x0,'classes':'footnote-backlink','attributes':'href'}),_0x1d65a7['consumable']['consume'](_0x2b6ee6,{'name':!0x0,'classes':'footnote-content'}));if(_0x5518cd){if(_0x240927)_0x1d65a7['convertChildren'](_0x5518cd,_0x5ddd44);else{const _0x4a5524=_0x1d65a7['writer']['createElement']('footnoteInlineContent');_0x1d65a7['writer']['insert'](_0x4a5524,_0x5ddd44),_0x1d65a7['convertChildren'](_0x5518cd,_0x4a5524);}}_0x1d65a7['updateConversionResult'](_0x5ddd44,_0x275d37);});}),_0x309395['for']('dataDowncast')['elementToStructure']({'model':{'name':'footnoteDefinition','attributes':['footnoteId']},'view':(_0x4b6761,{writer:_0x150030})=>b(_0x4b6761,_0x150030,_0x4b7068,{'dataPipeline':!0x0})}),_0x309395['for']('editingDowncast')['elementToStructure']({'model':{'name':'footnoteDefinition','attributes':['footnoteId']},'view':(_0x5c04d5,{writer:_0x462b2})=>b(_0x5c04d5,_0x462b2,_0x4b7068)});}['_defineBogusParagraphConverters'](){const {editor:_0x501b5a}=this,{conversion:_0x543521}=_0x501b5a;_0x501b5a['config']['get']('footnotes.multiBlock')?(_0x543521['for']('editingDowncast')['elementToElement']({'model':'paragraph','view':h(),'converterPriority':'high'}),_0x543521['for']('dataDowncast')['elementToElement']({'model':'paragraph','view':h({'dataPipeline':!0x0}),'converterPriority':'high'}),this['listenTo'](_0x501b5a['model']['document'],'change:data',()=>{!function(_0x1d4c31,_0x45d162){const _0x2a643a=_0x1d4c31['document']['differ'],_0x35869a=new Set();for(const _0x25674d of _0x2a643a['getChanges']()){const _0x74bda3='attribute'==_0x25674d['type']?_0x25674d['range']['start']['parent']:_0x25674d['position']['parent'];_0x74bda3['is']('element','footnoteDefinition')&&_0x35869a['add'](_0x74bda3);}for(const _0x126af2 of _0x35869a['values']()){const _0x3baa82=Array['from'](_0x126af2['getChildren']())['filter'](_0x4bde33=>g(_0x4bde33,_0x45d162['mapper']));for(const _0x10e145 of _0x3baa82)_0x45d162['reconvertItem'](_0x10e145);}}(_0x501b5a['model'],_0x501b5a['editing']);})):(_0x543521['for']('editingDowncast')['elementToElement']({'model':'footnoteInlineContent','view':h()}),_0x543521['for']('dataDowncast')['elementToElement']({'model':'footnoteInlineContent','view':(_0x3720c7,{writer:_0xb83907})=>{const _0x55339f=_0xb83907['createContainerElement']('span');return _0xb83907['setCustomProperty']('dataPipeline:transparentRendering',!0x0,_0x55339f),_0x55339f;}}));}['_defineKeyboardHandlers'](){const {editor:_0x41b9f5}=this,{editing:_0x1d4d0c,t:t}=_0x41b9f5,_0x89b8a3=_0x41b9f5['model']['document']['selection'];_0x41b9f5['keystrokes']['set']('Ctrl+Alt+F','insertFootnote'),_0x41b9f5['accessibility']['addKeystrokeInfos']({'keystrokes':[{'label':t('Insert\x20footnote'),'keystroke':'Ctrl+Alt+F'}]}),this['listenTo'](_0x1d4d0c['view']['document'],'enter',(_0x3c5b04,_0x40d48a)=>{const _0xb66a49=function(_0x29d17c){const _0x10f829=_0x29d17c['getSelectedElement']();if(_0x10f829?.['is']('element','footnoteRef'))return _0x10f829;return null;}(_0x89b8a3);if(_0xb66a49){const _0x8f441d=_0xb66a49['getAttribute']('footnoteId');this['_moveSelectionToFootnoteDefinition'](_0x8f441d),_0x40d48a['preventDefault'](),_0x3c5b04['stop']();}},{'context':_0x140092});}['_defineClickHandlers'](){const {editor:_0xc94128}=this,{editing:_0x52a69e}=_0xc94128;_0xc94128['editing']['view']['addObserver'](_0x2b0401),_0xc94128['editing']['view']['addObserver'](_0x3a16b0);let _0x59935f=!0x1;this['listenTo'](_0x52a69e['view']['document'],'pointerdown',(_0x4d50c1,_0xffc1e1)=>{const {target:_0x24ebf1}=_0xffc1e1,_0x39115e=_0x52a69e['view']['document']['selection'];_0x59935f=!!(_0x24ebf1?.['is']('element','a')&&_0x24ebf1['parent']?.['is']('element','sup')&&_0x24ebf1['parent']['hasClass']('footnote'))&&_0x39115e['getSelectedElement']()===_0x24ebf1['parent'];},{'priority':'high'}),this['listenTo'](_0x52a69e['view']['document'],'click',(_0xc86cbc,_0x457bfa)=>{const {target:_0x4e65ea}=_0x457bfa;if(!_0x4e65ea?.['is']('element','a'))return;if(_0x4e65ea['parent']?.['is']('element','sup')&&_0x4e65ea['parent']['hasClass']('footnote')&&!_0x59935f)return void _0x457bfa['preventDefault']();let _0x350218=_0x4e65ea['getAttribute']('href');if(!_0x350218?.['startsWith']('#'))return;_0x350218=_0x350218['slice'](0x1);let _0x1752f6=!0x1;(_0x350218['startsWith']('ref-')&&this['_moveSelectionToFootnoteReference'](_0x350218['slice'](0x4))||this['_moveSelectionToFootnoteDefinition'](_0x350218))&&(_0x1752f6=!0x0),_0x1752f6&&(_0x457bfa['preventDefault'](),_0xc86cbc['stop']());},{'priority':'high','context':'$capture'});}}function h({dataPipeline:_0x1d4f52}={}){return(_0x6967dc,{writer:_0x4cfec3})=>{if(!p(_0x6967dc))return null;if(!_0x1d4f52)return _0x4cfec3['createContainerElement']('span',{'class':'ck-footnote-bogus-paragraph'});const _0x1bd9a1=_0x4cfec3['createContainerElement']('p');return _0x4cfec3['setCustomProperty']('dataPipeline:transparentRendering',!0x0,_0x1bd9a1),_0x1bd9a1;};}function p(_0x2f4d2b){const {parent:_0x5a0144}=_0x2f4d2b;if(!_0x5a0144?.['is']('element','footnoteDefinition'))return!0x1;if(0x1!=_0x5a0144['childCount'])return!0x1;for(const _0x7d3bc4 of _0x2f4d2b['getAttributeKeys']())if(!_0x7d3bc4['startsWith']('selection:')&&'htmlEmptyBlock'!=_0x7d3bc4)return!0x1;return!0x0;}function g(_0x2fa99a,_0x317404){if(!_0x2fa99a['is']('element','paragraph'))return!0x1;const _0x98c4a9=_0x317404['toViewElement'](_0x2fa99a);return!!_0x98c4a9&&p(_0x2fa99a)!==_0x98c4a9['is']('element','span');}function J(_0xa579f2){return _0x140092(_0xa579f2)&&_0xa579f2['is']('containerElement')&&!!_0xa579f2['getCustomProperty']('footnotesDefinitions');}function v(_0x17f5b1,_0x458f5d={}){const _0x5ea72c=_0x17f5b1['createEmptyElement']('hr',{'class':'footnotes-divider'}),_0xaeec36=_0x17f5b1['createContainerElement']('ol',{'class':'footnotes-list'},_0x17f5b1['createSlot']());return _0x17f5b1['createContainerElement']('div',{'class':'footnotes',..._0x458f5d},[_0x5ea72c,_0xaeec36]);}function D(_0x4390b,_0xa89b58){const _0x131511=_0x4390b['getAttribute']('footnoteId'),_0x16703b=_0x4390b['getAttribute']('footnoteCounter'),_0x2b2ec1=_0xa89b58['createUIElement']('a',{'href':'#'+_0x131511},function(_0x2f588c){const _0x4280fe=this['toDomElement'](_0x2f588c);return _0x4280fe['textContent']=_0x16703b,_0x4280fe;}),_0x36a40c=_0xa89b58['createContainerElement']('sup',{'id':'ref-'+_0x131511,'class':'footnote'},[_0x2b2ec1]);return _0x36a40c['getFillerOffset']=()=>null,_0x36a40c;}function b(_0x15c42a,_0x114f15,_0x571c3e,{dataPipeline:_0x3f7612}={}){const {t:t}=_0x571c3e,_0x587396=_0x15c42a['getAttribute']('footnoteId'),_0xbc4447=_0x114f15['createUIElement']('a',{'class':'footnote-backlink','href':'#ref-'+_0x587396},function(_0x4f5fe3){const _0x110c30=this['toDomElement'](_0x4f5fe3);return _0x110c30['innerText']='^',_0x110c30;}),_0x2de74a=_0x3f7612?_0x114f15['createContainerElement']('div',{'class':'footnote-content'}):_0x4a6bd6(_0x114f15['createEditableElement']('div',{'class':'footnote-content'}),_0x114f15,{'label':t('Footnote\x20content.')});return _0x114f15['insert'](_0x114f15['createPositionAt'](_0x2de74a,0x0),_0x114f15['createSlot']()),_0x114f15['createContainerElement']('li',{'class':'footnote-definition','id':_0x587396},[_0xbc4447,_0x2de74a]);}class e extends _0x3a69c0{static get['pluginName'](){return'FootnotesClipboard';}static get['requires'](){return[r,_0x498c2d];}static get['isOfficialPlugin'](){return!0x0;}static get['isPremiumPlugin'](){return!0x0;}['init'](){this['_defineClipboardIntegration']();}['_defineClipboardIntegration'](){this['_handleCopyFootnotesDefinitions'](),this['_handlePasteFootnotesDefinitions']();}['_handleCopyFootnotesDefinitions'](){const {editor:_0x2f555c}=this,{plugins:_0x582c2d,model:_0x2995fb}=_0x2f555c,_0x143318=_0x582c2d['get'](_0x498c2d),_0x2a5b9f=_0x582c2d['get'](c);this['listenTo'](_0x143318,'outputTransformation',(_0x588744,_0x5cd9f9)=>{const _0x393b7c=f(_0x2995fb['createRangeIn'](_0x5cd9f9['content']));if(!_0x393b7c['length'])return;const _0x3263e4=_0x2a5b9f['getFootnotes'](),_0x1ce0eb=_0x393b7c['reduce']((_0x41fc2e,_0x447772)=>{const _0x48f984=_0x3263e4['find'](_0x4708e7=>_0x4708e7['id']===_0x447772);if(_0x48f984){const _0x3b8640=_0x2f555c['data']['toView'](_0x48f984['definition'],{'isClipboardPipeline':!0x0}),_0x59e547=_0x2f555c['data']['htmlProcessor']['toData'](_0x3b8640);_0x41fc2e[_0x48f984['id']]=_0x59e547;}return _0x41fc2e;},Object['create'](null));_0x5cd9f9['dataTransfer']['setData']('application/ckeditor5-footnotes',JSON['stringify'](_0x1ce0eb));});}['_handlePasteFootnotesDefinitions'](){const {editor:_0x4c0445}=this,{model:_0x107c3d,plugins:_0x2a7ae0}=_0x4c0445,{view:_0x5c38f0}=_0x4c0445['editing'],_0x5c24d3=_0x2a7ae0['get'](_0x498c2d),_0x5eecc0=_0x2a7ae0['get'](c);let _0x2b3091=null;this['listenTo'](_0x5c38f0['document'],'clipboardInput',(_0x15adf0,_0x506ecd)=>{const _0x3ac53f=_0x506ecd['dataTransfer']['getData']('application/ckeditor5-footnotes');_0x2b3091=_0x3ac53f?JSON['parse'](_0x3ac53f):null;}),this['listenTo'](_0x5c24d3,'contentInsertion',(_0xc0ff02,_0x32db7f)=>{const _0x48b9fb=_0x32db7f['sourceEditorId']===this['editor']['id'];_0x48b9fb&&'drop'===_0x32db7f['method']||_0x107c3d['change'](_0x121834=>{let _0x23d4a6=_0x5eecc0['getFootnotesDefinitionsObjectElement']();const _0x52fec7=!!_0x23d4a6&&Array['from'](_0x107c3d['document']['selection']['getSelectedBlocks']())['includes'](_0x23d4a6);if((_0x23d4a6&&!_0x52fec7||!_0x23d4a6&&!_0x2b3091)&&function(_0x3c0aaa,_0x2c5168){const _0x2c3c70=[];for(const {item:_0x21cc7e}of _0x3c0aaa['createRangeIn'](_0x2c5168))_0x21cc7e['is']('element','footnotesDefinitions')&&_0x2c3c70['push'](_0x21cc7e);for(const _0x9732fd of _0x2c3c70)_0x3c0aaa['remove'](_0x9732fd);}(_0x121834,_0x32db7f['content']),!_0x2b3091)return;const {selection:_0x5bba9a}=_0x107c3d['document'],_0x50314b=_0x5bba9a['getFirstRange']()['root'];_0x23d4a6&&!_0x52fec7||(_0x23d4a6=function(_0x1544ef,_0x2572fe){for(const {item:_0x4f8607}of _0x1544ef['createRangeIn'](_0x2572fe))if(_0x4f8607['is']('element','footnotesDefinitions'))return _0x4f8607;return null;}(_0x121834,_0x32db7f['content']),_0x23d4a6||=_0x5eecc0['_insertEmptyFootnotesDefinitionsContainer'](_0x121834,_0x50314b));const _0x4301d2=Array['from'](_0x5bba9a['getRanges']())['flatMap'](f),_0x2f2e6c=function(_0x23b05d,_0x382d46,_0x101b2e){const _0x35a06d=Object['create'](null);for(const {item:_0x1061b4}of _0x23b05d['createRangeIn'](_0x382d46))if(_0x1061b4['is']('element','footnoteRef')){const _0x4aec07=_0x1061b4['getAttribute']('footnoteId');if(!_0x101b2e(_0x4aec07))continue;_0x35a06d[_0x4aec07]||(_0x35a06d[_0x4aec07]=_0x12cb3d()),_0x23b05d['setAttribute']('footnoteId',_0x35a06d[_0x4aec07],_0x1061b4);}return _0x35a06d;}(_0x121834,_0x32db7f['content'],_0x330020=>{if(!_0x48b9fb)return!0x0;return!!_0x5eecc0['getFootnote'](_0x330020)&&!_0x4301d2['includes'](_0x330020);});for(const [_0x23d6b8,_0x1485be]of Object['entries'](_0x2b3091)){const _0x370f1d=_0x2f2e6c[_0x23d6b8]||_0x23d6b8,_0x1c38df=_0x121834['createElement']('footnoteDefinition',{'footnoteId':_0x370f1d}),_0x4c31cd=_0x4c0445['data']['htmlProcessor']['toView'](_0x1485be),_0x522268=_0x4c0445['data']['toModel'](_0x4c31cd,_0x1c38df);_0x121834['append'](_0x522268,_0x1c38df),_0x121834['insert'](_0x1c38df,_0x23d4a6,'end');}_0x2b3091=null;});});}}function f(_0x81a0b5){const _0x441674=new Set();for(const {item:_0x5a8bcf}of _0x81a0b5)_0x5a8bcf['is']('element','footnoteRef')&&_0x441674['add'](_0x5a8bcf['getAttribute']('footnoteId'));return Array['from'](_0x441674);}class i extends _0x3a69c0{['licenseKey'];['_licenseKeyCheckInterval'];static get['pluginName'](){return'FootnotesUI';}static get['isOfficialPlugin'](){return!0x0;}static get['isPremiumPlugin'](){return!0x0;}['init'](){const {editor:_0x145489}=this,{componentFactory:_0x4053d0}=_0x145489['ui'];_0x4053d0['add']('insertFootnote',x(_0x145489,_0x17cf26)),_0x4053d0['add']('menuBar:insertFootnote',x(_0x145489,_0x5d985f)),this['licenseKey']=this['editor']['config']['get']('licenseKey');const _0x18544a=this['editor'];this['_licenseKeyCheckInterval']=setInterval(()=>{let _0x566576;for(const _0x16a649 in _0x18544a){const _0x3600d4=_0x16a649,_0x54943d=_0x18544a[_0x3600d4];if('footnotesLicenseKeyValid'==_0x54943d||'footnotesLicenseKeyInvalid'==_0x54943d||'footnotesLicenseKeyExpired'==_0x54943d||'footnotesLicenseKeyDomainLimit'==_0x54943d||'footnotesLicenseKeyNotAllowed'==_0x54943d||'footnotesLicenseKeyEvaluationLimit'==_0x54943d||'footnotesLicenseKeyTrialLimit'==_0x54943d||'footnotesLicenseKeyUsageLimit'==_0x54943d){delete _0x18544a[_0x3600d4],_0x566576=_0x54943d,clearInterval(this['_licenseKeyCheckInterval']),this['_licenseKeyCheckInterval']=void 0x0;break;}}'footnotesLicenseKeyInvalid'==_0x566576&&_0x18544a['_showLicenseError']('invalid'),'footnotesLicenseKeyExpired'==_0x566576&&_0x18544a['_showLicenseError']('expired'),'footnotesLicenseKeyDomainLimit'==_0x566576&&_0x18544a['_showLicenseError']('domainLimit'),'footnotesLicenseKeyNotAllowed'==_0x566576&&_0x18544a['_showLicenseError']('featureNotAllowed','Footnotes'),'footnotesLicenseKeyEvaluationLimit'==_0x566576&&_0x18544a['_showLicenseError']('evaluationLimit'),'footnotesLicenseKeyTrialLimit'==_0x566576&&_0x18544a['_showLicenseError']('trialLimit'),'footnotesLicenseKeyUsageLimit'==_0x566576&&_0x18544a['_showLicenseError']('usageLimit');},0x3e8);}['destroy'](){super['destroy'](),this['_licenseKeyCheckInterval']&&clearInterval(this['_licenseKeyCheckInterval']);}}function x(_0x1b9f12,_0x43b841){const _0x3f3831=_0x1b9f12['commands']['get']('insertFootnote');return _0x12380c=>{const {t:t}=_0x12380c,_0x128340=new _0x43b841(_0x12380c),_0xd1bbb5=_0x128340 instanceof _0x5d985f;return _0x128340['bind']('isEnabled')['to'](_0x3f3831,'isEnabled'),_0x128340['set']({'label':t(_0xd1bbb5?'Footnote':'Insert\x20footnote'),'icon':_0x30e662,'tooltip':!0x0}),_0x128340['on']('execute',()=>{_0x3f3831['execute'](),_0x1b9f12['editing']['view']['focus']();}),_0x128340;};}class lt extends _0x3a69c0{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 _0x3c9d68{['refresh'](){const {editor:_0x338a56}=this,_0x145107=_0x338a56['plugins']['get'](c)['getFootnotesDefinitionsObjectElement']();this['isEnabled']=!!_0x145107,this['value']=_0x145107?.['getAttribute']('footnotesListStyle')??null;}['execute']({value:_0x132352}){const {editor:_0x49ff6c}=this,_0x132e2f=_0x49ff6c['plugins']['get'](c),_0x1d662e=_0x132e2f['getFootnotesDefinitionsObjectElement']();_0x1d662e&&Q['includes'](_0x132352)&&_0x49ff6c['model']['change'](_0x5daa27=>{_0x5daa27['setAttribute']('footnotesListStyle',_0x132352,_0x1d662e),_0x132e2f['_updateFootnotesCounters'](_0x5daa27);});}}class C extends _0x3c9d68{['refresh'](){const {editor:_0xa5848b}=this,_0x22f2fe=_0xa5848b['plugins']['get'](c)['getFootnotesDefinitionsObjectElement']();this['isEnabled']=!!_0x22f2fe,this['value']=_0x22f2fe?.['getAttribute']('footnotesListStart')??null;}['execute']({value:_0x558bed}){const {editor:_0x41b662}=this,_0x219788=_0x41b662['plugins']['get'](c),_0x70e13e=_0x219788['getFootnotesDefinitionsObjectElement']();_0x70e13e&&Number['isInteger'](_0x558bed)&&_0x41b662['model']['change'](_0x80cd75=>{_0x80cd75['setAttribute']('footnotesListStart',_0x558bed,_0x70e13e),_0x219788['_updateFootnotesCounters'](_0x80cd75);});}}class P extends _0x3a69c0{static get['pluginName'](){return'FootnotesPropertiesEditing';}static get['requires'](){return[r,c];}static get['isOfficialPlugin'](){return!0x0;}static get['isPremiumPlugin'](){return!0x0;}['init'](){const {editor:_0x87e22b}=this;_0x87e22b['config']['define']('footnotes.footnotesProperties.defaultListStyle','decimal'),_0x87e22b['config']['define']('footnotes.footnotesProperties.defaultStartIndex',0x1),_0x87e22b['commands']['add']('footnotesStyle',new S(_0x87e22b)),_0x87e22b['commands']['add']('footnotesStart',new C(_0x87e22b)),this['_defineSchema'](),this['_defineConverters'](),this['_defineFormatter'](),this['_definePostfixer']();}['_defineSchema'](){const {editor:_0x22e86d}=this,{schema:_0x3ce679}=_0x22e86d['model'];_0x3ce679['extend']('footnotesDefinitions',{'allowAttributes':['footnotesListStyle','footnotesListStart']});}['_defineConverters'](){const {editor:_0x52b54f}=this,{conversion:_0x30d3fb,model:_0x45541e}=_0x52b54f,{schema:_0x382737}=_0x45541e;_0x30d3fb['for']('upcast')['add'](_0x25efcb=>{_0x25efcb['on']('element:ol',(_0x5b3047,_0x1486df,_0x41034b)=>{const _0x3d2c96=_0x1486df['viewItem'],_0x1ef4ba=_0x1486df['modelCursor']?.['parent'];_0x3d2c96['hasClass']('footnotes-list')&&_0x1ef4ba?.['is']('element','footnotesDefinitions')&&(function(_0x2e46fa,_0x40e54e,_0x33665b,_0x30a058){if(!_0x30a058['checkAttribute'](_0x40e54e,'footnotesListStart'))return;let _0x3db6c8=0x1;const _0xecedd8=_0x33665b['consumable']['consume'](_0x2e46fa,{'attributes':'start'});if(_0xecedd8){const _0x35d7d5=Number['parseInt'](_0x2e46fa['getAttribute']('start'),0xa);Number['isNaN'](_0x35d7d5)||(_0x3db6c8=_0x35d7d5);}!_0xecedd8&&_0x40e54e['hasAttribute']('footnotesListStart')||_0x33665b['writer']['setAttribute']('footnotesListStart',_0x3db6c8,_0x40e54e);}(_0x3d2c96,_0x1ef4ba,_0x41034b,_0x382737),function(_0x4ddb2d,_0x2077cb,_0x3ffb09,_0x2fd789){if(!_0x2fd789['checkAttribute'](_0x2077cb,'footnotesListStyle'))return;let _0x622dbb='decimal',_0x427b69=!0x1;if(_0x3ffb09['consumable']['consume'](_0x4ddb2d,{'attributes':'type'})){const _0x1c0246={0x1:'decimal','a':'lower-alpha','A':'upper-alpha','i':'lower-roman','I':'upper-roman'}[_0x4ddb2d['getAttribute']('type')];_0x1c0246&&(_0x622dbb=_0x1c0246),_0x427b69=!0x0;}_0x3ffb09['consumable']['consume'](_0x4ddb2d,{'styles':'list-style-type'})&&(_0x622dbb=_0x4ddb2d['getStyle']('list-style-type'),_0x427b69=!0x0),!_0x427b69&&_0x2077cb['hasAttribute']('footnotesListStyle')||_0x3ffb09['writer']['setAttribute']('footnotesListStyle',_0x622dbb,_0x2077cb);}(_0x3d2c96,_0x1ef4ba,_0x41034b,_0x382737));});}),_0x30d3fb['for']('downcast')['add'](_0x55a420=>{_0x55a420['on']('attribute:footnotesListStart:footnotesDefinitions',(_0x56a8d0,_0x38e312,_0x4b87b7)=>{if(!_0x4b87b7['consumable']['consume'](_0x38e312['item'],_0x56a8d0['name']))return;const _0x5d96dd=M(_0x38e312['item'],_0x4b87b7['mapper']),{attributeNewValue:_0x215d13}=_0x38e312;null==_0x215d13||0x1===_0x215d13?_0x4b87b7['writer']['removeAttribute']('start',_0x5d96dd):_0x4b87b7['writer']['setAttribute']('start',String(_0x215d13),_0x5d96dd);}),_0x55a420['on']('attribute:footnotesListStyle:footnotesDefinitions',(_0x4134c9,_0x85c684,_0x23cdb5)=>{if(!_0x23cdb5['consumable']['consume'](_0x85c684['item'],_0x4134c9['name']))return;const _0x42f87c=M(_0x85c684['item'],_0x23cdb5['mapper']),{attributeNewValue:_0x3fd80b}=_0x85c684;_0x3fd80b&&'decimal'!==_0x3fd80b?_0x23cdb5['writer']['setStyle']('list-style-type',_0x3fd80b,_0x42f87c):_0x23cdb5['writer']['removeStyle']('list-style-type',_0x42f87c);});});}['_definePostfixer'](){const {editor:_0x4c8aa6}=this,{model:_0x54b12b}=_0x4c8aa6,_0x3c67e9=_0x4c8aa6['plugins']['get'](c),_0x4ac8ac=this['_getDefaultListStyle'](),_0x2a7b28=this['_getDefaultStartIndex']();_0x54b12b['document']['registerPostFixer'](_0x35f5ab=>{const _0x2a5859=_0x54b12b['document']['differ']['getChanges']();let _0x4de4ee=!0x1;for(const _0x53b143 of _0x2a5859){if('insert'!==_0x53b143['type']||'$text'===_0x53b143['name'])continue;const _0x1cac38=_0x54b12b['createRangeOn'](_0x53b143['position']['nodeAfter']);for(const _0x5c4502 of _0x1cac38['getItems']())_0x5c4502['is']('element','footnotesDefinitions')&&(!_0x5c4502['hasAttribute']('footnotesListStart')&&_0x54b12b['schema']['checkAttribute'](_0x5c4502,'footnotesListStart')&&(_0x35f5ab['setAttribute']('footnotesListStart',_0x2a7b28,_0x5c4502),_0x4de4ee=!0x0),!_0x5c4502['hasAttribute']('footnotesListStyle')&&_0x54b12b['schema']['checkAttribute'](_0x5c4502,'footnotesListStyle')&&(_0x35f5ab['setAttribute']('footnotesListStyle',_0x4ac8ac,_0x5c4502),_0x4de4ee=!0x0));}return _0x4de4ee&&_0x3c67e9['_updateFootnotesCounters'](_0x35f5ab),_0x4de4ee;});}['_defineFormatter'](){const {editor:_0x465faa}=this;_0x465faa['plugins']['get'](c)['setFootnoteFormatter'](_0x5105fa=>this['_formatFootnoteListValue'](_0x5105fa));}['_getDefaultListStyle'](){return this['editor']['config']['get']('footnotes.footnotesProperties.defaultListStyle');}['_getDefaultStartIndex'](){return this['editor']['config']['get']('footnotes.footnotesProperties.defaultStartIndex');}['_formatFootnoteListValue']({container:_0x36beeb,value:_0x3f5bdc,digits:_0xca2f29}){const _0xaf6fc9=_0x36beeb['getAttribute']('footnotesListStyle'),_0x729ae5=_0x36beeb['getAttribute']('footnotesListStart'),_0x4c01ad=Math['floor'](_0x3f5bdc)+(_0x729ae5??0x1)-0x1;switch(_0xaf6fc9){case'decimal-leading-zero':return function(_0x5cc018,_0x2c81fb){return String(_0x5cc018)['padStart'](_0x2c81fb,'0');}(_0x4c01ad,Math['max'](0x2,_0xca2f29));case'lower-alpha':case'lower-latin':return N(_0x4c01ad,!0x1);case'upper-alpha':case'upper-latin':return N(_0x4c01ad,!0x0);case'lower-roman':return X(_0x4c01ad,!0x1);case'upper-roman':return X(_0x4c01ad,!0x0);default:return String(_0x4c01ad);}}}function M(_0x2f5fab,_0x585c3a){const _0x15b78f=_0x585c3a['toViewElement'](_0x2f5fab);return Array['from'](_0x15b78f['getChildren']())['find'](_0x4bb47e=>_0x4bb47e['is']('element','ol')&&_0x4bb47e['hasClass']('footnotes-list'));}function N(_0x416f9a,_0x99419f){let _0x5404f7='',_0x11046d=_0x416f9a;for(;_0x11046d>0x0;){const _0x23156b=(_0x11046d-0x1)%0x1a;_0x5404f7=String['fromCharCode'](0x61+_0x23156b)+_0x5404f7,_0x11046d=Math['floor']((_0x11046d-0x1)/0x1a);}return _0x99419f?_0x5404f7['toUpperCase']():_0x5404f7;}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(_0x334f1f,_0x296f8a){let _0x12e486='',_0xc3b776=_0x334f1f;for(const {value:_0x37c436,numeral:_0x11de8d}of V)for(;_0xc3b776>=_0x37c436;)_0x12e486+=_0x11de8d,_0xc3b776-=_0x37c436;return _0x296f8a?_0x12e486:_0x12e486['toLowerCase']();}class H extends _0x55642b{['children'];['stylesView']=null;['additionalProperties']=null;['startIndexFieldView']=null;['focusTracker']=new ot();['keystrokes']=new rt();['focusables']=new _0x39f746();['focusCycler'];constructor(_0x46213c,{styleButtonViews:_0x12e731,styleGridAriaLabel:_0x146464}){super(_0x46213c),(this['focusCycler']=new _0xd5ec18({'focusables':this['focusables'],'focusTracker':this['focusTracker'],'keystrokeHandler':this['keystrokes'],'actions':{'focusPrevious':'shift\x20+\x20tab','focusNext':'tab'}}),this['children']=this['createCollection'](),this['stylesView']=this['_appendStylesView'](_0x12e731,_0x146464),[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 _0x926cfe of this['stylesView']['children'])this['stylesView']['focusTracker']['add'](_0x926cfe['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 _0x4e81a9=_0x462a79=>_0x462a79['stopPropagation']();this['keystrokes']['set']('arrowright',_0x4e81a9),this['keystrokes']['set']('arrowleft',_0x4e81a9),this['keystrokes']['set']('arrowup',_0x4e81a9),this['keystrokes']['set']('arrowdown',_0x4e81a9);}this['keystrokes']['listenTo'](this['element']);}['focus'](){this['focusCycler']['focusFirst']();}['focusLast'](){this['focusCycler']['focusLast']();}['destroy'](){super['destroy'](),this['focusTracker']['destroy'](),this['keystrokes']['destroy']();}['_appendStylesView'](_0x401869,_0x1bfa41){const _0x11a83f=new _0x55642b(this['locale']);return _0x11a83f['children']=_0x11a83f['createCollection'](),_0x11a83f['children']['addMany'](_0x401869),_0x11a83f['setTemplate']({'tag':'div','attributes':{'aria-label':_0x1bfa41,'class':['ck','ck-footnotes-definitions-styles-list']},'children':_0x11a83f['children']}),_0x11a83f['children']['delegate']('execute')['to'](this),_0x11a83f['focus']=function(){for(const _0x44f171 of this['children'])if(_0x44f171 instanceof _0x17cf26&&_0x44f171['isOn'])return void _0x44f171['focus']();this['children']['first']['focus']();},_0x11a83f['focusTracker']=new ot(),_0x11a83f['keystrokes']=new rt(),_0x11a83f['render'](),_0x11a83f['keystrokes']['listenTo'](_0x11a83f['element']),this['children']['add'](_0x11a83f),_0x11a83f;}['_appendAdditionalPropertiesCollapsibleView'](){const {t:t}=this['locale'],_0x3e7d8f=this['_createStartIndexPropertyView'](),_0x215f17=[_0x3e7d8f],_0x3d85ab=new st(this['locale'],_0x215f17);return _0x3d85ab['set']({'label':t('Footnotes\x20properties'),'isCollapsed':!0x0}),_0x3d85ab['buttonView']['bind']('isEnabled')['toMany'](_0x215f17,'isEnabled',(..._0x1ecbd3)=>_0x1ecbd3['some'](_0x576ebc=>_0x576ebc)),_0x3d85ab['buttonView']['on']('change:isEnabled',(_0x46028b,_0x20f122,_0x1a5899)=>{_0x1a5899||(_0x3d85ab['isCollapsed']=!0x0);}),this['children']['add'](_0x3d85ab),[_0x3e7d8f,_0x3d85ab];}['_createStartIndexPropertyView'](){const {t:t}=this['locale'],_0x6c3073=new it(this['locale'],et);return _0x6c3073['set']({'label':t('Footnotes\x20start\x20at'),'class':'ck-footnotes-definitions-properties__start-index'}),_0x6c3073['fieldView']['set']({'min':0x0,'max':Math['pow'](0x2,0x1e),'step':0x1,'value':0x1,'inputMode':'numeric'}),_0x6c3073['fieldView']['on']('input',()=>{const _0x391448=_0x6c3073['fieldView']['element'],_0x5ca4cf=_0x391448['valueAsNumber'];Number['isNaN'](_0x5ca4cf)?_0x6c3073['errorText']=t('Invalid\x20footnotes\x20start\x20index\x20value.'):_0x391448['checkValidity']()?this['fire']('footnotesListStart',{'startIndex':_0x5ca4cf}):_0x6c3073['errorText']=t(_0x5ca4cf<0x0?'Footnotes\x20start\x20index\x20must\x20be\x20greater\x20than\x200.':'Footnotes\x20start\x20index\x20is\x20too\x20large.');}),_0x6c3073;}}class j extends _0x3a69c0{static get['pluginName'](){return'FootnotesPropertiesUI';}static get['requires'](){return[_0x3ad32f,_0x7042da];}static get['isOfficialPlugin'](){return!0x0;}static get['isPremiumPlugin'](){return!0x0;}['init'](){const {editor:_0x4edfba}=this,{componentFactory:_0x226039}=_0x4edfba['ui'];_0x4edfba['config']['define']('footnotes.footnotesProperties.toolbar',['footnotesStyle']),_0x226039['add']('footnotesStyle',function(_0x4479c2){return _0x227be3=>{const {t:t}=_0x227be3,_0x264857=_0x4479c2['commands']['get']('footnotesStyle'),_0x36308c=_0x1051bd(_0x227be3),{buttonView:_0x1754f1}=_0x36308c;return _0x36308c['class']='ck-footnotes-styles-dropdown',_0x36308c['bind']('isEnabled')['to'](_0x264857,'isEnabled'),_0x1754f1['set']({'label':t('Footnotes\x20style'),'icon':_0x30e662,'tooltip':!0x0}),_0x36308c['once']('change:isOpen',()=>{const _0x3dfda9=function({editor:_0x3312ef,dropdownView:_0x540b42}){const {t:t}=_0x3312ef['locale'],_0x2abdaf=t('Footnotes\x20definitions\x20styles'),_0x23dff4=function(_0x9fa048){const t=_0x9fa048['locale']['t'],_0x490337=[{'label':t('Toggle\x20the\x20decimal\x20footnotes\x20style'),'tooltip':t('Decimal\x20footnotes'),'style':'decimal','icon':_0x18a73e},{'label':t('Toggle\x20the\x20decimal\x20with\x20leading\x20zero\x20footnotes\x20style'),'tooltip':t('Decimal\x20footnotes\x20with\x20leading\x20zero'),'style':'decimal-leading-zero','icon':_0x230045},{'label':t('Toggle\x20the\x20lower–roman\x20footnotes\x20style'),'tooltip':t('Lower–roman\x20footnotes'),'style':'lower-roman','icon':_0xf0f772},{'label':t('Toggle\x20the\x20upper–roman\x20footnotes\x20style'),'tooltip':t('Upper-roman\x20footnotes'),'style':'upper-roman','icon':_0x5e3558},{'label':t('Toggle\x20the\x20lower–latin\x20footnotes\x20style'),'tooltip':t('Lower-latin\x20footnotes'),'style':'lower-latin','icon':_0x57a28e},{'label':t('Toggle\x20the\x20upper–latin\x20footnotes\x20style'),'tooltip':t('Upper-latin\x20footnotes'),'style':'upper-latin','icon':_0x821817}];return _0x490337['map'](function(_0x16e594){const _0x270464=_0x16e594['locale'];return({label:_0x30f087,icon:_0x1e3285,tooltip:_0x22c7d0,style:_0x2da1c3})=>{const _0x4e7c90=_0x16e594['commands']['get']('footnotesStyle'),_0x401d79=new _0x17cf26(_0x270464);return _0x401d79['set']({'label':_0x30f087,'icon':_0x1e3285,'tooltip':_0x22c7d0}),_0x401d79['bind']('isOn')['to'](_0x4e7c90,'value',_0x10c901=>_0x10c901===_0x2da1c3),_0x401d79['bind']('isEnabled')['to'](_0x4e7c90,'isEnabled'),_0x401d79['on']('execute',()=>{_0x16e594['execute']('footnotesStyle',{'value':_0x2da1c3}),_0x16e594['editing']['view']['focus']();}),_0x401d79;};}(_0x9fa048));}(_0x3312ef),_0x1c17fe=new H(_0x3312ef['locale'],{'styleGridAriaLabel':_0x2abdaf,'styleButtonViews':_0x23dff4});return _0x1c17fe['delegate']('execute')['to'](_0x540b42),_0x1c17fe['on']('footnotesListStart',(_0x441b85,_0x34172a)=>{_0x3312ef['execute']('footnotesStart',{'value':_0x34172a['startIndex']});}),_0x1c17fe;}({'editor':_0x4479c2,'dropdownView':_0x36308c});_0x36308c['panelView']['children']['add'](_0x3dfda9);}),_0x36308c;};}(_0x4edfba));}['afterInit'](){const {editor:_0x204a0d}=this,{t:t}=_0x204a0d['locale'],_0x3f416a=_0x204a0d['plugins']['get'](_0x7042da),{defaultPositions:_0x197da1}=_0x47d690;_0x3f416a['register']('footnotesDefinitions',{'ariaLabel':t('Footnotes\x20definitions\x20toolbar'),'items':_0x204a0d['config']['get']('footnotes.footnotesProperties.toolbar'),'balloonClassName':'ck-footnotes-style-balloon\x20ck-toolbar-container','getRelatedElement':_0x5cb67f=>{let _0x17f1a4=_0x5cb67f['getFirstPosition']()?.['parent'];return _0x17f1a4?.['is']('$text')&&(_0x17f1a4=_0x17f1a4['parent']),_0x17f1a4?.['is']('element')?_0x17f1a4['findAncestor'](J):null;},'positions':[_0x197da1['southArrowNorth'],_0x197da1['southArrowNorthMiddleWest'],_0x197da1['southArrowNorthMiddleEast'],_0x197da1['southArrowNorthWest'],_0x197da1['southArrowNorthEast'],_0x197da1['northArrowSouth'],_0x197da1['northArrowSouthMiddleWest'],_0x197da1['northArrowSouthMiddleEast'],_0x197da1['northArrowSouthWest'],_0x197da1['northArrowSouthEast'],_0x197da1['viewportStickyNorth']]});}}class ft extends _0x3a69c0{static get['pluginName'](){return'FootnotesProperties';}static get['requires'](){return[P,j];}static get['isOfficialPlugin'](){return!0x0;}static get['isPremiumPlugin'](){return!0x0;}}export{lt as Footnotes,e as FootnotesClipboard,r as FootnotesEditing,ft as FootnotesProperties,P as FootnotesPropertiesEditing,j as FootnotesPropertiesUI,C as FootnotesStartCommand,S as FootnotesStyleCommand,c as FootnotesTracker,i as FootnotesUI,m as InsertFootnoteCommand};
|
package/dist/translations/af.js
CHANGED
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
export default{'af':{'dictionary':{'Footnote':'','Footnotes':'','Footnotes\x20properties':'','Footnotes\x20start\x20at':'','Invalid\x20footnotes\x20start\x20index\x20value.':'','Footnotes\x20start\x20index\x20is\x20too\x20large.':'','Footnotes\x20start\x20index\x20must\x20be\x20greater\x20than\x200.':'','Footnote\x20%0.\x20Press\x20ENTER\x20to\x20jump\x20to\x20footnote\x20definition.':'','Footnote\x20content.':'','Footnotes\x20definitions\x20styles':'','Footnotes\x20definitions\x20toolbar':'','Insert\x20footnote':'','Footnotes\x20style':'','Toggle\x20the\x20decimal\x20footnotes\x20style':'','Decimal\x20footnotes':'','Toggle\x20the\x20decimal\x20with\x20leading\x20zero\x20footnotes\x20style':'','Decimal\x20footnotes\x20with\x20leading\x20zero':'','Lower–roman\x20footnotes':'','Upper-roman\x20footnotes':'','Lower-latin\x20footnotes':'','Upper-latin\x20footnotes':'','Toggle\x20the\x20lower–roman\x20footnotes\x20style':'','Toggle\x20the\x20upper–roman\x20footnotes\x20style':'','Toggle\x20the\x20lower–latin\x20footnotes\x20style':'','Toggle\x20the\x20upper–latin\x20footnotes\x20style':''},'getPluralForm':
|
|
23
|
+
export default{'af':{'dictionary':{'Footnote':'','Footnotes':'','Footnotes\x20properties':'','Footnotes\x20start\x20at':'','Invalid\x20footnotes\x20start\x20index\x20value.':'','Footnotes\x20start\x20index\x20is\x20too\x20large.':'','Footnotes\x20start\x20index\x20must\x20be\x20greater\x20than\x200.':'','Footnote\x20%0.\x20Press\x20ENTER\x20to\x20jump\x20to\x20footnote\x20definition.':'','Footnote\x20content.':'','Footnotes\x20definitions\x20styles':'','Footnotes\x20definitions\x20toolbar':'','Insert\x20footnote':'','Footnotes\x20style':'','Toggle\x20the\x20decimal\x20footnotes\x20style':'','Decimal\x20footnotes':'','Toggle\x20the\x20decimal\x20with\x20leading\x20zero\x20footnotes\x20style':'','Decimal\x20footnotes\x20with\x20leading\x20zero':'','Lower–roman\x20footnotes':'','Upper-roman\x20footnotes':'','Lower-latin\x20footnotes':'','Upper-latin\x20footnotes':'','Toggle\x20the\x20lower–roman\x20footnotes\x20style':'','Toggle\x20the\x20upper–roman\x20footnotes\x20style':'','Toggle\x20the\x20lower–latin\x20footnotes\x20style':'','Toggle\x20the\x20upper–latin\x20footnotes\x20style':''},'getPluralForm':_0x1be05c=>0x1!=_0x1be05c}};
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
(
|
|
23
|
+
(_0x3e3930=>{const {af:{dictionary:_0x353257,getPluralForm:_0x1dee1}}={'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':_0x6eacbc=>0x1!=_0x6eacbc}};_0x3e3930['af']||={'dictionary':{},'getPluralForm':null},_0x3e3930['af']['dictionary']=Object['assign'](_0x3e3930['af']['dictionary'],_0x353257),_0x3e3930['af']['getPluralForm']=_0x1dee1;})(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':_0x207452=>0x0==_0x207452?0x0:0x1==_0x207452?0x1:0x2==_0x207452?0x2:_0x207452%0x64>=0x3&&_0x207452%0x64<=0xa?0x3:_0x207452%0x64>=0xb?0x4:0x5}};
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
(
|
|
23
|
+
(_0x42bbbf=>{const {ar:{dictionary:_0x2cc1f4,getPluralForm:_0xcbcff5}}={'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':_0x245bbd=>0x0==_0x245bbd?0x0:0x1==_0x245bbd?0x1:0x2==_0x245bbd?0x2:_0x245bbd%0x64>=0x3&&_0x245bbd%0x64<=0xa?0x3:_0x245bbd%0x64>=0xb?0x4:0x5}};_0x42bbbf['ar']||={'dictionary':{},'getPluralForm':null},_0x42bbbf['ar']['dictionary']=Object['assign'](_0x42bbbf['ar']['dictionary'],_0x2cc1f4),_0x42bbbf['ar']['getPluralForm']=_0xcbcff5;})(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':_0x4e3b93=>0x1!=_0x4e3b93}};
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
(
|
|
23
|
+
(_0x1b1cf3=>{const {ast:{dictionary:_0x44edd1,getPluralForm:_0x5dfd6b}}={'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':_0x43fefb=>0x1!=_0x43fefb}};_0x1b1cf3['ast']||={'dictionary':{},'getPluralForm':null},_0x1b1cf3['ast']['dictionary']=Object['assign'](_0x1b1cf3['ast']['dictionary'],_0x44edd1),_0x1b1cf3['ast']['getPluralForm']=_0x5dfd6b;})(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':_0x2f8cfb=>0x1!=_0x2f8cfb}};
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
(
|
|
23
|
+
(_0x1d4751=>{const {az:{dictionary:_0x2ddb27,getPluralForm:_0x4acdd7}}={'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':_0x2528a3=>0x1!=_0x2528a3}};_0x1d4751['az']||={'dictionary':{},'getPluralForm':null},_0x1d4751['az']['dictionary']=Object['assign'](_0x1d4751['az']['dictionary'],_0x2ddb27),_0x1d4751['az']['getPluralForm']=_0x4acdd7;})(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':_0x25d2e4=>_0x25d2e4%0xa==0x1&&_0x25d2e4%0x64!=0xb?0x0:_0x25d2e4%0xa>=0x2&&_0x25d2e4%0xa<=0x4&&(_0x25d2e4%0x64<0xa||_0x25d2e4%0x64>=0x14)?0x1:0x2}};
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
(
|
|
23
|
+
(_0x22c488=>{const {be:{dictionary:_0x12532a,getPluralForm:_0x147db2}}={'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':_0x71228f=>_0x71228f%0xa==0x1&&_0x71228f%0x64!=0xb?0x0:_0x71228f%0xa>=0x2&&_0x71228f%0xa<=0x4&&(_0x71228f%0x64<0xa||_0x71228f%0x64>=0x14)?0x1:0x2}};_0x22c488['be']||={'dictionary':{},'getPluralForm':null},_0x22c488['be']['dictionary']=Object['assign'](_0x22c488['be']['dictionary'],_0x12532a),_0x22c488['be']['getPluralForm']=_0x147db2;})(window['CKEDITOR_TRANSLATIONS']||={});
|