@ckeditor/ckeditor5-footnotes 47.3.0-alpha.5 → 47.3.0-alpha.7

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 _0x92811c,Command as _0x21a9a1}from'@ckeditor/ckeditor5-core/dist/index.js';import{toWidget as _0x1a8f4a,isWidget as _0x541040,toWidgetEditable as _0x4a3f5f,WidgetToolbarRepository as _0x172b2b}from'@ckeditor/ckeditor5-widget/dist/index.js';import{uid as _0x230239,logWarning as _0x28211c,FocusTracker as ot,KeystrokeHandler as rt,global as nt}from'@ckeditor/ckeditor5-utils/dist/index.js';import{PointerObserver as _0xdb1376,ClickObserver as _0x3899a5}from'@ckeditor/ckeditor5-engine/dist/index.js';import{ClipboardPipeline as _0x57a6df}from'@ckeditor/ckeditor5-clipboard/dist/index.js';import{MenuBarMenuListItemButtonView as _0x1d2dde,ButtonView as _0x21bacb,View as _0x550991,ViewCollection as _0x4f5436,FocusCycler as _0x3939ab,addKeyboardHandlingForGrid as tt,CollapsibleView as st,LabeledFieldView as it,createLabeledInputNumber as et,ContextualBalloon as _0x1eaed9,BalloonPanelView as _0x57bf32,createDropdown as _0x1d234f}from'@ckeditor/ckeditor5-ui/dist/index.js';import{IconFootnote as _0x5c4a41,IconListStyleDecimal as _0x474b80,IconListStyleDecimalLeadingZero as _0x4518e9,IconListStyleLowerRoman as _0x4153fd,IconListStyleUpperRoman as _0x219a60,IconListStyleLowerLatin as _0x555b26,IconListStyleUpperLatin as _0x378945}from'@ckeditor/ckeditor5-icons/dist/index.js';class F{['_model'];['_elementName'];['_getElementKey'];['_trackedElements']=new Map();constructor(_0x4c917a,_0x4e46cb){this['_model']=_0x4c917a,this['_elementName']=_0x4e46cb['elementName'],this['_getElementKey']=_0x4e46cb['getElementKey'];}['reset'](){this['_trackedElements']['clear']();}['getChanges'](_0x39cc7a){const _0x563a13=new Set(),_0x25e119=new Map();for(const _0x51a633 of _0x39cc7a){if('insert'===_0x51a633['type']&&'$text'!==_0x51a633['name']&&_0x51a633['position']['nodeAfter']){const _0x111bea=this['_model']['createRangeOn'](_0x51a633['position']['nodeAfter']);for(const _0x185368 of _0x111bea['getItems']()){if(!_0x185368['is']('element',this['_elementName']))continue;const _0x1bdd73=this['_getElementKey'](_0x185368);_0x25e119['has'](_0x1bdd73)||_0x25e119['set'](_0x1bdd73,[]),_0x25e119['get'](_0x1bdd73)['push'](_0x185368);}}if('remove'===_0x51a633['type']&&_0x51a633['name']===this['_elementName']){const _0x3142d2=this['_getElementKey']({'getAttribute':_0x1a30f5=>_0x51a633['attributes']['get'](_0x1a30f5)});_0x563a13['add'](_0x3142d2);}}for(const [_0x55c5fd,_0xae1d6e]of this['_trackedElements'])'$graveyard'===_0xae1d6e['root']['rootName']&&_0x563a13['add'](_0x55c5fd);for(const _0x5ae642 of _0x563a13)this['_trackedElements']['delete'](_0x5ae642);for(const [_0x251fb5,_0x558c93]of _0x25e119)this['_trackedElements']['set'](_0x251fb5,_0x558c93[_0x558c93['length']-0x1]);const _0x5c1774=new Set();for(const [_0x279f51,_0x448dfb]of _0x25e119)_0x563a13['has'](_0x279f51)&&(_0x5c1774['add'](_0x448dfb[0x0]),_0x448dfb['length']>0x1?_0x25e119['set'](_0x279f51,_0x448dfb['slice'](0x1)):_0x25e119['delete'](_0x279f51),_0x563a13['delete'](_0x279f51));return{'removed':Array['from'](_0x563a13),'inserted':Array['from'](_0x25e119['values']())['flat'](),'moved':Array['from'](_0x5c1774)};}}class f extends _0x92811c{['_footnotes']=[];['_footnotesDefinitions']=null;['_footnoteFormatter']=null;['_footnoteDefsContainerTracker'];['_footnoteRefsTracker'];['_footnoteDefsTracker'];static get['pluginName'](){return'FootnotesTracker';}static get['isOfficialPlugin'](){return!0x0;}static get['isPremiumPlugin'](){return!0x0;}constructor(_0x584e2f){super(_0x584e2f),this['_footnoteDefsContainerTracker']=new F(this['editor']['model'],{'elementName':'footnotesDefinitions','getElementKey':()=>'singleton'}),this['_footnoteRefsTracker']=new F(this['editor']['model'],{'elementName':'footnoteRef','getElementKey':_0x3ac71e=>_0x3ac71e['getAttribute']('footnoteId')}),this['_footnoteDefsTracker']=new F(this['editor']['model'],{'elementName':'footnoteDefinition','getElementKey':_0x58b321=>_0x58b321['getAttribute']('footnoteId')});}['init'](){const {editor:_0x1d9370}=this,{model:_0x1b5119,data:_0x4533b0}=_0x1d9370;_0x1b5119['document']['registerPostFixer'](_0xa3fbba=>{const _0x22aab8=_0x1b5119['document']['differ']['getChanges']();let _0x14458b=!0x1;return this['_handleFootnotesDefinitionsObjectChanges'](_0xa3fbba,_0x22aab8)&&(_0x14458b=!0x0),this['_handleFootnoteDefinitionsChanges'](_0xa3fbba,_0x22aab8)&&(_0x14458b=!0x0),this['_handleFootnoteReferencesChanges'](_0xa3fbba,_0x22aab8)&&(_0x14458b=!0x0),this['_ensureFootnotesReferencesHaveProperOrder'](_0xa3fbba)&&(_0x14458b=!0x0),this['_handleFootnotesDefinitionsObjectSync'](_0xa3fbba)&&(_0x14458b=!0x0),this['_sortFootnoteDefinitions'](_0xa3fbba)&&(_0x14458b=!0x0),_0x14458b;}),this['listenTo'](_0x1b5119['document'],'change:data',()=>{_0x1b5119['enqueueChange']({'isUndoable':!0x1},_0x305248=>{this['_ensureFootnotesDefinitionsContainerExists'](_0x305248);});},{'priority':'low'}),this['listenTo'](_0x4533b0,'set',()=>{this['_footnotes']=[],this['_footnoteDefsContainerTracker']['reset'](),this['_footnoteRefsTracker']['reset'](),this['_footnoteDefsTracker']['reset']();},{'priority':'high'});}['getFootnotesDefinitionsObjectElement'](){return this['_footnotesDefinitions'];}['getFootnote'](_0x2398d5){return this['_footnotes']['find'](_0x34ca1d=>_0x34ca1d['id']===_0x2398d5)||null;}['getFootnotes'](){return Array['from'](this['_footnotes']);}['getFootnotesFormatter'](){return this['_footnoteFormatter'];}['setFootnoteFormatter'](_0x15a4c9){this['_footnoteFormatter']=_0x15a4c9;}['_updateFootnotesCounters'](_0x13f579,_0x585b6a=0x0){let _0x38f3f9=!0x1;for(let _0x43f490=_0x585b6a;_0x43f490<this['_footnotes']['length'];_0x43f490++)this['_updateFootnoteRefCounter'](_0x13f579,_0x43f490)&&(_0x38f3f9=!0x0);return _0x38f3f9;}['_insertEmptyFootnotesDefinitionsContainer'](_0xac6e15,_0x2d2990){const _0x4c7c4a=_0xac6e15['createElement']('footnotesDefinitions',{});return _0xac6e15['append'](_0x4c7c4a,_0x2d2990),this['_footnotesDefinitions']=_0x4c7c4a,_0x4c7c4a;}['_ensureFootnotesDefinitionsContainerExists'](_0x32cc01){if(!this['_footnotes']['length']||this['_footnotesDefinitions'])return;const _0x755ff1=this['_footnotes'][0x0]['reference']['root'],_0x1795e3=this['_insertEmptyFootnotesDefinitionsContainer'](_0x32cc01,_0x755ff1);for(const _0x177661 of this['_footnotes'])_0x177661['definition']['parent']||_0x32cc01['insert'](_0x177661['definition'],_0x1795e3,'end');this['_updateFootnotesCounters'](_0x32cc01);}['_handleFootnotesDefinitionsObjectChanges'](_0x4f7789,_0x5c51ee){let _0x5d9cf6=!0x1;const {inserted:_0x1d4439,removed:_0xb8ecf8,moved:_0x3deb16}=this['_footnoteDefsContainerTracker']['getChanges'](_0x5c51ee);if(_0x3deb16['length']&&(this['_footnotesDefinitions']=_0x3deb16[0x0]),_0x1d4439['length']){if(_0x1d4439['length']>0x1||this['_footnotesDefinitions']&&_0x1d4439['some'](_0x26c78c=>_0x26c78c!==this['_footnotesDefinitions'])){const _0x289f68=_0x4f7789['createElement']('footnotesDefinitions',{}),_0x1c618e=[];this['_footnotesDefinitions']&&_0x1c618e['push'](this['_footnotesDefinitions']),_0x1c618e['push'](..._0x1d4439),_0x4f7789['insert'](_0x289f68,_0x1c618e[0x0],'before');for(const _0x1c83ec of _0x1c618e)_0x4f7789['move'](_0x4f7789['createRangeIn'](_0x1c83ec),_0x4f7789['createPositionAt'](_0x289f68,'end')),_0x4f7789['remove'](_0x1c83ec);this['_footnotesDefinitions']=_0x289f68,this['_updateFootnotesCounters'](_0x4f7789),_0x5d9cf6=!0x0;}else this['_footnotesDefinitions']=_0x1d4439[0x0];}if(_0xb8ecf8['length']&&'$graveyard'===this['_footnotesDefinitions']?.['root']['rootName']){for(const _0xdfd734 of this['_footnotes'])_0x4f7789['remove'](_0xdfd734['reference']),_0x5d9cf6=!0x0;this['_footnotes']=[],this['_footnotesDefinitions']=null;}return _0x5d9cf6;}['_handleFootnoteDefinitionsChanges'](_0x142b48,_0x1c04d6){let _0x39d5d9=!0x1;const _0x525f46=this['editor']['config']['get']('footnotes.multiBlock'),{inserted:_0x4fef5d,moved:_0x45d527}=this['_footnoteDefsTracker']['getChanges'](_0x1c04d6);for(const _0x2b3a15 of[..._0x45d527,..._0x4fef5d]){const _0x3ad6f1=_0x2b3a15['getAttribute']('footnoteId'),_0x545867=this['getFootnote'](_0x3ad6f1);_0x545867&&(_0x545867['definition']=_0x2b3a15),_(_0x142b48,_0x525f46,_0x2b3a15)&&(_0x39d5d9=!0x0);}return _0x39d5d9;}['_handleFootnoteReferencesChanges'](_0x49bae5,_0xfe8ab9){let _0x61355a=!0x1;const {removed:_0x32e277,inserted:_0x224c32,moved:_0x11a4b5}=this['_footnoteRefsTracker']['getChanges'](_0xfe8ab9);for(const _0x2f055c of _0x32e277)this['_handleRemoveFootnoteReferenceById'](_0x49bae5,_0x2f055c)&&(_0x61355a=!0x0);for(const _0x2e9244 of _0x224c32)this['_handleInsertedFootnoteReference'](_0x49bae5,_0x2e9244)&&(_0x61355a=!0x0);for(const _0x4171cd of _0x11a4b5)this['_handleMovedFootnoteReference'](_0x49bae5,_0x4171cd)&&(_0x61355a=!0x0);return _0x61355a;}['_handleFootnotesDefinitionsObjectSync'](_0xa32982){if(!this['_footnotesDefinitions'])return!0x1;let _0x2c2349=!0x1;if(this['_footnotesDefinitions']['childCount']!==this['_footnotes']['length']){const _0x34bc28=[];for(const _0x5dd74b of this['_footnotesDefinitions']['getChildren']()){const _0x2d9eff=_0x5dd74b['getAttribute']('footnoteId');this['getFootnote'](_0x2d9eff)||(_0x34bc28['unshift'](_0x5dd74b),_0x2c2349=!0x0);}for(const _0x1828c5 of _0x34bc28)_0xa32982['remove'](_0x1828c5);}const _0xd322d6=new Set(),_0x50d66f=[];for(const _0x5a1a3f of this['_footnotesDefinitions']['getChildren']()){const _0x496cdc=_0x5a1a3f['getAttribute']('footnoteId');_0xd322d6['has'](_0x496cdc)?(_0x50d66f['unshift'](_0x5a1a3f),_0x2c2349=!0x0):_0xd322d6['add'](_0x496cdc);}for(const _0x816be0 of _0x50d66f)_0xa32982['remove'](_0x816be0);return this['_footnotesDefinitions']['childCount']||(_0xa32982['remove'](this['_footnotesDefinitions']),this['_footnotesDefinitions']=null,_0x2c2349=!0x0),_0x2c2349;}['_handleInsertedFootnoteReference'](_0x4d494d,_0x22c3cb){if(this['_footnotes']['find'](_0x3844ab=>_0x3844ab['reference']===_0x22c3cb))return!0x1;let _0x348333=!0x1;const _0x38ac9b=_0x22c3cb['getAttribute']('footnoteId'),_0x139701=this['_footnotes']['findIndex'](_0x45f0b9=>_0x45f0b9['id']===_0x38ac9b);-0x1!==_0x139701&&(_0x4d494d['remove'](this['_footnotes'][_0x139701]['reference']),this['_footnotes']['splice'](_0x139701,0x1),_0x348333=!0x0);let _0x3968db=this['_footnotesDefinitions']?function(_0x27b3c6,_0xf909d){for(const _0x5c8d64 of _0x27b3c6['getChildren']())if(_0x5c8d64['getAttribute']('footnoteId')===_0xf909d)return _0x5c8d64;return null;}(this['_footnotesDefinitions'],_0x38ac9b):null;_0x3968db||(_0x3968db=_0x4d494d['createElement']('footnoteDefinition',{'footnoteId':_0x38ac9b}),this['_footnotesDefinitions']&&(_0x4d494d['insert'](_0x3968db,this['_footnotesDefinitions'],'end'),_0x348333=!0x0));const _0x4acb11={'id':_0x38ac9b,'reference':_0x22c3cb,'definition':_0x3968db},_0xe0cb49=I(this['editor']['model'],this['_footnotes'],_0x22c3cb);this['_footnotes']['splice'](_0xe0cb49,0x0,_0x4acb11);let _0x42b487=_0xe0cb49;return-0x1!==_0x139701&&(_0x42b487=Math['min'](_0xe0cb49,_0x139701)),this['_updateFootnotesCounters'](_0x4d494d,_0x42b487)&&(_0x348333=!0x0),_0x348333;}['_handleRemoveFootnoteReferenceById'](_0x185c28,_0x2c2d34){const _0x3610fa=this['_footnotes']['findIndex'](_0x138645=>_0x138645['id']===_0x2c2d34);if(-0x1===_0x3610fa)return!0x1;let _0x24bde3=!0x1;const _0x524e16=this['_footnotes'][_0x3610fa];return'$graveyard'!==_0x524e16['definition']['root']['rootName']&&(_0x185c28['remove'](_0x524e16['definition']),_0x24bde3=!0x0),this['_footnotes']['splice'](_0x3610fa,0x1),this['_updateFootnotesCounters'](_0x185c28,_0x3610fa)&&(_0x24bde3=!0x0),_0x24bde3;}['_handleMovedFootnoteReference'](_0x3dde1a,_0x10964e){const _0x43f7ad=_0x10964e['getAttribute']('footnoteId'),_0x150fe3=this['_footnotes']['findIndex'](_0x44cc9a=>_0x44cc9a['id']===_0x43f7ad),_0x174358=this['_footnotes'][_0x150fe3];let _0x46a0a1=!0x1;_0x174358['reference']=_0x10964e,this['_footnotes']['splice'](_0x150fe3,0x1);const _0x5ea3d5=I(this['editor']['model'],this['_footnotes'],_0x10964e);return this['_footnotes']['splice'](_0x5ea3d5,0x0,_0x174358),this['_updateFootnotesCounters'](_0x3dde1a,Math['min'](_0x150fe3,_0x5ea3d5))&&(_0x46a0a1=!0x0),_0x46a0a1;}['_updateFootnoteRefCounter'](_0x5a4419,_0x29ba6b){if(!this['_footnotesDefinitions'])return!0x1;const _0x1d65ad=this['_footnotes'][_0x29ba6b];let _0x2e0439;return _0x2e0439=this['_footnoteFormatter']?this['_footnoteFormatter']({'footnote':_0x1d65ad,'container':this['_footnotesDefinitions'],'digits':String(this['_footnotes']['length'])['length'],'value':_0x29ba6b+0x1}):String(_0x29ba6b+0x1),_0x1d65ad['reference']['getAttribute']('footnoteCounter')!=_0x2e0439&&(_0x5a4419['setAttribute']('footnoteCounter',_0x2e0439,_0x1d65ad['reference']),!0x0);}['_sortFootnoteDefinitions'](_0x416f93){if(!this['_footnotesDefinitions']||this['_footnotes']['length']<0x2)return!0x1;if(function(_0x4da125,_0x436814){if(_0x4da125['length']!==_0x436814['length'])return!0x1;for(let _0x338350=0x0;_0x338350<_0x4da125['length'];_0x338350++)if(_0x4da125[_0x338350]!==_0x436814[_0x338350])return!0x1;return!0x0;}(this['_footnotes']['map'](_0x486778=>_0x486778['id']),Array['from'](this['_footnotesDefinitions']['getChildren']())['map'](_0x317362=>_0x317362['getAttribute']('footnoteId'))))return!0x1;let _0x37fcc9=!0x1;for(let _0x34a61d=0x0;_0x34a61d<this['_footnotes']['length'];_0x34a61d++){const _0x26d645=this['_footnotes'][_0x34a61d],_0x19d621=_0x416f93['createPositionBefore'](_0x26d645['definition']),_0x140237=_0x416f93['createPositionAt'](this['_footnotesDefinitions'],_0x34a61d);_0x19d621['isEqual'](_0x140237)||(_0x416f93['move'](_0x416f93['createRangeOn'](_0x26d645['definition']),_0x140237),_0x37fcc9=!0x0);}return _0x37fcc9;}['_ensureFootnotesReferencesHaveProperOrder'](_0x3ac6b0){if(!this['_footnotes']['length'])return!0x1;const {model:_0x16a7cc}=this['editor'];let _0x5e3c6a=!0x1;for(let _0x37082c=0x0;_0x37082c<this['_footnotes']['length']-0x1;_0x37082c++){const _0x45576a=this['_footnotes'][_0x37082c],_0x5f0e91=this['_footnotes'][_0x37082c+0x1],_0x59a471=_0x16a7cc['createPositionBefore'](_0x45576a['reference']),_0x3bd21e=_0x16a7cc['createPositionBefore'](_0x5f0e91['reference']);'after'===_0x59a471['compareWith'](_0x3bd21e)&&(this['_handleMovedFootnoteReference'](_0x3ac6b0,_0x45576a['reference']),_0x37082c=-0x1,_0x5e3c6a=!0x0);}return _0x5e3c6a;}}function _(_0x3c64b7,_0x31f036,_0x71225a){if(_0x71225a['childCount'])return!0x1;const _0x1cccae=_0x31f036?'paragraph':'footnoteInlineContent';return _0x3c64b7['insert'](_0x3c64b7['createElement'](_0x1cccae),_0x71225a),!0x0;}function I(_0x2e22d2,_0x3073ed,_0xf2025e){if(0x0===_0x3073ed['length'])return 0x0;const _0x244952=_0x2e22d2['createPositionBefore'](_0xf2025e);for(let _0x5ac082=0x0;_0x5ac082<_0x3073ed['length'];_0x5ac082++){const _0x381a64=_0x3073ed[_0x5ac082],_0x2c3077=_0x2e22d2['createPositionBefore'](_0x381a64['reference']);if('before'===_0x244952['compareWith'](_0x2c3077))return _0x5ac082;}const _0x4324de=_0xf2025e['root'];let _0x5bc052=-0x1;for(let _0x30c5af=_0x3073ed['length']-0x1;_0x30c5af>=0x0;_0x30c5af--)if(_0x3073ed[_0x30c5af]['reference']['root']===_0x4324de){_0x5bc052=_0x30c5af;break;}if(-0x1!==_0x5bc052)return _0x5bc052+0x1;const _0x11190b=_0x2e22d2['document']['getRootNames'](),_0x1f9919=_0x11190b['indexOf'](_0x4324de['rootName']),_0x14a372=_0x11190b[_0x1f9919+0x1];if(_0x14a372){for(let _0x4891c0=0x0;_0x4891c0<_0x3073ed['length'];_0x4891c0++)if(_0x3073ed[_0x4891c0]['reference']['root']['rootName']===_0x14a372)return _0x4891c0;}return _0x3073ed['length'];}class m extends _0x21a9a1{['refresh'](){const _0x52d825=this['editor']['model']['document']['selection'],_0x2eee0b=this['_getPositionToInsertFootnote'](_0x52d825);this['isEnabled']=!!_0x2eee0b;}['execute'](_0x362ae1){const {editor:_0x5b21dc}=this,{model:_0x223a32}=_0x5b21dc,{selection:_0x57f14c}=_0x223a32['document'],_0x26a7f8=this['_getPositionToInsertFootnote'](_0x57f14c);if(!_0x26a7f8)return;const _0x2f1142=_0x5b21dc['plugins']['get']('FootnotesEditing'),_0x286554=_0x362ae1?.['footnoteId']??_0x230239();!function(_0x3d4c91){return'string'==typeof _0x3d4c91&&_0x3d4c91['length']>0x0&&!/\s/['test'](_0x3d4c91)&&!/^\d/['test'](_0x3d4c91);}(_0x286554)?_0x28211c('insert-footnote-command-executed-with-invalid-id'):(_0x223a32['change'](_0x562419=>{const _0x5f5ad2=_0x562419['createElement']('footnoteRef',{'footnoteId':_0x286554});_0x223a32['insertObject'](_0x5f5ad2,_0x26a7f8,null);}),_0x2f1142['_moveSelectionToFootnoteDefinition'](_0x286554));}['_getPositionToInsertFootnote'](_0x5f09db){const {model:_0xd60146}=this['editor'],{schema:_0x46e2ed}=_0xd60146,_0x5f1b80=_0x5f09db['getFirstRange']();for(const _0x5bbb19 of _0x5f1b80['getItems']())if(_0x46e2ed['isBlock'](_0x5bbb19)||_0x46e2ed['isObject'](_0x5bbb19))return null;const _0x528693=_0x5f1b80['end'];return _0x46e2ed['checkChild'](_0x528693,'footnoteRef')?_0x528693:null;}}class r extends _0x92811c{static get['pluginName'](){return'FootnotesEditing';}static get['requires'](){return[f];}static get['isOfficialPlugin'](){return!0x0;}static get['isPremiumPlugin'](){return!0x0;}['init'](){const {editor:_0x3ef6d6}=this;_0x3ef6d6['config']['define']('footnotes.multiBlock',!0x0),_0x3ef6d6['commands']['add']('insertFootnote',new m(_0x3ef6d6)),this['_defineSchema'](),this['_defineRefsConverters'](),this['_defineDefinitionsConverters'](),this['_defineDefinitionConverters'](),this['_defineBogusParagraphConverters'](),this['_defineKeyboardHandlers'](),this['_defineClickHandlers']();}['afterInit'](){!async function(_0x13c553){const _0x4c2397=_0x5b89ef([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]),_0x4af56b=0x47a28506,_0xe8749f=0x47a5ffae^_0x4af56b,_0x5b7cf8=window[_0x5b89ef([0x44,0x61,0x74,0x65])][_0x5b89ef([0x6e,0x6f,0x77])](),_0x4765ed=_0x13c553[_0x5b89ef([0x65,0x64,0x69,0x74,0x6f,0x72])],_0x515104=new window[(_0x5b89ef([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0x54933c=>{_0x4765ed[_0x5b89ef([0x6f,0x6e,0x63,0x65])](_0x5b89ef([0x72,0x65,0x61,0x64,0x79]),_0x54933c);}),_0x184a48={[_0x5b89ef([0x6b,0x74,0x79])]:_0x5b89ef([0x45,0x43]),[_0x5b89ef([0x75,0x73,0x65])]:_0x5b89ef([0x73,0x69,0x67]),[_0x5b89ef([0x63,0x72,0x76])]:_0x5b89ef([0x50,0x2d,0x32,0x35,0x36]),[_0x5b89ef([0x78])]:_0x5b89ef([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]),[_0x5b89ef([0x79])]:_0x5b89ef([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]),[_0x5b89ef([0x61,0x6c,0x67])]:_0x5b89ef([0x45,0x53,0x32,0x35,0x36])},_0x47c230=_0x4765ed[_0x5b89ef([0x63,0x6f,0x6e,0x66,0x69,0x67])][_0x5b89ef([0x67,0x65,0x74])](_0x5b89ef([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x4b,0x65,0x79]));async function _0x45b76e(){let _0x174368,_0x22d959=null,_0x7f3192=null;try{if(_0x47c230==_0x5b89ef([0x47,0x50,0x4c]))return _0x5b89ef([0x4e,0x6f,0x74,0x41,0x6c,0x6c,0x6f,0x77,0x65,0x64]);if(_0x174368=_0x73979a(),!_0x174368)return _0x5b89ef([0x49,0x6e,0x76,0x61,0x6c,0x69,0x64]);return _0x174368[_0x5b89ef([0x75,0x73,0x61,0x67,0x65,0x45,0x6e,0x64,0x70,0x6f,0x69,0x6e,0x74])]&&(_0x7f3192=_0x5826c8(_0x174368[_0x5b89ef([0x75,0x73,0x61,0x67,0x65,0x45,0x6e,0x64,0x70,0x6f,0x69,0x6e,0x74])],_0x174368[_0x5b89ef([0x6a,0x74,0x69])])),await _0x448aed()?_0x1ff3ae()?_0x3c4bc4()?_0x5b89ef([0x45,0x78,0x70,0x69,0x72,0x65,0x64]):_0x3981fb()?(_0x174368[_0x5b89ef([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x54,0x79,0x70,0x65])]==_0x5b89ef([0x65,0x76,0x61,0x6c,0x75,0x61,0x74,0x69,0x6f,0x6e])&&(_0x22d959=_0x1a23b7(_0x5b89ef([0x45,0x76,0x61,0x6c,0x75,0x61,0x74,0x69,0x6f,0x6e,0x4c,0x69,0x6d,0x69,0x74]))),_0x174368[_0x5b89ef([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x54,0x79,0x70,0x65])]==_0x5b89ef([0x74,0x72,0x69,0x61,0x6c])&&(_0x22d959=_0x1a23b7(_0x5b89ef([0x54,0x72,0x69,0x61,0x6c,0x4c,0x69,0x6d,0x69,0x74]))),await _0xd38fab()):_0x5b89ef([0x44,0x6f,0x6d,0x61,0x69,0x6e,0x4c,0x69,0x6d,0x69,0x74]):_0x5b89ef([0x4e,0x6f,0x74,0x41,0x6c,0x6c,0x6f,0x77,0x65,0x64]):_0x5b89ef([0x49,0x6e,0x76,0x61,0x6c,0x69,0x64]);}catch{return _0x5b89ef([0x49,0x6e,0x76,0x61,0x6c,0x69,0x64]);}function _0x3c4bc4(){const _0x87c4e=[_0x5b89ef([0x65,0x76,0x61,0x6c,0x75,0x61,0x74,0x69,0x6f,0x6e]),_0x5b89ef([0x74,0x72,0x69,0x61,0x6c])][_0x5b89ef([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x174368[_0x5b89ef([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x54,0x79,0x70,0x65])])?_0x5b7cf8/0x3e8:0xe10*_0xe8749f;return _0x174368[_0x5b89ef([0x65,0x78,0x70])]<_0x87c4e;}function _0x1ff3ae(){const _0x58b6ce=_0x174368[_0x5b89ef([0x66,0x65,0x61,0x74,0x75,0x72,0x65,0x73])];return!!_0x58b6ce&&(!!_0x58b6ce[_0x5b89ef([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x5b89ef([0x2a]))||!!_0x58b6ce[_0x5b89ef([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x5b89ef([0x46,0x4f,0x4f])));}function _0x3981fb(){const _0x5a9a2f=_0x174368[_0x5b89ef([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x64,0x48,0x6f,0x73,0x74,0x73])];if(!_0x5a9a2f||0x0==_0x5a9a2f[_0x5b89ef([0x6c,0x65,0x6e,0x67,0x74,0x68])])return!0x0;const {hostname:_0x37acd5}=new URL(window[_0x5b89ef([0x6c,0x6f,0x63,0x61,0x74,0x69,0x6f,0x6e])]['href']);if(_0x5a9a2f[_0x5b89ef([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x37acd5))return!0x0;const _0x521d25=_0x37acd5[_0x5b89ef([0x73,0x70,0x6c,0x69,0x74])](_0x5b89ef([0x2e]));return _0x5a9a2f[_0x5b89ef([0x66,0x69,0x6c,0x74,0x65,0x72])](_0x338419=>_0x338419[_0x5b89ef([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x5b89ef([0x2a])))[_0x5b89ef([0x6d,0x61,0x70])](_0x1fdc23=>_0x1fdc23[_0x5b89ef([0x73,0x70,0x6c,0x69,0x74])](_0x5b89ef([0x2e])))[_0x5b89ef([0x66,0x69,0x6c,0x74,0x65,0x72])](_0x141d7b=>_0x141d7b[_0x5b89ef([0x6c,0x65,0x6e,0x67,0x74,0x68])]<=_0x521d25[_0x5b89ef([0x6c,0x65,0x6e,0x67,0x74,0x68])])[_0x5b89ef([0x6d,0x61,0x70])](_0x5b90b4=>Array(_0x521d25[_0x5b89ef([0x6c,0x65,0x6e,0x67,0x74,0x68])]-_0x5b90b4[_0x5b89ef([0x6c,0x65,0x6e,0x67,0x74,0x68])])[_0x5b89ef([0x66,0x69,0x6c,0x6c])](_0x5b90b4[0x0]===_0x5b89ef([0x2a])?_0x5b89ef([0x2a]):'')[_0x5b89ef([0x63,0x6f,0x6e,0x63,0x61,0x74])](_0x5b90b4))[_0x5b89ef([0x73,0x6f,0x6d,0x65])](_0x26a6b7=>_0x521d25[_0x5b89ef([0x65,0x76,0x65,0x72,0x79])]((_0x4537b2,_0xbf8703)=>_0x26a6b7[_0xbf8703]===_0x4537b2||_0x26a6b7[_0xbf8703]===_0x5b89ef([0x2a])));}function _0xd38fab(){return _0x22d959&&_0x7f3192?new window[(_0x5b89ef([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))]((_0x5602a5,_0x222edf)=>{_0x22d959[_0x5b89ef([0x74,0x68,0x65,0x6e])](_0x5602a5,_0x222edf),_0x7f3192[_0x5b89ef([0x74,0x68,0x65,0x6e])](_0x1c60ea=>{_0x1c60ea!=_0x5b89ef([0x56,0x61,0x6c,0x69,0x64])&&_0x5602a5(_0x1c60ea);},_0x222edf);}):_0x22d959||_0x7f3192||_0x5b89ef([0x56,0x61,0x6c,0x69,0x64]);}}function _0x5826c8(_0x325cc4,_0x59f355){return new window[(_0x5b89ef([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0x147a66=>{if(_0x2e8eaf())return _0x147a66(_0x5b89ef([0x56,0x61,0x6c,0x69,0x64]));_0x241703(),_0x4765ed[_0x5b89ef([0x64,0x65,0x63,0x6f,0x72,0x61,0x74,0x65])](_0x5b89ef([0x5f,0x73,0x65,0x6e,0x64,0x55,0x73,0x61,0x67,0x65,0x52,0x65,0x71,0x75,0x65,0x73,0x74]));let _0x368720=!0x1;const _0x374796=_0x230239();function _0x20f9b0(_0x10ceba){return!!_0x10ceba&&(typeof _0x10ceba===_0x5b89ef([0x6f,0x62,0x6a,0x65,0x63,0x74])||typeof _0x10ceba===_0x5b89ef([0x66,0x75,0x6e,0x63,0x74,0x69,0x6f,0x6e]))&&typeof _0x10ceba[_0x5b89ef([0x74,0x68,0x65,0x6e])]===_0x5b89ef([0x66,0x75,0x6e,0x63,0x74,0x69,0x6f,0x6e])&&typeof _0x10ceba[_0x5b89ef([0x63,0x61,0x74,0x63,0x68])]===_0x5b89ef([0x66,0x75,0x6e,0x63,0x74,0x69,0x6f,0x6e]);}function _0x4b7dab(_0x21835e){_0x100420(_0x21835e)[_0x5b89ef([0x74,0x68,0x65,0x6e])](_0x12f6e1=>{if(!_0x12f6e1||_0x12f6e1[_0x5b89ef([0x73,0x74,0x61,0x74,0x75,0x73])]!=_0x5b89ef([0x6f,0x6b]))return _0x5b89ef([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]);return _0x5b1afe(_0x385081(_0x374796+_0x59f355))!=_0x12f6e1[_0x5b89ef([0x76,0x65,0x72,0x69,0x66,0x69,0x63,0x61,0x74,0x69,0x6f,0x6e])]?_0x5b89ef([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]):_0x5b89ef([0x56,0x61,0x6c,0x69,0x64]);})[_0x5b89ef([0x74,0x68,0x65,0x6e])](_0x18fcb7=>(_0x2d65b3(),_0x18fcb7),()=>{const _0x397373=_0x37d170();return null==_0x397373?(_0x2d65b3(),_0x5b89ef([0x56,0x61,0x6c,0x69,0x64])):_0x5b89ef(_0x5b7cf8-_0x397373>(0x63ae0106^_0x4af56b)?[0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]:[0x56,0x61,0x6c,0x69,0x64]);})[_0x5b89ef([0x74,0x68,0x65,0x6e])](_0x147a66)[_0x5b89ef([0x63,0x61,0x74,0x63,0x68])](()=>{_0x147a66(_0x5b89ef([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]));});const _0xde7d04=0x47946b86^_0x4af56b;function _0x2d65b3(){const _0x121efa=_0x5b89ef([0x6c,0x6c,0x63,0x74,0x2d])+_0x5b1afe(_0x385081(_0x325cc4)),_0x2353ff=_0x5bcaf6(_0x5b1afe(window[_0x5b89ef([0x4d,0x61,0x74,0x68])][_0x5b89ef([0x63,0x65,0x69,0x6c])](_0x5b7cf8/_0xde7d04)));window[_0x5b89ef([0x6c,0x6f,0x63,0x61,0x6c,0x53,0x74,0x6f,0x72,0x61,0x67,0x65])][_0x5b89ef([0x73,0x65,0x74,0x49,0x74,0x65,0x6d])](_0x121efa,_0x2353ff);}function _0x37d170(){const _0x15689a=_0x5b89ef([0x6c,0x6c,0x63,0x74,0x2d])+_0x5b1afe(_0x385081(_0x325cc4)),_0x327225=window[_0x5b89ef([0x6c,0x6f,0x63,0x61,0x6c,0x53,0x74,0x6f,0x72,0x61,0x67,0x65])][_0x5b89ef([0x67,0x65,0x74,0x49,0x74,0x65,0x6d])](_0x15689a);return _0x327225?window[_0x5b89ef([0x70,0x61,0x72,0x73,0x65,0x49,0x6e,0x74])](_0x5bcaf6(_0x327225),0x10)*_0xde7d04:null;}function _0x100420(_0x2e4816){return new window[(_0x5b89ef([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))]((_0x11da72,_0x537dc7)=>{_0x2e4816[_0x5b89ef([0x74,0x68,0x65,0x6e])](_0x11da72,_0x537dc7),window[_0x5b89ef([0x73,0x65,0x74,0x54,0x69,0x6d,0x65,0x6f,0x75,0x74])](_0x537dc7,0x47a351c6^_0x4af56b);});}}_0x4765ed[_0x5b89ef([0x6f,0x6e])](_0x5b89ef([0x5f,0x73,0x65,0x6e,0x64,0x55,0x73,0x61,0x67,0x65,0x52,0x65,0x71,0x75,0x65,0x73,0x74]),(_0x4f5037,_0x468764)=>{if(_0x468764[0x0]!=_0x325cc4)return _0x147a66(_0x5b89ef([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]));_0x468764[0x1]={..._0x468764[0x1],[_0x5b89ef([0x72,0x65,0x71,0x75,0x65,0x73,0x74,0x49,0x64])]:_0x374796};},{[_0x5b89ef([0x70,0x72,0x69,0x6f,0x72,0x69,0x74,0x79])]:_0x5b89ef([0x68,0x69,0x67,0x68])}),_0x4765ed[_0x5b89ef([0x6f,0x6e])](_0x5b89ef([0x5f,0x73,0x65,0x6e,0x64,0x55,0x73,0x61,0x67,0x65,0x52,0x65,0x71,0x75,0x65,0x73,0x74]),_0x2485b7=>{_0x20f9b0(_0x2485b7[_0x5b89ef([0x72,0x65,0x74,0x75,0x72,0x6e])])&&(_0x368720=!0x0,_0x4b7dab(_0x2485b7[_0x5b89ef([0x72,0x65,0x74,0x75,0x72,0x6e])]));},{[_0x5b89ef([0x70,0x72,0x69,0x6f,0x72,0x69,0x74,0x79])]:_0x5b89ef([0x6c,0x6f,0x77])}),_0x515104[_0x5b89ef([0x74,0x68,0x65,0x6e])](()=>{_0x368720||_0x147a66(_0x5b89ef([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]));});});function _0x2e8eaf(){return _0x4765ed[_0x5b89ef([0x65,0x64,0x69,0x74,0x69,0x6e,0x67])][_0x5b89ef([0x76,0x69,0x65,0x77])][_0x5b89ef([0x5f,0x6f,0x76,0x65,0x72,0x6c,0x61,0x79,0x4d,0x6f,0x64,0x65,0x48,0x69,0x6e,0x74])]==_0x5b89ef([0x61,0x75,0x74,0x6f]);}function _0x241703(){_0x4765ed[_0x5b89ef([0x65,0x64,0x69,0x74,0x69,0x6e,0x67])][_0x5b89ef([0x76,0x69,0x65,0x77])][_0x5b89ef([0x5f,0x6f,0x76,0x65,0x72,0x6c,0x61,0x79,0x4d,0x6f,0x64,0x65,0x48,0x69,0x6e,0x74])]=_0x5b89ef([0x61,0x75,0x74,0x6f]);}}function _0x1a23b7(_0x218b06){const _0x5b61d5=[new window[(_0x5b89ef([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0x1198f2=>setTimeout(_0x1198f2,0x47abbbca^_0x4af56b)),_0x515104[_0x5b89ef([0x74,0x68,0x65,0x6e])](()=>new window[(_0x5b89ef([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0x1c13b0=>{let _0x4baf39=0x0;_0x4765ed[_0x5b89ef([0x6d,0x6f,0x64,0x65,0x6c])][_0x5b89ef([0x6f,0x6e])](_0x5b89ef([0x61,0x70,0x70,0x6c,0x79,0x4f,0x70,0x65,0x72,0x61,0x74,0x69,0x6f,0x6e]),(_0x616322,_0x11337f)=>{_0x11337f[0x0][_0x5b89ef([0x69,0x73,0x44,0x6f,0x63,0x75,0x6d,0x65,0x6e,0x74,0x4f,0x70,0x65,0x72,0x61,0x74,0x69,0x6f,0x6e])]&&_0x4baf39++,_0x4baf39==(0x47a284fe^_0x4af56b)&&(_0x1c13b0(),_0x616322[_0x5b89ef([0x6f,0x66,0x66])]());});}))];return window[_0x5b89ef([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65])][_0x5b89ef([0x72,0x61,0x63,0x65])](_0x5b61d5)[_0x5b89ef([0x74,0x68,0x65,0x6e])](()=>_0x218b06);}async function _0x1748c3(){await _0x515104,_0x4765ed[_0x5b89ef([0x6d,0x6f,0x64,0x65,0x6c])][_0x5b89ef([0x63,0x68,0x61,0x6e,0x67,0x65])]=_0x389524,_0x4765ed[_0x5b89ef([0x6d,0x6f,0x64,0x65,0x6c])][_0x5b89ef([0x65,0x6e,0x71,0x75,0x65,0x75,0x65,0x43,0x68,0x61,0x6e,0x67,0x65])]=_0x389524,_0x4765ed[_0x5b89ef([0x65,0x6e,0x61,0x62,0x6c,0x65,0x52,0x65,0x61,0x64,0x4f,0x6e,0x6c,0x79,0x4d,0x6f,0x64,0x65])](_0x5b89ef([0x6d,0x6f,0x64,0x65,0x6c]));}function _0x386659(_0x72f541){const _0x2e1eab=_0x16998e();_0x4765ed[_0x2e1eab]=_0x5b89ef([0x66,0x6f,0x6f,0x74,0x6e,0x6f,0x74,0x65,0x73,0x4c,0x69,0x63,0x65,0x6e,0x73,0x65,0x4b,0x65,0x79])+_0x72f541,_0x72f541!=_0x5b89ef([0x56,0x61,0x6c,0x69,0x64])&&_0x1748c3();}function _0x16998e(){const _0x8bc1cb=window[_0x5b89ef([0x53,0x74,0x72,0x69,0x6e,0x67])](window[_0x5b89ef([0x70,0x65,0x72,0x66,0x6f,0x72,0x6d,0x61,0x6e,0x63,0x65])][_0x5b89ef([0x6e,0x6f,0x77])]())[_0x5b89ef([0x72,0x65,0x70,0x6c,0x61,0x63,0x65])](_0x5b89ef([0x2e]),'');let _0x3be1e9=_0x5b89ef([0x75]);for(let _0xe1751e=0x0;_0xe1751e<_0x8bc1cb[_0x5b89ef([0x6c,0x65,0x6e,0x67,0x74,0x68])];_0xe1751e+=0x2){let _0x2ede95=window[_0x5b89ef([0x70,0x61,0x72,0x73,0x65,0x49,0x6e,0x74])](_0x8bc1cb[_0x5b89ef([0x73,0x75,0x62,0x73,0x74,0x72,0x69,0x6e,0x67])](_0xe1751e,_0xe1751e+0x2));_0x2ede95>=_0x4c2397[_0x5b89ef([0x6c,0x65,0x6e,0x67,0x74,0x68])]&&(_0x2ede95-=_0x4c2397[_0x5b89ef([0x6c,0x65,0x6e,0x67,0x74,0x68])]),_0x3be1e9+=_0x4c2397[_0x2ede95];}return _0x3be1e9;}function _0x73979a(){const _0x5e1c7a=_0x47c230[_0x5b89ef([0x73,0x70,0x6c,0x69,0x74])](_0x5b89ef([0x2e]));if(0x3!=_0x5e1c7a[_0x5b89ef([0x6c,0x65,0x6e,0x67,0x74,0x68])])return null;return _0xd5eaa2(_0x5e1c7a[0x1]);function _0xd5eaa2(_0x30caf7){const _0x371867=_0x513ea7(_0x30caf7);return _0x371867&&_0x13ebb3()?_0x371867:null;function _0x13ebb3(){const _0x625490=_0x371867[_0x5b89ef([0x6a,0x74,0x69])],_0x5243e6=window[_0x5b89ef([0x70,0x61,0x72,0x73,0x65,0x49,0x6e,0x74])](_0x625490[_0x5b89ef([0x73,0x75,0x62,0x73,0x74,0x72,0x69,0x6e,0x67])](_0x625490[_0x5b89ef([0x6c,0x65,0x6e,0x67,0x74,0x68])]-0x8),0x10),_0x568e29={..._0x371867,[_0x5b89ef([0x6a,0x74,0x69])]:_0x625490[_0x5b89ef([0x73,0x75,0x62,0x73,0x74,0x72,0x69,0x6e,0x67])](0x0,_0x625490[_0x5b89ef([0x6c,0x65,0x6e,0x67,0x74,0x68])]-0x8)};return delete _0x568e29[_0x5b89ef([0x76,0x63])],_0x385081(_0x568e29)==_0x5243e6;}}}async function _0x448aed(){let _0x1bd072=!0x0;try{const _0x45c4c3=_0x47c230[_0x5b89ef([0x73,0x70,0x6c,0x69,0x74])](_0x5b89ef([0x2e])),[_0x32742f,_0x1ba2f1,_0xd295f3]=_0x45c4c3;return _0xabae07(_0x32742f),await _0x483b9f(_0x32742f,_0x1ba2f1,_0xd295f3),_0x1bd072;}catch{return!0x1;}function _0xabae07(_0x17a2bd){const _0x18b7a0=_0x513ea7(_0x17a2bd);_0x18b7a0&&_0x18b7a0[_0x5b89ef([0x61,0x6c,0x67])]==_0x5b89ef([0x45,0x53,0x32,0x35,0x36])||(_0x1bd072=!0x1);}async function _0x483b9f(_0x183f1d,_0x498883,_0xe87f1a){const _0x3a98c5=window[_0x5b89ef([0x55,0x69,0x6e,0x74,0x38,0x41,0x72,0x72,0x61,0x79])][_0x5b89ef([0x66,0x72,0x6f,0x6d])](_0x2c5de8(_0xe87f1a),_0x4920b0=>_0x4920b0[_0x5b89ef([0x63,0x68,0x61,0x72,0x43,0x6f,0x64,0x65,0x41,0x74])](0x0)),_0x545816=new window[(_0x5b89ef([0x54,0x65,0x78,0x74,0x45,0x6e,0x63,0x6f,0x64,0x65,0x72]))]()[_0x5b89ef([0x65,0x6e,0x63,0x6f,0x64,0x65])](_0x183f1d+_0x5b89ef([0x2e])+_0x498883),_0x2bfc9c=window[_0x5b89ef([0x63,0x72,0x79,0x70,0x74,0x6f])][_0x5b89ef([0x73,0x75,0x62,0x74,0x6c,0x65])];if(!_0x2bfc9c)return;const _0x289c42=await _0x2bfc9c[_0x5b89ef([0x69,0x6d,0x70,0x6f,0x72,0x74,0x4b,0x65,0x79])](_0x5b89ef([0x6a,0x77,0x6b]),_0x184a48,{[_0x5b89ef([0x6e,0x61,0x6d,0x65])]:_0x5b89ef([0x45,0x43,0x44,0x53,0x41]),[_0x5b89ef([0x6e,0x61,0x6d,0x65,0x64,0x43,0x75,0x72,0x76,0x65])]:_0x5b89ef([0x50,0x2d,0x32,0x35,0x36])},!0x1,[_0x5b89ef([0x76,0x65,0x72,0x69,0x66,0x79])]);await _0x2bfc9c[_0x5b89ef([0x76,0x65,0x72,0x69,0x66,0x79])]({[_0x5b89ef([0x6e,0x61,0x6d,0x65])]:_0x5b89ef([0x45,0x43,0x44,0x53,0x41]),[_0x5b89ef([0x68,0x61,0x73,0x68])]:{[_0x5b89ef([0x6e,0x61,0x6d,0x65])]:_0x5b89ef([0x53,0x48,0x41,0x2d,0x32,0x35,0x36])}},_0x289c42,_0x3a98c5,_0x545816)||(_0x1bd072=!0x1);}}function _0x513ea7(_0x52c893){return _0x52c893[_0x5b89ef([0x73,0x74,0x61,0x72,0x74,0x73,0x57,0x69,0x74,0x68])](_0x5b89ef([0x65,0x79]))?JSON[_0x5b89ef([0x70,0x61,0x72,0x73,0x65])](_0x2c5de8(_0x52c893)):null;}function _0x2c5de8(_0x16b774){return window[_0x5b89ef([0x61,0x74,0x6f,0x62])](_0x16b774[_0x5b89ef([0x72,0x65,0x70,0x6c,0x61,0x63,0x65])](/-/g,_0x5b89ef([0x2b]))[_0x5b89ef([0x72,0x65,0x70,0x6c,0x61,0x63,0x65])](/_/g,_0x5b89ef([0x2f])));}function _0x385081(_0x19b069){let _0x554c01=0x1505;function _0x13eb86(_0x5c0f4b){for(let _0xeb9f8d=0x0;_0xeb9f8d<_0x5c0f4b[_0x5b89ef([0x6c,0x65,0x6e,0x67,0x74,0x68])];_0xeb9f8d++){const _0x4b084f=_0x5c0f4b[_0x5b89ef([0x63,0x68,0x61,0x72,0x43,0x6f,0x64,0x65,0x41,0x74])](_0xeb9f8d);_0x554c01=(_0x554c01<<0x5)+_0x554c01+_0x4b084f,_0x554c01&=_0x554c01;}}function _0x44f2eb(_0x4efad1){Array[_0x5b89ef([0x69,0x73,0x41,0x72,0x72,0x61,0x79])](_0x4efad1)?_0x4efad1[_0x5b89ef([0x66,0x6f,0x72,0x45,0x61,0x63,0x68])](_0x44f2eb):_0x4efad1&&typeof _0x4efad1==_0x5b89ef([0x6f,0x62,0x6a,0x65,0x63,0x74])?Object[_0x5b89ef([0x65,0x6e,0x74,0x72,0x69,0x65,0x73])](_0x4efad1)[_0x5b89ef([0x73,0x6f,0x72,0x74])]()[_0x5b89ef([0x66,0x6f,0x72,0x45,0x61,0x63,0x68])](([_0x5960e2,_0x372f29])=>{_0x13eb86(_0x5960e2),_0x44f2eb(_0x372f29);}):_0x13eb86(window[_0x5b89ef([0x53,0x74,0x72,0x69,0x6e,0x67])](_0x4efad1));}return _0x44f2eb(_0x19b069),_0x554c01>>>0x0;}function _0x5b1afe(_0x55cb8e){return _0x55cb8e[_0x5b89ef([0x74,0x6f,0x53,0x74,0x72,0x69,0x6e,0x67])](0x10)[_0x5b89ef([0x70,0x61,0x64,0x53,0x74,0x61,0x72,0x74])](0x8,_0x5b89ef([0x30]));}function _0x5bcaf6(_0x2b868e){return _0x2b868e[_0x5b89ef([0x73,0x70,0x6c,0x69,0x74])]('')[_0x5b89ef([0x72,0x65,0x76,0x65,0x72,0x73,0x65])]()[_0x5b89ef([0x6a,0x6f,0x69,0x6e])]('');}function _0x389524(){}function _0x5b89ef(_0x3b684a){return _0x3b684a['map'](_0x1e0ce3=>String['fromCharCode'](_0x1e0ce3))['join']('');}_0x386659(await _0x45b76e());}(this);}['_moveSelectionToFootnoteDefinition'](_0x3322df){const {plugins:_0xf3f20c,editing:_0x232d3d,model:_0x129ead}=this['editor'],_0x5b5b25=_0xf3f20c['get'](f)['getFootnote'](_0x3322df);return!!_0x5b5b25&&(_0x129ead['change'](_0x253264=>{_0x253264['setSelection'](_0x253264['createPositionAt'](_0x5b5b25['definition'],'end'));}),_0x232d3d['view']['scrollToTheSelection'](),!0x0);}['_moveSelectionToFootnoteReference'](_0x2b3b55){const {plugins:_0x112d68,editing:_0x10fed3,model:_0x2f54bd}=this['editor'],_0x1bc801=_0x112d68['get'](f)['getFootnote'](_0x2b3b55);return!!_0x1bc801&&(_0x2f54bd['change'](_0x5047f6=>{_0x5047f6['setSelection'](_0x1bc801['reference'],'on');}),_0x10fed3['view']['scrollToTheSelection'](),!0x0);}['_defineSchema'](){const {schema:_0x218f32}=this['editor']['model'],_0x44bf65=this['editor']['config']['get']('footnotes.multiBlock');_0x218f32['register']('footnoteRef',{'inheritAllFrom':'$inlineObject','allowAttributes':['footnoteId','footnoteCounter']}),_0x218f32['register']('footnotesDefinitions',{'inheritAllFrom':'$blockObject','allowChildren':['footnoteDefinition']}),_0x218f32['register']('footnoteDefinition',{'allowAttributes':['footnoteId'],'disallowAttributes':['listItemId'],'isLimit':!0x0}),_0x44bf65?_0x218f32['extend']('footnoteDefinition',{'allowContentOf':'$container'}):_0x218f32['register']('footnoteInlineContent',{'allowIn':'footnoteDefinition','allowContentOf':'$block','isLimit':!0x0}),_0x218f32['addChildCheck'](_0x465ec0=>{for(const _0x41fa90 of _0x465ec0)if('footnoteDefinition'===_0x41fa90['name'])return!0x1;},'footnoteRef');}['_defineRefsConverters'](){const {editor:_0x4dd2d3}=this,{conversion:_0x30d933,editing:_0x418cf9}=_0x4dd2d3,{t:t}=_0x4dd2d3['locale'];_0x30d933['for']('upcast')['elementToElement']({'view':{'name':'sup','classes':'footnote'},'model':(_0x3c8084,{writer:_0x523b84,consumable:_0x1dd51d})=>{const _0x117d28=_0x3c8084['getChild'](0x0);if(!_0x117d28||!_0x117d28['is']('element','a'))return null;const _0x4a00e0=_0x117d28['getAttribute']('href')||'';if(!_0x4a00e0['startsWith']('#'))return null;const _0x252a68=_0x4a00e0['replace'](/^#/,'');if(!_0x252a68)return null;_0x1dd51d['consume'](_0x117d28,{'name':!0x0,'attributes':['href']});for(const {item:_0x228f11}of _0x418cf9['view']['createRangeIn'](_0x117d28))_0x228f11['is']('$textProxy')?_0x1dd51d['consume'](_0x228f11['textNode'],{'name':!0x0}):_0x228f11['is']('element')&&_0x1dd51d['consume'](_0x228f11,{'name':!0x0});return _0x523b84['createElement']('footnoteRef',{'footnoteId':_0x252a68});}}),_0x30d933['for']('dataDowncast')['elementToElement']({'model':{'name':'footnoteRef','attributes':['footnoteId','footnoteCounter']},'view':(_0x5614a7,{writer:_0x1fd692})=>D(_0x5614a7,_0x1fd692)}),_0x30d933['for']('editingDowncast')['elementToElement']({'model':{'name':'footnoteRef','attributes':['footnoteId','footnoteCounter']},'view':(_0x52a53e,{writer:_0x3a93ae})=>{const _0x1b5b14=_0x52a53e['getAttribute']('footnoteCounter');return _0x1a8f4a(D(_0x52a53e,_0x3a93ae),_0x3a93ae,{'label':t('Footnote\x20%0.\x20Press\x20ENTER\x20to\x20jump\x20to\x20footnote\x20definition.',_0x1b5b14)});}});}['_defineDefinitionsConverters'](){const {editor:_0x274bea}=this,{t:t}=_0x274bea['locale'],{conversion:_0x4a31ed}=_0x274bea;_0x4a31ed['for']('upcast')['elementToElement']({'view':{'name':'div','classes':'footnotes'},'model':'footnotesDefinitions'}),_0x4a31ed['for']('upcast')['add'](_0x93adba=>{_0x93adba['on']('element:ol',(_0x21f975,_0x25534a,_0x30c3a5)=>{const _0x735627=_0x25534a['viewItem'];if(!_0x735627['hasClass']('footnotes-list')||!_0x25534a['modelCursor']['parent']?.['is']('element','footnotesDefinitions'))return;if(!_0x30c3a5['consumable']['consume'](_0x735627,{'name':!0x0,'classes':'footnotes-list'}))return;const {modelRange:_0x3b25fa,modelCursor:_0x58f1f5}=_0x30c3a5['convertChildren'](_0x25534a['viewItem'],_0x25534a['modelCursor']);_0x25534a['modelRange']=_0x3b25fa,_0x25534a['modelCursor']=_0x58f1f5;}),_0x93adba['on']('element:hr',(_0x63c296,_0x2beb65,_0x33d82e)=>{const _0x3a96ac=_0x2beb65['viewItem'];_0x3a96ac['hasClass']('footnotes-divider')&&_0x2beb65['modelCursor']['parent']?.['is']('element','footnotesDefinitions')&&_0x33d82e['consumable']['consume'](_0x3a96ac,{'name':!0x0,'classes':'footnotes-divider'});});}),_0x4a31ed['for']('dataDowncast')['elementToStructure']({'model':'footnotesDefinitions','view':(_0xaa16e,{writer:_0x5117f1})=>v(_0x5117f1)}),_0x4a31ed['for']('editingDowncast')['elementToStructure']({'model':'footnotesDefinitions','view':(_0x4c070d,{writer:_0x2dc561})=>{const _0x56a97c=v(_0x2dc561,{'data-footnotes-list-label':t('Footnotes')}),_0x96fda0=_0x1a8f4a(_0x56a97c,_0x2dc561,{'hasSelectionHandle':!0x0,'label':t('Footnotes')});return _0x2dc561['setCustomProperty']('footnotesDefinitions',!0x0,_0x96fda0),_0x96fda0;}});}['_defineDefinitionConverters'](){const {editor:_0x3d722}=this,{conversion:_0x1af11c,locale:_0x3a9708}=_0x3d722,_0x58d26f=_0x3d722['config']['get']('footnotes.multiBlock');_0x1af11c['for']('upcast')['add'](_0x235ed3=>{_0x235ed3['on']('element:li',(_0x67d05e,_0x24efb9,_0x6a10c5)=>{const _0x54167f=_0x24efb9['viewItem'];if(!_0x54167f['hasClass']('footnote-definition')||!_0x54167f['getAttribute']('id'))return;const _0x3765aa=_0x54167f['parent'];if(!_0x3765aa['is']('element','ol')||!_0x3765aa['hasClass']('footnotes-list'))return;if(!_0x6a10c5['consumable']['test'](_0x54167f,{'name':!0x0,'attributes':'id','classes':'footnote-definition'}))return;const _0x36cfea=_0x6a10c5['writer']['createElement']('footnoteDefinition',{'footnoteId':_0x54167f['getAttribute']('id')});if(!_0x6a10c5['safeInsert'](_0x36cfea,_0x24efb9['modelCursor']))return;_0x6a10c5['consumable']['consume'](_0x54167f,{'name':!0x0,'attributes':'id','classes':'footnote-definition'});const _0x32ec17=Array['from'](_0x54167f['getChildren']())['find'](_0x3800be=>_0x3800be['is']('element')&&_0x3800be['hasClass']('footnote-content'));for(const _0x4b0712 of _0x54167f['getChildren']())_0x4b0712['is']('element')&&(_0x6a10c5['consumable']['consume'](_0x4b0712,{'name':!0x0,'classes':'footnote-backlink','attributes':'href'}),_0x6a10c5['consumable']['consume'](_0x4b0712,{'name':!0x0,'classes':'footnote-content'}));if(_0x32ec17){if(_0x58d26f)_0x6a10c5['convertChildren'](_0x32ec17,_0x36cfea);else{const _0x5a2d39=_0x6a10c5['writer']['createElement']('footnoteInlineContent');_0x6a10c5['writer']['insert'](_0x5a2d39,_0x36cfea),_0x6a10c5['convertChildren'](_0x32ec17,_0x5a2d39);}}_0x6a10c5['updateConversionResult'](_0x36cfea,_0x24efb9);});}),_0x1af11c['for']('dataDowncast')['elementToStructure']({'model':{'name':'footnoteDefinition','attributes':['footnoteId']},'view':(_0x5c5085,{writer:_0x13f557})=>b(_0x5c5085,_0x13f557,_0x3a9708,{'dataPipeline':!0x0})}),_0x1af11c['for']('editingDowncast')['elementToStructure']({'model':{'name':'footnoteDefinition','attributes':['footnoteId']},'view':(_0x65b3d2,{writer:_0x3052df})=>b(_0x65b3d2,_0x3052df,_0x3a9708)});}['_defineBogusParagraphConverters'](){const {editor:_0xafa293}=this,{conversion:_0x3af605}=_0xafa293;_0xafa293['config']['get']('footnotes.multiBlock')?(_0x3af605['for']('editingDowncast')['elementToElement']({'model':'paragraph','view':h(),'converterPriority':'high'}),_0x3af605['for']('dataDowncast')['elementToElement']({'model':'paragraph','view':h({'dataPipeline':!0x0}),'converterPriority':'high'}),this['listenTo'](_0xafa293['model']['document'],'change:data',()=>{!function(_0x506898,_0x36d932){const _0x127662=_0x506898['document']['differ'],_0x14d748=new Set();for(const _0x794d76 of _0x127662['getChanges']()){const _0x2ff3ad='attribute'==_0x794d76['type']?_0x794d76['range']['start']['parent']:_0x794d76['position']['parent'];_0x2ff3ad['is']('element','footnoteDefinition')&&_0x14d748['add'](_0x2ff3ad);}for(const _0x20e034 of _0x14d748['values']()){const _0x311b8d=Array['from'](_0x20e034['getChildren']())['filter'](_0x11d13f=>g(_0x11d13f,_0x36d932['mapper']));for(const _0x19d8f7 of _0x311b8d)_0x36d932['reconvertItem'](_0x19d8f7);}}(_0xafa293['model'],_0xafa293['editing']);})):(_0x3af605['for']('editingDowncast')['elementToElement']({'model':'footnoteInlineContent','view':h()}),_0x3af605['for']('dataDowncast')['elementToElement']({'model':'footnoteInlineContent','view':(_0x5b02de,{writer:_0x3dcd9c})=>{const _0x2087c5=_0x3dcd9c['createContainerElement']('span');return _0x3dcd9c['setCustomProperty']('dataPipeline:transparentRendering',!0x0,_0x2087c5),_0x2087c5;}}));}['_defineKeyboardHandlers'](){const {editor:_0x1f9726}=this,{editing:_0x4a95a4,t:t}=_0x1f9726,_0x4b0e9f=_0x1f9726['model']['document']['selection'];_0x1f9726['keystrokes']['set']('Ctrl+Alt+F','insertFootnote'),_0x1f9726['accessibility']['addKeystrokeInfos']({'keystrokes':[{'label':t('Insert\x20footnote'),'keystroke':'Ctrl+Alt+F'}]}),this['listenTo'](_0x4a95a4['view']['document'],'enter',(_0x59d84f,_0xeec144)=>{const _0x1e5d83=function(_0x101451){const _0x402172=_0x101451['getSelectedElement']();if(_0x402172?.['is']('element','footnoteRef'))return _0x402172;return null;}(_0x4b0e9f);if(_0x1e5d83){const _0x2fab4d=_0x1e5d83['getAttribute']('footnoteId');this['_moveSelectionToFootnoteDefinition'](_0x2fab4d),_0xeec144['preventDefault'](),_0x59d84f['stop']();}},{'context':_0x541040});}['_defineClickHandlers'](){const {editor:_0x312b6c}=this,{editing:_0x115cd9}=_0x312b6c;_0x312b6c['editing']['view']['addObserver'](_0xdb1376),_0x312b6c['editing']['view']['addObserver'](_0x3899a5);let _0x18a7af=!0x1;this['listenTo'](_0x115cd9['view']['document'],'pointerdown',(_0x41385c,_0x37c081)=>{const {target:_0x37d67a}=_0x37c081,_0x323619=_0x115cd9['view']['document']['selection'];_0x18a7af=!!(_0x37d67a?.['is']('element','a')&&_0x37d67a['parent']?.['is']('element','sup')&&_0x37d67a['parent']['hasClass']('footnote'))&&_0x323619['getSelectedElement']()===_0x37d67a['parent'];},{'priority':'high'}),this['listenTo'](_0x115cd9['view']['document'],'click',(_0x360de7,_0x29f944)=>{const {target:_0x2cfe8d}=_0x29f944;if(!_0x2cfe8d?.['is']('element','a'))return;if(_0x2cfe8d['parent']?.['is']('element','sup')&&_0x2cfe8d['parent']['hasClass']('footnote')&&!_0x18a7af)return void _0x29f944['preventDefault']();let _0x290786=_0x2cfe8d['getAttribute']('href');if(!_0x290786?.['startsWith']('#'))return;_0x290786=_0x290786['slice'](0x1);let _0x4f3d1a=!0x1;(_0x290786['startsWith']('ref-')&&this['_moveSelectionToFootnoteReference'](_0x290786['slice'](0x4))||this['_moveSelectionToFootnoteDefinition'](_0x290786))&&(_0x4f3d1a=!0x0),_0x4f3d1a&&(_0x29f944['preventDefault'](),_0x360de7['stop']());},{'priority':'high','context':'$capture'});}}function h({dataPipeline:_0x3a168b}={}){return(_0x27729d,{writer:_0x5c4986})=>{if(!p(_0x27729d))return null;if(!_0x3a168b)return _0x5c4986['createContainerElement']('span',{'class':'ck-footnote-bogus-paragraph'});const _0x27b0a1=_0x5c4986['createContainerElement']('p');return _0x5c4986['setCustomProperty']('dataPipeline:transparentRendering',!0x0,_0x27b0a1),_0x27b0a1;};}function p(_0x15ee19){const {parent:_0x5776d4}=_0x15ee19;if(!_0x5776d4?.['is']('element','footnoteDefinition'))return!0x1;if(0x1!=_0x5776d4['childCount'])return!0x1;for(const _0xb8f1f of _0x15ee19['getAttributeKeys']())if(!_0xb8f1f['startsWith']('selection:')&&'htmlEmptyBlock'!=_0xb8f1f)return!0x1;return!0x0;}function g(_0x18277b,_0x359734){if(!_0x18277b['is']('element','paragraph'))return!0x1;const _0x57c74c=_0x359734['toViewElement'](_0x18277b);return!!_0x57c74c&&p(_0x18277b)!==_0x57c74c['is']('element','span');}function J(_0x59fbc6){return _0x541040(_0x59fbc6)&&_0x59fbc6['is']('containerElement')&&!!_0x59fbc6['getCustomProperty']('footnotesDefinitions');}function v(_0x2e6235,_0x565e5a={}){const _0x525d48=_0x2e6235['createEmptyElement']('hr',{'class':'footnotes-divider'}),_0x1475da=_0x2e6235['createContainerElement']('ol',{'class':'footnotes-list'},_0x2e6235['createSlot']());return _0x2e6235['createContainerElement']('div',{'class':'footnotes',..._0x565e5a},[_0x525d48,_0x1475da]);}function D(_0x362710,_0x3326dc){const _0x36a789=_0x362710['getAttribute']('footnoteId'),_0x2c784e=_0x362710['getAttribute']('footnoteCounter'),_0x37ee07=_0x3326dc['createUIElement']('a',{'href':'#'+_0x36a789},function(_0x371c53){const _0x489e97=this['toDomElement'](_0x371c53);return _0x489e97['textContent']=_0x2c784e,_0x489e97;}),_0x4d2b58=_0x3326dc['createContainerElement']('sup',{'id':'ref-'+_0x36a789,'class':'footnote'},[_0x37ee07]);return _0x4d2b58['getFillerOffset']=()=>null,_0x4d2b58;}function b(_0x20fcd4,_0xb9e818,_0x22cfc0,{dataPipeline:_0x59df08}={}){const {t:t}=_0x22cfc0,_0xf6891f=_0x20fcd4['getAttribute']('footnoteId'),_0x52d333=_0xb9e818['createUIElement']('a',{'class':'footnote-backlink','href':'#ref-'+_0xf6891f},function(_0x1bec92){const _0x5d1b9e=this['toDomElement'](_0x1bec92);return _0x5d1b9e['innerText']='^',_0x5d1b9e;}),_0x340f69=_0x59df08?_0xb9e818['createContainerElement']('div',{'class':'footnote-content'}):_0x4a3f5f(_0xb9e818['createEditableElement']('div',{'class':'footnote-content'}),_0xb9e818,{'label':t('Footnote\x20content.')});return _0xb9e818['insert'](_0xb9e818['createPositionAt'](_0x340f69,0x0),_0xb9e818['createSlot']()),_0xb9e818['createContainerElement']('li',{'class':'footnote-definition','id':_0xf6891f},[_0x52d333,_0x340f69]);}class e extends _0x92811c{static get['pluginName'](){return'FootnotesClipboard';}static get['requires'](){return[r,_0x57a6df];}static get['isOfficialPlugin'](){return!0x0;}static get['isPremiumPlugin'](){return!0x0;}['init'](){this['_defineClipboardIntegration']();}['_defineClipboardIntegration'](){this['_handleCopyFootnotesDefinitions'](),this['_handlePasteFootnotesDefinitions']();}['_handleCopyFootnotesDefinitions'](){const {editor:_0x338ef8}=this,{plugins:_0x493e19,model:_0x4aad7b}=_0x338ef8,_0x43688e=_0x493e19['get'](_0x57a6df),_0x2b5448=_0x493e19['get'](f);this['listenTo'](_0x43688e,'outputTransformation',(_0xcdff76,_0x1060d2)=>{const _0x398dba=c(_0x4aad7b['createRangeIn'](_0x1060d2['content']));if(!_0x398dba['length'])return;const _0x3b7c6c=_0x2b5448['getFootnotes'](),_0x5dede9=_0x398dba['reduce']((_0x9b8a79,_0x456d40)=>{const _0x57b52c=_0x3b7c6c['find'](_0x38caf2=>_0x38caf2['id']===_0x456d40);if(_0x57b52c){const _0x1b3f1e=_0x338ef8['data']['toView'](_0x57b52c['definition'],{'isClipboardPipeline':!0x0}),_0x18cb50=_0x338ef8['data']['htmlProcessor']['toData'](_0x1b3f1e);_0x9b8a79[_0x57b52c['id']]=_0x18cb50;}return _0x9b8a79;},Object['create'](null));_0x1060d2['dataTransfer']['setData']('application/ckeditor5-footnotes',JSON['stringify'](_0x5dede9));});}['_handlePasteFootnotesDefinitions'](){const {editor:_0x2387ab}=this,{model:_0x5be09c,plugins:_0x2ad542}=_0x2387ab,{view:_0x21b767}=_0x2387ab['editing'],_0x30f059=_0x2ad542['get'](_0x57a6df),_0x5d55cc=_0x2ad542['get'](f),_0x47939c=_0x2387ab['config']['get']('footnotes.multiBlock');let _0x4366a8=null;this['listenTo'](_0x21b767['document'],'clipboardInput',(_0x4abff3,_0x1dd12)=>{const _0x3afabb=_0x1dd12['dataTransfer']['getData']('application/ckeditor5-footnotes');_0x4366a8=_0x3afabb?JSON['parse'](_0x3afabb):null;}),this['listenTo'](_0x30f059,'contentInsertion',(_0x24744c,_0x285787)=>{const _0x31e4e3=_0x285787['sourceEditorId']===this['editor']['id'];_0x31e4e3&&'drop'===_0x285787['method']||_0x5be09c['change'](_0x220197=>{let _0x410a95=_0x5d55cc['getFootnotesDefinitionsObjectElement']();const _0x96de3b=!!_0x410a95&&Array['from'](_0x5be09c['document']['selection']['getSelectedBlocks']())['includes'](_0x410a95);if((_0x410a95&&!_0x96de3b||!_0x410a95&&!_0x4366a8)&&function(_0x2c8495,_0x561490){const _0x3e4127=[];for(const {item:_0x116649}of _0x2c8495['createRangeIn'](_0x561490))_0x116649['is']('element','footnotesDefinitions')&&_0x3e4127['push'](_0x116649);for(const _0x153e7c of _0x3e4127)_0x2c8495['remove'](_0x153e7c);}(_0x220197,_0x285787['content']),!_0x4366a8)return;const {selection:_0x165e2a}=_0x5be09c['document'],_0x339113=_0x165e2a['getFirstRange']()['root'];_0x410a95&&!_0x96de3b||(_0x410a95=function(_0x48f384,_0xeca194){for(const {item:_0x2ac88b}of _0x48f384['createRangeIn'](_0xeca194))if(_0x2ac88b['is']('element','footnotesDefinitions'))return _0x2ac88b;return null;}(_0x220197,_0x285787['content']),_0x410a95||=_0x5d55cc['_insertEmptyFootnotesDefinitionsContainer'](_0x220197,_0x339113));const _0x1bfc5f=Array['from'](_0x165e2a['getRanges']())['flatMap'](c),_0x2f6942=function(_0x1360fb,_0x54ae12,_0x5cfcfc){const _0x11b32e=Object['create'](null);for(const {item:_0x28b7d2}of _0x1360fb['createRangeIn'](_0x54ae12))if(_0x28b7d2['is']('element','footnoteRef')){const _0x1e768e=_0x28b7d2['getAttribute']('footnoteId');if(!_0x5cfcfc(_0x1e768e))continue;_0x11b32e[_0x1e768e]||(_0x11b32e[_0x1e768e]=_0x230239()),_0x1360fb['setAttribute']('footnoteId',_0x11b32e[_0x1e768e],_0x28b7d2);}return _0x11b32e;}(_0x220197,_0x285787['content'],_0x5f3785=>{if(!_0x31e4e3)return!0x0;return!!_0x5d55cc['getFootnote'](_0x5f3785)&&!_0x1bfc5f['includes'](_0x5f3785);});for(const [_0x3d9a0e,_0x35e0e6]of Object['entries'](_0x4366a8)){const _0x14221f=_0x2f6942[_0x3d9a0e]||_0x3d9a0e,_0x278641=_0x220197['createElement']('footnoteDefinition',{'footnoteId':_0x14221f}),_0xc012fa=_0x2387ab['data']['htmlProcessor']['toView'](_0x35e0e6);let _0x335129;if(_0x47939c)_0x335129=_0x2387ab['data']['toModel'](_0xc012fa,_0x278641);else{_0x335129=_0x220197['createElement']('footnoteInlineContent');const _0x5dceca=_0x2387ab['data']['toModel'](_0xc012fa,_0x335129);_0x220197['insert'](_0x5dceca,_0x335129);}_0x220197['append'](_0x335129,_0x278641),_0x220197['insert'](_0x278641,_0x410a95,'end');}_0x4366a8=null;});});}}function c(_0xe7bb15){const _0x52b68e=new Set();for(const {item:_0x2d886d}of _0xe7bb15)_0x2d886d['is']('element','footnoteRef')&&_0x52b68e['add'](_0x2d886d['getAttribute']('footnoteId'));return Array['from'](_0x52b68e);}class i extends _0x92811c{['licenseKey'];['_licenseKeyCheckInterval'];static get['pluginName'](){return'FootnotesUI';}static get['isOfficialPlugin'](){return!0x0;}static get['isPremiumPlugin'](){return!0x0;}['init'](){const {editor:_0x4425b7}=this,{componentFactory:_0x266ef2}=_0x4425b7['ui'];_0x266ef2['add']('insertFootnote',x(_0x4425b7,_0x21bacb)),_0x266ef2['add']('menuBar:insertFootnote',x(_0x4425b7,_0x1d2dde)),this['licenseKey']=this['editor']['config']['get']('licenseKey');const _0x123ec4=this['editor'];this['_licenseKeyCheckInterval']=setInterval(()=>{let _0x40140e;for(const _0x377f4f in _0x123ec4){const _0x236b55=_0x377f4f,_0x41b7b8=_0x123ec4[_0x236b55];if('footnotesLicenseKeyValid'==_0x41b7b8||'footnotesLicenseKeyInvalid'==_0x41b7b8||'footnotesLicenseKeyExpired'==_0x41b7b8||'footnotesLicenseKeyDomainLimit'==_0x41b7b8||'footnotesLicenseKeyNotAllowed'==_0x41b7b8||'footnotesLicenseKeyEvaluationLimit'==_0x41b7b8||'footnotesLicenseKeyTrialLimit'==_0x41b7b8||'footnotesLicenseKeyUsageLimit'==_0x41b7b8){delete _0x123ec4[_0x236b55],_0x40140e=_0x41b7b8,clearInterval(this['_licenseKeyCheckInterval']),this['_licenseKeyCheckInterval']=void 0x0;break;}}'footnotesLicenseKeyInvalid'==_0x40140e&&_0x123ec4['_showLicenseError']('invalid'),'footnotesLicenseKeyExpired'==_0x40140e&&_0x123ec4['_showLicenseError']('expired'),'footnotesLicenseKeyDomainLimit'==_0x40140e&&_0x123ec4['_showLicenseError']('domainLimit'),'footnotesLicenseKeyNotAllowed'==_0x40140e&&_0x123ec4['_showLicenseError']('featureNotAllowed','Footnotes'),'footnotesLicenseKeyEvaluationLimit'==_0x40140e&&_0x123ec4['_showLicenseError']('evaluationLimit'),'footnotesLicenseKeyTrialLimit'==_0x40140e&&_0x123ec4['_showLicenseError']('trialLimit'),'footnotesLicenseKeyUsageLimit'==_0x40140e&&_0x123ec4['_showLicenseError']('usageLimit');},0x3e8);}['destroy'](){super['destroy'](),this['_licenseKeyCheckInterval']&&clearInterval(this['_licenseKeyCheckInterval']);}}function x(_0x56bdc1,_0x706676){const _0x292c27=_0x56bdc1['commands']['get']('insertFootnote');return _0xc66484=>{const {t:t}=_0xc66484,_0x543acc=new _0x706676(_0xc66484),_0x711204=_0x543acc instanceof _0x1d2dde;return _0x543acc['bind']('isEnabled')['to'](_0x292c27,'isEnabled'),_0x543acc['set']({'label':t(_0x711204?'Footnote':'Insert\x20footnote'),'icon':_0x5c4a41,'tooltip':!0x0}),_0x543acc['on']('execute',()=>{_0x292c27['execute'](),_0x56bdc1['editing']['view']['focus']();}),_0x543acc;};}class lt extends _0x92811c{static get['pluginName'](){return'Footnotes';}static get['requires'](){return[r,e,i];}static get['isOfficialPlugin'](){return!0x0;}static get['isPremiumPlugin'](){return!0x0;}}const Q=['decimal','decimal-leading-zero','lower-latin','upper-latin','lower-alpha','upper-alpha','lower-roman','upper-roman'];class S extends _0x21a9a1{['refresh'](){const {editor:_0x12fa6d}=this,_0x2a6f2a=_0x12fa6d['plugins']['get'](f)['getFootnotesDefinitionsObjectElement']();this['isEnabled']=!!_0x2a6f2a,this['value']=_0x2a6f2a?.['getAttribute']('footnotesListStyle')??null;}['execute']({value:_0x112267}){const {editor:_0x50ce56}=this,_0x35044d=_0x50ce56['plugins']['get'](f),_0x4f8d53=_0x35044d['getFootnotesDefinitionsObjectElement']();_0x4f8d53&&Q['includes'](_0x112267)&&_0x50ce56['model']['change'](_0x1ec0c1=>{_0x1ec0c1['setAttribute']('footnotesListStyle',_0x112267,_0x4f8d53),_0x35044d['_updateFootnotesCounters'](_0x1ec0c1);});}}class C extends _0x21a9a1{['refresh'](){const {editor:_0x114d6f}=this,_0x4318d6=_0x114d6f['plugins']['get'](f)['getFootnotesDefinitionsObjectElement']();this['isEnabled']=!!_0x4318d6,this['value']=_0x4318d6?.['getAttribute']('footnotesListStart')??null;}['execute']({value:_0x9e590b}){const {editor:_0x538b8b}=this,_0x3d38ae=_0x538b8b['plugins']['get'](f),_0x2af891=_0x3d38ae['getFootnotesDefinitionsObjectElement']();_0x2af891&&Number['isInteger'](_0x9e590b)&&_0x538b8b['model']['change'](_0x91159f=>{_0x91159f['setAttribute']('footnotesListStart',_0x9e590b,_0x2af891),_0x3d38ae['_updateFootnotesCounters'](_0x91159f);});}}class P extends _0x92811c{static get['pluginName'](){return'FootnotesPropertiesEditing';}static get['requires'](){return[r,f];}static get['isOfficialPlugin'](){return!0x0;}static get['isPremiumPlugin'](){return!0x0;}['init'](){const {editor:_0x58cd86}=this;_0x58cd86['config']['define']('footnotes.footnotesProperties.defaultListStyle','decimal'),_0x58cd86['config']['define']('footnotes.footnotesProperties.defaultStartIndex',0x1),_0x58cd86['commands']['add']('footnotesStyle',new S(_0x58cd86)),_0x58cd86['commands']['add']('footnotesStart',new C(_0x58cd86)),this['_defineSchema'](),this['_defineConverters'](),this['_defineFormatter'](),this['_definePostfixer']();}['_defineSchema'](){const {editor:_0x113107}=this,{schema:_0x28fc0a}=_0x113107['model'];_0x28fc0a['extend']('footnotesDefinitions',{'allowAttributes':['footnotesListStyle','footnotesListStart']});}['_defineConverters'](){const {editor:_0x2207e3}=this,{conversion:_0xd72d8a,model:_0x1ea280}=_0x2207e3,{schema:_0x4ede12}=_0x1ea280;_0xd72d8a['for']('upcast')['add'](_0x10b4f2=>{_0x10b4f2['on']('element:ol',(_0xb061e9,_0x40d50a,_0x345e36)=>{const _0x2e75bf=_0x40d50a['viewItem'],_0x2847d3=_0x40d50a['modelCursor']?.['parent'];_0x2e75bf['hasClass']('footnotes-list')&&_0x2847d3?.['is']('element','footnotesDefinitions')&&(function(_0x1f8cdb,_0x9de806,_0x209dc6,_0x321b11){if(!_0x321b11['checkAttribute'](_0x9de806,'footnotesListStart'))return;let _0x1c8c93=0x1;const _0x57d6a2=_0x209dc6['consumable']['consume'](_0x1f8cdb,{'attributes':'start'});if(_0x57d6a2){const _0x7f04a4=Number['parseInt'](_0x1f8cdb['getAttribute']('start'),0xa);Number['isNaN'](_0x7f04a4)||(_0x1c8c93=_0x7f04a4);}!_0x57d6a2&&_0x9de806['hasAttribute']('footnotesListStart')||_0x209dc6['writer']['setAttribute']('footnotesListStart',_0x1c8c93,_0x9de806);}(_0x2e75bf,_0x2847d3,_0x345e36,_0x4ede12),function(_0xeb9186,_0xe8df27,_0x3443f8,_0x4050e6){if(!_0x4050e6['checkAttribute'](_0xe8df27,'footnotesListStyle'))return;let _0x5af1d4='decimal',_0x2ac26f=!0x1;if(_0x3443f8['consumable']['consume'](_0xeb9186,{'attributes':'type'})){const _0xb6bfa5={0x1:'decimal','a':'lower-alpha','A':'upper-alpha','i':'lower-roman','I':'upper-roman'}[_0xeb9186['getAttribute']('type')];_0xb6bfa5&&(_0x5af1d4=_0xb6bfa5),_0x2ac26f=!0x0;}_0x3443f8['consumable']['consume'](_0xeb9186,{'styles':'list-style-type'})&&(_0x5af1d4=function(_0x21832a){switch(_0x21832a){case'lower-alpha':return'lower-latin';case'upper-alpha':return'upper-latin';default:return _0x21832a;}}(_0xeb9186['getStyle']('list-style-type')),_0x2ac26f=!0x0),!_0x2ac26f&&_0xe8df27['hasAttribute']('footnotesListStyle')||_0x3443f8['writer']['setAttribute']('footnotesListStyle',_0x5af1d4,_0xe8df27);}(_0x2e75bf,_0x2847d3,_0x345e36,_0x4ede12));});}),_0xd72d8a['for']('downcast')['add'](_0x28083=>{_0x28083['on']('attribute:footnotesListStart:footnotesDefinitions',(_0x1804c8,_0x2455c3,_0x4c6a54)=>{if(!_0x4c6a54['consumable']['consume'](_0x2455c3['item'],_0x1804c8['name']))return;const _0x422acf=M(_0x2455c3['item'],_0x4c6a54['mapper']),{attributeNewValue:_0x17b924}=_0x2455c3;null==_0x17b924||0x1===_0x17b924?_0x4c6a54['writer']['removeAttribute']('start',_0x422acf):_0x4c6a54['writer']['setAttribute']('start',String(_0x17b924),_0x422acf);}),_0x28083['on']('attribute:footnotesListStyle:footnotesDefinitions',(_0x195c22,_0x4ce52e,_0xc776a0)=>{if(!_0xc776a0['consumable']['consume'](_0x4ce52e['item'],_0x195c22['name']))return;const _0x2109c8=M(_0x4ce52e['item'],_0xc776a0['mapper']),{attributeNewValue:_0x4c0f79}=_0x4ce52e;_0x4c0f79&&'decimal'!==_0x4c0f79?_0xc776a0['writer']['setStyle']('list-style-type',_0x4c0f79,_0x2109c8):_0xc776a0['writer']['removeStyle']('list-style-type',_0x2109c8);});});}['_definePostfixer'](){const {editor:_0x1183c1}=this,{model:_0x3d08e3}=_0x1183c1,_0x205a80=_0x1183c1['plugins']['get'](f),_0x451102=this['_getDefaultListStyle'](),_0x47922c=this['_getDefaultStartIndex']();_0x3d08e3['document']['registerPostFixer'](_0x153cb6=>{const _0x3834d4=_0x3d08e3['document']['differ']['getChanges']();let _0x2c0c1b=!0x1;for(const _0x5cea56 of _0x3834d4){if('insert'!==_0x5cea56['type']||'$text'===_0x5cea56['name'])continue;const _0x39c6f9=_0x3d08e3['createRangeOn'](_0x5cea56['position']['nodeAfter']);for(const _0x53f7b4 of _0x39c6f9['getItems']())_0x53f7b4['is']('element','footnotesDefinitions')&&(!_0x53f7b4['hasAttribute']('footnotesListStart')&&_0x3d08e3['schema']['checkAttribute'](_0x53f7b4,'footnotesListStart')&&(_0x153cb6['setAttribute']('footnotesListStart',_0x47922c,_0x53f7b4),_0x2c0c1b=!0x0),!_0x53f7b4['hasAttribute']('footnotesListStyle')&&_0x3d08e3['schema']['checkAttribute'](_0x53f7b4,'footnotesListStyle')&&(_0x153cb6['setAttribute']('footnotesListStyle',_0x451102,_0x53f7b4),_0x2c0c1b=!0x0));}return _0x2c0c1b&&_0x205a80['_updateFootnotesCounters'](_0x153cb6),_0x2c0c1b;});}['_defineFormatter'](){const {editor:_0x597331}=this;_0x597331['plugins']['get'](f)['setFootnoteFormatter'](_0x37ec47=>this['_formatFootnoteListValue'](_0x37ec47));}['_getDefaultListStyle'](){return this['editor']['config']['get']('footnotes.footnotesProperties.defaultListStyle');}['_getDefaultStartIndex'](){return this['editor']['config']['get']('footnotes.footnotesProperties.defaultStartIndex');}['_formatFootnoteListValue']({container:_0x17641d,value:_0x455d7a,digits:_0xb6c690}){const _0x363c18=_0x17641d['getAttribute']('footnotesListStyle'),_0x495d55=_0x17641d['getAttribute']('footnotesListStart'),_0x1e7a25=Math['floor'](_0x455d7a)+(_0x495d55??0x1)-0x1;switch(_0x363c18){case'decimal-leading-zero':return function(_0x3bf516,_0xe76d10){return String(_0x3bf516)['padStart'](_0xe76d10,'0');}(_0x1e7a25,Math['max'](0x2,_0xb6c690));case'lower-alpha':case'lower-latin':return N(_0x1e7a25,!0x1);case'upper-alpha':case'upper-latin':return N(_0x1e7a25,!0x0);case'lower-roman':return X(_0x1e7a25,!0x1);case'upper-roman':return X(_0x1e7a25,!0x0);default:return String(_0x1e7a25);}}}function M(_0x37ddd9,_0x19462c){const _0x40f1b2=_0x19462c['toViewElement'](_0x37ddd9);return Array['from'](_0x40f1b2['getChildren']())['find'](_0xaaf727=>_0xaaf727['is']('element','ol')&&_0xaaf727['hasClass']('footnotes-list'));}function N(_0x3e3fa4,_0x75c949){let _0x1145d4='',_0x2e5ba4=_0x3e3fa4;for(;_0x2e5ba4>0x0;){const _0x56cd5c=(_0x2e5ba4-0x1)%0x1a;_0x1145d4=String['fromCharCode'](0x61+_0x56cd5c)+_0x1145d4,_0x2e5ba4=Math['floor']((_0x2e5ba4-0x1)/0x1a);}return _0x75c949?_0x1145d4['toUpperCase']():_0x1145d4;}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(_0x948058,_0x5b7e26){let _0xcfd9ea='',_0xeb5940=_0x948058;for(const {value:_0x509c35,numeral:_0x370097}of V)for(;_0xeb5940>=_0x509c35;)_0xcfd9ea+=_0x370097,_0xeb5940-=_0x509c35;return _0x5b7e26?_0xcfd9ea:_0xcfd9ea['toLowerCase']();}class H extends _0x550991{['children'];['stylesView']=null;['additionalProperties']=null;['startIndexFieldView']=null;['focusTracker']=new ot();['keystrokes']=new rt();['focusables']=new _0x4f5436();['focusCycler'];constructor(_0x3d17ed,{styleButtonViews:_0x1359a9,styleGridAriaLabel:_0x2e80da}){super(_0x3d17ed),(this['focusCycler']=new _0x3939ab({'focusables':this['focusables'],'focusTracker':this['focusTracker'],'keystrokeHandler':this['keystrokes'],'actions':{'focusPrevious':'shift\x20+\x20tab','focusNext':'tab'}}),this['children']=this['createCollection'](),this['stylesView']=this['_appendStylesView'](_0x1359a9,_0x2e80da),[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 _0x2ba4cf of this['stylesView']['children'])this['stylesView']['focusTracker']['add'](_0x2ba4cf['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 _0x503cc2=_0x33ba5c=>_0x33ba5c['stopPropagation']();this['keystrokes']['set']('arrowright',_0x503cc2),this['keystrokes']['set']('arrowleft',_0x503cc2),this['keystrokes']['set']('arrowup',_0x503cc2),this['keystrokes']['set']('arrowdown',_0x503cc2);}this['keystrokes']['listenTo'](this['element']);}['focus'](){this['focusCycler']['focusFirst']();}['focusLast'](){this['focusCycler']['focusLast']();}['destroy'](){super['destroy'](),this['focusTracker']['destroy'](),this['keystrokes']['destroy']();}['_appendStylesView'](_0xefb9ec,_0xc07520){const _0x573744=new _0x550991(this['locale']);return _0x573744['children']=_0x573744['createCollection'](),_0x573744['children']['addMany'](_0xefb9ec),_0x573744['setTemplate']({'tag':'div','attributes':{'aria-label':_0xc07520,'class':['ck','ck-footnotes-definitions-styles-list']},'children':_0x573744['children']}),_0x573744['children']['delegate']('execute')['to'](this),_0x573744['focus']=function(){for(const _0x1ae937 of this['children'])if(_0x1ae937 instanceof _0x21bacb&&_0x1ae937['isOn'])return void _0x1ae937['focus']();this['children']['first']['focus']();},_0x573744['focusTracker']=new ot(),_0x573744['keystrokes']=new rt(),_0x573744['render'](),_0x573744['keystrokes']['listenTo'](_0x573744['element']),this['children']['add'](_0x573744),_0x573744;}['_appendAdditionalPropertiesCollapsibleView'](){const {t:t}=this['locale'],_0x553e32=this['_createStartIndexPropertyView'](),_0x1e214b=[_0x553e32],_0x4a16af=new st(this['locale'],_0x1e214b);return _0x4a16af['set']({'label':t('Footnotes\x20properties'),'isCollapsed':!0x0}),_0x4a16af['buttonView']['bind']('isEnabled')['toMany'](_0x1e214b,'isEnabled',(..._0xd48534)=>_0xd48534['some'](_0x54c22f=>_0x54c22f)),_0x4a16af['buttonView']['on']('change:isEnabled',(_0x470921,_0x3730a8,_0x121bdc)=>{_0x121bdc||(_0x4a16af['isCollapsed']=!0x0);}),this['children']['add'](_0x4a16af),[_0x553e32,_0x4a16af];}['_createStartIndexPropertyView'](){const {t:t}=this['locale'],_0x59992f=new it(this['locale'],et);return _0x59992f['set']({'label':t('Footnotes\x20start\x20at'),'class':'ck-footnotes-definitions-properties__start-index'}),_0x59992f['fieldView']['set']({'min':0x0,'max':Math['pow'](0x2,0x1e),'step':0x1,'value':0x1,'inputMode':'numeric'}),_0x59992f['fieldView']['on']('input',()=>{const _0x47bfe3=_0x59992f['fieldView']['element'],_0xf17b8e=_0x47bfe3['valueAsNumber'];Number['isNaN'](_0xf17b8e)?_0x59992f['errorText']=t('Invalid\x20footnotes\x20start\x20index\x20value.'):_0x47bfe3['checkValidity']()?this['fire']('footnotesListStart',{'startIndex':_0xf17b8e}):_0x59992f['errorText']=t(_0xf17b8e<0x0?'Footnotes\x20start\x20index\x20must\x20be\x20greater\x20than\x200.':'Footnotes\x20start\x20index\x20is\x20too\x20large.');}),_0x59992f;}}class j extends _0x92811c{static get['pluginName'](){return'FootnotesPropertiesUI';}static get['requires'](){return[_0x1eaed9,_0x172b2b];}static get['isOfficialPlugin'](){return!0x0;}static get['isPremiumPlugin'](){return!0x0;}['init'](){const {editor:_0x3b0048}=this,{componentFactory:_0x11d667}=_0x3b0048['ui'];_0x3b0048['config']['define']('footnotes.footnotesProperties.toolbar',['footnotesStyle']),_0x11d667['add']('footnotesStyle',function(_0x28991a){return _0x295e8a=>{const {t:t}=_0x295e8a,_0xfc9189=_0x28991a['commands']['get']('footnotesStyle'),_0x2f9802=_0x1d234f(_0x295e8a),{buttonView:_0x4e2d4f}=_0x2f9802;return _0x2f9802['class']='ck-footnotes-styles-dropdown',_0x2f9802['bind']('isEnabled')['to'](_0xfc9189,'isEnabled'),_0x4e2d4f['set']({'label':t('Footnotes\x20style'),'icon':_0x5c4a41,'tooltip':!0x0}),_0x2f9802['once']('change:isOpen',()=>{const _0x1339eb=function({editor:_0x41acd8,dropdownView:_0x580a47}){const {t:t}=_0x41acd8['locale'],_0x333464=t('Footnotes\x20definitions\x20styles'),_0x206af2=function(_0x11f52e){const t=_0x11f52e['locale']['t'],_0x4592da=[{'label':t('Toggle\x20the\x20decimal\x20footnotes\x20style'),'tooltip':t('Decimal\x20footnotes'),'style':'decimal','icon':_0x474b80},{'label':t('Toggle\x20the\x20decimal\x20with\x20leading\x20zero\x20footnotes\x20style'),'tooltip':t('Decimal\x20footnotes\x20with\x20leading\x20zero'),'style':'decimal-leading-zero','icon':_0x4518e9},{'label':t('Toggle\x20the\x20lower–roman\x20footnotes\x20style'),'tooltip':t('Lower–roman\x20footnotes'),'style':'lower-roman','icon':_0x4153fd},{'label':t('Toggle\x20the\x20upper–roman\x20footnotes\x20style'),'tooltip':t('Upper-roman\x20footnotes'),'style':'upper-roman','icon':_0x219a60},{'label':t('Toggle\x20the\x20lower–latin\x20footnotes\x20style'),'tooltip':t('Lower-latin\x20footnotes'),'style':'lower-latin','icon':_0x555b26},{'label':t('Toggle\x20the\x20upper–latin\x20footnotes\x20style'),'tooltip':t('Upper-latin\x20footnotes'),'style':'upper-latin','icon':_0x378945}];return _0x4592da['map'](function(_0x1f876a){const _0x405193=_0x1f876a['locale'];return({label:_0x2bb986,icon:_0x724047,tooltip:_0xdd1f67,style:_0x43fe9c})=>{const _0x2d1cbf=_0x1f876a['commands']['get']('footnotesStyle'),_0xd7d1b7=new _0x21bacb(_0x405193);return _0xd7d1b7['set']({'label':_0x2bb986,'icon':_0x724047,'tooltip':_0xdd1f67}),_0xd7d1b7['bind']('isOn')['to'](_0x2d1cbf,'value',_0x3421ab=>_0x3421ab===_0x43fe9c),_0xd7d1b7['bind']('isEnabled')['to'](_0x2d1cbf,'isEnabled'),_0xd7d1b7['on']('execute',()=>{_0x1f876a['execute']('footnotesStyle',{'value':_0x43fe9c}),_0x1f876a['editing']['view']['focus']();}),_0xd7d1b7;};}(_0x11f52e));}(_0x41acd8),_0x490d51=new H(_0x41acd8['locale'],{'styleGridAriaLabel':_0x333464,'styleButtonViews':_0x206af2}),_0x24e317=_0x41acd8['commands']['get']('footnotesStart');return _0x490d51['startIndexFieldView']['bind']('isEnabled')['to'](_0x24e317),_0x490d51['startIndexFieldView']['fieldView']['bind']('value')['to'](_0x24e317),_0x490d51['on']('footnotesListStart',(_0x1b876c,_0x4663d4)=>{_0x41acd8['execute']('footnotesStart',{'value':_0x4663d4['startIndex']});}),_0x490d51['delegate']('execute')['to'](_0x580a47),_0x490d51;}({'editor':_0x28991a,'dropdownView':_0x2f9802});_0x2f9802['panelView']['children']['add'](_0x1339eb);}),_0x2f9802;};}(_0x3b0048));}['afterInit'](){const {editor:_0x2cc59a}=this,{t:t}=_0x2cc59a['locale'],_0x4f4e3f=_0x2cc59a['plugins']['get'](_0x172b2b),{defaultPositions:_0xe4e7a7}=_0x57bf32;_0x4f4e3f['register']('footnotesDefinitions',{'ariaLabel':t('Footnotes\x20definitions\x20toolbar'),'items':_0x2cc59a['config']['get']('footnotes.footnotesProperties.toolbar'),'balloonClassName':'ck-footnotes-style-balloon\x20ck-toolbar-container','getRelatedElement':_0xc93f10=>{let _0x238117=_0xc93f10['getFirstPosition']()?.['parent'];return _0x238117?.['is']('$text')&&(_0x238117=_0x238117['parent']),_0x238117?.['is']('element')?_0x238117['findAncestor'](J):null;},'positions':[_0xe4e7a7['southArrowNorth'],_0xe4e7a7['southArrowNorthMiddleWest'],_0xe4e7a7['southArrowNorthMiddleEast'],_0xe4e7a7['southArrowNorthWest'],_0xe4e7a7['southArrowNorthEast'],_0xe4e7a7['northArrowSouth'],_0xe4e7a7['northArrowSouthMiddleWest'],_0xe4e7a7['northArrowSouthMiddleEast'],_0xe4e7a7['northArrowSouthWest'],_0xe4e7a7['northArrowSouthEast'],_0xe4e7a7['viewportStickyNorth']]});}}class ft extends _0x92811c{static get['pluginName'](){return'FootnotesProperties';}static get['requires'](){return[P,j];}static get['isOfficialPlugin'](){return!0x0;}static get['isPremiumPlugin'](){return!0x0;}}export{lt as Footnotes,e as FootnotesClipboard,r as FootnotesEditing,ft as FootnotesProperties,P as FootnotesPropertiesEditing,j as FootnotesPropertiesUI,C as FootnotesStartCommand,S as FootnotesStyleCommand,f as FootnotesTracker,i as FootnotesUI,m as InsertFootnoteCommand};
23
+ import{Plugin as _0x4b67c2,Command as _0x2564d4}from'@ckeditor/ckeditor5-core/dist/index.js';import{toWidget as _0x3606c9,isWidget as _0x131354,toWidgetEditable as _0x1df609,WidgetToolbarRepository as _0x28cbf4}from'@ckeditor/ckeditor5-widget/dist/index.js';import{uid as _0x5137b0,logWarning as _0x16f551,FocusTracker as ot,KeystrokeHandler as rt,global as nt}from'@ckeditor/ckeditor5-utils/dist/index.js';import{PointerObserver as _0x58b2b1,ClickObserver as _0x2b2e4d}from'@ckeditor/ckeditor5-engine/dist/index.js';import{ClipboardPipeline as _0x444137}from'@ckeditor/ckeditor5-clipboard/dist/index.js';import{MenuBarMenuListItemButtonView as _0x1f520d,ButtonView as _0x4657b1,View as _0x6cf942,ViewCollection as _0x36bc0b,FocusCycler as _0x1c798d,addKeyboardHandlingForGrid as tt,CollapsibleView as st,LabeledFieldView as it,createLabeledInputNumber as et,ContextualBalloon as _0x4d078f,BalloonPanelView as _0x29eca1,createDropdown as _0x4b98e2}from'@ckeditor/ckeditor5-ui/dist/index.js';import{IconFootnote as _0x5c3133,IconListStyleDecimal as _0x2f7224,IconListStyleDecimalLeadingZero as _0x52ce3b,IconListStyleLowerRoman as _0x137a18,IconListStyleUpperRoman as _0x31ffc2,IconListStyleLowerLatin as _0x677b16,IconListStyleUpperLatin as _0x2faa94}from'@ckeditor/ckeditor5-icons/dist/index.js';class F{['_model'];['_elementName'];['_getElementKey'];['_trackedElements']=new Map();constructor(_0x102c3e,_0x17225f){this['_model']=_0x102c3e,this['_elementName']=_0x17225f['elementName'],this['_getElementKey']=_0x17225f['getElementKey'];}['reset'](){this['_trackedElements']['clear']();}['getChanges'](_0x351418){const _0x750867=new Set(),_0x553f45=new Map();for(const _0x1490b6 of _0x351418){if('insert'===_0x1490b6['type']&&'$text'!==_0x1490b6['name']&&_0x1490b6['position']['nodeAfter']){const _0x4eb9a5=this['_model']['createRangeOn'](_0x1490b6['position']['nodeAfter']);for(const _0x46d844 of _0x4eb9a5['getItems']()){if(!_0x46d844['is']('element',this['_elementName']))continue;const _0x36876b=this['_getElementKey'](_0x46d844);_0x553f45['has'](_0x36876b)||_0x553f45['set'](_0x36876b,[]),_0x553f45['get'](_0x36876b)['push'](_0x46d844);}}if('remove'===_0x1490b6['type']&&_0x1490b6['name']===this['_elementName']){const _0x1f2e5c=this['_getElementKey']({'getAttribute':_0x152f4d=>_0x1490b6['attributes']['get'](_0x152f4d)});_0x750867['add'](_0x1f2e5c);}}for(const [_0x2cc945,_0x328873]of this['_trackedElements'])'$graveyard'===_0x328873['root']['rootName']&&_0x750867['add'](_0x2cc945);for(const _0x506416 of _0x750867)this['_trackedElements']['delete'](_0x506416);for(const [_0x449125,_0x57aa3b]of _0x553f45)this['_trackedElements']['set'](_0x449125,_0x57aa3b[_0x57aa3b['length']-0x1]);const _0x1a6fd7=new Set();for(const [_0x4830a4,_0x47df93]of _0x553f45)_0x750867['has'](_0x4830a4)&&(_0x1a6fd7['add'](_0x47df93[0x0]),_0x47df93['length']>0x1?_0x553f45['set'](_0x4830a4,_0x47df93['slice'](0x1)):_0x553f45['delete'](_0x4830a4),_0x750867['delete'](_0x4830a4));return{'removed':Array['from'](_0x750867),'inserted':Array['from'](_0x553f45['values']())['flat'](),'moved':Array['from'](_0x1a6fd7)};}}class f extends _0x4b67c2{['_footnotes']=[];['_footnotesDefinitions']=null;['_footnoteFormatter']=null;['_footnoteDefsContainerTracker'];['_footnoteRefsTracker'];['_footnoteDefsTracker'];static get['pluginName'](){return'FootnotesTracker';}static get['isOfficialPlugin'](){return!0x0;}static get['isPremiumPlugin'](){return!0x0;}constructor(_0xf2a555){super(_0xf2a555),this['_footnoteDefsContainerTracker']=new F(this['editor']['model'],{'elementName':'footnotesDefinitions','getElementKey':()=>'singleton'}),this['_footnoteRefsTracker']=new F(this['editor']['model'],{'elementName':'footnoteRef','getElementKey':_0x12e959=>_0x12e959['getAttribute']('footnoteId')}),this['_footnoteDefsTracker']=new F(this['editor']['model'],{'elementName':'footnoteDefinition','getElementKey':_0x392e97=>_0x392e97['getAttribute']('footnoteId')});}['init'](){const {editor:_0x6f7fa4}=this,{model:_0x4f59cc,data:_0x1ba165}=_0x6f7fa4;_0x4f59cc['document']['registerPostFixer'](_0x479fb2=>{const _0x141d8a=_0x4f59cc['document']['differ']['getChanges']();let _0x102c30=!0x1;return this['_handleFootnotesDefinitionsObjectChanges'](_0x479fb2,_0x141d8a)&&(_0x102c30=!0x0),this['_handleFootnoteDefinitionsChanges'](_0x479fb2,_0x141d8a)&&(_0x102c30=!0x0),this['_handleFootnoteReferencesChanges'](_0x479fb2,_0x141d8a)&&(_0x102c30=!0x0),this['_ensureFootnotesReferencesHaveProperOrder'](_0x479fb2)&&(_0x102c30=!0x0),this['_handleFootnotesDefinitionsObjectSync'](_0x479fb2)&&(_0x102c30=!0x0),this['_sortFootnoteDefinitions'](_0x479fb2)&&(_0x102c30=!0x0),_0x102c30;}),this['listenTo'](_0x4f59cc['document'],'change:data',()=>{_0x4f59cc['enqueueChange']({'isUndoable':!0x1},_0x1fd221=>{this['_ensureFootnotesDefinitionsContainerExists'](_0x1fd221);});},{'priority':'low'}),this['listenTo'](_0x1ba165,'set',()=>{this['_footnotes']=[],this['_footnoteDefsContainerTracker']['reset'](),this['_footnoteRefsTracker']['reset'](),this['_footnoteDefsTracker']['reset']();},{'priority':'high'});}['getFootnotesDefinitionsObjectElement'](){return this['_footnotesDefinitions'];}['getFootnote'](_0x11e03f){return this['_footnotes']['find'](_0x314f21=>_0x314f21['id']===_0x11e03f)||null;}['getFootnotes'](){return Array['from'](this['_footnotes']);}['getFootnotesFormatter'](){return this['_footnoteFormatter'];}['setFootnoteFormatter'](_0x461855){this['_footnoteFormatter']=_0x461855;}['_updateFootnotesCounters'](_0x5c4464,_0x167327=0x0){let _0x567322=!0x1;for(let _0x45ebd2=_0x167327;_0x45ebd2<this['_footnotes']['length'];_0x45ebd2++)this['_updateFootnoteRefCounter'](_0x5c4464,_0x45ebd2)&&(_0x567322=!0x0);return _0x567322;}['_insertEmptyFootnotesDefinitionsContainer'](_0x4b2603,_0x6baf9e){const _0x299336=_0x4b2603['createElement']('footnotesDefinitions',{});return _0x4b2603['append'](_0x299336,_0x6baf9e),this['_footnotesDefinitions']=_0x299336,_0x299336;}['_ensureFootnotesDefinitionsContainerExists'](_0x3effa3){if(!this['_footnotes']['length']||this['_footnotesDefinitions'])return;const _0x65eead=this['_footnotes'][0x0]['reference']['root'],_0x1ee7be=this['_insertEmptyFootnotesDefinitionsContainer'](_0x3effa3,_0x65eead);for(const _0x243098 of this['_footnotes'])_0x243098['definition']['parent']||_0x3effa3['insert'](_0x243098['definition'],_0x1ee7be,'end');this['_updateFootnotesCounters'](_0x3effa3);}['_handleFootnotesDefinitionsObjectChanges'](_0x2496af,_0x1b2aee){let _0x533951=!0x1;const {inserted:_0x5f352d,removed:_0x5a88f0,moved:_0x539e5b}=this['_footnoteDefsContainerTracker']['getChanges'](_0x1b2aee);if(_0x539e5b['length']&&(this['_footnotesDefinitions']=_0x539e5b[0x0]),_0x5f352d['length']){if(_0x5f352d['length']>0x1||this['_footnotesDefinitions']&&_0x5f352d['some'](_0x71d8b0=>_0x71d8b0!==this['_footnotesDefinitions'])){const _0x5ebf5b=_0x2496af['createElement']('footnotesDefinitions',{}),_0x2647d2=[];this['_footnotesDefinitions']&&_0x2647d2['push'](this['_footnotesDefinitions']),_0x2647d2['push'](..._0x5f352d),_0x2496af['insert'](_0x5ebf5b,_0x2647d2[0x0],'before');for(const _0x4b7516 of _0x2647d2)_0x2496af['move'](_0x2496af['createRangeIn'](_0x4b7516),_0x2496af['createPositionAt'](_0x5ebf5b,'end')),_0x2496af['remove'](_0x4b7516);this['_footnotesDefinitions']=_0x5ebf5b,this['_updateFootnotesCounters'](_0x2496af),_0x533951=!0x0;}else this['_footnotesDefinitions']=_0x5f352d[0x0];}if(_0x5a88f0['length']&&'$graveyard'===this['_footnotesDefinitions']?.['root']['rootName']){for(const _0x5589b0 of this['_footnotes'])_0x2496af['remove'](_0x5589b0['reference']),_0x533951=!0x0;this['_footnotes']=[],this['_footnotesDefinitions']=null;}return _0x533951;}['_handleFootnoteDefinitionsChanges'](_0x1333bd,_0x26aeda){let _0x62bd4a=!0x1;const _0x2738e9=this['editor']['config']['get']('footnotes.multiBlock'),{inserted:_0x7cd1c,moved:_0xbea303}=this['_footnoteDefsTracker']['getChanges'](_0x26aeda);for(const _0x24ee0a of[..._0xbea303,..._0x7cd1c]){const _0x4d92c1=_0x24ee0a['getAttribute']('footnoteId'),_0x572409=this['getFootnote'](_0x4d92c1);_0x572409&&(_0x572409['definition']=_0x24ee0a),_(_0x1333bd,_0x2738e9,_0x24ee0a)&&(_0x62bd4a=!0x0);}return _0x62bd4a;}['_handleFootnoteReferencesChanges'](_0x439296,_0x35d766){let _0x7d7834=!0x1;const {removed:_0x7087e5,inserted:_0x2b8272,moved:_0xa36782}=this['_footnoteRefsTracker']['getChanges'](_0x35d766);for(const _0x518891 of _0x7087e5)this['_handleRemoveFootnoteReferenceById'](_0x439296,_0x518891)&&(_0x7d7834=!0x0);for(const _0x425b4a of _0x2b8272)this['_handleInsertedFootnoteReference'](_0x439296,_0x425b4a)&&(_0x7d7834=!0x0);for(const _0x3674a1 of _0xa36782)this['_handleMovedFootnoteReference'](_0x439296,_0x3674a1)&&(_0x7d7834=!0x0);return _0x7d7834;}['_handleFootnotesDefinitionsObjectSync'](_0x182a79){if(!this['_footnotesDefinitions'])return!0x1;let _0x250897=!0x1;if(this['_footnotesDefinitions']['childCount']!==this['_footnotes']['length']){const _0x6e28bb=[];for(const _0x637ab5 of this['_footnotesDefinitions']['getChildren']()){const _0x28288c=_0x637ab5['getAttribute']('footnoteId');this['getFootnote'](_0x28288c)||(_0x6e28bb['unshift'](_0x637ab5),_0x250897=!0x0);}for(const _0x461fba of _0x6e28bb)_0x182a79['remove'](_0x461fba);}const _0x52d9cd=new Set(),_0x2dcb1c=[];for(const _0x507165 of this['_footnotesDefinitions']['getChildren']()){const _0x9ef3e1=_0x507165['getAttribute']('footnoteId');_0x52d9cd['has'](_0x9ef3e1)?(_0x2dcb1c['unshift'](_0x507165),_0x250897=!0x0):_0x52d9cd['add'](_0x9ef3e1);}for(const _0x368f10 of _0x2dcb1c)_0x182a79['remove'](_0x368f10);return this['_footnotesDefinitions']['childCount']||(_0x182a79['remove'](this['_footnotesDefinitions']),this['_footnotesDefinitions']=null,_0x250897=!0x0),_0x250897;}['_handleInsertedFootnoteReference'](_0x36ff82,_0x2bd301){if(this['_footnotes']['find'](_0x47eb01=>_0x47eb01['reference']===_0x2bd301))return!0x1;let _0x55546a=!0x1;const _0x15fa6f=_0x2bd301['getAttribute']('footnoteId'),_0x102bb1=this['_footnotes']['findIndex'](_0x3ec081=>_0x3ec081['id']===_0x15fa6f);-0x1!==_0x102bb1&&(_0x36ff82['remove'](this['_footnotes'][_0x102bb1]['reference']),this['_footnotes']['splice'](_0x102bb1,0x1),_0x55546a=!0x0);let _0x12d8a2=this['_footnotesDefinitions']?function(_0x115a9d,_0x4ecc31){for(const _0x27702b of _0x115a9d['getChildren']())if(_0x27702b['getAttribute']('footnoteId')===_0x4ecc31)return _0x27702b;return null;}(this['_footnotesDefinitions'],_0x15fa6f):null;_0x12d8a2||(_0x12d8a2=_0x36ff82['createElement']('footnoteDefinition',{'footnoteId':_0x15fa6f}),this['_footnotesDefinitions']&&(_0x36ff82['insert'](_0x12d8a2,this['_footnotesDefinitions'],'end'),_0x55546a=!0x0));const _0x2b2c85={'id':_0x15fa6f,'reference':_0x2bd301,'definition':_0x12d8a2},_0x5ee535=I(this['editor']['model'],this['_footnotes'],_0x2bd301);this['_footnotes']['splice'](_0x5ee535,0x0,_0x2b2c85);let _0x151fac=_0x5ee535;return-0x1!==_0x102bb1&&(_0x151fac=Math['min'](_0x5ee535,_0x102bb1)),this['_updateFootnotesCounters'](_0x36ff82,_0x151fac)&&(_0x55546a=!0x0),_0x55546a;}['_handleRemoveFootnoteReferenceById'](_0x2fadc4,_0x131429){const _0x4d4f3d=this['_footnotes']['findIndex'](_0x1ce606=>_0x1ce606['id']===_0x131429);if(-0x1===_0x4d4f3d)return!0x1;let _0x1a00e4=!0x1;const _0x2ebb2=this['_footnotes'][_0x4d4f3d];return'$graveyard'!==_0x2ebb2['definition']['root']['rootName']&&(_0x2fadc4['remove'](_0x2ebb2['definition']),_0x1a00e4=!0x0),this['_footnotes']['splice'](_0x4d4f3d,0x1),this['_updateFootnotesCounters'](_0x2fadc4,_0x4d4f3d)&&(_0x1a00e4=!0x0),_0x1a00e4;}['_handleMovedFootnoteReference'](_0x45fa1a,_0x33a4fe){const _0x24df38=_0x33a4fe['getAttribute']('footnoteId'),_0x1b3648=this['_footnotes']['findIndex'](_0x2180ed=>_0x2180ed['id']===_0x24df38),_0x310332=this['_footnotes'][_0x1b3648];let _0x1da0be=!0x1;_0x310332['reference']=_0x33a4fe,this['_footnotes']['splice'](_0x1b3648,0x1);const _0x3ed4bd=I(this['editor']['model'],this['_footnotes'],_0x33a4fe);return this['_footnotes']['splice'](_0x3ed4bd,0x0,_0x310332),this['_updateFootnotesCounters'](_0x45fa1a,Math['min'](_0x1b3648,_0x3ed4bd))&&(_0x1da0be=!0x0),_0x1da0be;}['_updateFootnoteRefCounter'](_0x20a1ba,_0x2db59b){if(!this['_footnotesDefinitions'])return!0x1;const _0x909f98=this['_footnotes'][_0x2db59b];let _0x15e0f1;return _0x15e0f1=this['_footnoteFormatter']?this['_footnoteFormatter']({'footnote':_0x909f98,'container':this['_footnotesDefinitions'],'digits':String(this['_footnotes']['length'])['length'],'value':_0x2db59b+0x1}):String(_0x2db59b+0x1),_0x909f98['reference']['getAttribute']('footnoteCounter')!=_0x15e0f1&&(_0x20a1ba['setAttribute']('footnoteCounter',_0x15e0f1,_0x909f98['reference']),!0x0);}['_sortFootnoteDefinitions'](_0xa001cc){if(!this['_footnotesDefinitions']||this['_footnotes']['length']<0x2)return!0x1;if(function(_0x5adbae,_0x207f73){if(_0x5adbae['length']!==_0x207f73['length'])return!0x1;for(let _0x1c9381=0x0;_0x1c9381<_0x5adbae['length'];_0x1c9381++)if(_0x5adbae[_0x1c9381]!==_0x207f73[_0x1c9381])return!0x1;return!0x0;}(this['_footnotes']['map'](_0x100846=>_0x100846['id']),Array['from'](this['_footnotesDefinitions']['getChildren']())['map'](_0x4b8e92=>_0x4b8e92['getAttribute']('footnoteId'))))return!0x1;let _0x4102a4=!0x1;for(let _0x32b6dc=0x0;_0x32b6dc<this['_footnotes']['length'];_0x32b6dc++){const _0x138fa3=this['_footnotes'][_0x32b6dc],_0x234de3=_0xa001cc['createPositionBefore'](_0x138fa3['definition']),_0x148986=_0xa001cc['createPositionAt'](this['_footnotesDefinitions'],_0x32b6dc);_0x234de3['isEqual'](_0x148986)||(_0xa001cc['move'](_0xa001cc['createRangeOn'](_0x138fa3['definition']),_0x148986),_0x4102a4=!0x0);}return _0x4102a4;}['_ensureFootnotesReferencesHaveProperOrder'](_0x44e662){if(!this['_footnotes']['length'])return!0x1;const {model:_0x4802f1}=this['editor'];let _0x29613e=!0x1;for(let _0x5beced=0x0;_0x5beced<this['_footnotes']['length']-0x1;_0x5beced++){const _0x54299f=this['_footnotes'][_0x5beced],_0x410fb4=this['_footnotes'][_0x5beced+0x1],_0x2f1a45=_0x4802f1['createPositionBefore'](_0x54299f['reference']),_0x2724bb=_0x4802f1['createPositionBefore'](_0x410fb4['reference']);'after'===_0x2f1a45['compareWith'](_0x2724bb)&&(this['_handleMovedFootnoteReference'](_0x44e662,_0x54299f['reference']),_0x5beced=-0x1,_0x29613e=!0x0);}return _0x29613e;}}function _(_0x59340e,_0x40609e,_0x33a21a){if(_0x33a21a['childCount'])return!0x1;const _0x59abef=_0x40609e?'paragraph':'footnoteInlineContent';return _0x59340e['insert'](_0x59340e['createElement'](_0x59abef),_0x33a21a),!0x0;}function I(_0x50eb9a,_0x3a40bd,_0x2ab3e0){if(0x0===_0x3a40bd['length'])return 0x0;const _0x4e6e26=_0x50eb9a['createPositionBefore'](_0x2ab3e0);for(let _0x5aa20b=0x0;_0x5aa20b<_0x3a40bd['length'];_0x5aa20b++){const _0x2fd0eb=_0x3a40bd[_0x5aa20b],_0xea3e2a=_0x50eb9a['createPositionBefore'](_0x2fd0eb['reference']);if('before'===_0x4e6e26['compareWith'](_0xea3e2a))return _0x5aa20b;}const _0x29861b=_0x2ab3e0['root'];let _0x515341=-0x1;for(let _0x2da8b6=_0x3a40bd['length']-0x1;_0x2da8b6>=0x0;_0x2da8b6--)if(_0x3a40bd[_0x2da8b6]['reference']['root']===_0x29861b){_0x515341=_0x2da8b6;break;}if(-0x1!==_0x515341)return _0x515341+0x1;const _0x268bc5=_0x50eb9a['document']['getRootNames'](),_0x96f276=_0x268bc5['indexOf'](_0x29861b['rootName']),_0x238288=_0x268bc5[_0x96f276+0x1];if(_0x238288){for(let _0x23d6b2=0x0;_0x23d6b2<_0x3a40bd['length'];_0x23d6b2++)if(_0x3a40bd[_0x23d6b2]['reference']['root']['rootName']===_0x238288)return _0x23d6b2;}return _0x3a40bd['length'];}class m extends _0x2564d4{['refresh'](){const _0x35fdc1=this['editor']['model']['document']['selection'],_0x2c8f48=this['_getPositionToInsertFootnote'](_0x35fdc1);this['isEnabled']=!!_0x2c8f48;}['execute'](_0x4d4959){const {editor:_0x1be501}=this,{model:_0x57d93a}=_0x1be501,{selection:_0x508113}=_0x57d93a['document'],_0x4b3caf=this['_getPositionToInsertFootnote'](_0x508113);if(!_0x4b3caf)return;const _0x21e7f4=_0x1be501['plugins']['get']('FootnotesEditing'),_0x983f8a=_0x4d4959?.['footnoteId']??_0x5137b0();!function(_0x177474){return'string'==typeof _0x177474&&_0x177474['length']>0x0&&!/\s/['test'](_0x177474)&&!/^\d/['test'](_0x177474);}(_0x983f8a)?_0x16f551('insert-footnote-command-executed-with-invalid-id'):(_0x57d93a['change'](_0xb45d04=>{const _0x55802e=_0xb45d04['createElement']('footnoteRef',{'footnoteId':_0x983f8a});_0x57d93a['insertObject'](_0x55802e,_0x4b3caf,null);}),_0x21e7f4['_moveSelectionToFootnoteDefinition'](_0x983f8a));}['_getPositionToInsertFootnote'](_0x33401c){const {model:_0x3ba40d}=this['editor'],{schema:_0x2c6f89}=_0x3ba40d,_0x5f3f62=_0x33401c['getFirstRange']();for(const _0x2ff2b7 of _0x5f3f62['getItems']())if(_0x2c6f89['isBlock'](_0x2ff2b7)||_0x2c6f89['isObject'](_0x2ff2b7))return null;const _0x47ed85=_0x5f3f62['end'];return _0x2c6f89['checkChild'](_0x47ed85,'footnoteRef')?_0x47ed85:null;}}class r extends _0x4b67c2{static get['pluginName'](){return'FootnotesEditing';}static get['requires'](){return[f];}static get['isOfficialPlugin'](){return!0x0;}static get['isPremiumPlugin'](){return!0x0;}['init'](){const {editor:_0x41a13f}=this;_0x41a13f['config']['define']('footnotes.multiBlock',!0x0),_0x41a13f['commands']['add']('insertFootnote',new m(_0x41a13f)),this['_defineSchema'](),this['_defineRefsConverters'](),this['_defineDefinitionsConverters'](),this['_defineDefinitionConverters'](),this['_defineBogusParagraphConverters'](),this['_defineKeyboardHandlers'](),this['_defineClickHandlers']();}['afterInit'](){!async function(_0xf8e9de){const _0x1b2cc4=_0x5a4e71([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]),_0x158dc3=0x47a28506,_0x1f0876=0x47a5ffde^_0x158dc3,_0x41b3b3=window[_0x5a4e71([0x44,0x61,0x74,0x65])][_0x5a4e71([0x6e,0x6f,0x77])](),_0x3dfc3b=_0xf8e9de[_0x5a4e71([0x65,0x64,0x69,0x74,0x6f,0x72])],_0x230434=new window[(_0x5a4e71([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0x4d66b8=>{_0x3dfc3b[_0x5a4e71([0x6f,0x6e,0x63,0x65])](_0x5a4e71([0x72,0x65,0x61,0x64,0x79]),_0x4d66b8);}),_0x5d4a03={[_0x5a4e71([0x6b,0x74,0x79])]:_0x5a4e71([0x45,0x43]),[_0x5a4e71([0x75,0x73,0x65])]:_0x5a4e71([0x73,0x69,0x67]),[_0x5a4e71([0x63,0x72,0x76])]:_0x5a4e71([0x50,0x2d,0x32,0x35,0x36]),[_0x5a4e71([0x78])]:_0x5a4e71([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]),[_0x5a4e71([0x79])]:_0x5a4e71([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]),[_0x5a4e71([0x61,0x6c,0x67])]:_0x5a4e71([0x45,0x53,0x32,0x35,0x36])},_0x60d290=_0x3dfc3b[_0x5a4e71([0x63,0x6f,0x6e,0x66,0x69,0x67])][_0x5a4e71([0x67,0x65,0x74])](_0x5a4e71([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x4b,0x65,0x79]));async function _0x21eee9(){let _0x1d1cf6,_0x48502e=null,_0x362db7=null;try{if(_0x60d290==_0x5a4e71([0x47,0x50,0x4c]))return _0x5a4e71([0x4e,0x6f,0x74,0x41,0x6c,0x6c,0x6f,0x77,0x65,0x64]);if(_0x1d1cf6=_0x4edeac(),!_0x1d1cf6)return _0x5a4e71([0x49,0x6e,0x76,0x61,0x6c,0x69,0x64]);return _0x1d1cf6[_0x5a4e71([0x75,0x73,0x61,0x67,0x65,0x45,0x6e,0x64,0x70,0x6f,0x69,0x6e,0x74])]&&(_0x362db7=_0x1c2b56(_0x1d1cf6[_0x5a4e71([0x75,0x73,0x61,0x67,0x65,0x45,0x6e,0x64,0x70,0x6f,0x69,0x6e,0x74])],_0x1d1cf6[_0x5a4e71([0x6a,0x74,0x69])])),await _0x3ba754()?_0x541216()?_0x3c0cb7()?_0x5a4e71([0x45,0x78,0x70,0x69,0x72,0x65,0x64]):_0x411769()?(_0x1d1cf6[_0x5a4e71([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x54,0x79,0x70,0x65])]==_0x5a4e71([0x65,0x76,0x61,0x6c,0x75,0x61,0x74,0x69,0x6f,0x6e])&&(_0x48502e=_0x25d40c(_0x5a4e71([0x45,0x76,0x61,0x6c,0x75,0x61,0x74,0x69,0x6f,0x6e,0x4c,0x69,0x6d,0x69,0x74]))),_0x1d1cf6[_0x5a4e71([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x54,0x79,0x70,0x65])]==_0x5a4e71([0x74,0x72,0x69,0x61,0x6c])&&(_0x48502e=_0x25d40c(_0x5a4e71([0x54,0x72,0x69,0x61,0x6c,0x4c,0x69,0x6d,0x69,0x74]))),await _0x205096()):_0x5a4e71([0x44,0x6f,0x6d,0x61,0x69,0x6e,0x4c,0x69,0x6d,0x69,0x74]):_0x5a4e71([0x4e,0x6f,0x74,0x41,0x6c,0x6c,0x6f,0x77,0x65,0x64]):_0x5a4e71([0x49,0x6e,0x76,0x61,0x6c,0x69,0x64]);}catch{return _0x5a4e71([0x49,0x6e,0x76,0x61,0x6c,0x69,0x64]);}function _0x3c0cb7(){const _0x122ebf=[_0x5a4e71([0x65,0x76,0x61,0x6c,0x75,0x61,0x74,0x69,0x6f,0x6e]),_0x5a4e71([0x74,0x72,0x69,0x61,0x6c])][_0x5a4e71([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x1d1cf6[_0x5a4e71([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x54,0x79,0x70,0x65])])?_0x41b3b3/0x3e8:0xe10*_0x1f0876;return _0x1d1cf6[_0x5a4e71([0x65,0x78,0x70])]<_0x122ebf;}function _0x541216(){const _0x21b3b7=_0x1d1cf6[_0x5a4e71([0x66,0x65,0x61,0x74,0x75,0x72,0x65,0x73])];return!!_0x21b3b7&&(!!_0x21b3b7[_0x5a4e71([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x5a4e71([0x2a]))||!!_0x21b3b7[_0x5a4e71([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x5a4e71([0x46,0x4f,0x4f])));}function _0x411769(){const _0x555a96=_0x1d1cf6[_0x5a4e71([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x64,0x48,0x6f,0x73,0x74,0x73])];if(!_0x555a96||0x0==_0x555a96[_0x5a4e71([0x6c,0x65,0x6e,0x67,0x74,0x68])])return!0x0;const {hostname:_0x322452}=new URL(window[_0x5a4e71([0x6c,0x6f,0x63,0x61,0x74,0x69,0x6f,0x6e])]['href']);if(_0x555a96[_0x5a4e71([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x322452))return!0x0;const _0x3d61db=_0x322452[_0x5a4e71([0x73,0x70,0x6c,0x69,0x74])](_0x5a4e71([0x2e]));return _0x555a96[_0x5a4e71([0x66,0x69,0x6c,0x74,0x65,0x72])](_0x4e2f52=>_0x4e2f52[_0x5a4e71([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x5a4e71([0x2a])))[_0x5a4e71([0x6d,0x61,0x70])](_0x4e81ec=>_0x4e81ec[_0x5a4e71([0x73,0x70,0x6c,0x69,0x74])](_0x5a4e71([0x2e])))[_0x5a4e71([0x66,0x69,0x6c,0x74,0x65,0x72])](_0x2b2d6b=>_0x2b2d6b[_0x5a4e71([0x6c,0x65,0x6e,0x67,0x74,0x68])]<=_0x3d61db[_0x5a4e71([0x6c,0x65,0x6e,0x67,0x74,0x68])])[_0x5a4e71([0x6d,0x61,0x70])](_0x1e3a55=>Array(_0x3d61db[_0x5a4e71([0x6c,0x65,0x6e,0x67,0x74,0x68])]-_0x1e3a55[_0x5a4e71([0x6c,0x65,0x6e,0x67,0x74,0x68])])[_0x5a4e71([0x66,0x69,0x6c,0x6c])](_0x1e3a55[0x0]===_0x5a4e71([0x2a])?_0x5a4e71([0x2a]):'')[_0x5a4e71([0x63,0x6f,0x6e,0x63,0x61,0x74])](_0x1e3a55))[_0x5a4e71([0x73,0x6f,0x6d,0x65])](_0x593696=>_0x3d61db[_0x5a4e71([0x65,0x76,0x65,0x72,0x79])]((_0x390de6,_0x269e63)=>_0x593696[_0x269e63]===_0x390de6||_0x593696[_0x269e63]===_0x5a4e71([0x2a])));}function _0x205096(){return _0x48502e&&_0x362db7?new window[(_0x5a4e71([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))]((_0x19ce13,_0x37170b)=>{_0x48502e[_0x5a4e71([0x74,0x68,0x65,0x6e])](_0x19ce13,_0x37170b),_0x362db7[_0x5a4e71([0x74,0x68,0x65,0x6e])](_0x203400=>{_0x203400!=_0x5a4e71([0x56,0x61,0x6c,0x69,0x64])&&_0x19ce13(_0x203400);},_0x37170b);}):_0x48502e||_0x362db7||_0x5a4e71([0x56,0x61,0x6c,0x69,0x64]);}}function _0x1c2b56(_0x42c7fd,_0x3cbfcc){return new window[(_0x5a4e71([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0x10ab26=>{if(_0x193fb2())return _0x10ab26(_0x5a4e71([0x56,0x61,0x6c,0x69,0x64]));_0x1a782f(),_0x3dfc3b[_0x5a4e71([0x64,0x65,0x63,0x6f,0x72,0x61,0x74,0x65])](_0x5a4e71([0x5f,0x73,0x65,0x6e,0x64,0x55,0x73,0x61,0x67,0x65,0x52,0x65,0x71,0x75,0x65,0x73,0x74]));let _0x51a619=!0x1;const _0x319fb5=_0x5137b0();function _0x2c57b9(_0x2805be){return!!_0x2805be&&(typeof _0x2805be===_0x5a4e71([0x6f,0x62,0x6a,0x65,0x63,0x74])||typeof _0x2805be===_0x5a4e71([0x66,0x75,0x6e,0x63,0x74,0x69,0x6f,0x6e]))&&typeof _0x2805be[_0x5a4e71([0x74,0x68,0x65,0x6e])]===_0x5a4e71([0x66,0x75,0x6e,0x63,0x74,0x69,0x6f,0x6e])&&typeof _0x2805be[_0x5a4e71([0x63,0x61,0x74,0x63,0x68])]===_0x5a4e71([0x66,0x75,0x6e,0x63,0x74,0x69,0x6f,0x6e]);}function _0x3f5ae5(_0xfde8e4){_0x548984(_0xfde8e4)[_0x5a4e71([0x74,0x68,0x65,0x6e])](_0x2663c8=>{if(!_0x2663c8||_0x2663c8[_0x5a4e71([0x73,0x74,0x61,0x74,0x75,0x73])]!=_0x5a4e71([0x6f,0x6b]))return _0x5a4e71([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]);return _0x47ecd3(_0x246c49(_0x319fb5+_0x3cbfcc))!=_0x2663c8[_0x5a4e71([0x76,0x65,0x72,0x69,0x66,0x69,0x63,0x61,0x74,0x69,0x6f,0x6e])]?_0x5a4e71([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]):_0x5a4e71([0x56,0x61,0x6c,0x69,0x64]);})[_0x5a4e71([0x74,0x68,0x65,0x6e])](_0x3c85a2=>(_0x500667(),_0x3c85a2),()=>{const _0x5c98c3=_0x443456();return null==_0x5c98c3?(_0x500667(),_0x5a4e71([0x56,0x61,0x6c,0x69,0x64])):_0x5a4e71(_0x41b3b3-_0x5c98c3>(0x63ae0106^_0x158dc3)?[0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]:[0x56,0x61,0x6c,0x69,0x64]);})[_0x5a4e71([0x74,0x68,0x65,0x6e])](_0x10ab26)[_0x5a4e71([0x63,0x61,0x74,0x63,0x68])](()=>{_0x10ab26(_0x5a4e71([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]));});const _0x4c8e78=0x47946b86^_0x158dc3;function _0x500667(){const _0x1794ee=_0x5a4e71([0x6c,0x6c,0x63,0x74,0x2d])+_0x47ecd3(_0x246c49(_0x42c7fd)),_0x1804a4=_0x56af71(_0x47ecd3(window[_0x5a4e71([0x4d,0x61,0x74,0x68])][_0x5a4e71([0x63,0x65,0x69,0x6c])](_0x41b3b3/_0x4c8e78)));window[_0x5a4e71([0x6c,0x6f,0x63,0x61,0x6c,0x53,0x74,0x6f,0x72,0x61,0x67,0x65])][_0x5a4e71([0x73,0x65,0x74,0x49,0x74,0x65,0x6d])](_0x1794ee,_0x1804a4);}function _0x443456(){const _0x6eb805=_0x5a4e71([0x6c,0x6c,0x63,0x74,0x2d])+_0x47ecd3(_0x246c49(_0x42c7fd)),_0x2034ab=window[_0x5a4e71([0x6c,0x6f,0x63,0x61,0x6c,0x53,0x74,0x6f,0x72,0x61,0x67,0x65])][_0x5a4e71([0x67,0x65,0x74,0x49,0x74,0x65,0x6d])](_0x6eb805);return _0x2034ab?window[_0x5a4e71([0x70,0x61,0x72,0x73,0x65,0x49,0x6e,0x74])](_0x56af71(_0x2034ab),0x10)*_0x4c8e78:null;}function _0x548984(_0x3dd1a6){return new window[(_0x5a4e71([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))]((_0x3c857c,_0x5cb8b8)=>{_0x3dd1a6[_0x5a4e71([0x74,0x68,0x65,0x6e])](_0x3c857c,_0x5cb8b8),window[_0x5a4e71([0x73,0x65,0x74,0x54,0x69,0x6d,0x65,0x6f,0x75,0x74])](_0x5cb8b8,0x47a351c6^_0x158dc3);});}}_0x3dfc3b[_0x5a4e71([0x6f,0x6e])](_0x5a4e71([0x5f,0x73,0x65,0x6e,0x64,0x55,0x73,0x61,0x67,0x65,0x52,0x65,0x71,0x75,0x65,0x73,0x74]),(_0x274693,_0x318381)=>{if(_0x318381[0x0]!=_0x42c7fd)return _0x10ab26(_0x5a4e71([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]));_0x318381[0x1]={..._0x318381[0x1],[_0x5a4e71([0x72,0x65,0x71,0x75,0x65,0x73,0x74,0x49,0x64])]:_0x319fb5};},{[_0x5a4e71([0x70,0x72,0x69,0x6f,0x72,0x69,0x74,0x79])]:_0x5a4e71([0x68,0x69,0x67,0x68])}),_0x3dfc3b[_0x5a4e71([0x6f,0x6e])](_0x5a4e71([0x5f,0x73,0x65,0x6e,0x64,0x55,0x73,0x61,0x67,0x65,0x52,0x65,0x71,0x75,0x65,0x73,0x74]),_0x4c656a=>{_0x2c57b9(_0x4c656a[_0x5a4e71([0x72,0x65,0x74,0x75,0x72,0x6e])])&&(_0x51a619=!0x0,_0x3f5ae5(_0x4c656a[_0x5a4e71([0x72,0x65,0x74,0x75,0x72,0x6e])]));},{[_0x5a4e71([0x70,0x72,0x69,0x6f,0x72,0x69,0x74,0x79])]:_0x5a4e71([0x6c,0x6f,0x77])}),_0x230434[_0x5a4e71([0x74,0x68,0x65,0x6e])](()=>{_0x51a619||_0x10ab26(_0x5a4e71([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]));});});function _0x193fb2(){return _0x3dfc3b[_0x5a4e71([0x65,0x64,0x69,0x74,0x69,0x6e,0x67])][_0x5a4e71([0x76,0x69,0x65,0x77])][_0x5a4e71([0x5f,0x6f,0x76,0x65,0x72,0x6c,0x61,0x79,0x4d,0x6f,0x64,0x65,0x48,0x69,0x6e,0x74])]==_0x5a4e71([0x61,0x75,0x74,0x6f]);}function _0x1a782f(){_0x3dfc3b[_0x5a4e71([0x65,0x64,0x69,0x74,0x69,0x6e,0x67])][_0x5a4e71([0x76,0x69,0x65,0x77])][_0x5a4e71([0x5f,0x6f,0x76,0x65,0x72,0x6c,0x61,0x79,0x4d,0x6f,0x64,0x65,0x48,0x69,0x6e,0x74])]=_0x5a4e71([0x61,0x75,0x74,0x6f]);}}function _0x25d40c(_0x5bc587){const _0x45cef1=[new window[(_0x5a4e71([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0x44344e=>setTimeout(_0x44344e,0x47abbbca^_0x158dc3)),_0x230434[_0x5a4e71([0x74,0x68,0x65,0x6e])](()=>new window[(_0x5a4e71([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0x1e56d2=>{let _0x22f080=0x0;_0x3dfc3b[_0x5a4e71([0x6d,0x6f,0x64,0x65,0x6c])][_0x5a4e71([0x6f,0x6e])](_0x5a4e71([0x61,0x70,0x70,0x6c,0x79,0x4f,0x70,0x65,0x72,0x61,0x74,0x69,0x6f,0x6e]),(_0x8a9af7,_0x3b55c7)=>{_0x3b55c7[0x0][_0x5a4e71([0x69,0x73,0x44,0x6f,0x63,0x75,0x6d,0x65,0x6e,0x74,0x4f,0x70,0x65,0x72,0x61,0x74,0x69,0x6f,0x6e])]&&_0x22f080++,_0x22f080==(0x47a284fe^_0x158dc3)&&(_0x1e56d2(),_0x8a9af7[_0x5a4e71([0x6f,0x66,0x66])]());});}))];return window[_0x5a4e71([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65])][_0x5a4e71([0x72,0x61,0x63,0x65])](_0x45cef1)[_0x5a4e71([0x74,0x68,0x65,0x6e])](()=>_0x5bc587);}async function _0x287039(){await _0x230434,_0x3dfc3b[_0x5a4e71([0x6d,0x6f,0x64,0x65,0x6c])][_0x5a4e71([0x63,0x68,0x61,0x6e,0x67,0x65])]=_0x425dd2,_0x3dfc3b[_0x5a4e71([0x6d,0x6f,0x64,0x65,0x6c])][_0x5a4e71([0x65,0x6e,0x71,0x75,0x65,0x75,0x65,0x43,0x68,0x61,0x6e,0x67,0x65])]=_0x425dd2,_0x3dfc3b[_0x5a4e71([0x65,0x6e,0x61,0x62,0x6c,0x65,0x52,0x65,0x61,0x64,0x4f,0x6e,0x6c,0x79,0x4d,0x6f,0x64,0x65])](_0x5a4e71([0x6d,0x6f,0x64,0x65,0x6c]));}function _0x54be2e(_0x1387de){const _0x53539d=_0x35113c();_0x3dfc3b[_0x53539d]=_0x5a4e71([0x66,0x6f,0x6f,0x74,0x6e,0x6f,0x74,0x65,0x73,0x4c,0x69,0x63,0x65,0x6e,0x73,0x65,0x4b,0x65,0x79])+_0x1387de,_0x1387de!=_0x5a4e71([0x56,0x61,0x6c,0x69,0x64])&&_0x287039();}function _0x35113c(){const _0x1e7e54=window[_0x5a4e71([0x53,0x74,0x72,0x69,0x6e,0x67])](window[_0x5a4e71([0x70,0x65,0x72,0x66,0x6f,0x72,0x6d,0x61,0x6e,0x63,0x65])][_0x5a4e71([0x6e,0x6f,0x77])]())[_0x5a4e71([0x72,0x65,0x70,0x6c,0x61,0x63,0x65])](_0x5a4e71([0x2e]),'');let _0x3893d5=_0x5a4e71([0x75]);for(let _0x3904eb=0x0;_0x3904eb<_0x1e7e54[_0x5a4e71([0x6c,0x65,0x6e,0x67,0x74,0x68])];_0x3904eb+=0x2){let _0x16a9bc=window[_0x5a4e71([0x70,0x61,0x72,0x73,0x65,0x49,0x6e,0x74])](_0x1e7e54[_0x5a4e71([0x73,0x75,0x62,0x73,0x74,0x72,0x69,0x6e,0x67])](_0x3904eb,_0x3904eb+0x2));_0x16a9bc>=_0x1b2cc4[_0x5a4e71([0x6c,0x65,0x6e,0x67,0x74,0x68])]&&(_0x16a9bc-=_0x1b2cc4[_0x5a4e71([0x6c,0x65,0x6e,0x67,0x74,0x68])]),_0x3893d5+=_0x1b2cc4[_0x16a9bc];}return _0x3893d5;}function _0x4edeac(){const _0x597fc6=_0x60d290[_0x5a4e71([0x73,0x70,0x6c,0x69,0x74])](_0x5a4e71([0x2e]));if(0x3!=_0x597fc6[_0x5a4e71([0x6c,0x65,0x6e,0x67,0x74,0x68])])return null;return _0x58cc28(_0x597fc6[0x1]);function _0x58cc28(_0x3b6661){const _0x5403fd=_0x2e0c0d(_0x3b6661);return _0x5403fd&&_0x1c6ba7()?_0x5403fd:null;function _0x1c6ba7(){const _0x556126=_0x5403fd[_0x5a4e71([0x6a,0x74,0x69])],_0x4639f6=window[_0x5a4e71([0x70,0x61,0x72,0x73,0x65,0x49,0x6e,0x74])](_0x556126[_0x5a4e71([0x73,0x75,0x62,0x73,0x74,0x72,0x69,0x6e,0x67])](_0x556126[_0x5a4e71([0x6c,0x65,0x6e,0x67,0x74,0x68])]-0x8),0x10),_0x53be56={..._0x5403fd,[_0x5a4e71([0x6a,0x74,0x69])]:_0x556126[_0x5a4e71([0x73,0x75,0x62,0x73,0x74,0x72,0x69,0x6e,0x67])](0x0,_0x556126[_0x5a4e71([0x6c,0x65,0x6e,0x67,0x74,0x68])]-0x8)};return delete _0x53be56[_0x5a4e71([0x76,0x63])],_0x246c49(_0x53be56)==_0x4639f6;}}}async function _0x3ba754(){let _0x333803=!0x0;try{const _0x30f1a2=_0x60d290[_0x5a4e71([0x73,0x70,0x6c,0x69,0x74])](_0x5a4e71([0x2e])),[_0x54669c,_0x53f68e,_0x2cee7a]=_0x30f1a2;return _0x1a1383(_0x54669c),await _0x2a9d6b(_0x54669c,_0x53f68e,_0x2cee7a),_0x333803;}catch{return!0x1;}function _0x1a1383(_0x5bbb34){const _0x3b1334=_0x2e0c0d(_0x5bbb34);_0x3b1334&&_0x3b1334[_0x5a4e71([0x61,0x6c,0x67])]==_0x5a4e71([0x45,0x53,0x32,0x35,0x36])||(_0x333803=!0x1);}async function _0x2a9d6b(_0x4cb1b5,_0x5db9bd,_0x3a32f8){const _0x37d3eb=window[_0x5a4e71([0x55,0x69,0x6e,0x74,0x38,0x41,0x72,0x72,0x61,0x79])][_0x5a4e71([0x66,0x72,0x6f,0x6d])](_0x201303(_0x3a32f8),_0x44a95d=>_0x44a95d[_0x5a4e71([0x63,0x68,0x61,0x72,0x43,0x6f,0x64,0x65,0x41,0x74])](0x0)),_0x174b64=new window[(_0x5a4e71([0x54,0x65,0x78,0x74,0x45,0x6e,0x63,0x6f,0x64,0x65,0x72]))]()[_0x5a4e71([0x65,0x6e,0x63,0x6f,0x64,0x65])](_0x4cb1b5+_0x5a4e71([0x2e])+_0x5db9bd),_0x2a4d44=window[_0x5a4e71([0x63,0x72,0x79,0x70,0x74,0x6f])][_0x5a4e71([0x73,0x75,0x62,0x74,0x6c,0x65])];if(!_0x2a4d44)return;const _0x51c983=await _0x2a4d44[_0x5a4e71([0x69,0x6d,0x70,0x6f,0x72,0x74,0x4b,0x65,0x79])](_0x5a4e71([0x6a,0x77,0x6b]),_0x5d4a03,{[_0x5a4e71([0x6e,0x61,0x6d,0x65])]:_0x5a4e71([0x45,0x43,0x44,0x53,0x41]),[_0x5a4e71([0x6e,0x61,0x6d,0x65,0x64,0x43,0x75,0x72,0x76,0x65])]:_0x5a4e71([0x50,0x2d,0x32,0x35,0x36])},!0x1,[_0x5a4e71([0x76,0x65,0x72,0x69,0x66,0x79])]);await _0x2a4d44[_0x5a4e71([0x76,0x65,0x72,0x69,0x66,0x79])]({[_0x5a4e71([0x6e,0x61,0x6d,0x65])]:_0x5a4e71([0x45,0x43,0x44,0x53,0x41]),[_0x5a4e71([0x68,0x61,0x73,0x68])]:{[_0x5a4e71([0x6e,0x61,0x6d,0x65])]:_0x5a4e71([0x53,0x48,0x41,0x2d,0x32,0x35,0x36])}},_0x51c983,_0x37d3eb,_0x174b64)||(_0x333803=!0x1);}}function _0x2e0c0d(_0x384dce){return _0x384dce[_0x5a4e71([0x73,0x74,0x61,0x72,0x74,0x73,0x57,0x69,0x74,0x68])](_0x5a4e71([0x65,0x79]))?JSON[_0x5a4e71([0x70,0x61,0x72,0x73,0x65])](_0x201303(_0x384dce)):null;}function _0x201303(_0x735562){return window[_0x5a4e71([0x61,0x74,0x6f,0x62])](_0x735562[_0x5a4e71([0x72,0x65,0x70,0x6c,0x61,0x63,0x65])](/-/g,_0x5a4e71([0x2b]))[_0x5a4e71([0x72,0x65,0x70,0x6c,0x61,0x63,0x65])](/_/g,_0x5a4e71([0x2f])));}function _0x246c49(_0x1b9136){let _0x2b03c9=0x1505;function _0x3a5d7f(_0x41beec){for(let _0x67baa7=0x0;_0x67baa7<_0x41beec[_0x5a4e71([0x6c,0x65,0x6e,0x67,0x74,0x68])];_0x67baa7++){const _0x14b5a9=_0x41beec[_0x5a4e71([0x63,0x68,0x61,0x72,0x43,0x6f,0x64,0x65,0x41,0x74])](_0x67baa7);_0x2b03c9=(_0x2b03c9<<0x5)+_0x2b03c9+_0x14b5a9,_0x2b03c9&=_0x2b03c9;}}function _0x1486d6(_0xe049ab){Array[_0x5a4e71([0x69,0x73,0x41,0x72,0x72,0x61,0x79])](_0xe049ab)?_0xe049ab[_0x5a4e71([0x66,0x6f,0x72,0x45,0x61,0x63,0x68])](_0x1486d6):_0xe049ab&&typeof _0xe049ab==_0x5a4e71([0x6f,0x62,0x6a,0x65,0x63,0x74])?Object[_0x5a4e71([0x65,0x6e,0x74,0x72,0x69,0x65,0x73])](_0xe049ab)[_0x5a4e71([0x73,0x6f,0x72,0x74])]()[_0x5a4e71([0x66,0x6f,0x72,0x45,0x61,0x63,0x68])](([_0x111a93,_0x5c03c5])=>{_0x3a5d7f(_0x111a93),_0x1486d6(_0x5c03c5);}):_0x3a5d7f(window[_0x5a4e71([0x53,0x74,0x72,0x69,0x6e,0x67])](_0xe049ab));}return _0x1486d6(_0x1b9136),_0x2b03c9>>>0x0;}function _0x47ecd3(_0x3de392){return _0x3de392[_0x5a4e71([0x74,0x6f,0x53,0x74,0x72,0x69,0x6e,0x67])](0x10)[_0x5a4e71([0x70,0x61,0x64,0x53,0x74,0x61,0x72,0x74])](0x8,_0x5a4e71([0x30]));}function _0x56af71(_0x233ef3){return _0x233ef3[_0x5a4e71([0x73,0x70,0x6c,0x69,0x74])]('')[_0x5a4e71([0x72,0x65,0x76,0x65,0x72,0x73,0x65])]()[_0x5a4e71([0x6a,0x6f,0x69,0x6e])]('');}function _0x425dd2(){}function _0x5a4e71(_0x3b98c8){return _0x3b98c8['map'](_0x471978=>String['fromCharCode'](_0x471978))['join']('');}_0x54be2e(await _0x21eee9());}(this);}['_moveSelectionToFootnoteDefinition'](_0x12c3cc){const {plugins:_0x2d5a95,editing:_0x3c5914,model:_0x203467}=this['editor'],_0x5d40f1=_0x2d5a95['get'](f)['getFootnote'](_0x12c3cc);return!!_0x5d40f1&&(_0x203467['change'](_0x620e3=>{_0x620e3['setSelection'](_0x620e3['createPositionAt'](_0x5d40f1['definition'],'end'));}),_0x3c5914['view']['scrollToTheSelection'](),!0x0);}['_moveSelectionToFootnoteReference'](_0x574d05){const {plugins:_0x154f84,editing:_0x47961c,model:_0x3a047a}=this['editor'],_0x4ab184=_0x154f84['get'](f)['getFootnote'](_0x574d05);return!!_0x4ab184&&(_0x3a047a['change'](_0x185a78=>{_0x185a78['setSelection'](_0x4ab184['reference'],'on');}),_0x47961c['view']['scrollToTheSelection'](),!0x0);}['_defineSchema'](){const {schema:_0x2bb4e6}=this['editor']['model'],_0x3ebde=this['editor']['config']['get']('footnotes.multiBlock');_0x2bb4e6['register']('footnoteRef',{'inheritAllFrom':'$inlineObject','allowAttributes':['footnoteId','footnoteCounter']}),_0x2bb4e6['register']('footnotesDefinitions',{'inheritAllFrom':'$blockObject','allowChildren':['footnoteDefinition']}),_0x2bb4e6['register']('footnoteDefinition',{'allowAttributes':['footnoteId'],'disallowAttributes':['listItemId'],'isLimit':!0x0}),_0x3ebde?_0x2bb4e6['extend']('footnoteDefinition',{'allowContentOf':'$container'}):_0x2bb4e6['register']('footnoteInlineContent',{'allowIn':'footnoteDefinition','allowContentOf':'$block','isLimit':!0x0}),_0x2bb4e6['addChildCheck'](_0x3621df=>{for(const _0x587986 of _0x3621df)if('footnoteDefinition'===_0x587986['name'])return!0x1;},'footnoteRef');}['_defineRefsConverters'](){const {editor:_0x125869}=this,{conversion:_0x5c4b41,editing:_0x30e910}=_0x125869,{t:t}=_0x125869['locale'];_0x5c4b41['for']('upcast')['elementToElement']({'view':{'name':'sup','classes':'footnote'},'model':(_0x2d676d,{writer:_0x520247,consumable:_0x192445})=>{const _0x13c678=_0x2d676d['getChild'](0x0);if(!_0x13c678||!_0x13c678['is']('element','a'))return null;const _0x1945be=_0x13c678['getAttribute']('href')||'';if(!_0x1945be['startsWith']('#'))return null;const _0x440c3e=_0x1945be['replace'](/^#/,'');if(!_0x440c3e)return null;_0x192445['consume'](_0x13c678,{'name':!0x0,'attributes':['href']});for(const {item:_0x48c6ad}of _0x30e910['view']['createRangeIn'](_0x13c678))_0x48c6ad['is']('$textProxy')?_0x192445['consume'](_0x48c6ad['textNode'],{'name':!0x0}):_0x48c6ad['is']('element')&&_0x192445['consume'](_0x48c6ad,{'name':!0x0});return _0x520247['createElement']('footnoteRef',{'footnoteId':_0x440c3e});}}),_0x5c4b41['for']('dataDowncast')['elementToElement']({'model':{'name':'footnoteRef','attributes':['footnoteId','footnoteCounter']},'view':(_0x4b4691,{writer:_0x173b71})=>D(_0x4b4691,_0x173b71)}),_0x5c4b41['for']('editingDowncast')['elementToElement']({'model':{'name':'footnoteRef','attributes':['footnoteId','footnoteCounter']},'view':(_0x3e1d76,{writer:_0x279bb4})=>{const _0x4b5aa8=_0x3e1d76['getAttribute']('footnoteCounter');return _0x3606c9(D(_0x3e1d76,_0x279bb4),_0x279bb4,{'label':t('Footnote\x20%0.\x20Press\x20ENTER\x20to\x20jump\x20to\x20footnote\x20definition.',_0x4b5aa8)});}});}['_defineDefinitionsConverters'](){const {editor:_0x420f9f}=this,{t:t}=_0x420f9f['locale'],{conversion:_0x51f001}=_0x420f9f;_0x51f001['for']('upcast')['elementToElement']({'view':{'name':'div','classes':'footnotes'},'model':'footnotesDefinitions'}),_0x51f001['for']('upcast')['add'](_0x477a9c=>{_0x477a9c['on']('element:ol',(_0x5db8f1,_0x19a183,_0x23d3a1)=>{const _0x50fd04=_0x19a183['viewItem'];if(!_0x50fd04['hasClass']('footnotes-list')||!_0x19a183['modelCursor']['parent']?.['is']('element','footnotesDefinitions'))return;if(!_0x23d3a1['consumable']['consume'](_0x50fd04,{'name':!0x0,'classes':'footnotes-list'}))return;const {modelRange:_0x3f8772,modelCursor:_0x203d6e}=_0x23d3a1['convertChildren'](_0x19a183['viewItem'],_0x19a183['modelCursor']);_0x19a183['modelRange']=_0x3f8772,_0x19a183['modelCursor']=_0x203d6e;}),_0x477a9c['on']('element:hr',(_0x2e8b73,_0x42ba82,_0x4ce954)=>{const _0x45ba21=_0x42ba82['viewItem'];_0x45ba21['hasClass']('footnotes-divider')&&_0x42ba82['modelCursor']['parent']?.['is']('element','footnotesDefinitions')&&_0x4ce954['consumable']['consume'](_0x45ba21,{'name':!0x0,'classes':'footnotes-divider'});});}),_0x51f001['for']('dataDowncast')['elementToStructure']({'model':'footnotesDefinitions','view':(_0x2fef47,{writer:_0x40e0ca})=>v(_0x40e0ca)}),_0x51f001['for']('editingDowncast')['elementToStructure']({'model':'footnotesDefinitions','view':(_0x4c3fb1,{writer:_0x16abfc})=>{const _0x3cd911=v(_0x16abfc,{'data-footnotes-list-label':t('Footnotes')}),_0xfc9641=_0x3606c9(_0x3cd911,_0x16abfc,{'hasSelectionHandle':!0x0,'label':t('Footnotes')});return _0x16abfc['setCustomProperty']('footnotesDefinitions',!0x0,_0xfc9641),_0xfc9641;}});}['_defineDefinitionConverters'](){const {editor:_0x54b9ba}=this,{conversion:_0x137b8e,locale:_0x2db8c1}=_0x54b9ba,_0x3c1124=_0x54b9ba['config']['get']('footnotes.multiBlock');_0x137b8e['for']('upcast')['add'](_0x1b364c=>{_0x1b364c['on']('element:li',(_0x203bc4,_0x2ffef6,_0x115a05)=>{const _0xc91b4d=_0x2ffef6['viewItem'];if(!_0xc91b4d['hasClass']('footnote-definition')||!_0xc91b4d['getAttribute']('id'))return;const _0x188294=_0xc91b4d['parent'];if(!_0x188294['is']('element','ol')||!_0x188294['hasClass']('footnotes-list'))return;if(!_0x115a05['consumable']['test'](_0xc91b4d,{'name':!0x0,'attributes':'id','classes':'footnote-definition'}))return;const _0x56f57c=_0x115a05['writer']['createElement']('footnoteDefinition',{'footnoteId':_0xc91b4d['getAttribute']('id')});if(!_0x115a05['safeInsert'](_0x56f57c,_0x2ffef6['modelCursor']))return;_0x115a05['consumable']['consume'](_0xc91b4d,{'name':!0x0,'attributes':'id','classes':'footnote-definition'});const _0xcfaab9=Array['from'](_0xc91b4d['getChildren']())['find'](_0x22c621=>_0x22c621['is']('element')&&_0x22c621['hasClass']('footnote-content'));for(const _0x5b7631 of _0xc91b4d['getChildren']())_0x5b7631['is']('element')&&(_0x115a05['consumable']['consume'](_0x5b7631,{'name':!0x0,'classes':'footnote-backlink','attributes':'href'}),_0x115a05['consumable']['consume'](_0x5b7631,{'name':!0x0,'classes':'footnote-content'}));if(_0xcfaab9){if(_0x3c1124)_0x115a05['convertChildren'](_0xcfaab9,_0x56f57c);else{const _0x39a3cc=_0x115a05['writer']['createElement']('footnoteInlineContent');_0x115a05['writer']['insert'](_0x39a3cc,_0x56f57c),_0x115a05['convertChildren'](_0xcfaab9,_0x39a3cc);}}_0x115a05['updateConversionResult'](_0x56f57c,_0x2ffef6);});}),_0x137b8e['for']('dataDowncast')['elementToStructure']({'model':{'name':'footnoteDefinition','attributes':['footnoteId']},'view':(_0x2a196a,{writer:_0x298325})=>b(_0x2a196a,_0x298325,_0x2db8c1,{'dataPipeline':!0x0})}),_0x137b8e['for']('editingDowncast')['elementToStructure']({'model':{'name':'footnoteDefinition','attributes':['footnoteId']},'view':(_0x70b7b6,{writer:_0x4b4fd1})=>b(_0x70b7b6,_0x4b4fd1,_0x2db8c1)});}['_defineBogusParagraphConverters'](){const {editor:_0x4c79ca}=this,{conversion:_0x22000d}=_0x4c79ca;_0x4c79ca['config']['get']('footnotes.multiBlock')?(_0x22000d['for']('editingDowncast')['elementToElement']({'model':'paragraph','view':h(),'converterPriority':'high'}),_0x22000d['for']('dataDowncast')['elementToElement']({'model':'paragraph','view':h({'dataPipeline':!0x0}),'converterPriority':'high'}),this['listenTo'](_0x4c79ca['model']['document'],'change:data',()=>{!function(_0x85751d,_0x3840b9){const _0xd55c1a=_0x85751d['document']['differ'],_0x3474fa=new Set();for(const _0x4a2706 of _0xd55c1a['getChanges']()){const _0x516012='attribute'==_0x4a2706['type']?_0x4a2706['range']['start']['parent']:_0x4a2706['position']['parent'];_0x516012['is']('element','footnoteDefinition')&&_0x3474fa['add'](_0x516012);}for(const _0x51874b of _0x3474fa['values']()){const _0x17d8a1=Array['from'](_0x51874b['getChildren']())['filter'](_0x3ee332=>g(_0x3ee332,_0x3840b9['mapper']));for(const _0x3175a9 of _0x17d8a1)_0x3840b9['reconvertItem'](_0x3175a9);}}(_0x4c79ca['model'],_0x4c79ca['editing']);})):(_0x22000d['for']('editingDowncast')['elementToElement']({'model':'footnoteInlineContent','view':h()}),_0x22000d['for']('dataDowncast')['elementToElement']({'model':'footnoteInlineContent','view':(_0xd26074,{writer:_0x577162})=>{const _0x507706=_0x577162['createContainerElement']('span');return _0x577162['setCustomProperty']('dataPipeline:transparentRendering',!0x0,_0x507706),_0x507706;}}));}['_defineKeyboardHandlers'](){const {editor:_0x494c2a}=this,{editing:_0x2ba272,t:t}=_0x494c2a,_0x4a4b91=_0x494c2a['model']['document']['selection'];_0x494c2a['keystrokes']['set']('Ctrl+Alt+F','insertFootnote'),_0x494c2a['accessibility']['addKeystrokeInfos']({'keystrokes':[{'label':t('Insert\x20footnote'),'keystroke':'Ctrl+Alt+F'}]}),this['listenTo'](_0x2ba272['view']['document'],'enter',(_0x29f332,_0x1348d5)=>{const _0x420031=function(_0x251530){const _0xcf3f16=_0x251530['getSelectedElement']();if(_0xcf3f16?.['is']('element','footnoteRef'))return _0xcf3f16;return null;}(_0x4a4b91);if(_0x420031){const _0x2768a9=_0x420031['getAttribute']('footnoteId');this['_moveSelectionToFootnoteDefinition'](_0x2768a9),_0x1348d5['preventDefault'](),_0x29f332['stop']();}},{'context':_0x131354});}['_defineClickHandlers'](){const {editor:_0x948024}=this,{editing:_0x21ed4a}=_0x948024;_0x948024['editing']['view']['addObserver'](_0x58b2b1),_0x948024['editing']['view']['addObserver'](_0x2b2e4d);let _0x90f780=!0x1;this['listenTo'](_0x21ed4a['view']['document'],'pointerdown',(_0x4b64ef,_0x215472)=>{const {target:_0xdb0bcc}=_0x215472,_0x2f9247=_0x21ed4a['view']['document']['selection'];_0x90f780=!!(_0xdb0bcc?.['is']('element','a')&&_0xdb0bcc['parent']?.['is']('element','sup')&&_0xdb0bcc['parent']['hasClass']('footnote'))&&_0x2f9247['getSelectedElement']()===_0xdb0bcc['parent'];},{'priority':'high'}),this['listenTo'](_0x21ed4a['view']['document'],'click',(_0x35058f,_0x2f39cb)=>{const {target:_0x53bc92}=_0x2f39cb;if(!_0x53bc92?.['is']('element','a'))return;if(_0x53bc92['parent']?.['is']('element','sup')&&_0x53bc92['parent']['hasClass']('footnote')&&!_0x90f780)return void _0x2f39cb['preventDefault']();let _0x41dac0=_0x53bc92['getAttribute']('href');if(!_0x41dac0?.['startsWith']('#'))return;_0x41dac0=_0x41dac0['slice'](0x1);let _0x4225f1=!0x1;(_0x41dac0['startsWith']('ref-')&&this['_moveSelectionToFootnoteReference'](_0x41dac0['slice'](0x4))||this['_moveSelectionToFootnoteDefinition'](_0x41dac0))&&(_0x4225f1=!0x0),_0x4225f1&&(_0x2f39cb['preventDefault'](),_0x35058f['stop']());},{'priority':'high','context':'$capture'});}}function h({dataPipeline:_0x378a45}={}){return(_0x5191e3,{writer:_0x15299f})=>{if(!p(_0x5191e3))return null;if(!_0x378a45)return _0x15299f['createContainerElement']('span',{'class':'ck-footnote-bogus-paragraph'});const _0x4c0acf=_0x15299f['createContainerElement']('p');return _0x15299f['setCustomProperty']('dataPipeline:transparentRendering',!0x0,_0x4c0acf),_0x4c0acf;};}function p(_0x4e12f7){const {parent:_0xae0820}=_0x4e12f7;if(!_0xae0820?.['is']('element','footnoteDefinition'))return!0x1;if(0x1!=_0xae0820['childCount'])return!0x1;for(const _0x5c2b44 of _0x4e12f7['getAttributeKeys']())if(!_0x5c2b44['startsWith']('selection:')&&'htmlEmptyBlock'!=_0x5c2b44)return!0x1;return!0x0;}function g(_0xacde9d,_0x5475d7){if(!_0xacde9d['is']('element','paragraph'))return!0x1;const _0x444a3d=_0x5475d7['toViewElement'](_0xacde9d);return!!_0x444a3d&&p(_0xacde9d)!==_0x444a3d['is']('element','span');}function J(_0x9dcf57){return _0x131354(_0x9dcf57)&&_0x9dcf57['is']('containerElement')&&!!_0x9dcf57['getCustomProperty']('footnotesDefinitions');}function v(_0x4bd714,_0x2f88c2={}){const _0x14b000=_0x4bd714['createEmptyElement']('hr',{'class':'footnotes-divider'}),_0x1d5880=_0x4bd714['createContainerElement']('ol',{'class':'footnotes-list'},_0x4bd714['createSlot']());return _0x4bd714['createContainerElement']('div',{'class':'footnotes',..._0x2f88c2},[_0x14b000,_0x1d5880]);}function D(_0x59a49f,_0x598dc7){const _0x19e7ce=_0x59a49f['getAttribute']('footnoteId'),_0x1fd4c6=_0x59a49f['getAttribute']('footnoteCounter'),_0x2a896c=_0x598dc7['createUIElement']('a',{'href':'#'+_0x19e7ce},function(_0x429997){const _0x17ee5c=this['toDomElement'](_0x429997);return _0x17ee5c['textContent']=_0x1fd4c6,_0x17ee5c;}),_0x9df478=_0x598dc7['createContainerElement']('sup',{'id':'ref-'+_0x19e7ce,'class':'footnote'},[_0x2a896c]);return _0x9df478['getFillerOffset']=()=>null,_0x9df478;}function b(_0x551f7e,_0x2026c8,_0xf60f5b,{dataPipeline:_0x4ab9ae}={}){const {t:t}=_0xf60f5b,_0x4e4d51=_0x551f7e['getAttribute']('footnoteId'),_0x1afbe7=_0x2026c8['createUIElement']('a',{'class':'footnote-backlink','href':'#ref-'+_0x4e4d51},function(_0xe7cd55){const _0xbbb851=this['toDomElement'](_0xe7cd55);return _0xbbb851['innerText']='^',_0xbbb851;}),_0xb71959=_0x4ab9ae?_0x2026c8['createContainerElement']('div',{'class':'footnote-content'}):_0x1df609(_0x2026c8['createEditableElement']('div',{'class':'footnote-content'}),_0x2026c8,{'label':t('Footnote\x20content.')});return _0x2026c8['insert'](_0x2026c8['createPositionAt'](_0xb71959,0x0),_0x2026c8['createSlot']()),_0x2026c8['createContainerElement']('li',{'class':'footnote-definition','id':_0x4e4d51},[_0x1afbe7,_0xb71959]);}class e extends _0x4b67c2{static get['pluginName'](){return'FootnotesClipboard';}static get['requires'](){return[r,_0x444137];}static get['isOfficialPlugin'](){return!0x0;}static get['isPremiumPlugin'](){return!0x0;}['init'](){this['_defineClipboardIntegration']();}['_defineClipboardIntegration'](){this['_handleCopyFootnotesDefinitions'](),this['_handlePasteFootnotesDefinitions']();}['_handleCopyFootnotesDefinitions'](){const {editor:_0x502070}=this,{plugins:_0x5ccd38,model:_0xabe5df}=_0x502070,_0x1c91cc=_0x5ccd38['get'](_0x444137),_0x677373=_0x5ccd38['get'](f);this['listenTo'](_0x1c91cc,'outputTransformation',(_0x54454e,_0x693774)=>{const _0x5df3b5=c(_0xabe5df['createRangeIn'](_0x693774['content']));if(!_0x5df3b5['length'])return;const _0x4b4f55=_0x677373['getFootnotes'](),_0x5b1041=_0x5df3b5['reduce']((_0x21d100,_0x1d06db)=>{const _0x5db1e8=_0x4b4f55['find'](_0x3b224c=>_0x3b224c['id']===_0x1d06db);if(_0x5db1e8){const _0x5a3780=_0x502070['data']['toView'](_0x5db1e8['definition'],{'isClipboardPipeline':!0x0}),_0x21a81a=_0x502070['data']['htmlProcessor']['toData'](_0x5a3780);_0x21d100[_0x5db1e8['id']]=_0x21a81a;}return _0x21d100;},Object['create'](null));_0x693774['dataTransfer']['setData']('application/ckeditor5-footnotes',JSON['stringify'](_0x5b1041));});}['_handlePasteFootnotesDefinitions'](){const {editor:_0x174ce7}=this,{model:_0x3472e9,plugins:_0x14014a}=_0x174ce7,{view:_0x10efd8}=_0x174ce7['editing'],_0x2ba664=_0x14014a['get'](_0x444137),_0x5c7b27=_0x14014a['get'](f),_0x5de886=_0x174ce7['config']['get']('footnotes.multiBlock');let _0x48339b=null;this['listenTo'](_0x10efd8['document'],'clipboardInput',(_0x62c154,_0x38d1cd)=>{const _0x5af55b=_0x38d1cd['dataTransfer']['getData']('application/ckeditor5-footnotes');_0x48339b=_0x5af55b?JSON['parse'](_0x5af55b):null;}),this['listenTo'](_0x2ba664,'contentInsertion',(_0x2bf743,_0x4639c2)=>{const _0x54b89e=_0x4639c2['sourceEditorId']===this['editor']['id'];_0x54b89e&&'drop'===_0x4639c2['method']||_0x3472e9['change'](_0x120390=>{let _0x2c8a97=_0x5c7b27['getFootnotesDefinitionsObjectElement']();const _0x1d7449=!!_0x2c8a97&&Array['from'](_0x3472e9['document']['selection']['getSelectedBlocks']())['includes'](_0x2c8a97);if((_0x2c8a97&&!_0x1d7449||!_0x2c8a97&&!_0x48339b)&&function(_0x44588f,_0x3fd063){const _0x1a687e=[];for(const {item:_0x33cdf0}of _0x44588f['createRangeIn'](_0x3fd063))_0x33cdf0['is']('element','footnotesDefinitions')&&_0x1a687e['push'](_0x33cdf0);for(const _0x1e0ea9 of _0x1a687e)_0x44588f['remove'](_0x1e0ea9);}(_0x120390,_0x4639c2['content']),!_0x48339b)return;const {selection:_0xf1b6c8}=_0x3472e9['document'],_0x302fd7=_0xf1b6c8['getFirstRange']()['root'];_0x2c8a97&&!_0x1d7449||(_0x2c8a97=function(_0x1f3e09,_0x2cb6ce){for(const {item:_0x1f2b6b}of _0x1f3e09['createRangeIn'](_0x2cb6ce))if(_0x1f2b6b['is']('element','footnotesDefinitions'))return _0x1f2b6b;return null;}(_0x120390,_0x4639c2['content']),_0x2c8a97||=_0x5c7b27['_insertEmptyFootnotesDefinitionsContainer'](_0x120390,_0x302fd7));const _0x415d03=Array['from'](_0xf1b6c8['getRanges']())['flatMap'](c),_0xb4c2b7=function(_0x337ff9,_0x39ac33,_0x52a542){const _0x45e0f4=Object['create'](null);for(const {item:_0xa271bc}of _0x337ff9['createRangeIn'](_0x39ac33))if(_0xa271bc['is']('element','footnoteRef')){const _0x4966da=_0xa271bc['getAttribute']('footnoteId');if(!_0x52a542(_0x4966da))continue;_0x45e0f4[_0x4966da]||(_0x45e0f4[_0x4966da]=_0x5137b0()),_0x337ff9['setAttribute']('footnoteId',_0x45e0f4[_0x4966da],_0xa271bc);}return _0x45e0f4;}(_0x120390,_0x4639c2['content'],_0x835c5=>{if(!_0x54b89e)return!0x0;return!!_0x5c7b27['getFootnote'](_0x835c5)&&!_0x415d03['includes'](_0x835c5);});for(const [_0x436255,_0x1d875f]of Object['entries'](_0x48339b)){const _0x502be2=_0xb4c2b7[_0x436255]||_0x436255,_0x33b71a=_0x120390['createElement']('footnoteDefinition',{'footnoteId':_0x502be2}),_0x1e4604=_0x174ce7['data']['htmlProcessor']['toView'](_0x1d875f);let _0x42d60d;if(_0x5de886)_0x42d60d=_0x174ce7['data']['toModel'](_0x1e4604,_0x33b71a);else{_0x42d60d=_0x120390['createElement']('footnoteInlineContent');const _0x5da962=_0x174ce7['data']['toModel'](_0x1e4604,_0x42d60d);_0x120390['insert'](_0x5da962,_0x42d60d);}_0x120390['append'](_0x42d60d,_0x33b71a),_0x120390['insert'](_0x33b71a,_0x2c8a97,'end');}_0x48339b=null;});});}}function c(_0x4b16e6){const _0x38ad88=new Set();for(const {item:_0xddb427}of _0x4b16e6)_0xddb427['is']('element','footnoteRef')&&_0x38ad88['add'](_0xddb427['getAttribute']('footnoteId'));return Array['from'](_0x38ad88);}class i extends _0x4b67c2{['licenseKey'];['_licenseKeyCheckInterval'];static get['pluginName'](){return'FootnotesUI';}static get['isOfficialPlugin'](){return!0x0;}static get['isPremiumPlugin'](){return!0x0;}['init'](){const {editor:_0x37e0d5}=this,{componentFactory:_0x10d3ee}=_0x37e0d5['ui'];_0x10d3ee['add']('insertFootnote',x(_0x37e0d5,_0x4657b1)),_0x10d3ee['add']('menuBar:insertFootnote',x(_0x37e0d5,_0x1f520d)),this['licenseKey']=this['editor']['config']['get']('licenseKey');const _0x44bc35=this['editor'];this['_licenseKeyCheckInterval']=setInterval(()=>{let _0xa0af7;for(const _0x56cd34 in _0x44bc35){const _0x3d4b49=_0x56cd34,_0x2a9e90=_0x44bc35[_0x3d4b49];if('footnotesLicenseKeyValid'==_0x2a9e90||'footnotesLicenseKeyInvalid'==_0x2a9e90||'footnotesLicenseKeyExpired'==_0x2a9e90||'footnotesLicenseKeyDomainLimit'==_0x2a9e90||'footnotesLicenseKeyNotAllowed'==_0x2a9e90||'footnotesLicenseKeyEvaluationLimit'==_0x2a9e90||'footnotesLicenseKeyTrialLimit'==_0x2a9e90||'footnotesLicenseKeyUsageLimit'==_0x2a9e90){delete _0x44bc35[_0x3d4b49],_0xa0af7=_0x2a9e90,clearInterval(this['_licenseKeyCheckInterval']),this['_licenseKeyCheckInterval']=void 0x0;break;}}'footnotesLicenseKeyInvalid'==_0xa0af7&&_0x44bc35['_showLicenseError']('invalid'),'footnotesLicenseKeyExpired'==_0xa0af7&&_0x44bc35['_showLicenseError']('expired'),'footnotesLicenseKeyDomainLimit'==_0xa0af7&&_0x44bc35['_showLicenseError']('domainLimit'),'footnotesLicenseKeyNotAllowed'==_0xa0af7&&_0x44bc35['_showLicenseError']('featureNotAllowed','Footnotes'),'footnotesLicenseKeyEvaluationLimit'==_0xa0af7&&_0x44bc35['_showLicenseError']('evaluationLimit'),'footnotesLicenseKeyTrialLimit'==_0xa0af7&&_0x44bc35['_showLicenseError']('trialLimit'),'footnotesLicenseKeyUsageLimit'==_0xa0af7&&_0x44bc35['_showLicenseError']('usageLimit');},0x3e8);}['destroy'](){super['destroy'](),this['_licenseKeyCheckInterval']&&clearInterval(this['_licenseKeyCheckInterval']);}}function x(_0x2fbf38,_0x6d0413){const _0x2af725=_0x2fbf38['commands']['get']('insertFootnote');return _0x3001c3=>{const {t:t}=_0x3001c3,_0x28703d=new _0x6d0413(_0x3001c3),_0xa0a306=_0x28703d instanceof _0x1f520d;return _0x28703d['bind']('isEnabled')['to'](_0x2af725,'isEnabled'),_0x28703d['set']({'label':t(_0xa0a306?'Footnote':'Insert\x20footnote'),'icon':_0x5c3133,'tooltip':!0x0}),_0x28703d['on']('execute',()=>{_0x2af725['execute'](),_0x2fbf38['editing']['view']['focus']();}),_0x28703d;};}class lt extends _0x4b67c2{static get['pluginName'](){return'Footnotes';}static get['requires'](){return[r,e,i];}static get['isOfficialPlugin'](){return!0x0;}static get['isPremiumPlugin'](){return!0x0;}}const Q=['decimal','decimal-leading-zero','lower-latin','upper-latin','lower-alpha','upper-alpha','lower-roman','upper-roman'];class S extends _0x2564d4{['refresh'](){const {editor:_0x36b286}=this,_0x387252=_0x36b286['plugins']['get'](f)['getFootnotesDefinitionsObjectElement']();this['isEnabled']=!!_0x387252,this['value']=_0x387252?.['getAttribute']('footnotesListStyle')??null;}['execute']({value:_0x1a0d46}){const {editor:_0xabd761}=this,_0x1d7484=_0xabd761['plugins']['get'](f),_0x4f68a9=_0x1d7484['getFootnotesDefinitionsObjectElement']();_0x4f68a9&&Q['includes'](_0x1a0d46)&&_0xabd761['model']['change'](_0x4771db=>{_0x4771db['setAttribute']('footnotesListStyle',_0x1a0d46,_0x4f68a9),_0x1d7484['_updateFootnotesCounters'](_0x4771db);});}}class C extends _0x2564d4{['refresh'](){const {editor:_0x27fbc1}=this,_0x1f53ad=_0x27fbc1['plugins']['get'](f)['getFootnotesDefinitionsObjectElement']();this['isEnabled']=!!_0x1f53ad,this['value']=_0x1f53ad?.['getAttribute']('footnotesListStart')??null;}['execute']({value:_0x4ba00b}){const {editor:_0x555783}=this,_0x3cfd35=_0x555783['plugins']['get'](f),_0x2c369b=_0x3cfd35['getFootnotesDefinitionsObjectElement']();_0x2c369b&&Number['isInteger'](_0x4ba00b)&&_0x555783['model']['change'](_0x42bc4f=>{_0x42bc4f['setAttribute']('footnotesListStart',_0x4ba00b,_0x2c369b),_0x3cfd35['_updateFootnotesCounters'](_0x42bc4f);});}}class P extends _0x4b67c2{static get['pluginName'](){return'FootnotesPropertiesEditing';}static get['requires'](){return[r,f];}static get['isOfficialPlugin'](){return!0x0;}static get['isPremiumPlugin'](){return!0x0;}['init'](){const {editor:_0xce90a6}=this;_0xce90a6['config']['define']('footnotes.footnotesProperties.defaultListStyle','decimal'),_0xce90a6['config']['define']('footnotes.footnotesProperties.defaultStartIndex',0x1),_0xce90a6['commands']['add']('footnotesStyle',new S(_0xce90a6)),_0xce90a6['commands']['add']('footnotesStart',new C(_0xce90a6)),this['_defineSchema'](),this['_defineConverters'](),this['_defineFormatter'](),this['_definePostfixer']();}['_defineSchema'](){const {editor:_0x1b631b}=this,{schema:_0x2bb55d}=_0x1b631b['model'];_0x2bb55d['extend']('footnotesDefinitions',{'allowAttributes':['footnotesListStyle','footnotesListStart']});}['_defineConverters'](){const {editor:_0x13f684}=this,{conversion:_0x1dc47e,model:_0x1f69a6}=_0x13f684,{schema:_0x159598}=_0x1f69a6;_0x1dc47e['for']('upcast')['add'](_0x662668=>{_0x662668['on']('element:ol',(_0x2eca1,_0x83ce67,_0x4b9e93)=>{const _0x31bca1=_0x83ce67['viewItem'],_0x1e7c44=_0x83ce67['modelCursor']?.['parent'];_0x31bca1['hasClass']('footnotes-list')&&_0x1e7c44?.['is']('element','footnotesDefinitions')&&(function(_0x52d246,_0xdba1fe,_0x366332,_0x3b5625){if(!_0x3b5625['checkAttribute'](_0xdba1fe,'footnotesListStart'))return;let _0x1d6952=0x1;const _0x5e19af=_0x366332['consumable']['consume'](_0x52d246,{'attributes':'start'});if(_0x5e19af){const _0x56e119=Number['parseInt'](_0x52d246['getAttribute']('start'),0xa);Number['isNaN'](_0x56e119)||(_0x1d6952=_0x56e119);}!_0x5e19af&&_0xdba1fe['hasAttribute']('footnotesListStart')||_0x366332['writer']['setAttribute']('footnotesListStart',_0x1d6952,_0xdba1fe);}(_0x31bca1,_0x1e7c44,_0x4b9e93,_0x159598),function(_0x2bccc1,_0x52f6e7,_0x5b0e02,_0x2785fd){if(!_0x2785fd['checkAttribute'](_0x52f6e7,'footnotesListStyle'))return;let _0x27702c='decimal',_0x2fcaae=!0x1;if(_0x5b0e02['consumable']['consume'](_0x2bccc1,{'attributes':'type'})){const _0x860bb5={0x1:'decimal','a':'lower-alpha','A':'upper-alpha','i':'lower-roman','I':'upper-roman'}[_0x2bccc1['getAttribute']('type')];_0x860bb5&&(_0x27702c=_0x860bb5),_0x2fcaae=!0x0;}_0x5b0e02['consumable']['consume'](_0x2bccc1,{'styles':'list-style-type'})&&(_0x27702c=function(_0x1617fd){switch(_0x1617fd){case'lower-alpha':return'lower-latin';case'upper-alpha':return'upper-latin';default:return _0x1617fd;}}(_0x2bccc1['getStyle']('list-style-type')),_0x2fcaae=!0x0),!_0x2fcaae&&_0x52f6e7['hasAttribute']('footnotesListStyle')||_0x5b0e02['writer']['setAttribute']('footnotesListStyle',_0x27702c,_0x52f6e7);}(_0x31bca1,_0x1e7c44,_0x4b9e93,_0x159598));});}),_0x1dc47e['for']('downcast')['add'](_0x536f29=>{_0x536f29['on']('attribute:footnotesListStart:footnotesDefinitions',(_0x288911,_0x4af7d8,_0x3e7381)=>{if(!_0x3e7381['consumable']['consume'](_0x4af7d8['item'],_0x288911['name']))return;const _0x8b49b0=M(_0x4af7d8['item'],_0x3e7381['mapper']),{attributeNewValue:_0x4df440}=_0x4af7d8;null==_0x4df440||0x1===_0x4df440?_0x3e7381['writer']['removeAttribute']('start',_0x8b49b0):_0x3e7381['writer']['setAttribute']('start',String(_0x4df440),_0x8b49b0);}),_0x536f29['on']('attribute:footnotesListStyle:footnotesDefinitions',(_0x1e69bc,_0x3dad66,_0x236a44)=>{if(!_0x236a44['consumable']['consume'](_0x3dad66['item'],_0x1e69bc['name']))return;const _0x50dfc5=M(_0x3dad66['item'],_0x236a44['mapper']),{attributeNewValue:_0x4beb86}=_0x3dad66;_0x4beb86&&'decimal'!==_0x4beb86?_0x236a44['writer']['setStyle']('list-style-type',_0x4beb86,_0x50dfc5):_0x236a44['writer']['removeStyle']('list-style-type',_0x50dfc5);});});}['_definePostfixer'](){const {editor:_0x599c54}=this,{model:_0x3c7537}=_0x599c54,_0x32d754=_0x599c54['plugins']['get'](f),_0x54a9f9=this['_getDefaultListStyle'](),_0x1b884e=this['_getDefaultStartIndex']();_0x3c7537['document']['registerPostFixer'](_0x29ecf1=>{const _0x5e7306=_0x3c7537['document']['differ']['getChanges']();let _0x9ca325=!0x1;for(const _0x4b934d of _0x5e7306){if('insert'!==_0x4b934d['type']||'$text'===_0x4b934d['name'])continue;const _0x1295c4=_0x3c7537['createRangeOn'](_0x4b934d['position']['nodeAfter']);for(const _0x590170 of _0x1295c4['getItems']())_0x590170['is']('element','footnotesDefinitions')&&(!_0x590170['hasAttribute']('footnotesListStart')&&_0x3c7537['schema']['checkAttribute'](_0x590170,'footnotesListStart')&&(_0x29ecf1['setAttribute']('footnotesListStart',_0x1b884e,_0x590170),_0x9ca325=!0x0),!_0x590170['hasAttribute']('footnotesListStyle')&&_0x3c7537['schema']['checkAttribute'](_0x590170,'footnotesListStyle')&&(_0x29ecf1['setAttribute']('footnotesListStyle',_0x54a9f9,_0x590170),_0x9ca325=!0x0));}return _0x9ca325&&_0x32d754['_updateFootnotesCounters'](_0x29ecf1),_0x9ca325;});}['_defineFormatter'](){const {editor:_0x286e5b}=this;_0x286e5b['plugins']['get'](f)['setFootnoteFormatter'](_0x3fcca9=>this['_formatFootnoteListValue'](_0x3fcca9));}['_getDefaultListStyle'](){return this['editor']['config']['get']('footnotes.footnotesProperties.defaultListStyle');}['_getDefaultStartIndex'](){return this['editor']['config']['get']('footnotes.footnotesProperties.defaultStartIndex');}['_formatFootnoteListValue']({container:_0x1c6071,value:_0x24f31a,digits:_0x9936d3}){const _0x36ac72=_0x1c6071['getAttribute']('footnotesListStyle'),_0x59b136=_0x1c6071['getAttribute']('footnotesListStart'),_0x54415a=Math['floor'](_0x24f31a)+(_0x59b136??0x1)-0x1;switch(_0x36ac72){case'decimal-leading-zero':return function(_0xdd8875,_0x170f9a){return String(_0xdd8875)['padStart'](_0x170f9a,'0');}(_0x54415a,Math['max'](0x2,_0x9936d3));case'lower-alpha':case'lower-latin':return N(_0x54415a,!0x1);case'upper-alpha':case'upper-latin':return N(_0x54415a,!0x0);case'lower-roman':return X(_0x54415a,!0x1);case'upper-roman':return X(_0x54415a,!0x0);default:return String(_0x54415a);}}}function M(_0x42e1ce,_0x35fbce){const _0x3a738d=_0x35fbce['toViewElement'](_0x42e1ce);return Array['from'](_0x3a738d['getChildren']())['find'](_0x398bc9=>_0x398bc9['is']('element','ol')&&_0x398bc9['hasClass']('footnotes-list'));}function N(_0x212611,_0x5b0669){let _0x3aca07='',_0x4a82dc=_0x212611;for(;_0x4a82dc>0x0;){const _0x19e93f=(_0x4a82dc-0x1)%0x1a;_0x3aca07=String['fromCharCode'](0x61+_0x19e93f)+_0x3aca07,_0x4a82dc=Math['floor']((_0x4a82dc-0x1)/0x1a);}return _0x5b0669?_0x3aca07['toUpperCase']():_0x3aca07;}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(_0x202346,_0x5ccdae){let _0xc3e205='',_0x7a690a=_0x202346;for(const {value:_0x180030,numeral:_0x474ea4}of V)for(;_0x7a690a>=_0x180030;)_0xc3e205+=_0x474ea4,_0x7a690a-=_0x180030;return _0x5ccdae?_0xc3e205:_0xc3e205['toLowerCase']();}class H extends _0x6cf942{['children'];['stylesView']=null;['additionalProperties']=null;['startIndexFieldView']=null;['focusTracker']=new ot();['keystrokes']=new rt();['focusables']=new _0x36bc0b();['focusCycler'];constructor(_0x3c05ce,{styleButtonViews:_0x17dc66,styleGridAriaLabel:_0x1589db}){super(_0x3c05ce),(this['focusCycler']=new _0x1c798d({'focusables':this['focusables'],'focusTracker':this['focusTracker'],'keystrokeHandler':this['keystrokes'],'actions':{'focusPrevious':'shift\x20+\x20tab','focusNext':'tab'}}),this['children']=this['createCollection'](),this['stylesView']=this['_appendStylesView'](_0x17dc66,_0x1589db),[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 _0x3260cd of this['stylesView']['children'])this['stylesView']['focusTracker']['add'](_0x3260cd['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 _0x2b38a4=_0x10a648=>_0x10a648['stopPropagation']();this['keystrokes']['set']('arrowright',_0x2b38a4),this['keystrokes']['set']('arrowleft',_0x2b38a4),this['keystrokes']['set']('arrowup',_0x2b38a4),this['keystrokes']['set']('arrowdown',_0x2b38a4);}this['keystrokes']['listenTo'](this['element']);}['focus'](){this['focusCycler']['focusFirst']();}['focusLast'](){this['focusCycler']['focusLast']();}['destroy'](){super['destroy'](),this['focusTracker']['destroy'](),this['keystrokes']['destroy']();}['_appendStylesView'](_0x37a65b,_0x4b32d1){const _0x26ff7a=new _0x6cf942(this['locale']);return _0x26ff7a['children']=_0x26ff7a['createCollection'](),_0x26ff7a['children']['addMany'](_0x37a65b),_0x26ff7a['setTemplate']({'tag':'div','attributes':{'aria-label':_0x4b32d1,'class':['ck','ck-footnotes-definitions-styles-list']},'children':_0x26ff7a['children']}),_0x26ff7a['children']['delegate']('execute')['to'](this),_0x26ff7a['focus']=function(){for(const _0x34f813 of this['children'])if(_0x34f813 instanceof _0x4657b1&&_0x34f813['isOn'])return void _0x34f813['focus']();this['children']['first']['focus']();},_0x26ff7a['focusTracker']=new ot(),_0x26ff7a['keystrokes']=new rt(),_0x26ff7a['render'](),_0x26ff7a['keystrokes']['listenTo'](_0x26ff7a['element']),this['children']['add'](_0x26ff7a),_0x26ff7a;}['_appendAdditionalPropertiesCollapsibleView'](){const {t:t}=this['locale'],_0x315307=this['_createStartIndexPropertyView'](),_0x1f0314=[_0x315307],_0x654cbb=new st(this['locale'],_0x1f0314);return _0x654cbb['set']({'label':t('Footnotes\x20properties'),'isCollapsed':!0x0}),_0x654cbb['buttonView']['bind']('isEnabled')['toMany'](_0x1f0314,'isEnabled',(..._0x4ce59)=>_0x4ce59['some'](_0x47e2a9=>_0x47e2a9)),_0x654cbb['buttonView']['on']('change:isEnabled',(_0x390c27,_0x4b4867,_0x2d0228)=>{_0x2d0228||(_0x654cbb['isCollapsed']=!0x0);}),this['children']['add'](_0x654cbb),[_0x315307,_0x654cbb];}['_createStartIndexPropertyView'](){const {t:t}=this['locale'],_0x4ffd85=new it(this['locale'],et);return _0x4ffd85['set']({'label':t('Footnotes\x20start\x20at'),'class':'ck-footnotes-definitions-properties__start-index'}),_0x4ffd85['fieldView']['set']({'min':0x0,'max':Math['pow'](0x2,0x1e),'step':0x1,'value':0x1,'inputMode':'numeric'}),_0x4ffd85['fieldView']['on']('input',()=>{const _0x38cb96=_0x4ffd85['fieldView']['element'],_0x476e50=_0x38cb96['valueAsNumber'];Number['isNaN'](_0x476e50)?_0x4ffd85['errorText']=t('Invalid\x20footnotes\x20start\x20index\x20value.'):_0x38cb96['checkValidity']()?this['fire']('footnotesListStart',{'startIndex':_0x476e50}):_0x4ffd85['errorText']=t(_0x476e50<0x0?'Footnotes\x20start\x20index\x20must\x20be\x20greater\x20than\x200.':'Footnotes\x20start\x20index\x20is\x20too\x20large.');}),_0x4ffd85;}}class j extends _0x4b67c2{static get['pluginName'](){return'FootnotesPropertiesUI';}static get['requires'](){return[_0x4d078f,_0x28cbf4];}static get['isOfficialPlugin'](){return!0x0;}static get['isPremiumPlugin'](){return!0x0;}['init'](){const {editor:_0x36a423}=this,{componentFactory:_0x1f16b4}=_0x36a423['ui'];_0x36a423['config']['define']('footnotes.footnotesProperties.toolbar',['footnotesStyle']),_0x1f16b4['add']('footnotesStyle',function(_0x867a7e){return _0x42f193=>{const {t:t}=_0x42f193,_0x466a14=_0x867a7e['commands']['get']('footnotesStyle'),_0x1f4024=_0x4b98e2(_0x42f193),{buttonView:_0x104a5d}=_0x1f4024;return _0x1f4024['class']='ck-footnotes-styles-dropdown',_0x1f4024['bind']('isEnabled')['to'](_0x466a14,'isEnabled'),_0x104a5d['set']({'label':t('Footnotes\x20style'),'icon':_0x5c3133,'tooltip':!0x0}),_0x1f4024['once']('change:isOpen',()=>{const _0x342db5=function({editor:_0x4aa703,dropdownView:_0x1027f1}){const {t:t}=_0x4aa703['locale'],_0x182afd=t('Footnotes\x20definitions\x20styles'),_0x2bd6f4=function(_0x5efccd){const t=_0x5efccd['locale']['t'],_0x4861e3=[{'label':t('Toggle\x20the\x20decimal\x20footnotes\x20style'),'tooltip':t('Decimal\x20footnotes'),'style':'decimal','icon':_0x2f7224},{'label':t('Toggle\x20the\x20decimal\x20with\x20leading\x20zero\x20footnotes\x20style'),'tooltip':t('Decimal\x20footnotes\x20with\x20leading\x20zero'),'style':'decimal-leading-zero','icon':_0x52ce3b},{'label':t('Toggle\x20the\x20lower–roman\x20footnotes\x20style'),'tooltip':t('Lower–roman\x20footnotes'),'style':'lower-roman','icon':_0x137a18},{'label':t('Toggle\x20the\x20upper–roman\x20footnotes\x20style'),'tooltip':t('Upper-roman\x20footnotes'),'style':'upper-roman','icon':_0x31ffc2},{'label':t('Toggle\x20the\x20lower–latin\x20footnotes\x20style'),'tooltip':t('Lower-latin\x20footnotes'),'style':'lower-latin','icon':_0x677b16},{'label':t('Toggle\x20the\x20upper–latin\x20footnotes\x20style'),'tooltip':t('Upper-latin\x20footnotes'),'style':'upper-latin','icon':_0x2faa94}];return _0x4861e3['map'](function(_0x4e994d){const _0x562da8=_0x4e994d['locale'];return({label:_0x5c737d,icon:_0x1973eb,tooltip:_0x4ce679,style:_0x293dcb})=>{const _0xcc6901=_0x4e994d['commands']['get']('footnotesStyle'),_0x54b61c=new _0x4657b1(_0x562da8);return _0x54b61c['set']({'label':_0x5c737d,'icon':_0x1973eb,'tooltip':_0x4ce679}),_0x54b61c['bind']('isOn')['to'](_0xcc6901,'value',_0xc04d6b=>_0xc04d6b===_0x293dcb),_0x54b61c['bind']('isEnabled')['to'](_0xcc6901,'isEnabled'),_0x54b61c['on']('execute',()=>{_0x4e994d['execute']('footnotesStyle',{'value':_0x293dcb}),_0x4e994d['editing']['view']['focus']();}),_0x54b61c;};}(_0x5efccd));}(_0x4aa703),_0xe5d0ce=new H(_0x4aa703['locale'],{'styleGridAriaLabel':_0x182afd,'styleButtonViews':_0x2bd6f4}),_0x252023=_0x4aa703['commands']['get']('footnotesStart');return _0xe5d0ce['startIndexFieldView']['bind']('isEnabled')['to'](_0x252023),_0xe5d0ce['startIndexFieldView']['fieldView']['bind']('value')['to'](_0x252023),_0xe5d0ce['on']('footnotesListStart',(_0xae6ce9,_0x510add)=>{_0x4aa703['execute']('footnotesStart',{'value':_0x510add['startIndex']});}),_0xe5d0ce['delegate']('execute')['to'](_0x1027f1),_0xe5d0ce;}({'editor':_0x867a7e,'dropdownView':_0x1f4024});_0x1f4024['panelView']['children']['add'](_0x342db5);}),_0x1f4024;};}(_0x36a423));}['afterInit'](){const {editor:_0x4b4702}=this,{t:t}=_0x4b4702['locale'],_0x25db2b=_0x4b4702['plugins']['get'](_0x28cbf4),{defaultPositions:_0x12fc6e}=_0x29eca1;_0x25db2b['register']('footnotesDefinitions',{'ariaLabel':t('Footnotes\x20definitions\x20toolbar'),'items':_0x4b4702['config']['get']('footnotes.footnotesProperties.toolbar'),'balloonClassName':'ck-footnotes-style-balloon\x20ck-toolbar-container','getRelatedElement':_0xc7b146=>{let _0x1edc45=_0xc7b146['getFirstPosition']()?.['parent'];return _0x1edc45?.['is']('$text')&&(_0x1edc45=_0x1edc45['parent']),_0x1edc45?.['is']('element')?_0x1edc45['findAncestor'](J):null;},'positions':[_0x12fc6e['southArrowNorth'],_0x12fc6e['southArrowNorthMiddleWest'],_0x12fc6e['southArrowNorthMiddleEast'],_0x12fc6e['southArrowNorthWest'],_0x12fc6e['southArrowNorthEast'],_0x12fc6e['northArrowSouth'],_0x12fc6e['northArrowSouthMiddleWest'],_0x12fc6e['northArrowSouthMiddleEast'],_0x12fc6e['northArrowSouthWest'],_0x12fc6e['northArrowSouthEast'],_0x12fc6e['viewportStickyNorth']]});}}class ft extends _0x4b67c2{static get['pluginName'](){return'FootnotesProperties';}static get['requires'](){return[P,j];}static get['isOfficialPlugin'](){return!0x0;}static get['isPremiumPlugin'](){return!0x0;}}export{lt as Footnotes,e as FootnotesClipboard,r as FootnotesEditing,ft as FootnotesProperties,P as FootnotesPropertiesEditing,j as FootnotesPropertiesUI,C as FootnotesStartCommand,S as FootnotesStyleCommand,f as FootnotesTracker,i as FootnotesUI,m as InsertFootnoteCommand};
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- export default{'af':{'dictionary':{'Footnote':'','Footnotes':'','Footnotes\x20properties':'','Footnotes\x20start\x20at':'','Invalid\x20footnotes\x20start\x20index\x20value.':'','Footnotes\x20start\x20index\x20is\x20too\x20large.':'','Footnotes\x20start\x20index\x20must\x20be\x20greater\x20than\x200.':'','Footnote\x20%0.\x20Press\x20ENTER\x20to\x20jump\x20to\x20footnote\x20definition.':'','Footnote\x20content.':'','Footnotes\x20definitions\x20styles':'','Footnotes\x20definitions\x20toolbar':'','Insert\x20footnote':'','Footnotes\x20style':'','Toggle\x20the\x20decimal\x20footnotes\x20style':'','Decimal\x20footnotes':'','Toggle\x20the\x20decimal\x20with\x20leading\x20zero\x20footnotes\x20style':'','Decimal\x20footnotes\x20with\x20leading\x20zero':'','Lower–roman\x20footnotes':'','Upper-roman\x20footnotes':'','Lower-latin\x20footnotes':'','Upper-latin\x20footnotes':'','Toggle\x20the\x20lower–roman\x20footnotes\x20style':'','Toggle\x20the\x20upper–roman\x20footnotes\x20style':'','Toggle\x20the\x20lower–latin\x20footnotes\x20style':'','Toggle\x20the\x20upper–latin\x20footnotes\x20style':''},'getPluralForm':_0x337775=>0x1!=_0x337775}};
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':_0x119bb2=>0x1!=_0x119bb2}};
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- (_0x29918c=>{const {af:{dictionary:_0x4faf5b,getPluralForm:_0x534f47}}={'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':_0x331488=>0x1!=_0x331488}};_0x29918c['af']||={'dictionary':{},'getPluralForm':null},_0x29918c['af']['dictionary']=Object['assign'](_0x29918c['af']['dictionary'],_0x4faf5b),_0x29918c['af']['getPluralForm']=_0x534f47;})(window['CKEDITOR_TRANSLATIONS']||={});
23
+ (_0x199f43=>{const {af:{dictionary:_0x2b4fac,getPluralForm:_0x512a1f}}={'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':_0x1c40d3=>0x1!=_0x1c40d3}};_0x199f43['af']||={'dictionary':{},'getPluralForm':null},_0x199f43['af']['dictionary']=Object['assign'](_0x199f43['af']['dictionary'],_0x2b4fac),_0x199f43['af']['getPluralForm']=_0x512a1f;})(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':_0x47fc84=>0x0==_0x47fc84?0x0:0x1==_0x47fc84?0x1:0x2==_0x47fc84?0x2:_0x47fc84%0x64>=0x3&&_0x47fc84%0x64<=0xa?0x3:_0x47fc84%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':_0x25495a=>0x0==_0x25495a?0x0:0x1==_0x25495a?0x1:0x2==_0x25495a?0x2:_0x25495a%0x64>=0x3&&_0x25495a%0x64<=0xa?0x3:_0x25495a%0x64>=0xb?0x4:0x5}};
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- (_0x361e9e=>{const {ar:{dictionary:_0x576f5c,getPluralForm:_0x1166c5}}={'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':_0x1de8a4=>0x0==_0x1de8a4?0x0:0x1==_0x1de8a4?0x1:0x2==_0x1de8a4?0x2:_0x1de8a4%0x64>=0x3&&_0x1de8a4%0x64<=0xa?0x3:_0x1de8a4%0x64>=0xb?0x4:0x5}};_0x361e9e['ar']||={'dictionary':{},'getPluralForm':null},_0x361e9e['ar']['dictionary']=Object['assign'](_0x361e9e['ar']['dictionary'],_0x576f5c),_0x361e9e['ar']['getPluralForm']=_0x1166c5;})(window['CKEDITOR_TRANSLATIONS']||={});
23
+ (_0x20ee2e=>{const {ar:{dictionary:_0x5a4c1d,getPluralForm:_0x15bef2}}={'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':_0x29c95d=>0x0==_0x29c95d?0x0:0x1==_0x29c95d?0x1:0x2==_0x29c95d?0x2:_0x29c95d%0x64>=0x3&&_0x29c95d%0x64<=0xa?0x3:_0x29c95d%0x64>=0xb?0x4:0x5}};_0x20ee2e['ar']||={'dictionary':{},'getPluralForm':null},_0x20ee2e['ar']['dictionary']=Object['assign'](_0x20ee2e['ar']['dictionary'],_0x5a4c1d),_0x20ee2e['ar']['getPluralForm']=_0x15bef2;})(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':_0x46819c=>0x1!=_0x46819c}};
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':_0x3f7256=>0x1!=_0x3f7256}};
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- (_0x50b76c=>{const {ast:{dictionary:_0x22fe58,getPluralForm:_0x4e9bfc}}={'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':_0x30b7a9=>0x1!=_0x30b7a9}};_0x50b76c['ast']||={'dictionary':{},'getPluralForm':null},_0x50b76c['ast']['dictionary']=Object['assign'](_0x50b76c['ast']['dictionary'],_0x22fe58),_0x50b76c['ast']['getPluralForm']=_0x4e9bfc;})(window['CKEDITOR_TRANSLATIONS']||={});
23
+ (_0x1e8352=>{const {ast:{dictionary:_0x377da9,getPluralForm:_0x1decd0}}={'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':_0x5c2746=>0x1!=_0x5c2746}};_0x1e8352['ast']||={'dictionary':{},'getPluralForm':null},_0x1e8352['ast']['dictionary']=Object['assign'](_0x1e8352['ast']['dictionary'],_0x377da9),_0x1e8352['ast']['getPluralForm']=_0x1decd0;})(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':_0x28e6da=>0x1!=_0x28e6da}};
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':_0x155580=>0x1!=_0x155580}};
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- (_0x217426=>{const {az:{dictionary:_0x47bb3d,getPluralForm:_0x74b924}}={'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':_0x286bef=>0x1!=_0x286bef}};_0x217426['az']||={'dictionary':{},'getPluralForm':null},_0x217426['az']['dictionary']=Object['assign'](_0x217426['az']['dictionary'],_0x47bb3d),_0x217426['az']['getPluralForm']=_0x74b924;})(window['CKEDITOR_TRANSLATIONS']||={});
23
+ (_0x2a4a2a=>{const {az:{dictionary:_0x317c12,getPluralForm:_0x37b7b5}}={'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':_0x455b56=>0x1!=_0x455b56}};_0x2a4a2a['az']||={'dictionary':{},'getPluralForm':null},_0x2a4a2a['az']['dictionary']=Object['assign'](_0x2a4a2a['az']['dictionary'],_0x317c12),_0x2a4a2a['az']['getPluralForm']=_0x37b7b5;})(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':_0x55626d=>_0x55626d%0xa==0x1&&_0x55626d%0x64!=0xb?0x0:_0x55626d%0xa>=0x2&&_0x55626d%0xa<=0x4&&(_0x55626d%0x64<0xa||_0x55626d%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':_0x2f968b=>_0x2f968b%0xa==0x1&&_0x2f968b%0x64!=0xb?0x0:_0x2f968b%0xa>=0x2&&_0x2f968b%0xa<=0x4&&(_0x2f968b%0x64<0xa||_0x2f968b%0x64>=0x14)?0x1:0x2}};