@ckeditor/ckeditor5-footnotes 48.0.1 → 48.1.0-alpha.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.
Files changed (148) hide show
  1. package/dist/index.js +1 -1
  2. package/dist/translations/af.js +1 -1
  3. package/dist/translations/af.umd.js +1 -1
  4. package/dist/translations/ar.js +1 -1
  5. package/dist/translations/ar.umd.js +1 -1
  6. package/dist/translations/ast.js +1 -1
  7. package/dist/translations/ast.umd.js +1 -1
  8. package/dist/translations/az.js +1 -1
  9. package/dist/translations/az.umd.js +1 -1
  10. package/dist/translations/be.js +1 -1
  11. package/dist/translations/be.umd.js +1 -1
  12. package/dist/translations/bg.js +1 -1
  13. package/dist/translations/bg.umd.js +1 -1
  14. package/dist/translations/bn.js +1 -1
  15. package/dist/translations/bn.umd.js +1 -1
  16. package/dist/translations/bs.js +1 -1
  17. package/dist/translations/bs.umd.js +1 -1
  18. package/dist/translations/ca.js +1 -1
  19. package/dist/translations/ca.umd.js +1 -1
  20. package/dist/translations/cs.js +1 -1
  21. package/dist/translations/cs.umd.js +1 -1
  22. package/dist/translations/da.js +1 -1
  23. package/dist/translations/da.umd.js +1 -1
  24. package/dist/translations/de-ch.js +1 -1
  25. package/dist/translations/de-ch.umd.js +1 -1
  26. package/dist/translations/de.js +1 -1
  27. package/dist/translations/de.umd.js +1 -1
  28. package/dist/translations/el.js +1 -1
  29. package/dist/translations/el.umd.js +1 -1
  30. package/dist/translations/en-au.js +1 -1
  31. package/dist/translations/en-au.umd.js +1 -1
  32. package/dist/translations/en-gb.js +1 -1
  33. package/dist/translations/en-gb.umd.js +1 -1
  34. package/dist/translations/en.js +1 -1
  35. package/dist/translations/en.umd.js +1 -1
  36. package/dist/translations/eo.js +1 -1
  37. package/dist/translations/eo.umd.js +1 -1
  38. package/dist/translations/es-co.js +1 -1
  39. package/dist/translations/es-co.umd.js +1 -1
  40. package/dist/translations/es.js +1 -1
  41. package/dist/translations/es.umd.js +1 -1
  42. package/dist/translations/et.js +1 -1
  43. package/dist/translations/et.umd.js +1 -1
  44. package/dist/translations/eu.js +1 -1
  45. package/dist/translations/eu.umd.js +1 -1
  46. package/dist/translations/fa.js +1 -1
  47. package/dist/translations/fa.umd.js +1 -1
  48. package/dist/translations/fi.js +1 -1
  49. package/dist/translations/fi.umd.js +1 -1
  50. package/dist/translations/fr.js +1 -1
  51. package/dist/translations/fr.umd.js +1 -1
  52. package/dist/translations/gl.js +1 -1
  53. package/dist/translations/gl.umd.js +1 -1
  54. package/dist/translations/gu.js +1 -1
  55. package/dist/translations/gu.umd.js +1 -1
  56. package/dist/translations/he.js +1 -1
  57. package/dist/translations/he.umd.js +1 -1
  58. package/dist/translations/hi.js +1 -1
  59. package/dist/translations/hi.umd.js +1 -1
  60. package/dist/translations/hr.js +1 -1
  61. package/dist/translations/hr.umd.js +1 -1
  62. package/dist/translations/hu.js +1 -1
  63. package/dist/translations/hu.umd.js +1 -1
  64. package/dist/translations/hy.js +1 -1
  65. package/dist/translations/hy.umd.js +1 -1
  66. package/dist/translations/id.js +1 -1
  67. package/dist/translations/id.umd.js +1 -1
  68. package/dist/translations/it.js +1 -1
  69. package/dist/translations/it.umd.js +1 -1
  70. package/dist/translations/ja.js +1 -1
  71. package/dist/translations/ja.umd.js +1 -1
  72. package/dist/translations/jv.js +1 -1
  73. package/dist/translations/jv.umd.js +1 -1
  74. package/dist/translations/kk.js +1 -1
  75. package/dist/translations/kk.umd.js +1 -1
  76. package/dist/translations/km.js +1 -1
  77. package/dist/translations/km.umd.js +1 -1
  78. package/dist/translations/kn.js +1 -1
  79. package/dist/translations/kn.umd.js +1 -1
  80. package/dist/translations/ko.js +1 -1
  81. package/dist/translations/ko.umd.js +1 -1
  82. package/dist/translations/ku.js +1 -1
  83. package/dist/translations/ku.umd.js +1 -1
  84. package/dist/translations/lt.js +1 -1
  85. package/dist/translations/lt.umd.js +1 -1
  86. package/dist/translations/lv.js +1 -1
  87. package/dist/translations/lv.umd.js +1 -1
  88. package/dist/translations/ms.js +1 -1
  89. package/dist/translations/ms.umd.js +1 -1
  90. package/dist/translations/nb.js +1 -1
  91. package/dist/translations/nb.umd.js +1 -1
  92. package/dist/translations/ne.js +1 -1
  93. package/dist/translations/ne.umd.js +1 -1
  94. package/dist/translations/nl.js +1 -1
  95. package/dist/translations/nl.umd.js +1 -1
  96. package/dist/translations/no.js +1 -1
  97. package/dist/translations/no.umd.js +1 -1
  98. package/dist/translations/oc.js +1 -1
  99. package/dist/translations/oc.umd.js +1 -1
  100. package/dist/translations/pl.js +1 -1
  101. package/dist/translations/pl.umd.js +1 -1
  102. package/dist/translations/pt-br.js +1 -1
  103. package/dist/translations/pt-br.umd.js +1 -1
  104. package/dist/translations/pt.js +1 -1
  105. package/dist/translations/pt.umd.js +1 -1
  106. package/dist/translations/ro.js +1 -1
  107. package/dist/translations/ro.umd.js +1 -1
  108. package/dist/translations/ru.js +1 -1
  109. package/dist/translations/ru.umd.js +1 -1
  110. package/dist/translations/si.js +1 -1
  111. package/dist/translations/si.umd.js +1 -1
  112. package/dist/translations/sk.js +1 -1
  113. package/dist/translations/sk.umd.js +1 -1
  114. package/dist/translations/sl.js +1 -1
  115. package/dist/translations/sl.umd.js +1 -1
  116. package/dist/translations/sq.js +1 -1
  117. package/dist/translations/sq.umd.js +1 -1
  118. package/dist/translations/sr-latn.js +1 -1
  119. package/dist/translations/sr-latn.umd.js +1 -1
  120. package/dist/translations/sr.js +1 -1
  121. package/dist/translations/sr.umd.js +1 -1
  122. package/dist/translations/sv.js +1 -1
  123. package/dist/translations/sv.umd.js +1 -1
  124. package/dist/translations/th.js +1 -1
  125. package/dist/translations/th.umd.js +1 -1
  126. package/dist/translations/ti.js +1 -1
  127. package/dist/translations/ti.umd.js +1 -1
  128. package/dist/translations/tk.js +1 -1
  129. package/dist/translations/tk.umd.js +1 -1
  130. package/dist/translations/tr.js +1 -1
  131. package/dist/translations/tr.umd.js +1 -1
  132. package/dist/translations/tt.js +1 -1
  133. package/dist/translations/tt.umd.js +1 -1
  134. package/dist/translations/ug.js +1 -1
  135. package/dist/translations/ug.umd.js +1 -1
  136. package/dist/translations/uk.js +1 -1
  137. package/dist/translations/uk.umd.js +1 -1
  138. package/dist/translations/ur.js +1 -1
  139. package/dist/translations/ur.umd.js +1 -1
  140. package/dist/translations/uz.js +1 -1
  141. package/dist/translations/uz.umd.js +1 -1
  142. package/dist/translations/vi.js +1 -1
  143. package/dist/translations/vi.umd.js +1 -1
  144. package/dist/translations/zh-cn.js +1 -1
  145. package/dist/translations/zh-cn.umd.js +1 -1
  146. package/dist/translations/zh.js +1 -1
  147. package/dist/translations/zh.umd.js +1 -1
  148. package/package.json +9 -9
