@ckeditor/ckeditor5-footnotes 48.4.0-alpha.2 → 48.4.0-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{Command as _0x59c76c,Plugin as _0x57ef5f}from'@ckeditor/ckeditor5-core';import{WidgetToolbarRepository as _0x4e906a,isWidget as _0x2c950c,toWidget as _0x2ce6c1,toWidgetEditable as _0x16bb8d}from'@ckeditor/ckeditor5-widget';import{FocusTracker as _0x2f2821,KeystrokeHandler as _0x4c9954,global as _0x118e4b,logWarning as _0x446324,uid as _0xe52247}from'@ckeditor/ckeditor5-utils';import{ClickObserver as _0xb29007,PointerObserver as _0x2fc162}from'@ckeditor/ckeditor5-engine';import{ClipboardPipeline as _0x5d12d7}from'@ckeditor/ckeditor5-clipboard';import{BalloonPanelView as _0x39b7f8,ButtonView as _0x54fb93,CollapsibleView as _0x133147,ContextualBalloon as _0x276e53,FocusCycler as _0x205ccb,LabeledFieldView as _0x3a137d,MenuBarMenuListItemButtonView as _0x506709,View as _0x3dc5bf,ViewCollection as _0x2819e8,addKeyboardHandlingForGrid as _0x563fca,createDropdown as _0x2852a4,createLabeledInputNumber as _0x734af7}from'@ckeditor/ckeditor5-ui';import{IconFootnote as _0x246473,IconListStyleArabicIndic as _0x109d2b,IconListStyleDecimal as _0xf2e221,IconListStyleDecimalLeadingZero as _0x17848c,IconListStyleLowerLatin as _0x5ce3ab,IconListStyleLowerRoman as _0x27c42d,IconListStyleUpperLatin as _0xff5a69,IconListStyleUpperRoman as _0x195054}from'@ckeditor/ckeditor5-icons';var N=class{['_model'];_elementName;_getElementKey;_trackedElements=new Map();constructor(_0x568afd,_0x3df0aa){this['_model']=_0x568afd,this['_elementName']=_0x3df0aa['elementName'],this['_getElementKey']=_0x3df0aa['getElementKey'];}reset(){this['_trackedElements']['clear']();}getChanges(_0x39358b){const _0x358105=new Set(),_0x2843e1=new Map();for(const _0xba867c of _0x39358b){if('insert'===_0xba867c['type']&&'$text'!==_0xba867c['name']&&_0xba867c['position']['nodeAfter']){const _0x2fc548=this['_model']['createRangeOn'](_0xba867c['position']['nodeAfter']);for(const _0x7c5e42 of _0x2fc548['getItems']()){if(!_0x7c5e42['is']('element',this['_elementName']))continue;const _0x46a4a9=this['_getElementKey'](_0x7c5e42);_0x2843e1['has'](_0x46a4a9)||_0x2843e1['set'](_0x46a4a9,[]),_0x2843e1['get'](_0x46a4a9)['push'](_0x7c5e42);}}if('remove'===_0xba867c['type']&&_0xba867c['name']===this['_elementName']){const _0x5cd585=this['_getElementKey']({'getAttribute':_0x4db765=>_0xba867c['attributes']['get'](_0x4db765)});_0x358105['add'](_0x5cd585);}}for(const [_0x4e9c01,_0x3a0bc2]of this['_trackedElements'])'$graveyard'===_0x3a0bc2['root']['rootName']&&_0x358105['add'](_0x4e9c01);for(const _0x19cde7 of _0x358105)this['_trackedElements']['delete'](_0x19cde7);for(const [_0x52115e,_0x3956d4]of _0x2843e1)this['_trackedElements']['set'](_0x52115e,_0x3956d4[_0x3956d4['length']-0x1]);const _0x554317=new Set();for(const [_0x5f2661,_0x27e30c]of _0x2843e1)_0x358105['has'](_0x5f2661)&&(_0x554317['add'](_0x27e30c[0x0]),_0x27e30c['length']>0x1?_0x2843e1['set'](_0x5f2661,_0x27e30c['slice'](0x1)):_0x2843e1['delete'](_0x5f2661),_0x358105['delete'](_0x5f2661));return{'removed':Array['from'](_0x358105),'inserted':Array['from'](_0x2843e1['values']())['flat'](),'moved':Array['from'](_0x554317)};}},V=class extends _0x57ef5f{_footnotes=[];_footnotesDefinitions=null;_footnoteFormatter=null;_footnoteDefsContainerTracker;_footnoteRefsTracker;_footnoteDefsTracker;static get['pluginName'](){return'FootnotesTracker';}static get['isOfficialPlugin'](){return!0x0;}static get['isPremiumPlugin'](){return!0x0;}constructor(_0x5dd258){super(_0x5dd258),this['_footnoteDefsContainerTracker']=new N(this['editor']['model'],{'elementName':'footnotesDefinitions','getElementKey':()=>'singleton'}),this['_footnoteRefsTracker']=new N(this['editor']['model'],{'elementName':'footnoteRef','getElementKey':_0x3117d9=>_0x3117d9['getAttribute']('footnoteId')}),this['_footnoteDefsTracker']=new N(this['editor']['model'],{'elementName':'footnoteDefinition','getElementKey':_0x4e0c9d=>_0x4e0c9d['getAttribute']('footnoteId')});}init(){const {editor:_0x3ff3ef}=this,{model:_0x27d247,data:_0x599cc6}=_0x3ff3ef;_0x27d247['document']['registerPostFixer'](_0x50f1db=>{const _0x14ed14=_0x27d247['document']['differ']['getChanges']();let _0x4b6c5e=!0x1;return this['_handleFootnotesDefinitionsObjectChanges'](_0x50f1db,_0x14ed14)&&(_0x4b6c5e=!0x0),this['_handleFootnoteDefinitionsChanges'](_0x50f1db,_0x14ed14)&&(_0x4b6c5e=!0x0),this['_handleFootnoteReferencesChanges'](_0x50f1db,_0x14ed14)&&(_0x4b6c5e=!0x0),this['_ensureFootnotesReferencesHaveProperOrder'](_0x50f1db)&&(_0x4b6c5e=!0x0),this['_handleFootnotesDefinitionsObjectSync'](_0x50f1db)&&(_0x4b6c5e=!0x0),this['_sortFootnoteDefinitions'](_0x50f1db)&&(_0x4b6c5e=!0x0),_0x4b6c5e;}),this['listenTo'](_0x27d247['document'],'change:data',()=>{_0x27d247['enqueueChange']({'isUndoable':!0x1},_0x55606b=>{this['_ensureFootnotesDefinitionsContainerExists'](_0x55606b);for(const _0x2218b0 of this['_footnotes'])_0x2218b0['definition']['isAttached']()||_0x55606b['remove'](_0x2218b0['reference']);});},{'priority':'low'}),this['listenTo'](_0x599cc6,'set',()=>{this['_footnotes']=[],this['_footnoteDefsContainerTracker']['reset'](),this['_footnoteRefsTracker']['reset'](),this['_footnoteDefsTracker']['reset']();},{'priority':'high'});}getFootnotesDefinitionsObjectElement(){return this['_footnotesDefinitions'];}getFootnote(_0x21e694){return this['_footnotes']['find'](_0xd37518=>_0xd37518['id']===_0x21e694)||null;}getFootnotes(){return Array['from'](this['_footnotes']);}getFootnotesFormatter(){return this['_footnoteFormatter'];}setFootnoteFormatter(_0x33f720){this['_footnoteFormatter']=_0x33f720;}_updateFootnotesCounters(_0x446dbb,_0x2a2bd3=0x0){let _0x285b05=!0x1;for(let _0x494fe7=_0x2a2bd3;_0x494fe7<this['_footnotes']['length'];_0x494fe7++)this['_updateFootnoteRefCounter'](_0x446dbb,_0x494fe7)&&(_0x285b05=!0x0);return _0x285b05;}_insertEmptyFootnotesDefinitionsContainer(_0xf55c50,_0x16d5e8){if(!K(this['editor'],_0x16d5e8))return null;const _0x569df8=_0xf55c50['createElement']('footnotesDefinitions',{});return _0xf55c50['append'](_0x569df8,_0x16d5e8),this['_footnotesDefinitions']=_0x569df8,_0x569df8;}_getFirstSuitableFootnotesDefinitionsRoot(){const _0xe0ca78=[...(_0x2ca47a=this['_footnotes'],[..._0x2ca47a['reduce']((_0x37cc17,_0x2fefeb)=>(_0x37cc17['add'](_0x2fefeb['reference']['root']),_0x37cc17),new Set())]),...this['editor']['model']['document']['getRoots']()];var _0x2ca47a;for(const _0x4bdcfe of _0xe0ca78)if(K(this['editor'],_0x4bdcfe))return _0x4bdcfe;return null;}_ensureFootnotesDefinitionsContainerExists(_0x419e0a){if(!this['_footnotes']['length']||this['_footnotesDefinitions'])return;let _0x560455=null;const _0x4a481e=this['_getFirstSuitableFootnotesDefinitionsRoot']();if(_0x4a481e&&(_0x560455=this['_insertEmptyFootnotesDefinitionsContainer'](_0x419e0a,_0x4a481e)),_0x560455){for(const _0x10064b of this['_footnotes'])_0x10064b['definition']['parent']||_0x419e0a['insert'](_0x10064b['definition'],_0x560455,'end');this['_updateFootnotesCounters'](_0x419e0a);}}_handleFootnotesDefinitionsObjectChanges(_0x459dd9,_0x11d80b){let _0x51278b=!0x1;const {inserted:_0x4139be,removed:_0x8eb09,moved:_0x2b6662}=this['_footnoteDefsContainerTracker']['getChanges'](_0x11d80b);if(_0x2b6662['length']&&(this['_footnotesDefinitions']=_0x2b6662[0x0]),_0x4139be['length']){if(_0x4139be['length']>0x1||this['_footnotesDefinitions']&&_0x4139be['some'](_0x3972ab=>_0x3972ab!==this['_footnotesDefinitions'])){const _0x4af67f=_0x459dd9['createElement']('footnotesDefinitions',{}),_0x36ecd1=[];this['_footnotesDefinitions']&&_0x36ecd1['push'](this['_footnotesDefinitions']),_0x36ecd1['push'](..._0x4139be),_0x459dd9['insert'](_0x4af67f,_0x36ecd1[0x0],'before');for(const _0xafb8a4 of _0x36ecd1)_0x459dd9['move'](_0x459dd9['createRangeIn'](_0xafb8a4),_0x459dd9['createPositionAt'](_0x4af67f,'end')),_0x459dd9['remove'](_0xafb8a4);this['_footnotesDefinitions']=_0x4af67f,this['_updateFootnotesCounters'](_0x459dd9),_0x51278b=!0x0;}else this['_footnotesDefinitions']=_0x4139be[0x0];}if(_0x8eb09['length']&&'$graveyard'===this['_footnotesDefinitions']?.['root']['rootName']){for(const _0x2980d6 of this['_footnotes'])_0x459dd9['remove'](_0x2980d6['reference']),_0x51278b=!0x0;this['_footnotes']=[],this['_footnotesDefinitions']=null;}return _0x51278b;}_handleFootnoteDefinitionsChanges(_0x436504,_0x4544ab){let _0x42cb4c=!0x1;const _0x45e25b=this['editor']['config']['get']('footnotes.multiBlock'),{inserted:_0x3dd9ca,moved:_0x1ce7e8}=this['_footnoteDefsTracker']['getChanges'](_0x4544ab);for(const _0x1a7e08 of[..._0x1ce7e8,..._0x3dd9ca]){const _0x566a10=_0x1a7e08['getAttribute']('footnoteId'),_0xb3ad6a=this['getFootnote'](_0x566a10);_0xb3ad6a&&(_0xb3ad6a['definition']=_0x1a7e08),T(_0x436504,_0x45e25b,_0x1a7e08)&&(_0x42cb4c=!0x0);}return _0x42cb4c;}_handleFootnoteReferencesChanges(_0x1c2bbc,_0x5d316f){let _0x2fa600=!0x1;const {removed:_0x56af3e,inserted:_0x5db070,moved:_0x96bb95}=this['_footnoteRefsTracker']['getChanges'](_0x5d316f);for(const _0xf2121 of _0x56af3e)this['_handleRemoveFootnoteReferenceById'](_0x1c2bbc,_0xf2121)&&(_0x2fa600=!0x0);for(const _0x1c9703 of _0x5db070)this['_handleInsertedFootnoteReference'](_0x1c2bbc,_0x1c9703)&&(_0x2fa600=!0x0);for(const _0x202b2f of _0x96bb95)this['_handleMovedFootnoteReference'](_0x1c2bbc,_0x202b2f)&&(_0x2fa600=!0x0);return _0x2fa600;}_handleFootnotesDefinitionsObjectSync(_0x320ebc){if(!this['_footnotesDefinitions'])return!0x1;let _0x4d2492=!0x1;if(this['_footnotesDefinitions']['childCount']!==this['_footnotes']['length']){const _0x10dd15=[];for(const _0x401b1a of this['_footnotesDefinitions']['getChildren']()){const _0x56da4a=_0x401b1a['getAttribute']('footnoteId');this['getFootnote'](_0x56da4a)||(_0x10dd15['unshift'](_0x401b1a),_0x4d2492=!0x0);}for(const _0x35c746 of _0x10dd15)_0x320ebc['remove'](_0x35c746);}const _0x112e44=new Set(),_0x53c00b=[];for(const _0x332bd8 of this['_footnotesDefinitions']['getChildren']()){const _0x3d81dc=_0x332bd8['getAttribute']('footnoteId');_0x112e44['has'](_0x3d81dc)?(_0x53c00b['unshift'](_0x332bd8),_0x4d2492=!0x0):_0x112e44['add'](_0x3d81dc);}for(const _0x3b77e4 of _0x53c00b)_0x320ebc['remove'](_0x3b77e4);return this['_footnotesDefinitions']['childCount']||(_0x320ebc['remove'](this['_footnotesDefinitions']),this['_footnotesDefinitions']=null,_0x4d2492=!0x0),_0x4d2492;}_handleInsertedFootnoteReference(_0xd220dc,_0x200991){if(this['_footnotes']['find'](_0x5cf220=>_0x5cf220['reference']===_0x200991))return!0x1;let _0x11db98=!0x1;const _0x32c852=_0x200991['getAttribute']('footnoteId'),_0xc7c4ba=this['_footnotes']['findIndex'](_0x5b4faf=>_0x5b4faf['id']===_0x32c852);-0x1!==_0xc7c4ba&&(_0xd220dc['remove'](this['_footnotes'][_0xc7c4ba]['reference']),this['_footnotes']['splice'](_0xc7c4ba,0x1),_0x11db98=!0x0);let _0x4dc548=this['_footnotesDefinitions']?function(_0x30c649,_0x9ef92f){for(const _0x42ca46 of _0x30c649['getChildren']())if(_0x42ca46['getAttribute']('footnoteId')===_0x9ef92f)return _0x42ca46;return null;}(this['_footnotesDefinitions'],_0x32c852):null;_0x4dc548||(_0x4dc548=_0xd220dc['createElement']('footnoteDefinition',{'footnoteId':_0x32c852}),this['_footnotesDefinitions']&&(_0xd220dc['insert'](_0x4dc548,this['_footnotesDefinitions'],'end'),_0x11db98=!0x0));const _0x526753={'id':_0x32c852,'reference':_0x200991,'definition':_0x4dc548},_0x416767=j(this['editor']['model'],this['_footnotes'],_0x200991);this['_footnotes']['splice'](_0x416767,0x0,_0x526753);let _0x40a7d9=_0x416767;return-0x1!==_0xc7c4ba&&(_0x40a7d9=Math['min'](_0x416767,_0xc7c4ba)),this['_updateFootnotesCounters'](_0xd220dc,_0x40a7d9)&&(_0x11db98=!0x0),_0x11db98;}_handleRemoveFootnoteReferenceById(_0xb3566,_0x1c79a5){const _0x242e48=this['_footnotes']['findIndex'](_0x3cb6c5=>_0x3cb6c5['id']===_0x1c79a5);if(-0x1===_0x242e48)return!0x1;let _0x8fca11=!0x1;const _0x436718=this['_footnotes'][_0x242e48];return _0x436718['definition']['isAttached']()&&'$graveyard'!==_0x436718['definition']['root']['rootName']&&(_0xb3566['remove'](_0x436718['definition']),_0x8fca11=!0x0),this['_footnotes']['splice'](_0x242e48,0x1),this['_updateFootnotesCounters'](_0xb3566,_0x242e48)&&(_0x8fca11=!0x0),_0x8fca11;}_handleMovedFootnoteReference(_0x10f788,_0xfc59e3){const _0x8d418d=_0xfc59e3['getAttribute']('footnoteId'),_0xe4d105=this['_footnotes']['findIndex'](_0x4b70f2=>_0x4b70f2['id']===_0x8d418d),_0x5d9d66=this['_footnotes'][_0xe4d105];let _0x27b9fa=!0x1;_0x5d9d66['reference']=_0xfc59e3,this['_footnotes']['splice'](_0xe4d105,0x1);const _0x4c856e=j(this['editor']['model'],this['_footnotes'],_0xfc59e3);return this['_footnotes']['splice'](_0x4c856e,0x0,_0x5d9d66),this['_updateFootnotesCounters'](_0x10f788,Math['min'](_0xe4d105,_0x4c856e))&&(_0x27b9fa=!0x0),_0x27b9fa;}_updateFootnoteRefCounter(_0x151b1e,_0x3fa005){if(!this['_footnotesDefinitions'])return!0x1;const _0x58069a=this['_footnotes'][_0x3fa005];let _0x245a68;return _0x245a68=this['_footnoteFormatter']?this['_footnoteFormatter']({'footnote':_0x58069a,'container':this['_footnotesDefinitions'],'digits':String(this['_footnotes']['length'])['length'],'value':_0x3fa005+0x1}):String(_0x3fa005+0x1),_0x58069a['reference']['getAttribute']('footnoteCounter')!=_0x245a68&&(_0x151b1e['setAttribute']('footnoteCounter',_0x245a68,_0x58069a['reference']),!0x0);}_sortFootnoteDefinitions(_0x51887a){if(!this['_footnotesDefinitions']||this['_footnotes']['length']<0x2)return!0x1;if(function(_0x25ef81,_0x381be5){if(_0x25ef81['length']!==_0x381be5['length'])return!0x1;for(let _0x1f9bfa=0x0;_0x1f9bfa<_0x25ef81['length'];_0x1f9bfa++)if(_0x25ef81[_0x1f9bfa]!==_0x381be5[_0x1f9bfa])return!0x1;return!0x0;}(this['_footnotes']['map'](_0xf68ca5=>_0xf68ca5['id']),Array['from'](this['_footnotesDefinitions']['getChildren']())['map'](_0x527919=>_0x527919['getAttribute']('footnoteId'))))return!0x1;let _0x3b9e06=!0x1;for(let _0x350d97=0x0;_0x350d97<this['_footnotes']['length'];_0x350d97++){const _0x9d3382=this['_footnotes'][_0x350d97],_0x2ec659=_0x51887a['createPositionBefore'](_0x9d3382['definition']),_0x828578=_0x51887a['createPositionAt'](this['_footnotesDefinitions'],_0x350d97);_0x2ec659['isEqual'](_0x828578)||(_0x51887a['move'](_0x51887a['createRangeOn'](_0x9d3382['definition']),_0x828578),_0x3b9e06=!0x0);}return _0x3b9e06;}_ensureFootnotesReferencesHaveProperOrder(_0x721847){if(!this['_footnotes']['length'])return!0x1;const {model:_0x4cdd4b}=this['editor'];let _0x43dc75=!0x1;for(let _0x4e5154=0x0;_0x4e5154<this['_footnotes']['length']-0x1;_0x4e5154++){const _0x5dd6cd=this['_footnotes'][_0x4e5154],_0x43e113=this['_footnotes'][_0x4e5154+0x1],_0x4e961a=_0x4cdd4b['createPositionBefore'](_0x5dd6cd['reference']),_0x3d688b=_0x4cdd4b['createPositionBefore'](_0x43e113['reference']);'after'===_0x4e961a['compareWith'](_0x3d688b)&&(this['_handleMovedFootnoteReference'](_0x721847,_0x5dd6cd['reference']),_0x4e5154=-0x1,_0x43dc75=!0x0);}return _0x43dc75;}};function K(_0x1fb0e8,_0xb8272a){return _0x1fb0e8['model']['schema']['checkChild'](_0xb8272a,'footnotesDefinitions');}function T(_0x31b167,_0x318c77,_0x59a672){if(_0x59a672['childCount'])return!0x1;const _0x8f1001=_0x318c77?'paragraph':'footnoteInlineContent';return _0x31b167['insert'](_0x31b167['createElement'](_0x8f1001),_0x59a672),!0x0;}function j(_0x2fed56,_0x2a1faf,_0x26f541){if(0x0===_0x2a1faf['length'])return 0x0;const _0x49dec4=_0x2fed56['createPositionBefore'](_0x26f541);for(let _0x1d724a=0x0;_0x1d724a<_0x2a1faf['length'];_0x1d724a++){const _0x39d077=_0x2a1faf[_0x1d724a],_0x36369b=_0x2fed56['createPositionBefore'](_0x39d077['reference']);if('before'===_0x49dec4['compareWith'](_0x36369b))return _0x1d724a;}const _0x2d2ee3=_0x26f541['root'];let _0x27abd4=-0x1;for(let _0x35a375=_0x2a1faf['length']-0x1;_0x35a375>=0x0;_0x35a375--)if(_0x2a1faf[_0x35a375]['reference']['root']===_0x2d2ee3){_0x27abd4=_0x35a375;break;}if(-0x1!==_0x27abd4)return _0x27abd4+0x1;const _0x1f5fa5=_0x2fed56['document']['getRootNames'](),_0x4411d0=_0x1f5fa5[_0x1f5fa5['indexOf'](_0x2d2ee3['rootName'])+0x1];if(_0x4411d0){for(let _0x1cc5c5=0x0;_0x1cc5c5<_0x2a1faf['length'];_0x1cc5c5++)if(_0x2a1faf[_0x1cc5c5]['reference']['root']['rootName']===_0x4411d0)return _0x1cc5c5;}return _0x2a1faf['length'];}var U=class extends _0x59c76c{['refresh'](){const {model:_0x395092,plugins:_0x42fc0a}=this['editor'],{selection:_0x38b46c}=_0x395092['document'],_0x1f1cf4=this['_getPositionToInsertFootnote'](_0x38b46c),_0x358e5b=_0x42fc0a['get']('FootnotesTracker');this['isEnabled']=!(!_0x1f1cf4||!_0x358e5b['_getFirstSuitableFootnotesDefinitionsRoot']());}execute(_0x539989){const {editor:_0x5388a6}=this,{model:_0x32c760}=_0x5388a6,{selection:_0x366dc4}=_0x32c760['document'],_0x143870=this['_getPositionToInsertFootnote'](_0x366dc4);if(!_0x143870)return;const _0x217b6b=_0x5388a6['plugins']['get']('FootnotesEditing'),_0x1155dc=_0x539989?.['footnoteId']??_0xe52247();!function(_0x3255b4){return'string'==typeof _0x3255b4&&_0x3255b4['length']>0x0&&!/\s/['test'](_0x3255b4)&&!/^\d/['test'](_0x3255b4);}(_0x1155dc)?_0x446324('insert-footnote-command-executed-with-invalid-id'):(_0x32c760['change'](_0x4b25a5=>{const _0x37506e=_0x4b25a5['createElement']('footnoteRef',{'footnoteId':_0x1155dc});_0x32c760['insertObject'](_0x37506e,_0x143870,null);}),_0x217b6b['_moveSelectionToFootnoteDefinition'](_0x1155dc));}_getPositionToInsertFootnote(_0x1ab2bf){const {model:_0x526548}=this['editor'],{schema:_0x2fd5d6}=_0x526548,_0x4b1563=_0x1ab2bf['getFirstRange']();for(const _0x285733 of _0x4b1563['getItems']())if(_0x2fd5d6['isBlock'](_0x285733)||_0x2fd5d6['isObject'](_0x285733))return null;const _0x3c5be2=_0x4b1563['end'];return _0x2fd5d6['checkChild'](_0x3c5be2,'footnoteRef')?_0x3c5be2:null;}},$=class extends _0x57ef5f{static get['pluginName'](){return'FootnotesEditing';}static get requires(){return[V];}static get['isOfficialPlugin'](){return!0x0;}static get['isPremiumPlugin'](){return!0x0;}init(){const {editor:_0x404cfe}=this;_0x404cfe['config']['define']('footnotes.multiBlock',!0x0),_0x404cfe['commands']['add']('insertFootnote',new U(_0x404cfe)),this['_defineSchema'](),this['_defineRefsConverters'](),this['_defineDefinitionsConverters'](),this['_defineDefinitionConverters'](),this['_defineBogusParagraphConverters'](),this['_defineKeyboardHandlers'](),this['_defineClickHandlers']();}afterInit(){!async function(_0x2aef80){const _0x4ebf67='unSbGpmijAwyrOzdZhCqT3YLFVtJlkDag1WMNxR4H67IB5QoX0289cUsvPEefK',_0x7a0c67=0x79158,_0x6b4312=window['Date']['now'](),_0x3187ba=_0x2aef80['editor'],_0x38082e=new window['Promise'](_0x17f46a=>{_0x3187ba['once']('ready',_0x17f46a);}),_0x35c4b7={'kty':'EC','use':'sig','crv':'P-256','x':'iCjOCvDFI6lQHHT18jVwRfkfHQ2a_MymT35LQVoFSAI','y':'kXIyJ4evtCEFRmxKSUpK9fDW459vXOvVrhf6uQAeOio','alg':'ES256'},_0xed9277=_0x3187ba['config']['get']('licenseKey');async function _0x268772(){let _0x33f31a,_0x1a6063=null,_0x5df01a=null;try{return'GPL'==_0xed9277?'NotAllowed':(_0x33f31a=_0x2ac120(),_0x33f31a?(_0x33f31a['usageEndpoint']&&(_0x5df01a=_0x2b293a(_0x33f31a['usageEndpoint'],_0x33f31a['jti'])),await _0x13dc6b()?_0x5c4a78()?_0x57997c()?'Expired':_0x5d5e41()?('evaluation'==_0x33f31a['licenseType']&&(_0x1a6063=_0x1e71f6('EvaluationLimit')),await _0x33f326()):'DomainLimit':'NotAllowed':'Invalid'):'Invalid');}catch{return'Invalid';}function _0x57997c(){const _0x179569=['evaluation','trial']['includes'](_0x33f31a['licenseType'])?_0x6b4312/0x3e8:0xe10*_0x7a0c67;return _0x33f31a['exp']<_0x179569;}function _0x5c4a78(){const _0x32f1f5=_0x33f31a['features'];return!!_0x32f1f5&&(!!_0x32f1f5['includes']('*')||!!_0x32f1f5['includes']('FOO'));}function _0x5d5e41(){const _0x6f25fc=_0x33f31a['licensedHosts'];if(!_0x6f25fc||0x0==_0x6f25fc['length'])return!0x0;const {hostname:_0x16344d}=new URL(window['location']['href']);if(_0x6f25fc['includes'](_0x16344d))return!0x0;const _0x1eab8f=_0x16344d['split']('.');return _0x6f25fc['filter'](_0x2059d1=>_0x2059d1['includes']('*'))['map'](_0x467e8f=>_0x467e8f['split']('.'))['filter'](_0x4c3f49=>_0x4c3f49['length']<=_0x1eab8f['length'])['map'](_0x2eeafe=>Array(_0x1eab8f['length']-_0x2eeafe['length'])['fill']('*'===_0x2eeafe[0x0]?'*':'')['concat'](_0x2eeafe))['some'](_0x25fbce=>_0x1eab8f['every']((_0x3f6a36,_0x2afe98)=>_0x25fbce[_0x2afe98]===_0x3f6a36||'*'===_0x25fbce[_0x2afe98]));}function _0x33f326(){return _0x1a6063&&_0x5df01a?new window['Promise']((_0x3c3a81,_0x10b726)=>{_0x1a6063['then'](_0x3c3a81,_0x10b726),_0x5df01a['then'](_0x526c1e=>{'Valid'!=_0x526c1e&&_0x3c3a81(_0x526c1e);},_0x10b726);}):_0x1a6063||_0x5df01a||'Valid';}}function _0x2b293a(_0x3828c3,_0x2756e7){return new window['Promise'](_0x37374a=>{if(_0x21e868())return _0x37374a('Valid');_0x365ab3(),_0x3187ba['decorate']('_sendUsageRequest');let _0x2927c4=!0x1;const _0xebe9da=_0xe52247();function _0x2d5e8f(_0x479b3a){return!!_0x479b3a&&('object'==typeof _0x479b3a||'function'==typeof _0x479b3a)&&'function'==typeof _0x479b3a['then']&&'function'==typeof _0x479b3a['catch'];}function _0x1effdb(_0x304473){_0x1172d9(_0x304473)['then'](_0x18cefb=>_0x18cefb&&'ok'==_0x18cefb['status']?_0xb354dc(_0x52d43e(_0xebe9da+_0x2756e7))!=_0x18cefb['verification']?'UsageLimit':'Valid':'UsageLimit')['then'](_0x78f9fd=>(_0x510d71(),_0x78f9fd),()=>{const _0x19de7e=_0x216893();return null==_0x19de7e?(_0x510d71(),'Valid'):_0x6b4312-_0x19de7e>0x240c8400?'UsageLimit':'Valid';})['then'](_0x37374a)['catch'](()=>{_0x37374a('UsageLimit');});const _0x4d1ce5=0x36ee80;function _0x510d71(){const _0x37b0d9='llct-'+_0xb354dc(_0x52d43e(_0x3828c3)),_0x12110a=_0x5292eb(_0xb354dc(window['Math']['ceil'](_0x6b4312/_0x4d1ce5)));window['localStorage']['setItem'](_0x37b0d9,_0x12110a);}function _0x216893(){const _0x4c83e6='llct-'+_0xb354dc(_0x52d43e(_0x3828c3)),_0x4c77da=window['localStorage']['getItem'](_0x4c83e6);return _0x4c77da?window['parseInt'](_0x5292eb(_0x4c77da),0x10)*_0x4d1ce5:null;}function _0x1172d9(_0x2bceae){return new window['Promise']((_0x137d75,_0x5b8c56)=>{_0x2bceae['then'](_0x137d75,_0x5b8c56),window['setTimeout'](_0x5b8c56,0x1d4c0);});}}_0x3187ba['on']('_sendUsageRequest',(_0x584d99,_0x1b6a5f)=>{if(_0x1b6a5f[0x0]!=_0x3828c3)return _0x37374a('UsageLimit');_0x1b6a5f[0x1]={..._0x1b6a5f[0x1],'requestId':_0xebe9da};},{'priority':'high'}),_0x3187ba['on']('_sendUsageRequest',_0x485c2a=>{_0x2d5e8f(_0x485c2a['return'])&&(_0x2927c4=!0x0,_0x1effdb(_0x485c2a['return']));},{'priority':'low'}),_0x38082e['then'](()=>{_0x2927c4||_0x37374a('UsageLimit');});});function _0x21e868(){return'auto'==_0x3187ba['editing']['view']['_overlayModeHint'];}function _0x365ab3(){_0x3187ba['editing']['view']['_overlayModeHint']='auto';}}function _0x1e71f6(_0x472dd2){const _0x139e14=[new window['Promise'](_0x462a7f=>setTimeout(_0x462a7f,0x93ecc)),_0x38082e['then'](()=>new window['Promise'](_0x25874d=>{let _0x307aec=0x0;_0x3187ba['model']['on']('applyOperation',(_0x44ff2c,_0x1d0d63)=>{_0x1d0d63[0x0]['isDocumentOperation']&&_0x307aec++,0x5e8==_0x307aec&&(_0x25874d(),_0x44ff2c['off']());});}))];return window['Promise']['race'](_0x139e14)['then'](()=>_0x472dd2);}async function _0x45fe3b(){await _0x38082e,_0x3187ba['model']['change']=_0x496e1f,_0x3187ba['model']['enqueueChange']=_0x496e1f,_0x3187ba['enableReadOnlyMode']('model');}function _0x3f28e7(_0xff50b5){const _0x570bff=_0x436242();_0x3187ba[_0x570bff]='footnotesLicenseKey'+_0xff50b5,'Valid'!=_0xff50b5&&_0x45fe3b();}function _0x436242(){const _0x86a029=window['String'](window['performance']['now']())['replace']('.','');let _0x156ec9='u';for(let _0x29d9cc=0x0;_0x29d9cc<_0x86a029['length'];_0x29d9cc+=0x2){let _0x5d3be5=window['parseInt'](_0x86a029['substring'](_0x29d9cc,_0x29d9cc+0x2));_0x5d3be5>=0x3e&&(_0x5d3be5-=0x3e),_0x156ec9+=_0x4ebf67[_0x5d3be5];}return _0x156ec9;}function _0x2ac120(){const _0x3402d9=_0xed9277['split']('.');if(0x3!=_0x3402d9['length'])return null;return _0xe069dd(_0x3402d9[0x1]);function _0xe069dd(_0x582caa){const _0x4db597=_0x62f14c(_0x582caa);return _0x4db597&&_0x42224c()?_0x4db597:null;function _0x42224c(){const _0x1450cf=_0x4db597['jti'],_0x3dede0=window['parseInt'](_0x1450cf['substring'](_0x1450cf['length']-0x8),0x10),_0x156dfe={..._0x4db597,'jti':_0x1450cf['substring'](0x0,_0x1450cf['length']-0x8)};return delete _0x156dfe['vc'],_0x52d43e(_0x156dfe)==_0x3dede0;}}}async function _0x13dc6b(){let _0x54dae1=!0x0;try{const [_0x1389ef,_0x5da6d8,_0x2d4970]=_0xed9277['split']('.');return _0x3a348b(_0x1389ef),await _0x4e3ee6(_0x1389ef,_0x5da6d8,_0x2d4970),_0x54dae1;}catch{return!0x1;}function _0x3a348b(_0x33ff12){const _0x167cb1=_0x62f14c(_0x33ff12);_0x167cb1&&'ES256'==_0x167cb1['alg']||(_0x54dae1=!0x1);}async function _0x4e3ee6(_0x4fe492,_0x2bd7af,_0x40ea22){const _0x1216ec=window['Uint8Array']['from'](_0x19fd4b(_0x40ea22),_0x23b5b0=>_0x23b5b0['charCodeAt'](0x0)),_0x4e340e=new window['TextEncoder']()['encode'](_0x4fe492+'.'+_0x2bd7af),_0x299615=window['crypto']['subtle'];if(!_0x299615)return;const _0x16bb4b=await _0x299615['importKey']('jwk',_0x35c4b7,{'name':'ECDSA','namedCurve':'P-256'},!0x1,['verify']);await _0x299615['verify']({'name':'ECDSA','hash':{'name':'SHA-256'}},_0x16bb4b,_0x1216ec,_0x4e340e)||(_0x54dae1=!0x1);}}function _0x62f14c(_0x53a75c){return _0x53a75c['startsWith']('ey')?JSON['parse'](_0x19fd4b(_0x53a75c)):null;}function _0x19fd4b(_0x49d794){return window['atob'](_0x49d794['replace'](/-/g,'+')['replace'](/_/g,'/'));}function _0x52d43e(_0x452ec0){let _0x2c15a7=0x1505;function _0x50b60f(_0x28ec4b){for(let _0x1346f4=0x0;_0x1346f4<_0x28ec4b['length'];_0x1346f4++){const _0x3a099c=_0x28ec4b['charCodeAt'](_0x1346f4);_0x2c15a7=(_0x2c15a7<<0x5)+_0x2c15a7+_0x3a099c,_0x2c15a7&=_0x2c15a7;}}function _0x225e92(_0x4b9af6){Array['isArray'](_0x4b9af6)?_0x4b9af6['forEach'](_0x225e92):_0x4b9af6&&'object'==typeof _0x4b9af6?Object['entries'](_0x4b9af6)['sort']()['forEach'](([_0x36ddc5,_0x45416d])=>{_0x50b60f(_0x36ddc5),_0x225e92(_0x45416d);}):_0x50b60f(window['String'](_0x4b9af6));}return _0x225e92(_0x452ec0),_0x2c15a7>>>0x0;}function _0xb354dc(_0x2b95e7){return _0x2b95e7['toString'](0x10)['padStart'](0x8,'0');}function _0x5292eb(_0x1dd8e7){return _0x1dd8e7['split']('')['reverse']()['join']('');}function _0x496e1f(){}_0x3f28e7(await _0x268772());}(this);}_moveSelectionToFootnoteDefinition(_0x4230ff){const {plugins:_0x277444,editing:_0x7473e6,model:_0x23f725}=this['editor'],_0x44e0de=_0x277444['get'](V)['getFootnote'](_0x4230ff);return!!_0x44e0de&&(_0x23f725['change'](_0x24ffab=>{_0x24ffab['setSelection'](_0x24ffab['createPositionAt'](_0x44e0de['definition'],'end'));}),_0x7473e6['view']['scrollToTheSelection'](),!0x0);}_moveSelectionToFootnoteReference(_0x43b0b5){const {plugins:_0x4171c7,editing:_0x4265fd,model:_0xeb4789}=this['editor'],_0x20e66d=_0x4171c7['get'](V)['getFootnote'](_0x43b0b5);return!!_0x20e66d&&(_0xeb4789['change'](_0x2921a8=>{_0x2921a8['setSelection'](_0x20e66d['reference'],'on');}),_0x4265fd['view']['scrollToTheSelection'](),!0x0);}['_defineSchema'](){const {schema:_0x2e3aa8}=this['editor']['model'],_0x4c7b1a=this['editor']['config']['get']('footnotes.multiBlock');_0x2e3aa8['register']('footnoteRef',{'inheritAllFrom':'$inlineObject','allowAttributes':['footnoteId','footnoteCounter']}),_0x2e3aa8['register']('footnotesDefinitions',{'inheritAllFrom':'$blockObject','allowChildren':['footnoteDefinition']}),_0x2e3aa8['register']('footnoteDefinition',{'allowAttributes':['footnoteId'],'disallowAttributes':['listItemId'],'isLimit':!0x0}),_0x4c7b1a?_0x2e3aa8['extend']('footnoteDefinition',{'allowContentOf':'$container'}):_0x2e3aa8['register']('footnoteInlineContent',{'allowIn':'footnoteDefinition','allowContentOf':'$block','isLimit':!0x0}),_0x2e3aa8['addChildCheck'](_0x4980c7=>{for(const _0x3ffb90 of _0x4980c7)if('footnoteDefinition'===_0x3ffb90['name'])return!0x1;},'footnoteRef');}_defineRefsConverters(){const {editor:_0x3e050b}=this,{conversion:_0x238785,editing:_0x2f628f}=_0x3e050b,{t:t}=_0x3e050b['locale'];_0x238785['for']('upcast')['elementToElement']({'view':{'name':'sup','classes':'footnote'},'model':(_0x3ddd01,{writer:_0x5b22bc,consumable:_0x5599bb})=>{const _0x44af47=_0x3ddd01['getChild'](0x0);if(!_0x44af47||!_0x44af47['is']('element','a'))return null;const _0x3c2901=_0x44af47['getAttribute']('href')||'';if(!_0x3c2901['startsWith']('#'))return null;const _0x51140f=_0x3c2901['replace'](/^#/,'');if(!_0x51140f)return null;_0x5599bb['consume'](_0x44af47,{'name':!0x0,'attributes':['href']});for(const {item:_0x235473}of _0x2f628f['view']['createRangeIn'](_0x44af47))_0x235473['is']('$textProxy')?_0x5599bb['consume'](_0x235473['textNode'],{'name':!0x0}):_0x235473['is']('element')&&_0x5599bb['consume'](_0x235473,{'name':!0x0});return _0x5b22bc['createElement']('footnoteRef',{'footnoteId':_0x51140f});}}),_0x238785['for']('dataDowncast')['elementToElement']({'model':{'name':'footnoteRef','attributes':['footnoteId','footnoteCounter']},'view':(_0x2634e9,{writer:_0xdaa0c7})=>z(_0x2634e9,_0xdaa0c7)}),_0x238785['for']('editingDowncast')['elementToElement']({'model':{'name':'footnoteRef','attributes':['footnoteId','footnoteCounter']},'view':(_0x9d1caf,{writer:_0x4665b9})=>{const _0x776363=_0x9d1caf['getAttribute']('footnoteCounter');return _0x2ce6c1(z(_0x9d1caf,_0x4665b9),_0x4665b9,{'label':t('Footnote\x20%0.\x20Press\x20ENTER\x20to\x20jump\x20to\x20footnote\x20definition.',_0x776363)});}});}_defineDefinitionsConverters(){const {editor:_0x56eeb6}=this,{t:t}=_0x56eeb6['locale'],{conversion:_0x9a8d71}=_0x56eeb6;_0x9a8d71['for']('upcast')['elementToElement']({'view':{'name':'div','classes':'footnotes'},'model':'footnotesDefinitions'}),_0x9a8d71['for']('upcast')['add'](_0x190b3f=>{_0x190b3f['on']('element:ol',(_0x4bc717,_0x4d39b2,_0x332599)=>{const _0x3ecbce=_0x4d39b2['viewItem'];if(!_0x3ecbce['hasClass']('footnotes-list')||!_0x4d39b2['modelCursor']['parent']?.['is']('element','footnotesDefinitions'))return;if(!_0x332599['consumable']['consume'](_0x3ecbce,{'name':!0x0,'classes':'footnotes-list'}))return;const {modelRange:_0x52b6af,modelCursor:_0x1e65ff}=_0x332599['convertChildren'](_0x4d39b2['viewItem'],_0x4d39b2['modelCursor']);_0x4d39b2['modelRange']=_0x52b6af,_0x4d39b2['modelCursor']=_0x1e65ff;}),_0x190b3f['on']('element:hr',(_0x10977b,_0x451333,_0x29133a)=>{const _0x4c2815=_0x451333['viewItem'];_0x4c2815['hasClass']('footnotes-divider')&&_0x451333['modelCursor']['parent']?.['is']('element','footnotesDefinitions')&&_0x29133a['consumable']['consume'](_0x4c2815,{'name':!0x0,'classes':'footnotes-divider'});});}),_0x9a8d71['for']('dataDowncast')['elementToStructure']({'model':'footnotesDefinitions','view':(_0x36ba9a,{writer:_0x1589fd})=>X(_0x1589fd)}),_0x9a8d71['for']('editingDowncast')['elementToStructure']({'model':'footnotesDefinitions','view':(_0x40cccd,{writer:_0x5e584e})=>{const _0xe7b810=_0x2ce6c1(X(_0x5e584e,{'data-footnotes-list-label':t('Footnotes')}),_0x5e584e,{'hasSelectionHandle':!0x0,'label':t('Footnotes')});return _0x5e584e['setCustomProperty']('footnotesDefinitions',!0x0,_0xe7b810),_0xe7b810;}});}_defineDefinitionConverters(){const {editor:_0x2901b4}=this,{conversion:_0x2fe8ec,locale:_0x57bbc2}=_0x2901b4,_0x17088f=_0x2901b4['config']['get']('footnotes.multiBlock');_0x2fe8ec['for']('upcast')['add'](_0x45136f=>{_0x45136f['on']('element:li',(_0x100dc0,_0x13ac7d,_0x1eaa0d)=>{const _0x3fb13a=_0x13ac7d['viewItem'];if(!_0x3fb13a['hasClass']('footnote-definition')||!_0x3fb13a['getAttribute']('id'))return;const _0x222dad=_0x3fb13a['parent'];if(!_0x222dad['is']('element','ol')||!_0x222dad['hasClass']('footnotes-list'))return;if(!_0x1eaa0d['consumable']['test'](_0x3fb13a,{'name':!0x0,'attributes':'id','classes':'footnote-definition'}))return;const _0x386bef=_0x1eaa0d['writer']['createElement']('footnoteDefinition',{'footnoteId':_0x3fb13a['getAttribute']('id')});if(!_0x1eaa0d['safeInsert'](_0x386bef,_0x13ac7d['modelCursor']))return;_0x1eaa0d['consumable']['consume'](_0x3fb13a,{'name':!0x0,'attributes':'id','classes':'footnote-definition'});const _0x3bd2d8=Array['from'](_0x3fb13a['getChildren']())['find'](_0x2a5b62=>_0x2a5b62['is']('element')&&_0x2a5b62['hasClass']('footnote-content'));for(const _0x2743ea of _0x3fb13a['getChildren']())_0x2743ea['is']('element')&&(_0x1eaa0d['consumable']['consume'](_0x2743ea,{'name':!0x0,'classes':'footnote-backlink','attributes':'href'}),_0x1eaa0d['consumable']['consume'](_0x2743ea,{'name':!0x0,'classes':'footnote-content'}));if(_0x3bd2d8){if(_0x17088f)_0x1eaa0d['convertChildren'](_0x3bd2d8,_0x386bef);else{const _0xfaafb8=_0x1eaa0d['writer']['createElement']('footnoteInlineContent');_0x1eaa0d['writer']['insert'](_0xfaafb8,_0x386bef),_0x1eaa0d['convertChildren'](_0x3bd2d8,_0xfaafb8);}}_0x1eaa0d['updateConversionResult'](_0x386bef,_0x13ac7d);});}),_0x2fe8ec['for']('dataDowncast')['elementToStructure']({'model':{'name':'footnoteDefinition','attributes':['footnoteId']},'view':(_0x37576f,{writer:_0x43a144})=>J(_0x37576f,_0x43a144,_0x57bbc2,{'dataPipeline':!0x0})}),_0x2fe8ec['for']('editingDowncast')['elementToStructure']({'model':{'name':'footnoteDefinition','attributes':['footnoteId']},'view':(_0x21d8c8,{writer:_0x2af00d})=>J(_0x21d8c8,_0x2af00d,_0x57bbc2)});}_defineBogusParagraphConverters(){const {editor:_0x41dfed}=this,{conversion:_0x382b55}=_0x41dfed;_0x41dfed['config']['get']('footnotes.multiBlock')?(_0x382b55['for']('editingDowncast')['elementToElement']({'model':'paragraph','view':M(),'converterPriority':'high'}),_0x382b55['for']('dataDowncast')['elementToElement']({'model':'paragraph','view':M({'dataPipeline':!0x0}),'converterPriority':'high'}),this['listenTo'](_0x41dfed['model']['document'],'change:data',()=>{!function(_0x50fb1b,_0x4e8a29){const _0x153d77=_0x50fb1b['document']['differ'],_0x1de2c6=new Set();for(const _0x17e31f of _0x153d77['getChanges']()){const _0x2576bc='attribute'==_0x17e31f['type']?_0x17e31f['range']['start']['parent']:_0x17e31f['position']['parent'];_0x2576bc['is']('element','footnoteDefinition')&&_0x1de2c6['add'](_0x2576bc);}for(const _0x13a0db of _0x1de2c6['values']()){const _0x507a71=Array['from'](_0x13a0db['getChildren']())['filter'](_0x2ccf54=>q(_0x2ccf54,_0x4e8a29['mapper']));for(const _0x23870e of _0x507a71)_0x4e8a29['reconvertItem'](_0x23870e);}}(_0x41dfed['model'],_0x41dfed['editing']);})):(_0x382b55['for']('editingDowncast')['elementToElement']({'model':'footnoteInlineContent','view':M()}),_0x382b55['for']('dataDowncast')['elementToElement']({'model':'footnoteInlineContent','view':(_0x26415f,{writer:_0x25b303})=>{const _0x22b8cf=_0x25b303['createContainerElement']('span');return _0x25b303['setCustomProperty']('dataPipeline:transparentRendering',!0x0,_0x22b8cf),_0x22b8cf;}}));}['_defineKeyboardHandlers'](){const {editor:_0x3d4244}=this,{editing:_0x333d97,t:t}=_0x3d4244,_0x154a37=_0x3d4244['model']['document']['selection'];_0x3d4244['keystrokes']['set']('Ctrl+Alt+F','insertFootnote'),_0x3d4244['accessibility']['addKeystrokeInfos']({'keystrokes':[{'label':t('Insert\x20footnote'),'keystroke':'Ctrl+Alt+F'}]}),this['listenTo'](_0x333d97['view']['document'],'enter',(_0x2bc524,_0x475767)=>{const _0x1e0c10=function(_0x185fc8){const _0x1497ef=_0x185fc8['getSelectedElement']();return _0x1497ef?.['is']('element','footnoteRef')?_0x1497ef:null;}(_0x154a37);if(_0x1e0c10){const _0x52ce48=_0x1e0c10['getAttribute']('footnoteId');this['_moveSelectionToFootnoteDefinition'](_0x52ce48),_0x475767['preventDefault'](),_0x2bc524['stop']();}},{'context':_0x2c950c});}['_defineClickHandlers'](){const {editor:_0x2c3b82}=this,{editing:_0x1a3073}=_0x2c3b82;_0x2c3b82['editing']['view']['addObserver'](_0x2fc162),_0x2c3b82['editing']['view']['addObserver'](_0xb29007);let _0x4a6ec2=!0x1;this['listenTo'](_0x1a3073['view']['document'],'pointerdown',(_0x45efff,_0x17b9d8)=>{const {target:_0x26b3fc}=_0x17b9d8,_0x3c0ea0=_0x1a3073['view']['document']['selection'];_0x4a6ec2=!!(_0x26b3fc?.['is']('element','a')&&_0x26b3fc['parent']?.['is']('element','sup')&&_0x26b3fc['parent']['hasClass']('footnote'))&&_0x3c0ea0['getSelectedElement']()===_0x26b3fc['parent'];},{'priority':'high'}),this['listenTo'](_0x1a3073['view']['document'],'click',(_0x1c3d96,_0x105bcd)=>{const {target:_0x54c96e}=_0x105bcd;if(!_0x54c96e?.['is']('element','a'))return;if(_0x54c96e['parent']?.['is']('element','sup')&&_0x54c96e['parent']['hasClass']('footnote')&&!_0x4a6ec2)return void _0x105bcd['preventDefault']();let _0x29e0b1=_0x54c96e['getAttribute']('href');if(!_0x29e0b1?.['startsWith']('#'))return;_0x29e0b1=_0x29e0b1['slice'](0x1);let _0x2012e0=!0x1;(_0x29e0b1['startsWith']('ref-')&&this['_moveSelectionToFootnoteReference'](_0x29e0b1['slice'](0x4))||this['_moveSelectionToFootnoteDefinition'](_0x29e0b1))&&(_0x2012e0=!0x0),_0x2012e0&&(_0x105bcd['preventDefault'](),_0x1c3d96['stop']());},{'priority':'high','context':'$capture'});}};function M({dataPipeline:_0x483ea1}={}){return(_0x5aea90,{writer:_0xe9938})=>{if(!B(_0x5aea90))return null;if(!_0x483ea1)return _0xe9938['createContainerElement']('span',{'class':'ck-footnote-bogus-paragraph'});const _0x3671ba=_0xe9938['createContainerElement']('p');return _0xe9938['setCustomProperty']('dataPipeline:transparentRendering',!0x0,_0x3671ba),_0x3671ba;};}function B(_0x4e536c){const {parent:_0x587081}=_0x4e536c;if(!_0x587081?.['is']('element','footnoteDefinition'))return!0x1;if(0x1!=_0x587081['childCount'])return!0x1;for(const _0x172159 of _0x4e536c['getAttributeKeys']())if(!_0x172159['startsWith']('selection:')&&'htmlEmptyBlock'!=_0x172159)return!0x1;return!0x0;}function q(_0x1d6023,_0x58b823){if(!_0x1d6023['is']('element','paragraph'))return!0x1;const _0x41faf9=_0x58b823['toViewElement'](_0x1d6023);return!!_0x41faf9&&B(_0x1d6023)!==_0x41faf9['is']('element','span');}function H(_0x4d953a){return _0x2c950c(_0x4d953a)&&_0x4d953a['is']('containerElement')&&!!_0x4d953a['getCustomProperty']('footnotesDefinitions');}function X(_0x323661,_0x420173={}){const _0x404920=_0x323661['createEmptyElement']('hr',{'class':'footnotes-divider'}),_0x483a42=_0x323661['createContainerElement']('ol',{'class':'footnotes-list'},_0x323661['createSlot']());return _0x323661['createContainerElement']('div',{'class':'footnotes',..._0x420173},[_0x404920,_0x483a42]);}function z(_0x3efb9e,_0x1af2af){const _0x375b42=_0x3efb9e['getAttribute']('footnoteId'),_0x57af98=_0x3efb9e['getAttribute']('footnoteCounter'),_0x423175=_0x1af2af['createUIElement']('a',{'href':'#'+_0x375b42},function(_0x1acb8d){const _0x44cbce=this['toDomElement'](_0x1acb8d);return _0x44cbce['textContent']=_0x57af98,_0x44cbce;}),_0x2336c7=_0x1af2af['createContainerElement']('sup',{'id':'ref-'+_0x375b42,'class':'footnote'},[_0x423175]);return _0x2336c7['getFillerOffset']=()=>null,_0x2336c7;}function J(_0x2a85e6,_0x367166,_0x488283,{dataPipeline:_0x183475}={}){const {t:t}=_0x488283,_0x2f1dbc=_0x2a85e6['getAttribute']('footnoteId'),_0x4d0d6b=_0x367166['createUIElement']('a',{'class':'footnote-backlink','href':'#ref-'+_0x2f1dbc},function(_0x22607b){const _0x37eec1=this['toDomElement'](_0x22607b);return _0x37eec1['innerText']='^',_0x37eec1;}),_0x1ec045=_0x183475?_0x367166['createContainerElement']('div',{'class':'footnote-content'}):_0x16bb8d(_0x367166['createEditableElement']('div',{'class':'footnote-content'}),_0x367166,{'label':t('Footnote\x20content.')});return _0x367166['insert'](_0x367166['createPositionAt'](_0x1ec045,0x0),_0x367166['createSlot']()),_0x367166['createContainerElement']('li',{'class':'footnote-definition','id':_0x2f1dbc},[_0x4d0d6b,_0x1ec045]);}var Q=class extends _0x57ef5f{static get['pluginName'](){return'FootnotesClipboard';}static get requires(){return[$,_0x5d12d7];}static get['isOfficialPlugin'](){return!0x0;}static get['isPremiumPlugin'](){return!0x0;}init(){this['_defineClipboardIntegration']();}_defineClipboardIntegration(){this['_handleCopyFootnotesDefinitions'](),this['_handlePasteFootnotesDefinitions']();}_handleCopyFootnotesDefinitions(){const {editor:_0x4d08e9}=this,{plugins:_0x202c92,model:_0xec9976}=_0x4d08e9,_0xe24835=_0x202c92['get'](_0x5d12d7),_0x9d5801=_0x202c92['get'](V);this['listenTo'](_0xe24835,'outputTransformation',(_0x4cf793,_0xe1421c)=>{const _0x50a6c8=W(_0xec9976['createRangeIn'](_0xe1421c['content']));if(!_0x50a6c8['length'])return;const _0x138ca2=_0x9d5801['getFootnotes'](),_0x3b6677=_0x50a6c8['reduce']((_0x32c9ce,_0x5ba6e0)=>{const _0x31a35e=_0x138ca2['find'](_0x589e6c=>_0x589e6c['id']===_0x5ba6e0);if(_0x31a35e){const _0xc3731c=_0x4d08e9['data']['toView'](_0x31a35e['definition'],{'isClipboardPipeline':!0x0}),_0x22de43=_0x4d08e9['data']['htmlProcessor']['toData'](_0xc3731c);_0x32c9ce[_0x31a35e['id']]=_0x22de43;}return _0x32c9ce;},Object['create'](null));_0xe1421c['dataTransfer']['setData']('application/ckeditor5-footnotes',JSON['stringify'](_0x3b6677));});}_handlePasteFootnotesDefinitions(){const {editor:_0x31b707}=this,{model:_0x27195e,plugins:_0x2b91e1}=_0x31b707,{view:_0x10e23f}=_0x31b707['editing'],_0x17390e=_0x2b91e1['get'](_0x5d12d7),_0x4f0e7f=_0x2b91e1['get'](V),_0x1af3c7=_0x31b707['config']['get']('footnotes.multiBlock');let _0x39c981=null;this['listenTo'](_0x10e23f['document'],'clipboardInput',(_0x50969f,_0x4ed06f)=>{const _0x5d1051=_0x4ed06f['dataTransfer']['getData']('application/ckeditor5-footnotes');_0x39c981=_0x5d1051?JSON['parse'](_0x5d1051):null;}),this['listenTo'](_0x17390e,'contentInsertion',(_0x404901,_0x53646c)=>{const _0xbbe84d=_0x53646c['sourceEditorId']===this['editor']['id'];_0xbbe84d&&'drop'===_0x53646c['method']||_0x27195e['change'](_0x108d77=>{let _0x2572bd=_0x4f0e7f['getFootnotesDefinitionsObjectElement']();const _0x22ac72=!!_0x2572bd&&Array['from'](_0x27195e['document']['selection']['getSelectedBlocks']())['includes'](_0x2572bd);if(!_0x39c981&&function(_0x45d53c){for(const {item:_0xf92096}of _0x45d53c)if(_0xf92096['is']('element','footnoteRef'))return!0x0;return!0x1;}(_0x27195e['createRangeIn'](_0x53646c['content']))&&(_0x39c981=function(_0x1e2871,_0x31e869){const _0x36c900=G(_0x1e2871,_0x31e869);if(!_0x36c900)return null;const _0x36cc20=Object['create'](null);for(const _0x1bdcb9 of _0x36c900['getChildren']())_0x1bdcb9['is']('element','footnoteDefinition')&&_0x1bdcb9['hasAttribute']('footnoteId')&&(_0x36cc20[_0x1bdcb9['getAttribute']('footnoteId')]=_0x1e2871['cloneElement'](_0x1bdcb9,!0x0));return Object['keys'](_0x36cc20)['length']?_0x36cc20:null;}(_0x108d77,_0x53646c['content'])),(_0x2572bd&&!_0x22ac72||!_0x2572bd&&!_0x39c981)&&function(_0x906937,_0xe19604){const _0x2aa913=[];for(const {item:_0x420298}of _0x906937['createRangeIn'](_0xe19604))_0x420298['is']('element','footnotesDefinitions')&&_0x2aa913['push'](_0x420298);for(const _0x31a9a9 of _0x2aa913)_0x906937['remove'](_0x31a9a9);}(_0x108d77,_0x53646c['content']),!_0x39c981)return;const {selection:_0x274dab}=_0x27195e['document'],_0x2a3e93=_0x274dab['getFirstRange']()['root'];if(!_0x2572bd||_0x22ac72){if(_0x2572bd=G(_0x108d77,_0x53646c['content']),_0x2572bd||=_0x4f0e7f['_insertEmptyFootnotesDefinitionsContainer'](_0x108d77,_0x2a3e93),!_0x2572bd){const _0x371a49=_0x4f0e7f['_getFirstSuitableFootnotesDefinitionsRoot']();_0x2572bd||=_0x371a49&&_0x4f0e7f['_insertEmptyFootnotesDefinitionsContainer'](_0x108d77,_0x371a49);}if(!_0x2572bd)return void(_0x39c981=null);}const _0x40b63d=Array['from'](_0x274dab['getRanges']())['flatMap'](W),_0x4eec4e=function(_0xc6d717,_0x19990b,_0x35dbaa){const _0x163092=Object['create'](null);for(const {item:_0x31e170}of _0xc6d717['createRangeIn'](_0x19990b))if(_0x31e170['is']('element','footnoteRef')){const _0x505328=_0x31e170['getAttribute']('footnoteId');if(!_0x35dbaa(_0x505328))continue;_0x163092[_0x505328]||(_0x163092[_0x505328]=_0xe52247()),_0xc6d717['setAttribute']('footnoteId',_0x163092[_0x505328],_0x31e170);}return _0x163092;}(_0x108d77,_0x53646c['content'],_0x16520e=>!_0xbbe84d||!!_0x4f0e7f['getFootnote'](_0x16520e)&&!_0x40b63d['includes'](_0x16520e));for(const [_0x29cd8d,_0x2e9162]of Object['entries'](_0x39c981)){const _0x4d293e=_0x4eec4e[_0x29cd8d]||_0x29cd8d;let _0x3eea5b;if('string'!=typeof _0x2e9162)_0x3eea5b=_0x2e9162,_0x4d293e!==_0x29cd8d&&_0x108d77['setAttribute']('footnoteId',_0x4d293e,_0x3eea5b);else{_0x3eea5b=_0x108d77['createElement']('footnoteDefinition',{'footnoteId':_0x4d293e});const _0x3c7d07=_0x31b707['data']['htmlProcessor']['toView'](_0x2e9162);let _0x3e182b;if(_0x1af3c7)_0x3e182b=_0x31b707['data']['toModel'](_0x3c7d07,_0x3eea5b);else{_0x3e182b=_0x108d77['createElement']('footnoteInlineContent');const _0x5e263c=_0x31b707['data']['toModel'](_0x3c7d07,_0x3e182b);_0x108d77['insert'](_0x5e263c,_0x3e182b);}_0x108d77['append'](_0x3e182b,_0x3eea5b);}_0x108d77['insert'](_0x3eea5b,_0x2572bd,'end');}_0x39c981=null;});});}};function G(_0x5c0b32,_0x1042f3){for(const {item:_0x37a2a3}of _0x5c0b32['createRangeIn'](_0x1042f3))if(_0x37a2a3['is']('element','footnotesDefinitions'))return _0x37a2a3;return null;}function W(_0x42c719){const _0x5368a8=new Set();for(const {item:_0xa49942}of _0x42c719)_0xa49942['is']('element','footnoteRef')&&_0x5368a8['add'](_0xa49942['getAttribute']('footnoteId'));return Array['from'](_0x5368a8);}var Y=class extends _0x57ef5f{['licenseKey'];_licenseKeyCheckInterval;static get['pluginName'](){return'FootnotesUI';}static get['isOfficialPlugin'](){return!0x0;}static get['isPremiumPlugin'](){return!0x0;}init(){const {editor:_0x390977}=this,{componentFactory:_0x3eb8fd}=_0x390977['ui'];_0x3eb8fd['add']('insertFootnote',Z(_0x390977,_0x54fb93)),_0x3eb8fd['add']('menuBar:insertFootnote',Z(_0x390977,_0x506709)),this['licenseKey']=this['editor']['config']['get']('licenseKey');const _0xccb402=this['editor'];this['_licenseKeyCheckInterval']=setInterval(()=>{let _0x438b71;for(const _0xf141b7 in _0xccb402){const _0x38c149=_0xf141b7,_0x1e36d6=_0xccb402[_0x38c149];if('footnotesLicenseKeyValid'==_0x1e36d6||'footnotesLicenseKeyInvalid'==_0x1e36d6||'footnotesLicenseKeyExpired'==_0x1e36d6||'footnotesLicenseKeyDomainLimit'==_0x1e36d6||'footnotesLicenseKeyNotAllowed'==_0x1e36d6||'footnotesLicenseKeyEvaluationLimit'==_0x1e36d6||'footnotesLicenseKeyUsageLimit'==_0x1e36d6){delete _0xccb402[_0x38c149],_0x438b71=_0x1e36d6,clearInterval(this['_licenseKeyCheckInterval']),this['_licenseKeyCheckInterval']=void 0x0;break;}}'footnotesLicenseKeyInvalid'==_0x438b71&&_0xccb402['_showLicenseError']('invalid'),'footnotesLicenseKeyExpired'==_0x438b71&&_0xccb402['_showLicenseError']('expired'),'footnotesLicenseKeyDomainLimit'==_0x438b71&&_0xccb402['_showLicenseError']('domainLimit'),'footnotesLicenseKeyNotAllowed'==_0x438b71&&_0xccb402['_showLicenseError']('featureNotAllowed','Footnotes'),'footnotesLicenseKeyEvaluationLimit'==_0x438b71&&_0xccb402['_showLicenseError']('evaluationLimit'),'footnotesLicenseKeyUsageLimit'==_0x438b71&&_0xccb402['_showLicenseError']('usageLimit');},0x3e8);}destroy(){super['destroy'](),this['_licenseKeyCheckInterval']&&clearInterval(this['_licenseKeyCheckInterval']);}};function Z(_0x3ec354,_0x3bbf82){const _0x4f334c=_0x3ec354['commands']['get']('insertFootnote');return _0x230870=>{const {t:t}=_0x230870,_0x58d86b=new _0x3bbf82(_0x230870),_0xb42d8f=_0x58d86b instanceof _0x506709;return _0x58d86b['bind']('isEnabled')['to'](_0x4f334c,'isEnabled'),_0x58d86b['set']({'label':t(_0xb42d8f?'Footnote':'Insert\x20footnote'),'icon':_0x246473,'tooltip':!0x0}),_0x58d86b['on']('execute',()=>{_0x4f334c['execute'](),_0x3ec354['editing']['view']['focus']();}),_0x58d86b;};}var tt=class extends _0x57ef5f{static get['pluginName'](){return'Footnotes';}static get requires(){return[$,Q,Y];}static get['isOfficialPlugin'](){return!0x0;}static get['isPremiumPlugin'](){return!0x0;}};const et=['decimal','decimal-leading-zero','lower-latin','upper-latin','lower-roman','upper-roman'],ot=Object['create']({'lower-alpha':'lower-latin','upper-alpha':'upper-latin'}),nt=[...et,'arabic-indic','lower-alpha','upper-alpha'];var it=class extends _0x59c76c{['refresh'](){const {editor:_0x15d416}=this,_0x2823c5=_0x15d416['plugins']['get'](V)['getFootnotesDefinitionsObjectElement']();this['isEnabled']=!!_0x2823c5,this['value']=_0x2823c5?.['getAttribute']('footnotesListStyle')??null;}execute({value:_0x1d257f}){const {editor:_0x1787a8}=this,_0x41e079=_0x1787a8['plugins']['get'](V),_0x2afb0c=_0x41e079['getFootnotesDefinitionsObjectElement']();_0x2afb0c&&nt['includes'](_0x1d257f)&&_0x1787a8['model']['change'](_0xad1ced=>{_0xad1ced['setAttribute']('footnotesListStyle',_0x1d257f,_0x2afb0c),_0x41e079['_updateFootnotesCounters'](_0xad1ced);});}},st=class extends _0x59c76c{['refresh'](){const {editor:_0x1021ce}=this,_0x4fffd2=_0x1021ce['plugins']['get'](V)['getFootnotesDefinitionsObjectElement']();this['isEnabled']=!!_0x4fffd2,this['value']=_0x4fffd2?.['getAttribute']('footnotesListStart')??null;}execute({value:_0x55ac98}){const {editor:_0x1f5a83}=this,_0x301c39=_0x1f5a83['plugins']['get'](V),_0x119eef=_0x301c39['getFootnotesDefinitionsObjectElement']();_0x119eef&&Number['isInteger'](_0x55ac98)&&_0x1f5a83['model']['change'](_0x466cb5=>{_0x466cb5['setAttribute']('footnotesListStart',_0x55ac98,_0x119eef),_0x301c39['_updateFootnotesCounters'](_0x466cb5);});}};function rt({style:_0x43e00c,digits:_0x3f5f1e,value:_0x2a8d1f}){const _0x35d92d=Math['floor'](_0x2a8d1f),_0x4bb310=function(_0x50d739){switch(_0x50d739){case'lower-alpha':case'lower-latin':case'upper-alpha':case'upper-latin':return{'min':0x1,'max':0x1/0x0};case'lower-roman':case'upper-roman':return{'min':0x1,'max':0xf9f};default:return{'min':-0x1/0x0,'max':0x1/0x0};}}(_0x43e00c);switch((_0x35d92d>_0x4bb310['max']||_0x35d92d<_0x4bb310['min'])&&(_0x43e00c='decimal'),_0x43e00c){case'decimal-leading-zero':return function(_0x25adcd,_0x45ea02){return String(_0x25adcd)['padStart'](_0x45ea02,'0');}(_0x35d92d,Math['max'](0x2,_0x3f5f1e));case'lower-alpha':case'lower-latin':return lt(_0x35d92d,!0x1);case'upper-alpha':case'upper-latin':return lt(_0x35d92d,!0x0);case'lower-roman':return ft(_0x35d92d,!0x1);case'upper-roman':return ft(_0x35d92d,!0x0);case'arabic-indic':return String(_0x35d92d)['replace'](/\d/g,_0x39bff7=>ct[Number(_0x39bff7)]);default:return String(_0x35d92d);}}function lt(_0x384833,_0x3a823b){let _0xf31409='',_0x42f828=_0x384833;for(;_0x42f828>0x0;){const _0x28558e=(_0x42f828-0x1)%0x1a;_0xf31409=String['fromCharCode'](0x61+_0x28558e)+_0xf31409,_0x42f828=Math['floor']((_0x42f828-0x1)/0x1a);}return _0x3a823b?_0xf31409['toUpperCase']():_0xf31409;}const at=[{'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 ft(_0xa2b7fd,_0x3daf3f){let _0x11017f='',_0x1235fb=_0xa2b7fd;for(const {value:_0x46344f,numeral:_0x99cf1e}of at)for(;_0x1235fb>=_0x46344f;)_0x11017f+=_0x99cf1e,_0x1235fb-=_0x46344f;return _0x3daf3f?_0x11017f:_0x11017f['toLowerCase']();}const ct=['٠','١','٢','٣','٤','٥','٦','٧','٨','٩'];var ut=class extends _0x57ef5f{static get['pluginName'](){return'FootnotesPropertiesEditing';}static get requires(){return[$,V];}static get['isOfficialPlugin'](){return!0x0;}static get['isPremiumPlugin'](){return!0x0;}init(){const {editor:_0x2a7c83}=this;_0x2a7c83['config']['define']('footnotes.footnotesProperties.defaultListStyle','decimal'),_0x2a7c83['config']['define']('footnotes.footnotesProperties.defaultStartIndex',0x1),_0x2a7c83['config']['define']('footnotes.footnotesProperties.listStyles',[...et]),_0x2a7c83['commands']['add']('footnotesStyle',new it(_0x2a7c83)),_0x2a7c83['commands']['add']('footnotesStart',new st(_0x2a7c83)),this['_defineSchema'](),this['_defineConverters'](),this['_defineFormatter'](),this['_definePostfixer']();}['_defineSchema'](){const {editor:_0x41c38f}=this,{schema:_0x8731}=_0x41c38f['model'];_0x8731['extend']('footnotesDefinitions',{'allowAttributes':['footnotesListStyle','footnotesListStart']});}_defineConverters(){const {editor:_0x1591e8}=this,{conversion:_0x1039a6,model:_0x4585e4}=_0x1591e8,{schema:_0x379edb}=_0x4585e4;_0x1039a6['for']('upcast')['add'](_0x536f15=>{_0x536f15['on']('element:ol',(_0xb8be02,_0x5cb1d5,_0x498a2a)=>{const _0x4e01d6=_0x5cb1d5['viewItem'],_0x4cea5e=_0x5cb1d5['modelCursor']?.['parent'];_0x4e01d6['hasClass']('footnotes-list')&&_0x4cea5e?.['is']('element','footnotesDefinitions')&&(function(_0x5f4b7f,_0x383487,_0xe33e96,_0x319df6){if(!_0x319df6['checkAttribute'](_0x383487,'footnotesListStart'))return;let _0x613123=0x1;const _0x46d80e=_0xe33e96['consumable']['consume'](_0x5f4b7f,{'attributes':'start'});if(_0x46d80e){const _0x323597=Number['parseInt'](_0x5f4b7f['getAttribute']('start'),0xa);Number['isNaN'](_0x323597)||(_0x613123=_0x323597);}!_0x46d80e&&_0x383487['hasAttribute']('footnotesListStart')||_0xe33e96['writer']['setAttribute']('footnotesListStart',_0x613123,_0x383487);}(_0x4e01d6,_0x4cea5e,_0x498a2a,_0x379edb),function(_0x4df5c0,_0x4aaf48,_0x28e581,_0x413e8a){if(!_0x413e8a['checkAttribute'](_0x4aaf48,'footnotesListStyle'))return;let _0x1dc36b='decimal',_0x1aefcd=!0x1;if(_0x28e581['consumable']['consume'](_0x4df5c0,{'attributes':'type'})){const _0x35a044={0x1:'decimal','a':'lower-latin','A':'upper-latin','i':'lower-roman','I':'upper-roman'}[_0x4df5c0['getAttribute']('type')];_0x35a044&&(_0x1dc36b=_0x35a044),_0x1aefcd=!0x0;}if(_0x28e581['consumable']['consume'](_0x4df5c0,{'styles':'list-style-type'})){const _0x21c0af=dt(_0x4df5c0['getStyle']('list-style-type'));_0x21c0af&&(_0x1dc36b=_0x21c0af),_0x1aefcd=!0x0;}!_0x1aefcd&&_0x4aaf48['hasAttribute']('footnotesListStyle')||_0x28e581['writer']['setAttribute']('footnotesListStyle',_0x1dc36b,_0x4aaf48);}(_0x4e01d6,_0x4cea5e,_0x498a2a,_0x379edb));});}),_0x1039a6['for']('downcast')['add'](_0x8aa8da=>{_0x8aa8da['on']('attribute:footnotesListStart:footnotesDefinitions',(_0x2abf03,_0xdcf80a,_0x4e7e46)=>{if(!_0x4e7e46['consumable']['consume'](_0xdcf80a['item'],_0x2abf03['name']))return;const _0x7c90eb=ht(_0xdcf80a['item'],_0x4e7e46['mapper']),{attributeNewValue:_0x1e1cbc}=_0xdcf80a;null==_0x1e1cbc||0x1===_0x1e1cbc?_0x4e7e46['writer']['removeAttribute']('start',_0x7c90eb):_0x4e7e46['writer']['setAttribute']('start',String(_0x1e1cbc),_0x7c90eb);}),_0x8aa8da['on']('attribute:footnotesListStyle:footnotesDefinitions',(_0x341659,_0x3981e5,_0x3ae147)=>{if(!_0x3ae147['consumable']['consume'](_0x3981e5['item'],_0x341659['name']))return;const _0x11ac0d=ht(_0x3981e5['item'],_0x3ae147['mapper']),{attributeNewValue:_0x3a190e}=_0x3981e5;_0x3a190e&&'decimal'!==_0x3a190e?_0x3ae147['writer']['setStyle']('list-style-type',_0x3a190e,_0x11ac0d):_0x3ae147['writer']['removeStyle']('list-style-type',_0x11ac0d);});});}_definePostfixer(){const {editor:_0x2ca274}=this,{model:_0x30b15b}=_0x2ca274,_0x2a82d1=_0x2ca274['plugins']['get'](V),_0x476d7e=this['_getDefaultListStyle'](),_0x20dfd6=this['_getDefaultStartIndex']();_0x30b15b['document']['registerPostFixer'](_0x2dc194=>{const _0x5047f6=_0x30b15b['document']['differ']['getChanges']();let _0x204920=!0x1;for(const _0x175dc7 of _0x5047f6){if('insert'!==_0x175dc7['type']||'$text'===_0x175dc7['name'])continue;const _0x4e6112=_0x30b15b['createRangeOn'](_0x175dc7['position']['nodeAfter']);for(const _0x36b6af of _0x4e6112['getItems']())_0x36b6af['is']('element','footnotesDefinitions')&&(!_0x36b6af['hasAttribute']('footnotesListStart')&&_0x30b15b['schema']['checkAttribute'](_0x36b6af,'footnotesListStart')&&(_0x2dc194['setAttribute']('footnotesListStart',_0x20dfd6,_0x36b6af),_0x204920=!0x0),!_0x36b6af['hasAttribute']('footnotesListStyle')&&_0x30b15b['schema']['checkAttribute'](_0x36b6af,'footnotesListStyle')&&(_0x2dc194['setAttribute']('footnotesListStyle',_0x476d7e,_0x36b6af),_0x204920=!0x0));}return _0x204920&&_0x2a82d1['_updateFootnotesCounters'](_0x2dc194),_0x204920;});}_defineFormatter(){const {editor:_0x3d32ae}=this;_0x3d32ae['plugins']['get'](V)['setFootnoteFormatter'](_0x3781cc=>this['_formatFootnoteListValue'](_0x3781cc));}_getDefaultListStyle(){return this['editor']['config']['get']('footnotes.footnotesProperties.defaultListStyle');}_getDefaultStartIndex(){return this['editor']['config']['get']('footnotes.footnotesProperties.defaultStartIndex');}_formatFootnoteListValue({container:_0x29dcd5,value:_0x57964e,digits:_0x5510b2}){const _0x592686=_0x29dcd5['getAttribute']('footnotesListStyle');return rt({'value':_0x57964e+(_0x29dcd5['getAttribute']('footnotesListStart')??0x1)-0x1,'style':_0x592686,'digits':_0x5510b2});}};function dt(_0x4463c6){if('string'==typeof _0x4463c6){const _0x4d246d=ot[_0x4463c6];if(_0x4d246d)return _0x4d246d;if(nt['includes'](_0x4463c6))return _0x4463c6;}return null;}function ht(_0x5a5ada,_0x11aefc){const _0x4b5233=_0x11aefc['toViewElement'](_0x5a5ada);return Array['from'](_0x4b5233['getChildren']())['find'](_0x5a10c4=>_0x5a10c4['is']('element','ol')&&_0x5a10c4['hasClass']('footnotes-list'));}var mt=class extends _0x3dc5bf{['children'];stylesView=null;additionalProperties=null;startIndexFieldView=null;['focusTracker']=new _0x2f2821();keystrokes=new _0x4c9954();['focusables']=new _0x2819e8();['focusCycler'];constructor(_0x3ad10c,{styleButtonViews:_0x576e12,styleGridAriaLabel:_0x291a95}){super(_0x3ad10c),(this['focusCycler']=new _0x205ccb({'focusables':this['focusables'],'focusTracker':this['focusTracker'],'keystrokeHandler':this['keystrokes'],'actions':{'focusPrevious':'shift\x20+\x20tab','focusNext':'tab'}}),this['children']=this['createCollection'](),this['stylesView']=this['_appendStylesView'](_0x576e12,_0x291a95),[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 _0x3c313e of this['stylesView']['children'])this['stylesView']['focusTracker']['add'](_0x3c313e['element']);_0x563fca({'keystrokeHandler':this['stylesView']['keystrokes'],'focusTracker':this['stylesView']['focusTracker'],'gridItems':this['stylesView']['children'],'numberOfColumns':()=>_0x118e4b['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 _0x208eaf=_0x4e28b6=>_0x4e28b6['stopPropagation']();this['keystrokes']['set']('arrowright',_0x208eaf),this['keystrokes']['set']('arrowleft',_0x208eaf),this['keystrokes']['set']('arrowup',_0x208eaf),this['keystrokes']['set']('arrowdown',_0x208eaf);}this['keystrokes']['listenTo'](this['element']);}['focus'](){this['focusCycler']['focusFirst']();}focusLast(){this['focusCycler']['focusLast']();}destroy(){super['destroy'](),this['focusTracker']['destroy'](),this['keystrokes']['destroy']();}_appendStylesView(_0x4e04dd,_0x25e9df){const _0x1e3f6f=new _0x3dc5bf(this['locale']);return _0x1e3f6f['children']=_0x1e3f6f['createCollection'](),_0x1e3f6f['children']['addMany'](_0x4e04dd),_0x1e3f6f['setTemplate']({'tag':'div','attributes':{'aria-label':_0x25e9df,'class':['ck','ck-footnotes-definitions-styles-list']},'children':_0x1e3f6f['children']}),_0x1e3f6f['children']['delegate']('execute')['to'](this),_0x1e3f6f['focus']=function(){for(const _0x52d2cb of this['children'])if(_0x52d2cb instanceof _0x54fb93&&_0x52d2cb['isOn'])return void _0x52d2cb['focus']();this['children']['first']['focus']();},_0x1e3f6f['focusTracker']=new _0x2f2821(),_0x1e3f6f['keystrokes']=new _0x4c9954(),_0x1e3f6f['render'](),_0x1e3f6f['keystrokes']['listenTo'](_0x1e3f6f['element']),this['children']['add'](_0x1e3f6f),_0x1e3f6f;}_appendAdditionalPropertiesCollapsibleView(){const {t:t}=this['locale'],_0x2b1209=this['_createStartIndexPropertyView'](),_0x2f8e03=[_0x2b1209],_0x2c8ea5=new _0x133147(this['locale'],_0x2f8e03);return _0x2c8ea5['set']({'label':t('Footnotes\x20properties'),'isCollapsed':!0x0}),_0x2c8ea5['buttonView']['bind']('isEnabled')['toMany'](_0x2f8e03,'isEnabled',(..._0x4229f4)=>_0x4229f4['some'](_0x1ca8eb=>_0x1ca8eb)),_0x2c8ea5['buttonView']['on']('change:isEnabled',(_0x5e94af,_0x24bcd0,_0x2a37c9)=>{_0x2a37c9||(_0x2c8ea5['isCollapsed']=!0x0);}),this['children']['add'](_0x2c8ea5),[_0x2b1209,_0x2c8ea5];}_createStartIndexPropertyView(){const {t:t}=this['locale'],_0x29bdd6=new _0x3a137d(this['locale'],_0x734af7);return _0x29bdd6['set']({'label':t('Footnotes\x20start\x20at'),'class':'ck-footnotes-definitions-properties__start-index'}),_0x29bdd6['fieldView']['set']({'min':0x0,'max':Math['pow'](0x2,0x1e),'step':0x1,'value':0x1,'inputMode':'numeric'}),_0x29bdd6['fieldView']['on']('input',()=>{const _0x119db9=_0x29bdd6['fieldView']['element'],_0x923fb6=_0x119db9['valueAsNumber'];Number['isNaN'](_0x923fb6)?_0x29bdd6['errorText']=t('Invalid\x20footnotes\x20start\x20index\x20value.'):_0x119db9['checkValidity']()?this['fire']('footnotesListStart',{'startIndex':_0x923fb6}):_0x29bdd6['errorText']=t(_0x923fb6<0x0?'Footnotes\x20start\x20index\x20must\x20be\x20greater\x20than\x200.':'Footnotes\x20start\x20index\x20is\x20too\x20large.');}),_0x29bdd6;}},pt=class extends _0x57ef5f{static get['pluginName'](){return'FootnotesPropertiesUI';}static get requires(){return[_0x276e53,_0x4e906a];}static get['isOfficialPlugin'](){return!0x0;}static get['isPremiumPlugin'](){return!0x0;}init(){const {editor:_0xa05420}=this,{componentFactory:_0x5b37fe}=_0xa05420['ui'];_0xa05420['config']['define']('footnotes.footnotesProperties.toolbar',['footnotesStyle']),_0x5b37fe['add']('footnotesStyle',function(_0x2b34b8){return _0x3ff1e9=>{const {t:t}=_0x3ff1e9,_0x3dfce=_0x2b34b8['commands']['get']('footnotesStyle'),_0x3aad05=_0x2852a4(_0x3ff1e9),{buttonView:_0x1409d0}=_0x3aad05;return _0x3aad05['class']='ck-footnotes-styles-dropdown',_0x3aad05['bind']('isEnabled')['to'](_0x3dfce,'isEnabled'),_0x1409d0['set']({'label':t('Footnotes\x20style'),'icon':_0x246473,'tooltip':!0x0}),_0x3aad05['once']('change:isOpen',()=>{const _0x463e78=function({editor:_0x414586,dropdownView:_0x3c1ae4}){const {t:t}=_0x414586['locale'],_0x134c6a=t('Footnotes\x20definitions\x20styles'),_0x28664d=function(_0x3f4f54){const {t:t}=_0x3f4f54['locale'],_0x14a9a6=_0x3f4f54['config']['get']('footnotes.footnotesProperties.listStyles'),_0x2a43e9=[{'style':'decimal','label':t('Toggle\x20the\x20decimal\x20footnotes\x20style'),'tooltip':t('Decimal\x20footnotes'),'icon':_0xf2e221},{'style':'decimal-leading-zero','label':t('Toggle\x20the\x20decimal\x20with\x20leading\x20zero\x20footnotes\x20style'),'tooltip':t('Decimal\x20footnotes\x20with\x20leading\x20zero'),'icon':_0x17848c},{'style':'lower-roman','label':t('Toggle\x20the\x20lower-roman\x20footnotes\x20style'),'tooltip':t('Lower-roman\x20footnotes'),'icon':_0x27c42d},{'style':'upper-roman','label':t('Toggle\x20the\x20upper-roman\x20footnotes\x20style'),'tooltip':t('Upper-roman\x20footnotes'),'icon':_0x195054},{'style':'lower-latin','label':t('Toggle\x20the\x20lower-latin\x20footnotes\x20style'),'tooltip':t('Lower-latin\x20footnotes'),'icon':_0x5ce3ab},{'style':'upper-latin','label':t('Toggle\x20the\x20upper-latin\x20footnotes\x20style'),'tooltip':t('Upper-latin\x20footnotes'),'icon':_0xff5a69},{'style':'arabic-indic','label':t('Toggle\x20the\x20arabic-indic\x20footnotes\x20style'),'tooltip':t('Arabic-indic\x20footnotes'),'icon':_0x109d2b}];return _0x14a9a6['map'](_0x2a733e=>{const _0x3f8442=dt(_0x2a733e);return function(_0x1c8c4e,_0x223053){const {locale:_0x38b2a9}=_0x1c8c4e,{label:_0x4dea60,icon:_0x244914,tooltip:_0x4b0876,style:_0x5b7fbe}=_0x223053,_0x83e058=_0x1c8c4e['commands']['get']('footnotesStyle'),_0x8c6836=new _0x54fb93(_0x38b2a9);return _0x8c6836['set']({'label':_0x4dea60,'icon':_0x244914,'tooltip':_0x4b0876}),_0x8c6836['bind']('isOn')['to'](_0x83e058,'value',_0x3adb2b=>_0x3adb2b===_0x5b7fbe),_0x8c6836['bind']('isEnabled')['to'](_0x83e058,'isEnabled'),_0x8c6836['on']('execute',()=>{_0x1c8c4e['execute']('footnotesStyle',{'value':_0x5b7fbe}),_0x1c8c4e['editing']['view']['focus']();}),_0x8c6836;}(_0x3f4f54,_0x2a43e9['find'](_0x23c9ee=>_0x23c9ee['style']===_0x3f8442));});}(_0x414586),_0x13abdd=new mt(_0x414586['locale'],{'styleGridAriaLabel':_0x134c6a,'styleButtonViews':_0x28664d}),_0x5def41=_0x414586['commands']['get']('footnotesStart');return _0x13abdd['startIndexFieldView']['bind']('isEnabled')['to'](_0x5def41),_0x13abdd['startIndexFieldView']['fieldView']['bind']('value')['to'](_0x5def41),_0x13abdd['on']('footnotesListStart',(_0xb3945d,_0x475a53)=>{_0x414586['execute']('footnotesStart',{'value':_0x475a53['startIndex']});}),_0x13abdd['delegate']('execute')['to'](_0x3c1ae4),_0x13abdd;}({'editor':_0x2b34b8,'dropdownView':_0x3aad05});_0x3aad05['panelView']['children']['add'](_0x463e78);}),_0x3aad05;};}(_0xa05420));}afterInit(){const {editor:_0x64dc7f}=this,{t:t}=_0x64dc7f['locale'],_0x541aca=_0x64dc7f['plugins']['get'](_0x4e906a),{defaultPositions:_0x4686e9}=_0x39b7f8;_0x541aca['register']('footnotesDefinitions',{'ariaLabel':t('Footnotes\x20definitions\x20toolbar'),'items':_0x64dc7f['config']['get']('footnotes.footnotesProperties.toolbar'),'balloonClassName':'ck-footnotes-style-balloon\x20ck-toolbar-container','getRelatedElement':_0x53045d=>{let _0x220447=_0x53045d['getFirstPosition']()?.['parent'];return _0x220447?.['is']('$text')&&(_0x220447=_0x220447['parent']),_0x220447?.['is']('element')?_0x220447['findAncestor'](H):null;},'positions':[_0x4686e9['southArrowNorth'],_0x4686e9['southArrowNorthMiddleWest'],_0x4686e9['southArrowNorthMiddleEast'],_0x4686e9['southArrowNorthWest'],_0x4686e9['southArrowNorthEast'],_0x4686e9['northArrowSouth'],_0x4686e9['northArrowSouthMiddleWest'],_0x4686e9['northArrowSouthMiddleEast'],_0x4686e9['northArrowSouthWest'],_0x4686e9['northArrowSouthEast'],_0x4686e9['viewportStickyNorth']]});}},wt=class extends _0x57ef5f{static get['pluginName'](){return'FootnotesProperties';}static get requires(){return[ut,pt];}static get['isOfficialPlugin'](){return!0x0;}static get['isPremiumPlugin'](){return!0x0;}};export{tt as Footnotes,Q as FootnotesClipboard,$ as FootnotesEditing,wt as FootnotesProperties,ut as FootnotesPropertiesEditing,pt as FootnotesPropertiesUI,st as FootnotesStartCommand,it as FootnotesStyleCommand,V as FootnotesTracker,Y as FootnotesUI,U as InsertFootnoteCommand};
23
+ import{Command as _0x1540a6,Plugin as _0x54c2bf}from'@ckeditor/ckeditor5-core';import{WidgetToolbarRepository as _0x52ab77,isWidget as _0x4fc255,toWidget as _0x2afd10,toWidgetEditable as _0x3071ad}from'@ckeditor/ckeditor5-widget';import{FocusTracker as _0x10685b,KeystrokeHandler as _0x38d08c,global as _0x2e78db,logWarning as _0x29c7a5,uid as _0x4008bd}from'@ckeditor/ckeditor5-utils';import{ClickObserver as _0x4f37e2,PointerObserver as _0x1525a0}from'@ckeditor/ckeditor5-engine';import{ClipboardPipeline as _0x22b516}from'@ckeditor/ckeditor5-clipboard';import{BalloonPanelView as _0x31b37a,ButtonView as _0x4d7919,CollapsibleView as _0x334fbb,ContextualBalloon as _0x396f97,FocusCycler as _0x1f67e2,LabeledFieldView as _0x801bbb,MenuBarMenuListItemButtonView as _0x5809f7,View as _0x12e62a,ViewCollection as _0x484c3a,addKeyboardHandlingForGrid as _0x5b45b3,createDropdown as _0x1746aa,createLabeledInputNumber as _0x1ab727}from'@ckeditor/ckeditor5-ui';import{IconFootnote as _0x3aa487,IconListStyleArabicIndic as _0x35b869,IconListStyleDecimal as _0x308e20,IconListStyleDecimalLeadingZero as _0x393a35,IconListStyleLowerLatin as _0x3dd0ba,IconListStyleLowerRoman as _0x149d01,IconListStyleUpperLatin as _0x1730d1,IconListStyleUpperRoman as _0x5c3201}from'@ckeditor/ckeditor5-icons';var N=class{['_model'];_elementName;_getElementKey;_trackedElements=new Map();constructor(_0x4b25de,_0x33e7db){this['_model']=_0x4b25de,this['_elementName']=_0x33e7db['elementName'],this['_getElementKey']=_0x33e7db['getElementKey'];}reset(){this['_trackedElements']['clear']();}getChanges(_0xf1a0ae){const _0x1a163a=new Set(),_0x14b70c=new Map();for(const _0x3180ea of _0xf1a0ae){if('insert'===_0x3180ea['type']&&'$text'!==_0x3180ea['name']&&_0x3180ea['position']['nodeAfter']){const _0x426864=this['_model']['createRangeOn'](_0x3180ea['position']['nodeAfter']);for(const _0x3baef6 of _0x426864['getItems']()){if(!_0x3baef6['is']('element',this['_elementName']))continue;const _0x2787d5=this['_getElementKey'](_0x3baef6);_0x14b70c['has'](_0x2787d5)||_0x14b70c['set'](_0x2787d5,[]),_0x14b70c['get'](_0x2787d5)['push'](_0x3baef6);}}if('remove'===_0x3180ea['type']&&_0x3180ea['name']===this['_elementName']){const _0x15d3f5=this['_getElementKey']({'getAttribute':_0x2d1b0b=>_0x3180ea['attributes']['get'](_0x2d1b0b)});_0x1a163a['add'](_0x15d3f5);}}for(const [_0x9e775a,_0x16f4df]of this['_trackedElements'])'$graveyard'===_0x16f4df['root']['rootName']&&_0x1a163a['add'](_0x9e775a);for(const _0x420e6c of _0x1a163a)this['_trackedElements']['delete'](_0x420e6c);for(const [_0x2302cd,_0x59edb6]of _0x14b70c)this['_trackedElements']['set'](_0x2302cd,_0x59edb6[_0x59edb6['length']-0x1]);const _0x1bf9b1=new Set();for(const [_0xc25a81,_0x3c527d]of _0x14b70c)_0x1a163a['has'](_0xc25a81)&&(_0x1bf9b1['add'](_0x3c527d[0x0]),_0x3c527d['length']>0x1?_0x14b70c['set'](_0xc25a81,_0x3c527d['slice'](0x1)):_0x14b70c['delete'](_0xc25a81),_0x1a163a['delete'](_0xc25a81));return{'removed':Array['from'](_0x1a163a),'inserted':Array['from'](_0x14b70c['values']())['flat'](),'moved':Array['from'](_0x1bf9b1)};}},V=class extends _0x54c2bf{_footnotes=[];_footnotesDefinitions=null;_footnoteFormatter=null;_footnoteDefsContainerTracker;_footnoteRefsTracker;_footnoteDefsTracker;static get['pluginName'](){return'FootnotesTracker';}static get['isOfficialPlugin'](){return!0x0;}static get['isPremiumPlugin'](){return!0x0;}constructor(_0x1ee6d0){super(_0x1ee6d0),this['_footnoteDefsContainerTracker']=new N(this['editor']['model'],{'elementName':'footnotesDefinitions','getElementKey':()=>'singleton'}),this['_footnoteRefsTracker']=new N(this['editor']['model'],{'elementName':'footnoteRef','getElementKey':_0x1f51af=>_0x1f51af['getAttribute']('footnoteId')}),this['_footnoteDefsTracker']=new N(this['editor']['model'],{'elementName':'footnoteDefinition','getElementKey':_0x3dd10f=>_0x3dd10f['getAttribute']('footnoteId')});}init(){const {editor:_0x50c19d}=this,{model:_0x180b8e,data:_0x2244d2}=_0x50c19d;_0x180b8e['document']['registerPostFixer'](_0x5c5555=>{const _0x389420=_0x180b8e['document']['differ']['getChanges']();let _0x2017ed=!0x1;return this['_handleFootnotesDefinitionsObjectChanges'](_0x5c5555,_0x389420)&&(_0x2017ed=!0x0),this['_handleFootnoteDefinitionsChanges'](_0x5c5555,_0x389420)&&(_0x2017ed=!0x0),this['_handleFootnoteReferencesChanges'](_0x5c5555,_0x389420)&&(_0x2017ed=!0x0),this['_ensureFootnotesReferencesHaveProperOrder'](_0x5c5555)&&(_0x2017ed=!0x0),this['_handleFootnotesDefinitionsObjectSync'](_0x5c5555)&&(_0x2017ed=!0x0),this['_sortFootnoteDefinitions'](_0x5c5555)&&(_0x2017ed=!0x0),_0x2017ed;}),this['listenTo'](_0x180b8e['document'],'change:data',()=>{_0x180b8e['enqueueChange']({'isUndoable':!0x1},_0x156a27=>{this['_ensureFootnotesDefinitionsContainerExists'](_0x156a27);for(const _0x9bfaac of this['_footnotes'])_0x9bfaac['definition']['isAttached']()||_0x156a27['remove'](_0x9bfaac['reference']);});},{'priority':'low'}),this['listenTo'](_0x2244d2,'set',()=>{this['_footnotes']=[],this['_footnoteDefsContainerTracker']['reset'](),this['_footnoteRefsTracker']['reset'](),this['_footnoteDefsTracker']['reset']();},{'priority':'high'});}getFootnotesDefinitionsObjectElement(){return this['_footnotesDefinitions'];}getFootnote(_0x2228fb){return this['_footnotes']['find'](_0x1951c3=>_0x1951c3['id']===_0x2228fb)||null;}getFootnotes(){return Array['from'](this['_footnotes']);}getFootnotesFormatter(){return this['_footnoteFormatter'];}setFootnoteFormatter(_0x4f1ed6){this['_footnoteFormatter']=_0x4f1ed6;}_updateFootnotesCounters(_0x2a2e53,_0x192b2b=0x0){let _0x5496f8=!0x1;for(let _0x500c1b=_0x192b2b;_0x500c1b<this['_footnotes']['length'];_0x500c1b++)this['_updateFootnoteRefCounter'](_0x2a2e53,_0x500c1b)&&(_0x5496f8=!0x0);return _0x5496f8;}_insertEmptyFootnotesDefinitionsContainer(_0x312b4a,_0x211da3){if(!K(this['editor'],_0x211da3))return null;const _0x4f5521=_0x312b4a['createElement']('footnotesDefinitions',{});return _0x312b4a['append'](_0x4f5521,_0x211da3),this['_footnotesDefinitions']=_0x4f5521,_0x4f5521;}_getFirstSuitableFootnotesDefinitionsRoot(){const _0x33acce=[...(_0x5efe6c=this['_footnotes'],[..._0x5efe6c['reduce']((_0x4451b2,_0x5eab80)=>(_0x4451b2['add'](_0x5eab80['reference']['root']),_0x4451b2),new Set())]),...this['editor']['model']['document']['getRoots']()];var _0x5efe6c;for(const _0x3f3415 of _0x33acce)if(K(this['editor'],_0x3f3415))return _0x3f3415;return null;}_ensureFootnotesDefinitionsContainerExists(_0x4402a9){if(!this['_footnotes']['length']||this['_footnotesDefinitions'])return;let _0x121a46=null;const _0x370de4=this['_getFirstSuitableFootnotesDefinitionsRoot']();if(_0x370de4&&(_0x121a46=this['_insertEmptyFootnotesDefinitionsContainer'](_0x4402a9,_0x370de4)),_0x121a46){for(const _0x312ea9 of this['_footnotes'])_0x312ea9['definition']['parent']||_0x4402a9['insert'](_0x312ea9['definition'],_0x121a46,'end');this['_updateFootnotesCounters'](_0x4402a9);}}_handleFootnotesDefinitionsObjectChanges(_0x169c6c,_0x2d16c4){let _0x189e3b=!0x1;const {inserted:_0x4c3e5d,removed:_0x498c8c,moved:_0x1557d1}=this['_footnoteDefsContainerTracker']['getChanges'](_0x2d16c4);if(_0x1557d1['length']&&(this['_footnotesDefinitions']=_0x1557d1[0x0]),_0x4c3e5d['length']){if(_0x4c3e5d['length']>0x1||this['_footnotesDefinitions']&&_0x4c3e5d['some'](_0x11d317=>_0x11d317!==this['_footnotesDefinitions'])){const _0x41584d=_0x169c6c['createElement']('footnotesDefinitions',{}),_0x2beb41=[];this['_footnotesDefinitions']&&_0x2beb41['push'](this['_footnotesDefinitions']),_0x2beb41['push'](..._0x4c3e5d),_0x169c6c['insert'](_0x41584d,_0x2beb41[0x0],'before');for(const _0x2c3ff7 of _0x2beb41)_0x169c6c['move'](_0x169c6c['createRangeIn'](_0x2c3ff7),_0x169c6c['createPositionAt'](_0x41584d,'end')),_0x169c6c['remove'](_0x2c3ff7);this['_footnotesDefinitions']=_0x41584d,this['_updateFootnotesCounters'](_0x169c6c),_0x189e3b=!0x0;}else this['_footnotesDefinitions']=_0x4c3e5d[0x0];}if(_0x498c8c['length']&&'$graveyard'===this['_footnotesDefinitions']?.['root']['rootName']){for(const _0xa38d22 of this['_footnotes'])_0x169c6c['remove'](_0xa38d22['reference']),_0x189e3b=!0x0;this['_footnotes']=[],this['_footnotesDefinitions']=null;}return _0x189e3b;}_handleFootnoteDefinitionsChanges(_0x32014a,_0x30bd8c){let _0xb6c429=!0x1;const _0x2accfc=this['editor']['config']['get']('footnotes.multiBlock'),{inserted:_0x2a82fd,moved:_0x5d0c50}=this['_footnoteDefsTracker']['getChanges'](_0x30bd8c);for(const _0x349c32 of[..._0x5d0c50,..._0x2a82fd]){const _0x465e0e=_0x349c32['getAttribute']('footnoteId'),_0x4634e6=this['getFootnote'](_0x465e0e);_0x4634e6&&(_0x4634e6['definition']=_0x349c32),T(_0x32014a,_0x2accfc,_0x349c32)&&(_0xb6c429=!0x0);}return _0xb6c429;}_handleFootnoteReferencesChanges(_0x461154,_0x143ccb){let _0xabf373=!0x1;const {removed:_0x5d0210,inserted:_0x2772c1,moved:_0xde9229}=this['_footnoteRefsTracker']['getChanges'](_0x143ccb);for(const _0xc63a15 of _0x5d0210)this['_handleRemoveFootnoteReferenceById'](_0x461154,_0xc63a15)&&(_0xabf373=!0x0);for(const _0x902974 of _0x2772c1)this['_handleInsertedFootnoteReference'](_0x461154,_0x902974)&&(_0xabf373=!0x0);for(const _0x48d1eb of _0xde9229)this['_handleMovedFootnoteReference'](_0x461154,_0x48d1eb)&&(_0xabf373=!0x0);return _0xabf373;}_handleFootnotesDefinitionsObjectSync(_0x99dd56){if(!this['_footnotesDefinitions'])return!0x1;let _0x337b24=!0x1;if(this['_footnotesDefinitions']['childCount']!==this['_footnotes']['length']){const _0x42c1b4=[];for(const _0x1a0a29 of this['_footnotesDefinitions']['getChildren']()){const _0x3784e0=_0x1a0a29['getAttribute']('footnoteId');this['getFootnote'](_0x3784e0)||(_0x42c1b4['unshift'](_0x1a0a29),_0x337b24=!0x0);}for(const _0xd8cce2 of _0x42c1b4)_0x99dd56['remove'](_0xd8cce2);}const _0x193166=new Set(),_0x53b1f3=[];for(const _0x183a44 of this['_footnotesDefinitions']['getChildren']()){const _0x35187e=_0x183a44['getAttribute']('footnoteId');_0x193166['has'](_0x35187e)?(_0x53b1f3['unshift'](_0x183a44),_0x337b24=!0x0):_0x193166['add'](_0x35187e);}for(const _0x463b81 of _0x53b1f3)_0x99dd56['remove'](_0x463b81);return this['_footnotesDefinitions']['childCount']||(_0x99dd56['remove'](this['_footnotesDefinitions']),this['_footnotesDefinitions']=null,_0x337b24=!0x0),_0x337b24;}_handleInsertedFootnoteReference(_0x7da76e,_0x3e6c64){if(this['_footnotes']['find'](_0x49d259=>_0x49d259['reference']===_0x3e6c64))return!0x1;let _0x4031a9=!0x1;const _0x33c9f6=_0x3e6c64['getAttribute']('footnoteId'),_0x37dcce=this['_footnotes']['findIndex'](_0x14c141=>_0x14c141['id']===_0x33c9f6);-0x1!==_0x37dcce&&(_0x7da76e['remove'](this['_footnotes'][_0x37dcce]['reference']),this['_footnotes']['splice'](_0x37dcce,0x1),_0x4031a9=!0x0);let _0x1a9407=this['_footnotesDefinitions']?function(_0x51f8c0,_0x494c2d){for(const _0x48fb55 of _0x51f8c0['getChildren']())if(_0x48fb55['getAttribute']('footnoteId')===_0x494c2d)return _0x48fb55;return null;}(this['_footnotesDefinitions'],_0x33c9f6):null;_0x1a9407||(_0x1a9407=_0x7da76e['createElement']('footnoteDefinition',{'footnoteId':_0x33c9f6}),this['_footnotesDefinitions']&&(_0x7da76e['insert'](_0x1a9407,this['_footnotesDefinitions'],'end'),_0x4031a9=!0x0));const _0x5bb99e={'id':_0x33c9f6,'reference':_0x3e6c64,'definition':_0x1a9407},_0x9649e4=j(this['editor']['model'],this['_footnotes'],_0x3e6c64);this['_footnotes']['splice'](_0x9649e4,0x0,_0x5bb99e);let _0x56fddd=_0x9649e4;return-0x1!==_0x37dcce&&(_0x56fddd=Math['min'](_0x9649e4,_0x37dcce)),this['_updateFootnotesCounters'](_0x7da76e,_0x56fddd)&&(_0x4031a9=!0x0),_0x4031a9;}_handleRemoveFootnoteReferenceById(_0x173a45,_0x4aa397){const _0x13f8fb=this['_footnotes']['findIndex'](_0x3ff481=>_0x3ff481['id']===_0x4aa397);if(-0x1===_0x13f8fb)return!0x1;let _0xf1691d=!0x1;const _0x5bcbcc=this['_footnotes'][_0x13f8fb];return _0x5bcbcc['definition']['isAttached']()&&'$graveyard'!==_0x5bcbcc['definition']['root']['rootName']&&(_0x173a45['remove'](_0x5bcbcc['definition']),_0xf1691d=!0x0),this['_footnotes']['splice'](_0x13f8fb,0x1),this['_updateFootnotesCounters'](_0x173a45,_0x13f8fb)&&(_0xf1691d=!0x0),_0xf1691d;}_handleMovedFootnoteReference(_0x3e3986,_0x5d23d0){const _0x14fa0d=_0x5d23d0['getAttribute']('footnoteId'),_0x124971=this['_footnotes']['findIndex'](_0x47b21e=>_0x47b21e['id']===_0x14fa0d),_0x39ca89=this['_footnotes'][_0x124971];let _0x3f90f3=!0x1;_0x39ca89['reference']=_0x5d23d0,this['_footnotes']['splice'](_0x124971,0x1);const _0x17851a=j(this['editor']['model'],this['_footnotes'],_0x5d23d0);return this['_footnotes']['splice'](_0x17851a,0x0,_0x39ca89),this['_updateFootnotesCounters'](_0x3e3986,Math['min'](_0x124971,_0x17851a))&&(_0x3f90f3=!0x0),_0x3f90f3;}_updateFootnoteRefCounter(_0x6ad984,_0x40c6f2){if(!this['_footnotesDefinitions'])return!0x1;const _0x58ce12=this['_footnotes'][_0x40c6f2];let _0x511eb8;return _0x511eb8=this['_footnoteFormatter']?this['_footnoteFormatter']({'footnote':_0x58ce12,'container':this['_footnotesDefinitions'],'digits':String(this['_footnotes']['length'])['length'],'value':_0x40c6f2+0x1}):String(_0x40c6f2+0x1),_0x58ce12['reference']['getAttribute']('footnoteCounter')!=_0x511eb8&&(_0x6ad984['setAttribute']('footnoteCounter',_0x511eb8,_0x58ce12['reference']),!0x0);}_sortFootnoteDefinitions(_0x4f52ee){if(!this['_footnotesDefinitions']||this['_footnotes']['length']<0x2)return!0x1;if(function(_0x7fe844,_0x3261aa){if(_0x7fe844['length']!==_0x3261aa['length'])return!0x1;for(let _0x4b58d4=0x0;_0x4b58d4<_0x7fe844['length'];_0x4b58d4++)if(_0x7fe844[_0x4b58d4]!==_0x3261aa[_0x4b58d4])return!0x1;return!0x0;}(this['_footnotes']['map'](_0x5ca901=>_0x5ca901['id']),Array['from'](this['_footnotesDefinitions']['getChildren']())['map'](_0x18b7f6=>_0x18b7f6['getAttribute']('footnoteId'))))return!0x1;let _0x60cc92=!0x1;for(let _0x500a2e=0x0;_0x500a2e<this['_footnotes']['length'];_0x500a2e++){const _0x11ed48=this['_footnotes'][_0x500a2e],_0x4dae16=_0x4f52ee['createPositionBefore'](_0x11ed48['definition']),_0x590296=_0x4f52ee['createPositionAt'](this['_footnotesDefinitions'],_0x500a2e);_0x4dae16['isEqual'](_0x590296)||(_0x4f52ee['move'](_0x4f52ee['createRangeOn'](_0x11ed48['definition']),_0x590296),_0x60cc92=!0x0);}return _0x60cc92;}_ensureFootnotesReferencesHaveProperOrder(_0x4cdfe9){if(!this['_footnotes']['length'])return!0x1;const {model:_0x4311c4}=this['editor'];let _0x44c2b7=!0x1;for(let _0x37c7ac=0x0;_0x37c7ac<this['_footnotes']['length']-0x1;_0x37c7ac++){const _0x13922d=this['_footnotes'][_0x37c7ac],_0x4472db=this['_footnotes'][_0x37c7ac+0x1],_0x38483f=_0x4311c4['createPositionBefore'](_0x13922d['reference']),_0x19c209=_0x4311c4['createPositionBefore'](_0x4472db['reference']);'after'===_0x38483f['compareWith'](_0x19c209)&&(this['_handleMovedFootnoteReference'](_0x4cdfe9,_0x13922d['reference']),_0x37c7ac=-0x1,_0x44c2b7=!0x0);}return _0x44c2b7;}};function K(_0x971073,_0x13d4b0){return _0x971073['model']['schema']['checkChild'](_0x13d4b0,'footnotesDefinitions');}function T(_0x5b3ae4,_0x440ab7,_0x134f72){if(_0x134f72['childCount'])return!0x1;const _0x190ee5=_0x440ab7?'paragraph':'footnoteInlineContent';return _0x5b3ae4['insert'](_0x5b3ae4['createElement'](_0x190ee5),_0x134f72),!0x0;}function j(_0x1854e3,_0x267c08,_0x361850){if(0x0===_0x267c08['length'])return 0x0;const _0x4c8f86=_0x1854e3['createPositionBefore'](_0x361850);for(let _0x1db3eb=0x0;_0x1db3eb<_0x267c08['length'];_0x1db3eb++){const _0x38dead=_0x267c08[_0x1db3eb],_0x292100=_0x1854e3['createPositionBefore'](_0x38dead['reference']);if('before'===_0x4c8f86['compareWith'](_0x292100))return _0x1db3eb;}const _0x142588=_0x361850['root'];let _0x14d5b7=-0x1;for(let _0x503c32=_0x267c08['length']-0x1;_0x503c32>=0x0;_0x503c32--)if(_0x267c08[_0x503c32]['reference']['root']===_0x142588){_0x14d5b7=_0x503c32;break;}if(-0x1!==_0x14d5b7)return _0x14d5b7+0x1;const _0x4f3492=_0x1854e3['document']['getRootNames'](),_0x46aea6=_0x4f3492[_0x4f3492['indexOf'](_0x142588['rootName'])+0x1];if(_0x46aea6){for(let _0x3a3d9e=0x0;_0x3a3d9e<_0x267c08['length'];_0x3a3d9e++)if(_0x267c08[_0x3a3d9e]['reference']['root']['rootName']===_0x46aea6)return _0x3a3d9e;}return _0x267c08['length'];}var U=class extends _0x1540a6{['refresh'](){const {model:_0x1f9528,plugins:_0x45d0ac}=this['editor'],{selection:_0x139dc0}=_0x1f9528['document'],_0x406fc3=this['_getPositionToInsertFootnote'](_0x139dc0),_0x5b0d45=_0x45d0ac['get']('FootnotesTracker');this['isEnabled']=!(!_0x406fc3||!_0x5b0d45['_getFirstSuitableFootnotesDefinitionsRoot']());}execute(_0x503bee){const {editor:_0x546d88}=this,{model:_0x1be0d0}=_0x546d88,{selection:_0x1d7f93}=_0x1be0d0['document'],_0x2fc060=this['_getPositionToInsertFootnote'](_0x1d7f93);if(!_0x2fc060)return;const _0x2e4324=_0x546d88['plugins']['get']('FootnotesEditing'),_0x190375=_0x503bee?.['footnoteId']??_0x4008bd();!function(_0x500fa1){return'string'==typeof _0x500fa1&&_0x500fa1['length']>0x0&&!/\s/['test'](_0x500fa1)&&!/^\d/['test'](_0x500fa1);}(_0x190375)?_0x29c7a5('insert-footnote-command-executed-with-invalid-id'):(_0x1be0d0['change'](_0x55efd4=>{const _0xf58997=_0x55efd4['createElement']('footnoteRef',{'footnoteId':_0x190375});_0x1be0d0['insertObject'](_0xf58997,_0x2fc060,null);}),_0x2e4324['_moveSelectionToFootnoteDefinition'](_0x190375));}_getPositionToInsertFootnote(_0x301bee){const {model:_0x36e4ab}=this['editor'],{schema:_0x184ffd}=_0x36e4ab,_0x236126=_0x301bee['getFirstRange']();for(const _0x4b43d5 of _0x236126['getItems']())if(_0x184ffd['isBlock'](_0x4b43d5)||_0x184ffd['isObject'](_0x4b43d5))return null;const _0x29daa7=_0x236126['end'];return _0x184ffd['checkChild'](_0x29daa7,'footnoteRef')?_0x29daa7:null;}},$=class extends _0x54c2bf{static get['pluginName'](){return'FootnotesEditing';}static get requires(){return[V];}static get['isOfficialPlugin'](){return!0x0;}static get['isPremiumPlugin'](){return!0x0;}init(){const {editor:_0x397032}=this;_0x397032['config']['define']('footnotes.multiBlock',!0x0),_0x397032['commands']['add']('insertFootnote',new U(_0x397032)),this['_defineSchema'](),this['_defineRefsConverters'](),this['_defineDefinitionsConverters'](),this['_defineDefinitionConverters'](),this['_defineBogusParagraphConverters'](),this['_defineKeyboardHandlers'](),this['_defineClickHandlers']();}afterInit(){!async function(_0x428b8f){const _0x4aa0f8='unSbGpmijAwyrOzdZhCqT3YLFVtJlkDag1WMNxR4H67IB5QoX0289cUsvPEefK',_0x51e5dd=0x79188,_0x2625b8=window['Date']['now'](),_0x28c9a5=_0x428b8f['editor'],_0x3a83cd=new window['Promise'](_0x35d81d=>{_0x28c9a5['once']('ready',_0x35d81d);}),_0x584043={'kty':'EC','use':'sig','crv':'P-256','x':'iCjOCvDFI6lQHHT18jVwRfkfHQ2a_MymT35LQVoFSAI','y':'kXIyJ4evtCEFRmxKSUpK9fDW459vXOvVrhf6uQAeOio','alg':'ES256'},_0x405b44=_0x28c9a5['config']['get']('licenseKey');async function _0x584f4c(){let _0x522431,_0x52be39=null,_0x566433=null;try{return'GPL'==_0x405b44?'NotAllowed':(_0x522431=_0x58e726(),_0x522431?(_0x522431['usageEndpoint']&&(_0x566433=_0xdeb022(_0x522431['usageEndpoint'],_0x522431['jti'])),await _0x5f12dc()?_0x3cbabd()?_0x55a718()?'Expired':_0x143c78()?('evaluation'==_0x522431['licenseType']&&(_0x52be39=_0x356570('EvaluationLimit')),await _0x40211c()):'DomainLimit':'NotAllowed':'Invalid'):'Invalid');}catch{return'Invalid';}function _0x55a718(){const _0x3bb664=['evaluation','trial']['includes'](_0x522431['licenseType'])?_0x2625b8/0x3e8:0xe10*_0x51e5dd;return _0x522431['exp']<_0x3bb664;}function _0x3cbabd(){const _0x9e1a50=_0x522431['features'];return!!_0x9e1a50&&(!!_0x9e1a50['includes']('*')||!!_0x9e1a50['includes']('FOO'));}function _0x143c78(){const _0xa79b4e=_0x522431['licensedHosts'];if(!_0xa79b4e||0x0==_0xa79b4e['length'])return!0x0;const {hostname:_0x7cd078}=new URL(window['location']['href']);if(_0xa79b4e['includes'](_0x7cd078))return!0x0;const _0x1e45ce=_0x7cd078['split']('.');return _0xa79b4e['filter'](_0x1c3df0=>_0x1c3df0['includes']('*'))['map'](_0x405ba5=>_0x405ba5['split']('.'))['filter'](_0x731f5d=>_0x731f5d['length']<=_0x1e45ce['length'])['map'](_0x4da2df=>Array(_0x1e45ce['length']-_0x4da2df['length'])['fill']('*'===_0x4da2df[0x0]?'*':'')['concat'](_0x4da2df))['some'](_0xe0e733=>_0x1e45ce['every']((_0x4a33e0,_0x4e6e79)=>_0xe0e733[_0x4e6e79]===_0x4a33e0||'*'===_0xe0e733[_0x4e6e79]));}function _0x40211c(){return _0x52be39&&_0x566433?new window['Promise']((_0x15a870,_0xb7f252)=>{_0x52be39['then'](_0x15a870,_0xb7f252),_0x566433['then'](_0x3b9b3a=>{'Valid'!=_0x3b9b3a&&_0x15a870(_0x3b9b3a);},_0xb7f252);}):_0x52be39||_0x566433||'Valid';}}function _0xdeb022(_0x3f13aa,_0x2e21eb){return new window['Promise'](_0x15124a=>{if(_0x5be6b2())return _0x15124a('Valid');_0x2f6231(),_0x28c9a5['decorate']('_sendUsageRequest');let _0x44063c=!0x1;const _0x4aa626=_0x4008bd();function _0x1f1cf5(_0x3fe9e8){return!!_0x3fe9e8&&('object'==typeof _0x3fe9e8||'function'==typeof _0x3fe9e8)&&'function'==typeof _0x3fe9e8['then']&&'function'==typeof _0x3fe9e8['catch'];}function _0x495243(_0x2ec1d5){_0x299eeb(_0x2ec1d5)['then'](_0xd27e16=>_0xd27e16&&'ok'==_0xd27e16['status']?_0x54ac4e(_0x486e1d(_0x4aa626+_0x2e21eb))!=_0xd27e16['verification']?'UsageLimit':'Valid':'UsageLimit')['then'](_0x99ace9=>(_0x446eb4(),_0x99ace9),()=>{const _0x4a8eaa=_0x41e7f3();return null==_0x4a8eaa?(_0x446eb4(),'Valid'):_0x2625b8-_0x4a8eaa>0x240c8400?'UsageLimit':'Valid';})['then'](_0x15124a)['catch'](()=>{_0x15124a('UsageLimit');});const _0x2f94ca=0x36ee80;function _0x446eb4(){const _0x2e9f58='llct-'+_0x54ac4e(_0x486e1d(_0x3f13aa)),_0x4a3ce4=_0x5736f8(_0x54ac4e(window['Math']['ceil'](_0x2625b8/_0x2f94ca)));window['localStorage']['setItem'](_0x2e9f58,_0x4a3ce4);}function _0x41e7f3(){const _0x110bb2='llct-'+_0x54ac4e(_0x486e1d(_0x3f13aa)),_0x3fa176=window['localStorage']['getItem'](_0x110bb2);return _0x3fa176?window['parseInt'](_0x5736f8(_0x3fa176),0x10)*_0x2f94ca:null;}function _0x299eeb(_0x4ef2d5){return new window['Promise']((_0x3c175a,_0x1fc0c9)=>{_0x4ef2d5['then'](_0x3c175a,_0x1fc0c9),window['setTimeout'](_0x1fc0c9,0x1d4c0);});}}_0x28c9a5['on']('_sendUsageRequest',(_0x5e7eee,_0x5aacc6)=>{if(_0x5aacc6[0x0]!=_0x3f13aa)return _0x15124a('UsageLimit');_0x5aacc6[0x1]={..._0x5aacc6[0x1],'requestId':_0x4aa626};},{'priority':'high'}),_0x28c9a5['on']('_sendUsageRequest',_0xfb06be=>{_0x1f1cf5(_0xfb06be['return'])&&(_0x44063c=!0x0,_0x495243(_0xfb06be['return']));},{'priority':'low'}),_0x3a83cd['then'](()=>{_0x44063c||_0x15124a('UsageLimit');});});function _0x5be6b2(){return'auto'==_0x28c9a5['editing']['view']['_overlayModeHint'];}function _0x2f6231(){_0x28c9a5['editing']['view']['_overlayModeHint']='auto';}}function _0x356570(_0x1cc985){const _0x384be4=[new window['Promise'](_0x2b9f9e=>setTimeout(_0x2b9f9e,0x93ecc)),_0x3a83cd['then'](()=>new window['Promise'](_0x39cae2=>{let _0x13f3c1=0x0;_0x28c9a5['model']['on']('applyOperation',(_0x4ed205,_0x348af3)=>{_0x348af3[0x0]['isDocumentOperation']&&_0x13f3c1++,0x5e8==_0x13f3c1&&(_0x39cae2(),_0x4ed205['off']());});}))];return window['Promise']['race'](_0x384be4)['then'](()=>_0x1cc985);}async function _0xc7e7a4(){await _0x3a83cd,_0x28c9a5['model']['change']=_0x87b50e,_0x28c9a5['model']['enqueueChange']=_0x87b50e,_0x28c9a5['enableReadOnlyMode']('model');}function _0x2b155e(_0x278831){const _0x10114f=_0x223dfd();_0x28c9a5[_0x10114f]='footnotesLicenseKey'+_0x278831,'Valid'!=_0x278831&&_0xc7e7a4();}function _0x223dfd(){const _0x20b95e=window['String'](window['performance']['now']())['replace']('.','');let _0x5566dc='u';for(let _0x296487=0x0;_0x296487<_0x20b95e['length'];_0x296487+=0x2){let _0x3ddd52=window['parseInt'](_0x20b95e['substring'](_0x296487,_0x296487+0x2));_0x3ddd52>=0x3e&&(_0x3ddd52-=0x3e),_0x5566dc+=_0x4aa0f8[_0x3ddd52];}return _0x5566dc;}function _0x58e726(){const _0x5dc3ec=_0x405b44['split']('.');if(0x3!=_0x5dc3ec['length'])return null;return _0x33a26d(_0x5dc3ec[0x1]);function _0x33a26d(_0x3c6d0c){const _0x49ee00=_0x4baee0(_0x3c6d0c);return _0x49ee00&&_0xc77814()?_0x49ee00:null;function _0xc77814(){const _0x11931c=_0x49ee00['jti'],_0x4dde4f=window['parseInt'](_0x11931c['substring'](_0x11931c['length']-0x8),0x10),_0x45a14d={..._0x49ee00,'jti':_0x11931c['substring'](0x0,_0x11931c['length']-0x8)};return delete _0x45a14d['vc'],_0x486e1d(_0x45a14d)==_0x4dde4f;}}}async function _0x5f12dc(){let _0x1b70b9=!0x0;try{const [_0x2d5252,_0x38722a,_0x3d48e9]=_0x405b44['split']('.');return _0x3f3611(_0x2d5252),await _0x31e828(_0x2d5252,_0x38722a,_0x3d48e9),_0x1b70b9;}catch{return!0x1;}function _0x3f3611(_0x43b495){const _0x3612fb=_0x4baee0(_0x43b495);_0x3612fb&&'ES256'==_0x3612fb['alg']||(_0x1b70b9=!0x1);}async function _0x31e828(_0x30c9bf,_0x20045e,_0x26624f){const _0x3b3059=window['Uint8Array']['from'](_0x3d8f6c(_0x26624f),_0x53a120=>_0x53a120['charCodeAt'](0x0)),_0x302cc3=new window['TextEncoder']()['encode'](_0x30c9bf+'.'+_0x20045e),_0x47e24a=window['crypto']['subtle'];if(!_0x47e24a)return;const _0xd2fdce=await _0x47e24a['importKey']('jwk',_0x584043,{'name':'ECDSA','namedCurve':'P-256'},!0x1,['verify']);await _0x47e24a['verify']({'name':'ECDSA','hash':{'name':'SHA-256'}},_0xd2fdce,_0x3b3059,_0x302cc3)||(_0x1b70b9=!0x1);}}function _0x4baee0(_0x30bdb4){return _0x30bdb4['startsWith']('ey')?JSON['parse'](_0x3d8f6c(_0x30bdb4)):null;}function _0x3d8f6c(_0x11ab8c){return window['atob'](_0x11ab8c['replace'](/-/g,'+')['replace'](/_/g,'/'));}function _0x486e1d(_0x41958e){let _0x184f00=0x1505;function _0x46b01d(_0x1610f0){for(let _0x8fecd9=0x0;_0x8fecd9<_0x1610f0['length'];_0x8fecd9++){const _0x3ccf01=_0x1610f0['charCodeAt'](_0x8fecd9);_0x184f00=(_0x184f00<<0x5)+_0x184f00+_0x3ccf01,_0x184f00&=_0x184f00;}}function _0x12b78f(_0x5214cc){Array['isArray'](_0x5214cc)?_0x5214cc['forEach'](_0x12b78f):_0x5214cc&&'object'==typeof _0x5214cc?Object['entries'](_0x5214cc)['sort']()['forEach'](([_0x5c90bc,_0x3b3576])=>{_0x46b01d(_0x5c90bc),_0x12b78f(_0x3b3576);}):_0x46b01d(window['String'](_0x5214cc));}return _0x12b78f(_0x41958e),_0x184f00>>>0x0;}function _0x54ac4e(_0x34b6ef){return _0x34b6ef['toString'](0x10)['padStart'](0x8,'0');}function _0x5736f8(_0x467b4b){return _0x467b4b['split']('')['reverse']()['join']('');}function _0x87b50e(){}_0x2b155e(await _0x584f4c());}(this);}_moveSelectionToFootnoteDefinition(_0x25f041){const {plugins:_0x3707e9,editing:_0x392dee,model:_0x538f18}=this['editor'],_0x2ea61f=_0x3707e9['get'](V)['getFootnote'](_0x25f041);return!!_0x2ea61f&&(_0x538f18['change'](_0x346e10=>{_0x346e10['setSelection'](_0x346e10['createPositionAt'](_0x2ea61f['definition'],'end'));}),_0x392dee['view']['scrollToTheSelection'](),!0x0);}_moveSelectionToFootnoteReference(_0x15e7f3){const {plugins:_0x4a2ce4,editing:_0x50ad56,model:_0x944685}=this['editor'],_0x27b79d=_0x4a2ce4['get'](V)['getFootnote'](_0x15e7f3);return!!_0x27b79d&&(_0x944685['change'](_0x17527d=>{_0x17527d['setSelection'](_0x27b79d['reference'],'on');}),_0x50ad56['view']['scrollToTheSelection'](),!0x0);}['_defineSchema'](){const {schema:_0xf77116}=this['editor']['model'],_0x269356=this['editor']['config']['get']('footnotes.multiBlock');_0xf77116['register']('footnoteRef',{'inheritAllFrom':'$inlineObject','allowAttributes':['footnoteId','footnoteCounter']}),_0xf77116['register']('footnotesDefinitions',{'inheritAllFrom':'$blockObject','allowChildren':['footnoteDefinition']}),_0xf77116['register']('footnoteDefinition',{'allowAttributes':['footnoteId'],'disallowAttributes':['listItemId'],'isLimit':!0x0}),_0x269356?_0xf77116['extend']('footnoteDefinition',{'allowContentOf':'$container'}):_0xf77116['register']('footnoteInlineContent',{'allowIn':'footnoteDefinition','allowContentOf':'$block','isLimit':!0x0}),_0xf77116['addChildCheck'](_0x5e7c15=>{for(const _0x12836f of _0x5e7c15)if('footnoteDefinition'===_0x12836f['name'])return!0x1;},'footnoteRef');}_defineRefsConverters(){const {editor:_0xe6b884}=this,{conversion:_0x170092,editing:_0x1391b1}=_0xe6b884,{t:t}=_0xe6b884['locale'];_0x170092['for']('upcast')['elementToElement']({'view':{'name':'sup','classes':'footnote'},'model':(_0x250390,{writer:_0xbc4fa8,consumable:_0x579314})=>{const _0x5102f6=_0x250390['getChild'](0x0);if(!_0x5102f6||!_0x5102f6['is']('element','a'))return null;const _0x1c7be1=_0x5102f6['getAttribute']('href')||'';if(!_0x1c7be1['startsWith']('#'))return null;const _0x38d1ac=_0x1c7be1['replace'](/^#/,'');if(!_0x38d1ac)return null;_0x579314['consume'](_0x5102f6,{'name':!0x0,'attributes':['href']});for(const {item:_0x1b16d9}of _0x1391b1['view']['createRangeIn'](_0x5102f6))_0x1b16d9['is']('$textProxy')?_0x579314['consume'](_0x1b16d9['textNode'],{'name':!0x0}):_0x1b16d9['is']('element')&&_0x579314['consume'](_0x1b16d9,{'name':!0x0});return _0xbc4fa8['createElement']('footnoteRef',{'footnoteId':_0x38d1ac});}}),_0x170092['for']('dataDowncast')['elementToElement']({'model':{'name':'footnoteRef','attributes':['footnoteId','footnoteCounter']},'view':(_0x3a3474,{writer:_0x502f84})=>z(_0x3a3474,_0x502f84)}),_0x170092['for']('editingDowncast')['elementToElement']({'model':{'name':'footnoteRef','attributes':['footnoteId','footnoteCounter']},'view':(_0x2692cc,{writer:_0x136258})=>{const _0x1622ce=_0x2692cc['getAttribute']('footnoteCounter');return _0x2afd10(z(_0x2692cc,_0x136258),_0x136258,{'label':t('Footnote\x20%0.\x20Press\x20ENTER\x20to\x20jump\x20to\x20footnote\x20definition.',_0x1622ce)});}});}_defineDefinitionsConverters(){const {editor:_0x306e9c}=this,{t:t}=_0x306e9c['locale'],{conversion:_0x2a7a43}=_0x306e9c;_0x2a7a43['for']('upcast')['elementToElement']({'view':{'name':'div','classes':'footnotes'},'model':'footnotesDefinitions'}),_0x2a7a43['for']('upcast')['add'](_0x1e7f16=>{_0x1e7f16['on']('element:ol',(_0x5690f3,_0x408687,_0x42c9e0)=>{const _0x11ce0b=_0x408687['viewItem'];if(!_0x11ce0b['hasClass']('footnotes-list')||!_0x408687['modelCursor']['parent']?.['is']('element','footnotesDefinitions'))return;if(!_0x42c9e0['consumable']['consume'](_0x11ce0b,{'name':!0x0,'classes':'footnotes-list'}))return;const {modelRange:_0x468190,modelCursor:_0x23dafe}=_0x42c9e0['convertChildren'](_0x408687['viewItem'],_0x408687['modelCursor']);_0x408687['modelRange']=_0x468190,_0x408687['modelCursor']=_0x23dafe;}),_0x1e7f16['on']('element:hr',(_0x4ff0ec,_0x277502,_0x5388cd)=>{const _0x281ad0=_0x277502['viewItem'];_0x281ad0['hasClass']('footnotes-divider')&&_0x277502['modelCursor']['parent']?.['is']('element','footnotesDefinitions')&&_0x5388cd['consumable']['consume'](_0x281ad0,{'name':!0x0,'classes':'footnotes-divider'});});}),_0x2a7a43['for']('dataDowncast')['elementToStructure']({'model':'footnotesDefinitions','view':(_0x5f1fb5,{writer:_0x500e47})=>X(_0x500e47)}),_0x2a7a43['for']('editingDowncast')['elementToStructure']({'model':'footnotesDefinitions','view':(_0x5ce11c,{writer:_0x16166e})=>{const _0x2e520d=_0x2afd10(X(_0x16166e,{'data-footnotes-list-label':t('Footnotes')}),_0x16166e,{'hasSelectionHandle':!0x0,'label':t('Footnotes')});return _0x16166e['setCustomProperty']('footnotesDefinitions',!0x0,_0x2e520d),_0x2e520d;}});}_defineDefinitionConverters(){const {editor:_0x18a195}=this,{conversion:_0x3518c8,locale:_0x89e3da}=_0x18a195,_0x131ab3=_0x18a195['config']['get']('footnotes.multiBlock');_0x3518c8['for']('upcast')['add'](_0x26e020=>{_0x26e020['on']('element:li',(_0x876828,_0x1f9e28,_0x2b9c91)=>{const _0x4c6238=_0x1f9e28['viewItem'];if(!_0x4c6238['hasClass']('footnote-definition')||!_0x4c6238['getAttribute']('id'))return;const _0x95a47=_0x4c6238['parent'];if(!_0x95a47['is']('element','ol')||!_0x95a47['hasClass']('footnotes-list'))return;if(!_0x2b9c91['consumable']['test'](_0x4c6238,{'name':!0x0,'attributes':'id','classes':'footnote-definition'}))return;const _0x42d912=_0x2b9c91['writer']['createElement']('footnoteDefinition',{'footnoteId':_0x4c6238['getAttribute']('id')});if(!_0x2b9c91['safeInsert'](_0x42d912,_0x1f9e28['modelCursor']))return;_0x2b9c91['consumable']['consume'](_0x4c6238,{'name':!0x0,'attributes':'id','classes':'footnote-definition'});const _0x42ed6e=Array['from'](_0x4c6238['getChildren']())['find'](_0x3aaf91=>_0x3aaf91['is']('element')&&_0x3aaf91['hasClass']('footnote-content'));for(const _0x21da3b of _0x4c6238['getChildren']())_0x21da3b['is']('element')&&(_0x2b9c91['consumable']['consume'](_0x21da3b,{'name':!0x0,'classes':'footnote-backlink','attributes':'href'}),_0x2b9c91['consumable']['consume'](_0x21da3b,{'name':!0x0,'classes':'footnote-content'}));if(_0x42ed6e){if(_0x131ab3)_0x2b9c91['convertChildren'](_0x42ed6e,_0x42d912);else{const _0x2aacf5=_0x2b9c91['writer']['createElement']('footnoteInlineContent');_0x2b9c91['writer']['insert'](_0x2aacf5,_0x42d912),_0x2b9c91['convertChildren'](_0x42ed6e,_0x2aacf5);}}_0x2b9c91['updateConversionResult'](_0x42d912,_0x1f9e28);});}),_0x3518c8['for']('dataDowncast')['elementToStructure']({'model':{'name':'footnoteDefinition','attributes':['footnoteId']},'view':(_0x2e227a,{writer:_0x2df5ee})=>J(_0x2e227a,_0x2df5ee,_0x89e3da,{'dataPipeline':!0x0})}),_0x3518c8['for']('editingDowncast')['elementToStructure']({'model':{'name':'footnoteDefinition','attributes':['footnoteId']},'view':(_0x40ae11,{writer:_0x5a2201})=>J(_0x40ae11,_0x5a2201,_0x89e3da)});}_defineBogusParagraphConverters(){const {editor:_0x3514a1}=this,{conversion:_0x2569df}=_0x3514a1;_0x3514a1['config']['get']('footnotes.multiBlock')?(_0x2569df['for']('editingDowncast')['elementToElement']({'model':'paragraph','view':M(),'converterPriority':'high'}),_0x2569df['for']('dataDowncast')['elementToElement']({'model':'paragraph','view':M({'dataPipeline':!0x0}),'converterPriority':'high'}),this['listenTo'](_0x3514a1['model']['document'],'change:data',()=>{!function(_0x5eeaa7,_0x19aa72){const _0x26a837=_0x5eeaa7['document']['differ'],_0xf3aa19=new Set();for(const _0x592e55 of _0x26a837['getChanges']()){const _0x2785bb='attribute'==_0x592e55['type']?_0x592e55['range']['start']['parent']:_0x592e55['position']['parent'];_0x2785bb['is']('element','footnoteDefinition')&&_0xf3aa19['add'](_0x2785bb);}for(const _0x331df4 of _0xf3aa19['values']()){const _0x5470fd=Array['from'](_0x331df4['getChildren']())['filter'](_0x5f47a9=>q(_0x5f47a9,_0x19aa72['mapper']));for(const _0x5494c3 of _0x5470fd)_0x19aa72['reconvertItem'](_0x5494c3);}}(_0x3514a1['model'],_0x3514a1['editing']);})):(_0x2569df['for']('editingDowncast')['elementToElement']({'model':'footnoteInlineContent','view':M()}),_0x2569df['for']('dataDowncast')['elementToElement']({'model':'footnoteInlineContent','view':(_0x2ddab3,{writer:_0x196917})=>{const _0x184c86=_0x196917['createContainerElement']('span');return _0x196917['setCustomProperty']('dataPipeline:transparentRendering',!0x0,_0x184c86),_0x184c86;}}));}['_defineKeyboardHandlers'](){const {editor:_0x25585e}=this,{editing:_0x53baa3,t:t}=_0x25585e,_0xe58074=_0x25585e['model']['document']['selection'];_0x25585e['keystrokes']['set']('Ctrl+Alt+F','insertFootnote'),_0x25585e['accessibility']['addKeystrokeInfos']({'keystrokes':[{'label':t('Insert\x20footnote'),'keystroke':'Ctrl+Alt+F'}]}),this['listenTo'](_0x53baa3['view']['document'],'enter',(_0x30bbe8,_0x173186)=>{const _0x1a1e60=function(_0x42cd59){const _0x45c26e=_0x42cd59['getSelectedElement']();return _0x45c26e?.['is']('element','footnoteRef')?_0x45c26e:null;}(_0xe58074);if(_0x1a1e60){const _0x2e2483=_0x1a1e60['getAttribute']('footnoteId');this['_moveSelectionToFootnoteDefinition'](_0x2e2483),_0x173186['preventDefault'](),_0x30bbe8['stop']();}},{'context':_0x4fc255});}['_defineClickHandlers'](){const {editor:_0x5a3ab0}=this,{editing:_0x5d9635}=_0x5a3ab0;_0x5a3ab0['editing']['view']['addObserver'](_0x1525a0),_0x5a3ab0['editing']['view']['addObserver'](_0x4f37e2);let _0x4446ad=!0x1;this['listenTo'](_0x5d9635['view']['document'],'pointerdown',(_0x1e639f,_0x12a0f1)=>{const {target:_0x10e73d}=_0x12a0f1,_0x4549bf=_0x5d9635['view']['document']['selection'];_0x4446ad=!!(_0x10e73d?.['is']('element','a')&&_0x10e73d['parent']?.['is']('element','sup')&&_0x10e73d['parent']['hasClass']('footnote'))&&_0x4549bf['getSelectedElement']()===_0x10e73d['parent'];},{'priority':'high'}),this['listenTo'](_0x5d9635['view']['document'],'click',(_0x198efe,_0x8b1483)=>{const {target:_0x2c315e}=_0x8b1483;if(!_0x2c315e?.['is']('element','a'))return;if(_0x2c315e['parent']?.['is']('element','sup')&&_0x2c315e['parent']['hasClass']('footnote')&&!_0x4446ad)return void _0x8b1483['preventDefault']();let _0x14d2d9=_0x2c315e['getAttribute']('href');if(!_0x14d2d9?.['startsWith']('#'))return;_0x14d2d9=_0x14d2d9['slice'](0x1);let _0x5e735d=!0x1;(_0x14d2d9['startsWith']('ref-')&&this['_moveSelectionToFootnoteReference'](_0x14d2d9['slice'](0x4))||this['_moveSelectionToFootnoteDefinition'](_0x14d2d9))&&(_0x5e735d=!0x0),_0x5e735d&&(_0x8b1483['preventDefault'](),_0x198efe['stop']());},{'priority':'high','context':'$capture'});}};function M({dataPipeline:_0x553d06}={}){return(_0x5b29fd,{writer:_0x5d075a})=>{if(!B(_0x5b29fd))return null;if(!_0x553d06)return _0x5d075a['createContainerElement']('span',{'class':'ck-footnote-bogus-paragraph'});const _0x7ae22e=_0x5d075a['createContainerElement']('p');return _0x5d075a['setCustomProperty']('dataPipeline:transparentRendering',!0x0,_0x7ae22e),_0x7ae22e;};}function B(_0x395567){const {parent:_0x3c30d0}=_0x395567;if(!_0x3c30d0?.['is']('element','footnoteDefinition'))return!0x1;if(0x1!=_0x3c30d0['childCount'])return!0x1;for(const _0x6a8f26 of _0x395567['getAttributeKeys']())if(!_0x6a8f26['startsWith']('selection:')&&'htmlEmptyBlock'!=_0x6a8f26)return!0x1;return!0x0;}function q(_0x50e95d,_0x57dbdf){if(!_0x50e95d['is']('element','paragraph'))return!0x1;const _0x58b46f=_0x57dbdf['toViewElement'](_0x50e95d);return!!_0x58b46f&&B(_0x50e95d)!==_0x58b46f['is']('element','span');}function H(_0x3379ff){return _0x4fc255(_0x3379ff)&&_0x3379ff['is']('containerElement')&&!!_0x3379ff['getCustomProperty']('footnotesDefinitions');}function X(_0x5a26d7,_0x65f833={}){const _0x50dcd7=_0x5a26d7['createEmptyElement']('hr',{'class':'footnotes-divider'}),_0x2cddf9=_0x5a26d7['createContainerElement']('ol',{'class':'footnotes-list'},_0x5a26d7['createSlot']());return _0x5a26d7['createContainerElement']('div',{'class':'footnotes',..._0x65f833},[_0x50dcd7,_0x2cddf9]);}function z(_0x494d20,_0x40c6c2){const _0x1d61bc=_0x494d20['getAttribute']('footnoteId'),_0x4d0819=_0x494d20['getAttribute']('footnoteCounter'),_0xa7dca4=_0x40c6c2['createUIElement']('a',{'href':'#'+_0x1d61bc},function(_0x1735f6){const _0x22777f=this['toDomElement'](_0x1735f6);return _0x22777f['textContent']=_0x4d0819,_0x22777f;}),_0x3ace73=_0x40c6c2['createContainerElement']('sup',{'id':'ref-'+_0x1d61bc,'class':'footnote'},[_0xa7dca4]);return _0x3ace73['getFillerOffset']=()=>null,_0x3ace73;}function J(_0x3accfd,_0x263dda,_0x196d6f,{dataPipeline:_0xbd6696}={}){const {t:t}=_0x196d6f,_0x15fdbc=_0x3accfd['getAttribute']('footnoteId'),_0x195156=_0x263dda['createUIElement']('a',{'class':'footnote-backlink','href':'#ref-'+_0x15fdbc},function(_0x431844){const _0xdb2b1=this['toDomElement'](_0x431844);return _0xdb2b1['innerText']='^',_0xdb2b1;}),_0x5d0a88=_0xbd6696?_0x263dda['createContainerElement']('div',{'class':'footnote-content'}):_0x3071ad(_0x263dda['createEditableElement']('div',{'class':'footnote-content'}),_0x263dda,{'label':t('Footnote\x20content.')});return _0x263dda['insert'](_0x263dda['createPositionAt'](_0x5d0a88,0x0),_0x263dda['createSlot']()),_0x263dda['createContainerElement']('li',{'class':'footnote-definition','id':_0x15fdbc},[_0x195156,_0x5d0a88]);}var Q=class extends _0x54c2bf{static get['pluginName'](){return'FootnotesClipboard';}static get requires(){return[$,_0x22b516];}static get['isOfficialPlugin'](){return!0x0;}static get['isPremiumPlugin'](){return!0x0;}init(){this['_defineClipboardIntegration']();}_defineClipboardIntegration(){this['_handleCopyFootnotesDefinitions'](),this['_handlePasteFootnotesDefinitions']();}_handleCopyFootnotesDefinitions(){const {editor:_0x241b62}=this,{plugins:_0x4958a4,model:_0x44c6f5}=_0x241b62,_0x8b75b9=_0x4958a4['get'](_0x22b516),_0x35474a=_0x4958a4['get'](V);this['listenTo'](_0x8b75b9,'outputTransformation',(_0x3ee26e,_0x3e51aa)=>{const _0x334754=W(_0x44c6f5['createRangeIn'](_0x3e51aa['content']));if(!_0x334754['length'])return;const _0x5d13eb=_0x35474a['getFootnotes'](),_0x1e58f9=_0x334754['reduce']((_0x297d3f,_0xf3a59a)=>{const _0x349ca2=_0x5d13eb['find'](_0x760dec=>_0x760dec['id']===_0xf3a59a);if(_0x349ca2){const _0x55682a=_0x241b62['data']['toView'](_0x349ca2['definition'],{'isClipboardPipeline':!0x0}),_0x50ccdc=_0x241b62['data']['htmlProcessor']['toData'](_0x55682a);_0x297d3f[_0x349ca2['id']]=_0x50ccdc;}return _0x297d3f;},Object['create'](null));_0x3e51aa['dataTransfer']['setData']('application/ckeditor5-footnotes',JSON['stringify'](_0x1e58f9));});}_handlePasteFootnotesDefinitions(){const {editor:_0x9db04b}=this,{model:_0x35ea33,plugins:_0x34a99e}=_0x9db04b,{view:_0x500fb8}=_0x9db04b['editing'],_0x9873ed=_0x34a99e['get'](_0x22b516),_0x339b9b=_0x34a99e['get'](V),_0x2c9688=_0x9db04b['config']['get']('footnotes.multiBlock');let _0x1a9d35=null;this['listenTo'](_0x500fb8['document'],'clipboardInput',(_0x301a45,_0xf05579)=>{const _0x67adbb=_0xf05579['dataTransfer']['getData']('application/ckeditor5-footnotes');_0x1a9d35=_0x67adbb?JSON['parse'](_0x67adbb):null;}),this['listenTo'](_0x9873ed,'contentInsertion',(_0x13260c,_0x3a5995)=>{const _0x2fb61e=_0x3a5995['sourceEditorId']===this['editor']['id'];_0x2fb61e&&'drop'===_0x3a5995['method']||_0x35ea33['change'](_0x1480bc=>{let _0x347538=_0x339b9b['getFootnotesDefinitionsObjectElement']();const _0x11b3f2=!!_0x347538&&Array['from'](_0x35ea33['document']['selection']['getSelectedBlocks']())['includes'](_0x347538);if(!_0x1a9d35&&function(_0x275311){for(const {item:_0xd92299}of _0x275311)if(_0xd92299['is']('element','footnoteRef'))return!0x0;return!0x1;}(_0x35ea33['createRangeIn'](_0x3a5995['content']))&&(_0x1a9d35=function(_0x305f36,_0x54e5a5){const _0x25819d=G(_0x305f36,_0x54e5a5);if(!_0x25819d)return null;const _0x1344f7=Object['create'](null);for(const _0x2c1c91 of _0x25819d['getChildren']())_0x2c1c91['is']('element','footnoteDefinition')&&_0x2c1c91['hasAttribute']('footnoteId')&&(_0x1344f7[_0x2c1c91['getAttribute']('footnoteId')]=_0x305f36['cloneElement'](_0x2c1c91,!0x0));return Object['keys'](_0x1344f7)['length']?_0x1344f7:null;}(_0x1480bc,_0x3a5995['content'])),(_0x347538&&!_0x11b3f2||!_0x347538&&!_0x1a9d35)&&function(_0x5251e4,_0x390742){const _0x104268=[];for(const {item:_0x41aad5}of _0x5251e4['createRangeIn'](_0x390742))_0x41aad5['is']('element','footnotesDefinitions')&&_0x104268['push'](_0x41aad5);for(const _0x40af47 of _0x104268)_0x5251e4['remove'](_0x40af47);}(_0x1480bc,_0x3a5995['content']),!_0x1a9d35)return;const {selection:_0xb39c2a}=_0x35ea33['document'],_0x4743e2=_0xb39c2a['getFirstRange']()['root'];if(!_0x347538||_0x11b3f2){if(_0x347538=G(_0x1480bc,_0x3a5995['content']),_0x347538||=_0x339b9b['_insertEmptyFootnotesDefinitionsContainer'](_0x1480bc,_0x4743e2),!_0x347538){const _0xca0e1a=_0x339b9b['_getFirstSuitableFootnotesDefinitionsRoot']();_0x347538||=_0xca0e1a&&_0x339b9b['_insertEmptyFootnotesDefinitionsContainer'](_0x1480bc,_0xca0e1a);}if(!_0x347538)return void(_0x1a9d35=null);}const _0x1e679d=Array['from'](_0xb39c2a['getRanges']())['flatMap'](W),_0x3a24be=function(_0x3eec03,_0x1de553,_0x3bfefb){const _0x81d30a=Object['create'](null);for(const {item:_0x3c9fbf}of _0x3eec03['createRangeIn'](_0x1de553))if(_0x3c9fbf['is']('element','footnoteRef')){const _0x14da6e=_0x3c9fbf['getAttribute']('footnoteId');if(!_0x3bfefb(_0x14da6e))continue;_0x81d30a[_0x14da6e]||(_0x81d30a[_0x14da6e]=_0x4008bd()),_0x3eec03['setAttribute']('footnoteId',_0x81d30a[_0x14da6e],_0x3c9fbf);}return _0x81d30a;}(_0x1480bc,_0x3a5995['content'],_0x1ffcea=>!_0x2fb61e||!!_0x339b9b['getFootnote'](_0x1ffcea)&&!_0x1e679d['includes'](_0x1ffcea));for(const [_0x2768ca,_0x35b9d7]of Object['entries'](_0x1a9d35)){const _0x171d3a=_0x3a24be[_0x2768ca]||_0x2768ca;let _0x4ee0ed;if('string'!=typeof _0x35b9d7)_0x4ee0ed=_0x35b9d7,_0x171d3a!==_0x2768ca&&_0x1480bc['setAttribute']('footnoteId',_0x171d3a,_0x4ee0ed);else{_0x4ee0ed=_0x1480bc['createElement']('footnoteDefinition',{'footnoteId':_0x171d3a});const _0x4c66b2=_0x9db04b['data']['htmlProcessor']['toView'](_0x35b9d7);let _0x39a624;if(_0x2c9688)_0x39a624=_0x9db04b['data']['toModel'](_0x4c66b2,_0x4ee0ed);else{_0x39a624=_0x1480bc['createElement']('footnoteInlineContent');const _0x578cb=_0x9db04b['data']['toModel'](_0x4c66b2,_0x39a624);_0x1480bc['insert'](_0x578cb,_0x39a624);}_0x1480bc['append'](_0x39a624,_0x4ee0ed);}_0x1480bc['insert'](_0x4ee0ed,_0x347538,'end');}_0x1a9d35=null;});});}};function G(_0x1c51c9,_0x3742df){for(const {item:_0x5b8e23}of _0x1c51c9['createRangeIn'](_0x3742df))if(_0x5b8e23['is']('element','footnotesDefinitions'))return _0x5b8e23;return null;}function W(_0x281925){const _0x338173=new Set();for(const {item:_0x90f47a}of _0x281925)_0x90f47a['is']('element','footnoteRef')&&_0x338173['add'](_0x90f47a['getAttribute']('footnoteId'));return Array['from'](_0x338173);}var Y=class extends _0x54c2bf{['licenseKey'];_licenseKeyCheckInterval;static get['pluginName'](){return'FootnotesUI';}static get['isOfficialPlugin'](){return!0x0;}static get['isPremiumPlugin'](){return!0x0;}init(){const {editor:_0x29a50d}=this,{componentFactory:_0x420c16}=_0x29a50d['ui'];_0x420c16['add']('insertFootnote',Z(_0x29a50d,_0x4d7919)),_0x420c16['add']('menuBar:insertFootnote',Z(_0x29a50d,_0x5809f7)),this['licenseKey']=this['editor']['config']['get']('licenseKey');const _0x2ebb05=this['editor'];this['_licenseKeyCheckInterval']=setInterval(()=>{let _0x11f359;for(const _0x59b7fc in _0x2ebb05){const _0x4c4d6d=_0x59b7fc,_0x4989f3=_0x2ebb05[_0x4c4d6d];if('footnotesLicenseKeyValid'==_0x4989f3||'footnotesLicenseKeyInvalid'==_0x4989f3||'footnotesLicenseKeyExpired'==_0x4989f3||'footnotesLicenseKeyDomainLimit'==_0x4989f3||'footnotesLicenseKeyNotAllowed'==_0x4989f3||'footnotesLicenseKeyEvaluationLimit'==_0x4989f3||'footnotesLicenseKeyUsageLimit'==_0x4989f3){delete _0x2ebb05[_0x4c4d6d],_0x11f359=_0x4989f3,clearInterval(this['_licenseKeyCheckInterval']),this['_licenseKeyCheckInterval']=void 0x0;break;}}'footnotesLicenseKeyInvalid'==_0x11f359&&_0x2ebb05['_showLicenseError']('invalid'),'footnotesLicenseKeyExpired'==_0x11f359&&_0x2ebb05['_showLicenseError']('expired'),'footnotesLicenseKeyDomainLimit'==_0x11f359&&_0x2ebb05['_showLicenseError']('domainLimit'),'footnotesLicenseKeyNotAllowed'==_0x11f359&&_0x2ebb05['_showLicenseError']('featureNotAllowed','Footnotes'),'footnotesLicenseKeyEvaluationLimit'==_0x11f359&&_0x2ebb05['_showLicenseError']('evaluationLimit'),'footnotesLicenseKeyUsageLimit'==_0x11f359&&_0x2ebb05['_showLicenseError']('usageLimit');},0x3e8);}destroy(){super['destroy'](),this['_licenseKeyCheckInterval']&&clearInterval(this['_licenseKeyCheckInterval']);}};function Z(_0xe50470,_0x2e7171){const _0x157319=_0xe50470['commands']['get']('insertFootnote');return _0x45e069=>{const {t:t}=_0x45e069,_0x45e1c1=new _0x2e7171(_0x45e069),_0x42f3cb=_0x45e1c1 instanceof _0x5809f7;return _0x45e1c1['bind']('isEnabled')['to'](_0x157319,'isEnabled'),_0x45e1c1['set']({'label':t(_0x42f3cb?'Footnote':'Insert\x20footnote'),'icon':_0x3aa487,'tooltip':!0x0}),_0x45e1c1['on']('execute',()=>{_0x157319['execute'](),_0xe50470['editing']['view']['focus']();}),_0x45e1c1;};}var tt=class extends _0x54c2bf{static get['pluginName'](){return'Footnotes';}static get requires(){return[$,Q,Y];}static get['isOfficialPlugin'](){return!0x0;}static get['isPremiumPlugin'](){return!0x0;}};const et=['decimal','decimal-leading-zero','lower-latin','upper-latin','lower-roman','upper-roman'],ot=Object['create']({'lower-alpha':'lower-latin','upper-alpha':'upper-latin'}),nt=[...et,'arabic-indic','lower-alpha','upper-alpha'];var it=class extends _0x1540a6{['refresh'](){const {editor:_0x2131a8}=this,_0x417b8f=_0x2131a8['plugins']['get'](V)['getFootnotesDefinitionsObjectElement']();this['isEnabled']=!!_0x417b8f,this['value']=_0x417b8f?.['getAttribute']('footnotesListStyle')??null;}execute({value:_0x174c5f}){const {editor:_0x429ac9}=this,_0x8d2961=_0x429ac9['plugins']['get'](V),_0x5e195d=_0x8d2961['getFootnotesDefinitionsObjectElement']();_0x5e195d&&nt['includes'](_0x174c5f)&&_0x429ac9['model']['change'](_0x4170f2=>{_0x4170f2['setAttribute']('footnotesListStyle',_0x174c5f,_0x5e195d),_0x8d2961['_updateFootnotesCounters'](_0x4170f2);});}},st=class extends _0x1540a6{['refresh'](){const {editor:_0x54e17d}=this,_0x4015c1=_0x54e17d['plugins']['get'](V)['getFootnotesDefinitionsObjectElement']();this['isEnabled']=!!_0x4015c1,this['value']=_0x4015c1?.['getAttribute']('footnotesListStart')??null;}execute({value:_0x5a12ec}){const {editor:_0x43f3fe}=this,_0x39e93c=_0x43f3fe['plugins']['get'](V),_0x4f45f1=_0x39e93c['getFootnotesDefinitionsObjectElement']();_0x4f45f1&&Number['isInteger'](_0x5a12ec)&&_0x43f3fe['model']['change'](_0x212360=>{_0x212360['setAttribute']('footnotesListStart',_0x5a12ec,_0x4f45f1),_0x39e93c['_updateFootnotesCounters'](_0x212360);});}};function rt({style:_0x46b910,digits:_0x48afaf,value:_0x37e1a7}){const _0x372abf=Math['floor'](_0x37e1a7),_0x4389f8=function(_0x4d25b1){switch(_0x4d25b1){case'lower-alpha':case'lower-latin':case'upper-alpha':case'upper-latin':return{'min':0x1,'max':0x1/0x0};case'lower-roman':case'upper-roman':return{'min':0x1,'max':0xf9f};default:return{'min':-0x1/0x0,'max':0x1/0x0};}}(_0x46b910);switch((_0x372abf>_0x4389f8['max']||_0x372abf<_0x4389f8['min'])&&(_0x46b910='decimal'),_0x46b910){case'decimal-leading-zero':return function(_0x26abd8,_0x5e1b4c){return String(_0x26abd8)['padStart'](_0x5e1b4c,'0');}(_0x372abf,Math['max'](0x2,_0x48afaf));case'lower-alpha':case'lower-latin':return lt(_0x372abf,!0x1);case'upper-alpha':case'upper-latin':return lt(_0x372abf,!0x0);case'lower-roman':return ft(_0x372abf,!0x1);case'upper-roman':return ft(_0x372abf,!0x0);case'arabic-indic':return String(_0x372abf)['replace'](/\d/g,_0x2684b3=>ct[Number(_0x2684b3)]);default:return String(_0x372abf);}}function lt(_0x2b29ea,_0x4a0fe1){let _0xe5c717='',_0x1c4d15=_0x2b29ea;for(;_0x1c4d15>0x0;){const _0x50c368=(_0x1c4d15-0x1)%0x1a;_0xe5c717=String['fromCharCode'](0x61+_0x50c368)+_0xe5c717,_0x1c4d15=Math['floor']((_0x1c4d15-0x1)/0x1a);}return _0x4a0fe1?_0xe5c717['toUpperCase']():_0xe5c717;}const at=[{'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 ft(_0x530c0a,_0x2c207f){let _0x37acd3='',_0x19c4f6=_0x530c0a;for(const {value:_0x31564c,numeral:_0x5b8a02}of at)for(;_0x19c4f6>=_0x31564c;)_0x37acd3+=_0x5b8a02,_0x19c4f6-=_0x31564c;return _0x2c207f?_0x37acd3:_0x37acd3['toLowerCase']();}const ct=['٠','١','٢','٣','٤','٥','٦','٧','٨','٩'];var ut=class extends _0x54c2bf{static get['pluginName'](){return'FootnotesPropertiesEditing';}static get requires(){return[$,V];}static get['isOfficialPlugin'](){return!0x0;}static get['isPremiumPlugin'](){return!0x0;}init(){const {editor:_0x7e1a91}=this;_0x7e1a91['config']['define']('footnotes.footnotesProperties.defaultListStyle','decimal'),_0x7e1a91['config']['define']('footnotes.footnotesProperties.defaultStartIndex',0x1),_0x7e1a91['config']['define']('footnotes.footnotesProperties.listStyles',[...et]),_0x7e1a91['commands']['add']('footnotesStyle',new it(_0x7e1a91)),_0x7e1a91['commands']['add']('footnotesStart',new st(_0x7e1a91)),this['_defineSchema'](),this['_defineConverters'](),this['_defineFormatter'](),this['_definePostfixer']();}['_defineSchema'](){const {editor:_0x53f8c0}=this,{schema:_0x167aeb}=_0x53f8c0['model'];_0x167aeb['extend']('footnotesDefinitions',{'allowAttributes':['footnotesListStyle','footnotesListStart']});}_defineConverters(){const {editor:_0x1938dc}=this,{conversion:_0x4f0c9a,model:_0x1d1a81}=_0x1938dc,{schema:_0x520608}=_0x1d1a81;_0x4f0c9a['for']('upcast')['add'](_0x4db4d5=>{_0x4db4d5['on']('element:ol',(_0x5e6064,_0x2d6693,_0x26f610)=>{const _0x27ca9d=_0x2d6693['viewItem'],_0x40cc80=_0x2d6693['modelCursor']?.['parent'];_0x27ca9d['hasClass']('footnotes-list')&&_0x40cc80?.['is']('element','footnotesDefinitions')&&(function(_0x1affec,_0x318084,_0x17c820,_0x25035b){if(!_0x25035b['checkAttribute'](_0x318084,'footnotesListStart'))return;let _0x16dd1b=0x1;const _0xffc270=_0x17c820['consumable']['consume'](_0x1affec,{'attributes':'start'});if(_0xffc270){const _0x1072dc=Number['parseInt'](_0x1affec['getAttribute']('start'),0xa);Number['isNaN'](_0x1072dc)||(_0x16dd1b=_0x1072dc);}!_0xffc270&&_0x318084['hasAttribute']('footnotesListStart')||_0x17c820['writer']['setAttribute']('footnotesListStart',_0x16dd1b,_0x318084);}(_0x27ca9d,_0x40cc80,_0x26f610,_0x520608),function(_0x46fbe1,_0x62da52,_0x5ef4b5,_0x2e3be6){if(!_0x2e3be6['checkAttribute'](_0x62da52,'footnotesListStyle'))return;let _0x41ab71='decimal',_0x57c79c=!0x1;if(_0x5ef4b5['consumable']['consume'](_0x46fbe1,{'attributes':'type'})){const _0x304ac6={0x1:'decimal','a':'lower-latin','A':'upper-latin','i':'lower-roman','I':'upper-roman'}[_0x46fbe1['getAttribute']('type')];_0x304ac6&&(_0x41ab71=_0x304ac6),_0x57c79c=!0x0;}if(_0x5ef4b5['consumable']['consume'](_0x46fbe1,{'styles':'list-style-type'})){const _0x5dc817=dt(_0x46fbe1['getStyle']('list-style-type'));_0x5dc817&&(_0x41ab71=_0x5dc817),_0x57c79c=!0x0;}!_0x57c79c&&_0x62da52['hasAttribute']('footnotesListStyle')||_0x5ef4b5['writer']['setAttribute']('footnotesListStyle',_0x41ab71,_0x62da52);}(_0x27ca9d,_0x40cc80,_0x26f610,_0x520608));});}),_0x4f0c9a['for']('downcast')['add'](_0x347986=>{_0x347986['on']('attribute:footnotesListStart:footnotesDefinitions',(_0x587c74,_0x1164cf,_0x80827c)=>{if(!_0x80827c['consumable']['consume'](_0x1164cf['item'],_0x587c74['name']))return;const _0x1ce4ed=ht(_0x1164cf['item'],_0x80827c['mapper']),{attributeNewValue:_0xd08c20}=_0x1164cf;null==_0xd08c20||0x1===_0xd08c20?_0x80827c['writer']['removeAttribute']('start',_0x1ce4ed):_0x80827c['writer']['setAttribute']('start',String(_0xd08c20),_0x1ce4ed);}),_0x347986['on']('attribute:footnotesListStyle:footnotesDefinitions',(_0x146063,_0x5d318c,_0x50c488)=>{if(!_0x50c488['consumable']['consume'](_0x5d318c['item'],_0x146063['name']))return;const _0x541daa=ht(_0x5d318c['item'],_0x50c488['mapper']),{attributeNewValue:_0x208256}=_0x5d318c;_0x208256&&'decimal'!==_0x208256?_0x50c488['writer']['setStyle']('list-style-type',_0x208256,_0x541daa):_0x50c488['writer']['removeStyle']('list-style-type',_0x541daa);});});}_definePostfixer(){const {editor:_0x451902}=this,{model:_0x2a1ee0}=_0x451902,_0x3e70a2=_0x451902['plugins']['get'](V),_0x1a0f5f=this['_getDefaultListStyle'](),_0x4ca9d3=this['_getDefaultStartIndex']();_0x2a1ee0['document']['registerPostFixer'](_0x4ed8e4=>{const _0x3df82f=_0x2a1ee0['document']['differ']['getChanges']();let _0x435c60=!0x1;for(const _0x1a1031 of _0x3df82f){if('insert'!==_0x1a1031['type']||'$text'===_0x1a1031['name'])continue;const _0x51de5a=_0x2a1ee0['createRangeOn'](_0x1a1031['position']['nodeAfter']);for(const _0x4acead of _0x51de5a['getItems']())_0x4acead['is']('element','footnotesDefinitions')&&(!_0x4acead['hasAttribute']('footnotesListStart')&&_0x2a1ee0['schema']['checkAttribute'](_0x4acead,'footnotesListStart')&&(_0x4ed8e4['setAttribute']('footnotesListStart',_0x4ca9d3,_0x4acead),_0x435c60=!0x0),!_0x4acead['hasAttribute']('footnotesListStyle')&&_0x2a1ee0['schema']['checkAttribute'](_0x4acead,'footnotesListStyle')&&(_0x4ed8e4['setAttribute']('footnotesListStyle',_0x1a0f5f,_0x4acead),_0x435c60=!0x0));}return _0x435c60&&_0x3e70a2['_updateFootnotesCounters'](_0x4ed8e4),_0x435c60;});}_defineFormatter(){const {editor:_0x37b081}=this;_0x37b081['plugins']['get'](V)['setFootnoteFormatter'](_0x583e3a=>this['_formatFootnoteListValue'](_0x583e3a));}_getDefaultListStyle(){return this['editor']['config']['get']('footnotes.footnotesProperties.defaultListStyle');}_getDefaultStartIndex(){return this['editor']['config']['get']('footnotes.footnotesProperties.defaultStartIndex');}_formatFootnoteListValue({container:_0x138c99,value:_0x2aa92f,digits:_0x1f26c3}){const _0x470f64=_0x138c99['getAttribute']('footnotesListStyle');return rt({'value':_0x2aa92f+(_0x138c99['getAttribute']('footnotesListStart')??0x1)-0x1,'style':_0x470f64,'digits':_0x1f26c3});}};function dt(_0x13952a){if('string'==typeof _0x13952a){const _0x9f47b3=ot[_0x13952a];if(_0x9f47b3)return _0x9f47b3;if(nt['includes'](_0x13952a))return _0x13952a;}return null;}function ht(_0x14b5de,_0x1bbbb0){const _0x58eba3=_0x1bbbb0['toViewElement'](_0x14b5de);return Array['from'](_0x58eba3['getChildren']())['find'](_0x45dfab=>_0x45dfab['is']('element','ol')&&_0x45dfab['hasClass']('footnotes-list'));}var mt=class extends _0x12e62a{['children'];stylesView=null;additionalProperties=null;startIndexFieldView=null;['focusTracker']=new _0x10685b();keystrokes=new _0x38d08c();['focusables']=new _0x484c3a();['focusCycler'];constructor(_0x3d77a4,{styleButtonViews:_0x56075b,styleGridAriaLabel:_0x418fcd}){super(_0x3d77a4),(this['focusCycler']=new _0x1f67e2({'focusables':this['focusables'],'focusTracker':this['focusTracker'],'keystrokeHandler':this['keystrokes'],'actions':{'focusPrevious':'shift\x20+\x20tab','focusNext':'tab'}}),this['children']=this['createCollection'](),this['stylesView']=this['_appendStylesView'](_0x56075b,_0x418fcd),[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 _0x1f137a of this['stylesView']['children'])this['stylesView']['focusTracker']['add'](_0x1f137a['element']);_0x5b45b3({'keystrokeHandler':this['stylesView']['keystrokes'],'focusTracker':this['stylesView']['focusTracker'],'gridItems':this['stylesView']['children'],'numberOfColumns':()=>_0x2e78db['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 _0x4d0f79=_0x17c1b1=>_0x17c1b1['stopPropagation']();this['keystrokes']['set']('arrowright',_0x4d0f79),this['keystrokes']['set']('arrowleft',_0x4d0f79),this['keystrokes']['set']('arrowup',_0x4d0f79),this['keystrokes']['set']('arrowdown',_0x4d0f79);}this['keystrokes']['listenTo'](this['element']);}['focus'](){this['focusCycler']['focusFirst']();}focusLast(){this['focusCycler']['focusLast']();}destroy(){super['destroy'](),this['focusTracker']['destroy'](),this['keystrokes']['destroy']();}_appendStylesView(_0x338e9f,_0x1da105){const _0x90effe=new _0x12e62a(this['locale']);return _0x90effe['children']=_0x90effe['createCollection'](),_0x90effe['children']['addMany'](_0x338e9f),_0x90effe['setTemplate']({'tag':'div','attributes':{'aria-label':_0x1da105,'class':['ck','ck-footnotes-definitions-styles-list']},'children':_0x90effe['children']}),_0x90effe['children']['delegate']('execute')['to'](this),_0x90effe['focus']=function(){for(const _0x1628a3 of this['children'])if(_0x1628a3 instanceof _0x4d7919&&_0x1628a3['isOn'])return void _0x1628a3['focus']();this['children']['first']['focus']();},_0x90effe['focusTracker']=new _0x10685b(),_0x90effe['keystrokes']=new _0x38d08c(),_0x90effe['render'](),_0x90effe['keystrokes']['listenTo'](_0x90effe['element']),this['children']['add'](_0x90effe),_0x90effe;}_appendAdditionalPropertiesCollapsibleView(){const {t:t}=this['locale'],_0x247b82=this['_createStartIndexPropertyView'](),_0x597abf=[_0x247b82],_0x4f1435=new _0x334fbb(this['locale'],_0x597abf);return _0x4f1435['set']({'label':t('Footnotes\x20properties'),'isCollapsed':!0x0}),_0x4f1435['buttonView']['bind']('isEnabled')['toMany'](_0x597abf,'isEnabled',(..._0x3bd912)=>_0x3bd912['some'](_0xd82d1c=>_0xd82d1c)),_0x4f1435['buttonView']['on']('change:isEnabled',(_0x43dc3c,_0x39b98e,_0x5d9bdf)=>{_0x5d9bdf||(_0x4f1435['isCollapsed']=!0x0);}),this['children']['add'](_0x4f1435),[_0x247b82,_0x4f1435];}_createStartIndexPropertyView(){const {t:t}=this['locale'],_0x456c83=new _0x801bbb(this['locale'],_0x1ab727);return _0x456c83['set']({'label':t('Footnotes\x20start\x20at'),'class':'ck-footnotes-definitions-properties__start-index'}),_0x456c83['fieldView']['set']({'min':0x0,'max':Math['pow'](0x2,0x1e),'step':0x1,'value':0x1,'inputMode':'numeric'}),_0x456c83['fieldView']['on']('input',()=>{const _0x5e358b=_0x456c83['fieldView']['element'],_0x355c96=_0x5e358b['valueAsNumber'];Number['isNaN'](_0x355c96)?_0x456c83['errorText']=t('Invalid\x20footnotes\x20start\x20index\x20value.'):_0x5e358b['checkValidity']()?this['fire']('footnotesListStart',{'startIndex':_0x355c96}):_0x456c83['errorText']=t(_0x355c96<0x0?'Footnotes\x20start\x20index\x20must\x20be\x20greater\x20than\x200.':'Footnotes\x20start\x20index\x20is\x20too\x20large.');}),_0x456c83;}},pt=class extends _0x54c2bf{static get['pluginName'](){return'FootnotesPropertiesUI';}static get requires(){return[_0x396f97,_0x52ab77];}static get['isOfficialPlugin'](){return!0x0;}static get['isPremiumPlugin'](){return!0x0;}init(){const {editor:_0x593cc3}=this,{componentFactory:_0x5baf54}=_0x593cc3['ui'];_0x593cc3['config']['define']('footnotes.footnotesProperties.toolbar',['footnotesStyle']),_0x5baf54['add']('footnotesStyle',function(_0x16e5b3){return _0x5e85f0=>{const {t:t}=_0x5e85f0,_0x4016e4=_0x16e5b3['commands']['get']('footnotesStyle'),_0x5d417a=_0x1746aa(_0x5e85f0),{buttonView:_0x3b402d}=_0x5d417a;return _0x5d417a['class']='ck-footnotes-styles-dropdown',_0x5d417a['bind']('isEnabled')['to'](_0x4016e4,'isEnabled'),_0x3b402d['set']({'label':t('Footnotes\x20style'),'icon':_0x3aa487,'tooltip':!0x0}),_0x5d417a['once']('change:isOpen',()=>{const _0x3f977b=function({editor:_0x51cdea,dropdownView:_0x31f86a}){const {t:t}=_0x51cdea['locale'],_0x33a675=t('Footnotes\x20definitions\x20styles'),_0x31e147=function(_0x3b234b){const {t:t}=_0x3b234b['locale'],_0x4e57a5=_0x3b234b['config']['get']('footnotes.footnotesProperties.listStyles'),_0x42cef7=[{'style':'decimal','label':t('Toggle\x20the\x20decimal\x20footnotes\x20style'),'tooltip':t('Decimal\x20footnotes'),'icon':_0x308e20},{'style':'decimal-leading-zero','label':t('Toggle\x20the\x20decimal\x20with\x20leading\x20zero\x20footnotes\x20style'),'tooltip':t('Decimal\x20footnotes\x20with\x20leading\x20zero'),'icon':_0x393a35},{'style':'lower-roman','label':t('Toggle\x20the\x20lower-roman\x20footnotes\x20style'),'tooltip':t('Lower-roman\x20footnotes'),'icon':_0x149d01},{'style':'upper-roman','label':t('Toggle\x20the\x20upper-roman\x20footnotes\x20style'),'tooltip':t('Upper-roman\x20footnotes'),'icon':_0x5c3201},{'style':'lower-latin','label':t('Toggle\x20the\x20lower-latin\x20footnotes\x20style'),'tooltip':t('Lower-latin\x20footnotes'),'icon':_0x3dd0ba},{'style':'upper-latin','label':t('Toggle\x20the\x20upper-latin\x20footnotes\x20style'),'tooltip':t('Upper-latin\x20footnotes'),'icon':_0x1730d1},{'style':'arabic-indic','label':t('Toggle\x20the\x20arabic-indic\x20footnotes\x20style'),'tooltip':t('Arabic-indic\x20footnotes'),'icon':_0x35b869}];return _0x4e57a5['map'](_0x57e2b1=>{const _0x21e116=dt(_0x57e2b1);return function(_0x20c330,_0xded399){const {locale:_0x1a3e90}=_0x20c330,{label:_0xbc4c94,icon:_0x2aee82,tooltip:_0x508bad,style:_0x290ff9}=_0xded399,_0x1b7f98=_0x20c330['commands']['get']('footnotesStyle'),_0x370888=new _0x4d7919(_0x1a3e90);return _0x370888['set']({'label':_0xbc4c94,'icon':_0x2aee82,'tooltip':_0x508bad}),_0x370888['bind']('isOn')['to'](_0x1b7f98,'value',_0x30a3f5=>_0x30a3f5===_0x290ff9),_0x370888['bind']('isEnabled')['to'](_0x1b7f98,'isEnabled'),_0x370888['on']('execute',()=>{_0x20c330['execute']('footnotesStyle',{'value':_0x290ff9}),_0x20c330['editing']['view']['focus']();}),_0x370888;}(_0x3b234b,_0x42cef7['find'](_0x2fa05a=>_0x2fa05a['style']===_0x21e116));});}(_0x51cdea),_0x576b9b=new mt(_0x51cdea['locale'],{'styleGridAriaLabel':_0x33a675,'styleButtonViews':_0x31e147}),_0x163237=_0x51cdea['commands']['get']('footnotesStart');return _0x576b9b['startIndexFieldView']['bind']('isEnabled')['to'](_0x163237),_0x576b9b['startIndexFieldView']['fieldView']['bind']('value')['to'](_0x163237),_0x576b9b['on']('footnotesListStart',(_0x14643b,_0x351dbe)=>{_0x51cdea['execute']('footnotesStart',{'value':_0x351dbe['startIndex']});}),_0x576b9b['delegate']('execute')['to'](_0x31f86a),_0x576b9b;}({'editor':_0x16e5b3,'dropdownView':_0x5d417a});_0x5d417a['panelView']['children']['add'](_0x3f977b);}),_0x5d417a;};}(_0x593cc3));}afterInit(){const {editor:_0x55bcd0}=this,{t:t}=_0x55bcd0['locale'],_0x49b5d8=_0x55bcd0['plugins']['get'](_0x52ab77),{defaultPositions:_0x345f6a}=_0x31b37a;_0x49b5d8['register']('footnotesDefinitions',{'ariaLabel':t('Footnotes\x20definitions\x20toolbar'),'items':_0x55bcd0['config']['get']('footnotes.footnotesProperties.toolbar'),'balloonClassName':'ck-footnotes-style-balloon\x20ck-toolbar-container','getRelatedElement':_0x5d1406=>{let _0x494ccf=_0x5d1406['getFirstPosition']()?.['parent'];return _0x494ccf?.['is']('$text')&&(_0x494ccf=_0x494ccf['parent']),_0x494ccf?.['is']('element')?_0x494ccf['findAncestor'](H):null;},'positions':[_0x345f6a['southArrowNorth'],_0x345f6a['southArrowNorthMiddleWest'],_0x345f6a['southArrowNorthMiddleEast'],_0x345f6a['southArrowNorthWest'],_0x345f6a['southArrowNorthEast'],_0x345f6a['northArrowSouth'],_0x345f6a['northArrowSouthMiddleWest'],_0x345f6a['northArrowSouthMiddleEast'],_0x345f6a['northArrowSouthWest'],_0x345f6a['northArrowSouthEast'],_0x345f6a['viewportStickyNorth']]});}},wt=class extends _0x54c2bf{static get['pluginName'](){return'FootnotesProperties';}static get requires(){return[ut,pt];}static get['isOfficialPlugin'](){return!0x0;}static get['isPremiumPlugin'](){return!0x0;}};export{tt as Footnotes,Q as FootnotesClipboard,$ as FootnotesEditing,wt as FootnotesProperties,ut as FootnotesPropertiesEditing,pt as FootnotesPropertiesUI,st as FootnotesStartCommand,it as FootnotesStyleCommand,V as FootnotesTracker,Y as FootnotesUI,U as InsertFootnoteCommand};
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- export default{'af':{'dictionary':{'Footnote':'','Footnotes':'','Footnotes\x20properties':'','Footnotes\x20start\x20at':'','Invalid\x20footnotes\x20start\x20index\x20value.':'','Footnotes\x20start\x20index\x20is\x20too\x20large.':'','Footnotes\x20start\x20index\x20must\x20be\x20greater\x20than\x200.':'','Footnote\x20%0.\x20Press\x20ENTER\x20to\x20jump\x20to\x20footnote\x20definition.':'','Footnote\x20content.':'','Footnotes\x20definitions\x20styles':'','Footnotes\x20definitions\x20toolbar':'','Insert\x20footnote':'','Footnotes\x20style':'','Toggle\x20the\x20decimal\x20footnotes\x20style':'','Decimal\x20footnotes':'','Toggle\x20the\x20decimal\x20with\x20leading\x20zero\x20footnotes\x20style':'','Decimal\x20footnotes\x20with\x20leading\x20zero':'','Upper-roman\x20footnotes':'','Lower-latin\x20footnotes':'','Upper-latin\x20footnotes':'','Arabic-indic\x20footnotes':'','Lower-roman\x20footnotes':'','Toggle\x20the\x20lower-roman\x20footnotes\x20style':'','Toggle\x20the\x20upper-roman\x20footnotes\x20style':'','Toggle\x20the\x20lower-latin\x20footnotes\x20style':'','Toggle\x20the\x20upper-latin\x20footnotes\x20style':'','Toggle\x20the\x20arabic-indic\x20footnotes\x20style':''},'getPluralForm':_0x5d6725=>0x1!=_0x5d6725}};
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':_0x5d7515=>0x1!=_0x5d7515}};
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- (_0x166bc2=>{const {af:{dictionary:_0x37bd1a,getPluralForm:_0x232fb}}={'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':_0x44a813=>0x1!=_0x44a813}};_0x166bc2['af']||={'dictionary':{},'getPluralForm':null},_0x166bc2['af']['dictionary']=Object['assign'](_0x166bc2['af']['dictionary'],_0x37bd1a),_0x166bc2['af']['getPluralForm']=_0x232fb;})(window['CKEDITOR_TRANSLATIONS']||={});
23
+ (_0x4139dd=>{const {af:{dictionary:_0x3d057e,getPluralForm:_0x2fdddd}}={'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':_0x546ced=>0x1!=_0x546ced}};_0x4139dd['af']||={'dictionary':{},'getPluralForm':null},_0x4139dd['af']['dictionary']=Object['assign'](_0x4139dd['af']['dictionary'],_0x3d057e),_0x4139dd['af']['getPluralForm']=_0x2fdddd;})(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':_0x39b855=>0x0==_0x39b855?0x0:0x1==_0x39b855?0x1:0x2==_0x39b855?0x2:_0x39b855%0x64>=0x3&&_0x39b855%0x64<=0xa?0x3:_0x39b855%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':_0x4c8db6=>0x0==_0x4c8db6?0x0:0x1==_0x4c8db6?0x1:0x2==_0x4c8db6?0x2:_0x4c8db6%0x64>=0x3&&_0x4c8db6%0x64<=0xa?0x3:_0x4c8db6%0x64>=0xb?0x4:0x5}};
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- (_0x234572=>{const {ar:{dictionary:_0x16cfc4,getPluralForm:_0x132dd2}}={'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':_0x24016b=>0x0==_0x24016b?0x0:0x1==_0x24016b?0x1:0x2==_0x24016b?0x2:_0x24016b%0x64>=0x3&&_0x24016b%0x64<=0xa?0x3:_0x24016b%0x64>=0xb?0x4:0x5}};_0x234572['ar']||={'dictionary':{},'getPluralForm':null},_0x234572['ar']['dictionary']=Object['assign'](_0x234572['ar']['dictionary'],_0x16cfc4),_0x234572['ar']['getPluralForm']=_0x132dd2;})(window['CKEDITOR_TRANSLATIONS']||={});
23
+ (_0x3b54c7=>{const {ar:{dictionary:_0x1e2c70,getPluralForm:_0x346486}}={'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':_0x3131a8=>0x0==_0x3131a8?0x0:0x1==_0x3131a8?0x1:0x2==_0x3131a8?0x2:_0x3131a8%0x64>=0x3&&_0x3131a8%0x64<=0xa?0x3:_0x3131a8%0x64>=0xb?0x4:0x5}};_0x3b54c7['ar']||={'dictionary':{},'getPluralForm':null},_0x3b54c7['ar']['dictionary']=Object['assign'](_0x3b54c7['ar']['dictionary'],_0x1e2c70),_0x3b54c7['ar']['getPluralForm']=_0x346486;})(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':_0x31eff3=>0x1!=_0x31eff3}};
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':_0x3ef8d0=>0x1!=_0x3ef8d0}};
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- (_0x3c7037=>{const {ast:{dictionary:_0x9adc5a,getPluralForm:_0x27aebf}}={'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':_0x41c748=>0x1!=_0x41c748}};_0x3c7037['ast']||={'dictionary':{},'getPluralForm':null},_0x3c7037['ast']['dictionary']=Object['assign'](_0x3c7037['ast']['dictionary'],_0x9adc5a),_0x3c7037['ast']['getPluralForm']=_0x27aebf;})(window['CKEDITOR_TRANSLATIONS']||={});
23
+ (_0xbbdd3e=>{const {ast:{dictionary:_0x4d9a5e,getPluralForm:_0x5cb69b}}={'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':_0x7450ca=>0x1!=_0x7450ca}};_0xbbdd3e['ast']||={'dictionary':{},'getPluralForm':null},_0xbbdd3e['ast']['dictionary']=Object['assign'](_0xbbdd3e['ast']['dictionary'],_0x4d9a5e),_0xbbdd3e['ast']['getPluralForm']=_0x5cb69b;})(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':_0x34c31c=>0x1!=_0x34c31c}};
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':_0x25be02=>0x1!=_0x25be02}};
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- (_0x2be798=>{const {az:{dictionary:_0x301e89,getPluralForm:_0x25b409}}={'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':_0xb116fc=>0x1!=_0xb116fc}};_0x2be798['az']||={'dictionary':{},'getPluralForm':null},_0x2be798['az']['dictionary']=Object['assign'](_0x2be798['az']['dictionary'],_0x301e89),_0x2be798['az']['getPluralForm']=_0x25b409;})(window['CKEDITOR_TRANSLATIONS']||={});
23
+ (_0x369a4f=>{const {az:{dictionary:_0x358947,getPluralForm:_0x5152b3}}={'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':_0x839ae8=>0x1!=_0x839ae8}};_0x369a4f['az']||={'dictionary':{},'getPluralForm':null},_0x369a4f['az']['dictionary']=Object['assign'](_0x369a4f['az']['dictionary'],_0x358947),_0x369a4f['az']['getPluralForm']=_0x5152b3;})(window['CKEDITOR_TRANSLATIONS']||={});
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- export default{'be':{'dictionary':{'Footnote':'','Footnotes':'','Footnotes\x20properties':'','Footnotes\x20start\x20at':'','Invalid\x20footnotes\x20start\x20index\x20value.':'','Footnotes\x20start\x20index\x20is\x20too\x20large.':'','Footnotes\x20start\x20index\x20must\x20be\x20greater\x20than\x200.':'','Footnote\x20%0.\x20Press\x20ENTER\x20to\x20jump\x20to\x20footnote\x20definition.':'','Footnote\x20content.':'','Footnotes\x20definitions\x20styles':'','Footnotes\x20definitions\x20toolbar':'','Insert\x20footnote':'','Footnotes\x20style':'','Toggle\x20the\x20decimal\x20footnotes\x20style':'','Decimal\x20footnotes':'','Toggle\x20the\x20decimal\x20with\x20leading\x20zero\x20footnotes\x20style':'','Decimal\x20footnotes\x20with\x20leading\x20zero':'','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':_0x3c564b=>_0x3c564b%0xa==0x1&&_0x3c564b%0x64!=0xb?0x0:_0x3c564b%0xa>=0x2&&_0x3c564b%0xa<=0x4&&(_0x3c564b%0x64<0xa||_0x3c564b%0x64>=0x14)?0x1:0x2}};
23
+ export default{'be':{'dictionary':{'Footnote':'','Footnotes':'','Footnotes\x20properties':'','Footnotes\x20start\x20at':'','Invalid\x20footnotes\x20start\x20index\x20value.':'','Footnotes\x20start\x20index\x20is\x20too\x20large.':'','Footnotes\x20start\x20index\x20must\x20be\x20greater\x20than\x200.':'','Footnote\x20%0.\x20Press\x20ENTER\x20to\x20jump\x20to\x20footnote\x20definition.':'','Footnote\x20content.':'','Footnotes\x20definitions\x20styles':'','Footnotes\x20definitions\x20toolbar':'','Insert\x20footnote':'','Footnotes\x20style':'','Toggle\x20the\x20decimal\x20footnotes\x20style':'','Decimal\x20footnotes':'','Toggle\x20the\x20decimal\x20with\x20leading\x20zero\x20footnotes\x20style':'','Decimal\x20footnotes\x20with\x20leading\x20zero':'','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':_0x3c4178=>_0x3c4178%0xa==0x1&&_0x3c4178%0x64!=0xb?0x0:_0x3c4178%0xa>=0x2&&_0x3c4178%0xa<=0x4&&(_0x3c4178%0x64<0xa||_0x3c4178%0x64>=0x14)?0x1:0x2}};
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- (_0x56075b=>{const {be:{dictionary:_0x21f3d0,getPluralForm:_0x6f2226}}={'be':{'dictionary':{'Footnote':'','Footnotes':'','Footnotes\x20properties':'','Footnotes\x20start\x20at':'','Invalid\x20footnotes\x20start\x20index\x20value.':'','Footnotes\x20start\x20index\x20is\x20too\x20large.':'','Footnotes\x20start\x20index\x20must\x20be\x20greater\x20than\x200.':'','Footnote\x20%0.\x20Press\x20ENTER\x20to\x20jump\x20to\x20footnote\x20definition.':'','Footnote\x20content.':'','Footnotes\x20definitions\x20styles':'','Footnotes\x20definitions\x20toolbar':'','Insert\x20footnote':'','Footnotes\x20style':'','Toggle\x20the\x20decimal\x20footnotes\x20style':'','Decimal\x20footnotes':'','Toggle\x20the\x20decimal\x20with\x20leading\x20zero\x20footnotes\x20style':'','Decimal\x20footnotes\x20with\x20leading\x20zero':'','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':_0x2a1826=>_0x2a1826%0xa==0x1&&_0x2a1826%0x64!=0xb?0x0:_0x2a1826%0xa>=0x2&&_0x2a1826%0xa<=0x4&&(_0x2a1826%0x64<0xa||_0x2a1826%0x64>=0x14)?0x1:0x2}};_0x56075b['be']||={'dictionary':{},'getPluralForm':null},_0x56075b['be']['dictionary']=Object['assign'](_0x56075b['be']['dictionary'],_0x21f3d0),_0x56075b['be']['getPluralForm']=_0x6f2226;})(window['CKEDITOR_TRANSLATIONS']||={});
23
+ (_0x3c264d=>{const {be:{dictionary:_0x425ebd,getPluralForm:_0x1c54e9}}={'be':{'dictionary':{'Footnote':'','Footnotes':'','Footnotes\x20properties':'','Footnotes\x20start\x20at':'','Invalid\x20footnotes\x20start\x20index\x20value.':'','Footnotes\x20start\x20index\x20is\x20too\x20large.':'','Footnotes\x20start\x20index\x20must\x20be\x20greater\x20than\x200.':'','Footnote\x20%0.\x20Press\x20ENTER\x20to\x20jump\x20to\x20footnote\x20definition.':'','Footnote\x20content.':'','Footnotes\x20definitions\x20styles':'','Footnotes\x20definitions\x20toolbar':'','Insert\x20footnote':'','Footnotes\x20style':'','Toggle\x20the\x20decimal\x20footnotes\x20style':'','Decimal\x20footnotes':'','Toggle\x20the\x20decimal\x20with\x20leading\x20zero\x20footnotes\x20style':'','Decimal\x20footnotes\x20with\x20leading\x20zero':'','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':_0x174957=>_0x174957%0xa==0x1&&_0x174957%0x64!=0xb?0x0:_0x174957%0xa>=0x2&&_0x174957%0xa<=0x4&&(_0x174957%0x64<0xa||_0x174957%0x64>=0x14)?0x1:0x2}};_0x3c264d['be']||={'dictionary':{},'getPluralForm':null},_0x3c264d['be']['dictionary']=Object['assign'](_0x3c264d['be']['dictionary'],_0x425ebd),_0x3c264d['be']['getPluralForm']=_0x1c54e9;})(window['CKEDITOR_TRANSLATIONS']||={});