@ckeditor/ckeditor5-footnotes 47.7.0-alpha.1 → 47.7.0-alpha.2

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 _0x25c422,Command as _0x463e8d}from'@ckeditor/ckeditor5-core/dist/index.js';import{toWidget as _0x1c46e6,isWidget as _0x4ffe7e,toWidgetEditable as _0x350ef6,WidgetToolbarRepository as _0x32e20a}from'@ckeditor/ckeditor5-widget/dist/index.js';import{uid as _0x116418,logWarning as _0x5accab,FocusTracker as ot,KeystrokeHandler as rt,global as nt}from'@ckeditor/ckeditor5-utils/dist/index.js';import{PointerObserver as _0x309d51,ClickObserver as _0x3ff2ff}from'@ckeditor/ckeditor5-engine/dist/index.js';import{ClipboardPipeline as _0x11df15}from'@ckeditor/ckeditor5-clipboard/dist/index.js';import{MenuBarMenuListItemButtonView as _0x30ee12,ButtonView as _0x1ada6b,View as _0x16393e,ViewCollection as _0x45189c,FocusCycler as _0xf78368,addKeyboardHandlingForGrid as tt,CollapsibleView as st,LabeledFieldView as it,createLabeledInputNumber as et,ContextualBalloon as _0x5dce42,BalloonPanelView as _0x172e76,createDropdown as _0x121468}from'@ckeditor/ckeditor5-ui/dist/index.js';import{IconFootnote as _0x3af843,IconListStyleDecimal as _0x5e3521,IconListStyleDecimalLeadingZero as _0x4bd19e,IconListStyleLowerRoman as _0x3e81bd,IconListStyleUpperRoman as _0x365514,IconListStyleLowerLatin as _0x4637bf,IconListStyleUpperLatin as _0x14a30e}from'@ckeditor/ckeditor5-icons/dist/index.js';class F{['_model'];['_elementName'];['_getElementKey'];['_trackedElements']=new Map();constructor(_0x42254e,_0x11d05f){this['_model']=_0x42254e,this['_elementName']=_0x11d05f['elementName'],this['_getElementKey']=_0x11d05f['getElementKey'];}['reset'](){this['_trackedElements']['clear']();}['getChanges'](_0x3697fe){const _0x26304e=new Set(),_0x393c11=new Map();for(const _0x50c622 of _0x3697fe){if('insert'===_0x50c622['type']&&'$text'!==_0x50c622['name']&&_0x50c622['position']['nodeAfter']){const _0x3476d8=this['_model']['createRangeOn'](_0x50c622['position']['nodeAfter']);for(const _0x302abb of _0x3476d8['getItems']()){if(!_0x302abb['is']('element',this['_elementName']))continue;const _0x17bb3c=this['_getElementKey'](_0x302abb);_0x393c11['has'](_0x17bb3c)||_0x393c11['set'](_0x17bb3c,[]),_0x393c11['get'](_0x17bb3c)['push'](_0x302abb);}}if('remove'===_0x50c622['type']&&_0x50c622['name']===this['_elementName']){const _0x1bc652=this['_getElementKey']({'getAttribute':_0x5dcf34=>_0x50c622['attributes']['get'](_0x5dcf34)});_0x26304e['add'](_0x1bc652);}}for(const [_0x1658cd,_0x435c53]of this['_trackedElements'])'$graveyard'===_0x435c53['root']['rootName']&&_0x26304e['add'](_0x1658cd);for(const _0x88a46f of _0x26304e)this['_trackedElements']['delete'](_0x88a46f);for(const [_0x224b80,_0x44f2b5]of _0x393c11)this['_trackedElements']['set'](_0x224b80,_0x44f2b5[_0x44f2b5['length']-0x1]);const _0x210f2a=new Set();for(const [_0x4c766e,_0x15e593]of _0x393c11)_0x26304e['has'](_0x4c766e)&&(_0x210f2a['add'](_0x15e593[0x0]),_0x15e593['length']>0x1?_0x393c11['set'](_0x4c766e,_0x15e593['slice'](0x1)):_0x393c11['delete'](_0x4c766e),_0x26304e['delete'](_0x4c766e));return{'removed':Array['from'](_0x26304e),'inserted':Array['from'](_0x393c11['values']())['flat'](),'moved':Array['from'](_0x210f2a)};}}class f extends _0x25c422{['_footnotes']=[];['_footnotesDefinitions']=null;['_footnoteFormatter']=null;['_footnoteDefsContainerTracker'];['_footnoteRefsTracker'];['_footnoteDefsTracker'];static get['pluginName'](){return'FootnotesTracker';}static get['isOfficialPlugin'](){return!0x0;}static get['isPremiumPlugin'](){return!0x0;}constructor(_0x547e94){super(_0x547e94),this['_footnoteDefsContainerTracker']=new F(this['editor']['model'],{'elementName':'footnotesDefinitions','getElementKey':()=>'singleton'}),this['_footnoteRefsTracker']=new F(this['editor']['model'],{'elementName':'footnoteRef','getElementKey':_0x5bae91=>_0x5bae91['getAttribute']('footnoteId')}),this['_footnoteDefsTracker']=new F(this['editor']['model'],{'elementName':'footnoteDefinition','getElementKey':_0x20901d=>_0x20901d['getAttribute']('footnoteId')});}['init'](){const {editor:_0x39243a}=this,{model:_0x3106ac,data:_0x4ca52d}=_0x39243a;_0x3106ac['document']['registerPostFixer'](_0x176593=>{const _0x5b5298=_0x3106ac['document']['differ']['getChanges']();let _0x32c94b=!0x1;return this['_handleFootnotesDefinitionsObjectChanges'](_0x176593,_0x5b5298)&&(_0x32c94b=!0x0),this['_handleFootnoteDefinitionsChanges'](_0x176593,_0x5b5298)&&(_0x32c94b=!0x0),this['_handleFootnoteReferencesChanges'](_0x176593,_0x5b5298)&&(_0x32c94b=!0x0),this['_ensureFootnotesReferencesHaveProperOrder'](_0x176593)&&(_0x32c94b=!0x0),this['_handleFootnotesDefinitionsObjectSync'](_0x176593)&&(_0x32c94b=!0x0),this['_sortFootnoteDefinitions'](_0x176593)&&(_0x32c94b=!0x0),_0x32c94b;}),this['listenTo'](_0x3106ac['document'],'change:data',()=>{_0x3106ac['enqueueChange']({'isUndoable':!0x1},_0x2ef923=>{this['_ensureFootnotesDefinitionsContainerExists'](_0x2ef923);});},{'priority':'low'}),this['listenTo'](_0x4ca52d,'set',()=>{this['_footnotes']=[],this['_footnoteDefsContainerTracker']['reset'](),this['_footnoteRefsTracker']['reset'](),this['_footnoteDefsTracker']['reset']();},{'priority':'high'});}['getFootnotesDefinitionsObjectElement'](){return this['_footnotesDefinitions'];}['getFootnote'](_0x1c7307){return this['_footnotes']['find'](_0x32f540=>_0x32f540['id']===_0x1c7307)||null;}['getFootnotes'](){return Array['from'](this['_footnotes']);}['getFootnotesFormatter'](){return this['_footnoteFormatter'];}['setFootnoteFormatter'](_0x19725f){this['_footnoteFormatter']=_0x19725f;}['_updateFootnotesCounters'](_0x20ec52,_0x49da16=0x0){let _0x300cac=!0x1;for(let _0x2d84ce=_0x49da16;_0x2d84ce<this['_footnotes']['length'];_0x2d84ce++)this['_updateFootnoteRefCounter'](_0x20ec52,_0x2d84ce)&&(_0x300cac=!0x0);return _0x300cac;}['_insertEmptyFootnotesDefinitionsContainer'](_0x2fa441,_0x10b498){const _0x61dba7=_0x2fa441['createElement']('footnotesDefinitions',{});return _0x2fa441['append'](_0x61dba7,_0x10b498),this['_footnotesDefinitions']=_0x61dba7,_0x61dba7;}['_ensureFootnotesDefinitionsContainerExists'](_0x99d0c0){if(!this['_footnotes']['length']||this['_footnotesDefinitions'])return;const _0x9ffb37=this['_footnotes'][0x0]['reference']['root'],_0x4e1f4e=this['_insertEmptyFootnotesDefinitionsContainer'](_0x99d0c0,_0x9ffb37);for(const _0x5db004 of this['_footnotes'])_0x5db004['definition']['parent']||_0x99d0c0['insert'](_0x5db004['definition'],_0x4e1f4e,'end');this['_updateFootnotesCounters'](_0x99d0c0);}['_handleFootnotesDefinitionsObjectChanges'](_0x253d8a,_0x465870){let _0x4bec12=!0x1;const {inserted:_0x2d6213,removed:_0x49993c,moved:_0x9f21ef}=this['_footnoteDefsContainerTracker']['getChanges'](_0x465870);if(_0x9f21ef['length']&&(this['_footnotesDefinitions']=_0x9f21ef[0x0]),_0x2d6213['length']){if(_0x2d6213['length']>0x1||this['_footnotesDefinitions']&&_0x2d6213['some'](_0x1373e0=>_0x1373e0!==this['_footnotesDefinitions'])){const _0xca2566=_0x253d8a['createElement']('footnotesDefinitions',{}),_0x58ab2f=[];this['_footnotesDefinitions']&&_0x58ab2f['push'](this['_footnotesDefinitions']),_0x58ab2f['push'](..._0x2d6213),_0x253d8a['insert'](_0xca2566,_0x58ab2f[0x0],'before');for(const _0x17b58e of _0x58ab2f)_0x253d8a['move'](_0x253d8a['createRangeIn'](_0x17b58e),_0x253d8a['createPositionAt'](_0xca2566,'end')),_0x253d8a['remove'](_0x17b58e);this['_footnotesDefinitions']=_0xca2566,this['_updateFootnotesCounters'](_0x253d8a),_0x4bec12=!0x0;}else this['_footnotesDefinitions']=_0x2d6213[0x0];}if(_0x49993c['length']&&'$graveyard'===this['_footnotesDefinitions']?.['root']['rootName']){for(const _0x5ee1f7 of this['_footnotes'])_0x253d8a['remove'](_0x5ee1f7['reference']),_0x4bec12=!0x0;this['_footnotes']=[],this['_footnotesDefinitions']=null;}return _0x4bec12;}['_handleFootnoteDefinitionsChanges'](_0x215099,_0x5b3622){let _0x2af737=!0x1;const _0x31053a=this['editor']['config']['get']('footnotes.multiBlock'),{inserted:_0xf90042,moved:_0x2e3716}=this['_footnoteDefsTracker']['getChanges'](_0x5b3622);for(const _0x27fee1 of[..._0x2e3716,..._0xf90042]){const _0x5c81fc=_0x27fee1['getAttribute']('footnoteId'),_0x330c3f=this['getFootnote'](_0x5c81fc);_0x330c3f&&(_0x330c3f['definition']=_0x27fee1),_(_0x215099,_0x31053a,_0x27fee1)&&(_0x2af737=!0x0);}return _0x2af737;}['_handleFootnoteReferencesChanges'](_0x3f2460,_0x15eeb2){let _0x27d5fc=!0x1;const {removed:_0x456ffa,inserted:_0x3d0794,moved:_0x3dfae5}=this['_footnoteRefsTracker']['getChanges'](_0x15eeb2);for(const _0x172c60 of _0x456ffa)this['_handleRemoveFootnoteReferenceById'](_0x3f2460,_0x172c60)&&(_0x27d5fc=!0x0);for(const _0x3d5cc3 of _0x3d0794)this['_handleInsertedFootnoteReference'](_0x3f2460,_0x3d5cc3)&&(_0x27d5fc=!0x0);for(const _0x13e77d of _0x3dfae5)this['_handleMovedFootnoteReference'](_0x3f2460,_0x13e77d)&&(_0x27d5fc=!0x0);return _0x27d5fc;}['_handleFootnotesDefinitionsObjectSync'](_0x5c838c){if(!this['_footnotesDefinitions'])return!0x1;let _0x1a50d1=!0x1;if(this['_footnotesDefinitions']['childCount']!==this['_footnotes']['length']){const _0x77a27e=[];for(const _0x1344f5 of this['_footnotesDefinitions']['getChildren']()){const _0x52220c=_0x1344f5['getAttribute']('footnoteId');this['getFootnote'](_0x52220c)||(_0x77a27e['unshift'](_0x1344f5),_0x1a50d1=!0x0);}for(const _0x4c151e of _0x77a27e)_0x5c838c['remove'](_0x4c151e);}const _0x1daefe=new Set(),_0x241ca5=[];for(const _0x485f69 of this['_footnotesDefinitions']['getChildren']()){const _0x594968=_0x485f69['getAttribute']('footnoteId');_0x1daefe['has'](_0x594968)?(_0x241ca5['unshift'](_0x485f69),_0x1a50d1=!0x0):_0x1daefe['add'](_0x594968);}for(const _0x4dbd47 of _0x241ca5)_0x5c838c['remove'](_0x4dbd47);return this['_footnotesDefinitions']['childCount']||(_0x5c838c['remove'](this['_footnotesDefinitions']),this['_footnotesDefinitions']=null,_0x1a50d1=!0x0),_0x1a50d1;}['_handleInsertedFootnoteReference'](_0x5cea7d,_0x366307){if(this['_footnotes']['find'](_0x49f93b=>_0x49f93b['reference']===_0x366307))return!0x1;let _0x57d58c=!0x1;const _0x4b9c91=_0x366307['getAttribute']('footnoteId'),_0x37f3a6=this['_footnotes']['findIndex'](_0x4cf724=>_0x4cf724['id']===_0x4b9c91);-0x1!==_0x37f3a6&&(_0x5cea7d['remove'](this['_footnotes'][_0x37f3a6]['reference']),this['_footnotes']['splice'](_0x37f3a6,0x1),_0x57d58c=!0x0);let _0x10172b=this['_footnotesDefinitions']?function(_0xa72f91,_0x2dd9f3){for(const _0x3645c3 of _0xa72f91['getChildren']())if(_0x3645c3['getAttribute']('footnoteId')===_0x2dd9f3)return _0x3645c3;return null;}(this['_footnotesDefinitions'],_0x4b9c91):null;_0x10172b||(_0x10172b=_0x5cea7d['createElement']('footnoteDefinition',{'footnoteId':_0x4b9c91}),this['_footnotesDefinitions']&&(_0x5cea7d['insert'](_0x10172b,this['_footnotesDefinitions'],'end'),_0x57d58c=!0x0));const _0x105063={'id':_0x4b9c91,'reference':_0x366307,'definition':_0x10172b},_0x24e3a8=I(this['editor']['model'],this['_footnotes'],_0x366307);this['_footnotes']['splice'](_0x24e3a8,0x0,_0x105063);let _0x45b878=_0x24e3a8;return-0x1!==_0x37f3a6&&(_0x45b878=Math['min'](_0x24e3a8,_0x37f3a6)),this['_updateFootnotesCounters'](_0x5cea7d,_0x45b878)&&(_0x57d58c=!0x0),_0x57d58c;}['_handleRemoveFootnoteReferenceById'](_0x29a9e2,_0x11670d){const _0x4e286f=this['_footnotes']['findIndex'](_0x1e21da=>_0x1e21da['id']===_0x11670d);if(-0x1===_0x4e286f)return!0x1;let _0x50b6b6=!0x1;const _0x3e7160=this['_footnotes'][_0x4e286f];return'$graveyard'!==_0x3e7160['definition']['root']['rootName']&&(_0x29a9e2['remove'](_0x3e7160['definition']),_0x50b6b6=!0x0),this['_footnotes']['splice'](_0x4e286f,0x1),this['_updateFootnotesCounters'](_0x29a9e2,_0x4e286f)&&(_0x50b6b6=!0x0),_0x50b6b6;}['_handleMovedFootnoteReference'](_0x597c09,_0x31dee1){const _0x41b95d=_0x31dee1['getAttribute']('footnoteId'),_0x194dfa=this['_footnotes']['findIndex'](_0x3d4616=>_0x3d4616['id']===_0x41b95d),_0x365288=this['_footnotes'][_0x194dfa];let _0x3f4de6=!0x1;_0x365288['reference']=_0x31dee1,this['_footnotes']['splice'](_0x194dfa,0x1);const _0x324844=I(this['editor']['model'],this['_footnotes'],_0x31dee1);return this['_footnotes']['splice'](_0x324844,0x0,_0x365288),this['_updateFootnotesCounters'](_0x597c09,Math['min'](_0x194dfa,_0x324844))&&(_0x3f4de6=!0x0),_0x3f4de6;}['_updateFootnoteRefCounter'](_0x1d352c,_0x15e831){if(!this['_footnotesDefinitions'])return!0x1;const _0x5abd88=this['_footnotes'][_0x15e831];let _0xdcf69d;return _0xdcf69d=this['_footnoteFormatter']?this['_footnoteFormatter']({'footnote':_0x5abd88,'container':this['_footnotesDefinitions'],'digits':String(this['_footnotes']['length'])['length'],'value':_0x15e831+0x1}):String(_0x15e831+0x1),_0x5abd88['reference']['getAttribute']('footnoteCounter')!=_0xdcf69d&&(_0x1d352c['setAttribute']('footnoteCounter',_0xdcf69d,_0x5abd88['reference']),!0x0);}['_sortFootnoteDefinitions'](_0x28379f){if(!this['_footnotesDefinitions']||this['_footnotes']['length']<0x2)return!0x1;if(function(_0x253a5d,_0x4779c1){if(_0x253a5d['length']!==_0x4779c1['length'])return!0x1;for(let _0x25252a=0x0;_0x25252a<_0x253a5d['length'];_0x25252a++)if(_0x253a5d[_0x25252a]!==_0x4779c1[_0x25252a])return!0x1;return!0x0;}(this['_footnotes']['map'](_0x4e42dc=>_0x4e42dc['id']),Array['from'](this['_footnotesDefinitions']['getChildren']())['map'](_0x37a5b1=>_0x37a5b1['getAttribute']('footnoteId'))))return!0x1;let _0x3ffd1d=!0x1;for(let _0x1047a2=0x0;_0x1047a2<this['_footnotes']['length'];_0x1047a2++){const _0x2d4bad=this['_footnotes'][_0x1047a2],_0x57968f=_0x28379f['createPositionBefore'](_0x2d4bad['definition']),_0x4d7190=_0x28379f['createPositionAt'](this['_footnotesDefinitions'],_0x1047a2);_0x57968f['isEqual'](_0x4d7190)||(_0x28379f['move'](_0x28379f['createRangeOn'](_0x2d4bad['definition']),_0x4d7190),_0x3ffd1d=!0x0);}return _0x3ffd1d;}['_ensureFootnotesReferencesHaveProperOrder'](_0x381e2a){if(!this['_footnotes']['length'])return!0x1;const {model:_0x3259c4}=this['editor'];let _0x27e502=!0x1;for(let _0x207de3=0x0;_0x207de3<this['_footnotes']['length']-0x1;_0x207de3++){const _0x5ef3f2=this['_footnotes'][_0x207de3],_0x4b9185=this['_footnotes'][_0x207de3+0x1],_0x316b0c=_0x3259c4['createPositionBefore'](_0x5ef3f2['reference']),_0x598b3b=_0x3259c4['createPositionBefore'](_0x4b9185['reference']);'after'===_0x316b0c['compareWith'](_0x598b3b)&&(this['_handleMovedFootnoteReference'](_0x381e2a,_0x5ef3f2['reference']),_0x207de3=-0x1,_0x27e502=!0x0);}return _0x27e502;}}function _(_0x4223b6,_0x39a4d2,_0x1621b2){if(_0x1621b2['childCount'])return!0x1;const _0x40e9a2=_0x39a4d2?'paragraph':'footnoteInlineContent';return _0x4223b6['insert'](_0x4223b6['createElement'](_0x40e9a2),_0x1621b2),!0x0;}function I(_0x1e1c84,_0xa0d10,_0x53f19f){if(0x0===_0xa0d10['length'])return 0x0;const _0x22f446=_0x1e1c84['createPositionBefore'](_0x53f19f);for(let _0x14a5fb=0x0;_0x14a5fb<_0xa0d10['length'];_0x14a5fb++){const _0x31ec2e=_0xa0d10[_0x14a5fb],_0x6b3b49=_0x1e1c84['createPositionBefore'](_0x31ec2e['reference']);if('before'===_0x22f446['compareWith'](_0x6b3b49))return _0x14a5fb;}const _0x1f83ad=_0x53f19f['root'];let _0x319110=-0x1;for(let _0x496d70=_0xa0d10['length']-0x1;_0x496d70>=0x0;_0x496d70--)if(_0xa0d10[_0x496d70]['reference']['root']===_0x1f83ad){_0x319110=_0x496d70;break;}if(-0x1!==_0x319110)return _0x319110+0x1;const _0x7cbe22=_0x1e1c84['document']['getRootNames'](),_0x41644d=_0x7cbe22['indexOf'](_0x1f83ad['rootName']),_0x46a342=_0x7cbe22[_0x41644d+0x1];if(_0x46a342){for(let _0x4c293b=0x0;_0x4c293b<_0xa0d10['length'];_0x4c293b++)if(_0xa0d10[_0x4c293b]['reference']['root']['rootName']===_0x46a342)return _0x4c293b;}return _0xa0d10['length'];}class h extends _0x463e8d{['refresh'](){const _0x437281=this['editor']['model']['document']['selection'],_0x1ea0e8=this['_getPositionToInsertFootnote'](_0x437281);this['isEnabled']=!!_0x1ea0e8;}['execute'](_0x3a07c7){const {editor:_0x3c3ed3}=this,{model:_0x387a9a}=_0x3c3ed3,{selection:_0x480380}=_0x387a9a['document'],_0x1cb919=this['_getPositionToInsertFootnote'](_0x480380);if(!_0x1cb919)return;const _0xcb7108=_0x3c3ed3['plugins']['get']('FootnotesEditing'),_0x20f636=_0x3a07c7?.['footnoteId']??_0x116418();!function(_0x248595){return'string'==typeof _0x248595&&_0x248595['length']>0x0&&!/\s/['test'](_0x248595)&&!/^\d/['test'](_0x248595);}(_0x20f636)?_0x5accab('insert-footnote-command-executed-with-invalid-id'):(_0x387a9a['change'](_0x359b01=>{const _0x467263=_0x359b01['createElement']('footnoteRef',{'footnoteId':_0x20f636});_0x387a9a['insertObject'](_0x467263,_0x1cb919,null);}),_0xcb7108['_moveSelectionToFootnoteDefinition'](_0x20f636));}['_getPositionToInsertFootnote'](_0xfa0490){const {model:_0x2f0f16}=this['editor'],{schema:_0x270b3e}=_0x2f0f16,_0x1f5f7e=_0xfa0490['getFirstRange']();for(const _0x5bb17c of _0x1f5f7e['getItems']())if(_0x270b3e['isBlock'](_0x5bb17c)||_0x270b3e['isObject'](_0x5bb17c))return null;const _0x54afbc=_0x1f5f7e['end'];return _0x270b3e['checkChild'](_0x54afbc,'footnoteRef')?_0x54afbc:null;}}class r extends _0x25c422{static get['pluginName'](){return'FootnotesEditing';}static get['requires'](){return[f];}static get['isOfficialPlugin'](){return!0x0;}static get['isPremiumPlugin'](){return!0x0;}['init'](){const {editor:_0x2e3b48}=this;_0x2e3b48['config']['define']('footnotes.multiBlock',!0x0),_0x2e3b48['commands']['add']('insertFootnote',new h(_0x2e3b48)),this['_defineSchema'](),this['_defineRefsConverters'](),this['_defineDefinitionsConverters'](),this['_defineDefinitionConverters'](),this['_defineBogusParagraphConverters'](),this['_defineKeyboardHandlers'](),this['_defineClickHandlers']();}['afterInit'](){!async function(_0x4d12c0){const _0x2d84c3=_0x24c4fa([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]),_0x188e17=0x47a28506,_0x37276e=0x47a50226^_0x188e17,_0x42d7da=window[_0x24c4fa([0x44,0x61,0x74,0x65])][_0x24c4fa([0x6e,0x6f,0x77])](),_0xe8741e=_0x4d12c0[_0x24c4fa([0x65,0x64,0x69,0x74,0x6f,0x72])],_0x5b487e=new window[(_0x24c4fa([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0x2aad79=>{_0xe8741e[_0x24c4fa([0x6f,0x6e,0x63,0x65])](_0x24c4fa([0x72,0x65,0x61,0x64,0x79]),_0x2aad79);}),_0x56a206={[_0x24c4fa([0x6b,0x74,0x79])]:_0x24c4fa([0x45,0x43]),[_0x24c4fa([0x75,0x73,0x65])]:_0x24c4fa([0x73,0x69,0x67]),[_0x24c4fa([0x63,0x72,0x76])]:_0x24c4fa([0x50,0x2d,0x32,0x35,0x36]),[_0x24c4fa([0x78])]:_0x24c4fa([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]),[_0x24c4fa([0x79])]:_0x24c4fa([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]),[_0x24c4fa([0x61,0x6c,0x67])]:_0x24c4fa([0x45,0x53,0x32,0x35,0x36])},_0x4ab05e=_0xe8741e[_0x24c4fa([0x63,0x6f,0x6e,0x66,0x69,0x67])][_0x24c4fa([0x67,0x65,0x74])](_0x24c4fa([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x4b,0x65,0x79]));async function _0x50a57d(){let _0x36b38d,_0x3d25d4=null,_0x3fabb9=null;try{if(_0x4ab05e==_0x24c4fa([0x47,0x50,0x4c]))return _0x24c4fa([0x4e,0x6f,0x74,0x41,0x6c,0x6c,0x6f,0x77,0x65,0x64]);if(_0x36b38d=_0x3896b1(),!_0x36b38d)return _0x24c4fa([0x49,0x6e,0x76,0x61,0x6c,0x69,0x64]);return _0x36b38d[_0x24c4fa([0x75,0x73,0x61,0x67,0x65,0x45,0x6e,0x64,0x70,0x6f,0x69,0x6e,0x74])]&&(_0x3fabb9=_0x2e934d(_0x36b38d[_0x24c4fa([0x75,0x73,0x61,0x67,0x65,0x45,0x6e,0x64,0x70,0x6f,0x69,0x6e,0x74])],_0x36b38d[_0x24c4fa([0x6a,0x74,0x69])])),await _0x4a16c3()?_0x261cd3()?_0x32b267()?_0x24c4fa([0x45,0x78,0x70,0x69,0x72,0x65,0x64]):_0x373f94()?(_0x36b38d[_0x24c4fa([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x54,0x79,0x70,0x65])]==_0x24c4fa([0x65,0x76,0x61,0x6c,0x75,0x61,0x74,0x69,0x6f,0x6e])&&(_0x3d25d4=_0x10adaf(_0x24c4fa([0x45,0x76,0x61,0x6c,0x75,0x61,0x74,0x69,0x6f,0x6e,0x4c,0x69,0x6d,0x69,0x74]))),await _0xa7f271()):_0x24c4fa([0x44,0x6f,0x6d,0x61,0x69,0x6e,0x4c,0x69,0x6d,0x69,0x74]):_0x24c4fa([0x4e,0x6f,0x74,0x41,0x6c,0x6c,0x6f,0x77,0x65,0x64]):_0x24c4fa([0x49,0x6e,0x76,0x61,0x6c,0x69,0x64]);}catch{return _0x24c4fa([0x49,0x6e,0x76,0x61,0x6c,0x69,0x64]);}function _0x32b267(){const _0x5d72f7=[_0x24c4fa([0x65,0x76,0x61,0x6c,0x75,0x61,0x74,0x69,0x6f,0x6e]),_0x24c4fa([0x74,0x72,0x69,0x61,0x6c])][_0x24c4fa([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x36b38d[_0x24c4fa([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x54,0x79,0x70,0x65])])?_0x42d7da/0x3e8:0xe10*_0x37276e;return _0x36b38d[_0x24c4fa([0x65,0x78,0x70])]<_0x5d72f7;}function _0x261cd3(){const _0x18e002=_0x36b38d[_0x24c4fa([0x66,0x65,0x61,0x74,0x75,0x72,0x65,0x73])];return!!_0x18e002&&(!!_0x18e002[_0x24c4fa([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x24c4fa([0x2a]))||!!_0x18e002[_0x24c4fa([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x24c4fa([0x46,0x4f,0x4f])));}function _0x373f94(){const _0x2e796d=_0x36b38d[_0x24c4fa([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x64,0x48,0x6f,0x73,0x74,0x73])];if(!_0x2e796d||0x0==_0x2e796d[_0x24c4fa([0x6c,0x65,0x6e,0x67,0x74,0x68])])return!0x0;const {hostname:_0x5d7946}=new URL(window[_0x24c4fa([0x6c,0x6f,0x63,0x61,0x74,0x69,0x6f,0x6e])]['href']);if(_0x2e796d[_0x24c4fa([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x5d7946))return!0x0;const _0x1673dc=_0x5d7946[_0x24c4fa([0x73,0x70,0x6c,0x69,0x74])](_0x24c4fa([0x2e]));return _0x2e796d[_0x24c4fa([0x66,0x69,0x6c,0x74,0x65,0x72])](_0x3e3ba3=>_0x3e3ba3[_0x24c4fa([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x24c4fa([0x2a])))[_0x24c4fa([0x6d,0x61,0x70])](_0x1ae27e=>_0x1ae27e[_0x24c4fa([0x73,0x70,0x6c,0x69,0x74])](_0x24c4fa([0x2e])))[_0x24c4fa([0x66,0x69,0x6c,0x74,0x65,0x72])](_0x3729b5=>_0x3729b5[_0x24c4fa([0x6c,0x65,0x6e,0x67,0x74,0x68])]<=_0x1673dc[_0x24c4fa([0x6c,0x65,0x6e,0x67,0x74,0x68])])[_0x24c4fa([0x6d,0x61,0x70])](_0x2e03de=>Array(_0x1673dc[_0x24c4fa([0x6c,0x65,0x6e,0x67,0x74,0x68])]-_0x2e03de[_0x24c4fa([0x6c,0x65,0x6e,0x67,0x74,0x68])])[_0x24c4fa([0x66,0x69,0x6c,0x6c])](_0x2e03de[0x0]===_0x24c4fa([0x2a])?_0x24c4fa([0x2a]):'')[_0x24c4fa([0x63,0x6f,0x6e,0x63,0x61,0x74])](_0x2e03de))[_0x24c4fa([0x73,0x6f,0x6d,0x65])](_0x3ee55a=>_0x1673dc[_0x24c4fa([0x65,0x76,0x65,0x72,0x79])]((_0x79341e,_0x2fcbf2)=>_0x3ee55a[_0x2fcbf2]===_0x79341e||_0x3ee55a[_0x2fcbf2]===_0x24c4fa([0x2a])));}function _0xa7f271(){return _0x3d25d4&&_0x3fabb9?new window[(_0x24c4fa([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))]((_0x4b016f,_0x414928)=>{_0x3d25d4[_0x24c4fa([0x74,0x68,0x65,0x6e])](_0x4b016f,_0x414928),_0x3fabb9[_0x24c4fa([0x74,0x68,0x65,0x6e])](_0x5bfabc=>{_0x5bfabc!=_0x24c4fa([0x56,0x61,0x6c,0x69,0x64])&&_0x4b016f(_0x5bfabc);},_0x414928);}):_0x3d25d4||_0x3fabb9||_0x24c4fa([0x56,0x61,0x6c,0x69,0x64]);}}function _0x2e934d(_0x12c70b,_0x41e09e){return new window[(_0x24c4fa([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0x918e24=>{if(_0x2fb4cc())return _0x918e24(_0x24c4fa([0x56,0x61,0x6c,0x69,0x64]));_0x42eb6b(),_0xe8741e[_0x24c4fa([0x64,0x65,0x63,0x6f,0x72,0x61,0x74,0x65])](_0x24c4fa([0x5f,0x73,0x65,0x6e,0x64,0x55,0x73,0x61,0x67,0x65,0x52,0x65,0x71,0x75,0x65,0x73,0x74]));let _0x3dfa3f=!0x1;const _0x17193d=_0x116418();function _0x5b62fd(_0x379b0a){return!!_0x379b0a&&(typeof _0x379b0a===_0x24c4fa([0x6f,0x62,0x6a,0x65,0x63,0x74])||typeof _0x379b0a===_0x24c4fa([0x66,0x75,0x6e,0x63,0x74,0x69,0x6f,0x6e]))&&typeof _0x379b0a[_0x24c4fa([0x74,0x68,0x65,0x6e])]===_0x24c4fa([0x66,0x75,0x6e,0x63,0x74,0x69,0x6f,0x6e])&&typeof _0x379b0a[_0x24c4fa([0x63,0x61,0x74,0x63,0x68])]===_0x24c4fa([0x66,0x75,0x6e,0x63,0x74,0x69,0x6f,0x6e]);}function _0x561147(_0x5d9403){_0x2665f3(_0x5d9403)[_0x24c4fa([0x74,0x68,0x65,0x6e])](_0x4c997d=>{if(!_0x4c997d||_0x4c997d[_0x24c4fa([0x73,0x74,0x61,0x74,0x75,0x73])]!=_0x24c4fa([0x6f,0x6b]))return _0x24c4fa([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]);return _0x136ac5(_0x1499ff(_0x17193d+_0x41e09e))!=_0x4c997d[_0x24c4fa([0x76,0x65,0x72,0x69,0x66,0x69,0x63,0x61,0x74,0x69,0x6f,0x6e])]?_0x24c4fa([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]):_0x24c4fa([0x56,0x61,0x6c,0x69,0x64]);})[_0x24c4fa([0x74,0x68,0x65,0x6e])](_0x466206=>(_0x3f8802(),_0x466206),()=>{const _0x1021a3=_0x12de69();return null==_0x1021a3?(_0x3f8802(),_0x24c4fa([0x56,0x61,0x6c,0x69,0x64])):_0x24c4fa(_0x42d7da-_0x1021a3>(0x63ae0106^_0x188e17)?[0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]:[0x56,0x61,0x6c,0x69,0x64]);})[_0x24c4fa([0x74,0x68,0x65,0x6e])](_0x918e24)[_0x24c4fa([0x63,0x61,0x74,0x63,0x68])](()=>{_0x918e24(_0x24c4fa([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]));});const _0x135358=0x47946b86^_0x188e17;function _0x3f8802(){const _0x4f917c=_0x24c4fa([0x6c,0x6c,0x63,0x74,0x2d])+_0x136ac5(_0x1499ff(_0x12c70b)),_0x468f8d=_0x53cc25(_0x136ac5(window[_0x24c4fa([0x4d,0x61,0x74,0x68])][_0x24c4fa([0x63,0x65,0x69,0x6c])](_0x42d7da/_0x135358)));window[_0x24c4fa([0x6c,0x6f,0x63,0x61,0x6c,0x53,0x74,0x6f,0x72,0x61,0x67,0x65])][_0x24c4fa([0x73,0x65,0x74,0x49,0x74,0x65,0x6d])](_0x4f917c,_0x468f8d);}function _0x12de69(){const _0x8a1f9a=_0x24c4fa([0x6c,0x6c,0x63,0x74,0x2d])+_0x136ac5(_0x1499ff(_0x12c70b)),_0x444105=window[_0x24c4fa([0x6c,0x6f,0x63,0x61,0x6c,0x53,0x74,0x6f,0x72,0x61,0x67,0x65])][_0x24c4fa([0x67,0x65,0x74,0x49,0x74,0x65,0x6d])](_0x8a1f9a);return _0x444105?window[_0x24c4fa([0x70,0x61,0x72,0x73,0x65,0x49,0x6e,0x74])](_0x53cc25(_0x444105),0x10)*_0x135358:null;}function _0x2665f3(_0x276809){return new window[(_0x24c4fa([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))]((_0x402f5c,_0x5323a4)=>{_0x276809[_0x24c4fa([0x74,0x68,0x65,0x6e])](_0x402f5c,_0x5323a4),window[_0x24c4fa([0x73,0x65,0x74,0x54,0x69,0x6d,0x65,0x6f,0x75,0x74])](_0x5323a4,0x47a351c6^_0x188e17);});}}_0xe8741e[_0x24c4fa([0x6f,0x6e])](_0x24c4fa([0x5f,0x73,0x65,0x6e,0x64,0x55,0x73,0x61,0x67,0x65,0x52,0x65,0x71,0x75,0x65,0x73,0x74]),(_0x2e61f3,_0x18ed6a)=>{if(_0x18ed6a[0x0]!=_0x12c70b)return _0x918e24(_0x24c4fa([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]));_0x18ed6a[0x1]={..._0x18ed6a[0x1],[_0x24c4fa([0x72,0x65,0x71,0x75,0x65,0x73,0x74,0x49,0x64])]:_0x17193d};},{[_0x24c4fa([0x70,0x72,0x69,0x6f,0x72,0x69,0x74,0x79])]:_0x24c4fa([0x68,0x69,0x67,0x68])}),_0xe8741e[_0x24c4fa([0x6f,0x6e])](_0x24c4fa([0x5f,0x73,0x65,0x6e,0x64,0x55,0x73,0x61,0x67,0x65,0x52,0x65,0x71,0x75,0x65,0x73,0x74]),_0x3d69b9=>{_0x5b62fd(_0x3d69b9[_0x24c4fa([0x72,0x65,0x74,0x75,0x72,0x6e])])&&(_0x3dfa3f=!0x0,_0x561147(_0x3d69b9[_0x24c4fa([0x72,0x65,0x74,0x75,0x72,0x6e])]));},{[_0x24c4fa([0x70,0x72,0x69,0x6f,0x72,0x69,0x74,0x79])]:_0x24c4fa([0x6c,0x6f,0x77])}),_0x5b487e[_0x24c4fa([0x74,0x68,0x65,0x6e])](()=>{_0x3dfa3f||_0x918e24(_0x24c4fa([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]));});});function _0x2fb4cc(){return _0xe8741e[_0x24c4fa([0x65,0x64,0x69,0x74,0x69,0x6e,0x67])][_0x24c4fa([0x76,0x69,0x65,0x77])][_0x24c4fa([0x5f,0x6f,0x76,0x65,0x72,0x6c,0x61,0x79,0x4d,0x6f,0x64,0x65,0x48,0x69,0x6e,0x74])]==_0x24c4fa([0x61,0x75,0x74,0x6f]);}function _0x42eb6b(){_0xe8741e[_0x24c4fa([0x65,0x64,0x69,0x74,0x69,0x6e,0x67])][_0x24c4fa([0x76,0x69,0x65,0x77])][_0x24c4fa([0x5f,0x6f,0x76,0x65,0x72,0x6c,0x61,0x79,0x4d,0x6f,0x64,0x65,0x48,0x69,0x6e,0x74])]=_0x24c4fa([0x61,0x75,0x74,0x6f]);}}function _0x10adaf(_0x4a1de2){const _0x4cad84=[new window[(_0x24c4fa([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0x24a669=>setTimeout(_0x24a669,0x47abbbca^_0x188e17)),_0x5b487e[_0x24c4fa([0x74,0x68,0x65,0x6e])](()=>new window[(_0x24c4fa([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0x20f1e8=>{let _0xdae4a0=0x0;_0xe8741e[_0x24c4fa([0x6d,0x6f,0x64,0x65,0x6c])][_0x24c4fa([0x6f,0x6e])](_0x24c4fa([0x61,0x70,0x70,0x6c,0x79,0x4f,0x70,0x65,0x72,0x61,0x74,0x69,0x6f,0x6e]),(_0x3d870a,_0x376652)=>{_0x376652[0x0][_0x24c4fa([0x69,0x73,0x44,0x6f,0x63,0x75,0x6d,0x65,0x6e,0x74,0x4f,0x70,0x65,0x72,0x61,0x74,0x69,0x6f,0x6e])]&&_0xdae4a0++,_0xdae4a0==(0x47a280ee^_0x188e17)&&(_0x20f1e8(),_0x3d870a[_0x24c4fa([0x6f,0x66,0x66])]());});}))];return window[_0x24c4fa([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65])][_0x24c4fa([0x72,0x61,0x63,0x65])](_0x4cad84)[_0x24c4fa([0x74,0x68,0x65,0x6e])](()=>_0x4a1de2);}async function _0x517abb(){await _0x5b487e,_0xe8741e[_0x24c4fa([0x6d,0x6f,0x64,0x65,0x6c])][_0x24c4fa([0x63,0x68,0x61,0x6e,0x67,0x65])]=_0x2300c2,_0xe8741e[_0x24c4fa([0x6d,0x6f,0x64,0x65,0x6c])][_0x24c4fa([0x65,0x6e,0x71,0x75,0x65,0x75,0x65,0x43,0x68,0x61,0x6e,0x67,0x65])]=_0x2300c2,_0xe8741e[_0x24c4fa([0x65,0x6e,0x61,0x62,0x6c,0x65,0x52,0x65,0x61,0x64,0x4f,0x6e,0x6c,0x79,0x4d,0x6f,0x64,0x65])](_0x24c4fa([0x6d,0x6f,0x64,0x65,0x6c]));}function _0x5ee478(_0x3f0eeb){const _0x57fe69=_0x4e64b0();_0xe8741e[_0x57fe69]=_0x24c4fa([0x66,0x6f,0x6f,0x74,0x6e,0x6f,0x74,0x65,0x73,0x4c,0x69,0x63,0x65,0x6e,0x73,0x65,0x4b,0x65,0x79])+_0x3f0eeb,_0x3f0eeb!=_0x24c4fa([0x56,0x61,0x6c,0x69,0x64])&&_0x517abb();}function _0x4e64b0(){const _0x59bde3=window[_0x24c4fa([0x53,0x74,0x72,0x69,0x6e,0x67])](window[_0x24c4fa([0x70,0x65,0x72,0x66,0x6f,0x72,0x6d,0x61,0x6e,0x63,0x65])][_0x24c4fa([0x6e,0x6f,0x77])]())[_0x24c4fa([0x72,0x65,0x70,0x6c,0x61,0x63,0x65])](_0x24c4fa([0x2e]),'');let _0x21c657=_0x24c4fa([0x75]);for(let _0x9641fd=0x0;_0x9641fd<_0x59bde3[_0x24c4fa([0x6c,0x65,0x6e,0x67,0x74,0x68])];_0x9641fd+=0x2){let _0x4c800b=window[_0x24c4fa([0x70,0x61,0x72,0x73,0x65,0x49,0x6e,0x74])](_0x59bde3[_0x24c4fa([0x73,0x75,0x62,0x73,0x74,0x72,0x69,0x6e,0x67])](_0x9641fd,_0x9641fd+0x2));_0x4c800b>=_0x2d84c3[_0x24c4fa([0x6c,0x65,0x6e,0x67,0x74,0x68])]&&(_0x4c800b-=_0x2d84c3[_0x24c4fa([0x6c,0x65,0x6e,0x67,0x74,0x68])]),_0x21c657+=_0x2d84c3[_0x4c800b];}return _0x21c657;}function _0x3896b1(){const _0x3c0df8=_0x4ab05e[_0x24c4fa([0x73,0x70,0x6c,0x69,0x74])](_0x24c4fa([0x2e]));if(0x3!=_0x3c0df8[_0x24c4fa([0x6c,0x65,0x6e,0x67,0x74,0x68])])return null;return _0x246549(_0x3c0df8[0x1]);function _0x246549(_0xa32e06){const _0x4f038a=_0x501500(_0xa32e06);return _0x4f038a&&_0x2a2e9a()?_0x4f038a:null;function _0x2a2e9a(){const _0x7e9b0c=_0x4f038a[_0x24c4fa([0x6a,0x74,0x69])],_0x5178f6=window[_0x24c4fa([0x70,0x61,0x72,0x73,0x65,0x49,0x6e,0x74])](_0x7e9b0c[_0x24c4fa([0x73,0x75,0x62,0x73,0x74,0x72,0x69,0x6e,0x67])](_0x7e9b0c[_0x24c4fa([0x6c,0x65,0x6e,0x67,0x74,0x68])]-0x8),0x10),_0x57d53f={..._0x4f038a,[_0x24c4fa([0x6a,0x74,0x69])]:_0x7e9b0c[_0x24c4fa([0x73,0x75,0x62,0x73,0x74,0x72,0x69,0x6e,0x67])](0x0,_0x7e9b0c[_0x24c4fa([0x6c,0x65,0x6e,0x67,0x74,0x68])]-0x8)};return delete _0x57d53f[_0x24c4fa([0x76,0x63])],_0x1499ff(_0x57d53f)==_0x5178f6;}}}async function _0x4a16c3(){let _0x4a5035=!0x0;try{const _0x30d547=_0x4ab05e[_0x24c4fa([0x73,0x70,0x6c,0x69,0x74])](_0x24c4fa([0x2e])),[_0x40dafc,_0x35f73c,_0x36833b]=_0x30d547;return _0x70d367(_0x40dafc),await _0x159f5a(_0x40dafc,_0x35f73c,_0x36833b),_0x4a5035;}catch{return!0x1;}function _0x70d367(_0x3eefb2){const _0x95684=_0x501500(_0x3eefb2);_0x95684&&_0x95684[_0x24c4fa([0x61,0x6c,0x67])]==_0x24c4fa([0x45,0x53,0x32,0x35,0x36])||(_0x4a5035=!0x1);}async function _0x159f5a(_0x245602,_0x2d56e6,_0x30c0bb){const _0x2833a4=window[_0x24c4fa([0x55,0x69,0x6e,0x74,0x38,0x41,0x72,0x72,0x61,0x79])][_0x24c4fa([0x66,0x72,0x6f,0x6d])](_0x45e6a9(_0x30c0bb),_0x112b1f=>_0x112b1f[_0x24c4fa([0x63,0x68,0x61,0x72,0x43,0x6f,0x64,0x65,0x41,0x74])](0x0)),_0x52c3d2=new window[(_0x24c4fa([0x54,0x65,0x78,0x74,0x45,0x6e,0x63,0x6f,0x64,0x65,0x72]))]()[_0x24c4fa([0x65,0x6e,0x63,0x6f,0x64,0x65])](_0x245602+_0x24c4fa([0x2e])+_0x2d56e6),_0x4816c2=window[_0x24c4fa([0x63,0x72,0x79,0x70,0x74,0x6f])][_0x24c4fa([0x73,0x75,0x62,0x74,0x6c,0x65])];if(!_0x4816c2)return;const _0x50b721=await _0x4816c2[_0x24c4fa([0x69,0x6d,0x70,0x6f,0x72,0x74,0x4b,0x65,0x79])](_0x24c4fa([0x6a,0x77,0x6b]),_0x56a206,{[_0x24c4fa([0x6e,0x61,0x6d,0x65])]:_0x24c4fa([0x45,0x43,0x44,0x53,0x41]),[_0x24c4fa([0x6e,0x61,0x6d,0x65,0x64,0x43,0x75,0x72,0x76,0x65])]:_0x24c4fa([0x50,0x2d,0x32,0x35,0x36])},!0x1,[_0x24c4fa([0x76,0x65,0x72,0x69,0x66,0x79])]);await _0x4816c2[_0x24c4fa([0x76,0x65,0x72,0x69,0x66,0x79])]({[_0x24c4fa([0x6e,0x61,0x6d,0x65])]:_0x24c4fa([0x45,0x43,0x44,0x53,0x41]),[_0x24c4fa([0x68,0x61,0x73,0x68])]:{[_0x24c4fa([0x6e,0x61,0x6d,0x65])]:_0x24c4fa([0x53,0x48,0x41,0x2d,0x32,0x35,0x36])}},_0x50b721,_0x2833a4,_0x52c3d2)||(_0x4a5035=!0x1);}}function _0x501500(_0xcdb9ef){return _0xcdb9ef[_0x24c4fa([0x73,0x74,0x61,0x72,0x74,0x73,0x57,0x69,0x74,0x68])](_0x24c4fa([0x65,0x79]))?JSON[_0x24c4fa([0x70,0x61,0x72,0x73,0x65])](_0x45e6a9(_0xcdb9ef)):null;}function _0x45e6a9(_0x529d96){return window[_0x24c4fa([0x61,0x74,0x6f,0x62])](_0x529d96[_0x24c4fa([0x72,0x65,0x70,0x6c,0x61,0x63,0x65])](/-/g,_0x24c4fa([0x2b]))[_0x24c4fa([0x72,0x65,0x70,0x6c,0x61,0x63,0x65])](/_/g,_0x24c4fa([0x2f])));}function _0x1499ff(_0x54677d){let _0x254cad=0x1505;function _0x28f19c(_0x497795){for(let _0x11f404=0x0;_0x11f404<_0x497795[_0x24c4fa([0x6c,0x65,0x6e,0x67,0x74,0x68])];_0x11f404++){const _0x253a2b=_0x497795[_0x24c4fa([0x63,0x68,0x61,0x72,0x43,0x6f,0x64,0x65,0x41,0x74])](_0x11f404);_0x254cad=(_0x254cad<<0x5)+_0x254cad+_0x253a2b,_0x254cad&=_0x254cad;}}function _0x26e145(_0x67b148){Array[_0x24c4fa([0x69,0x73,0x41,0x72,0x72,0x61,0x79])](_0x67b148)?_0x67b148[_0x24c4fa([0x66,0x6f,0x72,0x45,0x61,0x63,0x68])](_0x26e145):_0x67b148&&typeof _0x67b148==_0x24c4fa([0x6f,0x62,0x6a,0x65,0x63,0x74])?Object[_0x24c4fa([0x65,0x6e,0x74,0x72,0x69,0x65,0x73])](_0x67b148)[_0x24c4fa([0x73,0x6f,0x72,0x74])]()[_0x24c4fa([0x66,0x6f,0x72,0x45,0x61,0x63,0x68])](([_0x4430ef,_0x18ad25])=>{_0x28f19c(_0x4430ef),_0x26e145(_0x18ad25);}):_0x28f19c(window[_0x24c4fa([0x53,0x74,0x72,0x69,0x6e,0x67])](_0x67b148));}return _0x26e145(_0x54677d),_0x254cad>>>0x0;}function _0x136ac5(_0x3ab503){return _0x3ab503[_0x24c4fa([0x74,0x6f,0x53,0x74,0x72,0x69,0x6e,0x67])](0x10)[_0x24c4fa([0x70,0x61,0x64,0x53,0x74,0x61,0x72,0x74])](0x8,_0x24c4fa([0x30]));}function _0x53cc25(_0x407cb8){return _0x407cb8[_0x24c4fa([0x73,0x70,0x6c,0x69,0x74])]('')[_0x24c4fa([0x72,0x65,0x76,0x65,0x72,0x73,0x65])]()[_0x24c4fa([0x6a,0x6f,0x69,0x6e])]('');}function _0x2300c2(){}function _0x24c4fa(_0x2c077b){return _0x2c077b['map'](_0x5428a6=>String['fromCharCode'](_0x5428a6))['join']('');}_0x5ee478(await _0x50a57d());}(this);}['_moveSelectionToFootnoteDefinition'](_0x447e6a){const {plugins:_0x3e739b,editing:_0x58080d,model:_0xdcfa55}=this['editor'],_0x42cb14=_0x3e739b['get'](f)['getFootnote'](_0x447e6a);return!!_0x42cb14&&(_0xdcfa55['change'](_0x22e068=>{_0x22e068['setSelection'](_0x22e068['createPositionAt'](_0x42cb14['definition'],'end'));}),_0x58080d['view']['scrollToTheSelection'](),!0x0);}['_moveSelectionToFootnoteReference'](_0x3f6deb){const {plugins:_0x87bfb,editing:_0x2b5c03,model:_0x422399}=this['editor'],_0x8268ca=_0x87bfb['get'](f)['getFootnote'](_0x3f6deb);return!!_0x8268ca&&(_0x422399['change'](_0x42c5f2=>{_0x42c5f2['setSelection'](_0x8268ca['reference'],'on');}),_0x2b5c03['view']['scrollToTheSelection'](),!0x0);}['_defineSchema'](){const {schema:_0x33a129}=this['editor']['model'],_0xb9d90e=this['editor']['config']['get']('footnotes.multiBlock');_0x33a129['register']('footnoteRef',{'inheritAllFrom':'$inlineObject','allowAttributes':['footnoteId','footnoteCounter']}),_0x33a129['register']('footnotesDefinitions',{'inheritAllFrom':'$blockObject','allowChildren':['footnoteDefinition']}),_0x33a129['register']('footnoteDefinition',{'allowAttributes':['footnoteId'],'disallowAttributes':['listItemId'],'isLimit':!0x0}),_0xb9d90e?_0x33a129['extend']('footnoteDefinition',{'allowContentOf':'$container'}):_0x33a129['register']('footnoteInlineContent',{'allowIn':'footnoteDefinition','allowContentOf':'$block','isLimit':!0x0}),_0x33a129['addChildCheck'](_0x406302=>{for(const _0x3438e5 of _0x406302)if('footnoteDefinition'===_0x3438e5['name'])return!0x1;},'footnoteRef');}['_defineRefsConverters'](){const {editor:_0x5aa739}=this,{conversion:_0x579db4,editing:_0x1a4dd8}=_0x5aa739,{t:t}=_0x5aa739['locale'];_0x579db4['for']('upcast')['elementToElement']({'view':{'name':'sup','classes':'footnote'},'model':(_0x3b24f0,{writer:_0x4cd173,consumable:_0x55d2dc})=>{const _0x4776ab=_0x3b24f0['getChild'](0x0);if(!_0x4776ab||!_0x4776ab['is']('element','a'))return null;const _0x292ee6=_0x4776ab['getAttribute']('href')||'';if(!_0x292ee6['startsWith']('#'))return null;const _0x1d73b6=_0x292ee6['replace'](/^#/,'');if(!_0x1d73b6)return null;_0x55d2dc['consume'](_0x4776ab,{'name':!0x0,'attributes':['href']});for(const {item:_0x1c43c4}of _0x1a4dd8['view']['createRangeIn'](_0x4776ab))_0x1c43c4['is']('$textProxy')?_0x55d2dc['consume'](_0x1c43c4['textNode'],{'name':!0x0}):_0x1c43c4['is']('element')&&_0x55d2dc['consume'](_0x1c43c4,{'name':!0x0});return _0x4cd173['createElement']('footnoteRef',{'footnoteId':_0x1d73b6});}}),_0x579db4['for']('dataDowncast')['elementToElement']({'model':{'name':'footnoteRef','attributes':['footnoteId','footnoteCounter']},'view':(_0x2bbf22,{writer:_0x139256})=>b(_0x2bbf22,_0x139256)}),_0x579db4['for']('editingDowncast')['elementToElement']({'model':{'name':'footnoteRef','attributes':['footnoteId','footnoteCounter']},'view':(_0xa69e40,{writer:_0x293243})=>{const _0x7fd372=_0xa69e40['getAttribute']('footnoteCounter');return _0x1c46e6(b(_0xa69e40,_0x293243),_0x293243,{'label':t('Footnote\x20%0.\x20Press\x20ENTER\x20to\x20jump\x20to\x20footnote\x20definition.',_0x7fd372)});}});}['_defineDefinitionsConverters'](){const {editor:_0x1ee107}=this,{t:t}=_0x1ee107['locale'],{conversion:_0x8eefba}=_0x1ee107;_0x8eefba['for']('upcast')['elementToElement']({'view':{'name':'div','classes':'footnotes'},'model':'footnotesDefinitions'}),_0x8eefba['for']('upcast')['add'](_0x297139=>{_0x297139['on']('element:ol',(_0x2e6921,_0x4f44e9,_0xb6d340)=>{const _0x36f717=_0x4f44e9['viewItem'];if(!_0x36f717['hasClass']('footnotes-list')||!_0x4f44e9['modelCursor']['parent']?.['is']('element','footnotesDefinitions'))return;if(!_0xb6d340['consumable']['consume'](_0x36f717,{'name':!0x0,'classes':'footnotes-list'}))return;const {modelRange:_0x3b8ab0,modelCursor:_0x2e7ee2}=_0xb6d340['convertChildren'](_0x4f44e9['viewItem'],_0x4f44e9['modelCursor']);_0x4f44e9['modelRange']=_0x3b8ab0,_0x4f44e9['modelCursor']=_0x2e7ee2;}),_0x297139['on']('element:hr',(_0x194b94,_0x9ead48,_0x4cbd0f)=>{const _0x12bb2e=_0x9ead48['viewItem'];_0x12bb2e['hasClass']('footnotes-divider')&&_0x9ead48['modelCursor']['parent']?.['is']('element','footnotesDefinitions')&&_0x4cbd0f['consumable']['consume'](_0x12bb2e,{'name':!0x0,'classes':'footnotes-divider'});});}),_0x8eefba['for']('dataDowncast')['elementToStructure']({'model':'footnotesDefinitions','view':(_0x5682ca,{writer:_0x53fa2b})=>D(_0x53fa2b)}),_0x8eefba['for']('editingDowncast')['elementToStructure']({'model':'footnotesDefinitions','view':(_0x261296,{writer:_0xb6b929})=>{const _0x55727b=D(_0xb6b929,{'data-footnotes-list-label':t('Footnotes')}),_0x1a291e=_0x1c46e6(_0x55727b,_0xb6b929,{'hasSelectionHandle':!0x0,'label':t('Footnotes')});return _0xb6b929['setCustomProperty']('footnotesDefinitions',!0x0,_0x1a291e),_0x1a291e;}});}['_defineDefinitionConverters'](){const {editor:_0x186464}=this,{conversion:_0x72c450,locale:_0x51661e}=_0x186464,_0x5c42d8=_0x186464['config']['get']('footnotes.multiBlock');_0x72c450['for']('upcast')['add'](_0x20776e=>{_0x20776e['on']('element:li',(_0x320539,_0x361129,_0x368e34)=>{const _0x306fc5=_0x361129['viewItem'];if(!_0x306fc5['hasClass']('footnote-definition')||!_0x306fc5['getAttribute']('id'))return;const _0xecd0c5=_0x306fc5['parent'];if(!_0xecd0c5['is']('element','ol')||!_0xecd0c5['hasClass']('footnotes-list'))return;if(!_0x368e34['consumable']['test'](_0x306fc5,{'name':!0x0,'attributes':'id','classes':'footnote-definition'}))return;const _0x50529c=_0x368e34['writer']['createElement']('footnoteDefinition',{'footnoteId':_0x306fc5['getAttribute']('id')});if(!_0x368e34['safeInsert'](_0x50529c,_0x361129['modelCursor']))return;_0x368e34['consumable']['consume'](_0x306fc5,{'name':!0x0,'attributes':'id','classes':'footnote-definition'});const _0x274e90=Array['from'](_0x306fc5['getChildren']())['find'](_0x553a68=>_0x553a68['is']('element')&&_0x553a68['hasClass']('footnote-content'));for(const _0x54784b of _0x306fc5['getChildren']())_0x54784b['is']('element')&&(_0x368e34['consumable']['consume'](_0x54784b,{'name':!0x0,'classes':'footnote-backlink','attributes':'href'}),_0x368e34['consumable']['consume'](_0x54784b,{'name':!0x0,'classes':'footnote-content'}));if(_0x274e90){if(_0x5c42d8)_0x368e34['convertChildren'](_0x274e90,_0x50529c);else{const _0x50c757=_0x368e34['writer']['createElement']('footnoteInlineContent');_0x368e34['writer']['insert'](_0x50c757,_0x50529c),_0x368e34['convertChildren'](_0x274e90,_0x50c757);}}_0x368e34['updateConversionResult'](_0x50529c,_0x361129);});}),_0x72c450['for']('dataDowncast')['elementToStructure']({'model':{'name':'footnoteDefinition','attributes':['footnoteId']},'view':(_0x36d5c6,{writer:_0x2ad075})=>y(_0x36d5c6,_0x2ad075,_0x51661e,{'dataPipeline':!0x0})}),_0x72c450['for']('editingDowncast')['elementToStructure']({'model':{'name':'footnoteDefinition','attributes':['footnoteId']},'view':(_0x417594,{writer:_0xfc785e})=>y(_0x417594,_0xfc785e,_0x51661e)});}['_defineBogusParagraphConverters'](){const {editor:_0x3e3f77}=this,{conversion:_0x3c69b6}=_0x3e3f77;_0x3e3f77['config']['get']('footnotes.multiBlock')?(_0x3c69b6['for']('editingDowncast')['elementToElement']({'model':'paragraph','view':p(),'converterPriority':'high'}),_0x3c69b6['for']('dataDowncast')['elementToElement']({'model':'paragraph','view':p({'dataPipeline':!0x0}),'converterPriority':'high'}),this['listenTo'](_0x3e3f77['model']['document'],'change:data',()=>{!function(_0xbb3f5b,_0x462fd6){const _0x4e801e=_0xbb3f5b['document']['differ'],_0x17a5c1=new Set();for(const _0x3fba7f of _0x4e801e['getChanges']()){const _0x1853f5='attribute'==_0x3fba7f['type']?_0x3fba7f['range']['start']['parent']:_0x3fba7f['position']['parent'];_0x1853f5['is']('element','footnoteDefinition')&&_0x17a5c1['add'](_0x1853f5);}for(const _0x41513f of _0x17a5c1['values']()){const _0x43bd75=Array['from'](_0x41513f['getChildren']())['filter'](_0x3d4f83=>v(_0x3d4f83,_0x462fd6['mapper']));for(const _0x652da1 of _0x43bd75)_0x462fd6['reconvertItem'](_0x652da1);}}(_0x3e3f77['model'],_0x3e3f77['editing']);})):(_0x3c69b6['for']('editingDowncast')['elementToElement']({'model':'footnoteInlineContent','view':p()}),_0x3c69b6['for']('dataDowncast')['elementToElement']({'model':'footnoteInlineContent','view':(_0x4f16e2,{writer:_0x4e8eb9})=>{const _0x33e87a=_0x4e8eb9['createContainerElement']('span');return _0x4e8eb9['setCustomProperty']('dataPipeline:transparentRendering',!0x0,_0x33e87a),_0x33e87a;}}));}['_defineKeyboardHandlers'](){const {editor:_0x59e2a7}=this,{editing:_0x37030f,t:t}=_0x59e2a7,_0x4be7f9=_0x59e2a7['model']['document']['selection'];_0x59e2a7['keystrokes']['set']('Ctrl+Alt+F','insertFootnote'),_0x59e2a7['accessibility']['addKeystrokeInfos']({'keystrokes':[{'label':t('Insert\x20footnote'),'keystroke':'Ctrl+Alt+F'}]}),this['listenTo'](_0x37030f['view']['document'],'enter',(_0x1a5063,_0x1da307)=>{const _0x313653=function(_0x13f1c1){const _0x10ba6c=_0x13f1c1['getSelectedElement']();if(_0x10ba6c?.['is']('element','footnoteRef'))return _0x10ba6c;return null;}(_0x4be7f9);if(_0x313653){const _0x130672=_0x313653['getAttribute']('footnoteId');this['_moveSelectionToFootnoteDefinition'](_0x130672),_0x1da307['preventDefault'](),_0x1a5063['stop']();}},{'context':_0x4ffe7e});}['_defineClickHandlers'](){const {editor:_0x3a029e}=this,{editing:_0x2bd9aa}=_0x3a029e;_0x3a029e['editing']['view']['addObserver'](_0x309d51),_0x3a029e['editing']['view']['addObserver'](_0x3ff2ff);let _0x3a2da5=!0x1;this['listenTo'](_0x2bd9aa['view']['document'],'pointerdown',(_0x32f053,_0x375ad8)=>{const {target:_0xb52ba8}=_0x375ad8,_0x2ec69d=_0x2bd9aa['view']['document']['selection'];_0x3a2da5=!!(_0xb52ba8?.['is']('element','a')&&_0xb52ba8['parent']?.['is']('element','sup')&&_0xb52ba8['parent']['hasClass']('footnote'))&&_0x2ec69d['getSelectedElement']()===_0xb52ba8['parent'];},{'priority':'high'}),this['listenTo'](_0x2bd9aa['view']['document'],'click',(_0x11e7fe,_0x28d75a)=>{const {target:_0x2c70d2}=_0x28d75a;if(!_0x2c70d2?.['is']('element','a'))return;if(_0x2c70d2['parent']?.['is']('element','sup')&&_0x2c70d2['parent']['hasClass']('footnote')&&!_0x3a2da5)return void _0x28d75a['preventDefault']();let _0x380b2f=_0x2c70d2['getAttribute']('href');if(!_0x380b2f?.['startsWith']('#'))return;_0x380b2f=_0x380b2f['slice'](0x1);let _0x485d59=!0x1;(_0x380b2f['startsWith']('ref-')&&this['_moveSelectionToFootnoteReference'](_0x380b2f['slice'](0x4))||this['_moveSelectionToFootnoteDefinition'](_0x380b2f))&&(_0x485d59=!0x0),_0x485d59&&(_0x28d75a['preventDefault'](),_0x11e7fe['stop']());},{'priority':'high','context':'$capture'});}}function p({dataPipeline:_0x456ea8}={}){return(_0x34fdd6,{writer:_0x5960f5})=>{if(!g(_0x34fdd6))return null;if(!_0x456ea8)return _0x5960f5['createContainerElement']('span',{'class':'ck-footnote-bogus-paragraph'});const _0x584076=_0x5960f5['createContainerElement']('p');return _0x5960f5['setCustomProperty']('dataPipeline:transparentRendering',!0x0,_0x584076),_0x584076;};}function g(_0x590193){const {parent:_0x37ff40}=_0x590193;if(!_0x37ff40?.['is']('element','footnoteDefinition'))return!0x1;if(0x1!=_0x37ff40['childCount'])return!0x1;for(const _0x3f810f of _0x590193['getAttributeKeys']())if(!_0x3f810f['startsWith']('selection:')&&'htmlEmptyBlock'!=_0x3f810f)return!0x1;return!0x0;}function v(_0x5985bd,_0x47d743){if(!_0x5985bd['is']('element','paragraph'))return!0x1;const _0x33c0c4=_0x47d743['toViewElement'](_0x5985bd);return!!_0x33c0c4&&g(_0x5985bd)!==_0x33c0c4['is']('element','span');}function Q(_0x47cbd0){return _0x4ffe7e(_0x47cbd0)&&_0x47cbd0['is']('containerElement')&&!!_0x47cbd0['getCustomProperty']('footnotesDefinitions');}function D(_0x15c225,_0x1165d4={}){const _0x19164f=_0x15c225['createEmptyElement']('hr',{'class':'footnotes-divider'}),_0x2a3514=_0x15c225['createContainerElement']('ol',{'class':'footnotes-list'},_0x15c225['createSlot']());return _0x15c225['createContainerElement']('div',{'class':'footnotes',..._0x1165d4},[_0x19164f,_0x2a3514]);}function b(_0x2a5b1c,_0x297faf){const _0x5f3e4d=_0x2a5b1c['getAttribute']('footnoteId'),_0x42dca6=_0x2a5b1c['getAttribute']('footnoteCounter'),_0xe5991b=_0x297faf['createUIElement']('a',{'href':'#'+_0x5f3e4d},function(_0x2d908f){const _0x4344cc=this['toDomElement'](_0x2d908f);return _0x4344cc['textContent']=_0x42dca6,_0x4344cc;}),_0x19ca31=_0x297faf['createContainerElement']('sup',{'id':'ref-'+_0x5f3e4d,'class':'footnote'},[_0xe5991b]);return _0x19ca31['getFillerOffset']=()=>null,_0x19ca31;}function y(_0x642b9a,_0x259b9f,_0x3641f3,{dataPipeline:_0x42bbdc}={}){const {t:t}=_0x3641f3,_0x5d8273=_0x642b9a['getAttribute']('footnoteId'),_0x15f25c=_0x259b9f['createUIElement']('a',{'class':'footnote-backlink','href':'#ref-'+_0x5d8273},function(_0x4265cf){const _0x5119dc=this['toDomElement'](_0x4265cf);return _0x5119dc['innerText']='^',_0x5119dc;}),_0x4d8bc5=_0x42bbdc?_0x259b9f['createContainerElement']('div',{'class':'footnote-content'}):_0x350ef6(_0x259b9f['createEditableElement']('div',{'class':'footnote-content'}),_0x259b9f,{'label':t('Footnote\x20content.')});return _0x259b9f['insert'](_0x259b9f['createPositionAt'](_0x4d8bc5,0x0),_0x259b9f['createSlot']()),_0x259b9f['createContainerElement']('li',{'class':'footnote-definition','id':_0x5d8273},[_0x15f25c,_0x4d8bc5]);}class e extends _0x25c422{static get['pluginName'](){return'FootnotesClipboard';}static get['requires'](){return[r,_0x11df15];}static get['isOfficialPlugin'](){return!0x0;}static get['isPremiumPlugin'](){return!0x0;}['init'](){this['_defineClipboardIntegration']();}['_defineClipboardIntegration'](){this['_handleCopyFootnotesDefinitions'](),this['_handlePasteFootnotesDefinitions']();}['_handleCopyFootnotesDefinitions'](){const {editor:_0x5c7444}=this,{plugins:_0x4f90bc,model:_0x4b3fd3}=_0x5c7444,_0x2e2f16=_0x4f90bc['get'](_0x11df15),_0x260bdd=_0x4f90bc['get'](f);this['listenTo'](_0x2e2f16,'outputTransformation',(_0x187595,_0x3e562e)=>{const _0x34b1e1=l(_0x4b3fd3['createRangeIn'](_0x3e562e['content']));if(!_0x34b1e1['length'])return;const _0x5e5876=_0x260bdd['getFootnotes'](),_0x8aeef7=_0x34b1e1['reduce']((_0xa6d34e,_0x30c7a7)=>{const _0x386eb8=_0x5e5876['find'](_0x27fb7a=>_0x27fb7a['id']===_0x30c7a7);if(_0x386eb8){const _0x3d89c7=_0x5c7444['data']['toView'](_0x386eb8['definition'],{'isClipboardPipeline':!0x0}),_0x4041f9=_0x5c7444['data']['htmlProcessor']['toData'](_0x3d89c7);_0xa6d34e[_0x386eb8['id']]=_0x4041f9;}return _0xa6d34e;},Object['create'](null));_0x3e562e['dataTransfer']['setData']('application/ckeditor5-footnotes',JSON['stringify'](_0x8aeef7));});}['_handlePasteFootnotesDefinitions'](){const {editor:_0x1cbadc}=this,{model:_0x2e2dcb,plugins:_0x380e74}=_0x1cbadc,{view:_0x2d6bed}=_0x1cbadc['editing'],_0x190d9e=_0x380e74['get'](_0x11df15),_0x2cd0a6=_0x380e74['get'](f),_0x6263c8=_0x1cbadc['config']['get']('footnotes.multiBlock');let _0x292705=null;this['listenTo'](_0x2d6bed['document'],'clipboardInput',(_0x27cec6,_0x2977c7)=>{const _0x4ffd2e=_0x2977c7['dataTransfer']['getData']('application/ckeditor5-footnotes');_0x292705=_0x4ffd2e?JSON['parse'](_0x4ffd2e):null;}),this['listenTo'](_0x190d9e,'contentInsertion',(_0x1ca6cc,_0x222f56)=>{const _0x403856=_0x222f56['sourceEditorId']===this['editor']['id'];_0x403856&&'drop'===_0x222f56['method']||_0x2e2dcb['change'](_0xe36d1e=>{let _0x643eeb=_0x2cd0a6['getFootnotesDefinitionsObjectElement']();const _0x1dddbe=!!_0x643eeb&&Array['from'](_0x2e2dcb['document']['selection']['getSelectedBlocks']())['includes'](_0x643eeb);if(!_0x292705&&function(_0x4725dd){for(const {item:_0x213308}of _0x4725dd)if(_0x213308['is']('element','footnoteRef'))return!0x0;return!0x1;}(_0x2e2dcb['createRangeIn'](_0x222f56['content']))&&(_0x292705=function(_0x5cf819,_0x297553){const _0x3a398a=c(_0x5cf819,_0x297553);if(!_0x3a398a)return null;const _0x1e291c=Object['create'](null);for(const _0x2d6c52 of _0x3a398a['getChildren']())_0x2d6c52['is']('element','footnoteDefinition')&&_0x2d6c52['hasAttribute']('footnoteId')&&(_0x1e291c[_0x2d6c52['getAttribute']('footnoteId')]=_0x5cf819['cloneElement'](_0x2d6c52,!0x0));return Object['keys'](_0x1e291c)['length']?_0x1e291c:null;}(_0xe36d1e,_0x222f56['content'])),(_0x643eeb&&!_0x1dddbe||!_0x643eeb&&!_0x292705)&&function(_0x4e921c,_0x1fa3b6){const _0xf1e444=[];for(const {item:_0x55767a}of _0x4e921c['createRangeIn'](_0x1fa3b6))_0x55767a['is']('element','footnotesDefinitions')&&_0xf1e444['push'](_0x55767a);for(const _0x4cffb6 of _0xf1e444)_0x4e921c['remove'](_0x4cffb6);}(_0xe36d1e,_0x222f56['content']),!_0x292705)return;const {selection:_0x295152}=_0x2e2dcb['document'],_0x256ffa=_0x295152['getFirstRange']()['root'];_0x643eeb&&!_0x1dddbe||(_0x643eeb=c(_0xe36d1e,_0x222f56['content']),_0x643eeb||=_0x2cd0a6['_insertEmptyFootnotesDefinitionsContainer'](_0xe36d1e,_0x256ffa));const _0x34f492=Array['from'](_0x295152['getRanges']())['flatMap'](l),_0x3e74e1=function(_0x25ed04,_0x495764,_0x41c5d7){const _0x450106=Object['create'](null);for(const {item:_0x5c7257}of _0x25ed04['createRangeIn'](_0x495764))if(_0x5c7257['is']('element','footnoteRef')){const _0x480538=_0x5c7257['getAttribute']('footnoteId');if(!_0x41c5d7(_0x480538))continue;_0x450106[_0x480538]||(_0x450106[_0x480538]=_0x116418()),_0x25ed04['setAttribute']('footnoteId',_0x450106[_0x480538],_0x5c7257);}return _0x450106;}(_0xe36d1e,_0x222f56['content'],_0xd55225=>{if(!_0x403856)return!0x0;return!!_0x2cd0a6['getFootnote'](_0xd55225)&&!_0x34f492['includes'](_0xd55225);});for(const [_0x1549eb,_0x3d044a]of Object['entries'](_0x292705)){const _0x598bcc=_0x3e74e1[_0x1549eb]||_0x1549eb;let _0x7a9d18;if('string'!=typeof _0x3d044a)_0x7a9d18=_0x3d044a,_0x598bcc!==_0x1549eb&&_0xe36d1e['setAttribute']('footnoteId',_0x598bcc,_0x7a9d18);else{_0x7a9d18=_0xe36d1e['createElement']('footnoteDefinition',{'footnoteId':_0x598bcc});const _0x1a2321=_0x1cbadc['data']['htmlProcessor']['toView'](_0x3d044a);let _0x48a14a;if(_0x6263c8)_0x48a14a=_0x1cbadc['data']['toModel'](_0x1a2321,_0x7a9d18);else{_0x48a14a=_0xe36d1e['createElement']('footnoteInlineContent');const _0x960318=_0x1cbadc['data']['toModel'](_0x1a2321,_0x48a14a);_0xe36d1e['insert'](_0x960318,_0x48a14a);}_0xe36d1e['append'](_0x48a14a,_0x7a9d18);}_0xe36d1e['insert'](_0x7a9d18,_0x643eeb,'end');}_0x292705=null;});});}}function c(_0x5acace,_0x91e90c){for(const {item:_0x5e33b9}of _0x5acace['createRangeIn'](_0x91e90c))if(_0x5e33b9['is']('element','footnotesDefinitions'))return _0x5e33b9;return null;}function l(_0x30b88d){const _0x2c03e5=new Set();for(const {item:_0x336f87}of _0x30b88d)_0x336f87['is']('element','footnoteRef')&&_0x2c03e5['add'](_0x336f87['getAttribute']('footnoteId'));return Array['from'](_0x2c03e5);}class i extends _0x25c422{['licenseKey'];['_licenseKeyCheckInterval'];static get['pluginName'](){return'FootnotesUI';}static get['isOfficialPlugin'](){return!0x0;}static get['isPremiumPlugin'](){return!0x0;}['init'](){const {editor:_0x33f81e}=this,{componentFactory:_0x2e2a66}=_0x33f81e['ui'];_0x2e2a66['add']('insertFootnote',E(_0x33f81e,_0x1ada6b)),_0x2e2a66['add']('menuBar:insertFootnote',E(_0x33f81e,_0x30ee12)),this['licenseKey']=this['editor']['config']['get']('licenseKey');const _0x2892fa=this['editor'];this['_licenseKeyCheckInterval']=setInterval(()=>{let _0x27491a;for(const _0x1ccd27 in _0x2892fa){const _0x4bf080=_0x1ccd27,_0x1de48=_0x2892fa[_0x4bf080];if('footnotesLicenseKeyValid'==_0x1de48||'footnotesLicenseKeyInvalid'==_0x1de48||'footnotesLicenseKeyExpired'==_0x1de48||'footnotesLicenseKeyDomainLimit'==_0x1de48||'footnotesLicenseKeyNotAllowed'==_0x1de48||'footnotesLicenseKeyEvaluationLimit'==_0x1de48||'footnotesLicenseKeyUsageLimit'==_0x1de48){delete _0x2892fa[_0x4bf080],_0x27491a=_0x1de48,clearInterval(this['_licenseKeyCheckInterval']),this['_licenseKeyCheckInterval']=void 0x0;break;}}'footnotesLicenseKeyInvalid'==_0x27491a&&_0x2892fa['_showLicenseError']('invalid'),'footnotesLicenseKeyExpired'==_0x27491a&&_0x2892fa['_showLicenseError']('expired'),'footnotesLicenseKeyDomainLimit'==_0x27491a&&_0x2892fa['_showLicenseError']('domainLimit'),'footnotesLicenseKeyNotAllowed'==_0x27491a&&_0x2892fa['_showLicenseError']('featureNotAllowed','Footnotes'),'footnotesLicenseKeyEvaluationLimit'==_0x27491a&&_0x2892fa['_showLicenseError']('evaluationLimit'),'footnotesLicenseKeyUsageLimit'==_0x27491a&&_0x2892fa['_showLicenseError']('usageLimit');},0x3e8);}['destroy'](){super['destroy'](),this['_licenseKeyCheckInterval']&&clearInterval(this['_licenseKeyCheckInterval']);}}function E(_0x4db1fd,_0x47abd4){const _0x4dad1e=_0x4db1fd['commands']['get']('insertFootnote');return _0x702aff=>{const {t:t}=_0x702aff,_0x4af943=new _0x47abd4(_0x702aff),_0x3d7718=_0x4af943 instanceof _0x30ee12;return _0x4af943['bind']('isEnabled')['to'](_0x4dad1e,'isEnabled'),_0x4af943['set']({'label':t(_0x3d7718?'Footnote':'Insert\x20footnote'),'icon':_0x3af843,'tooltip':!0x0}),_0x4af943['on']('execute',()=>{_0x4dad1e['execute'](),_0x4db1fd['editing']['view']['focus']();}),_0x4af943;};}class lt extends _0x25c422{static get['pluginName'](){return'Footnotes';}static get['requires'](){return[r,e,i];}static get['isOfficialPlugin'](){return!0x0;}static get['isPremiumPlugin'](){return!0x0;}}const ct=['decimal','decimal-leading-zero','lower-latin','upper-latin','lower-alpha','upper-alpha','lower-roman','upper-roman'];class S extends _0x463e8d{['refresh'](){const {editor:_0x325240}=this,_0x5d1620=_0x325240['plugins']['get'](f)['getFootnotesDefinitionsObjectElement']();this['isEnabled']=!!_0x5d1620,this['value']=_0x5d1620?.['getAttribute']('footnotesListStyle')??null;}['execute']({value:_0x105802}){const {editor:_0x33e8de}=this,_0x134b93=_0x33e8de['plugins']['get'](f),_0x485701=_0x134b93['getFootnotesDefinitionsObjectElement']();_0x485701&&ct['includes'](_0x105802)&&_0x33e8de['model']['change'](_0xad984a=>{_0xad984a['setAttribute']('footnotesListStyle',_0x105802,_0x485701),_0x134b93['_updateFootnotesCounters'](_0xad984a);});}}class C extends _0x463e8d{['refresh'](){const {editor:_0x3d1edc}=this,_0x3bd336=_0x3d1edc['plugins']['get'](f)['getFootnotesDefinitionsObjectElement']();this['isEnabled']=!!_0x3bd336,this['value']=_0x3bd336?.['getAttribute']('footnotesListStart')??null;}['execute']({value:_0x3e79bf}){const {editor:_0x2c8767}=this,_0x1a6e76=_0x2c8767['plugins']['get'](f),_0x20afd8=_0x1a6e76['getFootnotesDefinitionsObjectElement']();_0x20afd8&&Number['isInteger'](_0x3e79bf)&&_0x2c8767['model']['change'](_0x31e553=>{_0x31e553['setAttribute']('footnotesListStart',_0x3e79bf,_0x20afd8),_0x1a6e76['_updateFootnotesCounters'](_0x31e553);});}}class P extends _0x25c422{static get['pluginName'](){return'FootnotesPropertiesEditing';}static get['requires'](){return[r,f];}static get['isOfficialPlugin'](){return!0x0;}static get['isPremiumPlugin'](){return!0x0;}['init'](){const {editor:_0x16f3f1}=this;_0x16f3f1['config']['define']('footnotes.footnotesProperties.defaultListStyle','decimal'),_0x16f3f1['config']['define']('footnotes.footnotesProperties.defaultStartIndex',0x1),_0x16f3f1['commands']['add']('footnotesStyle',new S(_0x16f3f1)),_0x16f3f1['commands']['add']('footnotesStart',new C(_0x16f3f1)),this['_defineSchema'](),this['_defineConverters'](),this['_defineFormatter'](),this['_definePostfixer']();}['_defineSchema'](){const {editor:_0x4076ce}=this,{schema:_0x5a1776}=_0x4076ce['model'];_0x5a1776['extend']('footnotesDefinitions',{'allowAttributes':['footnotesListStyle','footnotesListStart']});}['_defineConverters'](){const {editor:_0x13ce89}=this,{conversion:_0x2abfbe,model:_0x16b937}=_0x13ce89,{schema:_0x462739}=_0x16b937;_0x2abfbe['for']('upcast')['add'](_0x329a0a=>{_0x329a0a['on']('element:ol',(_0x493f24,_0x26f8fd,_0x4f291b)=>{const _0xcc0667=_0x26f8fd['viewItem'],_0x442702=_0x26f8fd['modelCursor']?.['parent'];_0xcc0667['hasClass']('footnotes-list')&&_0x442702?.['is']('element','footnotesDefinitions')&&(function(_0x111484,_0x4f313b,_0x261ea6,_0x409f0b){if(!_0x409f0b['checkAttribute'](_0x4f313b,'footnotesListStart'))return;let _0x1205ac=0x1;const _0x3bf317=_0x261ea6['consumable']['consume'](_0x111484,{'attributes':'start'});if(_0x3bf317){const _0x250571=Number['parseInt'](_0x111484['getAttribute']('start'),0xa);Number['isNaN'](_0x250571)||(_0x1205ac=_0x250571);}!_0x3bf317&&_0x4f313b['hasAttribute']('footnotesListStart')||_0x261ea6['writer']['setAttribute']('footnotesListStart',_0x1205ac,_0x4f313b);}(_0xcc0667,_0x442702,_0x4f291b,_0x462739),function(_0x4d6af4,_0x7b9ebe,_0x5549e3,_0x3f057d){if(!_0x3f057d['checkAttribute'](_0x7b9ebe,'footnotesListStyle'))return;let _0x5b2e52='decimal',_0x18f0e9=!0x1;if(_0x5549e3['consumable']['consume'](_0x4d6af4,{'attributes':'type'})){const _0x1bb1d1={0x1:'decimal','a':'lower-alpha','A':'upper-alpha','i':'lower-roman','I':'upper-roman'}[_0x4d6af4['getAttribute']('type')];_0x1bb1d1&&(_0x5b2e52=_0x1bb1d1),_0x18f0e9=!0x0;}_0x5549e3['consumable']['consume'](_0x4d6af4,{'styles':'list-style-type'})&&(_0x5b2e52=function(_0x402de1){switch(_0x402de1){case'lower-alpha':return'lower-latin';case'upper-alpha':return'upper-latin';default:return _0x402de1;}}(_0x4d6af4['getStyle']('list-style-type')),_0x18f0e9=!0x0),!_0x18f0e9&&_0x7b9ebe['hasAttribute']('footnotesListStyle')||_0x5549e3['writer']['setAttribute']('footnotesListStyle',_0x5b2e52,_0x7b9ebe);}(_0xcc0667,_0x442702,_0x4f291b,_0x462739));});}),_0x2abfbe['for']('downcast')['add'](_0x1fc822=>{_0x1fc822['on']('attribute:footnotesListStart:footnotesDefinitions',(_0x209adc,_0x10a5de,_0x1c75a3)=>{if(!_0x1c75a3['consumable']['consume'](_0x10a5de['item'],_0x209adc['name']))return;const _0x47451b=M(_0x10a5de['item'],_0x1c75a3['mapper']),{attributeNewValue:_0x3cc0f2}=_0x10a5de;null==_0x3cc0f2||0x1===_0x3cc0f2?_0x1c75a3['writer']['removeAttribute']('start',_0x47451b):_0x1c75a3['writer']['setAttribute']('start',String(_0x3cc0f2),_0x47451b);}),_0x1fc822['on']('attribute:footnotesListStyle:footnotesDefinitions',(_0x234abc,_0x5b82a6,_0x4515f2)=>{if(!_0x4515f2['consumable']['consume'](_0x5b82a6['item'],_0x234abc['name']))return;const _0x3d2aab=M(_0x5b82a6['item'],_0x4515f2['mapper']),{attributeNewValue:_0x2fd590}=_0x5b82a6;_0x2fd590&&'decimal'!==_0x2fd590?_0x4515f2['writer']['setStyle']('list-style-type',_0x2fd590,_0x3d2aab):_0x4515f2['writer']['removeStyle']('list-style-type',_0x3d2aab);});});}['_definePostfixer'](){const {editor:_0x2bcc72}=this,{model:_0x269407}=_0x2bcc72,_0x798815=_0x2bcc72['plugins']['get'](f),_0x1c026c=this['_getDefaultListStyle'](),_0x5f35ad=this['_getDefaultStartIndex']();_0x269407['document']['registerPostFixer'](_0x4c1b93=>{const _0x12ad43=_0x269407['document']['differ']['getChanges']();let _0x2cd7fa=!0x1;for(const _0x146074 of _0x12ad43){if('insert'!==_0x146074['type']||'$text'===_0x146074['name'])continue;const _0x3890c6=_0x269407['createRangeOn'](_0x146074['position']['nodeAfter']);for(const _0x381f63 of _0x3890c6['getItems']())_0x381f63['is']('element','footnotesDefinitions')&&(!_0x381f63['hasAttribute']('footnotesListStart')&&_0x269407['schema']['checkAttribute'](_0x381f63,'footnotesListStart')&&(_0x4c1b93['setAttribute']('footnotesListStart',_0x5f35ad,_0x381f63),_0x2cd7fa=!0x0),!_0x381f63['hasAttribute']('footnotesListStyle')&&_0x269407['schema']['checkAttribute'](_0x381f63,'footnotesListStyle')&&(_0x4c1b93['setAttribute']('footnotesListStyle',_0x1c026c,_0x381f63),_0x2cd7fa=!0x0));}return _0x2cd7fa&&_0x798815['_updateFootnotesCounters'](_0x4c1b93),_0x2cd7fa;});}['_defineFormatter'](){const {editor:_0x2e986f}=this;_0x2e986f['plugins']['get'](f)['setFootnoteFormatter'](_0x889f0f=>this['_formatFootnoteListValue'](_0x889f0f));}['_getDefaultListStyle'](){return this['editor']['config']['get']('footnotes.footnotesProperties.defaultListStyle');}['_getDefaultStartIndex'](){return this['editor']['config']['get']('footnotes.footnotesProperties.defaultStartIndex');}['_formatFootnoteListValue']({container:_0x2ef841,value:_0x558678,digits:_0x3dfbed}){const _0x36cc3f=_0x2ef841['getAttribute']('footnotesListStyle'),_0x3e9c15=_0x2ef841['getAttribute']('footnotesListStart'),_0x504e38=Math['floor'](_0x558678)+(_0x3e9c15??0x1)-0x1;switch(_0x36cc3f){case'decimal-leading-zero':return function(_0x5ebc43,_0x5e200b){return String(_0x5ebc43)['padStart'](_0x5e200b,'0');}(_0x504e38,Math['max'](0x2,_0x3dfbed));case'lower-alpha':case'lower-latin':return N(_0x504e38,!0x1);case'upper-alpha':case'upper-latin':return N(_0x504e38,!0x0);case'lower-roman':return X(_0x504e38,!0x1);case'upper-roman':return X(_0x504e38,!0x0);default:return String(_0x504e38);}}}function M(_0x134f03,_0x8d4cbe){const _0x412190=_0x8d4cbe['toViewElement'](_0x134f03);return Array['from'](_0x412190['getChildren']())['find'](_0x52b961=>_0x52b961['is']('element','ol')&&_0x52b961['hasClass']('footnotes-list'));}function N(_0x43dfa6,_0x192044){let _0x51e04b='',_0x113595=_0x43dfa6;for(;_0x113595>0x0;){const _0x391384=(_0x113595-0x1)%0x1a;_0x51e04b=String['fromCharCode'](0x61+_0x391384)+_0x51e04b,_0x113595=Math['floor']((_0x113595-0x1)/0x1a);}return _0x192044?_0x51e04b['toUpperCase']():_0x51e04b;}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(_0x777700,_0x463de0){let _0x58617b='',_0x7d521f=_0x777700;for(const {value:_0x33af50,numeral:_0x38b554}of V)for(;_0x7d521f>=_0x33af50;)_0x58617b+=_0x38b554,_0x7d521f-=_0x33af50;return _0x463de0?_0x58617b:_0x58617b['toLowerCase']();}class J extends _0x16393e{['children'];['stylesView']=null;['additionalProperties']=null;['startIndexFieldView']=null;['focusTracker']=new ot();['keystrokes']=new rt();['focusables']=new _0x45189c();['focusCycler'];constructor(_0x257df4,{styleButtonViews:_0x5f2902,styleGridAriaLabel:_0x2bb6a3}){super(_0x257df4),(this['focusCycler']=new _0xf78368({'focusables':this['focusables'],'focusTracker':this['focusTracker'],'keystrokeHandler':this['keystrokes'],'actions':{'focusPrevious':'shift\x20+\x20tab','focusNext':'tab'}}),this['children']=this['createCollection'](),this['stylesView']=this['_appendStylesView'](_0x5f2902,_0x2bb6a3),[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 _0x1ec5cd of this['stylesView']['children'])this['stylesView']['focusTracker']['add'](_0x1ec5cd['element']);tt({'keystrokeHandler':this['stylesView']['keystrokes'],'focusTracker':this['stylesView']['focusTracker'],'gridItems':this['stylesView']['children'],'numberOfColumns':()=>nt['window']['getComputedStyle'](this['stylesView']['element'])['getPropertyValue']('grid-template-columns')['split']('\x20')['length'],'uiLanguageDirection':this['locale']&&this['locale']['uiLanguageDirection']});}if(this['startIndexFieldView']){this['focusables']['add'](this['startIndexFieldView']),this['focusTracker']['add'](this['startIndexFieldView']['element']);const _0x15e35c=_0x3b3950=>_0x3b3950['stopPropagation']();this['keystrokes']['set']('arrowright',_0x15e35c),this['keystrokes']['set']('arrowleft',_0x15e35c),this['keystrokes']['set']('arrowup',_0x15e35c),this['keystrokes']['set']('arrowdown',_0x15e35c);}this['keystrokes']['listenTo'](this['element']);}['focus'](){this['focusCycler']['focusFirst']();}['focusLast'](){this['focusCycler']['focusLast']();}['destroy'](){super['destroy'](),this['focusTracker']['destroy'](),this['keystrokes']['destroy']();}['_appendStylesView'](_0x19be1b,_0x137f36){const _0x1e7cba=new _0x16393e(this['locale']);return _0x1e7cba['children']=_0x1e7cba['createCollection'](),_0x1e7cba['children']['addMany'](_0x19be1b),_0x1e7cba['setTemplate']({'tag':'div','attributes':{'aria-label':_0x137f36,'class':['ck','ck-footnotes-definitions-styles-list']},'children':_0x1e7cba['children']}),_0x1e7cba['children']['delegate']('execute')['to'](this),_0x1e7cba['focus']=function(){for(const _0x3d90b1 of this['children'])if(_0x3d90b1 instanceof _0x1ada6b&&_0x3d90b1['isOn'])return void _0x3d90b1['focus']();this['children']['first']['focus']();},_0x1e7cba['focusTracker']=new ot(),_0x1e7cba['keystrokes']=new rt(),_0x1e7cba['render'](),_0x1e7cba['keystrokes']['listenTo'](_0x1e7cba['element']),this['children']['add'](_0x1e7cba),_0x1e7cba;}['_appendAdditionalPropertiesCollapsibleView'](){const {t:t}=this['locale'],_0x2b7787=this['_createStartIndexPropertyView'](),_0x436eb4=[_0x2b7787],_0x155a38=new st(this['locale'],_0x436eb4);return _0x155a38['set']({'label':t('Footnotes\x20properties'),'isCollapsed':!0x0}),_0x155a38['buttonView']['bind']('isEnabled')['toMany'](_0x436eb4,'isEnabled',(..._0xf0a99a)=>_0xf0a99a['some'](_0x1bc3d3=>_0x1bc3d3)),_0x155a38['buttonView']['on']('change:isEnabled',(_0x49f3f7,_0x19a10f,_0x54f061)=>{_0x54f061||(_0x155a38['isCollapsed']=!0x0);}),this['children']['add'](_0x155a38),[_0x2b7787,_0x155a38];}['_createStartIndexPropertyView'](){const {t:t}=this['locale'],_0x1e5b43=new it(this['locale'],et);return _0x1e5b43['set']({'label':t('Footnotes\x20start\x20at'),'class':'ck-footnotes-definitions-properties__start-index'}),_0x1e5b43['fieldView']['set']({'min':0x0,'max':Math['pow'](0x2,0x1e),'step':0x1,'value':0x1,'inputMode':'numeric'}),_0x1e5b43['fieldView']['on']('input',()=>{const _0x1200d3=_0x1e5b43['fieldView']['element'],_0x339179=_0x1200d3['valueAsNumber'];Number['isNaN'](_0x339179)?_0x1e5b43['errorText']=t('Invalid\x20footnotes\x20start\x20index\x20value.'):_0x1200d3['checkValidity']()?this['fire']('footnotesListStart',{'startIndex':_0x339179}):_0x1e5b43['errorText']=t(_0x339179<0x0?'Footnotes\x20start\x20index\x20must\x20be\x20greater\x20than\x200.':'Footnotes\x20start\x20index\x20is\x20too\x20large.');}),_0x1e5b43;}}class j extends _0x25c422{static get['pluginName'](){return'FootnotesPropertiesUI';}static get['requires'](){return[_0x5dce42,_0x32e20a];}static get['isOfficialPlugin'](){return!0x0;}static get['isPremiumPlugin'](){return!0x0;}['init'](){const {editor:_0x547b67}=this,{componentFactory:_0x4c8929}=_0x547b67['ui'];_0x547b67['config']['define']('footnotes.footnotesProperties.toolbar',['footnotesStyle']),_0x4c8929['add']('footnotesStyle',function(_0xb5931a){return _0x110224=>{const {t:t}=_0x110224,_0x39be13=_0xb5931a['commands']['get']('footnotesStyle'),_0x225b5a=_0x121468(_0x110224),{buttonView:_0x143733}=_0x225b5a;return _0x225b5a['class']='ck-footnotes-styles-dropdown',_0x225b5a['bind']('isEnabled')['to'](_0x39be13,'isEnabled'),_0x143733['set']({'label':t('Footnotes\x20style'),'icon':_0x3af843,'tooltip':!0x0}),_0x225b5a['once']('change:isOpen',()=>{const _0x1c3500=function({editor:_0x2f8988,dropdownView:_0x1a76fb}){const {t:t}=_0x2f8988['locale'],_0x203bcc=t('Footnotes\x20definitions\x20styles'),_0x5b53b7=function(_0x1c3803){const t=_0x1c3803['locale']['t'],_0x416a41=[{'label':t('Toggle\x20the\x20decimal\x20footnotes\x20style'),'tooltip':t('Decimal\x20footnotes'),'style':'decimal','icon':_0x5e3521},{'label':t('Toggle\x20the\x20decimal\x20with\x20leading\x20zero\x20footnotes\x20style'),'tooltip':t('Decimal\x20footnotes\x20with\x20leading\x20zero'),'style':'decimal-leading-zero','icon':_0x4bd19e},{'label':t('Toggle\x20the\x20lower–roman\x20footnotes\x20style'),'tooltip':t('Lower–roman\x20footnotes'),'style':'lower-roman','icon':_0x3e81bd},{'label':t('Toggle\x20the\x20upper–roman\x20footnotes\x20style'),'tooltip':t('Upper-roman\x20footnotes'),'style':'upper-roman','icon':_0x365514},{'label':t('Toggle\x20the\x20lower–latin\x20footnotes\x20style'),'tooltip':t('Lower-latin\x20footnotes'),'style':'lower-latin','icon':_0x4637bf},{'label':t('Toggle\x20the\x20upper–latin\x20footnotes\x20style'),'tooltip':t('Upper-latin\x20footnotes'),'style':'upper-latin','icon':_0x14a30e}];return _0x416a41['map'](function(_0x25ddec){const _0x34ab34=_0x25ddec['locale'];return({label:_0x1d9332,icon:_0x45804a,tooltip:_0x215b04,style:_0x3db665})=>{const _0x1c216c=_0x25ddec['commands']['get']('footnotesStyle'),_0x2df7a9=new _0x1ada6b(_0x34ab34);return _0x2df7a9['set']({'label':_0x1d9332,'icon':_0x45804a,'tooltip':_0x215b04}),_0x2df7a9['bind']('isOn')['to'](_0x1c216c,'value',_0x44b622=>_0x44b622===_0x3db665),_0x2df7a9['bind']('isEnabled')['to'](_0x1c216c,'isEnabled'),_0x2df7a9['on']('execute',()=>{_0x25ddec['execute']('footnotesStyle',{'value':_0x3db665}),_0x25ddec['editing']['view']['focus']();}),_0x2df7a9;};}(_0x1c3803));}(_0x2f8988),_0x10b210=new J(_0x2f8988['locale'],{'styleGridAriaLabel':_0x203bcc,'styleButtonViews':_0x5b53b7}),_0x16dad1=_0x2f8988['commands']['get']('footnotesStart');return _0x10b210['startIndexFieldView']['bind']('isEnabled')['to'](_0x16dad1),_0x10b210['startIndexFieldView']['fieldView']['bind']('value')['to'](_0x16dad1),_0x10b210['on']('footnotesListStart',(_0x486bdc,_0x4a58d1)=>{_0x2f8988['execute']('footnotesStart',{'value':_0x4a58d1['startIndex']});}),_0x10b210['delegate']('execute')['to'](_0x1a76fb),_0x10b210;}({'editor':_0xb5931a,'dropdownView':_0x225b5a});_0x225b5a['panelView']['children']['add'](_0x1c3500);}),_0x225b5a;};}(_0x547b67));}['afterInit'](){const {editor:_0x361369}=this,{t:t}=_0x361369['locale'],_0x58e2fb=_0x361369['plugins']['get'](_0x32e20a),{defaultPositions:_0xdf7c76}=_0x172e76;_0x58e2fb['register']('footnotesDefinitions',{'ariaLabel':t('Footnotes\x20definitions\x20toolbar'),'items':_0x361369['config']['get']('footnotes.footnotesProperties.toolbar'),'balloonClassName':'ck-footnotes-style-balloon\x20ck-toolbar-container','getRelatedElement':_0x36f798=>{let _0x4afc81=_0x36f798['getFirstPosition']()?.['parent'];return _0x4afc81?.['is']('$text')&&(_0x4afc81=_0x4afc81['parent']),_0x4afc81?.['is']('element')?_0x4afc81['findAncestor'](Q):null;},'positions':[_0xdf7c76['southArrowNorth'],_0xdf7c76['southArrowNorthMiddleWest'],_0xdf7c76['southArrowNorthMiddleEast'],_0xdf7c76['southArrowNorthWest'],_0xdf7c76['southArrowNorthEast'],_0xdf7c76['northArrowSouth'],_0xdf7c76['northArrowSouthMiddleWest'],_0xdf7c76['northArrowSouthMiddleEast'],_0xdf7c76['northArrowSouthWest'],_0xdf7c76['northArrowSouthEast'],_0xdf7c76['viewportStickyNorth']]});}}class ft extends _0x25c422{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 _0x601fe9,Command as _0x3269ae}from'@ckeditor/ckeditor5-core/dist/index.js';import{toWidget as _0x5d3ed5,isWidget as _0x26837d,toWidgetEditable as _0x425df6,WidgetToolbarRepository as _0x44cde8}from'@ckeditor/ckeditor5-widget/dist/index.js';import{uid as _0x2b69ec,logWarning as _0x116811,FocusTracker as rt,KeystrokeHandler as nt,global as at}from'@ckeditor/ckeditor5-utils/dist/index.js';import{PointerObserver as _0x5ca1ee,ClickObserver as _0x3200aa}from'@ckeditor/ckeditor5-engine/dist/index.js';import{ClipboardPipeline as _0x525767}from'@ckeditor/ckeditor5-clipboard/dist/index.js';import{MenuBarMenuListItemButtonView as _0x1ff374,ButtonView as _0xccf1fd,View as _0x96382c,ViewCollection as _0x475416,FocusCycler as tt,addKeyboardHandlingForGrid as st,CollapsibleView as it,LabeledFieldView as et,createLabeledInputNumber as ot,ContextualBalloon as _0x201258,BalloonPanelView as _0x529749,createDropdown as _0x410294}from'@ckeditor/ckeditor5-ui/dist/index.js';import{IconFootnote as _0x391272,IconListStyleDecimal as _0x2fc0af,IconListStyleDecimalLeadingZero as _0x2a4358,IconListStyleLowerRoman as _0x73046d,IconListStyleUpperRoman as _0x41b9e4,IconListStyleLowerLatin as _0x281453,IconListStyleUpperLatin as _0x485632}from'@ckeditor/ckeditor5-icons/dist/index.js';class F{['_model'];['_elementName'];['_getElementKey'];['_trackedElements']=new Map();constructor(_0x40000f,_0x33d681){this['_model']=_0x40000f,this['_elementName']=_0x33d681['elementName'],this['_getElementKey']=_0x33d681['getElementKey'];}['reset'](){this['_trackedElements']['clear']();}['getChanges'](_0x24efdd){const _0x2fb548=new Set(),_0x40a998=new Map();for(const _0x15722a of _0x24efdd){if('insert'===_0x15722a['type']&&'$text'!==_0x15722a['name']&&_0x15722a['position']['nodeAfter']){const _0x14cec5=this['_model']['createRangeOn'](_0x15722a['position']['nodeAfter']);for(const _0x1f33f7 of _0x14cec5['getItems']()){if(!_0x1f33f7['is']('element',this['_elementName']))continue;const _0x4ce1e1=this['_getElementKey'](_0x1f33f7);_0x40a998['has'](_0x4ce1e1)||_0x40a998['set'](_0x4ce1e1,[]),_0x40a998['get'](_0x4ce1e1)['push'](_0x1f33f7);}}if('remove'===_0x15722a['type']&&_0x15722a['name']===this['_elementName']){const _0x4db1e2=this['_getElementKey']({'getAttribute':_0x5d64e6=>_0x15722a['attributes']['get'](_0x5d64e6)});_0x2fb548['add'](_0x4db1e2);}}for(const [_0x1f38c6,_0x3a819e]of this['_trackedElements'])'$graveyard'===_0x3a819e['root']['rootName']&&_0x2fb548['add'](_0x1f38c6);for(const _0x4dd185 of _0x2fb548)this['_trackedElements']['delete'](_0x4dd185);for(const [_0x4fb3f4,_0xf21564]of _0x40a998)this['_trackedElements']['set'](_0x4fb3f4,_0xf21564[_0xf21564['length']-0x1]);const _0x124556=new Set();for(const [_0x391cde,_0x1915d3]of _0x40a998)_0x2fb548['has'](_0x391cde)&&(_0x124556['add'](_0x1915d3[0x0]),_0x1915d3['length']>0x1?_0x40a998['set'](_0x391cde,_0x1915d3['slice'](0x1)):_0x40a998['delete'](_0x391cde),_0x2fb548['delete'](_0x391cde));return{'removed':Array['from'](_0x2fb548),'inserted':Array['from'](_0x40a998['values']())['flat'](),'moved':Array['from'](_0x124556)};}}class f extends _0x601fe9{['_footnotes']=[];['_footnotesDefinitions']=null;['_footnoteFormatter']=null;['_footnoteDefsContainerTracker'];['_footnoteRefsTracker'];['_footnoteDefsTracker'];static get['pluginName'](){return'FootnotesTracker';}static get['isOfficialPlugin'](){return!0x0;}static get['isPremiumPlugin'](){return!0x0;}constructor(_0x200b5d){super(_0x200b5d),this['_footnoteDefsContainerTracker']=new F(this['editor']['model'],{'elementName':'footnotesDefinitions','getElementKey':()=>'singleton'}),this['_footnoteRefsTracker']=new F(this['editor']['model'],{'elementName':'footnoteRef','getElementKey':_0x2aff31=>_0x2aff31['getAttribute']('footnoteId')}),this['_footnoteDefsTracker']=new F(this['editor']['model'],{'elementName':'footnoteDefinition','getElementKey':_0x31ac08=>_0x31ac08['getAttribute']('footnoteId')});}['init'](){const {editor:_0x1fd51a}=this,{model:_0x3fa492,data:_0x46b696}=_0x1fd51a;_0x3fa492['document']['registerPostFixer'](_0x3d76c9=>{const _0x56240e=_0x3fa492['document']['differ']['getChanges']();let _0x609b60=!0x1;return this['_handleFootnotesDefinitionsObjectChanges'](_0x3d76c9,_0x56240e)&&(_0x609b60=!0x0),this['_handleFootnoteDefinitionsChanges'](_0x3d76c9,_0x56240e)&&(_0x609b60=!0x0),this['_handleFootnoteReferencesChanges'](_0x3d76c9,_0x56240e)&&(_0x609b60=!0x0),this['_ensureFootnotesReferencesHaveProperOrder'](_0x3d76c9)&&(_0x609b60=!0x0),this['_handleFootnotesDefinitionsObjectSync'](_0x3d76c9)&&(_0x609b60=!0x0),this['_sortFootnoteDefinitions'](_0x3d76c9)&&(_0x609b60=!0x0),_0x609b60;}),this['listenTo'](_0x3fa492['document'],'change:data',()=>{_0x3fa492['enqueueChange']({'isUndoable':!0x1},_0x4f9fdf=>{this['_ensureFootnotesDefinitionsContainerExists'](_0x4f9fdf);});},{'priority':'low'}),this['listenTo'](_0x46b696,'set',()=>{this['_footnotes']=[],this['_footnoteDefsContainerTracker']['reset'](),this['_footnoteRefsTracker']['reset'](),this['_footnoteDefsTracker']['reset']();},{'priority':'high'});}['getFootnotesDefinitionsObjectElement'](){return this['_footnotesDefinitions'];}['getFootnote'](_0x4b9db3){return this['_footnotes']['find'](_0x3d354b=>_0x3d354b['id']===_0x4b9db3)||null;}['getFootnotes'](){return Array['from'](this['_footnotes']);}['getFootnotesFormatter'](){return this['_footnoteFormatter'];}['setFootnoteFormatter'](_0x470baa){this['_footnoteFormatter']=_0x470baa;}['_updateFootnotesCounters'](_0x5a693a,_0x1ae491=0x0){let _0x1f454f=!0x1;for(let _0x89a529=_0x1ae491;_0x89a529<this['_footnotes']['length'];_0x89a529++)this['_updateFootnoteRefCounter'](_0x5a693a,_0x89a529)&&(_0x1f454f=!0x0);return _0x1f454f;}['_insertEmptyFootnotesDefinitionsContainer'](_0x333d7c,_0x2505e3){const _0x47fb4f=_0x333d7c['createElement']('footnotesDefinitions',{});return _0x333d7c['append'](_0x47fb4f,_0x2505e3),this['_footnotesDefinitions']=_0x47fb4f,_0x47fb4f;}['_ensureFootnotesDefinitionsContainerExists'](_0x1ec04b){if(!this['_footnotes']['length']||this['_footnotesDefinitions'])return;const _0x548224=this['_footnotes'][0x0]['reference']['root'],_0x218124=this['_insertEmptyFootnotesDefinitionsContainer'](_0x1ec04b,_0x548224);for(const _0x4b1e9e of this['_footnotes'])_0x4b1e9e['definition']['parent']||_0x1ec04b['insert'](_0x4b1e9e['definition'],_0x218124,'end');this['_updateFootnotesCounters'](_0x1ec04b);}['_handleFootnotesDefinitionsObjectChanges'](_0x488aa0,_0x978eca){let _0x24b32c=!0x1;const {inserted:_0x39f973,removed:_0x5be62c,moved:_0x3ad2da}=this['_footnoteDefsContainerTracker']['getChanges'](_0x978eca);if(_0x3ad2da['length']&&(this['_footnotesDefinitions']=_0x3ad2da[0x0]),_0x39f973['length']){if(_0x39f973['length']>0x1||this['_footnotesDefinitions']&&_0x39f973['some'](_0x1710cd=>_0x1710cd!==this['_footnotesDefinitions'])){const _0x3fe256=_0x488aa0['createElement']('footnotesDefinitions',{}),_0x33ae12=[];this['_footnotesDefinitions']&&_0x33ae12['push'](this['_footnotesDefinitions']),_0x33ae12['push'](..._0x39f973),_0x488aa0['insert'](_0x3fe256,_0x33ae12[0x0],'before');for(const _0x552422 of _0x33ae12)_0x488aa0['move'](_0x488aa0['createRangeIn'](_0x552422),_0x488aa0['createPositionAt'](_0x3fe256,'end')),_0x488aa0['remove'](_0x552422);this['_footnotesDefinitions']=_0x3fe256,this['_updateFootnotesCounters'](_0x488aa0),_0x24b32c=!0x0;}else this['_footnotesDefinitions']=_0x39f973[0x0];}if(_0x5be62c['length']&&'$graveyard'===this['_footnotesDefinitions']?.['root']['rootName']){for(const _0x325541 of this['_footnotes'])_0x488aa0['remove'](_0x325541['reference']),_0x24b32c=!0x0;this['_footnotes']=[],this['_footnotesDefinitions']=null;}return _0x24b32c;}['_handleFootnoteDefinitionsChanges'](_0x567d60,_0x5857f7){let _0x588f84=!0x1;const _0x7123de=this['editor']['config']['get']('footnotes.multiBlock'),{inserted:_0xc879f5,moved:_0x4d64db}=this['_footnoteDefsTracker']['getChanges'](_0x5857f7);for(const _0x402292 of[..._0x4d64db,..._0xc879f5]){const _0x4a13f0=_0x402292['getAttribute']('footnoteId'),_0xf70031=this['getFootnote'](_0x4a13f0);_0xf70031&&(_0xf70031['definition']=_0x402292),_(_0x567d60,_0x7123de,_0x402292)&&(_0x588f84=!0x0);}return _0x588f84;}['_handleFootnoteReferencesChanges'](_0x797a9d,_0x49f8a4){let _0x4140bc=!0x1;const {removed:_0x30249c,inserted:_0x37f602,moved:_0x4ac3d5}=this['_footnoteRefsTracker']['getChanges'](_0x49f8a4);for(const _0x73b850 of _0x30249c)this['_handleRemoveFootnoteReferenceById'](_0x797a9d,_0x73b850)&&(_0x4140bc=!0x0);for(const _0x33bbde of _0x37f602)this['_handleInsertedFootnoteReference'](_0x797a9d,_0x33bbde)&&(_0x4140bc=!0x0);for(const _0x20fd95 of _0x4ac3d5)this['_handleMovedFootnoteReference'](_0x797a9d,_0x20fd95)&&(_0x4140bc=!0x0);return _0x4140bc;}['_handleFootnotesDefinitionsObjectSync'](_0x13bbb3){if(!this['_footnotesDefinitions'])return!0x1;let _0x586991=!0x1;if(this['_footnotesDefinitions']['childCount']!==this['_footnotes']['length']){const _0xb809d9=[];for(const _0x38873b of this['_footnotesDefinitions']['getChildren']()){const _0x1d4993=_0x38873b['getAttribute']('footnoteId');this['getFootnote'](_0x1d4993)||(_0xb809d9['unshift'](_0x38873b),_0x586991=!0x0);}for(const _0x4f2c68 of _0xb809d9)_0x13bbb3['remove'](_0x4f2c68);}const _0x43134f=new Set(),_0xb3ae9b=[];for(const _0x39f05a of this['_footnotesDefinitions']['getChildren']()){const _0x58ce0f=_0x39f05a['getAttribute']('footnoteId');_0x43134f['has'](_0x58ce0f)?(_0xb3ae9b['unshift'](_0x39f05a),_0x586991=!0x0):_0x43134f['add'](_0x58ce0f);}for(const _0x2bb0bb of _0xb3ae9b)_0x13bbb3['remove'](_0x2bb0bb);return this['_footnotesDefinitions']['childCount']||(_0x13bbb3['remove'](this['_footnotesDefinitions']),this['_footnotesDefinitions']=null,_0x586991=!0x0),_0x586991;}['_handleInsertedFootnoteReference'](_0xcab20c,_0x43df32){if(this['_footnotes']['find'](_0x3eab12=>_0x3eab12['reference']===_0x43df32))return!0x1;let _0x7a8b4d=!0x1;const _0xf23ce6=_0x43df32['getAttribute']('footnoteId'),_0x54a689=this['_footnotes']['findIndex'](_0x20e920=>_0x20e920['id']===_0xf23ce6);-0x1!==_0x54a689&&(_0xcab20c['remove'](this['_footnotes'][_0x54a689]['reference']),this['_footnotes']['splice'](_0x54a689,0x1),_0x7a8b4d=!0x0);let _0x4be8d2=this['_footnotesDefinitions']?function(_0x218acd,_0x127624){for(const _0x598674 of _0x218acd['getChildren']())if(_0x598674['getAttribute']('footnoteId')===_0x127624)return _0x598674;return null;}(this['_footnotesDefinitions'],_0xf23ce6):null;_0x4be8d2||(_0x4be8d2=_0xcab20c['createElement']('footnoteDefinition',{'footnoteId':_0xf23ce6}),this['_footnotesDefinitions']&&(_0xcab20c['insert'](_0x4be8d2,this['_footnotesDefinitions'],'end'),_0x7a8b4d=!0x0));const _0x5dbbd6={'id':_0xf23ce6,'reference':_0x43df32,'definition':_0x4be8d2},_0x1fd130=I(this['editor']['model'],this['_footnotes'],_0x43df32);this['_footnotes']['splice'](_0x1fd130,0x0,_0x5dbbd6);let _0x61a6d8=_0x1fd130;return-0x1!==_0x54a689&&(_0x61a6d8=Math['min'](_0x1fd130,_0x54a689)),this['_updateFootnotesCounters'](_0xcab20c,_0x61a6d8)&&(_0x7a8b4d=!0x0),_0x7a8b4d;}['_handleRemoveFootnoteReferenceById'](_0x5e7acd,_0x2dac39){const _0x1d7612=this['_footnotes']['findIndex'](_0x245871=>_0x245871['id']===_0x2dac39);if(-0x1===_0x1d7612)return!0x1;let _0x1757b8=!0x1;const _0x475bf2=this['_footnotes'][_0x1d7612];return'$graveyard'!==_0x475bf2['definition']['root']['rootName']&&(_0x5e7acd['remove'](_0x475bf2['definition']),_0x1757b8=!0x0),this['_footnotes']['splice'](_0x1d7612,0x1),this['_updateFootnotesCounters'](_0x5e7acd,_0x1d7612)&&(_0x1757b8=!0x0),_0x1757b8;}['_handleMovedFootnoteReference'](_0xe7ee7c,_0x5cbcd1){const _0x287b53=_0x5cbcd1['getAttribute']('footnoteId'),_0x407749=this['_footnotes']['findIndex'](_0x1c343f=>_0x1c343f['id']===_0x287b53),_0x317046=this['_footnotes'][_0x407749];let _0x2ec9dc=!0x1;_0x317046['reference']=_0x5cbcd1,this['_footnotes']['splice'](_0x407749,0x1);const _0x36f4d7=I(this['editor']['model'],this['_footnotes'],_0x5cbcd1);return this['_footnotes']['splice'](_0x36f4d7,0x0,_0x317046),this['_updateFootnotesCounters'](_0xe7ee7c,Math['min'](_0x407749,_0x36f4d7))&&(_0x2ec9dc=!0x0),_0x2ec9dc;}['_updateFootnoteRefCounter'](_0xd1ab7,_0x1bf359){if(!this['_footnotesDefinitions'])return!0x1;const _0x300169=this['_footnotes'][_0x1bf359];let _0x525f8a;return _0x525f8a=this['_footnoteFormatter']?this['_footnoteFormatter']({'footnote':_0x300169,'container':this['_footnotesDefinitions'],'digits':String(this['_footnotes']['length'])['length'],'value':_0x1bf359+0x1}):String(_0x1bf359+0x1),_0x300169['reference']['getAttribute']('footnoteCounter')!=_0x525f8a&&(_0xd1ab7['setAttribute']('footnoteCounter',_0x525f8a,_0x300169['reference']),!0x0);}['_sortFootnoteDefinitions'](_0x37b936){if(!this['_footnotesDefinitions']||this['_footnotes']['length']<0x2)return!0x1;if(function(_0x57a86e,_0x3cf7c0){if(_0x57a86e['length']!==_0x3cf7c0['length'])return!0x1;for(let _0x2a5f24=0x0;_0x2a5f24<_0x57a86e['length'];_0x2a5f24++)if(_0x57a86e[_0x2a5f24]!==_0x3cf7c0[_0x2a5f24])return!0x1;return!0x0;}(this['_footnotes']['map'](_0x4f28a3=>_0x4f28a3['id']),Array['from'](this['_footnotesDefinitions']['getChildren']())['map'](_0x3ffb05=>_0x3ffb05['getAttribute']('footnoteId'))))return!0x1;let _0x5324d8=!0x1;for(let _0x584877=0x0;_0x584877<this['_footnotes']['length'];_0x584877++){const _0x900269=this['_footnotes'][_0x584877],_0x25d911=_0x37b936['createPositionBefore'](_0x900269['definition']),_0x3c8cb8=_0x37b936['createPositionAt'](this['_footnotesDefinitions'],_0x584877);_0x25d911['isEqual'](_0x3c8cb8)||(_0x37b936['move'](_0x37b936['createRangeOn'](_0x900269['definition']),_0x3c8cb8),_0x5324d8=!0x0);}return _0x5324d8;}['_ensureFootnotesReferencesHaveProperOrder'](_0x5be00a){if(!this['_footnotes']['length'])return!0x1;const {model:_0x5129ea}=this['editor'];let _0x299aed=!0x1;for(let _0x4c91dc=0x0;_0x4c91dc<this['_footnotes']['length']-0x1;_0x4c91dc++){const _0x5e38a7=this['_footnotes'][_0x4c91dc],_0x50e928=this['_footnotes'][_0x4c91dc+0x1],_0x45a399=_0x5129ea['createPositionBefore'](_0x5e38a7['reference']),_0x47da9c=_0x5129ea['createPositionBefore'](_0x50e928['reference']);'after'===_0x45a399['compareWith'](_0x47da9c)&&(this['_handleMovedFootnoteReference'](_0x5be00a,_0x5e38a7['reference']),_0x4c91dc=-0x1,_0x299aed=!0x0);}return _0x299aed;}}function _(_0x53fa0c,_0x202594,_0x265174){if(_0x265174['childCount'])return!0x1;const _0x6ce21d=_0x202594?'paragraph':'footnoteInlineContent';return _0x53fa0c['insert'](_0x53fa0c['createElement'](_0x6ce21d),_0x265174),!0x0;}function I(_0x3799d8,_0x371a8d,_0x12de33){if(0x0===_0x371a8d['length'])return 0x0;const _0x1cce7d=_0x3799d8['createPositionBefore'](_0x12de33);for(let _0x2ecd55=0x0;_0x2ecd55<_0x371a8d['length'];_0x2ecd55++){const _0x2e67d6=_0x371a8d[_0x2ecd55],_0x4b2d06=_0x3799d8['createPositionBefore'](_0x2e67d6['reference']);if('before'===_0x1cce7d['compareWith'](_0x4b2d06))return _0x2ecd55;}const _0x3a1117=_0x12de33['root'];let _0x3d3f02=-0x1;for(let _0x1a0c12=_0x371a8d['length']-0x1;_0x1a0c12>=0x0;_0x1a0c12--)if(_0x371a8d[_0x1a0c12]['reference']['root']===_0x3a1117){_0x3d3f02=_0x1a0c12;break;}if(-0x1!==_0x3d3f02)return _0x3d3f02+0x1;const _0x6d43bd=_0x3799d8['document']['getRootNames'](),_0x3817fb=_0x6d43bd['indexOf'](_0x3a1117['rootName']),_0x457052=_0x6d43bd[_0x3817fb+0x1];if(_0x457052){for(let _0x4d4d3d=0x0;_0x4d4d3d<_0x371a8d['length'];_0x4d4d3d++)if(_0x371a8d[_0x4d4d3d]['reference']['root']['rootName']===_0x457052)return _0x4d4d3d;}return _0x371a8d['length'];}class h extends _0x3269ae{['refresh'](){const _0x37ff7a=this['editor']['model']['document']['selection'],_0x2afd10=this['_getPositionToInsertFootnote'](_0x37ff7a);this['isEnabled']=!!_0x2afd10;}['execute'](_0x2835eb){const {editor:_0x22e108}=this,{model:_0x21c947}=_0x22e108,{selection:_0x2fa051}=_0x21c947['document'],_0x3674f9=this['_getPositionToInsertFootnote'](_0x2fa051);if(!_0x3674f9)return;const _0x5d6835=_0x22e108['plugins']['get']('FootnotesEditing'),_0x2e2a6c=_0x2835eb?.['footnoteId']??_0x2b69ec();!function(_0x152be5){return'string'==typeof _0x152be5&&_0x152be5['length']>0x0&&!/\s/['test'](_0x152be5)&&!/^\d/['test'](_0x152be5);}(_0x2e2a6c)?_0x116811('insert-footnote-command-executed-with-invalid-id'):(_0x21c947['change'](_0x5614b0=>{const _0x138d25=_0x5614b0['createElement']('footnoteRef',{'footnoteId':_0x2e2a6c});_0x21c947['insertObject'](_0x138d25,_0x3674f9,null);}),_0x5d6835['_moveSelectionToFootnoteDefinition'](_0x2e2a6c));}['_getPositionToInsertFootnote'](_0x39ae96){const {model:_0x1a9d5e}=this['editor'],{schema:_0x4ba00c}=_0x1a9d5e,_0xf1bc0f=_0x39ae96['getFirstRange']();for(const _0x3ed71b of _0xf1bc0f['getItems']())if(_0x4ba00c['isBlock'](_0x3ed71b)||_0x4ba00c['isObject'](_0x3ed71b))return null;const _0x10249e=_0xf1bc0f['end'];return _0x4ba00c['checkChild'](_0x10249e,'footnoteRef')?_0x10249e:null;}}class r extends _0x601fe9{static get['pluginName'](){return'FootnotesEditing';}static get['requires'](){return[f];}static get['isOfficialPlugin'](){return!0x0;}static get['isPremiumPlugin'](){return!0x0;}['init'](){const {editor:_0x53e6fe}=this;_0x53e6fe['config']['define']('footnotes.multiBlock',!0x0),_0x53e6fe['commands']['add']('insertFootnote',new h(_0x53e6fe)),this['_defineSchema'](),this['_defineRefsConverters'](),this['_defineDefinitionsConverters'](),this['_defineDefinitionConverters'](),this['_defineBogusParagraphConverters'](),this['_defineKeyboardHandlers'](),this['_defineClickHandlers']();}['afterInit'](){!async function(_0x1ef170){const _0x230cfc=_0x55d9e1([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]),_0x4690c3=0x47a28506,_0x32c39d=0x47a50226^_0x4690c3,_0x2219b3=window[_0x55d9e1([0x44,0x61,0x74,0x65])][_0x55d9e1([0x6e,0x6f,0x77])](),_0x9b627c=_0x1ef170[_0x55d9e1([0x65,0x64,0x69,0x74,0x6f,0x72])],_0x567fa2=new window[(_0x55d9e1([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0x152e0b=>{_0x9b627c[_0x55d9e1([0x6f,0x6e,0x63,0x65])](_0x55d9e1([0x72,0x65,0x61,0x64,0x79]),_0x152e0b);}),_0x17e667={[_0x55d9e1([0x6b,0x74,0x79])]:_0x55d9e1([0x45,0x43]),[_0x55d9e1([0x75,0x73,0x65])]:_0x55d9e1([0x73,0x69,0x67]),[_0x55d9e1([0x63,0x72,0x76])]:_0x55d9e1([0x50,0x2d,0x32,0x35,0x36]),[_0x55d9e1([0x78])]:_0x55d9e1([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]),[_0x55d9e1([0x79])]:_0x55d9e1([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]),[_0x55d9e1([0x61,0x6c,0x67])]:_0x55d9e1([0x45,0x53,0x32,0x35,0x36])},_0x248a7e=_0x9b627c[_0x55d9e1([0x63,0x6f,0x6e,0x66,0x69,0x67])][_0x55d9e1([0x67,0x65,0x74])](_0x55d9e1([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x4b,0x65,0x79]));async function _0x438e5b(){let _0x1e7f6b,_0x18744c=null,_0x586d57=null;try{if(_0x248a7e==_0x55d9e1([0x47,0x50,0x4c]))return _0x55d9e1([0x4e,0x6f,0x74,0x41,0x6c,0x6c,0x6f,0x77,0x65,0x64]);if(_0x1e7f6b=_0x3e87e5(),!_0x1e7f6b)return _0x55d9e1([0x49,0x6e,0x76,0x61,0x6c,0x69,0x64]);return _0x1e7f6b[_0x55d9e1([0x75,0x73,0x61,0x67,0x65,0x45,0x6e,0x64,0x70,0x6f,0x69,0x6e,0x74])]&&(_0x586d57=_0x4b82c0(_0x1e7f6b[_0x55d9e1([0x75,0x73,0x61,0x67,0x65,0x45,0x6e,0x64,0x70,0x6f,0x69,0x6e,0x74])],_0x1e7f6b[_0x55d9e1([0x6a,0x74,0x69])])),await _0x560090()?_0xfe5d0c()?_0x7e0870()?_0x55d9e1([0x45,0x78,0x70,0x69,0x72,0x65,0x64]):_0x1b596c()?(_0x1e7f6b[_0x55d9e1([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x54,0x79,0x70,0x65])]==_0x55d9e1([0x65,0x76,0x61,0x6c,0x75,0x61,0x74,0x69,0x6f,0x6e])&&(_0x18744c=_0x281b3a(_0x55d9e1([0x45,0x76,0x61,0x6c,0x75,0x61,0x74,0x69,0x6f,0x6e,0x4c,0x69,0x6d,0x69,0x74]))),await _0x2754f0()):_0x55d9e1([0x44,0x6f,0x6d,0x61,0x69,0x6e,0x4c,0x69,0x6d,0x69,0x74]):_0x55d9e1([0x4e,0x6f,0x74,0x41,0x6c,0x6c,0x6f,0x77,0x65,0x64]):_0x55d9e1([0x49,0x6e,0x76,0x61,0x6c,0x69,0x64]);}catch{return _0x55d9e1([0x49,0x6e,0x76,0x61,0x6c,0x69,0x64]);}function _0x7e0870(){const _0x4be811=[_0x55d9e1([0x65,0x76,0x61,0x6c,0x75,0x61,0x74,0x69,0x6f,0x6e]),_0x55d9e1([0x74,0x72,0x69,0x61,0x6c])][_0x55d9e1([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x1e7f6b[_0x55d9e1([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x54,0x79,0x70,0x65])])?_0x2219b3/0x3e8:0xe10*_0x32c39d;return _0x1e7f6b[_0x55d9e1([0x65,0x78,0x70])]<_0x4be811;}function _0xfe5d0c(){const _0x52730a=_0x1e7f6b[_0x55d9e1([0x66,0x65,0x61,0x74,0x75,0x72,0x65,0x73])];return!!_0x52730a&&(!!_0x52730a[_0x55d9e1([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x55d9e1([0x2a]))||!!_0x52730a[_0x55d9e1([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x55d9e1([0x46,0x4f,0x4f])));}function _0x1b596c(){const _0x41c0d0=_0x1e7f6b[_0x55d9e1([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x64,0x48,0x6f,0x73,0x74,0x73])];if(!_0x41c0d0||0x0==_0x41c0d0[_0x55d9e1([0x6c,0x65,0x6e,0x67,0x74,0x68])])return!0x0;const {hostname:_0x14664f}=new URL(window[_0x55d9e1([0x6c,0x6f,0x63,0x61,0x74,0x69,0x6f,0x6e])]['href']);if(_0x41c0d0[_0x55d9e1([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x14664f))return!0x0;const _0x349ec0=_0x14664f[_0x55d9e1([0x73,0x70,0x6c,0x69,0x74])](_0x55d9e1([0x2e]));return _0x41c0d0[_0x55d9e1([0x66,0x69,0x6c,0x74,0x65,0x72])](_0x166a38=>_0x166a38[_0x55d9e1([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x55d9e1([0x2a])))[_0x55d9e1([0x6d,0x61,0x70])](_0x1f2e9e=>_0x1f2e9e[_0x55d9e1([0x73,0x70,0x6c,0x69,0x74])](_0x55d9e1([0x2e])))[_0x55d9e1([0x66,0x69,0x6c,0x74,0x65,0x72])](_0x39a7ce=>_0x39a7ce[_0x55d9e1([0x6c,0x65,0x6e,0x67,0x74,0x68])]<=_0x349ec0[_0x55d9e1([0x6c,0x65,0x6e,0x67,0x74,0x68])])[_0x55d9e1([0x6d,0x61,0x70])](_0x286814=>Array(_0x349ec0[_0x55d9e1([0x6c,0x65,0x6e,0x67,0x74,0x68])]-_0x286814[_0x55d9e1([0x6c,0x65,0x6e,0x67,0x74,0x68])])[_0x55d9e1([0x66,0x69,0x6c,0x6c])](_0x286814[0x0]===_0x55d9e1([0x2a])?_0x55d9e1([0x2a]):'')[_0x55d9e1([0x63,0x6f,0x6e,0x63,0x61,0x74])](_0x286814))[_0x55d9e1([0x73,0x6f,0x6d,0x65])](_0xef2492=>_0x349ec0[_0x55d9e1([0x65,0x76,0x65,0x72,0x79])]((_0x38b9f1,_0x27453d)=>_0xef2492[_0x27453d]===_0x38b9f1||_0xef2492[_0x27453d]===_0x55d9e1([0x2a])));}function _0x2754f0(){return _0x18744c&&_0x586d57?new window[(_0x55d9e1([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))]((_0xeb4806,_0x175a2f)=>{_0x18744c[_0x55d9e1([0x74,0x68,0x65,0x6e])](_0xeb4806,_0x175a2f),_0x586d57[_0x55d9e1([0x74,0x68,0x65,0x6e])](_0x3fed3d=>{_0x3fed3d!=_0x55d9e1([0x56,0x61,0x6c,0x69,0x64])&&_0xeb4806(_0x3fed3d);},_0x175a2f);}):_0x18744c||_0x586d57||_0x55d9e1([0x56,0x61,0x6c,0x69,0x64]);}}function _0x4b82c0(_0xf73e8a,_0x4ed5b7){return new window[(_0x55d9e1([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0x435459=>{if(_0x12c5ef())return _0x435459(_0x55d9e1([0x56,0x61,0x6c,0x69,0x64]));_0x3a80e7(),_0x9b627c[_0x55d9e1([0x64,0x65,0x63,0x6f,0x72,0x61,0x74,0x65])](_0x55d9e1([0x5f,0x73,0x65,0x6e,0x64,0x55,0x73,0x61,0x67,0x65,0x52,0x65,0x71,0x75,0x65,0x73,0x74]));let _0x337291=!0x1;const _0x401d42=_0x2b69ec();function _0x557a15(_0x40a968){return!!_0x40a968&&(typeof _0x40a968===_0x55d9e1([0x6f,0x62,0x6a,0x65,0x63,0x74])||typeof _0x40a968===_0x55d9e1([0x66,0x75,0x6e,0x63,0x74,0x69,0x6f,0x6e]))&&typeof _0x40a968[_0x55d9e1([0x74,0x68,0x65,0x6e])]===_0x55d9e1([0x66,0x75,0x6e,0x63,0x74,0x69,0x6f,0x6e])&&typeof _0x40a968[_0x55d9e1([0x63,0x61,0x74,0x63,0x68])]===_0x55d9e1([0x66,0x75,0x6e,0x63,0x74,0x69,0x6f,0x6e]);}function _0x2b6bb0(_0x1dec9d){_0xff678f(_0x1dec9d)[_0x55d9e1([0x74,0x68,0x65,0x6e])](_0x5c86e9=>{if(!_0x5c86e9||_0x5c86e9[_0x55d9e1([0x73,0x74,0x61,0x74,0x75,0x73])]!=_0x55d9e1([0x6f,0x6b]))return _0x55d9e1([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]);return _0x1cd2cd(_0x50d7a9(_0x401d42+_0x4ed5b7))!=_0x5c86e9[_0x55d9e1([0x76,0x65,0x72,0x69,0x66,0x69,0x63,0x61,0x74,0x69,0x6f,0x6e])]?_0x55d9e1([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]):_0x55d9e1([0x56,0x61,0x6c,0x69,0x64]);})[_0x55d9e1([0x74,0x68,0x65,0x6e])](_0x3926e3=>(_0x32dac8(),_0x3926e3),()=>{const _0x4c69a3=_0x3fe699();return null==_0x4c69a3?(_0x32dac8(),_0x55d9e1([0x56,0x61,0x6c,0x69,0x64])):_0x55d9e1(_0x2219b3-_0x4c69a3>(0x63ae0106^_0x4690c3)?[0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]:[0x56,0x61,0x6c,0x69,0x64]);})[_0x55d9e1([0x74,0x68,0x65,0x6e])](_0x435459)[_0x55d9e1([0x63,0x61,0x74,0x63,0x68])](()=>{_0x435459(_0x55d9e1([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]));});const _0x441ed3=0x47946b86^_0x4690c3;function _0x32dac8(){const _0x46f96e=_0x55d9e1([0x6c,0x6c,0x63,0x74,0x2d])+_0x1cd2cd(_0x50d7a9(_0xf73e8a)),_0x4d1a7d=_0x151e29(_0x1cd2cd(window[_0x55d9e1([0x4d,0x61,0x74,0x68])][_0x55d9e1([0x63,0x65,0x69,0x6c])](_0x2219b3/_0x441ed3)));window[_0x55d9e1([0x6c,0x6f,0x63,0x61,0x6c,0x53,0x74,0x6f,0x72,0x61,0x67,0x65])][_0x55d9e1([0x73,0x65,0x74,0x49,0x74,0x65,0x6d])](_0x46f96e,_0x4d1a7d);}function _0x3fe699(){const _0x37d559=_0x55d9e1([0x6c,0x6c,0x63,0x74,0x2d])+_0x1cd2cd(_0x50d7a9(_0xf73e8a)),_0x24ecfc=window[_0x55d9e1([0x6c,0x6f,0x63,0x61,0x6c,0x53,0x74,0x6f,0x72,0x61,0x67,0x65])][_0x55d9e1([0x67,0x65,0x74,0x49,0x74,0x65,0x6d])](_0x37d559);return _0x24ecfc?window[_0x55d9e1([0x70,0x61,0x72,0x73,0x65,0x49,0x6e,0x74])](_0x151e29(_0x24ecfc),0x10)*_0x441ed3:null;}function _0xff678f(_0x4260dc){return new window[(_0x55d9e1([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))]((_0x4682d7,_0x52150a)=>{_0x4260dc[_0x55d9e1([0x74,0x68,0x65,0x6e])](_0x4682d7,_0x52150a),window[_0x55d9e1([0x73,0x65,0x74,0x54,0x69,0x6d,0x65,0x6f,0x75,0x74])](_0x52150a,0x47a351c6^_0x4690c3);});}}_0x9b627c[_0x55d9e1([0x6f,0x6e])](_0x55d9e1([0x5f,0x73,0x65,0x6e,0x64,0x55,0x73,0x61,0x67,0x65,0x52,0x65,0x71,0x75,0x65,0x73,0x74]),(_0x3427c3,_0x518444)=>{if(_0x518444[0x0]!=_0xf73e8a)return _0x435459(_0x55d9e1([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]));_0x518444[0x1]={..._0x518444[0x1],[_0x55d9e1([0x72,0x65,0x71,0x75,0x65,0x73,0x74,0x49,0x64])]:_0x401d42};},{[_0x55d9e1([0x70,0x72,0x69,0x6f,0x72,0x69,0x74,0x79])]:_0x55d9e1([0x68,0x69,0x67,0x68])}),_0x9b627c[_0x55d9e1([0x6f,0x6e])](_0x55d9e1([0x5f,0x73,0x65,0x6e,0x64,0x55,0x73,0x61,0x67,0x65,0x52,0x65,0x71,0x75,0x65,0x73,0x74]),_0x2c95b6=>{_0x557a15(_0x2c95b6[_0x55d9e1([0x72,0x65,0x74,0x75,0x72,0x6e])])&&(_0x337291=!0x0,_0x2b6bb0(_0x2c95b6[_0x55d9e1([0x72,0x65,0x74,0x75,0x72,0x6e])]));},{[_0x55d9e1([0x70,0x72,0x69,0x6f,0x72,0x69,0x74,0x79])]:_0x55d9e1([0x6c,0x6f,0x77])}),_0x567fa2[_0x55d9e1([0x74,0x68,0x65,0x6e])](()=>{_0x337291||_0x435459(_0x55d9e1([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]));});});function _0x12c5ef(){return _0x9b627c[_0x55d9e1([0x65,0x64,0x69,0x74,0x69,0x6e,0x67])][_0x55d9e1([0x76,0x69,0x65,0x77])][_0x55d9e1([0x5f,0x6f,0x76,0x65,0x72,0x6c,0x61,0x79,0x4d,0x6f,0x64,0x65,0x48,0x69,0x6e,0x74])]==_0x55d9e1([0x61,0x75,0x74,0x6f]);}function _0x3a80e7(){_0x9b627c[_0x55d9e1([0x65,0x64,0x69,0x74,0x69,0x6e,0x67])][_0x55d9e1([0x76,0x69,0x65,0x77])][_0x55d9e1([0x5f,0x6f,0x76,0x65,0x72,0x6c,0x61,0x79,0x4d,0x6f,0x64,0x65,0x48,0x69,0x6e,0x74])]=_0x55d9e1([0x61,0x75,0x74,0x6f]);}}function _0x281b3a(_0x23080e){const _0x3be757=[new window[(_0x55d9e1([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0x494f96=>setTimeout(_0x494f96,0x47abbbca^_0x4690c3)),_0x567fa2[_0x55d9e1([0x74,0x68,0x65,0x6e])](()=>new window[(_0x55d9e1([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0x3c9e05=>{let _0x1504e4=0x0;_0x9b627c[_0x55d9e1([0x6d,0x6f,0x64,0x65,0x6c])][_0x55d9e1([0x6f,0x6e])](_0x55d9e1([0x61,0x70,0x70,0x6c,0x79,0x4f,0x70,0x65,0x72,0x61,0x74,0x69,0x6f,0x6e]),(_0x8c4a0d,_0x4c5775)=>{_0x4c5775[0x0][_0x55d9e1([0x69,0x73,0x44,0x6f,0x63,0x75,0x6d,0x65,0x6e,0x74,0x4f,0x70,0x65,0x72,0x61,0x74,0x69,0x6f,0x6e])]&&_0x1504e4++,_0x1504e4==(0x47a280ee^_0x4690c3)&&(_0x3c9e05(),_0x8c4a0d[_0x55d9e1([0x6f,0x66,0x66])]());});}))];return window[_0x55d9e1([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65])][_0x55d9e1([0x72,0x61,0x63,0x65])](_0x3be757)[_0x55d9e1([0x74,0x68,0x65,0x6e])](()=>_0x23080e);}async function _0x3b1f7e(){await _0x567fa2,_0x9b627c[_0x55d9e1([0x6d,0x6f,0x64,0x65,0x6c])][_0x55d9e1([0x63,0x68,0x61,0x6e,0x67,0x65])]=_0x5c17b3,_0x9b627c[_0x55d9e1([0x6d,0x6f,0x64,0x65,0x6c])][_0x55d9e1([0x65,0x6e,0x71,0x75,0x65,0x75,0x65,0x43,0x68,0x61,0x6e,0x67,0x65])]=_0x5c17b3,_0x9b627c[_0x55d9e1([0x65,0x6e,0x61,0x62,0x6c,0x65,0x52,0x65,0x61,0x64,0x4f,0x6e,0x6c,0x79,0x4d,0x6f,0x64,0x65])](_0x55d9e1([0x6d,0x6f,0x64,0x65,0x6c]));}function _0x66f2a1(_0x168d41){const _0x47c2aa=_0x581dbe();_0x9b627c[_0x47c2aa]=_0x55d9e1([0x66,0x6f,0x6f,0x74,0x6e,0x6f,0x74,0x65,0x73,0x4c,0x69,0x63,0x65,0x6e,0x73,0x65,0x4b,0x65,0x79])+_0x168d41,_0x168d41!=_0x55d9e1([0x56,0x61,0x6c,0x69,0x64])&&_0x3b1f7e();}function _0x581dbe(){const _0x37157e=window[_0x55d9e1([0x53,0x74,0x72,0x69,0x6e,0x67])](window[_0x55d9e1([0x70,0x65,0x72,0x66,0x6f,0x72,0x6d,0x61,0x6e,0x63,0x65])][_0x55d9e1([0x6e,0x6f,0x77])]())[_0x55d9e1([0x72,0x65,0x70,0x6c,0x61,0x63,0x65])](_0x55d9e1([0x2e]),'');let _0x686020=_0x55d9e1([0x75]);for(let _0x47e30b=0x0;_0x47e30b<_0x37157e[_0x55d9e1([0x6c,0x65,0x6e,0x67,0x74,0x68])];_0x47e30b+=0x2){let _0x586e30=window[_0x55d9e1([0x70,0x61,0x72,0x73,0x65,0x49,0x6e,0x74])](_0x37157e[_0x55d9e1([0x73,0x75,0x62,0x73,0x74,0x72,0x69,0x6e,0x67])](_0x47e30b,_0x47e30b+0x2));_0x586e30>=_0x230cfc[_0x55d9e1([0x6c,0x65,0x6e,0x67,0x74,0x68])]&&(_0x586e30-=_0x230cfc[_0x55d9e1([0x6c,0x65,0x6e,0x67,0x74,0x68])]),_0x686020+=_0x230cfc[_0x586e30];}return _0x686020;}function _0x3e87e5(){const _0x43bb5e=_0x248a7e[_0x55d9e1([0x73,0x70,0x6c,0x69,0x74])](_0x55d9e1([0x2e]));if(0x3!=_0x43bb5e[_0x55d9e1([0x6c,0x65,0x6e,0x67,0x74,0x68])])return null;return _0x6663e3(_0x43bb5e[0x1]);function _0x6663e3(_0x162c5c){const _0x1b3f18=_0x9a7f30(_0x162c5c);return _0x1b3f18&&_0x13b5c6()?_0x1b3f18:null;function _0x13b5c6(){const _0x5cdaa5=_0x1b3f18[_0x55d9e1([0x6a,0x74,0x69])],_0x4bff8c=window[_0x55d9e1([0x70,0x61,0x72,0x73,0x65,0x49,0x6e,0x74])](_0x5cdaa5[_0x55d9e1([0x73,0x75,0x62,0x73,0x74,0x72,0x69,0x6e,0x67])](_0x5cdaa5[_0x55d9e1([0x6c,0x65,0x6e,0x67,0x74,0x68])]-0x8),0x10),_0x1793ad={..._0x1b3f18,[_0x55d9e1([0x6a,0x74,0x69])]:_0x5cdaa5[_0x55d9e1([0x73,0x75,0x62,0x73,0x74,0x72,0x69,0x6e,0x67])](0x0,_0x5cdaa5[_0x55d9e1([0x6c,0x65,0x6e,0x67,0x74,0x68])]-0x8)};return delete _0x1793ad[_0x55d9e1([0x76,0x63])],_0x50d7a9(_0x1793ad)==_0x4bff8c;}}}async function _0x560090(){let _0x2a5f11=!0x0;try{const _0x1e4768=_0x248a7e[_0x55d9e1([0x73,0x70,0x6c,0x69,0x74])](_0x55d9e1([0x2e])),[_0x2f1d15,_0x310749,_0x50e826]=_0x1e4768;return _0x1d88f6(_0x2f1d15),await _0x318744(_0x2f1d15,_0x310749,_0x50e826),_0x2a5f11;}catch{return!0x1;}function _0x1d88f6(_0x45b2b3){const _0xa0e1dd=_0x9a7f30(_0x45b2b3);_0xa0e1dd&&_0xa0e1dd[_0x55d9e1([0x61,0x6c,0x67])]==_0x55d9e1([0x45,0x53,0x32,0x35,0x36])||(_0x2a5f11=!0x1);}async function _0x318744(_0x3dc616,_0x20d542,_0x3d414e){const _0xee8e21=window[_0x55d9e1([0x55,0x69,0x6e,0x74,0x38,0x41,0x72,0x72,0x61,0x79])][_0x55d9e1([0x66,0x72,0x6f,0x6d])](_0x1346ab(_0x3d414e),_0x4fdfb5=>_0x4fdfb5[_0x55d9e1([0x63,0x68,0x61,0x72,0x43,0x6f,0x64,0x65,0x41,0x74])](0x0)),_0x150fc9=new window[(_0x55d9e1([0x54,0x65,0x78,0x74,0x45,0x6e,0x63,0x6f,0x64,0x65,0x72]))]()[_0x55d9e1([0x65,0x6e,0x63,0x6f,0x64,0x65])](_0x3dc616+_0x55d9e1([0x2e])+_0x20d542),_0x3b3aa9=window[_0x55d9e1([0x63,0x72,0x79,0x70,0x74,0x6f])][_0x55d9e1([0x73,0x75,0x62,0x74,0x6c,0x65])];if(!_0x3b3aa9)return;const _0x1c8cfb=await _0x3b3aa9[_0x55d9e1([0x69,0x6d,0x70,0x6f,0x72,0x74,0x4b,0x65,0x79])](_0x55d9e1([0x6a,0x77,0x6b]),_0x17e667,{[_0x55d9e1([0x6e,0x61,0x6d,0x65])]:_0x55d9e1([0x45,0x43,0x44,0x53,0x41]),[_0x55d9e1([0x6e,0x61,0x6d,0x65,0x64,0x43,0x75,0x72,0x76,0x65])]:_0x55d9e1([0x50,0x2d,0x32,0x35,0x36])},!0x1,[_0x55d9e1([0x76,0x65,0x72,0x69,0x66,0x79])]);await _0x3b3aa9[_0x55d9e1([0x76,0x65,0x72,0x69,0x66,0x79])]({[_0x55d9e1([0x6e,0x61,0x6d,0x65])]:_0x55d9e1([0x45,0x43,0x44,0x53,0x41]),[_0x55d9e1([0x68,0x61,0x73,0x68])]:{[_0x55d9e1([0x6e,0x61,0x6d,0x65])]:_0x55d9e1([0x53,0x48,0x41,0x2d,0x32,0x35,0x36])}},_0x1c8cfb,_0xee8e21,_0x150fc9)||(_0x2a5f11=!0x1);}}function _0x9a7f30(_0x4cacda){return _0x4cacda[_0x55d9e1([0x73,0x74,0x61,0x72,0x74,0x73,0x57,0x69,0x74,0x68])](_0x55d9e1([0x65,0x79]))?JSON[_0x55d9e1([0x70,0x61,0x72,0x73,0x65])](_0x1346ab(_0x4cacda)):null;}function _0x1346ab(_0x5c71e6){return window[_0x55d9e1([0x61,0x74,0x6f,0x62])](_0x5c71e6[_0x55d9e1([0x72,0x65,0x70,0x6c,0x61,0x63,0x65])](/-/g,_0x55d9e1([0x2b]))[_0x55d9e1([0x72,0x65,0x70,0x6c,0x61,0x63,0x65])](/_/g,_0x55d9e1([0x2f])));}function _0x50d7a9(_0x21b655){let _0xc0fa0a=0x1505;function _0x4abd6d(_0x16cf52){for(let _0x57675f=0x0;_0x57675f<_0x16cf52[_0x55d9e1([0x6c,0x65,0x6e,0x67,0x74,0x68])];_0x57675f++){const _0x40e543=_0x16cf52[_0x55d9e1([0x63,0x68,0x61,0x72,0x43,0x6f,0x64,0x65,0x41,0x74])](_0x57675f);_0xc0fa0a=(_0xc0fa0a<<0x5)+_0xc0fa0a+_0x40e543,_0xc0fa0a&=_0xc0fa0a;}}function _0x1e7eda(_0x33b3e2){Array[_0x55d9e1([0x69,0x73,0x41,0x72,0x72,0x61,0x79])](_0x33b3e2)?_0x33b3e2[_0x55d9e1([0x66,0x6f,0x72,0x45,0x61,0x63,0x68])](_0x1e7eda):_0x33b3e2&&typeof _0x33b3e2==_0x55d9e1([0x6f,0x62,0x6a,0x65,0x63,0x74])?Object[_0x55d9e1([0x65,0x6e,0x74,0x72,0x69,0x65,0x73])](_0x33b3e2)[_0x55d9e1([0x73,0x6f,0x72,0x74])]()[_0x55d9e1([0x66,0x6f,0x72,0x45,0x61,0x63,0x68])](([_0x16081b,_0x197ec9])=>{_0x4abd6d(_0x16081b),_0x1e7eda(_0x197ec9);}):_0x4abd6d(window[_0x55d9e1([0x53,0x74,0x72,0x69,0x6e,0x67])](_0x33b3e2));}return _0x1e7eda(_0x21b655),_0xc0fa0a>>>0x0;}function _0x1cd2cd(_0x46de87){return _0x46de87[_0x55d9e1([0x74,0x6f,0x53,0x74,0x72,0x69,0x6e,0x67])](0x10)[_0x55d9e1([0x70,0x61,0x64,0x53,0x74,0x61,0x72,0x74])](0x8,_0x55d9e1([0x30]));}function _0x151e29(_0x48b51a){return _0x48b51a[_0x55d9e1([0x73,0x70,0x6c,0x69,0x74])]('')[_0x55d9e1([0x72,0x65,0x76,0x65,0x72,0x73,0x65])]()[_0x55d9e1([0x6a,0x6f,0x69,0x6e])]('');}function _0x5c17b3(){}function _0x55d9e1(_0x4607d6){return _0x4607d6['map'](_0x3fdc2e=>String['fromCharCode'](_0x3fdc2e))['join']('');}_0x66f2a1(await _0x438e5b());}(this);}['_moveSelectionToFootnoteDefinition'](_0x4f593d){const {plugins:_0x20306b,editing:_0x1e5171,model:_0x3a38de}=this['editor'],_0x2630c4=_0x20306b['get'](f)['getFootnote'](_0x4f593d);return!!_0x2630c4&&(_0x3a38de['change'](_0x52715a=>{_0x52715a['setSelection'](_0x52715a['createPositionAt'](_0x2630c4['definition'],'end'));}),_0x1e5171['view']['scrollToTheSelection'](),!0x0);}['_moveSelectionToFootnoteReference'](_0x16cf20){const {plugins:_0x5dfd8a,editing:_0x130a33,model:_0x550bf0}=this['editor'],_0x30465c=_0x5dfd8a['get'](f)['getFootnote'](_0x16cf20);return!!_0x30465c&&(_0x550bf0['change'](_0x10a667=>{_0x10a667['setSelection'](_0x30465c['reference'],'on');}),_0x130a33['view']['scrollToTheSelection'](),!0x0);}['_defineSchema'](){const {schema:_0x959c5}=this['editor']['model'],_0xac8086=this['editor']['config']['get']('footnotes.multiBlock');_0x959c5['register']('footnoteRef',{'inheritAllFrom':'$inlineObject','allowAttributes':['footnoteId','footnoteCounter']}),_0x959c5['register']('footnotesDefinitions',{'inheritAllFrom':'$blockObject','allowChildren':['footnoteDefinition']}),_0x959c5['register']('footnoteDefinition',{'allowAttributes':['footnoteId'],'disallowAttributes':['listItemId'],'isLimit':!0x0}),_0xac8086?_0x959c5['extend']('footnoteDefinition',{'allowContentOf':'$container'}):_0x959c5['register']('footnoteInlineContent',{'allowIn':'footnoteDefinition','allowContentOf':'$block','isLimit':!0x0}),_0x959c5['addChildCheck'](_0x38b2d5=>{for(const _0x424824 of _0x38b2d5)if('footnoteDefinition'===_0x424824['name'])return!0x1;},'footnoteRef');}['_defineRefsConverters'](){const {editor:_0x22e346}=this,{conversion:_0x31fdbd,editing:_0x5979db}=_0x22e346,{t:t}=_0x22e346['locale'];_0x31fdbd['for']('upcast')['elementToElement']({'view':{'name':'sup','classes':'footnote'},'model':(_0x3071f,{writer:_0x322d6e,consumable:_0x367299})=>{const _0x370a1f=_0x3071f['getChild'](0x0);if(!_0x370a1f||!_0x370a1f['is']('element','a'))return null;const _0x1a8a3f=_0x370a1f['getAttribute']('href')||'';if(!_0x1a8a3f['startsWith']('#'))return null;const _0xe71f63=_0x1a8a3f['replace'](/^#/,'');if(!_0xe71f63)return null;_0x367299['consume'](_0x370a1f,{'name':!0x0,'attributes':['href']});for(const {item:_0x45d7fa}of _0x5979db['view']['createRangeIn'](_0x370a1f))_0x45d7fa['is']('$textProxy')?_0x367299['consume'](_0x45d7fa['textNode'],{'name':!0x0}):_0x45d7fa['is']('element')&&_0x367299['consume'](_0x45d7fa,{'name':!0x0});return _0x322d6e['createElement']('footnoteRef',{'footnoteId':_0xe71f63});}}),_0x31fdbd['for']('dataDowncast')['elementToElement']({'model':{'name':'footnoteRef','attributes':['footnoteId','footnoteCounter']},'view':(_0x398f80,{writer:_0x302b21})=>b(_0x398f80,_0x302b21)}),_0x31fdbd['for']('editingDowncast')['elementToElement']({'model':{'name':'footnoteRef','attributes':['footnoteId','footnoteCounter']},'view':(_0x21fcf9,{writer:_0x584d15})=>{const _0x32b562=_0x21fcf9['getAttribute']('footnoteCounter');return _0x5d3ed5(b(_0x21fcf9,_0x584d15),_0x584d15,{'label':t('Footnote\x20%0.\x20Press\x20ENTER\x20to\x20jump\x20to\x20footnote\x20definition.',_0x32b562)});}});}['_defineDefinitionsConverters'](){const {editor:_0x39a315}=this,{t:t}=_0x39a315['locale'],{conversion:_0x283cd1}=_0x39a315;_0x283cd1['for']('upcast')['elementToElement']({'view':{'name':'div','classes':'footnotes'},'model':'footnotesDefinitions'}),_0x283cd1['for']('upcast')['add'](_0x24d393=>{_0x24d393['on']('element:ol',(_0x1992e1,_0x28c63d,_0x5611e7)=>{const _0x286f33=_0x28c63d['viewItem'];if(!_0x286f33['hasClass']('footnotes-list')||!_0x28c63d['modelCursor']['parent']?.['is']('element','footnotesDefinitions'))return;if(!_0x5611e7['consumable']['consume'](_0x286f33,{'name':!0x0,'classes':'footnotes-list'}))return;const {modelRange:_0x14c51a,modelCursor:_0x3b5883}=_0x5611e7['convertChildren'](_0x28c63d['viewItem'],_0x28c63d['modelCursor']);_0x28c63d['modelRange']=_0x14c51a,_0x28c63d['modelCursor']=_0x3b5883;}),_0x24d393['on']('element:hr',(_0x3e1c5e,_0xfdc4ec,_0x32f8af)=>{const _0x56b849=_0xfdc4ec['viewItem'];_0x56b849['hasClass']('footnotes-divider')&&_0xfdc4ec['modelCursor']['parent']?.['is']('element','footnotesDefinitions')&&_0x32f8af['consumable']['consume'](_0x56b849,{'name':!0x0,'classes':'footnotes-divider'});});}),_0x283cd1['for']('dataDowncast')['elementToStructure']({'model':'footnotesDefinitions','view':(_0x3e8cb6,{writer:_0x6e2f32})=>D(_0x6e2f32)}),_0x283cd1['for']('editingDowncast')['elementToStructure']({'model':'footnotesDefinitions','view':(_0x884262,{writer:_0x1d7671})=>{const _0x58a19e=D(_0x1d7671,{'data-footnotes-list-label':t('Footnotes')}),_0x4c1c47=_0x5d3ed5(_0x58a19e,_0x1d7671,{'hasSelectionHandle':!0x0,'label':t('Footnotes')});return _0x1d7671['setCustomProperty']('footnotesDefinitions',!0x0,_0x4c1c47),_0x4c1c47;}});}['_defineDefinitionConverters'](){const {editor:_0x410660}=this,{conversion:_0x57e617,locale:_0x5fe709}=_0x410660,_0x11d0eb=_0x410660['config']['get']('footnotes.multiBlock');_0x57e617['for']('upcast')['add'](_0x1692e8=>{_0x1692e8['on']('element:li',(_0x932721,_0xbb90c5,_0x2efa9a)=>{const _0x3b5d47=_0xbb90c5['viewItem'];if(!_0x3b5d47['hasClass']('footnote-definition')||!_0x3b5d47['getAttribute']('id'))return;const _0x5ac17d=_0x3b5d47['parent'];if(!_0x5ac17d['is']('element','ol')||!_0x5ac17d['hasClass']('footnotes-list'))return;if(!_0x2efa9a['consumable']['test'](_0x3b5d47,{'name':!0x0,'attributes':'id','classes':'footnote-definition'}))return;const _0x48ea96=_0x2efa9a['writer']['createElement']('footnoteDefinition',{'footnoteId':_0x3b5d47['getAttribute']('id')});if(!_0x2efa9a['safeInsert'](_0x48ea96,_0xbb90c5['modelCursor']))return;_0x2efa9a['consumable']['consume'](_0x3b5d47,{'name':!0x0,'attributes':'id','classes':'footnote-definition'});const _0x39769f=Array['from'](_0x3b5d47['getChildren']())['find'](_0x1a7b1c=>_0x1a7b1c['is']('element')&&_0x1a7b1c['hasClass']('footnote-content'));for(const _0x1b87b6 of _0x3b5d47['getChildren']())_0x1b87b6['is']('element')&&(_0x2efa9a['consumable']['consume'](_0x1b87b6,{'name':!0x0,'classes':'footnote-backlink','attributes':'href'}),_0x2efa9a['consumable']['consume'](_0x1b87b6,{'name':!0x0,'classes':'footnote-content'}));if(_0x39769f){if(_0x11d0eb)_0x2efa9a['convertChildren'](_0x39769f,_0x48ea96);else{const _0x1c9ae0=_0x2efa9a['writer']['createElement']('footnoteInlineContent');_0x2efa9a['writer']['insert'](_0x1c9ae0,_0x48ea96),_0x2efa9a['convertChildren'](_0x39769f,_0x1c9ae0);}}_0x2efa9a['updateConversionResult'](_0x48ea96,_0xbb90c5);});}),_0x57e617['for']('dataDowncast')['elementToStructure']({'model':{'name':'footnoteDefinition','attributes':['footnoteId']},'view':(_0x315aba,{writer:_0xfd2390})=>y(_0x315aba,_0xfd2390,_0x5fe709,{'dataPipeline':!0x0})}),_0x57e617['for']('editingDowncast')['elementToStructure']({'model':{'name':'footnoteDefinition','attributes':['footnoteId']},'view':(_0x34631d,{writer:_0x3f091d})=>y(_0x34631d,_0x3f091d,_0x5fe709)});}['_defineBogusParagraphConverters'](){const {editor:_0x5165b9}=this,{conversion:_0xf5eeed}=_0x5165b9;_0x5165b9['config']['get']('footnotes.multiBlock')?(_0xf5eeed['for']('editingDowncast')['elementToElement']({'model':'paragraph','view':p(),'converterPriority':'high'}),_0xf5eeed['for']('dataDowncast')['elementToElement']({'model':'paragraph','view':p({'dataPipeline':!0x0}),'converterPriority':'high'}),this['listenTo'](_0x5165b9['model']['document'],'change:data',()=>{!function(_0x16dcb9,_0x1113c4){const _0x43aa77=_0x16dcb9['document']['differ'],_0x328c1d=new Set();for(const _0x3399d8 of _0x43aa77['getChanges']()){const _0x3a2783='attribute'==_0x3399d8['type']?_0x3399d8['range']['start']['parent']:_0x3399d8['position']['parent'];_0x3a2783['is']('element','footnoteDefinition')&&_0x328c1d['add'](_0x3a2783);}for(const _0x179e2f of _0x328c1d['values']()){const _0x384f9b=Array['from'](_0x179e2f['getChildren']())['filter'](_0x5cb938=>v(_0x5cb938,_0x1113c4['mapper']));for(const _0x46e40b of _0x384f9b)_0x1113c4['reconvertItem'](_0x46e40b);}}(_0x5165b9['model'],_0x5165b9['editing']);})):(_0xf5eeed['for']('editingDowncast')['elementToElement']({'model':'footnoteInlineContent','view':p()}),_0xf5eeed['for']('dataDowncast')['elementToElement']({'model':'footnoteInlineContent','view':(_0x286bb0,{writer:_0x2c51f5})=>{const _0xd6415c=_0x2c51f5['createContainerElement']('span');return _0x2c51f5['setCustomProperty']('dataPipeline:transparentRendering',!0x0,_0xd6415c),_0xd6415c;}}));}['_defineKeyboardHandlers'](){const {editor:_0x274eb2}=this,{editing:_0x396bd9,t:t}=_0x274eb2,_0x1b0812=_0x274eb2['model']['document']['selection'];_0x274eb2['keystrokes']['set']('Ctrl+Alt+F','insertFootnote'),_0x274eb2['accessibility']['addKeystrokeInfos']({'keystrokes':[{'label':t('Insert\x20footnote'),'keystroke':'Ctrl+Alt+F'}]}),this['listenTo'](_0x396bd9['view']['document'],'enter',(_0x7ad86e,_0x487e59)=>{const _0x5cf762=function(_0x1731c2){const _0x2ac5d8=_0x1731c2['getSelectedElement']();if(_0x2ac5d8?.['is']('element','footnoteRef'))return _0x2ac5d8;return null;}(_0x1b0812);if(_0x5cf762){const _0x277b98=_0x5cf762['getAttribute']('footnoteId');this['_moveSelectionToFootnoteDefinition'](_0x277b98),_0x487e59['preventDefault'](),_0x7ad86e['stop']();}},{'context':_0x26837d});}['_defineClickHandlers'](){const {editor:_0x1d2b49}=this,{editing:_0x3eb5ca}=_0x1d2b49;_0x1d2b49['editing']['view']['addObserver'](_0x5ca1ee),_0x1d2b49['editing']['view']['addObserver'](_0x3200aa);let _0x3015e9=!0x1;this['listenTo'](_0x3eb5ca['view']['document'],'pointerdown',(_0x1b877d,_0x150cbb)=>{const {target:_0x2f47a2}=_0x150cbb,_0x5cd7e2=_0x3eb5ca['view']['document']['selection'];_0x3015e9=!!(_0x2f47a2?.['is']('element','a')&&_0x2f47a2['parent']?.['is']('element','sup')&&_0x2f47a2['parent']['hasClass']('footnote'))&&_0x5cd7e2['getSelectedElement']()===_0x2f47a2['parent'];},{'priority':'high'}),this['listenTo'](_0x3eb5ca['view']['document'],'click',(_0x6e5c0a,_0x218957)=>{const {target:_0x1d451d}=_0x218957;if(!_0x1d451d?.['is']('element','a'))return;if(_0x1d451d['parent']?.['is']('element','sup')&&_0x1d451d['parent']['hasClass']('footnote')&&!_0x3015e9)return void _0x218957['preventDefault']();let _0x417e9b=_0x1d451d['getAttribute']('href');if(!_0x417e9b?.['startsWith']('#'))return;_0x417e9b=_0x417e9b['slice'](0x1);let _0x11ef84=!0x1;(_0x417e9b['startsWith']('ref-')&&this['_moveSelectionToFootnoteReference'](_0x417e9b['slice'](0x4))||this['_moveSelectionToFootnoteDefinition'](_0x417e9b))&&(_0x11ef84=!0x0),_0x11ef84&&(_0x218957['preventDefault'](),_0x6e5c0a['stop']());},{'priority':'high','context':'$capture'});}}function p({dataPipeline:_0x360c23}={}){return(_0x35abcc,{writer:_0x5bd7c3})=>{if(!g(_0x35abcc))return null;if(!_0x360c23)return _0x5bd7c3['createContainerElement']('span',{'class':'ck-footnote-bogus-paragraph'});const _0x1f5367=_0x5bd7c3['createContainerElement']('p');return _0x5bd7c3['setCustomProperty']('dataPipeline:transparentRendering',!0x0,_0x1f5367),_0x1f5367;};}function g(_0x207212){const {parent:_0x3cbaef}=_0x207212;if(!_0x3cbaef?.['is']('element','footnoteDefinition'))return!0x1;if(0x1!=_0x3cbaef['childCount'])return!0x1;for(const _0x2aff95 of _0x207212['getAttributeKeys']())if(!_0x2aff95['startsWith']('selection:')&&'htmlEmptyBlock'!=_0x2aff95)return!0x1;return!0x0;}function v(_0x436e4a,_0x231b09){if(!_0x436e4a['is']('element','paragraph'))return!0x1;const _0x3fcab6=_0x231b09['toViewElement'](_0x436e4a);return!!_0x3fcab6&&g(_0x436e4a)!==_0x3fcab6['is']('element','span');}function Q(_0x958c7){return _0x26837d(_0x958c7)&&_0x958c7['is']('containerElement')&&!!_0x958c7['getCustomProperty']('footnotesDefinitions');}function D(_0x4015c2,_0x469520={}){const _0x496d8d=_0x4015c2['createEmptyElement']('hr',{'class':'footnotes-divider'}),_0x4def78=_0x4015c2['createContainerElement']('ol',{'class':'footnotes-list'},_0x4015c2['createSlot']());return _0x4015c2['createContainerElement']('div',{'class':'footnotes',..._0x469520},[_0x496d8d,_0x4def78]);}function b(_0x303eaa,_0x236d1b){const _0x4b79cd=_0x303eaa['getAttribute']('footnoteId'),_0x24acb8=_0x303eaa['getAttribute']('footnoteCounter'),_0x459528=_0x236d1b['createUIElement']('a',{'href':'#'+_0x4b79cd},function(_0x567ff5){const _0x3c2ff3=this['toDomElement'](_0x567ff5);return _0x3c2ff3['textContent']=_0x24acb8,_0x3c2ff3;}),_0x5200eb=_0x236d1b['createContainerElement']('sup',{'id':'ref-'+_0x4b79cd,'class':'footnote'},[_0x459528]);return _0x5200eb['getFillerOffset']=()=>null,_0x5200eb;}function y(_0x4b6b60,_0x285752,_0x14fbbd,{dataPipeline:_0x5ecef4}={}){const {t:t}=_0x14fbbd,_0x30e813=_0x4b6b60['getAttribute']('footnoteId'),_0x16d0ff=_0x285752['createUIElement']('a',{'class':'footnote-backlink','href':'#ref-'+_0x30e813},function(_0x1c32d3){const _0xbb58a4=this['toDomElement'](_0x1c32d3);return _0xbb58a4['innerText']='^',_0xbb58a4;}),_0x5b6372=_0x5ecef4?_0x285752['createContainerElement']('div',{'class':'footnote-content'}):_0x425df6(_0x285752['createEditableElement']('div',{'class':'footnote-content'}),_0x285752,{'label':t('Footnote\x20content.')});return _0x285752['insert'](_0x285752['createPositionAt'](_0x5b6372,0x0),_0x285752['createSlot']()),_0x285752['createContainerElement']('li',{'class':'footnote-definition','id':_0x30e813},[_0x16d0ff,_0x5b6372]);}class e extends _0x601fe9{static get['pluginName'](){return'FootnotesClipboard';}static get['requires'](){return[r,_0x525767];}static get['isOfficialPlugin'](){return!0x0;}static get['isPremiumPlugin'](){return!0x0;}['init'](){this['_defineClipboardIntegration']();}['_defineClipboardIntegration'](){this['_handleCopyFootnotesDefinitions'](),this['_handlePasteFootnotesDefinitions']();}['_handleCopyFootnotesDefinitions'](){const {editor:_0x18eba3}=this,{plugins:_0x18847f,model:_0xd3abec}=_0x18eba3,_0x52f1d2=_0x18847f['get'](_0x525767),_0x311153=_0x18847f['get'](f);this['listenTo'](_0x52f1d2,'outputTransformation',(_0x20563d,_0xed19f3)=>{const _0x40b592=l(_0xd3abec['createRangeIn'](_0xed19f3['content']));if(!_0x40b592['length'])return;const _0x25b00c=_0x311153['getFootnotes'](),_0x46204c=_0x40b592['reduce']((_0x1f1387,_0x2028b8)=>{const _0xe86854=_0x25b00c['find'](_0xb7419d=>_0xb7419d['id']===_0x2028b8);if(_0xe86854){const _0x37ea4b=_0x18eba3['data']['toView'](_0xe86854['definition'],{'isClipboardPipeline':!0x0}),_0x288a63=_0x18eba3['data']['htmlProcessor']['toData'](_0x37ea4b);_0x1f1387[_0xe86854['id']]=_0x288a63;}return _0x1f1387;},Object['create'](null));_0xed19f3['dataTransfer']['setData']('application/ckeditor5-footnotes',JSON['stringify'](_0x46204c));});}['_handlePasteFootnotesDefinitions'](){const {editor:_0x5a91b9}=this,{model:_0x2ace6a,plugins:_0x4e0211}=_0x5a91b9,{view:_0x4ff32b}=_0x5a91b9['editing'],_0x5733a1=_0x4e0211['get'](_0x525767),_0x4e29a1=_0x4e0211['get'](f),_0x539966=_0x5a91b9['config']['get']('footnotes.multiBlock');let _0x293443=null;this['listenTo'](_0x4ff32b['document'],'clipboardInput',(_0xb2dfda,_0x3fbac5)=>{const _0x28079d=_0x3fbac5['dataTransfer']['getData']('application/ckeditor5-footnotes');_0x293443=_0x28079d?JSON['parse'](_0x28079d):null;}),this['listenTo'](_0x5733a1,'contentInsertion',(_0x576104,_0x15bc06)=>{const _0x5e84de=_0x15bc06['sourceEditorId']===this['editor']['id'];_0x5e84de&&'drop'===_0x15bc06['method']||_0x2ace6a['change'](_0x3b87ad=>{let _0x357b2a=_0x4e29a1['getFootnotesDefinitionsObjectElement']();const _0x3bacc1=!!_0x357b2a&&Array['from'](_0x2ace6a['document']['selection']['getSelectedBlocks']())['includes'](_0x357b2a);if(!_0x293443&&function(_0x5c2432){for(const {item:_0xbe22e8}of _0x5c2432)if(_0xbe22e8['is']('element','footnoteRef'))return!0x0;return!0x1;}(_0x2ace6a['createRangeIn'](_0x15bc06['content']))&&(_0x293443=function(_0x2ab249,_0x4395fb){const _0x4c73ab=c(_0x2ab249,_0x4395fb);if(!_0x4c73ab)return null;const _0x61cde7=Object['create'](null);for(const _0x1e886c of _0x4c73ab['getChildren']())_0x1e886c['is']('element','footnoteDefinition')&&_0x1e886c['hasAttribute']('footnoteId')&&(_0x61cde7[_0x1e886c['getAttribute']('footnoteId')]=_0x2ab249['cloneElement'](_0x1e886c,!0x0));return Object['keys'](_0x61cde7)['length']?_0x61cde7:null;}(_0x3b87ad,_0x15bc06['content'])),(_0x357b2a&&!_0x3bacc1||!_0x357b2a&&!_0x293443)&&function(_0x57c414,_0x237287){const _0x8b15a5=[];for(const {item:_0x33eaeb}of _0x57c414['createRangeIn'](_0x237287))_0x33eaeb['is']('element','footnotesDefinitions')&&_0x8b15a5['push'](_0x33eaeb);for(const _0x3626c3 of _0x8b15a5)_0x57c414['remove'](_0x3626c3);}(_0x3b87ad,_0x15bc06['content']),!_0x293443)return;const {selection:_0x1cd850}=_0x2ace6a['document'],_0x504e83=_0x1cd850['getFirstRange']()['root'];_0x357b2a&&!_0x3bacc1||(_0x357b2a=c(_0x3b87ad,_0x15bc06['content']),_0x357b2a||=_0x4e29a1['_insertEmptyFootnotesDefinitionsContainer'](_0x3b87ad,_0x504e83));const _0x4577ac=Array['from'](_0x1cd850['getRanges']())['flatMap'](l),_0x50c821=function(_0x5809d1,_0xac2d80,_0x436252){const _0x3afc21=Object['create'](null);for(const {item:_0x35ddcb}of _0x5809d1['createRangeIn'](_0xac2d80))if(_0x35ddcb['is']('element','footnoteRef')){const _0x5ad4f4=_0x35ddcb['getAttribute']('footnoteId');if(!_0x436252(_0x5ad4f4))continue;_0x3afc21[_0x5ad4f4]||(_0x3afc21[_0x5ad4f4]=_0x2b69ec()),_0x5809d1['setAttribute']('footnoteId',_0x3afc21[_0x5ad4f4],_0x35ddcb);}return _0x3afc21;}(_0x3b87ad,_0x15bc06['content'],_0x50f787=>{if(!_0x5e84de)return!0x0;return!!_0x4e29a1['getFootnote'](_0x50f787)&&!_0x4577ac['includes'](_0x50f787);});for(const [_0x4f4ec2,_0x26a1ef]of Object['entries'](_0x293443)){const _0x1b7997=_0x50c821[_0x4f4ec2]||_0x4f4ec2;let _0x1082c8;if('string'!=typeof _0x26a1ef)_0x1082c8=_0x26a1ef,_0x1b7997!==_0x4f4ec2&&_0x3b87ad['setAttribute']('footnoteId',_0x1b7997,_0x1082c8);else{_0x1082c8=_0x3b87ad['createElement']('footnoteDefinition',{'footnoteId':_0x1b7997});const _0x432438=_0x5a91b9['data']['htmlProcessor']['toView'](_0x26a1ef);let _0x390778;if(_0x539966)_0x390778=_0x5a91b9['data']['toModel'](_0x432438,_0x1082c8);else{_0x390778=_0x3b87ad['createElement']('footnoteInlineContent');const _0x4346bb=_0x5a91b9['data']['toModel'](_0x432438,_0x390778);_0x3b87ad['insert'](_0x4346bb,_0x390778);}_0x3b87ad['append'](_0x390778,_0x1082c8);}_0x3b87ad['insert'](_0x1082c8,_0x357b2a,'end');}_0x293443=null;});});}}function c(_0x4b2c0c,_0x470f31){for(const {item:_0x2706a5}of _0x4b2c0c['createRangeIn'](_0x470f31))if(_0x2706a5['is']('element','footnotesDefinitions'))return _0x2706a5;return null;}function l(_0x2ae20a){const _0x56ecb5=new Set();for(const {item:_0x48520b}of _0x2ae20a)_0x48520b['is']('element','footnoteRef')&&_0x56ecb5['add'](_0x48520b['getAttribute']('footnoteId'));return Array['from'](_0x56ecb5);}class i extends _0x601fe9{['licenseKey'];['_licenseKeyCheckInterval'];static get['pluginName'](){return'FootnotesUI';}static get['isOfficialPlugin'](){return!0x0;}static get['isPremiumPlugin'](){return!0x0;}['init'](){const {editor:_0x1b6cc3}=this,{componentFactory:_0x3c207a}=_0x1b6cc3['ui'];_0x3c207a['add']('insertFootnote',E(_0x1b6cc3,_0xccf1fd)),_0x3c207a['add']('menuBar:insertFootnote',E(_0x1b6cc3,_0x1ff374)),this['licenseKey']=this['editor']['config']['get']('licenseKey');const _0x17b982=this['editor'];this['_licenseKeyCheckInterval']=setInterval(()=>{let _0x4be33e;for(const _0x550dab in _0x17b982){const _0x267e04=_0x550dab,_0x1e6864=_0x17b982[_0x267e04];if('footnotesLicenseKeyValid'==_0x1e6864||'footnotesLicenseKeyInvalid'==_0x1e6864||'footnotesLicenseKeyExpired'==_0x1e6864||'footnotesLicenseKeyDomainLimit'==_0x1e6864||'footnotesLicenseKeyNotAllowed'==_0x1e6864||'footnotesLicenseKeyEvaluationLimit'==_0x1e6864||'footnotesLicenseKeyUsageLimit'==_0x1e6864){delete _0x17b982[_0x267e04],_0x4be33e=_0x1e6864,clearInterval(this['_licenseKeyCheckInterval']),this['_licenseKeyCheckInterval']=void 0x0;break;}}'footnotesLicenseKeyInvalid'==_0x4be33e&&_0x17b982['_showLicenseError']('invalid'),'footnotesLicenseKeyExpired'==_0x4be33e&&_0x17b982['_showLicenseError']('expired'),'footnotesLicenseKeyDomainLimit'==_0x4be33e&&_0x17b982['_showLicenseError']('domainLimit'),'footnotesLicenseKeyNotAllowed'==_0x4be33e&&_0x17b982['_showLicenseError']('featureNotAllowed','Footnotes'),'footnotesLicenseKeyEvaluationLimit'==_0x4be33e&&_0x17b982['_showLicenseError']('evaluationLimit'),'footnotesLicenseKeyUsageLimit'==_0x4be33e&&_0x17b982['_showLicenseError']('usageLimit');},0x3e8);}['destroy'](){super['destroy'](),this['_licenseKeyCheckInterval']&&clearInterval(this['_licenseKeyCheckInterval']);}}function E(_0x17d37b,_0x4e7178){const _0x3c6e77=_0x17d37b['commands']['get']('insertFootnote');return _0x495328=>{const {t:t}=_0x495328,_0x4e2436=new _0x4e7178(_0x495328),_0x50d48a=_0x4e2436 instanceof _0x1ff374;return _0x4e2436['bind']('isEnabled')['to'](_0x3c6e77,'isEnabled'),_0x4e2436['set']({'label':t(_0x50d48a?'Footnote':'Insert\x20footnote'),'icon':_0x391272,'tooltip':!0x0}),_0x4e2436['on']('execute',()=>{_0x3c6e77['execute'](),_0x17d37b['editing']['view']['focus']();}),_0x4e2436;};}class lt extends _0x601fe9{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 _0x3269ae{['refresh'](){const {editor:_0x532265}=this,_0x343225=_0x532265['plugins']['get'](f)['getFootnotesDefinitionsObjectElement']();this['isEnabled']=!!_0x343225,this['value']=_0x343225?.['getAttribute']('footnotesListStyle')??null;}['execute']({value:_0xc2fc89}){const {editor:_0x1ec2c2}=this,_0x52ac3d=_0x1ec2c2['plugins']['get'](f),_0x3bea66=_0x52ac3d['getFootnotesDefinitionsObjectElement']();_0x3bea66&&W['includes'](_0xc2fc89)&&_0x1ec2c2['model']['change'](_0x2fe772=>{_0x2fe772['setAttribute']('footnotesListStyle',_0xc2fc89,_0x3bea66),_0x52ac3d['_updateFootnotesCounters'](_0x2fe772);});}}class C extends _0x3269ae{['refresh'](){const {editor:_0x1e1768}=this,_0x2c60e1=_0x1e1768['plugins']['get'](f)['getFootnotesDefinitionsObjectElement']();this['isEnabled']=!!_0x2c60e1,this['value']=_0x2c60e1?.['getAttribute']('footnotesListStart')??null;}['execute']({value:_0x304608}){const {editor:_0x519e3a}=this,_0x3f66fb=_0x519e3a['plugins']['get'](f),_0x40dd10=_0x3f66fb['getFootnotesDefinitionsObjectElement']();_0x40dd10&&Number['isInteger'](_0x304608)&&_0x519e3a['model']['change'](_0x5e83a5=>{_0x5e83a5['setAttribute']('footnotesListStart',_0x304608,_0x40dd10),_0x3f66fb['_updateFootnotesCounters'](_0x5e83a5);});}}class P extends _0x601fe9{static get['pluginName'](){return'FootnotesPropertiesEditing';}static get['requires'](){return[r,f];}static get['isOfficialPlugin'](){return!0x0;}static get['isPremiumPlugin'](){return!0x0;}['init'](){const {editor:_0x4ead1f}=this;_0x4ead1f['config']['define']('footnotes.footnotesProperties.defaultListStyle','decimal'),_0x4ead1f['config']['define']('footnotes.footnotesProperties.defaultStartIndex',0x1),_0x4ead1f['commands']['add']('footnotesStyle',new S(_0x4ead1f)),_0x4ead1f['commands']['add']('footnotesStart',new C(_0x4ead1f)),this['_defineSchema'](),this['_defineConverters'](),this['_defineFormatter'](),this['_definePostfixer']();}['_defineSchema'](){const {editor:_0x57719f}=this,{schema:_0x1a7516}=_0x57719f['model'];_0x1a7516['extend']('footnotesDefinitions',{'allowAttributes':['footnotesListStyle','footnotesListStart']});}['_defineConverters'](){const {editor:_0x1e8eab}=this,{conversion:_0x5140b1,model:_0xb09fbb}=_0x1e8eab,{schema:_0x2addc7}=_0xb09fbb;_0x5140b1['for']('upcast')['add'](_0x370f17=>{_0x370f17['on']('element:ol',(_0x56276a,_0xbd2883,_0x3f4fca)=>{const _0x537b08=_0xbd2883['viewItem'],_0x29e6b4=_0xbd2883['modelCursor']?.['parent'];_0x537b08['hasClass']('footnotes-list')&&_0x29e6b4?.['is']('element','footnotesDefinitions')&&(function(_0xf928c6,_0x3f4696,_0x4725f7,_0x35e18f){if(!_0x35e18f['checkAttribute'](_0x3f4696,'footnotesListStart'))return;let _0x59dd92=0x1;const _0x230378=_0x4725f7['consumable']['consume'](_0xf928c6,{'attributes':'start'});if(_0x230378){const _0x333c23=Number['parseInt'](_0xf928c6['getAttribute']('start'),0xa);Number['isNaN'](_0x333c23)||(_0x59dd92=_0x333c23);}!_0x230378&&_0x3f4696['hasAttribute']('footnotesListStart')||_0x4725f7['writer']['setAttribute']('footnotesListStart',_0x59dd92,_0x3f4696);}(_0x537b08,_0x29e6b4,_0x3f4fca,_0x2addc7),function(_0xde7d5b,_0x267c19,_0x824b66,_0x10e8cf){if(!_0x10e8cf['checkAttribute'](_0x267c19,'footnotesListStyle'))return;let _0x587897='decimal',_0x2d6c02=!0x1;if(_0x824b66['consumable']['consume'](_0xde7d5b,{'attributes':'type'})){const _0x1e327f={0x1:'decimal','a':'lower-alpha','A':'upper-alpha','i':'lower-roman','I':'upper-roman'}[_0xde7d5b['getAttribute']('type')];_0x1e327f&&(_0x587897=_0x1e327f),_0x2d6c02=!0x0;}_0x824b66['consumable']['consume'](_0xde7d5b,{'styles':'list-style-type'})&&(_0x587897=function(_0x447f21){switch(_0x447f21){case'lower-alpha':return'lower-latin';case'upper-alpha':return'upper-latin';default:return _0x447f21;}}(_0xde7d5b['getStyle']('list-style-type')),_0x2d6c02=!0x0),!_0x2d6c02&&_0x267c19['hasAttribute']('footnotesListStyle')||_0x824b66['writer']['setAttribute']('footnotesListStyle',_0x587897,_0x267c19);}(_0x537b08,_0x29e6b4,_0x3f4fca,_0x2addc7));});}),_0x5140b1['for']('downcast')['add'](_0x3cc768=>{_0x3cc768['on']('attribute:footnotesListStart:footnotesDefinitions',(_0x266ac9,_0x3df00a,_0xad54b8)=>{if(!_0xad54b8['consumable']['consume'](_0x3df00a['item'],_0x266ac9['name']))return;const _0x59b907=M(_0x3df00a['item'],_0xad54b8['mapper']),{attributeNewValue:_0x53ae72}=_0x3df00a;null==_0x53ae72||0x1===_0x53ae72?_0xad54b8['writer']['removeAttribute']('start',_0x59b907):_0xad54b8['writer']['setAttribute']('start',String(_0x53ae72),_0x59b907);}),_0x3cc768['on']('attribute:footnotesListStyle:footnotesDefinitions',(_0x4ba13a,_0x1ceb01,_0x44a692)=>{if(!_0x44a692['consumable']['consume'](_0x1ceb01['item'],_0x4ba13a['name']))return;const _0x1a7ccf=M(_0x1ceb01['item'],_0x44a692['mapper']),{attributeNewValue:_0xc4bbf7}=_0x1ceb01;_0xc4bbf7&&'decimal'!==_0xc4bbf7?_0x44a692['writer']['setStyle']('list-style-type',_0xc4bbf7,_0x1a7ccf):_0x44a692['writer']['removeStyle']('list-style-type',_0x1a7ccf);});});}['_definePostfixer'](){const {editor:_0x5b8763}=this,{model:_0x27fe99}=_0x5b8763,_0x18f54f=_0x5b8763['plugins']['get'](f),_0x57710f=this['_getDefaultListStyle'](),_0xc4afc8=this['_getDefaultStartIndex']();_0x27fe99['document']['registerPostFixer'](_0x3dd4f0=>{const _0x25cf46=_0x27fe99['document']['differ']['getChanges']();let _0x34ba42=!0x1;for(const _0x27686b of _0x25cf46){if('insert'!==_0x27686b['type']||'$text'===_0x27686b['name'])continue;const _0x53316d=_0x27fe99['createRangeOn'](_0x27686b['position']['nodeAfter']);for(const _0x21b540 of _0x53316d['getItems']())_0x21b540['is']('element','footnotesDefinitions')&&(!_0x21b540['hasAttribute']('footnotesListStart')&&_0x27fe99['schema']['checkAttribute'](_0x21b540,'footnotesListStart')&&(_0x3dd4f0['setAttribute']('footnotesListStart',_0xc4afc8,_0x21b540),_0x34ba42=!0x0),!_0x21b540['hasAttribute']('footnotesListStyle')&&_0x27fe99['schema']['checkAttribute'](_0x21b540,'footnotesListStyle')&&(_0x3dd4f0['setAttribute']('footnotesListStyle',_0x57710f,_0x21b540),_0x34ba42=!0x0));}return _0x34ba42&&_0x18f54f['_updateFootnotesCounters'](_0x3dd4f0),_0x34ba42;});}['_defineFormatter'](){const {editor:_0x681d0c}=this;_0x681d0c['plugins']['get'](f)['setFootnoteFormatter'](_0x444f94=>this['_formatFootnoteListValue'](_0x444f94));}['_getDefaultListStyle'](){return this['editor']['config']['get']('footnotes.footnotesProperties.defaultListStyle');}['_getDefaultStartIndex'](){return this['editor']['config']['get']('footnotes.footnotesProperties.defaultStartIndex');}['_formatFootnoteListValue']({container:_0x478eae,value:_0x1e88fc,digits:_0x25dddc}){const _0xb670b4=_0x478eae['getAttribute']('footnotesListStyle'),_0xf55db7=_0x478eae['getAttribute']('footnotesListStart'),_0x48a5c2=Math['floor'](_0x1e88fc)+(_0xf55db7??0x1)-0x1;switch(_0xb670b4){case'decimal-leading-zero':return function(_0x2082b7,_0x19d13e){return String(_0x2082b7)['padStart'](_0x19d13e,'0');}(_0x48a5c2,Math['max'](0x2,_0x25dddc));case'lower-alpha':case'lower-latin':return N(_0x48a5c2,!0x1);case'upper-alpha':case'upper-latin':return N(_0x48a5c2,!0x0);case'lower-roman':return X(_0x48a5c2,!0x1);case'upper-roman':return X(_0x48a5c2,!0x0);default:return String(_0x48a5c2);}}}function M(_0xa3e492,_0x2a615c){const _0x15edcf=_0x2a615c['toViewElement'](_0xa3e492);return Array['from'](_0x15edcf['getChildren']())['find'](_0x259e59=>_0x259e59['is']('element','ol')&&_0x259e59['hasClass']('footnotes-list'));}function N(_0x3594a7,_0x51741d){let _0x1873f4='',_0x395728=_0x3594a7;for(;_0x395728>0x0;){const _0xf58b2a=(_0x395728-0x1)%0x1a;_0x1873f4=String['fromCharCode'](0x61+_0xf58b2a)+_0x1873f4,_0x395728=Math['floor']((_0x395728-0x1)/0x1a);}return _0x51741d?_0x1873f4['toUpperCase']():_0x1873f4;}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(_0x328fb3,_0x1ec3f6){let _0x225a62='',_0x3f716f=_0x328fb3;for(const {value:_0x420d86,numeral:_0x34f9e1}of V)for(;_0x3f716f>=_0x420d86;)_0x225a62+=_0x34f9e1,_0x3f716f-=_0x420d86;return _0x1ec3f6?_0x225a62:_0x225a62['toLowerCase']();}class J extends _0x96382c{['children'];['stylesView']=null;['additionalProperties']=null;['startIndexFieldView']=null;['focusTracker']=new rt();['keystrokes']=new nt();['focusables']=new _0x475416();['focusCycler'];constructor(_0x3b1320,{styleButtonViews:_0x48628f,styleGridAriaLabel:_0x110897}){super(_0x3b1320),(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'](_0x48628f,_0x110897),[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 _0x5242cf of this['stylesView']['children'])this['stylesView']['focusTracker']['add'](_0x5242cf['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 _0x51f742=_0x2e7db5=>_0x2e7db5['stopPropagation']();this['keystrokes']['set']('arrowright',_0x51f742),this['keystrokes']['set']('arrowleft',_0x51f742),this['keystrokes']['set']('arrowup',_0x51f742),this['keystrokes']['set']('arrowdown',_0x51f742);}this['keystrokes']['listenTo'](this['element']);}['focus'](){this['focusCycler']['focusFirst']();}['focusLast'](){this['focusCycler']['focusLast']();}['destroy'](){super['destroy'](),this['focusTracker']['destroy'](),this['keystrokes']['destroy']();}['_appendStylesView'](_0x425f1e,_0x397948){const _0x322292=new _0x96382c(this['locale']);return _0x322292['children']=_0x322292['createCollection'](),_0x322292['children']['addMany'](_0x425f1e),_0x322292['setTemplate']({'tag':'div','attributes':{'aria-label':_0x397948,'class':['ck','ck-footnotes-definitions-styles-list']},'children':_0x322292['children']}),_0x322292['children']['delegate']('execute')['to'](this),_0x322292['focus']=function(){for(const _0xdd4cbd of this['children'])if(_0xdd4cbd instanceof _0xccf1fd&&_0xdd4cbd['isOn'])return void _0xdd4cbd['focus']();this['children']['first']['focus']();},_0x322292['focusTracker']=new rt(),_0x322292['keystrokes']=new nt(),_0x322292['render'](),_0x322292['keystrokes']['listenTo'](_0x322292['element']),this['children']['add'](_0x322292),_0x322292;}['_appendAdditionalPropertiesCollapsibleView'](){const {t:t}=this['locale'],_0x118c65=this['_createStartIndexPropertyView'](),_0x294b84=[_0x118c65],_0x7491f9=new it(this['locale'],_0x294b84);return _0x7491f9['set']({'label':t('Footnotes\x20properties'),'isCollapsed':!0x0}),_0x7491f9['buttonView']['bind']('isEnabled')['toMany'](_0x294b84,'isEnabled',(..._0x5a3a5f)=>_0x5a3a5f['some'](_0x3f2580=>_0x3f2580)),_0x7491f9['buttonView']['on']('change:isEnabled',(_0x1cee2f,_0x29536a,_0x266bb2)=>{_0x266bb2||(_0x7491f9['isCollapsed']=!0x0);}),this['children']['add'](_0x7491f9),[_0x118c65,_0x7491f9];}['_createStartIndexPropertyView'](){const {t:t}=this['locale'],_0x50e2ef=new et(this['locale'],ot);return _0x50e2ef['set']({'label':t('Footnotes\x20start\x20at'),'class':'ck-footnotes-definitions-properties__start-index'}),_0x50e2ef['fieldView']['set']({'min':0x0,'max':Math['pow'](0x2,0x1e),'step':0x1,'value':0x1,'inputMode':'numeric'}),_0x50e2ef['fieldView']['on']('input',()=>{const _0x3023f1=_0x50e2ef['fieldView']['element'],_0x3989f2=_0x3023f1['valueAsNumber'];Number['isNaN'](_0x3989f2)?_0x50e2ef['errorText']=t('Invalid\x20footnotes\x20start\x20index\x20value.'):_0x3023f1['checkValidity']()?this['fire']('footnotesListStart',{'startIndex':_0x3989f2}):_0x50e2ef['errorText']=t(_0x3989f2<0x0?'Footnotes\x20start\x20index\x20must\x20be\x20greater\x20than\x200.':'Footnotes\x20start\x20index\x20is\x20too\x20large.');}),_0x50e2ef;}}class j extends _0x601fe9{static get['pluginName'](){return'FootnotesPropertiesUI';}static get['requires'](){return[_0x201258,_0x44cde8];}static get['isOfficialPlugin'](){return!0x0;}static get['isPremiumPlugin'](){return!0x0;}['init'](){const {editor:_0x240afa}=this,{componentFactory:_0x3d52f7}=_0x240afa['ui'];_0x240afa['config']['define']('footnotes.footnotesProperties.toolbar',['footnotesStyle']),_0x3d52f7['add']('footnotesStyle',function(_0x4107b0){return _0x3db80e=>{const {t:t}=_0x3db80e,_0x18bc53=_0x4107b0['commands']['get']('footnotesStyle'),_0x4f481e=_0x410294(_0x3db80e),{buttonView:_0x3bd5a4}=_0x4f481e;return _0x4f481e['class']='ck-footnotes-styles-dropdown',_0x4f481e['bind']('isEnabled')['to'](_0x18bc53,'isEnabled'),_0x3bd5a4['set']({'label':t('Footnotes\x20style'),'icon':_0x391272,'tooltip':!0x0}),_0x4f481e['once']('change:isOpen',()=>{const _0x44be7a=function({editor:_0x5c6e96,dropdownView:_0x1d4b9a}){const {t:t}=_0x5c6e96['locale'],_0x524c3e=t('Footnotes\x20definitions\x20styles'),_0x208d18=function(_0x2a8774){const t=_0x2a8774['locale']['t'],_0x2eb74c=[{'label':t('Toggle\x20the\x20decimal\x20footnotes\x20style'),'tooltip':t('Decimal\x20footnotes'),'style':'decimal','icon':_0x2fc0af},{'label':t('Toggle\x20the\x20decimal\x20with\x20leading\x20zero\x20footnotes\x20style'),'tooltip':t('Decimal\x20footnotes\x20with\x20leading\x20zero'),'style':'decimal-leading-zero','icon':_0x2a4358},{'label':t('Toggle\x20the\x20lower–roman\x20footnotes\x20style'),'tooltip':t('Lower–roman\x20footnotes'),'style':'lower-roman','icon':_0x73046d},{'label':t('Toggle\x20the\x20upper–roman\x20footnotes\x20style'),'tooltip':t('Upper-roman\x20footnotes'),'style':'upper-roman','icon':_0x41b9e4},{'label':t('Toggle\x20the\x20lower–latin\x20footnotes\x20style'),'tooltip':t('Lower-latin\x20footnotes'),'style':'lower-latin','icon':_0x281453},{'label':t('Toggle\x20the\x20upper–latin\x20footnotes\x20style'),'tooltip':t('Upper-latin\x20footnotes'),'style':'upper-latin','icon':_0x485632}];return _0x2eb74c['map'](function(_0x44aff1){const _0x49d587=_0x44aff1['locale'];return({label:_0xa0b549,icon:_0x595e71,tooltip:_0x1c4683,style:_0x4ba4ec})=>{const _0x79ad98=_0x44aff1['commands']['get']('footnotesStyle'),_0x520638=new _0xccf1fd(_0x49d587);return _0x520638['set']({'label':_0xa0b549,'icon':_0x595e71,'tooltip':_0x1c4683}),_0x520638['bind']('isOn')['to'](_0x79ad98,'value',_0x16c9bc=>_0x16c9bc===_0x4ba4ec),_0x520638['bind']('isEnabled')['to'](_0x79ad98,'isEnabled'),_0x520638['on']('execute',()=>{_0x44aff1['execute']('footnotesStyle',{'value':_0x4ba4ec}),_0x44aff1['editing']['view']['focus']();}),_0x520638;};}(_0x2a8774));}(_0x5c6e96),_0xff0641=new J(_0x5c6e96['locale'],{'styleGridAriaLabel':_0x524c3e,'styleButtonViews':_0x208d18}),_0x3171be=_0x5c6e96['commands']['get']('footnotesStart');return _0xff0641['startIndexFieldView']['bind']('isEnabled')['to'](_0x3171be),_0xff0641['startIndexFieldView']['fieldView']['bind']('value')['to'](_0x3171be),_0xff0641['on']('footnotesListStart',(_0x5b3068,_0x517528)=>{_0x5c6e96['execute']('footnotesStart',{'value':_0x517528['startIndex']});}),_0xff0641['delegate']('execute')['to'](_0x1d4b9a),_0xff0641;}({'editor':_0x4107b0,'dropdownView':_0x4f481e});_0x4f481e['panelView']['children']['add'](_0x44be7a);}),_0x4f481e;};}(_0x240afa));}['afterInit'](){const {editor:_0x36c324}=this,{t:t}=_0x36c324['locale'],_0x2ded8a=_0x36c324['plugins']['get'](_0x44cde8),{defaultPositions:_0xb118ba}=_0x529749;_0x2ded8a['register']('footnotesDefinitions',{'ariaLabel':t('Footnotes\x20definitions\x20toolbar'),'items':_0x36c324['config']['get']('footnotes.footnotesProperties.toolbar'),'balloonClassName':'ck-footnotes-style-balloon\x20ck-toolbar-container','getRelatedElement':_0x22fd4b=>{let _0x3769ba=_0x22fd4b['getFirstPosition']()?.['parent'];return _0x3769ba?.['is']('$text')&&(_0x3769ba=_0x3769ba['parent']),_0x3769ba?.['is']('element')?_0x3769ba['findAncestor'](Q):null;},'positions':[_0xb118ba['southArrowNorth'],_0xb118ba['southArrowNorthMiddleWest'],_0xb118ba['southArrowNorthMiddleEast'],_0xb118ba['southArrowNorthWest'],_0xb118ba['southArrowNorthEast'],_0xb118ba['northArrowSouth'],_0xb118ba['northArrowSouthMiddleWest'],_0xb118ba['northArrowSouthMiddleEast'],_0xb118ba['northArrowSouthWest'],_0xb118ba['northArrowSouthEast'],_0xb118ba['viewportStickyNorth']]});}}class ft extends _0x601fe9{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':_0x380031=>0x1!=_0x380031}};
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':_0x5edb8c=>0x1!=_0x5edb8c}};
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- (_0x2a1213=>{const {af:{dictionary:_0x39eb95,getPluralForm:_0xa1082f}}={'af':{'dictionary':{'Footnote':'','Footnotes':'','Footnotes\x20properties':'','Footnotes\x20start\x20at':'','Invalid\x20footnotes\x20start\x20index\x20value.':'','Footnotes\x20start\x20index\x20is\x20too\x20large.':'','Footnotes\x20start\x20index\x20must\x20be\x20greater\x20than\x200.':'','Footnote\x20%0.\x20Press\x20ENTER\x20to\x20jump\x20to\x20footnote\x20definition.':'','Footnote\x20content.':'','Footnotes\x20definitions\x20styles':'','Footnotes\x20definitions\x20toolbar':'','Insert\x20footnote':'','Footnotes\x20style':'','Toggle\x20the\x20decimal\x20footnotes\x20style':'','Decimal\x20footnotes':'','Toggle\x20the\x20decimal\x20with\x20leading\x20zero\x20footnotes\x20style':'','Decimal\x20footnotes\x20with\x20leading\x20zero':'','Lower–roman\x20footnotes':'','Upper-roman\x20footnotes':'','Lower-latin\x20footnotes':'','Upper-latin\x20footnotes':'','Toggle\x20the\x20lower–roman\x20footnotes\x20style':'','Toggle\x20the\x20upper–roman\x20footnotes\x20style':'','Toggle\x20the\x20lower–latin\x20footnotes\x20style':'','Toggle\x20the\x20upper–latin\x20footnotes\x20style':''},'getPluralForm':_0xe07ef2=>0x1!=_0xe07ef2}};_0x2a1213['af']||={'dictionary':{},'getPluralForm':null},_0x2a1213['af']['dictionary']=Object['assign'](_0x2a1213['af']['dictionary'],_0x39eb95),_0x2a1213['af']['getPluralForm']=_0xa1082f;})(window['CKEDITOR_TRANSLATIONS']||={});
23
+ (_0x1c4d27=>{const {af:{dictionary:_0x12e230,getPluralForm:_0x338583}}={'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':_0x415888=>0x1!=_0x415888}};_0x1c4d27['af']||={'dictionary':{},'getPluralForm':null},_0x1c4d27['af']['dictionary']=Object['assign'](_0x1c4d27['af']['dictionary'],_0x12e230),_0x1c4d27['af']['getPluralForm']=_0x338583;})(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':_0x359f50=>0x0==_0x359f50?0x0:0x1==_0x359f50?0x1:0x2==_0x359f50?0x2:_0x359f50%0x64>=0x3&&_0x359f50%0x64<=0xa?0x3:_0x359f50%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':_0x57a1ea=>0x0==_0x57a1ea?0x0:0x1==_0x57a1ea?0x1:0x2==_0x57a1ea?0x2:_0x57a1ea%0x64>=0x3&&_0x57a1ea%0x64<=0xa?0x3:_0x57a1ea%0x64>=0xb?0x4:0x5}};
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- (_0x46621b=>{const {ar:{dictionary:_0x100265,getPluralForm:_0x2a2f03}}={'ar':{'dictionary':{'Footnote':'حاشية\x20سفلية','Footnotes':'الحواشي\x20السفلية','Footnotes\x20properties':'خصائص\x20الحواشي\x20السفلية','Footnotes\x20start\x20at':'تبدأ\x20الحواشي\x20السفلية\x20من','Invalid\x20footnotes\x20start\x20index\x20value.':'قيمة\x20مؤشر\x20بداية\x20الحواشي\x20السفلية\x20غير\x20صحيحة.','Footnotes\x20start\x20index\x20is\x20too\x20large.':'مؤشر\x20بداية\x20الحواشي\x20السفلية\x20كبير\x20للغاية.','Footnotes\x20start\x20index\x20must\x20be\x20greater\x20than\x200.':'يلزم\x20أن\x20يكون\x20مؤشر\x20بداية\x20الحواشي\x20السفلية\x20أكبر\x20من\x200.','Footnote\x20%0.\x20Press\x20ENTER\x20to\x20jump\x20to\x20footnote\x20definition.':'حاشية\x20سفلية\x20%0.\x20اضغط\x20على\x20مفتاح\x20الإدخال\x20(ENTER)\x20من\x20أجل\x20الانتقال\x20إلى\x20تعريف\x20الحاشية\x20السفلية.','Footnote\x20content.':'محتوى\x20الحاشية\x20السفلية.','Footnotes\x20definitions\x20styles':'أنماط\x20تعريفات\x20الحواشي\x20السفلية','Footnotes\x20definitions\x20toolbar':'شريط\x20أدوات\x20تعريفات\x20الحواشي\x20السفلية','Insert\x20footnote':'إدراج\x20حاشية\x20سفلية','Footnotes\x20style':'نمط\x20الحواشي\x20السفلية','Toggle\x20the\x20decimal\x20footnotes\x20style':'تبديل\x20نمط\x20الحواشي\x20السفلية\x20العشري','Decimal\x20footnotes':'الحواشي\x20السفلية\x20العشرية','Toggle\x20the\x20decimal\x20with\x20leading\x20zero\x20footnotes\x20style':'تبديل\x20العلامة\x20العشرية\x20بنمط\x20الحواشي\x20السفلية\x20بالصفر\x20البادئ','Decimal\x20footnotes\x20with\x20leading\x20zero':'حواشي\x20سفلية\x20عشرية\x20بالصفر\x20البادئ','Lower–roman\x20footnotes':'الحواشي\x20السفلية\x20الرومانية','Upper-roman\x20footnotes':'الحواشي\x20العلوية\x20الرومانية','Lower-latin\x20footnotes':'الحواشي\x20السفلية\x20اللاتينية','Upper-latin\x20footnotes':'الحواشي\x20العلوية\x20اللاتينية','Toggle\x20the\x20lower–roman\x20footnotes\x20style':'تبديل\x20نمط\x20الحواشي\x20السفلية\x20الرومانية','Toggle\x20the\x20upper–roman\x20footnotes\x20style':'تبديل\x20نمط\x20الحواشي\x20العلوية\x20الرومانية','Toggle\x20the\x20lower–latin\x20footnotes\x20style':'تبديل\x20نمط\x20الحواشي\x20السفلية\x20اللاتينية','Toggle\x20the\x20upper–latin\x20footnotes\x20style':'تبديل\x20نمط\x20الحواشي\x20العلوية\x20اللاتينية'},'getPluralForm':_0x3fefe1=>0x0==_0x3fefe1?0x0:0x1==_0x3fefe1?0x1:0x2==_0x3fefe1?0x2:_0x3fefe1%0x64>=0x3&&_0x3fefe1%0x64<=0xa?0x3:_0x3fefe1%0x64>=0xb?0x4:0x5}};_0x46621b['ar']||={'dictionary':{},'getPluralForm':null},_0x46621b['ar']['dictionary']=Object['assign'](_0x46621b['ar']['dictionary'],_0x100265),_0x46621b['ar']['getPluralForm']=_0x2a2f03;})(window['CKEDITOR_TRANSLATIONS']||={});
23
+ (_0x1408b8=>{const {ar:{dictionary:_0x324393,getPluralForm:_0x1d1902}}={'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':_0x65593e=>0x0==_0x65593e?0x0:0x1==_0x65593e?0x1:0x2==_0x65593e?0x2:_0x65593e%0x64>=0x3&&_0x65593e%0x64<=0xa?0x3:_0x65593e%0x64>=0xb?0x4:0x5}};_0x1408b8['ar']||={'dictionary':{},'getPluralForm':null},_0x1408b8['ar']['dictionary']=Object['assign'](_0x1408b8['ar']['dictionary'],_0x324393),_0x1408b8['ar']['getPluralForm']=_0x1d1902;})(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':_0x3762e3=>0x1!=_0x3762e3}};
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':_0x58df8b=>0x1!=_0x58df8b}};
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- (_0x11c408=>{const {ast:{dictionary:_0x4d6a4b,getPluralForm:_0x552e29}}={'ast':{'dictionary':{'Footnote':'','Footnotes':'','Footnotes\x20properties':'','Footnotes\x20start\x20at':'','Invalid\x20footnotes\x20start\x20index\x20value.':'','Footnotes\x20start\x20index\x20is\x20too\x20large.':'','Footnotes\x20start\x20index\x20must\x20be\x20greater\x20than\x200.':'','Footnote\x20%0.\x20Press\x20ENTER\x20to\x20jump\x20to\x20footnote\x20definition.':'','Footnote\x20content.':'','Footnotes\x20definitions\x20styles':'','Footnotes\x20definitions\x20toolbar':'','Insert\x20footnote':'','Footnotes\x20style':'','Toggle\x20the\x20decimal\x20footnotes\x20style':'','Decimal\x20footnotes':'','Toggle\x20the\x20decimal\x20with\x20leading\x20zero\x20footnotes\x20style':'','Decimal\x20footnotes\x20with\x20leading\x20zero':'','Lower–roman\x20footnotes':'','Upper-roman\x20footnotes':'','Lower-latin\x20footnotes':'','Upper-latin\x20footnotes':'','Toggle\x20the\x20lower–roman\x20footnotes\x20style':'','Toggle\x20the\x20upper–roman\x20footnotes\x20style':'','Toggle\x20the\x20lower–latin\x20footnotes\x20style':'','Toggle\x20the\x20upper–latin\x20footnotes\x20style':''},'getPluralForm':_0x8e6222=>0x1!=_0x8e6222}};_0x11c408['ast']||={'dictionary':{},'getPluralForm':null},_0x11c408['ast']['dictionary']=Object['assign'](_0x11c408['ast']['dictionary'],_0x4d6a4b),_0x11c408['ast']['getPluralForm']=_0x552e29;})(window['CKEDITOR_TRANSLATIONS']||={});
23
+ (_0x32005c=>{const {ast:{dictionary:_0x195997,getPluralForm:_0x5c20ea}}={'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':_0xac0fad=>0x1!=_0xac0fad}};_0x32005c['ast']||={'dictionary':{},'getPluralForm':null},_0x32005c['ast']['dictionary']=Object['assign'](_0x32005c['ast']['dictionary'],_0x195997),_0x32005c['ast']['getPluralForm']=_0x5c20ea;})(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':_0x2132a5=>0x1!=_0x2132a5}};
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':_0x4cc776=>0x1!=_0x4cc776}};
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- (_0x5c7734=>{const {az:{dictionary:_0x246351,getPluralForm:_0x5a8f4d}}={'az':{'dictionary':{'Footnote':'','Footnotes':'','Footnotes\x20properties':'','Footnotes\x20start\x20at':'','Invalid\x20footnotes\x20start\x20index\x20value.':'','Footnotes\x20start\x20index\x20is\x20too\x20large.':'','Footnotes\x20start\x20index\x20must\x20be\x20greater\x20than\x200.':'','Footnote\x20%0.\x20Press\x20ENTER\x20to\x20jump\x20to\x20footnote\x20definition.':'','Footnote\x20content.':'','Footnotes\x20definitions\x20styles':'','Footnotes\x20definitions\x20toolbar':'','Insert\x20footnote':'','Footnotes\x20style':'','Toggle\x20the\x20decimal\x20footnotes\x20style':'','Decimal\x20footnotes':'','Toggle\x20the\x20decimal\x20with\x20leading\x20zero\x20footnotes\x20style':'','Decimal\x20footnotes\x20with\x20leading\x20zero':'','Lower–roman\x20footnotes':'','Upper-roman\x20footnotes':'','Lower-latin\x20footnotes':'','Upper-latin\x20footnotes':'','Toggle\x20the\x20lower–roman\x20footnotes\x20style':'','Toggle\x20the\x20upper–roman\x20footnotes\x20style':'','Toggle\x20the\x20lower–latin\x20footnotes\x20style':'','Toggle\x20the\x20upper–latin\x20footnotes\x20style':''},'getPluralForm':_0xb60db3=>0x1!=_0xb60db3}};_0x5c7734['az']||={'dictionary':{},'getPluralForm':null},_0x5c7734['az']['dictionary']=Object['assign'](_0x5c7734['az']['dictionary'],_0x246351),_0x5c7734['az']['getPluralForm']=_0x5a8f4d;})(window['CKEDITOR_TRANSLATIONS']||={});
23
+ (_0x40617b=>{const {az:{dictionary:_0x4d0f1e,getPluralForm:_0x77d38b}}={'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':_0x604dbd=>0x1!=_0x604dbd}};_0x40617b['az']||={'dictionary':{},'getPluralForm':null},_0x40617b['az']['dictionary']=Object['assign'](_0x40617b['az']['dictionary'],_0x4d0f1e),_0x40617b['az']['getPluralForm']=_0x77d38b;})(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':_0x167547=>_0x167547%0xa==0x1&&_0x167547%0x64!=0xb?0x0:_0x167547%0xa>=0x2&&_0x167547%0xa<=0x4&&(_0x167547%0x64<0xa||_0x167547%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':_0x49d419=>_0x49d419%0xa==0x1&&_0x49d419%0x64!=0xb?0x0:_0x49d419%0xa>=0x2&&_0x49d419%0xa<=0x4&&(_0x49d419%0x64<0xa||_0x49d419%0x64>=0x14)?0x1:0x2}};