@ckeditor/ckeditor5-footnotes 48.8.1-alpha.2 → 48.8.1-alpha.4

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 _0x7dc67d,Command as _0x219033}from'@ckeditor/ckeditor5-core/dist/index.js';import{toWidget as _0x174ee2,isWidget as _0x2405e8,toWidgetEditable as _0x243d16,WidgetToolbarRepository as _0x34377d}from'@ckeditor/ckeditor5-widget/dist/index.js';import{uid as _0x506bd5,logWarning as _0x1930f6,FocusTracker as _0x3cacdb,KeystrokeHandler as _0x430fea,global as _0x31a001}from'@ckeditor/ckeditor5-utils/dist/index.js';import{PointerObserver as _0x14b3af,ClickObserver as _0x3f0fc5}from'@ckeditor/ckeditor5-engine/dist/index.js';import{ClipboardPipeline as _0x5acb45}from'@ckeditor/ckeditor5-clipboard/dist/index.js';import{MenuBarMenuListItemButtonView as _0xd7f309,ButtonView as _0x50b82b,View as _0x3e6727,ViewCollection as _0x3f9609,FocusCycler as _0xe2d6c,addKeyboardHandlingForGrid as _0x19e019,CollapsibleView as _0x20b1bd,LabeledFieldView as _0x41cc28,createLabeledInputNumber as _0x5f4600,ContextualBalloon as _0x24ceef,BalloonPanelView as _0x7a7f5c,createDropdown as _0xb3cde4}from'@ckeditor/ckeditor5-ui/dist/index.js';import{IconFootnote as _0xdcb04e,IconListStyleDecimal as _0x1bdd68,IconListStyleDecimalLeadingZero as _0x2c3f07,IconListStyleLowerRoman as _0x2d54ab,IconListStyleUpperRoman as _0x5b3733,IconListStyleLowerLatin as _0x5b0388,IconListStyleUpperLatin as _0x25a74b,IconListStyleArabicIndic as _0xa770a5}from'@ckeditor/ckeditor5-icons/dist/index.js';class ModelElementTracker{['_model'];['_elementName'];['_getElementKey'];['_trackedElements']=new Map();constructor(_0x5726d9,_0x1ab2d1){this['_model']=_0x5726d9,this['_elementName']=_0x1ab2d1['elementName'],this['_getElementKey']=_0x1ab2d1['getElementKey'];}['reset'](){this['_trackedElements']['clear']();}['getChanges'](_0x337b8b){const _0x7200a3=new Set(),_0x43bdcb=new Map();for(const _0x5f02ae of _0x337b8b){if('insert'===_0x5f02ae['type']&&'$text'!==_0x5f02ae['name']&&_0x5f02ae['position']['nodeAfter']){const _0x1a7da6=this['_model']['createRangeOn'](_0x5f02ae['position']['nodeAfter']);for(const _0x3c88fc of _0x1a7da6['getItems']()){if(!_0x3c88fc['is']('element',this['_elementName']))continue;const _0x52fbcf=this['_getElementKey'](_0x3c88fc);_0x43bdcb['has'](_0x52fbcf)||_0x43bdcb['set'](_0x52fbcf,[]),_0x43bdcb['get'](_0x52fbcf)['push'](_0x3c88fc);}}if('remove'===_0x5f02ae['type']&&_0x5f02ae['name']===this['_elementName']){const _0x58a75e=this['_getElementKey']({'getAttribute':_0x102d89=>_0x5f02ae['attributes']['get'](_0x102d89)});_0x7200a3['add'](_0x58a75e);}}for(const [_0x3f3967,_0xb18caf]of this['_trackedElements'])'$graveyard'===_0xb18caf['root']['rootName']&&_0x7200a3['add'](_0x3f3967);for(const _0x18319f of _0x7200a3)this['_trackedElements']['delete'](_0x18319f);for(const [_0x2533c9,_0x4c7d00]of _0x43bdcb)this['_trackedElements']['set'](_0x2533c9,_0x4c7d00[_0x4c7d00['length']-0x1]);const _0x5b0797=new Set();for(const [_0x34c037,_0x24dce4]of _0x43bdcb)_0x7200a3['has'](_0x34c037)&&(_0x5b0797['add'](_0x24dce4[0x0]),_0x24dce4['length']>0x1?_0x43bdcb['set'](_0x34c037,_0x24dce4['slice'](0x1)):_0x43bdcb['delete'](_0x34c037),_0x7200a3['delete'](_0x34c037));return{'removed':Array['from'](_0x7200a3),'inserted':Array['from'](_0x43bdcb['values']())['flat'](),'moved':Array['from'](_0x5b0797)};}}class FootnotesTracker extends _0x7dc67d{['_footnotes']=[];['_footnotesDefinitions']=null;['_footnoteFormatter']=null;['_footnoteDefsContainerTracker'];['_footnoteRefsTracker'];['_footnoteDefsTracker'];static get['pluginName'](){return'FootnotesTracker';}static get['isOfficialPlugin'](){return!0x0;}static get['isPremiumPlugin'](){return!0x0;}constructor(_0x194eef){super(_0x194eef),this['_footnoteDefsContainerTracker']=new ModelElementTracker(this['editor']['model'],{'elementName':'footnotesDefinitions','getElementKey':()=>'singleton'}),this['_footnoteRefsTracker']=new ModelElementTracker(this['editor']['model'],{'elementName':'footnoteRef','getElementKey':_0x591ceb=>_0x591ceb['getAttribute']('footnoteId')}),this['_footnoteDefsTracker']=new ModelElementTracker(this['editor']['model'],{'elementName':'footnoteDefinition','getElementKey':_0x3d1484=>_0x3d1484['getAttribute']('footnoteId')});}['init'](){const {editor:_0x29c83e}=this,{model:_0x32fea8,data:_0x8687ca}=_0x29c83e;_0x32fea8['document']['registerPostFixer'](_0x325016=>{const _0x5abf78=_0x32fea8['document']['differ']['getChanges']();let _0x5a8da5=!0x1;return this['_handleFootnotesDefinitionsObjectChanges'](_0x325016,_0x5abf78)&&(_0x5a8da5=!0x0),this['_handleFootnoteDefinitionsChanges'](_0x325016,_0x5abf78)&&(_0x5a8da5=!0x0),this['_handleFootnoteReferencesChanges'](_0x325016,_0x5abf78)&&(_0x5a8da5=!0x0),this['_ensureFootnotesReferencesHaveProperOrder'](_0x325016)&&(_0x5a8da5=!0x0),this['_handleFootnotesDefinitionsObjectSync'](_0x325016)&&(_0x5a8da5=!0x0),this['_sortFootnoteDefinitions'](_0x325016)&&(_0x5a8da5=!0x0),_0x5a8da5;}),this['listenTo'](_0x32fea8['document'],'change:data',()=>{_0x32fea8['enqueueChange']({'isUndoable':!0x1},_0x2877b3=>{this['_ensureFootnotesDefinitionsContainerExists'](_0x2877b3);});},{'priority':'low'}),this['listenTo'](_0x8687ca,'set',()=>{this['_footnotes']=[],this['_footnoteDefsContainerTracker']['reset'](),this['_footnoteRefsTracker']['reset'](),this['_footnoteDefsTracker']['reset']();},{'priority':'high'});}['getFootnotesDefinitionsObjectElement'](){return this['_footnotesDefinitions'];}['getFootnote'](_0x334e14){return this['_footnotes']['find'](_0x312759=>_0x312759['id']===_0x334e14)||null;}['getFootnotes'](){return Array['from'](this['_footnotes']);}['getFootnotesFormatter'](){return this['_footnoteFormatter'];}['setFootnoteFormatter'](_0x312bec){this['_footnoteFormatter']=_0x312bec;}['_updateFootnotesCounters'](_0xb47e34,_0x771a38=0x0){let _0x41f19e=!0x1;for(let _0x28cc69=_0x771a38;_0x28cc69<this['_footnotes']['length'];_0x28cc69++)this['_updateFootnoteRefCounter'](_0xb47e34,_0x28cc69)&&(_0x41f19e=!0x0);return _0x41f19e;}['_insertEmptyFootnotesDefinitionsContainer'](_0x27dd54,_0x558b94){const _0x335b99=_0x27dd54['createElement']('footnotesDefinitions',{});return _0x27dd54['append'](_0x335b99,_0x558b94),this['_footnotesDefinitions']=_0x335b99,_0x335b99;}['_ensureFootnotesDefinitionsContainerExists'](_0x114a10){if(!this['_footnotes']['length']||this['_footnotesDefinitions'])return;const _0x158542=this['_footnotes'][0x0]['reference']['root'],_0x448713=this['_insertEmptyFootnotesDefinitionsContainer'](_0x114a10,_0x158542);for(const _0x3c00bd of this['_footnotes'])_0x3c00bd['definition']['parent']||_0x114a10['insert'](_0x3c00bd['definition'],_0x448713,'end');this['_updateFootnotesCounters'](_0x114a10);}['_handleFootnotesDefinitionsObjectChanges'](_0x20cf4d,_0x320b9c){let _0x37445a=!0x1;const {inserted:_0x50f530,removed:_0x3fee13,moved:_0x29a3f2}=this['_footnoteDefsContainerTracker']['getChanges'](_0x320b9c);if(_0x29a3f2['length']&&(this['_footnotesDefinitions']=_0x29a3f2[0x0]),_0x50f530['length']){if(_0x50f530['length']>0x1||this['_footnotesDefinitions']&&_0x50f530['some'](_0x3bd350=>_0x3bd350!==this['_footnotesDefinitions'])){const _0x5d8f9d=_0x20cf4d['createElement']('footnotesDefinitions',{}),_0x4055f7=[];this['_footnotesDefinitions']&&_0x4055f7['push'](this['_footnotesDefinitions']),_0x4055f7['push'](..._0x50f530),_0x20cf4d['insert'](_0x5d8f9d,_0x4055f7[0x0],'before');for(const _0x3f3a4a of _0x4055f7)_0x20cf4d['move'](_0x20cf4d['createRangeIn'](_0x3f3a4a),_0x20cf4d['createPositionAt'](_0x5d8f9d,'end')),_0x20cf4d['remove'](_0x3f3a4a);this['_footnotesDefinitions']=_0x5d8f9d,this['_updateFootnotesCounters'](_0x20cf4d),_0x37445a=!0x0;}else this['_footnotesDefinitions']=_0x50f530[0x0];}if(_0x3fee13['length']&&'$graveyard'===this['_footnotesDefinitions']?.['root']['rootName']){for(const _0x230a26 of this['_footnotes'])_0x20cf4d['remove'](_0x230a26['reference']),_0x37445a=!0x0;this['_footnotes']=[],this['_footnotesDefinitions']=null;}return _0x37445a;}['_handleFootnoteDefinitionsChanges'](_0x2b6487,_0x42103f){let _0x4e2cce=!0x1;const _0x550aab=this['editor']['config']['get']('footnotes.multiBlock'),{inserted:_0x3c99ac,moved:_0x31e1e7}=this['_footnoteDefsTracker']['getChanges'](_0x42103f);for(const _0x5ccacc of[..._0x31e1e7,..._0x3c99ac]){const _0x6e1d2b=_0x5ccacc['getAttribute']('footnoteId'),_0x3c969d=this['getFootnote'](_0x6e1d2b);_0x3c969d&&(_0x3c969d['definition']=_0x5ccacc),N(_0x2b6487,_0x550aab,_0x5ccacc)&&(_0x4e2cce=!0x0);}return _0x4e2cce;}['_handleFootnoteReferencesChanges'](_0x3b2826,_0x57e085){let _0x2a6eae=!0x1;const {removed:_0x1e30be,inserted:_0x47adce,moved:_0x31758c}=this['_footnoteRefsTracker']['getChanges'](_0x57e085);for(const _0x2a9fa8 of _0x1e30be)this['_handleRemoveFootnoteReferenceById'](_0x3b2826,_0x2a9fa8)&&(_0x2a6eae=!0x0);for(const _0x6d6c44 of _0x47adce)this['_handleInsertedFootnoteReference'](_0x3b2826,_0x6d6c44)&&(_0x2a6eae=!0x0);for(const _0x2f7a46 of _0x31758c)this['_handleMovedFootnoteReference'](_0x3b2826,_0x2f7a46)&&(_0x2a6eae=!0x0);return _0x2a6eae;}['_handleFootnotesDefinitionsObjectSync'](_0x146e92){if(!this['_footnotesDefinitions'])return!0x1;let _0x37d2a4=!0x1;if(this['_footnotesDefinitions']['childCount']!==this['_footnotes']['length']){const _0x5c407e=[];for(const _0x172452 of this['_footnotesDefinitions']['getChildren']()){const _0x4fd1b3=_0x172452['getAttribute']('footnoteId');this['getFootnote'](_0x4fd1b3)||(_0x5c407e['unshift'](_0x172452),_0x37d2a4=!0x0);}for(const _0x48fb3f of _0x5c407e)_0x146e92['remove'](_0x48fb3f);}const _0x3a60bd=new Set(),_0xc68b22=[];for(const _0x18969a of this['_footnotesDefinitions']['getChildren']()){const _0x3a950e=_0x18969a['getAttribute']('footnoteId');_0x3a60bd['has'](_0x3a950e)?(_0xc68b22['unshift'](_0x18969a),_0x37d2a4=!0x0):_0x3a60bd['add'](_0x3a950e);}for(const _0x409a84 of _0xc68b22)_0x146e92['remove'](_0x409a84);return this['_footnotesDefinitions']['childCount']||(_0x146e92['remove'](this['_footnotesDefinitions']),this['_footnotesDefinitions']=null,_0x37d2a4=!0x0),_0x37d2a4;}['_handleInsertedFootnoteReference'](_0x57d941,_0xb2e760){if(this['_footnotes']['find'](_0x4f015b=>_0x4f015b['reference']===_0xb2e760))return!0x1;let _0x3496c6=!0x1;const _0x191931=_0xb2e760['getAttribute']('footnoteId'),_0x15e0ee=this['_footnotes']['findIndex'](_0x49c4da=>_0x49c4da['id']===_0x191931);-0x1!==_0x15e0ee&&(_0x57d941['remove'](this['_footnotes'][_0x15e0ee]['reference']),this['_footnotes']['splice'](_0x15e0ee,0x1),_0x3496c6=!0x0);let _0x2b9d7a=this['_footnotesDefinitions']?function(_0x3ec9a9,_0x3d3a5c){for(const _0x2d6b1a of _0x3ec9a9['getChildren']())if(_0x2d6b1a['getAttribute']('footnoteId')===_0x3d3a5c)return _0x2d6b1a;return null;}(this['_footnotesDefinitions'],_0x191931):null;_0x2b9d7a||(_0x2b9d7a=_0x57d941['createElement']('footnoteDefinition',{'footnoteId':_0x191931}),this['_footnotesDefinitions']&&(_0x57d941['insert'](_0x2b9d7a,this['_footnotesDefinitions'],'end'),_0x3496c6=!0x0));const _0x352b89={'id':_0x191931,'reference':_0xb2e760,'definition':_0x2b9d7a},_0x44cd0a=R(this['editor']['model'],this['_footnotes'],_0xb2e760);this['_footnotes']['splice'](_0x44cd0a,0x0,_0x352b89);let _0x27b419=_0x44cd0a;return-0x1!==_0x15e0ee&&(_0x27b419=Math['min'](_0x44cd0a,_0x15e0ee)),this['_updateFootnotesCounters'](_0x57d941,_0x27b419)&&(_0x3496c6=!0x0),_0x3496c6;}['_handleRemoveFootnoteReferenceById'](_0x2e63e1,_0x2f9c05){const _0x44aaef=this['_footnotes']['findIndex'](_0x4597aa=>_0x4597aa['id']===_0x2f9c05);if(-0x1===_0x44aaef)return!0x1;let _0x76318a=!0x1;const _0x44b8ee=this['_footnotes'][_0x44aaef];return'$graveyard'!==_0x44b8ee['definition']['root']['rootName']&&(_0x2e63e1['remove'](_0x44b8ee['definition']),_0x76318a=!0x0),this['_footnotes']['splice'](_0x44aaef,0x1),this['_updateFootnotesCounters'](_0x2e63e1,_0x44aaef)&&(_0x76318a=!0x0),_0x76318a;}['_handleMovedFootnoteReference'](_0x3d831a,_0x146fbf){const _0x35b56b=_0x146fbf['getAttribute']('footnoteId'),_0x448195=this['_footnotes']['findIndex'](_0x51d224=>_0x51d224['id']===_0x35b56b),_0x1a321c=this['_footnotes'][_0x448195];let _0x143b22=!0x1;_0x1a321c['reference']=_0x146fbf,this['_footnotes']['splice'](_0x448195,0x1);const _0x1abffd=R(this['editor']['model'],this['_footnotes'],_0x146fbf);return this['_footnotes']['splice'](_0x1abffd,0x0,_0x1a321c),this['_updateFootnotesCounters'](_0x3d831a,Math['min'](_0x448195,_0x1abffd))&&(_0x143b22=!0x0),_0x143b22;}['_updateFootnoteRefCounter'](_0x87c1d2,_0x55b4f5){if(!this['_footnotesDefinitions'])return!0x1;const _0x55d4f3=this['_footnotes'][_0x55b4f5];let _0x347e95;return _0x347e95=this['_footnoteFormatter']?this['_footnoteFormatter']({'footnote':_0x55d4f3,'container':this['_footnotesDefinitions'],'digits':String(this['_footnotes']['length'])['length'],'value':_0x55b4f5+0x1}):String(_0x55b4f5+0x1),_0x55d4f3['reference']['getAttribute']('footnoteCounter')!=_0x347e95&&(_0x87c1d2['setAttribute']('footnoteCounter',_0x347e95,_0x55d4f3['reference']),!0x0);}['_sortFootnoteDefinitions'](_0x51ae06){if(!this['_footnotesDefinitions']||this['_footnotes']['length']<0x2)return!0x1;if(function(_0x4a710d,_0x242494){if(_0x4a710d['length']!==_0x242494['length'])return!0x1;for(let _0x38f0c0=0x0;_0x38f0c0<_0x4a710d['length'];_0x38f0c0++)if(_0x4a710d[_0x38f0c0]!==_0x242494[_0x38f0c0])return!0x1;return!0x0;}(this['_footnotes']['map'](_0x6fb98b=>_0x6fb98b['id']),Array['from'](this['_footnotesDefinitions']['getChildren']())['map'](_0x4e4e17=>_0x4e4e17['getAttribute']('footnoteId'))))return!0x1;let _0x116848=!0x1;for(let _0x22151d=0x0;_0x22151d<this['_footnotes']['length'];_0x22151d++){const _0x17048c=this['_footnotes'][_0x22151d],_0x1aa1ca=_0x51ae06['createPositionBefore'](_0x17048c['definition']),_0x4bf37e=_0x51ae06['createPositionAt'](this['_footnotesDefinitions'],_0x22151d);_0x1aa1ca['isEqual'](_0x4bf37e)||(_0x51ae06['move'](_0x51ae06['createRangeOn'](_0x17048c['definition']),_0x4bf37e),_0x116848=!0x0);}return _0x116848;}['_ensureFootnotesReferencesHaveProperOrder'](_0x34832b){if(!this['_footnotes']['length'])return!0x1;const {model:_0x27db19}=this['editor'];let _0x238104=!0x1;for(let _0x15136b=0x0;_0x15136b<this['_footnotes']['length']-0x1;_0x15136b++){const _0x55eab4=this['_footnotes'][_0x15136b],_0x93eb64=this['_footnotes'][_0x15136b+0x1],_0x103d24=_0x27db19['createPositionBefore'](_0x55eab4['reference']),_0x4d9caf=_0x27db19['createPositionBefore'](_0x93eb64['reference']);'after'===_0x103d24['compareWith'](_0x4d9caf)&&(this['_handleMovedFootnoteReference'](_0x34832b,_0x55eab4['reference']),_0x15136b=-0x1,_0x238104=!0x0);}return _0x238104;}}function N(_0x1df2d0,_0x48f1d2,_0x1e54a4){if(_0x1e54a4['childCount'])return!0x1;const _0x53163a=_0x48f1d2?'paragraph':'footnoteInlineContent';return _0x1df2d0['insert'](_0x1df2d0['createElement'](_0x53163a),_0x1e54a4),!0x0;}function R(_0x2267a2,_0x11aa74,_0x23fe43){if(0x0===_0x11aa74['length'])return 0x0;const _0xf0ca64=_0x2267a2['createPositionBefore'](_0x23fe43);for(let _0x20aab1=0x0;_0x20aab1<_0x11aa74['length'];_0x20aab1++){const _0x5ca564=_0x11aa74[_0x20aab1],_0x5000d4=_0x2267a2['createPositionBefore'](_0x5ca564['reference']);if('before'===_0xf0ca64['compareWith'](_0x5000d4))return _0x20aab1;}const _0xfff296=_0x23fe43['root'];let _0x422adb=-0x1;for(let _0x36cd83=_0x11aa74['length']-0x1;_0x36cd83>=0x0;_0x36cd83--)if(_0x11aa74[_0x36cd83]['reference']['root']===_0xfff296){_0x422adb=_0x36cd83;break;}if(-0x1!==_0x422adb)return _0x422adb+0x1;const _0x2410eb=_0x2267a2['document']['getRootNames'](),_0x7ce4f7=_0x2410eb['indexOf'](_0xfff296['rootName']),_0x30d348=_0x2410eb[_0x7ce4f7+0x1];if(_0x30d348){for(let _0x171f38=0x0;_0x171f38<_0x11aa74['length'];_0x171f38++)if(_0x11aa74[_0x171f38]['reference']['root']['rootName']===_0x30d348)return _0x171f38;}return _0x11aa74['length'];}class InsertFootnoteCommand extends _0x219033{['refresh'](){const _0x2a6b9b=this['editor']['model']['document']['selection'],_0x3933a6=this['_getPositionToInsertFootnote'](_0x2a6b9b);this['isEnabled']=!!_0x3933a6;}['execute'](_0x8699c8){const {editor:_0x9c88ef}=this,{model:_0x1330db}=_0x9c88ef,{selection:_0x386db9}=_0x1330db['document'],_0x2051ee=this['_getPositionToInsertFootnote'](_0x386db9);if(!_0x2051ee)return;const _0xa62dc8=_0x9c88ef['plugins']['get']('FootnotesEditing'),_0xaddb80=_0x8699c8?.['footnoteId']??_0x506bd5();!function(_0x3388c4){return'string'==typeof _0x3388c4&&_0x3388c4['length']>0x0&&!/\s/['test'](_0x3388c4)&&!/^\d/['test'](_0x3388c4);}(_0xaddb80)?_0x1930f6('insert-footnote-command-executed-with-invalid-id'):(_0x1330db['change'](_0x3c442b=>{const _0x22edf6=_0x3c442b['createElement']('footnoteRef',{'footnoteId':_0xaddb80});_0x1330db['insertObject'](_0x22edf6,_0x2051ee,null);}),_0xa62dc8['_moveSelectionToFootnoteDefinition'](_0xaddb80));}['_getPositionToInsertFootnote'](_0x5ecfc3){const {model:_0x4c1692}=this['editor'],{schema:_0x42d78c}=_0x4c1692,_0x3fe6c7=_0x5ecfc3['getFirstRange']();for(const _0x438f1a of _0x3fe6c7['getItems']())if(_0x42d78c['isBlock'](_0x438f1a)||_0x42d78c['isObject'](_0x438f1a))return null;const _0x506f07=_0x3fe6c7['end'];return _0x42d78c['checkChild'](_0x506f07,'footnoteRef')?_0x506f07:null;}}class FootnotesEditing extends _0x7dc67d{static get['pluginName'](){return'FootnotesEditing';}static get['requires'](){return[FootnotesTracker];}static get['isOfficialPlugin'](){return!0x0;}static get['isPremiumPlugin'](){return!0x0;}['init'](){const {editor:_0x443595}=this;_0x443595['config']['define']('footnotes.multiBlock',!0x0),_0x443595['commands']['add']('insertFootnote',new InsertFootnoteCommand(_0x443595)),this['_defineSchema'](),this['_defineRefsConverters'](),this['_defineDefinitionsConverters'](),this['_defineDefinitionConverters'](),this['_defineBogusParagraphConverters'](),this['_defineKeyboardHandlers'](),this['_defineClickHandlers']();}['afterInit'](){!async function(_0x45bde8){const _0x5bc55c=_0x36d913([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]),_0x2885eb=0x47a28506,_0x50fc86=0x47a50f56^_0x2885eb,_0xd0dd28=window[_0x36d913([0x44,0x61,0x74,0x65])][_0x36d913([0x6e,0x6f,0x77])](),_0x576a55=_0x45bde8[_0x36d913([0x65,0x64,0x69,0x74,0x6f,0x72])],_0x23447a=new window[(_0x36d913([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0x223de4=>{_0x576a55[_0x36d913([0x6f,0x6e,0x63,0x65])](_0x36d913([0x72,0x65,0x61,0x64,0x79]),_0x223de4);}),_0x377632={[_0x36d913([0x6b,0x74,0x79])]:_0x36d913([0x45,0x43]),[_0x36d913([0x75,0x73,0x65])]:_0x36d913([0x73,0x69,0x67]),[_0x36d913([0x63,0x72,0x76])]:_0x36d913([0x50,0x2d,0x32,0x35,0x36]),[_0x36d913([0x78])]:_0x36d913([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]),[_0x36d913([0x79])]:_0x36d913([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]),[_0x36d913([0x61,0x6c,0x67])]:_0x36d913([0x45,0x53,0x32,0x35,0x36])},_0x26ca69=_0x576a55[_0x36d913([0x63,0x6f,0x6e,0x66,0x69,0x67])][_0x36d913([0x67,0x65,0x74])](_0x36d913([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x4b,0x65,0x79]));async function _0x247369(){let _0x5d519e,_0x2f4c3d=null,_0x5b986c=null;try{if(_0x26ca69==_0x36d913([0x47,0x50,0x4c]))return _0x36d913([0x4e,0x6f,0x74,0x41,0x6c,0x6c,0x6f,0x77,0x65,0x64]);if(_0x5d519e=_0x2f4d39(),!_0x5d519e)return _0x36d913([0x49,0x6e,0x76,0x61,0x6c,0x69,0x64]);return _0x5d519e[_0x36d913([0x75,0x73,0x61,0x67,0x65,0x45,0x6e,0x64,0x70,0x6f,0x69,0x6e,0x74])]&&(_0x5b986c=_0x305980(_0x5d519e[_0x36d913([0x75,0x73,0x61,0x67,0x65,0x45,0x6e,0x64,0x70,0x6f,0x69,0x6e,0x74])],_0x5d519e[_0x36d913([0x6a,0x74,0x69])])),await _0x4e0ec6()?_0x3cee2a()?_0x33f023()?_0x36d913([0x45,0x78,0x70,0x69,0x72,0x65,0x64]):_0x135d25()?(_0x5d519e[_0x36d913([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x54,0x79,0x70,0x65])]==_0x36d913([0x65,0x76,0x61,0x6c,0x75,0x61,0x74,0x69,0x6f,0x6e])&&(_0x2f4c3d=_0x34123f(_0x36d913([0x45,0x76,0x61,0x6c,0x75,0x61,0x74,0x69,0x6f,0x6e,0x4c,0x69,0x6d,0x69,0x74]))),await _0x55d01c()):_0x36d913([0x44,0x6f,0x6d,0x61,0x69,0x6e,0x4c,0x69,0x6d,0x69,0x74]):_0x36d913([0x4e,0x6f,0x74,0x41,0x6c,0x6c,0x6f,0x77,0x65,0x64]):_0x36d913([0x49,0x6e,0x76,0x61,0x6c,0x69,0x64]);}catch{return _0x36d913([0x49,0x6e,0x76,0x61,0x6c,0x69,0x64]);}function _0x33f023(){const _0x198ada=[_0x36d913([0x65,0x76,0x61,0x6c,0x75,0x61,0x74,0x69,0x6f,0x6e]),_0x36d913([0x74,0x72,0x69,0x61,0x6c])][_0x36d913([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x5d519e[_0x36d913([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x54,0x79,0x70,0x65])])?_0xd0dd28/0x3e8:0xe10*_0x50fc86;return _0x5d519e[_0x36d913([0x65,0x78,0x70])]<_0x198ada;}function _0x3cee2a(){const _0x4eb65b=_0x5d519e[_0x36d913([0x66,0x65,0x61,0x74,0x75,0x72,0x65,0x73])];return!!_0x4eb65b&&(!!_0x4eb65b[_0x36d913([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x36d913([0x2a]))||!!_0x4eb65b[_0x36d913([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x36d913([0x46,0x4f,0x4f])));}function _0x135d25(){const _0x15ad6e=_0x5d519e[_0x36d913([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x64,0x48,0x6f,0x73,0x74,0x73])];if(!_0x15ad6e||0x0==_0x15ad6e[_0x36d913([0x6c,0x65,0x6e,0x67,0x74,0x68])])return!0x0;const {hostname:_0x2cde28}=new URL(window[_0x36d913([0x6c,0x6f,0x63,0x61,0x74,0x69,0x6f,0x6e])]['href']);if(_0x15ad6e[_0x36d913([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x2cde28))return!0x0;const _0x165a58=_0x2cde28[_0x36d913([0x73,0x70,0x6c,0x69,0x74])](_0x36d913([0x2e]));return _0x15ad6e[_0x36d913([0x66,0x69,0x6c,0x74,0x65,0x72])](_0x4ac4a0=>_0x4ac4a0[_0x36d913([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x36d913([0x2a])))[_0x36d913([0x6d,0x61,0x70])](_0x4a1ac6=>_0x4a1ac6[_0x36d913([0x73,0x70,0x6c,0x69,0x74])](_0x36d913([0x2e])))[_0x36d913([0x66,0x69,0x6c,0x74,0x65,0x72])](_0x3e1c79=>_0x3e1c79[_0x36d913([0x6c,0x65,0x6e,0x67,0x74,0x68])]<=_0x165a58[_0x36d913([0x6c,0x65,0x6e,0x67,0x74,0x68])])[_0x36d913([0x6d,0x61,0x70])](_0x4bc151=>Array(_0x165a58[_0x36d913([0x6c,0x65,0x6e,0x67,0x74,0x68])]-_0x4bc151[_0x36d913([0x6c,0x65,0x6e,0x67,0x74,0x68])])[_0x36d913([0x66,0x69,0x6c,0x6c])](_0x4bc151[0x0]===_0x36d913([0x2a])?_0x36d913([0x2a]):'')[_0x36d913([0x63,0x6f,0x6e,0x63,0x61,0x74])](_0x4bc151))[_0x36d913([0x73,0x6f,0x6d,0x65])](_0x40d9b7=>_0x165a58[_0x36d913([0x65,0x76,0x65,0x72,0x79])]((_0x2925ac,_0x26265c)=>_0x40d9b7[_0x26265c]===_0x2925ac||_0x40d9b7[_0x26265c]===_0x36d913([0x2a])));}function _0x55d01c(){return _0x2f4c3d&&_0x5b986c?new window[(_0x36d913([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))]((_0x468c8a,_0x262f6f)=>{_0x2f4c3d[_0x36d913([0x74,0x68,0x65,0x6e])](_0x468c8a,_0x262f6f),_0x5b986c[_0x36d913([0x74,0x68,0x65,0x6e])](_0x3d5b99=>{_0x3d5b99!=_0x36d913([0x56,0x61,0x6c,0x69,0x64])&&_0x468c8a(_0x3d5b99);},_0x262f6f);}):_0x2f4c3d||_0x5b986c||_0x36d913([0x56,0x61,0x6c,0x69,0x64]);}}function _0x305980(_0x392576,_0x498096){return new window[(_0x36d913([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0x3f269b=>{if(_0x33f0ce())return _0x3f269b(_0x36d913([0x56,0x61,0x6c,0x69,0x64]));_0x14d50a(),_0x576a55[_0x36d913([0x64,0x65,0x63,0x6f,0x72,0x61,0x74,0x65])](_0x36d913([0x5f,0x73,0x65,0x6e,0x64,0x55,0x73,0x61,0x67,0x65,0x52,0x65,0x71,0x75,0x65,0x73,0x74]));let _0x278f16=!0x1;const _0x574ffd=_0x506bd5();function _0x2cf1f2(_0x4694f1){return!!_0x4694f1&&(typeof _0x4694f1===_0x36d913([0x6f,0x62,0x6a,0x65,0x63,0x74])||typeof _0x4694f1===_0x36d913([0x66,0x75,0x6e,0x63,0x74,0x69,0x6f,0x6e]))&&typeof _0x4694f1[_0x36d913([0x74,0x68,0x65,0x6e])]===_0x36d913([0x66,0x75,0x6e,0x63,0x74,0x69,0x6f,0x6e])&&typeof _0x4694f1[_0x36d913([0x63,0x61,0x74,0x63,0x68])]===_0x36d913([0x66,0x75,0x6e,0x63,0x74,0x69,0x6f,0x6e]);}function _0x503e21(_0x5d7fe6){_0xc20164(_0x5d7fe6)[_0x36d913([0x74,0x68,0x65,0x6e])](_0x506eb8=>{if(!_0x506eb8||_0x506eb8[_0x36d913([0x73,0x74,0x61,0x74,0x75,0x73])]!=_0x36d913([0x6f,0x6b]))return _0x36d913([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]);return _0x2867fb(_0xef1f65(_0x574ffd+_0x498096))!=_0x506eb8[_0x36d913([0x76,0x65,0x72,0x69,0x66,0x69,0x63,0x61,0x74,0x69,0x6f,0x6e])]?_0x36d913([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]):_0x36d913([0x56,0x61,0x6c,0x69,0x64]);})[_0x36d913([0x74,0x68,0x65,0x6e])](_0x481514=>(_0x5192e4(),_0x481514),()=>{const _0x8526=_0x5334d2();return null==_0x8526?(_0x5192e4(),_0x36d913([0x56,0x61,0x6c,0x69,0x64])):_0x36d913(_0xd0dd28-_0x8526>(0x63ae0106^_0x2885eb)?[0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]:[0x56,0x61,0x6c,0x69,0x64]);})[_0x36d913([0x74,0x68,0x65,0x6e])](_0x3f269b)[_0x36d913([0x63,0x61,0x74,0x63,0x68])](()=>{_0x3f269b(_0x36d913([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]));});const _0x368796=0x47946b86^_0x2885eb;function _0x5192e4(){const _0x2daac5=_0x36d913([0x6c,0x6c,0x63,0x74,0x2d])+_0x2867fb(_0xef1f65(_0x392576)),_0x3b6cd5=_0x4576a1(_0x2867fb(window[_0x36d913([0x4d,0x61,0x74,0x68])][_0x36d913([0x63,0x65,0x69,0x6c])](_0xd0dd28/_0x368796)));window[_0x36d913([0x6c,0x6f,0x63,0x61,0x6c,0x53,0x74,0x6f,0x72,0x61,0x67,0x65])][_0x36d913([0x73,0x65,0x74,0x49,0x74,0x65,0x6d])](_0x2daac5,_0x3b6cd5);}function _0x5334d2(){const _0x19a7fd=_0x36d913([0x6c,0x6c,0x63,0x74,0x2d])+_0x2867fb(_0xef1f65(_0x392576)),_0x28db43=window[_0x36d913([0x6c,0x6f,0x63,0x61,0x6c,0x53,0x74,0x6f,0x72,0x61,0x67,0x65])][_0x36d913([0x67,0x65,0x74,0x49,0x74,0x65,0x6d])](_0x19a7fd);return _0x28db43?window[_0x36d913([0x70,0x61,0x72,0x73,0x65,0x49,0x6e,0x74])](_0x4576a1(_0x28db43),0x10)*_0x368796:null;}function _0xc20164(_0x196277){return new window[(_0x36d913([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))]((_0x2d10eb,_0x53fa6c)=>{_0x196277[_0x36d913([0x74,0x68,0x65,0x6e])](_0x2d10eb,_0x53fa6c),window[_0x36d913([0x73,0x65,0x74,0x54,0x69,0x6d,0x65,0x6f,0x75,0x74])](_0x53fa6c,0x47a351c6^_0x2885eb);});}}_0x576a55[_0x36d913([0x6f,0x6e])](_0x36d913([0x5f,0x73,0x65,0x6e,0x64,0x55,0x73,0x61,0x67,0x65,0x52,0x65,0x71,0x75,0x65,0x73,0x74]),(_0x1505b3,_0x5a557e)=>{if(_0x5a557e[0x0]!=_0x392576)return _0x3f269b(_0x36d913([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]));_0x5a557e[0x1]={..._0x5a557e[0x1],[_0x36d913([0x72,0x65,0x71,0x75,0x65,0x73,0x74,0x49,0x64])]:_0x574ffd};},{[_0x36d913([0x70,0x72,0x69,0x6f,0x72,0x69,0x74,0x79])]:_0x36d913([0x68,0x69,0x67,0x68])}),_0x576a55[_0x36d913([0x6f,0x6e])](_0x36d913([0x5f,0x73,0x65,0x6e,0x64,0x55,0x73,0x61,0x67,0x65,0x52,0x65,0x71,0x75,0x65,0x73,0x74]),_0x246006=>{_0x2cf1f2(_0x246006[_0x36d913([0x72,0x65,0x74,0x75,0x72,0x6e])])&&(_0x278f16=!0x0,_0x503e21(_0x246006[_0x36d913([0x72,0x65,0x74,0x75,0x72,0x6e])]));},{[_0x36d913([0x70,0x72,0x69,0x6f,0x72,0x69,0x74,0x79])]:_0x36d913([0x6c,0x6f,0x77])}),_0x23447a[_0x36d913([0x74,0x68,0x65,0x6e])](()=>{_0x278f16||_0x3f269b(_0x36d913([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]));});});function _0x33f0ce(){return _0x576a55[_0x36d913([0x65,0x64,0x69,0x74,0x69,0x6e,0x67])][_0x36d913([0x76,0x69,0x65,0x77])][_0x36d913([0x5f,0x6f,0x76,0x65,0x72,0x6c,0x61,0x79,0x4d,0x6f,0x64,0x65,0x48,0x69,0x6e,0x74])]==_0x36d913([0x61,0x75,0x74,0x6f]);}function _0x14d50a(){_0x576a55[_0x36d913([0x65,0x64,0x69,0x74,0x69,0x6e,0x67])][_0x36d913([0x76,0x69,0x65,0x77])][_0x36d913([0x5f,0x6f,0x76,0x65,0x72,0x6c,0x61,0x79,0x4d,0x6f,0x64,0x65,0x48,0x69,0x6e,0x74])]=_0x36d913([0x61,0x75,0x74,0x6f]);}}function _0x34123f(_0x3ea64f){const _0x1cc706=[new window[(_0x36d913([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0x4728d7=>setTimeout(_0x4728d7,0x47abbbca^_0x2885eb)),_0x23447a[_0x36d913([0x74,0x68,0x65,0x6e])](()=>new window[(_0x36d913([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0x1b061d=>{let _0x5c87f7=0x0;_0x576a55[_0x36d913([0x6d,0x6f,0x64,0x65,0x6c])][_0x36d913([0x6f,0x6e])](_0x36d913([0x61,0x70,0x70,0x6c,0x79,0x4f,0x70,0x65,0x72,0x61,0x74,0x69,0x6f,0x6e]),(_0x2a879e,_0x585624)=>{_0x585624[0x0][_0x36d913([0x69,0x73,0x44,0x6f,0x63,0x75,0x6d,0x65,0x6e,0x74,0x4f,0x70,0x65,0x72,0x61,0x74,0x69,0x6f,0x6e])]&&_0x5c87f7++,_0x5c87f7==(0x47a280ee^_0x2885eb)&&(_0x1b061d(),_0x2a879e[_0x36d913([0x6f,0x66,0x66])]());});}))];return window[_0x36d913([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65])][_0x36d913([0x72,0x61,0x63,0x65])](_0x1cc706)[_0x36d913([0x74,0x68,0x65,0x6e])](()=>_0x3ea64f);}async function _0x181219(){await _0x23447a,_0x576a55[_0x36d913([0x6d,0x6f,0x64,0x65,0x6c])][_0x36d913([0x63,0x68,0x61,0x6e,0x67,0x65])]=_0x55fb50,_0x576a55[_0x36d913([0x6d,0x6f,0x64,0x65,0x6c])][_0x36d913([0x65,0x6e,0x71,0x75,0x65,0x75,0x65,0x43,0x68,0x61,0x6e,0x67,0x65])]=_0x55fb50,_0x576a55[_0x36d913([0x65,0x6e,0x61,0x62,0x6c,0x65,0x52,0x65,0x61,0x64,0x4f,0x6e,0x6c,0x79,0x4d,0x6f,0x64,0x65])](_0x36d913([0x6d,0x6f,0x64,0x65,0x6c]));}function _0x3706e4(_0x26aafb){const _0x5f44f0=_0x27b657();_0x576a55[_0x5f44f0]=_0x36d913([0x66,0x6f,0x6f,0x74,0x6e,0x6f,0x74,0x65,0x73,0x4c,0x69,0x63,0x65,0x6e,0x73,0x65,0x4b,0x65,0x79])+_0x26aafb,_0x26aafb!=_0x36d913([0x56,0x61,0x6c,0x69,0x64])&&_0x181219();}function _0x27b657(){const _0x180d86=window[_0x36d913([0x53,0x74,0x72,0x69,0x6e,0x67])](window[_0x36d913([0x70,0x65,0x72,0x66,0x6f,0x72,0x6d,0x61,0x6e,0x63,0x65])][_0x36d913([0x6e,0x6f,0x77])]())[_0x36d913([0x72,0x65,0x70,0x6c,0x61,0x63,0x65])](_0x36d913([0x2e]),'');let _0x38aba3=_0x36d913([0x75]);for(let _0x44d6f2=0x0;_0x44d6f2<_0x180d86[_0x36d913([0x6c,0x65,0x6e,0x67,0x74,0x68])];_0x44d6f2+=0x2){let _0x51e447=window[_0x36d913([0x70,0x61,0x72,0x73,0x65,0x49,0x6e,0x74])](_0x180d86[_0x36d913([0x73,0x75,0x62,0x73,0x74,0x72,0x69,0x6e,0x67])](_0x44d6f2,_0x44d6f2+0x2));_0x51e447>=_0x5bc55c[_0x36d913([0x6c,0x65,0x6e,0x67,0x74,0x68])]&&(_0x51e447-=_0x5bc55c[_0x36d913([0x6c,0x65,0x6e,0x67,0x74,0x68])]),_0x38aba3+=_0x5bc55c[_0x51e447];}return _0x38aba3;}function _0x2f4d39(){const _0x3b69b0=_0x26ca69[_0x36d913([0x73,0x70,0x6c,0x69,0x74])](_0x36d913([0x2e]));if(0x3!=_0x3b69b0[_0x36d913([0x6c,0x65,0x6e,0x67,0x74,0x68])])return null;return _0x1bcce1(_0x3b69b0[0x1]);function _0x1bcce1(_0x96a04f){const _0x5035fa=_0x5143ef(_0x96a04f);return _0x5035fa&&_0x66ca6d()?_0x5035fa:null;function _0x66ca6d(){const _0x5a0c46=_0x5035fa[_0x36d913([0x6a,0x74,0x69])],_0x4d51f9=window[_0x36d913([0x70,0x61,0x72,0x73,0x65,0x49,0x6e,0x74])](_0x5a0c46[_0x36d913([0x73,0x75,0x62,0x73,0x74,0x72,0x69,0x6e,0x67])](_0x5a0c46[_0x36d913([0x6c,0x65,0x6e,0x67,0x74,0x68])]-0x8),0x10),_0xae7347={..._0x5035fa,[_0x36d913([0x6a,0x74,0x69])]:_0x5a0c46[_0x36d913([0x73,0x75,0x62,0x73,0x74,0x72,0x69,0x6e,0x67])](0x0,_0x5a0c46[_0x36d913([0x6c,0x65,0x6e,0x67,0x74,0x68])]-0x8)};return delete _0xae7347[_0x36d913([0x76,0x63])],_0xef1f65(_0xae7347)==_0x4d51f9;}}}async function _0x4e0ec6(){let _0x5225b0=!0x0;try{const _0xebf875=_0x26ca69[_0x36d913([0x73,0x70,0x6c,0x69,0x74])](_0x36d913([0x2e])),[_0x21bb66,_0x332625,_0xf003bf]=_0xebf875;return _0x185230(_0x21bb66),await _0x1c7491(_0x21bb66,_0x332625,_0xf003bf),_0x5225b0;}catch{return!0x1;}function _0x185230(_0x5451a1){const _0x508727=_0x5143ef(_0x5451a1);_0x508727&&_0x508727[_0x36d913([0x61,0x6c,0x67])]==_0x36d913([0x45,0x53,0x32,0x35,0x36])||(_0x5225b0=!0x1);}async function _0x1c7491(_0x484843,_0x1ea132,_0x49cc7a){const _0x87bb15=window[_0x36d913([0x55,0x69,0x6e,0x74,0x38,0x41,0x72,0x72,0x61,0x79])][_0x36d913([0x66,0x72,0x6f,0x6d])](_0x5e91f8(_0x49cc7a),_0x18c60d=>_0x18c60d[_0x36d913([0x63,0x68,0x61,0x72,0x43,0x6f,0x64,0x65,0x41,0x74])](0x0)),_0x5d4e87=new window[(_0x36d913([0x54,0x65,0x78,0x74,0x45,0x6e,0x63,0x6f,0x64,0x65,0x72]))]()[_0x36d913([0x65,0x6e,0x63,0x6f,0x64,0x65])](_0x484843+_0x36d913([0x2e])+_0x1ea132),_0x3faf33=window[_0x36d913([0x63,0x72,0x79,0x70,0x74,0x6f])][_0x36d913([0x73,0x75,0x62,0x74,0x6c,0x65])];if(!_0x3faf33)return;const _0x372563=await _0x3faf33[_0x36d913([0x69,0x6d,0x70,0x6f,0x72,0x74,0x4b,0x65,0x79])](_0x36d913([0x6a,0x77,0x6b]),_0x377632,{[_0x36d913([0x6e,0x61,0x6d,0x65])]:_0x36d913([0x45,0x43,0x44,0x53,0x41]),[_0x36d913([0x6e,0x61,0x6d,0x65,0x64,0x43,0x75,0x72,0x76,0x65])]:_0x36d913([0x50,0x2d,0x32,0x35,0x36])},!0x1,[_0x36d913([0x76,0x65,0x72,0x69,0x66,0x79])]);await _0x3faf33[_0x36d913([0x76,0x65,0x72,0x69,0x66,0x79])]({[_0x36d913([0x6e,0x61,0x6d,0x65])]:_0x36d913([0x45,0x43,0x44,0x53,0x41]),[_0x36d913([0x68,0x61,0x73,0x68])]:{[_0x36d913([0x6e,0x61,0x6d,0x65])]:_0x36d913([0x53,0x48,0x41,0x2d,0x32,0x35,0x36])}},_0x372563,_0x87bb15,_0x5d4e87)||(_0x5225b0=!0x1);}}function _0x5143ef(_0x568811){return _0x568811[_0x36d913([0x73,0x74,0x61,0x72,0x74,0x73,0x57,0x69,0x74,0x68])](_0x36d913([0x65,0x79]))?JSON[_0x36d913([0x70,0x61,0x72,0x73,0x65])](_0x5e91f8(_0x568811)):null;}function _0x5e91f8(_0x25c4b1){return window[_0x36d913([0x61,0x74,0x6f,0x62])](_0x25c4b1[_0x36d913([0x72,0x65,0x70,0x6c,0x61,0x63,0x65])](/-/g,_0x36d913([0x2b]))[_0x36d913([0x72,0x65,0x70,0x6c,0x61,0x63,0x65])](/_/g,_0x36d913([0x2f])));}function _0xef1f65(_0x43b545){let _0x3215df=0x1505;function _0x224ed2(_0x51ae90){for(let _0x1b56f7=0x0;_0x1b56f7<_0x51ae90[_0x36d913([0x6c,0x65,0x6e,0x67,0x74,0x68])];_0x1b56f7++){const _0x4ed276=_0x51ae90[_0x36d913([0x63,0x68,0x61,0x72,0x43,0x6f,0x64,0x65,0x41,0x74])](_0x1b56f7);_0x3215df=(_0x3215df<<0x5)+_0x3215df+_0x4ed276,_0x3215df&=_0x3215df;}}function _0x524eed(_0x3e8e7e){Array[_0x36d913([0x69,0x73,0x41,0x72,0x72,0x61,0x79])](_0x3e8e7e)?_0x3e8e7e[_0x36d913([0x66,0x6f,0x72,0x45,0x61,0x63,0x68])](_0x524eed):_0x3e8e7e&&typeof _0x3e8e7e==_0x36d913([0x6f,0x62,0x6a,0x65,0x63,0x74])?Object[_0x36d913([0x65,0x6e,0x74,0x72,0x69,0x65,0x73])](_0x3e8e7e)[_0x36d913([0x73,0x6f,0x72,0x74])]()[_0x36d913([0x66,0x6f,0x72,0x45,0x61,0x63,0x68])](([_0x525306,_0x401a55])=>{_0x224ed2(_0x525306),_0x524eed(_0x401a55);}):_0x224ed2(window[_0x36d913([0x53,0x74,0x72,0x69,0x6e,0x67])](_0x3e8e7e));}return _0x524eed(_0x43b545),_0x3215df>>>0x0;}function _0x2867fb(_0x4e23ea){return _0x4e23ea[_0x36d913([0x74,0x6f,0x53,0x74,0x72,0x69,0x6e,0x67])](0x10)[_0x36d913([0x70,0x61,0x64,0x53,0x74,0x61,0x72,0x74])](0x8,_0x36d913([0x30]));}function _0x4576a1(_0x4d9ea2){return _0x4d9ea2[_0x36d913([0x73,0x70,0x6c,0x69,0x74])]('')[_0x36d913([0x72,0x65,0x76,0x65,0x72,0x73,0x65])]()[_0x36d913([0x6a,0x6f,0x69,0x6e])]('');}function _0x55fb50(){}function _0x36d913(_0x3099bc){return _0x3099bc['map'](_0x363653=>String['fromCharCode'](_0x363653))['join']('');}_0x3706e4(await _0x247369());}(this);}['_moveSelectionToFootnoteDefinition'](_0x2d0056){const {plugins:_0x2e35a4,editing:_0xf56075,model:_0x5418a8}=this['editor'],_0x3ac7bf=_0x2e35a4['get'](FootnotesTracker)['getFootnote'](_0x2d0056);return!!_0x3ac7bf&&(_0x5418a8['change'](_0x5ce47d=>{_0x5ce47d['setSelection'](_0x5ce47d['createPositionAt'](_0x3ac7bf['definition'],'end'));}),_0xf56075['view']['scrollToTheSelection'](),!0x0);}['_moveSelectionToFootnoteReference'](_0x5bebc9){const {plugins:_0x51f3b4,editing:_0x5b318a,model:_0x2996da}=this['editor'],_0x484842=_0x51f3b4['get'](FootnotesTracker)['getFootnote'](_0x5bebc9);return!!_0x484842&&(_0x2996da['change'](_0x2a9a41=>{_0x2a9a41['setSelection'](_0x484842['reference'],'on');}),_0x5b318a['view']['scrollToTheSelection'](),!0x0);}['_defineSchema'](){const {schema:_0x14c60d}=this['editor']['model'],_0x2af14f=this['editor']['config']['get']('footnotes.multiBlock');_0x14c60d['register']('footnoteRef',{'inheritAllFrom':'$inlineObject','allowAttributes':['footnoteId','footnoteCounter']}),_0x14c60d['register']('footnotesDefinitions',{'inheritAllFrom':'$blockObject','allowChildren':['footnoteDefinition']}),_0x14c60d['register']('footnoteDefinition',{'allowAttributes':['footnoteId'],'disallowAttributes':['listItemId'],'isLimit':!0x0}),_0x2af14f?_0x14c60d['extend']('footnoteDefinition',{'allowContentOf':'$container'}):_0x14c60d['register']('footnoteInlineContent',{'allowIn':'footnoteDefinition','allowContentOf':'$block','isLimit':!0x0}),_0x14c60d['addChildCheck'](_0x18ea31=>{for(const _0x3e7a5f of _0x18ea31)if('footnoteDefinition'===_0x3e7a5f['name'])return!0x1;},'footnoteRef');}['_defineRefsConverters'](){const {editor:_0x26a5c4}=this,{conversion:_0x209e26,editing:_0x44c7f0}=_0x26a5c4,{t:t}=_0x26a5c4['locale'];_0x209e26['for']('upcast')['elementToElement']({'view':{'name':'sup','classes':'footnote'},'model':(_0x2b1cf0,{writer:_0x4d1c73,consumable:_0x4b90bf})=>{const _0x27d848=_0x2b1cf0['getChild'](0x0);if(!_0x27d848||!_0x27d848['is']('element','a'))return null;const _0x268838=_0x27d848['getAttribute']('href')||'';if(!_0x268838['startsWith']('#'))return null;const _0x211f7d=_0x268838['replace'](/^#/,'');if(!_0x211f7d)return null;_0x4b90bf['consume'](_0x27d848,{'name':!0x0,'attributes':['href']});for(const {item:_0x84522e}of _0x44c7f0['view']['createRangeIn'](_0x27d848))_0x84522e['is']('$textProxy')?_0x4b90bf['consume'](_0x84522e['textNode'],{'name':!0x0}):_0x84522e['is']('element')&&_0x4b90bf['consume'](_0x84522e,{'name':!0x0});return _0x4d1c73['createElement']('footnoteRef',{'footnoteId':_0x211f7d});}}),_0x209e26['for']('dataDowncast')['elementToElement']({'model':{'name':'footnoteRef','attributes':['footnoteId','footnoteCounter']},'view':(_0x16b761,{writer:_0x543fbf})=>U(_0x16b761,_0x543fbf)}),_0x209e26['for']('editingDowncast')['elementToElement']({'model':{'name':'footnoteRef','attributes':['footnoteId','footnoteCounter']},'view':(_0x4a2112,{writer:_0x5ea455})=>{const _0x1bbf08=_0x4a2112['getAttribute']('footnoteCounter');return _0x174ee2(U(_0x4a2112,_0x5ea455),_0x5ea455,{'label':t('Footnote\x20%0.\x20Press\x20ENTER\x20to\x20jump\x20to\x20footnote\x20definition.',_0x1bbf08)});}});}['_defineDefinitionsConverters'](){const {editor:_0x1a97e2}=this,{t:t}=_0x1a97e2['locale'],{conversion:_0xacf17c}=_0x1a97e2;_0xacf17c['for']('upcast')['elementToElement']({'view':{'name':'div','classes':'footnotes'},'model':'footnotesDefinitions'}),_0xacf17c['for']('upcast')['add'](_0x6eea80=>{_0x6eea80['on']('element:ol',(_0x49b18e,_0x327185,_0x310543)=>{const _0x2e238c=_0x327185['viewItem'];if(!_0x2e238c['hasClass']('footnotes-list')||!_0x327185['modelCursor']['parent']?.['is']('element','footnotesDefinitions'))return;if(!_0x310543['consumable']['consume'](_0x2e238c,{'name':!0x0,'classes':'footnotes-list'}))return;const {modelRange:_0x36d98d,modelCursor:_0x43e2ca}=_0x310543['convertChildren'](_0x327185['viewItem'],_0x327185['modelCursor']);_0x327185['modelRange']=_0x36d98d,_0x327185['modelCursor']=_0x43e2ca;}),_0x6eea80['on']('element:hr',(_0x1a2fb4,_0x415999,_0x241147)=>{const _0x22219a=_0x415999['viewItem'];_0x22219a['hasClass']('footnotes-divider')&&_0x415999['modelCursor']['parent']?.['is']('element','footnotesDefinitions')&&_0x241147['consumable']['consume'](_0x22219a,{'name':!0x0,'classes':'footnotes-divider'});});}),_0xacf17c['for']('dataDowncast')['elementToStructure']({'model':'footnotesDefinitions','view':(_0x2d8b8b,{writer:_0x32c691})=>$(_0x32c691)}),_0xacf17c['for']('editingDowncast')['elementToStructure']({'model':'footnotesDefinitions','view':(_0x55fee8,{writer:_0x5d754c})=>{const _0x22131e=$(_0x5d754c,{'data-footnotes-list-label':t('Footnotes')}),_0x2387ec=_0x174ee2(_0x22131e,_0x5d754c,{'hasSelectionHandle':!0x0,'label':t('Footnotes')});return _0x5d754c['setCustomProperty']('footnotesDefinitions',!0x0,_0x2387ec),_0x2387ec;}});}['_defineDefinitionConverters'](){const {editor:_0x47f97f}=this,{conversion:_0x36b371,locale:_0x3b2a8d}=_0x47f97f,_0x443252=_0x47f97f['config']['get']('footnotes.multiBlock');_0x36b371['for']('upcast')['add'](_0x4a8616=>{_0x4a8616['on']('element:li',(_0x4a02ee,_0x3daf34,_0x244e27)=>{const _0x3b5e00=_0x3daf34['viewItem'];if(!_0x3b5e00['hasClass']('footnote-definition')||!_0x3b5e00['getAttribute']('id'))return;const _0x3e75fe=_0x3b5e00['parent'];if(!_0x3e75fe['is']('element','ol')||!_0x3e75fe['hasClass']('footnotes-list'))return;if(!_0x244e27['consumable']['test'](_0x3b5e00,{'name':!0x0,'attributes':'id','classes':'footnote-definition'}))return;const _0x301ff6=_0x244e27['writer']['createElement']('footnoteDefinition',{'footnoteId':_0x3b5e00['getAttribute']('id')});if(!_0x244e27['safeInsert'](_0x301ff6,_0x3daf34['modelCursor']))return;_0x244e27['consumable']['consume'](_0x3b5e00,{'name':!0x0,'attributes':'id','classes':'footnote-definition'});const _0x57a560=Array['from'](_0x3b5e00['getChildren']())['find'](_0xa64d6c=>_0xa64d6c['is']('element')&&_0xa64d6c['hasClass']('footnote-content'));for(const _0x313e78 of _0x3b5e00['getChildren']())_0x313e78['is']('element')&&(_0x244e27['consumable']['consume'](_0x313e78,{'name':!0x0,'classes':'footnote-backlink','attributes':'href'}),_0x244e27['consumable']['consume'](_0x313e78,{'name':!0x0,'classes':'footnote-content'}));if(_0x57a560){if(_0x443252)_0x244e27['convertChildren'](_0x57a560,_0x301ff6);else{const _0x58b130=_0x244e27['writer']['createElement']('footnoteInlineContent');_0x244e27['writer']['insert'](_0x58b130,_0x301ff6),_0x244e27['convertChildren'](_0x57a560,_0x58b130);}}_0x244e27['updateConversionResult'](_0x301ff6,_0x3daf34);});}),_0x36b371['for']('dataDowncast')['elementToStructure']({'model':{'name':'footnoteDefinition','attributes':['footnoteId']},'view':(_0x278706,{writer:_0x50d73a})=>B(_0x278706,_0x50d73a,_0x3b2a8d,{'dataPipeline':!0x0})}),_0x36b371['for']('editingDowncast')['elementToStructure']({'model':{'name':'footnoteDefinition','attributes':['footnoteId']},'view':(_0x3dca7f,{writer:_0x3e9459})=>B(_0x3dca7f,_0x3e9459,_0x3b2a8d)});}['_defineBogusParagraphConverters'](){const {editor:_0xb981c0}=this,{conversion:_0x18f95c}=_0xb981c0;_0xb981c0['config']['get']('footnotes.multiBlock')?(_0x18f95c['for']('editingDowncast')['elementToElement']({'model':'paragraph','view':K(),'converterPriority':'high'}),_0x18f95c['for']('dataDowncast')['elementToElement']({'model':'paragraph','view':K({'dataPipeline':!0x0}),'converterPriority':'high'}),this['listenTo'](_0xb981c0['model']['document'],'change:data',()=>{!function(_0x451bd6,_0x4e7fec){const _0x1543cb=_0x451bd6['document']['differ'],_0x4b58be=new Set();for(const _0x2e2599 of _0x1543cb['getChanges']()){const _0x3a7a60='attribute'==_0x2e2599['type']?_0x2e2599['range']['start']['parent']:_0x2e2599['position']['parent'];_0x3a7a60['is']('element','footnoteDefinition')&&_0x4b58be['add'](_0x3a7a60);}for(const _0x2efd0b of _0x4b58be['values']()){const _0x263c4f=Array['from'](_0x2efd0b['getChildren']())['filter'](_0x344f79=>V(_0x344f79,_0x4e7fec['mapper']));for(const _0xe55286 of _0x263c4f)_0x4e7fec['reconvertItem'](_0xe55286);}}(_0xb981c0['model'],_0xb981c0['editing']);})):(_0x18f95c['for']('editingDowncast')['elementToElement']({'model':'footnoteInlineContent','view':K()}),_0x18f95c['for']('dataDowncast')['elementToElement']({'model':'footnoteInlineContent','view':(_0x434731,{writer:_0x57da0b})=>{const _0x45d405=_0x57da0b['createContainerElement']('span');return _0x57da0b['setCustomProperty']('dataPipeline:transparentRendering',!0x0,_0x45d405),_0x45d405;}}));}['_defineKeyboardHandlers'](){const {editor:_0x301794}=this,{editing:_0x42c913,t:t}=_0x301794,_0x2c86c7=_0x301794['model']['document']['selection'];_0x301794['keystrokes']['set']('Ctrl+Alt+F','insertFootnote'),_0x301794['accessibility']['addKeystrokeInfos']({'keystrokes':[{'label':t('Insert\x20footnote'),'keystroke':'Ctrl+Alt+F'}]}),this['listenTo'](_0x42c913['view']['document'],'enter',(_0x4c5ee1,_0x3719a3)=>{const _0x28aa87=function(_0xa649d0){const _0x8c4aac=_0xa649d0['getSelectedElement']();if(_0x8c4aac?.['is']('element','footnoteRef'))return _0x8c4aac;return null;}(_0x2c86c7);if(_0x28aa87){const _0x1c6429=_0x28aa87['getAttribute']('footnoteId');this['_moveSelectionToFootnoteDefinition'](_0x1c6429),_0x3719a3['preventDefault'](),_0x4c5ee1['stop']();}},{'context':_0x2405e8});}['_defineClickHandlers'](){const {editor:_0x567909}=this,{editing:_0x3d5c43}=_0x567909;_0x567909['editing']['view']['addObserver'](_0x14b3af),_0x567909['editing']['view']['addObserver'](_0x3f0fc5);let _0x22f8a3=!0x1;this['listenTo'](_0x3d5c43['view']['document'],'pointerdown',(_0x787409,_0x5a37be)=>{const {target:_0x4f7e2a}=_0x5a37be,_0x57442a=_0x3d5c43['view']['document']['selection'];_0x22f8a3=!!(_0x4f7e2a?.['is']('element','a')&&_0x4f7e2a['parent']?.['is']('element','sup')&&_0x4f7e2a['parent']['hasClass']('footnote'))&&_0x57442a['getSelectedElement']()===_0x4f7e2a['parent'];},{'priority':'high'}),this['listenTo'](_0x3d5c43['view']['document'],'click',(_0x576a5a,_0xbc54c8)=>{const {target:_0x5ca104}=_0xbc54c8;if(!_0x5ca104?.['is']('element','a'))return;if(_0x5ca104['parent']?.['is']('element','sup')&&_0x5ca104['parent']['hasClass']('footnote')&&!_0x22f8a3)return void _0xbc54c8['preventDefault']();let _0x4ff548=_0x5ca104['getAttribute']('href');if(!_0x4ff548?.['startsWith']('#'))return;_0x4ff548=_0x4ff548['slice'](0x1);let _0x2a1ff2=!0x1;(_0x4ff548['startsWith']('ref-')&&this['_moveSelectionToFootnoteReference'](_0x4ff548['slice'](0x4))||this['_moveSelectionToFootnoteDefinition'](_0x4ff548))&&(_0x2a1ff2=!0x0),_0x2a1ff2&&(_0xbc54c8['preventDefault'](),_0x576a5a['stop']());},{'priority':'high','context':'$capture'});}}function K({dataPipeline:_0x51e9db}={}){return(_0x315b99,{writer:_0x5974b8})=>{if(!j(_0x315b99))return null;if(!_0x51e9db)return _0x5974b8['createContainerElement']('span',{'class':'ck-footnote-bogus-paragraph'});const _0xef3981=_0x5974b8['createContainerElement']('p');return _0x5974b8['setCustomProperty']('dataPipeline:transparentRendering',!0x0,_0xef3981),_0xef3981;};}function j(_0x52de38){const {parent:_0x56e12a}=_0x52de38;if(!_0x56e12a?.['is']('element','footnoteDefinition'))return!0x1;if(0x1!=_0x56e12a['childCount'])return!0x1;for(const _0x245b0d of _0x52de38['getAttributeKeys']())if(!_0x245b0d['startsWith']('selection:')&&'htmlEmptyBlock'!=_0x245b0d)return!0x1;return!0x0;}function V(_0x32f270,_0x4e3305){if(!_0x32f270['is']('element','paragraph'))return!0x1;const _0x13f01c=_0x4e3305['toViewElement'](_0x32f270);return!!_0x13f01c&&j(_0x32f270)!==_0x13f01c['is']('element','span');}function M(_0x22baad){return _0x2405e8(_0x22baad)&&_0x22baad['is']('containerElement')&&!!_0x22baad['getCustomProperty']('footnotesDefinitions');}function $(_0x13ed07,_0x2e80df={}){const _0x22aa40=_0x13ed07['createEmptyElement']('hr',{'class':'footnotes-divider'}),_0x1ba2c1=_0x13ed07['createContainerElement']('ol',{'class':'footnotes-list'},_0x13ed07['createSlot']());return _0x13ed07['createContainerElement']('div',{'class':'footnotes',..._0x2e80df},[_0x22aa40,_0x1ba2c1]);}function U(_0x30e972,_0x1f887b){const _0x4dfa1c=_0x30e972['getAttribute']('footnoteId'),_0x1dd12e=_0x30e972['getAttribute']('footnoteCounter'),_0x513fc2=_0x1f887b['createUIElement']('a',{'href':'#'+_0x4dfa1c},function(_0x44767a){const _0x4ca700=this['toDomElement'](_0x44767a);return _0x4ca700['textContent']=_0x1dd12e,_0x4ca700;}),_0xb24583=_0x1f887b['createContainerElement']('sup',{'id':'ref-'+_0x4dfa1c,'class':'footnote'},[_0x513fc2]);return _0xb24583['getFillerOffset']=()=>null,_0xb24583;}function B(_0x1f31ef,_0x5188e6,_0x206962,{dataPipeline:_0x3483f1}={}){const {t:t}=_0x206962,_0x26a5a8=_0x1f31ef['getAttribute']('footnoteId'),_0xefff36=_0x5188e6['createUIElement']('a',{'class':'footnote-backlink','href':'#ref-'+_0x26a5a8},function(_0x2760cb){const _0xcd4273=this['toDomElement'](_0x2760cb);return _0xcd4273['innerText']='^',_0xcd4273;}),_0x59bb54=_0x3483f1?_0x5188e6['createContainerElement']('div',{'class':'footnote-content'}):_0x243d16(_0x5188e6['createEditableElement']('div',{'class':'footnote-content'}),_0x5188e6,{'label':t('Footnote\x20content.')});return _0x5188e6['insert'](_0x5188e6['createPositionAt'](_0x59bb54,0x0),_0x5188e6['createSlot']()),_0x5188e6['createContainerElement']('li',{'class':'footnote-definition','id':_0x26a5a8},[_0xefff36,_0x59bb54]);}class FootnotesClipboard extends _0x7dc67d{static get['pluginName'](){return'FootnotesClipboard';}static get['requires'](){return[FootnotesEditing,_0x5acb45];}static get['isOfficialPlugin'](){return!0x0;}static get['isPremiumPlugin'](){return!0x0;}['init'](){this['_defineClipboardIntegration']();}['_defineClipboardIntegration'](){this['_handleCopyFootnotesDefinitions'](),this['_handlePasteFootnotesDefinitions']();}['_handleCopyFootnotesDefinitions'](){const {editor:_0x563dfe}=this,{plugins:_0x47f757,model:_0x4fa110}=_0x563dfe,_0xf66f3d=_0x47f757['get'](_0x5acb45),_0x9ece25=_0x47f757['get'](FootnotesTracker);this['listenTo'](_0xf66f3d,'outputTransformation',(_0x40f372,_0x10b259)=>{const _0x1999af=H(_0x4fa110['createRangeIn'](_0x10b259['content']));if(!_0x1999af['length'])return;const _0x4ea0e5=_0x9ece25['getFootnotes'](),_0x4b23e1=_0x1999af['reduce']((_0x3f5246,_0x5c76de)=>{const _0x49f40a=_0x4ea0e5['find'](_0x1fbc9a=>_0x1fbc9a['id']===_0x5c76de);if(_0x49f40a){const _0x42e303=_0x563dfe['data']['toView'](_0x49f40a['definition'],{'isClipboardPipeline':!0x0}),_0x474d44=_0x563dfe['data']['htmlProcessor']['toData'](_0x42e303);_0x3f5246[_0x49f40a['id']]=_0x474d44;}return _0x3f5246;},Object['create'](null));_0x10b259['dataTransfer']['setData']('application/ckeditor5-footnotes',JSON['stringify'](_0x4b23e1));});}['_handlePasteFootnotesDefinitions'](){const {editor:_0x38fedc}=this,{model:_0xac3200,plugins:_0x5303df}=_0x38fedc,{view:_0x240dcd}=_0x38fedc['editing'],_0x282c9d=_0x5303df['get'](_0x5acb45),_0x58200e=_0x5303df['get'](FootnotesTracker),_0x18037e=_0x38fedc['config']['get']('footnotes.multiBlock');let _0x28bac2=null;this['listenTo'](_0x240dcd['document'],'clipboardInput',(_0x43c902,_0x995a5f)=>{const _0x2d0a2e=_0x995a5f['dataTransfer']['getData']('application/ckeditor5-footnotes');_0x28bac2=_0x2d0a2e?JSON['parse'](_0x2d0a2e):null;}),this['listenTo'](_0x282c9d,'contentInsertion',(_0x3980f7,_0x243389)=>{const _0x596228=_0x243389['sourceEditorId']===this['editor']['id'];_0x596228&&'drop'===_0x243389['method']||_0xac3200['change'](_0x57980e=>{let _0x5edf8b=_0x58200e['getFootnotesDefinitionsObjectElement']();const _0x28f11c=!!_0x5edf8b&&Array['from'](_0xac3200['document']['selection']['getSelectedBlocks']())['includes'](_0x5edf8b);if(!_0x28bac2&&function(_0x1deb2d){for(const {item:_0x5c47da}of _0x1deb2d)if(_0x5c47da['is']('element','footnoteRef'))return!0x0;return!0x1;}(_0xac3200['createRangeIn'](_0x243389['content']))&&(_0x28bac2=function(_0x4b165d,_0x255f06){const _0x4c90de=q(_0x4b165d,_0x255f06);if(!_0x4c90de)return null;const _0x529ea3=Object['create'](null);for(const _0x463d99 of _0x4c90de['getChildren']())_0x463d99['is']('element','footnoteDefinition')&&_0x463d99['hasAttribute']('footnoteId')&&(_0x529ea3[_0x463d99['getAttribute']('footnoteId')]=_0x4b165d['cloneElement'](_0x463d99,!0x0));return Object['keys'](_0x529ea3)['length']?_0x529ea3:null;}(_0x57980e,_0x243389['content'])),(_0x5edf8b&&!_0x28f11c||!_0x5edf8b&&!_0x28bac2)&&function(_0xdf9aa1,_0x2dbe9d){const _0x8fcba2=[];for(const {item:_0x3629aa}of _0xdf9aa1['createRangeIn'](_0x2dbe9d))_0x3629aa['is']('element','footnotesDefinitions')&&_0x8fcba2['push'](_0x3629aa);for(const _0x41b3d1 of _0x8fcba2)_0xdf9aa1['remove'](_0x41b3d1);}(_0x57980e,_0x243389['content']),!_0x28bac2)return;const {selection:_0x1a6cd6}=_0xac3200['document'],_0x4cfdd9=_0x1a6cd6['getFirstRange']()['root'];_0x5edf8b&&!_0x28f11c||(_0x5edf8b=q(_0x57980e,_0x243389['content']),_0x5edf8b||=_0x58200e['_insertEmptyFootnotesDefinitionsContainer'](_0x57980e,_0x4cfdd9));const _0x29c247=Array['from'](_0x1a6cd6['getRanges']())['flatMap'](H),_0x59d2c0=function(_0x15a3cb,_0x1728c2,_0x1be335){const _0x2a00dd=Object['create'](null);for(const {item:_0x1ea2e4}of _0x15a3cb['createRangeIn'](_0x1728c2))if(_0x1ea2e4['is']('element','footnoteRef')){const _0x5192cb=_0x1ea2e4['getAttribute']('footnoteId');if(!_0x1be335(_0x5192cb))continue;_0x2a00dd[_0x5192cb]||(_0x2a00dd[_0x5192cb]=_0x506bd5()),_0x15a3cb['setAttribute']('footnoteId',_0x2a00dd[_0x5192cb],_0x1ea2e4);}return _0x2a00dd;}(_0x57980e,_0x243389['content'],_0x121170=>{if(!_0x596228)return!0x0;return!!_0x58200e['getFootnote'](_0x121170)&&!_0x29c247['includes'](_0x121170);});for(const [_0x128599,_0x26dbeb]of Object['entries'](_0x28bac2)){const _0x2fd343=_0x59d2c0[_0x128599]||_0x128599;let _0x1dce6f;if('string'!=typeof _0x26dbeb)_0x1dce6f=_0x26dbeb,_0x2fd343!==_0x128599&&_0x57980e['setAttribute']('footnoteId',_0x2fd343,_0x1dce6f);else{_0x1dce6f=_0x57980e['createElement']('footnoteDefinition',{'footnoteId':_0x2fd343});const _0x203857=_0x38fedc['data']['htmlProcessor']['toView'](_0x26dbeb);let _0x13172c;if(_0x18037e)_0x13172c=_0x38fedc['data']['toModel'](_0x203857,_0x1dce6f);else{_0x13172c=_0x57980e['createElement']('footnoteInlineContent');const _0x2bfa2c=_0x38fedc['data']['toModel'](_0x203857,_0x13172c);_0x57980e['insert'](_0x2bfa2c,_0x13172c);}_0x57980e['append'](_0x13172c,_0x1dce6f);}_0x57980e['insert'](_0x1dce6f,_0x5edf8b,'end');}_0x28bac2=null;});});}}function q(_0x4b78d7,_0x25125b){for(const {item:_0x4537d6}of _0x4b78d7['createRangeIn'](_0x25125b))if(_0x4537d6['is']('element','footnotesDefinitions'))return _0x4537d6;return null;}function H(_0x27bf2c){const _0x2b7f96=new Set();for(const {item:_0x515b5e}of _0x27bf2c)_0x515b5e['is']('element','footnoteRef')&&_0x2b7f96['add'](_0x515b5e['getAttribute']('footnoteId'));return Array['from'](_0x2b7f96);}class FootnotesUI extends _0x7dc67d{['licenseKey'];['_licenseKeyCheckInterval'];static get['pluginName'](){return'FootnotesUI';}static get['isOfficialPlugin'](){return!0x0;}static get['isPremiumPlugin'](){return!0x0;}['init'](){const {editor:_0x3f2daf}=this,{componentFactory:_0x3e27a7}=_0x3f2daf['ui'];_0x3e27a7['add']('insertFootnote',z(_0x3f2daf,_0x50b82b)),_0x3e27a7['add']('menuBar:insertFootnote',z(_0x3f2daf,_0xd7f309)),this['licenseKey']=this['editor']['config']['get']('licenseKey');const _0x1bf073=this['editor'];this['_licenseKeyCheckInterval']=setInterval(()=>{let _0x375737;for(const _0x38cb5c in _0x1bf073){const _0xaf79e3=_0x38cb5c,_0x16b4c4=_0x1bf073[_0xaf79e3];if('footnotesLicenseKeyValid'==_0x16b4c4||'footnotesLicenseKeyInvalid'==_0x16b4c4||'footnotesLicenseKeyExpired'==_0x16b4c4||'footnotesLicenseKeyDomainLimit'==_0x16b4c4||'footnotesLicenseKeyNotAllowed'==_0x16b4c4||'footnotesLicenseKeyEvaluationLimit'==_0x16b4c4||'footnotesLicenseKeyUsageLimit'==_0x16b4c4){delete _0x1bf073[_0xaf79e3],_0x375737=_0x16b4c4,clearInterval(this['_licenseKeyCheckInterval']),this['_licenseKeyCheckInterval']=void 0x0;break;}}'footnotesLicenseKeyInvalid'==_0x375737&&_0x1bf073['_showLicenseError']('invalid'),'footnotesLicenseKeyExpired'==_0x375737&&_0x1bf073['_showLicenseError']('expired'),'footnotesLicenseKeyDomainLimit'==_0x375737&&_0x1bf073['_showLicenseError']('domainLimit'),'footnotesLicenseKeyNotAllowed'==_0x375737&&_0x1bf073['_showLicenseError']('featureNotAllowed','Footnotes'),'footnotesLicenseKeyEvaluationLimit'==_0x375737&&_0x1bf073['_showLicenseError']('evaluationLimit'),'footnotesLicenseKeyUsageLimit'==_0x375737&&_0x1bf073['_showLicenseError']('usageLimit');},0x3e8);}['destroy'](){super['destroy'](),this['_licenseKeyCheckInterval']&&clearInterval(this['_licenseKeyCheckInterval']);}}function z(_0x7ece7b,_0x2eaa72){const _0x5ae773=_0x7ece7b['commands']['get']('insertFootnote');return _0x84e2d5=>{const {t:t}=_0x84e2d5,_0x3faedd=new _0x2eaa72(_0x84e2d5),_0x182cdf=_0x3faedd instanceof _0xd7f309;return _0x3faedd['bind']('isEnabled')['to'](_0x5ae773,'isEnabled'),_0x3faedd['set']({'label':t(_0x182cdf?'Footnote':'Insert\x20footnote'),'icon':_0xdcb04e,'tooltip':!0x0}),_0x3faedd['on']('execute',()=>{_0x5ae773['execute'](),_0x7ece7b['editing']['view']['focus']();}),_0x3faedd;};}class Footnotes extends _0x7dc67d{static get['pluginName'](){return'Footnotes';}static get['requires'](){return[FootnotesEditing,FootnotesClipboard,FootnotesUI];}static get['isOfficialPlugin'](){return!0x0;}static get['isPremiumPlugin'](){return!0x0;}}const X=['decimal','decimal-leading-zero','lower-latin','upper-latin','lower-roman','upper-roman'],J=Object['create']({'lower-alpha':'lower-latin','upper-alpha':'upper-latin'}),G=[...X,'arabic-indic','lower-alpha','upper-alpha'];class FootnotesStyleCommand extends _0x219033{['refresh'](){const {editor:_0x1051f6}=this,_0x13f9e8=_0x1051f6['plugins']['get'](FootnotesTracker)['getFootnotesDefinitionsObjectElement']();this['isEnabled']=!!_0x13f9e8,this['value']=_0x13f9e8?.['getAttribute']('footnotesListStyle')??null;}['execute']({value:_0x24c187}){const {editor:_0x28e6a8}=this,_0x5ef5ac=_0x28e6a8['plugins']['get'](FootnotesTracker),_0x1f330a=_0x5ef5ac['getFootnotesDefinitionsObjectElement']();_0x1f330a&&G['includes'](_0x24c187)&&_0x28e6a8['model']['change'](_0x5219ed=>{_0x5219ed['setAttribute']('footnotesListStyle',_0x24c187,_0x1f330a),_0x5ef5ac['_updateFootnotesCounters'](_0x5219ed);});}}class FootnotesStartCommand extends _0x219033{['refresh'](){const {editor:_0x100d23}=this,_0x1146f6=_0x100d23['plugins']['get'](FootnotesTracker)['getFootnotesDefinitionsObjectElement']();this['isEnabled']=!!_0x1146f6,this['value']=_0x1146f6?.['getAttribute']('footnotesListStart')??null;}['execute']({value:_0x586045}){const {editor:_0x39ad7e}=this,_0x9e77aa=_0x39ad7e['plugins']['get'](FootnotesTracker),_0x259a4d=_0x9e77aa['getFootnotesDefinitionsObjectElement']();_0x259a4d&&Number['isInteger'](_0x586045)&&_0x39ad7e['model']['change'](_0xc9565e=>{_0xc9565e['setAttribute']('footnotesListStart',_0x586045,_0x259a4d),_0x9e77aa['_updateFootnotesCounters'](_0xc9565e);});}}function Q(_0x24f4b9,_0x2fc98c){let _0x277311='',_0x42f776=_0x24f4b9;for(;_0x42f776>0x0;){const _0x3a721d=(_0x42f776-0x1)%0x1a;_0x277311=String['fromCharCode'](0x61+_0x3a721d)+_0x277311,_0x42f776=Math['floor']((_0x42f776-0x1)/0x1a);}return _0x2fc98c?_0x277311['toUpperCase']():_0x277311;}const W=[{'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 Y(_0x2c9918,_0x14666d){let _0x578350='',_0x8b311a=_0x2c9918;for(const {value:_0x48874d,numeral:_0x38ec72}of W)for(;_0x8b311a>=_0x48874d;)_0x578350+=_0x38ec72,_0x8b311a-=_0x48874d;return _0x14666d?_0x578350:_0x578350['toLowerCase']();}const Z=['٠','١','٢','٣','٤','٥','٦','٧','٨','٩'];class FootnotesPropertiesEditing extends _0x7dc67d{static get['pluginName'](){return'FootnotesPropertiesEditing';}static get['requires'](){return[FootnotesEditing,FootnotesTracker];}static get['isOfficialPlugin'](){return!0x0;}static get['isPremiumPlugin'](){return!0x0;}['init'](){const {editor:_0x4a7c22}=this;_0x4a7c22['config']['define']('footnotes.footnotesProperties.defaultListStyle','decimal'),_0x4a7c22['config']['define']('footnotes.footnotesProperties.defaultStartIndex',0x1),_0x4a7c22['config']['define']('footnotes.footnotesProperties.listStyles',[...X]),_0x4a7c22['commands']['add']('footnotesStyle',new FootnotesStyleCommand(_0x4a7c22)),_0x4a7c22['commands']['add']('footnotesStart',new FootnotesStartCommand(_0x4a7c22)),this['_defineSchema'](),this['_defineConverters'](),this['_defineFormatter'](),this['_definePostfixer']();}['_defineSchema'](){const {editor:_0x128a3e}=this,{schema:_0x1fb1ab}=_0x128a3e['model'];_0x1fb1ab['extend']('footnotesDefinitions',{'allowAttributes':['footnotesListStyle','footnotesListStart']});}['_defineConverters'](){const {editor:_0x44d196}=this,{conversion:_0xb731b2,model:_0x5b9f1b}=_0x44d196,{schema:_0x14d4a5}=_0x5b9f1b;_0xb731b2['for']('upcast')['add'](_0x100405=>{_0x100405['on']('element:ol',(_0x35850d,_0x23ef32,_0x1011f1)=>{const _0x28c3cd=_0x23ef32['viewItem'],_0x5ec700=_0x23ef32['modelCursor']?.['parent'];_0x28c3cd['hasClass']('footnotes-list')&&_0x5ec700?.['is']('element','footnotesDefinitions')&&(function(_0x49a640,_0x31160d,_0x3013ff,_0x429d6b){if(!_0x429d6b['checkAttribute'](_0x31160d,'footnotesListStart'))return;let _0x226eeb=0x1;const _0x4bce9e=_0x3013ff['consumable']['consume'](_0x49a640,{'attributes':'start'});if(_0x4bce9e){const _0x4c7fc6=Number['parseInt'](_0x49a640['getAttribute']('start'),0xa);Number['isNaN'](_0x4c7fc6)||(_0x226eeb=_0x4c7fc6);}!_0x4bce9e&&_0x31160d['hasAttribute']('footnotesListStart')||_0x3013ff['writer']['setAttribute']('footnotesListStart',_0x226eeb,_0x31160d);}(_0x28c3cd,_0x5ec700,_0x1011f1,_0x14d4a5),function(_0x429dc2,_0x3ca8d5,_0x13ace1,_0x2dd8f5){if(!_0x2dd8f5['checkAttribute'](_0x3ca8d5,'footnotesListStyle'))return;let _0x34949e='decimal',_0x2ecb03=!0x1;if(_0x13ace1['consumable']['consume'](_0x429dc2,{'attributes':'type'})){const _0x29461c={0x1:'decimal','a':'lower-latin','A':'upper-latin','i':'lower-roman','I':'upper-roman'}[_0x429dc2['getAttribute']('type')];_0x29461c&&(_0x34949e=_0x29461c),_0x2ecb03=!0x0;}if(_0x13ace1['consumable']['consume'](_0x429dc2,{'styles':'list-style-type'})){const _0x432539=tt(_0x429dc2['getStyle']('list-style-type'));_0x432539&&(_0x34949e=_0x432539),_0x2ecb03=!0x0;}!_0x2ecb03&&_0x3ca8d5['hasAttribute']('footnotesListStyle')||_0x13ace1['writer']['setAttribute']('footnotesListStyle',_0x34949e,_0x3ca8d5);}(_0x28c3cd,_0x5ec700,_0x1011f1,_0x14d4a5));});}),_0xb731b2['for']('downcast')['add'](_0x52db29=>{_0x52db29['on']('attribute:footnotesListStart:footnotesDefinitions',(_0x3cc352,_0x5289f3,_0x1efa05)=>{if(!_0x1efa05['consumable']['consume'](_0x5289f3['item'],_0x3cc352['name']))return;const _0x246e2b=et(_0x5289f3['item'],_0x1efa05['mapper']),{attributeNewValue:_0x1dcba8}=_0x5289f3;null==_0x1dcba8||0x1===_0x1dcba8?_0x1efa05['writer']['removeAttribute']('start',_0x246e2b):_0x1efa05['writer']['setAttribute']('start',String(_0x1dcba8),_0x246e2b);}),_0x52db29['on']('attribute:footnotesListStyle:footnotesDefinitions',(_0x338c8c,_0x26aaf3,_0x1b5946)=>{if(!_0x1b5946['consumable']['consume'](_0x26aaf3['item'],_0x338c8c['name']))return;const _0x4e5a50=et(_0x26aaf3['item'],_0x1b5946['mapper']),{attributeNewValue:_0x4711ea}=_0x26aaf3;_0x4711ea&&'decimal'!==_0x4711ea?_0x1b5946['writer']['setStyle']('list-style-type',_0x4711ea,_0x4e5a50):_0x1b5946['writer']['removeStyle']('list-style-type',_0x4e5a50);});});}['_definePostfixer'](){const {editor:_0x553142}=this,{model:_0x5166cb}=_0x553142,_0x35c5ed=_0x553142['plugins']['get'](FootnotesTracker),_0x4e1f7b=this['_getDefaultListStyle'](),_0x39a8ff=this['_getDefaultStartIndex']();_0x5166cb['document']['registerPostFixer'](_0x11aa0e=>{const _0x5e4225=_0x5166cb['document']['differ']['getChanges']();let _0x2c3bba=!0x1;for(const _0x3d5683 of _0x5e4225){if('insert'!==_0x3d5683['type']||'$text'===_0x3d5683['name'])continue;const _0x5dced6=_0x5166cb['createRangeOn'](_0x3d5683['position']['nodeAfter']);for(const _0x334a7f of _0x5dced6['getItems']())_0x334a7f['is']('element','footnotesDefinitions')&&(!_0x334a7f['hasAttribute']('footnotesListStart')&&_0x5166cb['schema']['checkAttribute'](_0x334a7f,'footnotesListStart')&&(_0x11aa0e['setAttribute']('footnotesListStart',_0x39a8ff,_0x334a7f),_0x2c3bba=!0x0),!_0x334a7f['hasAttribute']('footnotesListStyle')&&_0x5166cb['schema']['checkAttribute'](_0x334a7f,'footnotesListStyle')&&(_0x11aa0e['setAttribute']('footnotesListStyle',_0x4e1f7b,_0x334a7f),_0x2c3bba=!0x0));}return _0x2c3bba&&_0x35c5ed['_updateFootnotesCounters'](_0x11aa0e),_0x2c3bba;});}['_defineFormatter'](){const {editor:_0x27a9c8}=this;_0x27a9c8['plugins']['get'](FootnotesTracker)['setFootnoteFormatter'](_0x588099=>this['_formatFootnoteListValue'](_0x588099));}['_getDefaultListStyle'](){return this['editor']['config']['get']('footnotes.footnotesProperties.defaultListStyle');}['_getDefaultStartIndex'](){return this['editor']['config']['get']('footnotes.footnotesProperties.defaultStartIndex');}['_formatFootnoteListValue']({container:_0x307655,value:_0x185839,digits:_0x38c650}){const _0x493eed=_0x307655['getAttribute']('footnotesListStyle'),_0x56fca4=_0x307655['getAttribute']('footnotesListStart'),_0x1cbd49=Math['floor'](_0x185839)+(_0x56fca4??0x1)-0x1;switch(_0x493eed){case'decimal-leading-zero':return function(_0x3b1800,_0x1676c0){return String(_0x3b1800)['padStart'](_0x1676c0,'0');}(_0x1cbd49,Math['max'](0x2,_0x38c650));case'lower-alpha':case'lower-latin':return Q(_0x1cbd49,!0x1);case'upper-alpha':case'upper-latin':return Q(_0x1cbd49,!0x0);case'lower-roman':return Y(_0x1cbd49,!0x1);case'upper-roman':return Y(_0x1cbd49,!0x0);case'arabic-indic':return String(_0x1cbd49)['replace'](/\d/g,_0x2d1e5f=>Z[Number(_0x2d1e5f)]);default:return String(_0x1cbd49);}}}function tt(_0x2df923){if('string'==typeof _0x2df923){const _0x9dbfff=J[_0x2df923];if(_0x9dbfff)return _0x9dbfff;if(G['includes'](_0x2df923))return _0x2df923;}return null;}function et(_0x349920,_0x46f11c){const _0x597e0e=_0x46f11c['toViewElement'](_0x349920);return Array['from'](_0x597e0e['getChildren']())['find'](_0x45586c=>_0x45586c['is']('element','ol')&&_0x45586c['hasClass']('footnotes-list'));}class FootnotesDefinitionsPropertiesView extends _0x3e6727{['children'];['stylesView']=null;['additionalProperties']=null;['startIndexFieldView']=null;['focusTracker']=new _0x3cacdb();['keystrokes']=new _0x430fea();['focusables']=new _0x3f9609();['focusCycler'];constructor(_0x28aa62,{styleButtonViews:_0x4187bb,styleGridAriaLabel:_0x5b5d1f}){super(_0x28aa62),(this['focusCycler']=new _0xe2d6c({'focusables':this['focusables'],'focusTracker':this['focusTracker'],'keystrokeHandler':this['keystrokes'],'actions':{'focusPrevious':'shift\x20+\x20tab','focusNext':'tab'}}),this['children']=this['createCollection'](),this['stylesView']=this['_appendStylesView'](_0x4187bb,_0x5b5d1f),[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 _0x53133d of this['stylesView']['children'])this['stylesView']['focusTracker']['add'](_0x53133d['element']);_0x19e019({'keystrokeHandler':this['stylesView']['keystrokes'],'focusTracker':this['stylesView']['focusTracker'],'gridItems':this['stylesView']['children'],'numberOfColumns':()=>_0x31a001['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 _0x563766=_0x234eb9=>_0x234eb9['stopPropagation']();this['keystrokes']['set']('arrowright',_0x563766),this['keystrokes']['set']('arrowleft',_0x563766),this['keystrokes']['set']('arrowup',_0x563766),this['keystrokes']['set']('arrowdown',_0x563766);}this['keystrokes']['listenTo'](this['element']);}['focus'](){this['focusCycler']['focusFirst']();}['focusLast'](){this['focusCycler']['focusLast']();}['destroy'](){super['destroy'](),this['focusTracker']['destroy'](),this['keystrokes']['destroy']();}['_appendStylesView'](_0x34939d,_0x59f211){const _0x34dd19=new _0x3e6727(this['locale']);return _0x34dd19['children']=_0x34dd19['createCollection'](),_0x34dd19['children']['addMany'](_0x34939d),_0x34dd19['setTemplate']({'tag':'div','attributes':{'aria-label':_0x59f211,'class':['ck','ck-footnotes-definitions-styles-list']},'children':_0x34dd19['children']}),_0x34dd19['children']['delegate']('execute')['to'](this),_0x34dd19['focus']=function(){for(const _0x2bcf0d of this['children'])if(_0x2bcf0d instanceof _0x50b82b&&_0x2bcf0d['isOn'])return void _0x2bcf0d['focus']();this['children']['first']['focus']();},_0x34dd19['focusTracker']=new _0x3cacdb(),_0x34dd19['keystrokes']=new _0x430fea(),_0x34dd19['render'](),_0x34dd19['keystrokes']['listenTo'](_0x34dd19['element']),this['children']['add'](_0x34dd19),_0x34dd19;}['_appendAdditionalPropertiesCollapsibleView'](){const {t:t}=this['locale'],_0xdeb461=this['_createStartIndexPropertyView'](),_0x514fa1=[_0xdeb461],_0x59832e=new _0x20b1bd(this['locale'],_0x514fa1);return _0x59832e['set']({'label':t('Footnotes\x20properties'),'isCollapsed':!0x0}),_0x59832e['buttonView']['bind']('isEnabled')['toMany'](_0x514fa1,'isEnabled',(..._0x2191ee)=>_0x2191ee['some'](_0x4e0161=>_0x4e0161)),_0x59832e['buttonView']['on']('change:isEnabled',(_0x402424,_0x4ccb61,_0x28fb04)=>{_0x28fb04||(_0x59832e['isCollapsed']=!0x0);}),this['children']['add'](_0x59832e),[_0xdeb461,_0x59832e];}['_createStartIndexPropertyView'](){const {t:t}=this['locale'],_0x3220cd=new _0x41cc28(this['locale'],_0x5f4600);return _0x3220cd['set']({'label':t('Footnotes\x20start\x20at'),'class':'ck-footnotes-definitions-properties__start-index'}),_0x3220cd['fieldView']['set']({'min':0x0,'max':Math['pow'](0x2,0x1e),'step':0x1,'value':0x1,'inputMode':'numeric'}),_0x3220cd['fieldView']['on']('input',()=>{const _0xa49d61=_0x3220cd['fieldView']['element'],_0x36e993=_0xa49d61['valueAsNumber'];Number['isNaN'](_0x36e993)?_0x3220cd['errorText']=t('Invalid\x20footnotes\x20start\x20index\x20value.'):_0xa49d61['checkValidity']()?this['fire']('footnotesListStart',{'startIndex':_0x36e993}):_0x3220cd['errorText']=t(_0x36e993<0x0?'Footnotes\x20start\x20index\x20must\x20be\x20greater\x20than\x200.':'Footnotes\x20start\x20index\x20is\x20too\x20large.');}),_0x3220cd;}}class FootnotesPropertiesUI extends _0x7dc67d{static get['pluginName'](){return'FootnotesPropertiesUI';}static get['requires'](){return[_0x24ceef,_0x34377d];}static get['isOfficialPlugin'](){return!0x0;}static get['isPremiumPlugin'](){return!0x0;}['init'](){const {editor:_0x2c16f8}=this,{componentFactory:_0xd46461}=_0x2c16f8['ui'];_0x2c16f8['config']['define']('footnotes.footnotesProperties.toolbar',['footnotesStyle']),_0xd46461['add']('footnotesStyle',function(_0x4022db){return _0x5e31a9=>{const {t:t}=_0x5e31a9,_0x508bac=_0x4022db['commands']['get']('footnotesStyle'),_0x409a6d=_0xb3cde4(_0x5e31a9),{buttonView:_0xdfed77}=_0x409a6d;return _0x409a6d['class']='ck-footnotes-styles-dropdown',_0x409a6d['bind']('isEnabled')['to'](_0x508bac,'isEnabled'),_0xdfed77['set']({'label':t('Footnotes\x20style'),'icon':_0xdcb04e,'tooltip':!0x0}),_0x409a6d['once']('change:isOpen',()=>{const _0x14670e=function({editor:_0x201535,dropdownView:_0x275d3c}){const {t:t}=_0x201535['locale'],_0x5e0258=t('Footnotes\x20definitions\x20styles'),_0x15ff28=function(_0x17f176){const {t:t}=_0x17f176['locale'],_0x22077=_0x17f176['config']['get']('footnotes.footnotesProperties.listStyles'),_0x2bca29=[{'style':'decimal','label':t('Toggle\x20the\x20decimal\x20footnotes\x20style'),'tooltip':t('Decimal\x20footnotes'),'icon':_0x1bdd68},{'style':'decimal-leading-zero','label':t('Toggle\x20the\x20decimal\x20with\x20leading\x20zero\x20footnotes\x20style'),'tooltip':t('Decimal\x20footnotes\x20with\x20leading\x20zero'),'icon':_0x2c3f07},{'style':'lower-roman','label':t('Toggle\x20the\x20lower-roman\x20footnotes\x20style'),'tooltip':t('Lower-roman\x20footnotes'),'icon':_0x2d54ab},{'style':'upper-roman','label':t('Toggle\x20the\x20upper-roman\x20footnotes\x20style'),'tooltip':t('Upper-roman\x20footnotes'),'icon':_0x5b3733},{'style':'lower-latin','label':t('Toggle\x20the\x20lower-latin\x20footnotes\x20style'),'tooltip':t('Lower-latin\x20footnotes'),'icon':_0x5b0388},{'style':'upper-latin','label':t('Toggle\x20the\x20upper-latin\x20footnotes\x20style'),'tooltip':t('Upper-latin\x20footnotes'),'icon':_0x25a74b},{'style':'arabic-indic','label':t('Toggle\x20the\x20arabic-indic\x20footnotes\x20style'),'tooltip':t('Arabic-indic\x20footnotes'),'icon':_0xa770a5}];return _0x22077['map'](_0x13431c=>{const _0x5c03b1=tt(_0x13431c),_0x4ad0d4=_0x2bca29['find'](_0x2a835d=>_0x2a835d['style']===_0x5c03b1);return function(_0x243e71,_0x5631c4){const {locale:_0x4ef827}=_0x243e71,{label:_0x41c7d4,icon:_0x16f17f,tooltip:_0x29f060,style:_0x55c81f}=_0x5631c4,_0x520841=_0x243e71['commands']['get']('footnotesStyle'),_0x479637=new _0x50b82b(_0x4ef827);return _0x479637['set']({'label':_0x41c7d4,'icon':_0x16f17f,'tooltip':_0x29f060}),_0x479637['bind']('isOn')['to'](_0x520841,'value',_0x47193b=>_0x47193b===_0x55c81f),_0x479637['bind']('isEnabled')['to'](_0x520841,'isEnabled'),_0x479637['on']('execute',()=>{_0x243e71['execute']('footnotesStyle',{'value':_0x55c81f}),_0x243e71['editing']['view']['focus']();}),_0x479637;}(_0x17f176,_0x4ad0d4);});}(_0x201535),_0x28488c=new FootnotesDefinitionsPropertiesView(_0x201535['locale'],{'styleGridAriaLabel':_0x5e0258,'styleButtonViews':_0x15ff28}),_0xea79ff=_0x201535['commands']['get']('footnotesStart');return _0x28488c['startIndexFieldView']['bind']('isEnabled')['to'](_0xea79ff),_0x28488c['startIndexFieldView']['fieldView']['bind']('value')['to'](_0xea79ff),_0x28488c['on']('footnotesListStart',(_0x54a5d8,_0x2a7459)=>{_0x201535['execute']('footnotesStart',{'value':_0x2a7459['startIndex']});}),_0x28488c['delegate']('execute')['to'](_0x275d3c),_0x28488c;}({'editor':_0x4022db,'dropdownView':_0x409a6d});_0x409a6d['panelView']['children']['add'](_0x14670e);}),_0x409a6d;};}(_0x2c16f8));}['afterInit'](){const {editor:_0x3f927a}=this,{t:t}=_0x3f927a['locale'],_0x104f20=_0x3f927a['plugins']['get'](_0x34377d),{defaultPositions:_0x102e85}=_0x7a7f5c;_0x104f20['register']('footnotesDefinitions',{'ariaLabel':t('Footnotes\x20definitions\x20toolbar'),'items':_0x3f927a['config']['get']('footnotes.footnotesProperties.toolbar'),'balloonClassName':'ck-footnotes-style-balloon\x20ck-toolbar-container','getRelatedElement':_0x3eac22=>{let _0x4d1403=_0x3eac22['getFirstPosition']()?.['parent'];return _0x4d1403?.['is']('$text')&&(_0x4d1403=_0x4d1403['parent']),_0x4d1403?.['is']('element')?_0x4d1403['findAncestor'](M):null;},'positions':[_0x102e85['southArrowNorth'],_0x102e85['southArrowNorthMiddleWest'],_0x102e85['southArrowNorthMiddleEast'],_0x102e85['southArrowNorthWest'],_0x102e85['southArrowNorthEast'],_0x102e85['northArrowSouth'],_0x102e85['northArrowSouthMiddleWest'],_0x102e85['northArrowSouthMiddleEast'],_0x102e85['northArrowSouthWest'],_0x102e85['northArrowSouthEast'],_0x102e85['viewportStickyNorth']]});}}class FootnotesProperties extends _0x7dc67d{static get['pluginName'](){return'FootnotesProperties';}static get['requires'](){return[FootnotesPropertiesEditing,FootnotesPropertiesUI];}static get['isOfficialPlugin'](){return!0x0;}static get['isPremiumPlugin'](){return!0x0;}}export{Footnotes,FootnotesClipboard,FootnotesEditing,FootnotesProperties,FootnotesPropertiesEditing,FootnotesPropertiesUI,FootnotesStartCommand,FootnotesStyleCommand,FootnotesTracker,FootnotesUI,InsertFootnoteCommand};
23
+ import{Plugin as _0xcdca79,Command as _0x4a858d}from'@ckeditor/ckeditor5-core/dist/index.js';import{toWidget as _0x12440a,isWidget as _0x4d98a9,toWidgetEditable as _0x2c96c9,WidgetToolbarRepository as _0x21c99a}from'@ckeditor/ckeditor5-widget/dist/index.js';import{uid as _0x5f2be9,logWarning as _0x215c69,FocusTracker as _0x486598,KeystrokeHandler as _0x154eb2,global as _0x1ea8ad}from'@ckeditor/ckeditor5-utils/dist/index.js';import{PointerObserver as _0x7ed316,ClickObserver as _0x2f497e}from'@ckeditor/ckeditor5-engine/dist/index.js';import{ClipboardPipeline as _0x182c6d}from'@ckeditor/ckeditor5-clipboard/dist/index.js';import{MenuBarMenuListItemButtonView as _0x28a3da,ButtonView as _0x13cd7f,View as _0x10e93d,ViewCollection as _0x37aa47,FocusCycler as _0x4406bf,addKeyboardHandlingForGrid as _0x23c709,CollapsibleView as _0x5239a0,LabeledFieldView as _0x3039e4,createLabeledInputNumber as _0x170edd,ContextualBalloon as _0x5bfb19,BalloonPanelView as _0xe663b,createDropdown as _0x4334f5}from'@ckeditor/ckeditor5-ui/dist/index.js';import{IconFootnote as _0x434dc5,IconListStyleDecimal as _0x6223fc,IconListStyleDecimalLeadingZero as _0x34978b,IconListStyleLowerRoman as _0x2b7946,IconListStyleUpperRoman as _0x3447e8,IconListStyleLowerLatin as _0x10837d,IconListStyleUpperLatin as _0x3030bd,IconListStyleArabicIndic as _0x447d42}from'@ckeditor/ckeditor5-icons/dist/index.js';class ModelElementTracker{['_model'];['_elementName'];['_getElementKey'];['_trackedElements']=new Map();constructor(_0x1f7e26,_0x56fcae){this['_model']=_0x1f7e26,this['_elementName']=_0x56fcae['elementName'],this['_getElementKey']=_0x56fcae['getElementKey'];}['reset'](){this['_trackedElements']['clear']();}['getChanges'](_0x19db73){const _0x3897e2=new Set(),_0xfe036b=new Map();for(const _0x3770dc of _0x19db73){if('insert'===_0x3770dc['type']&&'$text'!==_0x3770dc['name']&&_0x3770dc['position']['nodeAfter']){const _0x3a6a76=this['_model']['createRangeOn'](_0x3770dc['position']['nodeAfter']);for(const _0x3ffb7b of _0x3a6a76['getItems']()){if(!_0x3ffb7b['is']('element',this['_elementName']))continue;const _0x3bdf22=this['_getElementKey'](_0x3ffb7b);_0xfe036b['has'](_0x3bdf22)||_0xfe036b['set'](_0x3bdf22,[]),_0xfe036b['get'](_0x3bdf22)['push'](_0x3ffb7b);}}if('remove'===_0x3770dc['type']&&_0x3770dc['name']===this['_elementName']){const _0x3e62a5=this['_getElementKey']({'getAttribute':_0x37cd39=>_0x3770dc['attributes']['get'](_0x37cd39)});_0x3897e2['add'](_0x3e62a5);}}for(const [_0x4f08f5,_0x39227d]of this['_trackedElements'])'$graveyard'===_0x39227d['root']['rootName']&&_0x3897e2['add'](_0x4f08f5);for(const _0x5cb01d of _0x3897e2)this['_trackedElements']['delete'](_0x5cb01d);for(const [_0x1a6a59,_0x540b26]of _0xfe036b)this['_trackedElements']['set'](_0x1a6a59,_0x540b26[_0x540b26['length']-0x1]);const _0x1e6424=new Set();for(const [_0x2d805c,_0x30308f]of _0xfe036b)_0x3897e2['has'](_0x2d805c)&&(_0x1e6424['add'](_0x30308f[0x0]),_0x30308f['length']>0x1?_0xfe036b['set'](_0x2d805c,_0x30308f['slice'](0x1)):_0xfe036b['delete'](_0x2d805c),_0x3897e2['delete'](_0x2d805c));return{'removed':Array['from'](_0x3897e2),'inserted':Array['from'](_0xfe036b['values']())['flat'](),'moved':Array['from'](_0x1e6424)};}}class FootnotesTracker extends _0xcdca79{['_footnotes']=[];['_footnotesDefinitions']=null;['_footnoteFormatter']=null;['_footnoteDefsContainerTracker'];['_footnoteRefsTracker'];['_footnoteDefsTracker'];static get['pluginName'](){return'FootnotesTracker';}static get['isOfficialPlugin'](){return!0x0;}static get['isPremiumPlugin'](){return!0x0;}constructor(_0x58770a){super(_0x58770a),this['_footnoteDefsContainerTracker']=new ModelElementTracker(this['editor']['model'],{'elementName':'footnotesDefinitions','getElementKey':()=>'singleton'}),this['_footnoteRefsTracker']=new ModelElementTracker(this['editor']['model'],{'elementName':'footnoteRef','getElementKey':_0x2d0c80=>_0x2d0c80['getAttribute']('footnoteId')}),this['_footnoteDefsTracker']=new ModelElementTracker(this['editor']['model'],{'elementName':'footnoteDefinition','getElementKey':_0x17131c=>_0x17131c['getAttribute']('footnoteId')});}['init'](){const {editor:_0x418a5a}=this,{model:_0x43ee30,data:_0x21599a}=_0x418a5a;_0x43ee30['document']['registerPostFixer'](_0x2419da=>{const _0x3a3adc=_0x43ee30['document']['differ']['getChanges']();let _0x58d98e=!0x1;return this['_handleFootnotesDefinitionsObjectChanges'](_0x2419da,_0x3a3adc)&&(_0x58d98e=!0x0),this['_handleFootnoteDefinitionsChanges'](_0x2419da,_0x3a3adc)&&(_0x58d98e=!0x0),this['_handleFootnoteReferencesChanges'](_0x2419da,_0x3a3adc)&&(_0x58d98e=!0x0),this['_ensureFootnotesReferencesHaveProperOrder'](_0x2419da)&&(_0x58d98e=!0x0),this['_handleFootnotesDefinitionsObjectSync'](_0x2419da)&&(_0x58d98e=!0x0),this['_sortFootnoteDefinitions'](_0x2419da)&&(_0x58d98e=!0x0),_0x58d98e;}),this['listenTo'](_0x43ee30['document'],'change:data',()=>{_0x43ee30['enqueueChange']({'isUndoable':!0x1},_0x20b284=>{this['_ensureFootnotesDefinitionsContainerExists'](_0x20b284);});},{'priority':'low'}),this['listenTo'](_0x21599a,'set',()=>{this['_footnotes']=[],this['_footnoteDefsContainerTracker']['reset'](),this['_footnoteRefsTracker']['reset'](),this['_footnoteDefsTracker']['reset']();},{'priority':'high'});}['getFootnotesDefinitionsObjectElement'](){return this['_footnotesDefinitions'];}['getFootnote'](_0x335e0d){return this['_footnotes']['find'](_0xc3e01d=>_0xc3e01d['id']===_0x335e0d)||null;}['getFootnotes'](){return Array['from'](this['_footnotes']);}['getFootnotesFormatter'](){return this['_footnoteFormatter'];}['setFootnoteFormatter'](_0x3364a2){this['_footnoteFormatter']=_0x3364a2;}['_updateFootnotesCounters'](_0x399331,_0x4b2944=0x0){let _0x1ce194=!0x1;for(let _0x5f52ad=_0x4b2944;_0x5f52ad<this['_footnotes']['length'];_0x5f52ad++)this['_updateFootnoteRefCounter'](_0x399331,_0x5f52ad)&&(_0x1ce194=!0x0);return _0x1ce194;}['_insertEmptyFootnotesDefinitionsContainer'](_0x4c3007,_0x2a0a45){const _0x43b840=_0x4c3007['createElement']('footnotesDefinitions',{});return _0x4c3007['append'](_0x43b840,_0x2a0a45),this['_footnotesDefinitions']=_0x43b840,_0x43b840;}['_ensureFootnotesDefinitionsContainerExists'](_0xc74dba){if(!this['_footnotes']['length']||this['_footnotesDefinitions'])return;const _0x211d33=this['_footnotes'][0x0]['reference']['root'],_0x432186=this['_insertEmptyFootnotesDefinitionsContainer'](_0xc74dba,_0x211d33);for(const _0x45fcb9 of this['_footnotes'])_0x45fcb9['definition']['parent']||_0xc74dba['insert'](_0x45fcb9['definition'],_0x432186,'end');this['_updateFootnotesCounters'](_0xc74dba);}['_handleFootnotesDefinitionsObjectChanges'](_0x581a35,_0x34efcb){let _0xa87ebb=!0x1;const {inserted:_0x1113db,removed:_0xd2c408,moved:_0x1a629c}=this['_footnoteDefsContainerTracker']['getChanges'](_0x34efcb);if(_0x1a629c['length']&&(this['_footnotesDefinitions']=_0x1a629c[0x0]),_0x1113db['length']){if(_0x1113db['length']>0x1||this['_footnotesDefinitions']&&_0x1113db['some'](_0x2d9096=>_0x2d9096!==this['_footnotesDefinitions'])){const _0x3854e7=_0x581a35['createElement']('footnotesDefinitions',{}),_0x5bf544=[];this['_footnotesDefinitions']&&_0x5bf544['push'](this['_footnotesDefinitions']),_0x5bf544['push'](..._0x1113db),_0x581a35['insert'](_0x3854e7,_0x5bf544[0x0],'before');for(const _0x5f5596 of _0x5bf544)_0x581a35['move'](_0x581a35['createRangeIn'](_0x5f5596),_0x581a35['createPositionAt'](_0x3854e7,'end')),_0x581a35['remove'](_0x5f5596);this['_footnotesDefinitions']=_0x3854e7,this['_updateFootnotesCounters'](_0x581a35),_0xa87ebb=!0x0;}else this['_footnotesDefinitions']=_0x1113db[0x0];}if(_0xd2c408['length']&&'$graveyard'===this['_footnotesDefinitions']?.['root']['rootName']){for(const _0x10c8b4 of this['_footnotes'])_0x581a35['remove'](_0x10c8b4['reference']),_0xa87ebb=!0x0;this['_footnotes']=[],this['_footnotesDefinitions']=null;}return _0xa87ebb;}['_handleFootnoteDefinitionsChanges'](_0x1359a5,_0x3f5adc){let _0x2a30e7=!0x1;const _0x415527=this['editor']['config']['get']('footnotes.multiBlock'),{inserted:_0x2e3b66,moved:_0x4359b8}=this['_footnoteDefsTracker']['getChanges'](_0x3f5adc);for(const _0x3a1ee1 of[..._0x4359b8,..._0x2e3b66]){const _0x81021e=_0x3a1ee1['getAttribute']('footnoteId'),_0x5aa112=this['getFootnote'](_0x81021e);_0x5aa112&&(_0x5aa112['definition']=_0x3a1ee1),N(_0x1359a5,_0x415527,_0x3a1ee1)&&(_0x2a30e7=!0x0);}return _0x2a30e7;}['_handleFootnoteReferencesChanges'](_0x51dce0,_0x1a57a9){let _0x52382b=!0x1;const {removed:_0x12e577,inserted:_0x252230,moved:_0x5a54bf}=this['_footnoteRefsTracker']['getChanges'](_0x1a57a9);for(const _0x5e16d3 of _0x12e577)this['_handleRemoveFootnoteReferenceById'](_0x51dce0,_0x5e16d3)&&(_0x52382b=!0x0);for(const _0x2d9aa6 of _0x252230)this['_handleInsertedFootnoteReference'](_0x51dce0,_0x2d9aa6)&&(_0x52382b=!0x0);for(const _0x12492d of _0x5a54bf)this['_handleMovedFootnoteReference'](_0x51dce0,_0x12492d)&&(_0x52382b=!0x0);return _0x52382b;}['_handleFootnotesDefinitionsObjectSync'](_0x31e22a){if(!this['_footnotesDefinitions'])return!0x1;let _0xea4aa=!0x1;if(this['_footnotesDefinitions']['childCount']!==this['_footnotes']['length']){const _0x4ef1a2=[];for(const _0x1e1e65 of this['_footnotesDefinitions']['getChildren']()){const _0x3f8d05=_0x1e1e65['getAttribute']('footnoteId');this['getFootnote'](_0x3f8d05)||(_0x4ef1a2['unshift'](_0x1e1e65),_0xea4aa=!0x0);}for(const _0x3f0578 of _0x4ef1a2)_0x31e22a['remove'](_0x3f0578);}const _0x147f88=new Set(),_0x3e48c0=[];for(const _0x593812 of this['_footnotesDefinitions']['getChildren']()){const _0x4334ba=_0x593812['getAttribute']('footnoteId');_0x147f88['has'](_0x4334ba)?(_0x3e48c0['unshift'](_0x593812),_0xea4aa=!0x0):_0x147f88['add'](_0x4334ba);}for(const _0x41fb63 of _0x3e48c0)_0x31e22a['remove'](_0x41fb63);return this['_footnotesDefinitions']['childCount']||(_0x31e22a['remove'](this['_footnotesDefinitions']),this['_footnotesDefinitions']=null,_0xea4aa=!0x0),_0xea4aa;}['_handleInsertedFootnoteReference'](_0x4a76c7,_0x2ec4d9){if(this['_footnotes']['find'](_0x2b32d3=>_0x2b32d3['reference']===_0x2ec4d9))return!0x1;let _0x32b29a=!0x1;const _0x2661d3=_0x2ec4d9['getAttribute']('footnoteId'),_0x5a36ed=this['_footnotes']['findIndex'](_0x562484=>_0x562484['id']===_0x2661d3);-0x1!==_0x5a36ed&&(_0x4a76c7['remove'](this['_footnotes'][_0x5a36ed]['reference']),this['_footnotes']['splice'](_0x5a36ed,0x1),_0x32b29a=!0x0);let _0x2c590d=this['_footnotesDefinitions']?function(_0x112ae3,_0x591740){for(const _0x2b715b of _0x112ae3['getChildren']())if(_0x2b715b['getAttribute']('footnoteId')===_0x591740)return _0x2b715b;return null;}(this['_footnotesDefinitions'],_0x2661d3):null;_0x2c590d||(_0x2c590d=_0x4a76c7['createElement']('footnoteDefinition',{'footnoteId':_0x2661d3}),this['_footnotesDefinitions']&&(_0x4a76c7['insert'](_0x2c590d,this['_footnotesDefinitions'],'end'),_0x32b29a=!0x0));const _0x344e92={'id':_0x2661d3,'reference':_0x2ec4d9,'definition':_0x2c590d},_0x49fdc3=R(this['editor']['model'],this['_footnotes'],_0x2ec4d9);this['_footnotes']['splice'](_0x49fdc3,0x0,_0x344e92);let _0xae117f=_0x49fdc3;return-0x1!==_0x5a36ed&&(_0xae117f=Math['min'](_0x49fdc3,_0x5a36ed)),this['_updateFootnotesCounters'](_0x4a76c7,_0xae117f)&&(_0x32b29a=!0x0),_0x32b29a;}['_handleRemoveFootnoteReferenceById'](_0x548fd4,_0x5a7857){const _0x33f02f=this['_footnotes']['findIndex'](_0x424ee5=>_0x424ee5['id']===_0x5a7857);if(-0x1===_0x33f02f)return!0x1;let _0x5cd477=!0x1;const _0x2f4fde=this['_footnotes'][_0x33f02f];return'$graveyard'!==_0x2f4fde['definition']['root']['rootName']&&(_0x548fd4['remove'](_0x2f4fde['definition']),_0x5cd477=!0x0),this['_footnotes']['splice'](_0x33f02f,0x1),this['_updateFootnotesCounters'](_0x548fd4,_0x33f02f)&&(_0x5cd477=!0x0),_0x5cd477;}['_handleMovedFootnoteReference'](_0x3e0dc7,_0x45b368){const _0x8918b0=_0x45b368['getAttribute']('footnoteId'),_0x4b3d57=this['_footnotes']['findIndex'](_0x38d28a=>_0x38d28a['id']===_0x8918b0),_0x30e3a7=this['_footnotes'][_0x4b3d57];let _0x191e7d=!0x1;_0x30e3a7['reference']=_0x45b368,this['_footnotes']['splice'](_0x4b3d57,0x1);const _0x2d5d02=R(this['editor']['model'],this['_footnotes'],_0x45b368);return this['_footnotes']['splice'](_0x2d5d02,0x0,_0x30e3a7),this['_updateFootnotesCounters'](_0x3e0dc7,Math['min'](_0x4b3d57,_0x2d5d02))&&(_0x191e7d=!0x0),_0x191e7d;}['_updateFootnoteRefCounter'](_0x316b64,_0x5c99eb){if(!this['_footnotesDefinitions'])return!0x1;const _0x1d698d=this['_footnotes'][_0x5c99eb];let _0x2d9d0b;return _0x2d9d0b=this['_footnoteFormatter']?this['_footnoteFormatter']({'footnote':_0x1d698d,'container':this['_footnotesDefinitions'],'digits':String(this['_footnotes']['length'])['length'],'value':_0x5c99eb+0x1}):String(_0x5c99eb+0x1),_0x1d698d['reference']['getAttribute']('footnoteCounter')!=_0x2d9d0b&&(_0x316b64['setAttribute']('footnoteCounter',_0x2d9d0b,_0x1d698d['reference']),!0x0);}['_sortFootnoteDefinitions'](_0x1d1e18){if(!this['_footnotesDefinitions']||this['_footnotes']['length']<0x2)return!0x1;if(function(_0x21b53e,_0x2e18a4){if(_0x21b53e['length']!==_0x2e18a4['length'])return!0x1;for(let _0xde9d22=0x0;_0xde9d22<_0x21b53e['length'];_0xde9d22++)if(_0x21b53e[_0xde9d22]!==_0x2e18a4[_0xde9d22])return!0x1;return!0x0;}(this['_footnotes']['map'](_0x3b3c5c=>_0x3b3c5c['id']),Array['from'](this['_footnotesDefinitions']['getChildren']())['map'](_0x5d7793=>_0x5d7793['getAttribute']('footnoteId'))))return!0x1;let _0x50a093=!0x1;for(let _0x5989e2=0x0;_0x5989e2<this['_footnotes']['length'];_0x5989e2++){const _0x471e06=this['_footnotes'][_0x5989e2],_0x48b469=_0x1d1e18['createPositionBefore'](_0x471e06['definition']),_0xa84b81=_0x1d1e18['createPositionAt'](this['_footnotesDefinitions'],_0x5989e2);_0x48b469['isEqual'](_0xa84b81)||(_0x1d1e18['move'](_0x1d1e18['createRangeOn'](_0x471e06['definition']),_0xa84b81),_0x50a093=!0x0);}return _0x50a093;}['_ensureFootnotesReferencesHaveProperOrder'](_0x4973e7){if(!this['_footnotes']['length'])return!0x1;const {model:_0x28bd45}=this['editor'];let _0x49b03a=!0x1;for(let _0x3c1330=0x0;_0x3c1330<this['_footnotes']['length']-0x1;_0x3c1330++){const _0x5b74b7=this['_footnotes'][_0x3c1330],_0x230661=this['_footnotes'][_0x3c1330+0x1],_0x12d895=_0x28bd45['createPositionBefore'](_0x5b74b7['reference']),_0x4c2013=_0x28bd45['createPositionBefore'](_0x230661['reference']);'after'===_0x12d895['compareWith'](_0x4c2013)&&(this['_handleMovedFootnoteReference'](_0x4973e7,_0x5b74b7['reference']),_0x3c1330=-0x1,_0x49b03a=!0x0);}return _0x49b03a;}}function N(_0x4c702b,_0x38a442,_0x4ee6ac){if(_0x4ee6ac['childCount'])return!0x1;const _0x54ae27=_0x38a442?'paragraph':'footnoteInlineContent';return _0x4c702b['insert'](_0x4c702b['createElement'](_0x54ae27),_0x4ee6ac),!0x0;}function R(_0x48f136,_0x10c929,_0x3620e2){if(0x0===_0x10c929['length'])return 0x0;const _0x4f2959=_0x48f136['createPositionBefore'](_0x3620e2);for(let _0x272014=0x0;_0x272014<_0x10c929['length'];_0x272014++){const _0x57d158=_0x10c929[_0x272014],_0x1f3e7b=_0x48f136['createPositionBefore'](_0x57d158['reference']);if('before'===_0x4f2959['compareWith'](_0x1f3e7b))return _0x272014;}const _0x3d1469=_0x3620e2['root'];let _0x35c2c5=-0x1;for(let _0x192147=_0x10c929['length']-0x1;_0x192147>=0x0;_0x192147--)if(_0x10c929[_0x192147]['reference']['root']===_0x3d1469){_0x35c2c5=_0x192147;break;}if(-0x1!==_0x35c2c5)return _0x35c2c5+0x1;const _0x34c508=_0x48f136['document']['getRootNames'](),_0x53cd1d=_0x34c508['indexOf'](_0x3d1469['rootName']),_0x552489=_0x34c508[_0x53cd1d+0x1];if(_0x552489){for(let _0x1ba305=0x0;_0x1ba305<_0x10c929['length'];_0x1ba305++)if(_0x10c929[_0x1ba305]['reference']['root']['rootName']===_0x552489)return _0x1ba305;}return _0x10c929['length'];}class InsertFootnoteCommand extends _0x4a858d{['refresh'](){const _0x50dc4c=this['editor']['model']['document']['selection'],_0x302384=this['_getPositionToInsertFootnote'](_0x50dc4c);this['isEnabled']=!!_0x302384;}['execute'](_0x425fb6){const {editor:_0x2f1a61}=this,{model:_0x57b772}=_0x2f1a61,{selection:_0x280faa}=_0x57b772['document'],_0x1e206c=this['_getPositionToInsertFootnote'](_0x280faa);if(!_0x1e206c)return;const _0x562c33=_0x2f1a61['plugins']['get']('FootnotesEditing'),_0x10ed22=_0x425fb6?.['footnoteId']??_0x5f2be9();!function(_0x19eb49){return'string'==typeof _0x19eb49&&_0x19eb49['length']>0x0&&!/\s/['test'](_0x19eb49)&&!/^\d/['test'](_0x19eb49);}(_0x10ed22)?_0x215c69('insert-footnote-command-executed-with-invalid-id'):(_0x57b772['change'](_0x3059be=>{const _0x2ee478=_0x3059be['createElement']('footnoteRef',{'footnoteId':_0x10ed22});_0x57b772['insertObject'](_0x2ee478,_0x1e206c,null);}),_0x562c33['_moveSelectionToFootnoteDefinition'](_0x10ed22));}['_getPositionToInsertFootnote'](_0x1b8400){const {model:_0x412c5b}=this['editor'],{schema:_0x2536ac}=_0x412c5b,_0x1f37dc=_0x1b8400['getFirstRange']();for(const _0x1636db of _0x1f37dc['getItems']())if(_0x2536ac['isBlock'](_0x1636db)||_0x2536ac['isObject'](_0x1636db))return null;const _0x4a56e9=_0x1f37dc['end'];return _0x2536ac['checkChild'](_0x4a56e9,'footnoteRef')?_0x4a56e9:null;}}class FootnotesEditing extends _0xcdca79{static get['pluginName'](){return'FootnotesEditing';}static get['requires'](){return[FootnotesTracker];}static get['isOfficialPlugin'](){return!0x0;}static get['isPremiumPlugin'](){return!0x0;}['init'](){const {editor:_0x215bb5}=this;_0x215bb5['config']['define']('footnotes.multiBlock',!0x0),_0x215bb5['commands']['add']('insertFootnote',new InsertFootnoteCommand(_0x215bb5)),this['_defineSchema'](),this['_defineRefsConverters'](),this['_defineDefinitionsConverters'](),this['_defineDefinitionConverters'](),this['_defineBogusParagraphConverters'](),this['_defineKeyboardHandlers'](),this['_defineClickHandlers']();}['afterInit'](){!async function(_0x5f3fba){const _0xc4ff83=_0xef1dbb([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]),_0x525dd3=0x47a28506,_0x3072c3=0x47a50f86^_0x525dd3,_0x565cef=window[_0xef1dbb([0x44,0x61,0x74,0x65])][_0xef1dbb([0x6e,0x6f,0x77])](),_0x1a4bff=_0x5f3fba[_0xef1dbb([0x65,0x64,0x69,0x74,0x6f,0x72])],_0x1089de=new window[(_0xef1dbb([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0x23dff2=>{_0x1a4bff[_0xef1dbb([0x6f,0x6e,0x63,0x65])](_0xef1dbb([0x72,0x65,0x61,0x64,0x79]),_0x23dff2);}),_0x2affc9={[_0xef1dbb([0x6b,0x74,0x79])]:_0xef1dbb([0x45,0x43]),[_0xef1dbb([0x75,0x73,0x65])]:_0xef1dbb([0x73,0x69,0x67]),[_0xef1dbb([0x63,0x72,0x76])]:_0xef1dbb([0x50,0x2d,0x32,0x35,0x36]),[_0xef1dbb([0x78])]:_0xef1dbb([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]),[_0xef1dbb([0x79])]:_0xef1dbb([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]),[_0xef1dbb([0x61,0x6c,0x67])]:_0xef1dbb([0x45,0x53,0x32,0x35,0x36])},_0x4d61da=_0x1a4bff[_0xef1dbb([0x63,0x6f,0x6e,0x66,0x69,0x67])][_0xef1dbb([0x67,0x65,0x74])](_0xef1dbb([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x4b,0x65,0x79]));async function _0x45b553(){let _0x3f0370,_0x594c29=null,_0x58c14c=null;try{if(_0x4d61da==_0xef1dbb([0x47,0x50,0x4c]))return _0xef1dbb([0x4e,0x6f,0x74,0x41,0x6c,0x6c,0x6f,0x77,0x65,0x64]);if(_0x3f0370=_0x3326a9(),!_0x3f0370)return _0xef1dbb([0x49,0x6e,0x76,0x61,0x6c,0x69,0x64]);return _0x3f0370[_0xef1dbb([0x75,0x73,0x61,0x67,0x65,0x45,0x6e,0x64,0x70,0x6f,0x69,0x6e,0x74])]&&(_0x58c14c=_0x508a78(_0x3f0370[_0xef1dbb([0x75,0x73,0x61,0x67,0x65,0x45,0x6e,0x64,0x70,0x6f,0x69,0x6e,0x74])],_0x3f0370[_0xef1dbb([0x6a,0x74,0x69])])),await _0x493a5b()?_0x3e550f()?_0x313647()?_0xef1dbb([0x45,0x78,0x70,0x69,0x72,0x65,0x64]):_0x18375c()?(_0x3f0370[_0xef1dbb([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x54,0x79,0x70,0x65])]==_0xef1dbb([0x65,0x76,0x61,0x6c,0x75,0x61,0x74,0x69,0x6f,0x6e])&&(_0x594c29=_0x1fe21f(_0xef1dbb([0x45,0x76,0x61,0x6c,0x75,0x61,0x74,0x69,0x6f,0x6e,0x4c,0x69,0x6d,0x69,0x74]))),await _0xbbf8f2()):_0xef1dbb([0x44,0x6f,0x6d,0x61,0x69,0x6e,0x4c,0x69,0x6d,0x69,0x74]):_0xef1dbb([0x4e,0x6f,0x74,0x41,0x6c,0x6c,0x6f,0x77,0x65,0x64]):_0xef1dbb([0x49,0x6e,0x76,0x61,0x6c,0x69,0x64]);}catch{return _0xef1dbb([0x49,0x6e,0x76,0x61,0x6c,0x69,0x64]);}function _0x313647(){const _0xed3501=[_0xef1dbb([0x65,0x76,0x61,0x6c,0x75,0x61,0x74,0x69,0x6f,0x6e]),_0xef1dbb([0x74,0x72,0x69,0x61,0x6c])][_0xef1dbb([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x3f0370[_0xef1dbb([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x54,0x79,0x70,0x65])])?_0x565cef/0x3e8:0xe10*_0x3072c3;return _0x3f0370[_0xef1dbb([0x65,0x78,0x70])]<_0xed3501;}function _0x3e550f(){const _0x308c4b=_0x3f0370[_0xef1dbb([0x66,0x65,0x61,0x74,0x75,0x72,0x65,0x73])];return!!_0x308c4b&&(!!_0x308c4b[_0xef1dbb([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0xef1dbb([0x2a]))||!!_0x308c4b[_0xef1dbb([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0xef1dbb([0x46,0x4f,0x4f])));}function _0x18375c(){const _0xf78d37=_0x3f0370[_0xef1dbb([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x64,0x48,0x6f,0x73,0x74,0x73])];if(!_0xf78d37||0x0==_0xf78d37[_0xef1dbb([0x6c,0x65,0x6e,0x67,0x74,0x68])])return!0x0;const {hostname:_0x246624}=new URL(window[_0xef1dbb([0x6c,0x6f,0x63,0x61,0x74,0x69,0x6f,0x6e])]['href']);if(_0xf78d37[_0xef1dbb([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x246624))return!0x0;const _0x318f47=_0x246624[_0xef1dbb([0x73,0x70,0x6c,0x69,0x74])](_0xef1dbb([0x2e]));return _0xf78d37[_0xef1dbb([0x66,0x69,0x6c,0x74,0x65,0x72])](_0x2e1af4=>_0x2e1af4[_0xef1dbb([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0xef1dbb([0x2a])))[_0xef1dbb([0x6d,0x61,0x70])](_0x559046=>_0x559046[_0xef1dbb([0x73,0x70,0x6c,0x69,0x74])](_0xef1dbb([0x2e])))[_0xef1dbb([0x66,0x69,0x6c,0x74,0x65,0x72])](_0x132d77=>_0x132d77[_0xef1dbb([0x6c,0x65,0x6e,0x67,0x74,0x68])]<=_0x318f47[_0xef1dbb([0x6c,0x65,0x6e,0x67,0x74,0x68])])[_0xef1dbb([0x6d,0x61,0x70])](_0xe36038=>Array(_0x318f47[_0xef1dbb([0x6c,0x65,0x6e,0x67,0x74,0x68])]-_0xe36038[_0xef1dbb([0x6c,0x65,0x6e,0x67,0x74,0x68])])[_0xef1dbb([0x66,0x69,0x6c,0x6c])](_0xe36038[0x0]===_0xef1dbb([0x2a])?_0xef1dbb([0x2a]):'')[_0xef1dbb([0x63,0x6f,0x6e,0x63,0x61,0x74])](_0xe36038))[_0xef1dbb([0x73,0x6f,0x6d,0x65])](_0x1fdf97=>_0x318f47[_0xef1dbb([0x65,0x76,0x65,0x72,0x79])]((_0xec4f8b,_0xbb21b0)=>_0x1fdf97[_0xbb21b0]===_0xec4f8b||_0x1fdf97[_0xbb21b0]===_0xef1dbb([0x2a])));}function _0xbbf8f2(){return _0x594c29&&_0x58c14c?new window[(_0xef1dbb([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))]((_0x2b2df5,_0x22179a)=>{_0x594c29[_0xef1dbb([0x74,0x68,0x65,0x6e])](_0x2b2df5,_0x22179a),_0x58c14c[_0xef1dbb([0x74,0x68,0x65,0x6e])](_0xe0cd1b=>{_0xe0cd1b!=_0xef1dbb([0x56,0x61,0x6c,0x69,0x64])&&_0x2b2df5(_0xe0cd1b);},_0x22179a);}):_0x594c29||_0x58c14c||_0xef1dbb([0x56,0x61,0x6c,0x69,0x64]);}}function _0x508a78(_0x1a0ac5,_0x2924d3){return new window[(_0xef1dbb([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0x173196=>{if(_0xb3ac2f())return _0x173196(_0xef1dbb([0x56,0x61,0x6c,0x69,0x64]));_0x42cda8(),_0x1a4bff[_0xef1dbb([0x64,0x65,0x63,0x6f,0x72,0x61,0x74,0x65])](_0xef1dbb([0x5f,0x73,0x65,0x6e,0x64,0x55,0x73,0x61,0x67,0x65,0x52,0x65,0x71,0x75,0x65,0x73,0x74]));let _0x1481cc=!0x1;const _0x1c1687=_0x5f2be9();function _0x337e13(_0x357710){return!!_0x357710&&(typeof _0x357710===_0xef1dbb([0x6f,0x62,0x6a,0x65,0x63,0x74])||typeof _0x357710===_0xef1dbb([0x66,0x75,0x6e,0x63,0x74,0x69,0x6f,0x6e]))&&typeof _0x357710[_0xef1dbb([0x74,0x68,0x65,0x6e])]===_0xef1dbb([0x66,0x75,0x6e,0x63,0x74,0x69,0x6f,0x6e])&&typeof _0x357710[_0xef1dbb([0x63,0x61,0x74,0x63,0x68])]===_0xef1dbb([0x66,0x75,0x6e,0x63,0x74,0x69,0x6f,0x6e]);}function _0x4beb33(_0x2d96ca){_0x54faaa(_0x2d96ca)[_0xef1dbb([0x74,0x68,0x65,0x6e])](_0x2976c6=>{if(!_0x2976c6||_0x2976c6[_0xef1dbb([0x73,0x74,0x61,0x74,0x75,0x73])]!=_0xef1dbb([0x6f,0x6b]))return _0xef1dbb([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]);return _0x571e77(_0x570fe1(_0x1c1687+_0x2924d3))!=_0x2976c6[_0xef1dbb([0x76,0x65,0x72,0x69,0x66,0x69,0x63,0x61,0x74,0x69,0x6f,0x6e])]?_0xef1dbb([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]):_0xef1dbb([0x56,0x61,0x6c,0x69,0x64]);})[_0xef1dbb([0x74,0x68,0x65,0x6e])](_0x2d8aa5=>(_0x325333(),_0x2d8aa5),()=>{const _0x175c0f=_0x20197c();return null==_0x175c0f?(_0x325333(),_0xef1dbb([0x56,0x61,0x6c,0x69,0x64])):_0xef1dbb(_0x565cef-_0x175c0f>(0x63ae0106^_0x525dd3)?[0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]:[0x56,0x61,0x6c,0x69,0x64]);})[_0xef1dbb([0x74,0x68,0x65,0x6e])](_0x173196)[_0xef1dbb([0x63,0x61,0x74,0x63,0x68])](()=>{_0x173196(_0xef1dbb([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]));});const _0x5197cc=0x47946b86^_0x525dd3;function _0x325333(){const _0x1f570d=_0xef1dbb([0x6c,0x6c,0x63,0x74,0x2d])+_0x571e77(_0x570fe1(_0x1a0ac5)),_0x53afaf=_0x5a50eb(_0x571e77(window[_0xef1dbb([0x4d,0x61,0x74,0x68])][_0xef1dbb([0x63,0x65,0x69,0x6c])](_0x565cef/_0x5197cc)));window[_0xef1dbb([0x6c,0x6f,0x63,0x61,0x6c,0x53,0x74,0x6f,0x72,0x61,0x67,0x65])][_0xef1dbb([0x73,0x65,0x74,0x49,0x74,0x65,0x6d])](_0x1f570d,_0x53afaf);}function _0x20197c(){const _0x5271f0=_0xef1dbb([0x6c,0x6c,0x63,0x74,0x2d])+_0x571e77(_0x570fe1(_0x1a0ac5)),_0x2c2d37=window[_0xef1dbb([0x6c,0x6f,0x63,0x61,0x6c,0x53,0x74,0x6f,0x72,0x61,0x67,0x65])][_0xef1dbb([0x67,0x65,0x74,0x49,0x74,0x65,0x6d])](_0x5271f0);return _0x2c2d37?window[_0xef1dbb([0x70,0x61,0x72,0x73,0x65,0x49,0x6e,0x74])](_0x5a50eb(_0x2c2d37),0x10)*_0x5197cc:null;}function _0x54faaa(_0x203045){return new window[(_0xef1dbb([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))]((_0x48c64e,_0x5d3475)=>{_0x203045[_0xef1dbb([0x74,0x68,0x65,0x6e])](_0x48c64e,_0x5d3475),window[_0xef1dbb([0x73,0x65,0x74,0x54,0x69,0x6d,0x65,0x6f,0x75,0x74])](_0x5d3475,0x47a351c6^_0x525dd3);});}}_0x1a4bff[_0xef1dbb([0x6f,0x6e])](_0xef1dbb([0x5f,0x73,0x65,0x6e,0x64,0x55,0x73,0x61,0x67,0x65,0x52,0x65,0x71,0x75,0x65,0x73,0x74]),(_0x2354cd,_0x153420)=>{if(_0x153420[0x0]!=_0x1a0ac5)return _0x173196(_0xef1dbb([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]));_0x153420[0x1]={..._0x153420[0x1],[_0xef1dbb([0x72,0x65,0x71,0x75,0x65,0x73,0x74,0x49,0x64])]:_0x1c1687};},{[_0xef1dbb([0x70,0x72,0x69,0x6f,0x72,0x69,0x74,0x79])]:_0xef1dbb([0x68,0x69,0x67,0x68])}),_0x1a4bff[_0xef1dbb([0x6f,0x6e])](_0xef1dbb([0x5f,0x73,0x65,0x6e,0x64,0x55,0x73,0x61,0x67,0x65,0x52,0x65,0x71,0x75,0x65,0x73,0x74]),_0x38565a=>{_0x337e13(_0x38565a[_0xef1dbb([0x72,0x65,0x74,0x75,0x72,0x6e])])&&(_0x1481cc=!0x0,_0x4beb33(_0x38565a[_0xef1dbb([0x72,0x65,0x74,0x75,0x72,0x6e])]));},{[_0xef1dbb([0x70,0x72,0x69,0x6f,0x72,0x69,0x74,0x79])]:_0xef1dbb([0x6c,0x6f,0x77])}),_0x1089de[_0xef1dbb([0x74,0x68,0x65,0x6e])](()=>{_0x1481cc||_0x173196(_0xef1dbb([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]));});});function _0xb3ac2f(){return _0x1a4bff[_0xef1dbb([0x65,0x64,0x69,0x74,0x69,0x6e,0x67])][_0xef1dbb([0x76,0x69,0x65,0x77])][_0xef1dbb([0x5f,0x6f,0x76,0x65,0x72,0x6c,0x61,0x79,0x4d,0x6f,0x64,0x65,0x48,0x69,0x6e,0x74])]==_0xef1dbb([0x61,0x75,0x74,0x6f]);}function _0x42cda8(){_0x1a4bff[_0xef1dbb([0x65,0x64,0x69,0x74,0x69,0x6e,0x67])][_0xef1dbb([0x76,0x69,0x65,0x77])][_0xef1dbb([0x5f,0x6f,0x76,0x65,0x72,0x6c,0x61,0x79,0x4d,0x6f,0x64,0x65,0x48,0x69,0x6e,0x74])]=_0xef1dbb([0x61,0x75,0x74,0x6f]);}}function _0x1fe21f(_0x58856f){const _0x46aa7c=[new window[(_0xef1dbb([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0x5dc840=>setTimeout(_0x5dc840,0x47abbbca^_0x525dd3)),_0x1089de[_0xef1dbb([0x74,0x68,0x65,0x6e])](()=>new window[(_0xef1dbb([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0x2f28b0=>{let _0x395e31=0x0;_0x1a4bff[_0xef1dbb([0x6d,0x6f,0x64,0x65,0x6c])][_0xef1dbb([0x6f,0x6e])](_0xef1dbb([0x61,0x70,0x70,0x6c,0x79,0x4f,0x70,0x65,0x72,0x61,0x74,0x69,0x6f,0x6e]),(_0x1aaa4c,_0x54dbb2)=>{_0x54dbb2[0x0][_0xef1dbb([0x69,0x73,0x44,0x6f,0x63,0x75,0x6d,0x65,0x6e,0x74,0x4f,0x70,0x65,0x72,0x61,0x74,0x69,0x6f,0x6e])]&&_0x395e31++,_0x395e31==(0x47a280ee^_0x525dd3)&&(_0x2f28b0(),_0x1aaa4c[_0xef1dbb([0x6f,0x66,0x66])]());});}))];return window[_0xef1dbb([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65])][_0xef1dbb([0x72,0x61,0x63,0x65])](_0x46aa7c)[_0xef1dbb([0x74,0x68,0x65,0x6e])](()=>_0x58856f);}async function _0x3d39ef(){await _0x1089de,_0x1a4bff[_0xef1dbb([0x6d,0x6f,0x64,0x65,0x6c])][_0xef1dbb([0x63,0x68,0x61,0x6e,0x67,0x65])]=_0x20d432,_0x1a4bff[_0xef1dbb([0x6d,0x6f,0x64,0x65,0x6c])][_0xef1dbb([0x65,0x6e,0x71,0x75,0x65,0x75,0x65,0x43,0x68,0x61,0x6e,0x67,0x65])]=_0x20d432,_0x1a4bff[_0xef1dbb([0x65,0x6e,0x61,0x62,0x6c,0x65,0x52,0x65,0x61,0x64,0x4f,0x6e,0x6c,0x79,0x4d,0x6f,0x64,0x65])](_0xef1dbb([0x6d,0x6f,0x64,0x65,0x6c]));}function _0x23d02d(_0x2106e1){const _0x5b0f4c=_0x328687();_0x1a4bff[_0x5b0f4c]=_0xef1dbb([0x66,0x6f,0x6f,0x74,0x6e,0x6f,0x74,0x65,0x73,0x4c,0x69,0x63,0x65,0x6e,0x73,0x65,0x4b,0x65,0x79])+_0x2106e1,_0x2106e1!=_0xef1dbb([0x56,0x61,0x6c,0x69,0x64])&&_0x3d39ef();}function _0x328687(){const _0x4ae768=window[_0xef1dbb([0x53,0x74,0x72,0x69,0x6e,0x67])](window[_0xef1dbb([0x70,0x65,0x72,0x66,0x6f,0x72,0x6d,0x61,0x6e,0x63,0x65])][_0xef1dbb([0x6e,0x6f,0x77])]())[_0xef1dbb([0x72,0x65,0x70,0x6c,0x61,0x63,0x65])](_0xef1dbb([0x2e]),'');let _0x534948=_0xef1dbb([0x75]);for(let _0xecef05=0x0;_0xecef05<_0x4ae768[_0xef1dbb([0x6c,0x65,0x6e,0x67,0x74,0x68])];_0xecef05+=0x2){let _0x397dde=window[_0xef1dbb([0x70,0x61,0x72,0x73,0x65,0x49,0x6e,0x74])](_0x4ae768[_0xef1dbb([0x73,0x75,0x62,0x73,0x74,0x72,0x69,0x6e,0x67])](_0xecef05,_0xecef05+0x2));_0x397dde>=_0xc4ff83[_0xef1dbb([0x6c,0x65,0x6e,0x67,0x74,0x68])]&&(_0x397dde-=_0xc4ff83[_0xef1dbb([0x6c,0x65,0x6e,0x67,0x74,0x68])]),_0x534948+=_0xc4ff83[_0x397dde];}return _0x534948;}function _0x3326a9(){const _0x2dbb41=_0x4d61da[_0xef1dbb([0x73,0x70,0x6c,0x69,0x74])](_0xef1dbb([0x2e]));if(0x3!=_0x2dbb41[_0xef1dbb([0x6c,0x65,0x6e,0x67,0x74,0x68])])return null;return _0xcf06b1(_0x2dbb41[0x1]);function _0xcf06b1(_0x38a1f4){const _0x362310=_0x2c059d(_0x38a1f4);return _0x362310&&_0x80a07b()?_0x362310:null;function _0x80a07b(){const _0x121be0=_0x362310[_0xef1dbb([0x6a,0x74,0x69])],_0x2fedcc=window[_0xef1dbb([0x70,0x61,0x72,0x73,0x65,0x49,0x6e,0x74])](_0x121be0[_0xef1dbb([0x73,0x75,0x62,0x73,0x74,0x72,0x69,0x6e,0x67])](_0x121be0[_0xef1dbb([0x6c,0x65,0x6e,0x67,0x74,0x68])]-0x8),0x10),_0x49b2c1={..._0x362310,[_0xef1dbb([0x6a,0x74,0x69])]:_0x121be0[_0xef1dbb([0x73,0x75,0x62,0x73,0x74,0x72,0x69,0x6e,0x67])](0x0,_0x121be0[_0xef1dbb([0x6c,0x65,0x6e,0x67,0x74,0x68])]-0x8)};return delete _0x49b2c1[_0xef1dbb([0x76,0x63])],_0x570fe1(_0x49b2c1)==_0x2fedcc;}}}async function _0x493a5b(){let _0x562253=!0x0;try{const _0x2e676c=_0x4d61da[_0xef1dbb([0x73,0x70,0x6c,0x69,0x74])](_0xef1dbb([0x2e])),[_0x53f79b,_0x24ae4c,_0x245258]=_0x2e676c;return _0x198bb6(_0x53f79b),await _0x5729ed(_0x53f79b,_0x24ae4c,_0x245258),_0x562253;}catch{return!0x1;}function _0x198bb6(_0x37cd16){const _0x27fc52=_0x2c059d(_0x37cd16);_0x27fc52&&_0x27fc52[_0xef1dbb([0x61,0x6c,0x67])]==_0xef1dbb([0x45,0x53,0x32,0x35,0x36])||(_0x562253=!0x1);}async function _0x5729ed(_0x158180,_0x1da991,_0x25b4e3){const _0x511503=window[_0xef1dbb([0x55,0x69,0x6e,0x74,0x38,0x41,0x72,0x72,0x61,0x79])][_0xef1dbb([0x66,0x72,0x6f,0x6d])](_0xa41649(_0x25b4e3),_0x289fd5=>_0x289fd5[_0xef1dbb([0x63,0x68,0x61,0x72,0x43,0x6f,0x64,0x65,0x41,0x74])](0x0)),_0x535938=new window[(_0xef1dbb([0x54,0x65,0x78,0x74,0x45,0x6e,0x63,0x6f,0x64,0x65,0x72]))]()[_0xef1dbb([0x65,0x6e,0x63,0x6f,0x64,0x65])](_0x158180+_0xef1dbb([0x2e])+_0x1da991),_0x5d33f0=window[_0xef1dbb([0x63,0x72,0x79,0x70,0x74,0x6f])][_0xef1dbb([0x73,0x75,0x62,0x74,0x6c,0x65])];if(!_0x5d33f0)return;const _0x441cb6=await _0x5d33f0[_0xef1dbb([0x69,0x6d,0x70,0x6f,0x72,0x74,0x4b,0x65,0x79])](_0xef1dbb([0x6a,0x77,0x6b]),_0x2affc9,{[_0xef1dbb([0x6e,0x61,0x6d,0x65])]:_0xef1dbb([0x45,0x43,0x44,0x53,0x41]),[_0xef1dbb([0x6e,0x61,0x6d,0x65,0x64,0x43,0x75,0x72,0x76,0x65])]:_0xef1dbb([0x50,0x2d,0x32,0x35,0x36])},!0x1,[_0xef1dbb([0x76,0x65,0x72,0x69,0x66,0x79])]);await _0x5d33f0[_0xef1dbb([0x76,0x65,0x72,0x69,0x66,0x79])]({[_0xef1dbb([0x6e,0x61,0x6d,0x65])]:_0xef1dbb([0x45,0x43,0x44,0x53,0x41]),[_0xef1dbb([0x68,0x61,0x73,0x68])]:{[_0xef1dbb([0x6e,0x61,0x6d,0x65])]:_0xef1dbb([0x53,0x48,0x41,0x2d,0x32,0x35,0x36])}},_0x441cb6,_0x511503,_0x535938)||(_0x562253=!0x1);}}function _0x2c059d(_0x571604){return _0x571604[_0xef1dbb([0x73,0x74,0x61,0x72,0x74,0x73,0x57,0x69,0x74,0x68])](_0xef1dbb([0x65,0x79]))?JSON[_0xef1dbb([0x70,0x61,0x72,0x73,0x65])](_0xa41649(_0x571604)):null;}function _0xa41649(_0x4ba659){return window[_0xef1dbb([0x61,0x74,0x6f,0x62])](_0x4ba659[_0xef1dbb([0x72,0x65,0x70,0x6c,0x61,0x63,0x65])](/-/g,_0xef1dbb([0x2b]))[_0xef1dbb([0x72,0x65,0x70,0x6c,0x61,0x63,0x65])](/_/g,_0xef1dbb([0x2f])));}function _0x570fe1(_0xbdb997){let _0x5a6224=0x1505;function _0x4cabc5(_0xbf00c4){for(let _0xe32c37=0x0;_0xe32c37<_0xbf00c4[_0xef1dbb([0x6c,0x65,0x6e,0x67,0x74,0x68])];_0xe32c37++){const _0x3277d1=_0xbf00c4[_0xef1dbb([0x63,0x68,0x61,0x72,0x43,0x6f,0x64,0x65,0x41,0x74])](_0xe32c37);_0x5a6224=(_0x5a6224<<0x5)+_0x5a6224+_0x3277d1,_0x5a6224&=_0x5a6224;}}function _0x2054cc(_0x1e54e4){Array[_0xef1dbb([0x69,0x73,0x41,0x72,0x72,0x61,0x79])](_0x1e54e4)?_0x1e54e4[_0xef1dbb([0x66,0x6f,0x72,0x45,0x61,0x63,0x68])](_0x2054cc):_0x1e54e4&&typeof _0x1e54e4==_0xef1dbb([0x6f,0x62,0x6a,0x65,0x63,0x74])?Object[_0xef1dbb([0x65,0x6e,0x74,0x72,0x69,0x65,0x73])](_0x1e54e4)[_0xef1dbb([0x73,0x6f,0x72,0x74])]()[_0xef1dbb([0x66,0x6f,0x72,0x45,0x61,0x63,0x68])](([_0xc26adf,_0x43dae5])=>{_0x4cabc5(_0xc26adf),_0x2054cc(_0x43dae5);}):_0x4cabc5(window[_0xef1dbb([0x53,0x74,0x72,0x69,0x6e,0x67])](_0x1e54e4));}return _0x2054cc(_0xbdb997),_0x5a6224>>>0x0;}function _0x571e77(_0xc90a39){return _0xc90a39[_0xef1dbb([0x74,0x6f,0x53,0x74,0x72,0x69,0x6e,0x67])](0x10)[_0xef1dbb([0x70,0x61,0x64,0x53,0x74,0x61,0x72,0x74])](0x8,_0xef1dbb([0x30]));}function _0x5a50eb(_0x21ec78){return _0x21ec78[_0xef1dbb([0x73,0x70,0x6c,0x69,0x74])]('')[_0xef1dbb([0x72,0x65,0x76,0x65,0x72,0x73,0x65])]()[_0xef1dbb([0x6a,0x6f,0x69,0x6e])]('');}function _0x20d432(){}function _0xef1dbb(_0xee6c92){return _0xee6c92['map'](_0x2b0635=>String['fromCharCode'](_0x2b0635))['join']('');}_0x23d02d(await _0x45b553());}(this);}['_moveSelectionToFootnoteDefinition'](_0x318a16){const {plugins:_0x497741,editing:_0x11d3c7,model:_0x163821}=this['editor'],_0x7c9209=_0x497741['get'](FootnotesTracker)['getFootnote'](_0x318a16);return!!_0x7c9209&&(_0x163821['change'](_0x4ce986=>{_0x4ce986['setSelection'](_0x4ce986['createPositionAt'](_0x7c9209['definition'],'end'));}),_0x11d3c7['view']['scrollToTheSelection'](),!0x0);}['_moveSelectionToFootnoteReference'](_0xe6b451){const {plugins:_0x4b2317,editing:_0x16bfd6,model:_0xd9a83}=this['editor'],_0x23e63e=_0x4b2317['get'](FootnotesTracker)['getFootnote'](_0xe6b451);return!!_0x23e63e&&(_0xd9a83['change'](_0x5af15a=>{_0x5af15a['setSelection'](_0x23e63e['reference'],'on');}),_0x16bfd6['view']['scrollToTheSelection'](),!0x0);}['_defineSchema'](){const {schema:_0x32bdb5}=this['editor']['model'],_0x4a785a=this['editor']['config']['get']('footnotes.multiBlock');_0x32bdb5['register']('footnoteRef',{'inheritAllFrom':'$inlineObject','allowAttributes':['footnoteId','footnoteCounter']}),_0x32bdb5['register']('footnotesDefinitions',{'inheritAllFrom':'$blockObject','allowChildren':['footnoteDefinition']}),_0x32bdb5['register']('footnoteDefinition',{'allowAttributes':['footnoteId'],'disallowAttributes':['listItemId'],'isLimit':!0x0}),_0x4a785a?_0x32bdb5['extend']('footnoteDefinition',{'allowContentOf':'$container'}):_0x32bdb5['register']('footnoteInlineContent',{'allowIn':'footnoteDefinition','allowContentOf':'$block','isLimit':!0x0}),_0x32bdb5['addChildCheck'](_0x415a81=>{for(const _0x1e0309 of _0x415a81)if('footnoteDefinition'===_0x1e0309['name'])return!0x1;},'footnoteRef');}['_defineRefsConverters'](){const {editor:_0x357ee7}=this,{conversion:_0x413856,editing:_0x5bc909}=_0x357ee7,{t:t}=_0x357ee7['locale'];_0x413856['for']('upcast')['elementToElement']({'view':{'name':'sup','classes':'footnote'},'model':(_0x21876b,{writer:_0x5ee048,consumable:_0x21c397})=>{const _0x5d2cc5=_0x21876b['getChild'](0x0);if(!_0x5d2cc5||!_0x5d2cc5['is']('element','a'))return null;const _0xf28bbd=_0x5d2cc5['getAttribute']('href')||'';if(!_0xf28bbd['startsWith']('#'))return null;const _0x3d43bc=_0xf28bbd['replace'](/^#/,'');if(!_0x3d43bc)return null;_0x21c397['consume'](_0x5d2cc5,{'name':!0x0,'attributes':['href']});for(const {item:_0x4f30f7}of _0x5bc909['view']['createRangeIn'](_0x5d2cc5))_0x4f30f7['is']('$textProxy')?_0x21c397['consume'](_0x4f30f7['textNode'],{'name':!0x0}):_0x4f30f7['is']('element')&&_0x21c397['consume'](_0x4f30f7,{'name':!0x0});return _0x5ee048['createElement']('footnoteRef',{'footnoteId':_0x3d43bc});}}),_0x413856['for']('dataDowncast')['elementToElement']({'model':{'name':'footnoteRef','attributes':['footnoteId','footnoteCounter']},'view':(_0x4afa16,{writer:_0x4106c6})=>U(_0x4afa16,_0x4106c6)}),_0x413856['for']('editingDowncast')['elementToElement']({'model':{'name':'footnoteRef','attributes':['footnoteId','footnoteCounter']},'view':(_0x347a2b,{writer:_0x5b4898})=>{const _0x29cccb=_0x347a2b['getAttribute']('footnoteCounter');return _0x12440a(U(_0x347a2b,_0x5b4898),_0x5b4898,{'label':t('Footnote\x20%0.\x20Press\x20ENTER\x20to\x20jump\x20to\x20footnote\x20definition.',_0x29cccb)});}});}['_defineDefinitionsConverters'](){const {editor:_0x447aed}=this,{t:t}=_0x447aed['locale'],{conversion:_0x4cd4e0}=_0x447aed;_0x4cd4e0['for']('upcast')['elementToElement']({'view':{'name':'div','classes':'footnotes'},'model':'footnotesDefinitions'}),_0x4cd4e0['for']('upcast')['add'](_0x5977d2=>{_0x5977d2['on']('element:ol',(_0x575d1d,_0x920f74,_0x21c1f1)=>{const _0x42e65b=_0x920f74['viewItem'];if(!_0x42e65b['hasClass']('footnotes-list')||!_0x920f74['modelCursor']['parent']?.['is']('element','footnotesDefinitions'))return;if(!_0x21c1f1['consumable']['consume'](_0x42e65b,{'name':!0x0,'classes':'footnotes-list'}))return;const {modelRange:_0x3a3f35,modelCursor:_0x3e47b7}=_0x21c1f1['convertChildren'](_0x920f74['viewItem'],_0x920f74['modelCursor']);_0x920f74['modelRange']=_0x3a3f35,_0x920f74['modelCursor']=_0x3e47b7;}),_0x5977d2['on']('element:hr',(_0x24ef8d,_0x4d1c7e,_0xf4d5ed)=>{const _0x3081a7=_0x4d1c7e['viewItem'];_0x3081a7['hasClass']('footnotes-divider')&&_0x4d1c7e['modelCursor']['parent']?.['is']('element','footnotesDefinitions')&&_0xf4d5ed['consumable']['consume'](_0x3081a7,{'name':!0x0,'classes':'footnotes-divider'});});}),_0x4cd4e0['for']('dataDowncast')['elementToStructure']({'model':'footnotesDefinitions','view':(_0x2aba92,{writer:_0x2f4628})=>$(_0x2f4628)}),_0x4cd4e0['for']('editingDowncast')['elementToStructure']({'model':'footnotesDefinitions','view':(_0x18bdb9,{writer:_0x366ded})=>{const _0x41522f=$(_0x366ded,{'data-footnotes-list-label':t('Footnotes')}),_0x4cefb1=_0x12440a(_0x41522f,_0x366ded,{'hasSelectionHandle':!0x0,'label':t('Footnotes')});return _0x366ded['setCustomProperty']('footnotesDefinitions',!0x0,_0x4cefb1),_0x4cefb1;}});}['_defineDefinitionConverters'](){const {editor:_0x34ec7f}=this,{conversion:_0xa984,locale:_0x56e6b1}=_0x34ec7f,_0x13f1e1=_0x34ec7f['config']['get']('footnotes.multiBlock');_0xa984['for']('upcast')['add'](_0x257907=>{_0x257907['on']('element:li',(_0x18de1d,_0x956787,_0x563328)=>{const _0x2325da=_0x956787['viewItem'];if(!_0x2325da['hasClass']('footnote-definition')||!_0x2325da['getAttribute']('id'))return;const _0x5b0b5e=_0x2325da['parent'];if(!_0x5b0b5e['is']('element','ol')||!_0x5b0b5e['hasClass']('footnotes-list'))return;if(!_0x563328['consumable']['test'](_0x2325da,{'name':!0x0,'attributes':'id','classes':'footnote-definition'}))return;const _0x48c661=_0x563328['writer']['createElement']('footnoteDefinition',{'footnoteId':_0x2325da['getAttribute']('id')});if(!_0x563328['safeInsert'](_0x48c661,_0x956787['modelCursor']))return;_0x563328['consumable']['consume'](_0x2325da,{'name':!0x0,'attributes':'id','classes':'footnote-definition'});const _0x47d30c=Array['from'](_0x2325da['getChildren']())['find'](_0x1cd982=>_0x1cd982['is']('element')&&_0x1cd982['hasClass']('footnote-content'));for(const _0x1b0122 of _0x2325da['getChildren']())_0x1b0122['is']('element')&&(_0x563328['consumable']['consume'](_0x1b0122,{'name':!0x0,'classes':'footnote-backlink','attributes':'href'}),_0x563328['consumable']['consume'](_0x1b0122,{'name':!0x0,'classes':'footnote-content'}));if(_0x47d30c){if(_0x13f1e1)_0x563328['convertChildren'](_0x47d30c,_0x48c661);else{const _0x51871b=_0x563328['writer']['createElement']('footnoteInlineContent');_0x563328['writer']['insert'](_0x51871b,_0x48c661),_0x563328['convertChildren'](_0x47d30c,_0x51871b);}}_0x563328['updateConversionResult'](_0x48c661,_0x956787);});}),_0xa984['for']('dataDowncast')['elementToStructure']({'model':{'name':'footnoteDefinition','attributes':['footnoteId']},'view':(_0x52f459,{writer:_0x2a6abd})=>B(_0x52f459,_0x2a6abd,_0x56e6b1,{'dataPipeline':!0x0})}),_0xa984['for']('editingDowncast')['elementToStructure']({'model':{'name':'footnoteDefinition','attributes':['footnoteId']},'view':(_0x4d7c7d,{writer:_0x303359})=>B(_0x4d7c7d,_0x303359,_0x56e6b1)});}['_defineBogusParagraphConverters'](){const {editor:_0x37b191}=this,{conversion:_0x82d3b5}=_0x37b191;_0x37b191['config']['get']('footnotes.multiBlock')?(_0x82d3b5['for']('editingDowncast')['elementToElement']({'model':'paragraph','view':K(),'converterPriority':'high'}),_0x82d3b5['for']('dataDowncast')['elementToElement']({'model':'paragraph','view':K({'dataPipeline':!0x0}),'converterPriority':'high'}),this['listenTo'](_0x37b191['model']['document'],'change:data',()=>{!function(_0x13baef,_0x214cf9){const _0x31c7d9=_0x13baef['document']['differ'],_0x4b784e=new Set();for(const _0x3ce944 of _0x31c7d9['getChanges']()){const _0x336676='attribute'==_0x3ce944['type']?_0x3ce944['range']['start']['parent']:_0x3ce944['position']['parent'];_0x336676['is']('element','footnoteDefinition')&&_0x4b784e['add'](_0x336676);}for(const _0x1ee0e0 of _0x4b784e['values']()){const _0x18493d=Array['from'](_0x1ee0e0['getChildren']())['filter'](_0x9fab9b=>V(_0x9fab9b,_0x214cf9['mapper']));for(const _0xf15a24 of _0x18493d)_0x214cf9['reconvertItem'](_0xf15a24);}}(_0x37b191['model'],_0x37b191['editing']);})):(_0x82d3b5['for']('editingDowncast')['elementToElement']({'model':'footnoteInlineContent','view':K()}),_0x82d3b5['for']('dataDowncast')['elementToElement']({'model':'footnoteInlineContent','view':(_0x339b4b,{writer:_0x4f1b75})=>{const _0x10a155=_0x4f1b75['createContainerElement']('span');return _0x4f1b75['setCustomProperty']('dataPipeline:transparentRendering',!0x0,_0x10a155),_0x10a155;}}));}['_defineKeyboardHandlers'](){const {editor:_0x378994}=this,{editing:_0x21f195,t:t}=_0x378994,_0x1b5089=_0x378994['model']['document']['selection'];_0x378994['keystrokes']['set']('Ctrl+Alt+F','insertFootnote'),_0x378994['accessibility']['addKeystrokeInfos']({'keystrokes':[{'label':t('Insert\x20footnote'),'keystroke':'Ctrl+Alt+F'}]}),this['listenTo'](_0x21f195['view']['document'],'enter',(_0x27d5dc,_0xb89365)=>{const _0x443651=function(_0x1bcbb9){const _0x305c5d=_0x1bcbb9['getSelectedElement']();if(_0x305c5d?.['is']('element','footnoteRef'))return _0x305c5d;return null;}(_0x1b5089);if(_0x443651){const _0x1b74da=_0x443651['getAttribute']('footnoteId');this['_moveSelectionToFootnoteDefinition'](_0x1b74da),_0xb89365['preventDefault'](),_0x27d5dc['stop']();}},{'context':_0x4d98a9});}['_defineClickHandlers'](){const {editor:_0x32a9e9}=this,{editing:_0x58b5da}=_0x32a9e9;_0x32a9e9['editing']['view']['addObserver'](_0x7ed316),_0x32a9e9['editing']['view']['addObserver'](_0x2f497e);let _0x247568=!0x1;this['listenTo'](_0x58b5da['view']['document'],'pointerdown',(_0x415b8e,_0x2f55e2)=>{const {target:_0x3ddf5d}=_0x2f55e2,_0x1b90ab=_0x58b5da['view']['document']['selection'];_0x247568=!!(_0x3ddf5d?.['is']('element','a')&&_0x3ddf5d['parent']?.['is']('element','sup')&&_0x3ddf5d['parent']['hasClass']('footnote'))&&_0x1b90ab['getSelectedElement']()===_0x3ddf5d['parent'];},{'priority':'high'}),this['listenTo'](_0x58b5da['view']['document'],'click',(_0x4e5fa3,_0x55f6e6)=>{const {target:_0x11e597}=_0x55f6e6;if(!_0x11e597?.['is']('element','a'))return;if(_0x11e597['parent']?.['is']('element','sup')&&_0x11e597['parent']['hasClass']('footnote')&&!_0x247568)return void _0x55f6e6['preventDefault']();let _0x57f241=_0x11e597['getAttribute']('href');if(!_0x57f241?.['startsWith']('#'))return;_0x57f241=_0x57f241['slice'](0x1);let _0x28457c=!0x1;(_0x57f241['startsWith']('ref-')&&this['_moveSelectionToFootnoteReference'](_0x57f241['slice'](0x4))||this['_moveSelectionToFootnoteDefinition'](_0x57f241))&&(_0x28457c=!0x0),_0x28457c&&(_0x55f6e6['preventDefault'](),_0x4e5fa3['stop']());},{'priority':'high','context':'$capture'});}}function K({dataPipeline:_0xd35280}={}){return(_0x2f332d,{writer:_0x4950a5})=>{if(!j(_0x2f332d))return null;if(!_0xd35280)return _0x4950a5['createContainerElement']('span',{'class':'ck-footnote-bogus-paragraph'});const _0x5e57ff=_0x4950a5['createContainerElement']('p');return _0x4950a5['setCustomProperty']('dataPipeline:transparentRendering',!0x0,_0x5e57ff),_0x5e57ff;};}function j(_0xd000a8){const {parent:_0x41e507}=_0xd000a8;if(!_0x41e507?.['is']('element','footnoteDefinition'))return!0x1;if(0x1!=_0x41e507['childCount'])return!0x1;for(const _0x5ffd5 of _0xd000a8['getAttributeKeys']())if(!_0x5ffd5['startsWith']('selection:')&&'htmlEmptyBlock'!=_0x5ffd5)return!0x1;return!0x0;}function V(_0x39b574,_0x21f8f7){if(!_0x39b574['is']('element','paragraph'))return!0x1;const _0x45d019=_0x21f8f7['toViewElement'](_0x39b574);return!!_0x45d019&&j(_0x39b574)!==_0x45d019['is']('element','span');}function M(_0x2ac149){return _0x4d98a9(_0x2ac149)&&_0x2ac149['is']('containerElement')&&!!_0x2ac149['getCustomProperty']('footnotesDefinitions');}function $(_0x28ca04,_0x4e3426={}){const _0x3057a6=_0x28ca04['createEmptyElement']('hr',{'class':'footnotes-divider'}),_0x59eb4a=_0x28ca04['createContainerElement']('ol',{'class':'footnotes-list'},_0x28ca04['createSlot']());return _0x28ca04['createContainerElement']('div',{'class':'footnotes',..._0x4e3426},[_0x3057a6,_0x59eb4a]);}function U(_0x1608a5,_0x46bbd7){const _0x145f64=_0x1608a5['getAttribute']('footnoteId'),_0x52b303=_0x1608a5['getAttribute']('footnoteCounter'),_0x2b6d2c=_0x46bbd7['createUIElement']('a',{'href':'#'+_0x145f64},function(_0x53689c){const _0x3c6430=this['toDomElement'](_0x53689c);return _0x3c6430['textContent']=_0x52b303,_0x3c6430;}),_0x3cfc63=_0x46bbd7['createContainerElement']('sup',{'id':'ref-'+_0x145f64,'class':'footnote'},[_0x2b6d2c]);return _0x3cfc63['getFillerOffset']=()=>null,_0x3cfc63;}function B(_0x491fff,_0x36335b,_0x37a5b1,{dataPipeline:_0x1a7163}={}){const {t:t}=_0x37a5b1,_0x19b0bb=_0x491fff['getAttribute']('footnoteId'),_0x26ec4d=_0x36335b['createUIElement']('a',{'class':'footnote-backlink','href':'#ref-'+_0x19b0bb},function(_0x6022ea){const _0x1985af=this['toDomElement'](_0x6022ea);return _0x1985af['innerText']='^',_0x1985af;}),_0x315ff3=_0x1a7163?_0x36335b['createContainerElement']('div',{'class':'footnote-content'}):_0x2c96c9(_0x36335b['createEditableElement']('div',{'class':'footnote-content'}),_0x36335b,{'label':t('Footnote\x20content.')});return _0x36335b['insert'](_0x36335b['createPositionAt'](_0x315ff3,0x0),_0x36335b['createSlot']()),_0x36335b['createContainerElement']('li',{'class':'footnote-definition','id':_0x19b0bb},[_0x26ec4d,_0x315ff3]);}class FootnotesClipboard extends _0xcdca79{static get['pluginName'](){return'FootnotesClipboard';}static get['requires'](){return[FootnotesEditing,_0x182c6d];}static get['isOfficialPlugin'](){return!0x0;}static get['isPremiumPlugin'](){return!0x0;}['init'](){this['_defineClipboardIntegration']();}['_defineClipboardIntegration'](){this['_handleCopyFootnotesDefinitions'](),this['_handlePasteFootnotesDefinitions']();}['_handleCopyFootnotesDefinitions'](){const {editor:_0x415321}=this,{plugins:_0x1072ea,model:_0x200c1f}=_0x415321,_0x206458=_0x1072ea['get'](_0x182c6d),_0x1e1006=_0x1072ea['get'](FootnotesTracker);this['listenTo'](_0x206458,'outputTransformation',(_0x641e7f,_0x598b7d)=>{const _0x538f99=H(_0x200c1f['createRangeIn'](_0x598b7d['content']));if(!_0x538f99['length'])return;const _0x3b99a8=_0x1e1006['getFootnotes'](),_0x4f186a=_0x538f99['reduce']((_0x4cc92c,_0x578bb4)=>{const _0x43817c=_0x3b99a8['find'](_0x3d458d=>_0x3d458d['id']===_0x578bb4);if(_0x43817c){const _0x439486=_0x415321['data']['toView'](_0x43817c['definition'],{'isClipboardPipeline':!0x0}),_0x224ee0=_0x415321['data']['htmlProcessor']['toData'](_0x439486);_0x4cc92c[_0x43817c['id']]=_0x224ee0;}return _0x4cc92c;},Object['create'](null));_0x598b7d['dataTransfer']['setData']('application/ckeditor5-footnotes',JSON['stringify'](_0x4f186a));});}['_handlePasteFootnotesDefinitions'](){const {editor:_0x5bd025}=this,{model:_0x336ccd,plugins:_0x53c59b}=_0x5bd025,{view:_0x113ba7}=_0x5bd025['editing'],_0x289139=_0x53c59b['get'](_0x182c6d),_0x3b938d=_0x53c59b['get'](FootnotesTracker),_0x5dffcc=_0x5bd025['config']['get']('footnotes.multiBlock');let _0x2dc80e=null;this['listenTo'](_0x113ba7['document'],'clipboardInput',(_0x1042aa,_0x53e01c)=>{const _0x1c7d52=_0x53e01c['dataTransfer']['getData']('application/ckeditor5-footnotes');_0x2dc80e=_0x1c7d52?JSON['parse'](_0x1c7d52):null;}),this['listenTo'](_0x289139,'contentInsertion',(_0x2c207b,_0x51b6cf)=>{const _0x463859=_0x51b6cf['sourceEditorId']===this['editor']['id'];_0x463859&&'drop'===_0x51b6cf['method']||_0x336ccd['change'](_0x196bdb=>{let _0x3090c2=_0x3b938d['getFootnotesDefinitionsObjectElement']();const _0x463a36=!!_0x3090c2&&Array['from'](_0x336ccd['document']['selection']['getSelectedBlocks']())['includes'](_0x3090c2);if(!_0x2dc80e&&function(_0x256008){for(const {item:_0x100570}of _0x256008)if(_0x100570['is']('element','footnoteRef'))return!0x0;return!0x1;}(_0x336ccd['createRangeIn'](_0x51b6cf['content']))&&(_0x2dc80e=function(_0x91e916,_0x5e2bb7){const _0x52d5f2=q(_0x91e916,_0x5e2bb7);if(!_0x52d5f2)return null;const _0x4a6f73=Object['create'](null);for(const _0x18c695 of _0x52d5f2['getChildren']())_0x18c695['is']('element','footnoteDefinition')&&_0x18c695['hasAttribute']('footnoteId')&&(_0x4a6f73[_0x18c695['getAttribute']('footnoteId')]=_0x91e916['cloneElement'](_0x18c695,!0x0));return Object['keys'](_0x4a6f73)['length']?_0x4a6f73:null;}(_0x196bdb,_0x51b6cf['content'])),(_0x3090c2&&!_0x463a36||!_0x3090c2&&!_0x2dc80e)&&function(_0x2b864b,_0x8ebd85){const _0x313013=[];for(const {item:_0x4c756e}of _0x2b864b['createRangeIn'](_0x8ebd85))_0x4c756e['is']('element','footnotesDefinitions')&&_0x313013['push'](_0x4c756e);for(const _0x4b56c8 of _0x313013)_0x2b864b['remove'](_0x4b56c8);}(_0x196bdb,_0x51b6cf['content']),!_0x2dc80e)return;const {selection:_0x19346f}=_0x336ccd['document'],_0x3902cf=_0x19346f['getFirstRange']()['root'];_0x3090c2&&!_0x463a36||(_0x3090c2=q(_0x196bdb,_0x51b6cf['content']),_0x3090c2||=_0x3b938d['_insertEmptyFootnotesDefinitionsContainer'](_0x196bdb,_0x3902cf));const _0x2ad1f3=Array['from'](_0x19346f['getRanges']())['flatMap'](H),_0x5cf689=function(_0xce2b5c,_0x678dac,_0x3e99eb){const _0x373742=Object['create'](null);for(const {item:_0x15856f}of _0xce2b5c['createRangeIn'](_0x678dac))if(_0x15856f['is']('element','footnoteRef')){const _0x393166=_0x15856f['getAttribute']('footnoteId');if(!_0x3e99eb(_0x393166))continue;_0x373742[_0x393166]||(_0x373742[_0x393166]=_0x5f2be9()),_0xce2b5c['setAttribute']('footnoteId',_0x373742[_0x393166],_0x15856f);}return _0x373742;}(_0x196bdb,_0x51b6cf['content'],_0x37c5b7=>{if(!_0x463859)return!0x0;return!!_0x3b938d['getFootnote'](_0x37c5b7)&&!_0x2ad1f3['includes'](_0x37c5b7);});for(const [_0x219449,_0x4ac9d]of Object['entries'](_0x2dc80e)){const _0x3cf1d3=_0x5cf689[_0x219449]||_0x219449;let _0x2a2694;if('string'!=typeof _0x4ac9d)_0x2a2694=_0x4ac9d,_0x3cf1d3!==_0x219449&&_0x196bdb['setAttribute']('footnoteId',_0x3cf1d3,_0x2a2694);else{_0x2a2694=_0x196bdb['createElement']('footnoteDefinition',{'footnoteId':_0x3cf1d3});const _0xb94b53=_0x5bd025['data']['htmlProcessor']['toView'](_0x4ac9d);let _0x98c495;if(_0x5dffcc)_0x98c495=_0x5bd025['data']['toModel'](_0xb94b53,_0x2a2694);else{_0x98c495=_0x196bdb['createElement']('footnoteInlineContent');const _0x411a7d=_0x5bd025['data']['toModel'](_0xb94b53,_0x98c495);_0x196bdb['insert'](_0x411a7d,_0x98c495);}_0x196bdb['append'](_0x98c495,_0x2a2694);}_0x196bdb['insert'](_0x2a2694,_0x3090c2,'end');}_0x2dc80e=null;});});}}function q(_0x30ef4c,_0x51400b){for(const {item:_0x288efd}of _0x30ef4c['createRangeIn'](_0x51400b))if(_0x288efd['is']('element','footnotesDefinitions'))return _0x288efd;return null;}function H(_0x421bd5){const _0xe36e7b=new Set();for(const {item:_0x131985}of _0x421bd5)_0x131985['is']('element','footnoteRef')&&_0xe36e7b['add'](_0x131985['getAttribute']('footnoteId'));return Array['from'](_0xe36e7b);}class FootnotesUI extends _0xcdca79{['licenseKey'];['_licenseKeyCheckInterval'];static get['pluginName'](){return'FootnotesUI';}static get['isOfficialPlugin'](){return!0x0;}static get['isPremiumPlugin'](){return!0x0;}['init'](){const {editor:_0x27242f}=this,{componentFactory:_0x46679f}=_0x27242f['ui'];_0x46679f['add']('insertFootnote',z(_0x27242f,_0x13cd7f)),_0x46679f['add']('menuBar:insertFootnote',z(_0x27242f,_0x28a3da)),this['licenseKey']=this['editor']['config']['get']('licenseKey');const _0xe96178=this['editor'];this['_licenseKeyCheckInterval']=setInterval(()=>{let _0x18649b;for(const _0x562c95 in _0xe96178){const _0x368d12=_0x562c95,_0x25c890=_0xe96178[_0x368d12];if('footnotesLicenseKeyValid'==_0x25c890||'footnotesLicenseKeyInvalid'==_0x25c890||'footnotesLicenseKeyExpired'==_0x25c890||'footnotesLicenseKeyDomainLimit'==_0x25c890||'footnotesLicenseKeyNotAllowed'==_0x25c890||'footnotesLicenseKeyEvaluationLimit'==_0x25c890||'footnotesLicenseKeyUsageLimit'==_0x25c890){delete _0xe96178[_0x368d12],_0x18649b=_0x25c890,clearInterval(this['_licenseKeyCheckInterval']),this['_licenseKeyCheckInterval']=void 0x0;break;}}'footnotesLicenseKeyInvalid'==_0x18649b&&_0xe96178['_showLicenseError']('invalid'),'footnotesLicenseKeyExpired'==_0x18649b&&_0xe96178['_showLicenseError']('expired'),'footnotesLicenseKeyDomainLimit'==_0x18649b&&_0xe96178['_showLicenseError']('domainLimit'),'footnotesLicenseKeyNotAllowed'==_0x18649b&&_0xe96178['_showLicenseError']('featureNotAllowed','Footnotes'),'footnotesLicenseKeyEvaluationLimit'==_0x18649b&&_0xe96178['_showLicenseError']('evaluationLimit'),'footnotesLicenseKeyUsageLimit'==_0x18649b&&_0xe96178['_showLicenseError']('usageLimit');},0x3e8);}['destroy'](){super['destroy'](),this['_licenseKeyCheckInterval']&&clearInterval(this['_licenseKeyCheckInterval']);}}function z(_0x2ac33a,_0x5b8339){const _0x1e824b=_0x2ac33a['commands']['get']('insertFootnote');return _0x58d8ac=>{const {t:t}=_0x58d8ac,_0x517d83=new _0x5b8339(_0x58d8ac),_0x13522c=_0x517d83 instanceof _0x28a3da;return _0x517d83['bind']('isEnabled')['to'](_0x1e824b,'isEnabled'),_0x517d83['set']({'label':t(_0x13522c?'Footnote':'Insert\x20footnote'),'icon':_0x434dc5,'tooltip':!0x0}),_0x517d83['on']('execute',()=>{_0x1e824b['execute'](),_0x2ac33a['editing']['view']['focus']();}),_0x517d83;};}class Footnotes extends _0xcdca79{static get['pluginName'](){return'Footnotes';}static get['requires'](){return[FootnotesEditing,FootnotesClipboard,FootnotesUI];}static get['isOfficialPlugin'](){return!0x0;}static get['isPremiumPlugin'](){return!0x0;}}const X=['decimal','decimal-leading-zero','lower-latin','upper-latin','lower-roman','upper-roman'],J=Object['create']({'lower-alpha':'lower-latin','upper-alpha':'upper-latin'}),G=[...X,'arabic-indic','lower-alpha','upper-alpha'];class FootnotesStyleCommand extends _0x4a858d{['refresh'](){const {editor:_0x406cad}=this,_0x1b3357=_0x406cad['plugins']['get'](FootnotesTracker)['getFootnotesDefinitionsObjectElement']();this['isEnabled']=!!_0x1b3357,this['value']=_0x1b3357?.['getAttribute']('footnotesListStyle')??null;}['execute']({value:_0x35bbb7}){const {editor:_0x24330b}=this,_0x570e6d=_0x24330b['plugins']['get'](FootnotesTracker),_0x56b128=_0x570e6d['getFootnotesDefinitionsObjectElement']();_0x56b128&&G['includes'](_0x35bbb7)&&_0x24330b['model']['change'](_0x175e1c=>{_0x175e1c['setAttribute']('footnotesListStyle',_0x35bbb7,_0x56b128),_0x570e6d['_updateFootnotesCounters'](_0x175e1c);});}}class FootnotesStartCommand extends _0x4a858d{['refresh'](){const {editor:_0x438a1c}=this,_0xeb58fb=_0x438a1c['plugins']['get'](FootnotesTracker)['getFootnotesDefinitionsObjectElement']();this['isEnabled']=!!_0xeb58fb,this['value']=_0xeb58fb?.['getAttribute']('footnotesListStart')??null;}['execute']({value:_0x19d85c}){const {editor:_0x49cb6d}=this,_0x341eab=_0x49cb6d['plugins']['get'](FootnotesTracker),_0x18e2a1=_0x341eab['getFootnotesDefinitionsObjectElement']();_0x18e2a1&&Number['isInteger'](_0x19d85c)&&_0x49cb6d['model']['change'](_0x4fb5a9=>{_0x4fb5a9['setAttribute']('footnotesListStart',_0x19d85c,_0x18e2a1),_0x341eab['_updateFootnotesCounters'](_0x4fb5a9);});}}function Q(_0x305641,_0x707f44){let _0x4459cb='',_0x473dc0=_0x305641;for(;_0x473dc0>0x0;){const _0x97f9e8=(_0x473dc0-0x1)%0x1a;_0x4459cb=String['fromCharCode'](0x61+_0x97f9e8)+_0x4459cb,_0x473dc0=Math['floor']((_0x473dc0-0x1)/0x1a);}return _0x707f44?_0x4459cb['toUpperCase']():_0x4459cb;}const W=[{'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 Y(_0x2fe63e,_0x194388){let _0x58e629='',_0x2622e4=_0x2fe63e;for(const {value:_0x1617e8,numeral:_0x4b3fdb}of W)for(;_0x2622e4>=_0x1617e8;)_0x58e629+=_0x4b3fdb,_0x2622e4-=_0x1617e8;return _0x194388?_0x58e629:_0x58e629['toLowerCase']();}const Z=['٠','١','٢','٣','٤','٥','٦','٧','٨','٩'];class FootnotesPropertiesEditing extends _0xcdca79{static get['pluginName'](){return'FootnotesPropertiesEditing';}static get['requires'](){return[FootnotesEditing,FootnotesTracker];}static get['isOfficialPlugin'](){return!0x0;}static get['isPremiumPlugin'](){return!0x0;}['init'](){const {editor:_0x590f2f}=this;_0x590f2f['config']['define']('footnotes.footnotesProperties.defaultListStyle','decimal'),_0x590f2f['config']['define']('footnotes.footnotesProperties.defaultStartIndex',0x1),_0x590f2f['config']['define']('footnotes.footnotesProperties.listStyles',[...X]),_0x590f2f['commands']['add']('footnotesStyle',new FootnotesStyleCommand(_0x590f2f)),_0x590f2f['commands']['add']('footnotesStart',new FootnotesStartCommand(_0x590f2f)),this['_defineSchema'](),this['_defineConverters'](),this['_defineFormatter'](),this['_definePostfixer']();}['_defineSchema'](){const {editor:_0x46f441}=this,{schema:_0x1f2333}=_0x46f441['model'];_0x1f2333['extend']('footnotesDefinitions',{'allowAttributes':['footnotesListStyle','footnotesListStart']});}['_defineConverters'](){const {editor:_0x17d87b}=this,{conversion:_0x477c54,model:_0x493586}=_0x17d87b,{schema:_0x475e9e}=_0x493586;_0x477c54['for']('upcast')['add'](_0x4d4943=>{_0x4d4943['on']('element:ol',(_0x31f4dc,_0x39764a,_0x92c834)=>{const _0x526b8b=_0x39764a['viewItem'],_0x5bf841=_0x39764a['modelCursor']?.['parent'];_0x526b8b['hasClass']('footnotes-list')&&_0x5bf841?.['is']('element','footnotesDefinitions')&&(function(_0x5b3bac,_0x4eae87,_0x552b16,_0x4239d2){if(!_0x4239d2['checkAttribute'](_0x4eae87,'footnotesListStart'))return;let _0x6305b9=0x1;const _0x5a2495=_0x552b16['consumable']['consume'](_0x5b3bac,{'attributes':'start'});if(_0x5a2495){const _0x2c103f=Number['parseInt'](_0x5b3bac['getAttribute']('start'),0xa);Number['isNaN'](_0x2c103f)||(_0x6305b9=_0x2c103f);}!_0x5a2495&&_0x4eae87['hasAttribute']('footnotesListStart')||_0x552b16['writer']['setAttribute']('footnotesListStart',_0x6305b9,_0x4eae87);}(_0x526b8b,_0x5bf841,_0x92c834,_0x475e9e),function(_0x5d289b,_0x49a83a,_0x3e67e8,_0x87e407){if(!_0x87e407['checkAttribute'](_0x49a83a,'footnotesListStyle'))return;let _0x541c61='decimal',_0x266f16=!0x1;if(_0x3e67e8['consumable']['consume'](_0x5d289b,{'attributes':'type'})){const _0x4be19f={0x1:'decimal','a':'lower-latin','A':'upper-latin','i':'lower-roman','I':'upper-roman'}[_0x5d289b['getAttribute']('type')];_0x4be19f&&(_0x541c61=_0x4be19f),_0x266f16=!0x0;}if(_0x3e67e8['consumable']['consume'](_0x5d289b,{'styles':'list-style-type'})){const _0x46abd3=tt(_0x5d289b['getStyle']('list-style-type'));_0x46abd3&&(_0x541c61=_0x46abd3),_0x266f16=!0x0;}!_0x266f16&&_0x49a83a['hasAttribute']('footnotesListStyle')||_0x3e67e8['writer']['setAttribute']('footnotesListStyle',_0x541c61,_0x49a83a);}(_0x526b8b,_0x5bf841,_0x92c834,_0x475e9e));});}),_0x477c54['for']('downcast')['add'](_0x3a4d2a=>{_0x3a4d2a['on']('attribute:footnotesListStart:footnotesDefinitions',(_0x2afd39,_0x41a13e,_0x38ff34)=>{if(!_0x38ff34['consumable']['consume'](_0x41a13e['item'],_0x2afd39['name']))return;const _0xb0dcca=et(_0x41a13e['item'],_0x38ff34['mapper']),{attributeNewValue:_0x2db71b}=_0x41a13e;null==_0x2db71b||0x1===_0x2db71b?_0x38ff34['writer']['removeAttribute']('start',_0xb0dcca):_0x38ff34['writer']['setAttribute']('start',String(_0x2db71b),_0xb0dcca);}),_0x3a4d2a['on']('attribute:footnotesListStyle:footnotesDefinitions',(_0x27f5a8,_0x36bf7f,_0x19d49b)=>{if(!_0x19d49b['consumable']['consume'](_0x36bf7f['item'],_0x27f5a8['name']))return;const _0x2e426e=et(_0x36bf7f['item'],_0x19d49b['mapper']),{attributeNewValue:_0x4866c1}=_0x36bf7f;_0x4866c1&&'decimal'!==_0x4866c1?_0x19d49b['writer']['setStyle']('list-style-type',_0x4866c1,_0x2e426e):_0x19d49b['writer']['removeStyle']('list-style-type',_0x2e426e);});});}['_definePostfixer'](){const {editor:_0x132f90}=this,{model:_0x287734}=_0x132f90,_0x547239=_0x132f90['plugins']['get'](FootnotesTracker),_0x35c2f9=this['_getDefaultListStyle'](),_0x6a741f=this['_getDefaultStartIndex']();_0x287734['document']['registerPostFixer'](_0x3bd0aa=>{const _0x4949f6=_0x287734['document']['differ']['getChanges']();let _0x16e918=!0x1;for(const _0xf4b4c1 of _0x4949f6){if('insert'!==_0xf4b4c1['type']||'$text'===_0xf4b4c1['name'])continue;const _0x4dfd14=_0x287734['createRangeOn'](_0xf4b4c1['position']['nodeAfter']);for(const _0x1df31d of _0x4dfd14['getItems']())_0x1df31d['is']('element','footnotesDefinitions')&&(!_0x1df31d['hasAttribute']('footnotesListStart')&&_0x287734['schema']['checkAttribute'](_0x1df31d,'footnotesListStart')&&(_0x3bd0aa['setAttribute']('footnotesListStart',_0x6a741f,_0x1df31d),_0x16e918=!0x0),!_0x1df31d['hasAttribute']('footnotesListStyle')&&_0x287734['schema']['checkAttribute'](_0x1df31d,'footnotesListStyle')&&(_0x3bd0aa['setAttribute']('footnotesListStyle',_0x35c2f9,_0x1df31d),_0x16e918=!0x0));}return _0x16e918&&_0x547239['_updateFootnotesCounters'](_0x3bd0aa),_0x16e918;});}['_defineFormatter'](){const {editor:_0x3ed2ac}=this;_0x3ed2ac['plugins']['get'](FootnotesTracker)['setFootnoteFormatter'](_0x352f9c=>this['_formatFootnoteListValue'](_0x352f9c));}['_getDefaultListStyle'](){return this['editor']['config']['get']('footnotes.footnotesProperties.defaultListStyle');}['_getDefaultStartIndex'](){return this['editor']['config']['get']('footnotes.footnotesProperties.defaultStartIndex');}['_formatFootnoteListValue']({container:_0x2692a4,value:_0xad41b1,digits:_0x22305c}){const _0x34b3bd=_0x2692a4['getAttribute']('footnotesListStyle'),_0x449b35=_0x2692a4['getAttribute']('footnotesListStart'),_0x412692=Math['floor'](_0xad41b1)+(_0x449b35??0x1)-0x1;switch(_0x34b3bd){case'decimal-leading-zero':return function(_0x4e2caa,_0x1f8bff){return String(_0x4e2caa)['padStart'](_0x1f8bff,'0');}(_0x412692,Math['max'](0x2,_0x22305c));case'lower-alpha':case'lower-latin':return Q(_0x412692,!0x1);case'upper-alpha':case'upper-latin':return Q(_0x412692,!0x0);case'lower-roman':return Y(_0x412692,!0x1);case'upper-roman':return Y(_0x412692,!0x0);case'arabic-indic':return String(_0x412692)['replace'](/\d/g,_0xda14dc=>Z[Number(_0xda14dc)]);default:return String(_0x412692);}}}function tt(_0x45780a){if('string'==typeof _0x45780a){const _0xbf0ecc=J[_0x45780a];if(_0xbf0ecc)return _0xbf0ecc;if(G['includes'](_0x45780a))return _0x45780a;}return null;}function et(_0xbfa206,_0xb89c00){const _0x59a097=_0xb89c00['toViewElement'](_0xbfa206);return Array['from'](_0x59a097['getChildren']())['find'](_0x759fc2=>_0x759fc2['is']('element','ol')&&_0x759fc2['hasClass']('footnotes-list'));}class FootnotesDefinitionsPropertiesView extends _0x10e93d{['children'];['stylesView']=null;['additionalProperties']=null;['startIndexFieldView']=null;['focusTracker']=new _0x486598();['keystrokes']=new _0x154eb2();['focusables']=new _0x37aa47();['focusCycler'];constructor(_0x2aacb1,{styleButtonViews:_0x18255f,styleGridAriaLabel:_0x562408}){super(_0x2aacb1),(this['focusCycler']=new _0x4406bf({'focusables':this['focusables'],'focusTracker':this['focusTracker'],'keystrokeHandler':this['keystrokes'],'actions':{'focusPrevious':'shift\x20+\x20tab','focusNext':'tab'}}),this['children']=this['createCollection'](),this['stylesView']=this['_appendStylesView'](_0x18255f,_0x562408),[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 _0x27ae28 of this['stylesView']['children'])this['stylesView']['focusTracker']['add'](_0x27ae28['element']);_0x23c709({'keystrokeHandler':this['stylesView']['keystrokes'],'focusTracker':this['stylesView']['focusTracker'],'gridItems':this['stylesView']['children'],'numberOfColumns':()=>_0x1ea8ad['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 _0x3dd84b=_0x26e682=>_0x26e682['stopPropagation']();this['keystrokes']['set']('arrowright',_0x3dd84b),this['keystrokes']['set']('arrowleft',_0x3dd84b),this['keystrokes']['set']('arrowup',_0x3dd84b),this['keystrokes']['set']('arrowdown',_0x3dd84b);}this['keystrokes']['listenTo'](this['element']);}['focus'](){this['focusCycler']['focusFirst']();}['focusLast'](){this['focusCycler']['focusLast']();}['destroy'](){super['destroy'](),this['focusTracker']['destroy'](),this['keystrokes']['destroy']();}['_appendStylesView'](_0x1fbd9b,_0x30eb5e){const _0x269577=new _0x10e93d(this['locale']);return _0x269577['children']=_0x269577['createCollection'](),_0x269577['children']['addMany'](_0x1fbd9b),_0x269577['setTemplate']({'tag':'div','attributes':{'aria-label':_0x30eb5e,'class':['ck','ck-footnotes-definitions-styles-list']},'children':_0x269577['children']}),_0x269577['children']['delegate']('execute')['to'](this),_0x269577['focus']=function(){for(const _0xf78572 of this['children'])if(_0xf78572 instanceof _0x13cd7f&&_0xf78572['isOn'])return void _0xf78572['focus']();this['children']['first']['focus']();},_0x269577['focusTracker']=new _0x486598(),_0x269577['keystrokes']=new _0x154eb2(),_0x269577['render'](),_0x269577['keystrokes']['listenTo'](_0x269577['element']),this['children']['add'](_0x269577),_0x269577;}['_appendAdditionalPropertiesCollapsibleView'](){const {t:t}=this['locale'],_0x3ff1ef=this['_createStartIndexPropertyView'](),_0x5b059a=[_0x3ff1ef],_0x53dd05=new _0x5239a0(this['locale'],_0x5b059a);return _0x53dd05['set']({'label':t('Footnotes\x20properties'),'isCollapsed':!0x0}),_0x53dd05['buttonView']['bind']('isEnabled')['toMany'](_0x5b059a,'isEnabled',(..._0x178a96)=>_0x178a96['some'](_0x3f5dee=>_0x3f5dee)),_0x53dd05['buttonView']['on']('change:isEnabled',(_0x52ff25,_0x166a53,_0x33b952)=>{_0x33b952||(_0x53dd05['isCollapsed']=!0x0);}),this['children']['add'](_0x53dd05),[_0x3ff1ef,_0x53dd05];}['_createStartIndexPropertyView'](){const {t:t}=this['locale'],_0x433969=new _0x3039e4(this['locale'],_0x170edd);return _0x433969['set']({'label':t('Footnotes\x20start\x20at'),'class':'ck-footnotes-definitions-properties__start-index'}),_0x433969['fieldView']['set']({'min':0x0,'max':Math['pow'](0x2,0x1e),'step':0x1,'value':0x1,'inputMode':'numeric'}),_0x433969['fieldView']['on']('input',()=>{const _0xfbb25=_0x433969['fieldView']['element'],_0x145f24=_0xfbb25['valueAsNumber'];Number['isNaN'](_0x145f24)?_0x433969['errorText']=t('Invalid\x20footnotes\x20start\x20index\x20value.'):_0xfbb25['checkValidity']()?this['fire']('footnotesListStart',{'startIndex':_0x145f24}):_0x433969['errorText']=t(_0x145f24<0x0?'Footnotes\x20start\x20index\x20must\x20be\x20greater\x20than\x200.':'Footnotes\x20start\x20index\x20is\x20too\x20large.');}),_0x433969;}}class FootnotesPropertiesUI extends _0xcdca79{static get['pluginName'](){return'FootnotesPropertiesUI';}static get['requires'](){return[_0x5bfb19,_0x21c99a];}static get['isOfficialPlugin'](){return!0x0;}static get['isPremiumPlugin'](){return!0x0;}['init'](){const {editor:_0x2c06c1}=this,{componentFactory:_0x5f5cf9}=_0x2c06c1['ui'];_0x2c06c1['config']['define']('footnotes.footnotesProperties.toolbar',['footnotesStyle']),_0x5f5cf9['add']('footnotesStyle',function(_0x19e85b){return _0x4c6e39=>{const {t:t}=_0x4c6e39,_0x53cf2b=_0x19e85b['commands']['get']('footnotesStyle'),_0x5bd8d7=_0x4334f5(_0x4c6e39),{buttonView:_0x55280d}=_0x5bd8d7;return _0x5bd8d7['class']='ck-footnotes-styles-dropdown',_0x5bd8d7['bind']('isEnabled')['to'](_0x53cf2b,'isEnabled'),_0x55280d['set']({'label':t('Footnotes\x20style'),'icon':_0x434dc5,'tooltip':!0x0}),_0x5bd8d7['once']('change:isOpen',()=>{const _0x202cca=function({editor:_0x251458,dropdownView:_0x35b468}){const {t:t}=_0x251458['locale'],_0x4c0826=t('Footnotes\x20definitions\x20styles'),_0x3ac70b=function(_0x4eaacb){const {t:t}=_0x4eaacb['locale'],_0x4cfb79=_0x4eaacb['config']['get']('footnotes.footnotesProperties.listStyles'),_0x80060b=[{'style':'decimal','label':t('Toggle\x20the\x20decimal\x20footnotes\x20style'),'tooltip':t('Decimal\x20footnotes'),'icon':_0x6223fc},{'style':'decimal-leading-zero','label':t('Toggle\x20the\x20decimal\x20with\x20leading\x20zero\x20footnotes\x20style'),'tooltip':t('Decimal\x20footnotes\x20with\x20leading\x20zero'),'icon':_0x34978b},{'style':'lower-roman','label':t('Toggle\x20the\x20lower-roman\x20footnotes\x20style'),'tooltip':t('Lower-roman\x20footnotes'),'icon':_0x2b7946},{'style':'upper-roman','label':t('Toggle\x20the\x20upper-roman\x20footnotes\x20style'),'tooltip':t('Upper-roman\x20footnotes'),'icon':_0x3447e8},{'style':'lower-latin','label':t('Toggle\x20the\x20lower-latin\x20footnotes\x20style'),'tooltip':t('Lower-latin\x20footnotes'),'icon':_0x10837d},{'style':'upper-latin','label':t('Toggle\x20the\x20upper-latin\x20footnotes\x20style'),'tooltip':t('Upper-latin\x20footnotes'),'icon':_0x3030bd},{'style':'arabic-indic','label':t('Toggle\x20the\x20arabic-indic\x20footnotes\x20style'),'tooltip':t('Arabic-indic\x20footnotes'),'icon':_0x447d42}];return _0x4cfb79['map'](_0x2af19b=>{const _0xf6c62a=tt(_0x2af19b),_0x53324c=_0x80060b['find'](_0x4655db=>_0x4655db['style']===_0xf6c62a);return function(_0x5dd76d,_0xd028a9){const {locale:_0x41333d}=_0x5dd76d,{label:_0x493786,icon:_0x4dc81d,tooltip:_0x25d650,style:_0x2b6e4b}=_0xd028a9,_0x56825a=_0x5dd76d['commands']['get']('footnotesStyle'),_0x30fd4e=new _0x13cd7f(_0x41333d);return _0x30fd4e['set']({'label':_0x493786,'icon':_0x4dc81d,'tooltip':_0x25d650}),_0x30fd4e['bind']('isOn')['to'](_0x56825a,'value',_0x4c3ac8=>_0x4c3ac8===_0x2b6e4b),_0x30fd4e['bind']('isEnabled')['to'](_0x56825a,'isEnabled'),_0x30fd4e['on']('execute',()=>{_0x5dd76d['execute']('footnotesStyle',{'value':_0x2b6e4b}),_0x5dd76d['editing']['view']['focus']();}),_0x30fd4e;}(_0x4eaacb,_0x53324c);});}(_0x251458),_0x19d11f=new FootnotesDefinitionsPropertiesView(_0x251458['locale'],{'styleGridAriaLabel':_0x4c0826,'styleButtonViews':_0x3ac70b}),_0x3adae2=_0x251458['commands']['get']('footnotesStart');return _0x19d11f['startIndexFieldView']['bind']('isEnabled')['to'](_0x3adae2),_0x19d11f['startIndexFieldView']['fieldView']['bind']('value')['to'](_0x3adae2),_0x19d11f['on']('footnotesListStart',(_0x396f4a,_0x6731b)=>{_0x251458['execute']('footnotesStart',{'value':_0x6731b['startIndex']});}),_0x19d11f['delegate']('execute')['to'](_0x35b468),_0x19d11f;}({'editor':_0x19e85b,'dropdownView':_0x5bd8d7});_0x5bd8d7['panelView']['children']['add'](_0x202cca);}),_0x5bd8d7;};}(_0x2c06c1));}['afterInit'](){const {editor:_0x2e9e6a}=this,{t:t}=_0x2e9e6a['locale'],_0x14d296=_0x2e9e6a['plugins']['get'](_0x21c99a),{defaultPositions:_0x2528d2}=_0xe663b;_0x14d296['register']('footnotesDefinitions',{'ariaLabel':t('Footnotes\x20definitions\x20toolbar'),'items':_0x2e9e6a['config']['get']('footnotes.footnotesProperties.toolbar'),'balloonClassName':'ck-footnotes-style-balloon\x20ck-toolbar-container','getRelatedElement':_0x94592c=>{let _0x4aaff6=_0x94592c['getFirstPosition']()?.['parent'];return _0x4aaff6?.['is']('$text')&&(_0x4aaff6=_0x4aaff6['parent']),_0x4aaff6?.['is']('element')?_0x4aaff6['findAncestor'](M):null;},'positions':[_0x2528d2['southArrowNorth'],_0x2528d2['southArrowNorthMiddleWest'],_0x2528d2['southArrowNorthMiddleEast'],_0x2528d2['southArrowNorthWest'],_0x2528d2['southArrowNorthEast'],_0x2528d2['northArrowSouth'],_0x2528d2['northArrowSouthMiddleWest'],_0x2528d2['northArrowSouthMiddleEast'],_0x2528d2['northArrowSouthWest'],_0x2528d2['northArrowSouthEast'],_0x2528d2['viewportStickyNorth']]});}}class FootnotesProperties extends _0xcdca79{static get['pluginName'](){return'FootnotesProperties';}static get['requires'](){return[FootnotesPropertiesEditing,FootnotesPropertiesUI];}static get['isOfficialPlugin'](){return!0x0;}static get['isPremiumPlugin'](){return!0x0;}}export{Footnotes,FootnotesClipboard,FootnotesEditing,FootnotesProperties,FootnotesPropertiesEditing,FootnotesPropertiesUI,FootnotesStartCommand,FootnotesStyleCommand,FootnotesTracker,FootnotesUI,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':_0x4b66b7=>0x1!=_0x4b66b7}};
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':_0x15d4de=>0x1!=_0x15d4de}};
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- (_0x2bcf81=>{const {af:{dictionary:_0x208b8d,getPluralForm:_0x4a770c}}={'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':_0x1d0cc3=>0x1!=_0x1d0cc3}};_0x2bcf81['af']||={'dictionary':{},'getPluralForm':null},_0x2bcf81['af']['dictionary']=Object['assign'](_0x2bcf81['af']['dictionary'],_0x208b8d),_0x2bcf81['af']['getPluralForm']=_0x4a770c;})(window['CKEDITOR_TRANSLATIONS']||={});
23
+ (_0x4b35c4=>{const {af:{dictionary:_0xdb9069,getPluralForm:_0x2510aa}}={'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':_0x2d583f=>0x1!=_0x2d583f}};_0x4b35c4['af']||={'dictionary':{},'getPluralForm':null},_0x4b35c4['af']['dictionary']=Object['assign'](_0x4b35c4['af']['dictionary'],_0xdb9069),_0x4b35c4['af']['getPluralForm']=_0x2510aa;})(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':_0x36d197=>0x0==_0x36d197?0x0:0x1==_0x36d197?0x1:0x2==_0x36d197?0x2:_0x36d197%0x64>=0x3&&_0x36d197%0x64<=0xa?0x3:_0x36d197%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':_0x11495b=>0x0==_0x11495b?0x0:0x1==_0x11495b?0x1:0x2==_0x11495b?0x2:_0x11495b%0x64>=0x3&&_0x11495b%0x64<=0xa?0x3:_0x11495b%0x64>=0xb?0x4:0x5}};
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- (_0x4d51ce=>{const {ar:{dictionary:_0x7174fa,getPluralForm:_0x119926}}={'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':_0x355520=>0x0==_0x355520?0x0:0x1==_0x355520?0x1:0x2==_0x355520?0x2:_0x355520%0x64>=0x3&&_0x355520%0x64<=0xa?0x3:_0x355520%0x64>=0xb?0x4:0x5}};_0x4d51ce['ar']||={'dictionary':{},'getPluralForm':null},_0x4d51ce['ar']['dictionary']=Object['assign'](_0x4d51ce['ar']['dictionary'],_0x7174fa),_0x4d51ce['ar']['getPluralForm']=_0x119926;})(window['CKEDITOR_TRANSLATIONS']||={});
23
+ (_0x185502=>{const {ar:{dictionary:_0xdaa301,getPluralForm:_0x89d432}}={'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':_0x1a9193=>0x0==_0x1a9193?0x0:0x1==_0x1a9193?0x1:0x2==_0x1a9193?0x2:_0x1a9193%0x64>=0x3&&_0x1a9193%0x64<=0xa?0x3:_0x1a9193%0x64>=0xb?0x4:0x5}};_0x185502['ar']||={'dictionary':{},'getPluralForm':null},_0x185502['ar']['dictionary']=Object['assign'](_0x185502['ar']['dictionary'],_0xdaa301),_0x185502['ar']['getPluralForm']=_0x89d432;})(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':_0x538278=>0x1!=_0x538278}};
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':_0x58eee4=>0x1!=_0x58eee4}};
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- (_0x5d8bcb=>{const {ast:{dictionary:_0x63ddcf,getPluralForm:_0xc3f008}}={'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':_0x513fce=>0x1!=_0x513fce}};_0x5d8bcb['ast']||={'dictionary':{},'getPluralForm':null},_0x5d8bcb['ast']['dictionary']=Object['assign'](_0x5d8bcb['ast']['dictionary'],_0x63ddcf),_0x5d8bcb['ast']['getPluralForm']=_0xc3f008;})(window['CKEDITOR_TRANSLATIONS']||={});
23
+ (_0x49ed44=>{const {ast:{dictionary:_0x4b3072,getPluralForm:_0x2b3a3a}}={'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':_0x5b4344=>0x1!=_0x5b4344}};_0x49ed44['ast']||={'dictionary':{},'getPluralForm':null},_0x49ed44['ast']['dictionary']=Object['assign'](_0x49ed44['ast']['dictionary'],_0x4b3072),_0x49ed44['ast']['getPluralForm']=_0x2b3a3a;})(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':_0x46a0bc=>0x1!=_0x46a0bc}};
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':_0x1a63fb=>0x1!=_0x1a63fb}};
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- (_0x40513e=>{const {az:{dictionary:_0x2ed7f1,getPluralForm:_0x5b7827}}={'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':_0xf9ea48=>0x1!=_0xf9ea48}};_0x40513e['az']||={'dictionary':{},'getPluralForm':null},_0x40513e['az']['dictionary']=Object['assign'](_0x40513e['az']['dictionary'],_0x2ed7f1),_0x40513e['az']['getPluralForm']=_0x5b7827;})(window['CKEDITOR_TRANSLATIONS']||={});
23
+ (_0x19cbfd=>{const {az:{dictionary:_0x21525f,getPluralForm:_0x197d83}}={'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':_0x52ef4e=>0x1!=_0x52ef4e}};_0x19cbfd['az']||={'dictionary':{},'getPluralForm':null},_0x19cbfd['az']['dictionary']=Object['assign'](_0x19cbfd['az']['dictionary'],_0x21525f),_0x19cbfd['az']['getPluralForm']=_0x197d83;})(window['CKEDITOR_TRANSLATIONS']||={});