@ckeditor/ckeditor5-footnotes 0.0.0-nightly-20251203.0 → 0.0.0-nightly-20251205.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 (164) hide show
  1. package/build/footnotes.js +1 -1
  2. package/dist/index.js +1 -1
  3. package/dist/translations/af.js +1 -1
  4. package/dist/translations/af.umd.js +1 -1
  5. package/dist/translations/ar.js +1 -1
  6. package/dist/translations/ar.umd.js +1 -1
  7. package/dist/translations/ast.js +1 -1
  8. package/dist/translations/ast.umd.js +1 -1
  9. package/dist/translations/az.js +1 -1
  10. package/dist/translations/az.umd.js +1 -1
  11. package/dist/translations/be.js +1 -1
  12. package/dist/translations/be.umd.js +1 -1
  13. package/dist/translations/bg.js +1 -1
  14. package/dist/translations/bg.umd.js +1 -1
  15. package/dist/translations/bn.js +1 -1
  16. package/dist/translations/bn.umd.js +1 -1
  17. package/dist/translations/bs.js +1 -1
  18. package/dist/translations/bs.umd.js +1 -1
  19. package/dist/translations/ca.js +1 -1
  20. package/dist/translations/ca.umd.js +1 -1
  21. package/dist/translations/cs.js +1 -1
  22. package/dist/translations/cs.umd.js +1 -1
  23. package/dist/translations/da.js +1 -1
  24. package/dist/translations/da.umd.js +1 -1
  25. package/dist/translations/de-ch.js +1 -1
  26. package/dist/translations/de-ch.umd.js +1 -1
  27. package/dist/translations/de.js +1 -1
  28. package/dist/translations/de.umd.js +1 -1
  29. package/dist/translations/el.js +1 -1
  30. package/dist/translations/el.umd.js +1 -1
  31. package/dist/translations/en-au.js +1 -1
  32. package/dist/translations/en-au.umd.js +1 -1
  33. package/dist/translations/en-gb.js +1 -1
  34. package/dist/translations/en-gb.umd.js +1 -1
  35. package/dist/translations/en.js +1 -1
  36. package/dist/translations/en.umd.js +1 -1
  37. package/dist/translations/eo.js +1 -1
  38. package/dist/translations/eo.umd.js +1 -1
  39. package/dist/translations/es-co.js +1 -1
  40. package/dist/translations/es-co.umd.js +1 -1
  41. package/dist/translations/es.js +1 -1
  42. package/dist/translations/es.umd.js +1 -1
  43. package/dist/translations/et.js +1 -1
  44. package/dist/translations/et.umd.js +1 -1
  45. package/dist/translations/eu.js +1 -1
  46. package/dist/translations/eu.umd.js +1 -1
  47. package/dist/translations/fa.js +1 -1
  48. package/dist/translations/fa.umd.js +1 -1
  49. package/dist/translations/fi.js +1 -1
  50. package/dist/translations/fi.umd.js +1 -1
  51. package/dist/translations/fr.js +1 -1
  52. package/dist/translations/fr.umd.js +1 -1
  53. package/dist/translations/gl.js +1 -1
  54. package/dist/translations/gl.umd.js +1 -1
  55. package/dist/translations/gu.js +1 -1
  56. package/dist/translations/gu.umd.js +1 -1
  57. package/dist/translations/he.js +1 -1
  58. package/dist/translations/he.umd.js +1 -1
  59. package/dist/translations/hi.js +1 -1
  60. package/dist/translations/hi.umd.js +1 -1
  61. package/dist/translations/hr.js +1 -1
  62. package/dist/translations/hr.umd.js +1 -1
  63. package/dist/translations/hu.js +1 -1
  64. package/dist/translations/hu.umd.js +1 -1
  65. package/dist/translations/hy.js +1 -1
  66. package/dist/translations/hy.umd.js +1 -1
  67. package/dist/translations/id.js +1 -1
  68. package/dist/translations/id.umd.js +1 -1
  69. package/dist/translations/it.js +1 -1
  70. package/dist/translations/it.umd.js +1 -1
  71. package/dist/translations/ja.js +1 -1
  72. package/dist/translations/ja.umd.js +1 -1
  73. package/dist/translations/jv.js +1 -1
  74. package/dist/translations/jv.umd.js +1 -1
  75. package/dist/translations/kk.js +1 -1
  76. package/dist/translations/kk.umd.js +1 -1
  77. package/dist/translations/km.js +1 -1
  78. package/dist/translations/km.umd.js +1 -1
  79. package/dist/translations/kn.js +1 -1
  80. package/dist/translations/kn.umd.js +1 -1
  81. package/dist/translations/ko.js +1 -1
  82. package/dist/translations/ko.umd.js +1 -1
  83. package/dist/translations/ku.js +1 -1
  84. package/dist/translations/ku.umd.js +1 -1
  85. package/dist/translations/lt.js +1 -1
  86. package/dist/translations/lt.umd.js +1 -1
  87. package/dist/translations/lv.js +1 -1
  88. package/dist/translations/lv.umd.js +1 -1
  89. package/dist/translations/ms.js +1 -1
  90. package/dist/translations/ms.umd.js +1 -1
  91. package/dist/translations/nb.js +1 -1
  92. package/dist/translations/nb.umd.js +1 -1
  93. package/dist/translations/ne.js +1 -1
  94. package/dist/translations/ne.umd.js +1 -1
  95. package/dist/translations/nl.js +1 -1
  96. package/dist/translations/nl.umd.js +1 -1
  97. package/dist/translations/no.js +1 -1
  98. package/dist/translations/no.umd.js +1 -1
  99. package/dist/translations/oc.js +1 -1
  100. package/dist/translations/oc.umd.js +1 -1
  101. package/dist/translations/pl.js +1 -1
  102. package/dist/translations/pl.umd.js +1 -1
  103. package/dist/translations/pt-br.js +1 -1
  104. package/dist/translations/pt-br.umd.js +1 -1
  105. package/dist/translations/pt.js +1 -1
  106. package/dist/translations/pt.umd.js +1 -1
  107. package/dist/translations/ro.js +1 -1
  108. package/dist/translations/ro.umd.js +1 -1
  109. package/dist/translations/ru.js +1 -1
  110. package/dist/translations/ru.umd.js +1 -1
  111. package/dist/translations/si.js +1 -1
  112. package/dist/translations/si.umd.js +1 -1
  113. package/dist/translations/sk.js +1 -1
  114. package/dist/translations/sk.umd.js +1 -1
  115. package/dist/translations/sl.js +1 -1
  116. package/dist/translations/sl.umd.js +1 -1
  117. package/dist/translations/sq.js +1 -1
  118. package/dist/translations/sq.umd.js +1 -1
  119. package/dist/translations/sr-latn.js +1 -1
  120. package/dist/translations/sr-latn.umd.js +1 -1
  121. package/dist/translations/sr.js +1 -1
  122. package/dist/translations/sr.umd.js +1 -1
  123. package/dist/translations/sv.js +1 -1
  124. package/dist/translations/sv.umd.js +1 -1
  125. package/dist/translations/th.js +1 -1
  126. package/dist/translations/th.umd.js +1 -1
  127. package/dist/translations/ti.js +1 -1
  128. package/dist/translations/ti.umd.js +1 -1
  129. package/dist/translations/tk.js +1 -1
  130. package/dist/translations/tk.umd.js +1 -1
  131. package/dist/translations/tr.js +1 -1
  132. package/dist/translations/tr.umd.js +1 -1
  133. package/dist/translations/tt.js +1 -1
  134. package/dist/translations/tt.umd.js +1 -1
  135. package/dist/translations/ug.js +1 -1
  136. package/dist/translations/ug.umd.js +1 -1
  137. package/dist/translations/uk.js +1 -1
  138. package/dist/translations/uk.umd.js +1 -1
  139. package/dist/translations/ur.js +1 -1
  140. package/dist/translations/ur.umd.js +1 -1
  141. package/dist/translations/uz.js +1 -1
  142. package/dist/translations/uz.umd.js +1 -1
  143. package/dist/translations/vi.js +1 -1
  144. package/dist/translations/vi.umd.js +1 -1
  145. package/dist/translations/zh-cn.js +1 -1
  146. package/dist/translations/zh-cn.umd.js +1 -1
  147. package/dist/translations/zh.js +1 -1
  148. package/dist/translations/zh.umd.js +1 -1
  149. package/package.json +9 -9
  150. package/src/commands/insertfootnotecommand.js +1 -1
  151. package/src/footnotes.js +1 -1
  152. package/src/footnotesclipboard.js +1 -1
  153. package/src/footnotesediting.js +1 -1
  154. package/src/footnotesproperties/commands/footnotesstartcommand.js +1 -1
  155. package/src/footnotesproperties/commands/footnotesstylecommand.js +1 -1
  156. package/src/footnotesproperties/footnotespropertiesconfig.js +1 -1
  157. package/src/footnotesproperties/footnotespropertiesediting.js +1 -1
  158. package/src/footnotesproperties/footnotespropertiesui.js +1 -1
  159. package/src/footnotesproperties/ui/footnotesdefinitionspropertiesview.js +1 -1
  160. package/src/footnotesproperties.js +1 -1
  161. package/src/footnotestracker.js +1 -1
  162. package/src/footnotesui.js +1 -1
  163. package/src/index.js +1 -1
  164. package/src/modelelementtracker.js +1 -1
