@ckeditor/ckeditor5-footnotes 48.0.0-alpha.8 → 48.0.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (148) hide show
  1. package/dist/index.js +1 -1
  2. package/dist/translations/af.js +1 -1
  3. package/dist/translations/af.umd.js +1 -1
  4. package/dist/translations/ar.js +1 -1
  5. package/dist/translations/ar.umd.js +1 -1
  6. package/dist/translations/ast.js +1 -1
  7. package/dist/translations/ast.umd.js +1 -1
  8. package/dist/translations/az.js +1 -1
  9. package/dist/translations/az.umd.js +1 -1
  10. package/dist/translations/be.js +1 -1
  11. package/dist/translations/be.umd.js +1 -1
  12. package/dist/translations/bg.js +1 -1
  13. package/dist/translations/bg.umd.js +1 -1
  14. package/dist/translations/bn.js +1 -1
  15. package/dist/translations/bn.umd.js +1 -1
  16. package/dist/translations/bs.js +1 -1
  17. package/dist/translations/bs.umd.js +1 -1
  18. package/dist/translations/ca.js +1 -1
  19. package/dist/translations/ca.umd.js +1 -1
  20. package/dist/translations/cs.js +1 -1
  21. package/dist/translations/cs.umd.js +1 -1
  22. package/dist/translations/da.js +1 -1
  23. package/dist/translations/da.umd.js +1 -1
  24. package/dist/translations/de-ch.js +1 -1
  25. package/dist/translations/de-ch.umd.js +1 -1
  26. package/dist/translations/de.js +1 -1
  27. package/dist/translations/de.umd.js +1 -1
  28. package/dist/translations/el.js +1 -1
  29. package/dist/translations/el.umd.js +1 -1
  30. package/dist/translations/en-au.js +1 -1
  31. package/dist/translations/en-au.umd.js +1 -1
  32. package/dist/translations/en-gb.js +1 -1
  33. package/dist/translations/en-gb.umd.js +1 -1
  34. package/dist/translations/en.js +1 -1
  35. package/dist/translations/en.umd.js +1 -1
  36. package/dist/translations/eo.js +1 -1
  37. package/dist/translations/eo.umd.js +1 -1
  38. package/dist/translations/es-co.js +1 -1
  39. package/dist/translations/es-co.umd.js +1 -1
  40. package/dist/translations/es.js +1 -1
  41. package/dist/translations/es.umd.js +1 -1
  42. package/dist/translations/et.js +1 -1
  43. package/dist/translations/et.umd.js +1 -1
  44. package/dist/translations/eu.js +1 -1
  45. package/dist/translations/eu.umd.js +1 -1
  46. package/dist/translations/fa.js +1 -1
  47. package/dist/translations/fa.umd.js +1 -1
  48. package/dist/translations/fi.js +1 -1
  49. package/dist/translations/fi.umd.js +1 -1
  50. package/dist/translations/fr.js +1 -1
  51. package/dist/translations/fr.umd.js +1 -1
  52. package/dist/translations/gl.js +1 -1
  53. package/dist/translations/gl.umd.js +1 -1
  54. package/dist/translations/gu.js +1 -1
  55. package/dist/translations/gu.umd.js +1 -1
  56. package/dist/translations/he.js +1 -1
  57. package/dist/translations/he.umd.js +1 -1
  58. package/dist/translations/hi.js +1 -1
  59. package/dist/translations/hi.umd.js +1 -1
  60. package/dist/translations/hr.js +1 -1
  61. package/dist/translations/hr.umd.js +1 -1
  62. package/dist/translations/hu.js +1 -1
  63. package/dist/translations/hu.umd.js +1 -1
  64. package/dist/translations/hy.js +1 -1
  65. package/dist/translations/hy.umd.js +1 -1
  66. package/dist/translations/id.js +1 -1
  67. package/dist/translations/id.umd.js +1 -1
  68. package/dist/translations/it.js +1 -1
  69. package/dist/translations/it.umd.js +1 -1
  70. package/dist/translations/ja.js +1 -1
  71. package/dist/translations/ja.umd.js +1 -1
  72. package/dist/translations/jv.js +1 -1
  73. package/dist/translations/jv.umd.js +1 -1
  74. package/dist/translations/kk.js +1 -1
  75. package/dist/translations/kk.umd.js +1 -1
  76. package/dist/translations/km.js +1 -1
  77. package/dist/translations/km.umd.js +1 -1
  78. package/dist/translations/kn.js +1 -1
  79. package/dist/translations/kn.umd.js +1 -1
  80. package/dist/translations/ko.js +1 -1
  81. package/dist/translations/ko.umd.js +1 -1
  82. package/dist/translations/ku.js +1 -1
  83. package/dist/translations/ku.umd.js +1 -1
  84. package/dist/translations/lt.js +1 -1
  85. package/dist/translations/lt.umd.js +1 -1
  86. package/dist/translations/lv.js +1 -1
  87. package/dist/translations/lv.umd.js +1 -1
  88. package/dist/translations/ms.js +1 -1
  89. package/dist/translations/ms.umd.js +1 -1
  90. package/dist/translations/nb.js +1 -1
  91. package/dist/translations/nb.umd.js +1 -1
  92. package/dist/translations/ne.js +1 -1
  93. package/dist/translations/ne.umd.js +1 -1
  94. package/dist/translations/nl.js +1 -1
  95. package/dist/translations/nl.umd.js +1 -1
  96. package/dist/translations/no.js +1 -1
  97. package/dist/translations/no.umd.js +1 -1
  98. package/dist/translations/oc.js +1 -1
  99. package/dist/translations/oc.umd.js +1 -1
  100. package/dist/translations/pl.js +1 -1
  101. package/dist/translations/pl.umd.js +1 -1
  102. package/dist/translations/pt-br.js +1 -1
  103. package/dist/translations/pt-br.umd.js +1 -1
  104. package/dist/translations/pt.js +1 -1
  105. package/dist/translations/pt.umd.js +1 -1
  106. package/dist/translations/ro.js +1 -1
  107. package/dist/translations/ro.umd.js +1 -1
  108. package/dist/translations/ru.js +1 -1
  109. package/dist/translations/ru.umd.js +1 -1
  110. package/dist/translations/si.js +1 -1
  111. package/dist/translations/si.umd.js +1 -1
  112. package/dist/translations/sk.js +1 -1
  113. package/dist/translations/sk.umd.js +1 -1
  114. package/dist/translations/sl.js +1 -1
  115. package/dist/translations/sl.umd.js +1 -1
  116. package/dist/translations/sq.js +1 -1
  117. package/dist/translations/sq.umd.js +1 -1
  118. package/dist/translations/sr-latn.js +1 -1
  119. package/dist/translations/sr-latn.umd.js +1 -1
  120. package/dist/translations/sr.js +1 -1
  121. package/dist/translations/sr.umd.js +1 -1
  122. package/dist/translations/sv.js +1 -1
  123. package/dist/translations/sv.umd.js +1 -1
  124. package/dist/translations/th.js +1 -1
  125. package/dist/translations/th.umd.js +1 -1
  126. package/dist/translations/ti.js +1 -1
  127. package/dist/translations/ti.umd.js +1 -1
  128. package/dist/translations/tk.js +1 -1
  129. package/dist/translations/tk.umd.js +1 -1
  130. package/dist/translations/tr.js +1 -1
  131. package/dist/translations/tr.umd.js +1 -1
  132. package/dist/translations/tt.js +1 -1
  133. package/dist/translations/tt.umd.js +1 -1
  134. package/dist/translations/ug.js +1 -1
  135. package/dist/translations/ug.umd.js +1 -1
  136. package/dist/translations/uk.js +1 -1
  137. package/dist/translations/uk.umd.js +1 -1
  138. package/dist/translations/ur.js +1 -1
  139. package/dist/translations/ur.umd.js +1 -1
  140. package/dist/translations/uz.js +1 -1
  141. package/dist/translations/uz.umd.js +1 -1
  142. package/dist/translations/vi.js +1 -1
  143. package/dist/translations/vi.umd.js +1 -1
  144. package/dist/translations/zh-cn.js +1 -1
  145. package/dist/translations/zh-cn.umd.js +1 -1
  146. package/dist/translations/zh.js +1 -1
  147. package/dist/translations/zh.umd.js +1 -1
  148. package/package.json +9 -9
