@ckeditor/ckeditor5-footnotes 47.3.0-alpha.4 → 47.3.0-alpha.6

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 _0x273f4a,Command as _0x54becd}from'@ckeditor/ckeditor5-core/dist/index.js';import{toWidget as _0x352a26,isWidget as _0x2fb996,toWidgetEditable as _0xc19423,WidgetToolbarRepository as _0x2c7926}from'@ckeditor/ckeditor5-widget/dist/index.js';import{uid as _0x420e0d,logWarning as _0x2e9b58,FocusTracker as ot,KeystrokeHandler as rt,global as nt}from'@ckeditor/ckeditor5-utils/dist/index.js';import{PointerObserver as _0x54c9f8,ClickObserver as _0x48397f}from'@ckeditor/ckeditor5-engine/dist/index.js';import{ClipboardPipeline as _0x566352}from'@ckeditor/ckeditor5-clipboard/dist/index.js';import{MenuBarMenuListItemButtonView as _0x5f5250,ButtonView as _0x198b0f,View as _0x2835d4,ViewCollection as _0x162f6c,FocusCycler as _0x2d8567,addKeyboardHandlingForGrid as tt,CollapsibleView as st,LabeledFieldView as it,createLabeledInputNumber as et,ContextualBalloon as _0xb8113c,BalloonPanelView as _0x2ca87d,createDropdown as _0x381698}from'@ckeditor/ckeditor5-ui/dist/index.js';import{IconFootnote as _0x1e006b,IconListStyleDecimal as _0x15a08c,IconListStyleDecimalLeadingZero as _0x264bb0,IconListStyleLowerRoman as _0x375405,IconListStyleUpperRoman as _0x217d48,IconListStyleLowerLatin as _0x40d259,IconListStyleUpperLatin as _0x4d31f5}from'@ckeditor/ckeditor5-icons/dist/index.js';class F{['_model'];['_elementName'];['_getElementKey'];['_trackedElements']=new Map();constructor(_0x507341,_0x2c6cc8){this['_model']=_0x507341,this['_elementName']=_0x2c6cc8['elementName'],this['_getElementKey']=_0x2c6cc8['getElementKey'];}['reset'](){this['_trackedElements']['clear']();}['getChanges'](_0xf2f780){const _0x550cbd=new Set(),_0x840464=new Map();for(const _0x187752 of _0xf2f780){if('insert'===_0x187752['type']&&'$text'!==_0x187752['name']&&_0x187752['position']['nodeAfter']){const _0x143e60=this['_model']['createRangeOn'](_0x187752['position']['nodeAfter']);for(const _0x47dd60 of _0x143e60['getItems']()){if(!_0x47dd60['is']('element',this['_elementName']))continue;const _0x3cb06b=this['_getElementKey'](_0x47dd60);_0x840464['has'](_0x3cb06b)||_0x840464['set'](_0x3cb06b,[]),_0x840464['get'](_0x3cb06b)['push'](_0x47dd60);}}if('remove'===_0x187752['type']&&_0x187752['name']===this['_elementName']){const _0x32d6d8=this['_getElementKey']({'getAttribute':_0x23eedc=>_0x187752['attributes']['get'](_0x23eedc)});_0x550cbd['add'](_0x32d6d8);}}for(const [_0x3178f0,_0x3565ff]of this['_trackedElements'])'$graveyard'===_0x3565ff['root']['rootName']&&_0x550cbd['add'](_0x3178f0);for(const _0x2232a5 of _0x550cbd)this['_trackedElements']['delete'](_0x2232a5);for(const [_0x23d121,_0x41eb6e]of _0x840464)this['_trackedElements']['set'](_0x23d121,_0x41eb6e[_0x41eb6e['length']-0x1]);const _0x43f39c=new Set();for(const [_0x19b733,_0x33201a]of _0x840464)_0x550cbd['has'](_0x19b733)&&(_0x43f39c['add'](_0x33201a[0x0]),_0x33201a['length']>0x1?_0x840464['set'](_0x19b733,_0x33201a['slice'](0x1)):_0x840464['delete'](_0x19b733),_0x550cbd['delete'](_0x19b733));return{'removed':Array['from'](_0x550cbd),'inserted':Array['from'](_0x840464['values']())['flat'](),'moved':Array['from'](_0x43f39c)};}}class f extends _0x273f4a{['_footnotes']=[];['_footnotesDefinitions']=null;['_footnoteFormatter']=null;['_footnoteDefsContainerTracker'];['_footnoteRefsTracker'];['_footnoteDefsTracker'];static get['pluginName'](){return'FootnotesTracker';}static get['isOfficialPlugin'](){return!0x0;}static get['isPremiumPlugin'](){return!0x0;}constructor(_0x583abb){super(_0x583abb),this['_footnoteDefsContainerTracker']=new F(this['editor']['model'],{'elementName':'footnotesDefinitions','getElementKey':()=>'singleton'}),this['_footnoteRefsTracker']=new F(this['editor']['model'],{'elementName':'footnoteRef','getElementKey':_0x5a9661=>_0x5a9661['getAttribute']('footnoteId')}),this['_footnoteDefsTracker']=new F(this['editor']['model'],{'elementName':'footnoteDefinition','getElementKey':_0x442c7c=>_0x442c7c['getAttribute']('footnoteId')});}['init'](){const {editor:_0x50253c}=this,{model:_0x5a549f,data:_0x2c6f3e}=_0x50253c;_0x5a549f['document']['registerPostFixer'](_0x333599=>{const _0x3c544e=_0x5a549f['document']['differ']['getChanges']();let _0x346ef9=!0x1;return this['_handleFootnotesDefinitionsObjectChanges'](_0x333599,_0x3c544e)&&(_0x346ef9=!0x0),this['_handleFootnoteDefinitionsChanges'](_0x333599,_0x3c544e)&&(_0x346ef9=!0x0),this['_handleFootnoteReferencesChanges'](_0x333599,_0x3c544e)&&(_0x346ef9=!0x0),this['_ensureFootnotesReferencesHaveProperOrder'](_0x333599)&&(_0x346ef9=!0x0),this['_handleFootnotesDefinitionsObjectSync'](_0x333599)&&(_0x346ef9=!0x0),this['_sortFootnoteDefinitions'](_0x333599)&&(_0x346ef9=!0x0),_0x346ef9;}),this['listenTo'](_0x5a549f['document'],'change:data',()=>{_0x5a549f['enqueueChange']({'isUndoable':!0x1},_0x40654e=>{this['_ensureFootnotesDefinitionsContainerExists'](_0x40654e);});},{'priority':'low'}),this['listenTo'](_0x2c6f3e,'set',()=>{this['_footnotes']=[],this['_footnoteDefsContainerTracker']['reset'](),this['_footnoteRefsTracker']['reset'](),this['_footnoteDefsTracker']['reset']();},{'priority':'high'});}['getFootnotesDefinitionsObjectElement'](){return this['_footnotesDefinitions'];}['getFootnote'](_0x5914da){return this['_footnotes']['find'](_0x3dd9f3=>_0x3dd9f3['id']===_0x5914da)||null;}['getFootnotes'](){return Array['from'](this['_footnotes']);}['getFootnotesFormatter'](){return this['_footnoteFormatter'];}['setFootnoteFormatter'](_0x9fa1b6){this['_footnoteFormatter']=_0x9fa1b6;}['_updateFootnotesCounters'](_0x5fd76e,_0x4b8005=0x0){let _0x125452=!0x1;for(let _0x4b5582=_0x4b8005;_0x4b5582<this['_footnotes']['length'];_0x4b5582++)this['_updateFootnoteRefCounter'](_0x5fd76e,_0x4b5582)&&(_0x125452=!0x0);return _0x125452;}['_insertEmptyFootnotesDefinitionsContainer'](_0x16f7b7,_0x3aaa3a){const _0x312ba4=_0x16f7b7['createElement']('footnotesDefinitions',{});return _0x16f7b7['append'](_0x312ba4,_0x3aaa3a),this['_footnotesDefinitions']=_0x312ba4,_0x312ba4;}['_ensureFootnotesDefinitionsContainerExists'](_0x25b89a){if(!this['_footnotes']['length']||this['_footnotesDefinitions'])return;const _0xe3d92=this['_footnotes'][0x0]['reference']['root'],_0x2df4fe=this['_insertEmptyFootnotesDefinitionsContainer'](_0x25b89a,_0xe3d92);for(const _0xe43352 of this['_footnotes'])_0xe43352['definition']['parent']||_0x25b89a['insert'](_0xe43352['definition'],_0x2df4fe,'end');this['_updateFootnotesCounters'](_0x25b89a);}['_handleFootnotesDefinitionsObjectChanges'](_0x5eb707,_0x48c9f9){let _0x3f8e51=!0x1;const {inserted:_0x351194,removed:_0x2ba56a,moved:_0x3bb079}=this['_footnoteDefsContainerTracker']['getChanges'](_0x48c9f9);if(_0x3bb079['length']&&(this['_footnotesDefinitions']=_0x3bb079[0x0]),_0x351194['length']){if(_0x351194['length']>0x1||this['_footnotesDefinitions']&&_0x351194['some'](_0x2da069=>_0x2da069!==this['_footnotesDefinitions'])){const _0x4c8a38=_0x5eb707['createElement']('footnotesDefinitions',{}),_0xa9579=[];this['_footnotesDefinitions']&&_0xa9579['push'](this['_footnotesDefinitions']),_0xa9579['push'](..._0x351194),_0x5eb707['insert'](_0x4c8a38,_0xa9579[0x0],'before');for(const _0x5e4ad5 of _0xa9579)_0x5eb707['move'](_0x5eb707['createRangeIn'](_0x5e4ad5),_0x5eb707['createPositionAt'](_0x4c8a38,'end')),_0x5eb707['remove'](_0x5e4ad5);this['_footnotesDefinitions']=_0x4c8a38,this['_updateFootnotesCounters'](_0x5eb707),_0x3f8e51=!0x0;}else this['_footnotesDefinitions']=_0x351194[0x0];}if(_0x2ba56a['length']&&'$graveyard'===this['_footnotesDefinitions']?.['root']['rootName']){for(const _0x42a1a6 of this['_footnotes'])_0x5eb707['remove'](_0x42a1a6['reference']),_0x3f8e51=!0x0;this['_footnotes']=[],this['_footnotesDefinitions']=null;}return _0x3f8e51;}['_handleFootnoteDefinitionsChanges'](_0x589e71,_0x14f564){let _0x11af02=!0x1;const _0x40c059=this['editor']['config']['get']('footnotes.multiBlock'),{inserted:_0x52aa00,moved:_0x320e14}=this['_footnoteDefsTracker']['getChanges'](_0x14f564);for(const _0x30eeff of[..._0x320e14,..._0x52aa00]){const _0x5a81d5=_0x30eeff['getAttribute']('footnoteId'),_0x1beb39=this['getFootnote'](_0x5a81d5);_0x1beb39&&(_0x1beb39['definition']=_0x30eeff),_(_0x589e71,_0x40c059,_0x30eeff)&&(_0x11af02=!0x0);}return _0x11af02;}['_handleFootnoteReferencesChanges'](_0x1ca51b,_0x13aade){let _0x132bb7=!0x1;const {removed:_0x300b24,inserted:_0x21a388,moved:_0x341443}=this['_footnoteRefsTracker']['getChanges'](_0x13aade);for(const _0x891e44 of _0x300b24)this['_handleRemoveFootnoteReferenceById'](_0x1ca51b,_0x891e44)&&(_0x132bb7=!0x0);for(const _0x5673b7 of _0x21a388)this['_handleInsertedFootnoteReference'](_0x1ca51b,_0x5673b7)&&(_0x132bb7=!0x0);for(const _0x2146ee of _0x341443)this['_handleMovedFootnoteReference'](_0x1ca51b,_0x2146ee)&&(_0x132bb7=!0x0);return _0x132bb7;}['_handleFootnotesDefinitionsObjectSync'](_0x7ad479){if(!this['_footnotesDefinitions'])return!0x1;let _0x379fe8=!0x1;if(this['_footnotesDefinitions']['childCount']!==this['_footnotes']['length']){const _0x4668a5=[];for(const _0x495d23 of this['_footnotesDefinitions']['getChildren']()){const _0xf38131=_0x495d23['getAttribute']('footnoteId');this['getFootnote'](_0xf38131)||(_0x4668a5['unshift'](_0x495d23),_0x379fe8=!0x0);}for(const _0x56ef0d of _0x4668a5)_0x7ad479['remove'](_0x56ef0d);}const _0x2b3c5f=new Set(),_0xc1ecc2=[];for(const _0x4b32b0 of this['_footnotesDefinitions']['getChildren']()){const _0x4078c6=_0x4b32b0['getAttribute']('footnoteId');_0x2b3c5f['has'](_0x4078c6)?(_0xc1ecc2['unshift'](_0x4b32b0),_0x379fe8=!0x0):_0x2b3c5f['add'](_0x4078c6);}for(const _0x7182e8 of _0xc1ecc2)_0x7ad479['remove'](_0x7182e8);return this['_footnotesDefinitions']['childCount']||(_0x7ad479['remove'](this['_footnotesDefinitions']),this['_footnotesDefinitions']=null,_0x379fe8=!0x0),_0x379fe8;}['_handleInsertedFootnoteReference'](_0x29e404,_0x50a463){if(this['_footnotes']['find'](_0x1609fe=>_0x1609fe['reference']===_0x50a463))return!0x1;let _0x4c35a0=!0x1;const _0x43ad94=_0x50a463['getAttribute']('footnoteId'),_0x27db5f=this['_footnotes']['findIndex'](_0x18bf40=>_0x18bf40['id']===_0x43ad94);-0x1!==_0x27db5f&&(_0x29e404['remove'](this['_footnotes'][_0x27db5f]['reference']),this['_footnotes']['splice'](_0x27db5f,0x1),_0x4c35a0=!0x0);let _0x4243ed=this['_footnotesDefinitions']?function(_0x4f7d53,_0x5b7c44){for(const _0xa758e9 of _0x4f7d53['getChildren']())if(_0xa758e9['getAttribute']('footnoteId')===_0x5b7c44)return _0xa758e9;return null;}(this['_footnotesDefinitions'],_0x43ad94):null;_0x4243ed||(_0x4243ed=_0x29e404['createElement']('footnoteDefinition',{'footnoteId':_0x43ad94}),this['_footnotesDefinitions']&&(_0x29e404['insert'](_0x4243ed,this['_footnotesDefinitions'],'end'),_0x4c35a0=!0x0));const _0x572bee={'id':_0x43ad94,'reference':_0x50a463,'definition':_0x4243ed},_0x52b276=I(this['editor']['model'],this['_footnotes'],_0x50a463);this['_footnotes']['splice'](_0x52b276,0x0,_0x572bee);let _0xe9a9b1=_0x52b276;return-0x1!==_0x27db5f&&(_0xe9a9b1=Math['min'](_0x52b276,_0x27db5f)),this['_updateFootnotesCounters'](_0x29e404,_0xe9a9b1)&&(_0x4c35a0=!0x0),_0x4c35a0;}['_handleRemoveFootnoteReferenceById'](_0x309b2a,_0x5250b4){const _0x3e3680=this['_footnotes']['findIndex'](_0x58f4b8=>_0x58f4b8['id']===_0x5250b4);if(-0x1===_0x3e3680)return!0x1;let _0x3ba94f=!0x1;const _0x3c4209=this['_footnotes'][_0x3e3680];return'$graveyard'!==_0x3c4209['definition']['root']['rootName']&&(_0x309b2a['remove'](_0x3c4209['definition']),_0x3ba94f=!0x0),this['_footnotes']['splice'](_0x3e3680,0x1),this['_updateFootnotesCounters'](_0x309b2a,_0x3e3680)&&(_0x3ba94f=!0x0),_0x3ba94f;}['_handleMovedFootnoteReference'](_0x34b761,_0x2e0ebd){const _0x8c9130=_0x2e0ebd['getAttribute']('footnoteId'),_0x902d0d=this['_footnotes']['findIndex'](_0x550681=>_0x550681['id']===_0x8c9130),_0x1f6f94=this['_footnotes'][_0x902d0d];let _0x492a1a=!0x1;_0x1f6f94['reference']=_0x2e0ebd,this['_footnotes']['splice'](_0x902d0d,0x1);const _0xaf1dcd=I(this['editor']['model'],this['_footnotes'],_0x2e0ebd);return this['_footnotes']['splice'](_0xaf1dcd,0x0,_0x1f6f94),this['_updateFootnotesCounters'](_0x34b761,Math['min'](_0x902d0d,_0xaf1dcd))&&(_0x492a1a=!0x0),_0x492a1a;}['_updateFootnoteRefCounter'](_0x490b25,_0x4837f6){if(!this['_footnotesDefinitions'])return!0x1;const _0xec9244=this['_footnotes'][_0x4837f6];let _0x4e2d2d;return _0x4e2d2d=this['_footnoteFormatter']?this['_footnoteFormatter']({'footnote':_0xec9244,'container':this['_footnotesDefinitions'],'digits':String(this['_footnotes']['length'])['length'],'value':_0x4837f6+0x1}):String(_0x4837f6+0x1),_0xec9244['reference']['getAttribute']('footnoteCounter')!=_0x4e2d2d&&(_0x490b25['setAttribute']('footnoteCounter',_0x4e2d2d,_0xec9244['reference']),!0x0);}['_sortFootnoteDefinitions'](_0x30e7e4){if(!this['_footnotesDefinitions']||this['_footnotes']['length']<0x2)return!0x1;if(function(_0x23c7d5,_0x35bdab){if(_0x23c7d5['length']!==_0x35bdab['length'])return!0x1;for(let _0x1c46f9=0x0;_0x1c46f9<_0x23c7d5['length'];_0x1c46f9++)if(_0x23c7d5[_0x1c46f9]!==_0x35bdab[_0x1c46f9])return!0x1;return!0x0;}(this['_footnotes']['map'](_0xbbaba1=>_0xbbaba1['id']),Array['from'](this['_footnotesDefinitions']['getChildren']())['map'](_0x35602c=>_0x35602c['getAttribute']('footnoteId'))))return!0x1;let _0x42c1a6=!0x1;for(let _0x51876c=0x0;_0x51876c<this['_footnotes']['length'];_0x51876c++){const _0x5ae3cb=this['_footnotes'][_0x51876c],_0x43dbb5=_0x30e7e4['createPositionBefore'](_0x5ae3cb['definition']),_0x5e627d=_0x30e7e4['createPositionAt'](this['_footnotesDefinitions'],_0x51876c);_0x43dbb5['isEqual'](_0x5e627d)||(_0x30e7e4['move'](_0x30e7e4['createRangeOn'](_0x5ae3cb['definition']),_0x5e627d),_0x42c1a6=!0x0);}return _0x42c1a6;}['_ensureFootnotesReferencesHaveProperOrder'](_0x48eae1){if(!this['_footnotes']['length'])return!0x1;const {model:_0x178bb4}=this['editor'];let _0x17a728=!0x1;for(let _0x1c8918=0x0;_0x1c8918<this['_footnotes']['length']-0x1;_0x1c8918++){const _0x40a7ed=this['_footnotes'][_0x1c8918],_0x58f4fa=this['_footnotes'][_0x1c8918+0x1],_0x1d0307=_0x178bb4['createPositionBefore'](_0x40a7ed['reference']),_0x55a96c=_0x178bb4['createPositionBefore'](_0x58f4fa['reference']);'after'===_0x1d0307['compareWith'](_0x55a96c)&&(this['_handleMovedFootnoteReference'](_0x48eae1,_0x40a7ed['reference']),_0x1c8918=-0x1,_0x17a728=!0x0);}return _0x17a728;}}function _(_0x4611bf,_0x3f2669,_0x2cad33){if(_0x2cad33['childCount'])return!0x1;const _0x1e21bf=_0x3f2669?'paragraph':'footnoteInlineContent';return _0x4611bf['insert'](_0x4611bf['createElement'](_0x1e21bf),_0x2cad33),!0x0;}function I(_0x3346d1,_0x33d21c,_0x271d43){if(0x0===_0x33d21c['length'])return 0x0;const _0x4460a7=_0x3346d1['createPositionBefore'](_0x271d43);for(let _0x28cd72=0x0;_0x28cd72<_0x33d21c['length'];_0x28cd72++){const _0x16a48a=_0x33d21c[_0x28cd72],_0x26e9f8=_0x3346d1['createPositionBefore'](_0x16a48a['reference']);if('before'===_0x4460a7['compareWith'](_0x26e9f8))return _0x28cd72;}const _0x65b184=_0x271d43['root'];let _0x3644f6=-0x1;for(let _0x379328=_0x33d21c['length']-0x1;_0x379328>=0x0;_0x379328--)if(_0x33d21c[_0x379328]['reference']['root']===_0x65b184){_0x3644f6=_0x379328;break;}if(-0x1!==_0x3644f6)return _0x3644f6+0x1;const _0xf4833d=_0x3346d1['document']['getRootNames'](),_0x162cae=_0xf4833d['indexOf'](_0x65b184['rootName']),_0x489fc4=_0xf4833d[_0x162cae+0x1];if(_0x489fc4){for(let _0x46fbb3=0x0;_0x46fbb3<_0x33d21c['length'];_0x46fbb3++)if(_0x33d21c[_0x46fbb3]['reference']['root']['rootName']===_0x489fc4)return _0x46fbb3;}return _0x33d21c['length'];}class m extends _0x54becd{['refresh'](){const _0x12e302=this['editor']['model']['document']['selection'],_0x3020e7=this['_getPositionToInsertFootnote'](_0x12e302);this['isEnabled']=!!_0x3020e7;}['execute'](_0x4632f7){const {editor:_0x52a9bb}=this,{model:_0x19a384}=_0x52a9bb,{selection:_0x4851b1}=_0x19a384['document'],_0x45d849=this['_getPositionToInsertFootnote'](_0x4851b1);if(!_0x45d849)return;const _0x497551=_0x52a9bb['plugins']['get']('FootnotesEditing'),_0x384431=_0x4632f7?.['footnoteId']??_0x420e0d();!function(_0x20b509){return'string'==typeof _0x20b509&&_0x20b509['length']>0x0&&!/\s/['test'](_0x20b509)&&!/^\d/['test'](_0x20b509);}(_0x384431)?_0x2e9b58('insert-footnote-command-executed-with-invalid-id'):(_0x19a384['change'](_0x138604=>{const _0x5aa1b7=_0x138604['createElement']('footnoteRef',{'footnoteId':_0x384431});_0x19a384['insertObject'](_0x5aa1b7,_0x45d849,null);}),_0x497551['_moveSelectionToFootnoteDefinition'](_0x384431));}['_getPositionToInsertFootnote'](_0x3090d7){const {model:_0x21ab93}=this['editor'],{schema:_0x496634}=_0x21ab93,_0x472169=_0x3090d7['getFirstRange']();for(const _0x474cea of _0x472169['getItems']())if(_0x496634['isBlock'](_0x474cea)||_0x496634['isObject'](_0x474cea))return null;const _0x27b18a=_0x472169['end'];return _0x496634['checkChild'](_0x27b18a,'footnoteRef')?_0x27b18a:null;}}class r extends _0x273f4a{static get['pluginName'](){return'FootnotesEditing';}static get['requires'](){return[f];}static get['isOfficialPlugin'](){return!0x0;}static get['isPremiumPlugin'](){return!0x0;}['init'](){const {editor:_0x2ad0f7}=this;_0x2ad0f7['config']['define']('footnotes.multiBlock',!0x0),_0x2ad0f7['commands']['add']('insertFootnote',new m(_0x2ad0f7)),this['_defineSchema'](),this['_defineRefsConverters'](),this['_defineDefinitionsConverters'](),this['_defineDefinitionConverters'](),this['_defineBogusParagraphConverters'](),this['_defineKeyboardHandlers'](),this['_defineClickHandlers']();}['afterInit'](){!async function(_0x3dd220){const _0x50e088=_0xbb135d([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]),_0x99d74e=0x47a28506,_0x4b54d5=0x47a5ff96^_0x99d74e,_0x57e4c8=window[_0xbb135d([0x44,0x61,0x74,0x65])][_0xbb135d([0x6e,0x6f,0x77])](),_0xe5e8dd=_0x3dd220[_0xbb135d([0x65,0x64,0x69,0x74,0x6f,0x72])],_0x4522bd=new window[(_0xbb135d([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0x2efa1b=>{_0xe5e8dd[_0xbb135d([0x6f,0x6e,0x63,0x65])](_0xbb135d([0x72,0x65,0x61,0x64,0x79]),_0x2efa1b);}),_0x1c6b97={[_0xbb135d([0x6b,0x74,0x79])]:_0xbb135d([0x45,0x43]),[_0xbb135d([0x75,0x73,0x65])]:_0xbb135d([0x73,0x69,0x67]),[_0xbb135d([0x63,0x72,0x76])]:_0xbb135d([0x50,0x2d,0x32,0x35,0x36]),[_0xbb135d([0x78])]:_0xbb135d([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]),[_0xbb135d([0x79])]:_0xbb135d([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]),[_0xbb135d([0x61,0x6c,0x67])]:_0xbb135d([0x45,0x53,0x32,0x35,0x36])},_0x3068d7=_0xe5e8dd[_0xbb135d([0x63,0x6f,0x6e,0x66,0x69,0x67])][_0xbb135d([0x67,0x65,0x74])](_0xbb135d([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x4b,0x65,0x79]));async function _0x57e999(){let _0x1e607d,_0x24ac4b=null,_0xab24ad=null;try{if(_0x3068d7==_0xbb135d([0x47,0x50,0x4c]))return _0xbb135d([0x4e,0x6f,0x74,0x41,0x6c,0x6c,0x6f,0x77,0x65,0x64]);if(_0x1e607d=_0x37d9c8(),!_0x1e607d)return _0xbb135d([0x49,0x6e,0x76,0x61,0x6c,0x69,0x64]);return _0x1e607d[_0xbb135d([0x75,0x73,0x61,0x67,0x65,0x45,0x6e,0x64,0x70,0x6f,0x69,0x6e,0x74])]&&(_0xab24ad=_0x43af72(_0x1e607d[_0xbb135d([0x75,0x73,0x61,0x67,0x65,0x45,0x6e,0x64,0x70,0x6f,0x69,0x6e,0x74])],_0x1e607d[_0xbb135d([0x6a,0x74,0x69])])),await _0x163fb6()?_0x57ed10()?_0x42a216()?_0xbb135d([0x45,0x78,0x70,0x69,0x72,0x65,0x64]):_0x343908()?(_0x1e607d[_0xbb135d([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x54,0x79,0x70,0x65])]==_0xbb135d([0x65,0x76,0x61,0x6c,0x75,0x61,0x74,0x69,0x6f,0x6e])&&(_0x24ac4b=_0x4a61ab(_0xbb135d([0x45,0x76,0x61,0x6c,0x75,0x61,0x74,0x69,0x6f,0x6e,0x4c,0x69,0x6d,0x69,0x74]))),_0x1e607d[_0xbb135d([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x54,0x79,0x70,0x65])]==_0xbb135d([0x74,0x72,0x69,0x61,0x6c])&&(_0x24ac4b=_0x4a61ab(_0xbb135d([0x54,0x72,0x69,0x61,0x6c,0x4c,0x69,0x6d,0x69,0x74]))),await _0x4a8f86()):_0xbb135d([0x44,0x6f,0x6d,0x61,0x69,0x6e,0x4c,0x69,0x6d,0x69,0x74]):_0xbb135d([0x4e,0x6f,0x74,0x41,0x6c,0x6c,0x6f,0x77,0x65,0x64]):_0xbb135d([0x49,0x6e,0x76,0x61,0x6c,0x69,0x64]);}catch{return _0xbb135d([0x49,0x6e,0x76,0x61,0x6c,0x69,0x64]);}function _0x42a216(){const _0x395cfa=[_0xbb135d([0x65,0x76,0x61,0x6c,0x75,0x61,0x74,0x69,0x6f,0x6e]),_0xbb135d([0x74,0x72,0x69,0x61,0x6c])][_0xbb135d([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x1e607d[_0xbb135d([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x54,0x79,0x70,0x65])])?_0x57e4c8/0x3e8:0xe10*_0x4b54d5;return _0x1e607d[_0xbb135d([0x65,0x78,0x70])]<_0x395cfa;}function _0x57ed10(){const _0x24ed98=_0x1e607d[_0xbb135d([0x66,0x65,0x61,0x74,0x75,0x72,0x65,0x73])];return!!_0x24ed98&&(!!_0x24ed98[_0xbb135d([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0xbb135d([0x2a]))||!!_0x24ed98[_0xbb135d([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0xbb135d([0x46,0x4f,0x4f])));}function _0x343908(){const _0x2cf228=_0x1e607d[_0xbb135d([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x64,0x48,0x6f,0x73,0x74,0x73])];if(!_0x2cf228||0x0==_0x2cf228[_0xbb135d([0x6c,0x65,0x6e,0x67,0x74,0x68])])return!0x0;const {hostname:_0x14e328}=new URL(window[_0xbb135d([0x6c,0x6f,0x63,0x61,0x74,0x69,0x6f,0x6e])]['href']);if(_0x2cf228[_0xbb135d([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x14e328))return!0x0;const _0x56c57e=_0x14e328[_0xbb135d([0x73,0x70,0x6c,0x69,0x74])](_0xbb135d([0x2e]));return _0x2cf228[_0xbb135d([0x66,0x69,0x6c,0x74,0x65,0x72])](_0x38f641=>_0x38f641[_0xbb135d([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0xbb135d([0x2a])))[_0xbb135d([0x6d,0x61,0x70])](_0x5968f0=>_0x5968f0[_0xbb135d([0x73,0x70,0x6c,0x69,0x74])](_0xbb135d([0x2e])))[_0xbb135d([0x66,0x69,0x6c,0x74,0x65,0x72])](_0x4525f1=>_0x4525f1[_0xbb135d([0x6c,0x65,0x6e,0x67,0x74,0x68])]<=_0x56c57e[_0xbb135d([0x6c,0x65,0x6e,0x67,0x74,0x68])])[_0xbb135d([0x6d,0x61,0x70])](_0x274122=>Array(_0x56c57e[_0xbb135d([0x6c,0x65,0x6e,0x67,0x74,0x68])]-_0x274122[_0xbb135d([0x6c,0x65,0x6e,0x67,0x74,0x68])])[_0xbb135d([0x66,0x69,0x6c,0x6c])](_0x274122[0x0]===_0xbb135d([0x2a])?_0xbb135d([0x2a]):'')[_0xbb135d([0x63,0x6f,0x6e,0x63,0x61,0x74])](_0x274122))[_0xbb135d([0x73,0x6f,0x6d,0x65])](_0x433c2c=>_0x56c57e[_0xbb135d([0x65,0x76,0x65,0x72,0x79])]((_0x454e48,_0x39a566)=>_0x433c2c[_0x39a566]===_0x454e48||_0x433c2c[_0x39a566]===_0xbb135d([0x2a])));}function _0x4a8f86(){return _0x24ac4b&&_0xab24ad?new window[(_0xbb135d([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))]((_0xbd8279,_0x548595)=>{_0x24ac4b[_0xbb135d([0x74,0x68,0x65,0x6e])](_0xbd8279,_0x548595),_0xab24ad[_0xbb135d([0x74,0x68,0x65,0x6e])](_0x13d383=>{_0x13d383!=_0xbb135d([0x56,0x61,0x6c,0x69,0x64])&&_0xbd8279(_0x13d383);},_0x548595);}):_0x24ac4b||_0xab24ad||_0xbb135d([0x56,0x61,0x6c,0x69,0x64]);}}function _0x43af72(_0x44cad3,_0x5060c6){return new window[(_0xbb135d([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0x1475bf=>{if(_0x5c6fd3())return _0x1475bf(_0xbb135d([0x56,0x61,0x6c,0x69,0x64]));_0x2b9dc8(),_0xe5e8dd[_0xbb135d([0x64,0x65,0x63,0x6f,0x72,0x61,0x74,0x65])](_0xbb135d([0x5f,0x73,0x65,0x6e,0x64,0x55,0x73,0x61,0x67,0x65,0x52,0x65,0x71,0x75,0x65,0x73,0x74]));let _0x1abe48=!0x1;const _0x4e554b=_0x420e0d();function _0x4cc45c(_0x6667af){return!!_0x6667af&&(typeof _0x6667af===_0xbb135d([0x6f,0x62,0x6a,0x65,0x63,0x74])||typeof _0x6667af===_0xbb135d([0x66,0x75,0x6e,0x63,0x74,0x69,0x6f,0x6e]))&&typeof _0x6667af[_0xbb135d([0x74,0x68,0x65,0x6e])]===_0xbb135d([0x66,0x75,0x6e,0x63,0x74,0x69,0x6f,0x6e])&&typeof _0x6667af[_0xbb135d([0x63,0x61,0x74,0x63,0x68])]===_0xbb135d([0x66,0x75,0x6e,0x63,0x74,0x69,0x6f,0x6e]);}function _0x1de9a5(_0x3c0d15){_0x589a20(_0x3c0d15)[_0xbb135d([0x74,0x68,0x65,0x6e])](_0x34b5e4=>{if(!_0x34b5e4||_0x34b5e4[_0xbb135d([0x73,0x74,0x61,0x74,0x75,0x73])]!=_0xbb135d([0x6f,0x6b]))return _0xbb135d([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]);return _0x500f38(_0x9325c7(_0x4e554b+_0x5060c6))!=_0x34b5e4[_0xbb135d([0x76,0x65,0x72,0x69,0x66,0x69,0x63,0x61,0x74,0x69,0x6f,0x6e])]?_0xbb135d([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]):_0xbb135d([0x56,0x61,0x6c,0x69,0x64]);})[_0xbb135d([0x74,0x68,0x65,0x6e])](_0x92cace=>(_0x332c9e(),_0x92cace),()=>{const _0x1fdbab=_0x2cb834();return null==_0x1fdbab?(_0x332c9e(),_0xbb135d([0x56,0x61,0x6c,0x69,0x64])):_0xbb135d(_0x57e4c8-_0x1fdbab>(0x63ae0106^_0x99d74e)?[0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]:[0x56,0x61,0x6c,0x69,0x64]);})[_0xbb135d([0x74,0x68,0x65,0x6e])](_0x1475bf)[_0xbb135d([0x63,0x61,0x74,0x63,0x68])](()=>{_0x1475bf(_0xbb135d([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]));});const _0x14dc50=0x47946b86^_0x99d74e;function _0x332c9e(){const _0x22b171=_0xbb135d([0x6c,0x6c,0x63,0x74,0x2d])+_0x500f38(_0x9325c7(_0x44cad3)),_0x48cc9b=_0x369aca(_0x500f38(window[_0xbb135d([0x4d,0x61,0x74,0x68])][_0xbb135d([0x63,0x65,0x69,0x6c])](_0x57e4c8/_0x14dc50)));window[_0xbb135d([0x6c,0x6f,0x63,0x61,0x6c,0x53,0x74,0x6f,0x72,0x61,0x67,0x65])][_0xbb135d([0x73,0x65,0x74,0x49,0x74,0x65,0x6d])](_0x22b171,_0x48cc9b);}function _0x2cb834(){const _0x66da06=_0xbb135d([0x6c,0x6c,0x63,0x74,0x2d])+_0x500f38(_0x9325c7(_0x44cad3)),_0xa01763=window[_0xbb135d([0x6c,0x6f,0x63,0x61,0x6c,0x53,0x74,0x6f,0x72,0x61,0x67,0x65])][_0xbb135d([0x67,0x65,0x74,0x49,0x74,0x65,0x6d])](_0x66da06);return _0xa01763?window[_0xbb135d([0x70,0x61,0x72,0x73,0x65,0x49,0x6e,0x74])](_0x369aca(_0xa01763),0x10)*_0x14dc50:null;}function _0x589a20(_0x49217f){return new window[(_0xbb135d([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))]((_0x1c41e6,_0x26bb76)=>{_0x49217f[_0xbb135d([0x74,0x68,0x65,0x6e])](_0x1c41e6,_0x26bb76),window[_0xbb135d([0x73,0x65,0x74,0x54,0x69,0x6d,0x65,0x6f,0x75,0x74])](_0x26bb76,0x47a351c6^_0x99d74e);});}}_0xe5e8dd[_0xbb135d([0x6f,0x6e])](_0xbb135d([0x5f,0x73,0x65,0x6e,0x64,0x55,0x73,0x61,0x67,0x65,0x52,0x65,0x71,0x75,0x65,0x73,0x74]),(_0x4aa605,_0xdf457f)=>{if(_0xdf457f[0x0]!=_0x44cad3)return _0x1475bf(_0xbb135d([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]));_0xdf457f[0x1]={..._0xdf457f[0x1],[_0xbb135d([0x72,0x65,0x71,0x75,0x65,0x73,0x74,0x49,0x64])]:_0x4e554b};},{[_0xbb135d([0x70,0x72,0x69,0x6f,0x72,0x69,0x74,0x79])]:_0xbb135d([0x68,0x69,0x67,0x68])}),_0xe5e8dd[_0xbb135d([0x6f,0x6e])](_0xbb135d([0x5f,0x73,0x65,0x6e,0x64,0x55,0x73,0x61,0x67,0x65,0x52,0x65,0x71,0x75,0x65,0x73,0x74]),_0x441593=>{_0x4cc45c(_0x441593[_0xbb135d([0x72,0x65,0x74,0x75,0x72,0x6e])])&&(_0x1abe48=!0x0,_0x1de9a5(_0x441593[_0xbb135d([0x72,0x65,0x74,0x75,0x72,0x6e])]));},{[_0xbb135d([0x70,0x72,0x69,0x6f,0x72,0x69,0x74,0x79])]:_0xbb135d([0x6c,0x6f,0x77])}),_0x4522bd[_0xbb135d([0x74,0x68,0x65,0x6e])](()=>{_0x1abe48||_0x1475bf(_0xbb135d([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]));});});function _0x5c6fd3(){return _0xe5e8dd[_0xbb135d([0x65,0x64,0x69,0x74,0x69,0x6e,0x67])][_0xbb135d([0x76,0x69,0x65,0x77])][_0xbb135d([0x5f,0x6f,0x76,0x65,0x72,0x6c,0x61,0x79,0x4d,0x6f,0x64,0x65,0x48,0x69,0x6e,0x74])]==_0xbb135d([0x61,0x75,0x74,0x6f]);}function _0x2b9dc8(){_0xe5e8dd[_0xbb135d([0x65,0x64,0x69,0x74,0x69,0x6e,0x67])][_0xbb135d([0x76,0x69,0x65,0x77])][_0xbb135d([0x5f,0x6f,0x76,0x65,0x72,0x6c,0x61,0x79,0x4d,0x6f,0x64,0x65,0x48,0x69,0x6e,0x74])]=_0xbb135d([0x61,0x75,0x74,0x6f]);}}function _0x4a61ab(_0x5a7501){const _0x21726e=[new window[(_0xbb135d([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0x255190=>setTimeout(_0x255190,0x47abbbca^_0x99d74e)),_0x4522bd[_0xbb135d([0x74,0x68,0x65,0x6e])](()=>new window[(_0xbb135d([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0x369a54=>{let _0x16fee6=0x0;_0xe5e8dd[_0xbb135d([0x6d,0x6f,0x64,0x65,0x6c])][_0xbb135d([0x6f,0x6e])](_0xbb135d([0x61,0x70,0x70,0x6c,0x79,0x4f,0x70,0x65,0x72,0x61,0x74,0x69,0x6f,0x6e]),(_0x9497f2,_0x1c59c9)=>{_0x1c59c9[0x0][_0xbb135d([0x69,0x73,0x44,0x6f,0x63,0x75,0x6d,0x65,0x6e,0x74,0x4f,0x70,0x65,0x72,0x61,0x74,0x69,0x6f,0x6e])]&&_0x16fee6++,_0x16fee6==(0x47a284fe^_0x99d74e)&&(_0x369a54(),_0x9497f2[_0xbb135d([0x6f,0x66,0x66])]());});}))];return window[_0xbb135d([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65])][_0xbb135d([0x72,0x61,0x63,0x65])](_0x21726e)[_0xbb135d([0x74,0x68,0x65,0x6e])](()=>_0x5a7501);}async function _0x1d4b1d(){await _0x4522bd,_0xe5e8dd[_0xbb135d([0x6d,0x6f,0x64,0x65,0x6c])][_0xbb135d([0x63,0x68,0x61,0x6e,0x67,0x65])]=_0x1487fc,_0xe5e8dd[_0xbb135d([0x6d,0x6f,0x64,0x65,0x6c])][_0xbb135d([0x65,0x6e,0x71,0x75,0x65,0x75,0x65,0x43,0x68,0x61,0x6e,0x67,0x65])]=_0x1487fc,_0xe5e8dd[_0xbb135d([0x65,0x6e,0x61,0x62,0x6c,0x65,0x52,0x65,0x61,0x64,0x4f,0x6e,0x6c,0x79,0x4d,0x6f,0x64,0x65])](_0xbb135d([0x6d,0x6f,0x64,0x65,0x6c]));}function _0x13e707(_0x3033a3){const _0x1d4294=_0x5eb4b9();_0xe5e8dd[_0x1d4294]=_0xbb135d([0x66,0x6f,0x6f,0x74,0x6e,0x6f,0x74,0x65,0x73,0x4c,0x69,0x63,0x65,0x6e,0x73,0x65,0x4b,0x65,0x79])+_0x3033a3,_0x3033a3!=_0xbb135d([0x56,0x61,0x6c,0x69,0x64])&&_0x1d4b1d();}function _0x5eb4b9(){const _0x5a4501=window[_0xbb135d([0x53,0x74,0x72,0x69,0x6e,0x67])](window[_0xbb135d([0x70,0x65,0x72,0x66,0x6f,0x72,0x6d,0x61,0x6e,0x63,0x65])][_0xbb135d([0x6e,0x6f,0x77])]())[_0xbb135d([0x72,0x65,0x70,0x6c,0x61,0x63,0x65])](_0xbb135d([0x2e]),'');let _0x457062=_0xbb135d([0x75]);for(let _0x72f821=0x0;_0x72f821<_0x5a4501[_0xbb135d([0x6c,0x65,0x6e,0x67,0x74,0x68])];_0x72f821+=0x2){let _0x81dfe8=window[_0xbb135d([0x70,0x61,0x72,0x73,0x65,0x49,0x6e,0x74])](_0x5a4501[_0xbb135d([0x73,0x75,0x62,0x73,0x74,0x72,0x69,0x6e,0x67])](_0x72f821,_0x72f821+0x2));_0x81dfe8>=_0x50e088[_0xbb135d([0x6c,0x65,0x6e,0x67,0x74,0x68])]&&(_0x81dfe8-=_0x50e088[_0xbb135d([0x6c,0x65,0x6e,0x67,0x74,0x68])]),_0x457062+=_0x50e088[_0x81dfe8];}return _0x457062;}function _0x37d9c8(){const _0xc28086=_0x3068d7[_0xbb135d([0x73,0x70,0x6c,0x69,0x74])](_0xbb135d([0x2e]));if(0x3!=_0xc28086[_0xbb135d([0x6c,0x65,0x6e,0x67,0x74,0x68])])return null;return _0x433cde(_0xc28086[0x1]);function _0x433cde(_0x3977d8){const _0x58ddf8=_0x3e0871(_0x3977d8);return _0x58ddf8&&_0x6f765a()?_0x58ddf8:null;function _0x6f765a(){const _0x53f374=_0x58ddf8[_0xbb135d([0x6a,0x74,0x69])],_0xcbef91=window[_0xbb135d([0x70,0x61,0x72,0x73,0x65,0x49,0x6e,0x74])](_0x53f374[_0xbb135d([0x73,0x75,0x62,0x73,0x74,0x72,0x69,0x6e,0x67])](_0x53f374[_0xbb135d([0x6c,0x65,0x6e,0x67,0x74,0x68])]-0x8),0x10),_0x938053={..._0x58ddf8,[_0xbb135d([0x6a,0x74,0x69])]:_0x53f374[_0xbb135d([0x73,0x75,0x62,0x73,0x74,0x72,0x69,0x6e,0x67])](0x0,_0x53f374[_0xbb135d([0x6c,0x65,0x6e,0x67,0x74,0x68])]-0x8)};return delete _0x938053[_0xbb135d([0x76,0x63])],_0x9325c7(_0x938053)==_0xcbef91;}}}async function _0x163fb6(){let _0x47fc9c=!0x0;try{const _0x5e5eca=_0x3068d7[_0xbb135d([0x73,0x70,0x6c,0x69,0x74])](_0xbb135d([0x2e])),[_0x26d558,_0x290ed4,_0x359b43]=_0x5e5eca;return _0x3754fe(_0x26d558),await _0xd96f48(_0x26d558,_0x290ed4,_0x359b43),_0x47fc9c;}catch{return!0x1;}function _0x3754fe(_0x593ff7){const _0x566c5e=_0x3e0871(_0x593ff7);_0x566c5e&&_0x566c5e[_0xbb135d([0x61,0x6c,0x67])]==_0xbb135d([0x45,0x53,0x32,0x35,0x36])||(_0x47fc9c=!0x1);}async function _0xd96f48(_0x3e2303,_0x10ed61,_0x77d46e){const _0x1d90e1=window[_0xbb135d([0x55,0x69,0x6e,0x74,0x38,0x41,0x72,0x72,0x61,0x79])][_0xbb135d([0x66,0x72,0x6f,0x6d])](_0x37e7c4(_0x77d46e),_0x35b6fd=>_0x35b6fd[_0xbb135d([0x63,0x68,0x61,0x72,0x43,0x6f,0x64,0x65,0x41,0x74])](0x0)),_0x529da5=new window[(_0xbb135d([0x54,0x65,0x78,0x74,0x45,0x6e,0x63,0x6f,0x64,0x65,0x72]))]()[_0xbb135d([0x65,0x6e,0x63,0x6f,0x64,0x65])](_0x3e2303+_0xbb135d([0x2e])+_0x10ed61),_0x142505=window[_0xbb135d([0x63,0x72,0x79,0x70,0x74,0x6f])][_0xbb135d([0x73,0x75,0x62,0x74,0x6c,0x65])];if(!_0x142505)return;const _0x1eda57=await _0x142505[_0xbb135d([0x69,0x6d,0x70,0x6f,0x72,0x74,0x4b,0x65,0x79])](_0xbb135d([0x6a,0x77,0x6b]),_0x1c6b97,{[_0xbb135d([0x6e,0x61,0x6d,0x65])]:_0xbb135d([0x45,0x43,0x44,0x53,0x41]),[_0xbb135d([0x6e,0x61,0x6d,0x65,0x64,0x43,0x75,0x72,0x76,0x65])]:_0xbb135d([0x50,0x2d,0x32,0x35,0x36])},!0x1,[_0xbb135d([0x76,0x65,0x72,0x69,0x66,0x79])]);await _0x142505[_0xbb135d([0x76,0x65,0x72,0x69,0x66,0x79])]({[_0xbb135d([0x6e,0x61,0x6d,0x65])]:_0xbb135d([0x45,0x43,0x44,0x53,0x41]),[_0xbb135d([0x68,0x61,0x73,0x68])]:{[_0xbb135d([0x6e,0x61,0x6d,0x65])]:_0xbb135d([0x53,0x48,0x41,0x2d,0x32,0x35,0x36])}},_0x1eda57,_0x1d90e1,_0x529da5)||(_0x47fc9c=!0x1);}}function _0x3e0871(_0x4dc526){return _0x4dc526[_0xbb135d([0x73,0x74,0x61,0x72,0x74,0x73,0x57,0x69,0x74,0x68])](_0xbb135d([0x65,0x79]))?JSON[_0xbb135d([0x70,0x61,0x72,0x73,0x65])](_0x37e7c4(_0x4dc526)):null;}function _0x37e7c4(_0x37edac){return window[_0xbb135d([0x61,0x74,0x6f,0x62])](_0x37edac[_0xbb135d([0x72,0x65,0x70,0x6c,0x61,0x63,0x65])](/-/g,_0xbb135d([0x2b]))[_0xbb135d([0x72,0x65,0x70,0x6c,0x61,0x63,0x65])](/_/g,_0xbb135d([0x2f])));}function _0x9325c7(_0x3b9e60){let _0x535e40=0x1505;function _0x1de8e9(_0x4e02cc){for(let _0x26df4c=0x0;_0x26df4c<_0x4e02cc[_0xbb135d([0x6c,0x65,0x6e,0x67,0x74,0x68])];_0x26df4c++){const _0x3a25c7=_0x4e02cc[_0xbb135d([0x63,0x68,0x61,0x72,0x43,0x6f,0x64,0x65,0x41,0x74])](_0x26df4c);_0x535e40=(_0x535e40<<0x5)+_0x535e40+_0x3a25c7,_0x535e40&=_0x535e40;}}function _0x2f710c(_0x401d3b){Array[_0xbb135d([0x69,0x73,0x41,0x72,0x72,0x61,0x79])](_0x401d3b)?_0x401d3b[_0xbb135d([0x66,0x6f,0x72,0x45,0x61,0x63,0x68])](_0x2f710c):_0x401d3b&&typeof _0x401d3b==_0xbb135d([0x6f,0x62,0x6a,0x65,0x63,0x74])?Object[_0xbb135d([0x65,0x6e,0x74,0x72,0x69,0x65,0x73])](_0x401d3b)[_0xbb135d([0x73,0x6f,0x72,0x74])]()[_0xbb135d([0x66,0x6f,0x72,0x45,0x61,0x63,0x68])](([_0xb3bcd9,_0x3a7311])=>{_0x1de8e9(_0xb3bcd9),_0x2f710c(_0x3a7311);}):_0x1de8e9(window[_0xbb135d([0x53,0x74,0x72,0x69,0x6e,0x67])](_0x401d3b));}return _0x2f710c(_0x3b9e60),_0x535e40>>>0x0;}function _0x500f38(_0xdf07d5){return _0xdf07d5[_0xbb135d([0x74,0x6f,0x53,0x74,0x72,0x69,0x6e,0x67])](0x10)[_0xbb135d([0x70,0x61,0x64,0x53,0x74,0x61,0x72,0x74])](0x8,_0xbb135d([0x30]));}function _0x369aca(_0x134e12){return _0x134e12[_0xbb135d([0x73,0x70,0x6c,0x69,0x74])]('')[_0xbb135d([0x72,0x65,0x76,0x65,0x72,0x73,0x65])]()[_0xbb135d([0x6a,0x6f,0x69,0x6e])]('');}function _0x1487fc(){}function _0xbb135d(_0x3857b8){return _0x3857b8['map'](_0x1eaa7b=>String['fromCharCode'](_0x1eaa7b))['join']('');}_0x13e707(await _0x57e999());}(this);}['_moveSelectionToFootnoteDefinition'](_0x24c6b3){const {plugins:_0x52f8d1,editing:_0x108ae6,model:_0x363592}=this['editor'],_0x8b68b0=_0x52f8d1['get'](f)['getFootnote'](_0x24c6b3);return!!_0x8b68b0&&(_0x363592['change'](_0xb63259=>{_0xb63259['setSelection'](_0xb63259['createPositionAt'](_0x8b68b0['definition'],'end'));}),_0x108ae6['view']['scrollToTheSelection'](),!0x0);}['_moveSelectionToFootnoteReference'](_0x5191e6){const {plugins:_0x1e5bfb,editing:_0x2d0d1d,model:_0x55570f}=this['editor'],_0x269dff=_0x1e5bfb['get'](f)['getFootnote'](_0x5191e6);return!!_0x269dff&&(_0x55570f['change'](_0x4e116b=>{_0x4e116b['setSelection'](_0x269dff['reference'],'on');}),_0x2d0d1d['view']['scrollToTheSelection'](),!0x0);}['_defineSchema'](){const {schema:_0x10930e}=this['editor']['model'],_0x5652cb=this['editor']['config']['get']('footnotes.multiBlock');_0x10930e['register']('footnoteRef',{'inheritAllFrom':'$inlineObject','allowAttributes':['footnoteId','footnoteCounter']}),_0x10930e['register']('footnotesDefinitions',{'inheritAllFrom':'$blockObject','allowChildren':['footnoteDefinition']}),_0x10930e['register']('footnoteDefinition',{'allowAttributes':['footnoteId'],'disallowAttributes':['listItemId'],'isLimit':!0x0}),_0x5652cb?_0x10930e['extend']('footnoteDefinition',{'allowContentOf':'$container'}):_0x10930e['register']('footnoteInlineContent',{'allowIn':'footnoteDefinition','allowContentOf':'$block','isLimit':!0x0}),_0x10930e['addChildCheck'](_0x10dd97=>{for(const _0x5e4760 of _0x10dd97)if('footnoteDefinition'===_0x5e4760['name'])return!0x1;},'footnoteRef');}['_defineRefsConverters'](){const {editor:_0x43974b}=this,{conversion:_0x58bbb8,editing:_0x10de91}=_0x43974b,{t:t}=_0x43974b['locale'];_0x58bbb8['for']('upcast')['elementToElement']({'view':{'name':'sup','classes':'footnote'},'model':(_0x3ab019,{writer:_0x1f361f,consumable:_0x3a95a9})=>{const _0x47d58b=_0x3ab019['getChild'](0x0);if(!_0x47d58b||!_0x47d58b['is']('element','a'))return null;const _0x4b33ec=_0x47d58b['getAttribute']('href')||'';if(!_0x4b33ec['startsWith']('#'))return null;const _0x97d077=_0x4b33ec['replace'](/^#/,'');if(!_0x97d077)return null;_0x3a95a9['consume'](_0x47d58b,{'name':!0x0,'attributes':['href']});for(const {item:_0x22e5fb}of _0x10de91['view']['createRangeIn'](_0x47d58b))_0x22e5fb['is']('$textProxy')?_0x3a95a9['consume'](_0x22e5fb['textNode'],{'name':!0x0}):_0x22e5fb['is']('element')&&_0x3a95a9['consume'](_0x22e5fb,{'name':!0x0});return _0x1f361f['createElement']('footnoteRef',{'footnoteId':_0x97d077});}}),_0x58bbb8['for']('dataDowncast')['elementToElement']({'model':{'name':'footnoteRef','attributes':['footnoteId','footnoteCounter']},'view':(_0x8d6fa2,{writer:_0x2dcd8a})=>D(_0x8d6fa2,_0x2dcd8a)}),_0x58bbb8['for']('editingDowncast')['elementToElement']({'model':{'name':'footnoteRef','attributes':['footnoteId','footnoteCounter']},'view':(_0x509538,{writer:_0x2fc305})=>{const _0x524e06=_0x509538['getAttribute']('footnoteCounter');return _0x352a26(D(_0x509538,_0x2fc305),_0x2fc305,{'label':t('Footnote\x20%0.\x20Press\x20ENTER\x20to\x20jump\x20to\x20footnote\x20definition.',_0x524e06)});}});}['_defineDefinitionsConverters'](){const {editor:_0x4a47de}=this,{t:t}=_0x4a47de['locale'],{conversion:_0x26c511}=_0x4a47de;_0x26c511['for']('upcast')['elementToElement']({'view':{'name':'div','classes':'footnotes'},'model':'footnotesDefinitions'}),_0x26c511['for']('upcast')['add'](_0x385683=>{_0x385683['on']('element:ol',(_0x50b7ee,_0x239c66,_0x135f5a)=>{const _0x20e4e0=_0x239c66['viewItem'];if(!_0x20e4e0['hasClass']('footnotes-list')||!_0x239c66['modelCursor']['parent']?.['is']('element','footnotesDefinitions'))return;if(!_0x135f5a['consumable']['consume'](_0x20e4e0,{'name':!0x0,'classes':'footnotes-list'}))return;const {modelRange:_0x516fd2,modelCursor:_0x3f7ada}=_0x135f5a['convertChildren'](_0x239c66['viewItem'],_0x239c66['modelCursor']);_0x239c66['modelRange']=_0x516fd2,_0x239c66['modelCursor']=_0x3f7ada;}),_0x385683['on']('element:hr',(_0x1ff84c,_0x493341,_0xd7081d)=>{const _0x433264=_0x493341['viewItem'];_0x433264['hasClass']('footnotes-divider')&&_0x493341['modelCursor']['parent']?.['is']('element','footnotesDefinitions')&&_0xd7081d['consumable']['consume'](_0x433264,{'name':!0x0,'classes':'footnotes-divider'});});}),_0x26c511['for']('dataDowncast')['elementToStructure']({'model':'footnotesDefinitions','view':(_0x33b739,{writer:_0x33857f})=>v(_0x33857f)}),_0x26c511['for']('editingDowncast')['elementToStructure']({'model':'footnotesDefinitions','view':(_0x442a46,{writer:_0x3c0f6c})=>{const _0x4dfe1c=v(_0x3c0f6c,{'data-footnotes-list-label':t('Footnotes')}),_0x2e710f=_0x352a26(_0x4dfe1c,_0x3c0f6c,{'hasSelectionHandle':!0x0,'label':t('Footnotes')});return _0x3c0f6c['setCustomProperty']('footnotesDefinitions',!0x0,_0x2e710f),_0x2e710f;}});}['_defineDefinitionConverters'](){const {editor:_0x290a36}=this,{conversion:_0x21b62f,locale:_0x3d12be}=_0x290a36,_0x27e56b=_0x290a36['config']['get']('footnotes.multiBlock');_0x21b62f['for']('upcast')['add'](_0x2b067c=>{_0x2b067c['on']('element:li',(_0x36965f,_0x328dcf,_0xe5f8b)=>{const _0x1b098e=_0x328dcf['viewItem'];if(!_0x1b098e['hasClass']('footnote-definition')||!_0x1b098e['getAttribute']('id'))return;const _0x4de1e1=_0x1b098e['parent'];if(!_0x4de1e1['is']('element','ol')||!_0x4de1e1['hasClass']('footnotes-list'))return;if(!_0xe5f8b['consumable']['test'](_0x1b098e,{'name':!0x0,'attributes':'id','classes':'footnote-definition'}))return;const _0x5ed509=_0xe5f8b['writer']['createElement']('footnoteDefinition',{'footnoteId':_0x1b098e['getAttribute']('id')});if(!_0xe5f8b['safeInsert'](_0x5ed509,_0x328dcf['modelCursor']))return;_0xe5f8b['consumable']['consume'](_0x1b098e,{'name':!0x0,'attributes':'id','classes':'footnote-definition'});const _0x3d77ba=Array['from'](_0x1b098e['getChildren']())['find'](_0xfbd08c=>_0xfbd08c['is']('element')&&_0xfbd08c['hasClass']('footnote-content'));for(const _0x366f4c of _0x1b098e['getChildren']())_0x366f4c['is']('element')&&(_0xe5f8b['consumable']['consume'](_0x366f4c,{'name':!0x0,'classes':'footnote-backlink','attributes':'href'}),_0xe5f8b['consumable']['consume'](_0x366f4c,{'name':!0x0,'classes':'footnote-content'}));if(_0x3d77ba){if(_0x27e56b)_0xe5f8b['convertChildren'](_0x3d77ba,_0x5ed509);else{const _0x2fb164=_0xe5f8b['writer']['createElement']('footnoteInlineContent');_0xe5f8b['writer']['insert'](_0x2fb164,_0x5ed509),_0xe5f8b['convertChildren'](_0x3d77ba,_0x2fb164);}}_0xe5f8b['updateConversionResult'](_0x5ed509,_0x328dcf);});}),_0x21b62f['for']('dataDowncast')['elementToStructure']({'model':{'name':'footnoteDefinition','attributes':['footnoteId']},'view':(_0x93e12e,{writer:_0x391c37})=>b(_0x93e12e,_0x391c37,_0x3d12be,{'dataPipeline':!0x0})}),_0x21b62f['for']('editingDowncast')['elementToStructure']({'model':{'name':'footnoteDefinition','attributes':['footnoteId']},'view':(_0x1e0c94,{writer:_0x5d9cba})=>b(_0x1e0c94,_0x5d9cba,_0x3d12be)});}['_defineBogusParagraphConverters'](){const {editor:_0x18a1b0}=this,{conversion:_0x1a0660}=_0x18a1b0;_0x18a1b0['config']['get']('footnotes.multiBlock')?(_0x1a0660['for']('editingDowncast')['elementToElement']({'model':'paragraph','view':h(),'converterPriority':'high'}),_0x1a0660['for']('dataDowncast')['elementToElement']({'model':'paragraph','view':h({'dataPipeline':!0x0}),'converterPriority':'high'}),this['listenTo'](_0x18a1b0['model']['document'],'change:data',()=>{!function(_0x5a8c95,_0x115871){const _0x389de7=_0x5a8c95['document']['differ'],_0x110e84=new Set();for(const _0x23d4ea of _0x389de7['getChanges']()){const _0x297bc5='attribute'==_0x23d4ea['type']?_0x23d4ea['range']['start']['parent']:_0x23d4ea['position']['parent'];_0x297bc5['is']('element','footnoteDefinition')&&_0x110e84['add'](_0x297bc5);}for(const _0x17bdab of _0x110e84['values']()){const _0x251813=Array['from'](_0x17bdab['getChildren']())['filter'](_0x200840=>g(_0x200840,_0x115871['mapper']));for(const _0x26bebc of _0x251813)_0x115871['reconvertItem'](_0x26bebc);}}(_0x18a1b0['model'],_0x18a1b0['editing']);})):(_0x1a0660['for']('editingDowncast')['elementToElement']({'model':'footnoteInlineContent','view':h()}),_0x1a0660['for']('dataDowncast')['elementToElement']({'model':'footnoteInlineContent','view':(_0x5ea38b,{writer:_0x59d329})=>{const _0x3ce1d6=_0x59d329['createContainerElement']('span');return _0x59d329['setCustomProperty']('dataPipeline:transparentRendering',!0x0,_0x3ce1d6),_0x3ce1d6;}}));}['_defineKeyboardHandlers'](){const {editor:_0x597fdd}=this,{editing:_0x1befd4,t:t}=_0x597fdd,_0x4e328f=_0x597fdd['model']['document']['selection'];_0x597fdd['keystrokes']['set']('Ctrl+Alt+F','insertFootnote'),_0x597fdd['accessibility']['addKeystrokeInfos']({'keystrokes':[{'label':t('Insert\x20footnote'),'keystroke':'Ctrl+Alt+F'}]}),this['listenTo'](_0x1befd4['view']['document'],'enter',(_0xb9724d,_0x501861)=>{const _0x569e2d=function(_0x4dc5fc){const _0xa5370c=_0x4dc5fc['getSelectedElement']();if(_0xa5370c?.['is']('element','footnoteRef'))return _0xa5370c;return null;}(_0x4e328f);if(_0x569e2d){const _0x2676b0=_0x569e2d['getAttribute']('footnoteId');this['_moveSelectionToFootnoteDefinition'](_0x2676b0),_0x501861['preventDefault'](),_0xb9724d['stop']();}},{'context':_0x2fb996});}['_defineClickHandlers'](){const {editor:_0x472dec}=this,{editing:_0x397ad3}=_0x472dec;_0x472dec['editing']['view']['addObserver'](_0x54c9f8),_0x472dec['editing']['view']['addObserver'](_0x48397f);let _0x4dafd7=!0x1;this['listenTo'](_0x397ad3['view']['document'],'pointerdown',(_0x4eaf47,_0x700a0c)=>{const {target:_0x3f7c33}=_0x700a0c,_0x121c9e=_0x397ad3['view']['document']['selection'];_0x4dafd7=!!(_0x3f7c33?.['is']('element','a')&&_0x3f7c33['parent']?.['is']('element','sup')&&_0x3f7c33['parent']['hasClass']('footnote'))&&_0x121c9e['getSelectedElement']()===_0x3f7c33['parent'];},{'priority':'high'}),this['listenTo'](_0x397ad3['view']['document'],'click',(_0x1a16f8,_0xada3b)=>{const {target:_0x9f33e0}=_0xada3b;if(!_0x9f33e0?.['is']('element','a'))return;if(_0x9f33e0['parent']?.['is']('element','sup')&&_0x9f33e0['parent']['hasClass']('footnote')&&!_0x4dafd7)return void _0xada3b['preventDefault']();let _0x29d10e=_0x9f33e0['getAttribute']('href');if(!_0x29d10e?.['startsWith']('#'))return;_0x29d10e=_0x29d10e['slice'](0x1);let _0x596d9f=!0x1;(_0x29d10e['startsWith']('ref-')&&this['_moveSelectionToFootnoteReference'](_0x29d10e['slice'](0x4))||this['_moveSelectionToFootnoteDefinition'](_0x29d10e))&&(_0x596d9f=!0x0),_0x596d9f&&(_0xada3b['preventDefault'](),_0x1a16f8['stop']());},{'priority':'high','context':'$capture'});}}function h({dataPipeline:_0x29c5a8}={}){return(_0x59382b,{writer:_0x4936dc})=>{if(!p(_0x59382b))return null;if(!_0x29c5a8)return _0x4936dc['createContainerElement']('span',{'class':'ck-footnote-bogus-paragraph'});const _0x1750c9=_0x4936dc['createContainerElement']('p');return _0x4936dc['setCustomProperty']('dataPipeline:transparentRendering',!0x0,_0x1750c9),_0x1750c9;};}function p(_0x244594){const {parent:_0x563561}=_0x244594;if(!_0x563561?.['is']('element','footnoteDefinition'))return!0x1;if(0x1!=_0x563561['childCount'])return!0x1;for(const _0x1bc1ef of _0x244594['getAttributeKeys']())if(!_0x1bc1ef['startsWith']('selection:')&&'htmlEmptyBlock'!=_0x1bc1ef)return!0x1;return!0x0;}function g(_0x25c7c9,_0x38df50){if(!_0x25c7c9['is']('element','paragraph'))return!0x1;const _0x59e4a9=_0x38df50['toViewElement'](_0x25c7c9);return!!_0x59e4a9&&p(_0x25c7c9)!==_0x59e4a9['is']('element','span');}function $(_0x5ed0cd){return _0x2fb996(_0x5ed0cd)&&_0x5ed0cd['is']('containerElement')&&!!_0x5ed0cd['getCustomProperty']('footnotesDefinitions');}function v(_0x362fb0,_0x1bb55b={}){const _0x75e56b=_0x362fb0['createEmptyElement']('hr',{'class':'footnotes-divider'}),_0x458143=_0x362fb0['createContainerElement']('ol',{'class':'footnotes-list'},_0x362fb0['createSlot']());return _0x362fb0['createContainerElement']('div',{'class':'footnotes',..._0x1bb55b},[_0x75e56b,_0x458143]);}function D(_0x14947e,_0x3d985b){const _0x1a2a7b=_0x14947e['getAttribute']('footnoteId'),_0x14fbf0=_0x14947e['getAttribute']('footnoteCounter'),_0x47de38=_0x3d985b['createUIElement']('a',{'href':'#'+_0x1a2a7b},function(_0xb6f80f){const _0x49a681=this['toDomElement'](_0xb6f80f);return _0x49a681['textContent']=_0x14fbf0,_0x49a681;}),_0x2677d3=_0x3d985b['createContainerElement']('sup',{'id':'ref-'+_0x1a2a7b,'class':'footnote'},[_0x47de38]);return _0x2677d3['getFillerOffset']=()=>null,_0x2677d3;}function b(_0x5c0df5,_0x55b81a,_0xdda213,{dataPipeline:_0x3cb31e}={}){const {t:t}=_0xdda213,_0x4a4cff=_0x5c0df5['getAttribute']('footnoteId'),_0x1753ec=_0x55b81a['createUIElement']('a',{'class':'footnote-backlink','href':'#ref-'+_0x4a4cff},function(_0x4497b7){const _0x48692d=this['toDomElement'](_0x4497b7);return _0x48692d['innerText']='^',_0x48692d;}),_0x1b451b=_0x3cb31e?_0x55b81a['createContainerElement']('div',{'class':'footnote-content'}):_0xc19423(_0x55b81a['createEditableElement']('div',{'class':'footnote-content'}),_0x55b81a,{'label':t('Footnote\x20content.')});return _0x55b81a['insert'](_0x55b81a['createPositionAt'](_0x1b451b,0x0),_0x55b81a['createSlot']()),_0x55b81a['createContainerElement']('li',{'class':'footnote-definition','id':_0x4a4cff},[_0x1753ec,_0x1b451b]);}class e extends _0x273f4a{static get['pluginName'](){return'FootnotesClipboard';}static get['requires'](){return[r,_0x566352];}static get['isOfficialPlugin'](){return!0x0;}static get['isPremiumPlugin'](){return!0x0;}['init'](){this['_defineClipboardIntegration']();}['_defineClipboardIntegration'](){this['_handleCopyFootnotesDefinitions'](),this['_handlePasteFootnotesDefinitions']();}['_handleCopyFootnotesDefinitions'](){const {editor:_0x48401c}=this,{plugins:_0x3f92e1,model:_0x58ef00}=_0x48401c,_0x303330=_0x3f92e1['get'](_0x566352),_0x32438f=_0x3f92e1['get'](f);this['listenTo'](_0x303330,'outputTransformation',(_0x57ee6b,_0x51a874)=>{const _0xdcf74e=c(_0x58ef00['createRangeIn'](_0x51a874['content']));if(!_0xdcf74e['length'])return;const _0x5d892c=_0x32438f['getFootnotes'](),_0x5ce5e3=_0xdcf74e['reduce']((_0x1d2f29,_0x1e705a)=>{const _0x112710=_0x5d892c['find'](_0x1ddf41=>_0x1ddf41['id']===_0x1e705a);if(_0x112710){const _0x47a50b=_0x48401c['data']['toView'](_0x112710['definition'],{'isClipboardPipeline':!0x0}),_0x26164f=_0x48401c['data']['htmlProcessor']['toData'](_0x47a50b);_0x1d2f29[_0x112710['id']]=_0x26164f;}return _0x1d2f29;},Object['create'](null));_0x51a874['dataTransfer']['setData']('application/ckeditor5-footnotes',JSON['stringify'](_0x5ce5e3));});}['_handlePasteFootnotesDefinitions'](){const {editor:_0x3b59fc}=this,{model:_0x201dd7,plugins:_0x330eba}=_0x3b59fc,{view:_0x59926c}=_0x3b59fc['editing'],_0x50cbf5=_0x330eba['get'](_0x566352),_0x1b22e4=_0x330eba['get'](f),_0xc567b6=_0x3b59fc['config']['get']('footnotes.multiBlock');let _0x24d0cd=null;this['listenTo'](_0x59926c['document'],'clipboardInput',(_0x10a2d9,_0xc0d150)=>{const _0x90cc1b=_0xc0d150['dataTransfer']['getData']('application/ckeditor5-footnotes');_0x24d0cd=_0x90cc1b?JSON['parse'](_0x90cc1b):null;}),this['listenTo'](_0x50cbf5,'contentInsertion',(_0x5dc66f,_0x1d774e)=>{const _0x442062=_0x1d774e['sourceEditorId']===this['editor']['id'];_0x442062&&'drop'===_0x1d774e['method']||_0x201dd7['change'](_0x132bfe=>{let _0x41b9af=_0x1b22e4['getFootnotesDefinitionsObjectElement']();const _0x5e8b91=!!_0x41b9af&&Array['from'](_0x201dd7['document']['selection']['getSelectedBlocks']())['includes'](_0x41b9af);if((_0x41b9af&&!_0x5e8b91||!_0x41b9af&&!_0x24d0cd)&&function(_0x582bb5,_0xf60038){const _0xa4a866=[];for(const {item:_0xe90206}of _0x582bb5['createRangeIn'](_0xf60038))_0xe90206['is']('element','footnotesDefinitions')&&_0xa4a866['push'](_0xe90206);for(const _0x180d67 of _0xa4a866)_0x582bb5['remove'](_0x180d67);}(_0x132bfe,_0x1d774e['content']),!_0x24d0cd)return;const {selection:_0x1f0279}=_0x201dd7['document'],_0x293b13=_0x1f0279['getFirstRange']()['root'];_0x41b9af&&!_0x5e8b91||(_0x41b9af=function(_0x35aaa9,_0x4e2f63){for(const {item:_0x191036}of _0x35aaa9['createRangeIn'](_0x4e2f63))if(_0x191036['is']('element','footnotesDefinitions'))return _0x191036;return null;}(_0x132bfe,_0x1d774e['content']),_0x41b9af||=_0x1b22e4['_insertEmptyFootnotesDefinitionsContainer'](_0x132bfe,_0x293b13));const _0x1130b9=Array['from'](_0x1f0279['getRanges']())['flatMap'](c),_0x43600d=function(_0x4bd873,_0x580c2f,_0x5b68d9){const _0x81e20e=Object['create'](null);for(const {item:_0x165f1d}of _0x4bd873['createRangeIn'](_0x580c2f))if(_0x165f1d['is']('element','footnoteRef')){const _0x5987a1=_0x165f1d['getAttribute']('footnoteId');if(!_0x5b68d9(_0x5987a1))continue;_0x81e20e[_0x5987a1]||(_0x81e20e[_0x5987a1]=_0x420e0d()),_0x4bd873['setAttribute']('footnoteId',_0x81e20e[_0x5987a1],_0x165f1d);}return _0x81e20e;}(_0x132bfe,_0x1d774e['content'],_0x6b86c8=>{if(!_0x442062)return!0x0;return!!_0x1b22e4['getFootnote'](_0x6b86c8)&&!_0x1130b9['includes'](_0x6b86c8);});for(const [_0x131e2e,_0x2e8e0b]of Object['entries'](_0x24d0cd)){const _0x3e5800=_0x43600d[_0x131e2e]||_0x131e2e,_0x49c894=_0x132bfe['createElement']('footnoteDefinition',{'footnoteId':_0x3e5800}),_0x98d731=_0x3b59fc['data']['htmlProcessor']['toView'](_0x2e8e0b);let _0x2e01a6;if(_0xc567b6)_0x2e01a6=_0x3b59fc['data']['toModel'](_0x98d731,_0x49c894);else{_0x2e01a6=_0x132bfe['createElement']('footnoteInlineContent');const _0x4397d2=_0x3b59fc['data']['toModel'](_0x98d731,_0x2e01a6);_0x132bfe['insert'](_0x4397d2,_0x2e01a6);}_0x132bfe['append'](_0x2e01a6,_0x49c894),_0x132bfe['insert'](_0x49c894,_0x41b9af,'end');}_0x24d0cd=null;});});}}function c(_0x33a41b){const _0x362c2a=new Set();for(const {item:_0xea220}of _0x33a41b)_0xea220['is']('element','footnoteRef')&&_0x362c2a['add'](_0xea220['getAttribute']('footnoteId'));return Array['from'](_0x362c2a);}class i extends _0x273f4a{['licenseKey'];['_licenseKeyCheckInterval'];static get['pluginName'](){return'FootnotesUI';}static get['isOfficialPlugin'](){return!0x0;}static get['isPremiumPlugin'](){return!0x0;}['init'](){const {editor:_0x1d0185}=this,{componentFactory:_0x2841bd}=_0x1d0185['ui'];_0x2841bd['add']('insertFootnote',x(_0x1d0185,_0x198b0f)),_0x2841bd['add']('menuBar:insertFootnote',x(_0x1d0185,_0x5f5250)),this['licenseKey']=this['editor']['config']['get']('licenseKey');const _0x10fdae=this['editor'];this['_licenseKeyCheckInterval']=setInterval(()=>{let _0x2cd1f8;for(const _0x153370 in _0x10fdae){const _0x4b9142=_0x153370,_0x3452d4=_0x10fdae[_0x4b9142];if('footnotesLicenseKeyValid'==_0x3452d4||'footnotesLicenseKeyInvalid'==_0x3452d4||'footnotesLicenseKeyExpired'==_0x3452d4||'footnotesLicenseKeyDomainLimit'==_0x3452d4||'footnotesLicenseKeyNotAllowed'==_0x3452d4||'footnotesLicenseKeyEvaluationLimit'==_0x3452d4||'footnotesLicenseKeyTrialLimit'==_0x3452d4||'footnotesLicenseKeyUsageLimit'==_0x3452d4){delete _0x10fdae[_0x4b9142],_0x2cd1f8=_0x3452d4,clearInterval(this['_licenseKeyCheckInterval']),this['_licenseKeyCheckInterval']=void 0x0;break;}}'footnotesLicenseKeyInvalid'==_0x2cd1f8&&_0x10fdae['_showLicenseError']('invalid'),'footnotesLicenseKeyExpired'==_0x2cd1f8&&_0x10fdae['_showLicenseError']('expired'),'footnotesLicenseKeyDomainLimit'==_0x2cd1f8&&_0x10fdae['_showLicenseError']('domainLimit'),'footnotesLicenseKeyNotAllowed'==_0x2cd1f8&&_0x10fdae['_showLicenseError']('featureNotAllowed','Footnotes'),'footnotesLicenseKeyEvaluationLimit'==_0x2cd1f8&&_0x10fdae['_showLicenseError']('evaluationLimit'),'footnotesLicenseKeyTrialLimit'==_0x2cd1f8&&_0x10fdae['_showLicenseError']('trialLimit'),'footnotesLicenseKeyUsageLimit'==_0x2cd1f8&&_0x10fdae['_showLicenseError']('usageLimit');},0x3e8);}['destroy'](){super['destroy'](),this['_licenseKeyCheckInterval']&&clearInterval(this['_licenseKeyCheckInterval']);}}function x(_0x7142ac,_0x2d7d59){const _0x2e3b49=_0x7142ac['commands']['get']('insertFootnote');return _0x550cdb=>{const {t:t}=_0x550cdb,_0x2c6164=new _0x2d7d59(_0x550cdb),_0x305700=_0x2c6164 instanceof _0x5f5250;return _0x2c6164['bind']('isEnabled')['to'](_0x2e3b49,'isEnabled'),_0x2c6164['set']({'label':t(_0x305700?'Footnote':'Insert\x20footnote'),'icon':_0x1e006b,'tooltip':!0x0}),_0x2c6164['on']('execute',()=>{_0x2e3b49['execute'](),_0x7142ac['editing']['view']['focus']();}),_0x2c6164;};}class lt extends _0x273f4a{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 _0x54becd{['refresh'](){const {editor:_0x23d4ae}=this,_0x5e6804=_0x23d4ae['plugins']['get'](f)['getFootnotesDefinitionsObjectElement']();this['isEnabled']=!!_0x5e6804,this['value']=_0x5e6804?.['getAttribute']('footnotesListStyle')??null;}['execute']({value:_0x41864d}){const {editor:_0x243d56}=this,_0x54d084=_0x243d56['plugins']['get'](f),_0x3958fb=_0x54d084['getFootnotesDefinitionsObjectElement']();_0x3958fb&&Q['includes'](_0x41864d)&&_0x243d56['model']['change'](_0x49fdc8=>{_0x49fdc8['setAttribute']('footnotesListStyle',_0x41864d,_0x3958fb),_0x54d084['_updateFootnotesCounters'](_0x49fdc8);});}}class C extends _0x54becd{['refresh'](){const {editor:_0x3f4761}=this,_0x51fcd3=_0x3f4761['plugins']['get'](f)['getFootnotesDefinitionsObjectElement']();this['isEnabled']=!!_0x51fcd3,this['value']=_0x51fcd3?.['getAttribute']('footnotesListStart')??null;}['execute']({value:_0x407ccc}){const {editor:_0x5ecc28}=this,_0x3f1daf=_0x5ecc28['plugins']['get'](f),_0x5bd89e=_0x3f1daf['getFootnotesDefinitionsObjectElement']();_0x5bd89e&&Number['isInteger'](_0x407ccc)&&_0x5ecc28['model']['change'](_0x3f8e7f=>{_0x3f8e7f['setAttribute']('footnotesListStart',_0x407ccc,_0x5bd89e),_0x3f1daf['_updateFootnotesCounters'](_0x3f8e7f);});}}class P extends _0x273f4a{static get['pluginName'](){return'FootnotesPropertiesEditing';}static get['requires'](){return[r,f];}static get['isOfficialPlugin'](){return!0x0;}static get['isPremiumPlugin'](){return!0x0;}['init'](){const {editor:_0x2c99b4}=this;_0x2c99b4['config']['define']('footnotes.footnotesProperties.defaultListStyle','decimal'),_0x2c99b4['config']['define']('footnotes.footnotesProperties.defaultStartIndex',0x1),_0x2c99b4['commands']['add']('footnotesStyle',new S(_0x2c99b4)),_0x2c99b4['commands']['add']('footnotesStart',new C(_0x2c99b4)),this['_defineSchema'](),this['_defineConverters'](),this['_defineFormatter'](),this['_definePostfixer']();}['_defineSchema'](){const {editor:_0x2897e2}=this,{schema:_0x373b8c}=_0x2897e2['model'];_0x373b8c['extend']('footnotesDefinitions',{'allowAttributes':['footnotesListStyle','footnotesListStart']});}['_defineConverters'](){const {editor:_0x2a6e7c}=this,{conversion:_0x3600c4,model:_0x23e31b}=_0x2a6e7c,{schema:_0x44bbb9}=_0x23e31b;_0x3600c4['for']('upcast')['add'](_0x2ca15e=>{_0x2ca15e['on']('element:ol',(_0x3d2ba0,_0x4e0ce2,_0x53d5ad)=>{const _0xba66fb=_0x4e0ce2['viewItem'],_0xb85d69=_0x4e0ce2['modelCursor']?.['parent'];_0xba66fb['hasClass']('footnotes-list')&&_0xb85d69?.['is']('element','footnotesDefinitions')&&(function(_0x1f04ba,_0x5370e8,_0x114564,_0x57a54e){if(!_0x57a54e['checkAttribute'](_0x5370e8,'footnotesListStart'))return;let _0x130e46=0x1;const _0x57d483=_0x114564['consumable']['consume'](_0x1f04ba,{'attributes':'start'});if(_0x57d483){const _0x4e528f=Number['parseInt'](_0x1f04ba['getAttribute']('start'),0xa);Number['isNaN'](_0x4e528f)||(_0x130e46=_0x4e528f);}!_0x57d483&&_0x5370e8['hasAttribute']('footnotesListStart')||_0x114564['writer']['setAttribute']('footnotesListStart',_0x130e46,_0x5370e8);}(_0xba66fb,_0xb85d69,_0x53d5ad,_0x44bbb9),function(_0x599d43,_0x21cdc4,_0x496c65,_0x23a5fd){if(!_0x23a5fd['checkAttribute'](_0x21cdc4,'footnotesListStyle'))return;let _0xaae4e1='decimal',_0xa8385c=!0x1;if(_0x496c65['consumable']['consume'](_0x599d43,{'attributes':'type'})){const _0x2504bb={0x1:'decimal','a':'lower-alpha','A':'upper-alpha','i':'lower-roman','I':'upper-roman'}[_0x599d43['getAttribute']('type')];_0x2504bb&&(_0xaae4e1=_0x2504bb),_0xa8385c=!0x0;}_0x496c65['consumable']['consume'](_0x599d43,{'styles':'list-style-type'})&&(_0xaae4e1=function(_0x1e72f9){switch(_0x1e72f9){case'lower-alpha':return'lower-latin';case'upper-alpha':return'upper-latin';default:return _0x1e72f9;}}(_0x599d43['getStyle']('list-style-type')),_0xa8385c=!0x0),!_0xa8385c&&_0x21cdc4['hasAttribute']('footnotesListStyle')||_0x496c65['writer']['setAttribute']('footnotesListStyle',_0xaae4e1,_0x21cdc4);}(_0xba66fb,_0xb85d69,_0x53d5ad,_0x44bbb9));});}),_0x3600c4['for']('downcast')['add'](_0x2718e3=>{_0x2718e3['on']('attribute:footnotesListStart:footnotesDefinitions',(_0x32f6e3,_0x2bfc4a,_0x2393d1)=>{if(!_0x2393d1['consumable']['consume'](_0x2bfc4a['item'],_0x32f6e3['name']))return;const _0x4e823e=M(_0x2bfc4a['item'],_0x2393d1['mapper']),{attributeNewValue:_0x35d8fa}=_0x2bfc4a;null==_0x35d8fa||0x1===_0x35d8fa?_0x2393d1['writer']['removeAttribute']('start',_0x4e823e):_0x2393d1['writer']['setAttribute']('start',String(_0x35d8fa),_0x4e823e);}),_0x2718e3['on']('attribute:footnotesListStyle:footnotesDefinitions',(_0x4e0684,_0x416227,_0x39c65f)=>{if(!_0x39c65f['consumable']['consume'](_0x416227['item'],_0x4e0684['name']))return;const _0x5ea769=M(_0x416227['item'],_0x39c65f['mapper']),{attributeNewValue:_0x228736}=_0x416227;_0x228736&&'decimal'!==_0x228736?_0x39c65f['writer']['setStyle']('list-style-type',_0x228736,_0x5ea769):_0x39c65f['writer']['removeStyle']('list-style-type',_0x5ea769);});});}['_definePostfixer'](){const {editor:_0x59ae66}=this,{model:_0x34fd08}=_0x59ae66,_0x2010d7=_0x59ae66['plugins']['get'](f),_0x535ed0=this['_getDefaultListStyle'](),_0x54e983=this['_getDefaultStartIndex']();_0x34fd08['document']['registerPostFixer'](_0x3a33ca=>{const _0x1d7804=_0x34fd08['document']['differ']['getChanges']();let _0x3323ee=!0x1;for(const _0x2e130a of _0x1d7804){if('insert'!==_0x2e130a['type']||'$text'===_0x2e130a['name'])continue;const _0x31b015=_0x34fd08['createRangeOn'](_0x2e130a['position']['nodeAfter']);for(const _0x31b5f1 of _0x31b015['getItems']())_0x31b5f1['is']('element','footnotesDefinitions')&&(!_0x31b5f1['hasAttribute']('footnotesListStart')&&_0x34fd08['schema']['checkAttribute'](_0x31b5f1,'footnotesListStart')&&(_0x3a33ca['setAttribute']('footnotesListStart',_0x54e983,_0x31b5f1),_0x3323ee=!0x0),!_0x31b5f1['hasAttribute']('footnotesListStyle')&&_0x34fd08['schema']['checkAttribute'](_0x31b5f1,'footnotesListStyle')&&(_0x3a33ca['setAttribute']('footnotesListStyle',_0x535ed0,_0x31b5f1),_0x3323ee=!0x0));}return _0x3323ee&&_0x2010d7['_updateFootnotesCounters'](_0x3a33ca),_0x3323ee;});}['_defineFormatter'](){const {editor:_0xfef39c}=this;_0xfef39c['plugins']['get'](f)['setFootnoteFormatter'](_0x35aee8=>this['_formatFootnoteListValue'](_0x35aee8));}['_getDefaultListStyle'](){return this['editor']['config']['get']('footnotes.footnotesProperties.defaultListStyle');}['_getDefaultStartIndex'](){return this['editor']['config']['get']('footnotes.footnotesProperties.defaultStartIndex');}['_formatFootnoteListValue']({container:_0x40c43b,value:_0x239498,digits:_0x1f4dd2}){const _0x147f08=_0x40c43b['getAttribute']('footnotesListStyle'),_0x269220=_0x40c43b['getAttribute']('footnotesListStart'),_0xb774c3=Math['floor'](_0x239498)+(_0x269220??0x1)-0x1;switch(_0x147f08){case'decimal-leading-zero':return function(_0x2fc999,_0x459a69){return String(_0x2fc999)['padStart'](_0x459a69,'0');}(_0xb774c3,Math['max'](0x2,_0x1f4dd2));case'lower-alpha':case'lower-latin':return N(_0xb774c3,!0x1);case'upper-alpha':case'upper-latin':return N(_0xb774c3,!0x0);case'lower-roman':return X(_0xb774c3,!0x1);case'upper-roman':return X(_0xb774c3,!0x0);default:return String(_0xb774c3);}}}function M(_0x2ed835,_0x2d4d24){const _0xb52d99=_0x2d4d24['toViewElement'](_0x2ed835);return Array['from'](_0xb52d99['getChildren']())['find'](_0x3f3d9a=>_0x3f3d9a['is']('element','ol')&&_0x3f3d9a['hasClass']('footnotes-list'));}function N(_0x38a62e,_0x18a8a2){let _0x13817f='',_0x481854=_0x38a62e;for(;_0x481854>0x0;){const _0x9bc918=(_0x481854-0x1)%0x1a;_0x13817f=String['fromCharCode'](0x61+_0x9bc918)+_0x13817f,_0x481854=Math['floor']((_0x481854-0x1)/0x1a);}return _0x18a8a2?_0x13817f['toUpperCase']():_0x13817f;}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(_0x2b5928,_0x204b3d){let _0x4cb022='',_0x59eff2=_0x2b5928;for(const {value:_0x48d30b,numeral:_0x5a83b6}of V)for(;_0x59eff2>=_0x48d30b;)_0x4cb022+=_0x5a83b6,_0x59eff2-=_0x48d30b;return _0x204b3d?_0x4cb022:_0x4cb022['toLowerCase']();}class R extends _0x2835d4{['children'];['stylesView']=null;['additionalProperties']=null;['startIndexFieldView']=null;['focusTracker']=new ot();['keystrokes']=new rt();['focusables']=new _0x162f6c();['focusCycler'];constructor(_0x1fcc47,{styleButtonViews:_0x4424f0,styleGridAriaLabel:_0x5a1a1f}){super(_0x1fcc47),(this['focusCycler']=new _0x2d8567({'focusables':this['focusables'],'focusTracker':this['focusTracker'],'keystrokeHandler':this['keystrokes'],'actions':{'focusPrevious':'shift\x20+\x20tab','focusNext':'tab'}}),this['children']=this['createCollection'](),this['stylesView']=this['_appendStylesView'](_0x4424f0,_0x5a1a1f),[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 _0x45e12b of this['stylesView']['children'])this['stylesView']['focusTracker']['add'](_0x45e12b['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 _0x2934ba=_0x5c565b=>_0x5c565b['stopPropagation']();this['keystrokes']['set']('arrowright',_0x2934ba),this['keystrokes']['set']('arrowleft',_0x2934ba),this['keystrokes']['set']('arrowup',_0x2934ba),this['keystrokes']['set']('arrowdown',_0x2934ba);}this['keystrokes']['listenTo'](this['element']);}['focus'](){this['focusCycler']['focusFirst']();}['focusLast'](){this['focusCycler']['focusLast']();}['destroy'](){super['destroy'](),this['focusTracker']['destroy'](),this['keystrokes']['destroy']();}['_appendStylesView'](_0x5141f1,_0x51dd81){const _0x5b1cf2=new _0x2835d4(this['locale']);return _0x5b1cf2['children']=_0x5b1cf2['createCollection'](),_0x5b1cf2['children']['addMany'](_0x5141f1),_0x5b1cf2['setTemplate']({'tag':'div','attributes':{'aria-label':_0x51dd81,'class':['ck','ck-footnotes-definitions-styles-list']},'children':_0x5b1cf2['children']}),_0x5b1cf2['children']['delegate']('execute')['to'](this),_0x5b1cf2['focus']=function(){for(const _0x41196c of this['children'])if(_0x41196c instanceof _0x198b0f&&_0x41196c['isOn'])return void _0x41196c['focus']();this['children']['first']['focus']();},_0x5b1cf2['focusTracker']=new ot(),_0x5b1cf2['keystrokes']=new rt(),_0x5b1cf2['render'](),_0x5b1cf2['keystrokes']['listenTo'](_0x5b1cf2['element']),this['children']['add'](_0x5b1cf2),_0x5b1cf2;}['_appendAdditionalPropertiesCollapsibleView'](){const {t:t}=this['locale'],_0x14c4e3=this['_createStartIndexPropertyView'](),_0x5352da=[_0x14c4e3],_0x401e72=new st(this['locale'],_0x5352da);return _0x401e72['set']({'label':t('Footnotes\x20properties'),'isCollapsed':!0x0}),_0x401e72['buttonView']['bind']('isEnabled')['toMany'](_0x5352da,'isEnabled',(..._0x2f89ba)=>_0x2f89ba['some'](_0x2d1334=>_0x2d1334)),_0x401e72['buttonView']['on']('change:isEnabled',(_0x19cf8f,_0x3099ff,_0x3baaf2)=>{_0x3baaf2||(_0x401e72['isCollapsed']=!0x0);}),this['children']['add'](_0x401e72),[_0x14c4e3,_0x401e72];}['_createStartIndexPropertyView'](){const {t:t}=this['locale'],_0x2af7d9=new it(this['locale'],et);return _0x2af7d9['set']({'label':t('Footnotes\x20start\x20at'),'class':'ck-footnotes-definitions-properties__start-index'}),_0x2af7d9['fieldView']['set']({'min':0x0,'max':Math['pow'](0x2,0x1e),'step':0x1,'value':0x1,'inputMode':'numeric'}),_0x2af7d9['fieldView']['on']('input',()=>{const _0x4fa229=_0x2af7d9['fieldView']['element'],_0x1405ec=_0x4fa229['valueAsNumber'];Number['isNaN'](_0x1405ec)?_0x2af7d9['errorText']=t('Invalid\x20footnotes\x20start\x20index\x20value.'):_0x4fa229['checkValidity']()?this['fire']('footnotesListStart',{'startIndex':_0x1405ec}):_0x2af7d9['errorText']=t(_0x1405ec<0x0?'Footnotes\x20start\x20index\x20must\x20be\x20greater\x20than\x200.':'Footnotes\x20start\x20index\x20is\x20too\x20large.');}),_0x2af7d9;}}class j extends _0x273f4a{static get['pluginName'](){return'FootnotesPropertiesUI';}static get['requires'](){return[_0xb8113c,_0x2c7926];}static get['isOfficialPlugin'](){return!0x0;}static get['isPremiumPlugin'](){return!0x0;}['init'](){const {editor:_0x32cea8}=this,{componentFactory:_0x52fea4}=_0x32cea8['ui'];_0x32cea8['config']['define']('footnotes.footnotesProperties.toolbar',['footnotesStyle']),_0x52fea4['add']('footnotesStyle',function(_0x370c86){return _0xba3b4c=>{const {t:t}=_0xba3b4c,_0x25d5bb=_0x370c86['commands']['get']('footnotesStyle'),_0x3673f6=_0x381698(_0xba3b4c),{buttonView:_0x3c0bbd}=_0x3673f6;return _0x3673f6['class']='ck-footnotes-styles-dropdown',_0x3673f6['bind']('isEnabled')['to'](_0x25d5bb,'isEnabled'),_0x3c0bbd['set']({'label':t('Footnotes\x20style'),'icon':_0x1e006b,'tooltip':!0x0}),_0x3673f6['once']('change:isOpen',()=>{const _0x1e5454=function({editor:_0x2b681d,dropdownView:_0x53a8fb}){const {t:t}=_0x2b681d['locale'],_0x57c353=t('Footnotes\x20definitions\x20styles'),_0x5c1031=function(_0x8b1022){const t=_0x8b1022['locale']['t'],_0x4dfd63=[{'label':t('Toggle\x20the\x20decimal\x20footnotes\x20style'),'tooltip':t('Decimal\x20footnotes'),'style':'decimal','icon':_0x15a08c},{'label':t('Toggle\x20the\x20decimal\x20with\x20leading\x20zero\x20footnotes\x20style'),'tooltip':t('Decimal\x20footnotes\x20with\x20leading\x20zero'),'style':'decimal-leading-zero','icon':_0x264bb0},{'label':t('Toggle\x20the\x20lower–roman\x20footnotes\x20style'),'tooltip':t('Lower–roman\x20footnotes'),'style':'lower-roman','icon':_0x375405},{'label':t('Toggle\x20the\x20upper–roman\x20footnotes\x20style'),'tooltip':t('Upper-roman\x20footnotes'),'style':'upper-roman','icon':_0x217d48},{'label':t('Toggle\x20the\x20lower–latin\x20footnotes\x20style'),'tooltip':t('Lower-latin\x20footnotes'),'style':'lower-latin','icon':_0x40d259},{'label':t('Toggle\x20the\x20upper–latin\x20footnotes\x20style'),'tooltip':t('Upper-latin\x20footnotes'),'style':'upper-latin','icon':_0x4d31f5}];return _0x4dfd63['map'](function(_0x2cdba4){const _0x5ac438=_0x2cdba4['locale'];return({label:_0x57b4a2,icon:_0x26b19a,tooltip:_0x35abdd,style:_0x4e1cb9})=>{const _0xcf5453=_0x2cdba4['commands']['get']('footnotesStyle'),_0x46cdef=new _0x198b0f(_0x5ac438);return _0x46cdef['set']({'label':_0x57b4a2,'icon':_0x26b19a,'tooltip':_0x35abdd}),_0x46cdef['bind']('isOn')['to'](_0xcf5453,'value',_0x1dea1a=>_0x1dea1a===_0x4e1cb9),_0x46cdef['bind']('isEnabled')['to'](_0xcf5453,'isEnabled'),_0x46cdef['on']('execute',()=>{_0x2cdba4['execute']('footnotesStyle',{'value':_0x4e1cb9}),_0x2cdba4['editing']['view']['focus']();}),_0x46cdef;};}(_0x8b1022));}(_0x2b681d),_0x1d16d5=new R(_0x2b681d['locale'],{'styleGridAriaLabel':_0x57c353,'styleButtonViews':_0x5c1031}),_0x357a97=_0x2b681d['commands']['get']('footnotesStart');return _0x1d16d5['startIndexFieldView']['bind']('isEnabled')['to'](_0x357a97),_0x1d16d5['startIndexFieldView']['fieldView']['bind']('value')['to'](_0x357a97),_0x1d16d5['on']('footnotesListStart',(_0x23c090,_0x154bce)=>{_0x2b681d['execute']('footnotesStart',{'value':_0x154bce['startIndex']});}),_0x1d16d5['delegate']('execute')['to'](_0x53a8fb),_0x1d16d5;}({'editor':_0x370c86,'dropdownView':_0x3673f6});_0x3673f6['panelView']['children']['add'](_0x1e5454);}),_0x3673f6;};}(_0x32cea8));}['afterInit'](){const {editor:_0x92fd2a}=this,{t:t}=_0x92fd2a['locale'],_0x54693b=_0x92fd2a['plugins']['get'](_0x2c7926),{defaultPositions:_0x4fa88b}=_0x2ca87d;_0x54693b['register']('footnotesDefinitions',{'ariaLabel':t('Footnotes\x20definitions\x20toolbar'),'items':_0x92fd2a['config']['get']('footnotes.footnotesProperties.toolbar'),'balloonClassName':'ck-footnotes-style-balloon\x20ck-toolbar-container','getRelatedElement':_0x11f685=>{let _0x135581=_0x11f685['getFirstPosition']()?.['parent'];return _0x135581?.['is']('$text')&&(_0x135581=_0x135581['parent']),_0x135581?.['is']('element')?_0x135581['findAncestor']($):null;},'positions':[_0x4fa88b['southArrowNorth'],_0x4fa88b['southArrowNorthMiddleWest'],_0x4fa88b['southArrowNorthMiddleEast'],_0x4fa88b['southArrowNorthWest'],_0x4fa88b['southArrowNorthEast'],_0x4fa88b['northArrowSouth'],_0x4fa88b['northArrowSouthMiddleWest'],_0x4fa88b['northArrowSouthMiddleEast'],_0x4fa88b['northArrowSouthWest'],_0x4fa88b['northArrowSouthEast'],_0x4fa88b['viewportStickyNorth']]});}}class ft extends _0x273f4a{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 _0x4811b6,Command as _0x57bc43}from'@ckeditor/ckeditor5-core/dist/index.js';import{toWidget as _0x1ac0da,isWidget as _0x484cd1,toWidgetEditable as _0x28b8a0,WidgetToolbarRepository as _0x4ee6c5}from'@ckeditor/ckeditor5-widget/dist/index.js';import{uid as _0x436330,logWarning as _0x3a2f72,FocusTracker as ot,KeystrokeHandler as rt,global as nt}from'@ckeditor/ckeditor5-utils/dist/index.js';import{PointerObserver as _0x37616e,ClickObserver as _0x404269}from'@ckeditor/ckeditor5-engine/dist/index.js';import{ClipboardPipeline as _0x1ef646}from'@ckeditor/ckeditor5-clipboard/dist/index.js';import{MenuBarMenuListItemButtonView as _0x3e461c,ButtonView as _0x30c80f,View as _0x109799,ViewCollection as _0xfe5986,FocusCycler as _0x1a9c37,addKeyboardHandlingForGrid as tt,CollapsibleView as st,LabeledFieldView as it,createLabeledInputNumber as et,ContextualBalloon as _0x32fb2d,BalloonPanelView as _0x3a60f8,createDropdown as _0x40a7ee}from'@ckeditor/ckeditor5-ui/dist/index.js';import{IconFootnote as _0x28859b,IconListStyleDecimal as _0x53be78,IconListStyleDecimalLeadingZero as _0x268531,IconListStyleLowerRoman as _0x416213,IconListStyleUpperRoman as _0x95de4f,IconListStyleLowerLatin as _0x3d2866,IconListStyleUpperLatin as _0x3b54a9}from'@ckeditor/ckeditor5-icons/dist/index.js';class F{['_model'];['_elementName'];['_getElementKey'];['_trackedElements']=new Map();constructor(_0x59dca4,_0x3ec02b){this['_model']=_0x59dca4,this['_elementName']=_0x3ec02b['elementName'],this['_getElementKey']=_0x3ec02b['getElementKey'];}['reset'](){this['_trackedElements']['clear']();}['getChanges'](_0x598efc){const _0x122cdb=new Set(),_0x84c652=new Map();for(const _0x153658 of _0x598efc){if('insert'===_0x153658['type']&&'$text'!==_0x153658['name']&&_0x153658['position']['nodeAfter']){const _0x673b56=this['_model']['createRangeOn'](_0x153658['position']['nodeAfter']);for(const _0x516614 of _0x673b56['getItems']()){if(!_0x516614['is']('element',this['_elementName']))continue;const _0x1ca62f=this['_getElementKey'](_0x516614);_0x84c652['has'](_0x1ca62f)||_0x84c652['set'](_0x1ca62f,[]),_0x84c652['get'](_0x1ca62f)['push'](_0x516614);}}if('remove'===_0x153658['type']&&_0x153658['name']===this['_elementName']){const _0x1caef3=this['_getElementKey']({'getAttribute':_0x2a53c9=>_0x153658['attributes']['get'](_0x2a53c9)});_0x122cdb['add'](_0x1caef3);}}for(const [_0x4e5a84,_0x59f65f]of this['_trackedElements'])'$graveyard'===_0x59f65f['root']['rootName']&&_0x122cdb['add'](_0x4e5a84);for(const _0x322b40 of _0x122cdb)this['_trackedElements']['delete'](_0x322b40);for(const [_0x18e5f0,_0xce3305]of _0x84c652)this['_trackedElements']['set'](_0x18e5f0,_0xce3305[_0xce3305['length']-0x1]);const _0x469b58=new Set();for(const [_0x167e37,_0x27070f]of _0x84c652)_0x122cdb['has'](_0x167e37)&&(_0x469b58['add'](_0x27070f[0x0]),_0x27070f['length']>0x1?_0x84c652['set'](_0x167e37,_0x27070f['slice'](0x1)):_0x84c652['delete'](_0x167e37),_0x122cdb['delete'](_0x167e37));return{'removed':Array['from'](_0x122cdb),'inserted':Array['from'](_0x84c652['values']())['flat'](),'moved':Array['from'](_0x469b58)};}}class f extends _0x4811b6{['_footnotes']=[];['_footnotesDefinitions']=null;['_footnoteFormatter']=null;['_footnoteDefsContainerTracker'];['_footnoteRefsTracker'];['_footnoteDefsTracker'];static get['pluginName'](){return'FootnotesTracker';}static get['isOfficialPlugin'](){return!0x0;}static get['isPremiumPlugin'](){return!0x0;}constructor(_0x3a9bdb){super(_0x3a9bdb),this['_footnoteDefsContainerTracker']=new F(this['editor']['model'],{'elementName':'footnotesDefinitions','getElementKey':()=>'singleton'}),this['_footnoteRefsTracker']=new F(this['editor']['model'],{'elementName':'footnoteRef','getElementKey':_0x62ef07=>_0x62ef07['getAttribute']('footnoteId')}),this['_footnoteDefsTracker']=new F(this['editor']['model'],{'elementName':'footnoteDefinition','getElementKey':_0x463dcf=>_0x463dcf['getAttribute']('footnoteId')});}['init'](){const {editor:_0x87df4a}=this,{model:_0x464a1f,data:_0x45a90c}=_0x87df4a;_0x464a1f['document']['registerPostFixer'](_0x2badf5=>{const _0x15dd45=_0x464a1f['document']['differ']['getChanges']();let _0x5c538b=!0x1;return this['_handleFootnotesDefinitionsObjectChanges'](_0x2badf5,_0x15dd45)&&(_0x5c538b=!0x0),this['_handleFootnoteDefinitionsChanges'](_0x2badf5,_0x15dd45)&&(_0x5c538b=!0x0),this['_handleFootnoteReferencesChanges'](_0x2badf5,_0x15dd45)&&(_0x5c538b=!0x0),this['_ensureFootnotesReferencesHaveProperOrder'](_0x2badf5)&&(_0x5c538b=!0x0),this['_handleFootnotesDefinitionsObjectSync'](_0x2badf5)&&(_0x5c538b=!0x0),this['_sortFootnoteDefinitions'](_0x2badf5)&&(_0x5c538b=!0x0),_0x5c538b;}),this['listenTo'](_0x464a1f['document'],'change:data',()=>{_0x464a1f['enqueueChange']({'isUndoable':!0x1},_0x4bf2e3=>{this['_ensureFootnotesDefinitionsContainerExists'](_0x4bf2e3);});},{'priority':'low'}),this['listenTo'](_0x45a90c,'set',()=>{this['_footnotes']=[],this['_footnoteDefsContainerTracker']['reset'](),this['_footnoteRefsTracker']['reset'](),this['_footnoteDefsTracker']['reset']();},{'priority':'high'});}['getFootnotesDefinitionsObjectElement'](){return this['_footnotesDefinitions'];}['getFootnote'](_0x56d043){return this['_footnotes']['find'](_0x627297=>_0x627297['id']===_0x56d043)||null;}['getFootnotes'](){return Array['from'](this['_footnotes']);}['getFootnotesFormatter'](){return this['_footnoteFormatter'];}['setFootnoteFormatter'](_0x174745){this['_footnoteFormatter']=_0x174745;}['_updateFootnotesCounters'](_0x50b3a3,_0x31ef71=0x0){let _0x3df8f8=!0x1;for(let _0x519035=_0x31ef71;_0x519035<this['_footnotes']['length'];_0x519035++)this['_updateFootnoteRefCounter'](_0x50b3a3,_0x519035)&&(_0x3df8f8=!0x0);return _0x3df8f8;}['_insertEmptyFootnotesDefinitionsContainer'](_0x3e0096,_0x379124){const _0x49d09e=_0x3e0096['createElement']('footnotesDefinitions',{});return _0x3e0096['append'](_0x49d09e,_0x379124),this['_footnotesDefinitions']=_0x49d09e,_0x49d09e;}['_ensureFootnotesDefinitionsContainerExists'](_0x236478){if(!this['_footnotes']['length']||this['_footnotesDefinitions'])return;const _0x34827a=this['_footnotes'][0x0]['reference']['root'],_0x27d0e0=this['_insertEmptyFootnotesDefinitionsContainer'](_0x236478,_0x34827a);for(const _0x5215d8 of this['_footnotes'])_0x5215d8['definition']['parent']||_0x236478['insert'](_0x5215d8['definition'],_0x27d0e0,'end');this['_updateFootnotesCounters'](_0x236478);}['_handleFootnotesDefinitionsObjectChanges'](_0x4725fe,_0x5a8402){let _0x35eb7b=!0x1;const {inserted:_0x5f55c8,removed:_0x387c71,moved:_0x4fdb7a}=this['_footnoteDefsContainerTracker']['getChanges'](_0x5a8402);if(_0x4fdb7a['length']&&(this['_footnotesDefinitions']=_0x4fdb7a[0x0]),_0x5f55c8['length']){if(_0x5f55c8['length']>0x1||this['_footnotesDefinitions']&&_0x5f55c8['some'](_0x4583c0=>_0x4583c0!==this['_footnotesDefinitions'])){const _0x23a35e=_0x4725fe['createElement']('footnotesDefinitions',{}),_0x46e094=[];this['_footnotesDefinitions']&&_0x46e094['push'](this['_footnotesDefinitions']),_0x46e094['push'](..._0x5f55c8),_0x4725fe['insert'](_0x23a35e,_0x46e094[0x0],'before');for(const _0x5d5cd4 of _0x46e094)_0x4725fe['move'](_0x4725fe['createRangeIn'](_0x5d5cd4),_0x4725fe['createPositionAt'](_0x23a35e,'end')),_0x4725fe['remove'](_0x5d5cd4);this['_footnotesDefinitions']=_0x23a35e,this['_updateFootnotesCounters'](_0x4725fe),_0x35eb7b=!0x0;}else this['_footnotesDefinitions']=_0x5f55c8[0x0];}if(_0x387c71['length']&&'$graveyard'===this['_footnotesDefinitions']?.['root']['rootName']){for(const _0x2a69cb of this['_footnotes'])_0x4725fe['remove'](_0x2a69cb['reference']),_0x35eb7b=!0x0;this['_footnotes']=[],this['_footnotesDefinitions']=null;}return _0x35eb7b;}['_handleFootnoteDefinitionsChanges'](_0x48539b,_0x4afa74){let _0x4a4623=!0x1;const _0x4721b6=this['editor']['config']['get']('footnotes.multiBlock'),{inserted:_0x529dc5,moved:_0x12e0c1}=this['_footnoteDefsTracker']['getChanges'](_0x4afa74);for(const _0x5df068 of[..._0x12e0c1,..._0x529dc5]){const _0x853c1e=_0x5df068['getAttribute']('footnoteId'),_0x5454e8=this['getFootnote'](_0x853c1e);_0x5454e8&&(_0x5454e8['definition']=_0x5df068),_(_0x48539b,_0x4721b6,_0x5df068)&&(_0x4a4623=!0x0);}return _0x4a4623;}['_handleFootnoteReferencesChanges'](_0x2be27e,_0x2dc032){let _0x4c9954=!0x1;const {removed:_0x2a423a,inserted:_0x452e5b,moved:_0x3806cb}=this['_footnoteRefsTracker']['getChanges'](_0x2dc032);for(const _0x362061 of _0x2a423a)this['_handleRemoveFootnoteReferenceById'](_0x2be27e,_0x362061)&&(_0x4c9954=!0x0);for(const _0x47ca29 of _0x452e5b)this['_handleInsertedFootnoteReference'](_0x2be27e,_0x47ca29)&&(_0x4c9954=!0x0);for(const _0x24167b of _0x3806cb)this['_handleMovedFootnoteReference'](_0x2be27e,_0x24167b)&&(_0x4c9954=!0x0);return _0x4c9954;}['_handleFootnotesDefinitionsObjectSync'](_0x34a469){if(!this['_footnotesDefinitions'])return!0x1;let _0x5c0582=!0x1;if(this['_footnotesDefinitions']['childCount']!==this['_footnotes']['length']){const _0x342de8=[];for(const _0x287a4b of this['_footnotesDefinitions']['getChildren']()){const _0x9c98ec=_0x287a4b['getAttribute']('footnoteId');this['getFootnote'](_0x9c98ec)||(_0x342de8['unshift'](_0x287a4b),_0x5c0582=!0x0);}for(const _0x517841 of _0x342de8)_0x34a469['remove'](_0x517841);}const _0x2bb93c=new Set(),_0x2fba44=[];for(const _0x36f934 of this['_footnotesDefinitions']['getChildren']()){const _0x25a4d2=_0x36f934['getAttribute']('footnoteId');_0x2bb93c['has'](_0x25a4d2)?(_0x2fba44['unshift'](_0x36f934),_0x5c0582=!0x0):_0x2bb93c['add'](_0x25a4d2);}for(const _0x11797e of _0x2fba44)_0x34a469['remove'](_0x11797e);return this['_footnotesDefinitions']['childCount']||(_0x34a469['remove'](this['_footnotesDefinitions']),this['_footnotesDefinitions']=null,_0x5c0582=!0x0),_0x5c0582;}['_handleInsertedFootnoteReference'](_0x44878c,_0x5ba5b5){if(this['_footnotes']['find'](_0x4808dc=>_0x4808dc['reference']===_0x5ba5b5))return!0x1;let _0x5da65d=!0x1;const _0x29207e=_0x5ba5b5['getAttribute']('footnoteId'),_0x536b4b=this['_footnotes']['findIndex'](_0x53d824=>_0x53d824['id']===_0x29207e);-0x1!==_0x536b4b&&(_0x44878c['remove'](this['_footnotes'][_0x536b4b]['reference']),this['_footnotes']['splice'](_0x536b4b,0x1),_0x5da65d=!0x0);let _0x5a479a=this['_footnotesDefinitions']?function(_0x287b20,_0x118091){for(const _0x3c5397 of _0x287b20['getChildren']())if(_0x3c5397['getAttribute']('footnoteId')===_0x118091)return _0x3c5397;return null;}(this['_footnotesDefinitions'],_0x29207e):null;_0x5a479a||(_0x5a479a=_0x44878c['createElement']('footnoteDefinition',{'footnoteId':_0x29207e}),this['_footnotesDefinitions']&&(_0x44878c['insert'](_0x5a479a,this['_footnotesDefinitions'],'end'),_0x5da65d=!0x0));const _0x404b7f={'id':_0x29207e,'reference':_0x5ba5b5,'definition':_0x5a479a},_0x1ed0e1=I(this['editor']['model'],this['_footnotes'],_0x5ba5b5);this['_footnotes']['splice'](_0x1ed0e1,0x0,_0x404b7f);let _0x16d614=_0x1ed0e1;return-0x1!==_0x536b4b&&(_0x16d614=Math['min'](_0x1ed0e1,_0x536b4b)),this['_updateFootnotesCounters'](_0x44878c,_0x16d614)&&(_0x5da65d=!0x0),_0x5da65d;}['_handleRemoveFootnoteReferenceById'](_0x1782e1,_0xb81be7){const _0x399284=this['_footnotes']['findIndex'](_0x3223ea=>_0x3223ea['id']===_0xb81be7);if(-0x1===_0x399284)return!0x1;let _0x30c588=!0x1;const _0x4ac593=this['_footnotes'][_0x399284];return'$graveyard'!==_0x4ac593['definition']['root']['rootName']&&(_0x1782e1['remove'](_0x4ac593['definition']),_0x30c588=!0x0),this['_footnotes']['splice'](_0x399284,0x1),this['_updateFootnotesCounters'](_0x1782e1,_0x399284)&&(_0x30c588=!0x0),_0x30c588;}['_handleMovedFootnoteReference'](_0x146240,_0x51ec07){const _0x42fb83=_0x51ec07['getAttribute']('footnoteId'),_0xf552d4=this['_footnotes']['findIndex'](_0xcbf1dc=>_0xcbf1dc['id']===_0x42fb83),_0x2db5dc=this['_footnotes'][_0xf552d4];let _0x2f58b6=!0x1;_0x2db5dc['reference']=_0x51ec07,this['_footnotes']['splice'](_0xf552d4,0x1);const _0x4865bb=I(this['editor']['model'],this['_footnotes'],_0x51ec07);return this['_footnotes']['splice'](_0x4865bb,0x0,_0x2db5dc),this['_updateFootnotesCounters'](_0x146240,Math['min'](_0xf552d4,_0x4865bb))&&(_0x2f58b6=!0x0),_0x2f58b6;}['_updateFootnoteRefCounter'](_0x47be96,_0x447739){if(!this['_footnotesDefinitions'])return!0x1;const _0x1e1c31=this['_footnotes'][_0x447739];let _0x428eaf;return _0x428eaf=this['_footnoteFormatter']?this['_footnoteFormatter']({'footnote':_0x1e1c31,'container':this['_footnotesDefinitions'],'digits':String(this['_footnotes']['length'])['length'],'value':_0x447739+0x1}):String(_0x447739+0x1),_0x1e1c31['reference']['getAttribute']('footnoteCounter')!=_0x428eaf&&(_0x47be96['setAttribute']('footnoteCounter',_0x428eaf,_0x1e1c31['reference']),!0x0);}['_sortFootnoteDefinitions'](_0x5c2032){if(!this['_footnotesDefinitions']||this['_footnotes']['length']<0x2)return!0x1;if(function(_0x35572a,_0x3fe71a){if(_0x35572a['length']!==_0x3fe71a['length'])return!0x1;for(let _0x58410d=0x0;_0x58410d<_0x35572a['length'];_0x58410d++)if(_0x35572a[_0x58410d]!==_0x3fe71a[_0x58410d])return!0x1;return!0x0;}(this['_footnotes']['map'](_0x6f4879=>_0x6f4879['id']),Array['from'](this['_footnotesDefinitions']['getChildren']())['map'](_0x2c77c1=>_0x2c77c1['getAttribute']('footnoteId'))))return!0x1;let _0x247a9f=!0x1;for(let _0x5f47a8=0x0;_0x5f47a8<this['_footnotes']['length'];_0x5f47a8++){const _0x141b34=this['_footnotes'][_0x5f47a8],_0x2fe88a=_0x5c2032['createPositionBefore'](_0x141b34['definition']),_0x247a7f=_0x5c2032['createPositionAt'](this['_footnotesDefinitions'],_0x5f47a8);_0x2fe88a['isEqual'](_0x247a7f)||(_0x5c2032['move'](_0x5c2032['createRangeOn'](_0x141b34['definition']),_0x247a7f),_0x247a9f=!0x0);}return _0x247a9f;}['_ensureFootnotesReferencesHaveProperOrder'](_0x5cab37){if(!this['_footnotes']['length'])return!0x1;const {model:_0xd3f3a5}=this['editor'];let _0x5e2af3=!0x1;for(let _0x4d264b=0x0;_0x4d264b<this['_footnotes']['length']-0x1;_0x4d264b++){const _0xc34789=this['_footnotes'][_0x4d264b],_0x4c0ffc=this['_footnotes'][_0x4d264b+0x1],_0x190cf8=_0xd3f3a5['createPositionBefore'](_0xc34789['reference']),_0x52cba6=_0xd3f3a5['createPositionBefore'](_0x4c0ffc['reference']);'after'===_0x190cf8['compareWith'](_0x52cba6)&&(this['_handleMovedFootnoteReference'](_0x5cab37,_0xc34789['reference']),_0x4d264b=-0x1,_0x5e2af3=!0x0);}return _0x5e2af3;}}function _(_0x3738e9,_0x5e82eb,_0x3d1331){if(_0x3d1331['childCount'])return!0x1;const _0x1c2d48=_0x5e82eb?'paragraph':'footnoteInlineContent';return _0x3738e9['insert'](_0x3738e9['createElement'](_0x1c2d48),_0x3d1331),!0x0;}function I(_0x3fd797,_0x15d37b,_0x2ba959){if(0x0===_0x15d37b['length'])return 0x0;const _0x57c92a=_0x3fd797['createPositionBefore'](_0x2ba959);for(let _0x19d3a2=0x0;_0x19d3a2<_0x15d37b['length'];_0x19d3a2++){const _0x3807ae=_0x15d37b[_0x19d3a2],_0x10b40a=_0x3fd797['createPositionBefore'](_0x3807ae['reference']);if('before'===_0x57c92a['compareWith'](_0x10b40a))return _0x19d3a2;}const _0x44776d=_0x2ba959['root'];let _0x25ca2f=-0x1;for(let _0x1ba8f9=_0x15d37b['length']-0x1;_0x1ba8f9>=0x0;_0x1ba8f9--)if(_0x15d37b[_0x1ba8f9]['reference']['root']===_0x44776d){_0x25ca2f=_0x1ba8f9;break;}if(-0x1!==_0x25ca2f)return _0x25ca2f+0x1;const _0x44da0b=_0x3fd797['document']['getRootNames'](),_0x362596=_0x44da0b['indexOf'](_0x44776d['rootName']),_0x18d2b4=_0x44da0b[_0x362596+0x1];if(_0x18d2b4){for(let _0x1cdf0e=0x0;_0x1cdf0e<_0x15d37b['length'];_0x1cdf0e++)if(_0x15d37b[_0x1cdf0e]['reference']['root']['rootName']===_0x18d2b4)return _0x1cdf0e;}return _0x15d37b['length'];}class m extends _0x57bc43{['refresh'](){const _0x505191=this['editor']['model']['document']['selection'],_0x39e745=this['_getPositionToInsertFootnote'](_0x505191);this['isEnabled']=!!_0x39e745;}['execute'](_0x191dfd){const {editor:_0x42af6a}=this,{model:_0x5278ac}=_0x42af6a,{selection:_0x4873c3}=_0x5278ac['document'],_0x98ecbd=this['_getPositionToInsertFootnote'](_0x4873c3);if(!_0x98ecbd)return;const _0x1b7462=_0x42af6a['plugins']['get']('FootnotesEditing'),_0x5ef082=_0x191dfd?.['footnoteId']??_0x436330();!function(_0x416afd){return'string'==typeof _0x416afd&&_0x416afd['length']>0x0&&!/\s/['test'](_0x416afd)&&!/^\d/['test'](_0x416afd);}(_0x5ef082)?_0x3a2f72('insert-footnote-command-executed-with-invalid-id'):(_0x5278ac['change'](_0xdf5a03=>{const _0x5824a0=_0xdf5a03['createElement']('footnoteRef',{'footnoteId':_0x5ef082});_0x5278ac['insertObject'](_0x5824a0,_0x98ecbd,null);}),_0x1b7462['_moveSelectionToFootnoteDefinition'](_0x5ef082));}['_getPositionToInsertFootnote'](_0x1240ec){const {model:_0x3764e1}=this['editor'],{schema:_0x6065b7}=_0x3764e1,_0x2338fd=_0x1240ec['getFirstRange']();for(const _0x494268 of _0x2338fd['getItems']())if(_0x6065b7['isBlock'](_0x494268)||_0x6065b7['isObject'](_0x494268))return null;const _0x40c1da=_0x2338fd['end'];return _0x6065b7['checkChild'](_0x40c1da,'footnoteRef')?_0x40c1da:null;}}class r extends _0x4811b6{static get['pluginName'](){return'FootnotesEditing';}static get['requires'](){return[f];}static get['isOfficialPlugin'](){return!0x0;}static get['isPremiumPlugin'](){return!0x0;}['init'](){const {editor:_0x23b078}=this;_0x23b078['config']['define']('footnotes.multiBlock',!0x0),_0x23b078['commands']['add']('insertFootnote',new m(_0x23b078)),this['_defineSchema'](),this['_defineRefsConverters'](),this['_defineDefinitionsConverters'](),this['_defineDefinitionConverters'](),this['_defineBogusParagraphConverters'](),this['_defineKeyboardHandlers'](),this['_defineClickHandlers']();}['afterInit'](){!async function(_0x584818){const _0x43e322=_0x5f5848([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]),_0x2503bb=0x47a28506,_0x5b00a3=0x47a5ffc6^_0x2503bb,_0x1cded6=window[_0x5f5848([0x44,0x61,0x74,0x65])][_0x5f5848([0x6e,0x6f,0x77])](),_0x5b3064=_0x584818[_0x5f5848([0x65,0x64,0x69,0x74,0x6f,0x72])],_0x4a3e39=new window[(_0x5f5848([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0x5d1a70=>{_0x5b3064[_0x5f5848([0x6f,0x6e,0x63,0x65])](_0x5f5848([0x72,0x65,0x61,0x64,0x79]),_0x5d1a70);}),_0x5ef2e3={[_0x5f5848([0x6b,0x74,0x79])]:_0x5f5848([0x45,0x43]),[_0x5f5848([0x75,0x73,0x65])]:_0x5f5848([0x73,0x69,0x67]),[_0x5f5848([0x63,0x72,0x76])]:_0x5f5848([0x50,0x2d,0x32,0x35,0x36]),[_0x5f5848([0x78])]:_0x5f5848([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]),[_0x5f5848([0x79])]:_0x5f5848([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]),[_0x5f5848([0x61,0x6c,0x67])]:_0x5f5848([0x45,0x53,0x32,0x35,0x36])},_0xce6c00=_0x5b3064[_0x5f5848([0x63,0x6f,0x6e,0x66,0x69,0x67])][_0x5f5848([0x67,0x65,0x74])](_0x5f5848([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x4b,0x65,0x79]));async function _0xf1b621(){let _0x113899,_0xce7b03=null,_0xfac7bf=null;try{if(_0xce6c00==_0x5f5848([0x47,0x50,0x4c]))return _0x5f5848([0x4e,0x6f,0x74,0x41,0x6c,0x6c,0x6f,0x77,0x65,0x64]);if(_0x113899=_0xd86a40(),!_0x113899)return _0x5f5848([0x49,0x6e,0x76,0x61,0x6c,0x69,0x64]);return _0x113899[_0x5f5848([0x75,0x73,0x61,0x67,0x65,0x45,0x6e,0x64,0x70,0x6f,0x69,0x6e,0x74])]&&(_0xfac7bf=_0x1f2784(_0x113899[_0x5f5848([0x75,0x73,0x61,0x67,0x65,0x45,0x6e,0x64,0x70,0x6f,0x69,0x6e,0x74])],_0x113899[_0x5f5848([0x6a,0x74,0x69])])),await _0x3ff742()?_0x1d85e7()?_0x25ba6f()?_0x5f5848([0x45,0x78,0x70,0x69,0x72,0x65,0x64]):_0x4f0ada()?(_0x113899[_0x5f5848([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x54,0x79,0x70,0x65])]==_0x5f5848([0x65,0x76,0x61,0x6c,0x75,0x61,0x74,0x69,0x6f,0x6e])&&(_0xce7b03=_0x5f2da5(_0x5f5848([0x45,0x76,0x61,0x6c,0x75,0x61,0x74,0x69,0x6f,0x6e,0x4c,0x69,0x6d,0x69,0x74]))),_0x113899[_0x5f5848([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x54,0x79,0x70,0x65])]==_0x5f5848([0x74,0x72,0x69,0x61,0x6c])&&(_0xce7b03=_0x5f2da5(_0x5f5848([0x54,0x72,0x69,0x61,0x6c,0x4c,0x69,0x6d,0x69,0x74]))),await _0x3ba257()):_0x5f5848([0x44,0x6f,0x6d,0x61,0x69,0x6e,0x4c,0x69,0x6d,0x69,0x74]):_0x5f5848([0x4e,0x6f,0x74,0x41,0x6c,0x6c,0x6f,0x77,0x65,0x64]):_0x5f5848([0x49,0x6e,0x76,0x61,0x6c,0x69,0x64]);}catch{return _0x5f5848([0x49,0x6e,0x76,0x61,0x6c,0x69,0x64]);}function _0x25ba6f(){const _0x427471=[_0x5f5848([0x65,0x76,0x61,0x6c,0x75,0x61,0x74,0x69,0x6f,0x6e]),_0x5f5848([0x74,0x72,0x69,0x61,0x6c])][_0x5f5848([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x113899[_0x5f5848([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x54,0x79,0x70,0x65])])?_0x1cded6/0x3e8:0xe10*_0x5b00a3;return _0x113899[_0x5f5848([0x65,0x78,0x70])]<_0x427471;}function _0x1d85e7(){const _0x2281b6=_0x113899[_0x5f5848([0x66,0x65,0x61,0x74,0x75,0x72,0x65,0x73])];return!!_0x2281b6&&(!!_0x2281b6[_0x5f5848([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x5f5848([0x2a]))||!!_0x2281b6[_0x5f5848([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x5f5848([0x46,0x4f,0x4f])));}function _0x4f0ada(){const _0x50e135=_0x113899[_0x5f5848([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x64,0x48,0x6f,0x73,0x74,0x73])];if(!_0x50e135||0x0==_0x50e135[_0x5f5848([0x6c,0x65,0x6e,0x67,0x74,0x68])])return!0x0;const {hostname:_0x39353d}=new URL(window[_0x5f5848([0x6c,0x6f,0x63,0x61,0x74,0x69,0x6f,0x6e])]['href']);if(_0x50e135[_0x5f5848([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x39353d))return!0x0;const _0x5a051d=_0x39353d[_0x5f5848([0x73,0x70,0x6c,0x69,0x74])](_0x5f5848([0x2e]));return _0x50e135[_0x5f5848([0x66,0x69,0x6c,0x74,0x65,0x72])](_0x47f96b=>_0x47f96b[_0x5f5848([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x5f5848([0x2a])))[_0x5f5848([0x6d,0x61,0x70])](_0x250a0e=>_0x250a0e[_0x5f5848([0x73,0x70,0x6c,0x69,0x74])](_0x5f5848([0x2e])))[_0x5f5848([0x66,0x69,0x6c,0x74,0x65,0x72])](_0xd175d6=>_0xd175d6[_0x5f5848([0x6c,0x65,0x6e,0x67,0x74,0x68])]<=_0x5a051d[_0x5f5848([0x6c,0x65,0x6e,0x67,0x74,0x68])])[_0x5f5848([0x6d,0x61,0x70])](_0x9aa1cd=>Array(_0x5a051d[_0x5f5848([0x6c,0x65,0x6e,0x67,0x74,0x68])]-_0x9aa1cd[_0x5f5848([0x6c,0x65,0x6e,0x67,0x74,0x68])])[_0x5f5848([0x66,0x69,0x6c,0x6c])](_0x9aa1cd[0x0]===_0x5f5848([0x2a])?_0x5f5848([0x2a]):'')[_0x5f5848([0x63,0x6f,0x6e,0x63,0x61,0x74])](_0x9aa1cd))[_0x5f5848([0x73,0x6f,0x6d,0x65])](_0x578f7b=>_0x5a051d[_0x5f5848([0x65,0x76,0x65,0x72,0x79])]((_0x2f1fec,_0xdd6604)=>_0x578f7b[_0xdd6604]===_0x2f1fec||_0x578f7b[_0xdd6604]===_0x5f5848([0x2a])));}function _0x3ba257(){return _0xce7b03&&_0xfac7bf?new window[(_0x5f5848([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))]((_0x284778,_0x33b05f)=>{_0xce7b03[_0x5f5848([0x74,0x68,0x65,0x6e])](_0x284778,_0x33b05f),_0xfac7bf[_0x5f5848([0x74,0x68,0x65,0x6e])](_0x4327ae=>{_0x4327ae!=_0x5f5848([0x56,0x61,0x6c,0x69,0x64])&&_0x284778(_0x4327ae);},_0x33b05f);}):_0xce7b03||_0xfac7bf||_0x5f5848([0x56,0x61,0x6c,0x69,0x64]);}}function _0x1f2784(_0x3826a3,_0x1ee409){return new window[(_0x5f5848([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0x5618a6=>{if(_0x3c1887())return _0x5618a6(_0x5f5848([0x56,0x61,0x6c,0x69,0x64]));_0x55bce5(),_0x5b3064[_0x5f5848([0x64,0x65,0x63,0x6f,0x72,0x61,0x74,0x65])](_0x5f5848([0x5f,0x73,0x65,0x6e,0x64,0x55,0x73,0x61,0x67,0x65,0x52,0x65,0x71,0x75,0x65,0x73,0x74]));let _0x38710c=!0x1;const _0x29ac76=_0x436330();function _0x705817(_0x20f869){return!!_0x20f869&&(typeof _0x20f869===_0x5f5848([0x6f,0x62,0x6a,0x65,0x63,0x74])||typeof _0x20f869===_0x5f5848([0x66,0x75,0x6e,0x63,0x74,0x69,0x6f,0x6e]))&&typeof _0x20f869[_0x5f5848([0x74,0x68,0x65,0x6e])]===_0x5f5848([0x66,0x75,0x6e,0x63,0x74,0x69,0x6f,0x6e])&&typeof _0x20f869[_0x5f5848([0x63,0x61,0x74,0x63,0x68])]===_0x5f5848([0x66,0x75,0x6e,0x63,0x74,0x69,0x6f,0x6e]);}function _0x1808e1(_0x4cbdc9){_0x5a4c2f(_0x4cbdc9)[_0x5f5848([0x74,0x68,0x65,0x6e])](_0x295d23=>{if(!_0x295d23||_0x295d23[_0x5f5848([0x73,0x74,0x61,0x74,0x75,0x73])]!=_0x5f5848([0x6f,0x6b]))return _0x5f5848([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]);return _0x49d0b0(_0x5df2a7(_0x29ac76+_0x1ee409))!=_0x295d23[_0x5f5848([0x76,0x65,0x72,0x69,0x66,0x69,0x63,0x61,0x74,0x69,0x6f,0x6e])]?_0x5f5848([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]):_0x5f5848([0x56,0x61,0x6c,0x69,0x64]);})[_0x5f5848([0x74,0x68,0x65,0x6e])](_0x31bd5e=>(_0x33916d(),_0x31bd5e),()=>{const _0x1bfdaf=_0x706e();return null==_0x1bfdaf?(_0x33916d(),_0x5f5848([0x56,0x61,0x6c,0x69,0x64])):_0x5f5848(_0x1cded6-_0x1bfdaf>(0x63ae0106^_0x2503bb)?[0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]:[0x56,0x61,0x6c,0x69,0x64]);})[_0x5f5848([0x74,0x68,0x65,0x6e])](_0x5618a6)[_0x5f5848([0x63,0x61,0x74,0x63,0x68])](()=>{_0x5618a6(_0x5f5848([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]));});const _0x48d2e2=0x47946b86^_0x2503bb;function _0x33916d(){const _0x22aa10=_0x5f5848([0x6c,0x6c,0x63,0x74,0x2d])+_0x49d0b0(_0x5df2a7(_0x3826a3)),_0xa5fdc7=_0xcf6a29(_0x49d0b0(window[_0x5f5848([0x4d,0x61,0x74,0x68])][_0x5f5848([0x63,0x65,0x69,0x6c])](_0x1cded6/_0x48d2e2)));window[_0x5f5848([0x6c,0x6f,0x63,0x61,0x6c,0x53,0x74,0x6f,0x72,0x61,0x67,0x65])][_0x5f5848([0x73,0x65,0x74,0x49,0x74,0x65,0x6d])](_0x22aa10,_0xa5fdc7);}function _0x706e(){const _0x4b1076=_0x5f5848([0x6c,0x6c,0x63,0x74,0x2d])+_0x49d0b0(_0x5df2a7(_0x3826a3)),_0x52aefd=window[_0x5f5848([0x6c,0x6f,0x63,0x61,0x6c,0x53,0x74,0x6f,0x72,0x61,0x67,0x65])][_0x5f5848([0x67,0x65,0x74,0x49,0x74,0x65,0x6d])](_0x4b1076);return _0x52aefd?window[_0x5f5848([0x70,0x61,0x72,0x73,0x65,0x49,0x6e,0x74])](_0xcf6a29(_0x52aefd),0x10)*_0x48d2e2:null;}function _0x5a4c2f(_0x50dd52){return new window[(_0x5f5848([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))]((_0xb2026a,_0x203fa0)=>{_0x50dd52[_0x5f5848([0x74,0x68,0x65,0x6e])](_0xb2026a,_0x203fa0),window[_0x5f5848([0x73,0x65,0x74,0x54,0x69,0x6d,0x65,0x6f,0x75,0x74])](_0x203fa0,0x47a351c6^_0x2503bb);});}}_0x5b3064[_0x5f5848([0x6f,0x6e])](_0x5f5848([0x5f,0x73,0x65,0x6e,0x64,0x55,0x73,0x61,0x67,0x65,0x52,0x65,0x71,0x75,0x65,0x73,0x74]),(_0x20c513,_0x941408)=>{if(_0x941408[0x0]!=_0x3826a3)return _0x5618a6(_0x5f5848([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]));_0x941408[0x1]={..._0x941408[0x1],[_0x5f5848([0x72,0x65,0x71,0x75,0x65,0x73,0x74,0x49,0x64])]:_0x29ac76};},{[_0x5f5848([0x70,0x72,0x69,0x6f,0x72,0x69,0x74,0x79])]:_0x5f5848([0x68,0x69,0x67,0x68])}),_0x5b3064[_0x5f5848([0x6f,0x6e])](_0x5f5848([0x5f,0x73,0x65,0x6e,0x64,0x55,0x73,0x61,0x67,0x65,0x52,0x65,0x71,0x75,0x65,0x73,0x74]),_0x1e8fb7=>{_0x705817(_0x1e8fb7[_0x5f5848([0x72,0x65,0x74,0x75,0x72,0x6e])])&&(_0x38710c=!0x0,_0x1808e1(_0x1e8fb7[_0x5f5848([0x72,0x65,0x74,0x75,0x72,0x6e])]));},{[_0x5f5848([0x70,0x72,0x69,0x6f,0x72,0x69,0x74,0x79])]:_0x5f5848([0x6c,0x6f,0x77])}),_0x4a3e39[_0x5f5848([0x74,0x68,0x65,0x6e])](()=>{_0x38710c||_0x5618a6(_0x5f5848([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]));});});function _0x3c1887(){return _0x5b3064[_0x5f5848([0x65,0x64,0x69,0x74,0x69,0x6e,0x67])][_0x5f5848([0x76,0x69,0x65,0x77])][_0x5f5848([0x5f,0x6f,0x76,0x65,0x72,0x6c,0x61,0x79,0x4d,0x6f,0x64,0x65,0x48,0x69,0x6e,0x74])]==_0x5f5848([0x61,0x75,0x74,0x6f]);}function _0x55bce5(){_0x5b3064[_0x5f5848([0x65,0x64,0x69,0x74,0x69,0x6e,0x67])][_0x5f5848([0x76,0x69,0x65,0x77])][_0x5f5848([0x5f,0x6f,0x76,0x65,0x72,0x6c,0x61,0x79,0x4d,0x6f,0x64,0x65,0x48,0x69,0x6e,0x74])]=_0x5f5848([0x61,0x75,0x74,0x6f]);}}function _0x5f2da5(_0x342f73){const _0x468fd3=[new window[(_0x5f5848([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0x4a4805=>setTimeout(_0x4a4805,0x47abbbca^_0x2503bb)),_0x4a3e39[_0x5f5848([0x74,0x68,0x65,0x6e])](()=>new window[(_0x5f5848([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0x4139d0=>{let _0x133f7f=0x0;_0x5b3064[_0x5f5848([0x6d,0x6f,0x64,0x65,0x6c])][_0x5f5848([0x6f,0x6e])](_0x5f5848([0x61,0x70,0x70,0x6c,0x79,0x4f,0x70,0x65,0x72,0x61,0x74,0x69,0x6f,0x6e]),(_0x45ccc6,_0x3acac2)=>{_0x3acac2[0x0][_0x5f5848([0x69,0x73,0x44,0x6f,0x63,0x75,0x6d,0x65,0x6e,0x74,0x4f,0x70,0x65,0x72,0x61,0x74,0x69,0x6f,0x6e])]&&_0x133f7f++,_0x133f7f==(0x47a284fe^_0x2503bb)&&(_0x4139d0(),_0x45ccc6[_0x5f5848([0x6f,0x66,0x66])]());});}))];return window[_0x5f5848([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65])][_0x5f5848([0x72,0x61,0x63,0x65])](_0x468fd3)[_0x5f5848([0x74,0x68,0x65,0x6e])](()=>_0x342f73);}async function _0xf5729a(){await _0x4a3e39,_0x5b3064[_0x5f5848([0x6d,0x6f,0x64,0x65,0x6c])][_0x5f5848([0x63,0x68,0x61,0x6e,0x67,0x65])]=_0x428cbe,_0x5b3064[_0x5f5848([0x6d,0x6f,0x64,0x65,0x6c])][_0x5f5848([0x65,0x6e,0x71,0x75,0x65,0x75,0x65,0x43,0x68,0x61,0x6e,0x67,0x65])]=_0x428cbe,_0x5b3064[_0x5f5848([0x65,0x6e,0x61,0x62,0x6c,0x65,0x52,0x65,0x61,0x64,0x4f,0x6e,0x6c,0x79,0x4d,0x6f,0x64,0x65])](_0x5f5848([0x6d,0x6f,0x64,0x65,0x6c]));}function _0x2c65f7(_0x223851){const _0x3ee42c=_0x1c3c46();_0x5b3064[_0x3ee42c]=_0x5f5848([0x66,0x6f,0x6f,0x74,0x6e,0x6f,0x74,0x65,0x73,0x4c,0x69,0x63,0x65,0x6e,0x73,0x65,0x4b,0x65,0x79])+_0x223851,_0x223851!=_0x5f5848([0x56,0x61,0x6c,0x69,0x64])&&_0xf5729a();}function _0x1c3c46(){const _0x4a29a9=window[_0x5f5848([0x53,0x74,0x72,0x69,0x6e,0x67])](window[_0x5f5848([0x70,0x65,0x72,0x66,0x6f,0x72,0x6d,0x61,0x6e,0x63,0x65])][_0x5f5848([0x6e,0x6f,0x77])]())[_0x5f5848([0x72,0x65,0x70,0x6c,0x61,0x63,0x65])](_0x5f5848([0x2e]),'');let _0x190ecf=_0x5f5848([0x75]);for(let _0x3b98fd=0x0;_0x3b98fd<_0x4a29a9[_0x5f5848([0x6c,0x65,0x6e,0x67,0x74,0x68])];_0x3b98fd+=0x2){let _0x226932=window[_0x5f5848([0x70,0x61,0x72,0x73,0x65,0x49,0x6e,0x74])](_0x4a29a9[_0x5f5848([0x73,0x75,0x62,0x73,0x74,0x72,0x69,0x6e,0x67])](_0x3b98fd,_0x3b98fd+0x2));_0x226932>=_0x43e322[_0x5f5848([0x6c,0x65,0x6e,0x67,0x74,0x68])]&&(_0x226932-=_0x43e322[_0x5f5848([0x6c,0x65,0x6e,0x67,0x74,0x68])]),_0x190ecf+=_0x43e322[_0x226932];}return _0x190ecf;}function _0xd86a40(){const _0x4cb017=_0xce6c00[_0x5f5848([0x73,0x70,0x6c,0x69,0x74])](_0x5f5848([0x2e]));if(0x3!=_0x4cb017[_0x5f5848([0x6c,0x65,0x6e,0x67,0x74,0x68])])return null;return _0x3d02c7(_0x4cb017[0x1]);function _0x3d02c7(_0x411fb2){const _0x594757=_0x3f7543(_0x411fb2);return _0x594757&&_0xe0e494()?_0x594757:null;function _0xe0e494(){const _0x2a5834=_0x594757[_0x5f5848([0x6a,0x74,0x69])],_0x342e8c=window[_0x5f5848([0x70,0x61,0x72,0x73,0x65,0x49,0x6e,0x74])](_0x2a5834[_0x5f5848([0x73,0x75,0x62,0x73,0x74,0x72,0x69,0x6e,0x67])](_0x2a5834[_0x5f5848([0x6c,0x65,0x6e,0x67,0x74,0x68])]-0x8),0x10),_0x37b907={..._0x594757,[_0x5f5848([0x6a,0x74,0x69])]:_0x2a5834[_0x5f5848([0x73,0x75,0x62,0x73,0x74,0x72,0x69,0x6e,0x67])](0x0,_0x2a5834[_0x5f5848([0x6c,0x65,0x6e,0x67,0x74,0x68])]-0x8)};return delete _0x37b907[_0x5f5848([0x76,0x63])],_0x5df2a7(_0x37b907)==_0x342e8c;}}}async function _0x3ff742(){let _0x57abd2=!0x0;try{const _0x1088a9=_0xce6c00[_0x5f5848([0x73,0x70,0x6c,0x69,0x74])](_0x5f5848([0x2e])),[_0x1889fe,_0x5257b8,_0xa53693]=_0x1088a9;return _0x29e01c(_0x1889fe),await _0xbf7e0a(_0x1889fe,_0x5257b8,_0xa53693),_0x57abd2;}catch{return!0x1;}function _0x29e01c(_0x547db3){const _0x11920f=_0x3f7543(_0x547db3);_0x11920f&&_0x11920f[_0x5f5848([0x61,0x6c,0x67])]==_0x5f5848([0x45,0x53,0x32,0x35,0x36])||(_0x57abd2=!0x1);}async function _0xbf7e0a(_0x166fa5,_0x188189,_0x4705fe){const _0x54a887=window[_0x5f5848([0x55,0x69,0x6e,0x74,0x38,0x41,0x72,0x72,0x61,0x79])][_0x5f5848([0x66,0x72,0x6f,0x6d])](_0x24709a(_0x4705fe),_0x1eac4d=>_0x1eac4d[_0x5f5848([0x63,0x68,0x61,0x72,0x43,0x6f,0x64,0x65,0x41,0x74])](0x0)),_0x2fc085=new window[(_0x5f5848([0x54,0x65,0x78,0x74,0x45,0x6e,0x63,0x6f,0x64,0x65,0x72]))]()[_0x5f5848([0x65,0x6e,0x63,0x6f,0x64,0x65])](_0x166fa5+_0x5f5848([0x2e])+_0x188189),_0x166cc5=window[_0x5f5848([0x63,0x72,0x79,0x70,0x74,0x6f])][_0x5f5848([0x73,0x75,0x62,0x74,0x6c,0x65])];if(!_0x166cc5)return;const _0x48058b=await _0x166cc5[_0x5f5848([0x69,0x6d,0x70,0x6f,0x72,0x74,0x4b,0x65,0x79])](_0x5f5848([0x6a,0x77,0x6b]),_0x5ef2e3,{[_0x5f5848([0x6e,0x61,0x6d,0x65])]:_0x5f5848([0x45,0x43,0x44,0x53,0x41]),[_0x5f5848([0x6e,0x61,0x6d,0x65,0x64,0x43,0x75,0x72,0x76,0x65])]:_0x5f5848([0x50,0x2d,0x32,0x35,0x36])},!0x1,[_0x5f5848([0x76,0x65,0x72,0x69,0x66,0x79])]);await _0x166cc5[_0x5f5848([0x76,0x65,0x72,0x69,0x66,0x79])]({[_0x5f5848([0x6e,0x61,0x6d,0x65])]:_0x5f5848([0x45,0x43,0x44,0x53,0x41]),[_0x5f5848([0x68,0x61,0x73,0x68])]:{[_0x5f5848([0x6e,0x61,0x6d,0x65])]:_0x5f5848([0x53,0x48,0x41,0x2d,0x32,0x35,0x36])}},_0x48058b,_0x54a887,_0x2fc085)||(_0x57abd2=!0x1);}}function _0x3f7543(_0x43f629){return _0x43f629[_0x5f5848([0x73,0x74,0x61,0x72,0x74,0x73,0x57,0x69,0x74,0x68])](_0x5f5848([0x65,0x79]))?JSON[_0x5f5848([0x70,0x61,0x72,0x73,0x65])](_0x24709a(_0x43f629)):null;}function _0x24709a(_0x132c15){return window[_0x5f5848([0x61,0x74,0x6f,0x62])](_0x132c15[_0x5f5848([0x72,0x65,0x70,0x6c,0x61,0x63,0x65])](/-/g,_0x5f5848([0x2b]))[_0x5f5848([0x72,0x65,0x70,0x6c,0x61,0x63,0x65])](/_/g,_0x5f5848([0x2f])));}function _0x5df2a7(_0x16b8db){let _0x92a5fa=0x1505;function _0x1eba77(_0x303cc9){for(let _0x59bd20=0x0;_0x59bd20<_0x303cc9[_0x5f5848([0x6c,0x65,0x6e,0x67,0x74,0x68])];_0x59bd20++){const _0x4500df=_0x303cc9[_0x5f5848([0x63,0x68,0x61,0x72,0x43,0x6f,0x64,0x65,0x41,0x74])](_0x59bd20);_0x92a5fa=(_0x92a5fa<<0x5)+_0x92a5fa+_0x4500df,_0x92a5fa&=_0x92a5fa;}}function _0x3bdd19(_0x1d715b){Array[_0x5f5848([0x69,0x73,0x41,0x72,0x72,0x61,0x79])](_0x1d715b)?_0x1d715b[_0x5f5848([0x66,0x6f,0x72,0x45,0x61,0x63,0x68])](_0x3bdd19):_0x1d715b&&typeof _0x1d715b==_0x5f5848([0x6f,0x62,0x6a,0x65,0x63,0x74])?Object[_0x5f5848([0x65,0x6e,0x74,0x72,0x69,0x65,0x73])](_0x1d715b)[_0x5f5848([0x73,0x6f,0x72,0x74])]()[_0x5f5848([0x66,0x6f,0x72,0x45,0x61,0x63,0x68])](([_0x20080d,_0x8658c9])=>{_0x1eba77(_0x20080d),_0x3bdd19(_0x8658c9);}):_0x1eba77(window[_0x5f5848([0x53,0x74,0x72,0x69,0x6e,0x67])](_0x1d715b));}return _0x3bdd19(_0x16b8db),_0x92a5fa>>>0x0;}function _0x49d0b0(_0xde3ce6){return _0xde3ce6[_0x5f5848([0x74,0x6f,0x53,0x74,0x72,0x69,0x6e,0x67])](0x10)[_0x5f5848([0x70,0x61,0x64,0x53,0x74,0x61,0x72,0x74])](0x8,_0x5f5848([0x30]));}function _0xcf6a29(_0x54dd63){return _0x54dd63[_0x5f5848([0x73,0x70,0x6c,0x69,0x74])]('')[_0x5f5848([0x72,0x65,0x76,0x65,0x72,0x73,0x65])]()[_0x5f5848([0x6a,0x6f,0x69,0x6e])]('');}function _0x428cbe(){}function _0x5f5848(_0x2c65d5){return _0x2c65d5['map'](_0x1127b7=>String['fromCharCode'](_0x1127b7))['join']('');}_0x2c65f7(await _0xf1b621());}(this);}['_moveSelectionToFootnoteDefinition'](_0x12ced9){const {plugins:_0x5037fe,editing:_0x2d86d3,model:_0x2ad969}=this['editor'],_0x2fb88a=_0x5037fe['get'](f)['getFootnote'](_0x12ced9);return!!_0x2fb88a&&(_0x2ad969['change'](_0x1923d6=>{_0x1923d6['setSelection'](_0x1923d6['createPositionAt'](_0x2fb88a['definition'],'end'));}),_0x2d86d3['view']['scrollToTheSelection'](),!0x0);}['_moveSelectionToFootnoteReference'](_0x4c05eb){const {plugins:_0x48f313,editing:_0x42eb36,model:_0x4ab028}=this['editor'],_0x25ba47=_0x48f313['get'](f)['getFootnote'](_0x4c05eb);return!!_0x25ba47&&(_0x4ab028['change'](_0x16b1f5=>{_0x16b1f5['setSelection'](_0x25ba47['reference'],'on');}),_0x42eb36['view']['scrollToTheSelection'](),!0x0);}['_defineSchema'](){const {schema:_0x5a14d6}=this['editor']['model'],_0x19f983=this['editor']['config']['get']('footnotes.multiBlock');_0x5a14d6['register']('footnoteRef',{'inheritAllFrom':'$inlineObject','allowAttributes':['footnoteId','footnoteCounter']}),_0x5a14d6['register']('footnotesDefinitions',{'inheritAllFrom':'$blockObject','allowChildren':['footnoteDefinition']}),_0x5a14d6['register']('footnoteDefinition',{'allowAttributes':['footnoteId'],'disallowAttributes':['listItemId'],'isLimit':!0x0}),_0x19f983?_0x5a14d6['extend']('footnoteDefinition',{'allowContentOf':'$container'}):_0x5a14d6['register']('footnoteInlineContent',{'allowIn':'footnoteDefinition','allowContentOf':'$block','isLimit':!0x0}),_0x5a14d6['addChildCheck'](_0xa2a56b=>{for(const _0x46ead5 of _0xa2a56b)if('footnoteDefinition'===_0x46ead5['name'])return!0x1;},'footnoteRef');}['_defineRefsConverters'](){const {editor:_0x3da64f}=this,{conversion:_0x595fa6,editing:_0x41d52a}=_0x3da64f,{t:t}=_0x3da64f['locale'];_0x595fa6['for']('upcast')['elementToElement']({'view':{'name':'sup','classes':'footnote'},'model':(_0x200dbe,{writer:_0x4f438d,consumable:_0x522739})=>{const _0x402ffe=_0x200dbe['getChild'](0x0);if(!_0x402ffe||!_0x402ffe['is']('element','a'))return null;const _0x4b96d7=_0x402ffe['getAttribute']('href')||'';if(!_0x4b96d7['startsWith']('#'))return null;const _0x17d766=_0x4b96d7['replace'](/^#/,'');if(!_0x17d766)return null;_0x522739['consume'](_0x402ffe,{'name':!0x0,'attributes':['href']});for(const {item:_0x3706dc}of _0x41d52a['view']['createRangeIn'](_0x402ffe))_0x3706dc['is']('$textProxy')?_0x522739['consume'](_0x3706dc['textNode'],{'name':!0x0}):_0x3706dc['is']('element')&&_0x522739['consume'](_0x3706dc,{'name':!0x0});return _0x4f438d['createElement']('footnoteRef',{'footnoteId':_0x17d766});}}),_0x595fa6['for']('dataDowncast')['elementToElement']({'model':{'name':'footnoteRef','attributes':['footnoteId','footnoteCounter']},'view':(_0x38de0e,{writer:_0x1eb42e})=>D(_0x38de0e,_0x1eb42e)}),_0x595fa6['for']('editingDowncast')['elementToElement']({'model':{'name':'footnoteRef','attributes':['footnoteId','footnoteCounter']},'view':(_0x3dd403,{writer:_0x15794c})=>{const _0x213d99=_0x3dd403['getAttribute']('footnoteCounter');return _0x1ac0da(D(_0x3dd403,_0x15794c),_0x15794c,{'label':t('Footnote\x20%0.\x20Press\x20ENTER\x20to\x20jump\x20to\x20footnote\x20definition.',_0x213d99)});}});}['_defineDefinitionsConverters'](){const {editor:_0x5e92fe}=this,{t:t}=_0x5e92fe['locale'],{conversion:_0x19c38f}=_0x5e92fe;_0x19c38f['for']('upcast')['elementToElement']({'view':{'name':'div','classes':'footnotes'},'model':'footnotesDefinitions'}),_0x19c38f['for']('upcast')['add'](_0x55a9c3=>{_0x55a9c3['on']('element:ol',(_0x4ee1eb,_0x4f68c8,_0x11b4e6)=>{const _0x3d21ec=_0x4f68c8['viewItem'];if(!_0x3d21ec['hasClass']('footnotes-list')||!_0x4f68c8['modelCursor']['parent']?.['is']('element','footnotesDefinitions'))return;if(!_0x11b4e6['consumable']['consume'](_0x3d21ec,{'name':!0x0,'classes':'footnotes-list'}))return;const {modelRange:_0x162d5e,modelCursor:_0x1cd365}=_0x11b4e6['convertChildren'](_0x4f68c8['viewItem'],_0x4f68c8['modelCursor']);_0x4f68c8['modelRange']=_0x162d5e,_0x4f68c8['modelCursor']=_0x1cd365;}),_0x55a9c3['on']('element:hr',(_0x10bc8c,_0x46823b,_0x1d4994)=>{const _0x5a3fc4=_0x46823b['viewItem'];_0x5a3fc4['hasClass']('footnotes-divider')&&_0x46823b['modelCursor']['parent']?.['is']('element','footnotesDefinitions')&&_0x1d4994['consumable']['consume'](_0x5a3fc4,{'name':!0x0,'classes':'footnotes-divider'});});}),_0x19c38f['for']('dataDowncast')['elementToStructure']({'model':'footnotesDefinitions','view':(_0x5dc163,{writer:_0x4f058a})=>v(_0x4f058a)}),_0x19c38f['for']('editingDowncast')['elementToStructure']({'model':'footnotesDefinitions','view':(_0xed48c3,{writer:_0x1575f1})=>{const _0x948255=v(_0x1575f1,{'data-footnotes-list-label':t('Footnotes')}),_0x1d2e41=_0x1ac0da(_0x948255,_0x1575f1,{'hasSelectionHandle':!0x0,'label':t('Footnotes')});return _0x1575f1['setCustomProperty']('footnotesDefinitions',!0x0,_0x1d2e41),_0x1d2e41;}});}['_defineDefinitionConverters'](){const {editor:_0x2f00c8}=this,{conversion:_0x577879,locale:_0x17ec4b}=_0x2f00c8,_0x41131f=_0x2f00c8['config']['get']('footnotes.multiBlock');_0x577879['for']('upcast')['add'](_0xe3b644=>{_0xe3b644['on']('element:li',(_0x3cba60,_0xd9f961,_0x22951d)=>{const _0x1f9384=_0xd9f961['viewItem'];if(!_0x1f9384['hasClass']('footnote-definition')||!_0x1f9384['getAttribute']('id'))return;const _0x53c44c=_0x1f9384['parent'];if(!_0x53c44c['is']('element','ol')||!_0x53c44c['hasClass']('footnotes-list'))return;if(!_0x22951d['consumable']['test'](_0x1f9384,{'name':!0x0,'attributes':'id','classes':'footnote-definition'}))return;const _0x5dd81a=_0x22951d['writer']['createElement']('footnoteDefinition',{'footnoteId':_0x1f9384['getAttribute']('id')});if(!_0x22951d['safeInsert'](_0x5dd81a,_0xd9f961['modelCursor']))return;_0x22951d['consumable']['consume'](_0x1f9384,{'name':!0x0,'attributes':'id','classes':'footnote-definition'});const _0x4ac642=Array['from'](_0x1f9384['getChildren']())['find'](_0x22f08e=>_0x22f08e['is']('element')&&_0x22f08e['hasClass']('footnote-content'));for(const _0x1a14ac of _0x1f9384['getChildren']())_0x1a14ac['is']('element')&&(_0x22951d['consumable']['consume'](_0x1a14ac,{'name':!0x0,'classes':'footnote-backlink','attributes':'href'}),_0x22951d['consumable']['consume'](_0x1a14ac,{'name':!0x0,'classes':'footnote-content'}));if(_0x4ac642){if(_0x41131f)_0x22951d['convertChildren'](_0x4ac642,_0x5dd81a);else{const _0x31f763=_0x22951d['writer']['createElement']('footnoteInlineContent');_0x22951d['writer']['insert'](_0x31f763,_0x5dd81a),_0x22951d['convertChildren'](_0x4ac642,_0x31f763);}}_0x22951d['updateConversionResult'](_0x5dd81a,_0xd9f961);});}),_0x577879['for']('dataDowncast')['elementToStructure']({'model':{'name':'footnoteDefinition','attributes':['footnoteId']},'view':(_0xfe5527,{writer:_0x154f3f})=>b(_0xfe5527,_0x154f3f,_0x17ec4b,{'dataPipeline':!0x0})}),_0x577879['for']('editingDowncast')['elementToStructure']({'model':{'name':'footnoteDefinition','attributes':['footnoteId']},'view':(_0x168615,{writer:_0x3bd19e})=>b(_0x168615,_0x3bd19e,_0x17ec4b)});}['_defineBogusParagraphConverters'](){const {editor:_0x3828f7}=this,{conversion:_0x3b762a}=_0x3828f7;_0x3828f7['config']['get']('footnotes.multiBlock')?(_0x3b762a['for']('editingDowncast')['elementToElement']({'model':'paragraph','view':h(),'converterPriority':'high'}),_0x3b762a['for']('dataDowncast')['elementToElement']({'model':'paragraph','view':h({'dataPipeline':!0x0}),'converterPriority':'high'}),this['listenTo'](_0x3828f7['model']['document'],'change:data',()=>{!function(_0x259267,_0x139a79){const _0x270ffd=_0x259267['document']['differ'],_0x3f2b91=new Set();for(const _0x2a2e08 of _0x270ffd['getChanges']()){const _0x1f76ef='attribute'==_0x2a2e08['type']?_0x2a2e08['range']['start']['parent']:_0x2a2e08['position']['parent'];_0x1f76ef['is']('element','footnoteDefinition')&&_0x3f2b91['add'](_0x1f76ef);}for(const _0x2e9b54 of _0x3f2b91['values']()){const _0x3c86de=Array['from'](_0x2e9b54['getChildren']())['filter'](_0x48564c=>g(_0x48564c,_0x139a79['mapper']));for(const _0x3da08b of _0x3c86de)_0x139a79['reconvertItem'](_0x3da08b);}}(_0x3828f7['model'],_0x3828f7['editing']);})):(_0x3b762a['for']('editingDowncast')['elementToElement']({'model':'footnoteInlineContent','view':h()}),_0x3b762a['for']('dataDowncast')['elementToElement']({'model':'footnoteInlineContent','view':(_0x50a236,{writer:_0x356074})=>{const _0x2085e1=_0x356074['createContainerElement']('span');return _0x356074['setCustomProperty']('dataPipeline:transparentRendering',!0x0,_0x2085e1),_0x2085e1;}}));}['_defineKeyboardHandlers'](){const {editor:_0x4d8c07}=this,{editing:_0x211ad4,t:t}=_0x4d8c07,_0x5ccb90=_0x4d8c07['model']['document']['selection'];_0x4d8c07['keystrokes']['set']('Ctrl+Alt+F','insertFootnote'),_0x4d8c07['accessibility']['addKeystrokeInfos']({'keystrokes':[{'label':t('Insert\x20footnote'),'keystroke':'Ctrl+Alt+F'}]}),this['listenTo'](_0x211ad4['view']['document'],'enter',(_0x292658,_0xb5323d)=>{const _0x40aab0=function(_0x143250){const _0x2b2b62=_0x143250['getSelectedElement']();if(_0x2b2b62?.['is']('element','footnoteRef'))return _0x2b2b62;return null;}(_0x5ccb90);if(_0x40aab0){const _0xefa3f4=_0x40aab0['getAttribute']('footnoteId');this['_moveSelectionToFootnoteDefinition'](_0xefa3f4),_0xb5323d['preventDefault'](),_0x292658['stop']();}},{'context':_0x484cd1});}['_defineClickHandlers'](){const {editor:_0x37d013}=this,{editing:_0x53c5d6}=_0x37d013;_0x37d013['editing']['view']['addObserver'](_0x37616e),_0x37d013['editing']['view']['addObserver'](_0x404269);let _0x34336f=!0x1;this['listenTo'](_0x53c5d6['view']['document'],'pointerdown',(_0x14704f,_0x1df5ce)=>{const {target:_0x229a75}=_0x1df5ce,_0x114c63=_0x53c5d6['view']['document']['selection'];_0x34336f=!!(_0x229a75?.['is']('element','a')&&_0x229a75['parent']?.['is']('element','sup')&&_0x229a75['parent']['hasClass']('footnote'))&&_0x114c63['getSelectedElement']()===_0x229a75['parent'];},{'priority':'high'}),this['listenTo'](_0x53c5d6['view']['document'],'click',(_0x388b5a,_0x202b33)=>{const {target:_0x588d4d}=_0x202b33;if(!_0x588d4d?.['is']('element','a'))return;if(_0x588d4d['parent']?.['is']('element','sup')&&_0x588d4d['parent']['hasClass']('footnote')&&!_0x34336f)return void _0x202b33['preventDefault']();let _0x4d3572=_0x588d4d['getAttribute']('href');if(!_0x4d3572?.['startsWith']('#'))return;_0x4d3572=_0x4d3572['slice'](0x1);let _0x1c6683=!0x1;(_0x4d3572['startsWith']('ref-')&&this['_moveSelectionToFootnoteReference'](_0x4d3572['slice'](0x4))||this['_moveSelectionToFootnoteDefinition'](_0x4d3572))&&(_0x1c6683=!0x0),_0x1c6683&&(_0x202b33['preventDefault'](),_0x388b5a['stop']());},{'priority':'high','context':'$capture'});}}function h({dataPipeline:_0x18839e}={}){return(_0x1efc8b,{writer:_0x557697})=>{if(!p(_0x1efc8b))return null;if(!_0x18839e)return _0x557697['createContainerElement']('span',{'class':'ck-footnote-bogus-paragraph'});const _0x179fd0=_0x557697['createContainerElement']('p');return _0x557697['setCustomProperty']('dataPipeline:transparentRendering',!0x0,_0x179fd0),_0x179fd0;};}function p(_0x19073c){const {parent:_0xacfc9b}=_0x19073c;if(!_0xacfc9b?.['is']('element','footnoteDefinition'))return!0x1;if(0x1!=_0xacfc9b['childCount'])return!0x1;for(const _0x5a5a20 of _0x19073c['getAttributeKeys']())if(!_0x5a5a20['startsWith']('selection:')&&'htmlEmptyBlock'!=_0x5a5a20)return!0x1;return!0x0;}function g(_0x1a4f1c,_0x28ec1f){if(!_0x1a4f1c['is']('element','paragraph'))return!0x1;const _0x199f1a=_0x28ec1f['toViewElement'](_0x1a4f1c);return!!_0x199f1a&&p(_0x1a4f1c)!==_0x199f1a['is']('element','span');}function J(_0x511a6e){return _0x484cd1(_0x511a6e)&&_0x511a6e['is']('containerElement')&&!!_0x511a6e['getCustomProperty']('footnotesDefinitions');}function v(_0x3e4d57,_0x4e1064={}){const _0x2c72d1=_0x3e4d57['createEmptyElement']('hr',{'class':'footnotes-divider'}),_0x2c9f23=_0x3e4d57['createContainerElement']('ol',{'class':'footnotes-list'},_0x3e4d57['createSlot']());return _0x3e4d57['createContainerElement']('div',{'class':'footnotes',..._0x4e1064},[_0x2c72d1,_0x2c9f23]);}function D(_0x31a4ac,_0x2dfd9d){const _0x3debe5=_0x31a4ac['getAttribute']('footnoteId'),_0x3ce8c3=_0x31a4ac['getAttribute']('footnoteCounter'),_0x10a4a4=_0x2dfd9d['createUIElement']('a',{'href':'#'+_0x3debe5},function(_0x3a70ae){const _0x353ab5=this['toDomElement'](_0x3a70ae);return _0x353ab5['textContent']=_0x3ce8c3,_0x353ab5;}),_0x56747c=_0x2dfd9d['createContainerElement']('sup',{'id':'ref-'+_0x3debe5,'class':'footnote'},[_0x10a4a4]);return _0x56747c['getFillerOffset']=()=>null,_0x56747c;}function b(_0x171b36,_0x50a986,_0x56cac9,{dataPipeline:_0x55fee9}={}){const {t:t}=_0x56cac9,_0x4a2fd5=_0x171b36['getAttribute']('footnoteId'),_0x4e12aa=_0x50a986['createUIElement']('a',{'class':'footnote-backlink','href':'#ref-'+_0x4a2fd5},function(_0x3f86c4){const _0x1cf8b6=this['toDomElement'](_0x3f86c4);return _0x1cf8b6['innerText']='^',_0x1cf8b6;}),_0x5abec9=_0x55fee9?_0x50a986['createContainerElement']('div',{'class':'footnote-content'}):_0x28b8a0(_0x50a986['createEditableElement']('div',{'class':'footnote-content'}),_0x50a986,{'label':t('Footnote\x20content.')});return _0x50a986['insert'](_0x50a986['createPositionAt'](_0x5abec9,0x0),_0x50a986['createSlot']()),_0x50a986['createContainerElement']('li',{'class':'footnote-definition','id':_0x4a2fd5},[_0x4e12aa,_0x5abec9]);}class e extends _0x4811b6{static get['pluginName'](){return'FootnotesClipboard';}static get['requires'](){return[r,_0x1ef646];}static get['isOfficialPlugin'](){return!0x0;}static get['isPremiumPlugin'](){return!0x0;}['init'](){this['_defineClipboardIntegration']();}['_defineClipboardIntegration'](){this['_handleCopyFootnotesDefinitions'](),this['_handlePasteFootnotesDefinitions']();}['_handleCopyFootnotesDefinitions'](){const {editor:_0x35030c}=this,{plugins:_0x4e4960,model:_0x2bad34}=_0x35030c,_0x333f6e=_0x4e4960['get'](_0x1ef646),_0x404e3a=_0x4e4960['get'](f);this['listenTo'](_0x333f6e,'outputTransformation',(_0x5bafe3,_0x123a5f)=>{const _0x46b068=c(_0x2bad34['createRangeIn'](_0x123a5f['content']));if(!_0x46b068['length'])return;const _0x16753d=_0x404e3a['getFootnotes'](),_0x153fdc=_0x46b068['reduce']((_0x4ad628,_0x46f6f5)=>{const _0x532a08=_0x16753d['find'](_0x12d7f7=>_0x12d7f7['id']===_0x46f6f5);if(_0x532a08){const _0x210281=_0x35030c['data']['toView'](_0x532a08['definition'],{'isClipboardPipeline':!0x0}),_0x2af13=_0x35030c['data']['htmlProcessor']['toData'](_0x210281);_0x4ad628[_0x532a08['id']]=_0x2af13;}return _0x4ad628;},Object['create'](null));_0x123a5f['dataTransfer']['setData']('application/ckeditor5-footnotes',JSON['stringify'](_0x153fdc));});}['_handlePasteFootnotesDefinitions'](){const {editor:_0x3c9002}=this,{model:_0x27b51f,plugins:_0x71f06}=_0x3c9002,{view:_0x131bd2}=_0x3c9002['editing'],_0x53d82d=_0x71f06['get'](_0x1ef646),_0x41656f=_0x71f06['get'](f),_0x2776f6=_0x3c9002['config']['get']('footnotes.multiBlock');let _0x527906=null;this['listenTo'](_0x131bd2['document'],'clipboardInput',(_0xf7861,_0x49b7ae)=>{const _0x265e36=_0x49b7ae['dataTransfer']['getData']('application/ckeditor5-footnotes');_0x527906=_0x265e36?JSON['parse'](_0x265e36):null;}),this['listenTo'](_0x53d82d,'contentInsertion',(_0x3de8,_0x102a40)=>{const _0x527d4d=_0x102a40['sourceEditorId']===this['editor']['id'];_0x527d4d&&'drop'===_0x102a40['method']||_0x27b51f['change'](_0x22b142=>{let _0x3b235c=_0x41656f['getFootnotesDefinitionsObjectElement']();const _0x270b1c=!!_0x3b235c&&Array['from'](_0x27b51f['document']['selection']['getSelectedBlocks']())['includes'](_0x3b235c);if((_0x3b235c&&!_0x270b1c||!_0x3b235c&&!_0x527906)&&function(_0x4e0f52,_0x20c3eb){const _0x543a3b=[];for(const {item:_0x40b988}of _0x4e0f52['createRangeIn'](_0x20c3eb))_0x40b988['is']('element','footnotesDefinitions')&&_0x543a3b['push'](_0x40b988);for(const _0x14029e of _0x543a3b)_0x4e0f52['remove'](_0x14029e);}(_0x22b142,_0x102a40['content']),!_0x527906)return;const {selection:_0x45e24d}=_0x27b51f['document'],_0x4f8421=_0x45e24d['getFirstRange']()['root'];_0x3b235c&&!_0x270b1c||(_0x3b235c=function(_0xf1830d,_0x1f1fcd){for(const {item:_0xc6ba0f}of _0xf1830d['createRangeIn'](_0x1f1fcd))if(_0xc6ba0f['is']('element','footnotesDefinitions'))return _0xc6ba0f;return null;}(_0x22b142,_0x102a40['content']),_0x3b235c||=_0x41656f['_insertEmptyFootnotesDefinitionsContainer'](_0x22b142,_0x4f8421));const _0x106144=Array['from'](_0x45e24d['getRanges']())['flatMap'](c),_0x9dc271=function(_0x360889,_0x4e71c0,_0x129485){const _0x2fa3cf=Object['create'](null);for(const {item:_0x26c7b2}of _0x360889['createRangeIn'](_0x4e71c0))if(_0x26c7b2['is']('element','footnoteRef')){const _0x58fc73=_0x26c7b2['getAttribute']('footnoteId');if(!_0x129485(_0x58fc73))continue;_0x2fa3cf[_0x58fc73]||(_0x2fa3cf[_0x58fc73]=_0x436330()),_0x360889['setAttribute']('footnoteId',_0x2fa3cf[_0x58fc73],_0x26c7b2);}return _0x2fa3cf;}(_0x22b142,_0x102a40['content'],_0x15560c=>{if(!_0x527d4d)return!0x0;return!!_0x41656f['getFootnote'](_0x15560c)&&!_0x106144['includes'](_0x15560c);});for(const [_0x333128,_0x985887]of Object['entries'](_0x527906)){const _0x5b39b7=_0x9dc271[_0x333128]||_0x333128,_0x22c1d5=_0x22b142['createElement']('footnoteDefinition',{'footnoteId':_0x5b39b7}),_0x347ef1=_0x3c9002['data']['htmlProcessor']['toView'](_0x985887);let _0xf12d9c;if(_0x2776f6)_0xf12d9c=_0x3c9002['data']['toModel'](_0x347ef1,_0x22c1d5);else{_0xf12d9c=_0x22b142['createElement']('footnoteInlineContent');const _0x43559b=_0x3c9002['data']['toModel'](_0x347ef1,_0xf12d9c);_0x22b142['insert'](_0x43559b,_0xf12d9c);}_0x22b142['append'](_0xf12d9c,_0x22c1d5),_0x22b142['insert'](_0x22c1d5,_0x3b235c,'end');}_0x527906=null;});});}}function c(_0x1ac090){const _0x8e9c55=new Set();for(const {item:_0x1aaa99}of _0x1ac090)_0x1aaa99['is']('element','footnoteRef')&&_0x8e9c55['add'](_0x1aaa99['getAttribute']('footnoteId'));return Array['from'](_0x8e9c55);}class i extends _0x4811b6{['licenseKey'];['_licenseKeyCheckInterval'];static get['pluginName'](){return'FootnotesUI';}static get['isOfficialPlugin'](){return!0x0;}static get['isPremiumPlugin'](){return!0x0;}['init'](){const {editor:_0x3b6c3b}=this,{componentFactory:_0x4574bb}=_0x3b6c3b['ui'];_0x4574bb['add']('insertFootnote',x(_0x3b6c3b,_0x30c80f)),_0x4574bb['add']('menuBar:insertFootnote',x(_0x3b6c3b,_0x3e461c)),this['licenseKey']=this['editor']['config']['get']('licenseKey');const _0x146322=this['editor'];this['_licenseKeyCheckInterval']=setInterval(()=>{let _0x42458d;for(const _0x423398 in _0x146322){const _0x31448d=_0x423398,_0x24d1c9=_0x146322[_0x31448d];if('footnotesLicenseKeyValid'==_0x24d1c9||'footnotesLicenseKeyInvalid'==_0x24d1c9||'footnotesLicenseKeyExpired'==_0x24d1c9||'footnotesLicenseKeyDomainLimit'==_0x24d1c9||'footnotesLicenseKeyNotAllowed'==_0x24d1c9||'footnotesLicenseKeyEvaluationLimit'==_0x24d1c9||'footnotesLicenseKeyTrialLimit'==_0x24d1c9||'footnotesLicenseKeyUsageLimit'==_0x24d1c9){delete _0x146322[_0x31448d],_0x42458d=_0x24d1c9,clearInterval(this['_licenseKeyCheckInterval']),this['_licenseKeyCheckInterval']=void 0x0;break;}}'footnotesLicenseKeyInvalid'==_0x42458d&&_0x146322['_showLicenseError']('invalid'),'footnotesLicenseKeyExpired'==_0x42458d&&_0x146322['_showLicenseError']('expired'),'footnotesLicenseKeyDomainLimit'==_0x42458d&&_0x146322['_showLicenseError']('domainLimit'),'footnotesLicenseKeyNotAllowed'==_0x42458d&&_0x146322['_showLicenseError']('featureNotAllowed','Footnotes'),'footnotesLicenseKeyEvaluationLimit'==_0x42458d&&_0x146322['_showLicenseError']('evaluationLimit'),'footnotesLicenseKeyTrialLimit'==_0x42458d&&_0x146322['_showLicenseError']('trialLimit'),'footnotesLicenseKeyUsageLimit'==_0x42458d&&_0x146322['_showLicenseError']('usageLimit');},0x3e8);}['destroy'](){super['destroy'](),this['_licenseKeyCheckInterval']&&clearInterval(this['_licenseKeyCheckInterval']);}}function x(_0x71b88d,_0x2b2aa9){const _0x6b0fa7=_0x71b88d['commands']['get']('insertFootnote');return _0x38ae3e=>{const {t:t}=_0x38ae3e,_0x396ca1=new _0x2b2aa9(_0x38ae3e),_0x1a76bf=_0x396ca1 instanceof _0x3e461c;return _0x396ca1['bind']('isEnabled')['to'](_0x6b0fa7,'isEnabled'),_0x396ca1['set']({'label':t(_0x1a76bf?'Footnote':'Insert\x20footnote'),'icon':_0x28859b,'tooltip':!0x0}),_0x396ca1['on']('execute',()=>{_0x6b0fa7['execute'](),_0x71b88d['editing']['view']['focus']();}),_0x396ca1;};}class lt extends _0x4811b6{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 _0x57bc43{['refresh'](){const {editor:_0x7225dc}=this,_0x4ffb50=_0x7225dc['plugins']['get'](f)['getFootnotesDefinitionsObjectElement']();this['isEnabled']=!!_0x4ffb50,this['value']=_0x4ffb50?.['getAttribute']('footnotesListStyle')??null;}['execute']({value:_0x1c09f0}){const {editor:_0x1f2de6}=this,_0x1761b3=_0x1f2de6['plugins']['get'](f),_0x31bd5f=_0x1761b3['getFootnotesDefinitionsObjectElement']();_0x31bd5f&&Q['includes'](_0x1c09f0)&&_0x1f2de6['model']['change'](_0x2206b4=>{_0x2206b4['setAttribute']('footnotesListStyle',_0x1c09f0,_0x31bd5f),_0x1761b3['_updateFootnotesCounters'](_0x2206b4);});}}class C extends _0x57bc43{['refresh'](){const {editor:_0x655c0e}=this,_0x598f2a=_0x655c0e['plugins']['get'](f)['getFootnotesDefinitionsObjectElement']();this['isEnabled']=!!_0x598f2a,this['value']=_0x598f2a?.['getAttribute']('footnotesListStart')??null;}['execute']({value:_0x2d8506}){const {editor:_0x490ef0}=this,_0x4c70f3=_0x490ef0['plugins']['get'](f),_0x2e132d=_0x4c70f3['getFootnotesDefinitionsObjectElement']();_0x2e132d&&Number['isInteger'](_0x2d8506)&&_0x490ef0['model']['change'](_0x23c1dc=>{_0x23c1dc['setAttribute']('footnotesListStart',_0x2d8506,_0x2e132d),_0x4c70f3['_updateFootnotesCounters'](_0x23c1dc);});}}class P extends _0x4811b6{static get['pluginName'](){return'FootnotesPropertiesEditing';}static get['requires'](){return[r,f];}static get['isOfficialPlugin'](){return!0x0;}static get['isPremiumPlugin'](){return!0x0;}['init'](){const {editor:_0x128ecb}=this;_0x128ecb['config']['define']('footnotes.footnotesProperties.defaultListStyle','decimal'),_0x128ecb['config']['define']('footnotes.footnotesProperties.defaultStartIndex',0x1),_0x128ecb['commands']['add']('footnotesStyle',new S(_0x128ecb)),_0x128ecb['commands']['add']('footnotesStart',new C(_0x128ecb)),this['_defineSchema'](),this['_defineConverters'](),this['_defineFormatter'](),this['_definePostfixer']();}['_defineSchema'](){const {editor:_0x46c65e}=this,{schema:_0x5c5586}=_0x46c65e['model'];_0x5c5586['extend']('footnotesDefinitions',{'allowAttributes':['footnotesListStyle','footnotesListStart']});}['_defineConverters'](){const {editor:_0x328b71}=this,{conversion:_0x2125fd,model:_0x3a4622}=_0x328b71,{schema:_0x30d629}=_0x3a4622;_0x2125fd['for']('upcast')['add'](_0x431e6b=>{_0x431e6b['on']('element:ol',(_0xb6821c,_0x51c5b3,_0x536b47)=>{const _0x5d76b9=_0x51c5b3['viewItem'],_0xdbdbf8=_0x51c5b3['modelCursor']?.['parent'];_0x5d76b9['hasClass']('footnotes-list')&&_0xdbdbf8?.['is']('element','footnotesDefinitions')&&(function(_0x464cc6,_0x558c21,_0xf9bf29,_0x3bb228){if(!_0x3bb228['checkAttribute'](_0x558c21,'footnotesListStart'))return;let _0x3c08f7=0x1;const _0x2d9d73=_0xf9bf29['consumable']['consume'](_0x464cc6,{'attributes':'start'});if(_0x2d9d73){const _0x5670a0=Number['parseInt'](_0x464cc6['getAttribute']('start'),0xa);Number['isNaN'](_0x5670a0)||(_0x3c08f7=_0x5670a0);}!_0x2d9d73&&_0x558c21['hasAttribute']('footnotesListStart')||_0xf9bf29['writer']['setAttribute']('footnotesListStart',_0x3c08f7,_0x558c21);}(_0x5d76b9,_0xdbdbf8,_0x536b47,_0x30d629),function(_0x54681d,_0x3d1bf3,_0x186985,_0x9dd437){if(!_0x9dd437['checkAttribute'](_0x3d1bf3,'footnotesListStyle'))return;let _0x5bf204='decimal',_0x2a6bc0=!0x1;if(_0x186985['consumable']['consume'](_0x54681d,{'attributes':'type'})){const _0x30770a={0x1:'decimal','a':'lower-alpha','A':'upper-alpha','i':'lower-roman','I':'upper-roman'}[_0x54681d['getAttribute']('type')];_0x30770a&&(_0x5bf204=_0x30770a),_0x2a6bc0=!0x0;}_0x186985['consumable']['consume'](_0x54681d,{'styles':'list-style-type'})&&(_0x5bf204=function(_0x470dc2){switch(_0x470dc2){case'lower-alpha':return'lower-latin';case'upper-alpha':return'upper-latin';default:return _0x470dc2;}}(_0x54681d['getStyle']('list-style-type')),_0x2a6bc0=!0x0),!_0x2a6bc0&&_0x3d1bf3['hasAttribute']('footnotesListStyle')||_0x186985['writer']['setAttribute']('footnotesListStyle',_0x5bf204,_0x3d1bf3);}(_0x5d76b9,_0xdbdbf8,_0x536b47,_0x30d629));});}),_0x2125fd['for']('downcast')['add'](_0x209741=>{_0x209741['on']('attribute:footnotesListStart:footnotesDefinitions',(_0x467cb0,_0xc10521,_0x479bc2)=>{if(!_0x479bc2['consumable']['consume'](_0xc10521['item'],_0x467cb0['name']))return;const _0x238beb=M(_0xc10521['item'],_0x479bc2['mapper']),{attributeNewValue:_0x571cd7}=_0xc10521;null==_0x571cd7||0x1===_0x571cd7?_0x479bc2['writer']['removeAttribute']('start',_0x238beb):_0x479bc2['writer']['setAttribute']('start',String(_0x571cd7),_0x238beb);}),_0x209741['on']('attribute:footnotesListStyle:footnotesDefinitions',(_0x4f5275,_0x9f64f4,_0x5cec55)=>{if(!_0x5cec55['consumable']['consume'](_0x9f64f4['item'],_0x4f5275['name']))return;const _0x57c9ad=M(_0x9f64f4['item'],_0x5cec55['mapper']),{attributeNewValue:_0x35cd46}=_0x9f64f4;_0x35cd46&&'decimal'!==_0x35cd46?_0x5cec55['writer']['setStyle']('list-style-type',_0x35cd46,_0x57c9ad):_0x5cec55['writer']['removeStyle']('list-style-type',_0x57c9ad);});});}['_definePostfixer'](){const {editor:_0xd520b2}=this,{model:_0x388c2d}=_0xd520b2,_0x5a0f2d=_0xd520b2['plugins']['get'](f),_0x395425=this['_getDefaultListStyle'](),_0x2a5633=this['_getDefaultStartIndex']();_0x388c2d['document']['registerPostFixer'](_0x1c027c=>{const _0x1504af=_0x388c2d['document']['differ']['getChanges']();let _0x4e2b6f=!0x1;for(const _0x25ff7b of _0x1504af){if('insert'!==_0x25ff7b['type']||'$text'===_0x25ff7b['name'])continue;const _0x1a2798=_0x388c2d['createRangeOn'](_0x25ff7b['position']['nodeAfter']);for(const _0x5f2445 of _0x1a2798['getItems']())_0x5f2445['is']('element','footnotesDefinitions')&&(!_0x5f2445['hasAttribute']('footnotesListStart')&&_0x388c2d['schema']['checkAttribute'](_0x5f2445,'footnotesListStart')&&(_0x1c027c['setAttribute']('footnotesListStart',_0x2a5633,_0x5f2445),_0x4e2b6f=!0x0),!_0x5f2445['hasAttribute']('footnotesListStyle')&&_0x388c2d['schema']['checkAttribute'](_0x5f2445,'footnotesListStyle')&&(_0x1c027c['setAttribute']('footnotesListStyle',_0x395425,_0x5f2445),_0x4e2b6f=!0x0));}return _0x4e2b6f&&_0x5a0f2d['_updateFootnotesCounters'](_0x1c027c),_0x4e2b6f;});}['_defineFormatter'](){const {editor:_0x2dd21d}=this;_0x2dd21d['plugins']['get'](f)['setFootnoteFormatter'](_0x873e96=>this['_formatFootnoteListValue'](_0x873e96));}['_getDefaultListStyle'](){return this['editor']['config']['get']('footnotes.footnotesProperties.defaultListStyle');}['_getDefaultStartIndex'](){return this['editor']['config']['get']('footnotes.footnotesProperties.defaultStartIndex');}['_formatFootnoteListValue']({container:_0x4e11ae,value:_0x27fb40,digits:_0xd057cc}){const _0xec70f4=_0x4e11ae['getAttribute']('footnotesListStyle'),_0x2f07d0=_0x4e11ae['getAttribute']('footnotesListStart'),_0x52a2ba=Math['floor'](_0x27fb40)+(_0x2f07d0??0x1)-0x1;switch(_0xec70f4){case'decimal-leading-zero':return function(_0x1ad685,_0x703112){return String(_0x1ad685)['padStart'](_0x703112,'0');}(_0x52a2ba,Math['max'](0x2,_0xd057cc));case'lower-alpha':case'lower-latin':return N(_0x52a2ba,!0x1);case'upper-alpha':case'upper-latin':return N(_0x52a2ba,!0x0);case'lower-roman':return X(_0x52a2ba,!0x1);case'upper-roman':return X(_0x52a2ba,!0x0);default:return String(_0x52a2ba);}}}function M(_0x2c5e3f,_0x4c3008){const _0x2d0d8f=_0x4c3008['toViewElement'](_0x2c5e3f);return Array['from'](_0x2d0d8f['getChildren']())['find'](_0x5746c4=>_0x5746c4['is']('element','ol')&&_0x5746c4['hasClass']('footnotes-list'));}function N(_0x309819,_0x24069a){let _0x3a2bd4='',_0x41554f=_0x309819;for(;_0x41554f>0x0;){const _0x145d14=(_0x41554f-0x1)%0x1a;_0x3a2bd4=String['fromCharCode'](0x61+_0x145d14)+_0x3a2bd4,_0x41554f=Math['floor']((_0x41554f-0x1)/0x1a);}return _0x24069a?_0x3a2bd4['toUpperCase']():_0x3a2bd4;}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(_0x1ef3c0,_0x5b6434){let _0x215a47='',_0x3bfba1=_0x1ef3c0;for(const {value:_0x335088,numeral:_0x50f8ea}of V)for(;_0x3bfba1>=_0x335088;)_0x215a47+=_0x50f8ea,_0x3bfba1-=_0x335088;return _0x5b6434?_0x215a47:_0x215a47['toLowerCase']();}class H extends _0x109799{['children'];['stylesView']=null;['additionalProperties']=null;['startIndexFieldView']=null;['focusTracker']=new ot();['keystrokes']=new rt();['focusables']=new _0xfe5986();['focusCycler'];constructor(_0x738a1c,{styleButtonViews:_0x1ed339,styleGridAriaLabel:_0x126250}){super(_0x738a1c),(this['focusCycler']=new _0x1a9c37({'focusables':this['focusables'],'focusTracker':this['focusTracker'],'keystrokeHandler':this['keystrokes'],'actions':{'focusPrevious':'shift\x20+\x20tab','focusNext':'tab'}}),this['children']=this['createCollection'](),this['stylesView']=this['_appendStylesView'](_0x1ed339,_0x126250),[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 _0x1a57cb of this['stylesView']['children'])this['stylesView']['focusTracker']['add'](_0x1a57cb['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 _0x57f7d2=_0x5d192e=>_0x5d192e['stopPropagation']();this['keystrokes']['set']('arrowright',_0x57f7d2),this['keystrokes']['set']('arrowleft',_0x57f7d2),this['keystrokes']['set']('arrowup',_0x57f7d2),this['keystrokes']['set']('arrowdown',_0x57f7d2);}this['keystrokes']['listenTo'](this['element']);}['focus'](){this['focusCycler']['focusFirst']();}['focusLast'](){this['focusCycler']['focusLast']();}['destroy'](){super['destroy'](),this['focusTracker']['destroy'](),this['keystrokes']['destroy']();}['_appendStylesView'](_0x4ab798,_0x24707b){const _0x345ee1=new _0x109799(this['locale']);return _0x345ee1['children']=_0x345ee1['createCollection'](),_0x345ee1['children']['addMany'](_0x4ab798),_0x345ee1['setTemplate']({'tag':'div','attributes':{'aria-label':_0x24707b,'class':['ck','ck-footnotes-definitions-styles-list']},'children':_0x345ee1['children']}),_0x345ee1['children']['delegate']('execute')['to'](this),_0x345ee1['focus']=function(){for(const _0x41def4 of this['children'])if(_0x41def4 instanceof _0x30c80f&&_0x41def4['isOn'])return void _0x41def4['focus']();this['children']['first']['focus']();},_0x345ee1['focusTracker']=new ot(),_0x345ee1['keystrokes']=new rt(),_0x345ee1['render'](),_0x345ee1['keystrokes']['listenTo'](_0x345ee1['element']),this['children']['add'](_0x345ee1),_0x345ee1;}['_appendAdditionalPropertiesCollapsibleView'](){const {t:t}=this['locale'],_0x346bed=this['_createStartIndexPropertyView'](),_0x59b303=[_0x346bed],_0x7a5544=new st(this['locale'],_0x59b303);return _0x7a5544['set']({'label':t('Footnotes\x20properties'),'isCollapsed':!0x0}),_0x7a5544['buttonView']['bind']('isEnabled')['toMany'](_0x59b303,'isEnabled',(..._0x3134df)=>_0x3134df['some'](_0x57b115=>_0x57b115)),_0x7a5544['buttonView']['on']('change:isEnabled',(_0x2d8336,_0x4fc40f,_0xb8460c)=>{_0xb8460c||(_0x7a5544['isCollapsed']=!0x0);}),this['children']['add'](_0x7a5544),[_0x346bed,_0x7a5544];}['_createStartIndexPropertyView'](){const {t:t}=this['locale'],_0x56a8f4=new it(this['locale'],et);return _0x56a8f4['set']({'label':t('Footnotes\x20start\x20at'),'class':'ck-footnotes-definitions-properties__start-index'}),_0x56a8f4['fieldView']['set']({'min':0x0,'max':Math['pow'](0x2,0x1e),'step':0x1,'value':0x1,'inputMode':'numeric'}),_0x56a8f4['fieldView']['on']('input',()=>{const _0x21b821=_0x56a8f4['fieldView']['element'],_0x3b08ef=_0x21b821['valueAsNumber'];Number['isNaN'](_0x3b08ef)?_0x56a8f4['errorText']=t('Invalid\x20footnotes\x20start\x20index\x20value.'):_0x21b821['checkValidity']()?this['fire']('footnotesListStart',{'startIndex':_0x3b08ef}):_0x56a8f4['errorText']=t(_0x3b08ef<0x0?'Footnotes\x20start\x20index\x20must\x20be\x20greater\x20than\x200.':'Footnotes\x20start\x20index\x20is\x20too\x20large.');}),_0x56a8f4;}}class j extends _0x4811b6{static get['pluginName'](){return'FootnotesPropertiesUI';}static get['requires'](){return[_0x32fb2d,_0x4ee6c5];}static get['isOfficialPlugin'](){return!0x0;}static get['isPremiumPlugin'](){return!0x0;}['init'](){const {editor:_0x2c0ccf}=this,{componentFactory:_0xcc6170}=_0x2c0ccf['ui'];_0x2c0ccf['config']['define']('footnotes.footnotesProperties.toolbar',['footnotesStyle']),_0xcc6170['add']('footnotesStyle',function(_0x43644f){return _0x24c6ae=>{const {t:t}=_0x24c6ae,_0x22e938=_0x43644f['commands']['get']('footnotesStyle'),_0x2289b2=_0x40a7ee(_0x24c6ae),{buttonView:_0x37b406}=_0x2289b2;return _0x2289b2['class']='ck-footnotes-styles-dropdown',_0x2289b2['bind']('isEnabled')['to'](_0x22e938,'isEnabled'),_0x37b406['set']({'label':t('Footnotes\x20style'),'icon':_0x28859b,'tooltip':!0x0}),_0x2289b2['once']('change:isOpen',()=>{const _0x4f2ce7=function({editor:_0x4c3294,dropdownView:_0x40b482}){const {t:t}=_0x4c3294['locale'],_0x805344=t('Footnotes\x20definitions\x20styles'),_0xc5d20=function(_0x584edd){const t=_0x584edd['locale']['t'],_0x45d1fa=[{'label':t('Toggle\x20the\x20decimal\x20footnotes\x20style'),'tooltip':t('Decimal\x20footnotes'),'style':'decimal','icon':_0x53be78},{'label':t('Toggle\x20the\x20decimal\x20with\x20leading\x20zero\x20footnotes\x20style'),'tooltip':t('Decimal\x20footnotes\x20with\x20leading\x20zero'),'style':'decimal-leading-zero','icon':_0x268531},{'label':t('Toggle\x20the\x20lower–roman\x20footnotes\x20style'),'tooltip':t('Lower–roman\x20footnotes'),'style':'lower-roman','icon':_0x416213},{'label':t('Toggle\x20the\x20upper–roman\x20footnotes\x20style'),'tooltip':t('Upper-roman\x20footnotes'),'style':'upper-roman','icon':_0x95de4f},{'label':t('Toggle\x20the\x20lower–latin\x20footnotes\x20style'),'tooltip':t('Lower-latin\x20footnotes'),'style':'lower-latin','icon':_0x3d2866},{'label':t('Toggle\x20the\x20upper–latin\x20footnotes\x20style'),'tooltip':t('Upper-latin\x20footnotes'),'style':'upper-latin','icon':_0x3b54a9}];return _0x45d1fa['map'](function(_0x2bd132){const _0x3250f4=_0x2bd132['locale'];return({label:_0x2fd05b,icon:_0x2d8b2f,tooltip:_0x36d2f3,style:_0xc6c7f})=>{const _0x629721=_0x2bd132['commands']['get']('footnotesStyle'),_0xc47ab4=new _0x30c80f(_0x3250f4);return _0xc47ab4['set']({'label':_0x2fd05b,'icon':_0x2d8b2f,'tooltip':_0x36d2f3}),_0xc47ab4['bind']('isOn')['to'](_0x629721,'value',_0x8f0889=>_0x8f0889===_0xc6c7f),_0xc47ab4['bind']('isEnabled')['to'](_0x629721,'isEnabled'),_0xc47ab4['on']('execute',()=>{_0x2bd132['execute']('footnotesStyle',{'value':_0xc6c7f}),_0x2bd132['editing']['view']['focus']();}),_0xc47ab4;};}(_0x584edd));}(_0x4c3294),_0x2f4820=new H(_0x4c3294['locale'],{'styleGridAriaLabel':_0x805344,'styleButtonViews':_0xc5d20}),_0xcbfe3a=_0x4c3294['commands']['get']('footnotesStart');return _0x2f4820['startIndexFieldView']['bind']('isEnabled')['to'](_0xcbfe3a),_0x2f4820['startIndexFieldView']['fieldView']['bind']('value')['to'](_0xcbfe3a),_0x2f4820['on']('footnotesListStart',(_0x55854d,_0x52ef49)=>{_0x4c3294['execute']('footnotesStart',{'value':_0x52ef49['startIndex']});}),_0x2f4820['delegate']('execute')['to'](_0x40b482),_0x2f4820;}({'editor':_0x43644f,'dropdownView':_0x2289b2});_0x2289b2['panelView']['children']['add'](_0x4f2ce7);}),_0x2289b2;};}(_0x2c0ccf));}['afterInit'](){const {editor:_0x37f91a}=this,{t:t}=_0x37f91a['locale'],_0x9b198=_0x37f91a['plugins']['get'](_0x4ee6c5),{defaultPositions:_0xbe296a}=_0x3a60f8;_0x9b198['register']('footnotesDefinitions',{'ariaLabel':t('Footnotes\x20definitions\x20toolbar'),'items':_0x37f91a['config']['get']('footnotes.footnotesProperties.toolbar'),'balloonClassName':'ck-footnotes-style-balloon\x20ck-toolbar-container','getRelatedElement':_0x3c967a=>{let _0x3c7e58=_0x3c967a['getFirstPosition']()?.['parent'];return _0x3c7e58?.['is']('$text')&&(_0x3c7e58=_0x3c7e58['parent']),_0x3c7e58?.['is']('element')?_0x3c7e58['findAncestor'](J):null;},'positions':[_0xbe296a['southArrowNorth'],_0xbe296a['southArrowNorthMiddleWest'],_0xbe296a['southArrowNorthMiddleEast'],_0xbe296a['southArrowNorthWest'],_0xbe296a['southArrowNorthEast'],_0xbe296a['northArrowSouth'],_0xbe296a['northArrowSouthMiddleWest'],_0xbe296a['northArrowSouthMiddleEast'],_0xbe296a['northArrowSouthWest'],_0xbe296a['northArrowSouthEast'],_0xbe296a['viewportStickyNorth']]});}}class ft extends _0x4811b6{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':_0x10fed6=>0x1!=_0x10fed6}};
@@ -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
+ (_0x22ee2c=>{const {af:{dictionary:_0x26d7df,getPluralForm:_0x121e28}}={'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':_0x149936=>0x1!=_0x149936}};_0x22ee2c['af']||={'dictionary':{},'getPluralForm':null},_0x22ee2c['af']['dictionary']=Object['assign'](_0x22ee2c['af']['dictionary'],_0x26d7df),_0x22ee2c['af']['getPluralForm']=_0x121e28;})(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':_0x36150a=>0x0==_0x36150a?0x0:0x1==_0x36150a?0x1:0x2==_0x36150a?0x2:_0x36150a%0x64>=0x3&&_0x36150a%0x64<=0xa?0x3:_0x36150a%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
+ (_0x47deca=>{const {ar:{dictionary:_0x51f476,getPluralForm:_0x38be1d}}={'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':_0x2d28a2=>0x0==_0x2d28a2?0x0:0x1==_0x2d28a2?0x1:0x2==_0x2d28a2?0x2:_0x2d28a2%0x64>=0x3&&_0x2d28a2%0x64<=0xa?0x3:_0x2d28a2%0x64>=0xb?0x4:0x5}};_0x47deca['ar']||={'dictionary':{},'getPluralForm':null},_0x47deca['ar']['dictionary']=Object['assign'](_0x47deca['ar']['dictionary'],_0x51f476),_0x47deca['ar']['getPluralForm']=_0x38be1d;})(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':_0x5183bf=>0x1!=_0x5183bf}};
@@ -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
+ (_0x4922f4=>{const {ast:{dictionary:_0x4666de,getPluralForm:_0x3f0224}}={'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':_0x1d819c=>0x1!=_0x1d819c}};_0x4922f4['ast']||={'dictionary':{},'getPluralForm':null},_0x4922f4['ast']['dictionary']=Object['assign'](_0x4922f4['ast']['dictionary'],_0x4666de),_0x4922f4['ast']['getPluralForm']=_0x3f0224;})(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':_0x53e95d=>0x1!=_0x53e95d}};
@@ -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
+ (_0x63c3d3=>{const {az:{dictionary:_0xcb6cbd,getPluralForm:_0x58748e}}={'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':_0x54551c=>0x1!=_0x54551c}};_0x63c3d3['az']||={'dictionary':{},'getPluralForm':null},_0x63c3d3['az']['dictionary']=Object['assign'](_0x63c3d3['az']['dictionary'],_0xcb6cbd),_0x63c3d3['az']['getPluralForm']=_0x58748e;})(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':_0x24fb80=>_0x24fb80%0xa==0x1&&_0x24fb80%0x64!=0xb?0x0:_0x24fb80%0xa>=0x2&&_0x24fb80%0xa<=0x4&&(_0x24fb80%0x64<0xa||_0x24fb80%0x64>=0x14)?0x1:0x2}};