@ckeditor/ckeditor5-footnotes 0.0.0-nightly-20251221.0 → 0.0.0-nightly-next-20251221.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (164) hide show
  1. package/build/footnotes.js +1 -1
  2. package/dist/index.js +1 -1
  3. package/dist/translations/af.js +1 -1
  4. package/dist/translations/af.umd.js +1 -1
  5. package/dist/translations/ar.js +1 -1
  6. package/dist/translations/ar.umd.js +1 -1
  7. package/dist/translations/ast.js +1 -1
  8. package/dist/translations/ast.umd.js +1 -1
  9. package/dist/translations/az.js +1 -1
  10. package/dist/translations/az.umd.js +1 -1
  11. package/dist/translations/be.js +1 -1
  12. package/dist/translations/be.umd.js +1 -1
  13. package/dist/translations/bg.js +1 -1
  14. package/dist/translations/bg.umd.js +1 -1
  15. package/dist/translations/bn.js +1 -1
  16. package/dist/translations/bn.umd.js +1 -1
  17. package/dist/translations/bs.js +1 -1
  18. package/dist/translations/bs.umd.js +1 -1
  19. package/dist/translations/ca.js +1 -1
  20. package/dist/translations/ca.umd.js +1 -1
  21. package/dist/translations/cs.js +1 -1
  22. package/dist/translations/cs.umd.js +1 -1
  23. package/dist/translations/da.js +1 -1
  24. package/dist/translations/da.umd.js +1 -1
  25. package/dist/translations/de-ch.js +1 -1
  26. package/dist/translations/de-ch.umd.js +1 -1
  27. package/dist/translations/de.js +1 -1
  28. package/dist/translations/de.umd.js +1 -1
  29. package/dist/translations/el.js +1 -1
  30. package/dist/translations/el.umd.js +1 -1
  31. package/dist/translations/en-au.js +1 -1
  32. package/dist/translations/en-au.umd.js +1 -1
  33. package/dist/translations/en-gb.js +1 -1
  34. package/dist/translations/en-gb.umd.js +1 -1
  35. package/dist/translations/en.js +1 -1
  36. package/dist/translations/en.umd.js +1 -1
  37. package/dist/translations/eo.js +1 -1
  38. package/dist/translations/eo.umd.js +1 -1
  39. package/dist/translations/es-co.js +1 -1
  40. package/dist/translations/es-co.umd.js +1 -1
  41. package/dist/translations/es.js +1 -1
  42. package/dist/translations/es.umd.js +1 -1
  43. package/dist/translations/et.js +1 -1
  44. package/dist/translations/et.umd.js +1 -1
  45. package/dist/translations/eu.js +1 -1
  46. package/dist/translations/eu.umd.js +1 -1
  47. package/dist/translations/fa.js +1 -1
  48. package/dist/translations/fa.umd.js +1 -1
  49. package/dist/translations/fi.js +1 -1
  50. package/dist/translations/fi.umd.js +1 -1
  51. package/dist/translations/fr.js +1 -1
  52. package/dist/translations/fr.umd.js +1 -1
  53. package/dist/translations/gl.js +1 -1
  54. package/dist/translations/gl.umd.js +1 -1
  55. package/dist/translations/gu.js +1 -1
  56. package/dist/translations/gu.umd.js +1 -1
  57. package/dist/translations/he.js +1 -1
  58. package/dist/translations/he.umd.js +1 -1
  59. package/dist/translations/hi.js +1 -1
  60. package/dist/translations/hi.umd.js +1 -1
  61. package/dist/translations/hr.js +1 -1
  62. package/dist/translations/hr.umd.js +1 -1
  63. package/dist/translations/hu.js +1 -1
  64. package/dist/translations/hu.umd.js +1 -1
  65. package/dist/translations/hy.js +1 -1
  66. package/dist/translations/hy.umd.js +1 -1
  67. package/dist/translations/id.js +1 -1
  68. package/dist/translations/id.umd.js +1 -1
  69. package/dist/translations/it.js +1 -1
  70. package/dist/translations/it.umd.js +1 -1
  71. package/dist/translations/ja.js +1 -1
  72. package/dist/translations/ja.umd.js +1 -1
  73. package/dist/translations/jv.js +1 -1
  74. package/dist/translations/jv.umd.js +1 -1
  75. package/dist/translations/kk.js +1 -1
  76. package/dist/translations/kk.umd.js +1 -1
  77. package/dist/translations/km.js +1 -1
  78. package/dist/translations/km.umd.js +1 -1
  79. package/dist/translations/kn.js +1 -1
  80. package/dist/translations/kn.umd.js +1 -1
  81. package/dist/translations/ko.js +1 -1
  82. package/dist/translations/ko.umd.js +1 -1
  83. package/dist/translations/ku.js +1 -1
  84. package/dist/translations/ku.umd.js +1 -1
  85. package/dist/translations/lt.js +1 -1
  86. package/dist/translations/lt.umd.js +1 -1
  87. package/dist/translations/lv.js +1 -1
  88. package/dist/translations/lv.umd.js +1 -1
  89. package/dist/translations/ms.js +1 -1
  90. package/dist/translations/ms.umd.js +1 -1
  91. package/dist/translations/nb.js +1 -1
  92. package/dist/translations/nb.umd.js +1 -1
  93. package/dist/translations/ne.js +1 -1
  94. package/dist/translations/ne.umd.js +1 -1
  95. package/dist/translations/nl.js +1 -1
  96. package/dist/translations/nl.umd.js +1 -1
  97. package/dist/translations/no.js +1 -1
  98. package/dist/translations/no.umd.js +1 -1
  99. package/dist/translations/oc.js +1 -1
  100. package/dist/translations/oc.umd.js +1 -1
  101. package/dist/translations/pl.js +1 -1
  102. package/dist/translations/pl.umd.js +1 -1
  103. package/dist/translations/pt-br.js +1 -1
  104. package/dist/translations/pt-br.umd.js +1 -1
  105. package/dist/translations/pt.js +1 -1
  106. package/dist/translations/pt.umd.js +1 -1
  107. package/dist/translations/ro.js +1 -1
  108. package/dist/translations/ro.umd.js +1 -1
  109. package/dist/translations/ru.js +1 -1
  110. package/dist/translations/ru.umd.js +1 -1
  111. package/dist/translations/si.js +1 -1
  112. package/dist/translations/si.umd.js +1 -1
  113. package/dist/translations/sk.js +1 -1
  114. package/dist/translations/sk.umd.js +1 -1
  115. package/dist/translations/sl.js +1 -1
  116. package/dist/translations/sl.umd.js +1 -1
  117. package/dist/translations/sq.js +1 -1
  118. package/dist/translations/sq.umd.js +1 -1
  119. package/dist/translations/sr-latn.js +1 -1
  120. package/dist/translations/sr-latn.umd.js +1 -1
  121. package/dist/translations/sr.js +1 -1
  122. package/dist/translations/sr.umd.js +1 -1
  123. package/dist/translations/sv.js +1 -1
  124. package/dist/translations/sv.umd.js +1 -1
  125. package/dist/translations/th.js +1 -1
  126. package/dist/translations/th.umd.js +1 -1
  127. package/dist/translations/ti.js +1 -1
  128. package/dist/translations/ti.umd.js +1 -1
  129. package/dist/translations/tk.js +1 -1
  130. package/dist/translations/tk.umd.js +1 -1
  131. package/dist/translations/tr.js +1 -1
  132. package/dist/translations/tr.umd.js +1 -1
  133. package/dist/translations/tt.js +1 -1
  134. package/dist/translations/tt.umd.js +1 -1
  135. package/dist/translations/ug.js +1 -1
  136. package/dist/translations/ug.umd.js +1 -1
  137. package/dist/translations/uk.js +1 -1
  138. package/dist/translations/uk.umd.js +1 -1
  139. package/dist/translations/ur.js +1 -1
  140. package/dist/translations/ur.umd.js +1 -1
  141. package/dist/translations/uz.js +1 -1
  142. package/dist/translations/uz.umd.js +1 -1
  143. package/dist/translations/vi.js +1 -1
  144. package/dist/translations/vi.umd.js +1 -1
  145. package/dist/translations/zh-cn.js +1 -1
  146. package/dist/translations/zh-cn.umd.js +1 -1
  147. package/dist/translations/zh.js +1 -1
  148. package/dist/translations/zh.umd.js +1 -1
  149. package/package.json +9 -9
  150. package/src/commands/insertfootnotecommand.js +1 -1
  151. package/src/footnotes.js +1 -1
  152. package/src/footnotesclipboard.js +1 -1
  153. package/src/footnotesediting.js +1 -1
  154. package/src/footnotesproperties/commands/footnotesstartcommand.js +1 -1
  155. package/src/footnotesproperties/commands/footnotesstylecommand.js +1 -1
  156. package/src/footnotesproperties/footnotespropertiesconfig.js +1 -1
  157. package/src/footnotesproperties/footnotespropertiesediting.js +1 -1
  158. package/src/footnotesproperties/footnotespropertiesui.js +1 -1
  159. package/src/footnotesproperties/ui/footnotesdefinitionspropertiesview.js +1 -1
  160. package/src/footnotesproperties.js +1 -1
  161. package/src/footnotestracker.js +1 -1
  162. package/src/footnotesui.js +1 -1
  163. package/src/index.js +1 -1
  164. package/src/modelelementtracker.js +1 -1
