@ckeditor/ckeditor5-footnotes 0.0.0-nightly-20251207.0 → 0.0.0-nightly-20251209.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (164) hide show
  1. package/build/footnotes.js +1 -1
  2. package/dist/index.js +1 -1
  3. package/dist/translations/af.js +1 -1
  4. package/dist/translations/af.umd.js +1 -1
  5. package/dist/translations/ar.js +1 -1
  6. package/dist/translations/ar.umd.js +1 -1
  7. package/dist/translations/ast.js +1 -1
  8. package/dist/translations/ast.umd.js +1 -1
  9. package/dist/translations/az.js +1 -1
  10. package/dist/translations/az.umd.js +1 -1
  11. package/dist/translations/be.js +1 -1
  12. package/dist/translations/be.umd.js +1 -1
  13. package/dist/translations/bg.js +1 -1
  14. package/dist/translations/bg.umd.js +1 -1
  15. package/dist/translations/bn.js +1 -1
  16. package/dist/translations/bn.umd.js +1 -1
  17. package/dist/translations/bs.js +1 -1
  18. package/dist/translations/bs.umd.js +1 -1
  19. package/dist/translations/ca.js +1 -1
  20. package/dist/translations/ca.umd.js +1 -1
  21. package/dist/translations/cs.js +1 -1
  22. package/dist/translations/cs.umd.js +1 -1
  23. package/dist/translations/da.js +1 -1
  24. package/dist/translations/da.umd.js +1 -1
  25. package/dist/translations/de-ch.js +1 -1
  26. package/dist/translations/de-ch.umd.js +1 -1
  27. package/dist/translations/de.js +1 -1
  28. package/dist/translations/de.umd.js +1 -1
  29. package/dist/translations/el.js +1 -1
  30. package/dist/translations/el.umd.js +1 -1
  31. package/dist/translations/en-au.js +1 -1
  32. package/dist/translations/en-au.umd.js +1 -1
  33. package/dist/translations/en-gb.js +1 -1
  34. package/dist/translations/en-gb.umd.js +1 -1
  35. package/dist/translations/en.js +1 -1
  36. package/dist/translations/en.umd.js +1 -1
  37. package/dist/translations/eo.js +1 -1
  38. package/dist/translations/eo.umd.js +1 -1
  39. package/dist/translations/es-co.js +1 -1
  40. package/dist/translations/es-co.umd.js +1 -1
  41. package/dist/translations/es.js +1 -1
  42. package/dist/translations/es.umd.js +1 -1
  43. package/dist/translations/et.js +1 -1
  44. package/dist/translations/et.umd.js +1 -1
  45. package/dist/translations/eu.js +1 -1
  46. package/dist/translations/eu.umd.js +1 -1
  47. package/dist/translations/fa.js +1 -1
  48. package/dist/translations/fa.umd.js +1 -1
  49. package/dist/translations/fi.js +1 -1
  50. package/dist/translations/fi.umd.js +1 -1
  51. package/dist/translations/fr.js +1 -1
  52. package/dist/translations/fr.umd.js +1 -1
  53. package/dist/translations/gl.js +1 -1
  54. package/dist/translations/gl.umd.js +1 -1
  55. package/dist/translations/gu.js +1 -1
  56. package/dist/translations/gu.umd.js +1 -1
  57. package/dist/translations/he.js +1 -1
  58. package/dist/translations/he.umd.js +1 -1
  59. package/dist/translations/hi.js +1 -1
  60. package/dist/translations/hi.umd.js +1 -1
  61. package/dist/translations/hr.js +1 -1
  62. package/dist/translations/hr.umd.js +1 -1
  63. package/dist/translations/hu.js +1 -1
  64. package/dist/translations/hu.umd.js +1 -1
  65. package/dist/translations/hy.js +1 -1
  66. package/dist/translations/hy.umd.js +1 -1
  67. package/dist/translations/id.js +1 -1
  68. package/dist/translations/id.umd.js +1 -1
  69. package/dist/translations/it.js +1 -1
  70. package/dist/translations/it.umd.js +1 -1
  71. package/dist/translations/ja.js +1 -1
  72. package/dist/translations/ja.umd.js +1 -1
  73. package/dist/translations/jv.js +1 -1
  74. package/dist/translations/jv.umd.js +1 -1
  75. package/dist/translations/kk.js +1 -1
  76. package/dist/translations/kk.umd.js +1 -1
  77. package/dist/translations/km.js +1 -1
  78. package/dist/translations/km.umd.js +1 -1
  79. package/dist/translations/kn.js +1 -1
  80. package/dist/translations/kn.umd.js +1 -1
  81. package/dist/translations/ko.js +1 -1
  82. package/dist/translations/ko.umd.js +1 -1
  83. package/dist/translations/ku.js +1 -1
  84. package/dist/translations/ku.umd.js +1 -1
  85. package/dist/translations/lt.js +1 -1
  86. package/dist/translations/lt.umd.js +1 -1
  87. package/dist/translations/lv.js +1 -1
  88. package/dist/translations/lv.umd.js +1 -1
  89. package/dist/translations/ms.js +1 -1
  90. package/dist/translations/ms.umd.js +1 -1
  91. package/dist/translations/nb.js +1 -1
  92. package/dist/translations/nb.umd.js +1 -1
  93. package/dist/translations/ne.js +1 -1
  94. package/dist/translations/ne.umd.js +1 -1
  95. package/dist/translations/nl.js +1 -1
  96. package/dist/translations/nl.umd.js +1 -1
  97. package/dist/translations/no.js +1 -1
  98. package/dist/translations/no.umd.js +1 -1
  99. package/dist/translations/oc.js +1 -1
  100. package/dist/translations/oc.umd.js +1 -1
  101. package/dist/translations/pl.js +1 -1
  102. package/dist/translations/pl.umd.js +1 -1
  103. package/dist/translations/pt-br.js +1 -1
  104. package/dist/translations/pt-br.umd.js +1 -1
  105. package/dist/translations/pt.js +1 -1
  106. package/dist/translations/pt.umd.js +1 -1
  107. package/dist/translations/ro.js +1 -1
  108. package/dist/translations/ro.umd.js +1 -1
  109. package/dist/translations/ru.js +1 -1
  110. package/dist/translations/ru.umd.js +1 -1
  111. package/dist/translations/si.js +1 -1
  112. package/dist/translations/si.umd.js +1 -1
  113. package/dist/translations/sk.js +1 -1
  114. package/dist/translations/sk.umd.js +1 -1
  115. package/dist/translations/sl.js +1 -1
  116. package/dist/translations/sl.umd.js +1 -1
  117. package/dist/translations/sq.js +1 -1
  118. package/dist/translations/sq.umd.js +1 -1
  119. package/dist/translations/sr-latn.js +1 -1
  120. package/dist/translations/sr-latn.umd.js +1 -1
  121. package/dist/translations/sr.js +1 -1
  122. package/dist/translations/sr.umd.js +1 -1
  123. package/dist/translations/sv.js +1 -1
  124. package/dist/translations/sv.umd.js +1 -1
  125. package/dist/translations/th.js +1 -1
  126. package/dist/translations/th.umd.js +1 -1
  127. package/dist/translations/ti.js +1 -1
  128. package/dist/translations/ti.umd.js +1 -1
  129. package/dist/translations/tk.js +1 -1
  130. package/dist/translations/tk.umd.js +1 -1
  131. package/dist/translations/tr.js +1 -1
  132. package/dist/translations/tr.umd.js +1 -1
  133. package/dist/translations/tt.js +1 -1
  134. package/dist/translations/tt.umd.js +1 -1
  135. package/dist/translations/ug.js +1 -1
  136. package/dist/translations/ug.umd.js +1 -1
  137. package/dist/translations/uk.js +1 -1
  138. package/dist/translations/uk.umd.js +1 -1
  139. package/dist/translations/ur.js +1 -1
  140. package/dist/translations/ur.umd.js +1 -1
  141. package/dist/translations/uz.js +1 -1
  142. package/dist/translations/uz.umd.js +1 -1
  143. package/dist/translations/vi.js +1 -1
  144. package/dist/translations/vi.umd.js +1 -1
  145. package/dist/translations/zh-cn.js +1 -1
  146. package/dist/translations/zh-cn.umd.js +1 -1
  147. package/dist/translations/zh.js +1 -1
  148. package/dist/translations/zh.umd.js +1 -1
  149. package/package.json +9 -9
  150. package/src/commands/insertfootnotecommand.js +1 -1
  151. package/src/footnotes.js +1 -1
  152. package/src/footnotesclipboard.js +1 -1
  153. package/src/footnotesediting.js +1 -1
  154. package/src/footnotesproperties/commands/footnotesstartcommand.js +1 -1
  155. package/src/footnotesproperties/commands/footnotesstylecommand.js +1 -1
  156. package/src/footnotesproperties/footnotespropertiesconfig.js +1 -1
  157. package/src/footnotesproperties/footnotespropertiesediting.js +1 -1
  158. package/src/footnotesproperties/footnotespropertiesui.js +1 -1
  159. package/src/footnotesproperties/ui/footnotesdefinitionspropertiesview.js +1 -1
  160. package/src/footnotesproperties.js +1 -1
  161. package/src/footnotestracker.js +1 -1
  162. package/src/footnotesui.js +1 -1
  163. package/src/index.js +1 -1
  164. package/src/modelelementtracker.js +1 -1