package/dist/index.js CHANGED
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- import{Plugin as _0x565f5d,Command as _0x408e67}from'@ckeditor/ckeditor5-core/dist/index.js';import{toWidget as _0x59445e,isWidget as _0x2716dc,toWidgetEditable as _0x131741,WidgetToolbarRepository as _0x16ec91}from'@ckeditor/ckeditor5-widget/dist/index.js';import{uid as _0xc7222c,logWarning as _0x4c3e7e,FocusTracker as _0x58b7dc,KeystrokeHandler as _0x13c935,global as _0x295e92}from'@ckeditor/ckeditor5-utils/dist/index.js';import{PointerObserver as _0x432ae2,ClickObserver as _0x573260}from'@ckeditor/ckeditor5-engine/dist/index.js';import{ClipboardPipeline as _0x1f8cbe}from'@ckeditor/ckeditor5-clipboard/dist/index.js';import{MenuBarMenuListItemButtonView as _0x599219,ButtonView as _0xf7ab8f,View as _0x11c711,ViewCollection as _0x2f2745,FocusCycler as _0x464162,addKeyboardHandlingForGrid as _0x1c52c1,CollapsibleView as _0x2685a3,LabeledFieldView as _0x2840ea,createLabeledInputNumber as _0x6e17a,ContextualBalloon as _0x2a961e,BalloonPanelView as _0xf85455,createDropdown as _0x5a3c9c}from'@ckeditor/ckeditor5-ui/dist/index.js';import{IconFootnote as _0x22117f,IconListStyleDecimal as _0x10f394,IconListStyleDecimalLeadingZero as _0x4ef899,IconListStyleLowerRoman as _0x281a4a,IconListStyleUpperRoman as _0x3d1ac6,IconListStyleLowerLatin as _0x2269e6,IconListStyleUpperLatin as _0x459d73,IconListStyleArabicIndic as _0xd0327c}from'@ckeditor/ckeditor5-icons/dist/index.js';class R{['_model'];['_elementName'];['_getElementKey'];['_trackedElements']=new Map();constructor(_0x12445d,_0x289bca){this['_model']=_0x12445d,this['_elementName']=_0x289bca['elementName'],this['_getElementKey']=_0x289bca['getElementKey'];}['reset'](){this['_trackedElements']['clear']();}['getChanges'](_0x22b9bd){const _0x10cc01=new Set(),_0x37f4dd=new Map();for(const _0xdf6d55 of _0x22b9bd){if('insert'===_0xdf6d55['type']&&'$text'!==_0xdf6d55['name']&&_0xdf6d55['position']['nodeAfter']){const _0x8f02f1=this['_model']['createRangeOn'](_0xdf6d55['position']['nodeAfter']);for(const _0x222b70 of _0x8f02f1['getItems']()){if(!_0x222b70['is']('element',this['_elementName']))continue;const _0x44133a=this['_getElementKey'](_0x222b70);_0x37f4dd['has'](_0x44133a)||_0x37f4dd['set'](_0x44133a,[]),_0x37f4dd['get'](_0x44133a)['push'](_0x222b70);}}if('remove'===_0xdf6d55['type']&&_0xdf6d55['name']===this['_elementName']){const _0x5a14a3=this['_getElementKey']({'getAttribute':_0x85d037=>_0xdf6d55['attributes']['get'](_0x85d037)});_0x10cc01['add'](_0x5a14a3);}}for(const [_0x2c9830,_0x456453]of this['_trackedElements'])'$graveyard'===_0x456453['root']['rootName']&&_0x10cc01['add'](_0x2c9830);for(const _0x466dfd of _0x10cc01)this['_trackedElements']['delete'](_0x466dfd);for(const [_0x7f5543,_0x144e2f]of _0x37f4dd)this['_trackedElements']['set'](_0x7f5543,_0x144e2f[_0x144e2f['length']-0x1]);const _0x5d5c7a=new Set();for(const [_0x533399,_0x4e4e07]of _0x37f4dd)_0x10cc01['has'](_0x533399)&&(_0x5d5c7a['add'](_0x4e4e07[0x0]),_0x4e4e07['length']>0x1?_0x37f4dd['set'](_0x533399,_0x4e4e07['slice'](0x1)):_0x37f4dd['delete'](_0x533399),_0x10cc01['delete'](_0x533399));return{'removed':Array['from'](_0x10cc01),'inserted':Array['from'](_0x37f4dd['values']())['flat'](),'moved':Array['from'](_0x5d5c7a)};}}class K extends _0x565f5d{['_footnotes']=[];['_footnotesDefinitions']=null;['_footnoteFormatter']=null;['_footnoteDefsContainerTracker'];['_footnoteRefsTracker'];['_footnoteDefsTracker'];static get['pluginName'](){return'FootnotesTracker';}static get['isOfficialPlugin'](){return!0x0;}static get['isPremiumPlugin'](){return!0x0;}constructor(_0x1f492c){super(_0x1f492c),this['_footnoteDefsContainerTracker']=new R(this['editor']['model'],{'elementName':'footnotesDefinitions','getElementKey':()=>'singleton'}),this['_footnoteRefsTracker']=new R(this['editor']['model'],{'elementName':'footnoteRef','getElementKey':_0x447228=>_0x447228['getAttribute']('footnoteId')}),this['_footnoteDefsTracker']=new R(this['editor']['model'],{'elementName':'footnoteDefinition','getElementKey':_0xe640a3=>_0xe640a3['getAttribute']('footnoteId')});}['init'](){const {editor:_0x303cda}=this,{model:_0x30cb32,data:_0x523921}=_0x303cda;_0x30cb32['document']['registerPostFixer'](_0x4bfc9f=>{const _0x1ef8e5=_0x30cb32['document']['differ']['getChanges']();let _0x4cf53e=!0x1;return this['_handleFootnotesDefinitionsObjectChanges'](_0x4bfc9f,_0x1ef8e5)&&(_0x4cf53e=!0x0),this['_handleFootnoteDefinitionsChanges'](_0x4bfc9f,_0x1ef8e5)&&(_0x4cf53e=!0x0),this['_handleFootnoteReferencesChanges'](_0x4bfc9f,_0x1ef8e5)&&(_0x4cf53e=!0x0),this['_ensureFootnotesReferencesHaveProperOrder'](_0x4bfc9f)&&(_0x4cf53e=!0x0),this['_handleFootnotesDefinitionsObjectSync'](_0x4bfc9f)&&(_0x4cf53e=!0x0),this['_sortFootnoteDefinitions'](_0x4bfc9f)&&(_0x4cf53e=!0x0),_0x4cf53e;}),this['listenTo'](_0x30cb32['document'],'change:data',()=>{_0x30cb32['enqueueChange']({'isUndoable':!0x1},_0x45e45a=>{this['_ensureFootnotesDefinitionsContainerExists'](_0x45e45a);});},{'priority':'low'}),this['listenTo'](_0x523921,'set',()=>{this['_footnotes']=[],this['_footnoteDefsContainerTracker']['reset'](),this['_footnoteRefsTracker']['reset'](),this['_footnoteDefsTracker']['reset']();},{'priority':'high'});}['getFootnotesDefinitionsObjectElement'](){return this['_footnotesDefinitions'];}['getFootnote'](_0x2180af){return this['_footnotes']['find'](_0x3e275a=>_0x3e275a['id']===_0x2180af)||null;}['getFootnotes'](){return Array['from'](this['_footnotes']);}['getFootnotesFormatter'](){return this['_footnoteFormatter'];}['setFootnoteFormatter'](_0x27befb){this['_footnoteFormatter']=_0x27befb;}['_updateFootnotesCounters'](_0x1639cc,_0x23ca5a=0x0){let _0x1c6367=!0x1;for(let _0x3da1aa=_0x23ca5a;_0x3da1aa<this['_footnotes']['length'];_0x3da1aa++)this['_updateFootnoteRefCounter'](_0x1639cc,_0x3da1aa)&&(_0x1c6367=!0x0);return _0x1c6367;}['_insertEmptyFootnotesDefinitionsContainer'](_0x3f9341,_0x522426){const _0xb933aa=_0x3f9341['createElement']('footnotesDefinitions',{});return _0x3f9341['append'](_0xb933aa,_0x522426),this['_footnotesDefinitions']=_0xb933aa,_0xb933aa;}['_ensureFootnotesDefinitionsContainerExists'](_0x3a01a1){if(!this['_footnotes']['length']||this['_footnotesDefinitions'])return;const _0x18711f=this['_footnotes'][0x0]['reference']['root'],_0x400420=this['_insertEmptyFootnotesDefinitionsContainer'](_0x3a01a1,_0x18711f);for(const _0x4875fd of this['_footnotes'])_0x4875fd['definition']['parent']||_0x3a01a1['insert'](_0x4875fd['definition'],_0x400420,'end');this['_updateFootnotesCounters'](_0x3a01a1);}['_handleFootnotesDefinitionsObjectChanges'](_0x359f1d,_0x59cb03){let _0x59bce0=!0x1;const {inserted:_0x37d96b,removed:_0x1caace,moved:_0x199973}=this['_footnoteDefsContainerTracker']['getChanges'](_0x59cb03);if(_0x199973['length']&&(this['_footnotesDefinitions']=_0x199973[0x0]),_0x37d96b['length']){if(_0x37d96b['length']>0x1||this['_footnotesDefinitions']&&_0x37d96b['some'](_0x3efbd5=>_0x3efbd5!==this['_footnotesDefinitions'])){const _0x231806=_0x359f1d['createElement']('footnotesDefinitions',{}),_0x4db8c0=[];this['_footnotesDefinitions']&&_0x4db8c0['push'](this['_footnotesDefinitions']),_0x4db8c0['push'](..._0x37d96b),_0x359f1d['insert'](_0x231806,_0x4db8c0[0x0],'before');for(const _0x299c6d of _0x4db8c0)_0x359f1d['move'](_0x359f1d['createRangeIn'](_0x299c6d),_0x359f1d['createPositionAt'](_0x231806,'end')),_0x359f1d['remove'](_0x299c6d);this['_footnotesDefinitions']=_0x231806,this['_updateFootnotesCounters'](_0x359f1d),_0x59bce0=!0x0;}else this['_footnotesDefinitions']=_0x37d96b[0x0];}if(_0x1caace['length']&&'$graveyard'===this['_footnotesDefinitions']?.['root']['rootName']){for(const _0x590897 of this['_footnotes'])_0x359f1d['remove'](_0x590897['reference']),_0x59bce0=!0x0;this['_footnotes']=[],this['_footnotesDefinitions']=null;}return _0x59bce0;}['_handleFootnoteDefinitionsChanges'](_0x3456ab,_0x56edcc){let _0x3eb52c=!0x1;const _0x1705fc=this['editor']['config']['get']('footnotes.multiBlock'),{inserted:_0xe1622f,moved:_0x5728b1}=this['_footnoteDefsTracker']['getChanges'](_0x56edcc);for(const _0x12a41f of[..._0x5728b1,..._0xe1622f]){const _0x520778=_0x12a41f['getAttribute']('footnoteId'),_0x4e109c=this['getFootnote'](_0x520778);_0x4e109c&&(_0x4e109c['definition']=_0x12a41f),j(_0x3456ab,_0x1705fc,_0x12a41f)&&(_0x3eb52c=!0x0);}return _0x3eb52c;}['_handleFootnoteReferencesChanges'](_0x532b91,_0xf5b88e){let _0x1419d0=!0x1;const {removed:_0x4c4374,inserted:_0x55652c,moved:_0x5ee711}=this['_footnoteRefsTracker']['getChanges'](_0xf5b88e);for(const _0x78aa52 of _0x4c4374)this['_handleRemoveFootnoteReferenceById'](_0x532b91,_0x78aa52)&&(_0x1419d0=!0x0);for(const _0x3d1474 of _0x55652c)this['_handleInsertedFootnoteReference'](_0x532b91,_0x3d1474)&&(_0x1419d0=!0x0);for(const _0x4bf793 of _0x5ee711)this['_handleMovedFootnoteReference'](_0x532b91,_0x4bf793)&&(_0x1419d0=!0x0);return _0x1419d0;}['_handleFootnotesDefinitionsObjectSync'](_0xf19c86){if(!this['_footnotesDefinitions'])return!0x1;let _0x1bf725=!0x1;if(this['_footnotesDefinitions']['childCount']!==this['_footnotes']['length']){const _0x38f9d3=[];for(const _0x44878c of this['_footnotesDefinitions']['getChildren']()){const _0x16c5bc=_0x44878c['getAttribute']('footnoteId');this['getFootnote'](_0x16c5bc)||(_0x38f9d3['unshift'](_0x44878c),_0x1bf725=!0x0);}for(const _0x38a5e3 of _0x38f9d3)_0xf19c86['remove'](_0x38a5e3);}const _0x2209df=new Set(),_0x592558=[];for(const _0x6cea1d of this['_footnotesDefinitions']['getChildren']()){const _0x18af3c=_0x6cea1d['getAttribute']('footnoteId');_0x2209df['has'](_0x18af3c)?(_0x592558['unshift'](_0x6cea1d),_0x1bf725=!0x0):_0x2209df['add'](_0x18af3c);}for(const _0x1972be of _0x592558)_0xf19c86['remove'](_0x1972be);return this['_footnotesDefinitions']['childCount']||(_0xf19c86['remove'](this['_footnotesDefinitions']),this['_footnotesDefinitions']=null,_0x1bf725=!0x0),_0x1bf725;}['_handleInsertedFootnoteReference'](_0x2397b0,_0x12927d){if(this['_footnotes']['find'](_0x2e023e=>_0x2e023e['reference']===_0x12927d))return!0x1;let _0x591b79=!0x1;const _0x23f878=_0x12927d['getAttribute']('footnoteId'),_0x3fa3b8=this['_footnotes']['findIndex'](_0x2c4ed1=>_0x2c4ed1['id']===_0x23f878);-0x1!==_0x3fa3b8&&(_0x2397b0['remove'](this['_footnotes'][_0x3fa3b8]['reference']),this['_footnotes']['splice'](_0x3fa3b8,0x1),_0x591b79=!0x0);let _0x53bfc7=this['_footnotesDefinitions']?function(_0x42115d,_0x1adeb2){for(const _0x4fdfaa of _0x42115d['getChildren']())if(_0x4fdfaa['getAttribute']('footnoteId')===_0x1adeb2)return _0x4fdfaa;return null;}(this['_footnotesDefinitions'],_0x23f878):null;_0x53bfc7||(_0x53bfc7=_0x2397b0['createElement']('footnoteDefinition',{'footnoteId':_0x23f878}),this['_footnotesDefinitions']&&(_0x2397b0['insert'](_0x53bfc7,this['_footnotesDefinitions'],'end'),_0x591b79=!0x0));const _0x5e03c4={'id':_0x23f878,'reference':_0x12927d,'definition':_0x53bfc7},_0x37f13d=T(this['editor']['model'],this['_footnotes'],_0x12927d);this['_footnotes']['splice'](_0x37f13d,0x0,_0x5e03c4);let _0x338b4b=_0x37f13d;return-0x1!==_0x3fa3b8&&(_0x338b4b=Math['min'](_0x37f13d,_0x3fa3b8)),this['_updateFootnotesCounters'](_0x2397b0,_0x338b4b)&&(_0x591b79=!0x0),_0x591b79;}['_handleRemoveFootnoteReferenceById'](_0x704d90,_0x3f0096){const _0x349857=this['_footnotes']['findIndex'](_0x509584=>_0x509584['id']===_0x3f0096);if(-0x1===_0x349857)return!0x1;let _0x9dc5cf=!0x1;const _0x59a1b9=this['_footnotes'][_0x349857];return'$graveyard'!==_0x59a1b9['definition']['root']['rootName']&&(_0x704d90['remove'](_0x59a1b9['definition']),_0x9dc5cf=!0x0),this['_footnotes']['splice'](_0x349857,0x1),this['_updateFootnotesCounters'](_0x704d90,_0x349857)&&(_0x9dc5cf=!0x0),_0x9dc5cf;}['_handleMovedFootnoteReference'](_0x104ce2,_0x416d69){const _0x5187a1=_0x416d69['getAttribute']('footnoteId'),_0x165076=this['_footnotes']['findIndex'](_0x2cbce6=>_0x2cbce6['id']===_0x5187a1),_0x2c6871=this['_footnotes'][_0x165076];let _0x423459=!0x1;_0x2c6871['reference']=_0x416d69,this['_footnotes']['splice'](_0x165076,0x1);const _0xf2d4e4=T(this['editor']['model'],this['_footnotes'],_0x416d69);return this['_footnotes']['splice'](_0xf2d4e4,0x0,_0x2c6871),this['_updateFootnotesCounters'](_0x104ce2,Math['min'](_0x165076,_0xf2d4e4))&&(_0x423459=!0x0),_0x423459;}['_updateFootnoteRefCounter'](_0x544b5c,_0x31a7c6){if(!this['_footnotesDefinitions'])return!0x1;const _0x4ae4ab=this['_footnotes'][_0x31a7c6];let _0x5e5ed0;return _0x5e5ed0=this['_footnoteFormatter']?this['_footnoteFormatter']({'footnote':_0x4ae4ab,'container':this['_footnotesDefinitions'],'digits':String(this['_footnotes']['length'])['length'],'value':_0x31a7c6+0x1}):String(_0x31a7c6+0x1),_0x4ae4ab['reference']['getAttribute']('footnoteCounter')!=_0x5e5ed0&&(_0x544b5c['setAttribute']('footnoteCounter',_0x5e5ed0,_0x4ae4ab['reference']),!0x0);}['_sortFootnoteDefinitions'](_0x18d432){if(!this['_footnotesDefinitions']||this['_footnotes']['length']<0x2)return!0x1;if(function(_0x3e819d,_0x193cb7){if(_0x3e819d['length']!==_0x193cb7['length'])return!0x1;for(let _0x5675d3=0x0;_0x5675d3<_0x3e819d['length'];_0x5675d3++)if(_0x3e819d[_0x5675d3]!==_0x193cb7[_0x5675d3])return!0x1;return!0x0;}(this['_footnotes']['map'](_0x510471=>_0x510471['id']),Array['from'](this['_footnotesDefinitions']['getChildren']())['map'](_0x21895c=>_0x21895c['getAttribute']('footnoteId'))))return!0x1;let _0x1375ae=!0x1;for(let _0x8e8217=0x0;_0x8e8217<this['_footnotes']['length'];_0x8e8217++){const _0x349d0c=this['_footnotes'][_0x8e8217],_0x152a87=_0x18d432['createPositionBefore'](_0x349d0c['definition']),_0x1a04b7=_0x18d432['createPositionAt'](this['_footnotesDefinitions'],_0x8e8217);_0x152a87['isEqual'](_0x1a04b7)||(_0x18d432['move'](_0x18d432['createRangeOn'](_0x349d0c['definition']),_0x1a04b7),_0x1375ae=!0x0);}return _0x1375ae;}['_ensureFootnotesReferencesHaveProperOrder'](_0x38d375){if(!this['_footnotes']['length'])return!0x1;const {model:_0x55715d}=this['editor'];let _0x4947df=!0x1;for(let _0x265300=0x0;_0x265300<this['_footnotes']['length']-0x1;_0x265300++){const _0x25ec45=this['_footnotes'][_0x265300],_0x3554c8=this['_footnotes'][_0x265300+0x1],_0x23acd8=_0x55715d['createPositionBefore'](_0x25ec45['reference']),_0x4d1b31=_0x55715d['createPositionBefore'](_0x3554c8['reference']);'after'===_0x23acd8['compareWith'](_0x4d1b31)&&(this['_handleMovedFootnoteReference'](_0x38d375,_0x25ec45['reference']),_0x265300=-0x1,_0x4947df=!0x0);}return _0x4947df;}}function j(_0x4ae945,_0x37085e,_0x25481e){if(_0x25481e['childCount'])return!0x1;const _0xf39e57=_0x37085e?'paragraph':'footnoteInlineContent';return _0x4ae945['insert'](_0x4ae945['createElement'](_0xf39e57),_0x25481e),!0x0;}function T(_0xfd479e,_0x1c40d7,_0x1f0ea6){if(0x0===_0x1c40d7['length'])return 0x0;const _0x596faf=_0xfd479e['createPositionBefore'](_0x1f0ea6);for(let _0x4d6318=0x0;_0x4d6318<_0x1c40d7['length'];_0x4d6318++){const _0x515b24=_0x1c40d7[_0x4d6318],_0x309385=_0xfd479e['createPositionBefore'](_0x515b24['reference']);if('before'===_0x596faf['compareWith'](_0x309385))return _0x4d6318;}const _0x107a4c=_0x1f0ea6['root'];let _0x4bc2b9=-0x1;for(let _0x305dc5=_0x1c40d7['length']-0x1;_0x305dc5>=0x0;_0x305dc5--)if(_0x1c40d7[_0x305dc5]['reference']['root']===_0x107a4c){_0x4bc2b9=_0x305dc5;break;}if(-0x1!==_0x4bc2b9)return _0x4bc2b9+0x1;const _0x1a4fd7=_0xfd479e['document']['getRootNames'](),_0x1dcb0c=_0x1a4fd7['indexOf'](_0x107a4c['rootName']),_0x1a0b3f=_0x1a4fd7[_0x1dcb0c+0x1];if(_0x1a0b3f){for(let _0x3c66b4=0x0;_0x3c66b4<_0x1c40d7['length'];_0x3c66b4++)if(_0x1c40d7[_0x3c66b4]['reference']['root']['rootName']===_0x1a0b3f)return _0x3c66b4;}return _0x1c40d7['length'];}class V extends _0x408e67{['refresh'](){const _0x18e826=this['editor']['model']['document']['selection'],_0x397cfc=this['_getPositionToInsertFootnote'](_0x18e826);this['isEnabled']=!!_0x397cfc;}['execute'](_0x4f00b0){const {editor:_0xbce63b}=this,{model:_0x2be1c7}=_0xbce63b,{selection:_0x39c797}=_0x2be1c7['document'],_0x5ee59f=this['_getPositionToInsertFootnote'](_0x39c797);if(!_0x5ee59f)return;const _0x4be52d=_0xbce63b['plugins']['get']('FootnotesEditing'),_0x156905=_0x4f00b0?.['footnoteId']??_0xc7222c();!function(_0x32786c){return'string'==typeof _0x32786c&&_0x32786c['length']>0x0&&!/\s/['test'](_0x32786c)&&!/^\d/['test'](_0x32786c);}(_0x156905)?_0x4c3e7e('insert-footnote-command-executed-with-invalid-id'):(_0x2be1c7['change'](_0x5a6aca=>{const _0x17a40f=_0x5a6aca['createElement']('footnoteRef',{'footnoteId':_0x156905});_0x2be1c7['insertObject'](_0x17a40f,_0x5ee59f,null);}),_0x4be52d['_moveSelectionToFootnoteDefinition'](_0x156905));}['_getPositionToInsertFootnote'](_0x2b4307){const {model:_0x1fd732}=this['editor'],{schema:_0x203412}=_0x1fd732,_0x234e8e=_0x2b4307['getFirstRange']();for(const _0x2c9688 of _0x234e8e['getItems']())if(_0x203412['isBlock'](_0x2c9688)||_0x203412['isObject'](_0x2c9688))return null;const _0x57ed81=_0x234e8e['end'];return _0x203412['checkChild'](_0x57ed81,'footnoteRef')?_0x57ed81:null;}}class $ extends _0x565f5d{static get['pluginName'](){return'FootnotesEditing';}static get['requires'](){return[K];}static get['isOfficialPlugin'](){return!0x0;}static get['isPremiumPlugin'](){return!0x0;}['init'](){const {editor:_0x595715}=this;_0x595715['config']['define']('footnotes.multiBlock',!0x0),_0x595715['commands']['add']('insertFootnote',new V(_0x595715)),this['_defineSchema'](),this['_defineRefsConverters'](),this['_defineDefinitionsConverters'](),this['_defineDefinitionConverters'](),this['_defineBogusParagraphConverters'](),this['_defineKeyboardHandlers'](),this['_defineClickHandlers']();}['afterInit'](){!async function(_0x2407ae){const _0x9b39de=_0x235832([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]),_0x42fff0=0x47a28506,_0x3ea3c8=0x47a5008e^_0x42fff0,_0xb62ba5=window[_0x235832([0x44,0x61,0x74,0x65])][_0x235832([0x6e,0x6f,0x77])](),_0x6aad06=_0x2407ae[_0x235832([0x65,0x64,0x69,0x74,0x6f,0x72])],_0x3c46c1=new window[(_0x235832([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0x596252=>{_0x6aad06[_0x235832([0x6f,0x6e,0x63,0x65])](_0x235832([0x72,0x65,0x61,0x64,0x79]),_0x596252);}),_0x230eb0={[_0x235832([0x6b,0x74,0x79])]:_0x235832([0x45,0x43]),[_0x235832([0x75,0x73,0x65])]:_0x235832([0x73,0x69,0x67]),[_0x235832([0x63,0x72,0x76])]:_0x235832([0x50,0x2d,0x32,0x35,0x36]),[_0x235832([0x78])]:_0x235832([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]),[_0x235832([0x79])]:_0x235832([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]),[_0x235832([0x61,0x6c,0x67])]:_0x235832([0x45,0x53,0x32,0x35,0x36])},_0x43b7bd=_0x6aad06[_0x235832([0x63,0x6f,0x6e,0x66,0x69,0x67])][_0x235832([0x67,0x65,0x74])](_0x235832([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x4b,0x65,0x79]));async function _0xc2307f(){let _0x3027e3,_0x115764=null,_0x10b846=null;try{if(_0x43b7bd==_0x235832([0x47,0x50,0x4c]))return _0x235832([0x4e,0x6f,0x74,0x41,0x6c,0x6c,0x6f,0x77,0x65,0x64]);if(_0x3027e3=_0x3e244c(),!_0x3027e3)return _0x235832([0x49,0x6e,0x76,0x61,0x6c,0x69,0x64]);return _0x3027e3[_0x235832([0x75,0x73,0x61,0x67,0x65,0x45,0x6e,0x64,0x70,0x6f,0x69,0x6e,0x74])]&&(_0x10b846=_0x35c19c(_0x3027e3[_0x235832([0x75,0x73,0x61,0x67,0x65,0x45,0x6e,0x64,0x70,0x6f,0x69,0x6e,0x74])],_0x3027e3[_0x235832([0x6a,0x74,0x69])])),await _0x49ccb5()?_0x30cdea()?_0x30e26b()?_0x235832([0x45,0x78,0x70,0x69,0x72,0x65,0x64]):_0x16f5e7()?(_0x3027e3[_0x235832([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x54,0x79,0x70,0x65])]==_0x235832([0x65,0x76,0x61,0x6c,0x75,0x61,0x74,0x69,0x6f,0x6e])&&(_0x115764=_0x5b3af7(_0x235832([0x45,0x76,0x61,0x6c,0x75,0x61,0x74,0x69,0x6f,0x6e,0x4c,0x69,0x6d,0x69,0x74]))),await _0x115f7c()):_0x235832([0x44,0x6f,0x6d,0x61,0x69,0x6e,0x4c,0x69,0x6d,0x69,0x74]):_0x235832([0x4e,0x6f,0x74,0x41,0x6c,0x6c,0x6f,0x77,0x65,0x64]):_0x235832([0x49,0x6e,0x76,0x61,0x6c,0x69,0x64]);}catch{return _0x235832([0x49,0x6e,0x76,0x61,0x6c,0x69,0x64]);}function _0x30e26b(){const _0x5314fc=[_0x235832([0x65,0x76,0x61,0x6c,0x75,0x61,0x74,0x69,0x6f,0x6e]),_0x235832([0x74,0x72,0x69,0x61,0x6c])][_0x235832([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x3027e3[_0x235832([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x54,0x79,0x70,0x65])])?_0xb62ba5/0x3e8:0xe10*_0x3ea3c8;return _0x3027e3[_0x235832([0x65,0x78,0x70])]<_0x5314fc;}function _0x30cdea(){const _0x4444f9=_0x3027e3[_0x235832([0x66,0x65,0x61,0x74,0x75,0x72,0x65,0x73])];return!!_0x4444f9&&(!!_0x4444f9[_0x235832([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x235832([0x2a]))||!!_0x4444f9[_0x235832([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x235832([0x46,0x4f,0x4f])));}function _0x16f5e7(){const _0xa44e3d=_0x3027e3[_0x235832([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x64,0x48,0x6f,0x73,0x74,0x73])];if(!_0xa44e3d||0x0==_0xa44e3d[_0x235832([0x6c,0x65,0x6e,0x67,0x74,0x68])])return!0x0;const {hostname:_0xfa5297}=new URL(window[_0x235832([0x6c,0x6f,0x63,0x61,0x74,0x69,0x6f,0x6e])]['href']);if(_0xa44e3d[_0x235832([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0xfa5297))return!0x0;const _0x105cf8=_0xfa5297[_0x235832([0x73,0x70,0x6c,0x69,0x74])](_0x235832([0x2e]));return _0xa44e3d[_0x235832([0x66,0x69,0x6c,0x74,0x65,0x72])](_0x282265=>_0x282265[_0x235832([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x235832([0x2a])))[_0x235832([0x6d,0x61,0x70])](_0x37e4a7=>_0x37e4a7[_0x235832([0x73,0x70,0x6c,0x69,0x74])](_0x235832([0x2e])))[_0x235832([0x66,0x69,0x6c,0x74,0x65,0x72])](_0x3c35a4=>_0x3c35a4[_0x235832([0x6c,0x65,0x6e,0x67,0x74,0x68])]<=_0x105cf8[_0x235832([0x6c,0x65,0x6e,0x67,0x74,0x68])])[_0x235832([0x6d,0x61,0x70])](_0x4ec5fc=>Array(_0x105cf8[_0x235832([0x6c,0x65,0x6e,0x67,0x74,0x68])]-_0x4ec5fc[_0x235832([0x6c,0x65,0x6e,0x67,0x74,0x68])])[_0x235832([0x66,0x69,0x6c,0x6c])](_0x4ec5fc[0x0]===_0x235832([0x2a])?_0x235832([0x2a]):'')[_0x235832([0x63,0x6f,0x6e,0x63,0x61,0x74])](_0x4ec5fc))[_0x235832([0x73,0x6f,0x6d,0x65])](_0x590dca=>_0x105cf8[_0x235832([0x65,0x76,0x65,0x72,0x79])]((_0x45f6ba,_0x319611)=>_0x590dca[_0x319611]===_0x45f6ba||_0x590dca[_0x319611]===_0x235832([0x2a])));}function _0x115f7c(){return _0x115764&&_0x10b846?new window[(_0x235832([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))]((_0x45d2b8,_0x535166)=>{_0x115764[_0x235832([0x74,0x68,0x65,0x6e])](_0x45d2b8,_0x535166),_0x10b846[_0x235832([0x74,0x68,0x65,0x6e])](_0x1d1cc9=>{_0x1d1cc9!=_0x235832([0x56,0x61,0x6c,0x69,0x64])&&_0x45d2b8(_0x1d1cc9);},_0x535166);}):_0x115764||_0x10b846||_0x235832([0x56,0x61,0x6c,0x69,0x64]);}}function _0x35c19c(_0x1eb94a,_0xa1b158){return new window[(_0x235832([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0xdc2edc=>{if(_0x2b3c70())return _0xdc2edc(_0x235832([0x56,0x61,0x6c,0x69,0x64]));_0x2f8253(),_0x6aad06[_0x235832([0x64,0x65,0x63,0x6f,0x72,0x61,0x74,0x65])](_0x235832([0x5f,0x73,0x65,0x6e,0x64,0x55,0x73,0x61,0x67,0x65,0x52,0x65,0x71,0x75,0x65,0x73,0x74]));let _0x47c345=!0x1;const _0x1faab0=_0xc7222c();function _0x1ac029(_0x4dc51b){return!!_0x4dc51b&&(typeof _0x4dc51b===_0x235832([0x6f,0x62,0x6a,0x65,0x63,0x74])||typeof _0x4dc51b===_0x235832([0x66,0x75,0x6e,0x63,0x74,0x69,0x6f,0x6e]))&&typeof _0x4dc51b[_0x235832([0x74,0x68,0x65,0x6e])]===_0x235832([0x66,0x75,0x6e,0x63,0x74,0x69,0x6f,0x6e])&&typeof _0x4dc51b[_0x235832([0x63,0x61,0x74,0x63,0x68])]===_0x235832([0x66,0x75,0x6e,0x63,0x74,0x69,0x6f,0x6e]);}function _0x29448c(_0x6f419a){_0x372db1(_0x6f419a)[_0x235832([0x74,0x68,0x65,0x6e])](_0x2b4cac=>{if(!_0x2b4cac||_0x2b4cac[_0x235832([0x73,0x74,0x61,0x74,0x75,0x73])]!=_0x235832([0x6f,0x6b]))return _0x235832([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]);return _0x4f3aae(_0x38f672(_0x1faab0+_0xa1b158))!=_0x2b4cac[_0x235832([0x76,0x65,0x72,0x69,0x66,0x69,0x63,0x61,0x74,0x69,0x6f,0x6e])]?_0x235832([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]):_0x235832([0x56,0x61,0x6c,0x69,0x64]);})[_0x235832([0x74,0x68,0x65,0x6e])](_0x5d8689=>(_0x424704(),_0x5d8689),()=>{const _0x2f2847=_0xb21d49();return null==_0x2f2847?(_0x424704(),_0x235832([0x56,0x61,0x6c,0x69,0x64])):_0x235832(_0xb62ba5-_0x2f2847>(0x63ae0106^_0x42fff0)?[0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]:[0x56,0x61,0x6c,0x69,0x64]);})[_0x235832([0x74,0x68,0x65,0x6e])](_0xdc2edc)[_0x235832([0x63,0x61,0x74,0x63,0x68])](()=>{_0xdc2edc(_0x235832([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]));});const _0x345b30=0x47946b86^_0x42fff0;function _0x424704(){const _0x5485b2=_0x235832([0x6c,0x6c,0x63,0x74,0x2d])+_0x4f3aae(_0x38f672(_0x1eb94a)),_0x2218ab=_0x33614f(_0x4f3aae(window[_0x235832([0x4d,0x61,0x74,0x68])][_0x235832([0x63,0x65,0x69,0x6c])](_0xb62ba5/_0x345b30)));window[_0x235832([0x6c,0x6f,0x63,0x61,0x6c,0x53,0x74,0x6f,0x72,0x61,0x67,0x65])][_0x235832([0x73,0x65,0x74,0x49,0x74,0x65,0x6d])](_0x5485b2,_0x2218ab);}function _0xb21d49(){const _0x1a5812=_0x235832([0x6c,0x6c,0x63,0x74,0x2d])+_0x4f3aae(_0x38f672(_0x1eb94a)),_0x2f7fb7=window[_0x235832([0x6c,0x6f,0x63,0x61,0x6c,0x53,0x74,0x6f,0x72,0x61,0x67,0x65])][_0x235832([0x67,0x65,0x74,0x49,0x74,0x65,0x6d])](_0x1a5812);return _0x2f7fb7?window[_0x235832([0x70,0x61,0x72,0x73,0x65,0x49,0x6e,0x74])](_0x33614f(_0x2f7fb7),0x10)*_0x345b30:null;}function _0x372db1(_0x29123c){return new window[(_0x235832([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))]((_0x320031,_0x35968d)=>{_0x29123c[_0x235832([0x74,0x68,0x65,0x6e])](_0x320031,_0x35968d),window[_0x235832([0x73,0x65,0x74,0x54,0x69,0x6d,0x65,0x6f,0x75,0x74])](_0x35968d,0x47a351c6^_0x42fff0);});}}_0x6aad06[_0x235832([0x6f,0x6e])](_0x235832([0x5f,0x73,0x65,0x6e,0x64,0x55,0x73,0x61,0x67,0x65,0x52,0x65,0x71,0x75,0x65,0x73,0x74]),(_0x38b520,_0x2e037f)=>{if(_0x2e037f[0x0]!=_0x1eb94a)return _0xdc2edc(_0x235832([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]));_0x2e037f[0x1]={..._0x2e037f[0x1],[_0x235832([0x72,0x65,0x71,0x75,0x65,0x73,0x74,0x49,0x64])]:_0x1faab0};},{[_0x235832([0x70,0x72,0x69,0x6f,0x72,0x69,0x74,0x79])]:_0x235832([0x68,0x69,0x67,0x68])}),_0x6aad06[_0x235832([0x6f,0x6e])](_0x235832([0x5f,0x73,0x65,0x6e,0x64,0x55,0x73,0x61,0x67,0x65,0x52,0x65,0x71,0x75,0x65,0x73,0x74]),_0x3a7af0=>{_0x1ac029(_0x3a7af0[_0x235832([0x72,0x65,0x74,0x75,0x72,0x6e])])&&(_0x47c345=!0x0,_0x29448c(_0x3a7af0[_0x235832([0x72,0x65,0x74,0x75,0x72,0x6e])]));},{[_0x235832([0x70,0x72,0x69,0x6f,0x72,0x69,0x74,0x79])]:_0x235832([0x6c,0x6f,0x77])}),_0x3c46c1[_0x235832([0x74,0x68,0x65,0x6e])](()=>{_0x47c345||_0xdc2edc(_0x235832([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]));});});function _0x2b3c70(){return _0x6aad06[_0x235832([0x65,0x64,0x69,0x74,0x69,0x6e,0x67])][_0x235832([0x76,0x69,0x65,0x77])][_0x235832([0x5f,0x6f,0x76,0x65,0x72,0x6c,0x61,0x79,0x4d,0x6f,0x64,0x65,0x48,0x69,0x6e,0x74])]==_0x235832([0x61,0x75,0x74,0x6f]);}function _0x2f8253(){_0x6aad06[_0x235832([0x65,0x64,0x69,0x74,0x69,0x6e,0x67])][_0x235832([0x76,0x69,0x65,0x77])][_0x235832([0x5f,0x6f,0x76,0x65,0x72,0x6c,0x61,0x79,0x4d,0x6f,0x64,0x65,0x48,0x69,0x6e,0x74])]=_0x235832([0x61,0x75,0x74,0x6f]);}}function _0x5b3af7(_0x3d8d5e){const _0x3c22a2=[new window[(_0x235832([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0x7933d0=>setTimeout(_0x7933d0,0x47abbbca^_0x42fff0)),_0x3c46c1[_0x235832([0x74,0x68,0x65,0x6e])](()=>new window[(_0x235832([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0x3e38a5=>{let _0x21c8b4=0x0;_0x6aad06[_0x235832([0x6d,0x6f,0x64,0x65,0x6c])][_0x235832([0x6f,0x6e])](_0x235832([0x61,0x70,0x70,0x6c,0x79,0x4f,0x70,0x65,0x72,0x61,0x74,0x69,0x6f,0x6e]),(_0x36d220,_0x275bbf)=>{_0x275bbf[0x0][_0x235832([0x69,0x73,0x44,0x6f,0x63,0x75,0x6d,0x65,0x6e,0x74,0x4f,0x70,0x65,0x72,0x61,0x74,0x69,0x6f,0x6e])]&&_0x21c8b4++,_0x21c8b4==(0x47a280ee^_0x42fff0)&&(_0x3e38a5(),_0x36d220[_0x235832([0x6f,0x66,0x66])]());});}))];return window[_0x235832([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65])][_0x235832([0x72,0x61,0x63,0x65])](_0x3c22a2)[_0x235832([0x74,0x68,0x65,0x6e])](()=>_0x3d8d5e);}async function _0x2c0508(){await _0x3c46c1,_0x6aad06[_0x235832([0x6d,0x6f,0x64,0x65,0x6c])][_0x235832([0x63,0x68,0x61,0x6e,0x67,0x65])]=_0xa4df77,_0x6aad06[_0x235832([0x6d,0x6f,0x64,0x65,0x6c])][_0x235832([0x65,0x6e,0x71,0x75,0x65,0x75,0x65,0x43,0x68,0x61,0x6e,0x67,0x65])]=_0xa4df77,_0x6aad06[_0x235832([0x65,0x6e,0x61,0x62,0x6c,0x65,0x52,0x65,0x61,0x64,0x4f,0x6e,0x6c,0x79,0x4d,0x6f,0x64,0x65])](_0x235832([0x6d,0x6f,0x64,0x65,0x6c]));}function _0x3b20be(_0x202dfc){const _0x49c9e0=_0xf38c72();_0x6aad06[_0x49c9e0]=_0x235832([0x66,0x6f,0x6f,0x74,0x6e,0x6f,0x74,0x65,0x73,0x4c,0x69,0x63,0x65,0x6e,0x73,0x65,0x4b,0x65,0x79])+_0x202dfc,_0x202dfc!=_0x235832([0x56,0x61,0x6c,0x69,0x64])&&_0x2c0508();}function _0xf38c72(){const _0x52df67=window[_0x235832([0x53,0x74,0x72,0x69,0x6e,0x67])](window[_0x235832([0x70,0x65,0x72,0x66,0x6f,0x72,0x6d,0x61,0x6e,0x63,0x65])][_0x235832([0x6e,0x6f,0x77])]())[_0x235832([0x72,0x65,0x70,0x6c,0x61,0x63,0x65])](_0x235832([0x2e]),'');let _0x427207=_0x235832([0x75]);for(let _0x201c77=0x0;_0x201c77<_0x52df67[_0x235832([0x6c,0x65,0x6e,0x67,0x74,0x68])];_0x201c77+=0x2){let _0x439553=window[_0x235832([0x70,0x61,0x72,0x73,0x65,0x49,0x6e,0x74])](_0x52df67[_0x235832([0x73,0x75,0x62,0x73,0x74,0x72,0x69,0x6e,0x67])](_0x201c77,_0x201c77+0x2));_0x439553>=_0x9b39de[_0x235832([0x6c,0x65,0x6e,0x67,0x74,0x68])]&&(_0x439553-=_0x9b39de[_0x235832([0x6c,0x65,0x6e,0x67,0x74,0x68])]),_0x427207+=_0x9b39de[_0x439553];}return _0x427207;}function _0x3e244c(){const _0x5b50ad=_0x43b7bd[_0x235832([0x73,0x70,0x6c,0x69,0x74])](_0x235832([0x2e]));if(0x3!=_0x5b50ad[_0x235832([0x6c,0x65,0x6e,0x67,0x74,0x68])])return null;return _0x234e02(_0x5b50ad[0x1]);function _0x234e02(_0x382bda){const _0x34c1ea=_0x218b2c(_0x382bda);return _0x34c1ea&&_0x206b3e()?_0x34c1ea:null;function _0x206b3e(){const _0x5dfe9c=_0x34c1ea[_0x235832([0x6a,0x74,0x69])],_0xe31eed=window[_0x235832([0x70,0x61,0x72,0x73,0x65,0x49,0x6e,0x74])](_0x5dfe9c[_0x235832([0x73,0x75,0x62,0x73,0x74,0x72,0x69,0x6e,0x67])](_0x5dfe9c[_0x235832([0x6c,0x65,0x6e,0x67,0x74,0x68])]-0x8),0x10),_0x2132b7={..._0x34c1ea,[_0x235832([0x6a,0x74,0x69])]:_0x5dfe9c[_0x235832([0x73,0x75,0x62,0x73,0x74,0x72,0x69,0x6e,0x67])](0x0,_0x5dfe9c[_0x235832([0x6c,0x65,0x6e,0x67,0x74,0x68])]-0x8)};return delete _0x2132b7[_0x235832([0x76,0x63])],_0x38f672(_0x2132b7)==_0xe31eed;}}}async function _0x49ccb5(){let _0x13a7bd=!0x0;try{const _0x172cd8=_0x43b7bd[_0x235832([0x73,0x70,0x6c,0x69,0x74])](_0x235832([0x2e])),[_0xbb3a5c,_0x4f0da5,_0x27e3ad]=_0x172cd8;return _0x38312e(_0xbb3a5c),await _0x559098(_0xbb3a5c,_0x4f0da5,_0x27e3ad),_0x13a7bd;}catch{return!0x1;}function _0x38312e(_0x18fa39){const _0x54bc59=_0x218b2c(_0x18fa39);_0x54bc59&&_0x54bc59[_0x235832([0x61,0x6c,0x67])]==_0x235832([0x45,0x53,0x32,0x35,0x36])||(_0x13a7bd=!0x1);}async function _0x559098(_0x2dd25f,_0x1caef4,_0x4904dd){const _0x579dd4=window[_0x235832([0x55,0x69,0x6e,0x74,0x38,0x41,0x72,0x72,0x61,0x79])][_0x235832([0x66,0x72,0x6f,0x6d])](_0x1eb7e4(_0x4904dd),_0x1234d9=>_0x1234d9[_0x235832([0x63,0x68,0x61,0x72,0x43,0x6f,0x64,0x65,0x41,0x74])](0x0)),_0x1c64bd=new window[(_0x235832([0x54,0x65,0x78,0x74,0x45,0x6e,0x63,0x6f,0x64,0x65,0x72]))]()[_0x235832([0x65,0x6e,0x63,0x6f,0x64,0x65])](_0x2dd25f+_0x235832([0x2e])+_0x1caef4),_0x2c7835=window[_0x235832([0x63,0x72,0x79,0x70,0x74,0x6f])][_0x235832([0x73,0x75,0x62,0x74,0x6c,0x65])];if(!_0x2c7835)return;const _0x1180ee=await _0x2c7835[_0x235832([0x69,0x6d,0x70,0x6f,0x72,0x74,0x4b,0x65,0x79])](_0x235832([0x6a,0x77,0x6b]),_0x230eb0,{[_0x235832([0x6e,0x61,0x6d,0x65])]:_0x235832([0x45,0x43,0x44,0x53,0x41]),[_0x235832([0x6e,0x61,0x6d,0x65,0x64,0x43,0x75,0x72,0x76,0x65])]:_0x235832([0x50,0x2d,0x32,0x35,0x36])},!0x1,[_0x235832([0x76,0x65,0x72,0x69,0x66,0x79])]);await _0x2c7835[_0x235832([0x76,0x65,0x72,0x69,0x66,0x79])]({[_0x235832([0x6e,0x61,0x6d,0x65])]:_0x235832([0x45,0x43,0x44,0x53,0x41]),[_0x235832([0x68,0x61,0x73,0x68])]:{[_0x235832([0x6e,0x61,0x6d,0x65])]:_0x235832([0x53,0x48,0x41,0x2d,0x32,0x35,0x36])}},_0x1180ee,_0x579dd4,_0x1c64bd)||(_0x13a7bd=!0x1);}}function _0x218b2c(_0x1f401c){return _0x1f401c[_0x235832([0x73,0x74,0x61,0x72,0x74,0x73,0x57,0x69,0x74,0x68])](_0x235832([0x65,0x79]))?JSON[_0x235832([0x70,0x61,0x72,0x73,0x65])](_0x1eb7e4(_0x1f401c)):null;}function _0x1eb7e4(_0x1afd9a){return window[_0x235832([0x61,0x74,0x6f,0x62])](_0x1afd9a[_0x235832([0x72,0x65,0x70,0x6c,0x61,0x63,0x65])](/-/g,_0x235832([0x2b]))[_0x235832([0x72,0x65,0x70,0x6c,0x61,0x63,0x65])](/_/g,_0x235832([0x2f])));}function _0x38f672(_0x5a83cd){let _0x258814=0x1505;function _0xe863b1(_0x25b885){for(let _0x47939b=0x0;_0x47939b<_0x25b885[_0x235832([0x6c,0x65,0x6e,0x67,0x74,0x68])];_0x47939b++){const _0x32059c=_0x25b885[_0x235832([0x63,0x68,0x61,0x72,0x43,0x6f,0x64,0x65,0x41,0x74])](_0x47939b);_0x258814=(_0x258814<<0x5)+_0x258814+_0x32059c,_0x258814&=_0x258814;}}function _0x466d6e(_0x2f6084){Array[_0x235832([0x69,0x73,0x41,0x72,0x72,0x61,0x79])](_0x2f6084)?_0x2f6084[_0x235832([0x66,0x6f,0x72,0x45,0x61,0x63,0x68])](_0x466d6e):_0x2f6084&&typeof _0x2f6084==_0x235832([0x6f,0x62,0x6a,0x65,0x63,0x74])?Object[_0x235832([0x65,0x6e,0x74,0x72,0x69,0x65,0x73])](_0x2f6084)[_0x235832([0x73,0x6f,0x72,0x74])]()[_0x235832([0x66,0x6f,0x72,0x45,0x61,0x63,0x68])](([_0x1f0cd6,_0x5e2ca0])=>{_0xe863b1(_0x1f0cd6),_0x466d6e(_0x5e2ca0);}):_0xe863b1(window[_0x235832([0x53,0x74,0x72,0x69,0x6e,0x67])](_0x2f6084));}return _0x466d6e(_0x5a83cd),_0x258814>>>0x0;}function _0x4f3aae(_0x4e51d3){return _0x4e51d3[_0x235832([0x74,0x6f,0x53,0x74,0x72,0x69,0x6e,0x67])](0x10)[_0x235832([0x70,0x61,0x64,0x53,0x74,0x61,0x72,0x74])](0x8,_0x235832([0x30]));}function _0x33614f(_0x317430){return _0x317430[_0x235832([0x73,0x70,0x6c,0x69,0x74])]('')[_0x235832([0x72,0x65,0x76,0x65,0x72,0x73,0x65])]()[_0x235832([0x6a,0x6f,0x69,0x6e])]('');}function _0xa4df77(){}function _0x235832(_0x195754){return _0x195754['map'](_0x32a1b8=>String['fromCharCode'](_0x32a1b8))['join']('');}_0x3b20be(await _0xc2307f());}(this);}['_moveSelectionToFootnoteDefinition'](_0x519027){const {plugins:_0x3afd53,editing:_0x311881,model:_0x5f574a}=this['editor'],_0x19da60=_0x3afd53['get'](K)['getFootnote'](_0x519027);return!!_0x19da60&&(_0x5f574a['change'](_0x4e9dca=>{_0x4e9dca['setSelection'](_0x4e9dca['createPositionAt'](_0x19da60['definition'],'end'));}),_0x311881['view']['scrollToTheSelection'](),!0x0);}['_moveSelectionToFootnoteReference'](_0xa8623b){const {plugins:_0x35567c,editing:_0x32092b,model:_0x151d10}=this['editor'],_0x10f7ef=_0x35567c['get'](K)['getFootnote'](_0xa8623b);return!!_0x10f7ef&&(_0x151d10['change'](_0x487d10=>{_0x487d10['setSelection'](_0x10f7ef['reference'],'on');}),_0x32092b['view']['scrollToTheSelection'](),!0x0);}['_defineSchema'](){const {schema:_0x66ff2a}=this['editor']['model'],_0x1e92ef=this['editor']['config']['get']('footnotes.multiBlock');_0x66ff2a['register']('footnoteRef',{'inheritAllFrom':'$inlineObject','allowAttributes':['footnoteId','footnoteCounter']}),_0x66ff2a['register']('footnotesDefinitions',{'inheritAllFrom':'$blockObject','allowChildren':['footnoteDefinition']}),_0x66ff2a['register']('footnoteDefinition',{'allowAttributes':['footnoteId'],'disallowAttributes':['listItemId'],'isLimit':!0x0}),_0x1e92ef?_0x66ff2a['extend']('footnoteDefinition',{'allowContentOf':'$container'}):_0x66ff2a['register']('footnoteInlineContent',{'allowIn':'footnoteDefinition','allowContentOf':'$block','isLimit':!0x0}),_0x66ff2a['addChildCheck'](_0x358266=>{for(const _0x39f5b6 of _0x358266)if('footnoteDefinition'===_0x39f5b6['name'])return!0x1;},'footnoteRef');}['_defineRefsConverters'](){const {editor:_0x7f1764}=this,{conversion:_0x4e587a,editing:_0x3a81f3}=_0x7f1764,{t:t}=_0x7f1764['locale'];_0x4e587a['for']('upcast')['elementToElement']({'view':{'name':'sup','classes':'footnote'},'model':(_0x5b00a7,{writer:_0x18afe9,consumable:_0xa09377})=>{const _0x22ae9a=_0x5b00a7['getChild'](0x0);if(!_0x22ae9a||!_0x22ae9a['is']('element','a'))return null;const _0x305c9d=_0x22ae9a['getAttribute']('href')||'';if(!_0x305c9d['startsWith']('#'))return null;const _0x2003ba=_0x305c9d['replace'](/^#/,'');if(!_0x2003ba)return null;_0xa09377['consume'](_0x22ae9a,{'name':!0x0,'attributes':['href']});for(const {item:_0x5a9e08}of _0x3a81f3['view']['createRangeIn'](_0x22ae9a))_0x5a9e08['is']('$textProxy')?_0xa09377['consume'](_0x5a9e08['textNode'],{'name':!0x0}):_0x5a9e08['is']('element')&&_0xa09377['consume'](_0x5a9e08,{'name':!0x0});return _0x18afe9['createElement']('footnoteRef',{'footnoteId':_0x2003ba});}}),_0x4e587a['for']('dataDowncast')['elementToElement']({'model':{'name':'footnoteRef','attributes':['footnoteId','footnoteCounter']},'view':(_0x3b268e,{writer:_0x430065})=>z(_0x3b268e,_0x430065)}),_0x4e587a['for']('editingDowncast')['elementToElement']({'model':{'name':'footnoteRef','attributes':['footnoteId','footnoteCounter']},'view':(_0x4a4db3,{writer:_0x29b581})=>{const _0x565eff=_0x4a4db3['getAttribute']('footnoteCounter');return _0x59445e(z(_0x4a4db3,_0x29b581),_0x29b581,{'label':t('Footnote\x20%0.\x20Press\x20ENTER\x20to\x20jump\x20to\x20footnote\x20definition.',_0x565eff)});}});}['_defineDefinitionsConverters'](){const {editor:_0x3d1904}=this,{t:t}=_0x3d1904['locale'],{conversion:_0x1a0ac3}=_0x3d1904;_0x1a0ac3['for']('upcast')['elementToElement']({'view':{'name':'div','classes':'footnotes'},'model':'footnotesDefinitions'}),_0x1a0ac3['for']('upcast')['add'](_0x371c37=>{_0x371c37['on']('element:ol',(_0x3adcd6,_0x4b556d,_0x2a436f)=>{const _0x13b1bd=_0x4b556d['viewItem'];if(!_0x13b1bd['hasClass']('footnotes-list')||!_0x4b556d['modelCursor']['parent']?.['is']('element','footnotesDefinitions'))return;if(!_0x2a436f['consumable']['consume'](_0x13b1bd,{'name':!0x0,'classes':'footnotes-list'}))return;const {modelRange:_0xd7ee51,modelCursor:_0xb3a28}=_0x2a436f['convertChildren'](_0x4b556d['viewItem'],_0x4b556d['modelCursor']);_0x4b556d['modelRange']=_0xd7ee51,_0x4b556d['modelCursor']=_0xb3a28;}),_0x371c37['on']('element:hr',(_0x1d929,_0x56e4ee,_0x2ae3e4)=>{const _0x8854d2=_0x56e4ee['viewItem'];_0x8854d2['hasClass']('footnotes-divider')&&_0x56e4ee['modelCursor']['parent']?.['is']('element','footnotesDefinitions')&&_0x2ae3e4['consumable']['consume'](_0x8854d2,{'name':!0x0,'classes':'footnotes-divider'});});}),_0x1a0ac3['for']('dataDowncast')['elementToStructure']({'model':'footnotesDefinitions','view':(_0x2a7617,{writer:_0x23593f})=>H(_0x23593f)}),_0x1a0ac3['for']('editingDowncast')['elementToStructure']({'model':'footnotesDefinitions','view':(_0x421b2c,{writer:_0x1851bb})=>{const _0x54a8c5=H(_0x1851bb,{'data-footnotes-list-label':t('Footnotes')}),_0x25244d=_0x59445e(_0x54a8c5,_0x1851bb,{'hasSelectionHandle':!0x0,'label':t('Footnotes')});return _0x1851bb['setCustomProperty']('footnotesDefinitions',!0x0,_0x25244d),_0x25244d;}});}['_defineDefinitionConverters'](){const {editor:_0x380fbd}=this,{conversion:_0x1627c4,locale:_0x11ef63}=_0x380fbd,_0x22dec1=_0x380fbd['config']['get']('footnotes.multiBlock');_0x1627c4['for']('upcast')['add'](_0x12797e=>{_0x12797e['on']('element:li',(_0x48311e,_0x58bc54,_0x4e07fa)=>{const _0x3a3f39=_0x58bc54['viewItem'];if(!_0x3a3f39['hasClass']('footnote-definition')||!_0x3a3f39['getAttribute']('id'))return;const _0x313fbe=_0x3a3f39['parent'];if(!_0x313fbe['is']('element','ol')||!_0x313fbe['hasClass']('footnotes-list'))return;if(!_0x4e07fa['consumable']['test'](_0x3a3f39,{'name':!0x0,'attributes':'id','classes':'footnote-definition'}))return;const _0x231760=_0x4e07fa['writer']['createElement']('footnoteDefinition',{'footnoteId':_0x3a3f39['getAttribute']('id')});if(!_0x4e07fa['safeInsert'](_0x231760,_0x58bc54['modelCursor']))return;_0x4e07fa['consumable']['consume'](_0x3a3f39,{'name':!0x0,'attributes':'id','classes':'footnote-definition'});const _0x447c53=Array['from'](_0x3a3f39['getChildren']())['find'](_0x3637de=>_0x3637de['is']('element')&&_0x3637de['hasClass']('footnote-content'));for(const _0x27474b of _0x3a3f39['getChildren']())_0x27474b['is']('element')&&(_0x4e07fa['consumable']['consume'](_0x27474b,{'name':!0x0,'classes':'footnote-backlink','attributes':'href'}),_0x4e07fa['consumable']['consume'](_0x27474b,{'name':!0x0,'classes':'footnote-content'}));if(_0x447c53){if(_0x22dec1)_0x4e07fa['convertChildren'](_0x447c53,_0x231760);else{const _0x3b81fa=_0x4e07fa['writer']['createElement']('footnoteInlineContent');_0x4e07fa['writer']['insert'](_0x3b81fa,_0x231760),_0x4e07fa['convertChildren'](_0x447c53,_0x3b81fa);}}_0x4e07fa['updateConversionResult'](_0x231760,_0x58bc54);});}),_0x1627c4['for']('dataDowncast')['elementToStructure']({'model':{'name':'footnoteDefinition','attributes':['footnoteId']},'view':(_0x3bb9b7,{writer:_0x69c13})=>X(_0x3bb9b7,_0x69c13,_0x11ef63,{'dataPipeline':!0x0})}),_0x1627c4['for']('editingDowncast')['elementToStructure']({'model':{'name':'footnoteDefinition','attributes':['footnoteId']},'view':(_0xcad742,{writer:_0x22f77c})=>X(_0xcad742,_0x22f77c,_0x11ef63)});}['_defineBogusParagraphConverters'](){const {editor:_0x456d64}=this,{conversion:_0x277769}=_0x456d64;_0x456d64['config']['get']('footnotes.multiBlock')?(_0x277769['for']('editingDowncast')['elementToElement']({'model':'paragraph','view':B(),'converterPriority':'high'}),_0x277769['for']('dataDowncast')['elementToElement']({'model':'paragraph','view':B({'dataPipeline':!0x0}),'converterPriority':'high'}),this['listenTo'](_0x456d64['model']['document'],'change:data',()=>{!function(_0x15263a,_0x2d1a2c){const _0x51bfd2=_0x15263a['document']['differ'],_0x271f53=new Set();for(const _0x1371d2 of _0x51bfd2['getChanges']()){const _0x1e803d='attribute'==_0x1371d2['type']?_0x1371d2['range']['start']['parent']:_0x1371d2['position']['parent'];_0x1e803d['is']('element','footnoteDefinition')&&_0x271f53['add'](_0x1e803d);}for(const _0x24ab6f of _0x271f53['values']()){const _0x1cdbf7=Array['from'](_0x24ab6f['getChildren']())['filter'](_0x46af59=>U(_0x46af59,_0x2d1a2c['mapper']));for(const _0x4b10f7 of _0x1cdbf7)_0x2d1a2c['reconvertItem'](_0x4b10f7);}}(_0x456d64['model'],_0x456d64['editing']);})):(_0x277769['for']('editingDowncast')['elementToElement']({'model':'footnoteInlineContent','view':B()}),_0x277769['for']('dataDowncast')['elementToElement']({'model':'footnoteInlineContent','view':(_0x2895bb,{writer:_0x20b2b0})=>{const _0x5ee2f3=_0x20b2b0['createContainerElement']('span');return _0x20b2b0['setCustomProperty']('dataPipeline:transparentRendering',!0x0,_0x5ee2f3),_0x5ee2f3;}}));}['_defineKeyboardHandlers'](){const {editor:_0x473425}=this,{editing:_0x4be517,t:t}=_0x473425,_0x38ea9a=_0x473425['model']['document']['selection'];_0x473425['keystrokes']['set']('Ctrl+Alt+F','insertFootnote'),_0x473425['accessibility']['addKeystrokeInfos']({'keystrokes':[{'label':t('Insert\x20footnote'),'keystroke':'Ctrl+Alt+F'}]}),this['listenTo'](_0x4be517['view']['document'],'enter',(_0x2c5fc3,_0x4bc60d)=>{const _0x52cb7b=function(_0x5c0358){const _0x58fda9=_0x5c0358['getSelectedElement']();if(_0x58fda9?.['is']('element','footnoteRef'))return _0x58fda9;return null;}(_0x38ea9a);if(_0x52cb7b){const _0x3394fe=_0x52cb7b['getAttribute']('footnoteId');this['_moveSelectionToFootnoteDefinition'](_0x3394fe),_0x4bc60d['preventDefault'](),_0x2c5fc3['stop']();}},{'context':_0x2716dc});}['_defineClickHandlers'](){const {editor:_0x1ec62b}=this,{editing:_0x1fdabb}=_0x1ec62b;_0x1ec62b['editing']['view']['addObserver'](_0x432ae2),_0x1ec62b['editing']['view']['addObserver'](_0x573260);let _0x21faf2=!0x1;this['listenTo'](_0x1fdabb['view']['document'],'pointerdown',(_0x4e1c7b,_0x2bb609)=>{const {target:_0x5b88ed}=_0x2bb609,_0x33aeb5=_0x1fdabb['view']['document']['selection'];_0x21faf2=!!(_0x5b88ed?.['is']('element','a')&&_0x5b88ed['parent']?.['is']('element','sup')&&_0x5b88ed['parent']['hasClass']('footnote'))&&_0x33aeb5['getSelectedElement']()===_0x5b88ed['parent'];},{'priority':'high'}),this['listenTo'](_0x1fdabb['view']['document'],'click',(_0x1c332e,_0x8b7970)=>{const {target:_0x20e448}=_0x8b7970;if(!_0x20e448?.['is']('element','a'))return;if(_0x20e448['parent']?.['is']('element','sup')&&_0x20e448['parent']['hasClass']('footnote')&&!_0x21faf2)return void _0x8b7970['preventDefault']();let _0xcb82fb=_0x20e448['getAttribute']('href');if(!_0xcb82fb?.['startsWith']('#'))return;_0xcb82fb=_0xcb82fb['slice'](0x1);let _0xb94467=!0x1;(_0xcb82fb['startsWith']('ref-')&&this['_moveSelectionToFootnoteReference'](_0xcb82fb['slice'](0x4))||this['_moveSelectionToFootnoteDefinition'](_0xcb82fb))&&(_0xb94467=!0x0),_0xb94467&&(_0x8b7970['preventDefault'](),_0x1c332e['stop']());},{'priority':'high','context':'$capture'});}}function B({dataPipeline:_0x383e1e}={}){return(_0x126a34,{writer:_0x2d367f})=>{if(!M(_0x126a34))return null;if(!_0x383e1e)return _0x2d367f['createContainerElement']('span',{'class':'ck-footnote-bogus-paragraph'});const _0x5df2fe=_0x2d367f['createContainerElement']('p');return _0x2d367f['setCustomProperty']('dataPipeline:transparentRendering',!0x0,_0x5df2fe),_0x5df2fe;};}function M(_0x3aee6d){const {parent:_0x32b7dc}=_0x3aee6d;if(!_0x32b7dc?.['is']('element','footnoteDefinition'))return!0x1;if(0x1!=_0x32b7dc['childCount'])return!0x1;for(const _0x5847b1 of _0x3aee6d['getAttributeKeys']())if(!_0x5847b1['startsWith']('selection:')&&'htmlEmptyBlock'!=_0x5847b1)return!0x1;return!0x0;}function U(_0xb8ba55,_0x38ba00){if(!_0xb8ba55['is']('element','paragraph'))return!0x1;const _0x3987d6=_0x38ba00['toViewElement'](_0xb8ba55);return!!_0x3987d6&&M(_0xb8ba55)!==_0x3987d6['is']('element','span');}function q(_0x371b8f){return _0x2716dc(_0x371b8f)&&_0x371b8f['is']('containerElement')&&!!_0x371b8f['getCustomProperty']('footnotesDefinitions');}function H(_0x1cf89e,_0x116748={}){const _0x56f794=_0x1cf89e['createEmptyElement']('hr',{'class':'footnotes-divider'}),_0x1e9e4f=_0x1cf89e['createContainerElement']('ol',{'class':'footnotes-list'},_0x1cf89e['createSlot']());return _0x1cf89e['createContainerElement']('div',{'class':'footnotes',..._0x116748},[_0x56f794,_0x1e9e4f]);}function z(_0x3e7d32,_0x112371){const _0x3ee3b1=_0x3e7d32['getAttribute']('footnoteId'),_0x5e9da0=_0x3e7d32['getAttribute']('footnoteCounter'),_0x53e543=_0x112371['createUIElement']('a',{'href':'#'+_0x3ee3b1},function(_0x6c3386){const _0x364875=this['toDomElement'](_0x6c3386);return _0x364875['textContent']=_0x5e9da0,_0x364875;}),_0xeeeb3f=_0x112371['createContainerElement']('sup',{'id':'ref-'+_0x3ee3b1,'class':'footnote'},[_0x53e543]);return _0xeeeb3f['getFillerOffset']=()=>null,_0xeeeb3f;}function X(_0x2ea8ef,_0x12dfc2,_0x2b75e5,{dataPipeline:_0x4ec686}={}){const {t:t}=_0x2b75e5,_0x568cd3=_0x2ea8ef['getAttribute']('footnoteId'),_0x2aeb1f=_0x12dfc2['createUIElement']('a',{'class':'footnote-backlink','href':'#ref-'+_0x568cd3},function(_0x1c9b82){const _0x36ac52=this['toDomElement'](_0x1c9b82);return _0x36ac52['innerText']='^',_0x36ac52;}),_0x417ede=_0x4ec686?_0x12dfc2['createContainerElement']('div',{'class':'footnote-content'}):_0x131741(_0x12dfc2['createEditableElement']('div',{'class':'footnote-content'}),_0x12dfc2,{'label':t('Footnote\x20content.')});return _0x12dfc2['insert'](_0x12dfc2['createPositionAt'](_0x417ede,0x0),_0x12dfc2['createSlot']()),_0x12dfc2['createContainerElement']('li',{'class':'footnote-definition','id':_0x568cd3},[_0x2aeb1f,_0x417ede]);}class J extends _0x565f5d{static get['pluginName'](){return'FootnotesClipboard';}static get['requires'](){return[$,_0x1f8cbe];}static get['isOfficialPlugin'](){return!0x0;}static get['isPremiumPlugin'](){return!0x0;}['init'](){this['_defineClipboardIntegration']();}['_defineClipboardIntegration'](){this['_handleCopyFootnotesDefinitions'](),this['_handlePasteFootnotesDefinitions']();}['_handleCopyFootnotesDefinitions'](){const {editor:_0x53c3a0}=this,{plugins:_0x4febb5,model:_0x5bd34d}=_0x53c3a0,_0x24d5b0=_0x4febb5['get'](_0x1f8cbe),_0x1794da=_0x4febb5['get'](K);this['listenTo'](_0x24d5b0,'outputTransformation',(_0x35a68a,_0x2f3ee7)=>{const _0x3a0893=Q(_0x5bd34d['createRangeIn'](_0x2f3ee7['content']));if(!_0x3a0893['length'])return;const _0x786239=_0x1794da['getFootnotes'](),_0x21d6e7=_0x3a0893['reduce']((_0x20a7df,_0x1f375f)=>{const _0xfbae3e=_0x786239['find'](_0x171fd2=>_0x171fd2['id']===_0x1f375f);if(_0xfbae3e){const _0x3af575=_0x53c3a0['data']['toView'](_0xfbae3e['definition'],{'isClipboardPipeline':!0x0}),_0x28ca7b=_0x53c3a0['data']['htmlProcessor']['toData'](_0x3af575);_0x20a7df[_0xfbae3e['id']]=_0x28ca7b;}return _0x20a7df;},Object['create'](null));_0x2f3ee7['dataTransfer']['setData']('application/ckeditor5-footnotes',JSON['stringify'](_0x21d6e7));});}['_handlePasteFootnotesDefinitions'](){const {editor:_0xb6cd83}=this,{model:_0x499584,plugins:_0x2bde04}=_0xb6cd83,{view:_0x196b10}=_0xb6cd83['editing'],_0x1e8c9a=_0x2bde04['get'](_0x1f8cbe),_0x2e3ca5=_0x2bde04['get'](K),_0x5d81a0=_0xb6cd83['config']['get']('footnotes.multiBlock');let _0x1b3d8f=null;this['listenTo'](_0x196b10['document'],'clipboardInput',(_0x56f90d,_0xd2394f)=>{const _0x18c360=_0xd2394f['dataTransfer']['getData']('application/ckeditor5-footnotes');_0x1b3d8f=_0x18c360?JSON['parse'](_0x18c360):null;}),this['listenTo'](_0x1e8c9a,'contentInsertion',(_0x248cc1,_0x27e4a7)=>{const _0x17f70b=_0x27e4a7['sourceEditorId']===this['editor']['id'];_0x17f70b&&'drop'===_0x27e4a7['method']||_0x499584['change'](_0x25f131=>{let _0x46c651=_0x2e3ca5['getFootnotesDefinitionsObjectElement']();const _0x22fe50=!!_0x46c651&&Array['from'](_0x499584['document']['selection']['getSelectedBlocks']())['includes'](_0x46c651);if(!_0x1b3d8f&&function(_0x17ebb5){for(const {item:_0x29a076}of _0x17ebb5)if(_0x29a076['is']('element','footnoteRef'))return!0x0;return!0x1;}(_0x499584['createRangeIn'](_0x27e4a7['content']))&&(_0x1b3d8f=function(_0x106dd4,_0x1a6467){const _0x136c75=G(_0x106dd4,_0x1a6467);if(!_0x136c75)return null;const _0x33eef9=Object['create'](null);for(const _0x509964 of _0x136c75['getChildren']())_0x509964['is']('element','footnoteDefinition')&&_0x509964['hasAttribute']('footnoteId')&&(_0x33eef9[_0x509964['getAttribute']('footnoteId')]=_0x106dd4['cloneElement'](_0x509964,!0x0));return Object['keys'](_0x33eef9)['length']?_0x33eef9:null;}(_0x25f131,_0x27e4a7['content'])),(_0x46c651&&!_0x22fe50||!_0x46c651&&!_0x1b3d8f)&&function(_0x2c37da,_0x59eafc){const _0x1586a3=[];for(const {item:_0x1362f8}of _0x2c37da['createRangeIn'](_0x59eafc))_0x1362f8['is']('element','footnotesDefinitions')&&_0x1586a3['push'](_0x1362f8);for(const _0x21870f of _0x1586a3)_0x2c37da['remove'](_0x21870f);}(_0x25f131,_0x27e4a7['content']),!_0x1b3d8f)return;const {selection:_0x532e2f}=_0x499584['document'],_0x1a7651=_0x532e2f['getFirstRange']()['root'];_0x46c651&&!_0x22fe50||(_0x46c651=G(_0x25f131,_0x27e4a7['content']),_0x46c651||=_0x2e3ca5['_insertEmptyFootnotesDefinitionsContainer'](_0x25f131,_0x1a7651));const _0x1d4b4b=Array['from'](_0x532e2f['getRanges']())['flatMap'](Q),_0x40baba=function(_0x2a29e5,_0x2abd91,_0x67fddb){const _0x429207=Object['create'](null);for(const {item:_0x25ec12}of _0x2a29e5['createRangeIn'](_0x2abd91))if(_0x25ec12['is']('element','footnoteRef')){const _0x4099c6=_0x25ec12['getAttribute']('footnoteId');if(!_0x67fddb(_0x4099c6))continue;_0x429207[_0x4099c6]||(_0x429207[_0x4099c6]=_0xc7222c()),_0x2a29e5['setAttribute']('footnoteId',_0x429207[_0x4099c6],_0x25ec12);}return _0x429207;}(_0x25f131,_0x27e4a7['content'],_0x2ecf53=>{if(!_0x17f70b)return!0x0;return!!_0x2e3ca5['getFootnote'](_0x2ecf53)&&!_0x1d4b4b['includes'](_0x2ecf53);});for(const [_0x4793aa,_0x4da44b]of Object['entries'](_0x1b3d8f)){const _0x51b550=_0x40baba[_0x4793aa]||_0x4793aa;let _0x5b7a74;if('string'!=typeof _0x4da44b)_0x5b7a74=_0x4da44b,_0x51b550!==_0x4793aa&&_0x25f131['setAttribute']('footnoteId',_0x51b550,_0x5b7a74);else{_0x5b7a74=_0x25f131['createElement']('footnoteDefinition',{'footnoteId':_0x51b550});const _0x3c27cc=_0xb6cd83['data']['htmlProcessor']['toView'](_0x4da44b);let _0x21d078;if(_0x5d81a0)_0x21d078=_0xb6cd83['data']['toModel'](_0x3c27cc,_0x5b7a74);else{_0x21d078=_0x25f131['createElement']('footnoteInlineContent');const _0x4fe439=_0xb6cd83['data']['toModel'](_0x3c27cc,_0x21d078);_0x25f131['insert'](_0x4fe439,_0x21d078);}_0x25f131['append'](_0x21d078,_0x5b7a74);}_0x25f131['insert'](_0x5b7a74,_0x46c651,'end');}_0x1b3d8f=null;});});}}function G(_0xffbc12,_0x56428a){for(const {item:_0x28933d}of _0xffbc12['createRangeIn'](_0x56428a))if(_0x28933d['is']('element','footnotesDefinitions'))return _0x28933d;return null;}function Q(_0x325a04){const _0x3abf20=new Set();for(const {item:_0x20a207}of _0x325a04)_0x20a207['is']('element','footnoteRef')&&_0x3abf20['add'](_0x20a207['getAttribute']('footnoteId'));return Array['from'](_0x3abf20);}class W extends _0x565f5d{['licenseKey'];['_licenseKeyCheckInterval'];static get['pluginName'](){return'FootnotesUI';}static get['isOfficialPlugin'](){return!0x0;}static get['isPremiumPlugin'](){return!0x0;}['init'](){const {editor:_0x37fda1}=this,{componentFactory:_0x36e264}=_0x37fda1['ui'];_0x36e264['add']('insertFootnote',Y(_0x37fda1,_0xf7ab8f)),_0x36e264['add']('menuBar:insertFootnote',Y(_0x37fda1,_0x599219)),this['licenseKey']=this['editor']['config']['get']('licenseKey');const _0x18ee42=this['editor'];this['_licenseKeyCheckInterval']=setInterval(()=>{let _0x1086ef;for(const _0x172e1f in _0x18ee42){const _0xf10535=_0x172e1f,_0x576395=_0x18ee42[_0xf10535];if('footnotesLicenseKeyValid'==_0x576395||'footnotesLicenseKeyInvalid'==_0x576395||'footnotesLicenseKeyExpired'==_0x576395||'footnotesLicenseKeyDomainLimit'==_0x576395||'footnotesLicenseKeyNotAllowed'==_0x576395||'footnotesLicenseKeyEvaluationLimit'==_0x576395||'footnotesLicenseKeyUsageLimit'==_0x576395){delete _0x18ee42[_0xf10535],_0x1086ef=_0x576395,clearInterval(this['_licenseKeyCheckInterval']),this['_licenseKeyCheckInterval']=void 0x0;break;}}'footnotesLicenseKeyInvalid'==_0x1086ef&&_0x18ee42['_showLicenseError']('invalid'),'footnotesLicenseKeyExpired'==_0x1086ef&&_0x18ee42['_showLicenseError']('expired'),'footnotesLicenseKeyDomainLimit'==_0x1086ef&&_0x18ee42['_showLicenseError']('domainLimit'),'footnotesLicenseKeyNotAllowed'==_0x1086ef&&_0x18ee42['_showLicenseError']('featureNotAllowed','Footnotes'),'footnotesLicenseKeyEvaluationLimit'==_0x1086ef&&_0x18ee42['_showLicenseError']('evaluationLimit'),'footnotesLicenseKeyUsageLimit'==_0x1086ef&&_0x18ee42['_showLicenseError']('usageLimit');},0x3e8);}['destroy'](){super['destroy'](),this['_licenseKeyCheckInterval']&&clearInterval(this['_licenseKeyCheckInterval']);}}function Y(_0x14c2d2,_0x4f0675){const _0x483a22=_0x14c2d2['commands']['get']('insertFootnote');return _0x42b3c9=>{const {t:t}=_0x42b3c9,_0x4c829b=new _0x4f0675(_0x42b3c9),_0x1da782=_0x4c829b instanceof _0x599219;return _0x4c829b['bind']('isEnabled')['to'](_0x483a22,'isEnabled'),_0x4c829b['set']({'label':t(_0x1da782?'Footnote':'Insert\x20footnote'),'icon':_0x22117f,'tooltip':!0x0}),_0x4c829b['on']('execute',()=>{_0x483a22['execute'](),_0x14c2d2['editing']['view']['focus']();}),_0x4c829b;};}class Z extends _0x565f5d{static get['pluginName'](){return'Footnotes';}static get['requires'](){return[$,J,W];}static get['isOfficialPlugin'](){return!0x0;}static get['isPremiumPlugin'](){return!0x0;}}const tt=['decimal','decimal-leading-zero','lower-latin','upper-latin','lower-roman','upper-roman'],et=Object['create']({'lower-alpha':'lower-latin','upper-alpha':'upper-latin'}),ot=[...tt,'arabic-indic','lower-alpha','upper-alpha'];class nt extends _0x408e67{['refresh'](){const {editor:_0x463ae8}=this,_0x4d1a68=_0x463ae8['plugins']['get'](K)['getFootnotesDefinitionsObjectElement']();this['isEnabled']=!!_0x4d1a68,this['value']=_0x4d1a68?.['getAttribute']('footnotesListStyle')??null;}['execute']({value:_0x3808a8}){const {editor:_0x5af559}=this,_0x59b054=_0x5af559['plugins']['get'](K),_0x9a123d=_0x59b054['getFootnotesDefinitionsObjectElement']();_0x9a123d&&ot['includes'](_0x3808a8)&&_0x5af559['model']['change'](_0x16afec=>{_0x16afec['setAttribute']('footnotesListStyle',_0x3808a8,_0x9a123d),_0x59b054['_updateFootnotesCounters'](_0x16afec);});}}class it extends _0x408e67{['refresh'](){const {editor:_0x248712}=this,_0x386790=_0x248712['plugins']['get'](K)['getFootnotesDefinitionsObjectElement']();this['isEnabled']=!!_0x386790,this['value']=_0x386790?.['getAttribute']('footnotesListStart')??null;}['execute']({value:_0x698142}){const {editor:_0x1f68aa}=this,_0x1c7971=_0x1f68aa['plugins']['get'](K),_0x411028=_0x1c7971['getFootnotesDefinitionsObjectElement']();_0x411028&&Number['isInteger'](_0x698142)&&_0x1f68aa['model']['change'](_0x1e1590=>{_0x1e1590['setAttribute']('footnotesListStart',_0x698142,_0x411028),_0x1c7971['_updateFootnotesCounters'](_0x1e1590);});}}function st(_0x5141b6,_0x2260d0){let _0x1f5397='',_0x3b61aa=_0x5141b6;for(;_0x3b61aa>0x0;){const _0x39cafa=(_0x3b61aa-0x1)%0x1a;_0x1f5397=String['fromCharCode'](0x61+_0x39cafa)+_0x1f5397,_0x3b61aa=Math['floor']((_0x3b61aa-0x1)/0x1a);}return _0x2260d0?_0x1f5397['toUpperCase']():_0x1f5397;}const rt=[{'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 lt(_0x398400,_0x2f4e6a){let _0x1b79ba='',_0x22e80d=_0x398400;for(const {value:_0x718bfd,numeral:_0xefa691}of rt)for(;_0x22e80d>=_0x718bfd;)_0x1b79ba+=_0xefa691,_0x22e80d-=_0x718bfd;return _0x2f4e6a?_0x1b79ba:_0x1b79ba['toLowerCase']();}const ft=['٠','١','٢','٣','٤','٥','٦','٧','٨','٩'];class at extends _0x565f5d{static get['pluginName'](){return'FootnotesPropertiesEditing';}static get['requires'](){return[$,K];}static get['isOfficialPlugin'](){return!0x0;}static get['isPremiumPlugin'](){return!0x0;}['init'](){const {editor:_0x3b6061}=this;_0x3b6061['config']['define']('footnotes.footnotesProperties.defaultListStyle','decimal'),_0x3b6061['config']['define']('footnotes.footnotesProperties.defaultStartIndex',0x1),_0x3b6061['config']['define']('footnotes.footnotesProperties.listStyles',[...tt]),_0x3b6061['commands']['add']('footnotesStyle',new nt(_0x3b6061)),_0x3b6061['commands']['add']('footnotesStart',new it(_0x3b6061)),this['_defineSchema'](),this['_defineConverters'](),this['_defineFormatter'](),this['_definePostfixer']();}['_defineSchema'](){const {editor:_0x20bac6}=this,{schema:_0x32c57d}=_0x20bac6['model'];_0x32c57d['extend']('footnotesDefinitions',{'allowAttributes':['footnotesListStyle','footnotesListStart']});}['_defineConverters'](){const {editor:_0x59313f}=this,{conversion:_0x17d83d,model:_0x190cd8}=_0x59313f,{schema:_0x301f94}=_0x190cd8;_0x17d83d['for']('upcast')['add'](_0x2da4b4=>{_0x2da4b4['on']('element:ol',(_0x27f1d1,_0x3b9571,_0x51197f)=>{const _0x22be13=_0x3b9571['viewItem'],_0x59e842=_0x3b9571['modelCursor']?.['parent'];_0x22be13['hasClass']('footnotes-list')&&_0x59e842?.['is']('element','footnotesDefinitions')&&(function(_0x584f70,_0x1ead53,_0x56b2ff,_0x383aa3){if(!_0x383aa3['checkAttribute'](_0x1ead53,'footnotesListStart'))return;let _0x5c7572=0x1;const _0x483e62=_0x56b2ff['consumable']['consume'](_0x584f70,{'attributes':'start'});if(_0x483e62){const _0x3515c8=Number['parseInt'](_0x584f70['getAttribute']('start'),0xa);Number['isNaN'](_0x3515c8)||(_0x5c7572=_0x3515c8);}!_0x483e62&&_0x1ead53['hasAttribute']('footnotesListStart')||_0x56b2ff['writer']['setAttribute']('footnotesListStart',_0x5c7572,_0x1ead53);}(_0x22be13,_0x59e842,_0x51197f,_0x301f94),function(_0x3f4b99,_0x38de9e,_0x2accf8,_0x398dd3){if(!_0x398dd3['checkAttribute'](_0x38de9e,'footnotesListStyle'))return;let _0x5a77b7='decimal',_0x50245e=!0x1;if(_0x2accf8['consumable']['consume'](_0x3f4b99,{'attributes':'type'})){const _0x311477={0x1:'decimal','a':'lower-latin','A':'upper-latin','i':'lower-roman','I':'upper-roman'}[_0x3f4b99['getAttribute']('type')];_0x311477&&(_0x5a77b7=_0x311477),_0x50245e=!0x0;}if(_0x2accf8['consumable']['consume'](_0x3f4b99,{'styles':'list-style-type'})){const _0x415a5c=ct(_0x3f4b99['getStyle']('list-style-type'));_0x415a5c&&(_0x5a77b7=_0x415a5c),_0x50245e=!0x0;}!_0x50245e&&_0x38de9e['hasAttribute']('footnotesListStyle')||_0x2accf8['writer']['setAttribute']('footnotesListStyle',_0x5a77b7,_0x38de9e);}(_0x22be13,_0x59e842,_0x51197f,_0x301f94));});}),_0x17d83d['for']('downcast')['add'](_0x5c3133=>{_0x5c3133['on']('attribute:footnotesListStart:footnotesDefinitions',(_0x2d8983,_0x214985,_0x3e02d6)=>{if(!_0x3e02d6['consumable']['consume'](_0x214985['item'],_0x2d8983['name']))return;const _0x4543c5=ut(_0x214985['item'],_0x3e02d6['mapper']),{attributeNewValue:_0x28f6f9}=_0x214985;null==_0x28f6f9||0x1===_0x28f6f9?_0x3e02d6['writer']['removeAttribute']('start',_0x4543c5):_0x3e02d6['writer']['setAttribute']('start',String(_0x28f6f9),_0x4543c5);}),_0x5c3133['on']('attribute:footnotesListStyle:footnotesDefinitions',(_0x46c6ee,_0x2dc36d,_0x841eb4)=>{if(!_0x841eb4['consumable']['consume'](_0x2dc36d['item'],_0x46c6ee['name']))return;const _0xaa63be=ut(_0x2dc36d['item'],_0x841eb4['mapper']),{attributeNewValue:_0x284cf6}=_0x2dc36d;_0x284cf6&&'decimal'!==_0x284cf6?_0x841eb4['writer']['setStyle']('list-style-type',_0x284cf6,_0xaa63be):_0x841eb4['writer']['removeStyle']('list-style-type',_0xaa63be);});});}['_definePostfixer'](){const {editor:_0x15b9fd}=this,{model:_0x3617ee}=_0x15b9fd,_0x253692=_0x15b9fd['plugins']['get'](K),_0x15418a=this['_getDefaultListStyle'](),_0x2950a6=this['_getDefaultStartIndex']();_0x3617ee['document']['registerPostFixer'](_0x4b321e=>{const _0x171248=_0x3617ee['document']['differ']['getChanges']();let _0x2b6f3b=!0x1;for(const _0x1ca163 of _0x171248){if('insert'!==_0x1ca163['type']||'$text'===_0x1ca163['name'])continue;const _0x3a29be=_0x3617ee['createRangeOn'](_0x1ca163['position']['nodeAfter']);for(const _0x3748ad of _0x3a29be['getItems']())_0x3748ad['is']('element','footnotesDefinitions')&&(!_0x3748ad['hasAttribute']('footnotesListStart')&&_0x3617ee['schema']['checkAttribute'](_0x3748ad,'footnotesListStart')&&(_0x4b321e['setAttribute']('footnotesListStart',_0x2950a6,_0x3748ad),_0x2b6f3b=!0x0),!_0x3748ad['hasAttribute']('footnotesListStyle')&&_0x3617ee['schema']['checkAttribute'](_0x3748ad,'footnotesListStyle')&&(_0x4b321e['setAttribute']('footnotesListStyle',_0x15418a,_0x3748ad),_0x2b6f3b=!0x0));}return _0x2b6f3b&&_0x253692['_updateFootnotesCounters'](_0x4b321e),_0x2b6f3b;});}['_defineFormatter'](){const {editor:_0x53f95c}=this;_0x53f95c['plugins']['get'](K)['setFootnoteFormatter'](_0x4875ba=>this['_formatFootnoteListValue'](_0x4875ba));}['_getDefaultListStyle'](){return this['editor']['config']['get']('footnotes.footnotesProperties.defaultListStyle');}['_getDefaultStartIndex'](){return this['editor']['config']['get']('footnotes.footnotesProperties.defaultStartIndex');}['_formatFootnoteListValue']({container:_0x53fe8a,value:_0x3a4c42,digits:_0x39a83e}){const _0x158406=_0x53fe8a['getAttribute']('footnotesListStyle'),_0x4bdc3e=_0x53fe8a['getAttribute']('footnotesListStart'),_0x3a42a8=Math['floor'](_0x3a4c42)+(_0x4bdc3e??0x1)-0x1;switch(_0x158406){case'decimal-leading-zero':return function(_0x34b94f,_0x4c8a30){return String(_0x34b94f)['padStart'](_0x4c8a30,'0');}(_0x3a42a8,Math['max'](0x2,_0x39a83e));case'lower-alpha':case'lower-latin':return st(_0x3a42a8,!0x1);case'upper-alpha':case'upper-latin':return st(_0x3a42a8,!0x0);case'lower-roman':return lt(_0x3a42a8,!0x1);case'upper-roman':return lt(_0x3a42a8,!0x0);case'arabic-indic':return String(_0x3a42a8)['replace'](/\d/g,_0x44fe3d=>ft[Number(_0x44fe3d)]);default:return String(_0x3a42a8);}}}function ct(_0x1ba716){if('string'==typeof _0x1ba716){const _0x50822f=et[_0x1ba716];if(_0x50822f)return _0x50822f;if(ot['includes'](_0x1ba716))return _0x1ba716;}return null;}function ut(_0x4aa7d1,_0x24cb25){const _0x324d29=_0x24cb25['toViewElement'](_0x4aa7d1);return Array['from'](_0x324d29['getChildren']())['find'](_0x175200=>_0x175200['is']('element','ol')&&_0x175200['hasClass']('footnotes-list'));}class dt extends _0x11c711{['children'];['stylesView']=null;['additionalProperties']=null;['startIndexFieldView']=null;['focusTracker']=new _0x58b7dc();['keystrokes']=new _0x13c935();['focusables']=new _0x2f2745();['focusCycler'];constructor(_0x565c32,{styleButtonViews:_0x4d4b84,styleGridAriaLabel:_0x1b3c99}){super(_0x565c32),(this['focusCycler']=new _0x464162({'focusables':this['focusables'],'focusTracker':this['focusTracker'],'keystrokeHandler':this['keystrokes'],'actions':{'focusPrevious':'shift\x20+\x20tab','focusNext':'tab'}}),this['children']=this['createCollection'](),this['stylesView']=this['_appendStylesView'](_0x4d4b84,_0x1b3c99),[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 _0x59f569 of this['stylesView']['children'])this['stylesView']['focusTracker']['add'](_0x59f569['element']);_0x1c52c1({'keystrokeHandler':this['stylesView']['keystrokes'],'focusTracker':this['stylesView']['focusTracker'],'gridItems':this['stylesView']['children'],'numberOfColumns':()=>_0x295e92['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 _0x38f35d=_0x568a1a=>_0x568a1a['stopPropagation']();this['keystrokes']['set']('arrowright',_0x38f35d),this['keystrokes']['set']('arrowleft',_0x38f35d),this['keystrokes']['set']('arrowup',_0x38f35d),this['keystrokes']['set']('arrowdown',_0x38f35d);}this['keystrokes']['listenTo'](this['element']);}['focus'](){this['focusCycler']['focusFirst']();}['focusLast'](){this['focusCycler']['focusLast']();}['destroy'](){super['destroy'](),this['focusTracker']['destroy'](),this['keystrokes']['destroy']();}['_appendStylesView'](_0x761808,_0xdacbdc){const _0x5a689d=new _0x11c711(this['locale']);return _0x5a689d['children']=_0x5a689d['createCollection'](),_0x5a689d['children']['addMany'](_0x761808),_0x5a689d['setTemplate']({'tag':'div','attributes':{'aria-label':_0xdacbdc,'class':['ck','ck-footnotes-definitions-styles-list']},'children':_0x5a689d['children']}),_0x5a689d['children']['delegate']('execute')['to'](this),_0x5a689d['focus']=function(){for(const _0x2c372c of this['children'])if(_0x2c372c instanceof _0xf7ab8f&&_0x2c372c['isOn'])return void _0x2c372c['focus']();this['children']['first']['focus']();},_0x5a689d['focusTracker']=new _0x58b7dc(),_0x5a689d['keystrokes']=new _0x13c935(),_0x5a689d['render'](),_0x5a689d['keystrokes']['listenTo'](_0x5a689d['element']),this['children']['add'](_0x5a689d),_0x5a689d;}['_appendAdditionalPropertiesCollapsibleView'](){const {t:t}=this['locale'],_0x19b6a9=this['_createStartIndexPropertyView'](),_0x27fec8=[_0x19b6a9],_0x5d16b8=new _0x2685a3(this['locale'],_0x27fec8);return _0x5d16b8['set']({'label':t('Footnotes\x20properties'),'isCollapsed':!0x0}),_0x5d16b8['buttonView']['bind']('isEnabled')['toMany'](_0x27fec8,'isEnabled',(..._0x531a9d)=>_0x531a9d['some'](_0x39c5a6=>_0x39c5a6)),_0x5d16b8['buttonView']['on']('change:isEnabled',(_0x8d8901,_0x398aca,_0x55d866)=>{_0x55d866||(_0x5d16b8['isCollapsed']=!0x0);}),this['children']['add'](_0x5d16b8),[_0x19b6a9,_0x5d16b8];}['_createStartIndexPropertyView'](){const {t:t}=this['locale'],_0x563bc4=new _0x2840ea(this['locale'],_0x6e17a);return _0x563bc4['set']({'label':t('Footnotes\x20start\x20at'),'class':'ck-footnotes-definitions-properties__start-index'}),_0x563bc4['fieldView']['set']({'min':0x0,'max':Math['pow'](0x2,0x1e),'step':0x1,'value':0x1,'inputMode':'numeric'}),_0x563bc4['fieldView']['on']('input',()=>{const _0x46a1be=_0x563bc4['fieldView']['element'],_0x2b04ac=_0x46a1be['valueAsNumber'];Number['isNaN'](_0x2b04ac)?_0x563bc4['errorText']=t('Invalid\x20footnotes\x20start\x20index\x20value.'):_0x46a1be['checkValidity']()?this['fire']('footnotesListStart',{'startIndex':_0x2b04ac}):_0x563bc4['errorText']=t(_0x2b04ac<0x0?'Footnotes\x20start\x20index\x20must\x20be\x20greater\x20than\x200.':'Footnotes\x20start\x20index\x20is\x20too\x20large.');}),_0x563bc4;}}class ht extends _0x565f5d{static get['pluginName'](){return'FootnotesPropertiesUI';}static get['requires'](){return[_0x2a961e,_0x16ec91];}static get['isOfficialPlugin'](){return!0x0;}static get['isPremiumPlugin'](){return!0x0;}['init'](){const {editor:_0xf6e6a3}=this,{componentFactory:_0xd4d267}=_0xf6e6a3['ui'];_0xf6e6a3['config']['define']('footnotes.footnotesProperties.toolbar',['footnotesStyle']),_0xd4d267['add']('footnotesStyle',function(_0x59015b){return _0x5cc132=>{const {t:t}=_0x5cc132,_0x26a671=_0x59015b['commands']['get']('footnotesStyle'),_0x177c62=_0x5a3c9c(_0x5cc132),{buttonView:_0x2f298c}=_0x177c62;return _0x177c62['class']='ck-footnotes-styles-dropdown',_0x177c62['bind']('isEnabled')['to'](_0x26a671,'isEnabled'),_0x2f298c['set']({'label':t('Footnotes\x20style'),'icon':_0x22117f,'tooltip':!0x0}),_0x177c62['once']('change:isOpen',()=>{const _0x31a120=function({editor:_0x11ce85,dropdownView:_0x7ddd11}){const {t:t}=_0x11ce85['locale'],_0x4bca6a=t('Footnotes\x20definitions\x20styles'),_0x134548=function(_0x44da1f){const {t:t}=_0x44da1f['locale'],_0x1313b0=_0x44da1f['config']['get']('footnotes.footnotesProperties.listStyles'),_0x85f360=[{'style':'decimal','label':t('Toggle\x20the\x20decimal\x20footnotes\x20style'),'tooltip':t('Decimal\x20footnotes'),'icon':_0x10f394},{'style':'decimal-leading-zero','label':t('Toggle\x20the\x20decimal\x20with\x20leading\x20zero\x20footnotes\x20style'),'tooltip':t('Decimal\x20footnotes\x20with\x20leading\x20zero'),'icon':_0x4ef899},{'style':'lower-roman','label':t('Toggle\x20the\x20lower-roman\x20footnotes\x20style'),'tooltip':t('Lower-roman\x20footnotes'),'icon':_0x281a4a},{'style':'upper-roman','label':t('Toggle\x20the\x20upper-roman\x20footnotes\x20style'),'tooltip':t('Upper-roman\x20footnotes'),'icon':_0x3d1ac6},{'style':'lower-latin','label':t('Toggle\x20the\x20lower-latin\x20footnotes\x20style'),'tooltip':t('Lower-latin\x20footnotes'),'icon':_0x2269e6},{'style':'upper-latin','label':t('Toggle\x20the\x20upper-latin\x20footnotes\x20style'),'tooltip':t('Upper-latin\x20footnotes'),'icon':_0x459d73},{'style':'arabic-indic','label':t('Toggle\x20the\x20arabic-indic\x20footnotes\x20style'),'tooltip':t('Arabic-indic\x20footnotes'),'icon':_0xd0327c}];return _0x1313b0['map'](_0x2a7075=>{const _0x116ab9=ct(_0x2a7075),_0x256bfe=_0x85f360['find'](_0x2c7608=>_0x2c7608['style']===_0x116ab9);return function(_0x2f005e,_0x5a4b56){const {locale:_0x31db5e}=_0x2f005e,{label:_0x447073,icon:_0x54b32e,tooltip:_0x447729,style:_0x1b8435}=_0x5a4b56,_0x61543c=_0x2f005e['commands']['get']('footnotesStyle'),_0x5086a3=new _0xf7ab8f(_0x31db5e);return _0x5086a3['set']({'label':_0x447073,'icon':_0x54b32e,'tooltip':_0x447729}),_0x5086a3['bind']('isOn')['to'](_0x61543c,'value',_0x1db79a=>_0x1db79a===_0x1b8435),_0x5086a3['bind']('isEnabled')['to'](_0x61543c,'isEnabled'),_0x5086a3['on']('execute',()=>{_0x2f005e['execute']('footnotesStyle',{'value':_0x1b8435}),_0x2f005e['editing']['view']['focus']();}),_0x5086a3;}(_0x44da1f,_0x256bfe);});}(_0x11ce85),_0x3c9a8b=new dt(_0x11ce85['locale'],{'styleGridAriaLabel':_0x4bca6a,'styleButtonViews':_0x134548}),_0x13792c=_0x11ce85['commands']['get']('footnotesStart');return _0x3c9a8b['startIndexFieldView']['bind']('isEnabled')['to'](_0x13792c),_0x3c9a8b['startIndexFieldView']['fieldView']['bind']('value')['to'](_0x13792c),_0x3c9a8b['on']('footnotesListStart',(_0x152296,_0x538dbf)=>{_0x11ce85['execute']('footnotesStart',{'value':_0x538dbf['startIndex']});}),_0x3c9a8b['delegate']('execute')['to'](_0x7ddd11),_0x3c9a8b;}({'editor':_0x59015b,'dropdownView':_0x177c62});_0x177c62['panelView']['children']['add'](_0x31a120);}),_0x177c62;};}(_0xf6e6a3));}['afterInit'](){const {editor:_0x53d96c}=this,{t:t}=_0x53d96c['locale'],_0x3c1aad=_0x53d96c['plugins']['get'](_0x16ec91),{defaultPositions:_0x58f4f0}=_0xf85455;_0x3c1aad['register']('footnotesDefinitions',{'ariaLabel':t('Footnotes\x20definitions\x20toolbar'),'items':_0x53d96c['config']['get']('footnotes.footnotesProperties.toolbar'),'balloonClassName':'ck-footnotes-style-balloon\x20ck-toolbar-container','getRelatedElement':_0x5e3536=>{let _0x52703d=_0x5e3536['getFirstPosition']()?.['parent'];return _0x52703d?.['is']('$text')&&(_0x52703d=_0x52703d['parent']),_0x52703d?.['is']('element')?_0x52703d['findAncestor'](q):null;},'positions':[_0x58f4f0['southArrowNorth'],_0x58f4f0['southArrowNorthMiddleWest'],_0x58f4f0['southArrowNorthMiddleEast'],_0x58f4f0['southArrowNorthWest'],_0x58f4f0['southArrowNorthEast'],_0x58f4f0['northArrowSouth'],_0x58f4f0['northArrowSouthMiddleWest'],_0x58f4f0['northArrowSouthMiddleEast'],_0x58f4f0['northArrowSouthWest'],_0x58f4f0['northArrowSouthEast'],_0x58f4f0['viewportStickyNorth']]});}}class mt extends _0x565f5d{static get['pluginName'](){return'FootnotesProperties';}static get['requires'](){return[at,ht];}static get['isOfficialPlugin'](){return!0x0;}static get['isPremiumPlugin'](){return!0x0;}}export{Z as Footnotes,J as FootnotesClipboard,$ as FootnotesEditing,mt as FootnotesProperties,at as FootnotesPropertiesEditing,ht as FootnotesPropertiesUI,it as FootnotesStartCommand,nt as FootnotesStyleCommand,K as FootnotesTracker,W as FootnotesUI,V as InsertFootnoteCommand};
23
+ import{Plugin as _0x5d302d,Command as _0x492809}from'@ckeditor/ckeditor5-core/dist/index.js';import{toWidget as _0x73cedb,isWidget as _0x59c56f,toWidgetEditable as _0x4c508e,WidgetToolbarRepository as _0x497b9c}from'@ckeditor/ckeditor5-widget/dist/index.js';import{uid as _0x3f2534,logWarning as _0x3734c8,FocusTracker as _0xddd09d,KeystrokeHandler as _0x46d526,global as _0x1a31c6}from'@ckeditor/ckeditor5-utils/dist/index.js';import{PointerObserver as _0x1e5f68,ClickObserver as _0x53c719}from'@ckeditor/ckeditor5-engine/dist/index.js';import{ClipboardPipeline as _0x28dca5}from'@ckeditor/ckeditor5-clipboard/dist/index.js';import{MenuBarMenuListItemButtonView as _0x5eed3e,ButtonView as _0x188ee4,View as _0x27d01e,ViewCollection as _0x1aa533,FocusCycler as _0x22e203,addKeyboardHandlingForGrid as _0x44bfe4,CollapsibleView as _0x19b448,LabeledFieldView as _0x1a35b5,createLabeledInputNumber as _0x24de7f,ContextualBalloon as _0x5bfc86,BalloonPanelView as _0x4b9f90,createDropdown as _0x2b51a2}from'@ckeditor/ckeditor5-ui/dist/index.js';import{IconFootnote as _0x5a05cd,IconListStyleDecimal as _0x3bcf11,IconListStyleDecimalLeadingZero as _0x2d28c9,IconListStyleLowerRoman as _0x14a5e2,IconListStyleUpperRoman as _0x3e168d,IconListStyleLowerLatin as _0x296a3c,IconListStyleUpperLatin as _0x13c309,IconListStyleArabicIndic as _0x514508}from'@ckeditor/ckeditor5-icons/dist/index.js';class R{['_model'];['_elementName'];['_getElementKey'];['_trackedElements']=new Map();constructor(_0x4b7de2,_0x2f15b9){this['_model']=_0x4b7de2,this['_elementName']=_0x2f15b9['elementName'],this['_getElementKey']=_0x2f15b9['getElementKey'];}['reset'](){this['_trackedElements']['clear']();}['getChanges'](_0x52a597){const _0x4e6061=new Set(),_0x421f44=new Map();for(const _0x3b0dd5 of _0x52a597){if('insert'===_0x3b0dd5['type']&&'$text'!==_0x3b0dd5['name']&&_0x3b0dd5['position']['nodeAfter']){const _0x18329a=this['_model']['createRangeOn'](_0x3b0dd5['position']['nodeAfter']);for(const _0x4e921c of _0x18329a['getItems']()){if(!_0x4e921c['is']('element',this['_elementName']))continue;const _0x508695=this['_getElementKey'](_0x4e921c);_0x421f44['has'](_0x508695)||_0x421f44['set'](_0x508695,[]),_0x421f44['get'](_0x508695)['push'](_0x4e921c);}}if('remove'===_0x3b0dd5['type']&&_0x3b0dd5['name']===this['_elementName']){const _0x13d3ca=this['_getElementKey']({'getAttribute':_0x3c901c=>_0x3b0dd5['attributes']['get'](_0x3c901c)});_0x4e6061['add'](_0x13d3ca);}}for(const [_0x44fe52,_0x4382ac]of this['_trackedElements'])'$graveyard'===_0x4382ac['root']['rootName']&&_0x4e6061['add'](_0x44fe52);for(const _0x2f3251 of _0x4e6061)this['_trackedElements']['delete'](_0x2f3251);for(const [_0x394e1e,_0xbfbe1]of _0x421f44)this['_trackedElements']['set'](_0x394e1e,_0xbfbe1[_0xbfbe1['length']-0x1]);const _0x198819=new Set();for(const [_0x1850a1,_0x2e1e36]of _0x421f44)_0x4e6061['has'](_0x1850a1)&&(_0x198819['add'](_0x2e1e36[0x0]),_0x2e1e36['length']>0x1?_0x421f44['set'](_0x1850a1,_0x2e1e36['slice'](0x1)):_0x421f44['delete'](_0x1850a1),_0x4e6061['delete'](_0x1850a1));return{'removed':Array['from'](_0x4e6061),'inserted':Array['from'](_0x421f44['values']())['flat'](),'moved':Array['from'](_0x198819)};}}class K extends _0x5d302d{['_footnotes']=[];['_footnotesDefinitions']=null;['_footnoteFormatter']=null;['_footnoteDefsContainerTracker'];['_footnoteRefsTracker'];['_footnoteDefsTracker'];static get['pluginName'](){return'FootnotesTracker';}static get['isOfficialPlugin'](){return!0x0;}static get['isPremiumPlugin'](){return!0x0;}constructor(_0x2d2381){super(_0x2d2381),this['_footnoteDefsContainerTracker']=new R(this['editor']['model'],{'elementName':'footnotesDefinitions','getElementKey':()=>'singleton'}),this['_footnoteRefsTracker']=new R(this['editor']['model'],{'elementName':'footnoteRef','getElementKey':_0x219a12=>_0x219a12['getAttribute']('footnoteId')}),this['_footnoteDefsTracker']=new R(this['editor']['model'],{'elementName':'footnoteDefinition','getElementKey':_0x8ae3ad=>_0x8ae3ad['getAttribute']('footnoteId')});}['init'](){const {editor:_0x4924d4}=this,{model:_0x2ddf5d,data:_0x24f262}=_0x4924d4;_0x2ddf5d['document']['registerPostFixer'](_0x4fdcba=>{const _0x4f3d35=_0x2ddf5d['document']['differ']['getChanges']();let _0x17553a=!0x1;return this['_handleFootnotesDefinitionsObjectChanges'](_0x4fdcba,_0x4f3d35)&&(_0x17553a=!0x0),this['_handleFootnoteDefinitionsChanges'](_0x4fdcba,_0x4f3d35)&&(_0x17553a=!0x0),this['_handleFootnoteReferencesChanges'](_0x4fdcba,_0x4f3d35)&&(_0x17553a=!0x0),this['_ensureFootnotesReferencesHaveProperOrder'](_0x4fdcba)&&(_0x17553a=!0x0),this['_handleFootnotesDefinitionsObjectSync'](_0x4fdcba)&&(_0x17553a=!0x0),this['_sortFootnoteDefinitions'](_0x4fdcba)&&(_0x17553a=!0x0),_0x17553a;}),this['listenTo'](_0x2ddf5d['document'],'change:data',()=>{_0x2ddf5d['enqueueChange']({'isUndoable':!0x1},_0x5a8abe=>{this['_ensureFootnotesDefinitionsContainerExists'](_0x5a8abe);});},{'priority':'low'}),this['listenTo'](_0x24f262,'set',()=>{this['_footnotes']=[],this['_footnoteDefsContainerTracker']['reset'](),this['_footnoteRefsTracker']['reset'](),this['_footnoteDefsTracker']['reset']();},{'priority':'high'});}['getFootnotesDefinitionsObjectElement'](){return this['_footnotesDefinitions'];}['getFootnote'](_0x20e2bd){return this['_footnotes']['find'](_0x206c3c=>_0x206c3c['id']===_0x20e2bd)||null;}['getFootnotes'](){return Array['from'](this['_footnotes']);}['getFootnotesFormatter'](){return this['_footnoteFormatter'];}['setFootnoteFormatter'](_0xfa877c){this['_footnoteFormatter']=_0xfa877c;}['_updateFootnotesCounters'](_0x8e0a24,_0xe617ab=0x0){let _0x59fd2d=!0x1;for(let _0x46d7bd=_0xe617ab;_0x46d7bd<this['_footnotes']['length'];_0x46d7bd++)this['_updateFootnoteRefCounter'](_0x8e0a24,_0x46d7bd)&&(_0x59fd2d=!0x0);return _0x59fd2d;}['_insertEmptyFootnotesDefinitionsContainer'](_0x4ab0eb,_0x39fea0){const _0x27f37c=_0x4ab0eb['createElement']('footnotesDefinitions',{});return _0x4ab0eb['append'](_0x27f37c,_0x39fea0),this['_footnotesDefinitions']=_0x27f37c,_0x27f37c;}['_ensureFootnotesDefinitionsContainerExists'](_0x5a8bc9){if(!this['_footnotes']['length']||this['_footnotesDefinitions'])return;const _0x4f7ff8=this['_footnotes'][0x0]['reference']['root'],_0x2d9d8b=this['_insertEmptyFootnotesDefinitionsContainer'](_0x5a8bc9,_0x4f7ff8);for(const _0xa41a34 of this['_footnotes'])_0xa41a34['definition']['parent']||_0x5a8bc9['insert'](_0xa41a34['definition'],_0x2d9d8b,'end');this['_updateFootnotesCounters'](_0x5a8bc9);}['_handleFootnotesDefinitionsObjectChanges'](_0x3cf6da,_0x4772fd){let _0xb2683a=!0x1;const {inserted:_0x4c97d1,removed:_0x391c28,moved:_0x145def}=this['_footnoteDefsContainerTracker']['getChanges'](_0x4772fd);if(_0x145def['length']&&(this['_footnotesDefinitions']=_0x145def[0x0]),_0x4c97d1['length']){if(_0x4c97d1['length']>0x1||this['_footnotesDefinitions']&&_0x4c97d1['some'](_0x18de20=>_0x18de20!==this['_footnotesDefinitions'])){const _0x4b3330=_0x3cf6da['createElement']('footnotesDefinitions',{}),_0x4a95c1=[];this['_footnotesDefinitions']&&_0x4a95c1['push'](this['_footnotesDefinitions']),_0x4a95c1['push'](..._0x4c97d1),_0x3cf6da['insert'](_0x4b3330,_0x4a95c1[0x0],'before');for(const _0x5a4b0a of _0x4a95c1)_0x3cf6da['move'](_0x3cf6da['createRangeIn'](_0x5a4b0a),_0x3cf6da['createPositionAt'](_0x4b3330,'end')),_0x3cf6da['remove'](_0x5a4b0a);this['_footnotesDefinitions']=_0x4b3330,this['_updateFootnotesCounters'](_0x3cf6da),_0xb2683a=!0x0;}else this['_footnotesDefinitions']=_0x4c97d1[0x0];}if(_0x391c28['length']&&'$graveyard'===this['_footnotesDefinitions']?.['root']['rootName']){for(const _0x160c1c of this['_footnotes'])_0x3cf6da['remove'](_0x160c1c['reference']),_0xb2683a=!0x0;this['_footnotes']=[],this['_footnotesDefinitions']=null;}return _0xb2683a;}['_handleFootnoteDefinitionsChanges'](_0x5aeae9,_0x49ca18){let _0x4fec27=!0x1;const _0x3aa7dc=this['editor']['config']['get']('footnotes.multiBlock'),{inserted:_0xa284b3,moved:_0x5c5975}=this['_footnoteDefsTracker']['getChanges'](_0x49ca18);for(const _0x49b5aa of[..._0x5c5975,..._0xa284b3]){const _0x3c41f4=_0x49b5aa['getAttribute']('footnoteId'),_0x2ac67d=this['getFootnote'](_0x3c41f4);_0x2ac67d&&(_0x2ac67d['definition']=_0x49b5aa),j(_0x5aeae9,_0x3aa7dc,_0x49b5aa)&&(_0x4fec27=!0x0);}return _0x4fec27;}['_handleFootnoteReferencesChanges'](_0x3b49ba,_0x416df8){let _0x3baad1=!0x1;const {removed:_0x282519,inserted:_0x30da8a,moved:_0x2d8437}=this['_footnoteRefsTracker']['getChanges'](_0x416df8);for(const _0xdd5fd1 of _0x282519)this['_handleRemoveFootnoteReferenceById'](_0x3b49ba,_0xdd5fd1)&&(_0x3baad1=!0x0);for(const _0x63be27 of _0x30da8a)this['_handleInsertedFootnoteReference'](_0x3b49ba,_0x63be27)&&(_0x3baad1=!0x0);for(const _0x27870e of _0x2d8437)this['_handleMovedFootnoteReference'](_0x3b49ba,_0x27870e)&&(_0x3baad1=!0x0);return _0x3baad1;}['_handleFootnotesDefinitionsObjectSync'](_0x5c8175){if(!this['_footnotesDefinitions'])return!0x1;let _0x41c825=!0x1;if(this['_footnotesDefinitions']['childCount']!==this['_footnotes']['length']){const _0x4f94d9=[];for(const _0x2df457 of this['_footnotesDefinitions']['getChildren']()){const _0xad10d6=_0x2df457['getAttribute']('footnoteId');this['getFootnote'](_0xad10d6)||(_0x4f94d9['unshift'](_0x2df457),_0x41c825=!0x0);}for(const _0x200afc of _0x4f94d9)_0x5c8175['remove'](_0x200afc);}const _0x538a64=new Set(),_0x683196=[];for(const _0x5d04d6 of this['_footnotesDefinitions']['getChildren']()){const _0x4a8dcc=_0x5d04d6['getAttribute']('footnoteId');_0x538a64['has'](_0x4a8dcc)?(_0x683196['unshift'](_0x5d04d6),_0x41c825=!0x0):_0x538a64['add'](_0x4a8dcc);}for(const _0x31a6a5 of _0x683196)_0x5c8175['remove'](_0x31a6a5);return this['_footnotesDefinitions']['childCount']||(_0x5c8175['remove'](this['_footnotesDefinitions']),this['_footnotesDefinitions']=null,_0x41c825=!0x0),_0x41c825;}['_handleInsertedFootnoteReference'](_0x167cae,_0x55dd59){if(this['_footnotes']['find'](_0xb575ea=>_0xb575ea['reference']===_0x55dd59))return!0x1;let _0x4ef435=!0x1;const _0x2b1444=_0x55dd59['getAttribute']('footnoteId'),_0x51c0d1=this['_footnotes']['findIndex'](_0x549cad=>_0x549cad['id']===_0x2b1444);-0x1!==_0x51c0d1&&(_0x167cae['remove'](this['_footnotes'][_0x51c0d1]['reference']),this['_footnotes']['splice'](_0x51c0d1,0x1),_0x4ef435=!0x0);let _0x52a95a=this['_footnotesDefinitions']?function(_0x37e055,_0x17d9c6){for(const _0xf81b9 of _0x37e055['getChildren']())if(_0xf81b9['getAttribute']('footnoteId')===_0x17d9c6)return _0xf81b9;return null;}(this['_footnotesDefinitions'],_0x2b1444):null;_0x52a95a||(_0x52a95a=_0x167cae['createElement']('footnoteDefinition',{'footnoteId':_0x2b1444}),this['_footnotesDefinitions']&&(_0x167cae['insert'](_0x52a95a,this['_footnotesDefinitions'],'end'),_0x4ef435=!0x0));const _0x6fad17={'id':_0x2b1444,'reference':_0x55dd59,'definition':_0x52a95a},_0x3d536c=T(this['editor']['model'],this['_footnotes'],_0x55dd59);this['_footnotes']['splice'](_0x3d536c,0x0,_0x6fad17);let _0x1852d6=_0x3d536c;return-0x1!==_0x51c0d1&&(_0x1852d6=Math['min'](_0x3d536c,_0x51c0d1)),this['_updateFootnotesCounters'](_0x167cae,_0x1852d6)&&(_0x4ef435=!0x0),_0x4ef435;}['_handleRemoveFootnoteReferenceById'](_0x6c4260,_0x17bc5e){const _0x2de908=this['_footnotes']['findIndex'](_0x4f8705=>_0x4f8705['id']===_0x17bc5e);if(-0x1===_0x2de908)return!0x1;let _0x31168f=!0x1;const _0x35d25b=this['_footnotes'][_0x2de908];return'$graveyard'!==_0x35d25b['definition']['root']['rootName']&&(_0x6c4260['remove'](_0x35d25b['definition']),_0x31168f=!0x0),this['_footnotes']['splice'](_0x2de908,0x1),this['_updateFootnotesCounters'](_0x6c4260,_0x2de908)&&(_0x31168f=!0x0),_0x31168f;}['_handleMovedFootnoteReference'](_0x569562,_0x56ff42){const _0x4c4f43=_0x56ff42['getAttribute']('footnoteId'),_0x3eea69=this['_footnotes']['findIndex'](_0x5491bd=>_0x5491bd['id']===_0x4c4f43),_0x49dd80=this['_footnotes'][_0x3eea69];let _0x2879ac=!0x1;_0x49dd80['reference']=_0x56ff42,this['_footnotes']['splice'](_0x3eea69,0x1);const _0x104ac4=T(this['editor']['model'],this['_footnotes'],_0x56ff42);return this['_footnotes']['splice'](_0x104ac4,0x0,_0x49dd80),this['_updateFootnotesCounters'](_0x569562,Math['min'](_0x3eea69,_0x104ac4))&&(_0x2879ac=!0x0),_0x2879ac;}['_updateFootnoteRefCounter'](_0x211c65,_0x52e564){if(!this['_footnotesDefinitions'])return!0x1;const _0x40353e=this['_footnotes'][_0x52e564];let _0x24f5a2;return _0x24f5a2=this['_footnoteFormatter']?this['_footnoteFormatter']({'footnote':_0x40353e,'container':this['_footnotesDefinitions'],'digits':String(this['_footnotes']['length'])['length'],'value':_0x52e564+0x1}):String(_0x52e564+0x1),_0x40353e['reference']['getAttribute']('footnoteCounter')!=_0x24f5a2&&(_0x211c65['setAttribute']('footnoteCounter',_0x24f5a2,_0x40353e['reference']),!0x0);}['_sortFootnoteDefinitions'](_0x713bd){if(!this['_footnotesDefinitions']||this['_footnotes']['length']<0x2)return!0x1;if(function(_0x574642,_0x57f881){if(_0x574642['length']!==_0x57f881['length'])return!0x1;for(let _0x389503=0x0;_0x389503<_0x574642['length'];_0x389503++)if(_0x574642[_0x389503]!==_0x57f881[_0x389503])return!0x1;return!0x0;}(this['_footnotes']['map'](_0x3c178a=>_0x3c178a['id']),Array['from'](this['_footnotesDefinitions']['getChildren']())['map'](_0x56d0bc=>_0x56d0bc['getAttribute']('footnoteId'))))return!0x1;let _0x4fa604=!0x1;for(let _0x27a216=0x0;_0x27a216<this['_footnotes']['length'];_0x27a216++){const _0x7b372d=this['_footnotes'][_0x27a216],_0x45b382=_0x713bd['createPositionBefore'](_0x7b372d['definition']),_0x3355e9=_0x713bd['createPositionAt'](this['_footnotesDefinitions'],_0x27a216);_0x45b382['isEqual'](_0x3355e9)||(_0x713bd['move'](_0x713bd['createRangeOn'](_0x7b372d['definition']),_0x3355e9),_0x4fa604=!0x0);}return _0x4fa604;}['_ensureFootnotesReferencesHaveProperOrder'](_0x27e56f){if(!this['_footnotes']['length'])return!0x1;const {model:_0x6a5e1e}=this['editor'];let _0x41aed2=!0x1;for(let _0x32d4ae=0x0;_0x32d4ae<this['_footnotes']['length']-0x1;_0x32d4ae++){const _0x3996d0=this['_footnotes'][_0x32d4ae],_0x4fd845=this['_footnotes'][_0x32d4ae+0x1],_0x625d3a=_0x6a5e1e['createPositionBefore'](_0x3996d0['reference']),_0x381566=_0x6a5e1e['createPositionBefore'](_0x4fd845['reference']);'after'===_0x625d3a['compareWith'](_0x381566)&&(this['_handleMovedFootnoteReference'](_0x27e56f,_0x3996d0['reference']),_0x32d4ae=-0x1,_0x41aed2=!0x0);}return _0x41aed2;}}function j(_0x197a35,_0x4aa0c2,_0x22bfd0){if(_0x22bfd0['childCount'])return!0x1;const _0x30830a=_0x4aa0c2?'paragraph':'footnoteInlineContent';return _0x197a35['insert'](_0x197a35['createElement'](_0x30830a),_0x22bfd0),!0x0;}function T(_0x5861db,_0x4744a5,_0x5360b1){if(0x0===_0x4744a5['length'])return 0x0;const _0x1c4e51=_0x5861db['createPositionBefore'](_0x5360b1);for(let _0x1d2f99=0x0;_0x1d2f99<_0x4744a5['length'];_0x1d2f99++){const _0x1c1ec7=_0x4744a5[_0x1d2f99],_0x107667=_0x5861db['createPositionBefore'](_0x1c1ec7['reference']);if('before'===_0x1c4e51['compareWith'](_0x107667))return _0x1d2f99;}const _0x34e9d4=_0x5360b1['root'];let _0x3b21ad=-0x1;for(let _0x209afa=_0x4744a5['length']-0x1;_0x209afa>=0x0;_0x209afa--)if(_0x4744a5[_0x209afa]['reference']['root']===_0x34e9d4){_0x3b21ad=_0x209afa;break;}if(-0x1!==_0x3b21ad)return _0x3b21ad+0x1;const _0x2d907e=_0x5861db['document']['getRootNames'](),_0x219b87=_0x2d907e['indexOf'](_0x34e9d4['rootName']),_0x1d0177=_0x2d907e[_0x219b87+0x1];if(_0x1d0177){for(let _0x4f37eb=0x0;_0x4f37eb<_0x4744a5['length'];_0x4f37eb++)if(_0x4744a5[_0x4f37eb]['reference']['root']['rootName']===_0x1d0177)return _0x4f37eb;}return _0x4744a5['length'];}class V extends _0x492809{['refresh'](){const _0x830862=this['editor']['model']['document']['selection'],_0x33ca89=this['_getPositionToInsertFootnote'](_0x830862);this['isEnabled']=!!_0x33ca89;}['execute'](_0x408860){const {editor:_0xa80366}=this,{model:_0xf11674}=_0xa80366,{selection:_0x368330}=_0xf11674['document'],_0x40f8a6=this['_getPositionToInsertFootnote'](_0x368330);if(!_0x40f8a6)return;const _0x599388=_0xa80366['plugins']['get']('FootnotesEditing'),_0x5d0f6f=_0x408860?.['footnoteId']??_0x3f2534();!function(_0x1bffe2){return'string'==typeof _0x1bffe2&&_0x1bffe2['length']>0x0&&!/\s/['test'](_0x1bffe2)&&!/^\d/['test'](_0x1bffe2);}(_0x5d0f6f)?_0x3734c8('insert-footnote-command-executed-with-invalid-id'):(_0xf11674['change'](_0xae50ee=>{const _0x362e38=_0xae50ee['createElement']('footnoteRef',{'footnoteId':_0x5d0f6f});_0xf11674['insertObject'](_0x362e38,_0x40f8a6,null);}),_0x599388['_moveSelectionToFootnoteDefinition'](_0x5d0f6f));}['_getPositionToInsertFootnote'](_0x1ed51e){const {model:_0x11fb8c}=this['editor'],{schema:_0x509c62}=_0x11fb8c,_0x19f1b2=_0x1ed51e['getFirstRange']();for(const _0x2ecec0 of _0x19f1b2['getItems']())if(_0x509c62['isBlock'](_0x2ecec0)||_0x509c62['isObject'](_0x2ecec0))return null;const _0x3f1c1b=_0x19f1b2['end'];return _0x509c62['checkChild'](_0x3f1c1b,'footnoteRef')?_0x3f1c1b:null;}}class $ extends _0x5d302d{static get['pluginName'](){return'FootnotesEditing';}static get['requires'](){return[K];}static get['isOfficialPlugin'](){return!0x0;}static get['isPremiumPlugin'](){return!0x0;}['init'](){const {editor:_0x4bbe5d}=this;_0x4bbe5d['config']['define']('footnotes.multiBlock',!0x0),_0x4bbe5d['commands']['add']('insertFootnote',new V(_0x4bbe5d)),this['_defineSchema'](),this['_defineRefsConverters'](),this['_defineDefinitionsConverters'](),this['_defineDefinitionConverters'](),this['_defineBogusParagraphConverters'](),this['_defineKeyboardHandlers'](),this['_defineClickHandlers']();}['afterInit'](){!async function(_0xba5b63){const _0x5a6949=_0x57a736([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]),_0x1a777c=0x47a28506,_0x4b92b7=0x47a500ee^_0x1a777c,_0x4d9a51=window[_0x57a736([0x44,0x61,0x74,0x65])][_0x57a736([0x6e,0x6f,0x77])](),_0x2164e4=_0xba5b63[_0x57a736([0x65,0x64,0x69,0x74,0x6f,0x72])],_0x476584=new window[(_0x57a736([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0x4ade52=>{_0x2164e4[_0x57a736([0x6f,0x6e,0x63,0x65])](_0x57a736([0x72,0x65,0x61,0x64,0x79]),_0x4ade52);}),_0x3c59b6={[_0x57a736([0x6b,0x74,0x79])]:_0x57a736([0x45,0x43]),[_0x57a736([0x75,0x73,0x65])]:_0x57a736([0x73,0x69,0x67]),[_0x57a736([0x63,0x72,0x76])]:_0x57a736([0x50,0x2d,0x32,0x35,0x36]),[_0x57a736([0x78])]:_0x57a736([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]),[_0x57a736([0x79])]:_0x57a736([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]),[_0x57a736([0x61,0x6c,0x67])]:_0x57a736([0x45,0x53,0x32,0x35,0x36])},_0x30d25d=_0x2164e4[_0x57a736([0x63,0x6f,0x6e,0x66,0x69,0x67])][_0x57a736([0x67,0x65,0x74])](_0x57a736([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x4b,0x65,0x79]));async function _0x518328(){let _0x507f40,_0x363e71=null,_0x2ee75b=null;try{if(_0x30d25d==_0x57a736([0x47,0x50,0x4c]))return _0x57a736([0x4e,0x6f,0x74,0x41,0x6c,0x6c,0x6f,0x77,0x65,0x64]);if(_0x507f40=_0x5d3b56(),!_0x507f40)return _0x57a736([0x49,0x6e,0x76,0x61,0x6c,0x69,0x64]);return _0x507f40[_0x57a736([0x75,0x73,0x61,0x67,0x65,0x45,0x6e,0x64,0x70,0x6f,0x69,0x6e,0x74])]&&(_0x2ee75b=_0x7aa38e(_0x507f40[_0x57a736([0x75,0x73,0x61,0x67,0x65,0x45,0x6e,0x64,0x70,0x6f,0x69,0x6e,0x74])],_0x507f40[_0x57a736([0x6a,0x74,0x69])])),await _0x4758f7()?_0x2b951e()?_0x45fad4()?_0x57a736([0x45,0x78,0x70,0x69,0x72,0x65,0x64]):_0x412153()?(_0x507f40[_0x57a736([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x54,0x79,0x70,0x65])]==_0x57a736([0x65,0x76,0x61,0x6c,0x75,0x61,0x74,0x69,0x6f,0x6e])&&(_0x363e71=_0x275ab4(_0x57a736([0x45,0x76,0x61,0x6c,0x75,0x61,0x74,0x69,0x6f,0x6e,0x4c,0x69,0x6d,0x69,0x74]))),await _0xb9f850()):_0x57a736([0x44,0x6f,0x6d,0x61,0x69,0x6e,0x4c,0x69,0x6d,0x69,0x74]):_0x57a736([0x4e,0x6f,0x74,0x41,0x6c,0x6c,0x6f,0x77,0x65,0x64]):_0x57a736([0x49,0x6e,0x76,0x61,0x6c,0x69,0x64]);}catch{return _0x57a736([0x49,0x6e,0x76,0x61,0x6c,0x69,0x64]);}function _0x45fad4(){const _0x1f3dc1=[_0x57a736([0x65,0x76,0x61,0x6c,0x75,0x61,0x74,0x69,0x6f,0x6e]),_0x57a736([0x74,0x72,0x69,0x61,0x6c])][_0x57a736([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x507f40[_0x57a736([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x54,0x79,0x70,0x65])])?_0x4d9a51/0x3e8:0xe10*_0x4b92b7;return _0x507f40[_0x57a736([0x65,0x78,0x70])]<_0x1f3dc1;}function _0x2b951e(){const _0x4bfaa3=_0x507f40[_0x57a736([0x66,0x65,0x61,0x74,0x75,0x72,0x65,0x73])];return!!_0x4bfaa3&&(!!_0x4bfaa3[_0x57a736([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x57a736([0x2a]))||!!_0x4bfaa3[_0x57a736([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x57a736([0x46,0x4f,0x4f])));}function _0x412153(){const _0x265af1=_0x507f40[_0x57a736([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x64,0x48,0x6f,0x73,0x74,0x73])];if(!_0x265af1||0x0==_0x265af1[_0x57a736([0x6c,0x65,0x6e,0x67,0x74,0x68])])return!0x0;const {hostname:_0xf718e3}=new URL(window[_0x57a736([0x6c,0x6f,0x63,0x61,0x74,0x69,0x6f,0x6e])]['href']);if(_0x265af1[_0x57a736([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0xf718e3))return!0x0;const _0x1c159c=_0xf718e3[_0x57a736([0x73,0x70,0x6c,0x69,0x74])](_0x57a736([0x2e]));return _0x265af1[_0x57a736([0x66,0x69,0x6c,0x74,0x65,0x72])](_0x3d9559=>_0x3d9559[_0x57a736([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x57a736([0x2a])))[_0x57a736([0x6d,0x61,0x70])](_0x18c250=>_0x18c250[_0x57a736([0x73,0x70,0x6c,0x69,0x74])](_0x57a736([0x2e])))[_0x57a736([0x66,0x69,0x6c,0x74,0x65,0x72])](_0x373e19=>_0x373e19[_0x57a736([0x6c,0x65,0x6e,0x67,0x74,0x68])]<=_0x1c159c[_0x57a736([0x6c,0x65,0x6e,0x67,0x74,0x68])])[_0x57a736([0x6d,0x61,0x70])](_0x58530c=>Array(_0x1c159c[_0x57a736([0x6c,0x65,0x6e,0x67,0x74,0x68])]-_0x58530c[_0x57a736([0x6c,0x65,0x6e,0x67,0x74,0x68])])[_0x57a736([0x66,0x69,0x6c,0x6c])](_0x58530c[0x0]===_0x57a736([0x2a])?_0x57a736([0x2a]):'')[_0x57a736([0x63,0x6f,0x6e,0x63,0x61,0x74])](_0x58530c))[_0x57a736([0x73,0x6f,0x6d,0x65])](_0x3fb5f8=>_0x1c159c[_0x57a736([0x65,0x76,0x65,0x72,0x79])]((_0x2d1bd4,_0x2ebc58)=>_0x3fb5f8[_0x2ebc58]===_0x2d1bd4||_0x3fb5f8[_0x2ebc58]===_0x57a736([0x2a])));}function _0xb9f850(){return _0x363e71&&_0x2ee75b?new window[(_0x57a736([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))]((_0x5cd610,_0xaa9401)=>{_0x363e71[_0x57a736([0x74,0x68,0x65,0x6e])](_0x5cd610,_0xaa9401),_0x2ee75b[_0x57a736([0x74,0x68,0x65,0x6e])](_0x12fa9f=>{_0x12fa9f!=_0x57a736([0x56,0x61,0x6c,0x69,0x64])&&_0x5cd610(_0x12fa9f);},_0xaa9401);}):_0x363e71||_0x2ee75b||_0x57a736([0x56,0x61,0x6c,0x69,0x64]);}}function _0x7aa38e(_0x4bbba3,_0x1fe249){return new window[(_0x57a736([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0x53852a=>{if(_0x2d1d04())return _0x53852a(_0x57a736([0x56,0x61,0x6c,0x69,0x64]));_0x34b793(),_0x2164e4[_0x57a736([0x64,0x65,0x63,0x6f,0x72,0x61,0x74,0x65])](_0x57a736([0x5f,0x73,0x65,0x6e,0x64,0x55,0x73,0x61,0x67,0x65,0x52,0x65,0x71,0x75,0x65,0x73,0x74]));let _0x77d262=!0x1;const _0x117fd1=_0x3f2534();function _0x3948c7(_0x1c7d2d){return!!_0x1c7d2d&&(typeof _0x1c7d2d===_0x57a736([0x6f,0x62,0x6a,0x65,0x63,0x74])||typeof _0x1c7d2d===_0x57a736([0x66,0x75,0x6e,0x63,0x74,0x69,0x6f,0x6e]))&&typeof _0x1c7d2d[_0x57a736([0x74,0x68,0x65,0x6e])]===_0x57a736([0x66,0x75,0x6e,0x63,0x74,0x69,0x6f,0x6e])&&typeof _0x1c7d2d[_0x57a736([0x63,0x61,0x74,0x63,0x68])]===_0x57a736([0x66,0x75,0x6e,0x63,0x74,0x69,0x6f,0x6e]);}function _0x2242ba(_0x1f0fde){_0x60738a(_0x1f0fde)[_0x57a736([0x74,0x68,0x65,0x6e])](_0x5e63be=>{if(!_0x5e63be||_0x5e63be[_0x57a736([0x73,0x74,0x61,0x74,0x75,0x73])]!=_0x57a736([0x6f,0x6b]))return _0x57a736([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]);return _0x44dfd5(_0x1baabf(_0x117fd1+_0x1fe249))!=_0x5e63be[_0x57a736([0x76,0x65,0x72,0x69,0x66,0x69,0x63,0x61,0x74,0x69,0x6f,0x6e])]?_0x57a736([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]):_0x57a736([0x56,0x61,0x6c,0x69,0x64]);})[_0x57a736([0x74,0x68,0x65,0x6e])](_0x5ef900=>(_0x5681b8(),_0x5ef900),()=>{const _0x5d3b43=_0x24dd14();return null==_0x5d3b43?(_0x5681b8(),_0x57a736([0x56,0x61,0x6c,0x69,0x64])):_0x57a736(_0x4d9a51-_0x5d3b43>(0x63ae0106^_0x1a777c)?[0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]:[0x56,0x61,0x6c,0x69,0x64]);})[_0x57a736([0x74,0x68,0x65,0x6e])](_0x53852a)[_0x57a736([0x63,0x61,0x74,0x63,0x68])](()=>{_0x53852a(_0x57a736([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]));});const _0x38bb95=0x47946b86^_0x1a777c;function _0x5681b8(){const _0x399ed5=_0x57a736([0x6c,0x6c,0x63,0x74,0x2d])+_0x44dfd5(_0x1baabf(_0x4bbba3)),_0x28db84=_0x4beab4(_0x44dfd5(window[_0x57a736([0x4d,0x61,0x74,0x68])][_0x57a736([0x63,0x65,0x69,0x6c])](_0x4d9a51/_0x38bb95)));window[_0x57a736([0x6c,0x6f,0x63,0x61,0x6c,0x53,0x74,0x6f,0x72,0x61,0x67,0x65])][_0x57a736([0x73,0x65,0x74,0x49,0x74,0x65,0x6d])](_0x399ed5,_0x28db84);}function _0x24dd14(){const _0x4e4e9b=_0x57a736([0x6c,0x6c,0x63,0x74,0x2d])+_0x44dfd5(_0x1baabf(_0x4bbba3)),_0xf1b112=window[_0x57a736([0x6c,0x6f,0x63,0x61,0x6c,0x53,0x74,0x6f,0x72,0x61,0x67,0x65])][_0x57a736([0x67,0x65,0x74,0x49,0x74,0x65,0x6d])](_0x4e4e9b);return _0xf1b112?window[_0x57a736([0x70,0x61,0x72,0x73,0x65,0x49,0x6e,0x74])](_0x4beab4(_0xf1b112),0x10)*_0x38bb95:null;}function _0x60738a(_0x2dcf50){return new window[(_0x57a736([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))]((_0x2e6069,_0x4e1739)=>{_0x2dcf50[_0x57a736([0x74,0x68,0x65,0x6e])](_0x2e6069,_0x4e1739),window[_0x57a736([0x73,0x65,0x74,0x54,0x69,0x6d,0x65,0x6f,0x75,0x74])](_0x4e1739,0x47a351c6^_0x1a777c);});}}_0x2164e4[_0x57a736([0x6f,0x6e])](_0x57a736([0x5f,0x73,0x65,0x6e,0x64,0x55,0x73,0x61,0x67,0x65,0x52,0x65,0x71,0x75,0x65,0x73,0x74]),(_0x22502c,_0x1fb2e2)=>{if(_0x1fb2e2[0x0]!=_0x4bbba3)return _0x53852a(_0x57a736([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]));_0x1fb2e2[0x1]={..._0x1fb2e2[0x1],[_0x57a736([0x72,0x65,0x71,0x75,0x65,0x73,0x74,0x49,0x64])]:_0x117fd1};},{[_0x57a736([0x70,0x72,0x69,0x6f,0x72,0x69,0x74,0x79])]:_0x57a736([0x68,0x69,0x67,0x68])}),_0x2164e4[_0x57a736([0x6f,0x6e])](_0x57a736([0x5f,0x73,0x65,0x6e,0x64,0x55,0x73,0x61,0x67,0x65,0x52,0x65,0x71,0x75,0x65,0x73,0x74]),_0x40b6a8=>{_0x3948c7(_0x40b6a8[_0x57a736([0x72,0x65,0x74,0x75,0x72,0x6e])])&&(_0x77d262=!0x0,_0x2242ba(_0x40b6a8[_0x57a736([0x72,0x65,0x74,0x75,0x72,0x6e])]));},{[_0x57a736([0x70,0x72,0x69,0x6f,0x72,0x69,0x74,0x79])]:_0x57a736([0x6c,0x6f,0x77])}),_0x476584[_0x57a736([0x74,0x68,0x65,0x6e])](()=>{_0x77d262||_0x53852a(_0x57a736([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]));});});function _0x2d1d04(){return _0x2164e4[_0x57a736([0x65,0x64,0x69,0x74,0x69,0x6e,0x67])][_0x57a736([0x76,0x69,0x65,0x77])][_0x57a736([0x5f,0x6f,0x76,0x65,0x72,0x6c,0x61,0x79,0x4d,0x6f,0x64,0x65,0x48,0x69,0x6e,0x74])]==_0x57a736([0x61,0x75,0x74,0x6f]);}function _0x34b793(){_0x2164e4[_0x57a736([0x65,0x64,0x69,0x74,0x69,0x6e,0x67])][_0x57a736([0x76,0x69,0x65,0x77])][_0x57a736([0x5f,0x6f,0x76,0x65,0x72,0x6c,0x61,0x79,0x4d,0x6f,0x64,0x65,0x48,0x69,0x6e,0x74])]=_0x57a736([0x61,0x75,0x74,0x6f]);}}function _0x275ab4(_0x29d0c8){const _0x21e64f=[new window[(_0x57a736([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0x224081=>setTimeout(_0x224081,0x47abbbca^_0x1a777c)),_0x476584[_0x57a736([0x74,0x68,0x65,0x6e])](()=>new window[(_0x57a736([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0x50b2a5=>{let _0x294fe0=0x0;_0x2164e4[_0x57a736([0x6d,0x6f,0x64,0x65,0x6c])][_0x57a736([0x6f,0x6e])](_0x57a736([0x61,0x70,0x70,0x6c,0x79,0x4f,0x70,0x65,0x72,0x61,0x74,0x69,0x6f,0x6e]),(_0x4721d8,_0x54a14d)=>{_0x54a14d[0x0][_0x57a736([0x69,0x73,0x44,0x6f,0x63,0x75,0x6d,0x65,0x6e,0x74,0x4f,0x70,0x65,0x72,0x61,0x74,0x69,0x6f,0x6e])]&&_0x294fe0++,_0x294fe0==(0x47a280ee^_0x1a777c)&&(_0x50b2a5(),_0x4721d8[_0x57a736([0x6f,0x66,0x66])]());});}))];return window[_0x57a736([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65])][_0x57a736([0x72,0x61,0x63,0x65])](_0x21e64f)[_0x57a736([0x74,0x68,0x65,0x6e])](()=>_0x29d0c8);}async function _0x239f78(){await _0x476584,_0x2164e4[_0x57a736([0x6d,0x6f,0x64,0x65,0x6c])][_0x57a736([0x63,0x68,0x61,0x6e,0x67,0x65])]=_0x45fe69,_0x2164e4[_0x57a736([0x6d,0x6f,0x64,0x65,0x6c])][_0x57a736([0x65,0x6e,0x71,0x75,0x65,0x75,0x65,0x43,0x68,0x61,0x6e,0x67,0x65])]=_0x45fe69,_0x2164e4[_0x57a736([0x65,0x6e,0x61,0x62,0x6c,0x65,0x52,0x65,0x61,0x64,0x4f,0x6e,0x6c,0x79,0x4d,0x6f,0x64,0x65])](_0x57a736([0x6d,0x6f,0x64,0x65,0x6c]));}function _0x2d51ee(_0x1f3391){const _0x2e562c=_0x9403d1();_0x2164e4[_0x2e562c]=_0x57a736([0x66,0x6f,0x6f,0x74,0x6e,0x6f,0x74,0x65,0x73,0x4c,0x69,0x63,0x65,0x6e,0x73,0x65,0x4b,0x65,0x79])+_0x1f3391,_0x1f3391!=_0x57a736([0x56,0x61,0x6c,0x69,0x64])&&_0x239f78();}function _0x9403d1(){const _0xf1d6aa=window[_0x57a736([0x53,0x74,0x72,0x69,0x6e,0x67])](window[_0x57a736([0x70,0x65,0x72,0x66,0x6f,0x72,0x6d,0x61,0x6e,0x63,0x65])][_0x57a736([0x6e,0x6f,0x77])]())[_0x57a736([0x72,0x65,0x70,0x6c,0x61,0x63,0x65])](_0x57a736([0x2e]),'');let _0x48169a=_0x57a736([0x75]);for(let _0x2d7bc6=0x0;_0x2d7bc6<_0xf1d6aa[_0x57a736([0x6c,0x65,0x6e,0x67,0x74,0x68])];_0x2d7bc6+=0x2){let _0x1e3e34=window[_0x57a736([0x70,0x61,0x72,0x73,0x65,0x49,0x6e,0x74])](_0xf1d6aa[_0x57a736([0x73,0x75,0x62,0x73,0x74,0x72,0x69,0x6e,0x67])](_0x2d7bc6,_0x2d7bc6+0x2));_0x1e3e34>=_0x5a6949[_0x57a736([0x6c,0x65,0x6e,0x67,0x74,0x68])]&&(_0x1e3e34-=_0x5a6949[_0x57a736([0x6c,0x65,0x6e,0x67,0x74,0x68])]),_0x48169a+=_0x5a6949[_0x1e3e34];}return _0x48169a;}function _0x5d3b56(){const _0x4ccfde=_0x30d25d[_0x57a736([0x73,0x70,0x6c,0x69,0x74])](_0x57a736([0x2e]));if(0x3!=_0x4ccfde[_0x57a736([0x6c,0x65,0x6e,0x67,0x74,0x68])])return null;return _0x5e7723(_0x4ccfde[0x1]);function _0x5e7723(_0x5cd65c){const _0x2928f5=_0x5a5052(_0x5cd65c);return _0x2928f5&&_0x1b58cf()?_0x2928f5:null;function _0x1b58cf(){const _0x40d1fa=_0x2928f5[_0x57a736([0x6a,0x74,0x69])],_0x5b5c15=window[_0x57a736([0x70,0x61,0x72,0x73,0x65,0x49,0x6e,0x74])](_0x40d1fa[_0x57a736([0x73,0x75,0x62,0x73,0x74,0x72,0x69,0x6e,0x67])](_0x40d1fa[_0x57a736([0x6c,0x65,0x6e,0x67,0x74,0x68])]-0x8),0x10),_0x365526={..._0x2928f5,[_0x57a736([0x6a,0x74,0x69])]:_0x40d1fa[_0x57a736([0x73,0x75,0x62,0x73,0x74,0x72,0x69,0x6e,0x67])](0x0,_0x40d1fa[_0x57a736([0x6c,0x65,0x6e,0x67,0x74,0x68])]-0x8)};return delete _0x365526[_0x57a736([0x76,0x63])],_0x1baabf(_0x365526)==_0x5b5c15;}}}async function _0x4758f7(){let _0x162a27=!0x0;try{const _0x25355a=_0x30d25d[_0x57a736([0x73,0x70,0x6c,0x69,0x74])](_0x57a736([0x2e])),[_0xa48f10,_0x151511,_0x55f85c]=_0x25355a;return _0x39b366(_0xa48f10),await _0x549de1(_0xa48f10,_0x151511,_0x55f85c),_0x162a27;}catch{return!0x1;}function _0x39b366(_0x5aa470){const _0x317568=_0x5a5052(_0x5aa470);_0x317568&&_0x317568[_0x57a736([0x61,0x6c,0x67])]==_0x57a736([0x45,0x53,0x32,0x35,0x36])||(_0x162a27=!0x1);}async function _0x549de1(_0x16459d,_0x1d2beb,_0x1680e5){const _0x4e04e9=window[_0x57a736([0x55,0x69,0x6e,0x74,0x38,0x41,0x72,0x72,0x61,0x79])][_0x57a736([0x66,0x72,0x6f,0x6d])](_0x3612ba(_0x1680e5),_0xcb2b59=>_0xcb2b59[_0x57a736([0x63,0x68,0x61,0x72,0x43,0x6f,0x64,0x65,0x41,0x74])](0x0)),_0x528194=new window[(_0x57a736([0x54,0x65,0x78,0x74,0x45,0x6e,0x63,0x6f,0x64,0x65,0x72]))]()[_0x57a736([0x65,0x6e,0x63,0x6f,0x64,0x65])](_0x16459d+_0x57a736([0x2e])+_0x1d2beb),_0x4eb5d3=window[_0x57a736([0x63,0x72,0x79,0x70,0x74,0x6f])][_0x57a736([0x73,0x75,0x62,0x74,0x6c,0x65])];if(!_0x4eb5d3)return;const _0x8e124=await _0x4eb5d3[_0x57a736([0x69,0x6d,0x70,0x6f,0x72,0x74,0x4b,0x65,0x79])](_0x57a736([0x6a,0x77,0x6b]),_0x3c59b6,{[_0x57a736([0x6e,0x61,0x6d,0x65])]:_0x57a736([0x45,0x43,0x44,0x53,0x41]),[_0x57a736([0x6e,0x61,0x6d,0x65,0x64,0x43,0x75,0x72,0x76,0x65])]:_0x57a736([0x50,0x2d,0x32,0x35,0x36])},!0x1,[_0x57a736([0x76,0x65,0x72,0x69,0x66,0x79])]);await _0x4eb5d3[_0x57a736([0x76,0x65,0x72,0x69,0x66,0x79])]({[_0x57a736([0x6e,0x61,0x6d,0x65])]:_0x57a736([0x45,0x43,0x44,0x53,0x41]),[_0x57a736([0x68,0x61,0x73,0x68])]:{[_0x57a736([0x6e,0x61,0x6d,0x65])]:_0x57a736([0x53,0x48,0x41,0x2d,0x32,0x35,0x36])}},_0x8e124,_0x4e04e9,_0x528194)||(_0x162a27=!0x1);}}function _0x5a5052(_0x5f2f72){return _0x5f2f72[_0x57a736([0x73,0x74,0x61,0x72,0x74,0x73,0x57,0x69,0x74,0x68])](_0x57a736([0x65,0x79]))?JSON[_0x57a736([0x70,0x61,0x72,0x73,0x65])](_0x3612ba(_0x5f2f72)):null;}function _0x3612ba(_0x49a137){return window[_0x57a736([0x61,0x74,0x6f,0x62])](_0x49a137[_0x57a736([0x72,0x65,0x70,0x6c,0x61,0x63,0x65])](/-/g,_0x57a736([0x2b]))[_0x57a736([0x72,0x65,0x70,0x6c,0x61,0x63,0x65])](/_/g,_0x57a736([0x2f])));}function _0x1baabf(_0x2465c1){let _0x192305=0x1505;function _0x14058a(_0x4e5c25){for(let _0x327769=0x0;_0x327769<_0x4e5c25[_0x57a736([0x6c,0x65,0x6e,0x67,0x74,0x68])];_0x327769++){const _0x383824=_0x4e5c25[_0x57a736([0x63,0x68,0x61,0x72,0x43,0x6f,0x64,0x65,0x41,0x74])](_0x327769);_0x192305=(_0x192305<<0x5)+_0x192305+_0x383824,_0x192305&=_0x192305;}}function _0x158622(_0x4f1f79){Array[_0x57a736([0x69,0x73,0x41,0x72,0x72,0x61,0x79])](_0x4f1f79)?_0x4f1f79[_0x57a736([0x66,0x6f,0x72,0x45,0x61,0x63,0x68])](_0x158622):_0x4f1f79&&typeof _0x4f1f79==_0x57a736([0x6f,0x62,0x6a,0x65,0x63,0x74])?Object[_0x57a736([0x65,0x6e,0x74,0x72,0x69,0x65,0x73])](_0x4f1f79)[_0x57a736([0x73,0x6f,0x72,0x74])]()[_0x57a736([0x66,0x6f,0x72,0x45,0x61,0x63,0x68])](([_0x3c8575,_0x2978e0])=>{_0x14058a(_0x3c8575),_0x158622(_0x2978e0);}):_0x14058a(window[_0x57a736([0x53,0x74,0x72,0x69,0x6e,0x67])](_0x4f1f79));}return _0x158622(_0x2465c1),_0x192305>>>0x0;}function _0x44dfd5(_0x44d8b5){return _0x44d8b5[_0x57a736([0x74,0x6f,0x53,0x74,0x72,0x69,0x6e,0x67])](0x10)[_0x57a736([0x70,0x61,0x64,0x53,0x74,0x61,0x72,0x74])](0x8,_0x57a736([0x30]));}function _0x4beab4(_0x3ee1a2){return _0x3ee1a2[_0x57a736([0x73,0x70,0x6c,0x69,0x74])]('')[_0x57a736([0x72,0x65,0x76,0x65,0x72,0x73,0x65])]()[_0x57a736([0x6a,0x6f,0x69,0x6e])]('');}function _0x45fe69(){}function _0x57a736(_0x50dc95){return _0x50dc95['map'](_0x41bbe1=>String['fromCharCode'](_0x41bbe1))['join']('');}_0x2d51ee(await _0x518328());}(this);}['_moveSelectionToFootnoteDefinition'](_0xf1de6c){const {plugins:_0x5c2764,editing:_0x18de7f,model:_0x1e1884}=this['editor'],_0x54c087=_0x5c2764['get'](K)['getFootnote'](_0xf1de6c);return!!_0x54c087&&(_0x1e1884['change'](_0x2b204f=>{_0x2b204f['setSelection'](_0x2b204f['createPositionAt'](_0x54c087['definition'],'end'));}),_0x18de7f['view']['scrollToTheSelection'](),!0x0);}['_moveSelectionToFootnoteReference'](_0x1e1227){const {plugins:_0x39d6e3,editing:_0x297ebd,model:_0x5a4cfa}=this['editor'],_0x9d64b3=_0x39d6e3['get'](K)['getFootnote'](_0x1e1227);return!!_0x9d64b3&&(_0x5a4cfa['change'](_0x487a8b=>{_0x487a8b['setSelection'](_0x9d64b3['reference'],'on');}),_0x297ebd['view']['scrollToTheSelection'](),!0x0);}['_defineSchema'](){const {schema:_0x3947b3}=this['editor']['model'],_0xa8f3d8=this['editor']['config']['get']('footnotes.multiBlock');_0x3947b3['register']('footnoteRef',{'inheritAllFrom':'$inlineObject','allowAttributes':['footnoteId','footnoteCounter']}),_0x3947b3['register']('footnotesDefinitions',{'inheritAllFrom':'$blockObject','allowChildren':['footnoteDefinition']}),_0x3947b3['register']('footnoteDefinition',{'allowAttributes':['footnoteId'],'disallowAttributes':['listItemId'],'isLimit':!0x0}),_0xa8f3d8?_0x3947b3['extend']('footnoteDefinition',{'allowContentOf':'$container'}):_0x3947b3['register']('footnoteInlineContent',{'allowIn':'footnoteDefinition','allowContentOf':'$block','isLimit':!0x0}),_0x3947b3['addChildCheck'](_0xa3de14=>{for(const _0x2b5641 of _0xa3de14)if('footnoteDefinition'===_0x2b5641['name'])return!0x1;},'footnoteRef');}['_defineRefsConverters'](){const {editor:_0xe2e658}=this,{conversion:_0x30616b,editing:_0x41a713}=_0xe2e658,{t:t}=_0xe2e658['locale'];_0x30616b['for']('upcast')['elementToElement']({'view':{'name':'sup','classes':'footnote'},'model':(_0x33ee50,{writer:_0x91b907,consumable:_0x4b8db9})=>{const _0x1c7aac=_0x33ee50['getChild'](0x0);if(!_0x1c7aac||!_0x1c7aac['is']('element','a'))return null;const _0x42f707=_0x1c7aac['getAttribute']('href')||'';if(!_0x42f707['startsWith']('#'))return null;const _0x448083=_0x42f707['replace'](/^#/,'');if(!_0x448083)return null;_0x4b8db9['consume'](_0x1c7aac,{'name':!0x0,'attributes':['href']});for(const {item:_0x28daf6}of _0x41a713['view']['createRangeIn'](_0x1c7aac))_0x28daf6['is']('$textProxy')?_0x4b8db9['consume'](_0x28daf6['textNode'],{'name':!0x0}):_0x28daf6['is']('element')&&_0x4b8db9['consume'](_0x28daf6,{'name':!0x0});return _0x91b907['createElement']('footnoteRef',{'footnoteId':_0x448083});}}),_0x30616b['for']('dataDowncast')['elementToElement']({'model':{'name':'footnoteRef','attributes':['footnoteId','footnoteCounter']},'view':(_0x2aac13,{writer:_0x51a625})=>z(_0x2aac13,_0x51a625)}),_0x30616b['for']('editingDowncast')['elementToElement']({'model':{'name':'footnoteRef','attributes':['footnoteId','footnoteCounter']},'view':(_0x5cf1b1,{writer:_0x5bc031})=>{const _0x852fee=_0x5cf1b1['getAttribute']('footnoteCounter');return _0x73cedb(z(_0x5cf1b1,_0x5bc031),_0x5bc031,{'label':t('Footnote\x20%0.\x20Press\x20ENTER\x20to\x20jump\x20to\x20footnote\x20definition.',_0x852fee)});}});}['_defineDefinitionsConverters'](){const {editor:_0x38d126}=this,{t:t}=_0x38d126['locale'],{conversion:_0x3156a2}=_0x38d126;_0x3156a2['for']('upcast')['elementToElement']({'view':{'name':'div','classes':'footnotes'},'model':'footnotesDefinitions'}),_0x3156a2['for']('upcast')['add'](_0x10f82c=>{_0x10f82c['on']('element:ol',(_0x1526fe,_0x285ea7,_0xe69f7b)=>{const _0x3dadbc=_0x285ea7['viewItem'];if(!_0x3dadbc['hasClass']('footnotes-list')||!_0x285ea7['modelCursor']['parent']?.['is']('element','footnotesDefinitions'))return;if(!_0xe69f7b['consumable']['consume'](_0x3dadbc,{'name':!0x0,'classes':'footnotes-list'}))return;const {modelRange:_0x2e4d4c,modelCursor:_0x2061a6}=_0xe69f7b['convertChildren'](_0x285ea7['viewItem'],_0x285ea7['modelCursor']);_0x285ea7['modelRange']=_0x2e4d4c,_0x285ea7['modelCursor']=_0x2061a6;}),_0x10f82c['on']('element:hr',(_0x55cd86,_0x438a87,_0x1d2487)=>{const _0x19c058=_0x438a87['viewItem'];_0x19c058['hasClass']('footnotes-divider')&&_0x438a87['modelCursor']['parent']?.['is']('element','footnotesDefinitions')&&_0x1d2487['consumable']['consume'](_0x19c058,{'name':!0x0,'classes':'footnotes-divider'});});}),_0x3156a2['for']('dataDowncast')['elementToStructure']({'model':'footnotesDefinitions','view':(_0x1e9583,{writer:_0x210191})=>H(_0x210191)}),_0x3156a2['for']('editingDowncast')['elementToStructure']({'model':'footnotesDefinitions','view':(_0xe42e8a,{writer:_0x234e94})=>{const _0x46bce5=H(_0x234e94,{'data-footnotes-list-label':t('Footnotes')}),_0x35d39a=_0x73cedb(_0x46bce5,_0x234e94,{'hasSelectionHandle':!0x0,'label':t('Footnotes')});return _0x234e94['setCustomProperty']('footnotesDefinitions',!0x0,_0x35d39a),_0x35d39a;}});}['_defineDefinitionConverters'](){const {editor:_0x5b55e6}=this,{conversion:_0x29719a,locale:_0x3007f5}=_0x5b55e6,_0xe7dc66=_0x5b55e6['config']['get']('footnotes.multiBlock');_0x29719a['for']('upcast')['add'](_0x2c72ef=>{_0x2c72ef['on']('element:li',(_0x210a8a,_0x1484b8,_0x3fd3f9)=>{const _0x121896=_0x1484b8['viewItem'];if(!_0x121896['hasClass']('footnote-definition')||!_0x121896['getAttribute']('id'))return;const _0x1ba38a=_0x121896['parent'];if(!_0x1ba38a['is']('element','ol')||!_0x1ba38a['hasClass']('footnotes-list'))return;if(!_0x3fd3f9['consumable']['test'](_0x121896,{'name':!0x0,'attributes':'id','classes':'footnote-definition'}))return;const _0x3ddd63=_0x3fd3f9['writer']['createElement']('footnoteDefinition',{'footnoteId':_0x121896['getAttribute']('id')});if(!_0x3fd3f9['safeInsert'](_0x3ddd63,_0x1484b8['modelCursor']))return;_0x3fd3f9['consumable']['consume'](_0x121896,{'name':!0x0,'attributes':'id','classes':'footnote-definition'});const _0x3745a0=Array['from'](_0x121896['getChildren']())['find'](_0x4670c9=>_0x4670c9['is']('element')&&_0x4670c9['hasClass']('footnote-content'));for(const _0x19a788 of _0x121896['getChildren']())_0x19a788['is']('element')&&(_0x3fd3f9['consumable']['consume'](_0x19a788,{'name':!0x0,'classes':'footnote-backlink','attributes':'href'}),_0x3fd3f9['consumable']['consume'](_0x19a788,{'name':!0x0,'classes':'footnote-content'}));if(_0x3745a0){if(_0xe7dc66)_0x3fd3f9['convertChildren'](_0x3745a0,_0x3ddd63);else{const _0x221ba9=_0x3fd3f9['writer']['createElement']('footnoteInlineContent');_0x3fd3f9['writer']['insert'](_0x221ba9,_0x3ddd63),_0x3fd3f9['convertChildren'](_0x3745a0,_0x221ba9);}}_0x3fd3f9['updateConversionResult'](_0x3ddd63,_0x1484b8);});}),_0x29719a['for']('dataDowncast')['elementToStructure']({'model':{'name':'footnoteDefinition','attributes':['footnoteId']},'view':(_0x21aa8a,{writer:_0x3c988c})=>X(_0x21aa8a,_0x3c988c,_0x3007f5,{'dataPipeline':!0x0})}),_0x29719a['for']('editingDowncast')['elementToStructure']({'model':{'name':'footnoteDefinition','attributes':['footnoteId']},'view':(_0x35da53,{writer:_0x483f64})=>X(_0x35da53,_0x483f64,_0x3007f5)});}['_defineBogusParagraphConverters'](){const {editor:_0x4f2a38}=this,{conversion:_0x2a2371}=_0x4f2a38;_0x4f2a38['config']['get']('footnotes.multiBlock')?(_0x2a2371['for']('editingDowncast')['elementToElement']({'model':'paragraph','view':B(),'converterPriority':'high'}),_0x2a2371['for']('dataDowncast')['elementToElement']({'model':'paragraph','view':B({'dataPipeline':!0x0}),'converterPriority':'high'}),this['listenTo'](_0x4f2a38['model']['document'],'change:data',()=>{!function(_0x2f1b33,_0x53f2){const _0x51eb6d=_0x2f1b33['document']['differ'],_0x155d45=new Set();for(const _0x4d37d7 of _0x51eb6d['getChanges']()){const _0x5e6f88='attribute'==_0x4d37d7['type']?_0x4d37d7['range']['start']['parent']:_0x4d37d7['position']['parent'];_0x5e6f88['is']('element','footnoteDefinition')&&_0x155d45['add'](_0x5e6f88);}for(const _0x9281f8 of _0x155d45['values']()){const _0x1d432c=Array['from'](_0x9281f8['getChildren']())['filter'](_0x5acb51=>U(_0x5acb51,_0x53f2['mapper']));for(const _0xc19381 of _0x1d432c)_0x53f2['reconvertItem'](_0xc19381);}}(_0x4f2a38['model'],_0x4f2a38['editing']);})):(_0x2a2371['for']('editingDowncast')['elementToElement']({'model':'footnoteInlineContent','view':B()}),_0x2a2371['for']('dataDowncast')['elementToElement']({'model':'footnoteInlineContent','view':(_0x1896c4,{writer:_0x4de509})=>{const _0x1679d7=_0x4de509['createContainerElement']('span');return _0x4de509['setCustomProperty']('dataPipeline:transparentRendering',!0x0,_0x1679d7),_0x1679d7;}}));}['_defineKeyboardHandlers'](){const {editor:_0x30b279}=this,{editing:_0x160785,t:t}=_0x30b279,_0x2182cd=_0x30b279['model']['document']['selection'];_0x30b279['keystrokes']['set']('Ctrl+Alt+F','insertFootnote'),_0x30b279['accessibility']['addKeystrokeInfos']({'keystrokes':[{'label':t('Insert\x20footnote'),'keystroke':'Ctrl+Alt+F'}]}),this['listenTo'](_0x160785['view']['document'],'enter',(_0x147b6b,_0x309a62)=>{const _0x2c531d=function(_0x1b8235){const _0x3cf5f8=_0x1b8235['getSelectedElement']();if(_0x3cf5f8?.['is']('element','footnoteRef'))return _0x3cf5f8;return null;}(_0x2182cd);if(_0x2c531d){const _0x11bbbe=_0x2c531d['getAttribute']('footnoteId');this['_moveSelectionToFootnoteDefinition'](_0x11bbbe),_0x309a62['preventDefault'](),_0x147b6b['stop']();}},{'context':_0x59c56f});}['_defineClickHandlers'](){const {editor:_0x56ce6a}=this,{editing:_0x3922cc}=_0x56ce6a;_0x56ce6a['editing']['view']['addObserver'](_0x1e5f68),_0x56ce6a['editing']['view']['addObserver'](_0x53c719);let _0x4637d9=!0x1;this['listenTo'](_0x3922cc['view']['document'],'pointerdown',(_0x4a4eec,_0x4a4d35)=>{const {target:_0x5117da}=_0x4a4d35,_0x178882=_0x3922cc['view']['document']['selection'];_0x4637d9=!!(_0x5117da?.['is']('element','a')&&_0x5117da['parent']?.['is']('element','sup')&&_0x5117da['parent']['hasClass']('footnote'))&&_0x178882['getSelectedElement']()===_0x5117da['parent'];},{'priority':'high'}),this['listenTo'](_0x3922cc['view']['document'],'click',(_0x894098,_0x5f0983)=>{const {target:_0x389b70}=_0x5f0983;if(!_0x389b70?.['is']('element','a'))return;if(_0x389b70['parent']?.['is']('element','sup')&&_0x389b70['parent']['hasClass']('footnote')&&!_0x4637d9)return void _0x5f0983['preventDefault']();let _0x3f6379=_0x389b70['getAttribute']('href');if(!_0x3f6379?.['startsWith']('#'))return;_0x3f6379=_0x3f6379['slice'](0x1);let _0x476b14=!0x1;(_0x3f6379['startsWith']('ref-')&&this['_moveSelectionToFootnoteReference'](_0x3f6379['slice'](0x4))||this['_moveSelectionToFootnoteDefinition'](_0x3f6379))&&(_0x476b14=!0x0),_0x476b14&&(_0x5f0983['preventDefault'](),_0x894098['stop']());},{'priority':'high','context':'$capture'});}}function B({dataPipeline:_0x46d341}={}){return(_0x3aa7b2,{writer:_0x4a75ef})=>{if(!M(_0x3aa7b2))return null;if(!_0x46d341)return _0x4a75ef['createContainerElement']('span',{'class':'ck-footnote-bogus-paragraph'});const _0xb7a67e=_0x4a75ef['createContainerElement']('p');return _0x4a75ef['setCustomProperty']('dataPipeline:transparentRendering',!0x0,_0xb7a67e),_0xb7a67e;};}function M(_0x5e9061){const {parent:_0x4c6b93}=_0x5e9061;if(!_0x4c6b93?.['is']('element','footnoteDefinition'))return!0x1;if(0x1!=_0x4c6b93['childCount'])return!0x1;for(const _0x3900e2 of _0x5e9061['getAttributeKeys']())if(!_0x3900e2['startsWith']('selection:')&&'htmlEmptyBlock'!=_0x3900e2)return!0x1;return!0x0;}function U(_0x4ce106,_0x1b0c88){if(!_0x4ce106['is']('element','paragraph'))return!0x1;const _0x3f15dc=_0x1b0c88['toViewElement'](_0x4ce106);return!!_0x3f15dc&&M(_0x4ce106)!==_0x3f15dc['is']('element','span');}function q(_0xae2361){return _0x59c56f(_0xae2361)&&_0xae2361['is']('containerElement')&&!!_0xae2361['getCustomProperty']('footnotesDefinitions');}function H(_0x5d1c5e,_0x2142c7={}){const _0x402457=_0x5d1c5e['createEmptyElement']('hr',{'class':'footnotes-divider'}),_0x433394=_0x5d1c5e['createContainerElement']('ol',{'class':'footnotes-list'},_0x5d1c5e['createSlot']());return _0x5d1c5e['createContainerElement']('div',{'class':'footnotes',..._0x2142c7},[_0x402457,_0x433394]);}function z(_0x30873e,_0x5d3c4b){const _0x27eb85=_0x30873e['getAttribute']('footnoteId'),_0x45924d=_0x30873e['getAttribute']('footnoteCounter'),_0x1fc797=_0x5d3c4b['createUIElement']('a',{'href':'#'+_0x27eb85},function(_0x5240c7){const _0x44ecdb=this['toDomElement'](_0x5240c7);return _0x44ecdb['textContent']=_0x45924d,_0x44ecdb;}),_0x47d18b=_0x5d3c4b['createContainerElement']('sup',{'id':'ref-'+_0x27eb85,'class':'footnote'},[_0x1fc797]);return _0x47d18b['getFillerOffset']=()=>null,_0x47d18b;}function X(_0x663834,_0x57b85e,_0x387075,{dataPipeline:_0xd03691}={}){const {t:t}=_0x387075,_0x249daa=_0x663834['getAttribute']('footnoteId'),_0x5599a8=_0x57b85e['createUIElement']('a',{'class':'footnote-backlink','href':'#ref-'+_0x249daa},function(_0x3edfc7){const _0x28c482=this['toDomElement'](_0x3edfc7);return _0x28c482['innerText']='^',_0x28c482;}),_0x54e32d=_0xd03691?_0x57b85e['createContainerElement']('div',{'class':'footnote-content'}):_0x4c508e(_0x57b85e['createEditableElement']('div',{'class':'footnote-content'}),_0x57b85e,{'label':t('Footnote\x20content.')});return _0x57b85e['insert'](_0x57b85e['createPositionAt'](_0x54e32d,0x0),_0x57b85e['createSlot']()),_0x57b85e['createContainerElement']('li',{'class':'footnote-definition','id':_0x249daa},[_0x5599a8,_0x54e32d]);}class J extends _0x5d302d{static get['pluginName'](){return'FootnotesClipboard';}static get['requires'](){return[$,_0x28dca5];}static get['isOfficialPlugin'](){return!0x0;}static get['isPremiumPlugin'](){return!0x0;}['init'](){this['_defineClipboardIntegration']();}['_defineClipboardIntegration'](){this['_handleCopyFootnotesDefinitions'](),this['_handlePasteFootnotesDefinitions']();}['_handleCopyFootnotesDefinitions'](){const {editor:_0x25a345}=this,{plugins:_0x47a1c0,model:_0x15c905}=_0x25a345,_0x2864ec=_0x47a1c0['get'](_0x28dca5),_0x121fc4=_0x47a1c0['get'](K);this['listenTo'](_0x2864ec,'outputTransformation',(_0x5df5a0,_0x2518d6)=>{const _0x1d96a8=Q(_0x15c905['createRangeIn'](_0x2518d6['content']));if(!_0x1d96a8['length'])return;const _0x263180=_0x121fc4['getFootnotes'](),_0x234a05=_0x1d96a8['reduce']((_0x380196,_0x4b8931)=>{const _0x3612db=_0x263180['find'](_0x1081fa=>_0x1081fa['id']===_0x4b8931);if(_0x3612db){const _0x5db1a4=_0x25a345['data']['toView'](_0x3612db['definition'],{'isClipboardPipeline':!0x0}),_0x269b7b=_0x25a345['data']['htmlProcessor']['toData'](_0x5db1a4);_0x380196[_0x3612db['id']]=_0x269b7b;}return _0x380196;},Object['create'](null));_0x2518d6['dataTransfer']['setData']('application/ckeditor5-footnotes',JSON['stringify'](_0x234a05));});}['_handlePasteFootnotesDefinitions'](){const {editor:_0x568198}=this,{model:_0x57cdb6,plugins:_0x2593f7}=_0x568198,{view:_0x2213b7}=_0x568198['editing'],_0x1b399f=_0x2593f7['get'](_0x28dca5),_0x37848f=_0x2593f7['get'](K),_0x436a92=_0x568198['config']['get']('footnotes.multiBlock');let _0x16653a=null;this['listenTo'](_0x2213b7['document'],'clipboardInput',(_0x563f7b,_0x405385)=>{const _0xea24c6=_0x405385['dataTransfer']['getData']('application/ckeditor5-footnotes');_0x16653a=_0xea24c6?JSON['parse'](_0xea24c6):null;}),this['listenTo'](_0x1b399f,'contentInsertion',(_0x534be8,_0x4b4224)=>{const _0x5ed99d=_0x4b4224['sourceEditorId']===this['editor']['id'];_0x5ed99d&&'drop'===_0x4b4224['method']||_0x57cdb6['change'](_0x108193=>{let _0x4deea1=_0x37848f['getFootnotesDefinitionsObjectElement']();const _0x4173d6=!!_0x4deea1&&Array['from'](_0x57cdb6['document']['selection']['getSelectedBlocks']())['includes'](_0x4deea1);if(!_0x16653a&&function(_0x32a715){for(const {item:_0x35c667}of _0x32a715)if(_0x35c667['is']('element','footnoteRef'))return!0x0;return!0x1;}(_0x57cdb6['createRangeIn'](_0x4b4224['content']))&&(_0x16653a=function(_0x23f411,_0x5e00c3){const _0x52e952=G(_0x23f411,_0x5e00c3);if(!_0x52e952)return null;const _0x34dde1=Object['create'](null);for(const _0x1238bc of _0x52e952['getChildren']())_0x1238bc['is']('element','footnoteDefinition')&&_0x1238bc['hasAttribute']('footnoteId')&&(_0x34dde1[_0x1238bc['getAttribute']('footnoteId')]=_0x23f411['cloneElement'](_0x1238bc,!0x0));return Object['keys'](_0x34dde1)['length']?_0x34dde1:null;}(_0x108193,_0x4b4224['content'])),(_0x4deea1&&!_0x4173d6||!_0x4deea1&&!_0x16653a)&&function(_0xd40753,_0x1f366d){const _0xea6a45=[];for(const {item:_0x5090e6}of _0xd40753['createRangeIn'](_0x1f366d))_0x5090e6['is']('element','footnotesDefinitions')&&_0xea6a45['push'](_0x5090e6);for(const _0x41477e of _0xea6a45)_0xd40753['remove'](_0x41477e);}(_0x108193,_0x4b4224['content']),!_0x16653a)return;const {selection:_0x1789c5}=_0x57cdb6['document'],_0x5a28c0=_0x1789c5['getFirstRange']()['root'];_0x4deea1&&!_0x4173d6||(_0x4deea1=G(_0x108193,_0x4b4224['content']),_0x4deea1||=_0x37848f['_insertEmptyFootnotesDefinitionsContainer'](_0x108193,_0x5a28c0));const _0x46da1a=Array['from'](_0x1789c5['getRanges']())['flatMap'](Q),_0x145ba8=function(_0x202c3d,_0x4ce20a,_0x1de206){const _0x4f5df3=Object['create'](null);for(const {item:_0x47f28d}of _0x202c3d['createRangeIn'](_0x4ce20a))if(_0x47f28d['is']('element','footnoteRef')){const _0x4dd899=_0x47f28d['getAttribute']('footnoteId');if(!_0x1de206(_0x4dd899))continue;_0x4f5df3[_0x4dd899]||(_0x4f5df3[_0x4dd899]=_0x3f2534()),_0x202c3d['setAttribute']('footnoteId',_0x4f5df3[_0x4dd899],_0x47f28d);}return _0x4f5df3;}(_0x108193,_0x4b4224['content'],_0x263ca1=>{if(!_0x5ed99d)return!0x0;return!!_0x37848f['getFootnote'](_0x263ca1)&&!_0x46da1a['includes'](_0x263ca1);});for(const [_0x239940,_0xc758b3]of Object['entries'](_0x16653a)){const _0x11d502=_0x145ba8[_0x239940]||_0x239940;let _0x55c51f;if('string'!=typeof _0xc758b3)_0x55c51f=_0xc758b3,_0x11d502!==_0x239940&&_0x108193['setAttribute']('footnoteId',_0x11d502,_0x55c51f);else{_0x55c51f=_0x108193['createElement']('footnoteDefinition',{'footnoteId':_0x11d502});const _0x45ed7a=_0x568198['data']['htmlProcessor']['toView'](_0xc758b3);let _0x2b923c;if(_0x436a92)_0x2b923c=_0x568198['data']['toModel'](_0x45ed7a,_0x55c51f);else{_0x2b923c=_0x108193['createElement']('footnoteInlineContent');const _0x3219f4=_0x568198['data']['toModel'](_0x45ed7a,_0x2b923c);_0x108193['insert'](_0x3219f4,_0x2b923c);}_0x108193['append'](_0x2b923c,_0x55c51f);}_0x108193['insert'](_0x55c51f,_0x4deea1,'end');}_0x16653a=null;});});}}function G(_0x26b070,_0x2ce82c){for(const {item:_0x37c3c}of _0x26b070['createRangeIn'](_0x2ce82c))if(_0x37c3c['is']('element','footnotesDefinitions'))return _0x37c3c;return null;}function Q(_0xf53aef){const _0xba8e5=new Set();for(const {item:_0x59bdc2}of _0xf53aef)_0x59bdc2['is']('element','footnoteRef')&&_0xba8e5['add'](_0x59bdc2['getAttribute']('footnoteId'));return Array['from'](_0xba8e5);}class W extends _0x5d302d{['licenseKey'];['_licenseKeyCheckInterval'];static get['pluginName'](){return'FootnotesUI';}static get['isOfficialPlugin'](){return!0x0;}static get['isPremiumPlugin'](){return!0x0;}['init'](){const {editor:_0x33cef4}=this,{componentFactory:_0x5c3fc2}=_0x33cef4['ui'];_0x5c3fc2['add']('insertFootnote',Y(_0x33cef4,_0x188ee4)),_0x5c3fc2['add']('menuBar:insertFootnote',Y(_0x33cef4,_0x5eed3e)),this['licenseKey']=this['editor']['config']['get']('licenseKey');const _0x4bcf3d=this['editor'];this['_licenseKeyCheckInterval']=setInterval(()=>{let _0x5b54f1;for(const _0xd780f3 in _0x4bcf3d){const _0x441b6e=_0xd780f3,_0x3fc033=_0x4bcf3d[_0x441b6e];if('footnotesLicenseKeyValid'==_0x3fc033||'footnotesLicenseKeyInvalid'==_0x3fc033||'footnotesLicenseKeyExpired'==_0x3fc033||'footnotesLicenseKeyDomainLimit'==_0x3fc033||'footnotesLicenseKeyNotAllowed'==_0x3fc033||'footnotesLicenseKeyEvaluationLimit'==_0x3fc033||'footnotesLicenseKeyUsageLimit'==_0x3fc033){delete _0x4bcf3d[_0x441b6e],_0x5b54f1=_0x3fc033,clearInterval(this['_licenseKeyCheckInterval']),this['_licenseKeyCheckInterval']=void 0x0;break;}}'footnotesLicenseKeyInvalid'==_0x5b54f1&&_0x4bcf3d['_showLicenseError']('invalid'),'footnotesLicenseKeyExpired'==_0x5b54f1&&_0x4bcf3d['_showLicenseError']('expired'),'footnotesLicenseKeyDomainLimit'==_0x5b54f1&&_0x4bcf3d['_showLicenseError']('domainLimit'),'footnotesLicenseKeyNotAllowed'==_0x5b54f1&&_0x4bcf3d['_showLicenseError']('featureNotAllowed','Footnotes'),'footnotesLicenseKeyEvaluationLimit'==_0x5b54f1&&_0x4bcf3d['_showLicenseError']('evaluationLimit'),'footnotesLicenseKeyUsageLimit'==_0x5b54f1&&_0x4bcf3d['_showLicenseError']('usageLimit');},0x3e8);}['destroy'](){super['destroy'](),this['_licenseKeyCheckInterval']&&clearInterval(this['_licenseKeyCheckInterval']);}}function Y(_0x246821,_0x3f73ea){const _0x426367=_0x246821['commands']['get']('insertFootnote');return _0x4c759d=>{const {t:t}=_0x4c759d,_0x319c9c=new _0x3f73ea(_0x4c759d),_0x38ea28=_0x319c9c instanceof _0x5eed3e;return _0x319c9c['bind']('isEnabled')['to'](_0x426367,'isEnabled'),_0x319c9c['set']({'label':t(_0x38ea28?'Footnote':'Insert\x20footnote'),'icon':_0x5a05cd,'tooltip':!0x0}),_0x319c9c['on']('execute',()=>{_0x426367['execute'](),_0x246821['editing']['view']['focus']();}),_0x319c9c;};}class Z extends _0x5d302d{static get['pluginName'](){return'Footnotes';}static get['requires'](){return[$,J,W];}static get['isOfficialPlugin'](){return!0x0;}static get['isPremiumPlugin'](){return!0x0;}}const tt=['decimal','decimal-leading-zero','lower-latin','upper-latin','lower-roman','upper-roman'],et=Object['create']({'lower-alpha':'lower-latin','upper-alpha':'upper-latin'}),ot=[...tt,'arabic-indic','lower-alpha','upper-alpha'];class nt extends _0x492809{['refresh'](){const {editor:_0x35658d}=this,_0x2a4871=_0x35658d['plugins']['get'](K)['getFootnotesDefinitionsObjectElement']();this['isEnabled']=!!_0x2a4871,this['value']=_0x2a4871?.['getAttribute']('footnotesListStyle')??null;}['execute']({value:_0x1b0605}){const {editor:_0x46afed}=this,_0x158f33=_0x46afed['plugins']['get'](K),_0x3e13c6=_0x158f33['getFootnotesDefinitionsObjectElement']();_0x3e13c6&&ot['includes'](_0x1b0605)&&_0x46afed['model']['change'](_0x521adc=>{_0x521adc['setAttribute']('footnotesListStyle',_0x1b0605,_0x3e13c6),_0x158f33['_updateFootnotesCounters'](_0x521adc);});}}class it extends _0x492809{['refresh'](){const {editor:_0x346068}=this,_0x5a9732=_0x346068['plugins']['get'](K)['getFootnotesDefinitionsObjectElement']();this['isEnabled']=!!_0x5a9732,this['value']=_0x5a9732?.['getAttribute']('footnotesListStart')??null;}['execute']({value:_0x533dee}){const {editor:_0x156d8e}=this,_0x200d9e=_0x156d8e['plugins']['get'](K),_0x3aaf66=_0x200d9e['getFootnotesDefinitionsObjectElement']();_0x3aaf66&&Number['isInteger'](_0x533dee)&&_0x156d8e['model']['change'](_0x33b145=>{_0x33b145['setAttribute']('footnotesListStart',_0x533dee,_0x3aaf66),_0x200d9e['_updateFootnotesCounters'](_0x33b145);});}}function st(_0xb8571e,_0x3ec26b){let _0x31a95c='',_0x16fa6f=_0xb8571e;for(;_0x16fa6f>0x0;){const _0xd1d6d1=(_0x16fa6f-0x1)%0x1a;_0x31a95c=String['fromCharCode'](0x61+_0xd1d6d1)+_0x31a95c,_0x16fa6f=Math['floor']((_0x16fa6f-0x1)/0x1a);}return _0x3ec26b?_0x31a95c['toUpperCase']():_0x31a95c;}const rt=[{'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 lt(_0x5419bf,_0x2909d7){let _0x4f1361='',_0x585f92=_0x5419bf;for(const {value:_0x36f51b,numeral:_0x672ae7}of rt)for(;_0x585f92>=_0x36f51b;)_0x4f1361+=_0x672ae7,_0x585f92-=_0x36f51b;return _0x2909d7?_0x4f1361:_0x4f1361['toLowerCase']();}const ft=['٠','١','٢','٣','٤','٥','٦','٧','٨','٩'];class at extends _0x5d302d{static get['pluginName'](){return'FootnotesPropertiesEditing';}static get['requires'](){return[$,K];}static get['isOfficialPlugin'](){return!0x0;}static get['isPremiumPlugin'](){return!0x0;}['init'](){const {editor:_0x56efc0}=this;_0x56efc0['config']['define']('footnotes.footnotesProperties.defaultListStyle','decimal'),_0x56efc0['config']['define']('footnotes.footnotesProperties.defaultStartIndex',0x1),_0x56efc0['config']['define']('footnotes.footnotesProperties.listStyles',[...tt]),_0x56efc0['commands']['add']('footnotesStyle',new nt(_0x56efc0)),_0x56efc0['commands']['add']('footnotesStart',new it(_0x56efc0)),this['_defineSchema'](),this['_defineConverters'](),this['_defineFormatter'](),this['_definePostfixer']();}['_defineSchema'](){const {editor:_0x3a4698}=this,{schema:_0x6c73ad}=_0x3a4698['model'];_0x6c73ad['extend']('footnotesDefinitions',{'allowAttributes':['footnotesListStyle','footnotesListStart']});}['_defineConverters'](){const {editor:_0x58acdb}=this,{conversion:_0x25d53f,model:_0x191786}=_0x58acdb,{schema:_0x47d0aa}=_0x191786;_0x25d53f['for']('upcast')['add'](_0x5db0a1=>{_0x5db0a1['on']('element:ol',(_0x25d0b7,_0x362e91,_0x443049)=>{const _0xcd62ea=_0x362e91['viewItem'],_0x42db65=_0x362e91['modelCursor']?.['parent'];_0xcd62ea['hasClass']('footnotes-list')&&_0x42db65?.['is']('element','footnotesDefinitions')&&(function(_0x47b32b,_0x4dff84,_0x42b625,_0x591ba3){if(!_0x591ba3['checkAttribute'](_0x4dff84,'footnotesListStart'))return;let _0x5c67c6=0x1;const _0x5caeef=_0x42b625['consumable']['consume'](_0x47b32b,{'attributes':'start'});if(_0x5caeef){const _0x2e747f=Number['parseInt'](_0x47b32b['getAttribute']('start'),0xa);Number['isNaN'](_0x2e747f)||(_0x5c67c6=_0x2e747f);}!_0x5caeef&&_0x4dff84['hasAttribute']('footnotesListStart')||_0x42b625['writer']['setAttribute']('footnotesListStart',_0x5c67c6,_0x4dff84);}(_0xcd62ea,_0x42db65,_0x443049,_0x47d0aa),function(_0x4b9e48,_0x2025f9,_0x1b6eb0,_0x138e41){if(!_0x138e41['checkAttribute'](_0x2025f9,'footnotesListStyle'))return;let _0x33addd='decimal',_0x154d03=!0x1;if(_0x1b6eb0['consumable']['consume'](_0x4b9e48,{'attributes':'type'})){const _0x2b93a1={0x1:'decimal','a':'lower-latin','A':'upper-latin','i':'lower-roman','I':'upper-roman'}[_0x4b9e48['getAttribute']('type')];_0x2b93a1&&(_0x33addd=_0x2b93a1),_0x154d03=!0x0;}if(_0x1b6eb0['consumable']['consume'](_0x4b9e48,{'styles':'list-style-type'})){const _0x346c36=ct(_0x4b9e48['getStyle']('list-style-type'));_0x346c36&&(_0x33addd=_0x346c36),_0x154d03=!0x0;}!_0x154d03&&_0x2025f9['hasAttribute']('footnotesListStyle')||_0x1b6eb0['writer']['setAttribute']('footnotesListStyle',_0x33addd,_0x2025f9);}(_0xcd62ea,_0x42db65,_0x443049,_0x47d0aa));});}),_0x25d53f['for']('downcast')['add'](_0x281f8a=>{_0x281f8a['on']('attribute:footnotesListStart:footnotesDefinitions',(_0x2f7ab7,_0x19ec6c,_0x460a83)=>{if(!_0x460a83['consumable']['consume'](_0x19ec6c['item'],_0x2f7ab7['name']))return;const _0x41746f=ut(_0x19ec6c['item'],_0x460a83['mapper']),{attributeNewValue:_0x582409}=_0x19ec6c;null==_0x582409||0x1===_0x582409?_0x460a83['writer']['removeAttribute']('start',_0x41746f):_0x460a83['writer']['setAttribute']('start',String(_0x582409),_0x41746f);}),_0x281f8a['on']('attribute:footnotesListStyle:footnotesDefinitions',(_0x1f8104,_0x53f9e6,_0x40ea33)=>{if(!_0x40ea33['consumable']['consume'](_0x53f9e6['item'],_0x1f8104['name']))return;const _0x22223f=ut(_0x53f9e6['item'],_0x40ea33['mapper']),{attributeNewValue:_0x8755a4}=_0x53f9e6;_0x8755a4&&'decimal'!==_0x8755a4?_0x40ea33['writer']['setStyle']('list-style-type',_0x8755a4,_0x22223f):_0x40ea33['writer']['removeStyle']('list-style-type',_0x22223f);});});}['_definePostfixer'](){const {editor:_0x110fbf}=this,{model:_0x445a52}=_0x110fbf,_0x2c87a6=_0x110fbf['plugins']['get'](K),_0x4c0244=this['_getDefaultListStyle'](),_0x335e78=this['_getDefaultStartIndex']();_0x445a52['document']['registerPostFixer'](_0x1ab093=>{const _0x5afacb=_0x445a52['document']['differ']['getChanges']();let _0x14f1f2=!0x1;for(const _0x29cb85 of _0x5afacb){if('insert'!==_0x29cb85['type']||'$text'===_0x29cb85['name'])continue;const _0x4c403d=_0x445a52['createRangeOn'](_0x29cb85['position']['nodeAfter']);for(const _0x40a389 of _0x4c403d['getItems']())_0x40a389['is']('element','footnotesDefinitions')&&(!_0x40a389['hasAttribute']('footnotesListStart')&&_0x445a52['schema']['checkAttribute'](_0x40a389,'footnotesListStart')&&(_0x1ab093['setAttribute']('footnotesListStart',_0x335e78,_0x40a389),_0x14f1f2=!0x0),!_0x40a389['hasAttribute']('footnotesListStyle')&&_0x445a52['schema']['checkAttribute'](_0x40a389,'footnotesListStyle')&&(_0x1ab093['setAttribute']('footnotesListStyle',_0x4c0244,_0x40a389),_0x14f1f2=!0x0));}return _0x14f1f2&&_0x2c87a6['_updateFootnotesCounters'](_0x1ab093),_0x14f1f2;});}['_defineFormatter'](){const {editor:_0x1a506e}=this;_0x1a506e['plugins']['get'](K)['setFootnoteFormatter'](_0x51143b=>this['_formatFootnoteListValue'](_0x51143b));}['_getDefaultListStyle'](){return this['editor']['config']['get']('footnotes.footnotesProperties.defaultListStyle');}['_getDefaultStartIndex'](){return this['editor']['config']['get']('footnotes.footnotesProperties.defaultStartIndex');}['_formatFootnoteListValue']({container:_0x7507a3,value:_0x132727,digits:_0x1e5b38}){const _0x3c6d5f=_0x7507a3['getAttribute']('footnotesListStyle'),_0x29ee1a=_0x7507a3['getAttribute']('footnotesListStart'),_0x3d438e=Math['floor'](_0x132727)+(_0x29ee1a??0x1)-0x1;switch(_0x3c6d5f){case'decimal-leading-zero':return function(_0x856bcc,_0x5cca8e){return String(_0x856bcc)['padStart'](_0x5cca8e,'0');}(_0x3d438e,Math['max'](0x2,_0x1e5b38));case'lower-alpha':case'lower-latin':return st(_0x3d438e,!0x1);case'upper-alpha':case'upper-latin':return st(_0x3d438e,!0x0);case'lower-roman':return lt(_0x3d438e,!0x1);case'upper-roman':return lt(_0x3d438e,!0x0);case'arabic-indic':return String(_0x3d438e)['replace'](/\d/g,_0x1cec1c=>ft[Number(_0x1cec1c)]);default:return String(_0x3d438e);}}}function ct(_0x14f1cb){if('string'==typeof _0x14f1cb){const _0x5614fd=et[_0x14f1cb];if(_0x5614fd)return _0x5614fd;if(ot['includes'](_0x14f1cb))return _0x14f1cb;}return null;}function ut(_0x526e2f,_0x296813){const _0x49b0c=_0x296813['toViewElement'](_0x526e2f);return Array['from'](_0x49b0c['getChildren']())['find'](_0x693a38=>_0x693a38['is']('element','ol')&&_0x693a38['hasClass']('footnotes-list'));}class dt extends _0x27d01e{['children'];['stylesView']=null;['additionalProperties']=null;['startIndexFieldView']=null;['focusTracker']=new _0xddd09d();['keystrokes']=new _0x46d526();['focusables']=new _0x1aa533();['focusCycler'];constructor(_0x1b3c72,{styleButtonViews:_0x24f475,styleGridAriaLabel:_0x57ba7d}){super(_0x1b3c72),(this['focusCycler']=new _0x22e203({'focusables':this['focusables'],'focusTracker':this['focusTracker'],'keystrokeHandler':this['keystrokes'],'actions':{'focusPrevious':'shift\x20+\x20tab','focusNext':'tab'}}),this['children']=this['createCollection'](),this['stylesView']=this['_appendStylesView'](_0x24f475,_0x57ba7d),[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 _0x3aa4b7 of this['stylesView']['children'])this['stylesView']['focusTracker']['add'](_0x3aa4b7['element']);_0x44bfe4({'keystrokeHandler':this['stylesView']['keystrokes'],'focusTracker':this['stylesView']['focusTracker'],'gridItems':this['stylesView']['children'],'numberOfColumns':()=>_0x1a31c6['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 _0x49d4a5=_0x5cec71=>_0x5cec71['stopPropagation']();this['keystrokes']['set']('arrowright',_0x49d4a5),this['keystrokes']['set']('arrowleft',_0x49d4a5),this['keystrokes']['set']('arrowup',_0x49d4a5),this['keystrokes']['set']('arrowdown',_0x49d4a5);}this['keystrokes']['listenTo'](this['element']);}['focus'](){this['focusCycler']['focusFirst']();}['focusLast'](){this['focusCycler']['focusLast']();}['destroy'](){super['destroy'](),this['focusTracker']['destroy'](),this['keystrokes']['destroy']();}['_appendStylesView'](_0x41854d,_0x4af98e){const _0x427b77=new _0x27d01e(this['locale']);return _0x427b77['children']=_0x427b77['createCollection'](),_0x427b77['children']['addMany'](_0x41854d),_0x427b77['setTemplate']({'tag':'div','attributes':{'aria-label':_0x4af98e,'class':['ck','ck-footnotes-definitions-styles-list']},'children':_0x427b77['children']}),_0x427b77['children']['delegate']('execute')['to'](this),_0x427b77['focus']=function(){for(const _0x3c8463 of this['children'])if(_0x3c8463 instanceof _0x188ee4&&_0x3c8463['isOn'])return void _0x3c8463['focus']();this['children']['first']['focus']();},_0x427b77['focusTracker']=new _0xddd09d(),_0x427b77['keystrokes']=new _0x46d526(),_0x427b77['render'](),_0x427b77['keystrokes']['listenTo'](_0x427b77['element']),this['children']['add'](_0x427b77),_0x427b77;}['_appendAdditionalPropertiesCollapsibleView'](){const {t:t}=this['locale'],_0xe91fc9=this['_createStartIndexPropertyView'](),_0x54d8af=[_0xe91fc9],_0x10fe57=new _0x19b448(this['locale'],_0x54d8af);return _0x10fe57['set']({'label':t('Footnotes\x20properties'),'isCollapsed':!0x0}),_0x10fe57['buttonView']['bind']('isEnabled')['toMany'](_0x54d8af,'isEnabled',(..._0x590e14)=>_0x590e14['some'](_0x287e5b=>_0x287e5b)),_0x10fe57['buttonView']['on']('change:isEnabled',(_0x242063,_0x246bff,_0xadce2c)=>{_0xadce2c||(_0x10fe57['isCollapsed']=!0x0);}),this['children']['add'](_0x10fe57),[_0xe91fc9,_0x10fe57];}['_createStartIndexPropertyView'](){const {t:t}=this['locale'],_0x29f27b=new _0x1a35b5(this['locale'],_0x24de7f);return _0x29f27b['set']({'label':t('Footnotes\x20start\x20at'),'class':'ck-footnotes-definitions-properties__start-index'}),_0x29f27b['fieldView']['set']({'min':0x0,'max':Math['pow'](0x2,0x1e),'step':0x1,'value':0x1,'inputMode':'numeric'}),_0x29f27b['fieldView']['on']('input',()=>{const _0x37c73b=_0x29f27b['fieldView']['element'],_0x3154cf=_0x37c73b['valueAsNumber'];Number['isNaN'](_0x3154cf)?_0x29f27b['errorText']=t('Invalid\x20footnotes\x20start\x20index\x20value.'):_0x37c73b['checkValidity']()?this['fire']('footnotesListStart',{'startIndex':_0x3154cf}):_0x29f27b['errorText']=t(_0x3154cf<0x0?'Footnotes\x20start\x20index\x20must\x20be\x20greater\x20than\x200.':'Footnotes\x20start\x20index\x20is\x20too\x20large.');}),_0x29f27b;}}class ht extends _0x5d302d{static get['pluginName'](){return'FootnotesPropertiesUI';}static get['requires'](){return[_0x5bfc86,_0x497b9c];}static get['isOfficialPlugin'](){return!0x0;}static get['isPremiumPlugin'](){return!0x0;}['init'](){const {editor:_0x571437}=this,{componentFactory:_0x265852}=_0x571437['ui'];_0x571437['config']['define']('footnotes.footnotesProperties.toolbar',['footnotesStyle']),_0x265852['add']('footnotesStyle',function(_0x30c30b){return _0x3a9dce=>{const {t:t}=_0x3a9dce,_0x21cdd9=_0x30c30b['commands']['get']('footnotesStyle'),_0xcad353=_0x2b51a2(_0x3a9dce),{buttonView:_0x33b001}=_0xcad353;return _0xcad353['class']='ck-footnotes-styles-dropdown',_0xcad353['bind']('isEnabled')['to'](_0x21cdd9,'isEnabled'),_0x33b001['set']({'label':t('Footnotes\x20style'),'icon':_0x5a05cd,'tooltip':!0x0}),_0xcad353['once']('change:isOpen',()=>{const _0x52165a=function({editor:_0x295ba5,dropdownView:_0x244c04}){const {t:t}=_0x295ba5['locale'],_0x55535b=t('Footnotes\x20definitions\x20styles'),_0x14f126=function(_0x515183){const {t:t}=_0x515183['locale'],_0x544064=_0x515183['config']['get']('footnotes.footnotesProperties.listStyles'),_0x1a6c01=[{'style':'decimal','label':t('Toggle\x20the\x20decimal\x20footnotes\x20style'),'tooltip':t('Decimal\x20footnotes'),'icon':_0x3bcf11},{'style':'decimal-leading-zero','label':t('Toggle\x20the\x20decimal\x20with\x20leading\x20zero\x20footnotes\x20style'),'tooltip':t('Decimal\x20footnotes\x20with\x20leading\x20zero'),'icon':_0x2d28c9},{'style':'lower-roman','label':t('Toggle\x20the\x20lower-roman\x20footnotes\x20style'),'tooltip':t('Lower-roman\x20footnotes'),'icon':_0x14a5e2},{'style':'upper-roman','label':t('Toggle\x20the\x20upper-roman\x20footnotes\x20style'),'tooltip':t('Upper-roman\x20footnotes'),'icon':_0x3e168d},{'style':'lower-latin','label':t('Toggle\x20the\x20lower-latin\x20footnotes\x20style'),'tooltip':t('Lower-latin\x20footnotes'),'icon':_0x296a3c},{'style':'upper-latin','label':t('Toggle\x20the\x20upper-latin\x20footnotes\x20style'),'tooltip':t('Upper-latin\x20footnotes'),'icon':_0x13c309},{'style':'arabic-indic','label':t('Toggle\x20the\x20arabic-indic\x20footnotes\x20style'),'tooltip':t('Arabic-indic\x20footnotes'),'icon':_0x514508}];return _0x544064['map'](_0x2bb946=>{const _0x520dd1=ct(_0x2bb946),_0x30a755=_0x1a6c01['find'](_0x404ea4=>_0x404ea4['style']===_0x520dd1);return function(_0xcff4e5,_0x45ce6f){const {locale:_0x18cd9e}=_0xcff4e5,{label:_0x27c442,icon:_0x538d0b,tooltip:_0x27c8c3,style:_0x178dfe}=_0x45ce6f,_0x8381cd=_0xcff4e5['commands']['get']('footnotesStyle'),_0x2a325c=new _0x188ee4(_0x18cd9e);return _0x2a325c['set']({'label':_0x27c442,'icon':_0x538d0b,'tooltip':_0x27c8c3}),_0x2a325c['bind']('isOn')['to'](_0x8381cd,'value',_0x477eed=>_0x477eed===_0x178dfe),_0x2a325c['bind']('isEnabled')['to'](_0x8381cd,'isEnabled'),_0x2a325c['on']('execute',()=>{_0xcff4e5['execute']('footnotesStyle',{'value':_0x178dfe}),_0xcff4e5['editing']['view']['focus']();}),_0x2a325c;}(_0x515183,_0x30a755);});}(_0x295ba5),_0x2f7c47=new dt(_0x295ba5['locale'],{'styleGridAriaLabel':_0x55535b,'styleButtonViews':_0x14f126}),_0x3a164b=_0x295ba5['commands']['get']('footnotesStart');return _0x2f7c47['startIndexFieldView']['bind']('isEnabled')['to'](_0x3a164b),_0x2f7c47['startIndexFieldView']['fieldView']['bind']('value')['to'](_0x3a164b),_0x2f7c47['on']('footnotesListStart',(_0x1a40da,_0xf25f9)=>{_0x295ba5['execute']('footnotesStart',{'value':_0xf25f9['startIndex']});}),_0x2f7c47['delegate']('execute')['to'](_0x244c04),_0x2f7c47;}({'editor':_0x30c30b,'dropdownView':_0xcad353});_0xcad353['panelView']['children']['add'](_0x52165a);}),_0xcad353;};}(_0x571437));}['afterInit'](){const {editor:_0xb6edb4}=this,{t:t}=_0xb6edb4['locale'],_0x5add2c=_0xb6edb4['plugins']['get'](_0x497b9c),{defaultPositions:_0xcf84f2}=_0x4b9f90;_0x5add2c['register']('footnotesDefinitions',{'ariaLabel':t('Footnotes\x20definitions\x20toolbar'),'items':_0xb6edb4['config']['get']('footnotes.footnotesProperties.toolbar'),'balloonClassName':'ck-footnotes-style-balloon\x20ck-toolbar-container','getRelatedElement':_0x2fff8c=>{let _0x400aa4=_0x2fff8c['getFirstPosition']()?.['parent'];return _0x400aa4?.['is']('$text')&&(_0x400aa4=_0x400aa4['parent']),_0x400aa4?.['is']('element')?_0x400aa4['findAncestor'](q):null;},'positions':[_0xcf84f2['southArrowNorth'],_0xcf84f2['southArrowNorthMiddleWest'],_0xcf84f2['southArrowNorthMiddleEast'],_0xcf84f2['southArrowNorthWest'],_0xcf84f2['southArrowNorthEast'],_0xcf84f2['northArrowSouth'],_0xcf84f2['northArrowSouthMiddleWest'],_0xcf84f2['northArrowSouthMiddleEast'],_0xcf84f2['northArrowSouthWest'],_0xcf84f2['northArrowSouthEast'],_0xcf84f2['viewportStickyNorth']]});}}class mt extends _0x5d302d{static get['pluginName'](){return'FootnotesProperties';}static get['requires'](){return[at,ht];}static get['isOfficialPlugin'](){return!0x0;}static get['isPremiumPlugin'](){return!0x0;}}export{Z as Footnotes,J as FootnotesClipboard,$ as FootnotesEditing,mt as FootnotesProperties,at as FootnotesPropertiesEditing,ht as FootnotesPropertiesUI,it as FootnotesStartCommand,nt as FootnotesStyleCommand,K as FootnotesTracker,W as FootnotesUI,V 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':'','Upper-roman\x20footnotes':'','Lower-latin\x20footnotes':'','Upper-latin\x20footnotes':'','Arabic-indic\x20footnotes':'','Lower-roman\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':'','Toggle\x20the\x20arabic-indic\x20footnotes\x20style':''},'getPluralForm':_0x4e87ce=>0x1!=_0x4e87ce}};
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':'','Upper-roman\x20footnotes':'','Lower-latin\x20footnotes':'','Upper-latin\x20footnotes':'','Arabic-indic\x20footnotes':'','Lower-roman\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':'','Toggle\x20the\x20arabic-indic\x20footnotes\x20style':''},'getPluralForm':_0x3170ed=>0x1!=_0x3170ed}};
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- (_0x3a0d67=>{const {af:{dictionary:_0xcb7f77,getPluralForm:_0x369cc4}}={'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':'','Upper-roman\x20footnotes':'','Lower-latin\x20footnotes':'','Upper-latin\x20footnotes':'','Arabic-indic\x20footnotes':'','Lower-roman\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':'','Toggle\x20the\x20arabic-indic\x20footnotes\x20style':''},'getPluralForm':_0x460f1d=>0x1!=_0x460f1d}};_0x3a0d67['af']||={'dictionary':{},'getPluralForm':null},_0x3a0d67['af']['dictionary']=Object['assign'](_0x3a0d67['af']['dictionary'],_0xcb7f77),_0x3a0d67['af']['getPluralForm']=_0x369cc4;})(window['CKEDITOR_TRANSLATIONS']||={});
23
+ (_0x324536=>{const {af:{dictionary:_0x35c230,getPluralForm:_0x39765c}}={'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':'','Upper-roman\x20footnotes':'','Lower-latin\x20footnotes':'','Upper-latin\x20footnotes':'','Arabic-indic\x20footnotes':'','Lower-roman\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':'','Toggle\x20the\x20arabic-indic\x20footnotes\x20style':''},'getPluralForm':_0x8c437e=>0x1!=_0x8c437e}};_0x324536['af']||={'dictionary':{},'getPluralForm':null},_0x324536['af']['dictionary']=Object['assign'](_0x324536['af']['dictionary'],_0x35c230),_0x324536['af']['getPluralForm']=_0x39765c;})(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البادئ','Upper-roman\x20footnotes':'الحواشي\x20العلوية\x20الرومانية','Lower-latin\x20footnotes':'الحواشي\x20السفلية\x20اللاتينية','Upper-latin\x20footnotes':'الحواشي\x20العلوية\x20اللاتينية','Arabic-indic\x20footnotes':'حواشي\x20سفلية\x20بالأحرف\x20العربية\x20(الهندية)','Lower-roman\x20footnotes':'حواشي\x20سفلية\x20بالأحرف\x20الرومانية\x20الصغيرة','Toggle\x20the\x20lower-roman\x20footnotes\x20style':'تبديل\x20نمط\x20الحواشي\x20السفلية\x20بالأحرف\x20الرومانية\x20الصغيرة','Toggle\x20the\x20upper-roman\x20footnotes\x20style':'تبديل\x20نمط\x20الحواشي\x20السفلية\x20بالأحرف\x20الرومانية\x20الكبيرة','Toggle\x20the\x20lower-latin\x20footnotes\x20style':'تبديل\x20نمط\x20الحواشي\x20السفلية\x20بالأحرف\x20اللاتينية\x20الصغيرة','Toggle\x20the\x20upper-latin\x20footnotes\x20style':'تبديل\x20نمط\x20الحواشي\x20السفلية\x20بالأحرف\x20اللاتينية\x20الكبيرة','Toggle\x20the\x20arabic-indic\x20footnotes\x20style':'تبديل\x20نمط\x20الحواشي\x20السفلية\x20بالأحرف\x20العربية\x20(الهندية)'},'getPluralForm':_0x453572=>0x0==_0x453572?0x0:0x1==_0x453572?0x1:0x2==_0x453572?0x2:_0x453572%0x64>=0x3&&_0x453572%0x64<=0xa?0x3:_0x453572%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البادئ','Upper-roman\x20footnotes':'الحواشي\x20العلوية\x20الرومانية','Lower-latin\x20footnotes':'الحواشي\x20السفلية\x20اللاتينية','Upper-latin\x20footnotes':'الحواشي\x20العلوية\x20اللاتينية','Arabic-indic\x20footnotes':'حواشي\x20سفلية\x20بالأحرف\x20العربية\x20(الهندية)','Lower-roman\x20footnotes':'حواشي\x20سفلية\x20بالأحرف\x20الرومانية\x20الصغيرة','Toggle\x20the\x20lower-roman\x20footnotes\x20style':'تبديل\x20نمط\x20الحواشي\x20السفلية\x20بالأحرف\x20الرومانية\x20الصغيرة','Toggle\x20the\x20upper-roman\x20footnotes\x20style':'تبديل\x20نمط\x20الحواشي\x20السفلية\x20بالأحرف\x20الرومانية\x20الكبيرة','Toggle\x20the\x20lower-latin\x20footnotes\x20style':'تبديل\x20نمط\x20الحواشي\x20السفلية\x20بالأحرف\x20اللاتينية\x20الصغيرة','Toggle\x20the\x20upper-latin\x20footnotes\x20style':'تبديل\x20نمط\x20الحواشي\x20السفلية\x20بالأحرف\x20اللاتينية\x20الكبيرة','Toggle\x20the\x20arabic-indic\x20footnotes\x20style':'تبديل\x20نمط\x20الحواشي\x20السفلية\x20بالأحرف\x20العربية\x20(الهندية)'},'getPluralForm':_0x45ebc3=>0x0==_0x45ebc3?0x0:0x1==_0x45ebc3?0x1:0x2==_0x45ebc3?0x2:_0x45ebc3%0x64>=0x3&&_0x45ebc3%0x64<=0xa?0x3:_0x45ebc3%0x64>=0xb?0x4:0x5}};
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- (_0x2ec6b5=>{const {ar:{dictionary:_0x4b8657,getPluralForm:_0x57b2af}}={'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البادئ','Upper-roman\x20footnotes':'الحواشي\x20العلوية\x20الرومانية','Lower-latin\x20footnotes':'الحواشي\x20السفلية\x20اللاتينية','Upper-latin\x20footnotes':'الحواشي\x20العلوية\x20اللاتينية','Arabic-indic\x20footnotes':'حواشي\x20سفلية\x20بالأحرف\x20العربية\x20(الهندية)','Lower-roman\x20footnotes':'حواشي\x20سفلية\x20بالأحرف\x20الرومانية\x20الصغيرة','Toggle\x20the\x20lower-roman\x20footnotes\x20style':'تبديل\x20نمط\x20الحواشي\x20السفلية\x20بالأحرف\x20الرومانية\x20الصغيرة','Toggle\x20the\x20upper-roman\x20footnotes\x20style':'تبديل\x20نمط\x20الحواشي\x20السفلية\x20بالأحرف\x20الرومانية\x20الكبيرة','Toggle\x20the\x20lower-latin\x20footnotes\x20style':'تبديل\x20نمط\x20الحواشي\x20السفلية\x20بالأحرف\x20اللاتينية\x20الصغيرة','Toggle\x20the\x20upper-latin\x20footnotes\x20style':'تبديل\x20نمط\x20الحواشي\x20السفلية\x20بالأحرف\x20اللاتينية\x20الكبيرة','Toggle\x20the\x20arabic-indic\x20footnotes\x20style':'تبديل\x20نمط\x20الحواشي\x20السفلية\x20بالأحرف\x20العربية\x20(الهندية)'},'getPluralForm':_0x146d6b=>0x0==_0x146d6b?0x0:0x1==_0x146d6b?0x1:0x2==_0x146d6b?0x2:_0x146d6b%0x64>=0x3&&_0x146d6b%0x64<=0xa?0x3:_0x146d6b%0x64>=0xb?0x4:0x5}};_0x2ec6b5['ar']||={'dictionary':{},'getPluralForm':null},_0x2ec6b5['ar']['dictionary']=Object['assign'](_0x2ec6b5['ar']['dictionary'],_0x4b8657),_0x2ec6b5['ar']['getPluralForm']=_0x57b2af;})(window['CKEDITOR_TRANSLATIONS']||={});
23
+ (_0x4ca605=>{const {ar:{dictionary:_0x3f3be0,getPluralForm:_0x8601ad}}={'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البادئ','Upper-roman\x20footnotes':'الحواشي\x20العلوية\x20الرومانية','Lower-latin\x20footnotes':'الحواشي\x20السفلية\x20اللاتينية','Upper-latin\x20footnotes':'الحواشي\x20العلوية\x20اللاتينية','Arabic-indic\x20footnotes':'حواشي\x20سفلية\x20بالأحرف\x20العربية\x20(الهندية)','Lower-roman\x20footnotes':'حواشي\x20سفلية\x20بالأحرف\x20الرومانية\x20الصغيرة','Toggle\x20the\x20lower-roman\x20footnotes\x20style':'تبديل\x20نمط\x20الحواشي\x20السفلية\x20بالأحرف\x20الرومانية\x20الصغيرة','Toggle\x20the\x20upper-roman\x20footnotes\x20style':'تبديل\x20نمط\x20الحواشي\x20السفلية\x20بالأحرف\x20الرومانية\x20الكبيرة','Toggle\x20the\x20lower-latin\x20footnotes\x20style':'تبديل\x20نمط\x20الحواشي\x20السفلية\x20بالأحرف\x20اللاتينية\x20الصغيرة','Toggle\x20the\x20upper-latin\x20footnotes\x20style':'تبديل\x20نمط\x20الحواشي\x20السفلية\x20بالأحرف\x20اللاتينية\x20الكبيرة','Toggle\x20the\x20arabic-indic\x20footnotes\x20style':'تبديل\x20نمط\x20الحواشي\x20السفلية\x20بالأحرف\x20العربية\x20(الهندية)'},'getPluralForm':_0x5c2d28=>0x0==_0x5c2d28?0x0:0x1==_0x5c2d28?0x1:0x2==_0x5c2d28?0x2:_0x5c2d28%0x64>=0x3&&_0x5c2d28%0x64<=0xa?0x3:_0x5c2d28%0x64>=0xb?0x4:0x5}};_0x4ca605['ar']||={'dictionary':{},'getPluralForm':null},_0x4ca605['ar']['dictionary']=Object['assign'](_0x4ca605['ar']['dictionary'],_0x3f3be0),_0x4ca605['ar']['getPluralForm']=_0x8601ad;})(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':'','Upper-roman\x20footnotes':'','Lower-latin\x20footnotes':'','Upper-latin\x20footnotes':'','Arabic-indic\x20footnotes':'','Lower-roman\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':'','Toggle\x20the\x20arabic-indic\x20footnotes\x20style':''},'getPluralForm':_0x44aa62=>0x1!=_0x44aa62}};
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':'','Upper-roman\x20footnotes':'','Lower-latin\x20footnotes':'','Upper-latin\x20footnotes':'','Arabic-indic\x20footnotes':'','Lower-roman\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':'','Toggle\x20the\x20arabic-indic\x20footnotes\x20style':''},'getPluralForm':_0x1542ba=>0x1!=_0x1542ba}};
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- (_0x25a0ad=>{const {ast:{dictionary:_0x3cec0a,getPluralForm:_0x43839c}}={'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':'','Upper-roman\x20footnotes':'','Lower-latin\x20footnotes':'','Upper-latin\x20footnotes':'','Arabic-indic\x20footnotes':'','Lower-roman\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':'','Toggle\x20the\x20arabic-indic\x20footnotes\x20style':''},'getPluralForm':_0x185b6c=>0x1!=_0x185b6c}};_0x25a0ad['ast']||={'dictionary':{},'getPluralForm':null},_0x25a0ad['ast']['dictionary']=Object['assign'](_0x25a0ad['ast']['dictionary'],_0x3cec0a),_0x25a0ad['ast']['getPluralForm']=_0x43839c;})(window['CKEDITOR_TRANSLATIONS']||={});
23
+ (_0x2537a9=>{const {ast:{dictionary:_0x28acc7,getPluralForm:_0x4ce8d4}}={'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':'','Upper-roman\x20footnotes':'','Lower-latin\x20footnotes':'','Upper-latin\x20footnotes':'','Arabic-indic\x20footnotes':'','Lower-roman\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':'','Toggle\x20the\x20arabic-indic\x20footnotes\x20style':''},'getPluralForm':_0x1a1dd8=>0x1!=_0x1a1dd8}};_0x2537a9['ast']||={'dictionary':{},'getPluralForm':null},_0x2537a9['ast']['dictionary']=Object['assign'](_0x2537a9['ast']['dictionary'],_0x28acc7),_0x2537a9['ast']['getPluralForm']=_0x4ce8d4;})(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':'','Upper-roman\x20footnotes':'','Lower-latin\x20footnotes':'','Upper-latin\x20footnotes':'','Arabic-indic\x20footnotes':'','Lower-roman\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':'','Toggle\x20the\x20arabic-indic\x20footnotes\x20style':''},'getPluralForm':_0x32b906=>0x1!=_0x32b906}};
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':'','Upper-roman\x20footnotes':'','Lower-latin\x20footnotes':'','Upper-latin\x20footnotes':'','Arabic-indic\x20footnotes':'','Lower-roman\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':'','Toggle\x20the\x20arabic-indic\x20footnotes\x20style':''},'getPluralForm':_0x196ff2=>0x1!=_0x196ff2}};
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- (_0x1ae105=>{const {az:{dictionary:_0x3ba525,getPluralForm:_0x2339a4}}={'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':'','Upper-roman\x20footnotes':'','Lower-latin\x20footnotes':'','Upper-latin\x20footnotes':'','Arabic-indic\x20footnotes':'','Lower-roman\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':'','Toggle\x20the\x20arabic-indic\x20footnotes\x20style':''},'getPluralForm':_0x3cda83=>0x1!=_0x3cda83}};_0x1ae105['az']||={'dictionary':{},'getPluralForm':null},_0x1ae105['az']['dictionary']=Object['assign'](_0x1ae105['az']['dictionary'],_0x3ba525),_0x1ae105['az']['getPluralForm']=_0x2339a4;})(window['CKEDITOR_TRANSLATIONS']||={});
23
+ (_0x77ae19=>{const {az:{dictionary:_0x202ef1,getPluralForm:_0x4f5020}}={'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':'','Upper-roman\x20footnotes':'','Lower-latin\x20footnotes':'','Upper-latin\x20footnotes':'','Arabic-indic\x20footnotes':'','Lower-roman\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':'','Toggle\x20the\x20arabic-indic\x20footnotes\x20style':''},'getPluralForm':_0x2386ec=>0x1!=_0x2386ec}};_0x77ae19['az']||={'dictionary':{},'getPluralForm':null},_0x77ae19['az']['dictionary']=Object['assign'](_0x77ae19['az']['dictionary'],_0x202ef1),_0x77ae19['az']['getPluralForm']=_0x4f5020;})(window['CKEDITOR_TRANSLATIONS']||={});