@ckeditor/ckeditor5-footnotes 47.5.0-alpha.7 → 47.5.0-alpha.8

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 _0x4b9cba,Command as _0x57d0f2}from'@ckeditor/ckeditor5-core/dist/index.js';import{toWidget as _0x59b9e8,isWidget as _0x2be15b,toWidgetEditable as _0x23ba3e,WidgetToolbarRepository as _0x14865a}from'@ckeditor/ckeditor5-widget/dist/index.js';import{uid as _0x294e74,logWarning as _0x4de24b,FocusTracker as ot,KeystrokeHandler as rt,global as nt}from'@ckeditor/ckeditor5-utils/dist/index.js';import{PointerObserver as _0x5a66b3,ClickObserver as _0x21efcf}from'@ckeditor/ckeditor5-engine/dist/index.js';import{ClipboardPipeline as _0x435026}from'@ckeditor/ckeditor5-clipboard/dist/index.js';import{MenuBarMenuListItemButtonView as _0x17d977,ButtonView as _0x1c6fe8,View as _0x266629,ViewCollection as _0x29b95f,FocusCycler as _0x5c0104,addKeyboardHandlingForGrid as tt,CollapsibleView as st,LabeledFieldView as it,createLabeledInputNumber as et,ContextualBalloon as _0x540f74,BalloonPanelView as _0x47ec6a,createDropdown as _0x3fe79f}from'@ckeditor/ckeditor5-ui/dist/index.js';import{IconFootnote as _0x5a10da,IconListStyleDecimal as _0x2949f1,IconListStyleDecimalLeadingZero as _0x6bcecb,IconListStyleLowerRoman as _0x370818,IconListStyleUpperRoman as _0x3e5a08,IconListStyleLowerLatin as _0x4574c1,IconListStyleUpperLatin as _0x81a412}from'@ckeditor/ckeditor5-icons/dist/index.js';class F{['_model'];['_elementName'];['_getElementKey'];['_trackedElements']=new Map();constructor(_0x5e7529,_0x48b562){this['_model']=_0x5e7529,this['_elementName']=_0x48b562['elementName'],this['_getElementKey']=_0x48b562['getElementKey'];}['reset'](){this['_trackedElements']['clear']();}['getChanges'](_0xa06cea){const _0x26f036=new Set(),_0x36eee6=new Map();for(const _0x5c1e78 of _0xa06cea){if('insert'===_0x5c1e78['type']&&'$text'!==_0x5c1e78['name']&&_0x5c1e78['position']['nodeAfter']){const _0x7d3ac=this['_model']['createRangeOn'](_0x5c1e78['position']['nodeAfter']);for(const _0x1dcf2d of _0x7d3ac['getItems']()){if(!_0x1dcf2d['is']('element',this['_elementName']))continue;const _0x1eaf59=this['_getElementKey'](_0x1dcf2d);_0x36eee6['has'](_0x1eaf59)||_0x36eee6['set'](_0x1eaf59,[]),_0x36eee6['get'](_0x1eaf59)['push'](_0x1dcf2d);}}if('remove'===_0x5c1e78['type']&&_0x5c1e78['name']===this['_elementName']){const _0x517edb=this['_getElementKey']({'getAttribute':_0x41f456=>_0x5c1e78['attributes']['get'](_0x41f456)});_0x26f036['add'](_0x517edb);}}for(const [_0xeecd7a,_0x247674]of this['_trackedElements'])'$graveyard'===_0x247674['root']['rootName']&&_0x26f036['add'](_0xeecd7a);for(const _0x52db7f of _0x26f036)this['_trackedElements']['delete'](_0x52db7f);for(const [_0x43ce26,_0x4c5a03]of _0x36eee6)this['_trackedElements']['set'](_0x43ce26,_0x4c5a03[_0x4c5a03['length']-0x1]);const _0x3be6a8=new Set();for(const [_0x2c0eb9,_0x5acbf3]of _0x36eee6)_0x26f036['has'](_0x2c0eb9)&&(_0x3be6a8['add'](_0x5acbf3[0x0]),_0x5acbf3['length']>0x1?_0x36eee6['set'](_0x2c0eb9,_0x5acbf3['slice'](0x1)):_0x36eee6['delete'](_0x2c0eb9),_0x26f036['delete'](_0x2c0eb9));return{'removed':Array['from'](_0x26f036),'inserted':Array['from'](_0x36eee6['values']())['flat'](),'moved':Array['from'](_0x3be6a8)};}}class f extends _0x4b9cba{['_footnotes']=[];['_footnotesDefinitions']=null;['_footnoteFormatter']=null;['_footnoteDefsContainerTracker'];['_footnoteRefsTracker'];['_footnoteDefsTracker'];static get['pluginName'](){return'FootnotesTracker';}static get['isOfficialPlugin'](){return!0x0;}static get['isPremiumPlugin'](){return!0x0;}constructor(_0x42df73){super(_0x42df73),this['_footnoteDefsContainerTracker']=new F(this['editor']['model'],{'elementName':'footnotesDefinitions','getElementKey':()=>'singleton'}),this['_footnoteRefsTracker']=new F(this['editor']['model'],{'elementName':'footnoteRef','getElementKey':_0x4b66ef=>_0x4b66ef['getAttribute']('footnoteId')}),this['_footnoteDefsTracker']=new F(this['editor']['model'],{'elementName':'footnoteDefinition','getElementKey':_0x40e4b9=>_0x40e4b9['getAttribute']('footnoteId')});}['init'](){const {editor:_0x24f53f}=this,{model:_0x4b72d4,data:_0x4f41d7}=_0x24f53f;_0x4b72d4['document']['registerPostFixer'](_0x56073d=>{const _0x231af4=_0x4b72d4['document']['differ']['getChanges']();let _0x461eaf=!0x1;return this['_handleFootnotesDefinitionsObjectChanges'](_0x56073d,_0x231af4)&&(_0x461eaf=!0x0),this['_handleFootnoteDefinitionsChanges'](_0x56073d,_0x231af4)&&(_0x461eaf=!0x0),this['_handleFootnoteReferencesChanges'](_0x56073d,_0x231af4)&&(_0x461eaf=!0x0),this['_ensureFootnotesReferencesHaveProperOrder'](_0x56073d)&&(_0x461eaf=!0x0),this['_handleFootnotesDefinitionsObjectSync'](_0x56073d)&&(_0x461eaf=!0x0),this['_sortFootnoteDefinitions'](_0x56073d)&&(_0x461eaf=!0x0),_0x461eaf;}),this['listenTo'](_0x4b72d4['document'],'change:data',()=>{_0x4b72d4['enqueueChange']({'isUndoable':!0x1},_0x122189=>{this['_ensureFootnotesDefinitionsContainerExists'](_0x122189);});},{'priority':'low'}),this['listenTo'](_0x4f41d7,'set',()=>{this['_footnotes']=[],this['_footnoteDefsContainerTracker']['reset'](),this['_footnoteRefsTracker']['reset'](),this['_footnoteDefsTracker']['reset']();},{'priority':'high'});}['getFootnotesDefinitionsObjectElement'](){return this['_footnotesDefinitions'];}['getFootnote'](_0x3ce9f1){return this['_footnotes']['find'](_0x2afb28=>_0x2afb28['id']===_0x3ce9f1)||null;}['getFootnotes'](){return Array['from'](this['_footnotes']);}['getFootnotesFormatter'](){return this['_footnoteFormatter'];}['setFootnoteFormatter'](_0x10b202){this['_footnoteFormatter']=_0x10b202;}['_updateFootnotesCounters'](_0x19d194,_0x3e652e=0x0){let _0x19e86f=!0x1;for(let _0x5d1a72=_0x3e652e;_0x5d1a72<this['_footnotes']['length'];_0x5d1a72++)this['_updateFootnoteRefCounter'](_0x19d194,_0x5d1a72)&&(_0x19e86f=!0x0);return _0x19e86f;}['_insertEmptyFootnotesDefinitionsContainer'](_0x373725,_0x32ce0a){const _0x57151f=_0x373725['createElement']('footnotesDefinitions',{});return _0x373725['append'](_0x57151f,_0x32ce0a),this['_footnotesDefinitions']=_0x57151f,_0x57151f;}['_ensureFootnotesDefinitionsContainerExists'](_0x20c981){if(!this['_footnotes']['length']||this['_footnotesDefinitions'])return;const _0x3d8585=this['_footnotes'][0x0]['reference']['root'],_0x4b346d=this['_insertEmptyFootnotesDefinitionsContainer'](_0x20c981,_0x3d8585);for(const _0xf51860 of this['_footnotes'])_0xf51860['definition']['parent']||_0x20c981['insert'](_0xf51860['definition'],_0x4b346d,'end');this['_updateFootnotesCounters'](_0x20c981);}['_handleFootnotesDefinitionsObjectChanges'](_0x3866b1,_0x27f295){let _0x7e723b=!0x1;const {inserted:_0x2add88,removed:_0x4aadd6,moved:_0x29449f}=this['_footnoteDefsContainerTracker']['getChanges'](_0x27f295);if(_0x29449f['length']&&(this['_footnotesDefinitions']=_0x29449f[0x0]),_0x2add88['length']){if(_0x2add88['length']>0x1||this['_footnotesDefinitions']&&_0x2add88['some'](_0x51b395=>_0x51b395!==this['_footnotesDefinitions'])){const _0x8f36db=_0x3866b1['createElement']('footnotesDefinitions',{}),_0x12f82a=[];this['_footnotesDefinitions']&&_0x12f82a['push'](this['_footnotesDefinitions']),_0x12f82a['push'](..._0x2add88),_0x3866b1['insert'](_0x8f36db,_0x12f82a[0x0],'before');for(const _0x5bb386 of _0x12f82a)_0x3866b1['move'](_0x3866b1['createRangeIn'](_0x5bb386),_0x3866b1['createPositionAt'](_0x8f36db,'end')),_0x3866b1['remove'](_0x5bb386);this['_footnotesDefinitions']=_0x8f36db,this['_updateFootnotesCounters'](_0x3866b1),_0x7e723b=!0x0;}else this['_footnotesDefinitions']=_0x2add88[0x0];}if(_0x4aadd6['length']&&'$graveyard'===this['_footnotesDefinitions']?.['root']['rootName']){for(const _0x2f15b2 of this['_footnotes'])_0x3866b1['remove'](_0x2f15b2['reference']),_0x7e723b=!0x0;this['_footnotes']=[],this['_footnotesDefinitions']=null;}return _0x7e723b;}['_handleFootnoteDefinitionsChanges'](_0x2ab83a,_0x29f970){let _0x131766=!0x1;const _0x13982d=this['editor']['config']['get']('footnotes.multiBlock'),{inserted:_0x45fb04,moved:_0x32d5bd}=this['_footnoteDefsTracker']['getChanges'](_0x29f970);for(const _0x1bade3 of[..._0x32d5bd,..._0x45fb04]){const _0x24d58b=_0x1bade3['getAttribute']('footnoteId'),_0xd9d9ba=this['getFootnote'](_0x24d58b);_0xd9d9ba&&(_0xd9d9ba['definition']=_0x1bade3),_(_0x2ab83a,_0x13982d,_0x1bade3)&&(_0x131766=!0x0);}return _0x131766;}['_handleFootnoteReferencesChanges'](_0xfbccd0,_0x1506c7){let _0x153263=!0x1;const {removed:_0x5b44ab,inserted:_0x554787,moved:_0x469f0e}=this['_footnoteRefsTracker']['getChanges'](_0x1506c7);for(const _0x3ba8dc of _0x5b44ab)this['_handleRemoveFootnoteReferenceById'](_0xfbccd0,_0x3ba8dc)&&(_0x153263=!0x0);for(const _0x486100 of _0x554787)this['_handleInsertedFootnoteReference'](_0xfbccd0,_0x486100)&&(_0x153263=!0x0);for(const _0x3c1954 of _0x469f0e)this['_handleMovedFootnoteReference'](_0xfbccd0,_0x3c1954)&&(_0x153263=!0x0);return _0x153263;}['_handleFootnotesDefinitionsObjectSync'](_0x56f3bf){if(!this['_footnotesDefinitions'])return!0x1;let _0x3b185b=!0x1;if(this['_footnotesDefinitions']['childCount']!==this['_footnotes']['length']){const _0xea536c=[];for(const _0x59a0e8 of this['_footnotesDefinitions']['getChildren']()){const _0x54d26c=_0x59a0e8['getAttribute']('footnoteId');this['getFootnote'](_0x54d26c)||(_0xea536c['unshift'](_0x59a0e8),_0x3b185b=!0x0);}for(const _0x2615df of _0xea536c)_0x56f3bf['remove'](_0x2615df);}const _0x1dd232=new Set(),_0x28eed6=[];for(const _0x1d3e5e of this['_footnotesDefinitions']['getChildren']()){const _0x18008c=_0x1d3e5e['getAttribute']('footnoteId');_0x1dd232['has'](_0x18008c)?(_0x28eed6['unshift'](_0x1d3e5e),_0x3b185b=!0x0):_0x1dd232['add'](_0x18008c);}for(const _0x17655b of _0x28eed6)_0x56f3bf['remove'](_0x17655b);return this['_footnotesDefinitions']['childCount']||(_0x56f3bf['remove'](this['_footnotesDefinitions']),this['_footnotesDefinitions']=null,_0x3b185b=!0x0),_0x3b185b;}['_handleInsertedFootnoteReference'](_0x1a29a6,_0x2c9e2b){if(this['_footnotes']['find'](_0x5b77c7=>_0x5b77c7['reference']===_0x2c9e2b))return!0x1;let _0x4f442c=!0x1;const _0x1f7c3d=_0x2c9e2b['getAttribute']('footnoteId'),_0xce8818=this['_footnotes']['findIndex'](_0x3f9c18=>_0x3f9c18['id']===_0x1f7c3d);-0x1!==_0xce8818&&(_0x1a29a6['remove'](this['_footnotes'][_0xce8818]['reference']),this['_footnotes']['splice'](_0xce8818,0x1),_0x4f442c=!0x0);let _0x3009f7=this['_footnotesDefinitions']?function(_0x376e85,_0x4dacaf){for(const _0xaabcdc of _0x376e85['getChildren']())if(_0xaabcdc['getAttribute']('footnoteId')===_0x4dacaf)return _0xaabcdc;return null;}(this['_footnotesDefinitions'],_0x1f7c3d):null;_0x3009f7||(_0x3009f7=_0x1a29a6['createElement']('footnoteDefinition',{'footnoteId':_0x1f7c3d}),this['_footnotesDefinitions']&&(_0x1a29a6['insert'](_0x3009f7,this['_footnotesDefinitions'],'end'),_0x4f442c=!0x0));const _0x25da31={'id':_0x1f7c3d,'reference':_0x2c9e2b,'definition':_0x3009f7},_0x43cf7c=I(this['editor']['model'],this['_footnotes'],_0x2c9e2b);this['_footnotes']['splice'](_0x43cf7c,0x0,_0x25da31);let _0x3c1e80=_0x43cf7c;return-0x1!==_0xce8818&&(_0x3c1e80=Math['min'](_0x43cf7c,_0xce8818)),this['_updateFootnotesCounters'](_0x1a29a6,_0x3c1e80)&&(_0x4f442c=!0x0),_0x4f442c;}['_handleRemoveFootnoteReferenceById'](_0x11ba4b,_0x59b2ee){const _0xd459d5=this['_footnotes']['findIndex'](_0x25cd63=>_0x25cd63['id']===_0x59b2ee);if(-0x1===_0xd459d5)return!0x1;let _0x4d0ec7=!0x1;const _0x2362bb=this['_footnotes'][_0xd459d5];return'$graveyard'!==_0x2362bb['definition']['root']['rootName']&&(_0x11ba4b['remove'](_0x2362bb['definition']),_0x4d0ec7=!0x0),this['_footnotes']['splice'](_0xd459d5,0x1),this['_updateFootnotesCounters'](_0x11ba4b,_0xd459d5)&&(_0x4d0ec7=!0x0),_0x4d0ec7;}['_handleMovedFootnoteReference'](_0x12d7b5,_0x4d015d){const _0x242a70=_0x4d015d['getAttribute']('footnoteId'),_0x18908d=this['_footnotes']['findIndex'](_0x325e93=>_0x325e93['id']===_0x242a70),_0x5e2a6b=this['_footnotes'][_0x18908d];let _0xae1a7a=!0x1;_0x5e2a6b['reference']=_0x4d015d,this['_footnotes']['splice'](_0x18908d,0x1);const _0x18f6f9=I(this['editor']['model'],this['_footnotes'],_0x4d015d);return this['_footnotes']['splice'](_0x18f6f9,0x0,_0x5e2a6b),this['_updateFootnotesCounters'](_0x12d7b5,Math['min'](_0x18908d,_0x18f6f9))&&(_0xae1a7a=!0x0),_0xae1a7a;}['_updateFootnoteRefCounter'](_0x2433e3,_0x11f6b0){if(!this['_footnotesDefinitions'])return!0x1;const _0x341d0f=this['_footnotes'][_0x11f6b0];let _0x5ba013;return _0x5ba013=this['_footnoteFormatter']?this['_footnoteFormatter']({'footnote':_0x341d0f,'container':this['_footnotesDefinitions'],'digits':String(this['_footnotes']['length'])['length'],'value':_0x11f6b0+0x1}):String(_0x11f6b0+0x1),_0x341d0f['reference']['getAttribute']('footnoteCounter')!=_0x5ba013&&(_0x2433e3['setAttribute']('footnoteCounter',_0x5ba013,_0x341d0f['reference']),!0x0);}['_sortFootnoteDefinitions'](_0x4d1515){if(!this['_footnotesDefinitions']||this['_footnotes']['length']<0x2)return!0x1;if(function(_0x1ad5e1,_0x36f689){if(_0x1ad5e1['length']!==_0x36f689['length'])return!0x1;for(let _0x3c9754=0x0;_0x3c9754<_0x1ad5e1['length'];_0x3c9754++)if(_0x1ad5e1[_0x3c9754]!==_0x36f689[_0x3c9754])return!0x1;return!0x0;}(this['_footnotes']['map'](_0x423ad3=>_0x423ad3['id']),Array['from'](this['_footnotesDefinitions']['getChildren']())['map'](_0x5ef317=>_0x5ef317['getAttribute']('footnoteId'))))return!0x1;let _0x19f52c=!0x1;for(let _0x42ad76=0x0;_0x42ad76<this['_footnotes']['length'];_0x42ad76++){const _0xb051eb=this['_footnotes'][_0x42ad76],_0x55dcc8=_0x4d1515['createPositionBefore'](_0xb051eb['definition']),_0x4e51e4=_0x4d1515['createPositionAt'](this['_footnotesDefinitions'],_0x42ad76);_0x55dcc8['isEqual'](_0x4e51e4)||(_0x4d1515['move'](_0x4d1515['createRangeOn'](_0xb051eb['definition']),_0x4e51e4),_0x19f52c=!0x0);}return _0x19f52c;}['_ensureFootnotesReferencesHaveProperOrder'](_0x5d224c){if(!this['_footnotes']['length'])return!0x1;const {model:_0x1f985f}=this['editor'];let _0x1df309=!0x1;for(let _0x34fd79=0x0;_0x34fd79<this['_footnotes']['length']-0x1;_0x34fd79++){const _0x342925=this['_footnotes'][_0x34fd79],_0x51f891=this['_footnotes'][_0x34fd79+0x1],_0x4f3347=_0x1f985f['createPositionBefore'](_0x342925['reference']),_0x31f2d1=_0x1f985f['createPositionBefore'](_0x51f891['reference']);'after'===_0x4f3347['compareWith'](_0x31f2d1)&&(this['_handleMovedFootnoteReference'](_0x5d224c,_0x342925['reference']),_0x34fd79=-0x1,_0x1df309=!0x0);}return _0x1df309;}}function _(_0x2bcc6e,_0x2bef0e,_0x50b0a8){if(_0x50b0a8['childCount'])return!0x1;const _0x12db86=_0x2bef0e?'paragraph':'footnoteInlineContent';return _0x2bcc6e['insert'](_0x2bcc6e['createElement'](_0x12db86),_0x50b0a8),!0x0;}function I(_0x27a973,_0x47df7e,_0x4a46c1){if(0x0===_0x47df7e['length'])return 0x0;const _0x143380=_0x27a973['createPositionBefore'](_0x4a46c1);for(let _0x50fece=0x0;_0x50fece<_0x47df7e['length'];_0x50fece++){const _0x22aa1e=_0x47df7e[_0x50fece],_0x4edfc8=_0x27a973['createPositionBefore'](_0x22aa1e['reference']);if('before'===_0x143380['compareWith'](_0x4edfc8))return _0x50fece;}const _0x22bbb6=_0x4a46c1['root'];let _0x97b51b=-0x1;for(let _0x49cc27=_0x47df7e['length']-0x1;_0x49cc27>=0x0;_0x49cc27--)if(_0x47df7e[_0x49cc27]['reference']['root']===_0x22bbb6){_0x97b51b=_0x49cc27;break;}if(-0x1!==_0x97b51b)return _0x97b51b+0x1;const _0x55ab7f=_0x27a973['document']['getRootNames'](),_0x280e60=_0x55ab7f['indexOf'](_0x22bbb6['rootName']),_0x388a3b=_0x55ab7f[_0x280e60+0x1];if(_0x388a3b){for(let _0x5ce788=0x0;_0x5ce788<_0x47df7e['length'];_0x5ce788++)if(_0x47df7e[_0x5ce788]['reference']['root']['rootName']===_0x388a3b)return _0x5ce788;}return _0x47df7e['length'];}class h extends _0x57d0f2{['refresh'](){const _0xd46d5a=this['editor']['model']['document']['selection'],_0x91fe2=this['_getPositionToInsertFootnote'](_0xd46d5a);this['isEnabled']=!!_0x91fe2;}['execute'](_0xff26da){const {editor:_0x286457}=this,{model:_0x451013}=_0x286457,{selection:_0x599778}=_0x451013['document'],_0x5c88b0=this['_getPositionToInsertFootnote'](_0x599778);if(!_0x5c88b0)return;const _0x26290e=_0x286457['plugins']['get']('FootnotesEditing'),_0x1d6b16=_0xff26da?.['footnoteId']??_0x294e74();!function(_0x4b27a6){return'string'==typeof _0x4b27a6&&_0x4b27a6['length']>0x0&&!/\s/['test'](_0x4b27a6)&&!/^\d/['test'](_0x4b27a6);}(_0x1d6b16)?_0x4de24b('insert-footnote-command-executed-with-invalid-id'):(_0x451013['change'](_0x1fb291=>{const _0x145321=_0x1fb291['createElement']('footnoteRef',{'footnoteId':_0x1d6b16});_0x451013['insertObject'](_0x145321,_0x5c88b0,null);}),_0x26290e['_moveSelectionToFootnoteDefinition'](_0x1d6b16));}['_getPositionToInsertFootnote'](_0x381d31){const {model:_0x5355cb}=this['editor'],{schema:_0x49105}=_0x5355cb,_0x224a8e=_0x381d31['getFirstRange']();for(const _0x379733 of _0x224a8e['getItems']())if(_0x49105['isBlock'](_0x379733)||_0x49105['isObject'](_0x379733))return null;const _0x4201c2=_0x224a8e['end'];return _0x49105['checkChild'](_0x4201c2,'footnoteRef')?_0x4201c2:null;}}class r extends _0x4b9cba{static get['pluginName'](){return'FootnotesEditing';}static get['requires'](){return[f];}static get['isOfficialPlugin'](){return!0x0;}static get['isPremiumPlugin'](){return!0x0;}['init'](){const {editor:_0x33e958}=this;_0x33e958['config']['define']('footnotes.multiBlock',!0x0),_0x33e958['commands']['add']('insertFootnote',new h(_0x33e958)),this['_defineSchema'](),this['_defineRefsConverters'](),this['_defineDefinitionsConverters'](),this['_defineDefinitionConverters'](),this['_defineBogusParagraphConverters'](),this['_defineKeyboardHandlers'](),this['_defineClickHandlers']();}['afterInit'](){!async function(_0x323e50){const _0x36452b=_0x5a5053([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]),_0x50fea9=0x47a28506,_0x464e94=0x47a50456^_0x50fea9,_0x1ad3b8=window[_0x5a5053([0x44,0x61,0x74,0x65])][_0x5a5053([0x6e,0x6f,0x77])](),_0x5995cd=_0x323e50[_0x5a5053([0x65,0x64,0x69,0x74,0x6f,0x72])],_0x147ce7=new window[(_0x5a5053([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0x30654b=>{_0x5995cd[_0x5a5053([0x6f,0x6e,0x63,0x65])](_0x5a5053([0x72,0x65,0x61,0x64,0x79]),_0x30654b);}),_0x22ccad={[_0x5a5053([0x6b,0x74,0x79])]:_0x5a5053([0x45,0x43]),[_0x5a5053([0x75,0x73,0x65])]:_0x5a5053([0x73,0x69,0x67]),[_0x5a5053([0x63,0x72,0x76])]:_0x5a5053([0x50,0x2d,0x32,0x35,0x36]),[_0x5a5053([0x78])]:_0x5a5053([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]),[_0x5a5053([0x79])]:_0x5a5053([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]),[_0x5a5053([0x61,0x6c,0x67])]:_0x5a5053([0x45,0x53,0x32,0x35,0x36])},_0x23d3a9=_0x5995cd[_0x5a5053([0x63,0x6f,0x6e,0x66,0x69,0x67])][_0x5a5053([0x67,0x65,0x74])](_0x5a5053([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x4b,0x65,0x79]));async function _0x1006ee(){let _0x7aeec8,_0x54b783=null,_0x3d64f8=null;try{if(_0x23d3a9==_0x5a5053([0x47,0x50,0x4c]))return _0x5a5053([0x4e,0x6f,0x74,0x41,0x6c,0x6c,0x6f,0x77,0x65,0x64]);if(_0x7aeec8=_0x332a8e(),!_0x7aeec8)return _0x5a5053([0x49,0x6e,0x76,0x61,0x6c,0x69,0x64]);return _0x7aeec8[_0x5a5053([0x75,0x73,0x61,0x67,0x65,0x45,0x6e,0x64,0x70,0x6f,0x69,0x6e,0x74])]&&(_0x3d64f8=_0x467529(_0x7aeec8[_0x5a5053([0x75,0x73,0x61,0x67,0x65,0x45,0x6e,0x64,0x70,0x6f,0x69,0x6e,0x74])],_0x7aeec8[_0x5a5053([0x6a,0x74,0x69])])),await _0x3ae5bd()?_0x1952bb()?_0x1e8e4b()?_0x5a5053([0x45,0x78,0x70,0x69,0x72,0x65,0x64]):_0x3663af()?(_0x7aeec8[_0x5a5053([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x54,0x79,0x70,0x65])]==_0x5a5053([0x65,0x76,0x61,0x6c,0x75,0x61,0x74,0x69,0x6f,0x6e])&&(_0x54b783=_0x4c24ad(_0x5a5053([0x45,0x76,0x61,0x6c,0x75,0x61,0x74,0x69,0x6f,0x6e,0x4c,0x69,0x6d,0x69,0x74]))),await _0x564a1b()):_0x5a5053([0x44,0x6f,0x6d,0x61,0x69,0x6e,0x4c,0x69,0x6d,0x69,0x74]):_0x5a5053([0x4e,0x6f,0x74,0x41,0x6c,0x6c,0x6f,0x77,0x65,0x64]):_0x5a5053([0x49,0x6e,0x76,0x61,0x6c,0x69,0x64]);}catch{return _0x5a5053([0x49,0x6e,0x76,0x61,0x6c,0x69,0x64]);}function _0x1e8e4b(){const _0x22e5c3=[_0x5a5053([0x65,0x76,0x61,0x6c,0x75,0x61,0x74,0x69,0x6f,0x6e]),_0x5a5053([0x74,0x72,0x69,0x61,0x6c])][_0x5a5053([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x7aeec8[_0x5a5053([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x54,0x79,0x70,0x65])])?_0x1ad3b8/0x3e8:0xe10*_0x464e94;return _0x7aeec8[_0x5a5053([0x65,0x78,0x70])]<_0x22e5c3;}function _0x1952bb(){const _0x4e8be4=_0x7aeec8[_0x5a5053([0x66,0x65,0x61,0x74,0x75,0x72,0x65,0x73])];return!!_0x4e8be4&&(!!_0x4e8be4[_0x5a5053([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x5a5053([0x2a]))||!!_0x4e8be4[_0x5a5053([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x5a5053([0x46,0x4f,0x4f])));}function _0x3663af(){const _0x3ad29a=_0x7aeec8[_0x5a5053([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x64,0x48,0x6f,0x73,0x74,0x73])];if(!_0x3ad29a||0x0==_0x3ad29a[_0x5a5053([0x6c,0x65,0x6e,0x67,0x74,0x68])])return!0x0;const {hostname:_0xd150b9}=new URL(window[_0x5a5053([0x6c,0x6f,0x63,0x61,0x74,0x69,0x6f,0x6e])]['href']);if(_0x3ad29a[_0x5a5053([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0xd150b9))return!0x0;const _0x2cf3d2=_0xd150b9[_0x5a5053([0x73,0x70,0x6c,0x69,0x74])](_0x5a5053([0x2e]));return _0x3ad29a[_0x5a5053([0x66,0x69,0x6c,0x74,0x65,0x72])](_0x1f98e8=>_0x1f98e8[_0x5a5053([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x5a5053([0x2a])))[_0x5a5053([0x6d,0x61,0x70])](_0x23c8d9=>_0x23c8d9[_0x5a5053([0x73,0x70,0x6c,0x69,0x74])](_0x5a5053([0x2e])))[_0x5a5053([0x66,0x69,0x6c,0x74,0x65,0x72])](_0x538a1d=>_0x538a1d[_0x5a5053([0x6c,0x65,0x6e,0x67,0x74,0x68])]<=_0x2cf3d2[_0x5a5053([0x6c,0x65,0x6e,0x67,0x74,0x68])])[_0x5a5053([0x6d,0x61,0x70])](_0x321dbd=>Array(_0x2cf3d2[_0x5a5053([0x6c,0x65,0x6e,0x67,0x74,0x68])]-_0x321dbd[_0x5a5053([0x6c,0x65,0x6e,0x67,0x74,0x68])])[_0x5a5053([0x66,0x69,0x6c,0x6c])](_0x321dbd[0x0]===_0x5a5053([0x2a])?_0x5a5053([0x2a]):'')[_0x5a5053([0x63,0x6f,0x6e,0x63,0x61,0x74])](_0x321dbd))[_0x5a5053([0x73,0x6f,0x6d,0x65])](_0x7bd86c=>_0x2cf3d2[_0x5a5053([0x65,0x76,0x65,0x72,0x79])]((_0x132cf6,_0x496678)=>_0x7bd86c[_0x496678]===_0x132cf6||_0x7bd86c[_0x496678]===_0x5a5053([0x2a])));}function _0x564a1b(){return _0x54b783&&_0x3d64f8?new window[(_0x5a5053([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))]((_0x101138,_0x408864)=>{_0x54b783[_0x5a5053([0x74,0x68,0x65,0x6e])](_0x101138,_0x408864),_0x3d64f8[_0x5a5053([0x74,0x68,0x65,0x6e])](_0x313a3c=>{_0x313a3c!=_0x5a5053([0x56,0x61,0x6c,0x69,0x64])&&_0x101138(_0x313a3c);},_0x408864);}):_0x54b783||_0x3d64f8||_0x5a5053([0x56,0x61,0x6c,0x69,0x64]);}}function _0x467529(_0x2a9e9c,_0x46c742){return new window[(_0x5a5053([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0x2b67fb=>{if(_0x808d03())return _0x2b67fb(_0x5a5053([0x56,0x61,0x6c,0x69,0x64]));_0x80373a(),_0x5995cd[_0x5a5053([0x64,0x65,0x63,0x6f,0x72,0x61,0x74,0x65])](_0x5a5053([0x5f,0x73,0x65,0x6e,0x64,0x55,0x73,0x61,0x67,0x65,0x52,0x65,0x71,0x75,0x65,0x73,0x74]));let _0x1eae12=!0x1;const _0x26b07c=_0x294e74();function _0x394da4(_0x22dd7f){return!!_0x22dd7f&&(typeof _0x22dd7f===_0x5a5053([0x6f,0x62,0x6a,0x65,0x63,0x74])||typeof _0x22dd7f===_0x5a5053([0x66,0x75,0x6e,0x63,0x74,0x69,0x6f,0x6e]))&&typeof _0x22dd7f[_0x5a5053([0x74,0x68,0x65,0x6e])]===_0x5a5053([0x66,0x75,0x6e,0x63,0x74,0x69,0x6f,0x6e])&&typeof _0x22dd7f[_0x5a5053([0x63,0x61,0x74,0x63,0x68])]===_0x5a5053([0x66,0x75,0x6e,0x63,0x74,0x69,0x6f,0x6e]);}function _0x34abc5(_0x1a41ec){_0x266364(_0x1a41ec)[_0x5a5053([0x74,0x68,0x65,0x6e])](_0x536523=>{if(!_0x536523||_0x536523[_0x5a5053([0x73,0x74,0x61,0x74,0x75,0x73])]!=_0x5a5053([0x6f,0x6b]))return _0x5a5053([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]);return _0x570973(_0x363bd4(_0x26b07c+_0x46c742))!=_0x536523[_0x5a5053([0x76,0x65,0x72,0x69,0x66,0x69,0x63,0x61,0x74,0x69,0x6f,0x6e])]?_0x5a5053([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]):_0x5a5053([0x56,0x61,0x6c,0x69,0x64]);})[_0x5a5053([0x74,0x68,0x65,0x6e])](_0x2f7202=>(_0x2d1e4a(),_0x2f7202),()=>{const _0x3adf42=_0xf72a9f();return null==_0x3adf42?(_0x2d1e4a(),_0x5a5053([0x56,0x61,0x6c,0x69,0x64])):_0x5a5053(_0x1ad3b8-_0x3adf42>(0x63ae0106^_0x50fea9)?[0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]:[0x56,0x61,0x6c,0x69,0x64]);})[_0x5a5053([0x74,0x68,0x65,0x6e])](_0x2b67fb)[_0x5a5053([0x63,0x61,0x74,0x63,0x68])](()=>{_0x2b67fb(_0x5a5053([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]));});const _0x11cca5=0x47946b86^_0x50fea9;function _0x2d1e4a(){const _0x4aba68=_0x5a5053([0x6c,0x6c,0x63,0x74,0x2d])+_0x570973(_0x363bd4(_0x2a9e9c)),_0x25a182=_0x38ad2c(_0x570973(window[_0x5a5053([0x4d,0x61,0x74,0x68])][_0x5a5053([0x63,0x65,0x69,0x6c])](_0x1ad3b8/_0x11cca5)));window[_0x5a5053([0x6c,0x6f,0x63,0x61,0x6c,0x53,0x74,0x6f,0x72,0x61,0x67,0x65])][_0x5a5053([0x73,0x65,0x74,0x49,0x74,0x65,0x6d])](_0x4aba68,_0x25a182);}function _0xf72a9f(){const _0x36468a=_0x5a5053([0x6c,0x6c,0x63,0x74,0x2d])+_0x570973(_0x363bd4(_0x2a9e9c)),_0xe02bce=window[_0x5a5053([0x6c,0x6f,0x63,0x61,0x6c,0x53,0x74,0x6f,0x72,0x61,0x67,0x65])][_0x5a5053([0x67,0x65,0x74,0x49,0x74,0x65,0x6d])](_0x36468a);return _0xe02bce?window[_0x5a5053([0x70,0x61,0x72,0x73,0x65,0x49,0x6e,0x74])](_0x38ad2c(_0xe02bce),0x10)*_0x11cca5:null;}function _0x266364(_0x3a5395){return new window[(_0x5a5053([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))]((_0x3fdf99,_0x2d06e7)=>{_0x3a5395[_0x5a5053([0x74,0x68,0x65,0x6e])](_0x3fdf99,_0x2d06e7),window[_0x5a5053([0x73,0x65,0x74,0x54,0x69,0x6d,0x65,0x6f,0x75,0x74])](_0x2d06e7,0x47a351c6^_0x50fea9);});}}_0x5995cd[_0x5a5053([0x6f,0x6e])](_0x5a5053([0x5f,0x73,0x65,0x6e,0x64,0x55,0x73,0x61,0x67,0x65,0x52,0x65,0x71,0x75,0x65,0x73,0x74]),(_0x2f1198,_0x50a6d5)=>{if(_0x50a6d5[0x0]!=_0x2a9e9c)return _0x2b67fb(_0x5a5053([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]));_0x50a6d5[0x1]={..._0x50a6d5[0x1],[_0x5a5053([0x72,0x65,0x71,0x75,0x65,0x73,0x74,0x49,0x64])]:_0x26b07c};},{[_0x5a5053([0x70,0x72,0x69,0x6f,0x72,0x69,0x74,0x79])]:_0x5a5053([0x68,0x69,0x67,0x68])}),_0x5995cd[_0x5a5053([0x6f,0x6e])](_0x5a5053([0x5f,0x73,0x65,0x6e,0x64,0x55,0x73,0x61,0x67,0x65,0x52,0x65,0x71,0x75,0x65,0x73,0x74]),_0x2595e6=>{_0x394da4(_0x2595e6[_0x5a5053([0x72,0x65,0x74,0x75,0x72,0x6e])])&&(_0x1eae12=!0x0,_0x34abc5(_0x2595e6[_0x5a5053([0x72,0x65,0x74,0x75,0x72,0x6e])]));},{[_0x5a5053([0x70,0x72,0x69,0x6f,0x72,0x69,0x74,0x79])]:_0x5a5053([0x6c,0x6f,0x77])}),_0x147ce7[_0x5a5053([0x74,0x68,0x65,0x6e])](()=>{_0x1eae12||_0x2b67fb(_0x5a5053([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]));});});function _0x808d03(){return _0x5995cd[_0x5a5053([0x65,0x64,0x69,0x74,0x69,0x6e,0x67])][_0x5a5053([0x76,0x69,0x65,0x77])][_0x5a5053([0x5f,0x6f,0x76,0x65,0x72,0x6c,0x61,0x79,0x4d,0x6f,0x64,0x65,0x48,0x69,0x6e,0x74])]==_0x5a5053([0x61,0x75,0x74,0x6f]);}function _0x80373a(){_0x5995cd[_0x5a5053([0x65,0x64,0x69,0x74,0x69,0x6e,0x67])][_0x5a5053([0x76,0x69,0x65,0x77])][_0x5a5053([0x5f,0x6f,0x76,0x65,0x72,0x6c,0x61,0x79,0x4d,0x6f,0x64,0x65,0x48,0x69,0x6e,0x74])]=_0x5a5053([0x61,0x75,0x74,0x6f]);}}function _0x4c24ad(_0x30fb65){const _0x18ed87=[new window[(_0x5a5053([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0x54e14e=>setTimeout(_0x54e14e,0x47abbbca^_0x50fea9)),_0x147ce7[_0x5a5053([0x74,0x68,0x65,0x6e])](()=>new window[(_0x5a5053([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0x524ce6=>{let _0x260f81=0x0;_0x5995cd[_0x5a5053([0x6d,0x6f,0x64,0x65,0x6c])][_0x5a5053([0x6f,0x6e])](_0x5a5053([0x61,0x70,0x70,0x6c,0x79,0x4f,0x70,0x65,0x72,0x61,0x74,0x69,0x6f,0x6e]),(_0x147c9e,_0x2f1882)=>{_0x2f1882[0x0][_0x5a5053([0x69,0x73,0x44,0x6f,0x63,0x75,0x6d,0x65,0x6e,0x74,0x4f,0x70,0x65,0x72,0x61,0x74,0x69,0x6f,0x6e])]&&_0x260f81++,_0x260f81==(0x47a280ee^_0x50fea9)&&(_0x524ce6(),_0x147c9e[_0x5a5053([0x6f,0x66,0x66])]());});}))];return window[_0x5a5053([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65])][_0x5a5053([0x72,0x61,0x63,0x65])](_0x18ed87)[_0x5a5053([0x74,0x68,0x65,0x6e])](()=>_0x30fb65);}async function _0x46969b(){await _0x147ce7,_0x5995cd[_0x5a5053([0x6d,0x6f,0x64,0x65,0x6c])][_0x5a5053([0x63,0x68,0x61,0x6e,0x67,0x65])]=_0x29d926,_0x5995cd[_0x5a5053([0x6d,0x6f,0x64,0x65,0x6c])][_0x5a5053([0x65,0x6e,0x71,0x75,0x65,0x75,0x65,0x43,0x68,0x61,0x6e,0x67,0x65])]=_0x29d926,_0x5995cd[_0x5a5053([0x65,0x6e,0x61,0x62,0x6c,0x65,0x52,0x65,0x61,0x64,0x4f,0x6e,0x6c,0x79,0x4d,0x6f,0x64,0x65])](_0x5a5053([0x6d,0x6f,0x64,0x65,0x6c]));}function _0x3b5b00(_0x1b4e94){const _0x2bef3d=_0x42d15c();_0x5995cd[_0x2bef3d]=_0x5a5053([0x66,0x6f,0x6f,0x74,0x6e,0x6f,0x74,0x65,0x73,0x4c,0x69,0x63,0x65,0x6e,0x73,0x65,0x4b,0x65,0x79])+_0x1b4e94,_0x1b4e94!=_0x5a5053([0x56,0x61,0x6c,0x69,0x64])&&_0x46969b();}function _0x42d15c(){const _0x24385b=window[_0x5a5053([0x53,0x74,0x72,0x69,0x6e,0x67])](window[_0x5a5053([0x70,0x65,0x72,0x66,0x6f,0x72,0x6d,0x61,0x6e,0x63,0x65])][_0x5a5053([0x6e,0x6f,0x77])]())[_0x5a5053([0x72,0x65,0x70,0x6c,0x61,0x63,0x65])](_0x5a5053([0x2e]),'');let _0x1f5371=_0x5a5053([0x75]);for(let _0x5c03a1=0x0;_0x5c03a1<_0x24385b[_0x5a5053([0x6c,0x65,0x6e,0x67,0x74,0x68])];_0x5c03a1+=0x2){let _0x45bdd1=window[_0x5a5053([0x70,0x61,0x72,0x73,0x65,0x49,0x6e,0x74])](_0x24385b[_0x5a5053([0x73,0x75,0x62,0x73,0x74,0x72,0x69,0x6e,0x67])](_0x5c03a1,_0x5c03a1+0x2));_0x45bdd1>=_0x36452b[_0x5a5053([0x6c,0x65,0x6e,0x67,0x74,0x68])]&&(_0x45bdd1-=_0x36452b[_0x5a5053([0x6c,0x65,0x6e,0x67,0x74,0x68])]),_0x1f5371+=_0x36452b[_0x45bdd1];}return _0x1f5371;}function _0x332a8e(){const _0x5b75d3=_0x23d3a9[_0x5a5053([0x73,0x70,0x6c,0x69,0x74])](_0x5a5053([0x2e]));if(0x3!=_0x5b75d3[_0x5a5053([0x6c,0x65,0x6e,0x67,0x74,0x68])])return null;return _0x467cd9(_0x5b75d3[0x1]);function _0x467cd9(_0x2796a6){const _0x56a259=_0x1a59fd(_0x2796a6);return _0x56a259&&_0x53406e()?_0x56a259:null;function _0x53406e(){const _0x1d8c4d=_0x56a259[_0x5a5053([0x6a,0x74,0x69])],_0x5a4a59=window[_0x5a5053([0x70,0x61,0x72,0x73,0x65,0x49,0x6e,0x74])](_0x1d8c4d[_0x5a5053([0x73,0x75,0x62,0x73,0x74,0x72,0x69,0x6e,0x67])](_0x1d8c4d[_0x5a5053([0x6c,0x65,0x6e,0x67,0x74,0x68])]-0x8),0x10),_0x1cecd4={..._0x56a259,[_0x5a5053([0x6a,0x74,0x69])]:_0x1d8c4d[_0x5a5053([0x73,0x75,0x62,0x73,0x74,0x72,0x69,0x6e,0x67])](0x0,_0x1d8c4d[_0x5a5053([0x6c,0x65,0x6e,0x67,0x74,0x68])]-0x8)};return delete _0x1cecd4[_0x5a5053([0x76,0x63])],_0x363bd4(_0x1cecd4)==_0x5a4a59;}}}async function _0x3ae5bd(){let _0x49995e=!0x0;try{const _0xf14108=_0x23d3a9[_0x5a5053([0x73,0x70,0x6c,0x69,0x74])](_0x5a5053([0x2e])),[_0x2f1f1f,_0x5e5f58,_0xd3a0fb]=_0xf14108;return _0x771c4(_0x2f1f1f),await _0x56226d(_0x2f1f1f,_0x5e5f58,_0xd3a0fb),_0x49995e;}catch{return!0x1;}function _0x771c4(_0x2802eb){const _0x5b56e0=_0x1a59fd(_0x2802eb);_0x5b56e0&&_0x5b56e0[_0x5a5053([0x61,0x6c,0x67])]==_0x5a5053([0x45,0x53,0x32,0x35,0x36])||(_0x49995e=!0x1);}async function _0x56226d(_0x5e1225,_0x3e28e1,_0x4f2a06){const _0x4bcf3a=window[_0x5a5053([0x55,0x69,0x6e,0x74,0x38,0x41,0x72,0x72,0x61,0x79])][_0x5a5053([0x66,0x72,0x6f,0x6d])](_0x1a97ed(_0x4f2a06),_0x59830a=>_0x59830a[_0x5a5053([0x63,0x68,0x61,0x72,0x43,0x6f,0x64,0x65,0x41,0x74])](0x0)),_0x45092b=new window[(_0x5a5053([0x54,0x65,0x78,0x74,0x45,0x6e,0x63,0x6f,0x64,0x65,0x72]))]()[_0x5a5053([0x65,0x6e,0x63,0x6f,0x64,0x65])](_0x5e1225+_0x5a5053([0x2e])+_0x3e28e1),_0x495ea3=window[_0x5a5053([0x63,0x72,0x79,0x70,0x74,0x6f])][_0x5a5053([0x73,0x75,0x62,0x74,0x6c,0x65])];if(!_0x495ea3)return;const _0x5b4b2d=await _0x495ea3[_0x5a5053([0x69,0x6d,0x70,0x6f,0x72,0x74,0x4b,0x65,0x79])](_0x5a5053([0x6a,0x77,0x6b]),_0x22ccad,{[_0x5a5053([0x6e,0x61,0x6d,0x65])]:_0x5a5053([0x45,0x43,0x44,0x53,0x41]),[_0x5a5053([0x6e,0x61,0x6d,0x65,0x64,0x43,0x75,0x72,0x76,0x65])]:_0x5a5053([0x50,0x2d,0x32,0x35,0x36])},!0x1,[_0x5a5053([0x76,0x65,0x72,0x69,0x66,0x79])]);await _0x495ea3[_0x5a5053([0x76,0x65,0x72,0x69,0x66,0x79])]({[_0x5a5053([0x6e,0x61,0x6d,0x65])]:_0x5a5053([0x45,0x43,0x44,0x53,0x41]),[_0x5a5053([0x68,0x61,0x73,0x68])]:{[_0x5a5053([0x6e,0x61,0x6d,0x65])]:_0x5a5053([0x53,0x48,0x41,0x2d,0x32,0x35,0x36])}},_0x5b4b2d,_0x4bcf3a,_0x45092b)||(_0x49995e=!0x1);}}function _0x1a59fd(_0x431182){return _0x431182[_0x5a5053([0x73,0x74,0x61,0x72,0x74,0x73,0x57,0x69,0x74,0x68])](_0x5a5053([0x65,0x79]))?JSON[_0x5a5053([0x70,0x61,0x72,0x73,0x65])](_0x1a97ed(_0x431182)):null;}function _0x1a97ed(_0x40ce7d){return window[_0x5a5053([0x61,0x74,0x6f,0x62])](_0x40ce7d[_0x5a5053([0x72,0x65,0x70,0x6c,0x61,0x63,0x65])](/-/g,_0x5a5053([0x2b]))[_0x5a5053([0x72,0x65,0x70,0x6c,0x61,0x63,0x65])](/_/g,_0x5a5053([0x2f])));}function _0x363bd4(_0x445cc6){let _0x1eade6=0x1505;function _0x1e4a7a(_0x3b105b){for(let _0xf72eef=0x0;_0xf72eef<_0x3b105b[_0x5a5053([0x6c,0x65,0x6e,0x67,0x74,0x68])];_0xf72eef++){const _0x2d922a=_0x3b105b[_0x5a5053([0x63,0x68,0x61,0x72,0x43,0x6f,0x64,0x65,0x41,0x74])](_0xf72eef);_0x1eade6=(_0x1eade6<<0x5)+_0x1eade6+_0x2d922a,_0x1eade6&=_0x1eade6;}}function _0x201107(_0x5bc13f){Array[_0x5a5053([0x69,0x73,0x41,0x72,0x72,0x61,0x79])](_0x5bc13f)?_0x5bc13f[_0x5a5053([0x66,0x6f,0x72,0x45,0x61,0x63,0x68])](_0x201107):_0x5bc13f&&typeof _0x5bc13f==_0x5a5053([0x6f,0x62,0x6a,0x65,0x63,0x74])?Object[_0x5a5053([0x65,0x6e,0x74,0x72,0x69,0x65,0x73])](_0x5bc13f)[_0x5a5053([0x73,0x6f,0x72,0x74])]()[_0x5a5053([0x66,0x6f,0x72,0x45,0x61,0x63,0x68])](([_0x319189,_0x31b662])=>{_0x1e4a7a(_0x319189),_0x201107(_0x31b662);}):_0x1e4a7a(window[_0x5a5053([0x53,0x74,0x72,0x69,0x6e,0x67])](_0x5bc13f));}return _0x201107(_0x445cc6),_0x1eade6>>>0x0;}function _0x570973(_0x3f81d5){return _0x3f81d5[_0x5a5053([0x74,0x6f,0x53,0x74,0x72,0x69,0x6e,0x67])](0x10)[_0x5a5053([0x70,0x61,0x64,0x53,0x74,0x61,0x72,0x74])](0x8,_0x5a5053([0x30]));}function _0x38ad2c(_0x5f1416){return _0x5f1416[_0x5a5053([0x73,0x70,0x6c,0x69,0x74])]('')[_0x5a5053([0x72,0x65,0x76,0x65,0x72,0x73,0x65])]()[_0x5a5053([0x6a,0x6f,0x69,0x6e])]('');}function _0x29d926(){}function _0x5a5053(_0x36e453){return _0x36e453['map'](_0x4dfa41=>String['fromCharCode'](_0x4dfa41))['join']('');}_0x3b5b00(await _0x1006ee());}(this);}['_moveSelectionToFootnoteDefinition'](_0x521a5d){const {plugins:_0x2044cb,editing:_0x1a757b,model:_0x203155}=this['editor'],_0x5810b9=_0x2044cb['get'](f)['getFootnote'](_0x521a5d);return!!_0x5810b9&&(_0x203155['change'](_0x4f2755=>{_0x4f2755['setSelection'](_0x4f2755['createPositionAt'](_0x5810b9['definition'],'end'));}),_0x1a757b['view']['scrollToTheSelection'](),!0x0);}['_moveSelectionToFootnoteReference'](_0x320324){const {plugins:_0x3718c4,editing:_0x2b060f,model:_0x97b5b8}=this['editor'],_0x4f96be=_0x3718c4['get'](f)['getFootnote'](_0x320324);return!!_0x4f96be&&(_0x97b5b8['change'](_0x94dc9f=>{_0x94dc9f['setSelection'](_0x4f96be['reference'],'on');}),_0x2b060f['view']['scrollToTheSelection'](),!0x0);}['_defineSchema'](){const {schema:_0x1cb313}=this['editor']['model'],_0x33493a=this['editor']['config']['get']('footnotes.multiBlock');_0x1cb313['register']('footnoteRef',{'inheritAllFrom':'$inlineObject','allowAttributes':['footnoteId','footnoteCounter']}),_0x1cb313['register']('footnotesDefinitions',{'inheritAllFrom':'$blockObject','allowChildren':['footnoteDefinition']}),_0x1cb313['register']('footnoteDefinition',{'allowAttributes':['footnoteId'],'disallowAttributes':['listItemId'],'isLimit':!0x0}),_0x33493a?_0x1cb313['extend']('footnoteDefinition',{'allowContentOf':'$container'}):_0x1cb313['register']('footnoteInlineContent',{'allowIn':'footnoteDefinition','allowContentOf':'$block','isLimit':!0x0}),_0x1cb313['addChildCheck'](_0x37abc7=>{for(const _0x40b09b of _0x37abc7)if('footnoteDefinition'===_0x40b09b['name'])return!0x1;},'footnoteRef');}['_defineRefsConverters'](){const {editor:_0x3a64d8}=this,{conversion:_0xd38f22,editing:_0x5e5847}=_0x3a64d8,{t:t}=_0x3a64d8['locale'];_0xd38f22['for']('upcast')['elementToElement']({'view':{'name':'sup','classes':'footnote'},'model':(_0x1ecf64,{writer:_0x23e3ab,consumable:_0x105285})=>{const _0x40ce0f=_0x1ecf64['getChild'](0x0);if(!_0x40ce0f||!_0x40ce0f['is']('element','a'))return null;const _0x42f134=_0x40ce0f['getAttribute']('href')||'';if(!_0x42f134['startsWith']('#'))return null;const _0x4bf5cc=_0x42f134['replace'](/^#/,'');if(!_0x4bf5cc)return null;_0x105285['consume'](_0x40ce0f,{'name':!0x0,'attributes':['href']});for(const {item:_0x3fd15c}of _0x5e5847['view']['createRangeIn'](_0x40ce0f))_0x3fd15c['is']('$textProxy')?_0x105285['consume'](_0x3fd15c['textNode'],{'name':!0x0}):_0x3fd15c['is']('element')&&_0x105285['consume'](_0x3fd15c,{'name':!0x0});return _0x23e3ab['createElement']('footnoteRef',{'footnoteId':_0x4bf5cc});}}),_0xd38f22['for']('dataDowncast')['elementToElement']({'model':{'name':'footnoteRef','attributes':['footnoteId','footnoteCounter']},'view':(_0x31d46c,{writer:_0x37181d})=>b(_0x31d46c,_0x37181d)}),_0xd38f22['for']('editingDowncast')['elementToElement']({'model':{'name':'footnoteRef','attributes':['footnoteId','footnoteCounter']},'view':(_0x4c38f8,{writer:_0x4ccadc})=>{const _0x3cf769=_0x4c38f8['getAttribute']('footnoteCounter');return _0x59b9e8(b(_0x4c38f8,_0x4ccadc),_0x4ccadc,{'label':t('Footnote\x20%0.\x20Press\x20ENTER\x20to\x20jump\x20to\x20footnote\x20definition.',_0x3cf769)});}});}['_defineDefinitionsConverters'](){const {editor:_0xa983f5}=this,{t:t}=_0xa983f5['locale'],{conversion:_0x30c659}=_0xa983f5;_0x30c659['for']('upcast')['elementToElement']({'view':{'name':'div','classes':'footnotes'},'model':'footnotesDefinitions'}),_0x30c659['for']('upcast')['add'](_0x42c22a=>{_0x42c22a['on']('element:ol',(_0xb8ce7a,_0x12481c,_0x175b29)=>{const _0x2bcdc9=_0x12481c['viewItem'];if(!_0x2bcdc9['hasClass']('footnotes-list')||!_0x12481c['modelCursor']['parent']?.['is']('element','footnotesDefinitions'))return;if(!_0x175b29['consumable']['consume'](_0x2bcdc9,{'name':!0x0,'classes':'footnotes-list'}))return;const {modelRange:_0x58f912,modelCursor:_0x131701}=_0x175b29['convertChildren'](_0x12481c['viewItem'],_0x12481c['modelCursor']);_0x12481c['modelRange']=_0x58f912,_0x12481c['modelCursor']=_0x131701;}),_0x42c22a['on']('element:hr',(_0x4b3c25,_0x5870c2,_0x116fe2)=>{const _0x2b1d28=_0x5870c2['viewItem'];_0x2b1d28['hasClass']('footnotes-divider')&&_0x5870c2['modelCursor']['parent']?.['is']('element','footnotesDefinitions')&&_0x116fe2['consumable']['consume'](_0x2b1d28,{'name':!0x0,'classes':'footnotes-divider'});});}),_0x30c659['for']('dataDowncast')['elementToStructure']({'model':'footnotesDefinitions','view':(_0x15f386,{writer:_0x199bed})=>D(_0x199bed)}),_0x30c659['for']('editingDowncast')['elementToStructure']({'model':'footnotesDefinitions','view':(_0xc000bd,{writer:_0x11b55b})=>{const _0x5a5db3=D(_0x11b55b,{'data-footnotes-list-label':t('Footnotes')}),_0x28db49=_0x59b9e8(_0x5a5db3,_0x11b55b,{'hasSelectionHandle':!0x0,'label':t('Footnotes')});return _0x11b55b['setCustomProperty']('footnotesDefinitions',!0x0,_0x28db49),_0x28db49;}});}['_defineDefinitionConverters'](){const {editor:_0x4159b5}=this,{conversion:_0x2c9a56,locale:_0x311cc2}=_0x4159b5,_0x52a39a=_0x4159b5['config']['get']('footnotes.multiBlock');_0x2c9a56['for']('upcast')['add'](_0x36571a=>{_0x36571a['on']('element:li',(_0x80fc6d,_0x199b86,_0x755941)=>{const _0x546360=_0x199b86['viewItem'];if(!_0x546360['hasClass']('footnote-definition')||!_0x546360['getAttribute']('id'))return;const _0x16f9bf=_0x546360['parent'];if(!_0x16f9bf['is']('element','ol')||!_0x16f9bf['hasClass']('footnotes-list'))return;if(!_0x755941['consumable']['test'](_0x546360,{'name':!0x0,'attributes':'id','classes':'footnote-definition'}))return;const _0x315eca=_0x755941['writer']['createElement']('footnoteDefinition',{'footnoteId':_0x546360['getAttribute']('id')});if(!_0x755941['safeInsert'](_0x315eca,_0x199b86['modelCursor']))return;_0x755941['consumable']['consume'](_0x546360,{'name':!0x0,'attributes':'id','classes':'footnote-definition'});const _0x2adc49=Array['from'](_0x546360['getChildren']())['find'](_0x17dbcd=>_0x17dbcd['is']('element')&&_0x17dbcd['hasClass']('footnote-content'));for(const _0x2c26b0 of _0x546360['getChildren']())_0x2c26b0['is']('element')&&(_0x755941['consumable']['consume'](_0x2c26b0,{'name':!0x0,'classes':'footnote-backlink','attributes':'href'}),_0x755941['consumable']['consume'](_0x2c26b0,{'name':!0x0,'classes':'footnote-content'}));if(_0x2adc49){if(_0x52a39a)_0x755941['convertChildren'](_0x2adc49,_0x315eca);else{const _0x47d2a0=_0x755941['writer']['createElement']('footnoteInlineContent');_0x755941['writer']['insert'](_0x47d2a0,_0x315eca),_0x755941['convertChildren'](_0x2adc49,_0x47d2a0);}}_0x755941['updateConversionResult'](_0x315eca,_0x199b86);});}),_0x2c9a56['for']('dataDowncast')['elementToStructure']({'model':{'name':'footnoteDefinition','attributes':['footnoteId']},'view':(_0x2c740f,{writer:_0x2ae8a1})=>y(_0x2c740f,_0x2ae8a1,_0x311cc2,{'dataPipeline':!0x0})}),_0x2c9a56['for']('editingDowncast')['elementToStructure']({'model':{'name':'footnoteDefinition','attributes':['footnoteId']},'view':(_0x94a4a5,{writer:_0x268282})=>y(_0x94a4a5,_0x268282,_0x311cc2)});}['_defineBogusParagraphConverters'](){const {editor:_0x357ad7}=this,{conversion:_0x2d242e}=_0x357ad7;_0x357ad7['config']['get']('footnotes.multiBlock')?(_0x2d242e['for']('editingDowncast')['elementToElement']({'model':'paragraph','view':p(),'converterPriority':'high'}),_0x2d242e['for']('dataDowncast')['elementToElement']({'model':'paragraph','view':p({'dataPipeline':!0x0}),'converterPriority':'high'}),this['listenTo'](_0x357ad7['model']['document'],'change:data',()=>{!function(_0x38602d,_0x1403dc){const _0x3ba2ab=_0x38602d['document']['differ'],_0x26cb4a=new Set();for(const _0x1edd8d of _0x3ba2ab['getChanges']()){const _0xdfca78='attribute'==_0x1edd8d['type']?_0x1edd8d['range']['start']['parent']:_0x1edd8d['position']['parent'];_0xdfca78['is']('element','footnoteDefinition')&&_0x26cb4a['add'](_0xdfca78);}for(const _0x446d4a of _0x26cb4a['values']()){const _0x58f48f=Array['from'](_0x446d4a['getChildren']())['filter'](_0x293d72=>v(_0x293d72,_0x1403dc['mapper']));for(const _0x42ed99 of _0x58f48f)_0x1403dc['reconvertItem'](_0x42ed99);}}(_0x357ad7['model'],_0x357ad7['editing']);})):(_0x2d242e['for']('editingDowncast')['elementToElement']({'model':'footnoteInlineContent','view':p()}),_0x2d242e['for']('dataDowncast')['elementToElement']({'model':'footnoteInlineContent','view':(_0x407e3d,{writer:_0x3dac5c})=>{const _0x5e65e2=_0x3dac5c['createContainerElement']('span');return _0x3dac5c['setCustomProperty']('dataPipeline:transparentRendering',!0x0,_0x5e65e2),_0x5e65e2;}}));}['_defineKeyboardHandlers'](){const {editor:_0x17fb1f}=this,{editing:_0x2664c6,t:t}=_0x17fb1f,_0x98529c=_0x17fb1f['model']['document']['selection'];_0x17fb1f['keystrokes']['set']('Ctrl+Alt+F','insertFootnote'),_0x17fb1f['accessibility']['addKeystrokeInfos']({'keystrokes':[{'label':t('Insert\x20footnote'),'keystroke':'Ctrl+Alt+F'}]}),this['listenTo'](_0x2664c6['view']['document'],'enter',(_0x2bba15,_0x376936)=>{const _0x2e38ac=function(_0x4f0112){const _0x161c6d=_0x4f0112['getSelectedElement']();if(_0x161c6d?.['is']('element','footnoteRef'))return _0x161c6d;return null;}(_0x98529c);if(_0x2e38ac){const _0x4c147f=_0x2e38ac['getAttribute']('footnoteId');this['_moveSelectionToFootnoteDefinition'](_0x4c147f),_0x376936['preventDefault'](),_0x2bba15['stop']();}},{'context':_0x2be15b});}['_defineClickHandlers'](){const {editor:_0x1fc0ad}=this,{editing:_0x2fa5aa}=_0x1fc0ad;_0x1fc0ad['editing']['view']['addObserver'](_0x5a66b3),_0x1fc0ad['editing']['view']['addObserver'](_0x21efcf);let _0x49c6fd=!0x1;this['listenTo'](_0x2fa5aa['view']['document'],'pointerdown',(_0x3ffa6d,_0x557f30)=>{const {target:_0x218bc3}=_0x557f30,_0x2e593d=_0x2fa5aa['view']['document']['selection'];_0x49c6fd=!!(_0x218bc3?.['is']('element','a')&&_0x218bc3['parent']?.['is']('element','sup')&&_0x218bc3['parent']['hasClass']('footnote'))&&_0x2e593d['getSelectedElement']()===_0x218bc3['parent'];},{'priority':'high'}),this['listenTo'](_0x2fa5aa['view']['document'],'click',(_0x3cfda2,_0x281f73)=>{const {target:_0x187b9f}=_0x281f73;if(!_0x187b9f?.['is']('element','a'))return;if(_0x187b9f['parent']?.['is']('element','sup')&&_0x187b9f['parent']['hasClass']('footnote')&&!_0x49c6fd)return void _0x281f73['preventDefault']();let _0x426f8d=_0x187b9f['getAttribute']('href');if(!_0x426f8d?.['startsWith']('#'))return;_0x426f8d=_0x426f8d['slice'](0x1);let _0x51c4db=!0x1;(_0x426f8d['startsWith']('ref-')&&this['_moveSelectionToFootnoteReference'](_0x426f8d['slice'](0x4))||this['_moveSelectionToFootnoteDefinition'](_0x426f8d))&&(_0x51c4db=!0x0),_0x51c4db&&(_0x281f73['preventDefault'](),_0x3cfda2['stop']());},{'priority':'high','context':'$capture'});}}function p({dataPipeline:_0x1e593e}={}){return(_0xe6b2c9,{writer:_0x5aa166})=>{if(!g(_0xe6b2c9))return null;if(!_0x1e593e)return _0x5aa166['createContainerElement']('span',{'class':'ck-footnote-bogus-paragraph'});const _0x47a937=_0x5aa166['createContainerElement']('p');return _0x5aa166['setCustomProperty']('dataPipeline:transparentRendering',!0x0,_0x47a937),_0x47a937;};}function g(_0x43a8a3){const {parent:_0x357861}=_0x43a8a3;if(!_0x357861?.['is']('element','footnoteDefinition'))return!0x1;if(0x1!=_0x357861['childCount'])return!0x1;for(const _0x48ff5c of _0x43a8a3['getAttributeKeys']())if(!_0x48ff5c['startsWith']('selection:')&&'htmlEmptyBlock'!=_0x48ff5c)return!0x1;return!0x0;}function v(_0x3fa505,_0x5341fa){if(!_0x3fa505['is']('element','paragraph'))return!0x1;const _0x74fd26=_0x5341fa['toViewElement'](_0x3fa505);return!!_0x74fd26&&g(_0x3fa505)!==_0x74fd26['is']('element','span');}function Q(_0x14ac21){return _0x2be15b(_0x14ac21)&&_0x14ac21['is']('containerElement')&&!!_0x14ac21['getCustomProperty']('footnotesDefinitions');}function D(_0x37f86c,_0x28e651={}){const _0x34d44a=_0x37f86c['createEmptyElement']('hr',{'class':'footnotes-divider'}),_0xc7112c=_0x37f86c['createContainerElement']('ol',{'class':'footnotes-list'},_0x37f86c['createSlot']());return _0x37f86c['createContainerElement']('div',{'class':'footnotes',..._0x28e651},[_0x34d44a,_0xc7112c]);}function b(_0x376ef3,_0x563a50){const _0x59a268=_0x376ef3['getAttribute']('footnoteId'),_0xc237a3=_0x376ef3['getAttribute']('footnoteCounter'),_0x285118=_0x563a50['createUIElement']('a',{'href':'#'+_0x59a268},function(_0x24655b){const _0x28bd98=this['toDomElement'](_0x24655b);return _0x28bd98['textContent']=_0xc237a3,_0x28bd98;}),_0x50e7a4=_0x563a50['createContainerElement']('sup',{'id':'ref-'+_0x59a268,'class':'footnote'},[_0x285118]);return _0x50e7a4['getFillerOffset']=()=>null,_0x50e7a4;}function y(_0x1f14a5,_0x3ed206,_0x2ad2c5,{dataPipeline:_0xa37969}={}){const {t:t}=_0x2ad2c5,_0x2d1b10=_0x1f14a5['getAttribute']('footnoteId'),_0x4c1852=_0x3ed206['createUIElement']('a',{'class':'footnote-backlink','href':'#ref-'+_0x2d1b10},function(_0x5590b8){const _0x426465=this['toDomElement'](_0x5590b8);return _0x426465['innerText']='^',_0x426465;}),_0x198c05=_0xa37969?_0x3ed206['createContainerElement']('div',{'class':'footnote-content'}):_0x23ba3e(_0x3ed206['createEditableElement']('div',{'class':'footnote-content'}),_0x3ed206,{'label':t('Footnote\x20content.')});return _0x3ed206['insert'](_0x3ed206['createPositionAt'](_0x198c05,0x0),_0x3ed206['createSlot']()),_0x3ed206['createContainerElement']('li',{'class':'footnote-definition','id':_0x2d1b10},[_0x4c1852,_0x198c05]);}class e extends _0x4b9cba{static get['pluginName'](){return'FootnotesClipboard';}static get['requires'](){return[r,_0x435026];}static get['isOfficialPlugin'](){return!0x0;}static get['isPremiumPlugin'](){return!0x0;}['init'](){this['_defineClipboardIntegration']();}['_defineClipboardIntegration'](){this['_handleCopyFootnotesDefinitions'](),this['_handlePasteFootnotesDefinitions']();}['_handleCopyFootnotesDefinitions'](){const {editor:_0x4aa699}=this,{plugins:_0x39ca2f,model:_0x29a8c7}=_0x4aa699,_0x9b9daa=_0x39ca2f['get'](_0x435026),_0x506813=_0x39ca2f['get'](f);this['listenTo'](_0x9b9daa,'outputTransformation',(_0x247061,_0x2d35c)=>{const _0x57aa08=l(_0x29a8c7['createRangeIn'](_0x2d35c['content']));if(!_0x57aa08['length'])return;const _0x251ee4=_0x506813['getFootnotes'](),_0x2e7df7=_0x57aa08['reduce']((_0xa4789f,_0x5a5cf7)=>{const _0x2765b7=_0x251ee4['find'](_0x346a6e=>_0x346a6e['id']===_0x5a5cf7);if(_0x2765b7){const _0x193c0d=_0x4aa699['data']['toView'](_0x2765b7['definition'],{'isClipboardPipeline':!0x0}),_0x174224=_0x4aa699['data']['htmlProcessor']['toData'](_0x193c0d);_0xa4789f[_0x2765b7['id']]=_0x174224;}return _0xa4789f;},Object['create'](null));_0x2d35c['dataTransfer']['setData']('application/ckeditor5-footnotes',JSON['stringify'](_0x2e7df7));});}['_handlePasteFootnotesDefinitions'](){const {editor:_0x6c850e}=this,{model:_0x5ceb8a,plugins:_0x655732}=_0x6c850e,{view:_0x2b4396}=_0x6c850e['editing'],_0x1a50f3=_0x655732['get'](_0x435026),_0x5d9bc5=_0x655732['get'](f),_0x1ba87d=_0x6c850e['config']['get']('footnotes.multiBlock');let _0x23fb02=null;this['listenTo'](_0x2b4396['document'],'clipboardInput',(_0x29d460,_0x64848f)=>{const _0x3c11b3=_0x64848f['dataTransfer']['getData']('application/ckeditor5-footnotes');_0x23fb02=_0x3c11b3?JSON['parse'](_0x3c11b3):null;}),this['listenTo'](_0x1a50f3,'contentInsertion',(_0x54d907,_0x3bbd88)=>{const _0x18061f=_0x3bbd88['sourceEditorId']===this['editor']['id'];_0x18061f&&'drop'===_0x3bbd88['method']||_0x5ceb8a['change'](_0x4578f3=>{let _0x4ad23a=_0x5d9bc5['getFootnotesDefinitionsObjectElement']();const _0x4cdf83=!!_0x4ad23a&&Array['from'](_0x5ceb8a['document']['selection']['getSelectedBlocks']())['includes'](_0x4ad23a);if(!_0x23fb02&&function(_0x476ae6){for(const {item:_0x56b266}of _0x476ae6)if(_0x56b266['is']('element','footnoteRef'))return!0x0;return!0x1;}(_0x5ceb8a['createRangeIn'](_0x3bbd88['content']))&&(_0x23fb02=function(_0x362b63,_0x1a4b0d){const _0x5b8d8d=c(_0x362b63,_0x1a4b0d);if(!_0x5b8d8d)return null;const _0x45701e=Object['create'](null);for(const _0x1cf94e of _0x5b8d8d['getChildren']())_0x1cf94e['is']('element','footnoteDefinition')&&_0x1cf94e['hasAttribute']('footnoteId')&&(_0x45701e[_0x1cf94e['getAttribute']('footnoteId')]=_0x362b63['cloneElement'](_0x1cf94e,!0x0));return Object['keys'](_0x45701e)['length']?_0x45701e:null;}(_0x4578f3,_0x3bbd88['content'])),(_0x4ad23a&&!_0x4cdf83||!_0x4ad23a&&!_0x23fb02)&&function(_0x47c344,_0x350898){const _0x36fbf2=[];for(const {item:_0x166cdf}of _0x47c344['createRangeIn'](_0x350898))_0x166cdf['is']('element','footnotesDefinitions')&&_0x36fbf2['push'](_0x166cdf);for(const _0x321a3c of _0x36fbf2)_0x47c344['remove'](_0x321a3c);}(_0x4578f3,_0x3bbd88['content']),!_0x23fb02)return;const {selection:_0x256b15}=_0x5ceb8a['document'],_0x5c0804=_0x256b15['getFirstRange']()['root'];_0x4ad23a&&!_0x4cdf83||(_0x4ad23a=c(_0x4578f3,_0x3bbd88['content']),_0x4ad23a||=_0x5d9bc5['_insertEmptyFootnotesDefinitionsContainer'](_0x4578f3,_0x5c0804));const _0x4ffbb2=Array['from'](_0x256b15['getRanges']())['flatMap'](l),_0x47815c=function(_0x409c26,_0x5849cf,_0x26f69f){const _0x577fd4=Object['create'](null);for(const {item:_0x254ccc}of _0x409c26['createRangeIn'](_0x5849cf))if(_0x254ccc['is']('element','footnoteRef')){const _0xe4dfc7=_0x254ccc['getAttribute']('footnoteId');if(!_0x26f69f(_0xe4dfc7))continue;_0x577fd4[_0xe4dfc7]||(_0x577fd4[_0xe4dfc7]=_0x294e74()),_0x409c26['setAttribute']('footnoteId',_0x577fd4[_0xe4dfc7],_0x254ccc);}return _0x577fd4;}(_0x4578f3,_0x3bbd88['content'],_0x5e5af8=>{if(!_0x18061f)return!0x0;return!!_0x5d9bc5['getFootnote'](_0x5e5af8)&&!_0x4ffbb2['includes'](_0x5e5af8);});for(const [_0x52cdab,_0x339e64]of Object['entries'](_0x23fb02)){const _0x346279=_0x47815c[_0x52cdab]||_0x52cdab;let _0x265a1b;if('string'!=typeof _0x339e64)_0x265a1b=_0x339e64,_0x346279!==_0x52cdab&&_0x4578f3['setAttribute']('footnoteId',_0x346279,_0x265a1b);else{_0x265a1b=_0x4578f3['createElement']('footnoteDefinition',{'footnoteId':_0x346279});const _0x1f4ca2=_0x6c850e['data']['htmlProcessor']['toView'](_0x339e64);let _0xef08a2;if(_0x1ba87d)_0xef08a2=_0x6c850e['data']['toModel'](_0x1f4ca2,_0x265a1b);else{_0xef08a2=_0x4578f3['createElement']('footnoteInlineContent');const _0x258da1=_0x6c850e['data']['toModel'](_0x1f4ca2,_0xef08a2);_0x4578f3['insert'](_0x258da1,_0xef08a2);}_0x4578f3['append'](_0xef08a2,_0x265a1b);}_0x4578f3['insert'](_0x265a1b,_0x4ad23a,'end');}_0x23fb02=null;});});}}function c(_0x57cb16,_0x1b8538){for(const {item:_0x23de77}of _0x57cb16['createRangeIn'](_0x1b8538))if(_0x23de77['is']('element','footnotesDefinitions'))return _0x23de77;return null;}function l(_0x460c98){const _0x545cb2=new Set();for(const {item:_0x38e85c}of _0x460c98)_0x38e85c['is']('element','footnoteRef')&&_0x545cb2['add'](_0x38e85c['getAttribute']('footnoteId'));return Array['from'](_0x545cb2);}class i extends _0x4b9cba{['licenseKey'];['_licenseKeyCheckInterval'];static get['pluginName'](){return'FootnotesUI';}static get['isOfficialPlugin'](){return!0x0;}static get['isPremiumPlugin'](){return!0x0;}['init'](){const {editor:_0x1a22ea}=this,{componentFactory:_0x57bc5f}=_0x1a22ea['ui'];_0x57bc5f['add']('insertFootnote',E(_0x1a22ea,_0x1c6fe8)),_0x57bc5f['add']('menuBar:insertFootnote',E(_0x1a22ea,_0x17d977)),this['licenseKey']=this['editor']['config']['get']('licenseKey');const _0x2fed1a=this['editor'];this['_licenseKeyCheckInterval']=setInterval(()=>{let _0x1616f8;for(const _0x3632c3 in _0x2fed1a){const _0x2329b5=_0x3632c3,_0x3c5303=_0x2fed1a[_0x2329b5];if('footnotesLicenseKeyValid'==_0x3c5303||'footnotesLicenseKeyInvalid'==_0x3c5303||'footnotesLicenseKeyExpired'==_0x3c5303||'footnotesLicenseKeyDomainLimit'==_0x3c5303||'footnotesLicenseKeyNotAllowed'==_0x3c5303||'footnotesLicenseKeyEvaluationLimit'==_0x3c5303||'footnotesLicenseKeyUsageLimit'==_0x3c5303){delete _0x2fed1a[_0x2329b5],_0x1616f8=_0x3c5303,clearInterval(this['_licenseKeyCheckInterval']),this['_licenseKeyCheckInterval']=void 0x0;break;}}'footnotesLicenseKeyInvalid'==_0x1616f8&&_0x2fed1a['_showLicenseError']('invalid'),'footnotesLicenseKeyExpired'==_0x1616f8&&_0x2fed1a['_showLicenseError']('expired'),'footnotesLicenseKeyDomainLimit'==_0x1616f8&&_0x2fed1a['_showLicenseError']('domainLimit'),'footnotesLicenseKeyNotAllowed'==_0x1616f8&&_0x2fed1a['_showLicenseError']('featureNotAllowed','Footnotes'),'footnotesLicenseKeyEvaluationLimit'==_0x1616f8&&_0x2fed1a['_showLicenseError']('evaluationLimit'),'footnotesLicenseKeyUsageLimit'==_0x1616f8&&_0x2fed1a['_showLicenseError']('usageLimit');},0x3e8);}['destroy'](){super['destroy'](),this['_licenseKeyCheckInterval']&&clearInterval(this['_licenseKeyCheckInterval']);}}function E(_0x5ebe06,_0x2af503){const _0x2b31a5=_0x5ebe06['commands']['get']('insertFootnote');return _0x461a0a=>{const {t:t}=_0x461a0a,_0x46374b=new _0x2af503(_0x461a0a),_0x37d662=_0x46374b instanceof _0x17d977;return _0x46374b['bind']('isEnabled')['to'](_0x2b31a5,'isEnabled'),_0x46374b['set']({'label':t(_0x37d662?'Footnote':'Insert\x20footnote'),'icon':_0x5a10da,'tooltip':!0x0}),_0x46374b['on']('execute',()=>{_0x2b31a5['execute'](),_0x5ebe06['editing']['view']['focus']();}),_0x46374b;};}class lt extends _0x4b9cba{static get['pluginName'](){return'Footnotes';}static get['requires'](){return[r,e,i];}static get['isOfficialPlugin'](){return!0x0;}static get['isPremiumPlugin'](){return!0x0;}}const ct=['decimal','decimal-leading-zero','lower-latin','upper-latin','lower-alpha','upper-alpha','lower-roman','upper-roman'];class S extends _0x57d0f2{['refresh'](){const {editor:_0x3823f9}=this,_0x32b079=_0x3823f9['plugins']['get'](f)['getFootnotesDefinitionsObjectElement']();this['isEnabled']=!!_0x32b079,this['value']=_0x32b079?.['getAttribute']('footnotesListStyle')??null;}['execute']({value:_0x4c1339}){const {editor:_0x34ffc7}=this,_0x1b480c=_0x34ffc7['plugins']['get'](f),_0x5d689f=_0x1b480c['getFootnotesDefinitionsObjectElement']();_0x5d689f&&ct['includes'](_0x4c1339)&&_0x34ffc7['model']['change'](_0x2b902c=>{_0x2b902c['setAttribute']('footnotesListStyle',_0x4c1339,_0x5d689f),_0x1b480c['_updateFootnotesCounters'](_0x2b902c);});}}class C extends _0x57d0f2{['refresh'](){const {editor:_0x544c32}=this,_0x14a2b9=_0x544c32['plugins']['get'](f)['getFootnotesDefinitionsObjectElement']();this['isEnabled']=!!_0x14a2b9,this['value']=_0x14a2b9?.['getAttribute']('footnotesListStart')??null;}['execute']({value:_0x115e69}){const {editor:_0x31f930}=this,_0x2246ef=_0x31f930['plugins']['get'](f),_0x24d6a1=_0x2246ef['getFootnotesDefinitionsObjectElement']();_0x24d6a1&&Number['isInteger'](_0x115e69)&&_0x31f930['model']['change'](_0x181f29=>{_0x181f29['setAttribute']('footnotesListStart',_0x115e69,_0x24d6a1),_0x2246ef['_updateFootnotesCounters'](_0x181f29);});}}class P extends _0x4b9cba{static get['pluginName'](){return'FootnotesPropertiesEditing';}static get['requires'](){return[r,f];}static get['isOfficialPlugin'](){return!0x0;}static get['isPremiumPlugin'](){return!0x0;}['init'](){const {editor:_0x32a2bd}=this;_0x32a2bd['config']['define']('footnotes.footnotesProperties.defaultListStyle','decimal'),_0x32a2bd['config']['define']('footnotes.footnotesProperties.defaultStartIndex',0x1),_0x32a2bd['commands']['add']('footnotesStyle',new S(_0x32a2bd)),_0x32a2bd['commands']['add']('footnotesStart',new C(_0x32a2bd)),this['_defineSchema'](),this['_defineConverters'](),this['_defineFormatter'](),this['_definePostfixer']();}['_defineSchema'](){const {editor:_0x4bcd46}=this,{schema:_0x34a51c}=_0x4bcd46['model'];_0x34a51c['extend']('footnotesDefinitions',{'allowAttributes':['footnotesListStyle','footnotesListStart']});}['_defineConverters'](){const {editor:_0x4a9e9d}=this,{conversion:_0x1ee0fb,model:_0x4cd104}=_0x4a9e9d,{schema:_0x4b7582}=_0x4cd104;_0x1ee0fb['for']('upcast')['add'](_0x46b2ae=>{_0x46b2ae['on']('element:ol',(_0x1809d,_0x484ff0,_0x475b80)=>{const _0x3bc904=_0x484ff0['viewItem'],_0x3d11e3=_0x484ff0['modelCursor']?.['parent'];_0x3bc904['hasClass']('footnotes-list')&&_0x3d11e3?.['is']('element','footnotesDefinitions')&&(function(_0x10919a,_0x46bf51,_0x57207d,_0x4bdb88){if(!_0x4bdb88['checkAttribute'](_0x46bf51,'footnotesListStart'))return;let _0xd65f71=0x1;const _0x24fed2=_0x57207d['consumable']['consume'](_0x10919a,{'attributes':'start'});if(_0x24fed2){const _0x14f6d1=Number['parseInt'](_0x10919a['getAttribute']('start'),0xa);Number['isNaN'](_0x14f6d1)||(_0xd65f71=_0x14f6d1);}!_0x24fed2&&_0x46bf51['hasAttribute']('footnotesListStart')||_0x57207d['writer']['setAttribute']('footnotesListStart',_0xd65f71,_0x46bf51);}(_0x3bc904,_0x3d11e3,_0x475b80,_0x4b7582),function(_0x40040d,_0x2ada84,_0x1c75fd,_0x2fa44c){if(!_0x2fa44c['checkAttribute'](_0x2ada84,'footnotesListStyle'))return;let _0x17a146='decimal',_0xffcf2b=!0x1;if(_0x1c75fd['consumable']['consume'](_0x40040d,{'attributes':'type'})){const _0x1f5fe0={0x1:'decimal','a':'lower-alpha','A':'upper-alpha','i':'lower-roman','I':'upper-roman'}[_0x40040d['getAttribute']('type')];_0x1f5fe0&&(_0x17a146=_0x1f5fe0),_0xffcf2b=!0x0;}_0x1c75fd['consumable']['consume'](_0x40040d,{'styles':'list-style-type'})&&(_0x17a146=function(_0x28bba3){switch(_0x28bba3){case'lower-alpha':return'lower-latin';case'upper-alpha':return'upper-latin';default:return _0x28bba3;}}(_0x40040d['getStyle']('list-style-type')),_0xffcf2b=!0x0),!_0xffcf2b&&_0x2ada84['hasAttribute']('footnotesListStyle')||_0x1c75fd['writer']['setAttribute']('footnotesListStyle',_0x17a146,_0x2ada84);}(_0x3bc904,_0x3d11e3,_0x475b80,_0x4b7582));});}),_0x1ee0fb['for']('downcast')['add'](_0x1ae3e4=>{_0x1ae3e4['on']('attribute:footnotesListStart:footnotesDefinitions',(_0x1f9607,_0x373078,_0x39f25e)=>{if(!_0x39f25e['consumable']['consume'](_0x373078['item'],_0x1f9607['name']))return;const _0x317f7e=M(_0x373078['item'],_0x39f25e['mapper']),{attributeNewValue:_0x2f5aac}=_0x373078;null==_0x2f5aac||0x1===_0x2f5aac?_0x39f25e['writer']['removeAttribute']('start',_0x317f7e):_0x39f25e['writer']['setAttribute']('start',String(_0x2f5aac),_0x317f7e);}),_0x1ae3e4['on']('attribute:footnotesListStyle:footnotesDefinitions',(_0x43ad40,_0x5b739e,_0x81f14f)=>{if(!_0x81f14f['consumable']['consume'](_0x5b739e['item'],_0x43ad40['name']))return;const _0x5a218a=M(_0x5b739e['item'],_0x81f14f['mapper']),{attributeNewValue:_0x47b6c2}=_0x5b739e;_0x47b6c2&&'decimal'!==_0x47b6c2?_0x81f14f['writer']['setStyle']('list-style-type',_0x47b6c2,_0x5a218a):_0x81f14f['writer']['removeStyle']('list-style-type',_0x5a218a);});});}['_definePostfixer'](){const {editor:_0x295a79}=this,{model:_0x5381ef}=_0x295a79,_0x1c514f=_0x295a79['plugins']['get'](f),_0x24e509=this['_getDefaultListStyle'](),_0x506677=this['_getDefaultStartIndex']();_0x5381ef['document']['registerPostFixer'](_0x1b2fd0=>{const _0x483a02=_0x5381ef['document']['differ']['getChanges']();let _0x447ff2=!0x1;for(const _0x2e7ad0 of _0x483a02){if('insert'!==_0x2e7ad0['type']||'$text'===_0x2e7ad0['name'])continue;const _0x4df639=_0x5381ef['createRangeOn'](_0x2e7ad0['position']['nodeAfter']);for(const _0x58939f of _0x4df639['getItems']())_0x58939f['is']('element','footnotesDefinitions')&&(!_0x58939f['hasAttribute']('footnotesListStart')&&_0x5381ef['schema']['checkAttribute'](_0x58939f,'footnotesListStart')&&(_0x1b2fd0['setAttribute']('footnotesListStart',_0x506677,_0x58939f),_0x447ff2=!0x0),!_0x58939f['hasAttribute']('footnotesListStyle')&&_0x5381ef['schema']['checkAttribute'](_0x58939f,'footnotesListStyle')&&(_0x1b2fd0['setAttribute']('footnotesListStyle',_0x24e509,_0x58939f),_0x447ff2=!0x0));}return _0x447ff2&&_0x1c514f['_updateFootnotesCounters'](_0x1b2fd0),_0x447ff2;});}['_defineFormatter'](){const {editor:_0x25c96a}=this;_0x25c96a['plugins']['get'](f)['setFootnoteFormatter'](_0x18dc77=>this['_formatFootnoteListValue'](_0x18dc77));}['_getDefaultListStyle'](){return this['editor']['config']['get']('footnotes.footnotesProperties.defaultListStyle');}['_getDefaultStartIndex'](){return this['editor']['config']['get']('footnotes.footnotesProperties.defaultStartIndex');}['_formatFootnoteListValue']({container:_0x427d17,value:_0xcc1cd,digits:_0x45c15d}){const _0x22a65f=_0x427d17['getAttribute']('footnotesListStyle'),_0x3f3b03=_0x427d17['getAttribute']('footnotesListStart'),_0x50e563=Math['floor'](_0xcc1cd)+(_0x3f3b03??0x1)-0x1;switch(_0x22a65f){case'decimal-leading-zero':return function(_0x53d083,_0x132700){return String(_0x53d083)['padStart'](_0x132700,'0');}(_0x50e563,Math['max'](0x2,_0x45c15d));case'lower-alpha':case'lower-latin':return N(_0x50e563,!0x1);case'upper-alpha':case'upper-latin':return N(_0x50e563,!0x0);case'lower-roman':return X(_0x50e563,!0x1);case'upper-roman':return X(_0x50e563,!0x0);default:return String(_0x50e563);}}}function M(_0x8a6781,_0x17eed6){const _0x39b114=_0x17eed6['toViewElement'](_0x8a6781);return Array['from'](_0x39b114['getChildren']())['find'](_0x2ff424=>_0x2ff424['is']('element','ol')&&_0x2ff424['hasClass']('footnotes-list'));}function N(_0x301798,_0x2fcaaa){let _0x146729='',_0x4df99e=_0x301798;for(;_0x4df99e>0x0;){const _0xe71ce=(_0x4df99e-0x1)%0x1a;_0x146729=String['fromCharCode'](0x61+_0xe71ce)+_0x146729,_0x4df99e=Math['floor']((_0x4df99e-0x1)/0x1a);}return _0x2fcaaa?_0x146729['toUpperCase']():_0x146729;}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(_0x59f253,_0x283ce9){let _0x4e1ac5='',_0x103cb8=_0x59f253;for(const {value:_0x4b8be8,numeral:_0xac3252}of V)for(;_0x103cb8>=_0x4b8be8;)_0x4e1ac5+=_0xac3252,_0x103cb8-=_0x4b8be8;return _0x283ce9?_0x4e1ac5:_0x4e1ac5['toLowerCase']();}class J extends _0x266629{['children'];['stylesView']=null;['additionalProperties']=null;['startIndexFieldView']=null;['focusTracker']=new ot();['keystrokes']=new rt();['focusables']=new _0x29b95f();['focusCycler'];constructor(_0x234716,{styleButtonViews:_0x542b54,styleGridAriaLabel:_0x477101}){super(_0x234716),(this['focusCycler']=new _0x5c0104({'focusables':this['focusables'],'focusTracker':this['focusTracker'],'keystrokeHandler':this['keystrokes'],'actions':{'focusPrevious':'shift\x20+\x20tab','focusNext':'tab'}}),this['children']=this['createCollection'](),this['stylesView']=this['_appendStylesView'](_0x542b54,_0x477101),[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 _0x37950c of this['stylesView']['children'])this['stylesView']['focusTracker']['add'](_0x37950c['element']);tt({'keystrokeHandler':this['stylesView']['keystrokes'],'focusTracker':this['stylesView']['focusTracker'],'gridItems':this['stylesView']['children'],'numberOfColumns':()=>nt['window']['getComputedStyle'](this['stylesView']['element'])['getPropertyValue']('grid-template-columns')['split']('\x20')['length'],'uiLanguageDirection':this['locale']&&this['locale']['uiLanguageDirection']});}if(this['startIndexFieldView']){this['focusables']['add'](this['startIndexFieldView']),this['focusTracker']['add'](this['startIndexFieldView']['element']);const _0x1a7047=_0x27764f=>_0x27764f['stopPropagation']();this['keystrokes']['set']('arrowright',_0x1a7047),this['keystrokes']['set']('arrowleft',_0x1a7047),this['keystrokes']['set']('arrowup',_0x1a7047),this['keystrokes']['set']('arrowdown',_0x1a7047);}this['keystrokes']['listenTo'](this['element']);}['focus'](){this['focusCycler']['focusFirst']();}['focusLast'](){this['focusCycler']['focusLast']();}['destroy'](){super['destroy'](),this['focusTracker']['destroy'](),this['keystrokes']['destroy']();}['_appendStylesView'](_0x541d03,_0x10992a){const _0x4f8cea=new _0x266629(this['locale']);return _0x4f8cea['children']=_0x4f8cea['createCollection'](),_0x4f8cea['children']['addMany'](_0x541d03),_0x4f8cea['setTemplate']({'tag':'div','attributes':{'aria-label':_0x10992a,'class':['ck','ck-footnotes-definitions-styles-list']},'children':_0x4f8cea['children']}),_0x4f8cea['children']['delegate']('execute')['to'](this),_0x4f8cea['focus']=function(){for(const _0x7b62d of this['children'])if(_0x7b62d instanceof _0x1c6fe8&&_0x7b62d['isOn'])return void _0x7b62d['focus']();this['children']['first']['focus']();},_0x4f8cea['focusTracker']=new ot(),_0x4f8cea['keystrokes']=new rt(),_0x4f8cea['render'](),_0x4f8cea['keystrokes']['listenTo'](_0x4f8cea['element']),this['children']['add'](_0x4f8cea),_0x4f8cea;}['_appendAdditionalPropertiesCollapsibleView'](){const {t:t}=this['locale'],_0x40c4fa=this['_createStartIndexPropertyView'](),_0x42e813=[_0x40c4fa],_0x7b7b1b=new st(this['locale'],_0x42e813);return _0x7b7b1b['set']({'label':t('Footnotes\x20properties'),'isCollapsed':!0x0}),_0x7b7b1b['buttonView']['bind']('isEnabled')['toMany'](_0x42e813,'isEnabled',(..._0x35a063)=>_0x35a063['some'](_0x7239ef=>_0x7239ef)),_0x7b7b1b['buttonView']['on']('change:isEnabled',(_0xa934db,_0x54ae87,_0xdcc3a9)=>{_0xdcc3a9||(_0x7b7b1b['isCollapsed']=!0x0);}),this['children']['add'](_0x7b7b1b),[_0x40c4fa,_0x7b7b1b];}['_createStartIndexPropertyView'](){const {t:t}=this['locale'],_0x8b0ea3=new it(this['locale'],et);return _0x8b0ea3['set']({'label':t('Footnotes\x20start\x20at'),'class':'ck-footnotes-definitions-properties__start-index'}),_0x8b0ea3['fieldView']['set']({'min':0x0,'max':Math['pow'](0x2,0x1e),'step':0x1,'value':0x1,'inputMode':'numeric'}),_0x8b0ea3['fieldView']['on']('input',()=>{const _0x33a741=_0x8b0ea3['fieldView']['element'],_0x12455e=_0x33a741['valueAsNumber'];Number['isNaN'](_0x12455e)?_0x8b0ea3['errorText']=t('Invalid\x20footnotes\x20start\x20index\x20value.'):_0x33a741['checkValidity']()?this['fire']('footnotesListStart',{'startIndex':_0x12455e}):_0x8b0ea3['errorText']=t(_0x12455e<0x0?'Footnotes\x20start\x20index\x20must\x20be\x20greater\x20than\x200.':'Footnotes\x20start\x20index\x20is\x20too\x20large.');}),_0x8b0ea3;}}class j extends _0x4b9cba{static get['pluginName'](){return'FootnotesPropertiesUI';}static get['requires'](){return[_0x540f74,_0x14865a];}static get['isOfficialPlugin'](){return!0x0;}static get['isPremiumPlugin'](){return!0x0;}['init'](){const {editor:_0x403628}=this,{componentFactory:_0x536882}=_0x403628['ui'];_0x403628['config']['define']('footnotes.footnotesProperties.toolbar',['footnotesStyle']),_0x536882['add']('footnotesStyle',function(_0x12a9f7){return _0x1ce74f=>{const {t:t}=_0x1ce74f,_0xf4e58b=_0x12a9f7['commands']['get']('footnotesStyle'),_0x2583d=_0x3fe79f(_0x1ce74f),{buttonView:_0x498731}=_0x2583d;return _0x2583d['class']='ck-footnotes-styles-dropdown',_0x2583d['bind']('isEnabled')['to'](_0xf4e58b,'isEnabled'),_0x498731['set']({'label':t('Footnotes\x20style'),'icon':_0x5a10da,'tooltip':!0x0}),_0x2583d['once']('change:isOpen',()=>{const _0x11306c=function({editor:_0x61acb0,dropdownView:_0x15d2ef}){const {t:t}=_0x61acb0['locale'],_0xea89b6=t('Footnotes\x20definitions\x20styles'),_0x17e32b=function(_0x5842aa){const t=_0x5842aa['locale']['t'],_0xdf216d=[{'label':t('Toggle\x20the\x20decimal\x20footnotes\x20style'),'tooltip':t('Decimal\x20footnotes'),'style':'decimal','icon':_0x2949f1},{'label':t('Toggle\x20the\x20decimal\x20with\x20leading\x20zero\x20footnotes\x20style'),'tooltip':t('Decimal\x20footnotes\x20with\x20leading\x20zero'),'style':'decimal-leading-zero','icon':_0x6bcecb},{'label':t('Toggle\x20the\x20lower–roman\x20footnotes\x20style'),'tooltip':t('Lower–roman\x20footnotes'),'style':'lower-roman','icon':_0x370818},{'label':t('Toggle\x20the\x20upper–roman\x20footnotes\x20style'),'tooltip':t('Upper-roman\x20footnotes'),'style':'upper-roman','icon':_0x3e5a08},{'label':t('Toggle\x20the\x20lower–latin\x20footnotes\x20style'),'tooltip':t('Lower-latin\x20footnotes'),'style':'lower-latin','icon':_0x4574c1},{'label':t('Toggle\x20the\x20upper–latin\x20footnotes\x20style'),'tooltip':t('Upper-latin\x20footnotes'),'style':'upper-latin','icon':_0x81a412}];return _0xdf216d['map'](function(_0x283b9d){const _0x1bbafc=_0x283b9d['locale'];return({label:_0x5b3456,icon:_0x2cbfe7,tooltip:_0x4792e2,style:_0x5039f3})=>{const _0x1c2486=_0x283b9d['commands']['get']('footnotesStyle'),_0x4629d9=new _0x1c6fe8(_0x1bbafc);return _0x4629d9['set']({'label':_0x5b3456,'icon':_0x2cbfe7,'tooltip':_0x4792e2}),_0x4629d9['bind']('isOn')['to'](_0x1c2486,'value',_0x320fe4=>_0x320fe4===_0x5039f3),_0x4629d9['bind']('isEnabled')['to'](_0x1c2486,'isEnabled'),_0x4629d9['on']('execute',()=>{_0x283b9d['execute']('footnotesStyle',{'value':_0x5039f3}),_0x283b9d['editing']['view']['focus']();}),_0x4629d9;};}(_0x5842aa));}(_0x61acb0),_0x2aee57=new J(_0x61acb0['locale'],{'styleGridAriaLabel':_0xea89b6,'styleButtonViews':_0x17e32b}),_0x14827c=_0x61acb0['commands']['get']('footnotesStart');return _0x2aee57['startIndexFieldView']['bind']('isEnabled')['to'](_0x14827c),_0x2aee57['startIndexFieldView']['fieldView']['bind']('value')['to'](_0x14827c),_0x2aee57['on']('footnotesListStart',(_0x1b5b6c,_0x4cec07)=>{_0x61acb0['execute']('footnotesStart',{'value':_0x4cec07['startIndex']});}),_0x2aee57['delegate']('execute')['to'](_0x15d2ef),_0x2aee57;}({'editor':_0x12a9f7,'dropdownView':_0x2583d});_0x2583d['panelView']['children']['add'](_0x11306c);}),_0x2583d;};}(_0x403628));}['afterInit'](){const {editor:_0x1abdab}=this,{t:t}=_0x1abdab['locale'],_0x3001c9=_0x1abdab['plugins']['get'](_0x14865a),{defaultPositions:_0x89705b}=_0x47ec6a;_0x3001c9['register']('footnotesDefinitions',{'ariaLabel':t('Footnotes\x20definitions\x20toolbar'),'items':_0x1abdab['config']['get']('footnotes.footnotesProperties.toolbar'),'balloonClassName':'ck-footnotes-style-balloon\x20ck-toolbar-container','getRelatedElement':_0xd9ebfa=>{let _0x49a509=_0xd9ebfa['getFirstPosition']()?.['parent'];return _0x49a509?.['is']('$text')&&(_0x49a509=_0x49a509['parent']),_0x49a509?.['is']('element')?_0x49a509['findAncestor'](Q):null;},'positions':[_0x89705b['southArrowNorth'],_0x89705b['southArrowNorthMiddleWest'],_0x89705b['southArrowNorthMiddleEast'],_0x89705b['southArrowNorthWest'],_0x89705b['southArrowNorthEast'],_0x89705b['northArrowSouth'],_0x89705b['northArrowSouthMiddleWest'],_0x89705b['northArrowSouthMiddleEast'],_0x89705b['northArrowSouthWest'],_0x89705b['northArrowSouthEast'],_0x89705b['viewportStickyNorth']]});}}class ft extends _0x4b9cba{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 _0x3eb2b6,Command as _0x344bd1}from'@ckeditor/ckeditor5-core/dist/index.js';import{toWidget as _0x192168,isWidget as _0x335e2d,toWidgetEditable as _0x4071db,WidgetToolbarRepository as _0x2198c7}from'@ckeditor/ckeditor5-widget/dist/index.js';import{uid as _0x21759c,logWarning as _0x11e2d4,FocusTracker as ot,KeystrokeHandler as rt,global as nt}from'@ckeditor/ckeditor5-utils/dist/index.js';import{PointerObserver as _0x4c3c27,ClickObserver as _0x35818a}from'@ckeditor/ckeditor5-engine/dist/index.js';import{ClipboardPipeline as _0x3c5634}from'@ckeditor/ckeditor5-clipboard/dist/index.js';import{MenuBarMenuListItemButtonView as _0x280159,ButtonView as _0x50a4fc,View as _0x541b03,ViewCollection as _0x474080,FocusCycler as _0xae8ef8,addKeyboardHandlingForGrid as tt,CollapsibleView as st,LabeledFieldView as it,createLabeledInputNumber as et,ContextualBalloon as _0x23b049,BalloonPanelView as _0x2930c1,createDropdown as _0x43fc65}from'@ckeditor/ckeditor5-ui/dist/index.js';import{IconFootnote as _0x28d033,IconListStyleDecimal as _0xd223d4,IconListStyleDecimalLeadingZero as _0xd57c0,IconListStyleLowerRoman as _0x38c7c0,IconListStyleUpperRoman as _0x5e7c7a,IconListStyleLowerLatin as _0x32c0f0,IconListStyleUpperLatin as _0x556717}from'@ckeditor/ckeditor5-icons/dist/index.js';class F{['_model'];['_elementName'];['_getElementKey'];['_trackedElements']=new Map();constructor(_0x1a7270,_0x3c093e){this['_model']=_0x1a7270,this['_elementName']=_0x3c093e['elementName'],this['_getElementKey']=_0x3c093e['getElementKey'];}['reset'](){this['_trackedElements']['clear']();}['getChanges'](_0x3de86a){const _0x43743d=new Set(),_0x3cf0e9=new Map();for(const _0x5f5705 of _0x3de86a){if('insert'===_0x5f5705['type']&&'$text'!==_0x5f5705['name']&&_0x5f5705['position']['nodeAfter']){const _0x49982c=this['_model']['createRangeOn'](_0x5f5705['position']['nodeAfter']);for(const _0x44c6af of _0x49982c['getItems']()){if(!_0x44c6af['is']('element',this['_elementName']))continue;const _0xf8599a=this['_getElementKey'](_0x44c6af);_0x3cf0e9['has'](_0xf8599a)||_0x3cf0e9['set'](_0xf8599a,[]),_0x3cf0e9['get'](_0xf8599a)['push'](_0x44c6af);}}if('remove'===_0x5f5705['type']&&_0x5f5705['name']===this['_elementName']){const _0x5571a1=this['_getElementKey']({'getAttribute':_0x5d244b=>_0x5f5705['attributes']['get'](_0x5d244b)});_0x43743d['add'](_0x5571a1);}}for(const [_0x5ad58e,_0x2c71c1]of this['_trackedElements'])'$graveyard'===_0x2c71c1['root']['rootName']&&_0x43743d['add'](_0x5ad58e);for(const _0x2624fd of _0x43743d)this['_trackedElements']['delete'](_0x2624fd);for(const [_0x1cbc0c,_0x4b3056]of _0x3cf0e9)this['_trackedElements']['set'](_0x1cbc0c,_0x4b3056[_0x4b3056['length']-0x1]);const _0x3c5a75=new Set();for(const [_0x2b5799,_0x45d8c2]of _0x3cf0e9)_0x43743d['has'](_0x2b5799)&&(_0x3c5a75['add'](_0x45d8c2[0x0]),_0x45d8c2['length']>0x1?_0x3cf0e9['set'](_0x2b5799,_0x45d8c2['slice'](0x1)):_0x3cf0e9['delete'](_0x2b5799),_0x43743d['delete'](_0x2b5799));return{'removed':Array['from'](_0x43743d),'inserted':Array['from'](_0x3cf0e9['values']())['flat'](),'moved':Array['from'](_0x3c5a75)};}}class f extends _0x3eb2b6{['_footnotes']=[];['_footnotesDefinitions']=null;['_footnoteFormatter']=null;['_footnoteDefsContainerTracker'];['_footnoteRefsTracker'];['_footnoteDefsTracker'];static get['pluginName'](){return'FootnotesTracker';}static get['isOfficialPlugin'](){return!0x0;}static get['isPremiumPlugin'](){return!0x0;}constructor(_0x4153d7){super(_0x4153d7),this['_footnoteDefsContainerTracker']=new F(this['editor']['model'],{'elementName':'footnotesDefinitions','getElementKey':()=>'singleton'}),this['_footnoteRefsTracker']=new F(this['editor']['model'],{'elementName':'footnoteRef','getElementKey':_0x2eebd7=>_0x2eebd7['getAttribute']('footnoteId')}),this['_footnoteDefsTracker']=new F(this['editor']['model'],{'elementName':'footnoteDefinition','getElementKey':_0x5daf36=>_0x5daf36['getAttribute']('footnoteId')});}['init'](){const {editor:_0x41e53a}=this,{model:_0x508aac,data:_0x464a01}=_0x41e53a;_0x508aac['document']['registerPostFixer'](_0x315a2c=>{const _0x4f25cd=_0x508aac['document']['differ']['getChanges']();let _0x1c9243=!0x1;return this['_handleFootnotesDefinitionsObjectChanges'](_0x315a2c,_0x4f25cd)&&(_0x1c9243=!0x0),this['_handleFootnoteDefinitionsChanges'](_0x315a2c,_0x4f25cd)&&(_0x1c9243=!0x0),this['_handleFootnoteReferencesChanges'](_0x315a2c,_0x4f25cd)&&(_0x1c9243=!0x0),this['_ensureFootnotesReferencesHaveProperOrder'](_0x315a2c)&&(_0x1c9243=!0x0),this['_handleFootnotesDefinitionsObjectSync'](_0x315a2c)&&(_0x1c9243=!0x0),this['_sortFootnoteDefinitions'](_0x315a2c)&&(_0x1c9243=!0x0),_0x1c9243;}),this['listenTo'](_0x508aac['document'],'change:data',()=>{_0x508aac['enqueueChange']({'isUndoable':!0x1},_0x25e168=>{this['_ensureFootnotesDefinitionsContainerExists'](_0x25e168);});},{'priority':'low'}),this['listenTo'](_0x464a01,'set',()=>{this['_footnotes']=[],this['_footnoteDefsContainerTracker']['reset'](),this['_footnoteRefsTracker']['reset'](),this['_footnoteDefsTracker']['reset']();},{'priority':'high'});}['getFootnotesDefinitionsObjectElement'](){return this['_footnotesDefinitions'];}['getFootnote'](_0x4aae12){return this['_footnotes']['find'](_0x1547bc=>_0x1547bc['id']===_0x4aae12)||null;}['getFootnotes'](){return Array['from'](this['_footnotes']);}['getFootnotesFormatter'](){return this['_footnoteFormatter'];}['setFootnoteFormatter'](_0x46ca8e){this['_footnoteFormatter']=_0x46ca8e;}['_updateFootnotesCounters'](_0x337c4d,_0x185573=0x0){let _0x4f6dea=!0x1;for(let _0x1a506d=_0x185573;_0x1a506d<this['_footnotes']['length'];_0x1a506d++)this['_updateFootnoteRefCounter'](_0x337c4d,_0x1a506d)&&(_0x4f6dea=!0x0);return _0x4f6dea;}['_insertEmptyFootnotesDefinitionsContainer'](_0x3e504f,_0x40e4eb){const _0x41ec1f=_0x3e504f['createElement']('footnotesDefinitions',{});return _0x3e504f['append'](_0x41ec1f,_0x40e4eb),this['_footnotesDefinitions']=_0x41ec1f,_0x41ec1f;}['_ensureFootnotesDefinitionsContainerExists'](_0x45c190){if(!this['_footnotes']['length']||this['_footnotesDefinitions'])return;const _0x211294=this['_footnotes'][0x0]['reference']['root'],_0x5cf6ff=this['_insertEmptyFootnotesDefinitionsContainer'](_0x45c190,_0x211294);for(const _0x2e1172 of this['_footnotes'])_0x2e1172['definition']['parent']||_0x45c190['insert'](_0x2e1172['definition'],_0x5cf6ff,'end');this['_updateFootnotesCounters'](_0x45c190);}['_handleFootnotesDefinitionsObjectChanges'](_0x1b6f50,_0x5ac88b){let _0x3382d2=!0x1;const {inserted:_0x4c8615,removed:_0x2ab972,moved:_0x5c6490}=this['_footnoteDefsContainerTracker']['getChanges'](_0x5ac88b);if(_0x5c6490['length']&&(this['_footnotesDefinitions']=_0x5c6490[0x0]),_0x4c8615['length']){if(_0x4c8615['length']>0x1||this['_footnotesDefinitions']&&_0x4c8615['some'](_0x1cbba5=>_0x1cbba5!==this['_footnotesDefinitions'])){const _0x1bca66=_0x1b6f50['createElement']('footnotesDefinitions',{}),_0x3a9a4a=[];this['_footnotesDefinitions']&&_0x3a9a4a['push'](this['_footnotesDefinitions']),_0x3a9a4a['push'](..._0x4c8615),_0x1b6f50['insert'](_0x1bca66,_0x3a9a4a[0x0],'before');for(const _0x5a4ad3 of _0x3a9a4a)_0x1b6f50['move'](_0x1b6f50['createRangeIn'](_0x5a4ad3),_0x1b6f50['createPositionAt'](_0x1bca66,'end')),_0x1b6f50['remove'](_0x5a4ad3);this['_footnotesDefinitions']=_0x1bca66,this['_updateFootnotesCounters'](_0x1b6f50),_0x3382d2=!0x0;}else this['_footnotesDefinitions']=_0x4c8615[0x0];}if(_0x2ab972['length']&&'$graveyard'===this['_footnotesDefinitions']?.['root']['rootName']){for(const _0x5a5c3d of this['_footnotes'])_0x1b6f50['remove'](_0x5a5c3d['reference']),_0x3382d2=!0x0;this['_footnotes']=[],this['_footnotesDefinitions']=null;}return _0x3382d2;}['_handleFootnoteDefinitionsChanges'](_0x2789cb,_0x34d5c6){let _0x4c9b7b=!0x1;const _0x517058=this['editor']['config']['get']('footnotes.multiBlock'),{inserted:_0x1762a3,moved:_0x520ab3}=this['_footnoteDefsTracker']['getChanges'](_0x34d5c6);for(const _0x2668fc of[..._0x520ab3,..._0x1762a3]){const _0x4f0f38=_0x2668fc['getAttribute']('footnoteId'),_0x77a602=this['getFootnote'](_0x4f0f38);_0x77a602&&(_0x77a602['definition']=_0x2668fc),_(_0x2789cb,_0x517058,_0x2668fc)&&(_0x4c9b7b=!0x0);}return _0x4c9b7b;}['_handleFootnoteReferencesChanges'](_0xcae05b,_0x133c46){let _0x5d85a4=!0x1;const {removed:_0x61aa42,inserted:_0x404853,moved:_0x2a89ce}=this['_footnoteRefsTracker']['getChanges'](_0x133c46);for(const _0x5e136f of _0x61aa42)this['_handleRemoveFootnoteReferenceById'](_0xcae05b,_0x5e136f)&&(_0x5d85a4=!0x0);for(const _0x35aefd of _0x404853)this['_handleInsertedFootnoteReference'](_0xcae05b,_0x35aefd)&&(_0x5d85a4=!0x0);for(const _0x497f7e of _0x2a89ce)this['_handleMovedFootnoteReference'](_0xcae05b,_0x497f7e)&&(_0x5d85a4=!0x0);return _0x5d85a4;}['_handleFootnotesDefinitionsObjectSync'](_0x5a82a5){if(!this['_footnotesDefinitions'])return!0x1;let _0x1254d6=!0x1;if(this['_footnotesDefinitions']['childCount']!==this['_footnotes']['length']){const _0x1336b2=[];for(const _0x34646f of this['_footnotesDefinitions']['getChildren']()){const _0x436c82=_0x34646f['getAttribute']('footnoteId');this['getFootnote'](_0x436c82)||(_0x1336b2['unshift'](_0x34646f),_0x1254d6=!0x0);}for(const _0xe8f631 of _0x1336b2)_0x5a82a5['remove'](_0xe8f631);}const _0x1b561c=new Set(),_0x3b7191=[];for(const _0x122933 of this['_footnotesDefinitions']['getChildren']()){const _0x42fb79=_0x122933['getAttribute']('footnoteId');_0x1b561c['has'](_0x42fb79)?(_0x3b7191['unshift'](_0x122933),_0x1254d6=!0x0):_0x1b561c['add'](_0x42fb79);}for(const _0x180575 of _0x3b7191)_0x5a82a5['remove'](_0x180575);return this['_footnotesDefinitions']['childCount']||(_0x5a82a5['remove'](this['_footnotesDefinitions']),this['_footnotesDefinitions']=null,_0x1254d6=!0x0),_0x1254d6;}['_handleInsertedFootnoteReference'](_0x4c1ecd,_0x2b681f){if(this['_footnotes']['find'](_0x304501=>_0x304501['reference']===_0x2b681f))return!0x1;let _0x5de10f=!0x1;const _0x190d98=_0x2b681f['getAttribute']('footnoteId'),_0x1e7740=this['_footnotes']['findIndex'](_0x39838b=>_0x39838b['id']===_0x190d98);-0x1!==_0x1e7740&&(_0x4c1ecd['remove'](this['_footnotes'][_0x1e7740]['reference']),this['_footnotes']['splice'](_0x1e7740,0x1),_0x5de10f=!0x0);let _0x56855a=this['_footnotesDefinitions']?function(_0x1f8867,_0x4ca3e5){for(const _0x48ca80 of _0x1f8867['getChildren']())if(_0x48ca80['getAttribute']('footnoteId')===_0x4ca3e5)return _0x48ca80;return null;}(this['_footnotesDefinitions'],_0x190d98):null;_0x56855a||(_0x56855a=_0x4c1ecd['createElement']('footnoteDefinition',{'footnoteId':_0x190d98}),this['_footnotesDefinitions']&&(_0x4c1ecd['insert'](_0x56855a,this['_footnotesDefinitions'],'end'),_0x5de10f=!0x0));const _0x39a54a={'id':_0x190d98,'reference':_0x2b681f,'definition':_0x56855a},_0x4813c3=I(this['editor']['model'],this['_footnotes'],_0x2b681f);this['_footnotes']['splice'](_0x4813c3,0x0,_0x39a54a);let _0x391928=_0x4813c3;return-0x1!==_0x1e7740&&(_0x391928=Math['min'](_0x4813c3,_0x1e7740)),this['_updateFootnotesCounters'](_0x4c1ecd,_0x391928)&&(_0x5de10f=!0x0),_0x5de10f;}['_handleRemoveFootnoteReferenceById'](_0x489d94,_0x41e0db){const _0x1b7938=this['_footnotes']['findIndex'](_0x11cb1e=>_0x11cb1e['id']===_0x41e0db);if(-0x1===_0x1b7938)return!0x1;let _0x58daea=!0x1;const _0x16c4e1=this['_footnotes'][_0x1b7938];return'$graveyard'!==_0x16c4e1['definition']['root']['rootName']&&(_0x489d94['remove'](_0x16c4e1['definition']),_0x58daea=!0x0),this['_footnotes']['splice'](_0x1b7938,0x1),this['_updateFootnotesCounters'](_0x489d94,_0x1b7938)&&(_0x58daea=!0x0),_0x58daea;}['_handleMovedFootnoteReference'](_0x3192f8,_0x43efd8){const _0x45152f=_0x43efd8['getAttribute']('footnoteId'),_0x477e30=this['_footnotes']['findIndex'](_0x289474=>_0x289474['id']===_0x45152f),_0x32e574=this['_footnotes'][_0x477e30];let _0x169ccd=!0x1;_0x32e574['reference']=_0x43efd8,this['_footnotes']['splice'](_0x477e30,0x1);const _0x1566b9=I(this['editor']['model'],this['_footnotes'],_0x43efd8);return this['_footnotes']['splice'](_0x1566b9,0x0,_0x32e574),this['_updateFootnotesCounters'](_0x3192f8,Math['min'](_0x477e30,_0x1566b9))&&(_0x169ccd=!0x0),_0x169ccd;}['_updateFootnoteRefCounter'](_0x425c7b,_0x26ea25){if(!this['_footnotesDefinitions'])return!0x1;const _0x1033f2=this['_footnotes'][_0x26ea25];let _0x378ad8;return _0x378ad8=this['_footnoteFormatter']?this['_footnoteFormatter']({'footnote':_0x1033f2,'container':this['_footnotesDefinitions'],'digits':String(this['_footnotes']['length'])['length'],'value':_0x26ea25+0x1}):String(_0x26ea25+0x1),_0x1033f2['reference']['getAttribute']('footnoteCounter')!=_0x378ad8&&(_0x425c7b['setAttribute']('footnoteCounter',_0x378ad8,_0x1033f2['reference']),!0x0);}['_sortFootnoteDefinitions'](_0x2c3c46){if(!this['_footnotesDefinitions']||this['_footnotes']['length']<0x2)return!0x1;if(function(_0x1f68b6,_0x34cc41){if(_0x1f68b6['length']!==_0x34cc41['length'])return!0x1;for(let _0x3e2463=0x0;_0x3e2463<_0x1f68b6['length'];_0x3e2463++)if(_0x1f68b6[_0x3e2463]!==_0x34cc41[_0x3e2463])return!0x1;return!0x0;}(this['_footnotes']['map'](_0x25dfae=>_0x25dfae['id']),Array['from'](this['_footnotesDefinitions']['getChildren']())['map'](_0x3b35ca=>_0x3b35ca['getAttribute']('footnoteId'))))return!0x1;let _0x114828=!0x1;for(let _0x2230c5=0x0;_0x2230c5<this['_footnotes']['length'];_0x2230c5++){const _0x4d3add=this['_footnotes'][_0x2230c5],_0x23b55d=_0x2c3c46['createPositionBefore'](_0x4d3add['definition']),_0x10e0b4=_0x2c3c46['createPositionAt'](this['_footnotesDefinitions'],_0x2230c5);_0x23b55d['isEqual'](_0x10e0b4)||(_0x2c3c46['move'](_0x2c3c46['createRangeOn'](_0x4d3add['definition']),_0x10e0b4),_0x114828=!0x0);}return _0x114828;}['_ensureFootnotesReferencesHaveProperOrder'](_0x1706be){if(!this['_footnotes']['length'])return!0x1;const {model:_0x15b2c6}=this['editor'];let _0x49ff70=!0x1;for(let _0x351632=0x0;_0x351632<this['_footnotes']['length']-0x1;_0x351632++){const _0x4e077e=this['_footnotes'][_0x351632],_0xc63548=this['_footnotes'][_0x351632+0x1],_0x1ab362=_0x15b2c6['createPositionBefore'](_0x4e077e['reference']),_0x26d3bc=_0x15b2c6['createPositionBefore'](_0xc63548['reference']);'after'===_0x1ab362['compareWith'](_0x26d3bc)&&(this['_handleMovedFootnoteReference'](_0x1706be,_0x4e077e['reference']),_0x351632=-0x1,_0x49ff70=!0x0);}return _0x49ff70;}}function _(_0x2ee7f0,_0x2e172e,_0x444db4){if(_0x444db4['childCount'])return!0x1;const _0x1f9a1b=_0x2e172e?'paragraph':'footnoteInlineContent';return _0x2ee7f0['insert'](_0x2ee7f0['createElement'](_0x1f9a1b),_0x444db4),!0x0;}function I(_0x3852ba,_0x539076,_0x383460){if(0x0===_0x539076['length'])return 0x0;const _0x4ed7a4=_0x3852ba['createPositionBefore'](_0x383460);for(let _0x3d8806=0x0;_0x3d8806<_0x539076['length'];_0x3d8806++){const _0x1496a3=_0x539076[_0x3d8806],_0x289f30=_0x3852ba['createPositionBefore'](_0x1496a3['reference']);if('before'===_0x4ed7a4['compareWith'](_0x289f30))return _0x3d8806;}const _0x9cdccc=_0x383460['root'];let _0x47b6ea=-0x1;for(let _0x4a0935=_0x539076['length']-0x1;_0x4a0935>=0x0;_0x4a0935--)if(_0x539076[_0x4a0935]['reference']['root']===_0x9cdccc){_0x47b6ea=_0x4a0935;break;}if(-0x1!==_0x47b6ea)return _0x47b6ea+0x1;const _0x286385=_0x3852ba['document']['getRootNames'](),_0x2ad7c1=_0x286385['indexOf'](_0x9cdccc['rootName']),_0x3115bb=_0x286385[_0x2ad7c1+0x1];if(_0x3115bb){for(let _0x2ebd87=0x0;_0x2ebd87<_0x539076['length'];_0x2ebd87++)if(_0x539076[_0x2ebd87]['reference']['root']['rootName']===_0x3115bb)return _0x2ebd87;}return _0x539076['length'];}class h extends _0x344bd1{['refresh'](){const _0x2df3a7=this['editor']['model']['document']['selection'],_0x49f174=this['_getPositionToInsertFootnote'](_0x2df3a7);this['isEnabled']=!!_0x49f174;}['execute'](_0x14002e){const {editor:_0x1e9202}=this,{model:_0x80b567}=_0x1e9202,{selection:_0x4df631}=_0x80b567['document'],_0x42d39f=this['_getPositionToInsertFootnote'](_0x4df631);if(!_0x42d39f)return;const _0x3870d8=_0x1e9202['plugins']['get']('FootnotesEditing'),_0x3d18cb=_0x14002e?.['footnoteId']??_0x21759c();!function(_0x1845fa){return'string'==typeof _0x1845fa&&_0x1845fa['length']>0x0&&!/\s/['test'](_0x1845fa)&&!/^\d/['test'](_0x1845fa);}(_0x3d18cb)?_0x11e2d4('insert-footnote-command-executed-with-invalid-id'):(_0x80b567['change'](_0xf50dc6=>{const _0x1bb81a=_0xf50dc6['createElement']('footnoteRef',{'footnoteId':_0x3d18cb});_0x80b567['insertObject'](_0x1bb81a,_0x42d39f,null);}),_0x3870d8['_moveSelectionToFootnoteDefinition'](_0x3d18cb));}['_getPositionToInsertFootnote'](_0x140852){const {model:_0x12277a}=this['editor'],{schema:_0x3cacc0}=_0x12277a,_0x33d9ed=_0x140852['getFirstRange']();for(const _0x1ce192 of _0x33d9ed['getItems']())if(_0x3cacc0['isBlock'](_0x1ce192)||_0x3cacc0['isObject'](_0x1ce192))return null;const _0x32a4e7=_0x33d9ed['end'];return _0x3cacc0['checkChild'](_0x32a4e7,'footnoteRef')?_0x32a4e7:null;}}class r extends _0x3eb2b6{static get['pluginName'](){return'FootnotesEditing';}static get['requires'](){return[f];}static get['isOfficialPlugin'](){return!0x0;}static get['isPremiumPlugin'](){return!0x0;}['init'](){const {editor:_0x4dc57f}=this;_0x4dc57f['config']['define']('footnotes.multiBlock',!0x0),_0x4dc57f['commands']['add']('insertFootnote',new h(_0x4dc57f)),this['_defineSchema'](),this['_defineRefsConverters'](),this['_defineDefinitionsConverters'](),this['_defineDefinitionConverters'](),this['_defineBogusParagraphConverters'](),this['_defineKeyboardHandlers'](),this['_defineClickHandlers']();}['afterInit'](){!async function(_0x22a6b9){const _0x3d114b=_0x238cb5([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]),_0xa806ec=0x47a28506,_0x544875=0x47a5046e^_0xa806ec,_0x31e9e9=window[_0x238cb5([0x44,0x61,0x74,0x65])][_0x238cb5([0x6e,0x6f,0x77])](),_0x50008f=_0x22a6b9[_0x238cb5([0x65,0x64,0x69,0x74,0x6f,0x72])],_0x212140=new window[(_0x238cb5([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0x5b6484=>{_0x50008f[_0x238cb5([0x6f,0x6e,0x63,0x65])](_0x238cb5([0x72,0x65,0x61,0x64,0x79]),_0x5b6484);}),_0x3b1bfe={[_0x238cb5([0x6b,0x74,0x79])]:_0x238cb5([0x45,0x43]),[_0x238cb5([0x75,0x73,0x65])]:_0x238cb5([0x73,0x69,0x67]),[_0x238cb5([0x63,0x72,0x76])]:_0x238cb5([0x50,0x2d,0x32,0x35,0x36]),[_0x238cb5([0x78])]:_0x238cb5([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]),[_0x238cb5([0x79])]:_0x238cb5([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]),[_0x238cb5([0x61,0x6c,0x67])]:_0x238cb5([0x45,0x53,0x32,0x35,0x36])},_0x26adce=_0x50008f[_0x238cb5([0x63,0x6f,0x6e,0x66,0x69,0x67])][_0x238cb5([0x67,0x65,0x74])](_0x238cb5([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x4b,0x65,0x79]));async function _0x58be84(){let _0x46cca4,_0x395c68=null,_0x300513=null;try{if(_0x26adce==_0x238cb5([0x47,0x50,0x4c]))return _0x238cb5([0x4e,0x6f,0x74,0x41,0x6c,0x6c,0x6f,0x77,0x65,0x64]);if(_0x46cca4=_0x2ddd69(),!_0x46cca4)return _0x238cb5([0x49,0x6e,0x76,0x61,0x6c,0x69,0x64]);return _0x46cca4[_0x238cb5([0x75,0x73,0x61,0x67,0x65,0x45,0x6e,0x64,0x70,0x6f,0x69,0x6e,0x74])]&&(_0x300513=_0xfe3a38(_0x46cca4[_0x238cb5([0x75,0x73,0x61,0x67,0x65,0x45,0x6e,0x64,0x70,0x6f,0x69,0x6e,0x74])],_0x46cca4[_0x238cb5([0x6a,0x74,0x69])])),await _0x41920e()?_0x2ca113()?_0x267607()?_0x238cb5([0x45,0x78,0x70,0x69,0x72,0x65,0x64]):_0x185b9a()?(_0x46cca4[_0x238cb5([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x54,0x79,0x70,0x65])]==_0x238cb5([0x65,0x76,0x61,0x6c,0x75,0x61,0x74,0x69,0x6f,0x6e])&&(_0x395c68=_0x37efda(_0x238cb5([0x45,0x76,0x61,0x6c,0x75,0x61,0x74,0x69,0x6f,0x6e,0x4c,0x69,0x6d,0x69,0x74]))),await _0x435b5c()):_0x238cb5([0x44,0x6f,0x6d,0x61,0x69,0x6e,0x4c,0x69,0x6d,0x69,0x74]):_0x238cb5([0x4e,0x6f,0x74,0x41,0x6c,0x6c,0x6f,0x77,0x65,0x64]):_0x238cb5([0x49,0x6e,0x76,0x61,0x6c,0x69,0x64]);}catch{return _0x238cb5([0x49,0x6e,0x76,0x61,0x6c,0x69,0x64]);}function _0x267607(){const _0xd55c4e=[_0x238cb5([0x65,0x76,0x61,0x6c,0x75,0x61,0x74,0x69,0x6f,0x6e]),_0x238cb5([0x74,0x72,0x69,0x61,0x6c])][_0x238cb5([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x46cca4[_0x238cb5([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x54,0x79,0x70,0x65])])?_0x31e9e9/0x3e8:0xe10*_0x544875;return _0x46cca4[_0x238cb5([0x65,0x78,0x70])]<_0xd55c4e;}function _0x2ca113(){const _0x223856=_0x46cca4[_0x238cb5([0x66,0x65,0x61,0x74,0x75,0x72,0x65,0x73])];return!!_0x223856&&(!!_0x223856[_0x238cb5([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x238cb5([0x2a]))||!!_0x223856[_0x238cb5([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x238cb5([0x46,0x4f,0x4f])));}function _0x185b9a(){const _0x274b22=_0x46cca4[_0x238cb5([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x64,0x48,0x6f,0x73,0x74,0x73])];if(!_0x274b22||0x0==_0x274b22[_0x238cb5([0x6c,0x65,0x6e,0x67,0x74,0x68])])return!0x0;const {hostname:_0x113439}=new URL(window[_0x238cb5([0x6c,0x6f,0x63,0x61,0x74,0x69,0x6f,0x6e])]['href']);if(_0x274b22[_0x238cb5([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x113439))return!0x0;const _0x27b3b4=_0x113439[_0x238cb5([0x73,0x70,0x6c,0x69,0x74])](_0x238cb5([0x2e]));return _0x274b22[_0x238cb5([0x66,0x69,0x6c,0x74,0x65,0x72])](_0x1738e4=>_0x1738e4[_0x238cb5([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x238cb5([0x2a])))[_0x238cb5([0x6d,0x61,0x70])](_0x4a398e=>_0x4a398e[_0x238cb5([0x73,0x70,0x6c,0x69,0x74])](_0x238cb5([0x2e])))[_0x238cb5([0x66,0x69,0x6c,0x74,0x65,0x72])](_0x4c734b=>_0x4c734b[_0x238cb5([0x6c,0x65,0x6e,0x67,0x74,0x68])]<=_0x27b3b4[_0x238cb5([0x6c,0x65,0x6e,0x67,0x74,0x68])])[_0x238cb5([0x6d,0x61,0x70])](_0x429390=>Array(_0x27b3b4[_0x238cb5([0x6c,0x65,0x6e,0x67,0x74,0x68])]-_0x429390[_0x238cb5([0x6c,0x65,0x6e,0x67,0x74,0x68])])[_0x238cb5([0x66,0x69,0x6c,0x6c])](_0x429390[0x0]===_0x238cb5([0x2a])?_0x238cb5([0x2a]):'')[_0x238cb5([0x63,0x6f,0x6e,0x63,0x61,0x74])](_0x429390))[_0x238cb5([0x73,0x6f,0x6d,0x65])](_0x5bf6e2=>_0x27b3b4[_0x238cb5([0x65,0x76,0x65,0x72,0x79])]((_0x3f5e7f,_0xb2cf8b)=>_0x5bf6e2[_0xb2cf8b]===_0x3f5e7f||_0x5bf6e2[_0xb2cf8b]===_0x238cb5([0x2a])));}function _0x435b5c(){return _0x395c68&&_0x300513?new window[(_0x238cb5([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))]((_0x40d85c,_0x49cf24)=>{_0x395c68[_0x238cb5([0x74,0x68,0x65,0x6e])](_0x40d85c,_0x49cf24),_0x300513[_0x238cb5([0x74,0x68,0x65,0x6e])](_0x126b0a=>{_0x126b0a!=_0x238cb5([0x56,0x61,0x6c,0x69,0x64])&&_0x40d85c(_0x126b0a);},_0x49cf24);}):_0x395c68||_0x300513||_0x238cb5([0x56,0x61,0x6c,0x69,0x64]);}}function _0xfe3a38(_0x2ba5bc,_0x51ef9){return new window[(_0x238cb5([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0x3f3047=>{if(_0x4800a0())return _0x3f3047(_0x238cb5([0x56,0x61,0x6c,0x69,0x64]));_0x349e53(),_0x50008f[_0x238cb5([0x64,0x65,0x63,0x6f,0x72,0x61,0x74,0x65])](_0x238cb5([0x5f,0x73,0x65,0x6e,0x64,0x55,0x73,0x61,0x67,0x65,0x52,0x65,0x71,0x75,0x65,0x73,0x74]));let _0x26c39f=!0x1;const _0x281392=_0x21759c();function _0x689e45(_0x47d9e4){return!!_0x47d9e4&&(typeof _0x47d9e4===_0x238cb5([0x6f,0x62,0x6a,0x65,0x63,0x74])||typeof _0x47d9e4===_0x238cb5([0x66,0x75,0x6e,0x63,0x74,0x69,0x6f,0x6e]))&&typeof _0x47d9e4[_0x238cb5([0x74,0x68,0x65,0x6e])]===_0x238cb5([0x66,0x75,0x6e,0x63,0x74,0x69,0x6f,0x6e])&&typeof _0x47d9e4[_0x238cb5([0x63,0x61,0x74,0x63,0x68])]===_0x238cb5([0x66,0x75,0x6e,0x63,0x74,0x69,0x6f,0x6e]);}function _0x6ab6d1(_0xfa66b5){_0x33180e(_0xfa66b5)[_0x238cb5([0x74,0x68,0x65,0x6e])](_0x36cbc1=>{if(!_0x36cbc1||_0x36cbc1[_0x238cb5([0x73,0x74,0x61,0x74,0x75,0x73])]!=_0x238cb5([0x6f,0x6b]))return _0x238cb5([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]);return _0x50a5ba(_0x419647(_0x281392+_0x51ef9))!=_0x36cbc1[_0x238cb5([0x76,0x65,0x72,0x69,0x66,0x69,0x63,0x61,0x74,0x69,0x6f,0x6e])]?_0x238cb5([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]):_0x238cb5([0x56,0x61,0x6c,0x69,0x64]);})[_0x238cb5([0x74,0x68,0x65,0x6e])](_0x1c2c9a=>(_0x145b08(),_0x1c2c9a),()=>{const _0x5e4637=_0x52a379();return null==_0x5e4637?(_0x145b08(),_0x238cb5([0x56,0x61,0x6c,0x69,0x64])):_0x238cb5(_0x31e9e9-_0x5e4637>(0x63ae0106^_0xa806ec)?[0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]:[0x56,0x61,0x6c,0x69,0x64]);})[_0x238cb5([0x74,0x68,0x65,0x6e])](_0x3f3047)[_0x238cb5([0x63,0x61,0x74,0x63,0x68])](()=>{_0x3f3047(_0x238cb5([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]));});const _0x399377=0x47946b86^_0xa806ec;function _0x145b08(){const _0x24f5db=_0x238cb5([0x6c,0x6c,0x63,0x74,0x2d])+_0x50a5ba(_0x419647(_0x2ba5bc)),_0x240a93=_0x345f53(_0x50a5ba(window[_0x238cb5([0x4d,0x61,0x74,0x68])][_0x238cb5([0x63,0x65,0x69,0x6c])](_0x31e9e9/_0x399377)));window[_0x238cb5([0x6c,0x6f,0x63,0x61,0x6c,0x53,0x74,0x6f,0x72,0x61,0x67,0x65])][_0x238cb5([0x73,0x65,0x74,0x49,0x74,0x65,0x6d])](_0x24f5db,_0x240a93);}function _0x52a379(){const _0x2102da=_0x238cb5([0x6c,0x6c,0x63,0x74,0x2d])+_0x50a5ba(_0x419647(_0x2ba5bc)),_0x28870b=window[_0x238cb5([0x6c,0x6f,0x63,0x61,0x6c,0x53,0x74,0x6f,0x72,0x61,0x67,0x65])][_0x238cb5([0x67,0x65,0x74,0x49,0x74,0x65,0x6d])](_0x2102da);return _0x28870b?window[_0x238cb5([0x70,0x61,0x72,0x73,0x65,0x49,0x6e,0x74])](_0x345f53(_0x28870b),0x10)*_0x399377:null;}function _0x33180e(_0x37b1f5){return new window[(_0x238cb5([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))]((_0x5f573e,_0x2938a8)=>{_0x37b1f5[_0x238cb5([0x74,0x68,0x65,0x6e])](_0x5f573e,_0x2938a8),window[_0x238cb5([0x73,0x65,0x74,0x54,0x69,0x6d,0x65,0x6f,0x75,0x74])](_0x2938a8,0x47a351c6^_0xa806ec);});}}_0x50008f[_0x238cb5([0x6f,0x6e])](_0x238cb5([0x5f,0x73,0x65,0x6e,0x64,0x55,0x73,0x61,0x67,0x65,0x52,0x65,0x71,0x75,0x65,0x73,0x74]),(_0x40a4ec,_0x17d603)=>{if(_0x17d603[0x0]!=_0x2ba5bc)return _0x3f3047(_0x238cb5([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]));_0x17d603[0x1]={..._0x17d603[0x1],[_0x238cb5([0x72,0x65,0x71,0x75,0x65,0x73,0x74,0x49,0x64])]:_0x281392};},{[_0x238cb5([0x70,0x72,0x69,0x6f,0x72,0x69,0x74,0x79])]:_0x238cb5([0x68,0x69,0x67,0x68])}),_0x50008f[_0x238cb5([0x6f,0x6e])](_0x238cb5([0x5f,0x73,0x65,0x6e,0x64,0x55,0x73,0x61,0x67,0x65,0x52,0x65,0x71,0x75,0x65,0x73,0x74]),_0x567f0c=>{_0x689e45(_0x567f0c[_0x238cb5([0x72,0x65,0x74,0x75,0x72,0x6e])])&&(_0x26c39f=!0x0,_0x6ab6d1(_0x567f0c[_0x238cb5([0x72,0x65,0x74,0x75,0x72,0x6e])]));},{[_0x238cb5([0x70,0x72,0x69,0x6f,0x72,0x69,0x74,0x79])]:_0x238cb5([0x6c,0x6f,0x77])}),_0x212140[_0x238cb5([0x74,0x68,0x65,0x6e])](()=>{_0x26c39f||_0x3f3047(_0x238cb5([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]));});});function _0x4800a0(){return _0x50008f[_0x238cb5([0x65,0x64,0x69,0x74,0x69,0x6e,0x67])][_0x238cb5([0x76,0x69,0x65,0x77])][_0x238cb5([0x5f,0x6f,0x76,0x65,0x72,0x6c,0x61,0x79,0x4d,0x6f,0x64,0x65,0x48,0x69,0x6e,0x74])]==_0x238cb5([0x61,0x75,0x74,0x6f]);}function _0x349e53(){_0x50008f[_0x238cb5([0x65,0x64,0x69,0x74,0x69,0x6e,0x67])][_0x238cb5([0x76,0x69,0x65,0x77])][_0x238cb5([0x5f,0x6f,0x76,0x65,0x72,0x6c,0x61,0x79,0x4d,0x6f,0x64,0x65,0x48,0x69,0x6e,0x74])]=_0x238cb5([0x61,0x75,0x74,0x6f]);}}function _0x37efda(_0xaad68){const _0xc22488=[new window[(_0x238cb5([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0x4eb890=>setTimeout(_0x4eb890,0x47abbbca^_0xa806ec)),_0x212140[_0x238cb5([0x74,0x68,0x65,0x6e])](()=>new window[(_0x238cb5([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0x105cb8=>{let _0x439dbf=0x0;_0x50008f[_0x238cb5([0x6d,0x6f,0x64,0x65,0x6c])][_0x238cb5([0x6f,0x6e])](_0x238cb5([0x61,0x70,0x70,0x6c,0x79,0x4f,0x70,0x65,0x72,0x61,0x74,0x69,0x6f,0x6e]),(_0x59d77f,_0x4f996d)=>{_0x4f996d[0x0][_0x238cb5([0x69,0x73,0x44,0x6f,0x63,0x75,0x6d,0x65,0x6e,0x74,0x4f,0x70,0x65,0x72,0x61,0x74,0x69,0x6f,0x6e])]&&_0x439dbf++,_0x439dbf==(0x47a280ee^_0xa806ec)&&(_0x105cb8(),_0x59d77f[_0x238cb5([0x6f,0x66,0x66])]());});}))];return window[_0x238cb5([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65])][_0x238cb5([0x72,0x61,0x63,0x65])](_0xc22488)[_0x238cb5([0x74,0x68,0x65,0x6e])](()=>_0xaad68);}async function _0x35f788(){await _0x212140,_0x50008f[_0x238cb5([0x6d,0x6f,0x64,0x65,0x6c])][_0x238cb5([0x63,0x68,0x61,0x6e,0x67,0x65])]=_0x3d2994,_0x50008f[_0x238cb5([0x6d,0x6f,0x64,0x65,0x6c])][_0x238cb5([0x65,0x6e,0x71,0x75,0x65,0x75,0x65,0x43,0x68,0x61,0x6e,0x67,0x65])]=_0x3d2994,_0x50008f[_0x238cb5([0x65,0x6e,0x61,0x62,0x6c,0x65,0x52,0x65,0x61,0x64,0x4f,0x6e,0x6c,0x79,0x4d,0x6f,0x64,0x65])](_0x238cb5([0x6d,0x6f,0x64,0x65,0x6c]));}function _0xe88d15(_0x432f16){const _0x2b8b69=_0x5e3a4e();_0x50008f[_0x2b8b69]=_0x238cb5([0x66,0x6f,0x6f,0x74,0x6e,0x6f,0x74,0x65,0x73,0x4c,0x69,0x63,0x65,0x6e,0x73,0x65,0x4b,0x65,0x79])+_0x432f16,_0x432f16!=_0x238cb5([0x56,0x61,0x6c,0x69,0x64])&&_0x35f788();}function _0x5e3a4e(){const _0x14ff0a=window[_0x238cb5([0x53,0x74,0x72,0x69,0x6e,0x67])](window[_0x238cb5([0x70,0x65,0x72,0x66,0x6f,0x72,0x6d,0x61,0x6e,0x63,0x65])][_0x238cb5([0x6e,0x6f,0x77])]())[_0x238cb5([0x72,0x65,0x70,0x6c,0x61,0x63,0x65])](_0x238cb5([0x2e]),'');let _0x26b5d=_0x238cb5([0x75]);for(let _0x51e928=0x0;_0x51e928<_0x14ff0a[_0x238cb5([0x6c,0x65,0x6e,0x67,0x74,0x68])];_0x51e928+=0x2){let _0x3b92f4=window[_0x238cb5([0x70,0x61,0x72,0x73,0x65,0x49,0x6e,0x74])](_0x14ff0a[_0x238cb5([0x73,0x75,0x62,0x73,0x74,0x72,0x69,0x6e,0x67])](_0x51e928,_0x51e928+0x2));_0x3b92f4>=_0x3d114b[_0x238cb5([0x6c,0x65,0x6e,0x67,0x74,0x68])]&&(_0x3b92f4-=_0x3d114b[_0x238cb5([0x6c,0x65,0x6e,0x67,0x74,0x68])]),_0x26b5d+=_0x3d114b[_0x3b92f4];}return _0x26b5d;}function _0x2ddd69(){const _0x28dd19=_0x26adce[_0x238cb5([0x73,0x70,0x6c,0x69,0x74])](_0x238cb5([0x2e]));if(0x3!=_0x28dd19[_0x238cb5([0x6c,0x65,0x6e,0x67,0x74,0x68])])return null;return _0xd47fe8(_0x28dd19[0x1]);function _0xd47fe8(_0x27a362){const _0x14d5fb=_0x2684fd(_0x27a362);return _0x14d5fb&&_0x34abb4()?_0x14d5fb:null;function _0x34abb4(){const _0x997951=_0x14d5fb[_0x238cb5([0x6a,0x74,0x69])],_0x57e931=window[_0x238cb5([0x70,0x61,0x72,0x73,0x65,0x49,0x6e,0x74])](_0x997951[_0x238cb5([0x73,0x75,0x62,0x73,0x74,0x72,0x69,0x6e,0x67])](_0x997951[_0x238cb5([0x6c,0x65,0x6e,0x67,0x74,0x68])]-0x8),0x10),_0x32a35d={..._0x14d5fb,[_0x238cb5([0x6a,0x74,0x69])]:_0x997951[_0x238cb5([0x73,0x75,0x62,0x73,0x74,0x72,0x69,0x6e,0x67])](0x0,_0x997951[_0x238cb5([0x6c,0x65,0x6e,0x67,0x74,0x68])]-0x8)};return delete _0x32a35d[_0x238cb5([0x76,0x63])],_0x419647(_0x32a35d)==_0x57e931;}}}async function _0x41920e(){let _0x4030c0=!0x0;try{const _0x598062=_0x26adce[_0x238cb5([0x73,0x70,0x6c,0x69,0x74])](_0x238cb5([0x2e])),[_0x44bf3b,_0x568f44,_0x2bff20]=_0x598062;return _0x4615a7(_0x44bf3b),await _0x1a3f57(_0x44bf3b,_0x568f44,_0x2bff20),_0x4030c0;}catch{return!0x1;}function _0x4615a7(_0x52f5a3){const _0x585fa2=_0x2684fd(_0x52f5a3);_0x585fa2&&_0x585fa2[_0x238cb5([0x61,0x6c,0x67])]==_0x238cb5([0x45,0x53,0x32,0x35,0x36])||(_0x4030c0=!0x1);}async function _0x1a3f57(_0x5c3682,_0xcc7eb,_0xc456df){const _0x1a3cb1=window[_0x238cb5([0x55,0x69,0x6e,0x74,0x38,0x41,0x72,0x72,0x61,0x79])][_0x238cb5([0x66,0x72,0x6f,0x6d])](_0x3e78ca(_0xc456df),_0x449f10=>_0x449f10[_0x238cb5([0x63,0x68,0x61,0x72,0x43,0x6f,0x64,0x65,0x41,0x74])](0x0)),_0x3dcbf5=new window[(_0x238cb5([0x54,0x65,0x78,0x74,0x45,0x6e,0x63,0x6f,0x64,0x65,0x72]))]()[_0x238cb5([0x65,0x6e,0x63,0x6f,0x64,0x65])](_0x5c3682+_0x238cb5([0x2e])+_0xcc7eb),_0x491297=window[_0x238cb5([0x63,0x72,0x79,0x70,0x74,0x6f])][_0x238cb5([0x73,0x75,0x62,0x74,0x6c,0x65])];if(!_0x491297)return;const _0x10e8e6=await _0x491297[_0x238cb5([0x69,0x6d,0x70,0x6f,0x72,0x74,0x4b,0x65,0x79])](_0x238cb5([0x6a,0x77,0x6b]),_0x3b1bfe,{[_0x238cb5([0x6e,0x61,0x6d,0x65])]:_0x238cb5([0x45,0x43,0x44,0x53,0x41]),[_0x238cb5([0x6e,0x61,0x6d,0x65,0x64,0x43,0x75,0x72,0x76,0x65])]:_0x238cb5([0x50,0x2d,0x32,0x35,0x36])},!0x1,[_0x238cb5([0x76,0x65,0x72,0x69,0x66,0x79])]);await _0x491297[_0x238cb5([0x76,0x65,0x72,0x69,0x66,0x79])]({[_0x238cb5([0x6e,0x61,0x6d,0x65])]:_0x238cb5([0x45,0x43,0x44,0x53,0x41]),[_0x238cb5([0x68,0x61,0x73,0x68])]:{[_0x238cb5([0x6e,0x61,0x6d,0x65])]:_0x238cb5([0x53,0x48,0x41,0x2d,0x32,0x35,0x36])}},_0x10e8e6,_0x1a3cb1,_0x3dcbf5)||(_0x4030c0=!0x1);}}function _0x2684fd(_0x490977){return _0x490977[_0x238cb5([0x73,0x74,0x61,0x72,0x74,0x73,0x57,0x69,0x74,0x68])](_0x238cb5([0x65,0x79]))?JSON[_0x238cb5([0x70,0x61,0x72,0x73,0x65])](_0x3e78ca(_0x490977)):null;}function _0x3e78ca(_0x277e21){return window[_0x238cb5([0x61,0x74,0x6f,0x62])](_0x277e21[_0x238cb5([0x72,0x65,0x70,0x6c,0x61,0x63,0x65])](/-/g,_0x238cb5([0x2b]))[_0x238cb5([0x72,0x65,0x70,0x6c,0x61,0x63,0x65])](/_/g,_0x238cb5([0x2f])));}function _0x419647(_0x26cdb6){let _0x594f82=0x1505;function _0xebc118(_0x35a9ed){for(let _0x2cb80b=0x0;_0x2cb80b<_0x35a9ed[_0x238cb5([0x6c,0x65,0x6e,0x67,0x74,0x68])];_0x2cb80b++){const _0x1608ff=_0x35a9ed[_0x238cb5([0x63,0x68,0x61,0x72,0x43,0x6f,0x64,0x65,0x41,0x74])](_0x2cb80b);_0x594f82=(_0x594f82<<0x5)+_0x594f82+_0x1608ff,_0x594f82&=_0x594f82;}}function _0x1f61ca(_0x57cfac){Array[_0x238cb5([0x69,0x73,0x41,0x72,0x72,0x61,0x79])](_0x57cfac)?_0x57cfac[_0x238cb5([0x66,0x6f,0x72,0x45,0x61,0x63,0x68])](_0x1f61ca):_0x57cfac&&typeof _0x57cfac==_0x238cb5([0x6f,0x62,0x6a,0x65,0x63,0x74])?Object[_0x238cb5([0x65,0x6e,0x74,0x72,0x69,0x65,0x73])](_0x57cfac)[_0x238cb5([0x73,0x6f,0x72,0x74])]()[_0x238cb5([0x66,0x6f,0x72,0x45,0x61,0x63,0x68])](([_0x5e7ae8,_0x1b7998])=>{_0xebc118(_0x5e7ae8),_0x1f61ca(_0x1b7998);}):_0xebc118(window[_0x238cb5([0x53,0x74,0x72,0x69,0x6e,0x67])](_0x57cfac));}return _0x1f61ca(_0x26cdb6),_0x594f82>>>0x0;}function _0x50a5ba(_0x3eb4e8){return _0x3eb4e8[_0x238cb5([0x74,0x6f,0x53,0x74,0x72,0x69,0x6e,0x67])](0x10)[_0x238cb5([0x70,0x61,0x64,0x53,0x74,0x61,0x72,0x74])](0x8,_0x238cb5([0x30]));}function _0x345f53(_0x1b126e){return _0x1b126e[_0x238cb5([0x73,0x70,0x6c,0x69,0x74])]('')[_0x238cb5([0x72,0x65,0x76,0x65,0x72,0x73,0x65])]()[_0x238cb5([0x6a,0x6f,0x69,0x6e])]('');}function _0x3d2994(){}function _0x238cb5(_0x2bc9c9){return _0x2bc9c9['map'](_0x2b2a59=>String['fromCharCode'](_0x2b2a59))['join']('');}_0xe88d15(await _0x58be84());}(this);}['_moveSelectionToFootnoteDefinition'](_0x590f36){const {plugins:_0x46f69a,editing:_0x1ce2f2,model:_0x20d733}=this['editor'],_0x5dab49=_0x46f69a['get'](f)['getFootnote'](_0x590f36);return!!_0x5dab49&&(_0x20d733['change'](_0x4be26e=>{_0x4be26e['setSelection'](_0x4be26e['createPositionAt'](_0x5dab49['definition'],'end'));}),_0x1ce2f2['view']['scrollToTheSelection'](),!0x0);}['_moveSelectionToFootnoteReference'](_0x3c56e7){const {plugins:_0x46269d,editing:_0x3da93b,model:_0x417c51}=this['editor'],_0x5ee697=_0x46269d['get'](f)['getFootnote'](_0x3c56e7);return!!_0x5ee697&&(_0x417c51['change'](_0x54c549=>{_0x54c549['setSelection'](_0x5ee697['reference'],'on');}),_0x3da93b['view']['scrollToTheSelection'](),!0x0);}['_defineSchema'](){const {schema:_0x32bc3a}=this['editor']['model'],_0xf67cfc=this['editor']['config']['get']('footnotes.multiBlock');_0x32bc3a['register']('footnoteRef',{'inheritAllFrom':'$inlineObject','allowAttributes':['footnoteId','footnoteCounter']}),_0x32bc3a['register']('footnotesDefinitions',{'inheritAllFrom':'$blockObject','allowChildren':['footnoteDefinition']}),_0x32bc3a['register']('footnoteDefinition',{'allowAttributes':['footnoteId'],'disallowAttributes':['listItemId'],'isLimit':!0x0}),_0xf67cfc?_0x32bc3a['extend']('footnoteDefinition',{'allowContentOf':'$container'}):_0x32bc3a['register']('footnoteInlineContent',{'allowIn':'footnoteDefinition','allowContentOf':'$block','isLimit':!0x0}),_0x32bc3a['addChildCheck'](_0x5cb883=>{for(const _0x3039c2 of _0x5cb883)if('footnoteDefinition'===_0x3039c2['name'])return!0x1;},'footnoteRef');}['_defineRefsConverters'](){const {editor:_0x342671}=this,{conversion:_0x55e395,editing:_0x2cc283}=_0x342671,{t:t}=_0x342671['locale'];_0x55e395['for']('upcast')['elementToElement']({'view':{'name':'sup','classes':'footnote'},'model':(_0x15ec98,{writer:_0x2206f7,consumable:_0x5c5d1d})=>{const _0x130969=_0x15ec98['getChild'](0x0);if(!_0x130969||!_0x130969['is']('element','a'))return null;const _0x4fcc53=_0x130969['getAttribute']('href')||'';if(!_0x4fcc53['startsWith']('#'))return null;const _0x4fd8e3=_0x4fcc53['replace'](/^#/,'');if(!_0x4fd8e3)return null;_0x5c5d1d['consume'](_0x130969,{'name':!0x0,'attributes':['href']});for(const {item:_0x40204b}of _0x2cc283['view']['createRangeIn'](_0x130969))_0x40204b['is']('$textProxy')?_0x5c5d1d['consume'](_0x40204b['textNode'],{'name':!0x0}):_0x40204b['is']('element')&&_0x5c5d1d['consume'](_0x40204b,{'name':!0x0});return _0x2206f7['createElement']('footnoteRef',{'footnoteId':_0x4fd8e3});}}),_0x55e395['for']('dataDowncast')['elementToElement']({'model':{'name':'footnoteRef','attributes':['footnoteId','footnoteCounter']},'view':(_0x3aa4ec,{writer:_0x4e2f36})=>b(_0x3aa4ec,_0x4e2f36)}),_0x55e395['for']('editingDowncast')['elementToElement']({'model':{'name':'footnoteRef','attributes':['footnoteId','footnoteCounter']},'view':(_0x1a0c9f,{writer:_0x5363cd})=>{const _0x47c6d9=_0x1a0c9f['getAttribute']('footnoteCounter');return _0x192168(b(_0x1a0c9f,_0x5363cd),_0x5363cd,{'label':t('Footnote\x20%0.\x20Press\x20ENTER\x20to\x20jump\x20to\x20footnote\x20definition.',_0x47c6d9)});}});}['_defineDefinitionsConverters'](){const {editor:_0x12db08}=this,{t:t}=_0x12db08['locale'],{conversion:_0x12dae3}=_0x12db08;_0x12dae3['for']('upcast')['elementToElement']({'view':{'name':'div','classes':'footnotes'},'model':'footnotesDefinitions'}),_0x12dae3['for']('upcast')['add'](_0x1aeda1=>{_0x1aeda1['on']('element:ol',(_0x164a8e,_0x504bc3,_0x13bd54)=>{const _0x4fd32a=_0x504bc3['viewItem'];if(!_0x4fd32a['hasClass']('footnotes-list')||!_0x504bc3['modelCursor']['parent']?.['is']('element','footnotesDefinitions'))return;if(!_0x13bd54['consumable']['consume'](_0x4fd32a,{'name':!0x0,'classes':'footnotes-list'}))return;const {modelRange:_0x28baf9,modelCursor:_0x396ff0}=_0x13bd54['convertChildren'](_0x504bc3['viewItem'],_0x504bc3['modelCursor']);_0x504bc3['modelRange']=_0x28baf9,_0x504bc3['modelCursor']=_0x396ff0;}),_0x1aeda1['on']('element:hr',(_0x1becfb,_0x38521c,_0x1af66)=>{const _0x5386ed=_0x38521c['viewItem'];_0x5386ed['hasClass']('footnotes-divider')&&_0x38521c['modelCursor']['parent']?.['is']('element','footnotesDefinitions')&&_0x1af66['consumable']['consume'](_0x5386ed,{'name':!0x0,'classes':'footnotes-divider'});});}),_0x12dae3['for']('dataDowncast')['elementToStructure']({'model':'footnotesDefinitions','view':(_0x3f0496,{writer:_0x57c45a})=>D(_0x57c45a)}),_0x12dae3['for']('editingDowncast')['elementToStructure']({'model':'footnotesDefinitions','view':(_0x4e703d,{writer:_0x50c942})=>{const _0x531098=D(_0x50c942,{'data-footnotes-list-label':t('Footnotes')}),_0x1c1799=_0x192168(_0x531098,_0x50c942,{'hasSelectionHandle':!0x0,'label':t('Footnotes')});return _0x50c942['setCustomProperty']('footnotesDefinitions',!0x0,_0x1c1799),_0x1c1799;}});}['_defineDefinitionConverters'](){const {editor:_0x1e0a85}=this,{conversion:_0x2bc9ce,locale:_0x12d572}=_0x1e0a85,_0x314a77=_0x1e0a85['config']['get']('footnotes.multiBlock');_0x2bc9ce['for']('upcast')['add'](_0x3ca726=>{_0x3ca726['on']('element:li',(_0x132dfd,_0x30b880,_0x38bfca)=>{const _0x214b65=_0x30b880['viewItem'];if(!_0x214b65['hasClass']('footnote-definition')||!_0x214b65['getAttribute']('id'))return;const _0x46f2c3=_0x214b65['parent'];if(!_0x46f2c3['is']('element','ol')||!_0x46f2c3['hasClass']('footnotes-list'))return;if(!_0x38bfca['consumable']['test'](_0x214b65,{'name':!0x0,'attributes':'id','classes':'footnote-definition'}))return;const _0x492f5f=_0x38bfca['writer']['createElement']('footnoteDefinition',{'footnoteId':_0x214b65['getAttribute']('id')});if(!_0x38bfca['safeInsert'](_0x492f5f,_0x30b880['modelCursor']))return;_0x38bfca['consumable']['consume'](_0x214b65,{'name':!0x0,'attributes':'id','classes':'footnote-definition'});const _0x537d86=Array['from'](_0x214b65['getChildren']())['find'](_0x478506=>_0x478506['is']('element')&&_0x478506['hasClass']('footnote-content'));for(const _0x273506 of _0x214b65['getChildren']())_0x273506['is']('element')&&(_0x38bfca['consumable']['consume'](_0x273506,{'name':!0x0,'classes':'footnote-backlink','attributes':'href'}),_0x38bfca['consumable']['consume'](_0x273506,{'name':!0x0,'classes':'footnote-content'}));if(_0x537d86){if(_0x314a77)_0x38bfca['convertChildren'](_0x537d86,_0x492f5f);else{const _0x33cbf2=_0x38bfca['writer']['createElement']('footnoteInlineContent');_0x38bfca['writer']['insert'](_0x33cbf2,_0x492f5f),_0x38bfca['convertChildren'](_0x537d86,_0x33cbf2);}}_0x38bfca['updateConversionResult'](_0x492f5f,_0x30b880);});}),_0x2bc9ce['for']('dataDowncast')['elementToStructure']({'model':{'name':'footnoteDefinition','attributes':['footnoteId']},'view':(_0x20730a,{writer:_0x5872e8})=>y(_0x20730a,_0x5872e8,_0x12d572,{'dataPipeline':!0x0})}),_0x2bc9ce['for']('editingDowncast')['elementToStructure']({'model':{'name':'footnoteDefinition','attributes':['footnoteId']},'view':(_0x2af7e8,{writer:_0x4e27d1})=>y(_0x2af7e8,_0x4e27d1,_0x12d572)});}['_defineBogusParagraphConverters'](){const {editor:_0xfb2bb5}=this,{conversion:_0x123a69}=_0xfb2bb5;_0xfb2bb5['config']['get']('footnotes.multiBlock')?(_0x123a69['for']('editingDowncast')['elementToElement']({'model':'paragraph','view':p(),'converterPriority':'high'}),_0x123a69['for']('dataDowncast')['elementToElement']({'model':'paragraph','view':p({'dataPipeline':!0x0}),'converterPriority':'high'}),this['listenTo'](_0xfb2bb5['model']['document'],'change:data',()=>{!function(_0x49279c,_0x59dd77){const _0x3d66ce=_0x49279c['document']['differ'],_0x163c57=new Set();for(const _0x279edd of _0x3d66ce['getChanges']()){const _0x9234a5='attribute'==_0x279edd['type']?_0x279edd['range']['start']['parent']:_0x279edd['position']['parent'];_0x9234a5['is']('element','footnoteDefinition')&&_0x163c57['add'](_0x9234a5);}for(const _0xea4208 of _0x163c57['values']()){const _0x524876=Array['from'](_0xea4208['getChildren']())['filter'](_0x4e32c5=>v(_0x4e32c5,_0x59dd77['mapper']));for(const _0xad4049 of _0x524876)_0x59dd77['reconvertItem'](_0xad4049);}}(_0xfb2bb5['model'],_0xfb2bb5['editing']);})):(_0x123a69['for']('editingDowncast')['elementToElement']({'model':'footnoteInlineContent','view':p()}),_0x123a69['for']('dataDowncast')['elementToElement']({'model':'footnoteInlineContent','view':(_0x130cd2,{writer:_0x139514})=>{const _0x45331d=_0x139514['createContainerElement']('span');return _0x139514['setCustomProperty']('dataPipeline:transparentRendering',!0x0,_0x45331d),_0x45331d;}}));}['_defineKeyboardHandlers'](){const {editor:_0x535767}=this,{editing:_0x59411b,t:t}=_0x535767,_0x50729b=_0x535767['model']['document']['selection'];_0x535767['keystrokes']['set']('Ctrl+Alt+F','insertFootnote'),_0x535767['accessibility']['addKeystrokeInfos']({'keystrokes':[{'label':t('Insert\x20footnote'),'keystroke':'Ctrl+Alt+F'}]}),this['listenTo'](_0x59411b['view']['document'],'enter',(_0xe3186d,_0x3adeae)=>{const _0x53d653=function(_0x458065){const _0x1e541d=_0x458065['getSelectedElement']();if(_0x1e541d?.['is']('element','footnoteRef'))return _0x1e541d;return null;}(_0x50729b);if(_0x53d653){const _0x39757f=_0x53d653['getAttribute']('footnoteId');this['_moveSelectionToFootnoteDefinition'](_0x39757f),_0x3adeae['preventDefault'](),_0xe3186d['stop']();}},{'context':_0x335e2d});}['_defineClickHandlers'](){const {editor:_0x505414}=this,{editing:_0x4f0c21}=_0x505414;_0x505414['editing']['view']['addObserver'](_0x4c3c27),_0x505414['editing']['view']['addObserver'](_0x35818a);let _0x52e672=!0x1;this['listenTo'](_0x4f0c21['view']['document'],'pointerdown',(_0x4b2404,_0x35a52e)=>{const {target:_0x7593e4}=_0x35a52e,_0xbbcca9=_0x4f0c21['view']['document']['selection'];_0x52e672=!!(_0x7593e4?.['is']('element','a')&&_0x7593e4['parent']?.['is']('element','sup')&&_0x7593e4['parent']['hasClass']('footnote'))&&_0xbbcca9['getSelectedElement']()===_0x7593e4['parent'];},{'priority':'high'}),this['listenTo'](_0x4f0c21['view']['document'],'click',(_0x5df015,_0x28e374)=>{const {target:_0x4f0e5d}=_0x28e374;if(!_0x4f0e5d?.['is']('element','a'))return;if(_0x4f0e5d['parent']?.['is']('element','sup')&&_0x4f0e5d['parent']['hasClass']('footnote')&&!_0x52e672)return void _0x28e374['preventDefault']();let _0x2fa9ee=_0x4f0e5d['getAttribute']('href');if(!_0x2fa9ee?.['startsWith']('#'))return;_0x2fa9ee=_0x2fa9ee['slice'](0x1);let _0x1234f3=!0x1;(_0x2fa9ee['startsWith']('ref-')&&this['_moveSelectionToFootnoteReference'](_0x2fa9ee['slice'](0x4))||this['_moveSelectionToFootnoteDefinition'](_0x2fa9ee))&&(_0x1234f3=!0x0),_0x1234f3&&(_0x28e374['preventDefault'](),_0x5df015['stop']());},{'priority':'high','context':'$capture'});}}function p({dataPipeline:_0x5aa517}={}){return(_0x5d1c98,{writer:_0x10f8c5})=>{if(!g(_0x5d1c98))return null;if(!_0x5aa517)return _0x10f8c5['createContainerElement']('span',{'class':'ck-footnote-bogus-paragraph'});const _0x4295d5=_0x10f8c5['createContainerElement']('p');return _0x10f8c5['setCustomProperty']('dataPipeline:transparentRendering',!0x0,_0x4295d5),_0x4295d5;};}function g(_0x56604d){const {parent:_0x2031c0}=_0x56604d;if(!_0x2031c0?.['is']('element','footnoteDefinition'))return!0x1;if(0x1!=_0x2031c0['childCount'])return!0x1;for(const _0x443e3d of _0x56604d['getAttributeKeys']())if(!_0x443e3d['startsWith']('selection:')&&'htmlEmptyBlock'!=_0x443e3d)return!0x1;return!0x0;}function v(_0x362b27,_0x13734f){if(!_0x362b27['is']('element','paragraph'))return!0x1;const _0x1fdec6=_0x13734f['toViewElement'](_0x362b27);return!!_0x1fdec6&&g(_0x362b27)!==_0x1fdec6['is']('element','span');}function H(_0x2ba2c9){return _0x335e2d(_0x2ba2c9)&&_0x2ba2c9['is']('containerElement')&&!!_0x2ba2c9['getCustomProperty']('footnotesDefinitions');}function D(_0x3436a5,_0x574702={}){const _0x5b89f6=_0x3436a5['createEmptyElement']('hr',{'class':'footnotes-divider'}),_0x4b6bae=_0x3436a5['createContainerElement']('ol',{'class':'footnotes-list'},_0x3436a5['createSlot']());return _0x3436a5['createContainerElement']('div',{'class':'footnotes',..._0x574702},[_0x5b89f6,_0x4b6bae]);}function b(_0x1a7ad8,_0x38a1fd){const _0x5cad72=_0x1a7ad8['getAttribute']('footnoteId'),_0x4c5797=_0x1a7ad8['getAttribute']('footnoteCounter'),_0x5c322e=_0x38a1fd['createUIElement']('a',{'href':'#'+_0x5cad72},function(_0x1ef237){const _0x507590=this['toDomElement'](_0x1ef237);return _0x507590['textContent']=_0x4c5797,_0x507590;}),_0x1e813c=_0x38a1fd['createContainerElement']('sup',{'id':'ref-'+_0x5cad72,'class':'footnote'},[_0x5c322e]);return _0x1e813c['getFillerOffset']=()=>null,_0x1e813c;}function y(_0x29578a,_0x2df7c0,_0x118ede,{dataPipeline:_0x137906}={}){const {t:t}=_0x118ede,_0x47df14=_0x29578a['getAttribute']('footnoteId'),_0x16f7da=_0x2df7c0['createUIElement']('a',{'class':'footnote-backlink','href':'#ref-'+_0x47df14},function(_0x1852b6){const _0x44cf40=this['toDomElement'](_0x1852b6);return _0x44cf40['innerText']='^',_0x44cf40;}),_0x47bfe9=_0x137906?_0x2df7c0['createContainerElement']('div',{'class':'footnote-content'}):_0x4071db(_0x2df7c0['createEditableElement']('div',{'class':'footnote-content'}),_0x2df7c0,{'label':t('Footnote\x20content.')});return _0x2df7c0['insert'](_0x2df7c0['createPositionAt'](_0x47bfe9,0x0),_0x2df7c0['createSlot']()),_0x2df7c0['createContainerElement']('li',{'class':'footnote-definition','id':_0x47df14},[_0x16f7da,_0x47bfe9]);}class e extends _0x3eb2b6{static get['pluginName'](){return'FootnotesClipboard';}static get['requires'](){return[r,_0x3c5634];}static get['isOfficialPlugin'](){return!0x0;}static get['isPremiumPlugin'](){return!0x0;}['init'](){this['_defineClipboardIntegration']();}['_defineClipboardIntegration'](){this['_handleCopyFootnotesDefinitions'](),this['_handlePasteFootnotesDefinitions']();}['_handleCopyFootnotesDefinitions'](){const {editor:_0x32339d}=this,{plugins:_0x4b1a0e,model:_0x1400d7}=_0x32339d,_0x584bc1=_0x4b1a0e['get'](_0x3c5634),_0x264903=_0x4b1a0e['get'](f);this['listenTo'](_0x584bc1,'outputTransformation',(_0x22f4fd,_0x377edf)=>{const _0x3e53c5=l(_0x1400d7['createRangeIn'](_0x377edf['content']));if(!_0x3e53c5['length'])return;const _0x546f7c=_0x264903['getFootnotes'](),_0x547129=_0x3e53c5['reduce']((_0x250095,_0x253cd6)=>{const _0xc14966=_0x546f7c['find'](_0x4f6958=>_0x4f6958['id']===_0x253cd6);if(_0xc14966){const _0x20c228=_0x32339d['data']['toView'](_0xc14966['definition'],{'isClipboardPipeline':!0x0}),_0x41de0e=_0x32339d['data']['htmlProcessor']['toData'](_0x20c228);_0x250095[_0xc14966['id']]=_0x41de0e;}return _0x250095;},Object['create'](null));_0x377edf['dataTransfer']['setData']('application/ckeditor5-footnotes',JSON['stringify'](_0x547129));});}['_handlePasteFootnotesDefinitions'](){const {editor:_0x1923d2}=this,{model:_0x31d3ed,plugins:_0x5a7c00}=_0x1923d2,{view:_0x518814}=_0x1923d2['editing'],_0x307747=_0x5a7c00['get'](_0x3c5634),_0x1f885c=_0x5a7c00['get'](f),_0x94835f=_0x1923d2['config']['get']('footnotes.multiBlock');let _0x27d41f=null;this['listenTo'](_0x518814['document'],'clipboardInput',(_0x1b185c,_0x117ea4)=>{const _0xc59259=_0x117ea4['dataTransfer']['getData']('application/ckeditor5-footnotes');_0x27d41f=_0xc59259?JSON['parse'](_0xc59259):null;}),this['listenTo'](_0x307747,'contentInsertion',(_0x12768a,_0x327519)=>{const _0x3ec52e=_0x327519['sourceEditorId']===this['editor']['id'];_0x3ec52e&&'drop'===_0x327519['method']||_0x31d3ed['change'](_0x59a0b5=>{let _0x3ce090=_0x1f885c['getFootnotesDefinitionsObjectElement']();const _0x47f4ac=!!_0x3ce090&&Array['from'](_0x31d3ed['document']['selection']['getSelectedBlocks']())['includes'](_0x3ce090);if(!_0x27d41f&&function(_0x162531){for(const {item:_0x2fee7b}of _0x162531)if(_0x2fee7b['is']('element','footnoteRef'))return!0x0;return!0x1;}(_0x31d3ed['createRangeIn'](_0x327519['content']))&&(_0x27d41f=function(_0x497df8,_0x23d3ff){const _0x19c941=c(_0x497df8,_0x23d3ff);if(!_0x19c941)return null;const _0x58a067=Object['create'](null);for(const _0x3ead48 of _0x19c941['getChildren']())_0x3ead48['is']('element','footnoteDefinition')&&_0x3ead48['hasAttribute']('footnoteId')&&(_0x58a067[_0x3ead48['getAttribute']('footnoteId')]=_0x497df8['cloneElement'](_0x3ead48,!0x0));return Object['keys'](_0x58a067)['length']?_0x58a067:null;}(_0x59a0b5,_0x327519['content'])),(_0x3ce090&&!_0x47f4ac||!_0x3ce090&&!_0x27d41f)&&function(_0x50adbb,_0x2e3073){const _0x44ea03=[];for(const {item:_0x46035d}of _0x50adbb['createRangeIn'](_0x2e3073))_0x46035d['is']('element','footnotesDefinitions')&&_0x44ea03['push'](_0x46035d);for(const _0xd0ef14 of _0x44ea03)_0x50adbb['remove'](_0xd0ef14);}(_0x59a0b5,_0x327519['content']),!_0x27d41f)return;const {selection:_0x22a4bf}=_0x31d3ed['document'],_0x44b57c=_0x22a4bf['getFirstRange']()['root'];_0x3ce090&&!_0x47f4ac||(_0x3ce090=c(_0x59a0b5,_0x327519['content']),_0x3ce090||=_0x1f885c['_insertEmptyFootnotesDefinitionsContainer'](_0x59a0b5,_0x44b57c));const _0x51cc53=Array['from'](_0x22a4bf['getRanges']())['flatMap'](l),_0x2fd487=function(_0x7d189e,_0x3bca62,_0x269b4b){const _0x355e4f=Object['create'](null);for(const {item:_0x3fbe6f}of _0x7d189e['createRangeIn'](_0x3bca62))if(_0x3fbe6f['is']('element','footnoteRef')){const _0x5547f1=_0x3fbe6f['getAttribute']('footnoteId');if(!_0x269b4b(_0x5547f1))continue;_0x355e4f[_0x5547f1]||(_0x355e4f[_0x5547f1]=_0x21759c()),_0x7d189e['setAttribute']('footnoteId',_0x355e4f[_0x5547f1],_0x3fbe6f);}return _0x355e4f;}(_0x59a0b5,_0x327519['content'],_0x1e4827=>{if(!_0x3ec52e)return!0x0;return!!_0x1f885c['getFootnote'](_0x1e4827)&&!_0x51cc53['includes'](_0x1e4827);});for(const [_0x537e76,_0x295680]of Object['entries'](_0x27d41f)){const _0x513527=_0x2fd487[_0x537e76]||_0x537e76;let _0x8078c3;if('string'!=typeof _0x295680)_0x8078c3=_0x295680,_0x513527!==_0x537e76&&_0x59a0b5['setAttribute']('footnoteId',_0x513527,_0x8078c3);else{_0x8078c3=_0x59a0b5['createElement']('footnoteDefinition',{'footnoteId':_0x513527});const _0x28b091=_0x1923d2['data']['htmlProcessor']['toView'](_0x295680);let _0x4fba93;if(_0x94835f)_0x4fba93=_0x1923d2['data']['toModel'](_0x28b091,_0x8078c3);else{_0x4fba93=_0x59a0b5['createElement']('footnoteInlineContent');const _0x58e81e=_0x1923d2['data']['toModel'](_0x28b091,_0x4fba93);_0x59a0b5['insert'](_0x58e81e,_0x4fba93);}_0x59a0b5['append'](_0x4fba93,_0x8078c3);}_0x59a0b5['insert'](_0x8078c3,_0x3ce090,'end');}_0x27d41f=null;});});}}function c(_0x3a9dde,_0x39dba1){for(const {item:_0x1c3ef7}of _0x3a9dde['createRangeIn'](_0x39dba1))if(_0x1c3ef7['is']('element','footnotesDefinitions'))return _0x1c3ef7;return null;}function l(_0x4932e5){const _0xb699f7=new Set();for(const {item:_0x97099}of _0x4932e5)_0x97099['is']('element','footnoteRef')&&_0xb699f7['add'](_0x97099['getAttribute']('footnoteId'));return Array['from'](_0xb699f7);}class i extends _0x3eb2b6{['licenseKey'];['_licenseKeyCheckInterval'];static get['pluginName'](){return'FootnotesUI';}static get['isOfficialPlugin'](){return!0x0;}static get['isPremiumPlugin'](){return!0x0;}['init'](){const {editor:_0x47892e}=this,{componentFactory:_0x2c3234}=_0x47892e['ui'];_0x2c3234['add']('insertFootnote',E(_0x47892e,_0x50a4fc)),_0x2c3234['add']('menuBar:insertFootnote',E(_0x47892e,_0x280159)),this['licenseKey']=this['editor']['config']['get']('licenseKey');const _0x324ed3=this['editor'];this['_licenseKeyCheckInterval']=setInterval(()=>{let _0x37e275;for(const _0x5a1ba5 in _0x324ed3){const _0x16df25=_0x5a1ba5,_0x1ffc7c=_0x324ed3[_0x16df25];if('footnotesLicenseKeyValid'==_0x1ffc7c||'footnotesLicenseKeyInvalid'==_0x1ffc7c||'footnotesLicenseKeyExpired'==_0x1ffc7c||'footnotesLicenseKeyDomainLimit'==_0x1ffc7c||'footnotesLicenseKeyNotAllowed'==_0x1ffc7c||'footnotesLicenseKeyEvaluationLimit'==_0x1ffc7c||'footnotesLicenseKeyUsageLimit'==_0x1ffc7c){delete _0x324ed3[_0x16df25],_0x37e275=_0x1ffc7c,clearInterval(this['_licenseKeyCheckInterval']),this['_licenseKeyCheckInterval']=void 0x0;break;}}'footnotesLicenseKeyInvalid'==_0x37e275&&_0x324ed3['_showLicenseError']('invalid'),'footnotesLicenseKeyExpired'==_0x37e275&&_0x324ed3['_showLicenseError']('expired'),'footnotesLicenseKeyDomainLimit'==_0x37e275&&_0x324ed3['_showLicenseError']('domainLimit'),'footnotesLicenseKeyNotAllowed'==_0x37e275&&_0x324ed3['_showLicenseError']('featureNotAllowed','Footnotes'),'footnotesLicenseKeyEvaluationLimit'==_0x37e275&&_0x324ed3['_showLicenseError']('evaluationLimit'),'footnotesLicenseKeyUsageLimit'==_0x37e275&&_0x324ed3['_showLicenseError']('usageLimit');},0x3e8);}['destroy'](){super['destroy'](),this['_licenseKeyCheckInterval']&&clearInterval(this['_licenseKeyCheckInterval']);}}function E(_0x16db63,_0x3e054b){const _0x2ef1e8=_0x16db63['commands']['get']('insertFootnote');return _0x191945=>{const {t:t}=_0x191945,_0x1123ba=new _0x3e054b(_0x191945),_0x1cbd04=_0x1123ba instanceof _0x280159;return _0x1123ba['bind']('isEnabled')['to'](_0x2ef1e8,'isEnabled'),_0x1123ba['set']({'label':t(_0x1cbd04?'Footnote':'Insert\x20footnote'),'icon':_0x28d033,'tooltip':!0x0}),_0x1123ba['on']('execute',()=>{_0x2ef1e8['execute'](),_0x16db63['editing']['view']['focus']();}),_0x1123ba;};}class lt extends _0x3eb2b6{static get['pluginName'](){return'Footnotes';}static get['requires'](){return[r,e,i];}static get['isOfficialPlugin'](){return!0x0;}static get['isPremiumPlugin'](){return!0x0;}}const ct=['decimal','decimal-leading-zero','lower-latin','upper-latin','lower-alpha','upper-alpha','lower-roman','upper-roman'];class S extends _0x344bd1{['refresh'](){const {editor:_0x101ea3}=this,_0x3d25c1=_0x101ea3['plugins']['get'](f)['getFootnotesDefinitionsObjectElement']();this['isEnabled']=!!_0x3d25c1,this['value']=_0x3d25c1?.['getAttribute']('footnotesListStyle')??null;}['execute']({value:_0x33c838}){const {editor:_0x482eb7}=this,_0x418708=_0x482eb7['plugins']['get'](f),_0x1bb033=_0x418708['getFootnotesDefinitionsObjectElement']();_0x1bb033&&ct['includes'](_0x33c838)&&_0x482eb7['model']['change'](_0x9b70ef=>{_0x9b70ef['setAttribute']('footnotesListStyle',_0x33c838,_0x1bb033),_0x418708['_updateFootnotesCounters'](_0x9b70ef);});}}class C extends _0x344bd1{['refresh'](){const {editor:_0x202a1a}=this,_0x44eba3=_0x202a1a['plugins']['get'](f)['getFootnotesDefinitionsObjectElement']();this['isEnabled']=!!_0x44eba3,this['value']=_0x44eba3?.['getAttribute']('footnotesListStart')??null;}['execute']({value:_0x2814a0}){const {editor:_0x380d5e}=this,_0x312db5=_0x380d5e['plugins']['get'](f),_0x21ee25=_0x312db5['getFootnotesDefinitionsObjectElement']();_0x21ee25&&Number['isInteger'](_0x2814a0)&&_0x380d5e['model']['change'](_0x515572=>{_0x515572['setAttribute']('footnotesListStart',_0x2814a0,_0x21ee25),_0x312db5['_updateFootnotesCounters'](_0x515572);});}}class P extends _0x3eb2b6{static get['pluginName'](){return'FootnotesPropertiesEditing';}static get['requires'](){return[r,f];}static get['isOfficialPlugin'](){return!0x0;}static get['isPremiumPlugin'](){return!0x0;}['init'](){const {editor:_0x17c866}=this;_0x17c866['config']['define']('footnotes.footnotesProperties.defaultListStyle','decimal'),_0x17c866['config']['define']('footnotes.footnotesProperties.defaultStartIndex',0x1),_0x17c866['commands']['add']('footnotesStyle',new S(_0x17c866)),_0x17c866['commands']['add']('footnotesStart',new C(_0x17c866)),this['_defineSchema'](),this['_defineConverters'](),this['_defineFormatter'](),this['_definePostfixer']();}['_defineSchema'](){const {editor:_0x3afdb9}=this,{schema:_0x19f242}=_0x3afdb9['model'];_0x19f242['extend']('footnotesDefinitions',{'allowAttributes':['footnotesListStyle','footnotesListStart']});}['_defineConverters'](){const {editor:_0x562a11}=this,{conversion:_0x256235,model:_0x2c5d11}=_0x562a11,{schema:_0x481504}=_0x2c5d11;_0x256235['for']('upcast')['add'](_0x496ca4=>{_0x496ca4['on']('element:ol',(_0x8ae69,_0x4844df,_0x552c92)=>{const _0x5b336e=_0x4844df['viewItem'],_0xb13b59=_0x4844df['modelCursor']?.['parent'];_0x5b336e['hasClass']('footnotes-list')&&_0xb13b59?.['is']('element','footnotesDefinitions')&&(function(_0x4cb260,_0x10d6d4,_0x38cb4f,_0x4c1f93){if(!_0x4c1f93['checkAttribute'](_0x10d6d4,'footnotesListStart'))return;let _0x12ee28=0x1;const _0x41b06f=_0x38cb4f['consumable']['consume'](_0x4cb260,{'attributes':'start'});if(_0x41b06f){const _0x289949=Number['parseInt'](_0x4cb260['getAttribute']('start'),0xa);Number['isNaN'](_0x289949)||(_0x12ee28=_0x289949);}!_0x41b06f&&_0x10d6d4['hasAttribute']('footnotesListStart')||_0x38cb4f['writer']['setAttribute']('footnotesListStart',_0x12ee28,_0x10d6d4);}(_0x5b336e,_0xb13b59,_0x552c92,_0x481504),function(_0x5e5baa,_0x4d13f9,_0x536ea3,_0x178502){if(!_0x178502['checkAttribute'](_0x4d13f9,'footnotesListStyle'))return;let _0x11b689='decimal',_0x335860=!0x1;if(_0x536ea3['consumable']['consume'](_0x5e5baa,{'attributes':'type'})){const _0x20bb20={0x1:'decimal','a':'lower-alpha','A':'upper-alpha','i':'lower-roman','I':'upper-roman'}[_0x5e5baa['getAttribute']('type')];_0x20bb20&&(_0x11b689=_0x20bb20),_0x335860=!0x0;}_0x536ea3['consumable']['consume'](_0x5e5baa,{'styles':'list-style-type'})&&(_0x11b689=function(_0x4dc8ba){switch(_0x4dc8ba){case'lower-alpha':return'lower-latin';case'upper-alpha':return'upper-latin';default:return _0x4dc8ba;}}(_0x5e5baa['getStyle']('list-style-type')),_0x335860=!0x0),!_0x335860&&_0x4d13f9['hasAttribute']('footnotesListStyle')||_0x536ea3['writer']['setAttribute']('footnotesListStyle',_0x11b689,_0x4d13f9);}(_0x5b336e,_0xb13b59,_0x552c92,_0x481504));});}),_0x256235['for']('downcast')['add'](_0x3d2eee=>{_0x3d2eee['on']('attribute:footnotesListStart:footnotesDefinitions',(_0x161901,_0x4d725d,_0x5a7d8d)=>{if(!_0x5a7d8d['consumable']['consume'](_0x4d725d['item'],_0x161901['name']))return;const _0x138a27=M(_0x4d725d['item'],_0x5a7d8d['mapper']),{attributeNewValue:_0x3542cf}=_0x4d725d;null==_0x3542cf||0x1===_0x3542cf?_0x5a7d8d['writer']['removeAttribute']('start',_0x138a27):_0x5a7d8d['writer']['setAttribute']('start',String(_0x3542cf),_0x138a27);}),_0x3d2eee['on']('attribute:footnotesListStyle:footnotesDefinitions',(_0x2b51ee,_0xc045de,_0x1f364e)=>{if(!_0x1f364e['consumable']['consume'](_0xc045de['item'],_0x2b51ee['name']))return;const _0x2c26b9=M(_0xc045de['item'],_0x1f364e['mapper']),{attributeNewValue:_0x120634}=_0xc045de;_0x120634&&'decimal'!==_0x120634?_0x1f364e['writer']['setStyle']('list-style-type',_0x120634,_0x2c26b9):_0x1f364e['writer']['removeStyle']('list-style-type',_0x2c26b9);});});}['_definePostfixer'](){const {editor:_0x9d6d8f}=this,{model:_0x193935}=_0x9d6d8f,_0xdc1b3b=_0x9d6d8f['plugins']['get'](f),_0x249b5d=this['_getDefaultListStyle'](),_0x5a2de4=this['_getDefaultStartIndex']();_0x193935['document']['registerPostFixer'](_0x4adbc4=>{const _0x341b57=_0x193935['document']['differ']['getChanges']();let _0x5f1555=!0x1;for(const _0x19b98e of _0x341b57){if('insert'!==_0x19b98e['type']||'$text'===_0x19b98e['name'])continue;const _0x458930=_0x193935['createRangeOn'](_0x19b98e['position']['nodeAfter']);for(const _0x5dedf4 of _0x458930['getItems']())_0x5dedf4['is']('element','footnotesDefinitions')&&(!_0x5dedf4['hasAttribute']('footnotesListStart')&&_0x193935['schema']['checkAttribute'](_0x5dedf4,'footnotesListStart')&&(_0x4adbc4['setAttribute']('footnotesListStart',_0x5a2de4,_0x5dedf4),_0x5f1555=!0x0),!_0x5dedf4['hasAttribute']('footnotesListStyle')&&_0x193935['schema']['checkAttribute'](_0x5dedf4,'footnotesListStyle')&&(_0x4adbc4['setAttribute']('footnotesListStyle',_0x249b5d,_0x5dedf4),_0x5f1555=!0x0));}return _0x5f1555&&_0xdc1b3b['_updateFootnotesCounters'](_0x4adbc4),_0x5f1555;});}['_defineFormatter'](){const {editor:_0x1e241a}=this;_0x1e241a['plugins']['get'](f)['setFootnoteFormatter'](_0x26fc57=>this['_formatFootnoteListValue'](_0x26fc57));}['_getDefaultListStyle'](){return this['editor']['config']['get']('footnotes.footnotesProperties.defaultListStyle');}['_getDefaultStartIndex'](){return this['editor']['config']['get']('footnotes.footnotesProperties.defaultStartIndex');}['_formatFootnoteListValue']({container:_0x347147,value:_0x689152,digits:_0x386c69}){const _0x2e5e22=_0x347147['getAttribute']('footnotesListStyle'),_0x56daac=_0x347147['getAttribute']('footnotesListStart'),_0x2eb827=Math['floor'](_0x689152)+(_0x56daac??0x1)-0x1;switch(_0x2e5e22){case'decimal-leading-zero':return function(_0x48492c,_0x550d19){return String(_0x48492c)['padStart'](_0x550d19,'0');}(_0x2eb827,Math['max'](0x2,_0x386c69));case'lower-alpha':case'lower-latin':return N(_0x2eb827,!0x1);case'upper-alpha':case'upper-latin':return N(_0x2eb827,!0x0);case'lower-roman':return X(_0x2eb827,!0x1);case'upper-roman':return X(_0x2eb827,!0x0);default:return String(_0x2eb827);}}}function M(_0x125e9e,_0x3b10b8){const _0xe99659=_0x3b10b8['toViewElement'](_0x125e9e);return Array['from'](_0xe99659['getChildren']())['find'](_0x7ad492=>_0x7ad492['is']('element','ol')&&_0x7ad492['hasClass']('footnotes-list'));}function N(_0xde8d00,_0x412930){let _0x261707='',_0x36e6f0=_0xde8d00;for(;_0x36e6f0>0x0;){const _0x5c6062=(_0x36e6f0-0x1)%0x1a;_0x261707=String['fromCharCode'](0x61+_0x5c6062)+_0x261707,_0x36e6f0=Math['floor']((_0x36e6f0-0x1)/0x1a);}return _0x412930?_0x261707['toUpperCase']():_0x261707;}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(_0x3c36f2,_0x149afc){let _0x5a03ff='',_0x2c7f45=_0x3c36f2;for(const {value:_0x1384b2,numeral:_0x566387}of V)for(;_0x2c7f45>=_0x1384b2;)_0x5a03ff+=_0x566387,_0x2c7f45-=_0x1384b2;return _0x149afc?_0x5a03ff:_0x5a03ff['toLowerCase']();}class $ extends _0x541b03{['children'];['stylesView']=null;['additionalProperties']=null;['startIndexFieldView']=null;['focusTracker']=new ot();['keystrokes']=new rt();['focusables']=new _0x474080();['focusCycler'];constructor(_0x3fde19,{styleButtonViews:_0x1cead1,styleGridAriaLabel:_0x538223}){super(_0x3fde19),(this['focusCycler']=new _0xae8ef8({'focusables':this['focusables'],'focusTracker':this['focusTracker'],'keystrokeHandler':this['keystrokes'],'actions':{'focusPrevious':'shift\x20+\x20tab','focusNext':'tab'}}),this['children']=this['createCollection'](),this['stylesView']=this['_appendStylesView'](_0x1cead1,_0x538223),[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 _0x5b396c of this['stylesView']['children'])this['stylesView']['focusTracker']['add'](_0x5b396c['element']);tt({'keystrokeHandler':this['stylesView']['keystrokes'],'focusTracker':this['stylesView']['focusTracker'],'gridItems':this['stylesView']['children'],'numberOfColumns':()=>nt['window']['getComputedStyle'](this['stylesView']['element'])['getPropertyValue']('grid-template-columns')['split']('\x20')['length'],'uiLanguageDirection':this['locale']&&this['locale']['uiLanguageDirection']});}if(this['startIndexFieldView']){this['focusables']['add'](this['startIndexFieldView']),this['focusTracker']['add'](this['startIndexFieldView']['element']);const _0x22f047=_0x13d5ef=>_0x13d5ef['stopPropagation']();this['keystrokes']['set']('arrowright',_0x22f047),this['keystrokes']['set']('arrowleft',_0x22f047),this['keystrokes']['set']('arrowup',_0x22f047),this['keystrokes']['set']('arrowdown',_0x22f047);}this['keystrokes']['listenTo'](this['element']);}['focus'](){this['focusCycler']['focusFirst']();}['focusLast'](){this['focusCycler']['focusLast']();}['destroy'](){super['destroy'](),this['focusTracker']['destroy'](),this['keystrokes']['destroy']();}['_appendStylesView'](_0x281df8,_0x3ec052){const _0x3ca972=new _0x541b03(this['locale']);return _0x3ca972['children']=_0x3ca972['createCollection'](),_0x3ca972['children']['addMany'](_0x281df8),_0x3ca972['setTemplate']({'tag':'div','attributes':{'aria-label':_0x3ec052,'class':['ck','ck-footnotes-definitions-styles-list']},'children':_0x3ca972['children']}),_0x3ca972['children']['delegate']('execute')['to'](this),_0x3ca972['focus']=function(){for(const _0x4995e3 of this['children'])if(_0x4995e3 instanceof _0x50a4fc&&_0x4995e3['isOn'])return void _0x4995e3['focus']();this['children']['first']['focus']();},_0x3ca972['focusTracker']=new ot(),_0x3ca972['keystrokes']=new rt(),_0x3ca972['render'](),_0x3ca972['keystrokes']['listenTo'](_0x3ca972['element']),this['children']['add'](_0x3ca972),_0x3ca972;}['_appendAdditionalPropertiesCollapsibleView'](){const {t:t}=this['locale'],_0x2bc438=this['_createStartIndexPropertyView'](),_0x4649d6=[_0x2bc438],_0x1b5da8=new st(this['locale'],_0x4649d6);return _0x1b5da8['set']({'label':t('Footnotes\x20properties'),'isCollapsed':!0x0}),_0x1b5da8['buttonView']['bind']('isEnabled')['toMany'](_0x4649d6,'isEnabled',(..._0xb79e49)=>_0xb79e49['some'](_0x3de0bc=>_0x3de0bc)),_0x1b5da8['buttonView']['on']('change:isEnabled',(_0x71e5b3,_0x2d972c,_0x30851e)=>{_0x30851e||(_0x1b5da8['isCollapsed']=!0x0);}),this['children']['add'](_0x1b5da8),[_0x2bc438,_0x1b5da8];}['_createStartIndexPropertyView'](){const {t:t}=this['locale'],_0xd0805b=new it(this['locale'],et);return _0xd0805b['set']({'label':t('Footnotes\x20start\x20at'),'class':'ck-footnotes-definitions-properties__start-index'}),_0xd0805b['fieldView']['set']({'min':0x0,'max':Math['pow'](0x2,0x1e),'step':0x1,'value':0x1,'inputMode':'numeric'}),_0xd0805b['fieldView']['on']('input',()=>{const _0x53b8bc=_0xd0805b['fieldView']['element'],_0x54c750=_0x53b8bc['valueAsNumber'];Number['isNaN'](_0x54c750)?_0xd0805b['errorText']=t('Invalid\x20footnotes\x20start\x20index\x20value.'):_0x53b8bc['checkValidity']()?this['fire']('footnotesListStart',{'startIndex':_0x54c750}):_0xd0805b['errorText']=t(_0x54c750<0x0?'Footnotes\x20start\x20index\x20must\x20be\x20greater\x20than\x200.':'Footnotes\x20start\x20index\x20is\x20too\x20large.');}),_0xd0805b;}}class j extends _0x3eb2b6{static get['pluginName'](){return'FootnotesPropertiesUI';}static get['requires'](){return[_0x23b049,_0x2198c7];}static get['isOfficialPlugin'](){return!0x0;}static get['isPremiumPlugin'](){return!0x0;}['init'](){const {editor:_0x496bfa}=this,{componentFactory:_0x3428fd}=_0x496bfa['ui'];_0x496bfa['config']['define']('footnotes.footnotesProperties.toolbar',['footnotesStyle']),_0x3428fd['add']('footnotesStyle',function(_0x5c6ada){return _0xa30db2=>{const {t:t}=_0xa30db2,_0x42d682=_0x5c6ada['commands']['get']('footnotesStyle'),_0x22b5d5=_0x43fc65(_0xa30db2),{buttonView:_0x31721a}=_0x22b5d5;return _0x22b5d5['class']='ck-footnotes-styles-dropdown',_0x22b5d5['bind']('isEnabled')['to'](_0x42d682,'isEnabled'),_0x31721a['set']({'label':t('Footnotes\x20style'),'icon':_0x28d033,'tooltip':!0x0}),_0x22b5d5['once']('change:isOpen',()=>{const _0x5deacc=function({editor:_0x573d00,dropdownView:_0x24a4c4}){const {t:t}=_0x573d00['locale'],_0x4a1d4d=t('Footnotes\x20definitions\x20styles'),_0x4935b6=function(_0x185817){const t=_0x185817['locale']['t'],_0xcc4ded=[{'label':t('Toggle\x20the\x20decimal\x20footnotes\x20style'),'tooltip':t('Decimal\x20footnotes'),'style':'decimal','icon':_0xd223d4},{'label':t('Toggle\x20the\x20decimal\x20with\x20leading\x20zero\x20footnotes\x20style'),'tooltip':t('Decimal\x20footnotes\x20with\x20leading\x20zero'),'style':'decimal-leading-zero','icon':_0xd57c0},{'label':t('Toggle\x20the\x20lower–roman\x20footnotes\x20style'),'tooltip':t('Lower–roman\x20footnotes'),'style':'lower-roman','icon':_0x38c7c0},{'label':t('Toggle\x20the\x20upper–roman\x20footnotes\x20style'),'tooltip':t('Upper-roman\x20footnotes'),'style':'upper-roman','icon':_0x5e7c7a},{'label':t('Toggle\x20the\x20lower–latin\x20footnotes\x20style'),'tooltip':t('Lower-latin\x20footnotes'),'style':'lower-latin','icon':_0x32c0f0},{'label':t('Toggle\x20the\x20upper–latin\x20footnotes\x20style'),'tooltip':t('Upper-latin\x20footnotes'),'style':'upper-latin','icon':_0x556717}];return _0xcc4ded['map'](function(_0x39730d){const _0x370c12=_0x39730d['locale'];return({label:_0x48ec5a,icon:_0x5aeffe,tooltip:_0x557cd3,style:_0x253364})=>{const _0xface38=_0x39730d['commands']['get']('footnotesStyle'),_0x4bbb60=new _0x50a4fc(_0x370c12);return _0x4bbb60['set']({'label':_0x48ec5a,'icon':_0x5aeffe,'tooltip':_0x557cd3}),_0x4bbb60['bind']('isOn')['to'](_0xface38,'value',_0x1ef729=>_0x1ef729===_0x253364),_0x4bbb60['bind']('isEnabled')['to'](_0xface38,'isEnabled'),_0x4bbb60['on']('execute',()=>{_0x39730d['execute']('footnotesStyle',{'value':_0x253364}),_0x39730d['editing']['view']['focus']();}),_0x4bbb60;};}(_0x185817));}(_0x573d00),_0x4d97af=new $(_0x573d00['locale'],{'styleGridAriaLabel':_0x4a1d4d,'styleButtonViews':_0x4935b6}),_0x5e8021=_0x573d00['commands']['get']('footnotesStart');return _0x4d97af['startIndexFieldView']['bind']('isEnabled')['to'](_0x5e8021),_0x4d97af['startIndexFieldView']['fieldView']['bind']('value')['to'](_0x5e8021),_0x4d97af['on']('footnotesListStart',(_0x378b71,_0x13bb10)=>{_0x573d00['execute']('footnotesStart',{'value':_0x13bb10['startIndex']});}),_0x4d97af['delegate']('execute')['to'](_0x24a4c4),_0x4d97af;}({'editor':_0x5c6ada,'dropdownView':_0x22b5d5});_0x22b5d5['panelView']['children']['add'](_0x5deacc);}),_0x22b5d5;};}(_0x496bfa));}['afterInit'](){const {editor:_0x29b614}=this,{t:t}=_0x29b614['locale'],_0x5eb8b3=_0x29b614['plugins']['get'](_0x2198c7),{defaultPositions:_0x1c5202}=_0x2930c1;_0x5eb8b3['register']('footnotesDefinitions',{'ariaLabel':t('Footnotes\x20definitions\x20toolbar'),'items':_0x29b614['config']['get']('footnotes.footnotesProperties.toolbar'),'balloonClassName':'ck-footnotes-style-balloon\x20ck-toolbar-container','getRelatedElement':_0x550fd0=>{let _0x50c572=_0x550fd0['getFirstPosition']()?.['parent'];return _0x50c572?.['is']('$text')&&(_0x50c572=_0x50c572['parent']),_0x50c572?.['is']('element')?_0x50c572['findAncestor'](H):null;},'positions':[_0x1c5202['southArrowNorth'],_0x1c5202['southArrowNorthMiddleWest'],_0x1c5202['southArrowNorthMiddleEast'],_0x1c5202['southArrowNorthWest'],_0x1c5202['southArrowNorthEast'],_0x1c5202['northArrowSouth'],_0x1c5202['northArrowSouthMiddleWest'],_0x1c5202['northArrowSouthMiddleEast'],_0x1c5202['northArrowSouthWest'],_0x1c5202['northArrowSouthEast'],_0x1c5202['viewportStickyNorth']]});}}class ft extends _0x3eb2b6{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':_0x4fc636=>0x1!=_0x4fc636}};
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':_0x276b3a=>0x1!=_0x276b3a}};
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- (_0x483eec=>{const {af:{dictionary:_0x477097,getPluralForm:_0x13d0b8}}={'af':{'dictionary':{'Footnote':'','Footnotes':'','Footnotes\x20properties':'','Footnotes\x20start\x20at':'','Invalid\x20footnotes\x20start\x20index\x20value.':'','Footnotes\x20start\x20index\x20is\x20too\x20large.':'','Footnotes\x20start\x20index\x20must\x20be\x20greater\x20than\x200.':'','Footnote\x20%0.\x20Press\x20ENTER\x20to\x20jump\x20to\x20footnote\x20definition.':'','Footnote\x20content.':'','Footnotes\x20definitions\x20styles':'','Footnotes\x20definitions\x20toolbar':'','Insert\x20footnote':'','Footnotes\x20style':'','Toggle\x20the\x20decimal\x20footnotes\x20style':'','Decimal\x20footnotes':'','Toggle\x20the\x20decimal\x20with\x20leading\x20zero\x20footnotes\x20style':'','Decimal\x20footnotes\x20with\x20leading\x20zero':'','Lower–roman\x20footnotes':'','Upper-roman\x20footnotes':'','Lower-latin\x20footnotes':'','Upper-latin\x20footnotes':'','Toggle\x20the\x20lower–roman\x20footnotes\x20style':'','Toggle\x20the\x20upper–roman\x20footnotes\x20style':'','Toggle\x20the\x20lower–latin\x20footnotes\x20style':'','Toggle\x20the\x20upper–latin\x20footnotes\x20style':''},'getPluralForm':_0x52a380=>0x1!=_0x52a380}};_0x483eec['af']||={'dictionary':{},'getPluralForm':null},_0x483eec['af']['dictionary']=Object['assign'](_0x483eec['af']['dictionary'],_0x477097),_0x483eec['af']['getPluralForm']=_0x13d0b8;})(window['CKEDITOR_TRANSLATIONS']||={});
23
+ (_0x187861=>{const {af:{dictionary:_0x3f9050,getPluralForm:_0x10b66f}}={'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':_0x4a18ed=>0x1!=_0x4a18ed}};_0x187861['af']||={'dictionary':{},'getPluralForm':null},_0x187861['af']['dictionary']=Object['assign'](_0x187861['af']['dictionary'],_0x3f9050),_0x187861['af']['getPluralForm']=_0x10b66f;})(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':_0x4b4128=>0x0==_0x4b4128?0x0:0x1==_0x4b4128?0x1:0x2==_0x4b4128?0x2:_0x4b4128%0x64>=0x3&&_0x4b4128%0x64<=0xa?0x3:_0x4b4128%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':_0x413495=>0x0==_0x413495?0x0:0x1==_0x413495?0x1:0x2==_0x413495?0x2:_0x413495%0x64>=0x3&&_0x413495%0x64<=0xa?0x3:_0x413495%0x64>=0xb?0x4:0x5}};
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- (_0x2152d1=>{const {ar:{dictionary:_0x36c76e,getPluralForm:_0x9a2cd}}={'ar':{'dictionary':{'Footnote':'حاشية\x20سفلية','Footnotes':'الحواشي\x20السفلية','Footnotes\x20properties':'خصائص\x20الحواشي\x20السفلية','Footnotes\x20start\x20at':'تبدأ\x20الحواشي\x20السفلية\x20من','Invalid\x20footnotes\x20start\x20index\x20value.':'قيمة\x20مؤشر\x20بداية\x20الحواشي\x20السفلية\x20غير\x20صحيحة.','Footnotes\x20start\x20index\x20is\x20too\x20large.':'مؤشر\x20بداية\x20الحواشي\x20السفلية\x20كبير\x20للغاية.','Footnotes\x20start\x20index\x20must\x20be\x20greater\x20than\x200.':'يلزم\x20أن\x20يكون\x20مؤشر\x20بداية\x20الحواشي\x20السفلية\x20أكبر\x20من\x200.','Footnote\x20%0.\x20Press\x20ENTER\x20to\x20jump\x20to\x20footnote\x20definition.':'حاشية\x20سفلية\x20%0.\x20اضغط\x20على\x20مفتاح\x20الإدخال\x20(ENTER)\x20من\x20أجل\x20الانتقال\x20إلى\x20تعريف\x20الحاشية\x20السفلية.','Footnote\x20content.':'محتوى\x20الحاشية\x20السفلية.','Footnotes\x20definitions\x20styles':'أنماط\x20تعريفات\x20الحواشي\x20السفلية','Footnotes\x20definitions\x20toolbar':'شريط\x20أدوات\x20تعريفات\x20الحواشي\x20السفلية','Insert\x20footnote':'إدراج\x20حاشية\x20سفلية','Footnotes\x20style':'نمط\x20الحواشي\x20السفلية','Toggle\x20the\x20decimal\x20footnotes\x20style':'تبديل\x20نمط\x20الحواشي\x20السفلية\x20العشري','Decimal\x20footnotes':'الحواشي\x20السفلية\x20العشرية','Toggle\x20the\x20decimal\x20with\x20leading\x20zero\x20footnotes\x20style':'تبديل\x20العلامة\x20العشرية\x20بنمط\x20الحواشي\x20السفلية\x20بالصفر\x20البادئ','Decimal\x20footnotes\x20with\x20leading\x20zero':'حواشي\x20سفلية\x20عشرية\x20بالصفر\x20البادئ','Lower–roman\x20footnotes':'الحواشي\x20السفلية\x20الرومانية','Upper-roman\x20footnotes':'الحواشي\x20العلوية\x20الرومانية','Lower-latin\x20footnotes':'الحواشي\x20السفلية\x20اللاتينية','Upper-latin\x20footnotes':'الحواشي\x20العلوية\x20اللاتينية','Toggle\x20the\x20lower–roman\x20footnotes\x20style':'تبديل\x20نمط\x20الحواشي\x20السفلية\x20الرومانية','Toggle\x20the\x20upper–roman\x20footnotes\x20style':'تبديل\x20نمط\x20الحواشي\x20العلوية\x20الرومانية','Toggle\x20the\x20lower–latin\x20footnotes\x20style':'تبديل\x20نمط\x20الحواشي\x20السفلية\x20اللاتينية','Toggle\x20the\x20upper–latin\x20footnotes\x20style':'تبديل\x20نمط\x20الحواشي\x20العلوية\x20اللاتينية'},'getPluralForm':_0xffa684=>0x0==_0xffa684?0x0:0x1==_0xffa684?0x1:0x2==_0xffa684?0x2:_0xffa684%0x64>=0x3&&_0xffa684%0x64<=0xa?0x3:_0xffa684%0x64>=0xb?0x4:0x5}};_0x2152d1['ar']||={'dictionary':{},'getPluralForm':null},_0x2152d1['ar']['dictionary']=Object['assign'](_0x2152d1['ar']['dictionary'],_0x36c76e),_0x2152d1['ar']['getPluralForm']=_0x9a2cd;})(window['CKEDITOR_TRANSLATIONS']||={});
23
+ (_0x55f11f=>{const {ar:{dictionary:_0x342e9f,getPluralForm:_0x4d36de}}={'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':_0x52b883=>0x0==_0x52b883?0x0:0x1==_0x52b883?0x1:0x2==_0x52b883?0x2:_0x52b883%0x64>=0x3&&_0x52b883%0x64<=0xa?0x3:_0x52b883%0x64>=0xb?0x4:0x5}};_0x55f11f['ar']||={'dictionary':{},'getPluralForm':null},_0x55f11f['ar']['dictionary']=Object['assign'](_0x55f11f['ar']['dictionary'],_0x342e9f),_0x55f11f['ar']['getPluralForm']=_0x4d36de;})(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':_0xca2e5d=>0x1!=_0xca2e5d}};
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':_0x24a614=>0x1!=_0x24a614}};
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- (_0x1ea5a4=>{const {ast:{dictionary:_0x551790,getPluralForm:_0x26d649}}={'ast':{'dictionary':{'Footnote':'','Footnotes':'','Footnotes\x20properties':'','Footnotes\x20start\x20at':'','Invalid\x20footnotes\x20start\x20index\x20value.':'','Footnotes\x20start\x20index\x20is\x20too\x20large.':'','Footnotes\x20start\x20index\x20must\x20be\x20greater\x20than\x200.':'','Footnote\x20%0.\x20Press\x20ENTER\x20to\x20jump\x20to\x20footnote\x20definition.':'','Footnote\x20content.':'','Footnotes\x20definitions\x20styles':'','Footnotes\x20definitions\x20toolbar':'','Insert\x20footnote':'','Footnotes\x20style':'','Toggle\x20the\x20decimal\x20footnotes\x20style':'','Decimal\x20footnotes':'','Toggle\x20the\x20decimal\x20with\x20leading\x20zero\x20footnotes\x20style':'','Decimal\x20footnotes\x20with\x20leading\x20zero':'','Lower–roman\x20footnotes':'','Upper-roman\x20footnotes':'','Lower-latin\x20footnotes':'','Upper-latin\x20footnotes':'','Toggle\x20the\x20lower–roman\x20footnotes\x20style':'','Toggle\x20the\x20upper–roman\x20footnotes\x20style':'','Toggle\x20the\x20lower–latin\x20footnotes\x20style':'','Toggle\x20the\x20upper–latin\x20footnotes\x20style':''},'getPluralForm':_0x37cfd4=>0x1!=_0x37cfd4}};_0x1ea5a4['ast']||={'dictionary':{},'getPluralForm':null},_0x1ea5a4['ast']['dictionary']=Object['assign'](_0x1ea5a4['ast']['dictionary'],_0x551790),_0x1ea5a4['ast']['getPluralForm']=_0x26d649;})(window['CKEDITOR_TRANSLATIONS']||={});
23
+ (_0x4b84be=>{const {ast:{dictionary:_0x4014c6,getPluralForm:_0x1d828e}}={'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':_0x3cd2ef=>0x1!=_0x3cd2ef}};_0x4b84be['ast']||={'dictionary':{},'getPluralForm':null},_0x4b84be['ast']['dictionary']=Object['assign'](_0x4b84be['ast']['dictionary'],_0x4014c6),_0x4b84be['ast']['getPluralForm']=_0x1d828e;})(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':_0x249e3c=>0x1!=_0x249e3c}};
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':_0xc80418=>0x1!=_0xc80418}};
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- (_0x2e6275=>{const {az:{dictionary:_0x571add,getPluralForm:_0x333360}}={'az':{'dictionary':{'Footnote':'','Footnotes':'','Footnotes\x20properties':'','Footnotes\x20start\x20at':'','Invalid\x20footnotes\x20start\x20index\x20value.':'','Footnotes\x20start\x20index\x20is\x20too\x20large.':'','Footnotes\x20start\x20index\x20must\x20be\x20greater\x20than\x200.':'','Footnote\x20%0.\x20Press\x20ENTER\x20to\x20jump\x20to\x20footnote\x20definition.':'','Footnote\x20content.':'','Footnotes\x20definitions\x20styles':'','Footnotes\x20definitions\x20toolbar':'','Insert\x20footnote':'','Footnotes\x20style':'','Toggle\x20the\x20decimal\x20footnotes\x20style':'','Decimal\x20footnotes':'','Toggle\x20the\x20decimal\x20with\x20leading\x20zero\x20footnotes\x20style':'','Decimal\x20footnotes\x20with\x20leading\x20zero':'','Lower–roman\x20footnotes':'','Upper-roman\x20footnotes':'','Lower-latin\x20footnotes':'','Upper-latin\x20footnotes':'','Toggle\x20the\x20lower–roman\x20footnotes\x20style':'','Toggle\x20the\x20upper–roman\x20footnotes\x20style':'','Toggle\x20the\x20lower–latin\x20footnotes\x20style':'','Toggle\x20the\x20upper–latin\x20footnotes\x20style':''},'getPluralForm':_0x47c19c=>0x1!=_0x47c19c}};_0x2e6275['az']||={'dictionary':{},'getPluralForm':null},_0x2e6275['az']['dictionary']=Object['assign'](_0x2e6275['az']['dictionary'],_0x571add),_0x2e6275['az']['getPluralForm']=_0x333360;})(window['CKEDITOR_TRANSLATIONS']||={});
23
+ (_0x172a84=>{const {az:{dictionary:_0x23c928,getPluralForm:_0x774e62}}={'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':_0x11c824=>0x1!=_0x11c824}};_0x172a84['az']||={'dictionary':{},'getPluralForm':null},_0x172a84['az']['dictionary']=Object['assign'](_0x172a84['az']['dictionary'],_0x23c928),_0x172a84['az']['getPluralForm']=_0x774e62;})(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':_0x32137d=>_0x32137d%0xa==0x1&&_0x32137d%0x64!=0xb?0x0:_0x32137d%0xa>=0x2&&_0x32137d%0xa<=0x4&&(_0x32137d%0x64<0xa||_0x32137d%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':_0x490db6=>_0x490db6%0xa==0x1&&_0x490db6%0x64!=0xb?0x0:_0x490db6%0xa>=0x2&&_0x490db6%0xa<=0x4&&(_0x490db6%0x64<0xa||_0x490db6%0x64>=0x14)?0x1:0x2}};