@ckeditor/ckeditor5-footnotes 47.6.2-alpha.1 → 47.7.0-alpha.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (164) hide show
  1. package/build/footnotes.js +1 -1
  2. package/dist/index.js +1 -1
  3. package/dist/translations/af.js +1 -1
  4. package/dist/translations/af.umd.js +1 -1
  5. package/dist/translations/ar.js +1 -1
  6. package/dist/translations/ar.umd.js +1 -1
  7. package/dist/translations/ast.js +1 -1
  8. package/dist/translations/ast.umd.js +1 -1
  9. package/dist/translations/az.js +1 -1
  10. package/dist/translations/az.umd.js +1 -1
  11. package/dist/translations/be.js +1 -1
  12. package/dist/translations/be.umd.js +1 -1
  13. package/dist/translations/bg.js +1 -1
  14. package/dist/translations/bg.umd.js +1 -1
  15. package/dist/translations/bn.js +1 -1
  16. package/dist/translations/bn.umd.js +1 -1
  17. package/dist/translations/bs.js +1 -1
  18. package/dist/translations/bs.umd.js +1 -1
  19. package/dist/translations/ca.js +1 -1
  20. package/dist/translations/ca.umd.js +1 -1
  21. package/dist/translations/cs.js +1 -1
  22. package/dist/translations/cs.umd.js +1 -1
  23. package/dist/translations/da.js +1 -1
  24. package/dist/translations/da.umd.js +1 -1
  25. package/dist/translations/de-ch.js +1 -1
  26. package/dist/translations/de-ch.umd.js +1 -1
  27. package/dist/translations/de.js +1 -1
  28. package/dist/translations/de.umd.js +1 -1
  29. package/dist/translations/el.js +1 -1
  30. package/dist/translations/el.umd.js +1 -1
  31. package/dist/translations/en-au.js +1 -1
  32. package/dist/translations/en-au.umd.js +1 -1
  33. package/dist/translations/en-gb.js +1 -1
  34. package/dist/translations/en-gb.umd.js +1 -1
  35. package/dist/translations/en.js +1 -1
  36. package/dist/translations/en.umd.js +1 -1
  37. package/dist/translations/eo.js +1 -1
  38. package/dist/translations/eo.umd.js +1 -1
  39. package/dist/translations/es-co.js +1 -1
  40. package/dist/translations/es-co.umd.js +1 -1
  41. package/dist/translations/es.js +1 -1
  42. package/dist/translations/es.umd.js +1 -1
  43. package/dist/translations/et.js +1 -1
  44. package/dist/translations/et.umd.js +1 -1
  45. package/dist/translations/eu.js +1 -1
  46. package/dist/translations/eu.umd.js +1 -1
  47. package/dist/translations/fa.js +1 -1
  48. package/dist/translations/fa.umd.js +1 -1
  49. package/dist/translations/fi.js +1 -1
  50. package/dist/translations/fi.umd.js +1 -1
  51. package/dist/translations/fr.js +1 -1
  52. package/dist/translations/fr.umd.js +1 -1
  53. package/dist/translations/gl.js +1 -1
  54. package/dist/translations/gl.umd.js +1 -1
  55. package/dist/translations/gu.js +1 -1
  56. package/dist/translations/gu.umd.js +1 -1
  57. package/dist/translations/he.js +1 -1
  58. package/dist/translations/he.umd.js +1 -1
  59. package/dist/translations/hi.js +1 -1
  60. package/dist/translations/hi.umd.js +1 -1
  61. package/dist/translations/hr.js +1 -1
  62. package/dist/translations/hr.umd.js +1 -1
  63. package/dist/translations/hu.js +1 -1
  64. package/dist/translations/hu.umd.js +1 -1
  65. package/dist/translations/hy.js +1 -1
  66. package/dist/translations/hy.umd.js +1 -1
  67. package/dist/translations/id.js +1 -1
  68. package/dist/translations/id.umd.js +1 -1
  69. package/dist/translations/it.js +1 -1
  70. package/dist/translations/it.umd.js +1 -1
  71. package/dist/translations/ja.js +1 -1
  72. package/dist/translations/ja.umd.js +1 -1
  73. package/dist/translations/jv.js +1 -1
  74. package/dist/translations/jv.umd.js +1 -1
  75. package/dist/translations/kk.js +1 -1
  76. package/dist/translations/kk.umd.js +1 -1
  77. package/dist/translations/km.js +1 -1
  78. package/dist/translations/km.umd.js +1 -1
  79. package/dist/translations/kn.js +1 -1
  80. package/dist/translations/kn.umd.js +1 -1
  81. package/dist/translations/ko.js +1 -1
  82. package/dist/translations/ko.umd.js +1 -1
  83. package/dist/translations/ku.js +1 -1
  84. package/dist/translations/ku.umd.js +1 -1
  85. package/dist/translations/lt.js +1 -1
  86. package/dist/translations/lt.umd.js +1 -1
  87. package/dist/translations/lv.js +1 -1
  88. package/dist/translations/lv.umd.js +1 -1
  89. package/dist/translations/ms.js +1 -1
  90. package/dist/translations/ms.umd.js +1 -1
  91. package/dist/translations/nb.js +1 -1
  92. package/dist/translations/nb.umd.js +1 -1
  93. package/dist/translations/ne.js +1 -1
  94. package/dist/translations/ne.umd.js +1 -1
  95. package/dist/translations/nl.js +1 -1
  96. package/dist/translations/nl.umd.js +1 -1
  97. package/dist/translations/no.js +1 -1
  98. package/dist/translations/no.umd.js +1 -1
  99. package/dist/translations/oc.js +1 -1
  100. package/dist/translations/oc.umd.js +1 -1
  101. package/dist/translations/pl.js +1 -1
  102. package/dist/translations/pl.umd.js +1 -1
  103. package/dist/translations/pt-br.js +1 -1
  104. package/dist/translations/pt-br.umd.js +1 -1
  105. package/dist/translations/pt.js +1 -1
  106. package/dist/translations/pt.umd.js +1 -1
  107. package/dist/translations/ro.js +1 -1
  108. package/dist/translations/ro.umd.js +1 -1
  109. package/dist/translations/ru.js +1 -1
  110. package/dist/translations/ru.umd.js +1 -1
  111. package/dist/translations/si.js +1 -1
  112. package/dist/translations/si.umd.js +1 -1
  113. package/dist/translations/sk.js +1 -1
  114. package/dist/translations/sk.umd.js +1 -1
  115. package/dist/translations/sl.js +1 -1
  116. package/dist/translations/sl.umd.js +1 -1
  117. package/dist/translations/sq.js +1 -1
  118. package/dist/translations/sq.umd.js +1 -1
  119. package/dist/translations/sr-latn.js +1 -1
  120. package/dist/translations/sr-latn.umd.js +1 -1
  121. package/dist/translations/sr.js +1 -1
  122. package/dist/translations/sr.umd.js +1 -1
  123. package/dist/translations/sv.js +1 -1
  124. package/dist/translations/sv.umd.js +1 -1
  125. package/dist/translations/th.js +1 -1
  126. package/dist/translations/th.umd.js +1 -1
  127. package/dist/translations/ti.js +1 -1
  128. package/dist/translations/ti.umd.js +1 -1
  129. package/dist/translations/tk.js +1 -1
  130. package/dist/translations/tk.umd.js +1 -1
  131. package/dist/translations/tr.js +1 -1
  132. package/dist/translations/tr.umd.js +1 -1
  133. package/dist/translations/tt.js +1 -1
  134. package/dist/translations/tt.umd.js +1 -1
  135. package/dist/translations/ug.js +1 -1
  136. package/dist/translations/ug.umd.js +1 -1
  137. package/dist/translations/uk.js +1 -1
  138. package/dist/translations/uk.umd.js +1 -1
  139. package/dist/translations/ur.js +1 -1
  140. package/dist/translations/ur.umd.js +1 -1
  141. package/dist/translations/uz.js +1 -1
  142. package/dist/translations/uz.umd.js +1 -1
  143. package/dist/translations/vi.js +1 -1
  144. package/dist/translations/vi.umd.js +1 -1
  145. package/dist/translations/zh-cn.js +1 -1
  146. package/dist/translations/zh-cn.umd.js +1 -1
  147. package/dist/translations/zh.js +1 -1
  148. package/dist/translations/zh.umd.js +1 -1
  149. package/package.json +9 -9
  150. package/src/commands/insertfootnotecommand.js +1 -1
  151. package/src/footnotes.js +1 -1
  152. package/src/footnotesclipboard.js +1 -1
  153. package/src/footnotesediting.js +1 -1
  154. package/src/footnotesproperties/commands/footnotesstartcommand.js +1 -1
  155. package/src/footnotesproperties/commands/footnotesstylecommand.js +1 -1
  156. package/src/footnotesproperties/footnotespropertiesconfig.js +1 -1
  157. package/src/footnotesproperties/footnotespropertiesediting.js +1 -1
  158. package/src/footnotesproperties/footnotespropertiesui.js +1 -1
  159. package/src/footnotesproperties/ui/footnotesdefinitionspropertiesview.js +1 -1
  160. package/src/footnotesproperties.js +1 -1
  161. package/src/footnotestracker.js +1 -1
  162. package/src/footnotesui.js +1 -1
  163. package/src/index.js +1 -1
  164. package/src/modelelementtracker.js +1 -1