package/dist/index.js CHANGED
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- import{Plugin as _0x1e1533,Command as _0x5b6dff}from'@ckeditor/ckeditor5-core/dist/index.js';import{toWidget as _0x43c247,isWidget as _0x2a8d9d,toWidgetEditable as _0x41573e,WidgetToolbarRepository as _0x46bf04}from'@ckeditor/ckeditor5-widget/dist/index.js';import{uid as _0x4cf4e5,logWarning as _0x6e2e40,FocusTracker as _0x133c67,KeystrokeHandler as _0x570328,global as _0x511582}from'@ckeditor/ckeditor5-utils/dist/index.js';import{PointerObserver as _0x22643a,ClickObserver as _0x5216eb}from'@ckeditor/ckeditor5-engine/dist/index.js';import{ClipboardPipeline as _0x498d9a}from'@ckeditor/ckeditor5-clipboard/dist/index.js';import{MenuBarMenuListItemButtonView as _0x2de974,ButtonView as _0x2c9d61,View as _0x151744,ViewCollection as _0x31a3e7,FocusCycler as _0x2e4319,addKeyboardHandlingForGrid as _0x1ce317,CollapsibleView as _0x400660,LabeledFieldView as _0x16228b,createLabeledInputNumber as _0x1e30a8,ContextualBalloon as _0x432c24,BalloonPanelView as _0xec83eb,createDropdown as _0x1770c5}from'@ckeditor/ckeditor5-ui/dist/index.js';import{IconFootnote as _0x3ffa67,IconListStyleDecimal as _0x58f150,IconListStyleDecimalLeadingZero as _0x27e637,IconListStyleLowerRoman as _0xbf8c50,IconListStyleUpperRoman as _0x42442c,IconListStyleLowerLatin as _0x10edda,IconListStyleUpperLatin as _0x59fc5c,IconListStyleArabicIndic as _0x3ce8a5}from'@ckeditor/ckeditor5-icons/dist/index.js';class R{['_model'];['_elementName'];['_getElementKey'];['_trackedElements']=new Map();constructor(_0x281216,_0x45cff2){this['_model']=_0x281216,this['_elementName']=_0x45cff2['elementName'],this['_getElementKey']=_0x45cff2['getElementKey'];}['reset'](){this['_trackedElements']['clear']();}['getChanges'](_0x3485ce){const _0x1ac0d3=new Set(),_0x5f414e=new Map();for(const _0x392ea0 of _0x3485ce){if('insert'===_0x392ea0['type']&&'$text'!==_0x392ea0['name']&&_0x392ea0['position']['nodeAfter']){const _0x25e304=this['_model']['createRangeOn'](_0x392ea0['position']['nodeAfter']);for(const _0x223df1 of _0x25e304['getItems']()){if(!_0x223df1['is']('element',this['_elementName']))continue;const _0x28b755=this['_getElementKey'](_0x223df1);_0x5f414e['has'](_0x28b755)||_0x5f414e['set'](_0x28b755,[]),_0x5f414e['get'](_0x28b755)['push'](_0x223df1);}}if('remove'===_0x392ea0['type']&&_0x392ea0['name']===this['_elementName']){const _0x562ed6=this['_getElementKey']({'getAttribute':_0x59e1a7=>_0x392ea0['attributes']['get'](_0x59e1a7)});_0x1ac0d3['add'](_0x562ed6);}}for(const [_0x55d7d0,_0x28f978]of this['_trackedElements'])'$graveyard'===_0x28f978['root']['rootName']&&_0x1ac0d3['add'](_0x55d7d0);for(const _0x153b12 of _0x1ac0d3)this['_trackedElements']['delete'](_0x153b12);for(const [_0x5e14e6,_0x2c9810]of _0x5f414e)this['_trackedElements']['set'](_0x5e14e6,_0x2c9810[_0x2c9810['length']-0x1]);const _0x20a1f4=new Set();for(const [_0x383166,_0x5f48cc]of _0x5f414e)_0x1ac0d3['has'](_0x383166)&&(_0x20a1f4['add'](_0x5f48cc[0x0]),_0x5f48cc['length']>0x1?_0x5f414e['set'](_0x383166,_0x5f48cc['slice'](0x1)):_0x5f414e['delete'](_0x383166),_0x1ac0d3['delete'](_0x383166));return{'removed':Array['from'](_0x1ac0d3),'inserted':Array['from'](_0x5f414e['values']())['flat'](),'moved':Array['from'](_0x20a1f4)};}}class K extends _0x1e1533{['_footnotes']=[];['_footnotesDefinitions']=null;['_footnoteFormatter']=null;['_footnoteDefsContainerTracker'];['_footnoteRefsTracker'];['_footnoteDefsTracker'];static get['pluginName'](){return'FootnotesTracker';}static get['isOfficialPlugin'](){return!0x0;}static get['isPremiumPlugin'](){return!0x0;}constructor(_0xe696a6){super(_0xe696a6),this['_footnoteDefsContainerTracker']=new R(this['editor']['model'],{'elementName':'footnotesDefinitions','getElementKey':()=>'singleton'}),this['_footnoteRefsTracker']=new R(this['editor']['model'],{'elementName':'footnoteRef','getElementKey':_0x539019=>_0x539019['getAttribute']('footnoteId')}),this['_footnoteDefsTracker']=new R(this['editor']['model'],{'elementName':'footnoteDefinition','getElementKey':_0x3d920c=>_0x3d920c['getAttribute']('footnoteId')});}['init'](){const {editor:_0x238909}=this,{model:_0x1975fb,data:_0x348cf2}=_0x238909;_0x1975fb['document']['registerPostFixer'](_0x3af6ab=>{const _0x42ca72=_0x1975fb['document']['differ']['getChanges']();let _0x2b9ccd=!0x1;return this['_handleFootnotesDefinitionsObjectChanges'](_0x3af6ab,_0x42ca72)&&(_0x2b9ccd=!0x0),this['_handleFootnoteDefinitionsChanges'](_0x3af6ab,_0x42ca72)&&(_0x2b9ccd=!0x0),this['_handleFootnoteReferencesChanges'](_0x3af6ab,_0x42ca72)&&(_0x2b9ccd=!0x0),this['_ensureFootnotesReferencesHaveProperOrder'](_0x3af6ab)&&(_0x2b9ccd=!0x0),this['_handleFootnotesDefinitionsObjectSync'](_0x3af6ab)&&(_0x2b9ccd=!0x0),this['_sortFootnoteDefinitions'](_0x3af6ab)&&(_0x2b9ccd=!0x0),_0x2b9ccd;}),this['listenTo'](_0x1975fb['document'],'change:data',()=>{_0x1975fb['enqueueChange']({'isUndoable':!0x1},_0xb66668=>{this['_ensureFootnotesDefinitionsContainerExists'](_0xb66668);});},{'priority':'low'}),this['listenTo'](_0x348cf2,'set',()=>{this['_footnotes']=[],this['_footnoteDefsContainerTracker']['reset'](),this['_footnoteRefsTracker']['reset'](),this['_footnoteDefsTracker']['reset']();},{'priority':'high'});}['getFootnotesDefinitionsObjectElement'](){return this['_footnotesDefinitions'];}['getFootnote'](_0x28c2cb){return this['_footnotes']['find'](_0x5519d2=>_0x5519d2['id']===_0x28c2cb)||null;}['getFootnotes'](){return Array['from'](this['_footnotes']);}['getFootnotesFormatter'](){return this['_footnoteFormatter'];}['setFootnoteFormatter'](_0x365e86){this['_footnoteFormatter']=_0x365e86;}['_updateFootnotesCounters'](_0x549e1e,_0x27238e=0x0){let _0x4cab4e=!0x1;for(let _0x13a642=_0x27238e;_0x13a642<this['_footnotes']['length'];_0x13a642++)this['_updateFootnoteRefCounter'](_0x549e1e,_0x13a642)&&(_0x4cab4e=!0x0);return _0x4cab4e;}['_insertEmptyFootnotesDefinitionsContainer'](_0xe81775,_0x1e7d90){const _0x2f77cc=_0xe81775['createElement']('footnotesDefinitions',{});return _0xe81775['append'](_0x2f77cc,_0x1e7d90),this['_footnotesDefinitions']=_0x2f77cc,_0x2f77cc;}['_ensureFootnotesDefinitionsContainerExists'](_0x51937b){if(!this['_footnotes']['length']||this['_footnotesDefinitions'])return;const _0x5363e7=this['_footnotes'][0x0]['reference']['root'],_0xca5223=this['_insertEmptyFootnotesDefinitionsContainer'](_0x51937b,_0x5363e7);for(const _0x45e56d of this['_footnotes'])_0x45e56d['definition']['parent']||_0x51937b['insert'](_0x45e56d['definition'],_0xca5223,'end');this['_updateFootnotesCounters'](_0x51937b);}['_handleFootnotesDefinitionsObjectChanges'](_0xc39cc,_0x1317d1){let _0xce008b=!0x1;const {inserted:_0x4b9ac8,removed:_0xa407a,moved:_0x330c20}=this['_footnoteDefsContainerTracker']['getChanges'](_0x1317d1);if(_0x330c20['length']&&(this['_footnotesDefinitions']=_0x330c20[0x0]),_0x4b9ac8['length']){if(_0x4b9ac8['length']>0x1||this['_footnotesDefinitions']&&_0x4b9ac8['some'](_0x39bfad=>_0x39bfad!==this['_footnotesDefinitions'])){const _0x4beb76=_0xc39cc['createElement']('footnotesDefinitions',{}),_0x2707f6=[];this['_footnotesDefinitions']&&_0x2707f6['push'](this['_footnotesDefinitions']),_0x2707f6['push'](..._0x4b9ac8),_0xc39cc['insert'](_0x4beb76,_0x2707f6[0x0],'before');for(const _0x43fa1c of _0x2707f6)_0xc39cc['move'](_0xc39cc['createRangeIn'](_0x43fa1c),_0xc39cc['createPositionAt'](_0x4beb76,'end')),_0xc39cc['remove'](_0x43fa1c);this['_footnotesDefinitions']=_0x4beb76,this['_updateFootnotesCounters'](_0xc39cc),_0xce008b=!0x0;}else this['_footnotesDefinitions']=_0x4b9ac8[0x0];}if(_0xa407a['length']&&'$graveyard'===this['_footnotesDefinitions']?.['root']['rootName']){for(const _0x481d67 of this['_footnotes'])_0xc39cc['remove'](_0x481d67['reference']),_0xce008b=!0x0;this['_footnotes']=[],this['_footnotesDefinitions']=null;}return _0xce008b;}['_handleFootnoteDefinitionsChanges'](_0x2200a2,_0x2279fa){let _0x1912b4=!0x1;const _0x465d97=this['editor']['config']['get']('footnotes.multiBlock'),{inserted:_0x294b58,moved:_0x52c3da}=this['_footnoteDefsTracker']['getChanges'](_0x2279fa);for(const _0xe5100f of[..._0x52c3da,..._0x294b58]){const _0x37c7cf=_0xe5100f['getAttribute']('footnoteId'),_0x1d33e5=this['getFootnote'](_0x37c7cf);_0x1d33e5&&(_0x1d33e5['definition']=_0xe5100f),j(_0x2200a2,_0x465d97,_0xe5100f)&&(_0x1912b4=!0x0);}return _0x1912b4;}['_handleFootnoteReferencesChanges'](_0x26d685,_0x26135e){let _0x3cb819=!0x1;const {removed:_0x58da4a,inserted:_0x3b9e11,moved:_0x28d159}=this['_footnoteRefsTracker']['getChanges'](_0x26135e);for(const _0x3c0fcb of _0x58da4a)this['_handleRemoveFootnoteReferenceById'](_0x26d685,_0x3c0fcb)&&(_0x3cb819=!0x0);for(const _0x5e54f0 of _0x3b9e11)this['_handleInsertedFootnoteReference'](_0x26d685,_0x5e54f0)&&(_0x3cb819=!0x0);for(const _0x34863d of _0x28d159)this['_handleMovedFootnoteReference'](_0x26d685,_0x34863d)&&(_0x3cb819=!0x0);return _0x3cb819;}['_handleFootnotesDefinitionsObjectSync'](_0x3dbd98){if(!this['_footnotesDefinitions'])return!0x1;let _0xfbb656=!0x1;if(this['_footnotesDefinitions']['childCount']!==this['_footnotes']['length']){const _0x160fe8=[];for(const _0x4dc611 of this['_footnotesDefinitions']['getChildren']()){const _0x5ee77a=_0x4dc611['getAttribute']('footnoteId');this['getFootnote'](_0x5ee77a)||(_0x160fe8['unshift'](_0x4dc611),_0xfbb656=!0x0);}for(const _0x470eae of _0x160fe8)_0x3dbd98['remove'](_0x470eae);}const _0x3f1aa5=new Set(),_0x345a84=[];for(const _0x4cf2c2 of this['_footnotesDefinitions']['getChildren']()){const _0x180419=_0x4cf2c2['getAttribute']('footnoteId');_0x3f1aa5['has'](_0x180419)?(_0x345a84['unshift'](_0x4cf2c2),_0xfbb656=!0x0):_0x3f1aa5['add'](_0x180419);}for(const _0x4b6b85 of _0x345a84)_0x3dbd98['remove'](_0x4b6b85);return this['_footnotesDefinitions']['childCount']||(_0x3dbd98['remove'](this['_footnotesDefinitions']),this['_footnotesDefinitions']=null,_0xfbb656=!0x0),_0xfbb656;}['_handleInsertedFootnoteReference'](_0x95dc7f,_0x224fb5){if(this['_footnotes']['find'](_0x38f228=>_0x38f228['reference']===_0x224fb5))return!0x1;let _0x2e2e37=!0x1;const _0xae9c16=_0x224fb5['getAttribute']('footnoteId'),_0xb34847=this['_footnotes']['findIndex'](_0x1cfda6=>_0x1cfda6['id']===_0xae9c16);-0x1!==_0xb34847&&(_0x95dc7f['remove'](this['_footnotes'][_0xb34847]['reference']),this['_footnotes']['splice'](_0xb34847,0x1),_0x2e2e37=!0x0);let _0xe8fc4e=this['_footnotesDefinitions']?function(_0x45fda9,_0x402123){for(const _0x58d1f9 of _0x45fda9['getChildren']())if(_0x58d1f9['getAttribute']('footnoteId')===_0x402123)return _0x58d1f9;return null;}(this['_footnotesDefinitions'],_0xae9c16):null;_0xe8fc4e||(_0xe8fc4e=_0x95dc7f['createElement']('footnoteDefinition',{'footnoteId':_0xae9c16}),this['_footnotesDefinitions']&&(_0x95dc7f['insert'](_0xe8fc4e,this['_footnotesDefinitions'],'end'),_0x2e2e37=!0x0));const _0x5ecdf2={'id':_0xae9c16,'reference':_0x224fb5,'definition':_0xe8fc4e},_0x438868=T(this['editor']['model'],this['_footnotes'],_0x224fb5);this['_footnotes']['splice'](_0x438868,0x0,_0x5ecdf2);let _0x9e918d=_0x438868;return-0x1!==_0xb34847&&(_0x9e918d=Math['min'](_0x438868,_0xb34847)),this['_updateFootnotesCounters'](_0x95dc7f,_0x9e918d)&&(_0x2e2e37=!0x0),_0x2e2e37;}['_handleRemoveFootnoteReferenceById'](_0x2b9eb9,_0x536812){const _0x5182f7=this['_footnotes']['findIndex'](_0x2ecd48=>_0x2ecd48['id']===_0x536812);if(-0x1===_0x5182f7)return!0x1;let _0x56634c=!0x1;const _0x306d51=this['_footnotes'][_0x5182f7];return'$graveyard'!==_0x306d51['definition']['root']['rootName']&&(_0x2b9eb9['remove'](_0x306d51['definition']),_0x56634c=!0x0),this['_footnotes']['splice'](_0x5182f7,0x1),this['_updateFootnotesCounters'](_0x2b9eb9,_0x5182f7)&&(_0x56634c=!0x0),_0x56634c;}['_handleMovedFootnoteReference'](_0x33ed42,_0xec089f){const _0x4a50b5=_0xec089f['getAttribute']('footnoteId'),_0x2a22f6=this['_footnotes']['findIndex'](_0x3452cf=>_0x3452cf['id']===_0x4a50b5),_0x4fba38=this['_footnotes'][_0x2a22f6];let _0x5e31dc=!0x1;_0x4fba38['reference']=_0xec089f,this['_footnotes']['splice'](_0x2a22f6,0x1);const _0x460193=T(this['editor']['model'],this['_footnotes'],_0xec089f);return this['_footnotes']['splice'](_0x460193,0x0,_0x4fba38),this['_updateFootnotesCounters'](_0x33ed42,Math['min'](_0x2a22f6,_0x460193))&&(_0x5e31dc=!0x0),_0x5e31dc;}['_updateFootnoteRefCounter'](_0x45f623,_0x4ef7a1){if(!this['_footnotesDefinitions'])return!0x1;const _0x38fb96=this['_footnotes'][_0x4ef7a1];let _0x567012;return _0x567012=this['_footnoteFormatter']?this['_footnoteFormatter']({'footnote':_0x38fb96,'container':this['_footnotesDefinitions'],'digits':String(this['_footnotes']['length'])['length'],'value':_0x4ef7a1+0x1}):String(_0x4ef7a1+0x1),_0x38fb96['reference']['getAttribute']('footnoteCounter')!=_0x567012&&(_0x45f623['setAttribute']('footnoteCounter',_0x567012,_0x38fb96['reference']),!0x0);}['_sortFootnoteDefinitions'](_0x494d6f){if(!this['_footnotesDefinitions']||this['_footnotes']['length']<0x2)return!0x1;if(function(_0x5eb978,_0x478b79){if(_0x5eb978['length']!==_0x478b79['length'])return!0x1;for(let _0x4110e6=0x0;_0x4110e6<_0x5eb978['length'];_0x4110e6++)if(_0x5eb978[_0x4110e6]!==_0x478b79[_0x4110e6])return!0x1;return!0x0;}(this['_footnotes']['map'](_0x39b71d=>_0x39b71d['id']),Array['from'](this['_footnotesDefinitions']['getChildren']())['map'](_0x1026ab=>_0x1026ab['getAttribute']('footnoteId'))))return!0x1;let _0x730b4e=!0x1;for(let _0x32672c=0x0;_0x32672c<this['_footnotes']['length'];_0x32672c++){const _0x10f94a=this['_footnotes'][_0x32672c],_0x1a9aca=_0x494d6f['createPositionBefore'](_0x10f94a['definition']),_0x2ef685=_0x494d6f['createPositionAt'](this['_footnotesDefinitions'],_0x32672c);_0x1a9aca['isEqual'](_0x2ef685)||(_0x494d6f['move'](_0x494d6f['createRangeOn'](_0x10f94a['definition']),_0x2ef685),_0x730b4e=!0x0);}return _0x730b4e;}['_ensureFootnotesReferencesHaveProperOrder'](_0x43b82e){if(!this['_footnotes']['length'])return!0x1;const {model:_0x14f6b5}=this['editor'];let _0x2e4d2b=!0x1;for(let _0x7dd1cc=0x0;_0x7dd1cc<this['_footnotes']['length']-0x1;_0x7dd1cc++){const _0x198bd6=this['_footnotes'][_0x7dd1cc],_0xcdfe96=this['_footnotes'][_0x7dd1cc+0x1],_0x3bd4b4=_0x14f6b5['createPositionBefore'](_0x198bd6['reference']),_0x31b308=_0x14f6b5['createPositionBefore'](_0xcdfe96['reference']);'after'===_0x3bd4b4['compareWith'](_0x31b308)&&(this['_handleMovedFootnoteReference'](_0x43b82e,_0x198bd6['reference']),_0x7dd1cc=-0x1,_0x2e4d2b=!0x0);}return _0x2e4d2b;}}function j(_0x2e978d,_0x638bc3,_0x4c06d2){if(_0x4c06d2['childCount'])return!0x1;const _0x2f4634=_0x638bc3?'paragraph':'footnoteInlineContent';return _0x2e978d['insert'](_0x2e978d['createElement'](_0x2f4634),_0x4c06d2),!0x0;}function T(_0x3c3408,_0x256575,_0x1f4174){if(0x0===_0x256575['length'])return 0x0;const _0x2373e2=_0x3c3408['createPositionBefore'](_0x1f4174);for(let _0xcb295b=0x0;_0xcb295b<_0x256575['length'];_0xcb295b++){const _0x5f89a8=_0x256575[_0xcb295b],_0x537a5e=_0x3c3408['createPositionBefore'](_0x5f89a8['reference']);if('before'===_0x2373e2['compareWith'](_0x537a5e))return _0xcb295b;}const _0x4c2e31=_0x1f4174['root'];let _0x4c87c1=-0x1;for(let _0x1e419a=_0x256575['length']-0x1;_0x1e419a>=0x0;_0x1e419a--)if(_0x256575[_0x1e419a]['reference']['root']===_0x4c2e31){_0x4c87c1=_0x1e419a;break;}if(-0x1!==_0x4c87c1)return _0x4c87c1+0x1;const _0x3e33db=_0x3c3408['document']['getRootNames'](),_0x3c07c9=_0x3e33db['indexOf'](_0x4c2e31['rootName']),_0x2549c5=_0x3e33db[_0x3c07c9+0x1];if(_0x2549c5){for(let _0x3aa313=0x0;_0x3aa313<_0x256575['length'];_0x3aa313++)if(_0x256575[_0x3aa313]['reference']['root']['rootName']===_0x2549c5)return _0x3aa313;}return _0x256575['length'];}class V extends _0x5b6dff{['refresh'](){const _0x5df06d=this['editor']['model']['document']['selection'],_0x3add25=this['_getPositionToInsertFootnote'](_0x5df06d);this['isEnabled']=!!_0x3add25;}['execute'](_0x46df34){const {editor:_0x115313}=this,{model:_0x1c247b}=_0x115313,{selection:_0xe12d13}=_0x1c247b['document'],_0x458e46=this['_getPositionToInsertFootnote'](_0xe12d13);if(!_0x458e46)return;const _0x57fe78=_0x115313['plugins']['get']('FootnotesEditing'),_0x1e0ec7=_0x46df34?.['footnoteId']??_0x4cf4e5();!function(_0xdb9d13){return'string'==typeof _0xdb9d13&&_0xdb9d13['length']>0x0&&!/\s/['test'](_0xdb9d13)&&!/^\d/['test'](_0xdb9d13);}(_0x1e0ec7)?_0x6e2e40('insert-footnote-command-executed-with-invalid-id'):(_0x1c247b['change'](_0x1aa035=>{const _0x4c4567=_0x1aa035['createElement']('footnoteRef',{'footnoteId':_0x1e0ec7});_0x1c247b['insertObject'](_0x4c4567,_0x458e46,null);}),_0x57fe78['_moveSelectionToFootnoteDefinition'](_0x1e0ec7));}['_getPositionToInsertFootnote'](_0x4a976f){const {model:_0x489798}=this['editor'],{schema:_0x43f6d7}=_0x489798,_0x5f0f68=_0x4a976f['getFirstRange']();for(const _0xd83dfd of _0x5f0f68['getItems']())if(_0x43f6d7['isBlock'](_0xd83dfd)||_0x43f6d7['isObject'](_0xd83dfd))return null;const _0x50f297=_0x5f0f68['end'];return _0x43f6d7['checkChild'](_0x50f297,'footnoteRef')?_0x50f297:null;}}class $ extends _0x1e1533{static get['pluginName'](){return'FootnotesEditing';}static get['requires'](){return[K];}static get['isOfficialPlugin'](){return!0x0;}static get['isPremiumPlugin'](){return!0x0;}['init'](){const {editor:_0x31235b}=this;_0x31235b['config']['define']('footnotes.multiBlock',!0x0),_0x31235b['commands']['add']('insertFootnote',new V(_0x31235b)),this['_defineSchema'](),this['_defineRefsConverters'](),this['_defineDefinitionsConverters'](),this['_defineDefinitionConverters'](),this['_defineBogusParagraphConverters'](),this['_defineKeyboardHandlers'](),this['_defineClickHandlers']();}['afterInit'](){!async function(_0x2901f7){const _0x4bd328=_0x582d93([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]),_0x34b93b=0x47a28506,_0x1c46b7=0x47a502fe^_0x34b93b,_0x1744fa=window[_0x582d93([0x44,0x61,0x74,0x65])][_0x582d93([0x6e,0x6f,0x77])](),_0x17e830=_0x2901f7[_0x582d93([0x65,0x64,0x69,0x74,0x6f,0x72])],_0x86fe29=new window[(_0x582d93([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0x169920=>{_0x17e830[_0x582d93([0x6f,0x6e,0x63,0x65])](_0x582d93([0x72,0x65,0x61,0x64,0x79]),_0x169920);}),_0x257c80={[_0x582d93([0x6b,0x74,0x79])]:_0x582d93([0x45,0x43]),[_0x582d93([0x75,0x73,0x65])]:_0x582d93([0x73,0x69,0x67]),[_0x582d93([0x63,0x72,0x76])]:_0x582d93([0x50,0x2d,0x32,0x35,0x36]),[_0x582d93([0x78])]:_0x582d93([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]),[_0x582d93([0x79])]:_0x582d93([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]),[_0x582d93([0x61,0x6c,0x67])]:_0x582d93([0x45,0x53,0x32,0x35,0x36])},_0x29068a=_0x17e830[_0x582d93([0x63,0x6f,0x6e,0x66,0x69,0x67])][_0x582d93([0x67,0x65,0x74])](_0x582d93([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x4b,0x65,0x79]));async function _0x41e6d0(){let _0x9fbca6,_0x30ed7b=null,_0x4a6ed3=null;try{if(_0x29068a==_0x582d93([0x47,0x50,0x4c]))return _0x582d93([0x4e,0x6f,0x74,0x41,0x6c,0x6c,0x6f,0x77,0x65,0x64]);if(_0x9fbca6=_0x4334c3(),!_0x9fbca6)return _0x582d93([0x49,0x6e,0x76,0x61,0x6c,0x69,0x64]);return _0x9fbca6[_0x582d93([0x75,0x73,0x61,0x67,0x65,0x45,0x6e,0x64,0x70,0x6f,0x69,0x6e,0x74])]&&(_0x4a6ed3=_0x1f3298(_0x9fbca6[_0x582d93([0x75,0x73,0x61,0x67,0x65,0x45,0x6e,0x64,0x70,0x6f,0x69,0x6e,0x74])],_0x9fbca6[_0x582d93([0x6a,0x74,0x69])])),await _0x17cbcc()?_0x5d3b0c()?_0x36adca()?_0x582d93([0x45,0x78,0x70,0x69,0x72,0x65,0x64]):_0x47ac71()?(_0x9fbca6[_0x582d93([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x54,0x79,0x70,0x65])]==_0x582d93([0x65,0x76,0x61,0x6c,0x75,0x61,0x74,0x69,0x6f,0x6e])&&(_0x30ed7b=_0x4aef65(_0x582d93([0x45,0x76,0x61,0x6c,0x75,0x61,0x74,0x69,0x6f,0x6e,0x4c,0x69,0x6d,0x69,0x74]))),await _0x590062()):_0x582d93([0x44,0x6f,0x6d,0x61,0x69,0x6e,0x4c,0x69,0x6d,0x69,0x74]):_0x582d93([0x4e,0x6f,0x74,0x41,0x6c,0x6c,0x6f,0x77,0x65,0x64]):_0x582d93([0x49,0x6e,0x76,0x61,0x6c,0x69,0x64]);}catch{return _0x582d93([0x49,0x6e,0x76,0x61,0x6c,0x69,0x64]);}function _0x36adca(){const _0x2cbfd6=[_0x582d93([0x65,0x76,0x61,0x6c,0x75,0x61,0x74,0x69,0x6f,0x6e]),_0x582d93([0x74,0x72,0x69,0x61,0x6c])][_0x582d93([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x9fbca6[_0x582d93([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x54,0x79,0x70,0x65])])?_0x1744fa/0x3e8:0xe10*_0x1c46b7;return _0x9fbca6[_0x582d93([0x65,0x78,0x70])]<_0x2cbfd6;}function _0x5d3b0c(){const _0x987dd4=_0x9fbca6[_0x582d93([0x66,0x65,0x61,0x74,0x75,0x72,0x65,0x73])];return!!_0x987dd4&&(!!_0x987dd4[_0x582d93([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x582d93([0x2a]))||!!_0x987dd4[_0x582d93([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x582d93([0x46,0x4f,0x4f])));}function _0x47ac71(){const _0x1209ee=_0x9fbca6[_0x582d93([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x64,0x48,0x6f,0x73,0x74,0x73])];if(!_0x1209ee||0x0==_0x1209ee[_0x582d93([0x6c,0x65,0x6e,0x67,0x74,0x68])])return!0x0;const {hostname:_0x102abb}=new URL(window[_0x582d93([0x6c,0x6f,0x63,0x61,0x74,0x69,0x6f,0x6e])]['href']);if(_0x1209ee[_0x582d93([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x102abb))return!0x0;const _0xfe2f89=_0x102abb[_0x582d93([0x73,0x70,0x6c,0x69,0x74])](_0x582d93([0x2e]));return _0x1209ee[_0x582d93([0x66,0x69,0x6c,0x74,0x65,0x72])](_0x5d632a=>_0x5d632a[_0x582d93([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x582d93([0x2a])))[_0x582d93([0x6d,0x61,0x70])](_0x1616c8=>_0x1616c8[_0x582d93([0x73,0x70,0x6c,0x69,0x74])](_0x582d93([0x2e])))[_0x582d93([0x66,0x69,0x6c,0x74,0x65,0x72])](_0x21951b=>_0x21951b[_0x582d93([0x6c,0x65,0x6e,0x67,0x74,0x68])]<=_0xfe2f89[_0x582d93([0x6c,0x65,0x6e,0x67,0x74,0x68])])[_0x582d93([0x6d,0x61,0x70])](_0x44b36c=>Array(_0xfe2f89[_0x582d93([0x6c,0x65,0x6e,0x67,0x74,0x68])]-_0x44b36c[_0x582d93([0x6c,0x65,0x6e,0x67,0x74,0x68])])[_0x582d93([0x66,0x69,0x6c,0x6c])](_0x44b36c[0x0]===_0x582d93([0x2a])?_0x582d93([0x2a]):'')[_0x582d93([0x63,0x6f,0x6e,0x63,0x61,0x74])](_0x44b36c))[_0x582d93([0x73,0x6f,0x6d,0x65])](_0x3279c9=>_0xfe2f89[_0x582d93([0x65,0x76,0x65,0x72,0x79])]((_0x55a271,_0x135d9c)=>_0x3279c9[_0x135d9c]===_0x55a271||_0x3279c9[_0x135d9c]===_0x582d93([0x2a])));}function _0x590062(){return _0x30ed7b&&_0x4a6ed3?new window[(_0x582d93([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))]((_0x19294c,_0x453d94)=>{_0x30ed7b[_0x582d93([0x74,0x68,0x65,0x6e])](_0x19294c,_0x453d94),_0x4a6ed3[_0x582d93([0x74,0x68,0x65,0x6e])](_0x58f5be=>{_0x58f5be!=_0x582d93([0x56,0x61,0x6c,0x69,0x64])&&_0x19294c(_0x58f5be);},_0x453d94);}):_0x30ed7b||_0x4a6ed3||_0x582d93([0x56,0x61,0x6c,0x69,0x64]);}}function _0x1f3298(_0x16140a,_0xbfe042){return new window[(_0x582d93([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0x3ffb61=>{if(_0x3c47f3())return _0x3ffb61(_0x582d93([0x56,0x61,0x6c,0x69,0x64]));_0x531265(),_0x17e830[_0x582d93([0x64,0x65,0x63,0x6f,0x72,0x61,0x74,0x65])](_0x582d93([0x5f,0x73,0x65,0x6e,0x64,0x55,0x73,0x61,0x67,0x65,0x52,0x65,0x71,0x75,0x65,0x73,0x74]));let _0x46fda4=!0x1;const _0x8a5c80=_0x4cf4e5();function _0x442681(_0x1173eb){return!!_0x1173eb&&(typeof _0x1173eb===_0x582d93([0x6f,0x62,0x6a,0x65,0x63,0x74])||typeof _0x1173eb===_0x582d93([0x66,0x75,0x6e,0x63,0x74,0x69,0x6f,0x6e]))&&typeof _0x1173eb[_0x582d93([0x74,0x68,0x65,0x6e])]===_0x582d93([0x66,0x75,0x6e,0x63,0x74,0x69,0x6f,0x6e])&&typeof _0x1173eb[_0x582d93([0x63,0x61,0x74,0x63,0x68])]===_0x582d93([0x66,0x75,0x6e,0x63,0x74,0x69,0x6f,0x6e]);}function _0x3042ac(_0x59f365){_0x2e25b5(_0x59f365)[_0x582d93([0x74,0x68,0x65,0x6e])](_0x3846b5=>{if(!_0x3846b5||_0x3846b5[_0x582d93([0x73,0x74,0x61,0x74,0x75,0x73])]!=_0x582d93([0x6f,0x6b]))return _0x582d93([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]);return _0x44853b(_0x458ca(_0x8a5c80+_0xbfe042))!=_0x3846b5[_0x582d93([0x76,0x65,0x72,0x69,0x66,0x69,0x63,0x61,0x74,0x69,0x6f,0x6e])]?_0x582d93([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]):_0x582d93([0x56,0x61,0x6c,0x69,0x64]);})[_0x582d93([0x74,0x68,0x65,0x6e])](_0x4feff1=>(_0x2bdc39(),_0x4feff1),()=>{const _0x2f1ec7=_0x110168();return null==_0x2f1ec7?(_0x2bdc39(),_0x582d93([0x56,0x61,0x6c,0x69,0x64])):_0x582d93(_0x1744fa-_0x2f1ec7>(0x63ae0106^_0x34b93b)?[0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]:[0x56,0x61,0x6c,0x69,0x64]);})[_0x582d93([0x74,0x68,0x65,0x6e])](_0x3ffb61)[_0x582d93([0x63,0x61,0x74,0x63,0x68])](()=>{_0x3ffb61(_0x582d93([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]));});const _0x4f5915=0x47946b86^_0x34b93b;function _0x2bdc39(){const _0x11cea3=_0x582d93([0x6c,0x6c,0x63,0x74,0x2d])+_0x44853b(_0x458ca(_0x16140a)),_0x111cb4=_0x131dae(_0x44853b(window[_0x582d93([0x4d,0x61,0x74,0x68])][_0x582d93([0x63,0x65,0x69,0x6c])](_0x1744fa/_0x4f5915)));window[_0x582d93([0x6c,0x6f,0x63,0x61,0x6c,0x53,0x74,0x6f,0x72,0x61,0x67,0x65])][_0x582d93([0x73,0x65,0x74,0x49,0x74,0x65,0x6d])](_0x11cea3,_0x111cb4);}function _0x110168(){const _0xa1015a=_0x582d93([0x6c,0x6c,0x63,0x74,0x2d])+_0x44853b(_0x458ca(_0x16140a)),_0x15f2e2=window[_0x582d93([0x6c,0x6f,0x63,0x61,0x6c,0x53,0x74,0x6f,0x72,0x61,0x67,0x65])][_0x582d93([0x67,0x65,0x74,0x49,0x74,0x65,0x6d])](_0xa1015a);return _0x15f2e2?window[_0x582d93([0x70,0x61,0x72,0x73,0x65,0x49,0x6e,0x74])](_0x131dae(_0x15f2e2),0x10)*_0x4f5915:null;}function _0x2e25b5(_0x4a5561){return new window[(_0x582d93([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))]((_0x82297e,_0xdbda9f)=>{_0x4a5561[_0x582d93([0x74,0x68,0x65,0x6e])](_0x82297e,_0xdbda9f),window[_0x582d93([0x73,0x65,0x74,0x54,0x69,0x6d,0x65,0x6f,0x75,0x74])](_0xdbda9f,0x47a351c6^_0x34b93b);});}}_0x17e830[_0x582d93([0x6f,0x6e])](_0x582d93([0x5f,0x73,0x65,0x6e,0x64,0x55,0x73,0x61,0x67,0x65,0x52,0x65,0x71,0x75,0x65,0x73,0x74]),(_0x46a506,_0x196be8)=>{if(_0x196be8[0x0]!=_0x16140a)return _0x3ffb61(_0x582d93([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]));_0x196be8[0x1]={..._0x196be8[0x1],[_0x582d93([0x72,0x65,0x71,0x75,0x65,0x73,0x74,0x49,0x64])]:_0x8a5c80};},{[_0x582d93([0x70,0x72,0x69,0x6f,0x72,0x69,0x74,0x79])]:_0x582d93([0x68,0x69,0x67,0x68])}),_0x17e830[_0x582d93([0x6f,0x6e])](_0x582d93([0x5f,0x73,0x65,0x6e,0x64,0x55,0x73,0x61,0x67,0x65,0x52,0x65,0x71,0x75,0x65,0x73,0x74]),_0x4d9674=>{_0x442681(_0x4d9674[_0x582d93([0x72,0x65,0x74,0x75,0x72,0x6e])])&&(_0x46fda4=!0x0,_0x3042ac(_0x4d9674[_0x582d93([0x72,0x65,0x74,0x75,0x72,0x6e])]));},{[_0x582d93([0x70,0x72,0x69,0x6f,0x72,0x69,0x74,0x79])]:_0x582d93([0x6c,0x6f,0x77])}),_0x86fe29[_0x582d93([0x74,0x68,0x65,0x6e])](()=>{_0x46fda4||_0x3ffb61(_0x582d93([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]));});});function _0x3c47f3(){return _0x17e830[_0x582d93([0x65,0x64,0x69,0x74,0x69,0x6e,0x67])][_0x582d93([0x76,0x69,0x65,0x77])][_0x582d93([0x5f,0x6f,0x76,0x65,0x72,0x6c,0x61,0x79,0x4d,0x6f,0x64,0x65,0x48,0x69,0x6e,0x74])]==_0x582d93([0x61,0x75,0x74,0x6f]);}function _0x531265(){_0x17e830[_0x582d93([0x65,0x64,0x69,0x74,0x69,0x6e,0x67])][_0x582d93([0x76,0x69,0x65,0x77])][_0x582d93([0x5f,0x6f,0x76,0x65,0x72,0x6c,0x61,0x79,0x4d,0x6f,0x64,0x65,0x48,0x69,0x6e,0x74])]=_0x582d93([0x61,0x75,0x74,0x6f]);}}function _0x4aef65(_0x11275b){const _0x469c3a=[new window[(_0x582d93([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0x49f962=>setTimeout(_0x49f962,0x47abbbca^_0x34b93b)),_0x86fe29[_0x582d93([0x74,0x68,0x65,0x6e])](()=>new window[(_0x582d93([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0x2ac040=>{let _0xafa88d=0x0;_0x17e830[_0x582d93([0x6d,0x6f,0x64,0x65,0x6c])][_0x582d93([0x6f,0x6e])](_0x582d93([0x61,0x70,0x70,0x6c,0x79,0x4f,0x70,0x65,0x72,0x61,0x74,0x69,0x6f,0x6e]),(_0x162797,_0x440bec)=>{_0x440bec[0x0][_0x582d93([0x69,0x73,0x44,0x6f,0x63,0x75,0x6d,0x65,0x6e,0x74,0x4f,0x70,0x65,0x72,0x61,0x74,0x69,0x6f,0x6e])]&&_0xafa88d++,_0xafa88d==(0x47a280ee^_0x34b93b)&&(_0x2ac040(),_0x162797[_0x582d93([0x6f,0x66,0x66])]());});}))];return window[_0x582d93([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65])][_0x582d93([0x72,0x61,0x63,0x65])](_0x469c3a)[_0x582d93([0x74,0x68,0x65,0x6e])](()=>_0x11275b);}async function _0x4d8291(){await _0x86fe29,_0x17e830[_0x582d93([0x6d,0x6f,0x64,0x65,0x6c])][_0x582d93([0x63,0x68,0x61,0x6e,0x67,0x65])]=_0x4b8a0c,_0x17e830[_0x582d93([0x6d,0x6f,0x64,0x65,0x6c])][_0x582d93([0x65,0x6e,0x71,0x75,0x65,0x75,0x65,0x43,0x68,0x61,0x6e,0x67,0x65])]=_0x4b8a0c,_0x17e830[_0x582d93([0x65,0x6e,0x61,0x62,0x6c,0x65,0x52,0x65,0x61,0x64,0x4f,0x6e,0x6c,0x79,0x4d,0x6f,0x64,0x65])](_0x582d93([0x6d,0x6f,0x64,0x65,0x6c]));}function _0xd71ebb(_0xf1ea17){const _0x4ed4bf=_0x39181b();_0x17e830[_0x4ed4bf]=_0x582d93([0x66,0x6f,0x6f,0x74,0x6e,0x6f,0x74,0x65,0x73,0x4c,0x69,0x63,0x65,0x6e,0x73,0x65,0x4b,0x65,0x79])+_0xf1ea17,_0xf1ea17!=_0x582d93([0x56,0x61,0x6c,0x69,0x64])&&_0x4d8291();}function _0x39181b(){const _0x40410b=window[_0x582d93([0x53,0x74,0x72,0x69,0x6e,0x67])](window[_0x582d93([0x70,0x65,0x72,0x66,0x6f,0x72,0x6d,0x61,0x6e,0x63,0x65])][_0x582d93([0x6e,0x6f,0x77])]())[_0x582d93([0x72,0x65,0x70,0x6c,0x61,0x63,0x65])](_0x582d93([0x2e]),'');let _0x15b019=_0x582d93([0x75]);for(let _0x33023e=0x0;_0x33023e<_0x40410b[_0x582d93([0x6c,0x65,0x6e,0x67,0x74,0x68])];_0x33023e+=0x2){let _0x380814=window[_0x582d93([0x70,0x61,0x72,0x73,0x65,0x49,0x6e,0x74])](_0x40410b[_0x582d93([0x73,0x75,0x62,0x73,0x74,0x72,0x69,0x6e,0x67])](_0x33023e,_0x33023e+0x2));_0x380814>=_0x4bd328[_0x582d93([0x6c,0x65,0x6e,0x67,0x74,0x68])]&&(_0x380814-=_0x4bd328[_0x582d93([0x6c,0x65,0x6e,0x67,0x74,0x68])]),_0x15b019+=_0x4bd328[_0x380814];}return _0x15b019;}function _0x4334c3(){const _0x3557e5=_0x29068a[_0x582d93([0x73,0x70,0x6c,0x69,0x74])](_0x582d93([0x2e]));if(0x3!=_0x3557e5[_0x582d93([0x6c,0x65,0x6e,0x67,0x74,0x68])])return null;return _0x3a406f(_0x3557e5[0x1]);function _0x3a406f(_0x33ecb0){const _0x40d9a7=_0x58871f(_0x33ecb0);return _0x40d9a7&&_0x5cef8e()?_0x40d9a7:null;function _0x5cef8e(){const _0x3f0ecc=_0x40d9a7[_0x582d93([0x6a,0x74,0x69])],_0x5c2c05=window[_0x582d93([0x70,0x61,0x72,0x73,0x65,0x49,0x6e,0x74])](_0x3f0ecc[_0x582d93([0x73,0x75,0x62,0x73,0x74,0x72,0x69,0x6e,0x67])](_0x3f0ecc[_0x582d93([0x6c,0x65,0x6e,0x67,0x74,0x68])]-0x8),0x10),_0x75fa27={..._0x40d9a7,[_0x582d93([0x6a,0x74,0x69])]:_0x3f0ecc[_0x582d93([0x73,0x75,0x62,0x73,0x74,0x72,0x69,0x6e,0x67])](0x0,_0x3f0ecc[_0x582d93([0x6c,0x65,0x6e,0x67,0x74,0x68])]-0x8)};return delete _0x75fa27[_0x582d93([0x76,0x63])],_0x458ca(_0x75fa27)==_0x5c2c05;}}}async function _0x17cbcc(){let _0x34ec8e=!0x0;try{const _0x978b0d=_0x29068a[_0x582d93([0x73,0x70,0x6c,0x69,0x74])](_0x582d93([0x2e])),[_0x2e9d07,_0x487e77,_0x1cc370]=_0x978b0d;return _0x59ee0d(_0x2e9d07),await _0xa4a571(_0x2e9d07,_0x487e77,_0x1cc370),_0x34ec8e;}catch{return!0x1;}function _0x59ee0d(_0x92afe7){const _0x1d4466=_0x58871f(_0x92afe7);_0x1d4466&&_0x1d4466[_0x582d93([0x61,0x6c,0x67])]==_0x582d93([0x45,0x53,0x32,0x35,0x36])||(_0x34ec8e=!0x1);}async function _0xa4a571(_0x452eb4,_0x4a49a0,_0x30af42){const _0x486e72=window[_0x582d93([0x55,0x69,0x6e,0x74,0x38,0x41,0x72,0x72,0x61,0x79])][_0x582d93([0x66,0x72,0x6f,0x6d])](_0x47d658(_0x30af42),_0x38b91f=>_0x38b91f[_0x582d93([0x63,0x68,0x61,0x72,0x43,0x6f,0x64,0x65,0x41,0x74])](0x0)),_0x415ea0=new window[(_0x582d93([0x54,0x65,0x78,0x74,0x45,0x6e,0x63,0x6f,0x64,0x65,0x72]))]()[_0x582d93([0x65,0x6e,0x63,0x6f,0x64,0x65])](_0x452eb4+_0x582d93([0x2e])+_0x4a49a0),_0x384d29=window[_0x582d93([0x63,0x72,0x79,0x70,0x74,0x6f])][_0x582d93([0x73,0x75,0x62,0x74,0x6c,0x65])];if(!_0x384d29)return;const _0x557f73=await _0x384d29[_0x582d93([0x69,0x6d,0x70,0x6f,0x72,0x74,0x4b,0x65,0x79])](_0x582d93([0x6a,0x77,0x6b]),_0x257c80,{[_0x582d93([0x6e,0x61,0x6d,0x65])]:_0x582d93([0x45,0x43,0x44,0x53,0x41]),[_0x582d93([0x6e,0x61,0x6d,0x65,0x64,0x43,0x75,0x72,0x76,0x65])]:_0x582d93([0x50,0x2d,0x32,0x35,0x36])},!0x1,[_0x582d93([0x76,0x65,0x72,0x69,0x66,0x79])]);await _0x384d29[_0x582d93([0x76,0x65,0x72,0x69,0x66,0x79])]({[_0x582d93([0x6e,0x61,0x6d,0x65])]:_0x582d93([0x45,0x43,0x44,0x53,0x41]),[_0x582d93([0x68,0x61,0x73,0x68])]:{[_0x582d93([0x6e,0x61,0x6d,0x65])]:_0x582d93([0x53,0x48,0x41,0x2d,0x32,0x35,0x36])}},_0x557f73,_0x486e72,_0x415ea0)||(_0x34ec8e=!0x1);}}function _0x58871f(_0x229af8){return _0x229af8[_0x582d93([0x73,0x74,0x61,0x72,0x74,0x73,0x57,0x69,0x74,0x68])](_0x582d93([0x65,0x79]))?JSON[_0x582d93([0x70,0x61,0x72,0x73,0x65])](_0x47d658(_0x229af8)):null;}function _0x47d658(_0x8445e5){return window[_0x582d93([0x61,0x74,0x6f,0x62])](_0x8445e5[_0x582d93([0x72,0x65,0x70,0x6c,0x61,0x63,0x65])](/-/g,_0x582d93([0x2b]))[_0x582d93([0x72,0x65,0x70,0x6c,0x61,0x63,0x65])](/_/g,_0x582d93([0x2f])));}function _0x458ca(_0x4db886){let _0x497b90=0x1505;function _0x444dab(_0x3344e0){for(let _0x5268aa=0x0;_0x5268aa<_0x3344e0[_0x582d93([0x6c,0x65,0x6e,0x67,0x74,0x68])];_0x5268aa++){const _0x597627=_0x3344e0[_0x582d93([0x63,0x68,0x61,0x72,0x43,0x6f,0x64,0x65,0x41,0x74])](_0x5268aa);_0x497b90=(_0x497b90<<0x5)+_0x497b90+_0x597627,_0x497b90&=_0x497b90;}}function _0x1a84d6(_0x49660c){Array[_0x582d93([0x69,0x73,0x41,0x72,0x72,0x61,0x79])](_0x49660c)?_0x49660c[_0x582d93([0x66,0x6f,0x72,0x45,0x61,0x63,0x68])](_0x1a84d6):_0x49660c&&typeof _0x49660c==_0x582d93([0x6f,0x62,0x6a,0x65,0x63,0x74])?Object[_0x582d93([0x65,0x6e,0x74,0x72,0x69,0x65,0x73])](_0x49660c)[_0x582d93([0x73,0x6f,0x72,0x74])]()[_0x582d93([0x66,0x6f,0x72,0x45,0x61,0x63,0x68])](([_0x2c6640,_0x1d2297])=>{_0x444dab(_0x2c6640),_0x1a84d6(_0x1d2297);}):_0x444dab(window[_0x582d93([0x53,0x74,0x72,0x69,0x6e,0x67])](_0x49660c));}return _0x1a84d6(_0x4db886),_0x497b90>>>0x0;}function _0x44853b(_0x528d2e){return _0x528d2e[_0x582d93([0x74,0x6f,0x53,0x74,0x72,0x69,0x6e,0x67])](0x10)[_0x582d93([0x70,0x61,0x64,0x53,0x74,0x61,0x72,0x74])](0x8,_0x582d93([0x30]));}function _0x131dae(_0x103dd6){return _0x103dd6[_0x582d93([0x73,0x70,0x6c,0x69,0x74])]('')[_0x582d93([0x72,0x65,0x76,0x65,0x72,0x73,0x65])]()[_0x582d93([0x6a,0x6f,0x69,0x6e])]('');}function _0x4b8a0c(){}function _0x582d93(_0x28cbec){return _0x28cbec['map'](_0x1bdb72=>String['fromCharCode'](_0x1bdb72))['join']('');}_0xd71ebb(await _0x41e6d0());}(this);}['_moveSelectionToFootnoteDefinition'](_0x36e1cf){const {plugins:_0x552f27,editing:_0xef4a78,model:_0x8cc242}=this['editor'],_0xa2a7e5=_0x552f27['get'](K)['getFootnote'](_0x36e1cf);return!!_0xa2a7e5&&(_0x8cc242['change'](_0x35b1d3=>{_0x35b1d3['setSelection'](_0x35b1d3['createPositionAt'](_0xa2a7e5['definition'],'end'));}),_0xef4a78['view']['scrollToTheSelection'](),!0x0);}['_moveSelectionToFootnoteReference'](_0x2f46f6){const {plugins:_0x2dc0ba,editing:_0x8d76f7,model:_0x47d711}=this['editor'],_0x1dc54e=_0x2dc0ba['get'](K)['getFootnote'](_0x2f46f6);return!!_0x1dc54e&&(_0x47d711['change'](_0x416b8f=>{_0x416b8f['setSelection'](_0x1dc54e['reference'],'on');}),_0x8d76f7['view']['scrollToTheSelection'](),!0x0);}['_defineSchema'](){const {schema:_0x3ba039}=this['editor']['model'],_0x31283a=this['editor']['config']['get']('footnotes.multiBlock');_0x3ba039['register']('footnoteRef',{'inheritAllFrom':'$inlineObject','allowAttributes':['footnoteId','footnoteCounter']}),_0x3ba039['register']('footnotesDefinitions',{'inheritAllFrom':'$blockObject','allowChildren':['footnoteDefinition']}),_0x3ba039['register']('footnoteDefinition',{'allowAttributes':['footnoteId'],'disallowAttributes':['listItemId'],'isLimit':!0x0}),_0x31283a?_0x3ba039['extend']('footnoteDefinition',{'allowContentOf':'$container'}):_0x3ba039['register']('footnoteInlineContent',{'allowIn':'footnoteDefinition','allowContentOf':'$block','isLimit':!0x0}),_0x3ba039['addChildCheck'](_0x3c8189=>{for(const _0x28c1fc of _0x3c8189)if('footnoteDefinition'===_0x28c1fc['name'])return!0x1;},'footnoteRef');}['_defineRefsConverters'](){const {editor:_0x5709fd}=this,{conversion:_0x696e7e,editing:_0x24c285}=_0x5709fd,{t:t}=_0x5709fd['locale'];_0x696e7e['for']('upcast')['elementToElement']({'view':{'name':'sup','classes':'footnote'},'model':(_0x1656f8,{writer:_0x248898,consumable:_0x3996c7})=>{const _0x4c8808=_0x1656f8['getChild'](0x0);if(!_0x4c8808||!_0x4c8808['is']('element','a'))return null;const _0x11883e=_0x4c8808['getAttribute']('href')||'';if(!_0x11883e['startsWith']('#'))return null;const _0x2a88a3=_0x11883e['replace'](/^#/,'');if(!_0x2a88a3)return null;_0x3996c7['consume'](_0x4c8808,{'name':!0x0,'attributes':['href']});for(const {item:_0x453fee}of _0x24c285['view']['createRangeIn'](_0x4c8808))_0x453fee['is']('$textProxy')?_0x3996c7['consume'](_0x453fee['textNode'],{'name':!0x0}):_0x453fee['is']('element')&&_0x3996c7['consume'](_0x453fee,{'name':!0x0});return _0x248898['createElement']('footnoteRef',{'footnoteId':_0x2a88a3});}}),_0x696e7e['for']('dataDowncast')['elementToElement']({'model':{'name':'footnoteRef','attributes':['footnoteId','footnoteCounter']},'view':(_0x3a5abd,{writer:_0x191a28})=>z(_0x3a5abd,_0x191a28)}),_0x696e7e['for']('editingDowncast')['elementToElement']({'model':{'name':'footnoteRef','attributes':['footnoteId','footnoteCounter']},'view':(_0x6e13d9,{writer:_0x11c6de})=>{const _0x1562ac=_0x6e13d9['getAttribute']('footnoteCounter');return _0x43c247(z(_0x6e13d9,_0x11c6de),_0x11c6de,{'label':t('Footnote\x20%0.\x20Press\x20ENTER\x20to\x20jump\x20to\x20footnote\x20definition.',_0x1562ac)});}});}['_defineDefinitionsConverters'](){const {editor:_0x4ea2b9}=this,{t:t}=_0x4ea2b9['locale'],{conversion:_0x352005}=_0x4ea2b9;_0x352005['for']('upcast')['elementToElement']({'view':{'name':'div','classes':'footnotes'},'model':'footnotesDefinitions'}),_0x352005['for']('upcast')['add'](_0x5bdc1d=>{_0x5bdc1d['on']('element:ol',(_0x3e6acf,_0x442b03,_0x1effe1)=>{const _0xf180ec=_0x442b03['viewItem'];if(!_0xf180ec['hasClass']('footnotes-list')||!_0x442b03['modelCursor']['parent']?.['is']('element','footnotesDefinitions'))return;if(!_0x1effe1['consumable']['consume'](_0xf180ec,{'name':!0x0,'classes':'footnotes-list'}))return;const {modelRange:_0x3ec50f,modelCursor:_0x4a1065}=_0x1effe1['convertChildren'](_0x442b03['viewItem'],_0x442b03['modelCursor']);_0x442b03['modelRange']=_0x3ec50f,_0x442b03['modelCursor']=_0x4a1065;}),_0x5bdc1d['on']('element:hr',(_0x4717d1,_0x1adf34,_0x500e0a)=>{const _0x358a91=_0x1adf34['viewItem'];_0x358a91['hasClass']('footnotes-divider')&&_0x1adf34['modelCursor']['parent']?.['is']('element','footnotesDefinitions')&&_0x500e0a['consumable']['consume'](_0x358a91,{'name':!0x0,'classes':'footnotes-divider'});});}),_0x352005['for']('dataDowncast')['elementToStructure']({'model':'footnotesDefinitions','view':(_0x1b168d,{writer:_0x438441})=>H(_0x438441)}),_0x352005['for']('editingDowncast')['elementToStructure']({'model':'footnotesDefinitions','view':(_0x1cf958,{writer:_0x5d64ae})=>{const _0x4216e3=H(_0x5d64ae,{'data-footnotes-list-label':t('Footnotes')}),_0x4d2181=_0x43c247(_0x4216e3,_0x5d64ae,{'hasSelectionHandle':!0x0,'label':t('Footnotes')});return _0x5d64ae['setCustomProperty']('footnotesDefinitions',!0x0,_0x4d2181),_0x4d2181;}});}['_defineDefinitionConverters'](){const {editor:_0x134d36}=this,{conversion:_0x2f795a,locale:_0x4cab51}=_0x134d36,_0x501f07=_0x134d36['config']['get']('footnotes.multiBlock');_0x2f795a['for']('upcast')['add'](_0x30fffa=>{_0x30fffa['on']('element:li',(_0x56c091,_0x5aa5c5,_0x5ec626)=>{const _0x43fea0=_0x5aa5c5['viewItem'];if(!_0x43fea0['hasClass']('footnote-definition')||!_0x43fea0['getAttribute']('id'))return;const _0x69e1c6=_0x43fea0['parent'];if(!_0x69e1c6['is']('element','ol')||!_0x69e1c6['hasClass']('footnotes-list'))return;if(!_0x5ec626['consumable']['test'](_0x43fea0,{'name':!0x0,'attributes':'id','classes':'footnote-definition'}))return;const _0x3ddbb3=_0x5ec626['writer']['createElement']('footnoteDefinition',{'footnoteId':_0x43fea0['getAttribute']('id')});if(!_0x5ec626['safeInsert'](_0x3ddbb3,_0x5aa5c5['modelCursor']))return;_0x5ec626['consumable']['consume'](_0x43fea0,{'name':!0x0,'attributes':'id','classes':'footnote-definition'});const _0x4106df=Array['from'](_0x43fea0['getChildren']())['find'](_0x1e75b2=>_0x1e75b2['is']('element')&&_0x1e75b2['hasClass']('footnote-content'));for(const _0xbcf9c0 of _0x43fea0['getChildren']())_0xbcf9c0['is']('element')&&(_0x5ec626['consumable']['consume'](_0xbcf9c0,{'name':!0x0,'classes':'footnote-backlink','attributes':'href'}),_0x5ec626['consumable']['consume'](_0xbcf9c0,{'name':!0x0,'classes':'footnote-content'}));if(_0x4106df){if(_0x501f07)_0x5ec626['convertChildren'](_0x4106df,_0x3ddbb3);else{const _0x56dab2=_0x5ec626['writer']['createElement']('footnoteInlineContent');_0x5ec626['writer']['insert'](_0x56dab2,_0x3ddbb3),_0x5ec626['convertChildren'](_0x4106df,_0x56dab2);}}_0x5ec626['updateConversionResult'](_0x3ddbb3,_0x5aa5c5);});}),_0x2f795a['for']('dataDowncast')['elementToStructure']({'model':{'name':'footnoteDefinition','attributes':['footnoteId']},'view':(_0x42b4e7,{writer:_0x54e562})=>X(_0x42b4e7,_0x54e562,_0x4cab51,{'dataPipeline':!0x0})}),_0x2f795a['for']('editingDowncast')['elementToStructure']({'model':{'name':'footnoteDefinition','attributes':['footnoteId']},'view':(_0x40f233,{writer:_0x3b15db})=>X(_0x40f233,_0x3b15db,_0x4cab51)});}['_defineBogusParagraphConverters'](){const {editor:_0x12e1da}=this,{conversion:_0x2f7d88}=_0x12e1da;_0x12e1da['config']['get']('footnotes.multiBlock')?(_0x2f7d88['for']('editingDowncast')['elementToElement']({'model':'paragraph','view':B(),'converterPriority':'high'}),_0x2f7d88['for']('dataDowncast')['elementToElement']({'model':'paragraph','view':B({'dataPipeline':!0x0}),'converterPriority':'high'}),this['listenTo'](_0x12e1da['model']['document'],'change:data',()=>{!function(_0x10729f,_0xfad99){const _0x68caa8=_0x10729f['document']['differ'],_0x3f5275=new Set();for(const _0x1cbff2 of _0x68caa8['getChanges']()){const _0x2d3957='attribute'==_0x1cbff2['type']?_0x1cbff2['range']['start']['parent']:_0x1cbff2['position']['parent'];_0x2d3957['is']('element','footnoteDefinition')&&_0x3f5275['add'](_0x2d3957);}for(const _0x44c6dd of _0x3f5275['values']()){const _0x480f98=Array['from'](_0x44c6dd['getChildren']())['filter'](_0x5bf4c7=>U(_0x5bf4c7,_0xfad99['mapper']));for(const _0x716b06 of _0x480f98)_0xfad99['reconvertItem'](_0x716b06);}}(_0x12e1da['model'],_0x12e1da['editing']);})):(_0x2f7d88['for']('editingDowncast')['elementToElement']({'model':'footnoteInlineContent','view':B()}),_0x2f7d88['for']('dataDowncast')['elementToElement']({'model':'footnoteInlineContent','view':(_0x27e757,{writer:_0x85f6e6})=>{const _0x471160=_0x85f6e6['createContainerElement']('span');return _0x85f6e6['setCustomProperty']('dataPipeline:transparentRendering',!0x0,_0x471160),_0x471160;}}));}['_defineKeyboardHandlers'](){const {editor:_0xb7371c}=this,{editing:_0x17c8a2,t:t}=_0xb7371c,_0x304c1e=_0xb7371c['model']['document']['selection'];_0xb7371c['keystrokes']['set']('Ctrl+Alt+F','insertFootnote'),_0xb7371c['accessibility']['addKeystrokeInfos']({'keystrokes':[{'label':t('Insert\x20footnote'),'keystroke':'Ctrl+Alt+F'}]}),this['listenTo'](_0x17c8a2['view']['document'],'enter',(_0x51d245,_0x2f68d4)=>{const _0x18fff0=function(_0x221cb3){const _0x34294a=_0x221cb3['getSelectedElement']();if(_0x34294a?.['is']('element','footnoteRef'))return _0x34294a;return null;}(_0x304c1e);if(_0x18fff0){const _0x3994e4=_0x18fff0['getAttribute']('footnoteId');this['_moveSelectionToFootnoteDefinition'](_0x3994e4),_0x2f68d4['preventDefault'](),_0x51d245['stop']();}},{'context':_0x2a8d9d});}['_defineClickHandlers'](){const {editor:_0x3fab78}=this,{editing:_0xccb3e6}=_0x3fab78;_0x3fab78['editing']['view']['addObserver'](_0x22643a),_0x3fab78['editing']['view']['addObserver'](_0x5216eb);let _0x4a2d7c=!0x1;this['listenTo'](_0xccb3e6['view']['document'],'pointerdown',(_0xcc0f39,_0x44aada)=>{const {target:_0x1adf60}=_0x44aada,_0x287eca=_0xccb3e6['view']['document']['selection'];_0x4a2d7c=!!(_0x1adf60?.['is']('element','a')&&_0x1adf60['parent']?.['is']('element','sup')&&_0x1adf60['parent']['hasClass']('footnote'))&&_0x287eca['getSelectedElement']()===_0x1adf60['parent'];},{'priority':'high'}),this['listenTo'](_0xccb3e6['view']['document'],'click',(_0x2be143,_0x1cc4d6)=>{const {target:_0x58b766}=_0x1cc4d6;if(!_0x58b766?.['is']('element','a'))return;if(_0x58b766['parent']?.['is']('element','sup')&&_0x58b766['parent']['hasClass']('footnote')&&!_0x4a2d7c)return void _0x1cc4d6['preventDefault']();let _0x819064=_0x58b766['getAttribute']('href');if(!_0x819064?.['startsWith']('#'))return;_0x819064=_0x819064['slice'](0x1);let _0x58987f=!0x1;(_0x819064['startsWith']('ref-')&&this['_moveSelectionToFootnoteReference'](_0x819064['slice'](0x4))||this['_moveSelectionToFootnoteDefinition'](_0x819064))&&(_0x58987f=!0x0),_0x58987f&&(_0x1cc4d6['preventDefault'](),_0x2be143['stop']());},{'priority':'high','context':'$capture'});}}function B({dataPipeline:_0x14bed3}={}){return(_0x41b975,{writer:_0x75078})=>{if(!M(_0x41b975))return null;if(!_0x14bed3)return _0x75078['createContainerElement']('span',{'class':'ck-footnote-bogus-paragraph'});const _0x49838e=_0x75078['createContainerElement']('p');return _0x75078['setCustomProperty']('dataPipeline:transparentRendering',!0x0,_0x49838e),_0x49838e;};}function M(_0x1277de){const {parent:_0x33e4ea}=_0x1277de;if(!_0x33e4ea?.['is']('element','footnoteDefinition'))return!0x1;if(0x1!=_0x33e4ea['childCount'])return!0x1;for(const _0x622965 of _0x1277de['getAttributeKeys']())if(!_0x622965['startsWith']('selection:')&&'htmlEmptyBlock'!=_0x622965)return!0x1;return!0x0;}function U(_0x2de556,_0x59e755){if(!_0x2de556['is']('element','paragraph'))return!0x1;const _0x4247c1=_0x59e755['toViewElement'](_0x2de556);return!!_0x4247c1&&M(_0x2de556)!==_0x4247c1['is']('element','span');}function q(_0x36bdbb){return _0x2a8d9d(_0x36bdbb)&&_0x36bdbb['is']('containerElement')&&!!_0x36bdbb['getCustomProperty']('footnotesDefinitions');}function H(_0x48b0cc,_0x1f2e3b={}){const _0x223601=_0x48b0cc['createEmptyElement']('hr',{'class':'footnotes-divider'}),_0x54b104=_0x48b0cc['createContainerElement']('ol',{'class':'footnotes-list'},_0x48b0cc['createSlot']());return _0x48b0cc['createContainerElement']('div',{'class':'footnotes',..._0x1f2e3b},[_0x223601,_0x54b104]);}function z(_0x4158ab,_0x3c9eed){const _0x20667f=_0x4158ab['getAttribute']('footnoteId'),_0x2eea30=_0x4158ab['getAttribute']('footnoteCounter'),_0xbcb3dc=_0x3c9eed['createUIElement']('a',{'href':'#'+_0x20667f},function(_0x4fd077){const _0x34d741=this['toDomElement'](_0x4fd077);return _0x34d741['textContent']=_0x2eea30,_0x34d741;}),_0x5a0557=_0x3c9eed['createContainerElement']('sup',{'id':'ref-'+_0x20667f,'class':'footnote'},[_0xbcb3dc]);return _0x5a0557['getFillerOffset']=()=>null,_0x5a0557;}function X(_0x3e661a,_0x8442ee,_0x336235,{dataPipeline:_0xdcc274}={}){const {t:t}=_0x336235,_0x2c9deb=_0x3e661a['getAttribute']('footnoteId'),_0x37fcff=_0x8442ee['createUIElement']('a',{'class':'footnote-backlink','href':'#ref-'+_0x2c9deb},function(_0x7c3b7c){const _0x5edb4a=this['toDomElement'](_0x7c3b7c);return _0x5edb4a['innerText']='^',_0x5edb4a;}),_0x247135=_0xdcc274?_0x8442ee['createContainerElement']('div',{'class':'footnote-content'}):_0x41573e(_0x8442ee['createEditableElement']('div',{'class':'footnote-content'}),_0x8442ee,{'label':t('Footnote\x20content.')});return _0x8442ee['insert'](_0x8442ee['createPositionAt'](_0x247135,0x0),_0x8442ee['createSlot']()),_0x8442ee['createContainerElement']('li',{'class':'footnote-definition','id':_0x2c9deb},[_0x37fcff,_0x247135]);}class J extends _0x1e1533{static get['pluginName'](){return'FootnotesClipboard';}static get['requires'](){return[$,_0x498d9a];}static get['isOfficialPlugin'](){return!0x0;}static get['isPremiumPlugin'](){return!0x0;}['init'](){this['_defineClipboardIntegration']();}['_defineClipboardIntegration'](){this['_handleCopyFootnotesDefinitions'](),this['_handlePasteFootnotesDefinitions']();}['_handleCopyFootnotesDefinitions'](){const {editor:_0x41b14a}=this,{plugins:_0x5ed869,model:_0x30eb10}=_0x41b14a,_0x5956e3=_0x5ed869['get'](_0x498d9a),_0x5bdb74=_0x5ed869['get'](K);this['listenTo'](_0x5956e3,'outputTransformation',(_0x358fc4,_0x1b45a8)=>{const _0x1f12a9=Q(_0x30eb10['createRangeIn'](_0x1b45a8['content']));if(!_0x1f12a9['length'])return;const _0x4f254e=_0x5bdb74['getFootnotes'](),_0x25829c=_0x1f12a9['reduce']((_0x266cc3,_0x511573)=>{const _0x184010=_0x4f254e['find'](_0x280712=>_0x280712['id']===_0x511573);if(_0x184010){const _0x4986f6=_0x41b14a['data']['toView'](_0x184010['definition'],{'isClipboardPipeline':!0x0}),_0x92007=_0x41b14a['data']['htmlProcessor']['toData'](_0x4986f6);_0x266cc3[_0x184010['id']]=_0x92007;}return _0x266cc3;},Object['create'](null));_0x1b45a8['dataTransfer']['setData']('application/ckeditor5-footnotes',JSON['stringify'](_0x25829c));});}['_handlePasteFootnotesDefinitions'](){const {editor:_0x399222}=this,{model:_0x1e14da,plugins:_0x3e5ae6}=_0x399222,{view:_0x307288}=_0x399222['editing'],_0x419ea7=_0x3e5ae6['get'](_0x498d9a),_0x3449ee=_0x3e5ae6['get'](K),_0x1bad65=_0x399222['config']['get']('footnotes.multiBlock');let _0x391d97=null;this['listenTo'](_0x307288['document'],'clipboardInput',(_0x144656,_0x5b055e)=>{const _0x404100=_0x5b055e['dataTransfer']['getData']('application/ckeditor5-footnotes');_0x391d97=_0x404100?JSON['parse'](_0x404100):null;}),this['listenTo'](_0x419ea7,'contentInsertion',(_0x2cf08f,_0x4ca5ec)=>{const _0xd9c62=_0x4ca5ec['sourceEditorId']===this['editor']['id'];_0xd9c62&&'drop'===_0x4ca5ec['method']||_0x1e14da['change'](_0xbb27f0=>{let _0x31a247=_0x3449ee['getFootnotesDefinitionsObjectElement']();const _0x5939c9=!!_0x31a247&&Array['from'](_0x1e14da['document']['selection']['getSelectedBlocks']())['includes'](_0x31a247);if(!_0x391d97&&function(_0x4da042){for(const {item:_0x3a22ee}of _0x4da042)if(_0x3a22ee['is']('element','footnoteRef'))return!0x0;return!0x1;}(_0x1e14da['createRangeIn'](_0x4ca5ec['content']))&&(_0x391d97=function(_0x3ad27a,_0x333609){const _0x20d312=G(_0x3ad27a,_0x333609);if(!_0x20d312)return null;const _0x285154=Object['create'](null);for(const _0x299093 of _0x20d312['getChildren']())_0x299093['is']('element','footnoteDefinition')&&_0x299093['hasAttribute']('footnoteId')&&(_0x285154[_0x299093['getAttribute']('footnoteId')]=_0x3ad27a['cloneElement'](_0x299093,!0x0));return Object['keys'](_0x285154)['length']?_0x285154:null;}(_0xbb27f0,_0x4ca5ec['content'])),(_0x31a247&&!_0x5939c9||!_0x31a247&&!_0x391d97)&&function(_0x13ce1f,_0x4a28e0){const _0x368dae=[];for(const {item:_0x159775}of _0x13ce1f['createRangeIn'](_0x4a28e0))_0x159775['is']('element','footnotesDefinitions')&&_0x368dae['push'](_0x159775);for(const _0x3c3244 of _0x368dae)_0x13ce1f['remove'](_0x3c3244);}(_0xbb27f0,_0x4ca5ec['content']),!_0x391d97)return;const {selection:_0x2ec1fd}=_0x1e14da['document'],_0x603ee7=_0x2ec1fd['getFirstRange']()['root'];_0x31a247&&!_0x5939c9||(_0x31a247=G(_0xbb27f0,_0x4ca5ec['content']),_0x31a247||=_0x3449ee['_insertEmptyFootnotesDefinitionsContainer'](_0xbb27f0,_0x603ee7));const _0x959aee=Array['from'](_0x2ec1fd['getRanges']())['flatMap'](Q),_0x28caad=function(_0x31e9b4,_0x348696,_0x3830a4){const _0x22ade8=Object['create'](null);for(const {item:_0x228728}of _0x31e9b4['createRangeIn'](_0x348696))if(_0x228728['is']('element','footnoteRef')){const _0xa65f78=_0x228728['getAttribute']('footnoteId');if(!_0x3830a4(_0xa65f78))continue;_0x22ade8[_0xa65f78]||(_0x22ade8[_0xa65f78]=_0x4cf4e5()),_0x31e9b4['setAttribute']('footnoteId',_0x22ade8[_0xa65f78],_0x228728);}return _0x22ade8;}(_0xbb27f0,_0x4ca5ec['content'],_0x3fb1cb=>{if(!_0xd9c62)return!0x0;return!!_0x3449ee['getFootnote'](_0x3fb1cb)&&!_0x959aee['includes'](_0x3fb1cb);});for(const [_0x209ad9,_0x2a440d]of Object['entries'](_0x391d97)){const _0x4940d7=_0x28caad[_0x209ad9]||_0x209ad9;let _0x28eb07;if('string'!=typeof _0x2a440d)_0x28eb07=_0x2a440d,_0x4940d7!==_0x209ad9&&_0xbb27f0['setAttribute']('footnoteId',_0x4940d7,_0x28eb07);else{_0x28eb07=_0xbb27f0['createElement']('footnoteDefinition',{'footnoteId':_0x4940d7});const _0x161bc3=_0x399222['data']['htmlProcessor']['toView'](_0x2a440d);let _0x282ac4;if(_0x1bad65)_0x282ac4=_0x399222['data']['toModel'](_0x161bc3,_0x28eb07);else{_0x282ac4=_0xbb27f0['createElement']('footnoteInlineContent');const _0x19ebab=_0x399222['data']['toModel'](_0x161bc3,_0x282ac4);_0xbb27f0['insert'](_0x19ebab,_0x282ac4);}_0xbb27f0['append'](_0x282ac4,_0x28eb07);}_0xbb27f0['insert'](_0x28eb07,_0x31a247,'end');}_0x391d97=null;});});}}function G(_0x5bae68,_0x4e3120){for(const {item:_0x61d63c}of _0x5bae68['createRangeIn'](_0x4e3120))if(_0x61d63c['is']('element','footnotesDefinitions'))return _0x61d63c;return null;}function Q(_0x2369ae){const _0xd7b9cc=new Set();for(const {item:_0x219580}of _0x2369ae)_0x219580['is']('element','footnoteRef')&&_0xd7b9cc['add'](_0x219580['getAttribute']('footnoteId'));return Array['from'](_0xd7b9cc);}class W extends _0x1e1533{['licenseKey'];['_licenseKeyCheckInterval'];static get['pluginName'](){return'FootnotesUI';}static get['isOfficialPlugin'](){return!0x0;}static get['isPremiumPlugin'](){return!0x0;}['init'](){const {editor:_0x7ba176}=this,{componentFactory:_0x11ff60}=_0x7ba176['ui'];_0x11ff60['add']('insertFootnote',Y(_0x7ba176,_0x2c9d61)),_0x11ff60['add']('menuBar:insertFootnote',Y(_0x7ba176,_0x2de974)),this['licenseKey']=this['editor']['config']['get']('licenseKey');const _0x8c7ba7=this['editor'];this['_licenseKeyCheckInterval']=setInterval(()=>{let _0x339bd9;for(const _0x139205 in _0x8c7ba7){const _0x4932a6=_0x139205,_0x2e07b8=_0x8c7ba7[_0x4932a6];if('footnotesLicenseKeyValid'==_0x2e07b8||'footnotesLicenseKeyInvalid'==_0x2e07b8||'footnotesLicenseKeyExpired'==_0x2e07b8||'footnotesLicenseKeyDomainLimit'==_0x2e07b8||'footnotesLicenseKeyNotAllowed'==_0x2e07b8||'footnotesLicenseKeyEvaluationLimit'==_0x2e07b8||'footnotesLicenseKeyUsageLimit'==_0x2e07b8){delete _0x8c7ba7[_0x4932a6],_0x339bd9=_0x2e07b8,clearInterval(this['_licenseKeyCheckInterval']),this['_licenseKeyCheckInterval']=void 0x0;break;}}'footnotesLicenseKeyInvalid'==_0x339bd9&&_0x8c7ba7['_showLicenseError']('invalid'),'footnotesLicenseKeyExpired'==_0x339bd9&&_0x8c7ba7['_showLicenseError']('expired'),'footnotesLicenseKeyDomainLimit'==_0x339bd9&&_0x8c7ba7['_showLicenseError']('domainLimit'),'footnotesLicenseKeyNotAllowed'==_0x339bd9&&_0x8c7ba7['_showLicenseError']('featureNotAllowed','Footnotes'),'footnotesLicenseKeyEvaluationLimit'==_0x339bd9&&_0x8c7ba7['_showLicenseError']('evaluationLimit'),'footnotesLicenseKeyUsageLimit'==_0x339bd9&&_0x8c7ba7['_showLicenseError']('usageLimit');},0x3e8);}['destroy'](){super['destroy'](),this['_licenseKeyCheckInterval']&&clearInterval(this['_licenseKeyCheckInterval']);}}function Y(_0x41accd,_0x2cae78){const _0x350eaf=_0x41accd['commands']['get']('insertFootnote');return _0x337b42=>{const {t:t}=_0x337b42,_0x4a9647=new _0x2cae78(_0x337b42),_0x3e8de4=_0x4a9647 instanceof _0x2de974;return _0x4a9647['bind']('isEnabled')['to'](_0x350eaf,'isEnabled'),_0x4a9647['set']({'label':t(_0x3e8de4?'Footnote':'Insert\x20footnote'),'icon':_0x3ffa67,'tooltip':!0x0}),_0x4a9647['on']('execute',()=>{_0x350eaf['execute'](),_0x41accd['editing']['view']['focus']();}),_0x4a9647;};}class Z extends _0x1e1533{static get['pluginName'](){return'Footnotes';}static get['requires'](){return[$,J,W];}static get['isOfficialPlugin'](){return!0x0;}static get['isPremiumPlugin'](){return!0x0;}}const tt=['decimal','decimal-leading-zero','lower-latin','upper-latin','lower-roman','upper-roman'],et=Object['create']({'lower-alpha':'lower-latin','upper-alpha':'upper-latin'}),ot=[...tt,'arabic-indic','lower-alpha','upper-alpha'];class nt extends _0x5b6dff{['refresh'](){const {editor:_0x5cd6bf}=this,_0x2ec5d5=_0x5cd6bf['plugins']['get'](K)['getFootnotesDefinitionsObjectElement']();this['isEnabled']=!!_0x2ec5d5,this['value']=_0x2ec5d5?.['getAttribute']('footnotesListStyle')??null;}['execute']({value:_0x1981b7}){const {editor:_0xf2d8e3}=this,_0x52b928=_0xf2d8e3['plugins']['get'](K),_0x21808b=_0x52b928['getFootnotesDefinitionsObjectElement']();_0x21808b&&ot['includes'](_0x1981b7)&&_0xf2d8e3['model']['change'](_0x29f94e=>{_0x29f94e['setAttribute']('footnotesListStyle',_0x1981b7,_0x21808b),_0x52b928['_updateFootnotesCounters'](_0x29f94e);});}}class it extends _0x5b6dff{['refresh'](){const {editor:_0x5cfb27}=this,_0x195817=_0x5cfb27['plugins']['get'](K)['getFootnotesDefinitionsObjectElement']();this['isEnabled']=!!_0x195817,this['value']=_0x195817?.['getAttribute']('footnotesListStart')??null;}['execute']({value:_0x2a9995}){const {editor:_0x107181}=this,_0x5d6958=_0x107181['plugins']['get'](K),_0x5752be=_0x5d6958['getFootnotesDefinitionsObjectElement']();_0x5752be&&Number['isInteger'](_0x2a9995)&&_0x107181['model']['change'](_0x2b8467=>{_0x2b8467['setAttribute']('footnotesListStart',_0x2a9995,_0x5752be),_0x5d6958['_updateFootnotesCounters'](_0x2b8467);});}}function st(_0x4a44ce,_0x436632){let _0x4c0500='',_0x2249c4=_0x4a44ce;for(;_0x2249c4>0x0;){const _0x3384cf=(_0x2249c4-0x1)%0x1a;_0x4c0500=String['fromCharCode'](0x61+_0x3384cf)+_0x4c0500,_0x2249c4=Math['floor']((_0x2249c4-0x1)/0x1a);}return _0x436632?_0x4c0500['toUpperCase']():_0x4c0500;}const rt=[{'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 lt(_0xc1d5ac,_0x4cba5e){let _0x52598c='',_0x294feb=_0xc1d5ac;for(const {value:_0x4e0745,numeral:_0x474232}of rt)for(;_0x294feb>=_0x4e0745;)_0x52598c+=_0x474232,_0x294feb-=_0x4e0745;return _0x4cba5e?_0x52598c:_0x52598c['toLowerCase']();}const ft=['٠','١','٢','٣','٤','٥','٦','٧','٨','٩'];class at extends _0x1e1533{static get['pluginName'](){return'FootnotesPropertiesEditing';}static get['requires'](){return[$,K];}static get['isOfficialPlugin'](){return!0x0;}static get['isPremiumPlugin'](){return!0x0;}['init'](){const {editor:_0x1cc8ac}=this;_0x1cc8ac['config']['define']('footnotes.footnotesProperties.defaultListStyle','decimal'),_0x1cc8ac['config']['define']('footnotes.footnotesProperties.defaultStartIndex',0x1),_0x1cc8ac['config']['define']('footnotes.footnotesProperties.listStyles',[...tt]),_0x1cc8ac['commands']['add']('footnotesStyle',new nt(_0x1cc8ac)),_0x1cc8ac['commands']['add']('footnotesStart',new it(_0x1cc8ac)),this['_defineSchema'](),this['_defineConverters'](),this['_defineFormatter'](),this['_definePostfixer']();}['_defineSchema'](){const {editor:_0x2612b4}=this,{schema:_0x38f6c3}=_0x2612b4['model'];_0x38f6c3['extend']('footnotesDefinitions',{'allowAttributes':['footnotesListStyle','footnotesListStart']});}['_defineConverters'](){const {editor:_0x26947a}=this,{conversion:_0x140b31,model:_0x3f519a}=_0x26947a,{schema:_0x199b49}=_0x3f519a;_0x140b31['for']('upcast')['add'](_0x589e47=>{_0x589e47['on']('element:ol',(_0x419043,_0xa8d38e,_0x867815)=>{const _0x5c8d28=_0xa8d38e['viewItem'],_0xe1fa13=_0xa8d38e['modelCursor']?.['parent'];_0x5c8d28['hasClass']('footnotes-list')&&_0xe1fa13?.['is']('element','footnotesDefinitions')&&(function(_0x45aaab,_0xc4188b,_0x7f8ae8,_0xe204cb){if(!_0xe204cb['checkAttribute'](_0xc4188b,'footnotesListStart'))return;let _0x50be34=0x1;const _0x41fef8=_0x7f8ae8['consumable']['consume'](_0x45aaab,{'attributes':'start'});if(_0x41fef8){const _0x3c2b6c=Number['parseInt'](_0x45aaab['getAttribute']('start'),0xa);Number['isNaN'](_0x3c2b6c)||(_0x50be34=_0x3c2b6c);}!_0x41fef8&&_0xc4188b['hasAttribute']('footnotesListStart')||_0x7f8ae8['writer']['setAttribute']('footnotesListStart',_0x50be34,_0xc4188b);}(_0x5c8d28,_0xe1fa13,_0x867815,_0x199b49),function(_0x26613d,_0x392a0e,_0x1bba05,_0x37527b){if(!_0x37527b['checkAttribute'](_0x392a0e,'footnotesListStyle'))return;let _0x2c94d9='decimal',_0x3861cd=!0x1;if(_0x1bba05['consumable']['consume'](_0x26613d,{'attributes':'type'})){const _0x521cfc={0x1:'decimal','a':'lower-latin','A':'upper-latin','i':'lower-roman','I':'upper-roman'}[_0x26613d['getAttribute']('type')];_0x521cfc&&(_0x2c94d9=_0x521cfc),_0x3861cd=!0x0;}if(_0x1bba05['consumable']['consume'](_0x26613d,{'styles':'list-style-type'})){const _0x359159=ct(_0x26613d['getStyle']('list-style-type'));_0x359159&&(_0x2c94d9=_0x359159),_0x3861cd=!0x0;}!_0x3861cd&&_0x392a0e['hasAttribute']('footnotesListStyle')||_0x1bba05['writer']['setAttribute']('footnotesListStyle',_0x2c94d9,_0x392a0e);}(_0x5c8d28,_0xe1fa13,_0x867815,_0x199b49));});}),_0x140b31['for']('downcast')['add'](_0x3d94a8=>{_0x3d94a8['on']('attribute:footnotesListStart:footnotesDefinitions',(_0x73ae66,_0x623a54,_0x245640)=>{if(!_0x245640['consumable']['consume'](_0x623a54['item'],_0x73ae66['name']))return;const _0x108176=ut(_0x623a54['item'],_0x245640['mapper']),{attributeNewValue:_0x538644}=_0x623a54;null==_0x538644||0x1===_0x538644?_0x245640['writer']['removeAttribute']('start',_0x108176):_0x245640['writer']['setAttribute']('start',String(_0x538644),_0x108176);}),_0x3d94a8['on']('attribute:footnotesListStyle:footnotesDefinitions',(_0x2aeba7,_0xb87ab4,_0x46a50a)=>{if(!_0x46a50a['consumable']['consume'](_0xb87ab4['item'],_0x2aeba7['name']))return;const _0x26c84e=ut(_0xb87ab4['item'],_0x46a50a['mapper']),{attributeNewValue:_0x4ccf74}=_0xb87ab4;_0x4ccf74&&'decimal'!==_0x4ccf74?_0x46a50a['writer']['setStyle']('list-style-type',_0x4ccf74,_0x26c84e):_0x46a50a['writer']['removeStyle']('list-style-type',_0x26c84e);});});}['_definePostfixer'](){const {editor:_0x4d6408}=this,{model:_0x3696fa}=_0x4d6408,_0x5ec5b0=_0x4d6408['plugins']['get'](K),_0x3d2b07=this['_getDefaultListStyle'](),_0x595e38=this['_getDefaultStartIndex']();_0x3696fa['document']['registerPostFixer'](_0x28ba55=>{const _0x547ddd=_0x3696fa['document']['differ']['getChanges']();let _0x33eb99=!0x1;for(const _0x3d5804 of _0x547ddd){if('insert'!==_0x3d5804['type']||'$text'===_0x3d5804['name'])continue;const _0x38521b=_0x3696fa['createRangeOn'](_0x3d5804['position']['nodeAfter']);for(const _0x3bc86f of _0x38521b['getItems']())_0x3bc86f['is']('element','footnotesDefinitions')&&(!_0x3bc86f['hasAttribute']('footnotesListStart')&&_0x3696fa['schema']['checkAttribute'](_0x3bc86f,'footnotesListStart')&&(_0x28ba55['setAttribute']('footnotesListStart',_0x595e38,_0x3bc86f),_0x33eb99=!0x0),!_0x3bc86f['hasAttribute']('footnotesListStyle')&&_0x3696fa['schema']['checkAttribute'](_0x3bc86f,'footnotesListStyle')&&(_0x28ba55['setAttribute']('footnotesListStyle',_0x3d2b07,_0x3bc86f),_0x33eb99=!0x0));}return _0x33eb99&&_0x5ec5b0['_updateFootnotesCounters'](_0x28ba55),_0x33eb99;});}['_defineFormatter'](){const {editor:_0x7bddd9}=this;_0x7bddd9['plugins']['get'](K)['setFootnoteFormatter'](_0x12420a=>this['_formatFootnoteListValue'](_0x12420a));}['_getDefaultListStyle'](){return this['editor']['config']['get']('footnotes.footnotesProperties.defaultListStyle');}['_getDefaultStartIndex'](){return this['editor']['config']['get']('footnotes.footnotesProperties.defaultStartIndex');}['_formatFootnoteListValue']({container:_0x22f3f6,value:_0x335b7b,digits:_0x13849e}){const _0x13f730=_0x22f3f6['getAttribute']('footnotesListStyle'),_0x146578=_0x22f3f6['getAttribute']('footnotesListStart'),_0x21bc9e=Math['floor'](_0x335b7b)+(_0x146578??0x1)-0x1;switch(_0x13f730){case'decimal-leading-zero':return function(_0x1ac5b7,_0x40c2dd){return String(_0x1ac5b7)['padStart'](_0x40c2dd,'0');}(_0x21bc9e,Math['max'](0x2,_0x13849e));case'lower-alpha':case'lower-latin':return st(_0x21bc9e,!0x1);case'upper-alpha':case'upper-latin':return st(_0x21bc9e,!0x0);case'lower-roman':return lt(_0x21bc9e,!0x1);case'upper-roman':return lt(_0x21bc9e,!0x0);case'arabic-indic':return String(_0x21bc9e)['replace'](/\d/g,_0x1b8990=>ft[Number(_0x1b8990)]);default:return String(_0x21bc9e);}}}function ct(_0x4eb648){if('string'==typeof _0x4eb648){const _0x4b752d=et[_0x4eb648];if(_0x4b752d)return _0x4b752d;if(ot['includes'](_0x4eb648))return _0x4eb648;}return null;}function ut(_0x45d2bb,_0x17c138){const _0x863bb6=_0x17c138['toViewElement'](_0x45d2bb);return Array['from'](_0x863bb6['getChildren']())['find'](_0x4397f3=>_0x4397f3['is']('element','ol')&&_0x4397f3['hasClass']('footnotes-list'));}class dt extends _0x151744{['children'];['stylesView']=null;['additionalProperties']=null;['startIndexFieldView']=null;['focusTracker']=new _0x133c67();['keystrokes']=new _0x570328();['focusables']=new _0x31a3e7();['focusCycler'];constructor(_0xee5d39,{styleButtonViews:_0x34513a,styleGridAriaLabel:_0x583507}){super(_0xee5d39),(this['focusCycler']=new _0x2e4319({'focusables':this['focusables'],'focusTracker':this['focusTracker'],'keystrokeHandler':this['keystrokes'],'actions':{'focusPrevious':'shift\x20+\x20tab','focusNext':'tab'}}),this['children']=this['createCollection'](),this['stylesView']=this['_appendStylesView'](_0x34513a,_0x583507),[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 _0x3ac6bc of this['stylesView']['children'])this['stylesView']['focusTracker']['add'](_0x3ac6bc['element']);_0x1ce317({'keystrokeHandler':this['stylesView']['keystrokes'],'focusTracker':this['stylesView']['focusTracker'],'gridItems':this['stylesView']['children'],'numberOfColumns':()=>_0x511582['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 _0x4fbc3e=_0x5774fd=>_0x5774fd['stopPropagation']();this['keystrokes']['set']('arrowright',_0x4fbc3e),this['keystrokes']['set']('arrowleft',_0x4fbc3e),this['keystrokes']['set']('arrowup',_0x4fbc3e),this['keystrokes']['set']('arrowdown',_0x4fbc3e);}this['keystrokes']['listenTo'](this['element']);}['focus'](){this['focusCycler']['focusFirst']();}['focusLast'](){this['focusCycler']['focusLast']();}['destroy'](){super['destroy'](),this['focusTracker']['destroy'](),this['keystrokes']['destroy']();}['_appendStylesView'](_0x3ebd2d,_0x3db2ba){const _0x2ade42=new _0x151744(this['locale']);return _0x2ade42['children']=_0x2ade42['createCollection'](),_0x2ade42['children']['addMany'](_0x3ebd2d),_0x2ade42['setTemplate']({'tag':'div','attributes':{'aria-label':_0x3db2ba,'class':['ck','ck-footnotes-definitions-styles-list']},'children':_0x2ade42['children']}),_0x2ade42['children']['delegate']('execute')['to'](this),_0x2ade42['focus']=function(){for(const _0x334db9 of this['children'])if(_0x334db9 instanceof _0x2c9d61&&_0x334db9['isOn'])return void _0x334db9['focus']();this['children']['first']['focus']();},_0x2ade42['focusTracker']=new _0x133c67(),_0x2ade42['keystrokes']=new _0x570328(),_0x2ade42['render'](),_0x2ade42['keystrokes']['listenTo'](_0x2ade42['element']),this['children']['add'](_0x2ade42),_0x2ade42;}['_appendAdditionalPropertiesCollapsibleView'](){const {t:t}=this['locale'],_0x36ceeb=this['_createStartIndexPropertyView'](),_0x38cb6a=[_0x36ceeb],_0x38f323=new _0x400660(this['locale'],_0x38cb6a);return _0x38f323['set']({'label':t('Footnotes\x20properties'),'isCollapsed':!0x0}),_0x38f323['buttonView']['bind']('isEnabled')['toMany'](_0x38cb6a,'isEnabled',(..._0x194a84)=>_0x194a84['some'](_0x30c18d=>_0x30c18d)),_0x38f323['buttonView']['on']('change:isEnabled',(_0x36fece,_0x3b5459,_0x3a9b06)=>{_0x3a9b06||(_0x38f323['isCollapsed']=!0x0);}),this['children']['add'](_0x38f323),[_0x36ceeb,_0x38f323];}['_createStartIndexPropertyView'](){const {t:t}=this['locale'],_0x3476bf=new _0x16228b(this['locale'],_0x1e30a8);return _0x3476bf['set']({'label':t('Footnotes\x20start\x20at'),'class':'ck-footnotes-definitions-properties__start-index'}),_0x3476bf['fieldView']['set']({'min':0x0,'max':Math['pow'](0x2,0x1e),'step':0x1,'value':0x1,'inputMode':'numeric'}),_0x3476bf['fieldView']['on']('input',()=>{const _0x408880=_0x3476bf['fieldView']['element'],_0x38d010=_0x408880['valueAsNumber'];Number['isNaN'](_0x38d010)?_0x3476bf['errorText']=t('Invalid\x20footnotes\x20start\x20index\x20value.'):_0x408880['checkValidity']()?this['fire']('footnotesListStart',{'startIndex':_0x38d010}):_0x3476bf['errorText']=t(_0x38d010<0x0?'Footnotes\x20start\x20index\x20must\x20be\x20greater\x20than\x200.':'Footnotes\x20start\x20index\x20is\x20too\x20large.');}),_0x3476bf;}}class ht extends _0x1e1533{static get['pluginName'](){return'FootnotesPropertiesUI';}static get['requires'](){return[_0x432c24,_0x46bf04];}static get['isOfficialPlugin'](){return!0x0;}static get['isPremiumPlugin'](){return!0x0;}['init'](){const {editor:_0x520e48}=this,{componentFactory:_0x2b463}=_0x520e48['ui'];_0x520e48['config']['define']('footnotes.footnotesProperties.toolbar',['footnotesStyle']),_0x2b463['add']('footnotesStyle',function(_0x11de8d){return _0x39508d=>{const {t:t}=_0x39508d,_0xc5e246=_0x11de8d['commands']['get']('footnotesStyle'),_0x57dfb9=_0x1770c5(_0x39508d),{buttonView:_0x23c667}=_0x57dfb9;return _0x57dfb9['class']='ck-footnotes-styles-dropdown',_0x57dfb9['bind']('isEnabled')['to'](_0xc5e246,'isEnabled'),_0x23c667['set']({'label':t('Footnotes\x20style'),'icon':_0x3ffa67,'tooltip':!0x0}),_0x57dfb9['once']('change:isOpen',()=>{const _0x2a77d6=function({editor:_0xc9b2c5,dropdownView:_0x28b919}){const {t:t}=_0xc9b2c5['locale'],_0x21c718=t('Footnotes\x20definitions\x20styles'),_0x451bf0=function(_0x1c653a){const {t:t}=_0x1c653a['locale'],_0x2b5a97=_0x1c653a['config']['get']('footnotes.footnotesProperties.listStyles'),_0x14f128=[{'style':'decimal','label':t('Toggle\x20the\x20decimal\x20footnotes\x20style'),'tooltip':t('Decimal\x20footnotes'),'icon':_0x58f150},{'style':'decimal-leading-zero','label':t('Toggle\x20the\x20decimal\x20with\x20leading\x20zero\x20footnotes\x20style'),'tooltip':t('Decimal\x20footnotes\x20with\x20leading\x20zero'),'icon':_0x27e637},{'style':'lower-roman','label':t('Toggle\x20the\x20lower-roman\x20footnotes\x20style'),'tooltip':t('Lower-roman\x20footnotes'),'icon':_0xbf8c50},{'style':'upper-roman','label':t('Toggle\x20the\x20upper-roman\x20footnotes\x20style'),'tooltip':t('Upper-roman\x20footnotes'),'icon':_0x42442c},{'style':'lower-latin','label':t('Toggle\x20the\x20lower-latin\x20footnotes\x20style'),'tooltip':t('Lower-latin\x20footnotes'),'icon':_0x10edda},{'style':'upper-latin','label':t('Toggle\x20the\x20upper-latin\x20footnotes\x20style'),'tooltip':t('Upper-latin\x20footnotes'),'icon':_0x59fc5c},{'style':'arabic-indic','label':t('Toggle\x20the\x20arabic-indic\x20footnotes\x20style'),'tooltip':t('Arabic-indic\x20footnotes'),'icon':_0x3ce8a5}];return _0x2b5a97['map'](_0x398476=>{const _0x5a060e=ct(_0x398476),_0x496c9b=_0x14f128['find'](_0x4fe0fb=>_0x4fe0fb['style']===_0x5a060e);return function(_0x37f13f,_0x201c01){const {locale:_0x38e433}=_0x37f13f,{label:_0x4ae3bf,icon:_0x121b61,tooltip:_0x22a0fc,style:_0x2a9ce5}=_0x201c01,_0x513a20=_0x37f13f['commands']['get']('footnotesStyle'),_0x2e56da=new _0x2c9d61(_0x38e433);return _0x2e56da['set']({'label':_0x4ae3bf,'icon':_0x121b61,'tooltip':_0x22a0fc}),_0x2e56da['bind']('isOn')['to'](_0x513a20,'value',_0x90ff05=>_0x90ff05===_0x2a9ce5),_0x2e56da['bind']('isEnabled')['to'](_0x513a20,'isEnabled'),_0x2e56da['on']('execute',()=>{_0x37f13f['execute']('footnotesStyle',{'value':_0x2a9ce5}),_0x37f13f['editing']['view']['focus']();}),_0x2e56da;}(_0x1c653a,_0x496c9b);});}(_0xc9b2c5),_0x53636e=new dt(_0xc9b2c5['locale'],{'styleGridAriaLabel':_0x21c718,'styleButtonViews':_0x451bf0}),_0xc72f1c=_0xc9b2c5['commands']['get']('footnotesStart');return _0x53636e['startIndexFieldView']['bind']('isEnabled')['to'](_0xc72f1c),_0x53636e['startIndexFieldView']['fieldView']['bind']('value')['to'](_0xc72f1c),_0x53636e['on']('footnotesListStart',(_0x7128d0,_0x3e2f5c)=>{_0xc9b2c5['execute']('footnotesStart',{'value':_0x3e2f5c['startIndex']});}),_0x53636e['delegate']('execute')['to'](_0x28b919),_0x53636e;}({'editor':_0x11de8d,'dropdownView':_0x57dfb9});_0x57dfb9['panelView']['children']['add'](_0x2a77d6);}),_0x57dfb9;};}(_0x520e48));}['afterInit'](){const {editor:_0x5b11de}=this,{t:t}=_0x5b11de['locale'],_0x17aeeb=_0x5b11de['plugins']['get'](_0x46bf04),{defaultPositions:_0x34d37c}=_0xec83eb;_0x17aeeb['register']('footnotesDefinitions',{'ariaLabel':t('Footnotes\x20definitions\x20toolbar'),'items':_0x5b11de['config']['get']('footnotes.footnotesProperties.toolbar'),'balloonClassName':'ck-footnotes-style-balloon\x20ck-toolbar-container','getRelatedElement':_0x11ff25=>{let _0x4f48db=_0x11ff25['getFirstPosition']()?.['parent'];return _0x4f48db?.['is']('$text')&&(_0x4f48db=_0x4f48db['parent']),_0x4f48db?.['is']('element')?_0x4f48db['findAncestor'](q):null;},'positions':[_0x34d37c['southArrowNorth'],_0x34d37c['southArrowNorthMiddleWest'],_0x34d37c['southArrowNorthMiddleEast'],_0x34d37c['southArrowNorthWest'],_0x34d37c['southArrowNorthEast'],_0x34d37c['northArrowSouth'],_0x34d37c['northArrowSouthMiddleWest'],_0x34d37c['northArrowSouthMiddleEast'],_0x34d37c['northArrowSouthWest'],_0x34d37c['northArrowSouthEast'],_0x34d37c['viewportStickyNorth']]});}}class mt extends _0x1e1533{static get['pluginName'](){return'FootnotesProperties';}static get['requires'](){return[at,ht];}static get['isOfficialPlugin'](){return!0x0;}static get['isPremiumPlugin'](){return!0x0;}}export{Z as Footnotes,J as FootnotesClipboard,$ as FootnotesEditing,mt as FootnotesProperties,at as FootnotesPropertiesEditing,ht as FootnotesPropertiesUI,it as FootnotesStartCommand,nt as FootnotesStyleCommand,K as FootnotesTracker,W as FootnotesUI,V as InsertFootnoteCommand};
23
+ import{Plugin as _0x201f01,Command as _0x79aa54}from'@ckeditor/ckeditor5-core/dist/index.js';import{toWidget as _0x30e370,isWidget as _0x50caf3,toWidgetEditable as _0x3112db,WidgetToolbarRepository as _0xd29fe5}from'@ckeditor/ckeditor5-widget/dist/index.js';import{uid as _0xebcec8,logWarning as _0x151fe9,FocusTracker as _0x86b3df,KeystrokeHandler as _0xe2777a,global as _0x5e5f2a}from'@ckeditor/ckeditor5-utils/dist/index.js';import{PointerObserver as _0x4e8f04,ClickObserver as _0x20d417}from'@ckeditor/ckeditor5-engine/dist/index.js';import{ClipboardPipeline as _0x430a7c}from'@ckeditor/ckeditor5-clipboard/dist/index.js';import{MenuBarMenuListItemButtonView as _0x440c15,ButtonView as _0x3c07b7,View as _0x11aab1,ViewCollection as _0x192083,FocusCycler as _0x1ce4b,addKeyboardHandlingForGrid as _0x40e539,CollapsibleView as _0x5e7078,LabeledFieldView as _0x15ff17,createLabeledInputNumber as _0x3e63a8,ContextualBalloon as _0x384003,BalloonPanelView as _0x322851,createDropdown as _0x440108}from'@ckeditor/ckeditor5-ui/dist/index.js';import{IconFootnote as _0x260586,IconListStyleDecimal as _0x54fd38,IconListStyleDecimalLeadingZero as _0x4a679e,IconListStyleLowerRoman as _0x58d8f0,IconListStyleUpperRoman as _0xf71eb4,IconListStyleLowerLatin as _0x1f8397,IconListStyleUpperLatin as _0x285d7f,IconListStyleArabicIndic as _0x51f12f}from'@ckeditor/ckeditor5-icons/dist/index.js';class R{['_model'];['_elementName'];['_getElementKey'];['_trackedElements']=new Map();constructor(_0x1533d2,_0x3a77fe){this['_model']=_0x1533d2,this['_elementName']=_0x3a77fe['elementName'],this['_getElementKey']=_0x3a77fe['getElementKey'];}['reset'](){this['_trackedElements']['clear']();}['getChanges'](_0x2ae009){const _0x26bae1=new Set(),_0x2d4662=new Map();for(const _0x188183 of _0x2ae009){if('insert'===_0x188183['type']&&'$text'!==_0x188183['name']&&_0x188183['position']['nodeAfter']){const _0x3cca25=this['_model']['createRangeOn'](_0x188183['position']['nodeAfter']);for(const _0x359093 of _0x3cca25['getItems']()){if(!_0x359093['is']('element',this['_elementName']))continue;const _0x5af769=this['_getElementKey'](_0x359093);_0x2d4662['has'](_0x5af769)||_0x2d4662['set'](_0x5af769,[]),_0x2d4662['get'](_0x5af769)['push'](_0x359093);}}if('remove'===_0x188183['type']&&_0x188183['name']===this['_elementName']){const _0x18e552=this['_getElementKey']({'getAttribute':_0xd2ee67=>_0x188183['attributes']['get'](_0xd2ee67)});_0x26bae1['add'](_0x18e552);}}for(const [_0x2f32e6,_0x29483a]of this['_trackedElements'])'$graveyard'===_0x29483a['root']['rootName']&&_0x26bae1['add'](_0x2f32e6);for(const _0x2e9723 of _0x26bae1)this['_trackedElements']['delete'](_0x2e9723);for(const [_0x423677,_0x1c1ea3]of _0x2d4662)this['_trackedElements']['set'](_0x423677,_0x1c1ea3[_0x1c1ea3['length']-0x1]);const _0x22c4e5=new Set();for(const [_0xbdfe9d,_0x44b05d]of _0x2d4662)_0x26bae1['has'](_0xbdfe9d)&&(_0x22c4e5['add'](_0x44b05d[0x0]),_0x44b05d['length']>0x1?_0x2d4662['set'](_0xbdfe9d,_0x44b05d['slice'](0x1)):_0x2d4662['delete'](_0xbdfe9d),_0x26bae1['delete'](_0xbdfe9d));return{'removed':Array['from'](_0x26bae1),'inserted':Array['from'](_0x2d4662['values']())['flat'](),'moved':Array['from'](_0x22c4e5)};}}class K extends _0x201f01{['_footnotes']=[];['_footnotesDefinitions']=null;['_footnoteFormatter']=null;['_footnoteDefsContainerTracker'];['_footnoteRefsTracker'];['_footnoteDefsTracker'];static get['pluginName'](){return'FootnotesTracker';}static get['isOfficialPlugin'](){return!0x0;}static get['isPremiumPlugin'](){return!0x0;}constructor(_0x465716){super(_0x465716),this['_footnoteDefsContainerTracker']=new R(this['editor']['model'],{'elementName':'footnotesDefinitions','getElementKey':()=>'singleton'}),this['_footnoteRefsTracker']=new R(this['editor']['model'],{'elementName':'footnoteRef','getElementKey':_0x2a5e7f=>_0x2a5e7f['getAttribute']('footnoteId')}),this['_footnoteDefsTracker']=new R(this['editor']['model'],{'elementName':'footnoteDefinition','getElementKey':_0x17b900=>_0x17b900['getAttribute']('footnoteId')});}['init'](){const {editor:_0x37bd0d}=this,{model:_0x2a30db,data:_0x57961a}=_0x37bd0d;_0x2a30db['document']['registerPostFixer'](_0x5241ab=>{const _0x4817d3=_0x2a30db['document']['differ']['getChanges']();let _0x1188a3=!0x1;return this['_handleFootnotesDefinitionsObjectChanges'](_0x5241ab,_0x4817d3)&&(_0x1188a3=!0x0),this['_handleFootnoteDefinitionsChanges'](_0x5241ab,_0x4817d3)&&(_0x1188a3=!0x0),this['_handleFootnoteReferencesChanges'](_0x5241ab,_0x4817d3)&&(_0x1188a3=!0x0),this['_ensureFootnotesReferencesHaveProperOrder'](_0x5241ab)&&(_0x1188a3=!0x0),this['_handleFootnotesDefinitionsObjectSync'](_0x5241ab)&&(_0x1188a3=!0x0),this['_sortFootnoteDefinitions'](_0x5241ab)&&(_0x1188a3=!0x0),_0x1188a3;}),this['listenTo'](_0x2a30db['document'],'change:data',()=>{_0x2a30db['enqueueChange']({'isUndoable':!0x1},_0xf4bef9=>{this['_ensureFootnotesDefinitionsContainerExists'](_0xf4bef9);});},{'priority':'low'}),this['listenTo'](_0x57961a,'set',()=>{this['_footnotes']=[],this['_footnoteDefsContainerTracker']['reset'](),this['_footnoteRefsTracker']['reset'](),this['_footnoteDefsTracker']['reset']();},{'priority':'high'});}['getFootnotesDefinitionsObjectElement'](){return this['_footnotesDefinitions'];}['getFootnote'](_0x37c29b){return this['_footnotes']['find'](_0x3a15c9=>_0x3a15c9['id']===_0x37c29b)||null;}['getFootnotes'](){return Array['from'](this['_footnotes']);}['getFootnotesFormatter'](){return this['_footnoteFormatter'];}['setFootnoteFormatter'](_0x4068de){this['_footnoteFormatter']=_0x4068de;}['_updateFootnotesCounters'](_0x4800e9,_0x599902=0x0){let _0x7faa5a=!0x1;for(let _0x5b29ef=_0x599902;_0x5b29ef<this['_footnotes']['length'];_0x5b29ef++)this['_updateFootnoteRefCounter'](_0x4800e9,_0x5b29ef)&&(_0x7faa5a=!0x0);return _0x7faa5a;}['_insertEmptyFootnotesDefinitionsContainer'](_0x57e8ae,_0x5e70e7){const _0xd09ff1=_0x57e8ae['createElement']('footnotesDefinitions',{});return _0x57e8ae['append'](_0xd09ff1,_0x5e70e7),this['_footnotesDefinitions']=_0xd09ff1,_0xd09ff1;}['_ensureFootnotesDefinitionsContainerExists'](_0x39f75a){if(!this['_footnotes']['length']||this['_footnotesDefinitions'])return;const _0x3abe84=this['_footnotes'][0x0]['reference']['root'],_0x4304a5=this['_insertEmptyFootnotesDefinitionsContainer'](_0x39f75a,_0x3abe84);for(const _0x51716e of this['_footnotes'])_0x51716e['definition']['parent']||_0x39f75a['insert'](_0x51716e['definition'],_0x4304a5,'end');this['_updateFootnotesCounters'](_0x39f75a);}['_handleFootnotesDefinitionsObjectChanges'](_0x39cec4,_0x3f6ebc){let _0x2ff62f=!0x1;const {inserted:_0xf85482,removed:_0x1a43a3,moved:_0x1d3f89}=this['_footnoteDefsContainerTracker']['getChanges'](_0x3f6ebc);if(_0x1d3f89['length']&&(this['_footnotesDefinitions']=_0x1d3f89[0x0]),_0xf85482['length']){if(_0xf85482['length']>0x1||this['_footnotesDefinitions']&&_0xf85482['some'](_0x168bd9=>_0x168bd9!==this['_footnotesDefinitions'])){const _0x11c802=_0x39cec4['createElement']('footnotesDefinitions',{}),_0x4ee87a=[];this['_footnotesDefinitions']&&_0x4ee87a['push'](this['_footnotesDefinitions']),_0x4ee87a['push'](..._0xf85482),_0x39cec4['insert'](_0x11c802,_0x4ee87a[0x0],'before');for(const _0x383531 of _0x4ee87a)_0x39cec4['move'](_0x39cec4['createRangeIn'](_0x383531),_0x39cec4['createPositionAt'](_0x11c802,'end')),_0x39cec4['remove'](_0x383531);this['_footnotesDefinitions']=_0x11c802,this['_updateFootnotesCounters'](_0x39cec4),_0x2ff62f=!0x0;}else this['_footnotesDefinitions']=_0xf85482[0x0];}if(_0x1a43a3['length']&&'$graveyard'===this['_footnotesDefinitions']?.['root']['rootName']){for(const _0x22b78c of this['_footnotes'])_0x39cec4['remove'](_0x22b78c['reference']),_0x2ff62f=!0x0;this['_footnotes']=[],this['_footnotesDefinitions']=null;}return _0x2ff62f;}['_handleFootnoteDefinitionsChanges'](_0x2e5280,_0x505e27){let _0x5ecc23=!0x1;const _0x3953c7=this['editor']['config']['get']('footnotes.multiBlock'),{inserted:_0x120ea1,moved:_0x24fd9a}=this['_footnoteDefsTracker']['getChanges'](_0x505e27);for(const _0x1799cd of[..._0x24fd9a,..._0x120ea1]){const _0x57d623=_0x1799cd['getAttribute']('footnoteId'),_0x5ade2d=this['getFootnote'](_0x57d623);_0x5ade2d&&(_0x5ade2d['definition']=_0x1799cd),j(_0x2e5280,_0x3953c7,_0x1799cd)&&(_0x5ecc23=!0x0);}return _0x5ecc23;}['_handleFootnoteReferencesChanges'](_0x1fde98,_0x35ed5e){let _0x747a58=!0x1;const {removed:_0x20fdd5,inserted:_0x5c7314,moved:_0x178742}=this['_footnoteRefsTracker']['getChanges'](_0x35ed5e);for(const _0x117229 of _0x20fdd5)this['_handleRemoveFootnoteReferenceById'](_0x1fde98,_0x117229)&&(_0x747a58=!0x0);for(const _0x35a86a of _0x5c7314)this['_handleInsertedFootnoteReference'](_0x1fde98,_0x35a86a)&&(_0x747a58=!0x0);for(const _0x406ee3 of _0x178742)this['_handleMovedFootnoteReference'](_0x1fde98,_0x406ee3)&&(_0x747a58=!0x0);return _0x747a58;}['_handleFootnotesDefinitionsObjectSync'](_0x1cc54c){if(!this['_footnotesDefinitions'])return!0x1;let _0x2ad323=!0x1;if(this['_footnotesDefinitions']['childCount']!==this['_footnotes']['length']){const _0x5a1477=[];for(const _0x3cf482 of this['_footnotesDefinitions']['getChildren']()){const _0x58972b=_0x3cf482['getAttribute']('footnoteId');this['getFootnote'](_0x58972b)||(_0x5a1477['unshift'](_0x3cf482),_0x2ad323=!0x0);}for(const _0x28058b of _0x5a1477)_0x1cc54c['remove'](_0x28058b);}const _0x135e24=new Set(),_0x21e939=[];for(const _0x5ea138 of this['_footnotesDefinitions']['getChildren']()){const _0x401c7e=_0x5ea138['getAttribute']('footnoteId');_0x135e24['has'](_0x401c7e)?(_0x21e939['unshift'](_0x5ea138),_0x2ad323=!0x0):_0x135e24['add'](_0x401c7e);}for(const _0x24fd72 of _0x21e939)_0x1cc54c['remove'](_0x24fd72);return this['_footnotesDefinitions']['childCount']||(_0x1cc54c['remove'](this['_footnotesDefinitions']),this['_footnotesDefinitions']=null,_0x2ad323=!0x0),_0x2ad323;}['_handleInsertedFootnoteReference'](_0x578548,_0x4778ac){if(this['_footnotes']['find'](_0x57f3c9=>_0x57f3c9['reference']===_0x4778ac))return!0x1;let _0x44b007=!0x1;const _0x5c84df=_0x4778ac['getAttribute']('footnoteId'),_0x1b343a=this['_footnotes']['findIndex'](_0x29ef13=>_0x29ef13['id']===_0x5c84df);-0x1!==_0x1b343a&&(_0x578548['remove'](this['_footnotes'][_0x1b343a]['reference']),this['_footnotes']['splice'](_0x1b343a,0x1),_0x44b007=!0x0);let _0x5bed47=this['_footnotesDefinitions']?function(_0x482249,_0x256b8b){for(const _0x47698a of _0x482249['getChildren']())if(_0x47698a['getAttribute']('footnoteId')===_0x256b8b)return _0x47698a;return null;}(this['_footnotesDefinitions'],_0x5c84df):null;_0x5bed47||(_0x5bed47=_0x578548['createElement']('footnoteDefinition',{'footnoteId':_0x5c84df}),this['_footnotesDefinitions']&&(_0x578548['insert'](_0x5bed47,this['_footnotesDefinitions'],'end'),_0x44b007=!0x0));const _0x1f803b={'id':_0x5c84df,'reference':_0x4778ac,'definition':_0x5bed47},_0x296d2d=T(this['editor']['model'],this['_footnotes'],_0x4778ac);this['_footnotes']['splice'](_0x296d2d,0x0,_0x1f803b);let _0x3ca958=_0x296d2d;return-0x1!==_0x1b343a&&(_0x3ca958=Math['min'](_0x296d2d,_0x1b343a)),this['_updateFootnotesCounters'](_0x578548,_0x3ca958)&&(_0x44b007=!0x0),_0x44b007;}['_handleRemoveFootnoteReferenceById'](_0x2a027c,_0x15a26e){const _0x366bd9=this['_footnotes']['findIndex'](_0x5c5b96=>_0x5c5b96['id']===_0x15a26e);if(-0x1===_0x366bd9)return!0x1;let _0x51c2aa=!0x1;const _0x55ce2e=this['_footnotes'][_0x366bd9];return'$graveyard'!==_0x55ce2e['definition']['root']['rootName']&&(_0x2a027c['remove'](_0x55ce2e['definition']),_0x51c2aa=!0x0),this['_footnotes']['splice'](_0x366bd9,0x1),this['_updateFootnotesCounters'](_0x2a027c,_0x366bd9)&&(_0x51c2aa=!0x0),_0x51c2aa;}['_handleMovedFootnoteReference'](_0xc5d3c5,_0x486030){const _0x1051fc=_0x486030['getAttribute']('footnoteId'),_0x206119=this['_footnotes']['findIndex'](_0x22a646=>_0x22a646['id']===_0x1051fc),_0x4a645c=this['_footnotes'][_0x206119];let _0x9711c2=!0x1;_0x4a645c['reference']=_0x486030,this['_footnotes']['splice'](_0x206119,0x1);const _0x15f00b=T(this['editor']['model'],this['_footnotes'],_0x486030);return this['_footnotes']['splice'](_0x15f00b,0x0,_0x4a645c),this['_updateFootnotesCounters'](_0xc5d3c5,Math['min'](_0x206119,_0x15f00b))&&(_0x9711c2=!0x0),_0x9711c2;}['_updateFootnoteRefCounter'](_0x137394,_0x4744c9){if(!this['_footnotesDefinitions'])return!0x1;const _0x12889c=this['_footnotes'][_0x4744c9];let _0x55d49d;return _0x55d49d=this['_footnoteFormatter']?this['_footnoteFormatter']({'footnote':_0x12889c,'container':this['_footnotesDefinitions'],'digits':String(this['_footnotes']['length'])['length'],'value':_0x4744c9+0x1}):String(_0x4744c9+0x1),_0x12889c['reference']['getAttribute']('footnoteCounter')!=_0x55d49d&&(_0x137394['setAttribute']('footnoteCounter',_0x55d49d,_0x12889c['reference']),!0x0);}['_sortFootnoteDefinitions'](_0x2f0dd5){if(!this['_footnotesDefinitions']||this['_footnotes']['length']<0x2)return!0x1;if(function(_0x4e632a,_0x556734){if(_0x4e632a['length']!==_0x556734['length'])return!0x1;for(let _0x5e9e92=0x0;_0x5e9e92<_0x4e632a['length'];_0x5e9e92++)if(_0x4e632a[_0x5e9e92]!==_0x556734[_0x5e9e92])return!0x1;return!0x0;}(this['_footnotes']['map'](_0x2ee0db=>_0x2ee0db['id']),Array['from'](this['_footnotesDefinitions']['getChildren']())['map'](_0x1dade2=>_0x1dade2['getAttribute']('footnoteId'))))return!0x1;let _0x1f869d=!0x1;for(let _0x3847b5=0x0;_0x3847b5<this['_footnotes']['length'];_0x3847b5++){const _0x21190c=this['_footnotes'][_0x3847b5],_0x1e174e=_0x2f0dd5['createPositionBefore'](_0x21190c['definition']),_0x23ab41=_0x2f0dd5['createPositionAt'](this['_footnotesDefinitions'],_0x3847b5);_0x1e174e['isEqual'](_0x23ab41)||(_0x2f0dd5['move'](_0x2f0dd5['createRangeOn'](_0x21190c['definition']),_0x23ab41),_0x1f869d=!0x0);}return _0x1f869d;}['_ensureFootnotesReferencesHaveProperOrder'](_0x4ab54f){if(!this['_footnotes']['length'])return!0x1;const {model:_0x9d8450}=this['editor'];let _0x45137f=!0x1;for(let _0x2d18a1=0x0;_0x2d18a1<this['_footnotes']['length']-0x1;_0x2d18a1++){const _0x2bb7bf=this['_footnotes'][_0x2d18a1],_0x161e13=this['_footnotes'][_0x2d18a1+0x1],_0x3f1da2=_0x9d8450['createPositionBefore'](_0x2bb7bf['reference']),_0x42b72c=_0x9d8450['createPositionBefore'](_0x161e13['reference']);'after'===_0x3f1da2['compareWith'](_0x42b72c)&&(this['_handleMovedFootnoteReference'](_0x4ab54f,_0x2bb7bf['reference']),_0x2d18a1=-0x1,_0x45137f=!0x0);}return _0x45137f;}}function j(_0x2c4751,_0x271cd7,_0x546163){if(_0x546163['childCount'])return!0x1;const _0x43c133=_0x271cd7?'paragraph':'footnoteInlineContent';return _0x2c4751['insert'](_0x2c4751['createElement'](_0x43c133),_0x546163),!0x0;}function T(_0x32a9e7,_0x4d464b,_0x5633c4){if(0x0===_0x4d464b['length'])return 0x0;const _0x434e28=_0x32a9e7['createPositionBefore'](_0x5633c4);for(let _0x49d6bc=0x0;_0x49d6bc<_0x4d464b['length'];_0x49d6bc++){const _0x307898=_0x4d464b[_0x49d6bc],_0x529ae3=_0x32a9e7['createPositionBefore'](_0x307898['reference']);if('before'===_0x434e28['compareWith'](_0x529ae3))return _0x49d6bc;}const _0x5b7d07=_0x5633c4['root'];let _0x17b29b=-0x1;for(let _0x307f59=_0x4d464b['length']-0x1;_0x307f59>=0x0;_0x307f59--)if(_0x4d464b[_0x307f59]['reference']['root']===_0x5b7d07){_0x17b29b=_0x307f59;break;}if(-0x1!==_0x17b29b)return _0x17b29b+0x1;const _0xd05919=_0x32a9e7['document']['getRootNames'](),_0x4d0cfb=_0xd05919['indexOf'](_0x5b7d07['rootName']),_0x25e07b=_0xd05919[_0x4d0cfb+0x1];if(_0x25e07b){for(let _0x120660=0x0;_0x120660<_0x4d464b['length'];_0x120660++)if(_0x4d464b[_0x120660]['reference']['root']['rootName']===_0x25e07b)return _0x120660;}return _0x4d464b['length'];}class V extends _0x79aa54{['refresh'](){const _0x20b255=this['editor']['model']['document']['selection'],_0x2a693a=this['_getPositionToInsertFootnote'](_0x20b255);this['isEnabled']=!!_0x2a693a;}['execute'](_0x549daf){const {editor:_0x2e198a}=this,{model:_0x58e4e1}=_0x2e198a,{selection:_0xce7021}=_0x58e4e1['document'],_0x4ecd51=this['_getPositionToInsertFootnote'](_0xce7021);if(!_0x4ecd51)return;const _0x5e5a5f=_0x2e198a['plugins']['get']('FootnotesEditing'),_0x3ca5f2=_0x549daf?.['footnoteId']??_0xebcec8();!function(_0x4f86f1){return'string'==typeof _0x4f86f1&&_0x4f86f1['length']>0x0&&!/\s/['test'](_0x4f86f1)&&!/^\d/['test'](_0x4f86f1);}(_0x3ca5f2)?_0x151fe9('insert-footnote-command-executed-with-invalid-id'):(_0x58e4e1['change'](_0x234b10=>{const _0x4ff863=_0x234b10['createElement']('footnoteRef',{'footnoteId':_0x3ca5f2});_0x58e4e1['insertObject'](_0x4ff863,_0x4ecd51,null);}),_0x5e5a5f['_moveSelectionToFootnoteDefinition'](_0x3ca5f2));}['_getPositionToInsertFootnote'](_0x1b7d22){const {model:_0x2068ea}=this['editor'],{schema:_0x32f9c4}=_0x2068ea,_0x3bb516=_0x1b7d22['getFirstRange']();for(const _0x49f2c0 of _0x3bb516['getItems']())if(_0x32f9c4['isBlock'](_0x49f2c0)||_0x32f9c4['isObject'](_0x49f2c0))return null;const _0x26cc5e=_0x3bb516['end'];return _0x32f9c4['checkChild'](_0x26cc5e,'footnoteRef')?_0x26cc5e:null;}}class $ extends _0x201f01{static get['pluginName'](){return'FootnotesEditing';}static get['requires'](){return[K];}static get['isOfficialPlugin'](){return!0x0;}static get['isPremiumPlugin'](){return!0x0;}['init'](){const {editor:_0x1de204}=this;_0x1de204['config']['define']('footnotes.multiBlock',!0x0),_0x1de204['commands']['add']('insertFootnote',new V(_0x1de204)),this['_defineSchema'](),this['_defineRefsConverters'](),this['_defineDefinitionsConverters'](),this['_defineDefinitionConverters'](),this['_defineBogusParagraphConverters'](),this['_defineKeyboardHandlers'](),this['_defineClickHandlers']();}['afterInit'](){!async function(_0x4c0d2b){const _0x116db2=_0x23439e([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]),_0x5b6382=0x47a28506,_0x28446b=0x47a50c4e^_0x5b6382,_0x5d8e05=window[_0x23439e([0x44,0x61,0x74,0x65])][_0x23439e([0x6e,0x6f,0x77])](),_0x111df7=_0x4c0d2b[_0x23439e([0x65,0x64,0x69,0x74,0x6f,0x72])],_0x5ca88b=new window[(_0x23439e([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0x16c84a=>{_0x111df7[_0x23439e([0x6f,0x6e,0x63,0x65])](_0x23439e([0x72,0x65,0x61,0x64,0x79]),_0x16c84a);}),_0x5ece0c={[_0x23439e([0x6b,0x74,0x79])]:_0x23439e([0x45,0x43]),[_0x23439e([0x75,0x73,0x65])]:_0x23439e([0x73,0x69,0x67]),[_0x23439e([0x63,0x72,0x76])]:_0x23439e([0x50,0x2d,0x32,0x35,0x36]),[_0x23439e([0x78])]:_0x23439e([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]),[_0x23439e([0x79])]:_0x23439e([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]),[_0x23439e([0x61,0x6c,0x67])]:_0x23439e([0x45,0x53,0x32,0x35,0x36])},_0x2ed218=_0x111df7[_0x23439e([0x63,0x6f,0x6e,0x66,0x69,0x67])][_0x23439e([0x67,0x65,0x74])](_0x23439e([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x4b,0x65,0x79]));async function _0x3a612b(){let _0x374b60,_0xdf7d9=null,_0x51ca4e=null;try{if(_0x2ed218==_0x23439e([0x47,0x50,0x4c]))return _0x23439e([0x4e,0x6f,0x74,0x41,0x6c,0x6c,0x6f,0x77,0x65,0x64]);if(_0x374b60=_0x31ce33(),!_0x374b60)return _0x23439e([0x49,0x6e,0x76,0x61,0x6c,0x69,0x64]);return _0x374b60[_0x23439e([0x75,0x73,0x61,0x67,0x65,0x45,0x6e,0x64,0x70,0x6f,0x69,0x6e,0x74])]&&(_0x51ca4e=_0x2f8012(_0x374b60[_0x23439e([0x75,0x73,0x61,0x67,0x65,0x45,0x6e,0x64,0x70,0x6f,0x69,0x6e,0x74])],_0x374b60[_0x23439e([0x6a,0x74,0x69])])),await _0x2e208a()?_0x262dda()?_0x4b8310()?_0x23439e([0x45,0x78,0x70,0x69,0x72,0x65,0x64]):_0x182933()?(_0x374b60[_0x23439e([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x54,0x79,0x70,0x65])]==_0x23439e([0x65,0x76,0x61,0x6c,0x75,0x61,0x74,0x69,0x6f,0x6e])&&(_0xdf7d9=_0x59e470(_0x23439e([0x45,0x76,0x61,0x6c,0x75,0x61,0x74,0x69,0x6f,0x6e,0x4c,0x69,0x6d,0x69,0x74]))),await _0x1e3df3()):_0x23439e([0x44,0x6f,0x6d,0x61,0x69,0x6e,0x4c,0x69,0x6d,0x69,0x74]):_0x23439e([0x4e,0x6f,0x74,0x41,0x6c,0x6c,0x6f,0x77,0x65,0x64]):_0x23439e([0x49,0x6e,0x76,0x61,0x6c,0x69,0x64]);}catch{return _0x23439e([0x49,0x6e,0x76,0x61,0x6c,0x69,0x64]);}function _0x4b8310(){const _0x52c09e=[_0x23439e([0x65,0x76,0x61,0x6c,0x75,0x61,0x74,0x69,0x6f,0x6e]),_0x23439e([0x74,0x72,0x69,0x61,0x6c])][_0x23439e([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x374b60[_0x23439e([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x54,0x79,0x70,0x65])])?_0x5d8e05/0x3e8:0xe10*_0x28446b;return _0x374b60[_0x23439e([0x65,0x78,0x70])]<_0x52c09e;}function _0x262dda(){const _0x42b606=_0x374b60[_0x23439e([0x66,0x65,0x61,0x74,0x75,0x72,0x65,0x73])];return!!_0x42b606&&(!!_0x42b606[_0x23439e([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x23439e([0x2a]))||!!_0x42b606[_0x23439e([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x23439e([0x46,0x4f,0x4f])));}function _0x182933(){const _0x3297a1=_0x374b60[_0x23439e([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x64,0x48,0x6f,0x73,0x74,0x73])];if(!_0x3297a1||0x0==_0x3297a1[_0x23439e([0x6c,0x65,0x6e,0x67,0x74,0x68])])return!0x0;const {hostname:_0x3b4564}=new URL(window[_0x23439e([0x6c,0x6f,0x63,0x61,0x74,0x69,0x6f,0x6e])]['href']);if(_0x3297a1[_0x23439e([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x3b4564))return!0x0;const _0x1c062f=_0x3b4564[_0x23439e([0x73,0x70,0x6c,0x69,0x74])](_0x23439e([0x2e]));return _0x3297a1[_0x23439e([0x66,0x69,0x6c,0x74,0x65,0x72])](_0x8a6b8f=>_0x8a6b8f[_0x23439e([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x23439e([0x2a])))[_0x23439e([0x6d,0x61,0x70])](_0x39780d=>_0x39780d[_0x23439e([0x73,0x70,0x6c,0x69,0x74])](_0x23439e([0x2e])))[_0x23439e([0x66,0x69,0x6c,0x74,0x65,0x72])](_0x28f26b=>_0x28f26b[_0x23439e([0x6c,0x65,0x6e,0x67,0x74,0x68])]<=_0x1c062f[_0x23439e([0x6c,0x65,0x6e,0x67,0x74,0x68])])[_0x23439e([0x6d,0x61,0x70])](_0x3266a2=>Array(_0x1c062f[_0x23439e([0x6c,0x65,0x6e,0x67,0x74,0x68])]-_0x3266a2[_0x23439e([0x6c,0x65,0x6e,0x67,0x74,0x68])])[_0x23439e([0x66,0x69,0x6c,0x6c])](_0x3266a2[0x0]===_0x23439e([0x2a])?_0x23439e([0x2a]):'')[_0x23439e([0x63,0x6f,0x6e,0x63,0x61,0x74])](_0x3266a2))[_0x23439e([0x73,0x6f,0x6d,0x65])](_0x58b035=>_0x1c062f[_0x23439e([0x65,0x76,0x65,0x72,0x79])]((_0xc64e5c,_0x2a6a1b)=>_0x58b035[_0x2a6a1b]===_0xc64e5c||_0x58b035[_0x2a6a1b]===_0x23439e([0x2a])));}function _0x1e3df3(){return _0xdf7d9&&_0x51ca4e?new window[(_0x23439e([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))]((_0x3d5fd4,_0x4616d4)=>{_0xdf7d9[_0x23439e([0x74,0x68,0x65,0x6e])](_0x3d5fd4,_0x4616d4),_0x51ca4e[_0x23439e([0x74,0x68,0x65,0x6e])](_0x3a1896=>{_0x3a1896!=_0x23439e([0x56,0x61,0x6c,0x69,0x64])&&_0x3d5fd4(_0x3a1896);},_0x4616d4);}):_0xdf7d9||_0x51ca4e||_0x23439e([0x56,0x61,0x6c,0x69,0x64]);}}function _0x2f8012(_0x4b74f0,_0x2da3d6){return new window[(_0x23439e([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0x2b3e2e=>{if(_0x3c21d2())return _0x2b3e2e(_0x23439e([0x56,0x61,0x6c,0x69,0x64]));_0x399431(),_0x111df7[_0x23439e([0x64,0x65,0x63,0x6f,0x72,0x61,0x74,0x65])](_0x23439e([0x5f,0x73,0x65,0x6e,0x64,0x55,0x73,0x61,0x67,0x65,0x52,0x65,0x71,0x75,0x65,0x73,0x74]));let _0xdb09f5=!0x1;const _0x24ceb8=_0xebcec8();function _0x483866(_0xd07d4b){return!!_0xd07d4b&&(typeof _0xd07d4b===_0x23439e([0x6f,0x62,0x6a,0x65,0x63,0x74])||typeof _0xd07d4b===_0x23439e([0x66,0x75,0x6e,0x63,0x74,0x69,0x6f,0x6e]))&&typeof _0xd07d4b[_0x23439e([0x74,0x68,0x65,0x6e])]===_0x23439e([0x66,0x75,0x6e,0x63,0x74,0x69,0x6f,0x6e])&&typeof _0xd07d4b[_0x23439e([0x63,0x61,0x74,0x63,0x68])]===_0x23439e([0x66,0x75,0x6e,0x63,0x74,0x69,0x6f,0x6e]);}function _0x5cfcbd(_0x5f28d3){_0xc4264(_0x5f28d3)[_0x23439e([0x74,0x68,0x65,0x6e])](_0x97cfa3=>{if(!_0x97cfa3||_0x97cfa3[_0x23439e([0x73,0x74,0x61,0x74,0x75,0x73])]!=_0x23439e([0x6f,0x6b]))return _0x23439e([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]);return _0x8acdd5(_0x4e3071(_0x24ceb8+_0x2da3d6))!=_0x97cfa3[_0x23439e([0x76,0x65,0x72,0x69,0x66,0x69,0x63,0x61,0x74,0x69,0x6f,0x6e])]?_0x23439e([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]):_0x23439e([0x56,0x61,0x6c,0x69,0x64]);})[_0x23439e([0x74,0x68,0x65,0x6e])](_0x299044=>(_0x5f4d54(),_0x299044),()=>{const _0xa8992c=_0x513c0d();return null==_0xa8992c?(_0x5f4d54(),_0x23439e([0x56,0x61,0x6c,0x69,0x64])):_0x23439e(_0x5d8e05-_0xa8992c>(0x63ae0106^_0x5b6382)?[0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]:[0x56,0x61,0x6c,0x69,0x64]);})[_0x23439e([0x74,0x68,0x65,0x6e])](_0x2b3e2e)[_0x23439e([0x63,0x61,0x74,0x63,0x68])](()=>{_0x2b3e2e(_0x23439e([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]));});const _0x5c0297=0x47946b86^_0x5b6382;function _0x5f4d54(){const _0x40a0b4=_0x23439e([0x6c,0x6c,0x63,0x74,0x2d])+_0x8acdd5(_0x4e3071(_0x4b74f0)),_0x5b2cf1=_0x30fec6(_0x8acdd5(window[_0x23439e([0x4d,0x61,0x74,0x68])][_0x23439e([0x63,0x65,0x69,0x6c])](_0x5d8e05/_0x5c0297)));window[_0x23439e([0x6c,0x6f,0x63,0x61,0x6c,0x53,0x74,0x6f,0x72,0x61,0x67,0x65])][_0x23439e([0x73,0x65,0x74,0x49,0x74,0x65,0x6d])](_0x40a0b4,_0x5b2cf1);}function _0x513c0d(){const _0x508e44=_0x23439e([0x6c,0x6c,0x63,0x74,0x2d])+_0x8acdd5(_0x4e3071(_0x4b74f0)),_0x453e6f=window[_0x23439e([0x6c,0x6f,0x63,0x61,0x6c,0x53,0x74,0x6f,0x72,0x61,0x67,0x65])][_0x23439e([0x67,0x65,0x74,0x49,0x74,0x65,0x6d])](_0x508e44);return _0x453e6f?window[_0x23439e([0x70,0x61,0x72,0x73,0x65,0x49,0x6e,0x74])](_0x30fec6(_0x453e6f),0x10)*_0x5c0297:null;}function _0xc4264(_0x30265e){return new window[(_0x23439e([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))]((_0x28f86b,_0x3cc617)=>{_0x30265e[_0x23439e([0x74,0x68,0x65,0x6e])](_0x28f86b,_0x3cc617),window[_0x23439e([0x73,0x65,0x74,0x54,0x69,0x6d,0x65,0x6f,0x75,0x74])](_0x3cc617,0x47a351c6^_0x5b6382);});}}_0x111df7[_0x23439e([0x6f,0x6e])](_0x23439e([0x5f,0x73,0x65,0x6e,0x64,0x55,0x73,0x61,0x67,0x65,0x52,0x65,0x71,0x75,0x65,0x73,0x74]),(_0x47a97f,_0x5bfe6a)=>{if(_0x5bfe6a[0x0]!=_0x4b74f0)return _0x2b3e2e(_0x23439e([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]));_0x5bfe6a[0x1]={..._0x5bfe6a[0x1],[_0x23439e([0x72,0x65,0x71,0x75,0x65,0x73,0x74,0x49,0x64])]:_0x24ceb8};},{[_0x23439e([0x70,0x72,0x69,0x6f,0x72,0x69,0x74,0x79])]:_0x23439e([0x68,0x69,0x67,0x68])}),_0x111df7[_0x23439e([0x6f,0x6e])](_0x23439e([0x5f,0x73,0x65,0x6e,0x64,0x55,0x73,0x61,0x67,0x65,0x52,0x65,0x71,0x75,0x65,0x73,0x74]),_0x580445=>{_0x483866(_0x580445[_0x23439e([0x72,0x65,0x74,0x75,0x72,0x6e])])&&(_0xdb09f5=!0x0,_0x5cfcbd(_0x580445[_0x23439e([0x72,0x65,0x74,0x75,0x72,0x6e])]));},{[_0x23439e([0x70,0x72,0x69,0x6f,0x72,0x69,0x74,0x79])]:_0x23439e([0x6c,0x6f,0x77])}),_0x5ca88b[_0x23439e([0x74,0x68,0x65,0x6e])](()=>{_0xdb09f5||_0x2b3e2e(_0x23439e([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]));});});function _0x3c21d2(){return _0x111df7[_0x23439e([0x65,0x64,0x69,0x74,0x69,0x6e,0x67])][_0x23439e([0x76,0x69,0x65,0x77])][_0x23439e([0x5f,0x6f,0x76,0x65,0x72,0x6c,0x61,0x79,0x4d,0x6f,0x64,0x65,0x48,0x69,0x6e,0x74])]==_0x23439e([0x61,0x75,0x74,0x6f]);}function _0x399431(){_0x111df7[_0x23439e([0x65,0x64,0x69,0x74,0x69,0x6e,0x67])][_0x23439e([0x76,0x69,0x65,0x77])][_0x23439e([0x5f,0x6f,0x76,0x65,0x72,0x6c,0x61,0x79,0x4d,0x6f,0x64,0x65,0x48,0x69,0x6e,0x74])]=_0x23439e([0x61,0x75,0x74,0x6f]);}}function _0x59e470(_0x4f5f5f){const _0x221877=[new window[(_0x23439e([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0xecd386=>setTimeout(_0xecd386,0x47abbbca^_0x5b6382)),_0x5ca88b[_0x23439e([0x74,0x68,0x65,0x6e])](()=>new window[(_0x23439e([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0x224bee=>{let _0x4c235c=0x0;_0x111df7[_0x23439e([0x6d,0x6f,0x64,0x65,0x6c])][_0x23439e([0x6f,0x6e])](_0x23439e([0x61,0x70,0x70,0x6c,0x79,0x4f,0x70,0x65,0x72,0x61,0x74,0x69,0x6f,0x6e]),(_0x260670,_0x48c1b1)=>{_0x48c1b1[0x0][_0x23439e([0x69,0x73,0x44,0x6f,0x63,0x75,0x6d,0x65,0x6e,0x74,0x4f,0x70,0x65,0x72,0x61,0x74,0x69,0x6f,0x6e])]&&_0x4c235c++,_0x4c235c==(0x47a280ee^_0x5b6382)&&(_0x224bee(),_0x260670[_0x23439e([0x6f,0x66,0x66])]());});}))];return window[_0x23439e([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65])][_0x23439e([0x72,0x61,0x63,0x65])](_0x221877)[_0x23439e([0x74,0x68,0x65,0x6e])](()=>_0x4f5f5f);}async function _0x16a554(){await _0x5ca88b,_0x111df7[_0x23439e([0x6d,0x6f,0x64,0x65,0x6c])][_0x23439e([0x63,0x68,0x61,0x6e,0x67,0x65])]=_0x4683bd,_0x111df7[_0x23439e([0x6d,0x6f,0x64,0x65,0x6c])][_0x23439e([0x65,0x6e,0x71,0x75,0x65,0x75,0x65,0x43,0x68,0x61,0x6e,0x67,0x65])]=_0x4683bd,_0x111df7[_0x23439e([0x65,0x6e,0x61,0x62,0x6c,0x65,0x52,0x65,0x61,0x64,0x4f,0x6e,0x6c,0x79,0x4d,0x6f,0x64,0x65])](_0x23439e([0x6d,0x6f,0x64,0x65,0x6c]));}function _0x357770(_0x43f1e9){const _0x2df80e=_0xf08fee();_0x111df7[_0x2df80e]=_0x23439e([0x66,0x6f,0x6f,0x74,0x6e,0x6f,0x74,0x65,0x73,0x4c,0x69,0x63,0x65,0x6e,0x73,0x65,0x4b,0x65,0x79])+_0x43f1e9,_0x43f1e9!=_0x23439e([0x56,0x61,0x6c,0x69,0x64])&&_0x16a554();}function _0xf08fee(){const _0x400cd2=window[_0x23439e([0x53,0x74,0x72,0x69,0x6e,0x67])](window[_0x23439e([0x70,0x65,0x72,0x66,0x6f,0x72,0x6d,0x61,0x6e,0x63,0x65])][_0x23439e([0x6e,0x6f,0x77])]())[_0x23439e([0x72,0x65,0x70,0x6c,0x61,0x63,0x65])](_0x23439e([0x2e]),'');let _0x1cc673=_0x23439e([0x75]);for(let _0x5759d4=0x0;_0x5759d4<_0x400cd2[_0x23439e([0x6c,0x65,0x6e,0x67,0x74,0x68])];_0x5759d4+=0x2){let _0x7a2d0f=window[_0x23439e([0x70,0x61,0x72,0x73,0x65,0x49,0x6e,0x74])](_0x400cd2[_0x23439e([0x73,0x75,0x62,0x73,0x74,0x72,0x69,0x6e,0x67])](_0x5759d4,_0x5759d4+0x2));_0x7a2d0f>=_0x116db2[_0x23439e([0x6c,0x65,0x6e,0x67,0x74,0x68])]&&(_0x7a2d0f-=_0x116db2[_0x23439e([0x6c,0x65,0x6e,0x67,0x74,0x68])]),_0x1cc673+=_0x116db2[_0x7a2d0f];}return _0x1cc673;}function _0x31ce33(){const _0x11a568=_0x2ed218[_0x23439e([0x73,0x70,0x6c,0x69,0x74])](_0x23439e([0x2e]));if(0x3!=_0x11a568[_0x23439e([0x6c,0x65,0x6e,0x67,0x74,0x68])])return null;return _0x559ff4(_0x11a568[0x1]);function _0x559ff4(_0x38520f){const _0x306d84=_0x483b35(_0x38520f);return _0x306d84&&_0x5490b1()?_0x306d84:null;function _0x5490b1(){const _0x8e7cbd=_0x306d84[_0x23439e([0x6a,0x74,0x69])],_0x572113=window[_0x23439e([0x70,0x61,0x72,0x73,0x65,0x49,0x6e,0x74])](_0x8e7cbd[_0x23439e([0x73,0x75,0x62,0x73,0x74,0x72,0x69,0x6e,0x67])](_0x8e7cbd[_0x23439e([0x6c,0x65,0x6e,0x67,0x74,0x68])]-0x8),0x10),_0x5ddac0={..._0x306d84,[_0x23439e([0x6a,0x74,0x69])]:_0x8e7cbd[_0x23439e([0x73,0x75,0x62,0x73,0x74,0x72,0x69,0x6e,0x67])](0x0,_0x8e7cbd[_0x23439e([0x6c,0x65,0x6e,0x67,0x74,0x68])]-0x8)};return delete _0x5ddac0[_0x23439e([0x76,0x63])],_0x4e3071(_0x5ddac0)==_0x572113;}}}async function _0x2e208a(){let _0x4214d5=!0x0;try{const _0x2cef63=_0x2ed218[_0x23439e([0x73,0x70,0x6c,0x69,0x74])](_0x23439e([0x2e])),[_0x2a5de1,_0x221f5b,_0x1d8223]=_0x2cef63;return _0x4bdda4(_0x2a5de1),await _0x1000d3(_0x2a5de1,_0x221f5b,_0x1d8223),_0x4214d5;}catch{return!0x1;}function _0x4bdda4(_0x13241a){const _0x493eb1=_0x483b35(_0x13241a);_0x493eb1&&_0x493eb1[_0x23439e([0x61,0x6c,0x67])]==_0x23439e([0x45,0x53,0x32,0x35,0x36])||(_0x4214d5=!0x1);}async function _0x1000d3(_0x3327a1,_0x189120,_0x17efac){const _0x3b21d3=window[_0x23439e([0x55,0x69,0x6e,0x74,0x38,0x41,0x72,0x72,0x61,0x79])][_0x23439e([0x66,0x72,0x6f,0x6d])](_0x6ae814(_0x17efac),_0xb5a91e=>_0xb5a91e[_0x23439e([0x63,0x68,0x61,0x72,0x43,0x6f,0x64,0x65,0x41,0x74])](0x0)),_0x36f64e=new window[(_0x23439e([0x54,0x65,0x78,0x74,0x45,0x6e,0x63,0x6f,0x64,0x65,0x72]))]()[_0x23439e([0x65,0x6e,0x63,0x6f,0x64,0x65])](_0x3327a1+_0x23439e([0x2e])+_0x189120),_0x392a03=window[_0x23439e([0x63,0x72,0x79,0x70,0x74,0x6f])][_0x23439e([0x73,0x75,0x62,0x74,0x6c,0x65])];if(!_0x392a03)return;const _0x41e8bc=await _0x392a03[_0x23439e([0x69,0x6d,0x70,0x6f,0x72,0x74,0x4b,0x65,0x79])](_0x23439e([0x6a,0x77,0x6b]),_0x5ece0c,{[_0x23439e([0x6e,0x61,0x6d,0x65])]:_0x23439e([0x45,0x43,0x44,0x53,0x41]),[_0x23439e([0x6e,0x61,0x6d,0x65,0x64,0x43,0x75,0x72,0x76,0x65])]:_0x23439e([0x50,0x2d,0x32,0x35,0x36])},!0x1,[_0x23439e([0x76,0x65,0x72,0x69,0x66,0x79])]);await _0x392a03[_0x23439e([0x76,0x65,0x72,0x69,0x66,0x79])]({[_0x23439e([0x6e,0x61,0x6d,0x65])]:_0x23439e([0x45,0x43,0x44,0x53,0x41]),[_0x23439e([0x68,0x61,0x73,0x68])]:{[_0x23439e([0x6e,0x61,0x6d,0x65])]:_0x23439e([0x53,0x48,0x41,0x2d,0x32,0x35,0x36])}},_0x41e8bc,_0x3b21d3,_0x36f64e)||(_0x4214d5=!0x1);}}function _0x483b35(_0x4f49a4){return _0x4f49a4[_0x23439e([0x73,0x74,0x61,0x72,0x74,0x73,0x57,0x69,0x74,0x68])](_0x23439e([0x65,0x79]))?JSON[_0x23439e([0x70,0x61,0x72,0x73,0x65])](_0x6ae814(_0x4f49a4)):null;}function _0x6ae814(_0x18204b){return window[_0x23439e([0x61,0x74,0x6f,0x62])](_0x18204b[_0x23439e([0x72,0x65,0x70,0x6c,0x61,0x63,0x65])](/-/g,_0x23439e([0x2b]))[_0x23439e([0x72,0x65,0x70,0x6c,0x61,0x63,0x65])](/_/g,_0x23439e([0x2f])));}function _0x4e3071(_0x1292ce){let _0x2a15b2=0x1505;function _0x47e7a7(_0x5e5ac7){for(let _0x1695e7=0x0;_0x1695e7<_0x5e5ac7[_0x23439e([0x6c,0x65,0x6e,0x67,0x74,0x68])];_0x1695e7++){const _0x395db7=_0x5e5ac7[_0x23439e([0x63,0x68,0x61,0x72,0x43,0x6f,0x64,0x65,0x41,0x74])](_0x1695e7);_0x2a15b2=(_0x2a15b2<<0x5)+_0x2a15b2+_0x395db7,_0x2a15b2&=_0x2a15b2;}}function _0x4ebb5f(_0x208a9f){Array[_0x23439e([0x69,0x73,0x41,0x72,0x72,0x61,0x79])](_0x208a9f)?_0x208a9f[_0x23439e([0x66,0x6f,0x72,0x45,0x61,0x63,0x68])](_0x4ebb5f):_0x208a9f&&typeof _0x208a9f==_0x23439e([0x6f,0x62,0x6a,0x65,0x63,0x74])?Object[_0x23439e([0x65,0x6e,0x74,0x72,0x69,0x65,0x73])](_0x208a9f)[_0x23439e([0x73,0x6f,0x72,0x74])]()[_0x23439e([0x66,0x6f,0x72,0x45,0x61,0x63,0x68])](([_0x32f637,_0x36d3ad])=>{_0x47e7a7(_0x32f637),_0x4ebb5f(_0x36d3ad);}):_0x47e7a7(window[_0x23439e([0x53,0x74,0x72,0x69,0x6e,0x67])](_0x208a9f));}return _0x4ebb5f(_0x1292ce),_0x2a15b2>>>0x0;}function _0x8acdd5(_0x1d9b04){return _0x1d9b04[_0x23439e([0x74,0x6f,0x53,0x74,0x72,0x69,0x6e,0x67])](0x10)[_0x23439e([0x70,0x61,0x64,0x53,0x74,0x61,0x72,0x74])](0x8,_0x23439e([0x30]));}function _0x30fec6(_0x5a8293){return _0x5a8293[_0x23439e([0x73,0x70,0x6c,0x69,0x74])]('')[_0x23439e([0x72,0x65,0x76,0x65,0x72,0x73,0x65])]()[_0x23439e([0x6a,0x6f,0x69,0x6e])]('');}function _0x4683bd(){}function _0x23439e(_0x249a11){return _0x249a11['map'](_0x36c256=>String['fromCharCode'](_0x36c256))['join']('');}_0x357770(await _0x3a612b());}(this);}['_moveSelectionToFootnoteDefinition'](_0x59c83c){const {plugins:_0x800478,editing:_0x1a5476,model:_0xddeb8a}=this['editor'],_0x3974db=_0x800478['get'](K)['getFootnote'](_0x59c83c);return!!_0x3974db&&(_0xddeb8a['change'](_0x1d6e2c=>{_0x1d6e2c['setSelection'](_0x1d6e2c['createPositionAt'](_0x3974db['definition'],'end'));}),_0x1a5476['view']['scrollToTheSelection'](),!0x0);}['_moveSelectionToFootnoteReference'](_0x22b04b){const {plugins:_0x2f6def,editing:_0x3bed88,model:_0x3d15ce}=this['editor'],_0x3360e4=_0x2f6def['get'](K)['getFootnote'](_0x22b04b);return!!_0x3360e4&&(_0x3d15ce['change'](_0x5be896=>{_0x5be896['setSelection'](_0x3360e4['reference'],'on');}),_0x3bed88['view']['scrollToTheSelection'](),!0x0);}['_defineSchema'](){const {schema:_0x4b3332}=this['editor']['model'],_0x450aef=this['editor']['config']['get']('footnotes.multiBlock');_0x4b3332['register']('footnoteRef',{'inheritAllFrom':'$inlineObject','allowAttributes':['footnoteId','footnoteCounter']}),_0x4b3332['register']('footnotesDefinitions',{'inheritAllFrom':'$blockObject','allowChildren':['footnoteDefinition']}),_0x4b3332['register']('footnoteDefinition',{'allowAttributes':['footnoteId'],'disallowAttributes':['listItemId'],'isLimit':!0x0}),_0x450aef?_0x4b3332['extend']('footnoteDefinition',{'allowContentOf':'$container'}):_0x4b3332['register']('footnoteInlineContent',{'allowIn':'footnoteDefinition','allowContentOf':'$block','isLimit':!0x0}),_0x4b3332['addChildCheck'](_0x54f2e7=>{for(const _0x1d438b of _0x54f2e7)if('footnoteDefinition'===_0x1d438b['name'])return!0x1;},'footnoteRef');}['_defineRefsConverters'](){const {editor:_0x3ef7f5}=this,{conversion:_0xa1f84f,editing:_0x5ea99b}=_0x3ef7f5,{t:t}=_0x3ef7f5['locale'];_0xa1f84f['for']('upcast')['elementToElement']({'view':{'name':'sup','classes':'footnote'},'model':(_0x336829,{writer:_0x1bf71f,consumable:_0x148005})=>{const _0x492ee3=_0x336829['getChild'](0x0);if(!_0x492ee3||!_0x492ee3['is']('element','a'))return null;const _0x28ac2a=_0x492ee3['getAttribute']('href')||'';if(!_0x28ac2a['startsWith']('#'))return null;const _0x356b44=_0x28ac2a['replace'](/^#/,'');if(!_0x356b44)return null;_0x148005['consume'](_0x492ee3,{'name':!0x0,'attributes':['href']});for(const {item:_0x449135}of _0x5ea99b['view']['createRangeIn'](_0x492ee3))_0x449135['is']('$textProxy')?_0x148005['consume'](_0x449135['textNode'],{'name':!0x0}):_0x449135['is']('element')&&_0x148005['consume'](_0x449135,{'name':!0x0});return _0x1bf71f['createElement']('footnoteRef',{'footnoteId':_0x356b44});}}),_0xa1f84f['for']('dataDowncast')['elementToElement']({'model':{'name':'footnoteRef','attributes':['footnoteId','footnoteCounter']},'view':(_0x2f2ec2,{writer:_0x1630f5})=>z(_0x2f2ec2,_0x1630f5)}),_0xa1f84f['for']('editingDowncast')['elementToElement']({'model':{'name':'footnoteRef','attributes':['footnoteId','footnoteCounter']},'view':(_0x19844f,{writer:_0x35dca8})=>{const _0xe5c7e4=_0x19844f['getAttribute']('footnoteCounter');return _0x30e370(z(_0x19844f,_0x35dca8),_0x35dca8,{'label':t('Footnote\x20%0.\x20Press\x20ENTER\x20to\x20jump\x20to\x20footnote\x20definition.',_0xe5c7e4)});}});}['_defineDefinitionsConverters'](){const {editor:_0x414b1a}=this,{t:t}=_0x414b1a['locale'],{conversion:_0x3ae8ab}=_0x414b1a;_0x3ae8ab['for']('upcast')['elementToElement']({'view':{'name':'div','classes':'footnotes'},'model':'footnotesDefinitions'}),_0x3ae8ab['for']('upcast')['add'](_0x45b5b5=>{_0x45b5b5['on']('element:ol',(_0x5d4bbb,_0x5824e4,_0x4e9a7f)=>{const _0x34ad8=_0x5824e4['viewItem'];if(!_0x34ad8['hasClass']('footnotes-list')||!_0x5824e4['modelCursor']['parent']?.['is']('element','footnotesDefinitions'))return;if(!_0x4e9a7f['consumable']['consume'](_0x34ad8,{'name':!0x0,'classes':'footnotes-list'}))return;const {modelRange:_0x8dc2a,modelCursor:_0x5a484d}=_0x4e9a7f['convertChildren'](_0x5824e4['viewItem'],_0x5824e4['modelCursor']);_0x5824e4['modelRange']=_0x8dc2a,_0x5824e4['modelCursor']=_0x5a484d;}),_0x45b5b5['on']('element:hr',(_0xc86785,_0x6bb68c,_0x2058bb)=>{const _0x1d0c17=_0x6bb68c['viewItem'];_0x1d0c17['hasClass']('footnotes-divider')&&_0x6bb68c['modelCursor']['parent']?.['is']('element','footnotesDefinitions')&&_0x2058bb['consumable']['consume'](_0x1d0c17,{'name':!0x0,'classes':'footnotes-divider'});});}),_0x3ae8ab['for']('dataDowncast')['elementToStructure']({'model':'footnotesDefinitions','view':(_0xb9147f,{writer:_0x393453})=>H(_0x393453)}),_0x3ae8ab['for']('editingDowncast')['elementToStructure']({'model':'footnotesDefinitions','view':(_0xaa70fa,{writer:_0x33b0ce})=>{const _0x108d7e=H(_0x33b0ce,{'data-footnotes-list-label':t('Footnotes')}),_0x50965f=_0x30e370(_0x108d7e,_0x33b0ce,{'hasSelectionHandle':!0x0,'label':t('Footnotes')});return _0x33b0ce['setCustomProperty']('footnotesDefinitions',!0x0,_0x50965f),_0x50965f;}});}['_defineDefinitionConverters'](){const {editor:_0x483d5f}=this,{conversion:_0x58ddf4,locale:_0x1b3095}=_0x483d5f,_0x4ab863=_0x483d5f['config']['get']('footnotes.multiBlock');_0x58ddf4['for']('upcast')['add'](_0x26e665=>{_0x26e665['on']('element:li',(_0x29ec19,_0x1f2f0b,_0x208317)=>{const _0x433b3a=_0x1f2f0b['viewItem'];if(!_0x433b3a['hasClass']('footnote-definition')||!_0x433b3a['getAttribute']('id'))return;const _0x5267b7=_0x433b3a['parent'];if(!_0x5267b7['is']('element','ol')||!_0x5267b7['hasClass']('footnotes-list'))return;if(!_0x208317['consumable']['test'](_0x433b3a,{'name':!0x0,'attributes':'id','classes':'footnote-definition'}))return;const _0x367689=_0x208317['writer']['createElement']('footnoteDefinition',{'footnoteId':_0x433b3a['getAttribute']('id')});if(!_0x208317['safeInsert'](_0x367689,_0x1f2f0b['modelCursor']))return;_0x208317['consumable']['consume'](_0x433b3a,{'name':!0x0,'attributes':'id','classes':'footnote-definition'});const _0x595e0e=Array['from'](_0x433b3a['getChildren']())['find'](_0xdcea9e=>_0xdcea9e['is']('element')&&_0xdcea9e['hasClass']('footnote-content'));for(const _0x28c474 of _0x433b3a['getChildren']())_0x28c474['is']('element')&&(_0x208317['consumable']['consume'](_0x28c474,{'name':!0x0,'classes':'footnote-backlink','attributes':'href'}),_0x208317['consumable']['consume'](_0x28c474,{'name':!0x0,'classes':'footnote-content'}));if(_0x595e0e){if(_0x4ab863)_0x208317['convertChildren'](_0x595e0e,_0x367689);else{const _0x1b0088=_0x208317['writer']['createElement']('footnoteInlineContent');_0x208317['writer']['insert'](_0x1b0088,_0x367689),_0x208317['convertChildren'](_0x595e0e,_0x1b0088);}}_0x208317['updateConversionResult'](_0x367689,_0x1f2f0b);});}),_0x58ddf4['for']('dataDowncast')['elementToStructure']({'model':{'name':'footnoteDefinition','attributes':['footnoteId']},'view':(_0x5beb75,{writer:_0x41f780})=>X(_0x5beb75,_0x41f780,_0x1b3095,{'dataPipeline':!0x0})}),_0x58ddf4['for']('editingDowncast')['elementToStructure']({'model':{'name':'footnoteDefinition','attributes':['footnoteId']},'view':(_0x26af05,{writer:_0x58d6de})=>X(_0x26af05,_0x58d6de,_0x1b3095)});}['_defineBogusParagraphConverters'](){const {editor:_0x20e4f8}=this,{conversion:_0x354ac7}=_0x20e4f8;_0x20e4f8['config']['get']('footnotes.multiBlock')?(_0x354ac7['for']('editingDowncast')['elementToElement']({'model':'paragraph','view':B(),'converterPriority':'high'}),_0x354ac7['for']('dataDowncast')['elementToElement']({'model':'paragraph','view':B({'dataPipeline':!0x0}),'converterPriority':'high'}),this['listenTo'](_0x20e4f8['model']['document'],'change:data',()=>{!function(_0x3ecfd1,_0x4df4d8){const _0x594edd=_0x3ecfd1['document']['differ'],_0x2f4cd3=new Set();for(const _0x573e3d of _0x594edd['getChanges']()){const _0x1eef28='attribute'==_0x573e3d['type']?_0x573e3d['range']['start']['parent']:_0x573e3d['position']['parent'];_0x1eef28['is']('element','footnoteDefinition')&&_0x2f4cd3['add'](_0x1eef28);}for(const _0x544a8a of _0x2f4cd3['values']()){const _0x258b3d=Array['from'](_0x544a8a['getChildren']())['filter'](_0xa03b61=>U(_0xa03b61,_0x4df4d8['mapper']));for(const _0x4238b2 of _0x258b3d)_0x4df4d8['reconvertItem'](_0x4238b2);}}(_0x20e4f8['model'],_0x20e4f8['editing']);})):(_0x354ac7['for']('editingDowncast')['elementToElement']({'model':'footnoteInlineContent','view':B()}),_0x354ac7['for']('dataDowncast')['elementToElement']({'model':'footnoteInlineContent','view':(_0x5f039e,{writer:_0x54cff7})=>{const _0x336738=_0x54cff7['createContainerElement']('span');return _0x54cff7['setCustomProperty']('dataPipeline:transparentRendering',!0x0,_0x336738),_0x336738;}}));}['_defineKeyboardHandlers'](){const {editor:_0x960771}=this,{editing:_0x4dbaf5,t:t}=_0x960771,_0xb77102=_0x960771['model']['document']['selection'];_0x960771['keystrokes']['set']('Ctrl+Alt+F','insertFootnote'),_0x960771['accessibility']['addKeystrokeInfos']({'keystrokes':[{'label':t('Insert\x20footnote'),'keystroke':'Ctrl+Alt+F'}]}),this['listenTo'](_0x4dbaf5['view']['document'],'enter',(_0x21d9ef,_0x6122)=>{const _0x3b964e=function(_0x2250b7){const _0x5f3b25=_0x2250b7['getSelectedElement']();if(_0x5f3b25?.['is']('element','footnoteRef'))return _0x5f3b25;return null;}(_0xb77102);if(_0x3b964e){const _0x4590c8=_0x3b964e['getAttribute']('footnoteId');this['_moveSelectionToFootnoteDefinition'](_0x4590c8),_0x6122['preventDefault'](),_0x21d9ef['stop']();}},{'context':_0x50caf3});}['_defineClickHandlers'](){const {editor:_0x4f8f81}=this,{editing:_0x370bab}=_0x4f8f81;_0x4f8f81['editing']['view']['addObserver'](_0x4e8f04),_0x4f8f81['editing']['view']['addObserver'](_0x20d417);let _0x455bfc=!0x1;this['listenTo'](_0x370bab['view']['document'],'pointerdown',(_0x3f245c,_0x5b2fe5)=>{const {target:_0x99b401}=_0x5b2fe5,_0x3e49bb=_0x370bab['view']['document']['selection'];_0x455bfc=!!(_0x99b401?.['is']('element','a')&&_0x99b401['parent']?.['is']('element','sup')&&_0x99b401['parent']['hasClass']('footnote'))&&_0x3e49bb['getSelectedElement']()===_0x99b401['parent'];},{'priority':'high'}),this['listenTo'](_0x370bab['view']['document'],'click',(_0x5a0939,_0x59b27c)=>{const {target:_0x59f56f}=_0x59b27c;if(!_0x59f56f?.['is']('element','a'))return;if(_0x59f56f['parent']?.['is']('element','sup')&&_0x59f56f['parent']['hasClass']('footnote')&&!_0x455bfc)return void _0x59b27c['preventDefault']();let _0x919d5c=_0x59f56f['getAttribute']('href');if(!_0x919d5c?.['startsWith']('#'))return;_0x919d5c=_0x919d5c['slice'](0x1);let _0x5a1ccd=!0x1;(_0x919d5c['startsWith']('ref-')&&this['_moveSelectionToFootnoteReference'](_0x919d5c['slice'](0x4))||this['_moveSelectionToFootnoteDefinition'](_0x919d5c))&&(_0x5a1ccd=!0x0),_0x5a1ccd&&(_0x59b27c['preventDefault'](),_0x5a0939['stop']());},{'priority':'high','context':'$capture'});}}function B({dataPipeline:_0x52e3d7}={}){return(_0x1cc3e5,{writer:_0x430b7f})=>{if(!M(_0x1cc3e5))return null;if(!_0x52e3d7)return _0x430b7f['createContainerElement']('span',{'class':'ck-footnote-bogus-paragraph'});const _0xb782cd=_0x430b7f['createContainerElement']('p');return _0x430b7f['setCustomProperty']('dataPipeline:transparentRendering',!0x0,_0xb782cd),_0xb782cd;};}function M(_0x26b52d){const {parent:_0x44e00e}=_0x26b52d;if(!_0x44e00e?.['is']('element','footnoteDefinition'))return!0x1;if(0x1!=_0x44e00e['childCount'])return!0x1;for(const _0x5134ea of _0x26b52d['getAttributeKeys']())if(!_0x5134ea['startsWith']('selection:')&&'htmlEmptyBlock'!=_0x5134ea)return!0x1;return!0x0;}function U(_0x5d03ca,_0x5afd89){if(!_0x5d03ca['is']('element','paragraph'))return!0x1;const _0x218fae=_0x5afd89['toViewElement'](_0x5d03ca);return!!_0x218fae&&M(_0x5d03ca)!==_0x218fae['is']('element','span');}function q(_0x3d5f2f){return _0x50caf3(_0x3d5f2f)&&_0x3d5f2f['is']('containerElement')&&!!_0x3d5f2f['getCustomProperty']('footnotesDefinitions');}function H(_0x24222a,_0x3b8452={}){const _0x360c5e=_0x24222a['createEmptyElement']('hr',{'class':'footnotes-divider'}),_0x3f10d8=_0x24222a['createContainerElement']('ol',{'class':'footnotes-list'},_0x24222a['createSlot']());return _0x24222a['createContainerElement']('div',{'class':'footnotes',..._0x3b8452},[_0x360c5e,_0x3f10d8]);}function z(_0x1c74ae,_0x1d71b5){const _0x5a831c=_0x1c74ae['getAttribute']('footnoteId'),_0x5cad8f=_0x1c74ae['getAttribute']('footnoteCounter'),_0x1f68d4=_0x1d71b5['createUIElement']('a',{'href':'#'+_0x5a831c},function(_0xc510b9){const _0x5a722e=this['toDomElement'](_0xc510b9);return _0x5a722e['textContent']=_0x5cad8f,_0x5a722e;}),_0x2bbefd=_0x1d71b5['createContainerElement']('sup',{'id':'ref-'+_0x5a831c,'class':'footnote'},[_0x1f68d4]);return _0x2bbefd['getFillerOffset']=()=>null,_0x2bbefd;}function X(_0x22455c,_0x3a5973,_0x53bf2e,{dataPipeline:_0x295dd9}={}){const {t:t}=_0x53bf2e,_0x4a0c48=_0x22455c['getAttribute']('footnoteId'),_0x1c536a=_0x3a5973['createUIElement']('a',{'class':'footnote-backlink','href':'#ref-'+_0x4a0c48},function(_0x466243){const _0x2a4b9a=this['toDomElement'](_0x466243);return _0x2a4b9a['innerText']='^',_0x2a4b9a;}),_0x5aa589=_0x295dd9?_0x3a5973['createContainerElement']('div',{'class':'footnote-content'}):_0x3112db(_0x3a5973['createEditableElement']('div',{'class':'footnote-content'}),_0x3a5973,{'label':t('Footnote\x20content.')});return _0x3a5973['insert'](_0x3a5973['createPositionAt'](_0x5aa589,0x0),_0x3a5973['createSlot']()),_0x3a5973['createContainerElement']('li',{'class':'footnote-definition','id':_0x4a0c48},[_0x1c536a,_0x5aa589]);}class J extends _0x201f01{static get['pluginName'](){return'FootnotesClipboard';}static get['requires'](){return[$,_0x430a7c];}static get['isOfficialPlugin'](){return!0x0;}static get['isPremiumPlugin'](){return!0x0;}['init'](){this['_defineClipboardIntegration']();}['_defineClipboardIntegration'](){this['_handleCopyFootnotesDefinitions'](),this['_handlePasteFootnotesDefinitions']();}['_handleCopyFootnotesDefinitions'](){const {editor:_0x598e4c}=this,{plugins:_0x777544,model:_0x4e539f}=_0x598e4c,_0x5cfe79=_0x777544['get'](_0x430a7c),_0x7e9758=_0x777544['get'](K);this['listenTo'](_0x5cfe79,'outputTransformation',(_0x4b96ed,_0x2f61a6)=>{const _0x29d618=Q(_0x4e539f['createRangeIn'](_0x2f61a6['content']));if(!_0x29d618['length'])return;const _0x184f2c=_0x7e9758['getFootnotes'](),_0x44d5d3=_0x29d618['reduce']((_0x3dce6b,_0x1a9869)=>{const _0x18a8bc=_0x184f2c['find'](_0x31d6d6=>_0x31d6d6['id']===_0x1a9869);if(_0x18a8bc){const _0x5f63d=_0x598e4c['data']['toView'](_0x18a8bc['definition'],{'isClipboardPipeline':!0x0}),_0x5aa980=_0x598e4c['data']['htmlProcessor']['toData'](_0x5f63d);_0x3dce6b[_0x18a8bc['id']]=_0x5aa980;}return _0x3dce6b;},Object['create'](null));_0x2f61a6['dataTransfer']['setData']('application/ckeditor5-footnotes',JSON['stringify'](_0x44d5d3));});}['_handlePasteFootnotesDefinitions'](){const {editor:_0x276d29}=this,{model:_0x7fbffb,plugins:_0x41ebed}=_0x276d29,{view:_0x38074c}=_0x276d29['editing'],_0x35e562=_0x41ebed['get'](_0x430a7c),_0x39200d=_0x41ebed['get'](K),_0xf86810=_0x276d29['config']['get']('footnotes.multiBlock');let _0xd7ce99=null;this['listenTo'](_0x38074c['document'],'clipboardInput',(_0x52aede,_0x2e3ea5)=>{const _0x36745e=_0x2e3ea5['dataTransfer']['getData']('application/ckeditor5-footnotes');_0xd7ce99=_0x36745e?JSON['parse'](_0x36745e):null;}),this['listenTo'](_0x35e562,'contentInsertion',(_0x5950bd,_0x531d29)=>{const _0x209420=_0x531d29['sourceEditorId']===this['editor']['id'];_0x209420&&'drop'===_0x531d29['method']||_0x7fbffb['change'](_0x447d15=>{let _0x5b1605=_0x39200d['getFootnotesDefinitionsObjectElement']();const _0x49646b=!!_0x5b1605&&Array['from'](_0x7fbffb['document']['selection']['getSelectedBlocks']())['includes'](_0x5b1605);if(!_0xd7ce99&&function(_0x58f6f3){for(const {item:_0x39841d}of _0x58f6f3)if(_0x39841d['is']('element','footnoteRef'))return!0x0;return!0x1;}(_0x7fbffb['createRangeIn'](_0x531d29['content']))&&(_0xd7ce99=function(_0x4f9f62,_0x5409fc){const _0x59c024=G(_0x4f9f62,_0x5409fc);if(!_0x59c024)return null;const _0x577924=Object['create'](null);for(const _0xb28351 of _0x59c024['getChildren']())_0xb28351['is']('element','footnoteDefinition')&&_0xb28351['hasAttribute']('footnoteId')&&(_0x577924[_0xb28351['getAttribute']('footnoteId')]=_0x4f9f62['cloneElement'](_0xb28351,!0x0));return Object['keys'](_0x577924)['length']?_0x577924:null;}(_0x447d15,_0x531d29['content'])),(_0x5b1605&&!_0x49646b||!_0x5b1605&&!_0xd7ce99)&&function(_0x20ec74,_0x36b79a){const _0x3a0b36=[];for(const {item:_0x5c229c}of _0x20ec74['createRangeIn'](_0x36b79a))_0x5c229c['is']('element','footnotesDefinitions')&&_0x3a0b36['push'](_0x5c229c);for(const _0x5e035f of _0x3a0b36)_0x20ec74['remove'](_0x5e035f);}(_0x447d15,_0x531d29['content']),!_0xd7ce99)return;const {selection:_0x1b6809}=_0x7fbffb['document'],_0x471b36=_0x1b6809['getFirstRange']()['root'];_0x5b1605&&!_0x49646b||(_0x5b1605=G(_0x447d15,_0x531d29['content']),_0x5b1605||=_0x39200d['_insertEmptyFootnotesDefinitionsContainer'](_0x447d15,_0x471b36));const _0x142e07=Array['from'](_0x1b6809['getRanges']())['flatMap'](Q),_0x1881f3=function(_0x2f0af0,_0x100955,_0x14e542){const _0x206984=Object['create'](null);for(const {item:_0x4e227f}of _0x2f0af0['createRangeIn'](_0x100955))if(_0x4e227f['is']('element','footnoteRef')){const _0x38d09f=_0x4e227f['getAttribute']('footnoteId');if(!_0x14e542(_0x38d09f))continue;_0x206984[_0x38d09f]||(_0x206984[_0x38d09f]=_0xebcec8()),_0x2f0af0['setAttribute']('footnoteId',_0x206984[_0x38d09f],_0x4e227f);}return _0x206984;}(_0x447d15,_0x531d29['content'],_0x2ac524=>{if(!_0x209420)return!0x0;return!!_0x39200d['getFootnote'](_0x2ac524)&&!_0x142e07['includes'](_0x2ac524);});for(const [_0x1be5dc,_0x309842]of Object['entries'](_0xd7ce99)){const _0xe350bc=_0x1881f3[_0x1be5dc]||_0x1be5dc;let _0x24fdc8;if('string'!=typeof _0x309842)_0x24fdc8=_0x309842,_0xe350bc!==_0x1be5dc&&_0x447d15['setAttribute']('footnoteId',_0xe350bc,_0x24fdc8);else{_0x24fdc8=_0x447d15['createElement']('footnoteDefinition',{'footnoteId':_0xe350bc});const _0x29118e=_0x276d29['data']['htmlProcessor']['toView'](_0x309842);let _0x165307;if(_0xf86810)_0x165307=_0x276d29['data']['toModel'](_0x29118e,_0x24fdc8);else{_0x165307=_0x447d15['createElement']('footnoteInlineContent');const _0x26ee3a=_0x276d29['data']['toModel'](_0x29118e,_0x165307);_0x447d15['insert'](_0x26ee3a,_0x165307);}_0x447d15['append'](_0x165307,_0x24fdc8);}_0x447d15['insert'](_0x24fdc8,_0x5b1605,'end');}_0xd7ce99=null;});});}}function G(_0x25e96e,_0x396bbd){for(const {item:_0x42c138}of _0x25e96e['createRangeIn'](_0x396bbd))if(_0x42c138['is']('element','footnotesDefinitions'))return _0x42c138;return null;}function Q(_0x4c4e7d){const _0x1ef833=new Set();for(const {item:_0x30bc2e}of _0x4c4e7d)_0x30bc2e['is']('element','footnoteRef')&&_0x1ef833['add'](_0x30bc2e['getAttribute']('footnoteId'));return Array['from'](_0x1ef833);}class W extends _0x201f01{['licenseKey'];['_licenseKeyCheckInterval'];static get['pluginName'](){return'FootnotesUI';}static get['isOfficialPlugin'](){return!0x0;}static get['isPremiumPlugin'](){return!0x0;}['init'](){const {editor:_0x21832b}=this,{componentFactory:_0x269c08}=_0x21832b['ui'];_0x269c08['add']('insertFootnote',Y(_0x21832b,_0x3c07b7)),_0x269c08['add']('menuBar:insertFootnote',Y(_0x21832b,_0x440c15)),this['licenseKey']=this['editor']['config']['get']('licenseKey');const _0x41bd4d=this['editor'];this['_licenseKeyCheckInterval']=setInterval(()=>{let _0x567a74;for(const _0x479127 in _0x41bd4d){const _0x4b333c=_0x479127,_0x1c0883=_0x41bd4d[_0x4b333c];if('footnotesLicenseKeyValid'==_0x1c0883||'footnotesLicenseKeyInvalid'==_0x1c0883||'footnotesLicenseKeyExpired'==_0x1c0883||'footnotesLicenseKeyDomainLimit'==_0x1c0883||'footnotesLicenseKeyNotAllowed'==_0x1c0883||'footnotesLicenseKeyEvaluationLimit'==_0x1c0883||'footnotesLicenseKeyUsageLimit'==_0x1c0883){delete _0x41bd4d[_0x4b333c],_0x567a74=_0x1c0883,clearInterval(this['_licenseKeyCheckInterval']),this['_licenseKeyCheckInterval']=void 0x0;break;}}'footnotesLicenseKeyInvalid'==_0x567a74&&_0x41bd4d['_showLicenseError']('invalid'),'footnotesLicenseKeyExpired'==_0x567a74&&_0x41bd4d['_showLicenseError']('expired'),'footnotesLicenseKeyDomainLimit'==_0x567a74&&_0x41bd4d['_showLicenseError']('domainLimit'),'footnotesLicenseKeyNotAllowed'==_0x567a74&&_0x41bd4d['_showLicenseError']('featureNotAllowed','Footnotes'),'footnotesLicenseKeyEvaluationLimit'==_0x567a74&&_0x41bd4d['_showLicenseError']('evaluationLimit'),'footnotesLicenseKeyUsageLimit'==_0x567a74&&_0x41bd4d['_showLicenseError']('usageLimit');},0x3e8);}['destroy'](){super['destroy'](),this['_licenseKeyCheckInterval']&&clearInterval(this['_licenseKeyCheckInterval']);}}function Y(_0x46dec1,_0x1ce3e4){const _0x470788=_0x46dec1['commands']['get']('insertFootnote');return _0x56912a=>{const {t:t}=_0x56912a,_0x3f293d=new _0x1ce3e4(_0x56912a),_0xc3d711=_0x3f293d instanceof _0x440c15;return _0x3f293d['bind']('isEnabled')['to'](_0x470788,'isEnabled'),_0x3f293d['set']({'label':t(_0xc3d711?'Footnote':'Insert\x20footnote'),'icon':_0x260586,'tooltip':!0x0}),_0x3f293d['on']('execute',()=>{_0x470788['execute'](),_0x46dec1['editing']['view']['focus']();}),_0x3f293d;};}class Z extends _0x201f01{static get['pluginName'](){return'Footnotes';}static get['requires'](){return[$,J,W];}static get['isOfficialPlugin'](){return!0x0;}static get['isPremiumPlugin'](){return!0x0;}}const tt=['decimal','decimal-leading-zero','lower-latin','upper-latin','lower-roman','upper-roman'],et=Object['create']({'lower-alpha':'lower-latin','upper-alpha':'upper-latin'}),ot=[...tt,'arabic-indic','lower-alpha','upper-alpha'];class nt extends _0x79aa54{['refresh'](){const {editor:_0x599ecb}=this,_0x4a5b7e=_0x599ecb['plugins']['get'](K)['getFootnotesDefinitionsObjectElement']();this['isEnabled']=!!_0x4a5b7e,this['value']=_0x4a5b7e?.['getAttribute']('footnotesListStyle')??null;}['execute']({value:_0x79011a}){const {editor:_0x2e1686}=this,_0x3c96ee=_0x2e1686['plugins']['get'](K),_0x546aaa=_0x3c96ee['getFootnotesDefinitionsObjectElement']();_0x546aaa&&ot['includes'](_0x79011a)&&_0x2e1686['model']['change'](_0x493bea=>{_0x493bea['setAttribute']('footnotesListStyle',_0x79011a,_0x546aaa),_0x3c96ee['_updateFootnotesCounters'](_0x493bea);});}}class it extends _0x79aa54{['refresh'](){const {editor:_0x1f817c}=this,_0x6b000b=_0x1f817c['plugins']['get'](K)['getFootnotesDefinitionsObjectElement']();this['isEnabled']=!!_0x6b000b,this['value']=_0x6b000b?.['getAttribute']('footnotesListStart')??null;}['execute']({value:_0x481703}){const {editor:_0x593ea8}=this,_0x4b0bb8=_0x593ea8['plugins']['get'](K),_0x6b21b5=_0x4b0bb8['getFootnotesDefinitionsObjectElement']();_0x6b21b5&&Number['isInteger'](_0x481703)&&_0x593ea8['model']['change'](_0x53a7e3=>{_0x53a7e3['setAttribute']('footnotesListStart',_0x481703,_0x6b21b5),_0x4b0bb8['_updateFootnotesCounters'](_0x53a7e3);});}}function st(_0x151e6f,_0x63d220){let _0x5802e5='',_0x3c5750=_0x151e6f;for(;_0x3c5750>0x0;){const _0x11993d=(_0x3c5750-0x1)%0x1a;_0x5802e5=String['fromCharCode'](0x61+_0x11993d)+_0x5802e5,_0x3c5750=Math['floor']((_0x3c5750-0x1)/0x1a);}return _0x63d220?_0x5802e5['toUpperCase']():_0x5802e5;}const rt=[{'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 lt(_0x2e559c,_0x287bd3){let _0x192934='',_0x3f30cf=_0x2e559c;for(const {value:_0x5c0ce8,numeral:_0x4dc28a}of rt)for(;_0x3f30cf>=_0x5c0ce8;)_0x192934+=_0x4dc28a,_0x3f30cf-=_0x5c0ce8;return _0x287bd3?_0x192934:_0x192934['toLowerCase']();}const ft=['٠','١','٢','٣','٤','٥','٦','٧','٨','٩'];class at extends _0x201f01{static get['pluginName'](){return'FootnotesPropertiesEditing';}static get['requires'](){return[$,K];}static get['isOfficialPlugin'](){return!0x0;}static get['isPremiumPlugin'](){return!0x0;}['init'](){const {editor:_0x5ed5e8}=this;_0x5ed5e8['config']['define']('footnotes.footnotesProperties.defaultListStyle','decimal'),_0x5ed5e8['config']['define']('footnotes.footnotesProperties.defaultStartIndex',0x1),_0x5ed5e8['config']['define']('footnotes.footnotesProperties.listStyles',[...tt]),_0x5ed5e8['commands']['add']('footnotesStyle',new nt(_0x5ed5e8)),_0x5ed5e8['commands']['add']('footnotesStart',new it(_0x5ed5e8)),this['_defineSchema'](),this['_defineConverters'](),this['_defineFormatter'](),this['_definePostfixer']();}['_defineSchema'](){const {editor:_0x56b62e}=this,{schema:_0x3ab4db}=_0x56b62e['model'];_0x3ab4db['extend']('footnotesDefinitions',{'allowAttributes':['footnotesListStyle','footnotesListStart']});}['_defineConverters'](){const {editor:_0x360af4}=this,{conversion:_0x1593a1,model:_0x355bf6}=_0x360af4,{schema:_0x3164c6}=_0x355bf6;_0x1593a1['for']('upcast')['add'](_0x4fd9c7=>{_0x4fd9c7['on']('element:ol',(_0x5edfa6,_0x31e079,_0x3cd4a3)=>{const _0x4e60cb=_0x31e079['viewItem'],_0x4ee571=_0x31e079['modelCursor']?.['parent'];_0x4e60cb['hasClass']('footnotes-list')&&_0x4ee571?.['is']('element','footnotesDefinitions')&&(function(_0x571872,_0x1e8437,_0x493f4f,_0x439514){if(!_0x439514['checkAttribute'](_0x1e8437,'footnotesListStart'))return;let _0x2e90a7=0x1;const _0x16f4ae=_0x493f4f['consumable']['consume'](_0x571872,{'attributes':'start'});if(_0x16f4ae){const _0x4e6896=Number['parseInt'](_0x571872['getAttribute']('start'),0xa);Number['isNaN'](_0x4e6896)||(_0x2e90a7=_0x4e6896);}!_0x16f4ae&&_0x1e8437['hasAttribute']('footnotesListStart')||_0x493f4f['writer']['setAttribute']('footnotesListStart',_0x2e90a7,_0x1e8437);}(_0x4e60cb,_0x4ee571,_0x3cd4a3,_0x3164c6),function(_0x39c42c,_0x5a3a1f,_0x56a5a1,_0x326752){if(!_0x326752['checkAttribute'](_0x5a3a1f,'footnotesListStyle'))return;let _0x279488='decimal',_0x26ae09=!0x1;if(_0x56a5a1['consumable']['consume'](_0x39c42c,{'attributes':'type'})){const _0x4fe6af={0x1:'decimal','a':'lower-latin','A':'upper-latin','i':'lower-roman','I':'upper-roman'}[_0x39c42c['getAttribute']('type')];_0x4fe6af&&(_0x279488=_0x4fe6af),_0x26ae09=!0x0;}if(_0x56a5a1['consumable']['consume'](_0x39c42c,{'styles':'list-style-type'})){const _0x4669eb=ct(_0x39c42c['getStyle']('list-style-type'));_0x4669eb&&(_0x279488=_0x4669eb),_0x26ae09=!0x0;}!_0x26ae09&&_0x5a3a1f['hasAttribute']('footnotesListStyle')||_0x56a5a1['writer']['setAttribute']('footnotesListStyle',_0x279488,_0x5a3a1f);}(_0x4e60cb,_0x4ee571,_0x3cd4a3,_0x3164c6));});}),_0x1593a1['for']('downcast')['add'](_0x2de700=>{_0x2de700['on']('attribute:footnotesListStart:footnotesDefinitions',(_0x4227b5,_0x1e71a8,_0x4a1b31)=>{if(!_0x4a1b31['consumable']['consume'](_0x1e71a8['item'],_0x4227b5['name']))return;const _0x25b9cc=ut(_0x1e71a8['item'],_0x4a1b31['mapper']),{attributeNewValue:_0x203335}=_0x1e71a8;null==_0x203335||0x1===_0x203335?_0x4a1b31['writer']['removeAttribute']('start',_0x25b9cc):_0x4a1b31['writer']['setAttribute']('start',String(_0x203335),_0x25b9cc);}),_0x2de700['on']('attribute:footnotesListStyle:footnotesDefinitions',(_0x46b623,_0x50f90d,_0x56818d)=>{if(!_0x56818d['consumable']['consume'](_0x50f90d['item'],_0x46b623['name']))return;const _0x1a0e59=ut(_0x50f90d['item'],_0x56818d['mapper']),{attributeNewValue:_0x92c0b}=_0x50f90d;_0x92c0b&&'decimal'!==_0x92c0b?_0x56818d['writer']['setStyle']('list-style-type',_0x92c0b,_0x1a0e59):_0x56818d['writer']['removeStyle']('list-style-type',_0x1a0e59);});});}['_definePostfixer'](){const {editor:_0x34b97a}=this,{model:_0x68718a}=_0x34b97a,_0x42068a=_0x34b97a['plugins']['get'](K),_0x370bcc=this['_getDefaultListStyle'](),_0x25ad21=this['_getDefaultStartIndex']();_0x68718a['document']['registerPostFixer'](_0x49d6c1=>{const _0xee08db=_0x68718a['document']['differ']['getChanges']();let _0xeb8181=!0x1;for(const _0x29363e of _0xee08db){if('insert'!==_0x29363e['type']||'$text'===_0x29363e['name'])continue;const _0x2c377a=_0x68718a['createRangeOn'](_0x29363e['position']['nodeAfter']);for(const _0x28c445 of _0x2c377a['getItems']())_0x28c445['is']('element','footnotesDefinitions')&&(!_0x28c445['hasAttribute']('footnotesListStart')&&_0x68718a['schema']['checkAttribute'](_0x28c445,'footnotesListStart')&&(_0x49d6c1['setAttribute']('footnotesListStart',_0x25ad21,_0x28c445),_0xeb8181=!0x0),!_0x28c445['hasAttribute']('footnotesListStyle')&&_0x68718a['schema']['checkAttribute'](_0x28c445,'footnotesListStyle')&&(_0x49d6c1['setAttribute']('footnotesListStyle',_0x370bcc,_0x28c445),_0xeb8181=!0x0));}return _0xeb8181&&_0x42068a['_updateFootnotesCounters'](_0x49d6c1),_0xeb8181;});}['_defineFormatter'](){const {editor:_0x1efc56}=this;_0x1efc56['plugins']['get'](K)['setFootnoteFormatter'](_0x34615b=>this['_formatFootnoteListValue'](_0x34615b));}['_getDefaultListStyle'](){return this['editor']['config']['get']('footnotes.footnotesProperties.defaultListStyle');}['_getDefaultStartIndex'](){return this['editor']['config']['get']('footnotes.footnotesProperties.defaultStartIndex');}['_formatFootnoteListValue']({container:_0xe67331,value:_0x482c06,digits:_0x3abe04}){const _0x1526f0=_0xe67331['getAttribute']('footnotesListStyle'),_0x54685a=_0xe67331['getAttribute']('footnotesListStart'),_0x1f88e4=Math['floor'](_0x482c06)+(_0x54685a??0x1)-0x1;switch(_0x1526f0){case'decimal-leading-zero':return function(_0x4643f4,_0x4c8769){return String(_0x4643f4)['padStart'](_0x4c8769,'0');}(_0x1f88e4,Math['max'](0x2,_0x3abe04));case'lower-alpha':case'lower-latin':return st(_0x1f88e4,!0x1);case'upper-alpha':case'upper-latin':return st(_0x1f88e4,!0x0);case'lower-roman':return lt(_0x1f88e4,!0x1);case'upper-roman':return lt(_0x1f88e4,!0x0);case'arabic-indic':return String(_0x1f88e4)['replace'](/\d/g,_0x4afb56=>ft[Number(_0x4afb56)]);default:return String(_0x1f88e4);}}}function ct(_0x14094d){if('string'==typeof _0x14094d){const _0x319c42=et[_0x14094d];if(_0x319c42)return _0x319c42;if(ot['includes'](_0x14094d))return _0x14094d;}return null;}function ut(_0x3745a2,_0x5aa8d1){const _0x5564b3=_0x5aa8d1['toViewElement'](_0x3745a2);return Array['from'](_0x5564b3['getChildren']())['find'](_0x251af1=>_0x251af1['is']('element','ol')&&_0x251af1['hasClass']('footnotes-list'));}class dt extends _0x11aab1{['children'];['stylesView']=null;['additionalProperties']=null;['startIndexFieldView']=null;['focusTracker']=new _0x86b3df();['keystrokes']=new _0xe2777a();['focusables']=new _0x192083();['focusCycler'];constructor(_0x424d01,{styleButtonViews:_0x59cfa4,styleGridAriaLabel:_0x5b6a29}){super(_0x424d01),(this['focusCycler']=new _0x1ce4b({'focusables':this['focusables'],'focusTracker':this['focusTracker'],'keystrokeHandler':this['keystrokes'],'actions':{'focusPrevious':'shift\x20+\x20tab','focusNext':'tab'}}),this['children']=this['createCollection'](),this['stylesView']=this['_appendStylesView'](_0x59cfa4,_0x5b6a29),[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 _0x52195c of this['stylesView']['children'])this['stylesView']['focusTracker']['add'](_0x52195c['element']);_0x40e539({'keystrokeHandler':this['stylesView']['keystrokes'],'focusTracker':this['stylesView']['focusTracker'],'gridItems':this['stylesView']['children'],'numberOfColumns':()=>_0x5e5f2a['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 _0x4f29f6=_0x427809=>_0x427809['stopPropagation']();this['keystrokes']['set']('arrowright',_0x4f29f6),this['keystrokes']['set']('arrowleft',_0x4f29f6),this['keystrokes']['set']('arrowup',_0x4f29f6),this['keystrokes']['set']('arrowdown',_0x4f29f6);}this['keystrokes']['listenTo'](this['element']);}['focus'](){this['focusCycler']['focusFirst']();}['focusLast'](){this['focusCycler']['focusLast']();}['destroy'](){super['destroy'](),this['focusTracker']['destroy'](),this['keystrokes']['destroy']();}['_appendStylesView'](_0x1f875e,_0x2e888e){const _0xdc9a7=new _0x11aab1(this['locale']);return _0xdc9a7['children']=_0xdc9a7['createCollection'](),_0xdc9a7['children']['addMany'](_0x1f875e),_0xdc9a7['setTemplate']({'tag':'div','attributes':{'aria-label':_0x2e888e,'class':['ck','ck-footnotes-definitions-styles-list']},'children':_0xdc9a7['children']}),_0xdc9a7['children']['delegate']('execute')['to'](this),_0xdc9a7['focus']=function(){for(const _0x429025 of this['children'])if(_0x429025 instanceof _0x3c07b7&&_0x429025['isOn'])return void _0x429025['focus']();this['children']['first']['focus']();},_0xdc9a7['focusTracker']=new _0x86b3df(),_0xdc9a7['keystrokes']=new _0xe2777a(),_0xdc9a7['render'](),_0xdc9a7['keystrokes']['listenTo'](_0xdc9a7['element']),this['children']['add'](_0xdc9a7),_0xdc9a7;}['_appendAdditionalPropertiesCollapsibleView'](){const {t:t}=this['locale'],_0x15656a=this['_createStartIndexPropertyView'](),_0x4240a1=[_0x15656a],_0x1d7b0b=new _0x5e7078(this['locale'],_0x4240a1);return _0x1d7b0b['set']({'label':t('Footnotes\x20properties'),'isCollapsed':!0x0}),_0x1d7b0b['buttonView']['bind']('isEnabled')['toMany'](_0x4240a1,'isEnabled',(..._0x4b383b)=>_0x4b383b['some'](_0x4dfd45=>_0x4dfd45)),_0x1d7b0b['buttonView']['on']('change:isEnabled',(_0x363d7a,_0xe4303f,_0x1827ea)=>{_0x1827ea||(_0x1d7b0b['isCollapsed']=!0x0);}),this['children']['add'](_0x1d7b0b),[_0x15656a,_0x1d7b0b];}['_createStartIndexPropertyView'](){const {t:t}=this['locale'],_0x1e3548=new _0x15ff17(this['locale'],_0x3e63a8);return _0x1e3548['set']({'label':t('Footnotes\x20start\x20at'),'class':'ck-footnotes-definitions-properties__start-index'}),_0x1e3548['fieldView']['set']({'min':0x0,'max':Math['pow'](0x2,0x1e),'step':0x1,'value':0x1,'inputMode':'numeric'}),_0x1e3548['fieldView']['on']('input',()=>{const _0x720a8b=_0x1e3548['fieldView']['element'],_0x1e513a=_0x720a8b['valueAsNumber'];Number['isNaN'](_0x1e513a)?_0x1e3548['errorText']=t('Invalid\x20footnotes\x20start\x20index\x20value.'):_0x720a8b['checkValidity']()?this['fire']('footnotesListStart',{'startIndex':_0x1e513a}):_0x1e3548['errorText']=t(_0x1e513a<0x0?'Footnotes\x20start\x20index\x20must\x20be\x20greater\x20than\x200.':'Footnotes\x20start\x20index\x20is\x20too\x20large.');}),_0x1e3548;}}class ht extends _0x201f01{static get['pluginName'](){return'FootnotesPropertiesUI';}static get['requires'](){return[_0x384003,_0xd29fe5];}static get['isOfficialPlugin'](){return!0x0;}static get['isPremiumPlugin'](){return!0x0;}['init'](){const {editor:_0x360631}=this,{componentFactory:_0x6e765}=_0x360631['ui'];_0x360631['config']['define']('footnotes.footnotesProperties.toolbar',['footnotesStyle']),_0x6e765['add']('footnotesStyle',function(_0x1848e1){return _0x7b5923=>{const {t:t}=_0x7b5923,_0x218dd3=_0x1848e1['commands']['get']('footnotesStyle'),_0x2c02a8=_0x440108(_0x7b5923),{buttonView:_0x24fdeb}=_0x2c02a8;return _0x2c02a8['class']='ck-footnotes-styles-dropdown',_0x2c02a8['bind']('isEnabled')['to'](_0x218dd3,'isEnabled'),_0x24fdeb['set']({'label':t('Footnotes\x20style'),'icon':_0x260586,'tooltip':!0x0}),_0x2c02a8['once']('change:isOpen',()=>{const _0x206eb8=function({editor:_0x18e5f3,dropdownView:_0x486743}){const {t:t}=_0x18e5f3['locale'],_0x1d2282=t('Footnotes\x20definitions\x20styles'),_0x350731=function(_0x27561a){const {t:t}=_0x27561a['locale'],_0x37693e=_0x27561a['config']['get']('footnotes.footnotesProperties.listStyles'),_0x20e7f8=[{'style':'decimal','label':t('Toggle\x20the\x20decimal\x20footnotes\x20style'),'tooltip':t('Decimal\x20footnotes'),'icon':_0x54fd38},{'style':'decimal-leading-zero','label':t('Toggle\x20the\x20decimal\x20with\x20leading\x20zero\x20footnotes\x20style'),'tooltip':t('Decimal\x20footnotes\x20with\x20leading\x20zero'),'icon':_0x4a679e},{'style':'lower-roman','label':t('Toggle\x20the\x20lower-roman\x20footnotes\x20style'),'tooltip':t('Lower-roman\x20footnotes'),'icon':_0x58d8f0},{'style':'upper-roman','label':t('Toggle\x20the\x20upper-roman\x20footnotes\x20style'),'tooltip':t('Upper-roman\x20footnotes'),'icon':_0xf71eb4},{'style':'lower-latin','label':t('Toggle\x20the\x20lower-latin\x20footnotes\x20style'),'tooltip':t('Lower-latin\x20footnotes'),'icon':_0x1f8397},{'style':'upper-latin','label':t('Toggle\x20the\x20upper-latin\x20footnotes\x20style'),'tooltip':t('Upper-latin\x20footnotes'),'icon':_0x285d7f},{'style':'arabic-indic','label':t('Toggle\x20the\x20arabic-indic\x20footnotes\x20style'),'tooltip':t('Arabic-indic\x20footnotes'),'icon':_0x51f12f}];return _0x37693e['map'](_0x532e78=>{const _0x44ecb5=ct(_0x532e78),_0x3d88b0=_0x20e7f8['find'](_0x153225=>_0x153225['style']===_0x44ecb5);return function(_0x1604c5,_0x3b6f44){const {locale:_0x301b9b}=_0x1604c5,{label:_0x4144e5,icon:_0x16f1da,tooltip:_0x4d5d78,style:_0x4e127e}=_0x3b6f44,_0x392640=_0x1604c5['commands']['get']('footnotesStyle'),_0x359f1c=new _0x3c07b7(_0x301b9b);return _0x359f1c['set']({'label':_0x4144e5,'icon':_0x16f1da,'tooltip':_0x4d5d78}),_0x359f1c['bind']('isOn')['to'](_0x392640,'value',_0x390cd5=>_0x390cd5===_0x4e127e),_0x359f1c['bind']('isEnabled')['to'](_0x392640,'isEnabled'),_0x359f1c['on']('execute',()=>{_0x1604c5['execute']('footnotesStyle',{'value':_0x4e127e}),_0x1604c5['editing']['view']['focus']();}),_0x359f1c;}(_0x27561a,_0x3d88b0);});}(_0x18e5f3),_0x28ba8e=new dt(_0x18e5f3['locale'],{'styleGridAriaLabel':_0x1d2282,'styleButtonViews':_0x350731}),_0x182958=_0x18e5f3['commands']['get']('footnotesStart');return _0x28ba8e['startIndexFieldView']['bind']('isEnabled')['to'](_0x182958),_0x28ba8e['startIndexFieldView']['fieldView']['bind']('value')['to'](_0x182958),_0x28ba8e['on']('footnotesListStart',(_0x1c3bfd,_0x41832e)=>{_0x18e5f3['execute']('footnotesStart',{'value':_0x41832e['startIndex']});}),_0x28ba8e['delegate']('execute')['to'](_0x486743),_0x28ba8e;}({'editor':_0x1848e1,'dropdownView':_0x2c02a8});_0x2c02a8['panelView']['children']['add'](_0x206eb8);}),_0x2c02a8;};}(_0x360631));}['afterInit'](){const {editor:_0x4e73ed}=this,{t:t}=_0x4e73ed['locale'],_0x40aafd=_0x4e73ed['plugins']['get'](_0xd29fe5),{defaultPositions:_0x357e5d}=_0x322851;_0x40aafd['register']('footnotesDefinitions',{'ariaLabel':t('Footnotes\x20definitions\x20toolbar'),'items':_0x4e73ed['config']['get']('footnotes.footnotesProperties.toolbar'),'balloonClassName':'ck-footnotes-style-balloon\x20ck-toolbar-container','getRelatedElement':_0x22964=>{let _0x511ef3=_0x22964['getFirstPosition']()?.['parent'];return _0x511ef3?.['is']('$text')&&(_0x511ef3=_0x511ef3['parent']),_0x511ef3?.['is']('element')?_0x511ef3['findAncestor'](q):null;},'positions':[_0x357e5d['southArrowNorth'],_0x357e5d['southArrowNorthMiddleWest'],_0x357e5d['southArrowNorthMiddleEast'],_0x357e5d['southArrowNorthWest'],_0x357e5d['southArrowNorthEast'],_0x357e5d['northArrowSouth'],_0x357e5d['northArrowSouthMiddleWest'],_0x357e5d['northArrowSouthMiddleEast'],_0x357e5d['northArrowSouthWest'],_0x357e5d['northArrowSouthEast'],_0x357e5d['viewportStickyNorth']]});}}class mt extends _0x201f01{static get['pluginName'](){return'FootnotesProperties';}static get['requires'](){return[at,ht];}static get['isOfficialPlugin'](){return!0x0;}static get['isPremiumPlugin'](){return!0x0;}}export{Z as Footnotes,J as FootnotesClipboard,$ as FootnotesEditing,mt as FootnotesProperties,at as FootnotesPropertiesEditing,ht as FootnotesPropertiesUI,it as FootnotesStartCommand,nt as FootnotesStyleCommand,K as FootnotesTracker,W as FootnotesUI,V as InsertFootnoteCommand};
@@ -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':'','Upper-roman\x20footnotes':'','Lower-latin\x20footnotes':'','Upper-latin\x20footnotes':'','Arabic-indic\x20footnotes':'','Lower-roman\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':'','Toggle\x20the\x20arabic-indic\x20footnotes\x20style':''},'getPluralForm':_0x38f828=>0x1!=_0x38f828}};
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':'','Upper-roman\x20footnotes':'','Lower-latin\x20footnotes':'','Upper-latin\x20footnotes':'','Arabic-indic\x20footnotes':'','Lower-roman\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':'','Toggle\x20the\x20arabic-indic\x20footnotes\x20style':''},'getPluralForm':_0x147f5f=>0x1!=_0x147f5f}};
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- (_0x4144b9=>{const {af:{dictionary:_0x3906f3,getPluralForm:_0x54c925}}={'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':'','Upper-roman\x20footnotes':'','Lower-latin\x20footnotes':'','Upper-latin\x20footnotes':'','Arabic-indic\x20footnotes':'','Lower-roman\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':'','Toggle\x20the\x20arabic-indic\x20footnotes\x20style':''},'getPluralForm':_0x45d2db=>0x1!=_0x45d2db}};_0x4144b9['af']||={'dictionary':{},'getPluralForm':null},_0x4144b9['af']['dictionary']=Object['assign'](_0x4144b9['af']['dictionary'],_0x3906f3),_0x4144b9['af']['getPluralForm']=_0x54c925;})(window['CKEDITOR_TRANSLATIONS']||={});
23
+ (_0x2a9e34=>{const {af:{dictionary:_0x487b77,getPluralForm:_0x14bbed}}={'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':'','Upper-roman\x20footnotes':'','Lower-latin\x20footnotes':'','Upper-latin\x20footnotes':'','Arabic-indic\x20footnotes':'','Lower-roman\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':'','Toggle\x20the\x20arabic-indic\x20footnotes\x20style':''},'getPluralForm':_0x31a135=>0x1!=_0x31a135}};_0x2a9e34['af']||={'dictionary':{},'getPluralForm':null},_0x2a9e34['af']['dictionary']=Object['assign'](_0x2a9e34['af']['dictionary'],_0x487b77),_0x2a9e34['af']['getPluralForm']=_0x14bbed;})(window['CKEDITOR_TRANSLATIONS']||={});
@@ -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البادئ','Upper-roman\x20footnotes':'الحواشي\x20العلوية\x20الرومانية','Lower-latin\x20footnotes':'الحواشي\x20السفلية\x20اللاتينية','Upper-latin\x20footnotes':'الحواشي\x20العلوية\x20اللاتينية','Arabic-indic\x20footnotes':'حواشي\x20سفلية\x20بالأحرف\x20العربية\x20(الهندية)','Lower-roman\x20footnotes':'حواشي\x20سفلية\x20بالأحرف\x20الرومانية\x20الصغيرة','Toggle\x20the\x20lower-roman\x20footnotes\x20style':'تبديل\x20نمط\x20الحواشي\x20السفلية\x20بالأحرف\x20الرومانية\x20الصغيرة','Toggle\x20the\x20upper-roman\x20footnotes\x20style':'تبديل\x20نمط\x20الحواشي\x20السفلية\x20بالأحرف\x20الرومانية\x20الكبيرة','Toggle\x20the\x20lower-latin\x20footnotes\x20style':'تبديل\x20نمط\x20الحواشي\x20السفلية\x20بالأحرف\x20اللاتينية\x20الصغيرة','Toggle\x20the\x20upper-latin\x20footnotes\x20style':'تبديل\x20نمط\x20الحواشي\x20السفلية\x20بالأحرف\x20اللاتينية\x20الكبيرة','Toggle\x20the\x20arabic-indic\x20footnotes\x20style':'تبديل\x20نمط\x20الحواشي\x20السفلية\x20بالأحرف\x20العربية\x20(الهندية)'},'getPluralForm':_0x52efaa=>0x0==_0x52efaa?0x0:0x1==_0x52efaa?0x1:0x2==_0x52efaa?0x2:_0x52efaa%0x64>=0x3&&_0x52efaa%0x64<=0xa?0x3:_0x52efaa%0x64>=0xb?0x4:0x5}};
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البادئ','Upper-roman\x20footnotes':'الحواشي\x20العلوية\x20الرومانية','Lower-latin\x20footnotes':'الحواشي\x20السفلية\x20اللاتينية','Upper-latin\x20footnotes':'الحواشي\x20العلوية\x20اللاتينية','Arabic-indic\x20footnotes':'حواشي\x20سفلية\x20بالأحرف\x20العربية\x20(الهندية)','Lower-roman\x20footnotes':'حواشي\x20سفلية\x20بالأحرف\x20الرومانية\x20الصغيرة','Toggle\x20the\x20lower-roman\x20footnotes\x20style':'تبديل\x20نمط\x20الحواشي\x20السفلية\x20بالأحرف\x20الرومانية\x20الصغيرة','Toggle\x20the\x20upper-roman\x20footnotes\x20style':'تبديل\x20نمط\x20الحواشي\x20السفلية\x20بالأحرف\x20الرومانية\x20الكبيرة','Toggle\x20the\x20lower-latin\x20footnotes\x20style':'تبديل\x20نمط\x20الحواشي\x20السفلية\x20بالأحرف\x20اللاتينية\x20الصغيرة','Toggle\x20the\x20upper-latin\x20footnotes\x20style':'تبديل\x20نمط\x20الحواشي\x20السفلية\x20بالأحرف\x20اللاتينية\x20الكبيرة','Toggle\x20the\x20arabic-indic\x20footnotes\x20style':'تبديل\x20نمط\x20الحواشي\x20السفلية\x20بالأحرف\x20العربية\x20(الهندية)'},'getPluralForm':_0x1994ce=>0x0==_0x1994ce?0x0:0x1==_0x1994ce?0x1:0x2==_0x1994ce?0x2:_0x1994ce%0x64>=0x3&&_0x1994ce%0x64<=0xa?0x3:_0x1994ce%0x64>=0xb?0x4:0x5}};
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- (_0x3b4e7f=>{const {ar:{dictionary:_0x2a88be,getPluralForm:_0xa943c5}}={'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البادئ','Upper-roman\x20footnotes':'الحواشي\x20العلوية\x20الرومانية','Lower-latin\x20footnotes':'الحواشي\x20السفلية\x20اللاتينية','Upper-latin\x20footnotes':'الحواشي\x20العلوية\x20اللاتينية','Arabic-indic\x20footnotes':'حواشي\x20سفلية\x20بالأحرف\x20العربية\x20(الهندية)','Lower-roman\x20footnotes':'حواشي\x20سفلية\x20بالأحرف\x20الرومانية\x20الصغيرة','Toggle\x20the\x20lower-roman\x20footnotes\x20style':'تبديل\x20نمط\x20الحواشي\x20السفلية\x20بالأحرف\x20الرومانية\x20الصغيرة','Toggle\x20the\x20upper-roman\x20footnotes\x20style':'تبديل\x20نمط\x20الحواشي\x20السفلية\x20بالأحرف\x20الرومانية\x20الكبيرة','Toggle\x20the\x20lower-latin\x20footnotes\x20style':'تبديل\x20نمط\x20الحواشي\x20السفلية\x20بالأحرف\x20اللاتينية\x20الصغيرة','Toggle\x20the\x20upper-latin\x20footnotes\x20style':'تبديل\x20نمط\x20الحواشي\x20السفلية\x20بالأحرف\x20اللاتينية\x20الكبيرة','Toggle\x20the\x20arabic-indic\x20footnotes\x20style':'تبديل\x20نمط\x20الحواشي\x20السفلية\x20بالأحرف\x20العربية\x20(الهندية)'},'getPluralForm':_0xfdb8f3=>0x0==_0xfdb8f3?0x0:0x1==_0xfdb8f3?0x1:0x2==_0xfdb8f3?0x2:_0xfdb8f3%0x64>=0x3&&_0xfdb8f3%0x64<=0xa?0x3:_0xfdb8f3%0x64>=0xb?0x4:0x5}};_0x3b4e7f['ar']||={'dictionary':{},'getPluralForm':null},_0x3b4e7f['ar']['dictionary']=Object['assign'](_0x3b4e7f['ar']['dictionary'],_0x2a88be),_0x3b4e7f['ar']['getPluralForm']=_0xa943c5;})(window['CKEDITOR_TRANSLATIONS']||={});
23
+ (_0x2ae1ba=>{const {ar:{dictionary:_0x4ae6f1,getPluralForm:_0x478735}}={'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البادئ','Upper-roman\x20footnotes':'الحواشي\x20العلوية\x20الرومانية','Lower-latin\x20footnotes':'الحواشي\x20السفلية\x20اللاتينية','Upper-latin\x20footnotes':'الحواشي\x20العلوية\x20اللاتينية','Arabic-indic\x20footnotes':'حواشي\x20سفلية\x20بالأحرف\x20العربية\x20(الهندية)','Lower-roman\x20footnotes':'حواشي\x20سفلية\x20بالأحرف\x20الرومانية\x20الصغيرة','Toggle\x20the\x20lower-roman\x20footnotes\x20style':'تبديل\x20نمط\x20الحواشي\x20السفلية\x20بالأحرف\x20الرومانية\x20الصغيرة','Toggle\x20the\x20upper-roman\x20footnotes\x20style':'تبديل\x20نمط\x20الحواشي\x20السفلية\x20بالأحرف\x20الرومانية\x20الكبيرة','Toggle\x20the\x20lower-latin\x20footnotes\x20style':'تبديل\x20نمط\x20الحواشي\x20السفلية\x20بالأحرف\x20اللاتينية\x20الصغيرة','Toggle\x20the\x20upper-latin\x20footnotes\x20style':'تبديل\x20نمط\x20الحواشي\x20السفلية\x20بالأحرف\x20اللاتينية\x20الكبيرة','Toggle\x20the\x20arabic-indic\x20footnotes\x20style':'تبديل\x20نمط\x20الحواشي\x20السفلية\x20بالأحرف\x20العربية\x20(الهندية)'},'getPluralForm':_0x919f15=>0x0==_0x919f15?0x0:0x1==_0x919f15?0x1:0x2==_0x919f15?0x2:_0x919f15%0x64>=0x3&&_0x919f15%0x64<=0xa?0x3:_0x919f15%0x64>=0xb?0x4:0x5}};_0x2ae1ba['ar']||={'dictionary':{},'getPluralForm':null},_0x2ae1ba['ar']['dictionary']=Object['assign'](_0x2ae1ba['ar']['dictionary'],_0x4ae6f1),_0x2ae1ba['ar']['getPluralForm']=_0x478735;})(window['CKEDITOR_TRANSLATIONS']||={});
@@ -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':'','Upper-roman\x20footnotes':'','Lower-latin\x20footnotes':'','Upper-latin\x20footnotes':'','Arabic-indic\x20footnotes':'','Lower-roman\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':'','Toggle\x20the\x20arabic-indic\x20footnotes\x20style':''},'getPluralForm':_0x297053=>0x1!=_0x297053}};
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':'','Upper-roman\x20footnotes':'','Lower-latin\x20footnotes':'','Upper-latin\x20footnotes':'','Arabic-indic\x20footnotes':'','Lower-roman\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':'','Toggle\x20the\x20arabic-indic\x20footnotes\x20style':''},'getPluralForm':_0x51676b=>0x1!=_0x51676b}};
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- (_0x34b560=>{const {ast:{dictionary:_0x1a4d8d,getPluralForm:_0x211944}}={'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':'','Upper-roman\x20footnotes':'','Lower-latin\x20footnotes':'','Upper-latin\x20footnotes':'','Arabic-indic\x20footnotes':'','Lower-roman\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':'','Toggle\x20the\x20arabic-indic\x20footnotes\x20style':''},'getPluralForm':_0x578806=>0x1!=_0x578806}};_0x34b560['ast']||={'dictionary':{},'getPluralForm':null},_0x34b560['ast']['dictionary']=Object['assign'](_0x34b560['ast']['dictionary'],_0x1a4d8d),_0x34b560['ast']['getPluralForm']=_0x211944;})(window['CKEDITOR_TRANSLATIONS']||={});
23
+ (_0x23d6a3=>{const {ast:{dictionary:_0x3d0590,getPluralForm:_0x905b20}}={'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':'','Upper-roman\x20footnotes':'','Lower-latin\x20footnotes':'','Upper-latin\x20footnotes':'','Arabic-indic\x20footnotes':'','Lower-roman\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':'','Toggle\x20the\x20arabic-indic\x20footnotes\x20style':''},'getPluralForm':_0x17b155=>0x1!=_0x17b155}};_0x23d6a3['ast']||={'dictionary':{},'getPluralForm':null},_0x23d6a3['ast']['dictionary']=Object['assign'](_0x23d6a3['ast']['dictionary'],_0x3d0590),_0x23d6a3['ast']['getPluralForm']=_0x905b20;})(window['CKEDITOR_TRANSLATIONS']||={});
@@ -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':'','Upper-roman\x20footnotes':'','Lower-latin\x20footnotes':'','Upper-latin\x20footnotes':'','Arabic-indic\x20footnotes':'','Lower-roman\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':'','Toggle\x20the\x20arabic-indic\x20footnotes\x20style':''},'getPluralForm':_0x4e9306=>0x1!=_0x4e9306}};
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':'','Upper-roman\x20footnotes':'','Lower-latin\x20footnotes':'','Upper-latin\x20footnotes':'','Arabic-indic\x20footnotes':'','Lower-roman\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':'','Toggle\x20the\x20arabic-indic\x20footnotes\x20style':''},'getPluralForm':_0x103c3c=>0x1!=_0x103c3c}};
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- (_0x284b0a=>{const {az:{dictionary:_0x35f103,getPluralForm:_0x3a40dd}}={'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':'','Upper-roman\x20footnotes':'','Lower-latin\x20footnotes':'','Upper-latin\x20footnotes':'','Arabic-indic\x20footnotes':'','Lower-roman\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':'','Toggle\x20the\x20arabic-indic\x20footnotes\x20style':''},'getPluralForm':_0x504670=>0x1!=_0x504670}};_0x284b0a['az']||={'dictionary':{},'getPluralForm':null},_0x284b0a['az']['dictionary']=Object['assign'](_0x284b0a['az']['dictionary'],_0x35f103),_0x284b0a['az']['getPluralForm']=_0x3a40dd;})(window['CKEDITOR_TRANSLATIONS']||={});
23
+ (_0x56521f=>{const {az:{dictionary:_0x32e09e,getPluralForm:_0x1761e3}}={'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':'','Upper-roman\x20footnotes':'','Lower-latin\x20footnotes':'','Upper-latin\x20footnotes':'','Arabic-indic\x20footnotes':'','Lower-roman\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':'','Toggle\x20the\x20arabic-indic\x20footnotes\x20style':''},'getPluralForm':_0x304464=>0x1!=_0x304464}};_0x56521f['az']||={'dictionary':{},'getPluralForm':null},_0x56521f['az']['dictionary']=Object['assign'](_0x56521f['az']['dictionary'],_0x32e09e),_0x56521f['az']['getPluralForm']=_0x1761e3;})(window['CKEDITOR_TRANSLATIONS']||={});