package/dist/index.js CHANGED
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- import{Plugin as _0x33f338,Command as _0x206b50}from'@ckeditor/ckeditor5-core/dist/index.js';import{toWidget as _0x2d619d,isWidget as _0x46519d,toWidgetEditable as _0x1eb08a,WidgetToolbarRepository as _0x298294}from'@ckeditor/ckeditor5-widget/dist/index.js';import{uid as _0x8553f0,logWarning as _0x17c0b4,FocusTracker as rt,KeystrokeHandler as nt,global as at}from'@ckeditor/ckeditor5-utils/dist/index.js';import{PointerObserver as _0x4678e1,ClickObserver as _0x153404}from'@ckeditor/ckeditor5-engine/dist/index.js';import{ClipboardPipeline as _0x5bf402}from'@ckeditor/ckeditor5-clipboard/dist/index.js';import{MenuBarMenuListItemButtonView as _0xa176a3,ButtonView as _0x205b9d,View as _0x3cfec0,ViewCollection as _0x1490d9,FocusCycler as tt,addKeyboardHandlingForGrid as st,CollapsibleView as it,LabeledFieldView as et,createLabeledInputNumber as ot,ContextualBalloon as _0x5cd06c,BalloonPanelView as _0x4a808e,createDropdown as _0x945a55}from'@ckeditor/ckeditor5-ui/dist/index.js';import{IconFootnote as _0x317f87,IconListStyleDecimal as _0x71874c,IconListStyleDecimalLeadingZero as _0x17fdd6,IconListStyleLowerRoman as _0x19d412,IconListStyleUpperRoman as _0x3d9b37,IconListStyleLowerLatin as _0x108238,IconListStyleUpperLatin as _0x466849}from'@ckeditor/ckeditor5-icons/dist/index.js';class F{['_model'];['_elementName'];['_getElementKey'];['_trackedElements']=new Map();constructor(_0x477f23,_0x38c6a3){this['_model']=_0x477f23,this['_elementName']=_0x38c6a3['elementName'],this['_getElementKey']=_0x38c6a3['getElementKey'];}['reset'](){this['_trackedElements']['clear']();}['getChanges'](_0x233800){const _0x1742a5=new Set(),_0x4459cf=new Map();for(const _0x1b3d3f of _0x233800){if('insert'===_0x1b3d3f['type']&&'$text'!==_0x1b3d3f['name']&&_0x1b3d3f['position']['nodeAfter']){const _0x27a5ea=this['_model']['createRangeOn'](_0x1b3d3f['position']['nodeAfter']);for(const _0x182c52 of _0x27a5ea['getItems']()){if(!_0x182c52['is']('element',this['_elementName']))continue;const _0x2e96f9=this['_getElementKey'](_0x182c52);_0x4459cf['has'](_0x2e96f9)||_0x4459cf['set'](_0x2e96f9,[]),_0x4459cf['get'](_0x2e96f9)['push'](_0x182c52);}}if('remove'===_0x1b3d3f['type']&&_0x1b3d3f['name']===this['_elementName']){const _0x2aecbe=this['_getElementKey']({'getAttribute':_0x4b8da4=>_0x1b3d3f['attributes']['get'](_0x4b8da4)});_0x1742a5['add'](_0x2aecbe);}}for(const [_0x162033,_0x3d11b9]of this['_trackedElements'])'$graveyard'===_0x3d11b9['root']['rootName']&&_0x1742a5['add'](_0x162033);for(const _0x19adb4 of _0x1742a5)this['_trackedElements']['delete'](_0x19adb4);for(const [_0x19bc40,_0x29680a]of _0x4459cf)this['_trackedElements']['set'](_0x19bc40,_0x29680a[_0x29680a['length']-0x1]);const _0x37c20a=new Set();for(const [_0x63608e,_0x31ff7f]of _0x4459cf)_0x1742a5['has'](_0x63608e)&&(_0x37c20a['add'](_0x31ff7f[0x0]),_0x31ff7f['length']>0x1?_0x4459cf['set'](_0x63608e,_0x31ff7f['slice'](0x1)):_0x4459cf['delete'](_0x63608e),_0x1742a5['delete'](_0x63608e));return{'removed':Array['from'](_0x1742a5),'inserted':Array['from'](_0x4459cf['values']())['flat'](),'moved':Array['from'](_0x37c20a)};}}class f extends _0x33f338{['_footnotes']=[];['_footnotesDefinitions']=null;['_footnoteFormatter']=null;['_footnoteDefsContainerTracker'];['_footnoteRefsTracker'];['_footnoteDefsTracker'];static get['pluginName'](){return'FootnotesTracker';}static get['isOfficialPlugin'](){return!0x0;}static get['isPremiumPlugin'](){return!0x0;}constructor(_0x4cca5b){super(_0x4cca5b),this['_footnoteDefsContainerTracker']=new F(this['editor']['model'],{'elementName':'footnotesDefinitions','getElementKey':()=>'singleton'}),this['_footnoteRefsTracker']=new F(this['editor']['model'],{'elementName':'footnoteRef','getElementKey':_0x421f21=>_0x421f21['getAttribute']('footnoteId')}),this['_footnoteDefsTracker']=new F(this['editor']['model'],{'elementName':'footnoteDefinition','getElementKey':_0x3eacc8=>_0x3eacc8['getAttribute']('footnoteId')});}['init'](){const {editor:_0x3ca335}=this,{model:_0x290ecd,data:_0x105f42}=_0x3ca335;_0x290ecd['document']['registerPostFixer'](_0x1234f2=>{const _0x3b475c=_0x290ecd['document']['differ']['getChanges']();let _0x47ea57=!0x1;return this['_handleFootnotesDefinitionsObjectChanges'](_0x1234f2,_0x3b475c)&&(_0x47ea57=!0x0),this['_handleFootnoteDefinitionsChanges'](_0x1234f2,_0x3b475c)&&(_0x47ea57=!0x0),this['_handleFootnoteReferencesChanges'](_0x1234f2,_0x3b475c)&&(_0x47ea57=!0x0),this['_ensureFootnotesReferencesHaveProperOrder'](_0x1234f2)&&(_0x47ea57=!0x0),this['_handleFootnotesDefinitionsObjectSync'](_0x1234f2)&&(_0x47ea57=!0x0),this['_sortFootnoteDefinitions'](_0x1234f2)&&(_0x47ea57=!0x0),_0x47ea57;}),this['listenTo'](_0x290ecd['document'],'change:data',()=>{_0x290ecd['enqueueChange']({'isUndoable':!0x1},_0x66713=>{this['_ensureFootnotesDefinitionsContainerExists'](_0x66713);});},{'priority':'low'}),this['listenTo'](_0x105f42,'set',()=>{this['_footnotes']=[],this['_footnoteDefsContainerTracker']['reset'](),this['_footnoteRefsTracker']['reset'](),this['_footnoteDefsTracker']['reset']();},{'priority':'high'});}['getFootnotesDefinitionsObjectElement'](){return this['_footnotesDefinitions'];}['getFootnote'](_0x1c4e25){return this['_footnotes']['find'](_0x564c14=>_0x564c14['id']===_0x1c4e25)||null;}['getFootnotes'](){return Array['from'](this['_footnotes']);}['getFootnotesFormatter'](){return this['_footnoteFormatter'];}['setFootnoteFormatter'](_0x1436cc){this['_footnoteFormatter']=_0x1436cc;}['_updateFootnotesCounters'](_0x5534ef,_0x393f18=0x0){let _0x9ee630=!0x1;for(let _0x17bd4b=_0x393f18;_0x17bd4b<this['_footnotes']['length'];_0x17bd4b++)this['_updateFootnoteRefCounter'](_0x5534ef,_0x17bd4b)&&(_0x9ee630=!0x0);return _0x9ee630;}['_insertEmptyFootnotesDefinitionsContainer'](_0x334866,_0x41caf4){const _0x2d9597=_0x334866['createElement']('footnotesDefinitions',{});return _0x334866['append'](_0x2d9597,_0x41caf4),this['_footnotesDefinitions']=_0x2d9597,_0x2d9597;}['_ensureFootnotesDefinitionsContainerExists'](_0x3c4baf){if(!this['_footnotes']['length']||this['_footnotesDefinitions'])return;const _0x28302f=this['_footnotes'][0x0]['reference']['root'],_0x221209=this['_insertEmptyFootnotesDefinitionsContainer'](_0x3c4baf,_0x28302f);for(const _0x33d802 of this['_footnotes'])_0x33d802['definition']['parent']||_0x3c4baf['insert'](_0x33d802['definition'],_0x221209,'end');this['_updateFootnotesCounters'](_0x3c4baf);}['_handleFootnotesDefinitionsObjectChanges'](_0x1293ba,_0x16e2c7){let _0x2268e0=!0x1;const {inserted:_0x5031b4,removed:_0x44d3b9,moved:_0x49f882}=this['_footnoteDefsContainerTracker']['getChanges'](_0x16e2c7);if(_0x49f882['length']&&(this['_footnotesDefinitions']=_0x49f882[0x0]),_0x5031b4['length']){if(_0x5031b4['length']>0x1||this['_footnotesDefinitions']&&_0x5031b4['some'](_0x2b4054=>_0x2b4054!==this['_footnotesDefinitions'])){const _0x12c7e6=_0x1293ba['createElement']('footnotesDefinitions',{}),_0x48b95d=[];this['_footnotesDefinitions']&&_0x48b95d['push'](this['_footnotesDefinitions']),_0x48b95d['push'](..._0x5031b4),_0x1293ba['insert'](_0x12c7e6,_0x48b95d[0x0],'before');for(const _0x219fdf of _0x48b95d)_0x1293ba['move'](_0x1293ba['createRangeIn'](_0x219fdf),_0x1293ba['createPositionAt'](_0x12c7e6,'end')),_0x1293ba['remove'](_0x219fdf);this['_footnotesDefinitions']=_0x12c7e6,this['_updateFootnotesCounters'](_0x1293ba),_0x2268e0=!0x0;}else this['_footnotesDefinitions']=_0x5031b4[0x0];}if(_0x44d3b9['length']&&'$graveyard'===this['_footnotesDefinitions']?.['root']['rootName']){for(const _0x4ba839 of this['_footnotes'])_0x1293ba['remove'](_0x4ba839['reference']),_0x2268e0=!0x0;this['_footnotes']=[],this['_footnotesDefinitions']=null;}return _0x2268e0;}['_handleFootnoteDefinitionsChanges'](_0x306788,_0x904522){let _0x2a6dc8=!0x1;const _0x307e47=this['editor']['config']['get']('footnotes.multiBlock'),{inserted:_0x428d54,moved:_0x48fc70}=this['_footnoteDefsTracker']['getChanges'](_0x904522);for(const _0x24a718 of[..._0x48fc70,..._0x428d54]){const _0x1489d9=_0x24a718['getAttribute']('footnoteId'),_0x37d5d6=this['getFootnote'](_0x1489d9);_0x37d5d6&&(_0x37d5d6['definition']=_0x24a718),_(_0x306788,_0x307e47,_0x24a718)&&(_0x2a6dc8=!0x0);}return _0x2a6dc8;}['_handleFootnoteReferencesChanges'](_0xef1f95,_0xc2f0ec){let _0x25c64f=!0x1;const {removed:_0x45219b,inserted:_0x44062b,moved:_0x1951ed}=this['_footnoteRefsTracker']['getChanges'](_0xc2f0ec);for(const _0x27deb0 of _0x45219b)this['_handleRemoveFootnoteReferenceById'](_0xef1f95,_0x27deb0)&&(_0x25c64f=!0x0);for(const _0x5d1f14 of _0x44062b)this['_handleInsertedFootnoteReference'](_0xef1f95,_0x5d1f14)&&(_0x25c64f=!0x0);for(const _0x4b4a45 of _0x1951ed)this['_handleMovedFootnoteReference'](_0xef1f95,_0x4b4a45)&&(_0x25c64f=!0x0);return _0x25c64f;}['_handleFootnotesDefinitionsObjectSync'](_0x3f682b){if(!this['_footnotesDefinitions'])return!0x1;let _0x578fd6=!0x1;if(this['_footnotesDefinitions']['childCount']!==this['_footnotes']['length']){const _0x485ad3=[];for(const _0x4c6023 of this['_footnotesDefinitions']['getChildren']()){const _0x56df70=_0x4c6023['getAttribute']('footnoteId');this['getFootnote'](_0x56df70)||(_0x485ad3['unshift'](_0x4c6023),_0x578fd6=!0x0);}for(const _0x32d07d of _0x485ad3)_0x3f682b['remove'](_0x32d07d);}const _0x3f4675=new Set(),_0x13d35d=[];for(const _0x1a0a54 of this['_footnotesDefinitions']['getChildren']()){const _0x273843=_0x1a0a54['getAttribute']('footnoteId');_0x3f4675['has'](_0x273843)?(_0x13d35d['unshift'](_0x1a0a54),_0x578fd6=!0x0):_0x3f4675['add'](_0x273843);}for(const _0x404695 of _0x13d35d)_0x3f682b['remove'](_0x404695);return this['_footnotesDefinitions']['childCount']||(_0x3f682b['remove'](this['_footnotesDefinitions']),this['_footnotesDefinitions']=null,_0x578fd6=!0x0),_0x578fd6;}['_handleInsertedFootnoteReference'](_0x352b2b,_0x59ae81){if(this['_footnotes']['find'](_0x52e7e8=>_0x52e7e8['reference']===_0x59ae81))return!0x1;let _0x50bc3d=!0x1;const _0x3c0757=_0x59ae81['getAttribute']('footnoteId'),_0x177704=this['_footnotes']['findIndex'](_0x5509b5=>_0x5509b5['id']===_0x3c0757);-0x1!==_0x177704&&(_0x352b2b['remove'](this['_footnotes'][_0x177704]['reference']),this['_footnotes']['splice'](_0x177704,0x1),_0x50bc3d=!0x0);let _0x2c279e=this['_footnotesDefinitions']?function(_0x495a6b,_0x487f33){for(const _0x3049f3 of _0x495a6b['getChildren']())if(_0x3049f3['getAttribute']('footnoteId')===_0x487f33)return _0x3049f3;return null;}(this['_footnotesDefinitions'],_0x3c0757):null;_0x2c279e||(_0x2c279e=_0x352b2b['createElement']('footnoteDefinition',{'footnoteId':_0x3c0757}),this['_footnotesDefinitions']&&(_0x352b2b['insert'](_0x2c279e,this['_footnotesDefinitions'],'end'),_0x50bc3d=!0x0));const _0x5a245b={'id':_0x3c0757,'reference':_0x59ae81,'definition':_0x2c279e},_0x7daec8=I(this['editor']['model'],this['_footnotes'],_0x59ae81);this['_footnotes']['splice'](_0x7daec8,0x0,_0x5a245b);let _0x12556f=_0x7daec8;return-0x1!==_0x177704&&(_0x12556f=Math['min'](_0x7daec8,_0x177704)),this['_updateFootnotesCounters'](_0x352b2b,_0x12556f)&&(_0x50bc3d=!0x0),_0x50bc3d;}['_handleRemoveFootnoteReferenceById'](_0x5080e5,_0x45cc32){const _0x272201=this['_footnotes']['findIndex'](_0x2e3eb1=>_0x2e3eb1['id']===_0x45cc32);if(-0x1===_0x272201)return!0x1;let _0x1e76d8=!0x1;const _0x58f84c=this['_footnotes'][_0x272201];return'$graveyard'!==_0x58f84c['definition']['root']['rootName']&&(_0x5080e5['remove'](_0x58f84c['definition']),_0x1e76d8=!0x0),this['_footnotes']['splice'](_0x272201,0x1),this['_updateFootnotesCounters'](_0x5080e5,_0x272201)&&(_0x1e76d8=!0x0),_0x1e76d8;}['_handleMovedFootnoteReference'](_0x375c98,_0x19948f){const _0x5e8b33=_0x19948f['getAttribute']('footnoteId'),_0x41985f=this['_footnotes']['findIndex'](_0x2f5669=>_0x2f5669['id']===_0x5e8b33),_0x39b323=this['_footnotes'][_0x41985f];let _0xa53d7a=!0x1;_0x39b323['reference']=_0x19948f,this['_footnotes']['splice'](_0x41985f,0x1);const _0x5e330=I(this['editor']['model'],this['_footnotes'],_0x19948f);return this['_footnotes']['splice'](_0x5e330,0x0,_0x39b323),this['_updateFootnotesCounters'](_0x375c98,Math['min'](_0x41985f,_0x5e330))&&(_0xa53d7a=!0x0),_0xa53d7a;}['_updateFootnoteRefCounter'](_0x2fd184,_0x2fffac){if(!this['_footnotesDefinitions'])return!0x1;const _0x1da068=this['_footnotes'][_0x2fffac];let _0x4df62b;return _0x4df62b=this['_footnoteFormatter']?this['_footnoteFormatter']({'footnote':_0x1da068,'container':this['_footnotesDefinitions'],'digits':String(this['_footnotes']['length'])['length'],'value':_0x2fffac+0x1}):String(_0x2fffac+0x1),_0x1da068['reference']['getAttribute']('footnoteCounter')!=_0x4df62b&&(_0x2fd184['setAttribute']('footnoteCounter',_0x4df62b,_0x1da068['reference']),!0x0);}['_sortFootnoteDefinitions'](_0x37242e){if(!this['_footnotesDefinitions']||this['_footnotes']['length']<0x2)return!0x1;if(function(_0x51d91f,_0x240503){if(_0x51d91f['length']!==_0x240503['length'])return!0x1;for(let _0x3ccfd4=0x0;_0x3ccfd4<_0x51d91f['length'];_0x3ccfd4++)if(_0x51d91f[_0x3ccfd4]!==_0x240503[_0x3ccfd4])return!0x1;return!0x0;}(this['_footnotes']['map'](_0x4cca72=>_0x4cca72['id']),Array['from'](this['_footnotesDefinitions']['getChildren']())['map'](_0x1def27=>_0x1def27['getAttribute']('footnoteId'))))return!0x1;let _0x3a4772=!0x1;for(let _0x53c60e=0x0;_0x53c60e<this['_footnotes']['length'];_0x53c60e++){const _0x37ba84=this['_footnotes'][_0x53c60e],_0x8ffea5=_0x37242e['createPositionBefore'](_0x37ba84['definition']),_0x28c1d9=_0x37242e['createPositionAt'](this['_footnotesDefinitions'],_0x53c60e);_0x8ffea5['isEqual'](_0x28c1d9)||(_0x37242e['move'](_0x37242e['createRangeOn'](_0x37ba84['definition']),_0x28c1d9),_0x3a4772=!0x0);}return _0x3a4772;}['_ensureFootnotesReferencesHaveProperOrder'](_0x55ef77){if(!this['_footnotes']['length'])return!0x1;const {model:_0x2f25f9}=this['editor'];let _0x2e1043=!0x1;for(let _0x410c55=0x0;_0x410c55<this['_footnotes']['length']-0x1;_0x410c55++){const _0x509eb6=this['_footnotes'][_0x410c55],_0xa9ed50=this['_footnotes'][_0x410c55+0x1],_0x342059=_0x2f25f9['createPositionBefore'](_0x509eb6['reference']),_0x199c92=_0x2f25f9['createPositionBefore'](_0xa9ed50['reference']);'after'===_0x342059['compareWith'](_0x199c92)&&(this['_handleMovedFootnoteReference'](_0x55ef77,_0x509eb6['reference']),_0x410c55=-0x1,_0x2e1043=!0x0);}return _0x2e1043;}}function _(_0x16cb25,_0x41b05d,_0x1aeb55){if(_0x1aeb55['childCount'])return!0x1;const _0x8a5f8c=_0x41b05d?'paragraph':'footnoteInlineContent';return _0x16cb25['insert'](_0x16cb25['createElement'](_0x8a5f8c),_0x1aeb55),!0x0;}function I(_0x41744a,_0x57c4c1,_0x262f99){if(0x0===_0x57c4c1['length'])return 0x0;const _0x570d26=_0x41744a['createPositionBefore'](_0x262f99);for(let _0x5bea47=0x0;_0x5bea47<_0x57c4c1['length'];_0x5bea47++){const _0x2c96b7=_0x57c4c1[_0x5bea47],_0x3911ce=_0x41744a['createPositionBefore'](_0x2c96b7['reference']);if('before'===_0x570d26['compareWith'](_0x3911ce))return _0x5bea47;}const _0x1cd53c=_0x262f99['root'];let _0x238995=-0x1;for(let _0x1d6935=_0x57c4c1['length']-0x1;_0x1d6935>=0x0;_0x1d6935--)if(_0x57c4c1[_0x1d6935]['reference']['root']===_0x1cd53c){_0x238995=_0x1d6935;break;}if(-0x1!==_0x238995)return _0x238995+0x1;const _0xa67174=_0x41744a['document']['getRootNames'](),_0x19bd10=_0xa67174['indexOf'](_0x1cd53c['rootName']),_0x8647c9=_0xa67174[_0x19bd10+0x1];if(_0x8647c9){for(let _0xdd0a26=0x0;_0xdd0a26<_0x57c4c1['length'];_0xdd0a26++)if(_0x57c4c1[_0xdd0a26]['reference']['root']['rootName']===_0x8647c9)return _0xdd0a26;}return _0x57c4c1['length'];}class h extends _0x206b50{['refresh'](){const _0x18ddd0=this['editor']['model']['document']['selection'],_0x20af4f=this['_getPositionToInsertFootnote'](_0x18ddd0);this['isEnabled']=!!_0x20af4f;}['execute'](_0x2db831){const {editor:_0x3c4977}=this,{model:_0x488f08}=_0x3c4977,{selection:_0x506f40}=_0x488f08['document'],_0x56e329=this['_getPositionToInsertFootnote'](_0x506f40);if(!_0x56e329)return;const _0x547f76=_0x3c4977['plugins']['get']('FootnotesEditing'),_0x1c90e5=_0x2db831?.['footnoteId']??_0x8553f0();!function(_0x194cfa){return'string'==typeof _0x194cfa&&_0x194cfa['length']>0x0&&!/\s/['test'](_0x194cfa)&&!/^\d/['test'](_0x194cfa);}(_0x1c90e5)?_0x17c0b4('insert-footnote-command-executed-with-invalid-id'):(_0x488f08['change'](_0x5099c1=>{const _0xa1bfed=_0x5099c1['createElement']('footnoteRef',{'footnoteId':_0x1c90e5});_0x488f08['insertObject'](_0xa1bfed,_0x56e329,null);}),_0x547f76['_moveSelectionToFootnoteDefinition'](_0x1c90e5));}['_getPositionToInsertFootnote'](_0x50aea8){const {model:_0x282459}=this['editor'],{schema:_0x5f112f}=_0x282459,_0x2a7de2=_0x50aea8['getFirstRange']();for(const _0xe4eb3b of _0x2a7de2['getItems']())if(_0x5f112f['isBlock'](_0xe4eb3b)||_0x5f112f['isObject'](_0xe4eb3b))return null;const _0x18f289=_0x2a7de2['end'];return _0x5f112f['checkChild'](_0x18f289,'footnoteRef')?_0x18f289:null;}}class r extends _0x33f338{static get['pluginName'](){return'FootnotesEditing';}static get['requires'](){return[f];}static get['isOfficialPlugin'](){return!0x0;}static get['isPremiumPlugin'](){return!0x0;}['init'](){const {editor:_0x4deacb}=this;_0x4deacb['config']['define']('footnotes.multiBlock',!0x0),_0x4deacb['commands']['add']('insertFootnote',new h(_0x4deacb)),this['_defineSchema'](),this['_defineRefsConverters'](),this['_defineDefinitionsConverters'](),this['_defineDefinitionConverters'](),this['_defineBogusParagraphConverters'](),this['_defineKeyboardHandlers'](),this['_defineClickHandlers']();}['afterInit'](){!async function(_0x3b9645){const _0x3c09a2=_0x16e3f1([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]),_0x40e85c=0x47a28506,_0x2a98b8=0x47a5f98e^_0x40e85c,_0x1f1b5d=window[_0x16e3f1([0x44,0x61,0x74,0x65])][_0x16e3f1([0x6e,0x6f,0x77])](),_0x1d8053=_0x3b9645[_0x16e3f1([0x65,0x64,0x69,0x74,0x6f,0x72])],_0x231cd9=new window[(_0x16e3f1([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0x32c23e=>{_0x1d8053[_0x16e3f1([0x6f,0x6e,0x63,0x65])](_0x16e3f1([0x72,0x65,0x61,0x64,0x79]),_0x32c23e);}),_0x1c4741={[_0x16e3f1([0x6b,0x74,0x79])]:_0x16e3f1([0x45,0x43]),[_0x16e3f1([0x75,0x73,0x65])]:_0x16e3f1([0x73,0x69,0x67]),[_0x16e3f1([0x63,0x72,0x76])]:_0x16e3f1([0x50,0x2d,0x32,0x35,0x36]),[_0x16e3f1([0x78])]:_0x16e3f1([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]),[_0x16e3f1([0x79])]:_0x16e3f1([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]),[_0x16e3f1([0x61,0x6c,0x67])]:_0x16e3f1([0x45,0x53,0x32,0x35,0x36])},_0x3c9201=_0x1d8053[_0x16e3f1([0x63,0x6f,0x6e,0x66,0x69,0x67])][_0x16e3f1([0x67,0x65,0x74])](_0x16e3f1([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x4b,0x65,0x79]));async function _0x5a5a88(){let _0x4141de,_0x42dacb=null,_0x319c7b=null;try{if(_0x3c9201==_0x16e3f1([0x47,0x50,0x4c]))return _0x16e3f1([0x4e,0x6f,0x74,0x41,0x6c,0x6c,0x6f,0x77,0x65,0x64]);if(_0x4141de=_0x1d782c(),!_0x4141de)return _0x16e3f1([0x49,0x6e,0x76,0x61,0x6c,0x69,0x64]);return _0x4141de[_0x16e3f1([0x75,0x73,0x61,0x67,0x65,0x45,0x6e,0x64,0x70,0x6f,0x69,0x6e,0x74])]&&(_0x319c7b=_0xdfe7e4(_0x4141de[_0x16e3f1([0x75,0x73,0x61,0x67,0x65,0x45,0x6e,0x64,0x70,0x6f,0x69,0x6e,0x74])],_0x4141de[_0x16e3f1([0x6a,0x74,0x69])])),await _0x19fb31()?_0x4eb80e()?_0x14a079()?_0x16e3f1([0x45,0x78,0x70,0x69,0x72,0x65,0x64]):_0xb8d74c()?(_0x4141de[_0x16e3f1([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x54,0x79,0x70,0x65])]==_0x16e3f1([0x65,0x76,0x61,0x6c,0x75,0x61,0x74,0x69,0x6f,0x6e])&&(_0x42dacb=_0xa44caf(_0x16e3f1([0x45,0x76,0x61,0x6c,0x75,0x61,0x74,0x69,0x6f,0x6e,0x4c,0x69,0x6d,0x69,0x74]))),_0x4141de[_0x16e3f1([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x54,0x79,0x70,0x65])]==_0x16e3f1([0x74,0x72,0x69,0x61,0x6c])&&(_0x42dacb=_0xa44caf(_0x16e3f1([0x54,0x72,0x69,0x61,0x6c,0x4c,0x69,0x6d,0x69,0x74]))),await _0x5367d4()):_0x16e3f1([0x44,0x6f,0x6d,0x61,0x69,0x6e,0x4c,0x69,0x6d,0x69,0x74]):_0x16e3f1([0x4e,0x6f,0x74,0x41,0x6c,0x6c,0x6f,0x77,0x65,0x64]):_0x16e3f1([0x49,0x6e,0x76,0x61,0x6c,0x69,0x64]);}catch{return _0x16e3f1([0x49,0x6e,0x76,0x61,0x6c,0x69,0x64]);}function _0x14a079(){const _0x55a29c=[_0x16e3f1([0x65,0x76,0x61,0x6c,0x75,0x61,0x74,0x69,0x6f,0x6e]),_0x16e3f1([0x74,0x72,0x69,0x61,0x6c])][_0x16e3f1([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x4141de[_0x16e3f1([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x54,0x79,0x70,0x65])])?_0x1f1b5d/0x3e8:0xe10*_0x2a98b8;return _0x4141de[_0x16e3f1([0x65,0x78,0x70])]<_0x55a29c;}function _0x4eb80e(){const _0x280765=_0x4141de[_0x16e3f1([0x66,0x65,0x61,0x74,0x75,0x72,0x65,0x73])];return!!_0x280765&&(!!_0x280765[_0x16e3f1([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x16e3f1([0x2a]))||!!_0x280765[_0x16e3f1([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x16e3f1([0x46,0x4f,0x4f])));}function _0xb8d74c(){const _0x553671=_0x4141de[_0x16e3f1([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x64,0x48,0x6f,0x73,0x74,0x73])];if(!_0x553671||0x0==_0x553671[_0x16e3f1([0x6c,0x65,0x6e,0x67,0x74,0x68])])return!0x0;const {hostname:_0x508543}=new URL(window[_0x16e3f1([0x6c,0x6f,0x63,0x61,0x74,0x69,0x6f,0x6e])]['href']);if(_0x553671[_0x16e3f1([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x508543))return!0x0;const _0x257418=_0x508543[_0x16e3f1([0x73,0x70,0x6c,0x69,0x74])](_0x16e3f1([0x2e]));return _0x553671[_0x16e3f1([0x66,0x69,0x6c,0x74,0x65,0x72])](_0x1699cf=>_0x1699cf[_0x16e3f1([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x16e3f1([0x2a])))[_0x16e3f1([0x6d,0x61,0x70])](_0x7067fd=>_0x7067fd[_0x16e3f1([0x73,0x70,0x6c,0x69,0x74])](_0x16e3f1([0x2e])))[_0x16e3f1([0x66,0x69,0x6c,0x74,0x65,0x72])](_0x5b773c=>_0x5b773c[_0x16e3f1([0x6c,0x65,0x6e,0x67,0x74,0x68])]<=_0x257418[_0x16e3f1([0x6c,0x65,0x6e,0x67,0x74,0x68])])[_0x16e3f1([0x6d,0x61,0x70])](_0x2ed3af=>Array(_0x257418[_0x16e3f1([0x6c,0x65,0x6e,0x67,0x74,0x68])]-_0x2ed3af[_0x16e3f1([0x6c,0x65,0x6e,0x67,0x74,0x68])])[_0x16e3f1([0x66,0x69,0x6c,0x6c])](_0x2ed3af[0x0]===_0x16e3f1([0x2a])?_0x16e3f1([0x2a]):'')[_0x16e3f1([0x63,0x6f,0x6e,0x63,0x61,0x74])](_0x2ed3af))[_0x16e3f1([0x73,0x6f,0x6d,0x65])](_0x447aba=>_0x257418[_0x16e3f1([0x65,0x76,0x65,0x72,0x79])]((_0x37e9eb,_0x52e7a9)=>_0x447aba[_0x52e7a9]===_0x37e9eb||_0x447aba[_0x52e7a9]===_0x16e3f1([0x2a])));}function _0x5367d4(){return _0x42dacb&&_0x319c7b?new window[(_0x16e3f1([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))]((_0x46e178,_0x73560c)=>{_0x42dacb[_0x16e3f1([0x74,0x68,0x65,0x6e])](_0x46e178,_0x73560c),_0x319c7b[_0x16e3f1([0x74,0x68,0x65,0x6e])](_0x3c35af=>{_0x3c35af!=_0x16e3f1([0x56,0x61,0x6c,0x69,0x64])&&_0x46e178(_0x3c35af);},_0x73560c);}):_0x42dacb||_0x319c7b||_0x16e3f1([0x56,0x61,0x6c,0x69,0x64]);}}function _0xdfe7e4(_0x34a7c7,_0x4cc99e){return new window[(_0x16e3f1([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0x30aa47=>{if(_0x308b12())return _0x30aa47(_0x16e3f1([0x56,0x61,0x6c,0x69,0x64]));_0x4f1174(),_0x1d8053[_0x16e3f1([0x64,0x65,0x63,0x6f,0x72,0x61,0x74,0x65])](_0x16e3f1([0x5f,0x73,0x65,0x6e,0x64,0x55,0x73,0x61,0x67,0x65,0x52,0x65,0x71,0x75,0x65,0x73,0x74]));let _0x25a9da=!0x1;const _0x2be00f=_0x8553f0();function _0xf9977b(_0x399e78){return!!_0x399e78&&(typeof _0x399e78===_0x16e3f1([0x6f,0x62,0x6a,0x65,0x63,0x74])||typeof _0x399e78===_0x16e3f1([0x66,0x75,0x6e,0x63,0x74,0x69,0x6f,0x6e]))&&typeof _0x399e78[_0x16e3f1([0x74,0x68,0x65,0x6e])]===_0x16e3f1([0x66,0x75,0x6e,0x63,0x74,0x69,0x6f,0x6e])&&typeof _0x399e78[_0x16e3f1([0x63,0x61,0x74,0x63,0x68])]===_0x16e3f1([0x66,0x75,0x6e,0x63,0x74,0x69,0x6f,0x6e]);}function _0x1446a6(_0x528937){_0x2f80a0(_0x528937)[_0x16e3f1([0x74,0x68,0x65,0x6e])](_0xbafcf7=>{if(!_0xbafcf7||_0xbafcf7[_0x16e3f1([0x73,0x74,0x61,0x74,0x75,0x73])]!=_0x16e3f1([0x6f,0x6b]))return _0x16e3f1([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]);return _0x5dbb30(_0x32190b(_0x2be00f+_0x4cc99e))!=_0xbafcf7[_0x16e3f1([0x76,0x65,0x72,0x69,0x66,0x69,0x63,0x61,0x74,0x69,0x6f,0x6e])]?_0x16e3f1([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]):_0x16e3f1([0x56,0x61,0x6c,0x69,0x64]);})[_0x16e3f1([0x74,0x68,0x65,0x6e])](_0x8d13ba=>(_0x490237(),_0x8d13ba),()=>{const _0xd0cdb2=_0x359166();return null==_0xd0cdb2?(_0x490237(),_0x16e3f1([0x56,0x61,0x6c,0x69,0x64])):_0x16e3f1(_0x1f1b5d-_0xd0cdb2>(0x63ae0106^_0x40e85c)?[0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]:[0x56,0x61,0x6c,0x69,0x64]);})[_0x16e3f1([0x74,0x68,0x65,0x6e])](_0x30aa47)[_0x16e3f1([0x63,0x61,0x74,0x63,0x68])](()=>{_0x30aa47(_0x16e3f1([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]));});const _0x2e9103=0x47946b86^_0x40e85c;function _0x490237(){const _0x274693=_0x16e3f1([0x6c,0x6c,0x63,0x74,0x2d])+_0x5dbb30(_0x32190b(_0x34a7c7)),_0x299f18=_0x52dc60(_0x5dbb30(window[_0x16e3f1([0x4d,0x61,0x74,0x68])][_0x16e3f1([0x63,0x65,0x69,0x6c])](_0x1f1b5d/_0x2e9103)));window[_0x16e3f1([0x6c,0x6f,0x63,0x61,0x6c,0x53,0x74,0x6f,0x72,0x61,0x67,0x65])][_0x16e3f1([0x73,0x65,0x74,0x49,0x74,0x65,0x6d])](_0x274693,_0x299f18);}function _0x359166(){const _0x5e3fb2=_0x16e3f1([0x6c,0x6c,0x63,0x74,0x2d])+_0x5dbb30(_0x32190b(_0x34a7c7)),_0xca8051=window[_0x16e3f1([0x6c,0x6f,0x63,0x61,0x6c,0x53,0x74,0x6f,0x72,0x61,0x67,0x65])][_0x16e3f1([0x67,0x65,0x74,0x49,0x74,0x65,0x6d])](_0x5e3fb2);return _0xca8051?window[_0x16e3f1([0x70,0x61,0x72,0x73,0x65,0x49,0x6e,0x74])](_0x52dc60(_0xca8051),0x10)*_0x2e9103:null;}function _0x2f80a0(_0x1d8651){return new window[(_0x16e3f1([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))]((_0x329a59,_0x434c0e)=>{_0x1d8651[_0x16e3f1([0x74,0x68,0x65,0x6e])](_0x329a59,_0x434c0e),window[_0x16e3f1([0x73,0x65,0x74,0x54,0x69,0x6d,0x65,0x6f,0x75,0x74])](_0x434c0e,0x47a351c6^_0x40e85c);});}}_0x1d8053[_0x16e3f1([0x6f,0x6e])](_0x16e3f1([0x5f,0x73,0x65,0x6e,0x64,0x55,0x73,0x61,0x67,0x65,0x52,0x65,0x71,0x75,0x65,0x73,0x74]),(_0x5756db,_0xa6cfb6)=>{if(_0xa6cfb6[0x0]!=_0x34a7c7)return _0x30aa47(_0x16e3f1([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]));_0xa6cfb6[0x1]={..._0xa6cfb6[0x1],[_0x16e3f1([0x72,0x65,0x71,0x75,0x65,0x73,0x74,0x49,0x64])]:_0x2be00f};},{[_0x16e3f1([0x70,0x72,0x69,0x6f,0x72,0x69,0x74,0x79])]:_0x16e3f1([0x68,0x69,0x67,0x68])}),_0x1d8053[_0x16e3f1([0x6f,0x6e])](_0x16e3f1([0x5f,0x73,0x65,0x6e,0x64,0x55,0x73,0x61,0x67,0x65,0x52,0x65,0x71,0x75,0x65,0x73,0x74]),_0x51509d=>{_0xf9977b(_0x51509d[_0x16e3f1([0x72,0x65,0x74,0x75,0x72,0x6e])])&&(_0x25a9da=!0x0,_0x1446a6(_0x51509d[_0x16e3f1([0x72,0x65,0x74,0x75,0x72,0x6e])]));},{[_0x16e3f1([0x70,0x72,0x69,0x6f,0x72,0x69,0x74,0x79])]:_0x16e3f1([0x6c,0x6f,0x77])}),_0x231cd9[_0x16e3f1([0x74,0x68,0x65,0x6e])](()=>{_0x25a9da||_0x30aa47(_0x16e3f1([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]));});});function _0x308b12(){return _0x1d8053[_0x16e3f1([0x65,0x64,0x69,0x74,0x69,0x6e,0x67])][_0x16e3f1([0x76,0x69,0x65,0x77])][_0x16e3f1([0x5f,0x6f,0x76,0x65,0x72,0x6c,0x61,0x79,0x4d,0x6f,0x64,0x65,0x48,0x69,0x6e,0x74])]==_0x16e3f1([0x61,0x75,0x74,0x6f]);}function _0x4f1174(){_0x1d8053[_0x16e3f1([0x65,0x64,0x69,0x74,0x69,0x6e,0x67])][_0x16e3f1([0x76,0x69,0x65,0x77])][_0x16e3f1([0x5f,0x6f,0x76,0x65,0x72,0x6c,0x61,0x79,0x4d,0x6f,0x64,0x65,0x48,0x69,0x6e,0x74])]=_0x16e3f1([0x61,0x75,0x74,0x6f]);}}function _0xa44caf(_0x345273){const _0x1dae29=[new window[(_0x16e3f1([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0x3d5bf3=>setTimeout(_0x3d5bf3,0x47abbbca^_0x40e85c)),_0x231cd9[_0x16e3f1([0x74,0x68,0x65,0x6e])](()=>new window[(_0x16e3f1([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0x2e73be=>{let _0x307141=0x0;_0x1d8053[_0x16e3f1([0x6d,0x6f,0x64,0x65,0x6c])][_0x16e3f1([0x6f,0x6e])](_0x16e3f1([0x61,0x70,0x70,0x6c,0x79,0x4f,0x70,0x65,0x72,0x61,0x74,0x69,0x6f,0x6e]),(_0xd39ac3,_0x5098d6)=>{_0x5098d6[0x0][_0x16e3f1([0x69,0x73,0x44,0x6f,0x63,0x75,0x6d,0x65,0x6e,0x74,0x4f,0x70,0x65,0x72,0x61,0x74,0x69,0x6f,0x6e])]&&_0x307141++,_0x307141==(0x47a280ee^_0x40e85c)&&(_0x2e73be(),_0xd39ac3[_0x16e3f1([0x6f,0x66,0x66])]());});}))];return window[_0x16e3f1([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65])][_0x16e3f1([0x72,0x61,0x63,0x65])](_0x1dae29)[_0x16e3f1([0x74,0x68,0x65,0x6e])](()=>_0x345273);}async function _0x4b74df(){await _0x231cd9,_0x1d8053[_0x16e3f1([0x6d,0x6f,0x64,0x65,0x6c])][_0x16e3f1([0x63,0x68,0x61,0x6e,0x67,0x65])]=_0x58db77,_0x1d8053[_0x16e3f1([0x6d,0x6f,0x64,0x65,0x6c])][_0x16e3f1([0x65,0x6e,0x71,0x75,0x65,0x75,0x65,0x43,0x68,0x61,0x6e,0x67,0x65])]=_0x58db77,_0x1d8053[_0x16e3f1([0x65,0x6e,0x61,0x62,0x6c,0x65,0x52,0x65,0x61,0x64,0x4f,0x6e,0x6c,0x79,0x4d,0x6f,0x64,0x65])](_0x16e3f1([0x6d,0x6f,0x64,0x65,0x6c]));}function _0x3aaa80(_0x4b788e){const _0x1981aa=_0x55a3ec();_0x1d8053[_0x1981aa]=_0x16e3f1([0x66,0x6f,0x6f,0x74,0x6e,0x6f,0x74,0x65,0x73,0x4c,0x69,0x63,0x65,0x6e,0x73,0x65,0x4b,0x65,0x79])+_0x4b788e,_0x4b788e!=_0x16e3f1([0x56,0x61,0x6c,0x69,0x64])&&_0x4b74df();}function _0x55a3ec(){const _0x3e77ac=window[_0x16e3f1([0x53,0x74,0x72,0x69,0x6e,0x67])](window[_0x16e3f1([0x70,0x65,0x72,0x66,0x6f,0x72,0x6d,0x61,0x6e,0x63,0x65])][_0x16e3f1([0x6e,0x6f,0x77])]())[_0x16e3f1([0x72,0x65,0x70,0x6c,0x61,0x63,0x65])](_0x16e3f1([0x2e]),'');let _0x143981=_0x16e3f1([0x75]);for(let _0x1cd48d=0x0;_0x1cd48d<_0x3e77ac[_0x16e3f1([0x6c,0x65,0x6e,0x67,0x74,0x68])];_0x1cd48d+=0x2){let _0x1d0293=window[_0x16e3f1([0x70,0x61,0x72,0x73,0x65,0x49,0x6e,0x74])](_0x3e77ac[_0x16e3f1([0x73,0x75,0x62,0x73,0x74,0x72,0x69,0x6e,0x67])](_0x1cd48d,_0x1cd48d+0x2));_0x1d0293>=_0x3c09a2[_0x16e3f1([0x6c,0x65,0x6e,0x67,0x74,0x68])]&&(_0x1d0293-=_0x3c09a2[_0x16e3f1([0x6c,0x65,0x6e,0x67,0x74,0x68])]),_0x143981+=_0x3c09a2[_0x1d0293];}return _0x143981;}function _0x1d782c(){const _0x3d0f54=_0x3c9201[_0x16e3f1([0x73,0x70,0x6c,0x69,0x74])](_0x16e3f1([0x2e]));if(0x3!=_0x3d0f54[_0x16e3f1([0x6c,0x65,0x6e,0x67,0x74,0x68])])return null;return _0x3627be(_0x3d0f54[0x1]);function _0x3627be(_0x2128c8){const _0x4b238f=_0x596633(_0x2128c8);return _0x4b238f&&_0x32f54c()?_0x4b238f:null;function _0x32f54c(){const _0x76576f=_0x4b238f[_0x16e3f1([0x6a,0x74,0x69])],_0x23f72d=window[_0x16e3f1([0x70,0x61,0x72,0x73,0x65,0x49,0x6e,0x74])](_0x76576f[_0x16e3f1([0x73,0x75,0x62,0x73,0x74,0x72,0x69,0x6e,0x67])](_0x76576f[_0x16e3f1([0x6c,0x65,0x6e,0x67,0x74,0x68])]-0x8),0x10),_0x4b4aed={..._0x4b238f,[_0x16e3f1([0x6a,0x74,0x69])]:_0x76576f[_0x16e3f1([0x73,0x75,0x62,0x73,0x74,0x72,0x69,0x6e,0x67])](0x0,_0x76576f[_0x16e3f1([0x6c,0x65,0x6e,0x67,0x74,0x68])]-0x8)};return delete _0x4b4aed[_0x16e3f1([0x76,0x63])],_0x32190b(_0x4b4aed)==_0x23f72d;}}}async function _0x19fb31(){let _0x5287f8=!0x0;try{const _0x5532d6=_0x3c9201[_0x16e3f1([0x73,0x70,0x6c,0x69,0x74])](_0x16e3f1([0x2e])),[_0x33333a,_0xcafd6b,_0x19cc6b]=_0x5532d6;return _0x29cfdc(_0x33333a),await _0x2a3eea(_0x33333a,_0xcafd6b,_0x19cc6b),_0x5287f8;}catch{return!0x1;}function _0x29cfdc(_0x4086b4){const _0x51e238=_0x596633(_0x4086b4);_0x51e238&&_0x51e238[_0x16e3f1([0x61,0x6c,0x67])]==_0x16e3f1([0x45,0x53,0x32,0x35,0x36])||(_0x5287f8=!0x1);}async function _0x2a3eea(_0xc574a6,_0x461d37,_0x1e568e){const _0x5713f9=window[_0x16e3f1([0x55,0x69,0x6e,0x74,0x38,0x41,0x72,0x72,0x61,0x79])][_0x16e3f1([0x66,0x72,0x6f,0x6d])](_0x11f568(_0x1e568e),_0x3c313a=>_0x3c313a[_0x16e3f1([0x63,0x68,0x61,0x72,0x43,0x6f,0x64,0x65,0x41,0x74])](0x0)),_0x29fd34=new window[(_0x16e3f1([0x54,0x65,0x78,0x74,0x45,0x6e,0x63,0x6f,0x64,0x65,0x72]))]()[_0x16e3f1([0x65,0x6e,0x63,0x6f,0x64,0x65])](_0xc574a6+_0x16e3f1([0x2e])+_0x461d37),_0x4f5dba=window[_0x16e3f1([0x63,0x72,0x79,0x70,0x74,0x6f])][_0x16e3f1([0x73,0x75,0x62,0x74,0x6c,0x65])];if(!_0x4f5dba)return;const _0xbbeaf1=await _0x4f5dba[_0x16e3f1([0x69,0x6d,0x70,0x6f,0x72,0x74,0x4b,0x65,0x79])](_0x16e3f1([0x6a,0x77,0x6b]),_0x1c4741,{[_0x16e3f1([0x6e,0x61,0x6d,0x65])]:_0x16e3f1([0x45,0x43,0x44,0x53,0x41]),[_0x16e3f1([0x6e,0x61,0x6d,0x65,0x64,0x43,0x75,0x72,0x76,0x65])]:_0x16e3f1([0x50,0x2d,0x32,0x35,0x36])},!0x1,[_0x16e3f1([0x76,0x65,0x72,0x69,0x66,0x79])]);await _0x4f5dba[_0x16e3f1([0x76,0x65,0x72,0x69,0x66,0x79])]({[_0x16e3f1([0x6e,0x61,0x6d,0x65])]:_0x16e3f1([0x45,0x43,0x44,0x53,0x41]),[_0x16e3f1([0x68,0x61,0x73,0x68])]:{[_0x16e3f1([0x6e,0x61,0x6d,0x65])]:_0x16e3f1([0x53,0x48,0x41,0x2d,0x32,0x35,0x36])}},_0xbbeaf1,_0x5713f9,_0x29fd34)||(_0x5287f8=!0x1);}}function _0x596633(_0x33603e){return _0x33603e[_0x16e3f1([0x73,0x74,0x61,0x72,0x74,0x73,0x57,0x69,0x74,0x68])](_0x16e3f1([0x65,0x79]))?JSON[_0x16e3f1([0x70,0x61,0x72,0x73,0x65])](_0x11f568(_0x33603e)):null;}function _0x11f568(_0x3d1a4e){return window[_0x16e3f1([0x61,0x74,0x6f,0x62])](_0x3d1a4e[_0x16e3f1([0x72,0x65,0x70,0x6c,0x61,0x63,0x65])](/-/g,_0x16e3f1([0x2b]))[_0x16e3f1([0x72,0x65,0x70,0x6c,0x61,0x63,0x65])](/_/g,_0x16e3f1([0x2f])));}function _0x32190b(_0x4e10df){let _0x204b72=0x1505;function _0x535d53(_0x2f2215){for(let _0xdaf33=0x0;_0xdaf33<_0x2f2215[_0x16e3f1([0x6c,0x65,0x6e,0x67,0x74,0x68])];_0xdaf33++){const _0x4dd040=_0x2f2215[_0x16e3f1([0x63,0x68,0x61,0x72,0x43,0x6f,0x64,0x65,0x41,0x74])](_0xdaf33);_0x204b72=(_0x204b72<<0x5)+_0x204b72+_0x4dd040,_0x204b72&=_0x204b72;}}function _0x257b72(_0x2a9012){Array[_0x16e3f1([0x69,0x73,0x41,0x72,0x72,0x61,0x79])](_0x2a9012)?_0x2a9012[_0x16e3f1([0x66,0x6f,0x72,0x45,0x61,0x63,0x68])](_0x257b72):_0x2a9012&&typeof _0x2a9012==_0x16e3f1([0x6f,0x62,0x6a,0x65,0x63,0x74])?Object[_0x16e3f1([0x65,0x6e,0x74,0x72,0x69,0x65,0x73])](_0x2a9012)[_0x16e3f1([0x73,0x6f,0x72,0x74])]()[_0x16e3f1([0x66,0x6f,0x72,0x45,0x61,0x63,0x68])](([_0x28bee8,_0x559785])=>{_0x535d53(_0x28bee8),_0x257b72(_0x559785);}):_0x535d53(window[_0x16e3f1([0x53,0x74,0x72,0x69,0x6e,0x67])](_0x2a9012));}return _0x257b72(_0x4e10df),_0x204b72>>>0x0;}function _0x5dbb30(_0x148e5e){return _0x148e5e[_0x16e3f1([0x74,0x6f,0x53,0x74,0x72,0x69,0x6e,0x67])](0x10)[_0x16e3f1([0x70,0x61,0x64,0x53,0x74,0x61,0x72,0x74])](0x8,_0x16e3f1([0x30]));}function _0x52dc60(_0x650627){return _0x650627[_0x16e3f1([0x73,0x70,0x6c,0x69,0x74])]('')[_0x16e3f1([0x72,0x65,0x76,0x65,0x72,0x73,0x65])]()[_0x16e3f1([0x6a,0x6f,0x69,0x6e])]('');}function _0x58db77(){}function _0x16e3f1(_0x4cf4d6){return _0x4cf4d6['map'](_0x36adaf=>String['fromCharCode'](_0x36adaf))['join']('');}_0x3aaa80(await _0x5a5a88());}(this);}['_moveSelectionToFootnoteDefinition'](_0x3396f9){const {plugins:_0x52c8d5,editing:_0x29908d,model:_0x33da77}=this['editor'],_0x99f05=_0x52c8d5['get'](f)['getFootnote'](_0x3396f9);return!!_0x99f05&&(_0x33da77['change'](_0x342ca1=>{_0x342ca1['setSelection'](_0x342ca1['createPositionAt'](_0x99f05['definition'],'end'));}),_0x29908d['view']['scrollToTheSelection'](),!0x0);}['_moveSelectionToFootnoteReference'](_0x1e3abf){const {plugins:_0x2c66e5,editing:_0x4e6e48,model:_0x6afaa3}=this['editor'],_0x59a886=_0x2c66e5['get'](f)['getFootnote'](_0x1e3abf);return!!_0x59a886&&(_0x6afaa3['change'](_0x21e71c=>{_0x21e71c['setSelection'](_0x59a886['reference'],'on');}),_0x4e6e48['view']['scrollToTheSelection'](),!0x0);}['_defineSchema'](){const {schema:_0x25b925}=this['editor']['model'],_0x9fefe=this['editor']['config']['get']('footnotes.multiBlock');_0x25b925['register']('footnoteRef',{'inheritAllFrom':'$inlineObject','allowAttributes':['footnoteId','footnoteCounter']}),_0x25b925['register']('footnotesDefinitions',{'inheritAllFrom':'$blockObject','allowChildren':['footnoteDefinition']}),_0x25b925['register']('footnoteDefinition',{'allowAttributes':['footnoteId'],'disallowAttributes':['listItemId'],'isLimit':!0x0}),_0x9fefe?_0x25b925['extend']('footnoteDefinition',{'allowContentOf':'$container'}):_0x25b925['register']('footnoteInlineContent',{'allowIn':'footnoteDefinition','allowContentOf':'$block','isLimit':!0x0}),_0x25b925['addChildCheck'](_0x23181c=>{for(const _0x1c290a of _0x23181c)if('footnoteDefinition'===_0x1c290a['name'])return!0x1;},'footnoteRef');}['_defineRefsConverters'](){const {editor:_0x1d8540}=this,{conversion:_0x350920,editing:_0x8f15b5}=_0x1d8540,{t:t}=_0x1d8540['locale'];_0x350920['for']('upcast')['elementToElement']({'view':{'name':'sup','classes':'footnote'},'model':(_0x196450,{writer:_0x31593f,consumable:_0x4945a9})=>{const _0x17d5a0=_0x196450['getChild'](0x0);if(!_0x17d5a0||!_0x17d5a0['is']('element','a'))return null;const _0x57c000=_0x17d5a0['getAttribute']('href')||'';if(!_0x57c000['startsWith']('#'))return null;const _0x47dd74=_0x57c000['replace'](/^#/,'');if(!_0x47dd74)return null;_0x4945a9['consume'](_0x17d5a0,{'name':!0x0,'attributes':['href']});for(const {item:_0x1697d1}of _0x8f15b5['view']['createRangeIn'](_0x17d5a0))_0x1697d1['is']('$textProxy')?_0x4945a9['consume'](_0x1697d1['textNode'],{'name':!0x0}):_0x1697d1['is']('element')&&_0x4945a9['consume'](_0x1697d1,{'name':!0x0});return _0x31593f['createElement']('footnoteRef',{'footnoteId':_0x47dd74});}}),_0x350920['for']('dataDowncast')['elementToElement']({'model':{'name':'footnoteRef','attributes':['footnoteId','footnoteCounter']},'view':(_0x52ed01,{writer:_0xfa63b})=>b(_0x52ed01,_0xfa63b)}),_0x350920['for']('editingDowncast')['elementToElement']({'model':{'name':'footnoteRef','attributes':['footnoteId','footnoteCounter']},'view':(_0x52610c,{writer:_0x1bb7d3})=>{const _0x29a4b1=_0x52610c['getAttribute']('footnoteCounter');return _0x2d619d(b(_0x52610c,_0x1bb7d3),_0x1bb7d3,{'label':t('Footnote\x20%0.\x20Press\x20ENTER\x20to\x20jump\x20to\x20footnote\x20definition.',_0x29a4b1)});}});}['_defineDefinitionsConverters'](){const {editor:_0x38b217}=this,{t:t}=_0x38b217['locale'],{conversion:_0x11dc36}=_0x38b217;_0x11dc36['for']('upcast')['elementToElement']({'view':{'name':'div','classes':'footnotes'},'model':'footnotesDefinitions'}),_0x11dc36['for']('upcast')['add'](_0x28bf6e=>{_0x28bf6e['on']('element:ol',(_0x2b4b74,_0x424fec,_0x4188cb)=>{const _0x39e2f6=_0x424fec['viewItem'];if(!_0x39e2f6['hasClass']('footnotes-list')||!_0x424fec['modelCursor']['parent']?.['is']('element','footnotesDefinitions'))return;if(!_0x4188cb['consumable']['consume'](_0x39e2f6,{'name':!0x0,'classes':'footnotes-list'}))return;const {modelRange:_0x24b29b,modelCursor:_0x5790c8}=_0x4188cb['convertChildren'](_0x424fec['viewItem'],_0x424fec['modelCursor']);_0x424fec['modelRange']=_0x24b29b,_0x424fec['modelCursor']=_0x5790c8;}),_0x28bf6e['on']('element:hr',(_0x5be5e8,_0x8d8d14,_0x416f30)=>{const _0x336b9b=_0x8d8d14['viewItem'];_0x336b9b['hasClass']('footnotes-divider')&&_0x8d8d14['modelCursor']['parent']?.['is']('element','footnotesDefinitions')&&_0x416f30['consumable']['consume'](_0x336b9b,{'name':!0x0,'classes':'footnotes-divider'});});}),_0x11dc36['for']('dataDowncast')['elementToStructure']({'model':'footnotesDefinitions','view':(_0xfab51b,{writer:_0x5a1bc8})=>D(_0x5a1bc8)}),_0x11dc36['for']('editingDowncast')['elementToStructure']({'model':'footnotesDefinitions','view':(_0x2725f2,{writer:_0x357626})=>{const _0x240646=D(_0x357626,{'data-footnotes-list-label':t('Footnotes')}),_0x232a94=_0x2d619d(_0x240646,_0x357626,{'hasSelectionHandle':!0x0,'label':t('Footnotes')});return _0x357626['setCustomProperty']('footnotesDefinitions',!0x0,_0x232a94),_0x232a94;}});}['_defineDefinitionConverters'](){const {editor:_0x1a9df2}=this,{conversion:_0x50bc2e,locale:_0x2deb9d}=_0x1a9df2,_0xf9a737=_0x1a9df2['config']['get']('footnotes.multiBlock');_0x50bc2e['for']('upcast')['add'](_0x841dae=>{_0x841dae['on']('element:li',(_0x49c264,_0x5c5507,_0x2ff7a3)=>{const _0x775cf1=_0x5c5507['viewItem'];if(!_0x775cf1['hasClass']('footnote-definition')||!_0x775cf1['getAttribute']('id'))return;const _0x557b23=_0x775cf1['parent'];if(!_0x557b23['is']('element','ol')||!_0x557b23['hasClass']('footnotes-list'))return;if(!_0x2ff7a3['consumable']['test'](_0x775cf1,{'name':!0x0,'attributes':'id','classes':'footnote-definition'}))return;const _0x26e9c1=_0x2ff7a3['writer']['createElement']('footnoteDefinition',{'footnoteId':_0x775cf1['getAttribute']('id')});if(!_0x2ff7a3['safeInsert'](_0x26e9c1,_0x5c5507['modelCursor']))return;_0x2ff7a3['consumable']['consume'](_0x775cf1,{'name':!0x0,'attributes':'id','classes':'footnote-definition'});const _0x24933c=Array['from'](_0x775cf1['getChildren']())['find'](_0x4f04a0=>_0x4f04a0['is']('element')&&_0x4f04a0['hasClass']('footnote-content'));for(const _0x3785fd of _0x775cf1['getChildren']())_0x3785fd['is']('element')&&(_0x2ff7a3['consumable']['consume'](_0x3785fd,{'name':!0x0,'classes':'footnote-backlink','attributes':'href'}),_0x2ff7a3['consumable']['consume'](_0x3785fd,{'name':!0x0,'classes':'footnote-content'}));if(_0x24933c){if(_0xf9a737)_0x2ff7a3['convertChildren'](_0x24933c,_0x26e9c1);else{const _0x6baf26=_0x2ff7a3['writer']['createElement']('footnoteInlineContent');_0x2ff7a3['writer']['insert'](_0x6baf26,_0x26e9c1),_0x2ff7a3['convertChildren'](_0x24933c,_0x6baf26);}}_0x2ff7a3['updateConversionResult'](_0x26e9c1,_0x5c5507);});}),_0x50bc2e['for']('dataDowncast')['elementToStructure']({'model':{'name':'footnoteDefinition','attributes':['footnoteId']},'view':(_0x1fc9eb,{writer:_0x26e7cf})=>y(_0x1fc9eb,_0x26e7cf,_0x2deb9d,{'dataPipeline':!0x0})}),_0x50bc2e['for']('editingDowncast')['elementToStructure']({'model':{'name':'footnoteDefinition','attributes':['footnoteId']},'view':(_0x3bd349,{writer:_0x5cd162})=>y(_0x3bd349,_0x5cd162,_0x2deb9d)});}['_defineBogusParagraphConverters'](){const {editor:_0x3287f3}=this,{conversion:_0x3bc54f}=_0x3287f3;_0x3287f3['config']['get']('footnotes.multiBlock')?(_0x3bc54f['for']('editingDowncast')['elementToElement']({'model':'paragraph','view':p(),'converterPriority':'high'}),_0x3bc54f['for']('dataDowncast')['elementToElement']({'model':'paragraph','view':p({'dataPipeline':!0x0}),'converterPriority':'high'}),this['listenTo'](_0x3287f3['model']['document'],'change:data',()=>{!function(_0x487a4e,_0x13fa8a){const _0xe673df=_0x487a4e['document']['differ'],_0x2ac0c4=new Set();for(const _0x50a55f of _0xe673df['getChanges']()){const _0x1bd1dc='attribute'==_0x50a55f['type']?_0x50a55f['range']['start']['parent']:_0x50a55f['position']['parent'];_0x1bd1dc['is']('element','footnoteDefinition')&&_0x2ac0c4['add'](_0x1bd1dc);}for(const _0x17fa27 of _0x2ac0c4['values']()){const _0x1a9422=Array['from'](_0x17fa27['getChildren']())['filter'](_0x2a05f9=>v(_0x2a05f9,_0x13fa8a['mapper']));for(const _0x5873b3 of _0x1a9422)_0x13fa8a['reconvertItem'](_0x5873b3);}}(_0x3287f3['model'],_0x3287f3['editing']);})):(_0x3bc54f['for']('editingDowncast')['elementToElement']({'model':'footnoteInlineContent','view':p()}),_0x3bc54f['for']('dataDowncast')['elementToElement']({'model':'footnoteInlineContent','view':(_0x5e0774,{writer:_0x1d0ef7})=>{const _0x374ba5=_0x1d0ef7['createContainerElement']('span');return _0x1d0ef7['setCustomProperty']('dataPipeline:transparentRendering',!0x0,_0x374ba5),_0x374ba5;}}));}['_defineKeyboardHandlers'](){const {editor:_0x4c537f}=this,{editing:_0x5a4517,t:t}=_0x4c537f,_0x39780a=_0x4c537f['model']['document']['selection'];_0x4c537f['keystrokes']['set']('Ctrl+Alt+F','insertFootnote'),_0x4c537f['accessibility']['addKeystrokeInfos']({'keystrokes':[{'label':t('Insert\x20footnote'),'keystroke':'Ctrl+Alt+F'}]}),this['listenTo'](_0x5a4517['view']['document'],'enter',(_0xd82de6,_0x179b4e)=>{const _0x2663b6=function(_0x2ff02b){const _0x507b74=_0x2ff02b['getSelectedElement']();if(_0x507b74?.['is']('element','footnoteRef'))return _0x507b74;return null;}(_0x39780a);if(_0x2663b6){const _0x17897b=_0x2663b6['getAttribute']('footnoteId');this['_moveSelectionToFootnoteDefinition'](_0x17897b),_0x179b4e['preventDefault'](),_0xd82de6['stop']();}},{'context':_0x46519d});}['_defineClickHandlers'](){const {editor:_0x5a2dea}=this,{editing:_0x46389a}=_0x5a2dea;_0x5a2dea['editing']['view']['addObserver'](_0x4678e1),_0x5a2dea['editing']['view']['addObserver'](_0x153404);let _0x33b3f1=!0x1;this['listenTo'](_0x46389a['view']['document'],'pointerdown',(_0x10791b,_0x4204d5)=>{const {target:_0x2caf7b}=_0x4204d5,_0x5cb35a=_0x46389a['view']['document']['selection'];_0x33b3f1=!!(_0x2caf7b?.['is']('element','a')&&_0x2caf7b['parent']?.['is']('element','sup')&&_0x2caf7b['parent']['hasClass']('footnote'))&&_0x5cb35a['getSelectedElement']()===_0x2caf7b['parent'];},{'priority':'high'}),this['listenTo'](_0x46389a['view']['document'],'click',(_0x170350,_0x14f7b6)=>{const {target:_0x2b7644}=_0x14f7b6;if(!_0x2b7644?.['is']('element','a'))return;if(_0x2b7644['parent']?.['is']('element','sup')&&_0x2b7644['parent']['hasClass']('footnote')&&!_0x33b3f1)return void _0x14f7b6['preventDefault']();let _0x1245f5=_0x2b7644['getAttribute']('href');if(!_0x1245f5?.['startsWith']('#'))return;_0x1245f5=_0x1245f5['slice'](0x1);let _0x36de9a=!0x1;(_0x1245f5['startsWith']('ref-')&&this['_moveSelectionToFootnoteReference'](_0x1245f5['slice'](0x4))||this['_moveSelectionToFootnoteDefinition'](_0x1245f5))&&(_0x36de9a=!0x0),_0x36de9a&&(_0x14f7b6['preventDefault'](),_0x170350['stop']());},{'priority':'high','context':'$capture'});}}function p({dataPipeline:_0x540d5d}={}){return(_0xcba574,{writer:_0x183b09})=>{if(!g(_0xcba574))return null;if(!_0x540d5d)return _0x183b09['createContainerElement']('span',{'class':'ck-footnote-bogus-paragraph'});const _0x18ed0a=_0x183b09['createContainerElement']('p');return _0x183b09['setCustomProperty']('dataPipeline:transparentRendering',!0x0,_0x18ed0a),_0x18ed0a;};}function g(_0x5b98ee){const {parent:_0x508596}=_0x5b98ee;if(!_0x508596?.['is']('element','footnoteDefinition'))return!0x1;if(0x1!=_0x508596['childCount'])return!0x1;for(const _0x4ce077 of _0x5b98ee['getAttributeKeys']())if(!_0x4ce077['startsWith']('selection:')&&'htmlEmptyBlock'!=_0x4ce077)return!0x1;return!0x0;}function v(_0x5e25c2,_0x59e047){if(!_0x5e25c2['is']('element','paragraph'))return!0x1;const _0x177eac=_0x59e047['toViewElement'](_0x5e25c2);return!!_0x177eac&&g(_0x5e25c2)!==_0x177eac['is']('element','span');}function H(_0x1ed089){return _0x46519d(_0x1ed089)&&_0x1ed089['is']('containerElement')&&!!_0x1ed089['getCustomProperty']('footnotesDefinitions');}function D(_0x4b4e02,_0x191737={}){const _0x2a3062=_0x4b4e02['createEmptyElement']('hr',{'class':'footnotes-divider'}),_0x251886=_0x4b4e02['createContainerElement']('ol',{'class':'footnotes-list'},_0x4b4e02['createSlot']());return _0x4b4e02['createContainerElement']('div',{'class':'footnotes',..._0x191737},[_0x2a3062,_0x251886]);}function b(_0x28a2cc,_0x32affe){const _0x5d582b=_0x28a2cc['getAttribute']('footnoteId'),_0x185fd5=_0x28a2cc['getAttribute']('footnoteCounter'),_0x39bc8e=_0x32affe['createUIElement']('a',{'href':'#'+_0x5d582b},function(_0x4b2ac3){const _0x5cc6a4=this['toDomElement'](_0x4b2ac3);return _0x5cc6a4['textContent']=_0x185fd5,_0x5cc6a4;}),_0xa95bb5=_0x32affe['createContainerElement']('sup',{'id':'ref-'+_0x5d582b,'class':'footnote'},[_0x39bc8e]);return _0xa95bb5['getFillerOffset']=()=>null,_0xa95bb5;}function y(_0x4f8169,_0x45f31d,_0x570840,{dataPipeline:_0x39c61c}={}){const {t:t}=_0x570840,_0x1c1b36=_0x4f8169['getAttribute']('footnoteId'),_0x287cbb=_0x45f31d['createUIElement']('a',{'class':'footnote-backlink','href':'#ref-'+_0x1c1b36},function(_0x277c48){const _0x2e2d3d=this['toDomElement'](_0x277c48);return _0x2e2d3d['innerText']='^',_0x2e2d3d;}),_0x278365=_0x39c61c?_0x45f31d['createContainerElement']('div',{'class':'footnote-content'}):_0x1eb08a(_0x45f31d['createEditableElement']('div',{'class':'footnote-content'}),_0x45f31d,{'label':t('Footnote\x20content.')});return _0x45f31d['insert'](_0x45f31d['createPositionAt'](_0x278365,0x0),_0x45f31d['createSlot']()),_0x45f31d['createContainerElement']('li',{'class':'footnote-definition','id':_0x1c1b36},[_0x287cbb,_0x278365]);}class e extends _0x33f338{static get['pluginName'](){return'FootnotesClipboard';}static get['requires'](){return[r,_0x5bf402];}static get['isOfficialPlugin'](){return!0x0;}static get['isPremiumPlugin'](){return!0x0;}['init'](){this['_defineClipboardIntegration']();}['_defineClipboardIntegration'](){this['_handleCopyFootnotesDefinitions'](),this['_handlePasteFootnotesDefinitions']();}['_handleCopyFootnotesDefinitions'](){const {editor:_0x424be0}=this,{plugins:_0x429102,model:_0x4c0b35}=_0x424be0,_0x578e91=_0x429102['get'](_0x5bf402),_0x428736=_0x429102['get'](f);this['listenTo'](_0x578e91,'outputTransformation',(_0x2b86d1,_0x2c4ed5)=>{const _0x1d126f=l(_0x4c0b35['createRangeIn'](_0x2c4ed5['content']));if(!_0x1d126f['length'])return;const _0x4bea1f=_0x428736['getFootnotes'](),_0x349949=_0x1d126f['reduce']((_0x5a4740,_0x474cdc)=>{const _0x35d5e6=_0x4bea1f['find'](_0x1b2931=>_0x1b2931['id']===_0x474cdc);if(_0x35d5e6){const _0x4c3613=_0x424be0['data']['toView'](_0x35d5e6['definition'],{'isClipboardPipeline':!0x0}),_0x4931fe=_0x424be0['data']['htmlProcessor']['toData'](_0x4c3613);_0x5a4740[_0x35d5e6['id']]=_0x4931fe;}return _0x5a4740;},Object['create'](null));_0x2c4ed5['dataTransfer']['setData']('application/ckeditor5-footnotes',JSON['stringify'](_0x349949));});}['_handlePasteFootnotesDefinitions'](){const {editor:_0x4b46c5}=this,{model:_0x2f4747,plugins:_0xcf470b}=_0x4b46c5,{view:_0xfadd}=_0x4b46c5['editing'],_0x55444b=_0xcf470b['get'](_0x5bf402),_0x144901=_0xcf470b['get'](f),_0x328fa4=_0x4b46c5['config']['get']('footnotes.multiBlock');let _0xc6747e=null;this['listenTo'](_0xfadd['document'],'clipboardInput',(_0x7b134e,_0x29a444)=>{const _0x18fa61=_0x29a444['dataTransfer']['getData']('application/ckeditor5-footnotes');_0xc6747e=_0x18fa61?JSON['parse'](_0x18fa61):null;}),this['listenTo'](_0x55444b,'contentInsertion',(_0x311f0b,_0x14e328)=>{const _0x12740c=_0x14e328['sourceEditorId']===this['editor']['id'];_0x12740c&&'drop'===_0x14e328['method']||_0x2f4747['change'](_0x41737f=>{let _0x3cbdf8=_0x144901['getFootnotesDefinitionsObjectElement']();const _0x57b46d=!!_0x3cbdf8&&Array['from'](_0x2f4747['document']['selection']['getSelectedBlocks']())['includes'](_0x3cbdf8);if(!_0xc6747e&&function(_0x347952){for(const {item:_0x38f810}of _0x347952)if(_0x38f810['is']('element','footnoteRef'))return!0x0;return!0x1;}(_0x2f4747['createRangeIn'](_0x14e328['content']))&&(_0xc6747e=function(_0x5b407b,_0x3cd632){const _0x568577=c(_0x5b407b,_0x3cd632);if(!_0x568577)return null;const _0x4d5595=Object['create'](null);for(const _0x40bb16 of _0x568577['getChildren']())_0x40bb16['is']('element','footnoteDefinition')&&_0x40bb16['hasAttribute']('footnoteId')&&(_0x4d5595[_0x40bb16['getAttribute']('footnoteId')]=_0x5b407b['cloneElement'](_0x40bb16,!0x0));return Object['keys'](_0x4d5595)['length']?_0x4d5595:null;}(_0x41737f,_0x14e328['content'])),(_0x3cbdf8&&!_0x57b46d||!_0x3cbdf8&&!_0xc6747e)&&function(_0x4ddbed,_0x3e3360){const _0x494771=[];for(const {item:_0x76f948}of _0x4ddbed['createRangeIn'](_0x3e3360))_0x76f948['is']('element','footnotesDefinitions')&&_0x494771['push'](_0x76f948);for(const _0x379ebd of _0x494771)_0x4ddbed['remove'](_0x379ebd);}(_0x41737f,_0x14e328['content']),!_0xc6747e)return;const {selection:_0x21cba6}=_0x2f4747['document'],_0x5b4d9a=_0x21cba6['getFirstRange']()['root'];_0x3cbdf8&&!_0x57b46d||(_0x3cbdf8=c(_0x41737f,_0x14e328['content']),_0x3cbdf8||=_0x144901['_insertEmptyFootnotesDefinitionsContainer'](_0x41737f,_0x5b4d9a));const _0x1909d9=Array['from'](_0x21cba6['getRanges']())['flatMap'](l),_0x295721=function(_0x5cca31,_0xa3e72,_0x47ff83){const _0x5b9a77=Object['create'](null);for(const {item:_0x25927e}of _0x5cca31['createRangeIn'](_0xa3e72))if(_0x25927e['is']('element','footnoteRef')){const _0x25662f=_0x25927e['getAttribute']('footnoteId');if(!_0x47ff83(_0x25662f))continue;_0x5b9a77[_0x25662f]||(_0x5b9a77[_0x25662f]=_0x8553f0()),_0x5cca31['setAttribute']('footnoteId',_0x5b9a77[_0x25662f],_0x25927e);}return _0x5b9a77;}(_0x41737f,_0x14e328['content'],_0x23bc5a=>{if(!_0x12740c)return!0x0;return!!_0x144901['getFootnote'](_0x23bc5a)&&!_0x1909d9['includes'](_0x23bc5a);});for(const [_0x566eea,_0x27302d]of Object['entries'](_0xc6747e)){const _0x1f0a62=_0x295721[_0x566eea]||_0x566eea;let _0x15416b;if('string'!=typeof _0x27302d)_0x15416b=_0x27302d,_0x1f0a62!==_0x566eea&&_0x41737f['setAttribute']('footnoteId',_0x1f0a62,_0x15416b);else{_0x15416b=_0x41737f['createElement']('footnoteDefinition',{'footnoteId':_0x1f0a62});const _0x37d4ae=_0x4b46c5['data']['htmlProcessor']['toView'](_0x27302d);let _0x383bf8;if(_0x328fa4)_0x383bf8=_0x4b46c5['data']['toModel'](_0x37d4ae,_0x15416b);else{_0x383bf8=_0x41737f['createElement']('footnoteInlineContent');const _0x1bdd2a=_0x4b46c5['data']['toModel'](_0x37d4ae,_0x383bf8);_0x41737f['insert'](_0x1bdd2a,_0x383bf8);}_0x41737f['append'](_0x383bf8,_0x15416b);}_0x41737f['insert'](_0x15416b,_0x3cbdf8,'end');}_0xc6747e=null;});});}}function c(_0x46e954,_0x2569c0){for(const {item:_0x1cc92d}of _0x46e954['createRangeIn'](_0x2569c0))if(_0x1cc92d['is']('element','footnotesDefinitions'))return _0x1cc92d;return null;}function l(_0x34fb03){const _0x845785=new Set();for(const {item:_0x3f9fcf}of _0x34fb03)_0x3f9fcf['is']('element','footnoteRef')&&_0x845785['add'](_0x3f9fcf['getAttribute']('footnoteId'));return Array['from'](_0x845785);}class i extends _0x33f338{['licenseKey'];['_licenseKeyCheckInterval'];static get['pluginName'](){return'FootnotesUI';}static get['isOfficialPlugin'](){return!0x0;}static get['isPremiumPlugin'](){return!0x0;}['init'](){const {editor:_0x21f03a}=this,{componentFactory:_0x3ffe92}=_0x21f03a['ui'];_0x3ffe92['add']('insertFootnote',E(_0x21f03a,_0x205b9d)),_0x3ffe92['add']('menuBar:insertFootnote',E(_0x21f03a,_0xa176a3)),this['licenseKey']=this['editor']['config']['get']('licenseKey');const _0x5a85b2=this['editor'];this['_licenseKeyCheckInterval']=setInterval(()=>{let _0x1f3bc3;for(const _0x49c6aa in _0x5a85b2){const _0x38873d=_0x49c6aa,_0x4de495=_0x5a85b2[_0x38873d];if('footnotesLicenseKeyValid'==_0x4de495||'footnotesLicenseKeyInvalid'==_0x4de495||'footnotesLicenseKeyExpired'==_0x4de495||'footnotesLicenseKeyDomainLimit'==_0x4de495||'footnotesLicenseKeyNotAllowed'==_0x4de495||'footnotesLicenseKeyEvaluationLimit'==_0x4de495||'footnotesLicenseKeyTrialLimit'==_0x4de495||'footnotesLicenseKeyUsageLimit'==_0x4de495){delete _0x5a85b2[_0x38873d],_0x1f3bc3=_0x4de495,clearInterval(this['_licenseKeyCheckInterval']),this['_licenseKeyCheckInterval']=void 0x0;break;}}'footnotesLicenseKeyInvalid'==_0x1f3bc3&&_0x5a85b2['_showLicenseError']('invalid'),'footnotesLicenseKeyExpired'==_0x1f3bc3&&_0x5a85b2['_showLicenseError']('expired'),'footnotesLicenseKeyDomainLimit'==_0x1f3bc3&&_0x5a85b2['_showLicenseError']('domainLimit'),'footnotesLicenseKeyNotAllowed'==_0x1f3bc3&&_0x5a85b2['_showLicenseError']('featureNotAllowed','Footnotes'),'footnotesLicenseKeyEvaluationLimit'==_0x1f3bc3&&_0x5a85b2['_showLicenseError']('evaluationLimit'),'footnotesLicenseKeyTrialLimit'==_0x1f3bc3&&_0x5a85b2['_showLicenseError']('trialLimit'),'footnotesLicenseKeyUsageLimit'==_0x1f3bc3&&_0x5a85b2['_showLicenseError']('usageLimit');},0x3e8);}['destroy'](){super['destroy'](),this['_licenseKeyCheckInterval']&&clearInterval(this['_licenseKeyCheckInterval']);}}function E(_0x15ff6b,_0x3879a4){const _0x264924=_0x15ff6b['commands']['get']('insertFootnote');return _0x8fe7a8=>{const {t:t}=_0x8fe7a8,_0xde69c5=new _0x3879a4(_0x8fe7a8),_0xab8461=_0xde69c5 instanceof _0xa176a3;return _0xde69c5['bind']('isEnabled')['to'](_0x264924,'isEnabled'),_0xde69c5['set']({'label':t(_0xab8461?'Footnote':'Insert\x20footnote'),'icon':_0x317f87,'tooltip':!0x0}),_0xde69c5['on']('execute',()=>{_0x264924['execute'](),_0x15ff6b['editing']['view']['focus']();}),_0xde69c5;};}class lt extends _0x33f338{static get['pluginName'](){return'Footnotes';}static get['requires'](){return[r,e,i];}static get['isOfficialPlugin'](){return!0x0;}static get['isPremiumPlugin'](){return!0x0;}}const W=['decimal','decimal-leading-zero','lower-latin','upper-latin','lower-alpha','upper-alpha','lower-roman','upper-roman'];class S extends _0x206b50{['refresh'](){const {editor:_0x4be354}=this,_0x209759=_0x4be354['plugins']['get'](f)['getFootnotesDefinitionsObjectElement']();this['isEnabled']=!!_0x209759,this['value']=_0x209759?.['getAttribute']('footnotesListStyle')??null;}['execute']({value:_0x5ddba9}){const {editor:_0x455dcf}=this,_0x2af37c=_0x455dcf['plugins']['get'](f),_0x102903=_0x2af37c['getFootnotesDefinitionsObjectElement']();_0x102903&&W['includes'](_0x5ddba9)&&_0x455dcf['model']['change'](_0x5dcb48=>{_0x5dcb48['setAttribute']('footnotesListStyle',_0x5ddba9,_0x102903),_0x2af37c['_updateFootnotesCounters'](_0x5dcb48);});}}class C extends _0x206b50{['refresh'](){const {editor:_0x5546f6}=this,_0x904745=_0x5546f6['plugins']['get'](f)['getFootnotesDefinitionsObjectElement']();this['isEnabled']=!!_0x904745,this['value']=_0x904745?.['getAttribute']('footnotesListStart')??null;}['execute']({value:_0x494ad2}){const {editor:_0x1188d4}=this,_0x56c7a2=_0x1188d4['plugins']['get'](f),_0x4a91b8=_0x56c7a2['getFootnotesDefinitionsObjectElement']();_0x4a91b8&&Number['isInteger'](_0x494ad2)&&_0x1188d4['model']['change'](_0x68d51c=>{_0x68d51c['setAttribute']('footnotesListStart',_0x494ad2,_0x4a91b8),_0x56c7a2['_updateFootnotesCounters'](_0x68d51c);});}}class P extends _0x33f338{static get['pluginName'](){return'FootnotesPropertiesEditing';}static get['requires'](){return[r,f];}static get['isOfficialPlugin'](){return!0x0;}static get['isPremiumPlugin'](){return!0x0;}['init'](){const {editor:_0x5c6213}=this;_0x5c6213['config']['define']('footnotes.footnotesProperties.defaultListStyle','decimal'),_0x5c6213['config']['define']('footnotes.footnotesProperties.defaultStartIndex',0x1),_0x5c6213['commands']['add']('footnotesStyle',new S(_0x5c6213)),_0x5c6213['commands']['add']('footnotesStart',new C(_0x5c6213)),this['_defineSchema'](),this['_defineConverters'](),this['_defineFormatter'](),this['_definePostfixer']();}['_defineSchema'](){const {editor:_0x3efbbe}=this,{schema:_0x16009d}=_0x3efbbe['model'];_0x16009d['extend']('footnotesDefinitions',{'allowAttributes':['footnotesListStyle','footnotesListStart']});}['_defineConverters'](){const {editor:_0x48a778}=this,{conversion:_0x145783,model:_0xc545c0}=_0x48a778,{schema:_0x5030bf}=_0xc545c0;_0x145783['for']('upcast')['add'](_0x3c1a7b=>{_0x3c1a7b['on']('element:ol',(_0x9a0ad3,_0x74a2cb,_0x3cbf59)=>{const _0x2ddda4=_0x74a2cb['viewItem'],_0x3d9615=_0x74a2cb['modelCursor']?.['parent'];_0x2ddda4['hasClass']('footnotes-list')&&_0x3d9615?.['is']('element','footnotesDefinitions')&&(function(_0x4ac5c2,_0x2463d1,_0x2e8138,_0x1b1381){if(!_0x1b1381['checkAttribute'](_0x2463d1,'footnotesListStart'))return;let _0x486f76=0x1;const _0x594e26=_0x2e8138['consumable']['consume'](_0x4ac5c2,{'attributes':'start'});if(_0x594e26){const _0x3290ff=Number['parseInt'](_0x4ac5c2['getAttribute']('start'),0xa);Number['isNaN'](_0x3290ff)||(_0x486f76=_0x3290ff);}!_0x594e26&&_0x2463d1['hasAttribute']('footnotesListStart')||_0x2e8138['writer']['setAttribute']('footnotesListStart',_0x486f76,_0x2463d1);}(_0x2ddda4,_0x3d9615,_0x3cbf59,_0x5030bf),function(_0x13f156,_0x316969,_0x26e700,_0x5332c0){if(!_0x5332c0['checkAttribute'](_0x316969,'footnotesListStyle'))return;let _0x1e35b3='decimal',_0x5e5703=!0x1;if(_0x26e700['consumable']['consume'](_0x13f156,{'attributes':'type'})){const _0x40446f={0x1:'decimal','a':'lower-alpha','A':'upper-alpha','i':'lower-roman','I':'upper-roman'}[_0x13f156['getAttribute']('type')];_0x40446f&&(_0x1e35b3=_0x40446f),_0x5e5703=!0x0;}_0x26e700['consumable']['consume'](_0x13f156,{'styles':'list-style-type'})&&(_0x1e35b3=function(_0x17de4c){switch(_0x17de4c){case'lower-alpha':return'lower-latin';case'upper-alpha':return'upper-latin';default:return _0x17de4c;}}(_0x13f156['getStyle']('list-style-type')),_0x5e5703=!0x0),!_0x5e5703&&_0x316969['hasAttribute']('footnotesListStyle')||_0x26e700['writer']['setAttribute']('footnotesListStyle',_0x1e35b3,_0x316969);}(_0x2ddda4,_0x3d9615,_0x3cbf59,_0x5030bf));});}),_0x145783['for']('downcast')['add'](_0x32e13d=>{_0x32e13d['on']('attribute:footnotesListStart:footnotesDefinitions',(_0x3497c3,_0x2b8fb9,_0x2c2bdb)=>{if(!_0x2c2bdb['consumable']['consume'](_0x2b8fb9['item'],_0x3497c3['name']))return;const _0x442510=M(_0x2b8fb9['item'],_0x2c2bdb['mapper']),{attributeNewValue:_0xb65d4c}=_0x2b8fb9;null==_0xb65d4c||0x1===_0xb65d4c?_0x2c2bdb['writer']['removeAttribute']('start',_0x442510):_0x2c2bdb['writer']['setAttribute']('start',String(_0xb65d4c),_0x442510);}),_0x32e13d['on']('attribute:footnotesListStyle:footnotesDefinitions',(_0x29c5c1,_0x4d8e4a,_0x3ae681)=>{if(!_0x3ae681['consumable']['consume'](_0x4d8e4a['item'],_0x29c5c1['name']))return;const _0x3b5239=M(_0x4d8e4a['item'],_0x3ae681['mapper']),{attributeNewValue:_0x36ddc1}=_0x4d8e4a;_0x36ddc1&&'decimal'!==_0x36ddc1?_0x3ae681['writer']['setStyle']('list-style-type',_0x36ddc1,_0x3b5239):_0x3ae681['writer']['removeStyle']('list-style-type',_0x3b5239);});});}['_definePostfixer'](){const {editor:_0x3b0bca}=this,{model:_0x46576e}=_0x3b0bca,_0x32166e=_0x3b0bca['plugins']['get'](f),_0x364f7e=this['_getDefaultListStyle'](),_0x1e3eb3=this['_getDefaultStartIndex']();_0x46576e['document']['registerPostFixer'](_0x17e24a=>{const _0x5588cd=_0x46576e['document']['differ']['getChanges']();let _0x24c523=!0x1;for(const _0x58e939 of _0x5588cd){if('insert'!==_0x58e939['type']||'$text'===_0x58e939['name'])continue;const _0x5168ae=_0x46576e['createRangeOn'](_0x58e939['position']['nodeAfter']);for(const _0x2154c4 of _0x5168ae['getItems']())_0x2154c4['is']('element','footnotesDefinitions')&&(!_0x2154c4['hasAttribute']('footnotesListStart')&&_0x46576e['schema']['checkAttribute'](_0x2154c4,'footnotesListStart')&&(_0x17e24a['setAttribute']('footnotesListStart',_0x1e3eb3,_0x2154c4),_0x24c523=!0x0),!_0x2154c4['hasAttribute']('footnotesListStyle')&&_0x46576e['schema']['checkAttribute'](_0x2154c4,'footnotesListStyle')&&(_0x17e24a['setAttribute']('footnotesListStyle',_0x364f7e,_0x2154c4),_0x24c523=!0x0));}return _0x24c523&&_0x32166e['_updateFootnotesCounters'](_0x17e24a),_0x24c523;});}['_defineFormatter'](){const {editor:_0x89fe38}=this;_0x89fe38['plugins']['get'](f)['setFootnoteFormatter'](_0x1f68bb=>this['_formatFootnoteListValue'](_0x1f68bb));}['_getDefaultListStyle'](){return this['editor']['config']['get']('footnotes.footnotesProperties.defaultListStyle');}['_getDefaultStartIndex'](){return this['editor']['config']['get']('footnotes.footnotesProperties.defaultStartIndex');}['_formatFootnoteListValue']({container:_0x2bc5a1,value:_0x33930b,digits:_0x489e66}){const _0x5acaba=_0x2bc5a1['getAttribute']('footnotesListStyle'),_0x224ee0=_0x2bc5a1['getAttribute']('footnotesListStart'),_0x54b8db=Math['floor'](_0x33930b)+(_0x224ee0??0x1)-0x1;switch(_0x5acaba){case'decimal-leading-zero':return function(_0x5344b4,_0x1f0b87){return String(_0x5344b4)['padStart'](_0x1f0b87,'0');}(_0x54b8db,Math['max'](0x2,_0x489e66));case'lower-alpha':case'lower-latin':return N(_0x54b8db,!0x1);case'upper-alpha':case'upper-latin':return N(_0x54b8db,!0x0);case'lower-roman':return X(_0x54b8db,!0x1);case'upper-roman':return X(_0x54b8db,!0x0);default:return String(_0x54b8db);}}}function M(_0x283a00,_0x2fcea0){const _0x3b50ee=_0x2fcea0['toViewElement'](_0x283a00);return Array['from'](_0x3b50ee['getChildren']())['find'](_0x3dbec1=>_0x3dbec1['is']('element','ol')&&_0x3dbec1['hasClass']('footnotes-list'));}function N(_0x3447a4,_0x2ce152){let _0x188acf='',_0x3e9051=_0x3447a4;for(;_0x3e9051>0x0;){const _0x5793ca=(_0x3e9051-0x1)%0x1a;_0x188acf=String['fromCharCode'](0x61+_0x5793ca)+_0x188acf,_0x3e9051=Math['floor']((_0x3e9051-0x1)/0x1a);}return _0x2ce152?_0x188acf['toUpperCase']():_0x188acf;}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(_0x15424c,_0x6f091d){let _0x167625='',_0x146dbf=_0x15424c;for(const {value:_0x146a22,numeral:_0x3d4849}of V)for(;_0x146dbf>=_0x146a22;)_0x167625+=_0x3d4849,_0x146dbf-=_0x146a22;return _0x6f091d?_0x167625:_0x167625['toLowerCase']();}class $ extends _0x3cfec0{['children'];['stylesView']=null;['additionalProperties']=null;['startIndexFieldView']=null;['focusTracker']=new rt();['keystrokes']=new nt();['focusables']=new _0x1490d9();['focusCycler'];constructor(_0x318184,{styleButtonViews:_0x8f492a,styleGridAriaLabel:_0x55f8ce}){super(_0x318184),(this['focusCycler']=new tt({'focusables':this['focusables'],'focusTracker':this['focusTracker'],'keystrokeHandler':this['keystrokes'],'actions':{'focusPrevious':'shift\x20+\x20tab','focusNext':'tab'}}),this['children']=this['createCollection'](),this['stylesView']=this['_appendStylesView'](_0x8f492a,_0x55f8ce),[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 _0x49aaf1 of this['stylesView']['children'])this['stylesView']['focusTracker']['add'](_0x49aaf1['element']);st({'keystrokeHandler':this['stylesView']['keystrokes'],'focusTracker':this['stylesView']['focusTracker'],'gridItems':this['stylesView']['children'],'numberOfColumns':()=>at['window']['getComputedStyle'](this['stylesView']['element'])['getPropertyValue']('grid-template-columns')['split']('\x20')['length'],'uiLanguageDirection':this['locale']&&this['locale']['uiLanguageDirection']});}if(this['startIndexFieldView']){this['focusables']['add'](this['startIndexFieldView']),this['focusTracker']['add'](this['startIndexFieldView']['element']);const _0x23db71=_0x388953=>_0x388953['stopPropagation']();this['keystrokes']['set']('arrowright',_0x23db71),this['keystrokes']['set']('arrowleft',_0x23db71),this['keystrokes']['set']('arrowup',_0x23db71),this['keystrokes']['set']('arrowdown',_0x23db71);}this['keystrokes']['listenTo'](this['element']);}['focus'](){this['focusCycler']['focusFirst']();}['focusLast'](){this['focusCycler']['focusLast']();}['destroy'](){super['destroy'](),this['focusTracker']['destroy'](),this['keystrokes']['destroy']();}['_appendStylesView'](_0x3c3d29,_0x186946){const _0x38b318=new _0x3cfec0(this['locale']);return _0x38b318['children']=_0x38b318['createCollection'](),_0x38b318['children']['addMany'](_0x3c3d29),_0x38b318['setTemplate']({'tag':'div','attributes':{'aria-label':_0x186946,'class':['ck','ck-footnotes-definitions-styles-list']},'children':_0x38b318['children']}),_0x38b318['children']['delegate']('execute')['to'](this),_0x38b318['focus']=function(){for(const _0x446fd2 of this['children'])if(_0x446fd2 instanceof _0x205b9d&&_0x446fd2['isOn'])return void _0x446fd2['focus']();this['children']['first']['focus']();},_0x38b318['focusTracker']=new rt(),_0x38b318['keystrokes']=new nt(),_0x38b318['render'](),_0x38b318['keystrokes']['listenTo'](_0x38b318['element']),this['children']['add'](_0x38b318),_0x38b318;}['_appendAdditionalPropertiesCollapsibleView'](){const {t:t}=this['locale'],_0x438a32=this['_createStartIndexPropertyView'](),_0x528b7c=[_0x438a32],_0x2fab58=new it(this['locale'],_0x528b7c);return _0x2fab58['set']({'label':t('Footnotes\x20properties'),'isCollapsed':!0x0}),_0x2fab58['buttonView']['bind']('isEnabled')['toMany'](_0x528b7c,'isEnabled',(..._0x27c6bc)=>_0x27c6bc['some'](_0x3ed9c5=>_0x3ed9c5)),_0x2fab58['buttonView']['on']('change:isEnabled',(_0x14ed5c,_0x11b43f,_0x502cea)=>{_0x502cea||(_0x2fab58['isCollapsed']=!0x0);}),this['children']['add'](_0x2fab58),[_0x438a32,_0x2fab58];}['_createStartIndexPropertyView'](){const {t:t}=this['locale'],_0x2c938d=new et(this['locale'],ot);return _0x2c938d['set']({'label':t('Footnotes\x20start\x20at'),'class':'ck-footnotes-definitions-properties__start-index'}),_0x2c938d['fieldView']['set']({'min':0x0,'max':Math['pow'](0x2,0x1e),'step':0x1,'value':0x1,'inputMode':'numeric'}),_0x2c938d['fieldView']['on']('input',()=>{const _0x4b0f94=_0x2c938d['fieldView']['element'],_0x2d280d=_0x4b0f94['valueAsNumber'];Number['isNaN'](_0x2d280d)?_0x2c938d['errorText']=t('Invalid\x20footnotes\x20start\x20index\x20value.'):_0x4b0f94['checkValidity']()?this['fire']('footnotesListStart',{'startIndex':_0x2d280d}):_0x2c938d['errorText']=t(_0x2d280d<0x0?'Footnotes\x20start\x20index\x20must\x20be\x20greater\x20than\x200.':'Footnotes\x20start\x20index\x20is\x20too\x20large.');}),_0x2c938d;}}class j extends _0x33f338{static get['pluginName'](){return'FootnotesPropertiesUI';}static get['requires'](){return[_0x5cd06c,_0x298294];}static get['isOfficialPlugin'](){return!0x0;}static get['isPremiumPlugin'](){return!0x0;}['init'](){const {editor:_0x58fe4d}=this,{componentFactory:_0x335928}=_0x58fe4d['ui'];_0x58fe4d['config']['define']('footnotes.footnotesProperties.toolbar',['footnotesStyle']),_0x335928['add']('footnotesStyle',function(_0x2e4424){return _0xf7a532=>{const {t:t}=_0xf7a532,_0xbbfc3d=_0x2e4424['commands']['get']('footnotesStyle'),_0x5c3a55=_0x945a55(_0xf7a532),{buttonView:_0x4ec479}=_0x5c3a55;return _0x5c3a55['class']='ck-footnotes-styles-dropdown',_0x5c3a55['bind']('isEnabled')['to'](_0xbbfc3d,'isEnabled'),_0x4ec479['set']({'label':t('Footnotes\x20style'),'icon':_0x317f87,'tooltip':!0x0}),_0x5c3a55['once']('change:isOpen',()=>{const _0x3a2417=function({editor:_0x262616,dropdownView:_0x4f705b}){const {t:t}=_0x262616['locale'],_0x41d877=t('Footnotes\x20definitions\x20styles'),_0x24a422=function(_0x40d011){const t=_0x40d011['locale']['t'],_0x3098be=[{'label':t('Toggle\x20the\x20decimal\x20footnotes\x20style'),'tooltip':t('Decimal\x20footnotes'),'style':'decimal','icon':_0x71874c},{'label':t('Toggle\x20the\x20decimal\x20with\x20leading\x20zero\x20footnotes\x20style'),'tooltip':t('Decimal\x20footnotes\x20with\x20leading\x20zero'),'style':'decimal-leading-zero','icon':_0x17fdd6},{'label':t('Toggle\x20the\x20lower–roman\x20footnotes\x20style'),'tooltip':t('Lower–roman\x20footnotes'),'style':'lower-roman','icon':_0x19d412},{'label':t('Toggle\x20the\x20upper–roman\x20footnotes\x20style'),'tooltip':t('Upper-roman\x20footnotes'),'style':'upper-roman','icon':_0x3d9b37},{'label':t('Toggle\x20the\x20lower–latin\x20footnotes\x20style'),'tooltip':t('Lower-latin\x20footnotes'),'style':'lower-latin','icon':_0x108238},{'label':t('Toggle\x20the\x20upper–latin\x20footnotes\x20style'),'tooltip':t('Upper-latin\x20footnotes'),'style':'upper-latin','icon':_0x466849}];return _0x3098be['map'](function(_0x8d5de2){const _0x198ef3=_0x8d5de2['locale'];return({label:_0x20d250,icon:_0x530e7d,tooltip:_0xcf2fd9,style:_0x221662})=>{const _0x1dd4e8=_0x8d5de2['commands']['get']('footnotesStyle'),_0x325e17=new _0x205b9d(_0x198ef3);return _0x325e17['set']({'label':_0x20d250,'icon':_0x530e7d,'tooltip':_0xcf2fd9}),_0x325e17['bind']('isOn')['to'](_0x1dd4e8,'value',_0x10fad7=>_0x10fad7===_0x221662),_0x325e17['bind']('isEnabled')['to'](_0x1dd4e8,'isEnabled'),_0x325e17['on']('execute',()=>{_0x8d5de2['execute']('footnotesStyle',{'value':_0x221662}),_0x8d5de2['editing']['view']['focus']();}),_0x325e17;};}(_0x40d011));}(_0x262616),_0x30f3ba=new $(_0x262616['locale'],{'styleGridAriaLabel':_0x41d877,'styleButtonViews':_0x24a422}),_0x5eca78=_0x262616['commands']['get']('footnotesStart');return _0x30f3ba['startIndexFieldView']['bind']('isEnabled')['to'](_0x5eca78),_0x30f3ba['startIndexFieldView']['fieldView']['bind']('value')['to'](_0x5eca78),_0x30f3ba['on']('footnotesListStart',(_0x352aa0,_0x243874)=>{_0x262616['execute']('footnotesStart',{'value':_0x243874['startIndex']});}),_0x30f3ba['delegate']('execute')['to'](_0x4f705b),_0x30f3ba;}({'editor':_0x2e4424,'dropdownView':_0x5c3a55});_0x5c3a55['panelView']['children']['add'](_0x3a2417);}),_0x5c3a55;};}(_0x58fe4d));}['afterInit'](){const {editor:_0x1cde39}=this,{t:t}=_0x1cde39['locale'],_0x36890c=_0x1cde39['plugins']['get'](_0x298294),{defaultPositions:_0x3818f8}=_0x4a808e;_0x36890c['register']('footnotesDefinitions',{'ariaLabel':t('Footnotes\x20definitions\x20toolbar'),'items':_0x1cde39['config']['get']('footnotes.footnotesProperties.toolbar'),'balloonClassName':'ck-footnotes-style-balloon\x20ck-toolbar-container','getRelatedElement':_0x519dae=>{let _0x1a62ff=_0x519dae['getFirstPosition']()?.['parent'];return _0x1a62ff?.['is']('$text')&&(_0x1a62ff=_0x1a62ff['parent']),_0x1a62ff?.['is']('element')?_0x1a62ff['findAncestor'](H):null;},'positions':[_0x3818f8['southArrowNorth'],_0x3818f8['southArrowNorthMiddleWest'],_0x3818f8['southArrowNorthMiddleEast'],_0x3818f8['southArrowNorthWest'],_0x3818f8['southArrowNorthEast'],_0x3818f8['northArrowSouth'],_0x3818f8['northArrowSouthMiddleWest'],_0x3818f8['northArrowSouthMiddleEast'],_0x3818f8['northArrowSouthWest'],_0x3818f8['northArrowSouthEast'],_0x3818f8['viewportStickyNorth']]});}}class ft extends _0x33f338{static get['pluginName'](){return'FootnotesProperties';}static get['requires'](){return[P,j];}static get['isOfficialPlugin'](){return!0x0;}static get['isPremiumPlugin'](){return!0x0;}}export{lt as Footnotes,e as FootnotesClipboard,r as FootnotesEditing,ft as FootnotesProperties,P as FootnotesPropertiesEditing,j as FootnotesPropertiesUI,C as FootnotesStartCommand,S as FootnotesStyleCommand,f as FootnotesTracker,i as FootnotesUI,h as InsertFootnoteCommand};
23
+ import{Plugin as _0xc7f63b,Command as _0x13958d}from'@ckeditor/ckeditor5-core/dist/index.js';import{toWidget as _0x49bc24,isWidget as _0x34f8f3,toWidgetEditable as _0x452896,WidgetToolbarRepository as _0x5e5ac2}from'@ckeditor/ckeditor5-widget/dist/index.js';import{uid as _0x5bfbcd,logWarning as _0x4685e1,FocusTracker as rt,KeystrokeHandler as nt,global as at}from'@ckeditor/ckeditor5-utils/dist/index.js';import{PointerObserver as _0x1b61a6,ClickObserver as _0x480d34}from'@ckeditor/ckeditor5-engine/dist/index.js';import{ClipboardPipeline as _0x422a37}from'@ckeditor/ckeditor5-clipboard/dist/index.js';import{MenuBarMenuListItemButtonView as _0x3b4fc0,ButtonView as _0x2db5b5,View as _0x5f09d0,ViewCollection as _0x1959fc,FocusCycler as tt,addKeyboardHandlingForGrid as st,CollapsibleView as it,LabeledFieldView as et,createLabeledInputNumber as ot,ContextualBalloon as _0x57252f,BalloonPanelView as _0x2596a5,createDropdown as _0x499324}from'@ckeditor/ckeditor5-ui/dist/index.js';import{IconFootnote as _0x319d7d,IconListStyleDecimal as _0x4a8bd5,IconListStyleDecimalLeadingZero as _0x3a1276,IconListStyleLowerRoman as _0xad7cae,IconListStyleUpperRoman as _0x2b6f24,IconListStyleLowerLatin as _0x1b7c59,IconListStyleUpperLatin as _0x15df0c}from'@ckeditor/ckeditor5-icons/dist/index.js';class F{['_model'];['_elementName'];['_getElementKey'];['_trackedElements']=new Map();constructor(_0x17e783,_0x558ca6){this['_model']=_0x17e783,this['_elementName']=_0x558ca6['elementName'],this['_getElementKey']=_0x558ca6['getElementKey'];}['reset'](){this['_trackedElements']['clear']();}['getChanges'](_0x42bd29){const _0x2eaf42=new Set(),_0x4355b5=new Map();for(const _0x23f183 of _0x42bd29){if('insert'===_0x23f183['type']&&'$text'!==_0x23f183['name']&&_0x23f183['position']['nodeAfter']){const _0x1cb366=this['_model']['createRangeOn'](_0x23f183['position']['nodeAfter']);for(const _0x1536c3 of _0x1cb366['getItems']()){if(!_0x1536c3['is']('element',this['_elementName']))continue;const _0x2cd74d=this['_getElementKey'](_0x1536c3);_0x4355b5['has'](_0x2cd74d)||_0x4355b5['set'](_0x2cd74d,[]),_0x4355b5['get'](_0x2cd74d)['push'](_0x1536c3);}}if('remove'===_0x23f183['type']&&_0x23f183['name']===this['_elementName']){const _0x23d2af=this['_getElementKey']({'getAttribute':_0x153ce9=>_0x23f183['attributes']['get'](_0x153ce9)});_0x2eaf42['add'](_0x23d2af);}}for(const [_0x4da4f2,_0x4e5686]of this['_trackedElements'])'$graveyard'===_0x4e5686['root']['rootName']&&_0x2eaf42['add'](_0x4da4f2);for(const _0x8e5475 of _0x2eaf42)this['_trackedElements']['delete'](_0x8e5475);for(const [_0x25942e,_0x2caab5]of _0x4355b5)this['_trackedElements']['set'](_0x25942e,_0x2caab5[_0x2caab5['length']-0x1]);const _0x80132e=new Set();for(const [_0x2d1d04,_0x4e7523]of _0x4355b5)_0x2eaf42['has'](_0x2d1d04)&&(_0x80132e['add'](_0x4e7523[0x0]),_0x4e7523['length']>0x1?_0x4355b5['set'](_0x2d1d04,_0x4e7523['slice'](0x1)):_0x4355b5['delete'](_0x2d1d04),_0x2eaf42['delete'](_0x2d1d04));return{'removed':Array['from'](_0x2eaf42),'inserted':Array['from'](_0x4355b5['values']())['flat'](),'moved':Array['from'](_0x80132e)};}}class f extends _0xc7f63b{['_footnotes']=[];['_footnotesDefinitions']=null;['_footnoteFormatter']=null;['_footnoteDefsContainerTracker'];['_footnoteRefsTracker'];['_footnoteDefsTracker'];static get['pluginName'](){return'FootnotesTracker';}static get['isOfficialPlugin'](){return!0x0;}static get['isPremiumPlugin'](){return!0x0;}constructor(_0x4e27a3){super(_0x4e27a3),this['_footnoteDefsContainerTracker']=new F(this['editor']['model'],{'elementName':'footnotesDefinitions','getElementKey':()=>'singleton'}),this['_footnoteRefsTracker']=new F(this['editor']['model'],{'elementName':'footnoteRef','getElementKey':_0x36c9bf=>_0x36c9bf['getAttribute']('footnoteId')}),this['_footnoteDefsTracker']=new F(this['editor']['model'],{'elementName':'footnoteDefinition','getElementKey':_0x55e457=>_0x55e457['getAttribute']('footnoteId')});}['init'](){const {editor:_0x27b4fb}=this,{model:_0x22fb88,data:_0x10f0a2}=_0x27b4fb;_0x22fb88['document']['registerPostFixer'](_0x150f04=>{const _0x23ad4f=_0x22fb88['document']['differ']['getChanges']();let _0x2a8d4a=!0x1;return this['_handleFootnotesDefinitionsObjectChanges'](_0x150f04,_0x23ad4f)&&(_0x2a8d4a=!0x0),this['_handleFootnoteDefinitionsChanges'](_0x150f04,_0x23ad4f)&&(_0x2a8d4a=!0x0),this['_handleFootnoteReferencesChanges'](_0x150f04,_0x23ad4f)&&(_0x2a8d4a=!0x0),this['_ensureFootnotesReferencesHaveProperOrder'](_0x150f04)&&(_0x2a8d4a=!0x0),this['_handleFootnotesDefinitionsObjectSync'](_0x150f04)&&(_0x2a8d4a=!0x0),this['_sortFootnoteDefinitions'](_0x150f04)&&(_0x2a8d4a=!0x0),_0x2a8d4a;}),this['listenTo'](_0x22fb88['document'],'change:data',()=>{_0x22fb88['enqueueChange']({'isUndoable':!0x1},_0x440f69=>{this['_ensureFootnotesDefinitionsContainerExists'](_0x440f69);});},{'priority':'low'}),this['listenTo'](_0x10f0a2,'set',()=>{this['_footnotes']=[],this['_footnoteDefsContainerTracker']['reset'](),this['_footnoteRefsTracker']['reset'](),this['_footnoteDefsTracker']['reset']();},{'priority':'high'});}['getFootnotesDefinitionsObjectElement'](){return this['_footnotesDefinitions'];}['getFootnote'](_0x26c4f1){return this['_footnotes']['find'](_0x26519f=>_0x26519f['id']===_0x26c4f1)||null;}['getFootnotes'](){return Array['from'](this['_footnotes']);}['getFootnotesFormatter'](){return this['_footnoteFormatter'];}['setFootnoteFormatter'](_0x32b812){this['_footnoteFormatter']=_0x32b812;}['_updateFootnotesCounters'](_0x410cf8,_0x17685f=0x0){let _0x4e2932=!0x1;for(let _0x21df24=_0x17685f;_0x21df24<this['_footnotes']['length'];_0x21df24++)this['_updateFootnoteRefCounter'](_0x410cf8,_0x21df24)&&(_0x4e2932=!0x0);return _0x4e2932;}['_insertEmptyFootnotesDefinitionsContainer'](_0x125f77,_0x45db48){const _0x197462=_0x125f77['createElement']('footnotesDefinitions',{});return _0x125f77['append'](_0x197462,_0x45db48),this['_footnotesDefinitions']=_0x197462,_0x197462;}['_ensureFootnotesDefinitionsContainerExists'](_0x3fa342){if(!this['_footnotes']['length']||this['_footnotesDefinitions'])return;const _0xcb2ff3=this['_footnotes'][0x0]['reference']['root'],_0x472623=this['_insertEmptyFootnotesDefinitionsContainer'](_0x3fa342,_0xcb2ff3);for(const _0x3052fc of this['_footnotes'])_0x3052fc['definition']['parent']||_0x3fa342['insert'](_0x3052fc['definition'],_0x472623,'end');this['_updateFootnotesCounters'](_0x3fa342);}['_handleFootnotesDefinitionsObjectChanges'](_0x34b8c9,_0x13fe4e){let _0x584c14=!0x1;const {inserted:_0xc04d1d,removed:_0x4f60a4,moved:_0x5bea75}=this['_footnoteDefsContainerTracker']['getChanges'](_0x13fe4e);if(_0x5bea75['length']&&(this['_footnotesDefinitions']=_0x5bea75[0x0]),_0xc04d1d['length']){if(_0xc04d1d['length']>0x1||this['_footnotesDefinitions']&&_0xc04d1d['some'](_0x2b72c8=>_0x2b72c8!==this['_footnotesDefinitions'])){const _0x1a307b=_0x34b8c9['createElement']('footnotesDefinitions',{}),_0x5a0f80=[];this['_footnotesDefinitions']&&_0x5a0f80['push'](this['_footnotesDefinitions']),_0x5a0f80['push'](..._0xc04d1d),_0x34b8c9['insert'](_0x1a307b,_0x5a0f80[0x0],'before');for(const _0x4a3066 of _0x5a0f80)_0x34b8c9['move'](_0x34b8c9['createRangeIn'](_0x4a3066),_0x34b8c9['createPositionAt'](_0x1a307b,'end')),_0x34b8c9['remove'](_0x4a3066);this['_footnotesDefinitions']=_0x1a307b,this['_updateFootnotesCounters'](_0x34b8c9),_0x584c14=!0x0;}else this['_footnotesDefinitions']=_0xc04d1d[0x0];}if(_0x4f60a4['length']&&'$graveyard'===this['_footnotesDefinitions']?.['root']['rootName']){for(const _0x5626ca of this['_footnotes'])_0x34b8c9['remove'](_0x5626ca['reference']),_0x584c14=!0x0;this['_footnotes']=[],this['_footnotesDefinitions']=null;}return _0x584c14;}['_handleFootnoteDefinitionsChanges'](_0x177d5f,_0x14dec9){let _0x47259f=!0x1;const _0x4901ca=this['editor']['config']['get']('footnotes.multiBlock'),{inserted:_0x44af0c,moved:_0x5b8450}=this['_footnoteDefsTracker']['getChanges'](_0x14dec9);for(const _0x331deb of[..._0x5b8450,..._0x44af0c]){const _0x55b375=_0x331deb['getAttribute']('footnoteId'),_0x3a09c6=this['getFootnote'](_0x55b375);_0x3a09c6&&(_0x3a09c6['definition']=_0x331deb),_(_0x177d5f,_0x4901ca,_0x331deb)&&(_0x47259f=!0x0);}return _0x47259f;}['_handleFootnoteReferencesChanges'](_0x84c32e,_0x202df2){let _0x47cb54=!0x1;const {removed:_0x1d51b2,inserted:_0x2af505,moved:_0x59fd38}=this['_footnoteRefsTracker']['getChanges'](_0x202df2);for(const _0x56c59a of _0x1d51b2)this['_handleRemoveFootnoteReferenceById'](_0x84c32e,_0x56c59a)&&(_0x47cb54=!0x0);for(const _0x486b38 of _0x2af505)this['_handleInsertedFootnoteReference'](_0x84c32e,_0x486b38)&&(_0x47cb54=!0x0);for(const _0xe70480 of _0x59fd38)this['_handleMovedFootnoteReference'](_0x84c32e,_0xe70480)&&(_0x47cb54=!0x0);return _0x47cb54;}['_handleFootnotesDefinitionsObjectSync'](_0x55b4cc){if(!this['_footnotesDefinitions'])return!0x1;let _0x45008f=!0x1;if(this['_footnotesDefinitions']['childCount']!==this['_footnotes']['length']){const _0x49ceec=[];for(const _0x114335 of this['_footnotesDefinitions']['getChildren']()){const _0x4b19f0=_0x114335['getAttribute']('footnoteId');this['getFootnote'](_0x4b19f0)||(_0x49ceec['unshift'](_0x114335),_0x45008f=!0x0);}for(const _0x388b19 of _0x49ceec)_0x55b4cc['remove'](_0x388b19);}const _0x4877fa=new Set(),_0x15d9b1=[];for(const _0x2d5fdd of this['_footnotesDefinitions']['getChildren']()){const _0x5270ec=_0x2d5fdd['getAttribute']('footnoteId');_0x4877fa['has'](_0x5270ec)?(_0x15d9b1['unshift'](_0x2d5fdd),_0x45008f=!0x0):_0x4877fa['add'](_0x5270ec);}for(const _0x35b978 of _0x15d9b1)_0x55b4cc['remove'](_0x35b978);return this['_footnotesDefinitions']['childCount']||(_0x55b4cc['remove'](this['_footnotesDefinitions']),this['_footnotesDefinitions']=null,_0x45008f=!0x0),_0x45008f;}['_handleInsertedFootnoteReference'](_0x1589e0,_0x5ab5e7){if(this['_footnotes']['find'](_0x31938c=>_0x31938c['reference']===_0x5ab5e7))return!0x1;let _0x1942d4=!0x1;const _0x38016d=_0x5ab5e7['getAttribute']('footnoteId'),_0x590aac=this['_footnotes']['findIndex'](_0x1a0f6f=>_0x1a0f6f['id']===_0x38016d);-0x1!==_0x590aac&&(_0x1589e0['remove'](this['_footnotes'][_0x590aac]['reference']),this['_footnotes']['splice'](_0x590aac,0x1),_0x1942d4=!0x0);let _0x38d065=this['_footnotesDefinitions']?function(_0x4a5d99,_0x2f0e13){for(const _0xbf2f86 of _0x4a5d99['getChildren']())if(_0xbf2f86['getAttribute']('footnoteId')===_0x2f0e13)return _0xbf2f86;return null;}(this['_footnotesDefinitions'],_0x38016d):null;_0x38d065||(_0x38d065=_0x1589e0['createElement']('footnoteDefinition',{'footnoteId':_0x38016d}),this['_footnotesDefinitions']&&(_0x1589e0['insert'](_0x38d065,this['_footnotesDefinitions'],'end'),_0x1942d4=!0x0));const _0x5af934={'id':_0x38016d,'reference':_0x5ab5e7,'definition':_0x38d065},_0x2d224e=I(this['editor']['model'],this['_footnotes'],_0x5ab5e7);this['_footnotes']['splice'](_0x2d224e,0x0,_0x5af934);let _0x4502e8=_0x2d224e;return-0x1!==_0x590aac&&(_0x4502e8=Math['min'](_0x2d224e,_0x590aac)),this['_updateFootnotesCounters'](_0x1589e0,_0x4502e8)&&(_0x1942d4=!0x0),_0x1942d4;}['_handleRemoveFootnoteReferenceById'](_0x15048b,_0xb72dbb){const _0x5179b0=this['_footnotes']['findIndex'](_0x5ad4ea=>_0x5ad4ea['id']===_0xb72dbb);if(-0x1===_0x5179b0)return!0x1;let _0x1b23e1=!0x1;const _0x33d088=this['_footnotes'][_0x5179b0];return'$graveyard'!==_0x33d088['definition']['root']['rootName']&&(_0x15048b['remove'](_0x33d088['definition']),_0x1b23e1=!0x0),this['_footnotes']['splice'](_0x5179b0,0x1),this['_updateFootnotesCounters'](_0x15048b,_0x5179b0)&&(_0x1b23e1=!0x0),_0x1b23e1;}['_handleMovedFootnoteReference'](_0x483dcd,_0x48afb4){const _0x4fa033=_0x48afb4['getAttribute']('footnoteId'),_0x3a5f00=this['_footnotes']['findIndex'](_0x2dcf10=>_0x2dcf10['id']===_0x4fa033),_0x57dbb3=this['_footnotes'][_0x3a5f00];let _0x101f8a=!0x1;_0x57dbb3['reference']=_0x48afb4,this['_footnotes']['splice'](_0x3a5f00,0x1);const _0x7f0031=I(this['editor']['model'],this['_footnotes'],_0x48afb4);return this['_footnotes']['splice'](_0x7f0031,0x0,_0x57dbb3),this['_updateFootnotesCounters'](_0x483dcd,Math['min'](_0x3a5f00,_0x7f0031))&&(_0x101f8a=!0x0),_0x101f8a;}['_updateFootnoteRefCounter'](_0x432f85,_0x29c632){if(!this['_footnotesDefinitions'])return!0x1;const _0x24ada1=this['_footnotes'][_0x29c632];let _0x443c7a;return _0x443c7a=this['_footnoteFormatter']?this['_footnoteFormatter']({'footnote':_0x24ada1,'container':this['_footnotesDefinitions'],'digits':String(this['_footnotes']['length'])['length'],'value':_0x29c632+0x1}):String(_0x29c632+0x1),_0x24ada1['reference']['getAttribute']('footnoteCounter')!=_0x443c7a&&(_0x432f85['setAttribute']('footnoteCounter',_0x443c7a,_0x24ada1['reference']),!0x0);}['_sortFootnoteDefinitions'](_0x507fd4){if(!this['_footnotesDefinitions']||this['_footnotes']['length']<0x2)return!0x1;if(function(_0x3c7752,_0xd3bcca){if(_0x3c7752['length']!==_0xd3bcca['length'])return!0x1;for(let _0x23d149=0x0;_0x23d149<_0x3c7752['length'];_0x23d149++)if(_0x3c7752[_0x23d149]!==_0xd3bcca[_0x23d149])return!0x1;return!0x0;}(this['_footnotes']['map'](_0x4c98e1=>_0x4c98e1['id']),Array['from'](this['_footnotesDefinitions']['getChildren']())['map'](_0x388107=>_0x388107['getAttribute']('footnoteId'))))return!0x1;let _0x332ae4=!0x1;for(let _0x107861=0x0;_0x107861<this['_footnotes']['length'];_0x107861++){const _0x4e2b0d=this['_footnotes'][_0x107861],_0x42ef9d=_0x507fd4['createPositionBefore'](_0x4e2b0d['definition']),_0x15dd38=_0x507fd4['createPositionAt'](this['_footnotesDefinitions'],_0x107861);_0x42ef9d['isEqual'](_0x15dd38)||(_0x507fd4['move'](_0x507fd4['createRangeOn'](_0x4e2b0d['definition']),_0x15dd38),_0x332ae4=!0x0);}return _0x332ae4;}['_ensureFootnotesReferencesHaveProperOrder'](_0x567d06){if(!this['_footnotes']['length'])return!0x1;const {model:_0x48b90d}=this['editor'];let _0x2604a2=!0x1;for(let _0x4d0d44=0x0;_0x4d0d44<this['_footnotes']['length']-0x1;_0x4d0d44++){const _0x4f36a1=this['_footnotes'][_0x4d0d44],_0x166c63=this['_footnotes'][_0x4d0d44+0x1],_0x458676=_0x48b90d['createPositionBefore'](_0x4f36a1['reference']),_0x3e82ef=_0x48b90d['createPositionBefore'](_0x166c63['reference']);'after'===_0x458676['compareWith'](_0x3e82ef)&&(this['_handleMovedFootnoteReference'](_0x567d06,_0x4f36a1['reference']),_0x4d0d44=-0x1,_0x2604a2=!0x0);}return _0x2604a2;}}function _(_0x460fd5,_0x4a7cdd,_0x1ade44){if(_0x1ade44['childCount'])return!0x1;const _0x517a8f=_0x4a7cdd?'paragraph':'footnoteInlineContent';return _0x460fd5['insert'](_0x460fd5['createElement'](_0x517a8f),_0x1ade44),!0x0;}function I(_0x2fae08,_0x400576,_0x5f3dcb){if(0x0===_0x400576['length'])return 0x0;const _0x404e00=_0x2fae08['createPositionBefore'](_0x5f3dcb);for(let _0x4b383b=0x0;_0x4b383b<_0x400576['length'];_0x4b383b++){const _0x1a6bcb=_0x400576[_0x4b383b],_0x34da39=_0x2fae08['createPositionBefore'](_0x1a6bcb['reference']);if('before'===_0x404e00['compareWith'](_0x34da39))return _0x4b383b;}const _0xc1afef=_0x5f3dcb['root'];let _0x462eb9=-0x1;for(let _0x40cd0e=_0x400576['length']-0x1;_0x40cd0e>=0x0;_0x40cd0e--)if(_0x400576[_0x40cd0e]['reference']['root']===_0xc1afef){_0x462eb9=_0x40cd0e;break;}if(-0x1!==_0x462eb9)return _0x462eb9+0x1;const _0x204a17=_0x2fae08['document']['getRootNames'](),_0x59ce72=_0x204a17['indexOf'](_0xc1afef['rootName']),_0x59d256=_0x204a17[_0x59ce72+0x1];if(_0x59d256){for(let _0x273bf0=0x0;_0x273bf0<_0x400576['length'];_0x273bf0++)if(_0x400576[_0x273bf0]['reference']['root']['rootName']===_0x59d256)return _0x273bf0;}return _0x400576['length'];}class h extends _0x13958d{['refresh'](){const _0x3741c5=this['editor']['model']['document']['selection'],_0x1de19c=this['_getPositionToInsertFootnote'](_0x3741c5);this['isEnabled']=!!_0x1de19c;}['execute'](_0x5b7cb6){const {editor:_0x1a0eb6}=this,{model:_0x252a24}=_0x1a0eb6,{selection:_0x56a4b9}=_0x252a24['document'],_0x408445=this['_getPositionToInsertFootnote'](_0x56a4b9);if(!_0x408445)return;const _0x2cabd2=_0x1a0eb6['plugins']['get']('FootnotesEditing'),_0x479358=_0x5b7cb6?.['footnoteId']??_0x5bfbcd();!function(_0x111f21){return'string'==typeof _0x111f21&&_0x111f21['length']>0x0&&!/\s/['test'](_0x111f21)&&!/^\d/['test'](_0x111f21);}(_0x479358)?_0x4685e1('insert-footnote-command-executed-with-invalid-id'):(_0x252a24['change'](_0x36099a=>{const _0x50e7ed=_0x36099a['createElement']('footnoteRef',{'footnoteId':_0x479358});_0x252a24['insertObject'](_0x50e7ed,_0x408445,null);}),_0x2cabd2['_moveSelectionToFootnoteDefinition'](_0x479358));}['_getPositionToInsertFootnote'](_0x1e2f56){const {model:_0x1c8806}=this['editor'],{schema:_0x13a65e}=_0x1c8806,_0x5af4a5=_0x1e2f56['getFirstRange']();for(const _0x4a2aa2 of _0x5af4a5['getItems']())if(_0x13a65e['isBlock'](_0x4a2aa2)||_0x13a65e['isObject'](_0x4a2aa2))return null;const _0x1e02c4=_0x5af4a5['end'];return _0x13a65e['checkChild'](_0x1e02c4,'footnoteRef')?_0x1e02c4:null;}}class r extends _0xc7f63b{static get['pluginName'](){return'FootnotesEditing';}static get['requires'](){return[f];}static get['isOfficialPlugin'](){return!0x0;}static get['isPremiumPlugin'](){return!0x0;}['init'](){const {editor:_0xa8921a}=this;_0xa8921a['config']['define']('footnotes.multiBlock',!0x0),_0xa8921a['commands']['add']('insertFootnote',new h(_0xa8921a)),this['_defineSchema'](),this['_defineRefsConverters'](),this['_defineDefinitionsConverters'](),this['_defineDefinitionConverters'](),this['_defineBogusParagraphConverters'](),this['_defineKeyboardHandlers'](),this['_defineClickHandlers']();}['afterInit'](){!async function(_0x52ac42){const _0x169ed8=_0x275e78([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]),_0x15c025=0x47a28506,_0x63e02a=0x47a5f98e^_0x15c025,_0x2bf3fe=window[_0x275e78([0x44,0x61,0x74,0x65])][_0x275e78([0x6e,0x6f,0x77])](),_0x140f7a=_0x52ac42[_0x275e78([0x65,0x64,0x69,0x74,0x6f,0x72])],_0x19f6f2=new window[(_0x275e78([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0x20ccca=>{_0x140f7a[_0x275e78([0x6f,0x6e,0x63,0x65])](_0x275e78([0x72,0x65,0x61,0x64,0x79]),_0x20ccca);}),_0x387371={[_0x275e78([0x6b,0x74,0x79])]:_0x275e78([0x45,0x43]),[_0x275e78([0x75,0x73,0x65])]:_0x275e78([0x73,0x69,0x67]),[_0x275e78([0x63,0x72,0x76])]:_0x275e78([0x50,0x2d,0x32,0x35,0x36]),[_0x275e78([0x78])]:_0x275e78([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]),[_0x275e78([0x79])]:_0x275e78([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]),[_0x275e78([0x61,0x6c,0x67])]:_0x275e78([0x45,0x53,0x32,0x35,0x36])},_0x4acea4=_0x140f7a[_0x275e78([0x63,0x6f,0x6e,0x66,0x69,0x67])][_0x275e78([0x67,0x65,0x74])](_0x275e78([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x4b,0x65,0x79]));async function _0x1ce1eb(){let _0x1f1e2d,_0x1efa58=null,_0x1f6115=null;try{if(_0x4acea4==_0x275e78([0x47,0x50,0x4c]))return _0x275e78([0x4e,0x6f,0x74,0x41,0x6c,0x6c,0x6f,0x77,0x65,0x64]);if(_0x1f1e2d=_0x35503c(),!_0x1f1e2d)return _0x275e78([0x49,0x6e,0x76,0x61,0x6c,0x69,0x64]);return _0x1f1e2d[_0x275e78([0x75,0x73,0x61,0x67,0x65,0x45,0x6e,0x64,0x70,0x6f,0x69,0x6e,0x74])]&&(_0x1f6115=_0x5c3a8c(_0x1f1e2d[_0x275e78([0x75,0x73,0x61,0x67,0x65,0x45,0x6e,0x64,0x70,0x6f,0x69,0x6e,0x74])],_0x1f1e2d[_0x275e78([0x6a,0x74,0x69])])),await _0x21b6b1()?_0x5e1275()?_0x46ad04()?_0x275e78([0x45,0x78,0x70,0x69,0x72,0x65,0x64]):_0x3bb5dc()?(_0x1f1e2d[_0x275e78([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x54,0x79,0x70,0x65])]==_0x275e78([0x65,0x76,0x61,0x6c,0x75,0x61,0x74,0x69,0x6f,0x6e])&&(_0x1efa58=_0x4fedc1(_0x275e78([0x45,0x76,0x61,0x6c,0x75,0x61,0x74,0x69,0x6f,0x6e,0x4c,0x69,0x6d,0x69,0x74]))),_0x1f1e2d[_0x275e78([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x54,0x79,0x70,0x65])]==_0x275e78([0x74,0x72,0x69,0x61,0x6c])&&(_0x1efa58=_0x4fedc1(_0x275e78([0x54,0x72,0x69,0x61,0x6c,0x4c,0x69,0x6d,0x69,0x74]))),await _0x5e5f6d()):_0x275e78([0x44,0x6f,0x6d,0x61,0x69,0x6e,0x4c,0x69,0x6d,0x69,0x74]):_0x275e78([0x4e,0x6f,0x74,0x41,0x6c,0x6c,0x6f,0x77,0x65,0x64]):_0x275e78([0x49,0x6e,0x76,0x61,0x6c,0x69,0x64]);}catch{return _0x275e78([0x49,0x6e,0x76,0x61,0x6c,0x69,0x64]);}function _0x46ad04(){const _0x4720bb=[_0x275e78([0x65,0x76,0x61,0x6c,0x75,0x61,0x74,0x69,0x6f,0x6e]),_0x275e78([0x74,0x72,0x69,0x61,0x6c])][_0x275e78([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x1f1e2d[_0x275e78([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x54,0x79,0x70,0x65])])?_0x2bf3fe/0x3e8:0xe10*_0x63e02a;return _0x1f1e2d[_0x275e78([0x65,0x78,0x70])]<_0x4720bb;}function _0x5e1275(){const _0x184afc=_0x1f1e2d[_0x275e78([0x66,0x65,0x61,0x74,0x75,0x72,0x65,0x73])];return!!_0x184afc&&(!!_0x184afc[_0x275e78([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x275e78([0x2a]))||!!_0x184afc[_0x275e78([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x275e78([0x46,0x4f,0x4f])));}function _0x3bb5dc(){const _0x49a2d3=_0x1f1e2d[_0x275e78([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x64,0x48,0x6f,0x73,0x74,0x73])];if(!_0x49a2d3||0x0==_0x49a2d3[_0x275e78([0x6c,0x65,0x6e,0x67,0x74,0x68])])return!0x0;const {hostname:_0x296b29}=new URL(window[_0x275e78([0x6c,0x6f,0x63,0x61,0x74,0x69,0x6f,0x6e])]['href']);if(_0x49a2d3[_0x275e78([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x296b29))return!0x0;const _0x39c6ca=_0x296b29[_0x275e78([0x73,0x70,0x6c,0x69,0x74])](_0x275e78([0x2e]));return _0x49a2d3[_0x275e78([0x66,0x69,0x6c,0x74,0x65,0x72])](_0x464290=>_0x464290[_0x275e78([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x275e78([0x2a])))[_0x275e78([0x6d,0x61,0x70])](_0xf6c4a0=>_0xf6c4a0[_0x275e78([0x73,0x70,0x6c,0x69,0x74])](_0x275e78([0x2e])))[_0x275e78([0x66,0x69,0x6c,0x74,0x65,0x72])](_0x34ad61=>_0x34ad61[_0x275e78([0x6c,0x65,0x6e,0x67,0x74,0x68])]<=_0x39c6ca[_0x275e78([0x6c,0x65,0x6e,0x67,0x74,0x68])])[_0x275e78([0x6d,0x61,0x70])](_0x46a047=>Array(_0x39c6ca[_0x275e78([0x6c,0x65,0x6e,0x67,0x74,0x68])]-_0x46a047[_0x275e78([0x6c,0x65,0x6e,0x67,0x74,0x68])])[_0x275e78([0x66,0x69,0x6c,0x6c])](_0x46a047[0x0]===_0x275e78([0x2a])?_0x275e78([0x2a]):'')[_0x275e78([0x63,0x6f,0x6e,0x63,0x61,0x74])](_0x46a047))[_0x275e78([0x73,0x6f,0x6d,0x65])](_0x2b7494=>_0x39c6ca[_0x275e78([0x65,0x76,0x65,0x72,0x79])]((_0x5b1596,_0x23f5c3)=>_0x2b7494[_0x23f5c3]===_0x5b1596||_0x2b7494[_0x23f5c3]===_0x275e78([0x2a])));}function _0x5e5f6d(){return _0x1efa58&&_0x1f6115?new window[(_0x275e78([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))]((_0x17023d,_0xfafd05)=>{_0x1efa58[_0x275e78([0x74,0x68,0x65,0x6e])](_0x17023d,_0xfafd05),_0x1f6115[_0x275e78([0x74,0x68,0x65,0x6e])](_0x4885ba=>{_0x4885ba!=_0x275e78([0x56,0x61,0x6c,0x69,0x64])&&_0x17023d(_0x4885ba);},_0xfafd05);}):_0x1efa58||_0x1f6115||_0x275e78([0x56,0x61,0x6c,0x69,0x64]);}}function _0x5c3a8c(_0x31baa5,_0x6bf6d1){return new window[(_0x275e78([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0x22eda4=>{if(_0x57218d())return _0x22eda4(_0x275e78([0x56,0x61,0x6c,0x69,0x64]));_0x531f9b(),_0x140f7a[_0x275e78([0x64,0x65,0x63,0x6f,0x72,0x61,0x74,0x65])](_0x275e78([0x5f,0x73,0x65,0x6e,0x64,0x55,0x73,0x61,0x67,0x65,0x52,0x65,0x71,0x75,0x65,0x73,0x74]));let _0x1f5ff9=!0x1;const _0x438be5=_0x5bfbcd();function _0x1badbf(_0x40be83){return!!_0x40be83&&(typeof _0x40be83===_0x275e78([0x6f,0x62,0x6a,0x65,0x63,0x74])||typeof _0x40be83===_0x275e78([0x66,0x75,0x6e,0x63,0x74,0x69,0x6f,0x6e]))&&typeof _0x40be83[_0x275e78([0x74,0x68,0x65,0x6e])]===_0x275e78([0x66,0x75,0x6e,0x63,0x74,0x69,0x6f,0x6e])&&typeof _0x40be83[_0x275e78([0x63,0x61,0x74,0x63,0x68])]===_0x275e78([0x66,0x75,0x6e,0x63,0x74,0x69,0x6f,0x6e]);}function _0x34552b(_0x1a5b05){_0x617f80(_0x1a5b05)[_0x275e78([0x74,0x68,0x65,0x6e])](_0x41ca64=>{if(!_0x41ca64||_0x41ca64[_0x275e78([0x73,0x74,0x61,0x74,0x75,0x73])]!=_0x275e78([0x6f,0x6b]))return _0x275e78([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]);return _0x181b06(_0x26c481(_0x438be5+_0x6bf6d1))!=_0x41ca64[_0x275e78([0x76,0x65,0x72,0x69,0x66,0x69,0x63,0x61,0x74,0x69,0x6f,0x6e])]?_0x275e78([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]):_0x275e78([0x56,0x61,0x6c,0x69,0x64]);})[_0x275e78([0x74,0x68,0x65,0x6e])](_0x4d1c7d=>(_0x5b0bb8(),_0x4d1c7d),()=>{const _0x552f6f=_0x44be5f();return null==_0x552f6f?(_0x5b0bb8(),_0x275e78([0x56,0x61,0x6c,0x69,0x64])):_0x275e78(_0x2bf3fe-_0x552f6f>(0x63ae0106^_0x15c025)?[0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]:[0x56,0x61,0x6c,0x69,0x64]);})[_0x275e78([0x74,0x68,0x65,0x6e])](_0x22eda4)[_0x275e78([0x63,0x61,0x74,0x63,0x68])](()=>{_0x22eda4(_0x275e78([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]));});const _0x304d19=0x47946b86^_0x15c025;function _0x5b0bb8(){const _0x53bafe=_0x275e78([0x6c,0x6c,0x63,0x74,0x2d])+_0x181b06(_0x26c481(_0x31baa5)),_0x83f046=_0x187fa6(_0x181b06(window[_0x275e78([0x4d,0x61,0x74,0x68])][_0x275e78([0x63,0x65,0x69,0x6c])](_0x2bf3fe/_0x304d19)));window[_0x275e78([0x6c,0x6f,0x63,0x61,0x6c,0x53,0x74,0x6f,0x72,0x61,0x67,0x65])][_0x275e78([0x73,0x65,0x74,0x49,0x74,0x65,0x6d])](_0x53bafe,_0x83f046);}function _0x44be5f(){const _0x119488=_0x275e78([0x6c,0x6c,0x63,0x74,0x2d])+_0x181b06(_0x26c481(_0x31baa5)),_0x2569ad=window[_0x275e78([0x6c,0x6f,0x63,0x61,0x6c,0x53,0x74,0x6f,0x72,0x61,0x67,0x65])][_0x275e78([0x67,0x65,0x74,0x49,0x74,0x65,0x6d])](_0x119488);return _0x2569ad?window[_0x275e78([0x70,0x61,0x72,0x73,0x65,0x49,0x6e,0x74])](_0x187fa6(_0x2569ad),0x10)*_0x304d19:null;}function _0x617f80(_0x3a2efe){return new window[(_0x275e78([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))]((_0x16f7d8,_0x3bf649)=>{_0x3a2efe[_0x275e78([0x74,0x68,0x65,0x6e])](_0x16f7d8,_0x3bf649),window[_0x275e78([0x73,0x65,0x74,0x54,0x69,0x6d,0x65,0x6f,0x75,0x74])](_0x3bf649,0x47a351c6^_0x15c025);});}}_0x140f7a[_0x275e78([0x6f,0x6e])](_0x275e78([0x5f,0x73,0x65,0x6e,0x64,0x55,0x73,0x61,0x67,0x65,0x52,0x65,0x71,0x75,0x65,0x73,0x74]),(_0x5c556a,_0x153a69)=>{if(_0x153a69[0x0]!=_0x31baa5)return _0x22eda4(_0x275e78([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]));_0x153a69[0x1]={..._0x153a69[0x1],[_0x275e78([0x72,0x65,0x71,0x75,0x65,0x73,0x74,0x49,0x64])]:_0x438be5};},{[_0x275e78([0x70,0x72,0x69,0x6f,0x72,0x69,0x74,0x79])]:_0x275e78([0x68,0x69,0x67,0x68])}),_0x140f7a[_0x275e78([0x6f,0x6e])](_0x275e78([0x5f,0x73,0x65,0x6e,0x64,0x55,0x73,0x61,0x67,0x65,0x52,0x65,0x71,0x75,0x65,0x73,0x74]),_0x195a83=>{_0x1badbf(_0x195a83[_0x275e78([0x72,0x65,0x74,0x75,0x72,0x6e])])&&(_0x1f5ff9=!0x0,_0x34552b(_0x195a83[_0x275e78([0x72,0x65,0x74,0x75,0x72,0x6e])]));},{[_0x275e78([0x70,0x72,0x69,0x6f,0x72,0x69,0x74,0x79])]:_0x275e78([0x6c,0x6f,0x77])}),_0x19f6f2[_0x275e78([0x74,0x68,0x65,0x6e])](()=>{_0x1f5ff9||_0x22eda4(_0x275e78([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]));});});function _0x57218d(){return _0x140f7a[_0x275e78([0x65,0x64,0x69,0x74,0x69,0x6e,0x67])][_0x275e78([0x76,0x69,0x65,0x77])][_0x275e78([0x5f,0x6f,0x76,0x65,0x72,0x6c,0x61,0x79,0x4d,0x6f,0x64,0x65,0x48,0x69,0x6e,0x74])]==_0x275e78([0x61,0x75,0x74,0x6f]);}function _0x531f9b(){_0x140f7a[_0x275e78([0x65,0x64,0x69,0x74,0x69,0x6e,0x67])][_0x275e78([0x76,0x69,0x65,0x77])][_0x275e78([0x5f,0x6f,0x76,0x65,0x72,0x6c,0x61,0x79,0x4d,0x6f,0x64,0x65,0x48,0x69,0x6e,0x74])]=_0x275e78([0x61,0x75,0x74,0x6f]);}}function _0x4fedc1(_0x2625ae){const _0x16667f=[new window[(_0x275e78([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0x4741d2=>setTimeout(_0x4741d2,0x47abbbca^_0x15c025)),_0x19f6f2[_0x275e78([0x74,0x68,0x65,0x6e])](()=>new window[(_0x275e78([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0x4cbb23=>{let _0x306455=0x0;_0x140f7a[_0x275e78([0x6d,0x6f,0x64,0x65,0x6c])][_0x275e78([0x6f,0x6e])](_0x275e78([0x61,0x70,0x70,0x6c,0x79,0x4f,0x70,0x65,0x72,0x61,0x74,0x69,0x6f,0x6e]),(_0x35673a,_0x5e2257)=>{_0x5e2257[0x0][_0x275e78([0x69,0x73,0x44,0x6f,0x63,0x75,0x6d,0x65,0x6e,0x74,0x4f,0x70,0x65,0x72,0x61,0x74,0x69,0x6f,0x6e])]&&_0x306455++,_0x306455==(0x47a280ee^_0x15c025)&&(_0x4cbb23(),_0x35673a[_0x275e78([0x6f,0x66,0x66])]());});}))];return window[_0x275e78([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65])][_0x275e78([0x72,0x61,0x63,0x65])](_0x16667f)[_0x275e78([0x74,0x68,0x65,0x6e])](()=>_0x2625ae);}async function _0xd67205(){await _0x19f6f2,_0x140f7a[_0x275e78([0x6d,0x6f,0x64,0x65,0x6c])][_0x275e78([0x63,0x68,0x61,0x6e,0x67,0x65])]=_0x1b926f,_0x140f7a[_0x275e78([0x6d,0x6f,0x64,0x65,0x6c])][_0x275e78([0x65,0x6e,0x71,0x75,0x65,0x75,0x65,0x43,0x68,0x61,0x6e,0x67,0x65])]=_0x1b926f,_0x140f7a[_0x275e78([0x65,0x6e,0x61,0x62,0x6c,0x65,0x52,0x65,0x61,0x64,0x4f,0x6e,0x6c,0x79,0x4d,0x6f,0x64,0x65])](_0x275e78([0x6d,0x6f,0x64,0x65,0x6c]));}function _0x59d1df(_0x55cd11){const _0x567fbd=_0x4c4bfd();_0x140f7a[_0x567fbd]=_0x275e78([0x66,0x6f,0x6f,0x74,0x6e,0x6f,0x74,0x65,0x73,0x4c,0x69,0x63,0x65,0x6e,0x73,0x65,0x4b,0x65,0x79])+_0x55cd11,_0x55cd11!=_0x275e78([0x56,0x61,0x6c,0x69,0x64])&&_0xd67205();}function _0x4c4bfd(){const _0x1e4ce2=window[_0x275e78([0x53,0x74,0x72,0x69,0x6e,0x67])](window[_0x275e78([0x70,0x65,0x72,0x66,0x6f,0x72,0x6d,0x61,0x6e,0x63,0x65])][_0x275e78([0x6e,0x6f,0x77])]())[_0x275e78([0x72,0x65,0x70,0x6c,0x61,0x63,0x65])](_0x275e78([0x2e]),'');let _0x5d9622=_0x275e78([0x75]);for(let _0x393658=0x0;_0x393658<_0x1e4ce2[_0x275e78([0x6c,0x65,0x6e,0x67,0x74,0x68])];_0x393658+=0x2){let _0x3bf09f=window[_0x275e78([0x70,0x61,0x72,0x73,0x65,0x49,0x6e,0x74])](_0x1e4ce2[_0x275e78([0x73,0x75,0x62,0x73,0x74,0x72,0x69,0x6e,0x67])](_0x393658,_0x393658+0x2));_0x3bf09f>=_0x169ed8[_0x275e78([0x6c,0x65,0x6e,0x67,0x74,0x68])]&&(_0x3bf09f-=_0x169ed8[_0x275e78([0x6c,0x65,0x6e,0x67,0x74,0x68])]),_0x5d9622+=_0x169ed8[_0x3bf09f];}return _0x5d9622;}function _0x35503c(){const _0x3128ff=_0x4acea4[_0x275e78([0x73,0x70,0x6c,0x69,0x74])](_0x275e78([0x2e]));if(0x3!=_0x3128ff[_0x275e78([0x6c,0x65,0x6e,0x67,0x74,0x68])])return null;return _0x4a1c76(_0x3128ff[0x1]);function _0x4a1c76(_0x53b98d){const _0x173a5c=_0x43357d(_0x53b98d);return _0x173a5c&&_0x54dc94()?_0x173a5c:null;function _0x54dc94(){const _0x5314ab=_0x173a5c[_0x275e78([0x6a,0x74,0x69])],_0x3854aa=window[_0x275e78([0x70,0x61,0x72,0x73,0x65,0x49,0x6e,0x74])](_0x5314ab[_0x275e78([0x73,0x75,0x62,0x73,0x74,0x72,0x69,0x6e,0x67])](_0x5314ab[_0x275e78([0x6c,0x65,0x6e,0x67,0x74,0x68])]-0x8),0x10),_0x44d05a={..._0x173a5c,[_0x275e78([0x6a,0x74,0x69])]:_0x5314ab[_0x275e78([0x73,0x75,0x62,0x73,0x74,0x72,0x69,0x6e,0x67])](0x0,_0x5314ab[_0x275e78([0x6c,0x65,0x6e,0x67,0x74,0x68])]-0x8)};return delete _0x44d05a[_0x275e78([0x76,0x63])],_0x26c481(_0x44d05a)==_0x3854aa;}}}async function _0x21b6b1(){let _0x5dee6a=!0x0;try{const _0x35d558=_0x4acea4[_0x275e78([0x73,0x70,0x6c,0x69,0x74])](_0x275e78([0x2e])),[_0x31102d,_0x18abff,_0x59e5b4]=_0x35d558;return _0x3dee33(_0x31102d),await _0x40e93e(_0x31102d,_0x18abff,_0x59e5b4),_0x5dee6a;}catch{return!0x1;}function _0x3dee33(_0x29d077){const _0x91ca62=_0x43357d(_0x29d077);_0x91ca62&&_0x91ca62[_0x275e78([0x61,0x6c,0x67])]==_0x275e78([0x45,0x53,0x32,0x35,0x36])||(_0x5dee6a=!0x1);}async function _0x40e93e(_0x44ae6b,_0x2ca17f,_0x590dff){const _0x3353a3=window[_0x275e78([0x55,0x69,0x6e,0x74,0x38,0x41,0x72,0x72,0x61,0x79])][_0x275e78([0x66,0x72,0x6f,0x6d])](_0x58c424(_0x590dff),_0x2f80c6=>_0x2f80c6[_0x275e78([0x63,0x68,0x61,0x72,0x43,0x6f,0x64,0x65,0x41,0x74])](0x0)),_0x3b3a41=new window[(_0x275e78([0x54,0x65,0x78,0x74,0x45,0x6e,0x63,0x6f,0x64,0x65,0x72]))]()[_0x275e78([0x65,0x6e,0x63,0x6f,0x64,0x65])](_0x44ae6b+_0x275e78([0x2e])+_0x2ca17f),_0xeef5df=window[_0x275e78([0x63,0x72,0x79,0x70,0x74,0x6f])][_0x275e78([0x73,0x75,0x62,0x74,0x6c,0x65])];if(!_0xeef5df)return;const _0x4c8d7d=await _0xeef5df[_0x275e78([0x69,0x6d,0x70,0x6f,0x72,0x74,0x4b,0x65,0x79])](_0x275e78([0x6a,0x77,0x6b]),_0x387371,{[_0x275e78([0x6e,0x61,0x6d,0x65])]:_0x275e78([0x45,0x43,0x44,0x53,0x41]),[_0x275e78([0x6e,0x61,0x6d,0x65,0x64,0x43,0x75,0x72,0x76,0x65])]:_0x275e78([0x50,0x2d,0x32,0x35,0x36])},!0x1,[_0x275e78([0x76,0x65,0x72,0x69,0x66,0x79])]);await _0xeef5df[_0x275e78([0x76,0x65,0x72,0x69,0x66,0x79])]({[_0x275e78([0x6e,0x61,0x6d,0x65])]:_0x275e78([0x45,0x43,0x44,0x53,0x41]),[_0x275e78([0x68,0x61,0x73,0x68])]:{[_0x275e78([0x6e,0x61,0x6d,0x65])]:_0x275e78([0x53,0x48,0x41,0x2d,0x32,0x35,0x36])}},_0x4c8d7d,_0x3353a3,_0x3b3a41)||(_0x5dee6a=!0x1);}}function _0x43357d(_0x392d3f){return _0x392d3f[_0x275e78([0x73,0x74,0x61,0x72,0x74,0x73,0x57,0x69,0x74,0x68])](_0x275e78([0x65,0x79]))?JSON[_0x275e78([0x70,0x61,0x72,0x73,0x65])](_0x58c424(_0x392d3f)):null;}function _0x58c424(_0x31e407){return window[_0x275e78([0x61,0x74,0x6f,0x62])](_0x31e407[_0x275e78([0x72,0x65,0x70,0x6c,0x61,0x63,0x65])](/-/g,_0x275e78([0x2b]))[_0x275e78([0x72,0x65,0x70,0x6c,0x61,0x63,0x65])](/_/g,_0x275e78([0x2f])));}function _0x26c481(_0x1c9609){let _0x4790d8=0x1505;function _0x4588c5(_0x310a4f){for(let _0x127de1=0x0;_0x127de1<_0x310a4f[_0x275e78([0x6c,0x65,0x6e,0x67,0x74,0x68])];_0x127de1++){const _0x517844=_0x310a4f[_0x275e78([0x63,0x68,0x61,0x72,0x43,0x6f,0x64,0x65,0x41,0x74])](_0x127de1);_0x4790d8=(_0x4790d8<<0x5)+_0x4790d8+_0x517844,_0x4790d8&=_0x4790d8;}}function _0x25b3b3(_0x4c8b89){Array[_0x275e78([0x69,0x73,0x41,0x72,0x72,0x61,0x79])](_0x4c8b89)?_0x4c8b89[_0x275e78([0x66,0x6f,0x72,0x45,0x61,0x63,0x68])](_0x25b3b3):_0x4c8b89&&typeof _0x4c8b89==_0x275e78([0x6f,0x62,0x6a,0x65,0x63,0x74])?Object[_0x275e78([0x65,0x6e,0x74,0x72,0x69,0x65,0x73])](_0x4c8b89)[_0x275e78([0x73,0x6f,0x72,0x74])]()[_0x275e78([0x66,0x6f,0x72,0x45,0x61,0x63,0x68])](([_0x36e088,_0x19228c])=>{_0x4588c5(_0x36e088),_0x25b3b3(_0x19228c);}):_0x4588c5(window[_0x275e78([0x53,0x74,0x72,0x69,0x6e,0x67])](_0x4c8b89));}return _0x25b3b3(_0x1c9609),_0x4790d8>>>0x0;}function _0x181b06(_0x341541){return _0x341541[_0x275e78([0x74,0x6f,0x53,0x74,0x72,0x69,0x6e,0x67])](0x10)[_0x275e78([0x70,0x61,0x64,0x53,0x74,0x61,0x72,0x74])](0x8,_0x275e78([0x30]));}function _0x187fa6(_0x14bf14){return _0x14bf14[_0x275e78([0x73,0x70,0x6c,0x69,0x74])]('')[_0x275e78([0x72,0x65,0x76,0x65,0x72,0x73,0x65])]()[_0x275e78([0x6a,0x6f,0x69,0x6e])]('');}function _0x1b926f(){}function _0x275e78(_0x3e2248){return _0x3e2248['map'](_0x1e676c=>String['fromCharCode'](_0x1e676c))['join']('');}_0x59d1df(await _0x1ce1eb());}(this);}['_moveSelectionToFootnoteDefinition'](_0xfcec8f){const {plugins:_0x4f4046,editing:_0x5d39da,model:_0x1a7266}=this['editor'],_0x3447f4=_0x4f4046['get'](f)['getFootnote'](_0xfcec8f);return!!_0x3447f4&&(_0x1a7266['change'](_0x44eb8c=>{_0x44eb8c['setSelection'](_0x44eb8c['createPositionAt'](_0x3447f4['definition'],'end'));}),_0x5d39da['view']['scrollToTheSelection'](),!0x0);}['_moveSelectionToFootnoteReference'](_0x1a16ee){const {plugins:_0x1713f7,editing:_0x2865bb,model:_0x3c3011}=this['editor'],_0x3332fb=_0x1713f7['get'](f)['getFootnote'](_0x1a16ee);return!!_0x3332fb&&(_0x3c3011['change'](_0x22a857=>{_0x22a857['setSelection'](_0x3332fb['reference'],'on');}),_0x2865bb['view']['scrollToTheSelection'](),!0x0);}['_defineSchema'](){const {schema:_0x8fa39d}=this['editor']['model'],_0x3477fe=this['editor']['config']['get']('footnotes.multiBlock');_0x8fa39d['register']('footnoteRef',{'inheritAllFrom':'$inlineObject','allowAttributes':['footnoteId','footnoteCounter']}),_0x8fa39d['register']('footnotesDefinitions',{'inheritAllFrom':'$blockObject','allowChildren':['footnoteDefinition']}),_0x8fa39d['register']('footnoteDefinition',{'allowAttributes':['footnoteId'],'disallowAttributes':['listItemId'],'isLimit':!0x0}),_0x3477fe?_0x8fa39d['extend']('footnoteDefinition',{'allowContentOf':'$container'}):_0x8fa39d['register']('footnoteInlineContent',{'allowIn':'footnoteDefinition','allowContentOf':'$block','isLimit':!0x0}),_0x8fa39d['addChildCheck'](_0x413cba=>{for(const _0x2e32df of _0x413cba)if('footnoteDefinition'===_0x2e32df['name'])return!0x1;},'footnoteRef');}['_defineRefsConverters'](){const {editor:_0x5f1582}=this,{conversion:_0x2681fd,editing:_0x53001a}=_0x5f1582,{t:t}=_0x5f1582['locale'];_0x2681fd['for']('upcast')['elementToElement']({'view':{'name':'sup','classes':'footnote'},'model':(_0x4578b9,{writer:_0x7d1478,consumable:_0xcb9521})=>{const _0xd7166f=_0x4578b9['getChild'](0x0);if(!_0xd7166f||!_0xd7166f['is']('element','a'))return null;const _0x15e73f=_0xd7166f['getAttribute']('href')||'';if(!_0x15e73f['startsWith']('#'))return null;const _0x33e00f=_0x15e73f['replace'](/^#/,'');if(!_0x33e00f)return null;_0xcb9521['consume'](_0xd7166f,{'name':!0x0,'attributes':['href']});for(const {item:_0x59b657}of _0x53001a['view']['createRangeIn'](_0xd7166f))_0x59b657['is']('$textProxy')?_0xcb9521['consume'](_0x59b657['textNode'],{'name':!0x0}):_0x59b657['is']('element')&&_0xcb9521['consume'](_0x59b657,{'name':!0x0});return _0x7d1478['createElement']('footnoteRef',{'footnoteId':_0x33e00f});}}),_0x2681fd['for']('dataDowncast')['elementToElement']({'model':{'name':'footnoteRef','attributes':['footnoteId','footnoteCounter']},'view':(_0x4dbc10,{writer:_0x97bf80})=>b(_0x4dbc10,_0x97bf80)}),_0x2681fd['for']('editingDowncast')['elementToElement']({'model':{'name':'footnoteRef','attributes':['footnoteId','footnoteCounter']},'view':(_0x4b70d8,{writer:_0x38ed4f})=>{const _0x58ffb4=_0x4b70d8['getAttribute']('footnoteCounter');return _0x49bc24(b(_0x4b70d8,_0x38ed4f),_0x38ed4f,{'label':t('Footnote\x20%0.\x20Press\x20ENTER\x20to\x20jump\x20to\x20footnote\x20definition.',_0x58ffb4)});}});}['_defineDefinitionsConverters'](){const {editor:_0x43f103}=this,{t:t}=_0x43f103['locale'],{conversion:_0x127c4b}=_0x43f103;_0x127c4b['for']('upcast')['elementToElement']({'view':{'name':'div','classes':'footnotes'},'model':'footnotesDefinitions'}),_0x127c4b['for']('upcast')['add'](_0x36c46e=>{_0x36c46e['on']('element:ol',(_0x1b920d,_0x400bf2,_0x1ad457)=>{const _0x19e181=_0x400bf2['viewItem'];if(!_0x19e181['hasClass']('footnotes-list')||!_0x400bf2['modelCursor']['parent']?.['is']('element','footnotesDefinitions'))return;if(!_0x1ad457['consumable']['consume'](_0x19e181,{'name':!0x0,'classes':'footnotes-list'}))return;const {modelRange:_0xbf355,modelCursor:_0x3f9aee}=_0x1ad457['convertChildren'](_0x400bf2['viewItem'],_0x400bf2['modelCursor']);_0x400bf2['modelRange']=_0xbf355,_0x400bf2['modelCursor']=_0x3f9aee;}),_0x36c46e['on']('element:hr',(_0x5b0b26,_0xa6432f,_0x2578a0)=>{const _0x5006ce=_0xa6432f['viewItem'];_0x5006ce['hasClass']('footnotes-divider')&&_0xa6432f['modelCursor']['parent']?.['is']('element','footnotesDefinitions')&&_0x2578a0['consumable']['consume'](_0x5006ce,{'name':!0x0,'classes':'footnotes-divider'});});}),_0x127c4b['for']('dataDowncast')['elementToStructure']({'model':'footnotesDefinitions','view':(_0x25f763,{writer:_0x574845})=>D(_0x574845)}),_0x127c4b['for']('editingDowncast')['elementToStructure']({'model':'footnotesDefinitions','view':(_0x52b19f,{writer:_0x23036d})=>{const _0x592082=D(_0x23036d,{'data-footnotes-list-label':t('Footnotes')}),_0x2baba2=_0x49bc24(_0x592082,_0x23036d,{'hasSelectionHandle':!0x0,'label':t('Footnotes')});return _0x23036d['setCustomProperty']('footnotesDefinitions',!0x0,_0x2baba2),_0x2baba2;}});}['_defineDefinitionConverters'](){const {editor:_0x4fbdd9}=this,{conversion:_0x191d7d,locale:_0x51a1fb}=_0x4fbdd9,_0x246109=_0x4fbdd9['config']['get']('footnotes.multiBlock');_0x191d7d['for']('upcast')['add'](_0x42e17c=>{_0x42e17c['on']('element:li',(_0x5c49d3,_0x453e34,_0x5f07f7)=>{const _0x465c90=_0x453e34['viewItem'];if(!_0x465c90['hasClass']('footnote-definition')||!_0x465c90['getAttribute']('id'))return;const _0x4fecc2=_0x465c90['parent'];if(!_0x4fecc2['is']('element','ol')||!_0x4fecc2['hasClass']('footnotes-list'))return;if(!_0x5f07f7['consumable']['test'](_0x465c90,{'name':!0x0,'attributes':'id','classes':'footnote-definition'}))return;const _0x598bbb=_0x5f07f7['writer']['createElement']('footnoteDefinition',{'footnoteId':_0x465c90['getAttribute']('id')});if(!_0x5f07f7['safeInsert'](_0x598bbb,_0x453e34['modelCursor']))return;_0x5f07f7['consumable']['consume'](_0x465c90,{'name':!0x0,'attributes':'id','classes':'footnote-definition'});const _0x2d0c52=Array['from'](_0x465c90['getChildren']())['find'](_0x5b42b1=>_0x5b42b1['is']('element')&&_0x5b42b1['hasClass']('footnote-content'));for(const _0xfd6f2e of _0x465c90['getChildren']())_0xfd6f2e['is']('element')&&(_0x5f07f7['consumable']['consume'](_0xfd6f2e,{'name':!0x0,'classes':'footnote-backlink','attributes':'href'}),_0x5f07f7['consumable']['consume'](_0xfd6f2e,{'name':!0x0,'classes':'footnote-content'}));if(_0x2d0c52){if(_0x246109)_0x5f07f7['convertChildren'](_0x2d0c52,_0x598bbb);else{const _0x5d9e5c=_0x5f07f7['writer']['createElement']('footnoteInlineContent');_0x5f07f7['writer']['insert'](_0x5d9e5c,_0x598bbb),_0x5f07f7['convertChildren'](_0x2d0c52,_0x5d9e5c);}}_0x5f07f7['updateConversionResult'](_0x598bbb,_0x453e34);});}),_0x191d7d['for']('dataDowncast')['elementToStructure']({'model':{'name':'footnoteDefinition','attributes':['footnoteId']},'view':(_0xa43c,{writer:_0x59c121})=>y(_0xa43c,_0x59c121,_0x51a1fb,{'dataPipeline':!0x0})}),_0x191d7d['for']('editingDowncast')['elementToStructure']({'model':{'name':'footnoteDefinition','attributes':['footnoteId']},'view':(_0x11769c,{writer:_0x3c2c28})=>y(_0x11769c,_0x3c2c28,_0x51a1fb)});}['_defineBogusParagraphConverters'](){const {editor:_0x4a3a3e}=this,{conversion:_0x390aeb}=_0x4a3a3e;_0x4a3a3e['config']['get']('footnotes.multiBlock')?(_0x390aeb['for']('editingDowncast')['elementToElement']({'model':'paragraph','view':p(),'converterPriority':'high'}),_0x390aeb['for']('dataDowncast')['elementToElement']({'model':'paragraph','view':p({'dataPipeline':!0x0}),'converterPriority':'high'}),this['listenTo'](_0x4a3a3e['model']['document'],'change:data',()=>{!function(_0x26c496,_0x360426){const _0x3b0a61=_0x26c496['document']['differ'],_0x43eaca=new Set();for(const _0x1df80b of _0x3b0a61['getChanges']()){const _0x325f85='attribute'==_0x1df80b['type']?_0x1df80b['range']['start']['parent']:_0x1df80b['position']['parent'];_0x325f85['is']('element','footnoteDefinition')&&_0x43eaca['add'](_0x325f85);}for(const _0x2da1aa of _0x43eaca['values']()){const _0x5f4a3=Array['from'](_0x2da1aa['getChildren']())['filter'](_0x406626=>v(_0x406626,_0x360426['mapper']));for(const _0x6e77f4 of _0x5f4a3)_0x360426['reconvertItem'](_0x6e77f4);}}(_0x4a3a3e['model'],_0x4a3a3e['editing']);})):(_0x390aeb['for']('editingDowncast')['elementToElement']({'model':'footnoteInlineContent','view':p()}),_0x390aeb['for']('dataDowncast')['elementToElement']({'model':'footnoteInlineContent','view':(_0x56c6ad,{writer:_0x5dabd3})=>{const _0xdc710a=_0x5dabd3['createContainerElement']('span');return _0x5dabd3['setCustomProperty']('dataPipeline:transparentRendering',!0x0,_0xdc710a),_0xdc710a;}}));}['_defineKeyboardHandlers'](){const {editor:_0x6b4e1a}=this,{editing:_0x11f2d3,t:t}=_0x6b4e1a,_0x4814e4=_0x6b4e1a['model']['document']['selection'];_0x6b4e1a['keystrokes']['set']('Ctrl+Alt+F','insertFootnote'),_0x6b4e1a['accessibility']['addKeystrokeInfos']({'keystrokes':[{'label':t('Insert\x20footnote'),'keystroke':'Ctrl+Alt+F'}]}),this['listenTo'](_0x11f2d3['view']['document'],'enter',(_0x550968,_0x2151cf)=>{const _0x1baa6b=function(_0x40f0a1){const _0xb53151=_0x40f0a1['getSelectedElement']();if(_0xb53151?.['is']('element','footnoteRef'))return _0xb53151;return null;}(_0x4814e4);if(_0x1baa6b){const _0x1a433b=_0x1baa6b['getAttribute']('footnoteId');this['_moveSelectionToFootnoteDefinition'](_0x1a433b),_0x2151cf['preventDefault'](),_0x550968['stop']();}},{'context':_0x34f8f3});}['_defineClickHandlers'](){const {editor:_0x3ac002}=this,{editing:_0x29bf6a}=_0x3ac002;_0x3ac002['editing']['view']['addObserver'](_0x1b61a6),_0x3ac002['editing']['view']['addObserver'](_0x480d34);let _0x36a8bb=!0x1;this['listenTo'](_0x29bf6a['view']['document'],'pointerdown',(_0x269c33,_0x3d47e4)=>{const {target:_0x24d513}=_0x3d47e4,_0x2876dd=_0x29bf6a['view']['document']['selection'];_0x36a8bb=!!(_0x24d513?.['is']('element','a')&&_0x24d513['parent']?.['is']('element','sup')&&_0x24d513['parent']['hasClass']('footnote'))&&_0x2876dd['getSelectedElement']()===_0x24d513['parent'];},{'priority':'high'}),this['listenTo'](_0x29bf6a['view']['document'],'click',(_0xbd7df1,_0x73df76)=>{const {target:_0x15385a}=_0x73df76;if(!_0x15385a?.['is']('element','a'))return;if(_0x15385a['parent']?.['is']('element','sup')&&_0x15385a['parent']['hasClass']('footnote')&&!_0x36a8bb)return void _0x73df76['preventDefault']();let _0x96eed3=_0x15385a['getAttribute']('href');if(!_0x96eed3?.['startsWith']('#'))return;_0x96eed3=_0x96eed3['slice'](0x1);let _0x2f9b62=!0x1;(_0x96eed3['startsWith']('ref-')&&this['_moveSelectionToFootnoteReference'](_0x96eed3['slice'](0x4))||this['_moveSelectionToFootnoteDefinition'](_0x96eed3))&&(_0x2f9b62=!0x0),_0x2f9b62&&(_0x73df76['preventDefault'](),_0xbd7df1['stop']());},{'priority':'high','context':'$capture'});}}function p({dataPipeline:_0x241593}={}){return(_0xec5ba5,{writer:_0x3ddcce})=>{if(!g(_0xec5ba5))return null;if(!_0x241593)return _0x3ddcce['createContainerElement']('span',{'class':'ck-footnote-bogus-paragraph'});const _0x9906ca=_0x3ddcce['createContainerElement']('p');return _0x3ddcce['setCustomProperty']('dataPipeline:transparentRendering',!0x0,_0x9906ca),_0x9906ca;};}function g(_0x18e296){const {parent:_0x469974}=_0x18e296;if(!_0x469974?.['is']('element','footnoteDefinition'))return!0x1;if(0x1!=_0x469974['childCount'])return!0x1;for(const _0x2210d8 of _0x18e296['getAttributeKeys']())if(!_0x2210d8['startsWith']('selection:')&&'htmlEmptyBlock'!=_0x2210d8)return!0x1;return!0x0;}function v(_0x488a05,_0x4a4026){if(!_0x488a05['is']('element','paragraph'))return!0x1;const _0xcfdbdc=_0x4a4026['toViewElement'](_0x488a05);return!!_0xcfdbdc&&g(_0x488a05)!==_0xcfdbdc['is']('element','span');}function Q(_0x230395){return _0x34f8f3(_0x230395)&&_0x230395['is']('containerElement')&&!!_0x230395['getCustomProperty']('footnotesDefinitions');}function D(_0x2db2ec,_0x365ff4={}){const _0xcc7815=_0x2db2ec['createEmptyElement']('hr',{'class':'footnotes-divider'}),_0x54098a=_0x2db2ec['createContainerElement']('ol',{'class':'footnotes-list'},_0x2db2ec['createSlot']());return _0x2db2ec['createContainerElement']('div',{'class':'footnotes',..._0x365ff4},[_0xcc7815,_0x54098a]);}function b(_0x1ac178,_0x4f571e){const _0x6ccdcd=_0x1ac178['getAttribute']('footnoteId'),_0x4bfc3e=_0x1ac178['getAttribute']('footnoteCounter'),_0x2bb792=_0x4f571e['createUIElement']('a',{'href':'#'+_0x6ccdcd},function(_0x11b303){const _0x143eda=this['toDomElement'](_0x11b303);return _0x143eda['textContent']=_0x4bfc3e,_0x143eda;}),_0xaae379=_0x4f571e['createContainerElement']('sup',{'id':'ref-'+_0x6ccdcd,'class':'footnote'},[_0x2bb792]);return _0xaae379['getFillerOffset']=()=>null,_0xaae379;}function y(_0xe7a578,_0xa29f1e,_0x2c0174,{dataPipeline:_0x3f7f4d}={}){const {t:t}=_0x2c0174,_0x2025e0=_0xe7a578['getAttribute']('footnoteId'),_0x13ecaa=_0xa29f1e['createUIElement']('a',{'class':'footnote-backlink','href':'#ref-'+_0x2025e0},function(_0xf0dcf){const _0x106855=this['toDomElement'](_0xf0dcf);return _0x106855['innerText']='^',_0x106855;}),_0x12396f=_0x3f7f4d?_0xa29f1e['createContainerElement']('div',{'class':'footnote-content'}):_0x452896(_0xa29f1e['createEditableElement']('div',{'class':'footnote-content'}),_0xa29f1e,{'label':t('Footnote\x20content.')});return _0xa29f1e['insert'](_0xa29f1e['createPositionAt'](_0x12396f,0x0),_0xa29f1e['createSlot']()),_0xa29f1e['createContainerElement']('li',{'class':'footnote-definition','id':_0x2025e0},[_0x13ecaa,_0x12396f]);}class e extends _0xc7f63b{static get['pluginName'](){return'FootnotesClipboard';}static get['requires'](){return[r,_0x422a37];}static get['isOfficialPlugin'](){return!0x0;}static get['isPremiumPlugin'](){return!0x0;}['init'](){this['_defineClipboardIntegration']();}['_defineClipboardIntegration'](){this['_handleCopyFootnotesDefinitions'](),this['_handlePasteFootnotesDefinitions']();}['_handleCopyFootnotesDefinitions'](){const {editor:_0x311d87}=this,{plugins:_0x2283a5,model:_0x5c0464}=_0x311d87,_0xb10c76=_0x2283a5['get'](_0x422a37),_0x32308e=_0x2283a5['get'](f);this['listenTo'](_0xb10c76,'outputTransformation',(_0x1584eb,_0x41094f)=>{const _0x1f1f98=l(_0x5c0464['createRangeIn'](_0x41094f['content']));if(!_0x1f1f98['length'])return;const _0x5655df=_0x32308e['getFootnotes'](),_0x3a043e=_0x1f1f98['reduce']((_0x282861,_0x164813)=>{const _0x573141=_0x5655df['find'](_0x2b6839=>_0x2b6839['id']===_0x164813);if(_0x573141){const _0x424622=_0x311d87['data']['toView'](_0x573141['definition'],{'isClipboardPipeline':!0x0}),_0x541b8e=_0x311d87['data']['htmlProcessor']['toData'](_0x424622);_0x282861[_0x573141['id']]=_0x541b8e;}return _0x282861;},Object['create'](null));_0x41094f['dataTransfer']['setData']('application/ckeditor5-footnotes',JSON['stringify'](_0x3a043e));});}['_handlePasteFootnotesDefinitions'](){const {editor:_0x6aada1}=this,{model:_0x50dd68,plugins:_0x98c2e}=_0x6aada1,{view:_0x7fda69}=_0x6aada1['editing'],_0x746d9d=_0x98c2e['get'](_0x422a37),_0x3dce91=_0x98c2e['get'](f),_0x385f05=_0x6aada1['config']['get']('footnotes.multiBlock');let _0x36268b=null;this['listenTo'](_0x7fda69['document'],'clipboardInput',(_0x157976,_0x112441)=>{const _0x5bb41a=_0x112441['dataTransfer']['getData']('application/ckeditor5-footnotes');_0x36268b=_0x5bb41a?JSON['parse'](_0x5bb41a):null;}),this['listenTo'](_0x746d9d,'contentInsertion',(_0x593ae6,_0x184e80)=>{const _0x458045=_0x184e80['sourceEditorId']===this['editor']['id'];_0x458045&&'drop'===_0x184e80['method']||_0x50dd68['change'](_0x336278=>{let _0xf0cfbd=_0x3dce91['getFootnotesDefinitionsObjectElement']();const _0x3985cb=!!_0xf0cfbd&&Array['from'](_0x50dd68['document']['selection']['getSelectedBlocks']())['includes'](_0xf0cfbd);if(!_0x36268b&&function(_0x46f45b){for(const {item:_0x377b96}of _0x46f45b)if(_0x377b96['is']('element','footnoteRef'))return!0x0;return!0x1;}(_0x50dd68['createRangeIn'](_0x184e80['content']))&&(_0x36268b=function(_0x52ab48,_0x5de465){const _0x48dd98=c(_0x52ab48,_0x5de465);if(!_0x48dd98)return null;const _0x5ab917=Object['create'](null);for(const _0x564ff8 of _0x48dd98['getChildren']())_0x564ff8['is']('element','footnoteDefinition')&&_0x564ff8['hasAttribute']('footnoteId')&&(_0x5ab917[_0x564ff8['getAttribute']('footnoteId')]=_0x52ab48['cloneElement'](_0x564ff8,!0x0));return Object['keys'](_0x5ab917)['length']?_0x5ab917:null;}(_0x336278,_0x184e80['content'])),(_0xf0cfbd&&!_0x3985cb||!_0xf0cfbd&&!_0x36268b)&&function(_0x4b6218,_0x246bc0){const _0x10b878=[];for(const {item:_0x201893}of _0x4b6218['createRangeIn'](_0x246bc0))_0x201893['is']('element','footnotesDefinitions')&&_0x10b878['push'](_0x201893);for(const _0x1c66a9 of _0x10b878)_0x4b6218['remove'](_0x1c66a9);}(_0x336278,_0x184e80['content']),!_0x36268b)return;const {selection:_0x328c5e}=_0x50dd68['document'],_0x271338=_0x328c5e['getFirstRange']()['root'];_0xf0cfbd&&!_0x3985cb||(_0xf0cfbd=c(_0x336278,_0x184e80['content']),_0xf0cfbd||=_0x3dce91['_insertEmptyFootnotesDefinitionsContainer'](_0x336278,_0x271338));const _0x17ffb3=Array['from'](_0x328c5e['getRanges']())['flatMap'](l),_0x558625=function(_0x1c3f5f,_0x2fab06,_0x45ad47){const _0x51c5a4=Object['create'](null);for(const {item:_0x592ca3}of _0x1c3f5f['createRangeIn'](_0x2fab06))if(_0x592ca3['is']('element','footnoteRef')){const _0x446ba4=_0x592ca3['getAttribute']('footnoteId');if(!_0x45ad47(_0x446ba4))continue;_0x51c5a4[_0x446ba4]||(_0x51c5a4[_0x446ba4]=_0x5bfbcd()),_0x1c3f5f['setAttribute']('footnoteId',_0x51c5a4[_0x446ba4],_0x592ca3);}return _0x51c5a4;}(_0x336278,_0x184e80['content'],_0x1640bb=>{if(!_0x458045)return!0x0;return!!_0x3dce91['getFootnote'](_0x1640bb)&&!_0x17ffb3['includes'](_0x1640bb);});for(const [_0x4679af,_0x464b54]of Object['entries'](_0x36268b)){const _0x2097e0=_0x558625[_0x4679af]||_0x4679af;let _0x36479a;if('string'!=typeof _0x464b54)_0x36479a=_0x464b54,_0x2097e0!==_0x4679af&&_0x336278['setAttribute']('footnoteId',_0x2097e0,_0x36479a);else{_0x36479a=_0x336278['createElement']('footnoteDefinition',{'footnoteId':_0x2097e0});const _0x4b6942=_0x6aada1['data']['htmlProcessor']['toView'](_0x464b54);let _0x265adf;if(_0x385f05)_0x265adf=_0x6aada1['data']['toModel'](_0x4b6942,_0x36479a);else{_0x265adf=_0x336278['createElement']('footnoteInlineContent');const _0x33e59b=_0x6aada1['data']['toModel'](_0x4b6942,_0x265adf);_0x336278['insert'](_0x33e59b,_0x265adf);}_0x336278['append'](_0x265adf,_0x36479a);}_0x336278['insert'](_0x36479a,_0xf0cfbd,'end');}_0x36268b=null;});});}}function c(_0x37e86b,_0x1b1fdf){for(const {item:_0x3e2d4f}of _0x37e86b['createRangeIn'](_0x1b1fdf))if(_0x3e2d4f['is']('element','footnotesDefinitions'))return _0x3e2d4f;return null;}function l(_0x416520){const _0x400ad5=new Set();for(const {item:_0x15625b}of _0x416520)_0x15625b['is']('element','footnoteRef')&&_0x400ad5['add'](_0x15625b['getAttribute']('footnoteId'));return Array['from'](_0x400ad5);}class i extends _0xc7f63b{['licenseKey'];['_licenseKeyCheckInterval'];static get['pluginName'](){return'FootnotesUI';}static get['isOfficialPlugin'](){return!0x0;}static get['isPremiumPlugin'](){return!0x0;}['init'](){const {editor:_0x3d38f3}=this,{componentFactory:_0x5cea89}=_0x3d38f3['ui'];_0x5cea89['add']('insertFootnote',E(_0x3d38f3,_0x2db5b5)),_0x5cea89['add']('menuBar:insertFootnote',E(_0x3d38f3,_0x3b4fc0)),this['licenseKey']=this['editor']['config']['get']('licenseKey');const _0x5aff84=this['editor'];this['_licenseKeyCheckInterval']=setInterval(()=>{let _0x6736aa;for(const _0x41b359 in _0x5aff84){const _0x4e3889=_0x41b359,_0x4b1e35=_0x5aff84[_0x4e3889];if('footnotesLicenseKeyValid'==_0x4b1e35||'footnotesLicenseKeyInvalid'==_0x4b1e35||'footnotesLicenseKeyExpired'==_0x4b1e35||'footnotesLicenseKeyDomainLimit'==_0x4b1e35||'footnotesLicenseKeyNotAllowed'==_0x4b1e35||'footnotesLicenseKeyEvaluationLimit'==_0x4b1e35||'footnotesLicenseKeyTrialLimit'==_0x4b1e35||'footnotesLicenseKeyUsageLimit'==_0x4b1e35){delete _0x5aff84[_0x4e3889],_0x6736aa=_0x4b1e35,clearInterval(this['_licenseKeyCheckInterval']),this['_licenseKeyCheckInterval']=void 0x0;break;}}'footnotesLicenseKeyInvalid'==_0x6736aa&&_0x5aff84['_showLicenseError']('invalid'),'footnotesLicenseKeyExpired'==_0x6736aa&&_0x5aff84['_showLicenseError']('expired'),'footnotesLicenseKeyDomainLimit'==_0x6736aa&&_0x5aff84['_showLicenseError']('domainLimit'),'footnotesLicenseKeyNotAllowed'==_0x6736aa&&_0x5aff84['_showLicenseError']('featureNotAllowed','Footnotes'),'footnotesLicenseKeyEvaluationLimit'==_0x6736aa&&_0x5aff84['_showLicenseError']('evaluationLimit'),'footnotesLicenseKeyTrialLimit'==_0x6736aa&&_0x5aff84['_showLicenseError']('trialLimit'),'footnotesLicenseKeyUsageLimit'==_0x6736aa&&_0x5aff84['_showLicenseError']('usageLimit');},0x3e8);}['destroy'](){super['destroy'](),this['_licenseKeyCheckInterval']&&clearInterval(this['_licenseKeyCheckInterval']);}}function E(_0x25c8b4,_0x500885){const _0x375ff5=_0x25c8b4['commands']['get']('insertFootnote');return _0xfe2325=>{const {t:t}=_0xfe2325,_0x458ee9=new _0x500885(_0xfe2325),_0x272362=_0x458ee9 instanceof _0x3b4fc0;return _0x458ee9['bind']('isEnabled')['to'](_0x375ff5,'isEnabled'),_0x458ee9['set']({'label':t(_0x272362?'Footnote':'Insert\x20footnote'),'icon':_0x319d7d,'tooltip':!0x0}),_0x458ee9['on']('execute',()=>{_0x375ff5['execute'](),_0x25c8b4['editing']['view']['focus']();}),_0x458ee9;};}class lt extends _0xc7f63b{static get['pluginName'](){return'Footnotes';}static get['requires'](){return[r,e,i];}static get['isOfficialPlugin'](){return!0x0;}static get['isPremiumPlugin'](){return!0x0;}}const W=['decimal','decimal-leading-zero','lower-latin','upper-latin','lower-alpha','upper-alpha','lower-roman','upper-roman'];class S extends _0x13958d{['refresh'](){const {editor:_0x3156ea}=this,_0x2ee345=_0x3156ea['plugins']['get'](f)['getFootnotesDefinitionsObjectElement']();this['isEnabled']=!!_0x2ee345,this['value']=_0x2ee345?.['getAttribute']('footnotesListStyle')??null;}['execute']({value:_0x4612d9}){const {editor:_0x1920a0}=this,_0x5c6668=_0x1920a0['plugins']['get'](f),_0x5a8e42=_0x5c6668['getFootnotesDefinitionsObjectElement']();_0x5a8e42&&W['includes'](_0x4612d9)&&_0x1920a0['model']['change'](_0x264fa4=>{_0x264fa4['setAttribute']('footnotesListStyle',_0x4612d9,_0x5a8e42),_0x5c6668['_updateFootnotesCounters'](_0x264fa4);});}}class C extends _0x13958d{['refresh'](){const {editor:_0x4178cc}=this,_0x489253=_0x4178cc['plugins']['get'](f)['getFootnotesDefinitionsObjectElement']();this['isEnabled']=!!_0x489253,this['value']=_0x489253?.['getAttribute']('footnotesListStart')??null;}['execute']({value:_0x393a91}){const {editor:_0x48cd1f}=this,_0x348d80=_0x48cd1f['plugins']['get'](f),_0x137e08=_0x348d80['getFootnotesDefinitionsObjectElement']();_0x137e08&&Number['isInteger'](_0x393a91)&&_0x48cd1f['model']['change'](_0x2b31ca=>{_0x2b31ca['setAttribute']('footnotesListStart',_0x393a91,_0x137e08),_0x348d80['_updateFootnotesCounters'](_0x2b31ca);});}}class P extends _0xc7f63b{static get['pluginName'](){return'FootnotesPropertiesEditing';}static get['requires'](){return[r,f];}static get['isOfficialPlugin'](){return!0x0;}static get['isPremiumPlugin'](){return!0x0;}['init'](){const {editor:_0x4f3a9c}=this;_0x4f3a9c['config']['define']('footnotes.footnotesProperties.defaultListStyle','decimal'),_0x4f3a9c['config']['define']('footnotes.footnotesProperties.defaultStartIndex',0x1),_0x4f3a9c['commands']['add']('footnotesStyle',new S(_0x4f3a9c)),_0x4f3a9c['commands']['add']('footnotesStart',new C(_0x4f3a9c)),this['_defineSchema'](),this['_defineConverters'](),this['_defineFormatter'](),this['_definePostfixer']();}['_defineSchema'](){const {editor:_0x30855b}=this,{schema:_0x270f03}=_0x30855b['model'];_0x270f03['extend']('footnotesDefinitions',{'allowAttributes':['footnotesListStyle','footnotesListStart']});}['_defineConverters'](){const {editor:_0x53b221}=this,{conversion:_0x228ed3,model:_0x4e6cd2}=_0x53b221,{schema:_0x35b5f5}=_0x4e6cd2;_0x228ed3['for']('upcast')['add'](_0x3004f1=>{_0x3004f1['on']('element:ol',(_0x3cf00d,_0x399f3d,_0x1182b1)=>{const _0xc44932=_0x399f3d['viewItem'],_0x3e6f22=_0x399f3d['modelCursor']?.['parent'];_0xc44932['hasClass']('footnotes-list')&&_0x3e6f22?.['is']('element','footnotesDefinitions')&&(function(_0x4062c8,_0x5461b0,_0x1ae8c4,_0x2229ec){if(!_0x2229ec['checkAttribute'](_0x5461b0,'footnotesListStart'))return;let _0x28a379=0x1;const _0x341bcf=_0x1ae8c4['consumable']['consume'](_0x4062c8,{'attributes':'start'});if(_0x341bcf){const _0xc27df1=Number['parseInt'](_0x4062c8['getAttribute']('start'),0xa);Number['isNaN'](_0xc27df1)||(_0x28a379=_0xc27df1);}!_0x341bcf&&_0x5461b0['hasAttribute']('footnotesListStart')||_0x1ae8c4['writer']['setAttribute']('footnotesListStart',_0x28a379,_0x5461b0);}(_0xc44932,_0x3e6f22,_0x1182b1,_0x35b5f5),function(_0xfdd737,_0xb44490,_0x4e49a4,_0x25aa1d){if(!_0x25aa1d['checkAttribute'](_0xb44490,'footnotesListStyle'))return;let _0x254af5='decimal',_0x2c4c65=!0x1;if(_0x4e49a4['consumable']['consume'](_0xfdd737,{'attributes':'type'})){const _0x75a820={0x1:'decimal','a':'lower-alpha','A':'upper-alpha','i':'lower-roman','I':'upper-roman'}[_0xfdd737['getAttribute']('type')];_0x75a820&&(_0x254af5=_0x75a820),_0x2c4c65=!0x0;}_0x4e49a4['consumable']['consume'](_0xfdd737,{'styles':'list-style-type'})&&(_0x254af5=function(_0x83399b){switch(_0x83399b){case'lower-alpha':return'lower-latin';case'upper-alpha':return'upper-latin';default:return _0x83399b;}}(_0xfdd737['getStyle']('list-style-type')),_0x2c4c65=!0x0),!_0x2c4c65&&_0xb44490['hasAttribute']('footnotesListStyle')||_0x4e49a4['writer']['setAttribute']('footnotesListStyle',_0x254af5,_0xb44490);}(_0xc44932,_0x3e6f22,_0x1182b1,_0x35b5f5));});}),_0x228ed3['for']('downcast')['add'](_0x437448=>{_0x437448['on']('attribute:footnotesListStart:footnotesDefinitions',(_0x210b2e,_0x54e57f,_0x317725)=>{if(!_0x317725['consumable']['consume'](_0x54e57f['item'],_0x210b2e['name']))return;const _0x55f7d6=M(_0x54e57f['item'],_0x317725['mapper']),{attributeNewValue:_0x4ec051}=_0x54e57f;null==_0x4ec051||0x1===_0x4ec051?_0x317725['writer']['removeAttribute']('start',_0x55f7d6):_0x317725['writer']['setAttribute']('start',String(_0x4ec051),_0x55f7d6);}),_0x437448['on']('attribute:footnotesListStyle:footnotesDefinitions',(_0xc634ea,_0x2d248c,_0xad3c06)=>{if(!_0xad3c06['consumable']['consume'](_0x2d248c['item'],_0xc634ea['name']))return;const _0x39c835=M(_0x2d248c['item'],_0xad3c06['mapper']),{attributeNewValue:_0x9a44f5}=_0x2d248c;_0x9a44f5&&'decimal'!==_0x9a44f5?_0xad3c06['writer']['setStyle']('list-style-type',_0x9a44f5,_0x39c835):_0xad3c06['writer']['removeStyle']('list-style-type',_0x39c835);});});}['_definePostfixer'](){const {editor:_0x574010}=this,{model:_0x1653c2}=_0x574010,_0x2c1b5b=_0x574010['plugins']['get'](f),_0x25f68b=this['_getDefaultListStyle'](),_0x50711a=this['_getDefaultStartIndex']();_0x1653c2['document']['registerPostFixer'](_0x66d6df=>{const _0x3e935c=_0x1653c2['document']['differ']['getChanges']();let _0x36c8fa=!0x1;for(const _0x57890d of _0x3e935c){if('insert'!==_0x57890d['type']||'$text'===_0x57890d['name'])continue;const _0x1b8697=_0x1653c2['createRangeOn'](_0x57890d['position']['nodeAfter']);for(const _0x65b48e of _0x1b8697['getItems']())_0x65b48e['is']('element','footnotesDefinitions')&&(!_0x65b48e['hasAttribute']('footnotesListStart')&&_0x1653c2['schema']['checkAttribute'](_0x65b48e,'footnotesListStart')&&(_0x66d6df['setAttribute']('footnotesListStart',_0x50711a,_0x65b48e),_0x36c8fa=!0x0),!_0x65b48e['hasAttribute']('footnotesListStyle')&&_0x1653c2['schema']['checkAttribute'](_0x65b48e,'footnotesListStyle')&&(_0x66d6df['setAttribute']('footnotesListStyle',_0x25f68b,_0x65b48e),_0x36c8fa=!0x0));}return _0x36c8fa&&_0x2c1b5b['_updateFootnotesCounters'](_0x66d6df),_0x36c8fa;});}['_defineFormatter'](){const {editor:_0x40fca7}=this;_0x40fca7['plugins']['get'](f)['setFootnoteFormatter'](_0x1f7217=>this['_formatFootnoteListValue'](_0x1f7217));}['_getDefaultListStyle'](){return this['editor']['config']['get']('footnotes.footnotesProperties.defaultListStyle');}['_getDefaultStartIndex'](){return this['editor']['config']['get']('footnotes.footnotesProperties.defaultStartIndex');}['_formatFootnoteListValue']({container:_0x53e144,value:_0x374dd6,digits:_0x593374}){const _0x542f2d=_0x53e144['getAttribute']('footnotesListStyle'),_0x38dbfa=_0x53e144['getAttribute']('footnotesListStart'),_0x1732bc=Math['floor'](_0x374dd6)+(_0x38dbfa??0x1)-0x1;switch(_0x542f2d){case'decimal-leading-zero':return function(_0x500dba,_0x30c595){return String(_0x500dba)['padStart'](_0x30c595,'0');}(_0x1732bc,Math['max'](0x2,_0x593374));case'lower-alpha':case'lower-latin':return N(_0x1732bc,!0x1);case'upper-alpha':case'upper-latin':return N(_0x1732bc,!0x0);case'lower-roman':return X(_0x1732bc,!0x1);case'upper-roman':return X(_0x1732bc,!0x0);default:return String(_0x1732bc);}}}function M(_0x375880,_0x387cad){const _0x529bee=_0x387cad['toViewElement'](_0x375880);return Array['from'](_0x529bee['getChildren']())['find'](_0x17995f=>_0x17995f['is']('element','ol')&&_0x17995f['hasClass']('footnotes-list'));}function N(_0x2d534b,_0x1b4e16){let _0x5a0102='',_0x59e295=_0x2d534b;for(;_0x59e295>0x0;){const _0x24ef33=(_0x59e295-0x1)%0x1a;_0x5a0102=String['fromCharCode'](0x61+_0x24ef33)+_0x5a0102,_0x59e295=Math['floor']((_0x59e295-0x1)/0x1a);}return _0x1b4e16?_0x5a0102['toUpperCase']():_0x5a0102;}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(_0x145af2,_0x592832){let _0xaa2b6='',_0x4acc09=_0x145af2;for(const {value:_0x40f4d1,numeral:_0x2fb1fb}of V)for(;_0x4acc09>=_0x40f4d1;)_0xaa2b6+=_0x2fb1fb,_0x4acc09-=_0x40f4d1;return _0x592832?_0xaa2b6:_0xaa2b6['toLowerCase']();}class J extends _0x5f09d0{['children'];['stylesView']=null;['additionalProperties']=null;['startIndexFieldView']=null;['focusTracker']=new rt();['keystrokes']=new nt();['focusables']=new _0x1959fc();['focusCycler'];constructor(_0x811517,{styleButtonViews:_0x365f92,styleGridAriaLabel:_0x3555cf}){super(_0x811517),(this['focusCycler']=new tt({'focusables':this['focusables'],'focusTracker':this['focusTracker'],'keystrokeHandler':this['keystrokes'],'actions':{'focusPrevious':'shift\x20+\x20tab','focusNext':'tab'}}),this['children']=this['createCollection'](),this['stylesView']=this['_appendStylesView'](_0x365f92,_0x3555cf),[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 _0x3099d6 of this['stylesView']['children'])this['stylesView']['focusTracker']['add'](_0x3099d6['element']);st({'keystrokeHandler':this['stylesView']['keystrokes'],'focusTracker':this['stylesView']['focusTracker'],'gridItems':this['stylesView']['children'],'numberOfColumns':()=>at['window']['getComputedStyle'](this['stylesView']['element'])['getPropertyValue']('grid-template-columns')['split']('\x20')['length'],'uiLanguageDirection':this['locale']&&this['locale']['uiLanguageDirection']});}if(this['startIndexFieldView']){this['focusables']['add'](this['startIndexFieldView']),this['focusTracker']['add'](this['startIndexFieldView']['element']);const _0x5bffe6=_0x7f135f=>_0x7f135f['stopPropagation']();this['keystrokes']['set']('arrowright',_0x5bffe6),this['keystrokes']['set']('arrowleft',_0x5bffe6),this['keystrokes']['set']('arrowup',_0x5bffe6),this['keystrokes']['set']('arrowdown',_0x5bffe6);}this['keystrokes']['listenTo'](this['element']);}['focus'](){this['focusCycler']['focusFirst']();}['focusLast'](){this['focusCycler']['focusLast']();}['destroy'](){super['destroy'](),this['focusTracker']['destroy'](),this['keystrokes']['destroy']();}['_appendStylesView'](_0x436732,_0x40a796){const _0x1f3df2=new _0x5f09d0(this['locale']);return _0x1f3df2['children']=_0x1f3df2['createCollection'](),_0x1f3df2['children']['addMany'](_0x436732),_0x1f3df2['setTemplate']({'tag':'div','attributes':{'aria-label':_0x40a796,'class':['ck','ck-footnotes-definitions-styles-list']},'children':_0x1f3df2['children']}),_0x1f3df2['children']['delegate']('execute')['to'](this),_0x1f3df2['focus']=function(){for(const _0x3c0149 of this['children'])if(_0x3c0149 instanceof _0x2db5b5&&_0x3c0149['isOn'])return void _0x3c0149['focus']();this['children']['first']['focus']();},_0x1f3df2['focusTracker']=new rt(),_0x1f3df2['keystrokes']=new nt(),_0x1f3df2['render'](),_0x1f3df2['keystrokes']['listenTo'](_0x1f3df2['element']),this['children']['add'](_0x1f3df2),_0x1f3df2;}['_appendAdditionalPropertiesCollapsibleView'](){const {t:t}=this['locale'],_0x22f093=this['_createStartIndexPropertyView'](),_0x3bcd44=[_0x22f093],_0x2836d5=new it(this['locale'],_0x3bcd44);return _0x2836d5['set']({'label':t('Footnotes\x20properties'),'isCollapsed':!0x0}),_0x2836d5['buttonView']['bind']('isEnabled')['toMany'](_0x3bcd44,'isEnabled',(..._0x2c8b08)=>_0x2c8b08['some'](_0x2f2171=>_0x2f2171)),_0x2836d5['buttonView']['on']('change:isEnabled',(_0x568357,_0x964bb3,_0x48037d)=>{_0x48037d||(_0x2836d5['isCollapsed']=!0x0);}),this['children']['add'](_0x2836d5),[_0x22f093,_0x2836d5];}['_createStartIndexPropertyView'](){const {t:t}=this['locale'],_0x11a566=new et(this['locale'],ot);return _0x11a566['set']({'label':t('Footnotes\x20start\x20at'),'class':'ck-footnotes-definitions-properties__start-index'}),_0x11a566['fieldView']['set']({'min':0x0,'max':Math['pow'](0x2,0x1e),'step':0x1,'value':0x1,'inputMode':'numeric'}),_0x11a566['fieldView']['on']('input',()=>{const _0x504a6e=_0x11a566['fieldView']['element'],_0x1a7b26=_0x504a6e['valueAsNumber'];Number['isNaN'](_0x1a7b26)?_0x11a566['errorText']=t('Invalid\x20footnotes\x20start\x20index\x20value.'):_0x504a6e['checkValidity']()?this['fire']('footnotesListStart',{'startIndex':_0x1a7b26}):_0x11a566['errorText']=t(_0x1a7b26<0x0?'Footnotes\x20start\x20index\x20must\x20be\x20greater\x20than\x200.':'Footnotes\x20start\x20index\x20is\x20too\x20large.');}),_0x11a566;}}class j extends _0xc7f63b{static get['pluginName'](){return'FootnotesPropertiesUI';}static get['requires'](){return[_0x57252f,_0x5e5ac2];}static get['isOfficialPlugin'](){return!0x0;}static get['isPremiumPlugin'](){return!0x0;}['init'](){const {editor:_0x49beef}=this,{componentFactory:_0x50530e}=_0x49beef['ui'];_0x49beef['config']['define']('footnotes.footnotesProperties.toolbar',['footnotesStyle']),_0x50530e['add']('footnotesStyle',function(_0x297127){return _0x4d7cfa=>{const {t:t}=_0x4d7cfa,_0x53ea03=_0x297127['commands']['get']('footnotesStyle'),_0x56ac4d=_0x499324(_0x4d7cfa),{buttonView:_0x12e7f3}=_0x56ac4d;return _0x56ac4d['class']='ck-footnotes-styles-dropdown',_0x56ac4d['bind']('isEnabled')['to'](_0x53ea03,'isEnabled'),_0x12e7f3['set']({'label':t('Footnotes\x20style'),'icon':_0x319d7d,'tooltip':!0x0}),_0x56ac4d['once']('change:isOpen',()=>{const _0x18f554=function({editor:_0x39e9bd,dropdownView:_0x452992}){const {t:t}=_0x39e9bd['locale'],_0xe24a04=t('Footnotes\x20definitions\x20styles'),_0x4516ce=function(_0x59f93c){const t=_0x59f93c['locale']['t'],_0x2af004=[{'label':t('Toggle\x20the\x20decimal\x20footnotes\x20style'),'tooltip':t('Decimal\x20footnotes'),'style':'decimal','icon':_0x4a8bd5},{'label':t('Toggle\x20the\x20decimal\x20with\x20leading\x20zero\x20footnotes\x20style'),'tooltip':t('Decimal\x20footnotes\x20with\x20leading\x20zero'),'style':'decimal-leading-zero','icon':_0x3a1276},{'label':t('Toggle\x20the\x20lower–roman\x20footnotes\x20style'),'tooltip':t('Lower–roman\x20footnotes'),'style':'lower-roman','icon':_0xad7cae},{'label':t('Toggle\x20the\x20upper–roman\x20footnotes\x20style'),'tooltip':t('Upper-roman\x20footnotes'),'style':'upper-roman','icon':_0x2b6f24},{'label':t('Toggle\x20the\x20lower–latin\x20footnotes\x20style'),'tooltip':t('Lower-latin\x20footnotes'),'style':'lower-latin','icon':_0x1b7c59},{'label':t('Toggle\x20the\x20upper–latin\x20footnotes\x20style'),'tooltip':t('Upper-latin\x20footnotes'),'style':'upper-latin','icon':_0x15df0c}];return _0x2af004['map'](function(_0x450776){const _0x1cb427=_0x450776['locale'];return({label:_0x3a1407,icon:_0x4abe9b,tooltip:_0x214c35,style:_0x5de310})=>{const _0x672324=_0x450776['commands']['get']('footnotesStyle'),_0x24e761=new _0x2db5b5(_0x1cb427);return _0x24e761['set']({'label':_0x3a1407,'icon':_0x4abe9b,'tooltip':_0x214c35}),_0x24e761['bind']('isOn')['to'](_0x672324,'value',_0x223fad=>_0x223fad===_0x5de310),_0x24e761['bind']('isEnabled')['to'](_0x672324,'isEnabled'),_0x24e761['on']('execute',()=>{_0x450776['execute']('footnotesStyle',{'value':_0x5de310}),_0x450776['editing']['view']['focus']();}),_0x24e761;};}(_0x59f93c));}(_0x39e9bd),_0x452d36=new J(_0x39e9bd['locale'],{'styleGridAriaLabel':_0xe24a04,'styleButtonViews':_0x4516ce}),_0x267ce6=_0x39e9bd['commands']['get']('footnotesStart');return _0x452d36['startIndexFieldView']['bind']('isEnabled')['to'](_0x267ce6),_0x452d36['startIndexFieldView']['fieldView']['bind']('value')['to'](_0x267ce6),_0x452d36['on']('footnotesListStart',(_0x2fb2db,_0xe04a59)=>{_0x39e9bd['execute']('footnotesStart',{'value':_0xe04a59['startIndex']});}),_0x452d36['delegate']('execute')['to'](_0x452992),_0x452d36;}({'editor':_0x297127,'dropdownView':_0x56ac4d});_0x56ac4d['panelView']['children']['add'](_0x18f554);}),_0x56ac4d;};}(_0x49beef));}['afterInit'](){const {editor:_0x2b792f}=this,{t:t}=_0x2b792f['locale'],_0xccb259=_0x2b792f['plugins']['get'](_0x5e5ac2),{defaultPositions:_0x5c8437}=_0x2596a5;_0xccb259['register']('footnotesDefinitions',{'ariaLabel':t('Footnotes\x20definitions\x20toolbar'),'items':_0x2b792f['config']['get']('footnotes.footnotesProperties.toolbar'),'balloonClassName':'ck-footnotes-style-balloon\x20ck-toolbar-container','getRelatedElement':_0x5df068=>{let _0xbf6f3d=_0x5df068['getFirstPosition']()?.['parent'];return _0xbf6f3d?.['is']('$text')&&(_0xbf6f3d=_0xbf6f3d['parent']),_0xbf6f3d?.['is']('element')?_0xbf6f3d['findAncestor'](Q):null;},'positions':[_0x5c8437['southArrowNorth'],_0x5c8437['southArrowNorthMiddleWest'],_0x5c8437['southArrowNorthMiddleEast'],_0x5c8437['southArrowNorthWest'],_0x5c8437['southArrowNorthEast'],_0x5c8437['northArrowSouth'],_0x5c8437['northArrowSouthMiddleWest'],_0x5c8437['northArrowSouthMiddleEast'],_0x5c8437['northArrowSouthWest'],_0x5c8437['northArrowSouthEast'],_0x5c8437['viewportStickyNorth']]});}}class ft extends _0xc7f63b{static get['pluginName'](){return'FootnotesProperties';}static get['requires'](){return[P,j];}static get['isOfficialPlugin'](){return!0x0;}static get['isPremiumPlugin'](){return!0x0;}}export{lt as Footnotes,e as FootnotesClipboard,r as FootnotesEditing,ft as FootnotesProperties,P as FootnotesPropertiesEditing,j as FootnotesPropertiesUI,C as FootnotesStartCommand,S as FootnotesStyleCommand,f as FootnotesTracker,i as FootnotesUI,h as InsertFootnoteCommand};
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- export default{'af':{'dictionary':{'Footnote':'','Footnotes':'','Footnotes\x20properties':'','Footnotes\x20start\x20at':'','Invalid\x20footnotes\x20start\x20index\x20value.':'','Footnotes\x20start\x20index\x20is\x20too\x20large.':'','Footnotes\x20start\x20index\x20must\x20be\x20greater\x20than\x200.':'','Footnote\x20%0.\x20Press\x20ENTER\x20to\x20jump\x20to\x20footnote\x20definition.':'','Footnote\x20content.':'','Footnotes\x20definitions\x20styles':'','Footnotes\x20definitions\x20toolbar':'','Insert\x20footnote':'','Footnotes\x20style':'','Toggle\x20the\x20decimal\x20footnotes\x20style':'','Decimal\x20footnotes':'','Toggle\x20the\x20decimal\x20with\x20leading\x20zero\x20footnotes\x20style':'','Decimal\x20footnotes\x20with\x20leading\x20zero':'','Lower–roman\x20footnotes':'','Upper-roman\x20footnotes':'','Lower-latin\x20footnotes':'','Upper-latin\x20footnotes':'','Toggle\x20the\x20lower–roman\x20footnotes\x20style':'','Toggle\x20the\x20upper–roman\x20footnotes\x20style':'','Toggle\x20the\x20lower–latin\x20footnotes\x20style':'','Toggle\x20the\x20upper–latin\x20footnotes\x20style':''},'getPluralForm':_0x156bbf=>0x1!=_0x156bbf}};
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':_0x1df589=>0x1!=_0x1df589}};
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- (_0xca4484=>{const {af:{dictionary:_0x542750,getPluralForm:_0x5cb715}}={'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':_0xf03f98=>0x1!=_0xf03f98}};_0xca4484['af']||={'dictionary':{},'getPluralForm':null},_0xca4484['af']['dictionary']=Object['assign'](_0xca4484['af']['dictionary'],_0x542750),_0xca4484['af']['getPluralForm']=_0x5cb715;})(window['CKEDITOR_TRANSLATIONS']||={});
23
+ (_0x31a59e=>{const {af:{dictionary:_0x276600,getPluralForm:_0xf036a}}={'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':_0x4667b4=>0x1!=_0x4667b4}};_0x31a59e['af']||={'dictionary':{},'getPluralForm':null},_0x31a59e['af']['dictionary']=Object['assign'](_0x31a59e['af']['dictionary'],_0x276600),_0x31a59e['af']['getPluralForm']=_0xf036a;})(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':_0x24fe88=>0x0==_0x24fe88?0x0:0x1==_0x24fe88?0x1:0x2==_0x24fe88?0x2:_0x24fe88%0x64>=0x3&&_0x24fe88%0x64<=0xa?0x3:_0x24fe88%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':_0x420629=>0x0==_0x420629?0x0:0x1==_0x420629?0x1:0x2==_0x420629?0x2:_0x420629%0x64>=0x3&&_0x420629%0x64<=0xa?0x3:_0x420629%0x64>=0xb?0x4:0x5}};
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- (_0x4e9299=>{const {ar:{dictionary:_0x285929,getPluralForm:_0x3a743a}}={'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':_0x49f6b7=>0x0==_0x49f6b7?0x0:0x1==_0x49f6b7?0x1:0x2==_0x49f6b7?0x2:_0x49f6b7%0x64>=0x3&&_0x49f6b7%0x64<=0xa?0x3:_0x49f6b7%0x64>=0xb?0x4:0x5}};_0x4e9299['ar']||={'dictionary':{},'getPluralForm':null},_0x4e9299['ar']['dictionary']=Object['assign'](_0x4e9299['ar']['dictionary'],_0x285929),_0x4e9299['ar']['getPluralForm']=_0x3a743a;})(window['CKEDITOR_TRANSLATIONS']||={});
23
+ (_0x3fc265=>{const {ar:{dictionary:_0x2f8cd5,getPluralForm:_0x1f6d75}}={'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':_0x18b8be=>0x0==_0x18b8be?0x0:0x1==_0x18b8be?0x1:0x2==_0x18b8be?0x2:_0x18b8be%0x64>=0x3&&_0x18b8be%0x64<=0xa?0x3:_0x18b8be%0x64>=0xb?0x4:0x5}};_0x3fc265['ar']||={'dictionary':{},'getPluralForm':null},_0x3fc265['ar']['dictionary']=Object['assign'](_0x3fc265['ar']['dictionary'],_0x2f8cd5),_0x3fc265['ar']['getPluralForm']=_0x1f6d75;})(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':_0x37f283=>0x1!=_0x37f283}};
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':_0xebcd2f=>0x1!=_0xebcd2f}};
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- (_0x4ff9d4=>{const {ast:{dictionary:_0x1e3bdf,getPluralForm:_0x5badab}}={'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':_0x3dade2=>0x1!=_0x3dade2}};_0x4ff9d4['ast']||={'dictionary':{},'getPluralForm':null},_0x4ff9d4['ast']['dictionary']=Object['assign'](_0x4ff9d4['ast']['dictionary'],_0x1e3bdf),_0x4ff9d4['ast']['getPluralForm']=_0x5badab;})(window['CKEDITOR_TRANSLATIONS']||={});
23
+ (_0x2d3cb4=>{const {ast:{dictionary:_0x5b0276,getPluralForm:_0xe04bdc}}={'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':_0x161fb5=>0x1!=_0x161fb5}};_0x2d3cb4['ast']||={'dictionary':{},'getPluralForm':null},_0x2d3cb4['ast']['dictionary']=Object['assign'](_0x2d3cb4['ast']['dictionary'],_0x5b0276),_0x2d3cb4['ast']['getPluralForm']=_0xe04bdc;})(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':_0x27a168=>0x1!=_0x27a168}};
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':_0xff5b83=>0x1!=_0xff5b83}};
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- (_0x1d0feb=>{const {az:{dictionary:_0x39c0e4,getPluralForm:_0xa012f1}}={'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':_0x538502=>0x1!=_0x538502}};_0x1d0feb['az']||={'dictionary':{},'getPluralForm':null},_0x1d0feb['az']['dictionary']=Object['assign'](_0x1d0feb['az']['dictionary'],_0x39c0e4),_0x1d0feb['az']['getPluralForm']=_0xa012f1;})(window['CKEDITOR_TRANSLATIONS']||={});
23
+ (_0x1e2e54=>{const {az:{dictionary:_0x4b1df2,getPluralForm:_0x28f139}}={'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':_0x41808e=>0x1!=_0x41808e}};_0x1e2e54['az']||={'dictionary':{},'getPluralForm':null},_0x1e2e54['az']['dictionary']=Object['assign'](_0x1e2e54['az']['dictionary'],_0x4b1df2),_0x1e2e54['az']['getPluralForm']=_0x28f139;})(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':_0x50db88=>_0x50db88%0xa==0x1&&_0x50db88%0x64!=0xb?0x0:_0x50db88%0xa>=0x2&&_0x50db88%0xa<=0x4&&(_0x50db88%0x64<0xa||_0x50db88%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':_0x50cdfb=>_0x50cdfb%0xa==0x1&&_0x50cdfb%0x64!=0xb?0x0:_0x50cdfb%0xa>=0x2&&_0x50cdfb%0xa<=0x4&&(_0x50cdfb%0x64<0xa||_0x50cdfb%0x64>=0x14)?0x1:0x2}};