package/dist/index.js CHANGED
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- import{Plugin as _0x120eb0,Command as _0x5c3995}from'@ckeditor/ckeditor5-core/dist/index.js';import{toWidget as _0x167420,isWidget as _0x2b3ed8,toWidgetEditable as _0xe2ef93,WidgetToolbarRepository as _0x1a1512}from'@ckeditor/ckeditor5-widget/dist/index.js';import{uid as _0xead57a,logWarning as _0x46d096,FocusTracker as rt,KeystrokeHandler as nt,global as at}from'@ckeditor/ckeditor5-utils/dist/index.js';import{PointerObserver as _0x36d4ef,ClickObserver as _0x35a785}from'@ckeditor/ckeditor5-engine/dist/index.js';import{ClipboardPipeline as _0x1c3d0b}from'@ckeditor/ckeditor5-clipboard/dist/index.js';import{MenuBarMenuListItemButtonView as _0x1d54b9,ButtonView as _0x112317,View as _0x8b27a6,ViewCollection as _0x2ed826,FocusCycler as tt,addKeyboardHandlingForGrid as st,CollapsibleView as it,LabeledFieldView as et,createLabeledInputNumber as ot,ContextualBalloon as _0x2e8e51,BalloonPanelView as _0x10a00b,createDropdown as _0x1c0df7}from'@ckeditor/ckeditor5-ui/dist/index.js';import{IconFootnote as _0x1d8df8,IconListStyleDecimal as _0x205bbd,IconListStyleDecimalLeadingZero as _0x2cb8e5,IconListStyleLowerRoman as _0xa45f36,IconListStyleUpperRoman as _0x55f719,IconListStyleLowerLatin as _0x40b501,IconListStyleUpperLatin as _0x4add7f}from'@ckeditor/ckeditor5-icons/dist/index.js';class F{['_model'];['_elementName'];['_getElementKey'];['_trackedElements']=new Map();constructor(_0x248de1,_0x24fd05){this['_model']=_0x248de1,this['_elementName']=_0x24fd05['elementName'],this['_getElementKey']=_0x24fd05['getElementKey'];}['reset'](){this['_trackedElements']['clear']();}['getChanges'](_0x1c38e9){const _0x498dd6=new Set(),_0x33b8e7=new Map();for(const _0x35ac17 of _0x1c38e9){if('insert'===_0x35ac17['type']&&'$text'!==_0x35ac17['name']&&_0x35ac17['position']['nodeAfter']){const _0x1b1f3b=this['_model']['createRangeOn'](_0x35ac17['position']['nodeAfter']);for(const _0x2d617b of _0x1b1f3b['getItems']()){if(!_0x2d617b['is']('element',this['_elementName']))continue;const _0x3e390a=this['_getElementKey'](_0x2d617b);_0x33b8e7['has'](_0x3e390a)||_0x33b8e7['set'](_0x3e390a,[]),_0x33b8e7['get'](_0x3e390a)['push'](_0x2d617b);}}if('remove'===_0x35ac17['type']&&_0x35ac17['name']===this['_elementName']){const _0x5e8054=this['_getElementKey']({'getAttribute':_0x14f151=>_0x35ac17['attributes']['get'](_0x14f151)});_0x498dd6['add'](_0x5e8054);}}for(const [_0x451476,_0x31d918]of this['_trackedElements'])'$graveyard'===_0x31d918['root']['rootName']&&_0x498dd6['add'](_0x451476);for(const _0x37e70a of _0x498dd6)this['_trackedElements']['delete'](_0x37e70a);for(const [_0x74d853,_0x7edfd0]of _0x33b8e7)this['_trackedElements']['set'](_0x74d853,_0x7edfd0[_0x7edfd0['length']-0x1]);const _0x5a7ebf=new Set();for(const [_0x263095,_0x1d3412]of _0x33b8e7)_0x498dd6['has'](_0x263095)&&(_0x5a7ebf['add'](_0x1d3412[0x0]),_0x1d3412['length']>0x1?_0x33b8e7['set'](_0x263095,_0x1d3412['slice'](0x1)):_0x33b8e7['delete'](_0x263095),_0x498dd6['delete'](_0x263095));return{'removed':Array['from'](_0x498dd6),'inserted':Array['from'](_0x33b8e7['values']())['flat'](),'moved':Array['from'](_0x5a7ebf)};}}class f extends _0x120eb0{['_footnotes']=[];['_footnotesDefinitions']=null;['_footnoteFormatter']=null;['_footnoteDefsContainerTracker'];['_footnoteRefsTracker'];['_footnoteDefsTracker'];static get['pluginName'](){return'FootnotesTracker';}static get['isOfficialPlugin'](){return!0x0;}static get['isPremiumPlugin'](){return!0x0;}constructor(_0x5b3cf0){super(_0x5b3cf0),this['_footnoteDefsContainerTracker']=new F(this['editor']['model'],{'elementName':'footnotesDefinitions','getElementKey':()=>'singleton'}),this['_footnoteRefsTracker']=new F(this['editor']['model'],{'elementName':'footnoteRef','getElementKey':_0x4e19ec=>_0x4e19ec['getAttribute']('footnoteId')}),this['_footnoteDefsTracker']=new F(this['editor']['model'],{'elementName':'footnoteDefinition','getElementKey':_0x28b846=>_0x28b846['getAttribute']('footnoteId')});}['init'](){const {editor:_0x3ece1f}=this,{model:_0x27e67e,data:_0x1e07c2}=_0x3ece1f;_0x27e67e['document']['registerPostFixer'](_0x2b3950=>{const _0x45445b=_0x27e67e['document']['differ']['getChanges']();let _0x5d5b36=!0x1;return this['_handleFootnotesDefinitionsObjectChanges'](_0x2b3950,_0x45445b)&&(_0x5d5b36=!0x0),this['_handleFootnoteDefinitionsChanges'](_0x2b3950,_0x45445b)&&(_0x5d5b36=!0x0),this['_handleFootnoteReferencesChanges'](_0x2b3950,_0x45445b)&&(_0x5d5b36=!0x0),this['_ensureFootnotesReferencesHaveProperOrder'](_0x2b3950)&&(_0x5d5b36=!0x0),this['_handleFootnotesDefinitionsObjectSync'](_0x2b3950)&&(_0x5d5b36=!0x0),this['_sortFootnoteDefinitions'](_0x2b3950)&&(_0x5d5b36=!0x0),_0x5d5b36;}),this['listenTo'](_0x27e67e['document'],'change:data',()=>{_0x27e67e['enqueueChange']({'isUndoable':!0x1},_0x418191=>{this['_ensureFootnotesDefinitionsContainerExists'](_0x418191);});},{'priority':'low'}),this['listenTo'](_0x1e07c2,'set',()=>{this['_footnotes']=[],this['_footnoteDefsContainerTracker']['reset'](),this['_footnoteRefsTracker']['reset'](),this['_footnoteDefsTracker']['reset']();},{'priority':'high'});}['getFootnotesDefinitionsObjectElement'](){return this['_footnotesDefinitions'];}['getFootnote'](_0x45d47f){return this['_footnotes']['find'](_0x476197=>_0x476197['id']===_0x45d47f)||null;}['getFootnotes'](){return Array['from'](this['_footnotes']);}['getFootnotesFormatter'](){return this['_footnoteFormatter'];}['setFootnoteFormatter'](_0x167a55){this['_footnoteFormatter']=_0x167a55;}['_updateFootnotesCounters'](_0x45d91b,_0xf3d301=0x0){let _0x3d8a33=!0x1;for(let _0xa960e6=_0xf3d301;_0xa960e6<this['_footnotes']['length'];_0xa960e6++)this['_updateFootnoteRefCounter'](_0x45d91b,_0xa960e6)&&(_0x3d8a33=!0x0);return _0x3d8a33;}['_insertEmptyFootnotesDefinitionsContainer'](_0x4ac337,_0x3537f3){const _0xb551cd=_0x4ac337['createElement']('footnotesDefinitions',{});return _0x4ac337['append'](_0xb551cd,_0x3537f3),this['_footnotesDefinitions']=_0xb551cd,_0xb551cd;}['_ensureFootnotesDefinitionsContainerExists'](_0x2e8f0c){if(!this['_footnotes']['length']||this['_footnotesDefinitions'])return;const _0x2776d5=this['_footnotes'][0x0]['reference']['root'],_0x18db0d=this['_insertEmptyFootnotesDefinitionsContainer'](_0x2e8f0c,_0x2776d5);for(const _0x37405c of this['_footnotes'])_0x37405c['definition']['parent']||_0x2e8f0c['insert'](_0x37405c['definition'],_0x18db0d,'end');this['_updateFootnotesCounters'](_0x2e8f0c);}['_handleFootnotesDefinitionsObjectChanges'](_0x29720b,_0x24bc28){let _0xff8aa=!0x1;const {inserted:_0x54d265,removed:_0x1cd2a7,moved:_0x22e7a0}=this['_footnoteDefsContainerTracker']['getChanges'](_0x24bc28);if(_0x22e7a0['length']&&(this['_footnotesDefinitions']=_0x22e7a0[0x0]),_0x54d265['length']){if(_0x54d265['length']>0x1||this['_footnotesDefinitions']&&_0x54d265['some'](_0x4c33ff=>_0x4c33ff!==this['_footnotesDefinitions'])){const _0x280db4=_0x29720b['createElement']('footnotesDefinitions',{}),_0x4cf4eb=[];this['_footnotesDefinitions']&&_0x4cf4eb['push'](this['_footnotesDefinitions']),_0x4cf4eb['push'](..._0x54d265),_0x29720b['insert'](_0x280db4,_0x4cf4eb[0x0],'before');for(const _0x25ebac of _0x4cf4eb)_0x29720b['move'](_0x29720b['createRangeIn'](_0x25ebac),_0x29720b['createPositionAt'](_0x280db4,'end')),_0x29720b['remove'](_0x25ebac);this['_footnotesDefinitions']=_0x280db4,this['_updateFootnotesCounters'](_0x29720b),_0xff8aa=!0x0;}else this['_footnotesDefinitions']=_0x54d265[0x0];}if(_0x1cd2a7['length']&&'$graveyard'===this['_footnotesDefinitions']?.['root']['rootName']){for(const _0x2db218 of this['_footnotes'])_0x29720b['remove'](_0x2db218['reference']),_0xff8aa=!0x0;this['_footnotes']=[],this['_footnotesDefinitions']=null;}return _0xff8aa;}['_handleFootnoteDefinitionsChanges'](_0x57322b,_0x3a5d14){let _0x36ec47=!0x1;const _0xc44895=this['editor']['config']['get']('footnotes.multiBlock'),{inserted:_0x5eee61,moved:_0x4e5338}=this['_footnoteDefsTracker']['getChanges'](_0x3a5d14);for(const _0x1a48ac of[..._0x4e5338,..._0x5eee61]){const _0x3eee44=_0x1a48ac['getAttribute']('footnoteId'),_0x1156f8=this['getFootnote'](_0x3eee44);_0x1156f8&&(_0x1156f8['definition']=_0x1a48ac),_(_0x57322b,_0xc44895,_0x1a48ac)&&(_0x36ec47=!0x0);}return _0x36ec47;}['_handleFootnoteReferencesChanges'](_0x1d2671,_0x463ed5){let _0x227d56=!0x1;const {removed:_0x1f27af,inserted:_0x5612cc,moved:_0xcccdf3}=this['_footnoteRefsTracker']['getChanges'](_0x463ed5);for(const _0x4053a6 of _0x1f27af)this['_handleRemoveFootnoteReferenceById'](_0x1d2671,_0x4053a6)&&(_0x227d56=!0x0);for(const _0x4b45cd of _0x5612cc)this['_handleInsertedFootnoteReference'](_0x1d2671,_0x4b45cd)&&(_0x227d56=!0x0);for(const _0x2da96c of _0xcccdf3)this['_handleMovedFootnoteReference'](_0x1d2671,_0x2da96c)&&(_0x227d56=!0x0);return _0x227d56;}['_handleFootnotesDefinitionsObjectSync'](_0x2742cc){if(!this['_footnotesDefinitions'])return!0x1;let _0x3c5d30=!0x1;if(this['_footnotesDefinitions']['childCount']!==this['_footnotes']['length']){const _0x1e9bb8=[];for(const _0xb92448 of this['_footnotesDefinitions']['getChildren']()){const _0x583f7e=_0xb92448['getAttribute']('footnoteId');this['getFootnote'](_0x583f7e)||(_0x1e9bb8['unshift'](_0xb92448),_0x3c5d30=!0x0);}for(const _0xbc41c8 of _0x1e9bb8)_0x2742cc['remove'](_0xbc41c8);}const _0x5a3f67=new Set(),_0x84ef34=[];for(const _0x57000b of this['_footnotesDefinitions']['getChildren']()){const _0x507d9c=_0x57000b['getAttribute']('footnoteId');_0x5a3f67['has'](_0x507d9c)?(_0x84ef34['unshift'](_0x57000b),_0x3c5d30=!0x0):_0x5a3f67['add'](_0x507d9c);}for(const _0x18bab4 of _0x84ef34)_0x2742cc['remove'](_0x18bab4);return this['_footnotesDefinitions']['childCount']||(_0x2742cc['remove'](this['_footnotesDefinitions']),this['_footnotesDefinitions']=null,_0x3c5d30=!0x0),_0x3c5d30;}['_handleInsertedFootnoteReference'](_0x5a2161,_0x4a0ca8){if(this['_footnotes']['find'](_0x4789e6=>_0x4789e6['reference']===_0x4a0ca8))return!0x1;let _0x34b240=!0x1;const _0x433daa=_0x4a0ca8['getAttribute']('footnoteId'),_0xcf4373=this['_footnotes']['findIndex'](_0x5e31a5=>_0x5e31a5['id']===_0x433daa);-0x1!==_0xcf4373&&(_0x5a2161['remove'](this['_footnotes'][_0xcf4373]['reference']),this['_footnotes']['splice'](_0xcf4373,0x1),_0x34b240=!0x0);let _0x18e38f=this['_footnotesDefinitions']?function(_0x89cabf,_0x39a78d){for(const _0x54c46e of _0x89cabf['getChildren']())if(_0x54c46e['getAttribute']('footnoteId')===_0x39a78d)return _0x54c46e;return null;}(this['_footnotesDefinitions'],_0x433daa):null;_0x18e38f||(_0x18e38f=_0x5a2161['createElement']('footnoteDefinition',{'footnoteId':_0x433daa}),this['_footnotesDefinitions']&&(_0x5a2161['insert'](_0x18e38f,this['_footnotesDefinitions'],'end'),_0x34b240=!0x0));const _0x2532ef={'id':_0x433daa,'reference':_0x4a0ca8,'definition':_0x18e38f},_0x45cbef=I(this['editor']['model'],this['_footnotes'],_0x4a0ca8);this['_footnotes']['splice'](_0x45cbef,0x0,_0x2532ef);let _0x2faad2=_0x45cbef;return-0x1!==_0xcf4373&&(_0x2faad2=Math['min'](_0x45cbef,_0xcf4373)),this['_updateFootnotesCounters'](_0x5a2161,_0x2faad2)&&(_0x34b240=!0x0),_0x34b240;}['_handleRemoveFootnoteReferenceById'](_0x3e83bd,_0x3ee6c6){const _0x17d801=this['_footnotes']['findIndex'](_0x307ece=>_0x307ece['id']===_0x3ee6c6);if(-0x1===_0x17d801)return!0x1;let _0x1ac5ed=!0x1;const _0x42c2d7=this['_footnotes'][_0x17d801];return'$graveyard'!==_0x42c2d7['definition']['root']['rootName']&&(_0x3e83bd['remove'](_0x42c2d7['definition']),_0x1ac5ed=!0x0),this['_footnotes']['splice'](_0x17d801,0x1),this['_updateFootnotesCounters'](_0x3e83bd,_0x17d801)&&(_0x1ac5ed=!0x0),_0x1ac5ed;}['_handleMovedFootnoteReference'](_0x69d097,_0x465cf3){const _0x45da64=_0x465cf3['getAttribute']('footnoteId'),_0x390400=this['_footnotes']['findIndex'](_0x1d1268=>_0x1d1268['id']===_0x45da64),_0x14b4da=this['_footnotes'][_0x390400];let _0x51feb7=!0x1;_0x14b4da['reference']=_0x465cf3,this['_footnotes']['splice'](_0x390400,0x1);const _0x48ec11=I(this['editor']['model'],this['_footnotes'],_0x465cf3);return this['_footnotes']['splice'](_0x48ec11,0x0,_0x14b4da),this['_updateFootnotesCounters'](_0x69d097,Math['min'](_0x390400,_0x48ec11))&&(_0x51feb7=!0x0),_0x51feb7;}['_updateFootnoteRefCounter'](_0x5e4a8a,_0x5f4e08){if(!this['_footnotesDefinitions'])return!0x1;const _0x5b3684=this['_footnotes'][_0x5f4e08];let _0x54f7a9;return _0x54f7a9=this['_footnoteFormatter']?this['_footnoteFormatter']({'footnote':_0x5b3684,'container':this['_footnotesDefinitions'],'digits':String(this['_footnotes']['length'])['length'],'value':_0x5f4e08+0x1}):String(_0x5f4e08+0x1),_0x5b3684['reference']['getAttribute']('footnoteCounter')!=_0x54f7a9&&(_0x5e4a8a['setAttribute']('footnoteCounter',_0x54f7a9,_0x5b3684['reference']),!0x0);}['_sortFootnoteDefinitions'](_0x3f0ea3){if(!this['_footnotesDefinitions']||this['_footnotes']['length']<0x2)return!0x1;if(function(_0x207252,_0x4c390a){if(_0x207252['length']!==_0x4c390a['length'])return!0x1;for(let _0x3a64b2=0x0;_0x3a64b2<_0x207252['length'];_0x3a64b2++)if(_0x207252[_0x3a64b2]!==_0x4c390a[_0x3a64b2])return!0x1;return!0x0;}(this['_footnotes']['map'](_0x352d98=>_0x352d98['id']),Array['from'](this['_footnotesDefinitions']['getChildren']())['map'](_0x3379d0=>_0x3379d0['getAttribute']('footnoteId'))))return!0x1;let _0x531e7b=!0x1;for(let _0x2b89be=0x0;_0x2b89be<this['_footnotes']['length'];_0x2b89be++){const _0x1cb1aa=this['_footnotes'][_0x2b89be],_0xc941c1=_0x3f0ea3['createPositionBefore'](_0x1cb1aa['definition']),_0x211b5c=_0x3f0ea3['createPositionAt'](this['_footnotesDefinitions'],_0x2b89be);_0xc941c1['isEqual'](_0x211b5c)||(_0x3f0ea3['move'](_0x3f0ea3['createRangeOn'](_0x1cb1aa['definition']),_0x211b5c),_0x531e7b=!0x0);}return _0x531e7b;}['_ensureFootnotesReferencesHaveProperOrder'](_0x5aba78){if(!this['_footnotes']['length'])return!0x1;const {model:_0x380b3f}=this['editor'];let _0x15a2ff=!0x1;for(let _0x361610=0x0;_0x361610<this['_footnotes']['length']-0x1;_0x361610++){const _0xd71d7d=this['_footnotes'][_0x361610],_0x3bb52e=this['_footnotes'][_0x361610+0x1],_0x471517=_0x380b3f['createPositionBefore'](_0xd71d7d['reference']),_0x4cf450=_0x380b3f['createPositionBefore'](_0x3bb52e['reference']);'after'===_0x471517['compareWith'](_0x4cf450)&&(this['_handleMovedFootnoteReference'](_0x5aba78,_0xd71d7d['reference']),_0x361610=-0x1,_0x15a2ff=!0x0);}return _0x15a2ff;}}function _(_0x509dff,_0x23f46c,_0x517222){if(_0x517222['childCount'])return!0x1;const _0x44e4b2=_0x23f46c?'paragraph':'footnoteInlineContent';return _0x509dff['insert'](_0x509dff['createElement'](_0x44e4b2),_0x517222),!0x0;}function I(_0x542287,_0x2eafec,_0x4cf664){if(0x0===_0x2eafec['length'])return 0x0;const _0x3f13fe=_0x542287['createPositionBefore'](_0x4cf664);for(let _0x10c185=0x0;_0x10c185<_0x2eafec['length'];_0x10c185++){const _0x103343=_0x2eafec[_0x10c185],_0x4b1b03=_0x542287['createPositionBefore'](_0x103343['reference']);if('before'===_0x3f13fe['compareWith'](_0x4b1b03))return _0x10c185;}const _0x5715ff=_0x4cf664['root'];let _0x51014b=-0x1;for(let _0x484b99=_0x2eafec['length']-0x1;_0x484b99>=0x0;_0x484b99--)if(_0x2eafec[_0x484b99]['reference']['root']===_0x5715ff){_0x51014b=_0x484b99;break;}if(-0x1!==_0x51014b)return _0x51014b+0x1;const _0x48e29d=_0x542287['document']['getRootNames'](),_0x5df31a=_0x48e29d['indexOf'](_0x5715ff['rootName']),_0x20825a=_0x48e29d[_0x5df31a+0x1];if(_0x20825a){for(let _0x9b5d6e=0x0;_0x9b5d6e<_0x2eafec['length'];_0x9b5d6e++)if(_0x2eafec[_0x9b5d6e]['reference']['root']['rootName']===_0x20825a)return _0x9b5d6e;}return _0x2eafec['length'];}class h extends _0x5c3995{['refresh'](){const _0x87ec2e=this['editor']['model']['document']['selection'],_0x37c4c0=this['_getPositionToInsertFootnote'](_0x87ec2e);this['isEnabled']=!!_0x37c4c0;}['execute'](_0x12075e){const {editor:_0x5c6229}=this,{model:_0x23c6b3}=_0x5c6229,{selection:_0x23e3d7}=_0x23c6b3['document'],_0x3ba7e4=this['_getPositionToInsertFootnote'](_0x23e3d7);if(!_0x3ba7e4)return;const _0x59bcd1=_0x5c6229['plugins']['get']('FootnotesEditing'),_0x2bd018=_0x12075e?.['footnoteId']??_0xead57a();!function(_0x1126b1){return'string'==typeof _0x1126b1&&_0x1126b1['length']>0x0&&!/\s/['test'](_0x1126b1)&&!/^\d/['test'](_0x1126b1);}(_0x2bd018)?_0x46d096('insert-footnote-command-executed-with-invalid-id'):(_0x23c6b3['change'](_0xbf0d8c=>{const _0x5ce2de=_0xbf0d8c['createElement']('footnoteRef',{'footnoteId':_0x2bd018});_0x23c6b3['insertObject'](_0x5ce2de,_0x3ba7e4,null);}),_0x59bcd1['_moveSelectionToFootnoteDefinition'](_0x2bd018));}['_getPositionToInsertFootnote'](_0x55521e){const {model:_0x1896c8}=this['editor'],{schema:_0x20a43c}=_0x1896c8,_0x3b39f3=_0x55521e['getFirstRange']();for(const _0xa2d630 of _0x3b39f3['getItems']())if(_0x20a43c['isBlock'](_0xa2d630)||_0x20a43c['isObject'](_0xa2d630))return null;const _0x4042c9=_0x3b39f3['end'];return _0x20a43c['checkChild'](_0x4042c9,'footnoteRef')?_0x4042c9:null;}}class r extends _0x120eb0{static get['pluginName'](){return'FootnotesEditing';}static get['requires'](){return[f];}static get['isOfficialPlugin'](){return!0x0;}static get['isPremiumPlugin'](){return!0x0;}['init'](){const {editor:_0x1d8d02}=this;_0x1d8d02['config']['define']('footnotes.multiBlock',!0x0),_0x1d8d02['commands']['add']('insertFootnote',new h(_0x1d8d02)),this['_defineSchema'](),this['_defineRefsConverters'](),this['_defineDefinitionsConverters'](),this['_defineDefinitionConverters'](),this['_defineBogusParagraphConverters'](),this['_defineKeyboardHandlers'](),this['_defineClickHandlers']();}['afterInit'](){!async function(_0x4c1757){const _0x181c5a=_0x16eaa8([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]),_0x2de418=0x47a28506,_0x2b6d27=0x47a503ae^_0x2de418,_0x2d25a2=window[_0x16eaa8([0x44,0x61,0x74,0x65])][_0x16eaa8([0x6e,0x6f,0x77])](),_0x354472=_0x4c1757[_0x16eaa8([0x65,0x64,0x69,0x74,0x6f,0x72])],_0x1d1d5e=new window[(_0x16eaa8([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0x2da910=>{_0x354472[_0x16eaa8([0x6f,0x6e,0x63,0x65])](_0x16eaa8([0x72,0x65,0x61,0x64,0x79]),_0x2da910);}),_0x1b8d48={[_0x16eaa8([0x6b,0x74,0x79])]:_0x16eaa8([0x45,0x43]),[_0x16eaa8([0x75,0x73,0x65])]:_0x16eaa8([0x73,0x69,0x67]),[_0x16eaa8([0x63,0x72,0x76])]:_0x16eaa8([0x50,0x2d,0x32,0x35,0x36]),[_0x16eaa8([0x78])]:_0x16eaa8([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]),[_0x16eaa8([0x79])]:_0x16eaa8([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]),[_0x16eaa8([0x61,0x6c,0x67])]:_0x16eaa8([0x45,0x53,0x32,0x35,0x36])},_0x57fdb2=_0x354472[_0x16eaa8([0x63,0x6f,0x6e,0x66,0x69,0x67])][_0x16eaa8([0x67,0x65,0x74])](_0x16eaa8([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x4b,0x65,0x79]));async function _0x13dd96(){let _0x450a21,_0x232a6c=null,_0x47c3a2=null;try{if(_0x57fdb2==_0x16eaa8([0x47,0x50,0x4c]))return _0x16eaa8([0x4e,0x6f,0x74,0x41,0x6c,0x6c,0x6f,0x77,0x65,0x64]);if(_0x450a21=_0x5658b7(),!_0x450a21)return _0x16eaa8([0x49,0x6e,0x76,0x61,0x6c,0x69,0x64]);return _0x450a21[_0x16eaa8([0x75,0x73,0x61,0x67,0x65,0x45,0x6e,0x64,0x70,0x6f,0x69,0x6e,0x74])]&&(_0x47c3a2=_0x217281(_0x450a21[_0x16eaa8([0x75,0x73,0x61,0x67,0x65,0x45,0x6e,0x64,0x70,0x6f,0x69,0x6e,0x74])],_0x450a21[_0x16eaa8([0x6a,0x74,0x69])])),await _0x552f1c()?_0x4dc98a()?_0x12e343()?_0x16eaa8([0x45,0x78,0x70,0x69,0x72,0x65,0x64]):_0x5d9b93()?(_0x450a21[_0x16eaa8([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x54,0x79,0x70,0x65])]==_0x16eaa8([0x65,0x76,0x61,0x6c,0x75,0x61,0x74,0x69,0x6f,0x6e])&&(_0x232a6c=_0x256956(_0x16eaa8([0x45,0x76,0x61,0x6c,0x75,0x61,0x74,0x69,0x6f,0x6e,0x4c,0x69,0x6d,0x69,0x74]))),await _0x365634()):_0x16eaa8([0x44,0x6f,0x6d,0x61,0x69,0x6e,0x4c,0x69,0x6d,0x69,0x74]):_0x16eaa8([0x4e,0x6f,0x74,0x41,0x6c,0x6c,0x6f,0x77,0x65,0x64]):_0x16eaa8([0x49,0x6e,0x76,0x61,0x6c,0x69,0x64]);}catch{return _0x16eaa8([0x49,0x6e,0x76,0x61,0x6c,0x69,0x64]);}function _0x12e343(){const _0x505310=[_0x16eaa8([0x65,0x76,0x61,0x6c,0x75,0x61,0x74,0x69,0x6f,0x6e]),_0x16eaa8([0x74,0x72,0x69,0x61,0x6c])][_0x16eaa8([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x450a21[_0x16eaa8([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x54,0x79,0x70,0x65])])?_0x2d25a2/0x3e8:0xe10*_0x2b6d27;return _0x450a21[_0x16eaa8([0x65,0x78,0x70])]<_0x505310;}function _0x4dc98a(){const _0x319413=_0x450a21[_0x16eaa8([0x66,0x65,0x61,0x74,0x75,0x72,0x65,0x73])];return!!_0x319413&&(!!_0x319413[_0x16eaa8([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x16eaa8([0x2a]))||!!_0x319413[_0x16eaa8([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x16eaa8([0x46,0x4f,0x4f])));}function _0x5d9b93(){const _0x19d038=_0x450a21[_0x16eaa8([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x64,0x48,0x6f,0x73,0x74,0x73])];if(!_0x19d038||0x0==_0x19d038[_0x16eaa8([0x6c,0x65,0x6e,0x67,0x74,0x68])])return!0x0;const {hostname:_0x237ddb}=new URL(window[_0x16eaa8([0x6c,0x6f,0x63,0x61,0x74,0x69,0x6f,0x6e])]['href']);if(_0x19d038[_0x16eaa8([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x237ddb))return!0x0;const _0x5abebf=_0x237ddb[_0x16eaa8([0x73,0x70,0x6c,0x69,0x74])](_0x16eaa8([0x2e]));return _0x19d038[_0x16eaa8([0x66,0x69,0x6c,0x74,0x65,0x72])](_0x222a27=>_0x222a27[_0x16eaa8([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x16eaa8([0x2a])))[_0x16eaa8([0x6d,0x61,0x70])](_0x4f72d5=>_0x4f72d5[_0x16eaa8([0x73,0x70,0x6c,0x69,0x74])](_0x16eaa8([0x2e])))[_0x16eaa8([0x66,0x69,0x6c,0x74,0x65,0x72])](_0x232add=>_0x232add[_0x16eaa8([0x6c,0x65,0x6e,0x67,0x74,0x68])]<=_0x5abebf[_0x16eaa8([0x6c,0x65,0x6e,0x67,0x74,0x68])])[_0x16eaa8([0x6d,0x61,0x70])](_0x27373a=>Array(_0x5abebf[_0x16eaa8([0x6c,0x65,0x6e,0x67,0x74,0x68])]-_0x27373a[_0x16eaa8([0x6c,0x65,0x6e,0x67,0x74,0x68])])[_0x16eaa8([0x66,0x69,0x6c,0x6c])](_0x27373a[0x0]===_0x16eaa8([0x2a])?_0x16eaa8([0x2a]):'')[_0x16eaa8([0x63,0x6f,0x6e,0x63,0x61,0x74])](_0x27373a))[_0x16eaa8([0x73,0x6f,0x6d,0x65])](_0x3ef6e9=>_0x5abebf[_0x16eaa8([0x65,0x76,0x65,0x72,0x79])]((_0x285678,_0x16506d)=>_0x3ef6e9[_0x16506d]===_0x285678||_0x3ef6e9[_0x16506d]===_0x16eaa8([0x2a])));}function _0x365634(){return _0x232a6c&&_0x47c3a2?new window[(_0x16eaa8([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))]((_0x2d4e38,_0x2addd9)=>{_0x232a6c[_0x16eaa8([0x74,0x68,0x65,0x6e])](_0x2d4e38,_0x2addd9),_0x47c3a2[_0x16eaa8([0x74,0x68,0x65,0x6e])](_0x350839=>{_0x350839!=_0x16eaa8([0x56,0x61,0x6c,0x69,0x64])&&_0x2d4e38(_0x350839);},_0x2addd9);}):_0x232a6c||_0x47c3a2||_0x16eaa8([0x56,0x61,0x6c,0x69,0x64]);}}function _0x217281(_0x47ab0e,_0x5936b5){return new window[(_0x16eaa8([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0x7ca84e=>{if(_0x818bc9())return _0x7ca84e(_0x16eaa8([0x56,0x61,0x6c,0x69,0x64]));_0x22ae4b(),_0x354472[_0x16eaa8([0x64,0x65,0x63,0x6f,0x72,0x61,0x74,0x65])](_0x16eaa8([0x5f,0x73,0x65,0x6e,0x64,0x55,0x73,0x61,0x67,0x65,0x52,0x65,0x71,0x75,0x65,0x73,0x74]));let _0x3a6b60=!0x1;const _0x448952=_0xead57a();function _0x547a15(_0x5b00c9){return!!_0x5b00c9&&(typeof _0x5b00c9===_0x16eaa8([0x6f,0x62,0x6a,0x65,0x63,0x74])||typeof _0x5b00c9===_0x16eaa8([0x66,0x75,0x6e,0x63,0x74,0x69,0x6f,0x6e]))&&typeof _0x5b00c9[_0x16eaa8([0x74,0x68,0x65,0x6e])]===_0x16eaa8([0x66,0x75,0x6e,0x63,0x74,0x69,0x6f,0x6e])&&typeof _0x5b00c9[_0x16eaa8([0x63,0x61,0x74,0x63,0x68])]===_0x16eaa8([0x66,0x75,0x6e,0x63,0x74,0x69,0x6f,0x6e]);}function _0x5b20de(_0x48ee5e){_0x3e26f1(_0x48ee5e)[_0x16eaa8([0x74,0x68,0x65,0x6e])](_0x45d110=>{if(!_0x45d110||_0x45d110[_0x16eaa8([0x73,0x74,0x61,0x74,0x75,0x73])]!=_0x16eaa8([0x6f,0x6b]))return _0x16eaa8([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]);return _0x887685(_0x20ca40(_0x448952+_0x5936b5))!=_0x45d110[_0x16eaa8([0x76,0x65,0x72,0x69,0x66,0x69,0x63,0x61,0x74,0x69,0x6f,0x6e])]?_0x16eaa8([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]):_0x16eaa8([0x56,0x61,0x6c,0x69,0x64]);})[_0x16eaa8([0x74,0x68,0x65,0x6e])](_0x1e309a=>(_0x387fca(),_0x1e309a),()=>{const _0x5818d1=_0x112760();return null==_0x5818d1?(_0x387fca(),_0x16eaa8([0x56,0x61,0x6c,0x69,0x64])):_0x16eaa8(_0x2d25a2-_0x5818d1>(0x63ae0106^_0x2de418)?[0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]:[0x56,0x61,0x6c,0x69,0x64]);})[_0x16eaa8([0x74,0x68,0x65,0x6e])](_0x7ca84e)[_0x16eaa8([0x63,0x61,0x74,0x63,0x68])](()=>{_0x7ca84e(_0x16eaa8([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]));});const _0x6f867=0x47946b86^_0x2de418;function _0x387fca(){const _0xc110b6=_0x16eaa8([0x6c,0x6c,0x63,0x74,0x2d])+_0x887685(_0x20ca40(_0x47ab0e)),_0x5906b6=_0x19c19f(_0x887685(window[_0x16eaa8([0x4d,0x61,0x74,0x68])][_0x16eaa8([0x63,0x65,0x69,0x6c])](_0x2d25a2/_0x6f867)));window[_0x16eaa8([0x6c,0x6f,0x63,0x61,0x6c,0x53,0x74,0x6f,0x72,0x61,0x67,0x65])][_0x16eaa8([0x73,0x65,0x74,0x49,0x74,0x65,0x6d])](_0xc110b6,_0x5906b6);}function _0x112760(){const _0x4a8832=_0x16eaa8([0x6c,0x6c,0x63,0x74,0x2d])+_0x887685(_0x20ca40(_0x47ab0e)),_0x115cbf=window[_0x16eaa8([0x6c,0x6f,0x63,0x61,0x6c,0x53,0x74,0x6f,0x72,0x61,0x67,0x65])][_0x16eaa8([0x67,0x65,0x74,0x49,0x74,0x65,0x6d])](_0x4a8832);return _0x115cbf?window[_0x16eaa8([0x70,0x61,0x72,0x73,0x65,0x49,0x6e,0x74])](_0x19c19f(_0x115cbf),0x10)*_0x6f867:null;}function _0x3e26f1(_0x217931){return new window[(_0x16eaa8([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))]((_0x24dbb4,_0x3e2e42)=>{_0x217931[_0x16eaa8([0x74,0x68,0x65,0x6e])](_0x24dbb4,_0x3e2e42),window[_0x16eaa8([0x73,0x65,0x74,0x54,0x69,0x6d,0x65,0x6f,0x75,0x74])](_0x3e2e42,0x47a351c6^_0x2de418);});}}_0x354472[_0x16eaa8([0x6f,0x6e])](_0x16eaa8([0x5f,0x73,0x65,0x6e,0x64,0x55,0x73,0x61,0x67,0x65,0x52,0x65,0x71,0x75,0x65,0x73,0x74]),(_0x3d1bbe,_0x4c64a8)=>{if(_0x4c64a8[0x0]!=_0x47ab0e)return _0x7ca84e(_0x16eaa8([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]));_0x4c64a8[0x1]={..._0x4c64a8[0x1],[_0x16eaa8([0x72,0x65,0x71,0x75,0x65,0x73,0x74,0x49,0x64])]:_0x448952};},{[_0x16eaa8([0x70,0x72,0x69,0x6f,0x72,0x69,0x74,0x79])]:_0x16eaa8([0x68,0x69,0x67,0x68])}),_0x354472[_0x16eaa8([0x6f,0x6e])](_0x16eaa8([0x5f,0x73,0x65,0x6e,0x64,0x55,0x73,0x61,0x67,0x65,0x52,0x65,0x71,0x75,0x65,0x73,0x74]),_0x5392cd=>{_0x547a15(_0x5392cd[_0x16eaa8([0x72,0x65,0x74,0x75,0x72,0x6e])])&&(_0x3a6b60=!0x0,_0x5b20de(_0x5392cd[_0x16eaa8([0x72,0x65,0x74,0x75,0x72,0x6e])]));},{[_0x16eaa8([0x70,0x72,0x69,0x6f,0x72,0x69,0x74,0x79])]:_0x16eaa8([0x6c,0x6f,0x77])}),_0x1d1d5e[_0x16eaa8([0x74,0x68,0x65,0x6e])](()=>{_0x3a6b60||_0x7ca84e(_0x16eaa8([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]));});});function _0x818bc9(){return _0x354472[_0x16eaa8([0x65,0x64,0x69,0x74,0x69,0x6e,0x67])][_0x16eaa8([0x76,0x69,0x65,0x77])][_0x16eaa8([0x5f,0x6f,0x76,0x65,0x72,0x6c,0x61,0x79,0x4d,0x6f,0x64,0x65,0x48,0x69,0x6e,0x74])]==_0x16eaa8([0x61,0x75,0x74,0x6f]);}function _0x22ae4b(){_0x354472[_0x16eaa8([0x65,0x64,0x69,0x74,0x69,0x6e,0x67])][_0x16eaa8([0x76,0x69,0x65,0x77])][_0x16eaa8([0x5f,0x6f,0x76,0x65,0x72,0x6c,0x61,0x79,0x4d,0x6f,0x64,0x65,0x48,0x69,0x6e,0x74])]=_0x16eaa8([0x61,0x75,0x74,0x6f]);}}function _0x256956(_0x63d217){const _0x27bc19=[new window[(_0x16eaa8([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0x51180f=>setTimeout(_0x51180f,0x47abbbca^_0x2de418)),_0x1d1d5e[_0x16eaa8([0x74,0x68,0x65,0x6e])](()=>new window[(_0x16eaa8([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0x11a3c3=>{let _0x4a8999=0x0;_0x354472[_0x16eaa8([0x6d,0x6f,0x64,0x65,0x6c])][_0x16eaa8([0x6f,0x6e])](_0x16eaa8([0x61,0x70,0x70,0x6c,0x79,0x4f,0x70,0x65,0x72,0x61,0x74,0x69,0x6f,0x6e]),(_0x39f2aa,_0x43c2f6)=>{_0x43c2f6[0x0][_0x16eaa8([0x69,0x73,0x44,0x6f,0x63,0x75,0x6d,0x65,0x6e,0x74,0x4f,0x70,0x65,0x72,0x61,0x74,0x69,0x6f,0x6e])]&&_0x4a8999++,_0x4a8999==(0x47a280ee^_0x2de418)&&(_0x11a3c3(),_0x39f2aa[_0x16eaa8([0x6f,0x66,0x66])]());});}))];return window[_0x16eaa8([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65])][_0x16eaa8([0x72,0x61,0x63,0x65])](_0x27bc19)[_0x16eaa8([0x74,0x68,0x65,0x6e])](()=>_0x63d217);}async function _0x56db98(){await _0x1d1d5e,_0x354472[_0x16eaa8([0x6d,0x6f,0x64,0x65,0x6c])][_0x16eaa8([0x63,0x68,0x61,0x6e,0x67,0x65])]=_0x73ec44,_0x354472[_0x16eaa8([0x6d,0x6f,0x64,0x65,0x6c])][_0x16eaa8([0x65,0x6e,0x71,0x75,0x65,0x75,0x65,0x43,0x68,0x61,0x6e,0x67,0x65])]=_0x73ec44,_0x354472[_0x16eaa8([0x65,0x6e,0x61,0x62,0x6c,0x65,0x52,0x65,0x61,0x64,0x4f,0x6e,0x6c,0x79,0x4d,0x6f,0x64,0x65])](_0x16eaa8([0x6d,0x6f,0x64,0x65,0x6c]));}function _0x1f8baf(_0x594a4a){const _0x19e5d2=_0x4a79fd();_0x354472[_0x19e5d2]=_0x16eaa8([0x66,0x6f,0x6f,0x74,0x6e,0x6f,0x74,0x65,0x73,0x4c,0x69,0x63,0x65,0x6e,0x73,0x65,0x4b,0x65,0x79])+_0x594a4a,_0x594a4a!=_0x16eaa8([0x56,0x61,0x6c,0x69,0x64])&&_0x56db98();}function _0x4a79fd(){const _0x1fa0b8=window[_0x16eaa8([0x53,0x74,0x72,0x69,0x6e,0x67])](window[_0x16eaa8([0x70,0x65,0x72,0x66,0x6f,0x72,0x6d,0x61,0x6e,0x63,0x65])][_0x16eaa8([0x6e,0x6f,0x77])]())[_0x16eaa8([0x72,0x65,0x70,0x6c,0x61,0x63,0x65])](_0x16eaa8([0x2e]),'');let _0x36e444=_0x16eaa8([0x75]);for(let _0x20ba77=0x0;_0x20ba77<_0x1fa0b8[_0x16eaa8([0x6c,0x65,0x6e,0x67,0x74,0x68])];_0x20ba77+=0x2){let _0x1a4ae5=window[_0x16eaa8([0x70,0x61,0x72,0x73,0x65,0x49,0x6e,0x74])](_0x1fa0b8[_0x16eaa8([0x73,0x75,0x62,0x73,0x74,0x72,0x69,0x6e,0x67])](_0x20ba77,_0x20ba77+0x2));_0x1a4ae5>=_0x181c5a[_0x16eaa8([0x6c,0x65,0x6e,0x67,0x74,0x68])]&&(_0x1a4ae5-=_0x181c5a[_0x16eaa8([0x6c,0x65,0x6e,0x67,0x74,0x68])]),_0x36e444+=_0x181c5a[_0x1a4ae5];}return _0x36e444;}function _0x5658b7(){const _0x241169=_0x57fdb2[_0x16eaa8([0x73,0x70,0x6c,0x69,0x74])](_0x16eaa8([0x2e]));if(0x3!=_0x241169[_0x16eaa8([0x6c,0x65,0x6e,0x67,0x74,0x68])])return null;return _0x3acf39(_0x241169[0x1]);function _0x3acf39(_0x4ebbee){const _0x4ae751=_0x2fcbb2(_0x4ebbee);return _0x4ae751&&_0x5ce3a2()?_0x4ae751:null;function _0x5ce3a2(){const _0x5c67bb=_0x4ae751[_0x16eaa8([0x6a,0x74,0x69])],_0x5121b1=window[_0x16eaa8([0x70,0x61,0x72,0x73,0x65,0x49,0x6e,0x74])](_0x5c67bb[_0x16eaa8([0x73,0x75,0x62,0x73,0x74,0x72,0x69,0x6e,0x67])](_0x5c67bb[_0x16eaa8([0x6c,0x65,0x6e,0x67,0x74,0x68])]-0x8),0x10),_0x5d5015={..._0x4ae751,[_0x16eaa8([0x6a,0x74,0x69])]:_0x5c67bb[_0x16eaa8([0x73,0x75,0x62,0x73,0x74,0x72,0x69,0x6e,0x67])](0x0,_0x5c67bb[_0x16eaa8([0x6c,0x65,0x6e,0x67,0x74,0x68])]-0x8)};return delete _0x5d5015[_0x16eaa8([0x76,0x63])],_0x20ca40(_0x5d5015)==_0x5121b1;}}}async function _0x552f1c(){let _0x2a3361=!0x0;try{const _0x527f16=_0x57fdb2[_0x16eaa8([0x73,0x70,0x6c,0x69,0x74])](_0x16eaa8([0x2e])),[_0x3e992e,_0x53953c,_0x537823]=_0x527f16;return _0x42a181(_0x3e992e),await _0x41cb80(_0x3e992e,_0x53953c,_0x537823),_0x2a3361;}catch{return!0x1;}function _0x42a181(_0x447ca1){const _0x3f5611=_0x2fcbb2(_0x447ca1);_0x3f5611&&_0x3f5611[_0x16eaa8([0x61,0x6c,0x67])]==_0x16eaa8([0x45,0x53,0x32,0x35,0x36])||(_0x2a3361=!0x1);}async function _0x41cb80(_0xc377f2,_0x32f145,_0x5df6d4){const _0x42aead=window[_0x16eaa8([0x55,0x69,0x6e,0x74,0x38,0x41,0x72,0x72,0x61,0x79])][_0x16eaa8([0x66,0x72,0x6f,0x6d])](_0x3ec5ba(_0x5df6d4),_0x39ce30=>_0x39ce30[_0x16eaa8([0x63,0x68,0x61,0x72,0x43,0x6f,0x64,0x65,0x41,0x74])](0x0)),_0x1e70d3=new window[(_0x16eaa8([0x54,0x65,0x78,0x74,0x45,0x6e,0x63,0x6f,0x64,0x65,0x72]))]()[_0x16eaa8([0x65,0x6e,0x63,0x6f,0x64,0x65])](_0xc377f2+_0x16eaa8([0x2e])+_0x32f145),_0x498424=window[_0x16eaa8([0x63,0x72,0x79,0x70,0x74,0x6f])][_0x16eaa8([0x73,0x75,0x62,0x74,0x6c,0x65])];if(!_0x498424)return;const _0x42d9a1=await _0x498424[_0x16eaa8([0x69,0x6d,0x70,0x6f,0x72,0x74,0x4b,0x65,0x79])](_0x16eaa8([0x6a,0x77,0x6b]),_0x1b8d48,{[_0x16eaa8([0x6e,0x61,0x6d,0x65])]:_0x16eaa8([0x45,0x43,0x44,0x53,0x41]),[_0x16eaa8([0x6e,0x61,0x6d,0x65,0x64,0x43,0x75,0x72,0x76,0x65])]:_0x16eaa8([0x50,0x2d,0x32,0x35,0x36])},!0x1,[_0x16eaa8([0x76,0x65,0x72,0x69,0x66,0x79])]);await _0x498424[_0x16eaa8([0x76,0x65,0x72,0x69,0x66,0x79])]({[_0x16eaa8([0x6e,0x61,0x6d,0x65])]:_0x16eaa8([0x45,0x43,0x44,0x53,0x41]),[_0x16eaa8([0x68,0x61,0x73,0x68])]:{[_0x16eaa8([0x6e,0x61,0x6d,0x65])]:_0x16eaa8([0x53,0x48,0x41,0x2d,0x32,0x35,0x36])}},_0x42d9a1,_0x42aead,_0x1e70d3)||(_0x2a3361=!0x1);}}function _0x2fcbb2(_0xd581d3){return _0xd581d3[_0x16eaa8([0x73,0x74,0x61,0x72,0x74,0x73,0x57,0x69,0x74,0x68])](_0x16eaa8([0x65,0x79]))?JSON[_0x16eaa8([0x70,0x61,0x72,0x73,0x65])](_0x3ec5ba(_0xd581d3)):null;}function _0x3ec5ba(_0x4e1882){return window[_0x16eaa8([0x61,0x74,0x6f,0x62])](_0x4e1882[_0x16eaa8([0x72,0x65,0x70,0x6c,0x61,0x63,0x65])](/-/g,_0x16eaa8([0x2b]))[_0x16eaa8([0x72,0x65,0x70,0x6c,0x61,0x63,0x65])](/_/g,_0x16eaa8([0x2f])));}function _0x20ca40(_0x10bf5e){let _0x5dedf0=0x1505;function _0x25c56a(_0x75b57d){for(let _0x407f57=0x0;_0x407f57<_0x75b57d[_0x16eaa8([0x6c,0x65,0x6e,0x67,0x74,0x68])];_0x407f57++){const _0x1efdcb=_0x75b57d[_0x16eaa8([0x63,0x68,0x61,0x72,0x43,0x6f,0x64,0x65,0x41,0x74])](_0x407f57);_0x5dedf0=(_0x5dedf0<<0x5)+_0x5dedf0+_0x1efdcb,_0x5dedf0&=_0x5dedf0;}}function _0x21f193(_0x1767b4){Array[_0x16eaa8([0x69,0x73,0x41,0x72,0x72,0x61,0x79])](_0x1767b4)?_0x1767b4[_0x16eaa8([0x66,0x6f,0x72,0x45,0x61,0x63,0x68])](_0x21f193):_0x1767b4&&typeof _0x1767b4==_0x16eaa8([0x6f,0x62,0x6a,0x65,0x63,0x74])?Object[_0x16eaa8([0x65,0x6e,0x74,0x72,0x69,0x65,0x73])](_0x1767b4)[_0x16eaa8([0x73,0x6f,0x72,0x74])]()[_0x16eaa8([0x66,0x6f,0x72,0x45,0x61,0x63,0x68])](([_0x133b25,_0x1b8f72])=>{_0x25c56a(_0x133b25),_0x21f193(_0x1b8f72);}):_0x25c56a(window[_0x16eaa8([0x53,0x74,0x72,0x69,0x6e,0x67])](_0x1767b4));}return _0x21f193(_0x10bf5e),_0x5dedf0>>>0x0;}function _0x887685(_0x2db978){return _0x2db978[_0x16eaa8([0x74,0x6f,0x53,0x74,0x72,0x69,0x6e,0x67])](0x10)[_0x16eaa8([0x70,0x61,0x64,0x53,0x74,0x61,0x72,0x74])](0x8,_0x16eaa8([0x30]));}function _0x19c19f(_0x535a20){return _0x535a20[_0x16eaa8([0x73,0x70,0x6c,0x69,0x74])]('')[_0x16eaa8([0x72,0x65,0x76,0x65,0x72,0x73,0x65])]()[_0x16eaa8([0x6a,0x6f,0x69,0x6e])]('');}function _0x73ec44(){}function _0x16eaa8(_0x432553){return _0x432553['map'](_0x2a7ef0=>String['fromCharCode'](_0x2a7ef0))['join']('');}_0x1f8baf(await _0x13dd96());}(this);}['_moveSelectionToFootnoteDefinition'](_0x1267d0){const {plugins:_0x3d1395,editing:_0x37f791,model:_0x2860ec}=this['editor'],_0x2e3988=_0x3d1395['get'](f)['getFootnote'](_0x1267d0);return!!_0x2e3988&&(_0x2860ec['change'](_0x3336c2=>{_0x3336c2['setSelection'](_0x3336c2['createPositionAt'](_0x2e3988['definition'],'end'));}),_0x37f791['view']['scrollToTheSelection'](),!0x0);}['_moveSelectionToFootnoteReference'](_0x27f1be){const {plugins:_0x319cf1,editing:_0x3867d9,model:_0x4fe385}=this['editor'],_0x5627d9=_0x319cf1['get'](f)['getFootnote'](_0x27f1be);return!!_0x5627d9&&(_0x4fe385['change'](_0xb7789b=>{_0xb7789b['setSelection'](_0x5627d9['reference'],'on');}),_0x3867d9['view']['scrollToTheSelection'](),!0x0);}['_defineSchema'](){const {schema:_0x394f1a}=this['editor']['model'],_0x1a2954=this['editor']['config']['get']('footnotes.multiBlock');_0x394f1a['register']('footnoteRef',{'inheritAllFrom':'$inlineObject','allowAttributes':['footnoteId','footnoteCounter']}),_0x394f1a['register']('footnotesDefinitions',{'inheritAllFrom':'$blockObject','allowChildren':['footnoteDefinition']}),_0x394f1a['register']('footnoteDefinition',{'allowAttributes':['footnoteId'],'disallowAttributes':['listItemId'],'isLimit':!0x0}),_0x1a2954?_0x394f1a['extend']('footnoteDefinition',{'allowContentOf':'$container'}):_0x394f1a['register']('footnoteInlineContent',{'allowIn':'footnoteDefinition','allowContentOf':'$block','isLimit':!0x0}),_0x394f1a['addChildCheck'](_0x3c1cd7=>{for(const _0x375572 of _0x3c1cd7)if('footnoteDefinition'===_0x375572['name'])return!0x1;},'footnoteRef');}['_defineRefsConverters'](){const {editor:_0x5a9871}=this,{conversion:_0x4ce0c3,editing:_0x20a9a3}=_0x5a9871,{t:t}=_0x5a9871['locale'];_0x4ce0c3['for']('upcast')['elementToElement']({'view':{'name':'sup','classes':'footnote'},'model':(_0x1ab270,{writer:_0x5e8454,consumable:_0x475773})=>{const _0x281159=_0x1ab270['getChild'](0x0);if(!_0x281159||!_0x281159['is']('element','a'))return null;const _0x180451=_0x281159['getAttribute']('href')||'';if(!_0x180451['startsWith']('#'))return null;const _0x48d2bc=_0x180451['replace'](/^#/,'');if(!_0x48d2bc)return null;_0x475773['consume'](_0x281159,{'name':!0x0,'attributes':['href']});for(const {item:_0xff6cdb}of _0x20a9a3['view']['createRangeIn'](_0x281159))_0xff6cdb['is']('$textProxy')?_0x475773['consume'](_0xff6cdb['textNode'],{'name':!0x0}):_0xff6cdb['is']('element')&&_0x475773['consume'](_0xff6cdb,{'name':!0x0});return _0x5e8454['createElement']('footnoteRef',{'footnoteId':_0x48d2bc});}}),_0x4ce0c3['for']('dataDowncast')['elementToElement']({'model':{'name':'footnoteRef','attributes':['footnoteId','footnoteCounter']},'view':(_0x497cf1,{writer:_0x43af8e})=>b(_0x497cf1,_0x43af8e)}),_0x4ce0c3['for']('editingDowncast')['elementToElement']({'model':{'name':'footnoteRef','attributes':['footnoteId','footnoteCounter']},'view':(_0x4c6449,{writer:_0x5ce180})=>{const _0x517405=_0x4c6449['getAttribute']('footnoteCounter');return _0x167420(b(_0x4c6449,_0x5ce180),_0x5ce180,{'label':t('Footnote\x20%0.\x20Press\x20ENTER\x20to\x20jump\x20to\x20footnote\x20definition.',_0x517405)});}});}['_defineDefinitionsConverters'](){const {editor:_0x105c25}=this,{t:t}=_0x105c25['locale'],{conversion:_0xf31a8f}=_0x105c25;_0xf31a8f['for']('upcast')['elementToElement']({'view':{'name':'div','classes':'footnotes'},'model':'footnotesDefinitions'}),_0xf31a8f['for']('upcast')['add'](_0x4b8246=>{_0x4b8246['on']('element:ol',(_0x2fc7d6,_0x3d8deb,_0x2a44c1)=>{const _0x2e7e61=_0x3d8deb['viewItem'];if(!_0x2e7e61['hasClass']('footnotes-list')||!_0x3d8deb['modelCursor']['parent']?.['is']('element','footnotesDefinitions'))return;if(!_0x2a44c1['consumable']['consume'](_0x2e7e61,{'name':!0x0,'classes':'footnotes-list'}))return;const {modelRange:_0x3da7ec,modelCursor:_0x5ec37c}=_0x2a44c1['convertChildren'](_0x3d8deb['viewItem'],_0x3d8deb['modelCursor']);_0x3d8deb['modelRange']=_0x3da7ec,_0x3d8deb['modelCursor']=_0x5ec37c;}),_0x4b8246['on']('element:hr',(_0x2c6b4a,_0x2da37b,_0x17fa4b)=>{const _0x374f34=_0x2da37b['viewItem'];_0x374f34['hasClass']('footnotes-divider')&&_0x2da37b['modelCursor']['parent']?.['is']('element','footnotesDefinitions')&&_0x17fa4b['consumable']['consume'](_0x374f34,{'name':!0x0,'classes':'footnotes-divider'});});}),_0xf31a8f['for']('dataDowncast')['elementToStructure']({'model':'footnotesDefinitions','view':(_0x4baa4f,{writer:_0x289a03})=>D(_0x289a03)}),_0xf31a8f['for']('editingDowncast')['elementToStructure']({'model':'footnotesDefinitions','view':(_0x208be5,{writer:_0x11c878})=>{const _0x303161=D(_0x11c878,{'data-footnotes-list-label':t('Footnotes')}),_0x16501e=_0x167420(_0x303161,_0x11c878,{'hasSelectionHandle':!0x0,'label':t('Footnotes')});return _0x11c878['setCustomProperty']('footnotesDefinitions',!0x0,_0x16501e),_0x16501e;}});}['_defineDefinitionConverters'](){const {editor:_0x1a7f1e}=this,{conversion:_0x407dad,locale:_0x122ce6}=_0x1a7f1e,_0x71c56d=_0x1a7f1e['config']['get']('footnotes.multiBlock');_0x407dad['for']('upcast')['add'](_0x31e35f=>{_0x31e35f['on']('element:li',(_0x396e38,_0x1f8232,_0x41ec7b)=>{const _0x456ae9=_0x1f8232['viewItem'];if(!_0x456ae9['hasClass']('footnote-definition')||!_0x456ae9['getAttribute']('id'))return;const _0x36a8d3=_0x456ae9['parent'];if(!_0x36a8d3['is']('element','ol')||!_0x36a8d3['hasClass']('footnotes-list'))return;if(!_0x41ec7b['consumable']['test'](_0x456ae9,{'name':!0x0,'attributes':'id','classes':'footnote-definition'}))return;const _0x505035=_0x41ec7b['writer']['createElement']('footnoteDefinition',{'footnoteId':_0x456ae9['getAttribute']('id')});if(!_0x41ec7b['safeInsert'](_0x505035,_0x1f8232['modelCursor']))return;_0x41ec7b['consumable']['consume'](_0x456ae9,{'name':!0x0,'attributes':'id','classes':'footnote-definition'});const _0x4ef4ad=Array['from'](_0x456ae9['getChildren']())['find'](_0x67a27=>_0x67a27['is']('element')&&_0x67a27['hasClass']('footnote-content'));for(const _0x29e100 of _0x456ae9['getChildren']())_0x29e100['is']('element')&&(_0x41ec7b['consumable']['consume'](_0x29e100,{'name':!0x0,'classes':'footnote-backlink','attributes':'href'}),_0x41ec7b['consumable']['consume'](_0x29e100,{'name':!0x0,'classes':'footnote-content'}));if(_0x4ef4ad){if(_0x71c56d)_0x41ec7b['convertChildren'](_0x4ef4ad,_0x505035);else{const _0x3ac15e=_0x41ec7b['writer']['createElement']('footnoteInlineContent');_0x41ec7b['writer']['insert'](_0x3ac15e,_0x505035),_0x41ec7b['convertChildren'](_0x4ef4ad,_0x3ac15e);}}_0x41ec7b['updateConversionResult'](_0x505035,_0x1f8232);});}),_0x407dad['for']('dataDowncast')['elementToStructure']({'model':{'name':'footnoteDefinition','attributes':['footnoteId']},'view':(_0xe93be1,{writer:_0x492959})=>y(_0xe93be1,_0x492959,_0x122ce6,{'dataPipeline':!0x0})}),_0x407dad['for']('editingDowncast')['elementToStructure']({'model':{'name':'footnoteDefinition','attributes':['footnoteId']},'view':(_0x4f9fcb,{writer:_0x4deb3b})=>y(_0x4f9fcb,_0x4deb3b,_0x122ce6)});}['_defineBogusParagraphConverters'](){const {editor:_0x2682ab}=this,{conversion:_0x27d1f4}=_0x2682ab;_0x2682ab['config']['get']('footnotes.multiBlock')?(_0x27d1f4['for']('editingDowncast')['elementToElement']({'model':'paragraph','view':p(),'converterPriority':'high'}),_0x27d1f4['for']('dataDowncast')['elementToElement']({'model':'paragraph','view':p({'dataPipeline':!0x0}),'converterPriority':'high'}),this['listenTo'](_0x2682ab['model']['document'],'change:data',()=>{!function(_0xfbe3c,_0x2dbb77){const _0x259b15=_0xfbe3c['document']['differ'],_0xc86f7a=new Set();for(const _0x45c662 of _0x259b15['getChanges']()){const _0x342b89='attribute'==_0x45c662['type']?_0x45c662['range']['start']['parent']:_0x45c662['position']['parent'];_0x342b89['is']('element','footnoteDefinition')&&_0xc86f7a['add'](_0x342b89);}for(const _0x327f15 of _0xc86f7a['values']()){const _0x10d812=Array['from'](_0x327f15['getChildren']())['filter'](_0x5ed9a6=>v(_0x5ed9a6,_0x2dbb77['mapper']));for(const _0x1b7db8 of _0x10d812)_0x2dbb77['reconvertItem'](_0x1b7db8);}}(_0x2682ab['model'],_0x2682ab['editing']);})):(_0x27d1f4['for']('editingDowncast')['elementToElement']({'model':'footnoteInlineContent','view':p()}),_0x27d1f4['for']('dataDowncast')['elementToElement']({'model':'footnoteInlineContent','view':(_0x1e92de,{writer:_0x668b80})=>{const _0x56f40c=_0x668b80['createContainerElement']('span');return _0x668b80['setCustomProperty']('dataPipeline:transparentRendering',!0x0,_0x56f40c),_0x56f40c;}}));}['_defineKeyboardHandlers'](){const {editor:_0x1b08bb}=this,{editing:_0x41af7d,t:t}=_0x1b08bb,_0x2d63b6=_0x1b08bb['model']['document']['selection'];_0x1b08bb['keystrokes']['set']('Ctrl+Alt+F','insertFootnote'),_0x1b08bb['accessibility']['addKeystrokeInfos']({'keystrokes':[{'label':t('Insert\x20footnote'),'keystroke':'Ctrl+Alt+F'}]}),this['listenTo'](_0x41af7d['view']['document'],'enter',(_0x5b0a9b,_0x3b322a)=>{const _0x50e6eb=function(_0x20837c){const _0x2d2b0d=_0x20837c['getSelectedElement']();if(_0x2d2b0d?.['is']('element','footnoteRef'))return _0x2d2b0d;return null;}(_0x2d63b6);if(_0x50e6eb){const _0x339d7d=_0x50e6eb['getAttribute']('footnoteId');this['_moveSelectionToFootnoteDefinition'](_0x339d7d),_0x3b322a['preventDefault'](),_0x5b0a9b['stop']();}},{'context':_0x2b3ed8});}['_defineClickHandlers'](){const {editor:_0x15da8d}=this,{editing:_0x2c8498}=_0x15da8d;_0x15da8d['editing']['view']['addObserver'](_0x36d4ef),_0x15da8d['editing']['view']['addObserver'](_0x35a785);let _0x9d719c=!0x1;this['listenTo'](_0x2c8498['view']['document'],'pointerdown',(_0x175a5b,_0x2fd598)=>{const {target:_0x2fb3d5}=_0x2fd598,_0x2860e5=_0x2c8498['view']['document']['selection'];_0x9d719c=!!(_0x2fb3d5?.['is']('element','a')&&_0x2fb3d5['parent']?.['is']('element','sup')&&_0x2fb3d5['parent']['hasClass']('footnote'))&&_0x2860e5['getSelectedElement']()===_0x2fb3d5['parent'];},{'priority':'high'}),this['listenTo'](_0x2c8498['view']['document'],'click',(_0x1c644a,_0x2401dd)=>{const {target:_0x571304}=_0x2401dd;if(!_0x571304?.['is']('element','a'))return;if(_0x571304['parent']?.['is']('element','sup')&&_0x571304['parent']['hasClass']('footnote')&&!_0x9d719c)return void _0x2401dd['preventDefault']();let _0x306736=_0x571304['getAttribute']('href');if(!_0x306736?.['startsWith']('#'))return;_0x306736=_0x306736['slice'](0x1);let _0x487f21=!0x1;(_0x306736['startsWith']('ref-')&&this['_moveSelectionToFootnoteReference'](_0x306736['slice'](0x4))||this['_moveSelectionToFootnoteDefinition'](_0x306736))&&(_0x487f21=!0x0),_0x487f21&&(_0x2401dd['preventDefault'](),_0x1c644a['stop']());},{'priority':'high','context':'$capture'});}}function p({dataPipeline:_0xed41e8}={}){return(_0x34a46f,{writer:_0x5e7b6c})=>{if(!g(_0x34a46f))return null;if(!_0xed41e8)return _0x5e7b6c['createContainerElement']('span',{'class':'ck-footnote-bogus-paragraph'});const _0x5432be=_0x5e7b6c['createContainerElement']('p');return _0x5e7b6c['setCustomProperty']('dataPipeline:transparentRendering',!0x0,_0x5432be),_0x5432be;};}function g(_0x10436f){const {parent:_0x560cb2}=_0x10436f;if(!_0x560cb2?.['is']('element','footnoteDefinition'))return!0x1;if(0x1!=_0x560cb2['childCount'])return!0x1;for(const _0xaebcff of _0x10436f['getAttributeKeys']())if(!_0xaebcff['startsWith']('selection:')&&'htmlEmptyBlock'!=_0xaebcff)return!0x1;return!0x0;}function v(_0x3fd2d0,_0x362aed){if(!_0x3fd2d0['is']('element','paragraph'))return!0x1;const _0xebd2d=_0x362aed['toViewElement'](_0x3fd2d0);return!!_0xebd2d&&g(_0x3fd2d0)!==_0xebd2d['is']('element','span');}function Q(_0x3842ea){return _0x2b3ed8(_0x3842ea)&&_0x3842ea['is']('containerElement')&&!!_0x3842ea['getCustomProperty']('footnotesDefinitions');}function D(_0x38066d,_0x500b57={}){const _0x72ad55=_0x38066d['createEmptyElement']('hr',{'class':'footnotes-divider'}),_0x3baa18=_0x38066d['createContainerElement']('ol',{'class':'footnotes-list'},_0x38066d['createSlot']());return _0x38066d['createContainerElement']('div',{'class':'footnotes',..._0x500b57},[_0x72ad55,_0x3baa18]);}function b(_0x20a41f,_0x4a0c78){const _0x4c44de=_0x20a41f['getAttribute']('footnoteId'),_0x474340=_0x20a41f['getAttribute']('footnoteCounter'),_0x37cdf7=_0x4a0c78['createUIElement']('a',{'href':'#'+_0x4c44de},function(_0x4f2cec){const _0x36a9b1=this['toDomElement'](_0x4f2cec);return _0x36a9b1['textContent']=_0x474340,_0x36a9b1;}),_0x51264d=_0x4a0c78['createContainerElement']('sup',{'id':'ref-'+_0x4c44de,'class':'footnote'},[_0x37cdf7]);return _0x51264d['getFillerOffset']=()=>null,_0x51264d;}function y(_0x39abda,_0x25b29f,_0x3c01b3,{dataPipeline:_0x314009}={}){const {t:t}=_0x3c01b3,_0x533f95=_0x39abda['getAttribute']('footnoteId'),_0x581e4c=_0x25b29f['createUIElement']('a',{'class':'footnote-backlink','href':'#ref-'+_0x533f95},function(_0x4aa40d){const _0x2a2c23=this['toDomElement'](_0x4aa40d);return _0x2a2c23['innerText']='^',_0x2a2c23;}),_0xb39df6=_0x314009?_0x25b29f['createContainerElement']('div',{'class':'footnote-content'}):_0xe2ef93(_0x25b29f['createEditableElement']('div',{'class':'footnote-content'}),_0x25b29f,{'label':t('Footnote\x20content.')});return _0x25b29f['insert'](_0x25b29f['createPositionAt'](_0xb39df6,0x0),_0x25b29f['createSlot']()),_0x25b29f['createContainerElement']('li',{'class':'footnote-definition','id':_0x533f95},[_0x581e4c,_0xb39df6]);}class e extends _0x120eb0{static get['pluginName'](){return'FootnotesClipboard';}static get['requires'](){return[r,_0x1c3d0b];}static get['isOfficialPlugin'](){return!0x0;}static get['isPremiumPlugin'](){return!0x0;}['init'](){this['_defineClipboardIntegration']();}['_defineClipboardIntegration'](){this['_handleCopyFootnotesDefinitions'](),this['_handlePasteFootnotesDefinitions']();}['_handleCopyFootnotesDefinitions'](){const {editor:_0x576bd6}=this,{plugins:_0x445cd0,model:_0x367ccc}=_0x576bd6,_0x15bc79=_0x445cd0['get'](_0x1c3d0b),_0x28aec1=_0x445cd0['get'](f);this['listenTo'](_0x15bc79,'outputTransformation',(_0x796bf6,_0xca1a7)=>{const _0x3937e7=l(_0x367ccc['createRangeIn'](_0xca1a7['content']));if(!_0x3937e7['length'])return;const _0x4b4107=_0x28aec1['getFootnotes'](),_0x414ad2=_0x3937e7['reduce']((_0x55f972,_0x2b4003)=>{const _0x51265f=_0x4b4107['find'](_0x1c3ac5=>_0x1c3ac5['id']===_0x2b4003);if(_0x51265f){const _0x3496bd=_0x576bd6['data']['toView'](_0x51265f['definition'],{'isClipboardPipeline':!0x0}),_0x49f3df=_0x576bd6['data']['htmlProcessor']['toData'](_0x3496bd);_0x55f972[_0x51265f['id']]=_0x49f3df;}return _0x55f972;},Object['create'](null));_0xca1a7['dataTransfer']['setData']('application/ckeditor5-footnotes',JSON['stringify'](_0x414ad2));});}['_handlePasteFootnotesDefinitions'](){const {editor:_0x4e0b29}=this,{model:_0x2359b9,plugins:_0x54950c}=_0x4e0b29,{view:_0x3081dc}=_0x4e0b29['editing'],_0x4820e3=_0x54950c['get'](_0x1c3d0b),_0x2c8dbd=_0x54950c['get'](f),_0x362615=_0x4e0b29['config']['get']('footnotes.multiBlock');let _0x2a43d9=null;this['listenTo'](_0x3081dc['document'],'clipboardInput',(_0xdb9636,_0x501828)=>{const _0x1f0b3b=_0x501828['dataTransfer']['getData']('application/ckeditor5-footnotes');_0x2a43d9=_0x1f0b3b?JSON['parse'](_0x1f0b3b):null;}),this['listenTo'](_0x4820e3,'contentInsertion',(_0x3671c0,_0x194963)=>{const _0x37ec26=_0x194963['sourceEditorId']===this['editor']['id'];_0x37ec26&&'drop'===_0x194963['method']||_0x2359b9['change'](_0x2cf9ed=>{let _0xc1ea7f=_0x2c8dbd['getFootnotesDefinitionsObjectElement']();const _0x48f45f=!!_0xc1ea7f&&Array['from'](_0x2359b9['document']['selection']['getSelectedBlocks']())['includes'](_0xc1ea7f);if(!_0x2a43d9&&function(_0x583d15){for(const {item:_0x3a8cdc}of _0x583d15)if(_0x3a8cdc['is']('element','footnoteRef'))return!0x0;return!0x1;}(_0x2359b9['createRangeIn'](_0x194963['content']))&&(_0x2a43d9=function(_0x37666e,_0x771905){const _0x2fdbed=c(_0x37666e,_0x771905);if(!_0x2fdbed)return null;const _0x5d1837=Object['create'](null);for(const _0x147a1c of _0x2fdbed['getChildren']())_0x147a1c['is']('element','footnoteDefinition')&&_0x147a1c['hasAttribute']('footnoteId')&&(_0x5d1837[_0x147a1c['getAttribute']('footnoteId')]=_0x37666e['cloneElement'](_0x147a1c,!0x0));return Object['keys'](_0x5d1837)['length']?_0x5d1837:null;}(_0x2cf9ed,_0x194963['content'])),(_0xc1ea7f&&!_0x48f45f||!_0xc1ea7f&&!_0x2a43d9)&&function(_0x52b55b,_0x2216ad){const _0x4f0176=[];for(const {item:_0x33d6bc}of _0x52b55b['createRangeIn'](_0x2216ad))_0x33d6bc['is']('element','footnotesDefinitions')&&_0x4f0176['push'](_0x33d6bc);for(const _0x24cf71 of _0x4f0176)_0x52b55b['remove'](_0x24cf71);}(_0x2cf9ed,_0x194963['content']),!_0x2a43d9)return;const {selection:_0xb52ea9}=_0x2359b9['document'],_0x604df4=_0xb52ea9['getFirstRange']()['root'];_0xc1ea7f&&!_0x48f45f||(_0xc1ea7f=c(_0x2cf9ed,_0x194963['content']),_0xc1ea7f||=_0x2c8dbd['_insertEmptyFootnotesDefinitionsContainer'](_0x2cf9ed,_0x604df4));const _0x52246f=Array['from'](_0xb52ea9['getRanges']())['flatMap'](l),_0x48d80b=function(_0x5464cd,_0x5d0f38,_0x1537c2){const _0x3dcc08=Object['create'](null);for(const {item:_0x1b4e36}of _0x5464cd['createRangeIn'](_0x5d0f38))if(_0x1b4e36['is']('element','footnoteRef')){const _0x486ae5=_0x1b4e36['getAttribute']('footnoteId');if(!_0x1537c2(_0x486ae5))continue;_0x3dcc08[_0x486ae5]||(_0x3dcc08[_0x486ae5]=_0xead57a()),_0x5464cd['setAttribute']('footnoteId',_0x3dcc08[_0x486ae5],_0x1b4e36);}return _0x3dcc08;}(_0x2cf9ed,_0x194963['content'],_0xe67f27=>{if(!_0x37ec26)return!0x0;return!!_0x2c8dbd['getFootnote'](_0xe67f27)&&!_0x52246f['includes'](_0xe67f27);});for(const [_0x3b0d12,_0x28972c]of Object['entries'](_0x2a43d9)){const _0x4a3bd1=_0x48d80b[_0x3b0d12]||_0x3b0d12;let _0x49adf3;if('string'!=typeof _0x28972c)_0x49adf3=_0x28972c,_0x4a3bd1!==_0x3b0d12&&_0x2cf9ed['setAttribute']('footnoteId',_0x4a3bd1,_0x49adf3);else{_0x49adf3=_0x2cf9ed['createElement']('footnoteDefinition',{'footnoteId':_0x4a3bd1});const _0x40446e=_0x4e0b29['data']['htmlProcessor']['toView'](_0x28972c);let _0x3b366a;if(_0x362615)_0x3b366a=_0x4e0b29['data']['toModel'](_0x40446e,_0x49adf3);else{_0x3b366a=_0x2cf9ed['createElement']('footnoteInlineContent');const _0xd8eeff=_0x4e0b29['data']['toModel'](_0x40446e,_0x3b366a);_0x2cf9ed['insert'](_0xd8eeff,_0x3b366a);}_0x2cf9ed['append'](_0x3b366a,_0x49adf3);}_0x2cf9ed['insert'](_0x49adf3,_0xc1ea7f,'end');}_0x2a43d9=null;});});}}function c(_0x20acc7,_0x4a6ba8){for(const {item:_0x146f83}of _0x20acc7['createRangeIn'](_0x4a6ba8))if(_0x146f83['is']('element','footnotesDefinitions'))return _0x146f83;return null;}function l(_0x24ddff){const _0x10855b=new Set();for(const {item:_0x1c8877}of _0x24ddff)_0x1c8877['is']('element','footnoteRef')&&_0x10855b['add'](_0x1c8877['getAttribute']('footnoteId'));return Array['from'](_0x10855b);}class i extends _0x120eb0{['licenseKey'];['_licenseKeyCheckInterval'];static get['pluginName'](){return'FootnotesUI';}static get['isOfficialPlugin'](){return!0x0;}static get['isPremiumPlugin'](){return!0x0;}['init'](){const {editor:_0x34dc21}=this,{componentFactory:_0x5f2b90}=_0x34dc21['ui'];_0x5f2b90['add']('insertFootnote',E(_0x34dc21,_0x112317)),_0x5f2b90['add']('menuBar:insertFootnote',E(_0x34dc21,_0x1d54b9)),this['licenseKey']=this['editor']['config']['get']('licenseKey');const _0x4c35d3=this['editor'];this['_licenseKeyCheckInterval']=setInterval(()=>{let _0x56ff42;for(const _0x36e37b in _0x4c35d3){const _0x4fbb27=_0x36e37b,_0x73f396=_0x4c35d3[_0x4fbb27];if('footnotesLicenseKeyValid'==_0x73f396||'footnotesLicenseKeyInvalid'==_0x73f396||'footnotesLicenseKeyExpired'==_0x73f396||'footnotesLicenseKeyDomainLimit'==_0x73f396||'footnotesLicenseKeyNotAllowed'==_0x73f396||'footnotesLicenseKeyEvaluationLimit'==_0x73f396||'footnotesLicenseKeyUsageLimit'==_0x73f396){delete _0x4c35d3[_0x4fbb27],_0x56ff42=_0x73f396,clearInterval(this['_licenseKeyCheckInterval']),this['_licenseKeyCheckInterval']=void 0x0;break;}}'footnotesLicenseKeyInvalid'==_0x56ff42&&_0x4c35d3['_showLicenseError']('invalid'),'footnotesLicenseKeyExpired'==_0x56ff42&&_0x4c35d3['_showLicenseError']('expired'),'footnotesLicenseKeyDomainLimit'==_0x56ff42&&_0x4c35d3['_showLicenseError']('domainLimit'),'footnotesLicenseKeyNotAllowed'==_0x56ff42&&_0x4c35d3['_showLicenseError']('featureNotAllowed','Footnotes'),'footnotesLicenseKeyEvaluationLimit'==_0x56ff42&&_0x4c35d3['_showLicenseError']('evaluationLimit'),'footnotesLicenseKeyUsageLimit'==_0x56ff42&&_0x4c35d3['_showLicenseError']('usageLimit');},0x3e8);}['destroy'](){super['destroy'](),this['_licenseKeyCheckInterval']&&clearInterval(this['_licenseKeyCheckInterval']);}}function E(_0x1a0674,_0x149bf4){const _0x4f9fff=_0x1a0674['commands']['get']('insertFootnote');return _0x55e31f=>{const {t:t}=_0x55e31f,_0x1b2b0c=new _0x149bf4(_0x55e31f),_0x3100cb=_0x1b2b0c instanceof _0x1d54b9;return _0x1b2b0c['bind']('isEnabled')['to'](_0x4f9fff,'isEnabled'),_0x1b2b0c['set']({'label':t(_0x3100cb?'Footnote':'Insert\x20footnote'),'icon':_0x1d8df8,'tooltip':!0x0}),_0x1b2b0c['on']('execute',()=>{_0x4f9fff['execute'](),_0x1a0674['editing']['view']['focus']();}),_0x1b2b0c;};}class lt extends _0x120eb0{static get['pluginName'](){return'Footnotes';}static get['requires'](){return[r,e,i];}static get['isOfficialPlugin'](){return!0x0;}static get['isPremiumPlugin'](){return!0x0;}}const W=['decimal','decimal-leading-zero','lower-latin','upper-latin','lower-alpha','upper-alpha','lower-roman','upper-roman'];class S extends _0x5c3995{['refresh'](){const {editor:_0x42a3f1}=this,_0x5b4dd4=_0x42a3f1['plugins']['get'](f)['getFootnotesDefinitionsObjectElement']();this['isEnabled']=!!_0x5b4dd4,this['value']=_0x5b4dd4?.['getAttribute']('footnotesListStyle')??null;}['execute']({value:_0x24297d}){const {editor:_0x3131c4}=this,_0x2c2972=_0x3131c4['plugins']['get'](f),_0x4d9cf9=_0x2c2972['getFootnotesDefinitionsObjectElement']();_0x4d9cf9&&W['includes'](_0x24297d)&&_0x3131c4['model']['change'](_0x2bbdd7=>{_0x2bbdd7['setAttribute']('footnotesListStyle',_0x24297d,_0x4d9cf9),_0x2c2972['_updateFootnotesCounters'](_0x2bbdd7);});}}class C extends _0x5c3995{['refresh'](){const {editor:_0x6e7a44}=this,_0x1b5a92=_0x6e7a44['plugins']['get'](f)['getFootnotesDefinitionsObjectElement']();this['isEnabled']=!!_0x1b5a92,this['value']=_0x1b5a92?.['getAttribute']('footnotesListStart')??null;}['execute']({value:_0x81e670}){const {editor:_0x53be18}=this,_0x457b7a=_0x53be18['plugins']['get'](f),_0x55ca1f=_0x457b7a['getFootnotesDefinitionsObjectElement']();_0x55ca1f&&Number['isInteger'](_0x81e670)&&_0x53be18['model']['change'](_0x35022=>{_0x35022['setAttribute']('footnotesListStart',_0x81e670,_0x55ca1f),_0x457b7a['_updateFootnotesCounters'](_0x35022);});}}class P extends _0x120eb0{static get['pluginName'](){return'FootnotesPropertiesEditing';}static get['requires'](){return[r,f];}static get['isOfficialPlugin'](){return!0x0;}static get['isPremiumPlugin'](){return!0x0;}['init'](){const {editor:_0x57c540}=this;_0x57c540['config']['define']('footnotes.footnotesProperties.defaultListStyle','decimal'),_0x57c540['config']['define']('footnotes.footnotesProperties.defaultStartIndex',0x1),_0x57c540['commands']['add']('footnotesStyle',new S(_0x57c540)),_0x57c540['commands']['add']('footnotesStart',new C(_0x57c540)),this['_defineSchema'](),this['_defineConverters'](),this['_defineFormatter'](),this['_definePostfixer']();}['_defineSchema'](){const {editor:_0xfb3acd}=this,{schema:_0x345ea4}=_0xfb3acd['model'];_0x345ea4['extend']('footnotesDefinitions',{'allowAttributes':['footnotesListStyle','footnotesListStart']});}['_defineConverters'](){const {editor:_0x35a918}=this,{conversion:_0x4603bf,model:_0x38d4a8}=_0x35a918,{schema:_0x42e5ed}=_0x38d4a8;_0x4603bf['for']('upcast')['add'](_0x918694=>{_0x918694['on']('element:ol',(_0x1c1bb8,_0x371174,_0x4b80b6)=>{const _0x6c44cf=_0x371174['viewItem'],_0x1e146e=_0x371174['modelCursor']?.['parent'];_0x6c44cf['hasClass']('footnotes-list')&&_0x1e146e?.['is']('element','footnotesDefinitions')&&(function(_0x313b70,_0x2a1b5b,_0x2e1d8b,_0x1a871f){if(!_0x1a871f['checkAttribute'](_0x2a1b5b,'footnotesListStart'))return;let _0xa2f61f=0x1;const _0x52edae=_0x2e1d8b['consumable']['consume'](_0x313b70,{'attributes':'start'});if(_0x52edae){const _0x4606f7=Number['parseInt'](_0x313b70['getAttribute']('start'),0xa);Number['isNaN'](_0x4606f7)||(_0xa2f61f=_0x4606f7);}!_0x52edae&&_0x2a1b5b['hasAttribute']('footnotesListStart')||_0x2e1d8b['writer']['setAttribute']('footnotesListStart',_0xa2f61f,_0x2a1b5b);}(_0x6c44cf,_0x1e146e,_0x4b80b6,_0x42e5ed),function(_0x2914d1,_0x3cda73,_0x2352a9,_0x2cf567){if(!_0x2cf567['checkAttribute'](_0x3cda73,'footnotesListStyle'))return;let _0x4cac3b='decimal',_0x50855b=!0x1;if(_0x2352a9['consumable']['consume'](_0x2914d1,{'attributes':'type'})){const _0x5c6b27={0x1:'decimal','a':'lower-alpha','A':'upper-alpha','i':'lower-roman','I':'upper-roman'}[_0x2914d1['getAttribute']('type')];_0x5c6b27&&(_0x4cac3b=_0x5c6b27),_0x50855b=!0x0;}_0x2352a9['consumable']['consume'](_0x2914d1,{'styles':'list-style-type'})&&(_0x4cac3b=function(_0x2b0d8f){switch(_0x2b0d8f){case'lower-alpha':return'lower-latin';case'upper-alpha':return'upper-latin';default:return _0x2b0d8f;}}(_0x2914d1['getStyle']('list-style-type')),_0x50855b=!0x0),!_0x50855b&&_0x3cda73['hasAttribute']('footnotesListStyle')||_0x2352a9['writer']['setAttribute']('footnotesListStyle',_0x4cac3b,_0x3cda73);}(_0x6c44cf,_0x1e146e,_0x4b80b6,_0x42e5ed));});}),_0x4603bf['for']('downcast')['add'](_0x49b35b=>{_0x49b35b['on']('attribute:footnotesListStart:footnotesDefinitions',(_0x133fef,_0x1306bf,_0x3dec94)=>{if(!_0x3dec94['consumable']['consume'](_0x1306bf['item'],_0x133fef['name']))return;const _0x30d58e=M(_0x1306bf['item'],_0x3dec94['mapper']),{attributeNewValue:_0x36d6d7}=_0x1306bf;null==_0x36d6d7||0x1===_0x36d6d7?_0x3dec94['writer']['removeAttribute']('start',_0x30d58e):_0x3dec94['writer']['setAttribute']('start',String(_0x36d6d7),_0x30d58e);}),_0x49b35b['on']('attribute:footnotesListStyle:footnotesDefinitions',(_0x2caf24,_0x5c0174,_0x2c7f84)=>{if(!_0x2c7f84['consumable']['consume'](_0x5c0174['item'],_0x2caf24['name']))return;const _0x5c9fec=M(_0x5c0174['item'],_0x2c7f84['mapper']),{attributeNewValue:_0x14afb2}=_0x5c0174;_0x14afb2&&'decimal'!==_0x14afb2?_0x2c7f84['writer']['setStyle']('list-style-type',_0x14afb2,_0x5c9fec):_0x2c7f84['writer']['removeStyle']('list-style-type',_0x5c9fec);});});}['_definePostfixer'](){const {editor:_0x3c5d3c}=this,{model:_0x53df10}=_0x3c5d3c,_0x4b6061=_0x3c5d3c['plugins']['get'](f),_0x38619e=this['_getDefaultListStyle'](),_0x1bb702=this['_getDefaultStartIndex']();_0x53df10['document']['registerPostFixer'](_0x2b8f37=>{const _0x3845a5=_0x53df10['document']['differ']['getChanges']();let _0x133c35=!0x1;for(const _0xdf6b2d of _0x3845a5){if('insert'!==_0xdf6b2d['type']||'$text'===_0xdf6b2d['name'])continue;const _0x5e22d6=_0x53df10['createRangeOn'](_0xdf6b2d['position']['nodeAfter']);for(const _0x58c55d of _0x5e22d6['getItems']())_0x58c55d['is']('element','footnotesDefinitions')&&(!_0x58c55d['hasAttribute']('footnotesListStart')&&_0x53df10['schema']['checkAttribute'](_0x58c55d,'footnotesListStart')&&(_0x2b8f37['setAttribute']('footnotesListStart',_0x1bb702,_0x58c55d),_0x133c35=!0x0),!_0x58c55d['hasAttribute']('footnotesListStyle')&&_0x53df10['schema']['checkAttribute'](_0x58c55d,'footnotesListStyle')&&(_0x2b8f37['setAttribute']('footnotesListStyle',_0x38619e,_0x58c55d),_0x133c35=!0x0));}return _0x133c35&&_0x4b6061['_updateFootnotesCounters'](_0x2b8f37),_0x133c35;});}['_defineFormatter'](){const {editor:_0x451c49}=this;_0x451c49['plugins']['get'](f)['setFootnoteFormatter'](_0x54802d=>this['_formatFootnoteListValue'](_0x54802d));}['_getDefaultListStyle'](){return this['editor']['config']['get']('footnotes.footnotesProperties.defaultListStyle');}['_getDefaultStartIndex'](){return this['editor']['config']['get']('footnotes.footnotesProperties.defaultStartIndex');}['_formatFootnoteListValue']({container:_0xb79073,value:_0xcdc14a,digits:_0x4ebbaa}){const _0x49066b=_0xb79073['getAttribute']('footnotesListStyle'),_0x36f5fa=_0xb79073['getAttribute']('footnotesListStart'),_0x1b5381=Math['floor'](_0xcdc14a)+(_0x36f5fa??0x1)-0x1;switch(_0x49066b){case'decimal-leading-zero':return function(_0x573391,_0x24d3d5){return String(_0x573391)['padStart'](_0x24d3d5,'0');}(_0x1b5381,Math['max'](0x2,_0x4ebbaa));case'lower-alpha':case'lower-latin':return N(_0x1b5381,!0x1);case'upper-alpha':case'upper-latin':return N(_0x1b5381,!0x0);case'lower-roman':return X(_0x1b5381,!0x1);case'upper-roman':return X(_0x1b5381,!0x0);default:return String(_0x1b5381);}}}function M(_0x3f957e,_0x25f6c4){const _0x29e9a1=_0x25f6c4['toViewElement'](_0x3f957e);return Array['from'](_0x29e9a1['getChildren']())['find'](_0x9c867c=>_0x9c867c['is']('element','ol')&&_0x9c867c['hasClass']('footnotes-list'));}function N(_0x923008,_0x53cd42){let _0x1304d1='',_0x146a52=_0x923008;for(;_0x146a52>0x0;){const _0x3c5b0b=(_0x146a52-0x1)%0x1a;_0x1304d1=String['fromCharCode'](0x61+_0x3c5b0b)+_0x1304d1,_0x146a52=Math['floor']((_0x146a52-0x1)/0x1a);}return _0x53cd42?_0x1304d1['toUpperCase']():_0x1304d1;}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(_0x283eb6,_0x58b49c){let _0xffb406='',_0x143742=_0x283eb6;for(const {value:_0x1095fe,numeral:_0x55c5f7}of V)for(;_0x143742>=_0x1095fe;)_0xffb406+=_0x55c5f7,_0x143742-=_0x1095fe;return _0x58b49c?_0xffb406:_0xffb406['toLowerCase']();}class J extends _0x8b27a6{['children'];['stylesView']=null;['additionalProperties']=null;['startIndexFieldView']=null;['focusTracker']=new rt();['keystrokes']=new nt();['focusables']=new _0x2ed826();['focusCycler'];constructor(_0x3aa16d,{styleButtonViews:_0x524491,styleGridAriaLabel:_0x2b4f9d}){super(_0x3aa16d),(this['focusCycler']=new tt({'focusables':this['focusables'],'focusTracker':this['focusTracker'],'keystrokeHandler':this['keystrokes'],'actions':{'focusPrevious':'shift\x20+\x20tab','focusNext':'tab'}}),this['children']=this['createCollection'](),this['stylesView']=this['_appendStylesView'](_0x524491,_0x2b4f9d),[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 _0x4518c4 of this['stylesView']['children'])this['stylesView']['focusTracker']['add'](_0x4518c4['element']);st({'keystrokeHandler':this['stylesView']['keystrokes'],'focusTracker':this['stylesView']['focusTracker'],'gridItems':this['stylesView']['children'],'numberOfColumns':()=>at['window']['getComputedStyle'](this['stylesView']['element'])['getPropertyValue']('grid-template-columns')['split']('\x20')['length'],'uiLanguageDirection':this['locale']&&this['locale']['uiLanguageDirection']});}if(this['startIndexFieldView']){this['focusables']['add'](this['startIndexFieldView']),this['focusTracker']['add'](this['startIndexFieldView']['element']);const _0x4c3c30=_0xbac336=>_0xbac336['stopPropagation']();this['keystrokes']['set']('arrowright',_0x4c3c30),this['keystrokes']['set']('arrowleft',_0x4c3c30),this['keystrokes']['set']('arrowup',_0x4c3c30),this['keystrokes']['set']('arrowdown',_0x4c3c30);}this['keystrokes']['listenTo'](this['element']);}['focus'](){this['focusCycler']['focusFirst']();}['focusLast'](){this['focusCycler']['focusLast']();}['destroy'](){super['destroy'](),this['focusTracker']['destroy'](),this['keystrokes']['destroy']();}['_appendStylesView'](_0x37ac3d,_0x458bc9){const _0x88b8e4=new _0x8b27a6(this['locale']);return _0x88b8e4['children']=_0x88b8e4['createCollection'](),_0x88b8e4['children']['addMany'](_0x37ac3d),_0x88b8e4['setTemplate']({'tag':'div','attributes':{'aria-label':_0x458bc9,'class':['ck','ck-footnotes-definitions-styles-list']},'children':_0x88b8e4['children']}),_0x88b8e4['children']['delegate']('execute')['to'](this),_0x88b8e4['focus']=function(){for(const _0x20f308 of this['children'])if(_0x20f308 instanceof _0x112317&&_0x20f308['isOn'])return void _0x20f308['focus']();this['children']['first']['focus']();},_0x88b8e4['focusTracker']=new rt(),_0x88b8e4['keystrokes']=new nt(),_0x88b8e4['render'](),_0x88b8e4['keystrokes']['listenTo'](_0x88b8e4['element']),this['children']['add'](_0x88b8e4),_0x88b8e4;}['_appendAdditionalPropertiesCollapsibleView'](){const {t:t}=this['locale'],_0x36b15f=this['_createStartIndexPropertyView'](),_0x41ff55=[_0x36b15f],_0x5347f0=new it(this['locale'],_0x41ff55);return _0x5347f0['set']({'label':t('Footnotes\x20properties'),'isCollapsed':!0x0}),_0x5347f0['buttonView']['bind']('isEnabled')['toMany'](_0x41ff55,'isEnabled',(..._0x40980d)=>_0x40980d['some'](_0x4ed7cf=>_0x4ed7cf)),_0x5347f0['buttonView']['on']('change:isEnabled',(_0x429920,_0xb7ccc5,_0x1c8c26)=>{_0x1c8c26||(_0x5347f0['isCollapsed']=!0x0);}),this['children']['add'](_0x5347f0),[_0x36b15f,_0x5347f0];}['_createStartIndexPropertyView'](){const {t:t}=this['locale'],_0x4cebd4=new et(this['locale'],ot);return _0x4cebd4['set']({'label':t('Footnotes\x20start\x20at'),'class':'ck-footnotes-definitions-properties__start-index'}),_0x4cebd4['fieldView']['set']({'min':0x0,'max':Math['pow'](0x2,0x1e),'step':0x1,'value':0x1,'inputMode':'numeric'}),_0x4cebd4['fieldView']['on']('input',()=>{const _0x3d4873=_0x4cebd4['fieldView']['element'],_0x88ffdb=_0x3d4873['valueAsNumber'];Number['isNaN'](_0x88ffdb)?_0x4cebd4['errorText']=t('Invalid\x20footnotes\x20start\x20index\x20value.'):_0x3d4873['checkValidity']()?this['fire']('footnotesListStart',{'startIndex':_0x88ffdb}):_0x4cebd4['errorText']=t(_0x88ffdb<0x0?'Footnotes\x20start\x20index\x20must\x20be\x20greater\x20than\x200.':'Footnotes\x20start\x20index\x20is\x20too\x20large.');}),_0x4cebd4;}}class j extends _0x120eb0{static get['pluginName'](){return'FootnotesPropertiesUI';}static get['requires'](){return[_0x2e8e51,_0x1a1512];}static get['isOfficialPlugin'](){return!0x0;}static get['isPremiumPlugin'](){return!0x0;}['init'](){const {editor:_0x351c86}=this,{componentFactory:_0x4e2412}=_0x351c86['ui'];_0x351c86['config']['define']('footnotes.footnotesProperties.toolbar',['footnotesStyle']),_0x4e2412['add']('footnotesStyle',function(_0x592065){return _0x3275f0=>{const {t:t}=_0x3275f0,_0x18a902=_0x592065['commands']['get']('footnotesStyle'),_0x2b9dda=_0x1c0df7(_0x3275f0),{buttonView:_0x17dab8}=_0x2b9dda;return _0x2b9dda['class']='ck-footnotes-styles-dropdown',_0x2b9dda['bind']('isEnabled')['to'](_0x18a902,'isEnabled'),_0x17dab8['set']({'label':t('Footnotes\x20style'),'icon':_0x1d8df8,'tooltip':!0x0}),_0x2b9dda['once']('change:isOpen',()=>{const _0x453a20=function({editor:_0x3320a9,dropdownView:_0x4f59a9}){const {t:t}=_0x3320a9['locale'],_0x23c622=t('Footnotes\x20definitions\x20styles'),_0x2da3be=function(_0x156c7a){const t=_0x156c7a['locale']['t'],_0x5e347d=[{'label':t('Toggle\x20the\x20decimal\x20footnotes\x20style'),'tooltip':t('Decimal\x20footnotes'),'style':'decimal','icon':_0x205bbd},{'label':t('Toggle\x20the\x20decimal\x20with\x20leading\x20zero\x20footnotes\x20style'),'tooltip':t('Decimal\x20footnotes\x20with\x20leading\x20zero'),'style':'decimal-leading-zero','icon':_0x2cb8e5},{'label':t('Toggle\x20the\x20lower–roman\x20footnotes\x20style'),'tooltip':t('Lower–roman\x20footnotes'),'style':'lower-roman','icon':_0xa45f36},{'label':t('Toggle\x20the\x20upper–roman\x20footnotes\x20style'),'tooltip':t('Upper-roman\x20footnotes'),'style':'upper-roman','icon':_0x55f719},{'label':t('Toggle\x20the\x20lower–latin\x20footnotes\x20style'),'tooltip':t('Lower-latin\x20footnotes'),'style':'lower-latin','icon':_0x40b501},{'label':t('Toggle\x20the\x20upper–latin\x20footnotes\x20style'),'tooltip':t('Upper-latin\x20footnotes'),'style':'upper-latin','icon':_0x4add7f}];return _0x5e347d['map'](function(_0x28dd82){const _0x359ef2=_0x28dd82['locale'];return({label:_0x2a44ff,icon:_0x38bd81,tooltip:_0x4f69d5,style:_0x212d7f})=>{const _0x8e2848=_0x28dd82['commands']['get']('footnotesStyle'),_0x276fe1=new _0x112317(_0x359ef2);return _0x276fe1['set']({'label':_0x2a44ff,'icon':_0x38bd81,'tooltip':_0x4f69d5}),_0x276fe1['bind']('isOn')['to'](_0x8e2848,'value',_0x10f8d5=>_0x10f8d5===_0x212d7f),_0x276fe1['bind']('isEnabled')['to'](_0x8e2848,'isEnabled'),_0x276fe1['on']('execute',()=>{_0x28dd82['execute']('footnotesStyle',{'value':_0x212d7f}),_0x28dd82['editing']['view']['focus']();}),_0x276fe1;};}(_0x156c7a));}(_0x3320a9),_0x298a36=new J(_0x3320a9['locale'],{'styleGridAriaLabel':_0x23c622,'styleButtonViews':_0x2da3be}),_0x59e871=_0x3320a9['commands']['get']('footnotesStart');return _0x298a36['startIndexFieldView']['bind']('isEnabled')['to'](_0x59e871),_0x298a36['startIndexFieldView']['fieldView']['bind']('value')['to'](_0x59e871),_0x298a36['on']('footnotesListStart',(_0x47d8fd,_0x201855)=>{_0x3320a9['execute']('footnotesStart',{'value':_0x201855['startIndex']});}),_0x298a36['delegate']('execute')['to'](_0x4f59a9),_0x298a36;}({'editor':_0x592065,'dropdownView':_0x2b9dda});_0x2b9dda['panelView']['children']['add'](_0x453a20);}),_0x2b9dda;};}(_0x351c86));}['afterInit'](){const {editor:_0x37916e}=this,{t:t}=_0x37916e['locale'],_0x15a640=_0x37916e['plugins']['get'](_0x1a1512),{defaultPositions:_0x7b4e14}=_0x10a00b;_0x15a640['register']('footnotesDefinitions',{'ariaLabel':t('Footnotes\x20definitions\x20toolbar'),'items':_0x37916e['config']['get']('footnotes.footnotesProperties.toolbar'),'balloonClassName':'ck-footnotes-style-balloon\x20ck-toolbar-container','getRelatedElement':_0x1a75cf=>{let _0x5d99e4=_0x1a75cf['getFirstPosition']()?.['parent'];return _0x5d99e4?.['is']('$text')&&(_0x5d99e4=_0x5d99e4['parent']),_0x5d99e4?.['is']('element')?_0x5d99e4['findAncestor'](Q):null;},'positions':[_0x7b4e14['southArrowNorth'],_0x7b4e14['southArrowNorthMiddleWest'],_0x7b4e14['southArrowNorthMiddleEast'],_0x7b4e14['southArrowNorthWest'],_0x7b4e14['southArrowNorthEast'],_0x7b4e14['northArrowSouth'],_0x7b4e14['northArrowSouthMiddleWest'],_0x7b4e14['northArrowSouthMiddleEast'],_0x7b4e14['northArrowSouthWest'],_0x7b4e14['northArrowSouthEast'],_0x7b4e14['viewportStickyNorth']]});}}class ft extends _0x120eb0{static get['pluginName'](){return'FootnotesProperties';}static get['requires'](){return[P,j];}static get['isOfficialPlugin'](){return!0x0;}static get['isPremiumPlugin'](){return!0x0;}}export{lt as Footnotes,e as FootnotesClipboard,r as FootnotesEditing,ft as FootnotesProperties,P as FootnotesPropertiesEditing,j as FootnotesPropertiesUI,C as FootnotesStartCommand,S as FootnotesStyleCommand,f as FootnotesTracker,i as FootnotesUI,h as InsertFootnoteCommand};
23
+ import{Plugin as _0x5009a4,Command as _0x377a0b}from'@ckeditor/ckeditor5-core/dist/index.js';import{toWidget as _0x4ffacd,isWidget as _0x9676ee,toWidgetEditable as _0x4c2bbf,WidgetToolbarRepository as _0x2e8462}from'@ckeditor/ckeditor5-widget/dist/index.js';import{uid as _0x25549a,logWarning as _0x3b0750,FocusTracker as rt,KeystrokeHandler as nt,global as at}from'@ckeditor/ckeditor5-utils/dist/index.js';import{PointerObserver as _0x3b2493,ClickObserver as _0x5dfef5}from'@ckeditor/ckeditor5-engine/dist/index.js';import{ClipboardPipeline as _0xf51cc5}from'@ckeditor/ckeditor5-clipboard/dist/index.js';import{MenuBarMenuListItemButtonView as _0x1aa535,ButtonView as _0x563ea8,View as _0x1f1e08,ViewCollection as _0x30a9c6,FocusCycler as tt,addKeyboardHandlingForGrid as st,CollapsibleView as it,LabeledFieldView as et,createLabeledInputNumber as ot,ContextualBalloon as _0x5b18ee,BalloonPanelView as _0x17eed1,createDropdown as _0x57c530}from'@ckeditor/ckeditor5-ui/dist/index.js';import{IconFootnote as _0x3b8fba,IconListStyleDecimal as _0x502fc6,IconListStyleDecimalLeadingZero as _0x35e218,IconListStyleLowerRoman as _0x261eb7,IconListStyleUpperRoman as _0x3f68b7,IconListStyleLowerLatin as _0x5b5f11,IconListStyleUpperLatin as _0x4d576a}from'@ckeditor/ckeditor5-icons/dist/index.js';class F{['_model'];['_elementName'];['_getElementKey'];['_trackedElements']=new Map();constructor(_0x2d72b4,_0x5c9eb1){this['_model']=_0x2d72b4,this['_elementName']=_0x5c9eb1['elementName'],this['_getElementKey']=_0x5c9eb1['getElementKey'];}['reset'](){this['_trackedElements']['clear']();}['getChanges'](_0x12f52b){const _0x589632=new Set(),_0x2e4c29=new Map();for(const _0x44fb6e of _0x12f52b){if('insert'===_0x44fb6e['type']&&'$text'!==_0x44fb6e['name']&&_0x44fb6e['position']['nodeAfter']){const _0x43c9bf=this['_model']['createRangeOn'](_0x44fb6e['position']['nodeAfter']);for(const _0x4a8acb of _0x43c9bf['getItems']()){if(!_0x4a8acb['is']('element',this['_elementName']))continue;const _0x288468=this['_getElementKey'](_0x4a8acb);_0x2e4c29['has'](_0x288468)||_0x2e4c29['set'](_0x288468,[]),_0x2e4c29['get'](_0x288468)['push'](_0x4a8acb);}}if('remove'===_0x44fb6e['type']&&_0x44fb6e['name']===this['_elementName']){const _0x53effd=this['_getElementKey']({'getAttribute':_0x5dfb36=>_0x44fb6e['attributes']['get'](_0x5dfb36)});_0x589632['add'](_0x53effd);}}for(const [_0x3abbc5,_0x4f2bfd]of this['_trackedElements'])'$graveyard'===_0x4f2bfd['root']['rootName']&&_0x589632['add'](_0x3abbc5);for(const _0x4d811b of _0x589632)this['_trackedElements']['delete'](_0x4d811b);for(const [_0x4dfd2c,_0x548fb1]of _0x2e4c29)this['_trackedElements']['set'](_0x4dfd2c,_0x548fb1[_0x548fb1['length']-0x1]);const _0x4bfb1d=new Set();for(const [_0x4d6251,_0x18882f]of _0x2e4c29)_0x589632['has'](_0x4d6251)&&(_0x4bfb1d['add'](_0x18882f[0x0]),_0x18882f['length']>0x1?_0x2e4c29['set'](_0x4d6251,_0x18882f['slice'](0x1)):_0x2e4c29['delete'](_0x4d6251),_0x589632['delete'](_0x4d6251));return{'removed':Array['from'](_0x589632),'inserted':Array['from'](_0x2e4c29['values']())['flat'](),'moved':Array['from'](_0x4bfb1d)};}}class f extends _0x5009a4{['_footnotes']=[];['_footnotesDefinitions']=null;['_footnoteFormatter']=null;['_footnoteDefsContainerTracker'];['_footnoteRefsTracker'];['_footnoteDefsTracker'];static get['pluginName'](){return'FootnotesTracker';}static get['isOfficialPlugin'](){return!0x0;}static get['isPremiumPlugin'](){return!0x0;}constructor(_0x5bae33){super(_0x5bae33),this['_footnoteDefsContainerTracker']=new F(this['editor']['model'],{'elementName':'footnotesDefinitions','getElementKey':()=>'singleton'}),this['_footnoteRefsTracker']=new F(this['editor']['model'],{'elementName':'footnoteRef','getElementKey':_0x35b82f=>_0x35b82f['getAttribute']('footnoteId')}),this['_footnoteDefsTracker']=new F(this['editor']['model'],{'elementName':'footnoteDefinition','getElementKey':_0x37d5ac=>_0x37d5ac['getAttribute']('footnoteId')});}['init'](){const {editor:_0x1c4712}=this,{model:_0x4e2f74,data:_0xef053a}=_0x1c4712;_0x4e2f74['document']['registerPostFixer'](_0x209a78=>{const _0x2837c2=_0x4e2f74['document']['differ']['getChanges']();let _0x724f54=!0x1;return this['_handleFootnotesDefinitionsObjectChanges'](_0x209a78,_0x2837c2)&&(_0x724f54=!0x0),this['_handleFootnoteDefinitionsChanges'](_0x209a78,_0x2837c2)&&(_0x724f54=!0x0),this['_handleFootnoteReferencesChanges'](_0x209a78,_0x2837c2)&&(_0x724f54=!0x0),this['_ensureFootnotesReferencesHaveProperOrder'](_0x209a78)&&(_0x724f54=!0x0),this['_handleFootnotesDefinitionsObjectSync'](_0x209a78)&&(_0x724f54=!0x0),this['_sortFootnoteDefinitions'](_0x209a78)&&(_0x724f54=!0x0),_0x724f54;}),this['listenTo'](_0x4e2f74['document'],'change:data',()=>{_0x4e2f74['enqueueChange']({'isUndoable':!0x1},_0x5b2223=>{this['_ensureFootnotesDefinitionsContainerExists'](_0x5b2223);});},{'priority':'low'}),this['listenTo'](_0xef053a,'set',()=>{this['_footnotes']=[],this['_footnoteDefsContainerTracker']['reset'](),this['_footnoteRefsTracker']['reset'](),this['_footnoteDefsTracker']['reset']();},{'priority':'high'});}['getFootnotesDefinitionsObjectElement'](){return this['_footnotesDefinitions'];}['getFootnote'](_0x4ce898){return this['_footnotes']['find'](_0x2eb8c5=>_0x2eb8c5['id']===_0x4ce898)||null;}['getFootnotes'](){return Array['from'](this['_footnotes']);}['getFootnotesFormatter'](){return this['_footnoteFormatter'];}['setFootnoteFormatter'](_0xee1914){this['_footnoteFormatter']=_0xee1914;}['_updateFootnotesCounters'](_0x46f5bf,_0x3b791a=0x0){let _0x39a504=!0x1;for(let _0x3db82d=_0x3b791a;_0x3db82d<this['_footnotes']['length'];_0x3db82d++)this['_updateFootnoteRefCounter'](_0x46f5bf,_0x3db82d)&&(_0x39a504=!0x0);return _0x39a504;}['_insertEmptyFootnotesDefinitionsContainer'](_0xc49712,_0x2baed9){const _0x576716=_0xc49712['createElement']('footnotesDefinitions',{});return _0xc49712['append'](_0x576716,_0x2baed9),this['_footnotesDefinitions']=_0x576716,_0x576716;}['_ensureFootnotesDefinitionsContainerExists'](_0x6f107f){if(!this['_footnotes']['length']||this['_footnotesDefinitions'])return;const _0x448c9f=this['_footnotes'][0x0]['reference']['root'],_0x799972=this['_insertEmptyFootnotesDefinitionsContainer'](_0x6f107f,_0x448c9f);for(const _0x2d6b0a of this['_footnotes'])_0x2d6b0a['definition']['parent']||_0x6f107f['insert'](_0x2d6b0a['definition'],_0x799972,'end');this['_updateFootnotesCounters'](_0x6f107f);}['_handleFootnotesDefinitionsObjectChanges'](_0x20b69d,_0x39cd5b){let _0x4dcf0c=!0x1;const {inserted:_0x1f9d25,removed:_0x256cbe,moved:_0x958432}=this['_footnoteDefsContainerTracker']['getChanges'](_0x39cd5b);if(_0x958432['length']&&(this['_footnotesDefinitions']=_0x958432[0x0]),_0x1f9d25['length']){if(_0x1f9d25['length']>0x1||this['_footnotesDefinitions']&&_0x1f9d25['some'](_0x4e82ec=>_0x4e82ec!==this['_footnotesDefinitions'])){const _0x561f3d=_0x20b69d['createElement']('footnotesDefinitions',{}),_0x2b5f3d=[];this['_footnotesDefinitions']&&_0x2b5f3d['push'](this['_footnotesDefinitions']),_0x2b5f3d['push'](..._0x1f9d25),_0x20b69d['insert'](_0x561f3d,_0x2b5f3d[0x0],'before');for(const _0xdc1d36 of _0x2b5f3d)_0x20b69d['move'](_0x20b69d['createRangeIn'](_0xdc1d36),_0x20b69d['createPositionAt'](_0x561f3d,'end')),_0x20b69d['remove'](_0xdc1d36);this['_footnotesDefinitions']=_0x561f3d,this['_updateFootnotesCounters'](_0x20b69d),_0x4dcf0c=!0x0;}else this['_footnotesDefinitions']=_0x1f9d25[0x0];}if(_0x256cbe['length']&&'$graveyard'===this['_footnotesDefinitions']?.['root']['rootName']){for(const _0x652a8d of this['_footnotes'])_0x20b69d['remove'](_0x652a8d['reference']),_0x4dcf0c=!0x0;this['_footnotes']=[],this['_footnotesDefinitions']=null;}return _0x4dcf0c;}['_handleFootnoteDefinitionsChanges'](_0x1e020d,_0x30759a){let _0x3c3ddb=!0x1;const _0x5077ed=this['editor']['config']['get']('footnotes.multiBlock'),{inserted:_0x2a049c,moved:_0x25f27a}=this['_footnoteDefsTracker']['getChanges'](_0x30759a);for(const _0x56db67 of[..._0x25f27a,..._0x2a049c]){const _0x20728d=_0x56db67['getAttribute']('footnoteId'),_0x433a99=this['getFootnote'](_0x20728d);_0x433a99&&(_0x433a99['definition']=_0x56db67),_(_0x1e020d,_0x5077ed,_0x56db67)&&(_0x3c3ddb=!0x0);}return _0x3c3ddb;}['_handleFootnoteReferencesChanges'](_0x2abf18,_0x4d2111){let _0x65c00c=!0x1;const {removed:_0x31bd71,inserted:_0x473649,moved:_0x185534}=this['_footnoteRefsTracker']['getChanges'](_0x4d2111);for(const _0x3f7e3f of _0x31bd71)this['_handleRemoveFootnoteReferenceById'](_0x2abf18,_0x3f7e3f)&&(_0x65c00c=!0x0);for(const _0x55c888 of _0x473649)this['_handleInsertedFootnoteReference'](_0x2abf18,_0x55c888)&&(_0x65c00c=!0x0);for(const _0x4e35de of _0x185534)this['_handleMovedFootnoteReference'](_0x2abf18,_0x4e35de)&&(_0x65c00c=!0x0);return _0x65c00c;}['_handleFootnotesDefinitionsObjectSync'](_0x2fc852){if(!this['_footnotesDefinitions'])return!0x1;let _0x2111ac=!0x1;if(this['_footnotesDefinitions']['childCount']!==this['_footnotes']['length']){const _0x97064d=[];for(const _0x3ab8f2 of this['_footnotesDefinitions']['getChildren']()){const _0x304864=_0x3ab8f2['getAttribute']('footnoteId');this['getFootnote'](_0x304864)||(_0x97064d['unshift'](_0x3ab8f2),_0x2111ac=!0x0);}for(const _0xc09a7d of _0x97064d)_0x2fc852['remove'](_0xc09a7d);}const _0x21b96f=new Set(),_0x3ac61a=[];for(const _0x4dd8a4 of this['_footnotesDefinitions']['getChildren']()){const _0x3708c7=_0x4dd8a4['getAttribute']('footnoteId');_0x21b96f['has'](_0x3708c7)?(_0x3ac61a['unshift'](_0x4dd8a4),_0x2111ac=!0x0):_0x21b96f['add'](_0x3708c7);}for(const _0x8bb61b of _0x3ac61a)_0x2fc852['remove'](_0x8bb61b);return this['_footnotesDefinitions']['childCount']||(_0x2fc852['remove'](this['_footnotesDefinitions']),this['_footnotesDefinitions']=null,_0x2111ac=!0x0),_0x2111ac;}['_handleInsertedFootnoteReference'](_0x4bc749,_0x5dc7d9){if(this['_footnotes']['find'](_0x25b7b2=>_0x25b7b2['reference']===_0x5dc7d9))return!0x1;let _0x5d3684=!0x1;const _0x2b6297=_0x5dc7d9['getAttribute']('footnoteId'),_0x2fc329=this['_footnotes']['findIndex'](_0x58b9c8=>_0x58b9c8['id']===_0x2b6297);-0x1!==_0x2fc329&&(_0x4bc749['remove'](this['_footnotes'][_0x2fc329]['reference']),this['_footnotes']['splice'](_0x2fc329,0x1),_0x5d3684=!0x0);let _0x4e3345=this['_footnotesDefinitions']?function(_0x5b4574,_0x59743a){for(const _0x5cb4d3 of _0x5b4574['getChildren']())if(_0x5cb4d3['getAttribute']('footnoteId')===_0x59743a)return _0x5cb4d3;return null;}(this['_footnotesDefinitions'],_0x2b6297):null;_0x4e3345||(_0x4e3345=_0x4bc749['createElement']('footnoteDefinition',{'footnoteId':_0x2b6297}),this['_footnotesDefinitions']&&(_0x4bc749['insert'](_0x4e3345,this['_footnotesDefinitions'],'end'),_0x5d3684=!0x0));const _0x1c7933={'id':_0x2b6297,'reference':_0x5dc7d9,'definition':_0x4e3345},_0x2c67d3=I(this['editor']['model'],this['_footnotes'],_0x5dc7d9);this['_footnotes']['splice'](_0x2c67d3,0x0,_0x1c7933);let _0xd868bc=_0x2c67d3;return-0x1!==_0x2fc329&&(_0xd868bc=Math['min'](_0x2c67d3,_0x2fc329)),this['_updateFootnotesCounters'](_0x4bc749,_0xd868bc)&&(_0x5d3684=!0x0),_0x5d3684;}['_handleRemoveFootnoteReferenceById'](_0x13aaa4,_0x142a05){const _0x28b0e1=this['_footnotes']['findIndex'](_0x47c556=>_0x47c556['id']===_0x142a05);if(-0x1===_0x28b0e1)return!0x1;let _0x5d3328=!0x1;const _0x541a69=this['_footnotes'][_0x28b0e1];return'$graveyard'!==_0x541a69['definition']['root']['rootName']&&(_0x13aaa4['remove'](_0x541a69['definition']),_0x5d3328=!0x0),this['_footnotes']['splice'](_0x28b0e1,0x1),this['_updateFootnotesCounters'](_0x13aaa4,_0x28b0e1)&&(_0x5d3328=!0x0),_0x5d3328;}['_handleMovedFootnoteReference'](_0x4e1679,_0x17e48c){const _0x4fe1c9=_0x17e48c['getAttribute']('footnoteId'),_0x61228e=this['_footnotes']['findIndex'](_0x3bd45e=>_0x3bd45e['id']===_0x4fe1c9),_0x272794=this['_footnotes'][_0x61228e];let _0x1c2684=!0x1;_0x272794['reference']=_0x17e48c,this['_footnotes']['splice'](_0x61228e,0x1);const _0x2ba420=I(this['editor']['model'],this['_footnotes'],_0x17e48c);return this['_footnotes']['splice'](_0x2ba420,0x0,_0x272794),this['_updateFootnotesCounters'](_0x4e1679,Math['min'](_0x61228e,_0x2ba420))&&(_0x1c2684=!0x0),_0x1c2684;}['_updateFootnoteRefCounter'](_0x3443f1,_0x299307){if(!this['_footnotesDefinitions'])return!0x1;const _0x53c550=this['_footnotes'][_0x299307];let _0x21242a;return _0x21242a=this['_footnoteFormatter']?this['_footnoteFormatter']({'footnote':_0x53c550,'container':this['_footnotesDefinitions'],'digits':String(this['_footnotes']['length'])['length'],'value':_0x299307+0x1}):String(_0x299307+0x1),_0x53c550['reference']['getAttribute']('footnoteCounter')!=_0x21242a&&(_0x3443f1['setAttribute']('footnoteCounter',_0x21242a,_0x53c550['reference']),!0x0);}['_sortFootnoteDefinitions'](_0x53a011){if(!this['_footnotesDefinitions']||this['_footnotes']['length']<0x2)return!0x1;if(function(_0x2e2596,_0x16772b){if(_0x2e2596['length']!==_0x16772b['length'])return!0x1;for(let _0x5e4a53=0x0;_0x5e4a53<_0x2e2596['length'];_0x5e4a53++)if(_0x2e2596[_0x5e4a53]!==_0x16772b[_0x5e4a53])return!0x1;return!0x0;}(this['_footnotes']['map'](_0x55524b=>_0x55524b['id']),Array['from'](this['_footnotesDefinitions']['getChildren']())['map'](_0x576e5e=>_0x576e5e['getAttribute']('footnoteId'))))return!0x1;let _0x3ec4ee=!0x1;for(let _0x44b8c2=0x0;_0x44b8c2<this['_footnotes']['length'];_0x44b8c2++){const _0x50c5e5=this['_footnotes'][_0x44b8c2],_0x4ab388=_0x53a011['createPositionBefore'](_0x50c5e5['definition']),_0x3b5396=_0x53a011['createPositionAt'](this['_footnotesDefinitions'],_0x44b8c2);_0x4ab388['isEqual'](_0x3b5396)||(_0x53a011['move'](_0x53a011['createRangeOn'](_0x50c5e5['definition']),_0x3b5396),_0x3ec4ee=!0x0);}return _0x3ec4ee;}['_ensureFootnotesReferencesHaveProperOrder'](_0x209c3){if(!this['_footnotes']['length'])return!0x1;const {model:_0x847f05}=this['editor'];let _0x420e25=!0x1;for(let _0xe47565=0x0;_0xe47565<this['_footnotes']['length']-0x1;_0xe47565++){const _0x1cc594=this['_footnotes'][_0xe47565],_0x36ba79=this['_footnotes'][_0xe47565+0x1],_0x29fdc7=_0x847f05['createPositionBefore'](_0x1cc594['reference']),_0x4fd3ee=_0x847f05['createPositionBefore'](_0x36ba79['reference']);'after'===_0x29fdc7['compareWith'](_0x4fd3ee)&&(this['_handleMovedFootnoteReference'](_0x209c3,_0x1cc594['reference']),_0xe47565=-0x1,_0x420e25=!0x0);}return _0x420e25;}}function _(_0x4796b9,_0x38576f,_0x21aacb){if(_0x21aacb['childCount'])return!0x1;const _0x23ac26=_0x38576f?'paragraph':'footnoteInlineContent';return _0x4796b9['insert'](_0x4796b9['createElement'](_0x23ac26),_0x21aacb),!0x0;}function I(_0x124270,_0x4085af,_0x2377a2){if(0x0===_0x4085af['length'])return 0x0;const _0x292440=_0x124270['createPositionBefore'](_0x2377a2);for(let _0xea3c48=0x0;_0xea3c48<_0x4085af['length'];_0xea3c48++){const _0x520124=_0x4085af[_0xea3c48],_0x23ac7e=_0x124270['createPositionBefore'](_0x520124['reference']);if('before'===_0x292440['compareWith'](_0x23ac7e))return _0xea3c48;}const _0x5cba71=_0x2377a2['root'];let _0x590755=-0x1;for(let _0x342ff5=_0x4085af['length']-0x1;_0x342ff5>=0x0;_0x342ff5--)if(_0x4085af[_0x342ff5]['reference']['root']===_0x5cba71){_0x590755=_0x342ff5;break;}if(-0x1!==_0x590755)return _0x590755+0x1;const _0x1d6546=_0x124270['document']['getRootNames'](),_0xe1397d=_0x1d6546['indexOf'](_0x5cba71['rootName']),_0x42635c=_0x1d6546[_0xe1397d+0x1];if(_0x42635c){for(let _0x135367=0x0;_0x135367<_0x4085af['length'];_0x135367++)if(_0x4085af[_0x135367]['reference']['root']['rootName']===_0x42635c)return _0x135367;}return _0x4085af['length'];}class h extends _0x377a0b{['refresh'](){const _0x15a77a=this['editor']['model']['document']['selection'],_0x123f2e=this['_getPositionToInsertFootnote'](_0x15a77a);this['isEnabled']=!!_0x123f2e;}['execute'](_0xc2dd44){const {editor:_0x57859e}=this,{model:_0x272edd}=_0x57859e,{selection:_0x16e9b2}=_0x272edd['document'],_0x27196e=this['_getPositionToInsertFootnote'](_0x16e9b2);if(!_0x27196e)return;const _0x7c62a3=_0x57859e['plugins']['get']('FootnotesEditing'),_0x2d3500=_0xc2dd44?.['footnoteId']??_0x25549a();!function(_0x337218){return'string'==typeof _0x337218&&_0x337218['length']>0x0&&!/\s/['test'](_0x337218)&&!/^\d/['test'](_0x337218);}(_0x2d3500)?_0x3b0750('insert-footnote-command-executed-with-invalid-id'):(_0x272edd['change'](_0x5cfe6f=>{const _0x178ef0=_0x5cfe6f['createElement']('footnoteRef',{'footnoteId':_0x2d3500});_0x272edd['insertObject'](_0x178ef0,_0x27196e,null);}),_0x7c62a3['_moveSelectionToFootnoteDefinition'](_0x2d3500));}['_getPositionToInsertFootnote'](_0x5530b5){const {model:_0x4db5b4}=this['editor'],{schema:_0x8075cc}=_0x4db5b4,_0x5d6701=_0x5530b5['getFirstRange']();for(const _0x3761a9 of _0x5d6701['getItems']())if(_0x8075cc['isBlock'](_0x3761a9)||_0x8075cc['isObject'](_0x3761a9))return null;const _0x8cefc6=_0x5d6701['end'];return _0x8075cc['checkChild'](_0x8cefc6,'footnoteRef')?_0x8cefc6:null;}}class r extends _0x5009a4{static get['pluginName'](){return'FootnotesEditing';}static get['requires'](){return[f];}static get['isOfficialPlugin'](){return!0x0;}static get['isPremiumPlugin'](){return!0x0;}['init'](){const {editor:_0x4c4d93}=this;_0x4c4d93['config']['define']('footnotes.multiBlock',!0x0),_0x4c4d93['commands']['add']('insertFootnote',new h(_0x4c4d93)),this['_defineSchema'](),this['_defineRefsConverters'](),this['_defineDefinitionsConverters'](),this['_defineDefinitionConverters'](),this['_defineBogusParagraphConverters'](),this['_defineKeyboardHandlers'](),this['_defineClickHandlers']();}['afterInit'](){!async function(_0x472b0b){const _0x239d66=_0x2b60f9([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]),_0x45d845=0x47a28506,_0x376293=0x47a503ae^_0x45d845,_0x2fdd6d=window[_0x2b60f9([0x44,0x61,0x74,0x65])][_0x2b60f9([0x6e,0x6f,0x77])](),_0xef8f5=_0x472b0b[_0x2b60f9([0x65,0x64,0x69,0x74,0x6f,0x72])],_0x1406d6=new window[(_0x2b60f9([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0x5ba860=>{_0xef8f5[_0x2b60f9([0x6f,0x6e,0x63,0x65])](_0x2b60f9([0x72,0x65,0x61,0x64,0x79]),_0x5ba860);}),_0x219a82={[_0x2b60f9([0x6b,0x74,0x79])]:_0x2b60f9([0x45,0x43]),[_0x2b60f9([0x75,0x73,0x65])]:_0x2b60f9([0x73,0x69,0x67]),[_0x2b60f9([0x63,0x72,0x76])]:_0x2b60f9([0x50,0x2d,0x32,0x35,0x36]),[_0x2b60f9([0x78])]:_0x2b60f9([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]),[_0x2b60f9([0x79])]:_0x2b60f9([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]),[_0x2b60f9([0x61,0x6c,0x67])]:_0x2b60f9([0x45,0x53,0x32,0x35,0x36])},_0x488199=_0xef8f5[_0x2b60f9([0x63,0x6f,0x6e,0x66,0x69,0x67])][_0x2b60f9([0x67,0x65,0x74])](_0x2b60f9([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x4b,0x65,0x79]));async function _0x194555(){let _0x216815,_0x26ed89=null,_0x218f10=null;try{if(_0x488199==_0x2b60f9([0x47,0x50,0x4c]))return _0x2b60f9([0x4e,0x6f,0x74,0x41,0x6c,0x6c,0x6f,0x77,0x65,0x64]);if(_0x216815=_0x223dc2(),!_0x216815)return _0x2b60f9([0x49,0x6e,0x76,0x61,0x6c,0x69,0x64]);return _0x216815[_0x2b60f9([0x75,0x73,0x61,0x67,0x65,0x45,0x6e,0x64,0x70,0x6f,0x69,0x6e,0x74])]&&(_0x218f10=_0x4b9af0(_0x216815[_0x2b60f9([0x75,0x73,0x61,0x67,0x65,0x45,0x6e,0x64,0x70,0x6f,0x69,0x6e,0x74])],_0x216815[_0x2b60f9([0x6a,0x74,0x69])])),await _0x19f8da()?_0x961ae2()?_0x1424fc()?_0x2b60f9([0x45,0x78,0x70,0x69,0x72,0x65,0x64]):_0x2b7401()?(_0x216815[_0x2b60f9([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x54,0x79,0x70,0x65])]==_0x2b60f9([0x65,0x76,0x61,0x6c,0x75,0x61,0x74,0x69,0x6f,0x6e])&&(_0x26ed89=_0xe8bb07(_0x2b60f9([0x45,0x76,0x61,0x6c,0x75,0x61,0x74,0x69,0x6f,0x6e,0x4c,0x69,0x6d,0x69,0x74]))),await _0xd63896()):_0x2b60f9([0x44,0x6f,0x6d,0x61,0x69,0x6e,0x4c,0x69,0x6d,0x69,0x74]):_0x2b60f9([0x4e,0x6f,0x74,0x41,0x6c,0x6c,0x6f,0x77,0x65,0x64]):_0x2b60f9([0x49,0x6e,0x76,0x61,0x6c,0x69,0x64]);}catch{return _0x2b60f9([0x49,0x6e,0x76,0x61,0x6c,0x69,0x64]);}function _0x1424fc(){const _0x4536f9=[_0x2b60f9([0x65,0x76,0x61,0x6c,0x75,0x61,0x74,0x69,0x6f,0x6e]),_0x2b60f9([0x74,0x72,0x69,0x61,0x6c])][_0x2b60f9([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x216815[_0x2b60f9([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x54,0x79,0x70,0x65])])?_0x2fdd6d/0x3e8:0xe10*_0x376293;return _0x216815[_0x2b60f9([0x65,0x78,0x70])]<_0x4536f9;}function _0x961ae2(){const _0x16b102=_0x216815[_0x2b60f9([0x66,0x65,0x61,0x74,0x75,0x72,0x65,0x73])];return!!_0x16b102&&(!!_0x16b102[_0x2b60f9([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x2b60f9([0x2a]))||!!_0x16b102[_0x2b60f9([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x2b60f9([0x46,0x4f,0x4f])));}function _0x2b7401(){const _0x388584=_0x216815[_0x2b60f9([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x64,0x48,0x6f,0x73,0x74,0x73])];if(!_0x388584||0x0==_0x388584[_0x2b60f9([0x6c,0x65,0x6e,0x67,0x74,0x68])])return!0x0;const {hostname:_0x3db2cf}=new URL(window[_0x2b60f9([0x6c,0x6f,0x63,0x61,0x74,0x69,0x6f,0x6e])]['href']);if(_0x388584[_0x2b60f9([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x3db2cf))return!0x0;const _0x318387=_0x3db2cf[_0x2b60f9([0x73,0x70,0x6c,0x69,0x74])](_0x2b60f9([0x2e]));return _0x388584[_0x2b60f9([0x66,0x69,0x6c,0x74,0x65,0x72])](_0x481c57=>_0x481c57[_0x2b60f9([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x2b60f9([0x2a])))[_0x2b60f9([0x6d,0x61,0x70])](_0x4263e8=>_0x4263e8[_0x2b60f9([0x73,0x70,0x6c,0x69,0x74])](_0x2b60f9([0x2e])))[_0x2b60f9([0x66,0x69,0x6c,0x74,0x65,0x72])](_0x2db4b1=>_0x2db4b1[_0x2b60f9([0x6c,0x65,0x6e,0x67,0x74,0x68])]<=_0x318387[_0x2b60f9([0x6c,0x65,0x6e,0x67,0x74,0x68])])[_0x2b60f9([0x6d,0x61,0x70])](_0x4c9f39=>Array(_0x318387[_0x2b60f9([0x6c,0x65,0x6e,0x67,0x74,0x68])]-_0x4c9f39[_0x2b60f9([0x6c,0x65,0x6e,0x67,0x74,0x68])])[_0x2b60f9([0x66,0x69,0x6c,0x6c])](_0x4c9f39[0x0]===_0x2b60f9([0x2a])?_0x2b60f9([0x2a]):'')[_0x2b60f9([0x63,0x6f,0x6e,0x63,0x61,0x74])](_0x4c9f39))[_0x2b60f9([0x73,0x6f,0x6d,0x65])](_0x27abf5=>_0x318387[_0x2b60f9([0x65,0x76,0x65,0x72,0x79])]((_0x2e79e4,_0xab11e5)=>_0x27abf5[_0xab11e5]===_0x2e79e4||_0x27abf5[_0xab11e5]===_0x2b60f9([0x2a])));}function _0xd63896(){return _0x26ed89&&_0x218f10?new window[(_0x2b60f9([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))]((_0x594c26,_0x3fff6c)=>{_0x26ed89[_0x2b60f9([0x74,0x68,0x65,0x6e])](_0x594c26,_0x3fff6c),_0x218f10[_0x2b60f9([0x74,0x68,0x65,0x6e])](_0x2ad221=>{_0x2ad221!=_0x2b60f9([0x56,0x61,0x6c,0x69,0x64])&&_0x594c26(_0x2ad221);},_0x3fff6c);}):_0x26ed89||_0x218f10||_0x2b60f9([0x56,0x61,0x6c,0x69,0x64]);}}function _0x4b9af0(_0x7f0b34,_0xf68d4f){return new window[(_0x2b60f9([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0x13cc4f=>{if(_0x1443c8())return _0x13cc4f(_0x2b60f9([0x56,0x61,0x6c,0x69,0x64]));_0xa1f6e(),_0xef8f5[_0x2b60f9([0x64,0x65,0x63,0x6f,0x72,0x61,0x74,0x65])](_0x2b60f9([0x5f,0x73,0x65,0x6e,0x64,0x55,0x73,0x61,0x67,0x65,0x52,0x65,0x71,0x75,0x65,0x73,0x74]));let _0x291e2f=!0x1;const _0x5d3934=_0x25549a();function _0x340d04(_0x38ead){return!!_0x38ead&&(typeof _0x38ead===_0x2b60f9([0x6f,0x62,0x6a,0x65,0x63,0x74])||typeof _0x38ead===_0x2b60f9([0x66,0x75,0x6e,0x63,0x74,0x69,0x6f,0x6e]))&&typeof _0x38ead[_0x2b60f9([0x74,0x68,0x65,0x6e])]===_0x2b60f9([0x66,0x75,0x6e,0x63,0x74,0x69,0x6f,0x6e])&&typeof _0x38ead[_0x2b60f9([0x63,0x61,0x74,0x63,0x68])]===_0x2b60f9([0x66,0x75,0x6e,0x63,0x74,0x69,0x6f,0x6e]);}function _0x556742(_0x18cc82){_0x1a1551(_0x18cc82)[_0x2b60f9([0x74,0x68,0x65,0x6e])](_0x2a1d83=>{if(!_0x2a1d83||_0x2a1d83[_0x2b60f9([0x73,0x74,0x61,0x74,0x75,0x73])]!=_0x2b60f9([0x6f,0x6b]))return _0x2b60f9([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]);return _0x5047f0(_0x24cdfb(_0x5d3934+_0xf68d4f))!=_0x2a1d83[_0x2b60f9([0x76,0x65,0x72,0x69,0x66,0x69,0x63,0x61,0x74,0x69,0x6f,0x6e])]?_0x2b60f9([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]):_0x2b60f9([0x56,0x61,0x6c,0x69,0x64]);})[_0x2b60f9([0x74,0x68,0x65,0x6e])](_0x579b32=>(_0x3829bf(),_0x579b32),()=>{const _0x5a4732=_0x461177();return null==_0x5a4732?(_0x3829bf(),_0x2b60f9([0x56,0x61,0x6c,0x69,0x64])):_0x2b60f9(_0x2fdd6d-_0x5a4732>(0x63ae0106^_0x45d845)?[0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]:[0x56,0x61,0x6c,0x69,0x64]);})[_0x2b60f9([0x74,0x68,0x65,0x6e])](_0x13cc4f)[_0x2b60f9([0x63,0x61,0x74,0x63,0x68])](()=>{_0x13cc4f(_0x2b60f9([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]));});const _0x42d8eb=0x47946b86^_0x45d845;function _0x3829bf(){const _0x488a2e=_0x2b60f9([0x6c,0x6c,0x63,0x74,0x2d])+_0x5047f0(_0x24cdfb(_0x7f0b34)),_0x35396f=_0xe8124f(_0x5047f0(window[_0x2b60f9([0x4d,0x61,0x74,0x68])][_0x2b60f9([0x63,0x65,0x69,0x6c])](_0x2fdd6d/_0x42d8eb)));window[_0x2b60f9([0x6c,0x6f,0x63,0x61,0x6c,0x53,0x74,0x6f,0x72,0x61,0x67,0x65])][_0x2b60f9([0x73,0x65,0x74,0x49,0x74,0x65,0x6d])](_0x488a2e,_0x35396f);}function _0x461177(){const _0x3da137=_0x2b60f9([0x6c,0x6c,0x63,0x74,0x2d])+_0x5047f0(_0x24cdfb(_0x7f0b34)),_0x538fdf=window[_0x2b60f9([0x6c,0x6f,0x63,0x61,0x6c,0x53,0x74,0x6f,0x72,0x61,0x67,0x65])][_0x2b60f9([0x67,0x65,0x74,0x49,0x74,0x65,0x6d])](_0x3da137);return _0x538fdf?window[_0x2b60f9([0x70,0x61,0x72,0x73,0x65,0x49,0x6e,0x74])](_0xe8124f(_0x538fdf),0x10)*_0x42d8eb:null;}function _0x1a1551(_0x2c1bef){return new window[(_0x2b60f9([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))]((_0x4716d1,_0x5712de)=>{_0x2c1bef[_0x2b60f9([0x74,0x68,0x65,0x6e])](_0x4716d1,_0x5712de),window[_0x2b60f9([0x73,0x65,0x74,0x54,0x69,0x6d,0x65,0x6f,0x75,0x74])](_0x5712de,0x47a351c6^_0x45d845);});}}_0xef8f5[_0x2b60f9([0x6f,0x6e])](_0x2b60f9([0x5f,0x73,0x65,0x6e,0x64,0x55,0x73,0x61,0x67,0x65,0x52,0x65,0x71,0x75,0x65,0x73,0x74]),(_0x3cf911,_0x2a9fa7)=>{if(_0x2a9fa7[0x0]!=_0x7f0b34)return _0x13cc4f(_0x2b60f9([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]));_0x2a9fa7[0x1]={..._0x2a9fa7[0x1],[_0x2b60f9([0x72,0x65,0x71,0x75,0x65,0x73,0x74,0x49,0x64])]:_0x5d3934};},{[_0x2b60f9([0x70,0x72,0x69,0x6f,0x72,0x69,0x74,0x79])]:_0x2b60f9([0x68,0x69,0x67,0x68])}),_0xef8f5[_0x2b60f9([0x6f,0x6e])](_0x2b60f9([0x5f,0x73,0x65,0x6e,0x64,0x55,0x73,0x61,0x67,0x65,0x52,0x65,0x71,0x75,0x65,0x73,0x74]),_0x57a781=>{_0x340d04(_0x57a781[_0x2b60f9([0x72,0x65,0x74,0x75,0x72,0x6e])])&&(_0x291e2f=!0x0,_0x556742(_0x57a781[_0x2b60f9([0x72,0x65,0x74,0x75,0x72,0x6e])]));},{[_0x2b60f9([0x70,0x72,0x69,0x6f,0x72,0x69,0x74,0x79])]:_0x2b60f9([0x6c,0x6f,0x77])}),_0x1406d6[_0x2b60f9([0x74,0x68,0x65,0x6e])](()=>{_0x291e2f||_0x13cc4f(_0x2b60f9([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]));});});function _0x1443c8(){return _0xef8f5[_0x2b60f9([0x65,0x64,0x69,0x74,0x69,0x6e,0x67])][_0x2b60f9([0x76,0x69,0x65,0x77])][_0x2b60f9([0x5f,0x6f,0x76,0x65,0x72,0x6c,0x61,0x79,0x4d,0x6f,0x64,0x65,0x48,0x69,0x6e,0x74])]==_0x2b60f9([0x61,0x75,0x74,0x6f]);}function _0xa1f6e(){_0xef8f5[_0x2b60f9([0x65,0x64,0x69,0x74,0x69,0x6e,0x67])][_0x2b60f9([0x76,0x69,0x65,0x77])][_0x2b60f9([0x5f,0x6f,0x76,0x65,0x72,0x6c,0x61,0x79,0x4d,0x6f,0x64,0x65,0x48,0x69,0x6e,0x74])]=_0x2b60f9([0x61,0x75,0x74,0x6f]);}}function _0xe8bb07(_0x413df9){const _0x549fba=[new window[(_0x2b60f9([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0x178313=>setTimeout(_0x178313,0x47abbbca^_0x45d845)),_0x1406d6[_0x2b60f9([0x74,0x68,0x65,0x6e])](()=>new window[(_0x2b60f9([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0x3539dc=>{let _0x3d10e5=0x0;_0xef8f5[_0x2b60f9([0x6d,0x6f,0x64,0x65,0x6c])][_0x2b60f9([0x6f,0x6e])](_0x2b60f9([0x61,0x70,0x70,0x6c,0x79,0x4f,0x70,0x65,0x72,0x61,0x74,0x69,0x6f,0x6e]),(_0x7cb7d3,_0x269863)=>{_0x269863[0x0][_0x2b60f9([0x69,0x73,0x44,0x6f,0x63,0x75,0x6d,0x65,0x6e,0x74,0x4f,0x70,0x65,0x72,0x61,0x74,0x69,0x6f,0x6e])]&&_0x3d10e5++,_0x3d10e5==(0x47a280ee^_0x45d845)&&(_0x3539dc(),_0x7cb7d3[_0x2b60f9([0x6f,0x66,0x66])]());});}))];return window[_0x2b60f9([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65])][_0x2b60f9([0x72,0x61,0x63,0x65])](_0x549fba)[_0x2b60f9([0x74,0x68,0x65,0x6e])](()=>_0x413df9);}async function _0x4563ab(){await _0x1406d6,_0xef8f5[_0x2b60f9([0x6d,0x6f,0x64,0x65,0x6c])][_0x2b60f9([0x63,0x68,0x61,0x6e,0x67,0x65])]=_0x38add8,_0xef8f5[_0x2b60f9([0x6d,0x6f,0x64,0x65,0x6c])][_0x2b60f9([0x65,0x6e,0x71,0x75,0x65,0x75,0x65,0x43,0x68,0x61,0x6e,0x67,0x65])]=_0x38add8,_0xef8f5[_0x2b60f9([0x65,0x6e,0x61,0x62,0x6c,0x65,0x52,0x65,0x61,0x64,0x4f,0x6e,0x6c,0x79,0x4d,0x6f,0x64,0x65])](_0x2b60f9([0x6d,0x6f,0x64,0x65,0x6c]));}function _0xd1b3f1(_0x1c4d3d){const _0x3ace58=_0xb52dd4();_0xef8f5[_0x3ace58]=_0x2b60f9([0x66,0x6f,0x6f,0x74,0x6e,0x6f,0x74,0x65,0x73,0x4c,0x69,0x63,0x65,0x6e,0x73,0x65,0x4b,0x65,0x79])+_0x1c4d3d,_0x1c4d3d!=_0x2b60f9([0x56,0x61,0x6c,0x69,0x64])&&_0x4563ab();}function _0xb52dd4(){const _0x353654=window[_0x2b60f9([0x53,0x74,0x72,0x69,0x6e,0x67])](window[_0x2b60f9([0x70,0x65,0x72,0x66,0x6f,0x72,0x6d,0x61,0x6e,0x63,0x65])][_0x2b60f9([0x6e,0x6f,0x77])]())[_0x2b60f9([0x72,0x65,0x70,0x6c,0x61,0x63,0x65])](_0x2b60f9([0x2e]),'');let _0x1eb920=_0x2b60f9([0x75]);for(let _0xfbf76b=0x0;_0xfbf76b<_0x353654[_0x2b60f9([0x6c,0x65,0x6e,0x67,0x74,0x68])];_0xfbf76b+=0x2){let _0x14d280=window[_0x2b60f9([0x70,0x61,0x72,0x73,0x65,0x49,0x6e,0x74])](_0x353654[_0x2b60f9([0x73,0x75,0x62,0x73,0x74,0x72,0x69,0x6e,0x67])](_0xfbf76b,_0xfbf76b+0x2));_0x14d280>=_0x239d66[_0x2b60f9([0x6c,0x65,0x6e,0x67,0x74,0x68])]&&(_0x14d280-=_0x239d66[_0x2b60f9([0x6c,0x65,0x6e,0x67,0x74,0x68])]),_0x1eb920+=_0x239d66[_0x14d280];}return _0x1eb920;}function _0x223dc2(){const _0x59d1de=_0x488199[_0x2b60f9([0x73,0x70,0x6c,0x69,0x74])](_0x2b60f9([0x2e]));if(0x3!=_0x59d1de[_0x2b60f9([0x6c,0x65,0x6e,0x67,0x74,0x68])])return null;return _0x276318(_0x59d1de[0x1]);function _0x276318(_0x38f229){const _0x474401=_0x20dd8d(_0x38f229);return _0x474401&&_0x453ac7()?_0x474401:null;function _0x453ac7(){const _0x8d55ed=_0x474401[_0x2b60f9([0x6a,0x74,0x69])],_0x55ce45=window[_0x2b60f9([0x70,0x61,0x72,0x73,0x65,0x49,0x6e,0x74])](_0x8d55ed[_0x2b60f9([0x73,0x75,0x62,0x73,0x74,0x72,0x69,0x6e,0x67])](_0x8d55ed[_0x2b60f9([0x6c,0x65,0x6e,0x67,0x74,0x68])]-0x8),0x10),_0x466768={..._0x474401,[_0x2b60f9([0x6a,0x74,0x69])]:_0x8d55ed[_0x2b60f9([0x73,0x75,0x62,0x73,0x74,0x72,0x69,0x6e,0x67])](0x0,_0x8d55ed[_0x2b60f9([0x6c,0x65,0x6e,0x67,0x74,0x68])]-0x8)};return delete _0x466768[_0x2b60f9([0x76,0x63])],_0x24cdfb(_0x466768)==_0x55ce45;}}}async function _0x19f8da(){let _0x4c9478=!0x0;try{const _0x5336e1=_0x488199[_0x2b60f9([0x73,0x70,0x6c,0x69,0x74])](_0x2b60f9([0x2e])),[_0x3f09d5,_0x3d07d5,_0x5bd4d5]=_0x5336e1;return _0x4ba6b8(_0x3f09d5),await _0x27ef04(_0x3f09d5,_0x3d07d5,_0x5bd4d5),_0x4c9478;}catch{return!0x1;}function _0x4ba6b8(_0x471f3c){const _0x13c9f0=_0x20dd8d(_0x471f3c);_0x13c9f0&&_0x13c9f0[_0x2b60f9([0x61,0x6c,0x67])]==_0x2b60f9([0x45,0x53,0x32,0x35,0x36])||(_0x4c9478=!0x1);}async function _0x27ef04(_0xbfc9a7,_0x5a167e,_0x36b621){const _0xe73634=window[_0x2b60f9([0x55,0x69,0x6e,0x74,0x38,0x41,0x72,0x72,0x61,0x79])][_0x2b60f9([0x66,0x72,0x6f,0x6d])](_0x1a9d7e(_0x36b621),_0x3779c0=>_0x3779c0[_0x2b60f9([0x63,0x68,0x61,0x72,0x43,0x6f,0x64,0x65,0x41,0x74])](0x0)),_0x1753a2=new window[(_0x2b60f9([0x54,0x65,0x78,0x74,0x45,0x6e,0x63,0x6f,0x64,0x65,0x72]))]()[_0x2b60f9([0x65,0x6e,0x63,0x6f,0x64,0x65])](_0xbfc9a7+_0x2b60f9([0x2e])+_0x5a167e),_0x5b114f=window[_0x2b60f9([0x63,0x72,0x79,0x70,0x74,0x6f])][_0x2b60f9([0x73,0x75,0x62,0x74,0x6c,0x65])];if(!_0x5b114f)return;const _0x15dcb1=await _0x5b114f[_0x2b60f9([0x69,0x6d,0x70,0x6f,0x72,0x74,0x4b,0x65,0x79])](_0x2b60f9([0x6a,0x77,0x6b]),_0x219a82,{[_0x2b60f9([0x6e,0x61,0x6d,0x65])]:_0x2b60f9([0x45,0x43,0x44,0x53,0x41]),[_0x2b60f9([0x6e,0x61,0x6d,0x65,0x64,0x43,0x75,0x72,0x76,0x65])]:_0x2b60f9([0x50,0x2d,0x32,0x35,0x36])},!0x1,[_0x2b60f9([0x76,0x65,0x72,0x69,0x66,0x79])]);await _0x5b114f[_0x2b60f9([0x76,0x65,0x72,0x69,0x66,0x79])]({[_0x2b60f9([0x6e,0x61,0x6d,0x65])]:_0x2b60f9([0x45,0x43,0x44,0x53,0x41]),[_0x2b60f9([0x68,0x61,0x73,0x68])]:{[_0x2b60f9([0x6e,0x61,0x6d,0x65])]:_0x2b60f9([0x53,0x48,0x41,0x2d,0x32,0x35,0x36])}},_0x15dcb1,_0xe73634,_0x1753a2)||(_0x4c9478=!0x1);}}function _0x20dd8d(_0x8b8859){return _0x8b8859[_0x2b60f9([0x73,0x74,0x61,0x72,0x74,0x73,0x57,0x69,0x74,0x68])](_0x2b60f9([0x65,0x79]))?JSON[_0x2b60f9([0x70,0x61,0x72,0x73,0x65])](_0x1a9d7e(_0x8b8859)):null;}function _0x1a9d7e(_0x3baaae){return window[_0x2b60f9([0x61,0x74,0x6f,0x62])](_0x3baaae[_0x2b60f9([0x72,0x65,0x70,0x6c,0x61,0x63,0x65])](/-/g,_0x2b60f9([0x2b]))[_0x2b60f9([0x72,0x65,0x70,0x6c,0x61,0x63,0x65])](/_/g,_0x2b60f9([0x2f])));}function _0x24cdfb(_0x370e50){let _0x5764f2=0x1505;function _0x589463(_0x4dbb6a){for(let _0x575ade=0x0;_0x575ade<_0x4dbb6a[_0x2b60f9([0x6c,0x65,0x6e,0x67,0x74,0x68])];_0x575ade++){const _0x242265=_0x4dbb6a[_0x2b60f9([0x63,0x68,0x61,0x72,0x43,0x6f,0x64,0x65,0x41,0x74])](_0x575ade);_0x5764f2=(_0x5764f2<<0x5)+_0x5764f2+_0x242265,_0x5764f2&=_0x5764f2;}}function _0x538575(_0x680a75){Array[_0x2b60f9([0x69,0x73,0x41,0x72,0x72,0x61,0x79])](_0x680a75)?_0x680a75[_0x2b60f9([0x66,0x6f,0x72,0x45,0x61,0x63,0x68])](_0x538575):_0x680a75&&typeof _0x680a75==_0x2b60f9([0x6f,0x62,0x6a,0x65,0x63,0x74])?Object[_0x2b60f9([0x65,0x6e,0x74,0x72,0x69,0x65,0x73])](_0x680a75)[_0x2b60f9([0x73,0x6f,0x72,0x74])]()[_0x2b60f9([0x66,0x6f,0x72,0x45,0x61,0x63,0x68])](([_0x37ec42,_0x55b4ea])=>{_0x589463(_0x37ec42),_0x538575(_0x55b4ea);}):_0x589463(window[_0x2b60f9([0x53,0x74,0x72,0x69,0x6e,0x67])](_0x680a75));}return _0x538575(_0x370e50),_0x5764f2>>>0x0;}function _0x5047f0(_0x1e1410){return _0x1e1410[_0x2b60f9([0x74,0x6f,0x53,0x74,0x72,0x69,0x6e,0x67])](0x10)[_0x2b60f9([0x70,0x61,0x64,0x53,0x74,0x61,0x72,0x74])](0x8,_0x2b60f9([0x30]));}function _0xe8124f(_0x1fd7cc){return _0x1fd7cc[_0x2b60f9([0x73,0x70,0x6c,0x69,0x74])]('')[_0x2b60f9([0x72,0x65,0x76,0x65,0x72,0x73,0x65])]()[_0x2b60f9([0x6a,0x6f,0x69,0x6e])]('');}function _0x38add8(){}function _0x2b60f9(_0x545013){return _0x545013['map'](_0x22b596=>String['fromCharCode'](_0x22b596))['join']('');}_0xd1b3f1(await _0x194555());}(this);}['_moveSelectionToFootnoteDefinition'](_0x500331){const {plugins:_0xf00ab4,editing:_0x1618a4,model:_0x393c73}=this['editor'],_0x1da418=_0xf00ab4['get'](f)['getFootnote'](_0x500331);return!!_0x1da418&&(_0x393c73['change'](_0x2318b5=>{_0x2318b5['setSelection'](_0x2318b5['createPositionAt'](_0x1da418['definition'],'end'));}),_0x1618a4['view']['scrollToTheSelection'](),!0x0);}['_moveSelectionToFootnoteReference'](_0x24345f){const {plugins:_0xc6abd7,editing:_0x51f128,model:_0x98caad}=this['editor'],_0x109b93=_0xc6abd7['get'](f)['getFootnote'](_0x24345f);return!!_0x109b93&&(_0x98caad['change'](_0x1df81b=>{_0x1df81b['setSelection'](_0x109b93['reference'],'on');}),_0x51f128['view']['scrollToTheSelection'](),!0x0);}['_defineSchema'](){const {schema:_0x266769}=this['editor']['model'],_0x5ee777=this['editor']['config']['get']('footnotes.multiBlock');_0x266769['register']('footnoteRef',{'inheritAllFrom':'$inlineObject','allowAttributes':['footnoteId','footnoteCounter']}),_0x266769['register']('footnotesDefinitions',{'inheritAllFrom':'$blockObject','allowChildren':['footnoteDefinition']}),_0x266769['register']('footnoteDefinition',{'allowAttributes':['footnoteId'],'disallowAttributes':['listItemId'],'isLimit':!0x0}),_0x5ee777?_0x266769['extend']('footnoteDefinition',{'allowContentOf':'$container'}):_0x266769['register']('footnoteInlineContent',{'allowIn':'footnoteDefinition','allowContentOf':'$block','isLimit':!0x0}),_0x266769['addChildCheck'](_0x45fbd0=>{for(const _0x2cf175 of _0x45fbd0)if('footnoteDefinition'===_0x2cf175['name'])return!0x1;},'footnoteRef');}['_defineRefsConverters'](){const {editor:_0x4b6cb1}=this,{conversion:_0x495b70,editing:_0x392731}=_0x4b6cb1,{t:t}=_0x4b6cb1['locale'];_0x495b70['for']('upcast')['elementToElement']({'view':{'name':'sup','classes':'footnote'},'model':(_0x226c95,{writer:_0x32d7bf,consumable:_0x206913})=>{const _0x42d2ab=_0x226c95['getChild'](0x0);if(!_0x42d2ab||!_0x42d2ab['is']('element','a'))return null;const _0x32ad91=_0x42d2ab['getAttribute']('href')||'';if(!_0x32ad91['startsWith']('#'))return null;const _0x4a0da3=_0x32ad91['replace'](/^#/,'');if(!_0x4a0da3)return null;_0x206913['consume'](_0x42d2ab,{'name':!0x0,'attributes':['href']});for(const {item:_0x5b9c3d}of _0x392731['view']['createRangeIn'](_0x42d2ab))_0x5b9c3d['is']('$textProxy')?_0x206913['consume'](_0x5b9c3d['textNode'],{'name':!0x0}):_0x5b9c3d['is']('element')&&_0x206913['consume'](_0x5b9c3d,{'name':!0x0});return _0x32d7bf['createElement']('footnoteRef',{'footnoteId':_0x4a0da3});}}),_0x495b70['for']('dataDowncast')['elementToElement']({'model':{'name':'footnoteRef','attributes':['footnoteId','footnoteCounter']},'view':(_0x214d0e,{writer:_0x57a050})=>b(_0x214d0e,_0x57a050)}),_0x495b70['for']('editingDowncast')['elementToElement']({'model':{'name':'footnoteRef','attributes':['footnoteId','footnoteCounter']},'view':(_0x548ec7,{writer:_0x1a5df1})=>{const _0x40a422=_0x548ec7['getAttribute']('footnoteCounter');return _0x4ffacd(b(_0x548ec7,_0x1a5df1),_0x1a5df1,{'label':t('Footnote\x20%0.\x20Press\x20ENTER\x20to\x20jump\x20to\x20footnote\x20definition.',_0x40a422)});}});}['_defineDefinitionsConverters'](){const {editor:_0x1fbbb8}=this,{t:t}=_0x1fbbb8['locale'],{conversion:_0x21be95}=_0x1fbbb8;_0x21be95['for']('upcast')['elementToElement']({'view':{'name':'div','classes':'footnotes'},'model':'footnotesDefinitions'}),_0x21be95['for']('upcast')['add'](_0x4c31d3=>{_0x4c31d3['on']('element:ol',(_0x78eee0,_0x2fd75c,_0x44f647)=>{const _0x9a97e4=_0x2fd75c['viewItem'];if(!_0x9a97e4['hasClass']('footnotes-list')||!_0x2fd75c['modelCursor']['parent']?.['is']('element','footnotesDefinitions'))return;if(!_0x44f647['consumable']['consume'](_0x9a97e4,{'name':!0x0,'classes':'footnotes-list'}))return;const {modelRange:_0x2a75ff,modelCursor:_0xcd81fe}=_0x44f647['convertChildren'](_0x2fd75c['viewItem'],_0x2fd75c['modelCursor']);_0x2fd75c['modelRange']=_0x2a75ff,_0x2fd75c['modelCursor']=_0xcd81fe;}),_0x4c31d3['on']('element:hr',(_0x5b1e37,_0x48e212,_0x784239)=>{const _0x52a9c6=_0x48e212['viewItem'];_0x52a9c6['hasClass']('footnotes-divider')&&_0x48e212['modelCursor']['parent']?.['is']('element','footnotesDefinitions')&&_0x784239['consumable']['consume'](_0x52a9c6,{'name':!0x0,'classes':'footnotes-divider'});});}),_0x21be95['for']('dataDowncast')['elementToStructure']({'model':'footnotesDefinitions','view':(_0x50629c,{writer:_0x404b00})=>D(_0x404b00)}),_0x21be95['for']('editingDowncast')['elementToStructure']({'model':'footnotesDefinitions','view':(_0xe61c61,{writer:_0xb063fd})=>{const _0x28b327=D(_0xb063fd,{'data-footnotes-list-label':t('Footnotes')}),_0x306754=_0x4ffacd(_0x28b327,_0xb063fd,{'hasSelectionHandle':!0x0,'label':t('Footnotes')});return _0xb063fd['setCustomProperty']('footnotesDefinitions',!0x0,_0x306754),_0x306754;}});}['_defineDefinitionConverters'](){const {editor:_0x4c349e}=this,{conversion:_0x1c791f,locale:_0x256958}=_0x4c349e,_0x29f305=_0x4c349e['config']['get']('footnotes.multiBlock');_0x1c791f['for']('upcast')['add'](_0x10866e=>{_0x10866e['on']('element:li',(_0x22f7e2,_0x267a91,_0x2ab09e)=>{const _0x7f081=_0x267a91['viewItem'];if(!_0x7f081['hasClass']('footnote-definition')||!_0x7f081['getAttribute']('id'))return;const _0xedf85d=_0x7f081['parent'];if(!_0xedf85d['is']('element','ol')||!_0xedf85d['hasClass']('footnotes-list'))return;if(!_0x2ab09e['consumable']['test'](_0x7f081,{'name':!0x0,'attributes':'id','classes':'footnote-definition'}))return;const _0x48c831=_0x2ab09e['writer']['createElement']('footnoteDefinition',{'footnoteId':_0x7f081['getAttribute']('id')});if(!_0x2ab09e['safeInsert'](_0x48c831,_0x267a91['modelCursor']))return;_0x2ab09e['consumable']['consume'](_0x7f081,{'name':!0x0,'attributes':'id','classes':'footnote-definition'});const _0x187213=Array['from'](_0x7f081['getChildren']())['find'](_0x2815d0=>_0x2815d0['is']('element')&&_0x2815d0['hasClass']('footnote-content'));for(const _0x4c5444 of _0x7f081['getChildren']())_0x4c5444['is']('element')&&(_0x2ab09e['consumable']['consume'](_0x4c5444,{'name':!0x0,'classes':'footnote-backlink','attributes':'href'}),_0x2ab09e['consumable']['consume'](_0x4c5444,{'name':!0x0,'classes':'footnote-content'}));if(_0x187213){if(_0x29f305)_0x2ab09e['convertChildren'](_0x187213,_0x48c831);else{const _0x3a2c10=_0x2ab09e['writer']['createElement']('footnoteInlineContent');_0x2ab09e['writer']['insert'](_0x3a2c10,_0x48c831),_0x2ab09e['convertChildren'](_0x187213,_0x3a2c10);}}_0x2ab09e['updateConversionResult'](_0x48c831,_0x267a91);});}),_0x1c791f['for']('dataDowncast')['elementToStructure']({'model':{'name':'footnoteDefinition','attributes':['footnoteId']},'view':(_0x5aa0f6,{writer:_0x136495})=>y(_0x5aa0f6,_0x136495,_0x256958,{'dataPipeline':!0x0})}),_0x1c791f['for']('editingDowncast')['elementToStructure']({'model':{'name':'footnoteDefinition','attributes':['footnoteId']},'view':(_0x221359,{writer:_0xa476b0})=>y(_0x221359,_0xa476b0,_0x256958)});}['_defineBogusParagraphConverters'](){const {editor:_0x3a0212}=this,{conversion:_0x5062ae}=_0x3a0212;_0x3a0212['config']['get']('footnotes.multiBlock')?(_0x5062ae['for']('editingDowncast')['elementToElement']({'model':'paragraph','view':p(),'converterPriority':'high'}),_0x5062ae['for']('dataDowncast')['elementToElement']({'model':'paragraph','view':p({'dataPipeline':!0x0}),'converterPriority':'high'}),this['listenTo'](_0x3a0212['model']['document'],'change:data',()=>{!function(_0x1fd3cd,_0x192ea5){const _0x202ded=_0x1fd3cd['document']['differ'],_0x1ece97=new Set();for(const _0x4b4fd1 of _0x202ded['getChanges']()){const _0x9d4032='attribute'==_0x4b4fd1['type']?_0x4b4fd1['range']['start']['parent']:_0x4b4fd1['position']['parent'];_0x9d4032['is']('element','footnoteDefinition')&&_0x1ece97['add'](_0x9d4032);}for(const _0x4de151 of _0x1ece97['values']()){const _0x436a60=Array['from'](_0x4de151['getChildren']())['filter'](_0x31eca0=>v(_0x31eca0,_0x192ea5['mapper']));for(const _0x4c5e26 of _0x436a60)_0x192ea5['reconvertItem'](_0x4c5e26);}}(_0x3a0212['model'],_0x3a0212['editing']);})):(_0x5062ae['for']('editingDowncast')['elementToElement']({'model':'footnoteInlineContent','view':p()}),_0x5062ae['for']('dataDowncast')['elementToElement']({'model':'footnoteInlineContent','view':(_0x5167c7,{writer:_0x2523ec})=>{const _0x239863=_0x2523ec['createContainerElement']('span');return _0x2523ec['setCustomProperty']('dataPipeline:transparentRendering',!0x0,_0x239863),_0x239863;}}));}['_defineKeyboardHandlers'](){const {editor:_0x324376}=this,{editing:_0x22625f,t:t}=_0x324376,_0x26deda=_0x324376['model']['document']['selection'];_0x324376['keystrokes']['set']('Ctrl+Alt+F','insertFootnote'),_0x324376['accessibility']['addKeystrokeInfos']({'keystrokes':[{'label':t('Insert\x20footnote'),'keystroke':'Ctrl+Alt+F'}]}),this['listenTo'](_0x22625f['view']['document'],'enter',(_0x2f6820,_0x484b67)=>{const _0x9d7b1f=function(_0x39632c){const _0x47d6d8=_0x39632c['getSelectedElement']();if(_0x47d6d8?.['is']('element','footnoteRef'))return _0x47d6d8;return null;}(_0x26deda);if(_0x9d7b1f){const _0x42d6ce=_0x9d7b1f['getAttribute']('footnoteId');this['_moveSelectionToFootnoteDefinition'](_0x42d6ce),_0x484b67['preventDefault'](),_0x2f6820['stop']();}},{'context':_0x9676ee});}['_defineClickHandlers'](){const {editor:_0x5d588b}=this,{editing:_0x1d1bde}=_0x5d588b;_0x5d588b['editing']['view']['addObserver'](_0x3b2493),_0x5d588b['editing']['view']['addObserver'](_0x5dfef5);let _0x3a6580=!0x1;this['listenTo'](_0x1d1bde['view']['document'],'pointerdown',(_0x2db07a,_0x51caa9)=>{const {target:_0x5b776b}=_0x51caa9,_0xeccf52=_0x1d1bde['view']['document']['selection'];_0x3a6580=!!(_0x5b776b?.['is']('element','a')&&_0x5b776b['parent']?.['is']('element','sup')&&_0x5b776b['parent']['hasClass']('footnote'))&&_0xeccf52['getSelectedElement']()===_0x5b776b['parent'];},{'priority':'high'}),this['listenTo'](_0x1d1bde['view']['document'],'click',(_0x406df4,_0xb72dcf)=>{const {target:_0x2a701b}=_0xb72dcf;if(!_0x2a701b?.['is']('element','a'))return;if(_0x2a701b['parent']?.['is']('element','sup')&&_0x2a701b['parent']['hasClass']('footnote')&&!_0x3a6580)return void _0xb72dcf['preventDefault']();let _0x364026=_0x2a701b['getAttribute']('href');if(!_0x364026?.['startsWith']('#'))return;_0x364026=_0x364026['slice'](0x1);let _0x53b7c4=!0x1;(_0x364026['startsWith']('ref-')&&this['_moveSelectionToFootnoteReference'](_0x364026['slice'](0x4))||this['_moveSelectionToFootnoteDefinition'](_0x364026))&&(_0x53b7c4=!0x0),_0x53b7c4&&(_0xb72dcf['preventDefault'](),_0x406df4['stop']());},{'priority':'high','context':'$capture'});}}function p({dataPipeline:_0x48e0f7}={}){return(_0x23a240,{writer:_0x379a51})=>{if(!g(_0x23a240))return null;if(!_0x48e0f7)return _0x379a51['createContainerElement']('span',{'class':'ck-footnote-bogus-paragraph'});const _0x4560e5=_0x379a51['createContainerElement']('p');return _0x379a51['setCustomProperty']('dataPipeline:transparentRendering',!0x0,_0x4560e5),_0x4560e5;};}function g(_0x461a9a){const {parent:_0x395bdf}=_0x461a9a;if(!_0x395bdf?.['is']('element','footnoteDefinition'))return!0x1;if(0x1!=_0x395bdf['childCount'])return!0x1;for(const _0x85b152 of _0x461a9a['getAttributeKeys']())if(!_0x85b152['startsWith']('selection:')&&'htmlEmptyBlock'!=_0x85b152)return!0x1;return!0x0;}function v(_0x370772,_0x4b102){if(!_0x370772['is']('element','paragraph'))return!0x1;const _0x568f04=_0x4b102['toViewElement'](_0x370772);return!!_0x568f04&&g(_0x370772)!==_0x568f04['is']('element','span');}function Q(_0x1e3bde){return _0x9676ee(_0x1e3bde)&&_0x1e3bde['is']('containerElement')&&!!_0x1e3bde['getCustomProperty']('footnotesDefinitions');}function D(_0x5b50ee,_0x557eed={}){const _0x27d6cf=_0x5b50ee['createEmptyElement']('hr',{'class':'footnotes-divider'}),_0x116240=_0x5b50ee['createContainerElement']('ol',{'class':'footnotes-list'},_0x5b50ee['createSlot']());return _0x5b50ee['createContainerElement']('div',{'class':'footnotes',..._0x557eed},[_0x27d6cf,_0x116240]);}function b(_0x5bb6c9,_0x26e3d9){const _0x423bfc=_0x5bb6c9['getAttribute']('footnoteId'),_0x496556=_0x5bb6c9['getAttribute']('footnoteCounter'),_0x26dc80=_0x26e3d9['createUIElement']('a',{'href':'#'+_0x423bfc},function(_0x50d594){const _0x3a5e0c=this['toDomElement'](_0x50d594);return _0x3a5e0c['textContent']=_0x496556,_0x3a5e0c;}),_0x22d25e=_0x26e3d9['createContainerElement']('sup',{'id':'ref-'+_0x423bfc,'class':'footnote'},[_0x26dc80]);return _0x22d25e['getFillerOffset']=()=>null,_0x22d25e;}function y(_0x11afb0,_0x5b1f44,_0x12e81f,{dataPipeline:_0x1c9666}={}){const {t:t}=_0x12e81f,_0x383195=_0x11afb0['getAttribute']('footnoteId'),_0xba20ab=_0x5b1f44['createUIElement']('a',{'class':'footnote-backlink','href':'#ref-'+_0x383195},function(_0x277b7f){const _0x5072ef=this['toDomElement'](_0x277b7f);return _0x5072ef['innerText']='^',_0x5072ef;}),_0x44e6f2=_0x1c9666?_0x5b1f44['createContainerElement']('div',{'class':'footnote-content'}):_0x4c2bbf(_0x5b1f44['createEditableElement']('div',{'class':'footnote-content'}),_0x5b1f44,{'label':t('Footnote\x20content.')});return _0x5b1f44['insert'](_0x5b1f44['createPositionAt'](_0x44e6f2,0x0),_0x5b1f44['createSlot']()),_0x5b1f44['createContainerElement']('li',{'class':'footnote-definition','id':_0x383195},[_0xba20ab,_0x44e6f2]);}class e extends _0x5009a4{static get['pluginName'](){return'FootnotesClipboard';}static get['requires'](){return[r,_0xf51cc5];}static get['isOfficialPlugin'](){return!0x0;}static get['isPremiumPlugin'](){return!0x0;}['init'](){this['_defineClipboardIntegration']();}['_defineClipboardIntegration'](){this['_handleCopyFootnotesDefinitions'](),this['_handlePasteFootnotesDefinitions']();}['_handleCopyFootnotesDefinitions'](){const {editor:_0x2b585d}=this,{plugins:_0xc35dce,model:_0x495205}=_0x2b585d,_0x5a2b9e=_0xc35dce['get'](_0xf51cc5),_0x13c19a=_0xc35dce['get'](f);this['listenTo'](_0x5a2b9e,'outputTransformation',(_0x1e01c5,_0x339bb2)=>{const _0x21cbb8=l(_0x495205['createRangeIn'](_0x339bb2['content']));if(!_0x21cbb8['length'])return;const _0x4e8c60=_0x13c19a['getFootnotes'](),_0x146614=_0x21cbb8['reduce']((_0x3eaaf7,_0x275b3f)=>{const _0x8874b4=_0x4e8c60['find'](_0x38e226=>_0x38e226['id']===_0x275b3f);if(_0x8874b4){const _0x13a4f3=_0x2b585d['data']['toView'](_0x8874b4['definition'],{'isClipboardPipeline':!0x0}),_0x5dd22d=_0x2b585d['data']['htmlProcessor']['toData'](_0x13a4f3);_0x3eaaf7[_0x8874b4['id']]=_0x5dd22d;}return _0x3eaaf7;},Object['create'](null));_0x339bb2['dataTransfer']['setData']('application/ckeditor5-footnotes',JSON['stringify'](_0x146614));});}['_handlePasteFootnotesDefinitions'](){const {editor:_0x451899}=this,{model:_0x2b7cd8,plugins:_0x335e50}=_0x451899,{view:_0x2d0bed}=_0x451899['editing'],_0xc7009=_0x335e50['get'](_0xf51cc5),_0x351d35=_0x335e50['get'](f),_0x5c758a=_0x451899['config']['get']('footnotes.multiBlock');let _0x24e240=null;this['listenTo'](_0x2d0bed['document'],'clipboardInput',(_0x1fa251,_0x24d69b)=>{const _0x5758fe=_0x24d69b['dataTransfer']['getData']('application/ckeditor5-footnotes');_0x24e240=_0x5758fe?JSON['parse'](_0x5758fe):null;}),this['listenTo'](_0xc7009,'contentInsertion',(_0xc3cb55,_0x2b07ef)=>{const _0x381641=_0x2b07ef['sourceEditorId']===this['editor']['id'];_0x381641&&'drop'===_0x2b07ef['method']||_0x2b7cd8['change'](_0xb996cc=>{let _0xcb729a=_0x351d35['getFootnotesDefinitionsObjectElement']();const _0x1d5f9e=!!_0xcb729a&&Array['from'](_0x2b7cd8['document']['selection']['getSelectedBlocks']())['includes'](_0xcb729a);if(!_0x24e240&&function(_0x34374f){for(const {item:_0x43c039}of _0x34374f)if(_0x43c039['is']('element','footnoteRef'))return!0x0;return!0x1;}(_0x2b7cd8['createRangeIn'](_0x2b07ef['content']))&&(_0x24e240=function(_0x44c64e,_0x25cd8c){const _0x211bf7=c(_0x44c64e,_0x25cd8c);if(!_0x211bf7)return null;const _0x3ac473=Object['create'](null);for(const _0x1ae411 of _0x211bf7['getChildren']())_0x1ae411['is']('element','footnoteDefinition')&&_0x1ae411['hasAttribute']('footnoteId')&&(_0x3ac473[_0x1ae411['getAttribute']('footnoteId')]=_0x44c64e['cloneElement'](_0x1ae411,!0x0));return Object['keys'](_0x3ac473)['length']?_0x3ac473:null;}(_0xb996cc,_0x2b07ef['content'])),(_0xcb729a&&!_0x1d5f9e||!_0xcb729a&&!_0x24e240)&&function(_0x55d1e4,_0x4ee411){const _0xdf0c7=[];for(const {item:_0x15b1fe}of _0x55d1e4['createRangeIn'](_0x4ee411))_0x15b1fe['is']('element','footnotesDefinitions')&&_0xdf0c7['push'](_0x15b1fe);for(const _0x25892a of _0xdf0c7)_0x55d1e4['remove'](_0x25892a);}(_0xb996cc,_0x2b07ef['content']),!_0x24e240)return;const {selection:_0x26adfd}=_0x2b7cd8['document'],_0x34c9b0=_0x26adfd['getFirstRange']()['root'];_0xcb729a&&!_0x1d5f9e||(_0xcb729a=c(_0xb996cc,_0x2b07ef['content']),_0xcb729a||=_0x351d35['_insertEmptyFootnotesDefinitionsContainer'](_0xb996cc,_0x34c9b0));const _0x1fe5c2=Array['from'](_0x26adfd['getRanges']())['flatMap'](l),_0x22ddf0=function(_0x2760d0,_0xd096c2,_0x2cc447){const _0x4a660f=Object['create'](null);for(const {item:_0x3fd113}of _0x2760d0['createRangeIn'](_0xd096c2))if(_0x3fd113['is']('element','footnoteRef')){const _0x45ec62=_0x3fd113['getAttribute']('footnoteId');if(!_0x2cc447(_0x45ec62))continue;_0x4a660f[_0x45ec62]||(_0x4a660f[_0x45ec62]=_0x25549a()),_0x2760d0['setAttribute']('footnoteId',_0x4a660f[_0x45ec62],_0x3fd113);}return _0x4a660f;}(_0xb996cc,_0x2b07ef['content'],_0x1014cb=>{if(!_0x381641)return!0x0;return!!_0x351d35['getFootnote'](_0x1014cb)&&!_0x1fe5c2['includes'](_0x1014cb);});for(const [_0x73d6ba,_0x3cfaaf]of Object['entries'](_0x24e240)){const _0x5620ad=_0x22ddf0[_0x73d6ba]||_0x73d6ba;let _0xef5448;if('string'!=typeof _0x3cfaaf)_0xef5448=_0x3cfaaf,_0x5620ad!==_0x73d6ba&&_0xb996cc['setAttribute']('footnoteId',_0x5620ad,_0xef5448);else{_0xef5448=_0xb996cc['createElement']('footnoteDefinition',{'footnoteId':_0x5620ad});const _0x53c848=_0x451899['data']['htmlProcessor']['toView'](_0x3cfaaf);let _0xd651a6;if(_0x5c758a)_0xd651a6=_0x451899['data']['toModel'](_0x53c848,_0xef5448);else{_0xd651a6=_0xb996cc['createElement']('footnoteInlineContent');const _0x4b8419=_0x451899['data']['toModel'](_0x53c848,_0xd651a6);_0xb996cc['insert'](_0x4b8419,_0xd651a6);}_0xb996cc['append'](_0xd651a6,_0xef5448);}_0xb996cc['insert'](_0xef5448,_0xcb729a,'end');}_0x24e240=null;});});}}function c(_0x1abb8a,_0x30ca65){for(const {item:_0x30cbf3}of _0x1abb8a['createRangeIn'](_0x30ca65))if(_0x30cbf3['is']('element','footnotesDefinitions'))return _0x30cbf3;return null;}function l(_0x2f34c2){const _0x59cce2=new Set();for(const {item:_0x584e70}of _0x2f34c2)_0x584e70['is']('element','footnoteRef')&&_0x59cce2['add'](_0x584e70['getAttribute']('footnoteId'));return Array['from'](_0x59cce2);}class i extends _0x5009a4{['licenseKey'];['_licenseKeyCheckInterval'];static get['pluginName'](){return'FootnotesUI';}static get['isOfficialPlugin'](){return!0x0;}static get['isPremiumPlugin'](){return!0x0;}['init'](){const {editor:_0x2af071}=this,{componentFactory:_0x4c4c95}=_0x2af071['ui'];_0x4c4c95['add']('insertFootnote',E(_0x2af071,_0x563ea8)),_0x4c4c95['add']('menuBar:insertFootnote',E(_0x2af071,_0x1aa535)),this['licenseKey']=this['editor']['config']['get']('licenseKey');const _0x484355=this['editor'];this['_licenseKeyCheckInterval']=setInterval(()=>{let _0x578fc0;for(const _0x3b47eb in _0x484355){const _0x133038=_0x3b47eb,_0x27bd9c=_0x484355[_0x133038];if('footnotesLicenseKeyValid'==_0x27bd9c||'footnotesLicenseKeyInvalid'==_0x27bd9c||'footnotesLicenseKeyExpired'==_0x27bd9c||'footnotesLicenseKeyDomainLimit'==_0x27bd9c||'footnotesLicenseKeyNotAllowed'==_0x27bd9c||'footnotesLicenseKeyEvaluationLimit'==_0x27bd9c||'footnotesLicenseKeyUsageLimit'==_0x27bd9c){delete _0x484355[_0x133038],_0x578fc0=_0x27bd9c,clearInterval(this['_licenseKeyCheckInterval']),this['_licenseKeyCheckInterval']=void 0x0;break;}}'footnotesLicenseKeyInvalid'==_0x578fc0&&_0x484355['_showLicenseError']('invalid'),'footnotesLicenseKeyExpired'==_0x578fc0&&_0x484355['_showLicenseError']('expired'),'footnotesLicenseKeyDomainLimit'==_0x578fc0&&_0x484355['_showLicenseError']('domainLimit'),'footnotesLicenseKeyNotAllowed'==_0x578fc0&&_0x484355['_showLicenseError']('featureNotAllowed','Footnotes'),'footnotesLicenseKeyEvaluationLimit'==_0x578fc0&&_0x484355['_showLicenseError']('evaluationLimit'),'footnotesLicenseKeyUsageLimit'==_0x578fc0&&_0x484355['_showLicenseError']('usageLimit');},0x3e8);}['destroy'](){super['destroy'](),this['_licenseKeyCheckInterval']&&clearInterval(this['_licenseKeyCheckInterval']);}}function E(_0x2b7797,_0x84c2ee){const _0x3422b8=_0x2b7797['commands']['get']('insertFootnote');return _0x286b3b=>{const {t:t}=_0x286b3b,_0x31ea9f=new _0x84c2ee(_0x286b3b),_0x32b4f1=_0x31ea9f instanceof _0x1aa535;return _0x31ea9f['bind']('isEnabled')['to'](_0x3422b8,'isEnabled'),_0x31ea9f['set']({'label':t(_0x32b4f1?'Footnote':'Insert\x20footnote'),'icon':_0x3b8fba,'tooltip':!0x0}),_0x31ea9f['on']('execute',()=>{_0x3422b8['execute'](),_0x2b7797['editing']['view']['focus']();}),_0x31ea9f;};}class lt extends _0x5009a4{static get['pluginName'](){return'Footnotes';}static get['requires'](){return[r,e,i];}static get['isOfficialPlugin'](){return!0x0;}static get['isPremiumPlugin'](){return!0x0;}}const W=['decimal','decimal-leading-zero','lower-latin','upper-latin','lower-alpha','upper-alpha','lower-roman','upper-roman'];class S extends _0x377a0b{['refresh'](){const {editor:_0x52c641}=this,_0x5b7371=_0x52c641['plugins']['get'](f)['getFootnotesDefinitionsObjectElement']();this['isEnabled']=!!_0x5b7371,this['value']=_0x5b7371?.['getAttribute']('footnotesListStyle')??null;}['execute']({value:_0x422ee1}){const {editor:_0xf5a097}=this,_0x18a367=_0xf5a097['plugins']['get'](f),_0xcbc169=_0x18a367['getFootnotesDefinitionsObjectElement']();_0xcbc169&&W['includes'](_0x422ee1)&&_0xf5a097['model']['change'](_0x4c7ce5=>{_0x4c7ce5['setAttribute']('footnotesListStyle',_0x422ee1,_0xcbc169),_0x18a367['_updateFootnotesCounters'](_0x4c7ce5);});}}class C extends _0x377a0b{['refresh'](){const {editor:_0x4cc736}=this,_0x46f80b=_0x4cc736['plugins']['get'](f)['getFootnotesDefinitionsObjectElement']();this['isEnabled']=!!_0x46f80b,this['value']=_0x46f80b?.['getAttribute']('footnotesListStart')??null;}['execute']({value:_0x270f19}){const {editor:_0x553c01}=this,_0x5d46f3=_0x553c01['plugins']['get'](f),_0x59755f=_0x5d46f3['getFootnotesDefinitionsObjectElement']();_0x59755f&&Number['isInteger'](_0x270f19)&&_0x553c01['model']['change'](_0x4d8693=>{_0x4d8693['setAttribute']('footnotesListStart',_0x270f19,_0x59755f),_0x5d46f3['_updateFootnotesCounters'](_0x4d8693);});}}class P extends _0x5009a4{static get['pluginName'](){return'FootnotesPropertiesEditing';}static get['requires'](){return[r,f];}static get['isOfficialPlugin'](){return!0x0;}static get['isPremiumPlugin'](){return!0x0;}['init'](){const {editor:_0x3f3c6b}=this;_0x3f3c6b['config']['define']('footnotes.footnotesProperties.defaultListStyle','decimal'),_0x3f3c6b['config']['define']('footnotes.footnotesProperties.defaultStartIndex',0x1),_0x3f3c6b['commands']['add']('footnotesStyle',new S(_0x3f3c6b)),_0x3f3c6b['commands']['add']('footnotesStart',new C(_0x3f3c6b)),this['_defineSchema'](),this['_defineConverters'](),this['_defineFormatter'](),this['_definePostfixer']();}['_defineSchema'](){const {editor:_0x36e52e}=this,{schema:_0x5c18e3}=_0x36e52e['model'];_0x5c18e3['extend']('footnotesDefinitions',{'allowAttributes':['footnotesListStyle','footnotesListStart']});}['_defineConverters'](){const {editor:_0x448afc}=this,{conversion:_0x3206d7,model:_0x506ead}=_0x448afc,{schema:_0x44b31c}=_0x506ead;_0x3206d7['for']('upcast')['add'](_0x4a2b86=>{_0x4a2b86['on']('element:ol',(_0x2e5f42,_0x2db37b,_0x3453e2)=>{const _0x265e81=_0x2db37b['viewItem'],_0x50f8e4=_0x2db37b['modelCursor']?.['parent'];_0x265e81['hasClass']('footnotes-list')&&_0x50f8e4?.['is']('element','footnotesDefinitions')&&(function(_0x3334a3,_0x5f2114,_0x47e629,_0x1145e5){if(!_0x1145e5['checkAttribute'](_0x5f2114,'footnotesListStart'))return;let _0x4ec192=0x1;const _0x499465=_0x47e629['consumable']['consume'](_0x3334a3,{'attributes':'start'});if(_0x499465){const _0x54ff56=Number['parseInt'](_0x3334a3['getAttribute']('start'),0xa);Number['isNaN'](_0x54ff56)||(_0x4ec192=_0x54ff56);}!_0x499465&&_0x5f2114['hasAttribute']('footnotesListStart')||_0x47e629['writer']['setAttribute']('footnotesListStart',_0x4ec192,_0x5f2114);}(_0x265e81,_0x50f8e4,_0x3453e2,_0x44b31c),function(_0x498d5e,_0xd356a9,_0x1bf938,_0xb271f9){if(!_0xb271f9['checkAttribute'](_0xd356a9,'footnotesListStyle'))return;let _0x467e87='decimal',_0x347ebc=!0x1;if(_0x1bf938['consumable']['consume'](_0x498d5e,{'attributes':'type'})){const _0xd4d7bb={0x1:'decimal','a':'lower-alpha','A':'upper-alpha','i':'lower-roman','I':'upper-roman'}[_0x498d5e['getAttribute']('type')];_0xd4d7bb&&(_0x467e87=_0xd4d7bb),_0x347ebc=!0x0;}_0x1bf938['consumable']['consume'](_0x498d5e,{'styles':'list-style-type'})&&(_0x467e87=function(_0x408b52){switch(_0x408b52){case'lower-alpha':return'lower-latin';case'upper-alpha':return'upper-latin';default:return _0x408b52;}}(_0x498d5e['getStyle']('list-style-type')),_0x347ebc=!0x0),!_0x347ebc&&_0xd356a9['hasAttribute']('footnotesListStyle')||_0x1bf938['writer']['setAttribute']('footnotesListStyle',_0x467e87,_0xd356a9);}(_0x265e81,_0x50f8e4,_0x3453e2,_0x44b31c));});}),_0x3206d7['for']('downcast')['add'](_0x2a24b3=>{_0x2a24b3['on']('attribute:footnotesListStart:footnotesDefinitions',(_0xced820,_0xd1ca3a,_0x132d6f)=>{if(!_0x132d6f['consumable']['consume'](_0xd1ca3a['item'],_0xced820['name']))return;const _0x142b9f=M(_0xd1ca3a['item'],_0x132d6f['mapper']),{attributeNewValue:_0x2f4edd}=_0xd1ca3a;null==_0x2f4edd||0x1===_0x2f4edd?_0x132d6f['writer']['removeAttribute']('start',_0x142b9f):_0x132d6f['writer']['setAttribute']('start',String(_0x2f4edd),_0x142b9f);}),_0x2a24b3['on']('attribute:footnotesListStyle:footnotesDefinitions',(_0x1a2960,_0x2989a6,_0x2a49f2)=>{if(!_0x2a49f2['consumable']['consume'](_0x2989a6['item'],_0x1a2960['name']))return;const _0x5a0771=M(_0x2989a6['item'],_0x2a49f2['mapper']),{attributeNewValue:_0x54a6a8}=_0x2989a6;_0x54a6a8&&'decimal'!==_0x54a6a8?_0x2a49f2['writer']['setStyle']('list-style-type',_0x54a6a8,_0x5a0771):_0x2a49f2['writer']['removeStyle']('list-style-type',_0x5a0771);});});}['_definePostfixer'](){const {editor:_0x203c06}=this,{model:_0x24a71d}=_0x203c06,_0x53dbb6=_0x203c06['plugins']['get'](f),_0x2396fd=this['_getDefaultListStyle'](),_0x459061=this['_getDefaultStartIndex']();_0x24a71d['document']['registerPostFixer'](_0x322907=>{const _0x396071=_0x24a71d['document']['differ']['getChanges']();let _0x538f74=!0x1;for(const _0x5ac4cd of _0x396071){if('insert'!==_0x5ac4cd['type']||'$text'===_0x5ac4cd['name'])continue;const _0x1f40a2=_0x24a71d['createRangeOn'](_0x5ac4cd['position']['nodeAfter']);for(const _0x135053 of _0x1f40a2['getItems']())_0x135053['is']('element','footnotesDefinitions')&&(!_0x135053['hasAttribute']('footnotesListStart')&&_0x24a71d['schema']['checkAttribute'](_0x135053,'footnotesListStart')&&(_0x322907['setAttribute']('footnotesListStart',_0x459061,_0x135053),_0x538f74=!0x0),!_0x135053['hasAttribute']('footnotesListStyle')&&_0x24a71d['schema']['checkAttribute'](_0x135053,'footnotesListStyle')&&(_0x322907['setAttribute']('footnotesListStyle',_0x2396fd,_0x135053),_0x538f74=!0x0));}return _0x538f74&&_0x53dbb6['_updateFootnotesCounters'](_0x322907),_0x538f74;});}['_defineFormatter'](){const {editor:_0x486e2d}=this;_0x486e2d['plugins']['get'](f)['setFootnoteFormatter'](_0x5aa04f=>this['_formatFootnoteListValue'](_0x5aa04f));}['_getDefaultListStyle'](){return this['editor']['config']['get']('footnotes.footnotesProperties.defaultListStyle');}['_getDefaultStartIndex'](){return this['editor']['config']['get']('footnotes.footnotesProperties.defaultStartIndex');}['_formatFootnoteListValue']({container:_0x41340f,value:_0x84efef,digits:_0x16f223}){const _0x5b9b0a=_0x41340f['getAttribute']('footnotesListStyle'),_0x5dd4f0=_0x41340f['getAttribute']('footnotesListStart'),_0x107d44=Math['floor'](_0x84efef)+(_0x5dd4f0??0x1)-0x1;switch(_0x5b9b0a){case'decimal-leading-zero':return function(_0x58cfe0,_0x4a1267){return String(_0x58cfe0)['padStart'](_0x4a1267,'0');}(_0x107d44,Math['max'](0x2,_0x16f223));case'lower-alpha':case'lower-latin':return N(_0x107d44,!0x1);case'upper-alpha':case'upper-latin':return N(_0x107d44,!0x0);case'lower-roman':return X(_0x107d44,!0x1);case'upper-roman':return X(_0x107d44,!0x0);default:return String(_0x107d44);}}}function M(_0x3f1841,_0x1aee69){const _0x2fcf38=_0x1aee69['toViewElement'](_0x3f1841);return Array['from'](_0x2fcf38['getChildren']())['find'](_0x2bf30c=>_0x2bf30c['is']('element','ol')&&_0x2bf30c['hasClass']('footnotes-list'));}function N(_0x1b5a1f,_0x497a84){let _0x2ca6ac='',_0x2b5c44=_0x1b5a1f;for(;_0x2b5c44>0x0;){const _0x3f7ff2=(_0x2b5c44-0x1)%0x1a;_0x2ca6ac=String['fromCharCode'](0x61+_0x3f7ff2)+_0x2ca6ac,_0x2b5c44=Math['floor']((_0x2b5c44-0x1)/0x1a);}return _0x497a84?_0x2ca6ac['toUpperCase']():_0x2ca6ac;}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(_0x3fb5a2,_0x2969c5){let _0x575a15='',_0x14920e=_0x3fb5a2;for(const {value:_0x5f13e6,numeral:_0x534964}of V)for(;_0x14920e>=_0x5f13e6;)_0x575a15+=_0x534964,_0x14920e-=_0x5f13e6;return _0x2969c5?_0x575a15:_0x575a15['toLowerCase']();}class J extends _0x1f1e08{['children'];['stylesView']=null;['additionalProperties']=null;['startIndexFieldView']=null;['focusTracker']=new rt();['keystrokes']=new nt();['focusables']=new _0x30a9c6();['focusCycler'];constructor(_0x185b40,{styleButtonViews:_0x1f3da3,styleGridAriaLabel:_0x2900ce}){super(_0x185b40),(this['focusCycler']=new tt({'focusables':this['focusables'],'focusTracker':this['focusTracker'],'keystrokeHandler':this['keystrokes'],'actions':{'focusPrevious':'shift\x20+\x20tab','focusNext':'tab'}}),this['children']=this['createCollection'](),this['stylesView']=this['_appendStylesView'](_0x1f3da3,_0x2900ce),[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 _0x5787d6 of this['stylesView']['children'])this['stylesView']['focusTracker']['add'](_0x5787d6['element']);st({'keystrokeHandler':this['stylesView']['keystrokes'],'focusTracker':this['stylesView']['focusTracker'],'gridItems':this['stylesView']['children'],'numberOfColumns':()=>at['window']['getComputedStyle'](this['stylesView']['element'])['getPropertyValue']('grid-template-columns')['split']('\x20')['length'],'uiLanguageDirection':this['locale']&&this['locale']['uiLanguageDirection']});}if(this['startIndexFieldView']){this['focusables']['add'](this['startIndexFieldView']),this['focusTracker']['add'](this['startIndexFieldView']['element']);const _0x192efb=_0x1081e0=>_0x1081e0['stopPropagation']();this['keystrokes']['set']('arrowright',_0x192efb),this['keystrokes']['set']('arrowleft',_0x192efb),this['keystrokes']['set']('arrowup',_0x192efb),this['keystrokes']['set']('arrowdown',_0x192efb);}this['keystrokes']['listenTo'](this['element']);}['focus'](){this['focusCycler']['focusFirst']();}['focusLast'](){this['focusCycler']['focusLast']();}['destroy'](){super['destroy'](),this['focusTracker']['destroy'](),this['keystrokes']['destroy']();}['_appendStylesView'](_0x55822a,_0x55b135){const _0x104cda=new _0x1f1e08(this['locale']);return _0x104cda['children']=_0x104cda['createCollection'](),_0x104cda['children']['addMany'](_0x55822a),_0x104cda['setTemplate']({'tag':'div','attributes':{'aria-label':_0x55b135,'class':['ck','ck-footnotes-definitions-styles-list']},'children':_0x104cda['children']}),_0x104cda['children']['delegate']('execute')['to'](this),_0x104cda['focus']=function(){for(const _0x1b02a1 of this['children'])if(_0x1b02a1 instanceof _0x563ea8&&_0x1b02a1['isOn'])return void _0x1b02a1['focus']();this['children']['first']['focus']();},_0x104cda['focusTracker']=new rt(),_0x104cda['keystrokes']=new nt(),_0x104cda['render'](),_0x104cda['keystrokes']['listenTo'](_0x104cda['element']),this['children']['add'](_0x104cda),_0x104cda;}['_appendAdditionalPropertiesCollapsibleView'](){const {t:t}=this['locale'],_0x420409=this['_createStartIndexPropertyView'](),_0xd4d361=[_0x420409],_0x1986c8=new it(this['locale'],_0xd4d361);return _0x1986c8['set']({'label':t('Footnotes\x20properties'),'isCollapsed':!0x0}),_0x1986c8['buttonView']['bind']('isEnabled')['toMany'](_0xd4d361,'isEnabled',(..._0x3eac0b)=>_0x3eac0b['some'](_0x5e5599=>_0x5e5599)),_0x1986c8['buttonView']['on']('change:isEnabled',(_0x3b334c,_0x1f0a37,_0x4a4dae)=>{_0x4a4dae||(_0x1986c8['isCollapsed']=!0x0);}),this['children']['add'](_0x1986c8),[_0x420409,_0x1986c8];}['_createStartIndexPropertyView'](){const {t:t}=this['locale'],_0x5d20cb=new et(this['locale'],ot);return _0x5d20cb['set']({'label':t('Footnotes\x20start\x20at'),'class':'ck-footnotes-definitions-properties__start-index'}),_0x5d20cb['fieldView']['set']({'min':0x0,'max':Math['pow'](0x2,0x1e),'step':0x1,'value':0x1,'inputMode':'numeric'}),_0x5d20cb['fieldView']['on']('input',()=>{const _0x3d4b16=_0x5d20cb['fieldView']['element'],_0x507188=_0x3d4b16['valueAsNumber'];Number['isNaN'](_0x507188)?_0x5d20cb['errorText']=t('Invalid\x20footnotes\x20start\x20index\x20value.'):_0x3d4b16['checkValidity']()?this['fire']('footnotesListStart',{'startIndex':_0x507188}):_0x5d20cb['errorText']=t(_0x507188<0x0?'Footnotes\x20start\x20index\x20must\x20be\x20greater\x20than\x200.':'Footnotes\x20start\x20index\x20is\x20too\x20large.');}),_0x5d20cb;}}class j extends _0x5009a4{static get['pluginName'](){return'FootnotesPropertiesUI';}static get['requires'](){return[_0x5b18ee,_0x2e8462];}static get['isOfficialPlugin'](){return!0x0;}static get['isPremiumPlugin'](){return!0x0;}['init'](){const {editor:_0x5a2bce}=this,{componentFactory:_0xddddd4}=_0x5a2bce['ui'];_0x5a2bce['config']['define']('footnotes.footnotesProperties.toolbar',['footnotesStyle']),_0xddddd4['add']('footnotesStyle',function(_0x56e62f){return _0x3bc8b1=>{const {t:t}=_0x3bc8b1,_0x30ee70=_0x56e62f['commands']['get']('footnotesStyle'),_0x4e4746=_0x57c530(_0x3bc8b1),{buttonView:_0x530418}=_0x4e4746;return _0x4e4746['class']='ck-footnotes-styles-dropdown',_0x4e4746['bind']('isEnabled')['to'](_0x30ee70,'isEnabled'),_0x530418['set']({'label':t('Footnotes\x20style'),'icon':_0x3b8fba,'tooltip':!0x0}),_0x4e4746['once']('change:isOpen',()=>{const _0x3221d7=function({editor:_0x518a08,dropdownView:_0x40b5b2}){const {t:t}=_0x518a08['locale'],_0x57601d=t('Footnotes\x20definitions\x20styles'),_0x1a21b3=function(_0x3f2525){const t=_0x3f2525['locale']['t'],_0x364da2=[{'label':t('Toggle\x20the\x20decimal\x20footnotes\x20style'),'tooltip':t('Decimal\x20footnotes'),'style':'decimal','icon':_0x502fc6},{'label':t('Toggle\x20the\x20decimal\x20with\x20leading\x20zero\x20footnotes\x20style'),'tooltip':t('Decimal\x20footnotes\x20with\x20leading\x20zero'),'style':'decimal-leading-zero','icon':_0x35e218},{'label':t('Toggle\x20the\x20lower–roman\x20footnotes\x20style'),'tooltip':t('Lower–roman\x20footnotes'),'style':'lower-roman','icon':_0x261eb7},{'label':t('Toggle\x20the\x20upper–roman\x20footnotes\x20style'),'tooltip':t('Upper-roman\x20footnotes'),'style':'upper-roman','icon':_0x3f68b7},{'label':t('Toggle\x20the\x20lower–latin\x20footnotes\x20style'),'tooltip':t('Lower-latin\x20footnotes'),'style':'lower-latin','icon':_0x5b5f11},{'label':t('Toggle\x20the\x20upper–latin\x20footnotes\x20style'),'tooltip':t('Upper-latin\x20footnotes'),'style':'upper-latin','icon':_0x4d576a}];return _0x364da2['map'](function(_0xfb44f1){const _0xe17994=_0xfb44f1['locale'];return({label:_0x4633e1,icon:_0x56589e,tooltip:_0xd93b62,style:_0x4d9cb1})=>{const _0x1a788b=_0xfb44f1['commands']['get']('footnotesStyle'),_0x12b1f3=new _0x563ea8(_0xe17994);return _0x12b1f3['set']({'label':_0x4633e1,'icon':_0x56589e,'tooltip':_0xd93b62}),_0x12b1f3['bind']('isOn')['to'](_0x1a788b,'value',_0x2d7ce7=>_0x2d7ce7===_0x4d9cb1),_0x12b1f3['bind']('isEnabled')['to'](_0x1a788b,'isEnabled'),_0x12b1f3['on']('execute',()=>{_0xfb44f1['execute']('footnotesStyle',{'value':_0x4d9cb1}),_0xfb44f1['editing']['view']['focus']();}),_0x12b1f3;};}(_0x3f2525));}(_0x518a08),_0x37740e=new J(_0x518a08['locale'],{'styleGridAriaLabel':_0x57601d,'styleButtonViews':_0x1a21b3}),_0x60db67=_0x518a08['commands']['get']('footnotesStart');return _0x37740e['startIndexFieldView']['bind']('isEnabled')['to'](_0x60db67),_0x37740e['startIndexFieldView']['fieldView']['bind']('value')['to'](_0x60db67),_0x37740e['on']('footnotesListStart',(_0x33c683,_0xd3bff4)=>{_0x518a08['execute']('footnotesStart',{'value':_0xd3bff4['startIndex']});}),_0x37740e['delegate']('execute')['to'](_0x40b5b2),_0x37740e;}({'editor':_0x56e62f,'dropdownView':_0x4e4746});_0x4e4746['panelView']['children']['add'](_0x3221d7);}),_0x4e4746;};}(_0x5a2bce));}['afterInit'](){const {editor:_0x1abe12}=this,{t:t}=_0x1abe12['locale'],_0x218d83=_0x1abe12['plugins']['get'](_0x2e8462),{defaultPositions:_0x4936d8}=_0x17eed1;_0x218d83['register']('footnotesDefinitions',{'ariaLabel':t('Footnotes\x20definitions\x20toolbar'),'items':_0x1abe12['config']['get']('footnotes.footnotesProperties.toolbar'),'balloonClassName':'ck-footnotes-style-balloon\x20ck-toolbar-container','getRelatedElement':_0x12422c=>{let _0xc738ee=_0x12422c['getFirstPosition']()?.['parent'];return _0xc738ee?.['is']('$text')&&(_0xc738ee=_0xc738ee['parent']),_0xc738ee?.['is']('element')?_0xc738ee['findAncestor'](Q):null;},'positions':[_0x4936d8['southArrowNorth'],_0x4936d8['southArrowNorthMiddleWest'],_0x4936d8['southArrowNorthMiddleEast'],_0x4936d8['southArrowNorthWest'],_0x4936d8['southArrowNorthEast'],_0x4936d8['northArrowSouth'],_0x4936d8['northArrowSouthMiddleWest'],_0x4936d8['northArrowSouthMiddleEast'],_0x4936d8['northArrowSouthWest'],_0x4936d8['northArrowSouthEast'],_0x4936d8['viewportStickyNorth']]});}}class ft extends _0x5009a4{static get['pluginName'](){return'FootnotesProperties';}static get['requires'](){return[P,j];}static get['isOfficialPlugin'](){return!0x0;}static get['isPremiumPlugin'](){return!0x0;}}export{lt as Footnotes,e as FootnotesClipboard,r as FootnotesEditing,ft as FootnotesProperties,P as FootnotesPropertiesEditing,j as FootnotesPropertiesUI,C as FootnotesStartCommand,S as FootnotesStyleCommand,f as FootnotesTracker,i as FootnotesUI,h as InsertFootnoteCommand};
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- export default{'af':{'dictionary':{'Footnote':'','Footnotes':'','Footnotes\x20properties':'','Footnotes\x20start\x20at':'','Invalid\x20footnotes\x20start\x20index\x20value.':'','Footnotes\x20start\x20index\x20is\x20too\x20large.':'','Footnotes\x20start\x20index\x20must\x20be\x20greater\x20than\x200.':'','Footnote\x20%0.\x20Press\x20ENTER\x20to\x20jump\x20to\x20footnote\x20definition.':'','Footnote\x20content.':'','Footnotes\x20definitions\x20styles':'','Footnotes\x20definitions\x20toolbar':'','Insert\x20footnote':'','Footnotes\x20style':'','Toggle\x20the\x20decimal\x20footnotes\x20style':'','Decimal\x20footnotes':'','Toggle\x20the\x20decimal\x20with\x20leading\x20zero\x20footnotes\x20style':'','Decimal\x20footnotes\x20with\x20leading\x20zero':'','Lower–roman\x20footnotes':'','Upper-roman\x20footnotes':'','Lower-latin\x20footnotes':'','Upper-latin\x20footnotes':'','Toggle\x20the\x20lower–roman\x20footnotes\x20style':'','Toggle\x20the\x20upper–roman\x20footnotes\x20style':'','Toggle\x20the\x20lower–latin\x20footnotes\x20style':'','Toggle\x20the\x20upper–latin\x20footnotes\x20style':''},'getPluralForm':_0x522e22=>0x1!=_0x522e22}};
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':_0x380031=>0x1!=_0x380031}};
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- (_0x517cd2=>{const {af:{dictionary:_0x2c1da8,getPluralForm:_0x3cdad0}}={'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':_0x5d6616=>0x1!=_0x5d6616}};_0x517cd2['af']||={'dictionary':{},'getPluralForm':null},_0x517cd2['af']['dictionary']=Object['assign'](_0x517cd2['af']['dictionary'],_0x2c1da8),_0x517cd2['af']['getPluralForm']=_0x3cdad0;})(window['CKEDITOR_TRANSLATIONS']||={});
23
+ (_0x2a1213=>{const {af:{dictionary:_0x39eb95,getPluralForm:_0xa1082f}}={'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':_0xe07ef2=>0x1!=_0xe07ef2}};_0x2a1213['af']||={'dictionary':{},'getPluralForm':null},_0x2a1213['af']['dictionary']=Object['assign'](_0x2a1213['af']['dictionary'],_0x39eb95),_0x2a1213['af']['getPluralForm']=_0xa1082f;})(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':_0x3a1c3b=>0x0==_0x3a1c3b?0x0:0x1==_0x3a1c3b?0x1:0x2==_0x3a1c3b?0x2:_0x3a1c3b%0x64>=0x3&&_0x3a1c3b%0x64<=0xa?0x3:_0x3a1c3b%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':_0x359f50=>0x0==_0x359f50?0x0:0x1==_0x359f50?0x1:0x2==_0x359f50?0x2:_0x359f50%0x64>=0x3&&_0x359f50%0x64<=0xa?0x3:_0x359f50%0x64>=0xb?0x4:0x5}};
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- (_0x10c0eb=>{const {ar:{dictionary:_0x2cba79,getPluralForm:_0x4472f0}}={'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':_0x58e61c=>0x0==_0x58e61c?0x0:0x1==_0x58e61c?0x1:0x2==_0x58e61c?0x2:_0x58e61c%0x64>=0x3&&_0x58e61c%0x64<=0xa?0x3:_0x58e61c%0x64>=0xb?0x4:0x5}};_0x10c0eb['ar']||={'dictionary':{},'getPluralForm':null},_0x10c0eb['ar']['dictionary']=Object['assign'](_0x10c0eb['ar']['dictionary'],_0x2cba79),_0x10c0eb['ar']['getPluralForm']=_0x4472f0;})(window['CKEDITOR_TRANSLATIONS']||={});
23
+ (_0x46621b=>{const {ar:{dictionary:_0x100265,getPluralForm:_0x2a2f03}}={'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':_0x3fefe1=>0x0==_0x3fefe1?0x0:0x1==_0x3fefe1?0x1:0x2==_0x3fefe1?0x2:_0x3fefe1%0x64>=0x3&&_0x3fefe1%0x64<=0xa?0x3:_0x3fefe1%0x64>=0xb?0x4:0x5}};_0x46621b['ar']||={'dictionary':{},'getPluralForm':null},_0x46621b['ar']['dictionary']=Object['assign'](_0x46621b['ar']['dictionary'],_0x100265),_0x46621b['ar']['getPluralForm']=_0x2a2f03;})(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':_0x25ec18=>0x1!=_0x25ec18}};
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':_0x3762e3=>0x1!=_0x3762e3}};
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- (_0x34529b=>{const {ast:{dictionary:_0x41e4df,getPluralForm:_0x3bea7c}}={'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':_0x46202e=>0x1!=_0x46202e}};_0x34529b['ast']||={'dictionary':{},'getPluralForm':null},_0x34529b['ast']['dictionary']=Object['assign'](_0x34529b['ast']['dictionary'],_0x41e4df),_0x34529b['ast']['getPluralForm']=_0x3bea7c;})(window['CKEDITOR_TRANSLATIONS']||={});
23
+ (_0x11c408=>{const {ast:{dictionary:_0x4d6a4b,getPluralForm:_0x552e29}}={'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':_0x8e6222=>0x1!=_0x8e6222}};_0x11c408['ast']||={'dictionary':{},'getPluralForm':null},_0x11c408['ast']['dictionary']=Object['assign'](_0x11c408['ast']['dictionary'],_0x4d6a4b),_0x11c408['ast']['getPluralForm']=_0x552e29;})(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':_0x438057=>0x1!=_0x438057}};
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':_0x2132a5=>0x1!=_0x2132a5}};
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- (_0x33e5b6=>{const {az:{dictionary:_0x540f51,getPluralForm:_0x4a85e8}}={'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':_0x11965f=>0x1!=_0x11965f}};_0x33e5b6['az']||={'dictionary':{},'getPluralForm':null},_0x33e5b6['az']['dictionary']=Object['assign'](_0x33e5b6['az']['dictionary'],_0x540f51),_0x33e5b6['az']['getPluralForm']=_0x4a85e8;})(window['CKEDITOR_TRANSLATIONS']||={});
23
+ (_0x5c7734=>{const {az:{dictionary:_0x246351,getPluralForm:_0x5a8f4d}}={'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':_0xb60db3=>0x1!=_0xb60db3}};_0x5c7734['az']||={'dictionary':{},'getPluralForm':null},_0x5c7734['az']['dictionary']=Object['assign'](_0x5c7734['az']['dictionary'],_0x246351),_0x5c7734['az']['getPluralForm']=_0x5a8f4d;})(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':_0x50c35d=>_0x50c35d%0xa==0x1&&_0x50c35d%0x64!=0xb?0x0:_0x50c35d%0xa>=0x2&&_0x50c35d%0xa<=0x4&&(_0x50c35d%0x64<0xa||_0x50c35d%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':_0x167547=>_0x167547%0xa==0x1&&_0x167547%0x64!=0xb?0x0:_0x167547%0xa>=0x2&&_0x167547%0xa<=0x4&&(_0x167547%0x64<0xa||_0x167547%0x64>=0x14)?0x1:0x2}};