@ckeditor/ckeditor5-footnotes 47.5.0-alpha.4 → 47.5.0-alpha.6

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 _0x22932d,Command as _0x35fe5e}from'@ckeditor/ckeditor5-core/dist/index.js';import{toWidget as _0xcfc6d5,isWidget as _0x526906,toWidgetEditable as _0x5563f,WidgetToolbarRepository as _0x51b7eb}from'@ckeditor/ckeditor5-widget/dist/index.js';import{uid as _0x28567c,logWarning as _0x305bc7,FocusTracker as rt,KeystrokeHandler as nt,global as at}from'@ckeditor/ckeditor5-utils/dist/index.js';import{PointerObserver as _0x5fbd1,ClickObserver as _0x1f2027}from'@ckeditor/ckeditor5-engine/dist/index.js';import{ClipboardPipeline as _0x1ca48c}from'@ckeditor/ckeditor5-clipboard/dist/index.js';import{MenuBarMenuListItemButtonView as _0x2ca2ec,ButtonView as _0x295c20,View as _0x30d034,ViewCollection as _0x276d50,FocusCycler as tt,addKeyboardHandlingForGrid as st,CollapsibleView as it,LabeledFieldView as et,createLabeledInputNumber as ot,ContextualBalloon as _0x3de55f,BalloonPanelView as _0x214aeb,createDropdown as _0x1d0c43}from'@ckeditor/ckeditor5-ui/dist/index.js';import{IconFootnote as _0xd6817,IconListStyleDecimal as _0x838114,IconListStyleDecimalLeadingZero as _0xe3534,IconListStyleLowerRoman as _0x539df2,IconListStyleUpperRoman as _0x2d045b,IconListStyleLowerLatin as _0x57e3d6,IconListStyleUpperLatin as _0x4dd14f}from'@ckeditor/ckeditor5-icons/dist/index.js';class F{['_model'];['_elementName'];['_getElementKey'];['_trackedElements']=new Map();constructor(_0x47ca37,_0x2b32c6){this['_model']=_0x47ca37,this['_elementName']=_0x2b32c6['elementName'],this['_getElementKey']=_0x2b32c6['getElementKey'];}['reset'](){this['_trackedElements']['clear']();}['getChanges'](_0x591399){const _0x23ecec=new Set(),_0x4fd701=new Map();for(const _0x4ff918 of _0x591399){if('insert'===_0x4ff918['type']&&'$text'!==_0x4ff918['name']&&_0x4ff918['position']['nodeAfter']){const _0x32c18a=this['_model']['createRangeOn'](_0x4ff918['position']['nodeAfter']);for(const _0x285b37 of _0x32c18a['getItems']()){if(!_0x285b37['is']('element',this['_elementName']))continue;const _0x137398=this['_getElementKey'](_0x285b37);_0x4fd701['has'](_0x137398)||_0x4fd701['set'](_0x137398,[]),_0x4fd701['get'](_0x137398)['push'](_0x285b37);}}if('remove'===_0x4ff918['type']&&_0x4ff918['name']===this['_elementName']){const _0x12ba43=this['_getElementKey']({'getAttribute':_0x1a6387=>_0x4ff918['attributes']['get'](_0x1a6387)});_0x23ecec['add'](_0x12ba43);}}for(const [_0x2427d9,_0x9da422]of this['_trackedElements'])'$graveyard'===_0x9da422['root']['rootName']&&_0x23ecec['add'](_0x2427d9);for(const _0x299860 of _0x23ecec)this['_trackedElements']['delete'](_0x299860);for(const [_0x61cef5,_0x19324d]of _0x4fd701)this['_trackedElements']['set'](_0x61cef5,_0x19324d[_0x19324d['length']-0x1]);const _0x372716=new Set();for(const [_0x36c72e,_0x7f132f]of _0x4fd701)_0x23ecec['has'](_0x36c72e)&&(_0x372716['add'](_0x7f132f[0x0]),_0x7f132f['length']>0x1?_0x4fd701['set'](_0x36c72e,_0x7f132f['slice'](0x1)):_0x4fd701['delete'](_0x36c72e),_0x23ecec['delete'](_0x36c72e));return{'removed':Array['from'](_0x23ecec),'inserted':Array['from'](_0x4fd701['values']())['flat'](),'moved':Array['from'](_0x372716)};}}class f extends _0x22932d{['_footnotes']=[];['_footnotesDefinitions']=null;['_footnoteFormatter']=null;['_footnoteDefsContainerTracker'];['_footnoteRefsTracker'];['_footnoteDefsTracker'];static get['pluginName'](){return'FootnotesTracker';}static get['isOfficialPlugin'](){return!0x0;}static get['isPremiumPlugin'](){return!0x0;}constructor(_0xf00d39){super(_0xf00d39),this['_footnoteDefsContainerTracker']=new F(this['editor']['model'],{'elementName':'footnotesDefinitions','getElementKey':()=>'singleton'}),this['_footnoteRefsTracker']=new F(this['editor']['model'],{'elementName':'footnoteRef','getElementKey':_0x3594bb=>_0x3594bb['getAttribute']('footnoteId')}),this['_footnoteDefsTracker']=new F(this['editor']['model'],{'elementName':'footnoteDefinition','getElementKey':_0x435a1e=>_0x435a1e['getAttribute']('footnoteId')});}['init'](){const {editor:_0x53c318}=this,{model:_0x567456,data:_0x1f829b}=_0x53c318;_0x567456['document']['registerPostFixer'](_0x17e7d4=>{const _0x7b393c=_0x567456['document']['differ']['getChanges']();let _0x455151=!0x1;return this['_handleFootnotesDefinitionsObjectChanges'](_0x17e7d4,_0x7b393c)&&(_0x455151=!0x0),this['_handleFootnoteDefinitionsChanges'](_0x17e7d4,_0x7b393c)&&(_0x455151=!0x0),this['_handleFootnoteReferencesChanges'](_0x17e7d4,_0x7b393c)&&(_0x455151=!0x0),this['_ensureFootnotesReferencesHaveProperOrder'](_0x17e7d4)&&(_0x455151=!0x0),this['_handleFootnotesDefinitionsObjectSync'](_0x17e7d4)&&(_0x455151=!0x0),this['_sortFootnoteDefinitions'](_0x17e7d4)&&(_0x455151=!0x0),_0x455151;}),this['listenTo'](_0x567456['document'],'change:data',()=>{_0x567456['enqueueChange']({'isUndoable':!0x1},_0x1e8bd1=>{this['_ensureFootnotesDefinitionsContainerExists'](_0x1e8bd1);});},{'priority':'low'}),this['listenTo'](_0x1f829b,'set',()=>{this['_footnotes']=[],this['_footnoteDefsContainerTracker']['reset'](),this['_footnoteRefsTracker']['reset'](),this['_footnoteDefsTracker']['reset']();},{'priority':'high'});}['getFootnotesDefinitionsObjectElement'](){return this['_footnotesDefinitions'];}['getFootnote'](_0x26d2e2){return this['_footnotes']['find'](_0x57d6df=>_0x57d6df['id']===_0x26d2e2)||null;}['getFootnotes'](){return Array['from'](this['_footnotes']);}['getFootnotesFormatter'](){return this['_footnoteFormatter'];}['setFootnoteFormatter'](_0x4b5bb0){this['_footnoteFormatter']=_0x4b5bb0;}['_updateFootnotesCounters'](_0x3e7f23,_0x23cd95=0x0){let _0xa3c86c=!0x1;for(let _0x4747ea=_0x23cd95;_0x4747ea<this['_footnotes']['length'];_0x4747ea++)this['_updateFootnoteRefCounter'](_0x3e7f23,_0x4747ea)&&(_0xa3c86c=!0x0);return _0xa3c86c;}['_insertEmptyFootnotesDefinitionsContainer'](_0x2b1ece,_0x1e0442){const _0x3b2506=_0x2b1ece['createElement']('footnotesDefinitions',{});return _0x2b1ece['append'](_0x3b2506,_0x1e0442),this['_footnotesDefinitions']=_0x3b2506,_0x3b2506;}['_ensureFootnotesDefinitionsContainerExists'](_0x1ee64b){if(!this['_footnotes']['length']||this['_footnotesDefinitions'])return;const _0x4c476a=this['_footnotes'][0x0]['reference']['root'],_0x29767e=this['_insertEmptyFootnotesDefinitionsContainer'](_0x1ee64b,_0x4c476a);for(const _0x1721ca of this['_footnotes'])_0x1721ca['definition']['parent']||_0x1ee64b['insert'](_0x1721ca['definition'],_0x29767e,'end');this['_updateFootnotesCounters'](_0x1ee64b);}['_handleFootnotesDefinitionsObjectChanges'](_0x583719,_0x5859b4){let _0x15737b=!0x1;const {inserted:_0x5c5453,removed:_0x4857e4,moved:_0x2441cd}=this['_footnoteDefsContainerTracker']['getChanges'](_0x5859b4);if(_0x2441cd['length']&&(this['_footnotesDefinitions']=_0x2441cd[0x0]),_0x5c5453['length']){if(_0x5c5453['length']>0x1||this['_footnotesDefinitions']&&_0x5c5453['some'](_0x2c1bd0=>_0x2c1bd0!==this['_footnotesDefinitions'])){const _0x29769e=_0x583719['createElement']('footnotesDefinitions',{}),_0x46b842=[];this['_footnotesDefinitions']&&_0x46b842['push'](this['_footnotesDefinitions']),_0x46b842['push'](..._0x5c5453),_0x583719['insert'](_0x29769e,_0x46b842[0x0],'before');for(const _0x2247f1 of _0x46b842)_0x583719['move'](_0x583719['createRangeIn'](_0x2247f1),_0x583719['createPositionAt'](_0x29769e,'end')),_0x583719['remove'](_0x2247f1);this['_footnotesDefinitions']=_0x29769e,this['_updateFootnotesCounters'](_0x583719),_0x15737b=!0x0;}else this['_footnotesDefinitions']=_0x5c5453[0x0];}if(_0x4857e4['length']&&'$graveyard'===this['_footnotesDefinitions']?.['root']['rootName']){for(const _0x266aa9 of this['_footnotes'])_0x583719['remove'](_0x266aa9['reference']),_0x15737b=!0x0;this['_footnotes']=[],this['_footnotesDefinitions']=null;}return _0x15737b;}['_handleFootnoteDefinitionsChanges'](_0x5cd471,_0xf5b548){let _0x98881e=!0x1;const _0x47fef0=this['editor']['config']['get']('footnotes.multiBlock'),{inserted:_0x3a5a4f,moved:_0x863419}=this['_footnoteDefsTracker']['getChanges'](_0xf5b548);for(const _0x1a32e1 of[..._0x863419,..._0x3a5a4f]){const _0x5e1593=_0x1a32e1['getAttribute']('footnoteId'),_0x52f808=this['getFootnote'](_0x5e1593);_0x52f808&&(_0x52f808['definition']=_0x1a32e1),_(_0x5cd471,_0x47fef0,_0x1a32e1)&&(_0x98881e=!0x0);}return _0x98881e;}['_handleFootnoteReferencesChanges'](_0x21d8ef,_0x448e41){let _0x3aa39d=!0x1;const {removed:_0x9b2027,inserted:_0x10147d,moved:_0x36a09c}=this['_footnoteRefsTracker']['getChanges'](_0x448e41);for(const _0x3ce2bc of _0x9b2027)this['_handleRemoveFootnoteReferenceById'](_0x21d8ef,_0x3ce2bc)&&(_0x3aa39d=!0x0);for(const _0x3f9e78 of _0x10147d)this['_handleInsertedFootnoteReference'](_0x21d8ef,_0x3f9e78)&&(_0x3aa39d=!0x0);for(const _0x4e77d0 of _0x36a09c)this['_handleMovedFootnoteReference'](_0x21d8ef,_0x4e77d0)&&(_0x3aa39d=!0x0);return _0x3aa39d;}['_handleFootnotesDefinitionsObjectSync'](_0x4a6246){if(!this['_footnotesDefinitions'])return!0x1;let _0x192630=!0x1;if(this['_footnotesDefinitions']['childCount']!==this['_footnotes']['length']){const _0x28e9c3=[];for(const _0x5aab64 of this['_footnotesDefinitions']['getChildren']()){const _0x598d34=_0x5aab64['getAttribute']('footnoteId');this['getFootnote'](_0x598d34)||(_0x28e9c3['unshift'](_0x5aab64),_0x192630=!0x0);}for(const _0x208875 of _0x28e9c3)_0x4a6246['remove'](_0x208875);}const _0x44562d=new Set(),_0x10093f=[];for(const _0x2ece18 of this['_footnotesDefinitions']['getChildren']()){const _0x4140a2=_0x2ece18['getAttribute']('footnoteId');_0x44562d['has'](_0x4140a2)?(_0x10093f['unshift'](_0x2ece18),_0x192630=!0x0):_0x44562d['add'](_0x4140a2);}for(const _0x514e89 of _0x10093f)_0x4a6246['remove'](_0x514e89);return this['_footnotesDefinitions']['childCount']||(_0x4a6246['remove'](this['_footnotesDefinitions']),this['_footnotesDefinitions']=null,_0x192630=!0x0),_0x192630;}['_handleInsertedFootnoteReference'](_0x15eae4,_0x408dca){if(this['_footnotes']['find'](_0x3455dc=>_0x3455dc['reference']===_0x408dca))return!0x1;let _0x37b562=!0x1;const _0x52c031=_0x408dca['getAttribute']('footnoteId'),_0x46ca2e=this['_footnotes']['findIndex'](_0x5add99=>_0x5add99['id']===_0x52c031);-0x1!==_0x46ca2e&&(_0x15eae4['remove'](this['_footnotes'][_0x46ca2e]['reference']),this['_footnotes']['splice'](_0x46ca2e,0x1),_0x37b562=!0x0);let _0x115bf3=this['_footnotesDefinitions']?function(_0x534e8d,_0x49d31e){for(const _0x12d606 of _0x534e8d['getChildren']())if(_0x12d606['getAttribute']('footnoteId')===_0x49d31e)return _0x12d606;return null;}(this['_footnotesDefinitions'],_0x52c031):null;_0x115bf3||(_0x115bf3=_0x15eae4['createElement']('footnoteDefinition',{'footnoteId':_0x52c031}),this['_footnotesDefinitions']&&(_0x15eae4['insert'](_0x115bf3,this['_footnotesDefinitions'],'end'),_0x37b562=!0x0));const _0x3810f1={'id':_0x52c031,'reference':_0x408dca,'definition':_0x115bf3},_0x249663=I(this['editor']['model'],this['_footnotes'],_0x408dca);this['_footnotes']['splice'](_0x249663,0x0,_0x3810f1);let _0xe3d9b0=_0x249663;return-0x1!==_0x46ca2e&&(_0xe3d9b0=Math['min'](_0x249663,_0x46ca2e)),this['_updateFootnotesCounters'](_0x15eae4,_0xe3d9b0)&&(_0x37b562=!0x0),_0x37b562;}['_handleRemoveFootnoteReferenceById'](_0x17119a,_0x5a9752){const _0xab1570=this['_footnotes']['findIndex'](_0x4a579f=>_0x4a579f['id']===_0x5a9752);if(-0x1===_0xab1570)return!0x1;let _0x38e1f9=!0x1;const _0x2696ea=this['_footnotes'][_0xab1570];return'$graveyard'!==_0x2696ea['definition']['root']['rootName']&&(_0x17119a['remove'](_0x2696ea['definition']),_0x38e1f9=!0x0),this['_footnotes']['splice'](_0xab1570,0x1),this['_updateFootnotesCounters'](_0x17119a,_0xab1570)&&(_0x38e1f9=!0x0),_0x38e1f9;}['_handleMovedFootnoteReference'](_0x2341b1,_0x4d9e0e){const _0x585ddb=_0x4d9e0e['getAttribute']('footnoteId'),_0x2290ae=this['_footnotes']['findIndex'](_0x36fc7f=>_0x36fc7f['id']===_0x585ddb),_0x219b2d=this['_footnotes'][_0x2290ae];let _0x1072bb=!0x1;_0x219b2d['reference']=_0x4d9e0e,this['_footnotes']['splice'](_0x2290ae,0x1);const _0x2a4a92=I(this['editor']['model'],this['_footnotes'],_0x4d9e0e);return this['_footnotes']['splice'](_0x2a4a92,0x0,_0x219b2d),this['_updateFootnotesCounters'](_0x2341b1,Math['min'](_0x2290ae,_0x2a4a92))&&(_0x1072bb=!0x0),_0x1072bb;}['_updateFootnoteRefCounter'](_0x1de996,_0x104864){if(!this['_footnotesDefinitions'])return!0x1;const _0x3c853f=this['_footnotes'][_0x104864];let _0x5dd3a5;return _0x5dd3a5=this['_footnoteFormatter']?this['_footnoteFormatter']({'footnote':_0x3c853f,'container':this['_footnotesDefinitions'],'digits':String(this['_footnotes']['length'])['length'],'value':_0x104864+0x1}):String(_0x104864+0x1),_0x3c853f['reference']['getAttribute']('footnoteCounter')!=_0x5dd3a5&&(_0x1de996['setAttribute']('footnoteCounter',_0x5dd3a5,_0x3c853f['reference']),!0x0);}['_sortFootnoteDefinitions'](_0x5bbd64){if(!this['_footnotesDefinitions']||this['_footnotes']['length']<0x2)return!0x1;if(function(_0x3b2485,_0x2ebbd2){if(_0x3b2485['length']!==_0x2ebbd2['length'])return!0x1;for(let _0x24325b=0x0;_0x24325b<_0x3b2485['length'];_0x24325b++)if(_0x3b2485[_0x24325b]!==_0x2ebbd2[_0x24325b])return!0x1;return!0x0;}(this['_footnotes']['map'](_0x454380=>_0x454380['id']),Array['from'](this['_footnotesDefinitions']['getChildren']())['map'](_0x4879bf=>_0x4879bf['getAttribute']('footnoteId'))))return!0x1;let _0x20b14e=!0x1;for(let _0x44064d=0x0;_0x44064d<this['_footnotes']['length'];_0x44064d++){const _0x1d71c6=this['_footnotes'][_0x44064d],_0x5ee177=_0x5bbd64['createPositionBefore'](_0x1d71c6['definition']),_0x237dc2=_0x5bbd64['createPositionAt'](this['_footnotesDefinitions'],_0x44064d);_0x5ee177['isEqual'](_0x237dc2)||(_0x5bbd64['move'](_0x5bbd64['createRangeOn'](_0x1d71c6['definition']),_0x237dc2),_0x20b14e=!0x0);}return _0x20b14e;}['_ensureFootnotesReferencesHaveProperOrder'](_0x441cea){if(!this['_footnotes']['length'])return!0x1;const {model:_0x1b17b9}=this['editor'];let _0x3ad17c=!0x1;for(let _0x2f08f9=0x0;_0x2f08f9<this['_footnotes']['length']-0x1;_0x2f08f9++){const _0x30d19a=this['_footnotes'][_0x2f08f9],_0x32d174=this['_footnotes'][_0x2f08f9+0x1],_0x12b3f8=_0x1b17b9['createPositionBefore'](_0x30d19a['reference']),_0x566357=_0x1b17b9['createPositionBefore'](_0x32d174['reference']);'after'===_0x12b3f8['compareWith'](_0x566357)&&(this['_handleMovedFootnoteReference'](_0x441cea,_0x30d19a['reference']),_0x2f08f9=-0x1,_0x3ad17c=!0x0);}return _0x3ad17c;}}function _(_0x15d06c,_0x55bee8,_0x59f299){if(_0x59f299['childCount'])return!0x1;const _0x4266f2=_0x55bee8?'paragraph':'footnoteInlineContent';return _0x15d06c['insert'](_0x15d06c['createElement'](_0x4266f2),_0x59f299),!0x0;}function I(_0xcac98a,_0xdd6f86,_0x3790b6){if(0x0===_0xdd6f86['length'])return 0x0;const _0x157d03=_0xcac98a['createPositionBefore'](_0x3790b6);for(let _0x3b84c2=0x0;_0x3b84c2<_0xdd6f86['length'];_0x3b84c2++){const _0x44ef75=_0xdd6f86[_0x3b84c2],_0x6881db=_0xcac98a['createPositionBefore'](_0x44ef75['reference']);if('before'===_0x157d03['compareWith'](_0x6881db))return _0x3b84c2;}const _0x1b87ba=_0x3790b6['root'];let _0x59b013=-0x1;for(let _0x1ccdf2=_0xdd6f86['length']-0x1;_0x1ccdf2>=0x0;_0x1ccdf2--)if(_0xdd6f86[_0x1ccdf2]['reference']['root']===_0x1b87ba){_0x59b013=_0x1ccdf2;break;}if(-0x1!==_0x59b013)return _0x59b013+0x1;const _0x241fde=_0xcac98a['document']['getRootNames'](),_0x4b6be2=_0x241fde['indexOf'](_0x1b87ba['rootName']),_0x2960e6=_0x241fde[_0x4b6be2+0x1];if(_0x2960e6){for(let _0x3c8ecd=0x0;_0x3c8ecd<_0xdd6f86['length'];_0x3c8ecd++)if(_0xdd6f86[_0x3c8ecd]['reference']['root']['rootName']===_0x2960e6)return _0x3c8ecd;}return _0xdd6f86['length'];}class h extends _0x35fe5e{['refresh'](){const _0x311586=this['editor']['model']['document']['selection'],_0x5bcd24=this['_getPositionToInsertFootnote'](_0x311586);this['isEnabled']=!!_0x5bcd24;}['execute'](_0x516ed4){const {editor:_0x1ccae7}=this,{model:_0x5ee5b4}=_0x1ccae7,{selection:_0x1d8a42}=_0x5ee5b4['document'],_0x3c47ea=this['_getPositionToInsertFootnote'](_0x1d8a42);if(!_0x3c47ea)return;const _0x510ac0=_0x1ccae7['plugins']['get']('FootnotesEditing'),_0x4c1e21=_0x516ed4?.['footnoteId']??_0x28567c();!function(_0x4cb095){return'string'==typeof _0x4cb095&&_0x4cb095['length']>0x0&&!/\s/['test'](_0x4cb095)&&!/^\d/['test'](_0x4cb095);}(_0x4c1e21)?_0x305bc7('insert-footnote-command-executed-with-invalid-id'):(_0x5ee5b4['change'](_0x3ba49d=>{const _0x1e4e5e=_0x3ba49d['createElement']('footnoteRef',{'footnoteId':_0x4c1e21});_0x5ee5b4['insertObject'](_0x1e4e5e,_0x3c47ea,null);}),_0x510ac0['_moveSelectionToFootnoteDefinition'](_0x4c1e21));}['_getPositionToInsertFootnote'](_0x26bdd0){const {model:_0x4afd18}=this['editor'],{schema:_0x1f6a6c}=_0x4afd18,_0x4b6ac6=_0x26bdd0['getFirstRange']();for(const _0x24302d of _0x4b6ac6['getItems']())if(_0x1f6a6c['isBlock'](_0x24302d)||_0x1f6a6c['isObject'](_0x24302d))return null;const _0x2eb5dc=_0x4b6ac6['end'];return _0x1f6a6c['checkChild'](_0x2eb5dc,'footnoteRef')?_0x2eb5dc:null;}}class r extends _0x22932d{static get['pluginName'](){return'FootnotesEditing';}static get['requires'](){return[f];}static get['isOfficialPlugin'](){return!0x0;}static get['isPremiumPlugin'](){return!0x0;}['init'](){const {editor:_0x51ed43}=this;_0x51ed43['config']['define']('footnotes.multiBlock',!0x0),_0x51ed43['commands']['add']('insertFootnote',new h(_0x51ed43)),this['_defineSchema'](),this['_defineRefsConverters'](),this['_defineDefinitionsConverters'](),this['_defineDefinitionConverters'](),this['_defineBogusParagraphConverters'](),this['_defineKeyboardHandlers'](),this['_defineClickHandlers']();}['afterInit'](){!async function(_0x9cf48){const _0x39fcbe=_0x2cdec1([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]),_0x3fd1b5=0x47a28506,_0x195b28=0x47a50426^_0x3fd1b5,_0x52bbdb=window[_0x2cdec1([0x44,0x61,0x74,0x65])][_0x2cdec1([0x6e,0x6f,0x77])](),_0x30b4a7=_0x9cf48[_0x2cdec1([0x65,0x64,0x69,0x74,0x6f,0x72])],_0x1cd1a5=new window[(_0x2cdec1([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0x418446=>{_0x30b4a7[_0x2cdec1([0x6f,0x6e,0x63,0x65])](_0x2cdec1([0x72,0x65,0x61,0x64,0x79]),_0x418446);}),_0x751143={[_0x2cdec1([0x6b,0x74,0x79])]:_0x2cdec1([0x45,0x43]),[_0x2cdec1([0x75,0x73,0x65])]:_0x2cdec1([0x73,0x69,0x67]),[_0x2cdec1([0x63,0x72,0x76])]:_0x2cdec1([0x50,0x2d,0x32,0x35,0x36]),[_0x2cdec1([0x78])]:_0x2cdec1([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]),[_0x2cdec1([0x79])]:_0x2cdec1([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]),[_0x2cdec1([0x61,0x6c,0x67])]:_0x2cdec1([0x45,0x53,0x32,0x35,0x36])},_0x417e71=_0x30b4a7[_0x2cdec1([0x63,0x6f,0x6e,0x66,0x69,0x67])][_0x2cdec1([0x67,0x65,0x74])](_0x2cdec1([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x4b,0x65,0x79]));async function _0xd43e(){let _0x3cf83c,_0xa49484=null,_0xf2f832=null;try{if(_0x417e71==_0x2cdec1([0x47,0x50,0x4c]))return _0x2cdec1([0x4e,0x6f,0x74,0x41,0x6c,0x6c,0x6f,0x77,0x65,0x64]);if(_0x3cf83c=_0x514019(),!_0x3cf83c)return _0x2cdec1([0x49,0x6e,0x76,0x61,0x6c,0x69,0x64]);return _0x3cf83c[_0x2cdec1([0x75,0x73,0x61,0x67,0x65,0x45,0x6e,0x64,0x70,0x6f,0x69,0x6e,0x74])]&&(_0xf2f832=_0x3d0528(_0x3cf83c[_0x2cdec1([0x75,0x73,0x61,0x67,0x65,0x45,0x6e,0x64,0x70,0x6f,0x69,0x6e,0x74])],_0x3cf83c[_0x2cdec1([0x6a,0x74,0x69])])),await _0x2165a4()?_0x13376f()?_0x11a857()?_0x2cdec1([0x45,0x78,0x70,0x69,0x72,0x65,0x64]):_0x3233ad()?(_0x3cf83c[_0x2cdec1([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x54,0x79,0x70,0x65])]==_0x2cdec1([0x65,0x76,0x61,0x6c,0x75,0x61,0x74,0x69,0x6f,0x6e])&&(_0xa49484=_0xed79a7(_0x2cdec1([0x45,0x76,0x61,0x6c,0x75,0x61,0x74,0x69,0x6f,0x6e,0x4c,0x69,0x6d,0x69,0x74]))),await _0x1da228()):_0x2cdec1([0x44,0x6f,0x6d,0x61,0x69,0x6e,0x4c,0x69,0x6d,0x69,0x74]):_0x2cdec1([0x4e,0x6f,0x74,0x41,0x6c,0x6c,0x6f,0x77,0x65,0x64]):_0x2cdec1([0x49,0x6e,0x76,0x61,0x6c,0x69,0x64]);}catch{return _0x2cdec1([0x49,0x6e,0x76,0x61,0x6c,0x69,0x64]);}function _0x11a857(){const _0x4e97b1=[_0x2cdec1([0x65,0x76,0x61,0x6c,0x75,0x61,0x74,0x69,0x6f,0x6e]),_0x2cdec1([0x74,0x72,0x69,0x61,0x6c])][_0x2cdec1([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x3cf83c[_0x2cdec1([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x54,0x79,0x70,0x65])])?_0x52bbdb/0x3e8:0xe10*_0x195b28;return _0x3cf83c[_0x2cdec1([0x65,0x78,0x70])]<_0x4e97b1;}function _0x13376f(){const _0x443831=_0x3cf83c[_0x2cdec1([0x66,0x65,0x61,0x74,0x75,0x72,0x65,0x73])];return!!_0x443831&&(!!_0x443831[_0x2cdec1([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x2cdec1([0x2a]))||!!_0x443831[_0x2cdec1([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x2cdec1([0x46,0x4f,0x4f])));}function _0x3233ad(){const _0x816059=_0x3cf83c[_0x2cdec1([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x64,0x48,0x6f,0x73,0x74,0x73])];if(!_0x816059||0x0==_0x816059[_0x2cdec1([0x6c,0x65,0x6e,0x67,0x74,0x68])])return!0x0;const {hostname:_0x2cb230}=new URL(window[_0x2cdec1([0x6c,0x6f,0x63,0x61,0x74,0x69,0x6f,0x6e])]['href']);if(_0x816059[_0x2cdec1([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x2cb230))return!0x0;const _0xaea870=_0x2cb230[_0x2cdec1([0x73,0x70,0x6c,0x69,0x74])](_0x2cdec1([0x2e]));return _0x816059[_0x2cdec1([0x66,0x69,0x6c,0x74,0x65,0x72])](_0x14205c=>_0x14205c[_0x2cdec1([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x2cdec1([0x2a])))[_0x2cdec1([0x6d,0x61,0x70])](_0x315f26=>_0x315f26[_0x2cdec1([0x73,0x70,0x6c,0x69,0x74])](_0x2cdec1([0x2e])))[_0x2cdec1([0x66,0x69,0x6c,0x74,0x65,0x72])](_0x38d3a4=>_0x38d3a4[_0x2cdec1([0x6c,0x65,0x6e,0x67,0x74,0x68])]<=_0xaea870[_0x2cdec1([0x6c,0x65,0x6e,0x67,0x74,0x68])])[_0x2cdec1([0x6d,0x61,0x70])](_0x3a59e9=>Array(_0xaea870[_0x2cdec1([0x6c,0x65,0x6e,0x67,0x74,0x68])]-_0x3a59e9[_0x2cdec1([0x6c,0x65,0x6e,0x67,0x74,0x68])])[_0x2cdec1([0x66,0x69,0x6c,0x6c])](_0x3a59e9[0x0]===_0x2cdec1([0x2a])?_0x2cdec1([0x2a]):'')[_0x2cdec1([0x63,0x6f,0x6e,0x63,0x61,0x74])](_0x3a59e9))[_0x2cdec1([0x73,0x6f,0x6d,0x65])](_0xea1652=>_0xaea870[_0x2cdec1([0x65,0x76,0x65,0x72,0x79])]((_0x5ea955,_0x4b75b8)=>_0xea1652[_0x4b75b8]===_0x5ea955||_0xea1652[_0x4b75b8]===_0x2cdec1([0x2a])));}function _0x1da228(){return _0xa49484&&_0xf2f832?new window[(_0x2cdec1([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))]((_0x45ee67,_0x488700)=>{_0xa49484[_0x2cdec1([0x74,0x68,0x65,0x6e])](_0x45ee67,_0x488700),_0xf2f832[_0x2cdec1([0x74,0x68,0x65,0x6e])](_0x522ea7=>{_0x522ea7!=_0x2cdec1([0x56,0x61,0x6c,0x69,0x64])&&_0x45ee67(_0x522ea7);},_0x488700);}):_0xa49484||_0xf2f832||_0x2cdec1([0x56,0x61,0x6c,0x69,0x64]);}}function _0x3d0528(_0x4916c4,_0x51e6cc){return new window[(_0x2cdec1([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0x29cac6=>{if(_0x331b3f())return _0x29cac6(_0x2cdec1([0x56,0x61,0x6c,0x69,0x64]));_0x29221c(),_0x30b4a7[_0x2cdec1([0x64,0x65,0x63,0x6f,0x72,0x61,0x74,0x65])](_0x2cdec1([0x5f,0x73,0x65,0x6e,0x64,0x55,0x73,0x61,0x67,0x65,0x52,0x65,0x71,0x75,0x65,0x73,0x74]));let _0x2972bd=!0x1;const _0x4d657c=_0x28567c();function _0x4f0c8d(_0x342b9e){return!!_0x342b9e&&(typeof _0x342b9e===_0x2cdec1([0x6f,0x62,0x6a,0x65,0x63,0x74])||typeof _0x342b9e===_0x2cdec1([0x66,0x75,0x6e,0x63,0x74,0x69,0x6f,0x6e]))&&typeof _0x342b9e[_0x2cdec1([0x74,0x68,0x65,0x6e])]===_0x2cdec1([0x66,0x75,0x6e,0x63,0x74,0x69,0x6f,0x6e])&&typeof _0x342b9e[_0x2cdec1([0x63,0x61,0x74,0x63,0x68])]===_0x2cdec1([0x66,0x75,0x6e,0x63,0x74,0x69,0x6f,0x6e]);}function _0x2249b2(_0x3bf2c7){_0x529902(_0x3bf2c7)[_0x2cdec1([0x74,0x68,0x65,0x6e])](_0x3aa885=>{if(!_0x3aa885||_0x3aa885[_0x2cdec1([0x73,0x74,0x61,0x74,0x75,0x73])]!=_0x2cdec1([0x6f,0x6b]))return _0x2cdec1([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]);return _0x5f3082(_0x180501(_0x4d657c+_0x51e6cc))!=_0x3aa885[_0x2cdec1([0x76,0x65,0x72,0x69,0x66,0x69,0x63,0x61,0x74,0x69,0x6f,0x6e])]?_0x2cdec1([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]):_0x2cdec1([0x56,0x61,0x6c,0x69,0x64]);})[_0x2cdec1([0x74,0x68,0x65,0x6e])](_0x60b817=>(_0x42ddc4(),_0x60b817),()=>{const _0x1210f4=_0x35e59a();return null==_0x1210f4?(_0x42ddc4(),_0x2cdec1([0x56,0x61,0x6c,0x69,0x64])):_0x2cdec1(_0x52bbdb-_0x1210f4>(0x63ae0106^_0x3fd1b5)?[0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]:[0x56,0x61,0x6c,0x69,0x64]);})[_0x2cdec1([0x74,0x68,0x65,0x6e])](_0x29cac6)[_0x2cdec1([0x63,0x61,0x74,0x63,0x68])](()=>{_0x29cac6(_0x2cdec1([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]));});const _0x85b58a=0x47946b86^_0x3fd1b5;function _0x42ddc4(){const _0x237cc6=_0x2cdec1([0x6c,0x6c,0x63,0x74,0x2d])+_0x5f3082(_0x180501(_0x4916c4)),_0x1aa565=_0x1d8940(_0x5f3082(window[_0x2cdec1([0x4d,0x61,0x74,0x68])][_0x2cdec1([0x63,0x65,0x69,0x6c])](_0x52bbdb/_0x85b58a)));window[_0x2cdec1([0x6c,0x6f,0x63,0x61,0x6c,0x53,0x74,0x6f,0x72,0x61,0x67,0x65])][_0x2cdec1([0x73,0x65,0x74,0x49,0x74,0x65,0x6d])](_0x237cc6,_0x1aa565);}function _0x35e59a(){const _0x4242ac=_0x2cdec1([0x6c,0x6c,0x63,0x74,0x2d])+_0x5f3082(_0x180501(_0x4916c4)),_0xea53bd=window[_0x2cdec1([0x6c,0x6f,0x63,0x61,0x6c,0x53,0x74,0x6f,0x72,0x61,0x67,0x65])][_0x2cdec1([0x67,0x65,0x74,0x49,0x74,0x65,0x6d])](_0x4242ac);return _0xea53bd?window[_0x2cdec1([0x70,0x61,0x72,0x73,0x65,0x49,0x6e,0x74])](_0x1d8940(_0xea53bd),0x10)*_0x85b58a:null;}function _0x529902(_0x300f41){return new window[(_0x2cdec1([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))]((_0x4cacf6,_0x5fba28)=>{_0x300f41[_0x2cdec1([0x74,0x68,0x65,0x6e])](_0x4cacf6,_0x5fba28),window[_0x2cdec1([0x73,0x65,0x74,0x54,0x69,0x6d,0x65,0x6f,0x75,0x74])](_0x5fba28,0x47a351c6^_0x3fd1b5);});}}_0x30b4a7[_0x2cdec1([0x6f,0x6e])](_0x2cdec1([0x5f,0x73,0x65,0x6e,0x64,0x55,0x73,0x61,0x67,0x65,0x52,0x65,0x71,0x75,0x65,0x73,0x74]),(_0x2f630a,_0x3815a8)=>{if(_0x3815a8[0x0]!=_0x4916c4)return _0x29cac6(_0x2cdec1([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]));_0x3815a8[0x1]={..._0x3815a8[0x1],[_0x2cdec1([0x72,0x65,0x71,0x75,0x65,0x73,0x74,0x49,0x64])]:_0x4d657c};},{[_0x2cdec1([0x70,0x72,0x69,0x6f,0x72,0x69,0x74,0x79])]:_0x2cdec1([0x68,0x69,0x67,0x68])}),_0x30b4a7[_0x2cdec1([0x6f,0x6e])](_0x2cdec1([0x5f,0x73,0x65,0x6e,0x64,0x55,0x73,0x61,0x67,0x65,0x52,0x65,0x71,0x75,0x65,0x73,0x74]),_0x26879c=>{_0x4f0c8d(_0x26879c[_0x2cdec1([0x72,0x65,0x74,0x75,0x72,0x6e])])&&(_0x2972bd=!0x0,_0x2249b2(_0x26879c[_0x2cdec1([0x72,0x65,0x74,0x75,0x72,0x6e])]));},{[_0x2cdec1([0x70,0x72,0x69,0x6f,0x72,0x69,0x74,0x79])]:_0x2cdec1([0x6c,0x6f,0x77])}),_0x1cd1a5[_0x2cdec1([0x74,0x68,0x65,0x6e])](()=>{_0x2972bd||_0x29cac6(_0x2cdec1([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]));});});function _0x331b3f(){return _0x30b4a7[_0x2cdec1([0x65,0x64,0x69,0x74,0x69,0x6e,0x67])][_0x2cdec1([0x76,0x69,0x65,0x77])][_0x2cdec1([0x5f,0x6f,0x76,0x65,0x72,0x6c,0x61,0x79,0x4d,0x6f,0x64,0x65,0x48,0x69,0x6e,0x74])]==_0x2cdec1([0x61,0x75,0x74,0x6f]);}function _0x29221c(){_0x30b4a7[_0x2cdec1([0x65,0x64,0x69,0x74,0x69,0x6e,0x67])][_0x2cdec1([0x76,0x69,0x65,0x77])][_0x2cdec1([0x5f,0x6f,0x76,0x65,0x72,0x6c,0x61,0x79,0x4d,0x6f,0x64,0x65,0x48,0x69,0x6e,0x74])]=_0x2cdec1([0x61,0x75,0x74,0x6f]);}}function _0xed79a7(_0x417f06){const _0x4ebf9f=[new window[(_0x2cdec1([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0x2787e=>setTimeout(_0x2787e,0x47abbbca^_0x3fd1b5)),_0x1cd1a5[_0x2cdec1([0x74,0x68,0x65,0x6e])](()=>new window[(_0x2cdec1([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0x3bd6e1=>{let _0xd734ab=0x0;_0x30b4a7[_0x2cdec1([0x6d,0x6f,0x64,0x65,0x6c])][_0x2cdec1([0x6f,0x6e])](_0x2cdec1([0x61,0x70,0x70,0x6c,0x79,0x4f,0x70,0x65,0x72,0x61,0x74,0x69,0x6f,0x6e]),(_0xd82e13,_0x478aea)=>{_0x478aea[0x0][_0x2cdec1([0x69,0x73,0x44,0x6f,0x63,0x75,0x6d,0x65,0x6e,0x74,0x4f,0x70,0x65,0x72,0x61,0x74,0x69,0x6f,0x6e])]&&_0xd734ab++,_0xd734ab==(0x47a280ee^_0x3fd1b5)&&(_0x3bd6e1(),_0xd82e13[_0x2cdec1([0x6f,0x66,0x66])]());});}))];return window[_0x2cdec1([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65])][_0x2cdec1([0x72,0x61,0x63,0x65])](_0x4ebf9f)[_0x2cdec1([0x74,0x68,0x65,0x6e])](()=>_0x417f06);}async function _0x12913c(){await _0x1cd1a5,_0x30b4a7[_0x2cdec1([0x6d,0x6f,0x64,0x65,0x6c])][_0x2cdec1([0x63,0x68,0x61,0x6e,0x67,0x65])]=_0x4ec60e,_0x30b4a7[_0x2cdec1([0x6d,0x6f,0x64,0x65,0x6c])][_0x2cdec1([0x65,0x6e,0x71,0x75,0x65,0x75,0x65,0x43,0x68,0x61,0x6e,0x67,0x65])]=_0x4ec60e,_0x30b4a7[_0x2cdec1([0x65,0x6e,0x61,0x62,0x6c,0x65,0x52,0x65,0x61,0x64,0x4f,0x6e,0x6c,0x79,0x4d,0x6f,0x64,0x65])](_0x2cdec1([0x6d,0x6f,0x64,0x65,0x6c]));}function _0x39b196(_0x2def99){const _0x49e18f=_0x738caf();_0x30b4a7[_0x49e18f]=_0x2cdec1([0x66,0x6f,0x6f,0x74,0x6e,0x6f,0x74,0x65,0x73,0x4c,0x69,0x63,0x65,0x6e,0x73,0x65,0x4b,0x65,0x79])+_0x2def99,_0x2def99!=_0x2cdec1([0x56,0x61,0x6c,0x69,0x64])&&_0x12913c();}function _0x738caf(){const _0x4912d9=window[_0x2cdec1([0x53,0x74,0x72,0x69,0x6e,0x67])](window[_0x2cdec1([0x70,0x65,0x72,0x66,0x6f,0x72,0x6d,0x61,0x6e,0x63,0x65])][_0x2cdec1([0x6e,0x6f,0x77])]())[_0x2cdec1([0x72,0x65,0x70,0x6c,0x61,0x63,0x65])](_0x2cdec1([0x2e]),'');let _0x577f95=_0x2cdec1([0x75]);for(let _0x5b4d94=0x0;_0x5b4d94<_0x4912d9[_0x2cdec1([0x6c,0x65,0x6e,0x67,0x74,0x68])];_0x5b4d94+=0x2){let _0x503169=window[_0x2cdec1([0x70,0x61,0x72,0x73,0x65,0x49,0x6e,0x74])](_0x4912d9[_0x2cdec1([0x73,0x75,0x62,0x73,0x74,0x72,0x69,0x6e,0x67])](_0x5b4d94,_0x5b4d94+0x2));_0x503169>=_0x39fcbe[_0x2cdec1([0x6c,0x65,0x6e,0x67,0x74,0x68])]&&(_0x503169-=_0x39fcbe[_0x2cdec1([0x6c,0x65,0x6e,0x67,0x74,0x68])]),_0x577f95+=_0x39fcbe[_0x503169];}return _0x577f95;}function _0x514019(){const _0x230567=_0x417e71[_0x2cdec1([0x73,0x70,0x6c,0x69,0x74])](_0x2cdec1([0x2e]));if(0x3!=_0x230567[_0x2cdec1([0x6c,0x65,0x6e,0x67,0x74,0x68])])return null;return _0x162d20(_0x230567[0x1]);function _0x162d20(_0x515d89){const _0x55e4cf=_0x1fd172(_0x515d89);return _0x55e4cf&&_0x1e9ec8()?_0x55e4cf:null;function _0x1e9ec8(){const _0x2e7586=_0x55e4cf[_0x2cdec1([0x6a,0x74,0x69])],_0x30b8a9=window[_0x2cdec1([0x70,0x61,0x72,0x73,0x65,0x49,0x6e,0x74])](_0x2e7586[_0x2cdec1([0x73,0x75,0x62,0x73,0x74,0x72,0x69,0x6e,0x67])](_0x2e7586[_0x2cdec1([0x6c,0x65,0x6e,0x67,0x74,0x68])]-0x8),0x10),_0x5b04f8={..._0x55e4cf,[_0x2cdec1([0x6a,0x74,0x69])]:_0x2e7586[_0x2cdec1([0x73,0x75,0x62,0x73,0x74,0x72,0x69,0x6e,0x67])](0x0,_0x2e7586[_0x2cdec1([0x6c,0x65,0x6e,0x67,0x74,0x68])]-0x8)};return delete _0x5b04f8[_0x2cdec1([0x76,0x63])],_0x180501(_0x5b04f8)==_0x30b8a9;}}}async function _0x2165a4(){let _0x146d3b=!0x0;try{const _0x162e33=_0x417e71[_0x2cdec1([0x73,0x70,0x6c,0x69,0x74])](_0x2cdec1([0x2e])),[_0x228d52,_0x16fedc,_0x1fb09c]=_0x162e33;return _0x1c8bf6(_0x228d52),await _0x30605d(_0x228d52,_0x16fedc,_0x1fb09c),_0x146d3b;}catch{return!0x1;}function _0x1c8bf6(_0x5a3782){const _0xcee323=_0x1fd172(_0x5a3782);_0xcee323&&_0xcee323[_0x2cdec1([0x61,0x6c,0x67])]==_0x2cdec1([0x45,0x53,0x32,0x35,0x36])||(_0x146d3b=!0x1);}async function _0x30605d(_0x3446a1,_0x3d71bc,_0x419862){const _0x4cf0d6=window[_0x2cdec1([0x55,0x69,0x6e,0x74,0x38,0x41,0x72,0x72,0x61,0x79])][_0x2cdec1([0x66,0x72,0x6f,0x6d])](_0x1c0853(_0x419862),_0x4d7d70=>_0x4d7d70[_0x2cdec1([0x63,0x68,0x61,0x72,0x43,0x6f,0x64,0x65,0x41,0x74])](0x0)),_0x4fd449=new window[(_0x2cdec1([0x54,0x65,0x78,0x74,0x45,0x6e,0x63,0x6f,0x64,0x65,0x72]))]()[_0x2cdec1([0x65,0x6e,0x63,0x6f,0x64,0x65])](_0x3446a1+_0x2cdec1([0x2e])+_0x3d71bc),_0x1579d9=window[_0x2cdec1([0x63,0x72,0x79,0x70,0x74,0x6f])][_0x2cdec1([0x73,0x75,0x62,0x74,0x6c,0x65])];if(!_0x1579d9)return;const _0x24c1af=await _0x1579d9[_0x2cdec1([0x69,0x6d,0x70,0x6f,0x72,0x74,0x4b,0x65,0x79])](_0x2cdec1([0x6a,0x77,0x6b]),_0x751143,{[_0x2cdec1([0x6e,0x61,0x6d,0x65])]:_0x2cdec1([0x45,0x43,0x44,0x53,0x41]),[_0x2cdec1([0x6e,0x61,0x6d,0x65,0x64,0x43,0x75,0x72,0x76,0x65])]:_0x2cdec1([0x50,0x2d,0x32,0x35,0x36])},!0x1,[_0x2cdec1([0x76,0x65,0x72,0x69,0x66,0x79])]);await _0x1579d9[_0x2cdec1([0x76,0x65,0x72,0x69,0x66,0x79])]({[_0x2cdec1([0x6e,0x61,0x6d,0x65])]:_0x2cdec1([0x45,0x43,0x44,0x53,0x41]),[_0x2cdec1([0x68,0x61,0x73,0x68])]:{[_0x2cdec1([0x6e,0x61,0x6d,0x65])]:_0x2cdec1([0x53,0x48,0x41,0x2d,0x32,0x35,0x36])}},_0x24c1af,_0x4cf0d6,_0x4fd449)||(_0x146d3b=!0x1);}}function _0x1fd172(_0x34b6a3){return _0x34b6a3[_0x2cdec1([0x73,0x74,0x61,0x72,0x74,0x73,0x57,0x69,0x74,0x68])](_0x2cdec1([0x65,0x79]))?JSON[_0x2cdec1([0x70,0x61,0x72,0x73,0x65])](_0x1c0853(_0x34b6a3)):null;}function _0x1c0853(_0x296f68){return window[_0x2cdec1([0x61,0x74,0x6f,0x62])](_0x296f68[_0x2cdec1([0x72,0x65,0x70,0x6c,0x61,0x63,0x65])](/-/g,_0x2cdec1([0x2b]))[_0x2cdec1([0x72,0x65,0x70,0x6c,0x61,0x63,0x65])](/_/g,_0x2cdec1([0x2f])));}function _0x180501(_0x329242){let _0x3f63f8=0x1505;function _0x34ecdf(_0x452b6a){for(let _0x44db50=0x0;_0x44db50<_0x452b6a[_0x2cdec1([0x6c,0x65,0x6e,0x67,0x74,0x68])];_0x44db50++){const _0x28cda3=_0x452b6a[_0x2cdec1([0x63,0x68,0x61,0x72,0x43,0x6f,0x64,0x65,0x41,0x74])](_0x44db50);_0x3f63f8=(_0x3f63f8<<0x5)+_0x3f63f8+_0x28cda3,_0x3f63f8&=_0x3f63f8;}}function _0x2069f2(_0x55f5a2){Array[_0x2cdec1([0x69,0x73,0x41,0x72,0x72,0x61,0x79])](_0x55f5a2)?_0x55f5a2[_0x2cdec1([0x66,0x6f,0x72,0x45,0x61,0x63,0x68])](_0x2069f2):_0x55f5a2&&typeof _0x55f5a2==_0x2cdec1([0x6f,0x62,0x6a,0x65,0x63,0x74])?Object[_0x2cdec1([0x65,0x6e,0x74,0x72,0x69,0x65,0x73])](_0x55f5a2)[_0x2cdec1([0x73,0x6f,0x72,0x74])]()[_0x2cdec1([0x66,0x6f,0x72,0x45,0x61,0x63,0x68])](([_0x28ea8e,_0xfc03f2])=>{_0x34ecdf(_0x28ea8e),_0x2069f2(_0xfc03f2);}):_0x34ecdf(window[_0x2cdec1([0x53,0x74,0x72,0x69,0x6e,0x67])](_0x55f5a2));}return _0x2069f2(_0x329242),_0x3f63f8>>>0x0;}function _0x5f3082(_0x531a65){return _0x531a65[_0x2cdec1([0x74,0x6f,0x53,0x74,0x72,0x69,0x6e,0x67])](0x10)[_0x2cdec1([0x70,0x61,0x64,0x53,0x74,0x61,0x72,0x74])](0x8,_0x2cdec1([0x30]));}function _0x1d8940(_0x504f3f){return _0x504f3f[_0x2cdec1([0x73,0x70,0x6c,0x69,0x74])]('')[_0x2cdec1([0x72,0x65,0x76,0x65,0x72,0x73,0x65])]()[_0x2cdec1([0x6a,0x6f,0x69,0x6e])]('');}function _0x4ec60e(){}function _0x2cdec1(_0x5f56cc){return _0x5f56cc['map'](_0x780901=>String['fromCharCode'](_0x780901))['join']('');}_0x39b196(await _0xd43e());}(this);}['_moveSelectionToFootnoteDefinition'](_0x3a64f5){const {plugins:_0x575887,editing:_0x35cf48,model:_0x56c84d}=this['editor'],_0x300d11=_0x575887['get'](f)['getFootnote'](_0x3a64f5);return!!_0x300d11&&(_0x56c84d['change'](_0x50d4e1=>{_0x50d4e1['setSelection'](_0x50d4e1['createPositionAt'](_0x300d11['definition'],'end'));}),_0x35cf48['view']['scrollToTheSelection'](),!0x0);}['_moveSelectionToFootnoteReference'](_0x228cd8){const {plugins:_0x368d48,editing:_0x102b57,model:_0x242da2}=this['editor'],_0x346531=_0x368d48['get'](f)['getFootnote'](_0x228cd8);return!!_0x346531&&(_0x242da2['change'](_0x7aa862=>{_0x7aa862['setSelection'](_0x346531['reference'],'on');}),_0x102b57['view']['scrollToTheSelection'](),!0x0);}['_defineSchema'](){const {schema:_0x50f990}=this['editor']['model'],_0x19fdb6=this['editor']['config']['get']('footnotes.multiBlock');_0x50f990['register']('footnoteRef',{'inheritAllFrom':'$inlineObject','allowAttributes':['footnoteId','footnoteCounter']}),_0x50f990['register']('footnotesDefinitions',{'inheritAllFrom':'$blockObject','allowChildren':['footnoteDefinition']}),_0x50f990['register']('footnoteDefinition',{'allowAttributes':['footnoteId'],'disallowAttributes':['listItemId'],'isLimit':!0x0}),_0x19fdb6?_0x50f990['extend']('footnoteDefinition',{'allowContentOf':'$container'}):_0x50f990['register']('footnoteInlineContent',{'allowIn':'footnoteDefinition','allowContentOf':'$block','isLimit':!0x0}),_0x50f990['addChildCheck'](_0x57db78=>{for(const _0x570bfe of _0x57db78)if('footnoteDefinition'===_0x570bfe['name'])return!0x1;},'footnoteRef');}['_defineRefsConverters'](){const {editor:_0x43673d}=this,{conversion:_0xad0a1,editing:_0x38ba96}=_0x43673d,{t:t}=_0x43673d['locale'];_0xad0a1['for']('upcast')['elementToElement']({'view':{'name':'sup','classes':'footnote'},'model':(_0x8b0346,{writer:_0x5b1c5d,consumable:_0xd5e36a})=>{const _0x1f0f36=_0x8b0346['getChild'](0x0);if(!_0x1f0f36||!_0x1f0f36['is']('element','a'))return null;const _0x197664=_0x1f0f36['getAttribute']('href')||'';if(!_0x197664['startsWith']('#'))return null;const _0x37a756=_0x197664['replace'](/^#/,'');if(!_0x37a756)return null;_0xd5e36a['consume'](_0x1f0f36,{'name':!0x0,'attributes':['href']});for(const {item:_0x27c590}of _0x38ba96['view']['createRangeIn'](_0x1f0f36))_0x27c590['is']('$textProxy')?_0xd5e36a['consume'](_0x27c590['textNode'],{'name':!0x0}):_0x27c590['is']('element')&&_0xd5e36a['consume'](_0x27c590,{'name':!0x0});return _0x5b1c5d['createElement']('footnoteRef',{'footnoteId':_0x37a756});}}),_0xad0a1['for']('dataDowncast')['elementToElement']({'model':{'name':'footnoteRef','attributes':['footnoteId','footnoteCounter']},'view':(_0x2c8ebc,{writer:_0x52a901})=>b(_0x2c8ebc,_0x52a901)}),_0xad0a1['for']('editingDowncast')['elementToElement']({'model':{'name':'footnoteRef','attributes':['footnoteId','footnoteCounter']},'view':(_0x301918,{writer:_0x513f19})=>{const _0x2671ba=_0x301918['getAttribute']('footnoteCounter');return _0xcfc6d5(b(_0x301918,_0x513f19),_0x513f19,{'label':t('Footnote\x20%0.\x20Press\x20ENTER\x20to\x20jump\x20to\x20footnote\x20definition.',_0x2671ba)});}});}['_defineDefinitionsConverters'](){const {editor:_0x5a6895}=this,{t:t}=_0x5a6895['locale'],{conversion:_0x48c99e}=_0x5a6895;_0x48c99e['for']('upcast')['elementToElement']({'view':{'name':'div','classes':'footnotes'},'model':'footnotesDefinitions'}),_0x48c99e['for']('upcast')['add'](_0xe429f=>{_0xe429f['on']('element:ol',(_0x10e7b8,_0x502810,_0x46e4fd)=>{const _0x9e7801=_0x502810['viewItem'];if(!_0x9e7801['hasClass']('footnotes-list')||!_0x502810['modelCursor']['parent']?.['is']('element','footnotesDefinitions'))return;if(!_0x46e4fd['consumable']['consume'](_0x9e7801,{'name':!0x0,'classes':'footnotes-list'}))return;const {modelRange:_0x5cff70,modelCursor:_0x7669a8}=_0x46e4fd['convertChildren'](_0x502810['viewItem'],_0x502810['modelCursor']);_0x502810['modelRange']=_0x5cff70,_0x502810['modelCursor']=_0x7669a8;}),_0xe429f['on']('element:hr',(_0x324f06,_0x4fb869,_0x4b5493)=>{const _0xae57f4=_0x4fb869['viewItem'];_0xae57f4['hasClass']('footnotes-divider')&&_0x4fb869['modelCursor']['parent']?.['is']('element','footnotesDefinitions')&&_0x4b5493['consumable']['consume'](_0xae57f4,{'name':!0x0,'classes':'footnotes-divider'});});}),_0x48c99e['for']('dataDowncast')['elementToStructure']({'model':'footnotesDefinitions','view':(_0x4daf2d,{writer:_0x17f4ae})=>D(_0x17f4ae)}),_0x48c99e['for']('editingDowncast')['elementToStructure']({'model':'footnotesDefinitions','view':(_0x23559a,{writer:_0x51d254})=>{const _0xdca077=D(_0x51d254,{'data-footnotes-list-label':t('Footnotes')}),_0x34cb58=_0xcfc6d5(_0xdca077,_0x51d254,{'hasSelectionHandle':!0x0,'label':t('Footnotes')});return _0x51d254['setCustomProperty']('footnotesDefinitions',!0x0,_0x34cb58),_0x34cb58;}});}['_defineDefinitionConverters'](){const {editor:_0x3814a4}=this,{conversion:_0x320dd6,locale:_0x2b4fbd}=_0x3814a4,_0x63a7be=_0x3814a4['config']['get']('footnotes.multiBlock');_0x320dd6['for']('upcast')['add'](_0x5c1b65=>{_0x5c1b65['on']('element:li',(_0x42ad38,_0xfaca76,_0x17486f)=>{const _0x3ee19a=_0xfaca76['viewItem'];if(!_0x3ee19a['hasClass']('footnote-definition')||!_0x3ee19a['getAttribute']('id'))return;const _0x169f10=_0x3ee19a['parent'];if(!_0x169f10['is']('element','ol')||!_0x169f10['hasClass']('footnotes-list'))return;if(!_0x17486f['consumable']['test'](_0x3ee19a,{'name':!0x0,'attributes':'id','classes':'footnote-definition'}))return;const _0x4e22d3=_0x17486f['writer']['createElement']('footnoteDefinition',{'footnoteId':_0x3ee19a['getAttribute']('id')});if(!_0x17486f['safeInsert'](_0x4e22d3,_0xfaca76['modelCursor']))return;_0x17486f['consumable']['consume'](_0x3ee19a,{'name':!0x0,'attributes':'id','classes':'footnote-definition'});const _0x4313aa=Array['from'](_0x3ee19a['getChildren']())['find'](_0x67160f=>_0x67160f['is']('element')&&_0x67160f['hasClass']('footnote-content'));for(const _0x6b7a89 of _0x3ee19a['getChildren']())_0x6b7a89['is']('element')&&(_0x17486f['consumable']['consume'](_0x6b7a89,{'name':!0x0,'classes':'footnote-backlink','attributes':'href'}),_0x17486f['consumable']['consume'](_0x6b7a89,{'name':!0x0,'classes':'footnote-content'}));if(_0x4313aa){if(_0x63a7be)_0x17486f['convertChildren'](_0x4313aa,_0x4e22d3);else{const _0x50e642=_0x17486f['writer']['createElement']('footnoteInlineContent');_0x17486f['writer']['insert'](_0x50e642,_0x4e22d3),_0x17486f['convertChildren'](_0x4313aa,_0x50e642);}}_0x17486f['updateConversionResult'](_0x4e22d3,_0xfaca76);});}),_0x320dd6['for']('dataDowncast')['elementToStructure']({'model':{'name':'footnoteDefinition','attributes':['footnoteId']},'view':(_0x4c403f,{writer:_0x2456c2})=>y(_0x4c403f,_0x2456c2,_0x2b4fbd,{'dataPipeline':!0x0})}),_0x320dd6['for']('editingDowncast')['elementToStructure']({'model':{'name':'footnoteDefinition','attributes':['footnoteId']},'view':(_0x2bbe14,{writer:_0x500f71})=>y(_0x2bbe14,_0x500f71,_0x2b4fbd)});}['_defineBogusParagraphConverters'](){const {editor:_0x2b33b8}=this,{conversion:_0x464ae6}=_0x2b33b8;_0x2b33b8['config']['get']('footnotes.multiBlock')?(_0x464ae6['for']('editingDowncast')['elementToElement']({'model':'paragraph','view':p(),'converterPriority':'high'}),_0x464ae6['for']('dataDowncast')['elementToElement']({'model':'paragraph','view':p({'dataPipeline':!0x0}),'converterPriority':'high'}),this['listenTo'](_0x2b33b8['model']['document'],'change:data',()=>{!function(_0x358bbf,_0x3e5c03){const _0x1870ef=_0x358bbf['document']['differ'],_0x14ce2a=new Set();for(const _0x3502cc of _0x1870ef['getChanges']()){const _0x29afa0='attribute'==_0x3502cc['type']?_0x3502cc['range']['start']['parent']:_0x3502cc['position']['parent'];_0x29afa0['is']('element','footnoteDefinition')&&_0x14ce2a['add'](_0x29afa0);}for(const _0x4989d2 of _0x14ce2a['values']()){const _0x491915=Array['from'](_0x4989d2['getChildren']())['filter'](_0x224eda=>v(_0x224eda,_0x3e5c03['mapper']));for(const _0x2bfb32 of _0x491915)_0x3e5c03['reconvertItem'](_0x2bfb32);}}(_0x2b33b8['model'],_0x2b33b8['editing']);})):(_0x464ae6['for']('editingDowncast')['elementToElement']({'model':'footnoteInlineContent','view':p()}),_0x464ae6['for']('dataDowncast')['elementToElement']({'model':'footnoteInlineContent','view':(_0x2de7ae,{writer:_0x29b8ff})=>{const _0x43a165=_0x29b8ff['createContainerElement']('span');return _0x29b8ff['setCustomProperty']('dataPipeline:transparentRendering',!0x0,_0x43a165),_0x43a165;}}));}['_defineKeyboardHandlers'](){const {editor:_0x34ffaf}=this,{editing:_0xcbbfce,t:t}=_0x34ffaf,_0x166195=_0x34ffaf['model']['document']['selection'];_0x34ffaf['keystrokes']['set']('Ctrl+Alt+F','insertFootnote'),_0x34ffaf['accessibility']['addKeystrokeInfos']({'keystrokes':[{'label':t('Insert\x20footnote'),'keystroke':'Ctrl+Alt+F'}]}),this['listenTo'](_0xcbbfce['view']['document'],'enter',(_0x55e25d,_0x55f5ff)=>{const _0x3050ce=function(_0x34c619){const _0x36a22e=_0x34c619['getSelectedElement']();if(_0x36a22e?.['is']('element','footnoteRef'))return _0x36a22e;return null;}(_0x166195);if(_0x3050ce){const _0x923f93=_0x3050ce['getAttribute']('footnoteId');this['_moveSelectionToFootnoteDefinition'](_0x923f93),_0x55f5ff['preventDefault'](),_0x55e25d['stop']();}},{'context':_0x526906});}['_defineClickHandlers'](){const {editor:_0x4b8c6c}=this,{editing:_0x1eae6a}=_0x4b8c6c;_0x4b8c6c['editing']['view']['addObserver'](_0x5fbd1),_0x4b8c6c['editing']['view']['addObserver'](_0x1f2027);let _0x889b0=!0x1;this['listenTo'](_0x1eae6a['view']['document'],'pointerdown',(_0x22f8a7,_0x479846)=>{const {target:_0xd56d99}=_0x479846,_0x57eb72=_0x1eae6a['view']['document']['selection'];_0x889b0=!!(_0xd56d99?.['is']('element','a')&&_0xd56d99['parent']?.['is']('element','sup')&&_0xd56d99['parent']['hasClass']('footnote'))&&_0x57eb72['getSelectedElement']()===_0xd56d99['parent'];},{'priority':'high'}),this['listenTo'](_0x1eae6a['view']['document'],'click',(_0x355142,_0x17ff17)=>{const {target:_0x5d0dbb}=_0x17ff17;if(!_0x5d0dbb?.['is']('element','a'))return;if(_0x5d0dbb['parent']?.['is']('element','sup')&&_0x5d0dbb['parent']['hasClass']('footnote')&&!_0x889b0)return void _0x17ff17['preventDefault']();let _0x4b77f6=_0x5d0dbb['getAttribute']('href');if(!_0x4b77f6?.['startsWith']('#'))return;_0x4b77f6=_0x4b77f6['slice'](0x1);let _0x176ad7=!0x1;(_0x4b77f6['startsWith']('ref-')&&this['_moveSelectionToFootnoteReference'](_0x4b77f6['slice'](0x4))||this['_moveSelectionToFootnoteDefinition'](_0x4b77f6))&&(_0x176ad7=!0x0),_0x176ad7&&(_0x17ff17['preventDefault'](),_0x355142['stop']());},{'priority':'high','context':'$capture'});}}function p({dataPipeline:_0x3c5b05}={}){return(_0xed26fa,{writer:_0x231744})=>{if(!g(_0xed26fa))return null;if(!_0x3c5b05)return _0x231744['createContainerElement']('span',{'class':'ck-footnote-bogus-paragraph'});const _0xaf932f=_0x231744['createContainerElement']('p');return _0x231744['setCustomProperty']('dataPipeline:transparentRendering',!0x0,_0xaf932f),_0xaf932f;};}function g(_0xa8124b){const {parent:_0x1b37d4}=_0xa8124b;if(!_0x1b37d4?.['is']('element','footnoteDefinition'))return!0x1;if(0x1!=_0x1b37d4['childCount'])return!0x1;for(const _0x2eee59 of _0xa8124b['getAttributeKeys']())if(!_0x2eee59['startsWith']('selection:')&&'htmlEmptyBlock'!=_0x2eee59)return!0x1;return!0x0;}function v(_0x4fd916,_0x5b88f4){if(!_0x4fd916['is']('element','paragraph'))return!0x1;const _0x5dbf11=_0x5b88f4['toViewElement'](_0x4fd916);return!!_0x5dbf11&&g(_0x4fd916)!==_0x5dbf11['is']('element','span');}function Q(_0x259b68){return _0x526906(_0x259b68)&&_0x259b68['is']('containerElement')&&!!_0x259b68['getCustomProperty']('footnotesDefinitions');}function D(_0x3e4b2c,_0x2ee65a={}){const _0x59714f=_0x3e4b2c['createEmptyElement']('hr',{'class':'footnotes-divider'}),_0x4b4d57=_0x3e4b2c['createContainerElement']('ol',{'class':'footnotes-list'},_0x3e4b2c['createSlot']());return _0x3e4b2c['createContainerElement']('div',{'class':'footnotes',..._0x2ee65a},[_0x59714f,_0x4b4d57]);}function b(_0x33a011,_0x1d9ed7){const _0x355128=_0x33a011['getAttribute']('footnoteId'),_0x5985df=_0x33a011['getAttribute']('footnoteCounter'),_0x2c2c1c=_0x1d9ed7['createUIElement']('a',{'href':'#'+_0x355128},function(_0x56e6c5){const _0x2cab8d=this['toDomElement'](_0x56e6c5);return _0x2cab8d['textContent']=_0x5985df,_0x2cab8d;}),_0x5f34b1=_0x1d9ed7['createContainerElement']('sup',{'id':'ref-'+_0x355128,'class':'footnote'},[_0x2c2c1c]);return _0x5f34b1['getFillerOffset']=()=>null,_0x5f34b1;}function y(_0x2b176d,_0x5b2efa,_0x4b28a8,{dataPipeline:_0x5d4091}={}){const {t:t}=_0x4b28a8,_0x4df5cc=_0x2b176d['getAttribute']('footnoteId'),_0x2d1a24=_0x5b2efa['createUIElement']('a',{'class':'footnote-backlink','href':'#ref-'+_0x4df5cc},function(_0x41a799){const _0x48a10c=this['toDomElement'](_0x41a799);return _0x48a10c['innerText']='^',_0x48a10c;}),_0x5604b8=_0x5d4091?_0x5b2efa['createContainerElement']('div',{'class':'footnote-content'}):_0x5563f(_0x5b2efa['createEditableElement']('div',{'class':'footnote-content'}),_0x5b2efa,{'label':t('Footnote\x20content.')});return _0x5b2efa['insert'](_0x5b2efa['createPositionAt'](_0x5604b8,0x0),_0x5b2efa['createSlot']()),_0x5b2efa['createContainerElement']('li',{'class':'footnote-definition','id':_0x4df5cc},[_0x2d1a24,_0x5604b8]);}class e extends _0x22932d{static get['pluginName'](){return'FootnotesClipboard';}static get['requires'](){return[r,_0x1ca48c];}static get['isOfficialPlugin'](){return!0x0;}static get['isPremiumPlugin'](){return!0x0;}['init'](){this['_defineClipboardIntegration']();}['_defineClipboardIntegration'](){this['_handleCopyFootnotesDefinitions'](),this['_handlePasteFootnotesDefinitions']();}['_handleCopyFootnotesDefinitions'](){const {editor:_0x15d20a}=this,{plugins:_0x4cba03,model:_0x591501}=_0x15d20a,_0x35cdb3=_0x4cba03['get'](_0x1ca48c),_0x51d280=_0x4cba03['get'](f);this['listenTo'](_0x35cdb3,'outputTransformation',(_0x40acf2,_0x25b4ef)=>{const _0xc59061=l(_0x591501['createRangeIn'](_0x25b4ef['content']));if(!_0xc59061['length'])return;const _0x5caf7c=_0x51d280['getFootnotes'](),_0x198776=_0xc59061['reduce']((_0x2b2fed,_0x61e7bb)=>{const _0x2f1fa1=_0x5caf7c['find'](_0x167b33=>_0x167b33['id']===_0x61e7bb);if(_0x2f1fa1){const _0x43a396=_0x15d20a['data']['toView'](_0x2f1fa1['definition'],{'isClipboardPipeline':!0x0}),_0xf1373=_0x15d20a['data']['htmlProcessor']['toData'](_0x43a396);_0x2b2fed[_0x2f1fa1['id']]=_0xf1373;}return _0x2b2fed;},Object['create'](null));_0x25b4ef['dataTransfer']['setData']('application/ckeditor5-footnotes',JSON['stringify'](_0x198776));});}['_handlePasteFootnotesDefinitions'](){const {editor:_0x1d4a23}=this,{model:_0xec4d05,plugins:_0x4381d2}=_0x1d4a23,{view:_0x128a88}=_0x1d4a23['editing'],_0x15ba3c=_0x4381d2['get'](_0x1ca48c),_0x5f45bc=_0x4381d2['get'](f),_0x5b18fd=_0x1d4a23['config']['get']('footnotes.multiBlock');let _0xcae63e=null;this['listenTo'](_0x128a88['document'],'clipboardInput',(_0x2a9b96,_0x21f7c8)=>{const _0x15ec27=_0x21f7c8['dataTransfer']['getData']('application/ckeditor5-footnotes');_0xcae63e=_0x15ec27?JSON['parse'](_0x15ec27):null;}),this['listenTo'](_0x15ba3c,'contentInsertion',(_0xc98691,_0x51cae4)=>{const _0xfd55c2=_0x51cae4['sourceEditorId']===this['editor']['id'];_0xfd55c2&&'drop'===_0x51cae4['method']||_0xec4d05['change'](_0x27785f=>{let _0x45d27d=_0x5f45bc['getFootnotesDefinitionsObjectElement']();const _0x37be06=!!_0x45d27d&&Array['from'](_0xec4d05['document']['selection']['getSelectedBlocks']())['includes'](_0x45d27d);if(!_0xcae63e&&function(_0x59df88){for(const {item:_0x588f44}of _0x59df88)if(_0x588f44['is']('element','footnoteRef'))return!0x0;return!0x1;}(_0xec4d05['createRangeIn'](_0x51cae4['content']))&&(_0xcae63e=function(_0x358b19,_0x54609){const _0x272901=c(_0x358b19,_0x54609);if(!_0x272901)return null;const _0xd5571d=Object['create'](null);for(const _0x1725c3 of _0x272901['getChildren']())_0x1725c3['is']('element','footnoteDefinition')&&_0x1725c3['hasAttribute']('footnoteId')&&(_0xd5571d[_0x1725c3['getAttribute']('footnoteId')]=_0x358b19['cloneElement'](_0x1725c3,!0x0));return Object['keys'](_0xd5571d)['length']?_0xd5571d:null;}(_0x27785f,_0x51cae4['content'])),(_0x45d27d&&!_0x37be06||!_0x45d27d&&!_0xcae63e)&&function(_0x4fddb1,_0x42f253){const _0x3d7377=[];for(const {item:_0x1d4ea4}of _0x4fddb1['createRangeIn'](_0x42f253))_0x1d4ea4['is']('element','footnotesDefinitions')&&_0x3d7377['push'](_0x1d4ea4);for(const _0x4cfff1 of _0x3d7377)_0x4fddb1['remove'](_0x4cfff1);}(_0x27785f,_0x51cae4['content']),!_0xcae63e)return;const {selection:_0x1c6efc}=_0xec4d05['document'],_0x174ca4=_0x1c6efc['getFirstRange']()['root'];_0x45d27d&&!_0x37be06||(_0x45d27d=c(_0x27785f,_0x51cae4['content']),_0x45d27d||=_0x5f45bc['_insertEmptyFootnotesDefinitionsContainer'](_0x27785f,_0x174ca4));const _0x18bcd6=Array['from'](_0x1c6efc['getRanges']())['flatMap'](l),_0x395b36=function(_0x49b01a,_0x185892,_0x3447d3){const _0x40f763=Object['create'](null);for(const {item:_0x4f203c}of _0x49b01a['createRangeIn'](_0x185892))if(_0x4f203c['is']('element','footnoteRef')){const _0x4eb297=_0x4f203c['getAttribute']('footnoteId');if(!_0x3447d3(_0x4eb297))continue;_0x40f763[_0x4eb297]||(_0x40f763[_0x4eb297]=_0x28567c()),_0x49b01a['setAttribute']('footnoteId',_0x40f763[_0x4eb297],_0x4f203c);}return _0x40f763;}(_0x27785f,_0x51cae4['content'],_0x29b01f=>{if(!_0xfd55c2)return!0x0;return!!_0x5f45bc['getFootnote'](_0x29b01f)&&!_0x18bcd6['includes'](_0x29b01f);});for(const [_0x2493dd,_0x2d281e]of Object['entries'](_0xcae63e)){const _0x123212=_0x395b36[_0x2493dd]||_0x2493dd;let _0x465cdb;if('string'!=typeof _0x2d281e)_0x465cdb=_0x2d281e,_0x123212!==_0x2493dd&&_0x27785f['setAttribute']('footnoteId',_0x123212,_0x465cdb);else{_0x465cdb=_0x27785f['createElement']('footnoteDefinition',{'footnoteId':_0x123212});const _0x342249=_0x1d4a23['data']['htmlProcessor']['toView'](_0x2d281e);let _0x59e8ff;if(_0x5b18fd)_0x59e8ff=_0x1d4a23['data']['toModel'](_0x342249,_0x465cdb);else{_0x59e8ff=_0x27785f['createElement']('footnoteInlineContent');const _0x45dc5c=_0x1d4a23['data']['toModel'](_0x342249,_0x59e8ff);_0x27785f['insert'](_0x45dc5c,_0x59e8ff);}_0x27785f['append'](_0x59e8ff,_0x465cdb);}_0x27785f['insert'](_0x465cdb,_0x45d27d,'end');}_0xcae63e=null;});});}}function c(_0x4d7389,_0x5788c7){for(const {item:_0xdb5cb4}of _0x4d7389['createRangeIn'](_0x5788c7))if(_0xdb5cb4['is']('element','footnotesDefinitions'))return _0xdb5cb4;return null;}function l(_0x3ee2d5){const _0x15d2f5=new Set();for(const {item:_0x282283}of _0x3ee2d5)_0x282283['is']('element','footnoteRef')&&_0x15d2f5['add'](_0x282283['getAttribute']('footnoteId'));return Array['from'](_0x15d2f5);}class i extends _0x22932d{['licenseKey'];['_licenseKeyCheckInterval'];static get['pluginName'](){return'FootnotesUI';}static get['isOfficialPlugin'](){return!0x0;}static get['isPremiumPlugin'](){return!0x0;}['init'](){const {editor:_0x19144b}=this,{componentFactory:_0x572495}=_0x19144b['ui'];_0x572495['add']('insertFootnote',E(_0x19144b,_0x295c20)),_0x572495['add']('menuBar:insertFootnote',E(_0x19144b,_0x2ca2ec)),this['licenseKey']=this['editor']['config']['get']('licenseKey');const _0x3caae2=this['editor'];this['_licenseKeyCheckInterval']=setInterval(()=>{let _0x275869;for(const _0x550704 in _0x3caae2){const _0x22e1c8=_0x550704,_0x2d9c3e=_0x3caae2[_0x22e1c8];if('footnotesLicenseKeyValid'==_0x2d9c3e||'footnotesLicenseKeyInvalid'==_0x2d9c3e||'footnotesLicenseKeyExpired'==_0x2d9c3e||'footnotesLicenseKeyDomainLimit'==_0x2d9c3e||'footnotesLicenseKeyNotAllowed'==_0x2d9c3e||'footnotesLicenseKeyEvaluationLimit'==_0x2d9c3e||'footnotesLicenseKeyUsageLimit'==_0x2d9c3e){delete _0x3caae2[_0x22e1c8],_0x275869=_0x2d9c3e,clearInterval(this['_licenseKeyCheckInterval']),this['_licenseKeyCheckInterval']=void 0x0;break;}}'footnotesLicenseKeyInvalid'==_0x275869&&_0x3caae2['_showLicenseError']('invalid'),'footnotesLicenseKeyExpired'==_0x275869&&_0x3caae2['_showLicenseError']('expired'),'footnotesLicenseKeyDomainLimit'==_0x275869&&_0x3caae2['_showLicenseError']('domainLimit'),'footnotesLicenseKeyNotAllowed'==_0x275869&&_0x3caae2['_showLicenseError']('featureNotAllowed','Footnotes'),'footnotesLicenseKeyEvaluationLimit'==_0x275869&&_0x3caae2['_showLicenseError']('evaluationLimit'),'footnotesLicenseKeyUsageLimit'==_0x275869&&_0x3caae2['_showLicenseError']('usageLimit');},0x3e8);}['destroy'](){super['destroy'](),this['_licenseKeyCheckInterval']&&clearInterval(this['_licenseKeyCheckInterval']);}}function E(_0xdfa9a7,_0x206658){const _0x5e4663=_0xdfa9a7['commands']['get']('insertFootnote');return _0x8757c3=>{const {t:t}=_0x8757c3,_0x2f25dd=new _0x206658(_0x8757c3),_0x4a4e76=_0x2f25dd instanceof _0x2ca2ec;return _0x2f25dd['bind']('isEnabled')['to'](_0x5e4663,'isEnabled'),_0x2f25dd['set']({'label':t(_0x4a4e76?'Footnote':'Insert\x20footnote'),'icon':_0xd6817,'tooltip':!0x0}),_0x2f25dd['on']('execute',()=>{_0x5e4663['execute'](),_0xdfa9a7['editing']['view']['focus']();}),_0x2f25dd;};}class lt extends _0x22932d{static get['pluginName'](){return'Footnotes';}static get['requires'](){return[r,e,i];}static get['isOfficialPlugin'](){return!0x0;}static get['isPremiumPlugin'](){return!0x0;}}const W=['decimal','decimal-leading-zero','lower-latin','upper-latin','lower-alpha','upper-alpha','lower-roman','upper-roman'];class S extends _0x35fe5e{['refresh'](){const {editor:_0x24030d}=this,_0x4084b2=_0x24030d['plugins']['get'](f)['getFootnotesDefinitionsObjectElement']();this['isEnabled']=!!_0x4084b2,this['value']=_0x4084b2?.['getAttribute']('footnotesListStyle')??null;}['execute']({value:_0x247a97}){const {editor:_0x41125a}=this,_0x13c6f8=_0x41125a['plugins']['get'](f),_0x545770=_0x13c6f8['getFootnotesDefinitionsObjectElement']();_0x545770&&W['includes'](_0x247a97)&&_0x41125a['model']['change'](_0x3b653f=>{_0x3b653f['setAttribute']('footnotesListStyle',_0x247a97,_0x545770),_0x13c6f8['_updateFootnotesCounters'](_0x3b653f);});}}class C extends _0x35fe5e{['refresh'](){const {editor:_0x3c777f}=this,_0x5d9620=_0x3c777f['plugins']['get'](f)['getFootnotesDefinitionsObjectElement']();this['isEnabled']=!!_0x5d9620,this['value']=_0x5d9620?.['getAttribute']('footnotesListStart')??null;}['execute']({value:_0x2a0435}){const {editor:_0x1f40b1}=this,_0x4b2aa1=_0x1f40b1['plugins']['get'](f),_0x4c3f3a=_0x4b2aa1['getFootnotesDefinitionsObjectElement']();_0x4c3f3a&&Number['isInteger'](_0x2a0435)&&_0x1f40b1['model']['change'](_0xb6e68e=>{_0xb6e68e['setAttribute']('footnotesListStart',_0x2a0435,_0x4c3f3a),_0x4b2aa1['_updateFootnotesCounters'](_0xb6e68e);});}}class P extends _0x22932d{static get['pluginName'](){return'FootnotesPropertiesEditing';}static get['requires'](){return[r,f];}static get['isOfficialPlugin'](){return!0x0;}static get['isPremiumPlugin'](){return!0x0;}['init'](){const {editor:_0x1dcc02}=this;_0x1dcc02['config']['define']('footnotes.footnotesProperties.defaultListStyle','decimal'),_0x1dcc02['config']['define']('footnotes.footnotesProperties.defaultStartIndex',0x1),_0x1dcc02['commands']['add']('footnotesStyle',new S(_0x1dcc02)),_0x1dcc02['commands']['add']('footnotesStart',new C(_0x1dcc02)),this['_defineSchema'](),this['_defineConverters'](),this['_defineFormatter'](),this['_definePostfixer']();}['_defineSchema'](){const {editor:_0x24a0ef}=this,{schema:_0x3c4588}=_0x24a0ef['model'];_0x3c4588['extend']('footnotesDefinitions',{'allowAttributes':['footnotesListStyle','footnotesListStart']});}['_defineConverters'](){const {editor:_0x408be6}=this,{conversion:_0x153e49,model:_0x5d5d4e}=_0x408be6,{schema:_0x1459c2}=_0x5d5d4e;_0x153e49['for']('upcast')['add'](_0x3e1f07=>{_0x3e1f07['on']('element:ol',(_0x33d7cb,_0x5314cd,_0x4635f6)=>{const _0x3c04b2=_0x5314cd['viewItem'],_0x21e819=_0x5314cd['modelCursor']?.['parent'];_0x3c04b2['hasClass']('footnotes-list')&&_0x21e819?.['is']('element','footnotesDefinitions')&&(function(_0x4a5ed0,_0x4db506,_0x23397b,_0x5daa1a){if(!_0x5daa1a['checkAttribute'](_0x4db506,'footnotesListStart'))return;let _0x263e59=0x1;const _0x10f5dc=_0x23397b['consumable']['consume'](_0x4a5ed0,{'attributes':'start'});if(_0x10f5dc){const _0x29e852=Number['parseInt'](_0x4a5ed0['getAttribute']('start'),0xa);Number['isNaN'](_0x29e852)||(_0x263e59=_0x29e852);}!_0x10f5dc&&_0x4db506['hasAttribute']('footnotesListStart')||_0x23397b['writer']['setAttribute']('footnotesListStart',_0x263e59,_0x4db506);}(_0x3c04b2,_0x21e819,_0x4635f6,_0x1459c2),function(_0x3a0e86,_0x275221,_0x991288,_0x59867e){if(!_0x59867e['checkAttribute'](_0x275221,'footnotesListStyle'))return;let _0x17822c='decimal',_0x190445=!0x1;if(_0x991288['consumable']['consume'](_0x3a0e86,{'attributes':'type'})){const _0x864bf2={0x1:'decimal','a':'lower-alpha','A':'upper-alpha','i':'lower-roman','I':'upper-roman'}[_0x3a0e86['getAttribute']('type')];_0x864bf2&&(_0x17822c=_0x864bf2),_0x190445=!0x0;}_0x991288['consumable']['consume'](_0x3a0e86,{'styles':'list-style-type'})&&(_0x17822c=function(_0x12558b){switch(_0x12558b){case'lower-alpha':return'lower-latin';case'upper-alpha':return'upper-latin';default:return _0x12558b;}}(_0x3a0e86['getStyle']('list-style-type')),_0x190445=!0x0),!_0x190445&&_0x275221['hasAttribute']('footnotesListStyle')||_0x991288['writer']['setAttribute']('footnotesListStyle',_0x17822c,_0x275221);}(_0x3c04b2,_0x21e819,_0x4635f6,_0x1459c2));});}),_0x153e49['for']('downcast')['add'](_0x512295=>{_0x512295['on']('attribute:footnotesListStart:footnotesDefinitions',(_0x96803,_0x40cb02,_0x18127d)=>{if(!_0x18127d['consumable']['consume'](_0x40cb02['item'],_0x96803['name']))return;const _0x4236a4=M(_0x40cb02['item'],_0x18127d['mapper']),{attributeNewValue:_0x268bed}=_0x40cb02;null==_0x268bed||0x1===_0x268bed?_0x18127d['writer']['removeAttribute']('start',_0x4236a4):_0x18127d['writer']['setAttribute']('start',String(_0x268bed),_0x4236a4);}),_0x512295['on']('attribute:footnotesListStyle:footnotesDefinitions',(_0x2c3d4f,_0x16449e,_0x1a9db3)=>{if(!_0x1a9db3['consumable']['consume'](_0x16449e['item'],_0x2c3d4f['name']))return;const _0x41cf91=M(_0x16449e['item'],_0x1a9db3['mapper']),{attributeNewValue:_0x4a4907}=_0x16449e;_0x4a4907&&'decimal'!==_0x4a4907?_0x1a9db3['writer']['setStyle']('list-style-type',_0x4a4907,_0x41cf91):_0x1a9db3['writer']['removeStyle']('list-style-type',_0x41cf91);});});}['_definePostfixer'](){const {editor:_0x4c2be2}=this,{model:_0x1823bb}=_0x4c2be2,_0x2e8cb6=_0x4c2be2['plugins']['get'](f),_0x256be0=this['_getDefaultListStyle'](),_0x1b372e=this['_getDefaultStartIndex']();_0x1823bb['document']['registerPostFixer'](_0x178e1d=>{const _0x3cc6f9=_0x1823bb['document']['differ']['getChanges']();let _0x198374=!0x1;for(const _0x2e8640 of _0x3cc6f9){if('insert'!==_0x2e8640['type']||'$text'===_0x2e8640['name'])continue;const _0x579577=_0x1823bb['createRangeOn'](_0x2e8640['position']['nodeAfter']);for(const _0x1c6885 of _0x579577['getItems']())_0x1c6885['is']('element','footnotesDefinitions')&&(!_0x1c6885['hasAttribute']('footnotesListStart')&&_0x1823bb['schema']['checkAttribute'](_0x1c6885,'footnotesListStart')&&(_0x178e1d['setAttribute']('footnotesListStart',_0x1b372e,_0x1c6885),_0x198374=!0x0),!_0x1c6885['hasAttribute']('footnotesListStyle')&&_0x1823bb['schema']['checkAttribute'](_0x1c6885,'footnotesListStyle')&&(_0x178e1d['setAttribute']('footnotesListStyle',_0x256be0,_0x1c6885),_0x198374=!0x0));}return _0x198374&&_0x2e8cb6['_updateFootnotesCounters'](_0x178e1d),_0x198374;});}['_defineFormatter'](){const {editor:_0x26241c}=this;_0x26241c['plugins']['get'](f)['setFootnoteFormatter'](_0x2022fa=>this['_formatFootnoteListValue'](_0x2022fa));}['_getDefaultListStyle'](){return this['editor']['config']['get']('footnotes.footnotesProperties.defaultListStyle');}['_getDefaultStartIndex'](){return this['editor']['config']['get']('footnotes.footnotesProperties.defaultStartIndex');}['_formatFootnoteListValue']({container:_0x270c54,value:_0x3cc114,digits:_0x1fe795}){const _0x377e61=_0x270c54['getAttribute']('footnotesListStyle'),_0xe64b65=_0x270c54['getAttribute']('footnotesListStart'),_0x1af479=Math['floor'](_0x3cc114)+(_0xe64b65??0x1)-0x1;switch(_0x377e61){case'decimal-leading-zero':return function(_0x4f55a8,_0x2572f7){return String(_0x4f55a8)['padStart'](_0x2572f7,'0');}(_0x1af479,Math['max'](0x2,_0x1fe795));case'lower-alpha':case'lower-latin':return N(_0x1af479,!0x1);case'upper-alpha':case'upper-latin':return N(_0x1af479,!0x0);case'lower-roman':return X(_0x1af479,!0x1);case'upper-roman':return X(_0x1af479,!0x0);default:return String(_0x1af479);}}}function M(_0x577489,_0x428896){const _0x3ebaec=_0x428896['toViewElement'](_0x577489);return Array['from'](_0x3ebaec['getChildren']())['find'](_0x1fc610=>_0x1fc610['is']('element','ol')&&_0x1fc610['hasClass']('footnotes-list'));}function N(_0x251b99,_0x509bf4){let _0x37f0be='',_0x5b0de2=_0x251b99;for(;_0x5b0de2>0x0;){const _0x4dad86=(_0x5b0de2-0x1)%0x1a;_0x37f0be=String['fromCharCode'](0x61+_0x4dad86)+_0x37f0be,_0x5b0de2=Math['floor']((_0x5b0de2-0x1)/0x1a);}return _0x509bf4?_0x37f0be['toUpperCase']():_0x37f0be;}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(_0x1e9ddd,_0x5c7eff){let _0x142647='',_0x17fdb9=_0x1e9ddd;for(const {value:_0x10b2a5,numeral:_0x2d4a15}of V)for(;_0x17fdb9>=_0x10b2a5;)_0x142647+=_0x2d4a15,_0x17fdb9-=_0x10b2a5;return _0x5c7eff?_0x142647:_0x142647['toLowerCase']();}class J extends _0x30d034{['children'];['stylesView']=null;['additionalProperties']=null;['startIndexFieldView']=null;['focusTracker']=new rt();['keystrokes']=new nt();['focusables']=new _0x276d50();['focusCycler'];constructor(_0x195b16,{styleButtonViews:_0x40b875,styleGridAriaLabel:_0x484c79}){super(_0x195b16),(this['focusCycler']=new tt({'focusables':this['focusables'],'focusTracker':this['focusTracker'],'keystrokeHandler':this['keystrokes'],'actions':{'focusPrevious':'shift\x20+\x20tab','focusNext':'tab'}}),this['children']=this['createCollection'](),this['stylesView']=this['_appendStylesView'](_0x40b875,_0x484c79),[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 _0x56f7f5 of this['stylesView']['children'])this['stylesView']['focusTracker']['add'](_0x56f7f5['element']);st({'keystrokeHandler':this['stylesView']['keystrokes'],'focusTracker':this['stylesView']['focusTracker'],'gridItems':this['stylesView']['children'],'numberOfColumns':()=>at['window']['getComputedStyle'](this['stylesView']['element'])['getPropertyValue']('grid-template-columns')['split']('\x20')['length'],'uiLanguageDirection':this['locale']&&this['locale']['uiLanguageDirection']});}if(this['startIndexFieldView']){this['focusables']['add'](this['startIndexFieldView']),this['focusTracker']['add'](this['startIndexFieldView']['element']);const _0x5ed3b0=_0x4879f7=>_0x4879f7['stopPropagation']();this['keystrokes']['set']('arrowright',_0x5ed3b0),this['keystrokes']['set']('arrowleft',_0x5ed3b0),this['keystrokes']['set']('arrowup',_0x5ed3b0),this['keystrokes']['set']('arrowdown',_0x5ed3b0);}this['keystrokes']['listenTo'](this['element']);}['focus'](){this['focusCycler']['focusFirst']();}['focusLast'](){this['focusCycler']['focusLast']();}['destroy'](){super['destroy'](),this['focusTracker']['destroy'](),this['keystrokes']['destroy']();}['_appendStylesView'](_0x15cfd7,_0x2c7405){const _0x3280e6=new _0x30d034(this['locale']);return _0x3280e6['children']=_0x3280e6['createCollection'](),_0x3280e6['children']['addMany'](_0x15cfd7),_0x3280e6['setTemplate']({'tag':'div','attributes':{'aria-label':_0x2c7405,'class':['ck','ck-footnotes-definitions-styles-list']},'children':_0x3280e6['children']}),_0x3280e6['children']['delegate']('execute')['to'](this),_0x3280e6['focus']=function(){for(const _0x3ea7ef of this['children'])if(_0x3ea7ef instanceof _0x295c20&&_0x3ea7ef['isOn'])return void _0x3ea7ef['focus']();this['children']['first']['focus']();},_0x3280e6['focusTracker']=new rt(),_0x3280e6['keystrokes']=new nt(),_0x3280e6['render'](),_0x3280e6['keystrokes']['listenTo'](_0x3280e6['element']),this['children']['add'](_0x3280e6),_0x3280e6;}['_appendAdditionalPropertiesCollapsibleView'](){const {t:t}=this['locale'],_0x385bdd=this['_createStartIndexPropertyView'](),_0x14360e=[_0x385bdd],_0x354b68=new it(this['locale'],_0x14360e);return _0x354b68['set']({'label':t('Footnotes\x20properties'),'isCollapsed':!0x0}),_0x354b68['buttonView']['bind']('isEnabled')['toMany'](_0x14360e,'isEnabled',(..._0xf37466)=>_0xf37466['some'](_0x43c9fb=>_0x43c9fb)),_0x354b68['buttonView']['on']('change:isEnabled',(_0x2135fb,_0x4a446c,_0x4c6540)=>{_0x4c6540||(_0x354b68['isCollapsed']=!0x0);}),this['children']['add'](_0x354b68),[_0x385bdd,_0x354b68];}['_createStartIndexPropertyView'](){const {t:t}=this['locale'],_0x1a294c=new et(this['locale'],ot);return _0x1a294c['set']({'label':t('Footnotes\x20start\x20at'),'class':'ck-footnotes-definitions-properties__start-index'}),_0x1a294c['fieldView']['set']({'min':0x0,'max':Math['pow'](0x2,0x1e),'step':0x1,'value':0x1,'inputMode':'numeric'}),_0x1a294c['fieldView']['on']('input',()=>{const _0x50a4d3=_0x1a294c['fieldView']['element'],_0x1533ee=_0x50a4d3['valueAsNumber'];Number['isNaN'](_0x1533ee)?_0x1a294c['errorText']=t('Invalid\x20footnotes\x20start\x20index\x20value.'):_0x50a4d3['checkValidity']()?this['fire']('footnotesListStart',{'startIndex':_0x1533ee}):_0x1a294c['errorText']=t(_0x1533ee<0x0?'Footnotes\x20start\x20index\x20must\x20be\x20greater\x20than\x200.':'Footnotes\x20start\x20index\x20is\x20too\x20large.');}),_0x1a294c;}}class j extends _0x22932d{static get['pluginName'](){return'FootnotesPropertiesUI';}static get['requires'](){return[_0x3de55f,_0x51b7eb];}static get['isOfficialPlugin'](){return!0x0;}static get['isPremiumPlugin'](){return!0x0;}['init'](){const {editor:_0x2d5873}=this,{componentFactory:_0x180245}=_0x2d5873['ui'];_0x2d5873['config']['define']('footnotes.footnotesProperties.toolbar',['footnotesStyle']),_0x180245['add']('footnotesStyle',function(_0xf15d35){return _0x4d7014=>{const {t:t}=_0x4d7014,_0x433cea=_0xf15d35['commands']['get']('footnotesStyle'),_0x5b08af=_0x1d0c43(_0x4d7014),{buttonView:_0x3cb952}=_0x5b08af;return _0x5b08af['class']='ck-footnotes-styles-dropdown',_0x5b08af['bind']('isEnabled')['to'](_0x433cea,'isEnabled'),_0x3cb952['set']({'label':t('Footnotes\x20style'),'icon':_0xd6817,'tooltip':!0x0}),_0x5b08af['once']('change:isOpen',()=>{const _0x2ac6e2=function({editor:_0x1aa33d,dropdownView:_0x1261e9}){const {t:t}=_0x1aa33d['locale'],_0x274dac=t('Footnotes\x20definitions\x20styles'),_0x29bfc2=function(_0x155b98){const t=_0x155b98['locale']['t'],_0x3e6e12=[{'label':t('Toggle\x20the\x20decimal\x20footnotes\x20style'),'tooltip':t('Decimal\x20footnotes'),'style':'decimal','icon':_0x838114},{'label':t('Toggle\x20the\x20decimal\x20with\x20leading\x20zero\x20footnotes\x20style'),'tooltip':t('Decimal\x20footnotes\x20with\x20leading\x20zero'),'style':'decimal-leading-zero','icon':_0xe3534},{'label':t('Toggle\x20the\x20lower–roman\x20footnotes\x20style'),'tooltip':t('Lower–roman\x20footnotes'),'style':'lower-roman','icon':_0x539df2},{'label':t('Toggle\x20the\x20upper–roman\x20footnotes\x20style'),'tooltip':t('Upper-roman\x20footnotes'),'style':'upper-roman','icon':_0x2d045b},{'label':t('Toggle\x20the\x20lower–latin\x20footnotes\x20style'),'tooltip':t('Lower-latin\x20footnotes'),'style':'lower-latin','icon':_0x57e3d6},{'label':t('Toggle\x20the\x20upper–latin\x20footnotes\x20style'),'tooltip':t('Upper-latin\x20footnotes'),'style':'upper-latin','icon':_0x4dd14f}];return _0x3e6e12['map'](function(_0x222131){const _0x5b6fb0=_0x222131['locale'];return({label:_0xfc523c,icon:_0x2d07ac,tooltip:_0x3bbb8e,style:_0xb5a239})=>{const _0xaaeac9=_0x222131['commands']['get']('footnotesStyle'),_0x391816=new _0x295c20(_0x5b6fb0);return _0x391816['set']({'label':_0xfc523c,'icon':_0x2d07ac,'tooltip':_0x3bbb8e}),_0x391816['bind']('isOn')['to'](_0xaaeac9,'value',_0x3d0077=>_0x3d0077===_0xb5a239),_0x391816['bind']('isEnabled')['to'](_0xaaeac9,'isEnabled'),_0x391816['on']('execute',()=>{_0x222131['execute']('footnotesStyle',{'value':_0xb5a239}),_0x222131['editing']['view']['focus']();}),_0x391816;};}(_0x155b98));}(_0x1aa33d),_0x5833fe=new J(_0x1aa33d['locale'],{'styleGridAriaLabel':_0x274dac,'styleButtonViews':_0x29bfc2}),_0xa479a3=_0x1aa33d['commands']['get']('footnotesStart');return _0x5833fe['startIndexFieldView']['bind']('isEnabled')['to'](_0xa479a3),_0x5833fe['startIndexFieldView']['fieldView']['bind']('value')['to'](_0xa479a3),_0x5833fe['on']('footnotesListStart',(_0x576362,_0x304ac8)=>{_0x1aa33d['execute']('footnotesStart',{'value':_0x304ac8['startIndex']});}),_0x5833fe['delegate']('execute')['to'](_0x1261e9),_0x5833fe;}({'editor':_0xf15d35,'dropdownView':_0x5b08af});_0x5b08af['panelView']['children']['add'](_0x2ac6e2);}),_0x5b08af;};}(_0x2d5873));}['afterInit'](){const {editor:_0x302506}=this,{t:t}=_0x302506['locale'],_0x1a7c54=_0x302506['plugins']['get'](_0x51b7eb),{defaultPositions:_0x45f5e5}=_0x214aeb;_0x1a7c54['register']('footnotesDefinitions',{'ariaLabel':t('Footnotes\x20definitions\x20toolbar'),'items':_0x302506['config']['get']('footnotes.footnotesProperties.toolbar'),'balloonClassName':'ck-footnotes-style-balloon\x20ck-toolbar-container','getRelatedElement':_0x582784=>{let _0x48823f=_0x582784['getFirstPosition']()?.['parent'];return _0x48823f?.['is']('$text')&&(_0x48823f=_0x48823f['parent']),_0x48823f?.['is']('element')?_0x48823f['findAncestor'](Q):null;},'positions':[_0x45f5e5['southArrowNorth'],_0x45f5e5['southArrowNorthMiddleWest'],_0x45f5e5['southArrowNorthMiddleEast'],_0x45f5e5['southArrowNorthWest'],_0x45f5e5['southArrowNorthEast'],_0x45f5e5['northArrowSouth'],_0x45f5e5['northArrowSouthMiddleWest'],_0x45f5e5['northArrowSouthMiddleEast'],_0x45f5e5['northArrowSouthWest'],_0x45f5e5['northArrowSouthEast'],_0x45f5e5['viewportStickyNorth']]});}}class ft extends _0x22932d{static get['pluginName'](){return'FootnotesProperties';}static get['requires'](){return[P,j];}static get['isOfficialPlugin'](){return!0x0;}static get['isPremiumPlugin'](){return!0x0;}}export{lt as Footnotes,e as FootnotesClipboard,r as FootnotesEditing,ft as FootnotesProperties,P as FootnotesPropertiesEditing,j as FootnotesPropertiesUI,C as FootnotesStartCommand,S as FootnotesStyleCommand,f as FootnotesTracker,i as FootnotesUI,h as InsertFootnoteCommand};
23
+ import{Plugin as _0x1843e4,Command as _0x17de77}from'@ckeditor/ckeditor5-core/dist/index.js';import{toWidget as _0x11a248,isWidget as _0x244f14,toWidgetEditable as _0x53a52e,WidgetToolbarRepository as _0x46d4a8}from'@ckeditor/ckeditor5-widget/dist/index.js';import{uid as _0x296dd1,logWarning as _0x57c409,FocusTracker as rt,KeystrokeHandler as nt,global as at}from'@ckeditor/ckeditor5-utils/dist/index.js';import{PointerObserver as _0x341553,ClickObserver as _0x416654}from'@ckeditor/ckeditor5-engine/dist/index.js';import{ClipboardPipeline as _0x4a904e}from'@ckeditor/ckeditor5-clipboard/dist/index.js';import{MenuBarMenuListItemButtonView as _0x40bf20,ButtonView as _0x3715c2,View as _0x2e5830,ViewCollection as _0x5e509e,FocusCycler as tt,addKeyboardHandlingForGrid as st,CollapsibleView as it,LabeledFieldView as et,createLabeledInputNumber as ot,ContextualBalloon as _0x367f43,BalloonPanelView as _0x56ce40,createDropdown as _0x2dc4db}from'@ckeditor/ckeditor5-ui/dist/index.js';import{IconFootnote as _0x536cee,IconListStyleDecimal as _0x59d4c5,IconListStyleDecimalLeadingZero as _0x51c695,IconListStyleLowerRoman as _0x2ae7ff,IconListStyleUpperRoman as _0x43e876,IconListStyleLowerLatin as _0x283c97,IconListStyleUpperLatin as _0x3404fd}from'@ckeditor/ckeditor5-icons/dist/index.js';class F{['_model'];['_elementName'];['_getElementKey'];['_trackedElements']=new Map();constructor(_0x1b3c9a,_0x43863a){this['_model']=_0x1b3c9a,this['_elementName']=_0x43863a['elementName'],this['_getElementKey']=_0x43863a['getElementKey'];}['reset'](){this['_trackedElements']['clear']();}['getChanges'](_0x553457){const _0xdab0a0=new Set(),_0x456868=new Map();for(const _0x47d1c4 of _0x553457){if('insert'===_0x47d1c4['type']&&'$text'!==_0x47d1c4['name']&&_0x47d1c4['position']['nodeAfter']){const _0x3adb5a=this['_model']['createRangeOn'](_0x47d1c4['position']['nodeAfter']);for(const _0x26bdd1 of _0x3adb5a['getItems']()){if(!_0x26bdd1['is']('element',this['_elementName']))continue;const _0x3abe98=this['_getElementKey'](_0x26bdd1);_0x456868['has'](_0x3abe98)||_0x456868['set'](_0x3abe98,[]),_0x456868['get'](_0x3abe98)['push'](_0x26bdd1);}}if('remove'===_0x47d1c4['type']&&_0x47d1c4['name']===this['_elementName']){const _0x58c67e=this['_getElementKey']({'getAttribute':_0x3d6f77=>_0x47d1c4['attributes']['get'](_0x3d6f77)});_0xdab0a0['add'](_0x58c67e);}}for(const [_0x26a72f,_0x2d9a16]of this['_trackedElements'])'$graveyard'===_0x2d9a16['root']['rootName']&&_0xdab0a0['add'](_0x26a72f);for(const _0x3900a0 of _0xdab0a0)this['_trackedElements']['delete'](_0x3900a0);for(const [_0x43a1fd,_0x6600a]of _0x456868)this['_trackedElements']['set'](_0x43a1fd,_0x6600a[_0x6600a['length']-0x1]);const _0x5668ce=new Set();for(const [_0x515fd0,_0x20dac9]of _0x456868)_0xdab0a0['has'](_0x515fd0)&&(_0x5668ce['add'](_0x20dac9[0x0]),_0x20dac9['length']>0x1?_0x456868['set'](_0x515fd0,_0x20dac9['slice'](0x1)):_0x456868['delete'](_0x515fd0),_0xdab0a0['delete'](_0x515fd0));return{'removed':Array['from'](_0xdab0a0),'inserted':Array['from'](_0x456868['values']())['flat'](),'moved':Array['from'](_0x5668ce)};}}class f extends _0x1843e4{['_footnotes']=[];['_footnotesDefinitions']=null;['_footnoteFormatter']=null;['_footnoteDefsContainerTracker'];['_footnoteRefsTracker'];['_footnoteDefsTracker'];static get['pluginName'](){return'FootnotesTracker';}static get['isOfficialPlugin'](){return!0x0;}static get['isPremiumPlugin'](){return!0x0;}constructor(_0x1cf028){super(_0x1cf028),this['_footnoteDefsContainerTracker']=new F(this['editor']['model'],{'elementName':'footnotesDefinitions','getElementKey':()=>'singleton'}),this['_footnoteRefsTracker']=new F(this['editor']['model'],{'elementName':'footnoteRef','getElementKey':_0x2eefd8=>_0x2eefd8['getAttribute']('footnoteId')}),this['_footnoteDefsTracker']=new F(this['editor']['model'],{'elementName':'footnoteDefinition','getElementKey':_0x481adf=>_0x481adf['getAttribute']('footnoteId')});}['init'](){const {editor:_0x442612}=this,{model:_0x2fd2f5,data:_0x563501}=_0x442612;_0x2fd2f5['document']['registerPostFixer'](_0xeb4755=>{const _0xba3e31=_0x2fd2f5['document']['differ']['getChanges']();let _0x44a092=!0x1;return this['_handleFootnotesDefinitionsObjectChanges'](_0xeb4755,_0xba3e31)&&(_0x44a092=!0x0),this['_handleFootnoteDefinitionsChanges'](_0xeb4755,_0xba3e31)&&(_0x44a092=!0x0),this['_handleFootnoteReferencesChanges'](_0xeb4755,_0xba3e31)&&(_0x44a092=!0x0),this['_ensureFootnotesReferencesHaveProperOrder'](_0xeb4755)&&(_0x44a092=!0x0),this['_handleFootnotesDefinitionsObjectSync'](_0xeb4755)&&(_0x44a092=!0x0),this['_sortFootnoteDefinitions'](_0xeb4755)&&(_0x44a092=!0x0),_0x44a092;}),this['listenTo'](_0x2fd2f5['document'],'change:data',()=>{_0x2fd2f5['enqueueChange']({'isUndoable':!0x1},_0x5988bc=>{this['_ensureFootnotesDefinitionsContainerExists'](_0x5988bc);});},{'priority':'low'}),this['listenTo'](_0x563501,'set',()=>{this['_footnotes']=[],this['_footnoteDefsContainerTracker']['reset'](),this['_footnoteRefsTracker']['reset'](),this['_footnoteDefsTracker']['reset']();},{'priority':'high'});}['getFootnotesDefinitionsObjectElement'](){return this['_footnotesDefinitions'];}['getFootnote'](_0x3108a8){return this['_footnotes']['find'](_0x3a3049=>_0x3a3049['id']===_0x3108a8)||null;}['getFootnotes'](){return Array['from'](this['_footnotes']);}['getFootnotesFormatter'](){return this['_footnoteFormatter'];}['setFootnoteFormatter'](_0x5cf457){this['_footnoteFormatter']=_0x5cf457;}['_updateFootnotesCounters'](_0x1d8953,_0x7dd6b6=0x0){let _0x31de04=!0x1;for(let _0x2a5dab=_0x7dd6b6;_0x2a5dab<this['_footnotes']['length'];_0x2a5dab++)this['_updateFootnoteRefCounter'](_0x1d8953,_0x2a5dab)&&(_0x31de04=!0x0);return _0x31de04;}['_insertEmptyFootnotesDefinitionsContainer'](_0x535cf9,_0x3bdaef){const _0x518456=_0x535cf9['createElement']('footnotesDefinitions',{});return _0x535cf9['append'](_0x518456,_0x3bdaef),this['_footnotesDefinitions']=_0x518456,_0x518456;}['_ensureFootnotesDefinitionsContainerExists'](_0x237f5a){if(!this['_footnotes']['length']||this['_footnotesDefinitions'])return;const _0x2757a0=this['_footnotes'][0x0]['reference']['root'],_0x1a4357=this['_insertEmptyFootnotesDefinitionsContainer'](_0x237f5a,_0x2757a0);for(const _0x1acc52 of this['_footnotes'])_0x1acc52['definition']['parent']||_0x237f5a['insert'](_0x1acc52['definition'],_0x1a4357,'end');this['_updateFootnotesCounters'](_0x237f5a);}['_handleFootnotesDefinitionsObjectChanges'](_0x4a019b,_0x658443){let _0x1fc474=!0x1;const {inserted:_0x25deb6,removed:_0x4c70f6,moved:_0x1c65b0}=this['_footnoteDefsContainerTracker']['getChanges'](_0x658443);if(_0x1c65b0['length']&&(this['_footnotesDefinitions']=_0x1c65b0[0x0]),_0x25deb6['length']){if(_0x25deb6['length']>0x1||this['_footnotesDefinitions']&&_0x25deb6['some'](_0x432b3b=>_0x432b3b!==this['_footnotesDefinitions'])){const _0x4f362=_0x4a019b['createElement']('footnotesDefinitions',{}),_0x1ecd19=[];this['_footnotesDefinitions']&&_0x1ecd19['push'](this['_footnotesDefinitions']),_0x1ecd19['push'](..._0x25deb6),_0x4a019b['insert'](_0x4f362,_0x1ecd19[0x0],'before');for(const _0x12d8b3 of _0x1ecd19)_0x4a019b['move'](_0x4a019b['createRangeIn'](_0x12d8b3),_0x4a019b['createPositionAt'](_0x4f362,'end')),_0x4a019b['remove'](_0x12d8b3);this['_footnotesDefinitions']=_0x4f362,this['_updateFootnotesCounters'](_0x4a019b),_0x1fc474=!0x0;}else this['_footnotesDefinitions']=_0x25deb6[0x0];}if(_0x4c70f6['length']&&'$graveyard'===this['_footnotesDefinitions']?.['root']['rootName']){for(const _0x56bcc0 of this['_footnotes'])_0x4a019b['remove'](_0x56bcc0['reference']),_0x1fc474=!0x0;this['_footnotes']=[],this['_footnotesDefinitions']=null;}return _0x1fc474;}['_handleFootnoteDefinitionsChanges'](_0x197c12,_0x32433a){let _0x7185c4=!0x1;const _0x54da0f=this['editor']['config']['get']('footnotes.multiBlock'),{inserted:_0x84c2e3,moved:_0x460d3a}=this['_footnoteDefsTracker']['getChanges'](_0x32433a);for(const _0x1e7fe8 of[..._0x460d3a,..._0x84c2e3]){const _0x36b398=_0x1e7fe8['getAttribute']('footnoteId'),_0x15458d=this['getFootnote'](_0x36b398);_0x15458d&&(_0x15458d['definition']=_0x1e7fe8),_(_0x197c12,_0x54da0f,_0x1e7fe8)&&(_0x7185c4=!0x0);}return _0x7185c4;}['_handleFootnoteReferencesChanges'](_0x4d3111,_0x4e2b2c){let _0x577c97=!0x1;const {removed:_0x1452b5,inserted:_0x2db42a,moved:_0x33bbe7}=this['_footnoteRefsTracker']['getChanges'](_0x4e2b2c);for(const _0x1e05d5 of _0x1452b5)this['_handleRemoveFootnoteReferenceById'](_0x4d3111,_0x1e05d5)&&(_0x577c97=!0x0);for(const _0x7bd90a of _0x2db42a)this['_handleInsertedFootnoteReference'](_0x4d3111,_0x7bd90a)&&(_0x577c97=!0x0);for(const _0x326fc8 of _0x33bbe7)this['_handleMovedFootnoteReference'](_0x4d3111,_0x326fc8)&&(_0x577c97=!0x0);return _0x577c97;}['_handleFootnotesDefinitionsObjectSync'](_0x2c3fb5){if(!this['_footnotesDefinitions'])return!0x1;let _0x27d22c=!0x1;if(this['_footnotesDefinitions']['childCount']!==this['_footnotes']['length']){const _0x50f4df=[];for(const _0x1086c4 of this['_footnotesDefinitions']['getChildren']()){const _0x4e89ba=_0x1086c4['getAttribute']('footnoteId');this['getFootnote'](_0x4e89ba)||(_0x50f4df['unshift'](_0x1086c4),_0x27d22c=!0x0);}for(const _0x3384bb of _0x50f4df)_0x2c3fb5['remove'](_0x3384bb);}const _0x3c6f4f=new Set(),_0x59fd54=[];for(const _0x4261b8 of this['_footnotesDefinitions']['getChildren']()){const _0x43713=_0x4261b8['getAttribute']('footnoteId');_0x3c6f4f['has'](_0x43713)?(_0x59fd54['unshift'](_0x4261b8),_0x27d22c=!0x0):_0x3c6f4f['add'](_0x43713);}for(const _0x33efc5 of _0x59fd54)_0x2c3fb5['remove'](_0x33efc5);return this['_footnotesDefinitions']['childCount']||(_0x2c3fb5['remove'](this['_footnotesDefinitions']),this['_footnotesDefinitions']=null,_0x27d22c=!0x0),_0x27d22c;}['_handleInsertedFootnoteReference'](_0x3b3fa3,_0x198fa0){if(this['_footnotes']['find'](_0x347b3c=>_0x347b3c['reference']===_0x198fa0))return!0x1;let _0x463d33=!0x1;const _0x2f7a60=_0x198fa0['getAttribute']('footnoteId'),_0x5aae25=this['_footnotes']['findIndex'](_0x4e9bc5=>_0x4e9bc5['id']===_0x2f7a60);-0x1!==_0x5aae25&&(_0x3b3fa3['remove'](this['_footnotes'][_0x5aae25]['reference']),this['_footnotes']['splice'](_0x5aae25,0x1),_0x463d33=!0x0);let _0x186b9b=this['_footnotesDefinitions']?function(_0x55b839,_0x5aff44){for(const _0x459ce6 of _0x55b839['getChildren']())if(_0x459ce6['getAttribute']('footnoteId')===_0x5aff44)return _0x459ce6;return null;}(this['_footnotesDefinitions'],_0x2f7a60):null;_0x186b9b||(_0x186b9b=_0x3b3fa3['createElement']('footnoteDefinition',{'footnoteId':_0x2f7a60}),this['_footnotesDefinitions']&&(_0x3b3fa3['insert'](_0x186b9b,this['_footnotesDefinitions'],'end'),_0x463d33=!0x0));const _0xabc7a6={'id':_0x2f7a60,'reference':_0x198fa0,'definition':_0x186b9b},_0x1054bf=I(this['editor']['model'],this['_footnotes'],_0x198fa0);this['_footnotes']['splice'](_0x1054bf,0x0,_0xabc7a6);let _0x44fcd5=_0x1054bf;return-0x1!==_0x5aae25&&(_0x44fcd5=Math['min'](_0x1054bf,_0x5aae25)),this['_updateFootnotesCounters'](_0x3b3fa3,_0x44fcd5)&&(_0x463d33=!0x0),_0x463d33;}['_handleRemoveFootnoteReferenceById'](_0x3e280f,_0x93ffe1){const _0x54c03f=this['_footnotes']['findIndex'](_0x46d4c7=>_0x46d4c7['id']===_0x93ffe1);if(-0x1===_0x54c03f)return!0x1;let _0x36669f=!0x1;const _0x18999b=this['_footnotes'][_0x54c03f];return'$graveyard'!==_0x18999b['definition']['root']['rootName']&&(_0x3e280f['remove'](_0x18999b['definition']),_0x36669f=!0x0),this['_footnotes']['splice'](_0x54c03f,0x1),this['_updateFootnotesCounters'](_0x3e280f,_0x54c03f)&&(_0x36669f=!0x0),_0x36669f;}['_handleMovedFootnoteReference'](_0x5cea78,_0x22bd28){const _0xd810b1=_0x22bd28['getAttribute']('footnoteId'),_0x5cba4d=this['_footnotes']['findIndex'](_0x2a95c2=>_0x2a95c2['id']===_0xd810b1),_0xf7af57=this['_footnotes'][_0x5cba4d];let _0x1a3345=!0x1;_0xf7af57['reference']=_0x22bd28,this['_footnotes']['splice'](_0x5cba4d,0x1);const _0x37a35f=I(this['editor']['model'],this['_footnotes'],_0x22bd28);return this['_footnotes']['splice'](_0x37a35f,0x0,_0xf7af57),this['_updateFootnotesCounters'](_0x5cea78,Math['min'](_0x5cba4d,_0x37a35f))&&(_0x1a3345=!0x0),_0x1a3345;}['_updateFootnoteRefCounter'](_0x50ce67,_0x186ed5){if(!this['_footnotesDefinitions'])return!0x1;const _0x1c899f=this['_footnotes'][_0x186ed5];let _0x440d9c;return _0x440d9c=this['_footnoteFormatter']?this['_footnoteFormatter']({'footnote':_0x1c899f,'container':this['_footnotesDefinitions'],'digits':String(this['_footnotes']['length'])['length'],'value':_0x186ed5+0x1}):String(_0x186ed5+0x1),_0x1c899f['reference']['getAttribute']('footnoteCounter')!=_0x440d9c&&(_0x50ce67['setAttribute']('footnoteCounter',_0x440d9c,_0x1c899f['reference']),!0x0);}['_sortFootnoteDefinitions'](_0x8d11fa){if(!this['_footnotesDefinitions']||this['_footnotes']['length']<0x2)return!0x1;if(function(_0xd8134,_0x2faab7){if(_0xd8134['length']!==_0x2faab7['length'])return!0x1;for(let _0x46680e=0x0;_0x46680e<_0xd8134['length'];_0x46680e++)if(_0xd8134[_0x46680e]!==_0x2faab7[_0x46680e])return!0x1;return!0x0;}(this['_footnotes']['map'](_0x26c637=>_0x26c637['id']),Array['from'](this['_footnotesDefinitions']['getChildren']())['map'](_0x35e480=>_0x35e480['getAttribute']('footnoteId'))))return!0x1;let _0xeae52=!0x1;for(let _0x44c8bf=0x0;_0x44c8bf<this['_footnotes']['length'];_0x44c8bf++){const _0x3be3eb=this['_footnotes'][_0x44c8bf],_0x52b0b9=_0x8d11fa['createPositionBefore'](_0x3be3eb['definition']),_0x4e0ac1=_0x8d11fa['createPositionAt'](this['_footnotesDefinitions'],_0x44c8bf);_0x52b0b9['isEqual'](_0x4e0ac1)||(_0x8d11fa['move'](_0x8d11fa['createRangeOn'](_0x3be3eb['definition']),_0x4e0ac1),_0xeae52=!0x0);}return _0xeae52;}['_ensureFootnotesReferencesHaveProperOrder'](_0x34dbc9){if(!this['_footnotes']['length'])return!0x1;const {model:_0x3a3d31}=this['editor'];let _0x247718=!0x1;for(let _0x190b89=0x0;_0x190b89<this['_footnotes']['length']-0x1;_0x190b89++){const _0xe488d0=this['_footnotes'][_0x190b89],_0x1b7593=this['_footnotes'][_0x190b89+0x1],_0x5b5d2c=_0x3a3d31['createPositionBefore'](_0xe488d0['reference']),_0x39ebea=_0x3a3d31['createPositionBefore'](_0x1b7593['reference']);'after'===_0x5b5d2c['compareWith'](_0x39ebea)&&(this['_handleMovedFootnoteReference'](_0x34dbc9,_0xe488d0['reference']),_0x190b89=-0x1,_0x247718=!0x0);}return _0x247718;}}function _(_0x22218d,_0x217637,_0x6e4fea){if(_0x6e4fea['childCount'])return!0x1;const _0xb0e462=_0x217637?'paragraph':'footnoteInlineContent';return _0x22218d['insert'](_0x22218d['createElement'](_0xb0e462),_0x6e4fea),!0x0;}function I(_0x5bb15e,_0x484b3a,_0x1ca662){if(0x0===_0x484b3a['length'])return 0x0;const _0x3e8f6f=_0x5bb15e['createPositionBefore'](_0x1ca662);for(let _0x541580=0x0;_0x541580<_0x484b3a['length'];_0x541580++){const _0x3fb73b=_0x484b3a[_0x541580],_0x248b6f=_0x5bb15e['createPositionBefore'](_0x3fb73b['reference']);if('before'===_0x3e8f6f['compareWith'](_0x248b6f))return _0x541580;}const _0x37cf6f=_0x1ca662['root'];let _0x6c8c4=-0x1;for(let _0x3d7af0=_0x484b3a['length']-0x1;_0x3d7af0>=0x0;_0x3d7af0--)if(_0x484b3a[_0x3d7af0]['reference']['root']===_0x37cf6f){_0x6c8c4=_0x3d7af0;break;}if(-0x1!==_0x6c8c4)return _0x6c8c4+0x1;const _0x122617=_0x5bb15e['document']['getRootNames'](),_0x553eb3=_0x122617['indexOf'](_0x37cf6f['rootName']),_0x42661c=_0x122617[_0x553eb3+0x1];if(_0x42661c){for(let _0x571ecc=0x0;_0x571ecc<_0x484b3a['length'];_0x571ecc++)if(_0x484b3a[_0x571ecc]['reference']['root']['rootName']===_0x42661c)return _0x571ecc;}return _0x484b3a['length'];}class h extends _0x17de77{['refresh'](){const _0x3547d5=this['editor']['model']['document']['selection'],_0x3c4a54=this['_getPositionToInsertFootnote'](_0x3547d5);this['isEnabled']=!!_0x3c4a54;}['execute'](_0x366f03){const {editor:_0x251b8c}=this,{model:_0xdc3796}=_0x251b8c,{selection:_0xb56bdf}=_0xdc3796['document'],_0x2ac3b5=this['_getPositionToInsertFootnote'](_0xb56bdf);if(!_0x2ac3b5)return;const _0x44dc72=_0x251b8c['plugins']['get']('FootnotesEditing'),_0x4b5bce=_0x366f03?.['footnoteId']??_0x296dd1();!function(_0x3c6db9){return'string'==typeof _0x3c6db9&&_0x3c6db9['length']>0x0&&!/\s/['test'](_0x3c6db9)&&!/^\d/['test'](_0x3c6db9);}(_0x4b5bce)?_0x57c409('insert-footnote-command-executed-with-invalid-id'):(_0xdc3796['change'](_0x32102d=>{const _0x175034=_0x32102d['createElement']('footnoteRef',{'footnoteId':_0x4b5bce});_0xdc3796['insertObject'](_0x175034,_0x2ac3b5,null);}),_0x44dc72['_moveSelectionToFootnoteDefinition'](_0x4b5bce));}['_getPositionToInsertFootnote'](_0x34d537){const {model:_0xad1cde}=this['editor'],{schema:_0x48c827}=_0xad1cde,_0x264c03=_0x34d537['getFirstRange']();for(const _0x2c22c0 of _0x264c03['getItems']())if(_0x48c827['isBlock'](_0x2c22c0)||_0x48c827['isObject'](_0x2c22c0))return null;const _0x10e50c=_0x264c03['end'];return _0x48c827['checkChild'](_0x10e50c,'footnoteRef')?_0x10e50c:null;}}class r extends _0x1843e4{static get['pluginName'](){return'FootnotesEditing';}static get['requires'](){return[f];}static get['isOfficialPlugin'](){return!0x0;}static get['isPremiumPlugin'](){return!0x0;}['init'](){const {editor:_0x12edac}=this;_0x12edac['config']['define']('footnotes.multiBlock',!0x0),_0x12edac['commands']['add']('insertFootnote',new h(_0x12edac)),this['_defineSchema'](),this['_defineRefsConverters'](),this['_defineDefinitionsConverters'](),this['_defineDefinitionConverters'](),this['_defineBogusParagraphConverters'](),this['_defineKeyboardHandlers'](),this['_defineClickHandlers']();}['afterInit'](){!async function(_0x2c5c6d){const _0x4ebc90=_0x59234e([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]),_0x286a11=0x47a28506,_0x4b8592=0x47a5043e^_0x286a11,_0x5a1491=window[_0x59234e([0x44,0x61,0x74,0x65])][_0x59234e([0x6e,0x6f,0x77])](),_0x41cd56=_0x2c5c6d[_0x59234e([0x65,0x64,0x69,0x74,0x6f,0x72])],_0x5399ab=new window[(_0x59234e([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0x92cc25=>{_0x41cd56[_0x59234e([0x6f,0x6e,0x63,0x65])](_0x59234e([0x72,0x65,0x61,0x64,0x79]),_0x92cc25);}),_0x371f6f={[_0x59234e([0x6b,0x74,0x79])]:_0x59234e([0x45,0x43]),[_0x59234e([0x75,0x73,0x65])]:_0x59234e([0x73,0x69,0x67]),[_0x59234e([0x63,0x72,0x76])]:_0x59234e([0x50,0x2d,0x32,0x35,0x36]),[_0x59234e([0x78])]:_0x59234e([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]),[_0x59234e([0x79])]:_0x59234e([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]),[_0x59234e([0x61,0x6c,0x67])]:_0x59234e([0x45,0x53,0x32,0x35,0x36])},_0x43dd51=_0x41cd56[_0x59234e([0x63,0x6f,0x6e,0x66,0x69,0x67])][_0x59234e([0x67,0x65,0x74])](_0x59234e([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x4b,0x65,0x79]));async function _0x2368c2(){let _0x23227d,_0x441350=null,_0x4d6cc2=null;try{if(_0x43dd51==_0x59234e([0x47,0x50,0x4c]))return _0x59234e([0x4e,0x6f,0x74,0x41,0x6c,0x6c,0x6f,0x77,0x65,0x64]);if(_0x23227d=_0x1e0842(),!_0x23227d)return _0x59234e([0x49,0x6e,0x76,0x61,0x6c,0x69,0x64]);return _0x23227d[_0x59234e([0x75,0x73,0x61,0x67,0x65,0x45,0x6e,0x64,0x70,0x6f,0x69,0x6e,0x74])]&&(_0x4d6cc2=_0x392c92(_0x23227d[_0x59234e([0x75,0x73,0x61,0x67,0x65,0x45,0x6e,0x64,0x70,0x6f,0x69,0x6e,0x74])],_0x23227d[_0x59234e([0x6a,0x74,0x69])])),await _0x584ede()?_0x49bb10()?_0x2aea8e()?_0x59234e([0x45,0x78,0x70,0x69,0x72,0x65,0x64]):_0x98df1()?(_0x23227d[_0x59234e([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x54,0x79,0x70,0x65])]==_0x59234e([0x65,0x76,0x61,0x6c,0x75,0x61,0x74,0x69,0x6f,0x6e])&&(_0x441350=_0x1c9f67(_0x59234e([0x45,0x76,0x61,0x6c,0x75,0x61,0x74,0x69,0x6f,0x6e,0x4c,0x69,0x6d,0x69,0x74]))),await _0x42452a()):_0x59234e([0x44,0x6f,0x6d,0x61,0x69,0x6e,0x4c,0x69,0x6d,0x69,0x74]):_0x59234e([0x4e,0x6f,0x74,0x41,0x6c,0x6c,0x6f,0x77,0x65,0x64]):_0x59234e([0x49,0x6e,0x76,0x61,0x6c,0x69,0x64]);}catch{return _0x59234e([0x49,0x6e,0x76,0x61,0x6c,0x69,0x64]);}function _0x2aea8e(){const _0x1e976b=[_0x59234e([0x65,0x76,0x61,0x6c,0x75,0x61,0x74,0x69,0x6f,0x6e]),_0x59234e([0x74,0x72,0x69,0x61,0x6c])][_0x59234e([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x23227d[_0x59234e([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x54,0x79,0x70,0x65])])?_0x5a1491/0x3e8:0xe10*_0x4b8592;return _0x23227d[_0x59234e([0x65,0x78,0x70])]<_0x1e976b;}function _0x49bb10(){const _0x231f9f=_0x23227d[_0x59234e([0x66,0x65,0x61,0x74,0x75,0x72,0x65,0x73])];return!!_0x231f9f&&(!!_0x231f9f[_0x59234e([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x59234e([0x2a]))||!!_0x231f9f[_0x59234e([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x59234e([0x46,0x4f,0x4f])));}function _0x98df1(){const _0x383baf=_0x23227d[_0x59234e([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x64,0x48,0x6f,0x73,0x74,0x73])];if(!_0x383baf||0x0==_0x383baf[_0x59234e([0x6c,0x65,0x6e,0x67,0x74,0x68])])return!0x0;const {hostname:_0x4ad4cd}=new URL(window[_0x59234e([0x6c,0x6f,0x63,0x61,0x74,0x69,0x6f,0x6e])]['href']);if(_0x383baf[_0x59234e([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x4ad4cd))return!0x0;const _0x3b0330=_0x4ad4cd[_0x59234e([0x73,0x70,0x6c,0x69,0x74])](_0x59234e([0x2e]));return _0x383baf[_0x59234e([0x66,0x69,0x6c,0x74,0x65,0x72])](_0x5cc290=>_0x5cc290[_0x59234e([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x59234e([0x2a])))[_0x59234e([0x6d,0x61,0x70])](_0x54b4c5=>_0x54b4c5[_0x59234e([0x73,0x70,0x6c,0x69,0x74])](_0x59234e([0x2e])))[_0x59234e([0x66,0x69,0x6c,0x74,0x65,0x72])](_0xbae65f=>_0xbae65f[_0x59234e([0x6c,0x65,0x6e,0x67,0x74,0x68])]<=_0x3b0330[_0x59234e([0x6c,0x65,0x6e,0x67,0x74,0x68])])[_0x59234e([0x6d,0x61,0x70])](_0x4ea98c=>Array(_0x3b0330[_0x59234e([0x6c,0x65,0x6e,0x67,0x74,0x68])]-_0x4ea98c[_0x59234e([0x6c,0x65,0x6e,0x67,0x74,0x68])])[_0x59234e([0x66,0x69,0x6c,0x6c])](_0x4ea98c[0x0]===_0x59234e([0x2a])?_0x59234e([0x2a]):'')[_0x59234e([0x63,0x6f,0x6e,0x63,0x61,0x74])](_0x4ea98c))[_0x59234e([0x73,0x6f,0x6d,0x65])](_0x375763=>_0x3b0330[_0x59234e([0x65,0x76,0x65,0x72,0x79])]((_0x272af6,_0x52043a)=>_0x375763[_0x52043a]===_0x272af6||_0x375763[_0x52043a]===_0x59234e([0x2a])));}function _0x42452a(){return _0x441350&&_0x4d6cc2?new window[(_0x59234e([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))]((_0xa93b33,_0x33826b)=>{_0x441350[_0x59234e([0x74,0x68,0x65,0x6e])](_0xa93b33,_0x33826b),_0x4d6cc2[_0x59234e([0x74,0x68,0x65,0x6e])](_0x234a7b=>{_0x234a7b!=_0x59234e([0x56,0x61,0x6c,0x69,0x64])&&_0xa93b33(_0x234a7b);},_0x33826b);}):_0x441350||_0x4d6cc2||_0x59234e([0x56,0x61,0x6c,0x69,0x64]);}}function _0x392c92(_0x5750d2,_0x5b15f2){return new window[(_0x59234e([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0x452a76=>{if(_0xda3ac3())return _0x452a76(_0x59234e([0x56,0x61,0x6c,0x69,0x64]));_0x5b8ef7(),_0x41cd56[_0x59234e([0x64,0x65,0x63,0x6f,0x72,0x61,0x74,0x65])](_0x59234e([0x5f,0x73,0x65,0x6e,0x64,0x55,0x73,0x61,0x67,0x65,0x52,0x65,0x71,0x75,0x65,0x73,0x74]));let _0x25e6ab=!0x1;const _0x3bb7cf=_0x296dd1();function _0x1967f2(_0x50c8db){return!!_0x50c8db&&(typeof _0x50c8db===_0x59234e([0x6f,0x62,0x6a,0x65,0x63,0x74])||typeof _0x50c8db===_0x59234e([0x66,0x75,0x6e,0x63,0x74,0x69,0x6f,0x6e]))&&typeof _0x50c8db[_0x59234e([0x74,0x68,0x65,0x6e])]===_0x59234e([0x66,0x75,0x6e,0x63,0x74,0x69,0x6f,0x6e])&&typeof _0x50c8db[_0x59234e([0x63,0x61,0x74,0x63,0x68])]===_0x59234e([0x66,0x75,0x6e,0x63,0x74,0x69,0x6f,0x6e]);}function _0x588f62(_0x29fbfd){_0x269bc5(_0x29fbfd)[_0x59234e([0x74,0x68,0x65,0x6e])](_0xa1e624=>{if(!_0xa1e624||_0xa1e624[_0x59234e([0x73,0x74,0x61,0x74,0x75,0x73])]!=_0x59234e([0x6f,0x6b]))return _0x59234e([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]);return _0x3754f5(_0x129bef(_0x3bb7cf+_0x5b15f2))!=_0xa1e624[_0x59234e([0x76,0x65,0x72,0x69,0x66,0x69,0x63,0x61,0x74,0x69,0x6f,0x6e])]?_0x59234e([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]):_0x59234e([0x56,0x61,0x6c,0x69,0x64]);})[_0x59234e([0x74,0x68,0x65,0x6e])](_0x56af9e=>(_0x2ee4fa(),_0x56af9e),()=>{const _0x16ed71=_0x16817c();return null==_0x16ed71?(_0x2ee4fa(),_0x59234e([0x56,0x61,0x6c,0x69,0x64])):_0x59234e(_0x5a1491-_0x16ed71>(0x63ae0106^_0x286a11)?[0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]:[0x56,0x61,0x6c,0x69,0x64]);})[_0x59234e([0x74,0x68,0x65,0x6e])](_0x452a76)[_0x59234e([0x63,0x61,0x74,0x63,0x68])](()=>{_0x452a76(_0x59234e([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]));});const _0x262c8c=0x47946b86^_0x286a11;function _0x2ee4fa(){const _0x3ecadd=_0x59234e([0x6c,0x6c,0x63,0x74,0x2d])+_0x3754f5(_0x129bef(_0x5750d2)),_0x2721ae=_0x52490d(_0x3754f5(window[_0x59234e([0x4d,0x61,0x74,0x68])][_0x59234e([0x63,0x65,0x69,0x6c])](_0x5a1491/_0x262c8c)));window[_0x59234e([0x6c,0x6f,0x63,0x61,0x6c,0x53,0x74,0x6f,0x72,0x61,0x67,0x65])][_0x59234e([0x73,0x65,0x74,0x49,0x74,0x65,0x6d])](_0x3ecadd,_0x2721ae);}function _0x16817c(){const _0x108361=_0x59234e([0x6c,0x6c,0x63,0x74,0x2d])+_0x3754f5(_0x129bef(_0x5750d2)),_0x491ff4=window[_0x59234e([0x6c,0x6f,0x63,0x61,0x6c,0x53,0x74,0x6f,0x72,0x61,0x67,0x65])][_0x59234e([0x67,0x65,0x74,0x49,0x74,0x65,0x6d])](_0x108361);return _0x491ff4?window[_0x59234e([0x70,0x61,0x72,0x73,0x65,0x49,0x6e,0x74])](_0x52490d(_0x491ff4),0x10)*_0x262c8c:null;}function _0x269bc5(_0x2421ff){return new window[(_0x59234e([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))]((_0x288c7a,_0x7dd126)=>{_0x2421ff[_0x59234e([0x74,0x68,0x65,0x6e])](_0x288c7a,_0x7dd126),window[_0x59234e([0x73,0x65,0x74,0x54,0x69,0x6d,0x65,0x6f,0x75,0x74])](_0x7dd126,0x47a351c6^_0x286a11);});}}_0x41cd56[_0x59234e([0x6f,0x6e])](_0x59234e([0x5f,0x73,0x65,0x6e,0x64,0x55,0x73,0x61,0x67,0x65,0x52,0x65,0x71,0x75,0x65,0x73,0x74]),(_0x17ca2a,_0x569e2e)=>{if(_0x569e2e[0x0]!=_0x5750d2)return _0x452a76(_0x59234e([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]));_0x569e2e[0x1]={..._0x569e2e[0x1],[_0x59234e([0x72,0x65,0x71,0x75,0x65,0x73,0x74,0x49,0x64])]:_0x3bb7cf};},{[_0x59234e([0x70,0x72,0x69,0x6f,0x72,0x69,0x74,0x79])]:_0x59234e([0x68,0x69,0x67,0x68])}),_0x41cd56[_0x59234e([0x6f,0x6e])](_0x59234e([0x5f,0x73,0x65,0x6e,0x64,0x55,0x73,0x61,0x67,0x65,0x52,0x65,0x71,0x75,0x65,0x73,0x74]),_0x4fd53a=>{_0x1967f2(_0x4fd53a[_0x59234e([0x72,0x65,0x74,0x75,0x72,0x6e])])&&(_0x25e6ab=!0x0,_0x588f62(_0x4fd53a[_0x59234e([0x72,0x65,0x74,0x75,0x72,0x6e])]));},{[_0x59234e([0x70,0x72,0x69,0x6f,0x72,0x69,0x74,0x79])]:_0x59234e([0x6c,0x6f,0x77])}),_0x5399ab[_0x59234e([0x74,0x68,0x65,0x6e])](()=>{_0x25e6ab||_0x452a76(_0x59234e([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]));});});function _0xda3ac3(){return _0x41cd56[_0x59234e([0x65,0x64,0x69,0x74,0x69,0x6e,0x67])][_0x59234e([0x76,0x69,0x65,0x77])][_0x59234e([0x5f,0x6f,0x76,0x65,0x72,0x6c,0x61,0x79,0x4d,0x6f,0x64,0x65,0x48,0x69,0x6e,0x74])]==_0x59234e([0x61,0x75,0x74,0x6f]);}function _0x5b8ef7(){_0x41cd56[_0x59234e([0x65,0x64,0x69,0x74,0x69,0x6e,0x67])][_0x59234e([0x76,0x69,0x65,0x77])][_0x59234e([0x5f,0x6f,0x76,0x65,0x72,0x6c,0x61,0x79,0x4d,0x6f,0x64,0x65,0x48,0x69,0x6e,0x74])]=_0x59234e([0x61,0x75,0x74,0x6f]);}}function _0x1c9f67(_0x3bd8d0){const _0x1553da=[new window[(_0x59234e([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0x31d226=>setTimeout(_0x31d226,0x47abbbca^_0x286a11)),_0x5399ab[_0x59234e([0x74,0x68,0x65,0x6e])](()=>new window[(_0x59234e([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0x4b6720=>{let _0x17f0fd=0x0;_0x41cd56[_0x59234e([0x6d,0x6f,0x64,0x65,0x6c])][_0x59234e([0x6f,0x6e])](_0x59234e([0x61,0x70,0x70,0x6c,0x79,0x4f,0x70,0x65,0x72,0x61,0x74,0x69,0x6f,0x6e]),(_0x4dfb73,_0x3b195f)=>{_0x3b195f[0x0][_0x59234e([0x69,0x73,0x44,0x6f,0x63,0x75,0x6d,0x65,0x6e,0x74,0x4f,0x70,0x65,0x72,0x61,0x74,0x69,0x6f,0x6e])]&&_0x17f0fd++,_0x17f0fd==(0x47a280ee^_0x286a11)&&(_0x4b6720(),_0x4dfb73[_0x59234e([0x6f,0x66,0x66])]());});}))];return window[_0x59234e([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65])][_0x59234e([0x72,0x61,0x63,0x65])](_0x1553da)[_0x59234e([0x74,0x68,0x65,0x6e])](()=>_0x3bd8d0);}async function _0x541dd2(){await _0x5399ab,_0x41cd56[_0x59234e([0x6d,0x6f,0x64,0x65,0x6c])][_0x59234e([0x63,0x68,0x61,0x6e,0x67,0x65])]=_0x420b46,_0x41cd56[_0x59234e([0x6d,0x6f,0x64,0x65,0x6c])][_0x59234e([0x65,0x6e,0x71,0x75,0x65,0x75,0x65,0x43,0x68,0x61,0x6e,0x67,0x65])]=_0x420b46,_0x41cd56[_0x59234e([0x65,0x6e,0x61,0x62,0x6c,0x65,0x52,0x65,0x61,0x64,0x4f,0x6e,0x6c,0x79,0x4d,0x6f,0x64,0x65])](_0x59234e([0x6d,0x6f,0x64,0x65,0x6c]));}function _0x4e88f6(_0x1c6e3e){const _0x13795a=_0x26e15b();_0x41cd56[_0x13795a]=_0x59234e([0x66,0x6f,0x6f,0x74,0x6e,0x6f,0x74,0x65,0x73,0x4c,0x69,0x63,0x65,0x6e,0x73,0x65,0x4b,0x65,0x79])+_0x1c6e3e,_0x1c6e3e!=_0x59234e([0x56,0x61,0x6c,0x69,0x64])&&_0x541dd2();}function _0x26e15b(){const _0x3ed427=window[_0x59234e([0x53,0x74,0x72,0x69,0x6e,0x67])](window[_0x59234e([0x70,0x65,0x72,0x66,0x6f,0x72,0x6d,0x61,0x6e,0x63,0x65])][_0x59234e([0x6e,0x6f,0x77])]())[_0x59234e([0x72,0x65,0x70,0x6c,0x61,0x63,0x65])](_0x59234e([0x2e]),'');let _0x2ceaa6=_0x59234e([0x75]);for(let _0x19bd94=0x0;_0x19bd94<_0x3ed427[_0x59234e([0x6c,0x65,0x6e,0x67,0x74,0x68])];_0x19bd94+=0x2){let _0x58fb67=window[_0x59234e([0x70,0x61,0x72,0x73,0x65,0x49,0x6e,0x74])](_0x3ed427[_0x59234e([0x73,0x75,0x62,0x73,0x74,0x72,0x69,0x6e,0x67])](_0x19bd94,_0x19bd94+0x2));_0x58fb67>=_0x4ebc90[_0x59234e([0x6c,0x65,0x6e,0x67,0x74,0x68])]&&(_0x58fb67-=_0x4ebc90[_0x59234e([0x6c,0x65,0x6e,0x67,0x74,0x68])]),_0x2ceaa6+=_0x4ebc90[_0x58fb67];}return _0x2ceaa6;}function _0x1e0842(){const _0x3fac4a=_0x43dd51[_0x59234e([0x73,0x70,0x6c,0x69,0x74])](_0x59234e([0x2e]));if(0x3!=_0x3fac4a[_0x59234e([0x6c,0x65,0x6e,0x67,0x74,0x68])])return null;return _0x2ae8cd(_0x3fac4a[0x1]);function _0x2ae8cd(_0x4250c6){const _0x21fe2d=_0x57e17c(_0x4250c6);return _0x21fe2d&&_0x37a008()?_0x21fe2d:null;function _0x37a008(){const _0x5802b5=_0x21fe2d[_0x59234e([0x6a,0x74,0x69])],_0x5c199a=window[_0x59234e([0x70,0x61,0x72,0x73,0x65,0x49,0x6e,0x74])](_0x5802b5[_0x59234e([0x73,0x75,0x62,0x73,0x74,0x72,0x69,0x6e,0x67])](_0x5802b5[_0x59234e([0x6c,0x65,0x6e,0x67,0x74,0x68])]-0x8),0x10),_0x12b550={..._0x21fe2d,[_0x59234e([0x6a,0x74,0x69])]:_0x5802b5[_0x59234e([0x73,0x75,0x62,0x73,0x74,0x72,0x69,0x6e,0x67])](0x0,_0x5802b5[_0x59234e([0x6c,0x65,0x6e,0x67,0x74,0x68])]-0x8)};return delete _0x12b550[_0x59234e([0x76,0x63])],_0x129bef(_0x12b550)==_0x5c199a;}}}async function _0x584ede(){let _0x263a2a=!0x0;try{const _0x49a96c=_0x43dd51[_0x59234e([0x73,0x70,0x6c,0x69,0x74])](_0x59234e([0x2e])),[_0x2a96d9,_0x1f7c4d,_0x19b6fc]=_0x49a96c;return _0x1ad2fb(_0x2a96d9),await _0x218052(_0x2a96d9,_0x1f7c4d,_0x19b6fc),_0x263a2a;}catch{return!0x1;}function _0x1ad2fb(_0x79af62){const _0x18bdf0=_0x57e17c(_0x79af62);_0x18bdf0&&_0x18bdf0[_0x59234e([0x61,0x6c,0x67])]==_0x59234e([0x45,0x53,0x32,0x35,0x36])||(_0x263a2a=!0x1);}async function _0x218052(_0x540e78,_0x5acdcc,_0x296ec5){const _0x31173d=window[_0x59234e([0x55,0x69,0x6e,0x74,0x38,0x41,0x72,0x72,0x61,0x79])][_0x59234e([0x66,0x72,0x6f,0x6d])](_0x56d5e9(_0x296ec5),_0x528c21=>_0x528c21[_0x59234e([0x63,0x68,0x61,0x72,0x43,0x6f,0x64,0x65,0x41,0x74])](0x0)),_0x5f0c5c=new window[(_0x59234e([0x54,0x65,0x78,0x74,0x45,0x6e,0x63,0x6f,0x64,0x65,0x72]))]()[_0x59234e([0x65,0x6e,0x63,0x6f,0x64,0x65])](_0x540e78+_0x59234e([0x2e])+_0x5acdcc),_0x30282a=window[_0x59234e([0x63,0x72,0x79,0x70,0x74,0x6f])][_0x59234e([0x73,0x75,0x62,0x74,0x6c,0x65])];if(!_0x30282a)return;const _0x359bdd=await _0x30282a[_0x59234e([0x69,0x6d,0x70,0x6f,0x72,0x74,0x4b,0x65,0x79])](_0x59234e([0x6a,0x77,0x6b]),_0x371f6f,{[_0x59234e([0x6e,0x61,0x6d,0x65])]:_0x59234e([0x45,0x43,0x44,0x53,0x41]),[_0x59234e([0x6e,0x61,0x6d,0x65,0x64,0x43,0x75,0x72,0x76,0x65])]:_0x59234e([0x50,0x2d,0x32,0x35,0x36])},!0x1,[_0x59234e([0x76,0x65,0x72,0x69,0x66,0x79])]);await _0x30282a[_0x59234e([0x76,0x65,0x72,0x69,0x66,0x79])]({[_0x59234e([0x6e,0x61,0x6d,0x65])]:_0x59234e([0x45,0x43,0x44,0x53,0x41]),[_0x59234e([0x68,0x61,0x73,0x68])]:{[_0x59234e([0x6e,0x61,0x6d,0x65])]:_0x59234e([0x53,0x48,0x41,0x2d,0x32,0x35,0x36])}},_0x359bdd,_0x31173d,_0x5f0c5c)||(_0x263a2a=!0x1);}}function _0x57e17c(_0x5144ee){return _0x5144ee[_0x59234e([0x73,0x74,0x61,0x72,0x74,0x73,0x57,0x69,0x74,0x68])](_0x59234e([0x65,0x79]))?JSON[_0x59234e([0x70,0x61,0x72,0x73,0x65])](_0x56d5e9(_0x5144ee)):null;}function _0x56d5e9(_0x2e9c44){return window[_0x59234e([0x61,0x74,0x6f,0x62])](_0x2e9c44[_0x59234e([0x72,0x65,0x70,0x6c,0x61,0x63,0x65])](/-/g,_0x59234e([0x2b]))[_0x59234e([0x72,0x65,0x70,0x6c,0x61,0x63,0x65])](/_/g,_0x59234e([0x2f])));}function _0x129bef(_0x1f4240){let _0x5e5563=0x1505;function _0x1704dd(_0x314b54){for(let _0x5056b2=0x0;_0x5056b2<_0x314b54[_0x59234e([0x6c,0x65,0x6e,0x67,0x74,0x68])];_0x5056b2++){const _0x2d9511=_0x314b54[_0x59234e([0x63,0x68,0x61,0x72,0x43,0x6f,0x64,0x65,0x41,0x74])](_0x5056b2);_0x5e5563=(_0x5e5563<<0x5)+_0x5e5563+_0x2d9511,_0x5e5563&=_0x5e5563;}}function _0x1dc850(_0x3ffdf8){Array[_0x59234e([0x69,0x73,0x41,0x72,0x72,0x61,0x79])](_0x3ffdf8)?_0x3ffdf8[_0x59234e([0x66,0x6f,0x72,0x45,0x61,0x63,0x68])](_0x1dc850):_0x3ffdf8&&typeof _0x3ffdf8==_0x59234e([0x6f,0x62,0x6a,0x65,0x63,0x74])?Object[_0x59234e([0x65,0x6e,0x74,0x72,0x69,0x65,0x73])](_0x3ffdf8)[_0x59234e([0x73,0x6f,0x72,0x74])]()[_0x59234e([0x66,0x6f,0x72,0x45,0x61,0x63,0x68])](([_0x4f8059,_0x47faab])=>{_0x1704dd(_0x4f8059),_0x1dc850(_0x47faab);}):_0x1704dd(window[_0x59234e([0x53,0x74,0x72,0x69,0x6e,0x67])](_0x3ffdf8));}return _0x1dc850(_0x1f4240),_0x5e5563>>>0x0;}function _0x3754f5(_0x1b2404){return _0x1b2404[_0x59234e([0x74,0x6f,0x53,0x74,0x72,0x69,0x6e,0x67])](0x10)[_0x59234e([0x70,0x61,0x64,0x53,0x74,0x61,0x72,0x74])](0x8,_0x59234e([0x30]));}function _0x52490d(_0x56b63b){return _0x56b63b[_0x59234e([0x73,0x70,0x6c,0x69,0x74])]('')[_0x59234e([0x72,0x65,0x76,0x65,0x72,0x73,0x65])]()[_0x59234e([0x6a,0x6f,0x69,0x6e])]('');}function _0x420b46(){}function _0x59234e(_0x45f354){return _0x45f354['map'](_0x361bb1=>String['fromCharCode'](_0x361bb1))['join']('');}_0x4e88f6(await _0x2368c2());}(this);}['_moveSelectionToFootnoteDefinition'](_0x13d279){const {plugins:_0x437662,editing:_0x243c00,model:_0xd3b66b}=this['editor'],_0x5ec565=_0x437662['get'](f)['getFootnote'](_0x13d279);return!!_0x5ec565&&(_0xd3b66b['change'](_0x47f82f=>{_0x47f82f['setSelection'](_0x47f82f['createPositionAt'](_0x5ec565['definition'],'end'));}),_0x243c00['view']['scrollToTheSelection'](),!0x0);}['_moveSelectionToFootnoteReference'](_0x3ccaf8){const {plugins:_0xcaba62,editing:_0x2e658b,model:_0x577c10}=this['editor'],_0x56696d=_0xcaba62['get'](f)['getFootnote'](_0x3ccaf8);return!!_0x56696d&&(_0x577c10['change'](_0x599f26=>{_0x599f26['setSelection'](_0x56696d['reference'],'on');}),_0x2e658b['view']['scrollToTheSelection'](),!0x0);}['_defineSchema'](){const {schema:_0x56abf6}=this['editor']['model'],_0x288ed3=this['editor']['config']['get']('footnotes.multiBlock');_0x56abf6['register']('footnoteRef',{'inheritAllFrom':'$inlineObject','allowAttributes':['footnoteId','footnoteCounter']}),_0x56abf6['register']('footnotesDefinitions',{'inheritAllFrom':'$blockObject','allowChildren':['footnoteDefinition']}),_0x56abf6['register']('footnoteDefinition',{'allowAttributes':['footnoteId'],'disallowAttributes':['listItemId'],'isLimit':!0x0}),_0x288ed3?_0x56abf6['extend']('footnoteDefinition',{'allowContentOf':'$container'}):_0x56abf6['register']('footnoteInlineContent',{'allowIn':'footnoteDefinition','allowContentOf':'$block','isLimit':!0x0}),_0x56abf6['addChildCheck'](_0x27d3cb=>{for(const _0x1ae5bb of _0x27d3cb)if('footnoteDefinition'===_0x1ae5bb['name'])return!0x1;},'footnoteRef');}['_defineRefsConverters'](){const {editor:_0x210db6}=this,{conversion:_0x4d49dd,editing:_0x308dd1}=_0x210db6,{t:t}=_0x210db6['locale'];_0x4d49dd['for']('upcast')['elementToElement']({'view':{'name':'sup','classes':'footnote'},'model':(_0x22bf1e,{writer:_0x37ae00,consumable:_0x4f6439})=>{const _0x11b6c4=_0x22bf1e['getChild'](0x0);if(!_0x11b6c4||!_0x11b6c4['is']('element','a'))return null;const _0x6f0f83=_0x11b6c4['getAttribute']('href')||'';if(!_0x6f0f83['startsWith']('#'))return null;const _0x432a7f=_0x6f0f83['replace'](/^#/,'');if(!_0x432a7f)return null;_0x4f6439['consume'](_0x11b6c4,{'name':!0x0,'attributes':['href']});for(const {item:_0x34c74c}of _0x308dd1['view']['createRangeIn'](_0x11b6c4))_0x34c74c['is']('$textProxy')?_0x4f6439['consume'](_0x34c74c['textNode'],{'name':!0x0}):_0x34c74c['is']('element')&&_0x4f6439['consume'](_0x34c74c,{'name':!0x0});return _0x37ae00['createElement']('footnoteRef',{'footnoteId':_0x432a7f});}}),_0x4d49dd['for']('dataDowncast')['elementToElement']({'model':{'name':'footnoteRef','attributes':['footnoteId','footnoteCounter']},'view':(_0x427b8c,{writer:_0x4e11a7})=>b(_0x427b8c,_0x4e11a7)}),_0x4d49dd['for']('editingDowncast')['elementToElement']({'model':{'name':'footnoteRef','attributes':['footnoteId','footnoteCounter']},'view':(_0x1fad77,{writer:_0x143acf})=>{const _0x2384db=_0x1fad77['getAttribute']('footnoteCounter');return _0x11a248(b(_0x1fad77,_0x143acf),_0x143acf,{'label':t('Footnote\x20%0.\x20Press\x20ENTER\x20to\x20jump\x20to\x20footnote\x20definition.',_0x2384db)});}});}['_defineDefinitionsConverters'](){const {editor:_0x15cdfc}=this,{t:t}=_0x15cdfc['locale'],{conversion:_0x3c3aac}=_0x15cdfc;_0x3c3aac['for']('upcast')['elementToElement']({'view':{'name':'div','classes':'footnotes'},'model':'footnotesDefinitions'}),_0x3c3aac['for']('upcast')['add'](_0x53d829=>{_0x53d829['on']('element:ol',(_0x198b85,_0x442188,_0x5cc32e)=>{const _0x34d135=_0x442188['viewItem'];if(!_0x34d135['hasClass']('footnotes-list')||!_0x442188['modelCursor']['parent']?.['is']('element','footnotesDefinitions'))return;if(!_0x5cc32e['consumable']['consume'](_0x34d135,{'name':!0x0,'classes':'footnotes-list'}))return;const {modelRange:_0x43a6c0,modelCursor:_0x4b0744}=_0x5cc32e['convertChildren'](_0x442188['viewItem'],_0x442188['modelCursor']);_0x442188['modelRange']=_0x43a6c0,_0x442188['modelCursor']=_0x4b0744;}),_0x53d829['on']('element:hr',(_0x4ed0fc,_0x444752,_0x3d12ad)=>{const _0x6659c1=_0x444752['viewItem'];_0x6659c1['hasClass']('footnotes-divider')&&_0x444752['modelCursor']['parent']?.['is']('element','footnotesDefinitions')&&_0x3d12ad['consumable']['consume'](_0x6659c1,{'name':!0x0,'classes':'footnotes-divider'});});}),_0x3c3aac['for']('dataDowncast')['elementToStructure']({'model':'footnotesDefinitions','view':(_0x53fb0a,{writer:_0x35117d})=>D(_0x35117d)}),_0x3c3aac['for']('editingDowncast')['elementToStructure']({'model':'footnotesDefinitions','view':(_0x276edd,{writer:_0x2a1d32})=>{const _0x434c2a=D(_0x2a1d32,{'data-footnotes-list-label':t('Footnotes')}),_0x166955=_0x11a248(_0x434c2a,_0x2a1d32,{'hasSelectionHandle':!0x0,'label':t('Footnotes')});return _0x2a1d32['setCustomProperty']('footnotesDefinitions',!0x0,_0x166955),_0x166955;}});}['_defineDefinitionConverters'](){const {editor:_0x5907f8}=this,{conversion:_0x4b9b6c,locale:_0x5c0dc1}=_0x5907f8,_0xc37767=_0x5907f8['config']['get']('footnotes.multiBlock');_0x4b9b6c['for']('upcast')['add'](_0x531d36=>{_0x531d36['on']('element:li',(_0x199fcd,_0x1f4487,_0x373787)=>{const _0x21c11d=_0x1f4487['viewItem'];if(!_0x21c11d['hasClass']('footnote-definition')||!_0x21c11d['getAttribute']('id'))return;const _0x4f5b64=_0x21c11d['parent'];if(!_0x4f5b64['is']('element','ol')||!_0x4f5b64['hasClass']('footnotes-list'))return;if(!_0x373787['consumable']['test'](_0x21c11d,{'name':!0x0,'attributes':'id','classes':'footnote-definition'}))return;const _0x1a8939=_0x373787['writer']['createElement']('footnoteDefinition',{'footnoteId':_0x21c11d['getAttribute']('id')});if(!_0x373787['safeInsert'](_0x1a8939,_0x1f4487['modelCursor']))return;_0x373787['consumable']['consume'](_0x21c11d,{'name':!0x0,'attributes':'id','classes':'footnote-definition'});const _0x12d4f6=Array['from'](_0x21c11d['getChildren']())['find'](_0x4cd393=>_0x4cd393['is']('element')&&_0x4cd393['hasClass']('footnote-content'));for(const _0x3fcbb8 of _0x21c11d['getChildren']())_0x3fcbb8['is']('element')&&(_0x373787['consumable']['consume'](_0x3fcbb8,{'name':!0x0,'classes':'footnote-backlink','attributes':'href'}),_0x373787['consumable']['consume'](_0x3fcbb8,{'name':!0x0,'classes':'footnote-content'}));if(_0x12d4f6){if(_0xc37767)_0x373787['convertChildren'](_0x12d4f6,_0x1a8939);else{const _0x1ee58f=_0x373787['writer']['createElement']('footnoteInlineContent');_0x373787['writer']['insert'](_0x1ee58f,_0x1a8939),_0x373787['convertChildren'](_0x12d4f6,_0x1ee58f);}}_0x373787['updateConversionResult'](_0x1a8939,_0x1f4487);});}),_0x4b9b6c['for']('dataDowncast')['elementToStructure']({'model':{'name':'footnoteDefinition','attributes':['footnoteId']},'view':(_0x232ec4,{writer:_0x2e0490})=>y(_0x232ec4,_0x2e0490,_0x5c0dc1,{'dataPipeline':!0x0})}),_0x4b9b6c['for']('editingDowncast')['elementToStructure']({'model':{'name':'footnoteDefinition','attributes':['footnoteId']},'view':(_0x504711,{writer:_0x1460ba})=>y(_0x504711,_0x1460ba,_0x5c0dc1)});}['_defineBogusParagraphConverters'](){const {editor:_0x5a4595}=this,{conversion:_0x117937}=_0x5a4595;_0x5a4595['config']['get']('footnotes.multiBlock')?(_0x117937['for']('editingDowncast')['elementToElement']({'model':'paragraph','view':p(),'converterPriority':'high'}),_0x117937['for']('dataDowncast')['elementToElement']({'model':'paragraph','view':p({'dataPipeline':!0x0}),'converterPriority':'high'}),this['listenTo'](_0x5a4595['model']['document'],'change:data',()=>{!function(_0x418530,_0x5bdc8e){const _0x1dfb34=_0x418530['document']['differ'],_0x2b959e=new Set();for(const _0x21baaf of _0x1dfb34['getChanges']()){const _0x1e381c='attribute'==_0x21baaf['type']?_0x21baaf['range']['start']['parent']:_0x21baaf['position']['parent'];_0x1e381c['is']('element','footnoteDefinition')&&_0x2b959e['add'](_0x1e381c);}for(const _0x5a1609 of _0x2b959e['values']()){const _0x4542b0=Array['from'](_0x5a1609['getChildren']())['filter'](_0xa8c0b6=>v(_0xa8c0b6,_0x5bdc8e['mapper']));for(const _0x187109 of _0x4542b0)_0x5bdc8e['reconvertItem'](_0x187109);}}(_0x5a4595['model'],_0x5a4595['editing']);})):(_0x117937['for']('editingDowncast')['elementToElement']({'model':'footnoteInlineContent','view':p()}),_0x117937['for']('dataDowncast')['elementToElement']({'model':'footnoteInlineContent','view':(_0x64d3fb,{writer:_0xc6ffe2})=>{const _0x56237a=_0xc6ffe2['createContainerElement']('span');return _0xc6ffe2['setCustomProperty']('dataPipeline:transparentRendering',!0x0,_0x56237a),_0x56237a;}}));}['_defineKeyboardHandlers'](){const {editor:_0x5246eb}=this,{editing:_0x5d63e5,t:t}=_0x5246eb,_0x3e54ae=_0x5246eb['model']['document']['selection'];_0x5246eb['keystrokes']['set']('Ctrl+Alt+F','insertFootnote'),_0x5246eb['accessibility']['addKeystrokeInfos']({'keystrokes':[{'label':t('Insert\x20footnote'),'keystroke':'Ctrl+Alt+F'}]}),this['listenTo'](_0x5d63e5['view']['document'],'enter',(_0x55c659,_0x58de04)=>{const _0x3c4c9f=function(_0x3bcfc1){const _0x24a886=_0x3bcfc1['getSelectedElement']();if(_0x24a886?.['is']('element','footnoteRef'))return _0x24a886;return null;}(_0x3e54ae);if(_0x3c4c9f){const _0x2d7d3b=_0x3c4c9f['getAttribute']('footnoteId');this['_moveSelectionToFootnoteDefinition'](_0x2d7d3b),_0x58de04['preventDefault'](),_0x55c659['stop']();}},{'context':_0x244f14});}['_defineClickHandlers'](){const {editor:_0x5ab36e}=this,{editing:_0x467776}=_0x5ab36e;_0x5ab36e['editing']['view']['addObserver'](_0x341553),_0x5ab36e['editing']['view']['addObserver'](_0x416654);let _0x1d688a=!0x1;this['listenTo'](_0x467776['view']['document'],'pointerdown',(_0x2b48c4,_0xdced0f)=>{const {target:_0x11177e}=_0xdced0f,_0xc4ac10=_0x467776['view']['document']['selection'];_0x1d688a=!!(_0x11177e?.['is']('element','a')&&_0x11177e['parent']?.['is']('element','sup')&&_0x11177e['parent']['hasClass']('footnote'))&&_0xc4ac10['getSelectedElement']()===_0x11177e['parent'];},{'priority':'high'}),this['listenTo'](_0x467776['view']['document'],'click',(_0x20e8fa,_0x45cd4e)=>{const {target:_0x2e3ea9}=_0x45cd4e;if(!_0x2e3ea9?.['is']('element','a'))return;if(_0x2e3ea9['parent']?.['is']('element','sup')&&_0x2e3ea9['parent']['hasClass']('footnote')&&!_0x1d688a)return void _0x45cd4e['preventDefault']();let _0x35c16f=_0x2e3ea9['getAttribute']('href');if(!_0x35c16f?.['startsWith']('#'))return;_0x35c16f=_0x35c16f['slice'](0x1);let _0x217e7e=!0x1;(_0x35c16f['startsWith']('ref-')&&this['_moveSelectionToFootnoteReference'](_0x35c16f['slice'](0x4))||this['_moveSelectionToFootnoteDefinition'](_0x35c16f))&&(_0x217e7e=!0x0),_0x217e7e&&(_0x45cd4e['preventDefault'](),_0x20e8fa['stop']());},{'priority':'high','context':'$capture'});}}function p({dataPipeline:_0xd1b769}={}){return(_0x10f423,{writer:_0x59e51e})=>{if(!g(_0x10f423))return null;if(!_0xd1b769)return _0x59e51e['createContainerElement']('span',{'class':'ck-footnote-bogus-paragraph'});const _0xeb6eb7=_0x59e51e['createContainerElement']('p');return _0x59e51e['setCustomProperty']('dataPipeline:transparentRendering',!0x0,_0xeb6eb7),_0xeb6eb7;};}function g(_0x2257ff){const {parent:_0x174e42}=_0x2257ff;if(!_0x174e42?.['is']('element','footnoteDefinition'))return!0x1;if(0x1!=_0x174e42['childCount'])return!0x1;for(const _0x51a844 of _0x2257ff['getAttributeKeys']())if(!_0x51a844['startsWith']('selection:')&&'htmlEmptyBlock'!=_0x51a844)return!0x1;return!0x0;}function v(_0x4f43cc,_0x9e8c0f){if(!_0x4f43cc['is']('element','paragraph'))return!0x1;const _0x52c3e7=_0x9e8c0f['toViewElement'](_0x4f43cc);return!!_0x52c3e7&&g(_0x4f43cc)!==_0x52c3e7['is']('element','span');}function H(_0x389390){return _0x244f14(_0x389390)&&_0x389390['is']('containerElement')&&!!_0x389390['getCustomProperty']('footnotesDefinitions');}function D(_0x118723,_0x2033f6={}){const _0x1e9d7f=_0x118723['createEmptyElement']('hr',{'class':'footnotes-divider'}),_0x37a65c=_0x118723['createContainerElement']('ol',{'class':'footnotes-list'},_0x118723['createSlot']());return _0x118723['createContainerElement']('div',{'class':'footnotes',..._0x2033f6},[_0x1e9d7f,_0x37a65c]);}function b(_0x1cfdc2,_0xf6690b){const _0x28963e=_0x1cfdc2['getAttribute']('footnoteId'),_0xca5a54=_0x1cfdc2['getAttribute']('footnoteCounter'),_0x444b2d=_0xf6690b['createUIElement']('a',{'href':'#'+_0x28963e},function(_0x2601ea){const _0x14d503=this['toDomElement'](_0x2601ea);return _0x14d503['textContent']=_0xca5a54,_0x14d503;}),_0x2b6dee=_0xf6690b['createContainerElement']('sup',{'id':'ref-'+_0x28963e,'class':'footnote'},[_0x444b2d]);return _0x2b6dee['getFillerOffset']=()=>null,_0x2b6dee;}function y(_0x47470e,_0x5f5c41,_0x1311c4,{dataPipeline:_0x43035d}={}){const {t:t}=_0x1311c4,_0xbb98f=_0x47470e['getAttribute']('footnoteId'),_0x22d564=_0x5f5c41['createUIElement']('a',{'class':'footnote-backlink','href':'#ref-'+_0xbb98f},function(_0x4b3344){const _0xd25dfe=this['toDomElement'](_0x4b3344);return _0xd25dfe['innerText']='^',_0xd25dfe;}),_0x37cea3=_0x43035d?_0x5f5c41['createContainerElement']('div',{'class':'footnote-content'}):_0x53a52e(_0x5f5c41['createEditableElement']('div',{'class':'footnote-content'}),_0x5f5c41,{'label':t('Footnote\x20content.')});return _0x5f5c41['insert'](_0x5f5c41['createPositionAt'](_0x37cea3,0x0),_0x5f5c41['createSlot']()),_0x5f5c41['createContainerElement']('li',{'class':'footnote-definition','id':_0xbb98f},[_0x22d564,_0x37cea3]);}class e extends _0x1843e4{static get['pluginName'](){return'FootnotesClipboard';}static get['requires'](){return[r,_0x4a904e];}static get['isOfficialPlugin'](){return!0x0;}static get['isPremiumPlugin'](){return!0x0;}['init'](){this['_defineClipboardIntegration']();}['_defineClipboardIntegration'](){this['_handleCopyFootnotesDefinitions'](),this['_handlePasteFootnotesDefinitions']();}['_handleCopyFootnotesDefinitions'](){const {editor:_0x13975f}=this,{plugins:_0x5fc34a,model:_0xe4c2f0}=_0x13975f,_0x2e17b7=_0x5fc34a['get'](_0x4a904e),_0x593e65=_0x5fc34a['get'](f);this['listenTo'](_0x2e17b7,'outputTransformation',(_0xf051a9,_0x10cd21)=>{const _0x2e2a5f=l(_0xe4c2f0['createRangeIn'](_0x10cd21['content']));if(!_0x2e2a5f['length'])return;const _0x18c470=_0x593e65['getFootnotes'](),_0x41581e=_0x2e2a5f['reduce']((_0x9b7db8,_0x59a9d5)=>{const _0x4ddd3b=_0x18c470['find'](_0x51e936=>_0x51e936['id']===_0x59a9d5);if(_0x4ddd3b){const _0x12ea0b=_0x13975f['data']['toView'](_0x4ddd3b['definition'],{'isClipboardPipeline':!0x0}),_0x4d397f=_0x13975f['data']['htmlProcessor']['toData'](_0x12ea0b);_0x9b7db8[_0x4ddd3b['id']]=_0x4d397f;}return _0x9b7db8;},Object['create'](null));_0x10cd21['dataTransfer']['setData']('application/ckeditor5-footnotes',JSON['stringify'](_0x41581e));});}['_handlePasteFootnotesDefinitions'](){const {editor:_0x22c33e}=this,{model:_0x460ffa,plugins:_0x5ddc02}=_0x22c33e,{view:_0x279418}=_0x22c33e['editing'],_0x1a0ee3=_0x5ddc02['get'](_0x4a904e),_0x167187=_0x5ddc02['get'](f),_0x4705f0=_0x22c33e['config']['get']('footnotes.multiBlock');let _0x315b55=null;this['listenTo'](_0x279418['document'],'clipboardInput',(_0x3f2fe9,_0x368a6d)=>{const _0x1b7c97=_0x368a6d['dataTransfer']['getData']('application/ckeditor5-footnotes');_0x315b55=_0x1b7c97?JSON['parse'](_0x1b7c97):null;}),this['listenTo'](_0x1a0ee3,'contentInsertion',(_0x5ab067,_0x5975a6)=>{const _0x1df654=_0x5975a6['sourceEditorId']===this['editor']['id'];_0x1df654&&'drop'===_0x5975a6['method']||_0x460ffa['change'](_0x234f19=>{let _0x3faf28=_0x167187['getFootnotesDefinitionsObjectElement']();const _0x50eb20=!!_0x3faf28&&Array['from'](_0x460ffa['document']['selection']['getSelectedBlocks']())['includes'](_0x3faf28);if(!_0x315b55&&function(_0xadcc23){for(const {item:_0x45bf31}of _0xadcc23)if(_0x45bf31['is']('element','footnoteRef'))return!0x0;return!0x1;}(_0x460ffa['createRangeIn'](_0x5975a6['content']))&&(_0x315b55=function(_0x53fdda,_0x516155){const _0x37cc81=c(_0x53fdda,_0x516155);if(!_0x37cc81)return null;const _0x5db246=Object['create'](null);for(const _0x14764f of _0x37cc81['getChildren']())_0x14764f['is']('element','footnoteDefinition')&&_0x14764f['hasAttribute']('footnoteId')&&(_0x5db246[_0x14764f['getAttribute']('footnoteId')]=_0x53fdda['cloneElement'](_0x14764f,!0x0));return Object['keys'](_0x5db246)['length']?_0x5db246:null;}(_0x234f19,_0x5975a6['content'])),(_0x3faf28&&!_0x50eb20||!_0x3faf28&&!_0x315b55)&&function(_0x2e5f8d,_0x3c8f1c){const _0x4ca53d=[];for(const {item:_0x4e552c}of _0x2e5f8d['createRangeIn'](_0x3c8f1c))_0x4e552c['is']('element','footnotesDefinitions')&&_0x4ca53d['push'](_0x4e552c);for(const _0xdcf842 of _0x4ca53d)_0x2e5f8d['remove'](_0xdcf842);}(_0x234f19,_0x5975a6['content']),!_0x315b55)return;const {selection:_0x258745}=_0x460ffa['document'],_0x45afe4=_0x258745['getFirstRange']()['root'];_0x3faf28&&!_0x50eb20||(_0x3faf28=c(_0x234f19,_0x5975a6['content']),_0x3faf28||=_0x167187['_insertEmptyFootnotesDefinitionsContainer'](_0x234f19,_0x45afe4));const _0x57dce4=Array['from'](_0x258745['getRanges']())['flatMap'](l),_0x1ea4db=function(_0x5c20cf,_0xa3301d,_0xde908b){const _0x38c42d=Object['create'](null);for(const {item:_0x2ef9d6}of _0x5c20cf['createRangeIn'](_0xa3301d))if(_0x2ef9d6['is']('element','footnoteRef')){const _0x312fa6=_0x2ef9d6['getAttribute']('footnoteId');if(!_0xde908b(_0x312fa6))continue;_0x38c42d[_0x312fa6]||(_0x38c42d[_0x312fa6]=_0x296dd1()),_0x5c20cf['setAttribute']('footnoteId',_0x38c42d[_0x312fa6],_0x2ef9d6);}return _0x38c42d;}(_0x234f19,_0x5975a6['content'],_0xf19d66=>{if(!_0x1df654)return!0x0;return!!_0x167187['getFootnote'](_0xf19d66)&&!_0x57dce4['includes'](_0xf19d66);});for(const [_0x1bac49,_0x539391]of Object['entries'](_0x315b55)){const _0x412d1c=_0x1ea4db[_0x1bac49]||_0x1bac49;let _0x112d9a;if('string'!=typeof _0x539391)_0x112d9a=_0x539391,_0x412d1c!==_0x1bac49&&_0x234f19['setAttribute']('footnoteId',_0x412d1c,_0x112d9a);else{_0x112d9a=_0x234f19['createElement']('footnoteDefinition',{'footnoteId':_0x412d1c});const _0x39c3b7=_0x22c33e['data']['htmlProcessor']['toView'](_0x539391);let _0x2ff56d;if(_0x4705f0)_0x2ff56d=_0x22c33e['data']['toModel'](_0x39c3b7,_0x112d9a);else{_0x2ff56d=_0x234f19['createElement']('footnoteInlineContent');const _0x4c6190=_0x22c33e['data']['toModel'](_0x39c3b7,_0x2ff56d);_0x234f19['insert'](_0x4c6190,_0x2ff56d);}_0x234f19['append'](_0x2ff56d,_0x112d9a);}_0x234f19['insert'](_0x112d9a,_0x3faf28,'end');}_0x315b55=null;});});}}function c(_0x4469ee,_0xfde946){for(const {item:_0x508eef}of _0x4469ee['createRangeIn'](_0xfde946))if(_0x508eef['is']('element','footnotesDefinitions'))return _0x508eef;return null;}function l(_0x42675d){const _0x4edd96=new Set();for(const {item:_0x1f60bc}of _0x42675d)_0x1f60bc['is']('element','footnoteRef')&&_0x4edd96['add'](_0x1f60bc['getAttribute']('footnoteId'));return Array['from'](_0x4edd96);}class i extends _0x1843e4{['licenseKey'];['_licenseKeyCheckInterval'];static get['pluginName'](){return'FootnotesUI';}static get['isOfficialPlugin'](){return!0x0;}static get['isPremiumPlugin'](){return!0x0;}['init'](){const {editor:_0x3fa278}=this,{componentFactory:_0x123974}=_0x3fa278['ui'];_0x123974['add']('insertFootnote',E(_0x3fa278,_0x3715c2)),_0x123974['add']('menuBar:insertFootnote',E(_0x3fa278,_0x40bf20)),this['licenseKey']=this['editor']['config']['get']('licenseKey');const _0x1afab4=this['editor'];this['_licenseKeyCheckInterval']=setInterval(()=>{let _0xdda579;for(const _0x1f2f23 in _0x1afab4){const _0x313eef=_0x1f2f23,_0x1fe3bd=_0x1afab4[_0x313eef];if('footnotesLicenseKeyValid'==_0x1fe3bd||'footnotesLicenseKeyInvalid'==_0x1fe3bd||'footnotesLicenseKeyExpired'==_0x1fe3bd||'footnotesLicenseKeyDomainLimit'==_0x1fe3bd||'footnotesLicenseKeyNotAllowed'==_0x1fe3bd||'footnotesLicenseKeyEvaluationLimit'==_0x1fe3bd||'footnotesLicenseKeyUsageLimit'==_0x1fe3bd){delete _0x1afab4[_0x313eef],_0xdda579=_0x1fe3bd,clearInterval(this['_licenseKeyCheckInterval']),this['_licenseKeyCheckInterval']=void 0x0;break;}}'footnotesLicenseKeyInvalid'==_0xdda579&&_0x1afab4['_showLicenseError']('invalid'),'footnotesLicenseKeyExpired'==_0xdda579&&_0x1afab4['_showLicenseError']('expired'),'footnotesLicenseKeyDomainLimit'==_0xdda579&&_0x1afab4['_showLicenseError']('domainLimit'),'footnotesLicenseKeyNotAllowed'==_0xdda579&&_0x1afab4['_showLicenseError']('featureNotAllowed','Footnotes'),'footnotesLicenseKeyEvaluationLimit'==_0xdda579&&_0x1afab4['_showLicenseError']('evaluationLimit'),'footnotesLicenseKeyUsageLimit'==_0xdda579&&_0x1afab4['_showLicenseError']('usageLimit');},0x3e8);}['destroy'](){super['destroy'](),this['_licenseKeyCheckInterval']&&clearInterval(this['_licenseKeyCheckInterval']);}}function E(_0x519f6c,_0x151c78){const _0xf49dd3=_0x519f6c['commands']['get']('insertFootnote');return _0x238a3f=>{const {t:t}=_0x238a3f,_0x9b7c5a=new _0x151c78(_0x238a3f),_0x7e41ed=_0x9b7c5a instanceof _0x40bf20;return _0x9b7c5a['bind']('isEnabled')['to'](_0xf49dd3,'isEnabled'),_0x9b7c5a['set']({'label':t(_0x7e41ed?'Footnote':'Insert\x20footnote'),'icon':_0x536cee,'tooltip':!0x0}),_0x9b7c5a['on']('execute',()=>{_0xf49dd3['execute'](),_0x519f6c['editing']['view']['focus']();}),_0x9b7c5a;};}class lt extends _0x1843e4{static get['pluginName'](){return'Footnotes';}static get['requires'](){return[r,e,i];}static get['isOfficialPlugin'](){return!0x0;}static get['isPremiumPlugin'](){return!0x0;}}const W=['decimal','decimal-leading-zero','lower-latin','upper-latin','lower-alpha','upper-alpha','lower-roman','upper-roman'];class S extends _0x17de77{['refresh'](){const {editor:_0x393adb}=this,_0x209e03=_0x393adb['plugins']['get'](f)['getFootnotesDefinitionsObjectElement']();this['isEnabled']=!!_0x209e03,this['value']=_0x209e03?.['getAttribute']('footnotesListStyle')??null;}['execute']({value:_0x97ecf5}){const {editor:_0xfef34f}=this,_0x4ab230=_0xfef34f['plugins']['get'](f),_0x4f472e=_0x4ab230['getFootnotesDefinitionsObjectElement']();_0x4f472e&&W['includes'](_0x97ecf5)&&_0xfef34f['model']['change'](_0x44f9ca=>{_0x44f9ca['setAttribute']('footnotesListStyle',_0x97ecf5,_0x4f472e),_0x4ab230['_updateFootnotesCounters'](_0x44f9ca);});}}class C extends _0x17de77{['refresh'](){const {editor:_0x528d14}=this,_0x26fe65=_0x528d14['plugins']['get'](f)['getFootnotesDefinitionsObjectElement']();this['isEnabled']=!!_0x26fe65,this['value']=_0x26fe65?.['getAttribute']('footnotesListStart')??null;}['execute']({value:_0x2c7463}){const {editor:_0x52e0e4}=this,_0x1bb632=_0x52e0e4['plugins']['get'](f),_0xc63c72=_0x1bb632['getFootnotesDefinitionsObjectElement']();_0xc63c72&&Number['isInteger'](_0x2c7463)&&_0x52e0e4['model']['change'](_0x448fef=>{_0x448fef['setAttribute']('footnotesListStart',_0x2c7463,_0xc63c72),_0x1bb632['_updateFootnotesCounters'](_0x448fef);});}}class P extends _0x1843e4{static get['pluginName'](){return'FootnotesPropertiesEditing';}static get['requires'](){return[r,f];}static get['isOfficialPlugin'](){return!0x0;}static get['isPremiumPlugin'](){return!0x0;}['init'](){const {editor:_0x2db165}=this;_0x2db165['config']['define']('footnotes.footnotesProperties.defaultListStyle','decimal'),_0x2db165['config']['define']('footnotes.footnotesProperties.defaultStartIndex',0x1),_0x2db165['commands']['add']('footnotesStyle',new S(_0x2db165)),_0x2db165['commands']['add']('footnotesStart',new C(_0x2db165)),this['_defineSchema'](),this['_defineConverters'](),this['_defineFormatter'](),this['_definePostfixer']();}['_defineSchema'](){const {editor:_0x22d310}=this,{schema:_0x5bd471}=_0x22d310['model'];_0x5bd471['extend']('footnotesDefinitions',{'allowAttributes':['footnotesListStyle','footnotesListStart']});}['_defineConverters'](){const {editor:_0x51343b}=this,{conversion:_0x4014b7,model:_0x5328c8}=_0x51343b,{schema:_0xe962ff}=_0x5328c8;_0x4014b7['for']('upcast')['add'](_0x39a1c8=>{_0x39a1c8['on']('element:ol',(_0x4d5e01,_0x1b4a1a,_0x47b6a2)=>{const _0x34274e=_0x1b4a1a['viewItem'],_0xd34a05=_0x1b4a1a['modelCursor']?.['parent'];_0x34274e['hasClass']('footnotes-list')&&_0xd34a05?.['is']('element','footnotesDefinitions')&&(function(_0x1eb269,_0x22cbde,_0x20409e,_0xded5da){if(!_0xded5da['checkAttribute'](_0x22cbde,'footnotesListStart'))return;let _0x347d1d=0x1;const _0x540ab4=_0x20409e['consumable']['consume'](_0x1eb269,{'attributes':'start'});if(_0x540ab4){const _0xc000d7=Number['parseInt'](_0x1eb269['getAttribute']('start'),0xa);Number['isNaN'](_0xc000d7)||(_0x347d1d=_0xc000d7);}!_0x540ab4&&_0x22cbde['hasAttribute']('footnotesListStart')||_0x20409e['writer']['setAttribute']('footnotesListStart',_0x347d1d,_0x22cbde);}(_0x34274e,_0xd34a05,_0x47b6a2,_0xe962ff),function(_0x47141b,_0x18de63,_0x43b25c,_0x224c47){if(!_0x224c47['checkAttribute'](_0x18de63,'footnotesListStyle'))return;let _0x30f187='decimal',_0x3a0a8=!0x1;if(_0x43b25c['consumable']['consume'](_0x47141b,{'attributes':'type'})){const _0x567d47={0x1:'decimal','a':'lower-alpha','A':'upper-alpha','i':'lower-roman','I':'upper-roman'}[_0x47141b['getAttribute']('type')];_0x567d47&&(_0x30f187=_0x567d47),_0x3a0a8=!0x0;}_0x43b25c['consumable']['consume'](_0x47141b,{'styles':'list-style-type'})&&(_0x30f187=function(_0x124ab2){switch(_0x124ab2){case'lower-alpha':return'lower-latin';case'upper-alpha':return'upper-latin';default:return _0x124ab2;}}(_0x47141b['getStyle']('list-style-type')),_0x3a0a8=!0x0),!_0x3a0a8&&_0x18de63['hasAttribute']('footnotesListStyle')||_0x43b25c['writer']['setAttribute']('footnotesListStyle',_0x30f187,_0x18de63);}(_0x34274e,_0xd34a05,_0x47b6a2,_0xe962ff));});}),_0x4014b7['for']('downcast')['add'](_0x303843=>{_0x303843['on']('attribute:footnotesListStart:footnotesDefinitions',(_0x39b918,_0x5eb5b0,_0x2c99b8)=>{if(!_0x2c99b8['consumable']['consume'](_0x5eb5b0['item'],_0x39b918['name']))return;const _0x3f43eb=M(_0x5eb5b0['item'],_0x2c99b8['mapper']),{attributeNewValue:_0x3acbf1}=_0x5eb5b0;null==_0x3acbf1||0x1===_0x3acbf1?_0x2c99b8['writer']['removeAttribute']('start',_0x3f43eb):_0x2c99b8['writer']['setAttribute']('start',String(_0x3acbf1),_0x3f43eb);}),_0x303843['on']('attribute:footnotesListStyle:footnotesDefinitions',(_0x471b1c,_0x4d613a,_0x53d3b7)=>{if(!_0x53d3b7['consumable']['consume'](_0x4d613a['item'],_0x471b1c['name']))return;const _0x284087=M(_0x4d613a['item'],_0x53d3b7['mapper']),{attributeNewValue:_0x371bec}=_0x4d613a;_0x371bec&&'decimal'!==_0x371bec?_0x53d3b7['writer']['setStyle']('list-style-type',_0x371bec,_0x284087):_0x53d3b7['writer']['removeStyle']('list-style-type',_0x284087);});});}['_definePostfixer'](){const {editor:_0x417385}=this,{model:_0x938dff}=_0x417385,_0x1511ee=_0x417385['plugins']['get'](f),_0x17cfa0=this['_getDefaultListStyle'](),_0x41136e=this['_getDefaultStartIndex']();_0x938dff['document']['registerPostFixer'](_0x3090dc=>{const _0x292f5a=_0x938dff['document']['differ']['getChanges']();let _0x25bab0=!0x1;for(const _0x4fea03 of _0x292f5a){if('insert'!==_0x4fea03['type']||'$text'===_0x4fea03['name'])continue;const _0x2c19e5=_0x938dff['createRangeOn'](_0x4fea03['position']['nodeAfter']);for(const _0x2c73dc of _0x2c19e5['getItems']())_0x2c73dc['is']('element','footnotesDefinitions')&&(!_0x2c73dc['hasAttribute']('footnotesListStart')&&_0x938dff['schema']['checkAttribute'](_0x2c73dc,'footnotesListStart')&&(_0x3090dc['setAttribute']('footnotesListStart',_0x41136e,_0x2c73dc),_0x25bab0=!0x0),!_0x2c73dc['hasAttribute']('footnotesListStyle')&&_0x938dff['schema']['checkAttribute'](_0x2c73dc,'footnotesListStyle')&&(_0x3090dc['setAttribute']('footnotesListStyle',_0x17cfa0,_0x2c73dc),_0x25bab0=!0x0));}return _0x25bab0&&_0x1511ee['_updateFootnotesCounters'](_0x3090dc),_0x25bab0;});}['_defineFormatter'](){const {editor:_0x48c02d}=this;_0x48c02d['plugins']['get'](f)['setFootnoteFormatter'](_0x3c5f7c=>this['_formatFootnoteListValue'](_0x3c5f7c));}['_getDefaultListStyle'](){return this['editor']['config']['get']('footnotes.footnotesProperties.defaultListStyle');}['_getDefaultStartIndex'](){return this['editor']['config']['get']('footnotes.footnotesProperties.defaultStartIndex');}['_formatFootnoteListValue']({container:_0x5a793f,value:_0x501862,digits:_0x3819c0}){const _0x1e5c91=_0x5a793f['getAttribute']('footnotesListStyle'),_0x54d8f7=_0x5a793f['getAttribute']('footnotesListStart'),_0x6204df=Math['floor'](_0x501862)+(_0x54d8f7??0x1)-0x1;switch(_0x1e5c91){case'decimal-leading-zero':return function(_0x40095e,_0x22fb4){return String(_0x40095e)['padStart'](_0x22fb4,'0');}(_0x6204df,Math['max'](0x2,_0x3819c0));case'lower-alpha':case'lower-latin':return N(_0x6204df,!0x1);case'upper-alpha':case'upper-latin':return N(_0x6204df,!0x0);case'lower-roman':return X(_0x6204df,!0x1);case'upper-roman':return X(_0x6204df,!0x0);default:return String(_0x6204df);}}}function M(_0x3d5c1f,_0x3c27b4){const _0x133794=_0x3c27b4['toViewElement'](_0x3d5c1f);return Array['from'](_0x133794['getChildren']())['find'](_0x137f0c=>_0x137f0c['is']('element','ol')&&_0x137f0c['hasClass']('footnotes-list'));}function N(_0x3e6bd2,_0x5ca4ee){let _0x49a130='',_0x5c7dfa=_0x3e6bd2;for(;_0x5c7dfa>0x0;){const _0x3be2b9=(_0x5c7dfa-0x1)%0x1a;_0x49a130=String['fromCharCode'](0x61+_0x3be2b9)+_0x49a130,_0x5c7dfa=Math['floor']((_0x5c7dfa-0x1)/0x1a);}return _0x5ca4ee?_0x49a130['toUpperCase']():_0x49a130;}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(_0x7fba4e,_0x3a4b36){let _0xc189ab='',_0x1c855e=_0x7fba4e;for(const {value:_0xab08a4,numeral:_0xc2d8c5}of V)for(;_0x1c855e>=_0xab08a4;)_0xc189ab+=_0xc2d8c5,_0x1c855e-=_0xab08a4;return _0x3a4b36?_0xc189ab:_0xc189ab['toLowerCase']();}class $ extends _0x2e5830{['children'];['stylesView']=null;['additionalProperties']=null;['startIndexFieldView']=null;['focusTracker']=new rt();['keystrokes']=new nt();['focusables']=new _0x5e509e();['focusCycler'];constructor(_0x12030e,{styleButtonViews:_0x18dad1,styleGridAriaLabel:_0x166abc}){super(_0x12030e),(this['focusCycler']=new tt({'focusables':this['focusables'],'focusTracker':this['focusTracker'],'keystrokeHandler':this['keystrokes'],'actions':{'focusPrevious':'shift\x20+\x20tab','focusNext':'tab'}}),this['children']=this['createCollection'](),this['stylesView']=this['_appendStylesView'](_0x18dad1,_0x166abc),[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 _0x260a93 of this['stylesView']['children'])this['stylesView']['focusTracker']['add'](_0x260a93['element']);st({'keystrokeHandler':this['stylesView']['keystrokes'],'focusTracker':this['stylesView']['focusTracker'],'gridItems':this['stylesView']['children'],'numberOfColumns':()=>at['window']['getComputedStyle'](this['stylesView']['element'])['getPropertyValue']('grid-template-columns')['split']('\x20')['length'],'uiLanguageDirection':this['locale']&&this['locale']['uiLanguageDirection']});}if(this['startIndexFieldView']){this['focusables']['add'](this['startIndexFieldView']),this['focusTracker']['add'](this['startIndexFieldView']['element']);const _0x18949e=_0x243e43=>_0x243e43['stopPropagation']();this['keystrokes']['set']('arrowright',_0x18949e),this['keystrokes']['set']('arrowleft',_0x18949e),this['keystrokes']['set']('arrowup',_0x18949e),this['keystrokes']['set']('arrowdown',_0x18949e);}this['keystrokes']['listenTo'](this['element']);}['focus'](){this['focusCycler']['focusFirst']();}['focusLast'](){this['focusCycler']['focusLast']();}['destroy'](){super['destroy'](),this['focusTracker']['destroy'](),this['keystrokes']['destroy']();}['_appendStylesView'](_0x175420,_0x2998db){const _0x4690ee=new _0x2e5830(this['locale']);return _0x4690ee['children']=_0x4690ee['createCollection'](),_0x4690ee['children']['addMany'](_0x175420),_0x4690ee['setTemplate']({'tag':'div','attributes':{'aria-label':_0x2998db,'class':['ck','ck-footnotes-definitions-styles-list']},'children':_0x4690ee['children']}),_0x4690ee['children']['delegate']('execute')['to'](this),_0x4690ee['focus']=function(){for(const _0x4f341f of this['children'])if(_0x4f341f instanceof _0x3715c2&&_0x4f341f['isOn'])return void _0x4f341f['focus']();this['children']['first']['focus']();},_0x4690ee['focusTracker']=new rt(),_0x4690ee['keystrokes']=new nt(),_0x4690ee['render'](),_0x4690ee['keystrokes']['listenTo'](_0x4690ee['element']),this['children']['add'](_0x4690ee),_0x4690ee;}['_appendAdditionalPropertiesCollapsibleView'](){const {t:t}=this['locale'],_0x5be723=this['_createStartIndexPropertyView'](),_0x2c8b69=[_0x5be723],_0x108eb2=new it(this['locale'],_0x2c8b69);return _0x108eb2['set']({'label':t('Footnotes\x20properties'),'isCollapsed':!0x0}),_0x108eb2['buttonView']['bind']('isEnabled')['toMany'](_0x2c8b69,'isEnabled',(..._0x33c364)=>_0x33c364['some'](_0x57c730=>_0x57c730)),_0x108eb2['buttonView']['on']('change:isEnabled',(_0x39983c,_0x429333,_0x1ff9b9)=>{_0x1ff9b9||(_0x108eb2['isCollapsed']=!0x0);}),this['children']['add'](_0x108eb2),[_0x5be723,_0x108eb2];}['_createStartIndexPropertyView'](){const {t:t}=this['locale'],_0x375850=new et(this['locale'],ot);return _0x375850['set']({'label':t('Footnotes\x20start\x20at'),'class':'ck-footnotes-definitions-properties__start-index'}),_0x375850['fieldView']['set']({'min':0x0,'max':Math['pow'](0x2,0x1e),'step':0x1,'value':0x1,'inputMode':'numeric'}),_0x375850['fieldView']['on']('input',()=>{const _0x3ae8c1=_0x375850['fieldView']['element'],_0x43cf17=_0x3ae8c1['valueAsNumber'];Number['isNaN'](_0x43cf17)?_0x375850['errorText']=t('Invalid\x20footnotes\x20start\x20index\x20value.'):_0x3ae8c1['checkValidity']()?this['fire']('footnotesListStart',{'startIndex':_0x43cf17}):_0x375850['errorText']=t(_0x43cf17<0x0?'Footnotes\x20start\x20index\x20must\x20be\x20greater\x20than\x200.':'Footnotes\x20start\x20index\x20is\x20too\x20large.');}),_0x375850;}}class j extends _0x1843e4{static get['pluginName'](){return'FootnotesPropertiesUI';}static get['requires'](){return[_0x367f43,_0x46d4a8];}static get['isOfficialPlugin'](){return!0x0;}static get['isPremiumPlugin'](){return!0x0;}['init'](){const {editor:_0x39cb84}=this,{componentFactory:_0x21193b}=_0x39cb84['ui'];_0x39cb84['config']['define']('footnotes.footnotesProperties.toolbar',['footnotesStyle']),_0x21193b['add']('footnotesStyle',function(_0x585013){return _0x56b324=>{const {t:t}=_0x56b324,_0x4237f3=_0x585013['commands']['get']('footnotesStyle'),_0xd7772c=_0x2dc4db(_0x56b324),{buttonView:_0x2328c3}=_0xd7772c;return _0xd7772c['class']='ck-footnotes-styles-dropdown',_0xd7772c['bind']('isEnabled')['to'](_0x4237f3,'isEnabled'),_0x2328c3['set']({'label':t('Footnotes\x20style'),'icon':_0x536cee,'tooltip':!0x0}),_0xd7772c['once']('change:isOpen',()=>{const _0x3a99fa=function({editor:_0x11bc9,dropdownView:_0x503bc7}){const {t:t}=_0x11bc9['locale'],_0x260e5b=t('Footnotes\x20definitions\x20styles'),_0x41eec0=function(_0x28fdca){const t=_0x28fdca['locale']['t'],_0x35bacc=[{'label':t('Toggle\x20the\x20decimal\x20footnotes\x20style'),'tooltip':t('Decimal\x20footnotes'),'style':'decimal','icon':_0x59d4c5},{'label':t('Toggle\x20the\x20decimal\x20with\x20leading\x20zero\x20footnotes\x20style'),'tooltip':t('Decimal\x20footnotes\x20with\x20leading\x20zero'),'style':'decimal-leading-zero','icon':_0x51c695},{'label':t('Toggle\x20the\x20lower–roman\x20footnotes\x20style'),'tooltip':t('Lower–roman\x20footnotes'),'style':'lower-roman','icon':_0x2ae7ff},{'label':t('Toggle\x20the\x20upper–roman\x20footnotes\x20style'),'tooltip':t('Upper-roman\x20footnotes'),'style':'upper-roman','icon':_0x43e876},{'label':t('Toggle\x20the\x20lower–latin\x20footnotes\x20style'),'tooltip':t('Lower-latin\x20footnotes'),'style':'lower-latin','icon':_0x283c97},{'label':t('Toggle\x20the\x20upper–latin\x20footnotes\x20style'),'tooltip':t('Upper-latin\x20footnotes'),'style':'upper-latin','icon':_0x3404fd}];return _0x35bacc['map'](function(_0x3db9d7){const _0x2c3a6a=_0x3db9d7['locale'];return({label:_0x22de97,icon:_0x4d3ebc,tooltip:_0x148f7b,style:_0xf7b6df})=>{const _0x4872e5=_0x3db9d7['commands']['get']('footnotesStyle'),_0x1ada97=new _0x3715c2(_0x2c3a6a);return _0x1ada97['set']({'label':_0x22de97,'icon':_0x4d3ebc,'tooltip':_0x148f7b}),_0x1ada97['bind']('isOn')['to'](_0x4872e5,'value',_0x141d9e=>_0x141d9e===_0xf7b6df),_0x1ada97['bind']('isEnabled')['to'](_0x4872e5,'isEnabled'),_0x1ada97['on']('execute',()=>{_0x3db9d7['execute']('footnotesStyle',{'value':_0xf7b6df}),_0x3db9d7['editing']['view']['focus']();}),_0x1ada97;};}(_0x28fdca));}(_0x11bc9),_0x3e5163=new $(_0x11bc9['locale'],{'styleGridAriaLabel':_0x260e5b,'styleButtonViews':_0x41eec0}),_0x34cce9=_0x11bc9['commands']['get']('footnotesStart');return _0x3e5163['startIndexFieldView']['bind']('isEnabled')['to'](_0x34cce9),_0x3e5163['startIndexFieldView']['fieldView']['bind']('value')['to'](_0x34cce9),_0x3e5163['on']('footnotesListStart',(_0x2b70ca,_0x23934d)=>{_0x11bc9['execute']('footnotesStart',{'value':_0x23934d['startIndex']});}),_0x3e5163['delegate']('execute')['to'](_0x503bc7),_0x3e5163;}({'editor':_0x585013,'dropdownView':_0xd7772c});_0xd7772c['panelView']['children']['add'](_0x3a99fa);}),_0xd7772c;};}(_0x39cb84));}['afterInit'](){const {editor:_0x5729be}=this,{t:t}=_0x5729be['locale'],_0x7e5d27=_0x5729be['plugins']['get'](_0x46d4a8),{defaultPositions:_0x57bd2b}=_0x56ce40;_0x7e5d27['register']('footnotesDefinitions',{'ariaLabel':t('Footnotes\x20definitions\x20toolbar'),'items':_0x5729be['config']['get']('footnotes.footnotesProperties.toolbar'),'balloonClassName':'ck-footnotes-style-balloon\x20ck-toolbar-container','getRelatedElement':_0x16ca24=>{let _0x25a362=_0x16ca24['getFirstPosition']()?.['parent'];return _0x25a362?.['is']('$text')&&(_0x25a362=_0x25a362['parent']),_0x25a362?.['is']('element')?_0x25a362['findAncestor'](H):null;},'positions':[_0x57bd2b['southArrowNorth'],_0x57bd2b['southArrowNorthMiddleWest'],_0x57bd2b['southArrowNorthMiddleEast'],_0x57bd2b['southArrowNorthWest'],_0x57bd2b['southArrowNorthEast'],_0x57bd2b['northArrowSouth'],_0x57bd2b['northArrowSouthMiddleWest'],_0x57bd2b['northArrowSouthMiddleEast'],_0x57bd2b['northArrowSouthWest'],_0x57bd2b['northArrowSouthEast'],_0x57bd2b['viewportStickyNorth']]});}}class ft extends _0x1843e4{static get['pluginName'](){return'FootnotesProperties';}static get['requires'](){return[P,j];}static get['isOfficialPlugin'](){return!0x0;}static get['isPremiumPlugin'](){return!0x0;}}export{lt as Footnotes,e as FootnotesClipboard,r as FootnotesEditing,ft as FootnotesProperties,P as FootnotesPropertiesEditing,j as FootnotesPropertiesUI,C as FootnotesStartCommand,S as FootnotesStyleCommand,f as FootnotesTracker,i as FootnotesUI,h as InsertFootnoteCommand};
@@ -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':_0x286cf0=>0x1!=_0x286cf0}};
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':_0x4fc636=>0x1!=_0x4fc636}};
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- (_0x55dcec=>{const {af:{dictionary:_0x2753f8,getPluralForm:_0x26b612}}={'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':_0x137fb5=>0x1!=_0x137fb5}};_0x55dcec['af']||={'dictionary':{},'getPluralForm':null},_0x55dcec['af']['dictionary']=Object['assign'](_0x55dcec['af']['dictionary'],_0x2753f8),_0x55dcec['af']['getPluralForm']=_0x26b612;})(window['CKEDITOR_TRANSLATIONS']||={});
23
+ (_0x483eec=>{const {af:{dictionary:_0x477097,getPluralForm:_0x13d0b8}}={'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':_0x52a380=>0x1!=_0x52a380}};_0x483eec['af']||={'dictionary':{},'getPluralForm':null},_0x483eec['af']['dictionary']=Object['assign'](_0x483eec['af']['dictionary'],_0x477097),_0x483eec['af']['getPluralForm']=_0x13d0b8;})(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':_0x38fd67=>0x0==_0x38fd67?0x0:0x1==_0x38fd67?0x1:0x2==_0x38fd67?0x2:_0x38fd67%0x64>=0x3&&_0x38fd67%0x64<=0xa?0x3:_0x38fd67%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':_0x4b4128=>0x0==_0x4b4128?0x0:0x1==_0x4b4128?0x1:0x2==_0x4b4128?0x2:_0x4b4128%0x64>=0x3&&_0x4b4128%0x64<=0xa?0x3:_0x4b4128%0x64>=0xb?0x4:0x5}};
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- (_0x592073=>{const {ar:{dictionary:_0x1adb34,getPluralForm:_0x2886d6}}={'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':_0x1148d3=>0x0==_0x1148d3?0x0:0x1==_0x1148d3?0x1:0x2==_0x1148d3?0x2:_0x1148d3%0x64>=0x3&&_0x1148d3%0x64<=0xa?0x3:_0x1148d3%0x64>=0xb?0x4:0x5}};_0x592073['ar']||={'dictionary':{},'getPluralForm':null},_0x592073['ar']['dictionary']=Object['assign'](_0x592073['ar']['dictionary'],_0x1adb34),_0x592073['ar']['getPluralForm']=_0x2886d6;})(window['CKEDITOR_TRANSLATIONS']||={});
23
+ (_0x2152d1=>{const {ar:{dictionary:_0x36c76e,getPluralForm:_0x9a2cd}}={'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':_0xffa684=>0x0==_0xffa684?0x0:0x1==_0xffa684?0x1:0x2==_0xffa684?0x2:_0xffa684%0x64>=0x3&&_0xffa684%0x64<=0xa?0x3:_0xffa684%0x64>=0xb?0x4:0x5}};_0x2152d1['ar']||={'dictionary':{},'getPluralForm':null},_0x2152d1['ar']['dictionary']=Object['assign'](_0x2152d1['ar']['dictionary'],_0x36c76e),_0x2152d1['ar']['getPluralForm']=_0x9a2cd;})(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':_0x13846e=>0x1!=_0x13846e}};
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':_0xca2e5d=>0x1!=_0xca2e5d}};
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- (_0x277958=>{const {ast:{dictionary:_0x3b5b62,getPluralForm:_0x66e64}}={'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':_0x355515=>0x1!=_0x355515}};_0x277958['ast']||={'dictionary':{},'getPluralForm':null},_0x277958['ast']['dictionary']=Object['assign'](_0x277958['ast']['dictionary'],_0x3b5b62),_0x277958['ast']['getPluralForm']=_0x66e64;})(window['CKEDITOR_TRANSLATIONS']||={});
23
+ (_0x1ea5a4=>{const {ast:{dictionary:_0x551790,getPluralForm:_0x26d649}}={'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':_0x37cfd4=>0x1!=_0x37cfd4}};_0x1ea5a4['ast']||={'dictionary':{},'getPluralForm':null},_0x1ea5a4['ast']['dictionary']=Object['assign'](_0x1ea5a4['ast']['dictionary'],_0x551790),_0x1ea5a4['ast']['getPluralForm']=_0x26d649;})(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':_0x561364=>0x1!=_0x561364}};
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':_0x249e3c=>0x1!=_0x249e3c}};
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- (_0x2601f1=>{const {az:{dictionary:_0x1abe0e,getPluralForm:_0x429854}}={'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':_0x1ec67f=>0x1!=_0x1ec67f}};_0x2601f1['az']||={'dictionary':{},'getPluralForm':null},_0x2601f1['az']['dictionary']=Object['assign'](_0x2601f1['az']['dictionary'],_0x1abe0e),_0x2601f1['az']['getPluralForm']=_0x429854;})(window['CKEDITOR_TRANSLATIONS']||={});
23
+ (_0x2e6275=>{const {az:{dictionary:_0x571add,getPluralForm:_0x333360}}={'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':_0x47c19c=>0x1!=_0x47c19c}};_0x2e6275['az']||={'dictionary':{},'getPluralForm':null},_0x2e6275['az']['dictionary']=Object['assign'](_0x2e6275['az']['dictionary'],_0x571add),_0x2e6275['az']['getPluralForm']=_0x333360;})(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':_0x55f17d=>_0x55f17d%0xa==0x1&&_0x55f17d%0x64!=0xb?0x0:_0x55f17d%0xa>=0x2&&_0x55f17d%0xa<=0x4&&(_0x55f17d%0x64<0xa||_0x55f17d%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':_0x32137d=>_0x32137d%0xa==0x1&&_0x32137d%0x64!=0xb?0x0:_0x32137d%0xa>=0x2&&_0x32137d%0xa<=0x4&&(_0x32137d%0x64<0xa||_0x32137d%0x64>=0x14)?0x1:0x2}};