package/dist/index.js CHANGED
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- import{Plugin as _0x3b7c2c,Command as _0x33a1e3}from'@ckeditor/ckeditor5-core/dist/index.js';import{toWidget as _0x13f0ac,isWidget as _0x2125ad,toWidgetEditable as _0x594915,WidgetToolbarRepository as _0x32723d}from'@ckeditor/ckeditor5-widget/dist/index.js';import{uid as _0x343777,logWarning as _0x6dd5b1,FocusTracker as ot,KeystrokeHandler as rt,global as nt}from'@ckeditor/ckeditor5-utils/dist/index.js';import{PointerObserver as _0x23daff,ClickObserver as _0x3f94e6}from'@ckeditor/ckeditor5-engine/dist/index.js';import{ClipboardPipeline as _0x5b0de3}from'@ckeditor/ckeditor5-clipboard/dist/index.js';import{MenuBarMenuListItemButtonView as _0x5909fd,ButtonView as _0x41a9d9,View as _0x27b474,ViewCollection as _0x3d8f7a,FocusCycler as _0x5af006,addKeyboardHandlingForGrid as tt,CollapsibleView as st,LabeledFieldView as it,createLabeledInputNumber as et,ContextualBalloon as _0xbec66e,BalloonPanelView as _0x3bc24c,createDropdown as _0x16756a}from'@ckeditor/ckeditor5-ui/dist/index.js';import{IconFootnote as _0x1c69b7,IconListStyleDecimal as _0x436957,IconListStyleDecimalLeadingZero as _0x3bb0b2,IconListStyleLowerRoman as _0x2ab0e8,IconListStyleUpperRoman as _0x547b1d,IconListStyleLowerLatin as _0xa42f56,IconListStyleUpperLatin as _0x1e2078}from'@ckeditor/ckeditor5-icons/dist/index.js';class F{['_model'];['_elementName'];['_getElementKey'];['_trackedElements']=new Map();constructor(_0x506c8f,_0x35c602){this['_model']=_0x506c8f,this['_elementName']=_0x35c602['elementName'],this['_getElementKey']=_0x35c602['getElementKey'];}['reset'](){this['_trackedElements']['clear']();}['getChanges'](_0x43a535){const _0xf3b988=new Set(),_0x354e52=new Map();for(const _0x10e593 of _0x43a535){if('insert'===_0x10e593['type']&&'$text'!==_0x10e593['name']&&_0x10e593['position']['nodeAfter']){const _0x45b587=this['_model']['createRangeOn'](_0x10e593['position']['nodeAfter']);for(const _0x3becb5 of _0x45b587['getItems']()){if(!_0x3becb5['is']('element',this['_elementName']))continue;const _0x2d75f0=this['_getElementKey'](_0x3becb5);_0x354e52['has'](_0x2d75f0)||_0x354e52['set'](_0x2d75f0,[]),_0x354e52['get'](_0x2d75f0)['push'](_0x3becb5);}}if('remove'===_0x10e593['type']&&_0x10e593['name']===this['_elementName']){const _0x14f9ea=this['_getElementKey']({'getAttribute':_0x2fcceb=>_0x10e593['attributes']['get'](_0x2fcceb)});_0xf3b988['add'](_0x14f9ea);}}for(const [_0xd282e,_0x23956e]of this['_trackedElements'])'$graveyard'===_0x23956e['root']['rootName']&&_0xf3b988['add'](_0xd282e);for(const _0x1b7cd7 of _0xf3b988)this['_trackedElements']['delete'](_0x1b7cd7);for(const [_0xee11b5,_0x829555]of _0x354e52)this['_trackedElements']['set'](_0xee11b5,_0x829555[_0x829555['length']-0x1]);const _0x2a6b79=new Set();for(const [_0x3f4348,_0x40e1bd]of _0x354e52)_0xf3b988['has'](_0x3f4348)&&(_0x2a6b79['add'](_0x40e1bd[0x0]),_0x40e1bd['length']>0x1?_0x354e52['set'](_0x3f4348,_0x40e1bd['slice'](0x1)):_0x354e52['delete'](_0x3f4348),_0xf3b988['delete'](_0x3f4348));return{'removed':Array['from'](_0xf3b988),'inserted':Array['from'](_0x354e52['values']())['flat'](),'moved':Array['from'](_0x2a6b79)};}}class c extends _0x3b7c2c{['_footnotes']=[];['_footnotesDefinitions']=null;['_footnoteFormatter']=null;['_footnoteDefsContainerTracker'];['_footnoteRefsTracker'];['_footnoteDefsTracker'];static get['pluginName'](){return'FootnotesTracker';}static get['isOfficialPlugin'](){return!0x0;}static get['isPremiumPlugin'](){return!0x0;}constructor(_0x2d2ddf){super(_0x2d2ddf),this['_footnoteDefsContainerTracker']=new F(this['editor']['model'],{'elementName':'footnotesDefinitions','getElementKey':()=>'singleton'}),this['_footnoteRefsTracker']=new F(this['editor']['model'],{'elementName':'footnoteRef','getElementKey':_0x478b2d=>_0x478b2d['getAttribute']('footnoteId')}),this['_footnoteDefsTracker']=new F(this['editor']['model'],{'elementName':'footnoteDefinition','getElementKey':_0x5b696c=>_0x5b696c['getAttribute']('footnoteId')});}['init'](){const {editor:_0x64059d}=this,{model:_0x3f9af1,data:_0x4ea9c8}=_0x64059d;_0x3f9af1['document']['registerPostFixer'](_0x5f583a=>{const _0x507ef3=_0x3f9af1['document']['differ']['getChanges']();let _0x212151=!0x1;return this['_handleFootnotesDefinitionsObjectChanges'](_0x5f583a,_0x507ef3)&&(_0x212151=!0x0),this['_handleFootnoteDefinitionsChanges'](_0x5f583a,_0x507ef3)&&(_0x212151=!0x0),this['_handleFootnoteReferencesChanges'](_0x5f583a,_0x507ef3)&&(_0x212151=!0x0),this['_ensureFootnotesReferencesHaveProperOrder'](_0x5f583a)&&(_0x212151=!0x0),this['_handleFootnotesDefinitionsObjectSync'](_0x5f583a)&&(_0x212151=!0x0),this['_sortFootnoteDefinitions'](_0x5f583a)&&(_0x212151=!0x0),_0x212151;}),this['listenTo'](_0x3f9af1['document'],'change:data',()=>{_0x3f9af1['enqueueChange']({'isUndoable':!0x1},_0x457559=>{this['_ensureFootnotesDefinitionsContainerExists'](_0x457559);});},{'priority':'low'}),this['listenTo'](_0x4ea9c8,'set',()=>{this['_footnotes']=[],this['_footnoteDefsContainerTracker']['reset'](),this['_footnoteRefsTracker']['reset'](),this['_footnoteDefsTracker']['reset']();},{'priority':'high'});}['getFootnotesDefinitionsObjectElement'](){return this['_footnotesDefinitions'];}['getFootnote'](_0x258296){return this['_footnotes']['find'](_0xf73584=>_0xf73584['id']===_0x258296)||null;}['getFootnotes'](){return Array['from'](this['_footnotes']);}['getFootnotesFormatter'](){return this['_footnoteFormatter'];}['setFootnoteFormatter'](_0x22c1a7){this['_footnoteFormatter']=_0x22c1a7;}['_updateFootnotesCounters'](_0x5473f2,_0x1cc5df=0x0){let _0x3efd45=!0x1;for(let _0x350054=_0x1cc5df;_0x350054<this['_footnotes']['length'];_0x350054++)this['_updateFootnoteRefCounter'](_0x5473f2,_0x350054)&&(_0x3efd45=!0x0);return _0x3efd45;}['_insertEmptyFootnotesDefinitionsContainer'](_0x58a237,_0x385efc){const _0x3b4d9a=_0x58a237['createElement']('footnotesDefinitions',{});return _0x58a237['append'](_0x3b4d9a,_0x385efc),this['_footnotesDefinitions']=_0x3b4d9a,_0x3b4d9a;}['_ensureFootnotesDefinitionsContainerExists'](_0x45bcfe){if(!this['_footnotes']['length']||this['_footnotesDefinitions'])return;const _0x23e75e=this['_footnotes'][0x0]['reference']['root'],_0x36c45a=this['_insertEmptyFootnotesDefinitionsContainer'](_0x45bcfe,_0x23e75e);for(const _0x1ef32c of this['_footnotes'])_0x1ef32c['definition']['parent']||_0x45bcfe['insert'](_0x1ef32c['definition'],_0x36c45a,'end');this['_updateFootnotesCounters'](_0x45bcfe);}['_handleFootnotesDefinitionsObjectChanges'](_0x207475,_0x1da688){let _0x1fd04f=!0x1;const {inserted:_0x5dccef,removed:_0x52f39b,moved:_0x5193bb}=this['_footnoteDefsContainerTracker']['getChanges'](_0x1da688);if(_0x5193bb['length']&&(this['_footnotesDefinitions']=_0x5193bb[0x0]),_0x5dccef['length']){if(_0x5dccef['length']>0x1||this['_footnotesDefinitions']&&_0x5dccef['some'](_0x37dd3b=>_0x37dd3b!==this['_footnotesDefinitions'])){const _0x20f49a=_0x207475['createElement']('footnotesDefinitions',{}),_0x13b12c=[];this['_footnotesDefinitions']&&_0x13b12c['push'](this['_footnotesDefinitions']),_0x13b12c['push'](..._0x5dccef),_0x207475['insert'](_0x20f49a,_0x13b12c[0x0],'before');for(const _0x141040 of _0x13b12c)_0x207475['move'](_0x207475['createRangeIn'](_0x141040),_0x207475['createPositionAt'](_0x20f49a,'end')),_0x207475['remove'](_0x141040);this['_footnotesDefinitions']=_0x20f49a,this['_updateFootnotesCounters'](_0x207475),_0x1fd04f=!0x0;}else this['_footnotesDefinitions']=_0x5dccef[0x0];}if(_0x52f39b['length']&&'$graveyard'===this['_footnotesDefinitions']?.['root']['rootName']){for(const _0x52cf2d of this['_footnotes'])_0x207475['remove'](_0x52cf2d['reference']),_0x1fd04f=!0x0;this['_footnotes']=[],this['_footnotesDefinitions']=null;}return _0x1fd04f;}['_handleFootnoteDefinitionsChanges'](_0x17ff82,_0x4165a2){let _0x339384=!0x1;const _0x4dd53e=this['editor']['config']['get']('footnotes.multiBlock'),{inserted:_0x14e9ba,moved:_0x593429}=this['_footnoteDefsTracker']['getChanges'](_0x4165a2);for(const _0x3c6353 of[..._0x593429,..._0x14e9ba]){const _0x427314=_0x3c6353['getAttribute']('footnoteId'),_0x32dce9=this['getFootnote'](_0x427314);_0x32dce9&&(_0x32dce9['definition']=_0x3c6353),_(_0x17ff82,_0x4dd53e,_0x3c6353)&&(_0x339384=!0x0);}return _0x339384;}['_handleFootnoteReferencesChanges'](_0x311603,_0x1461b){let _0x34b682=!0x1;const {removed:_0x28852e,inserted:_0x33bbbf,moved:_0x387e61}=this['_footnoteRefsTracker']['getChanges'](_0x1461b);for(const _0x4bf106 of _0x28852e)this['_handleRemoveFootnoteReferenceById'](_0x311603,_0x4bf106)&&(_0x34b682=!0x0);for(const _0x4291ab of _0x33bbbf)this['_handleInsertedFootnoteReference'](_0x311603,_0x4291ab)&&(_0x34b682=!0x0);for(const _0x1e679a of _0x387e61)this['_handleMovedFootnoteReference'](_0x311603,_0x1e679a)&&(_0x34b682=!0x0);return _0x34b682;}['_handleFootnotesDefinitionsObjectSync'](_0x33a393){if(!this['_footnotesDefinitions'])return!0x1;let _0x8be86b=!0x1;if(this['_footnotesDefinitions']['childCount']!==this['_footnotes']['length']){const _0x19bd9d=[];for(const _0x3b718a of this['_footnotesDefinitions']['getChildren']()){const _0xf1ff74=_0x3b718a['getAttribute']('footnoteId');this['getFootnote'](_0xf1ff74)||(_0x19bd9d['unshift'](_0x3b718a),_0x8be86b=!0x0);}for(const _0x37acd2 of _0x19bd9d)_0x33a393['remove'](_0x37acd2);}const _0x457bf3=new Set(),_0x346950=[];for(const _0xb21da6 of this['_footnotesDefinitions']['getChildren']()){const _0x4d6cb7=_0xb21da6['getAttribute']('footnoteId');_0x457bf3['has'](_0x4d6cb7)?(_0x346950['unshift'](_0xb21da6),_0x8be86b=!0x0):_0x457bf3['add'](_0x4d6cb7);}for(const _0x4bead1 of _0x346950)_0x33a393['remove'](_0x4bead1);return this['_footnotesDefinitions']['childCount']||(_0x33a393['remove'](this['_footnotesDefinitions']),this['_footnotesDefinitions']=null,_0x8be86b=!0x0),_0x8be86b;}['_handleInsertedFootnoteReference'](_0x1f5f93,_0x58002a){if(this['_footnotes']['find'](_0x3216ce=>_0x3216ce['reference']===_0x58002a))return!0x1;let _0x4d4e95=!0x1;const _0x206cfe=_0x58002a['getAttribute']('footnoteId'),_0x1a084e=this['_footnotes']['findIndex'](_0x126925=>_0x126925['id']===_0x206cfe);-0x1!==_0x1a084e&&(_0x1f5f93['remove'](this['_footnotes'][_0x1a084e]['reference']),this['_footnotes']['splice'](_0x1a084e,0x1),_0x4d4e95=!0x0);let _0x350de8=this['_footnotesDefinitions']?function(_0x1550f1,_0x289510){for(const _0x1a9d07 of _0x1550f1['getChildren']())if(_0x1a9d07['getAttribute']('footnoteId')===_0x289510)return _0x1a9d07;return null;}(this['_footnotesDefinitions'],_0x206cfe):null;_0x350de8||(_0x350de8=_0x1f5f93['createElement']('footnoteDefinition',{'footnoteId':_0x206cfe}),this['_footnotesDefinitions']&&(_0x1f5f93['insert'](_0x350de8,this['_footnotesDefinitions'],'end'),_0x4d4e95=!0x0));const _0xd71b91={'id':_0x206cfe,'reference':_0x58002a,'definition':_0x350de8},_0x1ebeec=I(this['editor']['model'],this['_footnotes'],_0x58002a);this['_footnotes']['splice'](_0x1ebeec,0x0,_0xd71b91);let _0x343888=_0x1ebeec;return-0x1!==_0x1a084e&&(_0x343888=Math['min'](_0x1ebeec,_0x1a084e)),this['_updateFootnotesCounters'](_0x1f5f93,_0x343888)&&(_0x4d4e95=!0x0),_0x4d4e95;}['_handleRemoveFootnoteReferenceById'](_0xcb3ab1,_0x3e2c70){const _0x20920b=this['_footnotes']['findIndex'](_0x37b2c9=>_0x37b2c9['id']===_0x3e2c70);if(-0x1===_0x20920b)return!0x1;let _0x2025d9=!0x1;const _0x4e98ff=this['_footnotes'][_0x20920b];return'$graveyard'!==_0x4e98ff['definition']['root']['rootName']&&(_0xcb3ab1['remove'](_0x4e98ff['definition']),_0x2025d9=!0x0),this['_footnotes']['splice'](_0x20920b,0x1),this['_updateFootnotesCounters'](_0xcb3ab1,_0x20920b)&&(_0x2025d9=!0x0),_0x2025d9;}['_handleMovedFootnoteReference'](_0x5326af,_0x394a6f){const _0x1d54ab=_0x394a6f['getAttribute']('footnoteId'),_0x289a9d=this['_footnotes']['findIndex'](_0x164081=>_0x164081['id']===_0x1d54ab),_0x272717=this['_footnotes'][_0x289a9d];let _0x43e3dc=!0x1;_0x272717['reference']=_0x394a6f,this['_footnotes']['splice'](_0x289a9d,0x1);const _0x43298a=I(this['editor']['model'],this['_footnotes'],_0x394a6f);return this['_footnotes']['splice'](_0x43298a,0x0,_0x272717),this['_updateFootnotesCounters'](_0x5326af,Math['min'](_0x289a9d,_0x43298a))&&(_0x43e3dc=!0x0),_0x43e3dc;}['_updateFootnoteRefCounter'](_0xf0c451,_0x35d103){if(!this['_footnotesDefinitions'])return!0x1;const _0x49d6bd=this['_footnotes'][_0x35d103];let _0x1b76a8;return _0x1b76a8=this['_footnoteFormatter']?this['_footnoteFormatter']({'footnote':_0x49d6bd,'container':this['_footnotesDefinitions'],'digits':String(this['_footnotes']['length'])['length'],'value':_0x35d103+0x1}):String(_0x35d103+0x1),_0x49d6bd['reference']['getAttribute']('footnoteCounter')!=_0x1b76a8&&(_0xf0c451['setAttribute']('footnoteCounter',_0x1b76a8,_0x49d6bd['reference']),!0x0);}['_sortFootnoteDefinitions'](_0x545d77){if(!this['_footnotesDefinitions']||this['_footnotes']['length']<0x2)return!0x1;if(function(_0x5e64b4,_0x5454a4){if(_0x5e64b4['length']!==_0x5454a4['length'])return!0x1;for(let _0x46ee3f=0x0;_0x46ee3f<_0x5e64b4['length'];_0x46ee3f++)if(_0x5e64b4[_0x46ee3f]!==_0x5454a4[_0x46ee3f])return!0x1;return!0x0;}(this['_footnotes']['map'](_0x45fcdc=>_0x45fcdc['id']),Array['from'](this['_footnotesDefinitions']['getChildren']())['map'](_0x4724c6=>_0x4724c6['getAttribute']('footnoteId'))))return!0x1;let _0x7921a9=!0x1;for(let _0x701a1b=0x0;_0x701a1b<this['_footnotes']['length'];_0x701a1b++){const _0x5ac7ba=this['_footnotes'][_0x701a1b],_0x248756=_0x545d77['createPositionBefore'](_0x5ac7ba['definition']),_0x3feb7f=_0x545d77['createPositionAt'](this['_footnotesDefinitions'],_0x701a1b);_0x248756['isEqual'](_0x3feb7f)||(_0x545d77['move'](_0x545d77['createRangeOn'](_0x5ac7ba['definition']),_0x3feb7f),_0x7921a9=!0x0);}return _0x7921a9;}['_ensureFootnotesReferencesHaveProperOrder'](_0x374b93){if(!this['_footnotes']['length'])return!0x1;const {model:_0x2ef72f}=this['editor'];let _0x4faa49=!0x1;for(let _0xc3535e=0x0;_0xc3535e<this['_footnotes']['length']-0x1;_0xc3535e++){const _0xf851e3=this['_footnotes'][_0xc3535e],_0x14b869=this['_footnotes'][_0xc3535e+0x1],_0x22b238=_0x2ef72f['createPositionBefore'](_0xf851e3['reference']),_0x16d431=_0x2ef72f['createPositionBefore'](_0x14b869['reference']);'after'===_0x22b238['compareWith'](_0x16d431)&&(this['_handleMovedFootnoteReference'](_0x374b93,_0xf851e3['reference']),_0xc3535e=-0x1,_0x4faa49=!0x0);}return _0x4faa49;}}function _(_0x461a4a,_0x14ed5c,_0x26d2fc){if(_0x26d2fc['childCount'])return!0x1;const _0x2951c5=_0x14ed5c?'paragraph':'footnoteInlineContent';return _0x461a4a['insert'](_0x461a4a['createElement'](_0x2951c5),_0x26d2fc),!0x0;}function I(_0x241490,_0x42aa38,_0x3e94df){if(0x0===_0x42aa38['length'])return 0x0;const _0x147ffa=_0x241490['createPositionBefore'](_0x3e94df);for(let _0x52fd5b=0x0;_0x52fd5b<_0x42aa38['length'];_0x52fd5b++){const _0x319ede=_0x42aa38[_0x52fd5b],_0x4085ed=_0x241490['createPositionBefore'](_0x319ede['reference']);if('before'===_0x147ffa['compareWith'](_0x4085ed))return _0x52fd5b;}const _0x4ffc06=_0x3e94df['root'];let _0x229053=-0x1;for(let _0x306d26=_0x42aa38['length']-0x1;_0x306d26>=0x0;_0x306d26--)if(_0x42aa38[_0x306d26]['reference']['root']===_0x4ffc06){_0x229053=_0x306d26;break;}if(-0x1!==_0x229053)return _0x229053+0x1;const _0x5e1c44=_0x241490['document']['getRootNames'](),_0x3ed6c3=_0x5e1c44['indexOf'](_0x4ffc06['rootName']),_0x5c449b=_0x5e1c44[_0x3ed6c3+0x1];if(_0x5c449b){for(let _0x57cb21=0x0;_0x57cb21<_0x42aa38['length'];_0x57cb21++)if(_0x42aa38[_0x57cb21]['reference']['root']['rootName']===_0x5c449b)return _0x57cb21;}return _0x42aa38['length'];}class m extends _0x33a1e3{['refresh'](){const _0x63adba=this['editor']['model']['document']['selection'],_0x262267=this['_getPositionToInsertFootnote'](_0x63adba);this['isEnabled']=!!_0x262267;}['execute'](_0x549865){const {editor:_0x47cea3}=this,{model:_0x4556d6}=_0x47cea3,{selection:_0xae4f55}=_0x4556d6['document'],_0x7518f3=this['_getPositionToInsertFootnote'](_0xae4f55);if(!_0x7518f3)return;const _0x46d5fb=_0x47cea3['plugins']['get']('FootnotesEditing'),_0x1a2d0f=_0x549865?.['footnoteId']??_0x343777();!function(_0x3371c4){return'string'==typeof _0x3371c4&&_0x3371c4['length']>0x0&&!/\s/['test'](_0x3371c4)&&!/^\d/['test'](_0x3371c4);}(_0x1a2d0f)?_0x6dd5b1('insert-footnote-command-executed-with-invalid-id'):(_0x4556d6['change'](_0x4694d3=>{const _0x5b1f7a=_0x4694d3['createElement']('footnoteRef',{'footnoteId':_0x1a2d0f});_0x4556d6['insertObject'](_0x5b1f7a,_0x7518f3,null);}),_0x46d5fb['_moveSelectionToFootnoteDefinition'](_0x1a2d0f));}['_getPositionToInsertFootnote'](_0x3a9204){const {model:_0x5419fd}=this['editor'],{schema:_0xd6539e}=_0x5419fd,_0x3a3516=_0x3a9204['getFirstRange']();for(const _0x5aeef9 of _0x3a3516['getItems']())if(_0xd6539e['isBlock'](_0x5aeef9)||_0xd6539e['isObject'](_0x5aeef9))return null;const _0x2a0d4f=_0x3a3516['end'];return _0xd6539e['checkChild'](_0x2a0d4f,'footnoteRef')?_0x2a0d4f:null;}}class r extends _0x3b7c2c{static get['pluginName'](){return'FootnotesEditing';}static get['requires'](){return[c];}static get['isOfficialPlugin'](){return!0x0;}static get['isPremiumPlugin'](){return!0x0;}['init'](){const {editor:_0x4e869b}=this;_0x4e869b['config']['define']('footnotes.multiBlock',!0x0),_0x4e869b['commands']['add']('insertFootnote',new m(_0x4e869b)),this['_defineSchema'](),this['_defineRefsConverters'](),this['_defineDefinitionsConverters'](),this['_defineDefinitionConverters'](),this['_defineBogusParagraphConverters'](),this['_defineKeyboardHandlers'](),this['_defineClickHandlers']();}['afterInit'](){!async function(_0x5cafe1){const _0x2865e0=_0x16dc79([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]),_0xb61a5b=0x47a28506,_0x1c44d1=0x47a5ffde^_0xb61a5b,_0xee2cc9=window[_0x16dc79([0x44,0x61,0x74,0x65])][_0x16dc79([0x6e,0x6f,0x77])](),_0x274128=_0x5cafe1[_0x16dc79([0x65,0x64,0x69,0x74,0x6f,0x72])],_0x362639=new window[(_0x16dc79([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0x451724=>{_0x274128[_0x16dc79([0x6f,0x6e,0x63,0x65])](_0x16dc79([0x72,0x65,0x61,0x64,0x79]),_0x451724);}),_0x1f0da1={[_0x16dc79([0x6b,0x74,0x79])]:_0x16dc79([0x45,0x43]),[_0x16dc79([0x75,0x73,0x65])]:_0x16dc79([0x73,0x69,0x67]),[_0x16dc79([0x63,0x72,0x76])]:_0x16dc79([0x50,0x2d,0x32,0x35,0x36]),[_0x16dc79([0x78])]:_0x16dc79([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]),[_0x16dc79([0x79])]:_0x16dc79([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]),[_0x16dc79([0x61,0x6c,0x67])]:_0x16dc79([0x45,0x53,0x32,0x35,0x36])},_0x15dd36=_0x274128[_0x16dc79([0x63,0x6f,0x6e,0x66,0x69,0x67])][_0x16dc79([0x67,0x65,0x74])](_0x16dc79([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x4b,0x65,0x79]));async function _0x27a400(){let _0x31c3c6,_0x24f466=null,_0x4d9385=null;try{if(_0x15dd36==_0x16dc79([0x47,0x50,0x4c]))return _0x16dc79([0x4e,0x6f,0x74,0x41,0x6c,0x6c,0x6f,0x77,0x65,0x64]);if(_0x31c3c6=_0x51701b(),!_0x31c3c6)return _0x16dc79([0x49,0x6e,0x76,0x61,0x6c,0x69,0x64]);return _0x31c3c6[_0x16dc79([0x75,0x73,0x61,0x67,0x65,0x45,0x6e,0x64,0x70,0x6f,0x69,0x6e,0x74])]&&(_0x4d9385=_0x385d5d(_0x31c3c6[_0x16dc79([0x75,0x73,0x61,0x67,0x65,0x45,0x6e,0x64,0x70,0x6f,0x69,0x6e,0x74])],_0x31c3c6[_0x16dc79([0x6a,0x74,0x69])])),await _0x49aad8()?_0x5c3f25()?_0x385841()?_0x16dc79([0x45,0x78,0x70,0x69,0x72,0x65,0x64]):_0x509607()?(_0x31c3c6[_0x16dc79([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x54,0x79,0x70,0x65])]==_0x16dc79([0x65,0x76,0x61,0x6c,0x75,0x61,0x74,0x69,0x6f,0x6e])&&(_0x24f466=_0x29316a(_0x16dc79([0x45,0x76,0x61,0x6c,0x75,0x61,0x74,0x69,0x6f,0x6e,0x4c,0x69,0x6d,0x69,0x74]))),_0x31c3c6[_0x16dc79([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x54,0x79,0x70,0x65])]==_0x16dc79([0x74,0x72,0x69,0x61,0x6c])&&(_0x24f466=_0x29316a(_0x16dc79([0x54,0x72,0x69,0x61,0x6c,0x4c,0x69,0x6d,0x69,0x74]))),await _0x6cac3f()):_0x16dc79([0x44,0x6f,0x6d,0x61,0x69,0x6e,0x4c,0x69,0x6d,0x69,0x74]):_0x16dc79([0x4e,0x6f,0x74,0x41,0x6c,0x6c,0x6f,0x77,0x65,0x64]):_0x16dc79([0x49,0x6e,0x76,0x61,0x6c,0x69,0x64]);}catch{return _0x16dc79([0x49,0x6e,0x76,0x61,0x6c,0x69,0x64]);}function _0x385841(){const _0x4a079c=[_0x16dc79([0x65,0x76,0x61,0x6c,0x75,0x61,0x74,0x69,0x6f,0x6e]),_0x16dc79([0x74,0x72,0x69,0x61,0x6c])][_0x16dc79([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x31c3c6[_0x16dc79([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x54,0x79,0x70,0x65])])?_0xee2cc9/0x3e8:0xe10*_0x1c44d1;return _0x31c3c6[_0x16dc79([0x65,0x78,0x70])]<_0x4a079c;}function _0x5c3f25(){const _0x1faff4=_0x31c3c6[_0x16dc79([0x66,0x65,0x61,0x74,0x75,0x72,0x65,0x73])];return!!_0x1faff4&&(!!_0x1faff4[_0x16dc79([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x16dc79([0x2a]))||!!_0x1faff4[_0x16dc79([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x16dc79([0x46,0x4f,0x4f])));}function _0x509607(){const _0x3025f9=_0x31c3c6[_0x16dc79([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x64,0x48,0x6f,0x73,0x74,0x73])];if(!_0x3025f9||0x0==_0x3025f9[_0x16dc79([0x6c,0x65,0x6e,0x67,0x74,0x68])])return!0x0;const {hostname:_0x414a33}=new URL(window[_0x16dc79([0x6c,0x6f,0x63,0x61,0x74,0x69,0x6f,0x6e])]['href']);if(_0x3025f9[_0x16dc79([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x414a33))return!0x0;const _0x344a80=_0x414a33[_0x16dc79([0x73,0x70,0x6c,0x69,0x74])](_0x16dc79([0x2e]));return _0x3025f9[_0x16dc79([0x66,0x69,0x6c,0x74,0x65,0x72])](_0xc6ed60=>_0xc6ed60[_0x16dc79([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x16dc79([0x2a])))[_0x16dc79([0x6d,0x61,0x70])](_0x164aff=>_0x164aff[_0x16dc79([0x73,0x70,0x6c,0x69,0x74])](_0x16dc79([0x2e])))[_0x16dc79([0x66,0x69,0x6c,0x74,0x65,0x72])](_0x5544bb=>_0x5544bb[_0x16dc79([0x6c,0x65,0x6e,0x67,0x74,0x68])]<=_0x344a80[_0x16dc79([0x6c,0x65,0x6e,0x67,0x74,0x68])])[_0x16dc79([0x6d,0x61,0x70])](_0x5150b0=>Array(_0x344a80[_0x16dc79([0x6c,0x65,0x6e,0x67,0x74,0x68])]-_0x5150b0[_0x16dc79([0x6c,0x65,0x6e,0x67,0x74,0x68])])[_0x16dc79([0x66,0x69,0x6c,0x6c])](_0x5150b0[0x0]===_0x16dc79([0x2a])?_0x16dc79([0x2a]):'')[_0x16dc79([0x63,0x6f,0x6e,0x63,0x61,0x74])](_0x5150b0))[_0x16dc79([0x73,0x6f,0x6d,0x65])](_0x582181=>_0x344a80[_0x16dc79([0x65,0x76,0x65,0x72,0x79])]((_0x5d4810,_0x421787)=>_0x582181[_0x421787]===_0x5d4810||_0x582181[_0x421787]===_0x16dc79([0x2a])));}function _0x6cac3f(){return _0x24f466&&_0x4d9385?new window[(_0x16dc79([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))]((_0x32a97a,_0x544374)=>{_0x24f466[_0x16dc79([0x74,0x68,0x65,0x6e])](_0x32a97a,_0x544374),_0x4d9385[_0x16dc79([0x74,0x68,0x65,0x6e])](_0x32a2ee=>{_0x32a2ee!=_0x16dc79([0x56,0x61,0x6c,0x69,0x64])&&_0x32a97a(_0x32a2ee);},_0x544374);}):_0x24f466||_0x4d9385||_0x16dc79([0x56,0x61,0x6c,0x69,0x64]);}}function _0x385d5d(_0x250272,_0x39b8e1){return new window[(_0x16dc79([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0x580846=>{if(_0x3cc136())return _0x580846(_0x16dc79([0x56,0x61,0x6c,0x69,0x64]));_0x1209b6(),_0x274128[_0x16dc79([0x64,0x65,0x63,0x6f,0x72,0x61,0x74,0x65])](_0x16dc79([0x5f,0x73,0x65,0x6e,0x64,0x55,0x73,0x61,0x67,0x65,0x52,0x65,0x71,0x75,0x65,0x73,0x74]));let _0x3952c1=!0x1;const _0x544fde=_0x343777();function _0x2728c5(_0x696fd3){return!!_0x696fd3&&(typeof _0x696fd3===_0x16dc79([0x6f,0x62,0x6a,0x65,0x63,0x74])||typeof _0x696fd3===_0x16dc79([0x66,0x75,0x6e,0x63,0x74,0x69,0x6f,0x6e]))&&typeof _0x696fd3[_0x16dc79([0x74,0x68,0x65,0x6e])]===_0x16dc79([0x66,0x75,0x6e,0x63,0x74,0x69,0x6f,0x6e])&&typeof _0x696fd3[_0x16dc79([0x63,0x61,0x74,0x63,0x68])]===_0x16dc79([0x66,0x75,0x6e,0x63,0x74,0x69,0x6f,0x6e]);}function _0x383e41(_0x4c9294){_0x53e3de(_0x4c9294)[_0x16dc79([0x74,0x68,0x65,0x6e])](_0x1f6ef1=>{if(!_0x1f6ef1||_0x1f6ef1[_0x16dc79([0x73,0x74,0x61,0x74,0x75,0x73])]!=_0x16dc79([0x6f,0x6b]))return _0x16dc79([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]);return _0x4cfa4c(_0x682ea7(_0x544fde+_0x39b8e1))!=_0x1f6ef1[_0x16dc79([0x76,0x65,0x72,0x69,0x66,0x69,0x63,0x61,0x74,0x69,0x6f,0x6e])]?_0x16dc79([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]):_0x16dc79([0x56,0x61,0x6c,0x69,0x64]);})[_0x16dc79([0x74,0x68,0x65,0x6e])](_0x2f57ba=>(_0x22152b(),_0x2f57ba),()=>{const _0x40d862=_0x49ca55();return null==_0x40d862?(_0x22152b(),_0x16dc79([0x56,0x61,0x6c,0x69,0x64])):_0x16dc79(_0xee2cc9-_0x40d862>(0x63ae0106^_0xb61a5b)?[0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]:[0x56,0x61,0x6c,0x69,0x64]);})[_0x16dc79([0x74,0x68,0x65,0x6e])](_0x580846)[_0x16dc79([0x63,0x61,0x74,0x63,0x68])](()=>{_0x580846(_0x16dc79([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]));});const _0x31f5a5=0x47946b86^_0xb61a5b;function _0x22152b(){const _0x2d8654=_0x16dc79([0x6c,0x6c,0x63,0x74,0x2d])+_0x4cfa4c(_0x682ea7(_0x250272)),_0x482d61=_0x426e9c(_0x4cfa4c(window[_0x16dc79([0x4d,0x61,0x74,0x68])][_0x16dc79([0x63,0x65,0x69,0x6c])](_0xee2cc9/_0x31f5a5)));window[_0x16dc79([0x6c,0x6f,0x63,0x61,0x6c,0x53,0x74,0x6f,0x72,0x61,0x67,0x65])][_0x16dc79([0x73,0x65,0x74,0x49,0x74,0x65,0x6d])](_0x2d8654,_0x482d61);}function _0x49ca55(){const _0x1206f0=_0x16dc79([0x6c,0x6c,0x63,0x74,0x2d])+_0x4cfa4c(_0x682ea7(_0x250272)),_0x241317=window[_0x16dc79([0x6c,0x6f,0x63,0x61,0x6c,0x53,0x74,0x6f,0x72,0x61,0x67,0x65])][_0x16dc79([0x67,0x65,0x74,0x49,0x74,0x65,0x6d])](_0x1206f0);return _0x241317?window[_0x16dc79([0x70,0x61,0x72,0x73,0x65,0x49,0x6e,0x74])](_0x426e9c(_0x241317),0x10)*_0x31f5a5:null;}function _0x53e3de(_0x1f6097){return new window[(_0x16dc79([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))]((_0x3a8a4b,_0x5a8ed6)=>{_0x1f6097[_0x16dc79([0x74,0x68,0x65,0x6e])](_0x3a8a4b,_0x5a8ed6),window[_0x16dc79([0x73,0x65,0x74,0x54,0x69,0x6d,0x65,0x6f,0x75,0x74])](_0x5a8ed6,0x47a351c6^_0xb61a5b);});}}_0x274128[_0x16dc79([0x6f,0x6e])](_0x16dc79([0x5f,0x73,0x65,0x6e,0x64,0x55,0x73,0x61,0x67,0x65,0x52,0x65,0x71,0x75,0x65,0x73,0x74]),(_0x1f8f68,_0x44e635)=>{if(_0x44e635[0x0]!=_0x250272)return _0x580846(_0x16dc79([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]));_0x44e635[0x1]={..._0x44e635[0x1],[_0x16dc79([0x72,0x65,0x71,0x75,0x65,0x73,0x74,0x49,0x64])]:_0x544fde};},{[_0x16dc79([0x70,0x72,0x69,0x6f,0x72,0x69,0x74,0x79])]:_0x16dc79([0x68,0x69,0x67,0x68])}),_0x274128[_0x16dc79([0x6f,0x6e])](_0x16dc79([0x5f,0x73,0x65,0x6e,0x64,0x55,0x73,0x61,0x67,0x65,0x52,0x65,0x71,0x75,0x65,0x73,0x74]),_0x42e132=>{_0x2728c5(_0x42e132[_0x16dc79([0x72,0x65,0x74,0x75,0x72,0x6e])])&&(_0x3952c1=!0x0,_0x383e41(_0x42e132[_0x16dc79([0x72,0x65,0x74,0x75,0x72,0x6e])]));},{[_0x16dc79([0x70,0x72,0x69,0x6f,0x72,0x69,0x74,0x79])]:_0x16dc79([0x6c,0x6f,0x77])}),_0x362639[_0x16dc79([0x74,0x68,0x65,0x6e])](()=>{_0x3952c1||_0x580846(_0x16dc79([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]));});});function _0x3cc136(){return _0x274128[_0x16dc79([0x65,0x64,0x69,0x74,0x69,0x6e,0x67])][_0x16dc79([0x76,0x69,0x65,0x77])][_0x16dc79([0x5f,0x6f,0x76,0x65,0x72,0x6c,0x61,0x79,0x4d,0x6f,0x64,0x65,0x48,0x69,0x6e,0x74])]==_0x16dc79([0x61,0x75,0x74,0x6f]);}function _0x1209b6(){_0x274128[_0x16dc79([0x65,0x64,0x69,0x74,0x69,0x6e,0x67])][_0x16dc79([0x76,0x69,0x65,0x77])][_0x16dc79([0x5f,0x6f,0x76,0x65,0x72,0x6c,0x61,0x79,0x4d,0x6f,0x64,0x65,0x48,0x69,0x6e,0x74])]=_0x16dc79([0x61,0x75,0x74,0x6f]);}}function _0x29316a(_0x24688d){const _0x5c3adc=[new window[(_0x16dc79([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0x478e12=>setTimeout(_0x478e12,0x47abbbca^_0xb61a5b)),_0x362639[_0x16dc79([0x74,0x68,0x65,0x6e])](()=>new window[(_0x16dc79([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0x3fb9f5=>{let _0x28c35c=0x0;_0x274128[_0x16dc79([0x6d,0x6f,0x64,0x65,0x6c])][_0x16dc79([0x6f,0x6e])](_0x16dc79([0x61,0x70,0x70,0x6c,0x79,0x4f,0x70,0x65,0x72,0x61,0x74,0x69,0x6f,0x6e]),(_0x171549,_0x5cc918)=>{_0x5cc918[0x0][_0x16dc79([0x69,0x73,0x44,0x6f,0x63,0x75,0x6d,0x65,0x6e,0x74,0x4f,0x70,0x65,0x72,0x61,0x74,0x69,0x6f,0x6e])]&&_0x28c35c++,_0x28c35c==(0x47a284fe^_0xb61a5b)&&(_0x3fb9f5(),_0x171549[_0x16dc79([0x6f,0x66,0x66])]());});}))];return window[_0x16dc79([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65])][_0x16dc79([0x72,0x61,0x63,0x65])](_0x5c3adc)[_0x16dc79([0x74,0x68,0x65,0x6e])](()=>_0x24688d);}async function _0xd1c5a6(){await _0x362639,_0x274128[_0x16dc79([0x6d,0x6f,0x64,0x65,0x6c])][_0x16dc79([0x63,0x68,0x61,0x6e,0x67,0x65])]=_0xdf5fd2,_0x274128[_0x16dc79([0x6d,0x6f,0x64,0x65,0x6c])][_0x16dc79([0x65,0x6e,0x71,0x75,0x65,0x75,0x65,0x43,0x68,0x61,0x6e,0x67,0x65])]=_0xdf5fd2,_0x274128[_0x16dc79([0x65,0x6e,0x61,0x62,0x6c,0x65,0x52,0x65,0x61,0x64,0x4f,0x6e,0x6c,0x79,0x4d,0x6f,0x64,0x65])](_0x16dc79([0x6d,0x6f,0x64,0x65,0x6c]));}function _0x2052f7(_0x4c7b1b){const _0x10a25d=_0x2f3c25();_0x274128[_0x10a25d]=_0x16dc79([0x66,0x6f,0x6f,0x74,0x6e,0x6f,0x74,0x65,0x73,0x4c,0x69,0x63,0x65,0x6e,0x73,0x65,0x4b,0x65,0x79])+_0x4c7b1b,_0x4c7b1b!=_0x16dc79([0x56,0x61,0x6c,0x69,0x64])&&_0xd1c5a6();}function _0x2f3c25(){const _0x4a6432=window[_0x16dc79([0x53,0x74,0x72,0x69,0x6e,0x67])](window[_0x16dc79([0x70,0x65,0x72,0x66,0x6f,0x72,0x6d,0x61,0x6e,0x63,0x65])][_0x16dc79([0x6e,0x6f,0x77])]())[_0x16dc79([0x72,0x65,0x70,0x6c,0x61,0x63,0x65])](_0x16dc79([0x2e]),'');let _0x166c14=_0x16dc79([0x75]);for(let _0x32b8eb=0x0;_0x32b8eb<_0x4a6432[_0x16dc79([0x6c,0x65,0x6e,0x67,0x74,0x68])];_0x32b8eb+=0x2){let _0xa71151=window[_0x16dc79([0x70,0x61,0x72,0x73,0x65,0x49,0x6e,0x74])](_0x4a6432[_0x16dc79([0x73,0x75,0x62,0x73,0x74,0x72,0x69,0x6e,0x67])](_0x32b8eb,_0x32b8eb+0x2));_0xa71151>=_0x2865e0[_0x16dc79([0x6c,0x65,0x6e,0x67,0x74,0x68])]&&(_0xa71151-=_0x2865e0[_0x16dc79([0x6c,0x65,0x6e,0x67,0x74,0x68])]),_0x166c14+=_0x2865e0[_0xa71151];}return _0x166c14;}function _0x51701b(){const _0x23e62d=_0x15dd36[_0x16dc79([0x73,0x70,0x6c,0x69,0x74])](_0x16dc79([0x2e]));if(0x3!=_0x23e62d[_0x16dc79([0x6c,0x65,0x6e,0x67,0x74,0x68])])return null;return _0x2918c5(_0x23e62d[0x1]);function _0x2918c5(_0x331a13){const _0x3562d2=_0xe59f95(_0x331a13);return _0x3562d2&&_0x4121ab()?_0x3562d2:null;function _0x4121ab(){const _0x38ff1c=_0x3562d2[_0x16dc79([0x6a,0x74,0x69])],_0x2ada9a=window[_0x16dc79([0x70,0x61,0x72,0x73,0x65,0x49,0x6e,0x74])](_0x38ff1c[_0x16dc79([0x73,0x75,0x62,0x73,0x74,0x72,0x69,0x6e,0x67])](_0x38ff1c[_0x16dc79([0x6c,0x65,0x6e,0x67,0x74,0x68])]-0x8),0x10),_0x39e55b={..._0x3562d2,[_0x16dc79([0x6a,0x74,0x69])]:_0x38ff1c[_0x16dc79([0x73,0x75,0x62,0x73,0x74,0x72,0x69,0x6e,0x67])](0x0,_0x38ff1c[_0x16dc79([0x6c,0x65,0x6e,0x67,0x74,0x68])]-0x8)};return delete _0x39e55b[_0x16dc79([0x76,0x63])],_0x682ea7(_0x39e55b)==_0x2ada9a;}}}async function _0x49aad8(){let _0x40f993=!0x0;try{const _0x2bd058=_0x15dd36[_0x16dc79([0x73,0x70,0x6c,0x69,0x74])](_0x16dc79([0x2e])),[_0x4014ad,_0x4ce3c7,_0x1a816d]=_0x2bd058;return _0x487362(_0x4014ad),await _0x3b3a99(_0x4014ad,_0x4ce3c7,_0x1a816d),_0x40f993;}catch{return!0x1;}function _0x487362(_0x107118){const _0x30cebe=_0xe59f95(_0x107118);_0x30cebe&&_0x30cebe[_0x16dc79([0x61,0x6c,0x67])]==_0x16dc79([0x45,0x53,0x32,0x35,0x36])||(_0x40f993=!0x1);}async function _0x3b3a99(_0x32e901,_0x1da1ab,_0x95e592){const _0x1e9f01=window[_0x16dc79([0x55,0x69,0x6e,0x74,0x38,0x41,0x72,0x72,0x61,0x79])][_0x16dc79([0x66,0x72,0x6f,0x6d])](_0x5e3c66(_0x95e592),_0x131069=>_0x131069[_0x16dc79([0x63,0x68,0x61,0x72,0x43,0x6f,0x64,0x65,0x41,0x74])](0x0)),_0x268897=new window[(_0x16dc79([0x54,0x65,0x78,0x74,0x45,0x6e,0x63,0x6f,0x64,0x65,0x72]))]()[_0x16dc79([0x65,0x6e,0x63,0x6f,0x64,0x65])](_0x32e901+_0x16dc79([0x2e])+_0x1da1ab),_0x198ce0=window[_0x16dc79([0x63,0x72,0x79,0x70,0x74,0x6f])][_0x16dc79([0x73,0x75,0x62,0x74,0x6c,0x65])];if(!_0x198ce0)return;const _0x119ac8=await _0x198ce0[_0x16dc79([0x69,0x6d,0x70,0x6f,0x72,0x74,0x4b,0x65,0x79])](_0x16dc79([0x6a,0x77,0x6b]),_0x1f0da1,{[_0x16dc79([0x6e,0x61,0x6d,0x65])]:_0x16dc79([0x45,0x43,0x44,0x53,0x41]),[_0x16dc79([0x6e,0x61,0x6d,0x65,0x64,0x43,0x75,0x72,0x76,0x65])]:_0x16dc79([0x50,0x2d,0x32,0x35,0x36])},!0x1,[_0x16dc79([0x76,0x65,0x72,0x69,0x66,0x79])]);await _0x198ce0[_0x16dc79([0x76,0x65,0x72,0x69,0x66,0x79])]({[_0x16dc79([0x6e,0x61,0x6d,0x65])]:_0x16dc79([0x45,0x43,0x44,0x53,0x41]),[_0x16dc79([0x68,0x61,0x73,0x68])]:{[_0x16dc79([0x6e,0x61,0x6d,0x65])]:_0x16dc79([0x53,0x48,0x41,0x2d,0x32,0x35,0x36])}},_0x119ac8,_0x1e9f01,_0x268897)||(_0x40f993=!0x1);}}function _0xe59f95(_0x589985){return _0x589985[_0x16dc79([0x73,0x74,0x61,0x72,0x74,0x73,0x57,0x69,0x74,0x68])](_0x16dc79([0x65,0x79]))?JSON[_0x16dc79([0x70,0x61,0x72,0x73,0x65])](_0x5e3c66(_0x589985)):null;}function _0x5e3c66(_0x3b8e4a){return window[_0x16dc79([0x61,0x74,0x6f,0x62])](_0x3b8e4a[_0x16dc79([0x72,0x65,0x70,0x6c,0x61,0x63,0x65])](/-/g,_0x16dc79([0x2b]))[_0x16dc79([0x72,0x65,0x70,0x6c,0x61,0x63,0x65])](/_/g,_0x16dc79([0x2f])));}function _0x682ea7(_0x522446){let _0x3e1934=0x1505;function _0x81ac59(_0x593209){for(let _0x4328dd=0x0;_0x4328dd<_0x593209[_0x16dc79([0x6c,0x65,0x6e,0x67,0x74,0x68])];_0x4328dd++){const _0x5d3d3c=_0x593209[_0x16dc79([0x63,0x68,0x61,0x72,0x43,0x6f,0x64,0x65,0x41,0x74])](_0x4328dd);_0x3e1934=(_0x3e1934<<0x5)+_0x3e1934+_0x5d3d3c,_0x3e1934&=_0x3e1934;}}function _0x540056(_0x5498c8){Array[_0x16dc79([0x69,0x73,0x41,0x72,0x72,0x61,0x79])](_0x5498c8)?_0x5498c8[_0x16dc79([0x66,0x6f,0x72,0x45,0x61,0x63,0x68])](_0x540056):_0x5498c8&&typeof _0x5498c8==_0x16dc79([0x6f,0x62,0x6a,0x65,0x63,0x74])?Object[_0x16dc79([0x65,0x6e,0x74,0x72,0x69,0x65,0x73])](_0x5498c8)[_0x16dc79([0x73,0x6f,0x72,0x74])]()[_0x16dc79([0x66,0x6f,0x72,0x45,0x61,0x63,0x68])](([_0x4e958c,_0x3c76b5])=>{_0x81ac59(_0x4e958c),_0x540056(_0x3c76b5);}):_0x81ac59(window[_0x16dc79([0x53,0x74,0x72,0x69,0x6e,0x67])](_0x5498c8));}return _0x540056(_0x522446),_0x3e1934>>>0x0;}function _0x4cfa4c(_0x209fb5){return _0x209fb5[_0x16dc79([0x74,0x6f,0x53,0x74,0x72,0x69,0x6e,0x67])](0x10)[_0x16dc79([0x70,0x61,0x64,0x53,0x74,0x61,0x72,0x74])](0x8,_0x16dc79([0x30]));}function _0x426e9c(_0x374aaa){return _0x374aaa[_0x16dc79([0x73,0x70,0x6c,0x69,0x74])]('')[_0x16dc79([0x72,0x65,0x76,0x65,0x72,0x73,0x65])]()[_0x16dc79([0x6a,0x6f,0x69,0x6e])]('');}function _0xdf5fd2(){}function _0x16dc79(_0x139777){return _0x139777['map'](_0x30f226=>String['fromCharCode'](_0x30f226))['join']('');}_0x2052f7(await _0x27a400());}(this);}['_moveSelectionToFootnoteDefinition'](_0x404e70){const {plugins:_0x482f3d,editing:_0x5bb742,model:_0x4a3e89}=this['editor'],_0x502f58=_0x482f3d['get'](c)['getFootnote'](_0x404e70);return!!_0x502f58&&(_0x4a3e89['change'](_0x174b15=>{_0x174b15['setSelection'](_0x174b15['createPositionAt'](_0x502f58['definition'],'end'));}),_0x5bb742['view']['scrollToTheSelection'](),!0x0);}['_moveSelectionToFootnoteReference'](_0x3c1e2a){const {plugins:_0x22b0a7,editing:_0x933abe,model:_0x364321}=this['editor'],_0xf9c775=_0x22b0a7['get'](c)['getFootnote'](_0x3c1e2a);return!!_0xf9c775&&(_0x364321['change'](_0x4d553c=>{_0x4d553c['setSelection'](_0xf9c775['reference'],'on');}),_0x933abe['view']['scrollToTheSelection'](),!0x0);}['_defineSchema'](){const {schema:_0x338511}=this['editor']['model'],_0x5425b4=this['editor']['config']['get']('footnotes.multiBlock');_0x338511['register']('footnoteRef',{'inheritAllFrom':'$inlineObject','allowAttributes':['footnoteId','footnoteCounter']}),_0x338511['register']('footnotesDefinitions',{'inheritAllFrom':'$blockObject','allowChildren':['footnoteDefinition']}),_0x338511['register']('footnoteDefinition',{'allowAttributes':['footnoteId'],'disallowAttributes':['listItemId'],'isLimit':!0x0}),_0x5425b4?_0x338511['extend']('footnoteDefinition',{'allowContentOf':'$container'}):_0x338511['register']('footnoteInlineContent',{'allowIn':'footnoteDefinition','allowContentOf':'$block','isLimit':!0x0}),_0x338511['addChildCheck'](_0x49a17a=>{for(const _0x33b23f of _0x49a17a)if('footnoteDefinition'===_0x33b23f['name'])return!0x1;},'footnoteRef');}['_defineRefsConverters'](){const {editor:_0x5c8758}=this,{conversion:_0x37dafa,editing:_0x348d52}=_0x5c8758,{t:t}=_0x5c8758['locale'];_0x37dafa['for']('upcast')['elementToElement']({'view':{'name':'sup','classes':'footnote'},'model':(_0x49e5e4,{writer:_0x2a89ca,consumable:_0x579453})=>{const _0x278a15=_0x49e5e4['getChild'](0x0);if(!_0x278a15||!_0x278a15['is']('element','a'))return null;const _0x21ad0a=_0x278a15['getAttribute']('href')||'';if(!_0x21ad0a['startsWith']('#'))return null;const _0x18e099=_0x21ad0a['replace'](/^#/,'');if(!_0x18e099)return null;_0x579453['consume'](_0x278a15,{'name':!0x0,'attributes':['href']});for(const {item:_0x43b67d}of _0x348d52['view']['createRangeIn'](_0x278a15))_0x43b67d['is']('$textProxy')?_0x579453['consume'](_0x43b67d['textNode'],{'name':!0x0}):_0x43b67d['is']('element')&&_0x579453['consume'](_0x43b67d,{'name':!0x0});return _0x2a89ca['createElement']('footnoteRef',{'footnoteId':_0x18e099});}}),_0x37dafa['for']('dataDowncast')['elementToElement']({'model':{'name':'footnoteRef','attributes':['footnoteId','footnoteCounter']},'view':(_0x2720a5,{writer:_0x2e1282})=>D(_0x2720a5,_0x2e1282)}),_0x37dafa['for']('editingDowncast')['elementToElement']({'model':{'name':'footnoteRef','attributes':['footnoteId','footnoteCounter']},'view':(_0x4e417c,{writer:_0x4f36b8})=>{const _0x2f08a2=_0x4e417c['getAttribute']('footnoteCounter');return _0x13f0ac(D(_0x4e417c,_0x4f36b8),_0x4f36b8,{'label':t('Footnote\x20%0.\x20Press\x20ENTER\x20to\x20jump\x20to\x20footnote\x20definition.',_0x2f08a2)});}});}['_defineDefinitionsConverters'](){const {editor:_0x38170c}=this,{t:t}=_0x38170c['locale'],{conversion:_0x1c1671}=_0x38170c;_0x1c1671['for']('upcast')['elementToElement']({'view':{'name':'div','classes':'footnotes'},'model':'footnotesDefinitions'}),_0x1c1671['for']('upcast')['add'](_0x537a12=>{_0x537a12['on']('element:ol',(_0x36c919,_0x3198a8,_0x17367f)=>{const _0x212c76=_0x3198a8['viewItem'];if(!_0x212c76['hasClass']('footnotes-list')||!_0x3198a8['modelCursor']['parent']?.['is']('element','footnotesDefinitions'))return;if(!_0x17367f['consumable']['consume'](_0x212c76,{'name':!0x0,'classes':'footnotes-list'}))return;const {modelRange:_0x1541ec,modelCursor:_0x327943}=_0x17367f['convertChildren'](_0x3198a8['viewItem'],_0x3198a8['modelCursor']);_0x3198a8['modelRange']=_0x1541ec,_0x3198a8['modelCursor']=_0x327943;}),_0x537a12['on']('element:hr',(_0x401014,_0x4282d3,_0x5b9f2a)=>{const _0x2bf275=_0x4282d3['viewItem'];_0x2bf275['hasClass']('footnotes-divider')&&_0x4282d3['modelCursor']['parent']?.['is']('element','footnotesDefinitions')&&_0x5b9f2a['consumable']['consume'](_0x2bf275,{'name':!0x0,'classes':'footnotes-divider'});});}),_0x1c1671['for']('dataDowncast')['elementToStructure']({'model':'footnotesDefinitions','view':(_0x15c6a6,{writer:_0x119ff6})=>v(_0x119ff6)}),_0x1c1671['for']('editingDowncast')['elementToStructure']({'model':'footnotesDefinitions','view':(_0x438f51,{writer:_0x3ecfa7})=>{const _0x365b9e=v(_0x3ecfa7,{'data-footnotes-list-label':t('Footnotes')}),_0x75df30=_0x13f0ac(_0x365b9e,_0x3ecfa7,{'hasSelectionHandle':!0x0,'label':t('Footnotes')});return _0x3ecfa7['setCustomProperty']('footnotesDefinitions',!0x0,_0x75df30),_0x75df30;}});}['_defineDefinitionConverters'](){const {editor:_0x966b84}=this,{conversion:_0x19b40e,locale:_0x16ac9c}=_0x966b84,_0x50eb75=_0x966b84['config']['get']('footnotes.multiBlock');_0x19b40e['for']('upcast')['add'](_0x3d8af6=>{_0x3d8af6['on']('element:li',(_0x48ae1b,_0x4b162a,_0x19483e)=>{const _0x47a0a3=_0x4b162a['viewItem'];if(!_0x47a0a3['hasClass']('footnote-definition')||!_0x47a0a3['getAttribute']('id'))return;const _0x36ecef=_0x47a0a3['parent'];if(!_0x36ecef['is']('element','ol')||!_0x36ecef['hasClass']('footnotes-list'))return;if(!_0x19483e['consumable']['test'](_0x47a0a3,{'name':!0x0,'attributes':'id','classes':'footnote-definition'}))return;const _0x483f48=_0x19483e['writer']['createElement']('footnoteDefinition',{'footnoteId':_0x47a0a3['getAttribute']('id')});if(!_0x19483e['safeInsert'](_0x483f48,_0x4b162a['modelCursor']))return;_0x19483e['consumable']['consume'](_0x47a0a3,{'name':!0x0,'attributes':'id','classes':'footnote-definition'});const _0x14097d=Array['from'](_0x47a0a3['getChildren']())['find'](_0x21543a=>_0x21543a['is']('element')&&_0x21543a['hasClass']('footnote-content'));for(const _0x37983e of _0x47a0a3['getChildren']())_0x37983e['is']('element')&&(_0x19483e['consumable']['consume'](_0x37983e,{'name':!0x0,'classes':'footnote-backlink','attributes':'href'}),_0x19483e['consumable']['consume'](_0x37983e,{'name':!0x0,'classes':'footnote-content'}));if(_0x14097d){if(_0x50eb75)_0x19483e['convertChildren'](_0x14097d,_0x483f48);else{const _0x3e150c=_0x19483e['writer']['createElement']('footnoteInlineContent');_0x19483e['writer']['insert'](_0x3e150c,_0x483f48),_0x19483e['convertChildren'](_0x14097d,_0x3e150c);}}_0x19483e['updateConversionResult'](_0x483f48,_0x4b162a);});}),_0x19b40e['for']('dataDowncast')['elementToStructure']({'model':{'name':'footnoteDefinition','attributes':['footnoteId']},'view':(_0x2eb3e6,{writer:_0x54505b})=>b(_0x2eb3e6,_0x54505b,_0x16ac9c,{'dataPipeline':!0x0})}),_0x19b40e['for']('editingDowncast')['elementToStructure']({'model':{'name':'footnoteDefinition','attributes':['footnoteId']},'view':(_0x58ea22,{writer:_0x4879ce})=>b(_0x58ea22,_0x4879ce,_0x16ac9c)});}['_defineBogusParagraphConverters'](){const {editor:_0x2c131a}=this,{conversion:_0x5f4084}=_0x2c131a;_0x2c131a['config']['get']('footnotes.multiBlock')?(_0x5f4084['for']('editingDowncast')['elementToElement']({'model':'paragraph','view':h(),'converterPriority':'high'}),_0x5f4084['for']('dataDowncast')['elementToElement']({'model':'paragraph','view':h({'dataPipeline':!0x0}),'converterPriority':'high'}),this['listenTo'](_0x2c131a['model']['document'],'change:data',()=>{!function(_0x30c803,_0x42a2c6){const _0x696178=_0x30c803['document']['differ'],_0x2a9e55=new Set();for(const _0x301af2 of _0x696178['getChanges']()){const _0x50880d='attribute'==_0x301af2['type']?_0x301af2['range']['start']['parent']:_0x301af2['position']['parent'];_0x50880d['is']('element','footnoteDefinition')&&_0x2a9e55['add'](_0x50880d);}for(const _0x36e98d of _0x2a9e55['values']()){const _0x47deec=Array['from'](_0x36e98d['getChildren']())['filter'](_0xf7d939=>g(_0xf7d939,_0x42a2c6['mapper']));for(const _0x7ea04c of _0x47deec)_0x42a2c6['reconvertItem'](_0x7ea04c);}}(_0x2c131a['model'],_0x2c131a['editing']);})):(_0x5f4084['for']('editingDowncast')['elementToElement']({'model':'footnoteInlineContent','view':h()}),_0x5f4084['for']('dataDowncast')['elementToElement']({'model':'footnoteInlineContent','view':(_0x25498e,{writer:_0x22c59d})=>{const _0x2f6cda=_0x22c59d['createContainerElement']('span');return _0x22c59d['setCustomProperty']('dataPipeline:transparentRendering',!0x0,_0x2f6cda),_0x2f6cda;}}));}['_defineKeyboardHandlers'](){const {editor:_0x55ae86}=this,{editing:_0x53fccb,t:t}=_0x55ae86,_0x4fa1b9=_0x55ae86['model']['document']['selection'];_0x55ae86['keystrokes']['set']('Ctrl+Alt+F','insertFootnote'),_0x55ae86['accessibility']['addKeystrokeInfos']({'keystrokes':[{'label':t('Insert\x20footnote'),'keystroke':'Ctrl+Alt+F'}]}),this['listenTo'](_0x53fccb['view']['document'],'enter',(_0x4cba0c,_0x3f33ff)=>{const _0x4faa90=function(_0x53b848){const _0x15e0c4=_0x53b848['getSelectedElement']();if(_0x15e0c4?.['is']('element','footnoteRef'))return _0x15e0c4;return null;}(_0x4fa1b9);if(_0x4faa90){const _0x3c0a74=_0x4faa90['getAttribute']('footnoteId');this['_moveSelectionToFootnoteDefinition'](_0x3c0a74),_0x3f33ff['preventDefault'](),_0x4cba0c['stop']();}},{'context':_0x2125ad});}['_defineClickHandlers'](){const {editor:_0x172c78}=this,{editing:_0x1759ae}=_0x172c78;_0x172c78['editing']['view']['addObserver'](_0x23daff),_0x172c78['editing']['view']['addObserver'](_0x3f94e6);let _0x31c818=!0x1;this['listenTo'](_0x1759ae['view']['document'],'pointerdown',(_0x488ef6,_0x19171e)=>{const {target:_0x543cc1}=_0x19171e,_0x5da76a=_0x1759ae['view']['document']['selection'];_0x31c818=!!(_0x543cc1?.['is']('element','a')&&_0x543cc1['parent']?.['is']('element','sup')&&_0x543cc1['parent']['hasClass']('footnote'))&&_0x5da76a['getSelectedElement']()===_0x543cc1['parent'];},{'priority':'high'}),this['listenTo'](_0x1759ae['view']['document'],'click',(_0x2e4f14,_0x4a29e0)=>{const {target:_0x11446e}=_0x4a29e0;if(!_0x11446e?.['is']('element','a'))return;if(_0x11446e['parent']?.['is']('element','sup')&&_0x11446e['parent']['hasClass']('footnote')&&!_0x31c818)return void _0x4a29e0['preventDefault']();let _0x132fbd=_0x11446e['getAttribute']('href');if(!_0x132fbd?.['startsWith']('#'))return;_0x132fbd=_0x132fbd['slice'](0x1);let _0x56e02f=!0x1;(_0x132fbd['startsWith']('ref-')&&this['_moveSelectionToFootnoteReference'](_0x132fbd['slice'](0x4))||this['_moveSelectionToFootnoteDefinition'](_0x132fbd))&&(_0x56e02f=!0x0),_0x56e02f&&(_0x4a29e0['preventDefault'](),_0x2e4f14['stop']());},{'priority':'high','context':'$capture'});}}function h({dataPipeline:_0x5c9093}={}){return(_0x4efc1e,{writer:_0x380b3b})=>{if(!p(_0x4efc1e))return null;if(!_0x5c9093)return _0x380b3b['createContainerElement']('span',{'class':'ck-footnote-bogus-paragraph'});const _0x2efec0=_0x380b3b['createContainerElement']('p');return _0x380b3b['setCustomProperty']('dataPipeline:transparentRendering',!0x0,_0x2efec0),_0x2efec0;};}function p(_0x256e4d){const {parent:_0x94273b}=_0x256e4d;if(!_0x94273b?.['is']('element','footnoteDefinition'))return!0x1;if(0x1!=_0x94273b['childCount'])return!0x1;for(const _0x4d81ed of _0x256e4d['getAttributeKeys']())if(!_0x4d81ed['startsWith']('selection:')&&'htmlEmptyBlock'!=_0x4d81ed)return!0x1;return!0x0;}function g(_0x131f5b,_0x4f001d){if(!_0x131f5b['is']('element','paragraph'))return!0x1;const _0x43c955=_0x4f001d['toViewElement'](_0x131f5b);return!!_0x43c955&&p(_0x131f5b)!==_0x43c955['is']('element','span');}function J(_0x37478f){return _0x2125ad(_0x37478f)&&_0x37478f['is']('containerElement')&&!!_0x37478f['getCustomProperty']('footnotesDefinitions');}function v(_0x2d6b43,_0x31f85d={}){const _0x2851ee=_0x2d6b43['createEmptyElement']('hr',{'class':'footnotes-divider'}),_0x4cdaba=_0x2d6b43['createContainerElement']('ol',{'class':'footnotes-list'},_0x2d6b43['createSlot']());return _0x2d6b43['createContainerElement']('div',{'class':'footnotes',..._0x31f85d},[_0x2851ee,_0x4cdaba]);}function D(_0x1cc4e9,_0x10eb13){const _0x66b5ff=_0x1cc4e9['getAttribute']('footnoteId'),_0x522c51=_0x1cc4e9['getAttribute']('footnoteCounter'),_0x4062a4=_0x10eb13['createUIElement']('a',{'href':'#'+_0x66b5ff},function(_0x5f5131){const _0x38f0b5=this['toDomElement'](_0x5f5131);return _0x38f0b5['textContent']=_0x522c51,_0x38f0b5;}),_0x10a64c=_0x10eb13['createContainerElement']('sup',{'id':'ref-'+_0x66b5ff,'class':'footnote'},[_0x4062a4]);return _0x10a64c['getFillerOffset']=()=>null,_0x10a64c;}function b(_0x2ebc5f,_0x9d6acc,_0x74963,{dataPipeline:_0x22a90c}={}){const {t:t}=_0x74963,_0x40a813=_0x2ebc5f['getAttribute']('footnoteId'),_0x1c1731=_0x9d6acc['createUIElement']('a',{'class':'footnote-backlink','href':'#ref-'+_0x40a813},function(_0x44d979){const _0x4b538c=this['toDomElement'](_0x44d979);return _0x4b538c['innerText']='^',_0x4b538c;}),_0x39f92f=_0x22a90c?_0x9d6acc['createContainerElement']('div',{'class':'footnote-content'}):_0x594915(_0x9d6acc['createEditableElement']('div',{'class':'footnote-content'}),_0x9d6acc,{'label':t('Footnote\x20content.')});return _0x9d6acc['insert'](_0x9d6acc['createPositionAt'](_0x39f92f,0x0),_0x9d6acc['createSlot']()),_0x9d6acc['createContainerElement']('li',{'class':'footnote-definition','id':_0x40a813},[_0x1c1731,_0x39f92f]);}class e extends _0x3b7c2c{static get['pluginName'](){return'FootnotesClipboard';}static get['requires'](){return[r,_0x5b0de3];}static get['isOfficialPlugin'](){return!0x0;}static get['isPremiumPlugin'](){return!0x0;}['init'](){this['_defineClipboardIntegration']();}['_defineClipboardIntegration'](){this['_handleCopyFootnotesDefinitions'](),this['_handlePasteFootnotesDefinitions']();}['_handleCopyFootnotesDefinitions'](){const {editor:_0x46215f}=this,{plugins:_0x56715f,model:_0x3575ab}=_0x46215f,_0x42bc08=_0x56715f['get'](_0x5b0de3),_0x1b0906=_0x56715f['get'](c);this['listenTo'](_0x42bc08,'outputTransformation',(_0x52e15d,_0x46fe07)=>{const _0x43e319=f(_0x3575ab['createRangeIn'](_0x46fe07['content']));if(!_0x43e319['length'])return;const _0x2a34be=_0x1b0906['getFootnotes'](),_0x79af2e=_0x43e319['reduce']((_0x10e34d,_0x4ab118)=>{const _0x23ff53=_0x2a34be['find'](_0x1f820c=>_0x1f820c['id']===_0x4ab118);if(_0x23ff53){const _0x2f6451=_0x46215f['data']['toView'](_0x23ff53['definition'],{'isClipboardPipeline':!0x0}),_0x3db683=_0x46215f['data']['htmlProcessor']['toData'](_0x2f6451);_0x10e34d[_0x23ff53['id']]=_0x3db683;}return _0x10e34d;},Object['create'](null));_0x46fe07['dataTransfer']['setData']('application/ckeditor5-footnotes',JSON['stringify'](_0x79af2e));});}['_handlePasteFootnotesDefinitions'](){const {editor:_0xbcd474}=this,{model:_0x54624a,plugins:_0x4095e9}=_0xbcd474,{view:_0x53b2d2}=_0xbcd474['editing'],_0x1bbf57=_0x4095e9['get'](_0x5b0de3),_0x1cfca9=_0x4095e9['get'](c);let _0x3e23d6=null;this['listenTo'](_0x53b2d2['document'],'clipboardInput',(_0x266513,_0x5f2bf3)=>{const _0x202506=_0x5f2bf3['dataTransfer']['getData']('application/ckeditor5-footnotes');_0x3e23d6=_0x202506?JSON['parse'](_0x202506):null;}),this['listenTo'](_0x1bbf57,'contentInsertion',(_0x595f18,_0x1effba)=>{const _0x1702ed=_0x1effba['sourceEditorId']===this['editor']['id'];_0x1702ed&&'drop'===_0x1effba['method']||_0x54624a['change'](_0x4160df=>{let _0x4d0686=_0x1cfca9['getFootnotesDefinitionsObjectElement']();const _0x437baf=!!_0x4d0686&&Array['from'](_0x54624a['document']['selection']['getSelectedBlocks']())['includes'](_0x4d0686);if((_0x4d0686&&!_0x437baf||!_0x4d0686&&!_0x3e23d6)&&function(_0x58a1f8,_0x513ea8){const _0x550a7a=[];for(const {item:_0x17c779}of _0x58a1f8['createRangeIn'](_0x513ea8))_0x17c779['is']('element','footnotesDefinitions')&&_0x550a7a['push'](_0x17c779);for(const _0x570596 of _0x550a7a)_0x58a1f8['remove'](_0x570596);}(_0x4160df,_0x1effba['content']),!_0x3e23d6)return;const {selection:_0x1cfcdd}=_0x54624a['document'],_0x34e403=_0x1cfcdd['getFirstRange']()['root'];_0x4d0686&&!_0x437baf||(_0x4d0686=function(_0x370b40,_0x24585c){for(const {item:_0x507633}of _0x370b40['createRangeIn'](_0x24585c))if(_0x507633['is']('element','footnotesDefinitions'))return _0x507633;return null;}(_0x4160df,_0x1effba['content']),_0x4d0686||=_0x1cfca9['_insertEmptyFootnotesDefinitionsContainer'](_0x4160df,_0x34e403));const _0x414818=Array['from'](_0x1cfcdd['getRanges']())['flatMap'](f),_0x5af7f5=function(_0x231691,_0x3fd350,_0x1a2328){const _0x154268=Object['create'](null);for(const {item:_0x38759f}of _0x231691['createRangeIn'](_0x3fd350))if(_0x38759f['is']('element','footnoteRef')){const _0x322ba7=_0x38759f['getAttribute']('footnoteId');if(!_0x1a2328(_0x322ba7))continue;_0x154268[_0x322ba7]||(_0x154268[_0x322ba7]=_0x343777()),_0x231691['setAttribute']('footnoteId',_0x154268[_0x322ba7],_0x38759f);}return _0x154268;}(_0x4160df,_0x1effba['content'],_0x4cf67e=>{if(!_0x1702ed)return!0x0;return!!_0x1cfca9['getFootnote'](_0x4cf67e)&&!_0x414818['includes'](_0x4cf67e);});for(const [_0x2272bb,_0x5b0256]of Object['entries'](_0x3e23d6)){const _0x1d9708=_0x5af7f5[_0x2272bb]||_0x2272bb,_0x56cc37=_0x4160df['createElement']('footnoteDefinition',{'footnoteId':_0x1d9708}),_0x1a457a=_0xbcd474['data']['htmlProcessor']['toView'](_0x5b0256),_0x189428=_0xbcd474['data']['toModel'](_0x1a457a,_0x56cc37);_0x4160df['append'](_0x189428,_0x56cc37),_0x4160df['insert'](_0x56cc37,_0x4d0686,'end');}_0x3e23d6=null;});});}}function f(_0x4da23f){const _0x30c737=new Set();for(const {item:_0x934935}of _0x4da23f)_0x934935['is']('element','footnoteRef')&&_0x30c737['add'](_0x934935['getAttribute']('footnoteId'));return Array['from'](_0x30c737);}class i extends _0x3b7c2c{['licenseKey'];['_licenseKeyCheckInterval'];static get['pluginName'](){return'FootnotesUI';}static get['isOfficialPlugin'](){return!0x0;}static get['isPremiumPlugin'](){return!0x0;}['init'](){const {editor:_0x593b18}=this,{componentFactory:_0x390a4e}=_0x593b18['ui'];_0x390a4e['add']('insertFootnote',x(_0x593b18,_0x41a9d9)),_0x390a4e['add']('menuBar:insertFootnote',x(_0x593b18,_0x5909fd)),this['licenseKey']=this['editor']['config']['get']('licenseKey');const _0x3a370a=this['editor'];this['_licenseKeyCheckInterval']=setInterval(()=>{let _0x2ee194;for(const _0x200e69 in _0x3a370a){const _0x26749a=_0x200e69,_0x4e9159=_0x3a370a[_0x26749a];if('footnotesLicenseKeyValid'==_0x4e9159||'footnotesLicenseKeyInvalid'==_0x4e9159||'footnotesLicenseKeyExpired'==_0x4e9159||'footnotesLicenseKeyDomainLimit'==_0x4e9159||'footnotesLicenseKeyNotAllowed'==_0x4e9159||'footnotesLicenseKeyEvaluationLimit'==_0x4e9159||'footnotesLicenseKeyTrialLimit'==_0x4e9159||'footnotesLicenseKeyUsageLimit'==_0x4e9159){delete _0x3a370a[_0x26749a],_0x2ee194=_0x4e9159,clearInterval(this['_licenseKeyCheckInterval']),this['_licenseKeyCheckInterval']=void 0x0;break;}}'footnotesLicenseKeyInvalid'==_0x2ee194&&_0x3a370a['_showLicenseError']('invalid'),'footnotesLicenseKeyExpired'==_0x2ee194&&_0x3a370a['_showLicenseError']('expired'),'footnotesLicenseKeyDomainLimit'==_0x2ee194&&_0x3a370a['_showLicenseError']('domainLimit'),'footnotesLicenseKeyNotAllowed'==_0x2ee194&&_0x3a370a['_showLicenseError']('featureNotAllowed','Footnotes'),'footnotesLicenseKeyEvaluationLimit'==_0x2ee194&&_0x3a370a['_showLicenseError']('evaluationLimit'),'footnotesLicenseKeyTrialLimit'==_0x2ee194&&_0x3a370a['_showLicenseError']('trialLimit'),'footnotesLicenseKeyUsageLimit'==_0x2ee194&&_0x3a370a['_showLicenseError']('usageLimit');},0x3e8);}['destroy'](){super['destroy'](),this['_licenseKeyCheckInterval']&&clearInterval(this['_licenseKeyCheckInterval']);}}function x(_0x5ac6c4,_0x21edbf){const _0x40b829=_0x5ac6c4['commands']['get']('insertFootnote');return _0x1f0723=>{const {t:t}=_0x1f0723,_0x937626=new _0x21edbf(_0x1f0723),_0x4ed984=_0x937626 instanceof _0x5909fd;return _0x937626['bind']('isEnabled')['to'](_0x40b829,'isEnabled'),_0x937626['set']({'label':t(_0x4ed984?'Footnote':'Insert\x20footnote'),'icon':_0x1c69b7,'tooltip':!0x0}),_0x937626['on']('execute',()=>{_0x40b829['execute'](),_0x5ac6c4['editing']['view']['focus']();}),_0x937626;};}class lt extends _0x3b7c2c{static get['pluginName'](){return'Footnotes';}static get['requires'](){return[r,e,i];}static get['isOfficialPlugin'](){return!0x0;}static get['isPremiumPlugin'](){return!0x0;}}const Q=['decimal','decimal-leading-zero','lower-latin','upper-latin','lower-alpha','upper-alpha','lower-roman','upper-roman'];class S extends _0x33a1e3{['refresh'](){const {editor:_0x3bcf23}=this,_0x14ae43=_0x3bcf23['plugins']['get'](c)['getFootnotesDefinitionsObjectElement']();this['isEnabled']=!!_0x14ae43,this['value']=_0x14ae43?.['getAttribute']('footnotesListStyle')??null;}['execute']({value:_0x51b114}){const {editor:_0x56db35}=this,_0x19669e=_0x56db35['plugins']['get'](c),_0x3558bf=_0x19669e['getFootnotesDefinitionsObjectElement']();_0x3558bf&&Q['includes'](_0x51b114)&&_0x56db35['model']['change'](_0x5e8627=>{_0x5e8627['setAttribute']('footnotesListStyle',_0x51b114,_0x3558bf),_0x19669e['_updateFootnotesCounters'](_0x5e8627);});}}class C extends _0x33a1e3{['refresh'](){const {editor:_0x59857c}=this,_0x44410c=_0x59857c['plugins']['get'](c)['getFootnotesDefinitionsObjectElement']();this['isEnabled']=!!_0x44410c,this['value']=_0x44410c?.['getAttribute']('footnotesListStart')??null;}['execute']({value:_0x1c1a85}){const {editor:_0x4e880d}=this,_0x469f9b=_0x4e880d['plugins']['get'](c),_0x424c04=_0x469f9b['getFootnotesDefinitionsObjectElement']();_0x424c04&&Number['isInteger'](_0x1c1a85)&&_0x4e880d['model']['change'](_0x1bc679=>{_0x1bc679['setAttribute']('footnotesListStart',_0x1c1a85,_0x424c04),_0x469f9b['_updateFootnotesCounters'](_0x1bc679);});}}class P extends _0x3b7c2c{static get['pluginName'](){return'FootnotesPropertiesEditing';}static get['requires'](){return[r,c];}static get['isOfficialPlugin'](){return!0x0;}static get['isPremiumPlugin'](){return!0x0;}['init'](){const {editor:_0x1dba9b}=this;_0x1dba9b['config']['define']('footnotes.footnotesProperties.defaultListStyle','decimal'),_0x1dba9b['config']['define']('footnotes.footnotesProperties.defaultStartIndex',0x1),_0x1dba9b['commands']['add']('footnotesStyle',new S(_0x1dba9b)),_0x1dba9b['commands']['add']('footnotesStart',new C(_0x1dba9b)),this['_defineSchema'](),this['_defineConverters'](),this['_defineFormatter'](),this['_definePostfixer']();}['_defineSchema'](){const {editor:_0x44e578}=this,{schema:_0x2b2119}=_0x44e578['model'];_0x2b2119['extend']('footnotesDefinitions',{'allowAttributes':['footnotesListStyle','footnotesListStart']});}['_defineConverters'](){const {editor:_0x139f42}=this,{conversion:_0x1b85af,model:_0x34bf19}=_0x139f42,{schema:_0x2da12f}=_0x34bf19;_0x1b85af['for']('upcast')['add'](_0x33540e=>{_0x33540e['on']('element:ol',(_0x210981,_0x869c0b,_0x42cbec)=>{const _0x110892=_0x869c0b['viewItem'],_0xb16bd8=_0x869c0b['modelCursor']?.['parent'];_0x110892['hasClass']('footnotes-list')&&_0xb16bd8?.['is']('element','footnotesDefinitions')&&(function(_0x5737e6,_0x56797a,_0xe3400e,_0x3f32e2){if(!_0x3f32e2['checkAttribute'](_0x56797a,'footnotesListStart'))return;let _0x29eb3f=0x1;const _0xf48b4a=_0xe3400e['consumable']['consume'](_0x5737e6,{'attributes':'start'});if(_0xf48b4a){const _0x34c824=Number['parseInt'](_0x5737e6['getAttribute']('start'),0xa);Number['isNaN'](_0x34c824)||(_0x29eb3f=_0x34c824);}!_0xf48b4a&&_0x56797a['hasAttribute']('footnotesListStart')||_0xe3400e['writer']['setAttribute']('footnotesListStart',_0x29eb3f,_0x56797a);}(_0x110892,_0xb16bd8,_0x42cbec,_0x2da12f),function(_0x2fb7db,_0x56da2e,_0x4c6816,_0x40d517){if(!_0x40d517['checkAttribute'](_0x56da2e,'footnotesListStyle'))return;let _0x347b41='decimal',_0x3ed2ed=!0x1;if(_0x4c6816['consumable']['consume'](_0x2fb7db,{'attributes':'type'})){const _0x57609d={0x1:'decimal','a':'lower-alpha','A':'upper-alpha','i':'lower-roman','I':'upper-roman'}[_0x2fb7db['getAttribute']('type')];_0x57609d&&(_0x347b41=_0x57609d),_0x3ed2ed=!0x0;}_0x4c6816['consumable']['consume'](_0x2fb7db,{'styles':'list-style-type'})&&(_0x347b41=_0x2fb7db['getStyle']('list-style-type'),_0x3ed2ed=!0x0),!_0x3ed2ed&&_0x56da2e['hasAttribute']('footnotesListStyle')||_0x4c6816['writer']['setAttribute']('footnotesListStyle',_0x347b41,_0x56da2e);}(_0x110892,_0xb16bd8,_0x42cbec,_0x2da12f));});}),_0x1b85af['for']('downcast')['add'](_0x4c5eee=>{_0x4c5eee['on']('attribute:footnotesListStart:footnotesDefinitions',(_0x396a46,_0x1de7db,_0x3dd0eb)=>{if(!_0x3dd0eb['consumable']['consume'](_0x1de7db['item'],_0x396a46['name']))return;const _0x56cf59=M(_0x1de7db['item'],_0x3dd0eb['mapper']),{attributeNewValue:_0xd93266}=_0x1de7db;null==_0xd93266||0x1===_0xd93266?_0x3dd0eb['writer']['removeAttribute']('start',_0x56cf59):_0x3dd0eb['writer']['setAttribute']('start',String(_0xd93266),_0x56cf59);}),_0x4c5eee['on']('attribute:footnotesListStyle:footnotesDefinitions',(_0x39b7d9,_0x4d90f7,_0x924b3b)=>{if(!_0x924b3b['consumable']['consume'](_0x4d90f7['item'],_0x39b7d9['name']))return;const _0x3af6cb=M(_0x4d90f7['item'],_0x924b3b['mapper']),{attributeNewValue:_0x434b70}=_0x4d90f7;_0x434b70&&'decimal'!==_0x434b70?_0x924b3b['writer']['setStyle']('list-style-type',_0x434b70,_0x3af6cb):_0x924b3b['writer']['removeStyle']('list-style-type',_0x3af6cb);});});}['_definePostfixer'](){const {editor:_0x5b7069}=this,{model:_0x5425ac}=_0x5b7069,_0x462218=_0x5b7069['plugins']['get'](c),_0x51af50=this['_getDefaultListStyle'](),_0x17d774=this['_getDefaultStartIndex']();_0x5425ac['document']['registerPostFixer'](_0xe1151b=>{const _0x59fffe=_0x5425ac['document']['differ']['getChanges']();let _0x547f83=!0x1;for(const _0x1d6197 of _0x59fffe){if('insert'!==_0x1d6197['type']||'$text'===_0x1d6197['name'])continue;const _0x171476=_0x5425ac['createRangeOn'](_0x1d6197['position']['nodeAfter']);for(const _0x12c811 of _0x171476['getItems']())_0x12c811['is']('element','footnotesDefinitions')&&(!_0x12c811['hasAttribute']('footnotesListStart')&&_0x5425ac['schema']['checkAttribute'](_0x12c811,'footnotesListStart')&&(_0xe1151b['setAttribute']('footnotesListStart',_0x17d774,_0x12c811),_0x547f83=!0x0),!_0x12c811['hasAttribute']('footnotesListStyle')&&_0x5425ac['schema']['checkAttribute'](_0x12c811,'footnotesListStyle')&&(_0xe1151b['setAttribute']('footnotesListStyle',_0x51af50,_0x12c811),_0x547f83=!0x0));}return _0x547f83&&_0x462218['_updateFootnotesCounters'](_0xe1151b),_0x547f83;});}['_defineFormatter'](){const {editor:_0x5b9a09}=this;_0x5b9a09['plugins']['get'](c)['setFootnoteFormatter'](_0x3c8ab2=>this['_formatFootnoteListValue'](_0x3c8ab2));}['_getDefaultListStyle'](){return this['editor']['config']['get']('footnotes.footnotesProperties.defaultListStyle');}['_getDefaultStartIndex'](){return this['editor']['config']['get']('footnotes.footnotesProperties.defaultStartIndex');}['_formatFootnoteListValue']({container:_0x40f57c,value:_0x50bf73,digits:_0xd24d97}){const _0x542fe5=_0x40f57c['getAttribute']('footnotesListStyle'),_0x127545=_0x40f57c['getAttribute']('footnotesListStart'),_0x43822c=Math['floor'](_0x50bf73)+(_0x127545??0x1)-0x1;switch(_0x542fe5){case'decimal-leading-zero':return function(_0x58756f,_0x159586){return String(_0x58756f)['padStart'](_0x159586,'0');}(_0x43822c,Math['max'](0x2,_0xd24d97));case'lower-alpha':case'lower-latin':return N(_0x43822c,!0x1);case'upper-alpha':case'upper-latin':return N(_0x43822c,!0x0);case'lower-roman':return X(_0x43822c,!0x1);case'upper-roman':return X(_0x43822c,!0x0);default:return String(_0x43822c);}}}function M(_0x35b6fe,_0x20f41c){const _0x23e698=_0x20f41c['toViewElement'](_0x35b6fe);return Array['from'](_0x23e698['getChildren']())['find'](_0x5d8921=>_0x5d8921['is']('element','ol')&&_0x5d8921['hasClass']('footnotes-list'));}function N(_0x46f88e,_0x59aeef){let _0x495378='',_0x57c9cc=_0x46f88e;for(;_0x57c9cc>0x0;){const _0x41ee65=(_0x57c9cc-0x1)%0x1a;_0x495378=String['fromCharCode'](0x61+_0x41ee65)+_0x495378,_0x57c9cc=Math['floor']((_0x57c9cc-0x1)/0x1a);}return _0x59aeef?_0x495378['toUpperCase']():_0x495378;}const V=[{'value':0x3e8,'numeral':'M'},{'value':0x384,'numeral':'CM'},{'value':0x1f4,'numeral':'D'},{'value':0x190,'numeral':'CD'},{'value':0x64,'numeral':'C'},{'value':0x5a,'numeral':'XC'},{'value':0x32,'numeral':'L'},{'value':0x28,'numeral':'XL'},{'value':0xa,'numeral':'X'},{'value':0x9,'numeral':'IX'},{'value':0x5,'numeral':'V'},{'value':0x4,'numeral':'IV'},{'value':0x1,'numeral':'I'}];function X(_0x566730,_0x2a8ea4){let _0x1b4939='',_0x1fa45b=_0x566730;for(const {value:_0x30aca7,numeral:_0x2a9d9d}of V)for(;_0x1fa45b>=_0x30aca7;)_0x1b4939+=_0x2a9d9d,_0x1fa45b-=_0x30aca7;return _0x2a8ea4?_0x1b4939:_0x1b4939['toLowerCase']();}class H extends _0x27b474{['children'];['stylesView']=null;['additionalProperties']=null;['startIndexFieldView']=null;['focusTracker']=new ot();['keystrokes']=new rt();['focusables']=new _0x3d8f7a();['focusCycler'];constructor(_0x296086,{styleButtonViews:_0x206d4f,styleGridAriaLabel:_0x3e0afd}){super(_0x296086),(this['focusCycler']=new _0x5af006({'focusables':this['focusables'],'focusTracker':this['focusTracker'],'keystrokeHandler':this['keystrokes'],'actions':{'focusPrevious':'shift\x20+\x20tab','focusNext':'tab'}}),this['children']=this['createCollection'](),this['stylesView']=this['_appendStylesView'](_0x206d4f,_0x3e0afd),[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 _0x348593 of this['stylesView']['children'])this['stylesView']['focusTracker']['add'](_0x348593['element']);tt({'keystrokeHandler':this['stylesView']['keystrokes'],'focusTracker':this['stylesView']['focusTracker'],'gridItems':this['stylesView']['children'],'numberOfColumns':()=>nt['window']['getComputedStyle'](this['stylesView']['element'])['getPropertyValue']('grid-template-columns')['split']('\x20')['length'],'uiLanguageDirection':this['locale']&&this['locale']['uiLanguageDirection']});}if(this['startIndexFieldView']){this['focusables']['add'](this['startIndexFieldView']),this['focusTracker']['add'](this['startIndexFieldView']['element']);const _0x5ff953=_0x6de492=>_0x6de492['stopPropagation']();this['keystrokes']['set']('arrowright',_0x5ff953),this['keystrokes']['set']('arrowleft',_0x5ff953),this['keystrokes']['set']('arrowup',_0x5ff953),this['keystrokes']['set']('arrowdown',_0x5ff953);}this['keystrokes']['listenTo'](this['element']);}['focus'](){this['focusCycler']['focusFirst']();}['focusLast'](){this['focusCycler']['focusLast']();}['destroy'](){super['destroy'](),this['focusTracker']['destroy'](),this['keystrokes']['destroy']();}['_appendStylesView'](_0x20fa13,_0x3ce7b4){const _0x177125=new _0x27b474(this['locale']);return _0x177125['children']=_0x177125['createCollection'](),_0x177125['children']['addMany'](_0x20fa13),_0x177125['setTemplate']({'tag':'div','attributes':{'aria-label':_0x3ce7b4,'class':['ck','ck-footnotes-definitions-styles-list']},'children':_0x177125['children']}),_0x177125['children']['delegate']('execute')['to'](this),_0x177125['focus']=function(){for(const _0x1927de of this['children'])if(_0x1927de instanceof _0x41a9d9&&_0x1927de['isOn'])return void _0x1927de['focus']();this['children']['first']['focus']();},_0x177125['focusTracker']=new ot(),_0x177125['keystrokes']=new rt(),_0x177125['render'](),_0x177125['keystrokes']['listenTo'](_0x177125['element']),this['children']['add'](_0x177125),_0x177125;}['_appendAdditionalPropertiesCollapsibleView'](){const {t:t}=this['locale'],_0x41b6f4=this['_createStartIndexPropertyView'](),_0x1a995c=[_0x41b6f4],_0x55a5ed=new st(this['locale'],_0x1a995c);return _0x55a5ed['set']({'label':t('Footnotes\x20properties'),'isCollapsed':!0x0}),_0x55a5ed['buttonView']['bind']('isEnabled')['toMany'](_0x1a995c,'isEnabled',(..._0xfd58ab)=>_0xfd58ab['some'](_0x265fa7=>_0x265fa7)),_0x55a5ed['buttonView']['on']('change:isEnabled',(_0x16a664,_0x4fb7c8,_0x416e4a)=>{_0x416e4a||(_0x55a5ed['isCollapsed']=!0x0);}),this['children']['add'](_0x55a5ed),[_0x41b6f4,_0x55a5ed];}['_createStartIndexPropertyView'](){const {t:t}=this['locale'],_0xc8190a=new it(this['locale'],et);return _0xc8190a['set']({'label':t('Footnotes\x20start\x20at'),'class':'ck-footnotes-definitions-properties__start-index'}),_0xc8190a['fieldView']['set']({'min':0x0,'max':Math['pow'](0x2,0x1e),'step':0x1,'value':0x1,'inputMode':'numeric'}),_0xc8190a['fieldView']['on']('input',()=>{const _0x242d38=_0xc8190a['fieldView']['element'],_0x5e998f=_0x242d38['valueAsNumber'];Number['isNaN'](_0x5e998f)?_0xc8190a['errorText']=t('Invalid\x20footnotes\x20start\x20index\x20value.'):_0x242d38['checkValidity']()?this['fire']('footnotesListStart',{'startIndex':_0x5e998f}):_0xc8190a['errorText']=t(_0x5e998f<0x0?'Footnotes\x20start\x20index\x20must\x20be\x20greater\x20than\x200.':'Footnotes\x20start\x20index\x20is\x20too\x20large.');}),_0xc8190a;}}class j extends _0x3b7c2c{static get['pluginName'](){return'FootnotesPropertiesUI';}static get['requires'](){return[_0xbec66e,_0x32723d];}static get['isOfficialPlugin'](){return!0x0;}static get['isPremiumPlugin'](){return!0x0;}['init'](){const {editor:_0x3f7e18}=this,{componentFactory:_0x599474}=_0x3f7e18['ui'];_0x3f7e18['config']['define']('footnotes.footnotesProperties.toolbar',['footnotesStyle']),_0x599474['add']('footnotesStyle',function(_0x518773){return _0x5ea1f2=>{const {t:t}=_0x5ea1f2,_0x339470=_0x518773['commands']['get']('footnotesStyle'),_0xd01337=_0x16756a(_0x5ea1f2),{buttonView:_0x5d7129}=_0xd01337;return _0xd01337['class']='ck-footnotes-styles-dropdown',_0xd01337['bind']('isEnabled')['to'](_0x339470,'isEnabled'),_0x5d7129['set']({'label':t('Footnotes\x20style'),'icon':_0x1c69b7,'tooltip':!0x0}),_0xd01337['once']('change:isOpen',()=>{const _0x52ba76=function({editor:_0x22795f,dropdownView:_0x49ec84}){const {t:t}=_0x22795f['locale'],_0x4aa310=t('Footnotes\x20definitions\x20styles'),_0xd2d15f=function(_0x5be331){const t=_0x5be331['locale']['t'],_0x18e7d2=[{'label':t('Toggle\x20the\x20decimal\x20footnotes\x20style'),'tooltip':t('Decimal\x20footnotes'),'style':'decimal','icon':_0x436957},{'label':t('Toggle\x20the\x20decimal\x20with\x20leading\x20zero\x20footnotes\x20style'),'tooltip':t('Decimal\x20footnotes\x20with\x20leading\x20zero'),'style':'decimal-leading-zero','icon':_0x3bb0b2},{'label':t('Toggle\x20the\x20lower–roman\x20footnotes\x20style'),'tooltip':t('Lower–roman\x20footnotes'),'style':'lower-roman','icon':_0x2ab0e8},{'label':t('Toggle\x20the\x20upper–roman\x20footnotes\x20style'),'tooltip':t('Upper-roman\x20footnotes'),'style':'upper-roman','icon':_0x547b1d},{'label':t('Toggle\x20the\x20lower–latin\x20footnotes\x20style'),'tooltip':t('Lower-latin\x20footnotes'),'style':'lower-latin','icon':_0xa42f56},{'label':t('Toggle\x20the\x20upper–latin\x20footnotes\x20style'),'tooltip':t('Upper-latin\x20footnotes'),'style':'upper-latin','icon':_0x1e2078}];return _0x18e7d2['map'](function(_0x214e9f){const _0x350a9f=_0x214e9f['locale'];return({label:_0x5d4a7b,icon:_0x318e90,tooltip:_0x12bb0e,style:_0x36d3f9})=>{const _0x44892a=_0x214e9f['commands']['get']('footnotesStyle'),_0x2380c5=new _0x41a9d9(_0x350a9f);return _0x2380c5['set']({'label':_0x5d4a7b,'icon':_0x318e90,'tooltip':_0x12bb0e}),_0x2380c5['bind']('isOn')['to'](_0x44892a,'value',_0x4df0b1=>_0x4df0b1===_0x36d3f9),_0x2380c5['bind']('isEnabled')['to'](_0x44892a,'isEnabled'),_0x2380c5['on']('execute',()=>{_0x214e9f['execute']('footnotesStyle',{'value':_0x36d3f9}),_0x214e9f['editing']['view']['focus']();}),_0x2380c5;};}(_0x5be331));}(_0x22795f),_0x297262=new H(_0x22795f['locale'],{'styleGridAriaLabel':_0x4aa310,'styleButtonViews':_0xd2d15f});return _0x297262['delegate']('execute')['to'](_0x49ec84),_0x297262['on']('footnotesListStart',(_0x30170e,_0x495de8)=>{_0x22795f['execute']('footnotesStart',{'value':_0x495de8['startIndex']});}),_0x297262;}({'editor':_0x518773,'dropdownView':_0xd01337});_0xd01337['panelView']['children']['add'](_0x52ba76);}),_0xd01337;};}(_0x3f7e18));}['afterInit'](){const {editor:_0x5e9fc6}=this,{t:t}=_0x5e9fc6['locale'],_0x5722fc=_0x5e9fc6['plugins']['get'](_0x32723d),{defaultPositions:_0x552564}=_0x3bc24c;_0x5722fc['register']('footnotesDefinitions',{'ariaLabel':t('Footnotes\x20definitions\x20toolbar'),'items':_0x5e9fc6['config']['get']('footnotes.footnotesProperties.toolbar'),'balloonClassName':'ck-footnotes-style-balloon\x20ck-toolbar-container','getRelatedElement':_0x463bdc=>{let _0x31a5b2=_0x463bdc['getFirstPosition']()?.['parent'];return _0x31a5b2?.['is']('$text')&&(_0x31a5b2=_0x31a5b2['parent']),_0x31a5b2?.['is']('element')?_0x31a5b2['findAncestor'](J):null;},'positions':[_0x552564['southArrowNorth'],_0x552564['southArrowNorthMiddleWest'],_0x552564['southArrowNorthMiddleEast'],_0x552564['southArrowNorthWest'],_0x552564['southArrowNorthEast'],_0x552564['northArrowSouth'],_0x552564['northArrowSouthMiddleWest'],_0x552564['northArrowSouthMiddleEast'],_0x552564['northArrowSouthWest'],_0x552564['northArrowSouthEast'],_0x552564['viewportStickyNorth']]});}}class ft extends _0x3b7c2c{static get['pluginName'](){return'FootnotesProperties';}static get['requires'](){return[P,j];}static get['isOfficialPlugin'](){return!0x0;}static get['isPremiumPlugin'](){return!0x0;}}export{lt as Footnotes,e as FootnotesClipboard,r as FootnotesEditing,ft as FootnotesProperties,P as FootnotesPropertiesEditing,j as FootnotesPropertiesUI,C as FootnotesStartCommand,S as FootnotesStyleCommand,c as FootnotesTracker,i as FootnotesUI,m as InsertFootnoteCommand};
23
+ import{Plugin as _0x3263b6,Command as _0x390675}from'@ckeditor/ckeditor5-core/dist/index.js';import{toWidget as _0x58422d,isWidget as _0x54c03d,toWidgetEditable as _0x5abf7f,WidgetToolbarRepository as _0x1d7021}from'@ckeditor/ckeditor5-widget/dist/index.js';import{uid as _0x1c4e41,logWarning as _0x4e7b2a,FocusTracker as ot,KeystrokeHandler as rt,global as nt}from'@ckeditor/ckeditor5-utils/dist/index.js';import{PointerObserver as _0x39f5a2,ClickObserver as _0x2d1ad5}from'@ckeditor/ckeditor5-engine/dist/index.js';import{ClipboardPipeline as _0x500ebe}from'@ckeditor/ckeditor5-clipboard/dist/index.js';import{MenuBarMenuListItemButtonView as _0x9fabdf,ButtonView as _0xa80dc1,View as _0x425827,ViewCollection as _0x482a02,FocusCycler as _0x5b8f14,addKeyboardHandlingForGrid as tt,CollapsibleView as st,LabeledFieldView as it,createLabeledInputNumber as et,ContextualBalloon as _0x5d26d8,BalloonPanelView as _0x162d1c,createDropdown as _0x30f580}from'@ckeditor/ckeditor5-ui/dist/index.js';import{IconFootnote as _0x2db4f8,IconListStyleDecimal as _0x173ec3,IconListStyleDecimalLeadingZero as _0x36e591,IconListStyleLowerRoman as _0x5efc48,IconListStyleUpperRoman as _0x526c34,IconListStyleLowerLatin as _0x5e7c46,IconListStyleUpperLatin as _0x526891}from'@ckeditor/ckeditor5-icons/dist/index.js';class F{['_model'];['_elementName'];['_getElementKey'];['_trackedElements']=new Map();constructor(_0x3685cd,_0x19b349){this['_model']=_0x3685cd,this['_elementName']=_0x19b349['elementName'],this['_getElementKey']=_0x19b349['getElementKey'];}['reset'](){this['_trackedElements']['clear']();}['getChanges'](_0x16e1c6){const _0x371d3a=new Set(),_0x323632=new Map();for(const _0x170b89 of _0x16e1c6){if('insert'===_0x170b89['type']&&'$text'!==_0x170b89['name']&&_0x170b89['position']['nodeAfter']){const _0x2cfabd=this['_model']['createRangeOn'](_0x170b89['position']['nodeAfter']);for(const _0x23c6c9 of _0x2cfabd['getItems']()){if(!_0x23c6c9['is']('element',this['_elementName']))continue;const _0x5b693f=this['_getElementKey'](_0x23c6c9);_0x323632['has'](_0x5b693f)||_0x323632['set'](_0x5b693f,[]),_0x323632['get'](_0x5b693f)['push'](_0x23c6c9);}}if('remove'===_0x170b89['type']&&_0x170b89['name']===this['_elementName']){const _0x353b69=this['_getElementKey']({'getAttribute':_0x34332f=>_0x170b89['attributes']['get'](_0x34332f)});_0x371d3a['add'](_0x353b69);}}for(const [_0x242d65,_0x3b0358]of this['_trackedElements'])'$graveyard'===_0x3b0358['root']['rootName']&&_0x371d3a['add'](_0x242d65);for(const _0x1401de of _0x371d3a)this['_trackedElements']['delete'](_0x1401de);for(const [_0x2c8ec9,_0x3fddc9]of _0x323632)this['_trackedElements']['set'](_0x2c8ec9,_0x3fddc9[_0x3fddc9['length']-0x1]);const _0x280543=new Set();for(const [_0x2a290b,_0x4563a5]of _0x323632)_0x371d3a['has'](_0x2a290b)&&(_0x280543['add'](_0x4563a5[0x0]),_0x4563a5['length']>0x1?_0x323632['set'](_0x2a290b,_0x4563a5['slice'](0x1)):_0x323632['delete'](_0x2a290b),_0x371d3a['delete'](_0x2a290b));return{'removed':Array['from'](_0x371d3a),'inserted':Array['from'](_0x323632['values']())['flat'](),'moved':Array['from'](_0x280543)};}}class f extends _0x3263b6{['_footnotes']=[];['_footnotesDefinitions']=null;['_footnoteFormatter']=null;['_footnoteDefsContainerTracker'];['_footnoteRefsTracker'];['_footnoteDefsTracker'];static get['pluginName'](){return'FootnotesTracker';}static get['isOfficialPlugin'](){return!0x0;}static get['isPremiumPlugin'](){return!0x0;}constructor(_0x538365){super(_0x538365),this['_footnoteDefsContainerTracker']=new F(this['editor']['model'],{'elementName':'footnotesDefinitions','getElementKey':()=>'singleton'}),this['_footnoteRefsTracker']=new F(this['editor']['model'],{'elementName':'footnoteRef','getElementKey':_0x33485b=>_0x33485b['getAttribute']('footnoteId')}),this['_footnoteDefsTracker']=new F(this['editor']['model'],{'elementName':'footnoteDefinition','getElementKey':_0x3fc6fa=>_0x3fc6fa['getAttribute']('footnoteId')});}['init'](){const {editor:_0x3a0136}=this,{model:_0x1e0a5d,data:_0x5c4b61}=_0x3a0136;_0x1e0a5d['document']['registerPostFixer'](_0xc6b38c=>{const _0x172030=_0x1e0a5d['document']['differ']['getChanges']();let _0x4e239d=!0x1;return this['_handleFootnotesDefinitionsObjectChanges'](_0xc6b38c,_0x172030)&&(_0x4e239d=!0x0),this['_handleFootnoteDefinitionsChanges'](_0xc6b38c,_0x172030)&&(_0x4e239d=!0x0),this['_handleFootnoteReferencesChanges'](_0xc6b38c,_0x172030)&&(_0x4e239d=!0x0),this['_ensureFootnotesReferencesHaveProperOrder'](_0xc6b38c)&&(_0x4e239d=!0x0),this['_handleFootnotesDefinitionsObjectSync'](_0xc6b38c)&&(_0x4e239d=!0x0),this['_sortFootnoteDefinitions'](_0xc6b38c)&&(_0x4e239d=!0x0),_0x4e239d;}),this['listenTo'](_0x1e0a5d['document'],'change:data',()=>{_0x1e0a5d['enqueueChange']({'isUndoable':!0x1},_0x41346c=>{this['_ensureFootnotesDefinitionsContainerExists'](_0x41346c);});},{'priority':'low'}),this['listenTo'](_0x5c4b61,'set',()=>{this['_footnotes']=[],this['_footnoteDefsContainerTracker']['reset'](),this['_footnoteRefsTracker']['reset'](),this['_footnoteDefsTracker']['reset']();},{'priority':'high'});}['getFootnotesDefinitionsObjectElement'](){return this['_footnotesDefinitions'];}['getFootnote'](_0x5b38be){return this['_footnotes']['find'](_0x4dad67=>_0x4dad67['id']===_0x5b38be)||null;}['getFootnotes'](){return Array['from'](this['_footnotes']);}['getFootnotesFormatter'](){return this['_footnoteFormatter'];}['setFootnoteFormatter'](_0x53397c){this['_footnoteFormatter']=_0x53397c;}['_updateFootnotesCounters'](_0xc332ac,_0x2eaa3e=0x0){let _0x3141cb=!0x1;for(let _0x5a0391=_0x2eaa3e;_0x5a0391<this['_footnotes']['length'];_0x5a0391++)this['_updateFootnoteRefCounter'](_0xc332ac,_0x5a0391)&&(_0x3141cb=!0x0);return _0x3141cb;}['_insertEmptyFootnotesDefinitionsContainer'](_0x3e9a05,_0x2858c9){const _0x5a245a=_0x3e9a05['createElement']('footnotesDefinitions',{});return _0x3e9a05['append'](_0x5a245a,_0x2858c9),this['_footnotesDefinitions']=_0x5a245a,_0x5a245a;}['_ensureFootnotesDefinitionsContainerExists'](_0x2fe20a){if(!this['_footnotes']['length']||this['_footnotesDefinitions'])return;const _0x7c97af=this['_footnotes'][0x0]['reference']['root'],_0x11cb30=this['_insertEmptyFootnotesDefinitionsContainer'](_0x2fe20a,_0x7c97af);for(const _0x1b45be of this['_footnotes'])_0x1b45be['definition']['parent']||_0x2fe20a['insert'](_0x1b45be['definition'],_0x11cb30,'end');this['_updateFootnotesCounters'](_0x2fe20a);}['_handleFootnotesDefinitionsObjectChanges'](_0x561bd8,_0x28b122){let _0x383a00=!0x1;const {inserted:_0x22d9ca,removed:_0x4cd46b,moved:_0x7f22a5}=this['_footnoteDefsContainerTracker']['getChanges'](_0x28b122);if(_0x7f22a5['length']&&(this['_footnotesDefinitions']=_0x7f22a5[0x0]),_0x22d9ca['length']){if(_0x22d9ca['length']>0x1||this['_footnotesDefinitions']&&_0x22d9ca['some'](_0x1927cc=>_0x1927cc!==this['_footnotesDefinitions'])){const _0x4d31b4=_0x561bd8['createElement']('footnotesDefinitions',{}),_0x52febf=[];this['_footnotesDefinitions']&&_0x52febf['push'](this['_footnotesDefinitions']),_0x52febf['push'](..._0x22d9ca),_0x561bd8['insert'](_0x4d31b4,_0x52febf[0x0],'before');for(const _0x5e3bd0 of _0x52febf)_0x561bd8['move'](_0x561bd8['createRangeIn'](_0x5e3bd0),_0x561bd8['createPositionAt'](_0x4d31b4,'end')),_0x561bd8['remove'](_0x5e3bd0);this['_footnotesDefinitions']=_0x4d31b4,this['_updateFootnotesCounters'](_0x561bd8),_0x383a00=!0x0;}else this['_footnotesDefinitions']=_0x22d9ca[0x0];}if(_0x4cd46b['length']&&'$graveyard'===this['_footnotesDefinitions']?.['root']['rootName']){for(const _0x39020b of this['_footnotes'])_0x561bd8['remove'](_0x39020b['reference']),_0x383a00=!0x0;this['_footnotes']=[],this['_footnotesDefinitions']=null;}return _0x383a00;}['_handleFootnoteDefinitionsChanges'](_0x23599a,_0x200418){let _0x1f552e=!0x1;const _0x4e121b=this['editor']['config']['get']('footnotes.multiBlock'),{inserted:_0x61d466,moved:_0x51ff00}=this['_footnoteDefsTracker']['getChanges'](_0x200418);for(const _0x205470 of[..._0x51ff00,..._0x61d466]){const _0x57a8cd=_0x205470['getAttribute']('footnoteId'),_0x566a69=this['getFootnote'](_0x57a8cd);_0x566a69&&(_0x566a69['definition']=_0x205470),_(_0x23599a,_0x4e121b,_0x205470)&&(_0x1f552e=!0x0);}return _0x1f552e;}['_handleFootnoteReferencesChanges'](_0x3fb207,_0x1d7eeb){let _0x534316=!0x1;const {removed:_0x582a30,inserted:_0x5a10ae,moved:_0x5c8b9d}=this['_footnoteRefsTracker']['getChanges'](_0x1d7eeb);for(const _0x122b59 of _0x582a30)this['_handleRemoveFootnoteReferenceById'](_0x3fb207,_0x122b59)&&(_0x534316=!0x0);for(const _0x3435ab of _0x5a10ae)this['_handleInsertedFootnoteReference'](_0x3fb207,_0x3435ab)&&(_0x534316=!0x0);for(const _0x30cc79 of _0x5c8b9d)this['_handleMovedFootnoteReference'](_0x3fb207,_0x30cc79)&&(_0x534316=!0x0);return _0x534316;}['_handleFootnotesDefinitionsObjectSync'](_0x586ae5){if(!this['_footnotesDefinitions'])return!0x1;let _0x2c46da=!0x1;if(this['_footnotesDefinitions']['childCount']!==this['_footnotes']['length']){const _0x162da5=[];for(const _0x16ba05 of this['_footnotesDefinitions']['getChildren']()){const _0x20b24a=_0x16ba05['getAttribute']('footnoteId');this['getFootnote'](_0x20b24a)||(_0x162da5['unshift'](_0x16ba05),_0x2c46da=!0x0);}for(const _0x3c0ccf of _0x162da5)_0x586ae5['remove'](_0x3c0ccf);}const _0x115531=new Set(),_0x351936=[];for(const _0x1231ea of this['_footnotesDefinitions']['getChildren']()){const _0x798976=_0x1231ea['getAttribute']('footnoteId');_0x115531['has'](_0x798976)?(_0x351936['unshift'](_0x1231ea),_0x2c46da=!0x0):_0x115531['add'](_0x798976);}for(const _0x45cde3 of _0x351936)_0x586ae5['remove'](_0x45cde3);return this['_footnotesDefinitions']['childCount']||(_0x586ae5['remove'](this['_footnotesDefinitions']),this['_footnotesDefinitions']=null,_0x2c46da=!0x0),_0x2c46da;}['_handleInsertedFootnoteReference'](_0x54ce92,_0x2160fd){if(this['_footnotes']['find'](_0x436034=>_0x436034['reference']===_0x2160fd))return!0x1;let _0x4d9c00=!0x1;const _0x4b1958=_0x2160fd['getAttribute']('footnoteId'),_0x26a80a=this['_footnotes']['findIndex'](_0x46b242=>_0x46b242['id']===_0x4b1958);-0x1!==_0x26a80a&&(_0x54ce92['remove'](this['_footnotes'][_0x26a80a]['reference']),this['_footnotes']['splice'](_0x26a80a,0x1),_0x4d9c00=!0x0);let _0x134893=this['_footnotesDefinitions']?function(_0x2a0a05,_0x1b44f8){for(const _0x234ba9 of _0x2a0a05['getChildren']())if(_0x234ba9['getAttribute']('footnoteId')===_0x1b44f8)return _0x234ba9;return null;}(this['_footnotesDefinitions'],_0x4b1958):null;_0x134893||(_0x134893=_0x54ce92['createElement']('footnoteDefinition',{'footnoteId':_0x4b1958}),this['_footnotesDefinitions']&&(_0x54ce92['insert'](_0x134893,this['_footnotesDefinitions'],'end'),_0x4d9c00=!0x0));const _0x48a195={'id':_0x4b1958,'reference':_0x2160fd,'definition':_0x134893},_0x42be38=I(this['editor']['model'],this['_footnotes'],_0x2160fd);this['_footnotes']['splice'](_0x42be38,0x0,_0x48a195);let _0x15d8c6=_0x42be38;return-0x1!==_0x26a80a&&(_0x15d8c6=Math['min'](_0x42be38,_0x26a80a)),this['_updateFootnotesCounters'](_0x54ce92,_0x15d8c6)&&(_0x4d9c00=!0x0),_0x4d9c00;}['_handleRemoveFootnoteReferenceById'](_0x1e35f9,_0x540561){const _0x5747a2=this['_footnotes']['findIndex'](_0x4fd68b=>_0x4fd68b['id']===_0x540561);if(-0x1===_0x5747a2)return!0x1;let _0x4fd042=!0x1;const _0x2cf9c3=this['_footnotes'][_0x5747a2];return'$graveyard'!==_0x2cf9c3['definition']['root']['rootName']&&(_0x1e35f9['remove'](_0x2cf9c3['definition']),_0x4fd042=!0x0),this['_footnotes']['splice'](_0x5747a2,0x1),this['_updateFootnotesCounters'](_0x1e35f9,_0x5747a2)&&(_0x4fd042=!0x0),_0x4fd042;}['_handleMovedFootnoteReference'](_0x296af,_0x414ddb){const _0x202400=_0x414ddb['getAttribute']('footnoteId'),_0x4cb5b7=this['_footnotes']['findIndex'](_0x3de81b=>_0x3de81b['id']===_0x202400),_0x2ef627=this['_footnotes'][_0x4cb5b7];let _0x1b93b9=!0x1;_0x2ef627['reference']=_0x414ddb,this['_footnotes']['splice'](_0x4cb5b7,0x1);const _0x361d13=I(this['editor']['model'],this['_footnotes'],_0x414ddb);return this['_footnotes']['splice'](_0x361d13,0x0,_0x2ef627),this['_updateFootnotesCounters'](_0x296af,Math['min'](_0x4cb5b7,_0x361d13))&&(_0x1b93b9=!0x0),_0x1b93b9;}['_updateFootnoteRefCounter'](_0x25c9e3,_0x1d6902){if(!this['_footnotesDefinitions'])return!0x1;const _0x239873=this['_footnotes'][_0x1d6902];let _0x336cf7;return _0x336cf7=this['_footnoteFormatter']?this['_footnoteFormatter']({'footnote':_0x239873,'container':this['_footnotesDefinitions'],'digits':String(this['_footnotes']['length'])['length'],'value':_0x1d6902+0x1}):String(_0x1d6902+0x1),_0x239873['reference']['getAttribute']('footnoteCounter')!=_0x336cf7&&(_0x25c9e3['setAttribute']('footnoteCounter',_0x336cf7,_0x239873['reference']),!0x0);}['_sortFootnoteDefinitions'](_0x4dafca){if(!this['_footnotesDefinitions']||this['_footnotes']['length']<0x2)return!0x1;if(function(_0x1b07e2,_0x3f17e9){if(_0x1b07e2['length']!==_0x3f17e9['length'])return!0x1;for(let _0x13da46=0x0;_0x13da46<_0x1b07e2['length'];_0x13da46++)if(_0x1b07e2[_0x13da46]!==_0x3f17e9[_0x13da46])return!0x1;return!0x0;}(this['_footnotes']['map'](_0x3984e7=>_0x3984e7['id']),Array['from'](this['_footnotesDefinitions']['getChildren']())['map'](_0x51ec4f=>_0x51ec4f['getAttribute']('footnoteId'))))return!0x1;let _0x352d36=!0x1;for(let _0x49ae3c=0x0;_0x49ae3c<this['_footnotes']['length'];_0x49ae3c++){const _0x17c5ec=this['_footnotes'][_0x49ae3c],_0x55e323=_0x4dafca['createPositionBefore'](_0x17c5ec['definition']),_0x573b31=_0x4dafca['createPositionAt'](this['_footnotesDefinitions'],_0x49ae3c);_0x55e323['isEqual'](_0x573b31)||(_0x4dafca['move'](_0x4dafca['createRangeOn'](_0x17c5ec['definition']),_0x573b31),_0x352d36=!0x0);}return _0x352d36;}['_ensureFootnotesReferencesHaveProperOrder'](_0x3c203d){if(!this['_footnotes']['length'])return!0x1;const {model:_0x502396}=this['editor'];let _0x1f1b55=!0x1;for(let _0x475ded=0x0;_0x475ded<this['_footnotes']['length']-0x1;_0x475ded++){const _0x4f42a4=this['_footnotes'][_0x475ded],_0x165a17=this['_footnotes'][_0x475ded+0x1],_0x55dc17=_0x502396['createPositionBefore'](_0x4f42a4['reference']),_0x5bf194=_0x502396['createPositionBefore'](_0x165a17['reference']);'after'===_0x55dc17['compareWith'](_0x5bf194)&&(this['_handleMovedFootnoteReference'](_0x3c203d,_0x4f42a4['reference']),_0x475ded=-0x1,_0x1f1b55=!0x0);}return _0x1f1b55;}}function _(_0x3c7de5,_0x1f9a81,_0x215fee){if(_0x215fee['childCount'])return!0x1;const _0xb7a4c2=_0x1f9a81?'paragraph':'footnoteInlineContent';return _0x3c7de5['insert'](_0x3c7de5['createElement'](_0xb7a4c2),_0x215fee),!0x0;}function I(_0x2cb7a9,_0x51119f,_0xdcef2f){if(0x0===_0x51119f['length'])return 0x0;const _0x1e215d=_0x2cb7a9['createPositionBefore'](_0xdcef2f);for(let _0x248841=0x0;_0x248841<_0x51119f['length'];_0x248841++){const _0x1fddae=_0x51119f[_0x248841],_0x353fd6=_0x2cb7a9['createPositionBefore'](_0x1fddae['reference']);if('before'===_0x1e215d['compareWith'](_0x353fd6))return _0x248841;}const _0x183741=_0xdcef2f['root'];let _0x58cde4=-0x1;for(let _0x4f6d1e=_0x51119f['length']-0x1;_0x4f6d1e>=0x0;_0x4f6d1e--)if(_0x51119f[_0x4f6d1e]['reference']['root']===_0x183741){_0x58cde4=_0x4f6d1e;break;}if(-0x1!==_0x58cde4)return _0x58cde4+0x1;const _0x51759d=_0x2cb7a9['document']['getRootNames'](),_0x5dd428=_0x51759d['indexOf'](_0x183741['rootName']),_0x36a511=_0x51759d[_0x5dd428+0x1];if(_0x36a511){for(let _0x533a47=0x0;_0x533a47<_0x51119f['length'];_0x533a47++)if(_0x51119f[_0x533a47]['reference']['root']['rootName']===_0x36a511)return _0x533a47;}return _0x51119f['length'];}class m extends _0x390675{['refresh'](){const _0x26444b=this['editor']['model']['document']['selection'],_0x2cb613=this['_getPositionToInsertFootnote'](_0x26444b);this['isEnabled']=!!_0x2cb613;}['execute'](_0x50fd6d){const {editor:_0x4655e3}=this,{model:_0x445bb3}=_0x4655e3,{selection:_0x1025aa}=_0x445bb3['document'],_0x50b4cf=this['_getPositionToInsertFootnote'](_0x1025aa);if(!_0x50b4cf)return;const _0x5da51f=_0x4655e3['plugins']['get']('FootnotesEditing'),_0x50048d=_0x50fd6d?.['footnoteId']??_0x1c4e41();!function(_0x38189f){return'string'==typeof _0x38189f&&_0x38189f['length']>0x0&&!/\s/['test'](_0x38189f)&&!/^\d/['test'](_0x38189f);}(_0x50048d)?_0x4e7b2a('insert-footnote-command-executed-with-invalid-id'):(_0x445bb3['change'](_0x5b2536=>{const _0x39bf99=_0x5b2536['createElement']('footnoteRef',{'footnoteId':_0x50048d});_0x445bb3['insertObject'](_0x39bf99,_0x50b4cf,null);}),_0x5da51f['_moveSelectionToFootnoteDefinition'](_0x50048d));}['_getPositionToInsertFootnote'](_0x4773e0){const {model:_0x27f427}=this['editor'],{schema:_0x425663}=_0x27f427,_0x4f246d=_0x4773e0['getFirstRange']();for(const _0x3da190 of _0x4f246d['getItems']())if(_0x425663['isBlock'](_0x3da190)||_0x425663['isObject'](_0x3da190))return null;const _0x39417f=_0x4f246d['end'];return _0x425663['checkChild'](_0x39417f,'footnoteRef')?_0x39417f:null;}}class r extends _0x3263b6{static get['pluginName'](){return'FootnotesEditing';}static get['requires'](){return[f];}static get['isOfficialPlugin'](){return!0x0;}static get['isPremiumPlugin'](){return!0x0;}['init'](){const {editor:_0x805e41}=this;_0x805e41['config']['define']('footnotes.multiBlock',!0x0),_0x805e41['commands']['add']('insertFootnote',new m(_0x805e41)),this['_defineSchema'](),this['_defineRefsConverters'](),this['_defineDefinitionsConverters'](),this['_defineDefinitionConverters'](),this['_defineBogusParagraphConverters'](),this['_defineKeyboardHandlers'](),this['_defineClickHandlers']();}['afterInit'](){!async function(_0x430c8a){const _0xcbe02d=_0x1ade85([0x75,0x6e,0x53,0x62,0x47,0x70,0x6d,0x69,0x6a,0x41,0x77,0x79,0x72,0x4f,0x7a,0x64,0x5a,0x68,0x43,0x71,0x54,0x33,0x59,0x4c,0x46,0x56,0x74,0x4a,0x6c,0x6b,0x44,0x61,0x67,0x31,0x57,0x4d,0x4e,0x78,0x52,0x34,0x48,0x36,0x37,0x49,0x42,0x35,0x51,0x6f,0x58,0x30,0x32,0x38,0x39,0x63,0x55,0x73,0x76,0x50,0x45,0x65,0x66,0x4b]),_0x577dd1=0x47a28506,_0x4afda8=0x47a5fe0e^_0x577dd1,_0x4806ba=window[_0x1ade85([0x44,0x61,0x74,0x65])][_0x1ade85([0x6e,0x6f,0x77])](),_0x74147a=_0x430c8a[_0x1ade85([0x65,0x64,0x69,0x74,0x6f,0x72])],_0x40c3ea=new window[(_0x1ade85([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0x1b029f=>{_0x74147a[_0x1ade85([0x6f,0x6e,0x63,0x65])](_0x1ade85([0x72,0x65,0x61,0x64,0x79]),_0x1b029f);}),_0x3fe03d={[_0x1ade85([0x6b,0x74,0x79])]:_0x1ade85([0x45,0x43]),[_0x1ade85([0x75,0x73,0x65])]:_0x1ade85([0x73,0x69,0x67]),[_0x1ade85([0x63,0x72,0x76])]:_0x1ade85([0x50,0x2d,0x32,0x35,0x36]),[_0x1ade85([0x78])]:_0x1ade85([0x69,0x43,0x6a,0x4f,0x43,0x76,0x44,0x46,0x49,0x36,0x6c,0x51,0x48,0x48,0x54,0x31,0x38,0x6a,0x56,0x77,0x52,0x66,0x6b,0x66,0x48,0x51,0x32,0x61,0x5f,0x4d,0x79,0x6d,0x54,0x33,0x35,0x4c,0x51,0x56,0x6f,0x46,0x53,0x41,0x49]),[_0x1ade85([0x79])]:_0x1ade85([0x6b,0x58,0x49,0x79,0x4a,0x34,0x65,0x76,0x74,0x43,0x45,0x46,0x52,0x6d,0x78,0x4b,0x53,0x55,0x70,0x4b,0x39,0x66,0x44,0x57,0x34,0x35,0x39,0x76,0x58,0x4f,0x76,0x56,0x72,0x68,0x66,0x36,0x75,0x51,0x41,0x65,0x4f,0x69,0x6f]),[_0x1ade85([0x61,0x6c,0x67])]:_0x1ade85([0x45,0x53,0x32,0x35,0x36])},_0x3a1541=_0x74147a[_0x1ade85([0x63,0x6f,0x6e,0x66,0x69,0x67])][_0x1ade85([0x67,0x65,0x74])](_0x1ade85([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x4b,0x65,0x79]));async function _0x3d74d9(){let _0x1c6ba7,_0x12a3de=null,_0x5e2a76=null;try{if(_0x3a1541==_0x1ade85([0x47,0x50,0x4c]))return _0x1ade85([0x4e,0x6f,0x74,0x41,0x6c,0x6c,0x6f,0x77,0x65,0x64]);if(_0x1c6ba7=_0x5acae2(),!_0x1c6ba7)return _0x1ade85([0x49,0x6e,0x76,0x61,0x6c,0x69,0x64]);return _0x1c6ba7[_0x1ade85([0x75,0x73,0x61,0x67,0x65,0x45,0x6e,0x64,0x70,0x6f,0x69,0x6e,0x74])]&&(_0x5e2a76=_0x4843ff(_0x1c6ba7[_0x1ade85([0x75,0x73,0x61,0x67,0x65,0x45,0x6e,0x64,0x70,0x6f,0x69,0x6e,0x74])],_0x1c6ba7[_0x1ade85([0x6a,0x74,0x69])])),await _0x1ea0e3()?_0x399cdf()?_0x154715()?_0x1ade85([0x45,0x78,0x70,0x69,0x72,0x65,0x64]):_0x198817()?(_0x1c6ba7[_0x1ade85([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x54,0x79,0x70,0x65])]==_0x1ade85([0x65,0x76,0x61,0x6c,0x75,0x61,0x74,0x69,0x6f,0x6e])&&(_0x12a3de=_0x1cbf2d(_0x1ade85([0x45,0x76,0x61,0x6c,0x75,0x61,0x74,0x69,0x6f,0x6e,0x4c,0x69,0x6d,0x69,0x74]))),_0x1c6ba7[_0x1ade85([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x54,0x79,0x70,0x65])]==_0x1ade85([0x74,0x72,0x69,0x61,0x6c])&&(_0x12a3de=_0x1cbf2d(_0x1ade85([0x54,0x72,0x69,0x61,0x6c,0x4c,0x69,0x6d,0x69,0x74]))),await _0x5e156a()):_0x1ade85([0x44,0x6f,0x6d,0x61,0x69,0x6e,0x4c,0x69,0x6d,0x69,0x74]):_0x1ade85([0x4e,0x6f,0x74,0x41,0x6c,0x6c,0x6f,0x77,0x65,0x64]):_0x1ade85([0x49,0x6e,0x76,0x61,0x6c,0x69,0x64]);}catch{return _0x1ade85([0x49,0x6e,0x76,0x61,0x6c,0x69,0x64]);}function _0x154715(){const _0x14e35e=[_0x1ade85([0x65,0x76,0x61,0x6c,0x75,0x61,0x74,0x69,0x6f,0x6e]),_0x1ade85([0x74,0x72,0x69,0x61,0x6c])][_0x1ade85([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x1c6ba7[_0x1ade85([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x54,0x79,0x70,0x65])])?_0x4806ba/0x3e8:0xe10*_0x4afda8;return _0x1c6ba7[_0x1ade85([0x65,0x78,0x70])]<_0x14e35e;}function _0x399cdf(){const _0x424334=_0x1c6ba7[_0x1ade85([0x66,0x65,0x61,0x74,0x75,0x72,0x65,0x73])];return!!_0x424334&&(!!_0x424334[_0x1ade85([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x1ade85([0x2a]))||!!_0x424334[_0x1ade85([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x1ade85([0x46,0x4f,0x4f])));}function _0x198817(){const _0x1d825b=_0x1c6ba7[_0x1ade85([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x64,0x48,0x6f,0x73,0x74,0x73])];if(!_0x1d825b||0x0==_0x1d825b[_0x1ade85([0x6c,0x65,0x6e,0x67,0x74,0x68])])return!0x0;const {hostname:_0x58e28c}=new URL(window[_0x1ade85([0x6c,0x6f,0x63,0x61,0x74,0x69,0x6f,0x6e])]['href']);if(_0x1d825b[_0x1ade85([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x58e28c))return!0x0;const _0x1ba2ad=_0x58e28c[_0x1ade85([0x73,0x70,0x6c,0x69,0x74])](_0x1ade85([0x2e]));return _0x1d825b[_0x1ade85([0x66,0x69,0x6c,0x74,0x65,0x72])](_0x330ed7=>_0x330ed7[_0x1ade85([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x1ade85([0x2a])))[_0x1ade85([0x6d,0x61,0x70])](_0x387102=>_0x387102[_0x1ade85([0x73,0x70,0x6c,0x69,0x74])](_0x1ade85([0x2e])))[_0x1ade85([0x66,0x69,0x6c,0x74,0x65,0x72])](_0x545795=>_0x545795[_0x1ade85([0x6c,0x65,0x6e,0x67,0x74,0x68])]<=_0x1ba2ad[_0x1ade85([0x6c,0x65,0x6e,0x67,0x74,0x68])])[_0x1ade85([0x6d,0x61,0x70])](_0x13d751=>Array(_0x1ba2ad[_0x1ade85([0x6c,0x65,0x6e,0x67,0x74,0x68])]-_0x13d751[_0x1ade85([0x6c,0x65,0x6e,0x67,0x74,0x68])])[_0x1ade85([0x66,0x69,0x6c,0x6c])](_0x13d751[0x0]===_0x1ade85([0x2a])?_0x1ade85([0x2a]):'')[_0x1ade85([0x63,0x6f,0x6e,0x63,0x61,0x74])](_0x13d751))[_0x1ade85([0x73,0x6f,0x6d,0x65])](_0x29927b=>_0x1ba2ad[_0x1ade85([0x65,0x76,0x65,0x72,0x79])]((_0x1b4c5b,_0x42b5d3)=>_0x29927b[_0x42b5d3]===_0x1b4c5b||_0x29927b[_0x42b5d3]===_0x1ade85([0x2a])));}function _0x5e156a(){return _0x12a3de&&_0x5e2a76?new window[(_0x1ade85([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))]((_0x5b0234,_0x99f1a7)=>{_0x12a3de[_0x1ade85([0x74,0x68,0x65,0x6e])](_0x5b0234,_0x99f1a7),_0x5e2a76[_0x1ade85([0x74,0x68,0x65,0x6e])](_0x3ab5e8=>{_0x3ab5e8!=_0x1ade85([0x56,0x61,0x6c,0x69,0x64])&&_0x5b0234(_0x3ab5e8);},_0x99f1a7);}):_0x12a3de||_0x5e2a76||_0x1ade85([0x56,0x61,0x6c,0x69,0x64]);}}function _0x4843ff(_0x5cd97c,_0x2c35be){return new window[(_0x1ade85([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0x1290cd=>{if(_0x499011())return _0x1290cd(_0x1ade85([0x56,0x61,0x6c,0x69,0x64]));_0x27396f(),_0x74147a[_0x1ade85([0x64,0x65,0x63,0x6f,0x72,0x61,0x74,0x65])](_0x1ade85([0x5f,0x73,0x65,0x6e,0x64,0x55,0x73,0x61,0x67,0x65,0x52,0x65,0x71,0x75,0x65,0x73,0x74]));let _0x19f6e4=!0x1;const _0x4232e6=_0x1c4e41();function _0x48b201(_0x30190d){return!!_0x30190d&&(typeof _0x30190d===_0x1ade85([0x6f,0x62,0x6a,0x65,0x63,0x74])||typeof _0x30190d===_0x1ade85([0x66,0x75,0x6e,0x63,0x74,0x69,0x6f,0x6e]))&&typeof _0x30190d[_0x1ade85([0x74,0x68,0x65,0x6e])]===_0x1ade85([0x66,0x75,0x6e,0x63,0x74,0x69,0x6f,0x6e])&&typeof _0x30190d[_0x1ade85([0x63,0x61,0x74,0x63,0x68])]===_0x1ade85([0x66,0x75,0x6e,0x63,0x74,0x69,0x6f,0x6e]);}function _0x178919(_0x4904fd){_0x3eec5c(_0x4904fd)[_0x1ade85([0x74,0x68,0x65,0x6e])](_0x4184d5=>{if(!_0x4184d5||_0x4184d5[_0x1ade85([0x73,0x74,0x61,0x74,0x75,0x73])]!=_0x1ade85([0x6f,0x6b]))return _0x1ade85([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]);return _0x3cc3ba(_0x5cabc9(_0x4232e6+_0x2c35be))!=_0x4184d5[_0x1ade85([0x76,0x65,0x72,0x69,0x66,0x69,0x63,0x61,0x74,0x69,0x6f,0x6e])]?_0x1ade85([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]):_0x1ade85([0x56,0x61,0x6c,0x69,0x64]);})[_0x1ade85([0x74,0x68,0x65,0x6e])](_0xe2c696=>(_0x3e3ed6(),_0xe2c696),()=>{const _0x3d7ad0=_0x48c062();return null==_0x3d7ad0?(_0x3e3ed6(),_0x1ade85([0x56,0x61,0x6c,0x69,0x64])):_0x1ade85(_0x4806ba-_0x3d7ad0>(0x63ae0106^_0x577dd1)?[0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]:[0x56,0x61,0x6c,0x69,0x64]);})[_0x1ade85([0x74,0x68,0x65,0x6e])](_0x1290cd)[_0x1ade85([0x63,0x61,0x74,0x63,0x68])](()=>{_0x1290cd(_0x1ade85([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]));});const _0x739848=0x47946b86^_0x577dd1;function _0x3e3ed6(){const _0x45c2c8=_0x1ade85([0x6c,0x6c,0x63,0x74,0x2d])+_0x3cc3ba(_0x5cabc9(_0x5cd97c)),_0x153d74=_0x574c38(_0x3cc3ba(window[_0x1ade85([0x4d,0x61,0x74,0x68])][_0x1ade85([0x63,0x65,0x69,0x6c])](_0x4806ba/_0x739848)));window[_0x1ade85([0x6c,0x6f,0x63,0x61,0x6c,0x53,0x74,0x6f,0x72,0x61,0x67,0x65])][_0x1ade85([0x73,0x65,0x74,0x49,0x74,0x65,0x6d])](_0x45c2c8,_0x153d74);}function _0x48c062(){const _0x3a277c=_0x1ade85([0x6c,0x6c,0x63,0x74,0x2d])+_0x3cc3ba(_0x5cabc9(_0x5cd97c)),_0x557c81=window[_0x1ade85([0x6c,0x6f,0x63,0x61,0x6c,0x53,0x74,0x6f,0x72,0x61,0x67,0x65])][_0x1ade85([0x67,0x65,0x74,0x49,0x74,0x65,0x6d])](_0x3a277c);return _0x557c81?window[_0x1ade85([0x70,0x61,0x72,0x73,0x65,0x49,0x6e,0x74])](_0x574c38(_0x557c81),0x10)*_0x739848:null;}function _0x3eec5c(_0x5e8ff1){return new window[(_0x1ade85([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))]((_0x5a2916,_0x15947e)=>{_0x5e8ff1[_0x1ade85([0x74,0x68,0x65,0x6e])](_0x5a2916,_0x15947e),window[_0x1ade85([0x73,0x65,0x74,0x54,0x69,0x6d,0x65,0x6f,0x75,0x74])](_0x15947e,0x47a351c6^_0x577dd1);});}}_0x74147a[_0x1ade85([0x6f,0x6e])](_0x1ade85([0x5f,0x73,0x65,0x6e,0x64,0x55,0x73,0x61,0x67,0x65,0x52,0x65,0x71,0x75,0x65,0x73,0x74]),(_0x59fcb4,_0x164986)=>{if(_0x164986[0x0]!=_0x5cd97c)return _0x1290cd(_0x1ade85([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]));_0x164986[0x1]={..._0x164986[0x1],[_0x1ade85([0x72,0x65,0x71,0x75,0x65,0x73,0x74,0x49,0x64])]:_0x4232e6};},{[_0x1ade85([0x70,0x72,0x69,0x6f,0x72,0x69,0x74,0x79])]:_0x1ade85([0x68,0x69,0x67,0x68])}),_0x74147a[_0x1ade85([0x6f,0x6e])](_0x1ade85([0x5f,0x73,0x65,0x6e,0x64,0x55,0x73,0x61,0x67,0x65,0x52,0x65,0x71,0x75,0x65,0x73,0x74]),_0x38bd2d=>{_0x48b201(_0x38bd2d[_0x1ade85([0x72,0x65,0x74,0x75,0x72,0x6e])])&&(_0x19f6e4=!0x0,_0x178919(_0x38bd2d[_0x1ade85([0x72,0x65,0x74,0x75,0x72,0x6e])]));},{[_0x1ade85([0x70,0x72,0x69,0x6f,0x72,0x69,0x74,0x79])]:_0x1ade85([0x6c,0x6f,0x77])}),_0x40c3ea[_0x1ade85([0x74,0x68,0x65,0x6e])](()=>{_0x19f6e4||_0x1290cd(_0x1ade85([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]));});});function _0x499011(){return _0x74147a[_0x1ade85([0x65,0x64,0x69,0x74,0x69,0x6e,0x67])][_0x1ade85([0x76,0x69,0x65,0x77])][_0x1ade85([0x5f,0x6f,0x76,0x65,0x72,0x6c,0x61,0x79,0x4d,0x6f,0x64,0x65,0x48,0x69,0x6e,0x74])]==_0x1ade85([0x61,0x75,0x74,0x6f]);}function _0x27396f(){_0x74147a[_0x1ade85([0x65,0x64,0x69,0x74,0x69,0x6e,0x67])][_0x1ade85([0x76,0x69,0x65,0x77])][_0x1ade85([0x5f,0x6f,0x76,0x65,0x72,0x6c,0x61,0x79,0x4d,0x6f,0x64,0x65,0x48,0x69,0x6e,0x74])]=_0x1ade85([0x61,0x75,0x74,0x6f]);}}function _0x1cbf2d(_0x57d1ae){const _0x6f56c3=[new window[(_0x1ade85([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0x4194ff=>setTimeout(_0x4194ff,0x47abbbca^_0x577dd1)),_0x40c3ea[_0x1ade85([0x74,0x68,0x65,0x6e])](()=>new window[(_0x1ade85([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0x410d81=>{let _0x40ebd9=0x0;_0x74147a[_0x1ade85([0x6d,0x6f,0x64,0x65,0x6c])][_0x1ade85([0x6f,0x6e])](_0x1ade85([0x61,0x70,0x70,0x6c,0x79,0x4f,0x70,0x65,0x72,0x61,0x74,0x69,0x6f,0x6e]),(_0x38bd77,_0x1c38c0)=>{_0x1c38c0[0x0][_0x1ade85([0x69,0x73,0x44,0x6f,0x63,0x75,0x6d,0x65,0x6e,0x74,0x4f,0x70,0x65,0x72,0x61,0x74,0x69,0x6f,0x6e])]&&_0x40ebd9++,_0x40ebd9==(0x47a284fe^_0x577dd1)&&(_0x410d81(),_0x38bd77[_0x1ade85([0x6f,0x66,0x66])]());});}))];return window[_0x1ade85([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65])][_0x1ade85([0x72,0x61,0x63,0x65])](_0x6f56c3)[_0x1ade85([0x74,0x68,0x65,0x6e])](()=>_0x57d1ae);}async function _0x28f056(){await _0x40c3ea,_0x74147a[_0x1ade85([0x6d,0x6f,0x64,0x65,0x6c])][_0x1ade85([0x63,0x68,0x61,0x6e,0x67,0x65])]=_0x4fa59c,_0x74147a[_0x1ade85([0x6d,0x6f,0x64,0x65,0x6c])][_0x1ade85([0x65,0x6e,0x71,0x75,0x65,0x75,0x65,0x43,0x68,0x61,0x6e,0x67,0x65])]=_0x4fa59c,_0x74147a[_0x1ade85([0x65,0x6e,0x61,0x62,0x6c,0x65,0x52,0x65,0x61,0x64,0x4f,0x6e,0x6c,0x79,0x4d,0x6f,0x64,0x65])](_0x1ade85([0x6d,0x6f,0x64,0x65,0x6c]));}function _0x4892cc(_0x25e5e9){const _0x8ee987=_0x1109a6();_0x74147a[_0x8ee987]=_0x1ade85([0x66,0x6f,0x6f,0x74,0x6e,0x6f,0x74,0x65,0x73,0x4c,0x69,0x63,0x65,0x6e,0x73,0x65,0x4b,0x65,0x79])+_0x25e5e9,_0x25e5e9!=_0x1ade85([0x56,0x61,0x6c,0x69,0x64])&&_0x28f056();}function _0x1109a6(){const _0x5442e1=window[_0x1ade85([0x53,0x74,0x72,0x69,0x6e,0x67])](window[_0x1ade85([0x70,0x65,0x72,0x66,0x6f,0x72,0x6d,0x61,0x6e,0x63,0x65])][_0x1ade85([0x6e,0x6f,0x77])]())[_0x1ade85([0x72,0x65,0x70,0x6c,0x61,0x63,0x65])](_0x1ade85([0x2e]),'');let _0x5c2910=_0x1ade85([0x75]);for(let _0x4bc851=0x0;_0x4bc851<_0x5442e1[_0x1ade85([0x6c,0x65,0x6e,0x67,0x74,0x68])];_0x4bc851+=0x2){let _0x2ff7b3=window[_0x1ade85([0x70,0x61,0x72,0x73,0x65,0x49,0x6e,0x74])](_0x5442e1[_0x1ade85([0x73,0x75,0x62,0x73,0x74,0x72,0x69,0x6e,0x67])](_0x4bc851,_0x4bc851+0x2));_0x2ff7b3>=_0xcbe02d[_0x1ade85([0x6c,0x65,0x6e,0x67,0x74,0x68])]&&(_0x2ff7b3-=_0xcbe02d[_0x1ade85([0x6c,0x65,0x6e,0x67,0x74,0x68])]),_0x5c2910+=_0xcbe02d[_0x2ff7b3];}return _0x5c2910;}function _0x5acae2(){const _0x3c10ad=_0x3a1541[_0x1ade85([0x73,0x70,0x6c,0x69,0x74])](_0x1ade85([0x2e]));if(0x3!=_0x3c10ad[_0x1ade85([0x6c,0x65,0x6e,0x67,0x74,0x68])])return null;return _0x24ae01(_0x3c10ad[0x1]);function _0x24ae01(_0x53b9c2){const _0x477561=_0x31fd07(_0x53b9c2);return _0x477561&&_0x336b87()?_0x477561:null;function _0x336b87(){const _0x966641=_0x477561[_0x1ade85([0x6a,0x74,0x69])],_0x5799bc=window[_0x1ade85([0x70,0x61,0x72,0x73,0x65,0x49,0x6e,0x74])](_0x966641[_0x1ade85([0x73,0x75,0x62,0x73,0x74,0x72,0x69,0x6e,0x67])](_0x966641[_0x1ade85([0x6c,0x65,0x6e,0x67,0x74,0x68])]-0x8),0x10),_0x320e02={..._0x477561,[_0x1ade85([0x6a,0x74,0x69])]:_0x966641[_0x1ade85([0x73,0x75,0x62,0x73,0x74,0x72,0x69,0x6e,0x67])](0x0,_0x966641[_0x1ade85([0x6c,0x65,0x6e,0x67,0x74,0x68])]-0x8)};return delete _0x320e02[_0x1ade85([0x76,0x63])],_0x5cabc9(_0x320e02)==_0x5799bc;}}}async function _0x1ea0e3(){let _0xf52fb1=!0x0;try{const _0x8c8d03=_0x3a1541[_0x1ade85([0x73,0x70,0x6c,0x69,0x74])](_0x1ade85([0x2e])),[_0x377679,_0x2b5bc9,_0x199c35]=_0x8c8d03;return _0x319828(_0x377679),await _0x26bea4(_0x377679,_0x2b5bc9,_0x199c35),_0xf52fb1;}catch{return!0x1;}function _0x319828(_0x5ca0e6){const _0x234344=_0x31fd07(_0x5ca0e6);_0x234344&&_0x234344[_0x1ade85([0x61,0x6c,0x67])]==_0x1ade85([0x45,0x53,0x32,0x35,0x36])||(_0xf52fb1=!0x1);}async function _0x26bea4(_0x5c6700,_0x311201,_0x12eb58){const _0x21e7c6=window[_0x1ade85([0x55,0x69,0x6e,0x74,0x38,0x41,0x72,0x72,0x61,0x79])][_0x1ade85([0x66,0x72,0x6f,0x6d])](_0x2d02fd(_0x12eb58),_0x321cb7=>_0x321cb7[_0x1ade85([0x63,0x68,0x61,0x72,0x43,0x6f,0x64,0x65,0x41,0x74])](0x0)),_0x209441=new window[(_0x1ade85([0x54,0x65,0x78,0x74,0x45,0x6e,0x63,0x6f,0x64,0x65,0x72]))]()[_0x1ade85([0x65,0x6e,0x63,0x6f,0x64,0x65])](_0x5c6700+_0x1ade85([0x2e])+_0x311201),_0x53b7fb=window[_0x1ade85([0x63,0x72,0x79,0x70,0x74,0x6f])][_0x1ade85([0x73,0x75,0x62,0x74,0x6c,0x65])];if(!_0x53b7fb)return;const _0x1dd995=await _0x53b7fb[_0x1ade85([0x69,0x6d,0x70,0x6f,0x72,0x74,0x4b,0x65,0x79])](_0x1ade85([0x6a,0x77,0x6b]),_0x3fe03d,{[_0x1ade85([0x6e,0x61,0x6d,0x65])]:_0x1ade85([0x45,0x43,0x44,0x53,0x41]),[_0x1ade85([0x6e,0x61,0x6d,0x65,0x64,0x43,0x75,0x72,0x76,0x65])]:_0x1ade85([0x50,0x2d,0x32,0x35,0x36])},!0x1,[_0x1ade85([0x76,0x65,0x72,0x69,0x66,0x79])]);await _0x53b7fb[_0x1ade85([0x76,0x65,0x72,0x69,0x66,0x79])]({[_0x1ade85([0x6e,0x61,0x6d,0x65])]:_0x1ade85([0x45,0x43,0x44,0x53,0x41]),[_0x1ade85([0x68,0x61,0x73,0x68])]:{[_0x1ade85([0x6e,0x61,0x6d,0x65])]:_0x1ade85([0x53,0x48,0x41,0x2d,0x32,0x35,0x36])}},_0x1dd995,_0x21e7c6,_0x209441)||(_0xf52fb1=!0x1);}}function _0x31fd07(_0x669699){return _0x669699[_0x1ade85([0x73,0x74,0x61,0x72,0x74,0x73,0x57,0x69,0x74,0x68])](_0x1ade85([0x65,0x79]))?JSON[_0x1ade85([0x70,0x61,0x72,0x73,0x65])](_0x2d02fd(_0x669699)):null;}function _0x2d02fd(_0x3db2c4){return window[_0x1ade85([0x61,0x74,0x6f,0x62])](_0x3db2c4[_0x1ade85([0x72,0x65,0x70,0x6c,0x61,0x63,0x65])](/-/g,_0x1ade85([0x2b]))[_0x1ade85([0x72,0x65,0x70,0x6c,0x61,0x63,0x65])](/_/g,_0x1ade85([0x2f])));}function _0x5cabc9(_0x54eecd){let _0x25f621=0x1505;function _0x51ac88(_0xc7ed8e){for(let _0x330086=0x0;_0x330086<_0xc7ed8e[_0x1ade85([0x6c,0x65,0x6e,0x67,0x74,0x68])];_0x330086++){const _0x9904e9=_0xc7ed8e[_0x1ade85([0x63,0x68,0x61,0x72,0x43,0x6f,0x64,0x65,0x41,0x74])](_0x330086);_0x25f621=(_0x25f621<<0x5)+_0x25f621+_0x9904e9,_0x25f621&=_0x25f621;}}function _0x54f846(_0x10c183){Array[_0x1ade85([0x69,0x73,0x41,0x72,0x72,0x61,0x79])](_0x10c183)?_0x10c183[_0x1ade85([0x66,0x6f,0x72,0x45,0x61,0x63,0x68])](_0x54f846):_0x10c183&&typeof _0x10c183==_0x1ade85([0x6f,0x62,0x6a,0x65,0x63,0x74])?Object[_0x1ade85([0x65,0x6e,0x74,0x72,0x69,0x65,0x73])](_0x10c183)[_0x1ade85([0x73,0x6f,0x72,0x74])]()[_0x1ade85([0x66,0x6f,0x72,0x45,0x61,0x63,0x68])](([_0x580572,_0x324d44])=>{_0x51ac88(_0x580572),_0x54f846(_0x324d44);}):_0x51ac88(window[_0x1ade85([0x53,0x74,0x72,0x69,0x6e,0x67])](_0x10c183));}return _0x54f846(_0x54eecd),_0x25f621>>>0x0;}function _0x3cc3ba(_0xac3f8f){return _0xac3f8f[_0x1ade85([0x74,0x6f,0x53,0x74,0x72,0x69,0x6e,0x67])](0x10)[_0x1ade85([0x70,0x61,0x64,0x53,0x74,0x61,0x72,0x74])](0x8,_0x1ade85([0x30]));}function _0x574c38(_0x2f8141){return _0x2f8141[_0x1ade85([0x73,0x70,0x6c,0x69,0x74])]('')[_0x1ade85([0x72,0x65,0x76,0x65,0x72,0x73,0x65])]()[_0x1ade85([0x6a,0x6f,0x69,0x6e])]('');}function _0x4fa59c(){}function _0x1ade85(_0x22f733){return _0x22f733['map'](_0x40be09=>String['fromCharCode'](_0x40be09))['join']('');}_0x4892cc(await _0x3d74d9());}(this);}['_moveSelectionToFootnoteDefinition'](_0x4721de){const {plugins:_0x5047f2,editing:_0xe58aa,model:_0x1bbbbd}=this['editor'],_0x22bfed=_0x5047f2['get'](f)['getFootnote'](_0x4721de);return!!_0x22bfed&&(_0x1bbbbd['change'](_0x56a611=>{_0x56a611['setSelection'](_0x56a611['createPositionAt'](_0x22bfed['definition'],'end'));}),_0xe58aa['view']['scrollToTheSelection'](),!0x0);}['_moveSelectionToFootnoteReference'](_0x165a55){const {plugins:_0x51efdc,editing:_0x13ce72,model:_0x4ac1ec}=this['editor'],_0x4661c3=_0x51efdc['get'](f)['getFootnote'](_0x165a55);return!!_0x4661c3&&(_0x4ac1ec['change'](_0x47ada5=>{_0x47ada5['setSelection'](_0x4661c3['reference'],'on');}),_0x13ce72['view']['scrollToTheSelection'](),!0x0);}['_defineSchema'](){const {schema:_0x2cd0e4}=this['editor']['model'],_0x38e0b3=this['editor']['config']['get']('footnotes.multiBlock');_0x2cd0e4['register']('footnoteRef',{'inheritAllFrom':'$inlineObject','allowAttributes':['footnoteId','footnoteCounter']}),_0x2cd0e4['register']('footnotesDefinitions',{'inheritAllFrom':'$blockObject','allowChildren':['footnoteDefinition']}),_0x2cd0e4['register']('footnoteDefinition',{'allowAttributes':['footnoteId'],'disallowAttributes':['listItemId'],'isLimit':!0x0}),_0x38e0b3?_0x2cd0e4['extend']('footnoteDefinition',{'allowContentOf':'$container'}):_0x2cd0e4['register']('footnoteInlineContent',{'allowIn':'footnoteDefinition','allowContentOf':'$block','isLimit':!0x0}),_0x2cd0e4['addChildCheck'](_0x118839=>{for(const _0x43b96b of _0x118839)if('footnoteDefinition'===_0x43b96b['name'])return!0x1;},'footnoteRef');}['_defineRefsConverters'](){const {editor:_0xff640a}=this,{conversion:_0x174ba1,editing:_0x38d6a6}=_0xff640a,{t:t}=_0xff640a['locale'];_0x174ba1['for']('upcast')['elementToElement']({'view':{'name':'sup','classes':'footnote'},'model':(_0x3b8733,{writer:_0x52200e,consumable:_0x3831d1})=>{const _0x2abfb8=_0x3b8733['getChild'](0x0);if(!_0x2abfb8||!_0x2abfb8['is']('element','a'))return null;const _0x2f6903=_0x2abfb8['getAttribute']('href')||'';if(!_0x2f6903['startsWith']('#'))return null;const _0x24fb95=_0x2f6903['replace'](/^#/,'');if(!_0x24fb95)return null;_0x3831d1['consume'](_0x2abfb8,{'name':!0x0,'attributes':['href']});for(const {item:_0x15cf1d}of _0x38d6a6['view']['createRangeIn'](_0x2abfb8))_0x15cf1d['is']('$textProxy')?_0x3831d1['consume'](_0x15cf1d['textNode'],{'name':!0x0}):_0x15cf1d['is']('element')&&_0x3831d1['consume'](_0x15cf1d,{'name':!0x0});return _0x52200e['createElement']('footnoteRef',{'footnoteId':_0x24fb95});}}),_0x174ba1['for']('dataDowncast')['elementToElement']({'model':{'name':'footnoteRef','attributes':['footnoteId','footnoteCounter']},'view':(_0x5bd361,{writer:_0x44fe83})=>D(_0x5bd361,_0x44fe83)}),_0x174ba1['for']('editingDowncast')['elementToElement']({'model':{'name':'footnoteRef','attributes':['footnoteId','footnoteCounter']},'view':(_0x35cf6b,{writer:_0x152cab})=>{const _0x25cafb=_0x35cf6b['getAttribute']('footnoteCounter');return _0x58422d(D(_0x35cf6b,_0x152cab),_0x152cab,{'label':t('Footnote\x20%0.\x20Press\x20ENTER\x20to\x20jump\x20to\x20footnote\x20definition.',_0x25cafb)});}});}['_defineDefinitionsConverters'](){const {editor:_0x3f42a8}=this,{t:t}=_0x3f42a8['locale'],{conversion:_0x20a562}=_0x3f42a8;_0x20a562['for']('upcast')['elementToElement']({'view':{'name':'div','classes':'footnotes'},'model':'footnotesDefinitions'}),_0x20a562['for']('upcast')['add'](_0x621e7f=>{_0x621e7f['on']('element:ol',(_0x1777a4,_0x14000c,_0x366182)=>{const _0x1adec1=_0x14000c['viewItem'];if(!_0x1adec1['hasClass']('footnotes-list')||!_0x14000c['modelCursor']['parent']?.['is']('element','footnotesDefinitions'))return;if(!_0x366182['consumable']['consume'](_0x1adec1,{'name':!0x0,'classes':'footnotes-list'}))return;const {modelRange:_0x280d86,modelCursor:_0x43ac6f}=_0x366182['convertChildren'](_0x14000c['viewItem'],_0x14000c['modelCursor']);_0x14000c['modelRange']=_0x280d86,_0x14000c['modelCursor']=_0x43ac6f;}),_0x621e7f['on']('element:hr',(_0x2f5ec8,_0x1b2c44,_0x3e6414)=>{const _0x442f7d=_0x1b2c44['viewItem'];_0x442f7d['hasClass']('footnotes-divider')&&_0x1b2c44['modelCursor']['parent']?.['is']('element','footnotesDefinitions')&&_0x3e6414['consumable']['consume'](_0x442f7d,{'name':!0x0,'classes':'footnotes-divider'});});}),_0x20a562['for']('dataDowncast')['elementToStructure']({'model':'footnotesDefinitions','view':(_0x5dd1fb,{writer:_0x246630})=>v(_0x246630)}),_0x20a562['for']('editingDowncast')['elementToStructure']({'model':'footnotesDefinitions','view':(_0x476157,{writer:_0x4776f5})=>{const _0x855544=v(_0x4776f5,{'data-footnotes-list-label':t('Footnotes')}),_0x5a35e3=_0x58422d(_0x855544,_0x4776f5,{'hasSelectionHandle':!0x0,'label':t('Footnotes')});return _0x4776f5['setCustomProperty']('footnotesDefinitions',!0x0,_0x5a35e3),_0x5a35e3;}});}['_defineDefinitionConverters'](){const {editor:_0x528314}=this,{conversion:_0x538efa,locale:_0xe751fe}=_0x528314,_0x25a868=_0x528314['config']['get']('footnotes.multiBlock');_0x538efa['for']('upcast')['add'](_0xa31bf5=>{_0xa31bf5['on']('element:li',(_0x49e89c,_0x2d45ba,_0x213cfb)=>{const _0x5bb062=_0x2d45ba['viewItem'];if(!_0x5bb062['hasClass']('footnote-definition')||!_0x5bb062['getAttribute']('id'))return;const _0xdb5f0a=_0x5bb062['parent'];if(!_0xdb5f0a['is']('element','ol')||!_0xdb5f0a['hasClass']('footnotes-list'))return;if(!_0x213cfb['consumable']['test'](_0x5bb062,{'name':!0x0,'attributes':'id','classes':'footnote-definition'}))return;const _0x417161=_0x213cfb['writer']['createElement']('footnoteDefinition',{'footnoteId':_0x5bb062['getAttribute']('id')});if(!_0x213cfb['safeInsert'](_0x417161,_0x2d45ba['modelCursor']))return;_0x213cfb['consumable']['consume'](_0x5bb062,{'name':!0x0,'attributes':'id','classes':'footnote-definition'});const _0x52bfe8=Array['from'](_0x5bb062['getChildren']())['find'](_0x11930a=>_0x11930a['is']('element')&&_0x11930a['hasClass']('footnote-content'));for(const _0x516518 of _0x5bb062['getChildren']())_0x516518['is']('element')&&(_0x213cfb['consumable']['consume'](_0x516518,{'name':!0x0,'classes':'footnote-backlink','attributes':'href'}),_0x213cfb['consumable']['consume'](_0x516518,{'name':!0x0,'classes':'footnote-content'}));if(_0x52bfe8){if(_0x25a868)_0x213cfb['convertChildren'](_0x52bfe8,_0x417161);else{const _0x1f90e1=_0x213cfb['writer']['createElement']('footnoteInlineContent');_0x213cfb['writer']['insert'](_0x1f90e1,_0x417161),_0x213cfb['convertChildren'](_0x52bfe8,_0x1f90e1);}}_0x213cfb['updateConversionResult'](_0x417161,_0x2d45ba);});}),_0x538efa['for']('dataDowncast')['elementToStructure']({'model':{'name':'footnoteDefinition','attributes':['footnoteId']},'view':(_0x298c9b,{writer:_0x1f841b})=>b(_0x298c9b,_0x1f841b,_0xe751fe,{'dataPipeline':!0x0})}),_0x538efa['for']('editingDowncast')['elementToStructure']({'model':{'name':'footnoteDefinition','attributes':['footnoteId']},'view':(_0x315c86,{writer:_0x4e9772})=>b(_0x315c86,_0x4e9772,_0xe751fe)});}['_defineBogusParagraphConverters'](){const {editor:_0x1c3860}=this,{conversion:_0x30aab6}=_0x1c3860;_0x1c3860['config']['get']('footnotes.multiBlock')?(_0x30aab6['for']('editingDowncast')['elementToElement']({'model':'paragraph','view':h(),'converterPriority':'high'}),_0x30aab6['for']('dataDowncast')['elementToElement']({'model':'paragraph','view':h({'dataPipeline':!0x0}),'converterPriority':'high'}),this['listenTo'](_0x1c3860['model']['document'],'change:data',()=>{!function(_0x5d3ab4,_0x3a508c){const _0x4ca565=_0x5d3ab4['document']['differ'],_0x5476c1=new Set();for(const _0xef54ed of _0x4ca565['getChanges']()){const _0x3d602f='attribute'==_0xef54ed['type']?_0xef54ed['range']['start']['parent']:_0xef54ed['position']['parent'];_0x3d602f['is']('element','footnoteDefinition')&&_0x5476c1['add'](_0x3d602f);}for(const _0x1477fe of _0x5476c1['values']()){const _0x43ac47=Array['from'](_0x1477fe['getChildren']())['filter'](_0xb71649=>g(_0xb71649,_0x3a508c['mapper']));for(const _0x5ab3f0 of _0x43ac47)_0x3a508c['reconvertItem'](_0x5ab3f0);}}(_0x1c3860['model'],_0x1c3860['editing']);})):(_0x30aab6['for']('editingDowncast')['elementToElement']({'model':'footnoteInlineContent','view':h()}),_0x30aab6['for']('dataDowncast')['elementToElement']({'model':'footnoteInlineContent','view':(_0x34d07f,{writer:_0x2d1f02})=>{const _0x413c50=_0x2d1f02['createContainerElement']('span');return _0x2d1f02['setCustomProperty']('dataPipeline:transparentRendering',!0x0,_0x413c50),_0x413c50;}}));}['_defineKeyboardHandlers'](){const {editor:_0x4621fd}=this,{editing:_0x181da6,t:t}=_0x4621fd,_0x4d843d=_0x4621fd['model']['document']['selection'];_0x4621fd['keystrokes']['set']('Ctrl+Alt+F','insertFootnote'),_0x4621fd['accessibility']['addKeystrokeInfos']({'keystrokes':[{'label':t('Insert\x20footnote'),'keystroke':'Ctrl+Alt+F'}]}),this['listenTo'](_0x181da6['view']['document'],'enter',(_0x40b573,_0x219541)=>{const _0xc08dac=function(_0x37eb2e){const _0x1018d3=_0x37eb2e['getSelectedElement']();if(_0x1018d3?.['is']('element','footnoteRef'))return _0x1018d3;return null;}(_0x4d843d);if(_0xc08dac){const _0x3a621c=_0xc08dac['getAttribute']('footnoteId');this['_moveSelectionToFootnoteDefinition'](_0x3a621c),_0x219541['preventDefault'](),_0x40b573['stop']();}},{'context':_0x54c03d});}['_defineClickHandlers'](){const {editor:_0x483a97}=this,{editing:_0x45ce2d}=_0x483a97;_0x483a97['editing']['view']['addObserver'](_0x39f5a2),_0x483a97['editing']['view']['addObserver'](_0x2d1ad5);let _0x2c700c=!0x1;this['listenTo'](_0x45ce2d['view']['document'],'pointerdown',(_0xdc9cdc,_0x190edd)=>{const {target:_0x338ee5}=_0x190edd,_0x1142b7=_0x45ce2d['view']['document']['selection'];_0x2c700c=!!(_0x338ee5?.['is']('element','a')&&_0x338ee5['parent']?.['is']('element','sup')&&_0x338ee5['parent']['hasClass']('footnote'))&&_0x1142b7['getSelectedElement']()===_0x338ee5['parent'];},{'priority':'high'}),this['listenTo'](_0x45ce2d['view']['document'],'click',(_0x5a2e57,_0x55fbc7)=>{const {target:_0x397954}=_0x55fbc7;if(!_0x397954?.['is']('element','a'))return;if(_0x397954['parent']?.['is']('element','sup')&&_0x397954['parent']['hasClass']('footnote')&&!_0x2c700c)return void _0x55fbc7['preventDefault']();let _0x3fa49d=_0x397954['getAttribute']('href');if(!_0x3fa49d?.['startsWith']('#'))return;_0x3fa49d=_0x3fa49d['slice'](0x1);let _0x5d42ab=!0x1;(_0x3fa49d['startsWith']('ref-')&&this['_moveSelectionToFootnoteReference'](_0x3fa49d['slice'](0x4))||this['_moveSelectionToFootnoteDefinition'](_0x3fa49d))&&(_0x5d42ab=!0x0),_0x5d42ab&&(_0x55fbc7['preventDefault'](),_0x5a2e57['stop']());},{'priority':'high','context':'$capture'});}}function h({dataPipeline:_0x495132}={}){return(_0x13ae2a,{writer:_0x1d4d7b})=>{if(!p(_0x13ae2a))return null;if(!_0x495132)return _0x1d4d7b['createContainerElement']('span',{'class':'ck-footnote-bogus-paragraph'});const _0x3c281c=_0x1d4d7b['createContainerElement']('p');return _0x1d4d7b['setCustomProperty']('dataPipeline:transparentRendering',!0x0,_0x3c281c),_0x3c281c;};}function p(_0x1ed054){const {parent:_0x335a78}=_0x1ed054;if(!_0x335a78?.['is']('element','footnoteDefinition'))return!0x1;if(0x1!=_0x335a78['childCount'])return!0x1;for(const _0x2b4250 of _0x1ed054['getAttributeKeys']())if(!_0x2b4250['startsWith']('selection:')&&'htmlEmptyBlock'!=_0x2b4250)return!0x1;return!0x0;}function g(_0x95008a,_0x3ef466){if(!_0x95008a['is']('element','paragraph'))return!0x1;const _0x1bfc24=_0x3ef466['toViewElement'](_0x95008a);return!!_0x1bfc24&&p(_0x95008a)!==_0x1bfc24['is']('element','span');}function J(_0x4566cc){return _0x54c03d(_0x4566cc)&&_0x4566cc['is']('containerElement')&&!!_0x4566cc['getCustomProperty']('footnotesDefinitions');}function v(_0x14f3e8,_0x12db0b={}){const _0x11949b=_0x14f3e8['createEmptyElement']('hr',{'class':'footnotes-divider'}),_0x45ac04=_0x14f3e8['createContainerElement']('ol',{'class':'footnotes-list'},_0x14f3e8['createSlot']());return _0x14f3e8['createContainerElement']('div',{'class':'footnotes',..._0x12db0b},[_0x11949b,_0x45ac04]);}function D(_0x160b77,_0x55e13c){const _0x46cb2d=_0x160b77['getAttribute']('footnoteId'),_0x521fb4=_0x160b77['getAttribute']('footnoteCounter'),_0x7fde8a=_0x55e13c['createUIElement']('a',{'href':'#'+_0x46cb2d},function(_0x1a747e){const _0x5a95c2=this['toDomElement'](_0x1a747e);return _0x5a95c2['textContent']=_0x521fb4,_0x5a95c2;}),_0x69d8c2=_0x55e13c['createContainerElement']('sup',{'id':'ref-'+_0x46cb2d,'class':'footnote'},[_0x7fde8a]);return _0x69d8c2['getFillerOffset']=()=>null,_0x69d8c2;}function b(_0x26fa5e,_0x5033e2,_0x52c9a3,{dataPipeline:_0x5ae599}={}){const {t:t}=_0x52c9a3,_0x1d6d3c=_0x26fa5e['getAttribute']('footnoteId'),_0x118c88=_0x5033e2['createUIElement']('a',{'class':'footnote-backlink','href':'#ref-'+_0x1d6d3c},function(_0x5b1a54){const _0x3996a8=this['toDomElement'](_0x5b1a54);return _0x3996a8['innerText']='^',_0x3996a8;}),_0x4c412f=_0x5ae599?_0x5033e2['createContainerElement']('div',{'class':'footnote-content'}):_0x5abf7f(_0x5033e2['createEditableElement']('div',{'class':'footnote-content'}),_0x5033e2,{'label':t('Footnote\x20content.')});return _0x5033e2['insert'](_0x5033e2['createPositionAt'](_0x4c412f,0x0),_0x5033e2['createSlot']()),_0x5033e2['createContainerElement']('li',{'class':'footnote-definition','id':_0x1d6d3c},[_0x118c88,_0x4c412f]);}class e extends _0x3263b6{static get['pluginName'](){return'FootnotesClipboard';}static get['requires'](){return[r,_0x500ebe];}static get['isOfficialPlugin'](){return!0x0;}static get['isPremiumPlugin'](){return!0x0;}['init'](){this['_defineClipboardIntegration']();}['_defineClipboardIntegration'](){this['_handleCopyFootnotesDefinitions'](),this['_handlePasteFootnotesDefinitions']();}['_handleCopyFootnotesDefinitions'](){const {editor:_0x242049}=this,{plugins:_0x214475,model:_0x1e2058}=_0x242049,_0x4d5874=_0x214475['get'](_0x500ebe),_0x3700b2=_0x214475['get'](f);this['listenTo'](_0x4d5874,'outputTransformation',(_0x1f7799,_0x4f168a)=>{const _0x5676b9=c(_0x1e2058['createRangeIn'](_0x4f168a['content']));if(!_0x5676b9['length'])return;const _0x538cb1=_0x3700b2['getFootnotes'](),_0x22eb96=_0x5676b9['reduce']((_0x3f003a,_0x46a233)=>{const _0x134dc7=_0x538cb1['find'](_0x373310=>_0x373310['id']===_0x46a233);if(_0x134dc7){const _0x2e95a2=_0x242049['data']['toView'](_0x134dc7['definition'],{'isClipboardPipeline':!0x0}),_0x42169d=_0x242049['data']['htmlProcessor']['toData'](_0x2e95a2);_0x3f003a[_0x134dc7['id']]=_0x42169d;}return _0x3f003a;},Object['create'](null));_0x4f168a['dataTransfer']['setData']('application/ckeditor5-footnotes',JSON['stringify'](_0x22eb96));});}['_handlePasteFootnotesDefinitions'](){const {editor:_0x38e841}=this,{model:_0x760a81,plugins:_0x1e0672}=_0x38e841,{view:_0x27cc93}=_0x38e841['editing'],_0x4bc00d=_0x1e0672['get'](_0x500ebe),_0x2aebe6=_0x1e0672['get'](f),_0x4a18e5=_0x38e841['config']['get']('footnotes.multiBlock');let _0x43b999=null;this['listenTo'](_0x27cc93['document'],'clipboardInput',(_0x5ef717,_0xe492fe)=>{const _0x2b96b8=_0xe492fe['dataTransfer']['getData']('application/ckeditor5-footnotes');_0x43b999=_0x2b96b8?JSON['parse'](_0x2b96b8):null;}),this['listenTo'](_0x4bc00d,'contentInsertion',(_0x22185f,_0x59ddf9)=>{const _0x228207=_0x59ddf9['sourceEditorId']===this['editor']['id'];_0x228207&&'drop'===_0x59ddf9['method']||_0x760a81['change'](_0x43db38=>{let _0x227c4f=_0x2aebe6['getFootnotesDefinitionsObjectElement']();const _0x2f6a24=!!_0x227c4f&&Array['from'](_0x760a81['document']['selection']['getSelectedBlocks']())['includes'](_0x227c4f);if((_0x227c4f&&!_0x2f6a24||!_0x227c4f&&!_0x43b999)&&function(_0x16b3c4,_0x2f3ad8){const _0x53d336=[];for(const {item:_0x43171b}of _0x16b3c4['createRangeIn'](_0x2f3ad8))_0x43171b['is']('element','footnotesDefinitions')&&_0x53d336['push'](_0x43171b);for(const _0x100f37 of _0x53d336)_0x16b3c4['remove'](_0x100f37);}(_0x43db38,_0x59ddf9['content']),!_0x43b999)return;const {selection:_0x18343c}=_0x760a81['document'],_0x922b6e=_0x18343c['getFirstRange']()['root'];_0x227c4f&&!_0x2f6a24||(_0x227c4f=function(_0x4bbbf9,_0x11b4c1){for(const {item:_0x13d5da}of _0x4bbbf9['createRangeIn'](_0x11b4c1))if(_0x13d5da['is']('element','footnotesDefinitions'))return _0x13d5da;return null;}(_0x43db38,_0x59ddf9['content']),_0x227c4f||=_0x2aebe6['_insertEmptyFootnotesDefinitionsContainer'](_0x43db38,_0x922b6e));const _0x507881=Array['from'](_0x18343c['getRanges']())['flatMap'](c),_0x185d1a=function(_0x54835a,_0x4bb387,_0x27bbd0){const _0x4959a9=Object['create'](null);for(const {item:_0x225542}of _0x54835a['createRangeIn'](_0x4bb387))if(_0x225542['is']('element','footnoteRef')){const _0x4465d7=_0x225542['getAttribute']('footnoteId');if(!_0x27bbd0(_0x4465d7))continue;_0x4959a9[_0x4465d7]||(_0x4959a9[_0x4465d7]=_0x1c4e41()),_0x54835a['setAttribute']('footnoteId',_0x4959a9[_0x4465d7],_0x225542);}return _0x4959a9;}(_0x43db38,_0x59ddf9['content'],_0x4c8e1e=>{if(!_0x228207)return!0x0;return!!_0x2aebe6['getFootnote'](_0x4c8e1e)&&!_0x507881['includes'](_0x4c8e1e);});for(const [_0x2df5cb,_0x96cc1b]of Object['entries'](_0x43b999)){const _0x4aa1db=_0x185d1a[_0x2df5cb]||_0x2df5cb,_0x2bca1b=_0x43db38['createElement']('footnoteDefinition',{'footnoteId':_0x4aa1db}),_0x576437=_0x38e841['data']['htmlProcessor']['toView'](_0x96cc1b);let _0x5e1f7b;if(_0x4a18e5)_0x5e1f7b=_0x38e841['data']['toModel'](_0x576437,_0x2bca1b);else{_0x5e1f7b=_0x43db38['createElement']('footnoteInlineContent');const _0x4258fe=_0x38e841['data']['toModel'](_0x576437,_0x5e1f7b);_0x43db38['insert'](_0x4258fe,_0x5e1f7b);}_0x43db38['append'](_0x5e1f7b,_0x2bca1b),_0x43db38['insert'](_0x2bca1b,_0x227c4f,'end');}_0x43b999=null;});});}}function c(_0x2baa9b){const _0x1abceb=new Set();for(const {item:_0xf85ee7}of _0x2baa9b)_0xf85ee7['is']('element','footnoteRef')&&_0x1abceb['add'](_0xf85ee7['getAttribute']('footnoteId'));return Array['from'](_0x1abceb);}class i extends _0x3263b6{['licenseKey'];['_licenseKeyCheckInterval'];static get['pluginName'](){return'FootnotesUI';}static get['isOfficialPlugin'](){return!0x0;}static get['isPremiumPlugin'](){return!0x0;}['init'](){const {editor:_0x100669}=this,{componentFactory:_0x3d63ca}=_0x100669['ui'];_0x3d63ca['add']('insertFootnote',x(_0x100669,_0xa80dc1)),_0x3d63ca['add']('menuBar:insertFootnote',x(_0x100669,_0x9fabdf)),this['licenseKey']=this['editor']['config']['get']('licenseKey');const _0x1b6f74=this['editor'];this['_licenseKeyCheckInterval']=setInterval(()=>{let _0x45557a;for(const _0x3fe56c in _0x1b6f74){const _0xab918a=_0x3fe56c,_0x1c9534=_0x1b6f74[_0xab918a];if('footnotesLicenseKeyValid'==_0x1c9534||'footnotesLicenseKeyInvalid'==_0x1c9534||'footnotesLicenseKeyExpired'==_0x1c9534||'footnotesLicenseKeyDomainLimit'==_0x1c9534||'footnotesLicenseKeyNotAllowed'==_0x1c9534||'footnotesLicenseKeyEvaluationLimit'==_0x1c9534||'footnotesLicenseKeyTrialLimit'==_0x1c9534||'footnotesLicenseKeyUsageLimit'==_0x1c9534){delete _0x1b6f74[_0xab918a],_0x45557a=_0x1c9534,clearInterval(this['_licenseKeyCheckInterval']),this['_licenseKeyCheckInterval']=void 0x0;break;}}'footnotesLicenseKeyInvalid'==_0x45557a&&_0x1b6f74['_showLicenseError']('invalid'),'footnotesLicenseKeyExpired'==_0x45557a&&_0x1b6f74['_showLicenseError']('expired'),'footnotesLicenseKeyDomainLimit'==_0x45557a&&_0x1b6f74['_showLicenseError']('domainLimit'),'footnotesLicenseKeyNotAllowed'==_0x45557a&&_0x1b6f74['_showLicenseError']('featureNotAllowed','Footnotes'),'footnotesLicenseKeyEvaluationLimit'==_0x45557a&&_0x1b6f74['_showLicenseError']('evaluationLimit'),'footnotesLicenseKeyTrialLimit'==_0x45557a&&_0x1b6f74['_showLicenseError']('trialLimit'),'footnotesLicenseKeyUsageLimit'==_0x45557a&&_0x1b6f74['_showLicenseError']('usageLimit');},0x3e8);}['destroy'](){super['destroy'](),this['_licenseKeyCheckInterval']&&clearInterval(this['_licenseKeyCheckInterval']);}}function x(_0x29ad3a,_0x556e26){const _0x10814c=_0x29ad3a['commands']['get']('insertFootnote');return _0x2cea72=>{const {t:t}=_0x2cea72,_0x110327=new _0x556e26(_0x2cea72),_0x1d65f4=_0x110327 instanceof _0x9fabdf;return _0x110327['bind']('isEnabled')['to'](_0x10814c,'isEnabled'),_0x110327['set']({'label':t(_0x1d65f4?'Footnote':'Insert\x20footnote'),'icon':_0x2db4f8,'tooltip':!0x0}),_0x110327['on']('execute',()=>{_0x10814c['execute'](),_0x29ad3a['editing']['view']['focus']();}),_0x110327;};}class lt extends _0x3263b6{static get['pluginName'](){return'Footnotes';}static get['requires'](){return[r,e,i];}static get['isOfficialPlugin'](){return!0x0;}static get['isPremiumPlugin'](){return!0x0;}}const Q=['decimal','decimal-leading-zero','lower-latin','upper-latin','lower-alpha','upper-alpha','lower-roman','upper-roman'];class S extends _0x390675{['refresh'](){const {editor:_0x15f60e}=this,_0x521ee9=_0x15f60e['plugins']['get'](f)['getFootnotesDefinitionsObjectElement']();this['isEnabled']=!!_0x521ee9,this['value']=_0x521ee9?.['getAttribute']('footnotesListStyle')??null;}['execute']({value:_0x573c0f}){const {editor:_0x2fc223}=this,_0x531f22=_0x2fc223['plugins']['get'](f),_0x183971=_0x531f22['getFootnotesDefinitionsObjectElement']();_0x183971&&Q['includes'](_0x573c0f)&&_0x2fc223['model']['change'](_0x474a11=>{_0x474a11['setAttribute']('footnotesListStyle',_0x573c0f,_0x183971),_0x531f22['_updateFootnotesCounters'](_0x474a11);});}}class C extends _0x390675{['refresh'](){const {editor:_0x4f826b}=this,_0x106772=_0x4f826b['plugins']['get'](f)['getFootnotesDefinitionsObjectElement']();this['isEnabled']=!!_0x106772,this['value']=_0x106772?.['getAttribute']('footnotesListStart')??null;}['execute']({value:_0x3f6d2a}){const {editor:_0x15e0aa}=this,_0x3e3c55=_0x15e0aa['plugins']['get'](f),_0x5ab018=_0x3e3c55['getFootnotesDefinitionsObjectElement']();_0x5ab018&&Number['isInteger'](_0x3f6d2a)&&_0x15e0aa['model']['change'](_0x48841c=>{_0x48841c['setAttribute']('footnotesListStart',_0x3f6d2a,_0x5ab018),_0x3e3c55['_updateFootnotesCounters'](_0x48841c);});}}class P extends _0x3263b6{static get['pluginName'](){return'FootnotesPropertiesEditing';}static get['requires'](){return[r,f];}static get['isOfficialPlugin'](){return!0x0;}static get['isPremiumPlugin'](){return!0x0;}['init'](){const {editor:_0x258ff7}=this;_0x258ff7['config']['define']('footnotes.footnotesProperties.defaultListStyle','decimal'),_0x258ff7['config']['define']('footnotes.footnotesProperties.defaultStartIndex',0x1),_0x258ff7['commands']['add']('footnotesStyle',new S(_0x258ff7)),_0x258ff7['commands']['add']('footnotesStart',new C(_0x258ff7)),this['_defineSchema'](),this['_defineConverters'](),this['_defineFormatter'](),this['_definePostfixer']();}['_defineSchema'](){const {editor:_0x5d9411}=this,{schema:_0x166ab9}=_0x5d9411['model'];_0x166ab9['extend']('footnotesDefinitions',{'allowAttributes':['footnotesListStyle','footnotesListStart']});}['_defineConverters'](){const {editor:_0x146b58}=this,{conversion:_0x15dde5,model:_0x506b76}=_0x146b58,{schema:_0xddbc9f}=_0x506b76;_0x15dde5['for']('upcast')['add'](_0x149474=>{_0x149474['on']('element:ol',(_0x524e4d,_0x18bd66,_0x160116)=>{const _0xdd3fd6=_0x18bd66['viewItem'],_0xacfb88=_0x18bd66['modelCursor']?.['parent'];_0xdd3fd6['hasClass']('footnotes-list')&&_0xacfb88?.['is']('element','footnotesDefinitions')&&(function(_0x13e759,_0x33493a,_0x28b059,_0x4a77b3){if(!_0x4a77b3['checkAttribute'](_0x33493a,'footnotesListStart'))return;let _0x149513=0x1;const _0x3cb90b=_0x28b059['consumable']['consume'](_0x13e759,{'attributes':'start'});if(_0x3cb90b){const _0x2da53a=Number['parseInt'](_0x13e759['getAttribute']('start'),0xa);Number['isNaN'](_0x2da53a)||(_0x149513=_0x2da53a);}!_0x3cb90b&&_0x33493a['hasAttribute']('footnotesListStart')||_0x28b059['writer']['setAttribute']('footnotesListStart',_0x149513,_0x33493a);}(_0xdd3fd6,_0xacfb88,_0x160116,_0xddbc9f),function(_0x22c4be,_0x513bc0,_0x4e3bff,_0x790c83){if(!_0x790c83['checkAttribute'](_0x513bc0,'footnotesListStyle'))return;let _0x5f44f1='decimal',_0x441a8f=!0x1;if(_0x4e3bff['consumable']['consume'](_0x22c4be,{'attributes':'type'})){const _0x2594a0={0x1:'decimal','a':'lower-alpha','A':'upper-alpha','i':'lower-roman','I':'upper-roman'}[_0x22c4be['getAttribute']('type')];_0x2594a0&&(_0x5f44f1=_0x2594a0),_0x441a8f=!0x0;}_0x4e3bff['consumable']['consume'](_0x22c4be,{'styles':'list-style-type'})&&(_0x5f44f1=function(_0x22ad02){switch(_0x22ad02){case'lower-alpha':return'lower-latin';case'upper-alpha':return'upper-latin';default:return _0x22ad02;}}(_0x22c4be['getStyle']('list-style-type')),_0x441a8f=!0x0),!_0x441a8f&&_0x513bc0['hasAttribute']('footnotesListStyle')||_0x4e3bff['writer']['setAttribute']('footnotesListStyle',_0x5f44f1,_0x513bc0);}(_0xdd3fd6,_0xacfb88,_0x160116,_0xddbc9f));});}),_0x15dde5['for']('downcast')['add'](_0x59bed3=>{_0x59bed3['on']('attribute:footnotesListStart:footnotesDefinitions',(_0xadd72b,_0x2f2057,_0x5e18e4)=>{if(!_0x5e18e4['consumable']['consume'](_0x2f2057['item'],_0xadd72b['name']))return;const _0x4cd8cb=M(_0x2f2057['item'],_0x5e18e4['mapper']),{attributeNewValue:_0x8d8eb9}=_0x2f2057;null==_0x8d8eb9||0x1===_0x8d8eb9?_0x5e18e4['writer']['removeAttribute']('start',_0x4cd8cb):_0x5e18e4['writer']['setAttribute']('start',String(_0x8d8eb9),_0x4cd8cb);}),_0x59bed3['on']('attribute:footnotesListStyle:footnotesDefinitions',(_0x1138e1,_0x5b58d0,_0xbcf0ad)=>{if(!_0xbcf0ad['consumable']['consume'](_0x5b58d0['item'],_0x1138e1['name']))return;const _0x431003=M(_0x5b58d0['item'],_0xbcf0ad['mapper']),{attributeNewValue:_0x3de480}=_0x5b58d0;_0x3de480&&'decimal'!==_0x3de480?_0xbcf0ad['writer']['setStyle']('list-style-type',_0x3de480,_0x431003):_0xbcf0ad['writer']['removeStyle']('list-style-type',_0x431003);});});}['_definePostfixer'](){const {editor:_0x34cc72}=this,{model:_0x3c6e18}=_0x34cc72,_0x2ff0cd=_0x34cc72['plugins']['get'](f),_0x292d6f=this['_getDefaultListStyle'](),_0xf2ebcc=this['_getDefaultStartIndex']();_0x3c6e18['document']['registerPostFixer'](_0x3bd2b2=>{const _0x5ec6cf=_0x3c6e18['document']['differ']['getChanges']();let _0x2da2ba=!0x1;for(const _0x4d5eb8 of _0x5ec6cf){if('insert'!==_0x4d5eb8['type']||'$text'===_0x4d5eb8['name'])continue;const _0x4b0704=_0x3c6e18['createRangeOn'](_0x4d5eb8['position']['nodeAfter']);for(const _0x177bd6 of _0x4b0704['getItems']())_0x177bd6['is']('element','footnotesDefinitions')&&(!_0x177bd6['hasAttribute']('footnotesListStart')&&_0x3c6e18['schema']['checkAttribute'](_0x177bd6,'footnotesListStart')&&(_0x3bd2b2['setAttribute']('footnotesListStart',_0xf2ebcc,_0x177bd6),_0x2da2ba=!0x0),!_0x177bd6['hasAttribute']('footnotesListStyle')&&_0x3c6e18['schema']['checkAttribute'](_0x177bd6,'footnotesListStyle')&&(_0x3bd2b2['setAttribute']('footnotesListStyle',_0x292d6f,_0x177bd6),_0x2da2ba=!0x0));}return _0x2da2ba&&_0x2ff0cd['_updateFootnotesCounters'](_0x3bd2b2),_0x2da2ba;});}['_defineFormatter'](){const {editor:_0x1dfb10}=this;_0x1dfb10['plugins']['get'](f)['setFootnoteFormatter'](_0x3a692a=>this['_formatFootnoteListValue'](_0x3a692a));}['_getDefaultListStyle'](){return this['editor']['config']['get']('footnotes.footnotesProperties.defaultListStyle');}['_getDefaultStartIndex'](){return this['editor']['config']['get']('footnotes.footnotesProperties.defaultStartIndex');}['_formatFootnoteListValue']({container:_0x45c9d9,value:_0x3c78b7,digits:_0x3355ea}){const _0x502255=_0x45c9d9['getAttribute']('footnotesListStyle'),_0x2b0abb=_0x45c9d9['getAttribute']('footnotesListStart'),_0x4a7149=Math['floor'](_0x3c78b7)+(_0x2b0abb??0x1)-0x1;switch(_0x502255){case'decimal-leading-zero':return function(_0x1fa906,_0x3fff2e){return String(_0x1fa906)['padStart'](_0x3fff2e,'0');}(_0x4a7149,Math['max'](0x2,_0x3355ea));case'lower-alpha':case'lower-latin':return N(_0x4a7149,!0x1);case'upper-alpha':case'upper-latin':return N(_0x4a7149,!0x0);case'lower-roman':return X(_0x4a7149,!0x1);case'upper-roman':return X(_0x4a7149,!0x0);default:return String(_0x4a7149);}}}function M(_0x16ca07,_0x2c7cf6){const _0x54be6a=_0x2c7cf6['toViewElement'](_0x16ca07);return Array['from'](_0x54be6a['getChildren']())['find'](_0x1ff2bb=>_0x1ff2bb['is']('element','ol')&&_0x1ff2bb['hasClass']('footnotes-list'));}function N(_0x297b44,_0x19009f){let _0x297ae4='',_0xae3e88=_0x297b44;for(;_0xae3e88>0x0;){const _0xf7c335=(_0xae3e88-0x1)%0x1a;_0x297ae4=String['fromCharCode'](0x61+_0xf7c335)+_0x297ae4,_0xae3e88=Math['floor']((_0xae3e88-0x1)/0x1a);}return _0x19009f?_0x297ae4['toUpperCase']():_0x297ae4;}const V=[{'value':0x3e8,'numeral':'M'},{'value':0x384,'numeral':'CM'},{'value':0x1f4,'numeral':'D'},{'value':0x190,'numeral':'CD'},{'value':0x64,'numeral':'C'},{'value':0x5a,'numeral':'XC'},{'value':0x32,'numeral':'L'},{'value':0x28,'numeral':'XL'},{'value':0xa,'numeral':'X'},{'value':0x9,'numeral':'IX'},{'value':0x5,'numeral':'V'},{'value':0x4,'numeral':'IV'},{'value':0x1,'numeral':'I'}];function X(_0x41c598,_0x519cd0){let _0x582fb0='',_0x43f53e=_0x41c598;for(const {value:_0x244744,numeral:_0x132d9b}of V)for(;_0x43f53e>=_0x244744;)_0x582fb0+=_0x132d9b,_0x43f53e-=_0x244744;return _0x519cd0?_0x582fb0:_0x582fb0['toLowerCase']();}class H extends _0x425827{['children'];['stylesView']=null;['additionalProperties']=null;['startIndexFieldView']=null;['focusTracker']=new ot();['keystrokes']=new rt();['focusables']=new _0x482a02();['focusCycler'];constructor(_0x2a236b,{styleButtonViews:_0x52c775,styleGridAriaLabel:_0x1e66a4}){super(_0x2a236b),(this['focusCycler']=new _0x5b8f14({'focusables':this['focusables'],'focusTracker':this['focusTracker'],'keystrokeHandler':this['keystrokes'],'actions':{'focusPrevious':'shift\x20+\x20tab','focusNext':'tab'}}),this['children']=this['createCollection'](),this['stylesView']=this['_appendStylesView'](_0x52c775,_0x1e66a4),[this['startIndexFieldView'],this['additionalProperties']]=this['_appendAdditionalPropertiesCollapsibleView'](),this['setTemplate']({'tag':'div','attributes':{'class':['ck','ck-footnotes-definitions-properties']},'children':this['children']}));}['render'](){if(super['render'](),this['stylesView']){this['focusables']['add'](this['stylesView']),this['focusTracker']['add'](this['stylesView']['element']);for(const _0x1ca345 of this['stylesView']['children'])this['stylesView']['focusTracker']['add'](_0x1ca345['element']);tt({'keystrokeHandler':this['stylesView']['keystrokes'],'focusTracker':this['stylesView']['focusTracker'],'gridItems':this['stylesView']['children'],'numberOfColumns':()=>nt['window']['getComputedStyle'](this['stylesView']['element'])['getPropertyValue']('grid-template-columns')['split']('\x20')['length'],'uiLanguageDirection':this['locale']&&this['locale']['uiLanguageDirection']});}if(this['startIndexFieldView']){this['focusables']['add'](this['startIndexFieldView']),this['focusTracker']['add'](this['startIndexFieldView']['element']);const _0x3e8625=_0x4f2686=>_0x4f2686['stopPropagation']();this['keystrokes']['set']('arrowright',_0x3e8625),this['keystrokes']['set']('arrowleft',_0x3e8625),this['keystrokes']['set']('arrowup',_0x3e8625),this['keystrokes']['set']('arrowdown',_0x3e8625);}this['keystrokes']['listenTo'](this['element']);}['focus'](){this['focusCycler']['focusFirst']();}['focusLast'](){this['focusCycler']['focusLast']();}['destroy'](){super['destroy'](),this['focusTracker']['destroy'](),this['keystrokes']['destroy']();}['_appendStylesView'](_0x50fedc,_0x59181){const _0x5f19ca=new _0x425827(this['locale']);return _0x5f19ca['children']=_0x5f19ca['createCollection'](),_0x5f19ca['children']['addMany'](_0x50fedc),_0x5f19ca['setTemplate']({'tag':'div','attributes':{'aria-label':_0x59181,'class':['ck','ck-footnotes-definitions-styles-list']},'children':_0x5f19ca['children']}),_0x5f19ca['children']['delegate']('execute')['to'](this),_0x5f19ca['focus']=function(){for(const _0x584a93 of this['children'])if(_0x584a93 instanceof _0xa80dc1&&_0x584a93['isOn'])return void _0x584a93['focus']();this['children']['first']['focus']();},_0x5f19ca['focusTracker']=new ot(),_0x5f19ca['keystrokes']=new rt(),_0x5f19ca['render'](),_0x5f19ca['keystrokes']['listenTo'](_0x5f19ca['element']),this['children']['add'](_0x5f19ca),_0x5f19ca;}['_appendAdditionalPropertiesCollapsibleView'](){const {t:t}=this['locale'],_0x4ae144=this['_createStartIndexPropertyView'](),_0x281ae7=[_0x4ae144],_0x3a0ee3=new st(this['locale'],_0x281ae7);return _0x3a0ee3['set']({'label':t('Footnotes\x20properties'),'isCollapsed':!0x0}),_0x3a0ee3['buttonView']['bind']('isEnabled')['toMany'](_0x281ae7,'isEnabled',(..._0xa38c93)=>_0xa38c93['some'](_0x311cb7=>_0x311cb7)),_0x3a0ee3['buttonView']['on']('change:isEnabled',(_0x3a0990,_0x21f874,_0x2ce906)=>{_0x2ce906||(_0x3a0ee3['isCollapsed']=!0x0);}),this['children']['add'](_0x3a0ee3),[_0x4ae144,_0x3a0ee3];}['_createStartIndexPropertyView'](){const {t:t}=this['locale'],_0x431147=new it(this['locale'],et);return _0x431147['set']({'label':t('Footnotes\x20start\x20at'),'class':'ck-footnotes-definitions-properties__start-index'}),_0x431147['fieldView']['set']({'min':0x0,'max':Math['pow'](0x2,0x1e),'step':0x1,'value':0x1,'inputMode':'numeric'}),_0x431147['fieldView']['on']('input',()=>{const _0x364274=_0x431147['fieldView']['element'],_0x1b149d=_0x364274['valueAsNumber'];Number['isNaN'](_0x1b149d)?_0x431147['errorText']=t('Invalid\x20footnotes\x20start\x20index\x20value.'):_0x364274['checkValidity']()?this['fire']('footnotesListStart',{'startIndex':_0x1b149d}):_0x431147['errorText']=t(_0x1b149d<0x0?'Footnotes\x20start\x20index\x20must\x20be\x20greater\x20than\x200.':'Footnotes\x20start\x20index\x20is\x20too\x20large.');}),_0x431147;}}class j extends _0x3263b6{static get['pluginName'](){return'FootnotesPropertiesUI';}static get['requires'](){return[_0x5d26d8,_0x1d7021];}static get['isOfficialPlugin'](){return!0x0;}static get['isPremiumPlugin'](){return!0x0;}['init'](){const {editor:_0x645588}=this,{componentFactory:_0x4a68e2}=_0x645588['ui'];_0x645588['config']['define']('footnotes.footnotesProperties.toolbar',['footnotesStyle']),_0x4a68e2['add']('footnotesStyle',function(_0xc482f4){return _0x715af8=>{const {t:t}=_0x715af8,_0x25ee08=_0xc482f4['commands']['get']('footnotesStyle'),_0x3c02f4=_0x30f580(_0x715af8),{buttonView:_0x2e5a00}=_0x3c02f4;return _0x3c02f4['class']='ck-footnotes-styles-dropdown',_0x3c02f4['bind']('isEnabled')['to'](_0x25ee08,'isEnabled'),_0x2e5a00['set']({'label':t('Footnotes\x20style'),'icon':_0x2db4f8,'tooltip':!0x0}),_0x3c02f4['once']('change:isOpen',()=>{const _0x426910=function({editor:_0x4d5895,dropdownView:_0x3c94bc}){const {t:t}=_0x4d5895['locale'],_0x157545=t('Footnotes\x20definitions\x20styles'),_0x17f66e=function(_0x38694c){const t=_0x38694c['locale']['t'],_0xe768ef=[{'label':t('Toggle\x20the\x20decimal\x20footnotes\x20style'),'tooltip':t('Decimal\x20footnotes'),'style':'decimal','icon':_0x173ec3},{'label':t('Toggle\x20the\x20decimal\x20with\x20leading\x20zero\x20footnotes\x20style'),'tooltip':t('Decimal\x20footnotes\x20with\x20leading\x20zero'),'style':'decimal-leading-zero','icon':_0x36e591},{'label':t('Toggle\x20the\x20lower–roman\x20footnotes\x20style'),'tooltip':t('Lower–roman\x20footnotes'),'style':'lower-roman','icon':_0x5efc48},{'label':t('Toggle\x20the\x20upper–roman\x20footnotes\x20style'),'tooltip':t('Upper-roman\x20footnotes'),'style':'upper-roman','icon':_0x526c34},{'label':t('Toggle\x20the\x20lower–latin\x20footnotes\x20style'),'tooltip':t('Lower-latin\x20footnotes'),'style':'lower-latin','icon':_0x5e7c46},{'label':t('Toggle\x20the\x20upper–latin\x20footnotes\x20style'),'tooltip':t('Upper-latin\x20footnotes'),'style':'upper-latin','icon':_0x526891}];return _0xe768ef['map'](function(_0x532131){const _0x5ae49b=_0x532131['locale'];return({label:_0x129eb5,icon:_0x41a0e4,tooltip:_0x12519e,style:_0x237af0})=>{const _0x1f3760=_0x532131['commands']['get']('footnotesStyle'),_0xb655e0=new _0xa80dc1(_0x5ae49b);return _0xb655e0['set']({'label':_0x129eb5,'icon':_0x41a0e4,'tooltip':_0x12519e}),_0xb655e0['bind']('isOn')['to'](_0x1f3760,'value',_0x3b7547=>_0x3b7547===_0x237af0),_0xb655e0['bind']('isEnabled')['to'](_0x1f3760,'isEnabled'),_0xb655e0['on']('execute',()=>{_0x532131['execute']('footnotesStyle',{'value':_0x237af0}),_0x532131['editing']['view']['focus']();}),_0xb655e0;};}(_0x38694c));}(_0x4d5895),_0x1a7b76=new H(_0x4d5895['locale'],{'styleGridAriaLabel':_0x157545,'styleButtonViews':_0x17f66e}),_0x30f4c7=_0x4d5895['commands']['get']('footnotesStart');return _0x1a7b76['startIndexFieldView']['bind']('isEnabled')['to'](_0x30f4c7),_0x1a7b76['startIndexFieldView']['fieldView']['bind']('value')['to'](_0x30f4c7),_0x1a7b76['on']('footnotesListStart',(_0x1c5be5,_0x582d3c)=>{_0x4d5895['execute']('footnotesStart',{'value':_0x582d3c['startIndex']});}),_0x1a7b76['delegate']('execute')['to'](_0x3c94bc),_0x1a7b76;}({'editor':_0xc482f4,'dropdownView':_0x3c02f4});_0x3c02f4['panelView']['children']['add'](_0x426910);}),_0x3c02f4;};}(_0x645588));}['afterInit'](){const {editor:_0xd3714d}=this,{t:t}=_0xd3714d['locale'],_0x31bc90=_0xd3714d['plugins']['get'](_0x1d7021),{defaultPositions:_0x3b8148}=_0x162d1c;_0x31bc90['register']('footnotesDefinitions',{'ariaLabel':t('Footnotes\x20definitions\x20toolbar'),'items':_0xd3714d['config']['get']('footnotes.footnotesProperties.toolbar'),'balloonClassName':'ck-footnotes-style-balloon\x20ck-toolbar-container','getRelatedElement':_0x48ca79=>{let _0x35f130=_0x48ca79['getFirstPosition']()?.['parent'];return _0x35f130?.['is']('$text')&&(_0x35f130=_0x35f130['parent']),_0x35f130?.['is']('element')?_0x35f130['findAncestor'](J):null;},'positions':[_0x3b8148['southArrowNorth'],_0x3b8148['southArrowNorthMiddleWest'],_0x3b8148['southArrowNorthMiddleEast'],_0x3b8148['southArrowNorthWest'],_0x3b8148['southArrowNorthEast'],_0x3b8148['northArrowSouth'],_0x3b8148['northArrowSouthMiddleWest'],_0x3b8148['northArrowSouthMiddleEast'],_0x3b8148['northArrowSouthWest'],_0x3b8148['northArrowSouthEast'],_0x3b8148['viewportStickyNorth']]});}}class ft extends _0x3263b6{static get['pluginName'](){return'FootnotesProperties';}static get['requires'](){return[P,j];}static get['isOfficialPlugin'](){return!0x0;}static get['isPremiumPlugin'](){return!0x0;}}export{lt as Footnotes,e as FootnotesClipboard,r as FootnotesEditing,ft as FootnotesProperties,P as FootnotesPropertiesEditing,j as FootnotesPropertiesUI,C as FootnotesStartCommand,S as FootnotesStyleCommand,f as FootnotesTracker,i as FootnotesUI,m as InsertFootnoteCommand};
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- export default{'af':{'dictionary':{'Footnote':'','Footnotes':'','Footnotes\x20properties':'','Footnotes\x20start\x20at':'','Invalid\x20footnotes\x20start\x20index\x20value.':'','Footnotes\x20start\x20index\x20is\x20too\x20large.':'','Footnotes\x20start\x20index\x20must\x20be\x20greater\x20than\x200.':'','Footnote\x20%0.\x20Press\x20ENTER\x20to\x20jump\x20to\x20footnote\x20definition.':'','Footnote\x20content.':'','Footnotes\x20definitions\x20styles':'','Footnotes\x20definitions\x20toolbar':'','Insert\x20footnote':'','Footnotes\x20style':'','Toggle\x20the\x20decimal\x20footnotes\x20style':'','Decimal\x20footnotes':'','Toggle\x20the\x20decimal\x20with\x20leading\x20zero\x20footnotes\x20style':'','Decimal\x20footnotes\x20with\x20leading\x20zero':'','Lower–roman\x20footnotes':'','Upper-roman\x20footnotes':'','Lower-latin\x20footnotes':'','Upper-latin\x20footnotes':'','Toggle\x20the\x20lower–roman\x20footnotes\x20style':'','Toggle\x20the\x20upper–roman\x20footnotes\x20style':'','Toggle\x20the\x20lower–latin\x20footnotes\x20style':'','Toggle\x20the\x20upper–latin\x20footnotes\x20style':''},'getPluralForm':_0x23453d=>0x1!=_0x23453d}};
23
+ export default{'af':{'dictionary':{'Footnote':'','Footnotes':'','Footnotes\x20properties':'','Footnotes\x20start\x20at':'','Invalid\x20footnotes\x20start\x20index\x20value.':'','Footnotes\x20start\x20index\x20is\x20too\x20large.':'','Footnotes\x20start\x20index\x20must\x20be\x20greater\x20than\x200.':'','Footnote\x20%0.\x20Press\x20ENTER\x20to\x20jump\x20to\x20footnote\x20definition.':'','Footnote\x20content.':'','Footnotes\x20definitions\x20styles':'','Footnotes\x20definitions\x20toolbar':'','Insert\x20footnote':'','Footnotes\x20style':'','Toggle\x20the\x20decimal\x20footnotes\x20style':'','Decimal\x20footnotes':'','Toggle\x20the\x20decimal\x20with\x20leading\x20zero\x20footnotes\x20style':'','Decimal\x20footnotes\x20with\x20leading\x20zero':'','Lower–roman\x20footnotes':'','Upper-roman\x20footnotes':'','Lower-latin\x20footnotes':'','Upper-latin\x20footnotes':'','Toggle\x20the\x20lower–roman\x20footnotes\x20style':'','Toggle\x20the\x20upper–roman\x20footnotes\x20style':'','Toggle\x20the\x20lower–latin\x20footnotes\x20style':'','Toggle\x20the\x20upper–latin\x20footnotes\x20style':''},'getPluralForm':_0x32bc63=>0x1!=_0x32bc63}};
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- (_0x4f2b64=>{const {af:{dictionary:_0x384c0,getPluralForm:_0x11948d}}={'af':{'dictionary':{'Footnote':'','Footnotes':'','Footnotes\x20properties':'','Footnotes\x20start\x20at':'','Invalid\x20footnotes\x20start\x20index\x20value.':'','Footnotes\x20start\x20index\x20is\x20too\x20large.':'','Footnotes\x20start\x20index\x20must\x20be\x20greater\x20than\x200.':'','Footnote\x20%0.\x20Press\x20ENTER\x20to\x20jump\x20to\x20footnote\x20definition.':'','Footnote\x20content.':'','Footnotes\x20definitions\x20styles':'','Footnotes\x20definitions\x20toolbar':'','Insert\x20footnote':'','Footnotes\x20style':'','Toggle\x20the\x20decimal\x20footnotes\x20style':'','Decimal\x20footnotes':'','Toggle\x20the\x20decimal\x20with\x20leading\x20zero\x20footnotes\x20style':'','Decimal\x20footnotes\x20with\x20leading\x20zero':'','Lower–roman\x20footnotes':'','Upper-roman\x20footnotes':'','Lower-latin\x20footnotes':'','Upper-latin\x20footnotes':'','Toggle\x20the\x20lower–roman\x20footnotes\x20style':'','Toggle\x20the\x20upper–roman\x20footnotes\x20style':'','Toggle\x20the\x20lower–latin\x20footnotes\x20style':'','Toggle\x20the\x20upper–latin\x20footnotes\x20style':''},'getPluralForm':_0x1e6e37=>0x1!=_0x1e6e37}};_0x4f2b64['af']||={'dictionary':{},'getPluralForm':null},_0x4f2b64['af']['dictionary']=Object['assign'](_0x4f2b64['af']['dictionary'],_0x384c0),_0x4f2b64['af']['getPluralForm']=_0x11948d;})(window['CKEDITOR_TRANSLATIONS']||={});
23
+ (_0x727688=>{const {af:{dictionary:_0x3aa5c8,getPluralForm:_0x18ac81}}={'af':{'dictionary':{'Footnote':'','Footnotes':'','Footnotes\x20properties':'','Footnotes\x20start\x20at':'','Invalid\x20footnotes\x20start\x20index\x20value.':'','Footnotes\x20start\x20index\x20is\x20too\x20large.':'','Footnotes\x20start\x20index\x20must\x20be\x20greater\x20than\x200.':'','Footnote\x20%0.\x20Press\x20ENTER\x20to\x20jump\x20to\x20footnote\x20definition.':'','Footnote\x20content.':'','Footnotes\x20definitions\x20styles':'','Footnotes\x20definitions\x20toolbar':'','Insert\x20footnote':'','Footnotes\x20style':'','Toggle\x20the\x20decimal\x20footnotes\x20style':'','Decimal\x20footnotes':'','Toggle\x20the\x20decimal\x20with\x20leading\x20zero\x20footnotes\x20style':'','Decimal\x20footnotes\x20with\x20leading\x20zero':'','Lower–roman\x20footnotes':'','Upper-roman\x20footnotes':'','Lower-latin\x20footnotes':'','Upper-latin\x20footnotes':'','Toggle\x20the\x20lower–roman\x20footnotes\x20style':'','Toggle\x20the\x20upper–roman\x20footnotes\x20style':'','Toggle\x20the\x20lower–latin\x20footnotes\x20style':'','Toggle\x20the\x20upper–latin\x20footnotes\x20style':''},'getPluralForm':_0x237236=>0x1!=_0x237236}};_0x727688['af']||={'dictionary':{},'getPluralForm':null},_0x727688['af']['dictionary']=Object['assign'](_0x727688['af']['dictionary'],_0x3aa5c8),_0x727688['af']['getPluralForm']=_0x18ac81;})(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البادئ','Lower–roman\x20footnotes':'الحواشي\x20السفلية\x20الرومانية','Upper-roman\x20footnotes':'الحواشي\x20العلوية\x20الرومانية','Lower-latin\x20footnotes':'الحواشي\x20السفلية\x20اللاتينية','Upper-latin\x20footnotes':'الحواشي\x20العلوية\x20اللاتينية','Toggle\x20the\x20lower–roman\x20footnotes\x20style':'تبديل\x20نمط\x20الحواشي\x20السفلية\x20الرومانية','Toggle\x20the\x20upper–roman\x20footnotes\x20style':'تبديل\x20نمط\x20الحواشي\x20العلوية\x20الرومانية','Toggle\x20the\x20lower–latin\x20footnotes\x20style':'تبديل\x20نمط\x20الحواشي\x20السفلية\x20اللاتينية','Toggle\x20the\x20upper–latin\x20footnotes\x20style':'تبديل\x20نمط\x20الحواشي\x20العلوية\x20اللاتينية'},'getPluralForm':_0x367f29=>0x0==_0x367f29?0x0:0x1==_0x367f29?0x1:0x2==_0x367f29?0x2:_0x367f29%0x64>=0x3&&_0x367f29%0x64<=0xa?0x3:_0x367f29%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البادئ','Lower–roman\x20footnotes':'الحواشي\x20السفلية\x20الرومانية','Upper-roman\x20footnotes':'الحواشي\x20العلوية\x20الرومانية','Lower-latin\x20footnotes':'الحواشي\x20السفلية\x20اللاتينية','Upper-latin\x20footnotes':'الحواشي\x20العلوية\x20اللاتينية','Toggle\x20the\x20lower–roman\x20footnotes\x20style':'تبديل\x20نمط\x20الحواشي\x20السفلية\x20الرومانية','Toggle\x20the\x20upper–roman\x20footnotes\x20style':'تبديل\x20نمط\x20الحواشي\x20العلوية\x20الرومانية','Toggle\x20the\x20lower–latin\x20footnotes\x20style':'تبديل\x20نمط\x20الحواشي\x20السفلية\x20اللاتينية','Toggle\x20the\x20upper–latin\x20footnotes\x20style':'تبديل\x20نمط\x20الحواشي\x20العلوية\x20اللاتينية'},'getPluralForm':_0x518dca=>0x0==_0x518dca?0x0:0x1==_0x518dca?0x1:0x2==_0x518dca?0x2:_0x518dca%0x64>=0x3&&_0x518dca%0x64<=0xa?0x3:_0x518dca%0x64>=0xb?0x4:0x5}};
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- (_0x22e8f9=>{const {ar:{dictionary:_0x9709de,getPluralForm:_0x1e5b8c}}={'ar':{'dictionary':{'Footnote':'حاشية\x20سفلية','Footnotes':'الحواشي\x20السفلية','Footnotes\x20properties':'خصائص\x20الحواشي\x20السفلية','Footnotes\x20start\x20at':'تبدأ\x20الحواشي\x20السفلية\x20من','Invalid\x20footnotes\x20start\x20index\x20value.':'قيمة\x20مؤشر\x20بداية\x20الحواشي\x20السفلية\x20غير\x20صحيحة.','Footnotes\x20start\x20index\x20is\x20too\x20large.':'مؤشر\x20بداية\x20الحواشي\x20السفلية\x20كبير\x20للغاية.','Footnotes\x20start\x20index\x20must\x20be\x20greater\x20than\x200.':'يلزم\x20أن\x20يكون\x20مؤشر\x20بداية\x20الحواشي\x20السفلية\x20أكبر\x20من\x200.','Footnote\x20%0.\x20Press\x20ENTER\x20to\x20jump\x20to\x20footnote\x20definition.':'حاشية\x20سفلية\x20%0.\x20اضغط\x20على\x20مفتاح\x20الإدخال\x20(ENTER)\x20من\x20أجل\x20الانتقال\x20إلى\x20تعريف\x20الحاشية\x20السفلية.','Footnote\x20content.':'محتوى\x20الحاشية\x20السفلية.','Footnotes\x20definitions\x20styles':'أنماط\x20تعريفات\x20الحواشي\x20السفلية','Footnotes\x20definitions\x20toolbar':'شريط\x20أدوات\x20تعريفات\x20الحواشي\x20السفلية','Insert\x20footnote':'إدراج\x20حاشية\x20سفلية','Footnotes\x20style':'نمط\x20الحواشي\x20السفلية','Toggle\x20the\x20decimal\x20footnotes\x20style':'تبديل\x20نمط\x20الحواشي\x20السفلية\x20العشري','Decimal\x20footnotes':'الحواشي\x20السفلية\x20العشرية','Toggle\x20the\x20decimal\x20with\x20leading\x20zero\x20footnotes\x20style':'تبديل\x20العلامة\x20العشرية\x20بنمط\x20الحواشي\x20السفلية\x20بالصفر\x20البادئ','Decimal\x20footnotes\x20with\x20leading\x20zero':'حواشي\x20سفلية\x20عشرية\x20بالصفر\x20البادئ','Lower–roman\x20footnotes':'الحواشي\x20السفلية\x20الرومانية','Upper-roman\x20footnotes':'الحواشي\x20العلوية\x20الرومانية','Lower-latin\x20footnotes':'الحواشي\x20السفلية\x20اللاتينية','Upper-latin\x20footnotes':'الحواشي\x20العلوية\x20اللاتينية','Toggle\x20the\x20lower–roman\x20footnotes\x20style':'تبديل\x20نمط\x20الحواشي\x20السفلية\x20الرومانية','Toggle\x20the\x20upper–roman\x20footnotes\x20style':'تبديل\x20نمط\x20الحواشي\x20العلوية\x20الرومانية','Toggle\x20the\x20lower–latin\x20footnotes\x20style':'تبديل\x20نمط\x20الحواشي\x20السفلية\x20اللاتينية','Toggle\x20the\x20upper–latin\x20footnotes\x20style':'تبديل\x20نمط\x20الحواشي\x20العلوية\x20اللاتينية'},'getPluralForm':_0x16da1b=>0x0==_0x16da1b?0x0:0x1==_0x16da1b?0x1:0x2==_0x16da1b?0x2:_0x16da1b%0x64>=0x3&&_0x16da1b%0x64<=0xa?0x3:_0x16da1b%0x64>=0xb?0x4:0x5}};_0x22e8f9['ar']||={'dictionary':{},'getPluralForm':null},_0x22e8f9['ar']['dictionary']=Object['assign'](_0x22e8f9['ar']['dictionary'],_0x9709de),_0x22e8f9['ar']['getPluralForm']=_0x1e5b8c;})(window['CKEDITOR_TRANSLATIONS']||={});
23
+ (_0x3822e8=>{const {ar:{dictionary:_0x2b0e77,getPluralForm:_0x4dd30f}}={'ar':{'dictionary':{'Footnote':'حاشية\x20سفلية','Footnotes':'الحواشي\x20السفلية','Footnotes\x20properties':'خصائص\x20الحواشي\x20السفلية','Footnotes\x20start\x20at':'تبدأ\x20الحواشي\x20السفلية\x20من','Invalid\x20footnotes\x20start\x20index\x20value.':'قيمة\x20مؤشر\x20بداية\x20الحواشي\x20السفلية\x20غير\x20صحيحة.','Footnotes\x20start\x20index\x20is\x20too\x20large.':'مؤشر\x20بداية\x20الحواشي\x20السفلية\x20كبير\x20للغاية.','Footnotes\x20start\x20index\x20must\x20be\x20greater\x20than\x200.':'يلزم\x20أن\x20يكون\x20مؤشر\x20بداية\x20الحواشي\x20السفلية\x20أكبر\x20من\x200.','Footnote\x20%0.\x20Press\x20ENTER\x20to\x20jump\x20to\x20footnote\x20definition.':'حاشية\x20سفلية\x20%0.\x20اضغط\x20على\x20مفتاح\x20الإدخال\x20(ENTER)\x20من\x20أجل\x20الانتقال\x20إلى\x20تعريف\x20الحاشية\x20السفلية.','Footnote\x20content.':'محتوى\x20الحاشية\x20السفلية.','Footnotes\x20definitions\x20styles':'أنماط\x20تعريفات\x20الحواشي\x20السفلية','Footnotes\x20definitions\x20toolbar':'شريط\x20أدوات\x20تعريفات\x20الحواشي\x20السفلية','Insert\x20footnote':'إدراج\x20حاشية\x20سفلية','Footnotes\x20style':'نمط\x20الحواشي\x20السفلية','Toggle\x20the\x20decimal\x20footnotes\x20style':'تبديل\x20نمط\x20الحواشي\x20السفلية\x20العشري','Decimal\x20footnotes':'الحواشي\x20السفلية\x20العشرية','Toggle\x20the\x20decimal\x20with\x20leading\x20zero\x20footnotes\x20style':'تبديل\x20العلامة\x20العشرية\x20بنمط\x20الحواشي\x20السفلية\x20بالصفر\x20البادئ','Decimal\x20footnotes\x20with\x20leading\x20zero':'حواشي\x20سفلية\x20عشرية\x20بالصفر\x20البادئ','Lower–roman\x20footnotes':'الحواشي\x20السفلية\x20الرومانية','Upper-roman\x20footnotes':'الحواشي\x20العلوية\x20الرومانية','Lower-latin\x20footnotes':'الحواشي\x20السفلية\x20اللاتينية','Upper-latin\x20footnotes':'الحواشي\x20العلوية\x20اللاتينية','Toggle\x20the\x20lower–roman\x20footnotes\x20style':'تبديل\x20نمط\x20الحواشي\x20السفلية\x20الرومانية','Toggle\x20the\x20upper–roman\x20footnotes\x20style':'تبديل\x20نمط\x20الحواشي\x20العلوية\x20الرومانية','Toggle\x20the\x20lower–latin\x20footnotes\x20style':'تبديل\x20نمط\x20الحواشي\x20السفلية\x20اللاتينية','Toggle\x20the\x20upper–latin\x20footnotes\x20style':'تبديل\x20نمط\x20الحواشي\x20العلوية\x20اللاتينية'},'getPluralForm':_0x27ec2a=>0x0==_0x27ec2a?0x0:0x1==_0x27ec2a?0x1:0x2==_0x27ec2a?0x2:_0x27ec2a%0x64>=0x3&&_0x27ec2a%0x64<=0xa?0x3:_0x27ec2a%0x64>=0xb?0x4:0x5}};_0x3822e8['ar']||={'dictionary':{},'getPluralForm':null},_0x3822e8['ar']['dictionary']=Object['assign'](_0x3822e8['ar']['dictionary'],_0x2b0e77),_0x3822e8['ar']['getPluralForm']=_0x4dd30f;})(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':'','Lower–roman\x20footnotes':'','Upper-roman\x20footnotes':'','Lower-latin\x20footnotes':'','Upper-latin\x20footnotes':'','Toggle\x20the\x20lower–roman\x20footnotes\x20style':'','Toggle\x20the\x20upper–roman\x20footnotes\x20style':'','Toggle\x20the\x20lower–latin\x20footnotes\x20style':'','Toggle\x20the\x20upper–latin\x20footnotes\x20style':''},'getPluralForm':_0x2e91cd=>0x1!=_0x2e91cd}};
23
+ export default{'ast':{'dictionary':{'Footnote':'','Footnotes':'','Footnotes\x20properties':'','Footnotes\x20start\x20at':'','Invalid\x20footnotes\x20start\x20index\x20value.':'','Footnotes\x20start\x20index\x20is\x20too\x20large.':'','Footnotes\x20start\x20index\x20must\x20be\x20greater\x20than\x200.':'','Footnote\x20%0.\x20Press\x20ENTER\x20to\x20jump\x20to\x20footnote\x20definition.':'','Footnote\x20content.':'','Footnotes\x20definitions\x20styles':'','Footnotes\x20definitions\x20toolbar':'','Insert\x20footnote':'','Footnotes\x20style':'','Toggle\x20the\x20decimal\x20footnotes\x20style':'','Decimal\x20footnotes':'','Toggle\x20the\x20decimal\x20with\x20leading\x20zero\x20footnotes\x20style':'','Decimal\x20footnotes\x20with\x20leading\x20zero':'','Lower–roman\x20footnotes':'','Upper-roman\x20footnotes':'','Lower-latin\x20footnotes':'','Upper-latin\x20footnotes':'','Toggle\x20the\x20lower–roman\x20footnotes\x20style':'','Toggle\x20the\x20upper–roman\x20footnotes\x20style':'','Toggle\x20the\x20lower–latin\x20footnotes\x20style':'','Toggle\x20the\x20upper–latin\x20footnotes\x20style':''},'getPluralForm':_0x45640a=>0x1!=_0x45640a}};
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- (_0x51226b=>{const {ast:{dictionary:_0x5b5ece,getPluralForm:_0x934e4e}}={'ast':{'dictionary':{'Footnote':'','Footnotes':'','Footnotes\x20properties':'','Footnotes\x20start\x20at':'','Invalid\x20footnotes\x20start\x20index\x20value.':'','Footnotes\x20start\x20index\x20is\x20too\x20large.':'','Footnotes\x20start\x20index\x20must\x20be\x20greater\x20than\x200.':'','Footnote\x20%0.\x20Press\x20ENTER\x20to\x20jump\x20to\x20footnote\x20definition.':'','Footnote\x20content.':'','Footnotes\x20definitions\x20styles':'','Footnotes\x20definitions\x20toolbar':'','Insert\x20footnote':'','Footnotes\x20style':'','Toggle\x20the\x20decimal\x20footnotes\x20style':'','Decimal\x20footnotes':'','Toggle\x20the\x20decimal\x20with\x20leading\x20zero\x20footnotes\x20style':'','Decimal\x20footnotes\x20with\x20leading\x20zero':'','Lower–roman\x20footnotes':'','Upper-roman\x20footnotes':'','Lower-latin\x20footnotes':'','Upper-latin\x20footnotes':'','Toggle\x20the\x20lower–roman\x20footnotes\x20style':'','Toggle\x20the\x20upper–roman\x20footnotes\x20style':'','Toggle\x20the\x20lower–latin\x20footnotes\x20style':'','Toggle\x20the\x20upper–latin\x20footnotes\x20style':''},'getPluralForm':_0x3db3fb=>0x1!=_0x3db3fb}};_0x51226b['ast']||={'dictionary':{},'getPluralForm':null},_0x51226b['ast']['dictionary']=Object['assign'](_0x51226b['ast']['dictionary'],_0x5b5ece),_0x51226b['ast']['getPluralForm']=_0x934e4e;})(window['CKEDITOR_TRANSLATIONS']||={});
23
+ (_0x1d0c8f=>{const {ast:{dictionary:_0xb8ebd8,getPluralForm:_0x579cfc}}={'ast':{'dictionary':{'Footnote':'','Footnotes':'','Footnotes\x20properties':'','Footnotes\x20start\x20at':'','Invalid\x20footnotes\x20start\x20index\x20value.':'','Footnotes\x20start\x20index\x20is\x20too\x20large.':'','Footnotes\x20start\x20index\x20must\x20be\x20greater\x20than\x200.':'','Footnote\x20%0.\x20Press\x20ENTER\x20to\x20jump\x20to\x20footnote\x20definition.':'','Footnote\x20content.':'','Footnotes\x20definitions\x20styles':'','Footnotes\x20definitions\x20toolbar':'','Insert\x20footnote':'','Footnotes\x20style':'','Toggle\x20the\x20decimal\x20footnotes\x20style':'','Decimal\x20footnotes':'','Toggle\x20the\x20decimal\x20with\x20leading\x20zero\x20footnotes\x20style':'','Decimal\x20footnotes\x20with\x20leading\x20zero':'','Lower–roman\x20footnotes':'','Upper-roman\x20footnotes':'','Lower-latin\x20footnotes':'','Upper-latin\x20footnotes':'','Toggle\x20the\x20lower–roman\x20footnotes\x20style':'','Toggle\x20the\x20upper–roman\x20footnotes\x20style':'','Toggle\x20the\x20lower–latin\x20footnotes\x20style':'','Toggle\x20the\x20upper–latin\x20footnotes\x20style':''},'getPluralForm':_0xb78078=>0x1!=_0xb78078}};_0x1d0c8f['ast']||={'dictionary':{},'getPluralForm':null},_0x1d0c8f['ast']['dictionary']=Object['assign'](_0x1d0c8f['ast']['dictionary'],_0xb8ebd8),_0x1d0c8f['ast']['getPluralForm']=_0x579cfc;})(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':'','Lower–roman\x20footnotes':'','Upper-roman\x20footnotes':'','Lower-latin\x20footnotes':'','Upper-latin\x20footnotes':'','Toggle\x20the\x20lower–roman\x20footnotes\x20style':'','Toggle\x20the\x20upper–roman\x20footnotes\x20style':'','Toggle\x20the\x20lower–latin\x20footnotes\x20style':'','Toggle\x20the\x20upper–latin\x20footnotes\x20style':''},'getPluralForm':_0x35a669=>0x1!=_0x35a669}};
23
+ export default{'az':{'dictionary':{'Footnote':'','Footnotes':'','Footnotes\x20properties':'','Footnotes\x20start\x20at':'','Invalid\x20footnotes\x20start\x20index\x20value.':'','Footnotes\x20start\x20index\x20is\x20too\x20large.':'','Footnotes\x20start\x20index\x20must\x20be\x20greater\x20than\x200.':'','Footnote\x20%0.\x20Press\x20ENTER\x20to\x20jump\x20to\x20footnote\x20definition.':'','Footnote\x20content.':'','Footnotes\x20definitions\x20styles':'','Footnotes\x20definitions\x20toolbar':'','Insert\x20footnote':'','Footnotes\x20style':'','Toggle\x20the\x20decimal\x20footnotes\x20style':'','Decimal\x20footnotes':'','Toggle\x20the\x20decimal\x20with\x20leading\x20zero\x20footnotes\x20style':'','Decimal\x20footnotes\x20with\x20leading\x20zero':'','Lower–roman\x20footnotes':'','Upper-roman\x20footnotes':'','Lower-latin\x20footnotes':'','Upper-latin\x20footnotes':'','Toggle\x20the\x20lower–roman\x20footnotes\x20style':'','Toggle\x20the\x20upper–roman\x20footnotes\x20style':'','Toggle\x20the\x20lower–latin\x20footnotes\x20style':'','Toggle\x20the\x20upper–latin\x20footnotes\x20style':''},'getPluralForm':_0x5a85d5=>0x1!=_0x5a85d5}};
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- (_0x3462a5=>{const {az:{dictionary:_0x3a9ba7,getPluralForm:_0x599f96}}={'az':{'dictionary':{'Footnote':'','Footnotes':'','Footnotes\x20properties':'','Footnotes\x20start\x20at':'','Invalid\x20footnotes\x20start\x20index\x20value.':'','Footnotes\x20start\x20index\x20is\x20too\x20large.':'','Footnotes\x20start\x20index\x20must\x20be\x20greater\x20than\x200.':'','Footnote\x20%0.\x20Press\x20ENTER\x20to\x20jump\x20to\x20footnote\x20definition.':'','Footnote\x20content.':'','Footnotes\x20definitions\x20styles':'','Footnotes\x20definitions\x20toolbar':'','Insert\x20footnote':'','Footnotes\x20style':'','Toggle\x20the\x20decimal\x20footnotes\x20style':'','Decimal\x20footnotes':'','Toggle\x20the\x20decimal\x20with\x20leading\x20zero\x20footnotes\x20style':'','Decimal\x20footnotes\x20with\x20leading\x20zero':'','Lower–roman\x20footnotes':'','Upper-roman\x20footnotes':'','Lower-latin\x20footnotes':'','Upper-latin\x20footnotes':'','Toggle\x20the\x20lower–roman\x20footnotes\x20style':'','Toggle\x20the\x20upper–roman\x20footnotes\x20style':'','Toggle\x20the\x20lower–latin\x20footnotes\x20style':'','Toggle\x20the\x20upper–latin\x20footnotes\x20style':''},'getPluralForm':_0x20a721=>0x1!=_0x20a721}};_0x3462a5['az']||={'dictionary':{},'getPluralForm':null},_0x3462a5['az']['dictionary']=Object['assign'](_0x3462a5['az']['dictionary'],_0x3a9ba7),_0x3462a5['az']['getPluralForm']=_0x599f96;})(window['CKEDITOR_TRANSLATIONS']||={});
23
+ (_0x23959b=>{const {az:{dictionary:_0x4db4f6,getPluralForm:_0x16bfd0}}={'az':{'dictionary':{'Footnote':'','Footnotes':'','Footnotes\x20properties':'','Footnotes\x20start\x20at':'','Invalid\x20footnotes\x20start\x20index\x20value.':'','Footnotes\x20start\x20index\x20is\x20too\x20large.':'','Footnotes\x20start\x20index\x20must\x20be\x20greater\x20than\x200.':'','Footnote\x20%0.\x20Press\x20ENTER\x20to\x20jump\x20to\x20footnote\x20definition.':'','Footnote\x20content.':'','Footnotes\x20definitions\x20styles':'','Footnotes\x20definitions\x20toolbar':'','Insert\x20footnote':'','Footnotes\x20style':'','Toggle\x20the\x20decimal\x20footnotes\x20style':'','Decimal\x20footnotes':'','Toggle\x20the\x20decimal\x20with\x20leading\x20zero\x20footnotes\x20style':'','Decimal\x20footnotes\x20with\x20leading\x20zero':'','Lower–roman\x20footnotes':'','Upper-roman\x20footnotes':'','Lower-latin\x20footnotes':'','Upper-latin\x20footnotes':'','Toggle\x20the\x20lower–roman\x20footnotes\x20style':'','Toggle\x20the\x20upper–roman\x20footnotes\x20style':'','Toggle\x20the\x20lower–latin\x20footnotes\x20style':'','Toggle\x20the\x20upper–latin\x20footnotes\x20style':''},'getPluralForm':_0x59ae45=>0x1!=_0x59ae45}};_0x23959b['az']||={'dictionary':{},'getPluralForm':null},_0x23959b['az']['dictionary']=Object['assign'](_0x23959b['az']['dictionary'],_0x4db4f6),_0x23959b['az']['getPluralForm']=_0x16bfd0;})(window['CKEDITOR_TRANSLATIONS']||={});
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- export default{'be':{'dictionary':{'Footnote':'','Footnotes':'','Footnotes\x20properties':'','Footnotes\x20start\x20at':'','Invalid\x20footnotes\x20start\x20index\x20value.':'','Footnotes\x20start\x20index\x20is\x20too\x20large.':'','Footnotes\x20start\x20index\x20must\x20be\x20greater\x20than\x200.':'','Footnote\x20%0.\x20Press\x20ENTER\x20to\x20jump\x20to\x20footnote\x20definition.':'','Footnote\x20content.':'','Footnotes\x20definitions\x20styles':'','Footnotes\x20definitions\x20toolbar':'','Insert\x20footnote':'','Footnotes\x20style':'','Toggle\x20the\x20decimal\x20footnotes\x20style':'','Decimal\x20footnotes':'','Toggle\x20the\x20decimal\x20with\x20leading\x20zero\x20footnotes\x20style':'','Decimal\x20footnotes\x20with\x20leading\x20zero':'','Lower–roman\x20footnotes':'','Upper-roman\x20footnotes':'','Lower-latin\x20footnotes':'','Upper-latin\x20footnotes':'','Toggle\x20the\x20lower–roman\x20footnotes\x20style':'','Toggle\x20the\x20upper–roman\x20footnotes\x20style':'','Toggle\x20the\x20lower–latin\x20footnotes\x20style':'','Toggle\x20the\x20upper–latin\x20footnotes\x20style':''},'getPluralForm':_0x25e3c3=>_0x25e3c3%0xa==0x1&&_0x25e3c3%0x64!=0xb?0x0:_0x25e3c3%0xa>=0x2&&_0x25e3c3%0xa<=0x4&&(_0x25e3c3%0x64<0xa||_0x25e3c3%0x64>=0x14)?0x1:0x2}};
23
+ export default{'be':{'dictionary':{'Footnote':'','Footnotes':'','Footnotes\x20properties':'','Footnotes\x20start\x20at':'','Invalid\x20footnotes\x20start\x20index\x20value.':'','Footnotes\x20start\x20index\x20is\x20too\x20large.':'','Footnotes\x20start\x20index\x20must\x20be\x20greater\x20than\x200.':'','Footnote\x20%0.\x20Press\x20ENTER\x20to\x20jump\x20to\x20footnote\x20definition.':'','Footnote\x20content.':'','Footnotes\x20definitions\x20styles':'','Footnotes\x20definitions\x20toolbar':'','Insert\x20footnote':'','Footnotes\x20style':'','Toggle\x20the\x20decimal\x20footnotes\x20style':'','Decimal\x20footnotes':'','Toggle\x20the\x20decimal\x20with\x20leading\x20zero\x20footnotes\x20style':'','Decimal\x20footnotes\x20with\x20leading\x20zero':'','Lower–roman\x20footnotes':'','Upper-roman\x20footnotes':'','Lower-latin\x20footnotes':'','Upper-latin\x20footnotes':'','Toggle\x20the\x20lower–roman\x20footnotes\x20style':'','Toggle\x20the\x20upper–roman\x20footnotes\x20style':'','Toggle\x20the\x20lower–latin\x20footnotes\x20style':'','Toggle\x20the\x20upper–latin\x20footnotes\x20style':''},'getPluralForm':_0x45c682=>_0x45c682%0xa==0x1&&_0x45c682%0x64!=0xb?0x0:_0x45c682%0xa>=0x2&&_0x45c682%0xa<=0x4&&(_0x45c682%0x64<0xa||_0x45c682%0x64>=0x14)?0x1:0x2}};