package/dist/index.js CHANGED
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- import{Plugin as _0xeb7666,Command as _0x27ce1c}from'@ckeditor/ckeditor5-core/dist/index.js';import{toWidget as _0x5b4e1d,isWidget as _0x9e120c,toWidgetEditable as _0x5ab702,WidgetToolbarRepository as _0x6c66e1}from'@ckeditor/ckeditor5-widget/dist/index.js';import{uid as _0x32a995,logWarning as _0x4e63a5,FocusTracker as ot,KeystrokeHandler as rt,global as nt}from'@ckeditor/ckeditor5-utils/dist/index.js';import{PointerObserver as _0xf6f06a,ClickObserver as _0x3d3d3e}from'@ckeditor/ckeditor5-engine/dist/index.js';import{ClipboardPipeline as _0x4bcc1e}from'@ckeditor/ckeditor5-clipboard/dist/index.js';import{MenuBarMenuListItemButtonView as _0x1e6c82,ButtonView as _0x2c7d7a,View as _0x5f3e58,ViewCollection as _0x367b77,FocusCycler as _0x2faa84,addKeyboardHandlingForGrid as tt,CollapsibleView as st,LabeledFieldView as it,createLabeledInputNumber as et,ContextualBalloon as _0x59ce17,BalloonPanelView as _0x2fd527,createDropdown as _0x38dfa3}from'@ckeditor/ckeditor5-ui/dist/index.js';import{IconFootnote as _0x3b34e6,IconListStyleDecimal as _0x383181,IconListStyleDecimalLeadingZero as _0x383ca1,IconListStyleLowerRoman as _0x157553,IconListStyleUpperRoman as _0x5b268f,IconListStyleLowerLatin as _0x1af5e5,IconListStyleUpperLatin as _0x22b71f}from'@ckeditor/ckeditor5-icons/dist/index.js';class F{['_model'];['_elementName'];['_getElementKey'];['_trackedElements']=new Map();constructor(_0x161278,_0x1248fc){this['_model']=_0x161278,this['_elementName']=_0x1248fc['elementName'],this['_getElementKey']=_0x1248fc['getElementKey'];}['reset'](){this['_trackedElements']['clear']();}['getChanges'](_0x4aa7d0){const _0x5c75b7=new Set(),_0x20cd7a=new Map();for(const _0x13adc6 of _0x4aa7d0){if('insert'===_0x13adc6['type']&&'$text'!==_0x13adc6['name']&&_0x13adc6['position']['nodeAfter']){const _0xd15ae7=this['_model']['createRangeOn'](_0x13adc6['position']['nodeAfter']);for(const _0x3c6fa9 of _0xd15ae7['getItems']()){if(!_0x3c6fa9['is']('element',this['_elementName']))continue;const _0x48102f=this['_getElementKey'](_0x3c6fa9);_0x20cd7a['has'](_0x48102f)||_0x20cd7a['set'](_0x48102f,[]),_0x20cd7a['get'](_0x48102f)['push'](_0x3c6fa9);}}if('remove'===_0x13adc6['type']&&_0x13adc6['name']===this['_elementName']){const _0x7aa5cc=this['_getElementKey']({'getAttribute':_0x41a63e=>_0x13adc6['attributes']['get'](_0x41a63e)});_0x5c75b7['add'](_0x7aa5cc);}}for(const [_0x5574dd,_0x57c04f]of this['_trackedElements'])'$graveyard'===_0x57c04f['root']['rootName']&&_0x5c75b7['add'](_0x5574dd);for(const _0x5b80de of _0x5c75b7)this['_trackedElements']['delete'](_0x5b80de);for(const [_0x57afa5,_0xa147ca]of _0x20cd7a)this['_trackedElements']['set'](_0x57afa5,_0xa147ca[_0xa147ca['length']-0x1]);const _0x13db7d=new Set();for(const [_0x139b91,_0x570d71]of _0x20cd7a)_0x5c75b7['has'](_0x139b91)&&(_0x13db7d['add'](_0x570d71[0x0]),_0x570d71['length']>0x1?_0x20cd7a['set'](_0x139b91,_0x570d71['slice'](0x1)):_0x20cd7a['delete'](_0x139b91),_0x5c75b7['delete'](_0x139b91));return{'removed':Array['from'](_0x5c75b7),'inserted':Array['from'](_0x20cd7a['values']())['flat'](),'moved':Array['from'](_0x13db7d)};}}class f extends _0xeb7666{['_footnotes']=[];['_footnotesDefinitions']=null;['_footnoteFormatter']=null;['_footnoteDefsContainerTracker'];['_footnoteRefsTracker'];['_footnoteDefsTracker'];static get['pluginName'](){return'FootnotesTracker';}static get['isOfficialPlugin'](){return!0x0;}static get['isPremiumPlugin'](){return!0x0;}constructor(_0xd1b2a4){super(_0xd1b2a4),this['_footnoteDefsContainerTracker']=new F(this['editor']['model'],{'elementName':'footnotesDefinitions','getElementKey':()=>'singleton'}),this['_footnoteRefsTracker']=new F(this['editor']['model'],{'elementName':'footnoteRef','getElementKey':_0x4fadbe=>_0x4fadbe['getAttribute']('footnoteId')}),this['_footnoteDefsTracker']=new F(this['editor']['model'],{'elementName':'footnoteDefinition','getElementKey':_0xbaaba9=>_0xbaaba9['getAttribute']('footnoteId')});}['init'](){const {editor:_0x56b088}=this,{model:_0x41119c,data:_0x25b635}=_0x56b088;_0x41119c['document']['registerPostFixer'](_0x3304c7=>{const _0x3ac473=_0x41119c['document']['differ']['getChanges']();let _0x48fe76=!0x1;return this['_handleFootnotesDefinitionsObjectChanges'](_0x3304c7,_0x3ac473)&&(_0x48fe76=!0x0),this['_handleFootnoteDefinitionsChanges'](_0x3304c7,_0x3ac473)&&(_0x48fe76=!0x0),this['_handleFootnoteReferencesChanges'](_0x3304c7,_0x3ac473)&&(_0x48fe76=!0x0),this['_ensureFootnotesReferencesHaveProperOrder'](_0x3304c7)&&(_0x48fe76=!0x0),this['_handleFootnotesDefinitionsObjectSync'](_0x3304c7)&&(_0x48fe76=!0x0),this['_sortFootnoteDefinitions'](_0x3304c7)&&(_0x48fe76=!0x0),_0x48fe76;}),this['listenTo'](_0x41119c['document'],'change:data',()=>{_0x41119c['enqueueChange']({'isUndoable':!0x1},_0x37eddc=>{this['_ensureFootnotesDefinitionsContainerExists'](_0x37eddc);});},{'priority':'low'}),this['listenTo'](_0x25b635,'set',()=>{this['_footnotes']=[],this['_footnoteDefsContainerTracker']['reset'](),this['_footnoteRefsTracker']['reset'](),this['_footnoteDefsTracker']['reset']();},{'priority':'high'});}['getFootnotesDefinitionsObjectElement'](){return this['_footnotesDefinitions'];}['getFootnote'](_0x3bd987){return this['_footnotes']['find'](_0x346e04=>_0x346e04['id']===_0x3bd987)||null;}['getFootnotes'](){return Array['from'](this['_footnotes']);}['getFootnotesFormatter'](){return this['_footnoteFormatter'];}['setFootnoteFormatter'](_0x4a7c3b){this['_footnoteFormatter']=_0x4a7c3b;}['_updateFootnotesCounters'](_0x5e19ae,_0x4d2ad2=0x0){let _0x1e6370=!0x1;for(let _0x30ae6c=_0x4d2ad2;_0x30ae6c<this['_footnotes']['length'];_0x30ae6c++)this['_updateFootnoteRefCounter'](_0x5e19ae,_0x30ae6c)&&(_0x1e6370=!0x0);return _0x1e6370;}['_insertEmptyFootnotesDefinitionsContainer'](_0x3a09af,_0x183a1d){const _0x3303bb=_0x3a09af['createElement']('footnotesDefinitions',{});return _0x3a09af['append'](_0x3303bb,_0x183a1d),this['_footnotesDefinitions']=_0x3303bb,_0x3303bb;}['_ensureFootnotesDefinitionsContainerExists'](_0x5dd7e3){if(!this['_footnotes']['length']||this['_footnotesDefinitions'])return;const _0x5c922b=this['_footnotes'][0x0]['reference']['root'],_0x291b17=this['_insertEmptyFootnotesDefinitionsContainer'](_0x5dd7e3,_0x5c922b);for(const _0x2cd683 of this['_footnotes'])_0x2cd683['definition']['parent']||_0x5dd7e3['insert'](_0x2cd683['definition'],_0x291b17,'end');this['_updateFootnotesCounters'](_0x5dd7e3);}['_handleFootnotesDefinitionsObjectChanges'](_0x4c6513,_0x1ae4a1){let _0x5694e9=!0x1;const {inserted:_0x3ce33d,removed:_0xf4cd49,moved:_0x45d180}=this['_footnoteDefsContainerTracker']['getChanges'](_0x1ae4a1);if(_0x45d180['length']&&(this['_footnotesDefinitions']=_0x45d180[0x0]),_0x3ce33d['length']){if(_0x3ce33d['length']>0x1||this['_footnotesDefinitions']&&_0x3ce33d['some'](_0x31aebe=>_0x31aebe!==this['_footnotesDefinitions'])){const _0x5a8750=_0x4c6513['createElement']('footnotesDefinitions',{}),_0x4664a0=[];this['_footnotesDefinitions']&&_0x4664a0['push'](this['_footnotesDefinitions']),_0x4664a0['push'](..._0x3ce33d),_0x4c6513['insert'](_0x5a8750,_0x4664a0[0x0],'before');for(const _0x2634b1 of _0x4664a0)_0x4c6513['move'](_0x4c6513['createRangeIn'](_0x2634b1),_0x4c6513['createPositionAt'](_0x5a8750,'end')),_0x4c6513['remove'](_0x2634b1);this['_footnotesDefinitions']=_0x5a8750,this['_updateFootnotesCounters'](_0x4c6513),_0x5694e9=!0x0;}else this['_footnotesDefinitions']=_0x3ce33d[0x0];}if(_0xf4cd49['length']&&'$graveyard'===this['_footnotesDefinitions']?.['root']['rootName']){for(const _0x49511f of this['_footnotes'])_0x4c6513['remove'](_0x49511f['reference']),_0x5694e9=!0x0;this['_footnotes']=[],this['_footnotesDefinitions']=null;}return _0x5694e9;}['_handleFootnoteDefinitionsChanges'](_0x30e198,_0x3d145a){let _0x482651=!0x1;const _0x2762df=this['editor']['config']['get']('footnotes.multiBlock'),{inserted:_0x339f69,moved:_0x42fa9d}=this['_footnoteDefsTracker']['getChanges'](_0x3d145a);for(const _0x38889c of[..._0x42fa9d,..._0x339f69]){const _0x58e9a4=_0x38889c['getAttribute']('footnoteId'),_0xbc9e1f=this['getFootnote'](_0x58e9a4);_0xbc9e1f&&(_0xbc9e1f['definition']=_0x38889c),_(_0x30e198,_0x2762df,_0x38889c)&&(_0x482651=!0x0);}return _0x482651;}['_handleFootnoteReferencesChanges'](_0x164f77,_0x1ccfe5){let _0x13291a=!0x1;const {removed:_0x4c5a66,inserted:_0x2d9c19,moved:_0x9f2e63}=this['_footnoteRefsTracker']['getChanges'](_0x1ccfe5);for(const _0x1a0b5b of _0x4c5a66)this['_handleRemoveFootnoteReferenceById'](_0x164f77,_0x1a0b5b)&&(_0x13291a=!0x0);for(const _0x3caa6d of _0x2d9c19)this['_handleInsertedFootnoteReference'](_0x164f77,_0x3caa6d)&&(_0x13291a=!0x0);for(const _0x2bf791 of _0x9f2e63)this['_handleMovedFootnoteReference'](_0x164f77,_0x2bf791)&&(_0x13291a=!0x0);return _0x13291a;}['_handleFootnotesDefinitionsObjectSync'](_0x3c0870){if(!this['_footnotesDefinitions'])return!0x1;let _0x55f301=!0x1;if(this['_footnotesDefinitions']['childCount']!==this['_footnotes']['length']){const _0x262fad=[];for(const _0x2a75b7 of this['_footnotesDefinitions']['getChildren']()){const _0x5b79bb=_0x2a75b7['getAttribute']('footnoteId');this['getFootnote'](_0x5b79bb)||(_0x262fad['unshift'](_0x2a75b7),_0x55f301=!0x0);}for(const _0x34002b of _0x262fad)_0x3c0870['remove'](_0x34002b);}const _0x4429e7=new Set(),_0x4f7b49=[];for(const _0x5c4261 of this['_footnotesDefinitions']['getChildren']()){const _0x439a76=_0x5c4261['getAttribute']('footnoteId');_0x4429e7['has'](_0x439a76)?(_0x4f7b49['unshift'](_0x5c4261),_0x55f301=!0x0):_0x4429e7['add'](_0x439a76);}for(const _0x2eace6 of _0x4f7b49)_0x3c0870['remove'](_0x2eace6);return this['_footnotesDefinitions']['childCount']||(_0x3c0870['remove'](this['_footnotesDefinitions']),this['_footnotesDefinitions']=null,_0x55f301=!0x0),_0x55f301;}['_handleInsertedFootnoteReference'](_0x4d1a06,_0x5a73eb){if(this['_footnotes']['find'](_0x9a40b6=>_0x9a40b6['reference']===_0x5a73eb))return!0x1;let _0x32cff9=!0x1;const _0xe60057=_0x5a73eb['getAttribute']('footnoteId'),_0x4f0006=this['_footnotes']['findIndex'](_0x4627fd=>_0x4627fd['id']===_0xe60057);-0x1!==_0x4f0006&&(_0x4d1a06['remove'](this['_footnotes'][_0x4f0006]['reference']),this['_footnotes']['splice'](_0x4f0006,0x1),_0x32cff9=!0x0);let _0x3d6eb6=this['_footnotesDefinitions']?function(_0x301858,_0x3af151){for(const _0x1b8eaf of _0x301858['getChildren']())if(_0x1b8eaf['getAttribute']('footnoteId')===_0x3af151)return _0x1b8eaf;return null;}(this['_footnotesDefinitions'],_0xe60057):null;_0x3d6eb6||(_0x3d6eb6=_0x4d1a06['createElement']('footnoteDefinition',{'footnoteId':_0xe60057}),this['_footnotesDefinitions']&&(_0x4d1a06['insert'](_0x3d6eb6,this['_footnotesDefinitions'],'end'),_0x32cff9=!0x0));const _0x274881={'id':_0xe60057,'reference':_0x5a73eb,'definition':_0x3d6eb6},_0x5cf2ab=I(this['editor']['model'],this['_footnotes'],_0x5a73eb);this['_footnotes']['splice'](_0x5cf2ab,0x0,_0x274881);let _0xf14360=_0x5cf2ab;return-0x1!==_0x4f0006&&(_0xf14360=Math['min'](_0x5cf2ab,_0x4f0006)),this['_updateFootnotesCounters'](_0x4d1a06,_0xf14360)&&(_0x32cff9=!0x0),_0x32cff9;}['_handleRemoveFootnoteReferenceById'](_0x3e8a37,_0x7d17f9){const _0x4c7cd5=this['_footnotes']['findIndex'](_0xd1c2c7=>_0xd1c2c7['id']===_0x7d17f9);if(-0x1===_0x4c7cd5)return!0x1;let _0xb05c56=!0x1;const _0x5eba95=this['_footnotes'][_0x4c7cd5];return'$graveyard'!==_0x5eba95['definition']['root']['rootName']&&(_0x3e8a37['remove'](_0x5eba95['definition']),_0xb05c56=!0x0),this['_footnotes']['splice'](_0x4c7cd5,0x1),this['_updateFootnotesCounters'](_0x3e8a37,_0x4c7cd5)&&(_0xb05c56=!0x0),_0xb05c56;}['_handleMovedFootnoteReference'](_0x16fbac,_0x21d064){const _0xedcd66=_0x21d064['getAttribute']('footnoteId'),_0x10f2f6=this['_footnotes']['findIndex'](_0x22b0d5=>_0x22b0d5['id']===_0xedcd66),_0x5061a7=this['_footnotes'][_0x10f2f6];let _0x15a733=!0x1;_0x5061a7['reference']=_0x21d064,this['_footnotes']['splice'](_0x10f2f6,0x1);const _0xd95303=I(this['editor']['model'],this['_footnotes'],_0x21d064);return this['_footnotes']['splice'](_0xd95303,0x0,_0x5061a7),this['_updateFootnotesCounters'](_0x16fbac,Math['min'](_0x10f2f6,_0xd95303))&&(_0x15a733=!0x0),_0x15a733;}['_updateFootnoteRefCounter'](_0x5e795d,_0x3b709e){if(!this['_footnotesDefinitions'])return!0x1;const _0x3dfdda=this['_footnotes'][_0x3b709e];let _0x4ab1bc;return _0x4ab1bc=this['_footnoteFormatter']?this['_footnoteFormatter']({'footnote':_0x3dfdda,'container':this['_footnotesDefinitions'],'digits':String(this['_footnotes']['length'])['length'],'value':_0x3b709e+0x1}):String(_0x3b709e+0x1),_0x3dfdda['reference']['getAttribute']('footnoteCounter')!=_0x4ab1bc&&(_0x5e795d['setAttribute']('footnoteCounter',_0x4ab1bc,_0x3dfdda['reference']),!0x0);}['_sortFootnoteDefinitions'](_0x5ee665){if(!this['_footnotesDefinitions']||this['_footnotes']['length']<0x2)return!0x1;if(function(_0x1bbdf4,_0x12eb92){if(_0x1bbdf4['length']!==_0x12eb92['length'])return!0x1;for(let _0x57015c=0x0;_0x57015c<_0x1bbdf4['length'];_0x57015c++)if(_0x1bbdf4[_0x57015c]!==_0x12eb92[_0x57015c])return!0x1;return!0x0;}(this['_footnotes']['map'](_0x5f1251=>_0x5f1251['id']),Array['from'](this['_footnotesDefinitions']['getChildren']())['map'](_0x25234d=>_0x25234d['getAttribute']('footnoteId'))))return!0x1;let _0x108753=!0x1;for(let _0x4702ed=0x0;_0x4702ed<this['_footnotes']['length'];_0x4702ed++){const _0x316939=this['_footnotes'][_0x4702ed],_0x354d11=_0x5ee665['createPositionBefore'](_0x316939['definition']),_0x1236db=_0x5ee665['createPositionAt'](this['_footnotesDefinitions'],_0x4702ed);_0x354d11['isEqual'](_0x1236db)||(_0x5ee665['move'](_0x5ee665['createRangeOn'](_0x316939['definition']),_0x1236db),_0x108753=!0x0);}return _0x108753;}['_ensureFootnotesReferencesHaveProperOrder'](_0x2db1a4){if(!this['_footnotes']['length'])return!0x1;const {model:_0x279403}=this['editor'];let _0x454e49=!0x1;for(let _0x334f3e=0x0;_0x334f3e<this['_footnotes']['length']-0x1;_0x334f3e++){const _0x54f390=this['_footnotes'][_0x334f3e],_0x4b71eb=this['_footnotes'][_0x334f3e+0x1],_0x344164=_0x279403['createPositionBefore'](_0x54f390['reference']),_0x23567e=_0x279403['createPositionBefore'](_0x4b71eb['reference']);'after'===_0x344164['compareWith'](_0x23567e)&&(this['_handleMovedFootnoteReference'](_0x2db1a4,_0x54f390['reference']),_0x334f3e=-0x1,_0x454e49=!0x0);}return _0x454e49;}}function _(_0x322269,_0x456b13,_0xe27319){if(_0xe27319['childCount'])return!0x1;const _0x25ebe2=_0x456b13?'paragraph':'footnoteInlineContent';return _0x322269['insert'](_0x322269['createElement'](_0x25ebe2),_0xe27319),!0x0;}function I(_0x28a5e1,_0x1535f0,_0x25003b){if(0x0===_0x1535f0['length'])return 0x0;const _0x3ea404=_0x28a5e1['createPositionBefore'](_0x25003b);for(let _0x278514=0x0;_0x278514<_0x1535f0['length'];_0x278514++){const _0x872ba0=_0x1535f0[_0x278514],_0xec75c6=_0x28a5e1['createPositionBefore'](_0x872ba0['reference']);if('before'===_0x3ea404['compareWith'](_0xec75c6))return _0x278514;}const _0x1f988f=_0x25003b['root'];let _0x4a777e=-0x1;for(let _0x5c7e96=_0x1535f0['length']-0x1;_0x5c7e96>=0x0;_0x5c7e96--)if(_0x1535f0[_0x5c7e96]['reference']['root']===_0x1f988f){_0x4a777e=_0x5c7e96;break;}if(-0x1!==_0x4a777e)return _0x4a777e+0x1;const _0x1d7d19=_0x28a5e1['document']['getRootNames'](),_0x1f84e7=_0x1d7d19['indexOf'](_0x1f988f['rootName']),_0x44ca8b=_0x1d7d19[_0x1f84e7+0x1];if(_0x44ca8b){for(let _0x3e9e45=0x0;_0x3e9e45<_0x1535f0['length'];_0x3e9e45++)if(_0x1535f0[_0x3e9e45]['reference']['root']['rootName']===_0x44ca8b)return _0x3e9e45;}return _0x1535f0['length'];}class m extends _0x27ce1c{['refresh'](){const _0x4ca039=this['editor']['model']['document']['selection'],_0x23999f=this['_getPositionToInsertFootnote'](_0x4ca039);this['isEnabled']=!!_0x23999f;}['execute'](_0x48b2e0){const {editor:_0x4d3efd}=this,{model:_0x4463ea}=_0x4d3efd,{selection:_0x386d40}=_0x4463ea['document'],_0x50077c=this['_getPositionToInsertFootnote'](_0x386d40);if(!_0x50077c)return;const _0x3e9984=_0x4d3efd['plugins']['get']('FootnotesEditing'),_0x4c87c3=_0x48b2e0?.['footnoteId']??_0x32a995();!function(_0x2332ca){return'string'==typeof _0x2332ca&&_0x2332ca['length']>0x0&&!/\s/['test'](_0x2332ca)&&!/^\d/['test'](_0x2332ca);}(_0x4c87c3)?_0x4e63a5('insert-footnote-command-executed-with-invalid-id'):(_0x4463ea['change'](_0x5190f7=>{const _0x22ef28=_0x5190f7['createElement']('footnoteRef',{'footnoteId':_0x4c87c3});_0x4463ea['insertObject'](_0x22ef28,_0x50077c,null);}),_0x3e9984['_moveSelectionToFootnoteDefinition'](_0x4c87c3));}['_getPositionToInsertFootnote'](_0x572a6c){const {model:_0x5784dd}=this['editor'],{schema:_0x5a773d}=_0x5784dd,_0x3da15c=_0x572a6c['getFirstRange']();for(const _0x192b6d of _0x3da15c['getItems']())if(_0x5a773d['isBlock'](_0x192b6d)||_0x5a773d['isObject'](_0x192b6d))return null;const _0x2bdf30=_0x3da15c['end'];return _0x5a773d['checkChild'](_0x2bdf30,'footnoteRef')?_0x2bdf30:null;}}class r extends _0xeb7666{static get['pluginName'](){return'FootnotesEditing';}static get['requires'](){return[f];}static get['isOfficialPlugin'](){return!0x0;}static get['isPremiumPlugin'](){return!0x0;}['init'](){const {editor:_0x24ade3}=this;_0x24ade3['config']['define']('footnotes.multiBlock',!0x0),_0x24ade3['commands']['add']('insertFootnote',new m(_0x24ade3)),this['_defineSchema'](),this['_defineRefsConverters'](),this['_defineDefinitionsConverters'](),this['_defineDefinitionConverters'](),this['_defineBogusParagraphConverters'](),this['_defineKeyboardHandlers'](),this['_defineClickHandlers']();}['afterInit'](){!async function(_0x5443c9){const _0x3ec974=_0x351f1c([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]),_0x12e50d=0x47a28506,_0x1f2f2a=0x47a5fe3e^_0x12e50d,_0x4ad894=window[_0x351f1c([0x44,0x61,0x74,0x65])][_0x351f1c([0x6e,0x6f,0x77])](),_0x12c78f=_0x5443c9[_0x351f1c([0x65,0x64,0x69,0x74,0x6f,0x72])],_0x545111=new window[(_0x351f1c([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0x10050e=>{_0x12c78f[_0x351f1c([0x6f,0x6e,0x63,0x65])](_0x351f1c([0x72,0x65,0x61,0x64,0x79]),_0x10050e);}),_0x31f51d={[_0x351f1c([0x6b,0x74,0x79])]:_0x351f1c([0x45,0x43]),[_0x351f1c([0x75,0x73,0x65])]:_0x351f1c([0x73,0x69,0x67]),[_0x351f1c([0x63,0x72,0x76])]:_0x351f1c([0x50,0x2d,0x32,0x35,0x36]),[_0x351f1c([0x78])]:_0x351f1c([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]),[_0x351f1c([0x79])]:_0x351f1c([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]),[_0x351f1c([0x61,0x6c,0x67])]:_0x351f1c([0x45,0x53,0x32,0x35,0x36])},_0x4d3787=_0x12c78f[_0x351f1c([0x63,0x6f,0x6e,0x66,0x69,0x67])][_0x351f1c([0x67,0x65,0x74])](_0x351f1c([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x4b,0x65,0x79]));async function _0x4a6913(){let _0x3b9ac5,_0x1cedb1=null,_0x4d93a1=null;try{if(_0x4d3787==_0x351f1c([0x47,0x50,0x4c]))return _0x351f1c([0x4e,0x6f,0x74,0x41,0x6c,0x6c,0x6f,0x77,0x65,0x64]);if(_0x3b9ac5=_0x4545b4(),!_0x3b9ac5)return _0x351f1c([0x49,0x6e,0x76,0x61,0x6c,0x69,0x64]);return _0x3b9ac5[_0x351f1c([0x75,0x73,0x61,0x67,0x65,0x45,0x6e,0x64,0x70,0x6f,0x69,0x6e,0x74])]&&(_0x4d93a1=_0x28bf9d(_0x3b9ac5[_0x351f1c([0x75,0x73,0x61,0x67,0x65,0x45,0x6e,0x64,0x70,0x6f,0x69,0x6e,0x74])],_0x3b9ac5[_0x351f1c([0x6a,0x74,0x69])])),await _0x586a48()?_0x415009()?_0x509b45()?_0x351f1c([0x45,0x78,0x70,0x69,0x72,0x65,0x64]):_0x5588cb()?(_0x3b9ac5[_0x351f1c([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x54,0x79,0x70,0x65])]==_0x351f1c([0x65,0x76,0x61,0x6c,0x75,0x61,0x74,0x69,0x6f,0x6e])&&(_0x1cedb1=_0x5130ef(_0x351f1c([0x45,0x76,0x61,0x6c,0x75,0x61,0x74,0x69,0x6f,0x6e,0x4c,0x69,0x6d,0x69,0x74]))),_0x3b9ac5[_0x351f1c([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x54,0x79,0x70,0x65])]==_0x351f1c([0x74,0x72,0x69,0x61,0x6c])&&(_0x1cedb1=_0x5130ef(_0x351f1c([0x54,0x72,0x69,0x61,0x6c,0x4c,0x69,0x6d,0x69,0x74]))),await _0x4bee1f()):_0x351f1c([0x44,0x6f,0x6d,0x61,0x69,0x6e,0x4c,0x69,0x6d,0x69,0x74]):_0x351f1c([0x4e,0x6f,0x74,0x41,0x6c,0x6c,0x6f,0x77,0x65,0x64]):_0x351f1c([0x49,0x6e,0x76,0x61,0x6c,0x69,0x64]);}catch{return _0x351f1c([0x49,0x6e,0x76,0x61,0x6c,0x69,0x64]);}function _0x509b45(){const _0x143e0f=[_0x351f1c([0x65,0x76,0x61,0x6c,0x75,0x61,0x74,0x69,0x6f,0x6e]),_0x351f1c([0x74,0x72,0x69,0x61,0x6c])][_0x351f1c([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x3b9ac5[_0x351f1c([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x54,0x79,0x70,0x65])])?_0x4ad894/0x3e8:0xe10*_0x1f2f2a;return _0x3b9ac5[_0x351f1c([0x65,0x78,0x70])]<_0x143e0f;}function _0x415009(){const _0x409a12=_0x3b9ac5[_0x351f1c([0x66,0x65,0x61,0x74,0x75,0x72,0x65,0x73])];return!!_0x409a12&&(!!_0x409a12[_0x351f1c([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x351f1c([0x2a]))||!!_0x409a12[_0x351f1c([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x351f1c([0x46,0x4f,0x4f])));}function _0x5588cb(){const _0x5562ee=_0x3b9ac5[_0x351f1c([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x64,0x48,0x6f,0x73,0x74,0x73])];if(!_0x5562ee||0x0==_0x5562ee[_0x351f1c([0x6c,0x65,0x6e,0x67,0x74,0x68])])return!0x0;const {hostname:_0x35270a}=new URL(window[_0x351f1c([0x6c,0x6f,0x63,0x61,0x74,0x69,0x6f,0x6e])]['href']);if(_0x5562ee[_0x351f1c([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x35270a))return!0x0;const _0x160dba=_0x35270a[_0x351f1c([0x73,0x70,0x6c,0x69,0x74])](_0x351f1c([0x2e]));return _0x5562ee[_0x351f1c([0x66,0x69,0x6c,0x74,0x65,0x72])](_0x3927c1=>_0x3927c1[_0x351f1c([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x351f1c([0x2a])))[_0x351f1c([0x6d,0x61,0x70])](_0xa9a782=>_0xa9a782[_0x351f1c([0x73,0x70,0x6c,0x69,0x74])](_0x351f1c([0x2e])))[_0x351f1c([0x66,0x69,0x6c,0x74,0x65,0x72])](_0x39cc60=>_0x39cc60[_0x351f1c([0x6c,0x65,0x6e,0x67,0x74,0x68])]<=_0x160dba[_0x351f1c([0x6c,0x65,0x6e,0x67,0x74,0x68])])[_0x351f1c([0x6d,0x61,0x70])](_0xa2823=>Array(_0x160dba[_0x351f1c([0x6c,0x65,0x6e,0x67,0x74,0x68])]-_0xa2823[_0x351f1c([0x6c,0x65,0x6e,0x67,0x74,0x68])])[_0x351f1c([0x66,0x69,0x6c,0x6c])](_0xa2823[0x0]===_0x351f1c([0x2a])?_0x351f1c([0x2a]):'')[_0x351f1c([0x63,0x6f,0x6e,0x63,0x61,0x74])](_0xa2823))[_0x351f1c([0x73,0x6f,0x6d,0x65])](_0x13302c=>_0x160dba[_0x351f1c([0x65,0x76,0x65,0x72,0x79])]((_0x249c3e,_0x1d6905)=>_0x13302c[_0x1d6905]===_0x249c3e||_0x13302c[_0x1d6905]===_0x351f1c([0x2a])));}function _0x4bee1f(){return _0x1cedb1&&_0x4d93a1?new window[(_0x351f1c([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))]((_0x108eaf,_0x21c987)=>{_0x1cedb1[_0x351f1c([0x74,0x68,0x65,0x6e])](_0x108eaf,_0x21c987),_0x4d93a1[_0x351f1c([0x74,0x68,0x65,0x6e])](_0x297deb=>{_0x297deb!=_0x351f1c([0x56,0x61,0x6c,0x69,0x64])&&_0x108eaf(_0x297deb);},_0x21c987);}):_0x1cedb1||_0x4d93a1||_0x351f1c([0x56,0x61,0x6c,0x69,0x64]);}}function _0x28bf9d(_0x31c272,_0x548128){return new window[(_0x351f1c([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0x420b9c=>{if(_0x38815c())return _0x420b9c(_0x351f1c([0x56,0x61,0x6c,0x69,0x64]));_0x192a85(),_0x12c78f[_0x351f1c([0x64,0x65,0x63,0x6f,0x72,0x61,0x74,0x65])](_0x351f1c([0x5f,0x73,0x65,0x6e,0x64,0x55,0x73,0x61,0x67,0x65,0x52,0x65,0x71,0x75,0x65,0x73,0x74]));let _0x19a49a=!0x1;const _0x384192=_0x32a995();function _0xdd3a8a(_0x2135c9){return!!_0x2135c9&&(typeof _0x2135c9===_0x351f1c([0x6f,0x62,0x6a,0x65,0x63,0x74])||typeof _0x2135c9===_0x351f1c([0x66,0x75,0x6e,0x63,0x74,0x69,0x6f,0x6e]))&&typeof _0x2135c9[_0x351f1c([0x74,0x68,0x65,0x6e])]===_0x351f1c([0x66,0x75,0x6e,0x63,0x74,0x69,0x6f,0x6e])&&typeof _0x2135c9[_0x351f1c([0x63,0x61,0x74,0x63,0x68])]===_0x351f1c([0x66,0x75,0x6e,0x63,0x74,0x69,0x6f,0x6e]);}function _0x1f0f05(_0x41b522){_0x59a54d(_0x41b522)[_0x351f1c([0x74,0x68,0x65,0x6e])](_0x45d79f=>{if(!_0x45d79f||_0x45d79f[_0x351f1c([0x73,0x74,0x61,0x74,0x75,0x73])]!=_0x351f1c([0x6f,0x6b]))return _0x351f1c([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]);return _0x5c3353(_0x2aacfb(_0x384192+_0x548128))!=_0x45d79f[_0x351f1c([0x76,0x65,0x72,0x69,0x66,0x69,0x63,0x61,0x74,0x69,0x6f,0x6e])]?_0x351f1c([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]):_0x351f1c([0x56,0x61,0x6c,0x69,0x64]);})[_0x351f1c([0x74,0x68,0x65,0x6e])](_0x28a63a=>(_0x2baa43(),_0x28a63a),()=>{const _0x4a12d5=_0xd7b1a1();return null==_0x4a12d5?(_0x2baa43(),_0x351f1c([0x56,0x61,0x6c,0x69,0x64])):_0x351f1c(_0x4ad894-_0x4a12d5>(0x63ae0106^_0x12e50d)?[0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]:[0x56,0x61,0x6c,0x69,0x64]);})[_0x351f1c([0x74,0x68,0x65,0x6e])](_0x420b9c)[_0x351f1c([0x63,0x61,0x74,0x63,0x68])](()=>{_0x420b9c(_0x351f1c([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]));});const _0x3e4a9d=0x47946b86^_0x12e50d;function _0x2baa43(){const _0x49b796=_0x351f1c([0x6c,0x6c,0x63,0x74,0x2d])+_0x5c3353(_0x2aacfb(_0x31c272)),_0x38225d=_0x5f0a1b(_0x5c3353(window[_0x351f1c([0x4d,0x61,0x74,0x68])][_0x351f1c([0x63,0x65,0x69,0x6c])](_0x4ad894/_0x3e4a9d)));window[_0x351f1c([0x6c,0x6f,0x63,0x61,0x6c,0x53,0x74,0x6f,0x72,0x61,0x67,0x65])][_0x351f1c([0x73,0x65,0x74,0x49,0x74,0x65,0x6d])](_0x49b796,_0x38225d);}function _0xd7b1a1(){const _0x32d1b3=_0x351f1c([0x6c,0x6c,0x63,0x74,0x2d])+_0x5c3353(_0x2aacfb(_0x31c272)),_0x3c76a3=window[_0x351f1c([0x6c,0x6f,0x63,0x61,0x6c,0x53,0x74,0x6f,0x72,0x61,0x67,0x65])][_0x351f1c([0x67,0x65,0x74,0x49,0x74,0x65,0x6d])](_0x32d1b3);return _0x3c76a3?window[_0x351f1c([0x70,0x61,0x72,0x73,0x65,0x49,0x6e,0x74])](_0x5f0a1b(_0x3c76a3),0x10)*_0x3e4a9d:null;}function _0x59a54d(_0x1351a6){return new window[(_0x351f1c([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))]((_0x3b473d,_0x1e10e1)=>{_0x1351a6[_0x351f1c([0x74,0x68,0x65,0x6e])](_0x3b473d,_0x1e10e1),window[_0x351f1c([0x73,0x65,0x74,0x54,0x69,0x6d,0x65,0x6f,0x75,0x74])](_0x1e10e1,0x47a351c6^_0x12e50d);});}}_0x12c78f[_0x351f1c([0x6f,0x6e])](_0x351f1c([0x5f,0x73,0x65,0x6e,0x64,0x55,0x73,0x61,0x67,0x65,0x52,0x65,0x71,0x75,0x65,0x73,0x74]),(_0x5d3a5c,_0x1bce72)=>{if(_0x1bce72[0x0]!=_0x31c272)return _0x420b9c(_0x351f1c([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]));_0x1bce72[0x1]={..._0x1bce72[0x1],[_0x351f1c([0x72,0x65,0x71,0x75,0x65,0x73,0x74,0x49,0x64])]:_0x384192};},{[_0x351f1c([0x70,0x72,0x69,0x6f,0x72,0x69,0x74,0x79])]:_0x351f1c([0x68,0x69,0x67,0x68])}),_0x12c78f[_0x351f1c([0x6f,0x6e])](_0x351f1c([0x5f,0x73,0x65,0x6e,0x64,0x55,0x73,0x61,0x67,0x65,0x52,0x65,0x71,0x75,0x65,0x73,0x74]),_0x5539ca=>{_0xdd3a8a(_0x5539ca[_0x351f1c([0x72,0x65,0x74,0x75,0x72,0x6e])])&&(_0x19a49a=!0x0,_0x1f0f05(_0x5539ca[_0x351f1c([0x72,0x65,0x74,0x75,0x72,0x6e])]));},{[_0x351f1c([0x70,0x72,0x69,0x6f,0x72,0x69,0x74,0x79])]:_0x351f1c([0x6c,0x6f,0x77])}),_0x545111[_0x351f1c([0x74,0x68,0x65,0x6e])](()=>{_0x19a49a||_0x420b9c(_0x351f1c([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]));});});function _0x38815c(){return _0x12c78f[_0x351f1c([0x65,0x64,0x69,0x74,0x69,0x6e,0x67])][_0x351f1c([0x76,0x69,0x65,0x77])][_0x351f1c([0x5f,0x6f,0x76,0x65,0x72,0x6c,0x61,0x79,0x4d,0x6f,0x64,0x65,0x48,0x69,0x6e,0x74])]==_0x351f1c([0x61,0x75,0x74,0x6f]);}function _0x192a85(){_0x12c78f[_0x351f1c([0x65,0x64,0x69,0x74,0x69,0x6e,0x67])][_0x351f1c([0x76,0x69,0x65,0x77])][_0x351f1c([0x5f,0x6f,0x76,0x65,0x72,0x6c,0x61,0x79,0x4d,0x6f,0x64,0x65,0x48,0x69,0x6e,0x74])]=_0x351f1c([0x61,0x75,0x74,0x6f]);}}function _0x5130ef(_0x58a57a){const _0x9a0e74=[new window[(_0x351f1c([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0x2be283=>setTimeout(_0x2be283,0x47abbbca^_0x12e50d)),_0x545111[_0x351f1c([0x74,0x68,0x65,0x6e])](()=>new window[(_0x351f1c([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0x4b5ae8=>{let _0x40a5e0=0x0;_0x12c78f[_0x351f1c([0x6d,0x6f,0x64,0x65,0x6c])][_0x351f1c([0x6f,0x6e])](_0x351f1c([0x61,0x70,0x70,0x6c,0x79,0x4f,0x70,0x65,0x72,0x61,0x74,0x69,0x6f,0x6e]),(_0x151245,_0x14a024)=>{_0x14a024[0x0][_0x351f1c([0x69,0x73,0x44,0x6f,0x63,0x75,0x6d,0x65,0x6e,0x74,0x4f,0x70,0x65,0x72,0x61,0x74,0x69,0x6f,0x6e])]&&_0x40a5e0++,_0x40a5e0==(0x47a284fe^_0x12e50d)&&(_0x4b5ae8(),_0x151245[_0x351f1c([0x6f,0x66,0x66])]());});}))];return window[_0x351f1c([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65])][_0x351f1c([0x72,0x61,0x63,0x65])](_0x9a0e74)[_0x351f1c([0x74,0x68,0x65,0x6e])](()=>_0x58a57a);}async function _0xe25ba6(){await _0x545111,_0x12c78f[_0x351f1c([0x6d,0x6f,0x64,0x65,0x6c])][_0x351f1c([0x63,0x68,0x61,0x6e,0x67,0x65])]=_0x19d1ea,_0x12c78f[_0x351f1c([0x6d,0x6f,0x64,0x65,0x6c])][_0x351f1c([0x65,0x6e,0x71,0x75,0x65,0x75,0x65,0x43,0x68,0x61,0x6e,0x67,0x65])]=_0x19d1ea,_0x12c78f[_0x351f1c([0x65,0x6e,0x61,0x62,0x6c,0x65,0x52,0x65,0x61,0x64,0x4f,0x6e,0x6c,0x79,0x4d,0x6f,0x64,0x65])](_0x351f1c([0x6d,0x6f,0x64,0x65,0x6c]));}function _0x8c28bc(_0xe91fec){const _0x13d909=_0x38d3a9();_0x12c78f[_0x13d909]=_0x351f1c([0x66,0x6f,0x6f,0x74,0x6e,0x6f,0x74,0x65,0x73,0x4c,0x69,0x63,0x65,0x6e,0x73,0x65,0x4b,0x65,0x79])+_0xe91fec,_0xe91fec!=_0x351f1c([0x56,0x61,0x6c,0x69,0x64])&&_0xe25ba6();}function _0x38d3a9(){const _0x468ad6=window[_0x351f1c([0x53,0x74,0x72,0x69,0x6e,0x67])](window[_0x351f1c([0x70,0x65,0x72,0x66,0x6f,0x72,0x6d,0x61,0x6e,0x63,0x65])][_0x351f1c([0x6e,0x6f,0x77])]())[_0x351f1c([0x72,0x65,0x70,0x6c,0x61,0x63,0x65])](_0x351f1c([0x2e]),'');let _0x3f4127=_0x351f1c([0x75]);for(let _0x36111a=0x0;_0x36111a<_0x468ad6[_0x351f1c([0x6c,0x65,0x6e,0x67,0x74,0x68])];_0x36111a+=0x2){let _0x17ea58=window[_0x351f1c([0x70,0x61,0x72,0x73,0x65,0x49,0x6e,0x74])](_0x468ad6[_0x351f1c([0x73,0x75,0x62,0x73,0x74,0x72,0x69,0x6e,0x67])](_0x36111a,_0x36111a+0x2));_0x17ea58>=_0x3ec974[_0x351f1c([0x6c,0x65,0x6e,0x67,0x74,0x68])]&&(_0x17ea58-=_0x3ec974[_0x351f1c([0x6c,0x65,0x6e,0x67,0x74,0x68])]),_0x3f4127+=_0x3ec974[_0x17ea58];}return _0x3f4127;}function _0x4545b4(){const _0x3c177e=_0x4d3787[_0x351f1c([0x73,0x70,0x6c,0x69,0x74])](_0x351f1c([0x2e]));if(0x3!=_0x3c177e[_0x351f1c([0x6c,0x65,0x6e,0x67,0x74,0x68])])return null;return _0x35743c(_0x3c177e[0x1]);function _0x35743c(_0x154cbb){const _0x20389c=_0x40e789(_0x154cbb);return _0x20389c&&_0x46466d()?_0x20389c:null;function _0x46466d(){const _0x34db1a=_0x20389c[_0x351f1c([0x6a,0x74,0x69])],_0xb4eaf2=window[_0x351f1c([0x70,0x61,0x72,0x73,0x65,0x49,0x6e,0x74])](_0x34db1a[_0x351f1c([0x73,0x75,0x62,0x73,0x74,0x72,0x69,0x6e,0x67])](_0x34db1a[_0x351f1c([0x6c,0x65,0x6e,0x67,0x74,0x68])]-0x8),0x10),_0x50c22f={..._0x20389c,[_0x351f1c([0x6a,0x74,0x69])]:_0x34db1a[_0x351f1c([0x73,0x75,0x62,0x73,0x74,0x72,0x69,0x6e,0x67])](0x0,_0x34db1a[_0x351f1c([0x6c,0x65,0x6e,0x67,0x74,0x68])]-0x8)};return delete _0x50c22f[_0x351f1c([0x76,0x63])],_0x2aacfb(_0x50c22f)==_0xb4eaf2;}}}async function _0x586a48(){let _0x1c958a=!0x0;try{const _0x4e7e0b=_0x4d3787[_0x351f1c([0x73,0x70,0x6c,0x69,0x74])](_0x351f1c([0x2e])),[_0xab2114,_0x274195,_0x1cdd20]=_0x4e7e0b;return _0x396037(_0xab2114),await _0x5d7e9a(_0xab2114,_0x274195,_0x1cdd20),_0x1c958a;}catch{return!0x1;}function _0x396037(_0x3d329a){const _0x1111cf=_0x40e789(_0x3d329a);_0x1111cf&&_0x1111cf[_0x351f1c([0x61,0x6c,0x67])]==_0x351f1c([0x45,0x53,0x32,0x35,0x36])||(_0x1c958a=!0x1);}async function _0x5d7e9a(_0x4c9c58,_0x51e2e1,_0xfc201d){const _0x4b27e0=window[_0x351f1c([0x55,0x69,0x6e,0x74,0x38,0x41,0x72,0x72,0x61,0x79])][_0x351f1c([0x66,0x72,0x6f,0x6d])](_0x5a6736(_0xfc201d),_0x320206=>_0x320206[_0x351f1c([0x63,0x68,0x61,0x72,0x43,0x6f,0x64,0x65,0x41,0x74])](0x0)),_0x5f0959=new window[(_0x351f1c([0x54,0x65,0x78,0x74,0x45,0x6e,0x63,0x6f,0x64,0x65,0x72]))]()[_0x351f1c([0x65,0x6e,0x63,0x6f,0x64,0x65])](_0x4c9c58+_0x351f1c([0x2e])+_0x51e2e1),_0x244553=window[_0x351f1c([0x63,0x72,0x79,0x70,0x74,0x6f])][_0x351f1c([0x73,0x75,0x62,0x74,0x6c,0x65])];if(!_0x244553)return;const _0x32915e=await _0x244553[_0x351f1c([0x69,0x6d,0x70,0x6f,0x72,0x74,0x4b,0x65,0x79])](_0x351f1c([0x6a,0x77,0x6b]),_0x31f51d,{[_0x351f1c([0x6e,0x61,0x6d,0x65])]:_0x351f1c([0x45,0x43,0x44,0x53,0x41]),[_0x351f1c([0x6e,0x61,0x6d,0x65,0x64,0x43,0x75,0x72,0x76,0x65])]:_0x351f1c([0x50,0x2d,0x32,0x35,0x36])},!0x1,[_0x351f1c([0x76,0x65,0x72,0x69,0x66,0x79])]);await _0x244553[_0x351f1c([0x76,0x65,0x72,0x69,0x66,0x79])]({[_0x351f1c([0x6e,0x61,0x6d,0x65])]:_0x351f1c([0x45,0x43,0x44,0x53,0x41]),[_0x351f1c([0x68,0x61,0x73,0x68])]:{[_0x351f1c([0x6e,0x61,0x6d,0x65])]:_0x351f1c([0x53,0x48,0x41,0x2d,0x32,0x35,0x36])}},_0x32915e,_0x4b27e0,_0x5f0959)||(_0x1c958a=!0x1);}}function _0x40e789(_0x5c13db){return _0x5c13db[_0x351f1c([0x73,0x74,0x61,0x72,0x74,0x73,0x57,0x69,0x74,0x68])](_0x351f1c([0x65,0x79]))?JSON[_0x351f1c([0x70,0x61,0x72,0x73,0x65])](_0x5a6736(_0x5c13db)):null;}function _0x5a6736(_0x4d7cc5){return window[_0x351f1c([0x61,0x74,0x6f,0x62])](_0x4d7cc5[_0x351f1c([0x72,0x65,0x70,0x6c,0x61,0x63,0x65])](/-/g,_0x351f1c([0x2b]))[_0x351f1c([0x72,0x65,0x70,0x6c,0x61,0x63,0x65])](/_/g,_0x351f1c([0x2f])));}function _0x2aacfb(_0x21db92){let _0x23a712=0x1505;function _0x210e28(_0x1ab51d){for(let _0x5320dd=0x0;_0x5320dd<_0x1ab51d[_0x351f1c([0x6c,0x65,0x6e,0x67,0x74,0x68])];_0x5320dd++){const _0x442c33=_0x1ab51d[_0x351f1c([0x63,0x68,0x61,0x72,0x43,0x6f,0x64,0x65,0x41,0x74])](_0x5320dd);_0x23a712=(_0x23a712<<0x5)+_0x23a712+_0x442c33,_0x23a712&=_0x23a712;}}function _0x561b56(_0x11cf7d){Array[_0x351f1c([0x69,0x73,0x41,0x72,0x72,0x61,0x79])](_0x11cf7d)?_0x11cf7d[_0x351f1c([0x66,0x6f,0x72,0x45,0x61,0x63,0x68])](_0x561b56):_0x11cf7d&&typeof _0x11cf7d==_0x351f1c([0x6f,0x62,0x6a,0x65,0x63,0x74])?Object[_0x351f1c([0x65,0x6e,0x74,0x72,0x69,0x65,0x73])](_0x11cf7d)[_0x351f1c([0x73,0x6f,0x72,0x74])]()[_0x351f1c([0x66,0x6f,0x72,0x45,0x61,0x63,0x68])](([_0xfcacbc,_0xfd1ede])=>{_0x210e28(_0xfcacbc),_0x561b56(_0xfd1ede);}):_0x210e28(window[_0x351f1c([0x53,0x74,0x72,0x69,0x6e,0x67])](_0x11cf7d));}return _0x561b56(_0x21db92),_0x23a712>>>0x0;}function _0x5c3353(_0x51e0dd){return _0x51e0dd[_0x351f1c([0x74,0x6f,0x53,0x74,0x72,0x69,0x6e,0x67])](0x10)[_0x351f1c([0x70,0x61,0x64,0x53,0x74,0x61,0x72,0x74])](0x8,_0x351f1c([0x30]));}function _0x5f0a1b(_0xd33c9f){return _0xd33c9f[_0x351f1c([0x73,0x70,0x6c,0x69,0x74])]('')[_0x351f1c([0x72,0x65,0x76,0x65,0x72,0x73,0x65])]()[_0x351f1c([0x6a,0x6f,0x69,0x6e])]('');}function _0x19d1ea(){}function _0x351f1c(_0x31b7c7){return _0x31b7c7['map'](_0x7e6ab0=>String['fromCharCode'](_0x7e6ab0))['join']('');}_0x8c28bc(await _0x4a6913());}(this);}['_moveSelectionToFootnoteDefinition'](_0x1b7711){const {plugins:_0x260f6c,editing:_0x54fdb2,model:_0x191fbc}=this['editor'],_0x32a0d6=_0x260f6c['get'](f)['getFootnote'](_0x1b7711);return!!_0x32a0d6&&(_0x191fbc['change'](_0x52762=>{_0x52762['setSelection'](_0x52762['createPositionAt'](_0x32a0d6['definition'],'end'));}),_0x54fdb2['view']['scrollToTheSelection'](),!0x0);}['_moveSelectionToFootnoteReference'](_0x2ae788){const {plugins:_0x1ce3b9,editing:_0x271626,model:_0x2e7811}=this['editor'],_0x199763=_0x1ce3b9['get'](f)['getFootnote'](_0x2ae788);return!!_0x199763&&(_0x2e7811['change'](_0x5b9d01=>{_0x5b9d01['setSelection'](_0x199763['reference'],'on');}),_0x271626['view']['scrollToTheSelection'](),!0x0);}['_defineSchema'](){const {schema:_0x4ea99e}=this['editor']['model'],_0x53e4dd=this['editor']['config']['get']('footnotes.multiBlock');_0x4ea99e['register']('footnoteRef',{'inheritAllFrom':'$inlineObject','allowAttributes':['footnoteId','footnoteCounter']}),_0x4ea99e['register']('footnotesDefinitions',{'inheritAllFrom':'$blockObject','allowChildren':['footnoteDefinition']}),_0x4ea99e['register']('footnoteDefinition',{'allowAttributes':['footnoteId'],'disallowAttributes':['listItemId'],'isLimit':!0x0}),_0x53e4dd?_0x4ea99e['extend']('footnoteDefinition',{'allowContentOf':'$container'}):_0x4ea99e['register']('footnoteInlineContent',{'allowIn':'footnoteDefinition','allowContentOf':'$block','isLimit':!0x0}),_0x4ea99e['addChildCheck'](_0x57a1fc=>{for(const _0x48df73 of _0x57a1fc)if('footnoteDefinition'===_0x48df73['name'])return!0x1;},'footnoteRef');}['_defineRefsConverters'](){const {editor:_0x565283}=this,{conversion:_0x64c9be,editing:_0xf054da}=_0x565283,{t:t}=_0x565283['locale'];_0x64c9be['for']('upcast')['elementToElement']({'view':{'name':'sup','classes':'footnote'},'model':(_0x35fd53,{writer:_0xb21d79,consumable:_0x1f0c49})=>{const _0x3c5f74=_0x35fd53['getChild'](0x0);if(!_0x3c5f74||!_0x3c5f74['is']('element','a'))return null;const _0x851817=_0x3c5f74['getAttribute']('href')||'';if(!_0x851817['startsWith']('#'))return null;const _0x3249a7=_0x851817['replace'](/^#/,'');if(!_0x3249a7)return null;_0x1f0c49['consume'](_0x3c5f74,{'name':!0x0,'attributes':['href']});for(const {item:_0x5e4d52}of _0xf054da['view']['createRangeIn'](_0x3c5f74))_0x5e4d52['is']('$textProxy')?_0x1f0c49['consume'](_0x5e4d52['textNode'],{'name':!0x0}):_0x5e4d52['is']('element')&&_0x1f0c49['consume'](_0x5e4d52,{'name':!0x0});return _0xb21d79['createElement']('footnoteRef',{'footnoteId':_0x3249a7});}}),_0x64c9be['for']('dataDowncast')['elementToElement']({'model':{'name':'footnoteRef','attributes':['footnoteId','footnoteCounter']},'view':(_0x493ee6,{writer:_0x5eaf29})=>D(_0x493ee6,_0x5eaf29)}),_0x64c9be['for']('editingDowncast')['elementToElement']({'model':{'name':'footnoteRef','attributes':['footnoteId','footnoteCounter']},'view':(_0x158908,{writer:_0x5aa52c})=>{const _0x355372=_0x158908['getAttribute']('footnoteCounter');return _0x5b4e1d(D(_0x158908,_0x5aa52c),_0x5aa52c,{'label':t('Footnote\x20%0.\x20Press\x20ENTER\x20to\x20jump\x20to\x20footnote\x20definition.',_0x355372)});}});}['_defineDefinitionsConverters'](){const {editor:_0x5d05fc}=this,{t:t}=_0x5d05fc['locale'],{conversion:_0x4cb331}=_0x5d05fc;_0x4cb331['for']('upcast')['elementToElement']({'view':{'name':'div','classes':'footnotes'},'model':'footnotesDefinitions'}),_0x4cb331['for']('upcast')['add'](_0x1b365b=>{_0x1b365b['on']('element:ol',(_0xdf133a,_0x141fd7,_0x1e43f3)=>{const _0x1328fd=_0x141fd7['viewItem'];if(!_0x1328fd['hasClass']('footnotes-list')||!_0x141fd7['modelCursor']['parent']?.['is']('element','footnotesDefinitions'))return;if(!_0x1e43f3['consumable']['consume'](_0x1328fd,{'name':!0x0,'classes':'footnotes-list'}))return;const {modelRange:_0x5a41ad,modelCursor:_0x2a3ce9}=_0x1e43f3['convertChildren'](_0x141fd7['viewItem'],_0x141fd7['modelCursor']);_0x141fd7['modelRange']=_0x5a41ad,_0x141fd7['modelCursor']=_0x2a3ce9;}),_0x1b365b['on']('element:hr',(_0x12150b,_0xad606f,_0x39f4a9)=>{const _0x4946c4=_0xad606f['viewItem'];_0x4946c4['hasClass']('footnotes-divider')&&_0xad606f['modelCursor']['parent']?.['is']('element','footnotesDefinitions')&&_0x39f4a9['consumable']['consume'](_0x4946c4,{'name':!0x0,'classes':'footnotes-divider'});});}),_0x4cb331['for']('dataDowncast')['elementToStructure']({'model':'footnotesDefinitions','view':(_0x217a44,{writer:_0x2d7ac1})=>v(_0x2d7ac1)}),_0x4cb331['for']('editingDowncast')['elementToStructure']({'model':'footnotesDefinitions','view':(_0x4df79a,{writer:_0x457f4a})=>{const _0xe8603a=v(_0x457f4a,{'data-footnotes-list-label':t('Footnotes')}),_0x1d7a18=_0x5b4e1d(_0xe8603a,_0x457f4a,{'hasSelectionHandle':!0x0,'label':t('Footnotes')});return _0x457f4a['setCustomProperty']('footnotesDefinitions',!0x0,_0x1d7a18),_0x1d7a18;}});}['_defineDefinitionConverters'](){const {editor:_0x264aab}=this,{conversion:_0x2d4953,locale:_0x5be8d7}=_0x264aab,_0x3551cd=_0x264aab['config']['get']('footnotes.multiBlock');_0x2d4953['for']('upcast')['add'](_0x50e911=>{_0x50e911['on']('element:li',(_0x574172,_0x2f5c36,_0x550fe1)=>{const _0x2d4909=_0x2f5c36['viewItem'];if(!_0x2d4909['hasClass']('footnote-definition')||!_0x2d4909['getAttribute']('id'))return;const _0x36332b=_0x2d4909['parent'];if(!_0x36332b['is']('element','ol')||!_0x36332b['hasClass']('footnotes-list'))return;if(!_0x550fe1['consumable']['test'](_0x2d4909,{'name':!0x0,'attributes':'id','classes':'footnote-definition'}))return;const _0x312a42=_0x550fe1['writer']['createElement']('footnoteDefinition',{'footnoteId':_0x2d4909['getAttribute']('id')});if(!_0x550fe1['safeInsert'](_0x312a42,_0x2f5c36['modelCursor']))return;_0x550fe1['consumable']['consume'](_0x2d4909,{'name':!0x0,'attributes':'id','classes':'footnote-definition'});const _0x4c0262=Array['from'](_0x2d4909['getChildren']())['find'](_0x5485ff=>_0x5485ff['is']('element')&&_0x5485ff['hasClass']('footnote-content'));for(const _0x203c39 of _0x2d4909['getChildren']())_0x203c39['is']('element')&&(_0x550fe1['consumable']['consume'](_0x203c39,{'name':!0x0,'classes':'footnote-backlink','attributes':'href'}),_0x550fe1['consumable']['consume'](_0x203c39,{'name':!0x0,'classes':'footnote-content'}));if(_0x4c0262){if(_0x3551cd)_0x550fe1['convertChildren'](_0x4c0262,_0x312a42);else{const _0xe07522=_0x550fe1['writer']['createElement']('footnoteInlineContent');_0x550fe1['writer']['insert'](_0xe07522,_0x312a42),_0x550fe1['convertChildren'](_0x4c0262,_0xe07522);}}_0x550fe1['updateConversionResult'](_0x312a42,_0x2f5c36);});}),_0x2d4953['for']('dataDowncast')['elementToStructure']({'model':{'name':'footnoteDefinition','attributes':['footnoteId']},'view':(_0xbd6695,{writer:_0x337a0e})=>b(_0xbd6695,_0x337a0e,_0x5be8d7,{'dataPipeline':!0x0})}),_0x2d4953['for']('editingDowncast')['elementToStructure']({'model':{'name':'footnoteDefinition','attributes':['footnoteId']},'view':(_0x392b3a,{writer:_0x224533})=>b(_0x392b3a,_0x224533,_0x5be8d7)});}['_defineBogusParagraphConverters'](){const {editor:_0x36ba36}=this,{conversion:_0x16ca54}=_0x36ba36;_0x36ba36['config']['get']('footnotes.multiBlock')?(_0x16ca54['for']('editingDowncast')['elementToElement']({'model':'paragraph','view':h(),'converterPriority':'high'}),_0x16ca54['for']('dataDowncast')['elementToElement']({'model':'paragraph','view':h({'dataPipeline':!0x0}),'converterPriority':'high'}),this['listenTo'](_0x36ba36['model']['document'],'change:data',()=>{!function(_0x2110f6,_0x3b2266){const _0x4c8566=_0x2110f6['document']['differ'],_0x35790a=new Set();for(const _0x32e772 of _0x4c8566['getChanges']()){const _0x3fdba6='attribute'==_0x32e772['type']?_0x32e772['range']['start']['parent']:_0x32e772['position']['parent'];_0x3fdba6['is']('element','footnoteDefinition')&&_0x35790a['add'](_0x3fdba6);}for(const _0x165e3c of _0x35790a['values']()){const _0x683841=Array['from'](_0x165e3c['getChildren']())['filter'](_0x7dd436=>g(_0x7dd436,_0x3b2266['mapper']));for(const _0x5c6580 of _0x683841)_0x3b2266['reconvertItem'](_0x5c6580);}}(_0x36ba36['model'],_0x36ba36['editing']);})):(_0x16ca54['for']('editingDowncast')['elementToElement']({'model':'footnoteInlineContent','view':h()}),_0x16ca54['for']('dataDowncast')['elementToElement']({'model':'footnoteInlineContent','view':(_0x5bba15,{writer:_0xe728b9})=>{const _0xcee466=_0xe728b9['createContainerElement']('span');return _0xe728b9['setCustomProperty']('dataPipeline:transparentRendering',!0x0,_0xcee466),_0xcee466;}}));}['_defineKeyboardHandlers'](){const {editor:_0x461c9b}=this,{editing:_0x24e1b8,t:t}=_0x461c9b,_0x1c1273=_0x461c9b['model']['document']['selection'];_0x461c9b['keystrokes']['set']('Ctrl+Alt+F','insertFootnote'),_0x461c9b['accessibility']['addKeystrokeInfos']({'keystrokes':[{'label':t('Insert\x20footnote'),'keystroke':'Ctrl+Alt+F'}]}),this['listenTo'](_0x24e1b8['view']['document'],'enter',(_0x2927ab,_0x244188)=>{const _0x13c642=function(_0x4ca97d){const _0x4211d3=_0x4ca97d['getSelectedElement']();if(_0x4211d3?.['is']('element','footnoteRef'))return _0x4211d3;return null;}(_0x1c1273);if(_0x13c642){const _0x549205=_0x13c642['getAttribute']('footnoteId');this['_moveSelectionToFootnoteDefinition'](_0x549205),_0x244188['preventDefault'](),_0x2927ab['stop']();}},{'context':_0x9e120c});}['_defineClickHandlers'](){const {editor:_0x55f49b}=this,{editing:_0x2e33f2}=_0x55f49b;_0x55f49b['editing']['view']['addObserver'](_0xf6f06a),_0x55f49b['editing']['view']['addObserver'](_0x3d3d3e);let _0x442b2f=!0x1;this['listenTo'](_0x2e33f2['view']['document'],'pointerdown',(_0xfe9bf9,_0x47d5e5)=>{const {target:_0x8caf56}=_0x47d5e5,_0x13610e=_0x2e33f2['view']['document']['selection'];_0x442b2f=!!(_0x8caf56?.['is']('element','a')&&_0x8caf56['parent']?.['is']('element','sup')&&_0x8caf56['parent']['hasClass']('footnote'))&&_0x13610e['getSelectedElement']()===_0x8caf56['parent'];},{'priority':'high'}),this['listenTo'](_0x2e33f2['view']['document'],'click',(_0x38184b,_0x8f8d4f)=>{const {target:_0x34a407}=_0x8f8d4f;if(!_0x34a407?.['is']('element','a'))return;if(_0x34a407['parent']?.['is']('element','sup')&&_0x34a407['parent']['hasClass']('footnote')&&!_0x442b2f)return void _0x8f8d4f['preventDefault']();let _0x28f999=_0x34a407['getAttribute']('href');if(!_0x28f999?.['startsWith']('#'))return;_0x28f999=_0x28f999['slice'](0x1);let _0x47af33=!0x1;(_0x28f999['startsWith']('ref-')&&this['_moveSelectionToFootnoteReference'](_0x28f999['slice'](0x4))||this['_moveSelectionToFootnoteDefinition'](_0x28f999))&&(_0x47af33=!0x0),_0x47af33&&(_0x8f8d4f['preventDefault'](),_0x38184b['stop']());},{'priority':'high','context':'$capture'});}}function h({dataPipeline:_0x5c80be}={}){return(_0x40705c,{writer:_0x1c3dfb})=>{if(!p(_0x40705c))return null;if(!_0x5c80be)return _0x1c3dfb['createContainerElement']('span',{'class':'ck-footnote-bogus-paragraph'});const _0x18394d=_0x1c3dfb['createContainerElement']('p');return _0x1c3dfb['setCustomProperty']('dataPipeline:transparentRendering',!0x0,_0x18394d),_0x18394d;};}function p(_0x4cbbdd){const {parent:_0x37d40d}=_0x4cbbdd;if(!_0x37d40d?.['is']('element','footnoteDefinition'))return!0x1;if(0x1!=_0x37d40d['childCount'])return!0x1;for(const _0x5da09b of _0x4cbbdd['getAttributeKeys']())if(!_0x5da09b['startsWith']('selection:')&&'htmlEmptyBlock'!=_0x5da09b)return!0x1;return!0x0;}function g(_0x2752f5,_0x2dc840){if(!_0x2752f5['is']('element','paragraph'))return!0x1;const _0x476dbd=_0x2dc840['toViewElement'](_0x2752f5);return!!_0x476dbd&&p(_0x2752f5)!==_0x476dbd['is']('element','span');}function $(_0x5e28b4){return _0x9e120c(_0x5e28b4)&&_0x5e28b4['is']('containerElement')&&!!_0x5e28b4['getCustomProperty']('footnotesDefinitions');}function v(_0x1eb1a5,_0x4be59d={}){const _0xc7f74=_0x1eb1a5['createEmptyElement']('hr',{'class':'footnotes-divider'}),_0x42158c=_0x1eb1a5['createContainerElement']('ol',{'class':'footnotes-list'},_0x1eb1a5['createSlot']());return _0x1eb1a5['createContainerElement']('div',{'class':'footnotes',..._0x4be59d},[_0xc7f74,_0x42158c]);}function D(_0x584981,_0x147cd5){const _0x10b71c=_0x584981['getAttribute']('footnoteId'),_0x350bc0=_0x584981['getAttribute']('footnoteCounter'),_0x44899f=_0x147cd5['createUIElement']('a',{'href':'#'+_0x10b71c},function(_0x30132){const _0x1c5701=this['toDomElement'](_0x30132);return _0x1c5701['textContent']=_0x350bc0,_0x1c5701;}),_0x2ad048=_0x147cd5['createContainerElement']('sup',{'id':'ref-'+_0x10b71c,'class':'footnote'},[_0x44899f]);return _0x2ad048['getFillerOffset']=()=>null,_0x2ad048;}function b(_0x1a5d30,_0x42a150,_0x3b62a7,{dataPipeline:_0x3b2c44}={}){const {t:t}=_0x3b62a7,_0x2094ac=_0x1a5d30['getAttribute']('footnoteId'),_0xfa68ba=_0x42a150['createUIElement']('a',{'class':'footnote-backlink','href':'#ref-'+_0x2094ac},function(_0xfeebdb){const _0x39b43d=this['toDomElement'](_0xfeebdb);return _0x39b43d['innerText']='^',_0x39b43d;}),_0x4f692f=_0x3b2c44?_0x42a150['createContainerElement']('div',{'class':'footnote-content'}):_0x5ab702(_0x42a150['createEditableElement']('div',{'class':'footnote-content'}),_0x42a150,{'label':t('Footnote\x20content.')});return _0x42a150['insert'](_0x42a150['createPositionAt'](_0x4f692f,0x0),_0x42a150['createSlot']()),_0x42a150['createContainerElement']('li',{'class':'footnote-definition','id':_0x2094ac},[_0xfa68ba,_0x4f692f]);}class e extends _0xeb7666{static get['pluginName'](){return'FootnotesClipboard';}static get['requires'](){return[r,_0x4bcc1e];}static get['isOfficialPlugin'](){return!0x0;}static get['isPremiumPlugin'](){return!0x0;}['init'](){this['_defineClipboardIntegration']();}['_defineClipboardIntegration'](){this['_handleCopyFootnotesDefinitions'](),this['_handlePasteFootnotesDefinitions']();}['_handleCopyFootnotesDefinitions'](){const {editor:_0x39a0bc}=this,{plugins:_0x95b62d,model:_0xf4932a}=_0x39a0bc,_0x38b420=_0x95b62d['get'](_0x4bcc1e),_0x28ab66=_0x95b62d['get'](f);this['listenTo'](_0x38b420,'outputTransformation',(_0x173026,_0x3f93c1)=>{const _0x1fe9d6=c(_0xf4932a['createRangeIn'](_0x3f93c1['content']));if(!_0x1fe9d6['length'])return;const _0x344a6e=_0x28ab66['getFootnotes'](),_0x5d5364=_0x1fe9d6['reduce']((_0x392ac2,_0x58ed8e)=>{const _0x5448e4=_0x344a6e['find'](_0xf74a5c=>_0xf74a5c['id']===_0x58ed8e);if(_0x5448e4){const _0x34fda7=_0x39a0bc['data']['toView'](_0x5448e4['definition'],{'isClipboardPipeline':!0x0}),_0x3fa7e3=_0x39a0bc['data']['htmlProcessor']['toData'](_0x34fda7);_0x392ac2[_0x5448e4['id']]=_0x3fa7e3;}return _0x392ac2;},Object['create'](null));_0x3f93c1['dataTransfer']['setData']('application/ckeditor5-footnotes',JSON['stringify'](_0x5d5364));});}['_handlePasteFootnotesDefinitions'](){const {editor:_0x39f315}=this,{model:_0x3963bd,plugins:_0x758d0d}=_0x39f315,{view:_0xb05144}=_0x39f315['editing'],_0x4cf4e2=_0x758d0d['get'](_0x4bcc1e),_0x445ac5=_0x758d0d['get'](f),_0xf37576=_0x39f315['config']['get']('footnotes.multiBlock');let _0x4a62f6=null;this['listenTo'](_0xb05144['document'],'clipboardInput',(_0x2a0e67,_0x250c7f)=>{const _0x2be03e=_0x250c7f['dataTransfer']['getData']('application/ckeditor5-footnotes');_0x4a62f6=_0x2be03e?JSON['parse'](_0x2be03e):null;}),this['listenTo'](_0x4cf4e2,'contentInsertion',(_0x51db7c,_0x3019d9)=>{const _0x78ebac=_0x3019d9['sourceEditorId']===this['editor']['id'];_0x78ebac&&'drop'===_0x3019d9['method']||_0x3963bd['change'](_0x3dd73c=>{let _0x24bf1f=_0x445ac5['getFootnotesDefinitionsObjectElement']();const _0x2096e2=!!_0x24bf1f&&Array['from'](_0x3963bd['document']['selection']['getSelectedBlocks']())['includes'](_0x24bf1f);if((_0x24bf1f&&!_0x2096e2||!_0x24bf1f&&!_0x4a62f6)&&function(_0x163b8f,_0x1c7a46){const _0x50b135=[];for(const {item:_0x467d5e}of _0x163b8f['createRangeIn'](_0x1c7a46))_0x467d5e['is']('element','footnotesDefinitions')&&_0x50b135['push'](_0x467d5e);for(const _0x216901 of _0x50b135)_0x163b8f['remove'](_0x216901);}(_0x3dd73c,_0x3019d9['content']),!_0x4a62f6)return;const {selection:_0x55fb3d}=_0x3963bd['document'],_0x45c2aa=_0x55fb3d['getFirstRange']()['root'];_0x24bf1f&&!_0x2096e2||(_0x24bf1f=function(_0xda813e,_0x7739db){for(const {item:_0x31bffc}of _0xda813e['createRangeIn'](_0x7739db))if(_0x31bffc['is']('element','footnotesDefinitions'))return _0x31bffc;return null;}(_0x3dd73c,_0x3019d9['content']),_0x24bf1f||=_0x445ac5['_insertEmptyFootnotesDefinitionsContainer'](_0x3dd73c,_0x45c2aa));const _0x222baa=Array['from'](_0x55fb3d['getRanges']())['flatMap'](c),_0x46f569=function(_0x147946,_0x5d4acf,_0x13d19e){const _0x26c421=Object['create'](null);for(const {item:_0x42c035}of _0x147946['createRangeIn'](_0x5d4acf))if(_0x42c035['is']('element','footnoteRef')){const _0x424d6d=_0x42c035['getAttribute']('footnoteId');if(!_0x13d19e(_0x424d6d))continue;_0x26c421[_0x424d6d]||(_0x26c421[_0x424d6d]=_0x32a995()),_0x147946['setAttribute']('footnoteId',_0x26c421[_0x424d6d],_0x42c035);}return _0x26c421;}(_0x3dd73c,_0x3019d9['content'],_0x24f905=>{if(!_0x78ebac)return!0x0;return!!_0x445ac5['getFootnote'](_0x24f905)&&!_0x222baa['includes'](_0x24f905);});for(const [_0x209be2,_0x403a8e]of Object['entries'](_0x4a62f6)){const _0x4fdeee=_0x46f569[_0x209be2]||_0x209be2,_0x2b6a3b=_0x3dd73c['createElement']('footnoteDefinition',{'footnoteId':_0x4fdeee}),_0x30c046=_0x39f315['data']['htmlProcessor']['toView'](_0x403a8e);let _0x43d6d5;if(_0xf37576)_0x43d6d5=_0x39f315['data']['toModel'](_0x30c046,_0x2b6a3b);else{_0x43d6d5=_0x3dd73c['createElement']('footnoteInlineContent');const _0xe33f5e=_0x39f315['data']['toModel'](_0x30c046,_0x43d6d5);_0x3dd73c['insert'](_0xe33f5e,_0x43d6d5);}_0x3dd73c['append'](_0x43d6d5,_0x2b6a3b),_0x3dd73c['insert'](_0x2b6a3b,_0x24bf1f,'end');}_0x4a62f6=null;});});}}function c(_0x39cac2){const _0x3a0595=new Set();for(const {item:_0x16acf3}of _0x39cac2)_0x16acf3['is']('element','footnoteRef')&&_0x3a0595['add'](_0x16acf3['getAttribute']('footnoteId'));return Array['from'](_0x3a0595);}class i extends _0xeb7666{['licenseKey'];['_licenseKeyCheckInterval'];static get['pluginName'](){return'FootnotesUI';}static get['isOfficialPlugin'](){return!0x0;}static get['isPremiumPlugin'](){return!0x0;}['init'](){const {editor:_0x29d81c}=this,{componentFactory:_0x45d14a}=_0x29d81c['ui'];_0x45d14a['add']('insertFootnote',x(_0x29d81c,_0x2c7d7a)),_0x45d14a['add']('menuBar:insertFootnote',x(_0x29d81c,_0x1e6c82)),this['licenseKey']=this['editor']['config']['get']('licenseKey');const _0x1276a3=this['editor'];this['_licenseKeyCheckInterval']=setInterval(()=>{let _0x215465;for(const _0x5b56b9 in _0x1276a3){const _0x26c982=_0x5b56b9,_0x2fa7e3=_0x1276a3[_0x26c982];if('footnotesLicenseKeyValid'==_0x2fa7e3||'footnotesLicenseKeyInvalid'==_0x2fa7e3||'footnotesLicenseKeyExpired'==_0x2fa7e3||'footnotesLicenseKeyDomainLimit'==_0x2fa7e3||'footnotesLicenseKeyNotAllowed'==_0x2fa7e3||'footnotesLicenseKeyEvaluationLimit'==_0x2fa7e3||'footnotesLicenseKeyTrialLimit'==_0x2fa7e3||'footnotesLicenseKeyUsageLimit'==_0x2fa7e3){delete _0x1276a3[_0x26c982],_0x215465=_0x2fa7e3,clearInterval(this['_licenseKeyCheckInterval']),this['_licenseKeyCheckInterval']=void 0x0;break;}}'footnotesLicenseKeyInvalid'==_0x215465&&_0x1276a3['_showLicenseError']('invalid'),'footnotesLicenseKeyExpired'==_0x215465&&_0x1276a3['_showLicenseError']('expired'),'footnotesLicenseKeyDomainLimit'==_0x215465&&_0x1276a3['_showLicenseError']('domainLimit'),'footnotesLicenseKeyNotAllowed'==_0x215465&&_0x1276a3['_showLicenseError']('featureNotAllowed','Footnotes'),'footnotesLicenseKeyEvaluationLimit'==_0x215465&&_0x1276a3['_showLicenseError']('evaluationLimit'),'footnotesLicenseKeyTrialLimit'==_0x215465&&_0x1276a3['_showLicenseError']('trialLimit'),'footnotesLicenseKeyUsageLimit'==_0x215465&&_0x1276a3['_showLicenseError']('usageLimit');},0x3e8);}['destroy'](){super['destroy'](),this['_licenseKeyCheckInterval']&&clearInterval(this['_licenseKeyCheckInterval']);}}function x(_0x4c8756,_0x55ef82){const _0x41289d=_0x4c8756['commands']['get']('insertFootnote');return _0x50842b=>{const {t:t}=_0x50842b,_0x5ddc6c=new _0x55ef82(_0x50842b),_0x215b5f=_0x5ddc6c instanceof _0x1e6c82;return _0x5ddc6c['bind']('isEnabled')['to'](_0x41289d,'isEnabled'),_0x5ddc6c['set']({'label':t(_0x215b5f?'Footnote':'Insert\x20footnote'),'icon':_0x3b34e6,'tooltip':!0x0}),_0x5ddc6c['on']('execute',()=>{_0x41289d['execute'](),_0x4c8756['editing']['view']['focus']();}),_0x5ddc6c;};}class lt extends _0xeb7666{static get['pluginName'](){return'Footnotes';}static get['requires'](){return[r,e,i];}static get['isOfficialPlugin'](){return!0x0;}static get['isPremiumPlugin'](){return!0x0;}}const Q=['decimal','decimal-leading-zero','lower-latin','upper-latin','lower-alpha','upper-alpha','lower-roman','upper-roman'];class S extends _0x27ce1c{['refresh'](){const {editor:_0x416333}=this,_0x3cca97=_0x416333['plugins']['get'](f)['getFootnotesDefinitionsObjectElement']();this['isEnabled']=!!_0x3cca97,this['value']=_0x3cca97?.['getAttribute']('footnotesListStyle')??null;}['execute']({value:_0x1907de}){const {editor:_0x4c0067}=this,_0x42375e=_0x4c0067['plugins']['get'](f),_0x126911=_0x42375e['getFootnotesDefinitionsObjectElement']();_0x126911&&Q['includes'](_0x1907de)&&_0x4c0067['model']['change'](_0x2d5798=>{_0x2d5798['setAttribute']('footnotesListStyle',_0x1907de,_0x126911),_0x42375e['_updateFootnotesCounters'](_0x2d5798);});}}class C extends _0x27ce1c{['refresh'](){const {editor:_0x575d55}=this,_0x3f0da7=_0x575d55['plugins']['get'](f)['getFootnotesDefinitionsObjectElement']();this['isEnabled']=!!_0x3f0da7,this['value']=_0x3f0da7?.['getAttribute']('footnotesListStart')??null;}['execute']({value:_0x807f8f}){const {editor:_0xf00f34}=this,_0xd9db6c=_0xf00f34['plugins']['get'](f),_0x6edb42=_0xd9db6c['getFootnotesDefinitionsObjectElement']();_0x6edb42&&Number['isInteger'](_0x807f8f)&&_0xf00f34['model']['change'](_0x5ad6a8=>{_0x5ad6a8['setAttribute']('footnotesListStart',_0x807f8f,_0x6edb42),_0xd9db6c['_updateFootnotesCounters'](_0x5ad6a8);});}}class P extends _0xeb7666{static get['pluginName'](){return'FootnotesPropertiesEditing';}static get['requires'](){return[r,f];}static get['isOfficialPlugin'](){return!0x0;}static get['isPremiumPlugin'](){return!0x0;}['init'](){const {editor:_0x2bc34c}=this;_0x2bc34c['config']['define']('footnotes.footnotesProperties.defaultListStyle','decimal'),_0x2bc34c['config']['define']('footnotes.footnotesProperties.defaultStartIndex',0x1),_0x2bc34c['commands']['add']('footnotesStyle',new S(_0x2bc34c)),_0x2bc34c['commands']['add']('footnotesStart',new C(_0x2bc34c)),this['_defineSchema'](),this['_defineConverters'](),this['_defineFormatter'](),this['_definePostfixer']();}['_defineSchema'](){const {editor:_0x517393}=this,{schema:_0x1aaa85}=_0x517393['model'];_0x1aaa85['extend']('footnotesDefinitions',{'allowAttributes':['footnotesListStyle','footnotesListStart']});}['_defineConverters'](){const {editor:_0x382118}=this,{conversion:_0x1a5ceb,model:_0x27ab90}=_0x382118,{schema:_0x8ccdb}=_0x27ab90;_0x1a5ceb['for']('upcast')['add'](_0x5ef14a=>{_0x5ef14a['on']('element:ol',(_0x3e2508,_0x45648c,_0x116d53)=>{const _0x2531f5=_0x45648c['viewItem'],_0x5e270e=_0x45648c['modelCursor']?.['parent'];_0x2531f5['hasClass']('footnotes-list')&&_0x5e270e?.['is']('element','footnotesDefinitions')&&(function(_0x569b09,_0x4c0ced,_0x3eb9ed,_0x3ee902){if(!_0x3ee902['checkAttribute'](_0x4c0ced,'footnotesListStart'))return;let _0x3ff20d=0x1;const _0x2b1ec7=_0x3eb9ed['consumable']['consume'](_0x569b09,{'attributes':'start'});if(_0x2b1ec7){const _0x191e41=Number['parseInt'](_0x569b09['getAttribute']('start'),0xa);Number['isNaN'](_0x191e41)||(_0x3ff20d=_0x191e41);}!_0x2b1ec7&&_0x4c0ced['hasAttribute']('footnotesListStart')||_0x3eb9ed['writer']['setAttribute']('footnotesListStart',_0x3ff20d,_0x4c0ced);}(_0x2531f5,_0x5e270e,_0x116d53,_0x8ccdb),function(_0x4eaedb,_0x10ddc2,_0x2fa44a,_0x347c6c){if(!_0x347c6c['checkAttribute'](_0x10ddc2,'footnotesListStyle'))return;let _0x2dee03='decimal',_0x5465e8=!0x1;if(_0x2fa44a['consumable']['consume'](_0x4eaedb,{'attributes':'type'})){const _0x30f87b={0x1:'decimal','a':'lower-alpha','A':'upper-alpha','i':'lower-roman','I':'upper-roman'}[_0x4eaedb['getAttribute']('type')];_0x30f87b&&(_0x2dee03=_0x30f87b),_0x5465e8=!0x0;}_0x2fa44a['consumable']['consume'](_0x4eaedb,{'styles':'list-style-type'})&&(_0x2dee03=function(_0x54585a){switch(_0x54585a){case'lower-alpha':return'lower-latin';case'upper-alpha':return'upper-latin';default:return _0x54585a;}}(_0x4eaedb['getStyle']('list-style-type')),_0x5465e8=!0x0),!_0x5465e8&&_0x10ddc2['hasAttribute']('footnotesListStyle')||_0x2fa44a['writer']['setAttribute']('footnotesListStyle',_0x2dee03,_0x10ddc2);}(_0x2531f5,_0x5e270e,_0x116d53,_0x8ccdb));});}),_0x1a5ceb['for']('downcast')['add'](_0x4a6bfb=>{_0x4a6bfb['on']('attribute:footnotesListStart:footnotesDefinitions',(_0x2046e7,_0x1de3bf,_0x1ff10f)=>{if(!_0x1ff10f['consumable']['consume'](_0x1de3bf['item'],_0x2046e7['name']))return;const _0x5a5171=M(_0x1de3bf['item'],_0x1ff10f['mapper']),{attributeNewValue:_0x4bc900}=_0x1de3bf;null==_0x4bc900||0x1===_0x4bc900?_0x1ff10f['writer']['removeAttribute']('start',_0x5a5171):_0x1ff10f['writer']['setAttribute']('start',String(_0x4bc900),_0x5a5171);}),_0x4a6bfb['on']('attribute:footnotesListStyle:footnotesDefinitions',(_0x888d54,_0x1a7bec,_0xb912a4)=>{if(!_0xb912a4['consumable']['consume'](_0x1a7bec['item'],_0x888d54['name']))return;const _0xaf0c28=M(_0x1a7bec['item'],_0xb912a4['mapper']),{attributeNewValue:_0x11a7d5}=_0x1a7bec;_0x11a7d5&&'decimal'!==_0x11a7d5?_0xb912a4['writer']['setStyle']('list-style-type',_0x11a7d5,_0xaf0c28):_0xb912a4['writer']['removeStyle']('list-style-type',_0xaf0c28);});});}['_definePostfixer'](){const {editor:_0x4c84d8}=this,{model:_0x1fe4b0}=_0x4c84d8,_0x49124a=_0x4c84d8['plugins']['get'](f),_0x4dd717=this['_getDefaultListStyle'](),_0x5ea245=this['_getDefaultStartIndex']();_0x1fe4b0['document']['registerPostFixer'](_0xb0cb8b=>{const _0x311d18=_0x1fe4b0['document']['differ']['getChanges']();let _0x3d8795=!0x1;for(const _0x5d62d9 of _0x311d18){if('insert'!==_0x5d62d9['type']||'$text'===_0x5d62d9['name'])continue;const _0x468bb4=_0x1fe4b0['createRangeOn'](_0x5d62d9['position']['nodeAfter']);for(const _0x30d51 of _0x468bb4['getItems']())_0x30d51['is']('element','footnotesDefinitions')&&(!_0x30d51['hasAttribute']('footnotesListStart')&&_0x1fe4b0['schema']['checkAttribute'](_0x30d51,'footnotesListStart')&&(_0xb0cb8b['setAttribute']('footnotesListStart',_0x5ea245,_0x30d51),_0x3d8795=!0x0),!_0x30d51['hasAttribute']('footnotesListStyle')&&_0x1fe4b0['schema']['checkAttribute'](_0x30d51,'footnotesListStyle')&&(_0xb0cb8b['setAttribute']('footnotesListStyle',_0x4dd717,_0x30d51),_0x3d8795=!0x0));}return _0x3d8795&&_0x49124a['_updateFootnotesCounters'](_0xb0cb8b),_0x3d8795;});}['_defineFormatter'](){const {editor:_0x587ca3}=this;_0x587ca3['plugins']['get'](f)['setFootnoteFormatter'](_0x2f66fe=>this['_formatFootnoteListValue'](_0x2f66fe));}['_getDefaultListStyle'](){return this['editor']['config']['get']('footnotes.footnotesProperties.defaultListStyle');}['_getDefaultStartIndex'](){return this['editor']['config']['get']('footnotes.footnotesProperties.defaultStartIndex');}['_formatFootnoteListValue']({container:_0x4b89e9,value:_0x327e9d,digits:_0x2eb19f}){const _0x1750e5=_0x4b89e9['getAttribute']('footnotesListStyle'),_0xbaed35=_0x4b89e9['getAttribute']('footnotesListStart'),_0x3f0402=Math['floor'](_0x327e9d)+(_0xbaed35??0x1)-0x1;switch(_0x1750e5){case'decimal-leading-zero':return function(_0x2c8cce,_0x22cd54){return String(_0x2c8cce)['padStart'](_0x22cd54,'0');}(_0x3f0402,Math['max'](0x2,_0x2eb19f));case'lower-alpha':case'lower-latin':return N(_0x3f0402,!0x1);case'upper-alpha':case'upper-latin':return N(_0x3f0402,!0x0);case'lower-roman':return X(_0x3f0402,!0x1);case'upper-roman':return X(_0x3f0402,!0x0);default:return String(_0x3f0402);}}}function M(_0x5088aa,_0x5629c2){const _0x3ab539=_0x5629c2['toViewElement'](_0x5088aa);return Array['from'](_0x3ab539['getChildren']())['find'](_0x1b4ca4=>_0x1b4ca4['is']('element','ol')&&_0x1b4ca4['hasClass']('footnotes-list'));}function N(_0x2e7c85,_0x14ef20){let _0x3ade3d='',_0x587a5a=_0x2e7c85;for(;_0x587a5a>0x0;){const _0x122e9b=(_0x587a5a-0x1)%0x1a;_0x3ade3d=String['fromCharCode'](0x61+_0x122e9b)+_0x3ade3d,_0x587a5a=Math['floor']((_0x587a5a-0x1)/0x1a);}return _0x14ef20?_0x3ade3d['toUpperCase']():_0x3ade3d;}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(_0x371c52,_0x334e14){let _0x59a236='',_0x1fe9e1=_0x371c52;for(const {value:_0x54fdf8,numeral:_0x473df8}of V)for(;_0x1fe9e1>=_0x54fdf8;)_0x59a236+=_0x473df8,_0x1fe9e1-=_0x54fdf8;return _0x334e14?_0x59a236:_0x59a236['toLowerCase']();}class R extends _0x5f3e58{['children'];['stylesView']=null;['additionalProperties']=null;['startIndexFieldView']=null;['focusTracker']=new ot();['keystrokes']=new rt();['focusables']=new _0x367b77();['focusCycler'];constructor(_0x236f0d,{styleButtonViews:_0x125e7b,styleGridAriaLabel:_0x43b0d1}){super(_0x236f0d),(this['focusCycler']=new _0x2faa84({'focusables':this['focusables'],'focusTracker':this['focusTracker'],'keystrokeHandler':this['keystrokes'],'actions':{'focusPrevious':'shift\x20+\x20tab','focusNext':'tab'}}),this['children']=this['createCollection'](),this['stylesView']=this['_appendStylesView'](_0x125e7b,_0x43b0d1),[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 _0x27c857 of this['stylesView']['children'])this['stylesView']['focusTracker']['add'](_0x27c857['element']);tt({'keystrokeHandler':this['stylesView']['keystrokes'],'focusTracker':this['stylesView']['focusTracker'],'gridItems':this['stylesView']['children'],'numberOfColumns':()=>nt['window']['getComputedStyle'](this['stylesView']['element'])['getPropertyValue']('grid-template-columns')['split']('\x20')['length'],'uiLanguageDirection':this['locale']&&this['locale']['uiLanguageDirection']});}if(this['startIndexFieldView']){this['focusables']['add'](this['startIndexFieldView']),this['focusTracker']['add'](this['startIndexFieldView']['element']);const _0x180f68=_0x47df47=>_0x47df47['stopPropagation']();this['keystrokes']['set']('arrowright',_0x180f68),this['keystrokes']['set']('arrowleft',_0x180f68),this['keystrokes']['set']('arrowup',_0x180f68),this['keystrokes']['set']('arrowdown',_0x180f68);}this['keystrokes']['listenTo'](this['element']);}['focus'](){this['focusCycler']['focusFirst']();}['focusLast'](){this['focusCycler']['focusLast']();}['destroy'](){super['destroy'](),this['focusTracker']['destroy'](),this['keystrokes']['destroy']();}['_appendStylesView'](_0x3c2e56,_0x4a363b){const _0x32e04b=new _0x5f3e58(this['locale']);return _0x32e04b['children']=_0x32e04b['createCollection'](),_0x32e04b['children']['addMany'](_0x3c2e56),_0x32e04b['setTemplate']({'tag':'div','attributes':{'aria-label':_0x4a363b,'class':['ck','ck-footnotes-definitions-styles-list']},'children':_0x32e04b['children']}),_0x32e04b['children']['delegate']('execute')['to'](this),_0x32e04b['focus']=function(){for(const _0xf2301c of this['children'])if(_0xf2301c instanceof _0x2c7d7a&&_0xf2301c['isOn'])return void _0xf2301c['focus']();this['children']['first']['focus']();},_0x32e04b['focusTracker']=new ot(),_0x32e04b['keystrokes']=new rt(),_0x32e04b['render'](),_0x32e04b['keystrokes']['listenTo'](_0x32e04b['element']),this['children']['add'](_0x32e04b),_0x32e04b;}['_appendAdditionalPropertiesCollapsibleView'](){const {t:t}=this['locale'],_0x4713e4=this['_createStartIndexPropertyView'](),_0x41d72f=[_0x4713e4],_0x1abc38=new st(this['locale'],_0x41d72f);return _0x1abc38['set']({'label':t('Footnotes\x20properties'),'isCollapsed':!0x0}),_0x1abc38['buttonView']['bind']('isEnabled')['toMany'](_0x41d72f,'isEnabled',(..._0x59049a)=>_0x59049a['some'](_0x42acef=>_0x42acef)),_0x1abc38['buttonView']['on']('change:isEnabled',(_0x22615b,_0x24ccc0,_0x1bfd17)=>{_0x1bfd17||(_0x1abc38['isCollapsed']=!0x0);}),this['children']['add'](_0x1abc38),[_0x4713e4,_0x1abc38];}['_createStartIndexPropertyView'](){const {t:t}=this['locale'],_0x332ee5=new it(this['locale'],et);return _0x332ee5['set']({'label':t('Footnotes\x20start\x20at'),'class':'ck-footnotes-definitions-properties__start-index'}),_0x332ee5['fieldView']['set']({'min':0x0,'max':Math['pow'](0x2,0x1e),'step':0x1,'value':0x1,'inputMode':'numeric'}),_0x332ee5['fieldView']['on']('input',()=>{const _0x55600f=_0x332ee5['fieldView']['element'],_0x429083=_0x55600f['valueAsNumber'];Number['isNaN'](_0x429083)?_0x332ee5['errorText']=t('Invalid\x20footnotes\x20start\x20index\x20value.'):_0x55600f['checkValidity']()?this['fire']('footnotesListStart',{'startIndex':_0x429083}):_0x332ee5['errorText']=t(_0x429083<0x0?'Footnotes\x20start\x20index\x20must\x20be\x20greater\x20than\x200.':'Footnotes\x20start\x20index\x20is\x20too\x20large.');}),_0x332ee5;}}class j extends _0xeb7666{static get['pluginName'](){return'FootnotesPropertiesUI';}static get['requires'](){return[_0x59ce17,_0x6c66e1];}static get['isOfficialPlugin'](){return!0x0;}static get['isPremiumPlugin'](){return!0x0;}['init'](){const {editor:_0x461783}=this,{componentFactory:_0x24c1b8}=_0x461783['ui'];_0x461783['config']['define']('footnotes.footnotesProperties.toolbar',['footnotesStyle']),_0x24c1b8['add']('footnotesStyle',function(_0x501884){return _0x30dec7=>{const {t:t}=_0x30dec7,_0x270bb1=_0x501884['commands']['get']('footnotesStyle'),_0x18afac=_0x38dfa3(_0x30dec7),{buttonView:_0x358469}=_0x18afac;return _0x18afac['class']='ck-footnotes-styles-dropdown',_0x18afac['bind']('isEnabled')['to'](_0x270bb1,'isEnabled'),_0x358469['set']({'label':t('Footnotes\x20style'),'icon':_0x3b34e6,'tooltip':!0x0}),_0x18afac['once']('change:isOpen',()=>{const _0x33578e=function({editor:_0x3b1d2a,dropdownView:_0x5065ad}){const {t:t}=_0x3b1d2a['locale'],_0x5401c5=t('Footnotes\x20definitions\x20styles'),_0x4d582e=function(_0x1e6c9b){const t=_0x1e6c9b['locale']['t'],_0x285aa4=[{'label':t('Toggle\x20the\x20decimal\x20footnotes\x20style'),'tooltip':t('Decimal\x20footnotes'),'style':'decimal','icon':_0x383181},{'label':t('Toggle\x20the\x20decimal\x20with\x20leading\x20zero\x20footnotes\x20style'),'tooltip':t('Decimal\x20footnotes\x20with\x20leading\x20zero'),'style':'decimal-leading-zero','icon':_0x383ca1},{'label':t('Toggle\x20the\x20lower–roman\x20footnotes\x20style'),'tooltip':t('Lower–roman\x20footnotes'),'style':'lower-roman','icon':_0x157553},{'label':t('Toggle\x20the\x20upper–roman\x20footnotes\x20style'),'tooltip':t('Upper-roman\x20footnotes'),'style':'upper-roman','icon':_0x5b268f},{'label':t('Toggle\x20the\x20lower–latin\x20footnotes\x20style'),'tooltip':t('Lower-latin\x20footnotes'),'style':'lower-latin','icon':_0x1af5e5},{'label':t('Toggle\x20the\x20upper–latin\x20footnotes\x20style'),'tooltip':t('Upper-latin\x20footnotes'),'style':'upper-latin','icon':_0x22b71f}];return _0x285aa4['map'](function(_0x24d74c){const _0x1fdd10=_0x24d74c['locale'];return({label:_0x17a105,icon:_0x4cb29b,tooltip:_0x5af689,style:_0x28da27})=>{const _0xdf6e67=_0x24d74c['commands']['get']('footnotesStyle'),_0x267675=new _0x2c7d7a(_0x1fdd10);return _0x267675['set']({'label':_0x17a105,'icon':_0x4cb29b,'tooltip':_0x5af689}),_0x267675['bind']('isOn')['to'](_0xdf6e67,'value',_0x4a6c33=>_0x4a6c33===_0x28da27),_0x267675['bind']('isEnabled')['to'](_0xdf6e67,'isEnabled'),_0x267675['on']('execute',()=>{_0x24d74c['execute']('footnotesStyle',{'value':_0x28da27}),_0x24d74c['editing']['view']['focus']();}),_0x267675;};}(_0x1e6c9b));}(_0x3b1d2a),_0x119245=new R(_0x3b1d2a['locale'],{'styleGridAriaLabel':_0x5401c5,'styleButtonViews':_0x4d582e}),_0x4293e9=_0x3b1d2a['commands']['get']('footnotesStart');return _0x119245['startIndexFieldView']['bind']('isEnabled')['to'](_0x4293e9),_0x119245['startIndexFieldView']['fieldView']['bind']('value')['to'](_0x4293e9),_0x119245['on']('footnotesListStart',(_0x271cdf,_0x125082)=>{_0x3b1d2a['execute']('footnotesStart',{'value':_0x125082['startIndex']});}),_0x119245['delegate']('execute')['to'](_0x5065ad),_0x119245;}({'editor':_0x501884,'dropdownView':_0x18afac});_0x18afac['panelView']['children']['add'](_0x33578e);}),_0x18afac;};}(_0x461783));}['afterInit'](){const {editor:_0x1ba79b}=this,{t:t}=_0x1ba79b['locale'],_0x4b3daa=_0x1ba79b['plugins']['get'](_0x6c66e1),{defaultPositions:_0x305ee8}=_0x2fd527;_0x4b3daa['register']('footnotesDefinitions',{'ariaLabel':t('Footnotes\x20definitions\x20toolbar'),'items':_0x1ba79b['config']['get']('footnotes.footnotesProperties.toolbar'),'balloonClassName':'ck-footnotes-style-balloon\x20ck-toolbar-container','getRelatedElement':_0x3208ee=>{let _0x1b7ea3=_0x3208ee['getFirstPosition']()?.['parent'];return _0x1b7ea3?.['is']('$text')&&(_0x1b7ea3=_0x1b7ea3['parent']),_0x1b7ea3?.['is']('element')?_0x1b7ea3['findAncestor']($):null;},'positions':[_0x305ee8['southArrowNorth'],_0x305ee8['southArrowNorthMiddleWest'],_0x305ee8['southArrowNorthMiddleEast'],_0x305ee8['southArrowNorthWest'],_0x305ee8['southArrowNorthEast'],_0x305ee8['northArrowSouth'],_0x305ee8['northArrowSouthMiddleWest'],_0x305ee8['northArrowSouthMiddleEast'],_0x305ee8['northArrowSouthWest'],_0x305ee8['northArrowSouthEast'],_0x305ee8['viewportStickyNorth']]});}}class ft extends _0xeb7666{static get['pluginName'](){return'FootnotesProperties';}static get['requires'](){return[P,j];}static get['isOfficialPlugin'](){return!0x0;}static get['isPremiumPlugin'](){return!0x0;}}export{lt as Footnotes,e as FootnotesClipboard,r as FootnotesEditing,ft as FootnotesProperties,P as FootnotesPropertiesEditing,j as FootnotesPropertiesUI,C as FootnotesStartCommand,S as FootnotesStyleCommand,f as FootnotesTracker,i as FootnotesUI,m as InsertFootnoteCommand};
23
+ import{Plugin as _0x2e1d26,Command as _0x43786c}from'@ckeditor/ckeditor5-core/dist/index.js';import{toWidget as _0x4e379c,isWidget as _0x25bf72,toWidgetEditable as _0x1ff871,WidgetToolbarRepository as _0x2994d7}from'@ckeditor/ckeditor5-widget/dist/index.js';import{uid as _0x1d035b,logWarning as _0x3db33e,FocusTracker as ot,KeystrokeHandler as rt,global as nt}from'@ckeditor/ckeditor5-utils/dist/index.js';import{PointerObserver as _0x7a0c6f,ClickObserver as _0x12e1af}from'@ckeditor/ckeditor5-engine/dist/index.js';import{ClipboardPipeline as _0x1815bd}from'@ckeditor/ckeditor5-clipboard/dist/index.js';import{MenuBarMenuListItemButtonView as _0x9714a,ButtonView as _0x31da72,View as _0x22dafb,ViewCollection as _0x589ea8,FocusCycler as _0x328ca3,addKeyboardHandlingForGrid as tt,CollapsibleView as st,LabeledFieldView as it,createLabeledInputNumber as et,ContextualBalloon as _0x579298,BalloonPanelView as _0x1d2395,createDropdown as _0x13246a}from'@ckeditor/ckeditor5-ui/dist/index.js';import{IconFootnote as _0x1f13ef,IconListStyleDecimal as _0x39352c,IconListStyleDecimalLeadingZero as _0x5498d7,IconListStyleLowerRoman as _0x94ed4e,IconListStyleUpperRoman as _0x57d357,IconListStyleLowerLatin as _0xbbf0ef,IconListStyleUpperLatin as _0x2961e4}from'@ckeditor/ckeditor5-icons/dist/index.js';class F{['_model'];['_elementName'];['_getElementKey'];['_trackedElements']=new Map();constructor(_0x270c27,_0x5e7b3a){this['_model']=_0x270c27,this['_elementName']=_0x5e7b3a['elementName'],this['_getElementKey']=_0x5e7b3a['getElementKey'];}['reset'](){this['_trackedElements']['clear']();}['getChanges'](_0xc613ae){const _0x180b51=new Set(),_0x2f3ab1=new Map();for(const _0xa62b45 of _0xc613ae){if('insert'===_0xa62b45['type']&&'$text'!==_0xa62b45['name']&&_0xa62b45['position']['nodeAfter']){const _0x128760=this['_model']['createRangeOn'](_0xa62b45['position']['nodeAfter']);for(const _0x1db912 of _0x128760['getItems']()){if(!_0x1db912['is']('element',this['_elementName']))continue;const _0x42213b=this['_getElementKey'](_0x1db912);_0x2f3ab1['has'](_0x42213b)||_0x2f3ab1['set'](_0x42213b,[]),_0x2f3ab1['get'](_0x42213b)['push'](_0x1db912);}}if('remove'===_0xa62b45['type']&&_0xa62b45['name']===this['_elementName']){const _0x471164=this['_getElementKey']({'getAttribute':_0x2a28f1=>_0xa62b45['attributes']['get'](_0x2a28f1)});_0x180b51['add'](_0x471164);}}for(const [_0x4bde7c,_0x37a327]of this['_trackedElements'])'$graveyard'===_0x37a327['root']['rootName']&&_0x180b51['add'](_0x4bde7c);for(const _0x57a465 of _0x180b51)this['_trackedElements']['delete'](_0x57a465);for(const [_0x54693f,_0x4e0a4c]of _0x2f3ab1)this['_trackedElements']['set'](_0x54693f,_0x4e0a4c[_0x4e0a4c['length']-0x1]);const _0x1da9bd=new Set();for(const [_0x1f7b3b,_0x34ca9f]of _0x2f3ab1)_0x180b51['has'](_0x1f7b3b)&&(_0x1da9bd['add'](_0x34ca9f[0x0]),_0x34ca9f['length']>0x1?_0x2f3ab1['set'](_0x1f7b3b,_0x34ca9f['slice'](0x1)):_0x2f3ab1['delete'](_0x1f7b3b),_0x180b51['delete'](_0x1f7b3b));return{'removed':Array['from'](_0x180b51),'inserted':Array['from'](_0x2f3ab1['values']())['flat'](),'moved':Array['from'](_0x1da9bd)};}}class f extends _0x2e1d26{['_footnotes']=[];['_footnotesDefinitions']=null;['_footnoteFormatter']=null;['_footnoteDefsContainerTracker'];['_footnoteRefsTracker'];['_footnoteDefsTracker'];static get['pluginName'](){return'FootnotesTracker';}static get['isOfficialPlugin'](){return!0x0;}static get['isPremiumPlugin'](){return!0x0;}constructor(_0x2ab6bc){super(_0x2ab6bc),this['_footnoteDefsContainerTracker']=new F(this['editor']['model'],{'elementName':'footnotesDefinitions','getElementKey':()=>'singleton'}),this['_footnoteRefsTracker']=new F(this['editor']['model'],{'elementName':'footnoteRef','getElementKey':_0x3e2a81=>_0x3e2a81['getAttribute']('footnoteId')}),this['_footnoteDefsTracker']=new F(this['editor']['model'],{'elementName':'footnoteDefinition','getElementKey':_0x60e0a2=>_0x60e0a2['getAttribute']('footnoteId')});}['init'](){const {editor:_0xc79207}=this,{model:_0x3ae91f,data:_0x3ea187}=_0xc79207;_0x3ae91f['document']['registerPostFixer'](_0x232afb=>{const _0x58dcc7=_0x3ae91f['document']['differ']['getChanges']();let _0x48322b=!0x1;return this['_handleFootnotesDefinitionsObjectChanges'](_0x232afb,_0x58dcc7)&&(_0x48322b=!0x0),this['_handleFootnoteDefinitionsChanges'](_0x232afb,_0x58dcc7)&&(_0x48322b=!0x0),this['_handleFootnoteReferencesChanges'](_0x232afb,_0x58dcc7)&&(_0x48322b=!0x0),this['_ensureFootnotesReferencesHaveProperOrder'](_0x232afb)&&(_0x48322b=!0x0),this['_handleFootnotesDefinitionsObjectSync'](_0x232afb)&&(_0x48322b=!0x0),this['_sortFootnoteDefinitions'](_0x232afb)&&(_0x48322b=!0x0),_0x48322b;}),this['listenTo'](_0x3ae91f['document'],'change:data',()=>{_0x3ae91f['enqueueChange']({'isUndoable':!0x1},_0x4eed55=>{this['_ensureFootnotesDefinitionsContainerExists'](_0x4eed55);});},{'priority':'low'}),this['listenTo'](_0x3ea187,'set',()=>{this['_footnotes']=[],this['_footnoteDefsContainerTracker']['reset'](),this['_footnoteRefsTracker']['reset'](),this['_footnoteDefsTracker']['reset']();},{'priority':'high'});}['getFootnotesDefinitionsObjectElement'](){return this['_footnotesDefinitions'];}['getFootnote'](_0x583353){return this['_footnotes']['find'](_0x2886e6=>_0x2886e6['id']===_0x583353)||null;}['getFootnotes'](){return Array['from'](this['_footnotes']);}['getFootnotesFormatter'](){return this['_footnoteFormatter'];}['setFootnoteFormatter'](_0x4ec1ba){this['_footnoteFormatter']=_0x4ec1ba;}['_updateFootnotesCounters'](_0x17e7c0,_0x55fc7b=0x0){let _0x187008=!0x1;for(let _0x3e623b=_0x55fc7b;_0x3e623b<this['_footnotes']['length'];_0x3e623b++)this['_updateFootnoteRefCounter'](_0x17e7c0,_0x3e623b)&&(_0x187008=!0x0);return _0x187008;}['_insertEmptyFootnotesDefinitionsContainer'](_0x1a40a8,_0x3a9a40){const _0x4d06af=_0x1a40a8['createElement']('footnotesDefinitions',{});return _0x1a40a8['append'](_0x4d06af,_0x3a9a40),this['_footnotesDefinitions']=_0x4d06af,_0x4d06af;}['_ensureFootnotesDefinitionsContainerExists'](_0x12155f){if(!this['_footnotes']['length']||this['_footnotesDefinitions'])return;const _0x312a00=this['_footnotes'][0x0]['reference']['root'],_0x2c31a2=this['_insertEmptyFootnotesDefinitionsContainer'](_0x12155f,_0x312a00);for(const _0x3a376e of this['_footnotes'])_0x3a376e['definition']['parent']||_0x12155f['insert'](_0x3a376e['definition'],_0x2c31a2,'end');this['_updateFootnotesCounters'](_0x12155f);}['_handleFootnotesDefinitionsObjectChanges'](_0x42c6f2,_0x3acb78){let _0x5d0e31=!0x1;const {inserted:_0x1a7c49,removed:_0x5c4765,moved:_0x1c2906}=this['_footnoteDefsContainerTracker']['getChanges'](_0x3acb78);if(_0x1c2906['length']&&(this['_footnotesDefinitions']=_0x1c2906[0x0]),_0x1a7c49['length']){if(_0x1a7c49['length']>0x1||this['_footnotesDefinitions']&&_0x1a7c49['some'](_0x583df7=>_0x583df7!==this['_footnotesDefinitions'])){const _0x16d421=_0x42c6f2['createElement']('footnotesDefinitions',{}),_0x4d654c=[];this['_footnotesDefinitions']&&_0x4d654c['push'](this['_footnotesDefinitions']),_0x4d654c['push'](..._0x1a7c49),_0x42c6f2['insert'](_0x16d421,_0x4d654c[0x0],'before');for(const _0x4ecc71 of _0x4d654c)_0x42c6f2['move'](_0x42c6f2['createRangeIn'](_0x4ecc71),_0x42c6f2['createPositionAt'](_0x16d421,'end')),_0x42c6f2['remove'](_0x4ecc71);this['_footnotesDefinitions']=_0x16d421,this['_updateFootnotesCounters'](_0x42c6f2),_0x5d0e31=!0x0;}else this['_footnotesDefinitions']=_0x1a7c49[0x0];}if(_0x5c4765['length']&&'$graveyard'===this['_footnotesDefinitions']?.['root']['rootName']){for(const _0x1f6b89 of this['_footnotes'])_0x42c6f2['remove'](_0x1f6b89['reference']),_0x5d0e31=!0x0;this['_footnotes']=[],this['_footnotesDefinitions']=null;}return _0x5d0e31;}['_handleFootnoteDefinitionsChanges'](_0x37937a,_0x1a1a31){let _0x42b959=!0x1;const _0x53cbfc=this['editor']['config']['get']('footnotes.multiBlock'),{inserted:_0x8cd57d,moved:_0x55259f}=this['_footnoteDefsTracker']['getChanges'](_0x1a1a31);for(const _0x29a6fa of[..._0x55259f,..._0x8cd57d]){const _0x4c6fdb=_0x29a6fa['getAttribute']('footnoteId'),_0x2b1dbc=this['getFootnote'](_0x4c6fdb);_0x2b1dbc&&(_0x2b1dbc['definition']=_0x29a6fa),_(_0x37937a,_0x53cbfc,_0x29a6fa)&&(_0x42b959=!0x0);}return _0x42b959;}['_handleFootnoteReferencesChanges'](_0x2d1e05,_0x43b531){let _0x2cee73=!0x1;const {removed:_0x2b361e,inserted:_0x6e0486,moved:_0x138994}=this['_footnoteRefsTracker']['getChanges'](_0x43b531);for(const _0x26358f of _0x2b361e)this['_handleRemoveFootnoteReferenceById'](_0x2d1e05,_0x26358f)&&(_0x2cee73=!0x0);for(const _0x2c6fb1 of _0x6e0486)this['_handleInsertedFootnoteReference'](_0x2d1e05,_0x2c6fb1)&&(_0x2cee73=!0x0);for(const _0x29a19b of _0x138994)this['_handleMovedFootnoteReference'](_0x2d1e05,_0x29a19b)&&(_0x2cee73=!0x0);return _0x2cee73;}['_handleFootnotesDefinitionsObjectSync'](_0x3593e7){if(!this['_footnotesDefinitions'])return!0x1;let _0x4ab875=!0x1;if(this['_footnotesDefinitions']['childCount']!==this['_footnotes']['length']){const _0x3804cc=[];for(const _0x38e3e7 of this['_footnotesDefinitions']['getChildren']()){const _0x124e04=_0x38e3e7['getAttribute']('footnoteId');this['getFootnote'](_0x124e04)||(_0x3804cc['unshift'](_0x38e3e7),_0x4ab875=!0x0);}for(const _0x5db43c of _0x3804cc)_0x3593e7['remove'](_0x5db43c);}const _0x11330e=new Set(),_0x4c7035=[];for(const _0xcc25c of this['_footnotesDefinitions']['getChildren']()){const _0x3fd58f=_0xcc25c['getAttribute']('footnoteId');_0x11330e['has'](_0x3fd58f)?(_0x4c7035['unshift'](_0xcc25c),_0x4ab875=!0x0):_0x11330e['add'](_0x3fd58f);}for(const _0xfe93d6 of _0x4c7035)_0x3593e7['remove'](_0xfe93d6);return this['_footnotesDefinitions']['childCount']||(_0x3593e7['remove'](this['_footnotesDefinitions']),this['_footnotesDefinitions']=null,_0x4ab875=!0x0),_0x4ab875;}['_handleInsertedFootnoteReference'](_0x5aebae,_0x4e866e){if(this['_footnotes']['find'](_0x4e0cc0=>_0x4e0cc0['reference']===_0x4e866e))return!0x1;let _0x16f98c=!0x1;const _0x4ef2f2=_0x4e866e['getAttribute']('footnoteId'),_0x406ae1=this['_footnotes']['findIndex'](_0x23ef16=>_0x23ef16['id']===_0x4ef2f2);-0x1!==_0x406ae1&&(_0x5aebae['remove'](this['_footnotes'][_0x406ae1]['reference']),this['_footnotes']['splice'](_0x406ae1,0x1),_0x16f98c=!0x0);let _0x1bb7e0=this['_footnotesDefinitions']?function(_0xe8b53b,_0x1db7bb){for(const _0x4890e7 of _0xe8b53b['getChildren']())if(_0x4890e7['getAttribute']('footnoteId')===_0x1db7bb)return _0x4890e7;return null;}(this['_footnotesDefinitions'],_0x4ef2f2):null;_0x1bb7e0||(_0x1bb7e0=_0x5aebae['createElement']('footnoteDefinition',{'footnoteId':_0x4ef2f2}),this['_footnotesDefinitions']&&(_0x5aebae['insert'](_0x1bb7e0,this['_footnotesDefinitions'],'end'),_0x16f98c=!0x0));const _0xe6694f={'id':_0x4ef2f2,'reference':_0x4e866e,'definition':_0x1bb7e0},_0x23f4e4=I(this['editor']['model'],this['_footnotes'],_0x4e866e);this['_footnotes']['splice'](_0x23f4e4,0x0,_0xe6694f);let _0x2b6ed7=_0x23f4e4;return-0x1!==_0x406ae1&&(_0x2b6ed7=Math['min'](_0x23f4e4,_0x406ae1)),this['_updateFootnotesCounters'](_0x5aebae,_0x2b6ed7)&&(_0x16f98c=!0x0),_0x16f98c;}['_handleRemoveFootnoteReferenceById'](_0x2f74ea,_0x560ad1){const _0x214b08=this['_footnotes']['findIndex'](_0x233c59=>_0x233c59['id']===_0x560ad1);if(-0x1===_0x214b08)return!0x1;let _0x8364b=!0x1;const _0x2b1337=this['_footnotes'][_0x214b08];return'$graveyard'!==_0x2b1337['definition']['root']['rootName']&&(_0x2f74ea['remove'](_0x2b1337['definition']),_0x8364b=!0x0),this['_footnotes']['splice'](_0x214b08,0x1),this['_updateFootnotesCounters'](_0x2f74ea,_0x214b08)&&(_0x8364b=!0x0),_0x8364b;}['_handleMovedFootnoteReference'](_0x4877f0,_0x1ec8da){const _0x448fd5=_0x1ec8da['getAttribute']('footnoteId'),_0x2e95ef=this['_footnotes']['findIndex'](_0x1bd331=>_0x1bd331['id']===_0x448fd5),_0x196612=this['_footnotes'][_0x2e95ef];let _0x576b12=!0x1;_0x196612['reference']=_0x1ec8da,this['_footnotes']['splice'](_0x2e95ef,0x1);const _0x543c17=I(this['editor']['model'],this['_footnotes'],_0x1ec8da);return this['_footnotes']['splice'](_0x543c17,0x0,_0x196612),this['_updateFootnotesCounters'](_0x4877f0,Math['min'](_0x2e95ef,_0x543c17))&&(_0x576b12=!0x0),_0x576b12;}['_updateFootnoteRefCounter'](_0x1c9eb2,_0x35161a){if(!this['_footnotesDefinitions'])return!0x1;const _0x5ebbdd=this['_footnotes'][_0x35161a];let _0x22bb08;return _0x22bb08=this['_footnoteFormatter']?this['_footnoteFormatter']({'footnote':_0x5ebbdd,'container':this['_footnotesDefinitions'],'digits':String(this['_footnotes']['length'])['length'],'value':_0x35161a+0x1}):String(_0x35161a+0x1),_0x5ebbdd['reference']['getAttribute']('footnoteCounter')!=_0x22bb08&&(_0x1c9eb2['setAttribute']('footnoteCounter',_0x22bb08,_0x5ebbdd['reference']),!0x0);}['_sortFootnoteDefinitions'](_0x2c835a){if(!this['_footnotesDefinitions']||this['_footnotes']['length']<0x2)return!0x1;if(function(_0x24fb8e,_0xdfc7d6){if(_0x24fb8e['length']!==_0xdfc7d6['length'])return!0x1;for(let _0x56ba08=0x0;_0x56ba08<_0x24fb8e['length'];_0x56ba08++)if(_0x24fb8e[_0x56ba08]!==_0xdfc7d6[_0x56ba08])return!0x1;return!0x0;}(this['_footnotes']['map'](_0x3e756a=>_0x3e756a['id']),Array['from'](this['_footnotesDefinitions']['getChildren']())['map'](_0x14024c=>_0x14024c['getAttribute']('footnoteId'))))return!0x1;let _0x29f372=!0x1;for(let _0x3e8d04=0x0;_0x3e8d04<this['_footnotes']['length'];_0x3e8d04++){const _0x3986dc=this['_footnotes'][_0x3e8d04],_0xf1e003=_0x2c835a['createPositionBefore'](_0x3986dc['definition']),_0x1db709=_0x2c835a['createPositionAt'](this['_footnotesDefinitions'],_0x3e8d04);_0xf1e003['isEqual'](_0x1db709)||(_0x2c835a['move'](_0x2c835a['createRangeOn'](_0x3986dc['definition']),_0x1db709),_0x29f372=!0x0);}return _0x29f372;}['_ensureFootnotesReferencesHaveProperOrder'](_0xcf401){if(!this['_footnotes']['length'])return!0x1;const {model:_0x92fabe}=this['editor'];let _0x41d07b=!0x1;for(let _0xfc6d93=0x0;_0xfc6d93<this['_footnotes']['length']-0x1;_0xfc6d93++){const _0x512fbe=this['_footnotes'][_0xfc6d93],_0x950a22=this['_footnotes'][_0xfc6d93+0x1],_0x404688=_0x92fabe['createPositionBefore'](_0x512fbe['reference']),_0x579b5a=_0x92fabe['createPositionBefore'](_0x950a22['reference']);'after'===_0x404688['compareWith'](_0x579b5a)&&(this['_handleMovedFootnoteReference'](_0xcf401,_0x512fbe['reference']),_0xfc6d93=-0x1,_0x41d07b=!0x0);}return _0x41d07b;}}function _(_0x5540e4,_0xf6c334,_0x460561){if(_0x460561['childCount'])return!0x1;const _0x13b57b=_0xf6c334?'paragraph':'footnoteInlineContent';return _0x5540e4['insert'](_0x5540e4['createElement'](_0x13b57b),_0x460561),!0x0;}function I(_0x222dfc,_0x4a01e4,_0x43a518){if(0x0===_0x4a01e4['length'])return 0x0;const _0x270b6e=_0x222dfc['createPositionBefore'](_0x43a518);for(let _0x445714=0x0;_0x445714<_0x4a01e4['length'];_0x445714++){const _0x39b64b=_0x4a01e4[_0x445714],_0x488bf5=_0x222dfc['createPositionBefore'](_0x39b64b['reference']);if('before'===_0x270b6e['compareWith'](_0x488bf5))return _0x445714;}const _0x5f36b8=_0x43a518['root'];let _0x3121b0=-0x1;for(let _0x1dc3b9=_0x4a01e4['length']-0x1;_0x1dc3b9>=0x0;_0x1dc3b9--)if(_0x4a01e4[_0x1dc3b9]['reference']['root']===_0x5f36b8){_0x3121b0=_0x1dc3b9;break;}if(-0x1!==_0x3121b0)return _0x3121b0+0x1;const _0x4f9276=_0x222dfc['document']['getRootNames'](),_0x2ce1bc=_0x4f9276['indexOf'](_0x5f36b8['rootName']),_0x437c92=_0x4f9276[_0x2ce1bc+0x1];if(_0x437c92){for(let _0x570432=0x0;_0x570432<_0x4a01e4['length'];_0x570432++)if(_0x4a01e4[_0x570432]['reference']['root']['rootName']===_0x437c92)return _0x570432;}return _0x4a01e4['length'];}class m extends _0x43786c{['refresh'](){const _0x4494c8=this['editor']['model']['document']['selection'],_0x435e54=this['_getPositionToInsertFootnote'](_0x4494c8);this['isEnabled']=!!_0x435e54;}['execute'](_0x5f228a){const {editor:_0x26e2e2}=this,{model:_0x33e06c}=_0x26e2e2,{selection:_0x55fa55}=_0x33e06c['document'],_0x42699f=this['_getPositionToInsertFootnote'](_0x55fa55);if(!_0x42699f)return;const _0xfc3337=_0x26e2e2['plugins']['get']('FootnotesEditing'),_0x3412cb=_0x5f228a?.['footnoteId']??_0x1d035b();!function(_0x37f187){return'string'==typeof _0x37f187&&_0x37f187['length']>0x0&&!/\s/['test'](_0x37f187)&&!/^\d/['test'](_0x37f187);}(_0x3412cb)?_0x3db33e('insert-footnote-command-executed-with-invalid-id'):(_0x33e06c['change'](_0x20b065=>{const _0x2daff2=_0x20b065['createElement']('footnoteRef',{'footnoteId':_0x3412cb});_0x33e06c['insertObject'](_0x2daff2,_0x42699f,null);}),_0xfc3337['_moveSelectionToFootnoteDefinition'](_0x3412cb));}['_getPositionToInsertFootnote'](_0x1b4a83){const {model:_0x3bc2dd}=this['editor'],{schema:_0x2118f6}=_0x3bc2dd,_0xb0792e=_0x1b4a83['getFirstRange']();for(const _0x451fb4 of _0xb0792e['getItems']())if(_0x2118f6['isBlock'](_0x451fb4)||_0x2118f6['isObject'](_0x451fb4))return null;const _0x57856a=_0xb0792e['end'];return _0x2118f6['checkChild'](_0x57856a,'footnoteRef')?_0x57856a:null;}}class r extends _0x2e1d26{static get['pluginName'](){return'FootnotesEditing';}static get['requires'](){return[f];}static get['isOfficialPlugin'](){return!0x0;}static get['isPremiumPlugin'](){return!0x0;}['init'](){const {editor:_0x105a80}=this;_0x105a80['config']['define']('footnotes.multiBlock',!0x0),_0x105a80['commands']['add']('insertFootnote',new m(_0x105a80)),this['_defineSchema'](),this['_defineRefsConverters'](),this['_defineDefinitionsConverters'](),this['_defineDefinitionConverters'](),this['_defineBogusParagraphConverters'](),this['_defineKeyboardHandlers'](),this['_defineClickHandlers']();}['afterInit'](){!async function(_0x58785f){const _0x44b716=_0x157e90([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]),_0x182b9e=0x47a28506,_0x196c96=0x47a5fe6e^_0x182b9e,_0x4bc567=window[_0x157e90([0x44,0x61,0x74,0x65])][_0x157e90([0x6e,0x6f,0x77])](),_0x5a9140=_0x58785f[_0x157e90([0x65,0x64,0x69,0x74,0x6f,0x72])],_0x38bba3=new window[(_0x157e90([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0x30c75e=>{_0x5a9140[_0x157e90([0x6f,0x6e,0x63,0x65])](_0x157e90([0x72,0x65,0x61,0x64,0x79]),_0x30c75e);}),_0x29938b={[_0x157e90([0x6b,0x74,0x79])]:_0x157e90([0x45,0x43]),[_0x157e90([0x75,0x73,0x65])]:_0x157e90([0x73,0x69,0x67]),[_0x157e90([0x63,0x72,0x76])]:_0x157e90([0x50,0x2d,0x32,0x35,0x36]),[_0x157e90([0x78])]:_0x157e90([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]),[_0x157e90([0x79])]:_0x157e90([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]),[_0x157e90([0x61,0x6c,0x67])]:_0x157e90([0x45,0x53,0x32,0x35,0x36])},_0x4ba1fd=_0x5a9140[_0x157e90([0x63,0x6f,0x6e,0x66,0x69,0x67])][_0x157e90([0x67,0x65,0x74])](_0x157e90([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x4b,0x65,0x79]));async function _0x143ddd(){let _0x3c1da2,_0x5752e=null,_0xbb2200=null;try{if(_0x4ba1fd==_0x157e90([0x47,0x50,0x4c]))return _0x157e90([0x4e,0x6f,0x74,0x41,0x6c,0x6c,0x6f,0x77,0x65,0x64]);if(_0x3c1da2=_0x1f7cec(),!_0x3c1da2)return _0x157e90([0x49,0x6e,0x76,0x61,0x6c,0x69,0x64]);return _0x3c1da2[_0x157e90([0x75,0x73,0x61,0x67,0x65,0x45,0x6e,0x64,0x70,0x6f,0x69,0x6e,0x74])]&&(_0xbb2200=_0x1c2154(_0x3c1da2[_0x157e90([0x75,0x73,0x61,0x67,0x65,0x45,0x6e,0x64,0x70,0x6f,0x69,0x6e,0x74])],_0x3c1da2[_0x157e90([0x6a,0x74,0x69])])),await _0x147dd4()?_0x37b9bc()?_0x2a813b()?_0x157e90([0x45,0x78,0x70,0x69,0x72,0x65,0x64]):_0x286edc()?(_0x3c1da2[_0x157e90([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x54,0x79,0x70,0x65])]==_0x157e90([0x65,0x76,0x61,0x6c,0x75,0x61,0x74,0x69,0x6f,0x6e])&&(_0x5752e=_0x59a985(_0x157e90([0x45,0x76,0x61,0x6c,0x75,0x61,0x74,0x69,0x6f,0x6e,0x4c,0x69,0x6d,0x69,0x74]))),_0x3c1da2[_0x157e90([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x54,0x79,0x70,0x65])]==_0x157e90([0x74,0x72,0x69,0x61,0x6c])&&(_0x5752e=_0x59a985(_0x157e90([0x54,0x72,0x69,0x61,0x6c,0x4c,0x69,0x6d,0x69,0x74]))),await _0xf7cd73()):_0x157e90([0x44,0x6f,0x6d,0x61,0x69,0x6e,0x4c,0x69,0x6d,0x69,0x74]):_0x157e90([0x4e,0x6f,0x74,0x41,0x6c,0x6c,0x6f,0x77,0x65,0x64]):_0x157e90([0x49,0x6e,0x76,0x61,0x6c,0x69,0x64]);}catch{return _0x157e90([0x49,0x6e,0x76,0x61,0x6c,0x69,0x64]);}function _0x2a813b(){const _0x32294a=[_0x157e90([0x65,0x76,0x61,0x6c,0x75,0x61,0x74,0x69,0x6f,0x6e]),_0x157e90([0x74,0x72,0x69,0x61,0x6c])][_0x157e90([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x3c1da2[_0x157e90([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x54,0x79,0x70,0x65])])?_0x4bc567/0x3e8:0xe10*_0x196c96;return _0x3c1da2[_0x157e90([0x65,0x78,0x70])]<_0x32294a;}function _0x37b9bc(){const _0x402b53=_0x3c1da2[_0x157e90([0x66,0x65,0x61,0x74,0x75,0x72,0x65,0x73])];return!!_0x402b53&&(!!_0x402b53[_0x157e90([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x157e90([0x2a]))||!!_0x402b53[_0x157e90([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x157e90([0x46,0x4f,0x4f])));}function _0x286edc(){const _0x413d83=_0x3c1da2[_0x157e90([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x64,0x48,0x6f,0x73,0x74,0x73])];if(!_0x413d83||0x0==_0x413d83[_0x157e90([0x6c,0x65,0x6e,0x67,0x74,0x68])])return!0x0;const {hostname:_0x19b2bb}=new URL(window[_0x157e90([0x6c,0x6f,0x63,0x61,0x74,0x69,0x6f,0x6e])]['href']);if(_0x413d83[_0x157e90([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x19b2bb))return!0x0;const _0x40c9f5=_0x19b2bb[_0x157e90([0x73,0x70,0x6c,0x69,0x74])](_0x157e90([0x2e]));return _0x413d83[_0x157e90([0x66,0x69,0x6c,0x74,0x65,0x72])](_0x5854de=>_0x5854de[_0x157e90([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x157e90([0x2a])))[_0x157e90([0x6d,0x61,0x70])](_0x33340e=>_0x33340e[_0x157e90([0x73,0x70,0x6c,0x69,0x74])](_0x157e90([0x2e])))[_0x157e90([0x66,0x69,0x6c,0x74,0x65,0x72])](_0x253943=>_0x253943[_0x157e90([0x6c,0x65,0x6e,0x67,0x74,0x68])]<=_0x40c9f5[_0x157e90([0x6c,0x65,0x6e,0x67,0x74,0x68])])[_0x157e90([0x6d,0x61,0x70])](_0x38ce01=>Array(_0x40c9f5[_0x157e90([0x6c,0x65,0x6e,0x67,0x74,0x68])]-_0x38ce01[_0x157e90([0x6c,0x65,0x6e,0x67,0x74,0x68])])[_0x157e90([0x66,0x69,0x6c,0x6c])](_0x38ce01[0x0]===_0x157e90([0x2a])?_0x157e90([0x2a]):'')[_0x157e90([0x63,0x6f,0x6e,0x63,0x61,0x74])](_0x38ce01))[_0x157e90([0x73,0x6f,0x6d,0x65])](_0x27b14e=>_0x40c9f5[_0x157e90([0x65,0x76,0x65,0x72,0x79])]((_0x1567a9,_0xc7f617)=>_0x27b14e[_0xc7f617]===_0x1567a9||_0x27b14e[_0xc7f617]===_0x157e90([0x2a])));}function _0xf7cd73(){return _0x5752e&&_0xbb2200?new window[(_0x157e90([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))]((_0x368a68,_0x3ac4fe)=>{_0x5752e[_0x157e90([0x74,0x68,0x65,0x6e])](_0x368a68,_0x3ac4fe),_0xbb2200[_0x157e90([0x74,0x68,0x65,0x6e])](_0x5efa1b=>{_0x5efa1b!=_0x157e90([0x56,0x61,0x6c,0x69,0x64])&&_0x368a68(_0x5efa1b);},_0x3ac4fe);}):_0x5752e||_0xbb2200||_0x157e90([0x56,0x61,0x6c,0x69,0x64]);}}function _0x1c2154(_0x24d7ed,_0x547dbe){return new window[(_0x157e90([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0x1b02bc=>{if(_0x22b0d6())return _0x1b02bc(_0x157e90([0x56,0x61,0x6c,0x69,0x64]));_0x2ce1fb(),_0x5a9140[_0x157e90([0x64,0x65,0x63,0x6f,0x72,0x61,0x74,0x65])](_0x157e90([0x5f,0x73,0x65,0x6e,0x64,0x55,0x73,0x61,0x67,0x65,0x52,0x65,0x71,0x75,0x65,0x73,0x74]));let _0xb34a99=!0x1;const _0xa887=_0x1d035b();function _0x11242b(_0x328fd5){return!!_0x328fd5&&(typeof _0x328fd5===_0x157e90([0x6f,0x62,0x6a,0x65,0x63,0x74])||typeof _0x328fd5===_0x157e90([0x66,0x75,0x6e,0x63,0x74,0x69,0x6f,0x6e]))&&typeof _0x328fd5[_0x157e90([0x74,0x68,0x65,0x6e])]===_0x157e90([0x66,0x75,0x6e,0x63,0x74,0x69,0x6f,0x6e])&&typeof _0x328fd5[_0x157e90([0x63,0x61,0x74,0x63,0x68])]===_0x157e90([0x66,0x75,0x6e,0x63,0x74,0x69,0x6f,0x6e]);}function _0x3a1f1a(_0x2d1b8f){_0x3f9a02(_0x2d1b8f)[_0x157e90([0x74,0x68,0x65,0x6e])](_0x7888e0=>{if(!_0x7888e0||_0x7888e0[_0x157e90([0x73,0x74,0x61,0x74,0x75,0x73])]!=_0x157e90([0x6f,0x6b]))return _0x157e90([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]);return _0x42a5ac(_0x3b077d(_0xa887+_0x547dbe))!=_0x7888e0[_0x157e90([0x76,0x65,0x72,0x69,0x66,0x69,0x63,0x61,0x74,0x69,0x6f,0x6e])]?_0x157e90([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]):_0x157e90([0x56,0x61,0x6c,0x69,0x64]);})[_0x157e90([0x74,0x68,0x65,0x6e])](_0x3fdb37=>(_0x3c3d66(),_0x3fdb37),()=>{const _0x5c5b83=_0x15f58e();return null==_0x5c5b83?(_0x3c3d66(),_0x157e90([0x56,0x61,0x6c,0x69,0x64])):_0x157e90(_0x4bc567-_0x5c5b83>(0x63ae0106^_0x182b9e)?[0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]:[0x56,0x61,0x6c,0x69,0x64]);})[_0x157e90([0x74,0x68,0x65,0x6e])](_0x1b02bc)[_0x157e90([0x63,0x61,0x74,0x63,0x68])](()=>{_0x1b02bc(_0x157e90([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]));});const _0x33b76a=0x47946b86^_0x182b9e;function _0x3c3d66(){const _0x4a24b6=_0x157e90([0x6c,0x6c,0x63,0x74,0x2d])+_0x42a5ac(_0x3b077d(_0x24d7ed)),_0xda8530=_0x5c9b1e(_0x42a5ac(window[_0x157e90([0x4d,0x61,0x74,0x68])][_0x157e90([0x63,0x65,0x69,0x6c])](_0x4bc567/_0x33b76a)));window[_0x157e90([0x6c,0x6f,0x63,0x61,0x6c,0x53,0x74,0x6f,0x72,0x61,0x67,0x65])][_0x157e90([0x73,0x65,0x74,0x49,0x74,0x65,0x6d])](_0x4a24b6,_0xda8530);}function _0x15f58e(){const _0x50d83b=_0x157e90([0x6c,0x6c,0x63,0x74,0x2d])+_0x42a5ac(_0x3b077d(_0x24d7ed)),_0x3c776c=window[_0x157e90([0x6c,0x6f,0x63,0x61,0x6c,0x53,0x74,0x6f,0x72,0x61,0x67,0x65])][_0x157e90([0x67,0x65,0x74,0x49,0x74,0x65,0x6d])](_0x50d83b);return _0x3c776c?window[_0x157e90([0x70,0x61,0x72,0x73,0x65,0x49,0x6e,0x74])](_0x5c9b1e(_0x3c776c),0x10)*_0x33b76a:null;}function _0x3f9a02(_0x399403){return new window[(_0x157e90([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))]((_0x4bc07b,_0x568ece)=>{_0x399403[_0x157e90([0x74,0x68,0x65,0x6e])](_0x4bc07b,_0x568ece),window[_0x157e90([0x73,0x65,0x74,0x54,0x69,0x6d,0x65,0x6f,0x75,0x74])](_0x568ece,0x47a351c6^_0x182b9e);});}}_0x5a9140[_0x157e90([0x6f,0x6e])](_0x157e90([0x5f,0x73,0x65,0x6e,0x64,0x55,0x73,0x61,0x67,0x65,0x52,0x65,0x71,0x75,0x65,0x73,0x74]),(_0x29a579,_0x3bac00)=>{if(_0x3bac00[0x0]!=_0x24d7ed)return _0x1b02bc(_0x157e90([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]));_0x3bac00[0x1]={..._0x3bac00[0x1],[_0x157e90([0x72,0x65,0x71,0x75,0x65,0x73,0x74,0x49,0x64])]:_0xa887};},{[_0x157e90([0x70,0x72,0x69,0x6f,0x72,0x69,0x74,0x79])]:_0x157e90([0x68,0x69,0x67,0x68])}),_0x5a9140[_0x157e90([0x6f,0x6e])](_0x157e90([0x5f,0x73,0x65,0x6e,0x64,0x55,0x73,0x61,0x67,0x65,0x52,0x65,0x71,0x75,0x65,0x73,0x74]),_0x4635fe=>{_0x11242b(_0x4635fe[_0x157e90([0x72,0x65,0x74,0x75,0x72,0x6e])])&&(_0xb34a99=!0x0,_0x3a1f1a(_0x4635fe[_0x157e90([0x72,0x65,0x74,0x75,0x72,0x6e])]));},{[_0x157e90([0x70,0x72,0x69,0x6f,0x72,0x69,0x74,0x79])]:_0x157e90([0x6c,0x6f,0x77])}),_0x38bba3[_0x157e90([0x74,0x68,0x65,0x6e])](()=>{_0xb34a99||_0x1b02bc(_0x157e90([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]));});});function _0x22b0d6(){return _0x5a9140[_0x157e90([0x65,0x64,0x69,0x74,0x69,0x6e,0x67])][_0x157e90([0x76,0x69,0x65,0x77])][_0x157e90([0x5f,0x6f,0x76,0x65,0x72,0x6c,0x61,0x79,0x4d,0x6f,0x64,0x65,0x48,0x69,0x6e,0x74])]==_0x157e90([0x61,0x75,0x74,0x6f]);}function _0x2ce1fb(){_0x5a9140[_0x157e90([0x65,0x64,0x69,0x74,0x69,0x6e,0x67])][_0x157e90([0x76,0x69,0x65,0x77])][_0x157e90([0x5f,0x6f,0x76,0x65,0x72,0x6c,0x61,0x79,0x4d,0x6f,0x64,0x65,0x48,0x69,0x6e,0x74])]=_0x157e90([0x61,0x75,0x74,0x6f]);}}function _0x59a985(_0x55c56b){const _0x2b9b7f=[new window[(_0x157e90([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0x4802e9=>setTimeout(_0x4802e9,0x47abbbca^_0x182b9e)),_0x38bba3[_0x157e90([0x74,0x68,0x65,0x6e])](()=>new window[(_0x157e90([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0x30e630=>{let _0x46d1aa=0x0;_0x5a9140[_0x157e90([0x6d,0x6f,0x64,0x65,0x6c])][_0x157e90([0x6f,0x6e])](_0x157e90([0x61,0x70,0x70,0x6c,0x79,0x4f,0x70,0x65,0x72,0x61,0x74,0x69,0x6f,0x6e]),(_0xd934ac,_0x292153)=>{_0x292153[0x0][_0x157e90([0x69,0x73,0x44,0x6f,0x63,0x75,0x6d,0x65,0x6e,0x74,0x4f,0x70,0x65,0x72,0x61,0x74,0x69,0x6f,0x6e])]&&_0x46d1aa++,_0x46d1aa==(0x47a284fe^_0x182b9e)&&(_0x30e630(),_0xd934ac[_0x157e90([0x6f,0x66,0x66])]());});}))];return window[_0x157e90([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65])][_0x157e90([0x72,0x61,0x63,0x65])](_0x2b9b7f)[_0x157e90([0x74,0x68,0x65,0x6e])](()=>_0x55c56b);}async function _0x38be89(){await _0x38bba3,_0x5a9140[_0x157e90([0x6d,0x6f,0x64,0x65,0x6c])][_0x157e90([0x63,0x68,0x61,0x6e,0x67,0x65])]=_0x40d234,_0x5a9140[_0x157e90([0x6d,0x6f,0x64,0x65,0x6c])][_0x157e90([0x65,0x6e,0x71,0x75,0x65,0x75,0x65,0x43,0x68,0x61,0x6e,0x67,0x65])]=_0x40d234,_0x5a9140[_0x157e90([0x65,0x6e,0x61,0x62,0x6c,0x65,0x52,0x65,0x61,0x64,0x4f,0x6e,0x6c,0x79,0x4d,0x6f,0x64,0x65])](_0x157e90([0x6d,0x6f,0x64,0x65,0x6c]));}function _0x196463(_0x460583){const _0x3f3390=_0x56bcf4();_0x5a9140[_0x3f3390]=_0x157e90([0x66,0x6f,0x6f,0x74,0x6e,0x6f,0x74,0x65,0x73,0x4c,0x69,0x63,0x65,0x6e,0x73,0x65,0x4b,0x65,0x79])+_0x460583,_0x460583!=_0x157e90([0x56,0x61,0x6c,0x69,0x64])&&_0x38be89();}function _0x56bcf4(){const _0x27ed3c=window[_0x157e90([0x53,0x74,0x72,0x69,0x6e,0x67])](window[_0x157e90([0x70,0x65,0x72,0x66,0x6f,0x72,0x6d,0x61,0x6e,0x63,0x65])][_0x157e90([0x6e,0x6f,0x77])]())[_0x157e90([0x72,0x65,0x70,0x6c,0x61,0x63,0x65])](_0x157e90([0x2e]),'');let _0x2a5c6c=_0x157e90([0x75]);for(let _0x428446=0x0;_0x428446<_0x27ed3c[_0x157e90([0x6c,0x65,0x6e,0x67,0x74,0x68])];_0x428446+=0x2){let _0x473d8d=window[_0x157e90([0x70,0x61,0x72,0x73,0x65,0x49,0x6e,0x74])](_0x27ed3c[_0x157e90([0x73,0x75,0x62,0x73,0x74,0x72,0x69,0x6e,0x67])](_0x428446,_0x428446+0x2));_0x473d8d>=_0x44b716[_0x157e90([0x6c,0x65,0x6e,0x67,0x74,0x68])]&&(_0x473d8d-=_0x44b716[_0x157e90([0x6c,0x65,0x6e,0x67,0x74,0x68])]),_0x2a5c6c+=_0x44b716[_0x473d8d];}return _0x2a5c6c;}function _0x1f7cec(){const _0x1b6648=_0x4ba1fd[_0x157e90([0x73,0x70,0x6c,0x69,0x74])](_0x157e90([0x2e]));if(0x3!=_0x1b6648[_0x157e90([0x6c,0x65,0x6e,0x67,0x74,0x68])])return null;return _0x4ed49f(_0x1b6648[0x1]);function _0x4ed49f(_0x234d5e){const _0x220339=_0x22fbcc(_0x234d5e);return _0x220339&&_0x592c52()?_0x220339:null;function _0x592c52(){const _0x66d6ab=_0x220339[_0x157e90([0x6a,0x74,0x69])],_0x4debdb=window[_0x157e90([0x70,0x61,0x72,0x73,0x65,0x49,0x6e,0x74])](_0x66d6ab[_0x157e90([0x73,0x75,0x62,0x73,0x74,0x72,0x69,0x6e,0x67])](_0x66d6ab[_0x157e90([0x6c,0x65,0x6e,0x67,0x74,0x68])]-0x8),0x10),_0x2fae26={..._0x220339,[_0x157e90([0x6a,0x74,0x69])]:_0x66d6ab[_0x157e90([0x73,0x75,0x62,0x73,0x74,0x72,0x69,0x6e,0x67])](0x0,_0x66d6ab[_0x157e90([0x6c,0x65,0x6e,0x67,0x74,0x68])]-0x8)};return delete _0x2fae26[_0x157e90([0x76,0x63])],_0x3b077d(_0x2fae26)==_0x4debdb;}}}async function _0x147dd4(){let _0xeb7772=!0x0;try{const _0x57bce3=_0x4ba1fd[_0x157e90([0x73,0x70,0x6c,0x69,0x74])](_0x157e90([0x2e])),[_0x41ef03,_0x35b43c,_0x1827f9]=_0x57bce3;return _0x5df3f0(_0x41ef03),await _0x2a9f16(_0x41ef03,_0x35b43c,_0x1827f9),_0xeb7772;}catch{return!0x1;}function _0x5df3f0(_0x441282){const _0x4948d5=_0x22fbcc(_0x441282);_0x4948d5&&_0x4948d5[_0x157e90([0x61,0x6c,0x67])]==_0x157e90([0x45,0x53,0x32,0x35,0x36])||(_0xeb7772=!0x1);}async function _0x2a9f16(_0x1264da,_0xeb3417,_0x4f842e){const _0xaad112=window[_0x157e90([0x55,0x69,0x6e,0x74,0x38,0x41,0x72,0x72,0x61,0x79])][_0x157e90([0x66,0x72,0x6f,0x6d])](_0x2387fa(_0x4f842e),_0x1efec5=>_0x1efec5[_0x157e90([0x63,0x68,0x61,0x72,0x43,0x6f,0x64,0x65,0x41,0x74])](0x0)),_0x2a402d=new window[(_0x157e90([0x54,0x65,0x78,0x74,0x45,0x6e,0x63,0x6f,0x64,0x65,0x72]))]()[_0x157e90([0x65,0x6e,0x63,0x6f,0x64,0x65])](_0x1264da+_0x157e90([0x2e])+_0xeb3417),_0x554468=window[_0x157e90([0x63,0x72,0x79,0x70,0x74,0x6f])][_0x157e90([0x73,0x75,0x62,0x74,0x6c,0x65])];if(!_0x554468)return;const _0x4ea1a8=await _0x554468[_0x157e90([0x69,0x6d,0x70,0x6f,0x72,0x74,0x4b,0x65,0x79])](_0x157e90([0x6a,0x77,0x6b]),_0x29938b,{[_0x157e90([0x6e,0x61,0x6d,0x65])]:_0x157e90([0x45,0x43,0x44,0x53,0x41]),[_0x157e90([0x6e,0x61,0x6d,0x65,0x64,0x43,0x75,0x72,0x76,0x65])]:_0x157e90([0x50,0x2d,0x32,0x35,0x36])},!0x1,[_0x157e90([0x76,0x65,0x72,0x69,0x66,0x79])]);await _0x554468[_0x157e90([0x76,0x65,0x72,0x69,0x66,0x79])]({[_0x157e90([0x6e,0x61,0x6d,0x65])]:_0x157e90([0x45,0x43,0x44,0x53,0x41]),[_0x157e90([0x68,0x61,0x73,0x68])]:{[_0x157e90([0x6e,0x61,0x6d,0x65])]:_0x157e90([0x53,0x48,0x41,0x2d,0x32,0x35,0x36])}},_0x4ea1a8,_0xaad112,_0x2a402d)||(_0xeb7772=!0x1);}}function _0x22fbcc(_0x4e6860){return _0x4e6860[_0x157e90([0x73,0x74,0x61,0x72,0x74,0x73,0x57,0x69,0x74,0x68])](_0x157e90([0x65,0x79]))?JSON[_0x157e90([0x70,0x61,0x72,0x73,0x65])](_0x2387fa(_0x4e6860)):null;}function _0x2387fa(_0x35ce57){return window[_0x157e90([0x61,0x74,0x6f,0x62])](_0x35ce57[_0x157e90([0x72,0x65,0x70,0x6c,0x61,0x63,0x65])](/-/g,_0x157e90([0x2b]))[_0x157e90([0x72,0x65,0x70,0x6c,0x61,0x63,0x65])](/_/g,_0x157e90([0x2f])));}function _0x3b077d(_0x50fc58){let _0x4cc133=0x1505;function _0x5ab1d1(_0x28fbe5){for(let _0x30a032=0x0;_0x30a032<_0x28fbe5[_0x157e90([0x6c,0x65,0x6e,0x67,0x74,0x68])];_0x30a032++){const _0x53cad3=_0x28fbe5[_0x157e90([0x63,0x68,0x61,0x72,0x43,0x6f,0x64,0x65,0x41,0x74])](_0x30a032);_0x4cc133=(_0x4cc133<<0x5)+_0x4cc133+_0x53cad3,_0x4cc133&=_0x4cc133;}}function _0x2e2eb5(_0x468f0a){Array[_0x157e90([0x69,0x73,0x41,0x72,0x72,0x61,0x79])](_0x468f0a)?_0x468f0a[_0x157e90([0x66,0x6f,0x72,0x45,0x61,0x63,0x68])](_0x2e2eb5):_0x468f0a&&typeof _0x468f0a==_0x157e90([0x6f,0x62,0x6a,0x65,0x63,0x74])?Object[_0x157e90([0x65,0x6e,0x74,0x72,0x69,0x65,0x73])](_0x468f0a)[_0x157e90([0x73,0x6f,0x72,0x74])]()[_0x157e90([0x66,0x6f,0x72,0x45,0x61,0x63,0x68])](([_0x55d2fa,_0x19b499])=>{_0x5ab1d1(_0x55d2fa),_0x2e2eb5(_0x19b499);}):_0x5ab1d1(window[_0x157e90([0x53,0x74,0x72,0x69,0x6e,0x67])](_0x468f0a));}return _0x2e2eb5(_0x50fc58),_0x4cc133>>>0x0;}function _0x42a5ac(_0x7cd555){return _0x7cd555[_0x157e90([0x74,0x6f,0x53,0x74,0x72,0x69,0x6e,0x67])](0x10)[_0x157e90([0x70,0x61,0x64,0x53,0x74,0x61,0x72,0x74])](0x8,_0x157e90([0x30]));}function _0x5c9b1e(_0x3baf07){return _0x3baf07[_0x157e90([0x73,0x70,0x6c,0x69,0x74])]('')[_0x157e90([0x72,0x65,0x76,0x65,0x72,0x73,0x65])]()[_0x157e90([0x6a,0x6f,0x69,0x6e])]('');}function _0x40d234(){}function _0x157e90(_0x2b02e3){return _0x2b02e3['map'](_0x3dd307=>String['fromCharCode'](_0x3dd307))['join']('');}_0x196463(await _0x143ddd());}(this);}['_moveSelectionToFootnoteDefinition'](_0x344289){const {plugins:_0x244dc1,editing:_0x18855d,model:_0x1fc2a5}=this['editor'],_0x2b7982=_0x244dc1['get'](f)['getFootnote'](_0x344289);return!!_0x2b7982&&(_0x1fc2a5['change'](_0x4c7f39=>{_0x4c7f39['setSelection'](_0x4c7f39['createPositionAt'](_0x2b7982['definition'],'end'));}),_0x18855d['view']['scrollToTheSelection'](),!0x0);}['_moveSelectionToFootnoteReference'](_0x47953d){const {plugins:_0x1dff08,editing:_0x59624f,model:_0x5da4b4}=this['editor'],_0x138157=_0x1dff08['get'](f)['getFootnote'](_0x47953d);return!!_0x138157&&(_0x5da4b4['change'](_0x13e8cb=>{_0x13e8cb['setSelection'](_0x138157['reference'],'on');}),_0x59624f['view']['scrollToTheSelection'](),!0x0);}['_defineSchema'](){const {schema:_0x12e30f}=this['editor']['model'],_0x5003e2=this['editor']['config']['get']('footnotes.multiBlock');_0x12e30f['register']('footnoteRef',{'inheritAllFrom':'$inlineObject','allowAttributes':['footnoteId','footnoteCounter']}),_0x12e30f['register']('footnotesDefinitions',{'inheritAllFrom':'$blockObject','allowChildren':['footnoteDefinition']}),_0x12e30f['register']('footnoteDefinition',{'allowAttributes':['footnoteId'],'disallowAttributes':['listItemId'],'isLimit':!0x0}),_0x5003e2?_0x12e30f['extend']('footnoteDefinition',{'allowContentOf':'$container'}):_0x12e30f['register']('footnoteInlineContent',{'allowIn':'footnoteDefinition','allowContentOf':'$block','isLimit':!0x0}),_0x12e30f['addChildCheck'](_0x56bcd8=>{for(const _0x43f1f3 of _0x56bcd8)if('footnoteDefinition'===_0x43f1f3['name'])return!0x1;},'footnoteRef');}['_defineRefsConverters'](){const {editor:_0x2c9008}=this,{conversion:_0x38a7d5,editing:_0x29c2ba}=_0x2c9008,{t:t}=_0x2c9008['locale'];_0x38a7d5['for']('upcast')['elementToElement']({'view':{'name':'sup','classes':'footnote'},'model':(_0x5d270e,{writer:_0x1f59ff,consumable:_0x4cf112})=>{const _0x2a50b2=_0x5d270e['getChild'](0x0);if(!_0x2a50b2||!_0x2a50b2['is']('element','a'))return null;const _0x3ad8d0=_0x2a50b2['getAttribute']('href')||'';if(!_0x3ad8d0['startsWith']('#'))return null;const _0x2541f3=_0x3ad8d0['replace'](/^#/,'');if(!_0x2541f3)return null;_0x4cf112['consume'](_0x2a50b2,{'name':!0x0,'attributes':['href']});for(const {item:_0x5bd33a}of _0x29c2ba['view']['createRangeIn'](_0x2a50b2))_0x5bd33a['is']('$textProxy')?_0x4cf112['consume'](_0x5bd33a['textNode'],{'name':!0x0}):_0x5bd33a['is']('element')&&_0x4cf112['consume'](_0x5bd33a,{'name':!0x0});return _0x1f59ff['createElement']('footnoteRef',{'footnoteId':_0x2541f3});}}),_0x38a7d5['for']('dataDowncast')['elementToElement']({'model':{'name':'footnoteRef','attributes':['footnoteId','footnoteCounter']},'view':(_0x310201,{writer:_0x18071c})=>D(_0x310201,_0x18071c)}),_0x38a7d5['for']('editingDowncast')['elementToElement']({'model':{'name':'footnoteRef','attributes':['footnoteId','footnoteCounter']},'view':(_0x107c8b,{writer:_0x3a5f53})=>{const _0x33e1d3=_0x107c8b['getAttribute']('footnoteCounter');return _0x4e379c(D(_0x107c8b,_0x3a5f53),_0x3a5f53,{'label':t('Footnote\x20%0.\x20Press\x20ENTER\x20to\x20jump\x20to\x20footnote\x20definition.',_0x33e1d3)});}});}['_defineDefinitionsConverters'](){const {editor:_0x30f8cb}=this,{t:t}=_0x30f8cb['locale'],{conversion:_0x510d4a}=_0x30f8cb;_0x510d4a['for']('upcast')['elementToElement']({'view':{'name':'div','classes':'footnotes'},'model':'footnotesDefinitions'}),_0x510d4a['for']('upcast')['add'](_0x4fe11d=>{_0x4fe11d['on']('element:ol',(_0x4b356d,_0x7fbad,_0x90f293)=>{const _0x24991a=_0x7fbad['viewItem'];if(!_0x24991a['hasClass']('footnotes-list')||!_0x7fbad['modelCursor']['parent']?.['is']('element','footnotesDefinitions'))return;if(!_0x90f293['consumable']['consume'](_0x24991a,{'name':!0x0,'classes':'footnotes-list'}))return;const {modelRange:_0x20f729,modelCursor:_0x30b4e9}=_0x90f293['convertChildren'](_0x7fbad['viewItem'],_0x7fbad['modelCursor']);_0x7fbad['modelRange']=_0x20f729,_0x7fbad['modelCursor']=_0x30b4e9;}),_0x4fe11d['on']('element:hr',(_0x3670ce,_0x6c70f8,_0x5b03bc)=>{const _0x39ae16=_0x6c70f8['viewItem'];_0x39ae16['hasClass']('footnotes-divider')&&_0x6c70f8['modelCursor']['parent']?.['is']('element','footnotesDefinitions')&&_0x5b03bc['consumable']['consume'](_0x39ae16,{'name':!0x0,'classes':'footnotes-divider'});});}),_0x510d4a['for']('dataDowncast')['elementToStructure']({'model':'footnotesDefinitions','view':(_0x4cc1b3,{writer:_0x25badc})=>v(_0x25badc)}),_0x510d4a['for']('editingDowncast')['elementToStructure']({'model':'footnotesDefinitions','view':(_0x3a800b,{writer:_0x4c3a41})=>{const _0x3e4302=v(_0x4c3a41,{'data-footnotes-list-label':t('Footnotes')}),_0x1dfd59=_0x4e379c(_0x3e4302,_0x4c3a41,{'hasSelectionHandle':!0x0,'label':t('Footnotes')});return _0x4c3a41['setCustomProperty']('footnotesDefinitions',!0x0,_0x1dfd59),_0x1dfd59;}});}['_defineDefinitionConverters'](){const {editor:_0x295fb5}=this,{conversion:_0x1a8d6e,locale:_0x1fd0de}=_0x295fb5,_0x5e9a24=_0x295fb5['config']['get']('footnotes.multiBlock');_0x1a8d6e['for']('upcast')['add'](_0xd3e766=>{_0xd3e766['on']('element:li',(_0x3e3980,_0x459d3a,_0xa3e9e9)=>{const _0x186956=_0x459d3a['viewItem'];if(!_0x186956['hasClass']('footnote-definition')||!_0x186956['getAttribute']('id'))return;const _0x27b10c=_0x186956['parent'];if(!_0x27b10c['is']('element','ol')||!_0x27b10c['hasClass']('footnotes-list'))return;if(!_0xa3e9e9['consumable']['test'](_0x186956,{'name':!0x0,'attributes':'id','classes':'footnote-definition'}))return;const _0x5da241=_0xa3e9e9['writer']['createElement']('footnoteDefinition',{'footnoteId':_0x186956['getAttribute']('id')});if(!_0xa3e9e9['safeInsert'](_0x5da241,_0x459d3a['modelCursor']))return;_0xa3e9e9['consumable']['consume'](_0x186956,{'name':!0x0,'attributes':'id','classes':'footnote-definition'});const _0x27c22a=Array['from'](_0x186956['getChildren']())['find'](_0x12f30c=>_0x12f30c['is']('element')&&_0x12f30c['hasClass']('footnote-content'));for(const _0x2575cc of _0x186956['getChildren']())_0x2575cc['is']('element')&&(_0xa3e9e9['consumable']['consume'](_0x2575cc,{'name':!0x0,'classes':'footnote-backlink','attributes':'href'}),_0xa3e9e9['consumable']['consume'](_0x2575cc,{'name':!0x0,'classes':'footnote-content'}));if(_0x27c22a){if(_0x5e9a24)_0xa3e9e9['convertChildren'](_0x27c22a,_0x5da241);else{const _0x53ba80=_0xa3e9e9['writer']['createElement']('footnoteInlineContent');_0xa3e9e9['writer']['insert'](_0x53ba80,_0x5da241),_0xa3e9e9['convertChildren'](_0x27c22a,_0x53ba80);}}_0xa3e9e9['updateConversionResult'](_0x5da241,_0x459d3a);});}),_0x1a8d6e['for']('dataDowncast')['elementToStructure']({'model':{'name':'footnoteDefinition','attributes':['footnoteId']},'view':(_0x29755f,{writer:_0x1cd6e5})=>b(_0x29755f,_0x1cd6e5,_0x1fd0de,{'dataPipeline':!0x0})}),_0x1a8d6e['for']('editingDowncast')['elementToStructure']({'model':{'name':'footnoteDefinition','attributes':['footnoteId']},'view':(_0x4d1609,{writer:_0x2de264})=>b(_0x4d1609,_0x2de264,_0x1fd0de)});}['_defineBogusParagraphConverters'](){const {editor:_0xa3acbe}=this,{conversion:_0x4f2146}=_0xa3acbe;_0xa3acbe['config']['get']('footnotes.multiBlock')?(_0x4f2146['for']('editingDowncast')['elementToElement']({'model':'paragraph','view':h(),'converterPriority':'high'}),_0x4f2146['for']('dataDowncast')['elementToElement']({'model':'paragraph','view':h({'dataPipeline':!0x0}),'converterPriority':'high'}),this['listenTo'](_0xa3acbe['model']['document'],'change:data',()=>{!function(_0x5f45d9,_0x5c5c63){const _0x2dbff0=_0x5f45d9['document']['differ'],_0x9f9ba2=new Set();for(const _0x36752b of _0x2dbff0['getChanges']()){const _0xcaff80='attribute'==_0x36752b['type']?_0x36752b['range']['start']['parent']:_0x36752b['position']['parent'];_0xcaff80['is']('element','footnoteDefinition')&&_0x9f9ba2['add'](_0xcaff80);}for(const _0x30b0cb of _0x9f9ba2['values']()){const _0x29b928=Array['from'](_0x30b0cb['getChildren']())['filter'](_0x32f907=>g(_0x32f907,_0x5c5c63['mapper']));for(const _0x4eab18 of _0x29b928)_0x5c5c63['reconvertItem'](_0x4eab18);}}(_0xa3acbe['model'],_0xa3acbe['editing']);})):(_0x4f2146['for']('editingDowncast')['elementToElement']({'model':'footnoteInlineContent','view':h()}),_0x4f2146['for']('dataDowncast')['elementToElement']({'model':'footnoteInlineContent','view':(_0x11484d,{writer:_0x17f26a})=>{const _0x374def=_0x17f26a['createContainerElement']('span');return _0x17f26a['setCustomProperty']('dataPipeline:transparentRendering',!0x0,_0x374def),_0x374def;}}));}['_defineKeyboardHandlers'](){const {editor:_0x3836f0}=this,{editing:_0x1f7926,t:t}=_0x3836f0,_0x56b21a=_0x3836f0['model']['document']['selection'];_0x3836f0['keystrokes']['set']('Ctrl+Alt+F','insertFootnote'),_0x3836f0['accessibility']['addKeystrokeInfos']({'keystrokes':[{'label':t('Insert\x20footnote'),'keystroke':'Ctrl+Alt+F'}]}),this['listenTo'](_0x1f7926['view']['document'],'enter',(_0x28606d,_0x5a8fc7)=>{const _0x454a22=function(_0x3a01fd){const _0x15e2ea=_0x3a01fd['getSelectedElement']();if(_0x15e2ea?.['is']('element','footnoteRef'))return _0x15e2ea;return null;}(_0x56b21a);if(_0x454a22){const _0x254502=_0x454a22['getAttribute']('footnoteId');this['_moveSelectionToFootnoteDefinition'](_0x254502),_0x5a8fc7['preventDefault'](),_0x28606d['stop']();}},{'context':_0x25bf72});}['_defineClickHandlers'](){const {editor:_0x576bf6}=this,{editing:_0x551336}=_0x576bf6;_0x576bf6['editing']['view']['addObserver'](_0x7a0c6f),_0x576bf6['editing']['view']['addObserver'](_0x12e1af);let _0x20ce70=!0x1;this['listenTo'](_0x551336['view']['document'],'pointerdown',(_0x41fde0,_0x2f9d4e)=>{const {target:_0x3d8052}=_0x2f9d4e,_0x4525f3=_0x551336['view']['document']['selection'];_0x20ce70=!!(_0x3d8052?.['is']('element','a')&&_0x3d8052['parent']?.['is']('element','sup')&&_0x3d8052['parent']['hasClass']('footnote'))&&_0x4525f3['getSelectedElement']()===_0x3d8052['parent'];},{'priority':'high'}),this['listenTo'](_0x551336['view']['document'],'click',(_0x6b2ce5,_0x2795c1)=>{const {target:_0x1d6d5c}=_0x2795c1;if(!_0x1d6d5c?.['is']('element','a'))return;if(_0x1d6d5c['parent']?.['is']('element','sup')&&_0x1d6d5c['parent']['hasClass']('footnote')&&!_0x20ce70)return void _0x2795c1['preventDefault']();let _0x2e0ec4=_0x1d6d5c['getAttribute']('href');if(!_0x2e0ec4?.['startsWith']('#'))return;_0x2e0ec4=_0x2e0ec4['slice'](0x1);let _0x528aed=!0x1;(_0x2e0ec4['startsWith']('ref-')&&this['_moveSelectionToFootnoteReference'](_0x2e0ec4['slice'](0x4))||this['_moveSelectionToFootnoteDefinition'](_0x2e0ec4))&&(_0x528aed=!0x0),_0x528aed&&(_0x2795c1['preventDefault'](),_0x6b2ce5['stop']());},{'priority':'high','context':'$capture'});}}function h({dataPipeline:_0x4c0c58}={}){return(_0x114db7,{writer:_0x3a3910})=>{if(!p(_0x114db7))return null;if(!_0x4c0c58)return _0x3a3910['createContainerElement']('span',{'class':'ck-footnote-bogus-paragraph'});const _0xe4ce0c=_0x3a3910['createContainerElement']('p');return _0x3a3910['setCustomProperty']('dataPipeline:transparentRendering',!0x0,_0xe4ce0c),_0xe4ce0c;};}function p(_0x403453){const {parent:_0x1ff445}=_0x403453;if(!_0x1ff445?.['is']('element','footnoteDefinition'))return!0x1;if(0x1!=_0x1ff445['childCount'])return!0x1;for(const _0x5565d of _0x403453['getAttributeKeys']())if(!_0x5565d['startsWith']('selection:')&&'htmlEmptyBlock'!=_0x5565d)return!0x1;return!0x0;}function g(_0x39cf88,_0x212755){if(!_0x39cf88['is']('element','paragraph'))return!0x1;const _0x4a5229=_0x212755['toViewElement'](_0x39cf88);return!!_0x4a5229&&p(_0x39cf88)!==_0x4a5229['is']('element','span');}function J(_0x1e3d9c){return _0x25bf72(_0x1e3d9c)&&_0x1e3d9c['is']('containerElement')&&!!_0x1e3d9c['getCustomProperty']('footnotesDefinitions');}function v(_0x24a5a1,_0x27c17c={}){const _0x32be19=_0x24a5a1['createEmptyElement']('hr',{'class':'footnotes-divider'}),_0xc1377=_0x24a5a1['createContainerElement']('ol',{'class':'footnotes-list'},_0x24a5a1['createSlot']());return _0x24a5a1['createContainerElement']('div',{'class':'footnotes',..._0x27c17c},[_0x32be19,_0xc1377]);}function D(_0x4d999a,_0x541864){const _0x2e9abe=_0x4d999a['getAttribute']('footnoteId'),_0x2a31b7=_0x4d999a['getAttribute']('footnoteCounter'),_0x429bdd=_0x541864['createUIElement']('a',{'href':'#'+_0x2e9abe},function(_0x36f2ce){const _0x3bed2e=this['toDomElement'](_0x36f2ce);return _0x3bed2e['textContent']=_0x2a31b7,_0x3bed2e;}),_0x5a6eab=_0x541864['createContainerElement']('sup',{'id':'ref-'+_0x2e9abe,'class':'footnote'},[_0x429bdd]);return _0x5a6eab['getFillerOffset']=()=>null,_0x5a6eab;}function b(_0x3bcb45,_0x55fa43,_0x460f1b,{dataPipeline:_0x5345c0}={}){const {t:t}=_0x460f1b,_0x22630c=_0x3bcb45['getAttribute']('footnoteId'),_0x42630f=_0x55fa43['createUIElement']('a',{'class':'footnote-backlink','href':'#ref-'+_0x22630c},function(_0x123ffa){const _0x2694b9=this['toDomElement'](_0x123ffa);return _0x2694b9['innerText']='^',_0x2694b9;}),_0x45c6a5=_0x5345c0?_0x55fa43['createContainerElement']('div',{'class':'footnote-content'}):_0x1ff871(_0x55fa43['createEditableElement']('div',{'class':'footnote-content'}),_0x55fa43,{'label':t('Footnote\x20content.')});return _0x55fa43['insert'](_0x55fa43['createPositionAt'](_0x45c6a5,0x0),_0x55fa43['createSlot']()),_0x55fa43['createContainerElement']('li',{'class':'footnote-definition','id':_0x22630c},[_0x42630f,_0x45c6a5]);}class e extends _0x2e1d26{static get['pluginName'](){return'FootnotesClipboard';}static get['requires'](){return[r,_0x1815bd];}static get['isOfficialPlugin'](){return!0x0;}static get['isPremiumPlugin'](){return!0x0;}['init'](){this['_defineClipboardIntegration']();}['_defineClipboardIntegration'](){this['_handleCopyFootnotesDefinitions'](),this['_handlePasteFootnotesDefinitions']();}['_handleCopyFootnotesDefinitions'](){const {editor:_0xbe9403}=this,{plugins:_0xe65f8b,model:_0x196850}=_0xbe9403,_0x2688c3=_0xe65f8b['get'](_0x1815bd),_0x5a6d56=_0xe65f8b['get'](f);this['listenTo'](_0x2688c3,'outputTransformation',(_0x173af5,_0x5bd0dd)=>{const _0xdc58dd=c(_0x196850['createRangeIn'](_0x5bd0dd['content']));if(!_0xdc58dd['length'])return;const _0x3a1a27=_0x5a6d56['getFootnotes'](),_0x356ede=_0xdc58dd['reduce']((_0x34b607,_0xc53d3b)=>{const _0x441953=_0x3a1a27['find'](_0x4c186c=>_0x4c186c['id']===_0xc53d3b);if(_0x441953){const _0x5125f6=_0xbe9403['data']['toView'](_0x441953['definition'],{'isClipboardPipeline':!0x0}),_0x29e78a=_0xbe9403['data']['htmlProcessor']['toData'](_0x5125f6);_0x34b607[_0x441953['id']]=_0x29e78a;}return _0x34b607;},Object['create'](null));_0x5bd0dd['dataTransfer']['setData']('application/ckeditor5-footnotes',JSON['stringify'](_0x356ede));});}['_handlePasteFootnotesDefinitions'](){const {editor:_0x366403}=this,{model:_0x42dc8c,plugins:_0x2a67f7}=_0x366403,{view:_0x5ebaff}=_0x366403['editing'],_0xd1ff25=_0x2a67f7['get'](_0x1815bd),_0x485790=_0x2a67f7['get'](f),_0x4bc9da=_0x366403['config']['get']('footnotes.multiBlock');let _0x13047e=null;this['listenTo'](_0x5ebaff['document'],'clipboardInput',(_0x2d56f9,_0x288eae)=>{const _0x18bf6f=_0x288eae['dataTransfer']['getData']('application/ckeditor5-footnotes');_0x13047e=_0x18bf6f?JSON['parse'](_0x18bf6f):null;}),this['listenTo'](_0xd1ff25,'contentInsertion',(_0x18b252,_0x291746)=>{const _0x1facf7=_0x291746['sourceEditorId']===this['editor']['id'];_0x1facf7&&'drop'===_0x291746['method']||_0x42dc8c['change'](_0x183981=>{let _0x4e1a90=_0x485790['getFootnotesDefinitionsObjectElement']();const _0x2119d2=!!_0x4e1a90&&Array['from'](_0x42dc8c['document']['selection']['getSelectedBlocks']())['includes'](_0x4e1a90);if((_0x4e1a90&&!_0x2119d2||!_0x4e1a90&&!_0x13047e)&&function(_0x370b35,_0x1b5b20){const _0x244fcc=[];for(const {item:_0x185e7f}of _0x370b35['createRangeIn'](_0x1b5b20))_0x185e7f['is']('element','footnotesDefinitions')&&_0x244fcc['push'](_0x185e7f);for(const _0x27946a of _0x244fcc)_0x370b35['remove'](_0x27946a);}(_0x183981,_0x291746['content']),!_0x13047e)return;const {selection:_0x57ef08}=_0x42dc8c['document'],_0xf6809d=_0x57ef08['getFirstRange']()['root'];_0x4e1a90&&!_0x2119d2||(_0x4e1a90=function(_0x23950f,_0x2f9992){for(const {item:_0x1697f0}of _0x23950f['createRangeIn'](_0x2f9992))if(_0x1697f0['is']('element','footnotesDefinitions'))return _0x1697f0;return null;}(_0x183981,_0x291746['content']),_0x4e1a90||=_0x485790['_insertEmptyFootnotesDefinitionsContainer'](_0x183981,_0xf6809d));const _0x4d807e=Array['from'](_0x57ef08['getRanges']())['flatMap'](c),_0xcde8b6=function(_0x239874,_0x1bfa72,_0x474c22){const _0x52e06a=Object['create'](null);for(const {item:_0x9ebe6f}of _0x239874['createRangeIn'](_0x1bfa72))if(_0x9ebe6f['is']('element','footnoteRef')){const _0x440f98=_0x9ebe6f['getAttribute']('footnoteId');if(!_0x474c22(_0x440f98))continue;_0x52e06a[_0x440f98]||(_0x52e06a[_0x440f98]=_0x1d035b()),_0x239874['setAttribute']('footnoteId',_0x52e06a[_0x440f98],_0x9ebe6f);}return _0x52e06a;}(_0x183981,_0x291746['content'],_0x133923=>{if(!_0x1facf7)return!0x0;return!!_0x485790['getFootnote'](_0x133923)&&!_0x4d807e['includes'](_0x133923);});for(const [_0x34a34e,_0x466338]of Object['entries'](_0x13047e)){const _0x3ab7f7=_0xcde8b6[_0x34a34e]||_0x34a34e,_0x227fe7=_0x183981['createElement']('footnoteDefinition',{'footnoteId':_0x3ab7f7}),_0x389feb=_0x366403['data']['htmlProcessor']['toView'](_0x466338);let _0x359cda;if(_0x4bc9da)_0x359cda=_0x366403['data']['toModel'](_0x389feb,_0x227fe7);else{_0x359cda=_0x183981['createElement']('footnoteInlineContent');const _0x20c0c0=_0x366403['data']['toModel'](_0x389feb,_0x359cda);_0x183981['insert'](_0x20c0c0,_0x359cda);}_0x183981['append'](_0x359cda,_0x227fe7),_0x183981['insert'](_0x227fe7,_0x4e1a90,'end');}_0x13047e=null;});});}}function c(_0x2fa8ab){const _0x4a4d08=new Set();for(const {item:_0x363e33}of _0x2fa8ab)_0x363e33['is']('element','footnoteRef')&&_0x4a4d08['add'](_0x363e33['getAttribute']('footnoteId'));return Array['from'](_0x4a4d08);}class i extends _0x2e1d26{['licenseKey'];['_licenseKeyCheckInterval'];static get['pluginName'](){return'FootnotesUI';}static get['isOfficialPlugin'](){return!0x0;}static get['isPremiumPlugin'](){return!0x0;}['init'](){const {editor:_0x36be24}=this,{componentFactory:_0x47198a}=_0x36be24['ui'];_0x47198a['add']('insertFootnote',x(_0x36be24,_0x31da72)),_0x47198a['add']('menuBar:insertFootnote',x(_0x36be24,_0x9714a)),this['licenseKey']=this['editor']['config']['get']('licenseKey');const _0x10ad5d=this['editor'];this['_licenseKeyCheckInterval']=setInterval(()=>{let _0x3a23cd;for(const _0x5eb3bf in _0x10ad5d){const _0xced4e0=_0x5eb3bf,_0x29536b=_0x10ad5d[_0xced4e0];if('footnotesLicenseKeyValid'==_0x29536b||'footnotesLicenseKeyInvalid'==_0x29536b||'footnotesLicenseKeyExpired'==_0x29536b||'footnotesLicenseKeyDomainLimit'==_0x29536b||'footnotesLicenseKeyNotAllowed'==_0x29536b||'footnotesLicenseKeyEvaluationLimit'==_0x29536b||'footnotesLicenseKeyTrialLimit'==_0x29536b||'footnotesLicenseKeyUsageLimit'==_0x29536b){delete _0x10ad5d[_0xced4e0],_0x3a23cd=_0x29536b,clearInterval(this['_licenseKeyCheckInterval']),this['_licenseKeyCheckInterval']=void 0x0;break;}}'footnotesLicenseKeyInvalid'==_0x3a23cd&&_0x10ad5d['_showLicenseError']('invalid'),'footnotesLicenseKeyExpired'==_0x3a23cd&&_0x10ad5d['_showLicenseError']('expired'),'footnotesLicenseKeyDomainLimit'==_0x3a23cd&&_0x10ad5d['_showLicenseError']('domainLimit'),'footnotesLicenseKeyNotAllowed'==_0x3a23cd&&_0x10ad5d['_showLicenseError']('featureNotAllowed','Footnotes'),'footnotesLicenseKeyEvaluationLimit'==_0x3a23cd&&_0x10ad5d['_showLicenseError']('evaluationLimit'),'footnotesLicenseKeyTrialLimit'==_0x3a23cd&&_0x10ad5d['_showLicenseError']('trialLimit'),'footnotesLicenseKeyUsageLimit'==_0x3a23cd&&_0x10ad5d['_showLicenseError']('usageLimit');},0x3e8);}['destroy'](){super['destroy'](),this['_licenseKeyCheckInterval']&&clearInterval(this['_licenseKeyCheckInterval']);}}function x(_0x425d67,_0xa3cd7a){const _0x12a1e1=_0x425d67['commands']['get']('insertFootnote');return _0x9fd889=>{const {t:t}=_0x9fd889,_0x5b0604=new _0xa3cd7a(_0x9fd889),_0x335b08=_0x5b0604 instanceof _0x9714a;return _0x5b0604['bind']('isEnabled')['to'](_0x12a1e1,'isEnabled'),_0x5b0604['set']({'label':t(_0x335b08?'Footnote':'Insert\x20footnote'),'icon':_0x1f13ef,'tooltip':!0x0}),_0x5b0604['on']('execute',()=>{_0x12a1e1['execute'](),_0x425d67['editing']['view']['focus']();}),_0x5b0604;};}class lt extends _0x2e1d26{static get['pluginName'](){return'Footnotes';}static get['requires'](){return[r,e,i];}static get['isOfficialPlugin'](){return!0x0;}static get['isPremiumPlugin'](){return!0x0;}}const Q=['decimal','decimal-leading-zero','lower-latin','upper-latin','lower-alpha','upper-alpha','lower-roman','upper-roman'];class S extends _0x43786c{['refresh'](){const {editor:_0x3a70b6}=this,_0x2b955c=_0x3a70b6['plugins']['get'](f)['getFootnotesDefinitionsObjectElement']();this['isEnabled']=!!_0x2b955c,this['value']=_0x2b955c?.['getAttribute']('footnotesListStyle')??null;}['execute']({value:_0x5e7eaa}){const {editor:_0x5938c0}=this,_0x32f5d6=_0x5938c0['plugins']['get'](f),_0x533e10=_0x32f5d6['getFootnotesDefinitionsObjectElement']();_0x533e10&&Q['includes'](_0x5e7eaa)&&_0x5938c0['model']['change'](_0x1b30bf=>{_0x1b30bf['setAttribute']('footnotesListStyle',_0x5e7eaa,_0x533e10),_0x32f5d6['_updateFootnotesCounters'](_0x1b30bf);});}}class C extends _0x43786c{['refresh'](){const {editor:_0x11b92e}=this,_0x1e1f27=_0x11b92e['plugins']['get'](f)['getFootnotesDefinitionsObjectElement']();this['isEnabled']=!!_0x1e1f27,this['value']=_0x1e1f27?.['getAttribute']('footnotesListStart')??null;}['execute']({value:_0x42003a}){const {editor:_0x7c77bf}=this,_0x24c21e=_0x7c77bf['plugins']['get'](f),_0x5251a0=_0x24c21e['getFootnotesDefinitionsObjectElement']();_0x5251a0&&Number['isInteger'](_0x42003a)&&_0x7c77bf['model']['change'](_0x5e03a2=>{_0x5e03a2['setAttribute']('footnotesListStart',_0x42003a,_0x5251a0),_0x24c21e['_updateFootnotesCounters'](_0x5e03a2);});}}class P extends _0x2e1d26{static get['pluginName'](){return'FootnotesPropertiesEditing';}static get['requires'](){return[r,f];}static get['isOfficialPlugin'](){return!0x0;}static get['isPremiumPlugin'](){return!0x0;}['init'](){const {editor:_0x120b79}=this;_0x120b79['config']['define']('footnotes.footnotesProperties.defaultListStyle','decimal'),_0x120b79['config']['define']('footnotes.footnotesProperties.defaultStartIndex',0x1),_0x120b79['commands']['add']('footnotesStyle',new S(_0x120b79)),_0x120b79['commands']['add']('footnotesStart',new C(_0x120b79)),this['_defineSchema'](),this['_defineConverters'](),this['_defineFormatter'](),this['_definePostfixer']();}['_defineSchema'](){const {editor:_0x154c8e}=this,{schema:_0x25a24b}=_0x154c8e['model'];_0x25a24b['extend']('footnotesDefinitions',{'allowAttributes':['footnotesListStyle','footnotesListStart']});}['_defineConverters'](){const {editor:_0x4ff209}=this,{conversion:_0x5b9e95,model:_0x1861c2}=_0x4ff209,{schema:_0x587977}=_0x1861c2;_0x5b9e95['for']('upcast')['add'](_0x1bde04=>{_0x1bde04['on']('element:ol',(_0x547e40,_0x52f1de,_0x443332)=>{const _0x194b45=_0x52f1de['viewItem'],_0x5db76f=_0x52f1de['modelCursor']?.['parent'];_0x194b45['hasClass']('footnotes-list')&&_0x5db76f?.['is']('element','footnotesDefinitions')&&(function(_0x36dce7,_0x466f36,_0x203dc3,_0x50be51){if(!_0x50be51['checkAttribute'](_0x466f36,'footnotesListStart'))return;let _0x5b86e2=0x1;const _0x1cf4ea=_0x203dc3['consumable']['consume'](_0x36dce7,{'attributes':'start'});if(_0x1cf4ea){const _0x5f5a55=Number['parseInt'](_0x36dce7['getAttribute']('start'),0xa);Number['isNaN'](_0x5f5a55)||(_0x5b86e2=_0x5f5a55);}!_0x1cf4ea&&_0x466f36['hasAttribute']('footnotesListStart')||_0x203dc3['writer']['setAttribute']('footnotesListStart',_0x5b86e2,_0x466f36);}(_0x194b45,_0x5db76f,_0x443332,_0x587977),function(_0x4d05d8,_0xd5b817,_0x8f421f,_0x28b7f9){if(!_0x28b7f9['checkAttribute'](_0xd5b817,'footnotesListStyle'))return;let _0x363d3f='decimal',_0x54da9b=!0x1;if(_0x8f421f['consumable']['consume'](_0x4d05d8,{'attributes':'type'})){const _0x118a88={0x1:'decimal','a':'lower-alpha','A':'upper-alpha','i':'lower-roman','I':'upper-roman'}[_0x4d05d8['getAttribute']('type')];_0x118a88&&(_0x363d3f=_0x118a88),_0x54da9b=!0x0;}_0x8f421f['consumable']['consume'](_0x4d05d8,{'styles':'list-style-type'})&&(_0x363d3f=function(_0x4bd308){switch(_0x4bd308){case'lower-alpha':return'lower-latin';case'upper-alpha':return'upper-latin';default:return _0x4bd308;}}(_0x4d05d8['getStyle']('list-style-type')),_0x54da9b=!0x0),!_0x54da9b&&_0xd5b817['hasAttribute']('footnotesListStyle')||_0x8f421f['writer']['setAttribute']('footnotesListStyle',_0x363d3f,_0xd5b817);}(_0x194b45,_0x5db76f,_0x443332,_0x587977));});}),_0x5b9e95['for']('downcast')['add'](_0xd9e6b1=>{_0xd9e6b1['on']('attribute:footnotesListStart:footnotesDefinitions',(_0xee4db4,_0x5771c7,_0x2897f0)=>{if(!_0x2897f0['consumable']['consume'](_0x5771c7['item'],_0xee4db4['name']))return;const _0x26cff9=M(_0x5771c7['item'],_0x2897f0['mapper']),{attributeNewValue:_0x460754}=_0x5771c7;null==_0x460754||0x1===_0x460754?_0x2897f0['writer']['removeAttribute']('start',_0x26cff9):_0x2897f0['writer']['setAttribute']('start',String(_0x460754),_0x26cff9);}),_0xd9e6b1['on']('attribute:footnotesListStyle:footnotesDefinitions',(_0x492d68,_0x5b9192,_0x1fec34)=>{if(!_0x1fec34['consumable']['consume'](_0x5b9192['item'],_0x492d68['name']))return;const _0x360812=M(_0x5b9192['item'],_0x1fec34['mapper']),{attributeNewValue:_0x5de46f}=_0x5b9192;_0x5de46f&&'decimal'!==_0x5de46f?_0x1fec34['writer']['setStyle']('list-style-type',_0x5de46f,_0x360812):_0x1fec34['writer']['removeStyle']('list-style-type',_0x360812);});});}['_definePostfixer'](){const {editor:_0x28bab8}=this,{model:_0x19a498}=_0x28bab8,_0x52763b=_0x28bab8['plugins']['get'](f),_0x12bb76=this['_getDefaultListStyle'](),_0x569d8f=this['_getDefaultStartIndex']();_0x19a498['document']['registerPostFixer'](_0x428203=>{const _0x69015d=_0x19a498['document']['differ']['getChanges']();let _0x241446=!0x1;for(const _0x411a67 of _0x69015d){if('insert'!==_0x411a67['type']||'$text'===_0x411a67['name'])continue;const _0x16839d=_0x19a498['createRangeOn'](_0x411a67['position']['nodeAfter']);for(const _0x337263 of _0x16839d['getItems']())_0x337263['is']('element','footnotesDefinitions')&&(!_0x337263['hasAttribute']('footnotesListStart')&&_0x19a498['schema']['checkAttribute'](_0x337263,'footnotesListStart')&&(_0x428203['setAttribute']('footnotesListStart',_0x569d8f,_0x337263),_0x241446=!0x0),!_0x337263['hasAttribute']('footnotesListStyle')&&_0x19a498['schema']['checkAttribute'](_0x337263,'footnotesListStyle')&&(_0x428203['setAttribute']('footnotesListStyle',_0x12bb76,_0x337263),_0x241446=!0x0));}return _0x241446&&_0x52763b['_updateFootnotesCounters'](_0x428203),_0x241446;});}['_defineFormatter'](){const {editor:_0x3a5cb4}=this;_0x3a5cb4['plugins']['get'](f)['setFootnoteFormatter'](_0x21d3ea=>this['_formatFootnoteListValue'](_0x21d3ea));}['_getDefaultListStyle'](){return this['editor']['config']['get']('footnotes.footnotesProperties.defaultListStyle');}['_getDefaultStartIndex'](){return this['editor']['config']['get']('footnotes.footnotesProperties.defaultStartIndex');}['_formatFootnoteListValue']({container:_0x1b9bfb,value:_0x1a2e56,digits:_0x539738}){const _0x3bd2fa=_0x1b9bfb['getAttribute']('footnotesListStyle'),_0x9a281c=_0x1b9bfb['getAttribute']('footnotesListStart'),_0x55fe7=Math['floor'](_0x1a2e56)+(_0x9a281c??0x1)-0x1;switch(_0x3bd2fa){case'decimal-leading-zero':return function(_0x47fadb,_0x509f20){return String(_0x47fadb)['padStart'](_0x509f20,'0');}(_0x55fe7,Math['max'](0x2,_0x539738));case'lower-alpha':case'lower-latin':return N(_0x55fe7,!0x1);case'upper-alpha':case'upper-latin':return N(_0x55fe7,!0x0);case'lower-roman':return X(_0x55fe7,!0x1);case'upper-roman':return X(_0x55fe7,!0x0);default:return String(_0x55fe7);}}}function M(_0x3664d3,_0x4ebdfc){const _0x761719=_0x4ebdfc['toViewElement'](_0x3664d3);return Array['from'](_0x761719['getChildren']())['find'](_0x3f3366=>_0x3f3366['is']('element','ol')&&_0x3f3366['hasClass']('footnotes-list'));}function N(_0x396942,_0x338147){let _0x476d92='',_0x2a77bd=_0x396942;for(;_0x2a77bd>0x0;){const _0x30925a=(_0x2a77bd-0x1)%0x1a;_0x476d92=String['fromCharCode'](0x61+_0x30925a)+_0x476d92,_0x2a77bd=Math['floor']((_0x2a77bd-0x1)/0x1a);}return _0x338147?_0x476d92['toUpperCase']():_0x476d92;}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(_0x26e5b8,_0x35a903){let _0x228fb1='',_0x7d0d9e=_0x26e5b8;for(const {value:_0x4acf05,numeral:_0x4a45e1}of V)for(;_0x7d0d9e>=_0x4acf05;)_0x228fb1+=_0x4a45e1,_0x7d0d9e-=_0x4acf05;return _0x35a903?_0x228fb1:_0x228fb1['toLowerCase']();}class H extends _0x22dafb{['children'];['stylesView']=null;['additionalProperties']=null;['startIndexFieldView']=null;['focusTracker']=new ot();['keystrokes']=new rt();['focusables']=new _0x589ea8();['focusCycler'];constructor(_0x4478bb,{styleButtonViews:_0x17586e,styleGridAriaLabel:_0x5a88c4}){super(_0x4478bb),(this['focusCycler']=new _0x328ca3({'focusables':this['focusables'],'focusTracker':this['focusTracker'],'keystrokeHandler':this['keystrokes'],'actions':{'focusPrevious':'shift\x20+\x20tab','focusNext':'tab'}}),this['children']=this['createCollection'](),this['stylesView']=this['_appendStylesView'](_0x17586e,_0x5a88c4),[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 _0x1a4d55 of this['stylesView']['children'])this['stylesView']['focusTracker']['add'](_0x1a4d55['element']);tt({'keystrokeHandler':this['stylesView']['keystrokes'],'focusTracker':this['stylesView']['focusTracker'],'gridItems':this['stylesView']['children'],'numberOfColumns':()=>nt['window']['getComputedStyle'](this['stylesView']['element'])['getPropertyValue']('grid-template-columns')['split']('\x20')['length'],'uiLanguageDirection':this['locale']&&this['locale']['uiLanguageDirection']});}if(this['startIndexFieldView']){this['focusables']['add'](this['startIndexFieldView']),this['focusTracker']['add'](this['startIndexFieldView']['element']);const _0x3a419c=_0x2c9f84=>_0x2c9f84['stopPropagation']();this['keystrokes']['set']('arrowright',_0x3a419c),this['keystrokes']['set']('arrowleft',_0x3a419c),this['keystrokes']['set']('arrowup',_0x3a419c),this['keystrokes']['set']('arrowdown',_0x3a419c);}this['keystrokes']['listenTo'](this['element']);}['focus'](){this['focusCycler']['focusFirst']();}['focusLast'](){this['focusCycler']['focusLast']();}['destroy'](){super['destroy'](),this['focusTracker']['destroy'](),this['keystrokes']['destroy']();}['_appendStylesView'](_0x42d27b,_0x50630a){const _0x27886b=new _0x22dafb(this['locale']);return _0x27886b['children']=_0x27886b['createCollection'](),_0x27886b['children']['addMany'](_0x42d27b),_0x27886b['setTemplate']({'tag':'div','attributes':{'aria-label':_0x50630a,'class':['ck','ck-footnotes-definitions-styles-list']},'children':_0x27886b['children']}),_0x27886b['children']['delegate']('execute')['to'](this),_0x27886b['focus']=function(){for(const _0xe63a4a of this['children'])if(_0xe63a4a instanceof _0x31da72&&_0xe63a4a['isOn'])return void _0xe63a4a['focus']();this['children']['first']['focus']();},_0x27886b['focusTracker']=new ot(),_0x27886b['keystrokes']=new rt(),_0x27886b['render'](),_0x27886b['keystrokes']['listenTo'](_0x27886b['element']),this['children']['add'](_0x27886b),_0x27886b;}['_appendAdditionalPropertiesCollapsibleView'](){const {t:t}=this['locale'],_0x3b9951=this['_createStartIndexPropertyView'](),_0x16acc5=[_0x3b9951],_0x2143b0=new st(this['locale'],_0x16acc5);return _0x2143b0['set']({'label':t('Footnotes\x20properties'),'isCollapsed':!0x0}),_0x2143b0['buttonView']['bind']('isEnabled')['toMany'](_0x16acc5,'isEnabled',(..._0x46395b)=>_0x46395b['some'](_0x4f4a75=>_0x4f4a75)),_0x2143b0['buttonView']['on']('change:isEnabled',(_0x47cb69,_0x34d15a,_0x32fa3b)=>{_0x32fa3b||(_0x2143b0['isCollapsed']=!0x0);}),this['children']['add'](_0x2143b0),[_0x3b9951,_0x2143b0];}['_createStartIndexPropertyView'](){const {t:t}=this['locale'],_0x4d7754=new it(this['locale'],et);return _0x4d7754['set']({'label':t('Footnotes\x20start\x20at'),'class':'ck-footnotes-definitions-properties__start-index'}),_0x4d7754['fieldView']['set']({'min':0x0,'max':Math['pow'](0x2,0x1e),'step':0x1,'value':0x1,'inputMode':'numeric'}),_0x4d7754['fieldView']['on']('input',()=>{const _0x2f592d=_0x4d7754['fieldView']['element'],_0x432c03=_0x2f592d['valueAsNumber'];Number['isNaN'](_0x432c03)?_0x4d7754['errorText']=t('Invalid\x20footnotes\x20start\x20index\x20value.'):_0x2f592d['checkValidity']()?this['fire']('footnotesListStart',{'startIndex':_0x432c03}):_0x4d7754['errorText']=t(_0x432c03<0x0?'Footnotes\x20start\x20index\x20must\x20be\x20greater\x20than\x200.':'Footnotes\x20start\x20index\x20is\x20too\x20large.');}),_0x4d7754;}}class j extends _0x2e1d26{static get['pluginName'](){return'FootnotesPropertiesUI';}static get['requires'](){return[_0x579298,_0x2994d7];}static get['isOfficialPlugin'](){return!0x0;}static get['isPremiumPlugin'](){return!0x0;}['init'](){const {editor:_0x5f4a87}=this,{componentFactory:_0x32a4ce}=_0x5f4a87['ui'];_0x5f4a87['config']['define']('footnotes.footnotesProperties.toolbar',['footnotesStyle']),_0x32a4ce['add']('footnotesStyle',function(_0xc7843a){return _0x2cb748=>{const {t:t}=_0x2cb748,_0x1d34b8=_0xc7843a['commands']['get']('footnotesStyle'),_0x2d6b3e=_0x13246a(_0x2cb748),{buttonView:_0x10992a}=_0x2d6b3e;return _0x2d6b3e['class']='ck-footnotes-styles-dropdown',_0x2d6b3e['bind']('isEnabled')['to'](_0x1d34b8,'isEnabled'),_0x10992a['set']({'label':t('Footnotes\x20style'),'icon':_0x1f13ef,'tooltip':!0x0}),_0x2d6b3e['once']('change:isOpen',()=>{const _0x927912=function({editor:_0x332325,dropdownView:_0x45683d}){const {t:t}=_0x332325['locale'],_0x5a6ef5=t('Footnotes\x20definitions\x20styles'),_0x440dca=function(_0x3c838f){const t=_0x3c838f['locale']['t'],_0x467ad5=[{'label':t('Toggle\x20the\x20decimal\x20footnotes\x20style'),'tooltip':t('Decimal\x20footnotes'),'style':'decimal','icon':_0x39352c},{'label':t('Toggle\x20the\x20decimal\x20with\x20leading\x20zero\x20footnotes\x20style'),'tooltip':t('Decimal\x20footnotes\x20with\x20leading\x20zero'),'style':'decimal-leading-zero','icon':_0x5498d7},{'label':t('Toggle\x20the\x20lower–roman\x20footnotes\x20style'),'tooltip':t('Lower–roman\x20footnotes'),'style':'lower-roman','icon':_0x94ed4e},{'label':t('Toggle\x20the\x20upper–roman\x20footnotes\x20style'),'tooltip':t('Upper-roman\x20footnotes'),'style':'upper-roman','icon':_0x57d357},{'label':t('Toggle\x20the\x20lower–latin\x20footnotes\x20style'),'tooltip':t('Lower-latin\x20footnotes'),'style':'lower-latin','icon':_0xbbf0ef},{'label':t('Toggle\x20the\x20upper–latin\x20footnotes\x20style'),'tooltip':t('Upper-latin\x20footnotes'),'style':'upper-latin','icon':_0x2961e4}];return _0x467ad5['map'](function(_0x18c034){const _0x5dfd1e=_0x18c034['locale'];return({label:_0x5e72a9,icon:_0x20d1c9,tooltip:_0x26f293,style:_0x1c1a31})=>{const _0x53210e=_0x18c034['commands']['get']('footnotesStyle'),_0x3a388e=new _0x31da72(_0x5dfd1e);return _0x3a388e['set']({'label':_0x5e72a9,'icon':_0x20d1c9,'tooltip':_0x26f293}),_0x3a388e['bind']('isOn')['to'](_0x53210e,'value',_0x14c1a9=>_0x14c1a9===_0x1c1a31),_0x3a388e['bind']('isEnabled')['to'](_0x53210e,'isEnabled'),_0x3a388e['on']('execute',()=>{_0x18c034['execute']('footnotesStyle',{'value':_0x1c1a31}),_0x18c034['editing']['view']['focus']();}),_0x3a388e;};}(_0x3c838f));}(_0x332325),_0xe7e8f1=new H(_0x332325['locale'],{'styleGridAriaLabel':_0x5a6ef5,'styleButtonViews':_0x440dca}),_0x4febae=_0x332325['commands']['get']('footnotesStart');return _0xe7e8f1['startIndexFieldView']['bind']('isEnabled')['to'](_0x4febae),_0xe7e8f1['startIndexFieldView']['fieldView']['bind']('value')['to'](_0x4febae),_0xe7e8f1['on']('footnotesListStart',(_0x46e757,_0x27b182)=>{_0x332325['execute']('footnotesStart',{'value':_0x27b182['startIndex']});}),_0xe7e8f1['delegate']('execute')['to'](_0x45683d),_0xe7e8f1;}({'editor':_0xc7843a,'dropdownView':_0x2d6b3e});_0x2d6b3e['panelView']['children']['add'](_0x927912);}),_0x2d6b3e;};}(_0x5f4a87));}['afterInit'](){const {editor:_0x67877f}=this,{t:t}=_0x67877f['locale'],_0x1e0a9b=_0x67877f['plugins']['get'](_0x2994d7),{defaultPositions:_0x15be8a}=_0x1d2395;_0x1e0a9b['register']('footnotesDefinitions',{'ariaLabel':t('Footnotes\x20definitions\x20toolbar'),'items':_0x67877f['config']['get']('footnotes.footnotesProperties.toolbar'),'balloonClassName':'ck-footnotes-style-balloon\x20ck-toolbar-container','getRelatedElement':_0x42997e=>{let _0x3f9770=_0x42997e['getFirstPosition']()?.['parent'];return _0x3f9770?.['is']('$text')&&(_0x3f9770=_0x3f9770['parent']),_0x3f9770?.['is']('element')?_0x3f9770['findAncestor'](J):null;},'positions':[_0x15be8a['southArrowNorth'],_0x15be8a['southArrowNorthMiddleWest'],_0x15be8a['southArrowNorthMiddleEast'],_0x15be8a['southArrowNorthWest'],_0x15be8a['southArrowNorthEast'],_0x15be8a['northArrowSouth'],_0x15be8a['northArrowSouthMiddleWest'],_0x15be8a['northArrowSouthMiddleEast'],_0x15be8a['northArrowSouthWest'],_0x15be8a['northArrowSouthEast'],_0x15be8a['viewportStickyNorth']]});}}class ft extends _0x2e1d26{static get['pluginName'](){return'FootnotesProperties';}static get['requires'](){return[P,j];}static get['isOfficialPlugin'](){return!0x0;}static get['isPremiumPlugin'](){return!0x0;}}export{lt as Footnotes,e as FootnotesClipboard,r as FootnotesEditing,ft as FootnotesProperties,P as FootnotesPropertiesEditing,j as FootnotesPropertiesUI,C as FootnotesStartCommand,S as FootnotesStyleCommand,f as FootnotesTracker,i as FootnotesUI,m as InsertFootnoteCommand};
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- export default{'af':{'dictionary':{'Footnote':'','Footnotes':'','Footnotes\x20properties':'','Footnotes\x20start\x20at':'','Invalid\x20footnotes\x20start\x20index\x20value.':'','Footnotes\x20start\x20index\x20is\x20too\x20large.':'','Footnotes\x20start\x20index\x20must\x20be\x20greater\x20than\x200.':'','Footnote\x20%0.\x20Press\x20ENTER\x20to\x20jump\x20to\x20footnote\x20definition.':'','Footnote\x20content.':'','Footnotes\x20definitions\x20styles':'','Footnotes\x20definitions\x20toolbar':'','Insert\x20footnote':'','Footnotes\x20style':'','Toggle\x20the\x20decimal\x20footnotes\x20style':'','Decimal\x20footnotes':'','Toggle\x20the\x20decimal\x20with\x20leading\x20zero\x20footnotes\x20style':'','Decimal\x20footnotes\x20with\x20leading\x20zero':'','Lower–roman\x20footnotes':'','Upper-roman\x20footnotes':'','Lower-latin\x20footnotes':'','Upper-latin\x20footnotes':'','Toggle\x20the\x20lower–roman\x20footnotes\x20style':'','Toggle\x20the\x20upper–roman\x20footnotes\x20style':'','Toggle\x20the\x20lower–latin\x20footnotes\x20style':'','Toggle\x20the\x20upper–latin\x20footnotes\x20style':''},'getPluralForm':_0x2b3cd6=>0x1!=_0x2b3cd6}};
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':_0x128ac5=>0x1!=_0x128ac5}};
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- (_0x19d597=>{const {af:{dictionary:_0x9321f3,getPluralForm:_0x412b3e}}={'af':{'dictionary':{'Footnote':'','Footnotes':'','Footnotes\x20properties':'','Footnotes\x20start\x20at':'','Invalid\x20footnotes\x20start\x20index\x20value.':'','Footnotes\x20start\x20index\x20is\x20too\x20large.':'','Footnotes\x20start\x20index\x20must\x20be\x20greater\x20than\x200.':'','Footnote\x20%0.\x20Press\x20ENTER\x20to\x20jump\x20to\x20footnote\x20definition.':'','Footnote\x20content.':'','Footnotes\x20definitions\x20styles':'','Footnotes\x20definitions\x20toolbar':'','Insert\x20footnote':'','Footnotes\x20style':'','Toggle\x20the\x20decimal\x20footnotes\x20style':'','Decimal\x20footnotes':'','Toggle\x20the\x20decimal\x20with\x20leading\x20zero\x20footnotes\x20style':'','Decimal\x20footnotes\x20with\x20leading\x20zero':'','Lower–roman\x20footnotes':'','Upper-roman\x20footnotes':'','Lower-latin\x20footnotes':'','Upper-latin\x20footnotes':'','Toggle\x20the\x20lower–roman\x20footnotes\x20style':'','Toggle\x20the\x20upper–roman\x20footnotes\x20style':'','Toggle\x20the\x20lower–latin\x20footnotes\x20style':'','Toggle\x20the\x20upper–latin\x20footnotes\x20style':''},'getPluralForm':_0x37e947=>0x1!=_0x37e947}};_0x19d597['af']||={'dictionary':{},'getPluralForm':null},_0x19d597['af']['dictionary']=Object['assign'](_0x19d597['af']['dictionary'],_0x9321f3),_0x19d597['af']['getPluralForm']=_0x412b3e;})(window['CKEDITOR_TRANSLATIONS']||={});
23
+ (_0x3eebb8=>{const {af:{dictionary:_0x279a75,getPluralForm:_0x24ad1f}}={'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':_0xd4d13a=>0x1!=_0xd4d13a}};_0x3eebb8['af']||={'dictionary':{},'getPluralForm':null},_0x3eebb8['af']['dictionary']=Object['assign'](_0x3eebb8['af']['dictionary'],_0x279a75),_0x3eebb8['af']['getPluralForm']=_0x24ad1f;})(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':_0x3ee2cd=>0x0==_0x3ee2cd?0x0:0x1==_0x3ee2cd?0x1:0x2==_0x3ee2cd?0x2:_0x3ee2cd%0x64>=0x3&&_0x3ee2cd%0x64<=0xa?0x3:_0x3ee2cd%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':_0x58f12a=>0x0==_0x58f12a?0x0:0x1==_0x58f12a?0x1:0x2==_0x58f12a?0x2:_0x58f12a%0x64>=0x3&&_0x58f12a%0x64<=0xa?0x3:_0x58f12a%0x64>=0xb?0x4:0x5}};
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- (_0x578d03=>{const {ar:{dictionary:_0x38d3b6,getPluralForm:_0xa53040}}={'ar':{'dictionary':{'Footnote':'حاشية\x20سفلية','Footnotes':'الحواشي\x20السفلية','Footnotes\x20properties':'خصائص\x20الحواشي\x20السفلية','Footnotes\x20start\x20at':'تبدأ\x20الحواشي\x20السفلية\x20من','Invalid\x20footnotes\x20start\x20index\x20value.':'قيمة\x20مؤشر\x20بداية\x20الحواشي\x20السفلية\x20غير\x20صحيحة.','Footnotes\x20start\x20index\x20is\x20too\x20large.':'مؤشر\x20بداية\x20الحواشي\x20السفلية\x20كبير\x20للغاية.','Footnotes\x20start\x20index\x20must\x20be\x20greater\x20than\x200.':'يلزم\x20أن\x20يكون\x20مؤشر\x20بداية\x20الحواشي\x20السفلية\x20أكبر\x20من\x200.','Footnote\x20%0.\x20Press\x20ENTER\x20to\x20jump\x20to\x20footnote\x20definition.':'حاشية\x20سفلية\x20%0.\x20اضغط\x20على\x20مفتاح\x20الإدخال\x20(ENTER)\x20من\x20أجل\x20الانتقال\x20إلى\x20تعريف\x20الحاشية\x20السفلية.','Footnote\x20content.':'محتوى\x20الحاشية\x20السفلية.','Footnotes\x20definitions\x20styles':'أنماط\x20تعريفات\x20الحواشي\x20السفلية','Footnotes\x20definitions\x20toolbar':'شريط\x20أدوات\x20تعريفات\x20الحواشي\x20السفلية','Insert\x20footnote':'إدراج\x20حاشية\x20سفلية','Footnotes\x20style':'نمط\x20الحواشي\x20السفلية','Toggle\x20the\x20decimal\x20footnotes\x20style':'تبديل\x20نمط\x20الحواشي\x20السفلية\x20العشري','Decimal\x20footnotes':'الحواشي\x20السفلية\x20العشرية','Toggle\x20the\x20decimal\x20with\x20leading\x20zero\x20footnotes\x20style':'تبديل\x20العلامة\x20العشرية\x20بنمط\x20الحواشي\x20السفلية\x20بالصفر\x20البادئ','Decimal\x20footnotes\x20with\x20leading\x20zero':'حواشي\x20سفلية\x20عشرية\x20بالصفر\x20البادئ','Lower–roman\x20footnotes':'الحواشي\x20السفلية\x20الرومانية','Upper-roman\x20footnotes':'الحواشي\x20العلوية\x20الرومانية','Lower-latin\x20footnotes':'الحواشي\x20السفلية\x20اللاتينية','Upper-latin\x20footnotes':'الحواشي\x20العلوية\x20اللاتينية','Toggle\x20the\x20lower–roman\x20footnotes\x20style':'تبديل\x20نمط\x20الحواشي\x20السفلية\x20الرومانية','Toggle\x20the\x20upper–roman\x20footnotes\x20style':'تبديل\x20نمط\x20الحواشي\x20العلوية\x20الرومانية','Toggle\x20the\x20lower–latin\x20footnotes\x20style':'تبديل\x20نمط\x20الحواشي\x20السفلية\x20اللاتينية','Toggle\x20the\x20upper–latin\x20footnotes\x20style':'تبديل\x20نمط\x20الحواشي\x20العلوية\x20اللاتينية'},'getPluralForm':_0x5b0322=>0x0==_0x5b0322?0x0:0x1==_0x5b0322?0x1:0x2==_0x5b0322?0x2:_0x5b0322%0x64>=0x3&&_0x5b0322%0x64<=0xa?0x3:_0x5b0322%0x64>=0xb?0x4:0x5}};_0x578d03['ar']||={'dictionary':{},'getPluralForm':null},_0x578d03['ar']['dictionary']=Object['assign'](_0x578d03['ar']['dictionary'],_0x38d3b6),_0x578d03['ar']['getPluralForm']=_0xa53040;})(window['CKEDITOR_TRANSLATIONS']||={});
23
+ (_0x1342ff=>{const {ar:{dictionary:_0x17cd67,getPluralForm:_0x55928e}}={'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':_0x393340=>0x0==_0x393340?0x0:0x1==_0x393340?0x1:0x2==_0x393340?0x2:_0x393340%0x64>=0x3&&_0x393340%0x64<=0xa?0x3:_0x393340%0x64>=0xb?0x4:0x5}};_0x1342ff['ar']||={'dictionary':{},'getPluralForm':null},_0x1342ff['ar']['dictionary']=Object['assign'](_0x1342ff['ar']['dictionary'],_0x17cd67),_0x1342ff['ar']['getPluralForm']=_0x55928e;})(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':_0x2b988a=>0x1!=_0x2b988a}};
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':_0x49f2d2=>0x1!=_0x49f2d2}};
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- (_0xa79a73=>{const {ast:{dictionary:_0x715f5,getPluralForm:_0x2c6cf9}}={'ast':{'dictionary':{'Footnote':'','Footnotes':'','Footnotes\x20properties':'','Footnotes\x20start\x20at':'','Invalid\x20footnotes\x20start\x20index\x20value.':'','Footnotes\x20start\x20index\x20is\x20too\x20large.':'','Footnotes\x20start\x20index\x20must\x20be\x20greater\x20than\x200.':'','Footnote\x20%0.\x20Press\x20ENTER\x20to\x20jump\x20to\x20footnote\x20definition.':'','Footnote\x20content.':'','Footnotes\x20definitions\x20styles':'','Footnotes\x20definitions\x20toolbar':'','Insert\x20footnote':'','Footnotes\x20style':'','Toggle\x20the\x20decimal\x20footnotes\x20style':'','Decimal\x20footnotes':'','Toggle\x20the\x20decimal\x20with\x20leading\x20zero\x20footnotes\x20style':'','Decimal\x20footnotes\x20with\x20leading\x20zero':'','Lower–roman\x20footnotes':'','Upper-roman\x20footnotes':'','Lower-latin\x20footnotes':'','Upper-latin\x20footnotes':'','Toggle\x20the\x20lower–roman\x20footnotes\x20style':'','Toggle\x20the\x20upper–roman\x20footnotes\x20style':'','Toggle\x20the\x20lower–latin\x20footnotes\x20style':'','Toggle\x20the\x20upper–latin\x20footnotes\x20style':''},'getPluralForm':_0x329833=>0x1!=_0x329833}};_0xa79a73['ast']||={'dictionary':{},'getPluralForm':null},_0xa79a73['ast']['dictionary']=Object['assign'](_0xa79a73['ast']['dictionary'],_0x715f5),_0xa79a73['ast']['getPluralForm']=_0x2c6cf9;})(window['CKEDITOR_TRANSLATIONS']||={});
23
+ (_0x2b7b9c=>{const {ast:{dictionary:_0x12c119,getPluralForm:_0x1d6d92}}={'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':_0x523c25=>0x1!=_0x523c25}};_0x2b7b9c['ast']||={'dictionary':{},'getPluralForm':null},_0x2b7b9c['ast']['dictionary']=Object['assign'](_0x2b7b9c['ast']['dictionary'],_0x12c119),_0x2b7b9c['ast']['getPluralForm']=_0x1d6d92;})(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':_0x3d94d4=>0x1!=_0x3d94d4}};
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':_0x2d7688=>0x1!=_0x2d7688}};
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- (_0x3af8b4=>{const {az:{dictionary:_0x12e888,getPluralForm:_0xbc9cfd}}={'az':{'dictionary':{'Footnote':'','Footnotes':'','Footnotes\x20properties':'','Footnotes\x20start\x20at':'','Invalid\x20footnotes\x20start\x20index\x20value.':'','Footnotes\x20start\x20index\x20is\x20too\x20large.':'','Footnotes\x20start\x20index\x20must\x20be\x20greater\x20than\x200.':'','Footnote\x20%0.\x20Press\x20ENTER\x20to\x20jump\x20to\x20footnote\x20definition.':'','Footnote\x20content.':'','Footnotes\x20definitions\x20styles':'','Footnotes\x20definitions\x20toolbar':'','Insert\x20footnote':'','Footnotes\x20style':'','Toggle\x20the\x20decimal\x20footnotes\x20style':'','Decimal\x20footnotes':'','Toggle\x20the\x20decimal\x20with\x20leading\x20zero\x20footnotes\x20style':'','Decimal\x20footnotes\x20with\x20leading\x20zero':'','Lower–roman\x20footnotes':'','Upper-roman\x20footnotes':'','Lower-latin\x20footnotes':'','Upper-latin\x20footnotes':'','Toggle\x20the\x20lower–roman\x20footnotes\x20style':'','Toggle\x20the\x20upper–roman\x20footnotes\x20style':'','Toggle\x20the\x20lower–latin\x20footnotes\x20style':'','Toggle\x20the\x20upper–latin\x20footnotes\x20style':''},'getPluralForm':_0x536d31=>0x1!=_0x536d31}};_0x3af8b4['az']||={'dictionary':{},'getPluralForm':null},_0x3af8b4['az']['dictionary']=Object['assign'](_0x3af8b4['az']['dictionary'],_0x12e888),_0x3af8b4['az']['getPluralForm']=_0xbc9cfd;})(window['CKEDITOR_TRANSLATIONS']||={});
23
+ (_0x474958=>{const {az:{dictionary:_0xfab86,getPluralForm:_0x5ef371}}={'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':_0x552753=>0x1!=_0x552753}};_0x474958['az']||={'dictionary':{},'getPluralForm':null},_0x474958['az']['dictionary']=Object['assign'](_0x474958['az']['dictionary'],_0xfab86),_0x474958['az']['getPluralForm']=_0x5ef371;})(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':_0x1ee956=>_0x1ee956%0xa==0x1&&_0x1ee956%0x64!=0xb?0x0:_0x1ee956%0xa>=0x2&&_0x1ee956%0xa<=0x4&&(_0x1ee956%0x64<0xa||_0x1ee956%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':_0x536181=>_0x536181%0xa==0x1&&_0x536181%0x64!=0xb?0x0:_0x536181%0xa>=0x2&&_0x536181%0xa<=0x4&&(_0x536181%0x64<0xa||_0x536181%0x64>=0x14)?0x1:0x2}};