@ckeditor/ckeditor5-footnotes 0.0.0-nightly-20251114.0 → 0.0.0-nightly-20251118.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 (165) hide show
  1. package/LICENSE.md +3 -3
  2. package/build/footnotes.js +1 -1
  3. package/dist/index.js +1 -1
  4. package/dist/translations/af.js +1 -1
  5. package/dist/translations/af.umd.js +1 -1
  6. package/dist/translations/ar.js +1 -1
  7. package/dist/translations/ar.umd.js +1 -1
  8. package/dist/translations/ast.js +1 -1
  9. package/dist/translations/ast.umd.js +1 -1
  10. package/dist/translations/az.js +1 -1
  11. package/dist/translations/az.umd.js +1 -1
  12. package/dist/translations/be.js +1 -1
  13. package/dist/translations/be.umd.js +1 -1
  14. package/dist/translations/bg.js +1 -1
  15. package/dist/translations/bg.umd.js +1 -1
  16. package/dist/translations/bn.js +1 -1
  17. package/dist/translations/bn.umd.js +1 -1
  18. package/dist/translations/bs.js +1 -1
  19. package/dist/translations/bs.umd.js +1 -1
  20. package/dist/translations/ca.js +1 -1
  21. package/dist/translations/ca.umd.js +1 -1
  22. package/dist/translations/cs.js +1 -1
  23. package/dist/translations/cs.umd.js +1 -1
  24. package/dist/translations/da.js +1 -1
  25. package/dist/translations/da.umd.js +1 -1
  26. package/dist/translations/de-ch.js +1 -1
  27. package/dist/translations/de-ch.umd.js +1 -1
  28. package/dist/translations/de.js +1 -1
  29. package/dist/translations/de.umd.js +1 -1
  30. package/dist/translations/el.js +1 -1
  31. package/dist/translations/el.umd.js +1 -1
  32. package/dist/translations/en-au.js +1 -1
  33. package/dist/translations/en-au.umd.js +1 -1
  34. package/dist/translations/en-gb.js +1 -1
  35. package/dist/translations/en-gb.umd.js +1 -1
  36. package/dist/translations/en.js +1 -1
  37. package/dist/translations/en.umd.js +1 -1
  38. package/dist/translations/eo.js +1 -1
  39. package/dist/translations/eo.umd.js +1 -1
  40. package/dist/translations/es-co.js +1 -1
  41. package/dist/translations/es-co.umd.js +1 -1
  42. package/dist/translations/es.js +1 -1
  43. package/dist/translations/es.umd.js +1 -1
  44. package/dist/translations/et.js +1 -1
  45. package/dist/translations/et.umd.js +1 -1
  46. package/dist/translations/eu.js +1 -1
  47. package/dist/translations/eu.umd.js +1 -1
  48. package/dist/translations/fa.js +1 -1
  49. package/dist/translations/fa.umd.js +1 -1
  50. package/dist/translations/fi.js +1 -1
  51. package/dist/translations/fi.umd.js +1 -1
  52. package/dist/translations/fr.js +1 -1
  53. package/dist/translations/fr.umd.js +1 -1
  54. package/dist/translations/gl.js +1 -1
  55. package/dist/translations/gl.umd.js +1 -1
  56. package/dist/translations/gu.js +1 -1
  57. package/dist/translations/gu.umd.js +1 -1
  58. package/dist/translations/he.js +1 -1
  59. package/dist/translations/he.umd.js +1 -1
  60. package/dist/translations/hi.js +1 -1
  61. package/dist/translations/hi.umd.js +1 -1
  62. package/dist/translations/hr.js +1 -1
  63. package/dist/translations/hr.umd.js +1 -1
  64. package/dist/translations/hu.js +1 -1
  65. package/dist/translations/hu.umd.js +1 -1
  66. package/dist/translations/hy.js +1 -1
  67. package/dist/translations/hy.umd.js +1 -1
  68. package/dist/translations/id.js +1 -1
  69. package/dist/translations/id.umd.js +1 -1
  70. package/dist/translations/it.js +1 -1
  71. package/dist/translations/it.umd.js +1 -1
  72. package/dist/translations/ja.js +1 -1
  73. package/dist/translations/ja.umd.js +1 -1
  74. package/dist/translations/jv.js +1 -1
  75. package/dist/translations/jv.umd.js +1 -1
  76. package/dist/translations/kk.js +1 -1
  77. package/dist/translations/kk.umd.js +1 -1
  78. package/dist/translations/km.js +1 -1
  79. package/dist/translations/km.umd.js +1 -1
  80. package/dist/translations/kn.js +1 -1
  81. package/dist/translations/kn.umd.js +1 -1
  82. package/dist/translations/ko.js +1 -1
  83. package/dist/translations/ko.umd.js +1 -1
  84. package/dist/translations/ku.js +1 -1
  85. package/dist/translations/ku.umd.js +1 -1
  86. package/dist/translations/lt.js +1 -1
  87. package/dist/translations/lt.umd.js +1 -1
  88. package/dist/translations/lv.js +1 -1
  89. package/dist/translations/lv.umd.js +1 -1
  90. package/dist/translations/ms.js +1 -1
  91. package/dist/translations/ms.umd.js +1 -1
  92. package/dist/translations/nb.js +1 -1
  93. package/dist/translations/nb.umd.js +1 -1
  94. package/dist/translations/ne.js +1 -1
  95. package/dist/translations/ne.umd.js +1 -1
  96. package/dist/translations/nl.js +1 -1
  97. package/dist/translations/nl.umd.js +1 -1
  98. package/dist/translations/no.js +1 -1
  99. package/dist/translations/no.umd.js +1 -1
  100. package/dist/translations/oc.js +1 -1
  101. package/dist/translations/oc.umd.js +1 -1
  102. package/dist/translations/pl.js +1 -1
  103. package/dist/translations/pl.umd.js +1 -1
  104. package/dist/translations/pt-br.js +1 -1
  105. package/dist/translations/pt-br.umd.js +1 -1
  106. package/dist/translations/pt.js +1 -1
  107. package/dist/translations/pt.umd.js +1 -1
  108. package/dist/translations/ro.js +1 -1
  109. package/dist/translations/ro.umd.js +1 -1
  110. package/dist/translations/ru.js +1 -1
  111. package/dist/translations/ru.umd.js +1 -1
  112. package/dist/translations/si.js +1 -1
  113. package/dist/translations/si.umd.js +1 -1
  114. package/dist/translations/sk.js +1 -1
  115. package/dist/translations/sk.umd.js +1 -1
  116. package/dist/translations/sl.js +1 -1
  117. package/dist/translations/sl.umd.js +1 -1
  118. package/dist/translations/sq.js +1 -1
  119. package/dist/translations/sq.umd.js +1 -1
  120. package/dist/translations/sr-latn.js +1 -1
  121. package/dist/translations/sr-latn.umd.js +1 -1
  122. package/dist/translations/sr.js +1 -1
  123. package/dist/translations/sr.umd.js +1 -1
  124. package/dist/translations/sv.js +1 -1
  125. package/dist/translations/sv.umd.js +1 -1
  126. package/dist/translations/th.js +1 -1
  127. package/dist/translations/th.umd.js +1 -1
  128. package/dist/translations/ti.js +1 -1
  129. package/dist/translations/ti.umd.js +1 -1
  130. package/dist/translations/tk.js +1 -1
  131. package/dist/translations/tk.umd.js +1 -1
  132. package/dist/translations/tr.js +1 -1
  133. package/dist/translations/tr.umd.js +1 -1
  134. package/dist/translations/tt.js +1 -1
  135. package/dist/translations/tt.umd.js +1 -1
  136. package/dist/translations/ug.js +1 -1
  137. package/dist/translations/ug.umd.js +1 -1
  138. package/dist/translations/uk.js +1 -1
  139. package/dist/translations/uk.umd.js +1 -1
  140. package/dist/translations/ur.js +1 -1
  141. package/dist/translations/ur.umd.js +1 -1
  142. package/dist/translations/uz.js +1 -1
  143. package/dist/translations/uz.umd.js +1 -1
  144. package/dist/translations/vi.js +1 -1
  145. package/dist/translations/vi.umd.js +1 -1
  146. package/dist/translations/zh-cn.js +1 -1
  147. package/dist/translations/zh-cn.umd.js +1 -1
  148. package/dist/translations/zh.js +1 -1
  149. package/dist/translations/zh.umd.js +1 -1
  150. package/package.json +9 -9
  151. package/src/commands/insertfootnotecommand.js +1 -1
  152. package/src/footnotes.js +1 -1
  153. package/src/footnotesclipboard.js +1 -1
  154. package/src/footnotesediting.js +1 -1
  155. package/src/footnotesproperties/commands/footnotesstartcommand.js +1 -1
  156. package/src/footnotesproperties/commands/footnotesstylecommand.js +1 -1
  157. package/src/footnotesproperties/footnotespropertiesconfig.js +1 -1
  158. package/src/footnotesproperties/footnotespropertiesediting.js +1 -1
  159. package/src/footnotesproperties/footnotespropertiesui.js +1 -1
  160. package/src/footnotesproperties/ui/footnotesdefinitionspropertiesview.js +1 -1
  161. package/src/footnotesproperties.js +1 -1
  162. package/src/footnotestracker.js +1 -1
  163. package/src/footnotesui.js +1 -1
  164. package/src/index.js +1 -1
  165. 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 _0x5913ea,Command as _0x140aa0}from'@ckeditor/ckeditor5-core/dist/index.js';import{toWidget as _0x19e650,isWidget as _0x35cee1,toWidgetEditable as _0x2b2405,WidgetToolbarRepository as _0x1dcbe7}from'@ckeditor/ckeditor5-widget/dist/index.js';import{uid as _0x25d1da,logWarning as _0x2b72a7,FocusTracker as et,KeystrokeHandler as ot,global as rt}from'@ckeditor/ckeditor5-utils/dist/index.js';import{PointerObserver as _0x5a7bca,ClickObserver as _0x11c995}from'@ckeditor/ckeditor5-engine/dist/index.js';import{ClipboardPipeline as _0x46ff11}from'@ckeditor/ckeditor5-clipboard/dist/index.js';import{MenuBarMenuListItemButtonView as _0x408cf1,ButtonView as _0x431485,View as _0x1e5d32,ViewCollection as _0x3eddb9,FocusCycler as _0x5f1fd9,addKeyboardHandlingForGrid as _0x3de560,CollapsibleView as tt,LabeledFieldView as st,createLabeledInputNumber as it,ContextualBalloon as _0x42ed25,BalloonPanelView as _0x53c802,createDropdown as _0x235e41}from'@ckeditor/ckeditor5-ui/dist/index.js';import{IconFootnote as _0x263975,IconListStyleDecimal as _0x413f87,IconListStyleDecimalLeadingZero as _0x1ddf55,IconListStyleLowerRoman as _0x2ec325,IconListStyleUpperRoman as _0x16ae62,IconListStyleLowerLatin as _0x1bb37b,IconListStyleUpperLatin as _0x155f2b}from'@ckeditor/ckeditor5-icons/dist/index.js';class F{['_model'];['_elementName'];['_getElementKey'];['_trackedElements']=new Map();constructor(_0x19dcf3,_0x331fe2){this['_model']=_0x19dcf3,this['_elementName']=_0x331fe2['elementName'],this['_getElementKey']=_0x331fe2['getElementKey'];}['reset'](){this['_trackedElements']['clear']();}['getChanges'](_0x2232b1){const _0x1462a4=new Set(),_0x22cf0f=new Map();for(const _0x2855dc of _0x2232b1){if('insert'===_0x2855dc['type']&&'$text'!==_0x2855dc['name']&&_0x2855dc['position']['nodeAfter']){const _0x43541d=this['_model']['createRangeOn'](_0x2855dc['position']['nodeAfter']);for(const _0x47b874 of _0x43541d['getItems']()){if(!_0x47b874['is']('element',this['_elementName']))continue;const _0x34ebfa=this['_getElementKey'](_0x47b874);_0x22cf0f['has'](_0x34ebfa)||_0x22cf0f['set'](_0x34ebfa,[]),_0x22cf0f['get'](_0x34ebfa)['push'](_0x47b874);}}if('remove'===_0x2855dc['type']&&_0x2855dc['name']===this['_elementName']){const _0x281abb=this['_getElementKey']({'getAttribute':_0x43bf29=>_0x2855dc['attributes']['get'](_0x43bf29)});_0x1462a4['add'](_0x281abb);}}for(const [_0x1c06b5,_0x345d6c]of this['_trackedElements'])'$graveyard'===_0x345d6c['root']['rootName']&&_0x1462a4['add'](_0x1c06b5);for(const _0x20c25b of _0x1462a4)this['_trackedElements']['delete'](_0x20c25b);for(const [_0x383188,_0x5b0a47]of _0x22cf0f)this['_trackedElements']['set'](_0x383188,_0x5b0a47[_0x5b0a47['length']-0x1]);const _0x141461=new Set();for(const [_0x59918e,_0x412f9c]of _0x22cf0f)_0x1462a4['has'](_0x59918e)&&(_0x141461['add'](_0x412f9c[0x0]),_0x412f9c['length']>0x1?_0x22cf0f['set'](_0x59918e,_0x412f9c['slice'](0x1)):_0x22cf0f['delete'](_0x59918e),_0x1462a4['delete'](_0x59918e));return{'removed':Array['from'](_0x1462a4),'inserted':Array['from'](_0x22cf0f['values']())['flat'](),'moved':Array['from'](_0x141461)};}}class c extends _0x5913ea{['_footnotes']=[];['_footnotesDefinitions']=null;['_footnoteFormatter']=null;['_footnoteDefsContainerTracker'];['_footnoteRefsTracker'];['_footnoteDefsTracker'];static get['pluginName'](){return'FootnotesTracker';}static get['isOfficialPlugin'](){return!0x0;}static get['isPremiumPlugin'](){return!0x0;}constructor(_0x2a33b0){super(_0x2a33b0),this['_footnoteDefsContainerTracker']=new F(this['editor']['model'],{'elementName':'footnotesDefinitions','getElementKey':()=>'singleton'}),this['_footnoteRefsTracker']=new F(this['editor']['model'],{'elementName':'footnoteRef','getElementKey':_0x9d0013=>_0x9d0013['getAttribute']('footnoteId')}),this['_footnoteDefsTracker']=new F(this['editor']['model'],{'elementName':'footnoteDefinition','getElementKey':_0x58a0fa=>_0x58a0fa['getAttribute']('footnoteId')});}['init'](){const {editor:_0x264f75}=this,{model:_0x59f0ab,data:_0x35f8a4}=_0x264f75;_0x59f0ab['document']['registerPostFixer'](_0x953d4c=>{const _0x347206=_0x59f0ab['document']['differ']['getChanges']();let _0xf2acf8=!0x1;return this['_handleFootnotesDefinitionsObjectChanges'](_0x953d4c,_0x347206)&&(_0xf2acf8=!0x0),this['_handleFootnoteDefinitionsChanges'](_0x953d4c,_0x347206)&&(_0xf2acf8=!0x0),this['_handleFootnoteReferencesChanges'](_0x953d4c,_0x347206)&&(_0xf2acf8=!0x0),this['_ensureFootnotesReferencesHaveProperOrder'](_0x953d4c)&&(_0xf2acf8=!0x0),this['_handleFootnotesDefinitionsObjectSync'](_0x953d4c)&&(_0xf2acf8=!0x0),this['_sortFootnoteDefinitions'](_0x953d4c)&&(_0xf2acf8=!0x0),_0xf2acf8;}),this['listenTo'](_0x59f0ab['document'],'change:data',()=>{_0x59f0ab['enqueueChange']({'isUndoable':!0x1},_0x855ab4=>{this['_ensureFootnotesDefinitionsContainerExists'](_0x855ab4);});},{'priority':'low'}),this['listenTo'](_0x35f8a4,'set',()=>{this['_footnotes']=[],this['_footnoteDefsContainerTracker']['reset'](),this['_footnoteRefsTracker']['reset'](),this['_footnoteDefsTracker']['reset']();},{'priority':'high'});}['getFootnotesDefinitionsObjectElement'](){return this['_footnotesDefinitions'];}['getFootnote'](_0x34fb72){return this['_footnotes']['find'](_0x38e0e=>_0x38e0e['id']===_0x34fb72)||null;}['getFootnotes'](){return Array['from'](this['_footnotes']);}['getFootnotesFormatter'](){return this['_footnoteFormatter'];}['setFootnoteFormatter'](_0x9697a0){this['_footnoteFormatter']=_0x9697a0;}['_updateFootnotesCounters'](_0x1c8e4c,_0x3a780a=0x0){let _0x345592=!0x1;for(let _0x562a62=_0x3a780a;_0x562a62<this['_footnotes']['length'];_0x562a62++)this['_updateFootnoteRefCounter'](_0x1c8e4c,_0x562a62)&&(_0x345592=!0x0);return _0x345592;}['_insertEmptyFootnotesDefinitionsContainer'](_0x1ddccc,_0x461c9c){const _0x2efa7e=_0x1ddccc['createElement']('footnotesDefinitions',{});return _0x1ddccc['append'](_0x2efa7e,_0x461c9c),this['_footnotesDefinitions']=_0x2efa7e,_0x2efa7e;}['_ensureFootnotesDefinitionsContainerExists'](_0x4245a4){if(!this['_footnotes']['length']||this['_footnotesDefinitions'])return;const _0x519dbc=this['_footnotes'][0x0]['reference']['root'],_0x572329=this['_insertEmptyFootnotesDefinitionsContainer'](_0x4245a4,_0x519dbc);for(const _0x4f5357 of this['_footnotes'])_0x4f5357['definition']['parent']||_0x4245a4['insert'](_0x4f5357['definition'],_0x572329,'end');this['_updateFootnotesCounters'](_0x4245a4);}['_handleFootnotesDefinitionsObjectChanges'](_0x5c16f6,_0x54e13b){let _0x20f931=!0x1;const {inserted:_0x3d6509,removed:_0x5875e1,moved:_0x364048}=this['_footnoteDefsContainerTracker']['getChanges'](_0x54e13b);if(_0x364048['length']&&(this['_footnotesDefinitions']=_0x364048[0x0]),_0x3d6509['length']){if(_0x3d6509['length']>0x1||this['_footnotesDefinitions']&&_0x3d6509['some'](_0x2af710=>_0x2af710!==this['_footnotesDefinitions'])){const _0x24b41f=_0x5c16f6['createElement']('footnotesDefinitions',{}),_0x42b848=[];this['_footnotesDefinitions']&&_0x42b848['push'](this['_footnotesDefinitions']),_0x42b848['push'](..._0x3d6509),_0x5c16f6['insert'](_0x24b41f,_0x42b848[0x0],'before');for(const _0x40111c of _0x42b848)_0x5c16f6['move'](_0x5c16f6['createRangeIn'](_0x40111c),_0x5c16f6['createPositionAt'](_0x24b41f,'end')),_0x5c16f6['remove'](_0x40111c);this['_footnotesDefinitions']=_0x24b41f,this['_updateFootnotesCounters'](_0x5c16f6),_0x20f931=!0x0;}else this['_footnotesDefinitions']=_0x3d6509[0x0];}if(_0x5875e1['length']&&'$graveyard'===this['_footnotesDefinitions']?.['root']['rootName']){for(const _0x50eb3d of this['_footnotes'])_0x5c16f6['remove'](_0x50eb3d['reference']),_0x20f931=!0x0;this['_footnotes']=[],this['_footnotesDefinitions']=null;}return _0x20f931;}['_handleFootnoteDefinitionsChanges'](_0x1323f5,_0x51cf5f){let _0x21fe95=!0x1;const _0x2dce2e=this['editor']['config']['get']('footnotes.multiBlock'),{inserted:_0x4392b3,moved:_0x5a76f9}=this['_footnoteDefsTracker']['getChanges'](_0x51cf5f);for(const _0x45522f of[..._0x5a76f9,..._0x4392b3]){const _0x59bb90=_0x45522f['getAttribute']('footnoteId'),_0x307963=this['getFootnote'](_0x59bb90);_0x307963&&(_0x307963['definition']=_0x45522f),_(_0x1323f5,_0x2dce2e,_0x45522f)&&(_0x21fe95=!0x0);}return _0x21fe95;}['_handleFootnoteReferencesChanges'](_0x547551,_0x2a1854){let _0x482d65=!0x1;const {removed:_0x57e07c,inserted:_0x13d8b7,moved:_0x3d08ef}=this['_footnoteRefsTracker']['getChanges'](_0x2a1854);for(const _0x4db952 of _0x57e07c)this['_handleRemoveFootnoteReferenceById'](_0x547551,_0x4db952)&&(_0x482d65=!0x0);for(const _0x41e3c0 of _0x13d8b7)this['_handleInsertedFootnoteReference'](_0x547551,_0x41e3c0)&&(_0x482d65=!0x0);for(const _0x4b2329 of _0x3d08ef)this['_handleMovedFootnoteReference'](_0x547551,_0x4b2329)&&(_0x482d65=!0x0);return _0x482d65;}['_handleFootnotesDefinitionsObjectSync'](_0x464ef2){if(!this['_footnotesDefinitions'])return!0x1;let _0x16066=!0x1;if(this['_footnotesDefinitions']['childCount']!==this['_footnotes']['length']){const _0x4ecba4=[];for(const _0x584167 of this['_footnotesDefinitions']['getChildren']()){const _0x1a8787=_0x584167['getAttribute']('footnoteId');this['getFootnote'](_0x1a8787)||(_0x4ecba4['unshift'](_0x584167),_0x16066=!0x0);}for(const _0x5ea220 of _0x4ecba4)_0x464ef2['remove'](_0x5ea220);}const _0x472c88=new Set(),_0x352741=[];for(const _0x38fadb of this['_footnotesDefinitions']['getChildren']()){const _0xe7702e=_0x38fadb['getAttribute']('footnoteId');_0x472c88['has'](_0xe7702e)?(_0x352741['unshift'](_0x38fadb),_0x16066=!0x0):_0x472c88['add'](_0xe7702e);}for(const _0x5ee5e0 of _0x352741)_0x464ef2['remove'](_0x5ee5e0);return this['_footnotesDefinitions']['childCount']||(_0x464ef2['remove'](this['_footnotesDefinitions']),this['_footnotesDefinitions']=null,_0x16066=!0x0),_0x16066;}['_handleInsertedFootnoteReference'](_0x192bf7,_0x291a67){if(this['_footnotes']['find'](_0x55f54a=>_0x55f54a['reference']===_0x291a67))return!0x1;let _0x12e99a=!0x1;const _0x11de19=_0x291a67['getAttribute']('footnoteId'),_0x29d6c3=this['_footnotes']['findIndex'](_0x347edd=>_0x347edd['id']===_0x11de19);-0x1!==_0x29d6c3&&(_0x192bf7['remove'](this['_footnotes'][_0x29d6c3]['reference']),this['_footnotes']['splice'](_0x29d6c3,0x1),_0x12e99a=!0x0);let _0x2daa4b=this['_footnotesDefinitions']?function(_0x4fcf13,_0x3bb35d){for(const _0x5b1957 of _0x4fcf13['getChildren']())if(_0x5b1957['getAttribute']('footnoteId')===_0x3bb35d)return _0x5b1957;return null;}(this['_footnotesDefinitions'],_0x11de19):null;_0x2daa4b||(_0x2daa4b=_0x192bf7['createElement']('footnoteDefinition',{'footnoteId':_0x11de19}),this['_footnotesDefinitions']&&(_0x192bf7['insert'](_0x2daa4b,this['_footnotesDefinitions'],'end'),_0x12e99a=!0x0));const _0x49b207={'id':_0x11de19,'reference':_0x291a67,'definition':_0x2daa4b},_0xfca865=I(this['editor']['model'],this['_footnotes'],_0x291a67);this['_footnotes']['splice'](_0xfca865,0x0,_0x49b207);let _0xacc51=_0xfca865;return-0x1!==_0x29d6c3&&(_0xacc51=Math['min'](_0xfca865,_0x29d6c3)),this['_updateFootnotesCounters'](_0x192bf7,_0xacc51)&&(_0x12e99a=!0x0),_0x12e99a;}['_handleRemoveFootnoteReferenceById'](_0x3b43b3,_0x5e86a3){const _0x52a6a0=this['_footnotes']['findIndex'](_0x759623=>_0x759623['id']===_0x5e86a3);if(-0x1===_0x52a6a0)return!0x1;let _0x25c304=!0x1;const _0xe4e92d=this['_footnotes'][_0x52a6a0];return'$graveyard'!==_0xe4e92d['definition']['root']['rootName']&&(_0x3b43b3['remove'](_0xe4e92d['definition']),_0x25c304=!0x0),this['_footnotes']['splice'](_0x52a6a0,0x1),this['_updateFootnotesCounters'](_0x3b43b3,_0x52a6a0)&&(_0x25c304=!0x0),_0x25c304;}['_handleMovedFootnoteReference'](_0x5193fc,_0x6ec48c){const _0x5c506c=_0x6ec48c['getAttribute']('footnoteId'),_0x24c7bb=this['_footnotes']['findIndex'](_0x1602a3=>_0x1602a3['id']===_0x5c506c),_0x1f6590=this['_footnotes'][_0x24c7bb];let _0x49c5e9=!0x1;_0x1f6590['reference']=_0x6ec48c,this['_footnotes']['splice'](_0x24c7bb,0x1);const _0x5dbccd=I(this['editor']['model'],this['_footnotes'],_0x6ec48c);return this['_footnotes']['splice'](_0x5dbccd,0x0,_0x1f6590),this['_updateFootnotesCounters'](_0x5193fc,Math['min'](_0x24c7bb,_0x5dbccd))&&(_0x49c5e9=!0x0),_0x49c5e9;}['_updateFootnoteRefCounter'](_0xfcd4b3,_0x5748e5){if(!this['_footnotesDefinitions'])return!0x1;const _0x48853f=this['_footnotes'][_0x5748e5];let _0x2f7018;return _0x2f7018=this['_footnoteFormatter']?this['_footnoteFormatter']({'footnote':_0x48853f,'container':this['_footnotesDefinitions'],'digits':String(this['_footnotes']['length'])['length'],'value':_0x5748e5+0x1}):String(_0x5748e5+0x1),_0x48853f['reference']['getAttribute']('footnoteCounter')!=_0x2f7018&&(_0xfcd4b3['setAttribute']('footnoteCounter',_0x2f7018,_0x48853f['reference']),!0x0);}['_sortFootnoteDefinitions'](_0x844e61){if(!this['_footnotesDefinitions']||this['_footnotes']['length']<0x2)return!0x1;if(function(_0x447ead,_0x10a500){if(_0x447ead['length']!==_0x10a500['length'])return!0x1;for(let _0x9be9b1=0x0;_0x9be9b1<_0x447ead['length'];_0x9be9b1++)if(_0x447ead[_0x9be9b1]!==_0x10a500[_0x9be9b1])return!0x1;return!0x0;}(this['_footnotes']['map'](_0x478ac0=>_0x478ac0['id']),Array['from'](this['_footnotesDefinitions']['getChildren']())['map'](_0x2660d8=>_0x2660d8['getAttribute']('footnoteId'))))return!0x1;let _0x3ea81e=!0x1;for(let _0x225244=0x0;_0x225244<this['_footnotes']['length'];_0x225244++){const _0x473974=this['_footnotes'][_0x225244],_0x36dc3=_0x844e61['createPositionBefore'](_0x473974['definition']),_0x1791bf=_0x844e61['createPositionAt'](this['_footnotesDefinitions'],_0x225244);_0x36dc3['isEqual'](_0x1791bf)||(_0x844e61['move'](_0x844e61['createRangeOn'](_0x473974['definition']),_0x1791bf),_0x3ea81e=!0x0);}return _0x3ea81e;}['_ensureFootnotesReferencesHaveProperOrder'](_0xa423d1){if(!this['_footnotes']['length'])return!0x1;const {model:_0x4a44cd}=this['editor'];let _0x334d75=!0x1;for(let _0xd2dadc=0x0;_0xd2dadc<this['_footnotes']['length']-0x1;_0xd2dadc++){const _0x399ed6=this['_footnotes'][_0xd2dadc],_0x529146=this['_footnotes'][_0xd2dadc+0x1],_0x4c7117=_0x4a44cd['createPositionBefore'](_0x399ed6['reference']),_0x13067c=_0x4a44cd['createPositionBefore'](_0x529146['reference']);'after'===_0x4c7117['compareWith'](_0x13067c)&&(this['_handleMovedFootnoteReference'](_0xa423d1,_0x399ed6['reference']),_0xd2dadc=-0x1,_0x334d75=!0x0);}return _0x334d75;}}function _(_0x16cd47,_0x48110e,_0x3ffd37){if(_0x3ffd37['childCount'])return!0x1;const _0x3bd73a=_0x48110e?'paragraph':'footnoteInlineContent';return _0x16cd47['insert'](_0x16cd47['createElement'](_0x3bd73a),_0x3ffd37),!0x0;}function I(_0x1b1b9f,_0x5d3e59,_0x48b38e){if(0x0===_0x5d3e59['length'])return 0x0;const _0x5372e6=_0x1b1b9f['createPositionBefore'](_0x48b38e);for(let _0x4e6a8d=0x0;_0x4e6a8d<_0x5d3e59['length'];_0x4e6a8d++){const _0x12990c=_0x5d3e59[_0x4e6a8d],_0x337aeb=_0x1b1b9f['createPositionBefore'](_0x12990c['reference']);if('before'===_0x5372e6['compareWith'](_0x337aeb))return _0x4e6a8d;}const _0x541b4d=_0x48b38e['root'];let _0xbb0005=-0x1;for(let _0x5f03f6=_0x5d3e59['length']-0x1;_0x5f03f6>=0x0;_0x5f03f6--)if(_0x5d3e59[_0x5f03f6]['reference']['root']===_0x541b4d){_0xbb0005=_0x5f03f6;break;}if(-0x1!==_0xbb0005)return _0xbb0005+0x1;const _0x2d50ba=_0x1b1b9f['document']['getRootNames'](),_0x31bfab=_0x2d50ba['indexOf'](_0x541b4d['rootName']),_0x32ae0e=_0x2d50ba[_0x31bfab+0x1];if(_0x32ae0e){for(let _0xbfe4da=0x0;_0xbfe4da<_0x5d3e59['length'];_0xbfe4da++)if(_0x5d3e59[_0xbfe4da]['reference']['root']['rootName']===_0x32ae0e)return _0xbfe4da;}return _0x5d3e59['length'];}class m extends _0x140aa0{['refresh'](){const _0x2d2ec7=this['editor']['model']['document']['selection'],_0x4a4878=this['_getPositionToInsertFootnote'](_0x2d2ec7);this['isEnabled']=!!_0x4a4878;}['execute'](_0x52ab38){const {editor:_0x4eb9c8}=this,{model:_0xf37c00}=_0x4eb9c8,{selection:_0x4f588a}=_0xf37c00['document'],_0xd7344f=this['_getPositionToInsertFootnote'](_0x4f588a);if(!_0xd7344f)return;const _0x1ad4ff=_0x4eb9c8['plugins']['get']('FootnotesEditing'),_0x211b89=_0x52ab38?.['footnoteId']??_0x25d1da();!function(_0x57f4fc){return'string'==typeof _0x57f4fc&&_0x57f4fc['length']>0x0&&!/\s/['test'](_0x57f4fc)&&!/^\d/['test'](_0x57f4fc);}(_0x211b89)?_0x2b72a7('insert-footnote-command-executed-with-invalid-id'):(_0xf37c00['change'](_0x313bc7=>{const _0x4ee8e6=_0x313bc7['createElement']('footnoteRef',{'footnoteId':_0x211b89});_0xf37c00['insertObject'](_0x4ee8e6,_0xd7344f,null);}),_0x1ad4ff['_moveSelectionToFootnoteDefinition'](_0x211b89));}['_getPositionToInsertFootnote'](_0x127bb7){const {model:_0x2dee99}=this['editor'],{schema:_0xa53553}=_0x2dee99,_0x393221=_0x127bb7['getFirstRange']();for(const _0x1ffd2f of _0x393221['getItems']())if(_0xa53553['isBlock'](_0x1ffd2f)||_0xa53553['isObject'](_0x1ffd2f))return null;const _0x2265d0=_0x393221['end'];return _0xa53553['checkChild'](_0x2265d0,'footnoteRef')?_0x2265d0:null;}}class r extends _0x5913ea{static get['pluginName'](){return'FootnotesEditing';}static get['requires'](){return[c];}static get['isOfficialPlugin'](){return!0x0;}static get['isPremiumPlugin'](){return!0x0;}['init'](){const {editor:_0x2a3cd0}=this;_0x2a3cd0['config']['define']('footnotes.multiBlock',!0x0),_0x2a3cd0['commands']['add']('insertFootnote',new m(_0x2a3cd0)),this['_defineSchema'](),this['_defineRefsConverters'](),this['_defineDefinitionsConverters'](),this['_defineDefinitionConverters'](),this['_defineBogusParagraphConverters'](),this['_defineKeyboardHandlers'](),this['_defineClickHandlers']();}['afterInit'](){!async function(_0x10f0f1){const _0x296ef3=_0x32328c([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]),_0x2d282b=0x47a28506,_0x1d9ed1=0x47a5fc16^_0x2d282b,_0x56693e=window[_0x32328c([0x44,0x61,0x74,0x65])][_0x32328c([0x6e,0x6f,0x77])](),_0x542888=_0x10f0f1[_0x32328c([0x65,0x64,0x69,0x74,0x6f,0x72])],_0xa0f45b=new window[(_0x32328c([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0x418044=>{_0x542888[_0x32328c([0x6f,0x6e,0x63,0x65])](_0x32328c([0x72,0x65,0x61,0x64,0x79]),_0x418044);}),_0x25f7b0={[_0x32328c([0x6b,0x74,0x79])]:_0x32328c([0x45,0x43]),[_0x32328c([0x75,0x73,0x65])]:_0x32328c([0x73,0x69,0x67]),[_0x32328c([0x63,0x72,0x76])]:_0x32328c([0x50,0x2d,0x32,0x35,0x36]),[_0x32328c([0x78])]:_0x32328c([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]),[_0x32328c([0x79])]:_0x32328c([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]),[_0x32328c([0x61,0x6c,0x67])]:_0x32328c([0x45,0x53,0x32,0x35,0x36])},_0x330fbc=_0x542888[_0x32328c([0x63,0x6f,0x6e,0x66,0x69,0x67])][_0x32328c([0x67,0x65,0x74])](_0x32328c([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x4b,0x65,0x79]));async function _0x1fb977(){let _0x4b1eda,_0x2b010a=null,_0x3b9489=null;try{if(_0x330fbc==_0x32328c([0x47,0x50,0x4c]))return _0x32328c([0x4e,0x6f,0x74,0x41,0x6c,0x6c,0x6f,0x77,0x65,0x64]);if(_0x4b1eda=_0x790503(),!_0x4b1eda)return _0x32328c([0x49,0x6e,0x76,0x61,0x6c,0x69,0x64]);return _0x4b1eda[_0x32328c([0x75,0x73,0x61,0x67,0x65,0x45,0x6e,0x64,0x70,0x6f,0x69,0x6e,0x74])]&&(_0x3b9489=_0x4a4341(_0x4b1eda[_0x32328c([0x75,0x73,0x61,0x67,0x65,0x45,0x6e,0x64,0x70,0x6f,0x69,0x6e,0x74])],_0x4b1eda[_0x32328c([0x6a,0x74,0x69])])),await _0x103c6c()?_0x37ce1f()?_0x4d29d4()?_0x32328c([0x45,0x78,0x70,0x69,0x72,0x65,0x64]):_0x1adccd()?(_0x4b1eda[_0x32328c([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x54,0x79,0x70,0x65])]==_0x32328c([0x65,0x76,0x61,0x6c,0x75,0x61,0x74,0x69,0x6f,0x6e])&&(_0x2b010a=_0x27e09c(_0x32328c([0x45,0x76,0x61,0x6c,0x75,0x61,0x74,0x69,0x6f,0x6e,0x4c,0x69,0x6d,0x69,0x74]))),_0x4b1eda[_0x32328c([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x54,0x79,0x70,0x65])]==_0x32328c([0x74,0x72,0x69,0x61,0x6c])&&(_0x2b010a=_0x27e09c(_0x32328c([0x54,0x72,0x69,0x61,0x6c,0x4c,0x69,0x6d,0x69,0x74]))),await _0x73c1b0()):_0x32328c([0x44,0x6f,0x6d,0x61,0x69,0x6e,0x4c,0x69,0x6d,0x69,0x74]):_0x32328c([0x4e,0x6f,0x74,0x41,0x6c,0x6c,0x6f,0x77,0x65,0x64]):_0x32328c([0x49,0x6e,0x76,0x61,0x6c,0x69,0x64]);}catch{return _0x32328c([0x49,0x6e,0x76,0x61,0x6c,0x69,0x64]);}function _0x4d29d4(){const _0x1138c3=[_0x32328c([0x65,0x76,0x61,0x6c,0x75,0x61,0x74,0x69,0x6f,0x6e]),_0x32328c([0x74,0x72,0x69,0x61,0x6c])][_0x32328c([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x4b1eda[_0x32328c([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x54,0x79,0x70,0x65])])?_0x56693e/0x3e8:0xe10*_0x1d9ed1;return _0x4b1eda[_0x32328c([0x65,0x78,0x70])]<_0x1138c3;}function _0x37ce1f(){const _0x400684=_0x4b1eda[_0x32328c([0x66,0x65,0x61,0x74,0x75,0x72,0x65,0x73])];return!!_0x400684&&(!!_0x400684[_0x32328c([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x32328c([0x2a]))||!!_0x400684[_0x32328c([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x32328c([0x46,0x4f,0x4f])));}function _0x1adccd(){const _0x1289f4=_0x4b1eda[_0x32328c([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x64,0x48,0x6f,0x73,0x74,0x73])];if(!_0x1289f4||0x0==_0x1289f4[_0x32328c([0x6c,0x65,0x6e,0x67,0x74,0x68])])return!0x0;const {hostname:_0x576d10}=new URL(window[_0x32328c([0x6c,0x6f,0x63,0x61,0x74,0x69,0x6f,0x6e])]['href']);if(_0x1289f4[_0x32328c([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x576d10))return!0x0;const _0x28bc45=_0x576d10[_0x32328c([0x73,0x70,0x6c,0x69,0x74])](_0x32328c([0x2e]));return _0x1289f4[_0x32328c([0x66,0x69,0x6c,0x74,0x65,0x72])](_0x5c3c23=>_0x5c3c23[_0x32328c([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x32328c([0x2a])))[_0x32328c([0x6d,0x61,0x70])](_0x1d58cf=>_0x1d58cf[_0x32328c([0x73,0x70,0x6c,0x69,0x74])](_0x32328c([0x2e])))[_0x32328c([0x66,0x69,0x6c,0x74,0x65,0x72])](_0x35f9ec=>_0x35f9ec[_0x32328c([0x6c,0x65,0x6e,0x67,0x74,0x68])]<=_0x28bc45[_0x32328c([0x6c,0x65,0x6e,0x67,0x74,0x68])])[_0x32328c([0x6d,0x61,0x70])](_0x761c67=>Array(_0x28bc45[_0x32328c([0x6c,0x65,0x6e,0x67,0x74,0x68])]-_0x761c67[_0x32328c([0x6c,0x65,0x6e,0x67,0x74,0x68])])[_0x32328c([0x66,0x69,0x6c,0x6c])](_0x761c67[0x0]===_0x32328c([0x2a])?_0x32328c([0x2a]):'')[_0x32328c([0x63,0x6f,0x6e,0x63,0x61,0x74])](_0x761c67))[_0x32328c([0x73,0x6f,0x6d,0x65])](_0x109c9c=>_0x28bc45[_0x32328c([0x65,0x76,0x65,0x72,0x79])]((_0x19755b,_0x1290c0)=>_0x109c9c[_0x1290c0]===_0x19755b||_0x109c9c[_0x1290c0]===_0x32328c([0x2a])));}function _0x73c1b0(){return _0x2b010a&&_0x3b9489?new window[(_0x32328c([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))]((_0xad60a2,_0x1fe286)=>{_0x2b010a[_0x32328c([0x74,0x68,0x65,0x6e])](_0xad60a2,_0x1fe286),_0x3b9489[_0x32328c([0x74,0x68,0x65,0x6e])](_0x5a0859=>{_0x5a0859!=_0x32328c([0x56,0x61,0x6c,0x69,0x64])&&_0xad60a2(_0x5a0859);},_0x1fe286);}):_0x2b010a||_0x3b9489||_0x32328c([0x56,0x61,0x6c,0x69,0x64]);}}function _0x4a4341(_0x2c95aa,_0x1997bd){return new window[(_0x32328c([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0x2eb43c=>{if(_0x2fc2e6())return _0x2eb43c(_0x32328c([0x56,0x61,0x6c,0x69,0x64]));_0x84bf8b(),_0x542888[_0x32328c([0x64,0x65,0x63,0x6f,0x72,0x61,0x74,0x65])](_0x32328c([0x5f,0x73,0x65,0x6e,0x64,0x55,0x73,0x61,0x67,0x65,0x52,0x65,0x71,0x75,0x65,0x73,0x74]));let _0x195788=!0x1;const _0x11a71b=_0x25d1da();function _0x52d9d4(_0x3d1746){return!!_0x3d1746&&(typeof _0x3d1746===_0x32328c([0x6f,0x62,0x6a,0x65,0x63,0x74])||typeof _0x3d1746===_0x32328c([0x66,0x75,0x6e,0x63,0x74,0x69,0x6f,0x6e]))&&typeof _0x3d1746[_0x32328c([0x74,0x68,0x65,0x6e])]===_0x32328c([0x66,0x75,0x6e,0x63,0x74,0x69,0x6f,0x6e])&&typeof _0x3d1746[_0x32328c([0x63,0x61,0x74,0x63,0x68])]===_0x32328c([0x66,0x75,0x6e,0x63,0x74,0x69,0x6f,0x6e]);}function _0x3b41ae(_0x512b93){_0x46c6fb(_0x512b93)[_0x32328c([0x74,0x68,0x65,0x6e])](_0x340164=>{if(!_0x340164||_0x340164[_0x32328c([0x73,0x74,0x61,0x74,0x75,0x73])]!=_0x32328c([0x6f,0x6b]))return _0x32328c([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]);return _0x3f67d3(_0xa08ecd(_0x11a71b+_0x1997bd))!=_0x340164[_0x32328c([0x76,0x65,0x72,0x69,0x66,0x69,0x63,0x61,0x74,0x69,0x6f,0x6e])]?_0x32328c([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]):_0x32328c([0x56,0x61,0x6c,0x69,0x64]);})[_0x32328c([0x74,0x68,0x65,0x6e])](_0x5bb51c=>(_0x3b74bb(),_0x5bb51c),()=>{const _0x2fa263=_0x3d41e3();return null==_0x2fa263?(_0x3b74bb(),_0x32328c([0x56,0x61,0x6c,0x69,0x64])):_0x32328c(_0x56693e-_0x2fa263>(0x63ae0106^_0x2d282b)?[0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]:[0x56,0x61,0x6c,0x69,0x64]);})[_0x32328c([0x74,0x68,0x65,0x6e])](_0x2eb43c)[_0x32328c([0x63,0x61,0x74,0x63,0x68])](()=>{_0x2eb43c(_0x32328c([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]));});const _0x43a44b=0x47946b86^_0x2d282b;function _0x3b74bb(){const _0x5c3dfe=_0x32328c([0x6c,0x6c,0x63,0x74,0x2d])+_0x3f67d3(_0xa08ecd(_0x2c95aa)),_0x23847f=_0x4e01b8(_0x3f67d3(window[_0x32328c([0x4d,0x61,0x74,0x68])][_0x32328c([0x63,0x65,0x69,0x6c])](_0x56693e/_0x43a44b)));window[_0x32328c([0x6c,0x6f,0x63,0x61,0x6c,0x53,0x74,0x6f,0x72,0x61,0x67,0x65])][_0x32328c([0x73,0x65,0x74,0x49,0x74,0x65,0x6d])](_0x5c3dfe,_0x23847f);}function _0x3d41e3(){const _0x2c9969=_0x32328c([0x6c,0x6c,0x63,0x74,0x2d])+_0x3f67d3(_0xa08ecd(_0x2c95aa)),_0x3f4696=window[_0x32328c([0x6c,0x6f,0x63,0x61,0x6c,0x53,0x74,0x6f,0x72,0x61,0x67,0x65])][_0x32328c([0x67,0x65,0x74,0x49,0x74,0x65,0x6d])](_0x2c9969);return _0x3f4696?window[_0x32328c([0x70,0x61,0x72,0x73,0x65,0x49,0x6e,0x74])](_0x4e01b8(_0x3f4696),0x10)*_0x43a44b:null;}function _0x46c6fb(_0x3b74c7){return new window[(_0x32328c([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))]((_0x35ca06,_0x510201)=>{_0x3b74c7[_0x32328c([0x74,0x68,0x65,0x6e])](_0x35ca06,_0x510201),window[_0x32328c([0x73,0x65,0x74,0x54,0x69,0x6d,0x65,0x6f,0x75,0x74])](_0x510201,0x47a351c6^_0x2d282b);});}}_0x542888[_0x32328c([0x6f,0x6e])](_0x32328c([0x5f,0x73,0x65,0x6e,0x64,0x55,0x73,0x61,0x67,0x65,0x52,0x65,0x71,0x75,0x65,0x73,0x74]),(_0x235113,_0xee7921)=>{if(_0xee7921[0x0]!=_0x2c95aa)return _0x2eb43c(_0x32328c([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]));_0xee7921[0x1]={..._0xee7921[0x1],[_0x32328c([0x72,0x65,0x71,0x75,0x65,0x73,0x74,0x49,0x64])]:_0x11a71b};},{[_0x32328c([0x70,0x72,0x69,0x6f,0x72,0x69,0x74,0x79])]:_0x32328c([0x68,0x69,0x67,0x68])}),_0x542888[_0x32328c([0x6f,0x6e])](_0x32328c([0x5f,0x73,0x65,0x6e,0x64,0x55,0x73,0x61,0x67,0x65,0x52,0x65,0x71,0x75,0x65,0x73,0x74]),_0x5dbd90=>{_0x52d9d4(_0x5dbd90[_0x32328c([0x72,0x65,0x74,0x75,0x72,0x6e])])&&(_0x195788=!0x0,_0x3b41ae(_0x5dbd90[_0x32328c([0x72,0x65,0x74,0x75,0x72,0x6e])]));},{[_0x32328c([0x70,0x72,0x69,0x6f,0x72,0x69,0x74,0x79])]:_0x32328c([0x6c,0x6f,0x77])}),_0xa0f45b[_0x32328c([0x74,0x68,0x65,0x6e])](()=>{_0x195788||_0x2eb43c(_0x32328c([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]));});});function _0x2fc2e6(){return _0x542888[_0x32328c([0x65,0x64,0x69,0x74,0x69,0x6e,0x67])][_0x32328c([0x76,0x69,0x65,0x77])][_0x32328c([0x5f,0x6f,0x76,0x65,0x72,0x6c,0x61,0x79,0x4d,0x6f,0x64,0x65,0x48,0x69,0x6e,0x74])]==_0x32328c([0x61,0x75,0x74,0x6f]);}function _0x84bf8b(){_0x542888[_0x32328c([0x65,0x64,0x69,0x74,0x69,0x6e,0x67])][_0x32328c([0x76,0x69,0x65,0x77])][_0x32328c([0x5f,0x6f,0x76,0x65,0x72,0x6c,0x61,0x79,0x4d,0x6f,0x64,0x65,0x48,0x69,0x6e,0x74])]=_0x32328c([0x61,0x75,0x74,0x6f]);}}function _0x27e09c(_0x27c179){const _0x4fda10=[new window[(_0x32328c([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0x2cfc53=>setTimeout(_0x2cfc53,0x47abbbca^_0x2d282b)),_0xa0f45b[_0x32328c([0x74,0x68,0x65,0x6e])](()=>new window[(_0x32328c([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0x32840c=>{let _0x26d633=0x0;_0x542888[_0x32328c([0x6d,0x6f,0x64,0x65,0x6c])][_0x32328c([0x6f,0x6e])](_0x32328c([0x61,0x70,0x70,0x6c,0x79,0x4f,0x70,0x65,0x72,0x61,0x74,0x69,0x6f,0x6e]),(_0xda9db,_0x34ef9e)=>{_0x34ef9e[0x0][_0x32328c([0x69,0x73,0x44,0x6f,0x63,0x75,0x6d,0x65,0x6e,0x74,0x4f,0x70,0x65,0x72,0x61,0x74,0x69,0x6f,0x6e])]&&_0x26d633++,_0x26d633==(0x47a284fe^_0x2d282b)&&(_0x32840c(),_0xda9db[_0x32328c([0x6f,0x66,0x66])]());});}))];return window[_0x32328c([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65])][_0x32328c([0x72,0x61,0x63,0x65])](_0x4fda10)[_0x32328c([0x74,0x68,0x65,0x6e])](()=>_0x27c179);}async function _0x4bf757(){await _0xa0f45b,_0x542888[_0x32328c([0x6d,0x6f,0x64,0x65,0x6c])][_0x32328c([0x63,0x68,0x61,0x6e,0x67,0x65])]=_0x36d095,_0x542888[_0x32328c([0x6d,0x6f,0x64,0x65,0x6c])][_0x32328c([0x65,0x6e,0x71,0x75,0x65,0x75,0x65,0x43,0x68,0x61,0x6e,0x67,0x65])]=_0x36d095,_0x542888[_0x32328c([0x65,0x6e,0x61,0x62,0x6c,0x65,0x52,0x65,0x61,0x64,0x4f,0x6e,0x6c,0x79,0x4d,0x6f,0x64,0x65])](_0x32328c([0x6d,0x6f,0x64,0x65,0x6c]));}function _0x51398b(_0x5550c1){const _0x58027a=_0x5e36c0();_0x542888[_0x58027a]=_0x32328c([0x66,0x6f,0x6f,0x74,0x6e,0x6f,0x74,0x65,0x73,0x4c,0x69,0x63,0x65,0x6e,0x73,0x65,0x4b,0x65,0x79])+_0x5550c1,_0x5550c1!=_0x32328c([0x56,0x61,0x6c,0x69,0x64])&&_0x4bf757();}function _0x5e36c0(){const _0x134715=window[_0x32328c([0x53,0x74,0x72,0x69,0x6e,0x67])](window[_0x32328c([0x70,0x65,0x72,0x66,0x6f,0x72,0x6d,0x61,0x6e,0x63,0x65])][_0x32328c([0x6e,0x6f,0x77])]())[_0x32328c([0x72,0x65,0x70,0x6c,0x61,0x63,0x65])](_0x32328c([0x2e]),'');let _0x26df41=_0x32328c([0x75]);for(let _0x3f4139=0x0;_0x3f4139<_0x134715[_0x32328c([0x6c,0x65,0x6e,0x67,0x74,0x68])];_0x3f4139+=0x2){let _0x3db00e=window[_0x32328c([0x70,0x61,0x72,0x73,0x65,0x49,0x6e,0x74])](_0x134715[_0x32328c([0x73,0x75,0x62,0x73,0x74,0x72,0x69,0x6e,0x67])](_0x3f4139,_0x3f4139+0x2));_0x3db00e>=_0x296ef3[_0x32328c([0x6c,0x65,0x6e,0x67,0x74,0x68])]&&(_0x3db00e-=_0x296ef3[_0x32328c([0x6c,0x65,0x6e,0x67,0x74,0x68])]),_0x26df41+=_0x296ef3[_0x3db00e];}return _0x26df41;}function _0x790503(){const _0x42f61=_0x330fbc[_0x32328c([0x73,0x70,0x6c,0x69,0x74])](_0x32328c([0x2e]));if(0x3!=_0x42f61[_0x32328c([0x6c,0x65,0x6e,0x67,0x74,0x68])])return null;return _0x22b7f8(_0x42f61[0x1]);function _0x22b7f8(_0x24ab22){const _0x26d9d7=_0x1dc488(_0x24ab22);return _0x26d9d7&&_0xcc1cd9()?_0x26d9d7:null;function _0xcc1cd9(){const _0x556675=_0x26d9d7[_0x32328c([0x6a,0x74,0x69])],_0x1ca69c=window[_0x32328c([0x70,0x61,0x72,0x73,0x65,0x49,0x6e,0x74])](_0x556675[_0x32328c([0x73,0x75,0x62,0x73,0x74,0x72,0x69,0x6e,0x67])](_0x556675[_0x32328c([0x6c,0x65,0x6e,0x67,0x74,0x68])]-0x8),0x10),_0x2e6daf={..._0x26d9d7,[_0x32328c([0x6a,0x74,0x69])]:_0x556675[_0x32328c([0x73,0x75,0x62,0x73,0x74,0x72,0x69,0x6e,0x67])](0x0,_0x556675[_0x32328c([0x6c,0x65,0x6e,0x67,0x74,0x68])]-0x8)};return delete _0x2e6daf[_0x32328c([0x76,0x63])],_0xa08ecd(_0x2e6daf)==_0x1ca69c;}}}async function _0x103c6c(){let _0x4a02df=!0x0;try{const _0x37a51e=_0x330fbc[_0x32328c([0x73,0x70,0x6c,0x69,0x74])](_0x32328c([0x2e])),[_0x45849b,_0x20e4f5,_0x31f57e]=_0x37a51e;return _0x5a0f94(_0x45849b),await _0x55e622(_0x45849b,_0x20e4f5,_0x31f57e),_0x4a02df;}catch{return!0x1;}function _0x5a0f94(_0x1eaf03){const _0xa788e9=_0x1dc488(_0x1eaf03);_0xa788e9&&_0xa788e9[_0x32328c([0x61,0x6c,0x67])]==_0x32328c([0x45,0x53,0x32,0x35,0x36])||(_0x4a02df=!0x1);}async function _0x55e622(_0x2d808a,_0x5073dc,_0xf5f60c){const _0x38fecb=window[_0x32328c([0x55,0x69,0x6e,0x74,0x38,0x41,0x72,0x72,0x61,0x79])][_0x32328c([0x66,0x72,0x6f,0x6d])](_0x3bd2b9(_0xf5f60c),_0x5c25d4=>_0x5c25d4[_0x32328c([0x63,0x68,0x61,0x72,0x43,0x6f,0x64,0x65,0x41,0x74])](0x0)),_0x5e272e=new window[(_0x32328c([0x54,0x65,0x78,0x74,0x45,0x6e,0x63,0x6f,0x64,0x65,0x72]))]()[_0x32328c([0x65,0x6e,0x63,0x6f,0x64,0x65])](_0x2d808a+_0x32328c([0x2e])+_0x5073dc),_0x5b5740=window[_0x32328c([0x63,0x72,0x79,0x70,0x74,0x6f])][_0x32328c([0x73,0x75,0x62,0x74,0x6c,0x65])];if(!_0x5b5740)return;const _0x39c508=await _0x5b5740[_0x32328c([0x69,0x6d,0x70,0x6f,0x72,0x74,0x4b,0x65,0x79])](_0x32328c([0x6a,0x77,0x6b]),_0x25f7b0,{[_0x32328c([0x6e,0x61,0x6d,0x65])]:_0x32328c([0x45,0x43,0x44,0x53,0x41]),[_0x32328c([0x6e,0x61,0x6d,0x65,0x64,0x43,0x75,0x72,0x76,0x65])]:_0x32328c([0x50,0x2d,0x32,0x35,0x36])},!0x1,[_0x32328c([0x76,0x65,0x72,0x69,0x66,0x79])]);await _0x5b5740[_0x32328c([0x76,0x65,0x72,0x69,0x66,0x79])]({[_0x32328c([0x6e,0x61,0x6d,0x65])]:_0x32328c([0x45,0x43,0x44,0x53,0x41]),[_0x32328c([0x68,0x61,0x73,0x68])]:{[_0x32328c([0x6e,0x61,0x6d,0x65])]:_0x32328c([0x53,0x48,0x41,0x2d,0x32,0x35,0x36])}},_0x39c508,_0x38fecb,_0x5e272e)||(_0x4a02df=!0x1);}}function _0x1dc488(_0x261d88){return _0x261d88[_0x32328c([0x73,0x74,0x61,0x72,0x74,0x73,0x57,0x69,0x74,0x68])](_0x32328c([0x65,0x79]))?JSON[_0x32328c([0x70,0x61,0x72,0x73,0x65])](_0x3bd2b9(_0x261d88)):null;}function _0x3bd2b9(_0x1d62e8){return window[_0x32328c([0x61,0x74,0x6f,0x62])](_0x1d62e8[_0x32328c([0x72,0x65,0x70,0x6c,0x61,0x63,0x65])](/-/g,_0x32328c([0x2b]))[_0x32328c([0x72,0x65,0x70,0x6c,0x61,0x63,0x65])](/_/g,_0x32328c([0x2f])));}function _0xa08ecd(_0x3084d2){let _0x498a60=0x1505;function _0x5926bb(_0x579e21){for(let _0x1a7de7=0x0;_0x1a7de7<_0x579e21[_0x32328c([0x6c,0x65,0x6e,0x67,0x74,0x68])];_0x1a7de7++){const _0xc649f6=_0x579e21[_0x32328c([0x63,0x68,0x61,0x72,0x43,0x6f,0x64,0x65,0x41,0x74])](_0x1a7de7);_0x498a60=(_0x498a60<<0x5)+_0x498a60+_0xc649f6,_0x498a60&=_0x498a60;}}function _0x36966d(_0x34f284){Array[_0x32328c([0x69,0x73,0x41,0x72,0x72,0x61,0x79])](_0x34f284)?_0x34f284[_0x32328c([0x66,0x6f,0x72,0x45,0x61,0x63,0x68])](_0x36966d):_0x34f284&&typeof _0x34f284==_0x32328c([0x6f,0x62,0x6a,0x65,0x63,0x74])?Object[_0x32328c([0x65,0x6e,0x74,0x72,0x69,0x65,0x73])](_0x34f284)[_0x32328c([0x73,0x6f,0x72,0x74])]()[_0x32328c([0x66,0x6f,0x72,0x45,0x61,0x63,0x68])](([_0x46736b,_0x3b3905])=>{_0x5926bb(_0x46736b),_0x36966d(_0x3b3905);}):_0x5926bb(window[_0x32328c([0x53,0x74,0x72,0x69,0x6e,0x67])](_0x34f284));}return _0x36966d(_0x3084d2),_0x498a60>>>0x0;}function _0x3f67d3(_0x44c19f){return _0x44c19f[_0x32328c([0x74,0x6f,0x53,0x74,0x72,0x69,0x6e,0x67])](0x10)[_0x32328c([0x70,0x61,0x64,0x53,0x74,0x61,0x72,0x74])](0x8,_0x32328c([0x30]));}function _0x4e01b8(_0x318c3f){return _0x318c3f[_0x32328c([0x73,0x70,0x6c,0x69,0x74])]('')[_0x32328c([0x72,0x65,0x76,0x65,0x72,0x73,0x65])]()[_0x32328c([0x6a,0x6f,0x69,0x6e])]('');}function _0x36d095(){}function _0x32328c(_0x128eaa){return _0x128eaa['map'](_0x39ecb2=>String['fromCharCode'](_0x39ecb2))['join']('');}_0x51398b(await _0x1fb977());}(this);}['_moveSelectionToFootnoteDefinition'](_0x1214ab){const {plugins:_0x386013,editing:_0x276d29,model:_0x286a3f}=this['editor'],_0x3506fd=_0x386013['get'](c)['getFootnote'](_0x1214ab);return!!_0x3506fd&&(_0x286a3f['change'](_0x55262d=>{_0x55262d['setSelection'](_0x55262d['createPositionAt'](_0x3506fd['definition'],'end'));}),_0x276d29['view']['scrollToTheSelection'](),!0x0);}['_moveSelectionToFootnoteReference'](_0x56f56c){const {plugins:_0x45866d,editing:_0x3a82ba,model:_0x5f2654}=this['editor'],_0x5c4540=_0x45866d['get'](c)['getFootnote'](_0x56f56c);return!!_0x5c4540&&(_0x5f2654['change'](_0x511f75=>{_0x511f75['setSelection'](_0x5c4540['reference'],'on');}),_0x3a82ba['view']['scrollToTheSelection'](),!0x0);}['_defineSchema'](){const {schema:_0x5efbe8}=this['editor']['model'],_0x133b2e=this['editor']['config']['get']('footnotes.multiBlock');_0x5efbe8['register']('footnoteRef',{'inheritAllFrom':'$inlineObject','allowAttributes':['footnoteId','footnoteCounter']}),_0x5efbe8['register']('footnotesDefinitions',{'inheritAllFrom':'$blockObject','allowChildren':['footnoteDefinition']}),_0x5efbe8['register']('footnoteDefinition',{'allowAttributes':['footnoteId'],'disallowAttributes':['listItemId'],'isLimit':!0x0}),_0x133b2e?_0x5efbe8['extend']('footnoteDefinition',{'allowContentOf':'$container'}):_0x5efbe8['register']('footnoteInlineContent',{'allowIn':'footnoteDefinition','allowContentOf':'$block','isLimit':!0x0}),_0x5efbe8['addChildCheck'](_0x1e79f0=>{for(const _0x2a8507 of _0x1e79f0)if('footnoteDefinition'===_0x2a8507['name'])return!0x1;},'footnoteRef');}['_defineRefsConverters'](){const {editor:_0x6972bc}=this,{conversion:_0x2cb0b9,editing:_0x2b87e3}=_0x6972bc,{t:t}=_0x6972bc['locale'];_0x2cb0b9['for']('upcast')['elementToElement']({'view':{'name':'sup','classes':'footnote'},'model':(_0x4c1cf8,{writer:_0x2e5c84,consumable:_0x4707c2})=>{const _0x296c7b=_0x4c1cf8['getChild'](0x0);if(!_0x296c7b||!_0x296c7b['is']('element','a'))return null;const _0x281e95=_0x296c7b['getAttribute']('href')||'';if(!_0x281e95['startsWith']('#'))return null;const _0x3d9e7c=_0x281e95['replace'](/^#/,'');if(!_0x3d9e7c)return null;_0x4707c2['consume'](_0x296c7b,{'name':!0x0,'attributes':['href']});for(const {item:_0x37f35e}of _0x2b87e3['view']['createRangeIn'](_0x296c7b))_0x37f35e['is']('$textProxy')?_0x4707c2['consume'](_0x37f35e['textNode'],{'name':!0x0}):_0x37f35e['is']('element')&&_0x4707c2['consume'](_0x37f35e,{'name':!0x0});return _0x2e5c84['createElement']('footnoteRef',{'footnoteId':_0x3d9e7c});}}),_0x2cb0b9['for']('dataDowncast')['elementToElement']({'model':{'name':'footnoteRef','attributes':['footnoteId','footnoteCounter']},'view':(_0x22a44c,{writer:_0x5f48e1})=>D(_0x22a44c,_0x5f48e1)}),_0x2cb0b9['for']('editingDowncast')['elementToElement']({'model':{'name':'footnoteRef','attributes':['footnoteId','footnoteCounter']},'view':(_0x5b80,{writer:_0x3739dc})=>{const _0x8bf4b0=_0x5b80['getAttribute']('footnoteCounter');return _0x19e650(D(_0x5b80,_0x3739dc),_0x3739dc,{'label':t('Footnote\x20%0.\x20Press\x20ENTER\x20to\x20jump\x20to\x20footnote\x20definition.',_0x8bf4b0)});}});}['_defineDefinitionsConverters'](){const {editor:_0x3479cf}=this,{t:t}=_0x3479cf['locale'],{conversion:_0x16c8d6}=_0x3479cf;_0x16c8d6['for']('upcast')['elementToElement']({'view':{'name':'div','classes':'footnotes'},'model':'footnotesDefinitions'}),_0x16c8d6['for']('upcast')['add'](_0xae4dec=>{_0xae4dec['on']('element:ol',(_0x26242f,_0x1aca43,_0x5a3a18)=>{const _0x33ecd1=_0x1aca43['viewItem'];if(!_0x33ecd1['hasClass']('footnotes-list')||!_0x1aca43['modelCursor']['parent']?.['is']('element','footnotesDefinitions'))return;if(!_0x5a3a18['consumable']['consume'](_0x33ecd1,{'name':!0x0,'classes':'footnotes-list'}))return;const {modelRange:_0x49955a,modelCursor:_0x3c4fc4}=_0x5a3a18['convertChildren'](_0x1aca43['viewItem'],_0x1aca43['modelCursor']);_0x1aca43['modelRange']=_0x49955a,_0x1aca43['modelCursor']=_0x3c4fc4;}),_0xae4dec['on']('element:hr',(_0x2940ba,_0x3996c1,_0x4308c2)=>{const _0x36546a=_0x3996c1['viewItem'];_0x36546a['hasClass']('footnotes-divider')&&_0x3996c1['modelCursor']['parent']?.['is']('element','footnotesDefinitions')&&_0x4308c2['consumable']['consume'](_0x36546a,{'name':!0x0,'classes':'footnotes-divider'});});}),_0x16c8d6['for']('dataDowncast')['elementToStructure']({'model':'footnotesDefinitions','view':(_0x5afee1,{writer:_0x339837})=>v(_0x339837)}),_0x16c8d6['for']('editingDowncast')['elementToStructure']({'model':'footnotesDefinitions','view':(_0x4892e6,{writer:_0x5ec0be})=>{const _0x3860c2=v(_0x5ec0be,{'data-footnotes-list-label':t('Footnotes')}),_0x3f915d=_0x19e650(_0x3860c2,_0x5ec0be,{'hasSelectionHandle':!0x0,'label':t('Footnotes')});return _0x5ec0be['setCustomProperty']('footnotesDefinitions',!0x0,_0x3f915d),_0x3f915d;}});}['_defineDefinitionConverters'](){const {editor:_0x32a0db}=this,{conversion:_0x3f8139,locale:_0x199877}=_0x32a0db,_0x4d217b=_0x32a0db['config']['get']('footnotes.multiBlock');_0x3f8139['for']('upcast')['add'](_0x225545=>{_0x225545['on']('element:li',(_0x344a6b,_0x332962,_0x5c4514)=>{const _0x3f9770=_0x332962['viewItem'];if(!_0x3f9770['hasClass']('footnote-definition')||!_0x3f9770['getAttribute']('id'))return;const _0x454bff=_0x3f9770['parent'];if(!_0x454bff['is']('element','ol')||!_0x454bff['hasClass']('footnotes-list'))return;if(!_0x5c4514['consumable']['test'](_0x3f9770,{'name':!0x0,'attributes':'id','classes':'footnote-definition'}))return;const _0x4651c3=_0x5c4514['writer']['createElement']('footnoteDefinition',{'footnoteId':_0x3f9770['getAttribute']('id')});if(!_0x5c4514['safeInsert'](_0x4651c3,_0x332962['modelCursor']))return;_0x5c4514['consumable']['consume'](_0x3f9770,{'name':!0x0,'attributes':'id','classes':'footnote-definition'});const _0x390315=Array['from'](_0x3f9770['getChildren']())['find'](_0x105354=>_0x105354['is']('element')&&_0x105354['hasClass']('footnote-content'));for(const _0x1d6415 of _0x3f9770['getChildren']())_0x1d6415['is']('element')&&(_0x5c4514['consumable']['consume'](_0x1d6415,{'name':!0x0,'classes':'footnote-backlink','attributes':'href'}),_0x5c4514['consumable']['consume'](_0x1d6415,{'name':!0x0,'classes':'footnote-content'}));if(_0x390315){if(_0x4d217b)_0x5c4514['convertChildren'](_0x390315,_0x4651c3);else{const _0xe9f97e=_0x5c4514['writer']['createElement']('footnoteInlineContent');_0x5c4514['writer']['insert'](_0xe9f97e,_0x4651c3),_0x5c4514['convertChildren'](_0x390315,_0xe9f97e);}}_0x5c4514['updateConversionResult'](_0x4651c3,_0x332962);});}),_0x3f8139['for']('dataDowncast')['elementToStructure']({'model':{'name':'footnoteDefinition','attributes':['footnoteId']},'view':(_0x3c1880,{writer:_0x3b628c})=>b(_0x3c1880,_0x3b628c,_0x199877,{'dataPipeline':!0x0})}),_0x3f8139['for']('editingDowncast')['elementToStructure']({'model':{'name':'footnoteDefinition','attributes':['footnoteId']},'view':(_0x2d94f8,{writer:_0x6acf5})=>b(_0x2d94f8,_0x6acf5,_0x199877)});}['_defineBogusParagraphConverters'](){const {editor:_0x1326b5}=this,{conversion:_0x1e93a9}=_0x1326b5;_0x1326b5['config']['get']('footnotes.multiBlock')?(_0x1e93a9['for']('editingDowncast')['elementToElement']({'model':'paragraph','view':h(),'converterPriority':'high'}),_0x1e93a9['for']('dataDowncast')['elementToElement']({'model':'paragraph','view':h({'dataPipeline':!0x0}),'converterPriority':'high'}),this['listenTo'](_0x1326b5['model']['document'],'change:data',()=>{!function(_0x41e9b8,_0x197c64){const _0x14033a=_0x41e9b8['document']['differ'],_0x4182c8=new Set();for(const _0x26b6cb of _0x14033a['getChanges']()){const _0x365645='attribute'==_0x26b6cb['type']?_0x26b6cb['range']['start']['parent']:_0x26b6cb['position']['parent'];_0x365645['is']('element','footnoteDefinition')&&_0x4182c8['add'](_0x365645);}for(const _0x798cce of _0x4182c8['values']()){const _0x3da7fb=Array['from'](_0x798cce['getChildren']())['filter'](_0x5edccd=>g(_0x5edccd,_0x197c64['mapper']));for(const _0x19c17f of _0x3da7fb)_0x197c64['reconvertItem'](_0x19c17f);}}(_0x1326b5['model'],_0x1326b5['editing']);})):(_0x1e93a9['for']('editingDowncast')['elementToElement']({'model':'footnoteInlineContent','view':h()}),_0x1e93a9['for']('dataDowncast')['elementToElement']({'model':'footnoteInlineContent','view':(_0x4c6e8d,{writer:_0x5b16a7})=>{const _0x4eb256=_0x5b16a7['createContainerElement']('span');return _0x5b16a7['setCustomProperty']('dataPipeline:transparentRendering',!0x0,_0x4eb256),_0x4eb256;}}));}['_defineKeyboardHandlers'](){const {editor:_0x152b20}=this,{editing:_0xf0fe5c,t:t}=_0x152b20,_0x31422b=_0x152b20['model']['document']['selection'];_0x152b20['keystrokes']['set']('Ctrl+Alt+F','insertFootnote'),_0x152b20['accessibility']['addKeystrokeInfos']({'keystrokes':[{'label':t('Insert\x20footnote'),'keystroke':'Ctrl+Alt+F'}]}),this['listenTo'](_0xf0fe5c['view']['document'],'enter',(_0x1f5767,_0x2893c9)=>{const _0x180624=function(_0x35462c){const _0x5de878=_0x35462c['getSelectedElement']();if(_0x5de878?.['is']('element','footnoteRef'))return _0x5de878;return null;}(_0x31422b);if(_0x180624){const _0x1d7f42=_0x180624['getAttribute']('footnoteId');this['_moveSelectionToFootnoteDefinition'](_0x1d7f42),_0x2893c9['preventDefault'](),_0x1f5767['stop']();}},{'context':_0x35cee1});}['_defineClickHandlers'](){const {editor:_0x1ee114}=this,{editing:_0x24d8e7}=_0x1ee114;_0x1ee114['editing']['view']['addObserver'](_0x5a7bca),_0x1ee114['editing']['view']['addObserver'](_0x11c995);let _0x580ca1=!0x1;this['listenTo'](_0x24d8e7['view']['document'],'pointerdown',(_0x4bfa2c,_0x447133)=>{const {target:_0xe26008}=_0x447133,_0x18a94e=_0x24d8e7['view']['document']['selection'];_0x580ca1=!!(_0xe26008?.['is']('element','a')&&_0xe26008['parent']?.['is']('element','sup')&&_0xe26008['parent']['hasClass']('footnote'))&&_0x18a94e['getSelectedElement']()===_0xe26008['parent'];},{'priority':'high'}),this['listenTo'](_0x24d8e7['view']['document'],'click',(_0x56f3a6,_0x3bd2fa)=>{const {target:_0x47a516}=_0x3bd2fa;if(!_0x47a516?.['is']('element','a'))return;if(_0x47a516['parent']?.['is']('element','sup')&&_0x47a516['parent']['hasClass']('footnote')&&!_0x580ca1)return void _0x3bd2fa['preventDefault']();let _0x1bbb80=_0x47a516['getAttribute']('href');if(!_0x1bbb80?.['startsWith']('#'))return;_0x1bbb80=_0x1bbb80['slice'](0x1);let _0x5bb0ad=!0x1;(_0x1bbb80['startsWith']('ref-')&&this['_moveSelectionToFootnoteReference'](_0x1bbb80['slice'](0x4))||this['_moveSelectionToFootnoteDefinition'](_0x1bbb80))&&(_0x5bb0ad=!0x0),_0x5bb0ad&&(_0x3bd2fa['preventDefault'](),_0x56f3a6['stop']());},{'priority':'high','context':'$capture'});}}function h({dataPipeline:_0x55e096}={}){return(_0x4d2d82,{writer:_0x3912a2})=>{if(!p(_0x4d2d82))return null;if(!_0x55e096)return _0x3912a2['createContainerElement']('span',{'class':'ck-footnote-bogus-paragraph'});const _0x14bf7d=_0x3912a2['createContainerElement']('p');return _0x3912a2['setCustomProperty']('dataPipeline:transparentRendering',!0x0,_0x14bf7d),_0x14bf7d;};}function p(_0x3ffda2){const {parent:_0x18db47}=_0x3ffda2;if(!_0x18db47?.['is']('element','footnoteDefinition'))return!0x1;if(0x1!=_0x18db47['childCount'])return!0x1;for(const _0x6d3dde of _0x3ffda2['getAttributeKeys']())if(!_0x6d3dde['startsWith']('selection:')&&'htmlEmptyBlock'!=_0x6d3dde)return!0x1;return!0x0;}function g(_0x6cce9c,_0x397604){if(!_0x6cce9c['is']('element','paragraph'))return!0x1;const _0x4ee3f3=_0x397604['toViewElement'](_0x6cce9c);return!!_0x4ee3f3&&p(_0x6cce9c)!==_0x4ee3f3['is']('element','span');}function J(_0x5c6356){return _0x35cee1(_0x5c6356)&&_0x5c6356['is']('containerElement')&&!!_0x5c6356['getCustomProperty']('footnotesDefinitions');}function v(_0x4eca96,_0x1826d6={}){const _0x12e8f3=_0x4eca96['createEmptyElement']('hr',{'class':'footnotes-divider'}),_0x39d2b2=_0x4eca96['createContainerElement']('ol',{'class':'footnotes-list'},_0x4eca96['createSlot']());return _0x4eca96['createContainerElement']('div',{'class':'footnotes',..._0x1826d6},[_0x12e8f3,_0x39d2b2]);}function D(_0xb6adda,_0x419eb0){const _0x35096d=_0xb6adda['getAttribute']('footnoteId'),_0x4b7465=_0xb6adda['getAttribute']('footnoteCounter'),_0xe2d33=_0x419eb0['createUIElement']('a',{'href':'#'+_0x35096d},function(_0x4c0620){const _0x2d3850=this['toDomElement'](_0x4c0620);return _0x2d3850['textContent']=_0x4b7465,_0x2d3850;}),_0x1afc31=_0x419eb0['createContainerElement']('sup',{'id':'ref-'+_0x35096d,'class':'footnote'},[_0xe2d33]);return _0x1afc31['getFillerOffset']=()=>null,_0x1afc31;}function b(_0x23964f,_0x25d729,_0x2330b4,{dataPipeline:_0x4cc8f0}={}){const {t:t}=_0x2330b4,_0x2cf72b=_0x23964f['getAttribute']('footnoteId'),_0x2d5d83=_0x25d729['createUIElement']('a',{'class':'footnote-backlink','href':'#ref-'+_0x2cf72b},function(_0x2f95a9){const _0xff1814=this['toDomElement'](_0x2f95a9);return _0xff1814['innerText']='^',_0xff1814;}),_0x435f0d=_0x4cc8f0?_0x25d729['createContainerElement']('div',{'class':'footnote-content'}):_0x2b2405(_0x25d729['createEditableElement']('div',{'class':'footnote-content'}),_0x25d729,{'label':t('Footnote\x20content.')});return _0x25d729['insert'](_0x25d729['createPositionAt'](_0x435f0d,0x0),_0x25d729['createSlot']()),_0x25d729['createContainerElement']('li',{'class':'footnote-definition','id':_0x2cf72b},[_0x2d5d83,_0x435f0d]);}class e extends _0x5913ea{static get['pluginName'](){return'FootnotesClipboard';}static get['requires'](){return[r,_0x46ff11];}static get['isOfficialPlugin'](){return!0x0;}static get['isPremiumPlugin'](){return!0x0;}['init'](){this['_defineClipboardIntegration']();}['_defineClipboardIntegration'](){this['_handleCopyFootnotesDefinitions'](),this['_handlePasteFootnotesDefinitions']();}['_handleCopyFootnotesDefinitions'](){const {editor:_0x66c93a}=this,{plugins:_0x167192,model:_0x30f0e3}=_0x66c93a,_0x22c6e6=_0x167192['get'](_0x46ff11),_0x2ecd09=_0x167192['get'](c);this['listenTo'](_0x22c6e6,'outputTransformation',(_0x3b400d,_0x534264)=>{const _0x365633=f(_0x30f0e3['createRangeIn'](_0x534264['content']));if(!_0x365633['length'])return;const _0x5e1e0e=_0x2ecd09['getFootnotes'](),_0x5748db=_0x365633['reduce']((_0x1cd3a1,_0x2109a8)=>{const _0x587810=_0x5e1e0e['find'](_0x8d6b6d=>_0x8d6b6d['id']===_0x2109a8);if(_0x587810){const _0x4472a2=_0x66c93a['data']['toView'](_0x587810['definition'],{'isClipboardPipeline':!0x0}),_0x1068da=_0x66c93a['data']['htmlProcessor']['toData'](_0x4472a2);_0x1cd3a1[_0x587810['id']]=_0x1068da;}return _0x1cd3a1;},Object['create'](null));_0x534264['dataTransfer']['setData']('application/ckeditor5-footnotes',JSON['stringify'](_0x5748db));});}['_handlePasteFootnotesDefinitions'](){const {editor:_0x1a76b5}=this,{model:_0x1aba01,plugins:_0x398e26}=_0x1a76b5,{view:_0x1f4b05}=_0x1a76b5['editing'],_0x5c73ba=_0x398e26['get'](_0x46ff11),_0x3670cb=_0x398e26['get'](c);let _0x5b82ab=null;this['listenTo'](_0x1f4b05['document'],'clipboardInput',(_0x340b2e,_0x172e97)=>{const _0x26c404=_0x172e97['dataTransfer']['getData']('application/ckeditor5-footnotes');_0x5b82ab=_0x26c404?JSON['parse'](_0x26c404):null;}),this['listenTo'](_0x5c73ba,'contentInsertion',(_0x2c93f0,_0x2c0da0)=>{const _0x25442b=_0x2c0da0['sourceEditorId']===this['editor']['id'];_0x25442b&&'drop'===_0x2c0da0['method']||_0x1aba01['change'](_0x56a857=>{let _0xfdb3d4=_0x3670cb['getFootnotesDefinitionsObjectElement']();const _0x2af0c1=!!_0xfdb3d4&&Array['from'](_0x1aba01['document']['selection']['getSelectedBlocks']())['includes'](_0xfdb3d4);if((_0xfdb3d4&&!_0x2af0c1||!_0xfdb3d4&&!_0x5b82ab)&&function(_0xe3b8df,_0xb8c269){const _0x4ce730=[];for(const {item:_0x2803d0}of _0xe3b8df['createRangeIn'](_0xb8c269))_0x2803d0['is']('element','footnotesDefinitions')&&_0x4ce730['push'](_0x2803d0);for(const _0x5a8b49 of _0x4ce730)_0xe3b8df['remove'](_0x5a8b49);}(_0x56a857,_0x2c0da0['content']),!_0x5b82ab)return;const {selection:_0x4db621}=_0x1aba01['document'],_0x49a677=_0x4db621['getFirstRange']()['root'];_0xfdb3d4&&!_0x2af0c1||(_0xfdb3d4=function(_0x2fd87b,_0x2928e3){for(const {item:_0x4e9736}of _0x2fd87b['createRangeIn'](_0x2928e3))if(_0x4e9736['is']('element','footnotesDefinitions'))return _0x4e9736;return null;}(_0x56a857,_0x2c0da0['content']),_0xfdb3d4||=_0x3670cb['_insertEmptyFootnotesDefinitionsContainer'](_0x56a857,_0x49a677));const _0x6c2237=Array['from'](_0x4db621['getRanges']())['flatMap'](f),_0x36d0de=function(_0x3d3923,_0x5473e8,_0x3cf585){const _0x3fd861=Object['create'](null);for(const {item:_0x22f441}of _0x3d3923['createRangeIn'](_0x5473e8))if(_0x22f441['is']('element','footnoteRef')){const _0x303d38=_0x22f441['getAttribute']('footnoteId');if(!_0x3cf585(_0x303d38))continue;_0x3fd861[_0x303d38]||(_0x3fd861[_0x303d38]=_0x25d1da()),_0x3d3923['setAttribute']('footnoteId',_0x3fd861[_0x303d38],_0x22f441);}return _0x3fd861;}(_0x56a857,_0x2c0da0['content'],_0x32311e=>{if(!_0x25442b)return!0x0;return!!_0x3670cb['getFootnote'](_0x32311e)&&!_0x6c2237['includes'](_0x32311e);});for(const [_0x2cbe93,_0x22a56a]of Object['entries'](_0x5b82ab)){const _0x9af0d3=_0x36d0de[_0x2cbe93]||_0x2cbe93,_0x11e2fa=_0x56a857['createElement']('footnoteDefinition',{'footnoteId':_0x9af0d3}),_0x380422=_0x1a76b5['data']['htmlProcessor']['toView'](_0x22a56a),_0x342003=_0x1a76b5['data']['toModel'](_0x380422,_0x11e2fa);_0x56a857['append'](_0x342003,_0x11e2fa),_0x56a857['insert'](_0x11e2fa,_0xfdb3d4,'end');}_0x5b82ab=null;});});}}function f(_0x47e46b){const _0x37d153=new Set();for(const {item:_0x4f82b6}of _0x47e46b)_0x4f82b6['is']('element','footnoteRef')&&_0x37d153['add'](_0x4f82b6['getAttribute']('footnoteId'));return Array['from'](_0x37d153);}class i extends _0x5913ea{['licenseKey'];['_licenseKeyCheckInterval'];static get['pluginName'](){return'FootnotesUI';}static get['isOfficialPlugin'](){return!0x0;}static get['isPremiumPlugin'](){return!0x0;}['init'](){const {editor:_0xd6b28c}=this,{componentFactory:_0x32e316}=_0xd6b28c['ui'];_0x32e316['add']('insertFootnote',x(_0xd6b28c,_0x431485)),_0x32e316['add']('menuBar:insertFootnote',x(_0xd6b28c,_0x408cf1)),this['licenseKey']=this['editor']['config']['get']('licenseKey');const _0x3fd7f6=this['editor'];this['_licenseKeyCheckInterval']=setInterval(()=>{let _0x255c1f;for(const _0x8d84ff in _0x3fd7f6){const _0x1b0105=_0x8d84ff,_0x839a75=_0x3fd7f6[_0x1b0105];if('footnotesLicenseKeyValid'==_0x839a75||'footnotesLicenseKeyInvalid'==_0x839a75||'footnotesLicenseKeyExpired'==_0x839a75||'footnotesLicenseKeyDomainLimit'==_0x839a75||'footnotesLicenseKeyNotAllowed'==_0x839a75||'footnotesLicenseKeyEvaluationLimit'==_0x839a75||'footnotesLicenseKeyTrialLimit'==_0x839a75||'footnotesLicenseKeyUsageLimit'==_0x839a75){delete _0x3fd7f6[_0x1b0105],_0x255c1f=_0x839a75,clearInterval(this['_licenseKeyCheckInterval']),this['_licenseKeyCheckInterval']=void 0x0;break;}}'footnotesLicenseKeyInvalid'==_0x255c1f&&_0x3fd7f6['_showLicenseError']('invalid'),'footnotesLicenseKeyExpired'==_0x255c1f&&_0x3fd7f6['_showLicenseError']('expired'),'footnotesLicenseKeyDomainLimit'==_0x255c1f&&_0x3fd7f6['_showLicenseError']('domainLimit'),'footnotesLicenseKeyNotAllowed'==_0x255c1f&&_0x3fd7f6['_showLicenseError']('featureNotAllowed','Footnotes'),'footnotesLicenseKeyEvaluationLimit'==_0x255c1f&&_0x3fd7f6['_showLicenseError']('evaluationLimit'),'footnotesLicenseKeyTrialLimit'==_0x255c1f&&_0x3fd7f6['_showLicenseError']('trialLimit'),'footnotesLicenseKeyUsageLimit'==_0x255c1f&&_0x3fd7f6['_showLicenseError']('usageLimit');},0x3e8);}['destroy'](){super['destroy'](),this['_licenseKeyCheckInterval']&&clearInterval(this['_licenseKeyCheckInterval']);}}function x(_0x481918,_0x44752d){const _0x5dd3e5=_0x481918['commands']['get']('insertFootnote');return _0x3edd8f=>{const {t:t}=_0x3edd8f,_0x527c50=new _0x44752d(_0x3edd8f),_0x48a2b2=_0x527c50 instanceof _0x408cf1;return _0x527c50['bind']('isEnabled')['to'](_0x5dd3e5,'isEnabled'),_0x527c50['set']({'label':t(_0x48a2b2?'Footnote':'Insert\x20footnote'),'icon':_0x263975,'tooltip':!0x0}),_0x527c50['on']('execute',()=>{_0x5dd3e5['execute'](),_0x481918['editing']['view']['focus']();}),_0x527c50;};}class lt extends _0x5913ea{static get['pluginName'](){return'Footnotes';}static get['requires'](){return[r,e,i];}static get['isOfficialPlugin'](){return!0x0;}static get['isPremiumPlugin'](){return!0x0;}}const nt=['decimal','decimal-leading-zero','lower-latin','upper-latin','lower-alpha','upper-alpha','lower-roman','upper-roman'];class S extends _0x140aa0{['refresh'](){const {editor:_0x5421f7}=this,_0x3556a1=_0x5421f7['plugins']['get'](c)['getFootnotesDefinitionsObjectElement']();this['isEnabled']=!!_0x3556a1,this['value']=_0x3556a1?.['getAttribute']('footnotesListStyle')??null;}['execute']({value:_0x271205}){const {editor:_0x293c67}=this,_0x163111=_0x293c67['plugins']['get'](c),_0x1cc2ba=_0x163111['getFootnotesDefinitionsObjectElement']();_0x1cc2ba&&nt['includes'](_0x271205)&&_0x293c67['model']['change'](_0x5a9d28=>{_0x5a9d28['setAttribute']('footnotesListStyle',_0x271205,_0x1cc2ba),_0x163111['_updateFootnotesCounters'](_0x5a9d28);});}}class C extends _0x140aa0{['refresh'](){const {editor:_0x383ce1}=this,_0x13ad63=_0x383ce1['plugins']['get'](c)['getFootnotesDefinitionsObjectElement']();this['isEnabled']=!!_0x13ad63,this['value']=_0x13ad63?.['getAttribute']('footnotesListStart')??null;}['execute']({value:_0x461907}){const {editor:_0x683251}=this,_0x30dab2=_0x683251['plugins']['get'](c),_0x5b295d=_0x30dab2['getFootnotesDefinitionsObjectElement']();_0x5b295d&&Number['isInteger'](_0x461907)&&_0x683251['model']['change'](_0x498e7a=>{_0x498e7a['setAttribute']('footnotesListStart',_0x461907,_0x5b295d),_0x30dab2['_updateFootnotesCounters'](_0x498e7a);});}}class P extends _0x5913ea{static get['pluginName'](){return'FootnotesPropertiesEditing';}static get['requires'](){return[r,c];}static get['isOfficialPlugin'](){return!0x0;}static get['isPremiumPlugin'](){return!0x0;}['init'](){const {editor:_0x2167f3}=this;_0x2167f3['config']['define']('footnotes.footnotesProperties.defaultListStyle','decimal'),_0x2167f3['config']['define']('footnotes.footnotesProperties.defaultStartIndex',0x1),_0x2167f3['commands']['add']('footnotesStyle',new S(_0x2167f3)),_0x2167f3['commands']['add']('footnotesStart',new C(_0x2167f3)),this['_defineSchema'](),this['_defineConverters'](),this['_defineFormatter'](),this['_definePostfixer']();}['_defineSchema'](){const {editor:_0x659f34}=this,{schema:_0x16bc5e}=_0x659f34['model'];_0x16bc5e['extend']('footnotesDefinitions',{'allowAttributes':['footnotesListStyle','footnotesListStart']});}['_defineConverters'](){const {editor:_0x2ffe08}=this,{conversion:_0x293bdd,model:_0x3bebc6}=_0x2ffe08,{schema:_0x13c2ec}=_0x3bebc6;_0x293bdd['for']('upcast')['add'](_0x3c6e22=>{_0x3c6e22['on']('element:ol',(_0x1e5f00,_0x59a93c,_0x4aa9bb)=>{const _0x211a7f=_0x59a93c['viewItem'],_0x1ad6a3=_0x59a93c['modelCursor']?.['parent'];_0x211a7f['hasClass']('footnotes-list')&&_0x1ad6a3?.['is']('element','footnotesDefinitions')&&(function(_0x3ae9e8,_0x57fa63,_0x1ec49f,_0x374424){if(!_0x374424['checkAttribute'](_0x57fa63,'footnotesListStart'))return;let _0x4cd1b7=0x1;const _0x121a34=_0x1ec49f['consumable']['consume'](_0x3ae9e8,{'attributes':'start'});if(_0x121a34){const _0x563316=Number['parseInt'](_0x3ae9e8['getAttribute']('start'),0xa);Number['isNaN'](_0x563316)||(_0x4cd1b7=_0x563316);}!_0x121a34&&_0x57fa63['hasAttribute']('footnotesListStart')||_0x1ec49f['writer']['setAttribute']('footnotesListStart',_0x4cd1b7,_0x57fa63);}(_0x211a7f,_0x1ad6a3,_0x4aa9bb,_0x13c2ec),function(_0x1704c5,_0x17e1fe,_0x23ac83,_0x14a82c){if(!_0x14a82c['checkAttribute'](_0x17e1fe,'footnotesListStyle'))return;let _0x4fafe4='decimal',_0x2950b7=!0x1;if(_0x23ac83['consumable']['consume'](_0x1704c5,{'attributes':'type'})){const _0xb310fc={0x1:'decimal','a':'lower-alpha','A':'upper-alpha','i':'lower-roman','I':'upper-roman'}[_0x1704c5['getAttribute']('type')];_0xb310fc&&(_0x4fafe4=_0xb310fc),_0x2950b7=!0x0;}_0x23ac83['consumable']['consume'](_0x1704c5,{'styles':'list-style-type'})&&(_0x4fafe4=_0x1704c5['getStyle']('list-style-type'),_0x2950b7=!0x0),!_0x2950b7&&_0x17e1fe['hasAttribute']('footnotesListStyle')||_0x23ac83['writer']['setAttribute']('footnotesListStyle',_0x4fafe4,_0x17e1fe);}(_0x211a7f,_0x1ad6a3,_0x4aa9bb,_0x13c2ec));});}),_0x293bdd['for']('downcast')['add'](_0x5c3595=>{_0x5c3595['on']('attribute:footnotesListStart:footnotesDefinitions',(_0x2dc3b3,_0x21acc9,_0x352631)=>{if(!_0x352631['consumable']['consume'](_0x21acc9['item'],_0x2dc3b3['name']))return;const _0x20fa64=M(_0x21acc9['item'],_0x352631['mapper']),{attributeNewValue:_0x33ff18}=_0x21acc9;null==_0x33ff18||0x1===_0x33ff18?_0x352631['writer']['removeAttribute']('start',_0x20fa64):_0x352631['writer']['setAttribute']('start',String(_0x33ff18),_0x20fa64);}),_0x5c3595['on']('attribute:footnotesListStyle:footnotesDefinitions',(_0x4ffe93,_0x36bea4,_0x7d692d)=>{if(!_0x7d692d['consumable']['consume'](_0x36bea4['item'],_0x4ffe93['name']))return;const _0x214a39=M(_0x36bea4['item'],_0x7d692d['mapper']),{attributeNewValue:_0x11a1a1}=_0x36bea4;_0x11a1a1&&'decimal'!==_0x11a1a1?_0x7d692d['writer']['setStyle']('list-style-type',_0x11a1a1,_0x214a39):_0x7d692d['writer']['removeStyle']('list-style-type',_0x214a39);});});}['_definePostfixer'](){const {editor:_0x2e33c8}=this,{model:_0x3fab60}=_0x2e33c8,_0x6abab2=_0x2e33c8['plugins']['get'](c),_0x218373=this['_getDefaultListStyle'](),_0x208090=this['_getDefaultStartIndex']();_0x3fab60['document']['registerPostFixer'](_0x29811e=>{const _0x46e51d=_0x3fab60['document']['differ']['getChanges']();let _0x10b43e=!0x1;for(const _0x4bbcd3 of _0x46e51d){if('insert'!==_0x4bbcd3['type']||'$text'===_0x4bbcd3['name'])continue;const _0x8a0c72=_0x3fab60['createRangeOn'](_0x4bbcd3['position']['nodeAfter']);for(const _0x3825dc of _0x8a0c72['getItems']())_0x3825dc['is']('element','footnotesDefinitions')&&(!_0x3825dc['hasAttribute']('footnotesListStart')&&_0x3fab60['schema']['checkAttribute'](_0x3825dc,'footnotesListStart')&&(_0x29811e['setAttribute']('footnotesListStart',_0x208090,_0x3825dc),_0x10b43e=!0x0),!_0x3825dc['hasAttribute']('footnotesListStyle')&&_0x3fab60['schema']['checkAttribute'](_0x3825dc,'footnotesListStyle')&&(_0x29811e['setAttribute']('footnotesListStyle',_0x218373,_0x3825dc),_0x10b43e=!0x0));}return _0x10b43e&&_0x6abab2['_updateFootnotesCounters'](_0x29811e),_0x10b43e;});}['_defineFormatter'](){const {editor:_0x275ce1}=this;_0x275ce1['plugins']['get'](c)['setFootnoteFormatter'](_0x3c8c42=>this['_formatFootnoteListValue'](_0x3c8c42));}['_getDefaultListStyle'](){return this['editor']['config']['get']('footnotes.footnotesProperties.defaultListStyle');}['_getDefaultStartIndex'](){return this['editor']['config']['get']('footnotes.footnotesProperties.defaultStartIndex');}['_formatFootnoteListValue']({container:_0x56afa0,value:_0x43793a,digits:_0x4116ea}){const _0x366074=_0x56afa0['getAttribute']('footnotesListStyle'),_0x3c1423=_0x56afa0['getAttribute']('footnotesListStart'),_0x4e2cda=Math['floor'](_0x43793a)+(_0x3c1423??0x1)-0x1;switch(_0x366074){case'decimal-leading-zero':return function(_0x1429c3,_0x135094){return String(_0x1429c3)['padStart'](_0x135094,'0');}(_0x4e2cda,Math['max'](0x2,_0x4116ea));case'lower-alpha':case'lower-latin':return N(_0x4e2cda,!0x1);case'upper-alpha':case'upper-latin':return N(_0x4e2cda,!0x0);case'lower-roman':return X(_0x4e2cda,!0x1);case'upper-roman':return X(_0x4e2cda,!0x0);default:return String(_0x4e2cda);}}}function M(_0x2faa53,_0x547b24){const _0x4752cb=_0x547b24['toViewElement'](_0x2faa53);return Array['from'](_0x4752cb['getChildren']())['find'](_0x3f9742=>_0x3f9742['is']('element','ol')&&_0x3f9742['hasClass']('footnotes-list'));}function N(_0x17fb10,_0x4b7d3a){let _0x249862='',_0x4046aa=_0x17fb10;for(;_0x4046aa>0x0;){const _0x3ec334=(_0x4046aa-0x1)%0x1a;_0x249862=String['fromCharCode'](0x61+_0x3ec334)+_0x249862,_0x4046aa=Math['floor']((_0x4046aa-0x1)/0x1a);}return _0x4b7d3a?_0x249862['toUpperCase']():_0x249862;}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(_0x36266d,_0x431408){let _0x470831='',_0xd3a40d=_0x36266d;for(const {value:_0x397fbd,numeral:_0x494bb6}of V)for(;_0xd3a40d>=_0x397fbd;)_0x470831+=_0x494bb6,_0xd3a40d-=_0x397fbd;return _0x431408?_0x470831:_0x470831['toLowerCase']();}class H extends _0x1e5d32{['children'];['stylesView']=null;['additionalProperties']=null;['startIndexFieldView']=null;['focusTracker']=new et();['keystrokes']=new ot();['focusables']=new _0x3eddb9();['focusCycler'];constructor(_0x4dbd66,{styleButtonViews:_0x2a7dd1,styleGridAriaLabel:_0xd0e67c}){super(_0x4dbd66),(this['focusCycler']=new _0x5f1fd9({'focusables':this['focusables'],'focusTracker':this['focusTracker'],'keystrokeHandler':this['keystrokes'],'actions':{'focusPrevious':'shift\x20+\x20tab','focusNext':'tab'}}),this['children']=this['createCollection'](),this['stylesView']=this['_appendStylesView'](_0x2a7dd1,_0xd0e67c),[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 _0x58ee47 of this['stylesView']['children'])this['stylesView']['focusTracker']['add'](_0x58ee47['element']);_0x3de560({'keystrokeHandler':this['stylesView']['keystrokes'],'focusTracker':this['stylesView']['focusTracker'],'gridItems':this['stylesView']['children'],'numberOfColumns':()=>rt['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 _0x3f6b89=_0x5dd6e7=>_0x5dd6e7['stopPropagation']();this['keystrokes']['set']('arrowright',_0x3f6b89),this['keystrokes']['set']('arrowleft',_0x3f6b89),this['keystrokes']['set']('arrowup',_0x3f6b89),this['keystrokes']['set']('arrowdown',_0x3f6b89);}this['keystrokes']['listenTo'](this['element']);}['focus'](){this['focusCycler']['focusFirst']();}['focusLast'](){this['focusCycler']['focusLast']();}['destroy'](){super['destroy'](),this['focusTracker']['destroy'](),this['keystrokes']['destroy']();}['_appendStylesView'](_0x13886d,_0x548808){const _0x12d008=new _0x1e5d32(this['locale']);return _0x12d008['children']=_0x12d008['createCollection'](),_0x12d008['children']['addMany'](_0x13886d),_0x12d008['setTemplate']({'tag':'div','attributes':{'aria-label':_0x548808,'class':['ck','ck-footnotes-definitions-styles-list']},'children':_0x12d008['children']}),_0x12d008['children']['delegate']('execute')['to'](this),_0x12d008['focus']=function(){for(const _0x3353c6 of this['children'])if(_0x3353c6 instanceof _0x431485&&_0x3353c6['isOn'])return void _0x3353c6['focus']();this['children']['first']['focus']();},_0x12d008['focusTracker']=new et(),_0x12d008['keystrokes']=new ot(),_0x12d008['render'](),_0x12d008['keystrokes']['listenTo'](_0x12d008['element']),this['children']['add'](_0x12d008),_0x12d008;}['_appendAdditionalPropertiesCollapsibleView'](){const {t:t}=this['locale'],_0x18c3b9=this['_createStartIndexPropertyView'](),_0x42260f=[_0x18c3b9],_0x3c78cf=new tt(this['locale'],_0x42260f);return _0x3c78cf['set']({'label':t('Footnotes\x20properties'),'isCollapsed':!0x0}),_0x3c78cf['buttonView']['bind']('isEnabled')['toMany'](_0x42260f,'isEnabled',(..._0x1d089a)=>_0x1d089a['some'](_0x200f80=>_0x200f80)),_0x3c78cf['buttonView']['on']('change:isEnabled',(_0x3870be,_0x34ae03,_0x48cc17)=>{_0x48cc17||(_0x3c78cf['isCollapsed']=!0x0);}),this['children']['add'](_0x3c78cf),[_0x18c3b9,_0x3c78cf];}['_createStartIndexPropertyView'](){const {t:t}=this['locale'],_0x225429=new st(this['locale'],it);return _0x225429['set']({'label':t('Footnotes\x20start\x20at'),'class':'ck-footnotes-definitions-properties__start-index'}),_0x225429['fieldView']['set']({'min':0x0,'max':Math['pow'](0x2,0x1e),'step':0x1,'value':0x1,'inputMode':'numeric'}),_0x225429['fieldView']['on']('input',()=>{const _0x5495b7=_0x225429['fieldView']['element'],_0x7edada=_0x5495b7['valueAsNumber'];Number['isNaN'](_0x7edada)?_0x225429['errorText']=t('Invalid\x20footnotes\x20start\x20index\x20value.'):_0x5495b7['checkValidity']()?this['fire']('footnotesListStart',{'startIndex':_0x7edada}):_0x225429['errorText']=t(_0x7edada<0x0?'Footnotes\x20start\x20index\x20must\x20be\x20greater\x20than\x200.':'Footnotes\x20start\x20index\x20is\x20too\x20large.');}),_0x225429;}}class j extends _0x5913ea{static get['pluginName'](){return'FootnotesPropertiesUI';}static get['requires'](){return[_0x42ed25,_0x1dcbe7];}static get['isOfficialPlugin'](){return!0x0;}static get['isPremiumPlugin'](){return!0x0;}['init'](){const {editor:_0x4dd3aa}=this,{componentFactory:_0x1c46eb}=_0x4dd3aa['ui'];_0x4dd3aa['config']['define']('footnotes.footnotesProperties.toolbar',['footnotesStyle']),_0x1c46eb['add']('footnotesStyle',function(_0x2ce706){return _0xe78585=>{const {t:t}=_0xe78585,_0x2e17cf=_0x2ce706['commands']['get']('footnotesStyle'),_0x557555=_0x235e41(_0xe78585),{buttonView:_0x5041c9}=_0x557555;return _0x557555['class']='ck-footnotes-styles-dropdown',_0x557555['bind']('isEnabled')['to'](_0x2e17cf,'isEnabled'),_0x5041c9['set']({'label':t('Footnotes\x20style'),'icon':_0x263975,'tooltip':!0x0}),_0x557555['once']('change:isOpen',()=>{const _0x183533=function({editor:_0x2e55ca,dropdownView:_0x4bf5cd}){const {t:t}=_0x2e55ca['locale'],_0xd20610=t('Footnotes\x20definitions\x20styles'),_0x57a38e=function(_0x57297b){const t=_0x57297b['locale']['t'],_0x3233d3=[{'label':t('Toggle\x20the\x20decimal\x20footnotes\x20style'),'tooltip':t('Decimal\x20footnotes'),'style':'decimal','icon':_0x413f87},{'label':t('Toggle\x20the\x20decimal\x20with\x20leading\x20zero\x20footnotes\x20style'),'tooltip':t('Decimal\x20footnotes\x20with\x20leading\x20zero'),'style':'decimal-leading-zero','icon':_0x1ddf55},{'label':t('Toggle\x20the\x20lower–roman\x20footnotes\x20style'),'tooltip':t('Lower–roman\x20footnotes'),'style':'lower-roman','icon':_0x2ec325},{'label':t('Toggle\x20the\x20upper–roman\x20footnotes\x20style'),'tooltip':t('Upper-roman\x20footnotes'),'style':'upper-roman','icon':_0x16ae62},{'label':t('Toggle\x20the\x20lower–latin\x20footnotes\x20style'),'tooltip':t('Lower-latin\x20footnotes'),'style':'lower-latin','icon':_0x1bb37b},{'label':t('Toggle\x20the\x20upper–latin\x20footnotes\x20style'),'tooltip':t('Upper-latin\x20footnotes'),'style':'upper-latin','icon':_0x155f2b}];return _0x3233d3['map'](function(_0x4fc4ad){const _0x69895e=_0x4fc4ad['locale'];return({label:_0x38e6fd,icon:_0x509da3,tooltip:_0x3f03c2,style:_0x4dafa2})=>{const _0xff735a=_0x4fc4ad['commands']['get']('footnotesStyle'),_0x4f454f=new _0x431485(_0x69895e);return _0x4f454f['set']({'label':_0x38e6fd,'icon':_0x509da3,'tooltip':_0x3f03c2}),_0x4f454f['bind']('isOn')['to'](_0xff735a,'value',_0x363e9f=>_0x363e9f===_0x4dafa2),_0x4f454f['bind']('isEnabled')['to'](_0xff735a,'isEnabled'),_0x4f454f['on']('execute',()=>{_0x4fc4ad['execute']('footnotesStyle',{'value':_0x4dafa2}),_0x4fc4ad['editing']['view']['focus']();}),_0x4f454f;};}(_0x57297b));}(_0x2e55ca),_0x483474=new H(_0x2e55ca['locale'],{'styleGridAriaLabel':_0xd20610,'styleButtonViews':_0x57a38e});return _0x483474['delegate']('execute')['to'](_0x4bf5cd),_0x483474['on']('footnotesListStart',(_0x5eb49f,_0xd19dfb)=>{_0x2e55ca['execute']('footnotesStart',{'value':_0xd19dfb['startIndex']});}),_0x483474;}({'editor':_0x2ce706,'dropdownView':_0x557555});_0x557555['panelView']['children']['add'](_0x183533);}),_0x557555;};}(_0x4dd3aa));}['afterInit'](){const {editor:_0x1484fc}=this,{t:t}=_0x1484fc['locale'],_0x1ca64c=_0x1484fc['plugins']['get'](_0x1dcbe7),{defaultPositions:_0x163eaf}=_0x53c802;_0x1ca64c['register']('footnotesDefinitions',{'ariaLabel':t('Footnotes\x20definitions\x20toolbar'),'items':_0x1484fc['config']['get']('footnotes.footnotesProperties.toolbar'),'balloonClassName':'ck-footnotes-style-balloon\x20ck-toolbar-container','getRelatedElement':_0x14b154=>{let _0x1522a3=_0x14b154['getFirstPosition']()?.['parent'];return _0x1522a3?.['is']('$text')&&(_0x1522a3=_0x1522a3['parent']),_0x1522a3?.['is']('element')?_0x1522a3['findAncestor'](J):null;},'positions':[_0x163eaf['southArrowNorth'],_0x163eaf['southArrowNorthMiddleWest'],_0x163eaf['southArrowNorthMiddleEast'],_0x163eaf['southArrowNorthWest'],_0x163eaf['southArrowNorthEast'],_0x163eaf['northArrowSouth'],_0x163eaf['northArrowSouthMiddleWest'],_0x163eaf['northArrowSouthMiddleEast'],_0x163eaf['northArrowSouthWest'],_0x163eaf['northArrowSouthEast'],_0x163eaf['viewportStickyNorth']]});}}class ft extends _0x5913ea{static get['pluginName'](){return'FootnotesProperties';}static get['requires'](){return[P,j];}static get['isOfficialPlugin'](){return!0x0;}static get['isPremiumPlugin'](){return!0x0;}}export{lt as Footnotes,e as FootnotesClipboard,r as FootnotesEditing,ft as FootnotesProperties,P as FootnotesPropertiesEditing,j as FootnotesPropertiesUI,C as FootnotesStartCommand,S as FootnotesStyleCommand,c as FootnotesTracker,i as FootnotesUI,m as InsertFootnoteCommand};
23
+ import{Plugin as _0x52e44c,Command as _0x3cb3b7}from'@ckeditor/ckeditor5-core/dist/index.js';import{toWidget as _0x1582b4,isWidget as _0x273985,toWidgetEditable as _0x36fa19,WidgetToolbarRepository as _0x173b91}from'@ckeditor/ckeditor5-widget/dist/index.js';import{uid as _0x5dc44d,logWarning as _0x40c30d,FocusTracker as ot,KeystrokeHandler as rt,global as nt}from'@ckeditor/ckeditor5-utils/dist/index.js';import{PointerObserver as _0x3ca166,ClickObserver as _0x3bb26c}from'@ckeditor/ckeditor5-engine/dist/index.js';import{ClipboardPipeline as _0x3876f2}from'@ckeditor/ckeditor5-clipboard/dist/index.js';import{MenuBarMenuListItemButtonView as _0x460067,ButtonView as _0x496485,View as _0x22f9b0,ViewCollection as _0x2cf7f6,FocusCycler as _0x544685,addKeyboardHandlingForGrid as tt,CollapsibleView as st,LabeledFieldView as it,createLabeledInputNumber as et,ContextualBalloon as _0x287001,BalloonPanelView as _0x294ccd,createDropdown as _0x4cd4e9}from'@ckeditor/ckeditor5-ui/dist/index.js';import{IconFootnote as _0x90bab4,IconListStyleDecimal as _0xe756e3,IconListStyleDecimalLeadingZero as _0x294ba6,IconListStyleLowerRoman as _0x5774aa,IconListStyleUpperRoman as _0x2fc102,IconListStyleLowerLatin as _0x417622,IconListStyleUpperLatin as _0x47dd7a}from'@ckeditor/ckeditor5-icons/dist/index.js';class F{['_model'];['_elementName'];['_getElementKey'];['_trackedElements']=new Map();constructor(_0x1dbc3c,_0x2b1ac7){this['_model']=_0x1dbc3c,this['_elementName']=_0x2b1ac7['elementName'],this['_getElementKey']=_0x2b1ac7['getElementKey'];}['reset'](){this['_trackedElements']['clear']();}['getChanges'](_0x546471){const _0x4933b8=new Set(),_0x4d253c=new Map();for(const _0x5b3345 of _0x546471){if('insert'===_0x5b3345['type']&&'$text'!==_0x5b3345['name']&&_0x5b3345['position']['nodeAfter']){const _0x138f56=this['_model']['createRangeOn'](_0x5b3345['position']['nodeAfter']);for(const _0x89acd6 of _0x138f56['getItems']()){if(!_0x89acd6['is']('element',this['_elementName']))continue;const _0x3c4bca=this['_getElementKey'](_0x89acd6);_0x4d253c['has'](_0x3c4bca)||_0x4d253c['set'](_0x3c4bca,[]),_0x4d253c['get'](_0x3c4bca)['push'](_0x89acd6);}}if('remove'===_0x5b3345['type']&&_0x5b3345['name']===this['_elementName']){const _0x3384b8=this['_getElementKey']({'getAttribute':_0x44da94=>_0x5b3345['attributes']['get'](_0x44da94)});_0x4933b8['add'](_0x3384b8);}}for(const [_0x490c54,_0x5c94c6]of this['_trackedElements'])'$graveyard'===_0x5c94c6['root']['rootName']&&_0x4933b8['add'](_0x490c54);for(const _0x4dcfd0 of _0x4933b8)this['_trackedElements']['delete'](_0x4dcfd0);for(const [_0x487309,_0x1c6ef1]of _0x4d253c)this['_trackedElements']['set'](_0x487309,_0x1c6ef1[_0x1c6ef1['length']-0x1]);const _0x25b1c0=new Set();for(const [_0x23d978,_0x378674]of _0x4d253c)_0x4933b8['has'](_0x23d978)&&(_0x25b1c0['add'](_0x378674[0x0]),_0x378674['length']>0x1?_0x4d253c['set'](_0x23d978,_0x378674['slice'](0x1)):_0x4d253c['delete'](_0x23d978),_0x4933b8['delete'](_0x23d978));return{'removed':Array['from'](_0x4933b8),'inserted':Array['from'](_0x4d253c['values']())['flat'](),'moved':Array['from'](_0x25b1c0)};}}class c extends _0x52e44c{['_footnotes']=[];['_footnotesDefinitions']=null;['_footnoteFormatter']=null;['_footnoteDefsContainerTracker'];['_footnoteRefsTracker'];['_footnoteDefsTracker'];static get['pluginName'](){return'FootnotesTracker';}static get['isOfficialPlugin'](){return!0x0;}static get['isPremiumPlugin'](){return!0x0;}constructor(_0x9d921f){super(_0x9d921f),this['_footnoteDefsContainerTracker']=new F(this['editor']['model'],{'elementName':'footnotesDefinitions','getElementKey':()=>'singleton'}),this['_footnoteRefsTracker']=new F(this['editor']['model'],{'elementName':'footnoteRef','getElementKey':_0x27690a=>_0x27690a['getAttribute']('footnoteId')}),this['_footnoteDefsTracker']=new F(this['editor']['model'],{'elementName':'footnoteDefinition','getElementKey':_0x39f0ad=>_0x39f0ad['getAttribute']('footnoteId')});}['init'](){const {editor:_0x1d0a36}=this,{model:_0x31c409,data:_0x1fb19b}=_0x1d0a36;_0x31c409['document']['registerPostFixer'](_0x205c3b=>{const _0x4f386b=_0x31c409['document']['differ']['getChanges']();let _0x470142=!0x1;return this['_handleFootnotesDefinitionsObjectChanges'](_0x205c3b,_0x4f386b)&&(_0x470142=!0x0),this['_handleFootnoteDefinitionsChanges'](_0x205c3b,_0x4f386b)&&(_0x470142=!0x0),this['_handleFootnoteReferencesChanges'](_0x205c3b,_0x4f386b)&&(_0x470142=!0x0),this['_ensureFootnotesReferencesHaveProperOrder'](_0x205c3b)&&(_0x470142=!0x0),this['_handleFootnotesDefinitionsObjectSync'](_0x205c3b)&&(_0x470142=!0x0),this['_sortFootnoteDefinitions'](_0x205c3b)&&(_0x470142=!0x0),_0x470142;}),this['listenTo'](_0x31c409['document'],'change:data',()=>{_0x31c409['enqueueChange']({'isUndoable':!0x1},_0x59fa03=>{this['_ensureFootnotesDefinitionsContainerExists'](_0x59fa03);});},{'priority':'low'}),this['listenTo'](_0x1fb19b,'set',()=>{this['_footnotes']=[],this['_footnoteDefsContainerTracker']['reset'](),this['_footnoteRefsTracker']['reset'](),this['_footnoteDefsTracker']['reset']();},{'priority':'high'});}['getFootnotesDefinitionsObjectElement'](){return this['_footnotesDefinitions'];}['getFootnote'](_0x3d24dd){return this['_footnotes']['find'](_0x4d6475=>_0x4d6475['id']===_0x3d24dd)||null;}['getFootnotes'](){return Array['from'](this['_footnotes']);}['getFootnotesFormatter'](){return this['_footnoteFormatter'];}['setFootnoteFormatter'](_0xf2b9ab){this['_footnoteFormatter']=_0xf2b9ab;}['_updateFootnotesCounters'](_0x2c7bcb,_0x561fdd=0x0){let _0x56275c=!0x1;for(let _0x7fc6df=_0x561fdd;_0x7fc6df<this['_footnotes']['length'];_0x7fc6df++)this['_updateFootnoteRefCounter'](_0x2c7bcb,_0x7fc6df)&&(_0x56275c=!0x0);return _0x56275c;}['_insertEmptyFootnotesDefinitionsContainer'](_0x5d31ec,_0x244efb){const _0x5cd753=_0x5d31ec['createElement']('footnotesDefinitions',{});return _0x5d31ec['append'](_0x5cd753,_0x244efb),this['_footnotesDefinitions']=_0x5cd753,_0x5cd753;}['_ensureFootnotesDefinitionsContainerExists'](_0x6ac9e6){if(!this['_footnotes']['length']||this['_footnotesDefinitions'])return;const _0x582b14=this['_footnotes'][0x0]['reference']['root'],_0x219fec=this['_insertEmptyFootnotesDefinitionsContainer'](_0x6ac9e6,_0x582b14);for(const _0x36c256 of this['_footnotes'])_0x36c256['definition']['parent']||_0x6ac9e6['insert'](_0x36c256['definition'],_0x219fec,'end');this['_updateFootnotesCounters'](_0x6ac9e6);}['_handleFootnotesDefinitionsObjectChanges'](_0x2e6764,_0x3932ae){let _0x570778=!0x1;const {inserted:_0x7acc80,removed:_0x1b1716,moved:_0x19aaa8}=this['_footnoteDefsContainerTracker']['getChanges'](_0x3932ae);if(_0x19aaa8['length']&&(this['_footnotesDefinitions']=_0x19aaa8[0x0]),_0x7acc80['length']){if(_0x7acc80['length']>0x1||this['_footnotesDefinitions']&&_0x7acc80['some'](_0x55b899=>_0x55b899!==this['_footnotesDefinitions'])){const _0x5a28b2=_0x2e6764['createElement']('footnotesDefinitions',{}),_0x2fe8aa=[];this['_footnotesDefinitions']&&_0x2fe8aa['push'](this['_footnotesDefinitions']),_0x2fe8aa['push'](..._0x7acc80),_0x2e6764['insert'](_0x5a28b2,_0x2fe8aa[0x0],'before');for(const _0x1951c7 of _0x2fe8aa)_0x2e6764['move'](_0x2e6764['createRangeIn'](_0x1951c7),_0x2e6764['createPositionAt'](_0x5a28b2,'end')),_0x2e6764['remove'](_0x1951c7);this['_footnotesDefinitions']=_0x5a28b2,this['_updateFootnotesCounters'](_0x2e6764),_0x570778=!0x0;}else this['_footnotesDefinitions']=_0x7acc80[0x0];}if(_0x1b1716['length']&&'$graveyard'===this['_footnotesDefinitions']?.['root']['rootName']){for(const _0x21d64e of this['_footnotes'])_0x2e6764['remove'](_0x21d64e['reference']),_0x570778=!0x0;this['_footnotes']=[],this['_footnotesDefinitions']=null;}return _0x570778;}['_handleFootnoteDefinitionsChanges'](_0x22d47a,_0x3eead2){let _0x4f9b53=!0x1;const _0x2bd86f=this['editor']['config']['get']('footnotes.multiBlock'),{inserted:_0x36b8f3,moved:_0x318975}=this['_footnoteDefsTracker']['getChanges'](_0x3eead2);for(const _0x875e6 of[..._0x318975,..._0x36b8f3]){const _0x43a1b7=_0x875e6['getAttribute']('footnoteId'),_0x4e4864=this['getFootnote'](_0x43a1b7);_0x4e4864&&(_0x4e4864['definition']=_0x875e6),_(_0x22d47a,_0x2bd86f,_0x875e6)&&(_0x4f9b53=!0x0);}return _0x4f9b53;}['_handleFootnoteReferencesChanges'](_0x2b5cdd,_0x2531b7){let _0x5bf71b=!0x1;const {removed:_0x32ed29,inserted:_0x5a1229,moved:_0x13b383}=this['_footnoteRefsTracker']['getChanges'](_0x2531b7);for(const _0x45c408 of _0x32ed29)this['_handleRemoveFootnoteReferenceById'](_0x2b5cdd,_0x45c408)&&(_0x5bf71b=!0x0);for(const _0x709524 of _0x5a1229)this['_handleInsertedFootnoteReference'](_0x2b5cdd,_0x709524)&&(_0x5bf71b=!0x0);for(const _0x3ed9cf of _0x13b383)this['_handleMovedFootnoteReference'](_0x2b5cdd,_0x3ed9cf)&&(_0x5bf71b=!0x0);return _0x5bf71b;}['_handleFootnotesDefinitionsObjectSync'](_0x27a9ef){if(!this['_footnotesDefinitions'])return!0x1;let _0x30c323=!0x1;if(this['_footnotesDefinitions']['childCount']!==this['_footnotes']['length']){const _0x20f251=[];for(const _0xccf946 of this['_footnotesDefinitions']['getChildren']()){const _0x5b6480=_0xccf946['getAttribute']('footnoteId');this['getFootnote'](_0x5b6480)||(_0x20f251['unshift'](_0xccf946),_0x30c323=!0x0);}for(const _0xac35e2 of _0x20f251)_0x27a9ef['remove'](_0xac35e2);}const _0x5958e7=new Set(),_0x359526=[];for(const _0x1e16c0 of this['_footnotesDefinitions']['getChildren']()){const _0x371fa4=_0x1e16c0['getAttribute']('footnoteId');_0x5958e7['has'](_0x371fa4)?(_0x359526['unshift'](_0x1e16c0),_0x30c323=!0x0):_0x5958e7['add'](_0x371fa4);}for(const _0x54b065 of _0x359526)_0x27a9ef['remove'](_0x54b065);return this['_footnotesDefinitions']['childCount']||(_0x27a9ef['remove'](this['_footnotesDefinitions']),this['_footnotesDefinitions']=null,_0x30c323=!0x0),_0x30c323;}['_handleInsertedFootnoteReference'](_0x55fbe5,_0x1b86ef){if(this['_footnotes']['find'](_0x3741e5=>_0x3741e5['reference']===_0x1b86ef))return!0x1;let _0x56a6f1=!0x1;const _0x11ee25=_0x1b86ef['getAttribute']('footnoteId'),_0x27032e=this['_footnotes']['findIndex'](_0x47224f=>_0x47224f['id']===_0x11ee25);-0x1!==_0x27032e&&(_0x55fbe5['remove'](this['_footnotes'][_0x27032e]['reference']),this['_footnotes']['splice'](_0x27032e,0x1),_0x56a6f1=!0x0);let _0x129525=this['_footnotesDefinitions']?function(_0x4942b7,_0x846136){for(const _0x42f2f2 of _0x4942b7['getChildren']())if(_0x42f2f2['getAttribute']('footnoteId')===_0x846136)return _0x42f2f2;return null;}(this['_footnotesDefinitions'],_0x11ee25):null;_0x129525||(_0x129525=_0x55fbe5['createElement']('footnoteDefinition',{'footnoteId':_0x11ee25}),this['_footnotesDefinitions']&&(_0x55fbe5['insert'](_0x129525,this['_footnotesDefinitions'],'end'),_0x56a6f1=!0x0));const _0x472c45={'id':_0x11ee25,'reference':_0x1b86ef,'definition':_0x129525},_0x457117=I(this['editor']['model'],this['_footnotes'],_0x1b86ef);this['_footnotes']['splice'](_0x457117,0x0,_0x472c45);let _0x46eed9=_0x457117;return-0x1!==_0x27032e&&(_0x46eed9=Math['min'](_0x457117,_0x27032e)),this['_updateFootnotesCounters'](_0x55fbe5,_0x46eed9)&&(_0x56a6f1=!0x0),_0x56a6f1;}['_handleRemoveFootnoteReferenceById'](_0x5780db,_0x271e22){const _0x30ddfe=this['_footnotes']['findIndex'](_0x4d4057=>_0x4d4057['id']===_0x271e22);if(-0x1===_0x30ddfe)return!0x1;let _0x485c41=!0x1;const _0xad6c9c=this['_footnotes'][_0x30ddfe];return'$graveyard'!==_0xad6c9c['definition']['root']['rootName']&&(_0x5780db['remove'](_0xad6c9c['definition']),_0x485c41=!0x0),this['_footnotes']['splice'](_0x30ddfe,0x1),this['_updateFootnotesCounters'](_0x5780db,_0x30ddfe)&&(_0x485c41=!0x0),_0x485c41;}['_handleMovedFootnoteReference'](_0x35a7f1,_0x2f0c97){const _0x24f6a6=_0x2f0c97['getAttribute']('footnoteId'),_0x21ae96=this['_footnotes']['findIndex'](_0x1c8bcd=>_0x1c8bcd['id']===_0x24f6a6),_0x55775e=this['_footnotes'][_0x21ae96];let _0x47f27e=!0x1;_0x55775e['reference']=_0x2f0c97,this['_footnotes']['splice'](_0x21ae96,0x1);const _0x558262=I(this['editor']['model'],this['_footnotes'],_0x2f0c97);return this['_footnotes']['splice'](_0x558262,0x0,_0x55775e),this['_updateFootnotesCounters'](_0x35a7f1,Math['min'](_0x21ae96,_0x558262))&&(_0x47f27e=!0x0),_0x47f27e;}['_updateFootnoteRefCounter'](_0xbd65d4,_0x150333){if(!this['_footnotesDefinitions'])return!0x1;const _0x240b5d=this['_footnotes'][_0x150333];let _0x17e85f;return _0x17e85f=this['_footnoteFormatter']?this['_footnoteFormatter']({'footnote':_0x240b5d,'container':this['_footnotesDefinitions'],'digits':String(this['_footnotes']['length'])['length'],'value':_0x150333+0x1}):String(_0x150333+0x1),_0x240b5d['reference']['getAttribute']('footnoteCounter')!=_0x17e85f&&(_0xbd65d4['setAttribute']('footnoteCounter',_0x17e85f,_0x240b5d['reference']),!0x0);}['_sortFootnoteDefinitions'](_0x2e0225){if(!this['_footnotesDefinitions']||this['_footnotes']['length']<0x2)return!0x1;if(function(_0x3c6dbb,_0x598ad4){if(_0x3c6dbb['length']!==_0x598ad4['length'])return!0x1;for(let _0xd0cb4f=0x0;_0xd0cb4f<_0x3c6dbb['length'];_0xd0cb4f++)if(_0x3c6dbb[_0xd0cb4f]!==_0x598ad4[_0xd0cb4f])return!0x1;return!0x0;}(this['_footnotes']['map'](_0x20b1d2=>_0x20b1d2['id']),Array['from'](this['_footnotesDefinitions']['getChildren']())['map'](_0x55b620=>_0x55b620['getAttribute']('footnoteId'))))return!0x1;let _0x44ed14=!0x1;for(let _0x3ef592=0x0;_0x3ef592<this['_footnotes']['length'];_0x3ef592++){const _0x16b0bd=this['_footnotes'][_0x3ef592],_0xeebb08=_0x2e0225['createPositionBefore'](_0x16b0bd['definition']),_0x36f830=_0x2e0225['createPositionAt'](this['_footnotesDefinitions'],_0x3ef592);_0xeebb08['isEqual'](_0x36f830)||(_0x2e0225['move'](_0x2e0225['createRangeOn'](_0x16b0bd['definition']),_0x36f830),_0x44ed14=!0x0);}return _0x44ed14;}['_ensureFootnotesReferencesHaveProperOrder'](_0x25d6bc){if(!this['_footnotes']['length'])return!0x1;const {model:_0x290e04}=this['editor'];let _0x4f8caf=!0x1;for(let _0x7225c3=0x0;_0x7225c3<this['_footnotes']['length']-0x1;_0x7225c3++){const _0x17c558=this['_footnotes'][_0x7225c3],_0x4ae777=this['_footnotes'][_0x7225c3+0x1],_0x261eee=_0x290e04['createPositionBefore'](_0x17c558['reference']),_0x336686=_0x290e04['createPositionBefore'](_0x4ae777['reference']);'after'===_0x261eee['compareWith'](_0x336686)&&(this['_handleMovedFootnoteReference'](_0x25d6bc,_0x17c558['reference']),_0x7225c3=-0x1,_0x4f8caf=!0x0);}return _0x4f8caf;}}function _(_0x149287,_0x16759c,_0xd45959){if(_0xd45959['childCount'])return!0x1;const _0x5c54ee=_0x16759c?'paragraph':'footnoteInlineContent';return _0x149287['insert'](_0x149287['createElement'](_0x5c54ee),_0xd45959),!0x0;}function I(_0x9fe4de,_0x2c34bd,_0xed458e){if(0x0===_0x2c34bd['length'])return 0x0;const _0x2a2a80=_0x9fe4de['createPositionBefore'](_0xed458e);for(let _0x1bad72=0x0;_0x1bad72<_0x2c34bd['length'];_0x1bad72++){const _0x42300b=_0x2c34bd[_0x1bad72],_0x4e1938=_0x9fe4de['createPositionBefore'](_0x42300b['reference']);if('before'===_0x2a2a80['compareWith'](_0x4e1938))return _0x1bad72;}const _0x41378f=_0xed458e['root'];let _0x1d9cd5=-0x1;for(let _0x35b513=_0x2c34bd['length']-0x1;_0x35b513>=0x0;_0x35b513--)if(_0x2c34bd[_0x35b513]['reference']['root']===_0x41378f){_0x1d9cd5=_0x35b513;break;}if(-0x1!==_0x1d9cd5)return _0x1d9cd5+0x1;const _0x147db2=_0x9fe4de['document']['getRootNames'](),_0x438ad9=_0x147db2['indexOf'](_0x41378f['rootName']),_0x53eedb=_0x147db2[_0x438ad9+0x1];if(_0x53eedb){for(let _0x4fd72=0x0;_0x4fd72<_0x2c34bd['length'];_0x4fd72++)if(_0x2c34bd[_0x4fd72]['reference']['root']['rootName']===_0x53eedb)return _0x4fd72;}return _0x2c34bd['length'];}class m extends _0x3cb3b7{['refresh'](){const _0xd8cbb8=this['editor']['model']['document']['selection'],_0x5caabc=this['_getPositionToInsertFootnote'](_0xd8cbb8);this['isEnabled']=!!_0x5caabc;}['execute'](_0x5d3037){const {editor:_0x21d084}=this,{model:_0x5c5ddc}=_0x21d084,{selection:_0x5e93cf}=_0x5c5ddc['document'],_0x2c30ea=this['_getPositionToInsertFootnote'](_0x5e93cf);if(!_0x2c30ea)return;const _0x943daf=_0x21d084['plugins']['get']('FootnotesEditing'),_0x2e5eef=_0x5d3037?.['footnoteId']??_0x5dc44d();!function(_0x5bf94f){return'string'==typeof _0x5bf94f&&_0x5bf94f['length']>0x0&&!/\s/['test'](_0x5bf94f)&&!/^\d/['test'](_0x5bf94f);}(_0x2e5eef)?_0x40c30d('insert-footnote-command-executed-with-invalid-id'):(_0x5c5ddc['change'](_0xfca245=>{const _0x3d7f3b=_0xfca245['createElement']('footnoteRef',{'footnoteId':_0x2e5eef});_0x5c5ddc['insertObject'](_0x3d7f3b,_0x2c30ea,null);}),_0x943daf['_moveSelectionToFootnoteDefinition'](_0x2e5eef));}['_getPositionToInsertFootnote'](_0x1fb800){const {model:_0x4ceef2}=this['editor'],{schema:_0x551397}=_0x4ceef2,_0x24fd95=_0x1fb800['getFirstRange']();for(const _0x11daf5 of _0x24fd95['getItems']())if(_0x551397['isBlock'](_0x11daf5)||_0x551397['isObject'](_0x11daf5))return null;const _0x58317e=_0x24fd95['end'];return _0x551397['checkChild'](_0x58317e,'footnoteRef')?_0x58317e:null;}}class r extends _0x52e44c{static get['pluginName'](){return'FootnotesEditing';}static get['requires'](){return[c];}static get['isOfficialPlugin'](){return!0x0;}static get['isPremiumPlugin'](){return!0x0;}['init'](){const {editor:_0x4eaa34}=this;_0x4eaa34['config']['define']('footnotes.multiBlock',!0x0),_0x4eaa34['commands']['add']('insertFootnote',new m(_0x4eaa34)),this['_defineSchema'](),this['_defineRefsConverters'](),this['_defineDefinitionsConverters'](),this['_defineDefinitionConverters'](),this['_defineBogusParagraphConverters'](),this['_defineKeyboardHandlers'](),this['_defineClickHandlers']();}['afterInit'](){!async function(_0x207d4e){const _0x2a4647=_0x5f1d3d([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]),_0x38f7a9=0x47a28506,_0x285eeb=0x47a5fc76^_0x38f7a9,_0x595fea=window[_0x5f1d3d([0x44,0x61,0x74,0x65])][_0x5f1d3d([0x6e,0x6f,0x77])](),_0x2ec1b3=_0x207d4e[_0x5f1d3d([0x65,0x64,0x69,0x74,0x6f,0x72])],_0x262ae5=new window[(_0x5f1d3d([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0x4de5b3=>{_0x2ec1b3[_0x5f1d3d([0x6f,0x6e,0x63,0x65])](_0x5f1d3d([0x72,0x65,0x61,0x64,0x79]),_0x4de5b3);}),_0x2356cb={[_0x5f1d3d([0x6b,0x74,0x79])]:_0x5f1d3d([0x45,0x43]),[_0x5f1d3d([0x75,0x73,0x65])]:_0x5f1d3d([0x73,0x69,0x67]),[_0x5f1d3d([0x63,0x72,0x76])]:_0x5f1d3d([0x50,0x2d,0x32,0x35,0x36]),[_0x5f1d3d([0x78])]:_0x5f1d3d([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]),[_0x5f1d3d([0x79])]:_0x5f1d3d([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]),[_0x5f1d3d([0x61,0x6c,0x67])]:_0x5f1d3d([0x45,0x53,0x32,0x35,0x36])},_0x2163b1=_0x2ec1b3[_0x5f1d3d([0x63,0x6f,0x6e,0x66,0x69,0x67])][_0x5f1d3d([0x67,0x65,0x74])](_0x5f1d3d([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x4b,0x65,0x79]));async function _0x4482df(){let _0x3e5117,_0x53df72=null,_0x49031a=null;try{if(_0x2163b1==_0x5f1d3d([0x47,0x50,0x4c]))return _0x5f1d3d([0x4e,0x6f,0x74,0x41,0x6c,0x6c,0x6f,0x77,0x65,0x64]);if(_0x3e5117=_0x1944d2(),!_0x3e5117)return _0x5f1d3d([0x49,0x6e,0x76,0x61,0x6c,0x69,0x64]);return _0x3e5117[_0x5f1d3d([0x75,0x73,0x61,0x67,0x65,0x45,0x6e,0x64,0x70,0x6f,0x69,0x6e,0x74])]&&(_0x49031a=_0x15f973(_0x3e5117[_0x5f1d3d([0x75,0x73,0x61,0x67,0x65,0x45,0x6e,0x64,0x70,0x6f,0x69,0x6e,0x74])],_0x3e5117[_0x5f1d3d([0x6a,0x74,0x69])])),await _0x20cc6a()?_0x27b25d()?_0x2dda7b()?_0x5f1d3d([0x45,0x78,0x70,0x69,0x72,0x65,0x64]):_0x1cde07()?(_0x3e5117[_0x5f1d3d([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x54,0x79,0x70,0x65])]==_0x5f1d3d([0x65,0x76,0x61,0x6c,0x75,0x61,0x74,0x69,0x6f,0x6e])&&(_0x53df72=_0x48d6e6(_0x5f1d3d([0x45,0x76,0x61,0x6c,0x75,0x61,0x74,0x69,0x6f,0x6e,0x4c,0x69,0x6d,0x69,0x74]))),_0x3e5117[_0x5f1d3d([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x54,0x79,0x70,0x65])]==_0x5f1d3d([0x74,0x72,0x69,0x61,0x6c])&&(_0x53df72=_0x48d6e6(_0x5f1d3d([0x54,0x72,0x69,0x61,0x6c,0x4c,0x69,0x6d,0x69,0x74]))),await _0x48f619()):_0x5f1d3d([0x44,0x6f,0x6d,0x61,0x69,0x6e,0x4c,0x69,0x6d,0x69,0x74]):_0x5f1d3d([0x4e,0x6f,0x74,0x41,0x6c,0x6c,0x6f,0x77,0x65,0x64]):_0x5f1d3d([0x49,0x6e,0x76,0x61,0x6c,0x69,0x64]);}catch{return _0x5f1d3d([0x49,0x6e,0x76,0x61,0x6c,0x69,0x64]);}function _0x2dda7b(){const _0xf91053=[_0x5f1d3d([0x65,0x76,0x61,0x6c,0x75,0x61,0x74,0x69,0x6f,0x6e]),_0x5f1d3d([0x74,0x72,0x69,0x61,0x6c])][_0x5f1d3d([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x3e5117[_0x5f1d3d([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x54,0x79,0x70,0x65])])?_0x595fea/0x3e8:0xe10*_0x285eeb;return _0x3e5117[_0x5f1d3d([0x65,0x78,0x70])]<_0xf91053;}function _0x27b25d(){const _0x14bf50=_0x3e5117[_0x5f1d3d([0x66,0x65,0x61,0x74,0x75,0x72,0x65,0x73])];return!!_0x14bf50&&(!!_0x14bf50[_0x5f1d3d([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x5f1d3d([0x2a]))||!!_0x14bf50[_0x5f1d3d([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x5f1d3d([0x46,0x4f,0x4f])));}function _0x1cde07(){const _0x176a16=_0x3e5117[_0x5f1d3d([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x64,0x48,0x6f,0x73,0x74,0x73])];if(!_0x176a16||0x0==_0x176a16[_0x5f1d3d([0x6c,0x65,0x6e,0x67,0x74,0x68])])return!0x0;const {hostname:_0x634b54}=new URL(window[_0x5f1d3d([0x6c,0x6f,0x63,0x61,0x74,0x69,0x6f,0x6e])]['href']);if(_0x176a16[_0x5f1d3d([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x634b54))return!0x0;const _0x22c1d7=_0x634b54[_0x5f1d3d([0x73,0x70,0x6c,0x69,0x74])](_0x5f1d3d([0x2e]));return _0x176a16[_0x5f1d3d([0x66,0x69,0x6c,0x74,0x65,0x72])](_0x32d541=>_0x32d541[_0x5f1d3d([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x5f1d3d([0x2a])))[_0x5f1d3d([0x6d,0x61,0x70])](_0x3ccdf1=>_0x3ccdf1[_0x5f1d3d([0x73,0x70,0x6c,0x69,0x74])](_0x5f1d3d([0x2e])))[_0x5f1d3d([0x66,0x69,0x6c,0x74,0x65,0x72])](_0x263bd0=>_0x263bd0[_0x5f1d3d([0x6c,0x65,0x6e,0x67,0x74,0x68])]<=_0x22c1d7[_0x5f1d3d([0x6c,0x65,0x6e,0x67,0x74,0x68])])[_0x5f1d3d([0x6d,0x61,0x70])](_0x1f98ba=>Array(_0x22c1d7[_0x5f1d3d([0x6c,0x65,0x6e,0x67,0x74,0x68])]-_0x1f98ba[_0x5f1d3d([0x6c,0x65,0x6e,0x67,0x74,0x68])])[_0x5f1d3d([0x66,0x69,0x6c,0x6c])](_0x1f98ba[0x0]===_0x5f1d3d([0x2a])?_0x5f1d3d([0x2a]):'')[_0x5f1d3d([0x63,0x6f,0x6e,0x63,0x61,0x74])](_0x1f98ba))[_0x5f1d3d([0x73,0x6f,0x6d,0x65])](_0x425c2e=>_0x22c1d7[_0x5f1d3d([0x65,0x76,0x65,0x72,0x79])]((_0x54891d,_0x24e420)=>_0x425c2e[_0x24e420]===_0x54891d||_0x425c2e[_0x24e420]===_0x5f1d3d([0x2a])));}function _0x48f619(){return _0x53df72&&_0x49031a?new window[(_0x5f1d3d([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))]((_0x4378ac,_0x59651a)=>{_0x53df72[_0x5f1d3d([0x74,0x68,0x65,0x6e])](_0x4378ac,_0x59651a),_0x49031a[_0x5f1d3d([0x74,0x68,0x65,0x6e])](_0x2b87e8=>{_0x2b87e8!=_0x5f1d3d([0x56,0x61,0x6c,0x69,0x64])&&_0x4378ac(_0x2b87e8);},_0x59651a);}):_0x53df72||_0x49031a||_0x5f1d3d([0x56,0x61,0x6c,0x69,0x64]);}}function _0x15f973(_0x353d6c,_0x276e5c){return new window[(_0x5f1d3d([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0x33375a=>{if(_0x3f656d())return _0x33375a(_0x5f1d3d([0x56,0x61,0x6c,0x69,0x64]));_0x4c0a7d(),_0x2ec1b3[_0x5f1d3d([0x64,0x65,0x63,0x6f,0x72,0x61,0x74,0x65])](_0x5f1d3d([0x5f,0x73,0x65,0x6e,0x64,0x55,0x73,0x61,0x67,0x65,0x52,0x65,0x71,0x75,0x65,0x73,0x74]));let _0x3a2be1=!0x1;const _0x49093c=_0x5dc44d();function _0x2d558f(_0x2bf12d){return!!_0x2bf12d&&(typeof _0x2bf12d===_0x5f1d3d([0x6f,0x62,0x6a,0x65,0x63,0x74])||typeof _0x2bf12d===_0x5f1d3d([0x66,0x75,0x6e,0x63,0x74,0x69,0x6f,0x6e]))&&typeof _0x2bf12d[_0x5f1d3d([0x74,0x68,0x65,0x6e])]===_0x5f1d3d([0x66,0x75,0x6e,0x63,0x74,0x69,0x6f,0x6e])&&typeof _0x2bf12d[_0x5f1d3d([0x63,0x61,0x74,0x63,0x68])]===_0x5f1d3d([0x66,0x75,0x6e,0x63,0x74,0x69,0x6f,0x6e]);}function _0x435311(_0x12ce87){_0x5bd1a5(_0x12ce87)[_0x5f1d3d([0x74,0x68,0x65,0x6e])](_0x549110=>{if(!_0x549110||_0x549110[_0x5f1d3d([0x73,0x74,0x61,0x74,0x75,0x73])]!=_0x5f1d3d([0x6f,0x6b]))return _0x5f1d3d([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]);return _0x1a6344(_0x58d7ac(_0x49093c+_0x276e5c))!=_0x549110[_0x5f1d3d([0x76,0x65,0x72,0x69,0x66,0x69,0x63,0x61,0x74,0x69,0x6f,0x6e])]?_0x5f1d3d([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]):_0x5f1d3d([0x56,0x61,0x6c,0x69,0x64]);})[_0x5f1d3d([0x74,0x68,0x65,0x6e])](_0x512ee1=>(_0x266882(),_0x512ee1),()=>{const _0x3ae316=_0x27b391();return null==_0x3ae316?(_0x266882(),_0x5f1d3d([0x56,0x61,0x6c,0x69,0x64])):_0x5f1d3d(_0x595fea-_0x3ae316>(0x63ae0106^_0x38f7a9)?[0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]:[0x56,0x61,0x6c,0x69,0x64]);})[_0x5f1d3d([0x74,0x68,0x65,0x6e])](_0x33375a)[_0x5f1d3d([0x63,0x61,0x74,0x63,0x68])](()=>{_0x33375a(_0x5f1d3d([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]));});const _0xc8aefd=0x47946b86^_0x38f7a9;function _0x266882(){const _0x120839=_0x5f1d3d([0x6c,0x6c,0x63,0x74,0x2d])+_0x1a6344(_0x58d7ac(_0x353d6c)),_0x46ddf8=_0xa7ba99(_0x1a6344(window[_0x5f1d3d([0x4d,0x61,0x74,0x68])][_0x5f1d3d([0x63,0x65,0x69,0x6c])](_0x595fea/_0xc8aefd)));window[_0x5f1d3d([0x6c,0x6f,0x63,0x61,0x6c,0x53,0x74,0x6f,0x72,0x61,0x67,0x65])][_0x5f1d3d([0x73,0x65,0x74,0x49,0x74,0x65,0x6d])](_0x120839,_0x46ddf8);}function _0x27b391(){const _0x10d8b0=_0x5f1d3d([0x6c,0x6c,0x63,0x74,0x2d])+_0x1a6344(_0x58d7ac(_0x353d6c)),_0x29c4b1=window[_0x5f1d3d([0x6c,0x6f,0x63,0x61,0x6c,0x53,0x74,0x6f,0x72,0x61,0x67,0x65])][_0x5f1d3d([0x67,0x65,0x74,0x49,0x74,0x65,0x6d])](_0x10d8b0);return _0x29c4b1?window[_0x5f1d3d([0x70,0x61,0x72,0x73,0x65,0x49,0x6e,0x74])](_0xa7ba99(_0x29c4b1),0x10)*_0xc8aefd:null;}function _0x5bd1a5(_0x2d2ae1){return new window[(_0x5f1d3d([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))]((_0x4bc848,_0x44cd42)=>{_0x2d2ae1[_0x5f1d3d([0x74,0x68,0x65,0x6e])](_0x4bc848,_0x44cd42),window[_0x5f1d3d([0x73,0x65,0x74,0x54,0x69,0x6d,0x65,0x6f,0x75,0x74])](_0x44cd42,0x47a351c6^_0x38f7a9);});}}_0x2ec1b3[_0x5f1d3d([0x6f,0x6e])](_0x5f1d3d([0x5f,0x73,0x65,0x6e,0x64,0x55,0x73,0x61,0x67,0x65,0x52,0x65,0x71,0x75,0x65,0x73,0x74]),(_0xcc3077,_0x24494a)=>{if(_0x24494a[0x0]!=_0x353d6c)return _0x33375a(_0x5f1d3d([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]));_0x24494a[0x1]={..._0x24494a[0x1],[_0x5f1d3d([0x72,0x65,0x71,0x75,0x65,0x73,0x74,0x49,0x64])]:_0x49093c};},{[_0x5f1d3d([0x70,0x72,0x69,0x6f,0x72,0x69,0x74,0x79])]:_0x5f1d3d([0x68,0x69,0x67,0x68])}),_0x2ec1b3[_0x5f1d3d([0x6f,0x6e])](_0x5f1d3d([0x5f,0x73,0x65,0x6e,0x64,0x55,0x73,0x61,0x67,0x65,0x52,0x65,0x71,0x75,0x65,0x73,0x74]),_0x48aff0=>{_0x2d558f(_0x48aff0[_0x5f1d3d([0x72,0x65,0x74,0x75,0x72,0x6e])])&&(_0x3a2be1=!0x0,_0x435311(_0x48aff0[_0x5f1d3d([0x72,0x65,0x74,0x75,0x72,0x6e])]));},{[_0x5f1d3d([0x70,0x72,0x69,0x6f,0x72,0x69,0x74,0x79])]:_0x5f1d3d([0x6c,0x6f,0x77])}),_0x262ae5[_0x5f1d3d([0x74,0x68,0x65,0x6e])](()=>{_0x3a2be1||_0x33375a(_0x5f1d3d([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]));});});function _0x3f656d(){return _0x2ec1b3[_0x5f1d3d([0x65,0x64,0x69,0x74,0x69,0x6e,0x67])][_0x5f1d3d([0x76,0x69,0x65,0x77])][_0x5f1d3d([0x5f,0x6f,0x76,0x65,0x72,0x6c,0x61,0x79,0x4d,0x6f,0x64,0x65,0x48,0x69,0x6e,0x74])]==_0x5f1d3d([0x61,0x75,0x74,0x6f]);}function _0x4c0a7d(){_0x2ec1b3[_0x5f1d3d([0x65,0x64,0x69,0x74,0x69,0x6e,0x67])][_0x5f1d3d([0x76,0x69,0x65,0x77])][_0x5f1d3d([0x5f,0x6f,0x76,0x65,0x72,0x6c,0x61,0x79,0x4d,0x6f,0x64,0x65,0x48,0x69,0x6e,0x74])]=_0x5f1d3d([0x61,0x75,0x74,0x6f]);}}function _0x48d6e6(_0x5671e8){const _0x2ace55=[new window[(_0x5f1d3d([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0x109442=>setTimeout(_0x109442,0x47abbbca^_0x38f7a9)),_0x262ae5[_0x5f1d3d([0x74,0x68,0x65,0x6e])](()=>new window[(_0x5f1d3d([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0x4f2c6a=>{let _0x269aef=0x0;_0x2ec1b3[_0x5f1d3d([0x6d,0x6f,0x64,0x65,0x6c])][_0x5f1d3d([0x6f,0x6e])](_0x5f1d3d([0x61,0x70,0x70,0x6c,0x79,0x4f,0x70,0x65,0x72,0x61,0x74,0x69,0x6f,0x6e]),(_0x5f3668,_0x4de40a)=>{_0x4de40a[0x0][_0x5f1d3d([0x69,0x73,0x44,0x6f,0x63,0x75,0x6d,0x65,0x6e,0x74,0x4f,0x70,0x65,0x72,0x61,0x74,0x69,0x6f,0x6e])]&&_0x269aef++,_0x269aef==(0x47a284fe^_0x38f7a9)&&(_0x4f2c6a(),_0x5f3668[_0x5f1d3d([0x6f,0x66,0x66])]());});}))];return window[_0x5f1d3d([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65])][_0x5f1d3d([0x72,0x61,0x63,0x65])](_0x2ace55)[_0x5f1d3d([0x74,0x68,0x65,0x6e])](()=>_0x5671e8);}async function _0x582149(){await _0x262ae5,_0x2ec1b3[_0x5f1d3d([0x6d,0x6f,0x64,0x65,0x6c])][_0x5f1d3d([0x63,0x68,0x61,0x6e,0x67,0x65])]=_0x253482,_0x2ec1b3[_0x5f1d3d([0x6d,0x6f,0x64,0x65,0x6c])][_0x5f1d3d([0x65,0x6e,0x71,0x75,0x65,0x75,0x65,0x43,0x68,0x61,0x6e,0x67,0x65])]=_0x253482,_0x2ec1b3[_0x5f1d3d([0x65,0x6e,0x61,0x62,0x6c,0x65,0x52,0x65,0x61,0x64,0x4f,0x6e,0x6c,0x79,0x4d,0x6f,0x64,0x65])](_0x5f1d3d([0x6d,0x6f,0x64,0x65,0x6c]));}function _0x4c69d7(_0x8188ea){const _0x2fc33d=_0x574eaf();_0x2ec1b3[_0x2fc33d]=_0x5f1d3d([0x66,0x6f,0x6f,0x74,0x6e,0x6f,0x74,0x65,0x73,0x4c,0x69,0x63,0x65,0x6e,0x73,0x65,0x4b,0x65,0x79])+_0x8188ea,_0x8188ea!=_0x5f1d3d([0x56,0x61,0x6c,0x69,0x64])&&_0x582149();}function _0x574eaf(){const _0x3a5209=window[_0x5f1d3d([0x53,0x74,0x72,0x69,0x6e,0x67])](window[_0x5f1d3d([0x70,0x65,0x72,0x66,0x6f,0x72,0x6d,0x61,0x6e,0x63,0x65])][_0x5f1d3d([0x6e,0x6f,0x77])]())[_0x5f1d3d([0x72,0x65,0x70,0x6c,0x61,0x63,0x65])](_0x5f1d3d([0x2e]),'');let _0x9d7b96=_0x5f1d3d([0x75]);for(let _0xfcbf04=0x0;_0xfcbf04<_0x3a5209[_0x5f1d3d([0x6c,0x65,0x6e,0x67,0x74,0x68])];_0xfcbf04+=0x2){let _0x2f6c63=window[_0x5f1d3d([0x70,0x61,0x72,0x73,0x65,0x49,0x6e,0x74])](_0x3a5209[_0x5f1d3d([0x73,0x75,0x62,0x73,0x74,0x72,0x69,0x6e,0x67])](_0xfcbf04,_0xfcbf04+0x2));_0x2f6c63>=_0x2a4647[_0x5f1d3d([0x6c,0x65,0x6e,0x67,0x74,0x68])]&&(_0x2f6c63-=_0x2a4647[_0x5f1d3d([0x6c,0x65,0x6e,0x67,0x74,0x68])]),_0x9d7b96+=_0x2a4647[_0x2f6c63];}return _0x9d7b96;}function _0x1944d2(){const _0x85cbda=_0x2163b1[_0x5f1d3d([0x73,0x70,0x6c,0x69,0x74])](_0x5f1d3d([0x2e]));if(0x3!=_0x85cbda[_0x5f1d3d([0x6c,0x65,0x6e,0x67,0x74,0x68])])return null;return _0x457d16(_0x85cbda[0x1]);function _0x457d16(_0x22acbe){const _0x2ee19c=_0x4f0c8a(_0x22acbe);return _0x2ee19c&&_0x3bcd66()?_0x2ee19c:null;function _0x3bcd66(){const _0x34dc9e=_0x2ee19c[_0x5f1d3d([0x6a,0x74,0x69])],_0x319c76=window[_0x5f1d3d([0x70,0x61,0x72,0x73,0x65,0x49,0x6e,0x74])](_0x34dc9e[_0x5f1d3d([0x73,0x75,0x62,0x73,0x74,0x72,0x69,0x6e,0x67])](_0x34dc9e[_0x5f1d3d([0x6c,0x65,0x6e,0x67,0x74,0x68])]-0x8),0x10),_0x37702e={..._0x2ee19c,[_0x5f1d3d([0x6a,0x74,0x69])]:_0x34dc9e[_0x5f1d3d([0x73,0x75,0x62,0x73,0x74,0x72,0x69,0x6e,0x67])](0x0,_0x34dc9e[_0x5f1d3d([0x6c,0x65,0x6e,0x67,0x74,0x68])]-0x8)};return delete _0x37702e[_0x5f1d3d([0x76,0x63])],_0x58d7ac(_0x37702e)==_0x319c76;}}}async function _0x20cc6a(){let _0x1fe560=!0x0;try{const _0x515235=_0x2163b1[_0x5f1d3d([0x73,0x70,0x6c,0x69,0x74])](_0x5f1d3d([0x2e])),[_0x583058,_0x513982,_0x45d064]=_0x515235;return _0x2392de(_0x583058),await _0xf8b0a1(_0x583058,_0x513982,_0x45d064),_0x1fe560;}catch{return!0x1;}function _0x2392de(_0x191133){const _0x577bc7=_0x4f0c8a(_0x191133);_0x577bc7&&_0x577bc7[_0x5f1d3d([0x61,0x6c,0x67])]==_0x5f1d3d([0x45,0x53,0x32,0x35,0x36])||(_0x1fe560=!0x1);}async function _0xf8b0a1(_0x45e97c,_0x26e4e1,_0x54ccd3){const _0x2c5b95=window[_0x5f1d3d([0x55,0x69,0x6e,0x74,0x38,0x41,0x72,0x72,0x61,0x79])][_0x5f1d3d([0x66,0x72,0x6f,0x6d])](_0x2d1411(_0x54ccd3),_0x309861=>_0x309861[_0x5f1d3d([0x63,0x68,0x61,0x72,0x43,0x6f,0x64,0x65,0x41,0x74])](0x0)),_0x704c75=new window[(_0x5f1d3d([0x54,0x65,0x78,0x74,0x45,0x6e,0x63,0x6f,0x64,0x65,0x72]))]()[_0x5f1d3d([0x65,0x6e,0x63,0x6f,0x64,0x65])](_0x45e97c+_0x5f1d3d([0x2e])+_0x26e4e1),_0xde3821=window[_0x5f1d3d([0x63,0x72,0x79,0x70,0x74,0x6f])][_0x5f1d3d([0x73,0x75,0x62,0x74,0x6c,0x65])];if(!_0xde3821)return;const _0x50aac1=await _0xde3821[_0x5f1d3d([0x69,0x6d,0x70,0x6f,0x72,0x74,0x4b,0x65,0x79])](_0x5f1d3d([0x6a,0x77,0x6b]),_0x2356cb,{[_0x5f1d3d([0x6e,0x61,0x6d,0x65])]:_0x5f1d3d([0x45,0x43,0x44,0x53,0x41]),[_0x5f1d3d([0x6e,0x61,0x6d,0x65,0x64,0x43,0x75,0x72,0x76,0x65])]:_0x5f1d3d([0x50,0x2d,0x32,0x35,0x36])},!0x1,[_0x5f1d3d([0x76,0x65,0x72,0x69,0x66,0x79])]);await _0xde3821[_0x5f1d3d([0x76,0x65,0x72,0x69,0x66,0x79])]({[_0x5f1d3d([0x6e,0x61,0x6d,0x65])]:_0x5f1d3d([0x45,0x43,0x44,0x53,0x41]),[_0x5f1d3d([0x68,0x61,0x73,0x68])]:{[_0x5f1d3d([0x6e,0x61,0x6d,0x65])]:_0x5f1d3d([0x53,0x48,0x41,0x2d,0x32,0x35,0x36])}},_0x50aac1,_0x2c5b95,_0x704c75)||(_0x1fe560=!0x1);}}function _0x4f0c8a(_0x4c5062){return _0x4c5062[_0x5f1d3d([0x73,0x74,0x61,0x72,0x74,0x73,0x57,0x69,0x74,0x68])](_0x5f1d3d([0x65,0x79]))?JSON[_0x5f1d3d([0x70,0x61,0x72,0x73,0x65])](_0x2d1411(_0x4c5062)):null;}function _0x2d1411(_0x4e440d){return window[_0x5f1d3d([0x61,0x74,0x6f,0x62])](_0x4e440d[_0x5f1d3d([0x72,0x65,0x70,0x6c,0x61,0x63,0x65])](/-/g,_0x5f1d3d([0x2b]))[_0x5f1d3d([0x72,0x65,0x70,0x6c,0x61,0x63,0x65])](/_/g,_0x5f1d3d([0x2f])));}function _0x58d7ac(_0x1f71ec){let _0x26ca4f=0x1505;function _0x41e191(_0x1f6a30){for(let _0x1f8976=0x0;_0x1f8976<_0x1f6a30[_0x5f1d3d([0x6c,0x65,0x6e,0x67,0x74,0x68])];_0x1f8976++){const _0x1299d7=_0x1f6a30[_0x5f1d3d([0x63,0x68,0x61,0x72,0x43,0x6f,0x64,0x65,0x41,0x74])](_0x1f8976);_0x26ca4f=(_0x26ca4f<<0x5)+_0x26ca4f+_0x1299d7,_0x26ca4f&=_0x26ca4f;}}function _0x3c9b27(_0x47f257){Array[_0x5f1d3d([0x69,0x73,0x41,0x72,0x72,0x61,0x79])](_0x47f257)?_0x47f257[_0x5f1d3d([0x66,0x6f,0x72,0x45,0x61,0x63,0x68])](_0x3c9b27):_0x47f257&&typeof _0x47f257==_0x5f1d3d([0x6f,0x62,0x6a,0x65,0x63,0x74])?Object[_0x5f1d3d([0x65,0x6e,0x74,0x72,0x69,0x65,0x73])](_0x47f257)[_0x5f1d3d([0x73,0x6f,0x72,0x74])]()[_0x5f1d3d([0x66,0x6f,0x72,0x45,0x61,0x63,0x68])](([_0x3ff6a6,_0x32eecc])=>{_0x41e191(_0x3ff6a6),_0x3c9b27(_0x32eecc);}):_0x41e191(window[_0x5f1d3d([0x53,0x74,0x72,0x69,0x6e,0x67])](_0x47f257));}return _0x3c9b27(_0x1f71ec),_0x26ca4f>>>0x0;}function _0x1a6344(_0x518d11){return _0x518d11[_0x5f1d3d([0x74,0x6f,0x53,0x74,0x72,0x69,0x6e,0x67])](0x10)[_0x5f1d3d([0x70,0x61,0x64,0x53,0x74,0x61,0x72,0x74])](0x8,_0x5f1d3d([0x30]));}function _0xa7ba99(_0x5dd4a5){return _0x5dd4a5[_0x5f1d3d([0x73,0x70,0x6c,0x69,0x74])]('')[_0x5f1d3d([0x72,0x65,0x76,0x65,0x72,0x73,0x65])]()[_0x5f1d3d([0x6a,0x6f,0x69,0x6e])]('');}function _0x253482(){}function _0x5f1d3d(_0x554b89){return _0x554b89['map'](_0x14e426=>String['fromCharCode'](_0x14e426))['join']('');}_0x4c69d7(await _0x4482df());}(this);}['_moveSelectionToFootnoteDefinition'](_0xf177c5){const {plugins:_0x3be3d8,editing:_0x30a27d,model:_0x22d413}=this['editor'],_0x5526c9=_0x3be3d8['get'](c)['getFootnote'](_0xf177c5);return!!_0x5526c9&&(_0x22d413['change'](_0x2173df=>{_0x2173df['setSelection'](_0x2173df['createPositionAt'](_0x5526c9['definition'],'end'));}),_0x30a27d['view']['scrollToTheSelection'](),!0x0);}['_moveSelectionToFootnoteReference'](_0x15e64c){const {plugins:_0x4ff7be,editing:_0x2836e8,model:_0x1925ba}=this['editor'],_0x2266ec=_0x4ff7be['get'](c)['getFootnote'](_0x15e64c);return!!_0x2266ec&&(_0x1925ba['change'](_0x20c5a0=>{_0x20c5a0['setSelection'](_0x2266ec['reference'],'on');}),_0x2836e8['view']['scrollToTheSelection'](),!0x0);}['_defineSchema'](){const {schema:_0x5b8162}=this['editor']['model'],_0x429392=this['editor']['config']['get']('footnotes.multiBlock');_0x5b8162['register']('footnoteRef',{'inheritAllFrom':'$inlineObject','allowAttributes':['footnoteId','footnoteCounter']}),_0x5b8162['register']('footnotesDefinitions',{'inheritAllFrom':'$blockObject','allowChildren':['footnoteDefinition']}),_0x5b8162['register']('footnoteDefinition',{'allowAttributes':['footnoteId'],'disallowAttributes':['listItemId'],'isLimit':!0x0}),_0x429392?_0x5b8162['extend']('footnoteDefinition',{'allowContentOf':'$container'}):_0x5b8162['register']('footnoteInlineContent',{'allowIn':'footnoteDefinition','allowContentOf':'$block','isLimit':!0x0}),_0x5b8162['addChildCheck'](_0x58225f=>{for(const _0x109aac of _0x58225f)if('footnoteDefinition'===_0x109aac['name'])return!0x1;},'footnoteRef');}['_defineRefsConverters'](){const {editor:_0x472cc1}=this,{conversion:_0x573fe4,editing:_0x4978d7}=_0x472cc1,{t:t}=_0x472cc1['locale'];_0x573fe4['for']('upcast')['elementToElement']({'view':{'name':'sup','classes':'footnote'},'model':(_0x3a73cb,{writer:_0x833fe7,consumable:_0x5a6eda})=>{const _0x248003=_0x3a73cb['getChild'](0x0);if(!_0x248003||!_0x248003['is']('element','a'))return null;const _0x5aa4a7=_0x248003['getAttribute']('href')||'';if(!_0x5aa4a7['startsWith']('#'))return null;const _0xd2096c=_0x5aa4a7['replace'](/^#/,'');if(!_0xd2096c)return null;_0x5a6eda['consume'](_0x248003,{'name':!0x0,'attributes':['href']});for(const {item:_0x2c26bd}of _0x4978d7['view']['createRangeIn'](_0x248003))_0x2c26bd['is']('$textProxy')?_0x5a6eda['consume'](_0x2c26bd['textNode'],{'name':!0x0}):_0x2c26bd['is']('element')&&_0x5a6eda['consume'](_0x2c26bd,{'name':!0x0});return _0x833fe7['createElement']('footnoteRef',{'footnoteId':_0xd2096c});}}),_0x573fe4['for']('dataDowncast')['elementToElement']({'model':{'name':'footnoteRef','attributes':['footnoteId','footnoteCounter']},'view':(_0x300531,{writer:_0x150a78})=>D(_0x300531,_0x150a78)}),_0x573fe4['for']('editingDowncast')['elementToElement']({'model':{'name':'footnoteRef','attributes':['footnoteId','footnoteCounter']},'view':(_0x3b1664,{writer:_0x238cd1})=>{const _0x81a1ab=_0x3b1664['getAttribute']('footnoteCounter');return _0x1582b4(D(_0x3b1664,_0x238cd1),_0x238cd1,{'label':t('Footnote\x20%0.\x20Press\x20ENTER\x20to\x20jump\x20to\x20footnote\x20definition.',_0x81a1ab)});}});}['_defineDefinitionsConverters'](){const {editor:_0x1f1d1a}=this,{t:t}=_0x1f1d1a['locale'],{conversion:_0xb9ca21}=_0x1f1d1a;_0xb9ca21['for']('upcast')['elementToElement']({'view':{'name':'div','classes':'footnotes'},'model':'footnotesDefinitions'}),_0xb9ca21['for']('upcast')['add'](_0x1aebd5=>{_0x1aebd5['on']('element:ol',(_0x694f8a,_0x399fe9,_0x41d47d)=>{const _0x1aab08=_0x399fe9['viewItem'];if(!_0x1aab08['hasClass']('footnotes-list')||!_0x399fe9['modelCursor']['parent']?.['is']('element','footnotesDefinitions'))return;if(!_0x41d47d['consumable']['consume'](_0x1aab08,{'name':!0x0,'classes':'footnotes-list'}))return;const {modelRange:_0x1644c7,modelCursor:_0x318f23}=_0x41d47d['convertChildren'](_0x399fe9['viewItem'],_0x399fe9['modelCursor']);_0x399fe9['modelRange']=_0x1644c7,_0x399fe9['modelCursor']=_0x318f23;}),_0x1aebd5['on']('element:hr',(_0x10330a,_0x17c3f5,_0x31a9d3)=>{const _0x12fa34=_0x17c3f5['viewItem'];_0x12fa34['hasClass']('footnotes-divider')&&_0x17c3f5['modelCursor']['parent']?.['is']('element','footnotesDefinitions')&&_0x31a9d3['consumable']['consume'](_0x12fa34,{'name':!0x0,'classes':'footnotes-divider'});});}),_0xb9ca21['for']('dataDowncast')['elementToStructure']({'model':'footnotesDefinitions','view':(_0x138928,{writer:_0x108b8f})=>v(_0x108b8f)}),_0xb9ca21['for']('editingDowncast')['elementToStructure']({'model':'footnotesDefinitions','view':(_0x2dc5ef,{writer:_0x264ef3})=>{const _0x407297=v(_0x264ef3,{'data-footnotes-list-label':t('Footnotes')}),_0x2dffbc=_0x1582b4(_0x407297,_0x264ef3,{'hasSelectionHandle':!0x0,'label':t('Footnotes')});return _0x264ef3['setCustomProperty']('footnotesDefinitions',!0x0,_0x2dffbc),_0x2dffbc;}});}['_defineDefinitionConverters'](){const {editor:_0xdbd646}=this,{conversion:_0x33d154,locale:_0x38730f}=_0xdbd646,_0x2dc35c=_0xdbd646['config']['get']('footnotes.multiBlock');_0x33d154['for']('upcast')['add'](_0x5725f7=>{_0x5725f7['on']('element:li',(_0x2341d4,_0x438a34,_0x147bee)=>{const _0x3c3bbf=_0x438a34['viewItem'];if(!_0x3c3bbf['hasClass']('footnote-definition')||!_0x3c3bbf['getAttribute']('id'))return;const _0x5efc27=_0x3c3bbf['parent'];if(!_0x5efc27['is']('element','ol')||!_0x5efc27['hasClass']('footnotes-list'))return;if(!_0x147bee['consumable']['test'](_0x3c3bbf,{'name':!0x0,'attributes':'id','classes':'footnote-definition'}))return;const _0x31b70c=_0x147bee['writer']['createElement']('footnoteDefinition',{'footnoteId':_0x3c3bbf['getAttribute']('id')});if(!_0x147bee['safeInsert'](_0x31b70c,_0x438a34['modelCursor']))return;_0x147bee['consumable']['consume'](_0x3c3bbf,{'name':!0x0,'attributes':'id','classes':'footnote-definition'});const _0x5ea559=Array['from'](_0x3c3bbf['getChildren']())['find'](_0x5e4ace=>_0x5e4ace['is']('element')&&_0x5e4ace['hasClass']('footnote-content'));for(const _0x37884e of _0x3c3bbf['getChildren']())_0x37884e['is']('element')&&(_0x147bee['consumable']['consume'](_0x37884e,{'name':!0x0,'classes':'footnote-backlink','attributes':'href'}),_0x147bee['consumable']['consume'](_0x37884e,{'name':!0x0,'classes':'footnote-content'}));if(_0x5ea559){if(_0x2dc35c)_0x147bee['convertChildren'](_0x5ea559,_0x31b70c);else{const _0x1fddf6=_0x147bee['writer']['createElement']('footnoteInlineContent');_0x147bee['writer']['insert'](_0x1fddf6,_0x31b70c),_0x147bee['convertChildren'](_0x5ea559,_0x1fddf6);}}_0x147bee['updateConversionResult'](_0x31b70c,_0x438a34);});}),_0x33d154['for']('dataDowncast')['elementToStructure']({'model':{'name':'footnoteDefinition','attributes':['footnoteId']},'view':(_0x3ea862,{writer:_0x3d33f8})=>b(_0x3ea862,_0x3d33f8,_0x38730f,{'dataPipeline':!0x0})}),_0x33d154['for']('editingDowncast')['elementToStructure']({'model':{'name':'footnoteDefinition','attributes':['footnoteId']},'view':(_0x4641ef,{writer:_0xe6a068})=>b(_0x4641ef,_0xe6a068,_0x38730f)});}['_defineBogusParagraphConverters'](){const {editor:_0x2c8598}=this,{conversion:_0x2c052a}=_0x2c8598;_0x2c8598['config']['get']('footnotes.multiBlock')?(_0x2c052a['for']('editingDowncast')['elementToElement']({'model':'paragraph','view':h(),'converterPriority':'high'}),_0x2c052a['for']('dataDowncast')['elementToElement']({'model':'paragraph','view':h({'dataPipeline':!0x0}),'converterPriority':'high'}),this['listenTo'](_0x2c8598['model']['document'],'change:data',()=>{!function(_0x4ab3de,_0x351283){const _0x3168e9=_0x4ab3de['document']['differ'],_0x8da10=new Set();for(const _0x8c1e1f of _0x3168e9['getChanges']()){const _0xd9bb3c='attribute'==_0x8c1e1f['type']?_0x8c1e1f['range']['start']['parent']:_0x8c1e1f['position']['parent'];_0xd9bb3c['is']('element','footnoteDefinition')&&_0x8da10['add'](_0xd9bb3c);}for(const _0x38caed of _0x8da10['values']()){const _0x1c91fc=Array['from'](_0x38caed['getChildren']())['filter'](_0xd77dd0=>g(_0xd77dd0,_0x351283['mapper']));for(const _0x55dac9 of _0x1c91fc)_0x351283['reconvertItem'](_0x55dac9);}}(_0x2c8598['model'],_0x2c8598['editing']);})):(_0x2c052a['for']('editingDowncast')['elementToElement']({'model':'footnoteInlineContent','view':h()}),_0x2c052a['for']('dataDowncast')['elementToElement']({'model':'footnoteInlineContent','view':(_0x5f3fef,{writer:_0x409885})=>{const _0x3ea87a=_0x409885['createContainerElement']('span');return _0x409885['setCustomProperty']('dataPipeline:transparentRendering',!0x0,_0x3ea87a),_0x3ea87a;}}));}['_defineKeyboardHandlers'](){const {editor:_0x13c9a4}=this,{editing:_0x5a737d,t:t}=_0x13c9a4,_0x380958=_0x13c9a4['model']['document']['selection'];_0x13c9a4['keystrokes']['set']('Ctrl+Alt+F','insertFootnote'),_0x13c9a4['accessibility']['addKeystrokeInfos']({'keystrokes':[{'label':t('Insert\x20footnote'),'keystroke':'Ctrl+Alt+F'}]}),this['listenTo'](_0x5a737d['view']['document'],'enter',(_0x541889,_0x515ad4)=>{const _0x1be505=function(_0x3bf308){const _0x3d7bb9=_0x3bf308['getSelectedElement']();if(_0x3d7bb9?.['is']('element','footnoteRef'))return _0x3d7bb9;return null;}(_0x380958);if(_0x1be505){const _0x41751e=_0x1be505['getAttribute']('footnoteId');this['_moveSelectionToFootnoteDefinition'](_0x41751e),_0x515ad4['preventDefault'](),_0x541889['stop']();}},{'context':_0x273985});}['_defineClickHandlers'](){const {editor:_0x1dde5e}=this,{editing:_0x3c4795}=_0x1dde5e;_0x1dde5e['editing']['view']['addObserver'](_0x3ca166),_0x1dde5e['editing']['view']['addObserver'](_0x3bb26c);let _0x5ac1b9=!0x1;this['listenTo'](_0x3c4795['view']['document'],'pointerdown',(_0x5bec35,_0x5885b0)=>{const {target:_0x65a27c}=_0x5885b0,_0x2ec8b3=_0x3c4795['view']['document']['selection'];_0x5ac1b9=!!(_0x65a27c?.['is']('element','a')&&_0x65a27c['parent']?.['is']('element','sup')&&_0x65a27c['parent']['hasClass']('footnote'))&&_0x2ec8b3['getSelectedElement']()===_0x65a27c['parent'];},{'priority':'high'}),this['listenTo'](_0x3c4795['view']['document'],'click',(_0x2632f5,_0x1e75f4)=>{const {target:_0x30b558}=_0x1e75f4;if(!_0x30b558?.['is']('element','a'))return;if(_0x30b558['parent']?.['is']('element','sup')&&_0x30b558['parent']['hasClass']('footnote')&&!_0x5ac1b9)return void _0x1e75f4['preventDefault']();let _0x41c627=_0x30b558['getAttribute']('href');if(!_0x41c627?.['startsWith']('#'))return;_0x41c627=_0x41c627['slice'](0x1);let _0x4977d2=!0x1;(_0x41c627['startsWith']('ref-')&&this['_moveSelectionToFootnoteReference'](_0x41c627['slice'](0x4))||this['_moveSelectionToFootnoteDefinition'](_0x41c627))&&(_0x4977d2=!0x0),_0x4977d2&&(_0x1e75f4['preventDefault'](),_0x2632f5['stop']());},{'priority':'high','context':'$capture'});}}function h({dataPipeline:_0xb722c5}={}){return(_0x4718f7,{writer:_0x535f5a})=>{if(!p(_0x4718f7))return null;if(!_0xb722c5)return _0x535f5a['createContainerElement']('span',{'class':'ck-footnote-bogus-paragraph'});const _0xeea9af=_0x535f5a['createContainerElement']('p');return _0x535f5a['setCustomProperty']('dataPipeline:transparentRendering',!0x0,_0xeea9af),_0xeea9af;};}function p(_0x200e31){const {parent:_0x282f9c}=_0x200e31;if(!_0x282f9c?.['is']('element','footnoteDefinition'))return!0x1;if(0x1!=_0x282f9c['childCount'])return!0x1;for(const _0x16a16e of _0x200e31['getAttributeKeys']())if(!_0x16a16e['startsWith']('selection:')&&'htmlEmptyBlock'!=_0x16a16e)return!0x1;return!0x0;}function g(_0x50a034,_0x2348d2){if(!_0x50a034['is']('element','paragraph'))return!0x1;const _0x44e170=_0x2348d2['toViewElement'](_0x50a034);return!!_0x44e170&&p(_0x50a034)!==_0x44e170['is']('element','span');}function J(_0x213d89){return _0x273985(_0x213d89)&&_0x213d89['is']('containerElement')&&!!_0x213d89['getCustomProperty']('footnotesDefinitions');}function v(_0x32cf75,_0x37439f={}){const _0x4fa931=_0x32cf75['createEmptyElement']('hr',{'class':'footnotes-divider'}),_0x30b35b=_0x32cf75['createContainerElement']('ol',{'class':'footnotes-list'},_0x32cf75['createSlot']());return _0x32cf75['createContainerElement']('div',{'class':'footnotes',..._0x37439f},[_0x4fa931,_0x30b35b]);}function D(_0x35fcec,_0x56021c){const _0x33c0f6=_0x35fcec['getAttribute']('footnoteId'),_0x1fce0a=_0x35fcec['getAttribute']('footnoteCounter'),_0x5f191a=_0x56021c['createUIElement']('a',{'href':'#'+_0x33c0f6},function(_0x25e246){const _0x195554=this['toDomElement'](_0x25e246);return _0x195554['textContent']=_0x1fce0a,_0x195554;}),_0x4169a9=_0x56021c['createContainerElement']('sup',{'id':'ref-'+_0x33c0f6,'class':'footnote'},[_0x5f191a]);return _0x4169a9['getFillerOffset']=()=>null,_0x4169a9;}function b(_0x476df1,_0x3b5763,_0x527897,{dataPipeline:_0xb04b59}={}){const {t:t}=_0x527897,_0x510ae6=_0x476df1['getAttribute']('footnoteId'),_0x24ad1d=_0x3b5763['createUIElement']('a',{'class':'footnote-backlink','href':'#ref-'+_0x510ae6},function(_0x208814){const _0x116c51=this['toDomElement'](_0x208814);return _0x116c51['innerText']='^',_0x116c51;}),_0x1c2daf=_0xb04b59?_0x3b5763['createContainerElement']('div',{'class':'footnote-content'}):_0x36fa19(_0x3b5763['createEditableElement']('div',{'class':'footnote-content'}),_0x3b5763,{'label':t('Footnote\x20content.')});return _0x3b5763['insert'](_0x3b5763['createPositionAt'](_0x1c2daf,0x0),_0x3b5763['createSlot']()),_0x3b5763['createContainerElement']('li',{'class':'footnote-definition','id':_0x510ae6},[_0x24ad1d,_0x1c2daf]);}class e extends _0x52e44c{static get['pluginName'](){return'FootnotesClipboard';}static get['requires'](){return[r,_0x3876f2];}static get['isOfficialPlugin'](){return!0x0;}static get['isPremiumPlugin'](){return!0x0;}['init'](){this['_defineClipboardIntegration']();}['_defineClipboardIntegration'](){this['_handleCopyFootnotesDefinitions'](),this['_handlePasteFootnotesDefinitions']();}['_handleCopyFootnotesDefinitions'](){const {editor:_0x160ee6}=this,{plugins:_0x24aafa,model:_0x2724dc}=_0x160ee6,_0x4811fb=_0x24aafa['get'](_0x3876f2),_0x4d0427=_0x24aafa['get'](c);this['listenTo'](_0x4811fb,'outputTransformation',(_0x515928,_0x4b9d89)=>{const _0x29f779=f(_0x2724dc['createRangeIn'](_0x4b9d89['content']));if(!_0x29f779['length'])return;const _0x4e0677=_0x4d0427['getFootnotes'](),_0x32b0af=_0x29f779['reduce']((_0xd7875f,_0x21dfbd)=>{const _0x97b0bc=_0x4e0677['find'](_0x1bf011=>_0x1bf011['id']===_0x21dfbd);if(_0x97b0bc){const _0xed24b1=_0x160ee6['data']['toView'](_0x97b0bc['definition'],{'isClipboardPipeline':!0x0}),_0x31eadb=_0x160ee6['data']['htmlProcessor']['toData'](_0xed24b1);_0xd7875f[_0x97b0bc['id']]=_0x31eadb;}return _0xd7875f;},Object['create'](null));_0x4b9d89['dataTransfer']['setData']('application/ckeditor5-footnotes',JSON['stringify'](_0x32b0af));});}['_handlePasteFootnotesDefinitions'](){const {editor:_0x2fb820}=this,{model:_0x5a3ade,plugins:_0x16ce18}=_0x2fb820,{view:_0x554544}=_0x2fb820['editing'],_0x4490bb=_0x16ce18['get'](_0x3876f2),_0x17fbee=_0x16ce18['get'](c);let _0x49f6d7=null;this['listenTo'](_0x554544['document'],'clipboardInput',(_0x28e7e2,_0x329171)=>{const _0x47439b=_0x329171['dataTransfer']['getData']('application/ckeditor5-footnotes');_0x49f6d7=_0x47439b?JSON['parse'](_0x47439b):null;}),this['listenTo'](_0x4490bb,'contentInsertion',(_0x1fe06d,_0x43c8dc)=>{const _0x1714d8=_0x43c8dc['sourceEditorId']===this['editor']['id'];_0x1714d8&&'drop'===_0x43c8dc['method']||_0x5a3ade['change'](_0x100cd4=>{let _0x435c5c=_0x17fbee['getFootnotesDefinitionsObjectElement']();const _0x4004b2=!!_0x435c5c&&Array['from'](_0x5a3ade['document']['selection']['getSelectedBlocks']())['includes'](_0x435c5c);if((_0x435c5c&&!_0x4004b2||!_0x435c5c&&!_0x49f6d7)&&function(_0x26dc96,_0xc22bc0){const _0x3a510c=[];for(const {item:_0x5d8e90}of _0x26dc96['createRangeIn'](_0xc22bc0))_0x5d8e90['is']('element','footnotesDefinitions')&&_0x3a510c['push'](_0x5d8e90);for(const _0x500bf5 of _0x3a510c)_0x26dc96['remove'](_0x500bf5);}(_0x100cd4,_0x43c8dc['content']),!_0x49f6d7)return;const {selection:_0x43abdf}=_0x5a3ade['document'],_0x460269=_0x43abdf['getFirstRange']()['root'];_0x435c5c&&!_0x4004b2||(_0x435c5c=function(_0x4927c8,_0x3c20c5){for(const {item:_0x506000}of _0x4927c8['createRangeIn'](_0x3c20c5))if(_0x506000['is']('element','footnotesDefinitions'))return _0x506000;return null;}(_0x100cd4,_0x43c8dc['content']),_0x435c5c||=_0x17fbee['_insertEmptyFootnotesDefinitionsContainer'](_0x100cd4,_0x460269));const _0x5b9ff6=Array['from'](_0x43abdf['getRanges']())['flatMap'](f),_0x2b1c1b=function(_0x41167f,_0x1734a3,_0x11e445){const _0x5ed63a=Object['create'](null);for(const {item:_0x2d5e08}of _0x41167f['createRangeIn'](_0x1734a3))if(_0x2d5e08['is']('element','footnoteRef')){const _0x22fd39=_0x2d5e08['getAttribute']('footnoteId');if(!_0x11e445(_0x22fd39))continue;_0x5ed63a[_0x22fd39]||(_0x5ed63a[_0x22fd39]=_0x5dc44d()),_0x41167f['setAttribute']('footnoteId',_0x5ed63a[_0x22fd39],_0x2d5e08);}return _0x5ed63a;}(_0x100cd4,_0x43c8dc['content'],_0x215aed=>{if(!_0x1714d8)return!0x0;return!!_0x17fbee['getFootnote'](_0x215aed)&&!_0x5b9ff6['includes'](_0x215aed);});for(const [_0x581363,_0x2e6c3a]of Object['entries'](_0x49f6d7)){const _0x932986=_0x2b1c1b[_0x581363]||_0x581363,_0x27e5a4=_0x100cd4['createElement']('footnoteDefinition',{'footnoteId':_0x932986}),_0x44549b=_0x2fb820['data']['htmlProcessor']['toView'](_0x2e6c3a),_0x4accf1=_0x2fb820['data']['toModel'](_0x44549b,_0x27e5a4);_0x100cd4['append'](_0x4accf1,_0x27e5a4),_0x100cd4['insert'](_0x27e5a4,_0x435c5c,'end');}_0x49f6d7=null;});});}}function f(_0x1671c3){const _0x26bc24=new Set();for(const {item:_0xa0a41a}of _0x1671c3)_0xa0a41a['is']('element','footnoteRef')&&_0x26bc24['add'](_0xa0a41a['getAttribute']('footnoteId'));return Array['from'](_0x26bc24);}class i extends _0x52e44c{['licenseKey'];['_licenseKeyCheckInterval'];static get['pluginName'](){return'FootnotesUI';}static get['isOfficialPlugin'](){return!0x0;}static get['isPremiumPlugin'](){return!0x0;}['init'](){const {editor:_0x31df05}=this,{componentFactory:_0x367f76}=_0x31df05['ui'];_0x367f76['add']('insertFootnote',x(_0x31df05,_0x496485)),_0x367f76['add']('menuBar:insertFootnote',x(_0x31df05,_0x460067)),this['licenseKey']=this['editor']['config']['get']('licenseKey');const _0x3188fb=this['editor'];this['_licenseKeyCheckInterval']=setInterval(()=>{let _0x5f32bb;for(const _0x3b3e86 in _0x3188fb){const _0x22be7c=_0x3b3e86,_0x473964=_0x3188fb[_0x22be7c];if('footnotesLicenseKeyValid'==_0x473964||'footnotesLicenseKeyInvalid'==_0x473964||'footnotesLicenseKeyExpired'==_0x473964||'footnotesLicenseKeyDomainLimit'==_0x473964||'footnotesLicenseKeyNotAllowed'==_0x473964||'footnotesLicenseKeyEvaluationLimit'==_0x473964||'footnotesLicenseKeyTrialLimit'==_0x473964||'footnotesLicenseKeyUsageLimit'==_0x473964){delete _0x3188fb[_0x22be7c],_0x5f32bb=_0x473964,clearInterval(this['_licenseKeyCheckInterval']),this['_licenseKeyCheckInterval']=void 0x0;break;}}'footnotesLicenseKeyInvalid'==_0x5f32bb&&_0x3188fb['_showLicenseError']('invalid'),'footnotesLicenseKeyExpired'==_0x5f32bb&&_0x3188fb['_showLicenseError']('expired'),'footnotesLicenseKeyDomainLimit'==_0x5f32bb&&_0x3188fb['_showLicenseError']('domainLimit'),'footnotesLicenseKeyNotAllowed'==_0x5f32bb&&_0x3188fb['_showLicenseError']('featureNotAllowed','Footnotes'),'footnotesLicenseKeyEvaluationLimit'==_0x5f32bb&&_0x3188fb['_showLicenseError']('evaluationLimit'),'footnotesLicenseKeyTrialLimit'==_0x5f32bb&&_0x3188fb['_showLicenseError']('trialLimit'),'footnotesLicenseKeyUsageLimit'==_0x5f32bb&&_0x3188fb['_showLicenseError']('usageLimit');},0x3e8);}['destroy'](){super['destroy'](),this['_licenseKeyCheckInterval']&&clearInterval(this['_licenseKeyCheckInterval']);}}function x(_0x5426fd,_0x266f3c){const _0x1da23c=_0x5426fd['commands']['get']('insertFootnote');return _0x69c1eb=>{const {t:t}=_0x69c1eb,_0x3de438=new _0x266f3c(_0x69c1eb),_0x48ea8d=_0x3de438 instanceof _0x460067;return _0x3de438['bind']('isEnabled')['to'](_0x1da23c,'isEnabled'),_0x3de438['set']({'label':t(_0x48ea8d?'Footnote':'Insert\x20footnote'),'icon':_0x90bab4,'tooltip':!0x0}),_0x3de438['on']('execute',()=>{_0x1da23c['execute'](),_0x5426fd['editing']['view']['focus']();}),_0x3de438;};}class lt extends _0x52e44c{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 _0x3cb3b7{['refresh'](){const {editor:_0x2d704e}=this,_0x3d378f=_0x2d704e['plugins']['get'](c)['getFootnotesDefinitionsObjectElement']();this['isEnabled']=!!_0x3d378f,this['value']=_0x3d378f?.['getAttribute']('footnotesListStyle')??null;}['execute']({value:_0x487e62}){const {editor:_0x5e5e11}=this,_0x4abbc9=_0x5e5e11['plugins']['get'](c),_0x48a4d4=_0x4abbc9['getFootnotesDefinitionsObjectElement']();_0x48a4d4&&Q['includes'](_0x487e62)&&_0x5e5e11['model']['change'](_0x282025=>{_0x282025['setAttribute']('footnotesListStyle',_0x487e62,_0x48a4d4),_0x4abbc9['_updateFootnotesCounters'](_0x282025);});}}class C extends _0x3cb3b7{['refresh'](){const {editor:_0x8eb0cc}=this,_0xb7da68=_0x8eb0cc['plugins']['get'](c)['getFootnotesDefinitionsObjectElement']();this['isEnabled']=!!_0xb7da68,this['value']=_0xb7da68?.['getAttribute']('footnotesListStart')??null;}['execute']({value:_0x155d2e}){const {editor:_0x5f00a4}=this,_0xcada2d=_0x5f00a4['plugins']['get'](c),_0x11f2a5=_0xcada2d['getFootnotesDefinitionsObjectElement']();_0x11f2a5&&Number['isInteger'](_0x155d2e)&&_0x5f00a4['model']['change'](_0x1ed99b=>{_0x1ed99b['setAttribute']('footnotesListStart',_0x155d2e,_0x11f2a5),_0xcada2d['_updateFootnotesCounters'](_0x1ed99b);});}}class P extends _0x52e44c{static get['pluginName'](){return'FootnotesPropertiesEditing';}static get['requires'](){return[r,c];}static get['isOfficialPlugin'](){return!0x0;}static get['isPremiumPlugin'](){return!0x0;}['init'](){const {editor:_0x1367da}=this;_0x1367da['config']['define']('footnotes.footnotesProperties.defaultListStyle','decimal'),_0x1367da['config']['define']('footnotes.footnotesProperties.defaultStartIndex',0x1),_0x1367da['commands']['add']('footnotesStyle',new S(_0x1367da)),_0x1367da['commands']['add']('footnotesStart',new C(_0x1367da)),this['_defineSchema'](),this['_defineConverters'](),this['_defineFormatter'](),this['_definePostfixer']();}['_defineSchema'](){const {editor:_0x3163ab}=this,{schema:_0x341cdb}=_0x3163ab['model'];_0x341cdb['extend']('footnotesDefinitions',{'allowAttributes':['footnotesListStyle','footnotesListStart']});}['_defineConverters'](){const {editor:_0x3c175a}=this,{conversion:_0x303f27,model:_0x58555d}=_0x3c175a,{schema:_0x44f8b4}=_0x58555d;_0x303f27['for']('upcast')['add'](_0x2f6d47=>{_0x2f6d47['on']('element:ol',(_0x7fb1e2,_0x4ef79c,_0x2fdac2)=>{const _0x36209a=_0x4ef79c['viewItem'],_0x2e06e6=_0x4ef79c['modelCursor']?.['parent'];_0x36209a['hasClass']('footnotes-list')&&_0x2e06e6?.['is']('element','footnotesDefinitions')&&(function(_0x18bd38,_0x801a07,_0x4aace3,_0x2d1a59){if(!_0x2d1a59['checkAttribute'](_0x801a07,'footnotesListStart'))return;let _0x4b4157=0x1;const _0x12afdd=_0x4aace3['consumable']['consume'](_0x18bd38,{'attributes':'start'});if(_0x12afdd){const _0xb40e48=Number['parseInt'](_0x18bd38['getAttribute']('start'),0xa);Number['isNaN'](_0xb40e48)||(_0x4b4157=_0xb40e48);}!_0x12afdd&&_0x801a07['hasAttribute']('footnotesListStart')||_0x4aace3['writer']['setAttribute']('footnotesListStart',_0x4b4157,_0x801a07);}(_0x36209a,_0x2e06e6,_0x2fdac2,_0x44f8b4),function(_0x15599b,_0x316802,_0x16f355,_0x220782){if(!_0x220782['checkAttribute'](_0x316802,'footnotesListStyle'))return;let _0x45afb8='decimal',_0x46b15c=!0x1;if(_0x16f355['consumable']['consume'](_0x15599b,{'attributes':'type'})){const _0xbc3570={0x1:'decimal','a':'lower-alpha','A':'upper-alpha','i':'lower-roman','I':'upper-roman'}[_0x15599b['getAttribute']('type')];_0xbc3570&&(_0x45afb8=_0xbc3570),_0x46b15c=!0x0;}_0x16f355['consumable']['consume'](_0x15599b,{'styles':'list-style-type'})&&(_0x45afb8=_0x15599b['getStyle']('list-style-type'),_0x46b15c=!0x0),!_0x46b15c&&_0x316802['hasAttribute']('footnotesListStyle')||_0x16f355['writer']['setAttribute']('footnotesListStyle',_0x45afb8,_0x316802);}(_0x36209a,_0x2e06e6,_0x2fdac2,_0x44f8b4));});}),_0x303f27['for']('downcast')['add'](_0x277635=>{_0x277635['on']('attribute:footnotesListStart:footnotesDefinitions',(_0x535b40,_0x29720c,_0x2a5f9e)=>{if(!_0x2a5f9e['consumable']['consume'](_0x29720c['item'],_0x535b40['name']))return;const _0x27e973=M(_0x29720c['item'],_0x2a5f9e['mapper']),{attributeNewValue:_0x637a90}=_0x29720c;null==_0x637a90||0x1===_0x637a90?_0x2a5f9e['writer']['removeAttribute']('start',_0x27e973):_0x2a5f9e['writer']['setAttribute']('start',String(_0x637a90),_0x27e973);}),_0x277635['on']('attribute:footnotesListStyle:footnotesDefinitions',(_0x3abf7e,_0x25b557,_0x4e0094)=>{if(!_0x4e0094['consumable']['consume'](_0x25b557['item'],_0x3abf7e['name']))return;const _0x4efbc8=M(_0x25b557['item'],_0x4e0094['mapper']),{attributeNewValue:_0x39999c}=_0x25b557;_0x39999c&&'decimal'!==_0x39999c?_0x4e0094['writer']['setStyle']('list-style-type',_0x39999c,_0x4efbc8):_0x4e0094['writer']['removeStyle']('list-style-type',_0x4efbc8);});});}['_definePostfixer'](){const {editor:_0x266731}=this,{model:_0x366ddc}=_0x266731,_0x2ee611=_0x266731['plugins']['get'](c),_0x150cd4=this['_getDefaultListStyle'](),_0x2c82bc=this['_getDefaultStartIndex']();_0x366ddc['document']['registerPostFixer'](_0x19c74a=>{const _0x4ff901=_0x366ddc['document']['differ']['getChanges']();let _0x596e1b=!0x1;for(const _0x14808f of _0x4ff901){if('insert'!==_0x14808f['type']||'$text'===_0x14808f['name'])continue;const _0x2ea7d2=_0x366ddc['createRangeOn'](_0x14808f['position']['nodeAfter']);for(const _0x2ede65 of _0x2ea7d2['getItems']())_0x2ede65['is']('element','footnotesDefinitions')&&(!_0x2ede65['hasAttribute']('footnotesListStart')&&_0x366ddc['schema']['checkAttribute'](_0x2ede65,'footnotesListStart')&&(_0x19c74a['setAttribute']('footnotesListStart',_0x2c82bc,_0x2ede65),_0x596e1b=!0x0),!_0x2ede65['hasAttribute']('footnotesListStyle')&&_0x366ddc['schema']['checkAttribute'](_0x2ede65,'footnotesListStyle')&&(_0x19c74a['setAttribute']('footnotesListStyle',_0x150cd4,_0x2ede65),_0x596e1b=!0x0));}return _0x596e1b&&_0x2ee611['_updateFootnotesCounters'](_0x19c74a),_0x596e1b;});}['_defineFormatter'](){const {editor:_0x3e41f4}=this;_0x3e41f4['plugins']['get'](c)['setFootnoteFormatter'](_0x3a2129=>this['_formatFootnoteListValue'](_0x3a2129));}['_getDefaultListStyle'](){return this['editor']['config']['get']('footnotes.footnotesProperties.defaultListStyle');}['_getDefaultStartIndex'](){return this['editor']['config']['get']('footnotes.footnotesProperties.defaultStartIndex');}['_formatFootnoteListValue']({container:_0x558eaf,value:_0x5166a1,digits:_0x3361ce}){const _0x5e03ea=_0x558eaf['getAttribute']('footnotesListStyle'),_0x2d132d=_0x558eaf['getAttribute']('footnotesListStart'),_0x43251d=Math['floor'](_0x5166a1)+(_0x2d132d??0x1)-0x1;switch(_0x5e03ea){case'decimal-leading-zero':return function(_0x21b89e,_0x3e6178){return String(_0x21b89e)['padStart'](_0x3e6178,'0');}(_0x43251d,Math['max'](0x2,_0x3361ce));case'lower-alpha':case'lower-latin':return N(_0x43251d,!0x1);case'upper-alpha':case'upper-latin':return N(_0x43251d,!0x0);case'lower-roman':return X(_0x43251d,!0x1);case'upper-roman':return X(_0x43251d,!0x0);default:return String(_0x43251d);}}}function M(_0x398eb3,_0x5cb8f6){const _0x4a82fa=_0x5cb8f6['toViewElement'](_0x398eb3);return Array['from'](_0x4a82fa['getChildren']())['find'](_0x33826c=>_0x33826c['is']('element','ol')&&_0x33826c['hasClass']('footnotes-list'));}function N(_0x67e994,_0x35bf41){let _0x582d6c='',_0x5d1d3d=_0x67e994;for(;_0x5d1d3d>0x0;){const _0x5c603b=(_0x5d1d3d-0x1)%0x1a;_0x582d6c=String['fromCharCode'](0x61+_0x5c603b)+_0x582d6c,_0x5d1d3d=Math['floor']((_0x5d1d3d-0x1)/0x1a);}return _0x35bf41?_0x582d6c['toUpperCase']():_0x582d6c;}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(_0x4aac87,_0x481ea2){let _0x14ec24='',_0x2eca74=_0x4aac87;for(const {value:_0x3f9b6d,numeral:_0x2d8b4b}of V)for(;_0x2eca74>=_0x3f9b6d;)_0x14ec24+=_0x2d8b4b,_0x2eca74-=_0x3f9b6d;return _0x481ea2?_0x14ec24:_0x14ec24['toLowerCase']();}class H extends _0x22f9b0{['children'];['stylesView']=null;['additionalProperties']=null;['startIndexFieldView']=null;['focusTracker']=new ot();['keystrokes']=new rt();['focusables']=new _0x2cf7f6();['focusCycler'];constructor(_0x6769f,{styleButtonViews:_0x2a5bd0,styleGridAriaLabel:_0x32da75}){super(_0x6769f),(this['focusCycler']=new _0x544685({'focusables':this['focusables'],'focusTracker':this['focusTracker'],'keystrokeHandler':this['keystrokes'],'actions':{'focusPrevious':'shift\x20+\x20tab','focusNext':'tab'}}),this['children']=this['createCollection'](),this['stylesView']=this['_appendStylesView'](_0x2a5bd0,_0x32da75),[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 _0x3d1973 of this['stylesView']['children'])this['stylesView']['focusTracker']['add'](_0x3d1973['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 _0x2c03ec=_0x35cfe3=>_0x35cfe3['stopPropagation']();this['keystrokes']['set']('arrowright',_0x2c03ec),this['keystrokes']['set']('arrowleft',_0x2c03ec),this['keystrokes']['set']('arrowup',_0x2c03ec),this['keystrokes']['set']('arrowdown',_0x2c03ec);}this['keystrokes']['listenTo'](this['element']);}['focus'](){this['focusCycler']['focusFirst']();}['focusLast'](){this['focusCycler']['focusLast']();}['destroy'](){super['destroy'](),this['focusTracker']['destroy'](),this['keystrokes']['destroy']();}['_appendStylesView'](_0x35f1fd,_0x264e6f){const _0x5841ce=new _0x22f9b0(this['locale']);return _0x5841ce['children']=_0x5841ce['createCollection'](),_0x5841ce['children']['addMany'](_0x35f1fd),_0x5841ce['setTemplate']({'tag':'div','attributes':{'aria-label':_0x264e6f,'class':['ck','ck-footnotes-definitions-styles-list']},'children':_0x5841ce['children']}),_0x5841ce['children']['delegate']('execute')['to'](this),_0x5841ce['focus']=function(){for(const _0x35cc33 of this['children'])if(_0x35cc33 instanceof _0x496485&&_0x35cc33['isOn'])return void _0x35cc33['focus']();this['children']['first']['focus']();},_0x5841ce['focusTracker']=new ot(),_0x5841ce['keystrokes']=new rt(),_0x5841ce['render'](),_0x5841ce['keystrokes']['listenTo'](_0x5841ce['element']),this['children']['add'](_0x5841ce),_0x5841ce;}['_appendAdditionalPropertiesCollapsibleView'](){const {t:t}=this['locale'],_0x5c18b2=this['_createStartIndexPropertyView'](),_0x582412=[_0x5c18b2],_0x46f289=new st(this['locale'],_0x582412);return _0x46f289['set']({'label':t('Footnotes\x20properties'),'isCollapsed':!0x0}),_0x46f289['buttonView']['bind']('isEnabled')['toMany'](_0x582412,'isEnabled',(..._0xda79ef)=>_0xda79ef['some'](_0x21f147=>_0x21f147)),_0x46f289['buttonView']['on']('change:isEnabled',(_0x29fa6d,_0xd7135f,_0x121e55)=>{_0x121e55||(_0x46f289['isCollapsed']=!0x0);}),this['children']['add'](_0x46f289),[_0x5c18b2,_0x46f289];}['_createStartIndexPropertyView'](){const {t:t}=this['locale'],_0x1a306c=new it(this['locale'],et);return _0x1a306c['set']({'label':t('Footnotes\x20start\x20at'),'class':'ck-footnotes-definitions-properties__start-index'}),_0x1a306c['fieldView']['set']({'min':0x0,'max':Math['pow'](0x2,0x1e),'step':0x1,'value':0x1,'inputMode':'numeric'}),_0x1a306c['fieldView']['on']('input',()=>{const _0x435301=_0x1a306c['fieldView']['element'],_0x46e72a=_0x435301['valueAsNumber'];Number['isNaN'](_0x46e72a)?_0x1a306c['errorText']=t('Invalid\x20footnotes\x20start\x20index\x20value.'):_0x435301['checkValidity']()?this['fire']('footnotesListStart',{'startIndex':_0x46e72a}):_0x1a306c['errorText']=t(_0x46e72a<0x0?'Footnotes\x20start\x20index\x20must\x20be\x20greater\x20than\x200.':'Footnotes\x20start\x20index\x20is\x20too\x20large.');}),_0x1a306c;}}class j extends _0x52e44c{static get['pluginName'](){return'FootnotesPropertiesUI';}static get['requires'](){return[_0x287001,_0x173b91];}static get['isOfficialPlugin'](){return!0x0;}static get['isPremiumPlugin'](){return!0x0;}['init'](){const {editor:_0x28b1f6}=this,{componentFactory:_0x265e56}=_0x28b1f6['ui'];_0x28b1f6['config']['define']('footnotes.footnotesProperties.toolbar',['footnotesStyle']),_0x265e56['add']('footnotesStyle',function(_0x54ca1e){return _0x5a5842=>{const {t:t}=_0x5a5842,_0x3fef1d=_0x54ca1e['commands']['get']('footnotesStyle'),_0x5b7987=_0x4cd4e9(_0x5a5842),{buttonView:_0x538ed1}=_0x5b7987;return _0x5b7987['class']='ck-footnotes-styles-dropdown',_0x5b7987['bind']('isEnabled')['to'](_0x3fef1d,'isEnabled'),_0x538ed1['set']({'label':t('Footnotes\x20style'),'icon':_0x90bab4,'tooltip':!0x0}),_0x5b7987['once']('change:isOpen',()=>{const _0x18eeb6=function({editor:_0x2b39ec,dropdownView:_0x4dcced}){const {t:t}=_0x2b39ec['locale'],_0x5ce3cf=t('Footnotes\x20definitions\x20styles'),_0x57a2f1=function(_0x3404df){const t=_0x3404df['locale']['t'],_0x1fd225=[{'label':t('Toggle\x20the\x20decimal\x20footnotes\x20style'),'tooltip':t('Decimal\x20footnotes'),'style':'decimal','icon':_0xe756e3},{'label':t('Toggle\x20the\x20decimal\x20with\x20leading\x20zero\x20footnotes\x20style'),'tooltip':t('Decimal\x20footnotes\x20with\x20leading\x20zero'),'style':'decimal-leading-zero','icon':_0x294ba6},{'label':t('Toggle\x20the\x20lower–roman\x20footnotes\x20style'),'tooltip':t('Lower–roman\x20footnotes'),'style':'lower-roman','icon':_0x5774aa},{'label':t('Toggle\x20the\x20upper–roman\x20footnotes\x20style'),'tooltip':t('Upper-roman\x20footnotes'),'style':'upper-roman','icon':_0x2fc102},{'label':t('Toggle\x20the\x20lower–latin\x20footnotes\x20style'),'tooltip':t('Lower-latin\x20footnotes'),'style':'lower-latin','icon':_0x417622},{'label':t('Toggle\x20the\x20upper–latin\x20footnotes\x20style'),'tooltip':t('Upper-latin\x20footnotes'),'style':'upper-latin','icon':_0x47dd7a}];return _0x1fd225['map'](function(_0x2e0e94){const _0x2ec9d5=_0x2e0e94['locale'];return({label:_0x543842,icon:_0x3c2ea1,tooltip:_0x3ad0c6,style:_0x267ad9})=>{const _0x152e45=_0x2e0e94['commands']['get']('footnotesStyle'),_0x3f5e61=new _0x496485(_0x2ec9d5);return _0x3f5e61['set']({'label':_0x543842,'icon':_0x3c2ea1,'tooltip':_0x3ad0c6}),_0x3f5e61['bind']('isOn')['to'](_0x152e45,'value',_0x2a59c3=>_0x2a59c3===_0x267ad9),_0x3f5e61['bind']('isEnabled')['to'](_0x152e45,'isEnabled'),_0x3f5e61['on']('execute',()=>{_0x2e0e94['execute']('footnotesStyle',{'value':_0x267ad9}),_0x2e0e94['editing']['view']['focus']();}),_0x3f5e61;};}(_0x3404df));}(_0x2b39ec),_0x4a36b4=new H(_0x2b39ec['locale'],{'styleGridAriaLabel':_0x5ce3cf,'styleButtonViews':_0x57a2f1});return _0x4a36b4['delegate']('execute')['to'](_0x4dcced),_0x4a36b4['on']('footnotesListStart',(_0x12c2aa,_0x286931)=>{_0x2b39ec['execute']('footnotesStart',{'value':_0x286931['startIndex']});}),_0x4a36b4;}({'editor':_0x54ca1e,'dropdownView':_0x5b7987});_0x5b7987['panelView']['children']['add'](_0x18eeb6);}),_0x5b7987;};}(_0x28b1f6));}['afterInit'](){const {editor:_0x5624e8}=this,{t:t}=_0x5624e8['locale'],_0x22c534=_0x5624e8['plugins']['get'](_0x173b91),{defaultPositions:_0x321dff}=_0x294ccd;_0x22c534['register']('footnotesDefinitions',{'ariaLabel':t('Footnotes\x20definitions\x20toolbar'),'items':_0x5624e8['config']['get']('footnotes.footnotesProperties.toolbar'),'balloonClassName':'ck-footnotes-style-balloon\x20ck-toolbar-container','getRelatedElement':_0x12374c=>{let _0x48e33e=_0x12374c['getFirstPosition']()?.['parent'];return _0x48e33e?.['is']('$text')&&(_0x48e33e=_0x48e33e['parent']),_0x48e33e?.['is']('element')?_0x48e33e['findAncestor'](J):null;},'positions':[_0x321dff['southArrowNorth'],_0x321dff['southArrowNorthMiddleWest'],_0x321dff['southArrowNorthMiddleEast'],_0x321dff['southArrowNorthWest'],_0x321dff['southArrowNorthEast'],_0x321dff['northArrowSouth'],_0x321dff['northArrowSouthMiddleWest'],_0x321dff['northArrowSouthMiddleEast'],_0x321dff['northArrowSouthWest'],_0x321dff['northArrowSouthEast'],_0x321dff['viewportStickyNorth']]});}}class ft extends _0x52e44c{static get['pluginName'](){return'FootnotesProperties';}static get['requires'](){return[P,j];}static get['isOfficialPlugin'](){return!0x0;}static get['isPremiumPlugin'](){return!0x0;}}export{lt as Footnotes,e as FootnotesClipboard,r as FootnotesEditing,ft as FootnotesProperties,P as FootnotesPropertiesEditing,j as FootnotesPropertiesUI,C as FootnotesStartCommand,S as FootnotesStyleCommand,c as FootnotesTracker,i as FootnotesUI,m as InsertFootnoteCommand};
@@ -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':_0x393816=>0x1!=_0x393816}};
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':_0x34b7b8=>0x1!=_0x34b7b8}};
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- (_0x4451f8=>{const {af:{dictionary:_0x3513cc,getPluralForm:_0x362ed8}}={'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':_0x2f3aed=>0x1!=_0x2f3aed}};_0x4451f8['af']||={'dictionary':{},'getPluralForm':null},_0x4451f8['af']['dictionary']=Object['assign'](_0x4451f8['af']['dictionary'],_0x3513cc),_0x4451f8['af']['getPluralForm']=_0x362ed8;})(window['CKEDITOR_TRANSLATIONS']||={});
23
+ (_0x17426d=>{const {af:{dictionary:_0x3107f6,getPluralForm:_0x3f34c6}}={'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':_0x30fe37=>0x1!=_0x30fe37}};_0x17426d['af']||={'dictionary':{},'getPluralForm':null},_0x17426d['af']['dictionary']=Object['assign'](_0x17426d['af']['dictionary'],_0x3107f6),_0x17426d['af']['getPluralForm']=_0x3f34c6;})(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':_0x277ac0=>0x0==_0x277ac0?0x0:0x1==_0x277ac0?0x1:0x2==_0x277ac0?0x2:_0x277ac0%0x64>=0x3&&_0x277ac0%0x64<=0xa?0x3:_0x277ac0%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':_0x1517f4=>0x0==_0x1517f4?0x0:0x1==_0x1517f4?0x1:0x2==_0x1517f4?0x2:_0x1517f4%0x64>=0x3&&_0x1517f4%0x64<=0xa?0x3:_0x1517f4%0x64>=0xb?0x4:0x5}};
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- (_0x66f6a6=>{const {ar:{dictionary:_0x12f45b,getPluralForm:_0x2070d6}}={'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':_0x968145=>0x0==_0x968145?0x0:0x1==_0x968145?0x1:0x2==_0x968145?0x2:_0x968145%0x64>=0x3&&_0x968145%0x64<=0xa?0x3:_0x968145%0x64>=0xb?0x4:0x5}};_0x66f6a6['ar']||={'dictionary':{},'getPluralForm':null},_0x66f6a6['ar']['dictionary']=Object['assign'](_0x66f6a6['ar']['dictionary'],_0x12f45b),_0x66f6a6['ar']['getPluralForm']=_0x2070d6;})(window['CKEDITOR_TRANSLATIONS']||={});
23
+ (_0x305ae2=>{const {ar:{dictionary:_0x23d1fe,getPluralForm:_0x13ba28}}={'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':_0x81025=>0x0==_0x81025?0x0:0x1==_0x81025?0x1:0x2==_0x81025?0x2:_0x81025%0x64>=0x3&&_0x81025%0x64<=0xa?0x3:_0x81025%0x64>=0xb?0x4:0x5}};_0x305ae2['ar']||={'dictionary':{},'getPluralForm':null},_0x305ae2['ar']['dictionary']=Object['assign'](_0x305ae2['ar']['dictionary'],_0x23d1fe),_0x305ae2['ar']['getPluralForm']=_0x13ba28;})(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':_0x83f2da=>0x1!=_0x83f2da}};
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':_0x5b4970=>0x1!=_0x5b4970}};
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- (_0x2944b2=>{const {ast:{dictionary:_0x517bf0,getPluralForm:_0x102917}}={'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':_0x1fbb11=>0x1!=_0x1fbb11}};_0x2944b2['ast']||={'dictionary':{},'getPluralForm':null},_0x2944b2['ast']['dictionary']=Object['assign'](_0x2944b2['ast']['dictionary'],_0x517bf0),_0x2944b2['ast']['getPluralForm']=_0x102917;})(window['CKEDITOR_TRANSLATIONS']||={});
23
+ (_0x1108dc=>{const {ast:{dictionary:_0x536ed5,getPluralForm:_0xac4819}}={'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':_0x21bd1a=>0x1!=_0x21bd1a}};_0x1108dc['ast']||={'dictionary':{},'getPluralForm':null},_0x1108dc['ast']['dictionary']=Object['assign'](_0x1108dc['ast']['dictionary'],_0x536ed5),_0x1108dc['ast']['getPluralForm']=_0xac4819;})(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':_0x4e5b66=>0x1!=_0x4e5b66}};
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':_0xca0c96=>0x1!=_0xca0c96}};
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- (_0x1fbb03=>{const {az:{dictionary:_0xef176e,getPluralForm:_0x17deac}}={'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':_0x18a222=>0x1!=_0x18a222}};_0x1fbb03['az']||={'dictionary':{},'getPluralForm':null},_0x1fbb03['az']['dictionary']=Object['assign'](_0x1fbb03['az']['dictionary'],_0xef176e),_0x1fbb03['az']['getPluralForm']=_0x17deac;})(window['CKEDITOR_TRANSLATIONS']||={});
23
+ (_0x24820b=>{const {az:{dictionary:_0x392f1a,getPluralForm:_0x5680c9}}={'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':_0x96d79d=>0x1!=_0x96d79d}};_0x24820b['az']||={'dictionary':{},'getPluralForm':null},_0x24820b['az']['dictionary']=Object['assign'](_0x24820b['az']['dictionary'],_0x392f1a),_0x24820b['az']['getPluralForm']=_0x5680c9;})(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':_0xe288f4=>_0xe288f4%0xa==0x1&&_0xe288f4%0x64!=0xb?0x0:_0xe288f4%0xa>=0x2&&_0xe288f4%0xa<=0x4&&(_0xe288f4%0x64<0xa||_0xe288f4%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':_0x144515=>_0x144515%0xa==0x1&&_0x144515%0x64!=0xb?0x0:_0x144515%0xa>=0x2&&_0x144515%0xa<=0x4&&(_0x144515%0x64<0xa||_0x144515%0x64>=0x14)?0x1:0x2}};
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- (_0x54b3ba=>{const {be:{dictionary:_0x1e0abe,getPluralForm:_0x262bc9}}={'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':_0x104f17=>_0x104f17%0xa==0x1&&_0x104f17%0x64!=0xb?0x0:_0x104f17%0xa>=0x2&&_0x104f17%0xa<=0x4&&(_0x104f17%0x64<0xa||_0x104f17%0x64>=0x14)?0x1:0x2}};_0x54b3ba['be']||={'dictionary':{},'getPluralForm':null},_0x54b3ba['be']['dictionary']=Object['assign'](_0x54b3ba['be']['dictionary'],_0x1e0abe),_0x54b3ba['be']['getPluralForm']=_0x262bc9;})(window['CKEDITOR_TRANSLATIONS']||={});
23
+ (_0x19ad10=>{const {be:{dictionary:_0x53e873,getPluralForm:_0x4cc25d}}={'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':_0x580364=>_0x580364%0xa==0x1&&_0x580364%0x64!=0xb?0x0:_0x580364%0xa>=0x2&&_0x580364%0xa<=0x4&&(_0x580364%0x64<0xa||_0x580364%0x64>=0x14)?0x1:0x2}};_0x19ad10['be']||={'dictionary':{},'getPluralForm':null},_0x19ad10['be']['dictionary']=Object['assign'](_0x19ad10['be']['dictionary'],_0x53e873),_0x19ad10['be']['getPluralForm']=_0x4cc25d;})(window['CKEDITOR_TRANSLATIONS']||={});